/* ============================================================
   Aston Sequoia — design system (redesign v1, 2026-07-08)
   Palette: deep navy (logo) · redwood accent · warm paper
   Fonts: Fraunces (display) · Manrope (body)
   ============================================================ */

:root {
  --navy: #16294f;
  --navy-deep: #0d1a33;
  --navy-soft: #22386b;
  --redwood: #b23a2e;
  --redwood-deep: #8e2c22;
  --gold: #c8a45c;
  --ink: #1c2434;
  --slate: #55607a;
  --paper: #faf8f4;
  --paper-deep: #f2eee6;
  --card: #ffffff;
  --line: #e7e2d7;
  --line-navy: rgba(22, 41, 79, 0.12);
  --shadow-sm: 0 1px 2px rgba(13, 26, 51, 0.06), 0 4px 12px rgba(13, 26, 51, 0.06);
  --shadow-md: 0 2px 4px rgba(13, 26, 51, 0.06), 0 12px 32px rgba(13, 26, 51, 0.10);
  --shadow-lg: 0 4px 8px rgba(13, 26, 51, 0.08), 0 24px 56px rgba(13, 26, 51, 0.14);
  --radius: 16px;
  --radius-lg: 24px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--navy); line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; line-height: 1.3; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--redwood); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--redwood); }
.lede { font-size: 1.15rem; color: var(--slate); max-width: 62ch; }
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head p { margin-top: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 800; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: all 0.2s ease;
  font-family: var(--font-body);
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { border-color: var(--line-navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-red { background: var(--redwood); color: #fff; }
.btn-red:hover { background: var(--redwood-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--paper-deep); }
.arrow { font-family: var(--font-body); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 248, 244, 0.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-weight: 700; font-size: 0.93rem; color: var(--ink); transition: color 0.15s; }
.nav-links a:hover { color: var(--redwood); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.25s; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(178, 58, 46, 0.10), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(22, 41, 79, 0.10), transparent 55%),
    linear-gradient(180deg, #fdfcf9 0%, var(--paper) 100%);
}
.hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; padding: 96px 0 104px; }
.hero h1 { margin: 0 0 22px; }
.hero h1 em { font-style: italic; color: var(--redwood); }
.hero .lede { margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: 0.88rem; color: var(--slate); }

.cred-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 34px; position: relative;
}
.cred-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 5px;
  background: linear-gradient(180deg, var(--redwood), var(--navy)); border-radius: 24px 0 0 24px;
}
.cred-card h3 { font-size: 1.05rem; margin-bottom: 18px; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-body); font-weight: 800; color: var(--slate); }
.cred-list { list-style: none; display: grid; gap: 16px; }
.cred-list li { display: flex; gap: 14px; align-items: flex-start; }
.cred-ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--paper-deep); color: var(--navy); font-size: 1.05rem;
}
.cred-list strong { display: block; color: var(--navy); font-size: 0.98rem; }
.cred-list span { font-size: 0.88rem; color: var(--slate); }

/* ---------- stat strip ---------- */
.stats { background: var(--navy); color: #fff; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0; }
.stat { text-align: center; padding: 0 12px; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; color: #fff; line-height: 1.1; }
.stat small { display: block; margin-top: 6px; font-size: 0.85rem; color: rgba(255,255,255,0.72); letter-spacing: 0.04em; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.14); }

/* ---------- brand portfolio ---------- */
.brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.brand-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.brand-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-navy); }
.brand-logo { height: 64px; display: flex; align-items: center; }
.brand-logo img { max-height: 64px; width: auto; max-width: 100%; object-fit: contain; }
.brand-tile h3 { font-size: 1.1rem; }
.brand-tile p { font-size: 0.9rem; color: var(--slate); flex: 1; }
.brand-tag { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--redwood); }
.brand-link { font-weight: 800; font-size: 0.9rem; color: var(--navy); }
.brand-tile:hover .brand-link { color: var(--redwood); }

/* ---------- divisions ---------- */
.division { padding: 88px 0; }
.division:nth-of-type(even) { background: var(--paper-deep); }
.div-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
.div-grid.flip > .div-media { order: 2; }
.div-num { font-family: var(--font-display); font-size: 0.95rem; color: var(--gold); font-weight: 600; letter-spacing: 0.2em; }
.division h2 { margin: 10px 0 16px; }
.division .lede { font-size: 1.05rem; }
.scope { list-style: none; margin-top: 22px; display: grid; gap: 10px; }
.scope li { display: flex; gap: 12px; font-size: 0.97rem; color: var(--ink); }
.scope li::before { content: "—"; color: var(--redwood); font-weight: 700; flex: none; }

.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); }
.product-card + .product-card { margin-top: 26px; }
.product-shot { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-deep); border-bottom: 1px solid var(--line); }
.product-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.product-body { padding: 26px 28px 28px; }
.product-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.product-head img { height: 40px; width: auto; }
.pill { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy); background: var(--paper-deep); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.product-body p { font-size: 0.95rem; color: var(--slate); margin-bottom: 16px; }
.spec {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 18px; margin-bottom: 18px; font-size: 0.85rem;
}
.spec b { display: block; color: var(--navy); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.spec ul { list-style: none; display: grid; gap: 5px; color: var(--slate); }
.spec code { font-family: "Consolas", monospace; color: var(--redwood); font-weight: 700; background: none; }

/* ---------- interlude ---------- */
.interlude { position: relative; min-height: 420px; display: flex; align-items: center; overflow: hidden; }
.interlude img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,26,51,0.82) 0%, rgba(13,26,51,0.45) 55%, rgba(13,26,51,0.20) 100%); }
.interlude .wrap { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.interlude h2 { color: #fff; max-width: 560px; }
.interlude p { color: rgba(255,255,255,0.85); max-width: 520px; margin-top: 16px; font-size: 1.05rem; }

/* ---------- science / quality (dark) ---------- */
.science { background: var(--navy-deep); color: #fff; }
.science .eyebrow { color: var(--gold); }
.science .eyebrow::before { background: var(--gold); }
.science h2 { color: #fff; }
.science .section-head p { color: rgba(255,255,255,0.75); }
.sci-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sci-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 12px;
}
.sci-card h3 { color: #fff; font-size: 1.2rem; }
.sci-card p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.sci-ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(200,164,92,0.16); color: var(--gold); font-size: 1.2rem; }
.sci-photo { margin-top: 56px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.sci-photo img { width: 100%; height: 380px; object-fit: cover; }
.sci-caption {
  position: absolute; left: 24px; bottom: 24px; background: rgba(13,26,51,0.85); backdrop-filter: blur(8px);
  color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.15);
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-quote {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 500;
  color: var(--navy); line-height: 1.35; font-style: italic;
}
.about-quote strong { color: var(--redwood); font-style: normal; }
.about-copy p { color: var(--slate); margin-bottom: 18px; }

/* ---------- testimonials ---------- */
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--shadow-sm);
}
.quote-mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--redwood); margin-top: 10px; }
.quote-card p { font-size: 0.98rem; color: var(--ink); flex: 1; }
.quote-who { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 0.85rem;
}
.quote-who small { color: var(--slate); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 4px; font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; color: var(--navy);
}
.faq-q::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--redwood); transition: transform 0.2s; flex: none; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 4px 22px; color: var(--slate); max-width: 68ch; }

/* ---------- contact ---------- */
.contact { background: var(--paper-deep); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-cards { display: grid; gap: 16px; margin-top: 28px; }
.contact-card {
  display: flex; align-items: center; gap: 18px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.contact-ico { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 1.1rem; }
.contact-card.wa .contact-ico { background: #1f9d55; }
.contact-card b { display: block; color: var(--navy); }
.contact-card small { color: var(--slate); }
.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-md);
}
.contact-form h3 { margin-bottom: 20px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.04em; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 0.95rem; background: var(--paper); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); background: #fff; }
.form-note { font-size: 0.8rem; color: var(--slate); margin-top: 14px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 44px; padding: 72px 0 48px; }
.footer-brand img { height: 46px; width: auto; filter: brightness(0) invert(1); opacity: 0.95; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,0.75); transition: color 0.15s; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding: 26px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-credit { display: flex; align-items: center; gap: 12px; font-size: 0.82rem; }
.footer-credit img { height: 30px; width: auto; border-radius: 6px; background: #fff; padding: 3px 6px; }

/* ---------- legal pages ---------- */
.legal-page { padding: 72px 0 96px; max-width: 820px; margin: 0 auto; }
.legal-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 12px; }
.legal-page .updated { color: var(--slate); font-size: 0.88rem; margin-bottom: 40px; }
.legal-page h2 { font-size: 1.35rem; margin: 36px 0 12px; }
.legal-page p, .legal-page li { color: var(--slate); margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; padding: 64px 0 72px; }
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .div-grid { grid-template-columns: 1fr; gap: 36px; }
  .div-grid.flip > .div-media { order: 0; }
  .sci-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .quotes-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 12px 24px 20px; box-shadow: var(--shadow-md);
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .stat + .stat { border-left: none; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,0.14); }
  .brand-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; padding: 56px 0 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
