/* ============================================================
   AUREVON STUDIO — warm-dark, cinematic, typography-led
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-soft: #111110;
  --bg-card: #141412;
  --ink: #f2efe8;
  --ink-dim: #b9b5ab;
  --muted: #7d796f;
  --accent: #ff7a1a;
  --accent-hot: #ffb52e;
  --accent-deep: #ff3d00;
  --accent-ink: #200a00;
  --grad: linear-gradient(115deg, #ff3d00, #ff7a1a 48%, #ffb52e);
  --line: rgba(242, 239, 232, 0.1);
  --line-soft: rgba(242, 239, 232, 0.06);

  --font-display: "Clash Display", "Satoshi", sans-serif;
  --font-body: "Satoshi", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --pad-x: clamp(1.25rem, 5vw, 5rem);
  --section-gap: clamp(6rem, 14vh, 11rem);
  --radius: 18px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--accent); color: #fff; }

/* gradient ink — the logo's molten orange, applied to type */
.grad-text, .ht-accent, .section-title em, .cta-title em, .problem-text mark, .stat-num {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
/* SplitText wraps content in inline-block divs, which breaks background-clip
   on the parent — the generated children must carry their own clip */
.ht-accent div, .problem-text mark .w, .cta-title em div {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2c2b27; border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #3d3b35; }

.mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1; }

em { font-style: normal; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -100px; z-index: 200; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.045;
  animation: grain 0.9s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-38px, 24px); }
  50% { transform: translate(22px, -30px); }
  75% { transform: translate(-14px, -18px); }
  100% { transform: translate(30px, 12px); }
}

/* ---------- custom cursor ---------- */
.cursor { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.cursor-dot, .cursor-ring {
  position: absolute; top: 0; left: 0;
  border-radius: 50%;
  will-change: transform;
}
.cursor-dot {
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--accent);
  transition: opacity 0.25s;
}
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(255, 122, 26, 0.55);
  display: grid; place-items: center;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              margin 0.35s var(--ease-out), background-color 0.3s, border-color 0.3s, opacity 0.25s;
}
.cursor-label {
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: #fff;
  opacity: 0; transition: opacity 0.2s; white-space: nowrap;
}
.cursor.is-hover .cursor-ring {
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  background: rgba(255, 122, 26, 0.12);
}
.cursor.has-label .cursor-ring {
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  background: var(--accent); border-color: var(--accent);
}
.cursor.has-label .cursor-label { opacity: 1; }
.cursor.has-label .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- buttons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.05rem 2.1rem;
  border-radius: 99px;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: color 0.35s var(--ease-out), border-color 0.3s, transform 0.3s var(--ease-out);
  cursor: pointer;
}
.btn span { position: relative; z-index: 2; }
.btn::after {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 50%;
  width: 200%; aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s var(--ease-out);
}
.btn:hover::after { transform: translate(-50%, -50%) scale(1); }

.btn-solid { background: var(--grad); color: #fff; }
.btn-solid::after { background: linear-gradient(115deg, #ff7a1a, #ffb52e); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost::after { background: var(--ink); }
.btn-ghost:hover { color: var(--bg); border-color: var(--ink); }
.btn-sm { padding: 0.7rem 1.5rem; font-size: 0.85rem; }
.btn-lg { padding: 1.3rem 2.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- nav: floating pill, morphs + condenses on scroll ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem var(--pad-x) 0;
  pointer-events: none;
  /* force its own compositing layer so iOS Safari doesn't lag/detach this
     fixed element from the viewport during fast scroll (backdrop-filter
     repaints are expensive and otherwise fall behind the scroll thread) */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.nav-inner {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto;
  padding: 0.85rem 1.1rem;
  border-radius: 99px;
  border: 1px solid transparent;
  overflow: hidden;
  transition: max-width 0.65s var(--ease-out), padding 0.5s var(--ease-out),
              background-color 0.45s, border-color 0.45s, box-shadow 0.5s,
              -webkit-backdrop-filter 0.45s, backdrop-filter 0.45s;
}
.nav.is-scrolled .nav-inner {
  max-width: 920px;
  padding: 0.55rem 0.7rem 0.55rem 1.1rem;
  background: rgba(14, 11, 8, 0.68);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-color: var(--line-soft);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(242, 239, 232, 0.05);
}

.nav-logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.nav-logo sup { font-size: 0.55em; opacity: 0.55; font-weight: 500; }
.logo-badge {
  display: grid; place-items: center;
  width: 1.9rem; height: 1.9rem;
  border-radius: 32%;
  background: var(--grad);
  box-shadow: 0 4px 14px rgba(255, 90, 10, 0.4);
}
.nav-mark { width: 1.05rem; height: 1.05rem; color: #fff; }
.logo-img { width: 72%; height: 72%; object-fit: contain; display: block; }

.nav-links { display: flex; gap: 2.2rem; }
.nav-links a {
  position: relative;
  font-size: 0.92rem; font-weight: 500; color: var(--ink-dim);
  transition: color 0.25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 760px) { .nav-links { display: none; } }
.btn-txt-short { display: none; }
@media (max-width: 480px) {
  .btn-txt-full { display: none; }
  .btn-txt-short { display: inline; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(7rem, 16vh, 10rem) var(--pad-x) 5.5rem;
  overflow: clip;
}
.hero-glow {
  position: absolute; z-index: -1;
  top: -20%; right: -15%;
  width: 60vw; height: 60vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle at center, rgba(255, 122, 26, 0.13), transparent 62%);
  filter: blur(10px);
  animation: glowdrift 14s ease-in-out infinite alternate;
}
@keyframes glowdrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8%, 10%) scale(1.15); }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  color: var(--ink-dim); margin-bottom: clamp(1.5rem, 4vh, 3rem);
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.5);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0.55); }
  70% { box-shadow: 0 0 0 11px rgba(255, 122, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 122, 26, 0); }
}

.hero-title {
  font-size: clamp(3rem, 9.4vw, 8.6rem);
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}
.ht-line { display: block; }
.ht-line em {
  -webkit-text-stroke: 1.5px var(--ink);
  color: transparent;
}
.ht-accent { filter: drop-shadow(0 0 26px rgba(255, 122, 26, 0.55)); }

.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 3rem; flex-wrap: wrap;
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
}
.hero-sub { max-width: 30rem; color: var(--ink-dim); font-size: 1.1rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-badge {
  position: absolute;
  right: calc(var(--pad-x) + 2.5rem);
  top: clamp(8rem, 11vh, 8rem);
  width: 128px; height: 128px;
  display: grid; place-items: center;
}
.hero-badge-ring {
  position: absolute; inset: 0;
  animation: spin 22s linear infinite;
}
.hero-badge-ring text {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  fill: var(--muted);
}
.hero-badge-mark { width: 30px; height: 30px; color: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) { .hero-badge { display: none; } }


.hero-hint {
  position: absolute; bottom: 2rem; left: var(--pad-x);
  display: flex; align-items: center; gap: 0.8rem;
  color: var(--muted);
}
.hint-line { position: relative; width: 64px; height: 1px; background: var(--line); overflow: hidden; }
.hint-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: hintslide 2s var(--ease-out) infinite;
}
@keyframes hintslide {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 1.15rem 0;
  overflow: clip;
  background: var(--bg-soft);
}
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-inner { display: flex; align-items: center; flex-shrink: 0; }
.marquee-inner span {
  font-family: var(--font-display); font-weight: 500;
  font-size: 1.05rem; letter-spacing: 0.02em;
  color: var(--ink-dim); white-space: nowrap;
}
.marquee-inner i { color: var(--accent); font-style: normal; margin: 0 1.6rem; font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- section scaffolding ---------- */
section { padding: var(--section-gap) var(--pad-x); }

.section-tag {
  display: flex; align-items: center; gap: 0.9rem;
  color: var(--muted); margin-bottom: 2rem;
}
.section-tag span { color: var(--accent); }
.section-tag::after { content: ""; height: 1px; width: 56px; background: var(--line); }

.section-head { max-width: 62rem; margin-bottom: clamp(3rem, 7vh, 5.5rem); }
.section-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.025em; line-height: 1.02;
  margin-bottom: 1.6rem;
}
.section-title em { color: var(--accent); }
.section-sub { max-width: 36rem; color: var(--ink-dim); font-size: 1.08rem; }

/* ---------- problem ---------- */
.problem { max-width: 72rem; }
.problem-text {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 4.4vw, 3.4rem);
  line-height: 1.22; letter-spacing: -0.015em;
  max-width: 60rem;
}
.problem-text .w { opacity: 0.14; display: inline-block; }
.problem-text mark { background: none; color: var(--accent); }
.problem-kicker {
  margin-top: 3rem; max-width: 34rem;
  color: var(--ink-dim); font-size: 1.08rem;
  padding-left: 1.4rem; border-left: 2px solid var(--accent);
}

/* ---------- anatomy / timeline ---------- */
.anatomy { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.timeline { margin-bottom: clamp(4rem, 9vh, 6.5rem); }
.tl-bar {
  position: relative;
  display: flex; gap: 5px;
  height: 54px;
  margin-bottom: 2.2rem;
}
.tl-seg {
  position: relative;
  width: var(--w);
  background: #1d1c19;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: border-color 0.4s;
}
.tl-seg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 122, 26, 0.28), rgba(255, 122, 26, 0.14));
  opacity: 0; transition: opacity 0.4s;
}
.tl-seg.is-active { border-color: rgba(255, 122, 26, 0.45); }
.tl-seg.is-active::after { opacity: 1; }

.tl-head {
  position: absolute; top: -12px; bottom: -12px; left: 0;
  width: 2px; background: var(--accent); z-index: 3;
  box-shadow: 0 0 18px rgba(255, 122, 26, 0.6);
}
.tl-time {
  position: absolute; top: -26px; left: 50%; transform: translateX(-50%);
  color: var(--accent); font-size: 0.68rem; letter-spacing: 0.08em;
}
.tl-fill { display: none; }

.tl-beats {
  display: grid;
  grid-template-columns: 16.6fr 25fr 41.8fr 16.6fr;
  gap: 5px;
}
.tl-beat {
  padding: 1.4rem 1.3rem 0 0;
  border-top: 1px solid var(--line-soft);
  opacity: 0.38;
  transition: opacity 0.45s;
}
.tl-beat.is-active { opacity: 1; }
.tl-beat.is-active .tl-code { color: var(--accent); }
.tl-code { display: block; color: var(--muted); margin-bottom: 0.7rem; transition: color 0.4s; }
.tl-beat h3 { font-size: 1.25rem; letter-spacing: -0.01em; margin-bottom: 0.55rem; }
.tl-beat p { color: var(--ink-dim); font-size: 0.92rem; line-height: 1.55; }

@media (max-width: 900px) {
  .tl-beats { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.4rem; }
}
@media (max-width: 540px) {
  .tl-beats { grid-template-columns: 1fr; }
}

/* stats */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden;
  background: var(--line-soft);
}
.stat { background: var(--bg); padding: 2.6rem 2.2rem; transition: background-color 0.4s; }
.stat:hover { background: var(--bg-card); }
.stat-num {
  display: block;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(3rem, 6vw, 4.8rem);
  letter-spacing: -0.03em; line-height: 1;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.stat p { color: var(--ink-dim); font-size: 0.95rem; }
.stat p strong { color: var(--ink); font-weight: 700; }
@media (max-width: 820px) { .stats { grid-template-columns: 1fr; } }

/* ---------- work ---------- */
.work-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 3.5vw, 3rem);
}
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

.work-card { min-width: 0; }
.work-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  cursor: pointer;
}
.poster {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255, 122, 26, 0.1), transparent 55%),
    radial-gradient(100% 100% at 85% 95%, rgba(255, 122, 26, 0.05), transparent 50%),
    linear-gradient(160deg, #191815, #0e0e0c 70%);
  transition: transform 0.7s var(--ease-out);
}
.poster::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(80% 80% at 50% 50%, black, transparent);
}
.work-media:hover .poster { transform: scale(1.045); }

.poster-badge {
  position: absolute; top: 1rem; right: 1rem;
  padding: 0.35rem 0.7rem;
  background: rgba(10, 10, 10, 0.7);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink); font-size: 0.66rem;
}

/* fake app window */
.mock {
  position: relative; z-index: 1;
  width: min(66%, 340px);
  background: #201f1b;
  border: 1px solid rgba(242, 239, 232, 0.12);
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transform: translateY(6px) rotate(-1deg);
  transition: transform 0.7s var(--ease-out);
}
.work-media:hover .mock { transform: translateY(-4px) rotate(0.5deg); }
.mock-dark { background: #131311; }
.mock-bar {
  display: flex; gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(242, 239, 232, 0.08);
}
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #37352f; }
.mock-bar i:first-child { background: rgba(255, 122, 26, 0.7); }
.mock-body { padding: 16px; min-height: 118px; display: grid; align-items: center; }

/* poster variants */
.kb { display: flex; gap: 10px; }
.kb-col { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.kb-col i { height: 22px; border-radius: 5px; background: #2b2a25; transition: transform 0.5s var(--ease-out), background-color 0.4s; }
.kb-col i.hot { background: rgba(255, 122, 26, 0.5); }
.work-media:hover .kb-col i.hot { background: var(--accent); transform: translateY(-4px); }
.work-media:hover .kb-col:nth-child(2) i:first-child { transform: translateY(-3px); }

.bars { display: flex; align-items: flex-end; gap: 9px; height: 110px; }
.bars i {
  flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px;
  background: #2b2a25;
  transform-origin: bottom;
  transition: transform 0.6s var(--ease-out), background-color 0.4s;
}
.bars i.hot { background: var(--accent); }
.work-media:hover .bars i { transform: scaleY(1.12); }
.work-media:hover .bars i.hot { transform: scaleY(1.25); background: var(--accent-hot); }

.term { display: flex; flex-direction: column; gap: 9px; font-size: 0.72rem; letter-spacing: 0; text-transform: none; color: var(--ink-dim); }
.term b { color: var(--accent); font-weight: 500; }
.term b.ok { color: #8fd48a; }
.term .dim { color: var(--muted); }
.term .caret { display: inline-block; width: 7px; height: 12px; background: var(--accent); vertical-align: -2px; animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.chat { display: flex; flex-direction: column; gap: 9px; }
.chat i { height: 20px; border-radius: 10px; background: #2b2a25; width: 46%; transition: transform 0.5s var(--ease-out), background-color 0.4s; }
.chat i.in { align-self: flex-start; }
.chat i.out { align-self: flex-end; width: 38%; }
.chat i.wide { width: 62%; }
.chat i.hot { background: rgba(255, 122, 26, 0.55); }
.work-media:hover .chat i.hot { background: var(--accent); transform: translateX(-5px); }
.work-media:hover .chat i.in { transform: translateX(4px); }

.work-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 1.2rem 0.35rem 0; }
.work-meta h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
.work-meta p { color: var(--muted); }

.case {
  display: flex; flex-direction: column; gap: 0.65rem;
  margin: 1rem 0.35rem 0; padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}
.case p { font-size: 0.85rem; color: var(--ink-dim); line-height: 1.5; }
.case-label {
  display: inline-block; min-width: 5.6rem;
  color: var(--muted); font-size: 0.62rem; letter-spacing: 0.04em;
  text-transform: uppercase; margin-right: 0.4rem;
}

/* ---------- process ---------- */
.process { background: var(--bg-soft); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.steps { border-top: 1px solid var(--line); }
.step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(70px, 180px) 1fr;
  gap: 2rem;
  padding: 2.6rem 1rem;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s, padding-left 0.5s var(--ease-out);
}
.step:hover { background: rgba(255, 122, 26, 0.035); padding-left: 2rem; }
.step-num { color: var(--muted); font-size: 0.95rem; padding-top: 0.5rem; transition: color 0.35s; }
.step:hover .step-num { color: var(--accent); }
.step-body { max-width: 40rem; }
.step-body h3 {
  display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
  font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.015em;
  margin-bottom: 0.8rem;
}
.step-tag {
  color: var(--muted); font-size: 0.66rem;
  border: 1px solid var(--line); border-radius: 99px;
  padding: 0.32rem 0.75rem;
}
.step-body p { color: var(--ink-dim); }
@media (max-width: 640px) {
  .step { grid-template-columns: 1fr; gap: 0.8rem; }
  .step:hover { padding-left: 1rem; }
}

/* ---------- pricing ---------- */
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  align-items: stretch;
}
@media (max-width: 980px) { .price-grid { grid-template-columns: 1fr; max-width: 34rem; row-gap: 2.75rem; } }

/* packages: 4 cards → 4-up on wide, 2-up on mid, 1-up on narrow.
   Own responsive chain (declared after the .price-grid mobile rule) so it
   always wins the cascade at every breakpoint. */
.price-grid-4 { grid-template-columns: repeat(4, 1fr); max-width: none; }
@media (max-width: 1180px) { .price-grid-4 { grid-template-columns: repeat(2, 1fr); max-width: 40rem; } }
@media (max-width: 620px) { .price-grid-4 { grid-template-columns: 1fr; max-width: 34rem; } }

.price-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2.4rem 2.1rem 2.1rem;
  transition: transform 0.5s var(--ease-out), border-color 0.4s, box-shadow 0.5s;
}
/* transform is owned by the JS 3D tilt — CSS only handles glow here */
.price-card:hover {
  border-color: var(--line);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
}
.price-card.is-featured {
  background: linear-gradient(170deg, #1c1712, #131210 60%);
  border-color: rgba(255, 122, 26, 0.4);
}
.price-card.is-featured:hover {
  border-color: rgba(255, 122, 26, 0.75);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 50px rgba(255, 122, 26, 0.08);
}
.price-flag {
  position: absolute; top: -0.85rem; left: 2rem;
  background: var(--grad); color: #fff;
  font-size: 0.64rem;
  padding: 0.4rem 0.85rem; border-radius: 99px;
  box-shadow: 0 6px 20px rgba(255, 90, 10, 0.35);
}
.price-card header { padding-bottom: 1.7rem; border-bottom: 1px solid var(--line-soft); margin-bottom: 1.7rem; }
.price-card h3 { font-size: 1.15rem; letter-spacing: 0.01em; color: var(--ink-dim); font-weight: 500; margin-bottom: 1.2rem; }
.price {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.7rem, 4vw, 3.4rem);
  letter-spacing: -0.03em; line-height: 1;
}
.price-cur { font-size: 0.45em; vertical-align: 0.7em; letter-spacing: 0; color: var(--accent); }
.price-per { font-size: 0.3em; letter-spacing: 0.06em; color: var(--muted); }
.price-note { color: var(--muted); margin-top: 0.8rem; font-size: 0.66rem; }
.price-card ul { list-style: none; flex: 1; margin-bottom: 2.2rem; display: flex; flex-direction: column; gap: 0.85rem; }
.price-card li {
  position: relative; padding-left: 1.6rem;
  color: var(--ink-dim); font-size: 0.97rem;
}
.price-card li::before {
  content: "✦"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-size: 0.7rem; line-height: 2.2;
}
.price-card li em { color: var(--muted); font-size: 0.62rem; margin-left: 0.3rem; }
.price-foot { text-align: center; margin-top: 3rem; color: var(--muted); }

/* package cards reuse .price-card visuals without the price block's height reservation */
.package-card header { padding-bottom: 1.4rem; margin-bottom: 1.5rem; }
.package-card .price-note { margin-top: 0; font-size: 0.78rem; color: var(--ink-dim); line-height: 1.5; }

/* ---------- free concept ---------- */
.concept {
  position: relative;
  text-align: center;
  padding-top: clamp(6rem, 14vh, 9rem);
  padding-bottom: clamp(6rem, 14vh, 9rem);
  overflow: clip;
}
.concept .section-head { margin-left: auto; margin-right: auto; }
.concept-glow {
  position: absolute; z-index: -1;
  left: 50%; top: 50%;
  width: 80vw; height: 60vh;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 122, 26, 0.16), transparent 62%);
}
.concept-list {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem 2.2rem;
  max-width: 44rem; margin: 0 auto 2.6rem;
}
.concept-list li {
  position: relative; padding-left: 1.5rem;
  color: var(--ink-dim); font-size: 0.97rem;
}
.concept-list li::before {
  content: "✦"; position: absolute; left: 0; top: 0.15em;
  color: var(--accent); font-size: 0.7rem;
}
.concept-cta { display: flex; justify-content: center; }
/* the section is centered, so center its tag too (flex ignores text-align) */
.concept .section-tag { justify-content: center; }
.concept .section-tag::after { display: none; }

/* ---------- faq ---------- */
.faq-list { max-width: 52rem; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  list-style: none; cursor: pointer;
  padding: 1.7rem 0.4rem;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem); letter-spacing: -0.01em;
  transition: color 0.3s, padding-left 0.4s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-hot); padding-left: 1rem; }
.faq-item[open] summary { color: var(--accent); }
.faq-icon {
  position: relative; flex-shrink: 0;
  width: 34px; height: 34px;
  border: 1px solid var(--line); border-radius: 50%;
  transition: transform 0.45s var(--ease-out), border-color 0.3s, background-color 0.3s;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 12px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.45s var(--ease-out); }
.faq-item[open] .faq-icon { transform: rotate(135deg); border-color: var(--accent); background: rgba(255, 122, 26, 0.1); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0.2rem 0.4rem 1.9rem; max-width: 42rem; color: var(--ink-dim); }
.faq-body em { color: var(--ink); font-weight: 500; }

/* ---------- cta ---------- */
.cta {
  position: relative;
  text-align: center;
  padding-top: clamp(8rem, 18vh, 13rem);
  padding-bottom: clamp(8rem, 18vh, 13rem);
  overflow: clip;
}
.cta-glow {
  position: absolute; z-index: -1;
  left: 50%; bottom: -40%;
  width: 90vw; height: 70vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 122, 26, 0.14), transparent 60%);
}
.cta-tag { justify-content: center; }
.cta-tag::after { display: none; }
.cta-title {
  font-size: clamp(4rem, 13vw, 11rem);
  letter-spacing: -0.035em; line-height: 0.95;
  margin-bottom: 2.2rem;
}
.cta-title em { color: var(--accent); }
.cta-sub { max-width: 33rem; margin: 0 auto 3rem; color: var(--ink-dim); font-size: 1.1rem; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 1.4rem; }
.cta-mail { color: var(--muted); transition: color 0.3s; letter-spacing: 0.1em; }
.cta-mail:hover { color: var(--accent); }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--line-soft);
  background: var(--bg-soft);
  padding: 4.5rem var(--pad-x) 1.8rem;
  overflow: clip;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 4rem;
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }
.footer-col p { color: var(--ink-dim); font-size: 0.95rem; }
.footer-h { color: var(--muted); margin-bottom: 0.5rem; }
.footer-col a { color: var(--ink-dim); font-size: 0.95rem; transition: color 0.25s, transform 0.3s var(--ease-out); }
.footer-col a:hover { color: var(--accent); transform: translateX(4px); }
.footer-brand .nav-logo { margin-bottom: 0.6rem; }
.footer-note p:not(.footer-h) { color: var(--muted); font-size: 0.85rem; }

.footer-word { line-height: 0.78; text-align: center; }
.footer-word span {
  display: inline-block;
  max-width: 100%;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.4rem, 15vw, 19rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
  background: linear-gradient(180deg, #ffb52e 5%, #ff7a1a 42%, rgba(255, 61, 0, 0.07) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
/* SplitText wraps each letter in an inline-block div, which breaks
   background-clip:text on the parent — so each char carries its own clip */
.footer-word .ch {
  display: inline-block;
  background: linear-gradient(180deg, #ffb52e 5%, #ff7a1a 42%, rgba(255, 61, 0, 0.07) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
}

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 5, 0.88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lightbox-frame { position: relative; width: min(1080px, 92vw); }
.lightbox-x {
  position: absolute; top: -2.6rem; right: 0;
  background: none; border: none; cursor: pointer;
  color: var(--ink-dim); font-size: 0.68rem; letter-spacing: 0.14em;
  transition: color 0.25s;
}
.lightbox-x:hover { color: var(--accent); }
.lightbox-media { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); }
.lightbox-media iframe, .lightbox-media video { width: 100%; height: 100%; border: 0; display: block; }
.lightbox-info { padding: 1.3rem 0.3rem 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1.6rem; }
.lightbox-info h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
.lightbox-info p { color: var(--ink-dim); font-size: 0.98rem; max-width: 46rem; }

/* ---------- contact page ---------- */
.contact-page { min-height: 100svh; }
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  max-width: 1280px; margin: 0 auto;
  padding-top: clamp(9rem, 20vh, 13rem);
  padding-bottom: clamp(5rem, 10vh, 8rem);
}
@media (max-width: 940px) { .contact { grid-template-columns: 1fr; } }
.contact-title { margin-bottom: 1.4rem; }

.contact-direct {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}
.contact-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 2rem;
  padding: 1.15rem 0.2rem;
  border-bottom: 1px solid var(--line-soft);
}
.contact-label { color: var(--muted); }
.contact-line a {
  font-family: var(--font-display); font-weight: 500; font-size: 1.15rem;
  transition: color 0.25s;
}
.contact-line a:hover { color: var(--accent); }
.contact-static { color: var(--ink-dim); font-size: 1rem; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; gap: 1.4rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.55rem; min-width: 0; }
.form-field label { color: var(--muted); font-size: 0.62rem; }
.form-field .opt { opacity: 0.5; margin-left: 0.3rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--font-body); font-size: 0.98rem;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none; -webkit-appearance: none;
}
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237d796f' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #55524b; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: rgba(255, 122, 26, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.12);
}
.form-status { min-height: 1.2em; color: var(--accent-hot); text-align: center; }
.form-status.is-error { color: #ff6b5e; }
.contact-footer { padding-top: 1.8rem; }

/* success state — covers the form card once the message lands */
.contact-form { position: relative; overflow: hidden; }
.form-success {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.9rem; text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: var(--radius);
}
.form-success[hidden] { display: none; }
.fs-badge {
  display: grid; place-items: center;
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 14px 40px rgba(255, 90, 10, 0.35);
  margin-bottom: 0.5rem;
}
.fs-badge svg { width: 40px; height: 40px; }
.fs-check {
  stroke: #fff; stroke-width: 4.5;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
}
.form-success.is-live .fs-check { animation: checkdraw 0.55s 0.25s var(--ease-out) forwards; }
@keyframes checkdraw { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 1.6rem; letter-spacing: -0.01em; }
.form-success p { color: var(--ink-dim); font-size: 0.98rem; }
.fs-again {
  background: none; border: none; cursor: pointer;
  color: var(--muted); font-size: 0.66rem; letter-spacing: 0.14em;
  margin-top: 0.8rem; padding: 0.4rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s, border-color 0.25s;
}
.fs-again:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- reveal defaults (JS enhances) ---------- */
.reveal { opacity: 1; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .grain, .cursor { display: none; }
  .marquee-track { animation: none; transform: none; }
}
