/* One visual system, loaded last.
   Surfaces: white and soft grey. Dark surface: Atlantic. Ink: Atlantic.
   Accent: Royal, everywhere. Lime: only the primary action button.
   Terracotta, emerald and gold no longer colour whole blocks; colour comes from photos and patterns.
   One radius, one card anatomy, one image treatment. */

/* Every accent resolves to Royal */
.acc-lime, .acc-emerald, .acc-terra, .acc-gold { --acc: var(--royal); --on-acc: var(--white); --acc-text: var(--royal); --ph: var(--photo-blue); }
.fill { background: var(--royal); }
.fill, .fill p, .fill li, .fill h2, .fill h3, .fill h4, .fill .h-sm, .fill .h-md, .fill b,
.mini.fill h3, .mini.fill h4, .mini.fill .n, .mini.fill .promise { color: var(--white); }
.case { border-top-color: var(--royal); }
.check-list li::before { background: var(--royal); }
.route { color: var(--royal); }

/* One dark surface */
.site-footer, .deep-tile, .logo-wall, .hero-about { background: var(--atlantic); }
.fbottom { border-top-color: color-mix(in srgb, var(--white) 18%, transparent); }

/* One radius for every image, pattern and card */
.ph, .tile.ph, .thumb, .tile.pat, .phero-side.pat, .card, .case, .logo-wall, .mono, .person .ph, .post-card .ph { border-radius: var(--r); }
.hero-photo, .hero-photo.ph { border-radius: 0; }
.card .top, .card .top.pat, .card .top.cover { border-radius: 0; }

/* One card anatomy: 16:9 cover, label chip bottom left, title, text, link */
.card .top, .card .top.pat, .card .top.cover { aspect-ratio: 16 / 9; min-height: 0; position: relative; padding: 0; overflow: hidden; }
.card .top:not(.cover):not(.pat) { background: var(--royal); }
.card .top .mask { position: absolute; left: 24px; top: 24px; width: 96px; background: var(--white); }
.card .top .eyebrow { position: absolute; left: 16px; bottom: 16px; background: var(--white); color: var(--ink) !important; padding: 7px 12px; border-radius: var(--r); text-align: left; }
.card .top.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-card .ph { aspect-ratio: 16 / 9; border-radius: 0; }
.post-card > .eyebrow { margin-top: 4px; }

/* Remaining gradient placeholders use one neutral tone */
.ph, .ph.em, .ph.te, .ph.go, .tile.ph, .tile.ph.em, .tile.ph.te, .tile.ph.go, .person .ph { background: var(--photo-blue); }

/* Photo tiles share one proportion inside two-column rows */
.pic { min-height: 320px; }

/* Leadership: monogram on a brand pattern until real portraits arrive */
.mono { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.mono span { width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; background: var(--atlantic); color: var(--white); font-size: 40px; font-weight: 500; letter-spacing: 0.02em; box-shadow: 0 0 0 6px color-mix(in srgb, var(--white) 22%, transparent); }

/* Buttons: Atlantic primary, outline secondary, Lime for the one main action on dark surfaces */
.fill .btn.white, .royal-tile .btn.white { background: var(--white); color: var(--atlantic); }
.btn.lime { background: var(--lime); color: var(--atlantic); }

/* Hero slider: three services. Images cross-fade with a slow zoom, copy rises in, the active tab fills. */
.hero-bg { position: absolute; inset: 0; overflow: hidden; background: var(--atlantic); }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-bg img.is-active { opacity: 1; animation: hero-zoom 9s ease-out both; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--atlantic) 35%, transparent) 0%, color-mix(in srgb, var(--atlantic) 78%, transparent) 55%, color-mix(in srgb, var(--atlantic) 84%, transparent) 100%); }
.hero-copy-stack { grid-column: 3 / span 2; display: grid; align-content: center; padding: 0 0 56px 24px; }
.hero-copy-stack .hero-copy { grid-area: 1 / 1; grid-column: 1; padding: 0; align-content: start; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.hero-copy-stack .hero-copy.is-active { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.hero-copy.is-active > * { animation: hero-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy.is-active > :nth-child(2) { animation-delay: .12s; }
.hero-copy.is-active > :nth-child(3) { animation-delay: .24s; }
.hero-copy.is-active > :nth-child(4) { animation-delay: .36s; }
.hero-copy h1, .hero-copy h2 { font-size: clamp(34px, 4.2vw, 60px); color: var(--white); font-weight: 500; margin: 0; }
.hero-about .trust { font-size: 13px; color: var(--sky); max-width: none; }
.hero-nav { grid-column: 3 / span 2; grid-row: 2; align-self: end; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 0 0 32px 24px; }
.hero-nav .hero-tabs { grid-column: auto; grid-row: auto; padding: 0; }
.hero-tabs button { position: relative; display: block; width: 100%; background: none; border: 0; border-top: 1px solid color-mix(in srgb, var(--white) 45%, transparent); padding: 12px 0 0; color: var(--white); font: 500 15px/1.35 var(--font-latin); text-align: left; cursor: pointer; opacity: .78; transition: opacity .2s ease; }
.hero-tabs button:hover, .hero-tabs button.is-active { opacity: 1; }
.hero-tabs button::before { content: ""; position: absolute; left: 0; top: -2px; height: 3px; width: 0; background: var(--lime); }
.hero-tabs button.is-active::before { width: 100%; }
.hero-slider.is-playing .hero-tabs button.is-active::before { animation: hero-progress var(--hero-time, 7s) linear both; }
.hero-slider.is-held .hero-tabs button.is-active::before, .hero-slider.is-held .hero-bg img { animation-play-state: paused; }
.hero-pause { width: 44px; height: 44px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--white) 55%, transparent); background: color-mix(in srgb, var(--atlantic) 60%, transparent); cursor: pointer; position: relative; padding: 0; }
.hero-pause::before, .hero-pause::after { content: ""; position: absolute; top: 14px; width: 4px; height: 14px; background: var(--white); }
.hero-pause::before { left: 15px; }
.hero-pause::after { right: 15px; }
.hero-pause[aria-pressed="true"]::before { left: 17px; top: 13px; width: 0; height: 0; background: none; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--white); }
.hero-pause[aria-pressed="true"]::after { display: none; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hero-progress { from { width: 0; } to { width: 100%; } }
@media (max-width: 960px) {
  .hero-copy-stack, .hero-nav { grid-column: 1; grid-row: auto; padding-left: 0; }
  .hero-copy-stack { padding-top: 0; }
  .hero-bg::after { background: color-mix(in srgb, var(--atlantic) 78%, transparent); }
}
@media (max-width: 640px) { .hero-nav .hero-tabs { grid-template-columns: minmax(0, 1fr); gap: 12px; } }

/* Section rhythm */
main section { padding-block: 80px; }
.feat-head { margin-bottom: 16px; }
@media (max-width: 960px) { main section { padding-block: 56px; } }
.hero-about { color: var(--white); }
.tile.pat.pat-band { min-height: 140px; }
