/* Shared styles for the Gallery, Privacy and 404 pages. The home page keeps its own copy inline. */
:root {
  --ice: #F3F8FD; --white: #FFFFFF; --ink: #0B1C42; --muted: #4B5D7E; --line: #D4E4F4; --glass: #DDEFFC;
  --navy: #081F55; --navy-deep: #051539; --royal: #0670CF; --sky: #5BB8F5; --sun: #FFC83D; --sun-hover: #FFD566;
  --on-navy: #E6F1FD; --on-navy-muted: #A9C3E6;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px; --header-h: 72px;
  color-scheme: light;
  padding-top: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ice); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: max(16px, 4vw); }
section { scroll-margin-top: calc(var(--header-h) + 12px); }

.display { font-family: var(--display); font-stretch: 118%; font-weight: 850; letter-spacing: -0.015em; line-height: 1.02; text-wrap: balance; margin: 0; }
h2.display { font-size: clamp(1.7rem, 4vw, 2.6rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-stretch: 112%; font-weight: 700; font-size: 0.74rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--royal); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 58ch; margin: 14px 0 0; }

.btn { --b: transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font-family: var(--display); font-stretch: 110%; font-weight: 800; font-size: 0.98rem; text-decoration: none; border: 2px solid var(--b); cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sun { background: var(--sun); color: var(--navy-deep); box-shadow: 0 6px 0 -1px #D9A21E, 0 14px 28px -10px rgba(255,170,0,.55); }
.btn-sun:hover { background: var(--sun-hover); transform: translateY(-1px); }
.btn-sun:active { transform: translateY(3px); box-shadow: 0 2px 0 -1px #D9A21E; }
.btn-line { --b: var(--line); background: var(--white); color: var(--ink); }
.btn-line:hover { --b: var(--royal); color: var(--royal); }
.btn-line-dark { --b: rgba(230,241,253,.35); background: transparent; color: var(--on-navy); }
.btn-line-dark:hover { --b: var(--on-navy); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: var(--on-navy-muted); font-size: 0.84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar strong { color: var(--on-navy); font-weight: 600; }
.topbar .tb-right { display: flex; gap: 18px; align-items: center; }
.topbar a { text-decoration: none; color: var(--on-navy); font-weight: 600; font-variant-numeric: tabular-nums; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand img { height: 48px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--royal); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--display); font-stretch: 105%; font-weight: 800; color: var(--navy); font-variant-numeric: tabular-nums; }
.header-phone svg { width: 18px; height: 18px; color: var(--royal); }

/* Photos: glass until the image loads */
.ph { position: relative; overflow: hidden; isolation: isolate;
  background:
    linear-gradient(128deg, transparent 38%, rgba(255,255,255,.5) 38% 50%, transparent 50% 58%, rgba(255,255,255,.3) 58% 62%, transparent 62%),
    linear-gradient(160deg, #BFE2FA 0%, #E4F3FE 55%, #CBE7FB 100%); }
.ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .45s ease, transform .5s ease; z-index: 1; }
.ph.filled .ph-img { opacity: 1; }

/* Page hero */
.g-hero { background: linear-gradient(180deg, var(--white) 0%, var(--ice) 100%); padding-block: clamp(36px, 6vw, 72px) clamp(24px, 4vw, 40px); }
.g-hero h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 0.9rem; color: var(--muted); margin: 0 0 18px; }
.crumbs a { text-decoration: none; font-weight: 600; color: var(--royal); }
.crumbs a:hover { text-decoration: underline; }
.band { padding-block: clamp(40px, 6vw, 72px); }
.band-white { background: var(--white); }

/* Closing CTA */
.cta { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: clamp(40px, 6vw, 64px); }
.cta h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
.cta p { margin: 10px 0 0; color: var(--on-navy-muted); max-width: 48ch; }
.cta .eyebrow { color: var(--sky); }
.cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding-block: 56px 32px; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.25fr .85fr .85fr 1.45fr; gap: 32px; }
.foot-grid > div { min-width: 0; }
.foot-logo img { height: 74px; width: auto; }
.foot-grid h4 { margin: 0 0 12px; color: #fff; font-family: var(--display); font-stretch: 112%; font-weight: 800; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.foot-grid a, .foot-bottom a { text-decoration: none; }
.foot-grid a:hover, .foot-bottom a:hover { color: #fff; }
.foot-blurb { margin: 16px 0 0; max-width: 36ch; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(169,195,230,.15); font-size: 0.85rem; }
.mobile-bar { display: none; }

@media (max-width: 1020px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 62px; }
  .topbar .tb-left { display: none; }
  .topbar .wrap { justify-content: center; }
  .brand img { height: 40px; }
  .header-phone span { display: none; }
  .header-phone { width: 42px; height: 42px; border-radius: 50%; justify-content: center; background: var(--glass); }
  .header-cta .btn { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-btns .btn { flex: 1 1 100%; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(5,21,57,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid rgba(169,195,230,.2); }
  .mobile-bar .btn { min-height: 48px; padding: 0 14px; }
  .site-footer { padding-bottom: 104px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
