:root {
  --ink: #0a0c0b;
  --ink-soft: #151916;
  --paper: #f2eee5;
  --paper-bright: #fbfaf6;
  --mist: #d8d2c6;
  --acid: #dfff55;
  --coral: #f56f58;
  --sky: #9ccdc9;
  --amber: #d9aa54;
  --line: rgba(10, 12, 11, 0.14);
  --line-light: rgba(255, 255, 255, 0.17);
  --ease-editorial: cubic-bezier(0.76, 0, 0.24, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--amber) var(--ink);
}

body {
  background: var(--paper);
}

.concept-progress {
  position: fixed;
  z-index: 400;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--acid);
  transform: scaleX(0);
  transform-origin: left;
  pointer-events: none;
}

::selection {
  background: var(--acid);
  color: var(--ink);
}

a,
button,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 9px;
  letter-spacing: 0.22em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.button,
.old-way-start,
.form-submit {
  overflow: hidden;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.button:hover,
.button:focus-visible,
.old-way-start:hover,
.old-way-start:focus-visible,
.form-submit:hover,
.form-submit:focus-visible {
  transform: translateY(-3px);
}

.site-header {
  z-index: 100;
  transition: min-height 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-compact,
.lead-header.is-compact {
  box-shadow: 0 14px 44px rgba(10, 12, 11, 0.08);
}

.site-header .brand span,
.lead-header .brand span,
.detail-footer .brand span {
  letter-spacing: -0.035em;
}

.site-header--overlay {
  min-height: 96px;
  padding-right: max(3.2vw, 26px);
  padding-left: max(3.2vw, 26px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(7, 9, 8, 0.64), rgba(7, 9, 8, 0));
}

.site-header--overlay .brand img {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.cinematic-audience-switch {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(7, 9, 8, 0.34);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.2);
}

.cinematic-audience-switch button[aria-pressed="true"] {
  background: var(--paper-bright);
  color: var(--ink);
}

.cinematic-nav a {
  position: relative;
}

.cinematic-nav > a:not(.cinematic-nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 280ms var(--ease-editorial);
}

.cinematic-nav > a:hover::after,
.cinematic-nav > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.cinematic-nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.cinematic-nav-cta:hover,
.cinematic-nav-cta:focus-visible {
  background: white;
  color: var(--ink);
  transform: translateY(-2px);
}

/* The opening behaves like an editorial cover with two living perspectives. */
.cinematic-gateway {
  min-height: 760px;
  background: #0b0d0b;
}

.cinematic-scene {
  transition-duration: 1150ms;
}

.cinematic-scene--split {
  background-position: center 54%;
  filter: saturate(0.9) contrast(1.02);
}

.cinematic-scene--guest {
  background-position: center 61%;
}

.cinematic-scene--restaurant {
  background-position: center 54%;
}

.cinematic-scrim {
  background:
    linear-gradient(180deg, rgba(5, 7, 6, 0.58) 0%, rgba(5, 7, 6, 0.06) 36%, rgba(5, 7, 6, 0.16) 58%, rgba(5, 7, 6, 0.86) 100%),
    radial-gradient(circle at 24% 38%, rgba(5, 7, 6, 0.68), transparent 52%),
    linear-gradient(90deg, rgba(5, 7, 6, 0.36), transparent 64%);
}

.cinematic-gateway::after {
  content: "";
  position: absolute;
  z-index: 6;
  inset: 0;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 7.5vw 7.5vw;
  mask-image: linear-gradient(to bottom, black, transparent 68%);
  pointer-events: none;
}

.cinematic-seam {
  left: 50%;
  opacity: 0.7;
  background: linear-gradient(transparent 8%, rgba(255, 255, 255, 0.62) 34%, rgba(255, 255, 255, 0.62) 66%, transparent 92%);
}

.cinematic-seam span {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(6, 8, 7, 0.38);
  box-shadow: inset 0 0 0 12px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.cinematic-message {
  top: clamp(150px, 19vh, 205px);
  left: max(5.6vw, 48px);
  width: min(1080px, 88vw);
}

.cinematic-message::before {
  inset: -75px -150px -80px -90px;
  background: radial-gradient(ellipse at 26% 48%, rgba(5, 7, 6, 0.68) 0%, rgba(5, 7, 6, 0.43) 39%, rgba(5, 7, 6, 0.1) 69%, transparent 80%);
}

.cinematic-message h1 {
  max-width: 1000px;
  margin: 22px 0 26px;
  font-size: clamp(72px, 8.45vw, 154px);
  line-height: 0.77;
  letter-spacing: -0.07em;
}

.cinematic-message h1 em {
  color: #f3d493;
  font-weight: 400;
}

.cinematic-copy {
  max-width: 510px;
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.46);
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(15px, 1.18vw, 19px);
}

.cinematic-paths {
  right: max(3.2vw, 26px);
  bottom: 34px;
  left: auto;
  width: min(760px, 61vw);
  gap: 9px;
}

.cinematic-path {
  min-height: 118px;
  padding: 22px 23px;
  border-color: rgba(255, 255, 255, 0.24);
  border-radius: 2px;
  background: rgba(7, 9, 8, 0.48);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px) saturate(1.15);
  transition: background 300ms ease, border-color 300ms ease, transform 300ms var(--ease-editorial);
}

.cinematic-path:hover,
.cinematic-path:focus-visible {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(10, 12, 11, 0.75);
  transform: translateY(-7px);
}

.cinematic-path[aria-pressed="true"] {
  border-color: var(--acid);
  background: rgba(10, 12, 11, 0.82);
}

.cinematic-path-copy small {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 0.2em;
}

.cinematic-path-copy strong {
  font-family: var(--serif);
  font-size: clamp(23px, 2vw, 33px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.cinematic-path-arrow {
  align-self: end;
  border-color: rgba(255, 255, 255, 0.38);
}

.cinematic-path:hover .cinematic-path-arrow,
.cinematic-path:focus-visible .cinematic-path-arrow,
.cinematic-path[aria-pressed="true"] .cinematic-path-arrow {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--ink);
}

.cinematic-prompt {
  right: auto;
  bottom: 52px;
  left: max(3.2vw, 26px);
  display: flex;
  align-items: center;
  gap: 10px;
}

.cinematic-prompt span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 0 rgba(223, 255, 85, 0.5);
  animation: concept-pulse 2s ease-out infinite;
}

@keyframes concept-pulse {
  50% { box-shadow: 0 0 0 10px rgba(223, 255, 85, 0); }
}

.concept-cursor {
  position: fixed;
  z-index: 250;
  top: 0;
  left: 0;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(7, 9, 8, 0.32);
  color: white;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translate3d(-120px, -120px, 0);
  pointer-events: none;
  backdrop-filter: blur(10px);
  transition: width 180ms ease, height 180ms ease, background 180ms ease, opacity 180ms ease;
}

.has-fine-pointer .concept-cursor {
  opacity: 1;
}

.concept-cursor.is-pressed {
  width: 64px;
  height: 64px;
  background: rgba(223, 255, 85, 0.88);
  color: var(--ink);
}

/* Editorial audience pages */
.audience-page .site-header--solid,
.lead-header {
  border-bottom: 1px solid var(--line);
  background: rgba(242, 238, 229, 0.88);
  backdrop-filter: blur(22px) saturate(1.15);
}

.audience-page .site-header--dark,
.lead-header--dark {
  border-bottom-color: var(--line-light);
  background: rgba(10, 12, 11, 0.88);
}

.audience-nav {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.26);
}

.site-header--dark .audience-nav,
.lead-header--dark .audience-nav {
  border-color: var(--line-light);
  background: rgba(255, 255, 255, 0.05);
}

.detail-hero {
  min-height: calc(100svh - var(--header-height));
}

.detail-hero--guest {
  background:
    radial-gradient(circle at 20% 14%, rgba(255, 255, 255, 0.95), transparent 28%),
    linear-gradient(135deg, #f4f0e8 0%, #e9e4d9 100%);
}

.detail-hero-copy {
  padding-left: max(5.6vw, 48px);
}

.detail-hero-copy h1 {
  font-size: clamp(76px, 8.6vw, 158px);
  line-height: 0.76;
}

.detail-hero--guest .detail-hero-copy h1 em {
  color: #376b68;
}

.detail-hero--restaurant .detail-hero-copy h1 em {
  color: var(--acid);
}

.hero-deck {
  padding-left: 27px;
  border-left: 1px solid currentColor;
}

.hero-editorial {
  width: min(43vw, 720px);
  height: min(76vh, 840px);
}

.hero-editorial figure {
  position: relative;
  border-radius: 4px 4px 84px 4px;
}

.hero-editorial figure::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 2px 2px 66px 2px;
  pointer-events: none;
}

.hero-index {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.hero-index--dark {
  border-bottom-color: var(--line-light);
}

.problem-section {
  position: relative;
  border-radius: 0 0 80px 80px;
}

.problem-section::before {
  content: "OLD WAY / CLEARER WAY";
  position: absolute;
  top: 46px;
  right: max(5.6vw, 48px);
  color: rgba(10, 12, 11, 0.42);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.problem-section--restaurant::before {
  color: rgba(255, 255, 255, 0.38);
}

.problem-intro h2,
.why-matters-copy h2,
.product-preview-heading h2,
.closing-section h2,
.lead-intro h1,
.lead-form-copy h2 {
  text-wrap: balance;
}

.old-way-stage {
  border-radius: 4px 4px 56px 4px;
  box-shadow: 0 50px 120px rgba(40, 26, 15, 0.2);
}

.old-way-stage::after {
  content: "INTERACTIVE";
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.problem-solution {
  grid-column: 1 / -1;
}

.solution-scan-card {
  border-radius: 3px 3px 42px 3px;
}

.solution-scan-visual,
.solution-scan-visual img {
  border-radius: 2px 2px 32px 2px;
}

.product-preview {
  position: relative;
}

.product-preview--guest {
  background:
    radial-gradient(circle at 12% 22%, rgba(156, 205, 201, 0.13), transparent 31%),
    #0c100e;
  color: white;
}

.product-preview--restaurant {
  background:
    radial-gradient(circle at 90% 18%, rgba(223, 255, 85, 0.08), transparent 30%),
    #090b0a;
  color: white;
}

.product-preview--restaurant .product-preview-heading > p {
  color: rgba(255, 255, 255, 0.58);
}

.demo-window {
  --concept-x: 50%;
  --concept-y: 30%;
  border-radius: 5px 5px 58px 5px;
  box-shadow: 0 55px 130px rgba(24, 17, 10, 0.2);
}

.demo-window::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--concept-x) var(--concept-y), rgba(223, 255, 85, 0.12), transparent 28%);
  opacity: 0;
  transition: opacity 260ms ease;
  pointer-events: none;
}

.demo-window.is-exploring::before {
  opacity: 1;
}

.demo-window::after {
  content: "";
  position: absolute;
  z-index: 40;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: inherit;
  pointer-events: none;
}

.demo-window-bar {
  border-bottom: 1px solid rgba(10, 12, 11, 0.1);
}

.demo-window--dark .demo-window-bar {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.demo-tab {
  border-radius: 999px;
}

.quote-stage {
  border-radius: 4px 4px 72px 4px;
  background: #f1efe8;
}

.quote-stage blockquote {
  text-wrap: balance;
}

.closing-section {
  position: relative;
  isolation: isolate;
}

.closing-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(46vw, 660px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 72px rgba(255, 255, 255, 0.025), 0 0 0 144px rgba(255, 255, 255, 0.018);
}

.closing-section--guest::before {
  border-color: rgba(10, 12, 11, 0.12);
  box-shadow: 0 0 0 72px rgba(10, 12, 11, 0.022), 0 0 0 144px rgba(10, 12, 11, 0.014);
}

.detail-footer {
  border-top: 1px solid var(--line);
}

.detail-footer--dark {
  border-top-color: var(--line-light);
}

/* Lead pages remain production-ready visually while every submit is local-only. */
.lead-intro {
  min-height: 64svh;
}

.lead-intro h1 {
  max-width: 1050px;
}

.lead-page--guest .lead-intro {
  background:
    radial-gradient(circle at 82% 18%, rgba(156, 205, 201, 0.32), transparent 26%),
    var(--paper);
}

.lead-intro--dark {
  background:
    radial-gradient(circle at 84% 20%, rgba(223, 255, 85, 0.08), transparent 28%),
    #0b0e0c;
}

.lead-form {
  border-radius: 4px 4px 48px 4px;
}

.lead-form input,
.lead-form textarea {
  border-radius: 3px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: #477872;
  box-shadow: 0 0 0 4px rgba(71, 120, 114, 0.12);
}

.form-submit.is-complete {
  border-color: #477872;
  background: #477872;
}

.form-status.is-success {
  color: #376b68;
  font-weight: 700;
}

.lead-page--restaurant .form-status.is-success {
  color: #244e49;
}

@media (max-width: 1100px) {
  .cinematic-message {
    width: 88vw;
  }

  .cinematic-message h1 {
    font-size: clamp(68px, 10vw, 112px);
  }

  .cinematic-paths {
    width: min(710px, 70vw);
  }

  .problem-section::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .eyebrow {
    font-size: 8px;
  }

  .site-header--overlay {
    min-height: var(--header-height);
    padding: 0 16px;
    background: linear-gradient(180deg, rgba(7, 9, 8, 0.78), transparent);
  }

  .cinematic-gateway {
    min-height: 700px;
  }

  .cinematic-gateway::after {
    background-size: 25vw 25vw;
  }

  .cinematic-scene--split::before,
  .cinematic-scene--split::after {
    height: 100%;
    background-size: auto 90%;
  }

  .cinematic-message {
    top: calc(var(--header-height) + 29px);
    left: 14px;
    width: calc(100vw - 28px);
    padding: 22px 18px 24px;
    border-radius: 3px 3px 30px 3px;
    background: rgba(7, 9, 8, 0.53);
  }

  .cinematic-message h1 {
    margin: 14px 0 17px;
    font-size: clamp(50px, 14vw, 66px);
    line-height: 0.8;
  }

  .cinematic-copy {
    max-width: 31ch;
    padding-left: 16px;
    font-size: 13px;
  }

  .cinematic-paths {
    top: auto;
    right: 14px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    left: 14px;
    width: auto;
    height: 210px;
    gap: 7px;
    transform: none;
  }

  .cinematic-path {
    min-height: 90px;
    height: 210px;
    display: block;
    padding: 14px 13px;
    border-radius: 3px 3px 21px 3px;
  }

  .cinematic-path--guest,
  .cinematic-path--guest[aria-pressed="true"] {
    border-color: rgba(255, 255, 255, 0.78);
    background: rgba(248, 245, 238, 0.94);
    color: var(--ink);
  }

  .cinematic-path--guest .cinematic-path-copy small {
    color: rgba(10, 12, 11, 0.56);
  }

  .cinematic-path--restaurant,
  .cinematic-path--restaurant[aria-pressed="true"] {
    border-color: rgba(223, 255, 85, 0.62);
    background: rgba(9, 11, 9, 0.86);
    color: white;
  }

  .cinematic-path-copy small {
    margin-bottom: 7px;
    font-size: 6px;
  }

  .cinematic-path-copy strong {
    font-size: clamp(17px, 5.1vw, 22px);
  }

  .cinematic-path-arrow {
    width: 34px;
    height: 34px;
  }

  .cinematic-prompt {
    display: none;
  }

  .concept-cursor {
    display: none;
  }

  .detail-hero {
    min-height: 790px;
  }

  .hero-editorial,
  .hero-editorial--guest {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .detail-hero-copy {
    z-index: 6;
    border-radius: 3px 3px 32px 3px;
  }

  .detail-hero--guest .detail-hero-copy {
    background: rgba(244, 240, 232, 0.92);
  }

  .detail-hero--restaurant .detail-hero-copy {
    background: rgba(8, 11, 9, 0.9);
  }

  .detail-hero-copy h1 {
    font-size: clamp(53px, 15vw, 68px);
  }

  .hero-editorial figure,
  .hero-editorial figure::after {
    border-radius: 0;
  }

  .hero-editorial figure::before {
    inset: 12px;
    border-radius: 2px;
  }

  .hero-deck {
    padding-left: 16px;
  }

  .problem-section {
    border-radius: 0 0 38px 38px;
  }

  .old-way-stage,
  .demo-window,
  .quote-stage,
  .lead-form {
    border-radius: 3px 3px 30px 3px;
  }

  .solution-scan-card {
    border-radius: 3px 3px 28px 3px;
  }

  .solution-scan-visual,
  .solution-scan-visual img {
    border-radius: 2px 2px 21px 2px;
  }

  .closing-section::before {
    width: 86vw;
  }

  .lead-intro {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cinematic-prompt span {
    animation: none;
  }
}
