/* 181 Media shared styles: generated from the home page, edit the sources, not this file. */

/* Self-hosted (GDPR): latin-ext carries č ć đ š ž */
@font-face { font-family: 'Gabarito'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/gabarito-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Gabarito'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/gabarito-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/onest-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/onest-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


@layer tokens, base, atoms, layout, sections, scenes;


@layer tokens {
:root {
  --color-1: #0d0c11;
  --color-2: #ffffff;
  --color-3: #fcca73;
  --color-4: #efeef4;
  --color-5: #aaa7b4;
  --color-6: #4f4c59;
  --color-7: #1f1d26;
  --font-1: "Gabarito", "Gabarito Fallback", "Arial Black", Arial, sans-serif;
  --font-2: "Onest", "Onest Fallback", Arial, sans-serif;
  --radius-1: 28px;
  --radius-2: 999px;
  --radius-3: 14px;
  --shadow-1: 0 -18px 50px color-mix(in srgb, var(--color-1) 45%, transparent);
  --shadow-2: 0 2px 0 var(--color-1);
  --shadow-3: 0 0 0 2px var(--color-1);
  --space-1: clamp(16px, 3.4vw, 48px);
  --space-2: clamp(96px, 15vh, 200px);
}
}


@font-face { font-family: "Gabarito Fallback"; src: local("Arial Black"), local("Arial-Black"), local("Arial Bold"); font-weight: 800 1000; size-adjust: 79.7%; ascent-override: 117.9%; descent-override: 32.6%; line-gap-override: 0%; }
@font-face { font-family: "Gabarito Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); font-weight: 550 799; size-adjust: 92.5%; ascent-override: 101.7%; descent-override: 28.1%; line-gap-override: 0%; }
@font-face { font-family: "Onest Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica"); font-weight: 100 549; size-adjust: 106.2%; ascent-override: 91.4%; descent-override: 29.2%; line-gap-override: 0%; }
@font-face { font-family: "Onest Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); font-weight: 550 799; size-adjust: 101.9%; ascent-override: 95.2%; descent-override: 30.4%; line-gap-override: 0%; }
@layer base {
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--color-2); color: var(--color-1); overflow-x: clip; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--color-1); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
main { overflow-x: clip; }
.skip { position: fixed; left: var(--space-1); top: 12px; z-index: 100; padding: 10px 16px; border-radius: var(--radius-2); background: var(--color-2); color: var(--color-1); font-family: var(--font-2); font-size: 15px; font-weight: 600; text-decoration: none; transform: translateY(-160%); }
.skip:focus-visible { transform: none; }
}


@layer atoms {
.m-text { font-family: var(--font-2); font-size: 17px; font-weight: 400; line-height: 1.55; letter-spacing: 0; text-transform: none; font-style: normal; }
.m-text-2 { font-family: var(--font-1); font-size: min(40vw, calc((100vw - 2 * var(--space-1)) / (var(--len, 5) * 0.47))); font-weight: 800; line-height: 0.8; letter-spacing: -0.065em; text-transform: none; font-style: normal; }
.m-text-3 { font-family: var(--font-1); font-size: clamp(50px, 9.2vw, 150px); font-weight: 800; line-height: 0.88; letter-spacing: -0.055em; text-transform: none; font-style: normal; }
.m-text-4 { font-family: var(--font-1); font-size: clamp(30px, 3.9vw, 58px); font-weight: 700; line-height: 0.96; letter-spacing: -0.04em; text-transform: none; font-style: normal; }
.m-text-5 { font-family: var(--font-2); font-size: clamp(19px, 1.7vw, 25px); font-weight: 500; line-height: 1.28; letter-spacing: -0.015em; text-transform: none; font-style: normal; }
.m-text-6 { font-family: var(--font-2); font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: 0.01em; text-transform: none; font-style: normal; }
.m-text-7 { font-family: var(--font-1); font-size: clamp(22px, 2.05vw, 30px); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; text-transform: none; font-style: normal; }
.m-dot { display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.035em; border-radius: var(--radius-2); background: var(--color-3); vertical-align: baseline; }
.m-btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 18px; overflow: hidden; border: 0; border-radius: var(--radius-2); background: radial-gradient(circle at 22px 50%, var(--btn-ink, var(--color-1)) var(--btn-r), var(--color-3) var(--btn-r)); color: var(--color-1); font-family: var(--font-2); font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: color .35s, --btn-r .5s cubic-bezier(.7, 0, .2, 1); }
.m-btn::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: var(--radius-2); background: currentColor; }
.m-btn::after { content: ""; position: absolute; z-index: -1; left: 22px; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: var(--radius-2); background: var(--color-1); transform: scale(0); transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.m-btn__label { position: relative; }
@media (hover: hover) { .m-btn:hover { color: var(--color-2); --btn-r: 320px; } }
.m-btn-2 { position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px 0 18px; overflow: hidden; border: 0; border-radius: var(--radius-2); background: var(--color-2); color: var(--color-1); font-family: var(--font-2); font-size: 16px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; text-decoration: none; cursor: pointer; transition: color .35s; }
.m-btn-2::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: var(--radius-2); background: var(--color-3); }
.m-btn-2::after { content: ""; position: absolute; z-index: -1; left: 22px; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: var(--radius-2); background: var(--color-1); transform: scale(0); transition: transform .5s cubic-bezier(.7, 0, .2, 1); }
.m-btn-2 .m-btn__label { position: relative; }
@media (hover: hover) { .m-btn-2:hover { color: var(--color-2); } .m-btn-2:hover::after { transform: scale(60); } }
.m-link { display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--font-2); font-size: clamp(17px, 1.45vw, 21px); font-weight: 600; line-height: 1.2; letter-spacing: -0.015em; text-decoration: none; }
.m-link__label { position: relative; padding-block: 3px; }
.m-link__label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: var(--radius-2); background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.m-link__arrow { width: 0.8em; height: 0.8em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
@media (hover: hover) { .m-link:hover .m-link__label::after { transform: scaleX(1); } .m-link:hover .m-link__arrow { transform: translateX(4px); } }
.m-link-2 { position: relative; display: inline-block; padding-block: 4px; font-family: var(--font-2); font-size: 15px; font-weight: 500; line-height: 1.2; letter-spacing: -0.005em; text-decoration: none; }
.m-link-2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; border-radius: var(--radius-2); background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
@media (hover: hover) { .m-link-2:hover::after { transform: scaleX(1); } }
.m-icon { position: relative; isolation: isolate; display: inline-grid; place-items: center; width: 48px; height: 48px; flex: none; padding: 0; border: 1.5px solid currentColor; border-radius: var(--radius-2); background: transparent; color: inherit; cursor: pointer; transition: color .35s; }
.m-icon::after { content: ""; position: absolute; inset: 3px; z-index: -1; border-radius: var(--radius-2); background: var(--color-3); transform: scale(0); transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.m-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (hover: hover) { .m-icon:hover { color: var(--color-1); } .m-icon:hover::after { transform: scale(1); } }
.m-surface { border-radius: var(--radius-1); background: var(--color-4); color: var(--color-1); }
.m-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid color-mix(in srgb, currentColor 32%, transparent); border-radius: var(--radius-2); font-family: var(--font-2); font-size: 13px; font-weight: 500; line-height: 1; letter-spacing: 0; text-transform: none; font-style: normal; white-space: nowrap; }
.m-field { display: block; width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 1.5px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: 0; background: transparent; color: inherit; font-family: var(--font-2); font-size: 17px; font-weight: 400; line-height: 1.4; letter-spacing: 0; text-transform: none; font-style: normal; }
.m-field:focus-visible { outline: none; border-bottom-color: var(--color-1); box-shadow: var(--shadow-2); }
textarea.m-field { min-height: 112px; resize: vertical; }
}


@layer sections {
#navigation { position: fixed; z-index: 40; inset: 0 0 auto; display: flex; align-items: center; gap: 12px; padding: 14px var(--space-1); pointer-events: none; }
#navigation > * { pointer-events: auto; }
#navigation .nav__brand { display: inline-flex; align-items: baseline; min-height: 48px; padding: 9px 18px 0; border-radius: var(--radius-2); background: var(--color-1); color: var(--color-2); font-family: var(--font-1); font-size: 25px; font-weight: 800; line-height: 1.2; letter-spacing: -0.05em; text-decoration: none; }
#navigation .nav__links { margin-inline: auto; padding: 0 8px; border-radius: var(--radius-2); background: var(--color-1); color: var(--color-2); }
#navigation .nav__links ul { display: flex; }
#navigation .nav__cta { box-shadow: var(--shadow-3); }
#navigation .nav__links a { display: block; margin: 0 14px; padding-block: 14px; }
#navigation .nav__links a::after { bottom: 10px; }
#navigation .nav__menu { display: none; margin-left: auto; }
#navigation .menu { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; padding: 14px var(--space-1) 32px; background: var(--color-1); color: var(--color-2); overflow-y: auto; }
#navigation .menu[hidden] { display: none; }
#navigation .menu__top { display: flex; justify-content: flex-end; }
#navigation .menu__list { align-self: center; display: grid; gap: 6px; }
#navigation .menu__list a { font-family: var(--font-1); font-size: clamp(42px, 13vw, 72px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; text-decoration: none; }
#navigation .menu__foot { color: var(--color-5); }
@media (max-width: 899px) {
  #navigation .nav__links, #navigation .nav__cta { display: none; }
  #navigation .nav__menu { display: inline-flex; }
}
}


@layer sections {
#footer { --ap: min(30vw, 44svh); position: relative; padding: clamp(80px, 12vh, 140px) var(--space-1) 28px; background: var(--color-1); color: var(--color-2); overflow: clip; }
#footer .footer__bye { position: relative; padding-top: var(--ap); white-space: nowrap; font-size: min(36vw, 40svh); }
#footer .footer__word { display: inline-block; }
#footer .footer__period { position: relative; display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.035em; vertical-align: baseline; }
#footer .footer__aperture { position: absolute; left: 0; bottom: 0; width: var(--ap); height: var(--ap); overflow: hidden; border-radius: var(--radius-2); background: var(--color-3); transform-origin: 0 100%; }
#footer .footer__img { width: 100%; height: 100%; object-fit: cover; }
#footer .footer__tint { position: absolute; inset: 0; background: var(--color-3); opacity: 0; }
#footer .footer__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; margin-top: clamp(48px, 9vh, 96px); padding-top: 32px; border-top: 1px solid color-mix(in srgb, var(--color-2) 16%, transparent); }
#footer .footer__col { display: grid; align-content: start; gap: 6px; }
#footer .footer__label { margin-bottom: 8px; color: var(--color-5); }
#footer .footer__news { grid-column: 1 / -1; display: grid; gap: 14px; }
#footer .footer__field { display: flex; align-items: center; gap: 12px; }
#footer .footer__field .m-field { flex: 1; }
#footer .footer__note { color: var(--color-5); }
#footer .footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; color: var(--color-5); }
@media (min-width: 900px) {
  #footer .footer__bye { font-size: min(24vw, 40svh); }
  #footer .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 2fr); }
  #footer .footer__news { grid-column: auto; }
}
@media (prefers-reduced-motion: no-preference) {
}
}

@property --btn-r { syntax: '<length>'; inherits: false; initial-value: 0px; }
@layer sections {
.m-btn::after { display: none; }
.m-btn { height: 48px; }
#footer .m-btn { --btn-ink: var(--color-2); }
#footer .m-btn:hover { color: var(--color-1); }
#navigation::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#navigation .nav__cta { box-shadow: none; }
#navigation .nav__cta::before { background: var(--color-3); }
@media (max-width: 899px) { .m-link { min-height: 44px; } #contact dd a { display: inline-block; padding-block: 11px; } }
#footer .footer__credit { display: inline-flex; align-items: center; gap: 10px; }
#footer .footer__credit svg { flex: none; color: var(--color-2); }
.m-btn { --btn-ink: var(--color-2); }
.m-btn::before { background: var(--color-1); }
@media (hover: hover) { .m-btn:hover { color: var(--color-1); } }
:is(#about, #contact, .list, .plain, #navigation) .m-btn { background: radial-gradient(circle at 22px 50%, var(--color-3) var(--btn-r), var(--color-1) var(--btn-r)); color: var(--color-2); }
:is(#about, #contact, .list, .plain, #navigation) .m-btn::before { background: var(--color-3); }
@media (hover: hover) { :is(#about, #contact, .list, .plain, #navigation) .m-btn:hover { color: var(--color-1); } }
.band .m-btn { background: radial-gradient(circle at 22px 50%, var(--color-2) var(--btn-r), var(--color-1) var(--btn-r)); color: var(--color-2); }
.band .m-btn::before { background: var(--color-2); }
@media (hover: hover) { .band .m-btn:hover { color: var(--color-1); } }
@media (hover: hover) { :is(#about, #contact, .list, .plain, #navigation) .m-btn:hover::before, .band .m-btn:hover::before { background: var(--color-1); } }
#navigation .menu__top { justify-content: space-between; align-items: center; }
#navigation .menu__logo { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; }
#navigation .menu__logo svg { width: 44px; height: 44px; }
#navigation .nav__brand { flex: none; white-space: nowrap; }
#navigation .nav__menu { flex: none; white-space: nowrap; }
#navigation .nav__menu::after { display: none; }
#navigation .menu__foot a { display: inline-block; padding-block: 12px; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
#navigation .nav__menu { transition: background-color .25s; }
@media (hover: hover) { #navigation .nav__menu:hover { background: var(--color-4); color: var(--color-1); } }
@media (max-width: 899px) { #navigation .nav__brand { min-height: 44px; padding: 8px 14px 0; font-size: 20px; } #navigation .nav__menu { min-height: 44px; padding: 0 18px 0 14px; font-size: 15px; } }
#navigation :focus-visible { outline: 3px solid var(--color-2); outline-offset: 0; box-shadow: 0 0 0 6px var(--color-1); }
#footer :focus-visible, .ph :focus-visible { outline-color: var(--color-3); }
#footer .footer__cta { grid-column: 1 / -1; display: grid; justify-items: start; gap: 14px; }
#footer .footer__cta p.m-text { color: var(--color-5); }
#footer .footer__col address { font-style: normal; font-family: var(--font-2); font-size: 15px; line-height: 1.45; color: var(--color-5); }
@media (min-width: 900px) { #footer .footer__cta { grid-column: auto; } }
@media (max-width: 899px) { #footer .footer__col a.m-link-2 { display: flex; align-items: center; min-height: 44px; padding-block: 0; } #footer .footer__col a.m-link-2::after { bottom: 8px; } }
#footer { padding-top: clamp(64px, 9vh, 110px); }
.intro { position: fixed; inset: 0; z-index: 300; width: 100%; height: 100%; display: none; background: #0d0c11; }
html.is-intro .intro { display: block; }
html.is-intro { overflow: hidden; }
html.is-intro .ph__in { animation-play-state: paused; }

/* ---------- page header ---------- */
body { background: var(--color-2); }
.wrap { padding-inline: var(--space-1); }
.ph { position: relative; padding: clamp(120px, 19vh, 190px) var(--space-1) clamp(48px, 9vh, 100px); background: var(--color-1); color: var(--color-2); overflow: clip; }
.ph__in { max-width: 1500px; animation: ph-rise .9s cubic-bezier(.16, .84, .24, 1) both; }
@keyframes ph-rise { from { opacity: 0; translate: 0 26px; } }
@media (prefers-reduced-motion: reduce) { .ph__in { animation: none; } }
.ph__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 26px; color: var(--color-5); }
.ph__crumbs a { color: inherit; text-decoration: none; }
.ph__crumbs a:hover { color: var(--color-2); }
.ph__badge { color: var(--color-2); }
.ph h1 { font-size: clamp(48px, 9vw, 150px); }
.ph__lead { max-width: 40rem; margin-top: 26px; color: var(--color-5); }
.ph__meta { display: flex; flex-wrap: wrap; gap: 14px 44px; margin: 34px 0 0; }
.ph__meta div { display: grid; gap: 4px; }
.ph__meta dt { color: var(--color-5); }
.ph__meta dd { margin: 0; font-family: var(--font-2); font-size: 17px; font-weight: 500; }
.ph__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }

/* ---------- lists of projects and posts ---------- */
.list { padding: clamp(40px, 7vh, 80px) var(--space-1) clamp(72px, 12vh, 140px); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(24px, 4vh, 44px); }
.chips button { min-height: 44px; padding: 0 18px; border: 1px solid color-mix(in srgb, var(--color-1) 32%, transparent); border-radius: var(--radius-2); background: transparent; color: var(--color-1); font-family: var(--font-2); font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .25s; }
.chips button:hover { background: var(--color-4); }
.chips button[aria-pressed="true"] { background: var(--color-3); border-color: var(--color-3); }
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cards > li { display: block; }
.card { position: relative; display: grid; grid-template-rows: auto 1fr; height: 100%; overflow: hidden; border-radius: var(--radius-1); background: var(--color-4); color: var(--color-1); text-decoration: none; transition: translate .35s cubic-bezier(.16, .84, .24, 1); }
.card__img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--color-3); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s cubic-bezier(.16, .84, .24, 1); }
.card__ph { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--font-1); font-weight: 800; font-size: clamp(56px, 6vw, 96px); letter-spacing: -0.06em; color: var(--color-1); }
.card__cat { position: absolute; left: 16px; top: 16px; background: color-mix(in srgb, var(--color-1) 72%, transparent); color: var(--color-2); }
.card__body { display: grid; align-content: start; gap: 10px; padding: clamp(20px, 2vw, 28px); }
.card__date { color: var(--color-6); }
.card__ex { color: var(--color-6); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; color: var(--color-6); }
.card:focus-visible { outline: 3px solid var(--color-1); outline-offset: 3px; }
@media (hover: hover) { .card:hover { translate: 0 -2px; } .card:hover .card__img img { scale: 1.03; } }
.list__status { color: var(--color-6); padding: 12px 0; }
.list__status a { color: var(--color-1); }

/* ---------- project page ---------- */
.pd__figure { margin: calc(clamp(24px, 5vw, 64px) * -1) 0 0; padding-inline: var(--space-1); position: relative; z-index: 1; }
.pd__figure figure { overflow: hidden; border-radius: var(--radius-1); background: var(--color-4); box-shadow: 0 30px 80px rgba(13, 12, 17, 0.28); }
.pd__figure img { width: 100%; height: auto; display: block; }
.pd__sec { padding: clamp(56px, 10vh, 120px) var(--space-1) 0; }
.pd__sec h2 { margin-bottom: clamp(20px, 3.5vh, 36px); }
.stats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat { display: grid; align-content: start; gap: 8px; padding: clamp(22px, 2.6vw, 36px); border-radius: var(--radius-1); background: var(--pc, var(--color-3)); color: var(--pf, var(--color-1)); }
.stat__n { font-family: var(--font-1); font-weight: 800; font-size: clamp(56px, 7vw, 110px); line-height: 0.9; letter-spacing: -0.05em; }
.stat__l { font-family: var(--font-2); font-size: 16px; font-weight: 500; opacity: 0.85; }
.prose { max-width: 46rem; font-family: var(--font-2); font-size: 18px; line-height: 1.6; }
.prose > * + * { margin-top: 1.1em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-1); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-top: 1.8em; }
.prose h2 { font-size: clamp(30px, 3.4vw, 46px); } .prose h3 { font-size: clamp(26px, 2.8vw, 38px); } .prose h4 { font-size: 22px; margin-top: 0; }
.prose p:empty { display: none; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose a { color: var(--color-1); text-decoration: underline; text-underline-offset: 3px; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-3); }
.prose blockquote { padding-left: 20px; border-left: 3px solid var(--color-3); color: var(--color-6); }
.prose .cs-two-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: none; }
@media (min-width: 800px) { .prose .cs-two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prose .cs-challenge, .prose .cs-solution { padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius-1); background: var(--color-4); }
.prose .cs-solution { background: var(--color-1); color: var(--color-2); }
.prose .cs-two-col > div > * + * { margin-top: 0.7em; }
.ba { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 800px) { .ba--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ba figure { margin: 0; overflow: hidden; border-radius: var(--radius-1); background: var(--color-4); }
.ba figcaption { padding: 12px 18px; font-family: var(--font-2); font-size: 14px; font-weight: 600; }
.ba img { display: block; width: 100%; height: auto; }
.gauges { display: flex; flex-wrap: wrap; gap: 28px 44px; }
.gauge { display: grid; justify-items: center; gap: 10px; }
.gauge svg { width: 112px; height: 112px; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.gauge .g-track { stroke: color-mix(in srgb, var(--color-1) 14%, transparent); }
.gauge .g-val { stroke: var(--color-1); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s cubic-bezier(.16, .84, .24, 1); }
.gauge.is-in .g-val { stroke-dashoffset: var(--off); }
.gauge b { position: absolute; font-family: var(--font-1); font-weight: 800; font-size: 32px; letter-spacing: -0.04em; }
.gauge div { position: relative; display: grid; place-items: center; }
.tagblock { display: grid; gap: 22px; }
.tagblock h3 { margin-bottom: 10px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.tagrow .m-badge { color: var(--color-1); }
.pd__next { margin-top: clamp(56px, 10vh, 120px); }
.next { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 56px) var(--space-1); background: var(--color-4); color: var(--color-1); text-decoration: none; }
.next small { display: block; margin-bottom: 8px; color: var(--color-6); }
.next strong { font-family: var(--font-1); font-weight: 800; font-size: clamp(32px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.045em; }
.next svg { width: clamp(30px, 4vw, 56px); height: auto; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; transition: translate .4s cubic-bezier(.7, 0, .2, 1); }
@media (hover: hover) { .next:hover svg { translate: 8px 0; } }
.band { padding: clamp(64px, 11vh, 130px) var(--space-1); background: var(--color-3); color: var(--color-1); }
.band h2 { font-size: clamp(44px, 8vw, 130px); }
.band p { margin-top: 18px; max-width: 32rem; }
.band .m-btn { margin-top: 30px; --btn-ink: var(--color-2); }
.band :focus-visible { outline-color: var(--color-1); }

/* ---------- legal and plain pages ---------- */
.plain { padding: clamp(56px, 10vh, 110px) var(--space-1) clamp(72px, 12vh, 140px); }
.plain .prose h3 { font-size: 22px; margin-top: 1.6em; }
.plain .prose > h3:first-child { margin-top: 0; }
}

:root { --pc: #fcca73; --pf: #0d0c11; }
@layer sections {
/* ---------- project page: centred, coloured by the project ---------- */
.pp { position: relative; isolation: isolate; padding: clamp(112px, 17vh, 170px) var(--space-1) clamp(150px, 22vw, 300px); background: var(--pc); color: var(--pf); text-align: center; overflow: clip; }
.pp::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 90% at 50% -10%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 70%); }
.pp::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.16; background-image: radial-gradient(var(--pf) 1.4px, transparent 1.9px); background-size: 30px 30px; -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 75%); mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 75%); }
.pp__in { display: grid; justify-items: center; max-width: 980px; margin-inline: auto; animation: ph-rise .9s cubic-bezier(.16, .84, .24, 1) both; }
.pp .ph__crumbs { justify-content: center; margin-bottom: 22px; color: color-mix(in srgb, var(--pf) 72%, transparent); }
.pp .ph__crumbs a:hover { color: var(--pf); }
.pp .pp__badge { background: var(--pf); border-color: var(--pf); color: var(--pc); }
.pp h1 { margin-top: 20px; font-size: clamp(40px, 7.2vw, 112px); text-wrap: balance; }
.pp h1 .m-dot { background: var(--pf); }
.pp__lead { max-width: 38rem; margin-top: 22px; color: color-mix(in srgb, var(--pf) 84%, transparent); }
.pp__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 52px; margin: 36px 0 0; }
.pp__meta div { display: grid; justify-items: center; gap: 4px; }
.pp__meta dt { color: color-mix(in srgb, var(--pf) 66%, transparent); }
.pp__meta dd { max-width: 22rem; margin: 0; font-family: var(--font-2); font-size: 17px; font-weight: 600; line-height: 1.3; }
.pp__actions { display: flex; justify-content: center; margin-top: 36px; }
.pp .m-btn { background: radial-gradient(circle at 22px 50%, var(--pc) var(--btn-r), var(--pf) var(--btn-r)); color: var(--pc); box-shadow: inset 0 0 0 2px var(--pf); }
.pp .m-btn::before { background: var(--pc); }
@media (hover: hover) { .pp .m-btn:hover { color: var(--pf); } .pp .m-btn:hover::before { background: var(--pf); } }
.pp :focus-visible { outline: 3px solid var(--pf); outline-offset: 3px; }
.pp__fig { position: relative; z-index: 2; max-width: calc(1180px + 2 * var(--space-1)); margin: calc(clamp(110px, 16vw, 240px) * -1) auto 0; padding-inline: var(--space-1); }
.pp__frame { margin: 0; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 50px 110px color-mix(in srgb, var(--pc) 50%, transparent), 0 12px 34px rgba(13, 12, 17, 0.2); animation: pp-pop 1s cubic-bezier(.16, .84, .24, 1) .15s both; }
.pp__bar { display: flex; gap: 7px; padding: 12px 16px; background: #f3f2f7; }
.pp__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d4d2dc; }
.pp__frame img { display: block; width: 100%; height: auto; }
@keyframes pp-pop { from { opacity: 0; translate: 0 40px; scale: 0.97; } }
@media (prefers-reduced-motion: reduce) { .pp__in, .pp__frame { animation: none; } }
.pd__sec { text-align: center; }
.pd__sec h2 { text-align: center; }
.pd__sub { max-width: 34rem; margin: -10px auto clamp(22px, 3.5vh, 36px); color: var(--color-6); }
.stats { max-width: 1100px; margin-inline: auto; }
.stat { justify-items: center; text-align: center; }
.pd__sec .prose { max-width: none; margin-inline: auto; text-align: left; line-height: 1.7; }
.pd__sec .prose > p, .pd__sec .prose > h3, .pd__sec .prose > h2, .pd__sec .prose > ul, .pd__sec .prose > ol, .pd__sec .prose > blockquote { max-width: 44rem; margin-inline: auto; }
.pd__sec .prose .cs-two-col { max-width: 920px; margin-inline: auto; text-align: left; }
.pd__sec .prose .cs-two-col + h3 { margin-top: 2.6em; }
.pd__sec .prose > p + p { margin-top: 1.15em; }
.pd__sec .prose > h3 { margin-top: 2.4em; margin-bottom: 0.5em; text-wrap: balance; }
.pd__sec .prose > h3::before { content: ""; display: block; width: 44px; height: 5px; margin-bottom: 0.6em; border-radius: 3px; background: var(--pc); }
.pd__sec .prose .cs-punch { font-family: var(--font-1); font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; letter-spacing: -0.03em; margin-top: 1.5em; margin-bottom: 1.5em; text-wrap: balance; }
.pd__sec .prose code { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 0.86em; padding: 0.15em 0.45em; border-radius: 6px; background: color-mix(in srgb, var(--pc) 16%, #ffffff); }
.prose .cs-solution { background: var(--pc); color: var(--pf); }
/* stats and quote blocks that editors can add in WordPress (classes cs-stats, cs-stat, cs-stat-n, cs-quote) */
.pd__sec .prose .cs-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; max-width: 960px; margin: 2.4em auto; }
.pd__sec .prose .cs-stat { display: grid; justify-items: center; align-content: start; gap: 10px; padding: clamp(22px, 2.4vw, 34px) 18px; border-radius: var(--radius-1); background: var(--pc); color: var(--pf); text-align: center; font-family: var(--font-2); font-size: 16px; font-weight: 500; line-height: 1.3; }
.pd__sec .prose .cs-stat-n { display: block; font-family: var(--font-1); font-weight: 800; font-size: clamp(40px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.05em; }
.pd__sec .prose .cs-quote { position: relative; max-width: 800px; margin: 2.6em auto; padding: clamp(34px, 4vw, 56px) clamp(22px, 4vw, 56px) clamp(26px, 3vw, 40px); border: 0; border-radius: var(--radius-1); background: var(--color-4); color: var(--color-1); text-align: center; }
.pd__sec .prose .cs-quote::before { content: "\201C"; display: block; margin-bottom: -0.15em; font-family: var(--font-1); font-weight: 800; font-size: 96px; line-height: 0.8; color: var(--pc); }
.pd__sec .prose .cs-quote p:first-of-type { margin: 0; font-family: var(--font-1); font-weight: 700; font-size: clamp(21px, 2.5vw, 30px); line-height: 1.22; letter-spacing: -0.03em; text-wrap: balance; }
.pd__sec .prose .cs-quote p.cs-punch { margin: 1.4em 0 0; font-family: var(--font-2); font-weight: 600; font-size: 15px; letter-spacing: 0; line-height: 1.3; color: var(--color-6); }
.pd__sec .prose blockquote { border-left: 0; padding-left: 0; }
.pd__sec .ba { max-width: 1100px; margin-inline: auto; }
.gg-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 16px); max-width: 860px; margin-inline: auto; }
.gg { display: grid; justify-items: center; gap: 14px; padding: clamp(18px, 2.4vw, 34px) 8px; border-radius: var(--radius-1); background: var(--pc); color: var(--pf); }
.gg__ring { position: relative; width: clamp(76px, 12vw, 132px); aspect-ratio: 1; }
.gg__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gg__ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.gg__track { stroke: color-mix(in srgb, var(--pf) 22%, transparent); }
.gg__val { stroke: var(--pf); stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.16, .84, .24, 1); }
.gg.is-in .gg__val { stroke-dashoffset: var(--off); }
.gg__n { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-1); font-weight: 800; font-size: clamp(24px, 4.2vw, 48px); letter-spacing: -0.04em; }
.gg__l { font-family: var(--font-2); font-weight: 600; font-size: clamp(12px, 1.4vw, 16px); }
.tagblock { justify-items: center; }
.tagrow { justify-content: center; }
.tagrow .m-badge { background: var(--pc); border-color: var(--pc); color: var(--pf); }
.pd__next { padding-inline: 0; }
.next { display: grid; justify-content: center; justify-items: center; align-items: center; align-content: center; gap: 14px; width: 100%; max-width: none; margin-inline: 0; border-radius: 0; text-align: center; padding: clamp(40px, 7vw, 88px) clamp(20px, 4vw, 56px); background: var(--nc, var(--color-4)); color: var(--nf, var(--color-1)); transition: translate .35s cubic-bezier(.16, .84, .24, 1); }
@media (hover: hover) { .next:hover { translate: 0 -3px; } }
.next small { margin: 0; color: inherit; opacity: 0.7; }
.next strong { max-width: 18ch; font-size: clamp(34px, 6vw, 84px); text-wrap: balance; }
.next svg { width: clamp(30px, 3.6vw, 48px); }
.band { text-align: center; }
.band p { margin-inline: auto; }
.band h2 { font-size: clamp(38px, 7vw, 110px); text-wrap: balance; }
}
