:root {
  color-scheme: light;
  --paper: oklch(96.5% 0.012 91);
  --paper-2: oklch(93.5% 0.018 91);
  --ink: oklch(22% 0.018 176);
  --ink-soft: oklch(42% 0.02 176);
  --muted: oklch(56% 0.018 176);
  --rule: oklch(84% 0.018 91);
  --panel: oklch(98.2% 0.007 91);
  --accent: oklch(43% 0.09 176);
  --accent-hover: oklch(37% 0.095 176);
  --warm: oklch(59% 0.11 48);
  --night: oklch(17% 0.018 176);
  --white-tint: oklch(99% 0.004 91);
  --font-sans: "Hanken Grotesk", "Trebuchet MS", system-ui, sans-serif;
  --font-display: "Literata", Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: min(100% - 32px, 1190px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  text-size-adjust: 100%;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 20;
  transform: translateY(-140%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 180ms var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 21px;
  font-weight: 520;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease),
    transform 180ms var(--ease);
}

.button:focus-visible,
.hero-links a:focus-visible,
.faq-list a:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid oklch(63% 0.09 176 / 0.38);
  outline-offset: 3px;
}

.button-primary {
  background: var(--accent);
  color: var(--white-tint);
}

.button-primary:hover {
  background: var(--accent-hover);
  color: var(--white-tint);
  transform: translateY(-1px);
}

.button-secondary {
  background: oklch(96% 0.009 91);
  border-color: var(--rule);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: oklch(72% 0.028 176);
  color: var(--accent-hover);
}

.method-hero {
  width: var(--container);
  margin: 0 auto;
  padding: clamp(126px, 9vw, 156px) 0 clamp(44px, 5vw, 70px);
}

.method-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.28fr);
  grid-template-areas:
    "label lede"
    "title lede"
    "title links";
  align-items: end;
  gap: clamp(32px, 6vw, 96px);
  margin-bottom: clamp(28px, 4vw, 48px);
}

.intro-label {
  margin: 0 0 14px;
  color: var(--accent-hover);
  font-size: 0.8rem;
  font-weight: 620;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-copy .intro-label {
  grid-area: label;
}

h1 {
  grid-area: title;
  max-width: 11ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6.5vw, 6.2rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.96;
  text-wrap: balance;
}

.hero-lede {
  grid-area: lede;
  max-width: 40ch;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: clamp(1.06rem, 1.55vw, 1.24rem);
  line-height: 1.58;
}

.hero-links {
  grid-area: links;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-links a {
  color: var(--accent-hover);
  font-weight: 620;
  text-decoration: none;
}

.hero-links a:hover {
  color: var(--ink);
}

.method-stage {
  position: relative;
  margin: 0;
  min-height: clamp(360px, 44vw, 560px);
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper-2);
  isolation: isolate;
}

.method-stage img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96);
}

.method-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      oklch(17% 0.018 176 / 0.52),
      oklch(17% 0.018 176 / 0.05) 56%
    ),
    linear-gradient(0deg, oklch(17% 0.018 176 / 0.22), transparent 58%);
  pointer-events: none;
}

.source-ticket {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  bottom: clamp(18px, 4vw, 48px);
  z-index: 1;
  width: min(360px, calc(100% - 36px));
  padding: 22px 24px;
  background: oklch(98.2% 0.007 91 / 0.94);
  color: var(--ink);
  border: 1px solid oklch(88% 0.012 91 / 0.76);
}

.source-ticket span,
.process-steps span,
.limits-list span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-hover);
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.source-ticket strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.source-ticket p {
  margin: 0;
  color: var(--ink-soft);
}

.method-ribbon {
  width: var(--container);
  margin: 0 auto;
  padding: 19px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.method-ribbon span {
  color: var(--ink-soft);
  font-weight: 620;
}

.method-ribbon span + span {
  padding-left: clamp(16px, 3vw, 42px);
  border-left: 1px solid var(--rule);
}

.pipeline-section,
.record-section,
.faq-section,
.handoff-section {
  width: var(--container);
  margin: 0 auto;
}

.pipeline-section {
  padding: clamp(62px, 8vw, 104px) 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.section-heading h2,
.record-copy h2,
.limits-inner h2,
.faq-intro h2,
.handoff-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 3.5vw, 3.55rem);
  font-weight: 400;
  letter-spacing: -0.034em;
  line-height: 1.04;
  text-wrap: balance;
}

.process-board {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.process-media {
  position: relative;
  min-height: 490px;
}

.process-photo-main,
.process-photo-small {
  position: absolute;
  object-fit: cover;
  border-radius: 18px;
}

.process-photo-main {
  inset: 0 auto auto 0;
  width: 78%;
  height: 78%;
  filter: saturate(0.18) contrast(1.06);
}

.process-photo-small {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 48%;
  border: 10px solid var(--paper);
  filter: saturate(0.78) contrast(0.96);
}

.process-steps {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.process-steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 23px 0;
  border-bottom: 1px solid var(--rule);
}

.process-steps h3 {
  margin: 0 0 5px;
  font-size: 1.2rem;
  font-weight: 620;
}

.process-steps p {
  max-width: 42ch;
  margin: 0;
  color: var(--ink-soft);
}

.record-section {
  padding: clamp(62px, 8vw, 104px) 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.96fr) minmax(0, 0.86fr);
  gap: clamp(34px, 7vw, 92px);
  align-items: center;
  border-top: 1px solid var(--rule);
}

.record-image {
  margin: 0;
  min-height: clamp(300px, 34vw, 470px);
  overflow: hidden;
  border-radius: 18px;
  background: var(--paper-2);
}

.record-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.86) contrast(0.97);
}

.record-copy p:not(.intro-label) {
  max-width: 48ch;
  margin: 18px 0 24px;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.62;
}

.record-points {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
  border-top: 1px solid var(--rule);
}

.record-points li {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
}

.record-points span {
  color: var(--accent-hover);
  font-weight: 620;
}

.limits-section {
  padding: clamp(58px, 8vw, 100px) 0;
  background: var(--night);
  color: oklch(94% 0.008 91);
}

.limits-inner {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 98px);
}

.limits-section .intro-label,
.limits-list span {
  color: oklch(73% 0.08 176);
}

.limits-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: oklch(32% 0.018 176);
}

.limits-list article {
  min-height: 190px;
  padding: 24px;
  background: var(--night);
}

.limits-list p {
  margin: 0;
  color: oklch(78% 0.012 91);
  font-size: 1.06rem;
}

.faq-section {
  padding: clamp(62px, 8vw, 104px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: clamp(30px, 6vw, 86px);
}

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

.faq-list details {
  border-bottom: 1px solid var(--rule);
}

.faq-list summary {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-weight: 620;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent-hover);
  font-size: 1.35rem;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  max-width: 62ch;
  margin: 0 0 22px;
  color: var(--ink-soft);
}

.faq-list a {
  color: var(--accent-hover);
  font-weight: 620;
  text-decoration: none;
}

.handoff-section {
  padding: clamp(42px, 6vw, 72px) 0 clamp(66px, 8vw, 104px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  border-top: 1px solid var(--rule);
}

.handoff-section h2 {
  max-width: 760px;
}

.handoff-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  padding: clamp(48px, 6vw, 76px) max(16px, calc((100vw - 1190px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  background: var(--night);
  color: oklch(92% 0.008 91);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: oklch(96% 0.006 91);
  font-weight: 620;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.site-footer p {
  margin: 18px 0 0;
  color: oklch(76% 0.012 91);
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-content: start;
  gap: 12px 34px;
}

.site-footer a {
  color: oklch(84% 0.012 91);
  text-decoration: none;
}

.site-footer a:hover {
  color: oklch(96% 0.006 91);
}

@media (max-width: 980px) {
  .method-copy,
  .process-board,
  .record-section,
  .limits-inner,
  .faq-section,
  .handoff-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .method-copy {
    grid-template-areas:
      "label"
      "title"
      "lede"
      "links";
  }

  h1 {
    max-width: 12ch;
  }

  .process-media {
    min-height: 420px;
  }

  .limits-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 108px;
  }

  .method-hero,
  .method-ribbon,
  .pipeline-section,
  .record-section,
  .faq-section,
  .handoff-section {
    width: min(100% - 24px, 1190px);
  }

  .method-hero {
    padding: 122px 0 44px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.45rem);
    line-height: 1.02;
  }

  .method-stage {
    min-height: 430px;
  }

  .method-stage::after {
    background: linear-gradient(
      0deg,
      oklch(17% 0.018 176 / 0.56),
      transparent 66%
    );
  }

  .source-ticket {
    padding: 18px;
  }

  .method-ribbon {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    padding: 0;
    background: var(--rule);
  }

  .method-ribbon span,
  .method-ribbon span + span {
    padding: 14px 0;
    border-left: 0;
    background: var(--paper);
  }

  .process-media {
    min-height: 330px;
  }

  .process-photo-main {
    width: 86%;
    height: 76%;
  }

  .process-photo-small {
    width: 56%;
    height: 46%;
    border-width: 8px;
  }

  .process-steps li {
    grid-template-columns: 44px 1fr;
    gap: 16px;
  }

  .record-points li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .handoff-actions,
  .handoff-actions .button {
    width: 100%;
  }

  .site-footer nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
