:root {
  --bg: #0d0d0e;
  --surface: #161618;
  --surface-2: #1e1e21;
  --line: #2a2a2e;
  --text: #f2f0ec;
  --muted: #8d8b87;
  --accent: #ff6a2b;
  --accent-ink: #1a0b03;
  --tile-sand: #e8dfd2;
  --tile-sage: #c9d3c3;
  --tile-sky: #cfd8dd;
  --ink: #111;

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Onest", system-ui, sans-serif;

  --radius: 28px;
  --pad: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* top bar */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  background: linear-gradient(var(--bg), transparent);
  backdrop-filter: blur(8px);
  mask-image: linear-gradient(#000 70%, transparent);
}
.logo { font: 600 15px var(--font-display); letter-spacing: 0.02em; }
.logo span { color: var(--accent); }
.topbar nav { display: flex; gap: 28px; font-size: 15px; color: var(--muted); }
.topbar nav a { transition: color 0.2s; }
.topbar nav a:hover { color: var(--text); }
.topbar-phone { font-size: 15px; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding: 150px var(--pad) 48px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 28px;
  background:
    radial-gradient(60% 50% at 85% 10%, rgb(255 106 43 / 0.22), transparent 70%),
    var(--bg);
}
.hero h1 {
  font: 500 clamp(2.4rem, 1rem + 6.4vw, 7rem)/1.02 var(--font-display);
  letter-spacing: -0.03em;
  max-width: 14ch;
  position: relative; z-index: 1;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px;
  position: relative; z-index: 1;
}
.lead { max-width: 44ch; color: #c9c7c2; font-size: clamp(1.05rem, 1rem + 0.3vw, 1.25rem); }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-mark {
  position: absolute; right: var(--pad); top: 13%;
  font: 600 clamp(3rem, 12.5vw, 14rem)/0.9 var(--font-display);
  letter-spacing: -0.04em; text-align: right;
  user-select: none; pointer-events: none;
}
.hero-mark span {
  display: block; width: max-content; margin-left: auto;
  color: transparent;
  background:
    radial-gradient(240px circle at var(--mkx, 50%) var(--mky, -200%), rgb(255 106 43 / 0.95), transparent 70%),
    linear-gradient(#1d1d20, #1d1d20);
  -webkit-background-clip: text; background-clip: text;
  animation: fade-up 1.2s var(--ease) both;
}
.hero-mark span:nth-child(1) { animation-delay: 0.25s; }
.hero-mark span:nth-child(2) { animation-delay: 0.4s; }

.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 8px 8px 8px 26px; border-radius: 50px;
  background: var(--text); color: var(--ink);
  font-weight: 500; transition: transform 0.3s var(--ease), background 0.2s;
}
.btn-dot {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); transition: transform 0.3s var(--ease);
}
.btn:hover { background: #fff; transform: translateY(-2px); }
.btn:hover .btn-dot { transform: translateX(4px); }
.link-arrow { border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 0.2s, color 0.2s; }
.link-arrow:hover { border-color: var(--accent); color: var(--accent); }

/* facts */
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}
.facts div { padding: 36px var(--pad); display: grid; gap: 6px; }
.facts div + div { border-left: 1px solid var(--line); }
.facts b { font: 500 clamp(1.4rem, 1rem + 1.6vw, 2.4rem) var(--font-display); letter-spacing: -0.02em; }
.facts span { color: var(--muted); }

/* sections */
.section { padding: clamp(72px, 10vw, 160px) var(--pad) 0; }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 64px); }
.section h2, .contact h2 {
  font: 500 clamp(1.9rem, 1rem + 3.4vw, 4rem)/1.08 var(--font-display);
  letter-spacing: -0.025em; max-width: 18ch;
}

/* bento */
.bento {
  display: grid; gap: 12px;
  grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto auto;
  grid-template-areas: "big shop" "big catalog" "card card";
}
.tile {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 28px; border-radius: var(--radius); min-height: 220px;
  color: var(--ink); transition: transform 0.4s var(--ease);
}
.tile:hover { transform: translateY(-4px); }
.tile-tag { font: 500 clamp(1.3rem, 1rem + 0.9vw, 2rem)/1.1 var(--font-display); letter-spacing: -0.02em; }
.tile-text { max-width: 40ch; color: rgb(17 17 17 / 0.72); }
.tile-price { font: 500 1.05rem var(--font-display); }
.tile-big { grid-area: big; background: var(--surface-2); color: var(--text); min-height: 460px; border: 1px solid var(--line); }
.tile-big .tile-text { color: #b9b7b2; }
.tile-big .tile-price { color: var(--accent); font-size: clamp(1.5rem, 1rem + 1.6vw, 2.4rem); }
.tile-shop { grid-area: shop; background: var(--tile-sand); }
.tile-catalog { grid-area: catalog; background: var(--tile-sage); }
.tile-card { grid-area: card; background: var(--tile-sky); min-height: 180px; }

.extras { margin-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.extras a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 20px 24px; border-radius: 20px; background: var(--surface);
  border: 1px solid transparent; transition: border-color 0.2s, background 0.2s;
}
.extras a:hover { border-color: var(--accent); background: var(--surface-2); }
.extras b { font-weight: 500; color: var(--accent); white-space: nowrap; font-size: 15px; }

/* work */
.work-list { border-top: 1px solid var(--line); margin-bottom: 36px; counter-reset: w; }
.work-list li {
  counter-increment: w;
  display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: baseline;
  padding: 24px 0; border-bottom: 1px solid var(--line);
  transition: padding 0.35s var(--ease), color 0.2s;
}
.work-list li::before { content: counter(w, decimal-leading-zero); color: var(--muted); font-size: 14px; }
.w-name { font: 500 clamp(1.1rem, 0.9rem + 1.1vw, 1.9rem)/1.2 var(--font-display); letter-spacing: -0.02em; }
.w-type { color: var(--muted); font-size: 15px; text-align: right; }
.work-list li:hover { padding-left: 16px; color: var(--accent); }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.steps li {
  padding: 24px 22px 28px; border-radius: 22px; background: var(--surface);
  display: grid; gap: 12px; align-content: start;
}
.steps li:nth-child(even) { margin-top: 28px; }
.steps span { color: var(--accent); font: 500 14px var(--font-display); }
.steps h3 { font: 500 clamp(0.95rem, 0.6rem + 0.9vw, 1.2rem) var(--font-display); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.steps li { min-width: 0; }
.steps p { color: var(--muted); font-size: 15px; }

/* contact */
.contact {
  margin: clamp(72px, 10vw, 160px) var(--pad) 0;
  padding: clamp(32px, 6vw, 88px); border-radius: 40px;
  background: radial-gradient(70% 90% at 100% 0, #4a3326, transparent 65%), linear-gradient(160deg, #2a2d31, #121315);
  display: grid; gap: 20px;
}
.contact-grid { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 40px; margin-top: 24px; }
.phone-big { font: 500 clamp(1.8rem, 1rem + 3.6vw, 4rem) var(--font-display); letter-spacing: -0.03em; transition: color 0.2s; }
.phone-big:hover { color: var(--accent); }
.phone-alt { font-size: 1.15rem; color: #c9c7c2; }
address { font-style: normal; color: #c9c7c2; font-size: 1.15rem; }

.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 40px var(--pad) 28px; color: var(--muted); font-size: 14px;
}

.float-cta {
  position: fixed; left: 50%; bottom: 22px; z-index: 30;
  transform: translate(-50%, calc(100% + 40px));
  opacity: 0; visibility: hidden;
  padding: 14px 26px; border-radius: 50px;
  background: var(--accent); color: var(--accent-ink); font-weight: 500;
  box-shadow: 0 10px 40px rgb(0 0 0 / 0.5);
  transition: transform 0.5s var(--ease), opacity 0.3s, visibility 0s 0.5s;
}
.float-cta.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition-delay: 0s; }

/* hero entrance + glow + parallax */
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero h1 .w > span {
  display: inline-block; transform: translateY(110%);
  animation: rise 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 200ms);
}
@keyframes rise { to { transform: none; } }
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 30%), rgb(255 106 43 / 0.2), transparent 70%);
  transition: background-position 0.2s;
}
.hero-mark { transform: translate(calc(var(--dx, 0) * 1px), calc(var(--sy, 0) * 0.18px)); will-change: transform; }
.hero-foot { animation: fade-up 1s var(--ease) 0.9s both; }
.hero > .eyebrow { animation: fade-up 1s var(--ease) 0.1s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } }

/* marquee */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.marquee-group span { font: 500 clamp(1.6rem, 1rem + 2.4vw, 3.2rem) var(--font-display); letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px #55535a; transition: color 0.3s; }
.marquee-group span:hover { color: var(--text); }
.marquee-group i { font-style: normal; color: var(--accent); font-size: 1.4rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* tiles: tilt + spotlight */
.tile { position: relative; overflow: hidden; }
.tile.reveal { transition: opacity 0.8s var(--ease), transform 0.25s ease-out; }
.tile.reveal.is-in { transform: perspective(900px) translateY(var(--lift, 0px)) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tile:hover { transform: none; }
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s;
  background: radial-gradient(320px circle at var(--sx, 50%) var(--sy, 50%), rgb(255 255 255 / 0.32), transparent 65%);
}
.tile-big::after { background: radial-gradient(360px circle at var(--sx, 50%) var(--sy, 50%), rgb(255 106 43 / 0.22), transparent 65%); }
.tile-shop::after, .tile-catalog::after, .tile-card::after {
  background: radial-gradient(340px circle at var(--sx, 50%) var(--sy, 50%), rgb(255 106 43 / 0.4), transparent 65%);
}
.tile:hover::after { opacity: 1; }
.tile-price { transition: transform 0.4s var(--ease); }
.tile:hover .tile-price { transform: translateX(8px); }

/* work rows: fill sweep + cursor pill */
.work-list li { position: relative; isolation: isolate; }
.work-list li::after {
  content: ""; position: absolute; inset: 0 -12px; z-index: -1; border-radius: 14px;
  background: var(--surface); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.work-list li:hover::after { transform: scaleX(1); }
.cursor-pill {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  padding: 8px 16px; border-radius: 50px; background: var(--accent); color: var(--accent-ink);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  opacity: 0; transform: translate(var(--cx, 0px), var(--cy, 0px)) scale(0.6);
  transition: opacity 0.2s, scale 0.2s;
}
.cursor-pill.is-on { opacity: 1; transform: translate(var(--cx, 0px), var(--cy, 0px)) scale(1); }

/* faq */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font: 500 clamp(1.05rem, 0.9rem + 0.8vw, 1.5rem)/1.25 var(--font-display); letter-spacing: -0.02em;
  transition: color 0.2s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); font: 400 24px/1 var(--font-body); color: var(--text);
  transition: transform 0.4s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}
.faq-list summary:hover { color: var(--accent); }
.faq-list details[open] summary::after { transform: rotate(135deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq-list details p { padding: 0 68px 28px 0; max-width: 90ch; color: #b9b7b2; }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s var(--ease), content-visibility 0.45s allow-discrete; }
  .faq-list details[open]::details-content { block-size: auto; }
}

/* process progress line */
.steps { position: relative; margin-top: 18px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 2px; }
.steps::before { background: var(--line); }
.steps::after { background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.steps li { transition: background 0.3s, transform 0.5s var(--ease); }
.steps li:hover { background: var(--surface-2); }
.steps li.reveal.is-in:hover { transform: translateY(-6px); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .topbar nav { display: none; }
  .bento { grid-template-columns: 1fr; grid-template-areas: "big" "shop" "catalog" "card"; }
  .tile-big { min-height: 320px; }
  .extras { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(even) { margin-top: 0; }
  .steps h3 { font-size: 1.2rem; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .extras, .steps { grid-template-columns: 1fr; }
  .work-list li { grid-template-columns: 36px 1fr; }
  .w-type { grid-column: 2; text-align: left; }
  .hero { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}
