:root {
  --ink: #141414;
  --ink-2: #1d1d1d;
  --text: #3d3d3d;
  --muted: #6b6b6b;
  --line: #e4e2de;
  --bg: #ffffff;
  --bg-alt: #f5f4f1;
  --stage: #ecebe8;
  --accent: #f26a16;       /* sampled from logo */
  --accent-dark: #d4570b;
  --radius: 8px;
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font: 16px/1.65 Inter, system-ui, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.08; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1.1rem; }
h3 { font-size: 1.45rem; margin-bottom: .45rem; }
p + p { margin-top: 1rem; }
.accent { color: var(--accent); }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--ink); color: #c4c4c4; }
.section.dark h2, .section.dark dt { color: #fff; }

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: .9rem; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.section-head { max-width: 680px; margin-bottom: 56px; }

/* ---------- buttons ---------- */
.btn { position: relative; overflow: hidden; display: inline-block; padding: .9rem 1.6rem; background: var(--accent); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; border-radius: var(--radius); border: 2px solid var(--accent); transition: color .3s, border-color .3s, transform .3s var(--ease); z-index: 0; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .4s var(--ease); z-index: -1; }
.btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.btn:hover::before { transform: none; }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: var(--ink); border-color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { color: #fff; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.section.dark .btn:hover, .site-header .btn:hover { border-color: #fff; color: var(--ink); }
.section.dark .btn::before, .site-header .btn::before { background: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- loader ---------- */
#loader { position: fixed; inset: 0; z-index: 10000; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #fff; transition: clip-path .9s var(--ease); clip-path: inset(0 0 0 0); }
#loader.gone { clip-path: inset(0 0 100% 0); }
#loader img { animation: pulse 1.4s ease-in-out infinite; }
.loader-name { font-family: var(--head); font-size: 1.8rem; letter-spacing: .3em; text-transform: uppercase; }
.loader-name b { color: var(--accent); }
.loader-bar { width: 200px; height: 2px; background: #333; overflow: hidden; }
.loader-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.loader-pct { font-size: .8rem; color: #888; font-variant-numeric: tabular-nums; }
html:not(.js) #loader { display: none; }
@keyframes pulse { 50% { transform: scale(.9); opacity: .7; } }

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring { display: none; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor dialog, .has-cursor dialog * { cursor: auto !important; }
.has-cursor dialog a, .has-cursor dialog button { cursor: pointer !important; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { display: block; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; }
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--accent); }
.cursor-ring { width: 0; height: 0; }
.cursor-ring span { position: absolute; left: 0; top: 0; width: 38px; height: 38px; transform: translate(-50%, -50%); border: 1.5px solid var(--accent); border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; transition: width .35s var(--ease), height .35s var(--ease), background .3s, border-color .3s, opacity .3s; }
.cursor-ring.link span { width: 60px; height: 60px; background: rgba(242,106,22,.15); }
.cursor-ring.view span { width: 86px; height: 86px; background: var(--accent); border-color: var(--accent); }
.cursor-ring.down span { width: 28px; height: 28px; }
.cursor-out .cursor-dot, .cursor-out .cursor-ring { opacity: 0; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; z-index: 60; }

/* ---------- reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="zoom"] { transform: scale(.9); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js body:not(.loaded) .hero [data-reveal].in { opacity: 0; transform: translateY(32px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20,20,20,.92); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.site-header.scrolled { background: rgba(20,20,20,.98); border-color: #2a2a2a; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; transition: height .3s; }
.scrolled .nav { height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font-family: var(--head); font-size: 1.35rem; letter-spacing: .04em; }
.brand b { color: var(--accent); font-weight: 700; }
.brand img { transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.08); }
.menu { display: flex; align-items: center; gap: 26px; }
.menu a:not(.btn) { position: relative; color: #cfcfcf; text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .2s; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.menu a:not(.btn):hover { color: #fff; }
.menu a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .menu { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 8px 16px 20px; border-bottom: 1px solid #2a2a2a; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease), visibility .45s; }
  .menu.open { clip-path: inset(0); visibility: visible; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid #2a2a2a; }
  .menu a:not(.btn)::after { display: none; }
  .menu .btn { margin-top: 16px; text-align: center; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: #cfcfcf; overflow: hidden; min-height: min(calc(100vh - 72px), 920px); min-height: min(calc(100svh - 72px), 920px); display: flex; align-items: center; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero-bg img.active { opacity: .2; animation: kenburns 9s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, transparent 0%, var(--ink) 75%), linear-gradient(90deg, var(--ink) 20%, transparent); pointer-events: none; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 72px 0 96px; }
.hero h1 { color: #fff; margin: .3rem 0 1.3rem; }
.hero-kicker { font-size: 1rem; color: #fff; opacity: .8; }
.lead { font-size: 1.08rem; max-width: 560px; }
.badges { list-style: none; display: flex; gap: 22px; margin-top: 2rem; font-size: .88rem; color: #fff; }
.badges li { display: flex; align-items: center; gap: 8px; }
.badges li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/12px no-repeat; }

.hero-stage { position: relative; aspect-ratio: 1; perspective: 1000px; overflow: hidden; border-radius: 16px; }
.stage-glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(242,106,22,.45), rgba(242,106,22,0) 68%); animation: glow 5s ease-in-out infinite; }
@keyframes glow { 50% { transform: scale(1.12); opacity: .7; } }
.hero-slide { position: absolute; inset: 0 0 48px; display: grid; place-items: center; opacity: 0; transform: translateX(105%) rotate(8deg); transition: opacity .7s var(--ease), transform 1s var(--ease); }
.hero-slide img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s ease-out; }
.hero-slide.tall img { width: 78%; }
.hero-slide.active { opacity: 1; transform: none; }
.hero-slide.leaving { opacity: 0; transform: translateX(-105%) rotate(-8deg); }
.hero-slide.active img { animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -12px; } }
.stage-ui { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.stage-label { font-family: var(--head); font-size: 1.2rem; color: #fff; letter-spacing: .04em; }
.stage-label.swap { animation: labelIn .6s var(--ease); }
@keyframes labelIn { from { opacity: 0; transform: translateY(10px); } }
.stage-dots { display: flex; gap: 6px; }
.stage-dots button { position: relative; overflow: hidden; width: 22px; height: 28px; padding: 12px 0; border: 0; border-radius: 2px; background: #444; background-clip: content-box; cursor: pointer; transition: width .4s var(--ease); }
.stage-dots button.on { width: 48px; }
.stage-dots button.on::after { content: ""; position: absolute; inset: 12px 0; background: var(--accent); transform-origin: left; animation: fill 3.5s linear forwards; }
.hero-stage.paused .stage-dots button.on::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } }

.scroll-cue { position: absolute; left: 50%; bottom: 24px; z-index: 2; width: 24px; height: 38px; margin-left: -12px; border: 2px solid rgba(255,255,255,.35); border-radius: 12px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 60% { transform: translateY(12px); opacity: 0; } 61% { transform: none; opacity: 0; } }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; padding: 56px 0 88px; }
  .hero-stage { max-width: 440px; width: 100%; margin: 0 auto; }
}

/* ---------- ticker ---------- */
.ticker { background: var(--ink-2); border-block: 1px solid #2a2a2a; overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker span { font-family: var(--head); font-size: 1.5rem; color: #fff; text-transform: uppercase; letter-spacing: .06em; padding: 0 28px; display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.ticker span::after { content: ""; width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); margin-right: -28px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { background: var(--accent); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid div { padding: 32px 20px; border-left: 1px solid rgba(255,255,255,.25); }
.stats-grid div:first-child { border-left: 0; padding-left: 0; }
.stats strong { display: block; font-family: var(--head); font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; }
.stats strong b { font-weight: inherit; }
.stats span { font-size: .85rem; opacity: .92; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid div { border-left: 0; padding: 22px 0; }
}

/* ---------- split layouts ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.reverse { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 900px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > figure { order: 2; }
}
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; }
.media-frame > img:first-child { width: 100%; aspect-ratio: 4/5; object-fit: cover; will-change: transform; transform: scale(1.12); }
.media-frame.plain { overflow: visible; }
.media-frame.plain img { aspect-ratio: auto; object-fit: contain; max-height: 620px; margin: 0 auto; width: auto; transform: none; }
.float { animation: bob 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0,0,0,.6)); }
.logo-badge { position: absolute; left: 20px; bottom: 20px; width: 110px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 12px 30px rgba(0,0,0,.3); animation: spinIn 1.2s var(--ease) both; }
@media (max-width: 900px) { .media-frame > img:first-child { aspect-ratio: 4/3; } }

.pills { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.pill { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 22px 16px 16px; box-shadow: 0 6px 18px rgba(0,0,0,.04); transition: transform .3s var(--ease), box-shadow .3s; }
.pill::before { content: ""; flex: none; width: 42px; height: 42px; border-radius: 10px; background: rgba(242,106,22,.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f26a16' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/20px no-repeat; }
.pill:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.07); }
.pill strong { display: block; font-family: var(--head); font-size: 1.45rem; color: var(--ink); line-height: 1.1; }
.pill span { font-size: .85rem; color: var(--muted); }

/* craftsmanship carousel */
.carousel-wrap { position: relative; }
.carousel-wrap::before { content: ""; position: absolute; inset: 6%; background: rgba(242,106,22,.35); filter: blur(50px); border-radius: 24px; }
.carousel { position: relative; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; background: #1d1d1d; box-shadow: 0 30px 60px rgba(0,0,0,.18); touch-action: pan-y; }
.car-track { display: flex; height: 100%; transition: transform .8s var(--ease); }
.car-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.car-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 4px; }
.car-dots button { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.car-dots button::after { content: ""; width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.55); transition: width .4s var(--ease), background .3s; }
.car-dots button.on::after { width: 24px; background: var(--accent); }
.badge-tag { position: absolute; top: -14px; right: -10px; background: var(--accent); color: #fff; padding: 8px 16px; border-radius: 99px; font-size: .85rem; font-weight: 600; box-shadow: 0 10px 24px rgba(242,106,22,.35); transition: transform .3s var(--ease); }
.badge-tag:hover { transform: scale(1.06); }
@media (max-width: 520px) { .badge-tag { right: 10px; top: 10px; } }
.points { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: -0.6rem 0 2rem; }
.points li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.points li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (max-width: 420px) { .points { grid-template-columns: 1fr; } }
.white { color: #fff; }

/* craftsmanship */
.mockup img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.18)); transition: transform .8s var(--ease); }
.mockup:hover img { transform: scale(1.03) rotate(-1deg); }
.craft { list-style: none; margin: 1.6rem 0 2rem; display: grid; gap: 4px; }
.craft li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.craft b { font-family: var(--head); font-size: 1.1rem; color: var(--accent); padding-top: 3px; }
.craft h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.craft p { font-size: .98rem; }
.craft strong { color: var(--ink); }

/* ---------- products (scroll-driven) ---------- */
.prod { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); }
.prod-stage { position: sticky; top: 96px; height: min(600px, calc(100vh - 130px)); background: var(--stage); border-radius: 16px; overflow: hidden; }
.prod-stage .stage-glow { inset: 18%; background: radial-gradient(circle, rgba(242,106,22,.28), rgba(242,106,22,0) 70%); }
.prod-set { position: absolute; inset: 6%; visibility: hidden; }
.prod-set.active { visibility: visible; }
.prod-set img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: translateY(40px) scale(.92); transition: opacity .8s var(--ease), transform 1s var(--ease); filter: drop-shadow(0 24px 30px rgba(0,0,0,.25)); }
.prod-set.active img.on { opacity: 1; transform: none; }
.prod-count { position: absolute; left: 24px; top: 20px; font-family: var(--head); font-size: 1rem; color: var(--muted); }
.prod-count b { font-size: 2.2rem; color: var(--ink); }
.prod-bar { position: absolute; left: 24px; right: 24px; bottom: 22px; height: 3px; background: rgba(0,0,0,.1); border-radius: 2px; }
.prod-bar i { display: block; height: 100%; background: var(--accent); transform: scaleX(.33); transform-origin: left; transition: transform .6s var(--ease); border-radius: 2px; }

.prod-item { min-height: 72vh; display: flex; flex-direction: column; justify-content: center; cursor: pointer; opacity: .28; transition: opacity .6s var(--ease), transform .6s var(--ease); transform: translateX(16px); }
.prod-item.active { opacity: 1; transform: none; }
.prod-num { font-family: var(--head); font-size: 5rem; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.prod-item h3 { font-size: clamp(2rem, 3.2vw, 2.7rem); margin: .6rem 0 .8rem; }
.prod-item p { font-size: 1.05rem; max-width: 460px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4rem 0; }
.tags li { font-size: .8rem; font-weight: 500; padding: 6px 12px; border-radius: 99px; background: var(--bg-alt); border: 1px solid var(--line); }
.link-btn { align-self: flex-start; background: none; border: 0; font-weight: 600; color: var(--accent); cursor: pointer; padding: 6px 0; border-bottom: 2px solid currentColor; }
.link-btn span { display: inline-block; transition: transform .3s var(--ease); }
.prod-item:hover .link-btn span { transform: translateX(6px); }

@media (max-width: 900px) {
  .prod { grid-template-columns: 1fr; gap: 0; }
  .prod-stage { top: 70px; height: 36vh; z-index: 2; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
  .prod-item { min-height: 62vh; transform: none; padding-top: 24px; }
  .prod-num { font-size: 3.4rem; }
}

/* ---------- innovation ---------- */
.innovation h3 { color: var(--accent); font-size: 1.6rem; margin: .4rem 0 .8rem; }
.innovation h4 { color: #fff; font-size: 1.25rem; margin: 1.6rem 0 .6rem; }
.key { list-style: none; display: grid; gap: .55rem; }
.key li { padding-left: 22px; position: relative; }
.key li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(242,106,22,.2); }
.section.dark .key li { color: #e5e5e5; }
.note { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid #2e2e2e; color: var(--accent); font-weight: 500; }

/* ---------- benefits ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { position: relative; background: #fff; padding: 30px 24px; transition: background .4s; overflow: hidden; }
.feature::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.feature:hover { background: var(--bg-alt); }
.feature:hover::after { transform: scaleX(1); }
.feature h3 { font-size: 1.3rem; }
.feature h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--accent); margin-bottom: 16px; transition: width .4s var(--ease); }
.feature:hover h3::before { width: 48px; }
.feature p { font-size: .92rem; color: var(--muted); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---------- applications ---------- */
.apps { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 2rem; }
.apps > div { padding-left: 16px; border-left: 2px solid #2e2e2e; transition: border-color .3s; }
.apps > div:hover { border-color: var(--accent); }
.apps dt { font-weight: 600; margin-bottom: .25rem; }
.apps dd { font-size: .9rem; }
@media (max-width: 560px) { .apps { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 14px; }
.g-item { position: relative; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: #222; cursor: pointer; }
.g-item.cut { background: var(--stage); }
.g-item.wide { grid-column: span 2; }
.g-item.tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.g-item.cut img { object-fit: contain; padding: 18px; }
.g-item::after { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 2.4rem; font-weight: 300; color: #fff; background: rgba(242,106,22,.55); opacity: 0; transition: opacity .4s; }
.g-item:hover img { transform: scale(1.08); }
.g-item:hover::after { opacity: 1; }
.has-cursor .g-item::after { content: ""; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .g-item.wide { grid-column: span 2; }
}

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px; box-shadow: 0 20px 50px rgba(0,0,0,.05); }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-list a { display: inline-block; padding: 6px 0; text-decoration: none; font-weight: 500; transition: color .2s; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #9a9a9a; padding: 72px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-grid p { margin-top: 14px; max-width: 260px; }
.site-footer h4 { color: #fff; font-family: Inter, sans-serif; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid div > a:not(.brand) { display: block; text-decoration: none; padding: 4px 0; transition: color .2s, transform .3s var(--ease); }
.footer-grid div > a:not(.brand):hover { color: #fff; transform: translateX(4px); }
.copyright { border-top: 1px solid #2a2a2a; padding: 22px 0; font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.copyright a { color: #fff; text-decoration: none; }
.copyright a:hover { text-decoration: underline; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- modal ---------- */
dialog { margin: auto; border: 0; border-radius: 14px; padding: 0; width: min(980px, 100% - 32px); max-height: calc(100vh - 48px); background: #fff; color: var(--text); overflow: auto; }
dialog[open] { animation: modalIn .5s var(--ease); }
dialog::backdrop { background: rgba(10,10,10,.75); backdrop-filter: blur(6px); }
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.modal-close { position: absolute; right: 14px; top: 14px; z-index: 2; background: var(--ink); color: #fff; border: 0; border-radius: 99px; padding: 8px 16px; font-size: .85rem; font-weight: 600; }
.modal-body { display: grid; grid-template-columns: 1.1fr .9fr; }
.modal-media { background: var(--stage); display: grid; place-items: center; min-height: 380px; padding: 24px; }
.modal-media img { max-height: 70vh; object-fit: contain; animation: modalIn .6s var(--ease); }
.modal-media.solo { grid-column: 1 / -1; padding: 0; }
.modal-media.solo img { width: 100%; max-height: 85vh; }
.modal-text { padding: 56px 32px 32px; }
.modal-text h3 { font-size: 2.2rem; }
.modal-text .key { margin: 1.2rem 0; font-size: .92rem; }
.thumbs { display: flex; gap: 8px; margin-bottom: 1.4rem; }
.thumbs button { width: 64px; height: 64px; padding: 4px; border-radius: 6px; border: 2px solid transparent; background: var(--stage); }
.thumbs button.on { border-color: var(--accent); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 760px) {
  .modal-body { grid-template-columns: 1fr; }
  .modal-media { min-height: 240px; }
  .modal-text { padding: 24px; }
}

@keyframes spinIn { from { transform: rotate(-180deg) scale(0); } }

/* visitors with OS animations off: keep the slider and fades, drop the big decorative motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img.active, .hero-slide.active img, .float, .stage-glow, #loader img { animation: none; }
}

/* ---------- small phones & landscape phones ---------- */
@media (max-width: 480px) {
  .hero-grid { padding: 40px 0 72px; gap: 28px; }
  .badges { flex-wrap: wrap; gap: 10px 18px; }
  .actions .btn { flex: 1 1 auto; text-align: center; }
  .stats strong { font-size: 2.1rem; }
  .prod-num { font-size: 2.8rem; }
  .stage-label { font-size: 1rem; }
  .modal-text h3 { font-size: 1.7rem; }
  .ticker span { font-size: 1.2rem; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1.2fr .8fr; padding: 32px 0 48px; }
  .hero-stage { max-width: 300px; }
  .prod { grid-template-columns: 1fr 1fr; gap: 24px; }
  .prod-stage { top: 72px; height: calc(100vh - 96px); }
  .prod-item { min-height: 90vh; }
}
@media (hover: none) {
  .card:hover, .pill:hover, .btn:hover { transform: none; }
}
