/* GGC: agency-style build (structure and motion modelled on the PIRUS layout pattern).
   Brand: Midnight Navy #10243A, Executive Blue #2764B5, Ice #E6ECF4, White. Inter only.
   Every colour is a token. The default (no data-theme) is the original dark direction;
   themes.css redefines the tokens for the lighter directions. */

@font-face { font-family: "Inter"; src: url(fonts/Inter-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/Inter-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

/* Fixed brand values: the ONLY four colours used anywhere on the site.
   Every other value is one of these at reduced opacity. */
:root {
  --navy: #10243A;
  --blue: #2764B5;
  --ice: #E6ECF4;
  --white: #FFFFFF;
  --radius: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: 600ms;
  --wrap: 1240px;
}

/* Dark token set: the default page, and always inside .dark-scope (CTA card, footer) */
:root, .dark-scope {
  --bg: var(--navy);
  --bg-alt: linear-gradient(rgba(230, 236, 244, .035), rgba(230, 236, 244, .035)), var(--navy);
  --text: var(--white);
  --muted: rgba(230, 236, 244, .78);           /* Ice 78%: ≈8:1 on navy */
  --accent-text: var(--ice);
  --line: rgba(230, 236, 244, .12);
  --surface: rgba(230, 236, 244, .04);
  --surface-hover: rgba(39, 100, 181, .07);
  --hero-bg: radial-gradient(ellipse at 50% 45%, rgba(39, 100, 181, .32) 0%, rgba(39, 100, 181, 0) 62%), var(--navy);
  --header-bg: rgba(16, 36, 58, .88);
  --nav-bg: rgba(230, 236, 244, .03);
  --nav-fg: var(--muted);
  --nav-hover-bg: rgba(39, 100, 181, .28);
  --nav-hover-fg: var(--white);
  --eyebrow-fg: var(--ice);
  --eyebrow-bg: rgba(39, 100, 181, .14);
  --eyebrow-line: rgba(230, 236, 244, .28);
  --btn-primary-bg: var(--blue);
  --btn-primary-fg: var(--white);
  --btn-outline-line: var(--ice);
  --btn-outline-fg: var(--white);
  --btn-outline-hover-bg: var(--ice);
  --btn-outline-hover-fg: var(--navy);
  --icon-bg: rgba(39, 100, 181, .18);
  --icon-fg: var(--ice);
  --step-line: rgba(39, 100, 181, .8);
  --ph-bg: rgba(230, 236, 244, .06);
  --ph-fg: rgba(230, 236, 244, .6);
  --field-bg: var(--navy);
  --field-fg: var(--white);
  --field-line: rgba(230, 236, 244, .22);
  --focus: var(--ice);
  --card-shadow: none;
  --hover-glow: 0 0 0 1px rgba(39, 100, 181, .4), 0 24px 60px rgba(39, 100, 181, .22);
  --tile-filter: grayscale(1) contrast(1.05);
  --hero-blend: normal;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 "Inter", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.dark-scope { color: var(--text); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 14px 26px; border-radius: 999px; font: 600 14px/1 "Inter", sans-serif; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background 300ms var(--ease), color 300ms var(--ease), box-shadow 300ms var(--ease), transform 300ms var(--ease), border-color 300ms var(--ease); }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-fg); }
.btn-primary:hover { box-shadow: 0 0 0 6px rgba(39, 100, 181, .25), 0 12px 32px rgba(39, 100, 181, .45); transform: translateY(-2px); }
.btn-outline { border-color: var(--btn-outline-line); color: var(--btn-outline-fg); }
.btn-outline:hover { background: var(--btn-outline-hover-bg); color: var(--btn-outline-hover-fg); }
.btn-ghost { color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--btn-outline-line); }

/* ---------- Eyebrow pill ---------- */
.eyebrow { display: inline-block; padding: 8px 16px; border: 1px solid var(--eyebrow-line); border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--eyebrow-fg); margin-bottom: 22px; background: var(--eyebrow-bg); }

/* ---------- Header: transparent → solid on scroll ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 300ms var(--ease), box-shadow 300ms var(--ease), backdrop-filter 300ms; }
.site-header.is-scrolled { background: var(--header-bg); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.brand img { width: 240px; height: auto; }
.nav-pill { display: flex; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--nav-bg); }
.nav-pill a { display: block; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--nav-fg); transition: background 300ms var(--ease), color 300ms var(--ease); }
.nav-pill a:hover, .nav-pill a.is-active { background: var(--nav-hover-bg); color: var(--nav-hover-fg); }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; background: var(--hero-bg); color: var(--text); padding: 140px 0 110px; }
.hero-art { position: absolute; margin: 0; width: min(33vw, 520px); aspect-ratio: 7 / 8; pointer-events: none; will-change: transform; }
.hero-art img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: var(--hero-blend); }
.hero-art-left { top: 7%; left: -12%; }
.hero-art-right { top: 34%; right: -10%; }
.hero-copy { position: relative; z-index: 2; text-align: center; max-width: 980px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.02; letter-spacing: -0.035em; margin-bottom: 26px; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 620px; margin: 0 auto 36px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.scroll-cue { position: absolute; bottom: 32px; left: 50%; translate: -50% 0; width: 28px; height: 46px; border: 1.5px solid var(--line); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent-text); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
h2 { font-size: clamp(34px, 4.4vw, 56px); }
.section-foot { margin-top: 48px; text-align: center; color: var(--muted); font-weight: 500; }

/* Image placeholders: shown until the generated image is dropped in */
.ph { position: relative; margin: 0; overflow: hidden; background: var(--ph-bg); }
.ph.missing img { display: none; }
.ph.missing::after { content: "images/" attr(data-file); position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font: 500 13px/1.4 "Inter", sans-serif; letter-spacing: .04em; color: var(--ph-fg); border: 1px dashed var(--ph-fg); border-radius: inherit; }
.ph.fallback::before { content: "temp image · needs images/" attr(data-file); position: absolute; top: 10px; left: 10px; z-index: 3; padding: 4px 9px; border-radius: 6px; background: var(--white); color: var(--navy); box-shadow: 0 0 0 2px var(--blue); font: 600 11px/1.3 "Inter", sans-serif; }
.hero-art.ph { position: absolute; background: none; }
.hero-art.ph.missing::after { border-radius: 24px; }

/* ---------- Markets: tall image cards (text always light on the image) ---------- */
.markets-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.img-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; isolation: isolate; box-shadow: var(--card-shadow); }
.img-card figure { position: absolute; inset: 0; border-radius: var(--radius); }
.img-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.img-card:hover img { transform: scale(1.06); }
.img-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(16, 36, 58, 0) 35%, rgba(16, 36, 58, .92) 100%); }
.img-card-body { position: absolute; inset: auto 0 0; z-index: 2; padding: 28px; color: var(--white); }
.img-card-body h3 { font-size: 24px; margin-bottom: 10px; }
.img-card-body p { font-size: 15px; color: rgba(255, 255, 255, .86); }
.philosophy { padding: 8px 0 0 12px; }
.philosophy h3 { font-size: 28px; margin-bottom: 18px; }
.philosophy p { color: var(--muted); }
.philosophy .note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; }

/* ---------- Service cards: glow-border hover ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.service-card { position: relative; padding: 36px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); transition: border-color 400ms var(--ease), transform 400ms var(--ease), box-shadow 400ms var(--ease), background 400ms var(--ease); }
.service-card:hover { border-color: rgba(39, 100, 181, .9); transform: translateY(-8px); box-shadow: var(--hover-glow); background: var(--surface-hover); }
.service-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 14px; background: var(--icon-bg); color: var(--icon-fg); margin-bottom: 26px; transition: background 400ms var(--ease), color 400ms var(--ease); }
.service-card:hover .service-icon { background: var(--blue); color: var(--white); }
.service-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-area { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 10px; }
.service-card h3 { font-size: 21px; line-height: 1.25; margin-bottom: 14px; }
.service-card > p:not(.service-area):not(.service-out) { font-size: 15px; color: var(--muted); }
.service-out { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.service-out span { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }

/* ---------- Approach ---------- */
.approach { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.steps { margin-top: 44px; display: grid; gap: 8px; }
.steps li { display: flex; gap: 22px; padding: 22px; border-radius: 14px; transition: background 300ms var(--ease); }
.steps li:hover { background: var(--surface); }
.step-no { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--step-line); color: var(--accent-text); font-weight: 700; font-size: 15px; }
.steps h3 { font-size: 21px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 16px; }
.approach-img { border-radius: var(--radius); aspect-ratio: 7 / 8; box-shadow: var(--card-shadow); }
.approach-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Deliverables mosaic ---------- */
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tile { border-radius: var(--radius); aspect-ratio: 1; position: relative; overflow: hidden; margin: 0; box-shadow: var(--card-shadow); }
.tile img { width: 100%; height: 100%; object-fit: cover; filter: var(--tile-filter); transition: filter 600ms var(--ease), transform 900ms var(--ease); }
.tile:hover img { filter: none; transform: scale(1.05); }
.tile figcaption { position: absolute; left: 18px; bottom: 18px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: rgba(16, 36, 58, .82); color: var(--white); backdrop-filter: blur(8px); font-size: 14px; font-weight: 600; transform: translateY(8px); opacity: 0; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.tile:hover figcaption, .tile:focus-within figcaption, .tile.ph.missing figcaption { opacity: 1; transform: none; }
.tile-text { display: flex; flex-direction: column; justify-content: center; padding: 32px; aspect-ratio: auto; box-shadow: none; }
.tile-text h3 { font-size: 26px; margin-bottom: 14px; }
.tile-text p { color: var(--muted); }

/* ---------- Questions ---------- */
.q-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.q-card { padding: 36px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--card-shadow); transition: border-color 400ms var(--ease), transform 400ms var(--ease); }
.q-card:hover { border-color: rgba(39, 100, 181, .9); transform: translateY(-6px); }
.q-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); font-weight: 700; font-size: 20px; margin-bottom: 24px; }
.q-card h3 { font-size: 22px; margin-bottom: 10px; }
.q-card p { color: var(--muted); font-size: 16px; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; align-items: center; }
.founder-img { border-radius: var(--radius); aspect-ratio: 9 / 11; }
.founder-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 600ms var(--ease); }
.founder-img:hover img { filter: none; }
.founder-role { margin: 12px 0 24px; color: var(--accent-text); font-weight: 500; }
.founder-copy > p:not(.eyebrow):not(.founder-role) { color: var(--muted); }
.creds { margin-top: 24px; display: grid; gap: 0; }
.creds li { padding: 14px 0; border-top: 1px solid var(--line); }

/* ---------- CTA card (always dark: .dark-scope) ---------- */
.cta-card { position: relative; overflow: hidden; border-radius: 24px; border: 1px solid var(--line); background: var(--navy); }
.cta-bg { position: absolute; inset: 0; opacity: .55; background: none; }
.cta-bg::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse 55% 70% at 50% 50%, var(--navy) 35%, rgba(16, 36, 58, 0) 100%); }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg.missing::after { border: 0; align-items: end; padding-bottom: 12px; }
.cta-inner { position: relative; z-index: 1; padding: 72px clamp(24px, 6vw, 88px); text-align: center; }
.cta-inner > p { color: var(--muted); max-width: 600px; margin: 18px auto 40px; }
.scope-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 820px; margin: 0 auto; text-align: left; }
.scope-form .full { grid-column: 1 / -1; }
.scope-form label { font-size: 14px; font-weight: 500; color: var(--muted); }
.scope-form select, .scope-form textarea { display: block; width: 100%; margin-top: 8px; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--field-fg); background: var(--field-bg); border: 1px solid var(--field-line); border-radius: 12px; transition: border-color 300ms var(--ease); }
.scope-form select option { color: var(--navy); background: var(--white); }
.scope-form select:focus, .scope-form textarea:focus { border-color: var(--focus); outline: none; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 6px; }
.form-status { font-size: 14px; color: var(--muted); }

/* ---------- Footer (always dark: .dark-scope) ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--navy); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer-logo { width: 360px; max-width: 100%; height: auto; margin-bottom: 16px; }
.site-footer h3 { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer li { margin-bottom: 10px; color: var(--muted); font-size: 15px; }
.site-footer a { text-decoration: none; transition: color 200ms; }
.site-footer a:hover { color: var(--white); }
.site-footer p { color: var(--muted); }
.footer-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 64px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- Scroll reveal (fadeIn / fadeInUp, 200 ms stagger) ---------- */
.js [data-anim] { opacity: 0; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--delay, 0ms); }
.js [data-anim="fade-up"] { transform: translateY(40px); }
.js [data-anim="fade"] { transform: translateY(16px); }
.js [data-anim].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .markets-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .philosophy { grid-column: 1 / -1; padding: 16px 0 0; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-pill { display: none; position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; border-radius: 20px; background: var(--bg-alt); padding: 10px; box-shadow: 0 20px 40px rgba(16, 36, 58, .18); }
  .nav-pill.is-open { display: flex; }
  .header-cta { display: none; }
  .header-row { position: relative; }
  .nav { order: 3; }
  .approach, .founder { grid-template-columns: 1fr; gap: 48px; }
  .mosaic, .q-grid { grid-template-columns: 1fr 1fr; }
  .hero-art { width: 62vw; opacity: .55; }
  .section { padding: 88px 0; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .brand img { width: 52px; } /* <picture> swaps to the symbol: below the 240px text-logo minimum the guidelines specify it */
  .markets-grid, .service-grid, .mosaic, .q-grid, .scope-form, .footer-grid { grid-template-columns: 1fr; }
  .img-card { min-height: 380px; }
  .tile-text { aspect-ratio: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
  .js [data-anim] { opacity: 1; transform: none; }
  .hero-art { transform: none !important; }
}

/* ---------- Booking: contact strip ---------- */
.book-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; max-width: 820px; margin: 0 auto; padding: 18px 22px; text-align: left; border: 1px solid var(--line); border-radius: 16px; background: rgba(230, 236, 244, .06); }
.book-strip-text { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.book-strip-text strong { color: var(--text); font-size: 16px; }
.book-strip-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue); color: var(--white); }
.book-strip-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.or-divider { display: flex; align-items: center; gap: 14px; max-width: 820px; margin: 26px auto !important; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Booking: dialog ---------- */
.booking { width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 20px; background: var(--bg); color: var(--text); box-shadow: 0 40px 100px rgba(16, 36, 58, .35); overflow: auto; }
.booking::backdrop { background: rgba(16, 36, 58, .62); backdrop-filter: blur(4px); }
.booking[open] { animation: booking-in 320ms var(--ease); }
.booking[open]::backdrop { animation: booking-fade 320ms var(--ease); }
@keyframes booking-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes booking-fade { from { opacity: 0; } to { opacity: 1; } }
.booking-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 28px 32px 20px; background: var(--bg); border-bottom: 1px solid var(--line); }
.booking-head .eyebrow { margin-bottom: 12px; }
.booking-head h2 { font-size: clamp(24px, 3vw, 32px); }
.booking-sub { margin-top: 8px; color: var(--muted); font-size: 15px; }
.booking-close { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; transition: background 300ms var(--ease); }
.booking-close:hover { background: var(--bg-alt); }
.booking-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.booking-body { position: relative; padding: 24px 32px; }
.booking-body iframe { display: block; width: 100%; height: min(680px, 68dvh); border: 0; border-radius: 12px; background: var(--white); }
.booking-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 40px 0; color: var(--muted); }
.booking-loading span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--blue); animation: booking-spin 800ms linear infinite; }
@keyframes booking-spin { to { transform: rotate(360deg); } }
.booking-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.booking-type { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.booking-type-time { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ice); color: var(--blue); font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.booking-type h3 { font-size: 20px; margin-bottom: 8px; }
.booking-type p { color: var(--muted); font-size: 15px; }
.booking-note { margin: 22px 0 18px; padding: 14px 16px; border-radius: 12px; background: var(--bg-alt); color: var(--muted); font-size: 15px; }
.booking-note strong { color: var(--text); }
.booking-foot { padding: 0 32px 24px; font-size: 13px; color: var(--muted); }
@media (max-width: 600px) {
  .booking { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .booking-head { padding: 20px 16px 16px; }
  .booking-body { padding: 16px; }
  .booking-body iframe { height: calc(100dvh - 210px); }
  .booking-types { grid-template-columns: 1fr; }
  .booking-foot { padding: 0 16px 20px; }
  .book-strip .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .booking[open], .booking[open]::backdrop, .booking-loading span { animation: none !important; }
}
/* the hidden attribute must win over the display rules above */
.booking [hidden] { display: none !important; }
.booking-foot a { color: var(--blue); font-weight: 600; }
.booking-foot [hidden] { display: none !important; }
.booking-types-one { grid-template-columns: 1fr; }
.booking-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.booking-actions [hidden] { display: none !important; }

/* No founder photo yet: hide the empty slot and let the text take the full width */
.founder-img.missing { display: none; }
.founder:has(.founder-img.missing) { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.founder-copy .founder-more { margin-top: 14px; }
.creds li strong { color: var(--text); font-weight: 600; }
.creds li { color: var(--muted); }
.founder-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; min-height: 44px; color: var(--accent-text); font-weight: 600; text-decoration: none; }
.founder-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.founder-solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }

/* ---------- Brand film (directly under the hero) ---------- */
.film-section { padding: 72px 0 24px; background: var(--bg); }
.film { position: relative; border-radius: 24px; overflow: hidden; background: var(--navy); aspect-ratio: 16 / 9; box-shadow: 0 30px 80px rgba(16, 36, 58, .22); }
.film-video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.film-controls { position: absolute; right: 20px; top: 20px; display: flex; gap: 10px; }  /* top-right: the film keeps its own captions in the other corners */
.film-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 48px; height: 48px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(16, 36, 58, .62); color: var(--white); backdrop-filter: blur(10px); font: 600 13px/1 "Inter", sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background 300ms var(--ease), transform 300ms var(--ease); }
.film-btn:hover { background: var(--blue); transform: translateY(-2px); }
.film-btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.film-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.film-btn .i-play { fill: currentColor; stroke: none; }
.film-btn .i-play, .film-btn .i-sound { display: none; }
.film.is-paused .film-btn .i-pause { display: none; }
.film.is-paused .film-btn .i-play { display: block; }
.film.has-sound .film-btn .i-muted { display: none; }
.film.has-sound .film-btn .i-sound { display: block; }
@media (max-width: 600px) {
  .film-section { padding: 40px 0 8px; }
  .film { border-radius: 16px; }
  .film-controls { right: 10px; top: 10px; gap: 8px; }
  .film-btn-label { display: none; }
  .film-btn { padding: 0; width: 44px; min-width: 44px; height: 44px; }
}

/* ---------- Legal footer ---------- */
.footer-legal { margin-top: 56px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.footer-disclaimer { max-width: 880px; }
.footer-entity a, .form-status a, .booking-foot a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-entity a:hover { color: var(--white); }
/* Draft markers for details only the owner can supply. The build warns while any remain. */
mark.todo { background: var(--ice); color: var(--navy); padding: 0 4px; border-radius: 4px; outline: 1px dashed var(--blue); }

/* ---------- Legal pages ---------- */
.legal-header { position: sticky; }
.legal-header .header-row { justify-content: space-between; }
.legal { padding: 64px 0 96px; background: var(--bg); color: var(--text); }
.legal-wrap { max-width: 820px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 12px; }
.legal-meta { color: var(--muted); font-size: 15px; margin-bottom: 32px; }
.legal-toc { padding: 20px 24px; border-radius: 16px; background: var(--bg-alt); margin-bottom: 40px; }
.legal-toc ol { list-style: decimal; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 15px; }
.legal-toc li { margin: 4px 0; break-inside: avoid; }
.legal-toc a { color: var(--accent-text); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.legal section { padding-top: 12px; margin-bottom: 32px; scroll-margin-top: 110px; }
.legal h2 { font-size: 24px; margin-bottom: 12px; }
.legal p, .legal li { color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; margin: 12px 0; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--text); }
.legal a { color: var(--accent-text); }
.legal-table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
.legal-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); }
.legal-table th { background: var(--bg-alt); color: var(--text); font-weight: 600; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-page .site-footer { padding-top: 8px; }
.legal-page .footer-legal { margin-top: 0; border-top: 0; }
@media (max-width: 600px) { .legal-toc ol { columns: 1; } .legal-header .btn { padding: 12px 16px; font-size: 12px; } }
