/* ==========================================================================
   The Digital Crazy — site styles (editorial edition)
   Brand colours & fonts come from Admin → Settings (CSS variables in <head>)
   ========================================================================== */

:root {
  --c-primary: #2951D5; --c-navy: #1A3D7A; --c-accent: #2CCAB9; --c-ink: #0F1012; --c-paper: #F3F1EC;
  --f-head: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  --f-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --f-accent: 'Instrument Serif', Georgia, serif;
  --f-mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --hl-style: italic;
  --text: #16171A; --body: #393B42; --muted: #63666F; --line: rgba(16, 17, 20, .12); --card: #fff; --hl: var(--c-primary);
  --wrap: 1320px; --gutter: clamp(20px, 4vw, 56px);
  --r-lg: 22px; --r-md: 16px; --r-sm: 12px;
  --ease: cubic-bezier(.2, .75, .15, 1);
  --shadow: 0 1px 2px rgba(10, 12, 20, .04), 0 20px 50px -24px rgba(10, 12, 20, .25);
  --warm: #FFE2A6;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.6; color: var(--body);
  background: var(--c-paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden; counter-reset: sec; font-feature-settings: 'ss01', 'cv11';
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--c-ink); color: var(--c-paper); }
:focus-visible { outline: 2px solid var(--focus, var(--c-primary)); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; font-weight: 500; letter-spacing: -.03em; color: var(--text); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; position: relative; }
.icon { width: 1.2em; height: 1.2em; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }

/* ---------- themes & spacing ---------- */
.sec { position: relative; isolation: isolate; }
.theme-paper { background: var(--c-paper); }
.theme-light { background: #FBFAF7; }
.theme-dark { background: var(--c-ink); --text: #F2F1EE; --body: rgba(242, 241, 238, .78); --muted: rgba(242, 241, 238, .52); --line: rgba(255, 255, 255, .12); --card: #17181B; --hl: #B9C7FF; color: var(--body); }
.theme-blue { background: var(--c-primary); --text: #fff; --body: rgba(255, 255, 255, .92); --muted: rgba(255, 255, 255, .85); --line: rgba(255, 255, 255, .22); --card: rgba(255, 255, 255, .08); --hl: #fff; color: var(--body); }
.theme-dark::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sp-normal { padding-block: clamp(56px, 7vw, 112px); }
.sp-compact { padding-block: clamp(40px, 4.5vw, 64px); }
.sp-large { padding-block: clamp(72px, 9vw, 144px); }
.sp-flush { padding-block: 0 clamp(56px, 7vw, 112px); }
/* two neighbouring sections on the same background: no double padding between them */
.sec.theme-paper + .sec.theme-paper, .sec.theme-light + .sec.theme-light, .sec.theme-dark + .sec.theme-dark, .sec.theme-blue + .sec.theme-blue { padding-top: 0; }

/* ---------- type ---------- */
.eyebrow { display: flex; align-items: baseline; gap: 10px; margin: 0 0 22px; font: 500 .84rem/1.3 var(--f-body); letter-spacing: .005em; color: var(--muted); }
.eyebrow::before { counter-increment: sec; content: '(' counter(sec, decimal-leading-zero) ')'; font-variant-numeric: tabular-nums; color: var(--text); opacity: .55; }
.h2 { font-size: clamp(2.3rem, 4.8vw, 4.6rem); line-height: 1.07; letter-spacing: -.045em; text-wrap: balance; }
em.hl { font-family: var(--f-accent); font-style: var(--hl-style); font-weight: 400; letter-spacing: -.01em; color: var(--hl); font-size: 1.02em; line-height: 0; }
.sec__head { max-width: 820px; margin-bottom: clamp(32px, 4.5vw, 64px); }
.sec__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: end; }
.sec__head--split .sec__text { margin: 0; justify-self: end; }
.sec__text { color: var(--muted); font-size: 1.1rem; max-width: 52ch; margin-top: 22px; line-height: 1.55; }
.empty { color: var(--muted); }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.btns--center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent; font: 500 15px/1 var(--f-body); letter-spacing: -.005em; cursor: pointer; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s, transform .35s var(--ease);
}
.btn__ico { display: inline-flex; transition: transform .45s var(--ease); }
.btn__ico .icon { width: 17px; height: 17px; }
.btn:hover .btn__ico { transform: translateX(4px); }
.btn--primary { background: var(--text); color: var(--c-paper); }
.theme-dark .btn--primary, .theme-blue .btn--primary, .ftr .btn--primary { background: #fff; color: var(--c-ink); }
.btn--primary:hover { background: var(--c-primary); color: #fff; }
.btn--ghost { border-color: color-mix(in srgb, var(--text) 26%, transparent); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--light { background: #fff; color: var(--c-ink); }
.btn--light:hover { background: var(--c-primary); color: #fff; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; justify-content: space-between; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .95rem; color: var(--text); border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap .35s var(--ease), color .2s; margin-top: 8px; }
.link-arrow .icon { width: 16px; height: 16px; }
.link-arrow:hover { gap: 12px; color: var(--c-primary); }
.theme-dark .link-arrow:hover { color: #fff; }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; font-size: .98rem; color: var(--body); }
.checks .icon { width: 15px; height: 15px; color: var(--c-primary); stroke-width: 2.4; transform: translateY(2px); }
.theme-dark .checks .icon { color: var(--hl); }

/* ---------- header ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--c-primary); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.hdr__bar {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 78px; display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter); color: #fff;
  transition: background .45s var(--ease), color .45s var(--ease), height .45s var(--ease), transform .55s var(--ease), border-color .45s;
  border-bottom: 1px solid transparent;
}
.hdr.is-solid .hdr__bar { height: 66px; color: var(--c-ink); background: color-mix(in srgb, var(--c-paper) 86%, transparent); -webkit-backdrop-filter: blur(16px) saturate(170%); backdrop-filter: blur(16px) saturate(170%); border-bottom-color: rgba(16, 17, 20, .08); }
.hdr.is-hidden .hdr__bar { transform: translateY(-105%); }
.hdr__brand { display: flex; align-items: center; gap: 11px; font: 600 16px/1 var(--f-head); letter-spacing: -.025em; flex: none; }
.hdr__brand img { width: 40px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); transition: filter .45s; }
.hdr.is-solid .hdr__brand img { filter: none; }
.hdr__nav { margin-inline: auto; }
.hdr__nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.hdr__nav > ul > li { position: relative; }
.hdr__nav a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; font-size: 15px; font-weight: 500; opacity: .78; transition: opacity .2s; }
.hdr__nav a:hover, .hdr__nav a.is-active { opacity: 1; }
.hdr__nav > ul > li > a.is-active { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.hdr__nav .caret { width: 12px; height: 12px; opacity: .7; }
.hdr__nav .sub, .mega {
  position: absolute; top: calc(100% + 12px); left: 50%; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .3s var(--ease);
  background: var(--c-paper); color: var(--c-ink); border: 1px solid rgba(16, 17, 20, .08); border-radius: 18px; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .45);
}
.hdr__nav .sub { list-style: none; margin: 0; padding: 8px; min-width: 240px; }
.hdr__nav .sub::before, .mega::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
.hdr__nav .sub a { display: flex; border-radius: 10px; padding: 10px 12px; opacity: .85; }
.hdr__nav .sub a:hover { background: rgba(16, 17, 20, .05); opacity: 1; }
.hdr__nav li:hover > .sub, .hdr__nav li:focus-within > .sub, .hdr__nav li:hover > .mega, .hdr__nav li:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega { width: min(960px, 92vw); padding: 28px; }
.mega__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.mega__label { display: flex; align-items: center; gap: 8px; font: 500 12px var(--f-body); color: #6C6F78; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .06em; }
.mega__label span { width: 8px; height: 8px; border-radius: 50%; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega a { padding: 6px 0 !important; font-size: 15px; opacity: .9 !important; }
.mega a:hover { opacity: 1 !important; color: var(--c-primary); }
.mega__all { grid-column: 1 / -1; border-top: 1px solid rgba(16, 17, 20, .08); padding-top: 16px !important; margin-top: 4px; justify-self: start; gap: 8px !important; }
.mega__all .icon { width: 16px; height: 16px; }
.hdr__right { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr__time { font: 500 13px var(--f-body); opacity: .6; font-variant-numeric: tabular-nums; }
.hdr__time b { font-weight: 500; opacity: 1; }
.hdr .btn--primary { background: #fff; color: var(--c-ink); }
.hdr.is-solid .btn--primary { background: var(--c-ink); color: #fff; }
.hdr .btn--primary:hover { background: var(--c-primary); color: #fff; }
.hdr__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid color-mix(in srgb, currentColor 25%, transparent); background: transparent; cursor: pointer; position: relative; color: inherit; }
.hdr__burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: .35s var(--ease); }
.hdr__burger span:first-child { top: 18px; }
.hdr__burger span:last-child { top: 25px; }
.hdr.is-open .hdr__bar { color: #fff; background: transparent; border-color: transparent; }
.hdr.is-open .hdr__brand img { filter: brightness(0) invert(1); }
.hdr.is-open .hdr__burger span:first-child { top: 21px; transform: rotate(45deg); }
.hdr.is-open .hdr__burger span:last-child { top: 21px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 55; background: var(--c-ink); color: #fff; padding: 100px var(--gutter) 36px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav ul { list-style: none; margin: 0; padding: 0; }
.mnav > nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translateY(14px); animation: mnavIn .55s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + 60ms); }
.mnav > nav > ul > li > a { display: block; padding: 16px 0; font: 500 clamp(1.9rem, 8vw, 2.6rem)/1.05 var(--f-head); letter-spacing: -.04em; }
.mnav__groups { padding-bottom: 14px; }
.mnav__glabel { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .5; margin: 10px 0 6px; }
.mnav__sub { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 8px !important; }
.mnav__sub a { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 14px; }
.mnav__foot { display: grid; gap: 14px; margin-top: 30px; color: rgba(255, 255, 255, .75); }
.mnav__foot a:not(.btn) { display: flex; align-items: center; gap: 10px; }
.mnav .btn--primary { background: #fff; color: var(--c-ink); }
@keyframes mnavIn { to { opacity: 1; transform: none; } }
.draft-badge { position: fixed; left: 16px; bottom: 16px; z-index: 80; background: #FFD54A; color: #111; font: 600 .78rem var(--f-mono); padding: 9px 14px; border-radius: 10px; box-shadow: var(--shadow); }

/* ---------- hero ---------- */
.sec--hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: clamp(130px, 17vh, 180px) !important; padding-bottom: clamp(36px, 5vh, 56px) !important; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(55% 60% at 88% 8%, color-mix(in srgb, var(--c-primary) 30%, transparent), transparent 70%), radial-gradient(40% 50% at 0% 100%, color-mix(in srgb, var(--c-primary) 12%, transparent), transparent 70%); }
.hero { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: clamp(36px, 6vw, 96px); }
.hero--solo { grid-template-columns: 1fr; max-width: 1100px; }
.hero__title { font-size: clamp(3.1rem, 7.8vw, 8rem); line-height: 1.01; letter-spacing: -.058em; text-wrap: balance; }
.hero__title em.hl { color: var(--warm); }
.hero__rotate { margin: 28px 0 0; font: 500 clamp(1.1rem, 1.8vw, 1.4rem)/1.3 var(--f-head); color: var(--muted); display: flex; flex-wrap: wrap; gap: .35em; }
.rot { display: inline-grid; color: var(--text); }
.rot b { grid-area: 1 / 1; font-weight: 500; opacity: 0; transform: translateY(60%); transition: opacity .5s var(--ease), transform .6s var(--ease); white-space: nowrap; }
.rot b.is-on { opacity: 1; transform: none; }
.rot b.is-out { opacity: 0; transform: translateY(-60%); }
.hero__text { margin-top: 28px; max-width: 29em; color: var(--body); font-size: 1.15rem; line-height: 1.55; }
.hero__visual { display: grid; place-items: end; }
.hero__visual--img img { border-radius: var(--r-lg); }
.hero__strip { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; margin-top: clamp(56px, 9vh, 110px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.hero__scroll i { display: inline-block; font-style: normal; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* problem → fix board */
.board { width: min(440px, 100%); background: #16171A; border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; padding: 22px 24px 10px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.board__head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .55); }
.board__title { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .85); }
.board__title::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 4px rgba(255, 226, 166, .15); }
.board__count { font-variant-numeric: tabular-nums; }
.board__count b { color: #fff; font-weight: 500; }
.board__list { list-style: none; margin: 0; padding: 0; }
.board__row { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.board__row:last-child { border-bottom: 0; }
.board__n { font: 500 12px var(--f-mono); color: rgba(255, 255, 255, .35); padding-top: 3px; }
.board__problem { position: relative; display: inline; font-size: 15.5px; color: rgba(255, 255, 255, .5); transition: color .4s; background-image: linear-gradient(currentColor, currentColor); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 58%; }
.board__fix { display: flex; align-items: center; gap: 6px; margin-top: 4px; font: var(--hl-style) 400 1.18rem/1.2 var(--f-accent); color: var(--warm); }
.board__fix .icon { width: 14px; height: 14px; }
.js .board__fix { max-height: 0; opacity: 0; overflow: hidden; margin-top: 0; visibility: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .5s, visibility 0s linear .6s; }
.board__row.is-active .board__problem { color: #fff; background-size: 100% 1px; transition: color .3s, background-size .7s var(--ease) .35s; }
.board__row.is-active .board__fix, .board.is-static .board__fix { max-height: 3em; opacity: 1; margin-top: 4px; visibility: visible; transition-delay: 0s; }
.board__row.is-done .board__problem { background-size: 100% 1px; color: rgba(255, 255, 255, .5); }

/* orbit (optional hero visual) */
.orbit { --size: min(420px, 74vw); width: var(--size); height: var(--size); position: relative; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); inset: 0; }
.orbit__ring--2 { inset: 18%; }
.orbit__core { position: absolute; inset: 36%; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.orbit__core img { width: 58%; }
.orbit__items { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; animation: spin 60s linear infinite; }
.orbit__items li { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(calc(360deg / var(--n) * var(--i))) translateY(calc(var(--size) / -2)) rotate(calc(-360deg / var(--n) * var(--i))); }
.orbit__items span { position: absolute; translate: -50% -50%; white-space: nowrap; animation: spin 60s linear infinite reverse; padding: 8px 14px; border-radius: 999px; font-size: 13px; color: #fff; background: #1B1C20; border: 1px solid rgba(255, 255, 255, .12); }
@keyframes spin { to { rotate: 360deg; } }

/* ---------- page header ---------- */
.sec--page_header { padding-top: clamp(136px, 20vh, 200px) !important; overflow: hidden; }
.ph { max-width: 1120px; margin-left: max(var(--gutter), (100% - var(--wrap)) / 2); }
.ph__title { font-size: clamp(2.8rem, 6.6vw, 6.4rem); line-height: 1.03; letter-spacing: -.055em; text-wrap: balance; }
.ph__title em.hl { color: var(--warm); }
.ph__text { margin-top: 26px; color: var(--body); font-size: 1.2rem; max-width: 35em; line-height: 1.55; }
.ph__glow { position: absolute; z-index: -1; inset: 0; background: radial-gradient(50% 70% at 92% 0%, color-mix(in srgb, var(--c-primary) 26%, transparent), transparent 70%); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--text); }

/* ---------- statement ---------- */
.statement { display: grid; grid-template-columns: 3fr 9fr; gap: 40px; }
.statement .eyebrow { margin: 14px 0 0; }
.statement__text { font: 400 clamp(1.9rem, 3.7vw, 3.5rem)/1.18 var(--f-head); letter-spacing: -.035em; color: var(--text); text-wrap: pretty; margin: 0; }
.statement__link { grid-column: 2; justify-self: start; margin-top: 30px; }

/* ---------- marquee ---------- */
.sec--marquee { overflow: hidden; border-block: 1px solid var(--line); }
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 55s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.speed-slow .marquee__track { animation-duration: 80s; }
.speed-fast .marquee__track { animation-duration: 32s; }
.marquee__row { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); padding-right: clamp(22px, 3vw, 46px); }
.marquee__row span { font: 500 clamp(2.4rem, 6.4vw, 6rem)/1.1 var(--f-head); letter-spacing: -.05em; white-space: nowrap; color: var(--text); }
.marquee__row span:nth-of-type(even) { font-family: var(--f-accent); font-style: var(--hl-style); font-weight: 400; letter-spacing: -.02em; }
.marquee__row i { font-style: normal; font-size: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--c-primary); flex: none; }
.marquee--outline span { color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--text) 50%, transparent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- service doors ---------- */
.doors { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: clamp(18px, 2.6vw, 40px); align-items: end; }
.door-wrap { display: flex; flex-direction: column; }
.door { appearance: none; border: 0; background: none; padding: 0; margin: 0; width: 100%; cursor: pointer; display: block; color: inherit; }
.door:focus-visible { outline: 0; }
.door:focus-visible .door__frame { outline: 2px solid var(--warm); outline-offset: 5px; }
.door__frame {
  position: relative; display: block; aspect-ratio: 5 / 8.4; padding: 9px; border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, #2B2C31, #18191C); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 50px 70px -40px rgba(0, 0, 0, .9);
  transition: box-shadow .9s var(--ease);
}
.door__light { position: absolute; inset: 9px; border-radius: 999px 999px 4px 4px; background: radial-gradient(110% 75% at 50% 100%, #FFF4D6 0%, var(--warm) 28%, color-mix(in srgb, var(--warm) 40%, var(--door)) 60%, var(--door) 100%); }
.door__leaf {
  position: absolute; inset: 9px; border-radius: 999px 999px 4px 4px; transform-origin: 0 50%; transform: perspective(1500px) rotateY(0deg);
  background: linear-gradient(90deg, rgba(0, 0, 0, .22), rgba(255, 255, 255, .07) 30%, rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, .18)), var(--door);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset -10px 0 18px rgba(0, 0, 0, .22);
  transition: transform 1.1s var(--ease); will-change: transform;
}
.door__panel { position: absolute; left: 15%; right: 15%; border: 1px solid rgba(255, 255, 255, .13); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 -10px 20px rgba(0, 0, 0, .16), 0 1px 0 rgba(0, 0, 0, .2); }
.door__panel:nth-child(1) { top: 9%; height: 41%; border-radius: 999px 999px 6px 6px; }
.door__panel:nth-child(2) { top: 56%; bottom: 7%; border-radius: 6px; }
.door__plaque { position: absolute; left: 50%; top: 31%; transform: translateX(-50%); padding: 5px 12px; border-radius: 99px; background: linear-gradient(135deg, #F1DDA6, #B88E3E 60%, #E8CF8E); color: #3A2A0A; font: 600 12px/1 var(--f-mono); letter-spacing: .12em; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); }
.door__handle { position: absolute; right: 11%; top: 52%; width: 8px; height: 38px; border-radius: 6px; background: linear-gradient(90deg, #7A5B1E, #F4E0A6 45%, #9B772B); box-shadow: 0 3px 6px rgba(0, 0, 0, .45); }
.door:hover .door__leaf, .door:focus-visible .door__leaf { transform: perspective(1500px) rotateY(-16deg); }
.door:hover .door__frame, .door:focus-visible .door__frame { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 0 60px -10px color-mix(in srgb, var(--warm) 45%, transparent), 0 50px 70px -40px rgba(0, 0, 0, .9); }
.door.is-open .door__leaf { transform: perspective(1500px) rotateY(-98deg); transition-duration: .9s; }
.door.is-open .door__frame { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 0 120px 10px color-mix(in srgb, var(--warm) 55%, transparent); }
.door__meta { margin-top: 24px; }
.door__label { margin: 0; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.door__name { margin: 6px 0 4px; font: 500 clamp(1.4rem, 2.2vw, 2rem)/1.05 var(--f-head); letter-spacing: -.035em; color: var(--text); }
.door__count { margin: 0; font-size: 14px; color: var(--muted); }
.doors__hint { display: flex; align-items: center; gap: 16px; justify-content: center; margin-top: clamp(40px, 5vw, 64px); font-size: 14px; color: var(--muted); }
.doors__hint span { height: 1px; width: 60px; background: var(--line); }

/* the room behind each door */
.room {
  position: fixed; inset: 0; z-index: 90; color: #fff; --hl: var(--warm);
  background: radial-gradient(90% 60% at 50% -10%, color-mix(in srgb, var(--warm) 35%, var(--door)) 0%, color-mix(in srgb, var(--door) 78%, #08090B) 55%, color-mix(in srgb, var(--door) 35%, #08090B) 100%);
}
.room[hidden] { display: none; }
.room__scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.room__in { width: min(1240px, 100% - var(--gutter) * 2); margin-inline: auto; min-height: 100%; display: flex; flex-direction: column; padding: 26px 0 40px; }
.room__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255, 255, 255, .7); }
.room__count { font-variant-numeric: tabular-nums; }
.room__count i { font-style: normal; opacity: .5; margin: 0 4px; }
.room__close { display: inline-flex; align-items: center; gap: 10px; height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .12); color: #fff; cursor: pointer; font-size: 14px; transition: background .2s; }
.room__close:hover { background: rgba(255, 255, 255, .14); }
.room__head { margin: clamp(40px, 9vh, 100px) 0 clamp(32px, 5vh, 56px); max-width: 900px; }
.room__label { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; opacity: .7; margin-bottom: 14px; }
.room__title { color: #fff; font-size: clamp(3.2rem, 9vw, 8.4rem); line-height: 1; letter-spacing: -.06em; }
.room__intro { margin-top: 26px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); line-height: 1.55; color: rgba(255, 255, 255, .85); max-width: 56ch; }
.room__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.room__item a { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; padding: 28px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); transition: padding .45s var(--ease), background .3s; }
.room__item a:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(255, 255, 255, .06), transparent 70%); }
.room__n { font: 500 13px var(--f-mono); opacity: .55; padding-top: 12px; }
.room__name { display: block; font: 500 clamp(1.8rem, 3.6vw, 3.1rem)/1.02 var(--f-head); letter-spacing: -.04em; }
.room__short { display: block; margin-top: 10px; font-size: 1.05rem; line-height: 1.5; color: rgba(255, 255, 255, .82); max-width: 62ch; }
.room__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.room__tags span { padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .26); font-size: 13px; color: rgba(255, 255, 255, .88); }
.room__go { display: inline-flex; align-items: center; gap: 6px; padding-top: 14px; font-size: 14px; white-space: nowrap; opacity: .75; transition: opacity .3s; }
.room__go .icon { width: 16px; height: 16px; }
.room__item a:hover .room__go { opacity: 1; }
.room__nav { margin-top: auto; padding-top: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.room__nav button { background: none; border: 0; color: rgba(255, 255, 255, .75); cursor: pointer; font-size: 15px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.room__nav button:hover { color: #fff; border-color: #fff; }
.js .room .room__head, .js .room .room__item, .js .room .room__nav { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.js .room.is-in .room__head, .js .room.is-in .room__item, .js .room.is-in .room__nav { opacity: 1; transform: none; }
.js .room.is-in .room__item { transition-delay: calc(120ms + var(--k, 0) * 70ms); }
.js .room.is-in .room__nav { transition-delay: .5s; }
html.room-open { overflow: hidden; }

/* manual doors (older "portals" section) */
.portals { display: grid; gap: clamp(22px, 3vw, 36px); grid-template-columns: repeat(3, 1fr); }
.portals.cols-2 { grid-template-columns: repeat(2, 1fr); }
.portals.cols-4 { grid-template-columns: repeat(4, 1fr); }
.portal__frame { position: relative; aspect-ratio: 3 / 4.15; border-radius: 999px 999px 18px 18px; perspective: 1600px; cursor: pointer; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.portal__inside { position: absolute; inset: 0; padding: 30% 24px 26px max(17%, 50px); display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; border-radius: inherit; overflow: hidden; }
.portal__in-title { font: 500 1.25rem/1.15 var(--f-head); color: var(--text); margin: 0; }
.portal__text { color: var(--muted); font-size: .92rem; margin: 0; }
.portal__door { position: absolute; inset: 0; border-radius: inherit; transform-origin: 0 50%; backface-visibility: hidden; background: var(--door); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; transition: transform 1s var(--ease); }
.portal__num, .portal__hint { font: 500 12px var(--f-mono); opacity: .7; }
.portal__icon .icon { width: 30px; height: 30px; }
.portal__plate { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); font-size: 12px; }
.portal__knob { position: absolute; right: 16%; top: 55%; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.portal__frame:hover .portal__door, .portal.is-open .portal__door { transform: rotateY(-84deg); }
.portal__title { margin-top: 16px; font-size: 1.2rem; text-align: center; }

/* ---------- services index ---------- */
.sindex { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(24px, 5vw, 80px); padding: clamp(40px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.sindex__n { font: 500 13px var(--f-mono); color: var(--muted); }
.sindex__label { margin: 14px 0 6px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sindex__name { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.07; letter-spacing: -.045em; }
.sindex__intro { margin-top: 16px; color: var(--muted); max-width: 40ch; }
.sindex__list { list-style: none; margin: 0; padding: 0; }
.sindex__list a { display: grid; grid-template-columns: 1fr auto; column-gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sindex__list li:first-child a { padding-top: 4px; }
.sindex__item { font: 500 clamp(1.3rem, 2vw, 1.7rem)/1.15 var(--f-head); letter-spacing: -.03em; color: var(--text); transition: color .2s; }
.sindex__short { grid-column: 1; margin-top: 6px; color: var(--muted); font-size: .98rem; }
.sindex__arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .35s var(--ease); }
.sindex__arrow .icon { width: 17px; height: 17px; }
.sindex__list a:hover .sindex__item { color: var(--c-primary); }
.sindex__list a:hover .sindex__arrow { background: var(--text); color: var(--c-paper); border-color: var(--text); transform: rotate(45deg); }

/* ---------- service intro + spec card ---------- */
.sintro { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.sintro .prose { margin-top: 26px; }
.spec { position: sticky; top: 100px; background: var(--c-ink); color: rgba(255, 255, 255, .86); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); }
.spec__title { font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .5); margin-bottom: 10px; }
.spec dl { margin: 0; }
.spec dl div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.spec dt { font-size: 13.5px; color: rgba(255, 255, 255, .5); }
.spec dd { margin: 0; font-size: 15.5px; line-height: 1.45; color: #fff; }
.spec dd em.hl { font-family: inherit; font-style: normal; font-size: 1em; color: var(--warm); }
.spec__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14.5px; color: #8BE3B0; }
.spec__cta .icon { width: 18px; height: 18px; }

/* ---------- related services ---------- */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related__card { position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 230px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); transition: background .4s var(--ease), color .4s, transform .4s var(--ease); }
.related__group { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.related__name { font: 500 1.7rem/1.05 var(--f-head); letter-spacing: -.035em; color: var(--text); margin-top: auto; }
.related__short { color: var(--muted); font-size: .95rem; padding-right: 50px; }
.related__go { position: absolute; right: 22px; bottom: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: .35s var(--ease); }
.related__go .icon { width: 16px; height: 16px; }
.related__card:hover { background: var(--c-ink); --text: #fff; --muted: rgba(255, 255, 255, .6); --line: rgba(255, 255, 255, .2); transform: translateY(-4px); }
.related__card:hover .related__go { transform: rotate(45deg); background: #fff; color: var(--c-ink); }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; }
.split--noimg { grid-template-columns: 1fr; max-width: 880px; }
.split--rev .split__media { order: -1; }
.split .prose { margin-top: 24px; }
.split__media { position: relative; }
.split__img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.4; background: #E9E6DE; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.badge-float { position: absolute; left: -16px; bottom: -20px; background: var(--c-ink); color: #fff; padding: 18px 22px; border-radius: 16px; display: grid; gap: 2px; max-width: 230px; }
.badge-float b { font: 500 2rem/1 var(--f-head); letter-spacing: -.04em; }
.badge-float span { font-size: .82rem; color: rgba(255, 255, 255, .7); }

/* ---------- prose ---------- */
.prose { color: var(--body); font-size: 1.06rem; line-height: 1.75; }
.prose > * { margin: 0; }
.prose > * + * { margin-top: 1.05em; }
.prose h2, .prose h3, .prose h4 { color: var(--text); line-height: 1.15; margin-top: 1.9em; letter-spacing: -.03em; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.prose h3 { font-size: 1.35rem; }
.prose strong, .prose b { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.prose a:hover { color: var(--c-primary); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--muted); }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 24px; border-left: 1px solid var(--text); font: var(--hl-style) 400 1.5rem/1.35 var(--f-accent); color: var(--text); }
.prose img { border-radius: var(--r-md); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 110px); align-items: start; }
.process__sticky { position: sticky; top: 120px; }
.process__count { margin-top: 34px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.process__count b { font: var(--hl-style) 400 3.6rem/1 var(--f-accent); color: var(--text); margin-right: 6px; }
.process__steps { list-style: none; margin: 0; padding: 0; position: relative; }
.process__line { position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.process__line i { position: absolute; inset: 0 0 auto; height: calc(var(--p, 0) * 100%); background: var(--text); }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 10px; padding: 30px 0 30px 30px; border-bottom: 1px solid var(--line); opacity: .42; transition: opacity .6s var(--ease); }
.step:last-child { border-bottom: 0; }
.step.is-active { opacity: 1; }
.step__num { font: var(--hl-style) 400 2.3rem/1 var(--f-accent); color: var(--text); }
.step__title { font-size: clamp(1.35rem, 2.2vw, 1.8rem); margin: 4px 0 10px; letter-spacing: -.035em; }
.step__body p { color: var(--body); max-width: 52ch; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.stat { padding: 28px 28px 6px 0; display: grid; gap: 10px; border-top: 1px solid var(--text); }
.stat + .stat { padding-left: 28px; }
.stat__val { font: 400 clamp(3.4rem, 6.6vw, 6.2rem)/.9 var(--f-head); letter-spacing: -.06em; color: var(--text); }
.stat__label { color: var(--muted); font-size: .98rem; max-width: 24ch; }

/* ---------- cards ---------- */
.cards { display: grid; gap: clamp(18px, 2.4vw, 32px); grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; gap: 10px; transition: transform .4s var(--ease), background .3s; }
.cards--numbered .card { padding-top: 22px; border-top: 1px solid var(--text); }
.cards--bordered .card { padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cards--filled .card { padding: 30px; background: var(--card); border-radius: var(--r-lg); }
.theme-paper .cards--filled .card { background: #FBFAF7; }
.cards--plain .card { padding: 0; }
.card__num { font: var(--hl-style) 400 1.9rem/1 var(--f-accent); color: var(--hl); margin-bottom: 18px; }
.card__icon { width: 26px; height: 26px; color: var(--text); margin-bottom: 14px; }
.card__icon .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.card__title { font-size: 1.35rem; letter-spacing: -.03em; }
.card p { color: var(--body); font-size: 1rem; }
.card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- work ---------- */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 44px); }
.work__img { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-lg); overflow: hidden; background: #E9E6DE; display: grid; place-items: center; }
.work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.work:hover .work__img img { transform: scale(1.03); }
.work__ph { font: 500 clamp(1.6rem, 3vw, 2.6rem)/1 var(--f-head); letter-spacing: -.04em; color: rgba(16, 17, 20, .3); padding: 20px; text-align: center; }
.chip { position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--c-ink); font-size: 12px; }
.work__body { padding: 22px 0 0; }
.work__title { font-size: 1.6rem; margin-bottom: 8px; }
.work__body p { color: var(--body); }
.work__res { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.work__res li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; }
.work__res .icon { width: 15px; height: 15px; }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 22px; }
.quote { margin: 0; padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 24px; }
.quote__mark { display: none; }
.quote blockquote { margin: 0; font: 400 1.3rem/1.5 var(--f-head); letter-spacing: -.015em; color: var(--text); }
.quotes--single { grid-template-columns: 1fr; max-width: 1080px; }
.quotes--single .quote { padding: 0; background: none; border: 0; }
.quotes--single .quote blockquote { font: 400 clamp(1.8rem, 3.6vw, 3.3rem)/1.18 var(--f-accent); letter-spacing: -.015em; }
.quotes--single .quote blockquote p::before { content: '“'; }
.quotes--single .quote blockquote p::after { content: '”'; }
.quote figcaption { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.quote figcaption b { display: block; font-weight: 600; color: var(--text); }
.quote figcaption small { color: var(--muted); font-size: .88rem; }
.quote__photo, .quote__init { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.quote__init { display: grid; place-items: center; background: var(--text); color: var(--c-paper); font: 500 1.1rem var(--f-head); }
/* reviews carousel: tablet and phone only (desktop keeps the grid) */
.qcar__nav { display: none; }
@media (max-width: 980px) {
  .quotes[data-qcar] { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 2px var(--gutter) 4px; }
  .quotes[data-qcar]::-webkit-scrollbar { display: none; }
  .quotes[data-qcar]:focus-visible { outline: 2px solid var(--focus, var(--c-primary)); outline-offset: 4px; }
  .quotes[data-qcar] .quote { flex: 0 0 calc((100% - 14px) / 2); scroll-snap-align: start; }
  .js .quotes[data-qcar] .quote.reveal { opacity: 1; transform: none; }
  .quotes[data-qcar] .quote blockquote { font-size: 1.12rem; }
  .qcar__nav { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 22px; }
  .qcar__btn { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; transition: opacity .2s, background .2s; }
  .qcar__btn .icon { width: 18px; height: 18px; }
  .qcar__btn--prev .icon { transform: scaleX(-1); }
  .qcar__btn:disabled { opacity: .35; cursor: default; }
  .qcar__count { order: -1; margin-right: auto; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .qcar__count b { color: var(--text); font-weight: 500; }
}
@media (max-width: 640px) {
  .quotes[data-qcar] .quote { flex-basis: calc(100% - 28px); padding: 26px 24px; }
}

/* ---------- logos ---------- */
.logos__title { text-align: center; font-size: 13px; color: var(--muted); margin-bottom: 30px; }
.logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(28px, 5vw, 70px); }
.logos img { max-height: 42px; width: auto; filter: grayscale(1); opacity: .6; transition: .3s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos span { font: 500 1.2rem var(--f-head); color: var(--muted); }
.logos__empty { color: var(--muted); font-size: .9rem; }

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 110px); align-items: center; }
.founder__photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.founder__role { font-size: 1rem; color: var(--muted); margin: 12px 0 26px; }
.founder__quote { margin: 30px 0 24px; padding: 0 0 0 24px; border-left: 1px solid var(--text); font: var(--hl-style) 400 1.65rem/1.3 var(--f-accent); color: var(--text); }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 110px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 26px 0; font: 500 clamp(1.1rem, 1.6vw, 1.3rem)/1.35 var(--f-head); letter-spacing: -.02em; color: var(--text); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { width: 16px; height: 16px; position: relative; flex: none; }
.qa summary i::before, .qa summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: currentColor; translate: -50% -50%; transition: .4s var(--ease); }
.qa summary i::after { rotate: 90deg; }
.qa[open] summary i::after { rotate: 0deg; }
.qa__a { padding: 0 48px 28px 0; color: var(--body); }

/* ---------- cta ---------- */
.cta { text-align: center; max-width: 1040px; display: flex; flex-direction: column; align-items: center; }
.cta__title { font-size: clamp(2.6rem, 6.4vw, 6rem); line-height: 1.03; letter-spacing: -.055em; text-wrap: balance; color: var(--text); }
.cta__text { margin-top: 24px; color: var(--body); font-size: 1.15rem; max-width: 52ch; }
.cta__glow { display: none; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 38px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list small { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 2px; }
.contact__list a { font-weight: 500; color: var(--text); }
.contact__list a:hover { color: var(--c-primary); }
.contact__ico { width: 22px; flex: none; color: var(--text); padding-top: 14px; }
.contact__ico .icon { width: 20px; height: 20px; }
.form { background: #FBFAF7; color: #16171A; border-radius: var(--r-lg); padding: clamp(24px, 3.6vw, 48px); border: 1px solid rgba(16, 17, 20, .08); display: grid; gap: 18px; position: relative; }
.theme-light .form { background: #fff; }
.form__title { font: 500 1.6rem var(--f-head); letter-spacing: -.035em; margin: 0 0 4px; color: #16171A; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 8px; font-size: 13.5px; font-weight: 500; color: #393B42; }
.form input, .form select, .form textarea { width: 100%; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid #DCD9D1; background: #fff; font-size: 16px; color: #16171A; transition: border-color .2s, box-shadow .2s; }
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--c-primary); outline-offset: 1px; border-color: #16171A; box-shadow: none; }
.form .is-invalid { border-color: #D93B3B; }
.form .btn--primary { background: #16171A; color: #fff; }
.form .btn--primary:hover { background: var(--c-primary); }
.form__note { font-size: 13px; color: #6C6F78; text-align: center; margin: 0; }
.form__msg { display: flex; gap: 10px; align-items: center; padding: 14px 16px; border-radius: var(--r-sm); font-size: .95rem; font-weight: 500; }
.form__msg[hidden] { display: none; }
.form__msg--ok { background: #E4F4EC; color: #0E6A47; }
.form__msg--err { background: #FBEAEA; color: #A3262A; }
.form.is-loading button { opacity: .6; pointer-events: none; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.map { margin-top: clamp(48px, 6vw, 80px); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.35); }

/* ---------- rich text block ---------- */
.rt--narrow { max-width: 820px; }
.rt__head { margin-bottom: 30px; }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--r-md); width: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.pcard { display: flex; flex-direction: column; }
.pcard__img { aspect-ratio: 16 / 10; overflow: hidden; display: block; border-radius: var(--r-lg); background: #E9E6DE; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.03); }
.pcard__ph { display: grid; place-items: center; height: 100%; color: var(--muted); }
.pcard__ph .icon { width: 40px; height: 40px; }
.pcard__body { padding: 20px 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__meta { font-size: 13px; color: var(--muted); margin: 0; }
.pcard__title { font-size: 1.45rem; line-height: 1.15; letter-spacing: -.03em; }
.pcard__title a:hover { color: var(--c-primary); }
.pcard__body > p:not(.pcard__meta) { color: var(--body); font-size: .98rem; }
.pcard .link-arrow { margin-top: auto; align-self: flex-start; }
.ph--post { padding-bottom: clamp(70px, 10vw, 130px); }
.post__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 14px; color: var(--muted); }
.post { max-width: 860px; }
.post__cover { margin: clamp(-100px, -8vw, -56px) 0 clamp(40px, 5vw, 60px); border-radius: var(--r-lg); overflow: hidden; position: relative; z-index: 2; }
.post__body { font-size: 1.1rem; padding-top: clamp(40px, 5vw, 60px); }
.post__cover + .post__body { padding-top: 0; }
.post__share { display: flex; align-items: center; gap: 10px; margin-top: 54px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.post__share a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--text); transition: .3s; }
.post__share a:hover { background: var(--text); color: var(--c-paper); }

/* ---------- embed ---------- */
.embed iframe { max-width: 100%; }

/* ---------- footer ---------- */
.ftr { background: var(--c-ink); color: rgba(242, 241, 238, .78); padding: clamp(64px, 8vw, 112px) 0 30px; position: relative; overflow: hidden; --text: #F2F1EE; --muted: rgba(242, 241, 238, .5); --line: rgba(255, 255, 255, .12); --hl: var(--warm); }
.ftr__cta { padding-bottom: clamp(48px, 6vw, 88px); margin-bottom: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.ftr__cta-title { font-size: clamp(2.8rem, 7.2vw, 7rem); line-height: 1.03; letter-spacing: -.058em; max-width: 13ch; color: #fff; }
.ftr__cta p { color: var(--muted); font-size: 1.15rem; margin-top: 24px; max-width: 50ch; }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1.6fr 1fr 1.2fr; gap: 44px; }
.ftr__brand { display: inline-flex; align-items: center; gap: 11px; font: 600 1.1rem var(--f-head); letter-spacing: -.025em; color: #fff; margin-bottom: 18px; }
.ftr__brand img { width: 40px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
.ftr__about p { color: var(--muted); font-size: .95rem; max-width: 38ch; }
.ftr__h { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.ftr__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .96rem; }
.ftr__services ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.ftr__col a { color: rgba(255, 255, 255, .8); transition: color .2s; }
.ftr__col a:hover { color: #fff; }
.ftr__contact a, .ftr__addr { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .8); }
.ftr__contact .icon { width: 17px; height: 17px; margin-top: 3px; opacity: .6; }
.ftr__addr { font-size: .92rem; color: var(--muted); }
.socials { list-style: none; display: flex; gap: 8px; padding: 0; margin: 22px 0 0; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: #fff; transition: .3s; }
.socials a:hover { background: #fff; color: var(--c-ink); }
.socials .icon { width: 18px; height: 18px; }
.ftr__bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-top: clamp(48px, 6vw, 72px); padding-top: 22px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.ftr__top:hover { color: #fff; }

/* ---------- floating bits ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 18px 0 14px; border-radius: 999px; background: #1F1F22; color: #fff; font-weight: 500; font-size: 14px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .55); border: 1px solid rgba(255, 255, 255, .08); transition: transform .35s var(--ease), background .3s, opacity .3s, visibility 0s; }
.wa-float--away { opacity: 0; visibility: hidden; transform: translateY(12px); pointer-events: none; transition: transform .35s var(--ease), opacity .3s, visibility 0s linear .3s; }
.wa-float .icon { width: 22px; height: 22px; color: #3BD56F; }
.wa-float:hover { transform: translateY(-3px); background: #000; }
.cookie { position: fixed; z-index: 65; left: 50%; bottom: 18px; transform: translateX(-50%); width: min(620px, calc(100% - 28px)); display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 14px 14px 22px; border-radius: 18px; background: var(--c-ink); color: #fff; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .6); font-size: .9rem; }
.cookie[hidden] { display: none; }
.cookie > div { display: flex; gap: 8px; flex: none; }
.cookie .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .3); }
.cookie .btn--primary { background: #fff; color: var(--c-ink); }

/* ---------- maintenance page ---------- */
.maint { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); background: var(--c-ink); color: rgba(255, 255, 255, .8); }
.maint h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 6rem); line-height: .95; letter-spacing: -.055em; margin: 24px 0 18px; }
.maint img { width: 64px; margin: 0 auto; filter: brightness(0) invert(1); }

/* ---------- reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- live-preview helpers (admin editor) ---------- */
.is-preview [data-section-id] { cursor: pointer; }
.is-preview [data-section-id]:hover { outline: 2px dashed var(--c-primary); outline-offset: -2px; }
.is-preview [data-section-id]:hover::after { content: '✎ ' attr(data-section-label); position: absolute; z-index: 40; top: 10px; left: 10px; background: var(--c-primary); color: #fff; font: 600 12px var(--f-body); padding: 5px 10px; border-radius: 8px; }
.is-preview [data-section-id].is-selected { outline: 3px solid var(--c-primary); outline-offset: -3px; }
.is-preview .is-hidden-section { opacity: .35; }
.is-preview .is-hidden-section::before { content: 'Hidden on live site'; position: absolute; top: 10px; right: 10px; z-index: 41; background: #FFD54A; color: #111; font: 700 12px var(--f-body); padding: 5px 10px; border-radius: 8px; }
.is-preview .wa-float { pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hdr__time { display: none; }
  .portals.cols-4, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .mega__in { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  body { font-size: 16.5px; }
  .hdr__nav, .hdr__right > .btn { display: none; }
  .hdr__burger { display: block; }
  .hdr__right { margin-left: auto; }
  .hero, .split, .process, .faq, .contact, .founder, .sintro, .sindex, .statement, .sec__head--split { grid-template-columns: 1fr; }
  .sec__head--split .sec__text { justify-self: start; }
  .statement__link { grid-column: 1; }
  .hero__visual { place-items: start; }
  .split--rev .split__media { order: 0; }
  .process__sticky, .faq__head, .spec { position: static; }
  .doors { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .portals, .portals.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cards, .cards.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: 1fr 1fr; }
  .works { grid-template-columns: 1fr; }
  .founder__photo { max-width: 460px; }
  .ph { margin-left: auto; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hdr__brand span { display: none; }
  .hero__title { font-size: clamp(2.7rem, 13vw, 4rem); }
  .hero__title, .ph__title, .cta__title, .ftr__cta-title { line-height: 1.06; }
  .h2 { line-height: 1.1; }
  .doors { gap: 18px; row-gap: 40px; }
  .door__name { font-size: 1.3rem; }
  .portals, .portals.cols-2, .portals.cols-3, .portals.cols-4 { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; }
  .cards, .cards.cols-2, .cards.cols-3, .cards.cols-4, .related { grid-template-columns: 1fr; }
  .gallery, .gallery.cols-3, .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .stat + .stat { padding-left: 0; }
  .ftr__grid { grid-template-columns: 1fr; }
  .ftr__services ul { grid-template-columns: 1fr 1fr; }
  .wa-float span { display: none; }
  .wa-float { width: 50px; height: 50px; padding: 0; justify-content: center; right: 14px; bottom: 14px; }
  .hero__strip { flex-direction: column; gap: 6px; }
  .btns .btn { flex: 1 1 auto; }
  .qa__a { padding-right: 0; }
  .cookie { flex-direction: column; align-items: stretch; }
  .room__item a { grid-template-columns: 34px 1fr; }
  .room__go { grid-column: 2; padding-top: 0; }
  .room__nav { flex-direction: column; }
  .spec dl div { grid-template-columns: 1fr; gap: 4px; }
  .sindex__arrow { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .room .room__head, .js .room .room__item, .js .room .room__nav { opacity: 1; transform: none; }
}
@media print {
  .hdr, .wa-float, .cookie, .progress, .room, .board__toggle { display: none !important; }
}

/* ---------- accessibility & robustness additions (audit fixes, 7 Nov 2026) ---------- */
/* focus ring that is always visible: white on dark/blue backgrounds, brand blue on light ones */
.theme-dark, .theme-blue, .ftr, .mnav, .room, .board, .hdr:not(.is-solid) { --focus: #fff; }
/* text only for screen readers */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* hero board: pause/play control */
.board__ctrl { display: inline-flex; align-items: center; gap: 12px; }
.board__toggle { font: 500 12px/1 var(--f-body); color: rgba(255, 255, 255, .88); background: transparent; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.board__toggle:hover { border-color: rgba(255, 255, 255, .7); color: #fff; }
/* contact form: phone-or-email hint */
.form__hint { font-size: 13px; color: var(--muted); margin: -4px 0 14px; }
.form__msg:focus { outline: 2px solid var(--c-primary); outline-offset: 2px; }
/* keep the floating WhatsApp button from covering the last lines on phones */
@media (max-width: 680px) { .ftr { padding-bottom: 96px; } }
/* reduced motion: board shows every fix from the first paint (no movement, no jump) */
@media (prefers-reduced-motion: reduce) {
  .js .board__fix { max-height: 3em; opacity: 1; margin-top: 4px; visibility: visible; }
}