/* ============================================================
   DWE CR Consulting — landing page
   Boutique · B&W · small type · single typeface · hairlines
   ============================================================ */

:root {
  /* monochrome system */
  --paper:    #FAFAF7;
  --paper-2:  #F2F1ED;
  --ink:      #0B0B0B;
  --ink-soft: #1A1A1A;
  --mid:      #767574;
  --hairline: rgba(11, 11, 11, 0.12);
  --hairline-soft: rgba(11, 11, 11, 0.06);

  /* single highlight — used once, very quietly */
  --accent:   #B89455;

  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;

  --max:    1200px;
  --pad-x:  clamp(22px, 5vw, 56px);
  --pad-y:  clamp(72px, 9vw, 120px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a   { color: inherit; }

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

/* ---------- layout ---------- */
.wrap   { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad-x); }
.narrow { max-width: 720px; }
.section { padding: var(--pad-y) 0; position: relative; }
.section + .section { border-top: 1px solid var(--hairline); }

/* asymmetric grid: 12-col, content typically in 2..9 */
.grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

/* ---------- top nav ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.mark {
  font-weight: 500;
  letter-spacing: 0.22em;
  text-decoration: none;
  color: var(--ink);
  font-size: 12px;
}
.topnav nav {
  display: flex; align-items: center; gap: 28px;
}
.topnav nav a {
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s ease;
}
.topnav nav a:hover { color: var(--ink); }
.cta-link {
  color: var(--ink) !important;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.cta-link:hover { border-bottom-color: var(--accent); }

@media (max-width: 760px) {
  .topnav nav a:not(.cta-link) { display: none; }
}

/* ---------- type system ---------- */
h1, h2 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.12;
  margin: 0 0 0.6em;
  color: var(--ink);
}
h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ink);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0 0 32px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--ink);
  display: inline-block;
  flex: 0 0 auto;
}
.eyebrow .num {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 0 0 24px;
  max-width: 22ch;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.section-title em { font-style: italic; font-weight: 300; }
.section-sub {
  font-size: 15px;
  color: var(--mid);
  margin: 0 0 48px;
  max-width: 48ch;
}

.lede {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 56ch;
}

.muted  { color: var(--mid); }
.small  { font-size: 13px; }
.mono   { font-variant-numeric: tabular-nums; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- hero ---------- */
.hero {
  padding: clamp(120px, 14vw, 180px) 0 clamp(96px, 12vw, 144px);
  border-bottom: 1px solid var(--hairline);
}
.hero-head {
  margin: 0 0 36px;
}
.hero-head h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 64px);
  font-weight: 300;
  letter-spacing: -0.018em;
  line-height: 1.06;
  max-width: 22ch;
  margin: 0 0 12px;
}
.hero-head h1 em { font-style: italic; font-weight: 300; }
.hero-byline {
  font-family: var(--sans);
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--mid);
  margin: 0;
  max-width: 48ch;
}
.hero .lede { margin-bottom: 44px; }
.hero .ctas { margin: 0; }

/* ---------- CTAs (text-only, hairline underline) ---------- */
.ctas {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 12px 32px;
  margin: 32px 0 0;
}
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 13px/1 var(--sans);
  letter-spacing: 0.02em;
  color: var(--ink);
  background: transparent;
  border: 0;
  padding: 14px 0;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn .arrow {
  color: var(--accent);
  transition: transform 0.2s ease;
  font-size: 14px;
  font-weight: 400;
}
.btn:hover { border-bottom-color: var(--accent); }
.btn:hover .arrow { transform: translateX(3px); }
.btn.small { font-size: 12px; padding: 10px 0; }

.link {
  font-size: 13px;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.link:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------- archetypes ---------- */
.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--hairline);
}
.arch {
  padding: 36px 0 36px;
  border-bottom: 1px solid var(--hairline);
}
.arch:nth-child(odd)  { padding-right: 40px; border-right: 1px solid var(--hairline); padding-left: 0; }
.arch:nth-child(even) { padding-left: 40px; }
.arch .arch-no {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--mid);
  margin: 0 0 10px;
  font-variant-numeric: tabular-nums;
}
.arch h3 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  margin: 0 0 12px;
  letter-spacing: -0.012em;
}
.arch p { margin: 0; color: var(--ink-soft); }

.closer {
  margin: 48px 0 0;
  color: var(--mid);
  max-width: 56ch;
}

@media (max-width: 760px) {
  .arch-grid { grid-template-columns: 1fr; }
  .arch:nth-child(odd)  { border-right: 0; padding-right: 0; }
  .arch:nth-child(even) { padding-left: 0; }
}

/* ---------- the shift ---------- */
.section.quote .narrow p { max-width: 60ch; }
.section.quote em { color: var(--ink); font-style: italic; }
.section.quote .strong { color: var(--ink); }

/* ---------- ladder ---------- */
.ladder {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.step {
  padding: 36px 0;
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  align-items: start;
}
.step-no {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--mid);
  margin: 6px 0 0;
  font-variant-numeric: tabular-nums;
  text-transform: uppercase;
}
.step-body { min-width: 0; }
.step h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 8px;
  letter-spacing: -0.012em;
}
.step-tag {
  font-size: 14px;
  color: var(--mid);
  margin: 0 0 18px;
  max-width: 52ch;
}
.step-meta {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 18px;
  font-variant-numeric: tabular-nums;
  display: flex; flex-wrap: wrap; gap: 8px 18px;
}
.step-meta .sep { color: var(--hairline); }
.step p { color: var(--ink-soft); max-width: 60ch; }
.step-result { color: var(--mid) !important; font-style: italic; }
.frames {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid; gap: 8px;
  max-width: 60ch;
}
.frames li { padding-left: 16px; position: relative; color: var(--ink-soft); }
.frames li::before { content: "·"; position: absolute; left: 0; color: var(--mid); }
.frames strong { color: var(--ink); font-weight: 500; }
.step .btn { margin-top: 18px; }

/* Step description list — what I do / what I deliver / what you get */
.step-detail {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  column-gap: 24px;
  row-gap: 18px;
  margin: 16px 0 0;
  max-width: 70ch;
}
.step-detail dt {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
  padding-top: 4px;
}
.step-detail dd {
  margin: 0;
  color: var(--ink-soft);
}
.step-detail dd .frames { margin-top: 12px; }

@media (max-width: 640px) {
  .step-detail {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }
  .step-detail dd { margin-bottom: 12px; }
  .step-detail dd:last-child { margin-bottom: 0; }
}

@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 8px; }
  .step-no { margin-bottom: 4px; }
}

/* ---------- regions (where I've been called) ---------- */
.regions { display: grid; gap: 36px; margin: 0; }
.region-tier { padding-top: 28px; border-top: 1px solid var(--hairline); }
.region-tier:first-child { border-top: 0; padding-top: 0; }
.tier-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0 0 16px;
  font-weight: 500;
}
.region-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 22px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.region-list li::after {
  content: "·";
  margin-left: 22px;
  color: var(--mid);
}
.region-list li:last-child::after { content: ""; margin: 0; }
.region-list.secondary {
  font-size: 14px;
  font-weight: 400;
  color: var(--mid);
}
.region-list.secondary li::after { color: var(--hairline); }

/* ---------- about ---------- */
.reach {
  list-style: none;
  padding: 0;
  margin: 18px 0 24px;
  display: grid;
  gap: 14px;
  counter-reset: reach;
}
.reach li {
  position: relative;
  padding-left: 28px;
  counter-increment: reach;
  color: var(--ink-soft);
  max-width: 60ch;
}
.reach li::before {
  content: counter(reach, decimal-leading-zero);
  position: absolute;
  left: 0; top: 2px;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--mid);
  font-variant-numeric: tabular-nums;
}
.reach strong { color: var(--ink); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq {
  margin: 0;
  border-top: 1px solid var(--hairline);
}
.faq dt {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
  padding: 22px 0 6px;
  letter-spacing: -0.008em;
}
.faq dd {
  margin: 0;
  padding: 0 0 22px;
  color: var(--mid);
  border-bottom: 1px solid var(--hairline);
  max-width: 70ch;
}

/* ---------- final call ---------- */
.section.final { padding-top: clamp(96px, 12vw, 144px); padding-bottom: clamp(96px, 12vw, 144px); }
.section.final .lede { margin: 0 0 36px; max-width: 48ch; }
.section.final .alt-path {
  margin: 18px 0 0;
  font-size: 13px;
}
.section.final .alt-path .paddle-cta {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s ease;
}
.section.final .alt-path .paddle-cta:hover { border-bottom-color: var(--ink); }
.section.final .alt-path .arrow { color: var(--accent); font-size: 14px; }
.section.final .or {
  margin-top: 24px;
  color: var(--mid);
  font-size: 13px;
}
.section.final .email {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
}
.section.final .email:hover { border-bottom-color: var(--ink); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 56px 0 56px;
  font-size: 12px;
  color: var(--mid);
  letter-spacing: 0.01em;
}
.footer .grid12 { row-gap: 6px; }
.footer .col-name  { grid-column: span 6; }
.footer .col-meta  { grid-column: span 6; text-align: right; }
.footer .name {
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 4px;
}
.footer p { margin: 0 0 4px; }
.footer a {
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px;
}
.footer a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.footer .fineprint { margin-top: 36px; font-size: 11px; opacity: 0.7; }

@media (max-width: 640px) {
  .footer .col-name, .footer .col-meta { grid-column: span 12; text-align: left; }
  .footer .col-meta { margin-top: 18px; }
}

/* ============================================================
   LEGAL PAGES — terms, privacy, refund
   ============================================================ */
.legal {
  padding: clamp(80px, 9vw, 120px) 0;
}
.legal .legal-inner {
  max-width: 720px;
}
.legal h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.2vw, 48px);
  margin: 0 0 14px;
  letter-spacing: -0.018em;
  line-height: 1.1;
}
.legal .updated {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0 0 56px;
  font-weight: 500;
}
.legal-section {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--hairline);
}
.legal-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.legal-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 16px;
  color: var(--ink);
  letter-spacing: -0.012em;
  line-height: 1.25;
}
.legal-section p,
.legal-section li {
  color: var(--ink-soft);
  max-width: 66ch;
}
.legal-section p { margin: 0 0 12px; }
.legal-section ul,
.legal-section ol {
  padding-left: 18px;
  margin: 12px 0;
}
.legal-section li { margin: 0 0 8px; }
.legal-section li::marker { color: var(--mid); }
.legal-section strong { color: var(--ink); font-weight: 500; }
.legal-section a {
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}
.legal-section a:hover { border-bottom-color: var(--ink); }

/* ============================================================
   IMAGE SYSTEM — editorial plates
   Composed empty frames. Roman-numeral plate captions.
   Real photography slots in via <img> when ready.
   ============================================================ */

.figs {
  padding: clamp(56px, 7vw, 96px) 0;
}
.figs + .section { border-top: 1px solid var(--hairline); }

.fig {
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 1.6s cubic-bezier(0.22, 0.6, 0.32, 1),
    transform 1.6s cubic-bezier(0.22, 0.6, 0.32, 1);
}
.fig.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fig { opacity: 1; transform: none; transition: none; }
}

.fig-frame {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  overflow: hidden;
}
.fig-frame img,
.fig-frame svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fig figcaption {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--mid);
  margin-top: 14px;
  font-style: italic;
  font-weight: 400;
  max-width: 60ch;
}
.fig figcaption .plate {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-weight: 500;
  color: var(--ink);
  margin-right: 10px;
  font-variant-numeric: tabular-nums;
}

/* Plates I & II — horizontal bands (diagrammatic illustrations) */
.fig--band .fig-frame {
  aspect-ratio: 2 / 1;
  width: 100%;
}
.fig-horizon {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--ink);
  opacity: 0.55;
}

/* Plate II — paired tension: macro detail + vast panorama */
.fig--pair {
  display: grid;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: auto auto;
  column-gap: 24px;
  align-items: end;
}
.fig--pair .fig-frame--detail {
  aspect-ratio: 4 / 5;
  grid-column: 1;
  grid-row: 1;
}
.fig--pair .fig-frame--vast {
  aspect-ratio: 16 / 9;
  grid-column: 2;
  grid-row: 1;
  align-self: end;
}
.fig--pair figcaption {
  grid-column: 1 / -1;
  grid-row: 2;
}

@media (max-width: 720px) {
  .fig--pair { grid-template-columns: 1fr; column-gap: 0; row-gap: 18px; }
  .fig--pair .fig-frame--detail,
  .fig--pair .fig-frame--vast { grid-column: 1; }
  .fig--pair .fig-frame--detail { grid-row: 1; }
  .fig--pair .fig-frame--vast { grid-row: 2; }
  .fig--pair figcaption { grid-row: 3; }
}

/* Plate III, IV — margin fragment */
.fig--margin .fig-frame { aspect-ratio: 3 / 4; }
.fig--margin { max-width: 280px; }

/* Plate IV — square (honors the painting's composition) */
.fig--square .fig-frame { aspect-ratio: 1 / 1; }

/* Section variant: text column + margin figure */
.section--with-margin .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 80px;
  align-items: start;
}
.section--with-margin .fig--margin {
  position: sticky;
  top: 100px;
  margin: 0;
  max-width: none;
}

/* Constrain prose width inside the text column so reading stays comfortable */
.about-primary,
.walked-primary {
  max-width: 720px;
}

@media (max-width: 900px) {
  .section--with-margin .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .section--with-margin .fig--margin {
    position: static;
    max-width: 280px;
  }
}
