/* Layout concept: a dark navy showroom. Photos run full-bleed under deep gradients like lit display rooms;
   brass hairlines and the logo's Г/Д brackets frame the work; text sits low and left over the images. */
:root {
  --night: #050E22;       /* deepest navy, page ground */
  --navy: #0A1834;        /* panels */
  --navy-2: #102449;      /* raised panels */
  --ivory: #EEE7DB;       /* text */
  --mist: #9AA5BE;        /* secondary text */
  --brass: #C8A47A;       /* hairlines, small accents (from the brass handles in the projects) */
  --orange: #FF7417;      /* logo orange, actions + Д bracket */
  --line: rgba(238, 231, 219, .12);
  --logo-a: #FFFFFF; --logo-b: #FF6F00;
  --display: "Playfair Display", "Times New Roman", serif;
  --body: "Onest", "Segoe UI", system-ui, sans-serif;
  --dw: 500;
  --brand: "Montserrat", "Segoe UI", sans-serif;
  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.3rem, 1.15rem + 0.6vw, 1.65rem);
  --step-2: clamp(1.8rem, 1.5rem + 1.3vw, 2.6rem);
  --step-3: clamp(2.5rem, 1.9rem + 2.6vw, 4.2rem);
  --step-4: clamp(3rem, 2rem + 4.6vw, 6.6rem);
  --wrap: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ivory); font-family: var(--body); font-size: var(--step-0); line-height: 1.65;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; text-wrap: balance; }
[style*="--display"], h1, h2, h3, .phone-big, .num b, .marquee, .lede, .big, .now, .idx, .sign b, .machines dd, .next b, .steps li { font-feature-settings: "locl" 0; }
p { margin: 0; }
.la { fill: var(--logo-a); } .lb { fill: var(--logo-b); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
::selection { background: var(--orange); color: var(--night); }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--navy); padding: 8px 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.kicker { font-family: var(--brand); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.34em; color: var(--brass); display: inline-flex; align-items: center; gap: 14px; }
.kicker::before { content: ""; width: 40px; height: 1px; background: var(--brass); }

/* ---------- header ---------- */
.site-head { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top, 0px); z-index: 50; transition: background .5s var(--ease), border-color .5s; border-bottom: 1px solid transparent; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; transition: padding .4s var(--ease); }
.site-head.solid { background: rgba(5, 14, 34, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.site-head.solid .wrap { padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; position: relative; z-index: 2; }
.brand .mark { width: 54px; height: auto; }
.brand .word { width: 160px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { text-decoration: none; font-size: var(--step--1); letter-spacing: 0.04em; color: var(--ivory); opacity: .78; padding-block: 6px; position: relative; transition: opacity .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .call { opacity: 1; font-variant-numeric: tabular-nums; border: 1px solid rgba(238,231,219,.35); padding: 9px 16px; transition: border-color .3s, background .3s, color .3s; }
.nav .call::after { display: none; }
.nav .call:hover { border-color: var(--orange); background: var(--orange); color: var(--night); }
.menu-btn { display: none; background: none; border: 1px solid rgba(238,231,219,.35); color: var(--ivory); font: inherit; font-size: var(--step--1); padding: 8px 14px; cursor: pointer; position: relative; z-index: 2; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    background: linear-gradient(160deg, #0B1B3D, #050E22 70%); padding: 100px max(24px, env(safe-area-inset-right, 0px)) 40px max(24px, env(safe-area-inset-left, 0px));
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s; }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a { font-family: var(--display); font-size: 2.4rem; opacity: 1; letter-spacing: 0; }
  .nav .call { font-family: var(--body); font-size: 1rem; margin-top: 24px; }
  .brand .word { width: 132px; } .brand .mark { width: 44px; }
}

/* ---------- hero: full-bleed slideshow ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.hero .slides { position: absolute; inset: 0; z-index: -2; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero .slide.on { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero .slide.on img { animation: kb 9s linear both; }
@keyframes kb { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5,14,34,.94) 0%, rgba(5,14,34,.72) 34%, rgba(5,14,34,.15) 68%, rgba(5,14,34,.05) 100%),
              linear-gradient(0deg, rgba(5,14,34,1) 0%, rgba(5,14,34,.0) 38%),
              linear-gradient(180deg, rgba(5,14,34,.7) 0%, rgba(5,14,34,0) 22%); }
.hero .inner { padding-block: 150px clamp(48px, 7vw, 96px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: end; }
.hero h1 { font-size: var(--step-4); font-weight: 500; margin-top: 26px; max-width: 12ch; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln span { display: block; }
.hero .lead { margin-top: 28px; color: rgba(238,231,219,.82); max-width: 38ch; font-size: var(--step-1); line-height: 1.45; font-weight: 500; }
.hero .actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .side { justify-self: end; display: grid; gap: 18px; text-align: right; }
.hero .side .now { font-family: var(--display); font-size: var(--step-1); line-height: 1.2; }
.hero .side .now small { display: block; font-family: var(--body); font-size: var(--step--1); color: var(--mist); }
.dots { display: flex; gap: 10px; justify-content: flex-end; }
.dots button { width: 44px; height: 3px; padding: 0; border: 0; background: rgba(238,231,219,.25); cursor: pointer; position: relative; overflow: hidden; }
.dots button::after { content: ""; position: absolute; inset: 0; background: var(--orange); transform: scaleX(0); transform-origin: left; }
.dots button.on::after { animation: bar 7s linear both; }
@keyframes bar { to { transform: scaleX(1); } }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); width: 1px; height: 54px; background: linear-gradient(var(--brass), transparent); }
@media all {
  .hero h1 .ln span { animation: rise 1.2s var(--ease) both; }
  .hero h1 .ln:nth-child(2) span { animation-delay: .12s; } .hero h1 .ln:nth-child(3) span { animation-delay: .24s; }
  .hero .lead, .hero .actions { animation: fade 1.2s var(--ease) .45s both; }
  .scroll-cue { animation: cue 2.4s ease-in-out infinite; }
}
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cue { 0%,100% { transform: translateX(-50%) scaleY(.4); transform-origin: top; } 50% { transform: translateX(-50%) scaleY(1); transform-origin: top; } }
@media (max-width: 0px) { .hero .slide.on img { animation: none; transform: none; } .dots button.on::after { animation: none; transform: scaleX(1); } }
@media (max-width: 900px) {
  .hero { min-height: 680px; }
  .hero .inner { grid-template-columns: 1fr; padding-top: 120px; }
  .hero .side { justify-self: start; text-align: left; } .dots { justify-content: flex-start; }
  .hero::before { background: linear-gradient(0deg, rgba(5,14,34,1) 8%, rgba(5,14,34,.6) 55%, rgba(5,14,34,.45) 100%); }
  .scroll-cue { display: none; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; font: inherit; font-size: var(--step--1);
  letter-spacing: 0.06em; padding: 16px 26px; border: 1px solid rgba(238,231,219,.4); color: var(--ivory); background: transparent; cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ivory); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.btn:hover { color: var(--night); border-color: var(--ivory); }
.btn:hover::before { transform: scaleY(1); }
.btn.primary { background: var(--orange); border-color: var(--orange); color: var(--night); font-weight: 500; }
.btn.primary::before { background: var(--ivory); }
.btn .ar { width: 18px; height: 1px; background: currentColor; position: relative; transition: width .35s var(--ease); }
.btn .ar::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .ar { width: 26px; }

/* ---------- numbers band ---------- */
.numbers { border-block: 1px solid var(--line); background: linear-gradient(90deg, var(--navy), var(--night)); }
.numbers .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.num { padding: 34px 28px 34px 0; display: grid; gap: 6px; }
.num + .num { padding-left: 28px; border-left: 1px solid var(--line); }
.num b { font-family: var(--display); font-weight: 500; font-size: var(--step-3); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.num b sup { font-size: .4em; color: var(--orange); vertical-align: top; margin-left: 4px; }
.num > span { color: var(--mist); font-size: var(--step--1); }
.num b span { font: inherit; color: inherit; }
@media (max-width: 860px) {
  .numbers .wrap { grid-template-columns: 1fr 1fr; }
  .num, .num + .num { padding: 22px 12px 22px 0; border-left: 0; }
  .num:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- sections ---------- */
section { padding-block: clamp(72px, 11vw, 160px); position: relative; }
.sec-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head h2 { font-size: var(--step-3); font-weight: 500; margin-top: 20px; }
.sec-head p { color: var(--mist); max-width: 48ch; }
@media (max-width: 860px) { .sec-head { grid-template-columns: 1fr; } }

/* photo with effects */
.fx { position: relative; overflow: hidden; display: block; background: var(--navy); isolation: isolate; }
.fx img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.fx::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(5,14,34,.92) 0%, rgba(5,14,34,.35) 38%, rgba(5,14,34,0) 62%); transition: opacity .8s var(--ease); }
.fx::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,226,190,.22) 48%, transparent 66%); transform: translateX(-120%); transition: transform 1.2s var(--ease); }
a:hover .fx img, a:focus-visible .fx img { transform: scale(1.12); }
a:hover .fx::before, a:focus-visible .fx::before { transform: translateX(120%); }
.fx.plain::after { background: linear-gradient(0deg, rgba(5,14,34,.45), rgba(5,14,34,0) 45%); }
.fx[data-par] img { transform: translate3d(0, var(--py, 0px), 0) scale(1.16); transition: none; }

/* bracket frame from the logo */
.frame { position: relative; }
.frame::before, .frame::after { content: ""; position: absolute; pointer-events: none; z-index: 5; }
.frame::before { left: calc(var(--fo, 18px) * -1); top: calc(var(--fo, 18px) * -1); width: 42%; height: 64%; border-left: var(--ft, 6px) solid var(--ivory); border-top: var(--ft, 6px) solid var(--ivory); }
.frame::after { right: calc(var(--fo, 18px) * -1); bottom: calc(var(--fo, 18px) * -1); width: 58%; height: 52%; border-right: var(--ft, 6px) solid var(--orange); border-bottom: var(--ft, 6px) solid var(--orange); }
@media (max-width: 700px) { .frame { --fo: 10px; --ft: 4px; } }

/* ---------- featured projects: stacked showcase ---------- */
.showcase { display: grid; gap: clamp(40px, 6vw, 96px); }
.show { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; text-decoration: none; }
.show .fx { grid-column: 1 / span 8; grid-row: 1; aspect-ratio: 16 / 10; }
.show .card { grid-column: 7 / span 6; grid-row: 1; position: relative; z-index: 4; background: linear-gradient(160deg, #13295A 0%, #0B1A3A 100%);
  border: 1px solid var(--line); padding: clamp(24px, 3vw, 48px); display: grid; gap: 14px; transition: transform .8s var(--ease), border-color .6s; }
.show:hover .card { transform: translateX(-14px); border-color: rgba(200,164,122,.5); }
.show:nth-child(even) .fx { grid-column: 5 / span 8; }
.show:nth-child(even) .card { grid-column: 1 / span 6; }
.show:nth-child(even):hover .card { transform: translateX(14px); }
.show .idx { font-family: var(--display); font-size: var(--step-1); color: var(--orange); line-height: 1; font-variant-numeric: lining-nums; }
.show h3 { font-size: var(--step-3); font-weight: 500; }
.show .rooms { color: var(--mist); font-size: var(--step--1); }
.show .more { display: inline-flex; align-items: center; gap: 12px; font-size: var(--step--1); letter-spacing: .06em; color: var(--brass); margin-top: 8px; }
.show .more .ar, .ptile .ar { width: 22px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); display: inline-block; }
.show .more .ar::after, .ptile .ar::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.show:hover .more .ar { width: 44px; }
@media (max-width: 860px) {
  .show { grid-template-columns: 1fr; }
  .show .fx, .show:nth-child(even) .fx { grid-column: 1; aspect-ratio: 4 / 3; }
  .show .card, .show:nth-child(even) .card { grid-column: 1; grid-row: 2; margin: -56px 14px 0; }
  .show:hover .card, .show:nth-child(even):hover .card { transform: none; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 28px; white-space: nowrap; }
.marquee .track { display: inline-flex; gap: 48px; align-items: center; padding-right: 48px; }
.marquee span { font-family: var(--display); font-size: clamp(2.4rem, 1.6rem + 3vw, 4.6rem); font-weight: 500; color: transparent; -webkit-text-stroke: 1px rgba(238,231,219,.55); line-height: 1.1; }
.marquee span.f { color: var(--ivory); -webkit-text-stroke: 0; }
.marquee i { width: 12px; height: 12px; background: var(--orange); transform: rotate(45deg); flex: none; }
@media all { .marquee .track { animation: mq 42s linear infinite; } }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- categories: hover list with floating photo ---------- */
.catlist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.catlist li a { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 24px; align-items: center; padding-block: 28px; border-bottom: 1px solid var(--line);
  text-decoration: none; position: relative; transition: padding .5s var(--ease); }
.catlist li a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,116,23,.14), transparent 60%); opacity: 0; transition: opacity .5s; }
.catlist li a:hover::before, .catlist li a:focus-visible::before { opacity: 1; }
.catlist li a:hover { padding-left: 20px; }
.catlist .n { font-family: var(--brand); font-size: .78rem; color: var(--brass); letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.catlist h3 { font-size: var(--step-3); font-weight: 500; transition: color .4s; }
.catlist a:hover h3 { color: var(--orange); }
.catlist .d { color: var(--mist); font-size: var(--step--1); max-width: 34ch; text-align: right; }
.catlist .thumb { display: none; }
.float-img { position: fixed; left: 0; top: 0; width: 300px; aspect-ratio: 3 / 4; pointer-events: none; z-index: 30; overflow: hidden; opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(.85) rotate(-3deg); transition: opacity .35s, transform .5s var(--ease); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.float-img.on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1) rotate(-2deg); }
.float-img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none), (max-width: 860px) {
  .float-img { display: none; }
  .catlist li a { grid-template-columns: 96px minmax(0, 1fr); gap: 4px 18px; padding-block: 16px; }
  .catlist li a:hover { padding-left: 0; }
  .catlist .thumb { display: block; grid-row: span 2; aspect-ratio: 1; overflow: hidden; }
  .catlist .thumb img { width: 100%; height: 100%; object-fit: cover; }
  .catlist .n { display: none; }
  .catlist h3 { font-size: var(--step-2); }
  .catlist .d { text-align: left; }
}

/* ---------- detail strip (horizontal) ---------- */
.strip { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 18px; scrollbar-width: thin; scrollbar-color: var(--brass) transparent;
  padding-left: max(16px, calc((100vw - var(--wrap)) / 2 + 40px)); padding-right: 40px; scroll-padding-left: max(16px, calc((100vw - var(--wrap)) / 2 + 40px)); cursor: grab; }
.strip.drag { cursor: grabbing; scroll-snap-type: none; }
.strip.drag a { pointer-events: none; }
.strip figure { margin: 0; flex: 0 0 clamp(250px, 28vw, 400px); scroll-snap-align: start; display: grid; gap: 14px; }
.strip .fx { aspect-ratio: 4 / 5; }
.strip figcaption { display: flex; justify-content: space-between; gap: 12px; color: var(--mist); font-size: var(--step--1); }
.strip figcaption b { color: var(--ivory); font-weight: 500; }
.strip-ctl { display: flex; gap: 10px; }
.strip-ctl button { width: 54px; height: 54px; border: 1px solid var(--line); background: none; color: var(--ivory); cursor: pointer; font-size: 1.1rem; transition: border-color .3s, background .3s, color .3s; }
.strip-ctl button:hover { border-color: var(--orange); background: var(--orange); color: var(--night); }
@media (max-width: 860px) { .strip { padding-right: 16px; } .strip-ctl { display: none; } }

/* ---------- story (light band for rhythm) ---------- */
.ivory { background: var(--ivory); color: var(--night); --mist: #4E5873; --line: rgba(5,14,34,.14); --logo-a: #011C47; }
.ivory .kicker { color: #9A7246; } .ivory .kicker::before { background: #9A7246; }
.ivory .btn { color: var(--night); border-color: rgba(5,14,34,.4); } .ivory .btn::before { background: var(--night); } .ivory .btn:hover { color: var(--ivory); border-color: var(--night); }
.ivory .frame::before { border-color: #011C47; }
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.story .pics { position: relative; padding: 18px 18px 22% 18px; }
.story .pics .a { aspect-ratio: 4 / 5; }
.story .pics .b { position: absolute; right: -8px; bottom: 0; width: 50%; aspect-ratio: 1; outline: 10px solid var(--ivory); z-index: 6; }
.story h2 { font-size: var(--step-3); font-weight: 500; margin-top: 20px; }
.story .prose { display: grid; gap: 20px; margin-top: 28px; max-width: 58ch; }
.story .prose .big { font-family: var(--display); font-size: var(--step-2); line-height: 1.2; font-weight: 400; color: var(--night); }
.story .prose p { color: var(--mist); }
.sign { margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.sign b { font-family: var(--display); font-size: var(--step-1); font-weight: 500; display: block; }
.sign span { color: var(--mist); font-size: var(--step--1); }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1px; background: linear-gradient(90deg, var(--orange), var(--brass) 40%, var(--line)); }
.steps li { counter-increment: s; padding: 0 22px 0 0; display: grid; gap: 12px; align-content: start; }
.steps li::before { content: counter(s, decimal-leading-zero); width: 68px; height: 68px; display: grid; place-items: center; border-radius: 50%; background: var(--night);
  border: 1px solid var(--brass); font-family: var(--display); font-size: 1.6rem; color: var(--ivory); position: relative; transition: background .4s, color .4s, border-color .4s; font-variant-numeric: lining-nums; }
.steps li:hover::before { background: var(--orange); border-color: var(--orange); color: var(--night); }
.steps h3 { font-family: var(--body); font-weight: 500; font-size: var(--step-0); margin-top: 10px; }
.steps p { color: var(--mist); font-size: var(--step--1); }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .steps::before { left: 34px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--orange), var(--brass) 40%, var(--line)); }
  .steps li { grid-template-columns: 68px minmax(0, 1fr); column-gap: 22px; padding: 0; }
  .steps li::before { grid-row: span 2; }
  .steps h3 { margin-top: 8px; }
}

/* ---------- brands ---------- */
.brands-group { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 32px; padding-block: 26px; border-top: 1px solid var(--line); align-items: baseline; }
.brands-group h3 { font-family: var(--body); font-weight: 500; font-size: var(--step--1); color: var(--brass); letter-spacing: .04em; }
.brands { display: flex; flex-wrap: wrap; gap: 12px 44px; }
.brands span { font-family: var(--brand); font-weight: 600; font-size: var(--step-1); letter-spacing: 0.08em; color: rgba(238,231,219,.55); transition: color .3s; }
.brands span:hover { color: var(--ivory); }
@media (max-width: 700px) { .brands-group { grid-template-columns: 1fr; } }

/* ---------- CTA over photo ---------- */
.cta { overflow: hidden; isolation: isolate; }
.cta .bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.cta .bg img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.18); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(5,14,34,.97) 0%, rgba(5,14,34,.86) 45%, rgba(5,14,34,.5) 100%); }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.cta h2 { font-size: var(--step-4); font-weight: 500; margin-top: 22px; }
.cta .sub { margin-top: 24px; color: rgba(238,231,219,.78); max-width: 46ch; }
.cta .card { display: grid; gap: 20px; padding: clamp(24px, 3vw, 40px); background: linear-gradient(160deg, rgba(19,41,90,.94), rgba(10,24,52,.94)); border: 1px solid rgba(200,164,122,.35); }
.phone-big { font-family: var(--display); font-weight: 400; font-size: var(--step-3); font-variant-numeric: lining-nums tabular-nums; text-decoration: none; line-height: 1; user-select: all; }
.contact-line { display: grid; gap: 4px; }
.contact-line small { color: var(--mist); font-size: var(--step--1); }
.contact-line a { text-underline-offset: 3px; text-decoration-color: rgba(238,231,219,.35); }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.row-actions .btn { padding: 13px 18px; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* ---------- inner page hero ---------- */
.phero { position: relative; min-height: min(80svh, 780px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.phero .bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.phero .bg img { width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0) scale(1.12); }
@media all { .phero .bg { animation: settle 2.4s var(--ease) both; } }
@keyframes settle { from { transform: scale(1.12); filter: brightness(.55); } }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(5,14,34,1) 0%, rgba(5,14,34,.6) 42%, rgba(5,14,34,.3) 72%, rgba(5,14,34,.75) 100%); }
.phero .wrap { padding-block: 140px clamp(40px, 6vw, 72px); width: 100%; }
.crumbs { color: var(--mist); font-size: var(--step--1); display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ivory); }
.phero h1 { font-size: var(--step-4); font-weight: 500; margin-top: 22px; max-width: 14ch; }
@media all { .phero h1, .plain-head h1 { animation: fade 1.2s var(--ease) .2s both; } }
.phero .meta { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 28px; color: rgba(238,231,219,.85); font-size: var(--step--1); }
.phero .meta b { color: var(--brass); font-weight: 500; margin-right: 8px; }
.plain-head { padding-block: 160px clamp(32px, 4vw, 56px); background: radial-gradient(ellipse at 80% 0%, rgba(255,116,23,.10), transparent 55%), radial-gradient(ellipse at 0% 100%, rgba(200,164,122,.08), transparent 50%); }
.plain-head h1 { font-size: var(--step-4); font-weight: 500; margin-top: 22px; max-width: 16ch; }
.plain-head .lede { margin-top: 28px; color: var(--mist); font-size: var(--step-1); max-width: 44ch; line-height: 1.45; font-weight: 500; }

.intro2 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro2 .lede { font-family: var(--display); font-size: var(--step-2); line-height: 1.25; font-weight: 400; }
.spec { display: grid; border-top: 1px solid var(--line); margin: 0; }
.spec div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); font-size: var(--step--1); }
.spec dt { color: var(--brass); } .spec dd { margin: 0; }
.spec a { text-decoration-color: rgba(238,231,219,.35); text-underline-offset: 3px; } .spec a:hover { color: var(--orange); }
@media (max-width: 860px) { .intro2 { grid-template-columns: 1fr; } }

/* editorial gallery */
.egal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); grid-auto-flow: dense; }
.egal button { all: unset; cursor: zoom-in; display: block; position: relative; overflow: hidden; }
.egal button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.egal .fx { width: 100%; height: 100%; }
.egal .fx::after { background: linear-gradient(0deg, rgba(5,14,34,.7) 0%, rgba(5,14,34,0) 45%); opacity: 0; }
.egal button:hover .fx::after { opacity: 1; }
.egal button:hover .fx img { transform: scale(1.1); }
.egal button:hover .fx::before { transform: translateX(120%); }
.egal .cap { position: absolute; left: 18px; bottom: 16px; z-index: 3; font-size: var(--step--1); opacity: 0; transform: translateY(8px); transition: .5s var(--ease); }
.egal button:hover .cap { opacity: 1; transform: none; }
.egal .zoom { position: absolute; right: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; border: 1px solid rgba(238,231,219,.6); border-radius: 50%; opacity: 0; transition: opacity .4s; }
.egal .zoom::before, .egal .zoom::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: var(--ivory); transform: translate(-50%, -50%); }
.egal .zoom::after { transform: translate(-50%, -50%) rotate(90deg); }
.egal button:hover .zoom { opacity: 1; }
.egal .w { grid-column: span 8; aspect-ratio: 16 / 10; }
.egal .l { grid-column: span 6; aspect-ratio: 4 / 3; }
.egal .t { grid-column: span 4; grid-row: span 2; }
.egal .s { grid-column: span 4; aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .egal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .egal .w, .egal .l { grid-column: span 2; aspect-ratio: 4 / 3; } .egal .t, .egal .s { grid-column: span 1; grid-row: span 1; aspect-ratio: 3 / 4; }
  .egal .zoom, .egal .cap { display: none; }
}

.next { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.next a { text-decoration: none; display: grid; align-content: end; gap: 6px; min-height: 280px; position: relative; overflow: hidden; isolation: isolate; padding: 30px; }
.next a .fx { position: absolute; inset: 0; z-index: -1; }
.next a .fx::after { background: linear-gradient(0deg, rgba(5,14,34,.95), rgba(5,14,34,.35)); }
.next small { color: var(--brass); font-size: var(--step--1); }
.next b { font-family: var(--display); font-weight: 500; font-size: var(--step-2); line-height: 1.1; }
.next a:last-child { text-align: right; }
@media (max-width: 600px) { .next { grid-template-columns: 1fr; } .next a { min-height: 200px; } .next a:last-child { text-align: left; } }

.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.ptile { text-decoration: none; position: relative; display: grid; align-items: end; aspect-ratio: 4 / 3.2; overflow: hidden; isolation: isolate; }
.ptile .fx { position: absolute; inset: 0; z-index: -1; }
.ptile .txt { padding: clamp(20px, 3vw, 40px); display: grid; gap: 10px; position: relative; z-index: 3; }
.ptile h3 { font-size: var(--step-3); font-weight: 500; }
.ptile p { color: rgba(238,231,219,.78); font-size: var(--step--1); }
.ptile .bar { width: 40px; height: 2px; background: var(--orange); transition: width .7s var(--ease); }
.ptile:hover .bar { width: 140px; }
.proj-grid .ptile:first-child { grid-column: span 2; aspect-ratio: 21 / 9; }
@media (max-width: 760px) { .proj-grid { grid-template-columns: 1fr; } .proj-grid .ptile:first-child { grid-column: auto; aspect-ratio: 4 / 3.2; } }

/* about */
.machines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; border-top: 1px solid var(--line); margin: 0; }
.machines div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--line); align-items: baseline; }
.machines dt { color: var(--brass); font-size: var(--step--1); } .machines dd { margin: 0; font-family: var(--display); font-size: var(--step-1); line-height: 1.2; }
@media (max-width: 760px) { .machines { grid-template-columns: 1fr; } }

/* form */
.split2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
@media (max-width: 860px) { .split2 { grid-template-columns: 1fr; } }
.stack { display: grid; gap: 22px; }
.form { display: grid; gap: 24px; padding: clamp(24px, 3vw, 48px); background: linear-gradient(160deg, var(--navy-2), var(--navy)); border: 1px solid var(--line); }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--step--1); color: var(--brass); }
.field input, .field select, .field textarea { font: inherit; color: var(--ivory); background: transparent; border: 0; border-bottom: 1px solid rgba(238,231,219,.3); padding: 10px 0; width: 100%; border-radius: 0; transition: border-color .3s; }
.field input::placeholder, .field textarea::placeholder { color: rgba(154,165,190,.7); }
.field select option { background: var(--navy); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--orange); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 600px) { .two { grid-template-columns: 1fr; } }
.err { color: var(--orange); font-size: var(--step--1); min-height: 1.2em; }
.sendbox { border: 1px solid var(--orange); padding: 22px; display: grid; gap: 14px; }
.sendbox pre { white-space: pre-wrap; font: inherit; font-size: var(--step--1); color: var(--mist); margin: 0; }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 80px 40px; background: linear-gradient(180deg, var(--night), #030916); }
.site-foot .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr); gap: 40px; }
.site-foot .logo-big { width: 240px; }
.site-foot h3 { font-family: var(--body); font-weight: 500; font-size: var(--step--1); margin-bottom: 14px; color: var(--brass); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--mist); font-size: var(--step--1); }
.site-foot a { text-decoration: none; } .site-foot a:hover { color: var(--ivory); }
.site-foot .copy { grid-column: 1 / -1; color: var(--mist); font-size: .8rem; border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr; } }

.fab { display: none; }
@media (max-width: 900px) {
  .fab { display: inline-flex; position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
    background: var(--orange); color: var(--night); text-decoration: none; padding: 14px 20px; border-radius: 40px; font-size: var(--step--1); font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
}

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(3, 9, 22, .97); display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); color: var(--ivory); }
.lb .bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: var(--step--1); color: var(--mist); }
.lb .stage { display: grid; place-items: center; min-height: 0; }
.lb .stage img { max-height: 100%; max-width: 100%; object-fit: contain; animation: lbin .6s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.97); } }
.lb button { background: none; border: 1px solid rgba(238,231,219,.35); color: var(--ivory); font: inherit; padding: 10px 18px; cursor: pointer; }
.lb button:hover { border-color: var(--orange); }
.lb .ctl { display: flex; justify-content: center; gap: 12px; padding-top: 12px; }

/* justified gallery (rows fill the width, photos keep their proportions) */
.jgal { display: grid; gap: clamp(10px, 1.4vw, 20px); }
.jrow { display: flex; gap: clamp(10px, 1.4vw, 20px); align-items: flex-start; }
.jrow button { all: unset; cursor: zoom-in; display: block; position: relative; overflow: hidden; flex: var(--ar) 1 0; min-width: 0; aspect-ratio: var(--ar); }
.jrow button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.jrow .fx { width: 100%; height: 100%; }
.jrow .fx::after { background: linear-gradient(0deg, rgba(5,14,34,.7) 0%, rgba(5,14,34,0) 45%); opacity: 0; }
.jrow button:hover .fx::after { opacity: 1; }
.jrow button:hover .fx img { transform: scale(1.09); }
.jrow button:hover .fx::before { transform: translateX(120%); }
.jrow .cap { position: absolute; left: 18px; bottom: 16px; z-index: 3; font-size: var(--step--1); opacity: 0; transform: translateY(8px); transition: .5s var(--ease); }
.jrow button:hover .cap { opacity: 1; transform: none; }
.jrow .zoom { position: absolute; right: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; border: 1px solid rgba(238,231,219,.6); border-radius: 50%; opacity: 0; transition: opacity .4s; }
.jrow .zoom::before, .jrow .zoom::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1px; background: var(--ivory); transform: translate(-50%, -50%); }
.jrow .zoom::after { transform: translate(-50%, -50%) rotate(90deg); }
.jrow button:hover .zoom { opacity: 1; }
@media (max-width: 700px) {
  .jrow.r3 { flex-wrap: wrap; }
  .jrow.r3 > :first-child { flex-basis: 100%; }
  .jrow .zoom, .jrow .cap { display: none; }
}

/* ================= v3 sections ================= */
/* stats: four tall tiles with photo backgrounds */
.stats { padding-block: clamp(20px, 3vw, 40px) clamp(56px, 8vw, 110px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.stat { position: relative; min-height: clamp(340px, 34vw, 460px); display: grid; grid-template-rows: 1fr auto; padding: clamp(20px, 2.4vw, 34px); overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); background: var(--navy); transition: border-color .6s, transform .8s var(--ease); }
.stat .sbg { position: absolute; inset: 0; z-index: -1; }
.stat .sbg img { opacity: .28; filter: saturate(.7); transform: scale(1.12); transition: opacity 1s var(--ease), transform 1.6s var(--ease), filter 1s; }
.stat .sbg::after { background: linear-gradient(180deg, rgba(5,14,34,.55) 0%, rgba(5,14,34,.25) 40%, rgba(5,14,34,.95) 100%); }
.stat:hover { border-color: rgba(200,164,122,.55); transform: translateY(-6px); }
.stat:hover .sbg img { opacity: .6; filter: saturate(1); transform: scale(1.02); }
.stop { display: grid; align-content: start; gap: 4px; }
.sunit { font-family: var(--brand); font-weight: 600; font-size: .74rem; letter-spacing: .3em; color: var(--orange); text-transform: uppercase; }
.sbig { font-family: var(--display); font-weight: 500; font-size: clamp(4.4rem, 3rem + 5vw, 8.6rem); line-height: .9; letter-spacing: -.02em; font-variant-numeric: lining-nums tabular-nums;
  background: linear-gradient(180deg, #FFF8EC 10%, #C8A47A 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sbig span { font: inherit; }
.sbot { display: grid; gap: 8px; }
.sbot h3 { font-family: var(--display); font-size: var(--step-1); font-weight: 500; }
.sbot p { color: rgba(238,231,219,.72); font-size: var(--step--1); line-height: 1.5; }
.meter { display: block; height: 2px; background: rgba(238,231,219,.15); margin-top: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--orange), var(--brass)); transform-origin: left; }
.js .stat:not(.in) .meter i { transform: scaleX(0); }
.stat.in .meter i { transition: transform 1.8s var(--ease) .2s; }
@media (max-width: 960px) { .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat { min-height: 300px; } }
@media (max-width: 480px) { .sbig { font-size: 3.8rem; } .sbot p { display: none; } .stat { min-height: 230px; } }

/* marquee: solid words + round photos */
.marquee { padding-block: 34px; background: linear-gradient(90deg, var(--night), var(--navy) 50%, var(--night)); }
.marquee .track { gap: 40px; padding-right: 40px; }
.marquee span { color: var(--ivory); -webkit-text-stroke: 0; font-weight: 500; font-size: clamp(2.6rem, 1.8rem + 3.4vw, 5.2rem); letter-spacing: -.01em; }
.marquee span:nth-of-type(even) { color: var(--brass); font-style: italic; font-weight: 400; }
.mq-ph { flex: none; width: clamp(64px, 6vw, 96px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 2px solid var(--orange); box-shadow: 0 0 0 6px rgba(255,116,23,.12); }
.mq-ph img { width: 100%; height: 100%; object-fit: cover; }
@media all { .mq-ph img { animation: spin 18s linear infinite; } }
@keyframes spin { to { transform: rotate(360deg) scale(1.25); } }

/* categories: expanding panels */
.panels { display: flex; gap: 12px; height: clamp(500px, 64vh, 700px); }
.panel { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; text-decoration: none; isolation: isolate; transition: flex 1s var(--ease); border: 1px solid var(--line); }
.panel .fx { position: absolute; inset: 0; z-index: -1; }
.panel .fx img { transform: scale(1.18); filter: grayscale(.55) brightness(.75); transition: transform 1.4s var(--ease), filter 1s var(--ease); }
.panel .fx::after { background: linear-gradient(0deg, rgba(5,14,34,.95) 0%, rgba(5,14,34,.45) 45%, rgba(5,14,34,.2) 100%); }
.panel.act { flex: 3.6 1 0; border-color: rgba(200,164,122,.45); }
.panel.act .fx img { transform: scale(1.04); filter: none; }
.panel .pn { position: absolute; top: 22px; left: 22px; font-family: var(--display); font-size: var(--step-1); color: var(--orange); font-variant-numeric: lining-nums; }
.panel .vt { position: absolute; left: 50%; bottom: 30px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-family: var(--display); font-size: var(--step-2); white-space: nowrap;
  transition: opacity .5s var(--ease); }
.panel.act .vt { opacity: 0; }
.panel .pt { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 44px); display: grid; gap: 12px; opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .8s var(--ease); min-width: 340px; }
.panel.act .pt { opacity: 1; transform: none; transition-delay: .25s; }
.panel h3 { font-size: var(--step-3); font-weight: 500; }
.panel .pt p { color: rgba(238,231,219,.8); max-width: 40ch; }
.panel .more { display: inline-flex; align-items: center; gap: 12px; color: var(--brass); font-size: var(--step--1); letter-spacing: .06em; }
.panel .more .ar { width: 26px; height: 1px; background: currentColor; position: relative; display: inline-block; transition: width .4s var(--ease); }
.panel .more .ar::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.panel:hover .more .ar { width: 48px; }
@media (max-width: 860px) {
  .panels { flex-direction: column; height: auto; gap: 10px; }
  .panel, .panel.act { flex: none; height: 220px; }
  .panel .fx img { filter: none; transform: scale(1.04); }
  .panel .vt { display: none; }
  .panel .pt { opacity: 1; transform: none; min-width: 0; padding: 20px; gap: 6px; }
  .panel h3 { font-size: var(--step-2); }
  .panel .pt p { font-size: var(--step--1); }
}

/* details: horizontal scroll driven by vertical scroll */
.hscroll { padding-block: 0; }
.hs-sticky { grid-template-columns: minmax(0, 100%); position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr); align-content: start; padding-block: clamp(90px, 10vh, 120px) clamp(28px, 5vh, 56px); }
.hs-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: end; width: 100%; margin-bottom: clamp(24px, 4vh, 48px); }
.hs-head h2 { font-size: var(--step-3); font-weight: 500; margin-top: 18px; }
.hs-side { display: grid; gap: 22px; } .hs-side p { color: var(--mist); max-width: 46ch; }
.hs-count { display: flex; align-items: baseline; gap: 10px; }
.hs-count b { font-family: var(--display); font-weight: 500; font-size: var(--step-3); line-height: 1; color: var(--orange); font-variant-numeric: lining-nums tabular-nums; }
.hs-count span { color: var(--mist); font-variant-numeric: tabular-nums; }
.hs-bar { flex: 1; height: 1px; background: var(--line); align-self: center; margin-left: 12px; position: relative; overflow: hidden; }
.hs-bar i { position: absolute; inset: 0; background: var(--orange); transform: scaleX(var(--p, 0)); transform-origin: left; }
.hs-track { padding-top: 4vh; display: flex; gap: clamp(18px, 2.4vw, 36px); align-items: center; padding-left: max(16px, calc((100vw - var(--wrap)) / 2 + 40px)); padding-right: 12vw; will-change: transform; min-height: 0; }
.hs-item { margin: 0; flex: 0 0 auto; height: 100%; max-height: 62vh; aspect-ratio: 4 / 5; position: relative; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; }
.hs-item:nth-child(even) { transform: translateY(5vh); }
.hs-item:nth-child(3n) { aspect-ratio: 4 / 4.2; }
.hs-item .fx { height: 100%; }
.hs-item .fx img { transform: scale(1.12) translateX(var(--ix, 0px)); transition: none; }
.hs-item:hover .fx img { transform: scale(1.2) translateX(var(--ix, 0px)); transition: transform 1.2s var(--ease); }
.hs-n { position: absolute; top: -0.42em; right: 14px; z-index: 4; font-family: var(--display); font-weight: 500; font-size: clamp(3.4rem, 2rem + 4vw, 6.4rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(200,164,122,.9); font-variant-numeric: lining-nums; }
.hs-item figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: var(--step--1); color: var(--mist); }
.hs-item figcaption b { color: var(--ivory); font-weight: 500; }
@media (max-width: 900px) {
  .hs-sticky { position: static; height: auto; padding-block: clamp(64px, 10vw, 100px) 40px; }
  .hs-head { grid-template-columns: 1fr; }
  .hs-track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 16px; padding-right: 16px; transform: none !important; }
  .hs-item { height: auto; width: 74vw; max-width: 340px; scroll-snap-align: start; }
  .hs-item:nth-child(even) { transform: none; }
  .hs-item .fx { aspect-ratio: 4 / 5; }
  .hs-bar { display: none; }
}

/* process: timeline that fills with scroll, icons draw in */
.process { overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 15% 20%, rgba(255,116,23,.08), transparent 50%), radial-gradient(ellipse at 90% 80%, rgba(200,164,122,.08), transparent 50%); }
.ptl { position: relative; }
.ptl ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); position: relative; }
.pline { position: absolute; left: 0; right: 0; top: 44px; height: 2px; background: var(--line); }
.pline i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--orange), var(--brass)); transform: scaleX(var(--lp, 1)); transform-origin: left; box-shadow: 0 0 18px rgba(255,116,23,.6); }
.pstep { display: grid; gap: 22px; grid-template-rows: auto 1fr; }
.pcard { align-content: start; padding-bottom: 44px !important; }
.node { width: 90px; height: 90px; border-radius: 50%; display: grid; place-items: center; background: var(--night); border: 1px solid var(--line); position: relative; z-index: 2;
  transition: border-color .6s, background .6s, box-shadow .6s, transform .6s var(--ease); }
.node svg { width: 42px; height: 42px; fill: none; stroke: var(--mist); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s; }
.node svg * { stroke-dasharray: 160; stroke-dashoffset: 0; }
.pcard { position: relative; padding: 26px 22px 24px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(16,36,73,.6), rgba(10,24,52,.3)); display: grid; gap: 10px;
  transition: border-color .6s, transform .8s var(--ease), opacity .8s; overflow: hidden; }
.pnum { position: absolute; right: 14px; bottom: -14px; font-family: var(--display); font-weight: 500; font-size: 5.4rem; line-height: 1; color: rgba(238,231,219,.06); font-variant-numeric: lining-nums; transition: color .6s; }
.pcard h3 { font-family: var(--display); font-weight: 500; font-size: var(--step-1); position: relative; }
.pcard p { color: var(--mist); font-size: var(--step--1); position: relative; }
.pstep.on .node { border-color: var(--orange); background: radial-gradient(circle, #1A2E5A, var(--night)); box-shadow: 0 0 0 8px rgba(255,116,23,.10), 0 0 40px rgba(255,116,23,.35); transform: scale(1.06); }
.pstep.on .node svg { stroke: var(--ivory); }
.pstep.on .pnum { color: rgba(255,116,23,.22); }
.pstep.on .pcard { border-color: rgba(200,164,122,.45); }
.js .ptl:not(.done) .pstep:not(.on) .pcard { opacity: .45; transform: translateY(18px); }
.js .ptl:not(.done) .pstep:not(.on) .node svg * { stroke-dashoffset: 160; }
.pstep.on .node svg * { transition: stroke-dashoffset 1.4s var(--ease); }
.pstep:hover .pcard { border-color: var(--orange); }
@media (max-width: 1000px) {
  .ptl ol { grid-template-columns: 1fr; gap: 22px; }
  .pline { left: 44px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .pline i { transform: scaleY(var(--lp, 1)); transform-origin: top; background: linear-gradient(180deg, var(--orange), var(--brass)); }
  .pstep { grid-template-columns: 90px minmax(0, 1fr); gap: 18px; align-items: start; }
}

/* brand logos */
.bwrap { display: grid; gap: 28px; }
.bgroup { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 32px; align-items: center; }
.bgroup h3 { font-family: var(--body); font-weight: 500; font-size: var(--step--1); color: var(--brass); letter-spacing: .04em; }
.btiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.btile { height: 112px; display: grid; place-items: center; padding: 22px 26px; border: 1px solid var(--line); background: rgba(10,24,52,.5); transition: border-color .4s, background .4s, transform .5s var(--ease); }
.btile img { max-height: 46px; max-width: 100%; width: auto; filter: brightness(0) invert(1); opacity: .62; transition: opacity .4s, filter .4s; }
.btile .wm { font-family: var(--brand); font-weight: 600; font-size: var(--step-1); letter-spacing: .1em; color: rgba(238,231,219,.6); transition: color .4s; }
.btile:hover { border-color: rgba(200,164,122,.55); background: rgba(16,36,73,.8); transform: translateY(-4px); }
.btile:hover img { opacity: 1; filter: none; } .btile:hover .wm { color: var(--ivory); }
@media (max-width: 860px) { .bgroup { grid-template-columns: 1fr; } .btiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .btile { height: 92px; } }

/* ================= v4 ================= */
h1, h2, h3 { letter-spacing: -0.01em; }
.hero h1 { font-weight: 600; line-height: 1.04; }
.hero .lead, .plain-head .lede { font-weight: 400; }
.sbig { font-weight: 600; letter-spacing: -0.03em; }
.show .idx { font-family: var(--brand); font-size: .74rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--orange); }
.show h3, .panel h3, .ptile h3, .cta h2, .phero h1, .plain-head h1, .sec-head h2, .story h2 { font-weight: 500; }
.marquee span { font-weight: 600; }
.marquee span:nth-of-type(even) { font-weight: 500; }
.kicker { font-weight: 600; }
body { font-weight: 400; }
.phone-big { font-weight: 500; }
.hs-hint { color: var(--mist); font-size: var(--step--1); white-space: nowrap; }
.hs-count { align-items: center; }

/* categories: full-photo grid */
.cgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.ccard { position: relative; display: grid; align-items: end; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; text-decoration: none; border: 1px solid var(--line); transition: border-color .6s; }
.ccard.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.ccard .fx { position: absolute; inset: 0; z-index: -1; }
.ccard .fx img { transform: scale(1.02); }
.ccard .fx::after { background: linear-gradient(0deg, rgba(5,14,34,.92) 0%, rgba(5,14,34,.4) 34%, rgba(5,14,34,0) 58%); }
.ccard:hover { border-color: rgba(200,164,122,.55); }
.ccard:hover .fx img { transform: scale(1.08); }
.ct { padding: clamp(18px, 2vw, 30px); display: grid; gap: 8px; }
.ccard h3 { font-size: var(--step-2); font-weight: 500; }
.ccard.big h3 { font-size: var(--step-3); }
.ct p { color: rgba(238,231,219,.8); font-size: var(--step--1); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .6s; }
.ccard.big .ct p, .ccard:hover .ct p { max-height: 5em; opacity: 1; }
.ct .more { display: inline-flex; align-items: center; gap: 12px; color: var(--brass); font-size: var(--step--1); letter-spacing: .06em; }
.ct .more .ar { width: 24px; height: 1px; background: currentColor; position: relative; display: inline-block; transition: width .4s var(--ease); }
.ct .more .ar::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.ccard:hover .more .ar { width: 46px; }
@media (max-width: 860px) {
  .cgrid { grid-template-columns: 1fr 1fr; }
  .ccard.big { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .ccard h3 { font-size: var(--step-1); }
  .ct p { display: none; }
}
@media (max-width: 480px) { .cgrid { grid-template-columns: 1fr; } .ccard.big { grid-column: auto; } }

/* process: no numbers, icons carry the order */
.pnum { display: none; }
.pcard { padding-bottom: 26px !important; }
.pcard h3 { font-weight: 600; }
.ccard:not(.big) h3 { font-size: var(--step-1); }
.ccard .fx::after { background: linear-gradient(0deg, rgba(5,14,34,.96) 0%, rgba(5,14,34,.6) 30%, rgba(5,14,34,0) 60%); }
/* logos in their own colours on ivory tiles */
.btile { background: #F4EFE6; border-color: transparent; height: 120px; padding: 24px 30px; }
.btile img { filter: none; opacity: .92; max-height: 56px; }
.btile .wm { color: #0A1834; font-weight: 700; letter-spacing: .12em; }
.btile:hover { background: #FFFFFF; border-color: var(--orange); transform: translateY(-5px); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.btile:hover img { opacity: 1; }
.btile:hover .wm { color: #0A1834; }
@media (max-width: 860px) { .btile { height: 96px; padding: 18px; } .btile img { max-height: 44px; } }
.phone-big { white-space: nowrap; font-size: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
.hs-hint .hm { display: none; }
@media (max-width: 900px) { .hs-hint .hd { display: none; } .hs-hint .hm { display: inline; } }

/* ================= v5: details mosaic + process ================= */
.details { overflow: hidden; }
.dhead { display: grid; justify-items: center; text-align: center; gap: 18px; max-width: 760px; margin: 0 auto clamp(48px, 7vw, 96px); }
.dhead h2 { font-size: var(--step-4); font-weight: 500; }
.dhead p { color: var(--mist); max-width: 52ch; }
.mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 48px); align-items: start; }
.mcol { display: grid; gap: clamp(28px, 4vw, 64px); transform: translate3d(0, var(--my, 0px), 0); will-change: transform; }
.mcol:nth-child(2) { margin-top: clamp(60px, 10vw, 160px); }
.mcol:nth-child(3) { margin-top: clamp(20px, 4vw, 60px); }
.mfig { margin: 0; display: grid; gap: 16px; }
.mph { position: relative; overflow: hidden; background: var(--navy); }
.mph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease), filter 1s var(--ease); filter: saturate(.9) brightness(.92); }
.mph::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(200,164,122,.0); transition: border-color .8s var(--ease), inset .8s var(--ease); pointer-events: none; }
.mph::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(5,14,34,.5), rgba(5,14,34,0) 45%); opacity: .6; transition: opacity .8s; pointer-events: none; }
.mfig:hover .mph img { transform: scale(1.1); filter: none; }
.mfig:hover .mph::after { border-color: rgba(200,164,122,.8); inset: 18px; }
.mfig:hover .mph::before { opacity: 0; }
.mfig figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.mfig em { font-family: var(--display); font-style: italic; font-size: var(--step-1); color: var(--ivory); }
.mfig span { color: var(--brass); font-size: var(--step--1); letter-spacing: .04em; white-space: nowrap; }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: 1fr 1fr; gap: 14px; }
  .mcol { transform: none !important; gap: 22px; }
  .mcol:nth-child(2) { margin-top: 48px; }
  .mcol:nth-child(3) { grid-column: span 2; margin-top: 0; grid-template-columns: 1fr 1fr; gap: 14px; }
  .mfig figcaption { flex-direction: column; gap: 2px; }
  .mfig em { font-size: 1.05rem; }
}

.proc { background: linear-gradient(180deg, var(--night), var(--navy) 50%, var(--night)); }
.proc-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.pm-sticky { position: sticky; top: 110px; height: min(76vh, 760px); overflow: hidden; }
.pm { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.pm.on { opacity: 1; }
.pm img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 6s linear; }
.pm.on img { transform: scale(1.02); }
.pm-sticky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,14,34,.85) 0%, rgba(5,14,34,0) 40%); pointer-events: none; }
.pm-sticky::before { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(200,164,122,.55); z-index: 2; pointer-events: none; }
.pm-cap { position: absolute; left: 44px; right: 44px; bottom: 40px; z-index: 3; display: grid; gap: 14px; }
.pm-t { font-family: var(--display); font-style: italic; font-size: var(--step-2); }
.pm-bar { height: 1px; background: rgba(238,231,219,.25); position: relative; overflow: hidden; display: block; }
.pm-bar i { position: absolute; inset: 0; background: var(--orange); transform: scaleX(var(--pp, .2)); transform-origin: left; transition: transform .8s var(--ease); }
.phead { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); }
.phead h2 { font-size: var(--step-3); font-weight: 500; }
.phead p { color: var(--mist); max-width: 44ch; }
.proc-list ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ps { position: relative; padding: clamp(28px, 4vh, 44px) 0 clamp(28px, 4vh, 44px) 34px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; min-height: 26vh; align-content: center; cursor: default; }
.ps::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.ps::after { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: linear-gradient(180deg, var(--orange), var(--brass)); transform: scaleY(0); transform-origin: top; transition: transform 1s var(--ease); }
.ps h3 { font-size: var(--step-2); font-weight: 500; color: rgba(238,231,219,.42); transition: color .6s var(--ease), transform .8s var(--ease); }
.ps p { color: var(--mist); max-width: 42ch; opacity: .45; transition: opacity .6s; }
.ps.on::after { transform: scaleY(1); }
.ps.on h3 { color: var(--ivory); transform: translateX(8px); }
.ps.on p { opacity: 1; }
.ps-ph { display: none; }
@media (max-width: 900px) {
  .proc-grid { grid-template-columns: 1fr; }
  .proc-media { display: none; }
  .ps { min-height: 0; padding-left: 0; }
  .ps::before, .ps::after { display: none; }
  .ps h3 { color: var(--ivory); transform: none !important; }
  .ps p { opacity: 1; }
  .ps-ph { display: block; aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 8px; }
  .ps-ph img { width: 100%; height: 100%; object-fit: cover; }
}
.proc-media { align-self: stretch; }
/* process drawings (blueprint style) */
.pm-sticky { background:
    linear-gradient(rgba(200,164,122,.06) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(200,164,122,.06) 1px, transparent 1px) 0 0 / 40px 40px,
    radial-gradient(ellipse at 50% 40%, #12285A, #081530 75%); }
.pm-sticky::after { background: linear-gradient(0deg, rgba(5,14,34,.9) 0%, rgba(5,14,34,0) 30%); }
.pm { display: grid; place-items: center; padding: 40px 40px 120px; }
.illo { width: 100%; height: 100%; fill: none; stroke: var(--brass); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.illo .acc, .illo .dim { stroke: var(--orange); }
.illo .faint { stroke: rgba(200,164,122,.35); }
.illo .dash { stroke-dasharray: 8 7; }
.illo text { fill: var(--ivory); stroke: none; font-family: var(--display); font-style: italic; font-size: 20px; text-anchor: middle; }
.pm .illo > *:not(text), .pm .illo g > * { stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 2.6s var(--ease); }
.pm .illo .dash { stroke-dasharray: 8 7; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s 1.4s; }
.pm .illo text { opacity: 0; transition: opacity 1s 1.2s; }
.pm.on .illo > *:not(text), .pm.on .illo g > * { stroke-dashoffset: 0; }
.pm.on .illo .dash, .pm.on .illo text { opacity: 1; }
.pm img { display: none; }
@media (max-width: 0px) { .pm .illo * { stroke-dashoffset: 0 !important; transition: none !important; opacity: 1 !important; } }
@media (max-width: 900px) {
  .ps-ph { aspect-ratio: 5 / 4; padding: 18px; background: linear-gradient(rgba(200,164,122,.06) 1px, transparent 1px) 0 0 / 30px 30px, linear-gradient(90deg, rgba(200,164,122,.06) 1px, transparent 1px) 0 0 / 30px 30px, radial-gradient(ellipse at 50% 40%, #12285A, #081530 75%); border: 1px solid rgba(200,164,122,.35); }
}
/* ===== v7 bolder drawings ===== */
.pm { padding: 28px 28px 104px; }
.illo { stroke: #E3C49B; stroke-width: 2.6; filter: drop-shadow(0 0 10px rgba(200,164,122,.25)); }
.illo .room, .illo .room * { stroke: rgba(227,196,155,.55); }
.illo .soft { fill: rgba(180,210,255,.10); }
.illo .dim, .illo .dim * { stroke: var(--orange); stroke-width: 2.4; filter: drop-shadow(0 0 6px rgba(255,116,23,.6)); }
.illo .lblbg { fill: #0A1834; stroke: var(--orange); stroke-width: 1.4; }
.illo text { fill: #FFF3E2; font-family: var(--body); font-style: normal; font-weight: 600; font-size: 17px; dominant-baseline: middle; }
.illo .tape { stroke: #8A3D06; stroke-width: 1.6; filter: drop-shadow(0 0 14px rgba(255,140,40,.55)); }
.illo .ticks path { stroke: #2A1404; stroke-width: 1.6; }
.illo .tn { fill: #2A1404; font-size: 11px; font-weight: 700; }
.illo .hook { fill: #C9CED8; stroke: #6B7280; }
.illo .case { stroke: #E3C49B; stroke-width: 3; }
.illo .btn { fill: var(--orange); stroke: #8A3D06; }
.illo .ring { fill: rgba(255,255,255,.04); }
.illo .hub { fill: #E3C49B; }
.illo .brand { fill: var(--orange); font-size: 18px; font-weight: 700; letter-spacing: .1em; }
.illo .sheet { fill: rgba(255,255,255,.03); stroke: rgba(227,196,155,.35); }
.illo .wl, .illo .wd { stroke: #F4DDBC; }
.illo .top { stroke: #A9B0BD; }
.illo .hd, .illo .hd * { stroke: #FFD08A; stroke-width: 3.4; }
.illo .sq { fill: rgba(255,116,23,.18); stroke: var(--orange); }
.illo .pb { fill: var(--orange); stroke: #8A3D06; } .illo .pt { fill: #F4DDBC; stroke: #8A3D06; }
.illo .sw { stroke: rgba(255,240,220,.7); stroke-width: 2; filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); }
.illo .gr { stroke: rgba(40,20,5,.35); stroke-width: 1.6; }
.illo .hole { fill: #0A1834; } .illo .pin { fill: var(--orange); stroke: #FFD08A; }
.illo .brassbar { fill: #D9B27A; stroke: #FFE2B0; } .illo .blackbar { fill: #1F2430; stroke: #9AA5BE; }
.illo .board { stroke: #F4DDBC; }
.illo .part { stroke: rgba(80,45,15,.55); stroke-width: 1.6; stroke-dasharray: 7 6; }
.illo .cut { fill: rgba(255,116,23,.28); stroke: var(--orange); stroke-width: 3; filter: drop-shadow(0 0 10px rgba(255,116,23,.6)); }
.illo .chuck { fill: #C9CED8; stroke: #6B7280; } .illo .bit { stroke: #E5E7EB; stroke-width: 4; }
.illo .sp { stroke: #FFD08A; stroke-width: 2; }
.illo .bl { fill: rgba(201,206,216,.18); stroke: #C9CED8; } .illo .blade path { stroke: #C9CED8; }
.illo .shade { fill: #D9B27A; stroke: #FFE2B0; }
.illo .ok { fill: var(--orange); stroke: #FFD08A; filter: drop-shadow(0 0 14px rgba(255,116,23,.7)); } .illo .okm { stroke: #0A1834; stroke-width: 5; }
.illo .faint { stroke: rgba(227,196,155,.3); }
/* animation: outlines draw, then fills fade in */
.pm .illo .f { fill-opacity: 0; transition: stroke-dashoffset 2.2s var(--ease), fill-opacity 1.2s ease 1.1s; }
.pm.on .illo .f { fill-opacity: 1; }
.pm .illo .soft, .pm .illo .sq, .pm .illo .cut, .pm .illo .bl { fill-opacity: 0; }
.pm.on .illo .soft, .pm.on .illo .sq, .pm.on .illo .cut, .pm.on .illo .bl { fill-opacity: 1; }
.pm .illo .lblbg { fill-opacity: 0; opacity: 0; transition: opacity .8s 1.4s; }
.pm.on .illo .lblbg { fill-opacity: 1; opacity: 1; }
.pm .illo .part { stroke-dasharray: 7 6; stroke-dashoffset: 0; opacity: 0; transition: opacity 1s 1.2s; }
.pm.on .illo .part { opacity: 1; }
.pm .illo .ticks path { stroke-dasharray: none; stroke-dashoffset: 0; opacity: 0; transition: opacity .8s 1.6s; }
.pm.on .illo .ticks path { opacity: 1; }
.pm .illo .tape { transform: scaleX(0); transform-origin: 268px 0; transform-box: view-box; transition: transform 1.6s var(--ease) .5s, fill-opacity .6s .5s; }
.pm.on .illo .tape { transform: none; }
@media all {
  .pm.on .illo .blade { animation: spinb 6s linear infinite; transform-origin: 480px 150px; transform-box: view-box; }
  .pm.on .illo .lg { animation: glowp 3s ease-in-out infinite; }
}
@keyframes spinb { to { transform: rotate(360deg); } }
@keyframes glowp { 50% { opacity: .55; } }
.pm { padding: 24px 32px 150px; }
.pm-sticky::after { background: linear-gradient(0deg, rgba(5,14,34,.95) 0%, rgba(5,14,34,.6) 12%, rgba(5,14,34,0) 22%); }
.pm-cap { bottom: 34px; }
.pm { padding-bottom: 170px; }

/* ================= v8 ================= */
/* lightbox: whole photo always visible */
.lb .stage { position: relative; }
.lb .stage img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; }
/* galleries: show the full photo, no zoom crop */
.jrow .fx img { transform: none; }
.jrow button:hover .fx img { transform: scale(1.03); }

/* compact process row */
.proc { padding-block: clamp(64px, 8vw, 110px); }
.phead2 { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.phead2 h2 { font-size: var(--step-3); font-weight: 500; margin-top: 16px; }
.phead2 p { color: var(--mist); max-width: 46ch; }
.st-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.st-in { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; height: 100%; width: 100%;
  padding: 18px 18px 16px; border: 1px solid var(--line); background: linear-gradient(170deg, rgba(16,36,73,.55), rgba(8,21,48,.4));
  transition: border-color .5s, background .5s, transform .6s var(--ease); position: relative; overflow: hidden; }
.st-in:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.st-ill { display: block; aspect-ratio: 600 / 640; max-height: 150px; margin: 0 auto; width: 100%;
  background: linear-gradient(rgba(200,164,122,.06) 1px, transparent 1px) 0 0 / 18px 18px, linear-gradient(90deg, rgba(200,164,122,.06) 1px, transparent 1px) 0 0 / 18px 18px; }
.st-ill .illo { stroke-width: 3.4; filter: none; opacity: .5; transform: scale(.94); transition: opacity .6s, transform .8s var(--ease); }
.st-ill .illo text, .st-ill .illo .lblbg { display: none; }
.st-tx { display: grid; gap: 6px; align-content: start; }
.st-tx b { font-family: var(--display); font-weight: 500; font-size: 1.22rem; line-height: 1.15; color: rgba(238,231,219,.7); transition: color .5s; }
.st-tx span { font-size: .86rem; line-height: 1.5; color: var(--mist); opacity: .7; transition: opacity .5s; }
.st-bar { display: block; height: 2px; background: rgba(238,231,219,.12); overflow: hidden; }
.st-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--brass)); transform: scaleX(0); transform-origin: left; }
.st.done .st-bar i { transform: scaleX(1); opacity: .45; }
.st.on .st-in { border-color: rgba(255,116,23,.65); background: linear-gradient(170deg, rgba(26,50,98,.85), rgba(10,24,52,.7)); transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,.35); }
.st.on .st-ill .illo { opacity: 1; transform: none; }
.st.on .st-tx b { color: var(--ivory); } .st.on .st-tx span { opacity: 1; }
.st-row.in .st.on .st-bar i { animation: stbar 4.2s linear both; }
@keyframes stbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.st-in:hover { border-color: rgba(200,164,122,.5); }
/* illustration draw on activate */
.st .illo > *, .st .illo g > * { stroke-dasharray: 1600; stroke-dashoffset: 1600; transition: stroke-dashoffset 1.8s var(--ease); }
.st .illo .f { fill-opacity: 0; transition: stroke-dashoffset 1.8s var(--ease), fill-opacity .9s ease .7s; }
.st.on .illo > *, .st.on .illo g > *, .st.done .illo > *, .st.done .illo g > * { stroke-dashoffset: 0; }
.st.on .illo .f, .st.done .illo .f { fill-opacity: 1; }
.st .illo .part, .st .illo .ticks path, .st .illo .dash { stroke-dasharray: none; stroke-dashoffset: 0; }
.st .illo .tape { transform: none; }
@media (max-width: 0px) { .st .illo * { stroke-dashoffset: 0 !important; fill-opacity: 1 !important; transition: none !important; } }
@media (max-width: 1100px) { .st-tx span { display: none; } .st.on .st-tx span { display: block; } }
@media (max-width: 900px) {
  .phead2 { grid-template-columns: 1fr; }
  .st-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 8px 2px 14px; margin-inline: -2px; scrollbar-width: none; }
  .st-row::-webkit-scrollbar { display: none; }
  .st { flex: 0 0 72%; max-width: 280px; scroll-snap-align: start; }
  .st-tx span { display: block !important; }
  .st.on .st-in { transform: none; }
}
.st:not(.on):not(.done) .illo > *, .st:not(.on):not(.done) .illo g > * { stroke-dashoffset: 0; transition: none; }
.st:not(.on) .st-ill .illo { opacity: .32; }


/* ================= v9: polish ================= */
:root {
  --sh-sm: 0 2px 6px rgba(0,0,0,.25), 0 8px 20px -8px rgba(0,0,0,.45);
  --sh-md: 0 6px 14px -4px rgba(0,0,0,.4), 0 22px 44px -16px rgba(0,0,0,.6);
  --sh-lg: 0 10px 24px -8px rgba(0,0,0,.45), 0 40px 80px -24px rgba(0,0,0,.7);
  --glow: 0 0 0 1px rgba(200,164,122,.35), 0 18px 50px -18px rgba(200,164,122,.35);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* ambient colour in sections */
section { isolation: isolate; }
#proekti::before, #mebeli::before, .details::before, .stats::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 10%, rgba(200,164,122,.07), transparent 70%), radial-gradient(50% 40% at 5% 90%, rgba(255,116,23,.05), transparent 70%); }

/* header: slimmer, hides on scroll down */
.site-head { transition: transform .5s var(--ease), background .5s var(--ease), border-color .5s, box-shadow .5s; }
.site-head.solid { box-shadow: 0 10px 30px -12px rgba(0,0,0,.6); }
.site-head.hide { transform: translateY(-110%); }

/* buttons */
.btn { transition: color .4s var(--ease), border-color .4s, box-shadow .4s var(--ease), transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-sm); }
.btn.primary { box-shadow: 0 10px 26px -10px rgba(255,116,23,.7); }
.btn.primary:hover { box-shadow: 0 16px 36px -10px rgba(255,116,23,.75); }
.btn:active { transform: translateY(0); }

/* photos & cards: depth and lift */
.show .fx, .ccard, .stat, .mph, .ptile, .next a, .jrow button, .frame .fx, .story .pics .b { box-shadow: var(--sh-md); }
.show .card { box-shadow: var(--sh-lg); }
.show .fx, .ccard, .stat, .ptile, .jrow button, .mph { transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .6s; }
.show:hover .fx { box-shadow: var(--sh-lg); }
.ccard:hover, .ptile:hover, .jrow button:hover { transform: translateY(-6px); box-shadow: var(--sh-lg), var(--glow); }
.stat:hover { box-shadow: var(--sh-lg), var(--glow); }
.mfig:hover .mph { transform: translateY(-6px); box-shadow: var(--sh-lg), var(--glow); }
.fx img { filter: saturate(1.02) contrast(1.02); }
a:hover .fx img, .jrow button:hover .fx img { filter: saturate(1.08) contrast(1.04) brightness(1.03); }
.btile { box-shadow: var(--sh-sm); }
.st.on .st-in { box-shadow: var(--sh-lg), 0 0 0 1px rgba(255,116,23,.35); }

/* section headings: brass underline that grows in */
.sec-head h2, .phead2 h2, .dhead h2 { position: relative; }
.sec-head h2::after, .phead2 h2::after { content: ""; display: block; width: 64px; height: 2px; margin-top: 22px; background: linear-gradient(90deg, var(--orange), var(--brass)); transform-origin: left; transition: transform 1.2s var(--ease) .2s; }
.rv:not(.in) h2::after { transform: scaleX(0); }

/* reveal on scroll (only for elements below the fold, set by script) */
.rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.rv.in { opacity: 1; transform: none; }
@media (max-width: 0px) { .rv { opacity: 1; transform: none; transition: none; } .site-head.hide { transform: none; } }

/* lightbox fade */
.lb { animation: lbfade .35s ease; } @keyframes lbfade { from { opacity: 0; } }

/* scrollbar */
html { scrollbar-color: #2A3F6E var(--night); }
/* keep hover lift working after reveal */
.ccard.ccard:hover, .ptile.ptile:hover, .jrow button:hover { transform: translateY(-6px); }
.stat.stat:hover { transform: translateY(-6px); }
.rv.in.stat:not(:hover), .rv.in.ccard:not(:hover), .rv.in.ptile:not(:hover) { transform: none; }
.dhead { position: relative; z-index: 2; }

/* ================= v11 ================= */
.sbig small { font-size: .45em; margin-left: 4px; vertical-align: .9em; -webkit-text-fill-color: var(--orange); }
.sbig.txt { font-size: clamp(3.2rem, 2.2rem + 3.4vw, 6rem); letter-spacing: .02em; white-space: nowrap; }
.sunit { letter-spacing: .28em; }
.sbot h3 { font-size: var(--step-1); }
@media (max-width: 1180px) and (min-width: 961px) { .sbig { font-size: clamp(3.6rem, 2rem + 4vw, 6rem); } .sbig.txt { font-size: 3.6rem; } }
@media (max-width: 480px) { .sbig.txt { font-size: 3rem; } }

/* brand logos: two moving rows */
.bmq { display: grid; gap: 14px; margin-inline: calc(50% - 50vw); padding-block: 6px; 
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.bmq-row { overflow: hidden; }
.bmq-track { display: flex; gap: 14px; width: max-content; padding-block: 10px; }
@media all {
  .bmq-track { animation: bmq 46s linear infinite; }
  .bmq-row.rev .bmq-track { animation-direction: reverse; animation-duration: 52s; }
  .bmq:hover .bmq-track { animation-play-state: paused; }
}
@keyframes bmq { to { transform: translateX(-50%); } }
.btile { flex: none; width: clamp(200px, 18vw, 260px); height: 128px; padding: 18px 26px 14px; display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 6px;
  background: linear-gradient(180deg, #FBF8F2, #EFE8DC); border: 1px solid transparent; box-shadow: var(--sh-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.btile .bl { display: grid; place-items: center; width: 100%; height: 100%; }
.btile img { max-height: 52px; max-width: 88%; width: auto; filter: grayscale(.15); opacity: .9; transition: filter .4s, opacity .4s, transform .5s var(--ease); }
.btile .bcat { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #9A7246; font-family: var(--brand); font-weight: 600; }
.btile:hover { transform: translateY(-6px); border-color: var(--orange); box-shadow: var(--sh-lg); }
.btile:hover img { filter: none; opacity: 1; transform: scale(1.05); }
.wm { font-family: var(--brand); font-weight: 800; font-size: 1.5rem; letter-spacing: .08em; color: #1A1A1A; }
.wm-kronospan { color: #1C1C1C; letter-spacing: .02em; font-weight: 800; }
.wm-kronospan::first-letter { color: #E30613; }
.wm-cleaf { font-weight: 300; letter-spacing: .32em; font-size: 1.7rem; text-transform: lowercase; }
.wm-blanco { color: #0A0A0A; letter-spacing: .26em; font-weight: 700; }
.bgroups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; border-top: 1px solid var(--line); padding-top: 22px; }
.bg2 { display: grid; gap: 4px; } .bg2 b { color: var(--brass); font-weight: 500; font-size: var(--step--1); } .bg2 span { color: var(--mist); font-size: var(--step--1); }
@media (max-width: 760px) { .bgroups { grid-template-columns: 1fr; } .btile { width: 180px; height: 104px; } .btile img { max-height: 40px; } }
.wm-kronospan { font-size: 1.25rem; } .wm { max-width: 100%; white-space: nowrap; }

/* ================= v13: compact mobile footer ================= */
@media (max-width: 760px) {
  .site-foot { padding-block: 44px calc(96px + env(safe-area-inset-bottom, 0px)); }
  .site-foot .wrap { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .site-foot .wrap > div:first-child { grid-column: 1 / -1; display: grid; justify-items: center; text-align: center; gap: 4px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .site-foot .logo-big { width: 170px; }
  .site-foot .wrap > div:first-child ul { margin-top: 14px !important; gap: 4px; justify-items: center; }
  .site-foot .wrap > div:first-child li:nth-child(2) a { font-family: var(--display); font-size: 1.5rem; color: var(--ivory); }
  .site-foot h3 { margin-bottom: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
  .site-foot ul { gap: 7px; font-size: .86rem; }
  .site-foot .copy { flex-direction: column; align-items: center; text-align: center; gap: 2px; font-size: .74rem; padding-top: 18px; }
}
/* contact form v14 */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sendbox p { color: var(--mist); font-size: var(--step--1); }
.sendbox a { color: var(--ivory); }
.sendbox.ok { border-color: #4CAF7D; background: rgba(76,175,125,.08); }
.sendbox.ok b { color: #9BE3BD; }
.form button[disabled] { opacity: .7; cursor: wait; }
