/* =============================================================
   Cloud Care Medicine — Medical Group
   Premium editorial design system
   Palette: Navy · Teal (logo) · Gold, on warm off-white
   Type:    Fraunces (display serif) + Geist (UI/body)
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Geist:wght@400;500;600;700&display=swap');

:root {
  /* ---- Brand ---- */
  --navy-900: #0a1f38;
  --navy:     #0e2a47;   /* primary dark */
  --navy-600: #1c4470;
  --navy-400: #3a6390;

  --teal:     #14a4b8;   /* logo teal */
  --teal-700: #0e7e8e;
  --teal-50:  #e7f6f8;

  --gold:     #c2a35a;   /* muted premium gold */
  --gold-700: #a4873f;
  --gold-50:  #f6efdd;

  /* ---- Surfaces ---- */
  --paper:    #f7f4ee;   /* warm off-white page bg */
  --cream:    #fbf9f4;
  --surface:  #ffffff;

  /* ---- Ink ---- */
  --ink:      #16233a;   /* headings (near navy) */
  --body:     #424b59;   /* body text */
  --muted:    #6a727f;   /* muted (AA on paper) */
  --line:     #e6e0d5;   /* warm hairline */
  --line-2:   #ece7dc;

  /* ---- Type ---- */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ---- Layout ---- */
  --container: 1240px;
  --container-narrow: 880px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --pill: 999px;

  /* ---- Shadows (soft, expensive) ---- */
  --shadow-sm: 0 1px 2px rgba(14,42,71,.05), 0 2px 8px rgba(14,42,71,.05);
  --shadow-md: 0 10px 30px rgba(14,42,71,.10), 0 3px 10px rgba(14,42,71,.06);
  --shadow-lg: 0 30px 70px rgba(14,42,71,.16), 0 10px 24px rgba(14,42,71,.08);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: 260ms;

  --z-nav: 50;
}

/* ----------------------------- Reset ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.015em;
  font-weight: 500;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; }
p  { margin: 0 0 1rem; max-width: 64ch; }

/* Italic serif emphasis inside headings */
.ital { font-style: italic; font-weight: 400; color: var(--teal-700); }
.ital-gold { font-style: italic; font-weight: 400; color: var(--gold-700); }

/* --------------------------- Utilities --------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.2rem, 4vw, 2.4rem); }
.narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section--cream { background: var(--cream); }
.section--white { background: var(--surface); }
.section--navy { background: var(--navy); color: #cdd9e6; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-weight: 600; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-700);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: "◆"; font-size: .62rem; color: var(--gold); }
.section--navy .eyebrow { color: var(--gold); }

.lead { font-size: 1.22rem; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.section--navy .lead { color: #aebfd2; }
.center { text-align: center; }
.center .lead, .center p { margin-inline: auto; }
.balance { text-wrap: balance; }
.maxw-prose { max-width: 62ch; }

.grid { display: grid; gap: clamp(1.4rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm); transition: top var(--dur) var(--ease); }
.skip-link:focus { top: 1rem; text-decoration: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------- Buttons ---------------------------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .9rem 1.6rem; min-height: 50px;
  border-radius: var(--pill); border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--navy:hover { background: var(--navy-600); border-color: var(--navy-600); }
.btn--gold { --bg: var(--gold); --fg: var(--navy); --bd: var(--gold); }
.btn--gold:hover { background: var(--gold-700); border-color: var(--gold-700); color: #fff; }
.btn--teal { --bg: var(--teal); --fg: #fff; --bd: var(--teal); }
.btn--teal:hover { background: var(--teal-700); border-color: var(--teal-700); }
.btn--outline { --bg: transparent; --fg: var(--navy); --bd: var(--navy); box-shadow: none; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--light { --bg: #fff; --fg: var(--navy); --bd: #fff; }
.btn--ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255,255,255,.45); box-shadow: none; }
.btn--ghost-light:hover { background: rgba(255,255,255,.10); border-color: #fff; }
.btn--lg { padding: 1.05rem 2rem; min-height: 56px; font-size: 1.04rem; }
.btn svg { width: 18px; height: 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.textlink { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--navy); }
.textlink svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease); }
.textlink:hover svg { transform: translateX(4px); }
.section--navy .textlink { color: #fff; }

/* --------------------------- Header/Nav -------------------------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-nav);
  background: rgba(247,244,238,.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(14,42,71,.04); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand:hover { text-decoration: none; }
.brand img, .brand svg { width: 42px; height: 42px; }
.brand .brand-logo { width: auto; height: 46px; display: block; }
.site-footer .brand .brand-logo { height: 56px; }
@media (max-width: 600px) { .brand .brand-logo { height: 40px; } }
.brand-text { font-family: var(--sans); font-weight: 700; color: var(--ink); font-size: 1.06rem; letter-spacing: .01em; line-height: 1.05; }
.brand-text small { display: block; font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-700); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--body); font-weight: 500; font-size: .95rem;
  padding: .55rem .75rem; border-radius: 8px;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--navy); background: rgba(14,42,71,.05); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--gold); border-radius: 2px; margin-top: 2px; }
.nav-cta { display: flex; align-items: center; gap: .6rem; }

.nav-toggle { display: none; background: none; border: 1.5px solid var(--line); border-radius: 10px; width: 48px; height: 48px; cursor: pointer; align-items: center; justify-content: center; color: var(--navy); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1160px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 80px 0 auto 0; z-index: 40;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem clamp(1.2rem, 4vw, 2.4rem) 1.8rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }
  .nav-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav-links a { padding: .9rem 1rem; font-size: 1.05rem; }
  .nav-links a[aria-current="page"]::after { display: none; }
  .nav-cta { flex-direction: column; align-items: stretch; margin-top: 1rem; }
  .nav-cta .btn { width: 100%; }
}

/* ----------------------------- Hero ------------------------------ */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream), var(--paper)); }
.hero::before {
  content: ""; position: absolute; z-index: 0; inset: -10% -5% auto auto; width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(20,164,184,.14), transparent 70%);
  filter: blur(4px);
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3rem, 7vw, 6rem); }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-bottom: .3em; }
.hero .lead { margin-bottom: 1.8rem; }
.avatars { display: flex; align-items: center; gap: 1rem; margin-top: 2.4rem; }
.avatars .stack { display: flex; }
.avatars .stack img, .avatars .stack span { width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--cream); margin-left: -14px; object-fit: cover; box-shadow: var(--shadow-sm); }
.avatars .stack :first-child { margin-left: 0; }
.avatars .stack span { background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .85rem; }
.avatars p { margin: 0; font-size: .92rem; color: var(--muted); max-width: 22ch; }

/* hero visual */
.hero-visual { position: relative; }
.hero-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: linear-gradient(160deg, var(--navy), var(--teal-700)); aspect-ratio: 4/4.4; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 16px; box-shadow: var(--shadow-md); padding: .9rem 1.1rem;
  display: flex; align-items: center; gap: .8rem;
}
.hero-badge .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.hero-badge .ic svg { width: 22px; height: 22px; }
.hero-badge strong { display: block; color: var(--ink); font-size: .98rem; font-family: var(--sans); }
.hero-badge span { font-size: .82rem; color: var(--muted); }
.hero-chip {
  position: absolute; top: 18px; right: 18px; background: var(--gold); color: var(--navy);
  font-weight: 600; font-size: .8rem; padding: .4rem .85rem; border-radius: var(--pill); box-shadow: var(--shadow-sm);
}

/* --------------------------- Proof strip ------------------------- */
.proof { background: var(--navy); color: #bccadb; }
.proof .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 2.2rem; padding-block: 1.15rem; text-align: center; }
.proof span { display: inline-flex; align-items: center; gap: .6rem; font-size: .95rem; font-weight: 500; }
.proof .sep { color: var(--gold); }
.proof svg { width: 18px; height: 18px; color: var(--teal); }

/* --------------------------- Section head ------------------------ */
.sec-head { max-width: 62ch; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { margin-bottom: .5rem; }

/* ------------------------ Value pillars -------------------------- */
.values { margin-top: clamp(2.6rem, 5vw, 3.6rem); gap: clamp(1.6rem, 3.4vw, 2.6rem); }
.value { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.value-n { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; line-height: 1; color: var(--gold); margin-bottom: .85rem; letter-spacing: .01em; }
.value h3 { margin-bottom: .45rem; font-size: 1.16rem; }
.value p { margin: 0; }
.section--navy .value { border-top-color: rgba(255,255,255,.16); }
.section--navy .value h3 { color: #fff; }
.section--navy .value p { color: #aebfd2; }

/* ---------------------------- Feature ---------------------------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature.reverse .feature-media { order: 2; }
@media (max-width: 900px) { .feature, .feature.reverse { grid-template-columns: 1fr; } .feature.reverse .feature-media { order: 0; } }
.feature-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; background: linear-gradient(150deg, var(--teal-700), var(--navy)); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media.tall { aspect-ratio: 4/5; }

.check { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .85rem; }
.check li { display: flex; gap: .75rem; align-items: flex-start; color: var(--body); }
.check svg { width: 22px; height: 22px; color: var(--teal); flex: none; margin-top: 2px; }
.section--navy .check li { color: #cdd9e6; }
.section--navy .check svg { color: var(--gold); }

/* ----------------------------- Cards ----------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.9rem; height: 100%;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--muted); margin-bottom: 0; font-size: .98rem; }
.card .ic { width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-700); margin-bottom: 1.2rem; }
.card .ic.teal { background: var(--teal-50); color: var(--teal-700); }
.card .ic svg { width: 26px; height: 26px; }
.card .textlink { margin-top: 1.1rem; }

/* numbered model cards */
.numcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem; height: 100%; }
.numcard .n { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; margin-bottom: .8rem; font-weight: 500; }
.numcard h3 { margin-bottom: .4rem; }
.numcard p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ----------------------------- Steps ----------------------------- */
.step .n { font-family: var(--serif); font-size: 3rem; color: var(--teal); line-height: 1; display: block; margin-bottom: .6rem; }
.section--navy .step .n { color: var(--gold); }

/* ----------------------------- Stats ----------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 720px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); color: #fff; line-height: 1; }
.stat strong .u { color: var(--gold); }
.stat span { color: #a9bace; font-size: .95rem; }

/* ----------------------------- Team ------------------------------ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 1.8rem); }
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
.member { text-align: left; }
.member .photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius-sm); overflow: hidden; background: linear-gradient(150deg, var(--navy), var(--teal-700)); margin-bottom: .9rem; box-shadow: var(--shadow-sm); }
/* initials render behind; a loaded <img> covers them, a broken one is removed via onerror */
.member .photo.initials::after { content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-family: var(--serif); font-weight: 500; font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: .03em; }
.member .photo img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform var(--dur) var(--ease); }
.member:hover .photo img { transform: scale(1.04); }
.member h4 { font-family: var(--sans); font-weight: 700; font-size: 1.02rem; color: var(--ink); margin: 0 0 .15rem; }
.member .cred { color: var(--teal-700); font-weight: 600; font-size: .82rem; letter-spacing: .02em; }
.member .role { color: var(--muted); font-size: .9rem; }

/* --------------------------- Locations --------------------------- */
.loc { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: start; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.loc:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 680px) { .loc { grid-template-columns: 1fr; gap: .6rem; } }
.loc .city { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
.loc .meta { color: var(--muted); font-size: .96rem; }
.loc .meta a { color: var(--body); }
.pill { display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; font-weight: 600; letter-spacing: .04em; padding: .35rem .8rem; border-radius: var(--pill); white-space: nowrap; }
.pill--open { background: var(--teal-50); color: var(--teal-700); }
.pill--soon { background: var(--gold-50); color: var(--gold-700); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* --------------------------- CTA band ---------------------------- */
.cta-band { background: linear-gradient(140deg, var(--navy), var(--navy-900)); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.4rem, 5vw, 4rem); position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(194,163,90,.30), transparent 70%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c6d6; max-width: 54ch; }
.cta-band.center p { margin-inline: auto; }

/* --------------------------- Page hero --------------------------- */
.page-hero { background: linear-gradient(180deg, var(--cream), var(--paper)); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2rem,4vw,3rem); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: -30% 0 auto 50%; width: 600px; height: 420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(20,164,184,.12), transparent 70%); }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 18ch; }
.breadcrumb { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--teal-700); }

/* --------------------------- Forms ------------------------------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: .4rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px; padding: .8rem .9rem; min-height: 48px; transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(20,164,184,.16); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.form-note { font-size: .85rem; color: var(--muted); }

/* contact info list */
.info-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: 1.3rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.info-list .ic svg { width: 22px; height: 22px; }
.info-list strong { display: block; color: var(--ink); }
.info-list a { color: var(--body); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-top: 1.8rem; aspect-ratio: 16/10; background: var(--cream); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,3.5rem); align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* note / compliance banner */
.note { border-left: 3px solid var(--gold); background: var(--gold-50); color: #5e4e26; padding: 1rem 1.2rem; border-radius: 0 12px 12px 0; font-size: .92rem; }
.note strong { color: #4a3d1c; }

/* --------------------------- Footer ------------------------------ */
.site-footer { background: var(--navy-900); color: #9fb0c4; padding-block: clamp(3.5rem,6vw,5rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.4rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text small { color: var(--gold); }
.site-footer h4 { font-family: var(--sans); color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 600; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-links a { color: #9fb0c4; font-size: .95rem; }
.footer-links a:hover { color: #fff; }
.site-footer p { color: #8fa1b8; font-size: .95rem; }
.newsletter { display: flex; gap: .5rem; margin-top: 1rem; max-width: 340px; }
.newsletter input { flex: 1; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.16); color: #fff; border-radius: var(--pill); padding: .7rem 1rem; min-height: 46px; font: inherit; }
.newsletter input::placeholder { color: #7e90a7; }
.newsletter input:focus { outline: none; border-color: var(--teal); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; font-size: .85rem; color: #7e90a7; }
.footer-bottom a { color: #7e90a7; }
.social { display: flex; gap: .55rem; margin-top: 1.2rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; }
.social a:hover { background: var(--teal); text-decoration: none; }
.social svg { width: 19px; height: 19px; }
.disclaimer { font-size: .8rem; color: #6f819a; max-width: 80ch; margin-top: 1.4rem; line-height: 1.6; }

/* --------------------------- Brand films ------------------------- */
.film-feature, .film { position: relative; overflow: hidden; cursor: pointer; border: none; padding: 0; display: block; width: 100%; text-align: left; }
.film-feature { aspect-ratio: 16/9; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); margin-top: 2.2rem; }
.film-feature img, .film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.film-feature:hover img, .film:hover img { transform: scale(1.05); }
.film-watch { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; color: #fff; font-family: var(--sans); font-weight: 600; font-size: .95rem; opacity: .92; }
.film-watch svg { width: 16px; height: 16px; }
.film-feature::after, .film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,31,56,.10) 30%, rgba(10,31,56,.78)); }
.film-meta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1.2rem, 3vw, 2rem); color: #fff; }
.film-eyebrow { color: var(--gold); font-weight: 600; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; }
.film-feature h3 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.5rem); margin: .25rem 0 0; }
.film h4 { color: #fff; font-size: 1.2rem; margin: 0; }
.play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 3; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1.5px solid rgba(255,255,255,.55); display: grid; place-items: center; transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.film-feature .play { width: 86px; height: 86px; }
.film .play { width: 60px; height: 60px; }
.film-feature:hover .play, .film:hover .play { transform: translate(-50%,-50%) scale(1.08); background: rgba(255,255,255,.28); }
.play svg { color: #fff; margin-left: 4px; }
.film-feature .play svg { width: 30px; height: 30px; }
.film .play svg { width: 22px; height: 22px; }
.film-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.4rem); margin-top: clamp(1rem, 2vw, 1.4rem); }
@media (max-width: 820px) { .film-grid { grid-template-columns: 1fr; } }
.film { aspect-ratio: 4/3; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.film .dur { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(10,31,56,.55); color: #fff; font-size: .74rem; font-weight: 600; padding: .25rem .6rem; border-radius: var(--pill); }
.film-note { margin-top: 1.3rem; font-size: .92rem; color: #aebfd2; }
.poster-1 { background: linear-gradient(135deg, #0a1f38, #0e7e8e); }
.poster-2 { background: linear-gradient(135deg, #14324e, #c2a35a); }
.poster-3 { background: linear-gradient(135deg, #0e7e8e, #0a1f38); }
.poster-4 { background: linear-gradient(135deg, #1c4470, #4fc3d6); }

.film-modal { position: fixed; inset: 0; z-index: 200; background: rgba(6,18,33,.92); backdrop-filter: blur(8px); display: grid; place-items: center; padding: clamp(1rem, 4vw, 3rem); opacity: 0; pointer-events: none; transition: opacity var(--dur) var(--ease); }
.film-modal.is-open { opacity: 1; pointer-events: auto; }
.film-modal .frame { width: 100%; max-width: 1080px; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); position: relative; }
.film-modal video { width: 100%; height: 100%; display: block; background: #000; }
.film-modal .placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #cdd9e6; padding: 2rem; background: linear-gradient(135deg, var(--navy), var(--teal-700)); }
.film-modal .placeholder strong { color: #fff; font-family: var(--serif); font-size: 1.6rem; display: block; margin-bottom: .5rem; }
.film-close { position: absolute; top: -16px; right: -16px; z-index: 5; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: none; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-md); }
.film-close svg { width: 22px; height: 22px; color: var(--navy); }
@media (max-width: 640px) { .film-close { top: 8px; right: 8px; } }

/* Vision pull-quote (story sections) */
.vision { margin-top: clamp(2.5rem, 5vw, 4rem); max-width: 62ch; border-left: 3px solid var(--gold); padding-left: 1.6rem; }
.vision .eyebrow { margin-bottom: .6rem; }
.section--navy .vision .eyebrow { color: var(--gold); }
.vision p:last-child { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.4vw, 1.95rem); color: #fff; line-height: 1.4; margin: 0; letter-spacing: -.01em; }

/* ---------------------- Ember atmosphere ------------------------ */
/* A cursor-reactive field of rising embers behind story sections */
.has-embers { position: relative; overflow: hidden; isolation: isolate; }
.has-embers > canvas[data-embers] { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.has-embers > .container { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce) { .has-embers > canvas[data-embers] { display: none; } }

/* ----------------------- Micro-interactions ---------------------- */
/* Cards: a hairline teal→gold accent draws across the top; icon settles up */
.card, .numcard { position: relative; overflow: hidden; }
.card::before, .numcard::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.card:hover::before, .numcard:hover::before { transform: scaleX(1); }
.card .ic { transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.card:hover .ic { transform: translateY(-2px) scale(1.05); }
.numcard .n { transition: transform var(--dur) var(--ease); display: inline-block; }
.numcard:hover .n { transform: translateY(-3px); }

/* Text links: underline draws in instead of the default flat underline */
.textlink { position: relative; }
.textlink:hover { text-decoration: none; }
.textlink::after { content: ""; position: absolute; left: 0; right: 1.4rem; bottom: -3px; height: 1.5px; background: currentColor; opacity: .55; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.textlink:hover::after { transform: scaleX(1); }

/* Location rows: settle to the right, a gold marker grows, soft teal wash */
.loc { position: relative; transition: padding-left .4s var(--ease), background-color .4s var(--ease); }
.loc::after { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--gold); opacity: 0; transform: scaleY(.35); transform-origin: center; transition: opacity .4s var(--ease), transform .45s var(--ease); }
.loc:hover { padding-left: 1.25rem; background: rgba(20, 164, 184, .045); }
.loc:hover::after { opacity: 1; transform: scaleY(1); }
.loc .city { transition: color var(--dur) var(--ease); }
.loc:hover .city { color: var(--teal-700); }

/* Team: the name warms to teal on hover (photo already eases in) */
.member h4 { transition: color var(--dur) var(--ease); }
.member:hover h4 { color: var(--teal-700); }

/* Stat numbers lift a hair as a group settles into view */
.stat strong { transition: transform .5s var(--ease); }

/* --------------------------- Reveal anim ------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ======================= Phone-first refinements ======================= */
@media (max-width: 760px) {
  /* tighter vertical rhythm + edge padding tuned for thumbs */
  .section { padding-block: clamp(2.9rem, 8vw, 4.2rem); }
  .container { padding-inline: 1.15rem; }
  body { font-size: 16.5px; }
  h1 { font-size: clamp(2.05rem, 8.5vw, 2.9rem); }
  h2 { font-size: clamp(1.55rem, 6.5vw, 2.1rem); }
  .lead { font-size: 1.08rem; line-height: 1.55; }

  /* Hero: stack, full-width CTAs (big tap targets), calmer portrait */
  .hero-grid { padding-block: 2rem 1rem; gap: 1.8rem; }
  .hero .btn-row { gap: .7rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .hero-figure { aspect-ratio: 4 / 3.6; }
  .avatars { margin-top: 1.5rem; gap: .8rem; }
  .avatars .stack img, .avatars .stack span { width: 40px; height: 40px; }

  /* Proof strip: stack vertically, drop the floating dots */
  .proof .container { flex-direction: column; gap: .5rem; padding-block: 1rem; }
  .proof .sep { display: none; }
  .proof span { font-size: .9rem; }

  /* Stats: keep two-up but tighter */
  .stats { gap: 1.2rem 1rem; }

  /* Films: featured a touch taller; tiles already stack */
  .film-feature { aspect-ratio: 16 / 10; }

  /* Feature image blocks: comfortable ratio when stacked */
  .feature { gap: 1.7rem; }
  .feature-media, .feature-media.tall { aspect-ratio: 16 / 11; }

  /* Cards & CTAs: full-width actions, generous padding */
  .btn { min-height: 52px; }
  .btn-row .btn { flex: 1 1 100%; }
  .cta-band { padding: 1.9rem 1.25rem; border-radius: var(--radius); }
  .vision { padding-left: 1.1rem; }

  /* Locations: no hover-indent on touch; comfortable rows */
  .loc { padding-block: 1.3rem; grid-template-columns: 1fr; gap: .55rem; }
  .loc:hover { padding-left: 0; background: none; }
  .loc:hover::after { opacity: 0; }

  /* Maps: shorter so they don't dominate the scroll */
  .map-embed { aspect-ratio: 4 / 3; }

  /* Footer: single tidy column flow */
  .footer-grid { gap: 1.7rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: .45rem; }
  .newsletter { max-width: 100%; }

  /* Mobile menu can scroll if tall (7 links + CTAs) */
  .nav-menu { max-height: calc(100vh - 80px); overflow-y: auto; }
}

@media (max-width: 420px) {
  h1 { font-size: clamp(1.9rem, 9vw, 2.4rem); }
  .container { padding-inline: 1rem; }
  .hero-chip { font-size: .72rem; padding: .3rem .65rem; }
  .hero-badge { left: 12px; right: 12px; bottom: 12px; padding: .7rem .8rem; }
  .hero-badge strong { font-size: .92rem; }
  .hero-badge span { font-size: .76rem; }
  .team-grid { gap: 1rem; }
  .film .film-meta h4 { font-size: 1.05rem; }
}
