:root {
  --paper: #f6efe4;
  --paper-deep: #efe5d4;
  --ink: #16110c;
  --ink-soft: rgba(22, 17, 12, 0.72);
  --ink-muted: rgba(22, 17, 12, 0.52);
  --accent: #b5482a;
  --accent-soft: rgba(181, 72, 42, 0.16);
  --line: rgba(39, 29, 21, 0.16);
  --line-strong: rgba(39, 29, 21, 0.24);
  --shadow: 0 30px 70px rgba(53, 39, 28, 0.12);
  --display: "Cormorant Garamond", serif;
  --body: "Manrope", sans-serif;
  --mono: "Azeret Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--body);
  background:
    radial-gradient(circle at 18% 14%, rgba(241, 215, 175, 0.44), transparent 20%),
    radial-gradient(circle at 78% 20%, rgba(238, 206, 170, 0.3), transparent 18%),
    radial-gradient(circle at 62% 78%, rgba(236, 213, 182, 0.34), transparent 18%),
    linear-gradient(180deg, #f8f2e8 0%, var(--paper) 48%, #f3ebde 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.45), transparent 14%),
    radial-gradient(circle at 72% 44%, rgba(255, 255, 255, 0.28), transparent 13%),
    radial-gradient(circle at 44% 72%, rgba(255, 255, 255, 0.22), transparent 16%);
  filter: blur(26px);
  opacity: 0.95;
  z-index: -2;
}

body::after {
  background-image: linear-gradient(rgba(39, 29, 21, 0.03) 1px, transparent 1px);
  background-size: 100% 180px;
  opacity: 0.42;
  z-index: -1;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
dl,
dd,
dt {
  margin: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 30;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 24px 0;
  border-right: 1px solid var(--line);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.site-shell {
  min-width: 0;
}

.site-header,
.hero,
.section,
.site-footer {
  width: min(1480px, 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(24px, 4vw, 52px);
  border-bottom: 1px solid transparent;
  background: rgba(246, 239, 228, 0);
  backdrop-filter: blur(0);
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 239, 228, 0.84);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.header-cta,
.button {
  text-decoration: none;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mark {
  font-family: var(--display);
  font-size: 2rem;
  line-height: 0.9;
}

.brand-sub {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.header-cta,
.button-primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.45);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  min-height: calc(100vh - 94px);
  border-top: 1px solid var(--line);
}

.hero-display,
.hero-details {
  padding: clamp(32px, 5vw, 72px);
}

.hero-display {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border-right: 1px solid var(--line);
}

.hero-caption,
.section-tag {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.display-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 0.82;
}

.display-line {
  font-family: var(--display);
  font-size: clamp(4.7rem, 14vw, 11.8rem);
  font-weight: 600;
  letter-spacing: -0.06em;
}

.display-line.accent {
  color: var(--accent);
  font-style: italic;
  padding-left: 0.05em;
}

.display-note {
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.hero-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.hero-details h1,
.section h2,
.manifesto-quote,
.cta-block h2 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero-details h1 {
  font-size: clamp(3rem, 5.3vw, 5.2rem);
  line-height: 0.94;
  max-width: 8.8em;
  text-wrap: balance;
}

.hero-details h1 span {
  color: var(--accent);
  font-style: italic;
}

.lede,
.featured-line,
.manifesto-copy p,
.split-row p,
.service-row dd,
.process-step p,
.cta-block p,
.site-footer p {
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--ink-soft);
}

.featured-line {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 4px 0 2px;
  font-size: 1rem;
}

.featured-line span {
  color: var(--accent);
  font-family: var(--display);
  font-size: 1.5em;
  font-style: italic;
  line-height: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 10px;
}

.info-rows,
.service-table {
  display: grid;
  gap: 0;
}

.info-row,
.service-row,
.split-row,
.site-footer {
  border-top: 1px dashed var(--line);
}

.info-row {
  display: grid;
  grid-template-columns: minmax(140px, 0.38fr) minmax(0, 1fr);
  gap: 18px;
  padding: 22px 0;
}

.info-row dt,
.service-row dt {
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section {
  padding: clamp(56px, 8vw, 108px) clamp(24px, 4vw, 52px) 0;
}

.section-intro {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.section h2,
.cta-block h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.2rem);
  line-height: 0.96;
  max-width: 12ch;
  text-wrap: balance;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.manifesto-quote {
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
  max-width: 9ch;
}

.manifesto-copy {
  display: grid;
  gap: 18px;
  padding-top: 10px;
}

.audience-list,
.process-list {
  display: grid;
  gap: 0;
}

.split-row {
  display: grid;
  grid-template-columns: minmax(210px, 0.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px 0;
}

.split-label {
  display: grid;
  gap: 8px;
}

.split-label span,
.process-step span {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.split-label h3,
.process-step h3 {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.service-table {
  border-bottom: 1px dashed var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.role-chip {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.44);
  border-radius: 22px;
  box-shadow: var(--shadow);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.05;
}

.process-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.process-step {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.46);
  box-shadow: var(--shadow);
}

.cta-section {
  padding-bottom: clamp(56px, 8vw, 108px);
}

.cta-block {
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--line-strong);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.2)),
    radial-gradient(circle at top left, rgba(181, 72, 42, 0.08), transparent 42%);
  box-shadow: var(--shadow);
}

.cta-block p {
  max-width: 48rem;
  margin-top: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px clamp(24px, 4vw, 52px) 42px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
  transition-delay: var(--delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero,
  .manifesto-grid,
  .roles-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .hero-display {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-details h1,
  .section h2,
  .cta-block h2 {
    max-width: none;
  }

  .roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .rail {
    display: none;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .site-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .split-row,
  .service-row,
  .info-row,
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header,
  .section,
  .hero-display,
  .hero-details,
  .site-footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .site-header {
    gap: 16px;
  }

  .brand-mark {
    font-size: 1.6rem;
  }

  .site-nav {
    font-size: 0.88rem;
  }

  .hero {
    min-height: auto;
  }

  .display-line {
    font-size: clamp(4rem, 22vw, 6.1rem);
  }

  .hero-actions,
  .cta-block .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .roles-grid {
    grid-template-columns: 1fr;
  }

  .role-chip,
  .process-step {
    border-radius: 20px;
  }
}
