/* Glowmark Lights: one dark field (night asphalt), lit things in it. */
:root {
  --bg: #0a0b0d;
  --surface: #16171b;
  --surface-2: #202227;
  --ink: #eeede8;
  --muted: #c4c2bb;
  --accent: #f5c76a;      /* the warm amber of the light itself */
  --accent-ink: #111111;
  --m: clamp(16px, 2.2vw, 32px);
  --gap: clamp(12px, 1.7vw, 24px);
  --section: clamp(140px, 17vw, 240px);
  --display: "Unbounded", "Arial Black", sans-serif;
  --text: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step-small: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 2.8vw, 3.75rem);
  --step-q: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: var(--step-body); line-height: 1.62; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, dl, dd { margin: 0; }
h2 { font-size: var(--step-head); font-weight: 500; line-height: 1.04; letter-spacing: -0.025em; text-wrap: balance; }
h3 { font-weight: 500; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.soft { color: var(--muted); }
.skip { position: absolute; left: var(--m); top: -100px; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; z-index: 10; }
.skip:focus { top: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink); font: 500 var(--step-body)/1 var(--text);
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.btn:hover { background: #ffdb94; transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.link { display: inline-block; font-weight: 500; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--accent); transition: color .2s, text-underline-offset .2s; }
.link:hover { color: var(--accent); text-underline-offset: 9px; }

/* ---------- projection layers ---------- */
.proj { position: absolute; inset: 0; overflow: hidden; background: var(--bg); }
.proj img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.proj .l-soft { filter: blur(6px) brightness(.8); }
.proj .lyr { opacity: 0; transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.proj .lyr[src] { }
.proj.ready .fallback, .js .proj .fallback { display: none; }
.proj.ready .l-dark { opacity: 1; }
.proj .l-sharp { transform: scale(1.035); }
.proj.s-soft .l-soft { opacity: 1; }
.proj.s-sharp .l-sharp { opacity: 1; transform: none; }
.proj.s-sharp .l-soft { opacity: 0; transition-delay: .3s; }

/* labels every composited photo as a mockup */
.mock-tag { position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: 5px 10px; background: rgba(10, 11, 13, .78); color: var(--ink); font-size: .75rem; font-weight: 500; }

.hero-pause { position: relative; z-index: 2; grid-column: 2; grid-row: 2; align-self: end; justify-self: start; margin: 0 0 12px 12px; min-height: 32px; padding: 0 12px; border: 0; background: rgba(10, 11, 13, .78); color: var(--ink); font: 500 .75rem/1 var(--text); cursor: pointer; }
.hero-pause:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: var(--gap); min-height: 100svh; }
.hero-pic { grid-column: 2; grid-row: 1 / 3; position: relative; overflow: hidden; }
.hero-pic::after { content: ""; position: absolute; inset: 0 0 auto; height: 120px; background: linear-gradient(rgba(10,11,13,.75), rgba(10,11,13,0)); pointer-events: none; } /* taste-skill-ignore (neutral scrim over the photo) */
.logo { position: absolute; top: 18px; left: var(--m); z-index: 2; font: 800 1.0625rem/1 var(--display); text-transform: uppercase; letter-spacing: -0.02em; text-decoration: none; padding: 6px 0; }
.nav { position: absolute; top: 20px; right: var(--m); display: flex; gap: 28px; z-index: 2; font-size: var(--step-small); }
.nav a { text-decoration: none; padding: 6px 0; color: var(--ink); transition: color .2s; }
.nav a:hover, .logo:hover { color: var(--accent); }
.hero-band { display: contents; }
.hero-h { grid-column: 1; grid-row: 1; align-self: end; padding: 104px 0 32px var(--m); font: 800 clamp(2.25rem, 1rem + 3.6vw, 5rem)/.95 var(--display); text-transform: uppercase; letter-spacing: -0.03em; text-wrap: balance; max-width: 16ch; }
.hero-row { grid-column: 1; grid-row: 2; display: grid; gap: 32px; justify-items: start; padding: 0 0 64px var(--m); }
.lead { font-size: var(--step-lead); line-height: 1.35; max-width: 30ch; }
.hero-act { display: grid; gap: 16px; justify-items: start; }
.trust { font-size: var(--step-small); color: var(--ink); letter-spacing: .01em; }
.trust::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 1px; }

/* ---------- the door opens (pinned scene) ---------- */
.ritual { position: relative; height: 180vh; margin-top: calc(var(--section) * .5); }
.ritual-stage {
  position: sticky; top: 0; height: 100svh; display: grid; align-content: center; justify-items: center;
  grid-template-columns: 1fr auto 1fr; padding: 0 var(--m);
}
.r-top, .r-bottom { grid-column: 1 / -1; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: .95; font-size: clamp(36px, 5.6vw, 96px); text-align: center; position: relative; z-index: 2; }
.r-top { margin-bottom: .25em; }
.r-frame { grid-column: 2; grid-row: 2; position: relative; width: min(34vw, 50svh); aspect-ratio: 4 / 5; overflow: hidden; }
.r-bottom { grid-row: 3; margin-top: .2em; color: var(--accent); opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.r-cap { grid-column: 1 / -1; grid-row: 4; justify-self: center; margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease) .15s, transform .8s var(--ease) .15s; }
.r-cap li { justify-self: start; padding: 8px 14px; background: var(--surface-2); font-size: var(--step-small); font-weight: 500; }
.ritual[data-step="1"] .r-bottom, .ritual[data-step="2"] .r-bottom { opacity: 1; transform: none; }
.ritual[data-step="2"] .r-cap { opacity: 1; transform: none; }
.r-mark { position: absolute; left: 0; width: 0; height: 0; }
.r-mark[data-step="0"] { top: 0; } .r-mark[data-step="1"] { top: 40vh; } .r-mark[data-step="2"] { top: 80vh; }

/* ---------- try your name ---------- */
.try { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding: var(--section) var(--m) 0; align-items: center; }
.try-text { grid-column: 1 / 6; display: grid; gap: 24px; }
.try-text > p { max-width: 40ch; }
.try-pic { grid-column: 7 / 13; position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-height: 86svh; width: 100%; justify-self: end; }
.try-pic .proj { position: absolute; }
.try-form { display: grid; gap: 14px; }
.try-form label { font-weight: 500; }
textarea, input:not([type=checkbox]):not([type=radio]) {
  width: 100%; font: 400 var(--step-body)/1.4 var(--text); color: var(--ink); background: var(--surface);
  border: 1px solid #3a3c43; border-radius: 0; padding: 14px 16px; transition: border-color .2s, background-color .2s;
}
textarea:hover, input:not([type=checkbox]):not([type=radio]):hover { border-color: #5a5d66; }
textarea:focus, input:focus { border-color: var(--accent); background: var(--surface-2); outline: none; }
#try-text { font-family: var(--text); text-transform: none; resize: none; }
.fonts { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.fonts legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.fonts label { position: relative; }
.fonts input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.fonts span { pointer-events: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; background: var(--surface); color: var(--ink); font-weight: 400; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.fonts label:hover span { background: var(--surface-2); }
.fonts input:checked + span { background: var(--ink); color: var(--bg); }
.fonts input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.fonts input:active + span { transform: scale(.97); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400 !important; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }

/* ---------- designs: a tight grid of samples ---------- */
.designs { padding: var(--section) var(--m) 0; display: grid; gap: 56px; }
.d-head { display: grid; gap: 20px; max-width: 40ch; }
.d-head p { max-width: 34ch; }
.d-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.d-grid li { display: grid; gap: 12px; }
.d-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 62%; }
.d-grid span { font-size: var(--step-small); color: var(--muted); }

/* ---------- prices: like a menu ---------- */
.prices { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding: var(--section) var(--m) 0; }
.p-head { grid-column: 1 / 4; display: grid; gap: 20px; align-content: start; }
.p-head p { max-width: 26ch; }
.p-list { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.p-group h3 { font-size: var(--step-lead); margin-bottom: 28px; }
.p-group dl { display: grid; gap: 40px; }
.p-item { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
.p-item dt { font-weight: 500; }
.p-item .price { font-weight: 500; font-variant-numeric: tabular-nums; }
.p-item .price { font-size: var(--step-lead); color: var(--accent); }
.p-item .desc { grid-column: 1 / -1; color: var(--muted); max-width: 36ch; }
.p-item .resale { grid-column: 1 / -1; margin-top: 8px; justify-self: start; padding: 6px 12px; background: rgba(245, 199, 106, .12); color: var(--accent); font-weight: 500; font-size: var(--step-small); }

/* ---------- free preview form ---------- */
.preview { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); padding: var(--section) var(--m) 0; align-items: start; }
.pv-text { grid-column: 1 / 6; display: grid; gap: 32px; position: sticky; top: 40px; }
.pv-lead { font-size: var(--step-lead); line-height: 1.35; max-width: 26ch; }
.pv-next { padding-left: 1.2em; display: grid; gap: 14px; max-width: 40ch; }
.pv-next li::marker { color: var(--accent); font-weight: 500; }
.pv-form { grid-column: 7 / 13; background: var(--surface); padding: clamp(24px, 3.4vw, 56px); display: grid; gap: 30px; }
.sign { display: block; margin-top: 12px; color: var(--ink); font-weight: 500; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field { display: grid; gap: 10px; }
.field label { font-weight: 500; }
.hint { color: var(--muted); font-size: var(--step-small); }
.hp { position: absolute; left: -9999px; }
.label-txt { font-weight: 500; }
.drop { position: relative; display: grid; gap: 6px; justify-items: center; text-align: center; padding: 32px 20px; border: 2px dashed #4a4b50; background: var(--bg); cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.has-file { border-color: var(--accent); }
.drop:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; }
.drop-main { font-weight: 500; font-size: var(--step-lead); color: var(--accent); overflow-wrap: anywhere; }
.drop-main::before { content: "+"; display: block; font: 800 2rem/1 var(--display); margin-bottom: 6px; }
.drop.has-file .drop-main::before { content: "OK"; font-size: 1.1rem; }
.drop-sub { font-size: var(--step-small); color: var(--muted); max-width: 40ch; }
::placeholder { color: #8d8c87; }
.pv-form .btn { justify-self: start; }

/* ---------- sticky phone bar ---------- */
.sticky-cta { display: none; }

/* ---------- FAQ: big questions, answers beside ---------- */
.faq { padding: var(--section) var(--m); display: grid; gap: clamp(64px, 7vw, 104px); }
.q-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: baseline; }
.q { grid-column: 1 / 7; font-size: var(--step-q); font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; }
.q-row p { grid-column: 8 / 13; max-width: 42ch; }
#faq-h { color: var(--muted); }

/* ---------- footer: the name across the last picture ---------- */
.foot { position: relative; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; padding: 32px var(--m) 32px; }
.foot-pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: brightness(.62); }
.foot-top, .foot-bottom { position: relative; }
.foot-top { display: flex; justify-content: space-between; gap: 24px; }
.foot-top nav, .foot-contact { display: grid; gap: 8px; align-content: start; }
.foot-contact { text-align: right; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--accent); }
.foot-mark { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: .85; font-size: 12.4vw; white-space: nowrap; margin-left: -0.04em; transform-origin: 50% 100%; }
.legal { font-size: var(--step-small); color: var(--muted); margin-top: 18px; }

/* ---------- entrances ---------- */
.js [data-rise] > * { opacity: 0; transform: translateY(26px); }
.js [data-rise].in > * { opacity: 1; transform: none; transition: opacity .8s var(--ease) var(--d, 0ms), transform .9s var(--ease) var(--d, 0ms); }

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .try-text { grid-column: 1 / 7; }
  .try-pic { grid-column: 7 / 13; }
  .p-head { grid-column: 1 / -1; margin-bottom: 48px; }
  .p-list { grid-column: 1 / -1; }
  .pv-text { grid-column: 1 / -1; position: static; margin-bottom: 48px; }
  .pv-form { grid-column: 1 / -1; }
}

/* ---------- phone ---------- */
@media (max-width: 700px) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 56svh auto; min-height: 0; }
  .hero-pic { grid-column: 1; grid-row: 2; }
  .hero-pause { grid-column: 1; grid-row: 2; }
  .hero-h { grid-column: 1; grid-row: 1; padding: 80px var(--m) 24px; font-size: 10vw; }
  .logo { top: 14px; }
  .nav { gap: 18px; top: 14px; }
  .nav a:nth-child(1) { display: none; }
  .hero-row { grid-row: 3; justify-items: stretch; gap: 24px; padding: 28px var(--m) 16px; }
  .hero-act { justify-items: stretch; }
  .hero-act .btn { width: 100%; }
  .lead { font-size: 1.125rem; }

  .ritual-stage { grid-template-columns: 1fr; align-content: center; gap: 0; }
  .r-top, .r-bottom { font-size: 9vw; }
  .r-frame { grid-column: 1; width: 70vw; }
  .r-bottom { grid-row: 3; }
  .r-cap { grid-column: 1; margin-top: 22px; gap: 8px; }
  .ritual { height: 170vh; margin-top: 48px; }

  .try { display: flex; flex-direction: column; gap: 40px; }
  .try-pic { order: -1; width: 100%; }


  .designs { gap: 36px; }
  .d-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }

  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; align-items: center; gap: 14px; padding: 10px var(--m) calc(10px + env(safe-area-inset-bottom)); background: var(--surface-2); transform: translateY(110%); transition: transform .35s var(--ease); }
  .sticky-cta.on { transform: none; }
  .sticky-cta .btn { flex: 1; min-height: 48px; }
  .sticky-dm { font-size: var(--step-small); padding: 12px 0; white-space: nowrap; }
  .foot { padding-bottom: 96px; }

  .p-list { grid-template-columns: 1fr; row-gap: 48px; }
  .f2 { grid-template-columns: 1fr; }
  .pv-form .btn { justify-self: stretch; }

  .q-row { grid-template-columns: 1fr; row-gap: 12px; }
  .q, .q-row p { grid-column: 1; }
  .q { font-size: 1.5rem; }

  .foot { height: 88svh; }
  .faq { padding-bottom: 96px; }
  .foot-top { flex-direction: column; }
  .foot-contact { text-align: left; }
  .foot-mark { font-size: 19.6vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; transition-delay: 0ms !important; }
  .js [data-rise] > * { transform: none !important; }
  .proj .l-sharp, .r-bottom, .r-cap { transform: none !important; }
  .sticky-cta { transition: none; }
}

/* ---------- thanks and 404 pages ---------- */
.note-page { min-height: 100svh; display: grid; align-content: center; gap: 28px; padding: 96px var(--m); max-width: 60rem; }
.note-page .hero-h { padding: 0; }
.note-page .logo { top: 20px; }
