:root {
  --green: #0D2A24;      /* hunter green, the old-money anchor */
  --deep: #07130F;
  --ink: #0A1F1A;
  --ice: #E4E9EF;
  --silver: #C9D1DA;
  --brass: #B8934F;
  --glint: #BDEBFF;

  /* liquid chrome: the sharp line near the middle is the horizon reflection */
  --chrome: linear-gradient(180deg, #ffffff 0%, #eaeff5 28%, #a2adba 47%, #66727f 50%, #bcc6d1 55%, #f2f5f9 82%, #ffffff 100%);
  --chrome-edge: linear-gradient(135deg, #ffffff 0%, #9aa5b2 28%, #f3f6f9 52%, #7d8896 78%, #ffffff 100%);

  --display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --text: "Sora", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --gap: clamp(15px, 1.7vw, 24px); /* staff line spacing */
}

*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis-weight: none; } /* the display face has one weight; never fake-bold it */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ice);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 400;
  font-size: clamp(1rem, 0.94rem + 0.3vw, 1.14rem);
  line-height: 1.65;
}
img, iframe { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.block--green :focus-visible, .block--deep :focus-visible, .block--silver :focus-visible { outline-color: var(--glint); }

/* ---------- shared ---------- */
.block { padding: clamp(72px, 11vw, 150px) var(--gutter); }
.block--green  { background: var(--green); color: var(--silver); }
.block--deep   { background: var(--deep); color: var(--silver); }
.block--ice    { background: linear-gradient(180deg, #E8ECF1 0%, #D8DFE7 100%); color: var(--ink); }
.block--silver { background: linear-gradient(135deg, #F4F6F9 0%, #C2CBD6 34%, #EAEEF3 56%, #AAB4C1 100%); color: var(--ink); }
.wrap { max-width: 1280px; margin: 0 auto; }

.chrome {
  background: var(--chrome) 0 0 / 100% 1lh repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 1px rgba(0, 0, 0, 0.4));
}

.h2, .h3, .hero__title, .wordmark, .bignum, .midnum, .tile__name {
  font-family: var(--display);
  font-weight: 500;
}
.h2 {
  margin: 0 0 0.4em;
  max-width: 16ch;
  font-size: clamp(2.3rem, 1.1rem + 4.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h2--light { color: #EEF2F6; }
.h3 {
  margin: 0 0 0.5em;
  font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.lede { margin: 0 0 2em; max-width: 52ch; }

.btn {
  display: inline-block;
  padding: 0.95em 1.9em;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn--chrome {
  background: linear-gradient(180deg, #ffffff 0%, #eef1f5 45%, #c3ccd7 52%, #e6eaf0 100%);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  box-shadow: inset 0 1px 0 #fff, 0 8px 22px rgba(0, 0, 0, 0.35);
}
.btn--green { background: var(--green); border-color: var(--brass); color: #EEF2F6; box-shadow: 0 8px 20px rgba(10, 31, 26, 0.3); }

.textlink { font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.textlink--brass { color: #D8B878; }
.textlink--green { color: var(--green); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  padding-top: clamp(20px, 3vw, 40px);
  padding-bottom: clamp(24px, 3vw, 44px);
  overflow: hidden;
  background:
    radial-gradient(55% 45% at 82% 18%, rgba(189, 235, 255, 0.2), transparent 62%),
    radial-gradient(50% 60% at 8% 92%, rgba(184, 147, 79, 0.2), transparent 60%),
    linear-gradient(165deg, #0F3229 0%, #08191A 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero > .hero__star { position: absolute; z-index: 0; }
.hero { --star-top: clamp(110px, 12vw, 190px); --star-right: clamp(10px, 6vw, 110px); --star-w: clamp(110px, 17vw, 250px); }
.hero__star {
  top: var(--star-top);
  right: var(--star-right);
  width: var(--star-w);
  height: auto;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 6px rgba(200, 240, 255, 0.55));
}
/* the motto under the star */
.hero > .hero__motto {
  position: absolute; z-index: 1; margin: 0;
  top: calc(var(--star-top) + var(--star-w) + 2px);
  width: 300px;  /* centred under the star, but never pushed off the right edge */
  right: max(12px, calc(var(--star-right) + var(--star-w) / 2 - 150px));
  display: flex; justify-content: center; align-items: center; gap: 0.9em; white-space: nowrap;
  font-size: clamp(0.62rem, 0.5rem + 0.25vw, 0.78rem); font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: #D9BC7A; text-shadow: 0 0 14px rgba(200, 240, 255, 0.25);
  pointer-events: none;
  animation: mottoIn 1.6s ease 0.6s both;
}
.hero__motto::before, .hero__motto::after { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, transparent, #D9BC7A); }
.hero__motto::after { transform: scaleX(-1); }
@keyframes mottoIn { from { opacity: 0; letter-spacing: 0.6em; } to { opacity: 1; } }
/* the star: breathes, throws a slow ripple, turns its fine rays, and twinkles a few sparks around it */
.hero__star > * { transform-box: view-box; transform-origin: 50px 50px; }
.star__halo { animation: starHalo 5s ease-in-out infinite; }
.star__main { animation: starBreathe 5s ease-in-out infinite; }
.star__diag { animation: starDiag 5s ease-in-out infinite; }
.star__core { animation: starCore 5s ease-in-out infinite; }
.star__rays { opacity: 0.32; animation: starSpin 40s linear infinite; }
.star__ring { opacity: 0; animation: starRing 5s ease-out infinite 2.2s; }
.star__spark { transform: scale(0); animation: starSpark 3.4s ease-in-out infinite; }
.star__spark.s1 { transform-origin: 14px 18px; animation-delay: 0.4s; }
.star__spark.s2 { transform-origin: 88px 80px; animation-delay: 1.5s; }
.star__spark.s3 { transform-origin: 84px 12px; animation-delay: 2.4s; animation-duration: 4.1s; }
.star__spark.s4 { transform-origin: 10px 86px; animation-delay: 3.1s; animation-duration: 4.6s; }
@keyframes starBreathe { 0%, 100% { transform: scale(0.9); } 50% { transform: scale(1.06); } }
@keyframes starDiag { 0%, 100% { transform: rotate(45deg) scale(1.05); opacity: 0.75; } 50% { transform: rotate(45deg) scale(0.8); opacity: 0.35; } }
@keyframes starHalo { 0%, 100% { opacity: 0.7; transform: scale(0.94); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes starCore { 0%, 40%, 60%, 100% { transform: scale(1); } 50% { transform: scale(1.7); } }
@keyframes starSpin { to { transform: rotate(360deg); } }
@keyframes starRing { 0% { opacity: 0.55; transform: scale(0.6); } 100% { opacity: 0; transform: scale(2); } }
@keyframes starSpark { 0%, 100% { transform: scale(0); opacity: 0; } 45% { transform: scale(1) rotate(45deg); opacity: 1; } 70% { transform: scale(0) rotate(90deg); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero__star * { animation: none !important; }
  .hero__motto { animation: none; }
  .star__spark, .star__ring { display: none; }
}
.hero__bar { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.wordmark { flex: none; }
.wordmark picture { display: block; }
.wordmark img { display: block; height: clamp(36px, 4.4vw, 50px); width: auto; }
.wordmark {
  font-size: 1.75rem;
  font-style: italic;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: #EEF2F6;
}
.hero__nav { display: flex; gap: clamp(14px, 3vw, 36px); font-size: 0.92rem; font-weight: 500; }
.hero__nav a { text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; color: var(--silver); }
.hero__nav a:hover { border-bottom-color: var(--brass); color: #fff; }

.hero__copy { margin: auto 0; padding: clamp(36px, 6vw, 80px) 0 clamp(28px, 4vw, 52px); }
.hero__title {
  margin: 0 0 0.4em;
  max-width: 16ch;
  font-size: clamp(2.6rem, 0.6rem + 7.4vw, 6.9rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
/* one orchestrated moment: a single sweep of light across the headline */
.hero__title.chrome {
  background:
    linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.95) 50%, transparent 58%) 120% 0 / 250% 100% no-repeat,
    var(--chrome) 0 0 / 100% 1lh repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  animation: sweep 2.6s cubic-bezier(0.5, 0, 0.3, 1) 0.5s both;
}
@keyframes sweep {
  from { background-position: 120% 0, 0 0; }
  to   { background-position: -30% 0, 0 0; }
}
.hero__lede { margin: 0 0 1.8em; max-width: 46ch; font-size: 1.12em; font-weight: 300; color: #D5DCE4; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 0; }

/* the roulette wheel: a small one tucked under the star; click it and it comes forward, big */
.hero > .wheel {
  --w: 44px;
  position: absolute; z-index: 3; margin: 0;
  left: var(--wx, auto); top: var(--wy, 16px); right: auto;  /* wheel.js sets these: just above the Owners link */
  width: var(--w);
  transform-origin: 0 0;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wheel__btn {
  display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 166, 96, 0.35);
  transition: box-shadow 0.3s ease, scale 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}
.wheel__btn canvas { display: block; width: 100%; height: 100%; border-radius: 50%; }
.wheel:not(.is-big) .wheel__btn:hover { scale: 1.1; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 166, 96, 0.8), 0 0 14px rgba(201, 166, 96, 0.3); }
.wheel__btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 5px; }
.wheel.is-spinning .wheel__btn { cursor: default; }
.wheel__result, .wheel__close { display: none; }

.hero > .wheel.is-big { position: fixed; z-index: 301; right: auto; }
.wheel.is-big .wheel__btn { box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(201, 166, 96, 0.5); }
.wheel.is-big .wheel__result {
  display: grid; justify-items: center; gap: 6px; position: absolute; left: -10vw; right: -10vw; top: calc(100% + 16px);
  text-align: center; color: var(--silver);
  opacity: 0; transition: opacity 0.4s ease;
}
.wheel.is-big .wheel__result.is-shown { opacity: 1; }
.wr__num { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; }
.wr__num b { font-family: var(--display); font-weight: 400; font-size: 1.7rem; letter-spacing: 0; color: #F4EEDC; }
.wr__num i { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.45); }
.wr__q { display: block; max-width: 34ch; margin-top: 2px; font-family: var(--display); font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.4rem); line-height: 1.3; color: #F4EEDC; quotes: "\201C" "\201D"; }
.wr__by { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: #D9BC7A; }
.wr__by::before { content: "\2014\00a0"; }
.wheel__result.is-shown .wr__q, .wheel__result.is-shown .wr__by { animation: wrIn 0.7s ease both; }
.wheel__result.is-shown .wr__by { animation-delay: 0.25s; }
@keyframes wrIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wheel.is-big .wheel__close {
  display: grid; place-items: center; position: absolute; top: -6px; right: -6px;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(201, 166, 96, 0.6);
  background: rgba(8, 25, 26, 0.85); color: #F4EEDC; font-size: 1.4rem; line-height: 1; cursor: pointer;
  opacity: 0; transition: opacity 0.3s ease 0.3s;
}
.wheel.is-open .wheel__close { opacity: 1; }
.wheelback {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(2, 8, 6, 0.8); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.5s ease;
}
.wheelback.is-on { opacity: 1; }
.hero > .wheelback { position: fixed; z-index: 300; }
@media (max-width: 560px) {
  .hero > .wheel { --w: 34px; }
}
@media (prefers-reduced-motion: reduce) { .hero > .wheel, .wheelback, .wheel__btn { transition: none; } }

/* sheet music above a piano */
/* the piano gets its own room near the bottom of the page */
.keys {
  padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(56px, 8vw, 110px);
  background:
    radial-gradient(50% 60% at 90% 10%, rgba(189, 235, 255, 0.12), transparent 62%),
    radial-gradient(50% 60% at 8% 92%, rgba(184, 147, 79, 0.16), transparent 60%),
    linear-gradient(165deg, #0F3229 0%, #08191A 100%);
}
.staffwrap { margin: 0; padding: 0; }
.staff {
  position: relative;
  height: calc(var(--gap) * 9);
  margin-top: calc(var(--gap) * 0.4);
}
.staff__line {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--gap) * (var(--i) + 3));
  height: 1px;
  background: rgba(224, 231, 239, 0.75);
  pointer-events: none;
}
.staff__bar {
  position: absolute;
  top: calc(var(--gap) * 3);
  height: calc(var(--gap) * 4);
  width: 2px;
  background: var(--brass);
  pointer-events: none;
}
.staff__bar--start { left: 0; }
.staff__bar--end { right: 0; }

/* notes: real noteheads with stems, ledger lines and sharps */
.note {
  position: absolute;
  width: 0; height: 0;
  left: calc(var(--x) * 1%);
  top: calc(var(--gap) * (var(--p) / 2 + 3));
  pointer-events: none;
}
.note__head {
  position: absolute;
  width: calc(var(--gap) * 1.25);
  height: calc(var(--gap) * 0.92);
  left: calc(var(--gap) * -0.625);
  top: calc(var(--gap) * -0.46);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0 12%, #eef2f6 30%, #a9b4c1 100%);
  box-shadow: 0 0 14px rgba(189, 235, 255, 0.45);
  transform: rotate(-20deg);
}
.note__stem {
  position: absolute;
  width: 2px;
  height: calc(var(--gap) * 3.3);
  background: #E8EDF3;
}
.note--up .note__stem   { left: calc(var(--gap) * 0.56); bottom: 0; }
.note--down .note__stem { left: calc(var(--gap) * -0.58); top: 0; }
.note__ledger {
  position: absolute;
  left: calc(var(--gap) * -1.1);
  top: calc(var(--gap) * var(--dy) / 2);
  width: calc(var(--gap) * 2.2);
  height: 1px;
  background: rgba(224, 231, 239, 0.85);
}
.note__sharp {
  position: absolute;
  left: calc(var(--gap) * -2.0);
  top: calc(var(--gap) * -1.0);
  font-family: var(--display);
  font-size: calc(var(--gap) * 2);
  line-height: 1;
  color: #E8EDF3;
}
.note.is-new .note__head { animation: pop 0.22s ease-out both; }
@keyframes pop {
  from { transform: rotate(-20deg) scale(0.4); opacity: 0; }
  to   { transform: rotate(-20deg) scale(1); opacity: 1; }
}

/* the keyboard */
.piano {
  position: relative;
  display: flex;
  height: clamp(130px, 15vw, 190px);
  margin-top: calc(var(--gap) * 0.6);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  border-top: 3px solid var(--brass);
}
.key { border: 0; padding: 0; margin: 0; font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.key--white {
  flex: 1 1 0;
  min-width: 0;
  border-right: 1px solid #8D98A6;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #F4F6F9 0%, #E2E7EE 70%, #C9D1DA 100%);
  box-shadow: inset 0 -8px 10px rgba(10, 31, 26, 0.12);
  transition: background-color 0.06s linear;
}
.key--white:last-of-type { border-right: 0; }
.key--black {
  position: absolute;
  top: 0;
  height: 62%;
  width: calc(100% / var(--whites) * 0.62);
  left: calc(100% / var(--whites) * var(--at));
  transform: translateX(-50%);
  z-index: 2;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(180deg, #2A3B36 0%, #07130F 80%);
  box-shadow: inset 0 -4px 6px rgba(255, 255, 255, 0.12), 0 4px 10px rgba(0, 0, 0, 0.5);
}
.key--white.is-down { background: linear-gradient(180deg, #CDEBFA 0%, #9ED3EA 100%); }
.key--black.is-down { background: linear-gradient(180deg, #3F6A79 0%, #14323C 100%); box-shadow: 0 0 16px rgba(189, 235, 255, 0.7); }

.staffbar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px;
  margin-top: calc(var(--gap) * 0.7);
}
.staffbar__hint { margin: 0; font-size: 0.9rem; font-weight: 300; color: var(--silver); }
.staffbar__tools { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 0.5em 1.1em;
  border: 1px solid rgba(201, 209, 218, 0.6);
  border-radius: 999px;
  background: transparent;
  color: var(--silver);
  font-family: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}
.chip:hover { background: var(--chrome-edge); color: var(--ink); border-color: #fff; }

/* ---------- work ---------- */
.job {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin-top: clamp(48px, 7vw, 100px);
}
.job--flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.job--flip .job__frame { order: 2; }
.job__text p { margin: 0 0 1em; max-width: 40ch; }

.frame {
  border: 3px solid transparent;
  border-radius: 18px;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, var(--chrome-edge) border-box;
  overflow: hidden;
  box-shadow: 0 34px 50px -24px rgba(10, 31, 26, 0.55), 0 2px 0 rgba(255, 255, 255, 0.8);
}
.frame__top {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  color: var(--silver);
  font-size: 0.8rem;
}
.frame__top span { width: 10px; height: 10px; border-radius: 50%; background: var(--chrome-edge); }
.frame__top b { margin-left: 10px; font-weight: 400; opacity: 0.85; }
.frame__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #F4F6F9; }
.frame__screen iframe {
  position: absolute; top: 0; left: 0;
  width: 1280px; height: 800px;
  max-width: none;
  border: 0;
  transform-origin: top left;
  transform: scale(var(--s, 0.5));
}
.frame__shield {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 16px;
  border: 0;
  background: transparent;
  color: #EEF2F6;
  font-family: var(--text);
  font-weight: 500;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
}
.frame__shield span { padding: 0.45em 1em; border-radius: 999px; background: rgba(10, 31, 26, 0.88); }
.frame__screen.is-live .frame__shield { display: none; }

/* ---------- pricing plaque ---------- */
.plaque {
  padding: 10px;
  border: 1px solid var(--brass);
  background: linear-gradient(160deg, #123A30 0%, #0A1F1A 100%);
  box-shadow: 0 40px 60px -30px rgba(10, 31, 26, 0.7);
  color: var(--silver);
}
.plaque__inner { padding: clamp(28px, 5vw, 76px); border: 1px solid rgba(184, 147, 79, 0.55); }
.pricing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.pricing > * { min-width: 0; }
.bignum {
  margin: 0;
  font-size: clamp(5.5rem, 1rem + 15vw, 12rem);
  line-height: 0.88;
  letter-spacing: -0.03em;
}
.midnum {
  margin: 0.55em 0 0;
  font-size: clamp(3rem, 1.4rem + 6vw, 6rem);
  line-height: 0.95;
}
.midnum span { font-family: var(--text); font-size: 0.26em; font-weight: 400; letter-spacing: 0; }
.pricing__cap { margin: 0.6em 0 0; font-weight: 300; }
.plainlist { margin: 0 0 2em; padding: 0; list-style: none; max-width: 46ch; font-weight: 300; }
.plainlist li { padding: 0.65em 0; border-top: 1px solid rgba(184, 147, 79, 0.55); }
.plainlist li:last-child { border-bottom: 1px solid rgba(184, 147, 79, 0.55); }

/* ---------- hub ---------- */
.block--deep {
  background:
    radial-gradient(40% 40% at 90% 0%, rgba(189, 235, 255, 0.1), transparent 70%),
    radial-gradient(40% 40% at 0% 100%, rgba(184, 147, 79, 0.12), transparent 70%),
    var(--deep);
}
.hub { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(32px, 4vw, 56px); }
.tile {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(220px, 26vw, 360px);
  padding: clamp(20px, 2.6vw, 36px);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease;
}
a.tile:hover { transform: translateY(-6px); }
.tile--wide   { grid-column: span 4; }
.tile--narrow { grid-column: span 2; }
.tile--half   { grid-column: span 3; }

.tile--glass {
  border: 1px solid rgba(220, 228, 238, 0.4);
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02) 55%), #0D2A24;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: var(--silver);
}
.tile--chrome {
  border-radius: 50% 50% 26px 26px / 38% 38% 26px 26px; /* an arch */
  background: linear-gradient(135deg, #ffffff 0%, #C9D1DA 38%, #F2F5F8 58%, #A8B2BF 100%);
  color: var(--ink);
  padding-top: clamp(64px, 9vw, 120px); /* keeps the label clear of the arch */
}
.tile--brass {
  border: 1px solid var(--brass);
  border-radius: 26px;
  color: #D8B878;
}
.tile--aqua {
  border-radius: 60px;
  background: radial-gradient(120% 90% at 28% 8%, #ffffff 0, #D2F2FF 26%, #8FD3F0 62%, #4A9FC4 100%);
  color: #08202A;
}
.tile--aqua::before {
  content: "";
  position: absolute; left: 6%; right: 6%; top: 4%; height: 38%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.tile__kind { font-size: 0.85rem; font-weight: 500; margin-bottom: auto; position: relative; }
.tile__name {
  position: relative;
  font-size: clamp(2.1rem, 1rem + 4.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 1em 0 0.3em;
}
.tile--narrow .tile__name { font-size: clamp(1.8rem, 1rem + 2.4vw, 3.2rem); }
.tile__desc { position: relative; max-width: 34ch; font-size: 0.95rem; line-height: 1.5; font-weight: 300; }
.tile--chrome .tile__desc, .tile--aqua .tile__desc { font-weight: 400; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact .lede { margin-bottom: 0; }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 6px; font-size: 0.9rem; font-weight: 600; }
.field input, .field textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: 1px solid #8D98A6;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  font: 400 1rem/1.4 var(--text);
}
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--brass); outline-offset: 1px; background: #fff; }
.field textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { margin: 0; min-height: 1.5em; font-weight: 600; }
.form__status.is-error { color: #A12A22; }
.contact__direct { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.contact__direct li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.contact__direct span { min-width: 4.5em; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #5C6877; }
.contact__direct a { font-size: 1.15rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--brass); text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact__direct a:hover { text-decoration-thickness: 2px; }

/* ---------- footer ---------- */
.footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 28px var(--gutter);
  background: var(--green);
  color: var(--silver);
  font-size: 0.9rem;
}
.footer p { margin: 0; }
.footer__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__contact a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.35); text-underline-offset: 3px; }
.footer__contact a:hover { color: #fff; }
.footer strong { margin-right: 0.8em; font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.2rem; color: #EEF2F6; }

/* ---------- small screens ---------- */
@media (max-width: 860px) {
  .job, .job--flip, .pricing, .contact { grid-template-columns: minmax(0, 1fr); }
  .job--flip .job__frame { order: 0; }
  .tile--wide, .tile--narrow, .tile--half { grid-column: span 6; }
  .tile { min-height: 200px; }
  .tile--chrome { border-radius: 26px; }
}
@media (max-width: 560px) {
  .hero { --star-top: 112px; --star-right: -6px; --star-w: 88px; }
  .hero__star { opacity: 0.85; }
  .hero > .hero__motto { width: auto; top: calc(var(--star-top) + var(--star-w) / 2); right: calc(var(--star-right) + var(--star-w) - 4px); transform: translateY(-50%); font-size: 0.56rem; letter-spacing: 0.26em; }
  .hero__motto::before, .hero__motto::after { width: 12px; }
  .hero__copy { padding-top: 104px; } /* the headline always starts below the star */
  .hero__nav a:nth-child(3), .hero__nav a:nth-child(4) { display: none; }
  .frame__shield { display: none; }
  .frame__screen iframe { pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile, .key--white { transition: none; }
  .btn:hover, a.tile:hover { transform: none; }
  .hero__title.chrome { animation: none; background-position: -30% 0, 0 0; }
  .note.is-new .note__head { animation: none; }
}

/* ---------- intro: typewriter, then the paper burns away ---------- */
html.intro-on { overflow: hidden; }
html.intro-cover::before { content: ""; position: fixed; inset: 0; z-index: 9998; background: #000; }
#intro { position: fixed; inset: 0; z-index: 9999; touch-action: none; }
#intro canvas { display: block; width: 100%; height: 100%; }
.intro__skip {
  position: absolute; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
  padding: 0.5em 0.2em;
  border: 0; border-bottom: 1px solid rgba(160, 160, 160, 0.7);
  background: transparent;
  color: rgba(160, 160, 160, 0.9);
  mix-blend-mode: difference;
  font-family: var(--text);
  font-size: 0.85rem;
  cursor: pointer;
}
.intro__skip:hover { color: #fff; border-bottom-color: #fff; }
.intro__skip:focus-visible { outline-color: #888; }
/* hold the hero's opening moments until the page starts to burn away */
html.intro-on .hero__title.chrome { animation-play-state: paused; }

/* ---------- background music button ---------- */
.music-btn {
  position: fixed;
  left: clamp(14px, 2.5vw, 28px);
  bottom: clamp(14px, 2.5vw, 28px);
  z-index: 40;
  padding: 0.6em 1.2em;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #eef1f5 45%, #c3ccd7 52%, #e6eaf0 100%);
  color: var(--ink);
  font-family: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}
.music-btn[aria-pressed="true"] { background: linear-gradient(180deg, #CDEBFA 0%, #9ED3EA 100%); }
@media (max-width: 560px) {
  .music-btn { padding: 0.45em 0.9em; font-size: 0.75rem; left: 10px; bottom: 10px; opacity: 0.92; }
}

/* ---------- designer credit, top of the page ---------- */
.credit {
  margin: 0 0 clamp(14px, 2vw, 22px);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.credit b {
  white-space: nowrap;
  font-weight: 700;
  background: var(--chrome) 0 0 / 100% 1lh repeat-y;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (max-width: 560px) {
  .credit { font-size: 0.6rem; letter-spacing: 0.14em; }
}

/* while an overlay (the owners' suite) is open, the page behind it holds still */
html.casino-open { overflow: hidden; }

/* a little felt on the projects table */
.block--deep { position: relative; }
.block--deep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.5; mix-blend-mode: soft-light;
  background: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
.block--deep > * { position: relative; }


/* the big prices: heavier weight and a lower optical size so the thin strokes of the 4 stay visible on phones */
.bignum, .midnum {
  font-weight: 700;
  font-optical-sizing: none;
  font-variation-settings: "opsz" 14;
  -webkit-text-stroke: 0.028em rgba(214, 224, 234, 0.95);
  paint-order: stroke fill;
}
