:root {
    /* MavCo Group brand palette — sampled from the logo mark */
    --ink: #0A0D0C;          /* deep near-black, the logo linework */
    --ink2: #111614;         /* raised surface */
    --paper: #F2EFE6;        /* warm off-white, from the sand stripe */
    --mut: #9A9C90;          /* muted body text on dark */
    --accent: #BC8C25;       /* brand gold  */
    --accent-ink: #7A5813;   /* gold, darkened for light backgrounds */
    --teal: #4FA0A3;         /* brand teal, lifted for dark bg */
    --green: #4FA96B;        /* brand green, lifted for dark bg */
    --sand: #C7C0A3;         /* brand sand */
    --rust: #D07A38;         /* brand rust, lifted for dark bg */
    --ink-soft: #4A4C44;     /* body text on light sections */
    --line: rgba(199, 192, 163, .16);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { background: var(--ink); overflow-x: clip; }
  html.lenis, html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto !important; }
  .lenis.lenis-stopped { overflow: hidden; }

  body {
    background: var(--ink);
    color: var(--paper);
    font-family: 'Manrope', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
  }
  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--accent); color: var(--ink); }
  img, video { display: block; max-width: 100%; }

  .display {
    font-family: 'Anton', 'Manrope', sans-serif;
    text-transform: uppercase;
    font-weight: 400;
    line-height: .9;
    letter-spacing: .01em;
  }
  .display b { color: var(--accent); font-weight: 400; font-style: normal; }
  .label {
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--mut);
  }
  .label .n { color: var(--accent); }
  #about .label .n { color: var(--accent-ink); }
  #services .label .n { color: var(--teal); }
  #training .label .n { color: var(--accent-ink); }
  #story .label .n { color: var(--green); }
  #quotes .label .n { color: var(--rust); }
  #faqs .label .n { color: var(--teal); }

  /* ---------- loader ---------- */
  #loader {
    position: fixed; inset: 0; z-index: 200;
    background: var(--ink);
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 18px;
    transition: opacity .6s ease, visibility .6s;
  }
  #loader.done { opacity: 0; visibility: hidden; }
  #loader .mark { width: min(340px, 62vw); height: auto; opacity: 0; animation: markIn .9s cubic-bezier(.2,.7,.3,1) forwards; }
  @keyframes markIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
  #loader .bar { width: 160px; height: 2px; background: var(--line); overflow: hidden; }
  #loader .bar i { display: block; height: 100%; width: 40%; background: var(--accent); animation: load 1s ease-in-out infinite; }
  @keyframes load { 0% { transform: translateX(-100%);} 100% { transform: translateX(400%);} }

  /* ---------- nav ---------- */
  #nav {
    position: fixed; inset-inline: 0; top: 14px; z-index: 100;
    margin-inline: clamp(10px, 3vw, 40px);
    height: 60px;
    display: flex; align-items: center; justify-content: space-between;
    padding-inline: 22px;
    border-radius: 12px;
    transition: background .4s;
    border: 1px solid var(--line);
  }
  #nav.floating { background: rgba(10, 13, 12, .84); backdrop-filter: blur(14px); }
  #nav .logo { display: flex; align-items: center; }
  #nav .logo img { height: 44px; width: auto; }
  @media (max-width: 760px) { #nav .logo img { height: 36px; } }
  #nav .links { display: flex; gap: 30px; }
  #nav .links a {
    position: relative; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  }
  #nav .links a::after {
    content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%;
    background: var(--accent); transform: scaleX(0); transform-origin: bottom right;
    transition: transform .3s cubic-bezier(.65, .05, .36, 1);
  }
  #nav .links a:hover::after { transform: scaleX(1); transform-origin: bottom left; }
  #burger {
    display: none; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; align-items: center;
    background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  }
  #burger i { display: block; width: 18px; height: 1.5px; background: var(--paper); transition: transform .35s, opacity .35s; }
  #mobile-menu {
    position: fixed; inset: 0; z-index: 90;
    background: rgba(10,13,12,.97); backdrop-filter: blur(18px);
    display: flex; flex-direction: column; justify-content: center; gap: 8px;
    padding: 0 clamp(24px, 8vw, 48px);
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  #mobile-menu a {
    font-family: 'Anton'; text-transform: uppercase; font-size: clamp(2rem, 9vw, 3rem);
    line-height: 1.15; color: var(--paper);
    opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .5s;
  }
  #mobile-menu a b { color: var(--accent); font-weight: 400; }
  #mobile-menu .mm-foot { margin-top: 34px; color: var(--mut); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; opacity: 0; transition: opacity .5s .25s; }
  body.menu-open #mobile-menu { opacity: 1; visibility: visible; }
  body.menu-open #mobile-menu a { opacity: 1; transform: translateY(0); }
  body.menu-open #mobile-menu a:nth-child(1) { transition-delay: .08s; }
  body.menu-open #mobile-menu a:nth-child(2) { transition-delay: .14s; }
  body.menu-open #mobile-menu a:nth-child(3) { transition-delay: .2s; }
  body.menu-open #mobile-menu a:nth-child(4) { transition-delay: .26s; }
  body.menu-open #mobile-menu a:nth-child(5) { transition-delay: .32s; }
  body.menu-open #mobile-menu a:nth-child(6) { transition-delay: .38s; }
  body.menu-open #mobile-menu .mm-foot { opacity: 1; }
  body.menu-open #burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  body.menu-open #burger i:nth-child(2) { opacity: 0; }
  body.menu-open #burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  @media (max-width: 760px) {
    #nav .links, #nav > .btn { display: none; }
    #burger { display: flex; }
  }

  .btn {
    position: relative; display: inline-flex; align-items: center; gap: 8px;
    width: fit-content; overflow: hidden; cursor: pointer;
    background: var(--accent); color: var(--ink);
    border: none; border-radius: 999px; padding: 13px 28px;
    font-family: 'Manrope'; font-weight: 700; font-size: 11px;
    letter-spacing: .2em; text-transform: uppercase;
  }
  .btn.ghost { background: transparent; color: var(--paper); border: 1px solid var(--line); }
  .btn .flip { position: relative; display: inline-flex; overflow: hidden; }
  .btn .flip span { display: block; transition: transform .5s cubic-bezier(.65, .05, .36, 1), opacity .5s; }
  .btn .flip span:last-child { position: absolute; inset: 0; transform: translateY(164%) skewY(12deg); }
  .btn:hover .flip span:first-child { transform: translateY(-160%) skewY(12deg); }
  .btn:hover .flip span:last-child { transform: translateY(0) skewY(0); }

  /* ---------- hero ---------- */
  #hero { position: relative; height: 100dvh; width: 100%; }
  #video-frame {
    position: relative; z-index: 10; height: 100%; width: 100%;
    overflow: hidden; background: var(--ink2); border-radius: 8px;
  }
  #video-frame video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
  }
  #video-frame .shade {
    position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(to top, rgba(10,13,12,.90) 0%, rgba(10,13,12,.28) 45%, rgba(10,13,12,.38) 100%);
  }
  .hero-content {
    position: absolute; inset: 0; z-index: 5;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 0 clamp(20px, 5vw, 70px) clamp(40px, 7vh, 80px);
  }
  .hero-content .label { margin-bottom: 18px; color: var(--paper); opacity: .75; }
  .hero-h {
    font-size: clamp(2.4rem, 6.4vw, 6rem);
    max-width: 16ch;
  }
  .hero-sub { margin-top: 22px; max-width: 44ch; color: var(--mut); font-size: 15px; }
  .hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
  .hero-corner {
    position: absolute; right: clamp(20px, 4vw, 60px); top: 100px; z-index: 5;
    text-align: right;
  }
  .scroll-cue {
    position: absolute; left: 50%; bottom: 18px; z-index: 6; translate: -50% 0;
    width: 1px; height: 44px; background: var(--line); overflow: hidden;
  }
  .scroll-cue i { position: absolute; inset-inline: 0; top: 0; height: 16px; background: var(--accent); animation: cue 1.6s ease-in-out infinite; }
  @keyframes cue { 0% { transform: translateY(-16px);} 100% { transform: translateY(48px);} }

  /* word-reveal titles */
  .animated-title {
    display: flex; flex-direction: column; gap: .1em;
  }
  .animated-title .line { display: flex; flex-wrap: wrap; gap: .28ch; }
  .intro .animated-title .line, .top .animated-title .line, .contact-panel .animated-title .line { justify-content: center; }
  .intro .animated-title, .top .animated-title, .contact-panel .animated-title { align-items: center; }
  .animated-word {
    display: inline-block; opacity: 0;
    transform: translate3d(10px, 51px, -60px) rotateY(60deg) rotateX(-40deg);
    transform-origin: 50% 50% -150px;
    will-change: opacity, transform;
  }
  .persp { perspective: 900px; }

  section { position: relative; }
  .wrap { width: min(1280px, calc(100% - clamp(32px, 8vw, 120px))); margin-inline: auto; }

  /* ---------- about ---------- */
  #about { background: var(--paper); color: var(--ink); padding-top: 120px; overflow: hidden; }
  #about .label { color: var(--ink-soft); }
  #about .intro { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
  #about .about-h { font-size: clamp(2.4rem, 6.5vw, 5.5rem); max-width: 18ch; color: var(--ink); }
  #about .about-h b { color: var(--accent-ink); }
  #about .sub { max-width: 52ch; color: var(--ink-soft); font-size: 16px; }
  #clip { height: 100dvh; width: 100%; margin-top: 60px; }
  .mask-frame {
    position: absolute; left: 50%; translate: -50% 0; z-index: 20;
    height: 62vh; width: min(420px, 86vw);
    overflow: hidden; border-radius: 26px;
  }
  .mask-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .mask-frame .cap {
    position: absolute; left: 20px; bottom: 18px; z-index: 2;
    font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--paper);
    background: rgba(10,13,12,.62); padding: 8px 14px; border-radius: 999px; backdrop-filter: blur(6px);
  }

  /* ---------- stats ---------- */
  #stats { background: var(--ink); padding: 110px 0; border-block: 1px solid var(--line); }
  .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
  @media (max-width: 860px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
  .stat .num { font-family: 'Anton'; font-size: clamp(3rem, 6vw, 5.2rem); line-height: 1; }
  .stat .num s { text-decoration: none; color: var(--accent); }
  .stat .cap { margin-top: 10px; }

  /* ---------- services bento ---------- */
  #services { background: var(--ink); padding: 130px 0 150px; }
  .sec-head { margin-bottom: 56px; }
  .sec-head .display { font-size: clamp(2.6rem, 7vw, 6.5rem); margin-top: 16px; }
  .bento-main { position: relative; height: min(64vh, 560px); margin-bottom: 26px; }
  .bento-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: minmax(300px, 38vh); gap: 26px;
  }
  @media (max-width: 760px) { .bento-grid { grid-template-columns: 1fr; } }
  .tilt {
    position: relative; overflow: hidden; border-radius: 14px;
    border: 1px solid var(--line); background: var(--ink2);
    transition: transform .3s ease-out;
    transform-style: preserve-3d;
  }
  .tilt > video, .tilt > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; }
  /* readability scrim: dark where the copy sits, clearer through the middle */
  .tilt::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(180deg, rgba(10,13,12,.90) 0%, rgba(10,13,12,.62) 38%, rgba(10,13,12,.45) 62%, rgba(10,13,12,.85) 100%),
      linear-gradient(90deg, rgba(10,13,12,.72) 0%, rgba(10,13,12,.30) 55%, rgba(10,13,12,.10) 100%);
  }
  .tilt .inner {
    position: relative; z-index: 2; height: 100%;
    display: flex; flex-direction: column; justify-content: space-between;
    padding: 26px;
  }
  .tilt .no { font-size: 12px; letter-spacing: .2em; color: var(--accent); }
  .bento-grid > .tilt:nth-child(1) .no { color: var(--teal); }
  .bento-grid > .tilt:nth-child(2) .no { color: var(--green); }
  .bento-grid > .tilt:nth-child(3) .no { color: var(--rust); }
  .bento-grid > .tilt:nth-child(4) .no { color: var(--sand); }
  .bento-grid > .tilt:nth-child(5) .no { color: var(--teal); }
  .bento-grid > .tilt:nth-child(6) .no { color: var(--green); }
  .bento-grid > .tilt:nth-child(7) .no { color: var(--rust); }
  .bento-grid > .tilt:nth-child(8) .no { color: var(--sand); }
  .tilt h3 { font-family: 'Anton'; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.6rem); text-transform: uppercase; line-height: .95; max-width: 14ch; margin-top: 10px; text-shadow: 0 2px 18px rgba(10,13,12,.7); }
  .tilt p { margin-top: 12px; max-width: 46ch; color: rgba(242,239,230,.86); font-size: 14px; font-weight: 400; text-shadow: 0 1px 12px rgba(10,13,12,.6); }
  .pill {
    position: relative; display: inline-flex; align-items: center; gap: 8px; width: fit-content;
    overflow: hidden; border-radius: 999px; padding: 9px 18px; cursor: pointer;
    border: 1px solid var(--line); background: rgba(10,13,12,.62);
    font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(243,241,236,.6);
  }
  /* Keep the "Learn more" button a fixed size and a fixed distance from the
   * card edge. Without flex-shrink:0 the longest card squashed its own button
   * (31px -> 20px) and pushed it flush against the bottom border. The copy
   * block absorbs the overflow instead. */
  .tilt .inner > :first-child { min-height: 0; overflow: hidden; }
  .tilt .inner .pill { flex: 0 0 auto; margin-top: 18px; }
  .pill .glow { pointer-events: none; position: absolute; inset: -1px; opacity: 0; transition: opacity .3s; }
  .pill span, .pill svg { position: relative; z-index: 2; }

  /* ---------- training ---------- */
  #training { background: var(--paper); color: var(--ink); padding: 130px 0; }
  #training .label { color: var(--ink-soft); }
  #training .sec-head .display { color: var(--ink); }
  .train-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
  @media (max-width: 760px) { .train-list { grid-template-columns: 1fr; } }
  .train-card {
    border: 1px solid rgba(10,13,12,.14); border-radius: 14px; padding: 30px;
    background: #FBFAF6; opacity: 0; transform: translateY(40px);
  }
  .train-list > .train-card:nth-child(5) { grid-column: 1 / -1; }
  .train-card .no { color: var(--accent-ink); font-size: 12px; letter-spacing: .2em; }
  .train-card h3 { font-family: 'Anton'; font-weight: 400; text-transform: uppercase; font-size: 1.5rem; margin-top: 10px; }
  .train-card p { color: var(--ink-soft); font-size: 14px; margin-top: 10px; }

  /* ---------- story ---------- */
  #story { background: var(--ink); padding: 140px 0 80px; overflow: hidden; }
  #story .top { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .story-h { font-size: clamp(2.6rem, 7vw, 6rem); mix-blend-mode: difference; position: relative; z-index: 10; pointer-events: none; }
  .story-img-wrap { position: relative; margin-top: -30px; display: flex; justify-content: center; }
  .story-img-mask {
    width: min(900px, 92vw); overflow: hidden; border-radius: 18px;
    clip-path: polygon(6% 0, 96% 6%, 100% 88%, 0% 100%);
  }
  .story-img-mask img { width: 100%; height: auto; will-change: transform; }
  #story .below { display: flex; justify-content: flex-end; margin-top: 40px; }
  #story .below .box { max-width: 380px; }
  #story .below p { color: var(--mut); font-size: 15px; margin-bottom: 20px; }


  /* ---------- clients ---------- */
  #clients { background: var(--ink); padding: 130px 0 140px; border-top: 1px solid var(--line); }
  .client-list { margin-top: 46px; border-top: 1px solid var(--line); }
  .client-row {
    display: flex; align-items: baseline; gap: 26px;
    padding: 26px 6px; border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(26px);
    transition: padding-left .4s cubic-bezier(.65,.05,.36,1);
  }
  .client-row:hover { padding-left: 20px; }
  .client-row .idx {
    flex: 0 0 auto; width: 44px;
    font-size: 11px; letter-spacing: .2em; color: var(--accent);
    font-weight: 600;
  }
  .client-row .cname {
    flex: 1 1 auto;
    font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase;
    font-size: clamp(1.6rem, 4.4vw, 3.4rem); line-height: 1;
    color: var(--paper); letter-spacing: .01em;
    transition: color .35s;
  }
  .client-row:hover .cname { color: var(--accent); }
  .client-row .csector {
    flex: 0 0 auto; text-align: right;
    font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
    color: var(--mut);
  }
  /* each row picks up a stripe colour from the logo */
  .client-list > .client-row:nth-child(2) .idx,
  .client-list > .client-row:nth-child(2):hover .cname { color: var(--teal); }
  .client-list > .client-row:nth-child(3) .idx,
  .client-list > .client-row:nth-child(3):hover .cname { color: var(--green); }
  .client-list > .client-row:nth-child(4) .idx,
  .client-list > .client-row:nth-child(4):hover .cname { color: var(--rust); }
  .client-list > .client-row:nth-child(5) .idx,
  .client-list > .client-row:nth-child(5):hover .cname { color: var(--sand); }
  .clients-note { margin-top: 34px; color: var(--mut); font-size: 12.5px; max-width: 64ch; }
  @media (max-width: 760px) {
    #clients { padding: 80px 0 90px; }
    .client-list { margin-top: 30px; }
    .client-row { padding: 19px 2px; gap: 14px; flex-wrap: wrap; }
    .client-row:hover { padding-left: 2px; }
    .client-row .idx { width: 30px; font-size: 10px; }
    .client-row .cname { font-size: clamp(1.3rem, 7.4vw, 2rem); flex: 1 1 auto; }
    .client-row .csector { flex: 1 0 100%; text-align: left; padding-left: 44px; font-size: 9px; }
  }

  /* ---------- quotes ---------- */
  #quotes { background: var(--ink); padding: 60px 0 130px; }
  .quote-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; }
  @media (max-width: 860px) { .quote-row { grid-template-columns: 1fr; } }
  .quote {
    border: 1px solid var(--line); border-radius: 14px; padding: 30px;
    background: var(--ink2); opacity: 0; transform: translateY(40px);
  }
  .quote q { font-size: 15px; line-height: 1.7; quotes: "\201C" "\201D"; }
  .quote .who { margin-top: 20px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
  .quote-row > .quote:nth-child(2) .who { color: var(--teal); }
  .quote-row > .quote:nth-child(3) .who { color: var(--green); }
  .quote .org { font-size: 12px; color: var(--mut); }

  /* ---------- marquee ---------- */
  #sectors { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--ink); }
  .marquee { display: flex; width: max-content; will-change: transform; animation: mq 34s linear infinite; }
  .marquee span {
    font-family: 'Anton'; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.4rem);
    color: transparent; -webkit-text-stroke: 1px rgba(243,241,236,.4);
    padding-inline: 26px; white-space: nowrap;
  }
  .marquee span b { color: var(--accent); -webkit-text-stroke: 0; font-weight: 400; }
  @keyframes mq { from { transform: translate3d(0,0,0);} to { transform: translate3d(-50%,0,0);} }

  /* ---------- faq ---------- */
  #faqs { background: var(--ink); padding: 130px 0; }
  .faq { border-bottom: 1px solid var(--line); }
  .faq button {
    all: unset; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    width: 100%; padding: 26px 4px; font-family: 'Manrope'; font-weight: 600; font-size: 17px; color: var(--paper);
  }
  .faq button .ic { color: var(--accent); font-size: 22px; transition: rotate .35s; }
  .faq.open button .ic { rotate: 45deg; }
  .faq .a { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
  .faq .a p { color: var(--mut); font-size: 14.5px; padding: 0 4px 26px; max-width: 70ch; white-space: pre-line; }

  /* ---------- contact ---------- */
  #contact { padding: 40px clamp(16px, 4vw, 50px) 30px; background: var(--ink); }
  .contact-panel {
    position: relative; overflow: hidden; border-radius: 18px;
    background: var(--ink2); border: 1px solid var(--line);
    padding: clamp(60px, 12vh, 120px) 30px;
    display: flex; flex-direction: column; align-items: center; text-align: center;
  }
  .contact-panel .deco {
    position: absolute; width: 300px; opacity: .35; z-index: 1;
  }
  .contact-panel .deco.d1 { left: -60px; top: -20px; clip-path: polygon(25% 0%, 74% 0, 69% 64%, 34% 73%); }
  .contact-panel .deco.d2 { right: -40px; bottom: -30px; clip-path: polygon(29% 15%, 85% 30%, 50% 100%, 10% 64%); }
  .contact-panel > * { position: relative; z-index: 2; }
  .contact-h { font-size: clamp(2.6rem, 7vw, 6rem); max-width: 14ch; }
  .contact-panel .phone { margin-top: 26px; font-family: 'Anton'; font-size: clamp(1.3rem, 3vw, 2rem); color: var(--accent); letter-spacing: .04em; }
  .foot {
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
    padding: 26px 6px 0; color: var(--mut); font-size: 12px;
  }

  /* ---------- mobile ---------- */
  @media (max-width: 760px) {
    #nav { top: 10px; margin-inline: 10px; height: 56px; padding-inline: 14px; }
    .hero-content { padding: 0 20px 90px; }
    .hero-h { font-size: clamp(2.1rem, 11vw, 3.2rem); max-width: 100%; }
    .hero-sub { font-size: 14px; }
    .hero-cta { width: 100%; }
    .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
    .hero-corner { top: 84px; right: 20px; left: 20px; text-align: left; }
    .hero-corner .label { font-size: 9px; letter-spacing: .2em; }

    #about { padding-top: 80px; }
    #about .about-h { font-size: clamp(2rem, 10.5vw, 3rem); }
    #about .sub { font-size: 14.5px; padding-inline: 4px; }
    .mask-frame { height: 52vh; width: 78vw; border-radius: 18px; }
    .mask-frame .cap { left: 12px; bottom: 12px; font-size: 9px; padding: 6px 11px; }

    #stats { padding: 70px 0; }
    .stats-grid { gap: 34px 16px; }
    .stat .num { font-size: 2.6rem; }
    .stat .cap { font-size: 9px; letter-spacing: .2em; }

    #services { padding: 80px 0 90px; }
    .sec-head { margin-bottom: 34px; }
    .sec-head .display { font-size: clamp(2.2rem, 11vw, 3.4rem); }
    .bento-main { height: 68vw; min-height: 300px; margin-bottom: 16px; }
    .bento-grid { grid-auto-rows: minmax(240px, auto); gap: 16px; }
    .tilt .inner { padding: 20px; }
    .tilt h3 { font-size: 1.35rem; }
    .tilt p { font-size: 13px; }

    #training { padding: 80px 0; }
    .train-list { gap: 16px; }
    .train-card { padding: 22px; }
    .train-card h3 { font-size: 1.25rem; }

    #story { padding: 90px 0 50px; }
    .story-h { font-size: clamp(2rem, 10.5vw, 3rem); }
    .story-img-wrap { margin-top: 6px; }
    .story-img-mask { clip-path: polygon(3% 0, 98% 3%, 100% 94%, 0% 100%); border-radius: 12px; }
    #story .below { justify-content: center; margin-top: 28px; }
    #story .below .box { max-width: 100%; text-align: center; }
    #story .below .btn { margin-inline: auto; }

    #quotes { padding: 30px 0 80px; }
    .quote-row { margin-top: 30px; gap: 16px; }
    .quote { padding: 22px; }

    #sectors { padding: 18px 0; }
    .marquee span { font-size: 1.2rem; padding-inline: 16px; }

    #faqs { padding: 80px 0; }
    .faq button { font-size: 15px; padding: 20px 2px; gap: 14px; text-align: left; }
    .faq .a p { font-size: 13.5px; }

    #contact { padding: 20px 12px 24px; }
    .contact-panel { padding: 70px 20px; border-radius: 14px; }
    .contact-h { font-size: clamp(2rem, 10.5vw, 3rem); }
    .contact-panel .deco { width: 180px; opacity: .22; }
    .foot { justify-content: center; text-align: center; font-size: 11px; }
  }
  @media (hover: none) {
    .tilt { transition: none; }
    .btn .flip span:last-child { display: none; }
    .btn .flip span:first-child { transform: none !important; }
  }


  /* ---------- nav dropdown ---------- */
  /* the dropdown wrapper is a div among anchors — align it on the same line */
  #nav .links { align-items: center; }
  #nav .links .has-drop { position: relative; display: flex; align-items: center; }
  #nav .links > a, #nav .links .drop-toggle { line-height: 1; }
  #nav .links .drop-toggle { display: inline-flex; align-items: center; gap: 6px; }
  #nav .links .drop-toggle .chev {
    width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
    transform: translateY(-1px) rotate(45deg); transition: transform .3s; opacity: .75; flex: 0 0 auto;
  }
  #nav .links .has-drop:hover .drop-toggle .chev { transform: translateY(1px) rotate(-135deg); }
  #nav .dropdown {
    position: absolute; top: calc(100% + 18px); left: 50%; translate: -50% 0;
    min-width: 290px; padding: 10px;
    background: rgba(10,13,12,.97); backdrop-filter: blur(16px);
    border: 1px solid var(--line); border-radius: 12px;
    display: flex; flex-direction: column; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .28s, transform .28s, visibility .28s;
    z-index: 120;
  }
  #nav .dropdown::before { content: ""; position: absolute; inset: -20px 0 100% 0; }
  #nav .links .has-drop:hover .dropdown,
  #nav .links .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
  #nav .dropdown a {
    display: block; padding: 9px 13px; border-radius: 8px;
    font-size: 11px; letter-spacing: .13em; text-transform: uppercase;
    color: var(--paper); white-space: nowrap;
    transition: background .22s, color .22s;
  }
  #nav .dropdown a::after { display: none; }
  #nav .dropdown a:hover { background: rgba(199,192,163,.09); color: var(--accent); }
  #nav .dropdown a[aria-current="page"] { color: var(--accent); background: rgba(188,140,37,.10); }

  /* mobile: services list inside the burger menu */
  #mobile-menu .mm-sub {
    display: flex; flex-direction: column; gap: 2px;
    margin: 4px 0 10px; padding-left: 2px;
    opacity: 0; transform: translateY(16px); transition: opacity .5s .3s, transform .5s .3s;
  }
  body.menu-open #mobile-menu .mm-sub { opacity: 1; transform: none; }
  #mobile-menu .mm-sub a {
    font-family: 'Manrope', sans-serif; text-transform: none;
    font-size: 14px; line-height: 1.5; letter-spacing: .01em;
    color: var(--mut); opacity: 1; transform: none; transition: color .25s;
    padding: 3px 0;
  }
  #mobile-menu .mm-sub a:hover, #mobile-menu .mm-sub a[aria-current="page"] { color: var(--accent); }

  /* ---------- service page ---------- */
  .svc-hero { position: relative; min-height: 68vh; display: flex; align-items: flex-end; overflow: hidden; }
  .svc-hero > img, .svc-hero > video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
  }
  .svc-hero .shade {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,13,12,.94) 0%, rgba(10,13,12,.55) 46%, rgba(10,13,12,.62) 100%);
  }
  .svc-hero .inner { position: relative; z-index: 3; width: 100%; padding: 150px 0 60px; }
  .svc-crumb { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mut); margin-bottom: 16px; }
  .svc-crumb a { color: var(--mut); }
  .svc-crumb a:hover { color: var(--accent); }
  .svc-hero h1 { font-size: clamp(2.1rem, 5.6vw, 4.6rem); max-width: 18ch; }
  .svc-hero .lead { margin-top: 20px; max-width: 56ch; color: rgba(242,239,230,.9); font-size: 16px; }

  .svc-badges { background: var(--ink2); border-block: 1px solid var(--line); padding: 26px 0; }
  .svc-badges .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .svc-badges .b { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); display: flex; gap: 10px; align-items: baseline; }
  .svc-badges .b i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
  .svc-badges .row > .b:nth-child(2) i { background: var(--teal); }
  .svc-badges .row > .b:nth-child(3) i { background: var(--green); }
  .svc-badges .row > .b:nth-child(4) i { background: var(--rust); }
  @media (max-width: 860px) { .svc-badges .row { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

  .svc-sec { padding: 100px 0; }
  .svc-sec.alt { background: var(--paper); color: var(--ink); }
  .svc-sec.alt .label { color: var(--ink-soft); }
  .svc-sec.alt .label .n { color: var(--accent-ink); }
  .svc-sec.alt .display b { color: var(--accent-ink); }
  .svc-sec.alt p { color: var(--ink-soft); }
  .svc-sec h2.display { font-size: clamp(1.9rem, 4.4vw, 3.2rem); margin-top: 14px; }
  .svc-body { max-width: 62ch; margin-top: 26px; display: flex; flex-direction: column; gap: 17px; }
  .svc-body p { color: var(--mut); font-size: 15.5px; line-height: 1.75; }

  .cap-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 48px; }
  @media (max-width: 820px) { .cap-grid { grid-template-columns: 1fr; } }
  .cap {
    border: 1px solid var(--line); border-radius: 14px; padding: 28px; background: var(--ink2);
    opacity: 0; transform: translateY(32px);
  }
  .cap .n { font-size: 12px; letter-spacing: .2em; color: var(--accent); }
  .cap-grid > .cap:nth-child(2) .n { color: var(--teal); }
  .cap-grid > .cap:nth-child(3) .n { color: var(--green); }
  .cap-grid > .cap:nth-child(4) .n { color: var(--rust); }
  .cap-grid > .cap:nth-child(5) .n { color: var(--sand); }
  .cap h3 { font-family: 'Anton'; font-weight: 400; text-transform: uppercase; font-size: 1.32rem; line-height: 1.02; margin-top: 9px; }
  .cap > p { color: var(--mut); font-size: 14px; margin-top: 12px; line-height: 1.7; }
  .cap ul { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
  .cap li { position: relative; padding-left: 17px; font-size: 13.5px; color: rgba(242,239,230,.76); }
  .cap li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 1px; background: var(--accent); }

  .reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 46px; }
  @media (max-width: 980px) { .reason-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 620px) { .reason-grid { grid-template-columns: 1fr; } }
  .reason { border: 1px solid rgba(10,13,12,.13); border-radius: 13px; padding: 24px; background: #FBFAF6; opacity: 0; transform: translateY(30px); }
  .reason .n { font-size: 12px; letter-spacing: .2em; color: var(--accent-ink); }
  .reason h3 { font-family: 'Anton'; font-weight: 400; text-transform: uppercase; font-size: 1.1rem; margin-top: 8px; color: var(--ink); }
  .reason p { color: var(--ink-soft); font-size: 13.5px; margin-top: 9px; line-height: 1.65; }

  /* image slot the client can drop a photo into */
  .slot { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--ink2); }
  .slot.wide { margin-top: 48px; aspect-ratio: 21 / 8; }
  .slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .slot .ph {
    position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; text-align: center; padding: 20px;
    background: repeating-linear-gradient(45deg, rgba(199,192,163,.045) 0 12px, transparent 12px 24px);
  }
  .slot .ph b { font-family: 'Manrope'; font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); }
  .slot .ph span { font-size: 12px; color: var(--mut); font-family: 'Consolas','Menlo',monospace; letter-spacing: .02em; }
  @media (max-width: 760px) { .slot.wide { aspect-ratio: 16 / 10; } }

  .faq-list { margin-top: 42px; }
  .svc-cta { padding: 40px clamp(16px,4vw,50px) 30px; }
  .svc-cta .panel {
    border: 1px solid var(--line); border-radius: 18px; background: var(--ink2);
    padding: clamp(52px,9vh,92px) 30px; text-align: center;
    display: flex; flex-direction: column; align-items: center;
  }
  .svc-cta h2 { font-size: clamp(1.9rem, 5vw, 3.4rem); max-width: 20ch; }
  .svc-cta p { margin-top: 18px; max-width: 54ch; color: var(--mut); font-size: 15px; }
  .svc-cta .phone { margin-top: 24px; font-family: 'Anton'; font-size: clamp(1.25rem,3vw,1.9rem); color: var(--accent); letter-spacing: .04em; }

  .svc-other { padding: 90px 0 120px; border-top: 1px solid var(--line); }
  .other-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 36px; }
  @media (max-width: 980px) { .other-grid { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 560px) { .other-grid { grid-template-columns: 1fr; } }
  .other-grid a {
    border: 1px solid var(--line); border-radius: 11px; padding: 17px 18px;
    font-family: 'Anton'; text-transform: uppercase; font-size: .95rem; line-height: 1.1;
    color: var(--paper); transition: border-color .3s, color .3s, transform .3s;
  }
  .other-grid a:hover { border-color: rgba(188,140,37,.45); color: var(--accent); transform: translateY(-2px); }

  @media (max-width: 760px) {
    .svc-hero { min-height: 60vh; }
    .svc-hero .inner { padding: 120px 0 44px; }
    .svc-sec { padding: 70px 0; }
    .cap { padding: 22px; }
    .cap-grid { gap: 16px; margin-top: 32px; }
    .reason-grid { gap: 14px; margin-top: 32px; }
  }

  /* ---------- service image plate (replaces the flat .slot) ---------- */
  .shot {
    position: relative; margin: 48px 0 0; isolation: isolate;
    border-radius: 14px; overflow: hidden;
    border: 1px solid var(--line); background: var(--ink2);
    aspect-ratio: 16 / 9;
  }
  .shot.square { aspect-ratio: 1 / 1; max-width: 620px; margin-inline: auto; }
  .shot.ultra { aspect-ratio: 2.42 / 1; }
  .shot.banner { aspect-ratio: 2.5 / 1; }
  @media (max-width: 760px) { .shot.banner { aspect-ratio: 16 / 10; } }
  /* artwork with its own headline: keep the motion, drop our caption */
  .shot.bare figcaption { display: none; }
  .shot.bare .veil { background: linear-gradient(180deg, rgba(10,13,12,.18) 0%, rgba(10,13,12,0) 45%, rgba(10,13,12,.30) 100%); }
  .shot.bare img { filter: saturate(.95) contrast(1.01) brightness(.94); }
  .shot.bare:hover img { filter: none; }
  @media (max-width: 760px) { .shot.ultra { aspect-ratio: 16 / 10; } }
  .shot img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    filter: saturate(.86) contrast(1.02) brightness(.84);
    transform: scale(1.02); transform-origin: center;
    transition: transform .9s cubic-bezier(.22,1,.36,1), filter .6s ease;
  }
  .shot:hover img { transform: scale(1.07); filter: saturate(1) contrast(1.04) brightness(1); }

  /* vignette: heavy at rest so the page reads calm, lifts on hover */
  .shot .veil {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: linear-gradient(180deg, rgba(10,13,12,.42) 0%, rgba(10,13,12,.06) 42%, rgba(10,13,12,.82) 100%);
    transition: opacity .6s ease;
  }
  .shot:hover .veil { opacity: .5; }

  /* gold light that follows the cursor */
  .shot .glow {
    position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
    transition: opacity .45s ease;
    background: radial-gradient(320px circle at var(--gx, 50%) var(--gy, 50%), rgba(188,140,37,.20), transparent 62%);
  }
  .shot:hover .glow { opacity: 1; }

  /* corner brackets — camera-framing motif, pulls in on hover */
  .shot .bk {
    position: absolute; z-index: 4; width: 24px; height: 24px; pointer-events: none;
    border: 1px solid var(--accent); opacity: 0;
    transition: opacity .45s ease, transform .55s cubic-bezier(.22,1,.36,1);
  }
  .shot .bk.tl { top: 18px; left: 18px; border-right: 0; border-bottom: 0; transform: translate(-8px,-8px); }
  .shot .bk.tr { top: 18px; right: 18px; border-left: 0; border-bottom: 0; transform: translate(8px,-8px); }
  .shot .bk.bl { bottom: 18px; left: 18px; border-right: 0; border-top: 0; transform: translate(-8px,8px); }
  .shot .bk.br { bottom: 18px; right: 18px; border-left: 0; border-top: 0; transform: translate(8px,8px); }
  .shot:hover .bk { opacity: .9; transform: translate(0,0); }

  .shot figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
    padding: 70px 26px 24px; display: flex; flex-direction: column; gap: 7px;
    background: linear-gradient(180deg, rgba(10,13,12,0) 0%, rgba(10,13,12,.72) 42%, rgba(10,13,12,.94) 100%);
    transform: translateY(14px); opacity: 0;
    transition: transform .55s cubic-bezier(.22,1,.36,1), opacity .45s ease;
  }
  .shot:hover figcaption { transform: translateY(0); opacity: 1; }
  .shot figcaption b {
    font-family: 'Manrope'; font-weight: 700; font-size: 11px;
    letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
  }
  .shot figcaption span {
    font-size: 13px; line-height: 1.5; max-width: 60ch;
    color: rgba(242,239,230,.92); text-shadow: 0 1px 12px rgba(10,13,12,.8);
  }
  /* placeholder shown until the photo actually loads */
  .shot .ph {
    position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 20px;
  }
  .shot .ph b { font-family: 'Manrope'; font-weight: 700; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--sand); }
  .shot .ph span { font-size: 12px; color: var(--mut); font-family: 'Consolas','Menlo',monospace; }

  /* no hover hardware: show the caption, skip the motion */
  @media (hover: none) {
    .shot img { transform: none; filter: saturate(1) contrast(1.02) brightness(.9); }
    .shot figcaption { transform: none; opacity: 1; }
    .shot .bk { opacity: .55; transform: translate(0,0); }
  }
  @media (prefers-reduced-motion: reduce) {
    .shot img, .shot figcaption, .shot .bk { transition: none; }
    .shot:hover img { transform: scale(1.02); }
  }
  @media (max-width: 760px) {
    .shot { margin-top: 32px; }
    .shot figcaption { padding: 16px 18px; }
    .shot .bk { width: 16px; height: 16px; }
    .shot .bk.tl, .shot .bk.tr { top: 12px; }
    .shot .bk.bl, .shot .bk.br { bottom: 12px; }
    .shot .bk.tl, .shot .bk.bl { left: 12px; }
    .shot .bk.tr, .shot .bk.br { right: 12px; }
  }
