@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/mono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/mono-400-ext.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/mono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/fonts/mono-500-ext.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --paper: #ece8de;
  --paper-2: #e4dfd2;
  --ink: #161514;
  --ink-2: #5d5a53;
  --rule: #c9c3b4;

  /* culorile fetei de țintă, puțin stinse ca să stea pe hârtie */
  --t-white: #f7f5ef;
  --t-black: #1d1c1a;
  --t-blue: #3577b5;
  --t-red: #d6452f;
  --t-gold: #f0c23b;

  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Archivo", system-ui, sans-serif;

  --pad: clamp(18px, 3.2vw, 44px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--t-gold); color: var(--ink); }

a { color: inherit; }

.sheet {
  max-width: 1360px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  border-inline: 1px solid var(--rule);
}

/* ---------- bara de sus ---------- */

.bar, .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px var(--pad);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: .01em;
  color: var(--ink-2);
}

.bar { border-bottom: 1px solid var(--rule); }

.bar__home {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.bar__status { color: var(--ink-2); }

.bar__clock time { color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--rule);
}

.hero__text {
  padding: clamp(36px, 7vw, 96px) var(--pad) clamp(32px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-right: 1px solid var(--rule);
}

.label {
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-2);
}

.name {
  margin: 0;
  font-weight: 800;
  font-stretch: 62%;
  font-size: clamp(76px, 13.5vw, 200px);
  line-height: .84;
  letter-spacing: -.025em;
  text-transform: uppercase;
}

.lede {
  max-width: 34ch;
  margin: clamp(28px, 4vw, 48px) 0 0;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  font-stretch: 92%;
  text-wrap: pretty;
}

/* ---------- ținta ---------- */

.range {
  margin: 0;
  padding: clamp(28px, 4vw, 52px) var(--pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: var(--paper-2);
}

.target {
  width: min(100%, 360px);
  height: auto;
  display: block;
  cursor: crosshair;
  overflow: visible;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.r-white { fill: var(--t-white); }
.r-black { fill: var(--t-black); }
.r-blue  { fill: var(--t-blue); }
.r-red   { fill: var(--t-red); }
.r-gold  { fill: var(--t-gold); }

.r-line, .r-line-light, .r-white:first-child {
  stroke: var(--t-black);
  stroke-width: .35;
}
.r-line-light { stroke: var(--t-white); }
.r-x { stroke-width: .25; }

.cross { stroke: var(--t-black); stroke-width: .3; }

.target.thud { animation: thud .22s ease-out; }
@keyframes thud {
  30% { transform: translate(.6px, -.4px) scale(.994); }
}

.hole { transform-box: fill-box; transform-origin: center; animation: hit .18s ease-out; }
.hole circle:first-child { fill: rgba(0, 0, 0, .18); }
.hole circle:last-child { fill: #0d0d0c; stroke: rgba(255, 255, 255, .55); stroke-width: .4; }
.hole.last circle:last-child { stroke: var(--ink); stroke-width: .9; }
@keyframes hit { from { transform: scale(2.2); opacity: 0; } }

/* ---------- scorecard ---------- */

.scorecard {
  width: min(100%, 360px);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
}

.scorecard__head, .scorecard__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.scorecard b { color: var(--ink); font-weight: 500; }

.scorecard__arrows {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--ink);
}

.scorecard__arrows li {
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-left: 1px solid var(--rule);
}
.scorecard__arrows li:first-child { border-left: 0; }
.scorecard__arrows li[data-ring="gold"] { background: var(--t-gold); }
.scorecard__arrows li[data-ring="red"]  { background: var(--t-red); color: #fff; }
.scorecard__arrows li[data-ring="blue"] { background: var(--t-blue); color: #fff; }
.scorecard__arrows li[data-ring="black"]{ background: var(--t-black); color: #fff; }
.scorecard__arrows li[data-ring="white"]{ background: var(--t-white); }

.total { white-space: nowrap; }

.btn {
  margin-top: 14px;
  width: 100%;
  padding: 11px 14px;
  font: 500 12.5px/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--t-blue);
  outline-offset: 3px;
}

/* ---------- grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  flex: 1;
}

.cell {
  padding: clamp(24px, 3vw, 40px) var(--pad) clamp(32px, 4vw, 56px);
  border-right: 1px solid var(--rule);
}
.cell:last-child { border-right: 0; }

.cell h2 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
}

.num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ink-2);
}

.cell p {
  margin: 0;
  font-size: 15.5px;
  color: #2e2c29;
  max-width: 38ch;
  text-wrap: pretty;
}

.todo {
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
}
.todo li {
  position: relative;
  padding: 5px 0 5px 26px;
  color: var(--ink-2);
}
.todo li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 11px; height: 11px;
  border: 1px solid var(--ink-2);
}
.todo .done { color: var(--ink-2); text-decoration: line-through; text-decoration-color: var(--rule); }
.todo .done::before { background: var(--ink); border-color: var(--ink); }
.todo .now { color: var(--ink); }
.todo .now::before { border-color: var(--ink); background: linear-gradient(90deg, var(--t-gold) 50%, transparent 50%); }

.cell--contact { background: var(--ink); color: var(--paper); }
.cell--contact .num { color: #9a968c; }
.cell--contact p { color: #d6d2c7; }

.mail {
  display: inline-flex;
  gap: 6px;
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--t-gold);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  word-break: break-all;
}
.mail:hover { color: var(--paper); }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--rule); }

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cell:nth-child(2) { border-right: 0; }
  .cell:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .hero__text { border-right: 0; border-bottom: 1px solid var(--rule); }
  .target { width: min(100%, 300px); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar__status { display: none; }
  .grid { grid-template-columns: 1fr; }
  .cell { border-right: 0; border-bottom: 1px solid var(--rule); }
  .cell:last-child { border-bottom: 0; }
  .foot { flex-direction: column; align-items: flex-start; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .target.thud, .hole { animation: none; }
}
