/* ---------------------------------------------------------------
   Togi's Tiny Trucks
   Palette: charcoal storefront + brand royal blue + white
   Type: Manrope (display) / Inter (body)
----------------------------------------------------------------*/

:root {
  --ink:        #0E1520;
  --ink-2:      #18222F;
  --slate:      #5B6B7E;
  --slate-2:    #8A98A8;
  --line:       #E3E8EE;
  --paper:      #FFFFFF;
  --mist:       #F4F7FA;
  --blue:       #1F4FD8;
  --blue-dark:  #143BAA;
  --blue-tint:  #EAF0FE;

  --wrap:       1180px;
  --nav-h:      74px;
  --radius:     4px;
  --ease:       cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: 'Manrope', system-ui, sans-serif;
  letter-spacing: -0.022em;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.85rem); font-weight: 800; }
h3 { font-size: 1.09rem; font-weight: 700; letter-spacing: -0.01em; }

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }

.wrap { width: min(100% - 2.8rem, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 720px; }

.eyebrow {
  font-size: .715rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .85rem;
}

.lead { font-size: 1.16rem; color: var(--slate); line-height: 1.6; }

/* ---------------------------------------------------------- nav */

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.7) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 22px rgba(14,21,32,.06);
}

/* Over the full-bleed flyover the nav loses its panel and inverts. The
   footage is bright in places, so a soft top gradient keeps the links
   legible without bringing back a visible bar. */
.nav.over-dark {
  background: linear-gradient(180deg, rgba(8,12,18,.55) 0%, rgba(8,12,18,0) 100%);
  backdrop-filter: none;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}
.nav.over-dark .brand-text { color: #fff; }
.nav.over-dark .brand-text em { color: rgba(255,255,255,.62); }
.nav.over-dark .nav-links a { color: rgba(255,255,255,.86); }
.nav.over-dark .nav-links a:hover,
.nav.over-dark .nav-links a[aria-current="page"] { color: #fff; }
.nav.over-dark .hamburger span { background: #fff; }

.nav.over-dark .nav-cta {
  background: #fff; color: var(--ink) !important;
}
.nav.over-dark .nav-cta:hover { background: var(--blue); color: #fff !important; }

/* The supplied logo is an opaque white-background PNG with no alpha, so on a
   transparent nav it would read as a white block. Fade the mark out and let
   the wordmark carry the brand until a transparent version exists. */
.nav.over-dark .brand-logo { opacity: 0; width: 0; margin-right: -.68rem; }

.brand-logo,
.brand-text, .brand-text em,
.nav-links a, .nav-cta, .hamburger span {
  transition: color .3s var(--ease), background .3s var(--ease),
              opacity .3s var(--ease), width .3s var(--ease);
}
.nav { transition: background .3s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease); }

/* While the mobile menu is open the white panel is showing, so the bar must
   go back to its solid state or the brand turns white-on-white. */
.nav.over-dark:has(.nav-links.open) {
  background: rgba(255,255,255,.96);
}
.nav.over-dark:has(.nav-links.open) .brand-text { color: var(--ink); }
.nav.over-dark:has(.nav-links.open) .brand-text em { color: var(--slate); }
.nav.over-dark:has(.nav-links.open) .brand-logo { opacity: 1; width: 46px; margin-right: 0; }
.nav.over-dark:has(.nav-links.open) .hamburger span { background: var(--ink); }

.nav-inner {
  width: min(100% - 2.8rem, var(--wrap));
  margin-inline: auto;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
}

.brand { display: flex; align-items: center; gap: .68rem; color: var(--ink); }
.brand-logo {
  width: 46px; height: 46px;
  object-fit: contain;
  /* The supplied logo is an opaque white-background PNG with no alpha, so it
     only sits cleanly on light surfaces. Keep it off the dark footer. */
}
.brand-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800; font-size: 1.03rem; letter-spacing: -0.02em;
}
.brand-text em { font-style: normal; color: var(--slate); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: .93rem; font-weight: 500; color: var(--slate);
  transition: color .18s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav-cta {
  background: var(--ink); color: #fff !important;
  padding: .62rem 1.15rem; border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background .2s var(--ease);
}
.nav-cta:hover { background: var(--blue); }

.hamburger {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 0; cursor: pointer;
  padding: 10px 9px;
}
.hamburger span {
  display: block; height: 2px; background: var(--ink);
  border-radius: 2px; margin: 4px 0;
  transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------- hero */

.hero-sub {
  font-size: 1.16rem; color: var(--slate);
  max-width: 33ch; margin-top: 1.35rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

.btn {
  display: inline-flex; align-items: center;
  padding: .88rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600; font-size: .96rem;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.hero-status {
  margin-top: 1.35rem;
  font-size: .9rem; font-weight: 500;
  display: flex; align-items: center; gap: .5rem;
}
.hero-status::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--slate-2);
}
.hero-status.is-open { color: #10794A; }
.hero-status.is-open::before { background: #16A46A; }
.hero-status.is-closed { color: var(--slate); }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin: 2.6rem 0 0;
  padding-top: 1.9rem; border-top: 1px solid var(--line);
}
.hero-facts dt {
  font-size: .69rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--slate-2); margin-bottom: .3rem;
}
.hero-facts dd { margin: 0; font-size: .93rem; font-weight: 600; }

/* ------------------------------------------------- team page */

.page-head {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); margin-bottom: 1.2rem; }

.team-section { padding-top: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.team-card { text-align: left; }

.team-photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--mist);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  margin-bottom: 1.15rem;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.team-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1.28rem; font-weight: 800; letter-spacing: -0.02em;
  margin: 0 0 .3rem;
}
.team-role {
  font-size: .73rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--blue);
  line-height: 1.55;
  margin: 0;
  max-width: 22ch;
}

/* ----------------------------------------------------- cta panel */

.cta-panel {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: 1.8rem;
}
.cta-panel .lead { margin-top: .8rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-actions .btn-ghost { border-color: #CFD8E3; background: var(--paper); }

/* ----------------------------------------------------- sections */

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section.band { background: var(--mist); }

.section-head { max-width: 620px; margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.section-head .lead { margin-top: 1.1rem; }

#about p:not(.lead):not(.eyebrow) { color: var(--slate); }
#about h2 { margin-bottom: 1.4rem; }

/* --------------------------------------------------------- video */

.section.dark { background: var(--ink); color: #fff; }
.section.dark h2 { color: #fff; }
.section.dark .eyebrow { color: #7FA0F5; }
.lead-invert { color: rgba(255,255,255,.72); margin-top: 1.2rem; }

.video-layout {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: clamp(2rem, 4vw, 3.8rem);
  align-items: center;
}

.pull {
  margin: 1.8rem 0 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--blue);
}
.pull p {
  font-family: 'Manrope', sans-serif;
  font-size: 1.12rem; font-weight: 500; line-height: 1.5;
  color: rgba(255,255,255,.9);
  margin-bottom: .7rem;
}
.pull cite {
  font-style: normal; font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

.video-frame { border-radius: var(--radius); overflow: hidden; }

.video-facade {
  position: relative; display: block;
  width: 100%; aspect-ratio: 16 / 9;
  padding: 0; border: 0; cursor: pointer;
  background: #000;
  overflow: hidden;
}
.video-facade img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .82;
  transition: opacity .3s var(--ease), transform .5s var(--ease);
}
.video-facade:hover img { opacity: 1; transform: scale(1.02); }

.video-play {
  position: absolute; inset: 0; margin: auto;
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  transition: background .22s var(--ease), transform .22s var(--ease);
}
.video-play::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0;
  border-left: 18px solid #fff;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  transform: translateX(3px);
}
.video-facade:hover .video-play { background: var(--blue-dark); transform: scale(1.06); }
.video-facade:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.video-label {
  position: absolute; left: 1.15rem; bottom: 1.05rem;
  font-family: 'Manrope', sans-serif;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  color: #fff; text-shadow: 0 1px 12px rgba(0,0,0,.6);
}

.video-frame iframe {
  width: 100%; aspect-ratio: 16 / 9; border: 0; display: block;
}

/* ------------------------------------------------------ why grid */

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.85rem 1.6rem;
}
.card h3 { margin-bottom: .7rem; }
.card p { font-size: .95rem; color: var(--slate); line-height: 1.62; }

/* --------------------------------------------- specs & sale terms */

.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.spec-list { margin: 0; border-top: 2px solid var(--ink); }
.spec-list > div {
  display: grid;
  grid-template-columns: minmax(110px, 30%) 1fr;
  gap: 1.5rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
}
.spec-list dt {
  font-size: .71rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--slate-2);
  padding-top: .18rem;
}
.spec-list dd { margin: 0; font-size: .97rem; font-weight: 500; line-height: 1.5; }

.terms { border-top: 2px solid var(--ink); padding-top: 1.05rem; }
.terms h3 {
  font-size: .71rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--slate-2);
  margin-bottom: .55rem;
}
.terms h3 + p { margin-bottom: 1.7rem; }
.terms p { font-size: .97rem; color: var(--slate); line-height: 1.62; }
.terms strong { color: var(--ink); font-weight: 600; }

/* --------------------------------------------- scroll-driven video */

/* The flyover is the hero: a full-bleed canvas pinned to the viewport while
   the page scrolls past it, with the hero copy laid over the top. */

.scrollvid {
  position: relative;
  height: 320vh;
  background: #0B1017;
  /* Slide up under the sticky nav so the bar overlays the footage rather
     than sitting on a white strip above it. */
  margin-top: calc(-1 * var(--nav-h));
}

.scrollvid-sticky {
  position: sticky; top: 0;
  height: 100vh;
  height: 100svh;          /* avoids the mobile URL-bar jump */
  overflow: hidden;
}

.scrollvid-sticky canvas,
.scrollvid-fallback {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
}

.scrollvid-fallback { z-index: 1; }
.scrollvid-sticky canvas { z-index: 2; opacity: 0; transition: opacity .45s var(--ease); }
.scrollvid.is-live canvas { opacity: 1; }

/* Aerial daylight footage is bright and busy, so the type needs a real
   scrim rather than a text-shadow. Weighted left where the copy sits. */
.scrollvid-scrim {
  position: absolute; inset: 0; z-index: 3;
  background:
    linear-gradient(90deg,
      rgba(8,12,18,.90) 0%,
      rgba(8,12,18,.74) 38%,
      rgba(8,12,18,.34) 70%,
      rgba(8,12,18,.14) 100%),
    linear-gradient(180deg,
      rgba(8,12,18,.55) 0%,
      rgba(8,12,18,0) 26%,
      rgba(8,12,18,0) 62%,
      rgba(8,12,18,.58) 100%);
  pointer-events: none;
}

.scrollvid-overlay {
  position: relative; z-index: 4;
  height: 100%;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 1rem) 0 3rem;   /* clears the nav */
}

/* --- hero copy, inverted for the dark backdrop --- */

.scrollvid-overlay > .wrap { min-width: 0; }
.scrollvid-overlay h1 { color: #fff; }
.scrollvid-overlay .eyebrow { color: #93AEFB; }
.scrollvid-overlay .hero-sub { color: rgba(255,255,255,.84); max-width: 34ch; }

.btn-light { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.34); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.scrollvid-overlay .hero-status { color: rgba(255,255,255,.78); }
.scrollvid-overlay .hero-status.is-open { color: #6FE3AE; }
.scrollvid-overlay .hero-status.is-open::before { background: #35D693; }
.scrollvid-overlay .hero-status.is-closed { color: rgba(255,255,255,.66); }

.scrollvid-overlay .hero-facts {
  border-top-color: rgba(255,255,255,.22);
  max-width: 620px;
}
.scrollvid-overlay .hero-facts dt { color: rgba(255,255,255,.55); }
.scrollvid-overlay .hero-facts dd { color: #fff; }

/* --- scroll cue --- */

.scroll-cue {
  position: absolute; z-index: 5;
  left: 50%; bottom: 1.6rem;
  width: 22px; height: 34px;
  margin-left: -11px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 12px;
}
.scroll-cue::after {
  content: '';
  position: absolute; left: 50%; top: 6px;
  width: 3px; height: 6px; margin-left: -1.5px;
  border-radius: 2px; background: rgba(255,255,255,.85);
  animation: cue 1.7s var(--ease) infinite;
}
@keyframes cue {
  0%   { transform: translateY(0);    opacity: 0; }
  30%  { opacity: 1; }
  70%  { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* --- phones: shorter runway, tighter copy, no cue --- */

@media (max-width: 767px) {
  .scrollvid { height: 260vh; }
  .scrollvid-overlay { padding: calc(var(--nav-h) + .5rem) 0 2.5rem; }
  .scrollvid-overlay h1 { font-size: clamp(2.1rem, 9.5vw, 3rem); }
  .scrollvid-overlay .hero-sub { font-size: 1rem; max-width: none; }
  .scrollvid-scrim {
    background: linear-gradient(180deg,
      rgba(8,12,18,.66) 0%, rgba(8,12,18,.52) 40%, rgba(8,12,18,.86) 100%);
  }
  .scroll-cue { display: none; }
}

/* Reduced motion: no scroll runway at all, just the poster behind the copy. */
@media (prefers-reduced-motion: reduce) {
  .scrollvid { height: auto; }
  .scrollvid-sticky { position: static; height: auto; min-height: 100svh; }
  .scrollvid-sticky canvas { display: none; }
  .scroll-cue { display: none; }
}

/* --------------------------------------------------- inline photos */

/* The supplied photography is 680px wide, so it is only ever shown at
   modest column widths — never full-bleed, where it would look soft. */

.inline-photo,
.office-photo {
  margin: 1.9rem 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}
.office-photo { margin: 0 0 1.25rem; }

.inline-photo img,
.office-photo img {
  width: 100%; height: auto; display: block;
}

.inline-photo figcaption,
.office-photo figcaption {
  padding: .9rem 1.05rem;
  font-size: .85rem; color: var(--slate);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------- visit */

.visit-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.info-block { padding-bottom: 1.9rem; margin-bottom: 1.9rem; border-bottom: 1px solid var(--line); }
.info-block:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.info-block h3 {
  font-size: .71rem; font-weight: 600; letter-spacing: .15em;
  text-transform: uppercase; color: var(--slate-2);
  margin-bottom: .9rem;
}

.address { font-size: 1.22rem; font-weight: 600; line-height: 1.45; margin-bottom: .8rem; }
.address a { color: var(--ink); }
.address a:hover { color: var(--blue); }

.visit-side { display: flex; flex-direction: column; }

.link { font-size: .93rem; font-weight: 600; }
.link:hover { color: var(--blue-dark); }

.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table th {
  text-align: left; font-weight: 500; color: var(--slate);
  padding: .5rem 0;
}
.hours-table td { text-align: right; padding: .5rem 0; font-variant-numeric: tabular-nums; }
.hours-table td.closed { color: var(--slate-2); }
.hours-table tr.hours-today th,
.hours-table tr.hours-today td { color: var(--ink); font-weight: 700; }
.hours-table tr.hours-today th::after {
  content: 'Today';
  display: inline-block; margin-left: .6rem;
  font-size: .63rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-tint);
  padding: .16rem .42rem; border-radius: 3px;
  vertical-align: 2px;
}

.socials { display: flex; flex-wrap: wrap; gap: .55rem; }
.socials a {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: .52rem 1rem; font-size: .89rem; font-weight: 500; color: var(--ink);
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.socials a:hover { border-color: var(--blue); color: var(--blue); }

.visit-map {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
  min-height: 430px;
}
.visit-map iframe { width: 100%; height: 100%; min-height: 430px; border: 0; display: block; }

/* -------------------------------------------------------- footer */

.footer {
  background: var(--ink); color: #fff;
  padding: 3.2rem 0;
  margin-top: clamp(3rem, 6vw, 5rem);
}
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: space-between; align-items: flex-end;
}
.footer-brand {
  font-family: 'Manrope', sans-serif; font-weight: 800;
  font-size: 1.12rem; margin-bottom: .35rem; letter-spacing: -0.02em;
}
.footer-meta { font-size: .87rem; color: rgba(255,255,255,.62); margin: 0 0 .3rem; }
.footer-meta:last-child { margin-bottom: 0; }
.footer-meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-meta a:hover { color: #9DB6F8; }

.footer-end { text-align: right; }
.footer-credit {
  margin: .45rem 0 0;
  font-size: .78rem;
  color: rgba(255,255,255,.42);
}
.footer-credit a { color: rgba(255,255,255,.72); text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: #9DB6F8; }

/* ------------------------------------------------ missing photos */

.img-missing {
  background:
    repeating-linear-gradient(45deg,
      var(--mist) 0 10px, #ECF1F6 10px 20px);
  min-height: 240px;
}

figure.img-missing { min-height: 240px; }


/* ------------------------------------------------- disclaimer modal */

.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1.4rem;
  background: rgba(6, 10, 16, .72);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .28s var(--ease);
}
.modal-overlay.is-open { opacity: 1; }

.modal {
  background: var(--paper);
  border-radius: 6px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  width: min(100%, 520px);
  max-height: calc(100vh - 2.8rem);
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(6, 10, 16, .45);
  transform: translateY(10px);
  transition: transform .28s var(--ease);
}
.modal-overlay.is-open .modal { transform: none; }

.modal h2 {
  font-size: clamp(1.25rem, 3.4vw, 1.6rem);
  margin-bottom: 1rem;
  line-height: 1.22;
}
.modal p { font-size: .96rem; color: var(--slate); line-height: 1.6; }
.modal .eyebrow { color: #C2410C; }

.modal-contact {
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-weight: 500;
}
.modal-contact a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.modal-close { margin-top: 1.5rem; width: 100%; justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal { transition: none; }
}

/* ---------------------------------------------------- footer note */

.footer-note {
  margin-top: 2.2rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.footer-note p {
  margin: 0;
  font-size: .8rem; line-height: 1.6;
  color: rgba(255,255,255,.46);
  max-width: 70ch;
}
.footer-note a { color: rgba(255,255,255,.7); text-decoration: underline; text-underline-offset: 3px; }
.footer-note a:hover { color: #9DB6F8; }

/* --------------------------------------------------------- fade */

.fade-in {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fade-in.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------- responsive */

@media (max-width: 980px) {
  .visit-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr; }
  .video-layout { grid-template-columns: 1fr; }
  .visit-map { min-height: 340px; }
  .visit-map iframe { min-height: 340px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }

  .hamburger { display: block; }

  .nav-links {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: .5rem 1.4rem 1.4rem;
    transform: translateY(-130%);
    transition: transform .32s var(--ease);
    box-shadow: 0 18px 40px rgba(14,21,32,.09);
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-cta { margin-top: .9rem; text-align: center; justify-content: center; }

  .hero-facts { grid-template-columns: 1fr; gap: 1.1rem; }
  .spec-list > div { grid-template-columns: 1fr; gap: .3rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-end { text-align: left; }
}
