/* ============================================================
   GLASSLARK AUTO STUDIO · Vyne demo
   Dark cinematic showroom. Hand-written CSS, no frameworks.
   ============================================================ */

:root {
  --ink: #0b0d0f;
  --ink-2: #101317;
  --ink-3: #171b21;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --paper: #eef1f4;
  --muted: #9aa3ad;
  --accent: #3fe8c5;
  --accent-ink: #062a23;
  --accent-dim: rgba(63, 232, 197, 0.14);
  --gold: #c9ab6e;
  --display: "Big Shoulders Display", sans-serif;
  --body: "Schibsted Grotesk", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
  --pad: clamp(20px, 5vw, 64px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }

h1, h2, h3 {
  font-family: var(--display);
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.01em;
  font-weight: 700;
}

h2 { font-size: clamp(38px, 6vw, 68px); }
h2 em, h1 em { font-style: normal; color: var(--accent); }

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.section { padding: clamp(72px, 10vw, 140px) var(--pad); max-width: 1280px; margin: 0 auto; }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.section__sub { color: var(--muted); margin-top: 20px; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 26px;
  cursor: pointer;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), opacity 180ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { transform: translateY(-2px); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--paper); }
.btn--ghost:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, 0.36); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: background-color 240ms var(--ease-out);
}
.nav.is-solid { background: rgba(11, 13, 15, 0.88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.nav__mark { width: 26px; height: 26px; color: var(--accent); align-self: center; }
.nav__name { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: 0.04em; }
.nav__sub { font-size: 10px; font-weight: 700; letter-spacing: 0.3em; color: var(--muted); }
.nav__links { display: none; gap: 26px; margin-left: auto; }
.nav__links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 160ms var(--ease-out);
}
.nav__links a:hover, .nav__links a:focus-visible { color: var(--paper); }
.nav__cta { margin-left: auto; padding: 10px 22px; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { margin-left: 0; }
}
@media (max-width: 480px) {
  .nav__sub { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 20% 100%, rgba(11, 13, 15, 0.82) 0%, rgba(11, 13, 15, 0.28) 55%, rgba(11, 13, 15, 0.12) 100%),
    linear-gradient(180deg, rgba(11, 13, 15, 0.55) 0%, rgba(11, 13, 15, 0.05) 30%, rgba(11, 13, 15, 0.4) 78%, var(--ink) 100%);
}
.hero__fade { position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(180deg, transparent, var(--ink)); }
.hero__content {
  position: relative;
  padding: 140px var(--pad) clamp(72px, 12vh, 130px);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(56px, 10.5vw, 128px);
  font-weight: 800;
  max-width: 11ch;
}
.hero__lede { color: #c3cad2; max-width: 52ch; margin-top: 24px; font-size: clamp(16px, 1.6vw, 19px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero__trust li { display: flex; align-items: center; gap: 9px; }
.hero__trust li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* staged hero entrance */
@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow, .hero__title, .hero__lede, .hero__actions, .hero__trust {
    animation: rise 800ms var(--ease-out) both;
  }
  .hero__title { animation-delay: 90ms; }
  .hero__lede { animation-delay: 180ms; }
  .hero__actions { animation-delay: 270ms; }
  .hero__trust { animation-delay: 380ms; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Marquee strip ---------- */
.strip {
  border-block: 1px solid var(--line);
  background: var(--ink-2);
  overflow: hidden;
  padding: 16px 0;
}
.strip__track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6d7681;
  animation: slide 30s linear infinite;
}
.strip__track i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: 0.65; flex: none; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* ---------- Before / After ---------- */
.ba {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line);
  cursor: ew-resize;
  max-height: 78vh;
}
.ba__img { width: 100%; height: 100%; object-fit: cover; max-height: 78vh; }
.ba__beforeWrap {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
}
.ba__beforeWrap .ba__img { width: 100vw; max-width: none; height: 100%; }
.ba__tag {
  position: absolute;
  top: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}
.ba__tag--before { left: 18px; background: rgba(11, 13, 15, 0.62); color: #d7dde3; }
.ba__tag--after { right: 18px; background: var(--accent); color: var(--accent-ink); }
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 44px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
}
.ba__handle:focus-visible { outline: none; }
.ba__handle:focus-visible .ba__grip { outline: 2px solid var(--accent); outline-offset: 3px; }
.ba__grip {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0b0d0f;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.5);
  transition: transform 160ms var(--ease-out);
}
.ba:hover .ba__grip { transform: scale(1.06); }

/* ---------- Packages ---------- */
.packages__grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .packages__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pkg {
  position: relative;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px 30px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
.pkg:hover { transform: translateY(-5px); border-color: var(--line-strong); }
.pkg--featured {
  background: linear-gradient(180deg, rgba(63, 232, 197, 0.09), rgba(63, 232, 197, 0.02) 45%), var(--ink-2);
  border-color: rgba(63, 232, 197, 0.4);
}
.pkg__flag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.pkg__name { font-size: 30px; letter-spacing: 0.03em; }
.pkg__price {
  font-family: var(--display);
  font-weight: 800;
  font-size: 52px;
  margin: 12px 0 6px;
  color: var(--accent);
  line-height: 1;
}
.pkg--featured .pkg__price { color: var(--paper); }
.pkg__price sup { font-size: 15px; font-weight: 600; color: var(--muted); margin-right: 6px; letter-spacing: 0.08em; }
.pkg__for { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.pkg__list { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; font-size: 15px; }
.pkg__list li { padding-left: 26px; position: relative; }
.pkg__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 13px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.pkg__cta { margin-top: auto; }

/* ---------- Process ---------- */
.process__list { list-style: none; display: grid; gap: clamp(40px, 6vw, 84px); }
.step {
  display: grid;
  gap: 26px;
  align-items: center;
}
@media (min-width: 860px) {
  .step { grid-template-columns: 1.15fr 1fr; }
  .step:nth-child(even) .step__media { order: 2; }
}
.step__media {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 2;
}
.step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.step:hover .step__media img { transform: scale(1.03); }
.step__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.3em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.step__body h3 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.step__body p { color: var(--muted); max-width: 46ch; }

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 860px) { .gallery__grid { grid-template-columns: repeat(3, 1fr); } }
.gallery__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  transition: transform 300ms var(--ease-out), opacity 300ms var(--ease-out);
}
.gallery__grid img:hover { transform: scale(1.02); }

/* ---------- Reviews ---------- */
.reviews__grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review__stars { color: var(--gold); letter-spacing: 4px; font-size: 15px; }
.review p { font-size: 16px; line-height: 1.6; }
.review footer { color: var(--muted); font-size: 13.5px; margin-top: auto; }
.review cite { font-style: normal; font-weight: 700; color: var(--paper); }

/* ---------- Booking ---------- */
.book { position: relative; max-width: none; isolation: isolate; }
.book__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(11, 13, 15, 0.96) 30%, rgba(11, 13, 15, 0.82) 100%),
    url("../img/cta-bg.jpg") center / cover no-repeat;
}
.book__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
@media (min-width: 960px) { .book__inner { grid-template-columns: 1.1fr 1fr; } }
.book__points { list-style: none; margin: 26px 0; display: grid; gap: 12px; color: #c3cad2; }
.book__points li { padding-left: 28px; position: relative; }
.book__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 13px; height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.book__alt { color: var(--muted); font-size: 15px; }
.book__alt a { color: var(--accent); font-weight: 700; text-decoration: none; }
.book__alt a:hover { text-decoration: underline; }

.book__form {
  position: relative;
  background: rgba(16, 19, 23, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow-card);
}
.book__formTitle { font-size: 26px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input {
  width: 100%;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 16px;
  transition: border-color 160ms var(--ease-out);
}
.field input::placeholder { color: #5c656f; }
.field input:focus { outline: none; border-color: var(--accent); }
.field input.is-error { border-color: #e86a5f; }
.book__submit { width: 100%; margin-top: 6px; }
.book__fine { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; }

.book__done {
  position: absolute;
  inset: 0;
  background: rgba(16, 19, 23, 0.97);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 30px;
  color: var(--paper);
}
.book__done[hidden] { display: none; }
.book__done svg { color: var(--accent); }
.book__done h3 { font-size: 30px; }
.book__done p { color: var(--muted); max-width: 30ch; }
@media (prefers-reduced-motion: no-preference) {
  .book__done:not([hidden]) { animation: rise 420ms var(--ease-out) both; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--ink-2); }
.footer__grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--pad) 40px;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.4fr; } }
.footer__logo { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: 0.04em; }
.footer__logo span { display: block; font-size: 11px; letter-spacing: 0.32em; color: var(--muted); font-weight: 700; }
.footer__tag { color: var(--muted); margin-top: 12px; font-size: 14.5px; }
.footer__col h4 {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer__col address { font-style: normal; color: var(--muted); font-size: 15px; line-height: 1.9; }
.footer__col address a { color: var(--paper); text-decoration: none; font-weight: 600; }
.footer__col address a:hover { color: var(--accent); }
.footer__hours { list-style: none; color: var(--muted); font-size: 15px; display: grid; gap: 8px; }
.footer__hours li { display: flex; justify-content: space-between; gap: 18px; max-width: 240px; }
.footer__hours li span:last-child { color: var(--paper); font-weight: 600; }
.footer__map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  aspect-ratio: 16 / 10;
  filter: grayscale(1) contrast(1.05);
}
.footer__map iframe { width: 100%; height: 100%; border: 0; display: block; }
.footer__base { border-top: 1px solid var(--line); padding: 20px var(--pad); }
.footer__base p { max-width: 1280px; margin: 0 auto; color: #6d7681; font-size: 13px; }
.footer__base a { color: var(--gold); text-decoration: none; font-weight: 600; }
.footer__base a:hover { text-decoration: underline; }

/* ---------- Vyne demo chip ---------- */
.vyne-chip {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(12, 14, 16, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 171, 110, 0.55);
  color: #efe6d4;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.vyne-chip.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.vyne-chip:hover { transform: translateY(-2px); }
.vyne-chip:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.vyne-chip__brand { color: var(--gold); font-weight: 800; letter-spacing: 0.14em; font-size: 12px; }
.vyne-chip__dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(201, 171, 110, 0.7); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .reveal.is-in { opacity: 1; transform: none; }
}

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