/* RARtech site styles. Plain CSS, no framework. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy-950: #071325;
  --navy-900: #0b1d36;
  --navy-800: #122a4b;
  --navy-700: #1b3a63;
  --blue-600: #1f5fd1;
  --blue-700: #184db0;
  --blue-300: #93b9f4;
  --blue-50: #eef4fd;
  --gray-50: #f5f7fa;
  --gray-100: #e8edf3;
  --gray-200: #d8dfe8;
  --gray-500: #5f6b7c;
  --gray-600: #4a5668;
  --ink: #0e1a2b;
  --white: #ffffff;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 4px;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-700); }
:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--blue-300); }

h1, h2, h3, h4 { font-family: var(--font-head); color: inherit; margin: 0 0 .5em; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.125rem, 1.55rem + 2.5vw, 3.5rem); line-height: 1.08; font-weight: 700; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); line-height: 1.14; font-weight: 700; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
h4 { font-size: 1.0625rem; line-height: 1.35; font-weight: 600; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 72px) 0; }
.section--gray { background: var(--gray-50); }
.section--navy { background: var(--navy-900); color: var(--white); }
.lede { font-size: 1.1875rem; line-height: 1.6; color: var(--gray-600); max-width: 62ch; }
.on-dark .lede, .section--navy .lede { color: #c5d2e4; }
.muted { color: var(--gray-600); }
.eyebrow { display: block; font-family: var(--font-body); font-weight: 700; font-size: .8125rem; letter-spacing: .09em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.on-dark .eyebrow, .section--navy .eyebrow { color: var(--blue-300); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--gray-600); font-size: 1.125rem; }
.section--navy .section-head p { color: #c5d2e4; }
.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; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--navy-900); padding: 10px 14px; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--blue-600); color: var(--white); }
.btn--primary:hover { background: var(--blue-700); color: var(--white); }
.btn--outline { border-color: var(--gray-200); color: var(--navy-900); background: var(--white); }
.btn--outline:hover { border-color: var(--navy-900); color: var(--navy-900); }
.btn--light { background: var(--white); color: var(--navy-900); }
.btn--light:hover { background: var(--blue-50); color: var(--navy-900); }
.btn--ghost-light { border-color: rgba(255,255,255,.45); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.text-link:hover svg { transform: translateX(2px); }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--gray-100); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; color: var(--navy-900); text-decoration: none; }
.logo svg { height: 26px; width: auto; }
.primary-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav-list > li { margin: 0; position: relative; }
.nav-link, .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px;
  font: 600 1rem/1.2 var(--font-body); color: var(--ink); text-decoration: none;
  background: none; border: 0; border-radius: var(--radius); cursor: pointer;
}
.nav-link:hover, .nav-toggle:hover { color: var(--blue-600); }
.nav-link[aria-current="page"] { color: var(--blue-600); }
.nav-toggle svg { width: 14px; height: 14px; transition: transform .15s ease; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.dropdown {
  display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px;
  list-style: none; margin: 0; padding: 8px; background: var(--white);
  border: 1px solid var(--gray-100); border-radius: 6px; box-shadow: 0 12px 32px rgba(11,29,54,.12);
}
.dropdown li { margin: 0; }
.dropdown a { display: block; padding: 10px 12px; border-radius: var(--radius); color: var(--ink); text-decoration: none; font-weight: 600; }
.dropdown a small { display: block; font-weight: 400; color: var(--gray-500); font-size: .875rem; }
.dropdown a:hover { background: var(--gray-50); color: var(--blue-600); }
.has-dropdown:focus-within .dropdown, .dropdown.is-open { display: block; }
.js .has-dropdown:focus-within .dropdown:not(.is-open) { display: none; }
.header-phone { flex: none; }
.header-phone .btn { min-height: 44px; padding: 10px 16px; }
.header-phone .label { font-weight: 600; opacity: .9; }
.menu-button { display: none; }

@media (max-width: 1023px) {
  :root { --header-h: 64px; }
  .header-inner { gap: 12px; }
  .logo svg { height: 22px; }
  .header-phone { margin-left: auto; }
  .header-phone .btn { padding: 9px 12px; font-size: .9375rem; }
  .header-phone .label { display: none; }
  .menu-button {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none;
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); color: var(--navy-900); cursor: pointer;
  }
  .menu-button svg { width: 22px; height: 22px; }
  .menu-button .icon-close { display: none; }
  .menu-button[aria-expanded="true"] .icon-open { display: none; }
  .menu-button[aria-expanded="true"] .icon-close { display: block; }
  .primary-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--white); border-bottom: 1px solid var(--gray-100); box-shadow: 0 16px 24px rgba(11,29,54,.08); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .nav-list > li { border-bottom: 1px solid var(--gray-100); }
  .nav-list > li:last-child { border-bottom: 0; }
  .nav-link, .nav-toggle { width: 100%; padding: 14px 0; font-size: 1.0625rem; justify-content: space-between; }
  .dropdown, .js .has-dropdown:focus-within .dropdown:not(.is-open) { display: block; position: static; min-width: 0; padding: 0 0 10px; border: 0; box-shadow: none; }
  .nav-toggle { display: none; }
  .mobile-only { display: block !important; }
  .dropdown a { padding: 10px 0 10px 14px; border-left: 2px solid var(--gray-100); border-radius: 0; }
}
.mobile-only { display: none; }
.mobile-label { font: 700 .8125rem/1 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--gray-500); padding: 16px 0 8px; }

/* Hero */
.hero { background: var(--navy-900); color: var(--white); padding: clamp(48px, 6vw, 88px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--white); max-width: 20ch; font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem); }
.hero .lede { color: #c5d2e4; margin-bottom: 28px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 6px; }
.hero-media figcaption { font-size: .875rem; color: #9fb0c8; margin-top: 10px; }
.hero-contact { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .975rem; color: #c5d2e4; }
.hero-contact a { color: var(--white); font-weight: 700; text-decoration: none; }
.hero-contact a:hover { text-decoration: underline; }

/* Equipment cards */
.equip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.equip-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--gray-100); border-radius: 6px; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.equip-card:hover { border-color: var(--gray-200); box-shadow: 0 10px 28px rgba(11,29,54,.08); }
.equip-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--gray-50); }
.equip-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.equip-card h3 { font-size: 1.125rem; margin-bottom: 6px; }
.equip-card h3 a { color: var(--ink); text-decoration: none; }
.equip-card h3 a::after { content: ""; position: absolute; inset: 0; }
.equip-card p { color: var(--gray-600); font-size: .98rem; margin-bottom: 14px; }
.equip-card .more { margin-top: auto; font-weight: 700; color: var(--blue-600); font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.equip-card .more svg { width: 15px; height: 15px; }
.equip-card:hover h3 a { color: var(--blue-600); }

/* Work types */
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--gray-200); }
.work-grid > div { padding: 26px 24px 8px 0; }
.work-grid > div + div { padding-left: 24px; border-left: 1px solid var(--gray-200); }
.work-grid h3 { font-size: 1.125rem; }
.work-grid p { color: var(--gray-600); font-size: 1rem; }

/* Split feature */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.split--reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split-media img { width: 100%; border-radius: 6px; object-fit: cover; }
.split-media.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
.split-media figcaption { font-size: .875rem; color: var(--gray-500); margin-top: 10px; }
.section--navy .split-media figcaption { color: #9fb0c8; }

.feature-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 28px 0 32px; }
.feature-list > div { padding: 20px 0; border-top: 1px solid var(--gray-200); }
.section--navy .feature-list > div { border-top-color: rgba(255,255,255,.14); }
.feature-list h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.section--navy .feature-list h3 { color: var(--white); }
.feature-list p { margin: 0; color: var(--gray-600); font-size: 1rem; }
.section--navy .feature-list p { color: #c5d2e4; }
.section--navy .text-link { color: var(--blue-300); }

/* Audience cards */
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.audience-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.audience-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.audience-card .body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.audience-card ul { list-style: none; padding: 0; margin: 4px 0 24px; }
.audience-card li { padding: 12px 0; border-top: 1px solid var(--gray-100); margin: 0; color: var(--gray-600); }
.audience-card li strong { color: var(--ink); }
.audience-card .text-link { margin-top: auto; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0 0 1.25em; }
.checklist li { position: relative; padding-left: 28px; margin: 0; padding-top: 6px; padding-bottom: 6px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid var(--blue-600); border-bottom: 2px solid var(--blue-600); transform: rotate(-45deg); }
.section--navy .checklist li::before { border-color: var(--blue-300); }

/* Areas */
.area-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.area-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.area-list li { margin: 0; padding: 14px 0; border-top: 1px solid var(--gray-200); font-weight: 600; }

/* FAQ */
.faq { border-top: 1px solid var(--gray-200); }
.faq details { border-bottom: 1px solid var(--gray-200); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--navy-900); transition: transform .15s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover { color: var(--blue-600); }
.faq .answer { padding: 0 0 22px; color: var(--gray-600); max-width: 70ch; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); }

/* Contact band */
.contact-band { background: var(--navy-950); color: var(--white); padding: clamp(56px, 6vw, 88px) 0; }
.contact-band-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.contact-band h2 { color: var(--white); }
.contact-band p { color: #c5d2e4; }
.contact-lines { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-lines > div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); align-items: baseline; }
.contact-lines dt { font-size: .8125rem; letter-spacing: .09em; text-transform: uppercase; color: #9fb0c8; font-weight: 700; }
.contact-lines dd { margin: 0; font-size: 1.0625rem; }
.contact-lines a { color: var(--white); font-weight: 700; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }
.contact-lines .big a { font-family: var(--font-head); font-size: 1.5rem; letter-spacing: -0.01em; }

/* Email reveal */
.email-reveal { font: inherit; font-weight: 700; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.email-reveal:hover { color: var(--blue-600); }
.on-dark .email-reveal:hover, .contact-band .email-reveal:hover, .site-footer .email-reveal:hover { color: var(--blue-300); }

/* Page hero (inner pages) */
.page-hero { background: var(--gray-50); border-bottom: 1px solid var(--gray-100); padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0 0 clamp(24px, 3vw, 40px); display: flex; flex-wrap: wrap; gap: 6px; font-size: .9375rem; color: var(--gray-500); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--gray-200); }
.breadcrumb a { color: var(--gray-600); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue-600); text-decoration: underline; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-bottom: 28px; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.page-hero--text .page-hero-grid { grid-template-columns: minmax(0, 1fr); }

/* Prose blocks on service pages */
.prose-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); padding: clamp(36px, 4vw, 56px) 0; border-top: 1px solid var(--gray-200); }
.prose-grid:first-child { border-top: 0; padding-top: 0; }
.prose-grid h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); }
.prose-grid .content > p { color: var(--gray-600); }
.prose-grid .content > p:first-child { color: var(--ink); font-size: 1.125rem; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #2b3748; }
.prose .updated { color: var(--gray-500); font-size: .975rem; }

.two-col-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.two-col-list > div { padding: 18px 0; border-top: 1px solid var(--gray-200); }
.two-col-list h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.two-col-list p { margin: 0; color: var(--gray-600); font-size: 1rem; }

.inline-figure { margin: 0; }
.inline-figure img { width: 100%; border-radius: 6px; aspect-ratio: 3 / 2; object-fit: cover; }
.inline-figure figcaption { font-size: .875rem; color: var(--gray-500); margin-top: 10px; }

/* Related services */
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related-card { position: relative; display: block; padding: 24px; border: 1px solid var(--gray-200); border-radius: 6px; background: var(--white); text-decoration: none; color: var(--ink); transition: border-color .15s ease; }
.related-card:hover { border-color: var(--blue-600); color: var(--ink); }
.related-card h3 { font-size: 1.0625rem; margin-bottom: 6px; color: var(--ink); }
.related-card p { margin: 0; color: var(--gray-600); font-size: .975rem; }
.related-card:hover h3 { color: var(--blue-600); }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 0; border-top: 1px solid var(--gray-200); }
.contact-card { padding: 22px 0; border-bottom: 1px solid var(--gray-200); }
.contact-card h2 { font-size: .8125rem; letter-spacing: .09em; text-transform: uppercase; color: var(--gray-500); font-family: var(--font-body); font-weight: 700; margin-bottom: 8px; }
.contact-card .value { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin: 0 0 4px; }
.contact-card .value a { color: var(--navy-900); text-decoration: none; }
.contact-card .value a:hover { color: var(--blue-600); text-decoration: underline; }
.contact-card .value .email-reveal { font-family: var(--font-head); font-size: 1.25rem; }
.contact-card p { margin: 0; color: var(--gray-600); }
.contact-card address { font-style: normal; font-size: 1.125rem; line-height: 1.5; margin-bottom: 6px; }

.form-panel { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 6px; padding: clamp(22px, 3vw, 36px); }
.form-panel h2 { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 700; font-size: .975rem; }
.field .hint { font-weight: 400; color: var(--gray-500); font-size: .9rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #b9c4d2; border-radius: var(--radius); padding: 11px 12px; width: 100%; min-height: 46px;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(31,95,209,.35); border-color: var(--blue-600); outline-offset: 0; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 1rem; }
.check input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--blue-600); }
.consent { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 14px 16px; }
.consent .check { font-size: .9375rem; line-height: 1.5; color: #2b3748; }
.form-note { font-size: .9375rem; color: var(--gray-600); margin: 0; }
.form-status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-success { background: #e8f5ee; color: #135c34; border: 1px solid #b7dfc7; }
.form-status.is-error { background: #fdeeee; color: #8a1f1f; border: 1px solid #f1c3c3; }
.form-status.is-info { background: var(--blue-50); color: var(--navy-800); border: 1px solid #c9dbf7; display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { background: #9aa8bb; cursor: not-allowed; }

/* Footer */
.site-footer { background: var(--navy-950); color: #c5d2e4; padding: 64px 0 28px; font-size: .975rem; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-footer .logo { color: var(--white); margin-bottom: 16px; }
.site-footer .logo svg { height: 24px; }
.site-footer h2 { font-family: var(--font-body); font-size: .8125rem; letter-spacing: .09em; text-transform: uppercase; color: #8fa2bd; font-weight: 700; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 9px; }
.site-footer a { color: #dfe7f2; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; line-height: 1.6; margin-bottom: 14px; }
.footer-phone { font-family: var(--font-head); font-size: 1.25rem; font-weight: 700; color: var(--white) !important; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; color: #8fa2bd; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-bottom li { margin: 0; }
.footer-bottom a { color: #b6c4d8; }

/* 404 */
.notfound { padding: clamp(72px, 10vw, 140px) 0; }

/* Responsive */
@media (max-width: 1100px) {
  .equip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .work-grid > div:nth-child(n+3) { border-top: 1px solid var(--gray-200); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero-grid, .page-hero-grid, .split, .split--reverse, .contact-band-grid, .area-grid, .faq-layout, .contact-grid, .prose-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1, .page-hero h1 { max-width: none; }
  .split-media.sticky { position: static; }
  .audience-grid, .related-grid { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split-media { order: -1; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 1.0625rem; }
  .equip-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .equip-card { flex-direction: row; }
  .equip-card img { width: 38%; aspect-ratio: auto; min-height: 100%; }
  .equip-card .body { padding: 14px 16px; }
  .equip-card p { font-size: .95rem; margin-bottom: 8px; }
  .work-grid { grid-template-columns: minmax(0, 1fr); }
  .work-grid > div, .work-grid > div + div { padding: 20px 0 4px; border-left: 0; }
  .work-grid > div + div { border-top: 1px solid var(--gray-200); }
  .feature-list, .two-col-list, .form-grid, .check-grid, .area-list { grid-template-columns: minmax(0, 1fr); }
  .contact-lines > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .audience-card .body { padding: 22px 20px 24px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-media img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .contact-band, .btn { display: none !important; }
}

/* Numbered panel shown where a selected photo has not been downloaded yet (see tools/fetch_photos.py) */
.photo-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; max-width: 100%; padding: 16px; text-align: center; background: #f3f6fa; border: 2px dashed #9aabc2; border-radius: 6px; color: var(--navy-800); }
.photo-pending.r43 { aspect-ratio: 4 / 3; }
.photo-pending.rhero { aspect-ratio: 4 / 3.4; }
.photo-pending.r169 { aspect-ratio: 16 / 9; }
.photo-pending.r45 { aspect-ratio: 4 / 5; }
.photo-pending.r32 { aspect-ratio: 3 / 2; }
.pp-num { display: inline-block; font: 700 .75rem/1.2 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: #ffffff; background: #b4232a; padding: 4px 8px; border-radius: 3px; }
.pp-name { font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; color: var(--navy-900); }
.pp-note { font-size: .875rem; color: var(--gray-600); }
.equip-card .photo-pending, .audience-card .photo-pending { border-radius: 0; border-width: 0 0 2px; }
@media (max-width: 640px) { .equip-card .photo-pending { width: 38%; flex: none; aspect-ratio: auto; border-width: 0 2px 0 0; padding: 10px; } .equip-card .pp-note { display: none; } .equip-card .pp-name { font-size: .9375rem; } }

/* Preview build only */
.preview-bar { background: #fff4d6; color: #4a3800; border-bottom: 1px solid #ecd9a0; padding: 10px max(16px, env(safe-area-inset-left, 0px)); font-size: .9375rem; line-height: 1.45; text-align: center; }
.preview-bar a { color: #4a3800; font-weight: 700; }
.mp-list { display: grid; gap: 28px; }
.mp-row { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--gray-200); }
.mp-thumb img { border-radius: 6px; border: 1px solid var(--gray-200); }
.mp-body h2 { font-size: 1.5rem; margin: 10px 0 6px; }
.mp-body h3 { font-size: 1rem; margin: 14px 0 4px; }
.mp-body ul { margin: 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--gray-100); padding: 1px 5px; border-radius: 3px; }
@media (max-width: 700px) { .mp-row { grid-template-columns: minmax(0, 1fr); } }

/* Keep the sticky header clear of a phone's top system bar */
.site-header { top: env(safe-area-inset-top, 0px); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }

.inline-figure--portrait { max-width: 400px; }
.inline-figure--portrait img { aspect-ratio: 4 / 5; }

/* Home hero: copy left, equipment panel right */
.hero { padding: clamp(40px, 5vw, 72px) 0 clamp(44px, 5.5vw, 80px); }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); }
.hero h1 { max-width: 12ch; font-size: clamp(2.375rem, 1.5rem + 3.4vw, 4rem); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.hero .lede { max-width: 34ch; font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); margin-bottom: 30px; }

.hero-kit {
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-rows: auto auto;
  gap: clamp(18px, 2.4vw, 32px) clamp(16px, 2.6vw, 36px);
  padding: clamp(22px, 3.2vw, 44px); border-radius: 8px;
  background: #eef2f6; isolation: isolate;
}
.kit-item { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px; min-width: 0; }
.kit-item img { height: auto; }
.kit-entry { grid-row: 1 / 3; justify-content: center; }
.kit-entry img { width: min(100%, 190px); filter: drop-shadow(0 16px 20px rgba(11, 29, 54, .22)) drop-shadow(0 2px 4px rgba(11, 29, 54, .16)); }
.kit-camera img { width: min(80%, 170px); mix-blend-mode: multiply; }
.kit-switch img { width: min(100%, 290px); mix-blend-mode: multiply; }
.kit-item figcaption { display: flex; align-items: center; gap: 8px; white-space: nowrap; font: 700 .75rem/1.2 var(--font-body); letter-spacing: .09em; text-transform: uppercase; color: var(--navy-700); }
.kit-item figcaption::before { content: ""; width: 14px; height: 2px; background: var(--blue-600); }

/* Service links under the hero */
.service-strip { background: var(--white); border-bottom: 1px solid var(--gray-100); }
.service-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-links a { display: flex; flex-direction: column; gap: 4px; padding: 26px 24px; text-decoration: none; color: var(--ink); border-left: 1px solid var(--gray-100); }
.service-links a:first-child { border-left: 0; padding-left: 0; }
.sl-title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; line-height: 1.3; }
.sl-title svg { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -1px; color: var(--blue-600); transition: transform .15s ease; }
.sl-desc { color: var(--gray-600); font-size: .95rem; }
.service-links a:hover .sl-title { color: var(--blue-600); }
.service-links a:hover .sl-title svg { transform: translateX(2px); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-kit { max-width: 560px; width: 100%; }
  .service-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-links a { padding: 20px 16px; border-left: 1px solid var(--gray-100); }
  .service-links a:nth-child(odd) { border-left: 0; padding-left: 0; }
  .service-links a:nth-child(n+3) { border-top: 1px solid var(--gray-100); }
}
@media (max-width: 640px) {
  .hero h1 { max-width: none; }
  .hero-kit { padding: 18px 14px; gap: 16px 12px; }
  .kit-entry img { width: min(100%, 124px); }
  .kit-camera img { width: min(78%, 112px); }
  .kit-item figcaption { font-size: .6875rem; gap: 6px; }
  .kit-item figcaption::before { width: 10px; }
  .sl-title { font-size: 1rem; }
  .sl-desc { font-size: .875rem; }
}

.nowrap { white-space: nowrap; }

/* Service area with photo */
.area-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.area-split .area-list { margin-top: 8px; }
.area-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
@media (max-width: 900px) { .area-split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .area-grid .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } .area-grid .area-list li { font-size: .9375rem; } }
