:root {
  --bg: #08090a;
  --surface: #0f1012;
  --surface2: #15161a;
  --border: rgba(255, 255, 255, .08);
  --border2: rgba(255, 255, 255, .14);
  --text: #f7f8f8;
  --muted: #8a8f98;
  --dim: #5d6169;
  --lime: #c8ff2e;
  --lime-rgb: 200, 255, 46;
  --radius: 18px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
svg { display: block; }
::selection { background: var(--lime); color: #000; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.bg-glow {
  position: absolute; left: 0; right: 0; top: 0; height: 900px; pointer-events: none; z-index: 0;
  background: radial-gradient(50% 60% at 50% 0%, rgba(var(--lime-rgb), .10), transparent 70%);
}
main, .footer { position: relative; z-index: 1; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.scrolled { background: rgba(8, 9, 10, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.01em; }
.brand .dim { color: var(--muted); font-weight: 500; }
.logo { flex: none; width: 28px; height: 28px; }
.nav-links { display: flex; gap: 30px; font-size: 14px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-contact { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-contact:hover { color: var(--text); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  border: 0; cursor: pointer; font-family: var(--font); color: inherit;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn-small { height: 36px; padding: 0 16px; font-size: 14px; background: var(--text); color: var(--bg); }
.btn-small:hover { background: var(--lime); }
.btn-primary {
  background: var(--lime); color: var(--bg); font-weight: 600;
  box-shadow: 0 0 0 1px rgba(var(--lime-rgb), .4), 0 8px 30px -6px rgba(var(--lime-rgb), .45);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(var(--lime-rgb), .6), 0 12px 40px -4px rgba(var(--lime-rgb), .6); }
.btn-ghost { border: 1px solid var(--border2); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 92px 0 24px; overflow: hidden; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 12px;
  border: 1px solid var(--border2); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font-size: 13px; color: var(--muted); transition: color .2s, border-color .2s;
}
.pill:hover { color: var(--text); border-color: rgba(var(--lime-rgb), .5); }
.pill .arrow { transition: transform .2s; }
.pill:hover .arrow { transform: translateX(3px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px var(--lime); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }

.hero-title {
  margin-top: 28px;
  font-size: clamp(40px, 7.2vw, 82px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600;
  background: linear-gradient(180deg, #fff 35%, rgba(255, 255, 255, .58));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .accent {
  background: linear-gradient(90deg, var(--lime), #ecffb0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 24px; max-width: 620px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); }
.hero-cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* 3D scene */
.scene {
  position: relative; width: 100%; max-width: 1160px; margin: 64px auto 0; padding: 0 24px;
  height: calc(620px * var(--s, 1)); perspective: 1700px; perspective-origin: 50% 20%;
}
.hero-floor {
  position: absolute; left: -40%; right: -40%; top: 18%; height: 120%;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: rotateX(70deg); transform-origin: 50% 0;
  -webkit-mask-image: radial-gradient(50% 60% at 50% 10%, #000 30%, transparent 75%);
  mask-image: radial-gradient(50% 60% at 50% 10%, #000 30%, transparent 75%);
  pointer-events: none;
}
.stage {
  position: absolute; left: 50%; top: 0; width: 1100px; height: 560px; margin-left: -550px;
  transform-style: preserve-3d; transform-origin: 50% 0;
  transform: scale(var(--s, 1)) rotateX(var(--rx, 16deg)) rotateY(var(--ry, -12deg));
}
.stage-glow {
  position: absolute; left: 15%; right: 15%; top: 25%; height: 60%;
  background: radial-gradient(closest-side, rgba(var(--lime-rgb), .22), transparent);
  filter: blur(40px); transform: translateZ(-120px);
}
.window {
  position: absolute; overflow: hidden; border-radius: 14px;
  background: linear-gradient(180deg, #141519, #0d0e10);
  border: 1px solid var(--border2);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.editor { left: 0; top: 56px; width: 560px; height: 430px; transform: translateZ(0); }
.preview { right: 0; top: 0; width: 600px; height: 480px; transform: translateZ(70px); }
.win-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.win-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #2a2c31; }
.win-bar em { margin-left: 10px; font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.url {
  display: flex; align-items: center; flex: 1; max-width: 280px; height: 24px; margin-left: 14px; padding: 0 10px;
  border-radius: 6px; border: 1px solid var(--border); background: rgba(255, 255, 255, .04);
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
}
.live {
  margin-left: auto; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600;
  background: rgba(var(--lime-rgb), .12); color: var(--lime);
  opacity: 0; transform: scale(.8); transition: opacity .4s, transform .4s var(--ease);
}
.live.on { opacity: 1; transform: none; }

.code { padding: 18px 0; font-family: var(--mono); font-size: 13.5px; line-height: 2; color: #c9ccd1; }
.code .line { display: flex; padding: 0 18px; white-space: pre; }
.code .ln { flex: none; width: 30px; color: #3a3d43; user-select: none; }
.tk { color: #82a8ff; } .at { color: #c79bff; } .st { color: var(--lime); } .cm { color: var(--dim); }
.caret { display: inline-block; width: 8px; height: 16px; margin-left: 1px; vertical-align: -3px; background: var(--lime); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

[data-step] { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s var(--ease); }
[data-step].on { opacity: 1; transform: none; }

/* preview themes */
.stage {
  --pv-bg: radial-gradient(120% 80% at 85% 0%, #2c2217 0%, #0f0d0a 60%);
  --pv-acc: #e9c77b; --pv-text: #f5efe4; --pv-muted: rgba(245, 239, 228, .6); --pv-btn: #1a140b;
  --pv-card: rgba(20, 16, 10, .9);
  --pv-font: 'Oswald', var(--font); --pv-h-size: 50px; --pv-h-weight: 600; --pv-h-style: normal; --pv-h-case: uppercase;
  --pv-radius: 2px;
}
.stage[data-theme="salon"] {
  --pv-bg: linear-gradient(160deg, #fbf6f0, #f1e6da);
  --pv-acc: #b85c5c; --pv-text: #2b1f1c; --pv-muted: #8a766d; --pv-btn: #fff;
  --pv-card: #fff;
  --pv-font: 'Playfair Display', Georgia, serif; --pv-h-size: 46px; --pv-h-weight: 500; --pv-h-style: italic; --pv-h-case: none;
  --pv-radius: 999px;
}
.stage[data-theme="detail"] {
  --pv-bg: linear-gradient(170deg, #0c1b30, #050a12);
  --pv-acc: #4cc9f0; --pv-text: #e8f4ff; --pv-muted: #9fb8cc; --pv-btn: #04121c;
  --pv-card: rgba(8, 20, 36, .92);
  --pv-font: 'Space Grotesk', var(--font); --pv-h-size: 40px; --pv-h-weight: 700; --pv-h-style: normal; --pv-h-case: uppercase;
  --pv-radius: 8px;
}
.pv { position: relative; height: calc(100% - 38px); padding: 22px 28px; overflow: hidden; background: var(--pv-bg); color: var(--pv-text); }
.pv-nav { display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--pv-muted); }
.pv-nav b {
  margin-right: auto; max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--pv-font); font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pv-acc);
}
.stage[data-theme="salon"] .pv-nav b { font-size: 21px; font-style: italic; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--pv-text); }
.pv-hero h4 {
  margin-top: 38px; max-width: 360px; font-family: var(--pv-font); font-size: var(--pv-h-size); line-height: 1.02;
  font-weight: var(--pv-h-weight); font-style: var(--pv-h-style); text-transform: var(--pv-h-case); letter-spacing: -.01em;
}
.pv-hero h4 em { font-style: inherit; color: var(--pv-acc); }
.pv-btn { display: inline-block; margin-top: 20px; padding: 10px 20px; border-radius: var(--pv-radius); background: var(--pv-acc); color: var(--pv-btn); font-size: 13px; font-weight: 600; }
.pv-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.pv-gallery img { display: block; width: 100%; height: 118px; object-fit: cover; border-radius: 10px; background: rgba(128, 128, 128, .15); }
.pv-reviews {
  position: absolute; right: 28px; top: 100px; padding: 12px 16px; border-radius: 12px;
  background: var(--pv-card); border: 1px solid color-mix(in srgb, var(--pv-acc) 35%, transparent);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45);
  color: var(--pv-acc); font-size: 15px; letter-spacing: .12em;
}
.pv-reviews span { display: block; margin-top: 2px; font-size: 12px; letter-spacing: 0; color: var(--pv-muted); }

.phone {
  position: absolute; right: -40px; bottom: -30px; width: 172px; height: 340px;
  border-radius: 30px; border: 6px solid #1d1e22; background: #0f0d0a; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: translateZ(170px);
}
.ph-notch { position: absolute; top: 8px; left: 50%; width: 54px; height: 14px; margin-left: -27px; border-radius: 10px; background: #000; z-index: 2; }
.ph-screen { height: 100%; padding: 34px 14px 14px; background: var(--pv-bg); color: var(--pv-text); }
.ph-nav { display: flex; align-items: center; gap: 8px; font-size: 8px; color: var(--pv-acc); }
.ph-nav b { margin-right: auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--pv-font); letter-spacing: .16em; text-transform: uppercase; }
.stage[data-theme="salon"] .ph-nav b { font-size: 11px; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--pv-text); }
.ph-nav i { flex: none; width: 14px; height: 2px; background: currentColor; box-shadow: 0 4px 0 currentColor; }
.ph-h { margin-top: 20px; font-family: var(--pv-font); font-size: 21px; line-height: 1.04; font-weight: var(--pv-h-weight); font-style: var(--pv-h-style); text-transform: var(--pv-h-case); }
.ph-btn { margin-top: 12px; padding: 7px 0; border-radius: var(--pv-radius); background: var(--pv-acc); color: var(--pv-btn); font-size: 10px; font-weight: 600; text-align: center; }
.ph-img { display: block; width: 100%; margin-top: 14px; height: 104px; object-fit: cover; border-radius: 10px; }
.ph-rev { margin-top: 12px; font-size: 12px; letter-spacing: .15em; color: var(--pv-acc); }

/* try it with your business */
.tryit {
  display: flex; align-items: center; gap: 8px; max-width: 100%; margin-top: 30px; padding: 6px;
  border-radius: 999px; border: 1px solid var(--border2); background: rgba(255, 255, 255, .03);
}
.tryit-label { padding: 0 4px 0 12px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.tryit input {
  width: 210px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border);
  background: rgba(0, 0, 0, .35); color: var(--text); font: 14px var(--font); outline: none; transition: border-color .2s;
}
.tryit input::placeholder { color: var(--dim); }
.tryit input:focus { border-color: rgba(var(--lime-rgb), .6); }
.seg { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .04); }
.seg-btn {
  height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--muted);
  font: 500 13px var(--font); white-space: nowrap; cursor: pointer; transition: background .25s, color .25s;
}
.seg-btn:hover { color: var(--text); }
.seg-btn.is-on { background: rgba(var(--lime-rgb), .14); color: var(--lime); }
.tryit .btn-small { flex: none; }
@media (max-width: 900px) {
  .tryit { flex-wrap: wrap; justify-content: center; border-radius: 20px; padding: 12px; }
  .tryit-label { width: 100%; padding: 0 0 2px; text-align: center; }
}
@media (max-width: 680px) {
  .tryit { width: 100%; }
  .tryit input, .seg { width: 100%; }
  .seg-btn { flex: 1; padding: 0 4px; font-size: 12px; }
  .tryit .btn-small { width: 100%; height: 40px; }
}

.chip {
  position: absolute; display: flex; align-items: center; gap: 9px; padding: 11px 16px;
  border-radius: 12px; border: 1px solid var(--border2); background: rgba(17, 18, 21, .9);
  font-size: 14px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 24px 50px -14px rgba(0, 0, 0, .8);
  transform: translateZ(var(--z)); animation: float 6s ease-in-out infinite;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.chip-a { left: 300px; top: 92px; }
.chip-b { left: 40px; top: 440px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateZ(var(--z)) translateY(-10px); } }

.stage.compact { width: 640px; margin-left: -320px; }
.stage.compact .editor, .stage.compact .chip-b { display: none; }
.stage.compact .preview { left: 0; right: auto; }
.stage.compact .phone { right: 20px; }
.stage.compact .chip-a { left: 24px; top: 300px; }

/* ---------- STRIP ---------- */
.strip { position: relative; z-index: 2; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(8, 9, 10, .7); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 26px; padding-bottom: 26px; font-size: 15px; font-weight: 500; color: var(--muted); }
.strip-inner span { display: inline-flex; align-items: center; gap: 10px; }
.strip-inner span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--lime); opacity: .8; }

/* ---------- SECTIONS ---------- */
.section { position: relative; padding: 120px 0; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; color: var(--lime); letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--lime); }
.section-head h2 { margin-top: 14px; font-size: clamp(30px, 4.6vw, 50px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; }
.section-head p { margin-top: 16px; font-size: 17px; color: var(--muted); }
.link { color: var(--text); border-bottom: 1px solid rgba(var(--lime-rgb), .6); }
.link:hover { color: var(--lime); }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* spotlight cards */
.spot { position: relative; overflow: hidden; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--lime-rgb), .09), transparent 60%);
}
.spot:hover::before { opacity: 1; }

/* ---------- WORK ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; transition: border-color .3s, transform .4s var(--ease); }
.work-card:hover { border-color: var(--border2); transform: translateY(-4px); }
.mock {
  position: relative; aspect-ratio: 5 / 4; padding: 28px 28px 0; overflow: hidden; perspective: 900px;
  background: radial-gradient(80% 70% at 50% 0%, var(--mglow), transparent 70%), var(--surface);
}
.m-frame {
  height: 100%; overflow: hidden; border-radius: 10px 10px 0 0; border: 1px solid rgba(255, 255, 255, .1); border-bottom: 0;
  transform: rotateX(10deg) translateY(10px); transform-origin: 50% 100%;
  transition: transform .7s var(--ease); box-shadow: 0 -10px 40px -10px rgba(0, 0, 0, .6);
}
.work-card:hover .m-frame { transform: rotateX(0) translateY(0); }
.m-bar { display: flex; align-items: center; gap: 4px; height: 18px; padding: 0 8px; background: #1a1b1f; }
.m-bar span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.m-body { position: relative; height: calc(100% - 18px); overflow: hidden; }
.m-body img { display: block; transition: transform .9s var(--ease); }
.work-card:hover .m-body img { transform: scale(1.05); }
.m-barber { --mglow: rgba(233, 199, 123, .16); }
.m-salon { --mglow: rgba(232, 160, 160, .14); }
.m-salon .m-bar { background: #e9e1d6; }
.m-salon .m-bar span { background: rgba(0, 0, 0, .15); }
.m-detail { --mglow: rgba(76, 201, 240, .15); }

/* concept 1: barbershop, dark full-bleed photo, condensed type */
.cb { background: #0d0b08; color: #fff; font-family: 'Oswald', var(--font); }
.cb-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; filter: grayscale(.2) contrast(1.05); }
.cb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 9, 5, .88) 0%, rgba(12, 9, 5, .4) 55%, rgba(12, 9, 5, 0)), linear-gradient(0deg, rgba(12, 9, 5, .6), transparent 50%); }
.cb > *:not(.cb-bg) { position: relative; z-index: 1; }
.cb-nav { display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.cb-nav b { margin-right: auto; font-size: 11px; font-weight: 600; letter-spacing: .2em; color: #e9c77b; }
.cb-main { position: absolute !important; left: 14px; right: 14px; bottom: 16px; }
.cb-kicker { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #e9c77b; }
.cb h4 { margin-top: 6px; font-size: 30px; line-height: .98; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; }
.cb-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.cb-btn { padding: 6px 12px; background: #e9c77b; color: #16110a; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.cb-rating { font-family: var(--font); font-size: 10px; color: #e9c77b; letter-spacing: .05em; }

/* concept 2: hair salon, cream editorial, serif italic, arched photo */
.cs { background: #f6efe6; color: #2b1f1c; padding: 12px 16px; }
.cs-nav { display: flex; align-items: center; gap: 10px; font-size: 9px; color: #7d6a62; }
.cs-nav b { margin-right: auto; font-family: 'Playfair Display', Georgia, serif; font-style: italic; font-weight: 500; font-size: 15px; color: #2b1f1c; }
.cs-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 10px; height: calc(100% - 26px); }
.cs-kicker { font-size: 8.5px; letter-spacing: .18em; text-transform: uppercase; color: #b85c5c; }
.cs h4 { margin-top: 8px; font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 23px; line-height: 1.08; letter-spacing: -.01em; }
.cs h4 em { color: #b85c5c; }
.cs-btn { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: 999px; background: #b85c5c; color: #fff; font-size: 9.5px; font-weight: 600; }
.cs-photos { position: relative; height: 88%; }
.cs-arch { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 10px 10px; box-shadow: 0 10px 24px -10px rgba(80, 40, 30, .45); }
.cs-dot { position: absolute; left: -16px; bottom: 6px; width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 3px solid #f6efe6; }

/* concept 3: car detailing, navy, photo top, techy grotesk type */
.cd { background: linear-gradient(170deg, #0c1b30, #050a12); color: #e8f4ff; font-family: 'Space Grotesk', var(--font); }
.cd-hero { position: relative; height: 56%; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%); }
.cd-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cd-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 18, .65), transparent 45%); }
.cd-nav { position: absolute; z-index: 1; top: 10px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; }
.cd-nav b { font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.cd-nav b span { margin-left: 5px; font-weight: 500; font-size: 8px; letter-spacing: .2em; color: #4cc9f0; }
.cd-nav i { font-style: normal; font-size: 9px; font-weight: 700; padding: 5px 10px; border-radius: 6px; background: #4cc9f0; color: #04121c; }
.cd-bottom { padding: 6px 14px 0; }
.cd h4 { font-size: 19px; line-height: 1.05; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.cd-tags { display: flex; gap: 6px; margin-top: 10px; }
.cd-tags span { padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(76, 201, 240, .4); font-size: 8.5px; color: #9fe3f7; }
.cd-thumb { position: absolute; right: 12px; bottom: 12px; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; border: 2px solid rgba(76, 201, 240, .6); box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .7); }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-top: 1px solid var(--border); }
.work-meta h3 { font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.work-meta p { font-size: 13px; color: var(--muted); }
.tag { flex: none; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--border2); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- PROCESS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 32px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(180deg, var(--surface2), var(--surface)); }
.step-n { display: inline-block; font-family: var(--mono); font-size: 13px; color: var(--lime); padding: 4px 10px; border-radius: 8px; background: rgba(var(--lime-rgb), .08); border: 1px solid rgba(var(--lime-rgb), .2); }
.step h3 { margin-top: 26px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* ---------- BENTO ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cell { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; }
.cell h3 { margin-top: 20px; font-size: 18px; font-weight: 600; letter-spacing: -.015em; }
.cell p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.icon { width: 40px; height: 40px; padding: 9px; border-radius: 11px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; background: rgba(var(--lime-rgb), .08); border: 1px solid rgba(var(--lime-rgb), .2); }
.stars { font-size: 24px; letter-spacing: .12em; color: var(--lime); text-shadow: 0 0 20px rgba(var(--lime-rgb), .5); }
.b-a { grid-column: span 2; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
.b-a .cell-text { max-width: 330px; }
.b-a .cell-text h3 { margin-top: 0; }
.phones { display: flex; align-items: flex-end; gap: 14px; perspective: 800px; }
.mini-phone {
  width: 92px; height: 176px; padding: 18px 10px 10px; border-radius: 18px;
  border: 1px solid var(--border2); background: linear-gradient(180deg, #17181c, #0e0f11);
  display: flex; flex-direction: column; gap: 7px; transform: rotateY(18deg); transition: transform .6s var(--ease);
}
.mini-phone:last-child { transform: rotateY(-18deg); }
.mini-phone.mid { height: 200px; transform: translateY(-10px); border-color: rgba(var(--lime-rgb), .4); box-shadow: 0 0 40px -10px rgba(var(--lime-rgb), .4); }
.b-a:hover .mini-phone { transform: none; }
.mini-phone i { height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); }
.mini-phone i.l { width: 60%; background: var(--lime); opacity: .85; }
.mini-phone i.s { width: 70%; }
.mini-phone i.box { flex: 1; margin-top: 4px; border-radius: 8px; background: linear-gradient(135deg, rgba(var(--lime-rgb), .18), rgba(255, 255, 255, .03)); }

/* ---------- FOUNDER ---------- */
.founder { padding-top: 40px; }
.founder-card { max-width: 820px; margin: 0 auto; text-align: center; }
.founder-card blockquote { font-size: clamp(20px, 2.8vw, 28px); line-height: 1.45; letter-spacing: -.02em; font-weight: 500; color: #d9dbde; }
.founder-card figcaption { margin-top: 30px; display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--lime), #7bd400); color: var(--bg); font-weight: 700; }
.founder-card b { display: block; font-weight: 600; }
.founder-card small { display: block; font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0;
  font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--lime); }
.faq summary:hover { color: var(--lime); }
.faq details p { padding: 0 40px 22px 0; color: var(--muted); }

/* ---------- CTA ---------- */
.cta-card {
  padding: 72px 32px; border-radius: 28px; text-align: center;
  border: 1px solid var(--border2);
  background: radial-gradient(60% 80% at 50% 0%, rgba(var(--lime-rgb), .10), transparent 70%), var(--surface);
}
.cta-card h2 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.06; letter-spacing: -.04em; font-weight: 600; }
.cta-card p { max-width: 520px; margin: 18px auto 0; color: var(--muted); font-size: 17px; }
.cube-wrap { width: 110px; height: 110px; margin: 0 auto 40px; perspective: 700px; }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: spin 16s linear infinite; }
.cube i { position: absolute; inset: 0; border: 1.5px solid rgba(var(--lime-rgb), .85); background: rgba(var(--lime-rgb), .035); box-shadow: inset 0 0 30px rgba(var(--lime-rgb), .15); border-radius: 6px; }
.cube i:nth-child(1) { transform: translateZ(55px); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(55px); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(55px); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(55px); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(55px); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(55px); }
.cube b { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 30px 8px rgba(var(--lime-rgb), .6); }
@keyframes spin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 36px; padding-bottom: 36px; }
.footer-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.copy { font-size: 13px; color: var(--dim); }

/* ---------- MODALS ---------- */
html:has(dialog[open]) { overflow: hidden; }
.modal {
  width: 100%; max-width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; background: transparent; color: var(--text); overflow: visible;
}
.modal::backdrop { background: rgba(4, 5, 6, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal[open] .modal-card { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-card {
  position: relative; max-height: calc(100dvh - 32px); overflow: auto; padding: 32px;
  border-radius: 24px; border: 1px solid var(--border2);
  background: radial-gradient(80% 60% at 50% 0%, rgba(var(--lime-rgb), .08), transparent 70%), var(--surface);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9);
}
.modal-x {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border); background: rgba(255, 255, 255, .03); color: var(--muted);
  font-size: 20px; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s;
}
.modal-x:hover { color: var(--text); border-color: var(--border2); }
.modal h3 { font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.modal .eyebrow + h3 { margin-top: 10px; }
.modal-lead { margin-top: 10px; font-size: 15px; color: var(--muted); }
.contact-head { display: flex; align-items: center; gap: 14px; }
.contact-head .avatar { width: 52px; height: 52px; font-size: 20px; }
.contact-head p { font-size: 14px; color: var(--muted); }
.contact-list { list-style: none; display: grid; gap: 10px; margin: 24px 0 16px; }
.contact-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, .02); }
.contact-list li[hidden] { display: none; }
.contact-list .icon { flex: none; width: 38px; height: 38px; padding: 9px; }
.contact-list div { flex: 1; min-width: 0; }
.contact-list small { display: block; font-size: 12px; color: var(--muted); }
.contact-list div a { font-weight: 500; overflow-wrap: anywhere; transition: color .2s; }
.contact-list div a:hover { color: var(--lime); }
.mini-btn {
  flex: none; display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--border2); background: transparent; color: var(--text);
  font: 500 13px var(--font); cursor: pointer; transition: color .2s, border-color .2s;
}
.mini-btn:hover { color: var(--lime); border-color: rgba(var(--lime-rgb), .6); }
.btn-block { width: 100%; margin-top: 4px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0 18px; }
.fields label { display: flex; flex-direction: column; gap: 6px; }
.fields label.full { grid-column: 1 / -1; }
.fields span { font-size: 13px; color: var(--muted); }
.fields em { font-style: normal; color: var(--dim); }
.fields input, .fields textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border2);
  background: rgba(255, 255, 255, .03); color: var(--text); font: 15px var(--font);
  outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.fields input:focus, .fields textarea:focus { border-color: rgba(var(--lime-rgb), .6); box-shadow: 0 0 0 3px rgba(var(--lime-rgb), .12); }
.fields .invalid { border-color: rgba(255, 120, 120, .7); }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-note { margin-top: 12px; min-height: 1em; font-size: 13px; color: #ff9b9b; }
.form-done { padding: 20px 0 6px; text-align: center; }
.done-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%; background: var(--lime); color: var(--bg); font-size: 26px; font-weight: 700; box-shadow: 0 0 40px rgba(var(--lime-rgb), .5); }
.form-done p { margin: 10px 0 24px; color: var(--muted); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .work-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 680px) {
  .container { padding: 0 16px; }
  .nav-links { display: none; }
  .hero { padding-top: 56px; }
  .scene { margin-top: 56px; padding: 0 16px; }
  .section { padding: 84px 0; }
  .work-grid, .bento { grid-template-columns: 1fr; }
  .b-a { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .phones { align-self: center; }
  .strip-inner { justify-content: center; font-size: 14px; }
  .cta-card { padding: 56px 20px; }
  .hero-cta .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
  .fields { grid-template-columns: 1fr; }
  .modal-card { padding: 26px 20px; }
  .nav-actions { gap: 14px; }
}
@media (max-width: 420px) {
  .brand .dim { display: none; }
}
@media (max-width: 360px) {
  .nav .brand > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
