@import url("fonts.css");

/* ==========================================================================
   CROYDON LEASING — Design System
   1. Tokens
   2. Reset & base
   3. Typography
   4. Layout
   5. Buttons & links
   6. Header & navigation
   7. Hero & page heads
   8. Sections & components
   9. Forms
   10. Footer
   11. Utilities, motion, responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand palette */
  --ink: #0B1A17;
  --forest: #122E28;
  --forest-700: #1A3D35;
  --forest-500: #2A564C;
  --brass: #A9863F;
  --brass-400: #BE9C55;
  --brass-200: #E3CFA4;
  --brass-100: #F0E4CB;
  --bone: #F8F5EF;
  --sand: #EDE6D9;
  --sand-dark: #E2D8C6;
  --white: #FFFFFF;
  --line: #DED5C6;
  --line-soft: #EBE4D8;
  --text: #26302D;
  --muted: #667069;
  --muted-light: #8C948E;

  /* Type */
  --font-display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --container: 1240px;
  --gutter: clamp(20px, 4.5vw, 48px);
  --section-y: clamp(72px, 8.5vw, 132px);
  --radius: 3px;
  --radius-lg: 6px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11, 26, 23, .04), 0 8px 24px -16px rgba(11, 26, 23, .18);
  --shadow-md: 0 2px 4px rgba(11, 26, 23, .04), 0 24px 48px -28px rgba(11, 26, 23, .28);
  --shadow-lg: 0 40px 80px -40px rgba(11, 26, 23, .45);

  /* Motion */
  --ease: cubic-bezier(.22, .68, .18, 1);
  --dur: .7s;

  --header-h: 84px;
}

/* 2. Reset & base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

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

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--bone);
  padding: 12px 20px;
  font-size: .875rem;
  letter-spacing: .04em;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* 3. Typography ------------------------------------------------------------ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: -.018em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.95rem, 3.6vw, 3rem); line-height: 1.1; }
h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.25; letter-spacing: -.01em; }
h4 { font-size: 1.0625rem; font-family: var(--font-sans); font-weight: 600; letter-spacing: .01em; }

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

.lede {
  font-size: clamp(1.075rem, 1.5vw, 1.28rem);
  line-height: 1.65;
  color: var(--muted);
  font-weight: 400;
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}
.eyebrow--center::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.serif-i { font-style: italic; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--bone); }
.on-dark, .on-dark p { color: rgba(248, 245, 239, .78); }
.on-dark .eyebrow { color: var(--brass-200); }
.on-dark .lede { color: rgba(248, 245, 239, .72); }

/* 4. Layout ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1440px; }
.container--narrow { max-width: 880px; }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }
.section--bone { background: var(--bone); }
.section--white { background: var(--white); }
.section--sand { background: var(--sand); }
.section--forest { background: var(--forest); color: rgba(248,245,239,.78); }
.section--ink { background: var(--ink); color: rgba(248,245,239,.78); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 68px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.section-head p { color: var(--muted); }
.on-dark .section-head p { color: rgba(248,245,239,.7); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.rule--dark { background: rgba(248, 245, 239, .16); }

.grid { display: grid; gap: clamp(20px, 2.4vw, 32px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.split--top { align-items: start; }

/* 5. Buttons & links ------------------------------------------------------- */
.btn {
  --btn-bg: var(--forest);
  --btn-fg: var(--bone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 26px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { background: var(--forest-700); border-color: var(--forest-700); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn--brass { --btn-bg: var(--brass); --btn-fg: #FFFDF8; }
.btn--brass:hover { background: #987837; border-color: #987837; }

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

.btn--light {
  --btn-bg: transparent;
  --btn-fg: var(--bone);
  border-color: rgba(248, 245, 239, .38);
}
.btn--light:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.btn--solid-light { --btn-bg: var(--bone); --btn-fg: var(--ink); border-color: var(--bone); }
.btn--solid-light:hover { background: var(--white); border-color: var(--white); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: border-color .3s var(--ease), gap .3s var(--ease);
}
.link-arrow:hover { border-color: var(--brass); gap: 15px; }
.link-arrow .arrow { color: var(--brass); }
.on-dark .link-arrow { color: var(--bone); border-color: rgba(248,245,239,.28); }
.on-dark .link-arrow:hover { border-color: var(--brass-200); }

.text-link {
  color: var(--forest);
  border-bottom: 1px solid var(--brass-200);
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.text-link:hover { color: var(--brass); border-color: var(--brass); }
.on-dark .text-link { color: var(--brass-200); border-color: rgba(227,207,164,.4); }

/* 6. Header ---------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: rgba(248, 245, 239, .62);
  font-size: .72rem;
  letter-spacing: .06em;
  border-bottom: 1px solid rgba(248, 245, 239, .1);
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 38px;
  padding-block: 8px;
}
.topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass-400); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 245, 239, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-stuck {
  background: rgba(248, 245, 239, .97);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 30px -28px rgba(11, 26, 23, .5);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--header-h);
  transition: min-height .4s var(--ease);
}
.site-header.is-stuck .header__inner { min-height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark { width: 38px; height: 38px; flex: none; color: var(--forest); }
.brand__mark .c { stroke: var(--brass); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--ink);
  text-transform: uppercase;
}
.brand__sub {
  font-family: var(--font-display);
  font-size: .74rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
  padding-left: 1px;
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 13px;
  font-size: .82rem;
  font-weight: 450;
  letter-spacing: .045em;
  color: var(--text);
  border-radius: 2px;
  transition: color .25s var(--ease);
}
.nav__link:hover { color: var(--brass); }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 1px;
  background: var(--brass);
}
.nav__link .chev { width: 8px; height: 8px; opacity: .5; transition: transform .3s var(--ease); }
.nav__item:hover .nav__link .chev,
.nav__item:focus-within .nav__link .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: -12px;
  width: 340px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav__item:hover .dropdown,
.nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 3px;
  transition: background .25s var(--ease);
}
.dropdown a:hover { background: var(--bone); }
.dropdown strong {
  display: block;
  font-size: .875rem;
  font-weight: 550;
  color: var(--ink);
  margin-bottom: 2px;
}
.dropdown span { display: block; font-size: .78rem; color: var(--muted); line-height: 1.5; }

.header__cta { display: inline-flex; }
.header__cta .btn { padding: 13px 22px; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
  z-index: 120;
}
.nav-toggle span {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: transform .35s var(--ease), opacity .25s var(--ease), top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 23px; transform: translateX(-50%) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 23px; transform: translateX(-50%) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--bone);
  padding: 100px var(--gutter) 48px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
body.nav-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
.mobile-nav__group { border-bottom: 1px solid var(--line); }
.mobile-nav__group > a,
.mobile-nav__group > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: 0;
  padding: 20px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
  cursor: pointer;
}
.mobile-nav__group > button .chev { transition: transform .3s var(--ease); }
.mobile-nav__group.is-open > button .chev { transform: rotate(180deg); }
.mobile-nav__sub { display: none; padding: 0 0 16px 4px; }
.mobile-nav__group.is-open .mobile-nav__sub { display: block; }
.mobile-nav__sub a {
  display: block;
  padding: 9px 0;
  font-size: .95rem;
  color: var(--muted);
}
.mobile-nav__sub a:hover { color: var(--brass); }
.mobile-nav__foot { margin-top: 32px; display: grid; gap: 12px; }
.mobile-nav__meta { font-size: .8rem; color: var(--muted); line-height: 1.6; }

/* 7. Hero & page heads ----------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(600px, 86vh, 860px);
  display: flex;
  align-items: flex-end;
  background: var(--forest);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.02);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 20, 17, .62) 0%, rgba(8, 20, 17, .28) 34%, rgba(8, 20, 17, .55) 72%, rgba(8, 20, 17, .92) 100%),
    linear-gradient(90deg, rgba(8, 20, 17, .55) 0%, rgba(8, 20, 17, 0) 62%);
}
.hero__inner {
  width: 100%;
  padding-block: clamp(64px, 9vw, 110px);
  color: var(--bone);
}
.hero__eyebrow { color: var(--brass-200); }
.hero__eyebrow::before { background: var(--brass-200); }
.hero h1 {
  color: #FCFAF5;
  font-size: clamp(2.7rem, 6.2vw, 5.1rem);
  line-height: 1.02;
  letter-spacing: -.028em;
  max-width: 16ch;
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--brass-200); }
.hero__lede {
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  color: rgba(252, 250, 245, .82);
  max-width: 54ch;
  margin-bottom: 36px;
}
.hero__foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 30px;
  border-top: 1px solid rgba(252, 250, 245, .2);
}
.hero__meta { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); }
.hero__meta div { max-width: 190px; }
.hero__meta dt {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(252, 250, 245, .55);
  margin-bottom: 6px;
}
.hero__meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.06rem;
  color: #FCFAF5;
  line-height: 1.3;
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(252, 250, 245, .6);
}
.hero__scroll svg { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* Inner page head */
.page-head {
  position: relative;
  background: var(--forest);
  color: var(--bone);
  padding-block: clamp(64px, 8vw, 108px) clamp(56px, 7vw, 92px);
  overflow: hidden;
  isolation: isolate;
}
.page-head__bg { position: absolute; inset: 0; z-index: -2; }
.page-head__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(10, 26, 22, .96) 0%, rgba(10, 26, 22, .82) 48%, rgba(10, 26, 22, .58) 100%);
}
.page-head__inner { max-width: 780px; }
.page-head h1 {
  color: #FCFAF5;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  margin-bottom: 20px;
}
.page-head .lede { color: rgba(252, 250, 245, .76); }
.page-head__aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .62fr);
  gap: 48px;
  align-items: end;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(252, 250, 245, .55);
  margin-bottom: 26px;
}
.breadcrumb a:hover { color: var(--brass-200); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb [aria-current="page"] { color: var(--brass-200); }

/* 8. Components ------------------------------------------------------------ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.stat {
  padding: 32px 28px 34px 0;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
}
.stat__num span { color: var(--brass); font-size: .55em; vertical-align: super; margin-left: 2px; }
.stat__label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}
.on-dark .stat-row { border-color: rgba(248,245,239,.16); }
.on-dark .stat { border-color: rgba(248,245,239,.16); }
.on-dark .stat__num { color: var(--bone); }
.on-dark .stat__num span { color: var(--brass-200); }
.on-dark .stat__label { color: rgba(248,245,239,.55); }

/* Cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 2.6vw, 38px);
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
  height: 100%;
}
.card:hover { border-color: var(--sand-dark); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.card__index {
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--brass);
  letter-spacing: .08em;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card__index::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .95rem; line-height: 1.68; }
.card__foot { margin-top: auto; padding-top: 24px; }
.card__list { list-style: none; margin: 0 0 4px; padding: 0; display: grid; gap: 9px; }
.card__list li {
  position: relative;
  padding-left: 20px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 1px;
  background: var(--brass);
}
.card--dark { background: var(--forest); border-color: rgba(248,245,239,.12); }
.card--dark h3 { color: var(--bone); }
.card--dark p, .card--dark .card__list li { color: rgba(248,245,239,.68); }
.card--dark .card__index { color: var(--brass-200); }
.card--dark .card__index::after { background: rgba(248,245,239,.14); }
.card--dark:hover { border-color: rgba(248,245,239,.28); }
.card--dark .link-arrow { color: var(--bone); border-color: rgba(248,245,239,.24); }

.card--media { padding: 0; overflow: hidden; background: var(--white); }
.card--media .card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.card--media .card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.card--media:hover .card__img img { transform: scale(1.04); }
.card--media .card__body { padding: clamp(24px, 2.4vw, 34px); display: flex; flex-direction: column; flex: 1; }

/* Feature list */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.feature-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: start;
}
.feature-list li:first-child { border-top: 1px solid var(--line-soft); }
.feature-list .tick {
  width: 26px; height: 26px;
  border: 1px solid var(--brass-200);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brass);
  margin-top: 3px;
}
.feature-list strong { display: block; font-weight: 550; color: var(--ink); margin-bottom: 3px; font-size: .98rem; }
.feature-list p { font-size: .92rem; color: var(--muted); margin: 0; line-height: 1.6; }
.on-dark .feature-list li { border-color: rgba(248,245,239,.14); }
.on-dark .feature-list strong { color: var(--bone); }
.on-dark .feature-list p { color: rgba(248,245,239,.62); }

/* Image blocks */
.figure { position: relative; margin: 0; }
.figure img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.figure--tall img { aspect-ratio: 4 / 5; }
.figure--wide img { aspect-ratio: 16 / 10; }
.figure--square img { aspect-ratio: 1 / 1; }
.figure__caption {
  margin-top: 14px;
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .02em;
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.figure__caption::before { content: ""; width: 18px; height: 1px; background: var(--brass); flex: none; transform: translateY(-3px); }
.figure--offset { margin-left: clamp(-40px, -4vw, 0px); }

/* Accordion */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger {
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: var(--ink);
  line-height: 1.35;
  transition: color .3s var(--ease);
}
.acc-trigger:hover { color: var(--brass); }
.acc-icon {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
  margin-top: 4px;
}
.acc-icon::before, .acc-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.acc-icon::before { left: 0; right: 0; top: 50%; height: 1px; }
.acc-icon::after { top: 0; bottom: 0; left: 50%; width: 1px; }
.acc-trigger[aria-expanded="true"] .acc-icon::after { transform: scaleY(0); opacity: 0; }
.acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height .45s var(--ease);
}
.acc-panel__inner { padding: 0 56px 30px 0; color: var(--muted); font-size: .96rem; line-height: 1.72; }
.acc-panel__inner p:last-child { margin-bottom: 0; }
.on-dark .accordion, .on-dark .acc-item { border-color: rgba(248,245,239,.16); }
.on-dark .acc-trigger { color: var(--bone); }
.on-dark .acc-panel__inner { color: rgba(248,245,239,.66); }

/* Numbered steps */
.steps { display: grid; gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(20px, 3vw, 48px);
  padding: clamp(28px, 3vw, 40px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.step__num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--brass);
  letter-spacing: .12em;
  padding-top: 4px;
}
.step h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.on-dark .steps, .on-dark .step { border-color: rgba(248,245,239,.16); }
.on-dark .step h3 { color: var(--bone); }
.on-dark .step p { color: rgba(248,245,239,.64); }

/* Quote / statement */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -.015em;
  max-width: 22ch;
}
.statement em { color: var(--brass); font-style: italic; }
.on-dark .statement { color: var(--bone); }
.on-dark .statement em { color: var(--brass-200); }

.pull-quote {
  border-left: 1px solid var(--brass);
  padding-left: clamp(20px, 2.4vw, 34px);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
}

/* Badge / pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255,255,255,.6);
}
.pill--brass { border-color: var(--brass-200); color: #8A6C2F; background: var(--brass-100); }
.on-dark .pill { border-color: rgba(248,245,239,.22); color: rgba(248,245,239,.7); background: transparent; }

/* CTA band */
.cta-band {
  position: relative;
  background: var(--forest);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.cta-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120% 140% at 12% 0%, rgba(18,46,40,.92) 0%, rgba(11,26,23,.97) 60%);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 7.5vw, 108px);
}
.cta-band h2 { color: #FCFAF5; max-width: 18ch; }
.cta-band p { color: rgba(248,245,239,.72); max-width: 46ch; }
.cta-band__actions { display: grid; gap: 16px; justify-items: start; }

/* Info panel */
.info-panel {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 40px);
}
.info-panel h3 { margin-bottom: 18px; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list dt {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 4px;
}
.info-list dd { margin: 0; font-size: .96rem; color: var(--ink); line-height: 1.6; }

/* Comparison / table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 620px; }
table.data th, table.data td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data th {
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 550;
  background: var(--bone);
}
table.data tr:last-child td { border-bottom: 0; }
table.data td strong { font-weight: 550; color: var(--ink); }

/* Editorial content (legal, long-form) */
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 2.2em 0 .7em; }
.prose h3 { font-size: 1.16rem; margin: 2em 0 .6em; }
.prose p, .prose li { color: #3A443F; font-size: 1rem; line-height: 1.78; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--forest); border-bottom: 1px solid var(--brass-200); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose__meta {
  display: flex; flex-wrap: wrap; gap: 24px;
  font-size: .78rem; color: var(--muted);
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.toc {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  margin-bottom: 44px;
}
.toc h2 { font-family: var(--font-sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.toc ol { margin: 0; padding-left: 1.1em; columns: 2; column-gap: 32px; }
.toc li { margin-bottom: 8px; font-size: .9rem; }
.toc a { border-bottom: 0; color: var(--text); }
.toc a:hover { color: var(--brass); }

/* 9. Forms ---------------------------------------------------------------- */
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label {
  font-size: .74rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.field label .req { color: var(--brass); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .96rem;
  color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  appearance: none;
}
.field textarea { min-height: 148px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23667069' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(169, 134, 63, .12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-light); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__note { font-size: .8rem; color: var(--muted); line-height: 1.6; }
.form__status { font-size: .9rem; padding: 14px 16px; border-radius: var(--radius); display: none; }
.form__status.is-visible { display: block; }
.form__status--ok { background: #EEF4EF; border: 1px solid #C9DCCB; color: #24512C; }
.form__status--err { background: #FBF0EE; border: 1px solid #E9C9C2; color: #7A2E22; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* 10. Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: rgba(248,245,239,.62); padding-top: clamp(56px, 6vw, 84px); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer__brand .brand__mark { color: var(--bone); }
.footer__brand .brand__name { color: var(--bone); }
.footer__brand .brand__sub { color: rgba(248,245,239,.5); }
.footer__about { margin-top: 22px; font-size: .9rem; line-height: 1.7; max-width: 34ch; color: rgba(248,245,239,.6); }
.footer__cin {
  margin-top: 20px;
  font-size: .76rem;
  letter-spacing: .04em;
  color: rgba(248,245,239,.45);
  line-height: 1.7;
}
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(227,207,164,.82);
  font-weight: 500;
  margin: 0 0 20px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer ul a { font-size: .9rem; color: rgba(248,245,239,.72); transition: color .25s var(--ease); }
.site-footer ul a:hover { color: var(--brass-200); }
.footer__legal {
  border-top: 1px solid rgba(248,245,239,.12);
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(248,245,239,.45);
}
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__legal a:hover { color: var(--brass-200); }
.footer__addr { max-width: 520px; line-height: 1.6; }

/* 11. Motion, utilities, responsive --------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

.card--row { flex-direction: row; padding: 0; }
.card--row .card__img { width: 40%; aspect-ratio: auto; flex: none; }
.card--row .card__img img { height: 100%; width: 100%; object-fit: cover; }
.card--row .card__body { padding: clamp(22px, 2.2vw, 32px); }
@media (max-width: 720px) {
  .card--row { flex-direction: column; }
  .card--row .card__img { width: 100%; aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 18px; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

@media (max-width: 1080px) {
  .nav, .header__cta { display: none; }
  .nav-toggle { display: block; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head--split { grid-template-columns: 1fr; align-items: start; }
  .page-head__aside { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 1rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .split, .split--wide-left { grid-template-columns: 1fr; }
  .figure--offset { margin-left: 0; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat { border-bottom: 1px solid var(--line); padding-right: 20px; }
  .stat:nth-child(2n) { border-right: 0; }
  .on-dark .stat { border-bottom-color: rgba(248,245,239,.16); }
  .step { grid-template-columns: 52px 1fr; }
  .step p { grid-column: 2; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .hero__foot { grid-template-columns: 1fr; align-items: start; }
  .hero { min-height: 78vh; }
  .hero h1 { max-width: 100%; }
  .form__row { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .topbar__inner { justify-content: center; }
  .topbar__inner span:last-child { display: none; }
}

@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .brand__name { font-size: .82rem; letter-spacing: .2em; }
  .brand__mark { width: 32px; height: 32px; }
  .btn { width: 100%; }
  .btn-row { width: 100%; }
  .hero__meta { gap: 20px; }
  .hero__meta div { max-width: 46%; }
}

@media print {
  .site-header, .topbar, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; }
}

/* --------------------------------------------------------------------------
   12. Additional components
   -------------------------------------------------------------------------- */
.nav { list-style: none; margin: 0; padding: 0; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.fact { padding: 22px 26px 24px 0; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact dt {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted-light);
  margin-bottom: 7px;
}
.fact dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--ink);
}

.hero__meta--head { margin: 0; padding-top: 8px; border: 0; }
.hero__meta--head dt { color: rgba(252, 250, 245, .5); }
.hero__meta--head dd { color: var(--bone); }

.topbar__cin { letter-spacing: .1em; }
.footer__h4-spaced { margin-top: 28px; }
.footer__addr { font-size: .86rem; line-height: 1.65; margin: 0; color: rgba(248, 245, 239, .6); }
.footer__copy { margin: 0; }

.card--media .card__body h3 { margin-bottom: 10px; }
.card--media .card__body p { margin-bottom: 0; }
.card__list a { color: var(--forest); border-bottom: 1px solid var(--brass-200); }
.card__list a:hover { color: var(--brass); }
.card__body .link-arrow { margin-top: 2px; }

.info-panel .feature-list li:first-child { border-top: 0; }
.info-panel .feature-list li:last-child { border-bottom: 0; padding-bottom: 0; }

@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { border-bottom: 1px solid var(--line); }
  .fact:nth-child(2n) { border-right: 0; }
  .fact:nth-last-child(-n+2) { border-bottom: 0; }
  .step p { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .fact { border-right: 0; }
  .fact:last-child { border-bottom: 0; }
}

/* Row headers in data tables */
table.data th[scope="row"] {
  width: 210px;
  background: transparent;
  text-transform: none;
  letter-spacing: .01em;
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink);
  border-right: 1px solid var(--line-soft);
}
table.data td { color: var(--muted); }

/* Related links */
.related {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: center;
}
.related__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--ink);
  transition: color .3s var(--ease), padding-left .3s var(--ease);
}
.related__links a:last-child { border-bottom: 1px solid var(--line); }
.related__links a:hover { color: var(--brass); padding-left: 6px; }
.related__links svg { color: var(--brass); flex: none; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* Page-head image balance */
.page-head__bg img { opacity: .52; }
.page-head::after {
  background: linear-gradient(100deg, rgba(10, 26, 22, .95) 0%, rgba(10, 26, 22, .78) 46%, rgba(10, 26, 22, .45) 100%);
}

/* Spec panel in page heads */
.hero__meta--head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 0;
  border-top: 1px solid rgba(252, 250, 245, .22);
}
.hero__meta--head div {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  max-width: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(252, 250, 245, .14);
}
.hero__meta--head dt { margin: 0; font-size: .66rem; }
.hero__meta--head dd { font-size: 1rem; }
@media (max-width: 560px) {
  .hero__meta--head div { grid-template-columns: 1fr; gap: 4px; }
}

/* Icon sizing and mobile drawer stacking */
.chev { width: 10px; height: 10px; flex: none; }
.nav__link .chev { width: 8px; height: 8px; }
.mobile-nav__group > button .chev { width: 13px; height: 13px; opacity: .55; }

body.nav-open .site-header {
  z-index: 130;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}
body.nav-open .header__cta { display: none; }
body.nav-open .mobile-nav { padding-top: calc(var(--header-h) + 44px); }

.site-footer h4.footer__h4-spaced { margin-top: 34px; }
.site-footer .footer__addr { margin-top: 0; max-width: 240px; }
