/* Bree Media House - shared stylesheet. Colours are CSS variables: change them in :root. */
:root {
  --bg: #f7f6f3;
  --surface: #ffffff;
  --ink: #070b25;
  --text: #2a2f48;
  --muted: #5a6078;
  --line: rgba(7, 11, 37, 0.1);
  --blue: #526cff;
  --blue-ink: #3d54e0;
  --blue-soft: rgba(82, 108, 255, 0.12);
  --navy: #070b25;
  --shadow-sm: 0 1px 2px rgba(7, 11, 37, 0.06), 0 2px 8px rgba(7, 11, 37, 0.05);
  --shadow-md: 0 2px 4px rgba(7, 11, 37, 0.05), 0 10px 28px rgba(7, 11, 37, 0.09);
  --shadow-lg: 0 4px 8px rgba(7, 11, 37, 0.06), 0 18px 44px rgba(7, 11, 37, 0.16);
  --radius: 18px;
  --placeholder: #e3e6f3;
  --font-display: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text); font-family: var(--font-body); line-height: 1.65;
  min-height: 100vh; display: flex; flex-direction: column;
}
/* slow, soft colour drift behind everything */
body::before {
  content: ""; position: fixed; inset: -25%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 34% at 16% 20%, rgba(82, 108, 255, 0.16), transparent 70%),
    radial-gradient(34% 38% at 84% 14%, rgba(120, 190, 255, 0.18), transparent 70%),
    radial-gradient(42% 38% at 74% 80%, rgba(255, 190, 150, 0.18), transparent 70%),
    radial-gradient(38% 38% at 12% 86%, rgba(160, 140, 255, 0.12), transparent 70%);
  animation: drift 50s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4%, -3%, 0) scale(1.08); }
  100% { transform: translate3d(-4%, 3%, 0) scale(1.03); }
}
main { flex: 1; }
[hidden] { display: none !important; }
html.lb-open, html.lb-open body { overflow: hidden; }
img, video { max-width: 100%; }
a { color: var(--blue-ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 0.5rem; z-index: 10000; background: var(--ink); color: #fff; font-weight: 700; padding: 0.5rem 1rem; border-radius: 8px; text-decoration: none; }
.skip-link:focus { left: 0.5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem 2rem; flex-wrap: wrap; padding-top: 0.9rem; padding-bottom: 0.9rem; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--ink); }
.brand-logo { display: block; height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.nav ul { display: flex; gap: 1.6rem; flex-wrap: wrap; list-style: none; }
.nav a:not(.btn) { position: relative; display: inline-block; color: var(--muted); text-decoration: none; font-family: var(--font-display); font-size: 0.92rem; font-weight: 500; padding: 0.4rem 0; transition: color 0.2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 46px; height: 46px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 14px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; }
.nav-toggle .bars { position: relative; display: block; width: 20px; height: 14px; }
.nav-toggle i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease; }
.nav-toggle i:nth-child(1) { top: 0; }
.nav-toggle i:nth-child(2) { top: 6px; }
.nav-toggle i:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; padding: 0.75rem 1.5rem; border-radius: 999px; border: 1px solid transparent; text-decoration: none; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--blue-ink); box-shadow: var(--shadow-lg); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { box-shadow: var(--shadow-md); border-color: rgba(82, 108, 255, 0.5); }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }
.btn-light:hover { background: #eef1ff; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ---------- type ---------- */
.eyebrow { font-family: var(--font-display); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-ink); }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-weight: 600; font-size: clamp(2rem, 4.4vw, 3.4rem); }
h2 { font-weight: 600; font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.lead { font-size: 1.12rem; color: var(--text); max-width: 62ch; }
.section { padding: 3.5rem 0; }
.section-head { max-width: 60ch; margin-bottom: 2rem; }
.section-head h2 { margin-top: 0.5rem; }
.section-head p { margin-top: 0.75rem; color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 3.5rem 0 2.5rem; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 3rem; align-items: center; }
.hero h1 { margin: 0.8rem 0 1.1rem; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-note { margin-top: 1.4rem; font-size: 0.88rem; color: var(--muted); }
.hero-video { position: relative; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: #070b25 url("/mark-white.svg") center / 84px no-repeat; }          /* the logo shows if the film is not found */
.hero-video::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 70% 20%, rgba(82, 108, 255, 0.45), transparent 70%); }
.hero-film { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-open { position: absolute; inset: 0; z-index: 2; border: 0; background: transparent; cursor: pointer; }
.hero-sound { z-index: 3; }
.bento-section { padding-top: 0.5rem; }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 14px; height: 470px; }
.bento-more { margin-top: 1.4rem; }
.bento-card { position: relative; display: block; border-radius: 26px; overflow: hidden; background: var(--placeholder); box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bento-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.bento-card:hover img { transform: scale(1.06); }
.bento-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 11, 37, 0.6), transparent 48%); pointer-events: none; }
.bento-lead { grid-column: 1 / span 2; grid-row: 1 / span 2; }
.bento-lead .bento-chip { font-size: 0.92rem; padding: 0.5rem 1.05rem; }
.bento-chip { position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: #fff; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); }
.bento-arrow { position: absolute; right: 14px; top: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.94); color: var(--ink); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translate(-6px, 6px); transition: opacity 0.25s, transform 0.25s; }
.bento-arrow svg { width: 17px; height: 17px; }
.bento-card:hover .bento-arrow, .bento-card:focus-visible .bento-arrow { opacity: 1; transform: none; }
@media (hover: none) { .bento-arrow { opacity: 1; transform: none; } }

/* ---------- featured films (autoplay, November content) ---------- */
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.6rem; }
.head-row .section-head { margin-bottom: 0; }
.feat-nav { display: flex; gap: 0.5rem; flex-shrink: 0; }
.feat-arrow, .q-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); cursor: pointer; font-size: 1.4rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; transition: box-shadow 0.2s, transform 0.2s, background 0.2s, color 0.2s; }
.feat-arrow:hover, .q-arrow:hover { box-shadow: var(--shadow-md); background: var(--ink); color: #fff; transform: translateY(-2px); }
.feat-stage { --fw: min(50vw, 600px); --ar: 2; position: relative; outline-offset: 6px; }
.feat-stage:not(.is-js) { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0.4rem 1.5rem 1.6rem; }
.feat-stage:not(.is-js) .feat-card { flex: 0 0 min(82vw, 470px); scroll-snap-align: start; }
.feat-stage.is-js { height: calc(var(--fw) / var(--ar) + 4.6rem); overflow: hidden; overflow: clip; touch-action: pan-y; }
.feat-stage.is-js .feat-card { position: absolute; top: 0; left: 50%; width: var(--fw); transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s ease; will-change: transform, opacity; }
.feat-card[data-pos="0"] { z-index: 3; opacity: 1; transform: translateX(-50%); }
.feat-card[data-pos="-1"], .feat-card[data-pos="1"] { z-index: 2; opacity: 0.34; }
.feat-card[data-pos="-1"] { transform: translateX(calc(-50% - 86%)) scale(0.84); }
.feat-card[data-pos="1"] { transform: translateX(calc(-50% + 86%)) scale(0.84); }
.feat-card[data-pos="-1"]:hover, .feat-card[data-pos="1"]:hover { opacity: 0.6; }
.feat-card[data-pos="-2"], .feat-card[data-pos="2"] { z-index: 1; opacity: 0; pointer-events: none; transform: translateX(-50%) scale(0.7); }
.feat-card:not([data-pos="0"]) .feat-sound, .feat-card:not([data-pos="0"]) .feat-new { display: none; }
.feat-card:not([data-pos="0"]) .feat-open { cursor: pointer; }
.feat-card:not([data-pos="0"]) .feat-cap { opacity: 0; }
.feat-stage.is-js .feat-card { transform-origin: 50% calc(var(--fw) / var(--ar) / 2); }
.feat-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.4rem; }
.feat-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(7, 11, 37, 0.2); cursor: pointer; transition: width 0.3s, background 0.3s; }
.feat-dot[aria-current="true"] { width: 28px; background: var(--blue); }
.feat-media { position: relative; aspect-ratio: var(--ar, 2); border-radius: 24px; overflow: hidden; background: #0a0f33; box-shadow: var(--shadow-md); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feat-card[data-pos="0"]:hover .feat-media, .feat-stage:not(.is-js) .feat-card:hover .feat-media { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-video { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.feat-open { position: absolute; inset: 0; z-index: 1; border: 0; background: transparent; cursor: pointer; }
.feat-new { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.28rem 0.7rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; color: #fff; background: rgba(7, 11, 37, 0.6); backdrop-filter: blur(8px); pointer-events: none; }
.feat-new::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 rgba(82, 108, 255, 0.7); animation: pulse 2s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(82, 108, 255, 0.7); } 70%, 100% { box-shadow: 0 0 0 9px rgba(82, 108, 255, 0); } }
.feat-sound { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: 999px; border: 0; cursor: pointer; font-size: 0.76rem; font-weight: 600; color: #fff; background: rgba(7, 11, 37, 0.7); backdrop-filter: blur(6px); transition: background 0.2s; }
.feat-sound:hover, .feat-sound.is-on { background: var(--blue); }
.feat-sound svg { width: 15px; height: 15px; }
.feat-sound .ic-on { display: none; }
.feat-sound.is-on .ic-on { display: inline; }
.feat-sound.is-on .ic-off { display: none; }
.feat-cap { padding: 0.9rem 0.3rem 0; display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.feat-cap h3 { font-size: 1.02rem; }
.feat-cap a { font-size: 0.84rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.feat-cap a:hover { text-decoration: underline; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 1.6rem; transition: transform 0.25s, box-shadow 0.25s; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover, .card.is-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .more { display: inline-flex; gap: 0.35rem; align-items: center; margin-top: 0.9rem; font-weight: 700; font-size: 0.9rem; color: var(--blue-ink); }
.card .more::after { content: "\2192"; transition: transform 0.2s; }
a.card:hover .more::after { transform: translateX(5px); }
.icon-badge { width: 46px; height: 46px; border-radius: 14px; background: var(--blue-soft); color: var(--blue-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.icon-badge svg { width: 24px; height: 24px; }

/* process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; list-style: none; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.4rem; }
.steps li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.9rem; }
.steps h3 { font-size: 1.02rem; margin-bottom: 0.35rem; }
.steps p { font-size: 0.92rem; color: var(--muted); }
.steps.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* checklist */
.checks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem 2rem; }
.checks li { position: relative; padding-left: 1.7rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d54e0' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* testimonials */
.quote-stage { --qw: min(86vw, 400px); --qoff: 104%; position: relative; outline-offset: 6px; }
.quote-stage:not(.is-js) { display: flex; gap: 1.25rem; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0.4rem 1.5rem 1.6rem; }
.quote-stage:not(.is-js) .quote { flex: 0 0 min(84vw, 390px); scroll-snap-align: start; }
.quote-stage.is-js { display: grid; justify-items: center; align-items: start; overflow-x: hidden; overflow-x: clip; padding: 0.4rem 0 1.6rem; touch-action: pan-y; }
.quote-stage.is-js .quote { grid-area: 1 / 1; width: var(--qw); transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.45s ease; will-change: transform, opacity; }
.quote[data-pos="0"] { z-index: 4; opacity: 1; transform: none; }
.quote[data-pos="-1"], .quote[data-pos="1"] { z-index: 3; opacity: 0.42; cursor: pointer; }
.quote[data-pos="-1"] { transform: translateX(calc(var(--qoff) * -1)) scale(0.92); }
.quote[data-pos="1"] { transform: translateX(var(--qoff)) scale(0.92); }
.quote[data-pos="-1"]:hover, .quote[data-pos="1"]:hover { opacity: 0.65; }
.quote[data-pos="-2"], .quote[data-pos="2"] { z-index: 2; opacity: 0.16; pointer-events: none; }
.quote[data-pos="-2"] { transform: translateX(calc(var(--qoff) * -2.05)) scale(0.84); }
.quote[data-pos="2"] { transform: translateX(calc(var(--qoff) * 2.05)) scale(0.84); }
.quote[data-pos="-3"], .quote[data-pos="3"] { z-index: 1; opacity: 0; pointer-events: none; transform: scale(0.8); }
.quote:not([data-pos="0"]) .quote-more { pointer-events: none; }
.quote-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 0.2rem; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 1.3rem; display: flex; flex-direction: column; gap: 0.9rem; }
.quote-logos { display: flex; align-items: center; gap: 0.7rem; min-height: 30px; }
.quote-logos img { height: auto; max-height: 28px; max-width: 108px; width: auto; object-fit: contain; display: block; }
.quote { position: relative; }
.quote::after { content: "\201C"; position: absolute; right: 1.2rem; top: 0.5rem; font-family: var(--font-display); font-size: 4.2rem; line-height: 1; color: var(--blue); opacity: 0.18; pointer-events: none; }
.quote-logos img.quote-thumb { width: 44px; height: 44px; max-height: none; max-width: none; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow-sm); }
.quote-body { font-size: 0.94rem; flex: 1; }
.quote-body p + p { margin-top: 0.7rem; }
.quote-body.is-clamped { max-height: 10.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 68%, transparent); mask-image: linear-gradient(#000 68%, transparent); }
.quote-more { align-self: flex-start; margin-top: -0.3rem; padding: 0; border: 0; background: none; cursor: pointer; font-size: 0.84rem; font-weight: 700; color: var(--blue-ink); }
.quote-more:hover { text-decoration: underline; }
.quote figcaption { display: flex; flex-direction: column; gap: 0.1rem; }
.quote figcaption strong { color: var(--ink); font-family: var(--font-display); font-size: 0.95rem; }
.quote figcaption span { font-size: 0.78rem; font-weight: 700; color: var(--blue-ink); text-transform: uppercase; letter-spacing: 0.05em; }

/* call to action band */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, #1f2b8f 100%); color: #fff; border-radius: 28px; padding: 3rem 2.5rem; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 52ch; margin: 0.8rem auto 1.6rem; }

/* faq */
.faq { display: grid; gap: 0.8rem; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); padding: 0 1.3rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 0; font-family: var(--font-display); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--blue-ink); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.1rem; color: var(--muted); }

/* breadcrumbs + page heads */
.crumbs { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.2rem; }
.crumbs a { color: var(--muted); }
.page-head { padding: 3rem 0 1.5rem; }
.page-head.compact { padding: 1.8rem 0 0.4rem; }
.page-head.compact .crumbs { margin-bottom: 0.7rem; }
.page-head.compact h1 { margin: 0.4rem 0 0.7rem; max-width: 26ch; font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.page-cta { margin-top: 1.1rem; }
.section.tight { padding: 1.9rem 0; }
.section.tight .section-head { margin-bottom: 1.2rem; }
.section.tight .section-head h2 { font-size: clamp(1.3rem, 2.3vw, 1.75rem); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem 3.5rem; align-items: start; }
.faq-split { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.checks.one { grid-template-columns: 1fr; gap: 0.6rem; }
.steps.stack { grid-template-columns: 1fr; gap: 0.7rem; }
.steps.stack li { position: relative; padding: 0.95rem 1.2rem 0.95rem 4rem; }
.steps.stack li::before { position: absolute; left: 1.1rem; top: 0.95rem; margin: 0; }
.related { display: grid; gap: 0.8rem; }
.rel-card { display: flex; gap: 1rem; align-items: center; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1rem 1.2rem; transition: transform 0.25s, box-shadow 0.25s; }
.rel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rel-card .icon-badge { margin: 0; flex-shrink: 0; }
.rel-card h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.rel-card p { font-size: 0.88rem; color: var(--muted); }
.card.mini { padding: 0; overflow: hidden; }
.mini-img { aspect-ratio: 16 / 9; background: var(--placeholder); overflow: hidden; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.card.mini:hover .mini-img img { transform: scale(1.05); }
.mini-body { padding: 0.9rem 1.1rem 1.1rem; }
.mini-body h3 { font-size: 1.02rem; margin-bottom: 0.25rem; }
.mini-body p { font-size: 0.86rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.page-head h1 { margin: 0.7rem 0 1rem; max-width: 22ch; }
.prose { max-width: 760px; }
.prose p { margin-bottom: 1.1rem; }
.prose h2 { margin: 2rem 0 0.7rem; font-size: 1.3rem; }
.prose ul { margin: 0 0 1.1rem 1.3rem; }
.prose li { margin-bottom: 0.35rem; }

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1.5rem; }
.work-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.25s, box-shadow 0.25s; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-open { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; padding: 0; border: 0; cursor: pointer; background: var(--placeholder); overflow: hidden; }
.work-open img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.work-open:hover img { transform: scale(1.05); }
.work-open .tile-letter { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; color: var(--blue-ink); }
.play-badge { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.4rem 0.85rem 0.4rem 0.6rem; border-radius: 999px; background: rgba(7, 11, 37, 0.82); color: #fff; font-size: 0.78rem; font-weight: 600; backdrop-filter: blur(4px); transition: background 0.2s, transform 0.2s; }
.play-badge svg { width: 16px; height: 16px; }
.work-open:hover .play-badge { background: var(--blue-ink); transform: scale(1.05); }
.work-body { padding: 1.2rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: 0.45rem; flex: 1; }
.work-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.work-meta h3 { font-size: 1.1rem; }
.work-year { font-size: 0.82rem; font-weight: 700; color: var(--blue-ink); background: var(--blue-soft); padding: 1px 9px; border-radius: 6px; white-space: nowrap; }
.work-body p { font-size: 0.93rem; color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin-top: auto; padding-top: 0.5rem; }
.tag-list li { font-size: 0.74rem; color: var(--muted); background: rgba(7, 11, 37, 0.05); padding: 1px 9px; border-radius: 999px; }

/* ---------- about ---------- */
.team { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.1rem; }
.person { flex: 0 0 200px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.3rem 1rem; text-align: center; transition: transform 0.25s, box-shadow 0.25s; }
.person:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.founders { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }
.person.founder { flex: 0 1 280px; padding: 1.8rem 1.2rem; }
.person.founder .avatar { width: 132px; height: 132px; margin-bottom: 1rem; }
.person.founder h3 { font-size: 1.15rem; }
.person.founder p { font-size: 0.92rem; }
.person.founder .avatar .tile-letter { font-size: 1.8rem; }
.avatar { position: relative; overflow: hidden; width: 92px; height: 92px; border-radius: 50%; margin: 0 auto 0.8rem; display: flex; box-shadow: var(--shadow-md); border: 3px solid #fff; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; display: block; }
.avatar .tile-letter { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: #fff; }
.person h3 { font-size: 1rem; }
.person p { font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; display: grid; gap: 0.9rem; margin-top: 1.4rem; }
.contact-list li { display: flex; gap: 0.75rem; align-items: baseline; color: var(--muted); }
.contact-list strong { color: var(--ink); min-width: 5.2rem; font-family: var(--font-display); font-weight: 600; }
.socials { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1.4rem; list-style: none; }
.socials a { display: inline-flex; padding: 0.4rem 0.9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-size: 0.85rem; font-weight: 600; text-decoration: none; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s, transform 0.2s; }
.socials a:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 2rem; }
.form { display: flex; flex-direction: column; gap: 1.05rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; background: #fff; border: 1px solid rgba(7, 11, 37, 0.2); border-radius: 10px; padding: 0.8rem 1rem; color: var(--ink); font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field textarea { resize: vertical; min-height: 8rem; }
.form .btn { align-self: flex-start; }
.form-status { font-size: 0.92rem; min-height: 1.4em; color: var(--muted); }
.form-status.is-ok { color: var(--blue-ink); font-weight: 600; }
.form-status.is-error { color: #b42318; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.78); margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3rem 0 2rem; }
.site-footer h2 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 0.9rem; font-weight: 600; }
.site-footer ul { list-style: none; display: grid; gap: 0.45rem; }
.site-footer a { color: rgba(255, 255, 255, 0.78); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-logo { display: block; height: 52px; width: auto; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); padding: 1.2rem 0 1.6rem; font-size: 0.84rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ---------- lightbox: current item large, neighbours peek in at low opacity ---------- */
.lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(5, 8, 28, 0.95); backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; overscroll-behavior: contain; }
.lb-viewport { --cw: min(70vw, 1040px, calc(74vh * 16 / 9)); width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; overflow: hidden; overflow: clip; padding: 1.2rem 0; }
.lb-slide { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.lb-slide img, .lb-slide video { width: 100%; height: 100%; object-fit: contain; display: block; }
.lb-current { grid-column: 2; width: var(--cw); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55); animation: lb-in 0.28s ease; }
@keyframes lb-in { from { opacity: 0.2; transform: scale(0.97); } to { opacity: 1; transform: none; } }
.lb-prev, .lb-next { width: calc(var(--cw) * 0.44); opacity: 0.32; cursor: pointer; transition: opacity 0.25s, transform 0.25s; }
.lb-prev { grid-column: 1; justify-self: end; margin-right: 1.4vw; transform: scale(0.88); transform-origin: right center; }
.lb-next { grid-column: 3; justify-self: start; margin-left: 1.4vw; transform: scale(0.88); transform-origin: left center; }
.lb-prev:hover, .lb-next:hover, .lb-prev:focus-visible, .lb-next:focus-visible { opacity: 0.62; transform: scale(0.92); }
.lb-prev video, .lb-next video { pointer-events: none; }
.lb-error { color: #cbd5e1; font-size: 0.9rem; padding: 2rem; text-align: center; margin: auto; }
.lb-caption { display: flex; gap: 1rem; align-items: baseline; color: #e2e8f0; font-size: 0.92rem; }
.lb-title { font-weight: 600; }
.lb-counter { color: #94a3b8; font-size: 0.84rem; letter-spacing: 0.04em; }
.lb-btn { position: absolute; z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.45); background: rgba(20, 24, 54, 0.7); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.5rem; line-height: 1; transition: background 0.2s, color 0.2s; }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev-btn { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next-btn { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- animated service icons, banners and icon buttons ---------- */
.svc-ico { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: inherit; overflow: hidden; }
.svc-anim { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; display: block; }
.svc-anim[hidden] { display: none; }
.is-anim > svg { display: none; }
.icon-badge.anim { width: 68px; height: 68px; border-radius: 20px; }
.icon-badge.anim .svc-ico > svg { width: 28px; height: 28px; }
.svc-top { padding: 1.1rem 0 0; }
.svc-top + .page-head.compact { padding-top: 1.3rem; }
.svc-visuals { padding-top: 0.3rem; padding-bottom: 0.4rem; }
.svc-banner { position: relative; aspect-ratio: 16 / 5; border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, #1f2b8f 100%); box-shadow: var(--shadow-md); display: flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.28); }
.svc-banner > svg { width: 84px; height: 84px; }
.svc-banner .svc-anim { object-fit: cover; }
.svc-switch { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.1rem; }
.svc-btn { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; width: 100px; padding: 0.7rem 0.4rem 0.6rem; border-radius: 18px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); font-size: 0.78rem; font-weight: 600; text-align: center; line-height: 1.2; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s, background 0.25s; }
.svc-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(82, 108, 255, 0.5); }
.svc-btn[aria-current="page"] { border-color: var(--blue); background: var(--blue-soft); }
.svc-btn .svc-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--blue-soft); color: var(--blue-ink); }
.svc-btn .svc-ico > svg { width: 24px; height: 24px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .bento { height: 420px; }
  .split, .faq-split { grid-template-columns: 1fr; }
  .hero-video { max-width: 620px; width: 100%; margin: 0 auto; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 1.1rem; }
  .site-header { position: relative; z-index: 50; }
  .site-header .wrap { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; }
  html.js .nav-toggle { display: flex; }
  html.js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 1.1rem 1.3rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); z-index: 60; }
  html.js .nav.is-open { display: flex; }
  html.js .nav ul { flex-direction: column; gap: 0; }
  html.js .nav li + li { border-top: 1px solid var(--line); }
  html.js .nav a:not(.btn) { display: block; padding: 0.95rem 0.2rem; font-size: 1.05rem; }
  html.js .nav a:not(.btn)::after { display: none; }
  html.js .nav .btn { margin-top: 0.9rem; align-self: stretch; }
  html:not(.js) .site-header .wrap { flex-wrap: wrap; }
  .hero-video { display: none; }
  .quote-stage { --qw: 80vw; --qoff: 96%; }
  .nav { gap: 1rem; }
  .nav ul { gap: 1.1rem; }
  .grid-3, .grid-4, .grid-2, .steps, .steps.three, .checks, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 2.6rem 0; }
  .person { flex-basis: calc(50% - 0.55rem); }
  .hero { padding-top: 2rem; }
  .bento { height: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 10px; }
  .bento-card { aspect-ratio: 4 / 3; border-radius: 20px; }
  .bento-lead { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .section.tight { padding: 1.6rem 0; }
  .svc-banner { aspect-ratio: 16 / 8; border-radius: 20px; }
  .svc-switch { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0.5rem; }
  .svc-btn { width: auto; padding: 0.55rem 0.15rem; font-size: 0.66rem; border-radius: 14px; }
  .svc-btn .svc-ico { width: 42px; height: 42px; border-radius: 12px; }
  .icon-badge.anim { width: 56px; height: 56px; }
  .head-row .btn { align-self: flex-start; }
  .brand-logo { height: 34px; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .feat-nav { display: none; }
  .lb-viewport { --cw: 88vw; }
  .feat-stage { --fw: 80vw; --ar: 1.778; }
  .lb-prev, .lb-next { margin-left: 0; margin-right: 0; }
  .lb-btn { width: 40px; height: 40px; }
  .cta-band { padding: 2.2rem 1.4rem; border-radius: 22px; }
  .form-card { padding: 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before { animation: none; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
