/* Coral Pharmaceuticals Limited: shared website styles */

:root {
  --navy: #092B65;
  --navy-deep: #061E48;
  --navy-ink: #04163A;
  --teal: #299DB8;
  --teal-text: #1B7F98;      /* teal for text on light backgrounds (AA) */
  --teal-light: #63C6DE;     /* teal for text on navy (AA) */
  --cool: #F5F8FB;
  --line: #DCE4EE;
  --ink: #1B2A41;
  --ink-soft: #4A5B75;
  --white: #fff;

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --header-h: 92px;
  --radius: 2px;
  --wrap: 1200px;
}

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

html { color-scheme: light; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
address { font-style: normal; }

h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.015em; color: var(--navy); text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }

.container { width: min(100% - 48px, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 28px;
  font: 700 0.95rem/1 var(--font); letter-spacing: 0.02em; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; touch-action: manipulation; transition: background-color .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-accent { background: var(--teal); color: var(--navy-ink); }
.btn-accent:hover { background: var(--teal-light); }
.btn-outline-light { border-color: rgba(255,255,255,.75); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.link-arrow {
  display: inline-block; font-weight: 700; color: var(--navy); text-decoration: none;
  border-bottom: 2px solid var(--teal); padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.link-arrow:hover { color: var(--teal-text); }

/* ---------- Type helpers ---------- */
.eyebrow {
  margin: 0 0 16px; font-size: .8125rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-text);
}
.eyebrow-light { color: var(--teal-light); }

.section { padding: clamp(72px, 9vw, 120px) 0; }

h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 800; margin-bottom: 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(9,43,101,.07); }

.header-inner {
  width: min(100% - 48px, var(--wrap)); margin-inline: auto; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { height: 78px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > ul { display: flex; align-items: center; gap: 26px; }
.primary-nav > ul > li > a,
.nav-dropdown-toggle {
  position: relative; display: inline-flex; min-height: 44px; align-items: center; padding: 8px 0;
  font-size: .9rem; font-weight: 700; color: var(--navy); text-decoration: none;
}
.primary-nav > ul > li > a,
.nav-dropdown-toggle { border: 0; border-bottom: 2px solid transparent; background: transparent; cursor: pointer; font-family: inherit; }
.primary-nav > ul > li > a:hover,
.primary-nav > ul > li > a[aria-current="page"],
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.is-current,
.nav-dropdown-toggle[aria-expanded="true"] { border-bottom-color: var(--teal); }
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { gap: 7px; }
.nav-dropdown-toggle svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .2s ease; }
.nav-dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 110;
  width: 210px; transform: translateX(-50%); padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(9,43,101,.15);
}
.nav-dropdown-menu[hidden] { display: none; }
.nav-dropdown-menu li + li { margin-top: 2px; }
.nav-dropdown-menu a {
  display: flex; align-items: center; min-height: 44px; padding: 10px 12px;
  color: var(--navy); border-radius: var(--radius); font-size: .9rem; font-weight: 700; text-decoration: none;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible,
.nav-dropdown-menu a[aria-current="page"] { background: var(--cool); color: var(--navy); }
.nav-cta { min-height: 44px; padding: 0 22px; }

.nav-toggle {
  display: none; width: 48px; height: 48px; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--navy); content: ""; position: relative;
  transition: transform .25s, background-color .25s;
}
.nav-toggle-bars::before { position: absolute; top: -7px; }
.nav-toggle-bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
  :root { --header-h: 80px; }
  body.nav-open { overflow: hidden; }
  .brand img { height: 62px; }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px 24px max(24px, env(safe-area-inset-bottom)); box-shadow: 0 16px 28px rgba(9,43,101,.1);
    -webkit-overflow-scrolling: touch;
    display: none;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav > ul > li > a,
  .nav-dropdown-toggle { width: 100%; min-height: 52px; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line) !important; font-size: 1rem; }
  .nav-dropdown-menu {
    position: static; width: 100%; transform: none; padding: 6px 0 8px 16px;
    border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none;
  }
  .nav-dropdown-menu a { min-height: 48px; padding: 12px 16px; font-size: .96rem; }
  .nav-cta { width: 100%; min-height: 50px; margin-top: 20px; }
}

/* ---------- Photography ---------- */
.media {
  position: relative; overflow: hidden; background-color: #DDE7EF;
}
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff;
  min-height: clamp(560px, 78vh, 760px); display: flex; align-items: center;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4,22,58,.9) 0%, rgba(6,30,72,.74) 44%, rgba(6,30,72,.18) 76%, rgba(6,30,72,.04) 100%);
}
.hero-content { padding: 96px 0; }
.hero h1 {
  max-width: 14.5em; color: #fff;
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-style: italic; font-weight: 600; line-height: 1.08; letter-spacing: -.025em;
}
.hero-title-line { display: block; }
.hero h1 em {
  display: block; margin-top: .08em;
  font-family: inherit; font-size: 1em; font-style: inherit; font-weight: inherit;
  line-height: inherit; letter-spacing: inherit;
}
.hero-lead { max-width: 36em; margin: 24px 0 0; font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: rgba(255,255,255,.9); }

/* ---------- Intro ---------- */
.intro p { color: var(--ink-soft); font-size: 1.125rem; }
.intro .link-arrow { margin-top: 14px; }

/* ---------- Services ---------- */
.services { background: var(--cool); padding-top: clamp(72px, 9vw, 110px); }
.services-head { max-width: 680px; text-align: center; margin-bottom: 56px; }
.services-head .eyebrow { margin-bottom: 12px; }
.services-head p:last-child { color: var(--ink-soft); margin: 0; }

.tile-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tile { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.tile-media { position: absolute; inset: 0; z-index: -2; }
.tile-media img { transition: transform .55s ease; }
.tile-media--2 img { object-position: 28% center; }
.tile-media--3 img { object-position: 78% center; }
.tile:hover .tile-media img, .tile:focus-within .tile-media img { transform: scale(1.025); }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,30,72,.25) 0%, rgba(6,30,72,.6) 45%, rgba(6,30,72,.94) 100%);
}

.tile-body { padding: 34px 30px 36px; }
.tile h3 { color: #fff; font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; }
.tile p { color: rgba(255,255,255,.88); font-size: .98rem; line-height: 1.6; margin-bottom: 20px; }
.tile-link {
  display: inline-flex; gap: 10px; align-items: center; font-weight: 700; font-size: .92rem;
  color: #fff; text-decoration: none; border-bottom: 2px solid var(--teal); padding-bottom: 3px;
}
.tile-link:hover { border-bottom-color: #fff; }
.tile-link::before { content: ""; position: absolute; inset: 0; z-index: 2; } /* whole tile is clickable */
.tile-link:focus-visible { outline-offset: 4px; }

/* ---------- Contract services ---------- */
.contract { background: var(--navy); color: #fff; }
.contract-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 580px; }
.contract-media { min-height: 380px; }
.contract-copy { align-self: center; padding: clamp(48px, 7vw, 100px) clamp(24px, 6vw, 96px); max-width: 680px; }
.contract h2 { color: #fff; }
.contract-copy p { color: rgba(255,255,255,.88); }
.contract-copy .btn { margin-top: 14px; }

/* ---------- Capabilities ---------- */
.capabilities { background: #fff; padding: clamp(72px, 9vw, 112px) 0; }
.cap-head { text-align: center; max-width: 620px; margin: 0 auto 64px; }
.cap-head p:last-child { color: var(--ink-soft); margin: 0; }

.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cap { padding: 36px 34px 38px; border: 1px solid var(--line); background: var(--cool); }
.cap-icon { width: 52px; height: 52px; color: var(--teal-text); margin-bottom: 24px; padding: 11px; border-radius: 50%; background: #E4F3F7; }
.cap h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 10px; }
.cap p { margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }

/* ---------- Locations ---------- */
.locations { background: var(--cool); }
.loc-head p:last-child { color: var(--ink-soft); }
.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 56px; max-width: 960px; margin-inline: auto; }
.loc { background: #fff; border: 1px solid var(--line); padding: 40px 40px 38px; }
.loc h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 18px; }
.loc address { color: var(--ink-soft); margin-bottom: 14px; }
.loc-phone { margin-bottom: 22px; font-weight: 600; }
.loc-phone a { text-decoration: none; color: var(--navy); }
.loc-phone a:hover { text-decoration: underline; }
.loc-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin-top: 24px; }

/* ---------- Interior and location pages ---------- */
.inner-hero {
  position: relative; isolation: isolate; min-height: clamp(390px, 55vh, 560px);
  display: flex; align-items: end; color: #fff;
}
.inner-hero-media { position: absolute; inset: 0; z-index: -2; }
.inner-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(4,22,58,.92) 0%, rgba(6,30,72,.74) 52%, rgba(6,30,72,.18) 100%);
}
.inner-hero-content { padding: clamp(72px, 9vw, 112px) 0; }
.inner-hero h1 { color: #fff; font-size: clamp(2.25rem, 5vw, 4rem); max-width: 13em; }
.inner-hero .hero-lead { max-width: 42em; }
.breadcrumbs { margin-bottom: 28px; font-size: .86rem; font-weight: 700; color: rgba(255,255,255,.84); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--teal-light); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.location-overview { background: #fff; }
.location-overview-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr); gap: clamp(44px, 7vw, 96px); align-items: start; }
.prose { max-width: 720px; }
.prose p { color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }
.detail-card { background: var(--cool); border: 1px solid var(--line); padding: clamp(28px, 4vw, 42px); }
.detail-card h2 { font-size: 1.35rem; margin-bottom: 22px; }
.detail-list { display: grid; gap: 18px; }
.detail-list div { padding-top: 18px; border-top: 1px solid var(--line); }
.detail-list div:first-child { padding-top: 0; border-top: 0; }
.detail-list dt { margin-bottom: 4px; font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--teal-text); }
.detail-list dd { margin: 0; color: var(--ink); }
.detail-list a { color: var(--navy); font-weight: 700; text-decoration: none; }
.detail-list a:hover { text-decoration: underline; }

.facility { background: var(--cool); }
.facility-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.facility-media { min-height: 460px; }
.facility-copy p { color: var(--ink-soft); }
.service-list { display: grid; gap: 14px; margin: 28px 0 0; }
.service-list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.service-list li::before { content: ""; position: absolute; left: 0; top: .65em; width: 12px; height: 2px; background: var(--teal); }

.directions { background: #fff; }
.directions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.map-panel { min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px; background: var(--navy); color: #fff; }
.map-panel svg { width: 54px; height: 54px; color: var(--teal-light); margin-bottom: 22px; }
.map-panel h2 { color: #fff; font-size: 1.7rem; }
.map-panel p { color: rgba(255,255,255,.82); max-width: 30em; }
.map-panel .btn { margin-top: 10px; }
.visit-note { padding: 24px 26px; border-left: 4px solid var(--teal); background: #EAF5F8; color: var(--ink-soft); }

.location-switch { background: var(--cool); }
.location-switch-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.location-switch h2 { margin-bottom: 12px; }
.location-switch p { margin: 0; color: var(--ink-soft); }

.locations-page .loc-grid { max-width: none; }
.locations-page .loc { display: flex; flex-direction: column; min-height: 100%; }
.locations-page .loc p { color: var(--ink-soft); }
.locations-page .loc-actions { margin-top: auto; padding-top: 14px; }
.source-note { margin-top: 24px; font-size: .84rem; color: var(--ink-soft); }

/* ---------- About and policy pages ---------- */
.document-hero {
  padding: clamp(72px, 9vw, 112px) 0;
  color: #fff; background: var(--navy);
}
.document-hero .breadcrumbs { margin-bottom: 24px; }
.document-hero h1 { max-width: 15em; margin-bottom: 18px; color: #fff; }
.document-hero p:last-child { max-width: 48em; margin: 0; color: rgba(255,255,255,.86); font-size: 1.08rem; }
.document-section { background: #fff; }
.document-layout { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 760px); gap: clamp(44px, 7vw, 96px); align-items: start; }
.document-nav { position: sticky; top: calc(var(--header-h) + 24px); padding: 26px; border: 1px solid var(--line); background: var(--cool); }
.document-nav h2 { margin-bottom: 14px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.document-nav ol { display: grid; gap: 9px; padding-left: 20px; color: var(--ink-soft); font-size: .9rem; }
.document-nav a { color: var(--navy); text-decoration: none; }
.document-nav a:hover { text-decoration: underline; }
.document-content { min-width: 0; }
.document-content > p:first-child { font-size: 1.08rem; color: var(--ink); }
.document-content section { scroll-margin-top: calc(var(--header-h) + 24px); padding-top: 34px; margin-top: 34px; border-top: 1px solid var(--line); }
.document-content section:first-of-type { margin-top: 0; }
.document-content h2 { margin-bottom: 16px; font-size: clamp(1.45rem, 3vw, 1.9rem); }
.document-content h3 { margin: 24px 0 10px; font-size: 1.08rem; }
.document-content p, .document-content li { color: var(--ink-soft); }
.document-content ul, .document-content ol { display: grid; gap: 10px; margin: 14px 0 20px; padding-left: 24px; }
.document-content a { color: var(--navy); font-weight: 700; }
.document-content address { padding: 20px 22px; border-left: 4px solid var(--teal); background: var(--cool); color: var(--ink-soft); }
.document-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 34px; padding: 18px 20px; background: var(--cool); border: 1px solid var(--line); font-size: .9rem; }
.document-meta strong { color: var(--navy); }
.notice-box { margin: 24px 0; padding: 22px 24px; border-left: 4px solid var(--teal); background: #EAF5F8; }
.notice-box p:last-child { margin-bottom: 0; }
.about-story { background: #fff; }
.about-story-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(320px, 5fr); gap: clamp(44px, 7vw, 92px); align-items: center; }
.about-story-copy p { color: var(--ink-soft); }
.about-story-media { min-height: 430px; }
.about-values { background: var(--cool); }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 42px; }
.about-fact { padding: 30px; background: #fff; border: 1px solid var(--line); }
.about-fact strong { display: block; margin-bottom: 8px; color: var(--navy); font-size: 1.15rem; }
.about-fact p { margin: 0; color: var(--ink-soft); }

/* ---------- Location photography ---------- */
.location-gallery { background: #fff; }
.contact + .location-gallery,
.locations + .location-gallery { border-top: 1px solid var(--line); }
.location-gallery-head { margin-bottom: 44px; }
.location-gallery-head p:last-child { color: var(--ink-soft); margin-bottom: 0; }
.location-photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.location-photo-card {
  display: block; min-width: 0; overflow: hidden; color: var(--ink); background: var(--cool);
  border: 1px solid var(--line); text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.location-photo-card:hover,
.location-photo-card:focus-visible { border-color: var(--teal); box-shadow: 0 12px 28px rgba(9,43,101,.1); }
.location-photo-card picture { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #E8EEF5; }
.location-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.location-photo-caption { display: grid; gap: 4px; padding: 22px 24px 24px; }
.location-photo-caption strong { color: var(--navy); font-size: 1.18rem; line-height: 1.35; }
.location-photo-caption > span:not(.location-photo-link) { color: var(--ink-soft); font-size: .94rem; }
.location-photo-link { margin-top: 8px; color: var(--navy); font-size: .9rem; font-weight: 800; }
.location-gallery-single { background: var(--cool); }
.location-photo-feature { max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid var(--line); }
.location-photo-feature picture,
.location-photo-feature img { display: block; width: 100%; height: auto; }
.location-photo-feature figcaption { padding: 18px 22px; color: var(--ink-soft); font-size: .92rem; font-weight: 600; }

/* ---------- Contact ---------- */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-copy p:not(.eyebrow) { color: var(--ink-soft); }
.contact-direct { margin: 32px 0 0; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.contact-direct div { display: flex; gap: 20px; align-items: baseline; }
.contact-direct dt { width: 90px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-text); }
.contact-direct dd { margin: 0; font-weight: 700; }
.contact-direct a { text-decoration: none; color: var(--navy); }
.contact-direct a:hover { text-decoration: underline; }

.inquiry { background: var(--cool); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 24px; }
.field-full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 8px; font-size: .86rem; font-weight: 700; color: var(--navy); }
.req { color: #B3261E; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: 500 1rem/1.4 var(--font); color: var(--ink);
  background: #fff; border: 1px solid #B9C6D6; border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(41,157,184,.28); }
.field .is-invalid { border-color: #B3261E; }
.field-error { margin: 6px 0 0; font-size: .84rem; font-weight: 600; color: #B3261E; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 28px; }
.form-note { margin: 0; font-size: .86rem; color: var(--ink-soft); }
.form-status { margin: 22px 0 0; padding: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { padding: 16px 18px; background: #E8F5EE; border-left: 4px solid #1E7A4C; color: #14532F; }
.form-status.is-error { padding: 16px 18px; background: #FDECEA; border-left: 4px solid #B3261E; color: #7A1A14; }
.form-status a { color: inherit; }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.82); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1fr 1fr; gap: 40px; padding: 80px 0 56px; }
.footer-brand img { width: 150px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 30em; line-height: 1.65; }
.footer-title { margin: 0 0 18px; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light); }
.site-footer li + li { margin-top: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer address { line-height: 1.8; }
.footer-base { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; padding: 26px 0 34px; border-top: 1px solid rgba(255,255,255,.14); font-size: .86rem; }
.footer-base p { margin: 0; }
.footer-base ul { display: flex; gap: 24px; }
.footer-base li + li { margin: 0; }

/* ---------- Scroll reveal (subtle; disabled for reduced motion) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tile-media img { transition: none; }
  .tile:hover .tile-media img, .tile:focus-within .tile-media img { transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .tile { min-height: 440px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .contract-grid { grid-template-columns: 1fr; }
  .contract-media { min-height: 300px; order: -1; }
  .contract-copy { max-width: none; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .location-photo-grid { grid-template-columns: 1fr; }
  .location-overview-grid, .facility-grid, .directions-grid { grid-template-columns: 1fr; }
  .document-layout, .about-story-grid { grid-template-columns: 1fr; }
  .document-nav { position: static; }
  .about-facts { grid-template-columns: 1fr; }
  .facility-media { min-height: 360px; }
  .location-switch-grid { grid-template-columns: 1fr; }
  .footer-grid { gap: 32px; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .container { width: min(100% - 40px, var(--wrap)); }
  .header-inner { width: min(100% - 32px, var(--wrap)); }
  .section, .capabilities { padding-block: 56px; }
  .services { padding-top: 56px; }
  h2 { margin-bottom: 18px; font-size: clamp(1.75rem, 8vw, 2.15rem); }
  .eyebrow { margin-bottom: 12px; }
  .hero { min-height: max(540px, calc(100svh - var(--header-h))); }
  .hero-overlay { background: linear-gradient(180deg, rgba(6,30,72,.9) 0%, rgba(6,30,72,.82) 100%); }
  .inner-hero::after { background: linear-gradient(180deg, rgba(6,30,72,.9), rgba(6,30,72,.78)); }
  .hero-media img { object-position: 58% center; }
  .hero-content { padding: 56px 0 64px; }
  .hero h1 { font-size: clamp(2rem, 10vw, 2.65rem); line-height: 1.1; }
  .hero-title-line { display: inline; }
  .hero-lead { margin-top: 20px; font-size: 1rem; line-height: 1.65; }
  .inner-hero { min-height: 480px; }
  .inner-hero-content { padding: 52px 0 60px; }
  .inner-hero h1 { font-size: clamp(2rem, 10vw, 2.65rem); }
  .document-hero { padding-block: 56px; }
  .document-hero h1 { font-size: clamp(2rem, 10vw, 2.65rem); }
  .document-nav { padding: 22px; }
  .document-content section { padding-top: 28px; margin-top: 28px; }
  .document-meta { display: grid; gap: 8px; }
  .about-story-media { min-height: 300px; }
  .breadcrumbs { margin-bottom: 22px; font-size: .8rem; }
  .btn-row .btn { width: 100%; }
  .btn-row { gap: 12px; margin-top: 28px; }
  .intro p { font-size: 1.025rem; }
  .services-head, .cap-head { margin-bottom: 36px; }
  .tile-grid { grid-template-columns: 1fr; }
  .tile { min-height: 360px; }
  .tile-body { padding: 28px 24px 30px; }
  .tile h3 { font-size: 1.25rem; }
  .contract-media { min-height: 260px; }
  .contract-copy { padding: 48px 20px 56px; }
  .cap-grid { grid-template-columns: 1fr; }
  .cap-grid { gap: 14px; }
  .cap { padding: 28px 24px 30px; }
  .cap-icon { margin-bottom: 18px; }
  .field-grid { grid-template-columns: 1fr; }
  .field input, .field select, .field textarea { min-height: 50px; font-size: 1rem; }
  .field textarea { min-height: 140px; }
  .form-foot { align-items: stretch; }
  .form-foot .btn { width: 100%; }
  .loc-grid { gap: 20px; margin-top: 36px; }
  .location-gallery-head { margin-bottom: 30px; }
  .location-photo-grid { gap: 20px; }
  .location-photo-caption { padding: 18px 20px 20px; }
  .location-photo-feature figcaption { padding: 15px 18px; }
  .loc { padding: 28px 22px; }
  .loc h3 { font-size: 1.3rem; }
  .loc-actions { align-items: stretch; gap: 8px; }
  .loc-actions .btn, .loc-actions .link-arrow { width: 100%; min-height: 48px; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; padding: 56px 0 40px; }
  .contact-direct div { flex-direction: column; gap: 2px; }
  .inquiry, .detail-card { padding: 24px 20px; }
  .facility-media { min-height: 300px; }
  .map-panel { min-height: 340px; padding: 36px 24px; }
  .map-panel .btn, .location-switch .btn { width: 100%; }
  .visit-note { padding: 20px; }
  .site-footer a { display: inline-flex; min-height: 44px; align-items: center; }
  .footer-grid { gap: 28px 24px; }
  .footer-title { margin-bottom: 10px; }
  .site-footer li + li { margin-top: 0; }
  .footer-base { padding-bottom: max(34px, env(safe-area-inset-bottom)); }
  address, .detail-list dd, .form-status { overflow-wrap: anywhere; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-base { display: block; }
  .footer-base ul { margin-top: 16px; flex-wrap: wrap; gap: 8px 20px; }
}

@media (max-width: 360px) {
  .container { width: min(100% - 32px, var(--wrap)); }
  .header-inner { width: min(100% - 24px, var(--wrap)); }
  .brand img { height: 56px; }
  .hero h1, .inner-hero h1 { font-size: 1.9rem; }
  .loc, .inquiry, .detail-card { padding-inline: 18px; }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 600px) {
  .hero { min-height: 500px; }
  .hero-content { padding-block: 48px; }
  .inner-hero { min-height: 430px; }
  .inner-hero-content { padding-block: 44px; }
}
