/* Kairo & Vale — base system
   Dark studio template. Type, chrome, overlays, motion primitives. */

:root {
  --bg: #0a0a0c;
  --bg-2: #0d0d10;
  --bg-3: #121216;
  --ink: #f2f1ec;
  --ink-soft: #c9c8c2;
  --dim: #8b8b91;
  --dim-2: #5b5b62;
  --line: rgba(255, 255, 255, 0.11);
  --line-soft: rgba(255, 255, 255, 0.055);
  --ember: #ff6a3d;
  --ember-soft: rgba(255, 106, 61, 0.16);
  --ice: #b9d4ff;
  --ice-soft: rgba(185, 212, 255, 0.15);
  --ok: #8fce9b;

  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --pad: clamp(20px, 4.2vw, 64px);
  --gutter: clamp(20px, 4.2vw, 64px);
  --radius: 2px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --head-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

::selection {
  background: var(--ember);
  color: #0a0a0c;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 1.5px solid var(--ember);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

/* ---------- type ---------- */

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.048em;
  line-height: 0.9;
}

.mono {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.5;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 12px rgba(255, 106, 61, 0.7);
}

.lede {
  font-size: clamp(1.02rem, 1.35vw, 1.22rem);
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.012em;
  max-width: 46ch;
}

.muted {
  color: var(--dim);
}

/* ---------- layout ---------- */

.wrap {
  width: 100%;
  max-width: 1560px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(84px, 11vw, 160px);
}

.section-tight {
  padding-block: clamp(56px, 7vw, 96px);
}

.rule {
  height: 1px;
  background: var(--line);
  width: 100%;
}

.split-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 5vw, 64px);
}

.split-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.04em;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1.02;
}

/* ---------- header ---------- */

.site-head {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--head-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-inline: var(--gutter);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s;
}

.site-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.86), rgba(10, 10, 12, 0));
  pointer-events: none;
  transition: opacity 0.3s;
}

.site-head.is-stuck::before {
  opacity: 1;
  background: linear-gradient(to bottom, rgba(10, 10, 12, 0.97) 62%, rgba(10, 10, 12, 0));
}
.site-head.is-stuck {
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.wordmark {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  z-index: 2;
  color: var(--ink);
}

.wordmark svg {
  width: 26px;
  height: 26px;
  overflow: visible;
}

.wordmark span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.head-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill {
  --pill-bg: transparent;
  --pill-fg: var(--ink);
  --pill-line: rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid var(--pill-line);
  border-radius: 999px;
  background: var(--pill-bg);
  color: var(--pill-fg);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.35s var(--ease), color 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}

.pill:hover {
  background: var(--ink);
  color: #0a0a0c;
  border-color: var(--ink);
}

.pill--solid {
  --pill-bg: var(--ink);
  --pill-fg: #0a0a0c;
  --pill-line: var(--ink);
}
.pill--solid:hover {
  --pill-bg: var(--ember);
  --pill-line: var(--ember);
  color: #0a0a0c;
}

.pill--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.4);
}

.pill .arrow {
  transition: transform 0.35s var(--ease);
}
.pill:hover .arrow {
  transform: translate(2px, -2px);
}

.menu-trigger {
  gap: 11px;
  padding-right: 17px;
}

.menu-glyph {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 15px;
  height: 8px;
}
.menu-glyph i {
  display: block;
  height: 1px;
  width: 100%;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s, width 0.4s;
}
.menu-glyph i:last-child {
  width: 9px;
  margin-left: auto;
}

body.menu-open .menu-glyph i:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
body.menu-open .menu-glyph i:last-child {
  width: 100%;
  transform: translateY(-3.5px) rotate(-45deg);
}
body.menu-open .menu-trigger {
  background: var(--ink);
  color: #0a0a0c;
  border-color: var(--ink);
}

/* sound */

.sound-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--dim);
  transition: color 0.3s, background 0.3s, border-color 0.3s;
}
.sound-btn:hover {
  color: var(--ink);
  border-color: var(--line);
}
.sound-btn[aria-pressed="true"] {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.22);
}

.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.eq i {
  display: block;
  width: 2px;
  height: 4px;
  background: currentColor;
  transform-origin: bottom;
  transition: height 0.25s var(--ease);
}
.eq i:nth-child(2) {
  height: 7px;
}
.eq i:nth-child(3) {
  height: 11px;
}
.eq i:nth-child(4) {
  height: 5px;
}
.sound-btn[aria-pressed="true"] .eq i {
  animation: eq 1.1s ease-in-out infinite alternate;
}
.sound-btn[aria-pressed="true"] .eq i:nth-child(2) {
  animation-delay: 0.18s;
}
.sound-btn[aria-pressed="true"] .eq i:nth-child(3) {
  animation-delay: 0.34s;
}
.sound-btn[aria-pressed="true"] .eq i:nth-child(4) {
  animation-delay: 0.09s;
}
.sound-btn .sound-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@keyframes eq {
  0% {
    height: 3px;
  }
  100% {
    height: 12px;
  }
}

/* ---------- overlay menu ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #08080a;
  color: var(--ink);
  display: grid;
  grid-template-rows: var(--head-h) 1fr auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.menu-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 60% at 78% 18%, rgba(255, 106, 61, 0.11), transparent 62%),
    radial-gradient(60% 50% at 12% 90%, rgba(185, 212, 255, 0.07), transparent 65%);
  pointer-events: none;
}

body.menu-open .menu-overlay {
  visibility: visible;
  opacity: 1;
}

.menu-overlay .menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.menu-body {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 0 var(--gutter);
  min-height: 0;
}

.menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.menu-links li {
  border-top: 1px solid var(--line-soft);
  overflow: hidden;
}
.menu-links li:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.menu-link {
  display: flex;
  align-items: baseline;
  gap: clamp(14px, 2vw, 30px);
  padding: clamp(8px, 1.2vh, 16px) 0;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.5s, color 0.3s;
  transition-delay: var(--d, 0s);
}

body.menu-open .menu-link {
  transform: none;
  opacity: 1;
}

.menu-link .idx {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--dim-2);
  width: 24px;
  flex: none;
}

.menu-link .label {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.4vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 500;
  transition: transform 0.5s var(--ease), color 0.3s;
}

.menu-link .tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-left: auto;
  align-self: center;
  transition: color 0.3s;
}

.menu-link:hover .label,
.menu-link:focus-visible .label {
  transform: translateX(10px);
  color: #fff;
}
.menu-link:hover .tag {
  color: var(--ember);
}

.menu-link[aria-current="page"] .label {
  color: var(--ember);
}

.menu-preview {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #0c0c0f;
  display: grid;
  place-items: center;
}

.menu-preview .pv {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 0.55s var(--ease), transform 0.8s var(--ease);
}
.menu-preview .pv.is-on {
  opacity: 1;
  transform: none;
}
.menu-preview .pv svg {
  width: 100%;
  height: 100%;
}
.menu-preview .pv::after {
  content: attr(data-caption);
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.menu-preview .empty {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim-2);
}

.menu-foot {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 26px var(--gutter) 28px;
  border-top: 1px solid var(--line-soft);
}

.menu-foot .col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.menu-foot .col a:hover {
  color: var(--ember);
}
.menu-foot .lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-bottom: 2px;
}
.menu-foot .val {
  font-size: 14px;
  color: var(--ink-soft);
}
.menu-foot .clocks {
  display: flex;
  gap: 28px;
}
.menu-foot .clock b {
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

/* ---------- modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.modal.is-open {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.78);
  backdrop-filter: blur(10px) saturate(0.8);
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: min(88vh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #0c0c0f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: clamp(24px, 4vw, 46px);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.5s var(--ease);
}
.modal.is-open .modal-panel {
  transform: none;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--dim);
  transition: color 0.25s, border-color 0.25s, transform 0.4s var(--ease);
}
.modal-close:hover {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 500;
  margin-bottom: 10px;
}
.modal-sub {
  color: var(--dim);
  font-size: 14.5px;
  max-width: 42ch;
  margin-bottom: 28px;
}

/* ---------- forms ---------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.field > label,
.field-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}

.input,
.textarea,
.select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 10px 0 12px;
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.3s;
  appearance: none;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--dim-2);
}
.input:focus,
.textarea:focus,
.select:focus {
  outline: none;
  border-color: var(--ember);
}
.textarea {
  resize: vertical;
  min-height: 92px;
  line-height: 1.5;
}
.select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%),
    linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 10px) 19px, calc(100% - 5px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 26px;
}
.select option {
  background: #0c0c0f;
  color: var(--ink);
}

.field.has-error .input,
.field.has-error .textarea,
.field.has-error .select {
  border-color: #ff5b4a;
}

.err {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ff7a68;
  min-height: 0;
  display: none;
}
.field.has-error .err {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 22px;
}

.form-note {
  font-size: 12px;
  color: var(--dim-2);
  margin-top: 14px;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 26px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  background: var(--ink);
  color: #0a0a0c;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.3s, transform 0.3s var(--ease);
}
.btn-solid:hover {
  background: var(--ember);
}
.btn-solid[disabled] {
  opacity: 0.5;
  cursor: progress;
}

.form-success {
  display: none;
  text-align: left;
  padding: 10px 0 4px;
}
.form-success.is-on {
  display: block;
}
.form-success .tick {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ok);
  color: var(--ok);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin-bottom: 8px;
}
.form-success p {
  color: var(--dim);
  font-size: 14.5px;
  max-width: 40ch;
}
form.is-sent {
  display: none;
}

/* ---------- reveals ---------- */

html.reveal-armed [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}
html.reveal-armed [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--rd, 0s);
}

html.reveal-armed .line-mask > span {
  display: block;
  transform: translateY(105%);
}
html.reveal-armed .line-mask.is-in > span {
  transform: none;
  transition: transform 1s var(--ease);
  transition-delay: var(--rd, 0s);
}

/* ---------- marquee ---------- */

.marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee var(--speed, 42s) linear infinite;
}
.marquee-track.rev {
  animation-direction: reverse;
}
@keyframes marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ---------- footer ---------- */

.site-foot {
  position: relative;
  padding-top: clamp(70px, 10vw, 130px);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.foot-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  padding-bottom: clamp(56px, 8vw, 110px);
}

.foot-cta .big {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 8.4vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}
.foot-cta .big em {
  font-style: normal;
  color: var(--dim-2);
  transition: color 0.4s;
}
.foot-cta .big em:hover {
  color: var(--ember);
}

.round-cta {
  width: clamp(88px, 12vw, 148px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--ink);
  transition: background 0.4s var(--ease), color 0.3s, border-color 0.3s;
  flex: none;
}
.round-cta:hover {
  background: var(--ink);
  color: #0a0a0c;
  border-color: var(--ink);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 30px;
  padding-block: 40px;
  border-top: 1px solid var(--line-soft);
}

.foot-col .lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dim-2);
  margin-bottom: 14px;
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 14px;
  color: var(--ink-soft);
}
.foot-col a:hover {
  color: var(--ember);
}
.foot-col .big-mail {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  display: inline-block;
}
.foot-col .big-mail:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding-block: 20px 26px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim-2);
}
.foot-bottom a:hover {
  color: var(--ink);
}

.foot-ghost {
  position: absolute;
  left: 50%;
  bottom: 86px;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(6rem, 23vw, 22rem);
  line-height: 0.7;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.site-foot .wrap {
  position: relative;
  z-index: 1;
}

/* ---------- cursor ---------- */

.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 120;
  border-radius: 50%;
  display: none;
}
body.has-cursor .cursor,
body.has-cursor .cursor-dot {
  display: grid;
}
body.has-cursor,
body.has-cursor a,
body.has-cursor button {
  cursor: none;
}
.cursor {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  place-items: center;
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s, border-color 0.3s;
}
.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--ember);
}
.cursor.is-label {
  background: var(--ink);
  border-color: var(--ink);
}
.cursor .cursor-text {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a0c;
  opacity: 0;
  transition: opacity 0.2s;
}
.cursor.is-label .cursor-text {
  opacity: 1;
}
body.menu-open .cursor,
body.menu-open .cursor-dot,
body.modal-open .cursor,
body.modal-open .cursor-dot {
  display: none;
}

/* ---------- misc ---------- */

.is-locked {
  overflow: hidden;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}

.link-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-underline:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (max-width: 900px) {
  .menu-body {
    grid-template-columns: 1fr;
    align-content: center;
  }
  .menu-preview {
    display: none;
  }
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .foot-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .round-cta {
    width: 104px;
  }
  .menu-foot .clocks {
    display: none;
  }
}

@media (max-width: 620px) {
  :root {
    --head-h: 66px;
  }
  .head-right {
    gap: 4px;
  }
  .sound-btn {
    padding: 0 10px;
  }
  .sound-btn .sound-label {
    display: none;
  }
  .sound-btn {
    padding: 0 8px;
  }
  .site-head .pill--solid {
    display: inline-flex;
    min-height: 36px;
    padding: 0 13px;
    font-size: 9.5px;
  }
  .site-head .pill--solid svg {
    display: none;
  }
  .menu-trigger {
    min-height: 38px;
    padding: 0 14px;
    font-size: 9.5px;
    gap: 8px;
  }
  .wordmark span {
    display: none;
  }
  .wordmark svg {
    width: 24px;
    height: 24px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .menu-link .tag {
    display: none;
  }
  .foot-cta .big {
    letter-spacing: -0.045em;
  }
  .modal-panel {
    max-height: 90vh;
  }
}

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

/* menu preview surfaces */

.menu-preview .pv {
  background: #0b0c10;
}
.menu-preview .pv svg {
  width: 100%;
  height: 100%;
  display: block;
}
.menu-preview .pv[data-caption]::after {
  content: attr(data-caption);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 54px 20px 16px;
  background: linear-gradient(to top, rgba(6, 6, 8, 0.9), rgba(6, 6, 8, 0));
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pv-a {
  background: radial-gradient(60% 55% at 60% 40%, rgba(120, 150, 210, 0.22), transparent 65%), #0a0b0e;
}
.pv-b {
  background: #191310;
}
.pv-c {
  background: #0b1210;
}
.pv-d {
  background: #0c1116;
}
