/* =========================================================
   SALUTEM STAFFING — Editorial Design System v2
   Ink · Bone · Amber · Clay
   Instrument Serif (italic display) + Inter Tight + JetBrains Mono
   ========================================================= */

:root {
  /* Brand */
  --ink: #0F1419;
  --ink-2: #1B2329;
  --ink-3: #2A333A;
  --bone: #F4EFE6;
  --bone-2: #EBE3D2;
  --bone-3: #E2D7C0;
  --paper: #FFFFFF;

  --amber: #E8B547;
  --amber-deep: #C99431;
  --amber-soft: #F4DA9D;

  --clay: #C25B3F;
  --clay-deep: #A04830;

  --mist: #94A4AE;
  --mist-2: #C3CDD3;

  --line: rgba(15, 20, 25, 0.10);
  --line-2: rgba(15, 20, 25, 0.18);
  --line-on-dark: rgba(244, 239, 230, 0.14);

  /* Typography */
  --display: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Layout */
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
  --rad-sm: 6px;
  --rad: 14px;
  --rad-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
*::selection { background: var(--ink); color: var(--amber); }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 17px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-feature-settings: "ss01", "cv11", "tnum";
  font-variation-settings: "wght" 420;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; }

/* ================== Typography ================== */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-variation-settings: "wght" 600;
  letter-spacing: 0;
  line-height: 1.3;
}

em, .italic { font-style: italic; }

p {
  margin: 0 0 1em;
  color: var(--ink-2);
  font-size: 1.02rem;
  line-height: 1.65;
}

p.lead {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink);
  font-variation-settings: "wght" 380;
}

.serif { font-family: var(--display); }
.mono {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 28px;
  font-weight: 500;
}
.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--clay);
}
.kicker.on-dark { color: var(--bone-2); }
.kicker.on-dark::before { background: var(--amber); }

.tnum { font-feature-settings: "tnum" 1; }

/* ================== Layout ================== */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }

.bg-bone { background: var(--bone); }
.bg-bone-2 { background: var(--bone-2); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--bone); }
.bg-ink-2 { background: var(--ink-2); color: var(--bone); }

.bg-ink h1, .bg-ink h2, .bg-ink h3,
.bg-ink-2 h1, .bg-ink-2 h2, .bg-ink-2 h3 { color: var(--bone); }
.bg-ink p, .bg-ink-2 p { color: var(--mist-2); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.rule-strong { border-top: 1px solid var(--line-2); }
.rule-on-dark { border-top: 1px solid var(--line-on-dark); }

/* ================== Navigation ================== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 239, 230, 0.78);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 40px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  color: var(--ink);
  transition: opacity 0.2s ease;
}
.brand:hover { opacity: 0.82; }

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  overflow: visible;
}

@media (max-width: 1040px) {
  .brand-logo { height: 46px; }
}
@media (max-width: 600px) {
  .brand-logo { height: 42px; }
}
@media (max-width: 380px) {
  .brand-logo { height: 38px; }
}

/* Footer brand inherits bone color so wordmark stays readable on dark */
.footer .brand { color: var(--bone); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.92rem;
  font-variation-settings: "wght" 480;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-list a:hover { color: var(--clay); }
.nav-list a[aria-current="page"] { color: var(--clay); }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: var(--clay);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--bone);
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

@media (max-width: 1040px) {
  /* Top bar wraps so menu + CTA can drop below brand + hamburger */
  .nav {
    padding: 14px 0;
    gap: 16px;
    flex-wrap: wrap;
    row-gap: 0;
  }

  /* Hide desktop nav + CTA, show hamburger */
  .nav-list { display: none !important; }
  .nav-cta { display: none !important; }
  .nav-toggle { display: inline-flex !important; }

  /* Collapse the <nav> wrapper so it takes no row space when menu is closed */
  .nav > nav[aria-label="Primary"] {
    flex: 0 0 0;
    width: 0;
    height: 0;
    overflow: hidden;
  }

  /* Open state: full-width drop-down panel with solid background */
  .nav-mobile.open {
    background: var(--bone);
    box-shadow: 0 24px 48px -16px rgba(15, 20, 25, 0.18);
  }
  /* Force the nav wrapper to drop to its own full-width row */
  .nav-mobile.open .nav > nav[aria-label="Primary"] {
    flex: 0 0 100%;
    width: 100%;
    height: auto;
    overflow: visible;
    order: 2;
  }
  .nav-mobile.open .nav-list {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 12px;
    width: 100%;
    list-style: none;
    margin: 0;
  }
  .nav-mobile.open .nav-list li {
    border-top: 1px solid var(--line);
    width: 100%;
  }
  .nav-mobile.open .nav-list a {
    display: block;
    padding: 16px 4px;
    font-family: var(--display);
    font-size: 1.5rem;
    line-height: 1;
    letter-spacing: -0.01em;
    font-weight: 400;
    color: var(--ink);
  }
  .nav-mobile.open .nav-list a[aria-current="page"] {
    color: var(--clay);
  }
  .nav-mobile.open .nav-list a[aria-current="page"]::after {
    display: none;
  }
  .nav-mobile.open .nav-cta {
    display: inline-flex !important;
    flex: 0 0 100%;
    width: 100%;
    justify-content: center;
    order: 3;
    margin: 4px 0 14px;
  }

  /* Hamburger animates to X when open */
  .nav-mobile.open .nav-toggle {
    background: var(--ink);
    color: var(--bone);
    border-color: var(--ink);
  }
}

/* ================== Buttons ================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-variation-settings: "wght" 540;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform 0.3s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--clay); }

.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-deep); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.btn-on-dark { background: var(--amber); color: var(--ink); }
.btn-on-dark:hover { background: var(--bone); }

.btn-ghost-dark {
  background: transparent;
  color: var(--bone);
  border-color: var(--line-on-dark);
}
.btn-ghost-dark:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.arrow::after {
  content: "→";
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow::after,
.arrow:hover::after { transform: translateX(4px); }

/* ================== Hero ================== */
.hero {
  padding: clamp(56px, 8vw, 88px) 0 clamp(72px, 10vw, 140px);
  position: relative;
  overflow: hidden;
}

.hero-meta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 36px;
}

.hero-meta-row span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta-row .sep { color: var(--mist); }

.hero h1 {
  max-width: 14ch;
}

.hero h1 .ital {
  font-style: italic;
  color: var(--clay);
}

.hero-sub {
  margin-top: 28px;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.5;
  max-width: 580px;
  color: var(--ink);
  font-variation-settings: "wght" 400;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero-side {
  border-left: 1px solid var(--line-2);
  padding-left: 28px;
}

.hero-side .label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.hero-side .value {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 0.98;
  margin-bottom: 4px;
  font-feature-settings: "tnum";
}

.hero-side .desc {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 28ch;
}

.hero-side .desc:last-child { margin-bottom: 0; }

/* ================== Marquee Strip ================== */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bone);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
}
.bg-ink .marquee, .marquee.on-dark {
  background: var(--ink);
  border-color: var(--line-on-dark);
}

.marquee-track {
  display: inline-flex;
  gap: 56px;
  align-items: center;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  color: var(--ink);
  animation: marquee 40s linear infinite;
}

.marquee.on-dark .marquee-track { color: var(--bone); }
.marquee-track .star { color: var(--clay); font-style: normal; font-weight: 400; }
.marquee.on-dark .marquee-track .star { color: var(--amber); }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ================== Section Headings ================== */
.section-head {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}

.section-head .num {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--clay);
  font-style: italic;
}

.section-head h2 { margin: 0; }
.section-head .desc {
  margin-top: 18px;
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 60ch;
}

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; }
}

/* ================== Bento / Cards ================== */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 36px 32px;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
}
.tile:hover { border-color: var(--line-2); }

.tile.dark {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.tile.dark h3, .tile.dark h2 { color: var(--bone); }
.tile.dark p { color: var(--mist-2); }

.tile.amber { background: var(--amber); border-color: var(--amber); }
.tile.amber p { color: var(--ink-2); }

.tile.bone { background: var(--bone-2); border-color: var(--bone-2); }

.tile-num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--mist);
}
.tile.dark .tile-num { color: var(--mist); }
.tile.amber .tile-num { color: var(--ink-2); }

.tile h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-bottom: 14px;
}
.tile p { margin: 0; font-size: 0.97rem; }
.tile .stat-big {
  font-family: var(--display);
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  font-feature-settings: "tnum";
}

/* spans */
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-9 { grid-column: span 9; }
.span-12 { grid-column: span 12; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .span-3, .span-4 { grid-column: span 3; }
  .span-5, .span-6, .span-7, .span-8, .span-9 { grid-column: span 6; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .span-3, .span-4, .span-5, .span-6, .span-7, .span-8, .span-9, .span-12 { grid-column: span 1; }
}

/* ================== Editorial Split ================== */
.edit-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.edit-split.reverse > :first-child { order: 2; }

@media (max-width: 900px) {
  .edit-split, .edit-split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .edit-split.reverse > :first-child { order: 0; }
}

.edit-pull {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.2;
  font-style: italic;
  color: var(--ink);
  border-left: 2px solid var(--clay);
  padding: 12px 0 12px 28px;
  margin: 28px 0;
}

/* ================== Numbered List ================== */
.num-list { list-style: none; padding: 0; margin: 0; }

.num-list > li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.num-list > li:last-child { border-bottom: 1px solid var(--line); }

.num-list .n {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--clay);
  padding-top: 8px;
}

.num-list h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  margin: 0 0 10px;
}

.num-list p { margin: 0; max-width: 60ch; }

/* ================== Page Header (inner pages) ================== */
.page-head {
  padding: clamp(80px, 11vw, 140px) 0 clamp(50px, 6vw, 80px);
  background: var(--bone);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.page-head h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  max-width: 18ch;
}

.page-head h1 .ital { font-style: italic; color: var(--clay); }

.page-head-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: end;
}

@media (max-width: 880px) {
  .page-head-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
}

.page-head-meta {
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 42ch;
}

.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 28px;
}
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--clay); }
.crumbs .sep { color: var(--mist); }

/* ================== Stats Row ================== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-on-dark);
  border-bottom: 1px solid var(--line-on-dark);
}

.stats .cell {
  padding: 48px 32px;
  border-right: 1px solid var(--line-on-dark);
}
.stats .cell:last-child { border-right: 0; }

.stats .num {
  font-family: var(--display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  line-height: 0.98;
  color: var(--amber);
  font-feature-settings: "tnum";
  margin-bottom: 14px;
}

.stats .label {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist-2);
}

@media (max-width: 800px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats .cell:nth-child(2) { border-right: 0; }
  .stats .cell:nth-child(odd):not(:first-child),
  .stats .cell:nth-child(even):not(:nth-child(2)) {
    border-top: 1px solid var(--line-on-dark);
  }
}

/* light variant */
.stats.light { border-color: var(--line); }
.stats.light .cell { border-color: var(--line); }
.stats.light .num { color: var(--ink); }
.stats.light .label { color: var(--ink-2); }

/* ================== Role / Service Cards ================== */
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .role-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .role-grid { grid-template-columns: 1fr; } }

.role-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
  position: relative;
  min-height: 320px;
}

.role-card:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bone);
}
.role-card:hover h3, .role-card:hover .role-tag, .role-card:hover .arrow-link { color: var(--bone); }
.role-card:hover p { color: var(--mist-2); }
.role-card:hover .role-meta { color: var(--mist); border-color: var(--line-on-dark); }

.role-tag {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 500;
  transition: color 0.3s;
}
.role-card:hover .role-tag { color: var(--amber); }

.role-card h3 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  margin: 0;
}

.role-card p {
  font-size: 0.97rem;
  margin: 0;
  flex-grow: 1;
}

.role-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.3s, border-color 0.3s;
}

.arrow-link { transition: color 0.3s, transform 0.3s var(--ease); }
.role-card:hover .arrow-link { transform: translateX(4px); }

/* ================== Editorial Quote ================== */
.editorial-quote {
  padding: clamp(60px, 8vw, 100px) 0;
  background: var(--ink);
  color: var(--bone);
  position: relative;
}

.editorial-quote .quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.015em;
  max-width: 24ch;
  color: var(--bone);
}

.editorial-quote .quote .accent { color: var(--amber); }

.editorial-quote .by {
  margin-top: 36px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mist-2);
}

/* ================== Logo Cloud / Trust ================== */
.cloud-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cloud-row .label {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.cloud-row .item {
  font-family: var(--display);
  font-style: italic;
  color: var(--ink-2);
  font-size: 1.15rem;
}

/* ================== Pricing-style Tiers ================== */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 900px) { .tier-grid { grid-template-columns: 1fr; } }

.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
}

.tier.featured {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.tier.featured h3, .tier.featured h4 { color: var(--bone); }
.tier.featured p { color: var(--mist-2); }
.tier.featured .price { color: var(--amber); }

.tier .role-tag { margin-bottom: 8px; }

.tier h3 {
  font-size: 1.6rem;
  margin: 0 0 18px;
}

.tier .price {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1;
  margin-bottom: 4px;
}

.tier .price-period {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 26px;
}
.tier.featured .price-period { color: var(--mist-2); }

.tier ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex-grow: 1;
}
.tier ul li {
  padding: 10px 0;
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
}
.tier.featured ul li { border-color: var(--line-on-dark); color: var(--bone); }
.tier ul li::before {
  content: "→";
  color: var(--clay);
  font-weight: 600;
}
.tier.featured ul li::before { color: var(--amber); }

/* ================== FAQ ================== */
.faq {
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--line-2);
}

.faq-row { border-bottom: 1px solid var(--line-2); }

.faq-q {
  width: 100%;
  text-align: left;
  padding: 30px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.faq-q .icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 1.1rem;
  color: var(--ink);
  transition: transform 0.3s var(--ease), color 0.3s;
}
.faq-row.open .faq-q .icon { transform: rotate(45deg); color: var(--clay); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-row.open .faq-a { max-height: 800px; }

.faq-a-inner {
  padding: 0 0 30px;
  max-width: 76ch;
  font-size: 1rem;
  color: var(--ink-2);
  line-height: 1.62;
}

/* ================== Forms ================== */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: clamp(28px, 4vw, 48px);
}

.field { margin-bottom: 22px; }

.field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 12px 0;
  border-radius: 0;
  transition: border-color 0.2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clay);
}
.field textarea { resize: vertical; min-height: 110px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

/* ================== CTA Banner ================== */
.cta {
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--rad-lg);
  padding: clamp(48px, 7vw, 90px);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 181, 71, 0.32), transparent 70%);
  bottom: -100px;
  right: -100px;
  pointer-events: none;
}

.cta-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: end;
}
@media (max-width: 800px) { .cta-grid { grid-template-columns: 1fr; align-items: start; } }

.cta h2 { color: var(--bone); margin: 0; max-width: 16ch; }
.cta p { color: var(--mist-2); }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ================== Footer ================== */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(72px, 9vw, 110px) 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-top.six-col { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }
@media (max-width: 1100px) {
  .footer-top, .footer-top.six-col { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}
@media (max-width: 720px) {
  .footer-top, .footer-top.six-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
  /* Brand block spans full width on mobile so columns line up cleanly underneath */
  .footer-top > div:first-child {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }
}
@media (max-width: 420px) {
  .footer-top, .footer-top.six-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 18px;
  }
  .footer h5 {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
  }
  .footer ul a { font-size: 0.88rem; }
  .footer ul li { margin-bottom: 8px; }
}

.footer .brand { color: var(--bone); }
.footer .brand-meta { color: var(--mist-2); }

.footer-tag {
  margin-top: 16px;
  color: var(--mist-2);
  font-size: 0.95rem;
  max-width: 30ch;
}

.footer h5 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 22px;
  font-weight: 500;
}

.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: var(--mist-2);
  font-size: 0.94rem;
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--bone); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  font-size: 0.82rem;
  color: var(--mist);
  font-family: var(--mono);
  letter-spacing: 0.06em;
}

.footer-bottom .legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}
.footer-bottom .legal a { color: var(--mist); }
.footer-bottom .legal a:hover { color: var(--bone); }

@media (max-width: 720px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-bottom .legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ================== Reveal Animation ================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ================== Misc ================== */
.divider-large {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 18ch;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bone-2);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tag-pill.amber { background: var(--amber-soft); color: var(--ink); }
.tag-pill.clay { background: var(--clay); color: var(--bone); }

.checks {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.checks li {
  position: relative;
  padding: 10px 0 10px 32px;
  border-top: 1px solid var(--line);
  font-size: 0.97rem;
  color: var(--ink);
}
.checks li:first-child { border-top: 0; }
.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  font-family: var(--mono);
  color: var(--clay);
  font-weight: 600;
  font-size: 0.95rem;
}

.checks.amber li::before { color: var(--amber-deep); }
.checks.dark li { color: var(--bone); border-color: var(--line-on-dark); }
.checks.dark li::before { color: var(--amber); }

/* ================== Article Cards (insights) ================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .article-grid { grid-template-columns: 1fr; } }

.article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
  min-height: 360px;
}
.article:hover { border-color: var(--ink); }

.article-meta {
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.article h3 {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  margin: 0;
  flex-grow: 1;
}

.article-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ================== Two-column rich text ================== */
.two-col-text {
  column-count: 2;
  column-gap: 60px;
}
.two-col-text p { margin-top: 0; break-inside: avoid; }
@media (max-width: 800px) { .two-col-text { column-count: 1; } }
