/* ==========================================================================
   OBEN STUDIO — landing page
   Monochrome, video-first. Brand: black canvas, white mark, electric bolt.
   ========================================================================== */

:root{
  --bg:        #08090A;
  --bg-alt:    #0E1012;
  --surface:   #141719;
  --surface-2: #1C2023;
  --line:      #24282C;
  --line-soft: #191D20;

  --fg:        #F4F6F7;
  --fg-muted:  #9AA3AA;
  --fg-dim:    #6B747B;

  --accent:    #FFFFFF;

  --font-display: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --wrap: 1180px;
  --gut: clamp(20px, 5vw, 40px);
  --sec-y: clamp(72px, 11vw, 140px);

  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--bg);
  color:var(--fg);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img,video{ max-width:100%; display:block; }
a{ color:inherit; }

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:400;
  letter-spacing:-.015em;
  line-height:1.1;
  margin:0;
}
em{ font-style:italic; font-weight:300; }

p{ margin:0; }

::selection{ background:var(--fg); color:var(--bg); }

:focus-visible{
  outline:2px solid var(--fg);
  outline-offset:3px;
  border-radius:4px;
}

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--fg); color:var(--bg);
  padding:12px 20px; border-radius:0 0 var(--r-sm) 0; font-weight:600;
}
.skip-link:focus{ left:0; }

.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:var(--gut); }
.wrap--narrow{ max-width:820px; }
.center{ text-align:center; }

.ico{ width:1em; height:1em; fill:currentColor; flex:none; }
.ico--end{ width:1.05em; height:1.05em; }

/* ---------- Buttons ---------- */
.btn{
  --btn-bg:transparent; --btn-fg:var(--fg); --btn-bd:var(--line);
  display:inline-flex; align-items:center; justify-content:center; gap:.55em;
  font-family:var(--font-body);
  font-weight:600; font-size:.95rem; letter-spacing:.01em;
  padding:.95em 1.7em;
  border:1px solid var(--btn-bd);
  border-radius:999px;
  background:var(--btn-bg); color:var(--btn-fg);
  text-decoration:none; cursor:pointer;
  transition:transform .25s var(--ease), background-color .25s var(--ease),
             color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space:nowrap;
}
.btn--primary{ --btn-bg:var(--fg); --btn-fg:var(--bg); --btn-bd:var(--fg); }
.btn--primary:hover{ box-shadow:0 0 0 4px rgba(244,246,247,.12), 0 14px 40px -12px rgba(255,255,255,.35); transform:translateY(-2px); }
.btn--ghost{ --btn-bg:transparent; --btn-fg:var(--fg); --btn-bd:#333A3F; }
.btn--ghost:hover{ --btn-bd:var(--fg); background:rgba(255,255,255,.05); transform:translateY(-2px); }
.btn--lg{ font-size:1rem; padding:1.05em 2.1em; }
.btn--sm{ font-size:.85rem; padding:.7em 1.3em; }
.btn--block{ display:flex; width:100%; }
.btn:active{ transform:translateY(0); }

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:100;
  background:rgba(8,9,10,.72);
  backdrop-filter:blur(16px) saturate(1.4);
  -webkit-backdrop-filter:blur(16px) saturate(1.4);
  border-bottom:1px solid transparent;
  transition:border-color .3s var(--ease), background-color .3s var(--ease);
}
.nav.is-stuck{ border-bottom-color:var(--line-soft); background:rgba(8,9,10,.9); }
.nav__inner{ display:flex; align-items:center; gap:24px; min-height:70px; }

.brand{ display:flex; align-items:center; gap:11px; text-decoration:none; margin-right:auto; }
.brand__mark{ width:34px; height:34px; }
.brand__text{ display:flex; flex-direction:column; line-height:1; }
.brand__name{ font-family:var(--font-display); font-size:1.12rem; font-weight:500; letter-spacing:.22em; }
.brand__sub{ font-family:var(--font-display); font-size:.5rem; font-weight:400; letter-spacing:.42em; color:var(--fg-dim); margin-top:4px; }

.nav__links{ display:flex; gap:30px; }
.nav__links a{
  position:relative; text-decoration:none; font-size:.9rem; font-weight:500;
  color:var(--fg-muted); transition:color .2s var(--ease);
}
.nav__links a::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:1px;
  background:var(--fg); transform:scaleX(0); transform-origin:left;
  transition:transform .3s var(--ease);
}
.nav__links a:hover{ color:var(--fg); }
.nav__links a:hover::after{ transform:scaleX(1); }

.nav__actions{ display:flex; align-items:center; gap:12px; }

.nav__toggle{
  display:none; width:40px; height:40px; padding:0;
  background:none; border:1px solid var(--line); border-radius:10px;
  cursor:pointer; position:relative;
}
.nav__toggle span{
  position:absolute; left:11px; right:11px; height:1.5px; background:var(--fg);
  transition:transform .3s var(--ease), opacity .2s var(--ease);
}
.nav__toggle span:nth-child(1){ top:15px; }
.nav__toggle span:nth-child(2){ bottom:15px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(5.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ transform:translateY(-5.5px) rotate(-45deg); }

.nav__mobile{
  display:none; flex-direction:column; gap:4px;
  padding:12px var(--gut) 24px;
  border-top:1px solid var(--line-soft);
}
.nav__mobile a:not(.btn){
  text-decoration:none; padding:13px 0; font-size:1.05rem; color:var(--fg-muted);
  border-bottom:1px solid var(--line-soft);
}
.nav__mobile .btn{ margin-top:16px; }

/* ---------- Hero ---------- */
.hero{ position:relative; padding-top:clamp(48px,8vw,86px); overflow:hidden; }
.hero__glow{
  position:absolute; inset:-30% 0 auto; height:820px; pointer-events:none;
  background:radial-gradient(58% 52% at 50% 40%, rgba(255,255,255,.10), rgba(255,255,255,0) 70%);
}
.hero__inner{ position:relative; text-align:center; }

.eyebrow{
  display:inline-flex; align-items:center; gap:.55em;
  font-size:.78rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
  color:var(--fg-muted);
  border:1px solid var(--line); border-radius:999px;
  padding:.55em 1.15em; background:rgba(255,255,255,.03);
}

.hero__title{
  font-size:clamp(2.05rem, 4.6vw, 3.5rem);
  margin:26px auto 0;
  max-width:30ch;
  text-wrap:balance;
  font-weight:400;
}
.hero__title em{ color:var(--fg); position:relative; }

.hero__sub{
  margin:22px auto 0; max-width:60ch;
  color:var(--fg-muted); font-size:clamp(1rem,1.6vw,1.1rem);
}

/* VSL */
.vsl{
  position:relative; margin:clamp(34px,5vw,52px) auto 0; max-width:900px;
  border-radius:var(--r-lg); overflow:hidden;
  border:1px solid var(--line);
  background:#000;
  box-shadow:0 40px 100px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04);
}
.vsl__video{ width:100%; aspect-ratio:16/9; height:auto; object-fit:cover; background:#000; }
.vsl__play{
  position:absolute; inset:0; width:100%; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
  background:linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.55));
  border:0; cursor:pointer; color:var(--fg);
  font-family:var(--font-body); font-size:.95rem; font-weight:600;
  transition:opacity .35s var(--ease), background-color .35s var(--ease);
}
.vsl__play svg{
  width:72px; height:72px; fill:var(--bg); padding:22px;
  background:var(--fg); border-radius:50%;
  transition:transform .3s var(--ease);
  box-shadow:0 0 0 0 rgba(255,255,255,.35);
}
.vsl__play:hover svg{ transform:scale(1.08); }
.vsl__play i{ font-style:normal; color:var(--fg-muted); }
.vsl.is-playing .vsl__play{ opacity:0; pointer-events:none; }

.hero__cta{
  display:flex; flex-wrap:wrap; gap:14px; justify-content:center;
  margin-top:clamp(28px,4vw,38px);
}
.hero__note{
  display:inline-flex; align-items:center; gap:.5em;
  margin-top:20px; font-size:.9rem; color:var(--fg-dim);
}

/* Marquee */
.marquee{
  margin-top:clamp(56px,8vw,90px);
  border-block:1px solid var(--line-soft);
  padding:18px 0; overflow:hidden;
  mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
}
.marquee__track{
  display:flex; gap:26px; align-items:center; width:max-content;
  animation:marquee 42s linear infinite;
  font-family:var(--font-display); font-size:1rem;
  letter-spacing:.2em; text-transform:uppercase; color:var(--fg-dim);
}
.marquee__track i{ font-style:normal; color:#3A4147; }
@keyframes marquee{ to{ transform:translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee__track{ animation:none; } }

/* ---------- Sections ---------- */
.section{ padding-block:var(--sec-y); }
.section--alt{ background:var(--bg-alt); border-block:1px solid var(--line-soft); }

.shead{ text-align:center; max-width:660px; margin:0 auto clamp(38px,5vw,60px); }
.shead__kicker{
  font-size:.75rem; font-weight:600; letter-spacing:.2em; text-transform:uppercase;
  color:var(--fg-dim); margin-bottom:14px;
}
.shead__title{ font-size:clamp(1.9rem,4.2vw,3.1rem); }
.shead__sub{ margin-top:16px; color:var(--fg-muted); }

/* ---------- Rail (carousel) ---------- */
.rail{ position:relative; }
.rail__track{
  display:flex; gap:20px; list-style:none; margin:0;
  --rail-inset:max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  padding:6px var(--rail-inset) 28px;
  overflow-x:auto; scroll-snap-type:x mandatory;
  scrollbar-width:none; -ms-overflow-style:none;
  scroll-padding-inline:var(--rail-inset);
}
.rail__track::-webkit-scrollbar{ display:none; }

.rail__nav{
  position:absolute; top:calc(50% - 40px); z-index:5;
  width:46px; height:46px; display:grid; place-items:center;
  background:rgba(20,23,25,.85); backdrop-filter:blur(10px);
  color:var(--fg); border:1px solid var(--line); border-radius:50%;
  cursor:pointer; transition:all .25s var(--ease);
}
.rail__nav svg{ width:20px; height:20px; }
.rail__nav--prev{ left:max(8px, calc((100vw - var(--wrap))/2 + var(--gut) - 58px)); }
.rail__nav--next{ right:max(8px, calc((100vw - var(--wrap))/2 + var(--gut) - 58px)); }
.rail__nav:hover{ background:var(--fg); color:var(--bg); border-color:var(--fg); }
.rail__nav[disabled]{ opacity:0; pointer-events:none; }

/* Work cards */
.card{
  flex:0 0 min(420px, 78vw); scroll-snap-align:start;
}
.card__media{
  position:relative; aspect-ratio:16/9; border-radius:var(--r);
  overflow:hidden; background:#000; border:1px solid var(--line);
  transition:border-color .3s var(--ease), transform .4s var(--ease);
}
.card:hover .card__media{ border-color:#3A4147; transform:translateY(-4px); }
.card__media video{ width:100%; height:100%; object-fit:cover; }
.card__sound{
  position:absolute; right:12px; bottom:12px; z-index:2;
  width:38px; height:38px; display:grid; place-items:center;
  background:rgba(8,9,10,.7); backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.16); border-radius:50%;
  color:var(--fg); cursor:pointer; transition:background-color .2s var(--ease);
}
.card__sound svg{ width:18px; height:18px; fill:currentColor; }
.card__sound:hover{ background:rgba(8,9,10,.95); }
.card__sound .i-on{ display:none; }
.card__sound[aria-pressed="true"] .i-on{ display:block; }
.card__sound[aria-pressed="true"] .i-off{ display:none; }

.card__meta{ padding:16px 2px 0; }
.card__meta h3{ font-size:1.1rem; letter-spacing:0; }
.card__meta p{ margin-top:5px; font-size:.85rem; color:var(--fg-dim); }

/* Quotes */
.rail__track--quotes .quote{ flex:0 0 min(400px, 82vw); scroll-snap-align:start; }
.quote{
  display:flex; flex-direction:column; gap:18px;
  padding:30px; border-radius:var(--r);
  background:var(--surface); border:1px solid var(--line);
}
.stars{ color:var(--fg); letter-spacing:.18em; font-size:.95rem; }
.quote blockquote{ margin:0; color:var(--fg); font-size:1.02rem; line-height:1.6; flex:1; }
.quote__by{ display:flex; align-items:center; gap:12px; padding-top:16px; border-top:1px solid var(--line); }
.quote__by strong{ display:block; font-size:.92rem; font-weight:600; }
.quote__by small{ display:block; font-size:.8rem; color:var(--fg-dim); }
.avatar{
  width:38px; height:38px; flex:none; border-radius:50%;
  display:grid; place-items:center;
  background:var(--surface-2); border:1px solid var(--line);
  font-family:var(--font-display); font-size:.95rem; color:var(--fg-muted);
}

/* ---------- Steps ---------- */
.steps{ list-style:none; margin:0; padding:0; display:grid; gap:18px; }
.step{
  display:grid; grid-template-columns:auto 1fr 260px; gap:clamp(20px,3vw,40px); align-items:center;
  padding:clamp(26px,3.5vw,40px);
  background:var(--surface); border:1px solid var(--line); border-radius:var(--r-lg);
  transition:border-color .3s var(--ease);
}
.step:hover{ border-color:#333A3F; }
.step__n{
  font-family:var(--font-display); font-size:clamp(1.6rem,3vw,2.4rem);
  font-weight:300; color:var(--fg-dim); line-height:1;
}
.step__body h3{ font-size:clamp(1.3rem,2.4vw,1.75rem); }
.step__body p{ margin-top:12px; color:var(--fg-muted); max-width:52ch; }

.step__art{ height:150px; display:grid; place-items:center; }
.mock{
  width:100%; height:100%; border-radius:var(--r-sm);
  background:var(--bg); border:1px solid var(--line);
  padding:16px; display:flex; flex-direction:column; gap:10px; justify-content:center;
}
.mock__row{ display:flex; flex-direction:column; gap:5px; }
.mock__label{ height:6px; width:44%; background:#2C3237; border-radius:3px; }
.mock__label.short{ width:30%; }
.mock__field{ height:16px; background:var(--surface-2); border-radius:4px; }
.mock__field.tall{ height:26px; }
.mock__btn{ height:18px; width:52%; background:var(--fg); border-radius:999px; margin-top:2px; }

.mock--timeline{ gap:8px; }
.tl{ display:flex; gap:5px; height:20px; }
.tl i{ width:var(--w); background:var(--surface-2); border-radius:3px; border:1px solid var(--line); }
.tl--audio i{ background:linear-gradient(90deg,#2C3237 0 2px,transparent 2px 5px) repeat-x; height:14px; align-self:center; border-color:transparent; }

.mock--play{ place-items:center; }
.mock--play svg{ width:44px; height:44px; fill:var(--bg); padding:13px; background:var(--fg); border-radius:50%; }

/* ---------- Why ---------- */
.why{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(36px,5vw,72px); align-items:center; }
.why__title{ font-size:clamp(1.8rem,3.6vw,2.7rem); margin:14px 0 22px; }
.why__copy p{ color:var(--fg-muted); margin-bottom:16px; max-width:52ch; }
.why__stats{ display:flex; flex-wrap:wrap; gap:32px; margin:30px 0 32px; }
.why__stats strong{
  display:block; font-family:var(--font-display); font-weight:400;
  font-size:clamp(1.8rem,3vw,2.4rem); line-height:1;
}
.why__stats span{ display:block; margin-top:8px; font-size:.82rem; color:var(--fg-dim); }

.why__media{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.why__media img{
  width:100%; height:auto; aspect-ratio:16/10; object-fit:cover;
  border-radius:var(--r); border:1px solid var(--line);
}
.why__media img:nth-child(1){ transform:translateY(-14px); }
.why__media img:nth-child(4){ transform:translateY(14px); }

/* ---------- Form ---------- */
.form-shell{
  border:1px solid var(--line); border-radius:var(--r-lg);
  background:var(--surface); overflow:hidden;
  box-shadow:0 40px 100px -50px rgba(0,0,0,.9);
}
.form-perks{
  display:flex; flex-wrap:wrap; gap:10px 28px; justify-content:center;
  list-style:none; margin:0; padding:22px 26px;
  border-bottom:1px solid var(--line); background:var(--bg-alt);
  font-size:.9rem; color:var(--fg-muted);
}
.form-perks li{ display:flex; align-items:center; gap:.5em; }
.form-perks .ico{ color:var(--fg); }

.form-embed{ position:relative; min-height:900px; background:#fff; }
.form-embed iframe{ display:block; width:100%; min-height:900px; border:0; }
.form-embed__skeleton{
  position:absolute; inset:0; display:flex; flex-direction:column; gap:18px;
  padding:56px clamp(24px,6vw,72px); background:#fff;
}
.form-embed__skeleton span{
  height:46px; border-radius:8px;
  background:linear-gradient(90deg,#EDEFF1 25%,#F6F7F8 50%,#EDEFF1 75%) 0/300% 100%;
  animation:shimmer 1.4s linear infinite;
}
.form-embed__skeleton .wide{ height:120px; }
@keyframes shimmer{ to{ background-position:-300% 0; } }
@media (prefers-reduced-motion: reduce){ .form-embed__skeleton span{ animation:none; } }
.form-embed.is-loaded .form-embed__skeleton{ display:none; }

/* ---------- FAQ ---------- */
.faq{ display:grid; gap:10px; }
.faq__item{
  border:1px solid var(--line); border-radius:var(--r);
  background:var(--surface); overflow:hidden;
  transition:border-color .25s var(--ease);
}
.faq__item[open]{ border-color:#333A3F; }
.faq__item summary{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding:20px 24px; cursor:pointer; list-style:none;
  font-family:var(--font-display); font-size:1.08rem; font-weight:500;
}
.faq__item summary::-webkit-details-marker{ display:none; }
.faq__mark{ position:relative; width:16px; height:16px; flex:none; }
.faq__mark::before,.faq__mark::after{
  content:""; position:absolute; inset:50% 0 auto; height:1.5px; background:var(--fg-muted);
  transition:transform .3s var(--ease);
}
.faq__mark::after{ transform:rotate(90deg); }
.faq__item[open] .faq__mark::after{ transform:rotate(0); }
.faq__a{ padding:0 24px 22px; }
.faq__a p{ color:var(--fg-muted); max-width:66ch; }

.faq__cta{ text-align:center; margin-top:44px; }
.faq__cta p{ color:var(--fg-muted); margin-bottom:18px; }

/* ---------- Footer ---------- */
.footer{ border-top:1px solid var(--line-soft); padding-top:clamp(52px,7vw,80px); }
.footer__inner{ display:grid; grid-template-columns:1.4fr 1fr; gap:48px; padding-bottom:52px; }
.footer__brand img{ width:96px; height:auto; opacity:.9; }
.footer__brand p{ margin-top:20px; color:var(--fg-dim); font-size:.92rem; max-width:42ch; }
.footer__nav{ display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.footer__nav h4{ font-size:.75rem; letter-spacing:.16em; text-transform:uppercase; color:var(--fg-dim); margin-bottom:16px; font-family:var(--font-body); font-weight:600; }
.footer__nav a{ display:block; text-decoration:none; color:var(--fg-muted); font-size:.92rem; padding:5px 0; transition:color .2s var(--ease); }
.footer__nav a:hover{ color:var(--fg); }
.footer__base{
  display:flex; flex-wrap:wrap; gap:12px 28px; justify-content:space-between;
  border-top:1px solid var(--line-soft); padding-block:24px 28px;
  font-size:.8rem; color:var(--fg-dim);
}
.footer__disclaimer{ max-width:60ch; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:90;
  padding:12px var(--gut) calc(12px + env(safe-area-inset-bottom));
  background:rgba(8,9,10,.9); backdrop-filter:blur(14px);
  border-top:1px solid var(--line);
  transform:translateY(110%); transition:transform .35s var(--ease);
  display:none;
}
.sticky-cta.is-visible{ transform:translateY(0); }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .btn,.card__media{ transition:none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px){
  .step{ grid-template-columns:auto 1fr; }
  .step__art{ display:none; }
}

@media (max-width: 900px){
  .why{ grid-template-columns:1fr; }
  .why__media img:nth-child(1),.why__media img:nth-child(4){ transform:none; }
  .footer__inner{ grid-template-columns:1fr; gap:36px; }
}

@media (max-width: 820px){
  .nav__links{ display:none; }
  .nav__toggle{ display:block; }
  .nav__actions .btn{ display:none; }
  .nav__mobile{ display:flex; }
  .nav__mobile[hidden]{ display:none; }

  .rail__nav{ display:none; }
  .rail__track{ scroll-snap-type:x proximity; }

  .sticky-cta{ display:block; }
  body{ padding-bottom:0; }
  .footer{ padding-bottom:80px; }

  .hero__cta .btn{ width:100%; }
  .vsl__play svg{ width:60px; height:60px; padding:18px; }
}

@media (max-width: 560px){
  .step{ grid-template-columns:1fr; gap:14px; }
  .quote{ padding:24px; }
  .form-embed,.form-embed iframe{ min-height:1000px; }
  .why__stats{ gap:24px; }
}
