/*
 * Palops Studio — front-end styles.
 *
 * Brand rules: dark theme on night with plum surfaces; Palops orange for
 * buttons and highlights; yellow only for small labels; cream for text;
 * Archivo for all type. Surfaces are separated by shade, never by border lines.
 * The orange circle (from the Palops logo letters) is the one graphic motif.
 */

/* ---------- Tokens ---------- */
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Archivo";
	src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-stretch: 62% 125%;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--night: #140D12;
	--night-deep: #0D080B;
	--plum: #2A1022;
	--plum-up: #3A1830;      /* raised surface on plum, hover */
	--orange: #F53D1B;
	--orange-up: #FF5A3A;
	--yellow: #FFC83D;
	--cream: #F7F1F4;
	--muted: #C4B3BD;        /* 9.6:1 on night, 8.3:1 on plum */
	--on-orange: #140D12;    /* 5.0:1 on orange; cream on orange is only 3.3:1 */

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--pad: clamp(20px, 5vw, 48px);
	--max: 1240px;
	--gap: clamp(16px, 2.2vw, 28px);
	--sec: clamp(64px, 9vw, 128px);
	--r-card: 18px;
	--r-media: 14px;
	--hdr: 68px;
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--night);
	color: var(--cream);
	font: 400 1.0625rem/1.55 var(--font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cream); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
::selection { background: var(--orange); color: var(--on-orange); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: calc(820px + 2 * var(--pad)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--cream); color: var(--night); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .statement { font-weight: 800; text-wrap: balance; }
.h1 { font-size: clamp(2.25rem, 5.4vw, 4.25rem); line-height: 1; letter-spacing: -0.025em; font-stretch: 118%; }
.h1--xl { font-size: clamp(2.6rem, 8.4vw, 7.25rem); line-height: 0.92; letter-spacing: -0.035em; font-stretch: 125%; font-weight: 850; max-width: 12ch; }
.h2 { font-size: clamp(1.75rem, 3.9vw, 3.1rem); line-height: 1.04; letter-spacing: -0.02em; font-stretch: 116%; max-width: 22ch; }
.h3 { font-size: 1.25rem; line-height: 1.2; font-weight: 700; font-stretch: 108%; letter-spacing: -0.005em; }
.h3--lg { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--muted); max-width: 58ch; text-wrap: pretty; }
.label { font-size: 0.875rem; font-weight: 600; color: var(--yellow); letter-spacing: 0.01em; margin-bottom: 12px; }
.label--center { text-align: center; margin-bottom: 28px; }
.note { color: var(--muted); font-size: 0.95rem; margin-top: 20px; }
.tlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; white-space: nowrap; }
.tlink:hover { color: var(--orange-up); }
.tlink .icon { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px; border-radius: 99px;
	font-weight: 700; font-stretch: 106%; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
	transition: background-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { background: var(--orange); color: var(--on-orange); }
.btn--primary:hover { background: var(--orange-up); }
.btn--ghost { background: rgba(247, 241, 244, .12); color: var(--cream); }
.btn--ghost:hover { background: rgba(247, 241, 244, .2); }
.btn--dark { background: var(--night); color: var(--cream); }
.btn--dark:hover { background: var(--plum); }
.btn--outline-dark { box-shadow: inset 0 0 0 2px var(--night); color: var(--night); }
.btn--outline-dark:hover { background: rgba(20, 13, 18, .12); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Icon in the orange circle ---------- */
.ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--orange); color: var(--on-orange); flex: none; }
.ico .icon { width: 26px; height: 26px; }
.ico--sm { width: 40px; height: 40px; }
.ico--sm .icon { width: 20px; height: 20px; }

/* ---------- Announcement bar ---------- */
.announce { background: var(--plum); color: var(--cream); font-size: .95rem; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 48px 10px var(--pad); position: relative; text-align: center; }
.announce a { text-decoration: none; font-weight: 600; }
.announce a:hover { text-decoration: underline; }
.announce button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); padding: 6px; }
.announce button .icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(20, 13, 18, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hdr__in { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; flex: none; }
.brand__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--orange); }
.brand__name { font-weight: 850; font-stretch: 122%; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand__sub { font-weight: 400; font-stretch: 122%; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--muted); }
.brand__img { height: 34px; width: auto; }

.nav { margin-right: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__item { position: relative; }
.nav__btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 99px; font-weight: 600; font-size: .97rem; text-decoration: none; white-space: nowrap; }
.nav__btn:hover, .nav__btn[aria-expanded="true"] { background: rgba(247, 241, 244, .1); }
.nav__btn .icon { width: 16px; height: 16px; transition: transform .15s; }
.nav__btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__panel { position: absolute; top: calc(100% + 10px); left: -12px; width: 380px; background: var(--plum); border-radius: var(--r-card); padding: 10px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); display: none; }
.nav__btn[aria-expanded="true"] + .nav__panel { display: block; }
.nav__panel a { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; text-decoration: none; }
.nav__panel a:hover { background: var(--plum-up); }
.nav__panel strong { display: block; font-weight: 700; }
.nav__panel small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.3; }

.hdr__right { display: flex; align-items: center; gap: 20px; flex: none; }
.hdr__right .btn { min-height: 42px; padding: 10px 20px; }
.hdr__right .tlink { font-size: .95rem; text-decoration: none; }
.langs { display: inline-flex; gap: 2px; font-size: .85rem; font-weight: 700; background: rgba(247, 241, 244, .08); border-radius: 99px; padding: 3px; }
.langs a, .langs span { padding: 5px 10px; border-radius: 99px; text-decoration: none; color: var(--muted); }
.langs [aria-current] { background: var(--cream); color: var(--night); }
.langs a:hover { color: var(--cream); }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(247, 241, 244, .1); place-items: center; }
.burger .icon + .icon, .burger[aria-expanded="true"] .icon:first-child { display: none; }
.burger[aria-expanded="true"] .icon + .icon { display: block; }

/* Mobile menu */
.mnav { position: fixed; inset: var(--hdr) 0 0; z-index: 49; background: var(--night); overflow-y: auto; padding-block: 16px 40px; }
.mnav__group summary, .mnav__link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 1.5rem; font-weight: 800; font-stretch: 116%; letter-spacing: -0.015em; text-decoration: none; list-style: none; cursor: pointer; }
.mnav__group summary::-webkit-details-marker { display: none; }
.mnav__group[open] summary .icon { transform: rotate(180deg); }
.mnav__group ul { padding-bottom: 12px; }
.mnav__group li a { display: block; padding: 12px 16px; border-radius: 12px; text-decoration: none; background: var(--plum); margin-bottom: 6px; }
.mnav__group strong { display: block; }
.mnav__group small { color: var(--muted); }
.mnav__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.mnav__foot .btn { flex: 1 1 100%; }
body.menu-open { overflow: hidden; }

@media (max-width: 1120px) {
	.nav, .hdr__right > .tlink { display: none; }
	.hdr__in { justify-content: space-between; }
	.burger { display: grid; }
}
@media (max-width: 520px) {
	.hdr__in { gap: 12px; }
	.hdr__right { gap: 8px; }
	.hdr__right > .langs { display: none; }
	.hdr__right .btn { min-height: 40px; padding: 8px 14px; font-size: .875rem; }
	.brand { gap: 6px; }
	.brand__dot { width: 18px; height: 18px; }
	.brand__name, .brand__sub { font-size: 1.05rem; }
	.brand__img { height: 28px; }
}
@media (max-width: 374px) { .hdr__right .btn { display: none; } }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec--plum { background: var(--plum); }
.sec__head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec__head .lede { margin-top: 16px; }
.sec__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.sec__row .sec__head { margin-bottom: 0; }
.grid { display: grid; gap: var(--gap); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.grid--2 { --cols: 2; } .grid--3 { --cols: 3; } .grid--4 { --cols: 4; } .grid--1 { --cols: 1; }
@media (max-width: 960px) { .grid--3, .grid--4 { --cols: 2; } }
@media (max-width: 620px) { .grid { --cols: 1 !important; } }

/* ---------- Media and placeholders ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r-media); background: var(--plum); width: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--article { margin-block: 32px; aspect-ratio: 16 / 9; }
.ph { display: grid; place-items: center; background: radial-gradient(120% 90% at 85% 0%, rgba(245, 61, 27, .34), transparent 60%), var(--plum-up); }
.sec:not(.sec--plum) .ph { background: radial-gradient(120% 90% at 85% 0%, rgba(245, 61, 27, .3), transparent 60%), var(--plum); }
.ph__dots { display: flex; gap: 4%; width: 62%; justify-content: center; }
.ph__dots i { flex: 1; aspect-ratio: 1; border-radius: 50%; background: rgba(247, 241, 244, .07); }
.ph__label { position: absolute; left: 10px; bottom: 10px; right: 10px; font-size: .75rem; color: var(--muted); background: rgba(20, 13, 18, .7); padding: 4px 8px; border-radius: 6px; width: fit-content; }

/* ---------- Home hero ---------- */
.sec--hero-home { position: relative; padding: 0; min-height: min(88svh, 880px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img, .hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__bg video { opacity: 0; transition: opacity .6s; }
.hero__bg video.is-on { opacity: 1; }
.hero__lights {
	position: absolute; inset: 0;
	background:
		conic-gradient(from 196deg at 78% -8%, transparent 0deg, rgba(255, 200, 61, .16) 7deg, transparent 15deg, transparent 24deg, rgba(245, 61, 27, .3) 33deg, transparent 46deg),
		conic-gradient(from 128deg at 16% -10%, transparent 0deg, rgba(245, 61, 27, .2) 10deg, transparent 22deg),
		radial-gradient(70% 90% at 80% -10%, rgba(245, 61, 27, .5), transparent 62%),
		radial-gradient(60% 80% at 10% 0%, rgba(120, 30, 90, .55), transparent 65%),
		var(--night);
}
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, var(--night) 4%, rgba(20, 13, 18, .72) 42%, rgba(20, 13, 18, .18) 100%); }
.hero__content { padding-block: clamp(120px, 20vh, 220px) clamp(48px, 8vh, 88px); }
.lede--hero { color: var(--cream); margin-top: 24px; max-width: 46ch; font-size: clamp(1.1rem, 1.9vw, 1.45rem); }

/* ---------- Page hero ---------- */
.sec--hero { padding-block: clamp(48px, 7vw, 96px) var(--sec); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__grid--solo { grid-template-columns: 1fr; }
.hero__grid--solo .h1 { max-width: 18ch; }
.hero__text .lede { margin-top: 20px; }
.sec--hero + .sec:not(.sec--plum) { padding-top: 0; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } }

/* ---------- Statement ---------- */
.statement { font-size: clamp(2rem, 6.2vw, 5.25rem); line-height: .98; letter-spacing: -0.03em; font-stretch: 122%; max-width: 16ch; }
.statement em { font-style: normal; color: var(--orange); }
.statement__lines { margin-top: clamp(28px, 4vw, 48px); margin-left: auto; max-width: 52ch; display: grid; gap: 14px; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; color: var(--muted); }

/* ---------- Logo strip ---------- */
.sec--logos { padding-block: 0 var(--sec); }
.logos { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent); }
.logos__track { display: flex; align-items: center; gap: 64px; padding-right: 64px; flex: none; animation: logos 48s linear infinite; }
.logos img { height: 38px; width: auto; max-width: 160px; object-fit: contain; filter: brightness(0) invert(.95) sepia(.08); }
@keyframes logos { to { transform: translateX(-100%); } }

/* ---------- Solution cards ---------- */
.sols { display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sol, .card { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--plum); border-radius: var(--r-card); padding: clamp(22px, 2.4vw, 32px); text-decoration: none; }
.sec--plum .sol, .sec--plum .card { background: rgba(20, 13, 18, .55); }
.sol { min-height: 260px; }
.sol .ico, .card > .ico { margin-bottom: auto; }
.sol .h3, .card > .ico + .h3 { margin-top: 28px; }
.sol p, .card p { color: var(--muted); }
.sol p { min-height: 3.1em; }
.sol__go { position: absolute; top: clamp(22px, 2.4vw, 32px); right: clamp(22px, 2.4vw, 32px); color: var(--muted); transition: transform .2s, color .2s; }
a.sol:hover, a.card:hover { background: var(--plum-up); }
a.sol:hover .sol__go, a.card:hover .sol__go { transform: translateX(4px); color: var(--orange); }
@media (max-width: 1020px) { .sols, .sols--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .sols, .sols--2, .sols--3 { grid-template-columns: 1fr; } .sol { min-height: 0; } .sol .h3 { margin-top: 20px; } .sol p { min-height: 0; } }

.card--problem { padding-top: clamp(28px, 3vw, 40px); }
.card--problem::before { content: ""; width: 36px; height: 4px; border-radius: 4px; background: var(--orange); margin-bottom: 14px; }
.card--check { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
.card--check > .ico { margin: 0; }
.card--check > .ico + .h3 { flex: 1; margin-top: 0; }
.card--check p { flex-basis: 100%; }
.card--photo { padding: 0; background: none !important; gap: 14px; }

/* ---------- Flow: circles on one orange line ---------- */
.flow { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: var(--gap); counter-reset: step; position: relative; }
.flow--3 { --n: 3; }
.flow::before { content: ""; position: absolute; top: 27px; left: 28px; right: calc(100% / var(--n, 4) - 28px - var(--gap) / var(--n, 4)); height: 2px; background: var(--orange); }
.flow__step { position: relative; counter-increment: step; display: grid; gap: 8px; align-content: start; padding-right: 12px; }
.flow__step .ico { margin-bottom: 20px; box-shadow: 0 0 0 10px var(--night); }
.sec--plum .flow__step .ico { box-shadow: 0 0 0 10px var(--plum); }
.flow__step .h3::before { content: counter(step) ". "; color: var(--yellow); }
.flow__step p { color: var(--muted); }
@media (max-width: 760px) {
	.flow { grid-template-columns: 1fr; gap: 28px; }
	.flow::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 2px; height: auto; }
	.flow__step { grid-template-columns: 56px 1fr; column-gap: 18px; align-items: center; padding: 0; }
	.flow__step .ico { margin: 0; grid-row: span 2; }
	.flow__step .h3:last-child { grid-row: span 2; }
}

/* ---------- Cases, articles ---------- */
.cases { display: grid; gap: clamp(24px, 3vw, 40px) var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.case { display: grid; gap: 6px; text-decoration: none; align-content: start; }
.case .media { margin-bottom: 12px; }
.case .media img { transition: transform .5s; }
.case:hover .media img { transform: scale(1.04); }
.case__meta { color: var(--muted); font-size: .95rem; }
.cases + .btns { margin-top: clamp(32px, 5vw, 56px); }
@media (max-width: 900px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Stats: big orange numerals ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--gap); margin-bottom: clamp(40px, 6vw, 72px); }
.icongrid + .stats, .stats + .stats { margin-top: clamp(40px, 6vw, 72px); margin-bottom: 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.stat dd { font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: .95; font-weight: 850; font-stretch: 125%; letter-spacing: -0.03em; color: var(--orange); order: 3; }
.stat dt { color: var(--cream); font-weight: 600; order: 2; }
.stat small, .stat .tlink { color: var(--muted); font-size: .85rem; order: 1; width: fit-content; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 64px); }
.quote blockquote { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.3; font-weight: 600; font-stretch: 106%; letter-spacing: -0.01em; text-wrap: pretty; }
.quote blockquote::before { content: ""; display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--orange); margin-bottom: 20px; }
.quote--big blockquote { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: 24px; color: var(--muted); }
.quote figcaption img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: var(--cream); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--flip .split__media { order: -1; }
.split__text .lede { margin-top: 16px; }
.split__media { display: grid; gap: var(--gap); }
.feats { display: grid; gap: 22px; margin-top: 32px; }
.feats li { display: flex; gap: 16px; align-items: flex-start; }
.feats strong { display: block; font-weight: 700; }
.feats span:not(.ico) { color: var(--muted); }
.ticks { display: grid; gap: 14px; margin-top: 28px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.1rem; }
.ticks .icon { color: var(--orange); flex: none; margin-top: 2px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip .split__media { order: 0; } }

/* ---------- Icon grid ---------- */
.icongrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) var(--gap); }
.icongrid li { display: grid; gap: 8px; align-content: start; }
.icongrid .ico { margin-bottom: 12px; }
.icongrid p { color: var(--muted); max-width: 34ch; }
@media (max-width: 860px) { .icongrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .icongrid { grid-template-columns: 1fr; } .icongrid li { grid-template-columns: 56px 1fr; column-gap: 16px; } .icongrid .ico { grid-row: span 2; margin: 0; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 8px; }
.faq__item { background: rgba(20, 13, 18, .55); border-radius: 14px; }
.sec:not(.sec--plum) .faq__item { background: var(--plum); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary small { color: var(--muted); font-weight: 400; margin-left: 8px; }
.faq__item summary .icon { flex: none; transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item > p, .faq__item > .prose { padding: 0 24px 22px; color: var(--muted); max-width: 64ch; }
.spont { margin-top: 48px; display: grid; gap: 10px; justify-items: start; }
.spont p { color: var(--muted); }
.spont .btn { margin-top: 10px; }

/* ---------- Tabs and chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: rgba(247, 241, 244, .1); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; }
a.chip:hover, button.chip:hover { background: rgba(247, 241, 244, .2); }
.chip .icon { width: 18px; height: 18px; color: var(--orange); }
.chip.is-on { background: var(--cream); color: var(--night); }
.chips--filter { margin-bottom: 40px; }
.tabs__list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 28px; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__list button { flex: none; padding: 11px 18px; border-radius: 99px; background: rgba(20, 13, 18, .55); font-weight: 600; white-space: nowrap; }
.tabs__list button[aria-selected="true"] { background: var(--orange); color: var(--on-orange); }
.tabs__panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; background: rgba(20, 13, 18, .55); border-radius: var(--r-card); padding: clamp(24px, 4vw, 48px); margin-bottom: 16px; }
.tabs__text .lede { margin-top: 12px; color: var(--cream); }
.tabs__text .label { margin-top: 28px; }
@media (max-width: 860px) { .tabs__panel { grid-template-columns: 1fr; } }

/* ---------- Mock-ups ---------- */
.tag-ex { display: inline-block; background: var(--yellow); color: var(--night); font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.phones { display: flex; align-items: flex-start; justify-content: center; gap: 5%; padding-inline: 4%; }
.phone { flex: 0 1 44%; background: #000; border-radius: clamp(22px, 3vw, 34px); padding: 7px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5); }
.phone:last-child { margin-top: 12%; }
.phone img, .phone .media { border-radius: clamp(16px, 2.4vw, 27px); width: 100%; aspect-ratio: 9 / 19; object-fit: cover; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-media); overflow: hidden; background: var(--night); box-shadow: 0 30px 70px rgba(0, 0, 0, .45); }
.player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.player__ad { position: absolute; top: 5%; left: 4%; background: var(--yellow); color: var(--night); font-weight: 700; font-size: .8rem; padding: 4px 10px; border-radius: 6px; }
.player__zone { position: absolute; right: 4%; bottom: 14%; width: 30%; aspect-ratio: 16 / 7; display: grid; place-items: center; text-align: center; border-radius: 10px; background: rgba(20, 13, 18, .6); outline: 2px dashed var(--yellow); outline-offset: -2px; font-size: clamp(.65rem, 1.3vw, .85rem); font-weight: 600; padding: 4px; }
.player__bar { position: absolute; left: 4%; right: 4%; bottom: 6%; height: 4px; border-radius: 4px; background: rgba(247, 241, 244, .25); }
.player__bar i { position: absolute; inset: 0 72% 0 0; background: var(--orange); border-radius: 4px; }
.player__bar b { position: absolute; top: -3px; width: 4px; height: 10px; border-radius: 2px; background: var(--yellow); }
.player .tag-ex { position: absolute; top: 5%; right: 4%; }
.sheet { background: var(--plum); border-radius: var(--r-card); padding: clamp(22px, 3vw, 36px); box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.sec--plum .sheet { background: var(--night); }
.sheet__top { display: flex; justify-content: space-between; align-items: center; }
.sheet__big { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 850; font-stretch: 122%; letter-spacing: -0.03em; line-height: 1; margin-block: 22px 26px; }
.sheet__big small { display: block; font-size: .9rem; font-weight: 400; font-stretch: 100%; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.sheet ul { display: grid; gap: 14px; }
.sheet li { display: grid; grid-template-columns: 110px 1fr 70px; gap: 12px; align-items: center; font-size: .95rem; }
.sheet li span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.sheet li i { height: 8px; border-radius: 8px; background: rgba(247, 241, 244, .1); }
.sheet li b { display: block; height: 100%; border-radius: 8px; background: var(--orange); }
.sheet__foot { margin-top: 22px; color: var(--muted); font-size: .9rem; }

/* ---------- Reports, people, timeline ---------- */
.reports { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.report { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: center; background: var(--plum); border-radius: var(--r-card); padding: 24px; }
.report p { color: var(--muted); margin-block: 8px 16px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: clamp(28px, 4vw, 48px) var(--gap); }
.person { display: grid; gap: 6px; align-content: start; }
.person .media { margin-bottom: 12px; }
.person__role { color: var(--yellow); font-size: .95rem; font-weight: 600; }
.person p:not(.person__role) { color: var(--muted); }
.timeline { display: grid; gap: 0; border-left: 2px solid var(--orange); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 28px 28px; display: grid; gap: 4px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); }
.timeline time { color: var(--yellow); font-weight: 600; font-size: .9rem; }
.boiler { background: rgba(20, 13, 18, .55); border-radius: var(--r-card); padding: clamp(24px, 3vw, 40px); }

/* ---------- Forms ---------- */
.hp { position: absolute; left: -9999px; }
.form label, .intents legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.form .opt { color: var(--muted); font-weight: 400; }
.form input:not([type="radio"]), .form select, .form textarea {
	width: 100%; font: inherit; color: var(--cream); background: rgba(247, 241, 244, .08);
	border: 0; border-radius: 12px; padding: 14px 16px; min-height: 52px;
}
.form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F7F1F4' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.form select option { background: var(--plum); color: var(--cream); }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--orange); outline-offset: 0; background: rgba(247, 241, 244, .12); }
.form ::placeholder { color: var(--muted); opacity: .8; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field--wide { grid-column: 1 / -1; }
.intents { border: 0; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.intents legend { width: 100%; padding: 0; margin-bottom: 12px; }
.intent { margin: 0 !important; cursor: pointer; }
.intent input { position: absolute; opacity: 0; }
.intent span { display: inline-block; padding: 10px 18px; border-radius: 99px; background: rgba(247, 241, 244, .1); font-weight: 600; }
.intent input:checked + span { background: var(--orange); color: var(--on-orange); }
.intent input:focus-visible + span { outline: 2px solid var(--cream); outline-offset: 3px; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form__promise { color: var(--muted); font-size: .95rem; }
.notice { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-weight: 600; }
.notice--ok { background: #12392A; color: #8BEBB9; }
.notice--err { background: #4A1418; color: #FFA89C; }
.formwrap { margin-top: 32px; scroll-margin-top: calc(var(--hdr) + 24px); }
@media (max-width: 620px) { .fields { grid-template-columns: 1fr; } }

/* Contact */
.sec--contact { padding-top: clamp(48px, 7vw, 96px); }
.sec--contact .lede { margin-top: 16px; }
.paths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-block: clamp(32px, 5vw, 56px); }
.path { display: flex; align-items: center; gap: 16px; background: var(--plum); border-radius: var(--r-card); padding: 20px 24px; text-decoration: none; font-weight: 700; font-size: 1.15rem; font-stretch: 108%; }
.path:hover { background: var(--plum-up); }
.path.is-on { box-shadow: inset 0 0 0 2px var(--orange); }
.contact { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact .formwrap { margin-top: 0; }
.contact__aside { background: var(--plum); border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); display: grid; gap: 20px; }
.contactlist { display: grid; gap: 14px; }
.contactlist li { display: flex; gap: 12px; align-items: center; }
.contactlist .icon { color: var(--orange); flex: none; }
.contactlist a { text-decoration: none; }
.contactlist a:hover { text-decoration: underline; }
@media (max-width: 860px) { .paths, .contact { grid-template-columns: 1fr; } }

/* ---------- Closing band ---------- */
.band { background: var(--orange); color: var(--night); padding-block: clamp(56px, 8vw, 104px); }
.band .h1 { max-width: 18ch; }
.band .lede { color: var(--night); margin-top: 16px; font-weight: 500; }
.band :focus-visible { outline-color: var(--night); }

/* ---------- Footer ---------- */
.ftr { background: var(--night-deep); padding-block: clamp(48px, 7vw, 88px) 32px; font-size: .97rem; }
.ftr__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px var(--gap); }
.ftr__cols ul { display: grid; gap: 10px; }
.ftr a { text-decoration: none; color: var(--muted); }
.ftr a:hover { color: var(--cream); }
.ftr__cols li { color: var(--muted); }
.ftr__mid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-block: clamp(40px, 6vw, 72px) 40px; scroll-margin-top: calc(var(--hdr) + 24px); }
.ftr__nl { flex: 1 1 360px; max-width: 480px; }
.nl { display: flex; gap: 8px; }
.nl input { flex: 1; min-width: 0; }
.ftr__links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.ftr__links .tlink { color: var(--cream); }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(247, 241, 244, .08); color: var(--cream); }
.social a:hover { background: var(--orange); color: var(--on-orange); }
.ftr__base { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 28px; box-shadow: inset 0 1px 0 rgba(247, 241, 244, .08); color: var(--muted); font-size: .9rem; }
.ftr__base p { margin-right: auto; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; }
@media (max-width: 960px) { .ftr__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ftr__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .nl { flex-direction: column; } }

/* ---------- Case page, article, prose ---------- */
.casepage .sec--hero .h1, .sec--article .h1 { margin-top: 20px; max-width: 20ch; }
.casepage .sec--hero .lede { margin-top: 14px; }
.casepage__logo { height: 44px; width: auto; margin-top: 24px; }
.casepage__cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 88px); }
.casepage__cols .lede { color: var(--cream); }
.casepage__video { width: 100%; border-radius: var(--r-media); background: #000; aspect-ratio: 16 / 9; margin-block: 32px; }
.casepage .sec .h2 { margin-bottom: 32px; }
@media (max-width: 760px) { .casepage__cols { grid-template-columns: 1fr; } }

.sec--article { padding-top: clamp(40px, 6vw, 72px); }
.sec--article .case__meta { margin-top: 14px; }
.prose { font-size: 1.125rem; line-height: 1.65; max-width: 68ch; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 1.75rem; line-height: 1.15; font-weight: 800; font-stretch: 112%; letter-spacing: -0.015em; margin-top: 2em; }
.prose h3 { font-size: 1.3rem; line-height: 1.2; font-weight: 700; margin-top: 1.8em; }
.prose a { text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange); }
.prose blockquote { padding-left: 20px; box-shadow: inset 3px 0 0 var(--orange); color: var(--muted); font-size: 1.25rem; }
.prose img, .prose figure { border-radius: var(--r-media); }
.prose figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; }
.prose tr:nth-child(even) td { background: var(--plum); }
.prose--gallery { max-width: none; }
.prose--gallery .wp-block-gallery { gap: 12px; }
.sec--404 { min-height: 60vh; display: grid; align-items: center; }
.sec--404 .lede { margin-top: 20px; }
.nav-links { display: flex; gap: 8px; margin-top: 48px; }
.nav-links .page-numbers { padding: 8px 14px; border-radius: 99px; background: var(--plum); text-decoration: none; }
.nav-links .current { background: var(--orange); color: var(--on-orange); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---------- Motion: one gentle fade-in, nothing else ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .sec:not(.sec--hero-home):not(.sec--hero) > .wrap { opacity: 0; transition: opacity .6s ease; }
	.js .sec.is-in > .wrap { opacity: 1 !important; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.logos { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
	.logos__track { animation: none; flex-wrap: wrap; justify-content: center; row-gap: 28px; }
	.logos__track[aria-hidden] { display: none; }
	* { transition: none !important; }
}
