/* ============================================================================
   Health In Motion Network — rebuilt stylesheet
   ----------------------------------------------------------------------------
   The original WordPress theme (wp-content/themes/ocn-healthinmotion) and the
   later Wix stylesheet were both lost when the domain was parked. This one is
   written fresh, but its palette is sampled from the company's own brand mark,
   which survives on the Wix CDN and headed every page of the final site:

     navy      #183d6e   the wordmark's primary colour
     cyan      #81d4f6   the wordmark's highlight
     cyan deep #66c4e7
     purple    #685eaa   the wordmark's secondary

   The layout follows the recovered structure: a utility bar and a horizontal
   menu with dropdowns, a full-width hero, then the solution blocks the company
   built its pages around. Every page on the original carried a "Contact Us"
   band and a link-rich footer; so does this one.
   ========================================================================== */

:root {
  --navy: #183d6e;
  --navy-2: #122f56;
  --navy-3: #0d2340;
  --cyan: #81d4f6;
  --cyan-2: #66c4e7;
  --cyan-pale: #eaf7fd;
  --purple: #685eaa;
  --purple-pale: #efedf7;
  --ink: #16222f;
  --text: #3a4756;
  --soft: #64748b;
  --line: #e3e9f0;
  --line-2: #cdd8e4;
  --paper: #ffffff;
  --paper-2: #f5f8fb;
  --paper-3: #eaf0f6;
  --green: #2f8f6b;
  --green-pale: #ecf7f2;
  --amber: #b07d13;
  --rose: #b03a5b;
  --wrap: 1160px;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow: 0 1px 2px rgba(24, 61, 110, .06), 0 6px 20px rgba(24, 61, 110, .06);
  --shadow-lg: 0 2px 6px rgba(24, 61, 110, .08), 0 20px 46px rgba(24, 61, 110, .13);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  --font-head: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--font); font-size: 1.03125rem; line-height: 1.68; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--cyan-2); text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 .55rem; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h3 { font-size: 1.16rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; border-radius: 3px; }

.wrap { width: min(var(--wrap), 91vw); margin-inline: auto; }
.wrap-narrow { width: min(860px, 91vw); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .7rem 1.1rem; z-index: 999; font-weight: 700; }
.skip:focus { left: .5rem; top: .5rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.center { text-align: center; }
.muted { color: var(--soft); }
.small { font-size: .9rem; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 1.9rem; } .mt-4 { margin-top: 2.6rem; }
.narrow { max-width: 68ch; }

.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 .5rem; color: var(--cyan-2); }
.eyebrow.navy { color: var(--navy); }
.eyebrow.purple { color: var(--purple); }
.eyebrow.grey { color: var(--soft); }
.lede { font-size: clamp(1.03rem, 1.5vw, 1.18rem); color: var(--soft); max-width: 64ch; }
.rule { height: 4px; width: 56px; border-radius: 2px; background: var(--cyan); margin: 0 0 1rem; }
.rule.purple { background: var(--purple); }
.rule.navy { background: var(--navy); }
.center .rule { margin-inline: auto; }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark p, .on-dark .lede, .on-dark li { color: #c3d3e4; }
.on-dark .eyebrow { color: var(--cyan); }
.on-dark a { color: var(--cyan); }

/* ================================================================ top bar */
.topbar { background: var(--navy-3); color: #9fb6cd; font-size: .84rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: center; padding: .45rem 0; }
.topbar a { color: #d5e3f0; }
.topbar .sep { margin-left: auto; }
.topbar .sep a { margin-left: 1rem; }

/* =================================================================== header */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(24, 61, 110, .1); }
.header-inner { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; }
.brand { margin-right: auto; display: flex; align-items: center; gap: .7rem; flex: 0 0 auto; }
.brand svg { height: 36px; width: auto; display: block; }
.nav ul { display: flex; align-items: center; gap: .02rem; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; margin: 0; }
.nav a { display: block; padding: .55rem .68rem; color: var(--text); font-size: .92rem; font-weight: 600; border-radius: 4px; }
.nav a:hover { color: var(--navy); background: var(--paper-2); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after { content: ""; display: block; height: 3px; margin-top: .28rem; background: var(--cyan); border-radius: 2px; }
.nav .has-sub > a::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: .34rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .5; }
.nav .submenu { position: absolute; top: calc(100% + 4px); left: 0; display: block; gap: 0;
  width: auto; min-width: 250px; max-width: min(330px, calc(100vw - 2rem));
  background: var(--paper); border-radius: 10px; box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--cyan); padding: .4rem; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px); z-index: 10;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.nav li:hover > .submenu, .nav li:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.nav .submenu a { color: var(--text); font-size: .89rem; font-weight: 400; padding: .44rem .64rem; white-space: normal; }
.nav .submenu a:hover { background: var(--paper-2); color: var(--navy); }
.nav .submenu a[aria-current="page"]::after { display: none; }
.nav > ul > li:nth-last-child(-n+2) > .submenu { left: auto; right: 0; }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line-2); background: none; border-radius: 6px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; margin: 3px auto; transition: transform .22s var(--ease), opacity .22s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.drawer { position: fixed; inset: 0 0 auto; z-index: 190; background: var(--paper); padding: 1.2rem 0 1.6rem;
  border-bottom: 3px solid var(--cyan); box-shadow: 0 18px 40px rgba(24, 61, 110, .18);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; max-height: 100vh; overflow-y: auto; }
.drawer.is-open { opacity: 1; transform: none; visibility: visible; }
.drawer ul { list-style: none; margin: 0 0 1rem; padding: 0; border-top: 1px solid var(--line); }
.drawer li { border-bottom: 1px solid var(--line); }
.drawer a { display: block; padding: .74rem .2rem; color: var(--ink); font-weight: 600; }
.drawer a:hover { color: var(--navy); text-decoration: none; }
.drawer li.sub a { padding-left: 1.2rem; font-size: .9rem; font-weight: 400; color: var(--soft); }
body.no-scroll { overflow: hidden; }

/* ================================================================= buttons */
.btn { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; padding: .72rem 1.35rem; border: 0; border-radius: 6px;
  font-size: .95rem; font-weight: 700; line-height: 1;
  transition: transform .16s var(--ease), background-color .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease); }
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-cyan { background: var(--cyan); color: var(--navy-3); }
.btn-cyan:hover { background: var(--cyan-2); color: var(--navy-3); }
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: #574e93; color: #fff; }
.btn-outline { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--line-2); }
.btn-outline:hover { box-shadow: inset 0 0 0 2px var(--navy); color: var(--navy); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.link-arrow { font-weight: 700; color: var(--navy); }
.link-arrow::after { content: "\2192"; margin-left: .35rem; display: inline-block; transition: transform .18s var(--ease); }
.link-arrow:hover { text-decoration: none; color: var(--cyan-2); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ==================================================================== hero */
.hero { position: relative; background: var(--navy-3); overflow: hidden; }
.hero-stage { position: relative; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility .55s; }
.hero-slide.is-active { position: relative; opacity: 1; visibility: visible; }
.hero-slide .bg { position: absolute; inset: 0; }
.hero-slide .bg img, .hero-slide .bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,35,64,.95) 0%, rgba(13,35,64,.86) 46%, rgba(13,35,64,.42) 80%, rgba(13,35,64,.3) 100%); }
.hero-inner { position: relative; z-index: 2; padding: clamp(2.8rem, 6vw, 5rem) 0; }
.hero-copy { max-width: 44rem; }
.hero-copy h1, .hero-copy h2 { color: #fff; margin: 0 0 .7rem; }
.hero-copy h1 em, .hero-copy h2 em { font-style: normal; color: var(--cyan); }
.hero-copy p { color: #c3d3e4; font-size: clamp(1rem, 1.5vw, 1.14rem); margin: 0 0 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-dots { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0 0 1.7rem; position: relative; z-index: 3; }
.hero-dots button { width: 34px; height: 4px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.32); border-radius: 2px; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.hero-dots button:hover { background: rgba(255,255,255,.6); }
.hero-dots button.is-active { background: var(--cyan); transform: scaleY(1.6); }

/* ============================================================ page hero/top */
.page-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding: clamp(2rem, 4.4vw, 3.2rem) 0 clamp(1.5rem, 3vw, 2.2rem); }
.page-hero h1 { margin: 0 0 .4rem; }
.page-hero .lede { margin: 0; }
.breadcrumb { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--soft); margin: 0 0 .55rem; }
.breadcrumb span { margin: 0 .35rem; }

/* ================================================================ sections */
.section { padding: clamp(2.2rem, 4.8vw, 3.8rem) 0; }
.section-soft { background: var(--paper-2); }
.section-white { background: var(--paper); }
.section-navy { background: var(--navy-3); }
.section-head { margin-bottom: clamp(1.4rem, 2.8vw, 2.2rem); }
.section-head.center { margin-inline: auto; text-align: center; max-width: 68ch; }
.section-head.center .lede { margin-inline: auto; }

.grid { display: grid; gap: 1.3rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.split { display: grid; gap: clamp(1.7rem, 4vw, 3.2rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-wide { grid-template-columns: 1.04fr .96fr; } .split-narrow { grid-template-columns: .92fr 1.08fr; } }

/* =================================================================== cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.4rem 1.5rem 1.5rem; }
.card h3 { margin-top: 0; }
.card-lift { transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
.card-lift:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card-top { border-top: 4px solid var(--cyan); }
.card-top.navy { border-top-color: var(--navy); }
.card-top.purple { border-top-color: var(--purple); }
.card-flat { box-shadow: none; }

.media-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); margin: 0; display: block; color: inherit; }
.media-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--paper-2); }
.media-card img.contain { object-fit: contain; padding: .8rem; }
.media-card .body { padding: 1rem 1.2rem 1.2rem; }
.media-card .body h3 { margin: 0 0 .25rem; font-size: 1.03rem; }
.media-card .body p { margin: 0; }
a.media-card:hover { text-decoration: none; border-color: var(--navy); }

.solution { position: relative; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.solution img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.solution .body { padding: 1.2rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.solution h3 { margin: 0 0 .4rem; }
.solution p { color: var(--soft); flex: 1; }
.solution .link-arrow { margin-top: .3rem; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: .28rem 0 .28rem 1.7rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .62rem; width: 13px; height: 8px; border-left: 3px solid var(--cyan-2); border-bottom: 3px solid var(--cyan-2); transform: rotate(-45deg) scale(.85); transform-origin: left center; }
.checklist.navy li::before { border-color: var(--navy); }
.checklist.purple li::before { border-color: var(--purple); }

.pills { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.pill { display: inline-block; padding: .3rem .82rem; border-radius: 100px; font-size: .8rem; font-weight: 700; background: var(--cyan-pale); color: var(--navy); }
.pill.purple { background: var(--purple-pale); color: var(--purple); }
.pill.grey { background: var(--paper-3); color: var(--soft); }

.stats { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.1rem 1rem; text-align: center; }
.stat b { display: block; font-size: clamp(1.5rem, 2.9vw, 2.1rem); line-height: 1.1; color: var(--navy); letter-spacing: -.02em; }
.stat.purple b { color: var(--purple); }
.stat span { font-size: .85rem; color: var(--soft); }
.section-navy .stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.section-navy .stat b { color: #fff; } .section-navy .stat span { color: #c3d3e4; }

.specs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.specs li { display: flex; gap: 1rem; justify-content: space-between; padding: .66rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.specs .k { color: var(--soft); }
.specs .v { font-weight: 700; text-align: right; color: var(--ink); }
.on-dark .specs, .on-dark .specs li { border-color: rgba(255,255,255,.16); }
.on-dark .specs .k { color: #9fb6cd; } .on-dark .specs .v { color: #fff; }

/* =================================================================== video */
.video-block { position: relative; background: var(--navy-3); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 9; }
.video-block img, .video-block video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-block::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,35,64,.05), rgba(13,35,64,.5)); }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: 76px; height: 76px; border: 0; border-radius: 50%; cursor: pointer; background: var(--cyan); display: grid; place-items: center; box-shadow: 0 12px 36px rgba(13,35,64,.45); transition: transform .18s var(--ease), background-color .18s var(--ease); }
.video-play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent var(--navy-3); }
.video-play:hover { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 1rem 1.2rem; color: #fff; font-weight: 700; font-size: .95rem; }
.video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 4; }
.video-block.is-playing > img, .video-block.is-playing > video, .video-block.is-playing .video-play, .video-block.is-playing .video-cap, .video-block.is-playing::after { display: none; }
.video-block.is-playing video.playing { display: block; z-index: 5; }

.vcard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.vcard .frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-3); }
.vcard .frame img { width: 100%; height: 100%; object-fit: cover; }
.vcard .frame .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border: 0; border-radius: 50%; cursor: pointer; background: rgba(129,212,246,.95); display: grid; place-items: center; transition: transform .16s var(--ease), background-color .16s var(--ease); }
.vcard .frame .play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--navy-3); }
.vcard .frame .play:hover { transform: translate(-50%, -50%) scale(1.1); background: #fff; }
.vcard .frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard .meta { padding: .9rem 1.05rem 1.05rem; display: flex; flex-direction: column; gap: .28rem; flex: 1; }
.vcard .meta h3 { margin: 0; font-size: 1rem; }
.vcard .meta .who { font-size: .85rem; color: var(--soft); margin: 0; }
.vcard .meta .src { font-size: .76rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--soft); margin-top: auto; }

/* ==================================================================== tabs */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.7rem; }
@media (max-width: 699px) { .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; } }
.tab { border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; white-space: nowrap; padding: .56rem 1.1rem; font-size: .9rem; font-weight: 700; color: var(--soft); border-radius: 100px; }
.tab:hover { border-color: var(--navy); color: var(--navy); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tabpanel[hidden] { display: none; }
.tabpanel { animation: fade .3s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* =============================================================== accordion */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: none; border: 0; padding: 1rem .2rem; cursor: pointer; text-align: left; font-weight: 700; font-size: 1.03rem; color: var(--navy); }
.acc-btn:hover { color: var(--cyan-2); }
.acc-btn .chev { flex: 0 0 auto; width: 22px; height: 22px; position: relative; }
.acc-btn .chev::before, .acc-btn .chev::after { content: ""; position: absolute; top: 10px; left: 3px; width: 15px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .22s var(--ease); }
.acc-btn .chev::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .chev::after { transform: rotate(0); }
.acc-panel > div { padding: 0 .2rem 1.2rem; color: var(--soft); }

/* ================================================================= callout */
.callout { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.3rem 1.45rem; }
.callout-cyan { background: var(--cyan-pale); border-color: #c4e7f8; }
.callout-purple { background: var(--purple-pale); border-color: #d8d4ec; }
.callout-navy { background: var(--navy-3); border-color: var(--navy-2); color: #fff; }
.callout-navy h3, .callout-navy h4 { color: #fff; }
.callout-navy p { color: #c3d3e4; }
.notice { background: var(--paper-2); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 1rem 1.15rem; font-size: .93rem; color: var(--soft); }
.notice b, .callout b { color: var(--ink); }
.callout-navy b { color: #fff; }
.section-soft .notice, .section-soft .callout { background: var(--paper); }
.quote { background: var(--paper); border-left: 5px solid var(--cyan); border-radius: var(--radius-lg); padding: 1.4rem 1.6rem; margin: 0; }
.quote blockquote { margin: 0 0 .8rem; font-size: 1.05rem; }
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote figcaption { font-size: .9rem; font-weight: 700; color: var(--navy); }

/* ============================================================ figures/gallery */
.figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(.7rem, 1.7vw, 1.1rem); }
.figure img { width: 100%; border-radius: var(--radius); background: var(--paper-2); }
.figure figcaption { font-size: .88rem; color: var(--soft); margin-top: .7rem; }
.gallery { display: grid; gap: .8rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery figure { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .25s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .82rem; color: var(--soft); padding: .55rem .7rem .7rem; }

/* =================================================================== forms */
.form { display: grid; gap: .95rem; }
.field { display: grid; gap: .34rem; }
.field label { font-size: .88rem; font-weight: 700; color: var(--navy); }
.field .req { color: var(--cyan-2); }
.field input, .field textarea, .field select { width: 100%; padding: .72rem .9rem; border: 1px solid var(--line-2); border-radius: 6px; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper); transition: border-color .16s var(--ease), box-shadow .16s var(--ease); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(24,61,110,.14); }
.field .err { font-size: .84rem; color: #c0392b; min-height: 1.05em; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #c0392b; }
.form-note { font-size: .87rem; color: var(--soft); }
.form-status { border-radius: 6px; padding: .85rem 1.05rem; font-size: .93rem; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--green-pale); color: #235c42; border: 1px solid #bfe0d0; }
.form-status.bad { background: #fdecea; color: #a5342a; border: 1px solid #e9a79f; }
.field-row { display: grid; gap: .95rem; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }

/* ================================================================== footer */
.site-footer { background: var(--navy-3); color: #adc1d6; padding: clamp(2rem, 4vw, 3rem) 0 1.5rem; }
.site-footer h4 { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 .75rem; }
.footer-grid { display: grid; gap: 1.7rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } }
.footer-brand svg { height: 36px; width: auto; margin-bottom: .8rem; }
.footer-brand p { font-size: .91rem; margin: 0 0 .7rem; max-width: 34ch; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 0 0 .34rem; }
.footer-links a { color: #adc1d6; font-size: .91rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .5rem 1.3rem; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.9rem; padding-top: 1.1rem; font-size: .85rem; color: #8ba0b8; }
.footer-bottom a { color: #adc1d6; }

/* =============================================================== utilities */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.to-top { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 150; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; opacity: 0; visibility: hidden; box-shadow: var(--shadow); transition: opacity .2s var(--ease), visibility .2s, transform .2s var(--ease); }
.to-top.is-on { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); }
[id] { scroll-margin-top: 96px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .topbar, .drawer, .to-top, .video-play, .hero-dots { display: none !important; }
  body { background: #fff; }
  .hero, .section-navy, .site-footer, .callout-navy, .video-block { background: #fff !important; color: #000 !important; }
  .on-dark h1, .on-dark h2, .on-dark h3, .hero-copy h1, .hero-copy h2, .hero-copy p { color: #000 !important; }
  a { color: #000 !important; }
}
@media (max-width: 1079px) { .nav, .header-cta { display: none; } .nav-toggle { display: block; } }
@media (min-width: 1080px) { .drawer { display: none; } }
