/* ==========================================================================
   ErthCreative — Cinema
   Screen-first: Instrument Serif at monumental sizes, Manrope interface,
   rounded "screens", film-strip motion. Every colour is an Elementor Global
   Colour; dark mode remaps the same variables (dark is this design's default).
   ========================================================================== */

body {
	--c-heading: var(--e-global-color-primary, #123C44);
	--c-turq: var(--e-global-color-secondary, #33BDB0);
	--c-text: var(--e-global-color-text, #30494F);
	--c-orange: var(--e-global-color-accent, #F3764B);
	--c-bg: var(--e-global-color-erthbg, #F5EFE9);
	--c-alt: var(--e-global-color-erthalt, #ECE2D9);
	--c-inv: var(--e-global-color-erthinv, #123C44);
	--c-invtx: var(--e-global-color-erthinvtx, #F8F1EC);
	--c-muted: var(--e-global-color-erthmuted, #5E7479);
	--c-line: var(--e-global-color-erthline, #E8DDD4);
	--c-sand: var(--e-global-color-erthsand, #E6CAB8);
	--c-petrol: var(--e-global-color-erthpetrol, #123C44);

	--f-display: var(--e-global-typography-primary-font-family, "Instrument Serif"), "Times New Roman", Georgia, serif;
	--f-ui: var(--e-global-typography-secondary-font-family, "Manrope"), "Segoe UI", system-ui, sans-serif;
	--f-body: var(--e-global-typography-text-font-family, "Manrope"), "Segoe UI", system-ui, sans-serif;
	--f-ar: var(--e-global-typography-accent-font-family, "Noto Kufi Arabic"), "Geeza Pro", sans-serif;

	--wrap: 1360px;
	--gut: clamp(16px, 4vw, 60px);
	--r: 22px;
	--ease: cubic-bezier(.16, .84, .2, 1);
	--ease-io: cubic-bezier(.76, 0, .24, 1);
	--header-h: 124px;
	--erth-accent: var(--c-orange);

	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: 16.5px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	transition: background-color .6s var(--ease), color .6s var(--ease);
}
html[data-theme="dark"] body { --c-heading: var(--e-global-color-primary, #F4ECE6); }

*, *::before, *::after { box-sizing: border-box; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; color: inherit; }
::selection { background: var(--c-turq); color: #071A1E; }
:focus-visible { outline: 2px solid var(--c-turq); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4, h5, h6, .elementor-heading-title { color: var(--c-heading); font-family: var(--f-display); font-weight: 400; line-height: 1; letter-spacing: -.01em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.erth-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin-inline: auto; padding-inline: var(--gut); }
.erth-wrap--narrow { max-width: calc(820px + var(--gut) * 2); }
[lang="ar"] { font-family: var(--f-ar); }

.erth-block { position: relative; padding-block: clamp(90px, 12vw, 180px); background: var(--c-bg); color: var(--c-text); }
.erth-surface-base { background: var(--c-bg); }
.erth-surface-alt { --c-bg: var(--c-alt); background: var(--c-alt); }
.erth-surface-transparent { background: transparent; }
.erth-surface-inverse { --c-bg: var(--c-inv); --c-heading: var(--c-invtx); --c-text: color-mix(in srgb, var(--c-invtx) 78%, transparent); --c-muted: color-mix(in srgb, var(--c-invtx) 55%, transparent); --c-line: color-mix(in srgb, var(--c-invtx) 15%, transparent); --c-petrol: var(--c-invtx); background: var(--c-inv); color: var(--c-text); }

.erth-title { font-family: var(--f-display); color: var(--c-heading); font-weight: 400; line-height: .98; letter-spacing: -.02em; }
.erth-title em { font-style: italic; color: var(--c-sand); }
html[data-theme="light"] .erth-title em { color: var(--c-orange); }
.erth-text { color: var(--c-text); }
.erth-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px; padding: 8px 14px 8px 12px; border: 1px solid var(--c-line); border-radius: 100px; font: 600 11px/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--c-heading); }
.erth-dia { display: inline-flex; gap: 4px; align-items: center; flex: none; }
.erth-dia i { width: 6px; height: 6px; background: var(--c-turq); transform: rotate(45deg); display: block; }
.erth-dia i:nth-child(2) { background: var(--c-orange); }
.erth-prose > * + * { margin-top: 1.1em; }
.erth-prose p { margin: 0; }
.erth-prose strong { color: inherit; font-weight: 600; }

.erth-btn { --bg: var(--c-heading); --fg: var(--c-bg); position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 16px 26px; border: 1px solid var(--bg); border-radius: 100px; background: var(--bg); color: var(--fg); font: 600 12.5px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s, transform .4s var(--ease); }
.erth-btn::before { content: ""; position: absolute; left: 50%; top: 100%; width: 140%; aspect-ratio: 1; border-radius: 50%; background: var(--c-orange); z-index: -1; transform: translate(-50%, 0) scale(0); transition: transform .6s var(--ease); }
.erth-btn:hover::before { transform: translate(-50%, -60%) scale(1); }
.erth-btn:hover { color: #fff; border-color: var(--c-orange); }
.erth-btn .erth-arrow { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.erth-btn:hover .erth-arrow { transform: translateX(4px) rotate(-45deg); }
.erth-btn--small { padding: 11px 18px; font-size: 11px; }
.erth-btn--ghost { --bg: transparent; --fg: var(--c-heading); border-color: color-mix(in srgb, var(--c-heading) 40%, transparent); }
.erth-play-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--c-orange); position: relative; }
.erth-play-dot::after { content: ""; position: absolute; left: 8px; top: 6px; border-left: 7px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.erth-link { display: inline-flex; align-items: center; gap: 10px; font: 600 12px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--c-heading); }
.erth-link .erth-arrow { width: 16px; transition: transform .4s var(--ease); }
.erth-link:hover { color: var(--c-orange); }
.erth-link:hover .erth-arrow { transform: translateX(5px); }
.erth-roundlink { display: inline-grid; place-items: center; align-content: center; gap: 6px; width: 150px; height: 150px; border-radius: 50%; border: 1px solid var(--c-line); text-align: center; text-decoration: none; font: 600 11px/1.4 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--c-heading); padding: 18px; transition: background-color .5s var(--ease), color .5s, border-color .5s; }
.erth-roundlink .erth-arrow { width: 18px; }
.erth-roundlink:hover { background: var(--c-orange); border-color: var(--c-orange); color: #fff; }

.erth-ph { display: inline-block; font: 600 12px/1.4 var(--f-ui); color: #9a3c18; background: #FFF1EB; border: 1px dashed var(--c-orange); padding: 3px 9px; border-radius: 4px; text-transform: none; letter-spacing: 0; }

/* Reveal ------------------------------------------------------------------- */
.erth-js [data-reveal] { opacity: 0; transform: translate3d(0, 40px, 0) scale(.98); filter: blur(6px); transition: opacity 1.1s var(--ease) var(--d, 0ms), transform 1.2s var(--ease) var(--d, 0ms), filter 1.1s var(--ease) var(--d, 0ms); }
.erth-js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.erth-js [data-reveal="mask"] { opacity: 1; filter: none; transform: none; clip-path: inset(18% 18% 18% 18% round var(--r)); transition: clip-path 1.5s var(--ease-io) var(--d, 0ms); }
.erth-js [data-reveal="mask"].is-in { clip-path: inset(0 round var(--r)); }
.erth-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.erth-w > span { display: inline-block; }
.erth-js [data-split] .erth-w > span { transform: translate3d(0, 110%, 0) rotate(4deg); transform-origin: left bottom; transition: transform 1.2s var(--ease) calc(var(--i) * 55ms + var(--d, 0ms)); }
.erth-js [data-split].is-in .erth-w > span { transform: none; }
[data-scrub-words] .erth-w { overflow: visible; }
.erth-js [data-scrub-words] .erth-w > span { opacity: .12; filter: blur(2px); transition: opacity .6s ease, filter .6s ease; }
.erth-js [data-scrub-words] .erth-w.is-lit > span { opacity: 1; filter: none; }
.erth-static [data-reveal], .erth-static [data-split] .erth-w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }

/* Discipline artwork --------------------------------------------------------- */
.erth-vis { position: relative; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-alt); }
body .erth-vis img { width: 100%; height: 100%; object-fit: cover; }
.erth-vis--image img { transition: transform 1.2s var(--ease); }
/* Film */
.erth-vis--film { background: #071A1E; }
.erth-vis__frame { position: absolute; inset: 0; }
body .erth-vis__frame img { object-position: 30% 60%; filter: saturate(1.05) contrast(1.05); animation: erthKen 18s ease-in-out infinite alternate; }
@keyframes erthKen { from { transform: scale(1.05) translate(0,0); } to { transform: scale(1.18) translate(-3%, -2%); } }
.erth-vis__bars { position: absolute; inset: 0; border-block: solid #071A1E; border-width: 11% 0; pointer-events: none; }
.erth-vis__thirds { position: absolute; inset: 11% 0; background:
	linear-gradient(90deg, transparent calc(33.33% - .5px), rgba(255,255,255,.22) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.22) 66.66%, transparent calc(66.66% + .5px)),
	linear-gradient(0deg, transparent calc(33.33% - .5px), rgba(255,255,255,.22) 33.33%, transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), rgba(255,255,255,.22) 66.66%, transparent calc(66.66% + .5px)); }
.erth-vis__corners i { position: absolute; width: 22px; height: 22px; border: 0 solid #F8F1EC; }
.erth-vis__corners i:nth-child(1) { left: 5%; top: 16%; border-width: 2px 0 0 2px; }
.erth-vis__corners i:nth-child(2) { right: 5%; top: 16%; border-width: 2px 2px 0 0; }
.erth-vis__corners i:nth-child(3) { left: 5%; bottom: 16%; border-width: 0 0 2px 2px; }
.erth-vis__corners i:nth-child(4) { right: 5%; bottom: 16%; border-width: 0 2px 2px 0; }
.erth-vis__rec { position: absolute; left: 5%; top: 2.5%; display: flex; align-items: center; gap: 8px; font: 600 11px var(--f-ui); letter-spacing: .2em; color: #F8F1EC; }
.erth-vis__rec b { width: 9px; height: 9px; border-radius: 50%; background: #F3764B; animation: erthBlink 1.2s steps(2) infinite; }
@keyframes erthBlink { 50% { opacity: 0; } }
.erth-vis__tc { position: absolute; right: 5%; top: 2.5%; font: 500 12px/1.4 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #F8F1EC; letter-spacing: .08em; }
.erth-vis__meta { position: absolute; left: 5%; bottom: 3%; font: 500 10.5px var(--f-ui); letter-spacing: .26em; color: rgba(248,241,236,.75); }
/* Social */
.erth-vis--social { background: linear-gradient(150deg, var(--c-alt), color-mix(in srgb, var(--c-sand) 55%, var(--c-alt))); display: grid; place-items: center; }
.erth-vis__phone { position: relative; width: 44%; aspect-ratio: 9 / 18.5; border-radius: 28px; background: #071A1E; padding: 10px; box-shadow: 0 40px 70px -30px rgba(7,26,30,.55), inset 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-6deg); animation: erthFloat 6s ease-in-out infinite; }
@keyframes erthFloat { 50% { transform: rotate(-4deg) translateY(-10px); } }
.erth-vis__notch { position: absolute; top: 14px; left: 50%; width: 30%; height: 12px; margin-left: -15%; border-radius: 10px; background: #000; z-index: 2; }
.erth-vis__feed { height: 100%; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: 33.33%; gap: 3px; background: #071A1E; animation: erthFeed 9s var(--ease-io) infinite; }
@keyframes erthFeed { 0%, 20% { transform: translateY(0); } 50%, 70% { transform: translateY(-33%); } 100% { transform: translateY(0); } }
.erth-vis__tile { background-size: 300% auto; background-color: #123C44; }
.erth-vis__tile.t1 { background-color: #33BDB0; } .erth-vis__tile.t2 { background-color: #E6CAB8; } .erth-vis__tile.t4 { background-color: #F3764B; } .erth-vis__tile.t5 { background-color: #1B4D57; }
.erth-vis__heart { position: absolute; right: -14px; bottom: 26%; width: 34px; height: 34px; border-radius: 50%; background: #F3764B; display: grid; place-items: center; animation: erthPop 3s var(--ease) infinite; }
.erth-vis__heart::before { content: "♥"; color: #fff; font-size: 16px; }
@keyframes erthPop { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.3); } }
.erth-vis__bubble { position: absolute; border-radius: 16px; background: var(--c-bg); box-shadow: 0 16px 30px -16px rgba(7,26,30,.4); }
.erth-vis__bubble.b1 { left: 12%; top: 24%; width: 22%; height: 9%; animation: erthFloat 5s ease-in-out infinite reverse; }
.erth-vis__bubble.b2 { right: 10%; top: 60%; width: 18%; height: 8%; animation: erthFloat 7s ease-in-out infinite; }
.erth-vis__bubble::after { content: ""; position: absolute; left: 14%; right: 30%; top: 40%; height: 3px; border-radius: 3px; background: var(--c-line); box-shadow: 0 7px 0 var(--c-line); }
/* Design */
.erth-vis--design { background: var(--c-bg); display: grid; grid-template-rows: 1fr auto; }
.erth-vis__board { position: relative; display: grid; place-items: center; overflow: hidden; }
.erth-vis__guides { position: absolute; inset: 0; background-image: linear-gradient(var(--c-line) 1px, transparent 1px), linear-gradient(90deg, var(--c-line) 1px, transparent 1px); background-size: 24px 24px; opacity: .7; }
.erth-vis__circle { position: absolute; width: 58%; aspect-ratio: 1; border: 1px dashed var(--c-turq); border-radius: 50%; animation: erthSpin 30s linear infinite; }
@keyframes erthSpin { to { transform: rotate(360deg); } }
body .erth-vis__logo { position: relative; width: 38% !important; height: auto !important; object-fit: contain; }
.erth-vis__logo.erth-logo__dark { display: none; }
html[data-theme="dark"] .erth-vis__logo.erth-logo__light { display: none; }
html[data-theme="dark"] .erth-vis__logo.erth-logo__dark { display: block; }
.erth-vis__swatches { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.erth-vis__swatches li { display: grid; gap: 6px; padding: 10px; font: 500 10px var(--f-ui); letter-spacing: .14em; color: var(--c-text); border-top: 1px solid var(--c-line); }
.erth-vis__swatches li + li { border-left: 1px solid var(--c-line); }
.erth-vis__swatches b { height: 18px; background: var(--c); }
/* Events */
.erth-vis--events { background: radial-gradient(120% 90% at 50% 0%, #1B4D57, #071A1E 70%); perspective: 700px; }
.erth-vis__room { position: absolute; inset: 0; transform-style: preserve-3d; }
.erth-vis__floor { position: absolute; left: -30%; right: -30%; bottom: -10%; height: 70%; transform: rotateX(72deg); transform-origin: bottom; background-image: linear-gradient(rgba(51,189,176,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(51,189,176,.5) 1px, transparent 1px); background-size: 46px 46px; animation: erthFloor 6s linear infinite; mask-image: linear-gradient(to top, #000 30%, transparent); }
@keyframes erthFloor { to { background-position: 0 46px; } }
.erth-vis__wall { position: absolute; bottom: 28%; width: 20%; height: 42%; background: linear-gradient(180deg, #F8F1EC, #E6CAB8); box-shadow: 0 30px 50px -20px rgba(0,0,0,.6); display: grid; place-items: center; }
.erth-vis__wall i { width: 50%; height: 30%; background: #123C44; }
.erth-vis__wall.w1 { left: 12%; transform: rotateY(28deg); }
.erth-vis__wall.w2 { left: 40%; width: 20%; height: 52%; bottom: 26%; background: #123C44; }
.erth-vis__wall.w2 .erth-dia i { background: #F8F1EC; width: 10px; height: 10px; }
.erth-vis__wall.w2 .erth-dia i:nth-child(2) { background: #F3764B; }
.erth-vis__wall.w3 { right: 12%; transform: rotateY(-28deg); }
.erth-vis__wall.w3 i { background: #33BDB0; border-radius: 50%; width: 36%; height: auto; aspect-ratio: 1; }
.erth-vis__beam { position: absolute; top: -10%; width: 26%; height: 90%; background: linear-gradient(180deg, rgba(255,232,210,.35), transparent 80%); clip-path: polygon(45% 0, 55% 0, 100% 100%, 0 100%); mix-blend-mode: screen; animation: erthBeam 5s ease-in-out infinite alternate; transform-origin: top center; }
.erth-vis__beam.b1 { left: 18%; } .erth-vis__beam.b2 { right: 18%; animation-delay: -2.5s; }
@keyframes erthBeam { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .erth-vis *, .erth-vis { animation: none !important; } }



/* Film-leader opening ----------------------------------------------------- */
.erth-loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: #050F11; color: #F4ECE6; cursor: pointer; clip-path: circle(150% at 50% 50%); transition: clip-path 1.1s var(--ease-io); }
html[data-theme="light"] .erth-loader { background: #F5EFE9; color: #123C44; }
.erth-seen .erth-loader { display: none; }
.erth-loader.is-done { clip-path: circle(0% at 50% 50%); }
.erth-loader__leader { position: relative; width: min(300px, 64vw); aspect-ratio: 1; display: grid; place-items: center; }
.erth-loader__cross { position: absolute; inset: -40%; background: linear-gradient(currentColor, currentColor) 50% 0 / 1px 100% no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 100% 1px no-repeat; opacity: .18; }
.erth-loader__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid currentColor; opacity: .35; }
.erth-loader__ring.r2 { inset: 14%; opacity: .2; }
.erth-loader__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(51,189,176,.55), rgba(51,189,176,0) 25%, transparent); animation: erthLeaderSweep .7s linear 3; }
@keyframes erthLeaderSweep { to { transform: rotate(360deg); } }
.erth-loader__nums { position: relative; font-family: var(--f-display); font-size: min(160px, 34vw); line-height: 1; }
.erth-loader__nums b { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-weight: 400; opacity: 0; animation: erthNum .7s steps(1) forwards; }
.erth-loader__nums b:nth-child(1) { animation-delay: 0s; }
.erth-loader__nums b:nth-child(2) { animation-delay: .7s; }
.erth-loader__nums b:nth-child(3) { animation-delay: 1.4s; }
@keyframes erthNum { 0% { opacity: 1; } 99% { opacity: 1; } 100% { opacity: 0; } }
.erth-loader__dia { position: absolute; gap: 12px; opacity: 0; transform: scale(.4); animation: erthDiaIn .7s var(--ease) 2.05s forwards; }
.erth-loader__dia i { width: 22px; height: 22px; background: currentColor; }
.erth-loader__dia i:nth-child(2) { background: #F3764B; }
@keyframes erthDiaIn { to { opacity: 1; transform: none; } }
.erth-loader__nums b:nth-child(3) { animation-name: erthNumLast; animation-duration: .65s; }
@keyframes erthNumLast { 0% { opacity: 1; } 99% { opacity: 1; } 100% { opacity: 0; } }
.erth-loader__brand { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 14px; margin: 0; font: 600 11px var(--f-ui); letter-spacing: .36em; text-transform: uppercase; opacity: .75; }
.erth-loader__brand [lang="ar"] { letter-spacing: 0; font-size: 14px; }
.erth-loader__count { position: absolute; left: var(--gut); bottom: 30px; margin: 0; font: 600 11px var(--f-ui); letter-spacing: .3em; opacity: .6; }
.erth-loader__skip { position: absolute; right: var(--gut); bottom: 30px; margin: 0; font: 600 10.5px var(--f-ui); letter-spacing: .26em; text-transform: uppercase; opacity: .45; }

.erth-veil { position: fixed; inset: 0; z-index: 9990; background: #050F11; display: grid; place-items: center; clip-path: circle(0% at 50% 50%); pointer-events: none; transition: clip-path .6s var(--ease-io); }
.erth-veil .erth-dia i { width: 14px; height: 14px; background: #F4ECE6; }
.erth-veil .erth-dia i:nth-child(2) { background: #F3764B; }
.erth-leaving .erth-veil { clip-path: circle(150% at 50% 50%); }
.erth-skip { position: absolute; left: 12px; top: -80px; z-index: 10000; background: var(--c-heading); color: var(--c-bg); padding: 12px 18px; border-radius: 100px; font: 600 13px var(--f-ui); }
.erth-skip:focus { top: 12px; }

/* Floating glass header ------------------------------------------------------ */
.erth-part--header { position: relative; z-index: 100; height: var(--header-h); }
.home .erth-part--header:has(.erth-header[data-overlay="yes"]) { height: 0; }
.erth-header { position: fixed; top: 18px; left: 0; right: 0; z-index: 100; padding: 0 var(--gut); background: transparent; pointer-events: none; transition: transform .6s var(--ease); }
.admin-bar .erth-header { top: 50px; }
.erth-header.is-hidden { transform: translateY(-140%); }
.erth-pill { pointer-events: auto; position: relative; display: flex; align-items: center; gap: 22px; max-width: 1360px; margin-inline: auto; padding: 8px 8px 8px 18px; border-radius: 100px; background: color-mix(in srgb, var(--c-bg) 72%, transparent); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); border: 1px solid color-mix(in srgb, var(--c-heading) 12%, transparent); box-shadow: 0 20px 50px -30px rgba(0,0,0,.5); transition: background-color .5s, max-width .7s var(--ease); }
.erth-header.is-scrolled .erth-pill { max-width: 1100px; }
.home .erth-header[data-overlay="yes"]:not(.is-scrolled) .erth-pill { background: rgba(5,15,17,.28); border-color: rgba(244,236,230,.16); --c-heading: #F4ECE6; }
.home .erth-header[data-overlay="yes"]:not(.is-scrolled) .erth-logo__light { display: none; }
.home .erth-header[data-overlay="yes"]:not(.is-scrolled) .erth-logo__dark { display: block; }
.erth-pill__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.erth-logo { display: inline-flex; height: var(--logo-h, 84px); }
.erth-pill__logo { --logo-h: var(--erth-logo-h, 84px); }
body .erth-logo img { height: 100%; width: auto; max-width: none; }
.erth-logo__dark { display: none; }
html[data-theme="dark"] .erth-logo__light { display: none; }
html[data-theme="dark"] .erth-logo__dark { display: block; }
.erth-pill__word { font: 700 13px var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--c-heading); }
.erth-pill__nav { margin-inline: auto; }
.erth-pill__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.erth-pill__list > li { position: relative; }
.erth-pill__list a { display: block; padding: 10px 14px; border-radius: 100px; font: 600 12px var(--f-ui); letter-spacing: .08em; text-decoration: none; color: var(--c-heading); white-space: nowrap; transition: background-color .3s, color .3s; }
.erth-pill__list > li > a:hover, .erth-pill__list > .current-menu-item > a, .erth-pill__list > .current-page-ancestor > a { background: color-mix(in srgb, var(--c-heading) 10%, transparent); }
.erth-pill__list .sub-menu { position: absolute; top: calc(100% + 12px); left: 50%; min-width: 250px; list-style: none; margin: 0; padding: 8px; border-radius: 18px; background: var(--c-bg); border: 1px solid var(--c-line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .35s var(--ease); }
.erth-pill__list .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.erth-pill__list li:hover > .sub-menu, .erth-pill__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.erth-pill__list .sub-menu a { border-radius: 12px; padding: 11px 14px; color: var(--c-heading); }
.erth-pill__list .sub-menu a:hover { background: var(--c-alt); }
.erth-pill__actions { display: flex; align-items: center; gap: 10px; }
.erth-burger { display: none; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 100px; border: 0; background: var(--c-heading); color: var(--c-bg); cursor: pointer; font: 600 11px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; }
.erth-burger__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-orange); transition: transform .4s var(--ease); }
.erth-menu-open .erth-burger__dot { transform: scale(1.8); }
.erth-menu { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #050F11; color: #F4ECE6; clip-path: inset(0 0 100% 0 round 0 0 40px 40px); transition: clip-path .9s var(--ease-io); }
.erth-menu-open .erth-menu { clip-path: inset(0 0 0 0 round 0); pointer-events: auto; }
.erth-menu-open { overflow: hidden; }
.erth-menu-open .erth-pill { --c-heading: #F4ECE6; background: rgba(255,255,255,.06); }
.erth-menu-open .erth-logo__light { display: none; }
.erth-menu-open .erth-logo__dark { display: block; }
.erth-menu__inner { height: 100%; overflow: auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; padding: calc(var(--header-h) + 50px) var(--gut) 50px; }
.erth-menu__nav ul { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.erth-menu__nav > ul > li { counter-increment: m; overflow: hidden; border-bottom: 1px solid rgba(244,236,230,.12); }
.erth-menu__nav > ul > li > a { display: flex; align-items: baseline; gap: 18px; padding: 8px 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(40px, 7vw, 92px); line-height: 1.05; color: #F4ECE6; text-decoration: none; transform: translateY(105%); transition: transform .9s var(--ease), color .3s; }
.erth-menu__nav > ul > li > a::before { content: "0" counter(m); font: 600 12px var(--f-ui); letter-spacing: .2em; color: #F3764B; }
.erth-menu__nav > ul > li > a:hover { color: #E6CAB8; font-style: italic; }
.erth-menu-open .erth-menu__nav > ul > li > a { transform: none; }
.erth-menu-open .erth-menu__nav > ul > li:nth-child(2) > a { transition-delay: .06s; }
.erth-menu-open .erth-menu__nav > ul > li:nth-child(3) > a { transition-delay: .12s; }
.erth-menu-open .erth-menu__nav > ul > li:nth-child(4) > a { transition-delay: .18s; }
.erth-menu-open .erth-menu__nav > ul > li:nth-child(5) > a { transition-delay: .24s; }
.erth-menu__nav .sub-menu { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 0 0 14px 40px; }
.erth-menu__nav .sub-menu a { font: 600 11.5px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: #33BDB0; text-decoration: none; }
.erth-menu__side { display: grid; gap: 20px; justify-items: start; }
.erth-menu__ar { font-family: var(--f-ar); font-weight: 700; font-size: clamp(90px, 12vw, 180px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(244,236,230,.4); }
.erth-menu__side p { font-family: var(--f-display); font-size: 28px; line-height: 1.15; color: #F4ECE6; margin: 0; }
.erth-menu__side .erth-btn { --bg: #F4ECE6; --fg: #071A1E; }
@media (max-width: 1240px) {
	.erth-pill__nav { display: none; }
	.erth-burger { display: inline-flex; }
	.erth-pill__actions { margin-left: auto; }
}
@media (max-width: 700px) {
	body { --header-h: 84px; }
	.erth-header { top: 10px; padding: 0 10px; }
	.erth-pill__word, .erth-pill__cta, .erth-toggle__label { display: none !important; }
	.erth-menu__inner { grid-template-columns: 1fr; align-content: end; }
	.erth-menu__ar { display: none; }
}

/* Toggle ---------------------------------------------------------------------- */
.erth-toggle { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 100px; border: 1px solid color-mix(in srgb, var(--c-heading) 20%, transparent); background: none; cursor: pointer; color: var(--c-heading); font: 600 10.5px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; }
.erth-toggle__track { position: relative; width: 28px; height: 28px; border-radius: 50%; overflow: hidden; }
.erth-toggle__knob { position: absolute; inset: 4px; border-radius: 50%; background: #F3764B; box-shadow: 0 0 0 4px rgba(243,118,75,.18); transition: transform .6s var(--ease), background-color .5s, box-shadow .5s; }
html[data-theme="dark"] .erth-toggle__knob { background: #E6CAB8; box-shadow: inset -7px -3px 0 0 #123C44; transform: rotate(-30deg); }
.erth-toggle__sun, .erth-toggle__moon { display: none; }
.erth-toggle__label .is-dark { display: none; }
html[data-theme="dark"] .erth-toggle__label .is-light { display: none; }
html[data-theme="dark"] .erth-toggle__label .is-dark { display: inline; }
.erth-theme-toggle { display: flex; padding: 0; background: transparent; }

/* Cursor ---------------------------------------------------------------------- */
.erth-has-cursor, .erth-has-cursor a, .erth-has-cursor button, .erth-has-cursor [data-cursor] { cursor: none; }
.erth-has-cursor input, .erth-has-cursor textarea { cursor: text; }
.erth-cursor { position: fixed; inset: 0; pointer-events: none; z-index: 10001; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.erth-cursor.is-on { opacity: 1; }
.erth-cursor__dot { display: none; }
.erth-cursor__ring { position: absolute; left: 0; top: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; transform: translate(var(--rx), var(--ry)); transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease); }
.erth-cursor.is-link .erth-cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.erth-cursor.is-text .erth-cursor__ring { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
.erth-cursor.is-field .erth-cursor__ring { width: 4px; height: 26px; margin: -13px 0 0 -2px; border-radius: 2px; }
.erth-cursor__label { position: absolute; left: 0; top: 0; transform: translate(var(--rx), var(--ry)) translate(-50%, -50%); font: 700 11px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .3s; }
.erth-cursor.is-text .erth-cursor__label { opacity: 1; }

/* Cinema hero ------------------------------------------------------------------ */
.erth-hero { --p: 0; height: 240vh; padding: 0; background: var(--c-bg); }
.erth-cine__sticky { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; }
.erth-cine__type { position: absolute; inset: calc(var(--header-h) + 58px) 0 auto 0; display: grid; place-items: center; align-content: start; pointer-events: none; opacity: clamp(0, calc(1 - var(--p) * 3), 1); transform: scale(calc(1 + var(--p) * 1.4)); }
.erth-cine__word { display: block; font-family: var(--f-display); font-size: clamp(150px, min(31vw, 62vh), 560px); line-height: .78; letter-spacing: -.04em; color: transparent; background-size: cover; background-position: 62% 50%; -webkit-background-clip: text; background-clip: text; padding-top: .06em; }
.erth-js .erth-cine__word { animation: erthWord 2.4s var(--ease) both; animation-play-state: paused; }
.erth-intro-done .erth-cine__word { animation-play-state: running; }
@keyframes erthWord { from { letter-spacing: .1em; opacity: 0; filter: blur(14px); } to { letter-spacing: -.04em; opacity: 1; filter: none; } }
.erth-cine__ar { margin-top: -.12em; line-height: 1.2; font-family: var(--f-ar); font-weight: 600; font-size: clamp(30px, 4vw, 64px); color: var(--c-orange); }
.erth-cine__screen { position: absolute; left: 50%; top: 50%; width: calc(26vw + var(--p) * 74vw); height: calc(18vw + var(--p) * (100vh - 18vw)); max-height: 100vh; transform: translate(-50%, calc(-50% + (1 - min(1, var(--p) * 3)) * 36vh)); border-radius: calc((1 - var(--p)) * 28px); overflow: hidden; opacity: clamp(0, calc(var(--p) * 4), 1); box-shadow: 0 50px 120px -40px rgba(0,0,0,.6); }
body .erth-cine__screen img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 62% 50%; transform: scale(calc(1.25 - var(--p) * .25)) translate3d(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -10px), 0); }
.erth-cine__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,15,17,.86), rgba(5,15,17,.1) 55%), linear-gradient(90deg, rgba(5,15,17,.55), transparent 60%); opacity: clamp(0, calc(var(--p) * 2 - .6), 1); }
.erth-cine__top { position: absolute; left: 0; right: 0; top: calc(var(--header-h) + 22px); opacity: clamp(0, calc(1 - var(--p) * 4), 1); text-align: center; }
.erth-cine__intro { position: absolute; left: 0; right: 0; bottom: clamp(36px, 7vh, 80px); display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; opacity: clamp(0, calc(1 - var(--p) * 4), 1); transform: translateY(calc(var(--p) * 60px)); }
.erth-cine__rotator { position: relative; margin: 0; height: 1.1em; min-width: min(780px, 90vw); font-size: clamp(34px, 4.6vw, 74px); overflow: hidden; }
.erth-cine__rotator > span { position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(110%); opacity: 0; transition: transform 1s var(--ease), opacity .8s; }
.erth-cine__rotator > span.is-active { transform: none; opacity: 1; }
.erth-cine__rotator > span.is-leaving { transform: translateY(-110%); opacity: 0; }
.erth-cine__rotator > span:nth-child(2) { font-style: italic; color: var(--c-sand); }
html[data-theme="light"] .erth-cine__rotator > span:nth-child(2) { color: var(--c-orange); }
.erth-cine__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.erth-cine__final { position: absolute; left: 0; right: 0; bottom: clamp(40px, 8vh, 90px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px 60px; align-items: end; pointer-events: none; }
.erth-cine__stack { margin: 0; font-size: clamp(42px, 6vw, 104px); line-height: .95; color: #F4ECE6; }
.erth-cine__stack span { display: block; opacity: clamp(0, calc((var(--p) - .62 - var(--i) * .06) * 7), 1); transform: translateY(calc((1 - clamp(0, (var(--p) - .62 - var(--i) * .06) * 7, 1)) * 40px)); }
.erth-cine__stack span:nth-child(2) { font-style: italic; color: #E6CAB8; padding-left: .8em; }
.erth-cine__stack span:nth-child(3) { padding-left: 1.6em; }
.erth-cine__text { color: rgba(244,236,230,.85); font-size: 16.5px; max-width: 46ch; margin: 0; opacity: clamp(0, calc((var(--p) - .85) * 8), 1); }
.erth-cine__scroll { position: absolute; left: auto; right: max(var(--gut), calc((100% - var(--wrap)) / 2)); top: auto; bottom: clamp(36px, 7vh, 80px); transform: none; display: grid; justify-items: center; gap: 10px; font: 600 10px var(--f-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--c-muted); opacity: clamp(0, calc(1 - var(--p) * 6), 1); }
.erth-cine__scroll i { width: 22px; height: 36px; border-radius: 20px; border: 1.5px solid currentColor; position: relative; }
.erth-cine__scroll i::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--c-orange); animation: erthWheel 1.8s var(--ease) infinite; }
@keyframes erthWheel { 60% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 760px) {
	.erth-cine__scroll { display: none; }
	.erth-cine__type { inset: calc(var(--header-h) + 90px) 0 230px 0; align-content: center; }
	.erth-cine__word { font-size: 33vw; }
	.erth-hero { height: 200vh; }
	.erth-cine__final { grid-template-columns: 1fr; }
	.erth-cine__rotator { font-size: 30px; min-width: 100%; }
	.erth-cine__stack span:nth-child(n) { padding-left: 0; }
	.erth-cine__screen { width: calc(60vw + var(--p) * 40vw); height: calc(40vw + var(--p) * (100vh - 40vw)); }
}
@media (prefers-reduced-motion: reduce) {
	.erth-hero { height: auto; }
	.erth-cine__sticky { position: relative; }
	.erth-hero { --p: 1 !important; }
}

/* Inner page hero ------------------------------------------------------------- */
.erth-page-hero { --p: 0; padding-top: calc(var(--header-h) + clamp(80px, 12vw, 190px)); padding-bottom: clamp(70px, 9vw, 140px); overflow: hidden; }
.erth-page-hero--simple { padding-bottom: 50px; }
.erth-ph-hero__mark { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); font-family: var(--f-display); font-style: italic; font-size: clamp(160px, 30vw, 520px); line-height: .8; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c-heading) 14%, transparent); pointer-events: none; user-select: none; }
.erth-ph-hero__mark:lang(ar) { font-family: var(--f-ar); font-style: normal; }
.erth-ph-hero__title, .erth-page-hero__title { position: relative; font-size: clamp(54px, 9vw, 160px); line-height: .9; letter-spacing: -.035em; margin: 0 0 40px; max-width: 14ch; }
.erth-ph-hero__row { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; border-top: 1px solid var(--c-line); padding-top: 28px; }
.erth-ph-hero__text { font-size: clamp(16px, 1.3vw, 19px); max-width: 56ch; margin: 0; }
.erth-ph-hero__scroll { width: 64px; height: 64px; border-radius: 50%; border: 1px solid var(--c-line); position: relative; flex: none; }
.erth-ph-hero__scroll i { position: absolute; left: 50%; top: 18px; width: 1px; height: 26px; background: var(--c-heading); }
.erth-ph-hero__scroll i::after { content: ""; position: absolute; left: -4px; bottom: 0; width: 9px; height: 9px; border-right: 1px solid var(--c-heading); border-bottom: 1px solid var(--c-heading); transform: rotate(45deg); }
.erth-ph-hero__screen { position: relative; max-width: calc(1360px + var(--gut) * 2); margin: clamp(50px, 6vw, 90px) auto 0; padding-inline: var(--gut); }
body .erth-ph-hero__screen img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--r); }

/* Marquee ---------------------------------------------------------------------- */
.erth-marquee { padding: clamp(40px, 5vw, 70px) 0; overflow: hidden; }
.erth-mq__band { transform: rotate(-2deg) scale(1.04); display: grid; gap: 10px; }
.erth-mq__row { display: flex; width: max-content; }
.erth-mq__run { display: flex; align-items: center; gap: clamp(24px, 3vw, 46px); padding-right: clamp(24px, 3vw, 46px); animation: erthMq var(--speed, 38s) linear infinite; white-space: nowrap; }
.erth-mq__row.is-reverse .erth-mq__run { animation-direction: reverse; }
@keyframes erthMq { to { transform: translateX(-100%); } }
.erth-mq__item { font-family: var(--f-display); font-size: clamp(54px, 8.4vw, 150px); line-height: 1; color: var(--c-heading); }
.erth-mq__row.is-reverse .erth-mq__item { font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--c-heading); }
.erth-mq__star { font-size: clamp(22px, 2.4vw, 40px); color: var(--c-orange); }
.erth-marquee--small .erth-mq__band { transform: none; }
.erth-marquee--small .erth-mq__item { font-size: clamp(26px, 3vw, 44px); }
.erth-marquee--small { border-block: 1px solid var(--c-line); padding: 26px 0; }
@media (prefers-reduced-motion: reduce) { .erth-mq__run { animation: none; } }

/* Manifesto intro --------------------------------------------------------------- */
.erth-man__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: clamp(30px, 4vw, 60px); }
.erth-man__head .erth-eyebrow { margin: 0; }
.erth-man__chip { display: inline-flex; align-items: center; gap: 16px; margin: 0; padding: 10px 22px 10px 14px; border-radius: 100px; background: var(--c-alt); }
.erth-man__chip [lang="ar"] { font-weight: 700; font-size: 30px; line-height: 1.3; color: var(--c-orange); }
.erth-man__chip small { font: 600 11px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--c-heading); }
.erth-man__lede { font-size: clamp(38px, 5.6vw, 96px); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 clamp(50px, 6vw, 90px); }
.erth-man__foot { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; border-top: 1px solid var(--c-line); padding-top: 40px; }
.erth-man__body { columns: 2; column-gap: 50px; font-size: 16.5px; }
@media (max-width: 860px) { .erth-man__foot { grid-template-columns: 1fr; } .erth-man__body { columns: 1; } }

/* Figures ----------------------------------------------------------------------- */
.erth-stats { padding-block: clamp(70px, 9vw, 130px); }
.erth-fig__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--c-line); }
.erth-fig__item { position: relative; padding: 30px 26px 10px 0; }
.erth-fig__item + .erth-fig__item { padding-left: 26px; border-left: 1px solid var(--c-line); }
.erth-fig__idx { font: 600 11px var(--f-ui); letter-spacing: .2em; color: var(--c-orange); }
.erth-fig__num { margin: 18px 0 16px; font-size: clamp(76px, 9.4vw, 170px); line-height: .85; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--c-heading); transition: color 1.4s var(--ease) .5s; }
.erth-fig__item.is-in .erth-fig__num { color: var(--c-heading); }
.erth-fig__label { font-size: 14.5px; max-width: 24ch; margin: 0; }
@media (max-width: 900px) { .erth-fig__list { grid-template-columns: 1fr 1fr; } .erth-fig__item:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .erth-fig__list { grid-template-columns: 1fr; } .erth-fig__item + .erth-fig__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--c-line); } }

/* Disciplines accordion ---------------------------------------------------------- */
.erth-acc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 60px; margin-bottom: clamp(40px, 5vw, 70px); }
.erth-acc__title { font-size: clamp(46px, 6.4vw, 110px); margin: 0; max-width: 13ch; }
.erth-acc__intro { max-width: 44ch; margin: 0; }
.erth-acc { display: flex; gap: 12px; height: min(78vh, 760px); min-height: 560px; }
.erth-acc__panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r); overflow: hidden; background: var(--c-alt); cursor: pointer; transition: flex-grow .9s var(--ease); isolation: isolate; outline-offset: 4px; }
.erth-acc__panel.is-open { flex-grow: 4.2; cursor: default; }
.erth-acc__bg { position: absolute; inset: 0; z-index: -1; }
.erth-acc__bg .erth-vis { height: 100%; aspect-ratio: auto; }
.erth-acc__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,15,17,.92) 8%, rgba(5,15,17,.35) 55%, rgba(5,15,17,.15)); transition: background-color .6s; }
.erth-acc__panel:not(.is-open) .erth-acc__bg::after { background-color: rgba(5,15,17,.55); }
.erth-acc__spine { position: absolute; inset: 22px 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; color: #F4ECE6; transition: opacity .4s; }
.erth-acc__panel.is-open .erth-acc__spine { opacity: 0; pointer-events: none; }
.erth-acc__num { font: 600 12px var(--f-ui); letter-spacing: .2em; color: #F3764B; }
.erth-acc__vname { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--f-display); font-size: clamp(28px, 2.4vw, 42px); white-space: nowrap; }
.erth-acc__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 44px); color: #F4ECE6; --c-heading: #F4ECE6; --c-text: rgba(244,236,230,.82); opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .8s var(--ease); pointer-events: none; }
.erth-acc__panel.is-open .erth-acc__body { opacity: 1; transform: none; transition-delay: .3s; pointer-events: auto; }
.erth-acc__bignum { position: absolute; right: clamp(20px, 3vw, 40px); top: -0.9em; font-family: var(--f-display); font-style: italic; font-size: clamp(80px, 9vw, 150px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(244,236,230,.5); }
.erth-acc__name { font-size: clamp(38px, 4.2vw, 72px); margin: 0 0 6px; max-width: 12ch; }
.erth-acc__sub { font-family: var(--f-display); font-style: italic; font-size: clamp(20px, 1.8vw, 28px); color: #E6CAB8; margin: 0 0 14px; }
.erth-acc__body .erth-text { max-width: 58ch; font-size: 15px; margin-bottom: 18px; }
.erth-acc__caps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.erth-acc__caps li { font: 600 11px var(--f-ui); letter-spacing: .06em; padding: 7px 12px; border-radius: 100px; background: rgba(244,236,230,.12); backdrop-filter: blur(8px); }
.erth-acc__body .erth-link { color: #F4ECE6; }
@media (max-width: 960px) {
	.erth-acc { flex-direction: column; height: auto; min-height: 0; }
	.erth-acc__panel, .erth-acc__panel.is-open { flex: none; height: 520px; }
	.erth-acc__spine { display: none; }
	.erth-acc__body { opacity: 1; transform: none; pointer-events: auto; }
}

/* Service detail ----------------------------------------------------------------- */
.erth-service { overflow: hidden; }
.erth-sv__ghost { position: absolute; right: -2vw; top: 40px; font-family: var(--f-display); font-style: italic; font-size: clamp(200px, 32vw, 560px); line-height: .8; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c-heading) 10%, transparent); pointer-events: none; }
.erth-service.is-flipped .erth-sv__ghost { right: auto; left: -2vw; }
.erth-sv__head { position: relative; margin-bottom: clamp(40px, 5vw, 70px); }
.erth-sv__idx { font: 600 12px var(--f-ui); letter-spacing: .24em; color: var(--c-muted); margin-bottom: 16px; }
.erth-sv__idx span { color: var(--c-orange); }
.erth-sv__title { font-size: clamp(60px, 9vw, 168px); line-height: .88; letter-spacing: -.04em; margin: 0; }
.erth-sv__sub { font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 2.4vw, 38px); color: var(--c-turq); margin: 10px 0 0; }
.erth-sv__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: start; }
.erth-service.is-flipped .erth-sv__screen { order: 2; }
.erth-sv__screen { position: sticky; top: calc(var(--header-h) + 20px); border-radius: var(--r); overflow: hidden; }
.erth-sv__screen .erth-vis { aspect-ratio: 4 / 4.4; }
.erth-sv__body { font-size: 16.5px; }
.erth-sv__body p:first-child { font-family: var(--f-display); font-size: clamp(26px, 2.6vw, 40px); line-height: 1.15; color: var(--c-heading); }
.erth-sv__caps { margin: 44px 0 38px; }
.erth-sv__caps ol { list-style: none; margin: 0; padding: 0; counter-reset: c; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.erth-sv__caps li { counter-increment: c; display: flex; gap: 14px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; color: var(--c-heading); }
.erth-sv__caps li::before { content: counter(c, decimal-leading-zero); font: 600 10.5px var(--f-ui); letter-spacing: .1em; color: var(--c-orange); }
.erth-sv__ticket { margin-top: 44px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; padding: 26px; border-radius: var(--r); background: var(--c-inv); color: var(--c-invtx); text-decoration: none; --c-heading: var(--c-invtx); --c-text: color-mix(in srgb, var(--c-invtx) 75%, transparent); transition: transform .6s var(--ease); }
.erth-sv__ticket:hover { transform: translateY(-4px); }
.erth-sv__ticket-play { width: 62px; height: 62px; border-radius: 50%; background: var(--c-orange); position: relative; }
.erth-sv__ticket-play::after { content: ""; position: absolute; left: 25px; top: 21px; border-left: 15px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.erth-sv__ticket-title { display: block; font-size: 30px; margin-bottom: 6px; }
.erth-sv__ticket .erth-text { display: block; font-size: 14.5px; margin-bottom: 10px; }
.erth-sv__ticket-go { display: inline-flex; gap: 8px; align-items: center; font: 600 11px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--c-sand); }
.erth-sv__ticket-go .erth-arrow { width: 16px; }
@media (max-width: 900px) { .erth-sv__grid { grid-template-columns: 1fr; } .erth-service.is-flipped .erth-sv__screen { order: 0; } .erth-sv__screen { position: static; } .erth-sv__caps ol { grid-template-columns: 1fr; } }

/* Film strip heritage --------------------------------------------------------------- */
.erth-timeline { padding: 0; background: #050F11; color: #F4ECE6; --c-heading: #F4ECE6; --c-text: rgba(244,236,230,.78); --c-line: rgba(244,236,230,.14); --c-muted: rgba(244,236,230,.55); }
html[data-theme="light"] .erth-timeline { background: #0B2328; }
.erth-strip__sticky { padding-block: clamp(90px, 10vw, 150px) 60px; }
.erth-timeline.is-pinned .erth-strip__sticky { position: sticky; top: 0; height: 100vh; padding-block: calc(var(--header-h) + 10px) 26px; display: flex; flex-direction: column; overflow: hidden; }
.erth-strip__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 60px; margin-bottom: clamp(24px, 3vh, 44px); }
.erth-strip__title { font-size: clamp(50px, 6.4vw, 110px); margin: 0; }
.erth-strip__intro { max-width: 48ch; margin: 0; font-size: 15px; }
.erth-strip__film { position: relative; flex: 1; min-height: 0; padding: 44px 0; background: #000; }
.erth-strip__holes { position: absolute; left: 0; right: 0; height: 14px; background-image: radial-gradient(circle, transparent 0, transparent 0), linear-gradient(90deg, #F4ECE6 0 14px, transparent 14px 36px); background-size: 36px 10px; background-repeat: repeat-x; background-position: 0 50%; opacity: .5; transform: translateX(calc(var(--p, 0) * -400px)); }
.erth-strip__holes { right: -440px; }
.erth-strip__holes.is-top { top: 15px; }
.erth-strip__holes.is-bottom { bottom: 15px; }
.erth-strip__track { list-style: none; margin: 0; padding: 0 var(--gut); display: grid; gap: 14px; }
.erth-timeline.is-pinned .erth-strip__track { display: flex; height: 100%; width: max-content; will-change: transform; }
.erth-strip__frame { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(20px, 2.4vw, 40px); align-items: center; padding: clamp(18px, 2vw, 30px); background: #0B1C20; border-radius: 10px; }
.erth-timeline.is-pinned .erth-strip__frame { width: min(1080px, 78vw); height: 100%; }
.erth-strip__img { display: block; height: 100%; min-height: 240px; border-radius: 6px; background-size: cover; background-repeat: no-repeat; }
.erth-strip__year { margin: 0; font-family: var(--f-display); font-size: clamp(64px, min(8vw, 13vh), 150px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px #E6CAB8; }
.erth-strip__frame:nth-child(2) .erth-strip__year { -webkit-text-stroke-color: #4FA3AE; }
.erth-strip__frame:nth-child(3) .erth-strip__year { -webkit-text-stroke-color: #33BDB0; }
.erth-strip__frame:nth-child(4) .erth-strip__year { -webkit-text-stroke-color: #F3764B; }
.erth-strip__loc { margin: 16px 0 6px; font: 600 11px var(--f-ui); letter-spacing: .26em; text-transform: uppercase; color: #F3764B; }
.erth-strip__name { font-size: clamp(28px, min(2.6vw, 4.6vh), 44px); margin: 0 0 10px; }
.erth-strip__copy { min-height: 0; max-height: 100%; overflow: hidden; }
.erth-strip__copy .erth-text { font-size: clamp(13.5px, 1.8vh, 15px); line-height: 1.6; margin: 0; }
.erth-strip__end { grid-template-columns: 1fr; place-items: center; text-align: center; background: linear-gradient(140deg, #123C44, #0B1C20); }
.erth-timeline.is-pinned .erth-strip__end { width: min(700px, 60vw); }
.erth-strip__dia i { width: 18px; height: 18px; }
.erth-strip__closing { font-size: clamp(34px, 3.6vw, 60px); font-style: italic; margin: 20px 0 0; max-width: 12ch; }
.erth-strip__bar { display: none; }
.erth-timeline.is-pinned .erth-strip__bar { display: flex; align-items: center; gap: 24px; padding-top: 20px; }
.erth-strip__bar span { font: 600 12px var(--f-ui); letter-spacing: .14em; color: rgba(244,236,230,.4); transition: color .4s; }
.erth-strip__bar span.is-active { color: #F3764B; }
.erth-strip__bar i { flex: 1; height: 2px; border-radius: 2px; background: rgba(244,236,230,.12); position: relative; overflow: hidden; }
.erth-strip__bar b { position: absolute; inset: 0; transform-origin: left; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, #E6CAB8, #33BDB0, #F3764B); }
.erth-strip__note { font-size: 13.5px; color: rgba(244,236,230,.55); padding-bottom: 60px; margin: 0; }
@media (max-width: 899px) { .erth-strip__frame { grid-template-columns: 1fr; } .erth-strip__img { min-height: 200px; aspect-ratio: 16 / 9; height: auto; } }

/* Quote ------------------------------------------------------------------------- */
.erth-quote { overflow: hidden; text-align: center; }
.erth-quote .erth-wrap { display: grid; justify-items: center; max-width: calc(1180px + var(--gut) * 2); }
.erth-qt__text { margin: 0 0 40px; font-size: clamp(44px, 6.6vw, 118px); line-height: 1; letter-spacing: -.03em; }
.erth-qt__body { columns: 2; column-gap: 50px; text-align: left; max-width: 900px; font-size: 16px; }
.erth-qt__float { position: absolute; pointer-events: none; }
.erth-qt__float.f1 { left: 8%; top: 18%; }
.erth-qt__float.f1 .erth-dia i { width: 22px; height: 22px; }
.erth-qt__float.f2 { right: 6%; bottom: 14%; width: 180px; height: 180px; border-radius: 50%; border: 1px solid var(--c-turq); opacity: .5; }
@media (max-width: 760px) { .erth-qt__body { columns: 1; } }

/* Text block ------------------------------------------------------------------------ */
.erth-tb__top { max-width: 1100px; margin-bottom: clamp(36px, 5vw, 70px); }
.erth-tb__title { font-size: clamp(44px, 6vw, 104px); margin: 0 0 20px; }
.erth-tb__lede { font-size: clamp(32px, 4vw, 66px); line-height: 1.06; margin: 0; }
.erth-tb__cols { display: grid; grid-template-columns: 1fr; gap: 40px; }
.erth-tb--split .erth-tb__cols { grid-template-columns: 1fr 2fr; }
.erth-tb--wide .erth-tb__cols { margin-left: auto; max-width: 860px; }
.erth-tb__aside { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; padding: 26px; border-radius: var(--r); background: var(--c-alt); }
.erth-tb__big { display: block; font-family: var(--f-display); font-size: clamp(80px, 9vw, 150px); line-height: 1; color: var(--c-orange); }
.erth-tb__big[lang="ar"] { font-family: var(--f-ar); font-weight: 700; }
.erth-tb__aside p { margin: 12px 0 0; font-size: 14px; color: var(--c-muted); }
.erth-tb__main .erth-prose { font-size: 16.5px; columns: 2; column-gap: 46px; }
.erth-tb__main .erth-prose p { break-inside: avoid; margin-bottom: 1.1em; }
.erth-tb__main .erth-roundlink { margin-top: 40px; }
.erth-tb--centered { text-align: center; }
.erth-tb--centered .erth-tb__top, .erth-tb--centered .erth-tb__cols { margin-inline: auto; max-width: 800px; }
.erth-tb--centered .erth-prose { columns: 1; color: var(--c-muted); font-size: 15px; }
@media (max-width: 900px) { .erth-tb--split .erth-tb__cols { grid-template-columns: 1fr; } .erth-tb__aside { position: static; } .erth-tb__main .erth-prose { columns: 1; } }

/* Columns --------------------------------------------------------------------------- */
.erth-cols__head { margin-bottom: clamp(40px, 5vw, 70px); }
.erth-cols__title { font-size: clamp(44px, 6vw, 104px); margin: 0; }
.erth-cols__grid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: 14px; }
.erth-cols__card { position: relative; padding: clamp(30px, 4vw, 56px); border-radius: var(--r); background: var(--c-alt); overflow: hidden; transition: transform .7s var(--ease); }
.erth-cols__card:hover { transform: translateY(-6px); }
.erth-cols__n { position: absolute; right: 24px; top: 6px; font-family: var(--f-display); font-style: italic; font-size: 120px; line-height: 1; color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--c-heading) 20%, transparent); }
.erth-cols__text { position: relative; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.15; margin: 0; }
@media (max-width: 900px) { .erth-cols__grid { grid-template-columns: 1fr; } }

/* Portfolio index ------------------------------------------------------------------- */
.erth-work-index { overflow: hidden; }
.erth-wk__head { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.erth-wk__head .erth-eyebrow { grid-column: 1 / -1; justify-self: start; margin: 0; }
.erth-wk__title { font-size: clamp(50px, 7vw, 124px); margin: 0; }
.erth-wk__intro { margin: 0; max-width: 46ch; justify-self: end; }
.erth-wk__list { list-style: none; margin: 0; padding: 0; }
.erth-wk__row { position: relative; display: grid; grid-template-columns: 70px 1fr 340px; gap: 24px; align-items: center; padding: clamp(14px, 2vw, 26px) 0; border-top: 1px solid var(--c-line); text-decoration: none; color: var(--c-heading); }
.erth-wk__list li:last-child .erth-wk__row { border-bottom: 1px solid var(--c-line); }
.erth-wk__num { font: 600 12px var(--f-ui); letter-spacing: .2em; color: var(--c-orange); }
.erth-wk__name { font-size: clamp(48px, 8vw, 150px); line-height: .9; letter-spacing: -.035em; transition: transform .7s var(--ease), color .5s, opacity .5s; }
.erth-wk__list:hover .erth-wk__name { opacity: .25; }
.erth-wk__row:hover .erth-wk__name { opacity: 1; transform: translateX(30px); font-style: italic; color: var(--c-sand); }
html[data-theme="light"] .erth-wk__row:hover .erth-wk__name { color: var(--c-orange); }
.erth-wk__meta { display: grid; gap: 8px; font-size: 14px; }
.erth-wk__meta b { font: 600 11px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.erth-wk__ticket { margin-top: clamp(40px, 5vw, 70px); position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: clamp(28px, 3.4vw, 50px); border-radius: var(--r); background: linear-gradient(120deg, #123C44, #0B1C20 70%); color: #F4ECE6; --c-heading: #F4ECE6; --c-text: rgba(244,236,230,.78); text-decoration: none; overflow: hidden; isolation: isolate; }
.erth-wk__ticket-strip.is-bottom { inset: auto 0 0; animation-direction: reverse; }
.erth-wk__ticket-strip { position: absolute; inset: 0 0 auto; height: 12px; background: linear-gradient(90deg, rgba(244,236,230,.35) 0 12px, transparent 12px 30px) 0 50% / 30px 6px repeat-x; animation: erthHoles 4s linear infinite; }
@keyframes erthHoles { to { background-position: 30px 50%; } }
.erth-wk__ticket-play { width: clamp(80px, 8vw, 120px); aspect-ratio: 1; border-radius: 50%; background: var(--c-orange); position: relative; transition: transform .6s var(--ease); }
.erth-wk__ticket-play::after { content: ""; position: absolute; left: 41%; top: 32%; border-left: 24px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.erth-wk__ticket:hover .erth-wk__ticket-play { transform: scale(1.1) rotate(-8deg); }
.erth-wk__ticket-title { display: block; font-size: clamp(34px, 3.8vw, 64px); margin-bottom: 6px; }
.erth-wk__ticket-go { width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(244,236,230,.3); display: grid; place-items: center; }
.erth-wk__ticket-go .erth-arrow { width: 22px; }
@media (max-width: 900px) {
	.erth-wk__head { grid-template-columns: 1fr; }
	.erth-wk__intro { justify-self: start; }
	.erth-wk__row { grid-template-columns: 1fr; gap: 8px; }
	.erth-wk__ticket { grid-template-columns: 1fr; }
	.erth-wi__preview { display: none; }
}

/* Follow-preview card (portfolio index and project list) */
.erth-wi__preview { position: absolute; left: 0; top: 0; width: 360px; aspect-ratio: 4 / 3; pointer-events: none; z-index: 5; opacity: 0; transition: opacity .35s ease; }
.is-following > .erth-wi__preview, .erth-projects--list.is-following .erth-wi__preview { opacity: 1; }
.erth-wi__pane { position: absolute; inset: 0; border-radius: 16px; overflow: hidden; opacity: 0; transform: scale(.85) rotate(-4deg); transition: opacity .35s, transform .6s var(--ease); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.erth-wi__pane .erth-vis { height: 100%; aspect-ratio: auto; }
.erth-wi__preview[data-show="0"] [data-key="0"], .erth-wi__preview[data-show="1"] [data-key="1"], .erth-wi__preview[data-show="2"] [data-key="2"], .erth-wi__preview[data-show="3"] [data-key="3"], .erth-wi__preview[data-show="4"] [data-key="4"], .erth-wi__preview[data-show="5"] [data-key="5"], .erth-wi__preview[data-show="6"] [data-key="6"], .erth-wi__preview[data-show="7"] [data-key="7"] { opacity: 1; transform: none; }

/* Projects ---------------------------------------------------------------------------- */
.erth-pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(30px, 4vw, 60px) 18px; }
.erth-pcard { display: grid; gap: 10px; text-decoration: none; color: var(--c-heading); }
.erth-pcard:nth-child(even) { margin-top: 120px; }
.erth-pcard__media { display: block; position: relative; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--c-alt); }
body .erth-pcard__media > img, .erth-pcard__media .erth-vis { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.erth-pcard:hover .erth-pcard__media > img, .erth-pcard:hover .erth-pcard__media .erth-vis { transform: scale(1.06); }
.erth-pcard__meta { font: 600 11px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--c-orange); margin-top: 8px; }
.erth-pcard__title { font-size: clamp(30px, 3vw, 48px); }
.erth-pcard__sub { font-size: 15px; }
.erth-pcard__credit { font-size: 13px; color: var(--c-muted); }
.erth-projects--list { overflow: hidden; }
.erth-plist { list-style: none; margin: 0; padding: 0; }
.erth-plist__row { display: grid; grid-template-columns: 110px 1fr 1fr 40px; gap: 24px; align-items: center; padding: 26px 0; border-top: 1px solid var(--c-line); text-decoration: none; color: var(--c-heading); }
.erth-plist__year { font: 600 12px var(--f-ui); letter-spacing: .18em; color: var(--c-orange); }
.erth-plist__title { font-size: clamp(30px, 3.6vw, 60px); transition: transform .6s var(--ease); }
.erth-plist__row:hover .erth-plist__title { transform: translateX(16px); font-style: italic; }
.erth-plist__sub { font-size: 14.5px; }
@media (max-width: 860px) { .erth-pgrid { grid-template-columns: 1fr; } .erth-pcard:nth-child(even) { margin-top: 0; } .erth-plist__row { grid-template-columns: 1fr 30px; } .erth-plist__year, .erth-plist__sub { grid-column: 1; } }

.erth-empty { display: grid; justify-items: center; text-align: center; gap: 24px; padding: clamp(60px, 8vw, 120px) 20px; border-radius: var(--r); border: 1px dashed color-mix(in srgb, var(--c-heading) 25%, transparent); }
.erth-empty__dia i { width: 14px; height: 14px; }
.erth-empty__text { font-size: clamp(28px, 3vw, 46px); max-width: 22ch; margin: 0; }
.erth-empty__screen { width: min(440px, 80%); aspect-ratio: 16 / 9; border-radius: 16px; background: #050F11; display: grid; place-items: center; position: relative; overflow: hidden; }

/* Players ----------------------------------------------------------------------------- */
.erth-player { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; background: #050F11; cursor: pointer; color: #F4ECE6; }
body .erth-player img, .erth-player .erth-vis { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.erth-player:hover img { transform: scale(1.05); filter: brightness(.75); }
.erth-player__play { position: absolute; left: 50%; top: 50%; width: clamp(66px, 7vw, 100px); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--c-orange); transition: transform .6s var(--ease); }
.erth-player__play::after { content: ""; position: absolute; left: 41%; top: 31%; border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.erth-player:hover .erth-player__play { transform: translate(-50%, -50%) scale(1.15); }
.erth-player__label { position: absolute; left: 24px; bottom: 20px; font: 600 11px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; }

/* Film library -------------------------------------------------------------------------- */
.erth-fl__head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.erth-fl__title { font-size: clamp(50px, 7vw, 124px); margin: 0; }
.erth-fl__note { font-size: 13.5px; color: var(--c-muted); margin-top: 14px; }
.erth-fl__feature { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(26px, 4vw, 60px); align-items: end; margin-bottom: clamp(40px, 6vw, 90px); }
.erth-fl__feature-title { font-size: clamp(36px, 3.8vw, 64px); margin: 0 0 12px; }
.erth-fl__feature-copy { display: grid; gap: 12px; justify-items: start; }
.erth-fl__facts { font: 600 11px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--c-orange); margin: 14px 0 0; }
.erth-fl__credit { font-size: 13px; color: var(--c-muted); margin: 0; }
.erth-fl__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 18px; }
.erth-fl__card { display: grid; gap: 4px; align-content: start; }
.erth-fl__name { font-size: clamp(24px, 2vw, 32px); margin: 6px 0 4px; }
.erth-fl__name a { text-decoration: none; }
.erth-fl__reel-wrap { position: relative; }
.erth-fl__reel { display: grid; grid-auto-flow: column; grid-auto-columns: min(520px, 80vw); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
.erth-fl__reel::-webkit-scrollbar { display: none; }
.erth-fl__reel.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.erth-fl__reel > * { scroll-snap-align: start; }
.erth-fl__arrows { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.erth-fl__arrows button { width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--c-line); background: none; color: var(--c-heading); cursor: pointer; font-size: 18px; transition: background-color .3s, color .3s; }
.erth-fl__arrows button:hover { background: var(--c-orange); border-color: var(--c-orange); color: #fff; }
.erth-fl__more { margin-top: clamp(40px, 5vw, 70px); text-align: center; }
@media (max-width: 900px) { .erth-fl__head, .erth-fl__feature { grid-template-columns: 1fr; } .erth-fl__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .erth-fl__grid { grid-template-columns: 1fr; } }

/* Modal ---------------------------------------------------------------------------- */
.erth-modal { position: fixed; inset: 0; z-index: 9995; display: grid; place-items: center; visibility: hidden; pointer-events: none; }
.erth-modal.is-open { visibility: visible; pointer-events: auto; }
.erth-modal__backdrop { position: absolute; inset: 0; background: rgba(2,8,9,.95); backdrop-filter: blur(10px); clip-path: circle(0% at 50% 50%); transition: clip-path .8s var(--ease-io); }
.erth-modal.is-open .erth-modal__backdrop { clip-path: circle(150% at 50% 50%); }
.erth-modal__stage { position: relative; width: min(1320px, 92vw); max-height: 82vh; display: grid; place-items: center; opacity: 0; transform: translateY(40px) scale(.96); transition: opacity .6s var(--ease) .25s, transform .9s var(--ease) .25s; }
.erth-modal.is-open .erth-modal__stage { opacity: 1; transform: none; }
.erth-modal__video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; }
.erth-modal__video iframe { width: 100%; height: 100%; border: 0; display: block; }
body .erth-modal__stage img { max-height: 82vh; width: auto; border-radius: 12px; }
.erth-modal__caption { position: relative; color: #F4ECE6; font: 500 14px var(--f-ui); margin-top: 18px; opacity: 0; transition: opacity .5s .4s; }
.erth-modal.is-open .erth-modal__caption { opacity: .75; }
.erth-modal__close { position: absolute; top: 22px; right: 22px; width: 56px; height: 56px; border-radius: 50%; border: 0; background: #F4ECE6; cursor: pointer; transition: transform .5s var(--ease); }
.erth-modal__close:hover { transform: rotate(90deg); }
.erth-modal__close span { position: absolute; left: 18px; right: 18px; top: 27px; height: 1.5px; background: #050F11; transform: rotate(45deg); }
.erth-modal__close span + span { transform: rotate(-45deg); }
.erth-modal__nav { display: none; position: absolute; top: 50%; width: 56px; height: 56px; margin-top: -28px; border-radius: 50%; border: 1px solid rgba(244,236,230,.35); background: none; color: #F4ECE6; font-size: 20px; cursor: pointer; }
.erth-modal.has-nav .erth-modal__nav { display: block; }
.erth-modal__nav.is-prev { left: 22px; } .erth-modal__nav.is-next { right: 22px; }
.erth-modal-open { overflow: hidden; }

/* Closing call to action ------------------------------------------------------------------ */
.erth-cta { text-align: center; overflow: hidden; }
.erth-end { display: grid; justify-items: center; }
.erth-end__title { font-size: clamp(58px, 10vw, 190px); line-height: .88; letter-spacing: -.04em; margin: 0 0 30px; max-width: 12ch; }
.erth-end__text { max-width: 60ch; margin: 0 0 50px; }
.erth-end__badge { position: relative; width: 200px; height: 200px; display: grid; place-items: center; text-decoration: none; color: var(--c-heading); }
.erth-end__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: erthSpinB 16s linear infinite; }
.erth-end__ring text { font: 700 13px var(--f-ui); letter-spacing: .3em; text-transform: uppercase; fill: currentColor; }
@keyframes erthSpinB { to { transform: rotate(360deg); } }
.erth-end__core { width: 108px; height: 108px; border-radius: 50%; background: var(--c-orange); color: #fff; display: grid; place-items: center; transition: transform .6s var(--ease); }
.erth-end__core .erth-arrow { width: 30px; transform: rotate(-45deg); transition: transform .6s var(--ease); }
.erth-end__badge:hover .erth-end__core { transform: scale(1.12); }
.erth-end__badge:hover .erth-end__core .erth-arrow { transform: rotate(0deg); }
.erth-end__statement { margin-top: 50px; font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2vw, 30px); color: var(--c-heading); }

/* Contact ------------------------------------------------------------------------------- */
.erth-contact { padding-top: calc(var(--header-h) + clamp(70px, 9vw, 140px)); }
.erth-contact__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.erth-contact__title { font-size: clamp(54px, 7vw, 124px); line-height: .9; margin: 0 0 26px; }
.erth-contact__details { margin: 46px 0 0; display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.erth-contact__details > div { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--c-line); align-items: baseline; }
.erth-contact__details dt { font: 600 11px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--c-orange); }
.erth-contact__details dd { margin: 0; font-family: var(--f-display); font-size: 24px; color: var(--c-heading); }
.erth-contact__details a { text-decoration: none; }
.erth-contact__form-wrap { padding: clamp(28px, 4vw, 56px); border-radius: var(--r); background: var(--c-alt); }
.erth-form { display: grid; gap: 28px; }
.erth-field { position: relative; margin: 0; border: 0; padding: 0; }
.erth-field input, .erth-field textarea { width: 100%; font: 400 17px var(--f-body); color: var(--c-heading); background: transparent; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--c-heading) 30%, transparent); border-radius: 0; padding: 26px 0 10px; outline: none; transition: border-color .3s; }
.erth-field textarea { resize: vertical; min-height: 140px; }
.erth-field label { position: absolute; left: 0; top: 24px; font: 400 16px var(--f-body); color: var(--c-muted); pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
.erth-field input:focus, .erth-field textarea:focus { border-bottom-color: var(--c-orange); }
.erth-field input:focus + label, .erth-field input:not(:placeholder-shown) + label, .erth-field textarea:focus + label, .erth-field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.74); color: var(--c-orange); }
.erth-field--chips legend { font: 600 11px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--c-heading); margin-bottom: 14px; }
.erth-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.erth-field--chips .erth-chip { position: relative; top: auto; left: auto; transform: none; pointer-events: auto; font: inherit; color: inherit; }
.erth-chip input { position: absolute; opacity: 0; pointer-events: none; }
.erth-chip span { display: inline-block; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--c-line); font: 600 12.5px var(--f-ui); color: var(--c-heading); cursor: pointer; transition: .3s; }
.erth-chip input:checked + span { background: var(--c-orange); border-color: var(--c-orange); color: #fff; }
.erth-chip input:focus-visible + span { outline: 2px solid var(--c-turq); outline-offset: 2px; }
.erth-form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.erth-form__privacy { font-size: 13px; color: var(--c-muted); margin: 0; max-width: 34ch; }
.erth-form__error { background: #FBEAE7; color: #8f2214; padding: 14px 18px; border-radius: 12px; margin: 0; }
.erth-contact__done { display: grid; gap: 20px; justify-items: start; padding: 30px 0; }
.erth-contact__done .erth-title { font-size: clamp(30px, 3vw, 44px); margin: 0; }
.erth-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .erth-contact__grid { grid-template-columns: 1fr; } }

/* Footer --------------------------------------------------------------------------------- */
.erth-footer { padding: clamp(80px, 10vw, 150px) 0 0; overflow: hidden; border-top: 1px solid var(--c-line); }
.erth-foot__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; padding-bottom: 50px; }
.erth-foot__brand { display: grid; gap: 22px; align-content: start; justify-items: start; }
.erth-foot__statement { font-size: clamp(36px, 3.6vw, 60px); line-height: 1; margin: 0; max-width: 11ch; }
.erth-foot__brand .erth-text { font-size: 15px; max-width: 34ch; margin: 0; }
.erth-foot__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.erth-footer .erth-eyebrow { margin-bottom: 18px; }
.erth-foot__links, .erth-foot__social { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.erth-foot__links a, .erth-foot__social a { text-decoration: none; color: var(--c-heading); transition: color .3s; }
.erth-foot__links a:hover, .erth-foot__social a:hover { color: var(--c-orange); }
.erth-foot__social { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 16px; font: 600 11px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; }
.erth-foot__disc { font: 600 11px var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--c-muted); border-top: 1px solid var(--c-line); padding-top: 26px; margin: 0; }
.erth-foot__giant { --p: 0; display: flex; justify-content: center; gap: .04em; margin-top: 20px; font-family: var(--f-display); font-size: 21.5vw; line-height: .78; letter-spacing: -.05em; color: var(--c-heading); white-space: nowrap; transform: translateY(calc((1 - var(--p)) * 18%)); user-select: none; }
.erth-foot__giant .is-italic { font-style: italic; color: var(--c-orange); }
.erth-foot__bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 30px; margin-top: clamp(28px, 4vw, 56px); padding-block: 26px 32px; font: 500 12.5px var(--f-ui); color: var(--c-muted); }
.erth-foot__bottom p { margin: 0; }
.erth-foot__legal { display: flex; gap: 20px; }
.erth-foot__legal a { color: var(--c-heading); text-decoration: none; }
@media (max-width: 960px) { .erth-foot__top { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .erth-foot__cols { grid-template-columns: 1fr 1fr; } }

/* Project page ------------------------------------------------------------------------------ */
.erth-project__head { padding-top: calc(var(--header-h) + clamp(60px, 8vw, 130px)); padding-bottom: clamp(40px, 5vw, 70px); }
.erth-project__back { display: inline-flex; gap: 10px; margin-bottom: 40px; padding: 10px 16px; border-radius: 100px; border: 1px solid var(--c-line); font: 600 11px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--c-heading); }
.erth-project__back:hover { background: var(--c-heading); color: var(--c-bg); }
.erth-project__title { font-size: clamp(54px, 8vw, 140px); line-height: .9; letter-spacing: -.035em; margin: 0 0 24px; max-width: 16ch; }
.erth-project__sub { font-size: clamp(18px, 1.5vw, 22px); max-width: 60ch; }
.erth-project__facts { display: flex; flex-wrap: wrap; gap: 14px; margin: 40px 0 0; }
.erth-project__facts > div { padding: 14px 20px; border-radius: 16px; background: var(--c-alt); }
.erth-project__facts dt { font: 600 10.5px var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--c-orange); }
.erth-project__facts dd { margin: 4px 0 0; font-family: var(--f-display); font-size: 24px; color: var(--c-heading); }
.erth-project__credit { display: flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--c-muted); font-size: 14.5px; }
.erth-project__media { max-width: calc(1600px + var(--gut) * 2); margin: 0 auto; padding-inline: var(--gut); }
body .erth-project__media > img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--r); }
.erth-project__content--built { padding-block: 40px; }
.erth-project__outcome-text { font-size: clamp(30px, 3.2vw, 52px); line-height: 1.1; }
.erth-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.erth-gallery-grid__item { display: block; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 16px; }
.erth-gallery-grid__item:nth-child(4n+1) { grid-column: span 2; aspect-ratio: auto; }
body .erth-gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.erth-gallery-grid__item:hover img { transform: scale(1.06); }
.erth-project__nav .erth-wrap { display: grid; gap: 40px; justify-items: center; border-top: 1px solid var(--c-line); padding-top: 60px; }
.erth-project__pn { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.erth-project__pn-link { display: grid; gap: 10px; justify-items: start; text-decoration: none; }
.erth-project__pn-link.is-next { justify-items: end; text-align: right; grid-column: 2; }
.erth-project__pn-link .erth-eyebrow { margin: 0; }
.erth-project__pn-link .erth-title { font-size: clamp(28px, 3.2vw, 52px); transition: color .3s; }
.erth-project__pn-link:hover .erth-title { color: var(--c-orange); font-style: italic; }
@media (max-width: 700px) { .erth-gallery-grid { grid-template-columns: 1fr 1fr; } .erth-project__pn { grid-template-columns: 1fr; } .erth-project__pn-link.is-next { grid-column: 1; } }

/* Listing / 404 / classic ---------------------------------------------------------------- */
.erth-list__items { list-style: none; margin: 0; padding: 0; }
.erth-list__item a { display: grid; grid-template-columns: 160px 1fr 30px; gap: 20px; align-items: center; padding: 24px 0; border-top: 1px solid var(--c-line); text-decoration: none; }
.erth-list__date { font: 600 11px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--c-orange); }
.erth-list__title { font-size: clamp(26px, 2.8vw, 44px); }
.erth-404 { min-height: 92vh; display: grid; align-items: center; text-align: center; padding-top: calc(var(--header-h) + 60px); }
.erth-404 .erth-wrap { display: grid; justify-items: center; gap: 20px; }
.erth-404__code { font-family: var(--f-display); font-style: italic; font-size: clamp(160px, 26vw, 420px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--c-orange); margin: 0; }
.erth-404 .erth-title { font-size: clamp(36px, 4.4vw, 70px); margin: 0; }
.erth-404__dia i { width: 14px; height: 14px; }
.erth-classic .erth-prose { font-size: 17.5px; }
.erth-fallback-header, .erth-fallback-footer { padding: 24px var(--gut); display: flex; justify-content: space-between; }

/* Elementor integration ----------------------------------------------------------------- */
.e-con:has(> [class*="elementor-widget-erth-"]) { --padding-top: 0; --padding-bottom: 0; --padding-left: 0; --padding-right: 0; --gap: 0; }
.elementor-editor-active [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; filter: none !important; }
.elementor-editor-active .erth-header { position: relative; top: 0; }
.elementor-editor-active .erth-part--header { height: auto; }
.elementor-editor-active .erth-hero { height: 140vh; }
.erth-theme-anim, .erth-theme-anim * { transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease) !important; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Footer: social icons, newsletter and credit ------------------------------------------- */
.erth-foot__connect { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px 60px; align-items: end; padding: 0 0 46px; }
.erth-foot__connect > :only-child { grid-column: 1 / -1; }
.erth-foot__follow .erth-eyebrow { margin-bottom: 18px; }
.erth-foot__icons { display: flex; flex-wrap: wrap; gap: 12px; }
.erth-social { --brand: var(--c-heading); position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--brand) 45%, transparent); background: color-mix(in srgb, var(--brand) 10%, transparent); color: var(--c-heading); text-decoration: none; transition: transform .5s var(--ease), background .35s, border-color .35s, box-shadow .5s var(--ease); }
.erth-social svg { width: 21px; height: 21px; fill: var(--brand); transition: fill .3s, transform .5s var(--ease); }
.erth-social:hover, .erth-social:focus-visible { transform: translateY(-5px); background: var(--brand); border-color: var(--brand); box-shadow: 0 14px 30px -12px var(--brand); }
.erth-social:hover svg, .erth-social:focus-visible svg { fill: #fff; transform: scale(1.12) rotate(-8deg); }
.erth-social--instagram:hover, .erth-social--instagram:focus-visible { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: #d6249f; box-shadow: 0 14px 30px -12px #d6249f; }
.erth-social--x:hover svg, .erth-social--threads:hover svg, .erth-social--tiktok:hover svg { fill: var(--c-bg); }
.erth-social--tiktok svg { filter: drop-shadow(1.5px 1px 0 #FE2C55) drop-shadow(-1.5px -1px 0 #25F4EE); }
.erth-social--snapchat:hover svg { fill: #000; }
.erth-social.is-empty { opacity: .35; }
.erth-foot__icons + .erth-ph { margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .erth-social, .erth-social svg { transition: none; } .erth-social:hover { transform: none; } }

.erth-nl { display: grid; gap: 10px; }
.erth-nl__title { font-size: clamp(28px, 2.6vw, 40px); line-height: 1; margin: 0; }
.erth-nl__text { margin: 0 0 8px; font-size: 15px; max-width: 46ch; }
.erth-nl__form { display: flex; gap: 8px; padding: 6px; border-radius: 100px; border: 1px solid color-mix(in srgb, var(--c-heading) 20%, transparent); background: color-mix(in srgb, var(--c-heading) 4%, transparent); transition: border-color .3s; }
.erth-nl__form:focus-within { border-color: var(--c-orange); }
.erth-nl__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 16px; font: 400 16px var(--f-body); color: var(--c-heading); outline: none; }
.erth-nl__input::placeholder { color: var(--c-muted); }
.erth-nl__btn { display: inline-flex; align-items: center; gap: 10px; border: 0; border-radius: 100px; padding: 12px 22px; background: var(--c-orange); color: #fff; font: 700 11.5px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: transform .4s var(--ease), background .3s; }
.erth-nl__btn .erth-arrow { width: 16px; transition: transform .4s var(--ease); }
.erth-nl__btn:hover { background: var(--c-turq); color: #071A1E; }
.erth-nl__btn:hover .erth-arrow { transform: translateX(4px); }
.erth-nl__small { margin: 4px 0 0 18px; font-size: 12.5px; color: var(--c-muted); }
.erth-nl__error { margin: 4px 0 0 18px; font-size: 13px; color: #F3764B; }
.erth-nl__done { display: flex; align-items: center; gap: 12px; margin: 6px 0 0; font: 600 14px var(--f-ui); color: var(--c-heading); }
.erth-newsletter .erth-nl { justify-items: center; text-align: center; }
.erth-newsletter .erth-nl__form { width: min(560px, 100%); }

.erth-foot__credit { margin: 0; }
.erth-foot__credit a { color: var(--c-heading); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .4s var(--ease); }
.erth-foot__credit a:hover, .erth-foot__credit a:focus-visible { color: var(--c-orange); background-size: 100% 1px; }
@media (max-width: 960px) { .erth-foot__connect { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .erth-nl__form { flex-wrap: wrap; border-radius: 22px; } .erth-nl__btn { width: 100%; justify-content: center; } }

/* Timeline frame without a photo: a branded panel ------------------------------------------ */
.erth-strip__img--panel { position: relative; display: grid; align-content: end; gap: 6px; padding: clamp(18px, 2.4vw, 34px); background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--year-c, #33BDB0) 30%, transparent), transparent 60%), linear-gradient(150deg, #123C44, #071A1E 75%); overflow: hidden; }
.erth-strip__img--panel::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(244,236,230,.05) 0 1px, transparent 1px 64px), repeating-linear-gradient(0deg, rgba(244,236,230,.05) 0 1px, transparent 1px 64px); }
.erth-strip__frame:nth-child(1) { --year-c: #E6CAB8; }
.erth-strip__frame:nth-child(2) { --year-c: #4FA3AE; }
.erth-strip__frame:nth-child(3) { --year-c: #33BDB0; }
.erth-strip__frame:nth-child(4) { --year-c: #F3764B; }
.erth-strip__panel-dia { position: absolute; top: clamp(18px, 2.4vw, 34px); left: clamp(18px, 2.4vw, 34px); }
.erth-strip__panel-dia i { width: 10px; height: 10px; }
.erth-strip__panel-loc { position: relative; font: 600 11px var(--f-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--year-c, #F3764B); }
.erth-strip__panel-year { position: relative; font-family: var(--f-display); font-style: italic; font-size: clamp(56px, min(7vw, 12vh), 130px); line-height: .85; color: #F4ECE6; opacity: .92; }
.erth-strip__img--panel .erth-ph { position: relative; justify-self: start; margin-top: 8px; }
@media (min-width: 900px) and (max-height: 860px) {
	.erth-timeline.is-pinned .erth-strip__frame { grid-template-columns: 1fr 1.1fr; }
	.erth-strip__year { font-size: clamp(48px, 10vh, 110px); }
	.erth-strip__loc { margin-top: 10px; }
	.erth-strip__name { font-size: clamp(24px, 4vh, 36px); margin-bottom: 8px; }
	.erth-strip__copy .erth-text { font-size: 13.5px; line-height: 1.55; }
	.erth-strip__panel-year { font-size: clamp(44px, 10vh, 100px); }
}

.erth-cursor.is-hidden { opacity: 0; }
.erth-has-cursor .erth-social { cursor: pointer; }
.erth-foot__bottom::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: var(--c-line); }

/* Film Library: tighter spacing below; the library button sits inside the empty-state box */
.erth-film-library { padding-bottom: clamp(56px, 6vw, 96px); }
.erth-film-library + .erth-cta, .e-con:has(.erth-film-library) + .e-con .erth-cta { padding-top: clamp(70px, 8vw, 120px); }
.erth-empty .erth-btn { margin-top: 4px; }
.erth-empty--screen { padding-block: clamp(44px, 5vw, 80px); }
.erth-fl__more { margin-top: clamp(30px, 3.5vw, 50px); }

/* Sticky header switched off: the header sits at the top of the page and scrolls away with it */
.erth-nosticky .erth-header { position: absolute; top: 18px; }
.erth-nosticky.admin-bar .erth-header { top: 18px; }
.erth-nosticky .erth-header.is-hidden { transform: none; }
.erth-nosticky .erth-header.is-scrolled .erth-pill { max-width: 1360px; }
@media (max-width: 700px) { .erth-nosticky .erth-header { top: 10px; } }

/* Footer right column: link columns, then newsletter, then social icons */
.erth-foot__side { display: grid; gap: clamp(36px, 4vw, 54px); align-content: start; min-width: 0; }
.erth-foot__side .erth-foot__connect { display: grid; grid-template-columns: 1fr; gap: 28px; padding: 0; max-width: 640px; }
.erth-foot__side .erth-foot__connect > :only-child { grid-column: auto; }
.erth-foot__side .erth-foot__follow .erth-eyebrow { margin-bottom: 14px; }
.erth-foot__top { padding-bottom: 56px; }

/* Plain pages (legal pages and any page not built with Elementor) */
.erth-classic { padding-top: 10px; }
.erth-classic .erth-prose h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 1.8em 0 .5em; }
.erth-classic .erth-prose h3 { font-size: 22px; margin: 1.4em 0 .4em; }
.erth-classic .erth-prose ul, .erth-classic .erth-prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.erth-classic .erth-prose a { color: var(--c-orange); }
.erth-classic .erth-prose strong { color: var(--c-heading); }
.erth-classic .erth-prose p + p { margin-top: 1.1em; }

/* Film cards: play badge and right-to-left titles */
.erth-pcard__media { position: relative; }
.erth-pcard__play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--c-orange); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); transition: transform .5s var(--ease); }
.erth-pcard__play::after { content: ""; position: absolute; left: 40%; top: 32%; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.erth-pcard:hover .erth-pcard__play { transform: scale(1.12); }
.erth-pcard__title[dir="auto"]:lang(ar), .erth-pcard__title:dir(rtl) { font-family: var(--f-ar); font-weight: 600; font-size: clamp(20px, 1.6vw, 26px); line-height: 1.5; text-align: right; }
.erth-plist__title:dir(rtl) { font-family: var(--f-ar); font-weight: 600; font-size: clamp(22px, 2vw, 32px); line-height: 1.5; }
/* Film portfolio: a screening wall of 16:9 covers, three across */
.erth-projects:has(.erth-pcard__play) .erth-pgrid { grid-template-columns: repeat(3, 1fr); gap: 44px 22px; align-items: start; }
.erth-projects:has(.erth-pcard__play) .erth-pcard:nth-child(even) { margin-top: 0; }
.erth-projects:has(.erth-pcard__play) .erth-pcard__media { aspect-ratio: 16 / 9; border-radius: 14px; background: #050F11; }
.erth-pcard:has(.erth-pcard__title:dir(rtl)) { text-align: right; }
.erth-pcard:has(.erth-pcard__title:dir(rtl)) .erth-pcard__meta { direction: ltr; text-align: right; }
@media (max-width: 1100px) { .erth-projects:has(.erth-pcard__play) .erth-pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .erth-projects:has(.erth-pcard__play) .erth-pgrid { grid-template-columns: 1fr; } }

/* Footer balance: the newsletter spans the first two link columns, the icons sit in the Contact
   column on the same line as the email field. */
.erth-foot__top { grid-template-columns: 1fr 1.6fr; align-items: start; }
.erth-foot__side { gap: 48px; }
.erth-foot__side .erth-foot__connect { grid-template-columns: repeat(3, 1fr); column-gap: 30px; row-gap: 24px; align-items: end; max-width: none; padding-top: 40px; border-top: 1px solid var(--c-line); }
.erth-foot__side .erth-foot__nl { grid-column: 1 / span 2; }
.erth-foot__side .erth-foot__follow { grid-column: 3; padding-bottom: 6px; }
.erth-foot__side .erth-foot__connect > :only-child { grid-column: 1 / -1; }
.erth-foot__side .erth-nl__title { font-size: clamp(26px, 2.2vw, 36px); }
.erth-foot__side .erth-nl__text { margin-bottom: 6px; }
.erth-foot__icons { gap: 10px; }
.erth-foot__icons .erth-social { width: 46px; height: 46px; }
.erth-foot__icons .erth-social svg { width: 19px; height: 19px; }
@media (max-width: 1100px) {
	.erth-foot__side .erth-foot__connect { grid-template-columns: 1fr; }
	.erth-foot__side .erth-foot__nl, .erth-foot__side .erth-foot__follow { grid-column: 1; }
}

/* Social icons: clearer at rest, brighter on hover */
.erth-social { border-color: color-mix(in srgb, var(--brand) 60%, transparent); background: color-mix(in srgb, var(--brand) 16%, transparent); }
.erth-social:hover, .erth-social:focus-visible { filter: brightness(1.22) saturate(1.15); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent), 0 16px 34px -10px var(--brand); }
.erth-social.is-empty { opacity: .55; }
.erth-social.is-empty:hover, .erth-social.is-empty:focus-visible { opacity: 1; }

/* Hero: a wider ERTH, with the headline and buttons kept clear below it */
.erth-cine__word { font-size: clamp(120px, min(30vw, calc((100vh - 390px) / .84)), 560px); transform: scaleX(1.14); transform-origin: 50% 50%; }
.erth-cine__ar { text-align: center; }
.erth-cine__intro { flex-wrap: nowrap; align-items: flex-end; }
.erth-cine__rotator { min-width: 0; width: clamp(340px, 46vw, 820px); font-size: clamp(30px, 3.6vw, 66px); }
.erth-cine__btns { flex-wrap: nowrap; flex: none; }
@media (max-width: 1100px) { .erth-cine__intro { flex-wrap: wrap; } .erth-cine__btns { flex-wrap: wrap; } }
@media (max-width: 760px) { .erth-cine__word { font-size: 31vw; transform: scaleX(1.08); } .erth-cine__rotator { width: 100%; font-size: 30px; } }
.erth-cine__scroll { top: 50%; bottom: auto; transform: translateY(-50%); }
.erth-foot__side .erth-foot__connect { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(28px, 3vw, 48px); }
.erth-foot__side .erth-foot__nl { grid-column: 1; }
.erth-foot__side .erth-foot__follow { grid-column: 2; padding-bottom: 6px; }
.erth-foot__icons { flex-wrap: nowrap; }
@media (max-width: 1100px) { .erth-foot__side .erth-foot__connect { grid-template-columns: 1fr; } .erth-foot__side .erth-foot__follow { grid-column: 1; } .erth-foot__icons { flex-wrap: wrap; } }

/* Project gallery: a large photo with two stacked beside it, repeated, no gaps */
.erth-gallery-grid { grid-auto-flow: dense; }
.erth-gallery-grid__item:nth-child(4n+1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 700px) { .erth-gallery-grid__item:nth-child(4n+1) { grid-row: auto; aspect-ratio: 4 / 3; } }
.erth-pgrid { align-items: start; }

/* Hero buttons: position options and staying on screen once the picture opens */
.erth-cine--btn-below .erth-cine__intro { flex-direction: column; align-items: flex-start; justify-content: flex-end; flex-wrap: nowrap; gap: 22px; }
.erth-cine--btn-center .erth-cine__intro { flex-direction: column; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 22px; text-align: center; }
.erth-cine--btn-center .erth-cine__rotator > span { left: 0; right: 0; text-align: center; }
.erth-cine--btn-below .erth-cine__word, .erth-cine--btn-center .erth-cine__word { font-size: clamp(120px, min(30vw, calc((100vh - 470px) / .84)), 560px); }
.erth-cine__final-side { display: grid; gap: 26px; justify-items: start; }
.erth-cine__btns--final { opacity: clamp(0, calc((var(--p) - .85) * 8), 1); visibility: hidden; pointer-events: none; }
.erth-hero.is-open .erth-cine__btns--final { visibility: visible; pointer-events: auto; }
.erth-hero.is-open .erth-cine__intro { pointer-events: none; }
.erth-cine__btns--final .erth-btn--ghost { --fg: #F4ECE6; color: #F4ECE6; border-color: rgba(244,236,230,.45); }
@media (max-width: 760px) { .erth-cine--btn-below .erth-cine__word, .erth-cine--btn-center .erth-cine__word { font-size: 31vw; } }
.erth-cine__btns .erth-btn { white-space: nowrap; }
.erth-cine__btns--final { flex-wrap: wrap; }

/* ERTH wordmark: size, letter spacing and spacing below the small line come from the Hero widget.
   These rules come last so they win over earlier ones. */
.erth-hero { --erth-size: 1; --erth-track: -.04em; --erth-gap: 40px; }
.erth-hero .erth-cine__type { top: calc(var(--header-h) + 56px + var(--erth-gap)); bottom: auto; }
.erth-hero .erth-cine__word { font-size: calc(clamp(130px, min(30vw, calc((100vh - 400px - var(--erth-gap)) / .84)), 560px) * var(--erth-size)); letter-spacing: var(--erth-track); margin-right: calc(var(--erth-track) * -1); }
.erth-hero.erth-cine--btn-below .erth-cine__word, .erth-hero.erth-cine--btn-center .erth-cine__word { font-size: calc(clamp(130px, min(30vw, calc((100vh - 470px - var(--erth-gap)) / .84)), 560px) * var(--erth-size)); }
@keyframes erthWord { from { letter-spacing: calc(var(--erth-track, -.04em) + .14em); opacity: 0; filter: blur(14px); } to { letter-spacing: var(--erth-track, -.04em); opacity: 1; filter: none; } }
@media (max-width: 760px) {
	.erth-hero .erth-cine__type { top: calc(var(--header-h) + 90px); bottom: 230px; }
	.erth-hero .erth-cine__word, .erth-hero.erth-cine--btn-below .erth-cine__word, .erth-hero.erth-cine--btn-center .erth-cine__word { font-size: calc(31vw * min(var(--erth-size), 1.1)); }
}

/* =========================================================================================
   Responsive pass (v1.3.5): phone (up to 600px), tablet (601-1100px) and laptop/desktop.
   Earlier desktop rules further up the file were overriding some of the smaller-screen rules,
   so every phone and tablet rule is restated here, at the end, where it wins.
   ========================================================================================= */

/* Never let anything widen the page sideways */
html, body { max-width: 100%; overflow-x: clip; }
.erth-block, .elementor-widget-container { min-width: 0; }

/* Elementor editor: the scroll animation does not run inside the editor, so show the hero as a
   single screen there instead of a tall empty block. */
.elementor-editor-active .erth-hero { height: 100vh; min-height: 620px; }
.elementor-editor-active .erth-cine__sticky { position: relative; }

/* ---------- Hero on tablets and phones: ERTH centred in the space above the headline ---------- */
@media (max-width: 1100px) and (orientation: portrait), (max-width: 760px) {
	.erth-hero { height: 190vh; }
	.erth-cine__sticky { min-height: 560px; }
	.erth-hero .erth-cine__type { top: calc(var(--header-h) + 50px); bottom: var(--erth-intro-h, 260px); display: flex; flex-direction: column; align-items: center; justify-content: center; }
	.erth-cine__scroll { display: none; }
	.erth-cine__intro, .erth-cine--btn-below .erth-cine__intro, .erth-cine--btn-center .erth-cine__intro { flex-direction: column; align-items: flex-start; flex-wrap: nowrap; gap: 20px; }
	.erth-cine--btn-center .erth-cine__intro { align-items: center; }
	.erth-cine__rotator { width: 100%; min-width: 0; font-size: clamp(30px, 6vw, 52px); }
	.erth-cine__shade { background: linear-gradient(0deg, rgba(5,15,17,.95) 10%, rgba(5,15,17,.55) 60%, rgba(5,15,17,.35)); }
	.erth-cine__final { grid-template-columns: 1fr; gap: 18px; bottom: clamp(28px, 5vh, 60px); }
	.erth-cine__stack span:nth-child(n) { padding-left: 0; }
}
@media (max-width: 1100px) and (min-width: 761px) and (orientation: portrait) {
	.erth-hero .erth-cine__word, .erth-hero.erth-cine--btn-below .erth-cine__word, .erth-hero.erth-cine--btn-center .erth-cine__word { font-size: calc(min(30vw, 36vh) * min(var(--erth-size), 1.15)); }
	.erth-cine__ar { font-size: clamp(40px, 6vw, 64px); }
	.erth-cine__stack { font-size: clamp(48px, 8vw, 84px); }
}
@media (max-width: 760px) {
	.erth-hero { --erth-intro-h: 250px; }
	.erth-hero .erth-cine__word, .erth-hero.erth-cine--btn-below .erth-cine__word, .erth-hero.erth-cine--btn-center .erth-cine__word { font-size: calc(min(40vw, 28vh) * min(var(--erth-size), 1.12)); transform: scaleX(1.08); }
	.erth-cine__ar { font-size: clamp(30px, 9vw, 44px); margin-top: -.05em; }
	.erth-cine__top { top: calc(var(--header-h) + 10px); padding-inline: var(--gut); }
	.erth-cine__top .erth-pill, .erth-cine__top > * { max-width: 100%; }
	.erth-cine__rotator { font-size: clamp(28px, 8.4vw, 36px); }
	.erth-cine__btns, .erth-cine__btns--final { display: grid; grid-template-columns: 1fr; width: 100%; gap: 10px; }
	.erth-cine__btns .erth-btn { justify-content: center; white-space: normal; text-align: center; }
	.erth-cine__stack { font-size: clamp(40px, 12vw, 56px); }
	.erth-cine__text { font-size: 15px; }
	.erth-cine__screen { width: calc(70vw + var(--p) * 30vw); height: calc(46vw + var(--p) * (100vh - 46vw)); }
}
/* Short phones (e.g. iPhone SE): keep everything on one screen */
@media (max-width: 760px) and (max-height: 700px) {
	.erth-hero { --erth-intro-h: 230px; }
	.erth-cine__stack { font-size: 38px; }
	.erth-cine__text { display: none; }
}
/* Landscape tablets and small laptops */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) {
	.erth-cine__intro { flex-direction: column; align-items: flex-start; gap: 18px; }
	.erth-cine__rotator { width: 100%; }
}

/* ---------- Disciplines: readable stacked cards ---------- */
@media (max-width: 960px) {
	.erth-acc__panel, .erth-acc__panel.is-open { height: auto; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
	.erth-acc__body { position: relative; padding: 90px 22px 26px; }
	.erth-acc__bg::after, .erth-acc__panel:not(.is-open) .erth-acc__bg::after { background: linear-gradient(0deg, rgba(5,15,17,.96) 45%, rgba(5,15,17,.6) 80%, rgba(5,15,17,.3)); background-color: transparent; }
	.erth-acc__bignum { top: 18px; right: 20px; font-size: 70px; }
	.erth-acc__name { font-size: clamp(34px, 8vw, 54px); }
}
@media (max-width: 600px) {
	.erth-acc__body .erth-text { font-size: 14.5px; }
	.erth-acc__caps li { font-size: 10.5px; padding: 6px 10px; }
}

/* ---------- Heritage film strip: fit the screen ---------- */
@media (max-width: 899px) {
	.erth-strip__film { overflow: hidden; padding: 36px 0; }
	.erth-strip__holes { right: 0; transform: none; }
	.erth-strip__track { grid-template-columns: minmax(0, 1fr); }
	.erth-strip__frame { min-width: 0; padding: 14px; gap: 14px; }
	.erth-strip__frame > * { min-width: 0; }
	.erth-strip__img { width: 100%; min-height: 0; aspect-ratio: 16 / 9; height: auto; }
	.erth-strip__year { font-size: clamp(54px, 15vw, 90px); }
	.erth-strip__name { font-size: clamp(24px, 6.4vw, 34px); }
	.erth-strip__closing { font-size: clamp(30px, 8vw, 44px); max-width: none; }
	.erth-strip__end { padding-block: 34px; }
	.erth-strip__title { font-size: clamp(42px, 11vw, 70px); }
}
@media (min-width: 600px) and (max-width: 899px) {
	.erth-strip__frame { grid-template-columns: 1fr 1fr; align-items: center; }
	.erth-strip__img { aspect-ratio: 4 / 3; }
	.erth-strip__end { grid-template-columns: 1fr; }
}

/* ---------- Film library reel: cards snap inside the margins ---------- */
@media (max-width: 760px) {
	.erth-fl__reel { grid-auto-columns: 84%; scroll-padding-inline: var(--gut); gap: 14px; }
	.erth-fl__card { min-width: 0; }
	.erth-fl__card .erth-pcard__title, .erth-fl__card h3 { overflow-wrap: anywhere; }
}

/* ---------- Footer ---------- */
@media (max-width: 1100px) {
	.erth-foot__top { grid-template-columns: 1fr; gap: 44px; }
	.erth-foot__brand { grid-template-columns: auto 1fr; align-items: center; column-gap: 28px; }
	.erth-foot__brand > :first-child { grid-row: span 2; }
	.erth-foot__statement { max-width: 14ch; }
}
@media (max-width: 760px) {
	.erth-footer { padding-top: 64px; }
	.erth-foot__brand { grid-template-columns: 1fr; }
	.erth-foot__brand > :first-child { grid-row: auto; }
	.erth-foot__statement { font-size: clamp(34px, 10vw, 46px); max-width: 12ch; }
	.erth-foot__cols { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
	.erth-foot__cols > div:last-child { grid-column: 1 / -1; }
	.erth-foot__cols a { overflow-wrap: anywhere; }
	.erth-foot__side .erth-foot__connect { grid-template-columns: 1fr; padding-top: 32px; }
	.erth-foot__side .erth-foot__nl, .erth-foot__side .erth-foot__follow { grid-column: 1; }
	.erth-foot__icons { flex-wrap: wrap; }
	.erth-nl__form { flex-direction: column; flex-wrap: nowrap; border-radius: 22px; }
	.erth-nl__input { width: 100%; }
	.erth-nl__btn { width: 100%; justify-content: center; }
	.erth-foot__disc { letter-spacing: .16em; line-height: 1.8; }
	.erth-foot__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
	.erth-foot__legal { flex-wrap: wrap; gap: 10px 20px; }
}

/* ---------- Paragraph spacing in service text ---------- */
.erth-sv__body p + p { margin-top: .9em; }

/* ---------- General phone spacing and type ---------- */
@media (max-width: 600px) {
	.erth-cta .erth-text, .erth-quote .erth-text { font-size: 15.5px; }
	.erth-wk__ticket { grid-template-columns: 1fr; gap: 18px; }
	.erth-project__title { font-size: clamp(40px, 12vw, 64px); }
	.erth-eyebrow { max-width: 100%; }
	.erth-eyebrow span { white-space: normal; }
}

/* =========================================================================================
   Video preview (v1.3.6): a contained panel over the page, with a full-screen toggle.
   The title, buttons and video always stay inside the panel's border.
   ========================================================================================= */
.erth-modal.is-video .erth-modal__close, .erth-modal.is-video .erth-modal__caption, .erth-modal.is-video .erth-modal__nav { display: none; }
.erth-modal.is-video .erth-modal__stage { width: auto; max-height: none; display: block; }
.erth-modal.is-video .erth-modal__backdrop { background: rgba(2,8,9,.82); }
.erth-vp { --vp-w: min(980px, 92vw, calc((100vh - 170px) * 16 / 9)); width: var(--vp-w); max-width: 92vw; display: flex; flex-direction: column; padding: 10px; border-radius: 20px; border: 1px solid rgba(244,236,230,.16); background: #071A1E; box-shadow: 0 50px 120px -30px rgba(0,0,0,.8); overflow: hidden; color: #F4ECE6; }
@supports (height: 100dvh) { .erth-vp { --vp-w: min(980px, 92vw, calc((100dvh - 170px) * 16 / 9)); } }
.erth-vp__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; padding: 4px 4px 12px 10px; }
.erth-vp__info { min-width: 0; flex: 1; }
.erth-vp__title { margin: 0; font-family: var(--f-display); font-size: clamp(17px, 1.6vw, 22px); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.erth-vp__title:dir(rtl) { font-family: var(--f-ar); font-weight: 600; font-size: clamp(15px, 1.4vw, 19px); }
.erth-vp__meta { margin: 2px 0 0; font: 600 10.5px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: #F3764B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.erth-vp__tools { display: flex; align-items: center; gap: 8px; flex: none; }
.erth-vp__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; min-width: 40px; padding: 0 14px; border-radius: 100px; border: 1px solid rgba(244,236,230,.25); background: rgba(244,236,230,.06); color: #F4ECE6; font: 600 11px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background .3s, border-color .3s, color .3s; }
.erth-vp__btn:hover, .erth-vp__btn:focus-visible { background: #F4ECE6; color: #071A1E; border-color: #F4ECE6; }
.erth-vp__btn i { position: relative; width: 14px; height: 14px; flex: none; background: linear-gradient(currentColor, currentColor) 0 0 / 5px 1.5px, linear-gradient(currentColor, currentColor) 0 0 / 1.5px 5px, linear-gradient(currentColor, currentColor) 100% 0 / 5px 1.5px, linear-gradient(currentColor, currentColor) 100% 0 / 1.5px 5px, linear-gradient(currentColor, currentColor) 0 100% / 5px 1.5px, linear-gradient(currentColor, currentColor) 0 100% / 1.5px 5px, linear-gradient(currentColor, currentColor) 100% 100% / 5px 1.5px, linear-gradient(currentColor, currentColor) 100% 100% / 1.5px 5px; background-repeat: no-repeat; }
.erth-vp.is-fullscreen .erth-vp__btn i { transform: scale(.7); }
.erth-vp__close { padding: 0; width: 40px; }
.erth-vp__close b { position: relative; width: 14px; height: 14px; }
.erth-vp__close b::before, .erth-vp__close b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transform: rotate(45deg); }
.erth-vp__close b::after { transform: rotate(-45deg); }
.erth-vp__frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.erth-vp__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
/* Full screen: the panel fills the screen and the video keeps its shape inside it */
.erth-vp.is-fullscreen, .erth-vp:fullscreen { width: 100vw; max-width: none; height: 100vh; border-radius: 0; border: 0; padding: 10px 14px 14px; background: #000; }
.erth-vp.is-full { position: fixed; inset: 0; z-index: 100000; }
.erth-vp.is-fullscreen .erth-vp__frame { flex: 1; aspect-ratio: auto; min-height: 0; border-radius: 6px; }
@media (max-width: 600px) {
	.erth-vp { --vp-w: 96vw; max-width: 96vw; padding: 8px; border-radius: 16px; }
	.erth-vp__bar { padding: 2px 2px 10px 6px; }
	.erth-vp__btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.erth-vp__btn { padding: 0; width: 40px; }
	.erth-vp__frame { border-radius: 9px; }
}
@media (max-height: 500px) and (orientation: landscape) {
	.erth-vp { --vp-w: min(92vw, calc((100vh - 80px) * 16 / 9)); padding: 6px; }
	.erth-vp__bar { padding-bottom: 6px; }
}

/* Filter strip: a thin line of choices above a grid, quiet until it is used --------------------- */
.erth-filter { display: flex; align-items: center; gap: 4px 18px; margin: 0 0 clamp(22px, 2.6vw, 34px); padding: 10px 0; border-block: 1px solid var(--c-line); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 30px), transparent); }
.erth-filter::-webkit-scrollbar { display: none; }
.erth-filter button { flex: none; padding: 4px 0; border: 0; background: none; color: var(--c-muted); font: 600 11px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; cursor: pointer; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.erth-filter button:dir(rtl) { letter-spacing: 0; font-family: var(--f-ar); font-size: 13px; text-transform: none; }
.erth-filter button sup { font-size: 9px; letter-spacing: .05em; color: var(--c-orange); opacity: .8; vertical-align: super; }
.erth-filter button:hover { color: var(--c-heading); }
.erth-filter button.is-active { color: var(--c-heading); border-bottom-color: var(--c-orange); }
[data-filter-items] > [hidden] { display: none !important; }
.erth-fl__feature + .erth-filter { margin-top: 0; }

/* Columns chosen in the widget, per device (desktop / tablet ≤1024px / mobile ≤767px) ------------ */
.erth-fl__grid.has-cols, .erth-projects .erth-pgrid.has-cols { grid-template-columns: repeat(var(--cols-d, 3), minmax(0, 1fr)); }
.erth-pgrid.has-cols .erth-pcard:nth-child(even) { margin-top: 0; }
@media (max-width: 1024px) { .erth-fl__grid.has-cols, .erth-projects .erth-pgrid.has-cols { grid-template-columns: repeat(var(--cols-t, var(--cols-d, 2)), minmax(0, 1fr)); } }
@media (max-width: 767px) { .erth-fl__grid.has-cols, .erth-projects .erth-pgrid.has-cols { grid-template-columns: repeat(var(--cols-m, 1), minmax(0, 1fr)); gap: 30px 12px; } }
.erth-pcard__media[data-yt] { cursor: pointer; }

/* Hero wordmark per device ------------------------------------------------------------------------ */
.erth-hero { --erth-size: var(--erth-size-d, 1); --erth-track: var(--erth-track-d, -.04em); --erth-gap: var(--erth-gap-d, 40px); }
@media (max-width: 1024px) { .erth-hero { --erth-size: var(--erth-size-t, var(--erth-size-d, 1)); --erth-track: var(--erth-track-t, var(--erth-track-d, -.04em)); --erth-gap: var(--erth-gap-t, var(--erth-gap-d, 40px)); } }
@media (max-width: 767px) { .erth-hero { --erth-size: var(--erth-size-m, 1); --erth-track: var(--erth-track-m, -.04em); --erth-gap: var(--erth-gap-m, 40px); } }
@media (max-width: 1100px) and (min-width: 761px) and (orientation: portrait) {
	.erth-hero .erth-cine__word, .erth-hero.erth-cine--btn-below .erth-cine__word, .erth-hero.erth-cine--btn-center .erth-cine__word { font-size: calc(min(30vw, 36vh) * min(var(--erth-size), 1.3)); }
}
@media (max-width: 760px) {
	.erth-hero .erth-cine__word, .erth-hero.erth-cine--btn-below .erth-cine__word, .erth-hero.erth-cine--btn-center .erth-cine__word { font-size: calc(min(40vw, 28vh) * min(var(--erth-size), 1.3)); }
	.erth-hero .erth-cine__type { top: calc(var(--header-h) + 40px + var(--erth-gap) * .5); }
}

/* Header with a larger logo on phones: keep the pill compact around it */
@media (max-width: 767px) {
	.erth-pill { padding: 6px 6px 6px 12px; }
}

/* Legacy film strip (v1.3.8): text always stays inside its frame, and the strip never spills sideways.
   Screens shorter than 700px show the frames stacked instead of the sideways scroll. */
.erth-timeline:not(.is-pinned) .erth-strip__film { overflow: hidden; }
.erth-timeline:not(.is-pinned) .erth-strip__holes { right: 0; transform: none; }
.erth-timeline.is-pinned .erth-strip__film { overflow: hidden; }
.erth-timeline.is-pinned .erth-strip__frame { grid-template-rows: minmax(0, 1fr); overflow: hidden; align-items: stretch; }
.erth-timeline.is-pinned .erth-strip__frame > * { min-height: 0; min-width: 0; }
.erth-timeline.is-pinned .erth-strip__frame:not(.erth-strip__end) { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.erth-timeline.is-pinned .erth-strip__copy { display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.erth-timeline.is-pinned .erth-strip__end { display: grid; grid-template-rows: none; align-content: center; justify-items: center; }
.erth-timeline.is-pinned .erth-strip__img { height: auto; min-height: 0; }
.erth-timeline.is-pinned .erth-strip__copy .erth-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: var(--strip-lines, 8); overflow: hidden; }
.erth-timeline.is-pinned .erth-strip__closing { font-size: clamp(28px, min(3.4vw, 6.4vh), 60px); }
.erth-timeline.is-pinned .erth-strip__bar { position: relative; z-index: 1; flex: none; }
@media (min-width: 900px) and (max-height: 860px) {
	.erth-timeline.is-pinned { --strip-lines: 6; }
	.erth-timeline.is-pinned .erth-strip__head { margin-bottom: 14px; }
	.erth-timeline.is-pinned .erth-strip__title { font-size: clamp(40px, 7vh, 76px); }
	.erth-timeline.is-pinned .erth-strip__intro { font-size: 13.5px; }
	.erth-timeline.is-pinned .erth-strip__film { padding: 34px 0; }
}
@media (min-width: 900px) and (max-height: 760px) {
	.erth-timeline.is-pinned { --strip-lines: 4; }
	.erth-timeline.is-pinned .erth-strip__intro { display: none; }
}
/* Typical 15" laptops (about 600-700px of visible height): wider, more compact frames so the full
   text fits without being cut. */
@media (min-width: 900px) and (max-height: 760px) {
	.erth-timeline.is-pinned .erth-strip__sticky { padding-block: calc(var(--header-h) * .55) 14px; }
	.erth-timeline.is-pinned .erth-strip__head { margin-bottom: 10px; }
	.erth-timeline.is-pinned .erth-strip__title { font-size: clamp(34px, 6.2vh, 56px); }
	.erth-timeline.is-pinned .erth-strip__film { padding: 26px 0; }
	.erth-timeline.is-pinned .erth-strip__holes.is-top { top: 8px; }
	.erth-timeline.is-pinned .erth-strip__holes.is-bottom { bottom: 8px; }
	.erth-timeline.is-pinned .erth-strip__frame:not(.erth-strip__end) { width: min(1180px, 86vw); grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); padding: 14px; gap: 22px; }
	.erth-timeline.is-pinned .erth-strip__year { font-size: clamp(40px, 8.5vh, 70px); }
	.erth-timeline.is-pinned .erth-strip__loc { margin: 6px 0 2px; }
	.erth-timeline.is-pinned .erth-strip__name { font-size: clamp(20px, 3.6vh, 28px); margin-bottom: 6px; }
	.erth-timeline.is-pinned .erth-strip__copy .erth-text { font-size: 13px; line-height: 1.5; -webkit-line-clamp: 12; }
	.erth-timeline.is-pinned .erth-strip__bar { padding-top: 10px; }
}

/* v1.3.9 full-screen menu: never pushes items behind the logo bar; scrolls when taller than the screen */
.erth-menu__inner { display: flex; align-items: flex-start; gap: 40px; padding-top: calc(var(--header-h) + 50px); padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.erth-menu__nav { flex: 1.4 1 0; min-width: 0; margin-top: auto; }
.erth-menu__side { flex: 1 1 0; min-width: 0; margin-top: auto; }
.admin-bar .erth-menu__inner { padding-top: calc(var(--header-h) + 82px); }
@media (max-width: 700px) {
	.erth-menu__inner { flex-direction: column; align-items: stretch; gap: 28px; padding-top: calc(var(--header-h) + 34px); }
	.admin-bar .erth-menu__inner { padding-top: calc(var(--header-h) + 74px); }
	.erth-menu__nav, .erth-menu__side { flex: none; width: 100%; }
	.erth-menu__side { margin-top: 0; }
	.erth-menu__nav > ul > li > a { font-size: clamp(34px, 10vw, 46px); padding: 6px 0; gap: 14px; }
	.erth-menu__nav .sub-menu { padding-left: 34px; gap: 6px 14px; }
	.erth-menu__nav .sub-menu a { font-size: 11px; line-height: 1.8; }
	.erth-menu__side p { font-size: 24px; }
}
@media (max-width: 700px) and (max-height: 700px) {
	.erth-menu__nav > ul > li > a { font-size: 32px; }
}

/* ===== v1.4.0 tablet + phone polish ===== */
/* Round "About ErthCreative" button centred once the section stacks */
@media (max-width: 860px) {
	.erth-man__foot { justify-items: start; }
	.erth-man__foot .erth-roundlink { justify-self: center; }
}

/* Footer bottom bar: links + back-to-top on one line, credit, then the copyright centred at the very bottom */
@media (max-width: 1100px) {
	.erth-foot__bottom { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; align-items: center; column-gap: 22px; row-gap: 14px; text-align: center; }
	.erth-foot__legal { display: contents; }
	.erth-foot__legal a:not(.erth-foot__totop) { grid-row: 1; }
	.erth-foot__totop { grid-row: 1; grid-column: 4; justify-self: end; }
	.erth-foot__credit { grid-row: 2; grid-column: 1 / -1; justify-self: center; }
	.erth-foot__bottom > p:first-child { grid-row: 3; grid-column: 1 / -1; justify-self: center; padding-top: 14px; border-top: 1px solid var(--c-line); width: 100%; }
	.erth-foot__totop { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--c-line); font-size: 16px; line-height: 1; transition: background-color .3s, border-color .3s, color .3s; }
	.erth-foot__totop:hover, .erth-foot__totop:focus-visible { background: var(--c-orange); border-color: var(--c-orange); color: #fff; }
	.erth-foot__totop-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	/* Social icons centred */
	.erth-foot__follow { justify-self: stretch; }
	.erth-foot__icons { justify-content: center; }
	.erth-foot__side .erth-foot__follow { padding-bottom: 0; }
}

/* Tablet: the three footer lists side by side */
@media (min-width: 601px) and (max-width: 1100px) {
	.erth-foot__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
	.erth-foot__cols > div:last-child { grid-column: auto; }
	.erth-foot__cols a { overflow-wrap: normal; }
	.erth-foot__links { font-size: 14.5px; }
}

@media (max-width: 760px) {
	/* Quote: drop the floating ornaments that collide with the words */
	.erth-qt__float { display: none; }
}

@media (max-width: 600px) {
	/* Hero tagline: a calm, centred two-line caption instead of a crowded pill */
	.erth-cine__top { padding-inline: 28px; }
	.erth-cine__top .erth-eyebrow { flex-direction: column; gap: 10px; margin: 0 auto; padding: 0; border: 0; border-radius: 0; background: none; max-width: 30ch; font-size: 9.5px; line-height: 1.75; letter-spacing: .2em; text-align: center; text-wrap: balance; }
	.erth-cine__top .erth-eyebrow span { white-space: normal; }

	/* Footer lists: two tidy columns, wrapped links read as one item */
	.erth-foot__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 34px 18px; }
	.erth-foot__links { font-size: 14px; gap: 13px; line-height: 1.35; }
	.erth-foot__cols a { overflow-wrap: normal; }

	/* Social icons: smaller, one centred row */
	.erth-foot__icons { flex-wrap: nowrap; gap: 8px; justify-content: center; }
	.erth-foot__icons .erth-social { width: 38px; height: 38px; flex: none; }
	.erth-foot__icons .erth-social svg { width: 16px; height: 16px; }

	/* Bottom bar */
	.erth-foot__bottom { column-gap: 16px; font-size: 12px; padding-block: 22px 26px; }
	.erth-foot__totop { width: 34px; height: 34px; font-size: 13px; }
}
@media (max-width: 380px) {
	.erth-foot__icons { gap: 6px; }
	.erth-foot__icons .erth-social { width: 36px; height: 36px; }
}

/* v1.4.1 tablet: the whole bottom bar on one line */
@media (min-width: 601px) and (max-width: 1100px) {
	.erth-foot__bottom { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center; gap: 16px; font-size: 11px; white-space: nowrap; }
	.erth-foot__legal { display: contents; }
	.erth-foot__legal a { order: 1; }
	.erth-foot__credit { order: 2; margin-left: auto !important; }
	.erth-foot__bottom > p:first-child { order: 3; padding-top: 0; border-top: 0; width: auto; }
	.erth-foot__legal .erth-foot__totop { order: 4; margin-left: auto; width: 34px; height: 34px; font-size: 13px; flex: none; }
	.erth-foot__credit::after { content: "\00B7"; margin-left: 16px; color: var(--c-muted); }
}

/* ===== v1.4.2 Company profile page ===== */
.erth-profile { padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(70px, 9vw, 130px); }
.erth-pf__head { max-width: 860px; margin: 0 auto clamp(44px, 6vw, 80px); text-align: center; display: grid; justify-items: center; }
.erth-pf__title { font-size: clamp(48px, 7.4vw, 112px); margin: 0 0 24px; }
.erth-pf__title em { font-style: italic; color: var(--c-orange); }
.erth-pf__text { max-width: 54ch; margin: 0 0 34px; font-size: clamp(16px, 1.25vw, 18px); }
.erth-pf__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.erth-pf__dl { --bg: var(--c-orange); --fg: #fff; }
.erth-pf__dl small { font: 500 11px var(--f-ui); letter-spacing: .06em; text-transform: none; opacity: .75; }
.erth-pf__dl-ic { width: 17px; height: 17px; flex: none; }
.erth-pf__doc { max-width: 1180px; margin: 0 auto; }
.erth-pf__status { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40vh; margin: 0; font: 600 12px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); border: 1px solid var(--c-line); border-radius: 18px; }
.erth-pf__spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--c-line); border-top-color: var(--c-orange); animation: erthSpin .9s linear infinite; }
@keyframes erthSpin { to { transform: rotate(360deg); } }
.erth-pf__pages { display: grid; gap: clamp(18px, 2.6vw, 34px); }
.erth-pf__page { position: relative; margin: 0; width: 100%; border-radius: clamp(8px, 1vw, 14px); overflow: hidden; background: color-mix(in srgb, var(--c-heading) 5%, transparent); border: 1px solid var(--c-line); box-shadow: 0 40px 80px -50px rgba(0,0,0,.8); }
.erth-pf__page::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--c-heading) 7%, transparent) 50%, transparent 70%) 0 0 / 220% 100%; animation: erthShimmer 1.6s linear infinite; }
.erth-pf__page.is-ready::before { display: none; }
@keyframes erthShimmer { to { background-position: -220% 0; } }
.erth-pf__page canvas { position: relative; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease); }
.erth-pf__page.is-ready canvas { opacity: 1; }
.erth-pf__fallback { text-align: center; color: var(--c-muted); }
.erth-pf__fallback a { color: var(--c-orange); margin-left: 8px; }
.erth-pf__end { display: flex; justify-content: center; margin-top: clamp(40px, 5vw, 64px); }
.erth-pf__float { position: fixed; z-index: 90; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); display: inline-flex; align-items: center; gap: 10px; padding: 13px 20px; border-radius: 100px; background: var(--c-orange); color: #fff; font: 600 11.5px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.erth-pf__float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.erth-pf__float:hover { background: #e2643a; }
@media (max-width: 600px) {
	.erth-profile { padding-top: calc(var(--header-h) + 60px); }
	.erth-pf__btns { flex-direction: column; align-self: stretch; width: 100%; }
	.erth-pf__btns .erth-btn { justify-content: center; }
	.erth-pf__float { left: 50%; right: auto; transform: translate(-50%, 20px); padding: 12px 18px; }
	.erth-pf__float.is-shown { transform: translate(-50%, 0); }
}

/* Company Profile links: footer pill and full-screen menu button */
.erth-foot__profile { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 13px; border: 1px solid var(--c-line); border-radius: 100px; color: var(--c-heading); font: 600 11px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: border-color .3s, color .3s, background-color .3s; }
.erth-foot__profile svg { width: 17px; height: 17px; flex: none; color: var(--c-orange); }
.erth-foot__profile .erth-arrow { width: 15px; color: currentColor; }
.erth-foot__profile:hover, .erth-foot__profile:focus-visible { border-color: var(--c-orange); color: var(--c-orange); }
.erth-foot__cols .erth-foot__profile { margin-top: 30px; }
@media (max-width: 600px) { .erth-foot__cols .erth-foot__profile { margin-top: 24px; padding: 9px 13px 9px 11px; font-size: 10px; letter-spacing: .12em; gap: 8px; } }
.erth-menu__side { justify-items: start; }
.erth-menu__side .erth-menu__profile { --bg: transparent; --fg: #F4ECE6; color: #F4ECE6; border-color: rgba(244,236,230,.4); }
@media (max-width: 700px) { .erth-menu__side .erth-btn { width: 100%; justify-content: center; } }

/* v1.4.4 two document pills under the Our Work column */
.erth-foot__pills { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 30px; }
.erth-foot__cols .erth-foot__pills .erth-foot__profile { margin-top: 0; }
@media (max-width: 600px) { .erth-foot__pills { margin-top: 24px; gap: 8px; } }

/* ===== v1.4.5 ===== */
/* Desktop top bar: Company Profile button next to the main button (the full-screen menu carries it below 1240px) */
.erth-pill__doc { --bg: transparent; --fg: var(--c-heading); gap: 9px; border-color: color-mix(in srgb, var(--c-heading) 35%, transparent); }
.erth-pill__doc .erth-doc-ic { width: 15px; height: 15px; flex: none; color: var(--c-orange); }
.erth-pill__actions { gap: 10px; }
@media (max-width: 1240px) { .erth-pill__doc { display: none !important; } }

/* Full-screen menu: Our Work portfolios one per line */
.erth-menu__nav .sub-menu { flex-direction: column; flex-wrap: nowrap; gap: 9px; padding-bottom: 16px; }
.erth-menu__nav .sub-menu a { line-height: 1.5; }

/* Footer: the two document pills side by side on one line */
.erth-foot__cols .erth-foot__pills { flex-direction: row; flex-wrap: nowrap; align-items: center; margin-top: 0; gap: 12px; }
@media (min-width: 601px) {
	.erth-foot__cols > div:first-child { grid-row: span 2; }
	.erth-foot__cols .erth-foot__pills { grid-column: 2 / span 2; grid-row: 2; align-self: start; }
}
@media (min-width: 601px) and (max-width: 1100px) {
	.erth-foot__cols .erth-foot__pills .erth-foot__profile { padding: 9px 14px 9px 11px; font-size: 10px; letter-spacing: .12em; }
}
@media (max-width: 600px) {
	.erth-foot__cols .erth-foot__pills { grid-column: 1 / -1; gap: 8px; }
	.erth-foot__cols .erth-foot__pills .erth-foot__profile { flex: 1 1 0; min-width: 0; justify-content: center; white-space: nowrap; padding: 10px 8px; font-size: 9.5px; letter-spacing: .08em; gap: 7px; }
	.erth-foot__cols .erth-foot__pills .erth-foot__profile svg { width: 15px; height: 15px; }
	.erth-foot__cols .erth-foot__pills .erth-arrow { display: none; }
}

/* ===== v1.5.0 Project brief ===== */
.erth-brief { padding: calc(var(--header-h) + clamp(60px, 8vw, 110px)) 0 clamp(80px, 9vw, 130px); }
.erth-bf__intro { text-align: center; max-width: 860px; margin: 0 auto clamp(40px, 5vw, 60px); display: grid; justify-items: center; }
.erth-bf__title { font-size: clamp(48px, 7vw, 104px); margin: 0 0 22px; }
.erth-bf__title em, .erth-bf__step h2 em, .erth-bf__done h2 em { color: var(--c-orange); font-style: italic; }
.erth-bf__lead { max-width: 620px; margin: 0; font-size: clamp(16px, 1.2vw, 17.5px); }
.erth-bf__meta { margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font: 600 10.5px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.erth-bf__meta span::before { content: "◆ "; color: var(--c-turq); }
.erth-bf__grid { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(30px, 4vw, 56px); }
.erth-bf__rail { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; }
.erth-bf__rail ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--c-line); }
.erth-bf__rail li { position: relative; padding: 11px 0 11px 20px; font-size: 13.5px; color: var(--c-muted); transition: color .3s; }
.erth-bf__rail li b { display: block; font: 700 10px var(--f-ui); letter-spacing: .2em; margin-bottom: 3px; }
.erth-bf__rail li.is-done b { color: var(--c-turq); }
.erth-bf__rail li.is-on { color: var(--c-heading); }
.erth-bf__rail li.is-on b { color: var(--c-orange); }
.erth-bf__rail li.is-on::before { content: ""; position: absolute; left: -2px; top: 11px; bottom: 11px; width: 3px; border-radius: 3px; background: var(--c-orange); }
.erth-bf__bar { margin-top: 20px; height: 4px; border-radius: 4px; background: var(--c-line); overflow: hidden; }
.erth-bf__bar i { display: block; width: 6%; height: 100%; background: linear-gradient(90deg, var(--c-turq), var(--c-orange)); transition: width .5s var(--ease); }
.erth-bf__rail small { display: block; margin-top: 8px; font-size: 11.5px; color: var(--c-muted); }
.erth-bf__form { min-width: 0; }
.erth-bf__form > .erth-form__error, .erth-bf__note { margin: 0 0 18px; }
.erth-bf__note { padding: 14px 18px; border-radius: 12px; border: 1px solid var(--c-line); color: var(--c-text); font-size: 14px; }
.erth-bf__step { border: 1px solid var(--c-line); border-radius: 22px; padding: clamp(24px, 3vw, 38px) clamp(20px, 3vw, 40px) clamp(26px, 3vw, 40px); margin-bottom: 22px; background: color-mix(in srgb, var(--c-heading) 2%, transparent); scroll-margin-top: calc(var(--header-h) + 30px); }
.erth-bf__sh { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin-bottom: 24px; }
.erth-bf__n { font: 700 11px var(--f-ui); letter-spacing: .2em; color: var(--c-orange); }
.erth-bf__step h2 { font-size: clamp(30px, 3.2vw, 42px); margin: 0; }
.erth-bf__sh p { margin: 0 0 0 auto; font-size: 12.5px; color: var(--c-muted); }
.erth-bf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.erth-bf__row--one { grid-template-columns: minmax(0, 420px); margin-top: 24px; }
.erth-bf__f label, .erth-bf__ql { display: block; padding: 0; font: 600 10.5px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 9px; }
.erth-bf__f label i { color: var(--c-orange); font-style: normal; }
.erth-bf__ql small { margin-left: 8px; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; opacity: .8; }
.erth-bf__in { width: 100%; height: 52px; border-radius: 14px; border: 1px solid var(--c-line); background: color-mix(in srgb, var(--c-heading) 4%, transparent); padding: 0 18px; font: 400 15px var(--f-ui); color: var(--c-heading); transition: border-color .3s, box-shadow .3s; }
.erth-bf__in::placeholder { color: color-mix(in srgb, var(--c-heading) 35%, transparent); }
.erth-bf__in:focus { outline: none; border-color: var(--c-orange); box-shadow: 0 0 0 3px rgba(243,118,75,.16); }
.erth-bf__in.is-invalid, .erth-bf__consent.is-invalid { border-color: #E5533A; }
.erth-bf__ta { height: auto; min-height: 150px; padding: 16px 18px; line-height: 1.65; resize: vertical; }
.erth-bf__ta--small { min-height: 52px; }
.erth-bf__count { display: block; text-align: right; font-size: 11px; color: var(--c-muted); margin: 6px 0 16px; }
.erth-bf__q { border: 0; margin: 24px 0 0; padding: 0; min-width: 0; }
.erth-bf__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.erth-bf__chip { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 11px 17px 11px 13px; border-radius: 100px; border: 1px solid var(--c-line); font-size: 13.5px; color: var(--c-text); cursor: pointer; transition: border-color .25s, background-color .25s, color .25s; }
.erth-bf__chip input { position: absolute; opacity: 0; pointer-events: none; }
.erth-bf__chip span::before { content: ""; display: inline-block; vertical-align: -3px; width: 15px; height: 15px; margin-right: 10px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--c-heading) 35%, transparent); }
.erth-bf__chip.is-multi span::before { border-radius: 4px; }
.erth-bf__chip:hover { border-color: color-mix(in srgb, var(--c-orange) 60%, transparent); }
.erth-bf__chip.is-on { border-color: var(--c-orange); color: var(--c-heading); background: rgba(243,118,75,.09); }
.erth-bf__chip.is-on span::before { border-color: var(--c-orange); background: radial-gradient(circle, var(--c-orange) 0 42%, transparent 48%); }
.erth-bf__chip.is-multi.is-on span::before { background: var(--c-orange); box-shadow: inset 0 0 0 2px var(--c-bg); }
.erth-bf__chip:focus-within { box-shadow: 0 0 0 3px rgba(243,118,75,.2); }
.erth-bf__types { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.erth-bf__type { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 132px; padding: 18px 16px; border: 1px solid var(--c-line); border-radius: 16px; cursor: pointer; transition: border-color .25s, background-color .25s, box-shadow .25s; }
.erth-bf__type input { position: absolute; opacity: 0; pointer-events: none; }
.erth-bf__type-d { width: 11px; height: 11px; transform: rotate(45deg); }
.erth-bf__type b { font-family: var(--f-display); font-weight: 400; font-size: 21px; line-height: 1.05; color: var(--c-heading); margin-top: auto; }
.erth-bf__type-h { font-size: 11.5px; line-height: 1.4; color: var(--c-muted); }
.erth-bf__type:hover { border-color: color-mix(in srgb, var(--c-orange) 60%, transparent); }
.erth-bf__type.is-on { border-color: var(--c-orange); background: rgba(243,118,75,.08); box-shadow: inset 0 0 0 1px var(--c-orange); }
.erth-bf__type:focus-within { box-shadow: 0 0 0 3px rgba(243,118,75,.2); }
.erth-bf__group { margin-top: 30px; padding-top: 4px; }
.erth-bf__tag { display: inline-flex; padding: 6px 12px; border-radius: 100px; background: rgba(51,189,176,.12); color: var(--c-turq); font: 700 10px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; }
.erth-bf__drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 30px 22px; border: 1.5px dashed color-mix(in srgb, var(--c-heading) 25%, transparent); border-radius: 18px; text-align: center; cursor: pointer; background: color-mix(in srgb, var(--c-heading) 3%, transparent); transition: border-color .3s, background-color .3s; }
.erth-bf__drop.is-over, .erth-bf__drop:hover { border-color: var(--c-orange); background: rgba(243,118,75,.05); }
.erth-bf__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.erth-bf__up { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); display: grid; place-items: center; color: var(--c-orange); }
.erth-bf__big { font-family: var(--f-display); font-size: 26px; color: var(--c-heading); margin: 6px 0 2px; }
.erth-bf__big em { color: var(--c-orange); }
.erth-bf__small { font-size: 12.5px; line-height: 1.5; color: var(--c-muted); max-width: 560px; }
.erth-bf__files { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.erth-bf__file { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--c-line); border-radius: 12px; font-size: 13px; color: var(--c-heading); }
.erth-bf__ft { font: 700 9.5px var(--f-ui); letter-spacing: .1em; padding: 5px 7px; border-radius: 6px; background: rgba(243,118,75,.15); color: var(--c-orange); }
.erth-bf__fn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.erth-bf__fs { margin-left: auto; color: var(--c-muted); font-size: 12px; white-space: nowrap; }
.erth-bf__fok { color: var(--c-turq); font-size: 12px; white-space: nowrap; }
.erth-bf__fx { border: 0; background: none; color: var(--c-muted); cursor: pointer; font-size: 14px; padding: 2px 4px; }
.erth-bf__fx:hover { color: var(--c-orange); }
.erth-bf__file + .erth-form__error, [data-file-error] { margin-top: 12px; }
.erth-bf__consent { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 26px; padding: 4px; border-radius: 10px; border: 1px solid transparent; font-size: 13.5px; line-height: 1.55; color: var(--c-text); cursor: pointer; }
.erth-bf__consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #F3764B; flex: none; }
.erth-bf__consent a { color: var(--c-heading); }
.erth-bf__send { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.erth-bf__send p { margin: 0; font-size: 12.5px; color: var(--c-muted); }
.erth-bf__submit { --bg: var(--c-orange); --fg: #fff; padding: 18px 30px; }
.erth-bf__submit.is-sending { opacity: .75; pointer-events: none; }
.erth-bf__done { max-width: 720px; margin: 0 auto; text-align: center; display: grid; justify-items: center; gap: 18px; padding: clamp(36px, 5vw, 60px) clamp(22px, 4vw, 50px); border: 1px solid var(--c-line); border-radius: 24px; }
.erth-bf__done h2 { font-size: clamp(36px, 4.5vw, 58px); margin: 0; }
.erth-bf__done p { margin: 0; max-width: 52ch; }
.erth-contact__next { margin: 18px 0 20px; }
.erth-contact__brief { --bg: var(--c-orange); --fg: #fff; }
@media (max-width: 1100px) {
	.erth-bf__types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.erth-bf__grid { grid-template-columns: 1fr; }
	.erth-bf__rail { position: sticky; top: calc(var(--header-h) + 14px); z-index: 5; padding: 12px 16px; border-radius: 14px; background: color-mix(in srgb, var(--c-bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--c-line); }
	.erth-bf__rail ol { display: none; }
	.erth-bf__bar { margin-top: 0; }
}
@media (max-width: 600px) {
	.erth-bf__row { grid-template-columns: 1fr; }
	.erth-bf__types { grid-template-columns: 1fr 1fr; gap: 10px; }
	.erth-bf__type { min-height: 108px; padding: 14px; }
	.erth-bf__type b { font-size: 19px; }
	.erth-bf__sh p { margin-left: 0; width: 100%; }
	.erth-bf__chip { padding: 10px 14px 10px 11px; font-size: 13px; }
	.erth-bf__file { flex-wrap: wrap; }
	.erth-bf__fn { flex: 1 1 60%; }
	.erth-bf__submit { width: 100%; justify-content: center; }
}

/* ===== v1.6.0 Genuine emails: hints and the "check your inbox" panel ===== */
.erth-email-hint { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: var(--c-text); }
.erth-email-hint.is-error { color: #F08A75; }
.erth-email-hint.is-warn { color: var(--c-text); }
.erth-email-hint__fix { border: 0; background: none; padding: 0; font: 600 13px var(--f-ui); color: var(--c-orange); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.erth-form input.is-invalid, .erth-nl__input.is-invalid, .erth-bf__in.is-invalid { border-color: #E5533A !important; }
.erth-pending { display: grid; justify-items: center; gap: 10px; text-align: center; padding: clamp(30px, 4vw, 48px) clamp(20px, 3vw, 40px); border: 1px solid var(--c-line); border-radius: 22px; background: color-mix(in srgb, var(--c-heading) 3%, transparent); max-width: 640px; margin: 0 auto; }
.erth-pending__ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--c-orange); border: 1px solid var(--c-line); margin-bottom: 4px; }
.erth-pending__eyebrow { margin: 0; font: 700 10.5px var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--c-turq); }
.erth-pending__title { margin: 0; font-size: clamp(30px, 3.4vw, 44px); }
.erth-pending__text { margin: 0; max-width: 46ch; }
.erth-pending__text b { color: var(--c-heading); font-weight: 600; overflow-wrap: anywhere; }
.erth-pending__small { margin: 0; font-size: 12.5px; color: var(--c-muted); }
.erth-pending__small a { color: var(--c-heading); }
.erth-pending__ok { margin: 0; font-size: 13px; color: var(--c-turq); }
.erth-pending__resend { display: inline-flex; margin: 6px 0 4px; padding: 11px 20px; border-radius: 100px; border: 1px solid color-mix(in srgb, var(--c-heading) 35%, transparent); color: var(--c-heading); text-decoration: none; font: 600 11px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; }
.erth-pending__resend:hover { border-color: var(--c-orange); color: var(--c-orange); }
.erth-nl__pending .erth-pending { padding: 22px 18px; justify-items: start; text-align: left; margin: 0; max-width: none; }
.erth-nl__pending .erth-pending__ic { width: 42px; height: 42px; }
.erth-nl__pending .erth-pending__title { font-size: 26px; }
.erth-brief .erth-pending { margin-top: 10px; }

/* ===== v1.7.0 Our Team: three independent rows ===== */
.erth-team { padding: clamp(80px, 10vw, 140px) 0; }
.erth-team__head { display: grid; justify-items: start; max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.erth-team__title { font-size: clamp(42px, 5.6vw, 84px); margin: 0 0 18px; }
.erth-team__title em { color: var(--c-orange); font-style: italic; }
.erth-team__text { margin: 0; max-width: 56ch; }
.erth-team__row { --gap: clamp(18px, 2.2vw, 30px); --cols: var(--cols-d, 3); }
.erth-team__row + .erth-team__row { margin-top: clamp(48px, 6vw, 84px); }
.erth-team__rowlabel { display: flex; align-items: center; gap: 16px; margin: 0 0 clamp(20px, 2.4vw, 30px); font: 600 10.5px var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--c-muted); }
.erth-team__rowlabel::before, .erth-team__rowlabel::after { content: ""; flex: 1; height: 1px; background: var(--c-line); }
.erth-team__row.is-align-start .erth-team__rowlabel::before { display: none; }
.erth-team__rowlabel span::before { content: "◆ "; color: var(--c-orange); }
.erth-team__grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(26px, 3vw, 40px) var(--gap); justify-content: center; }
.erth-team__row.is-align-start .erth-team__grid { justify-content: flex-start; }
.erth-team__card { min-width: 0; flex: 0 0 auto; width: min(var(--card-w, 250px), calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols))); }
@media (max-width: 1024px) { .erth-team__row { --cols: var(--cols-t, 2); } }
@media (max-width: 767px) { .erth-team__row { --cols: var(--cols-m, 1); --gap: 14px; } }
.erth-team__ph { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 18px; background: linear-gradient(160deg, #123C44 0%, #0A2227 100%); border: 1px solid var(--c-line); }
.erth-team__row.is-square .erth-team__ph { aspect-ratio: 1; }
.erth-team__row.is-circle .erth-team__ph { aspect-ratio: 1; border-radius: 50%; }
.erth-team__row--s .erth-team__ph, .erth-team__row--xs .erth-team__ph { border-radius: 14px; }
.erth-team__row.is-circle .erth-team__ph { border-radius: 50%; }
.erth-team__ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1s var(--ease), filter .8s var(--ease); }
.erth-team__row.is-mono .erth-team__ph img { filter: grayscale(1) contrast(1.05); }
.erth-team__card:hover .erth-team__ph img { transform: scale(1.04); filter: none; }
.erth-team__initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--f-display); font-size: calc(var(--card-w, 250px) * .3); color: rgba(244,236,230,.85); letter-spacing: -.02em; }
.erth-team__dia { position: absolute; left: 50%; bottom: 13%; transform: translateX(-50%); }
.erth-team__body { padding-top: 16px; }
.erth-team__row.is-circle .erth-team__body { text-align: center; }
.erth-team__row.is-circle .erth-team__socials { justify-content: center; }
.erth-team__role { margin: 0 0 6px; font: 600 10px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--c-turq); }
.erth-team__name { margin: 0; font-size: 30px; line-height: 1.05; }
.erth-team__row--l .erth-team__name { font-size: 27px; }
.erth-team__row--m .erth-team__name { font-size: 24px; }
.erth-team__row--s .erth-team__name { font-size: 21px; }
.erth-team__row--xs .erth-team__name { font-size: 19px; }
.erth-team__bio { margin: 9px 0 0; font-size: 14px; line-height: 1.6; }
.erth-team__row--s .erth-team__bio, .erth-team__row--xs .erth-team__bio { font-size: 13px; }
.erth-team__socials { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.erth-team__socials .erth-social { width: 32px; height: 32px; }
.erth-team__socials .erth-social svg { width: 14px; height: 14px; }
.erth-team__row--s .erth-team__socials .erth-social, .erth-team__row--xs .erth-team__socials .erth-social { width: 28px; height: 28px; }
.erth-team__row--s .erth-team__socials .erth-social svg, .erth-team__row--xs .erth-team__socials .erth-social svg { width: 12px; height: 12px; }
.erth-team__mail { color: var(--c-heading); }
@media (max-width: 767px) {
	.erth-team__name { font-size: 24px; }
	.erth-team__row--m .erth-team__name, .erth-team__row--s .erth-team__name, .erth-team__row--xs .erth-team__name { font-size: 19px; }
	.erth-team__bio { font-size: 13px; }
}


.erth-contact__form-wrap .erth-pending { border: 0; background: none; padding: 18px 6px; }
.erth-team__row--m .erth-team__socials { gap: 5px; }
.erth-team__row--m .erth-team__socials .erth-social { width: 29px; height: 29px; }
.erth-team__row--m .erth-team__socials .erth-social svg { width: 13px; height: 13px; }
.erth-team__row--s .erth-team__socials, .erth-team__row--xs .erth-team__socials { gap: 4px; }
.erth-team__row--s .erth-team__socials .erth-social { width: 25px; height: 25px; }
.erth-team__row--xs .erth-team__socials .erth-social { width: 21px; height: 21px; }
.erth-team__row--s .erth-team__socials .erth-social svg { width: 11px; height: 11px; }
.erth-team__row--xs .erth-team__socials .erth-social svg { width: 10px; height: 10px; }
@media (max-width: 767px) {
	.erth-team__socials { gap: 4px; }
	.erth-team__row--m .erth-team__socials .erth-social, .erth-team__row--s .erth-team__socials .erth-social, .erth-team__row--xs .erth-team__socials .erth-social { width: 20px; height: 20px; }
	.erth-team__row--m .erth-team__socials .erth-social svg, .erth-team__row--s .erth-team__socials .erth-social svg, .erth-team__row--xs .erth-team__socials .erth-social svg { width: 10px; height: 10px; }
}
/* Social icons scale with the card so all seven always fit on one line */
.erth-team__card { container-type: inline-size; }
.erth-team__socials { flex-wrap: nowrap; gap: 5px; }
.erth-team__row .erth-team__socials .erth-social { --ic: min(32px, calc((100cqw - 30px) / 7)); width: var(--ic); height: var(--ic); flex: none; }
.erth-team__row .erth-team__socials .erth-social svg { width: calc(var(--ic) * .44); height: calc(var(--ic) * .44); }
@supports not (width: 1cqw) { .erth-team__socials { flex-wrap: wrap; } }

/* ===== v1.8.0 Our Clients ===== */
.erth-clients { --cols: var(--cols-d, 5); --logo: var(--logo-d, 56px); --tile: var(--tile-d, 130px); --inv: 1; padding: clamp(70px, 9vw, 120px) 0; overflow: hidden; }
html[data-theme="light"] .erth-clients { --inv: 0; }
@media (max-width: 1024px) { .erth-clients { --cols: var(--cols-t, 4); --logo: var(--logo-t, 48px); --tile: var(--tile-t, 116px); } }
@media (max-width: 767px) { .erth-clients { --cols: var(--cols-m, 2); --logo: var(--logo-m, 40px); --tile: var(--tile-m, 100px); } }
.erth-cl__head { display: grid; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto clamp(34px, 4.5vw, 54px); }
.erth-cl__title { font-size: clamp(38px, 4.8vw, 72px); margin: 0; }
.erth-cl__title em { color: var(--c-orange); font-style: italic; }
.erth-cl__text { margin: 16px 0 0; max-width: 56ch; }
.erth-cl__grid, .erth-cl__track { list-style: none; margin: 0; padding: 0; }
.erth-cl__grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.erth-cl__item { min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.erth-cl__tile { position: relative; display: grid; place-items: center; height: var(--tile); padding: 14px 18px; border-radius: 16px; text-decoration: none; color: var(--c-heading); transition: border-color .4s, background-color .4s, transform .5s var(--ease); }
.erth-cl--tile-boxed .erth-cl__tile { border: 1px solid var(--c-line); background: color-mix(in srgb, var(--c-heading) 3%, transparent); }
.erth-cl--tile-lines .erth-cl__grid { gap: 0; border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.erth-cl--tile-lines .erth-cl__grid .erth-cl__item { border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.erth-cl--tile-lines .erth-cl__tile { border-radius: 0; }
a.erth-cl__tile:hover { transform: translateY(-3px); }
.erth-cl--tile-boxed a.erth-cl__tile:hover { border-color: color-mix(in srgb, var(--c-orange) 55%, transparent); background: color-mix(in srgb, var(--c-heading) 5%, transparent); }
a.erth-cl__tile:focus-visible { outline: 2px solid var(--c-orange); outline-offset: 3px; }
.erth-cl__logo { display: block; max-width: 100%; max-height: calc(var(--logo) * var(--scale, 1)); width: auto; height: auto; object-fit: contain; transition: filter .5s var(--ease), opacity .5s; }
.erth-cl--c-mono .erth-cl__logo, .erth-cl--c-hover .erth-cl__logo { filter: grayscale(1) brightness(0) invert(var(--inv)); opacity: .82; }
.erth-cl--c-hover a.erth-cl__tile:hover .erth-cl__logo, .erth-cl--c-hover .erth-cl__tile:hover .erth-cl__logo { filter: none; opacity: 1; }
.erth-cl__word { font-family: var(--f-display); font-size: calc(var(--logo) * .5 * var(--scale, 1)); line-height: 1.1; text-align: center; color: var(--c-heading); opacity: .85; overflow-wrap: anywhere; }
.erth-cl__cap { margin: 10px 0 0; display: grid; gap: 2px; text-align: center; }
.erth-cl__name { font-size: 13px; color: var(--c-heading); }
.erth-cl__label { font: 600 9.5px var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--c-muted); }
.erth-cl__note { margin: clamp(22px, 3vw, 34px) 0 0; text-align: center; font-size: 12.5px; color: var(--c-muted); }
/* Scrolling band */
.erth-cl__band { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.erth-cl__track { display: flex; width: max-content; gap: clamp(12px, 1.6vw, 20px); animation: erthClients var(--speed, 40s) linear infinite; }
.erth-cl--rev .erth-cl__track { animation-direction: reverse; }
.erth-cl--pause .erth-cl__band:hover .erth-cl__track, .erth-cl--pause .erth-cl__band:focus-within .erth-cl__track { animation-play-state: paused; }
.erth-cl--scroll .erth-cl__item { width: clamp(150px, calc(var(--tile) * 1.7), 280px); flex: none; }
.erth-cl--scroll.erth-cl--tile-lines .erth-cl__item { border-left: 1px solid var(--c-line); }
@keyframes erthClients { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.erth-cl__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
	.erth-cl__track .erth-cl__item[aria-hidden="true"] { display: none; }
	.erth-cl__band { -webkit-mask-image: none; mask-image: none; }
}
/* Centre an incomplete last row of client logos */
.erth-cl__grid { --gap: clamp(10px, 1.4vw, 18px); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.erth-cl__grid .erth-cl__item { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.erth-cl--tile-lines .erth-cl__grid { --gap: 0px; border: 0; }
.erth-cl--tile-lines .erth-cl__grid .erth-cl__item { border: 1px solid var(--c-line); margin: 0 -1px -1px 0; flex-basis: calc(100% / var(--cols) + 1px); }
.erth-cl--tile-lines .erth-cl__cap { margin: -6px 0 0; padding: 0 10px 18px; }
