/* InnovaDrive Group — Template 1
   Shared by every page. Pages are built from src/ by build.py. */

:root {
  /* colour */
  --navy: #0b1c3a;
  --blue: #0b5cff;
  --blue-dark: #0847cc;
  --white: #ffffff;
  --surface: #f2f4f7;
  --line: #d6dce6;
  --line-on-dark: rgba(255, 255, 255, 0.18);
  --text: #0b1c3a;
  --text-soft: #4b5772;
  --text-on-dark-soft: #b9c3d6;
  --error: #b42318;
  --success: #0a6b3d;

  /* type */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --size-display: clamp(2.75rem, 6.3vw, 5.75rem);
  --size-h2: clamp(2rem, 3.5vw, 3.25rem);
  --size-h3: clamp(1.5rem, 2.1vw, 1.875rem);
  --size-lead: clamp(1.125rem, 1.4vw, 1.3125rem);
  --size-body: 1.0625rem;
  --size-small: 0.9375rem;
  --size-fine: 0.8125rem;

  /* space */
  --gutter: 40px;
  --container: 1280px;
  --section: 128px;
  --radius: 4px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--size-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: #fff; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: #fff; color: var(--navy); font-weight: 600; border-radius: var(--radius); }
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }

.section { padding-block: var(--section); }
.section--surface { background: var(--surface); }

h1, h2, h3 { font-weight: 500; font-stretch: 108%; letter-spacing: -0.022em; text-wrap: balance; }
.display { font-size: var(--size-display); line-height: 0.98; letter-spacing: -0.03em; }
.h2 { font-size: var(--size-h2); line-height: 1.06; }
.h3 { font-size: var(--size-h3); line-height: 1.12; }
.lead { font-size: var(--size-lead); line-height: 1.5; }
.soft { color: var(--text-soft); }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em;
  cursor: pointer; transition: background-color 0.15s ease-out, color 0.15s ease-out, border-color 0.15s ease-out;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #dfe6f3; }
.btn--small { min-height: 44px; padding: 0 20px; font-size: var(--size-small); }

.link {
  font-weight: 600; color: var(--blue);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  transition: color 0.15s ease-out;
}
.link:hover { color: var(--navy); }
.on-dark .link { color: #fff; }
.on-dark .link:hover { color: var(--text-on-dark-soft); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  color: #fff;
  transition: background-color 0.2s ease-out, color 0.2s ease-out, box-shadow 0.2s ease-out;
}
.utility { border-bottom: 1px solid var(--line-on-dark); font-size: var(--size-fine); overflow: hidden; max-height: 40px; transition: max-height 0.2s ease-out, border-color 0.2s ease-out; }
.utility-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 24px; }
.utility-links { display: flex; align-items: center; gap: 28px; }
.utility a:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav-inner { display: flex; align-items: center; height: 84px; gap: 40px; transition: height 0.2s ease-out; }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 38px; width: auto; }
.brand .brand-colour { display: none; }
.nav-links { display: flex; align-items: center; gap: 36px; margin-left: auto; font-size: 1rem; font-weight: 500; }
.nav-links > a, .nav-drop-btn { padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color 0.15s ease-out; }
.nav-links > a:hover, .nav-drop-btn:hover,
.nav-links > a[aria-current], .nav-drop-btn[aria-current] { border-bottom-color: currentColor; }
.menu-btn { display: none; }

.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 8px; background: none; border-width: 0 0 2px; border-style: solid; border-color: transparent; font-weight: 500; cursor: pointer; }
.nav-drop-btn svg { width: 11px; height: 7px; transition: transform 0.15s ease-out; }
.nav-drop.is-open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-drop-panel {
  position: absolute; top: calc(100% + 16px); left: -24px; width: 344px; padding: 8px;
  background: #fff; color: var(--navy); border-radius: var(--radius);
  box-shadow: 0 24px 48px -20px rgba(11, 28, 58, 0.4), 0 0 0 1px rgba(11, 28, 58, 0.08);
  visibility: hidden; opacity: 0; transform: translateY(-4px);
  transition: opacity 0.15s ease-out, transform 0.15s ease-out, visibility 0.15s;
}
.nav-drop.is-open .nav-drop-panel { visibility: visible; opacity: 1; transform: none; }
.nav-drop-panel a { display: block; padding: 12px 16px; border-radius: 2px; }
.nav-drop-panel a:hover { background: var(--surface); }
.nav-drop-panel a[aria-current] strong, .nav-drop-panel a:hover strong { color: var(--blue); }
.nav-drop-panel strong { display: block; font-weight: 600; }
.nav-drop-panel span { display: block; margin-top: 1px; font-size: var(--size-fine); font-weight: 400; color: var(--text-soft); }

.site-header.is-scrolled { background: #fff; color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .utility { max-height: 0; border-color: transparent; }
.site-header.is-scrolled .nav-inner { height: 72px; }
.site-header.is-scrolled .brand .brand-white { display: none; }
.site-header.is-scrolled .brand .brand-colour { display: block; }

/* ---------- heroes ---------- */
.hero, .page-hero { position: relative; color: #fff; background: var(--navy); display: flex; align-items: flex-end; }
.hero { min-height: clamp(660px, 100svh, 900px); }
.page-hero { min-height: 640px; }
.page-hero--plain { min-height: 0; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 28, 58, 0.72) 0%, rgba(11, 28, 58, 0.18) 34%, rgba(11, 28, 58, 0.32) 58%, rgba(11, 28, 58, 0.86) 100%),
    linear-gradient(90deg, rgba(11, 28, 58, 0.55) 0%, rgba(11, 28, 58, 0) 62%);
}
.page-hero .hero-media::after {
  background:
    linear-gradient(180deg, rgba(11, 28, 58, 0.78) 0%, rgba(11, 28, 58, 0.34) 36%, rgba(11, 28, 58, 0.5) 60%, rgba(11, 28, 58, 0.9) 100%),
    linear-gradient(90deg, rgba(11, 28, 58, 0.6) 0%, rgba(11, 28, 58, 0.1) 70%);
}
.hero-content, .page-hero-content { position: relative; }
.hero-content { padding-top: 180px; padding-bottom: 148px; }
.hero-content .display { max-width: 13.5ch; }
.page-hero-content { padding-top: 220px; padding-bottom: 80px; }
.page-hero--plain .page-hero-content { padding-top: 232px; padding-bottom: 96px; }
.page-hero .display { font-size: clamp(2.5rem, 5.4vw, 4.75rem); max-width: 16ch; }
.hero .lead, .page-hero .lead { max-width: 38em; margin-top: 28px; color: #e6ebf5; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 36px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; font-size: var(--size-small); color: var(--text-on-dark-soft); }
.crumbs a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.crumbs span:last-child { color: #fff; }

@media (prefers-reduced-motion: no-preference) {
  .hero-content > *, .page-hero-content > * { opacity: 0; transform: translateY(14px); animation: hero-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .hero-content > *:nth-child(2), .page-hero-content > *:nth-child(2) { animation-delay: 0.08s; }
  .hero-content > *:nth-child(3), .page-hero-content > *:nth-child(3) { animation-delay: 0.16s; }
  .page-hero-content > *:nth-child(4) { animation-delay: 0.24s; }
}
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* ---------- business index (home hero bar, "other businesses") ---------- */
.unit-bar { position: relative; z-index: 2; margin-top: -72px; }
.unit-bar-list, .biz-links { display: grid; background: #fff; border-radius: var(--radius); }
.unit-bar-list { grid-template-columns: repeat(5, minmax(0, 1fr)); box-shadow: 0 24px 48px -28px rgba(11, 28, 58, 0.45), 0 0 0 1px rgba(11, 28, 58, 0.06); }
.biz-links { grid-template-columns: repeat(4, minmax(0, 1fr)); box-shadow: 0 0 0 1px var(--line); }
.unit-bar-list a, .biz-links a {
  display: block; height: 100%; padding: 28px 28px 30px;
  border-left: 1px solid var(--line);
  transition: background-color 0.15s ease-out;
}
.unit-bar-list li:first-child a, .biz-links li:first-child a { border-left: 0; border-radius: var(--radius) 0 0 var(--radius); }
.unit-bar-list li:last-child a, .biz-links li:last-child a { border-radius: 0 var(--radius) var(--radius) 0; }
.unit-bar-list a:hover, .biz-links a:hover { background: var(--surface); }
.unit-bar-list strong, .biz-links strong { display: block; font-size: 1.125rem; font-weight: 600; font-stretch: 108%; letter-spacing: -0.01em; line-height: 1.25; }
.unit-bar-list a:hover strong, .biz-links a:hover strong { color: var(--blue); }
.unit-bar-list span, .biz-links span { display: block; margin-top: 6px; font-size: var(--size-small); line-height: 1.4; color: var(--text-soft); }

.others { padding-block: 96px; }
.others .h3 { margin-bottom: 32px; }

/* ---------- home: about ---------- */
.about { padding-top: 112px; }
.about-media { grid-column: 1 / span 6; }
.about-media img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; border-radius: var(--radius); }
.about-media figcaption { margin-top: 12px; font-size: var(--size-fine); color: var(--text-soft); }
.about-body { grid-column: 8 / span 5; align-self: center; }
.about-body .lead { margin-top: 28px; }
.about-body p + p { margin-top: 16px; }
.about-link { display: inline-block; margin-top: 32px; }

.facts { margin-top: 40px; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--size-small); }
.facts dt { color: var(--text-soft); }
.facts dd { font-weight: 500; }
.facts dd a:hover { color: var(--blue); }

/* ---------- home: businesses ---------- */
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: 56px; }
.section-head .h2 { grid-column: 1 / span 6; }
.section-head p { grid-column: 8 / span 5; }

.biz { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-block: 48px; border-top: 1px solid var(--line); }
.biz:last-child { padding-bottom: 0; }
.biz-media { display: block; grid-column: 1 / span 5; }
.biz-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.biz-body { grid-column: 6 / span 4; padding-right: 24px; display: flex; flex-direction: column; align-items: flex-start; }
.biz-body h3 a:hover { color: var(--blue); }
.biz-body p { margin-top: 16px; color: var(--text-soft); }
.biz-body .link { margin-top: auto; padding-top: 28px; }
.biz-services { grid-column: 10 / span 3; }
.biz-services h4 { margin: 6px 0 12px; font-size: var(--size-fine); font-weight: 500; color: var(--text-soft); }
.biz-services li { padding: 11px 0; border-top: 1px solid var(--line); font-size: var(--size-small); font-weight: 500; line-height: 1.35; }
.biz-services li:last-child { border-bottom: 1px solid var(--line); }

/* ---------- promise band ---------- */
.promise { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding-block: 136px; }
.promise-mark { position: absolute; right: -40px; bottom: -120px; height: 620px; width: auto; opacity: 0.16; pointer-events: none; }
.promise .container { position: relative; }
.promise .display { font-size: clamp(2.5rem, 6.6vw, 6rem); max-width: 12ch; }
.promise .lead { max-width: 34em; margin-top: 36px; color: var(--text-on-dark-soft); }
.promise .lead strong { color: #fff; font-weight: 500; }

/* ---------- page sections: intro, split, rows ---------- */
.intro-head { grid-column: 1 / span 6; }
.intro-sub { margin-top: 16px; font-size: var(--size-lead); color: var(--text-soft); }
.intro-body { grid-column: 8 / span 5; }
.intro-body p + p { margin-top: 16px; }

.split-head { grid-column: 1 / span 4; align-self: start; position: sticky; top: 112px; }
.split-head p { margin-top: 20px; color: var(--text-soft); max-width: 26em; }
.split-head .link, .split-head .btn { display: inline-flex; margin-top: 28px; }
.split-body { grid-column: 6 / span 7; }

.rows { border-top: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 24px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 1.375rem; line-height: 1.2; }
.rows p { color: var(--text-soft); font-size: 1rem; }
.rows--numbered { counter-reset: step; }
.rows--numbered > li { grid-template-columns: 56px minmax(0, 5fr) minmax(0, 7fr); counter-increment: step; }
.rows--numbered > li::before { content: counter(step); font-size: 1.375rem; font-weight: 500; font-stretch: 108%; color: var(--blue); font-variant-numeric: tabular-nums; }
.rows--links h3 a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 1px; transition: color 0.15s ease-out, text-decoration-color 0.15s ease-out; }
.rows--links h3 a:hover { color: var(--blue); text-decoration-color: currentColor; }
.rows--compact > li { grid-template-columns: 1fr; row-gap: 6px; padding: 20px 0; }
.rows--compact h3 { font-size: 1.1875rem; }

.band { background: var(--navy); color: #fff; padding-block: var(--section); }
.band .rows, .band .rows > li { border-color: var(--line-on-dark); }
.band .rows p, .band .split-head p { color: var(--text-on-dark-soft); }
.band .split-head .lead { margin-top: 24px; color: #fff; }

.media-left { grid-column: 1 / span 6; }
.media-left img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.media-text { grid-column: 8 / span 5; align-self: center; }
.media-text > p { margin-top: 20px; }
.media-text > p + p { margin-top: 12px; }
.media-text .rows { margin-top: 28px; }
.media-wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.checklist { margin-top: 28px; border-top: 1px solid var(--line); }
.checklist li { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }

.map iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); background: #dfe4ec; filter: grayscale(1) contrast(1.05); }

/* ---------- call-to-action band ---------- */
.cta-band { background: var(--blue); color: #fff; padding-block: 88px; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 40px 64px; }
.cta-band .lead { margin-top: 12px; color: #e3ecff; max-width: 32em; }
.cta-band-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; }
.cta-band-actions p a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* ---------- contact page ---------- */
.enquiry-info { grid-column: 1 / span 5; }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-list div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list dt { color: var(--text-soft); font-size: var(--size-small); padding-top: 2px; }
.contact-list dd { font-weight: 500; font-size: 1.125rem; }
.contact-list dd.plain { font-size: 1rem; }
.contact-list dd a { display: block; width: fit-content; }
.contact-list dd a + a { margin-top: 4px; }
.contact-list dd a:hover { color: var(--blue); }

.form { grid-column: 7 / span 6; background: #fff; border-radius: var(--radius); padding: 44px; box-shadow: 0 0 0 1px rgba(11, 28, 58, 0.06); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field label { display: block; margin-bottom: 8px; font-size: var(--size-small); font-weight: 600; }
.field label small { font-weight: 400; color: var(--text-soft); font-size: inherit; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px;
  background: #fff; border: 1px solid #aeb7c7; border-radius: var(--radius);
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}
.field select {
  appearance: none; padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%230b1c3a' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 92, 255, 0.2); }
.field .hint { margin-top: 8px; font-size: var(--size-fine); color: var(--text-soft); }
.field .error { display: none; margin-top: 8px; font-size: var(--size-fine); font-weight: 500; color: var(--error); }
.field.has-error input, .field.has-error select { border-color: var(--error); }
.field.has-error .error { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form-status { margin-top: 20px; padding: 14px 16px; border-left: 3px solid var(--success); background: #eef7f1; color: var(--success); font-size: var(--size-small); font-weight: 500; }
.form-status[hidden] { display: none; }

.locations-title { margin-bottom: 48px; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.location h3 { margin-top: 24px; font-size: 1.375rem; }
.location p { margin-top: 6px; color: var(--text-soft); }
.location .link { display: inline-block; margin-top: 14px; font-size: var(--size-small); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--text-on-dark-soft); padding: 88px 0 36px; font-size: var(--size-small); }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 48px; }
.footer-brand { grid-column: 1 / span 5; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: 24px; max-width: 30em; }
.footer-col { grid-column: span 2; }
.footer-col--wide { grid-column: span 3; }
.footer-col h2 { font-size: var(--size-small); font-weight: 600; font-stretch: 100%; letter-spacing: 0; color: #fff; margin-bottom: 18px; }
.footer-col li + li { margin-top: 10px; }
.footer-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 72px; padding-top: 28px; border-top: 1px solid var(--line-on-dark); font-size: var(--size-fine); }

/* ---------- mobile contact bar and menu ---------- */
.contact-bar { display: none; }
.mobile-menu { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  :root { --section: 96px; --gutter: 32px; }
  .utility-links a[href^="mailto"] { display: none; }
  .nav-links { gap: 26px; }
  .nav-inner { gap: 28px; }
  .unit-bar-list a, .biz-links a { padding: 22px 20px 24px; }
  .about-body, .intro-body, .media-text { grid-column: 7 / span 6; }
  .biz-body { grid-column: 6 / span 7; padding-right: 0; }
  .biz-body .link { margin-top: 0; }
  .biz-services { grid-column: 6 / span 7; margin-top: 28px; }
  .split-head { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .split-body { grid-column: 1 / -1; }
  .enquiry-info { grid-column: 1 / -1; margin-bottom: 48px; }
  .form { grid-column: 1 / -1; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col, .footer-col--wide { grid-column: span 4; }
}

@media (max-width: 820px) {
  :root { --section: 72px; --gutter: 20px; }
  html { scroll-padding-top: 76px; }
  body { padding-bottom: 68px; }
  .utility { display: none; }
  .nav-inner, .site-header.is-scrolled .nav-inner { height: 64px; }
  .brand img { height: 30px; }
  .nav-links, .nav-inner > .btn { display: none; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
    min-height: 44px; padding: 0 4px; background: none; border: 0; cursor: pointer; font-weight: 600; font-size: 1rem;
  }
  .menu-btn svg { width: 22px; height: 22px; }

  .mobile-menu {
    display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 60;
    background: var(--navy); color: #fff; padding: 0 20px 28px; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity 0.2s ease-out, visibility 0.2s;
  }
  .mobile-menu.is-open { visibility: visible; opacity: 1; }
  .mobile-menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
  .mobile-menu-top img { height: 30px; width: auto; }
  .mobile-menu nav { margin-top: 16px; border-top: 1px solid var(--line-on-dark); }
  .mobile-menu nav > a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line-on-dark); font-size: 1.5rem; font-weight: 500; font-stretch: 108%; letter-spacing: -0.02em; }
  .mobile-menu-group { padding: 16px 0 10px; border-bottom: 1px solid var(--line-on-dark); }
  .mobile-menu-group p { margin-bottom: 4px; font-size: var(--size-small); color: var(--text-on-dark-soft); }
  .mobile-menu-group a { display: block; padding: 9px 0; font-size: 1.1875rem; font-weight: 500; }
  .mobile-menu a[aria-current] { color: #8fb4ff; }

  .hero { min-height: clamp(600px, 92svh, 760px); }
  .hero-content { padding-top: 120px; padding-bottom: 48px; }
  .hero-actions { gap: 20px; }
  .hero-media img { object-position: 38% 50%; }
  .page-hero { min-height: 520px; }
  .page-hero--plain { min-height: 0; }
  .page-hero-content { padding-top: 128px; padding-bottom: 48px; }
  .page-hero--plain .page-hero-content { padding-top: 120px; padding-bottom: 56px; }

  .unit-bar { margin-top: 0; padding-inline: 0; }
  .unit-bar-list, .biz-links { grid-template-columns: 1fr; }
  .unit-bar-list { border-radius: 0; box-shadow: none; border-bottom: 1px solid var(--line); }
  .unit-bar-list a, .biz-links a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 20px; border-left: 0; border-top: 1px solid var(--line); border-radius: 0 !important; }
  .unit-bar-list li:first-child a, .biz-links li:first-child a { border-top: 0; }
  .unit-bar-list strong, .biz-links strong { font-size: 1.0625rem; }
  .unit-bar-list span, .biz-links span { margin-top: 0; text-align: right; font-size: var(--size-fine); }
  .others { padding-block: 64px; }

  .about { padding-top: 72px; }
  .grid, .section-head, .biz { display: block; }
  .about-body, .intro-body, .media-text { margin-top: 36px; }
  .facts div { grid-template-columns: 110px 1fr; }
  .section-head { margin-bottom: 40px; }
  .section-head p { margin-top: 16px; }
  .biz { padding-block: 40px; }
  .biz-body { margin-top: 24px; display: block; }
  .biz-body .link { display: inline-block; margin-top: 20px; padding-top: 0; }
  .biz-services { margin-top: 28px; }
  .split-head { margin-bottom: 32px; }

  .promise { padding-block: 88px; }
  .promise-mark { height: 380px; right: -60px; bottom: -80px; }
  .rows > li { grid-template-columns: 1fr; row-gap: 8px; padding: 22px 0; }
  .rows--numbered > li { grid-template-columns: 36px 1fr; }
  .rows--numbered > li p { grid-column: 2; }
  .media-wide img { aspect-ratio: 4 / 3; }

  .cta-band { padding-block: 64px; }
  .cta-band-actions .btn { width: 100%; }

  .contact-list div { grid-template-columns: 96px 1fr; }
  .form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-actions .btn { width: 100%; }
  .location-grid { grid-template-columns: 1fr; gap: 40px; }
  .map iframe { aspect-ratio: 4 / 3; }

  .site-footer { padding: 64px 0 28px; }
  .footer-grid { display: block; }
  .footer-col { margin-top: 36px; }
  .footer-base { margin-top: 48px; }

  .contact-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; inset: auto 0 0 0; z-index: 50;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -1px 0 var(--line);
  }
  .contact-bar .btn { min-height: 48px; padding: 0 12px; }
}

/* photo crops */
.crop-top { object-position: 50% 0; }
