:root {
  --midnight: #05070b;
  --soft-white: #f2f4f5;
  --frosted-cyan: #00edfe;
  --steel-blue: #4f789e;
  --cool-grey: #8992a3;
  --light-grey: #c8ced2;
  --surface: color-mix(in srgb, var(--midnight) 96%, var(--soft-white));
  --line: rgba(79, 120, 158, 0.68);
  --line-soft: rgba(242, 244, 245, 0.18);
  --sans: "Montserrat", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page-gutter: clamp(24px, 4.666667vw, 56px);
  --cell-gap: 12px;
  --content-gap: 20px;
  --section-gap: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; background: var(--midnight); color: var(--soft-white); font: 300 16px/1.55 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
.site-header, main, footer { width: min(calc(100% - 2 * var(--page-gutter)), 1560px); margin-inline: auto; }

.site-header { position: sticky; z-index: 50; top: 0; height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 28px; background: rgba(5, 7, 11, 0.94); backdrop-filter: blur(16px); }
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, var(--line-soft) 16%, var(--line-soft) 84%, transparent); }
.brand { --brand-mark-size: 1.125rem; --brand-gap-ratio: 0.20; display: inline-flex; flex: 0 0 auto; flex-direction: column; }
.brand-name { white-space: nowrap; font-size: var(--brand-mark-size); font-weight: 400; line-height: 1.05; letter-spacing: -0.035em; }
.site-header .brand { --brand-mark-size: 22px; }
.site-header .brand-name { font-size: var(--brand-mark-size); }
.brand-regular { font-weight: 600; }
.brand-fine { font-weight: 100; }
.brand-line { display: flex; justify-content: space-between; width: 100%; min-width: 0; flex: none; margin-top: var(--brand-tagline-margin, calc(var(--brand-mark-size) * 0.14)); transform: translateX(var(--brand-ink-offset, 1px)); color: var(--frosted-cyan); font-size: 0.58rem; font-weight: 400; line-height: 1; letter-spacing: 0; }
.brand-line > span { letter-spacing: 0; }
.site-header .brand-line { color: var(--frosted-cyan); }
.brand-baseline { display: inline-block; width: 0; height: 0; padding: 0; margin: 0; vertical-align: baseline; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 44px); }
.desktop-nav a { position: relative; padding: 35px 0; color: var(--soft-white); font-size: 0.7rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; }
.desktop-nav a::after { content: ""; position: absolute; right: 100%; bottom: 25px; left: 0; height: 2px; background: var(--frosted-cyan); transition: right 0.18s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="true"] { color: var(--soft-white); }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="true"]::after { right: 0; }
.menu-button { display: none; align-items: center; gap: 18px; padding: 10px 0; border: 0; color: var(--soft-white); background: transparent; letter-spacing: 0.1em; text-transform: uppercase; }
.menu-button i, .menu-button i::before, .menu-button i::after { display: block; width: 34px; height: 2px; background: var(--frosted-cyan); }
.menu-button i { position: relative; }
.menu-button i::before, .menu-button i::after { content: ""; position: absolute; left: 0; }
.menu-button i::before { top: -9px; }
.menu-button i::after { top: 9px; }
.mobile-menu { position: fixed; z-index: 45; top: 94px; right: 0; left: 0; padding: 12px max(var(--page-gutter), calc((100% - 1560px) / 2)); border-bottom: 1px solid var(--line); background: rgba(5, 7, 11, 0.98); }
.mobile-menu a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }

.button { min-height: 55px; display: inline-flex; align-items: center; justify-content: center; padding: 0 26px; border: 1px solid var(--frosted-cyan); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; transition: background 0.18s, color 0.18s, transform 0.18s; }
.button:hover { transform: translateY(-1px); }
.button-solid { color: var(--midnight); background: var(--frosted-cyan); }
.button-solid:hover { border-color: var(--soft-white); background: var(--soft-white); }
.button-outline { color: var(--soft-white); background: transparent; }
.button-outline:hover { color: var(--midnight); background: var(--frosted-cyan); }

.hero { display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); grid-template-areas: "copy film" "actions film"; column-gap: clamp(44px, 6vw, 104px); row-gap: var(--content-gap); align-items: end; padding: calc(var(--section-gap) / 2) 0; }
.hero-copy { grid-area: copy; align-self: end; }
.hero-copy h1 { margin-bottom: var(--content-gap); font-size: clamp(3rem, 4vw, 3.125rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.045em; }
.hero-copy p { max-width: 620px; color: var(--light-grey); font-size: 1rem; line-height: 1.48; letter-spacing: -0.02em; }
.brand-film { grid-area: film; align-self: end; overflow: hidden; border: 1px solid rgba(79, 120, 158, 0.65); background: var(--surface); }
.brand-film img { width: 100%; height: auto; }
.brand-film iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.brand-film figcaption { min-height: 48px; display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding: 0 22px; border-top: 1px solid rgba(79, 120, 158, 0.65); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.12em; white-space: nowrap; }
.brand-film figcaption b { font-weight: 400; }
.hero-actions { grid-area: actions; display: grid; grid-template-columns: 1fr; gap: var(--cell-gap); }

.work-section { padding: calc(var(--section-gap) / 2) 0; }
.section-block { padding: calc(var(--section-gap) / 2) 0; }
.rule-heading { display: flex; align-items: center; gap: var(--content-gap); margin-bottom: var(--content-gap); }
.rule-heading h2 { font-size: 0.78rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.rule-heading span { height: 1px; flex: 1; background: linear-gradient(90deg, var(--steel-blue), rgba(79, 120, 158, 0.18)); }
.work-list { display: grid; grid-template-columns: repeat(3, 1fr); align-items: stretch; gap: var(--cell-gap); }
.work-card { min-width: 0; overflow: hidden; border: 1px solid rgba(79, 120, 158, 0.65); background: var(--surface); }
.work-visual { aspect-ratio: 16 / 9; position: relative; display: block; overflow: hidden; color: inherit; text-decoration: none; }
.work-visual::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(5, 7, 11, 0.83)); pointer-events: none; }
.work-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(0.86) contrast(1.05); transition: transform 0.35s ease; }
.work-card-link:hover img { transform: scale(1.015); }
.work-card-link:focus-visible { outline: 2px solid var(--frosted-cyan); outline-offset: -3px; }
.work-label { position: absolute; z-index: 2; bottom: 16px; left: 20px; }
.work-label h3 { margin-bottom: 8px; font-size: 0.74rem; font-weight: 400; letter-spacing: 0.13em; }
.work-label span { display: block; width: 44px; height: 3px; background: var(--steel-blue); }
.film-dialog { width: min(1120px, calc(100vw - 32px), calc((100dvh - 140px) * 1.7778)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0 0 44px; overflow: hidden; color: var(--soft-white); background: var(--surface); border: 1px solid rgba(137, 146, 163, 0.22); border-radius: 18px; box-shadow: 0 32px 110px rgba(0, 0, 0, 0.65); }
.film-dialog::backdrop { background: rgba(5, 7, 11, 0.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.film-dialog[open] { animation: film-reveal 180ms ease-out; }
.film-dialog-bar { height: 44px; display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; }
.film-dialog-bar h2 { font-size: 0.875rem; font-weight: 500; letter-spacing: 0.08em; }
.film-close { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(137, 146, 163, 0.13); color: var(--soft-white); cursor: pointer; }
.film-close span { font-family: Arial, sans-serif; font-size: 28px; font-weight: 300; line-height: 1; }
.film-close:hover { background: rgba(137, 146, 163, 0.26); }
.film-close:focus { outline: none; }
.film-dialog.film-keyboard .film-close:focus { outline: 2px solid var(--frosted-cyan); outline-offset: 2px; }
.film-screen { aspect-ratio: 16 / 9; background: #000; }
.film-screen iframe { display: block; width: 100%; height: 100%; border: 0; }
@keyframes film-reveal { from { opacity: 0; transform: translateY(8px) scale(0.985); } to { opacity: 1; transform: none; } }

.case-layout, .about-layout, .contact-layout { display: grid; grid-template-columns: 0.88fr 1.12fr; gap: clamp(54px, 8vw, 128px); }
.kicker { margin-bottom: 15px; color: var(--frosted-cyan); font-size: 0.7rem; letter-spacing: 0.19em; text-transform: uppercase; }
.case-lead h2, .about-copy h2, .contact-copy h2 { margin-bottom: 22px; font-size: clamp(2.6rem, 4vw, 3.125rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.045em; }
.contact-copy h2 { margin-bottom: 20px; }
.case-lead > p:not(.kicker), .about-copy > p:not(.kicker), .contact-copy > p:not(.kicker):not(.availability) { max-width: 640px; color: var(--light-grey); }
.case-lead > p:not(.kicker) + p { margin-top: var(--content-gap); }

.case-layout { grid-template-columns: 0.72fr 1.28fr; }
.case-media-column { min-width: 0; }
.case-film { position: relative; display: block; width: 100%; margin: 0 0 var(--content-gap); overflow: hidden; border: 1px solid rgba(79, 120, 158, 0.65); color: var(--soft-white); background: var(--surface); }
.case-film::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(5, 7, 11, 0.78)); pointer-events: none; }
.case-film img { width: 100%; height: auto; }
.case-film-label { position: absolute; z-index: 3; inset: auto 18px 14px; display: flex; align-items: end; justify-content: space-between; gap: var(--content-gap); text-align: left; letter-spacing: 0.13em; }
.case-film-label strong, .case-film-label small { font-size: 0.65rem; font-weight: 400; }
.case-film-label small { color: var(--frosted-cyan); }
.case-points { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-points article { padding: 28px; border-left: 1px solid var(--line-soft); }
.case-points article:first-child { border-left: 0; }
.case-points span { color: var(--cool-grey); font-size: 0.65rem; letter-spacing: 0.13em; text-transform: uppercase; }
.case-points p { margin-top: var(--content-gap); color: var(--light-grey); font-size: 0.9rem; }

.about-layout { grid-template-columns: 0.65fr 1.35fr; }
.about-statement { position: relative; min-height: 360px; overflow: hidden; border: 1px solid rgba(79, 120, 158, 0.65); background: var(--midnight); }
.about-statement::before { content: ""; position: absolute; inset: 0; background: url("media/filmmaking-about-real.jpg") center / cover no-repeat; opacity: 0.7; }
.about-copy > p + p { margin-top: var(--content-gap); }
.project-note { margin-top: 0; padding: 0 0 var(--content-gap); }
.project-note p { max-width: 620px; margin: 20px 0 0; color: var(--light-grey); font-size: 0.9rem; line-height: 1.55; }

.contact-layout { grid-template-columns: 0.82fr 1.18fr; align-items: start; }
.email-link { display: flex; justify-content: space-between; gap: 18px; margin-top: var(--content-gap); padding: 16px 0; border-top: 1px solid var(--steel-blue); border-bottom: 1px solid var(--steel-blue); color: var(--light-grey); font-size: clamp(0.9rem, 1.5vw, 1.24rem); }
.availability { margin-top: 22px; color: var(--cool-grey); font-size: 0.7rem; }
.enquiry-form { width: min(100%, 560px); display: grid; justify-self: end; gap: 12px; margin-top: 0; padding: 24px 30px; border: 1px solid var(--steel-blue); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry-form label { display: grid; gap: 8px; color: var(--light-grey); font-size: 0.67rem; letter-spacing: 0.1em; text-transform: uppercase; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-soft); border-radius: 0; outline: 0; color: var(--soft-white); background: transparent; font-size: 1rem; font-weight: 300; letter-spacing: 0; text-transform: none; }
.enquiry-form select { color-scheme: dark; }
.enquiry-form option { background: var(--midnight); color: var(--soft-white); }
.enquiry-form input::placeholder { color: var(--cool-grey); opacity: 1; }
.enquiry-form textarea { min-height: 80px; resize: vertical; }
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--frosted-cyan); }
.enquiry-form .button { min-width: 190px; justify-self: start; cursor: pointer; }
.form-status { margin-top: -4px; color: var(--cool-grey); font-size: 0.7rem; }
.form-status { color: var(--frosted-cyan); }
.form-note { margin-top: -8px; color: var(--cool-grey); font-size: 0.78rem; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 30px; padding-block: 36px; border-top: 1px solid var(--line-soft); color: var(--cool-grey); font-size: 0.67rem; }
footer .brand { --brand-mark-size: 0.84375rem; justify-self: start; width: max-content; }
footer .brand-name { font-size: var(--brand-mark-size); }
footer .brand-line { color: var(--cool-grey); font-size: 0.435rem; }
footer p:last-child { text-align: right; }
.footer-legal { display: grid; justify-items: end; gap: 5px; text-align: right; color: var(--cool-grey); }
.privacy-trigger { display: inline-flex; align-items: center; min-height: 32px; font-size: 0.75rem; color: var(--light-grey); text-decoration: underline; text-decoration-color: var(--steel-blue); text-decoration-thickness: 1px; text-underline-offset: 5px; }
.privacy-trigger:hover { color: var(--frosted-cyan); text-decoration: underline; }
.privacy-trigger:focus-visible, .privacy-dialog.privacy-keyboard .privacy-close:focus { outline: 2px solid var(--frosted-cyan); outline-offset: 4px; }
.privacy-dialog:not(.privacy-keyboard) .privacy-close:focus { outline: none; box-shadow: none; }
.privacy-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; margin: auto; overflow-y: auto; color: var(--soft-white); background: var(--surface); border: 1px solid rgba(137,146,163,.22); border-radius: 18px; box-shadow: 0 32px 110px rgba(0,0,0,.65); }
.privacy-dialog::backdrop { background: rgba(5,7,11,.78); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.privacy-dialog-bar { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 4px 12px; background: var(--surface); z-index: 1; }
.privacy-close { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--light-grey); font-size: 1.75rem; cursor: pointer; }
.privacy-close:hover { color: var(--frosted-cyan); }
.privacy-content { padding: 0 clamp(22px,5vw,44px) 36px; overflow-wrap: anywhere; }
.privacy-content h1 { font-size: clamp(1.5rem,4vw,2rem); font-weight: 600; line-height: 1.2; }
.privacy-content h2 { font-size: 1rem; line-height: 1.4; font-weight: 500; margin: 26px 0 10px; color: var(--soft-white); }
.privacy-content p { font-size: .875rem; line-height: 1.8; color: var(--light-grey); margin: 0 0 12px; }
.privacy-content .privacy-updated { color: var(--cool-grey); font-size: .75rem; margin-top: 12px; }
.privacy-content a, .privacy-back { color: var(--light-grey); text-decoration: underline; text-underline-offset: 4px; }
.privacy-content a:hover, .privacy-back:hover { color: var(--frosted-cyan); }
.privacy-content strong { font-weight: 500; }
.privacy-page { max-width: 850px; padding-block: 32px; }
.privacy-page .privacy-content { padding: 36px 0; }
@media (pointer: coarse) { .privacy-trigger { min-height: 44px; } }

@media (max-width: 1050px) {
  :root { --section-gap: 52px; }
  .desktop-nav { display: none; }
  .menu-button { display: flex; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "copy" "film" "actions"; padding-top: 16px; }
  .hero-copy { max-width: 720px; }
  .work-list { grid-template-columns: 1fr; }
  .case-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .enquiry-form { width: 100%; justify-self: stretch; margin-top: 0; }
}

@media (max-width: 640px) {
  :root { --cell-gap: 10px; --content-gap: 14px; --section-gap: 36px; }
  html { scroll-padding-top: 52px; }
  .site-header { height: 52px; }
  .site-header::after { display: none; }
  .site-header .brand { --brand-mark-size: clamp(16px, 5.2vw, 22px); }
  .site-header .brand-name { font-size: var(--brand-mark-size); font-weight: 400; line-height: 1; letter-spacing: -0.035em; }
  .site-header .brand-line { font-size: 0.48rem; font-weight: 400; letter-spacing: 0; }
  .menu-button { gap: 14px; font-size: 0.72rem; }
  .menu-button i, .menu-button i::before, .menu-button i::after { width: 30px; }
  .mobile-menu { top: 52px; padding-inline: var(--page-gutter); }
  .hero { row-gap: 0; padding-top: 8px; }
  .hero-copy h1 { margin-bottom: 12px; font-size: clamp(1.95rem, 7vw, 2.35rem); line-height: 1.02; }
  .hero-copy p { max-width: 96%; font-size: 1rem; line-height: 1.34; }
  .brand-film { margin-top: 18px; }
  .brand-film figcaption { min-height: 40px; gap: 6px; padding: 0 14px; font-size: 0.75rem; letter-spacing: 0.07em; }
  .hero-actions { margin-top: var(--cell-gap); }
  .button { min-height: 48px; padding: 0 16px; font-size: 0.75rem; }
  .rule-heading { gap: var(--content-gap); margin-bottom: var(--content-gap); }
  .rule-heading h2 { font-size: 0.7rem; }
  .work-list { gap: var(--cell-gap); }
  .work-label { bottom: 10px; left: 14px; }
  .work-label h3 { margin-bottom: 6px; font-size: 0.63rem; }
  .work-label span { width: 34px; height: 2px; }
  .case-layout, .about-layout, .contact-layout { gap: 24px; }
  .case-lead h2, .about-copy h2, .contact-copy h2 { margin-bottom: 18px; font-size: clamp(1.5rem, 7.2vw, 2.125rem); }
  .about-statement { min-height: 240px; }
  .enquiry-form { padding: 24px 20px; }
  .case-film-label { inset: auto 13px 10px; }
  .case-film-label strong, .case-film-label small { font-size: 0.56rem; }
  .case-points { grid-template-columns: 1fr; }
  .case-points article { padding: 22px 20px; border-top: 1px solid var(--line-soft); border-left: 0; }
  .case-points article:first-child { border-top: 0; }
  .case-points p { margin-top: var(--cell-gap); }
  .field-row { grid-template-columns: 1fr; }
  footer { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 14px 16px; padding-block: 24px; }
  footer .brand { grid-column: 1; grid-row: 2; justify-self: start; width: 100%; max-width: 147px; min-width: 0; }
  footer .brand-image { max-width: 100%; }
  .footer-legal { display: contents; font-size: 0.6875rem; }
  .footer-legal p { grid-column: 2; grid-row: 2; text-align: right; color: var(--cool-grey); }
  .footer-legal .privacy-trigger { grid-column: 1 / -1; grid-row: 1; justify-self: center; font-size: 0.6875rem; }
  footer > p:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Email remains readable at rest; cyan identifies interaction. */
.email-link:hover, .email-link:focus-visible { color: var(--frosted-cyan); border-color: var(--frosted-cyan); }
.email-link:focus-visible { outline: 2px solid var(--frosted-cyan); outline-offset: 4px; }

/* Preserve the established featured frame while the reel is in editing. */
.reel-placeholder > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.brand-film, .work-card, .case-film { transition: border-color 180ms ease; }
@media (hover: hover) {
  .brand-film:hover, .work-card:hover, .case-film:hover { border-color: var(--frosted-cyan); }
}

@media (prefers-reduced-motion: reduce) {
  .brand-film, .work-card, .case-film { transition: none; }
}

/* One explicit gap between sections replaces paired section padding. */
main { display: flex; flex-direction: column; gap: var(--section-gap); padding-bottom: var(--section-gap); }
.hero { padding-bottom: 0; }
.work-section, .section-block { padding-block: 0; }
.case-film:last-child { margin-bottom: 0; }
/* Match the established Work image zoom without changing frame geometry. */
.brand-film > img, .case-film > img { transition: transform 350ms ease; }
@media (hover: hover) {
  .brand-film:hover > img, .case-film:hover > img { transform: scale(1.015); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-film > img, .case-film > img { transition: none; transform: none; }
  .work-card-link:hover img { transform: none; }
}

/* Shared section heading and content rhythm at every breakpoint. */
.rule-heading { margin-bottom: var(--content-gap); }
.hero-copy h1, .case-lead h2, .about-copy h2, .contact-copy h2 { margin-bottom: var(--content-gap); }
.case-layout, .about-layout, .contact-layout { align-items: start; }
.form-status:empty { display: none; }

/* Balance the label row between the previous section and its own content. */
main { gap: 0; }
.work-section > .rule-heading, .section-block > .rule-heading {
  margin-top: calc(var(--section-gap) / 2);
  margin-bottom: calc(var(--section-gap) / 2);
}
.email-link { color: var(--light-grey); font-weight: 300; }
.email-link:hover, .email-link:focus-visible { color: var(--frosted-cyan); }

/* Enquiry action lights up only when required entries are ready. */
.enquiry-form .button:disabled,
.enquiry-form .button:disabled:hover {
  color: var(--cool-grey); border-color: var(--cool-grey);
  background: transparent; cursor: not-allowed; transform: none;
}

/* Consistent visual frames; form content must remain fully usable. */
.case-film, .about-statement { aspect-ratio: 16 / 9; }
.case-film > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-statement { min-height: 0; }
.enquiry-form { width: 100%; aspect-ratio: auto; height: auto; min-height: 0; align-content: start; grid-auto-rows: max-content; }
@media (max-width: 1050px) {
  .enquiry-form { aspect-ratio: auto; }
}

/* R3 overlay; restore the approved About and Contact proportions. */
.case-film > img { position: absolute; inset: 0; }
.about-statement { aspect-ratio: auto; min-height: 360px; }
.enquiry-form { width: min(100%, 560px); aspect-ratio: auto; height: auto; min-height: 0; grid-auto-rows: max-content; padding-bottom: 24px; }
.enquiry-form textarea { height: auto; }
.case-film { margin-bottom: 0; }
.case-points { position: absolute; z-index: 2; inset: auto 0 0; border: 0; background: linear-gradient(transparent, rgba(5,7,11,.94)); padding: 32px 16px 16px; gap: 16px; }
.case-points article { padding: 0; border: 0; }
.case-points p { margin-top: 8px; color: var(--soft-white); font-size: .8rem; line-height: 1.4; }
@media (max-width: 1050px) { .enquiry-form { width: 100%; } }
@media (max-width: 640px) {
  .about-statement { min-height: 240px; }
  .case-points { grid-template-columns: 1fr; gap: 8px; padding: 24px 14px 14px; }
  .case-points article { display: grid; grid-template-columns: 100px 1fr; gap: 8px; align-items: baseline; }
  .case-points p { margin-top: 0; font-size: .72rem; }
  .case-points span { font-size: .58rem; letter-spacing: .06em; }
}

/* Approved R3 overlay: centred copy, stronger gradient, fine dividers. */
.case-film::after { inset: 30% 0 0; background: linear-gradient(to bottom, transparent, rgba(5,7,11,.78) 55%, rgba(5,7,11,.98)); }
.case-points { padding: 26px 18px 22px; gap: 0; background: transparent; text-align: center; }
.case-points article { padding: 0 18px; border-left: 1px solid var(--steel-blue); }
.case-points article:first-child { border-left: 0; }
.case-points p { margin: 10px auto 0; max-width: 24ch; }
@media (max-width: 640px) {
  .case-points { padding: 14px; gap: 8px; }
  .case-points article { display: block; padding: 6px 0 0; border-left: 0; border-top: 1px solid var(--steel-blue); }
  .case-points article:first-child { padding-top: 0; border-top: 0; }
  .case-points p { margin: 3px auto 0; max-width: none; }
}

/* R3 statements remain selectable live text over a clean photograph. */
.case-points span { color: var(--steel-blue); font-size: .75rem; }
.case-points p { font-size: .9rem; }
@media (max-width: 600px) {
  .case-points { padding: 10px 12px; gap: 4px; }
  .case-points span { font-size: .75rem; }
  .case-points p { font-size: .8rem; line-height: 1.25; }
}


/* R3, About and Contact: approved compact editorial layouts. */
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.case-lead { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
.case-lead h2 { margin: 0; }
.case-lead > p { max-width: none; }
.case-detail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; color: var(--light-grey); }
.case-points { padding: 32px; }
.case-points article { padding-inline: 24px; }
.case-points span { font-size: .875rem; }
.case-points p { font-size: clamp(1rem, 1.4vw, 1.25rem); line-height: 1.4; }
.about-layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; align-items: stretch; }
.about-statement { min-height: 360px; height: 100%; }
.about-copy { align-self: center; }
.about-copy h2 { font-size: clamp(2rem, 3.2vw, 3.125rem); overflow-wrap: normal; }
.contact-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; padding: 32px; border: 1px solid var(--steel-blue); align-items: start; }
.contact-copy, .about-copy { min-width: 0; }
.contact-copy h2 { font-size: clamp(2rem, 3.2vw, 3.125rem); }
.contact-copy .email-link { font-size: clamp(.875rem, 1.35vw, 1.24rem); overflow-wrap: anywhere; }
.contact-layout .enquiry-form { width: 100%; padding: 0; border: 0; gap: 16px; justify-self: stretch; }
.enquiry-form label { font-size: .875rem; letter-spacing: .06em; }
.enquiry-form input { min-height: 44px; }
.enquiry-form textarea { min-height: 96px; }
@media (max-width: 1050px) {
  .case-lead, .case-detail { gap: 28px; }
  .about-layout, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about-statement { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .contact-layout { padding: 28px; }
}
@media (max-width: 640px) {
  .case-layout { gap: 20px; }
  .case-lead, .case-detail { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .case-film { display: flex; flex-direction: column; aspect-ratio: auto; }
  .case-film > img { position: relative; aspect-ratio: 16 / 9; height: auto; }
  .case-film::after { inset: 0 0 auto; aspect-ratio: 16 / 9; background: linear-gradient(transparent 40%, var(--midnight)); }
  .case-points { position: relative; inset: auto; margin-top: -24px; padding: 0 16px 16px; gap: 12px; background: var(--midnight); }
  .case-points article { padding: 12px 0 0; }
  .case-points span { font-size: .75rem; }
  .case-points p { font-size: 1rem; line-height: 1.4; }
  .contact-layout { padding: 20px; gap: 28px; }
  .contact-copy h2, .about-copy h2 { font-size: clamp(1.75rem, 7vw, 2.6rem); }
  .contact-layout .field-row { grid-template-columns: minmax(0, 1fr); }
  .contact-layout .button { width: 100%; min-width: 0; }
}


/* R3 reference layout: narrative beside a photograph and live summary strip. */
.case-layout { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 40px; align-items: start; }
.case-lead { display: block; }
.case-lead h2 { margin-bottom: var(--content-gap); }
.case-film-separated { display: block; aspect-ratio: auto; overflow: visible; border: 0; background: transparent; }
.case-film-separated::after { content: none; }
.case-image-frame { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(79,120,158,.65); transition: border-color 180ms ease; }
.case-image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.case-film-separated .case-points { position: static; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 20px 0 0; padding: 20px 0; gap: 0; border-top: 1px solid var(--steel-blue); border-bottom: 1px solid var(--steel-blue); background: transparent; text-align: center; }
.case-film-separated .case-points article { display: block; padding: 0 16px; border-top: 0; border-left: 1px solid rgba(79,120,158,.65); }
.case-film-separated .case-points article:first-child { border-left: 0; }
.case-film-separated .case-points span { color: var(--cool-grey); font-size: .75rem; letter-spacing: .08em; }
.case-film-separated .case-points p { margin: 10px auto 0; max-width: 25ch; font-size: .9375rem; line-height: 1.45; }
@media (hover: hover) { .case-image-frame:hover { border-color: var(--frosted-cyan); } .case-image-frame:hover img { transform: scale(1.015); } }
@media (prefers-reduced-motion: reduce) { .case-image-frame, .case-image-frame img { transition: none; } .case-image-frame:hover img { transform: none; } }
@media (max-width: 1050px) { .case-layout { grid-template-columns: minmax(0,1fr); gap: 24px; } }
@media (max-width: 640px) {
  .case-film-separated .case-points { grid-template-columns: minmax(0,1fr); margin-top: 16px; padding: 0; }
  .case-film-separated .case-points article { padding: 16px; border-left: 0; border-top: 1px solid rgba(79,120,158,.65); }
  .case-film-separated .case-points article:first-child { border-top: 0; }
  .case-film-separated .case-points p { margin-top: 6px; max-width: none; font-size: 1rem; }
}


/* Live R3 overlay: centred blocks with left-aligned text. */
.case-film-overlay { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid rgba(79,120,158,.65); }
.case-film-overlay .case-image-frame { position: absolute; inset: 0; aspect-ratio: auto; border: 0; }
.case-film-overlay::after { content: ""; position: absolute; z-index: 1; inset: 25% 0 0; background: linear-gradient(to bottom, transparent, rgba(5,7,11,.82) 55%, rgba(5,7,11,.98)); pointer-events: none; }
.case-film-overlay .case-points { position: absolute; z-index: 2; inset: auto 0 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 0; padding: 24px 18px; gap: 0; border: 0; background: transparent; text-align: left; align-items: stretch; }
.case-film-overlay .case-points article { display: flex; flex-direction: column; justify-content: flex-start; padding: 0 18px; border-top: 0; border-left: 1px solid rgba(79,120,158,.65); }
.case-film-overlay .case-points article:first-child { border-left: 0; }
.case-film-overlay .case-points span, .case-film-overlay .case-points p { width: min(100%,24ch); margin-inline: auto; text-align: left; }
.case-film-overlay .case-points span { font-size: .75rem; color: var(--cool-grey); letter-spacing: .08em; }
.case-film-overlay .case-points p { margin-top: 10px; font-size: .9375rem; line-height: 1.4; }
.case-lead > p + p { margin-top: 20px; }
@media (hover: hover) { .case-film-overlay:hover { border-color: var(--frosted-cyan); } .case-film-overlay:hover .case-image-frame img { transform: scale(1.015); } }
@media (prefers-reduced-motion: reduce) { .case-film-overlay:hover .case-image-frame img { transform: none; } }
@media (max-width: 640px) {
  .case-film-overlay { aspect-ratio: auto; }
  .case-film-overlay .case-image-frame { position: relative; aspect-ratio: 16 / 9; }
  .case-film-overlay::after { inset: 0 0 auto; aspect-ratio: 16 / 9; background: linear-gradient(transparent 45%,var(--midnight)); }
  .case-film-overlay .case-points { position: relative; inset: auto; grid-template-columns: minmax(0,1fr); margin-top: -24px; padding: 0 18px 18px; background: var(--midnight); }
  .case-film-overlay .case-points article { padding: 12px 0; border-left: 0; border-top: 1px solid rgba(79,120,158,.65); }
  .case-film-overlay .case-points article:first-child { border-top: 0; }
  .case-film-overlay .case-points span, .case-film-overlay .case-points p { width: min(100%,32ch); }
  .case-film-overlay .case-points p { font-size: 1rem; margin-top: 6px; }
}

.case-point-copy { width: min(100%,24ch); margin-inline: auto; font-size: .9375rem; }
.case-film-overlay .case-points .case-point-copy span, .case-film-overlay .case-points .case-point-copy p { display: block; width: 100%; margin-inline: 0; }
@media (max-width:640px) { .case-point-copy { width: min(100%,32ch); font-size: 1rem; } }


/* About and Contact share the same visual-to-copy proportions. */
.about-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 40px; }
.contact-layout { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 40px; padding: 0; border: 0; align-items: start; }
.contact-copy { align-self: start; }
.contact-copy > p { max-width: 640px; }
.contact-copy .email-link { max-width: 640px; }
.contact-layout .enquiry-form { width: 100%; border: 1px solid var(--steel-blue); padding: 24px; gap: 16px; }
@media (max-width:1050px) {
  .about-layout, .contact-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .contact-layout { padding: 0; }
}
@media (max-width:640px) {
  .contact-layout .enquiry-form { padding: 20px; }
}


/* Shared column boundary and compact Contact composition. */
.contact-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 40px; align-items: center; }
.contact-copy { align-self: center; }
.contact-copy > p, .contact-copy .email-link { max-width: none; }
.contact-layout .enquiry-form { padding: 24px; gap: 14px; }
.contact-layout .enquiry-form label { gap: 4px; font-size: .75rem; }
.contact-layout .enquiry-form input { min-height: 40px; padding: 6px 0; }
.contact-layout .enquiry-form textarea { min-height: 80px; padding: 6px 0; }
.contact-layout .enquiry-form .button { min-height: 48px; }
@media (max-width:1050px) {
  .contact-layout { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .contact-copy { align-self: start; }
}
@media (max-width:640px) { .contact-layout .enquiry-form { padding: 20px; } }


/* R3 shares About and Contact's column boundary. */
.case-layout { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 40px; align-items: center; }
.case-lead { align-self: center; }
@media (max-width:1050px) {
  .case-layout { grid-template-columns: minmax(0,1fr); gap: 24px; align-items: start; }
  .case-lead { align-self: start; }
}

/* Readable enquiry and R3 labels at all screen sizes. */
.contact-layout .enquiry-form label,
.case-film-overlay .case-points .case-point-copy span { font-size: .875rem; }

/* Caption overlays the still inside the fixed 16:9 reel frame. */
.reel-placeholder { position: relative; aspect-ratio: 16 / 9; }
.reel-placeholder > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel-live-title { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; min-height: 44px; display: flex; align-items: center; padding: 12px 20px; border-top: 1px solid rgba(79, 120, 158, 0.65); background: #0b141b; color: var(--soft-white); font-family: var(--sans); font-size: .75rem; font-weight: 400; line-height: 1.4; letter-spacing: .12em; text-align: left; }
@media (max-width: 640px) {
  .reel-live-title { min-height: 40px; padding: 10px 14px; letter-spacing: .07em; }
}

.film-dialog-bar .film-close { margin-left: auto; }

/* Keep the linked R3 thumbnail a full frame on mobile and desktop. */
.case-image-frame.work-card-link { display: block; }

/* Readable portfolio titles and enquiry guidance across all breakpoints. */
.work-label h3 { font-size: .875rem; }
.case-film-overlay { cursor: pointer; }
.case-film-overlay .case-points { cursor: pointer; -webkit-user-select: none; user-select: none; pointer-events: none; }
.enquiry-form .field-error { color: #ffb7ac; font-size: .8125rem; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.enquiry-form [aria-invalid="true"] { border-color: #ffb7ac; }
.enquiry-help { color: var(--light-grey); font-size: .8125rem; line-height: 1.5; }

/* Shared section and form-label size, including phone layouts. */
.rule-heading h2, .contact-layout .enquiry-form label { font-size: .75rem; }

/* Motion is behind stationary artwork; still remains the default/fallback. */
.reel-motion { grid-area: film; position: relative; align-self: end; min-width: 0; }
.reel-motion .brand-film { display: block; }
.reel-placeholder .reel-clouds { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; }
.reel-placeholder .reel-motion-logo { position: absolute; left: 40.85%; top: 44.2%; width: 18.3%; height: auto; aspect-ratio: auto; object-fit: contain; opacity: 0; pointer-events: none; transform: none; }
.reel-motion.is-playing .reel-clouds, .reel-motion.is-playing .reel-motion-logo { opacity: 1; }
.reel-motion-toggle { position: absolute; z-index: 3; right: 12px; bottom: 0; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--light-grey); font: 400 .6875rem var(--sans); cursor: pointer; }
.reel-motion-toggle:focus-visible { outline: 2px solid var(--frosted-cyan); outline-offset: -3px; }
.reel-motion-toggle[hidden] { display: none; }
.reel-motion .reel-live-title { padding-right: 120px; }
@media (prefers-reduced-motion: reduce) { .reel-motion .reel-clouds, .reel-motion .reel-motion-logo, .reel-motion-toggle { display: none; } }

/* Settle on the original thumbnail after the single cloud pass. */
.reel-motion.is-finished .reel-clouds, .reel-motion.is-finished .reel-motion-logo { transition: opacity 800ms ease; opacity: 0; }

/* The still and video use identical framing, including on hover. */
.reel-motion .reel-placeholder > img { transform: none; }

/* Keep mobile Safari's status-bar area opaque while content scrolls. */
@media (max-width: 1050px) {
  .site-header {
    width: 100%;
    height: calc(94px + env(safe-area-inset-top, 0px));
    padding-top: env(safe-area-inset-top, 0px);
    padding-inline: max(var(--page-gutter), env(safe-area-inset-left, 0px)) max(var(--page-gutter), env(safe-area-inset-right, 0px));
    background: var(--midnight);
    backdrop-filter: none;
  }
  html { scroll-padding-top: calc(94px + env(safe-area-inset-top, 0px)); }
  .mobile-menu { top: calc(94px + env(safe-area-inset-top, 0px)); }
}
@media (max-width: 640px) {
  .site-header { height: calc(52px + env(safe-area-inset-top, 0px)); }
  html { scroll-padding-top: calc(52px + env(safe-area-inset-top, 0px)); }
  .mobile-menu { top: calc(52px + env(safe-area-inset-top, 0px)); }
}

/* Give the empty background-photo grid item a definite mobile width. */
@media (max-width: 1050px) {
  .about-statement { width: 100%; justify-self: stretch; height: auto; min-height: 0; aspect-ratio: 16 / 9; }
}







/* Approved 4K logo artwork; fixed aspect ratio and no browser font measurement. */
.brand-image { display: block; width: calc(var(--brand-mark-size) * 10.8648); max-width: none; height: auto; aspect-ratio: 921.8665720508799 / 132.1981663800255; object-fit: contain; }

/* Prevent browser-native image extraction gestures; retain normal activation. */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
@media (max-width: 1050px) { .site-header .brand { min-width: 0; max-width: calc(100% - 100px); } .site-header .brand-image { max-width: 100%; } }

/* Header wordmark alone follows visible navigation height; tagline sits below. */
.site-header .brand-image { width: auto; height: 28.944px; }
@media (max-width: 1050px) { .site-header .brand-image { height: 25.728px; } }

/* Join the mobile contact form and footer without an extra section divider. */
@media (max-width: 640px) {
  main:not(.privacy-page) { padding-bottom: 0; }
  footer { border-top: 0; padding-top: 12px; }
}

/* Minimal footer: copyright left, privacy right, with no repeated logo or rule. */
main:not(.privacy-page) { padding-bottom: 0; }
footer.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border: 0; padding-block: 40px; font-size: .75rem; }
footer.site-footer p { display: block; margin: 0; text-align: left; color: var(--cool-grey); }
footer.site-footer .privacy-trigger { font-size: inherit; }
@media (max-width: 640px) {
  footer.site-footer { padding-block: 24px 32px; font-size: .6875rem; gap: 12px 16px; }
}

/* Suppress only the focus ring returned by Escape; retain focus and Tab navigation. */
.work-card-link.escape-return-focus:focus, .privacy-trigger.escape-return-focus:focus { outline: none; box-shadow: none; }
