@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #12304a;
  --navy-2: #1c4466;
  --gold: #e3a20b;
  --gold-soft: #f6e2b0;
  --cream: #faf6ee;
  --paper: #ffffff;
  --ink: #1b2430;
  --muted: #5b6573;
  --line: #e6dfd1;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(18, 48, 74, .25);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; font-weight: 600; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.eyebrow { display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 600; text-decoration: none; border: 2px solid var(--gold); transition: transform .15s, background .15s; }
.btn:hover { color: var(--navy); background: #f0b52a; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-small { padding: 9px 18px; font-size: .92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 238, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font: 600 1.2rem/1 var(--serif); }
.brand img { display: block; }
.brand b { font-weight: 600; color: var(--gold); margin-left: 4px; }
.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.site-nav ul a:hover, .site-nav ul a[aria-current] { color: var(--navy-2); box-shadow: inset 0 -2px var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; background: var(--cream); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav .btn { margin-top: 16px; justify-content: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 32, 50, .92) 0%, rgba(12, 32, 50, .72) 45%, rgba(12, 32, 50, .15) 100%); }
.hero-inner { position: relative; padding: clamp(80px, 14vw, 150px) 0; max-width: 620px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { color: rgba(255, 255, 255, .85); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; padding: 0; list-style: none; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.hero-badges li::before { content: "✓"; color: var(--gold); font-weight: 700; margin-right: 8px; }
@media (max-width: 700px) {
  .hero-media::after { background: linear-gradient(180deg, rgba(12, 32, 50, .75), rgba(12, 32, 50, .92)); }
}

/* page hero for inner pages */
.page-hero { background: var(--navy); color: #fff; padding: clamp(56px, 9vw, 96px) 0 clamp(48px, 7vw, 72px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 162, 11, .35), transparent 70%); }
.page-hero h1 { color: #fff; max-width: 20ch; }
.page-hero .lead { color: rgba(255, 255, 255, .82); }
.page-icon { color: #fff; margin-bottom: 14px; }
.page-icon svg { display: block; }
.crumbs { font-size: .85rem; margin-bottom: 18px; color: rgba(255, 255, 255, .7); }
.crumbs a { color: rgba(255, 255, 255, .85); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-alt { background: var(--paper); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead, .section-dark .muted { color: rgba(255, 255, 255, .78); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }

/* needs (4 pillars) */
.needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.need { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.need-icon { color: var(--navy); margin-bottom: 14px; }
.need-icon svg { display: block; }
.need h3 { font-size: 1.15rem; margin-bottom: .3em; }
.need p { font-size: .95rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) { .needs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .needs { grid-template-columns: 1fr; } }

/* product cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); color: inherit; box-shadow: 0 18px 40px -14px rgba(18, 48, 74, .35); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card-tag { font: 600 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); font-size: .96rem; flex: 1; }
.card-more { font-weight: 600; color: var(--navy-2); }
.card-more::after { content: " →"; transition: margin .2s; }
.card:hover .card-more::after { margin-left: 4px; }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { border-left: 3px solid var(--gold); padding-left: 14px; }
.stat strong { display: block; font: 600 1.9rem/1.1 var(--serif); color: var(--navy); }
.section-dark .stat strong { color: var(--gold); }
.stat span { font-size: .9rem; color: var(--muted); }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } }

/* feature list */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 28px; padding: 0; list-style: none; margin: 0; }
.features li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.features li strong { display: block; color: var(--navy); font-size: 1.02rem; margin-bottom: 4px; }
.features li span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .features { grid-template-columns: 1fr; } }

/* prose for long product pages */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

.figure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 32px 0; }
.figure-grid img { border-radius: 14px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .figure-grid { grid-template-columns: 1fr; } }
figure { margin: 0; }
figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quotes-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin-inline: auto; }
.quote { background: var(--paper); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; margin: 0; }
.quote blockquote { margin: 0 0 22px; font: 500 1.15rem/1.45 var(--serif); color: var(--navy); flex: 1; }
.quote blockquote::before { content: "“"; display: block; font-size: 3rem; line-height: .6; color: var(--gold); margin-bottom: 10px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin: 0; }
.quote img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top; }
.quote figcaption strong { display: block; color: var(--ink); font-size: .98rem; }
.quote figcaption span { font-size: .85rem; color: var(--muted); }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding-top: 56px; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--navy); font: 700 1.1rem/1 var(--serif); }
.steps h3 { color: #fff; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .82); margin: 0; }
.cta .actions { margin: 0; justify-content: flex-end; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; color: inherit; display: block; }
a.contact-card:hover { border-color: var(--gold); color: inherit; }
.contact-card h3 { font-size: 1.1rem; margin-bottom: .3em; }
.contact-card p { margin: 0; color: var(--muted); word-break: break-word; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

.notice { background: var(--gold-soft); border-radius: 14px; padding: 18px 22px; font-size: .95rem; }

/* ---------- footer ---------- */
.site-footer { background: #0c2033; color: rgba(255, 255, 255, .78); padding: 64px 0 24px; margin-top: 0; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold); }
.brand-footer { color: #fff; margin-bottom: 16px; }
.site-footer .muted { color: rgba(255, 255, 255, .6); max-width: 34ch; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
.footer-title { font: 600 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-addresses p { margin-bottom: 14px; }
.footer-addresses strong { color: #fff; font-weight: 600; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 20px; font-size: .85rem; color: rgba(255, 255, 255, .55); }
.footer-legal p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
