/* Self-hosted variable fonts (latin subset, SIL OFL), so no visitor request goes to Google. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 600; font-display: swap; src: url(fonts/cormorant-garamond.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Montserrat; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/montserrat.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy: #0e1d34;
  --navy-deep: #08142a;
  --navy-2: #1c2f4d;
  --gold: #c9a24f;
  --gold-text: #86661f; /* gold for text on white/cream: 5.3:1 / 4.9:1 (brand gold is 2.4:1 there) */
  --gold-light: #e9d29a;
  --cream: #f7f4ec;
  --ink: #1b2433;
  --muted: #5b6474;
  --line: #e3ddcf;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Montserrat, system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: #fff; line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; } /* width/height attrs reserve space; CSS aspect-ratio still wins */
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.55rem; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; display: block; }
.dark .eyebrow, .hero .eyebrow, .band .eyebrow { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--navy-deep); font-weight: 600; }
.skip:focus { top: 12px; }
.mt { margin-top: 16px; }
.mt-l { margin-top: 32px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.btn { display: inline-block; padding: 14px 28px; font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border: 1px solid var(--gold); background: var(--gold); color: var(--navy-deep); transition: .2s; }
.btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: #fff; color: var(--navy); }
.link { display: inline-block; padding-top: 10px; font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.link::after { content: " →"; }

/* ---------- Header ---------- */
.topbar { background: var(--navy-deep); color: rgba(255,255,255,.65); font-size: .75rem; letter-spacing: .06em; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: 24px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { display: inline-block; padding: 4px 0; }
.topbar a:hover { color: var(--gold-light); }
header.site { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(201,162,79,.25); }
header.site > .wrap { display: flex; align-items: center; height: 84px; gap: 40px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand img { height: 46px; width: auto; }
.brand span { font-family: var(--sans); font-weight: 500; letter-spacing: .32em; font-size: .95rem; color: var(--gold-light); line-height: 1.2; }
.brand small { display: block; font-size: .6rem; letter-spacing: .5em; color: var(--gold); }
nav.main { display: flex; gap: 6px; flex: 1; }
nav.main > a, nav.main > button { background: none; border: 0; font: inherit; cursor: pointer; color: #fff; font-size: .9rem; font-weight: 500; padding: 30px 14px; border-bottom: 2px solid transparent; }
nav.main > a:hover, nav.main > button:hover, nav.main > .open { border-bottom-color: var(--gold); color: var(--gold-light); }
nav.main > button::after { content: "▾"; font-size: .7rem; margin-left: 6px; }
.header-cta { margin-left: auto; }
.burger { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.7rem; cursor: pointer; }

/* Mega menu — "What we do" */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy-2); display: none; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.mega.show { display: block; }
@media (min-width: 1021px) { .mega { max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); overflow-y: auto; } }
.mega .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; height: auto; padding-top: 32px; padding-bottom: 40px; align-items: start; }
.wwd-list a { display: block; color: #fff; font-weight: 600; font-size: 1.15rem; padding: 14px 20px; margin-left: -20px; border-left: 3px solid transparent; transition: background .15s; }
.wwd-list a:hover, .wwd-list a.active { background: var(--navy-deep); border-left-color: var(--gold); }
.wwd-panel img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.wwd-panel h3 { color: #fff; margin: 20px 0 8px; }
.wwd-panel p { color: rgba(255,255,255,.75); margin-bottom: 16px; }
.wwd-panel .link { color: var(--gold-light); }

/* ---------- Heroes ---------- */
.hero { position: relative; isolation: isolate; min-height: 86vh; min-height: 86svh; display: flex; align-items: flex-end; color: #fff; background: var(--navy); }
/* Hero/band photo is a real <img> (srcset + fetchpriority), painted under the overlay and text. */
.hero > .bg, .band > .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,20,42,.88) 0%, rgba(8,20,42,.55) 55%, rgba(8,20,42,.2) 100%); }
.hero .wrap { position: relative; padding-top: 120px; padding-bottom: 110px; width: 100%; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { font-size: 1.2rem; max-width: 52ch; margin: 22px 0 36px; color: rgba(255,255,255,.85); }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero.page { min-height: 62vh; min-height: 62svh; }
.crumbs { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.crumbs a:hover { text-decoration: underline; }
.crumbs.on-light { color: var(--gold-text); }

/* ---------- Sections ---------- */
section { padding: 110px 0; scroll-margin-top: 84px; }
section.tight { padding: 80px 0; }
.cream { background: var(--cream); }
.dark { background: var(--navy); color: rgba(255,255,255,.82); }
.dark h2, .dark h3 { color: #fff; }
.dark .lead { color: rgba(255,255,255,.75); }
.head { max-width: 760px; margin-bottom: 56px; }
.head .lead { margin-top: 18px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split + .split { margin-top: 110px; }
.split.flip > :first-child { order: 2; }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split h2 { margin-bottom: 20px; }
.split p { color: var(--muted); margin-bottom: 18px; }
.dark .split p { color: rgba(255,255,255,.75); }
.split ul { list-style: none; margin: 8px 0 30px; }
.split li { padding: 10px 0 10px 28px; border-bottom: 1px solid var(--line); position: relative; }
.split li::before { content: ""; position: absolute; left: 0; top: 21px; width: 14px; height: 1px; background: var(--gold); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
a.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(14,29,52,.12); }
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.card .body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); flex: 1; margin-bottom: 20px; }
.card .tag { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 10px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.features > div { background: #fff; padding: 40px 34px; }
.features h3 { font-size: 1.35rem; margin-bottom: 12px; }
.features p { color: var(--muted); font-size: .95rem; }
.features .num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold-text); line-height: 1; margin-bottom: 18px; }
.dark .features .num { color: var(--gold); }
.dark .features { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.1); }
.dark .features > div { background: var(--navy); }
.dark .features p { color: rgba(255,255,255,.7); }

/* Home "What we do" — mirrors the mega menu */
.wwd { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.wwd .wwd-list a { color: var(--navy); font-size: 1.3rem; font-family: var(--serif); padding: 16px 24px; margin: 0; border-bottom: 1px solid var(--line); }
.wwd .wwd-list a:hover, .wwd .wwd-list a.active { background: var(--navy); color: #fff; border-left-color: var(--gold); }
.wwd .wwd-panel { position: sticky; top: 120px; }
.wwd .wwd-panel h3 { color: var(--navy); }
.wwd .wwd-panel p { color: var(--muted); }
.wwd .wwd-panel .link { color: var(--navy); }

.band { position: relative; isolation: isolate; color: #fff; background: var(--navy-deep); padding: 140px 0; }
.band::before { content: ""; position: absolute; inset: 0; background: rgba(8,20,42,.72); }
.band .wrap { position: relative; text-align: center; }
.band h2 { color: #fff; max-width: 22ch; margin: 0 auto 22px; }
.band p { max-width: 58ch; margin: 0 auto 34px; color: rgba(255,255,255,.85); }

.quote { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.35; color: var(--navy); max-width: 30ch; border-left: 3px solid var(--gold); padding-left: 32px; }

.prose { max-width: 820px; }
.prose h2 { font-size: 1.8rem; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 14px; }
.prose ul { padding-left: 22px; margin-bottom: 14px; }
.note { font-size: .85rem; background: var(--cream); border-left: 3px solid var(--gold); padding: 16px 20px; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; }
.contact-grid iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.4); }
.contact-grid dl dt { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-top: 28px; }
.contact-grid dl dd { font-size: 1.1rem; color: var(--navy); }

/* ---------- Footer ---------- */
footer.site { background: var(--navy-deep); color: rgba(255,255,255,.65); font-size: .9rem; }
footer.site .top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
footer.site img { height: 92px; width: auto; margin-bottom: 18px; }
footer.site h2 { font-family: var(--sans); line-height: 1.65; color: var(--gold-light); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
footer.site ul { list-style: none; }
footer.site li { margin-bottom: 4px; }
footer.site li a, footer.site .legal .links a { display: inline-block; padding: 4px 0; } /* 24px+ tap targets */
footer.site a:hover { color: var(--gold-light); }
footer.site address { font-style: normal; line-height: 1.8; }
footer.site .legal { border-top: 1px solid rgba(255,255,255,.1); padding-top: 28px; padding-bottom: 36px; font-size: .78rem; }
footer.site .legal .row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
footer.site .legal .links { display: flex; gap: 24px; flex-wrap: wrap; }
footer.site .disclaimer { color: rgba(255,255,255,.5); line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  nav.main, .header-cta { display: none; }
  .burger { display: block; }
  nav.main.mobile { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); padding: 8px 24px 24px; gap: 0; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overflow: auto; }
  nav.main.mobile > a, nav.main.mobile > button { padding: 14px 0; text-align: left; border-bottom: 1px solid rgba(255,255,255,.08); }
  .mega { position: static; box-shadow: none; background: transparent; }
  .mega .wrap { grid-template-columns: 1fr; padding: 0 0 8px 12px; }
  .mega .wwd-panel { display: none; }
  .wwd-list a { font-size: 1rem; padding: 10px 12px; margin-left: 0; }
  .split, .wwd, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split.flip > :first-child { order: 0; }
  .wwd .wwd-panel { display: none; }
  .cards, .features { grid-template-columns: 1fr 1fr; }
  footer.site .top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  section { padding: 72px 0; }
  .cards, .features { grid-template-columns: 1fr; }
  footer.site .top { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .brand span { display: none; }
  .hero .wrap { padding-bottom: 72px; }
}

/* ---------- Careers form ---------- */
.apply-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; max-width: 920px; }
.apply-form label { display: flex; flex-direction: column; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; color: var(--navy); }
.apply-form .full { grid-column: 1 / -1; }
.apply-form input, .apply-form select { font: inherit; font-size: 1rem; font-weight: 400; letter-spacing: 0; padding: 13px 14px; border: 1px solid #cfc7b4; background: #fff; color: var(--ink); }
.apply-form input:focus, .apply-form select:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.apply-form .check { flex-direction: row; align-items: flex-start; font-weight: 400; letter-spacing: 0; font-size: .9rem; color: var(--muted); }
.apply-form .check input { margin-top: 2px; width: 20px; height: 20px; flex: none; accent-color: var(--gold-text); }
.apply-form .check a { color: var(--navy); text-decoration: underline; padding: 3px 0; }
.apply-form .hp { position: absolute; left: -9999px; }
.apply-form button { cursor: pointer; }
.apply-form button:disabled { opacity: .6; cursor: wait; }
.form-msg { margin-top: 16px; font-size: .95rem; }
.form-msg.ok { color: #1d6b3a; }
.form-msg.err { color: #a12a2a; }

/* ---------- Hiring popup ---------- */
@media (max-width: 640px) { .apply-form { grid-template-columns: 1fr; } }

/* ---------- Articles ---------- */
.byline { margin-top: 18px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.article-img { width: 100%; aspect-ratio: 16/8; object-fit: cover; margin-bottom: 40px; }
.prose h1 { margin-top: 4px; }
.contact-grid .maps { display: grid; gap: 24px; }
footer.site address strong { color: rgba(255,255,255,.85); font-weight: 600; }
.apply-form textarea { font: inherit; font-size: 1rem; font-weight: 400; letter-spacing: 0; padding: 13px 14px; border: 1px solid #cfc7b4; background: #fff; color: var(--ink); resize: vertical; }
.apply-form textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }

/* ---------- Mobile hardening ---------- */
.apply-form > *, .apply-form input, .apply-form select, .apply-form textarea { min-width: 0; max-width: 100%; }
.apply-form input:not([type=checkbox]), .apply-form select, .apply-form textarea { width: 100%; }
.apply-form input[type=file] { font-size: .9rem; }
h1, h2, h3, p, li, dd, address { overflow-wrap: anywhere; }
iframe { max-width: 100%; }
@media (max-width: 640px) {
  h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  h2 { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero { min-height: 72vh; min-height: 72svh; }
  .hero.page { min-height: 52vh; min-height: 52svh; }
  .hero .wrap { padding-top: 90px; }
  .hero p { font-size: 1.05rem; }
  .hero .actions .btn, .band .btn, .apply-form button { width: 100%; text-align: center; }
  .head { margin-bottom: 36px; }
  .split + .split { margin-top: 64px; }
  .features > div { padding: 30px 24px; }
  .card .body { padding: 22px; }
  .band { padding: 96px 0; }
  .quote { padding-left: 20px; }
  .contact-grid iframe { height: 300px; }
  .article-img { aspect-ratio: 16/10; margin-bottom: 28px; }
  footer.site .top { padding-top: 56px; gap: 36px; }
  footer.site .legal .row { flex-direction: column; gap: 14px; }
  /* Compact pop-up card on phones (not full screen) */
}
.mobile-cta { display: none; }
@media (max-width: 1020px) {
  nav.main.mobile > a.mobile-cta { display: block; margin-top: 18px; padding: 15px; text-align: center; border: 0; background: var(--gold); color: var(--navy-deep); }
  .burger { width: 44px; height: 44px; }
}

/* WhatsApp button */
.btn.wa { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; background: #25d366; border-color: #25d366; color: var(--navy-deep); }
.btn.wa:hover { background: #1ebe5b; border-color: #1ebe5b; }
@media (max-width: 640px) { .btn.wa { width: 100%; justify-content: center; } }

/* ---------- Hiring popup (card layout, brand colours) ---------- */
dialog.hire { margin: auto; border: 0; padding: 0; width: min(92vw, 480px); max-height: 92vh; max-height: 92dvh; overflow: auto; background: var(--navy); color: #fff; border-radius: 16px; border: 1px solid rgba(201,162,79,.35); box-shadow: 0 40px 80px rgba(0,0,0,.5); }
dialog.hire::backdrop { background: rgba(8,20,42,.7); backdrop-filter: blur(3px); }
dialog.hire .body { padding: 26px 30px 22px; }
dialog.hire .hire-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
dialog.hire .eyebrow { margin: 4px 0 0; font-size: .75rem; letter-spacing: .12em; color: var(--gold); }
dialog.hire .x { background: none; border: 0; color: rgba(255,255,255,.75); font-size: 1.7rem; line-height: 1; cursor: pointer; width: 44px; height: 44px; margin: -10px -12px 0 0; flex: none; }
dialog.hire .x:hover { color: #fff; }
dialog.hire h2 { font-family: var(--sans); font-weight: 700; color: #fff; font-size: 1.75rem; line-height: 1.2; margin-bottom: 12px; }
dialog.hire p { color: rgba(255,255,255,.85); font-size: 1.02rem; margin-bottom: 14px; }
dialog.hire .hiring { display: block; font-size: 1.02rem; margin-bottom: 6px; }
dialog.hire ul { margin: 0 0 18px 22px; color: rgba(255,255,255,.92); line-height: 1.75; }
dialog.hire hr { border: 0; height: 2px; background: var(--gold); margin: 0 0 18px; }
dialog.hire .pay { display: block; font-family: var(--sans); font-weight: 700; font-size: 1.9rem; color: var(--gold); line-height: 1.1; margin-bottom: 12px; }
dialog.hire .meta { color: rgba(255,255,255,.6); font-size: .95rem; margin-bottom: 10px; }
dialog.hire .elig { font-size: .95rem; margin-bottom: 18px; }
dialog.hire .elig strong { color: #fff; }
dialog.hire .apply { display: block; width: 100%; text-align: center; border-radius: 10px; padding: 16px; font-size: .95rem; letter-spacing: .08em; }
dialog.hire .short { display: block; text-align: center; margin-top: 6px; padding: 6px 0; font-size: .85rem; color: rgba(255,255,255,.55); }
dialog.hire .short:hover { color: var(--gold-light); }
@media (max-width: 640px) {
  dialog.hire .body { padding: 20px 20px 16px; }
  dialog.hire h2 { font-size: 1.4rem; }
  dialog.hire p, dialog.hire .hiring { font-size: .92rem; }
  dialog.hire ul { line-height: 1.6; margin-bottom: 14px; }
  dialog.hire .pay { font-size: 1.5rem; }
  dialog.hire .meta, dialog.hire .elig { font-size: .85rem; }
  dialog.hire .apply { padding: 13px; }
}
