/* AKY Next: brand red + graphite from the logo, Manrope display, Inter text.
   Signature motifs: the diagonal "slash" of the logo mark and an engineering grid on dark surfaces. */

:root {
    --brand: #c92021;
    --ink: #231f20;
    --brand-600: color-mix(in srgb, var(--brand) 85%, #000);
    --brand-50: color-mix(in srgb, var(--brand) 7%, #fff);
    --ink-900: color-mix(in srgb, var(--ink) 80%, #000);
    --ink-700: color-mix(in srgb, var(--ink) 88%, #fff);
    --text: #2a2627;
    --muted: #6d6869;
    --line: #e6e2df;
    --line-dark: rgb(255 255 255 / .12);
    --surface: #fff;
    --surface-muted: #f6f4f2;
    --font-display: "Manrope", system-ui, sans-serif;
    --font-text: "Inter", system-ui, sans-serif;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 2px rgb(35 31 32 / .06), 0 2px 8px rgb(35 31 32 / .04);
    --shadow: 0 10px 30px -12px rgb(35 31 32 / .25);
    --shadow-lg: 0 30px 60px -20px rgb(35 31 32 / .35);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --header-h: 84px;
    --section-y: clamp(64px, 9vw, 120px);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 16px/1.65 var(--font-text); color: var(--text); background: var(--surface); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--ink); letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
::selection { background: var(--brand); color: #fff; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--radius); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: none; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* Type helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font: 700 12.5px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.eyebrow::before { content: ""; width: 26px; height: 3px; background: currentColor; transform: skewX(-35deg); }
.eyebrow__num { color: var(--ink); opacity: .35; letter-spacing: .04em; }
.eyebrow__num::after { content: "/"; margin-left: 10px; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--brand); }
.section--dark .eyebrow__num, .eyebrow--light .eyebrow__num { color: #fff; opacity: .5; }
.display { font-size: clamp(30px, 4.2vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.06; text-wrap: balance; }
.display--sm { font-size: clamp(24px, 2.8vw, 34px); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.7; color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--radius); border: 1.5px solid transparent; font: 700 14.5px/1 var(--font-display); letter-spacing: .02em; white-space: nowrap; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 13.5px; }
.btn--lg { min-height: 56px; padding: 0 30px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn--brand { position: relative; overflow: hidden; background: var(--brand); color: #fff; box-shadow: 0 8px 20px -10px var(--brand); }
.btn--brand::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; background: linear-gradient(90deg, transparent, rgb(255 255 255 / .28), transparent); transform: skewX(-25deg); transition: left .6s var(--ease); }
.btn--brand:hover { background: var(--brand-600); }
.btn--brand:hover::after { left: 130%; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--outline-light { border-color: rgb(255 255 255 / .45); color: #fff; backdrop-filter: blur(6px); background: rgb(255 255 255 / .06); }
.btn--outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #178a45; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--font-display); color: var(--ink); padding-bottom: 6px; background: linear-gradient(var(--brand), var(--brand)) 0 100% / 100% 2px no-repeat; transition: background-size .35s var(--ease), color .2s; }
.link-arrow .icon { color: var(--brand); transition: transform .3s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }
.link-arrow:hover { background-size: 35% 2px; }
.link-arrow--light { color: #fff; }

.round-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.round-btn:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.round-btn--light { border-color: rgb(255 255 255 / .3); color: #fff; }

/* Top bar */
.topbar { background: var(--ink-900); color: rgb(255 255 255 / .72); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 42px; }
.topbar__contact, .topbar__tools { display: flex; align-items: center; gap: 24px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; color: var(--brand); }
.topbar .social { gap: 4px; padding-left: 20px; border-left: 1px solid var(--line-dark); }
.topbar .social a { width: 28px; height: 28px; justify-content: center; }
.topbar .social .icon { color: inherit; }

.social { display: flex; align-items: center; gap: 8px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: background .2s, color .2s; }
.social .icon { width: 17px; height: 17px; }

/* Language switcher */
.lang { position: relative; }
.lang__toggle { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; font-weight: 600; font-size: 13px; color: #fff; }
.lang__toggle .icon { width: 15px; height: 15px; }
.lang__toggle .icon:first-child { color: var(--brand); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 180px; padding: 6px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.topbar .lang__menu a, .lang__menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 4px; color: var(--text); font-size: 14px; }
.lang__menu a:hover { background: var(--surface-muted); color: var(--ink); }
.lang__menu a[aria-current] { color: var(--brand); font-weight: 600; }
.lang__code { font: 700 11px/1 var(--font-display); letter-spacing: .08em; padding: 4px 5px; border-radius: 3px; background: var(--surface-muted); color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / .92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -14px rgb(35 31 32 / .3); }
.site-header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); transition: height .3s var(--ease); }
.is-stuck .site-header__inner { height: 70px; }
.brand { flex: none; display: block; }
.brand img { width: auto; height: 56px; transition: height .3s var(--ease); }
.is-stuck .brand img { height: 46px; }
.site-header__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav__mobile { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; place-items: center; border-radius: var(--radius); background: var(--ink); color: #fff; }
.nav-toggle .icon--close { display: none; }

.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link { position: relative; display: block; padding: 12px 13px; font: 700 13px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 3px; background: var(--brand); transform: scaleX(0) skewX(-35deg); transform-origin: left; transition: transform .35s var(--ease); }
.nav__item:hover > .nav__link, .nav__item.is-active > .nav__link { color: var(--brand); }
.nav__item:hover > .nav__link::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1) skewX(-35deg); }
.nav__sub-toggle { display: none; }
.nav__panel { position: absolute; top: 100%; left: 50%; z-index: 55; min-width: 280px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s; }
.nav__panel ul { position: relative; padding: 10px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); border-top: 3px solid var(--brand); max-height: 70vh; overflow-y: auto; }
.nav__panel a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 14px; border-radius: var(--radius); font-size: 14.5px; font-weight: 500; color: var(--text); transition: background .2s, color .2s; }
.nav__panel a .icon { color: var(--brand); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease); }
.nav__panel a:hover, .nav__panel a[aria-current] { background: var(--brand-50); color: var(--brand); }
.nav__panel a:hover .icon { opacity: 1; transform: none; }
.nav__item.has-sub:hover .nav__panel, .nav__item.has-sub:focus-within .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Hero slider */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; min-height: min(88vh, 860px); min-height: min(88svh, 860px); color: #fff; background: var(--ink-900); overflow: hidden; }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(23 20 21 / .92) 0%, rgb(23 20 21 / .65) 45%, rgb(23 20 21 / .15) 100%), linear-gradient(0deg, rgb(23 20 21 / .85) 0%, transparent 45%); }
.hero__grid { position: absolute; inset: 0; z-index: 1; background-image: linear-gradient(rgb(255 255 255 / .06) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .06) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, #000 0%, transparent 60%); }
.hero::after { content: ""; position: absolute; z-index: 1; right: 8%; top: -10%; width: 120px; height: 130%; background: linear-gradient(180deg, var(--brand), color-mix(in srgb, var(--brand) 30%, transparent)); transform: skewX(-24deg); opacity: .9; mix-blend-mode: multiply; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); padding-block: 120px 40px; }
.hero__copy { grid-area: 1 / 1; max-width: 760px; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.hero__copy.is-active { opacity: 1; transform: none; pointer-events: auto; transition-delay: .25s; }
.hero__title { font: 800 clamp(36px, 6vw, 76px)/1.02 var(--font-display); letter-spacing: -.035em; text-wrap: balance; }
.hero__lead { max-width: 560px; margin-top: 22px; font-size: clamp(16px, 1.6vw, 20px); color: rgb(255 255 255 / .78); }
.hero__video { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; font: 700 13px/1.3 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.hero__play { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); }
.hero__play::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / .4); animation: pulse 2.4s var(--ease) infinite; }
.hero__play .icon { width: 18px; height: 18px; margin-left: 2px; }
.hero__actions { grid-area: 2 / 1; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__controls { position: relative; z-index: 2; display: flex; align-items: center; gap: 28px; padding-bottom: 40px; }
.hero__counter { display: flex; align-items: center; gap: 12px; font: 700 14px/1 var(--font-display); letter-spacing: .08em; }
.hero__counter span:first-child { font-size: 22px; }
.hero__counter-sep { width: 22px; height: 2px; background: rgb(255 255 255 / .5); transform: skewX(-35deg); }
.hero__progress { flex: 1; height: 2px; background: rgb(255 255 255 / .18); overflow: hidden; }
.hero__progress span { display: block; width: 100%; height: 100%; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.hero__progress span.is-running { animation: progress var(--slide-ms, 6500ms) linear forwards; }
.hero__arrows { display: flex; gap: 10px; }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }

/* Sections */
.section { position: relative; padding-block: var(--section-y); }
.section--page { padding-block: clamp(48px, 6vw, 88px); }
.section--muted { background: var(--surface-muted); }
.section--dark { background: var(--ink); color: rgb(255 255 255 / .75); overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark__grid, .page-hero__grid, .site-footer__grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 70%); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head > div:first-child { max-width: 720px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head--compact { margin-bottom: 28px; }
.section-head__tools { display: flex; align-items: center; gap: 10px; }
.section-head__tools .link-arrow { margin-left: 14px; }

/* Intro */
.intro__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(40px, 7vw, 100px); }
.intro__media { position: relative; }
.intro__media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.intro__frame { position: absolute; z-index: 0; inset: 28px -28px -28px 28px; border: 2px solid var(--brand); border-radius: var(--radius-lg); }
.intro__media::before { content: ""; position: absolute; z-index: 2; left: -18px; bottom: 40px; width: 36px; height: 120px; background: var(--brand); transform: skewX(-24deg); }
.intro__copy .display { margin-bottom: 22px; }
.intro__copy .lead { margin-bottom: 32px; }

/* Tabs */
.tabs__list { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs__list [role=tab] { transition: background .25s, color .25s, border-color .25s; }
.tabs__list--pills { margin-bottom: 36px; }
.tabs__list--pills [role=tab] { padding: 12px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 14px/1.2 var(--font-display); color: var(--ink); }
.tabs__list--pills [role=tab]:hover { border-color: var(--ink); }
.tabs__list--pills [aria-selected=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs__list--line { gap: 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.tabs__list--line [role=tab] { position: relative; padding: 14px 0; font: 700 14.5px/1.2 var(--font-display); color: var(--muted); }
.tabs__list--line [role=tab]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.tabs__list--line [aria-selected=true] { color: var(--ink); }
.tabs__list--line [aria-selected=true]::after { transform: scaleX(1); }
.tabs__panel { animation: fade-up .45s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.tabs--vertical { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.tabs__list--steps { flex-direction: column; flex-wrap: nowrap; gap: 0; border-left: 1px solid var(--line); }
.tabs__list--steps [role=tab] { position: relative; display: flex; align-items: baseline; gap: 18px; padding: 18px 0 18px 24px; text-align: left; font: 700 16px/1.35 var(--font-display); color: var(--muted); }
.tabs__list--steps [role=tab]::before { content: ""; position: absolute; left: -2px; top: 12px; bottom: 12px; width: 3px; background: var(--brand); transform: scaleY(0); transition: transform .35s var(--ease); }
.tabs__list--steps [role=tab]:hover { color: var(--ink); }
.tabs__list--steps [aria-selected=true] { color: var(--ink); }
.tabs__list--steps [aria-selected=true]::before { transform: scaleY(1); }
.tabs__num { font-size: 12px; letter-spacing: .1em; color: var(--brand); }
.solution-panel { padding: clamp(28px, 4vw, 48px); background: var(--surface-muted); border-radius: var(--radius-lg); border-top: 3px solid var(--brand); }
.solution-panel__title { margin-bottom: 20px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.card-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }

.cat-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cat-card__media { display: block; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: contain; padding: 16px; transition: transform .6s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.06); }
.cat-card__body { display: block; padding: 18px 64px 22px 22px; border-top: 1px solid var(--line); }
.cat-card__title { display: block; font: 700 16.5px/1.3 var(--font-display); color: var(--ink); }
.cat-card__text { display: -webkit-box; margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-card__go, .product-card__go, .project-card__go { position: absolute; right: 18px; bottom: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-muted); color: var(--ink); transition: background .3s, color .3s, transform .3s var(--ease); }
.cat-card:hover .cat-card__go, .product-card:hover .product-card__go { background: var(--brand); color: #fff; transform: rotate(-35deg); }
.cat-card__go .icon, .product-card__go .icon, .project-card__go .icon { width: 16px; height: 16px; }

.product-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; overflow: hidden; transition: border-color .3s, box-shadow .35s var(--ease), transform .35s var(--ease); }
.product-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card__media { display: block; aspect-ratio: 1; padding: 20px; background: linear-gradient(180deg, #fff, var(--surface-muted)); }
.product-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__body { position: relative; padding: 18px 64px 20px 20px; }
.product-card__title { font-size: 16px; font-weight: 700; line-height: 1.35; }
.product-card__go { bottom: 50%; transform: translateY(50%); }
.product-card:hover .product-card__go { transform: translateY(50%) rotate(-35deg); }

/* Projects rail */
.projects .container { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 380px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2)) 24px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.project-card { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; scroll-snap-align: start; background: var(--ink-900); isolation: isolate; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(23 20 21 / .9) 0%, rgb(23 20 21 / .1) 55%); transition: background .4s; }
.project-card::before { content: ""; position: absolute; z-index: 2; left: 0; top: 0; width: 6px; height: 0; background: var(--brand); transition: height .5s var(--ease); }
.project-card:hover img { transform: scale(1.07); }
.project-card:hover::before { height: 100%; }
.project-card__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: block; padding: 24px 74px 26px 26px; }
.project-card__title { display: block; font: 700 18px/1.3 var(--font-display); color: #fff; }
.project-card__go { right: 22px; bottom: 24px; background: rgb(255 255 255 / .14); color: #fff; backdrop-filter: blur(6px); }
.project-card:hover .project-card__go { background: var(--brand); transform: rotate(-35deg); }
.project-card--grid { aspect-ratio: 4 / 3; }

/* News + videos */
.updates__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); }
.news-list li + li { border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 112px 1fr auto; align-items: center; gap: 20px; padding: 16px 0; }
.news-item img { width: 112px; height: 78px; object-fit: cover; border-radius: var(--radius); }
.news-item__title { font: 600 16px/1.4 var(--font-display); color: var(--ink); transition: color .2s; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item__go { color: var(--brand); opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .3s var(--ease); }
.news-item:hover .news-item__title { color: var(--brand); }
.news-item:hover .news-item__go { opacity: 1; transform: none; }
.video-box { padding: 8px 28px 20px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.video-list { max-height: 380px; overflow-y: auto; }
.video-list a { display: flex; align-items: center; gap: 16px; padding: 12px 0; font-weight: 500; color: var(--text); border-bottom: 1px solid var(--line); transition: color .2s; }
.video-list li:last-child a { border-bottom: 0; }
.video-list a:hover { color: var(--brand); }
.video-list__play { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-50); color: var(--brand); transition: background .25s, color .25s; }
.video-list__play .icon { width: 14px; height: 14px; margin-left: 2px; }
.video-list a:hover .video-list__play { background: var(--brand); color: #fff; }

/* CTA band */
.cta-band { position: relative; background: var(--brand); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 55%, rgb(0 0 0 / .18) 55%); }
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(36px, 5vw, 56px); }
.cta-band__slash { flex: none; width: 14px; height: 64px; background: #fff; transform: skewX(-24deg); }
.cta-band__text { flex: 1; font: 700 clamp(19px, 2.2vw, 27px)/1.3 var(--font-display); letter-spacing: -.01em; text-wrap: balance; }

/* Footer */
.site-footer { position: relative; background: var(--ink-900); color: rgb(255 255 255 / .62); font-size: 14.5px; overflow: hidden; }
.site-footer__grid-bg { mask-image: radial-gradient(ellipse at 0% 100%, #000 0%, transparent 60%); }
.site-footer .container { position: relative; }
.site-footer__top { display: grid; grid-template-columns: 1.2fr 1.6fr 1fr; gap: 48px clamp(32px, 5vw, 72px); padding-block: clamp(56px, 7vw, 88px); }
.brand--light { display: inline-block; padding: 12px 16px; margin-bottom: 24px; background: #fff; border-radius: var(--radius); }
.brand--light img { height: 48px; }
.site-footer__brand p { max-width: 380px; margin-bottom: 24px; line-height: 1.7; }
.site-footer .social a { background: rgb(255 255 255 / .06); color: #fff; }
.site-footer .social a:hover { background: var(--brand); }
.site-footer__title { margin-bottom: 22px; font: 700 13px/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.site-footer__title::before { content: ""; display: inline-block; width: 16px; height: 3px; margin-right: 10px; vertical-align: middle; background: var(--brand); transform: skewX(-35deg); }
.site-footer__links--2col { columns: 2; column-gap: 32px; }
.site-footer__links li { break-inside: avoid; }
.site-footer__links a { display: inline-block; padding: 6px 0; line-height: 1.45; transition: color .2s, transform .25s var(--ease); }
.site-footer__links a:hover { color: #fff; transform: translateX(4px); }
.site-footer__contact { display: grid; gap: 16px; margin-bottom: 22px; }
.site-footer__contact li { display: flex; gap: 14px; line-height: 1.55; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--brand); }
.site-footer__contact small { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .4); }
.site-footer__contact a:hover { color: #fff; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding-block: 24px; border-top: 1px solid var(--line-dark); font-size: 13px; color: rgb(255 255 255 / .45); }
.site-footer__bottom a { color: rgb(255 255 255 / .7); font-weight: 600; }
.site-footer__bottom a:hover { color: #fff; }

/* Floating actions */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__btn { display: inline-flex; align-items: center; gap: 0; height: 52px; padding: 0 16px; border-radius: 999px; color: #fff; box-shadow: var(--shadow); font: 700 13.5px/1 var(--font-display); transition: gap .3s var(--ease), padding .3s var(--ease), background .25s, transform .3s var(--ease), opacity .3s; }
.fab__btn .icon { width: 22px; height: 22px; }
.fab__btn span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .35s var(--ease); }
.fab__btn:hover { gap: 10px; padding: 0 20px; }
.fab__btn:hover span { max-width: 200px; }
.fab__btn--wa { background: #1fa855; }
.fab__btn--quote { background: var(--brand); }
.fab__btn--top { width: 52px; justify-content: center; padding: 0; background: var(--ink); opacity: 0; pointer-events: none; transform: translateY(10px); }
.fab__btn--top:hover { padding: 0; gap: 0; }
.fab__btn--top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* Page hero */
.page-hero { position: relative; isolation: isolate; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero__slash { position: absolute; z-index: -1; right: 10%; top: -20%; width: 90px; height: 140%; background: var(--brand); transform: skewX(-24deg); opacity: .95; }
.page-hero__slash::after { content: ""; position: absolute; left: 130px; top: 0; width: 28px; height: 100%; background: rgb(255 255 255 / .08); }
.page-hero__inner { padding-block: clamp(44px, 6vw, 80px) clamp(48px, 6vw, 84px); max-width: calc(var(--container) + var(--gutter) * 2); }
.page-hero__title { max-width: 820px; color: #fff; font-size: clamp(30px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; text-wrap: balance; }
.page-hero__sub { margin-top: 14px; max-width: 700px; font-size: 17px; color: rgb(255 255 255 / .62); }

.crumbs { margin-bottom: 28px; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; font-size: 13px; color: rgb(255 255 255 / .55); }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li + li::before { content: ""; width: 10px; height: 2px; margin: 0 12px; background: var(--brand); transform: skewX(-35deg); }
.crumbs a { transition: color .2s; }
.crumbs a:hover, .crumbs [aria-current] { color: #fff; }

/* Sidebar layout */
.with-sidebar { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 4vw, 56px); align-items: start; }
.with-sidebar__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 22px; }
.with-sidebar__main { min-width: 0; }
.split { display: grid; grid-template-columns: 1fr 300px; gap: clamp(32px, 4vw, 56px); align-items: start; }
.split__main { min-width: 0; }
.split__aside { position: sticky; top: calc(var(--header-h) + 24px); }

.side-nav { padding: 10px; background: var(--surface-muted); border-radius: var(--radius-lg); }
.side-nav__title { padding: 16px 14px 14px; font: 700 12.5px/1.3 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.side-nav ul { max-height: 60vh; overflow-y: auto; }
.side-nav a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: var(--radius); font-size: 14.5px; font-weight: 500; line-height: 1.4; transition: background .2s, color .2s; }
.side-nav a .icon { flex: none; color: var(--brand); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s var(--ease); }
.side-nav a:hover { background: #fff; color: var(--ink); }
.side-nav a:hover .icon { opacity: 1; transform: none; }
.side-nav a[aria-current] { background: var(--ink); color: #fff; }
.side-nav a[aria-current] .icon { opacity: 1; transform: none; }

.catalogue { position: relative; display: grid; gap: 8px; padding: 24px; border-radius: var(--radius-lg); background: var(--brand); color: #fff; overflow: hidden; }
.catalogue::before { content: ""; position: absolute; right: -10px; top: -20px; width: 46px; height: 160%; background: rgb(0 0 0 / .14); transform: skewX(-24deg); }
.catalogue__link { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 0; font: 700 15px/1.3 var(--font-display); }
.catalogue__link + .catalogue__link { border-top: 1px solid rgb(255 255 255 / .2); }
.catalogue__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Detail pages */
.detail__top { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.detail__media { display: block; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, #fff, var(--surface-muted)); cursor: zoom-in; }
.detail__media img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .6s var(--ease); }
.detail__media:hover img { transform: scale(1.04); }
.link-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.link-back .icon { color: var(--brand); transition: transform .25s var(--ease); }
.link-back:hover { color: var(--ink); }
.link-back:hover .icon { transform: translateX(-4px); }
.detail__title { margin-bottom: 16px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; letter-spacing: -.025em; }
.detail__code { display: inline-flex; margin-bottom: 20px; border: 1px solid var(--line); border-radius: var(--radius); font: 700 13px/1 var(--font-display); color: var(--ink); overflow: hidden; }
.detail__code span, .detail__code strong { padding: 9px 12px; }
.detail__code span { background: var(--surface-muted); color: var(--muted); font-weight: 600; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.detail__tabs { padding-top: 8px; }
.block-title { margin: 48px 0 20px; font-size: 22px; font-weight: 800; }

.spec-table { width: 100%; margin-top: 24px; border-collapse: collapse; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; font-size: 15px; }
.spec-table tr:nth-child(even) { background: var(--surface-muted); }
.spec-table th, .spec-table td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.spec-table th { width: 38%; font: 700 14px/1.45 var(--font-display); color: var(--ink); border-left: 3px solid var(--brand); }
.spec-table td { color: var(--text); }

.faq { margin-top: 64px; }
.faq__title { margin-bottom: 20px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; font: 700 16.5px/1.4 var(--font-display); color: var(--ink); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; color: var(--brand); transition: transform .3s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--brand); }
.faq__answer { padding: 0 48px 22px 0; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--surface-muted); font-size: 13.5px; font-weight: 500; transition: background .2s, color .2s; }
a.chip:hover { background: var(--brand); color: #fff; }

.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); margin-top: 24px; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--surface-muted); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.gallery a:hover img { transform: scale(1.06); opacity: .9; }
.gallery--masonry { display: block; columns: 3 220px; column-gap: 14px; }
.gallery--masonry a { margin-bottom: 14px; break-inside: avoid; }
.gallery--masonry img { aspect-ratio: auto; }

/* Rich text from the CMS */
.prose { color: var(--text); line-height: 1.75; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1em; }
.prose h1, .prose h2, .prose h3, .prose h4 { margin-top: 1.6em; font-weight: 800; }
.prose h2 { font-size: 26px; }
.prose h3 { font-size: 21px; }
.prose h4 { font-size: 18px; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li + li { margin-top: .4em; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 10px; height: 3px; background: var(--brand); transform: skewX(-35deg); }
.prose ol { list-style: decimal; }
.prose img { border-radius: var(--radius); height: auto !important; }
.prose table { width: 100%; max-width: 100%; border-collapse: collapse; font-size: 14.5px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th, .prose tr:first-child td { background: var(--surface-muted); font-weight: 600; }
.prose blockquote { margin: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brand); color: var(--muted); }
.prose iframe { max-width: 100%; }
.prose--lead { color: var(--muted); }
.article-title { margin-bottom: 24px; font-size: clamp(24px, 3vw, 34px); font-weight: 800; }

/* Lists */
.group-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 22px; }
.group-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: box-shadow .35s var(--ease), border-color .3s; }
.group-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); }
.group-card__media { aspect-ratio: 16 / 10; padding: 18px; background: linear-gradient(180deg, #fff, var(--surface-muted)); border-bottom: 3px solid var(--brand); }
.group-card__media img { width: 100%; height: 100%; object-fit: contain; }
.group-card__body { padding: 22px 14px 14px; }
.group-card__title { padding: 0 10px 12px; font-size: 19px; font-weight: 800; }
.group-card__links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px; border-radius: var(--radius); font-size: 14.5px; font-weight: 500; transition: background .2s, color .2s; }
.group-card__links a .icon { color: var(--brand); flex: none; opacity: .35; transition: opacity .2s, transform .25s var(--ease); }
.group-card__links a:hover { background: var(--brand-50); color: var(--brand); }
.group-card__links a:hover .icon { opacity: 1; transform: translateX(3px); }

.article-list { display: grid; gap: 22px; }
.article-card { display: grid; grid-template-columns: 240px 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: box-shadow .35s var(--ease), border-color .3s; }
.article-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); }
.article-card__media { display: block; overflow: hidden; background: var(--surface-muted); }
.article-card__media img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; transition: transform .7s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 28px; }
.article-card__title { font-size: 20px; font-weight: 700; line-height: 1.3; transition: color .2s; }
.article-card:hover .article-card__title { color: var(--brand); }
.article-card__text { color: var(--muted); font-size: 15px; }
.article-card .link-arrow { margin-top: auto; }

.video-card { display: block; }
.video-card__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); }
.video-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .6s var(--ease), opacity .3s; }
.video-card:hover .video-card__media img { transform: scale(1.05); opacity: .65; }
.video-card__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--brand); color: #fff; box-shadow: 0 0 0 8px rgb(255 255 255 / .18); transition: transform .3s var(--ease); }
.video-card__play .icon { margin-left: 3px; }
.video-card:hover .video-card__play { transform: scale(1.1); }
.video-card__title { display: block; margin-top: 14px; font: 700 15.5px/1.4 var(--font-display); color: var(--ink); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 48px); align-items: start; }
.card { padding: clamp(24px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.contact__form .display { margin-bottom: 28px; }
.contact__info { display: grid; gap: 18px; }
.info-card { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--surface-muted); }
.info-card--dark { background: var(--ink); color: rgb(255 255 255 / .75); overflow: hidden; }
.info-card--dark::after { content: ""; position: absolute; right: 30px; top: -20px; width: 22px; height: 90px; background: var(--brand); transform: skewX(-24deg); }
.info-card__title { margin-bottom: 18px; font: 700 13px/1.4 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.info-card--dark .info-card__title { color: #fff; }
.info-list { display: grid; gap: 14px; }
.info-list li { display: flex; gap: 14px; line-height: 1.55; }
.info-list .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--brand); }
.info-list small { display: block; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.info-list a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.info-list--plain { margin-bottom: 20px; }
.info-card__qr { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-dark); font: 700 13px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.info-card__qr img { padding: 6px; background: #fff; border-radius: var(--radius); }

/* Forms */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; padding: 24px 16px 10px; border: 1.5px solid var(--line); border-radius: var(--radius); background: #fff; font: 400 15.5px/1.4 var(--font-text); color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 17px; top: 17px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(35 31 32 / .06); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-9px) scale(.78); color: var(--brand); font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--brand); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form__status { flex: 1; font-size: 14px; font-weight: 500; }
.form__status.is-ok { color: #178a45; }
.form__status.is-error { color: var(--brand); }
.form [type=submit][disabled] { opacity: .6; pointer-events: none; }

/* Modal */
.modal { width: min(640px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 0; border: 0; border-radius: var(--radius-lg); background: #fff; color: var(--text); box-shadow: var(--shadow-lg); overflow: auto; }
.modal::backdrop { background: rgb(23 20 21 / .7); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in .35s var(--ease); }
.modal__box { position: relative; padding: clamp(28px, 5vw, 44px); border-top: 4px solid var(--brand); }
.modal__title { margin-bottom: 26px; padding-right: 40px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; line-height: 1.25; }
.modal__close { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--surface-muted); transition: background .2s, color .2s, transform .3s var(--ease); }
.modal__close:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }

/* Misc */
.alert { margin-bottom: 24px; padding: 14px 18px; border-radius: var(--radius); font-weight: 500; }
.alert--success { background: #e9f7ef; color: #146c38; }
.alert--error { background: var(--brand-50); color: var(--brand-600); }
.error-block { display: grid; justify-items: center; gap: 20px; padding-block: 24px; text-align: center; }
.error-block__code { font: 800 clamp(96px, 18vw, 200px)/1 var(--font-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px var(--ink); background: linear-gradient(115deg, transparent 52%, var(--brand) 52%, var(--brand) 60%, transparent 60%); -webkit-background-clip: text; background-clip: text; }
.minimal { display: grid; min-height: 100vh; place-items: center; background: var(--surface-muted); }
.minimal__main { display: grid; justify-items: center; gap: 32px; padding: 40px var(--gutter); text-align: center; }
.minimal .brand img { height: 64px; }

/* Scroll reveal (only with JS, respects reduced motion) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
    .nav__link { padding-inline: 9px; font-size: 12.5px; }
    .nav__link::after { left: 9px; right: 9px; }
    .site-header__inner { gap: 20px; }
}

@media (max-width: 1024px) {
    :root { --header-h: 72px; }
    .topbar__contact a:nth-child(2) { display: none; }
    .brand img { height: 46px; }
    .is-stuck .site-header__inner { height: var(--header-h); }
    .is-stuck .brand img { height: 46px; }
    .nav-toggle { display: grid; }
    .site-nav { position: fixed; inset: 0 0 0 auto; z-index: 70; width: min(420px, 100%); flex-direction: column; justify-content: flex-start; padding: 88px 24px 32px; background: #fff; box-shadow: var(--shadow-lg); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
    .nav-open .site-nav { transform: none; visibility: visible; }
    .nav-open { overflow: hidden; }
    .nav-open .site-header .nav-toggle { position: relative; z-index: 80; }
    .nav-open .nav-toggle .icon--open { display: none; }
    .nav-open .nav-toggle .icon--close { display: block; }
    .nav-open::after { content: ""; position: fixed; inset: 0; z-index: 45; background: rgb(23 20 21 / .55); backdrop-filter: blur(2px); }
    /* backdrop-filter would make the header the containing block of the fixed drawer */
    .site-header { z-index: 60; background: #fff; backdrop-filter: none; }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
    .nav__link { flex: 1; padding: 18px 0; font-size: 15px; }
    .nav__link::after { display: none; }
    .nav__sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: var(--surface-muted); }
    .nav__sub-toggle .icon { transition: transform .3s var(--ease); }
    .nav__sub-toggle[aria-expanded=true] .icon { transform: rotate(180deg); }
    .nav__panel { position: static; flex-basis: 100%; min-width: 0; padding: 0; opacity: 1; visibility: visible; transform: none; display: none; }
    .nav__item.is-open .nav__panel { display: block; }
    .nav__item.has-sub:hover .nav__panel { transform: none; }
    .nav__panel ul { padding: 0 0 12px; box-shadow: none; border: 0; border-radius: 0; max-height: none; }
    .nav__panel a { padding: 10px 12px; }
    .site-nav__mobile { display: grid; gap: 12px; margin-top: 28px; }
    .site-nav__mobile .lang__toggle { color: var(--ink); font-size: 15px; }
    .site-nav__mobile .lang__menu { position: static; box-shadow: none; padding: 0; margin-top: 8px; border: 1px solid var(--line); }
    .site-header__actions > .btn { display: none; }
    .intro__inner, .updates__inner, .contact, .detail__top, .tabs--vertical { grid-template-columns: 1fr; }
    .tabs__list--steps { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
    .tabs__list--steps [role=tab] { flex: none; padding: 14px 20px 14px 0; }
    .tabs__list--steps [role=tab]::before { left: 0; right: 20px; top: auto; bottom: -1px; width: auto; height: 3px; transform: scaleX(0); }
    .tabs__list--steps [aria-selected=true]::before { transform: scaleX(1); }
    .with-sidebar, .split { grid-template-columns: 1fr; }
    .with-sidebar__aside { position: static; order: 2; }
    .split__aside { position: static; }
    .site-footer__top { grid-template-columns: 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
    .intro__frame { inset: 18px -12px -18px 18px; }
}

@media (max-width: 720px) {
    .topbar__contact, .topbar__support { display: none; }
    .topbar__inner { justify-content: flex-end; }
    .topbar .social { border: 0; padding: 0; }
    .hero { min-height: 92svh; }
    .hero::after { right: -10%; width: 80px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .hero__inner { padding-block: 72px 28px; }
    .hero__controls { gap: 16px; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .cta-band__slash { display: none; }
    .form__row { grid-template-columns: 1fr; }
    .site-footer__top { grid-template-columns: 1fr; }
    .site-footer__links--2col { columns: 1; }
    .article-card { grid-template-columns: 1fr; }
    .article-card__media img { aspect-ratio: 16 / 9; min-height: 0; }
    .news-item { grid-template-columns: 88px 1fr; }
    .news-item img { width: 88px; height: 64px; }
    .news-item__go { display: none; }
    .section-head__tools .round-btn { display: none; }
    .section-head__tools .link-arrow { margin-left: 0; }
    .fab { right: 14px; bottom: 14px; }
    .fab__btn { height: 48px; }
    .fab__btn--top { width: 48px; }
    .page-hero__slash { right: -6%; width: 60px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

@media print {
    .topbar, .site-header, .fab, .cta-band, .site-footer, .with-sidebar__aside, .split__aside { display: none !important; }
    .page-hero { background: none; color: #000; }
    .page-hero__title { color: #000; }
}
