/* The one-offer page: one promise, one action. Built on brand.css (tokens, type, buttons, nav, form).
   Order: nav · hero · sample log · thesis + jobs · guards · proof scene · steps · fit · faq · book · footer · small screens. */

/* ---------- nav: brand, three quiet links, the one action ---------- */
.nav__links a { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
@media (max-width: 760px) {
  .nav__links { display: none; }
  .nav__bar { height: 56px; padding: 0 7px 0 16px; justify-content: space-between; }
  .nav .btn--light { --h: 42px; padding: 0 16px; }
}

/* ---------- hero ---------- */
.hero { padding-bottom: 0; }
.hero__inner { gap: 22px; }
.hero .display { max-width: 15ch; }
.hero .pill { background: rgba(255, 255, 255, 0.04); }
.hero__lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; color: rgba(var(--bronze-rgb), 0.22); }
.hero__lines svg { width: 100%; height: 100%; }
.hero__lines .node { fill: var(--ink); stroke: currentColor; }
.hero__lines .pulse { stroke: rgba(var(--bronze-hi-rgb), 0.75); stroke-dasharray: 2 160; animation: pulse 7s linear infinite; }
.hero__lines .pulse--b { animation-delay: -3.5s; }
@keyframes pulse { to { stroke-dashoffset: -486; } }
.jobs-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.jobs-inline li {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px;
  font-size: var(--fs-1); font-weight: 600; color: var(--text);
  background: rgba(var(--bronze-rgb), 0.1); box-shadow: inset 0 0 0 1px rgba(var(--bronze-hi-rgb), 0.2);
}
.jobs-inline li::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--bronze-hi); }

/* the sample log: what the work looks like, an ink card crossing the hero's edge onto the page (the hero lets it out) */
.hero { overflow: visible; z-index: 1; display: flow-root; } /* flow-root: the log's negative margin must not collapse through */
.log-wrap { position: relative; z-index: 1; margin-top: clamp(48px, 7vw, 84px); margin-bottom: -48px; }
.log {
  position: relative; max-width: 860px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #1f1c19, #141210);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 -30px 80px -40px rgba(var(--bronze-rgb), 0.35), 0 36px 70px -34px rgba(11, 10, 9, 0.55);
}
.log__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.log__bar .label { color: var(--text-2); }
.log__live { display: inline-flex; align-items: center; gap: 8px; }
.log__live i { width: 6px; height: 6px; border-radius: 99px; background: var(--bronze-hi); animation: ping 2.8s infinite; }
.log ol { display: grid; }
.log li {
  display: grid; grid-template-columns: 52px 112px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 15px 20px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 0.95rem;
}
.log li:first-child { border-top: 0; }
.log time { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.log__job { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bronze); }
.log .what { color: var(--text); }
.state { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 620; white-space: nowrap; }
.state svg { width: 13px; height: 13px; }
.state--done { color: var(--text-2); background: rgba(255, 255, 255, 0.05); }
.state--ask { color: var(--ink); background: linear-gradient(180deg, #fffaf2, #efe4d3); box-shadow: 0 0 0 1px rgba(var(--bronze-hi-rgb), 0.5), 0 6px 18px -8px rgba(var(--bronze-hi-rgb), 0.6); }
.log li.is-ask { background: linear-gradient(90deg, rgba(var(--bronze-rgb), 0.1), transparent 70%); }

/* ---------- sections ---------- */
.section--tight { padding-top: calc(clamp(64px, 8vw, 110px) + 48px); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: start; margin-bottom: clamp(40px, 6vw, 72px); }
.split .head { margin: 0; }
.split__body { display: grid; gap: 18px; color: var(--text-2); font-size: clamp(1.0625rem, 1.4vw, 1.15rem); padding-top: 8px; }
.split__body p:last-child { color: var(--text); font-weight: 560; }

.jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job { padding: clamp(24px, 2.8vw, 34px); display: grid; gap: 14px; align-content: start; transition: box-shadow var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease); }
.job:hover { box-shadow: var(--lit), var(--shadow-lg); border-color: var(--line-2); }
.job__n { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); }
.job p { color: var(--text-2); }
.tasks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tasks li { font-size: 0.8125rem; font-weight: 580; padding: 5px 12px; border-radius: 999px; background: var(--well); color: var(--text-2); box-shadow: inset 0 0 0 1px var(--line); }

.guards { padding: clamp(26px, 3.4vw, 44px); display: grid; gap: clamp(22px, 3vw, 34px); }
.guards__head { display: flex; align-items: end; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.guards__head .h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); max-width: 22ch; }
.guards ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.guards li { display: grid; gap: 6px; padding-top: 16px; border-top: 2px solid var(--accent); align-content: start; }
.guards b { font-weight: 700; letter-spacing: -0.015em; }
.guards span { color: var(--text-2); font-size: 0.93rem; }

/* ---------- proof: one calm card on the scene ---------- */
.scene { position: relative; isolation: isolate; overflow: hidden; padding: clamp(84px, 10vw, 140px) 0; background: linear-gradient(90deg, #6f6455, #85786a 45%, #8d7f6e); }
/* the photo's own taupe wall continues into the section colour, so the sculpture stands to the right of the card */
.scene__img {
  position: absolute; top: 0; right: 0; z-index: -1; width: min(60%, 940px); height: 100%; object-fit: cover; object-position: 50% 45%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 26%); mask-image: linear-gradient(90deg, transparent, #000 26%);
}
.scene .wrap { display: grid; grid-template-columns: minmax(0, 560px); }
.proof { padding: clamp(24px, 3.2vw, 40px); display: grid; gap: 22px; border-color: rgba(255, 255, 255, 0.4); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 40px 90px -30px rgba(11, 10, 9, 0.55); }
.proof .eyebrow { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.proof .h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.proof__lede { color: var(--text-2); }
.proof ol { display: grid; }
.proof li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.proof__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--bronze-hi); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.proof__icon svg { width: 18px; height: 18px; }
.proof li b { display: block; font-weight: 700; letter-spacing: -0.015em; }
.proof li .tags { display: block; margin: 3px 0 6px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; color: var(--accent); }
.proof li p { color: var(--text-2); font-size: 0.95rem; }
.proof__cta { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; padding-top: 6px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 10px; align-content: start; }
.step p { color: var(--text-2); font-size: 0.95rem; }
.step__n { font-family: var(--mono); font-size: 0.75rem; color: var(--accent); }
.step--lit {
  border: 1px solid rgba(255, 255, 255, 0.07); border-radius: var(--radius-lg);
  background: radial-gradient(70% 60% at 90% 0%, rgba(var(--bronze-rgb), 0.18), transparent 70%), var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--shadow-lg);
}
.steps__cta { display: flex; align-items: center; justify-content: center; gap: 12px 20px; flex-wrap: wrap; margin-top: 28px; font-size: 0.92rem; }

/* ---------- fit ---------- */
.fit { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: start; }
.fit > div { padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.fit h3 { font-size: var(--fs-3); font-weight: 700; letter-spacing: -0.01em; }
.fit li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 8px 0; color: var(--text-2); }
.fit li svg { width: 16px; height: 16px; margin-top: 5px; color: var(--accent); }
.fit__no li svg { color: var(--muted); }

/* ---------- book ---------- */
.close .lede { max-width: 32rem; }
.form__head .h3 { font-size: 1.35rem; }

/* ---------- inner pages ---------- */
.prose { max-width: 46rem; margin: 0 auto; display: grid; gap: 14px; color: var(--text-2); font-size: var(--fs-3); }
.prose h2 { color: var(--text); margin-top: 14px; }

/* ---------- footer: the wordmark ---------- */
.foot { position: relative; padding: 48px 0 0; overflow: hidden; }
.foot::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--thread); pointer-events: none; }
.foot__row { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; color: var(--text-2); font-size: var(--fs-2); }
.foot__row nav { display: flex; gap: 6px 22px; flex-wrap: wrap; }
.foot__row nav a { color: var(--text-2); transition: color var(--t); }
.foot__row nav a:hover { color: var(--text); }
.foot__word {
  margin-top: clamp(28px, 5vw, 56px); margin-bottom: -0.2em; font-weight: 780; letter-spacing: -0.06em; line-height: 0.78;
  font-size: clamp(4rem, 17vw, 15.5rem); white-space: nowrap; text-align: center; user-select: none;
  background: linear-gradient(180deg, rgba(var(--bronze-hi-rgb), 0.22), rgba(var(--bronze-hi-rgb), 0.02) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .jobs, .steps { grid-template-columns: 1fr 1fr; }
  .guards ul { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .log li { grid-template-columns: 44px minmax(0, 1fr) auto; row-gap: 4px; padding: 13px 16px; font-size: 0.9rem; }
  .log__job { grid-column: 2; grid-row: 1; }
  .log time { grid-row: 1 / span 2; align-self: start; padding-top: 1px; }
  .log .what { grid-column: 2 / span 2; grid-row: 2; }
  .log .state { grid-column: 3; grid-row: 1; justify-self: end; height: 24px; padding: 0 10px; font-size: 0.74rem; }
  .log__bar { padding: 12px 16px; }
  .scene { padding: 0 0 56px; background: var(--page); }
  .scene__img { position: relative; width: 100%; height: 72vw; min-height: 260px; z-index: 0; object-position: 50% 30%; -webkit-mask-image: none; mask-image: none; }
  .scene .wrap { grid-template-columns: 1fr; margin-top: -64px; position: relative; }
  .fit { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .jobs, .steps, .guards ul { grid-template-columns: 1fr; }
  .log__live { font-size: 0; gap: 0; }
  .hero .pill { height: auto; min-height: 36px; padding-block: 6px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__streak, .hero__lines .pulse { display: none; }
}
