/* Proposal 2 — "Papír": light, editorial / technical-drawing.
   Structure comes from hairlines, a faint blueprint grid and whitespace rather
   than floating panels; the gradient is an accent, not a surface. Single theme. */

@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap;
  src: url(fonts/figtree-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap;
  src: url(fonts/figtree-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap;
  src: url(fonts/figtree-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap;
  src: url(fonts/figtree-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-024F, U+1E00-1EFF; }

:root {
  --cyan: #2bbfe6; --blue: #3d7ccb; --purple: #7a4aa6; --pink: #d06ab2;
  --brand-gradient: linear-gradient(90deg, var(--cyan), var(--blue) 35%, var(--purple) 70%, var(--pink));

  --bg: #fbfbfd;
  --ink: 22 24 45;
  --text-1: rgb(var(--ink) / 1);
  --text-2: rgb(var(--ink) / .68);
  --text-3: rgb(var(--ink) / .45);
  --rule: rgb(var(--ink) / .14);
  --rule-soft: rgb(var(--ink) / .07);
  --grid: rgb(var(--ink) / .038);

  --radius-m: 14px; --radius-s: 10px;
  --maxw: 1180px;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  font-family: "Figtree", "Aptos", system-ui, sans-serif;
  font-weight: 400; font-size: 17px; line-height: 1.6;
  color: var(--text-1); background: var(--bg);
  position: relative; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* faint technical grid, like a drawing sheet */
.sheet {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 35%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 120% 80% at 50% 0%, #000 35%, transparent 78%);
}

.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding-top: 16px; padding-inline: 36px; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.grad-text { background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.faint { color: var(--text-3); }
.muted { color: var(--text-2); }
.gline { height: 2px; border: 0; background: var(--brand-gradient); border-radius: 2px; }

/* oversized bracket glyphs as the recurring graphic */
.brace {
  position: absolute; font-size: 520px; line-height: 1; font-weight: 400;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text;
  color: transparent; opacity: .09; pointer-events: none; user-select: none; z-index: 0;
}
.brace.l { top: 150px; left: -58px; }
.brace.r { top: 1240px; right: -58px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 16px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 11px 12px 11px 22px;
  border: 1px solid var(--rule-soft);
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
  box-shadow: 0 16px 40px -26px rgb(22 24 45 / .38);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 26px; display: block; }
.nav-logo b { font-weight: 500; font-size: 17px; letter-spacing: .14em; color: var(--text-1); }
.nav ul { display: flex; gap: 30px; list-style: none; padding: 0; }
.nav ul a { font-size: 15px; color: var(--text-2); text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.nav ul a:hover { color: var(--text-1); border-bottom-color: var(--text-1); }
.nav ul a.active { color: var(--text-1); border-bottom-color: currentColor; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-size: 15px; font-weight: 500; text-decoration: none;
  padding: 12px 22px; border-radius: 999px;
  background: rgb(var(--ink)); color: var(--bg); border: 1px solid transparent;
}
.btn.ghost { background: transparent; color: var(--text-1); border-color: var(--rule); }
.btn.ghost:hover { border-color: var(--text-1); }
.btn svg { width: 16px; height: 16px; }
.nav .btn { padding: 10px 20px; font-size: 14px; }

/* ---------- type ---------- */
h1 { font-weight: 400; font-size: clamp(42px, 6.4vw, 86px); line-height: 1.0; letter-spacing: -.035em; }
h2 { font-weight: 400; font-size: clamp(30px, 4vw, 52px); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-weight: 500; font-size: 21px; letter-spacing: -.012em; }
.lead { font-size: 19.5px; color: var(--text-2); }

/* ---------- hero ---------- */
.hero { padding: 76px 0 96px; position: relative; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 30px; }
.eyebrow .mono { color: var(--text-3); }
.eyebrow .dash { flex: 1; max-width: 120px; height: 1px; background: var(--rule); }
.hero h1 { max-width: 15ch; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; margin-top: 40px; }
.hero .actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* thin-line delivery diagram, in the same stroke language as the icons */
.flowline { border-top: 1px solid var(--rule); padding-top: 22px; }
.flowline .mono { color: var(--text-3); display: block; margin-bottom: 18px; }
.flowline ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0; }
.flowline li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed var(--rule-soft); }
.flowline li:last-child { border-bottom: 0; }
.flowline li b { font-weight: 500; font-size: 16px; }
.flowline li i { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.flowline li small { display: block; font-size: 14px; color: var(--text-2); }

/* ---------- section heads ---------- */
section { position: relative; }
.sec-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 64px; align-items: end; padding-top: 34px; border-top: 1px solid var(--rule); margin-bottom: 52px; }
.sec-head .num { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--text-3); display: block; margin-bottom: 20px; }
.sec-head p { color: var(--text-2); font-size: 16.5px; }

/* ---------- services: editorial numbered list ---------- */
.services { padding-bottom: 104px; }
.entry {
  display: grid; grid-template-columns: 88px 1fr 1fr 40px; gap: 32px; align-items: start;
  padding: 30px 0; border-bottom: 1px solid var(--rule-soft);
  text-decoration: none; color: inherit;
}
.entry:first-of-type { border-top: 1px solid var(--rule-soft); }
.entry .num { font-family: var(--mono); font-size: 12px; color: var(--text-3); padding-top: 7px; }
.entry h3 { display: flex; align-items: center; gap: 13px; }
.entry h3 svg { width: 22px; height: 22px; flex: none; }
.entry p { color: var(--text-2); font-size: 15.5px; }
.entry .arrow { justify-self: end; padding-top: 4px; color: var(--text-3); transition: transform .18s ease, color .18s ease; }
.entry:hover .arrow { transform: translateX(5px); color: var(--text-1); }
.entry:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- engagement models ---------- */
.models { padding-bottom: 104px; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.model { padding: 34px 30px 34px 0; border-right: 1px solid var(--rule-soft); }
.model:last-child { border-right: 0; }
.model:not(:first-child) { padding-left: 30px; }
.model .k { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.model .k span { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.model .k hr { flex: 1; height: 1px; border: 0; background: var(--rule-soft); }
.model h3 { margin-bottom: 10px; }
.model p { color: var(--text-2); font-size: 15.5px; }
.model .for { margin-top: 16px; font-size: 14px; color: var(--text-3); }

/* ---------- values ---------- */
.about { padding-bottom: 104px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { border-top: 2px solid transparent; border-image: var(--brand-gradient) 1; padding-top: 22px; }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--text-2); font-size: 15.5px; }

/* ---------- career + contact ---------- */
.closing { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; padding-bottom: 96px; border-top: 1px solid var(--rule); padding-top: 34px; }
.closing h2 { margin: 18px 0 16px; }
.benefits { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.benefits li { display: flex; gap: 12px; align-items: center; font-size: 15px; padding: 13px 0; border-top: 1px solid var(--rule-soft); }
.benefits li svg { width: 19px; height: 19px; flex: none; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 30px; }
.contact-list li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--rule-soft); font-size: 16px; }
.contact-list li span:first-child { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.contact-list li a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--rule); }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--rule); padding: 34px 0 54px; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 28px; font-size: 13.5px; color: var(--text-3); flex-wrap: wrap; }
.foot img { height: 28px; display: block; }
.foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.foot nav a { color: var(--text-2); text-decoration: none; }
.foot nav a:hover { color: var(--text-1); }

.icon { fill: none; stroke: url(#g); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity .45s ease, transform .45s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .entry .arrow { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .sec-head, .closing { grid-template-columns: 1fr; gap: 36px; }
  .model-grid, .values { grid-template-columns: 1fr; }
  .model { border-right: 0; border-bottom: 1px solid var(--rule-soft); padding: 26px 0; }
  .model:not(:first-child) { padding-left: 0; }
  .nav ul { display: none; }
  .brace { display: none; }
  .entry { grid-template-columns: 52px 1fr; row-gap: 10px; }
  .entry p { grid-column: 2; }
  .entry .arrow { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 22px; }
  .benefits { grid-template-columns: 1fr; }
}

/* ---------- service detail ---------- */
.crumb { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11.5px;
         letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); padding-top: 40px; }
.crumb a { color: var(--text-2); text-decoration: none; }
.crumb a:hover { color: var(--text-1); text-decoration: underline; text-underline-offset: 3px; }

.dhero { padding: 26px 0 88px; }
.dhero h1 { max-width: 12ch; }
.dhero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; margin-top: 40px; }
.dhero .lead { font-size: 19px; }
.spec { border-top: 1px solid var(--rule); padding-top: 22px; }
.spec dl { display: grid; grid-template-columns: 104px 1fr; gap: 0 18px; margin: 0; }
.spec dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
           color: var(--text-3); padding: 12px 0; border-top: 1px dashed var(--rule-soft); }
.spec dd { margin: 0; font-size: 15px; color: var(--text-2); padding: 12px 0; border-top: 1px dashed var(--rule-soft); }
.spec dl > dt:first-of-type, .spec dl > dt:first-of-type + dd { border-top: 0; }

.block { padding-bottom: 100px; }
.doing { border-top: 1px solid var(--rule-soft); }
.doing > div { display: grid; grid-template-columns: 88px 1fr 1.15fr; gap: 32px; align-items: start;
               padding: 26px 0; border-bottom: 1px solid var(--rule-soft); }
.doing .n { font-family: var(--mono); font-size: 12px; color: var(--text-3); padding-top: 5px; }
.doing h3 { font-size: 20px; }
.doing p { color: var(--text-2); font-size: 15.5px; }

.ticks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start;
            padding: 14px 0; border-top: 1px solid var(--rule-soft); font-size: 16px; }
.ticks li svg { width: 18px; height: 18px; margin-top: 4px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--rule); }
.steps > div { padding: 28px 26px 28px 0; border-right: 1px solid var(--rule-soft); }
.steps > div:last-child { border-right: 0; }
.steps > div:not(:first-child) { padding-left: 26px; }
.steps .n { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); display: block; margin-bottom: 14px; }
.steps b { font-weight: 500; font-size: 17px; display: block; margin-bottom: 7px; }
.steps p { color: var(--text-2); font-size: 15px; }

.cta-bar { border-top: 2px solid transparent; border-image: var(--brand-gradient) 1; padding-top: 30px;
           display: flex; justify-content: space-between; align-items: end; gap: 36px; flex-wrap: wrap; margin-bottom: 100px; }
.cta-bar h2 { font-size: clamp(26px, 3vw, 38px); }
.cta-bar p { color: var(--text-2); margin-top: 10px; max-width: 46ch; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule); padding-bottom: 100px; }
.pager a { padding: 26px 26px 26px 0; text-decoration: none; color: inherit; border-right: 1px solid var(--rule-soft); }
.pager a:last-child { border-right: 0; padding: 26px 0 26px 26px; text-align: right; }
.pager span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
              text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.pager b { font-weight: 500; font-size: 19px; }
.pager a:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

@media (max-width: 980px) {
  .dhero-grid { grid-template-columns: 1fr; gap: 36px; }
  .doing > div { grid-template-columns: 52px 1fr; row-gap: 10px; }
  .doing p { grid-column: 2; }
  .ticks, .pager { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps > div { border-right: 0; border-bottom: 1px solid var(--rule-soft); padding: 22px 0; }
  .steps > div:not(:first-child) { padding-left: 0; }
  .spec dl { grid-template-columns: 1fr; }
  .spec dd { padding-top: 0; border-top: 0; }
  .pager a { border-right: 0; border-bottom: 1px solid var(--rule-soft); padding: 22px 0; }
  .pager a:last-child { text-align: left; padding: 22px 0; }
}

/* ---------- career detail ---------- */
.jobhead { padding: 26px 0 84px; }
.jobhead h1 { max-width: 14ch; }
.jobhead-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: start; margin-top: 40px; }

/* week rhythm — a measured rule, like a scale on a drawing */
.rytmus { border-top: 1px solid var(--rule); padding-top: 26px; }
.rytmus > .mono { color: var(--text-3); display: block; margin-bottom: 20px; }
.bar { display: flex; height: 3px; background: var(--rule-soft); }
.bar i { display: block; height: 100%; position: relative; }
.bar i::after { content: ""; position: absolute; right: 0; top: -6px; bottom: -6px; width: 1px; background: var(--rule); }
.bar i:last-child::after { display: none; }
.bar i:nth-child(1) { background: var(--cyan); }
.bar i:nth-child(2) { background: var(--blue); }
.bar i:nth-child(3) { background: var(--purple); }
.bar i:nth-child(4) { background: var(--pink); }
.legend { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.legend li { padding: 0 20px 0 0; border-right: 1px solid var(--rule-soft); }
.legend li:last-child { border-right: 0; }
.legend li:not(:first-child) { padding-left: 20px; }
.legend b { display: block; font-family: var(--mono); font-size: 20px; font-weight: 400; margin-bottom: 6px; }
.legend li:nth-child(1) b { color: var(--cyan); }
.legend li:nth-child(2) b { color: var(--blue); }
.legend li:nth-child(3) b { color: var(--purple); }
.legend li:nth-child(4) b { color: var(--pink); }
.legend span { font-size: 14.5px; color: var(--text-2); }

/* must-have vs nice-to-have as facing columns */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--rule); }
.track { padding: 30px 34px 30px 0; border-right: 1px solid var(--rule-soft); }
.track:last-child { border-right: 0; padding: 30px 0 30px 34px; }
.track h3 { margin-bottom: 4px; }
.track > .mono { color: var(--text-3); display: block; margin-bottom: 20px; }
.track ul { list-style: none; padding: 0; display: grid; gap: 0; }
.track li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; color: var(--text-2);
            padding: 13px 0; border-top: 1px dashed var(--rule-soft); }
.track li:first-child { border-top: 0; }
.track li::before { font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.track.must li::before { content: "●"; font-size: 9px; color: rgb(var(--ink) / .7); padding-top: 4px; }
.track.plus li::before { content: "○"; font-size: 9px; padding-top: 4px; }

/* hiring process, numbered along a dashed rail */
.hiring { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.hiring > div { padding: 26px 24px 26px 0; border-right: 1px dashed var(--rule-soft); position: relative; }
.hiring > div:last-child { border-right: 0; }
.hiring > div:not(:first-child) { padding-left: 24px; }
.hiring > div::before { content: ""; position: absolute; left: 0; top: -3px; width: 5px; height: 5px; border-radius: 50%; background: rgb(var(--ink)); }
.hiring > div:not(:first-child)::before { left: 24px; }
.hiring .n { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); display: block; margin-bottom: 14px; }
.hiring b { font-weight: 500; font-size: 17px; display: block; margin-bottom: 6px; }
.hiring p { font-size: 15px; color: var(--text-2); }

/* the honest counter-list */
.nope { padding: 30px 0 30px 34px; }
.nope > .mono { color: var(--text-3); display: block; margin-bottom: 20px; }
.nope ul { list-style: none; padding: 0; }
.nope li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15.5px; color: var(--text-3);
           padding: 13px 0; border-top: 1px dashed var(--rule-soft); }
.nope li:first-child { border-top: 0; }
.nope li::before { content: "×"; font-family: var(--mono); font-size: 14px; }

.roster { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 22px; }
.roster .br { font-size: 26px; color: var(--text-3); }
.roster span { font-size: 14px; color: var(--text-2); padding: 6px 14px; border: 1px solid var(--rule); border-radius: 999px; }

@media (max-width: 980px) {
  .jobhead-grid { grid-template-columns: 1fr; gap: 36px; }
  .tracks, .hiring, .legend { grid-template-columns: 1fr; }
  .track, .track:last-child, .nope { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--rule-soft); }
  .hiring > div, .hiring > div:not(:first-child) { padding: 22px 0; border-right: 0; border-bottom: 1px dashed var(--rule-soft); }
  .hiring > div:not(:first-child)::before { left: 0; }
  .legend li, .legend li:not(:first-child) { padding: 14px 0; border-right: 0; border-top: 1px solid var(--rule-soft); }
}
