:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(2rem, 0.5rem + 5vw, 5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius-sm: 0.375rem; --radius-md: 0.5rem; --radius-lg: 0.75rem; --radius-xl: 1rem; --radius-2xl: 1.5rem; --radius-full: 9999px;
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-golden: cubic-bezier(0.16, 1, 0.3, 1);

  --content-default: 960px;
  --content-wide: 1200px;

  --font-display: 'Syne', 'Helvetica Neue', sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
}

:root, [data-theme="dark"] {
  --color-bg: #080809;
  --color-surface: #101013;
  --color-surface-2: #15151a;
  --color-surface-offset: #1b1b21;
  --color-border: #25252c;
  --color-divider: #202028;
  --color-text: #ece9e2;
  --color-text-muted: #8d8b86;
  --color-text-faint: #5d5b58;
  --color-primary: #fae62c;
  --color-primary-hover: #f3de10;
  --color-primary-dim: rgba(250,230,44,.12);
  --color-primary-glow: rgba(250,230,44,.12);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --shadow-md: 0 10px 30px rgba(0,0,0,.35);
  --shadow-lg: 0 24px 80px rgba(0,0,0,.55);
  --shadow-glow: 0 0 40px rgba(250,230,44,.12), 0 0 80px rgba(250,230,44,.05);
}

[data-theme="light"] {
  --color-bg:             #f9f8f5;
  --color-surface:        #f0efe9;
  --color-surface-2:      #e8e6df;
  --color-surface-offset: #e0ddd5;
  --color-border:         #d6d3ca;
  --color-divider:        #dddad2;
  --color-text:           #141410;
  --color-text-muted:     #4a4840;
  --color-text-faint:     #9a9890;
  --color-primary:        #e6a800;
  --color-primary-hover:  #cc9500;
  --color-primary-dim:    rgba(230,168,0,.13);
  --color-primary-glow:   rgba(230,168,0,.20);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 8px 28px rgba(0,0,0,.10);
  --shadow-lg:  0 24px 64px rgba(0,0,0,.14);
  --shadow-glow: 0 0 32px rgba(230,168,0,.20), 0 0 64px rgba(230,168,0,.10);
}

[data-theme="light"] .hero__eyebrow { color: var(--color-primary); }
[data-theme="light"] .hero__title em { color: var(--color-primary); }
[data-theme="light"] .hero__sub { color: var(--color-text-muted); }
[data-theme="light"] .section__eyebrow { color: var(--color-primary); }
[data-theme="light"] .section__eyebrow::before { background: var(--color-primary); }

[data-theme="light"] .hero__grid {
  background-image:
    linear-gradient(rgba(20,20,16,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,20,16,.06) 1px, transparent 1px);
}
[data-theme="light"] .hero__glow {
  background: radial-gradient(circle,
    rgba(230,168,0,.10) 0%,
    rgba(230,168,0,.04) 30%,
    transparent 70%);
}

[data-theme="light"] .btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(230,168,0,.30);
}
[data-theme="light"] .btn--primary:hover {
  background: var(--color-primary-hover);
  color: #fff;
  box-shadow: 0 4px 24px rgba(230,168,0,.40);
}
[data-theme="light"] .btn--ghost {
  border-color: var(--color-border);
  color: var(--color-text-muted);
  background: transparent;
}
[data-theme="light"] .btn--ghost:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
  background: rgba(0,0,0,.04);
}

[data-theme="light"] header {
  background: color-mix(in srgb, #f9f8f5 88%, transparent);
  border-bottom-color: var(--color-border);
}
[data-theme="light"] .nav__links a { color: var(--color-text-muted); }
[data-theme="light"] .nav__links a:hover { color: var(--color-primary); }
[data-theme="light"] .nav__links a::after { background: var(--color-primary); }
[data-theme="light"] .theme-toggle,
[data-theme="light"] .nav__hamburger {
  border-color: var(--color-border);
  color: var(--color-text-muted);
}
[data-theme="light"] .theme-toggle:hover,
[data-theme="light"] .nav__hamburger:hover {
  color: var(--color-primary);
  border-color: var(--color-primary-dim);
}

[data-theme="light"] #services,
[data-theme="light"] #about,
[data-theme="light"] #faq,
[data-theme="light"] .page-section--alt { background: var(--color-surface); }

[data-theme="light"] .service-card {
  background: var(--color-bg);
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
[data-theme="light"] .service-card:hover {
  background: #fff;
  border-color: rgba(230,168,0,.5);
  box-shadow: 0 16px 48px rgba(0,0,0,.10), 0 0 0 1px rgba(230,168,0,.2);
}
[data-theme="light"] .service-card__icon { color: var(--color-primary); }
[data-theme="light"] .service-card__num  { color: var(--color-primary); }
[data-theme="light"] .service-card__title { color: var(--color-text); }
[data-theme="light"] .service-card:hover .service-card__title { color: var(--color-primary); }
[data-theme="light"] .service-card__desc { color: var(--color-text-muted); }

[data-theme="light"] .process__list::before {
  background: linear-gradient(to bottom, var(--color-primary), transparent);
}
[data-theme="light"] .process__num {
  background: var(--color-bg);
  border-color: var(--color-border);
  color: var(--color-primary);
}
[data-theme="light"] .process__item:hover .process__num {
  border-color: rgba(230,168,0,.4);
  background: rgba(230,168,0,.08);
  box-shadow: 0 0 24px rgba(230,168,0,.15);
}
[data-theme="light"] .process__title { color: var(--color-text); }
[data-theme="light"] .process__item:hover .process__title { color: var(--color-primary); }
[data-theme="light"] .process__desc { color: var(--color-text-muted); }

[data-theme="light"] .about__card {
  background: #fff;
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}
[data-theme="light"] .about__badge {
  background: var(--color-primary);
  color: #fff;
}
[data-theme="light"] .about__stat {
  background: linear-gradient(180deg, rgba(230,168,0,.07), rgba(230,168,0,0));
  border-color: rgba(230,168,0,.18);
}
[data-theme="light"] .about__stat-value { color: var(--color-primary); }
[data-theme="light"] .about__stat-label { color: var(--color-text-muted); }
[data-theme="light"] .about__card p { color: var(--color-text-muted); }
[data-theme="light"] .section__title { color: var(--color-text); }
[data-theme="light"] .section__desc,
[data-theme="light"] .section__sub { color: var(--color-text-muted); }

[data-theme="light"] .contact__item-icon {
  border-color: var(--color-border);
  color: var(--color-primary);
  background: var(--color-bg);
}
[data-theme="light"] .contact__form-wrap {
  background: #fff;
  border-color: var(--color-border);
  box-shadow: var(--shadow-md);
}
[data-theme="light"] .form-group label { color: var(--color-text-muted); }
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
  background: var(--color-bg);
  border-color: var(--color-border);
  color: var(--color-text);
}
[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus {
  border-color: rgba(230,168,0,.6);
  box-shadow: 0 0 0 3px rgba(230,168,0,.12);
}
[data-theme="light"] .custom-select__trigger {
  background: var(--color-bg);
  border-color: var(--color-border);
  color: var(--color-text);
}
[data-theme="light"] .custom-select__menu {
  background: #fff;
  border-color: var(--color-border);
}
[data-theme="light"] .custom-select__option:hover {
  background: rgba(230,168,0,.08);
  color: var(--color-text);
}

[data-theme="light"] .faq__item {
  background: #fff;
  border-color: var(--color-border);
}
[data-theme="light"] .faq__item:hover { border-color: rgba(230,168,0,.35); }
[data-theme="light"] .faq__item.open {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px rgba(230,168,0,.15), var(--shadow-md);
}
[data-theme="light"] .faq__question { color: var(--color-text); }
[data-theme="light"] .faq__icon { color: var(--color-text-faint); }
[data-theme="light"] .faq__item.open .faq__icon { color: var(--color-primary); }
[data-theme="light"] .faq__answer { color: var(--color-text-muted); border-top-color: var(--color-divider); }

[data-theme="light"] footer { border-top-color: var(--color-border); }
[data-theme="light"] .footer__col-title { color: var(--color-text-faint); }
[data-theme="light"] .footer__links a { color: var(--color-text-muted); }
[data-theme="light"] .footer__links a:hover { color: var(--color-primary); }
[data-theme="light"] .footer__copy { color: var(--color-text-faint); }
[data-theme="light"] .footer__bottom { border-top-color: var(--color-divider); }

[data-theme="light"] .float-mail__link,
[data-theme="light"] .float-mail__button {
  background: color-mix(in srgb, #fff 92%, transparent);
  border-color: var(--color-border);
  color: var(--color-text-muted);
}
[data-theme="light"] .float-mail__link:hover,
[data-theme="light"] .float-mail__button:hover {
  color: var(--color-primary);
  border-color: rgba(230,168,0,.4);
}
[data-theme="light"] .float-mail__tooltip {
  background: #fff;
  border-color: var(--color-border);
  color: var(--color-text);
}

[data-theme="light"] .modal__dialog {
  background: #fff;
  border-color: var(--color-border);
}
[data-theme="light"] .modal__close {
  background: var(--color-bg);
  border-color: var(--color-border);
  color: var(--color-text-muted);
}
[data-theme="light"] .modal__title { color: var(--color-text); }
[data-theme="light"] .modal__sub { color: var(--color-text-muted); }
[data-theme="light"] .modal__dialog-shine {
  background: linear-gradient(90deg, transparent, rgba(230,168,0,.4), transparent);
}

[data-theme="light"] .mobile-menu {
  background: color-mix(in srgb, #f9f8f5 96%, transparent);
}
[data-theme="light"] .mobile-menu a { color: var(--color-text); }
[data-theme="light"] .mobile-menu a:hover { color: var(--color-primary); }
[data-theme="light"] .mobile-menu__close {
  background: var(--color-surface);
  border-color: var(--color-border);
}
[data-theme="light"] .mobile-menu__divider { background: var(--color-border); }

[data-theme="light"] .hero__scroll { color: var(--color-text-faint); }
[data-theme="light"] .hero__scroll-line {
  background: linear-gradient(to bottom, transparent, var(--color-primary));
}

[data-theme="light"] .page-progress__bar {
  background: linear-gradient(90deg, transparent, var(--color-primary), #ffd040);
  box-shadow: 0 0 12px rgba(230,168,0,.5);
}
[data-theme="light"] .contact__form-wrap { background: #fff; border-color: var(--color-border); }
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea { background: var(--color-bg); border-color: var(--color-border); }
[data-theme="light"] .custom-select__trigger { background: var(--color-bg); border-color: var(--color-border); }
[data-theme="light"] .custom-select__menu { background: #fff; border-color: var(--color-border); }
[data-theme="light"] .modal__dialog { background: #fff; border-color: var(--color-border); }
[data-theme="light"] .float-mail__link,
[data-theme="light"] .float-mail__button {
  background: color-mix(in srgb, #fff 90%, transparent);
  border-color: var(--color-border);
  color: var(--color-text);
}
[data-theme="light"] .float-mail__link::after,
[data-theme="light"] .float-mail__button::after { background: #fff; }
[data-theme="light"] .process__list::before { background: linear-gradient(to bottom, rgba(212,160,0,.7), transparent); }
[data-theme="light"] .process__num { background: var(--color-bg); border-color: var(--color-border); color: var(--color-primary); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; overflow-y: visible; }
body { min-height: 100dvh; font-family: var(--font-body); font-size: var(--text-base); background: var(--color-bg); color: var(--color-text); line-height: 1.6; overflow-x: clip; transition: background .3s var(--ease-golden), color .3s var(--ease-golden); }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { border: none; background: none; cursor: pointer; }
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.08; text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--color-primary-dim); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }

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

.container, .container--narrow { max-width: var(--content-wide); margin-inline: auto; padding-inline: clamp(var(--space-4), 4vw, var(--space-12)); }
.container--narrow { max-width: var(--content-default); }

header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: var(--space-4) 0;
  background: color-mix(in srgb, var(--color-bg) 85%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-interactive), border-color var(--transition-interactive);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); }
.nav__logo { display: flex; align-items: center; gap: var(--space-3); }
.nav__logo-svg { width: 32px; height: 35px; flex-shrink: 0; }
.nav__brand { font-family: var(--font-display); font-size: var(--text-sm); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: var(--space-8); list-style: none; }
.nav__links a { font-size: var(--text-sm); color: var(--color-text-muted); transition: color var(--transition-interactive); }
.nav__links a:hover { color: var(--color-primary); }
.nav__links a.is-active { color: var(--color-primary); }
.nav__actions { display: flex; align-items: center; gap: var(--space-3); }
.nav__cta { white-space: nowrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-6); border-radius: var(--radius-full);
  font-size: var(--text-sm); font-weight: 700;
  transition: background var(--transition-interactive), color var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive), border-color var(--transition-interactive);
}
.btn--primary { background: var(--color-primary); color: #0a0a0b; box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px) scale(1.02); background: var(--color-primary-hover); box-shadow: var(--shadow-glow); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost { border: 1px solid var(--color-border); color: var(--color-text-muted); background: transparent; }
.btn--ghost:hover { color: var(--color-text); border-color: var(--color-text-muted); transform: translateY(-1px); background: rgba(250,230,44,.05); }
.theme-toggle, .nav__hamburger {
  width: 42px; height: 42px; border-radius: var(--radius-full); border: 1px solid var(--color-border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--color-text-muted);
  transition: color var(--transition-interactive), border-color var(--transition-interactive), transform var(--transition-interactive);
}
.theme-toggle:hover, .nav__hamburger:hover { color: var(--color-primary); border-color: var(--color-primary-dim); transform: translateY(-1px); }
.nav__hamburger { display: none; flex-direction: column; gap: 4px; border-radius: var(--radius-md); }
.nav__hamburger span { width: 18px; height: 1.5px; background: currentColor; border-radius: 2px; }

#hero {
  position: relative; min-height: 92dvh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding-top: 90px;
}
#hero.hero--compact { min-height: 62dvh; }
.hero__bg { position: absolute; inset: 0; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(250,230,44,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(250,230,44,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 60% at 50% 50%, black 30%, transparent 100%);
}
.hero__glow {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -55%);
  width: min(980px, 90vw); height: min(980px, 90vw); border-radius: 50%;
  background: radial-gradient(circle, rgba(250,230,44,.08) 0%, rgba(250,230,44,.04) 26%, transparent 68%);
  filter: blur(8px); pointer-events: none;
}
/* `contain: strict` includes size containment, which collapses this element
   to 0x0 even with inset:0 — the canvas then has no box to draw into.
   Keep the paint/layout isolation, drop the size part. */
#hero-canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; will-change: contents; contain: layout paint style; }

.hero__content { position: relative; z-index: 4; text-align: center; max-width: 980px; padding: var(--space-16) var(--space-4); }

.hero__eyebrow { display: inline-block; color: var(--color-primary); font-size: var(--text-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--space-4); animation: fade-up .8s var(--ease-golden) .15s both; }
.hero__title { font-size: var(--text-hero); font-weight: 800; margin-bottom: var(--space-6); animation: fade-up .9s var(--ease-golden) .35s both; }
.hero__title em { font-style: normal; color: var(--color-primary); }
.hero__sub { max-width: 58ch; margin: 0 auto var(--space-10); color: var(--color-text-muted); font-size: var(--text-lg); animation: fade-up .9s var(--ease-golden) .55s both; }
.hero__cta { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; animation: fade-up .9s var(--ease-golden) .75s both; }
.btn--hero { padding: var(--space-4) var(--space-10); font-size: var(--text-base); }
.hero__scroll { position: absolute; bottom: var(--space-8); left: 50%; transform: translateX(-50%); z-index: 4; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); color: var(--color-text-faint); font-size: var(--text-xs); letter-spacing: .12em; animation: fade-up .8s var(--ease-golden) 1s both; }
.hero__scroll-line { width: 1px; height: 52px; background: linear-gradient(to bottom, transparent, var(--color-primary)); animation: scroll-line 2.1s ease-in-out infinite; }
@keyframes scroll-line { 0%,100%{transform:scaleY(1);opacity:1}50%{transform:scaleY(.45);opacity:.45} }
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Simple page header used on inner pages instead of the full canvas hero */
.page-hero { position: relative; padding: clamp(140px, 20vw, 180px) 0 var(--space-16); overflow: hidden; }
.page-hero__eyebrow { display: inline-block; color: var(--color-primary); font-size: var(--text-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--space-4); }
.page-hero__title { font-size: var(--text-2xl); font-weight: 800; margin-bottom: var(--space-4); max-width: 18ch; }
.page-hero__sub { color: var(--color-text-muted); max-width: 60ch; font-size: var(--text-lg); }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: var(--text-xs); color: var(--color-text-faint); margin-bottom: var(--space-6); text-transform: uppercase; letter-spacing: .08em; }
.breadcrumb a { transition: color var(--transition-interactive); }
.breadcrumb a:hover { color: var(--color-primary); }

section { padding-block: clamp(var(--space-16), 8vw, var(--space-32)); position: relative; }
.section__eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--color-primary); font-size: var(--text-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--space-4); position: relative; padding-left: 18px; }
.section__eyebrow::before { content:''; position:absolute; left:0; top:50%; transform:translateY(-50%); width:8px; height:1px; background:currentColor; }
.section__title { font-size: var(--text-2xl); font-weight: 800; margin-bottom: var(--space-4); }
.section__sub { color: var(--color-text-muted); max-width: 52ch; }

#services, #about, #faq, .page-section--alt { background: var(--color-surface); }
.services__header { margin-bottom: var(--space-12); }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px,100%), 1fr)); gap: var(--space-4); }
.service-card {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.015), transparent 60%), var(--color-bg);
  border: 1px solid var(--color-border); border-radius: var(--radius-xl); padding: var(--space-8);
  transition: transform .35s var(--ease-golden), border-color .35s var(--ease-golden), box-shadow .35s var(--ease-golden), background .35s var(--ease-golden);
}
.service-card a.service-card__link { position:absolute; inset:0; z-index:2; }
.service-card::before {
  pointer-events: none;
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px;
  background: linear-gradient(120deg, transparent, rgba(250,230,44,.18), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--transition-interactive);
}
.service-card:hover { transform: translateY(-10px) scale(1.015); box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(250,230,44,.18); border-color: rgba(250,230,44,.18); background: linear-gradient(145deg, rgba(250,230,44,.04), transparent 55%), var(--color-bg); }
.service-card:hover::before { opacity: 1; }
.service-card__num { font-family: var(--font-display); font-size: var(--text-xs); font-weight: 800; letter-spacing: .16em; color: var(--color-primary); margin-bottom: var(--space-4); }
.service-card__icon { width: 46px; height: 46px; margin-bottom: var(--space-4); color: var(--color-primary); transition: transform var(--transition-interactive), filter var(--transition-interactive); }
.service-card:hover .service-card__icon { transform: translateY(-2px) scale(1.04); filter: drop-shadow(0 0 14px rgba(250,230,44,.25)); }
.service-card__title { font-size: var(--text-lg); margin-bottom: var(--space-2); transition: color .25s var(--ease-golden); }
.service-card:hover .service-card__title { color: var(--color-primary); }
.service-card__desc { color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.75; transition: color .25s var(--ease-golden); }
.service-card:hover .service-card__desc { color: var(--color-text); }

.process__list { display: flex; flex-direction: column; gap: 0; position: relative; margin-top: var(--space-12); }
.process__list::before { content: ''; position: absolute; left: 23px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, rgba(250,230,44,.8), transparent); }
.process__item { display: flex; gap: var(--space-6); padding-bottom: var(--space-10); position: relative; transition: background .25s var(--ease-golden); padding-left: var(--space-2); border-radius: var(--radius-xl); }
.process__item:last-child { padding-bottom: 0; }
.process__item:hover { background: rgba(250,230,44,.025); }
.process__num { width: 48px; height: 48px; border-radius: 999px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--color-bg); border: 1px solid var(--color-border); color: var(--color-primary); font-family: var(--font-display); font-size: var(--text-sm); font-weight: 800; transition: transform var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive), background var(--transition-interactive); z-index: 1; }
.process__item:hover .process__num { transform: scale(1.06); border-color: rgba(250,230,44,.3); box-shadow: var(--shadow-glow); background: var(--color-primary-dim); }
.process__body { padding-top: var(--space-3); }
.process__title { font-size: var(--text-lg); margin-bottom: var(--space-2); transition: color .25s var(--ease-golden); }
.process__item:hover .process__title { color: var(--color-primary); }
.process__desc { max-width: 55ch; color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.75; }

.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-16); align-items: center; }
.about__stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px 24px; margin-top: var(--space-10); }
.about__stat {
  min-height: 110px; padding: 18px 20px 16px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(250,230,44,.05), rgba(250,230,44,0));
  border: 1px solid rgba(250,230,44,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
  transition: background .25s var(--ease-golden), transform .25s var(--ease-golden), border-color .25s var(--ease-golden), box-shadow .25s var(--ease-golden);
  cursor: default;
}
.about__stat:hover { background: rgba(250,230,44,.05); transform: translateY(-2px); }
.about__stat-value {
  display: block; font-size: clamp(3rem, 1.8rem + 5vw, 4.9rem); line-height: .92;
  font-weight: 800; letter-spacing: -0.06em; font-variant-numeric: tabular-nums;
  color: var(--color-primary); text-shadow: 0 0 18px rgba(250,230,44,.18);
}
.about__stat-label { display: block; margin-top: 8px; max-width: 16ch; font-size: 12px; line-height: 1.35; letter-spacing: .02em; color: var(--color-text-muted); text-transform: uppercase; }

.about__content .about__stats { display: none; }

.about__stats--fullwidth {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: var(--space-10);
  width: 100%;
}
.about__stats--fullwidth .about__stat { min-height: 120px; }
@media (max-width: 767px) {
  .about__stats--fullwidth { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 479px) {
  .about__stats--fullwidth { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}
.about__stat.is-animating { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px rgba(0,0,0,.20), inset 0 1px 0 rgba(255,255,255,.04); border-color: rgba(250,230,44,.22); }
.about__stat.is-animating .about__stat-value { text-shadow: 0 0 28px rgba(250,230,44,.35); animation: stat-pop .9s cubic-bezier(.16,1,.3,1) both; }
@keyframes stat-pop { 0%{transform:translateY(16px) scale(.78);opacity:0;filter:blur(8px)} 60%{transform:translateY(-2px) scale(1.08);opacity:1;filter:blur(0)} 100%{transform:translateY(0) scale(1);opacity:1;filter:blur(0)} }

.about__visual { position: relative; }
.about__card { isolation: isolate; position: relative; overflow: visible; padding: var(--space-10); background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); box-shadow: var(--shadow-md); }
.about__badge { position: absolute; top: -14px; right: var(--space-6); z-index: 5; background: var(--color-primary); color: #0a0a0b; padding: var(--space-2) var(--space-4); border-radius: 999px; font-size: var(--text-xs); font-weight: 800; letter-spacing: .06em; font-family: var(--font-display); will-change: transform; transform: translateZ(0); box-shadow: 0 4px 16px rgba(250,230,44,.25); }
.about__card-logo { width: 64px; height: 68px; margin-bottom: var(--space-6); animation: soft-glow 4s ease-in-out infinite; }
@keyframes soft-glow { 0%,100%{ filter: drop-shadow(0 0 0 rgba(250,230,44,0)); transform: translateY(0);} 50%{ filter: drop-shadow(0 0 18px rgba(250,230,44,.18)); transform: translateY(-3px);} }
.about__card p { color: var(--color-text-muted); line-height: 1.8; position: relative; z-index: 1; }
.section__desc { color: var(--color-text-muted); line-height: 1.8; margin-bottom: var(--space-4); }

.contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: var(--space-16); align-items: start; }
.contact__items { list-style: none; display: flex; flex-direction: column; gap: var(--space-6); margin-top: var(--space-8); }
.contact__item { display: flex; align-items: flex-start; gap: var(--space-4); transition: transform .25s var(--ease-golden); border-radius: var(--radius-lg); padding: var(--space-3); margin: calc(var(--space-3) * -1); }
.contact__item:hover { transform: translateX(4px); }
.contact__item-icon { width: 44px; height: 44px; border-radius: var(--radius-lg); border: 1px solid var(--color-border); display: flex; align-items: center; justify-content: center; color: var(--color-primary); flex-shrink: 0; transition: transform var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive); }
.contact__item:hover .contact__item-icon { transform: translateY(-2px); border-color: rgba(250,230,44,.25); box-shadow: var(--shadow-glow); }
.contact__item-label { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--color-text-faint); margin-bottom: var(--space-1); }
.contact__item-value { font-size: var(--text-sm); font-weight: 600; }
.contact__item-value a { transition: color var(--transition-interactive); }
.contact__item-value a:hover { color: var(--color-primary); }
.contact__form-wrap { background: linear-gradient(180deg, rgba(255,255,255,.015), transparent 50%), var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-2xl); padding: clamp(var(--space-8), 4vw, var(--space-12)); box-shadow: var(--shadow-md); }
.form__title { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.form__sub { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-8); }
.form { display: flex; flex-direction: column; gap: var(--space-4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }
.form-group label { font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--color-text-muted); }
.form-group input, .form-group textarea {
  width: 100%; background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4);
  outline: none; transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
  color: var(--color-text);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--color-text-faint); }
.form-group input:focus, .form-group textarea:focus { border-color: rgba(250,230,44,.55); box-shadow: 0 0 0 3px var(--color-primary-dim); }
.form-group textarea { min-height: 160px; resize: vertical; }

.custom-select { position: relative; }
.custom-select__trigger {
  width: 100%; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.custom-select.open .custom-select__trigger, .custom-select__trigger:hover { border-color: rgba(250,230,44,.35); }
.custom-select.open .custom-select__trigger { box-shadow: 0 0 0 3px var(--color-primary-dim); }
.custom-select__value { color: var(--color-text); font-size: var(--text-sm); }
.custom-select__placeholder { color: var(--color-text-faint); }
.custom-select__icon { width: 18px; height: 18px; color: var(--color-text-muted); transition: transform .25s var(--ease-golden), color var(--transition-interactive); }
.custom-select.open .custom-select__icon { transform: rotate(180deg); color: var(--color-primary); }
.custom-select__menu {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 20; overflow: hidden;
  background: var(--color-surface-2); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .22s var(--ease-golden), transform .22s var(--ease-golden), visibility .22s;
}
.custom-select.open .custom-select__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.custom-select__option {
  width: 100%; text-align: left; padding: var(--space-4) var(--space-4); font-size: var(--text-sm); color: var(--color-text-muted);
  transition: background var(--transition-interactive), color var(--transition-interactive), padding-left var(--transition-interactive);
}
.custom-select__option:hover, .custom-select__option[aria-selected="true"] { background: rgba(250,230,44,.08); color: var(--color-text); padding-left: calc(var(--space-4) + 6px); }
.hidden-native-select { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px; height: 1px; }

.faq__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-12); align-items: start; }
.faq__item { background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-xl); overflow: hidden; transition: transform .3s var(--ease-golden), border-color .3s var(--ease-golden), box-shadow .3s var(--ease-golden); }
.faq__item:hover { border-color: rgba(250,230,44,.22); transform: translateY(-4px) scale(1.008); box-shadow: 0 16px 48px rgba(0,0,0,.28); }
.faq__item.open { border-color: rgba(250,230,44,.3); box-shadow: 0 0 0 1px rgba(250,230,44,.12), 0 16px 48px rgba(0,0,0,.2); }
.faq__question { width: 100%; text-align: left; padding: var(--space-6) var(--space-8); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); font-size: var(--text-sm); font-weight: 700; }
.faq__icon { width: 20px; height: 20px; color: var(--color-text-muted); flex-shrink: 0; transition: transform .25s var(--ease-golden), color var(--transition-interactive); }
.faq__item.open .faq__icon { transform: rotate(45deg); color: var(--color-primary); }
.faq__answer-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease-golden); }
.faq__item.open .faq__answer-wrap { grid-template-rows: 1fr; }
.faq__answer-inner { overflow: hidden; }
.faq__answer { padding: 0 var(--space-8) var(--space-6); border-top: 1px solid var(--color-divider); padding-top: var(--space-4); color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.8; }

footer { border-top: 1px solid var(--color-border); padding: var(--space-16) 0 var(--space-8); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: var(--space-12); margin-bottom: var(--space-16); }
.footer__col-title { font-size: var(--text-xs); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--color-text-faint); margin-bottom: var(--space-5); }
.footer__links { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.footer__links a { font-size: var(--text-sm); color: var(--color-text-muted); transition: color .2s var(--ease-golden), padding-left .2s var(--ease-golden); }
.footer__links a:hover { color: var(--color-primary); padding-left: 6px; }
.footer__tagline { margin-top: var(--space-4); max-width: 30ch; font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.8; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-8); border-top: 1px solid var(--color-divider); }
.footer__copy { font-size: var(--text-xs); color: var(--color-text-faint); }

.nav__links a { position: relative; }
.nav__links a::after { content:''; position:absolute; left:0; bottom:-4px; width:0; height:1px; background:var(--color-primary); transition:width .25s var(--ease-golden); border-radius:2px; }
.nav__links a:hover::after { width:100%; }
.nav__links a.is-active::after { width: 100%; }

.reveal { opacity:0; transform:translateY(18px); filter:blur(6px); transition:opacity .8s var(--ease-golden), transform .8s var(--ease-golden), filter .8s var(--ease-golden); will-change:opacity,transform,filter; }
.reveal.is-visible { opacity:1; transform:translateY(0); filter:blur(0); }
@media (max-width: 767px) {
  .reveal { filter: none; transform: translateY(12px); transition: opacity .6s var(--ease-golden), transform .6s var(--ease-golden); }
  .reveal.is-visible { transform: translateY(0); }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 3px;
}
.lang-switch__btn {
  padding: 4px 9px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--color-text-muted);
  transition: background var(--transition-interactive), color var(--transition-interactive);
  line-height: 1;
}
.lang-switch__btn.active {
  background: var(--color-primary);
  color: #0a0a0b;
}
.lang-switch__btn:hover:not(.active) { color: var(--color-text); }
.page-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 10000; pointer-events: none; }
.page-progress__bar { width: 100%; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgba(250,230,44,0), rgba(250,230,44,1), rgba(255,255,200,.9)); box-shadow: 0 0 18px rgba(250,230,44,.55); }

.page-fade { position: fixed; inset: 0; z-index: 9998; pointer-events: none; background: radial-gradient(circle at 50% 30%, rgba(250,230,44,.08), transparent 35%), var(--color-bg); opacity: 0; transition: opacity .35s var(--ease-golden); }
.page-fade.is-in { opacity: 1; }

.float-mail { position: fixed; right: 18px; bottom: 18px; z-index: 9999; display: flex; flex-direction: column; align-items: end; gap: 10px; }
.float-mail__panel { pointer-events:none; display: flex; flex-direction: column; gap: 10px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transition: opacity .28s var(--ease-golden), transform .28s var(--ease-golden), visibility .28s; }
.float-mail.open .float-mail__panel { opacity: 1; visibility: visible; transform: translateY(0) scale(1); pointer-events:auto; }
.float-mail__link, .float-mail__button {
  cursor:pointer; width: 58px; height: 58px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(250,230,44,.2); background: color-mix(in srgb, var(--color-surface) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md); color: var(--color-text); position: relative; overflow: hidden;
  transition: transform var(--transition-interactive), border-color var(--transition-interactive), box-shadow var(--transition-interactive), color var(--transition-interactive);
}
.float-mail__button::before { content:''; position:absolute; inset:-20%; background: conic-gradient(from 0deg, transparent, rgba(250,230,44,.18), transparent 45%); animation: orbit 4s linear infinite; }
.float-mail__button::after, .float-mail__link::after { content:''; position:absolute; inset:1px; border-radius:inherit; background: var(--color-surface); }
.float-mail__button > *, .float-mail__link > * { position: relative; z-index: 1; }
.float-mail__button:hover, .float-mail__link:hover { transform: translateY(-3px) scale(1.03); border-color: rgba(250,230,44,.4); box-shadow: var(--shadow-glow); color: var(--color-primary); }
.float-mail__button svg { animation: mail-bob 3s ease-in-out infinite; }
@keyframes mail-bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-3px)} }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes float-ring { 0%{box-shadow:0 0 0 0 rgba(250,230,44,.35)} 70%{box-shadow:0 0 0 14px rgba(250,230,44,0)} 100%{box-shadow:0 0 0 0 rgba(250,230,44,0)} }
.float-mail__button { animation: orbit 4s linear infinite, float-ring 2.8s ease-out 1s infinite; }
.float-mail__tooltip { position: absolute; right: 68px; white-space: nowrap; background: var(--color-surface); color: var(--color-text); border: 1px solid var(--color-border); padding: 8px 12px; border-radius: 999px; font-size: 12px; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity var(--transition-interactive), transform var(--transition-interactive); }
.float-mail__link:hover .float-mail__tooltip { opacity: 1; transform: translateX(0); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 110; display: flex; opacity: 0; pointer-events: none;
  align-items: center; justify-content: center; flex-direction: column; gap: var(--space-6);
  background: color-mix(in srgb, var(--color-bg) 96%, transparent);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  transition: opacity .38s var(--ease-golden); overflow: hidden;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu::before { content:''; position:absolute; top:-20%; left:-10%; width:70vw; height:70vw; border-radius:50%; background: radial-gradient(circle, rgba(250,230,44,.06), transparent 65%); animation: mm-pulse 6s ease-in-out infinite; }
.mobile-menu::after { content:''; position:absolute; bottom:-15%; right:-10%; width:50vw; height:50vw; border-radius:50%; background: radial-gradient(circle, rgba(250,230,44,.04), transparent 65%); animation: mm-pulse 7s ease-in-out 1s infinite reverse; }
@keyframes mm-pulse { 0%,100%{transform:scale(1);opacity:.5} 50%{transform:scale(1.08);opacity:1} }
.mobile-menu__nav { display:flex; flex-direction:column; align-items:center; gap:var(--space-2); z-index:1; width:100%; }
.mobile-menu a { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 800; opacity:0; transform:translateY(24px) skewX(-3deg); letter-spacing:-.01em; transition: opacity .5s var(--ease-golden), transform .5s var(--ease-golden), color var(--transition-interactive); z-index:1; position:relative; text-align:center; padding: var(--space-3) var(--space-8); border-radius:var(--radius-full); }
.mobile-menu a::after { content:''; position:absolute; inset:0; border-radius:inherit; background:var(--color-primary-dim); opacity:0; transition:opacity var(--transition-interactive); }
.mobile-menu a:hover::after { opacity:1; }
.mobile-menu a:hover { color:var(--color-primary); }
.mobile-menu.open a { opacity:1; transform:translateY(0) skewX(0deg); }
.mobile-menu.open a:nth-child(1){transition-delay:.07s}
.mobile-menu.open a:nth-child(2){transition-delay:.12s}
.mobile-menu.open a:nth-child(3){transition-delay:.17s}
.mobile-menu.open a:nth-child(4){transition-delay:.22s}
.mobile-menu.open a:nth-child(5){transition-delay:.27s}
.mobile-menu.open a:nth-child(6){transition-delay:.32s}
.mobile-menu__divider { width:40px; height:1px; background:var(--color-border); margin: var(--space-2) auto; opacity:0; transition: opacity .4s var(--ease-golden) .32s; z-index:1; }
.mobile-menu.open .mobile-menu__divider { opacity:1; }
.mobile-menu__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: 0 var(--space-6);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s var(--ease-golden) .34s, transform .5s var(--ease-golden) .34s;
  z-index: 1;
}
.mobile-menu.open .mobile-menu__actions { opacity: 1; transform: translateY(0); }
.mobile-menu__btn-contact,
.mobile-menu__btn-start {
  width: 100%;
  max-width: 280px;
  min-height: 52px;
  font-size: var(--text-base);
  border-radius: var(--radius-full);
  justify-content: center;
}
.mobile-menu__btn-contact.btn--ghost {
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: transparent;
  opacity: 1 !important;
  transform: none !important;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0;
}
.mobile-menu__btn-contact.btn--ghost:hover,
.mobile-menu__btn-contact.btn--ghost:active {
  color: var(--color-text);
  border-color: var(--color-text-muted);
  background: rgba(250,230,44,.05);
}
.mobile-menu__btn-start.btn--primary {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0;
  opacity: 1 !important;
  transform: none !important;
}
.mobile-menu__close { position: absolute; top: var(--space-5); right: var(--space-5); width: 44px; height: 44px; border: 1px solid var(--color-border); border-radius: 999px; display: flex; align-items: center; justify-content: center; z-index: 2; background: var(--color-surface); transition: transform var(--transition-interactive), border-color var(--transition-interactive); }
.mobile-menu__close:hover { transform: rotate(90deg) scale(1.05); border-color: rgba(250,230,44,.35); }

body.modal-open { overflow: hidden; }

.modal { position:fixed; inset:0; z-index:120; display:flex; align-items:center; justify-content:center; padding:24px; background:rgba(5,5,8,0); backdrop-filter:blur(0px); -webkit-backdrop-filter:blur(0px); pointer-events:none; transition: background .35s var(--ease-golden), backdrop-filter .35s var(--ease-golden); }
.modal.open { pointer-events:auto; background:rgba(5,5,8,.65); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); }
.modal__dialog { width:min(560px,100%); background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius-2xl); padding:clamp(24px,4vw,40px); box-shadow:var(--shadow-lg); position:relative; clip-path: polygon(50% 0%, 50% 0%, 50% 100%, 50% 100%); opacity:0; transition: clip-path .45s var(--ease-golden), opacity .35s var(--ease-golden); overflow:hidden; }
.modal__dialog-shine { position:absolute; top:0; left:0; right:0; height:1px; background:linear-gradient(90deg,transparent,rgba(250,230,44,.5),transparent); pointer-events:none; }
.modal.open .modal__dialog { clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%); opacity:1; transition-delay:0.07s; }
.modal.closing .modal__dialog { clip-path: polygon(50% 0%, 50% 0%, 50% 100%, 50% 100%); opacity:0; transition-delay:0s; }
.modal.closing { background:rgba(5,5,8,0); backdrop-filter:blur(0px); }
.modal__close { position:absolute; top:16px; right:16px; width:42px; height:42px; border-radius:999px; border:1px solid var(--color-border); display:flex; align-items:center; justify-content:center; color:var(--color-text-muted); background: var(--color-bg); transition: transform var(--transition-interactive), border-color var(--transition-interactive), color var(--transition-interactive); }
.modal__close:hover { transform:rotate(90deg); border-color:rgba(250,230,44,.35); color:var(--color-primary); }
.modal__title { font-size:var(--text-xl); margin-bottom:8px; font-family: var(--font-display); }
.modal__sub { color:var(--color-text-muted); font-size:var(--text-sm); margin-bottom:24px; }

@media (min-width: 1536px) {
  .container { max-width: 1400px; }
  .container--narrow { max-width: 1080px; }
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; gap: var(--space-12); }
}

@media (max-width: 1279px) {
  .about__grid { gap: var(--space-10); }
  .contact__grid { gap: var(--space-10); }
  .footer__grid { gap: var(--space-8); }
}

@media (max-width: 1023px) {
  .nav__links { gap: var(--space-5); }
  .nav__actions .btn--ghost { display: none; }
  section { padding-block: clamp(var(--space-12), 6vw, var(--space-24)); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .about__visual { max-width: 520px; }
  .about__stat-value { font-size: clamp(2.4rem, 5vw, 3.6rem); }
  .contact__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .contact__info { order: 2; }
  .contact__form-wrap { order: 1; }
  .contact__items { flex-direction: row; flex-wrap: wrap; gap: var(--space-4); }
  .contact__item { flex: 1 1 180px; }
  .faq__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-10); }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .nav__links { display: none; }
  .nav__hamburger { display: inline-flex; }
  .nav__actions .theme-toggle { display: inline-flex; }
  .hero__content { padding-top: var(--space-16); padding-bottom: var(--space-10); }
  .hero__cta { gap: var(--space-3); }
  .btn--hero { padding: var(--space-3) var(--space-8); width: 100%; max-width: 320px; }
  .hero__scroll { display: none; }
  .services__grid { grid-template-columns: 1fr; }
  .process__list::before { left: 19px; }
  .process__num { width: 40px; height: 40px; font-size: var(--text-xs); }
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .about__stat { min-height: 90px; padding: 14px 16px 12px; border-radius: 16px; }
  .about__stat-value { font-size: clamp(2rem, 8vw, 3rem); }
  .about__visual { max-width: 100%; }
  .about__card { padding: var(--space-8); }
  .contact__items { flex-direction: column; }
  .contact__item { flex: unset; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .float-mail { right: 14px; bottom: 14px; }
  .float-mail__button, .float-mail__link { width: 52px; height: 52px; }
  .float-mail__tooltip { display: none; }
  .modal { align-items: center; padding: var(--space-4); }
  .modal__dialog {
    width: min(440px, 100%);
    border-radius: var(--radius-2xl);
    padding: var(--space-6) var(--space-6) var(--space-8);
    max-height: 88dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.modal-open { overflow: hidden; touch-action: none; }
}

@media (max-width: 639px) {
  html { scroll-padding-top: 72px; }
  header { padding: var(--space-3) 0; }
  .nav__logo-svg { width: 26px; height: 28px; }
  .hero__content { padding-top: var(--space-14, 3.5rem); }
  .hero__cta { flex-direction: column; align-items: center; }
  .btn--hero { max-width: 100%; }
  .section__title { font-size: clamp(1.6rem, 7vw, 2.4rem); line-height: 1.12; }
  .service-card { padding: var(--space-6); }
  .service-card__icon { width: 38px; height: 38px; }
  .process__item { gap: var(--space-4); }
  .process__desc { max-width: none; }
  .about__stats { gap: 10px; }
  .about__stat { padding: 12px 14px 10px; border-radius: 14px; }
  .about__stat-label { font-size: 11px; }
  .faq__question { padding: var(--space-4) var(--space-5); font-size: var(--text-xs); }
  .faq__answer { padding: 0 var(--space-5) var(--space-4); padding-top: var(--space-3); }
  .footer__grid { gap: var(--space-5); }
  .footer__col-title { margin-bottom: var(--space-3); }
  .footer__links { gap: var(--space-2); }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .contact__form-wrap { padding: var(--space-6); border-radius: var(--radius-xl); }
  .form__title { font-size: var(--text-lg); }
  .float-mail { right: 12px; bottom: 12px; }
}

@media (max-width: 479px) {
  .container, .container--narrow { padding-inline: var(--space-4); }
  .hero__eyebrow { font-size: 10px; letter-spacing: .12em; }
  .hero__title { font-size: clamp(1.7rem, 9vw, 2.2rem); }
  .hero__sub { font-size: var(--text-base); }
  .about__stats { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .about__stat { min-height: 80px; padding: 10px 12px 8px; border-radius: 12px; }
  .about__stat-value { font-size: clamp(1.8rem, 9vw, 2.6rem); }
  .about__stat-label { font-size: 10px; margin-top: 5px; }
  .footer__grid { grid-template-columns: 1fr; }
  .service-card { padding: var(--space-5); border-radius: var(--radius-lg); }
  .process__list::before { display: none; }
  .faq__question { padding: var(--space-4); }
  .faq__answer { padding: 0 var(--space-4) var(--space-4); padding-top: var(--space-3); }
  section { padding-block: var(--space-12); }
  .float-mail { right: 10px; bottom: 10px; gap: 8px; }
  .float-mail__button, .float-mail__link { width: 48px; height: 48px; }
  .float-mail__button svg { width: 20px; height: 20px; }
}

@supports (padding: env(safe-area-inset-bottom)) {
  .float-mail { bottom: calc(14px + env(safe-area-inset-bottom)); right: calc(14px + env(safe-area-inset-right)); }
  header { padding-top: max(var(--space-4), env(safe-area-inset-top)); }
}

@media (hover: none) and (pointer: coarse) {
  .service-card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .faq__item:hover { transform: none; box-shadow: none; }
  .btn--primary:hover { transform: none; }
  .btn--ghost:hover { transform: none; }
  .process__item:hover { background: none; }
  .about__stat:hover { transform: none; }
  .footer__links a:hover { padding-left: 0; }
  .contact__item:hover { transform: none; }
  .service-card:active { transform: scale(0.98); }
  .btn--primary:active { transform: scale(0.97); }
  .faq__item:active { border-color: rgba(250,230,44,.22); }
}

@media print {
  header, .float-mail, .hero__scroll, .mobile-menu, .modal, .page-progress, .page-fade, #hero-canvas { display: none !important; }
  body { background: white; color: black; }
  section { padding-block: var(--space-8); break-inside: avoid; }
  .service-card, .faq__item { break-inside: avoid; border: 1px solid #ccc; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 10px; color: #666; }
}

/* ═══════════════════════════════════════════════════════════════
   3D DEPTH LAYER
   Cards sit in a shared perspective and tilt toward the pointer.
   Transform is composed from custom properties so hover-lift and
   pointer-tilt can coexist without overwriting each other.
   ═══════════════════════════════════════════════════════════════ */

.services__grid,
.about__grid,
.about__stats--fullwidth,
.faq__grid { perspective: 1400px; perspective-origin: 50% 40%; }

[data-tilt] {
  transform:
    translateY(var(--lift, 0px))
    scale(var(--sc, 1))
    rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .18s var(--ease-golden), box-shadow .35s var(--ease-golden), border-color .35s var(--ease-golden), background .35s var(--ease-golden);
}
[data-tilt]:hover { transition-duration: .05s, .35s, .35s, .35s; }

/* Pointer-following sheen — reads as a light source raking across the surface */
.tilt-sheen {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: 3;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,.10), rgba(255,255,255,.03) 35%, transparent 60%);
  opacity: 0; transition: opacity .35s var(--ease-golden);
}
[data-tilt]:hover .tilt-sheen { opacity: 1; }
[data-theme="light"] .tilt-sheen {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255,255,255,.85), rgba(255,255,255,.30) 35%, transparent 60%);
}

/* ── Service cards: contents lift off the surface ── */
.service-card {
  overflow: visible; /* required for preserve-3d to survive */
  --lift: 0px; --sc: 1;
}
.service-card:hover { --lift: -8px; --sc: 1.015; transform: translateY(var(--lift)) scale(var(--sc)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.service-card__num,
.service-card__icon,
.service-card__title { transform: translateZ(26px); transition: transform .35s var(--ease-golden); }
.service-card__desc { transform: translateZ(12px); }
.service-card:hover .service-card__icon { transform: translateZ(46px) scale(1.06); }
.service-card:hover .service-card__num { transform: translateZ(38px); }

/* Cast shadow beneath the card, so the lift reads as height not just scale */
.service-card::after {
  pointer-events: none;
  content: ''; position: absolute; left: 6%; right: 6%; bottom: -6px; height: 24px;
  border-radius: 50%; z-index: -1;
  background: radial-gradient(ellipse, rgba(0,0,0,.55), transparent 70%);
  opacity: 0; filter: blur(10px);
  transform: translateZ(-40px);
  transition: opacity .35s var(--ease-golden);
}
.service-card:hover::after { opacity: 1; }
[data-theme="light"] .service-card::after {
  pointer-events: none; background: radial-gradient(ellipse, rgba(0,0,0,.22), transparent 70%); }

/* ── About card ── */
.about__card { --lift: 0px; overflow: visible; }
.about__card:hover { --lift: -6px; }
.about__card-glow {
  position: absolute; inset: auto 0 0 auto; z-index: 0;
  width: 240px; height: 240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(250,230,44,.10), transparent 70%);
  pointer-events: none; transform: translate(30%, 30%) translateZ(-20px);
}
.about__card-logo { transform: translateZ(52px); }
.about__card p { transform: translateZ(20px); }
.about__badge { transform: translateZ(64px); }

/* ── Stat tiles ── */
.about__stat { --lift: 0px; position: relative; overflow: visible; }
.about__stat:hover { --lift: -4px; }
.about__stat-value { transform: translateZ(30px); }
.about__stat-label { transform: translateZ(14px); }

/* ── Buttons get a physical press ── */
.btn--primary {
  transform-style: preserve-3d;
  box-shadow: 0 6px 0 -1px rgba(180,164,20,.55), 0 12px 28px rgba(250,230,44,.16);
}
.btn--primary:hover { box-shadow: 0 8px 0 -1px rgba(180,164,20,.6), 0 18px 40px rgba(250,230,44,.24); }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 2px 0 -1px rgba(180,164,20,.6), 0 6px 16px rgba(250,230,44,.18); }
[data-theme="light"] .btn--primary { box-shadow: 0 5px 0 -1px rgba(150,110,0,.5), 0 12px 26px rgba(230,168,0,.24); }
[data-theme="light"] .btn--primary:active { box-shadow: 0 2px 0 -1px rgba(150,110,0,.5), 0 6px 14px rgba(230,168,0,.20); }

/* ── Hero background parallax layers ── */
.hero__grid { transform: translate3d(0,0,0); }

/* Touch devices: no tilt, no floating shadows — flatten it all back down */
@media (hover: none), (pointer: coarse) {
  [data-tilt] { transform: none !important; }
  .tilt-sheen { display: none; }
  .service-card::after {
  pointer-events: none; display: none; }
  .service-card__num, .service-card__icon,
  .service-card__title, .service-card__desc,
  .about__card-logo, .about__card p, .about__badge,
  .about__stat-value, .about__stat-label { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  [data-tilt] { transform: none !important; }
  .tilt-sheen { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO COMPOSITION
   The 3D mark stays centred behind the copy. Legibility comes from a
   background-coloured contour drawn around every glyph, not from hiding
   the mark, so the artwork stays fully visible through the type.
   ═══════════════════════════════════════════════════════════════ */

.hero__grid, .hero__glow {
  transform: translate3d(var(--par-x, 0px), var(--par-y, 0px), 0);
  transition: transform .5s var(--ease-golden);
}
.hero__glow { transform: translate(-50%, -55%) translate3d(var(--par-x, 0px), var(--par-y, 0px), 0); }

/* Very light haze — takes the edge off the brightest part of the mark
   without dimming it. The contour below does the real work. */
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 70% 54% at 50% 48%,
    color-mix(in srgb, var(--color-bg) 52%, transparent) 0%,
    color-mix(in srgb, var(--color-bg) 28%, transparent) 48%,
    transparent 76%);
}

/* ── Text contour ──
   Fallback path: an eight-direction ring of hard shadows in the background
   colour. Universally supported and never distorts the glyph shapes. */
.hero__eyebrow,
.hero__title,
.hero__sub,
.hero__scroll span {
  text-shadow:
     2px 0    0 var(--color-bg), -2px 0    0 var(--color-bg),
     0    2px 0 var(--color-bg),  0   -2px 0 var(--color-bg),
     1.4px  1.4px 0 var(--color-bg), -1.4px  1.4px 0 var(--color-bg),
     1.4px -1.4px 0 var(--color-bg), -1.4px -1.4px 0 var(--color-bg),
     0 0 20px var(--color-bg);
}

/* Preferred path: a real stroke painted behind the fill. Cleaner at large
   display sizes than stacked shadows, so it replaces them where supported. */
@supports (paint-order: stroke) {
  .hero__title {
    paint-order: stroke fill;
    -webkit-text-stroke: 8px var(--color-bg);
    text-shadow: 0 0 26px var(--color-bg), 0 0 10px var(--color-bg);
  }
  .hero__eyebrow,
  .hero__scroll span {
    paint-order: stroke fill;
    -webkit-text-stroke: 4px var(--color-bg);
    text-shadow: 0 0 14px var(--color-bg);
  }
  /* Muted grey over the mark's brightest face is the lowest-contrast pairing
     in the hero, so the body copy gets a heavier contour than the rest. */
  .hero__sub {
    paint-order: stroke fill;
    -webkit-text-stroke: 5px var(--color-bg);
    text-shadow: 0 0 20px var(--color-bg), 0 0 9px var(--color-bg);
  }
}

/* Mid-grey against the mark's bright face is the worst possible pairing: too
   dark to read as light text, too light to read as dark. The hero body copy
   therefore runs brighter than the muted grey used elsewhere on the site. */
#hero .hero__sub { color: color-mix(in srgb, var(--color-text) 86%, transparent); }

/* The ghost CTA is transparent, so it needs its own separation from the mark */
#hero .btn--ghost {
  background: color-mix(in srgb, var(--color-bg) 62%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
#hero .btn--ghost:hover {
  background: color-mix(in srgb, var(--color-bg) 78%, transparent);
}

/* The scroll cue's hairline also crosses the mark */
.hero__scroll-line { box-shadow: 0 0 0 2px var(--color-bg); }

/* ── Inner-page 3D mark ── */
.page-hero { overflow: hidden; }
.page-hero__canvas {
  position: absolute; right: 2%; top: 50%; transform: translateY(-40%);
  width: min(38%, 420px); height: 115%;
  pointer-events: none; z-index: 0;
}
.page-hero > .container { position: relative; z-index: 2; }
@media (max-width: 1023px) {
  .page-hero__canvas { width: 62%; right: -8%; opacity: .20; }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE HEADER FIX
   The third language button overflowed the bar and pushed the
   hamburger off-screen. Below 768px the bar keeps only logo +
   theme + hamburger; language and CTA move into the menu panel.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .nav__actions .nav__cta { display: none; }
}
@media (max-width: 767px) {
  .nav__actions > .lang-switch { display: none; }
  .nav { gap: var(--space-4); }
}
.mobile-menu__lang { display: none; }
@media (max-width: 767px) {
  .mobile-menu__lang { display: flex; justify-content: center; margin-top: var(--space-2); }
  .mobile-menu__lang .lang-switch__btn { padding: 8px 18px; font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   3D ACROSS THE REST OF THE SITE
   ═══════════════════════════════════════════════════════════════ */

.process__list, .contact__grid, .footer__grid { perspective: 1500px; }

/* Process steps: the numbered token lifts off its row */
.process__item { transform-style: preserve-3d; }
.process__num { transform: translateZ(34px); }
.process__item:hover .process__num { transform: translateZ(56px) scale(1.06); }
.process__title { transform: translateZ(16px); }

/* FAQ: tilts as a plate. No preserve-3d, so the accordion clip still works. */
.faq__item { --lift: 0px; }
.faq__item:hover { --lift: -4px; }

/* Contact block */
.contact__form-wrap { --lift: 0px; }
.contact__item { transform-style: preserve-3d; }
.contact__item-icon { transform: translateZ(28px); }
.contact__item:hover .contact__item-icon { transform: translateZ(44px) translateY(-2px); }

/* Section headings float a touch above their section */
.section__title, .page-hero__title { transform: translateZ(0); }

@media (hover: none), (pointer: coarse) {
  .process__num, .process__title,
  .contact__item-icon { transform: none !important; }
  .page-hero__canvas { opacity: .14; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__grid, .hero__glow { transform: none; }
  .hero__glow { transform: translate(-50%, -55%); }
}

/* ═══════════════════════════════════════════════════════════════
   SCROLL EFFECTS
   Reveal rules apply only while data-fx is present; the engine
   strips the attribute once an element has played so that cards
   carrying data-tilt get their transform back.
   ═══════════════════════════════════════════════════════════════ */

[data-fx] {
  opacity: 0;
  will-change: transform, opacity;
  transition:
    opacity .75s var(--ease-golden) var(--fx-delay, 0ms),
    transform .95s var(--ease-golden) var(--fx-delay, 0ms),
    clip-path .95s var(--ease-golden) var(--fx-delay, 0ms);
}
[data-fx="up"]    { transform: translate3d(0, 30px, 0); }
[data-fx="left"]  { transform: translate3d(-42px, 0, 0); }
[data-fx="right"] { transform: translate3d(42px, 0, 0); }
[data-fx="scale"] { transform: scale(.93); }
[data-fx="depth"] { transform: perspective(1200px) translate3d(0, 40px, -140px) rotateX(11deg); }
[data-fx="mask"]  { clip-path: inset(0 0 100% 0); transform: translate3d(0, 20px, 0); }

[data-fx].is-in {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}

/* Word-level heading reveal */
.fx-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.fx-word__i {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .85s var(--ease-golden);
}
[data-fx-split].is-in .fx-word__i { transform: translateY(0); }

/* Scroll-linked parallax */
[data-parallax] { transform: translate3d(0, var(--pfx-y, 0px), 0); will-change: transform; }

/* Hero copy drifts out on the first scroll */
#hero .hero__content {
  transform: translate3d(0, var(--hero-exit-y, 0px), 0) scale(var(--hero-exit-s, 1));
  opacity: var(--hero-exit-o, 1);
  will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
  [data-fx] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .fx-word__i { transform: none !important; }
  [data-parallax] { transform: none !important; }
  #hero .hero__content { transform: none !important; opacity: 1 !important; }
}

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════════════════════════ */

.pf-list { display: flex; flex-direction: column; gap: clamp(var(--space-16), 9vw, var(--space-32)); perspective: 1600px; }

.pf-item {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.pf-item:nth-child(even) .pf-item__body   { order: 2; }
.pf-item:nth-child(even) .pf-item__visual { order: 1; }

.pf-item__index {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 800;
  letter-spacing: .2em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  display: flex; align-items: center; gap: var(--space-3);
}
.pf-item__index::after {
  content: ''; height: 1px; width: 48px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
}
.pf-item__name { font-size: var(--text-xl); font-weight: 800; margin-bottom: var(--space-2); }
.pf-item__cat { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-5); }
.pf-item__desc { color: var(--color-text-muted); line-height: 1.85; margin-bottom: var(--space-5); font-size: var(--text-sm); }
.pf-item__stack {
  font-size: var(--text-xs); letter-spacing: .06em; color: var(--color-text-faint);
  padding-top: var(--space-4); border-top: 1px solid var(--color-divider); margin-bottom: var(--space-6);
}
.pf-item__link {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 700; color: var(--color-primary);
  transition: gap var(--transition-interactive), color var(--transition-interactive);
}
.pf-item__link:hover { gap: var(--space-4); color: var(--color-primary-hover); }
.pf-item__link svg { width: 16px; height: 16px; }

/* ── Browser frame ──
   A deliberately abstract stand-in, not a screenshot: a chrome bar with the
   real domain over a tinted wireframe of the page's own structure. Swap the
   .pf-frame__body contents for a real image when screenshots are available. */
.pf-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  box-shadow: 0 30px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(250,230,44,.06);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease-golden), box-shadow .5s var(--ease-golden), border-color .5s var(--ease-golden);
}
[data-theme="light"] .pf-frame { box-shadow: 0 24px 60px rgba(0,0,0,.14); background: #fff; }
.pf-item:hover .pf-frame {
  border-color: rgba(250,230,44,.35);
  box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(250,230,44,.18);
}
.pf-frame__bar {
  display: flex; align-items: center; gap: var(--space-3);
  padding: 11px var(--space-4);
  background: var(--color-surface-offset);
  border-bottom: 1px solid var(--color-border);
}
[data-theme="light"] .pf-frame__bar { background: var(--color-surface); }
.pf-frame__dots { display: flex; gap: 6px; flex-shrink: 0; }
.pf-frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--color-border); display: block; }
.pf-frame__url {
  flex: 1; text-align: center; font-size: 11px; letter-spacing: .04em;
  color: var(--color-text-faint); background: var(--color-bg);
  border-radius: var(--radius-full); padding: 4px 12px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pf-frame__body {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background:
    radial-gradient(120% 80% at 15% 0%, var(--pf-accent, rgba(250,230,44,.18)), transparent 60%),
    linear-gradient(160deg, var(--color-surface), var(--color-bg));
  padding: clamp(14px, 2.4vw, 26px);
  display: flex; flex-direction: column; gap: 10px;
}
/* Abstract wireframe blocks — a structure hint, never a fake screenshot */
.pf-block { border-radius: 6px; background: var(--color-border); opacity: .75; }
.pf-block--hero { height: 22%; background: linear-gradient(90deg, var(--pf-solid, var(--color-primary)), transparent 85%); opacity: .5; }
.pf-block--line { height: 7px; width: 62%; }
.pf-block--line.is-short { width: 38%; }
.pf-block--grid { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pf-block--grid > i { display: block; border-radius: 6px; background: var(--color-border); opacity: .6; }
.pf-block--grid > i:first-child { background: var(--pf-solid, var(--color-primary)); opacity: .28; }

.pf-frame__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.07) 48%, transparent 62%);
}

.pf-note {
  margin-top: clamp(var(--space-16), 8vw, var(--space-24));
  padding: var(--space-8);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  line-height: 1.8;
}
.pf-note strong { color: var(--color-text); font-weight: 700; }

/* Home page client strip */
.clients__row {
  display: flex; flex-wrap: wrap; gap: var(--space-3);
  margin-top: var(--space-8);
}
.clients__chip {
  padding: var(--space-3) var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  transition: color var(--transition-interactive), border-color var(--transition-interactive), transform var(--transition-interactive);
}
.clients__chip:hover { color: var(--color-primary); border-color: rgba(250,230,44,.35); transform: translateY(-2px); }

@media (max-width: 1023px) {
  .pf-item { grid-template-columns: 1fr; gap: var(--space-8); }
  .pf-item:nth-child(even) .pf-item__body   { order: 1; }
  .pf-item:nth-child(even) .pf-item__visual { order: 2; }
}
@media (max-width: 639px) {
  .pf-item__name { font-size: var(--text-lg); }
  .pf-note { padding: var(--space-6); }
}

/* ── Header capacity ──
   Six nav links plus the language switcher and two buttons overflow a
   1440px bar. Links never wrap; the spacing and the secondary button
   give way first, in that order. */
.nav__links a { white-space: nowrap; }
@media (max-width: 1439px) { .nav__links { gap: var(--space-6); } }
@media (max-width: 1319px) { .nav__links { gap: var(--space-5); } }
@media (max-width: 1279px) { .nav__actions #open-contact-modal { display: none; } }

/* Six links no longer fit a tablet bar, so the menu collapses at 900px
   rather than 768px. Language moves into the panel at the same point. */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__hamburger { display: inline-flex; }
  .nav__actions > .lang-switch { display: none; }
  .mobile-menu__lang { display: flex; justify-content: center; margin-top: var(--space-2); }
  .mobile-menu__lang .lang-switch__btn { padding: 8px 18px; font-size: 14px; }
}

/* ═══════════════════════════════════════════════════════════════
   COOKIE CONSENT
   ═══════════════════════════════════════════════════════════════ */
.cc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10001;
  padding: clamp(12px, 2vw, 24px);
  display: flex; justify-content: center;
  pointer-events: none;
}
.cc__panel {
  pointer-events: auto;
  width: min(720px, 100%);
  background: color-mix(in srgb, var(--color-surface) 96%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(var(--space-5), 3vw, var(--space-8));
  transform: translateY(24px) scale(.97); opacity: 0;
  transition: transform .4s var(--ease-golden), opacity .4s var(--ease-golden);
  max-height: 88dvh; overflow-y: auto;
}
.cc.is-open .cc__panel { transform: none; opacity: 1; }
.cc__title { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.cc__body { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.75; }
.cc__links { margin-top: var(--space-3); font-size: var(--text-xs); color: var(--color-text-faint); }
.cc__links a { color: var(--color-primary); }
.cc__links a:hover { text-decoration: underline; }
.cc__actions { display: flex; gap: var(--space-3); margin-top: var(--space-6); flex-wrap: wrap; }
.cc__btn { flex: 1 1 auto; min-width: 130px; justify-content: center; }
.cc__cats { margin-top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); }
.cc-cat { padding: var(--space-4); border: 1px solid var(--color-border); border-radius: var(--radius-lg); background: var(--color-bg); }
.cc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-2); }
.cc-cat__name { font-weight: 700; font-size: var(--text-sm); }
.cc-cat__locked { font-size: var(--text-xs); color: var(--color-text-faint); text-transform: uppercase; letter-spacing: .08em; }
.cc-cat__desc { font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.7; }

.cc-switch { position: relative; display: inline-flex; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc-switch__track {
  width: 44px; height: 25px; border-radius: 999px;
  background: var(--color-surface-offset); border: 1px solid var(--color-border);
  display: flex; align-items: center; padding: 2px;
  transition: background var(--transition-interactive), border-color var(--transition-interactive);
}
.cc-switch__thumb {
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--color-text-faint);
  transition: transform var(--transition-interactive), background var(--transition-interactive);
}
.cc-switch input:checked + .cc-switch__track { background: var(--color-primary-dim); border-color: rgba(250,230,44,.5); }
.cc-switch input:checked + .cc-switch__track .cc-switch__thumb { transform: translateX(19px); background: var(--color-primary); }
.cc-switch input:focus-visible + .cc-switch__track { outline: 2px solid var(--color-primary); outline-offset: 3px; }

@media (max-width: 479px) {
  .cc__actions { flex-direction: column; }
  .cc__btn { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   LEGAL PAGES
   ═══════════════════════════════════════════════════════════════ */
.legal { max-width: 76ch; }
.legal__updated {
  font-size: var(--text-xs); color: var(--color-text-faint);
  padding: var(--space-3) var(--space-4); border-left: 2px solid var(--color-primary);
  background: var(--color-surface); border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-10);
}
.legal h2 {
  font-size: var(--text-lg); margin-top: var(--space-12); margin-bottom: var(--space-4);
  padding-top: var(--space-6); border-top: 1px solid var(--color-divider);
}
.legal h2:first-of-type { margin-top: var(--space-4); border-top: none; padding-top: 0; }
.legal h3 { font-size: var(--text-base); margin-top: var(--space-6); margin-bottom: var(--space-2); color: var(--color-primary); }
.legal p { color: var(--color-text-muted); line-height: 1.85; margin-bottom: var(--space-4); font-size: var(--text-sm); }
.legal ul { color: var(--color-text-muted); line-height: 1.85; font-size: var(--text-sm); margin: 0 0 var(--space-4) var(--space-5); }
.legal li { margin-bottom: var(--space-2); }
.legal strong { color: var(--color-text); font-weight: 700; }
.legal a { color: var(--color-primary); }
.legal a:hover { text-decoration: underline; }
.legal table { width: 100%; border-collapse: collapse; margin-bottom: var(--space-6); font-size: var(--text-xs); }
.legal th, .legal td { text-align: left; padding: var(--space-3); border-bottom: 1px solid var(--color-divider); color: var(--color-text-muted); vertical-align: top; }
.legal th { color: var(--color-text); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.legal__todo {
  border: 1px dashed rgba(250,230,44,.45); background: var(--color-primary-dim);
  border-radius: var(--radius-lg); padding: var(--space-5); margin-bottom: var(--space-8);
  font-size: var(--text-xs); color: var(--color-text); line-height: 1.75;
}
[data-lang-block] { display: none; }
[data-lang-block].is-active { display: block; }

/* ── Portfolio: real screenshots with a wireframe fallback ──
   The <img> sits over the abstract wireframe and fades in only once it has
   actually decoded. If the file is missing the image never loads, the JS
   removes it, and the wireframe simply stays — so a missing screenshot can
   never leave an empty white box. */
.pf-frame__body { position: relative; }
.pf-wire {
  position: absolute; inset: 0;
  padding: clamp(14px, 2.4vw, 26px);
  display: flex; flex-direction: column; gap: 10px;
  transition: opacity .5s var(--ease-golden);
}
.pf-frame__shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transition: opacity .6s var(--ease-golden), transform 1.1s var(--ease-golden);
  transform: scale(1.03);
}
.pf-frame__body.has-shot .pf-frame__shot { opacity: 1; transform: none; }
.pf-frame__body.has-shot .pf-wire { opacity: 0; }
/* A slow drift on hover, so the still image still feels alive */
.pf-item:hover .pf-frame__body.has-shot .pf-frame__shot { transform: scale(1.04); }

/* ═══════════════════════════════════════════════════════════════
   PORTFOLIO DEVICE MOCKUPS — v4
   Uses a single positioned container. Laptop fills it; phone is
   absolute-positioned over the bottom-right corner.
   ═══════════════════════════════════════════════════════════════ */

/* Container — fixed 16:9 aspect so it never collapses */
.pf-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  isolation: isolate;
}

/* Accent glow */
.pf-mockup::before {
  content: '';
  position: absolute;
  inset: 20% 5% -5%;
  background: radial-gradient(ellipse 80% 60% at 48% 90%,
    var(--pf-accent, rgba(250,230,44,.25)) 0%, transparent 70%);
  filter: blur(38px);
  pointer-events: none;
  z-index: 0;
  transition: opacity .5s var(--ease-golden);
}
.pf-item:hover .pf-mockup::before { opacity: 1.4; }

/* Domain badge */
.pf-mockup__url {
  position: absolute;
  bottom: -20px; left: 0; right: 0;
  text-align: center;
  font-size: 11px; letter-spacing: .05em;
  color: var(--color-text-faint);
}

/* ── LAPTOP fills ~82% width, centred-left ── */
.pf-laptop {
  position: absolute;
  left: 0; bottom: 0;
  width: 83%;
  z-index: 1;
  transform: perspective(1600px) rotateY(3deg) rotateX(2deg);
  transform-origin: 50% 100%;
  transition: transform .7s var(--ease-golden);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,.7));
}
.pf-item:hover .pf-laptop {
  transform: perspective(1600px) rotateY(1.5deg) rotateX(.8deg) translateY(-6px);
}

/* Lid */
.pf-laptop__screen-wrap {
  width: 100%;
  background: linear-gradient(160deg,#28282f,#18181e);
  border-radius: 10px 10px 0 0;
  border: 2px solid #36364a;
  border-bottom: none;
  padding: 8px 8px 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  position: relative;
}
.pf-laptop__screen-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg,transparent,rgba(255,255,255,.20),transparent);
}

/* Camera row */
.pf-laptop__notch-row {
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pf-laptop__cam {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #232330;
  border: 1px solid #2e2e40;
}

/* Screen — 16:10 */
.pf-laptop__screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 3px 3px 0 0;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(110% 80% at 12% 0%,
      var(--pf-accent, rgba(250,230,44,.18)),transparent 55%),
    #0d0d12;
}

/* Hinge */
.pf-laptop__hinge {
  width: 100%;
  height: 5px;
  background: linear-gradient(180deg,#0f0f15,#1e1e28);
  border-left: 2px solid #36364a;
  border-right: 2px solid #36364a;
}

/* Base — wider than lid to mimic real laptop taper */
.pf-laptop__base {
  width: 106%;
  margin-left: -3%;
  background: linear-gradient(175deg,#24242c,#1a1a22,#12121a);
  border-radius: 0 0 10px 10px;
  border: 2px solid #36364a;
  border-top: none;
  padding: 7px 14px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  box-shadow: 0 20px 55px rgba(0,0,0,.75), 0 6px 16px rgba(0,0,0,.5);
}
.pf-laptop__keyboard {
  width: 84%; height: 28px;
  background:
    repeating-linear-gradient(90deg,transparent 0,transparent 5px,rgba(0,0,0,.22) 5px,rgba(0,0,0,.22) 6px),
    repeating-linear-gradient(180deg,transparent 0,transparent 8px,rgba(0,0,0,.22) 8px,rgba(0,0,0,.22) 9px),
    #1e1e2a;
  border-radius: 3px; opacity: .72;
}
.pf-laptop__trackpad {
  width: 24%; height: 15px;
  background: #1a1a26; border: 1px solid #2c2c3e; border-radius: 5px;
}

/* Light theme laptop */
[data-theme="light"] .pf-laptop__screen-wrap,
[data-theme="light"] .pf-laptop__base { background: linear-gradient(160deg,#dcdef0,#c8cad8); border-color:#b0b2c4; }
[data-theme="light"] .pf-laptop__hinge { background: linear-gradient(180deg,#a8aabe,#bbbdd0); border-color:#b0b2c4; }
[data-theme="light"] .pf-laptop__cam { background: #a0a2b4; border-color:#c0c2d4; }
[data-theme="light"] .pf-laptop__keyboard { background: repeating-linear-gradient(90deg,transparent 0,transparent 5px,rgba(0,0,0,.1) 5px,rgba(0,0,0,.1) 6px),repeating-linear-gradient(180deg,transparent 0,transparent 8px,rgba(0,0,0,.1) 8px,rgba(0,0,0,.1) 9px),#c4c6d6; }
[data-theme="light"] .pf-laptop__trackpad { background: #bcbece; border-color:#a8aab8; }

/* ── PHONE — absolute, bottom-right of container ── */
.pf-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  /* Phone sits at bottom-right, 62% of container height */
  height: 62%;
  width: calc(62% * (9 / 19.5));
  z-index: 2;
  transform: perspective(900px) rotateY(-7deg) rotateX(1deg);
  transform-origin: 50% 100%;
  transition: transform .7s var(--ease-golden);
  filter: drop-shadow(-10px 22px 32px rgba(0,0,0,.7));
}
.pf-item:hover .pf-phone {
  transform: perspective(900px) rotateY(-4deg) rotateX(0deg) translateY(-10px);
}

.pf-phone__shell {
  width: 100%; height: 100%;
  background: linear-gradient(150deg,#2e2e3e,#1c1c28,#141418);
  border: 2px solid #3c3c52;
  border-radius: 24px;
  padding: 14px 5px 10px;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.pf-phone__shell::before {
  content: '';
  position: absolute;
  top: 6%; bottom: 6%; left: 0; width: 1.5px;
  background: linear-gradient(180deg,transparent,rgba(255,255,255,.18) 30%,rgba(255,255,255,.10) 70%,transparent);
}

.pf-phone__notch {
  flex-shrink: 0;
  width: 36%; height: 7px;
  background: #0c0c12;
  border-radius: 999px;
  margin: 0 auto 6px;
}

.pf-phone__screen {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(130% 90% at 10% 0%,
      var(--pf-accent, rgba(250,230,44,.22)),transparent 55%),
    #0a0a0e;
}

.pf-phone__home {
  flex-shrink: 0;
  width: 28%; height: 4px;
  background: #26263a;
  border-radius: 999px;
  margin: 8px auto 0;
}

.pf-phone__btn {
  position: absolute;
  background: linear-gradient(180deg,#28283a,#1e1e2c);
  border-radius: 2px;
}
.pf-phone__btn--vol {
  left: -2.5px; top: 20%; width: 2.5px; height: 7%;
  box-shadow: 0 14px 0 #282838, 0 27px 0 #282838;
}
.pf-phone__btn--pwr { right: -2.5px; top: 28%; width: 2.5px; height: 9%; }

[data-theme="light"] .pf-phone__shell { background: linear-gradient(150deg,#d8dae8,#c0c2d0,#b4b6c0); border-color:#a8aab8; }
[data-theme="light"] .pf-phone__notch { background: #141418; }
[data-theme="light"] .pf-phone__home,
[data-theme="light"] .pf-phone__btn { background: #a2a4b4; }

/* ── Wireframe inside screens ── */
.pf-wire {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  gap: 5px; padding: clamp(7px,1.6vw,15px);
  transition: opacity .5s var(--ease-golden);
}
.pf-wire--phone { padding: 5px; gap: 3px; }

/* ── Screenshots ── */
.pf-frame__shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  opacity: 0;
  transition: opacity .8s var(--ease-golden);
}
.pf-laptop__screen.has-shot .pf-frame__shot,
.pf-phone__screen.has-shot  .pf-frame__shot { opacity: 1; }
.pf-laptop__screen.has-shot .pf-wire,
.pf-phone__screen.has-shot  .pf-wire { opacity: 0; }
.pf-item:hover .pf-laptop__screen.has-shot .pf-frame__shot {
  animation: pf-pan 9s ease-in-out infinite alternate;
}
@keyframes pf-pan { from { object-position: top center; } to { object-position: bottom center; } }

/* Responsive */
@media (max-width: 1023px) {
  .pf-laptop { transform: none; }
  .pf-phone  { transform: none; }
  .pf-item:hover .pf-laptop,
  .pf-item:hover .pf-phone { transform: none; }
}
@media (max-width: 639px) { .pf-phone { display: none; } .pf-laptop { width: 100%; } }

.pf-frame { display: none; }

/* ═══════════════════════════════════════════════════════════════
   BUILD YOUR PRODUCT — signature interaction section
   ═══════════════════════════════════════════════════════════════ */

#build-section {
  position: relative; overflow: hidden;
  background: var(--color-surface);
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.bld-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.bld-bg canvas { width: 100%; height: 100%; display: block; }

#build-section .container { position: relative; z-index: 1; }

.bld-header { text-align: center; margin-bottom: var(--space-10); }
.bld-sub { color: var(--color-text-muted); font-size: var(--text-sm); max-width: 46ch; margin: var(--space-3) auto 0; line-height: 1.75; }

/* Service cards grid */
.bld-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 720px;
  margin: 0 auto var(--space-10);
}

.bld-card {
  position: relative; overflow: hidden;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  padding: 20px 16px 18px;
  display: flex; flex-direction: column; gap: 7px;
  cursor: pointer; text-align: left;
  transition: border-color .25s var(--ease-golden), background .25s var(--ease-golden), transform .3s var(--ease-golden), box-shadow .3s var(--ease-golden);
  -webkit-tap-highlight-color: transparent;
}
.bld-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(circle at var(--bld-mx,50%) var(--bld-my,50%), var(--bld-accent,rgba(250,230,44,.14)) 0%, transparent 65%);
  opacity: 0; transition: opacity .3s;
}
.bld-card:hover::before, .bld-card.is-on::before { opacity: 1; }
.bld-card:hover:not(.is-on) { border-color: rgba(250,230,44,.3); background: var(--color-surface-2); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.3); }
.bld-card.is-on { border-color: var(--color-primary); background: linear-gradient(160deg, rgba(250,230,44,.06), var(--color-surface-2)); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,.35), 0 0 0 1px rgba(250,230,44,.2); }
.bld-card.is-adding { animation: bld-pulse .38s var(--ease-golden); }
@keyframes bld-pulse { 50%{ transform:translateY(-5px) scale(1.04); } }

.bld-card__icon { font-size: 26px; line-height: 1; }
.bld-card__title { font-size: 13px; font-weight: 700; color: var(--color-text); line-height: 1.3; }
.bld-card__cat { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--color-text-faint); }
.bld-card__check {
  position: absolute; top: 10px; right: 10px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.3);
  transition: opacity .22s var(--ease-golden), transform .32s var(--ease-golden);
}
.bld-card.is-on .bld-card__check { opacity: 1; transform: scale(1); }

/* 3D scene */
.bld-scene-wrap {
  max-width: 440px; margin: 0 auto var(--space-10);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-6);
}

.bld-meter {
  width: 100%; opacity: 0;
  transition: opacity .5s var(--ease-golden);
  display: flex; flex-direction: column; gap: 6px;
}
.bld-meter__row { display: flex; justify-content: space-between; }
.bld-meter__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--color-text-faint); }
.bld-meter__val { font-size: 11px; font-weight: 700; color: var(--color-primary); font-variant-numeric: tabular-nums; }
.bld-bar-bg { height: 3px; background: var(--color-border); border-radius: 2px; overflow: hidden; }
.bld-bar-fill { height: 100%; background: linear-gradient(90deg, var(--color-primary), #fff6a0); border-radius: 2px; transition: width .65s var(--ease-golden); width: 0%; }

.bld-scene {
  position: relative;
  width: 300px; height: 200px;
  perspective: 900px;
}
.bld-empty {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--color-text-faint); letter-spacing: .04em;
  transition: opacity .3s;
}
.bld-layers {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(20deg) rotateY(-24deg);
  transition: transform .6s var(--ease-golden);
}
.bld-layers.bld-spin { animation: bld-rot 14s linear infinite; }
@keyframes bld-rot { to { transform: rotateX(20deg) rotateY(336deg); } }

.bld-layer {
  position: absolute; left: 50%; top: 50%;
  width: 200px; height: 42px; margin-left: -100px; margin-top: -21px;
  border-radius: 10px; border: 1.5px solid rgba(250,230,44,.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  color: rgba(250,230,44,.9);
  transform: translateY(0) translateZ(0);
  opacity: 0;
  transition: transform .55s var(--ease-golden), opacity .45s var(--ease-golden);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 20px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.06);
}
.bld-layer--in { opacity: 1; }

/* CTA */
.bld-cta {
  display: flex; flex-direction: column; align-items: center; gap: var(--space-3);
  opacity: .25; pointer-events: none;
  transform: translateY(14px);
  transition: opacity .45s var(--ease-golden), transform .45s var(--ease-golden);
}
.bld-cta.is-active { opacity: 1; pointer-events: auto; transform: translateY(0); }
.bld-cta__hint { font-size: 12px; color: var(--color-text-faint); letter-spacing: .04em; }

/* Light theme tweaks */
[data-theme="light"] #build-section { background: var(--color-surface); }
[data-theme="light"] .bld-card { background: var(--color-bg); }
[data-theme="light"] .bld-card.is-on { background: linear-gradient(160deg,rgba(230,168,0,.07),var(--color-surface-2)); }
[data-theme="light"] .bld-layer { box-shadow: 0 4px 20px rgba(0,0,0,.12); }

/* Responsive */
@media (max-width: 767px) {
  .bld-grid { grid-template-columns: repeat(2, 1fr); }
  .bld-scene { width: 260px; height: 170px; }
  .bld-layer { width: 170px; margin-left: -85px; }
}
@media (max-width: 479px) {
  .bld-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .bld-card { padding: 14px 12px 12px; border-radius: 12px; }
  .bld-card__icon { font-size: 22px; }
  .bld-card__title { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bld-layers.bld-spin { animation: none; }
  .bld-card.is-adding { animation: none; }
}

