/* ==========================================================================
   Adventus — brand layer
   Applies the locked identity (BRAND.md) over the existing site structure.
   Loaded AFTER each page's inline <style>, so it wins on source order.
   Content and layout are unchanged; only ground, type, colour and the
   document vernacular are applied.
   ========================================================================== */

:root {
  /* --- document palette (BRAND.md §6a) --- */
  --paper:   #F4F2ED;
  --stock:   #FAFAF9;
  --vellum:  #E9E5DD;
  --stage:   #E3DDD3;
  --rule:    #CEC8BC;
  --rule-2:  #DED8CD;
  --ink:     #1B1A19;
  --ink-80:  #3A3733;
  --stone:   #6C665F;
  --stone-2: #8C857C;
  --coral:   #F26342;

  /* --- type (BRAND.md §5) --- */
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:  'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

  /* --- legacy token aliases: repoint the old dark palette at the new one --- */
  --orange:        #F26342;
  --orange-lt:     #D8462A;
  --orange-glow:   transparent;
  --orange-border: #CEC8BC;
  --dark:   #F4F2ED;
  --dark-2: #F4F2ED;
  --dark-3: #F4F2ED;
  --dark-4: #CEC8BC;
  --dark-5: #E3DDD3;
  --border:   #CEC8BC;
  --border-2: #CEC8BC;
  --white: #1B1A19;
  --muted: #6C665F;
  --dim:   #8C857C;
  --sand:  #E9E5DD;
  --sand-2:#E3DDD3;
  --sand-3:#CEC8BC;
  --ink-2: #6C665F;
  /* --fh was the old display face. Point it at the serif so every existing
     heading rule inherits the wordmark's face; the small-label classes below
     are pinned back to the sans explicitly. */
  --fh: 'Source Serif 4', Georgia, serif;
  --fb: 'Source Sans 3', -apple-system, sans-serif;
  --r: 0px; --r-lg: 0px; --r-xl: 0px;
}

/* ── GROUND & BASE TYPE ─────────────────────────────────────────────────── */

html { background: var(--paper); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-variant-numeric: tabular-nums;      /* BRAND.md §5 rule 1 */
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, blockquote,
.hero h1, .section-head h2, .cta-inner h2, .step-text-col h3,
.page-hero-inner h1, .prop-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;                      /* BRAND.md §5 rule 2 */
}

p { color: var(--stone); }

/* Kill every decorative ground: gradients, glows, grid masks. §7 */
.hero-bg, .hero-grid, .page-hero-bg, .page-hero-grid,
.cta-glow, .error-bg, .error-grid { display: none !important; }

/* Kill lift-on-hover and accent shadows everywhere. §7 */
.btn-primary:hover, .prop-card:hover, .btn:hover, .gsheet-wrap {
  transform: none !important;
  box-shadow: none !important;
}

/* ── LOCKUP ─────────────────────────────────────────────────────────────── */
/* Locked ratios from BRAND.md §4. Everything derives from mark height (H). */

.lockup, .logo { --H: 24px; display: inline-flex; align-items: center; white-space: nowrap; }
.logo svg { display: block; flex: none; width: calc(var(--H) * .866); height: var(--H); }
.logo .wordmark {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1;
  font-size: calc(var(--H) * .627);
  margin-left: calc(var(--H) * .36);
  letter-spacing: .016em;
  transform: translateY(-.0155em);
  text-transform: none;
}
.lockup svg {
  display: block; flex: none;
  width: calc(var(--H) * .866);
  height: var(--H);
}
.lockup .wordmark {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1;
  font-size: calc(var(--H) * .627);        /* cap height 0.42H ÷ 0.670 */
  margin-left: calc(var(--H) * .36);       /* gap 0.36H — do not tighten */
  letter-spacing: .016em;
  transform: translateY(-.0155em);         /* centres the cap box */
  color: currentColor;
  text-transform: none;                    /* never all caps */
}

/* ── BUTTONS — ink blocks, square, no glow ──────────────────────────────── */

.btn {
  font-family: var(--sans);
  font-weight: 600;
  border-radius: 0;
  letter-spacing: .002em;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  border-radius: 0;
  font-size: 13.5px;
  padding: 11px 20px;
}
.btn-primary:hover { background: #000; color: var(--paper); }
.btn-primary-lg { font-size: 14.5px; padding: 13px 26px; border-radius: 0; }
.btn-ghost {
  background: none;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 0;
  font-size: 13.5px;
  padding: 10px 18px;
  font-weight: 600;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); background: var(--vellum); }

/* ── EYEBROWS / FIELD LABELS — small caps, tracked, no leading dash ─────── */

.eyebrow, .section-label, .step-eyebrow, .step-detail-label,
.cs-label, .coming-chip, .data-tag, .ug-data-label, .role-row-cat {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .145em;
  text-transform: uppercase;
  color: var(--stone);
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.eyebrow::before, .eyebrow-dk::before { display: none !important; content: none !important; }
.eyebrow { display: block; }
.eyebrow-dk { color: var(--stone); }

.pill {
  border-radius: 0;
  background: none;
  border: 0;
  border-left: 2px solid var(--coral);
  padding: 2px 0 2px 10px;
  color: var(--stone);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .145em;
}
.pill-dot { display: none; }

/* ── NAV — plain header on a hairline ───────────────────────────────────── */

nav {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  height: 64px;
  padding: 0 32px !important;
  background: var(--paper) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}
.nav-inner { max-width: 1120px; }
.logo { color: var(--ink); font-family: var(--serif); letter-spacing: 0; }
.nav-links { gap: 30px; }
.nav-links a {
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 400;
  color: var(--stone);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active { font-weight: 600; box-shadow: inset 0 -2px 0 var(--coral); padding-bottom: 4px; }
.nav-right { gap: 4px; }

.mobile-menu {
  top: 64px !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: none !important;
  background: var(--paper) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  border-bottom: 1px solid var(--rule) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 8px 32px 20px !important;
}
.mobile-menu a { color: var(--stone); border-radius: 0; font-size: 14.5px; }
.mobile-menu a:hover { background: var(--vellum); color: var(--ink); }
.mobile-menu .btn-primary { background: var(--ink); color: var(--paper); }

/* ── HERO ───────────────────────────────────────────────────────────────── */

.container { max-width: 1120px; }

.hero, .page-hero {
  display: block;              /* was a centring flex box */
  min-height: 0;
  background: var(--paper);
  padding: 92px 0 72px;
  border-bottom: 1px solid var(--rule);
}
.hero-inner, .page-hero-inner {
  text-align: left;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  animation: none;
}
.hero h1, .page-hero-inner h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.06;
  letter-spacing: -.024em;
  max-width: 19ch;
  margin: 14px 0 0;
  animation: none;
}
.hero h1 em, .page-hero-inner h1 em { font-style: normal; color: var(--stone); }
.hero-sub, .page-hero-inner > p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink-80);
  max-width: 58ch;
  margin: 20px 0 0;
  animation: none;
}
.hero-cta {
  justify-content: flex-start;
  gap: 9px;
  margin: 30px 0 0;
  animation: none;
}
.hero-badge, .hero-member { animation: none; }
.hero-member {
  justify-content: flex-start;
  gap: 12px;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
.hero-member-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: .145em;
  color: var(--stone);
}
/* the 101 Weston mark is white artwork — seat it on an ink plate */
.hero-member a { background: var(--ink); padding: 7px 12px; }
.hero-member img { height: 22px !important; }

/* Hero splits: argument on the left, evidence on the right. */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 72px;
  align-items: start;
}
.hero-split .hero-col { min-width: 0; }

/* ── THE SPECIMEN — a real ruled schedule, the thing we actually deliver ── */

.spec { margin: 6px 0 0; min-width: 0; }
.spec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
}
.spec-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: .145em;
  text-transform: uppercase;
  color: var(--stone);
}
.spec-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  letter-spacing: -.006em;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-variant-numeric: tabular-nums;
  table-layout: fixed;
}
.spec-table th {
  font-weight: 600;
  font-size: 8.5px;
  letter-spacing: .145em;
  text-transform: uppercase;
  color: var(--stone-2);
  text-align: left;
  padding: 10px 8px 8px 0;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.spec-table td {
  font-size: 13px;
  color: var(--ink-80);
  padding: 9px 8px 9px 0;
  border-bottom: 1px solid var(--rule-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spec-table tbody tr:last-child td { border-bottom: 1px solid var(--rule); }
.spec-table tfoot td {
  font-weight: 600;
  color: var(--ink);
  border-bottom: 0;
  border-top: 1px solid var(--ink);
  padding-top: 10px;
}
.spec-table td:first-child { color: var(--ink); font-weight: 600; width: 8%; }
.spec-table .r { text-align: right; padding-right: 0; }
.spec-source {
  font-family: var(--sans);
  font-size: 11px;
  color: var(--stone-2);
  margin-top: 10px;
  letter-spacing: .004em;
}

/* ── THE INDEX — the five steps, as a document contents list ────────────── */

.how-index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.how-index li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule-2);
}
.how-index li:last-child { border-bottom: 1px solid var(--rule); }
.how-index .n {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 13px;
  color: var(--stone-2);
  font-variant-numeric: tabular-nums;
  flex: none;
  width: 22px;
}
.how-index .t {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15.5px;
  color: var(--ink);
  flex: 1;
  letter-spacing: -.004em;
}
.how-index .k {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 8.5px;
  letter-spacing: .145em;
  text-transform: uppercase;
  color: var(--stone-2);
  flex: none;
}

/* ── TRUST STRIP ────────────────────────────────────────────────────────── */

.trust {
  background: var(--paper);
  border-top: 0;
  border-bottom: 1px solid var(--rule);
  padding: 26px 0 30px;
}
.trust-label {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 9.5px;
  letter-spacing: .145em;
  text-transform: uppercase;
  color: var(--stone);
}
/* The agency marks are white artwork on a dark plate — built for the old dark
   site. Invert them so they read as ink on paper. */
.trust-logos {
  mix-blend-mode: multiply;
  margin-top: 22px;
  gap: 72px;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.trust-logo { height: 26px; filter: invert(1) grayscale(1); opacity: .58; }
.trust-logo:hover { opacity: .58; }

/* ── SECTION HEADS ──────────────────────────────────────────────────────── */

.how-header { background: var(--paper); padding: 76px 0 0; }
.section-head { text-align: left; max-width: 1120px; margin: 0; padding: 0; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(24px, 3.2vw, 36px);
  letter-spacing: -.018em;
  line-height: 1.12;
  margin: 10px 0 12px;
  max-width: 24ch;
  color: var(--ink);
}
.section-head p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--stone);
  max-width: 56ch;
}
.how-header .section-head .eyebrow,
.props .section-head .eyebrow { justify-content: flex-start !important; }

/* ── STEP PANELS — ruled bands, alternating grounds ─────────────────────── */

.step-panel { padding: 64px 0; border-top: 1px solid var(--rule); }
.how-header + .step-panel { border-top: 0; padding-top: 46px; }
.step-panel-a { background: var(--paper); }
.step-panel-b { background: var(--vellum); border-bottom: 0; }
.step-cols { gap: 64px; }

.step-num-label { gap: 10px; margin-bottom: 16px; align-items: baseline; }
.step-n {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 15px;
  color: var(--coral);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.step-eyebrow { color: var(--stone); }
.step-divider { background: var(--rule); align-self: center; }

.step-text-col h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 25px);
  letter-spacing: -.012em;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--ink);
}
.step-text-col > p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.58;
  color: var(--ink-80);
  max-width: 46ch;
}
.step-text-col .step-detail {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.step-detail-label { color: var(--stone); margin-bottom: 8px; }
.step-detail p {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.55;
  color: var(--stone);
}

/* Coming-soon blocks — ruled, not carded */
.coming-card {
  border: 0;
  border-top: 1px solid var(--rule-2);
  border-radius: 0;
  padding: 14px 0 0;
  margin-top: 20px;
  gap: 14px;
}
.coming-card-icon {
  background: none !important;
  border-radius: 0;
  width: 22px; min-width: 22px; height: 22px;
  margin-top: 3px;
}
.coming-card-icon svg { width: 16px; height: 16px; stroke: var(--stone) !important; }
.coming-card h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: -.006em;
  margin-bottom: 4px;
}
.coming-card p { font-family: var(--serif); font-size: 13.5px; color: var(--stone); line-height: 1.55; }
.cs-label, .coming-chip {
  background: none !important;
  border: 0 !important;
  border-left: 2px solid var(--rule);
  border-radius: 0;
  padding: 1px 0 1px 8px;
  color: var(--stone);
  margin-bottom: 8px;
}
.coming-chip { border-left-color: var(--coral); }

.ams-logo-plate { border-radius: 0; border: 1px solid var(--rule); background: none; }
.ams-logo-plate span { font-family: var(--sans); color: var(--stone); font-weight: 600; }

/* ── PROPERTY TYPES — ruled cells, no cards ─────────────────────────────── */

.props {
  background: var(--paper);
  color: var(--ink);
  padding: 76px 0;
  border-top: 1px solid var(--rule);
}
.props .section-head h2 { color: var(--ink); }
.props .section-head p { color: var(--stone); }

.prop-grid-featured, .prop-grid-supporting {
  gap: 0;
  margin-top: 0;
  border-top: 1px solid var(--rule);
}
.prop-grid-featured { margin-top: 40px; }
.prop-card {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-left: 1px solid var(--rule-2);
  border-radius: 0;
  padding: 24px 26px 26px;
  gap: 10px;
}
.prop-grid-featured .prop-card:first-child,
.prop-grid-supporting .prop-card:nth-child(3n+1) { border-left: 0; padding-left: 0; }
.prop-card:hover { border-color: var(--rule); border-left-color: var(--rule-2); }
.prop-grid-supporting .prop-card:nth-child(3n+1):hover { border-left: 0; }
.prop-card-sm { padding: 20px 22px; }
.prop-card-more {
  background: none;
  border: 0;
  border-left: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule);
  justify-content: center;
}
.prop-card-more h3 {
  color: var(--stone-2) !important;
  font-family: var(--sans) !important;
  font-weight: 400 !important;
  font-size: 13px !important;
}
.prop-ico, .prop-ico-lg {
  background: none;
  border-radius: 0;
  width: auto; height: auto; min-width: 0; min-height: 0;
  justify-content: flex-start;
  margin-bottom: 2px;
}
.prop-ico svg { width: 22px; height: 22px; stroke: var(--coral); }
.prop-ico-lg svg { width: 26px; height: 26px; }
.prop-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -.008em;
  color: var(--ink);
}
.prop-card-featured h3 { font-size: 19px; }
.prop-card p { font-family: var(--serif); font-size: 13.5px; color: var(--stone); line-height: 1.56; }
/* coral budget: only the two featured icons carry it */
.prop-grid-supporting .prop-ico svg { stroke: var(--stone); }

/* ── TESTIMONIAL ────────────────────────────────────────────────────────── */

.testimonial {
  background: var(--vellum);
  border-top: 1px solid var(--rule);
  border-bottom: 0;
  padding: 72px 0;
  text-align: left;
}
.testimonial .container { max-width: 1120px; }
.testimonial blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 2.6vw, 27px);
  line-height: 1.34;
  letter-spacing: -.012em;
  color: var(--ink);
  max-width: 34ch;
  margin: 0 0 28px;
}
.testimonial blockquote::before,
.testimonial blockquote::after { color: var(--stone-2); }
.t-attr { justify-content: flex-start; gap: 12px; padding-top: 20px; border-top: 1px solid var(--rule); }
.t-name { font-family: var(--sans); font-size: 13.5px; font-weight: 600; color: var(--ink); }
.t-role {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .145em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 4px;
}
.t-av { border-radius: 0; background: var(--ink); border: 0; color: var(--paper); font-family: var(--serif); }

/* ── CTA — the ink band at the foot (BRAND.md §7) ───────────────────────── */

.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: 78px 0;
  text-align: left;
  border: 0;
}
.cta-inner { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.cta-inner h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(26px, 3.8vw, 40px);
  letter-spacing: -.02em;
  color: var(--paper);
  margin: 0 0 12px;
}
.cta-inner p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(244,242,237,.70);
  max-width: 52ch;
  margin-bottom: 28px;
}
.cta-band .btn-primary { background: var(--coral); color: #fff; }
.cta-band .btn-primary:hover { background: #D8462A; color: #fff; }

/* ── FOOTER — continues the ink band ────────────────────────────────────── */

footer {
  background: var(--ink);
  border-top: 1px solid rgba(244,242,237,.14);
  padding: 26px 0;
  color: rgba(244,242,237,.62);
}
footer .container { max-width: 1120px; }
footer .logo { color: var(--paper); }
.footer-copy {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .145em;
  text-transform: uppercase;
  color: rgba(244,242,237,.44);
}
.footer-links a { font-family: var(--sans); font-size: 13px; color: rgba(244,242,237,.62); }
.footer-links a:hover { color: var(--paper); }
.footer-inner { color: rgba(244,242,237,.62); }
.weston-tag {
  font-family: var(--sans);
  border-radius: 0;
  border: 1px solid rgba(244,242,237,.22);
  color: rgba(244,242,237,.55);
  letter-spacing: .12em;
  font-size: 9.5px;
  text-transform: uppercase;
}

/* ── SPREADSHEET MOCKUP (step 1) — light document ───────────────────────── */

.gsheet-wrap {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--rule);
  background: var(--stock);
  font-family: var(--sans);
}
.gsheet-chrome { background: var(--vellum); border-bottom: 1px solid var(--rule); }
.gsheet-filename { color: var(--stone); font-family: var(--sans); }
.gsheet-table thead tr th {
  background: var(--vellum);
  border-right: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule);
  color: var(--stone-2);
}
.gsheet-rownum {
  background: var(--vellum);
  border-right: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
  color: var(--stone-2);
}
.gsheet-cell {
  background: var(--stock);
  color: var(--stone);
  border-right: 1px solid var(--rule-2);
  border-bottom: 1px solid var(--rule-2);
}
.gsheet-cell-header, .gsheet-header-row td { background: var(--stage); color: var(--ink); font-weight: 600; }
.gsheet-row-alt td.gsheet-cell { background: #F7F5F1; }
.gsheet-row-alt td.gsheet-rownum { background: var(--vellum); }
.gsheet-fade-overlay {
  background: linear-gradient(to bottom, rgba(250,250,249,0) 0%, rgba(250,250,249,.98) 100%);
}

/* ── LEGAL / CONTENT PAGES ──────────────────────────────────────────────── */

.legal-content, .content-block, .careers-intro, .weston-text, .investor-text {
  font-family: var(--serif);
  color: var(--ink-80);
}
.legal-content h2, .legal-content h3, .content-block h2, .content-block h3 {
  font-family: var(--serif);
  color: var(--ink);
}
.legal-updated {
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .145em;
  text-transform: uppercase;
  color: var(--stone);
}
.section { border-color: var(--rule); }
.weston-card, .role-table, .data-card, .investor-row, .role-row {
  background: none;
  border-radius: 0;
  border-color: var(--rule);
}
.role-table-header { background: var(--vellum); }
.data-card-icon, .step-circle { border-radius: 0; }
.role-row-title, .weston-badge-name { font-family: var(--serif); color: var(--ink); }

/* ── API PAGE MOCKUP ────────────────────────────────────────────────────── */

.ug-wrap, .ug-panel, .ug-plat-card, .ug-form-input, .ug-badge, .scope-inner {
  border-radius: 0 !important;
  box-shadow: none !important;
  border-color: var(--rule) !important;
}
.ug-chrome, .ug-plat-nav, .ug-ticket-header { background: var(--vellum); }
.ug-form-input { background: var(--stock) !important; color: var(--ink) !important; font-weight: 400; }
.ug-form-input.filled { background: var(--stock) !important; border-color: #1F7A4D !important; }
.ug-form-check { background: none !important; border: 1px solid #1F7A4D; border-radius: 0 !important; }
.ug-form-check svg { stroke: #1F7A4D !important; }
.ug-form-progress span { border-radius: 0 !important; }
.ug-body, .ug-panel, .ug-wrap { background: var(--stock); }
.ug-title, .ug-ticket-title, .ug-plat-card-title { font-family: var(--serif); color: var(--ink); }
.ug-plat-stat-val { font-family: var(--serif); font-variant-numeric: tabular-nums; color: var(--ink); }

/* Legal pages nest the hero inside .container — don't double the gutter. */
.container .page-hero-inner, .container .hero-inner { padding: 0; max-width: none; }

/* Bullets become hairline dashes, not a field of coral dots. */
.legal-content ul li::before {
  background: var(--stone-2) !important;
  border-radius: 0 !important;
  width: 6px !important;
  height: 1px !important;
  top: 12px !important;
}
.legal-content a { color: var(--ink); text-decoration-color: var(--rule); }
.legal-content a:hover { color: var(--coral); }

/* ── ERROR PAGE ─────────────────────────────────────────────────────────── */

.error-page { background: var(--paper); }
.error-page .error-code, .error-code {
  font-family: var(--serif);
  color: var(--rule);
  font-variant-numeric: tabular-nums;
}

/* ── RHYTHM & PROPORTION ────────────────────────────────────────────────── */
/* The hero now carries a specimen, so the display steps down and the bands
   open up. Asymmetric step columns stop every section reading identically. */

.hero { padding: 96px 0 72px; }
.hero h1 {
  font-size: clamp(32px, 3.9vw, 48px);
  max-width: 16ch;
  letter-spacing: -.018em;
  line-height: 1.08;
}
.hero-sub { font-size: 16px; max-width: 42ch; margin-top: 18px; }
.hero-cta { margin-top: 26px; }
.hero-member { margin-top: 56px; }

.how-header { padding: 88px 0 0; }
.how-header .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: 72px;
  align-items: end;
}
.how-header .section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  max-width: 19ch;
  hyphens: none;
}

.step-panel { padding: 76px 0; }
.how-header + .step-panel { padding-top: 60px; }
.step-cols { grid-template-columns: 5fr 6fr; gap: 72px; }
.step-cols.flip { grid-template-columns: 6fr 5fr; }

.props { padding: 88px 0; }

/* Pull-quote with the attribution in a field-label gutter. */
.testimonial { padding: 88px 0; }
.testimonial .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .42fr);
  gap: 64px;
  align-items: start;
}
.testimonial blockquote {
  grid-column: 1;
  max-width: none;
  font-size: clamp(23px, 3.1vw, 33px);
  line-height: 1.3;
  margin: 0;
}
.t-attr {
  grid-column: 2;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

/* The ink band lands the ask on one line, with the action opposite it. */
.cta-band { padding: 96px 0 88px; }
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 64px;
  align-items: end;
}
.cta-inner h2 { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.cta-inner p  { grid-column: 1; grid-row: 2; margin-bottom: 0; }
.cta-band .btn-primary-lg { grid-column: 2; grid-row: 2; justify-self: end; }

@media (max-width: 860px) {
  .testimonial .container, .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .testimonial blockquote, .t-attr, .cta-inner h2, .cta-inner p,
  .cta-band .btn-primary-lg { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* The specimen sheds columns before it sheds legibility. */
@media (max-width: 760px) {
  .spec-table { table-layout: auto; }
  .spec-table th:nth-child(3), .spec-table td:nth-child(3) { display: none; }
  .spec-table td { font-size: 12px; padding: 8px 6px 8px 0; }
  .spec-table th { font-size: 8px; padding-right: 6px; }
  .spec-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .spec-name { font-size: 15px; }
}
@media (max-width: 430px) {
  .spec-table th:nth-child(6), .spec-table td:nth-child(6) { display: none; }
}

@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; gap: 48px; }
  .how-header .container { grid-template-columns: 1fr; gap: 40px; }
  .step-cols, .step-cols.flip { grid-template-columns: 1fr; }
}

/* ── SANS PINS ──────────────────────────────────────────────────────────── */
/* Everything that is scanned rather than read stays in Source Sans 3. */

.btn, .btn-primary, .btn-ghost, .btn-view, .btn-apply-modal,
.nav-links a, .mobile-menu a, .footer-links a, .footer-copy,
.eyebrow, .section-label, .step-eyebrow, .step-detail-label,
.cs-label, .coming-chip, .pill, .data-tag, .weston-tag, .weston-badge-tag,
.trust-label, .hero-member-label, .legal-updated,
.t-name, .t-role, .role-row-cat, .role-modal-tag,
.gsheet-table, .gsheet-table td, .gsheet-table th, .gsheet-filename,
.ug-data-label, .ug-form-label, .ug-form-sub, .ug-badge,
.ug-plat-stat-label, .ug-ticket-meta, .ug-ticket-id, .investor-note,
.ams-logo-plate span, .prop-card-more h3 {
  font-family: var(--sans);
}

/* Small ruled controls */
.btn-view, .btn-apply-modal {
  border-radius: 0;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: none;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .01em;
}
.btn-view:hover, .btn-apply-modal:hover { border-color: var(--ink); background: var(--vellum); }

/* Coral budget: the API capability icons were six accents in one view. */
.data-card-icon svg { stroke: var(--stone) !important; color: var(--stone) !important; }
.data-card-icon { background: none !important; }

/* The 101 Weston mark is white artwork — it needs an ink plate wherever it sits
   on paper. */
.weston-badge-block, .weston-card img, .weston-badge-block img { background: var(--ink); }
.weston-badge-block { padding: 14px 16px; display: inline-block; }
.weston-badge-name { color: var(--paper); }
.weston-badge-tag { color: rgba(244,242,237,.55); border-color: rgba(244,242,237,.28); }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */

@media (max-width: 860px) {
  nav { padding: 0 22px !important; }
  .hero-inner, .page-hero-inner, .cta-inner { padding: 0 22px; }
  .prop-grid-featured .prop-card, .prop-grid-supporting .prop-card {
    border-left: 0; padding-left: 0;
  }
}
@media (max-width: 560px) {
  .prop-grid-supporting .prop-card:nth-child(odd) { border-left: 0; padding-left: 0; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ART DIRECTION PASS
   Approved 30 Jul 2026. Photography, grain and depth, applied over the
   existing identity. Copy unchanged. No gradients anywhere — every edge is
   hard and the photographs carry the contrast.
   ══════════════════════════════════════════════════════════════════════════ */

:root { --brown: #A8642F; }

/* --- Paper grain. The cheapest thing that separates crafted from default,
       and on-brand for a business whose vernacular is documents. --- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 400;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)' opacity='.3'/%3E%3C/svg%3E");
}

/* --- Hero: photograph opposite the claim ------------------------------- */

.hero { padding: 0; border-bottom: 1px solid var(--rule); }
.hero-inner { max-width: none; padding: 0; }
.hero-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  gap: 0;
  align-items: stretch;
  max-width: none;
}
.hero-split .hero-col {
  padding: 74px 46px 82px;
  max-width: 720px;
  margin-left: auto;
  width: 100%;
}
.hero-art { margin: 0; position: relative; overflow: hidden; background: #2A1D14;
  border-left: 1px solid var(--rule); }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* The second clause carries the promise — give it the warm accent. */
.hero h1 em { color: var(--brown); }
.hero h1 { max-width: 14ch; }
.hero-sub { max-width: 42ch; }
.hero-member {
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}
/* the accelerator plate was the loudest object on the first screen */
.hero-member a { background: none; padding: 0; }
.hero-member img { height: 20px !important; filter: invert(1) grayscale(1); opacity: .75; }

/* --- Close: the ask on a photograph ------------------------------------ */

.cta-band { position: relative; overflow: hidden; background: #191512; padding: 104px 0 108px; }
.cta-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .92; z-index: 0;
}
.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 { color: #FBFAF7; }
.cta-inner p { color: rgba(244,242,237,.78); }
.cta-band .btn-primary { background: var(--coral); color: var(--ink); }
.cta-band .btn-primary:hover { background: #FF7A55; color: var(--ink); }
.cta-band .btn-primary svg { stroke: var(--ink); }

/* --- Depth. Objects with weight, not boxes with borders. --------------- */

.gsheet-wrap, .step-graphic > svg {
  box-shadow: 0 26px 44px -20px rgba(60, 45, 30, .30), 0 3px 9px rgba(60, 45, 30, .08);
}
.gsheet-wrap { border-color: var(--rule); }

/* --- Section rhythm ---------------------------------------------------- */

.how-header { padding-top: 96px; }
.step-panel { padding: 84px 0; }
.props, .testimonial { padding: 96px 0; }

@media (max-width: 980px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-split .hero-col { padding: 56px 22px 40px; max-width: none; }
  .hero-art { height: 300px; border-left: 0; border-top: 1px solid var(--rule); }
  .cta-band { padding: 76px 0 80px; }
}

/* Align the hero column with the nav gutter, and put the member line back
   inside the page container instead of bleeding to the viewport edge. */
.hero-split .hero-col {
  padding-left: max(32px, calc((100vw - 1120px) / 2));
  padding-right: 56px;
  max-width: none;
  margin-left: 0;
}
.hero-inner > .hero-member {
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 32px 34px;
  border-top: 0;
}
.hero-inner > .hero-member { margin-top: 0; }

/* ── REVISIONS ─────────────────────────────────────────────────────────── */

/* Shadows off — the artwork sits flat on the paper again. */
.gsheet-wrap, .step-graphic > svg, .step-graphic svg { box-shadow: none; }

/* Step 3: the hazard card sits on a photograph. */
.art-plate { position: relative; width: 100%; max-width: 460px; padding: 30px 26px; overflow: hidden; }
.art-plate > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.art-plate > svg { position: relative; z-index: 2; max-width: 100%;
  filter: drop-shadow(0 18px 30px rgba(30,22,16,.34)); }

/* Property updates — the detail block earns emphasis rather than a hairline. */
.step-text-col .step-detail {
  border-top: 0;
  border-left: 3px solid var(--brown);
  background: var(--stock);
  padding: 18px 20px 19px;
  margin-top: 28px;
}
.step-panel-b .step-text-col .step-detail { background: #F3EFE7; }
.step-detail-label { color: var(--brown); }
.step-detail p { color: var(--ink-80, #3A3733); }

/* Coming-soon chip — a real chip, in the brand's own materials. */
.cs-label, .coming-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--vellum) !important;
  border: 1px solid var(--rule) !important;
  border-left: 1px solid var(--rule) !important;
  border-radius: 0;
  padding: 4px 10px 4px 8px;
  color: var(--stone);
  font-size: 10px;
  letter-spacing: .14em;
}
.cs-label::before, .coming-chip::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--brown);
  flex: none;
}

/* ── COMPANY PAGE ──────────────────────────────────────────────────────── */

.page-hero { position: relative; overflow: hidden; background: #1B1613; }
.page-hero-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .46; z-index: 0;
}
.page-hero .page-hero-inner { position: relative; z-index: 2; padding: 88px 32px 96px; }
.page-hero .page-hero-inner h1 { color: #FBFAF7; }
.page-hero .page-hero-inner h1 em { color: #D9A98C; }
.page-hero .page-hero-inner > p { color: rgba(244,242,237,.82); }
.page-hero .eyebrow { color: rgba(244,242,237,.62); }

/* The 101 Weston mark is white artwork — invert it onto paper rather than
   sitting it on a black plate. */
.weston-badge-block { background: none !important; padding: 0 !important; }
.weston-badge-block img { filter: invert(1) grayscale(1); opacity: .82; }
.weston-badge-name { color: var(--ink) !important; }
.weston-badge-tag { color: var(--stone) !important; border-color: var(--rule) !important; }

/* ── STEP 3 — full-height photograph, card floating on it ──────────────── */

.step-panel-photo { padding: 0; position: relative; overflow: hidden; }
.step-panel-photo .container { max-width: none; padding: 0; }
.step-panel-photo .step-cols {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 0;
  align-items: stretch;
  min-height: 560px;
}
.step-panel-photo .step-text-col {
  justify-content: center;
  padding: 84px 56px 84px max(32px, calc((100vw - 1120px) / 2));
}
/* the art plate now fills its half and bleeds to the edge */
.step-panel-photo .step-graphic { display: block; padding: 0; }
.step-panel-photo .art-plate {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 51%;
  max-width: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--rule);
}
.step-panel-photo .art-plate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.step-panel-photo .art-plate > svg {
  position: relative;
  z-index: 2;
  width: 86%;
  max-width: 460px;
  filter: drop-shadow(0 22px 40px rgba(25, 30, 20, .40));
}

@media (max-width: 980px) {
  .step-panel-photo .step-cols { grid-template-columns: 1fr; min-height: 0; }
  .step-panel-photo .step-text-col { padding: 56px 22px 40px; order: 0; }
  .step-panel-photo .art-plate {
    position: relative; width: 100%; height: 380px;
    border-left: 0; border-top: 1px solid var(--rule); order: 1;
  }
}

/* Tone the photograph down and let it dissolve into the paper rather than
   butting against it — left edge on desktop, bottom edge on mobile. */
.step-panel-photo .art-plate {
  border-left: 0;
  background: none;
  --fade: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.10) 14%, rgba(0,0,0,.42) 28%, rgba(0,0,0,.80) 44%, #000 58%);
}
.step-panel-photo .art-plate > img {
  filter: saturate(.38) brightness(.90) contrast(1.0) sepia(.26);
  opacity: .80;
  -webkit-mask-image: var(--fade);
  mask-image: var(--fade);
}
/* warm tint, carrying the same fade so it never shows as a block */
.step-panel-photo .art-plate::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #4E3320;
  opacity: .34;
  mix-blend-mode: multiply;
  -webkit-mask-image: var(--fade);
  mask-image: var(--fade);
}

@media (max-width: 980px) {
  .step-panel-photo .art-plate {
    border-top: 0;
    --fade: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.10) 12%, rgba(0,0,0,.44) 26%, rgba(0,0,0,.82) 42%, #000 56%);
  }
}

/* Mobile: the claim before the evidence, in every step. */
@media (max-width: 980px) {
  .step-cols .step-text-col { order: 0; }
  .step-cols .step-graphic, .step-cols .step-graphic.top-align { order: 1; }
}
