/* =====================================================================
   David A Spear — Corporate Profile
   VUCA "Trusted Advisors"
   Design language: considered, editorial, corporate.
   Serif display (Fraunces) + clean sans (Inter), VUCA blue, hairlines,
   generous whitespace, restrained motion.
   ===================================================================== */

/* ---------- Brand typeface: Karla ---------- */
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 800;                 /* ExtraBold — titles */
  font-display: swap;
  src: url("../fonts/Karla-ExtraBold.ttf") format("truetype");
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 300;                 /* Light — body */
  font-display: swap;
  src: url("../fonts/Karla-Light.ttf") format("truetype");
}

:root {
  --brand:        #3a4ea2;   /* VUCA royal blue (matched to brand collateral) */
  --brand-600:    #2f4088;
  --brand-700:    #26346e;
  --brand-800:    #1b2650;   /* deep navy for dark sections */
  --brand-050:    #eef1f9;

  --accent:       #4a5fb5;   /* subtle brighter blue for small marks */

  --ink:          #14172a;
  --muted:        #565d78;
  --line:         #e6e8f1;   /* hairline */
  --line-strong:  #d6d9e6;
  --bg:           #ffffff;
  --bg-soft:      #f6f7fb;

  --maxw:         1160px;
  --radius:       8px;
  --shadow-sm:    0 1px 2px rgba(19,26,69,.05), 0 6px 20px rgba(19,26,69,.06);
  --shadow:       0 20px 50px rgba(19,26,69,.14);

  --font-head: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  color: var(--brand);        /* titles in the VUCA logo blue */
  font-weight: 800;
  letter-spacing: -.015em;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
img { max-width: 100%; display: block; }

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

/* ---------- Section rhythm ---------- */
.section { padding: 112px 0; position: relative; overflow: hidden; }
.section--soft { background: var(--bg-soft); }
.section > .wrap { position: relative; z-index: 1; }

/* Decorative VUCA artwork fragments bleeding off the page edges (white sections) */
.motif { position: absolute; z-index: 0; pointer-events: none; user-select: none; opacity: .9; }
/* bigger (more zoomed-in) fragments, pushed further off so the visible slice stays similar */
.motif--tr { top: -150px; right: -190px; width: 460px; }
.motif--bl { bottom: -170px; left: -210px; width: 470px; }
.motif--tl { top: -150px; left: -210px; width: 450px; }
.motif--br { bottom: -170px; right: -190px; width: 460px; }
/* career: zoom in heaps — only the very left part of the artwork shows at the right edge */
.motif--r  { top: 50%; right: -520px; width: 700px; transform: translateY(-50%); }
.section--blue {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
  color: #fff;
}
.section--blue .section__head h2 { color: #fff; }
.section--blue .section__head p { color: rgba(255,255,255,.82); }
.section--blue .eyebrow { color: #aeb8ec; }
.section--blue .matrix { --mline: rgba(255,255,255,.22); }
.section--blue .matrix__cell { color: #fff; }
.section--blue .matrix__cell:hover { background: rgba(255,255,255,.08); }
.section--blue .matrix__cell .dot { background: #aeb8ec; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.section__head h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); margin: 16px 0 0; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.section__head p { color: var(--muted); margin: 18px 0 0; font-size: 1.1rem; max-width: 60ch; }

/* ---------- Eyebrow label ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-body); font-weight: 800;
  font-size: .68rem; letter-spacing: normal; text-transform: uppercase;
  color: var(--brand); margin: 0;
}
.eyebrow--light { color: #aeb8ec; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 4px; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--brand); color: #fff !important; }
.btn--primary:hover { background: var(--brand-600); color: #fff !important; }
.btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff !important; border-color: rgba(255,255,255,.7); }
.btn--onlight { background: transparent; color: var(--brand) !important; border-color: var(--line-strong); }
.btn--onlight:hover { background: var(--brand); color: #fff !important; border-color: var(--brand); }
.btn--white { background: #fff; color: var(--brand) !important; border-color: #fff; }
.btn--white:hover { background: var(--brand-050); color: var(--brand-600) !important; border-color: var(--brand-050); }
.btn .arw { transition: transform .2s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }
.brand { display: flex; align-items: center; }
.brand img { height: 62px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .96rem; position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1.5px;
  background: var(--brand); transition: width .25s var(--ease);
}
.nav a:not(.btn):hover { color: var(--brand); }
.nav a:not(.btn):hover::after { width: 100%; }
.nav .btn { padding: 11px 22px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 26px; height: 2px; background: var(--brand-800); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    linear-gradient(90deg, var(--brand-800) 0%, rgba(19,26,69,.94) 28%, rgba(19,26,69,.74) 52%, rgba(28,37,96,.42) 78%, rgba(43,58,155,.22) 100%),
    var(--bg-img, linear-gradient(120deg, var(--brand-700), var(--brand-800)));
  background-size: cover; background-position: center right;
}
.hero::after { /* faint depth at the base */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(19,26,69,.5), transparent 30%);
}
.hero__art {
  position: absolute; left: -70px; top: 50%; transform: translateY(-50%);
  width: 460px; max-width: 42%;
  opacity: .16; pointer-events: none; user-select: none; z-index: 1;
}
.hero__inner {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
  padding: 116px 0 108px;
}
.hero h1 {
  color: #fff; font-weight: 800; font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  margin: 20px 0 0; letter-spacing: -.03em; line-height: 1.03;
}
.hero__creds { font-weight: 600; color: #aeb8ec; letter-spacing: .1em; margin: 18px 0 0; font-size: .95rem; text-transform: uppercase; }
.hero__rule { width: 54px; height: 2px; background: #5566cc; margin: 26px 0; }
.hero__role { font-size: 1.35rem; font-weight: 800; margin: 0; font-family: var(--font-head); color: #fff; letter-spacing: -.01em; }
.hero__lead { font-size: 1.12rem; color: rgba(255,255,255,.82); max-width: 48ch; margin: 20px 0 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__strap {
  position: absolute; right: max(28px, calc((100% - var(--maxw)) / 2 + 28px)); bottom: 40px; z-index: 3;
  text-align: right; max-width: none;
}
.hero__strap-1 { display: block; color: rgba(255,255,255,.62); font-weight: 300; font-size: .92rem; line-height: 1.45; }
.hero__strap-2 { display: block; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; margin-top: 8px; white-space: nowrap; }

.hero__figure { justify-self: center; position: relative; }
/* tint the teal background inside David's photo toward the banner navy,
   while leaving him (centre) in colour */
.hero__figure::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(58% 54% at 50% 40%, transparent 48%, rgba(27,38,80,.85) 100%);
  mix-blend-mode: color;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 78%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 78%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-composite: intersect;
}
.hero__photo {
  position: relative; z-index: 1;
  width: 400px; height: 500px; object-fit: cover; object-position: center top;
  filter: contrast(1.02);
  /* feather all four edges so the portrait dissolves into the banner (no hard box) */
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 78%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 78%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask-composite: intersect;
}

/* ---------- Stats ---------- */
.stats { background: var(--bg); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats .item { padding: 42px 26px; text-align: center; border-right: 1px solid var(--line); }
.stats .item:last-child { border-right: 0; }
.stats .n { font-family: var(--font-head); font-weight: 800; font-size: 2.7rem; color: var(--brand); line-height: 1; letter-spacing: -.02em; }
.stats .l { font-size: .9rem; color: var(--muted); margin-top: 10px; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.5fr .85fr; gap: 64px; align-items: start; }
.about__body h2 { font-size: clamp(1.7rem, 3.3vw, 2.35rem); font-weight: 800; margin: 16px 0 22px; text-transform: uppercase; letter-spacing: .03em; }
.about__body p { margin: 0 0 1.25rem; color: #333a52; }
.about__body p:first-of-type { font-size: 1.16rem; color: var(--ink); line-height: 1.6; }
.about__card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.about__card h3 { font-family: var(--font-body); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin: 0 0 18px; }
.about__card ul { list-style: none; margin: 0; padding: 0; }
.about__card li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .97rem; color: #333a52; }
.about__card li:last-child { border-bottom: 0; }

/* ---------- Expertise (structured grid) ---------- */
.matrix { --mline: var(--line); border: 1px solid var(--mline); border-radius: var(--radius); overflow: hidden; background: transparent; }
.matrix__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.matrix__cell {
  padding: 22px 24px; border-right: 1px solid var(--mline); border-bottom: 1px solid var(--mline);
  display: flex; align-items: center; gap: 14px; font-size: .98rem; color: var(--ink);
  transition: background .2s var(--ease);
}
.matrix__cell:hover { background: var(--brand-050); }
.matrix__grid > .matrix__cell:nth-child(3n) { border-right: 0; }
.matrix__cell .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- Services (icons) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card { background: var(--bg); padding: 36px 30px; transition: background .25s var(--ease); }
.card:hover { background: var(--bg-soft); }
.card__icon { width: 46px; height: 46px; color: var(--brand-800); margin-bottom: 20px; }
.card__icon svg { width: 46px; height: 46px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1rem; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.card p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.6; }

/* ---------- Experience ---------- */
.exp { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.exp__col h3 { font-family: var(--font-body); display: flex; align-items: center; gap: 12px; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand); margin: 0 0 8px; font-weight: 700; }
.exp__col h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.exp__list { list-style: none; margin: 0; padding: 0; }
.exp__list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.exp__list li strong { display: block; font-weight: 600; color: var(--ink); font-size: 1.02rem; }
.exp__list li span { color: var(--muted); font-size: .94rem; }

/* ---------- Quote ---------- */
.quote {
  color: #fff; position: relative; overflow: hidden;
  background:
    linear-gradient(105deg, var(--brand-800) 0%, rgba(28,37,96,.92) 55%, rgba(43,58,155,.6) 100%),
    var(--bg-img, linear-gradient(120deg, var(--brand-700), var(--brand-800)));
  background-size: cover; background-position: center;
}
.quote__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr .6fr; gap: 56px; align-items: center; }
.quote__inner { max-width: 820px; }
.quote__figure { display: flex; justify-content: center; }
.quote__portrait {
  width: 280px; height: 280px; border-radius: 50%; object-fit: cover; object-position: center top;
  filter: contrast(1.02);
  border: 3px solid rgba(255,255,255,.28); box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.section__cta { margin-top: 46px; }
.quote blockquote { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.45rem, 3.2vw, 2.15rem); line-height: 1.3; margin: 22px 0 24px; letter-spacing: -.02em; color: #fff; }
.quote blockquote .q-accent { color: #aeb8ec; }
.quote p { color: rgba(255,255,255,.8); margin: 0; font-size: 1.08rem; max-width: 70ch; }

/* ---------- Credentials ---------- */
.creds { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.creds__box h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin: 0 0 18px; padding-bottom: 16px; border-bottom: 2px solid var(--brand); display: inline-block; letter-spacing: -.01em; }
.creds__box ul { margin: 0; padding: 0; list-style: none; }
.creds__box li { position: relative; padding: 0 0 16px 26px; color: #333a52; }
.creds__box li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 8px; border: 1.5px solid var(--brand); border-radius: 50%; }

/* ---------- Lead form ---------- */
.lead__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__aside { order: -1; }  /* info on the left, form on the right */
.form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .82rem; color: var(--brand-700); margin-bottom: 7px; letter-spacing: .01em; }
.field label .req { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: 5px; background: #fff;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-050); }
.field textarea { resize: vertical; min-height: 130px; }
.form .btn { width: 100%; justify-content: center; margin-top: 4px; }
.form__status { margin-top: 16px; font-size: .95rem; font-weight: 600; min-height: 1.2em; }
.form__status.is-ok { color: #1e7a46; }
.form__status.is-error { color: #c0392b; }
.form__note { font-size: .82rem; color: var(--muted); margin: 12px 0 0; }

.contact__aside h2 { font-size: clamp(1.7rem, 3.3vw, 2.35rem); font-weight: 800; margin: 16px 0 16px; text-transform: uppercase; letter-spacing: .03em; }
.contact__aside > p { color: var(--muted); margin: 0 0 30px; }
.contact__row { display: flex; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact__row:first-of-type { border-top: 1px solid var(--line); }
.contact__row .ico { width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 6px; color: var(--brand-800); display: grid; place-items: center; flex: none; }
.contact__row .ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.contact__row .k { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact__row .v { font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.contact__row .v a { color: var(--ink); }
.contact__row .v a:hover { color: var(--brand); }

/* ---------- Footer ---------- */
.footer { background: var(--brand-800); color: rgba(255,255,255,.72); padding: 72px 0 32px; }
.footer__head { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__logo--top img { height: 84px; width: auto; display: block; }
.footer__nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.footer__nav a:not(.btn) { color: rgba(255,255,255,.78); font-weight: 300; font-size: .95rem; }
.footer__nav a:not(.btn):hover { color: #fff; }
.footer__linkedin { display: inline-flex; align-items: center; color: #fff; line-height: 0; }
.footer__linkedin svg { width: 26px; height: 26px; fill: currentColor; }
.footer__linkedin:hover { color: #aeb8ec; }

.footer__tagline { font-family: var(--font-head); font-weight: 800; font-size: 1.42rem; color: #fff; line-height: 1.4; letter-spacing: -.01em; max-width: 720px; margin: 38px 0 0; }
.footer__tagline span { color: #aeb8ec; }

.footer__ackrow { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; padding: 40px 0; margin-top: 2px; border-top: 1px solid rgba(255,255,255,.14); }
.footer__ack h4 { font-family: var(--font-head); color: #fff; font-weight: 800; font-size: 1.15rem; margin: 0 0 14px; letter-spacing: -.01em; }
.footer__ack p { font-size: .95rem; margin: 0; line-height: 1.75; }
.footer__art { display: flex; justify-content: center; align-items: center; }
.footer__art img { width: 210px; height: auto; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: .86rem; }
.footer__bottom a { color: #fff; }

/* ---------- Scroll reveal (subtle, staggered) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section { padding: 88px 0; }
  .section__head { margin-bottom: 44px; }
  /* stacked hero: image sits behind, stronger overlay keeps text legible */
  .hero {
    background:
      linear-gradient(180deg, rgba(19,26,69,.72) 0%, rgba(19,26,69,.90) 55%, var(--brand-800) 100%),
      var(--bg-img, linear-gradient(120deg, var(--brand-700), var(--brand-800)));
    background-size: cover; background-position: center;
  }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 84px 0 40px; }
  .hero__figure { order: -1; justify-self: start; }
  .hero__art { opacity: .08; }
  .hero__strap { position: static; right: auto; bottom: auto; text-align: left; max-width: none; margin: 26px 0 0; padding: 0 28px 8px; }
  .hero__strap-1 { font-size: .9rem; }
  .hero__strap-2 { font-size: 1rem; white-space: normal; }
  .about__grid, .exp, .creds, .contact__grid, .footer__ackrow, .lead__grid, .quote__grid { grid-template-columns: 1fr; }
  .quote__figure { order: -1; justify-content: flex-start; }
  .about__grid { gap: 40px; }
  .exp { gap: 36px; }
  .creds { gap: 32px; }
  .lead__grid { gap: 40px; }
  .footer__top { gap: 36px; }
  .matrix__grid { grid-template-columns: repeat(2, 1fr); }
  .matrix__grid > .matrix__cell:nth-child(3n) { border-right: 1px solid var(--mline); }
  .matrix__grid > .matrix__cell:nth-child(2n) { border-right: 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats .item:nth-child(2) { border-right: 0; }
  .stats .item:nth-child(1), .stats .item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer__art { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .wrap { padding: 0 20px; }
  .section { padding: 64px 0; }
  .header__inner { height: 72px; }
  .brand img { height: 50px; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 20px; gap: 6px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 10px; text-align: center; }
  .nav__toggle { display: block; }
  .cards, .matrix__grid { grid-template-columns: 1fr; }
  .matrix__grid > .matrix__cell { border-right: 0 !important; }
  .motif { display: none; }
  .form { padding: 24px; }
  .form__row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
  .stats .item { border-right: 0; border-bottom: 1px solid var(--line); padding: 30px 20px; }
  .stats .item:last-child { border-bottom: 0; }
  .hero__photo { width: 100%; max-width: 100%; height: 400px; }
  .hero__figure { justify-self: stretch; }
  .hero__strap { padding: 0 20px 8px; }
  .hero__figure::before { display: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .footer__bottom { flex-direction: column; }
  .footer__art img { width: 160px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 2.5rem; }
  .hero__photo { height: 360px; }
}
