/* ==========================================================
   TN Distribution Co. — site stylesheet
   1. Fonts   2. Tokens   3. Base   4. Layout   5. Components
   6. Pages   7. Forms    8. Motion 9. Responsive
   ========================================================== */

/* 1. Fonts (self-hosted, Latin subset) ------------------- */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-500.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Lora"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("/assets/fonts/lora-var.woff") format("woff"); }

/* 2. Design tokens --------------------------------------- */
:root {
  --navy-950: #0a1d33;
  --navy-900: #0f2a47;
  --navy-800: #16365a;
  --navy-700: #1f4672;
  --steel-600: #3a6ea5;
  --steel-300: #9dbbdd;
  --steel-100: #e3ecf6;
  --charcoal: #1e2630;
  --slate: #5b6675;
  --line: #dde2e8;
  --gray-50: #f6f7f9;
  --gray-100: #eef1f4;
  --white: #ffffff;
  --success: #1d6b45;
  --success-bg: #e8f4ed;
  --error: #a3261b;
  --error-bg: #fbecea;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Lora", ui-serif, Georgia, "Times New Roman", serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 71, .06);
  --shadow: 0 1px 2px rgba(15, 42, 71, .05), 0 8px 24px -8px rgba(15, 42, 71, .14);
  --shadow-lg: 0 2px 4px rgba(10, 29, 51, .08), 0 24px 48px -16px rgba(10, 29, 51, .35);
  --header-h: 76px;
}

/* 3. Base ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; color: var(--navy-900); line-height: 1.18; text-wrap: balance; }
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--steel-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-900); }
strong { font-weight: 600; color: var(--navy-900); }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--steel-600); outline-offset: 3px; border-radius: 3px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--steel-300); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--navy-900); color: var(--white); padding: .75rem 1.25rem;
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* 4. Layout ---------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--alt { background: var(--gray-50); border-block: 1px solid var(--gray-100); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p:not(.eyebrow) { color: var(--slate); font-size: 1.125rem; margin-top: 1rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.section-head--center .eyebrow::before { display: none; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); color: var(--slate); line-height: 1.6; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.prose { max-width: 68ch; }
.prose p { color: #3a4452; }

/* 5. Components ------------------------------------------ */

/* Buttons */
.btn {
  --btn-bg: var(--navy-900); --btn-fg: var(--white); --btn-bd: var(--navy-900);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.4rem;
  font: 600 .975rem/1.2 var(--font-sans); letter-spacing: .005em;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd);
  border-radius: var(--radius-sm); text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); color: var(--btn-fg); box-shadow: var(--shadow); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; transition: transform .18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: #b9c3cf; }
.btn--outline:hover { --btn-bg: var(--navy-900); --btn-fg: var(--white); --btn-bd: var(--navy-900); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--navy-900); --btn-bd: var(--white); }
.btn--light:hover { --btn-bg: var(--steel-100); --btn-bd: var(--steel-100); --btn-fg: var(--navy-900); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,.4); }
.btn--ghost-light:hover { --btn-bg: rgba(255,255,255,.1); --btn-bd: var(--white); --btn-fg: var(--white); }
.btn--sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .925rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

.text-link {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; color: var(--navy-900);
  border-bottom: 1.5px solid var(--steel-300); padding-bottom: 2px;
}
.text-link:hover { border-color: var(--navy-900); }
.text-link svg { width: 16px; height: 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.6) blur(10px); -webkit-backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--navy-900); flex-shrink: 0; }
.brand img { width: 36px; height: 36px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 600; font-size: 1.02rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-900); }
.brand__sub { font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; color: var(--slate); margin-top: .38rem; font-weight: 500; }
.brand:hover .brand__name { color: var(--navy-700); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; }
.nav__link {
  display: block; position: relative; padding: .6rem .8rem; font-size: .95rem; font-weight: 500;
  color: var(--charcoal); text-decoration: none; border-radius: var(--radius-sm);
}
.nav__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 2px;
  background: var(--steel-600); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav__link:hover { color: var(--navy-900); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--navy-900); font-weight: 600; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--navy-900); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero (home) */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(58,110,165,.38), transparent 60%),
    var(--navy-900);
  padding-block: clamp(4.5rem, 10vw, 8rem) clamp(4.5rem, 9vw, 7.5rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(105deg, transparent 30%, #000 75%);
  -webkit-mask-image: linear-gradient(105deg, transparent 30%, #000 75%);
}
.hero .container { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .eyebrow { color: var(--steel-300); }
.hero__sub { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: #cdd9e7; max-width: 56ch; margin-top: 1.5rem; line-height: 1.6; }

/* Profile card ("Retailer Profile") */
.profile {
  background: var(--white); color: var(--charcoal); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.6);
}
.profile__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); background: var(--gray-50);
}
.profile__title { white-space: nowrap; font-family: var(--font-sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy-900); margin: 0; }
.profile__badge {
  white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 500; color: var(--success);
  background: var(--success-bg); padding: .25rem .6rem; border-radius: 999px;
}
.profile__badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.profile dl { margin: 0; padding: .5rem 1.5rem 1.25rem; }
.profile__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--gray-100); }
.profile__row:last-child { border-bottom: 0; }
.profile dt { font-size: .85rem; color: var(--slate); }
.profile dd { margin: 0; font-size: .95rem; font-weight: 500; color: var(--navy-900); line-height: 1.5; }
.profile--flat { box-shadow: var(--shadow); border-color: var(--line); }

/* Page hero (inner pages) */
.page-hero {
  position: relative; overflow: hidden; background: var(--navy-900); color: var(--white);
  padding-block: clamp(3.75rem, 8vw, 6rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(100deg, transparent 45%, #000 90%);
  -webkit-mask-image: linear-gradient(100deg, transparent 45%, #000 90%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); max-width: 22ch; font-size: clamp(2.2rem, 4.6vw, 3.35rem); }
.page-hero .eyebrow { color: var(--steel-300); }
.page-hero p:not(.eyebrow) { color: #cdd9e7; font-size: clamp(1.075rem, 1.5vw, 1.2rem); max-width: 62ch; margin-top: 1.25rem; }
.breadcrumb { display: flex; flex-wrap: wrap; padding: 0; margin-top: 0; gap: .5rem; list-style: none; font-size: .85rem; color: var(--steel-300); margin-bottom: 1.5rem; }
.breadcrumb a { color: #cdd9e7; text-decoration: none; }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }

/* Cards */
.card {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.85rem; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card:hover { border-color: #c5cfdb; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { margin: 1.35rem 0 .65rem; }
.card p { color: var(--slate); font-size: 1rem; }
.icon-tile {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  border-radius: 10px; background: var(--steel-100); color: var(--navy-900);
}
.icon-tile svg { width: 24px; height: 24px; }
.card__num { position: absolute; top: 1.75rem; right: 1.85rem; font: 600 .8rem var(--font-sans); letter-spacing: .1em; color: var(--slate); }

/* Notice strip ("Received an email from us?") */
.notice {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem; align-items: center;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--steel-600);
  border-radius: var(--radius); padding: 1.5rem 1.75rem; box-shadow: var(--shadow-sm);
}
.notice h2 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; letter-spacing: 0; margin-bottom: .3rem; }
.notice p { color: var(--slate); font-size: .98rem; }

/* Feature list (Why work with us) */
.feature-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1.25rem; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.feature h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.feature p { color: var(--slate); font-size: 1rem; }

/* Checklist */
.checklist { list-style: none; display: grid; gap: .9rem; }
.checklist li { position: relative; padding-left: 2.1rem; color: #3a4452; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--steel-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2a47' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / .75rem no-repeat;
}
.checklist strong { display: block; margin-bottom: .1rem; }
.checklist--light li { color: #d5dfeb; }
.checklist--light li::before { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.grid-2--form { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }

/* Panels */
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 3vw, 2.5rem); }
.panel--navy { background: var(--navy-900); border-color: var(--navy-900); color: #d5dfeb; }
.panel--navy h2, .panel--navy h3 { color: var(--white); }
.panel h3 { margin-bottom: 1.1rem; }
.panel__label { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--steel-600); margin-bottom: .75rem; }
.panel--navy .panel__label { color: var(--steel-300); }
.quote { font-family: var(--font-serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.5; color: var(--navy-900); margin: 0; }
.panel--navy .quote { color: var(--white); }

/* Brand feature (Furverra) */
.brand-feature { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.brand-plate {
  position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(150deg, var(--steel-100), #f8fafc 70%); border: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem;
}
.brand-plate img { max-width: 70%; max-height: 50%; object-fit: contain; }
.brand-plate__name { font-family: var(--font-serif); font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 600; color: var(--navy-900); letter-spacing: -0.01em; }
.brand-plate__tag { margin-top: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--steel-600); }
.brand-plate__chip {
  position: absolute; left: 1.25rem; bottom: 1.25rem; font-size: .8rem; font-weight: 500; color: var(--navy-900);
  background: var(--white); border: 1px solid var(--line); padding: .35rem .75rem; border-radius: 999px;
}
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tag { font-size: .875rem; font-weight: 500; color: var(--navy-900); background: var(--gray-50); border: 1px solid var(--line); padding: .35rem .8rem; border-radius: 999px; }
.tag--muted { color: var(--slate); background: var(--white); border-style: dashed; }

/* Steps (What We Do) */
.step { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); padding-block: clamp(2.5rem, 5vw, 3.75rem); border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step__num { font: 600 .85rem var(--font-sans); letter-spacing: .14em; color: var(--steel-600); margin-bottom: .85rem; display: block; }
.step h2 { font-size: clamp(1.6rem, 2.6vw, 2.05rem); }
.step__body > p { color: #3a4452; font-size: 1.075rem; }
.step__body .checklist { margin-top: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 14px; color: var(--white);
  background: radial-gradient(700px 300px at 100% 0%, rgba(58,110,165,.45), transparent 60%), var(--navy-900);
  padding: clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.3rem); max-width: 26ch; text-wrap: balance; }
.cta-band p { color: #cdd9e7; margin-top: .9rem; max-width: 58ch; }
.cta-band .btn-row { margin-top: 0; }

/* Founder */
.founder { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.avatar {
  width: 84px; height: 84px; border-radius: 50%; background: var(--navy-900); color: var(--white);
  display: flex; align-items: center; justify-content: center; font: 600 2rem var(--font-serif);
}
.founder__name { font-size: 1.3rem; }
.avatar--light { background: var(--steel-100); color: var(--navy-900); }
.founder__role { color: var(--steel-600); font-weight: 500; font-size: .95rem; margin: .2rem 0 1rem; }

/* Contact details */
.contact-list { list-style: none; display: grid; gap: 1.5rem; }
.contact-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 1rem; align-items: start; }
.contact-item .icon-tile { width: 44px; height: 44px; }
.contact-item__label { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.contact-item__value { font-size: 1.05rem; font-weight: 500; color: var(--navy-900); overflow-wrap: anywhere; }
.contact-item__value a { color: var(--navy-900); }

/* Legal text */
.legal { max-width: 74ch; }
.legal h2 { font-size: 1.5rem; margin: 2.75rem 0 .9rem; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: #3a4452; }
.legal ul { padding-left: 1.25rem; margin-bottom: 1em; }
.legal li { margin-bottom: .4rem; }
.legal .meta { color: var(--slate); font-size: .95rem; }

/* Footer */
.site-footer { background: var(--navy-950); color: #aebbcb; padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; padding-bottom: 3rem; }
.site-footer .brand__name { color: var(--white); }
.site-footer .brand__sub { color: #8ea0b5; }
.footer-about { margin-top: 1.25rem; max-width: 40ch; color: #aebbcb; }
.footer-title { font: 600 .78rem var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: grid; gap: .6rem; }
.site-footer a { color: #cfd9e5; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-legal { color: #8ea0b5; font-size: .875rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .875rem; color: #8ea0b5; }

/* 7. Forms ----------------------------------------------- */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow); }
.form-card__head { margin-bottom: 2rem; }
.form-card__head h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.form-card__head p { color: var(--slate); margin-top: .6rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .45rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .925rem; font-weight: 600; color: var(--navy-900); }
.field .optional { font-weight: 400; color: var(--slate); }
.field .req { color: var(--error); margin-left: .15rem; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--font-sans); color: var(--charcoal);
  background: var(--white); border: 1.5px solid #c4ccd6; border-radius: var(--radius-sm);
  padding: .75rem .9rem; min-height: 50px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2a47' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right .85rem center / 18px no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9aa6b4; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--steel-600); box-shadow: 0 0 0 3px rgba(58,110,165,.22); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(163,38,27,.18); }
.field__error { font-size: .875rem; color: var(--error); font-weight: 500; min-height: 0; }
.field__error:empty { display: none; }
.field__hint { font-size: .85rem; color: var(--slate); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { margin-top: 1.75rem; display: grid; gap: 1.25rem; }
.form-privacy { font-size: .875rem; color: var(--slate); }
.turnstile-wrap { min-height: 65px; }
.form-status { border-radius: var(--radius-sm); padding: 1rem 1.15rem; font-size: .975rem; display: flex; gap: .75rem; align-items: flex-start; }
.form-status:empty { display: none; }
.form-status svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: .15rem; }
.form-status--success { background: var(--success-bg); color: var(--success); border: 1px solid #b9dcc8; }
.form-status--error { background: var(--error-bg); color: var(--error); border: 1px solid #efc4bf; }
.form-status strong { color: inherit; display: block; }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.btn[aria-busy="true"] .spinner { display: inline-block; }
.btn[aria-busy="true"] .btn-icon { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* 8. Motion ---------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 9. Responsive ------------------------------------------ */
@media (max-width: 1040px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.25rem;
    background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 1rem var(--gutter) 1.5rem; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s ease, transform .2s ease; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: .95rem .25rem; font-size: 1.05rem; border-bottom: 1px solid var(--gray-100); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--steel-600); }
  .nav .btn { width: 100%; }
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { max-width: 18ch; }
  .profile { max-width: 560px; }
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .grid-2--form, .brand-feature, .step { grid-template-columns: 1fr; }
  .step { gap: 1.25rem; }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .notice { grid-template-columns: auto minmax(0, 1fr); }
  .notice .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  :root { --header-h: 68px; }
  body { font-size: 1rem; }
  .brand img { width: 32px; height: 32px; }
  .brand__name { font-size: .92rem; letter-spacing: .1em; }
  .brand__sub { font-size: .6rem; letter-spacing: .26em; }
  .form-grid { grid-template-columns: 1fr; }
  .step__body .checklist { grid-template-columns: 1fr; }
  .profile__row { grid-template-columns: 1fr; gap: .15rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .notice { grid-template-columns: 1fr; padding: 1.35rem; }
  .notice .icon-tile { display: none; }
  .founder { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── Photo-led components (v2) ─────────────────────────── */

/* Photo hero (home) */
.hero--photo { background: var(--navy-950); padding-block: clamp(5rem, 11vw, 9rem) clamp(7.5rem, 13vw, 10.5rem); }
.hero--photo::before { display: none; }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); animation: hero-settle 2.4s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,29,51,.96) 0%, rgba(10,29,51,.88) 38%, rgba(15,42,71,.62) 70%, rgba(15,42,71,.48) 100%),
    linear-gradient(0deg, rgba(10,29,51,.65), transparent 40%);
}
@keyframes hero-settle { to { transform: scale(1); } }
.hero--photo .profile { background: rgba(255,255,255,.97); }
.hero__emblem { position: absolute; right: max(-4vw, -60px); top: 50%; width: min(46vw, 620px); transform: translateY(-50%); fill: none; stroke: rgba(157,187,221,.16); stroke-width: .18; pointer-events: none; }
.hero__emblem path:last-child { stroke: rgba(157,187,221,.28); }
@media (max-width: 900px) { .hero__emblem { width: 80vw; right: -30vw; opacity: .6; } }
.hero--solo .container { grid-template-columns: minmax(0, 1fr); }
.hero--solo h1 { max-width: 16ch; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.hero--solo .hero__sub { max-width: 60ch; }

/* Fact bar overlapping the hero */
.factbar-wrap { position: relative; z-index: 2; margin-top: calc(-1 * clamp(3.5rem, 6vw, 4.75rem)); }
.factbar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.fact { padding: 1.5rem 1.6rem; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.fact:first-child { border-left: 0; }
.fact__value { font: 600 clamp(1.15rem, 1.7vw, 1.4rem)/1.2 var(--font-serif); color: var(--navy-900); font-variant-numeric: tabular-nums; }
.fact__label { font-size: .875rem; color: var(--slate); line-height: 1.4; }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.tile { position: relative; grid-column: span 2; border-radius: 12px; overflow: hidden; background: var(--navy-900); margin: 0; aspect-ratio: 4 / 3.4; isolation: isolate; }
.tile--lg { grid-column: span 3; aspect-ratio: 16 / 10; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); z-index: -1; }
.tile:hover img { transform: scale(1.045); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,29,51,0) 35%, rgba(10,29,51,.86) 100%); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.35rem 1.5rem; color: var(--white); display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.tile__name { font: 600 clamp(1.2rem, 2vw, 1.5rem)/1.2 var(--font-serif); color: var(--white); }
.tile__chip { font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; background: var(--white); color: var(--navy-900); }
.tile__chip--soft { background: rgba(255,255,255,.16); color: var(--white); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tile--art { background: radial-gradient(120% 90% at 85% 10%, var(--navy-700), var(--navy-900) 60%, var(--navy-950)) var(--navy-900); }
.tile--art:nth-child(n+3) { background: radial-gradient(120% 90% at 85% 10%, #2a4d75, var(--navy-800) 60%, var(--navy-900)) var(--navy-800); }
.tile--art::after { background: linear-gradient(180deg, transparent 50%, rgba(10,29,51,.5)); }
.tile__art { position: absolute; right: -6%; top: -10%; width: 62%; color: rgba(157,187,221,.16); z-index: -1; transition: transform .8s cubic-bezier(.2,.7,.2,1), color .3s ease; }
.tile__art svg { width: 100%; height: auto; stroke-width: 1.1; }
.tile--art:hover .tile__art { transform: rotate(-4deg) scale(1.04); color: rgba(157,187,221,.24); }
.tile--art::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 32px 32px; }
.tiles-note { margin-top: 1.5rem; color: var(--slate); font-size: .95rem; }

/* Brand feature photo */
.brand-photo { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 5 / 4; background: var(--gray-100); box-shadow: var(--shadow); }
.brand-photo img { width: 100%; height: 100%; object-fit: cover; }
.brand-photo__badge {
  position: absolute; left: 1.25rem; bottom: 1.25rem; right: 1.25rem; max-width: 300px;
  background: rgba(255,255,255,.96); border-radius: 10px; padding: 1rem 1.15rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .15rem;
}
.brand-photo__badge strong { font: 600 1.25rem var(--font-serif); color: var(--navy-900); }
.brand-photo__badge span { font-size: .85rem; color: var(--slate); }
.photo-credit { font-size: .75rem; color: var(--slate); margin-top: .6rem; }

/* Process (real sequence) */
.process { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 23px; left: 24px; right: 24px; height: 2px; background: linear-gradient(90deg, var(--steel-300), var(--line)); }
.process li { position: relative; counter-increment: step; display: flex; flex-direction: column; gap: .6rem; }
.process__num {
  width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--white); font: 600 1rem var(--font-sans); box-shadow: 0 0 0 6px var(--white); margin-bottom: .75rem;
}
.section--alt .process__num { box-shadow: 0 0 0 6px var(--gray-50); }
.process h3 { font-size: 1.1rem; }
.process p { color: var(--slate); font-size: .98rem; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 10px; transition: border-color .2s ease, box-shadow .2s ease; }
.faq details[open] { border-color: #c5cfdb; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.25rem;
  padding: 1.2rem 1.4rem; font-weight: 600; color: var(--navy-900); font-size: 1.04rem; border-radius: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--steel-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f2a47' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--steel-600); }
.faq__body { padding: 0 1.4rem 1.3rem; color: #3a4452; max-width: 70ch; }

/* Photo page hero */
.page-hero--photo { background: var(--navy-950); }
.page-hero--photo::before { display: none; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,29,51,.95) 0%, rgba(10,29,51,.86) 50%, rgba(15,42,71,.6) 100%); }

/* Photo CTA band */
.cta-band--photo { background: var(--navy-950); isolation: isolate; }
.cta-band__media { position: absolute; inset: 0; z-index: -1; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,29,51,.95), rgba(15,42,71,.72)); }

@media (max-width: 900px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile--lg { grid-column: span 1; aspect-ratio: 4 / 3.6; }
  .tile--lg { grid-column: span 2; aspect-ratio: 16 / 10; }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.25rem; }
  .process::before { display: none; }
  .fact:nth-child(odd) { border-left: 0; }
  .fact { border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .factbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr; }
  .tile, .tile--lg { grid-column: span 1; aspect-ratio: 16 / 11; }
  .process { grid-template-columns: 1fr; }
  .fact { padding: 1.15rem 1.2rem; }
}
@media (prefers-reduced-motion: reduce) { .hero__media img { transform: none; animation: none; } }

/* ── Home v3: panel hero, stat bar, boost, channels ───────── */
.hero--panel { padding-block: clamp(4rem, 9vw, 7rem) clamp(8rem, 13vw, 10.5rem); background:
    radial-gradient(900px 600px at 78% 40%, rgba(58,110,165,.42), transparent 62%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950)) var(--navy-900); }
.hero--panel::before { mask-image: linear-gradient(100deg, transparent 20%, #000 70%); -webkit-mask-image: linear-gradient(100deg, transparent 20%, #000 70%); }
.hero--panel .container { grid-template-columns: minmax(0, 1fr); }
.hero__panel {
  position: relative; max-width: 640px; padding: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(160deg, rgba(31,70,114,.72), rgba(15,42,71,.78));
  border: 1px solid rgba(157,187,221,.22); border-radius: 18px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__panel h1 { color: var(--white); font-size: clamp(2.4rem, 5.2vw, 4rem); max-width: 14ch; }
.hero__panel .hero__sub { margin-top: 1.25rem; }
.hero__panel .btn-row { margin-top: 2rem; }
.hero__art { position: absolute; right: max(2vw, calc((100vw - var(--container)) / 2 - 40px)); top: 50%; transform: translateY(-50%); width: min(38vw, 500px); pointer-events: none; }
.parcels { width: 100%; height: auto; overflow: visible; }
.parcels polygon { stroke: rgba(10,29,51,.55); stroke-width: .8; stroke-linejoin: round; }
.p-top { fill: #3c6c9f; } .p-right { fill: #24507f; } .p-left { fill: #183c63; }
.p-tape { fill: rgba(205,222,240,.42); stroke: none !important; } .p-tape--side { fill: rgba(205,222,240,.28); }
.p-label { fill: rgba(255,255,255,.2); stroke: none !important; }
.js .parcel { transform: translateY(-14px); animation: parcel-drop .55s cubic-bezier(.2,.8,.3,1) forwards; animation-delay: calc(.12s + var(--i) * .055s); }
@keyframes parcel-drop { to { transform: none; } }
.hero--photo.hero--panel { background: var(--navy-950); }

.statbar-wrap { position: relative; z-index: 2; margin-top: calc(-1 * clamp(4rem, 7vw, 5.25rem)); }
.statbar {
  margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  background: linear-gradient(135deg, #2f5f93, var(--navy-800)) #2f5f93; color: var(--white);
  border-radius: 16px; box-shadow: var(--shadow-lg); padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1rem, 3vw, 2rem);
}
.stat { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; gap: .35rem; padding: .5rem 1rem; border-left: 1px solid rgba(255,255,255,.18); min-width: 0; }
.stat:first-child { border-left: 0; }
.stat__value { margin: 0; font: 600 clamp(2rem, 4vw, 2.9rem)/1 var(--font-serif); color: var(--white); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.stat__label { font-size: .95rem; font-weight: 500; color: #dbe6f2; }

.section--boost { padding-top: clamp(5rem, 10vw, 8rem); }
.boost { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.boost p:not(.eyebrow) { color: #3a4452; }
.boost__visual { position: relative; justify-self: center; width: min(100%, 460px); }
.boost__visual::before { content: ""; position: absolute; left: -8%; bottom: -6%; width: 38%; aspect-ratio: 1; border-radius: 50%; background: var(--steel-100); z-index: -1; }
.boost__photo { border-radius: 50%; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-lg); }
.boost__photo img { width: 100%; height: 100%; object-fit: cover; }
.reach { width: 100%; height: auto; border-radius: 50%; box-shadow: var(--shadow-lg); }
.rg-ring { fill: none; stroke: rgba(157,187,221,.35); stroke-width: 1.2; stroke-dasharray: 3 6; }
.rg-spoke { stroke: rgba(157,187,221,.18); stroke-width: 1; }
.rg-node { fill: #9dbbdd; stroke: #0f2a47; stroke-width: 2; }
.js .reveal .rg-node { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(.3s + var(--i) * .07s); }
.js .reveal.is-visible .rg-node { transform: scale(1); }

.section--navy { background: radial-gradient(800px 400px at 90% 0%, rgba(58,110,165,.35), transparent 60%), var(--navy-900); color: #cdd9e7; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy .eyebrow { color: var(--steel-300); }
.section--navy .lead { color: #cdd9e7; }
.channels { display: grid; gap: 1rem; }
.channel { background: rgba(255,255,255,.06); border: 1px solid rgba(157,187,221,.22); border-radius: 12px; padding: 1.5rem 1.6rem; }
.channel h3 { font: 600 1.45rem var(--font-serif); margin-bottom: .45rem; }
.channel p { color: #cdd9e7; }
.channels__note { font-size: .9rem; color: var(--steel-300); }

@media (max-width: 1040px) {
  .hero__art { width: 52vw; right: -10vw; opacity: .45; }
}
@media (max-width: 900px) {
  .boost { grid-template-columns: 1fr; }
  .boost__visual { width: min(80%, 380px); }
  .statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.25rem; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero__art { display: none; }
  .hero__panel { padding: 1.5rem; border-radius: 14px; }
  .stat__value { font-size: 1.9rem; }
  .stat__label { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { .js .parcel { opacity: 1; transform: none; animation: none; } .js .reveal .rg-node { transform: none; } }

@media print {
  .site-header, .site-footer, .nav-toggle, .btn, form { display: none !important; }
  .hero, .page-hero { background: none; color: #000; }
  .hero h1, .page-hero h1 { color: #000; }
}
