/*
 * ELKAT Core: the look of the pieces (version 2, "wild").
 * Torn paper, angled colour panels, film grain, big type on stills.
 *
 * Colours and fonts are set once, at the top, as custom properties. The theme sets the same
 * names; this file only supplies defaults so the pieces still look right under another theme.
 * Mobile first: the small-screen layout is the base, wider layouts are added with min-width.
 */

:where(:root) {
	--elkat-stone: #f4f4f2;        /* page background: neutral off-white (Merio, 22 Oct 2026) */
	--elkat-stone-light: #fafaf9;
	--elkat-charcoal: #383636;     /* body text */
	--elkat-ink: #181616;          /* near-black: lines and big type on violet */
	--elkat-navy: #03334f;         /* dull azure: dark sections */
	--elkat-cyan: #168794;         /* deep cyan: large text and rules only */
	--elkat-moss: #126b76;         /* the cyan, darkened so white text passes AA */
	--elkat-fog: #cfe3e5;          /* light tint of cyan, for fields */
	--elkat-violet: #af4fed;       /* logo block E: large type and fills only */
	--elkat-plum: #5b2f72;         /* logo block E bottom bar */
	--elkat-azure: #2987bf;        /* light azure: the electric-blue highlight */
	--elkat-azure-text: #1f6a8f;   /* azure for small text */
	--elkat-cyan-text: #126b76;    /* cyan for small text */
	--elkat-cyan-tint: #8fcad1;    /* cyan on dark */
	--elkat-grey: #5e5e5b;         /* secondary text, 5.9:1 on the page background */
	--elkat-rule: #c2c2bd;
	--elkat-font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--elkat-s4: 2.5rem;
	--elkat-s5: clamp(3.5rem, 8vw, 6.5rem);
	--elkat-s6: clamp(5rem, 12vw, 10rem);
	--elkat-margin: clamp(1.25rem, 5vw, 4rem);
	--elkat-maxw: 78rem;
}

[class*="elkat-"], [class*="elkat-"]::before, [class*="elkat-"]::after { box-sizing: border-box; }
[class*="elkat-"][hidden] { display: none !important; }

/* ---------- Type scale: heavy and tight headings, light body ---------- */
.elkat-t-hero, .elkat-t-mega, .elkat-t-huge, .elkat-t-h1, .elkat-t-h2, .elkat-t-h3, .elkat-t-num, .elkat-t-strip {
	font-family: var(--elkat-font);
	font-weight: 800;
	margin: 0;
}
.elkat-t-hero { font-size: clamp(2.75rem, 7vw, 6.5rem); line-height: 0.94; letter-spacing: -0.055em; text-wrap: balance; }
.elkat-t-mega { font-size: clamp(2.6rem, 9.4vw, 8.5rem); line-height: 0.92; letter-spacing: -0.055em; text-wrap: balance; }
.elkat-t-h1 { font-size: clamp(2.25rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.elkat-t-h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -0.04em; text-wrap: balance; }
.elkat-t-h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -0.025em; }
.elkat-t-num { font-size: clamp(3.5rem, 8vw, 6rem); line-height: 0.85; letter-spacing: -0.06em; color: var(--elkat-violet); }
.elkat-t-strip { font-size: clamp(1.6rem, 4.2vw, 4rem); letter-spacing: -0.05em; line-height: 1; text-transform: uppercase; }
.elkat-kicker { margin: 0 0 1.25rem; font-family: var(--elkat-font); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--elkat-grey); line-height: 1.5; }
.elkat-lead { font-weight: 300; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.7; margin: 0 0 1.5rem; }
.elkat-small { font-size: 0.875rem; line-height: 1.6; margin: 0; }
.elkat-measure { max-width: 62ch; }
.elkat-grey { color: var(--elkat-grey); }
.elkat-hl { color: var(--elkat-cyan-text); }
.elkat-wrap { width: 100%; max-width: var(--elkat-maxw); margin-inline: auto; padding-inline: var(--elkat-margin); }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* ---------- Colour fields ---------- */
.elkat-on-plum { background: var(--elkat-plum); color: #fff; }
.elkat-on-plum .elkat-kicker { color: #e5c8f7; }
.elkat-on-moss { background: var(--elkat-moss); color: #fff; }
.elkat-on-moss .elkat-kicker { color: #d6eef0; }
.elkat-on-navy { background: var(--elkat-navy); color: var(--elkat-paper, #f4f4f2); }
.elkat-on-navy .elkat-kicker { color: var(--elkat-cyan-tint); }
.elkat-on-plum .elkat-hl, .elkat-on-moss .elkat-hl, .elkat-on-navy .elkat-hl, .elkat-hero .elkat-hl { color: var(--elkat-cyan-tint); }
.elkat-fill-paper { fill: var(--elkat-stone); }
.elkat-fill-fog { fill: var(--elkat-fog); }
.elkat-fill-plum { fill: var(--elkat-plum); }
.elkat-fill-navy { fill: var(--elkat-navy); }
.elkat-fill-moss { fill: var(--elkat-moss); }

/* ---------- Links, buttons, focus ---------- */
.elkat-link { color: inherit; text-decoration: underline; text-decoration-color: var(--elkat-azure); text-decoration-thickness: 2px; text-underline-offset: 0.25em; transition: color 0.3s ease, text-decoration-color 0.3s ease; }
.elkat-link:hover { color: var(--elkat-azure-text); }
.elkat-on-navy .elkat-link:hover { color: var(--elkat-cyan-tint); }
.elkat-on-moss .elkat-link, .elkat-on-plum .elkat-link { text-decoration-color: #fff; }
.elkat-on-moss .elkat-link:hover, .elkat-on-plum .elkat-link:hover { color: #fff; text-decoration-thickness: 4px; }
.elkat-btn { display: inline-block; font-family: var(--elkat-font); font-size: 0.9375rem; font-weight: 500; line-height: 1.4; padding: 0.95rem 1.6rem; border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; text-decoration: none; transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease; }
.elkat-btn:hover { background: var(--elkat-charcoal); color: var(--elkat-stone); border-color: var(--elkat-charcoal); }
.elkat-on-navy .elkat-btn:hover { background: var(--elkat-stone); color: var(--elkat-navy); border-color: var(--elkat-stone); }
.elkat-on-plum .elkat-btn:hover, .elkat-on-moss .elkat-btn:hover { background: #fff; color: #181616; border-color: #fff; }
:where([class*="elkat-"]) a:focus-visible, a[class*="elkat-"]:focus-visible, button[class*="elkat-"]:focus-visible, .elkat-form :focus-visible {
	outline: 3px solid var(--elkat-azure);
	outline-offset: 3px;
	border-radius: 2px;
}
.elkat-on-navy :focus-visible { outline-color: var(--elkat-cyan-tint); }
.elkat-on-plum :focus-visible, .elkat-on-moss :focus-visible, .elkat-hero :focus-visible { outline-color: #fff; }

/* ---------- Placeholders: clearly unfinished, never mistaken for content ---------- */
.elkat-ph-block { display: flex; align-items: center; justify-content: center; text-align: center; background: repeating-linear-gradient(135deg, #e0e0dc, #e0e0dc 12px, #e8e8e4 12px, #e8e8e4 24px); color: var(--elkat-grey); font-size: 0.8125rem; padding: 1rem; border: 1px dashed var(--elkat-grey); }
.elkat-on-navy .elkat-ph-block { background: rgb(244 244 242 / 0.08); color: var(--elkat-paper, #f4f4f2); border-color: rgb(244 244 242 / 0.5); }
.elkat-ph { background: #fff3b0; color: #4a3d00; padding: 0 0.3em; font-size: 0.85em; }

/* ---------- Grain, frames, slants ---------- */
.elkat-grain { isolation: isolate; } /* the box that carries .elkat-grain must itself be positioned */
.elkat-grain::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='240' height='240' filter='url(%23n)'/></svg>");
	background-size: 240px 240px;
	mix-blend-mode: overlay;
	opacity: var(--elkat-grain, 0.4);
}
.elkat-grain-layer { position: absolute; inset: 0; z-index: -1; }
.elkat-frame { border: 1.5px solid var(--elkat-ink); }
.elkat-still { position: relative; overflow: hidden; }
.elkat-still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }

.elkat-slant-top, .elkat-slant-both { --slant: var(--elkat-slant, clamp(2rem, 7vw, 6rem)); position: relative; clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%); margin-top: calc(var(--slant) * -1); padding-top: var(--slant); }
.elkat-slant-both { clip-path: polygon(0 var(--slant), 100% 0, 100% calc(100% - var(--slant)), 0 100%); padding-bottom: var(--slant); margin-bottom: calc(var(--slant) * -1); }

/* Pieces sit slightly off true, like prints on a table; they straighten on hover */
.elkat-askew { transform: rotate(var(--rot, 0deg)); background: var(--elkat-stone-light); }
@media (prefers-reduced-motion: no-preference) {
	.elkat-askew { transition: transform 0.9s ease; }
	.elkat-card:hover .elkat-askew, .elkat-askew:hover { transform: rotate(0deg); }
	.elkat-fade { animation: elkat-fade 0.9s ease both; }
	@keyframes elkat-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
	.elkat-card__still img { transition: transform 1.2s ease; }
	.elkat-card:hover .elkat-card__still img { transform: scale(1.025); }
}

/* ---------- Torn edge ---------- */
.elkat-tear { position: absolute; inset-inline: 0; z-index: 2; display: block; width: 100%; height: 2rem; pointer-events: none; }
.elkat-tear--below { bottom: -1px; filter: drop-shadow(0 -2px 3px rgb(0 0 0 / 0.3)); }
.elkat-tear--above { top: -1px; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.3)); }
.elkat-tear--inline { position: relative; inset: auto; }
@media (min-width: 48rem) { .elkat-tear { height: 3.5rem; } }

/* ---------- Hero ---------- */
.elkat-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--elkat-navy); color: #fff; }
.elkat-hero .elkat-hero__still { position: absolute; inset: 0; z-index: -1; }
.elkat-hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgb(3 20 32 / 0.9), rgb(3 20 32 / 0.5) 45%, rgb(3 20 32 / 0) 80%); }
.elkat-hero__scrim--side { display: none; background: linear-gradient(to right, transparent, rgb(0 0 0 / 0.1), rgb(0 0 0 / 0.4)); }
.elkat-hero__inner { display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(92vh * var(--elkat-hero-size, 1)); min-height: calc(92svh * var(--elkat-hero-size, 1)); padding-top: calc(9rem * var(--elkat-hero-size, 1)); padding-bottom: calc(6rem * var(--elkat-hero-size, 1)); }
.elkat-hero__inner .elkat-t-hero { max-width: 16ch; }
.elkat-hero__caption { margin-top: 2rem; max-width: 40ch; color: rgb(255 255 255 / 0.9); font-size: calc(1rem * var(--elkat-hero-text, 1)); }
.elkat-hero .elkat-t-hero { font-size: calc(clamp(2.75rem, 7vw, 6.5rem) * var(--elkat-hero-text, 1)); }
@media (min-width: 48rem) {
	.elkat-hero__scrim--side { display: block; }
	.elkat-hero__inner { padding-bottom: calc(8rem * var(--elkat-hero-size, 1)); }
	.elkat-hero__inner .elkat-t-hero { max-width: none; width: 58%; margin-left: auto; }
	.elkat-hero__caption { width: 58%; margin-left: auto; }
}

/* ---------- Angled colour panel ---------- */
.elkat-panel { position: relative; isolation: isolate; overflow: hidden; }
.elkat-panel__text { position: relative; z-index: 10; display: flex; flex-direction: column; justify-content: center; padding: calc(3rem * var(--elkat-panel-size, 1)) var(--elkat-margin) 15rem; }
.elkat-panel__copy { max-width: 34rem; }
.elkat-panel__heading { margin-bottom: 1.5rem; }
.elkat-panel__copy p { margin: 0 0 1.5rem; max-width: 62ch; }
.elkat-panel__action { margin-top: 0.5rem; }
.elkat-panel__img { position: absolute; inset-inline: 0; bottom: 0; height: 13rem; clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%); }
.elkat-panel .elkat-panel__still { position: absolute; inset: 0; }
.elkat-panel__ph { display: flex; height: 100%; align-items: flex-end; justify-content: flex-end; padding: 1rem; }
.elkat-panel__ph .elkat-ph-block { max-width: 16rem; width: 100%; }
.elkat-panel__cut { position: absolute; z-index: 20; pointer-events: none; stroke: var(--elkat-ink); stroke-width: 1.5; }
.elkat-on-navy .elkat-panel__cut { stroke: var(--elkat-paper, #f4f4f2); }
.elkat-panel__cut--narrow { inset-inline: 0; bottom: 0; width: 100%; height: 13rem; }
.elkat-panel__cut--wide { display: none; inset: 0; width: 100%; height: 100%; }
.elkat-panel--plain .elkat-panel__text { padding-bottom: 3rem; }
.elkat-panel--plain .elkat-panel__copy { max-width: 52rem; }
@media (min-width: 48rem) {
	.elkat-panel__text { min-height: calc(34rem * var(--elkat-panel-size, 1)); width: 46%; padding-top: calc(4rem * var(--elkat-panel-size, 1)); padding-bottom: calc(4rem * var(--elkat-panel-size, 1)); }
	.elkat-panel--flip .elkat-panel__text { margin-left: auto; }
	.elkat-panel__img { inset-block: 0; height: auto; clip-path: var(--ap-wide); }
	.elkat-panel .elkat-panel__still { left: 40%; top: 0; right: 0; bottom: 0; height: auto; aspect-ratio: auto; }
	.elkat-panel--flip .elkat-panel__still { left: 0; right: 40%; }
	.elkat-panel__ph { align-items: center; justify-content: flex-end; padding-right: 6%; }
	.elkat-panel--flip .elkat-panel__ph { justify-content: flex-start; padding-left: 6%; padding-right: 0; }
	.elkat-panel__cut--wide { display: block; }
	.elkat-panel__cut--narrow { display: none; }
	.elkat-panel--plain .elkat-panel__text { min-height: 0; width: 72%; padding-top: calc(5rem * var(--elkat-panel-size, 1)); padding-bottom: calc(5rem * var(--elkat-panel-size, 1)); }
}

/* ---------- Section ---------- */
.elkat-section { position: relative; }
.elkat-section__inner { padding-block: var(--elkat-s5); }
.elkat-tone-fog { background: var(--elkat-fog); }
.elkat-tone-plum { background: var(--elkat-plum); color: #fff; }
.elkat-tone-moss { background: var(--elkat-moss); color: #fff; }
.elkat-tone-navy { background: var(--elkat-navy); color: var(--elkat-paper, #f4f4f2); }
.elkat-tone-plum .elkat-kicker { color: #e5c8f7; }
.elkat-tone-moss .elkat-kicker { color: #d6eef0; }
.elkat-tone-navy .elkat-kicker { color: var(--elkat-cyan-tint); }
.elkat-section__heading { margin-bottom: 1.25rem; }
.elkat-section__inner > p { max-width: 62ch; }
.elkat-width-narrow .elkat-section__inner > * { max-width: 62ch; }
.elkat-width-intro .elkat-section__inner > * { max-width: 40ch; }
@media (min-width: 48rem) {
	.elkat-width-intro .elkat-section__inner > * { margin-left: calc(100% / 6); max-width: 34ch; }
}
@media (min-width: 64rem) { .elkat-width-intro .elkat-section__inner > * { max-width: 40ch; } }
.elkat-section > .elkat-wrap > .elkat-steps { margin-top: 3rem; }

/* ---------- Closing band ---------- */
.elkat-band { position: relative; margin-top: var(--elkat-s6); }
.elkat-band__inner { padding-block: calc(var(--elkat-s5) * var(--elkat-band-size, 1)); }
.elkat-band__grid { display: grid; gap: 2rem; }
.elkat-band__title { max-width: 14ch; }
.elkat-band__side { position: relative; z-index: 10; }
.elkat-band__side .elkat-lead { margin-bottom: 1.5rem; }
@media (min-width: 48rem) { .elkat-band__grid { grid-template-columns: 1.5fr 1fr; align-items: end; } }

/* ---------- Services band ---------- */
.elkat-strip { overflow: hidden; padding: 2rem 0; }
.elkat-strip__band { transform: rotate(-2.2deg); width: 112%; margin-left: -6%; background: var(--elkat-violet); color: var(--elkat-ink); position: relative; }
.elkat-strip__list { list-style: none; margin: 0; padding: 1.25rem var(--elkat-margin); display: grid; gap: 0.25rem 2.5rem; }
.elkat-strip__list a { display: block; white-space: nowrap; color: inherit; text-decoration: none; }
.elkat-strip__list a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.elkat-strip__list a:focus-visible { outline-color: var(--elkat-ink); }
@media (min-width: 48rem) {
	.elkat-strip { padding: 3.5rem 0; }
	.elkat-strip__list { grid-template-columns: 1fr 1fr; gap: 0.75rem 2.5rem; padding-block: 2rem; }
}

/* ---------- Numbered points ---------- */
.elkat-steps__list { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 3rem 2.5rem; }
.elkat-steps__item h3 { margin-bottom: 0.75rem; }
.elkat-steps__item .elkat-t-num { margin-bottom: 1.25rem; }
.elkat-steps__item p:last-child { margin: 0; }
.elkat-steps--stepped { padding-top: var(--elkat-s5); }
.elkat-steps--stepped .elkat-steps__item { border-top: 1.5px solid var(--elkat-ink); padding-top: 1.25rem; }
.elkat-steps--cards .elkat-steps__list { gap: 2rem; margin-top: 3rem; align-items: start; }
.elkat-steps--cards .elkat-steps__item { background: var(--elkat-stone); border: 1.5px solid var(--elkat-ink); padding: 1.25rem; }
.elkat-steps--cards .elkat-steps__item .elkat-t-num { margin-bottom: 1rem; }
.elkat-steps--cards .elkat-steps__item h3 { margin-bottom: 0.5rem; }
.elkat-steps--cards .elkat-steps__item { color: var(--elkat-charcoal); }
@media (min-width: 40rem) { .elkat-steps--stepped .elkat-steps__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 48rem) {
	.elkat-steps--cards .elkat-steps__list { grid-template-columns: repeat(3, 1fr); }
	.elkat-steps--cards .elkat-step-1 { margin-top: 2.5rem; }
	.elkat-steps--cards .elkat-step-2 { margin-top: 1rem; }
	.elkat-steps--cards .elkat-step-3 { margin-top: 3.5rem; }
}
@media (min-width: 64rem) {
	.elkat-steps--stepped .elkat-steps__list { grid-template-columns: repeat(4, 1fr); align-items: start; }
	.elkat-steps--stepped .elkat-step-1 { margin-top: 3.5rem; }
	.elkat-steps--stepped .elkat-step-2 { margin-top: 1.25rem; }
	.elkat-steps--stepped .elkat-step-3 { margin-top: 6rem; }
}

/* ---------- Film collage and cards ---------- */
.elkat-collage-wrap { padding-top: var(--elkat-s5); padding-bottom: calc(clamp(3rem, 8vw, 7rem) * var(--elkat-collage-gap, 1)); }
.elkat-collage__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.elkat-collage__head .elkat-kicker { margin: 0; }
.elkat-filters { display: grid; gap: 1rem; margin-bottom: 3.5rem; }
.elkat-filters__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.elkat-chip { font: inherit; font-size: 0.875rem; padding: 0.375rem 0.75rem; border: 1.5px solid var(--elkat-ink); background: transparent; color: var(--elkat-ink); cursor: pointer; transition: background-color 0.3s ease, color 0.3s ease; }
.elkat-chip:hover { background: var(--elkat-violet); }
.elkat-chip[aria-pressed="true"] { background: var(--elkat-ink); color: var(--elkat-stone); }
.elkat-collage { list-style: none; margin: 0; padding: 0; display: grid; gap: 4rem 2.5rem; }
.elkat-card { margin: 0; }
.elkat-card__link { display: block; color: inherit; text-decoration: none; }
.elkat-card__still { aspect-ratio: 16 / 10; width: 100%; }
.elkat-card__title { position: relative; z-index: 1; display: inline-block; max-width: 92%; margin: -1.25rem 0 0 0.75rem; padding: 0.5rem 0.75rem 0.25rem; background: var(--elkat-stone); }
.elkat-card__link:hover .elkat-card__title { text-decoration: underline; text-decoration-color: var(--elkat-azure); text-decoration-thickness: 4px; text-underline-offset: 4px; }
.elkat-card__meta { margin: 0.75rem 0 0; }
.elkat-card__line { margin-top: 0.5rem; }
.elkat-card__len { margin-top: 0.25rem; }
.elkat-scope-line { margin-top: 0.75rem; }
.elkat-scope-line strong { font-weight: 500; }
@media (min-width: 48rem) {
	.elkat-collage { grid-template-columns: repeat(12, 1fr); align-items: start; }
	.elkat-collage__item.elkat-pos-0 { grid-column: span 7; }
	.elkat-collage__item.elkat-pos-1 { grid-column: span 5; margin-top: 7rem; }
	.elkat-collage__item.elkat-pos-2 { grid-column: span 5; margin-top: -1.5rem; }
	.elkat-collage__item.elkat-pos-3 { grid-column: span 7; margin-top: 4rem; }
	.elkat-card__title { margin-left: 1.5rem; }
}

/* ---------- What ELKAT did ---------- */
.elkat-scope { background: var(--elkat-stone-light); padding: 1.5rem; }
.elkat-scope .elkat-kicker { margin-bottom: 1rem; }
.elkat-scope__list { display: grid; gap: 0.75rem 2rem; margin: 0; }
.elkat-scope__row { display: contents; }
.elkat-scope__row dt, .elkat-scope__row dd { margin: 0; }
.elkat-scope__row dd { margin-bottom: 0.75rem; }
@media (min-width: 48rem) {
	.elkat-scope { padding: 2.5rem; }
	.elkat-scope__list { grid-template-columns: 1fr 2fr; }
	.elkat-scope__row dd { margin-bottom: 0; }
}

/* ---------- Click-to-load video ---------- */
.elkat-video { position: relative; aspect-ratio: 16 / 9; width: 100%; overflow: hidden; background: var(--elkat-navy); }
.elkat-video__play { position: absolute; inset: 0; display: block; color: inherit; }
.elkat-video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; }
.elkat-video__shade { position: absolute; inset: 0; background: rgb(0 0 0 / 0.25); transition: background-color 0.5s ease; }
.elkat-video__play:hover .elkat-video__shade { background: rgb(0 0 0 / 0.1); }
.elkat-video__label { position: absolute; left: 1rem; bottom: 1rem; background: var(--elkat-stone); color: var(--elkat-charcoal); padding: 0.5rem 1rem; font-size: 0.875rem; }
.elkat-video__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.elkat-video__play:focus-visible { outline-offset: -6px; outline-color: #fff; }

/* ---------- Film page: credit, synopsis, more videos ---------- */
.elkat-film-details__grid { display: grid; gap: 2.5rem; margin-top: 2.5rem; }
.elkat-film-details .elkat-lead p { margin: 0 0 1rem; }
.elkat-more { margin-top: 3.5rem; }
.elkat-more__list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 2.5rem 1.5rem; }
.elkat-more__list .elkat-small { margin-top: 0.75rem; }
@media (min-width: 48rem) {
	.elkat-film-details__grid { grid-template-columns: 1fr 2fr; }
	.elkat-more__list { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Team ---------- */
.elkat-team { padding-top: var(--elkat-s5); }
.elkat-team__list { list-style: none; margin: 0; padding: 0; }
.elkat-team__item { border-top: 1.5px solid var(--elkat-ink); padding: 1.25rem 0; display: grid; gap: 0.25rem 2rem; align-items: baseline; }
.elkat-team__name { font-size: clamp(1.9rem, 5vw, 3.75rem); }
@media (min-width: 48rem) { .elkat-team__item { grid-template-columns: 2fr 1fr; } }

/* ---------- Service group ---------- */
.elkat-sgroup__inner { padding-block: var(--elkat-s5); display: grid; gap: 2rem; }
.elkat-sgroup__head .elkat-t-num { margin-bottom: 1rem; }
.elkat-sgroup__head .elkat-small { margin-top: 0.75rem; }
.elkat-sgroup__items { margin: 0; display: grid; gap: 1rem; align-content: start; }
.elkat-sgroup__item { background: var(--elkat-stone-light); padding: 1.25rem; }
.elkat-sgroup__item dt { margin-bottom: 0.5rem; }
.elkat-sgroup__item dd { margin: 0; }
.elkat-sgroup.elkat-tone-paper + .elkat-sgroup.elkat-tone-paper { border-top: 0; }
@media (min-width: 48rem) { .elkat-sgroup__inner { grid-template-columns: 1fr 2fr; gap: 3rem; } }

/* ---------- Photos ---------- */
.elkat-photos { padding-top: var(--elkat-s5); }
.elkat-photos__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 1.5rem; }
.elkat-photos__still { aspect-ratio: 4 / 3; width: 100%; }
@media (min-width: 48rem) {
	.elkat-photos__list { grid-template-columns: repeat(3, 1fr); align-items: start; }
	.elkat-photos__item.elkat-pos-1 { margin-top: 2.5rem; }
	.elkat-photos__item.elkat-pos-2 { margin-top: 1rem; }
}

/* ---------- Contact ---------- */
.elkat-details { display: grid; gap: 2rem; align-content: start; }
.elkat-details .elkat-kicker { margin-bottom: 0.5rem; }
.elkat-details p { margin: 0; }
.elkat-form__grid { display: grid; gap: 1.5rem; }
.elkat-field label { display: block; font-size: 0.875rem; margin-bottom: 0.4rem; }
.elkat-field input, .elkat-field select, .elkat-field textarea { width: 100%; font: inherit; color: inherit; background: var(--elkat-stone-light); border: 1.5px solid var(--elkat-grey); border-radius: 0; padding: 0.8rem 0.9rem; }
.elkat-field textarea { min-height: 9rem; resize: vertical; }
.elkat-field [aria-invalid="true"] { border-color: #9b2c1f; border-width: 2px; }
.elkat-err { color: #9b2c1f; font-size: 0.875rem; margin: 0.35rem 0 0; }
.elkat-form__errors { border: 2px solid #9b2c1f; padding: 0.75rem 1rem; margin-bottom: 1.5rem; color: #9b2c1f; }
.elkat-form__errors p { margin: 0; }
.elkat-hp { position: absolute; left: -9999px; width: 0; height: 0; overflow: hidden; }
.elkat-form .elkat-grey { margin-bottom: 1.25rem; }
@media (min-width: 48rem) {
	.elkat-form__grid { grid-template-columns: 1fr 1fr; }
	.elkat-field--wide { grid-column: 1 / -1; }
}
@media (max-width: 47.99rem) { .elkat-field--wide { grid-column: auto; } }

/* ---------- Block styles for ordinary blocks (so pages stay editable) ---------- */
.is-style-elkat-mega { font-family: var(--elkat-font); font-weight: 800; font-size: clamp(2.6rem, 9.4vw, 8.5rem); line-height: 0.92; letter-spacing: -0.055em; text-wrap: balance; margin: 0 0 1.5rem; }
.is-style-elkat-large { font-family: var(--elkat-font); font-weight: 800; font-size: clamp(2.25rem, 5.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; margin: 0 0 1.5rem; }
.is-style-elkat-intro { font-weight: 300; font-size: clamp(1.25rem, 2.5vw, 2.1rem); line-height: 1.35; letter-spacing: -0.02em; margin: 0; }
.is-style-elkat-lead { font-weight: 300; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.7; margin: 0 0 1.5rem; }
.is-style-elkat-kicker { font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--elkat-grey); margin: 0 0 1.25rem; }
.is-style-elkat-statement { font-family: var(--elkat-font); font-weight: 600; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.12; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
.is-style-elkat-small { font-size: 0.875rem; line-height: 1.6; margin: 0 0 1rem; }
ul.is-style-elkat-ruled { list-style: none; margin: 0; padding: 0; }
ul.is-style-elkat-ruled li { border-top: 1.5px solid var(--elkat-ink); padding: 0.75rem 0 0.9rem; margin: 0; }
.is-style-elkat-outline .wp-block-button__link { background: transparent; color: inherit; border: 1.5px solid currentColor; border-radius: 0; padding: 0.95rem 1.6rem; font-size: 0.9375rem; font-weight: 500; }
.is-style-elkat-outline .wp-block-button__link:hover { background: var(--elkat-charcoal); color: var(--elkat-stone); }
.elkat-section__inner > .wp-block-group, .elkat-section__inner > .wp-block-columns { max-width: none; }

/* A two-column "room" layout built from ordinary blocks */
.elkat-split { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .elkat-split { grid-template-columns: 1fr 1.4fr; } }

/* Layout helpers for the demo pages (groups of ordinary blocks) */
.elkat-split > * { margin: 0; }
.elkat-stack > * + * { margin-top: 1.5rem; }
.is-style-elkat-pull { font-family: var(--elkat-font); font-weight: 800; font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.08; letter-spacing: -0.04em; text-wrap: balance; margin: 0; }
.elkat-section__inner a:not([class]), .elkat-panel__copy a:not([class]) { text-decoration: underline; text-decoration-color: var(--elkat-azure); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.elkat-on-moss a:not([class]), .elkat-on-plum a:not([class]) { text-decoration-color: #fff; }
@media (min-width: 48rem) {
	.elkat-split--pull { grid-template-columns: 1fr 1.6fr; }
	.elkat-split--pull > :first-child { position: sticky; top: 2rem; align-self: start; }
}

/* ---------- Block editor ---------- */
.elkat-editor-box { border: 1px dashed #8c8f94; padding: 0.75rem; margin: 0.5rem 0; background: #f6f7f7; }
.elkat-editor-box__label { margin: 0 0 0.5rem !important; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: #50575e; }

@media (prefers-reduced-motion: reduce) {
	.elkat-askew, .elkat-card__still img, .elkat-btn, .elkat-link, .elkat-chip, .elkat-video__shade { transition: none !important; }
	.elkat-fade { animation: none !important; }
}

/* Series and episodes */
.elkat-episodes { padding: 2rem 0; }
.elkat-episodes__list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.elkat-episode { display: block; color: inherit; text-decoration: none; }
.elkat-episode__still { aspect-ratio: 16 / 10; width: 100%; }
.elkat-episode__no { margin: 0.75rem 0 0; }
.elkat-episode__title { margin: 0.25rem 0 0; }
.elkat-episode:hover .elkat-episode__title, .elkat-episode.is-current .elkat-episode__title { text-decoration: underline; text-decoration-color: var(--elkat-azure); text-decoration-thickness: 4px; text-underline-offset: 4px; }
.elkat-epnav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; padding-bottom: 1.5rem; }

/* Elementor: ELKAT pieces sit edge to edge, without Elementor's default space under each widget */
.elementor-widget[class*="elementor-widget-elkat_"]:not(:last-child) { margin-block-end: 0; }
.elementor-section.elementor-section-full_width > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0; }

/* Credits, awards, related films */
.elkat-credits, .elkat-awards { margin-top: 2rem; }
.elkat-credits__list { margin: 0.75rem 0 0; display: grid; gap: 0.5rem 2rem; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); }
.elkat-credits__row { margin: 0; }
.elkat-credits__row dt, .elkat-credits__row dd { margin: 0; }
.elkat-awards__list { list-style: none; margin: 0.75rem 0 0; padding: 0; display: grid; gap: 0.35rem; }
.elkat-related { padding-top: 2rem; }

/* Hover preview: fades in over the still, under the grain; the still stays underneath */
.elkat-card__still .elkat-preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; max-width: none; opacity: 0; transition: opacity 200ms ease; }
.elkat-card__still .elkat-preview.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
	.elkat-card__still .elkat-preview { transition: none; }
}

/* Social: shorts and campaigns, vertical video first */
.elkat-series { padding-block: clamp(2.5rem, 6vw, 5rem); border-top: 1px solid var(--elkat-rule); }
.elkat-social > .elkat-series:first-child { border-top: 0; }
.elkat-series__grid { display: grid; gap: 1.75rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.elkat-series__intro .elkat-t-h2 { margin: 0 0 1rem; }
.elkat-reels { list-style: none; margin: 0; padding: 0 0 1rem; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: thin; }
.elkat-reel { flex: 0 0 clamp(9.5rem, 42vw, 13rem); scroll-snap-align: start; }
.elkat-reel__link { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.elkat-reel__still { aspect-ratio: 9 / 16; width: 100%; }
.elkat-reel__cap { display: block; margin-top: 0.75rem; font-size: 0.9375rem; line-height: 1.4; font-weight: 500; }
.elkat-reel__src { display: block; margin: 0.25rem 0 0; }
.elkat-reel__link:hover .elkat-reel__cap { text-decoration: underline; text-decoration-color: var(--elkat-azure); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.elkat-series--text .elkat-series__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 64rem) {
	.elkat-series__grid { grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr); gap: 3rem; }
	.elkat-series__intro { position: sticky; top: 7rem; }
	.elkat-reel { flex-basis: 13rem; }
	.elkat-series:nth-child(even) .elkat-series__grid { grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem); }
	.elkat-series:nth-child(even) .elkat-series__intro { order: 2; }
	.elkat-series--text .elkat-series__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Social teaser for the Work page */
.elkat-teaser { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.elkat-teaser__grid { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
.elkat-teaser__posters { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; overflow: hidden; }
.elkat-teaser__posters li { flex: 0 0 clamp(5rem, 20vw, 8rem); }
@media (min-width: 64rem) {
	.elkat-teaser__grid { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
	.elkat-teaser__posters { justify-content: flex-end; }
}

/* The window a video plays in (a video file or a YouTube Short) */
dialog.elkat-lightbox { width: min(92vw, 24rem); max-height: 94dvh; padding: 0; border: 0; background: #181616; color: #fff; overflow: hidden; }
dialog.elkat-lightbox::backdrop { background: rgba(24, 22, 22, 0.86); }
.elkat-lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.5rem 0.75rem 0.5rem 1rem; }
.elkat-lightbox__cap { margin: 0; font-size: 0.9375rem; line-height: 1.3; }
.elkat-lightbox__close { min-height: 2.75rem; padding: 0 1rem; border: 1px solid #fff; background: none; color: #fff; font: inherit; cursor: pointer; }
.elkat-lightbox__stage { aspect-ratio: 9 / 16; max-height: calc(94dvh - 4rem); width: 100%; margin-inline: auto; background: #000; }
.elkat-lightbox__stage video, .elkat-lightbox__stage iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Hero with vertical posters (the Shorts and Campaign page) */
.elkat-posters { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 0.75rem; padding: 0 1rem; }
.elkat-poster { flex: 0 0 auto; height: 92%; aspect-ratio: 9 / 16; }
.elkat-poster:nth-child(odd) { transform: translateY(-5%); }
.elkat-poster:nth-child(even) { transform: translateY(5%); }
@media (max-width: 47.99rem) {
	.elkat-poster:nth-child(n+3) { display: none; }
}
@media (min-width: 48rem) {
	.elkat-posters { left: 46%; justify-content: flex-end; gap: 1rem; padding: 0 7% 0 0; }
	.elkat-poster { height: 80%; }
}

/* Tabs under the hero of the Work page and its sub pages */
.elkat-subnav { border-bottom: 1px solid var(--elkat-ink); background: var(--elkat-stone); }
.elkat-subnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; overflow-x: auto; }
.elkat-subnav a { display: inline-flex; align-items: center; min-height: 3rem; font-weight: 600; color: var(--elkat-ink); text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.elkat-subnav a:hover { border-bottom-color: var(--elkat-rule); }
.elkat-subnav a[aria-current="page"] { border-bottom-color: var(--elkat-azure); }

/* Collections: every title in one place (title or excerpt, synopsis, duration) */
.elkat-collection { padding-block: clamp(2rem, 5vw, 4rem); }
.elkat-collection--group { border-top: 1px solid var(--elkat-rule); }
.elkat-collections > .elkat-collection--group:first-child { border-top: 0; }
.elkat-titles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--elkat-ink); }
.elkat-title { border-bottom: 1px solid var(--elkat-rule); }
.elkat-title__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1rem; align-items: start; padding: 1rem 0; color: inherit; text-decoration: none; }
.elkat-titles--still .elkat-title__link { grid-template-columns: 5.5rem minmax(0, 1fr) auto; }
.elkat-title__still { aspect-ratio: 16 / 10; width: 100%; }
.elkat-title__still--empty { display: block; background: var(--elkat-fog); }
.elkat-title__body { display: grid; gap: 0.25rem; }
.elkat-title__name { margin: 0; }
.elkat-title__small { margin: 0; }
.elkat-title__syn { color: var(--elkat-charcoal); }
.elkat-title__len { white-space: nowrap; padding-top: 0.25rem; }
.elkat-title__link:hover .elkat-title__name { text-decoration: underline; text-decoration-color: var(--elkat-azure); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
@media (min-width: 48rem) {
	.elkat-titles--still .elkat-title__link { grid-template-columns: 9rem minmax(0, 1fr) auto; }
}

/* Home: up to three curated films in place of the showreel */
.elkat-curated { padding-block: clamp(1.5rem, 4vw, 3rem); }
.elkat-curated__list { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
.elkat-curated--1 { max-width: 60rem; }
.elkat-curated__link { display: block; color: inherit; text-decoration: none; }
.elkat-curated__still { aspect-ratio: 16 / 10; width: 100%; }
.elkat-curated__title { display: block; margin-top: 0.75rem; }
.elkat-curated__small { display: block; margin-top: 0.25rem; }
.elkat-curated__link:hover .elkat-curated__title { text-decoration: underline; text-decoration-color: var(--elkat-azure); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
@media (min-width: 48rem) {
	.elkat-curated--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elkat-curated--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* What ELKAT did: every item links to the Services page, with a quiet underline */
.elkat-scope__link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: var(--elkat-rule); text-underline-offset: 0.2em; }
.elkat-scope__link:hover { text-decoration-color: var(--elkat-azure); text-decoration-thickness: 2px; }

/* Work grid: the filter bar (type as tabs; what we did and year as menus), the pages under the list */
.elkat-filterbar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 3rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--elkat-ink); }
.elkat-filterbar[hidden] { display: none; }
.elkat-filterbar__tabs { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.elkat-tab { font: inherit; font-size: 1rem; font-weight: 600; min-height: 2.75rem; padding: 0.5rem 0; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -0.8125rem; color: var(--elkat-ink); cursor: pointer; }
.elkat-tab:hover { border-bottom-color: var(--elkat-rule); }
.elkat-tab[aria-pressed="true"] { border-bottom-color: var(--elkat-azure); }
.elkat-filterbar__more { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.75rem 1.25rem; }
.elkat-select { display: grid; gap: 0.25rem; font-size: 0.8125rem; color: var(--elkat-grey); }
.elkat-select select { font: inherit; font-size: 0.9375rem; min-height: 2.75rem; padding: 0.4rem 0.75rem; border: 1px solid var(--elkat-ink); border-radius: 0; background: var(--elkat-stone); color: var(--elkat-ink); }
.elkat-clear { font: inherit; font-size: 0.875rem; min-height: 2.75rem; padding: 0 0.25rem; background: none; border: 0; color: var(--elkat-ink); text-decoration: underline; text-underline-offset: 0.25em; cursor: pointer; }
.elkat-clear[hidden] { display: none; }
.elkat-pager-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 3.5rem; padding-top: 1rem; border-top: 1px solid var(--elkat-ink); }
.elkat-pager-wrap[hidden] { display: none; }
.elkat-pager__status { margin: 0; font-size: 0.875rem; color: var(--elkat-grey); }
.elkat-pager { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; }
.elkat-pager button { min-width: 2.75rem; min-height: 2.75rem; padding: 0 0.5rem; font: inherit; color: var(--elkat-ink); background: none; border: 1px solid transparent; cursor: pointer; }
.elkat-pager button:hover:not(:disabled) { border-color: var(--elkat-rule); }
.elkat-pager button[aria-current="page"] { border-color: var(--elkat-ink); font-weight: 700; }
.elkat-pager button:disabled { opacity: 0.4; cursor: default; }

/* "What ELKAT did" on a card: two columns, two groups in each, small type */
.elkat-scope-line--cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem 1rem; margin-top: 0.75rem; font-size: 0.75rem; line-height: 1.4; }
.elkat-scope-col p { margin: 0 0 0.5rem; }
.elkat-scope-col p:last-child { margin-bottom: 0; }
.elkat-scope-col strong { display: block; font-weight: 600; font-size: 0.6875rem; color: var(--elkat-ink); }
.elkat-scope-col span { display: block; color: var(--elkat-grey); }
@media (max-width: 22rem) {
	.elkat-scope-line--cols { grid-template-columns: minmax(0, 1fr); }
}

/* Team photos (hidden by default, ELKAT > Team): a portrait at the left of each ruled row */
.elkat-team--photos .elkat-team__item { grid-template-columns: 4.5rem minmax(0, 1fr); grid-template-areas: "photo name" "photo role"; align-items: center; }
.elkat-team--photos .elkat-team__photo { grid-area: photo; width: 4.5rem; aspect-ratio: 4 / 5; position: relative; overflow: hidden; background: var(--elkat-fog); display: flex; align-items: center; justify-content: center; }
.elkat-team--photos .elkat-team__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.elkat-team__initials { font-weight: 800; font-size: 1.5rem; color: var(--elkat-ink); }
.elkat-team--photos .elkat-team__name { grid-area: name; }
.elkat-team--photos .elkat-team__role { grid-area: role; }
@media (min-width: 48rem) {
	.elkat-team--photos .elkat-team__item { grid-template-columns: 8rem 2fr 1fr; grid-template-areas: "photo name role"; }
	.elkat-team--photos .elkat-team__photo { width: 8rem; }
	.elkat-team__initials { font-size: 2.25rem; }
}

/* Text size of the blocks, set under ELKAT > Design > Blocks (1 = as designed) */
.elkat-panel .elkat-t-hero { font-size: calc(clamp(2.75rem, 7vw, 6.5rem) * var(--elkat-panel-text, 1)); }
.elkat-panel .elkat-t-mega { font-size: calc(clamp(2.6rem, 9.4vw, 8.5rem) * var(--elkat-panel-text, 1)); }
.elkat-panel .elkat-t-h1 { font-size: calc(clamp(2.25rem, 5.6vw, 4.5rem) * var(--elkat-panel-text, 1)); }
.elkat-panel .elkat-t-h2 { font-size: calc(clamp(1.75rem, 3.6vw, 2.75rem) * var(--elkat-panel-text, 1)); }
.elkat-panel .elkat-lead, .elkat-panel__copy p { font-size: calc(clamp(1.0625rem, 1.5vw, 1.25rem) * var(--elkat-panel-text, 1)); }
.elkat-band .elkat-t-hero { font-size: calc(clamp(2.75rem, 7vw, 6.5rem) * var(--elkat-band-text, 1)); }
.elkat-band .elkat-t-mega { font-size: calc(clamp(2.6rem, 9.4vw, 8.5rem) * var(--elkat-band-text, 1)); }
.elkat-band .elkat-t-h1 { font-size: calc(clamp(2.25rem, 5.6vw, 4.5rem) * var(--elkat-band-text, 1)); }
.elkat-band .elkat-t-h2 { font-size: calc(clamp(1.75rem, 3.6vw, 2.75rem) * var(--elkat-band-text, 1)); }
.elkat-band .elkat-lead { font-size: calc(clamp(1.0625rem, 1.5vw, 1.25rem) * var(--elkat-band-text, 1)); }

/* The torn edge's pale fringe: a thin dark one in dark mode */
.elkat-fringe { fill: #ffffff; }
html[data-theme="dark"] .elkat-fringe { fill: #1b1b1e; }

/* Colour & Finishing: a masonry of graded stills and clips, no captions */
.elkat-grade { padding-block: clamp(2rem, 5vw, 4rem); }
.elkat-masonry { list-style: none; margin: 0; padding: 0; column-count: var(--cols, 3); column-gap: 1rem; }
.elkat-masonry__item { break-inside: avoid; margin: 0 0 1rem; }
.elkat-masonry__media { position: relative; overflow: hidden; background: var(--elkat-fog); }
.elkat-masonry__media img, .elkat-masonry__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.elkat-masonry__ph { display: flex; align-items: center; justify-content: center; padding: 1rem; border: 1.5px dashed var(--elkat-rule); color: var(--elkat-grey); font-size: 0.8125rem; text-align: center; }
.elkat-masonry__toggle { position: absolute; right: 0.5rem; bottom: 0.5rem; display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0; color: #fff; background: rgb(24 22 22 / 0.72); border: 1px solid rgb(255 255 255 / 0.6); cursor: pointer; }
.elkat-masonry__toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.elkat-masonry__i-play { display: none; }
.elkat-masonry__media.is-paused .elkat-masonry__i-pause { display: none; }
.elkat-masonry__media.is-paused .elkat-masonry__i-play { display: block; }
@media (max-width: 63.99rem) { .elkat-masonry { column-count: 2; } }
@media (max-width: 27.99rem) { .elkat-masonry { column-count: 1; } }
