/* ==========================================================================
   Glass House: site.css
   Dark blue hour, warm light through glass, floating liquid-glass panels.
   Brand decisions: ../../../../brand/brand-book.src.html
   ========================================================================== */

/* lets the pointer highlight on glass ease instead of jump */
@property --mx { syntax: '<length-percentage>'; inherits: false; initial-value: 50%; }
@property --my { syntax: '<length-percentage>'; inherits: false; initial-value: -60%; }

:root {
  /* backgrounds: Blue Hour, taken darker */
  --night: #060911;
  --night-2: #0B1020;        /* Blue Hour */
  --night-3: #141B2E;
  --dusk: #34303F;           /* violet slate, gradients only */
  --sky: #0F2652;            /* where the hero photo's sky begins */

  /* glass */
  --glass: rgba(255, 255, 255, .06);
  --glass-strong: rgba(255, 255, 255, .10);
  --glass-line: rgba(255, 255, 255, .12);

  /* liquid glass: one recipe, applied near the end of this file */
  --lg-fill: linear-gradient(180deg, rgba(255, 255, 255, .085) 0%, rgba(255, 255, 255, .035) 45%, rgba(255, 255, 255, .02) 100%);
  --lg-rim: linear-gradient(150deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, .12) 20%, rgba(255, 255, 255, .03) 48%, rgba(255, 255, 255, .06) 76%, rgba(255, 255, 255, .3) 100%);
  --lg-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 40px 90px -42px rgba(0, 0, 0, .9), 0 14px 34px -20px rgba(0, 0, 0, .65);
  --lg-blur: blur(26px) saturate(175%);
  /* small glass (the Skip intro pill), shared by the header and the tour tile */
  --lg-chip-line: rgba(255, 255, 255, .12);
  --lg-chip-fill: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .035));
  --lg-chip-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 -1px 0 rgba(255, 255, 255, .04), 0 14px 34px -18px rgba(0, 0, 0, .75);

  /* text on dark */
  --text: #F3F1EC;
  --text-2: rgba(243, 241, 236, .7);
  --text-3: rgba(243, 241, 236, .46);

  /* light */
  --amber: #F0B46A;          /* Lamplight: the one light on (main action) and small accents */
  --amber-2: #FFD9A3;
  --ice: #9AD8FF;            /* cool glass glow: small secondary accent */
  --ink: #14100A;            /* text on amber */

  --error: #FFB4A8;

  --radius: 24px;
  --radius-sm: 14px;
  --radius-lg: 32px;
  --pill: 999px;

  --shadow: 0 40px 100px -30px rgba(0, 0, 0, .7), 0 12px 32px -12px rgba(0, 0, 0, .5);
  --shadow-soft: 0 24px 60px -24px rgba(0, 0, 0, .55);

  /* The brand faces are Literaturnaya (display) and Gotham (text). Until their web licenses
     are bought, these free stand-ins load from Google Fonts (partials/head.html). */
  --font-sans: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Libre Caslon Display', 'Iowan Old Style', 'Times New Roman', serif;
  --font-serif: 'Libre Caslon Text', 'Iowan Old Style', 'Times New Roman', serif;   /* italic accents */

  --header-h: 84px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(80px, 10vw, 148px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

@media (max-width: 767px) {
  :root { --header-h: 76px; }
}@media (max-width: 767px) {
  :root { --header-h: 64px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* Glows that bleed past a card (e.g. the work panel's) must not widen the page on phones:
   body's clip doesn't stop them counting toward the page's scroll width. */
main > section, main > .section { overflow-x: clip; }

body.nav-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
p { margin: 0; }
ul, ol { margin: 0; }

:focus-visible {
  outline: 2px solid var(--amber-2);
  outline-offset: 3px;
  border-radius: 6px;
}
main:focus { outline: none; }

::selection { background: rgba(240, 180, 106, .35); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}
.container--narrow { --container: 880px; }
.container--wide { --container: 1320px; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.034em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.031em;
}
.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.024em;
}
.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.021em;
  font-size: .94em;
  line-height: .9;
  color: var(--amber-2);
  padding-right: .03em;
}

.lede {
  font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}
.muted { color: var(--text-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-2);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber);
}
.eyebrow--pill {
  padding: 9px 16px 9px 14px;
  border: 1px solid var(--glass-line);
  border-radius: var(--pill);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--text);
}

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s, color .25s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(180deg, var(--amber-2), var(--amber));
  color: var(--ink);
  box-shadow: 0 12px 32px -12px rgba(240, 180, 106, .7), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 44px -12px rgba(240, 180, 106, .9), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn-glass {
  background: var(--glass);
  border-color: var(--glass-line);
  color: var(--text);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.btn-glass:hover { transform: translateY(-1px); border-color: rgba(255, 255, 255, .3); }
.btn-sm { min-height: 40px; padding: 0 17px; font-size: .88rem; }
/* white pill (the header's Book a demo) */
.btn-white {
  background: linear-gradient(180deg, #ffffff, #f2f2f4);
  color: #1b2130;
  box-shadow: inset 0 -1px 0 rgba(16, 20, 34, .08), 0 6px 18px -8px rgba(0, 0, 0, .45);
}
.btn-white:hover { transform: translateY(-1px); background: #fff; box-shadow: inset 0 -1px 0 rgba(16, 20, 34, .08), 0 10px 26px -10px rgba(0, 0, 0, .55); }
.header-inner .btn-demo { min-height: 46px; padding: 0 22px; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .65; cursor: progress; transform: none; }

/* Glow ring: a dark pill whose rim is a thin band of moving iridescent light (glow-ring.js paints it
   on a canvas behind the body; the body covers all but --ring of it). Without WebGL it stays a dark
   pill with a fine silver edge. */
.btn-ring {
  --ring: 2.2px;                   /* keep in step with LOOK.band in glow-ring.js */
  position: relative;
  isolation: isolate;
  border-color: rgba(236, 236, 240, .5);
  background: linear-gradient(180deg, #1c1c1f 0%, #0b0b0d 100%);
  color: #ececf0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 26px -12px rgba(0, 0, 0, .8);
}
.btn-ring:hover { transform: translateY(-1px); }
.btn-ring.is-lit { border-color: rgba(236, 236, 240, .42); background: none; box-shadow: 0 10px 26px -12px rgba(0, 0, 0, .8); }   /* the silver edge shows through the light's gaps */
.btn-ring__light {
  position: absolute;
  z-index: 0;
  inset: -10px;                    /* BLEED in glow-ring.js */
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  pointer-events: none;
}
.btn-ring__body {
  position: absolute;
  z-index: 1;
  inset: var(--ring);
  border-radius: inherit;
  background: linear-gradient(180deg, #1e1e21 0%, #0c0c0e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), inset 0 -6px 14px rgba(0, 0, 0, .55);
  pointer-events: none;
}
/* a near-black groove just inside the body's edge, lit faintly on its lower side, so the body reads as
   a raised slab inside the light rather than a hole cut into it */
.btn-ring__body::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid #070708;
  border-radius: inherit;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .05);
}
.btn-ring__label { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: inherit; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  text-decoration: none;
  color: var(--amber-2);
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* ---------- header: a floating liquid-glass pill ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--header-h);
  padding-top: 12px;
  pointer-events: none;            /* only the pill takes clicks */
  transition: transform .34s var(--ease-out), opacity .26s var(--ease-out);
}
/* past the film, scrolling down tucks it away (site.js); any scroll up brings it straight back */
.site-header.is-hidden {
  transform: translateY(calc(-100% - 28px));
  opacity: 0;
  transition: transform .6s var(--ease-out), opacity .45s var(--ease);
}
.header-inner {
  --container: 1160px;
  pointer-events: auto;
  height: calc(var(--header-h) - 22px);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 8px 0 18px;
  border-radius: var(--pill);
  /* smoked glass: a soft dark tint over a strong blur, so it reads dark over the film and pale-grey
     over light pictures, with a fine light rim all round */
  background: linear-gradient(180deg, rgba(44, 46, 52, .46), rgba(22, 24, 30, .4));
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .14), 0 16px 38px -20px rgba(0, 0, 0, .7);
  transition: background-color .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
/* the phone menu, while open, sits on the darker glass so its list stays readable */
body.nav-open .site-header .header-inner {
  background: linear-gradient(180deg, rgba(22, 28, 46, .74), rgba(9, 13, 24, .66));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), inset 0 0 0 1px rgba(255, 255, 255, .1), 0 26px 60px -26px rgba(0, 0, 0, .95);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .header-inner { background: rgba(14, 19, 34, .95); }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--text);
  text-decoration: none;
}
.brand-mark { width: 30px; height: 30px; }
.brand-name {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-primary { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; padding: 0; }
.nav-item { position: relative; }
.nav-link,
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--pill);
  background: none;
  color: var(--text-2);
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, background-color .2s;
}
.nav-link:hover,
.nav-trigger:hover,
.nav-trigger[aria-expanded="true"] { color: var(--text); background: var(--glass); }
.nav-link[aria-current="page"],
.nav-trigger[data-current] { color: var(--text); }
/* the header keeps the light glass everywhere, so its words carry a faint halo over bright pictures */
.header-inner :is(.brand-name, .nav-link, .nav-trigger, .nav-signin) { text-shadow: 0 1px 2px rgba(6, 9, 17, .35), 0 0 12px rgba(6, 9, 17, .4); }
:where(.header-inner) :is(.nav-link, .nav-trigger) { color: rgba(255, 255, 255, .92); }
.header-inner :is(.brand, .nav-link, .nav-trigger, .nav-toggle) { transition: color .3s var(--ease-out), background-color .2s, text-shadow .3s var(--ease-out); }
.brand-mark { transition: filter .3s var(--ease-out); }
/* over a light surface (site.js adds .is-over-light) the same glass carries dark words */
.site-header.is-over-light .header-inner :is(.brand, .nav-link, .nav-trigger, .nav-toggle) { color: rgba(16, 20, 34, .86); text-shadow: none; }
.site-header.is-over-light .header-inner :is(.brand-name, .nav-signin) { text-shadow: none; }
.site-header.is-over-light .header-inner :is(.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"]) { color: #0B0F1C; background: rgba(16, 20, 34, .06); }
.site-header.is-over-light .brand-mark { filter: brightness(0) opacity(.86); }
.nav-trigger .icon { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.nav-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: min(640px, calc(100vw - 32px));
  padding: 10px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(26, 32, 52, .78), rgba(10, 14, 26, .72));
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), var(--shadow);
}
.nav-menu[hidden] { display: none; }
.nav-menu:not([hidden]) { animation: menu-in .35s var(--ease-out); }
.nav-menu::before { /* hover bridge */
  content: "";
  position: absolute;
  inset: -20px 0 auto;
  height: 20px;
}
@keyframes menu-in {
  from { opacity: 0; transform: translate(-50%, -8px) scale(.98); filter: blur(6px); }
  to   { opacity: 1; transform: translate(-50%, 0); filter: none; }
}
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  list-style: none;
  padding: 0;
}
.menu-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background-color .2s;
}
.menu-link:hover, .menu-link:focus-visible { background: var(--glass); }
.menu-link[aria-current="page"] { background: var(--glass); }
.menu-photo {
  width: 44px; height: 44px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--glass-line);
  background: var(--night-3);
}
.menu-icon {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
  color: var(--amber-2);
}
.menu-icon .icon { width: 19px; height: 19px; }
.menu-title { display: block; font-size: .94rem; font-weight: 600; letter-spacing: -0.01em; }
.menu-desc { display: block; margin-top: 2px; font-size: .84rem; line-height: 1.45; color: var(--text-2); }
.menu-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  padding: 14px 14px 6px;
  border-top: 1px solid var(--glass-line);
  font-size: .86rem;
  color: var(--text-2);
}

.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  place-items: center;
  border: 1px solid var(--glass-line);
  border-radius: 50%;
  background: var(--glass);
  color: var(--text);
}
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }

@media (max-width: 1023px) {
  .nav-primary, .nav-signin { display: none; }
  .header-actions { margin-left: auto; gap: 10px; }
  .nav-toggle { display: inline-grid; }
}
/* phones keep Book a demo in the header: a tighter brand and a smaller button make room */
@media (max-width: 479px) {
  .header-inner { gap: 10px; padding-left: 14px; }
  .brand { gap: 9px; }
  .brand-mark { width: 26px; height: 26px; }
  .brand-name { font-size: .64rem; letter-spacing: .18em; }
  .header-actions { gap: 6px; }
  .header-inner .btn-demo { min-height: 38px; padding: 0 14px; font-size: .82rem; }
  .nav-toggle { width: 40px; height: 40px; }
}
@media (max-width: 349px) {
  .brand-name { display: none; }
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  padding-top: var(--header-h);
  z-index: 55;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(7, 10, 18, .97);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .drawer {
    background: rgba(7, 10, 18, .86);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
  }
}
.drawer[hidden] { display: none; }
.drawer:not([hidden]) { animation: fade-in .3s var(--ease-out); }
.drawer-inner {
  width: min(100% - 2 * var(--gutter), 640px);
  margin-inline: auto;
  padding: 20px 0 48px;
}
.drawer-label {
  margin: 24px 0 6px;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.drawer-list { list-style: none; padding: 0; }
.drawer-list--plain { margin-top: 18px; }
.drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-line);
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
}
.drawer-link img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--night-3); }
.drawer-link[aria-current="page"] { color: var(--amber-2); }
.drawer-title { display: block; font-weight: 600; }
.drawer-desc { display: block; font-size: .86rem; font-weight: 400; color: var(--text-2); }
.drawer-cta { width: 100%; margin-top: 28px; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
/* the former light sections: a soft Blue Hour band, still dark */
.section--paper, .section--paper-2 {
  background: linear-gradient(180deg, rgba(11, 16, 32, 0), rgba(11, 16, 32, .85) 14%, rgba(11, 16, 32, .85) 86%, rgba(11, 16, 32, 0));
}
.section--night-2 { background: rgba(11, 16, 32, .7); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head .lede { margin-top: 18px; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 24px 64px;
  align-items: end;
}
.section-head--split .lede { margin-top: 0; }
@media (max-width: 899px) {
  .section-head--split { grid-template-columns: 1fr; }
}

/* soft light in the dark */
.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at 85% 10%, rgba(240, 180, 106, .10), transparent 70%),
    radial-gradient(45% 40% at 5% 60%, rgba(154, 216, 255, .07), transparent 70%);
}
.glow { isolation: isolate; }

/* ---------- the drive-up film (home) ---------- */
/* Without the film (the default, and on phones, portrait tablets, reduced motion, Save-Data, no JS):
   the poster and the first beat fill the first screen, and beats 2-4 follow as glass cards.
   hero-film.js adds html.film-on on landscape screens: the stage pins and scrubs frames on the
   canvas while the beats fade in and out. The first screen is the same in both, so nothing shifts. */
.film {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  background: var(--night);
}
.film-stage { position: relative; }
.film-poster, .film-canvas, .film-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
}
.film-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; background: var(--night-2); }
.film-canvas { display: none; }
.film-scrim {   /* the header and the wordmark stay legible on any frame */
  background: linear-gradient(180deg, rgba(6, 9, 17, .6) 0%, rgba(6, 9, 17, .18) 24%, rgba(6, 9, 17, 0) 46%, rgba(6, 9, 17, .16) 100%);
  pointer-events: none;
}

/* beat 1: the name, the line, the cue */
.film-beat--intro {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--header-h) + clamp(12px, 3vh, 40px)) var(--gutter) clamp(22px, 4vh, 44px);
  text-align: center;
}
.film-beat--intro::before,
.film-on .film-beat--arrival::before {   /* night rises from the bottom: into the cards, or into the page */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 9, 17, 0) 58%, rgba(6, 9, 17, .55) 82%, var(--night) 100%);
  pointer-events: none;
}
.film-wordmark {
  width: min(100%, 1200px);
  margin: 0;
  font-family: var(--font-display);
  font-size: calc(min(100vw - 2 * var(--gutter), 1200px) * .1818);   /* about what site.js's [data-fit] settles on */
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: #fff;
  text-shadow: 0 0 .18em rgba(154, 216, 255, .5), 0 0 .5em rgba(154, 216, 255, .24), 0 .04em .3em rgba(6, 9, 17, .45);
}
/* Anchored left and centred with translate: site.js fits the name to --fit of the box (the rest split
   either side), so fitting it, or the web font arriving, never moves where it starts (no layout shift).
   "Glass House" fills 75% of the box: the same letter size the longer "Glass House AI" had at 94%,
   so the name sits over the ocean and clear of the house. */
.film-wordmark { --fit: .75; text-align: left; }
.film-wordmark > span { display: inline-block; vertical-align: top; translate: calc((1 - var(--fit)) / (2 * var(--fit)) * 100%) 0; }
/* the line under the name: the beat titles' face, smaller, low over the drive so the house stays clear */
.film-sub {
  margin: auto 0 clamp(10px, 2.4vh, 26px);   /* a little air above the scroll cue */
  max-width: 24em;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, min(.7rem + 2.5vw, 6vh), 3.5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 1px 2px rgba(6, 9, 17, .3), 0 6px 36px rgba(6, 9, 17, .6);
}
.film-cue {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: clamp(14px, 2.4vh, 24px);
  color: var(--text-2);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.film-cue .icon { width: 18px; height: 18px; }
/* With the film on, the site-wide scroll cue takes the in-beat one's place (scroll-cue.js); the
   in-beat one keeps its room so the line above it stays where it is. */
.film-on .film-cue { visibility: hidden; }

/* ---- the scroll cue: bottom centre while the reader is inside a scroll effect (scroll-cue.js) ---- */
.scroll-cue {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: clamp(22px, 4vh, 44px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-2);
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-indent: .32em;              /* the tracking after the last letter, so the word sits centred */
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(6, 9, 17, .55);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  translate: -50% 10px;
  filter: blur(4px);
  transition: opacity .45s var(--ease-out), translate .45s var(--ease-out), filter .45s var(--ease-out), visibility 0s .45s;
}
.scroll-cue.is-on {
  opacity: 1;
  visibility: visible;
  translate: -50% 0;
  filter: none;
  transition: opacity .9s var(--ease-out), translate .9s var(--ease-out), filter .9s var(--ease-out), visibility 0s;
}
.scroll-cue .icon { width: 18px; height: 18px; }

/* beats 2-4: large titles, one after another, the middle one to the right */
.film-beats {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
  display: grid;
  gap: clamp(44px, 7vw, 96px);
  padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 8vw, 112px);
}
.film-title {
  max-width: 13em;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.2rem + 3.4vw, 4.6rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: #fff;
  text-wrap: balance;
}
.film-beat--coordinators { justify-self: end; text-align: right; }
.film-actions { margin-top: 30px; }

/* the invitation to a tour. Without the film it follows the title; with it, it floats over the last frame's
   lower left (across the car's tail) and rises in as the arrival beat turns on (hero-film.js sets .is-off). */
.film-tour {
  width: min(100%, 420px);
  margin-top: 30px;
  padding: clamp(22px, 2.4vw, 30px);
  border: 1px solid;
  border-radius: var(--radius-lg);
  text-align: left;
}
.film-tour-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 1.3rem + 1.3vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.026em;
  color: #fff;
}
.film-tour-list { display: grid; gap: 9px; margin: 18px 0 0; padding: 0; list-style: none; }
.film-tour-list li { display: flex; align-items: center; gap: 11px; font-size: .92rem; color: #fff; }
/* the light glass lets the picture through: a soft dark halo keeps the words readable over the lit windows */
.film-tour-title, .film-tour-list li { text-shadow: 0 1px 2px rgba(6, 9, 17, .5), 0 0 14px rgba(6, 9, 17, .55), 0 0 4px rgba(6, 9, 17, .35); }
.film-tour-list .tour-ico { width: 24px; height: 24px; flex: none; overflow: visible; }
.tour-ico .ti-line { fill: none; stroke: rgba(255, 255, 255, .86); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.tour-ico .ti-dots { fill: rgba(255, 255, 255, .5); }
.tour-ico .ti-gold { fill: var(--amber); stroke: var(--amber); stroke-width: 1; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
/* with the film, the icons draw in one after another as the tile rises, then each gold accent settles
   down and to the right, toward the button; the button's arrow arrives last */
.film-on .tour-ico .ti-line { transition: stroke-dashoffset .7s var(--ease-out) var(--td, .4s); }
.film-on .tour-ico .ti-dots { transition: opacity .5s var(--ease-out) calc(var(--td, .4s) + .25s); }
.film-on .tour-ico .ti-gold { transition: opacity .3s var(--ease-out) calc(var(--td, .4s) + .5s), transform .6s cubic-bezier(.34, 1.56, .64, 1) calc(var(--td, .4s) + .5s); }
.film-on .film-tour-list li:nth-child(2) { --td: .65s; }
.film-on .film-tour-list li:nth-child(3) { --td: .9s; }
.film-on .film-tour-btn .icon { transition: transform .6s cubic-bezier(.34, 1.56, .64, 1) 1.75s, opacity .4s var(--ease-out) 1.75s; }
.film-on .film-beat--arrival.is-off .tour-ico .ti-line { stroke-dashoffset: 1; transition: none; }
.film-on .film-beat--arrival.is-off .tour-ico .ti-dots { opacity: 0; transition: none; }
.film-on .film-beat--arrival.is-off .tour-ico .ti-gold { opacity: 0; transform: translate(-3px, -3px) scale(.4); transition: none; }
.film-on .film-beat--arrival.is-off .film-tour-btn .icon { opacity: 0; transform: translateX(-8px); transition: none; }
@media (prefers-reduced-motion: reduce) {
  .tour-ico *, .film-tour-btn .icon { transition: none !important; }
}
.film-tour-btn { width: 100%; margin-top: 24px; }

.film-skip, .film-progress { display: none; }

@media (max-width: 767px) {
  .film-actions .btn { flex: 1 1 100%; }
}

/* ---- the film itself ---- */
.film-on .film {
  height: calc((100 + var(--film-len, 630)) * 1vh);
  height: calc((100 + var(--film-len, 630)) * 1svh);
}
.film-on .film-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
.film-on .film-canvas { display: block; opacity: 0; transition: opacity .7s var(--ease-out); }
.film-on .film-canvas.is-on { opacity: 1; }
.film-on .film-beats { position: absolute; inset: 0; width: auto; padding: 0; display: block; }
.film-on .film-beats .film-beat {
  position: absolute;
  inset: 0;
  display: flex;
  padding: calc(var(--header-h) + 24px) max(var(--gutter), (100% - var(--container)) / 2) clamp(64px, 11vh, 120px);
  opacity: 0;                      /* hero-film.js brings each beat in around its apex */
  pointer-events: none;
}
.film-on .film-beat--intro { position: absolute; inset: 0; min-height: 0; }
/* The titles alone, over the picture: hero-film.js glides each one in, grows it slowly through its
   apex and sends it out, scaling from the vanishing point so the camera seems to drive past it. */
.film-on .film-title {
  font-size: clamp(2.5rem, min(1rem + 3.9vw, 8.8vh), 5.8rem);
  line-height: 1;
  text-shadow: 0 1px 2px rgba(6, 9, 17, .3), 0 6px 36px rgba(6, 9, 17, .6);
}
.film-on .film-actions { display: none; }
.film-on .film-tour {
  position: absolute;
  left: clamp(28px, 5.6vw, 104px);
  bottom: clamp(36px, 7vh, 72px);
  width: min(430px, 33vw);
  margin: 0;
  pointer-events: auto;
  transition: transform 1.1s var(--ease-out), filter .9s var(--ease-out);
}
.film-on .film-beat--arrival.is-off .film-tour {
  transform: translateY(36px) scale(.96);
  filter: blur(10px);
  pointer-events: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition-duration: .4s;
}
@media (max-height: 700px) {
  .film-on .film-tour { padding: 20px 22px; }
  .film-on .film-tour-list { gap: 6px; margin-top: 12px; }
  .film-on .film-tour-btn { margin-top: 16px; min-height: 48px; }
}
/* They keep to the lower corners, clear of the car and the house at each beat. */
.film-on .film-beats .film-beat--seats { align-items: flex-end; justify-content: flex-start; padding-left: clamp(24px, 4vw, 64px); }
.film-on .film-beat--seats .film-title { max-width: min(9.2em, 40vw); }
.film-on .film-beats .film-beat--coordinators { align-items: flex-end; justify-content: flex-end; padding-right: clamp(24px, 4vw, 64px); padding-bottom: clamp(84px, 13vh, 140px); }
.film-on .film-beat--coordinators .film-title { max-width: min(8em, 34vw); }
/* the arrival: low on the right, so the lit house and the parked car stay in view */
.film-on .film-beats .film-beat--arrival { align-items: flex-end; justify-content: flex-end; text-align: right; padding-right: clamp(24px, 4vw, 64px); padding-bottom: clamp(36px, 7vh, 72px); }
.film-on .film-beat--arrival .film-title { max-width: min(6.8em, 46vw); text-align: left; }   /* sits on the right; the box hugs its three lines, which start flush left */
/* a soft shade under each title, so it reads over any frame */
.film-on :is(.film-beat--seats, .film-beat--coordinators)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.film-on .film-beat--seats::before { background: radial-gradient(64% 58% at 0% 100%, rgba(6, 9, 17, .58), rgba(6, 9, 17, 0) 72%); }
.film-on .film-beat--coordinators::before { background: radial-gradient(64% 58% at 100% 100%, rgba(6, 9, 17, .58), rgba(6, 9, 17, 0) 72%); }
.film-on .film-beat--arrival::before { background: radial-gradient(60% 56% at 100% 100%, rgba(6, 9, 17, .5), rgba(6, 9, 17, 0) 72%); }
/* With the film, the night at the bottom of the frame is its own layer that moves with the camera
   (hero-film.js): at the start it stretches away from the vanishing point and slips under the bottom
   edge as the car pulls off, and at the arrival it rises back and settles as the car stops. */
.film-on .film-beat--intro::before { content: none; }
.film-shade { display: none; }
.film-on .film-shade {
  display: block;
  position: absolute;
  inset: 0;
  transform-origin: 50% 45%;   /* the vanishing point, where the drive meets the house */
  pointer-events: none;
  will-change: transform, opacity;
}
.film-on .film-shade--open { background: linear-gradient(180deg, rgba(6, 9, 17, 0) 58%, rgba(6, 9, 17, .55) 82%, var(--night) 100%); }
.film-on .film-shade--arrive { opacity: 0; background: linear-gradient(180deg, rgba(6, 9, 17, 0) 66%, rgba(6, 9, 17, .45) 88%, var(--night) 100%); }
/* a hidden beat takes no clicks and skips the blur, which costs every frame */

.film-on .film-skip {
  display: inline-flex;
  opacity: 0;                      /* hero-film.js fades it in with the second scroll */
  position: absolute;
  z-index: 5;
  right: max(var(--gutter), (100% - var(--container)) / 2);
  bottom: clamp(22px, 4vh, 44px);
}
.film-skip .icon { width: 16px; height: 16px; }
.film-on .film-skip.is-off { pointer-events: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.film-on .film-skip:focus-visible { opacity: 1 !important; }
.film-on .film-progress {   /* how many frames are in: a thin line, never a blocking loader */
  display: block;
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, .07);
  transition: opacity .9s var(--ease-out);
}
.film-progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--amber-2));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s var(--ease-out);
}
.film-on .film.is-loaded .film-progress { opacity: 0; }

/* the glass dashboard: just below the film, rising into view as the last picture scrolls away */
.after-film {
  position: relative;
  z-index: 4;
  padding-bottom: clamp(72px, 9vw, 128px);
  overflow-x: clip;
}
.after-film:focus { outline: none; }
.hero-panel {
  position: relative;
  --container: 1240px;
}

/* ---------- Why Glass House: three selling points, then the team's track record ---------- */
.why { padding-top: clamp(24px, 4vw, 56px); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.why-card {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.6vw, 36px);
  border: 1px solid;
  border-radius: var(--radius);
}
.why-icon {
  display: inline-grid;
  place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--amber-2);
  background: radial-gradient(circle at 50% 30%, rgba(240, 180, 106, .28), rgba(240, 180, 106, .06) 70%);
  box-shadow: inset 0 0 0 1px rgba(240, 180, 106, .3), 0 0 28px -6px rgba(240, 180, 106, .45);
}
.why-kicker {
  margin-bottom: 10px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-3);
}
.why-card h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 1.1rem + .9vw, 1.9rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.why-card h3 + p { margin-top: 14px; color: var(--text-2); line-height: 1.6; text-wrap: pretty; }
.why-stat {
  margin-top: auto;
  padding-top: 22px;
}
.why-stat-num {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid var(--glass-line);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.8rem + 1.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--amber-2);
  font-variant-numeric: lining-nums;
}
.why-stat-label { min-height: 2.9em; margin-top: 8px; font-size: .86rem; line-height: 1.45; color: var(--text-2); }
.why-stat-label b { font-weight: 600; color: var(--text); }
.why-stat-label sup, .why-foot sup { font-size: .7em; color: var(--amber-2); }
.why-foot { margin-top: 16px; text-align: center; font-size: .72rem; color: var(--text-3); }
@media (max-width: 899px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* the names set quietly in one type, one colour: past work, not customers */
.track { margin-top: clamp(56px, 7vw, 96px); text-align: center; }
.track-label {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--text-3);
}
.track-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px clamp(22px, 3vw, 44px);
  max-width: 1180px;
  margin: 30px auto 0;
  padding: 0;
  list-style: none;
}
.track-list { align-items: center; gap: clamp(26px, 3.4vw, 48px) clamp(30px, 4.4vw, 64px); }
.track-list li { display: flex; }
/* each mark is drawn at a size that balances its shape (wide marks wider, tall marks shorter) */
.track-list img {
  height: auto;              /* width comes from its width attribute */
  opacity: .58;
  transition: opacity .35s var(--ease);
}
.track-list .track-solid img { opacity: .4; }   /* a solid box reads heavier than letters */
.track-list li:hover img { opacity: 1; }
@media (max-width: 599px) { .track-list img { zoom: .8; } }

/* ---------- Your brokerage's brain: the flow map (flow-map.js) ---------- */
.fm-defs { position: absolute; width: 0; height: 0; }
.fm-stage { position: relative; margin-top: clamp(8px, 2vw, 24px); }
.fm-lines, .fm-orbs { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fm-lines { z-index: 1; overflow: visible; }
.fm-orbs { z-index: 2; }
.fm-apps, .fm-hub, .fm-panels, .fm-team, .fm-clients { position: relative; z-index: 3; }
.fm-lines path { fill: none; stroke-width: 1.25; stroke-linecap: round; }

/* the tools: frosted app tiles, each lit from inside by its own colour */
.fm-apps { display: flex; justify-content: center; gap: clamp(8px, 1.5vw, 22px); margin: 0; padding: 0; list-style: none; }
.fm-app {
  --s: clamp(46px, 6vw, 80px);
  --c: #9AD8FF;
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  width: var(--s);
  height: var(--s);
  border-radius: 27%;
  color: var(--c);
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(255, 255, 255, .94), rgba(232, 235, 242, .82));
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 6px rgba(20, 30, 60, .08), 0 0 0 1px rgba(255, 255, 255, .28), 0 20px 44px -18px rgba(0, 0, 0, .75), 0 0 34px -14px var(--c);
}
.fm-app::before {     /* the soft colour blooming inside the frost */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 18%, color-mix(in srgb, var(--c) 34%, transparent), transparent 70%),
    radial-gradient(55% 50% at 20% 88%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%);
  filter: blur(4px);
}
.fm-app svg { width: calc(var(--s) * .38); height: calc(var(--s) * .38); }
.fm-mls { font-size: calc(var(--s) * .22); font-weight: 800; letter-spacing: .04em; color: #1B2440; }
.fm-app-name { font-size: calc(var(--s) * .125); font-weight: 600; letter-spacing: .01em; color: #3A4256; line-height: 1; }
.fm-app--mls { --c: #F0B46A; }
.fm-app--gmail { --c: #EA4335; }
.fm-app--outlook { --c: #0078D4; }
.fm-app--calendar { --c: #4285F4; }
.fm-app--sheets { --c: #34A853; }
.fm-app--canva { --c: #00C4CC; }
.fm-app--instagram { --c: #E1306C; }
.fm-app--facebook { --c: #0866FF; }
.fm-app--tiktok { --c: #FE2C55; color: #111; }
.fm-app--drive { --c: #1FA463; }

/* the hub: the Glass House app icon with a living halo */
.fm-hub { display: flex; justify-content: center; align-items: center; margin-top: clamp(110px, 14vw, 190px); }
.fm-hub-icon {
  --s: clamp(88px, 9vw, 124px);
  position: relative;
  display: grid;
  place-items: center;
  width: var(--s);
  height: var(--s);
  border-radius: 27%;
  color: var(--night-2);
  background: linear-gradient(165deg, #FFFFFF, #ECEAE4);
  box-shadow: inset 0 1px 0 #fff, inset 0 -3px 8px rgba(20, 30, 60, .1), 0 0 0 1px rgba(255, 255, 255, .4), 0 30px 60px -24px rgba(0, 0, 0, .8);
}
.fm-hub-icon::before {   /* the halo: lamplight, glass and dusk, slowly turning */
  content: "";
  position: absolute;
  inset: -16%;
  z-index: -1;
  border-radius: 34%;
  background: conic-gradient(from var(--fm-turn, 0deg), #F0B46A, #FFD9A3, #9AD8FF, #8F86FF, #F08FB4, #F0B46A);
  filter: blur(22px);
  opacity: .8;
}
.fm-hub-icon svg { position: relative; width: 52%; height: 52%; }
.fm-hub-text { position: absolute; right: calc(50% + clamp(70px, 7vw, 96px)); text-align: right; }
.fm-hub-name { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.05; letter-spacing: -0.02em; }
.fm-hub-sub { margin-top: 4px; font-size: .84rem; color: var(--text-2); }
.fm-hub-chip {
  position: absolute;
  left: calc(50% + clamp(70px, 7vw, 96px));
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(240, 180, 106, .35);
  border-radius: var(--pill);
  font-size: .78rem;
  color: var(--amber-2);
  background: rgba(240, 180, 106, .07);
}
.fm-hub-chip .icon { width: 15px; height: 15px; }

/* what the Coordinators prepare, in two glass panels */
.fm-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, .36fr) minmax(0, 1fr);
  align-items: start;
  margin-top: clamp(84px, 10vw, 140px);
}
.fm-panel {
  padding: 16px 18px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  box-shadow: var(--lg-shadow);
}
.fm-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--glass-line); }
.fm-panel-head h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; letter-spacing: -0.01em; }
.fm-panel-tag { font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.fm-tasks { margin: 0; padding: 0; list-style: none; }
.fm-tasks li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: .8rem;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}
.fm-tasks li:last-child { border-bottom: 0; }
.fm-task { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm-who { font-size: .68rem; color: var(--text-3); }
.fm-state { font-size: .74rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.fm-state.is-done { color: #9FDDB4; }
.fm-state.is-ok { color: var(--amber-2); }
.fm-dot { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; }
.fm-dot.is-done { color: #9FDDB4; background: rgba(159, 221, 180, .12); }
.fm-dot.is-done .icon { width: 12px; height: 12px; }
.fm-dot.is-wait { border: 1.5px dotted rgba(240, 180, 106, .8); }
.fm-panel--ops { grid-column: 1; }
.fm-panel--mkt { grid-column: 3; }
.fm-spine-note { grid-column: 2; grid-row: 1; align-self: end; padding: 0 12px 6px; text-align: center; text-wrap: balance; font-family: var(--font-serif); font-style: italic; font-size: .86rem; color: var(--amber-2); }
.fm-spine-note span { display: block; margin-top: 4px; font-family: var(--font-sans); font-style: normal; font-size: .72rem; color: var(--text-3); }

/* your team, then the people and channels it serves */
.fm-team { display: grid; justify-items: center; margin-top: clamp(70px, 8vw, 110px); }
.fm-faces { display: flex; margin: 0; padding: 0; list-style: none; }
.fm-face {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-left: -8px;
  border: 2px solid var(--night);
  border-radius: 50%;
  font-size: .72rem; font-weight: 600; color: #fff;
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .8);
}
.fm-face:first-child { margin-left: 0; }
.fm-face--1 { background: linear-gradient(140deg, #C98B5A, #7A4B2E); }
.fm-face--2 { background: linear-gradient(140deg, #6C8CC8, #33497A); }
.fm-face--3 { background: linear-gradient(140deg, #B6798F, #6A3B52); }
.fm-face--4 { background: linear-gradient(140deg, #7FA88E, #3E604B); }
.fm-face--5 { background: linear-gradient(140deg, #A895C9, #554378); }
.fm-face--6 { background: linear-gradient(140deg, #C9A86C, #7A5E2E); }
.fm-team-name { margin-top: 10px; font-size: .86rem; font-weight: 600; }
.fm-clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 3vw, 48px);
  max-width: 980px;
  margin: clamp(70px, 8vw, 110px) auto 0;
  padding: 0;
  list-style: none;
}
.fm-client {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--pill);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
}
.fm-client-icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; color: var(--amber-2); background: rgba(240, 180, 106, .1); box-shadow: inset 0 0 0 1px rgba(240, 180, 106, .28); }
.fm-client-icon .icon { width: 18px; height: 18px; }
.fm-client b { display: block; font-size: .88rem; font-weight: 600; }
.fm-client b + span { display: block; margin-top: 2px; font-size: .74rem; color: var(--text-3); line-height: 1.35; }

/* the build: hidden until it comes into view, then everything arrives over about three seconds */
.fm.is-js .fm-app, .fm.is-js .fm-hub-icon, .fm.is-js .fm-hub-text, .fm.is-js .fm-hub-chip,
.fm.is-js .fm-panel, .fm.is-js .fm-spine-note, .fm.is-js .fm-team, .fm.is-js .fm-client {
  opacity: 0;
  transform: translateY(14px) scale(.92);
  filter: blur(8px);
  transition: opacity .7s var(--ease-out), transform .9s var(--ease-out), filter .7s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.fm.is-js .fm-hub-icon { transform: scale(.6); }
.fm.is-in .fm-app, .fm.is-in .fm-hub-icon, .fm.is-in .fm-hub-text, .fm.is-in .fm-hub-chip,
.fm.is-in .fm-panel, .fm.is-in .fm-spine-note, .fm.is-in .fm-team, .fm.is-in .fm-client { opacity: 1; transform: none; filter: none; }
.fm-lines path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.fm.is-js .fm-lines path { stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); transition-delay: var(--d, 0s); }
.fm.is-in .fm-lines path { stroke-dashoffset: 0; }
.fm-orbs { opacity: 0; transition: opacity .8s var(--ease); }
.fm.is-flowing .fm-orbs { opacity: 1; }
@property --fm-turn { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes fm-turn { to { --fm-turn: 360deg; } }
@media (prefers-reduced-motion: no-preference) {
  .fm.is-in .fm-hub-icon::before { animation: fm-turn 9s linear infinite; }
}

@media (max-width: 899px) {
  .fm-panels { grid-template-columns: 1fr; gap: 64px; }
  .fm-panel--ops, .fm-panel--mkt { grid-column: 1; }
  .fm-spine-note { display: none; }
  .fm-hub { flex-direction: column; gap: 14px; }
  .fm-hub-text { position: static; order: 2; text-align: center; }
  .fm-hub-chip { position: static; order: 3; }
}
@media (max-width: 599px) {
  .fm-app--wide { display: none; }   /* phones keep six tools, so the tubes stay clear */
  .fm-app { --s: 48px; }
  .fm-app-name { display: none; }
  .fm-clients { grid-template-columns: 1fr; max-width: 300px; gap: 12px; }
  .fm-tasks li { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .fm-who { display: none; }
}

/* frosted dashboard in the hero */
.app-window {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05) 40%, rgba(13, 18, 32, .5));
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .25);
  overflow: hidden;
  font-size: .82rem;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .app-window { background: rgba(20, 27, 46, .96); }
}
.app-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 16px;
  border-bottom: 1px solid var(--glass-line);
}
.app-dots { display: flex; gap: 7px; }
.app-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.app-url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--pill);
  background: rgba(7, 10, 18, .4);
  color: var(--text-2);
  font-size: .76rem;
}
.app-url .icon { width: 12px; height: 12px; }
.app-body { display: grid; grid-template-columns: 188px 1fr 268px; min-height: 360px; }
.app-side { padding: 18px 12px; border-right: 1px solid var(--glass-line); }
.app-side-brand { display: flex; align-items: center; gap: 8px; padding: 0 10px 16px; font-weight: 600; letter-spacing: -0.01em; }
.app-side-brand img { width: 20px; height: 20px; }
.app-nav { list-style: none; padding: 0; display: grid; gap: 2px; }
.app-nav li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; color: var(--text-2); }
.app-nav li .icon { width: 16px; height: 16px; }
.app-nav li.is-active { background: rgba(255, 255, 255, .09); color: var(--text); }
.app-nav .count { margin-left: auto; font-size: .7rem; padding: 1px 7px; border-radius: var(--pill); background: rgba(240, 180, 106, .18); color: var(--amber-2); }
.app-main { padding: 20px 22px; min-width: 0; }
.app-greet { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.app-kicker { font-size: .72rem; color: var(--text-2); }
.app-hello { margin-top: 2px; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.app-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.app-stat { padding: 12px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; background: rgba(7, 10, 18, .3); }
.app-stat b { display: block; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.005em; }
.app-stat span { font-size: .7rem; color: var(--text-2); }
.app-listings { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.app-listing { border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; overflow: hidden; background: rgba(7, 10, 18, .35); }
.app-listing img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--night-3); }
.app-listing-body { padding: 10px 12px 12px; }
.app-listing-body .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.app-listing-body b { min-width: 0; font-weight: 600; font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-listing-body .m-bar { margin-top: 10px; }
.app-listing-body small { display: block; margin-top: 6px; font-size: .68rem; color: var(--text-2); }
.app-feed { padding: 18px 16px; border-left: 1px solid var(--glass-line); background: rgba(7, 10, 18, .18); }
.app-feed-title { display: flex; align-items: center; justify-content: space-between; font-size: .76rem; font-weight: 600; letter-spacing: .02em; color: var(--text-2); margin-bottom: 12px; }

@media (max-width: 1099px) {
  .app-body { grid-template-columns: 172px 1fr; }
  .app-feed { display: none; }
}
@media (max-width: 767px) {
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .app-main { padding: 16px; }
  .app-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-listings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-listing-body .row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .app-listing-body b { max-width: 100%; }
  .app-listings > :nth-child(3) { display: none; }
  .app-bar { grid-template-columns: auto 1fr; }
  .app-bar-end { display: none; }
  .app-url { justify-self: end; }
}
@media (max-width: 420px) {
  .app-greet .pill { display: none; }
}

/* ---------- small UI parts used in mock-ups ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--pill);
  background: rgba(255, 255, 255, .07);
  color: var(--text-2);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill--amber { color: var(--amber-2); background: rgba(240, 180, 106, .14); border-color: rgba(240, 180, 106, .32); }
.pill--ice { color: var(--ice); background: rgba(154, 216, 255, .12); border-color: rgba(154, 216, 255, .3); }
.pill--white { color: var(--text); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .22); }

.m-bar { height: 5px; border-radius: var(--pill); background: rgba(255, 255, 255, .1); overflow: hidden; }
.m-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--amber), var(--amber-2)); box-shadow: 0 0 12px rgba(240, 180, 106, .6); }
.w-20 { width: 20%; } .w-35 { width: 35%; } .w-55 { width: 55%; } .w-70 { width: 70%; }
.w-80 { width: 80%; } .w-90 { width: 90%; } .w-100 { width: 100%; }

.mock {
  position: relative;
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 27, 46, .85), rgba(10, 14, 26, .9));
  box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .08);
  color: var(--text);
  font-size: .8rem;
  line-height: 1.4;
  overflow: hidden;
}
.mock-pad { padding: 16px; }
.m-cap { display: flex; justify-content: space-between; gap: 12px; font-size: .72rem; color: var(--text-2); margin-bottom: 8px; }
.m-cap b { color: var(--text); font-weight: 600; }

/* listing + launch checklist */
.m-launch { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.m-listing img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--night-3); }
.m-listing-body { padding: 14px 16px 16px; }
.m-addr { margin-top: 10px; font-size: .95rem; font-weight: 600; letter-spacing: -0.005em; }
.m-sub { margin-top: 2px; color: var(--text-2); font-size: .74rem; }
.m-phases { padding: 18px; border-left: 1px solid var(--glass-line); display: flex; flex-direction: column; }
.m-steps { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 8px; }
.m-steps li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  color: var(--text-2);
}
.m-tick {
  width: 20px; height: 20px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
}
.m-tick .icon { width: 12px; height: 12px; }
.m-steps .is-done { color: var(--text); }
.m-steps .is-done .m-tick { background: var(--amber); border-color: var(--amber); color: var(--ink); box-shadow: 0 0 12px rgba(240, 180, 106, .5); }
.m-steps .is-active { color: var(--text); border-color: rgba(240, 180, 106, .35); background: rgba(240, 180, 106, .07); }
.m-steps .is-active .m-tick { border-color: var(--amber); border-right-color: transparent; }
.m-count { font-size: .7rem; color: var(--text-2); font-variant-numeric: tabular-nums; }

/* activity feed */
.m-feed { list-style: none; padding: 0; display: grid; gap: 8px; }
.m-feed li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}
.m-av {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(240, 180, 106, .14);
  border: 1px solid rgba(240, 180, 106, .3);
  color: var(--amber-2);
}
.m-av .icon { width: 15px; height: 15px; }
.m-av--ice { background: rgba(154, 216, 255, .12); border-color: rgba(154, 216, 255, .3); color: var(--ice); }
.m-av--white { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: var(--text); }
.m-feed b { display: block; font-size: .74rem; font-weight: 600; }
.m-feed span { display: block; color: var(--text-2); font-size: .72rem; line-height: 1.35; }
.m-feed time { font-size: .66rem; color: var(--text-2); white-space: nowrap; }

/* request queue */
.m-queue { list-style: none; padding: 0; display: grid; gap: 8px; }
.m-queue li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .035);
}
.m-queue b { display: block; font-size: .76rem; font-weight: 600; }
.m-queue span { display: block; font-size: .7rem; color: var(--text-2); }

/* deals board */
.m-board { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.m-col { padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); min-width: 0; }
.m-col-head { display: flex; justify-content: space-between; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--text-2); margin-bottom: 8px; }
.m-deal { padding: 9px 10px; border-radius: 10px; background: rgba(20, 27, 46, .9); border: 1px solid rgba(255, 255, 255, .1); }
.m-deal + .m-deal { margin-top: 6px; }
.m-deal b { display: block; font-size: .72rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-deal span { display: block; font-size: .68rem; color: var(--text-2); }
.m-deal--lit { border-color: rgba(240, 180, 106, .45); box-shadow: 0 0 22px -6px rgba(240, 180, 106, .5); }
.m-rank { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 12px; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--glass-line); font-size: .74rem; }
.m-rank .n { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .66rem; font-weight: 600; background: rgba(255, 255, 255, .08); }
.m-rank .n--1 { background: var(--amber); color: var(--ink); }
.m-rank .v { color: var(--text-2); font-variant-numeric: tabular-nums; }

/* timeline */
.m-timeline { list-style: none; padding: 0; position: relative; display: grid; gap: 12px; }
.m-timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px; background: var(--glass-line); }
.m-timeline li { position: relative; display: grid; grid-template-columns: 14px 64px 1fr; gap: 12px; align-items: baseline; }
.m-timeline li::before { content: ""; width: 13px; height: 13px; border-radius: 50%; background: var(--night-3); border: 1.5px solid rgba(255, 255, 255, .3); align-self: center; }
.m-timeline li.is-lit::before { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 12px rgba(240, 180, 106, .7); }
.m-timeline time { font-size: .7rem; color: var(--text-2); font-variant-numeric: tabular-nums; }
.m-timeline span { font-size: .78rem; }
.m-timeline small { display: block; color: var(--text-2); font-size: .7rem; }
.m-sync {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--pill);
  border: 1px solid rgba(154, 216, 255, .3);
  background: rgba(154, 216, 255, .1);
  color: var(--ice);
  font-size: .72rem;
  font-weight: 600;
}
.m-sync .icon { width: 14px; height: 14px; }

/* phone */
.m-phone {
  width: min(232px, 100%);
  margin-inline: auto;
  padding: 10px;
  border-radius: 38px;
  background: linear-gradient(160deg, #2a3142, #0d1220);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 0 0 1px rgba(255, 255, 255, .16);
}
.m-screen {
  position: relative;
  aspect-ratio: 9 / 18.5;
  border-radius: 29px;
  overflow: hidden;
  background: linear-gradient(180deg, #111829, #0a0e1a);
  padding: 34px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .7rem;
}
.m-screen::before { /* camera island */
  content: "";
  position: absolute;
  top: 10px; left: 50%;
  width: 64px; height: 18px;
  transform: translateX(-50%);
  border-radius: var(--pill);
  background: #000;
}
.m-screen-head { display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .82rem; letter-spacing: -0.01em; }
.m-screen-head img { width: 18px; height: 18px; }
.m-screen .m-photo { border-radius: 14px; overflow: hidden; position: relative; }
.m-screen .m-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--night-3); }
.m-screen .m-photo .pill { position: absolute; left: 8px; top: 8px; background: rgba(7, 10, 18, .7); }
.m-screen-row { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .05); }
.m-screen-row .m-tick { width: 16px; height: 16px; }
.m-screen-row .m-tick .icon { width: 10px; height: 10px; }
.m-screen-row.is-done .m-tick { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.m-tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 8px 4px 2px; border-top: 1px solid var(--glass-line); color: var(--text-2); }
.m-tabbar .icon { width: 16px; height: 16px; }
.m-tabbar .is-active { color: var(--amber-2); }

/* photo editor before/after */
.m-editor { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.m-editor figure { margin: 0; position: relative; }
.m-editor img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--night-3); }
.m-editor .before img { filter: saturate(.55) brightness(.72) contrast(.92); }
.m-editor figcaption { position: absolute; left: 10px; top: 10px; }
.m-editor-bar { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; border-top: 1px solid var(--glass-line); }
.m-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--pill); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .7rem; color: var(--text-2); }
.m-chip .icon { width: 13px; height: 13px; }
.m-chip.is-on { color: var(--amber-2); border-color: rgba(240, 180, 106, .4); background: rgba(240, 180, 106, .12); }

/* listing website preview */
.m-site-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--glass-line); color: var(--text-2); font-size: .72rem; }
.m-site-bar .icon { width: 12px; height: 12px; }
.m-site-hero { position: relative; }
.m-site-hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; background: var(--night-3); }
.m-site-hero p { position: absolute; left: 14px; bottom: 12px; font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; line-height: 1; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.m-site-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--glass-line); }
.m-site-stats div { padding: 12px; background: rgba(13, 18, 32, .96); }
.m-site-stats b { display: block; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.m-site-stats span { font-size: .68rem; color: var(--text-2); }

/* open house week */
.m-week { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.m-day { padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); min-width: 0; }
.m-day-head { font-size: .66rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); margin-bottom: 6px; }
.m-slot { padding: 7px 8px; border-radius: 8px; font-size: .68rem; background: rgba(20, 27, 46, .9); border: 1px solid rgba(255, 255, 255, .1); }
.m-slot + .m-slot { margin-top: 6px; }
.m-slot b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-slot span { color: var(--text-2); }
@media (max-width: 479px) { .m-week { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.m-slot--open { border-style: dashed; color: var(--amber-2); background: rgba(240, 180, 106, .06); border-color: rgba(240, 180, 106, .4); }

/* ---------- audience cards: a photo with a floating glass caption ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.aud-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
  padding: 10px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
  background: var(--night-3);
  box-shadow: 0 50px 90px -46px rgba(0, 0, 0, .95), inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out);
}
.aud-card::after { /* deepen the lower half so the glass reads */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 9, 17, 0) 30%, rgba(6, 9, 17, .6) 100%);
  pointer-events: none;
}
.aud-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.aud-card:hover { transform: translateY(-6px); }
.aud-card:hover .aud-photo { transform: scale(1.06); }
.aud-glass { padding: 20px 20px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: calc(var(--radius-lg) - 10px); }
.aud-card h3 { font-size: 1.16rem; letter-spacing: -0.005em; }
.aud-card p { margin-top: 8px; color: var(--text-2); font-size: .9rem; line-height: 1.5; }
.aud-card .link-arrow { margin-top: 14px; font-size: .9rem; }
.aud-card .link-arrow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
@media (max-width: 1023px) { .aud-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .aud-grid { grid-template-columns: 1fr; } .aud-card { min-height: 400px; } }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bento-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  overflow: hidden;
  isolation: isolate;
}
.bento-card::after { /* warm glow from below */
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%; bottom: -40%;
  width: 90%; height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(240, 180, 106, .13), transparent);
  pointer-events: none;
}
.bento-card--4 { grid-column: span 4; }
.bento-card--2 { grid-column: span 2; }
.bento-label { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; color: var(--amber-2); letter-spacing: .01em; }
.bento-label .icon { width: 18px; height: 18px; }
.bento-card h3 { margin-top: 14px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); letter-spacing: -0.005em; }
.bento-card > p { margin-top: 8px; max-width: 46ch; color: var(--text-2); font-size: .96rem; }
.bento-visual { margin-top: auto; padding-top: 28px; }
.bento-visual .m-phone { margin-bottom: -150px; } /* rises from the bottom edge of the card */
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card--2 { grid-column: span 1; }
  .bento-card--4 { grid-column: span 2; }
}
@media (max-width: 679px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card--2, .bento-card--4 { grid-column: auto; }
  .bento-card { min-height: 0; }
  .m-launch { grid-template-columns: 1fr; }
  .m-phases { border-left: 0; border-top: 1px solid var(--glass-line); }
  .m-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- AI agents ---------- */
.agents-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.mini-features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 40px; }
.mini-feature h3 { display: flex; align-items: center; gap: 10px; font-size: 1rem; letter-spacing: -0.01em; }
.mini-feature h3 .icon { color: var(--amber-2); width: 18px; height: 18px; }
.mini-feature p { margin-top: 6px; font-size: .94rem; color: var(--text-2); }
.note {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  padding: 14px 16px;
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  background: var(--glass);
  font-size: .9rem;
  color: var(--text-2);
}
.note .icon { width: 18px; height: 18px; color: var(--ice); margin-top: 2px; }

.work-panel {
  position: relative;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.work-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 10% -10% -10%;
  background: radial-gradient(closest-side, rgba(240, 180, 106, .18), transparent);
  filter: blur(20px);
}
.work-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.work-title { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -0.01em; }
.work-title img { width: 22px; height: 22px; }
.live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .76rem;
  color: var(--text-2);
}
.live::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(240, 180, 106, .6);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(240, 180, 106, .55); }
  70% { box-shadow: 0 0 0 9px rgba(240, 180, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 180, 106, 0); }
}
.task-list { list-style: none; padding: 0; display: grid; gap: 10px; }
.task {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  transition: background-color .5s var(--ease), border-color .5s var(--ease), opacity .5s var(--ease);
}
.task-status {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.task-status .icon { width: 15px; height: 15px; opacity: 0; transform: scale(.5); transition: opacity .3s, transform .35s var(--ease); }
.task-agent { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ice); }
.task-text { display: block; margin-top: 3px; font-size: .92rem; line-height: 1.4; }
.task-state { font-size: .74rem; color: var(--text-2); white-space: nowrap; }
.task.is-queued { opacity: .5; }
.task.is-working { border-color: rgba(240, 180, 106, .3); }
.task.is-working .task-status { border-color: var(--amber); border-right-color: transparent; animation: spin .9s linear infinite; }
.task.is-done { background: rgba(240, 180, 106, .07); border-color: rgba(240, 180, 106, .24); }
.task.is-done .task-status { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 16px rgba(240, 180, 106, .55); }
.task.is-done .task-status .icon { opacity: 1; transform: none; }
.task.is-done .task-state { color: var(--amber-2); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 479px) {
  .task { grid-template-columns: 28px 1fr; }
  .task-state { display: none; }
}

.agent-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(64px, 8vw, 112px); }
.agent-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  transition: border-color .3s, transform .35s var(--ease);
}
.agent-card:hover { border-color: rgba(240, 180, 106, .35); transform: translateY(-3px); }
.agent-badge {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 180, 106, .38);
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, rgba(255, 217, 163, .32), rgba(240, 180, 106, .06));
  color: var(--amber-2);
  box-shadow: 0 0 28px -8px rgba(240, 180, 106, .5);
}
.agent-badge--ice { border-color: rgba(154, 216, 255, .38); background: radial-gradient(circle at 30% 20%, rgba(154, 216, 255, .3), rgba(154, 216, 255, .05)); color: var(--ice); box-shadow: 0 0 28px -8px rgba(154, 216, 255, .5); }
.agent-card h3 { margin-top: 22px; font-size: 1.2rem; letter-spacing: -0.012em; }
.agent-card > p { margin-top: 8px; font-size: .95rem; color: var(--text-2); }
.agent-card .ticks { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--glass-line); }
@media (max-width: 1099px) { .agent-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .agents-layout { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  .agent-cards, .mini-features { grid-template-columns: 1fr; }
}

/* tick lists */
.ticks { list-style: none; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; font-size: .93rem; color: var(--text-2); line-height: 1.5; }
.ticks .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--amber); }
.ticks--bright li { color: var(--text); }

/* ---------- old way vs glass house way ---------- */
.compare { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; align-items: stretch; }
.compare-panel { position: relative; padding: clamp(26px, 3.4vw, 44px); border-radius: var(--radius-lg); }
.compare-old { border: 1px dashed rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .02); }
.compare-new {
  border: 1px solid rgba(240, 180, 106, .32);
  background: linear-gradient(160deg, rgba(240, 180, 106, .14), rgba(154, 216, 255, .05) 55%, rgba(255, 255, 255, .025));
  box-shadow: 0 50px 110px -50px rgba(240, 180, 106, .4);
}
.compare-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: var(--pill);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 1px solid var(--glass-line);
  color: var(--text-2);
}
.compare-new .compare-tag { color: var(--amber-2); border-color: rgba(240, 180, 106, .4); background: rgba(240, 180, 106, .1); }
.compare-panel h3 { margin-top: 20px; font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); letter-spacing: -0.005em; }
.compare-list { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 14px; }
.compare-list li { display: flex; gap: 12px; color: var(--text-2); }
.compare-list .icon { width: 18px; height: 18px; margin-top: 3px; }
.compare-old .compare-list .icon { color: rgba(245, 242, 236, .4); }
.compare-new .compare-list li { color: var(--text); }
.compare-new .compare-list .icon { color: var(--amber); }

.flow { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr) auto minmax(0, 1fr); gap: 10px; align-items: stretch; margin-top: 30px; }
.flow-step { padding: 16px; border: 1px solid var(--glass-line); border-radius: 16px; background: rgba(7, 10, 18, .5); }
.flow-step--agents { border-color: rgba(240, 180, 106, .4); background: rgba(240, 180, 106, .08); }
.flow-step h4 { margin-bottom: 10px; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); }
.flow-step--agents h4 { color: var(--amber-2); }
.flow-step ul { list-style: none; padding: 0; display: grid; gap: 6px; font-size: .86rem; }
.flow-arrow { display: grid; place-items: center; color: var(--amber); }
.flow-arrow .icon { width: 18px; height: 18px; }
@media (max-width: 1023px) { .compare { grid-template-columns: 1fr; } }
@media (max-width: 679px) {
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); }
}

/* ---------- facts ticker ---------- */
.ticker-section { padding-block: clamp(56px, 7vw, 96px); border-block: 1px solid var(--glass-line); background: rgba(11, 16, 32, .7); overflow: hidden; }
.ticker-head { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.ticker-head .h3 { max-width: 20ch; }
.ticker { position: relative; }
.ticker-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  list-style: none;
  padding: 0;
}
.ticker:not(.is-running) .ticker-track { padding-inline: var(--gutter); }
.ticker.is-running {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ticker.is-running .ticker-track {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  animation: ticker var(--ticker-dur, 70s) linear infinite;
}
.ticker.is-running:hover .ticker-track,
.ticker.is-running:focus-within .ticker-track,
.ticker.is-paused .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(calc(-50% - 7px)); } }
.fact {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 15px 22px;
  border: 1px solid var(--glass-line);
  border-radius: var(--pill);
  background: var(--glass);
  white-space: nowrap;
}
.fact-k { font-weight: 600; color: var(--amber-2); letter-spacing: -0.01em; }
.fact-v { color: var(--text-2); }
.ticker-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--glass-line);
  border-radius: var(--pill);
  background: var(--glass);
  color: var(--text-2);
  font-size: .82rem;
  font-weight: 500;
}
.ticker.is-running ~ .ticker-foot .ticker-toggle { display: inline-flex; }
.ticker-foot { display: flex; justify-content: center; margin-top: 24px; }
@media (max-width: 599px) { .fact { white-space: normal; } .ticker.is-running .fact { white-space: nowrap; } }

/* ---------- quiet trust line ---------- */
.trust { padding-block: clamp(72px, 9vw, 128px); text-align: center; }
.trust-mark { width: 40px; height: 40px; margin: 0 auto 28px; opacity: .9; }
.trust-line {
  max-width: 22ch;
  margin-inline: auto;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}
.trust-sub { max-width: 58ch; margin: 22px auto 0; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section-head { margin-bottom: 0; }
.faq-list { display: grid; gap: 10px; }
.faq-item { padding: 0 22px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; transition: background-color .4s var(--ease-out); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.07rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline-offset: 6px; }
.faq-toggle {
  width: 34px; height: 34px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  border-radius: 50%;
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.faq-toggle .icon { width: 16px; height: 16px; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: var(--text); color: var(--night); }
.faq-answer { padding: 0 56px 24px 0; color: var(--text-2); }
.faq-item[open] .faq-answer { animation: rise-in .6s var(--ease-out) both; }
.faq-answer p + p { margin-top: 12px; }
.faq-answer a { color: inherit; text-underline-offset: 3px; }
@media (max-width: 899px) { .faq { grid-template-columns: 1fr; } .faq-answer { padding-right: 0; } }

/* ---------- Product updates (/features/#updates; markup from build.mjs updatesHtml) ---------- */
.updates-list { display: grid; gap: 14px; max-width: 980px; margin-inline: auto; }
.update {
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  transition: border-color .3s, background-color .4s var(--ease-out);
}
.update[open] { border-color: rgba(255, 255, 255, .2); }
.update summary {
  display: grid;
  grid-template-columns: minmax(180px, .34fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 28px;
  padding: 24px 26px;
  list-style: none;
  cursor: pointer;
}
.update summary::-webkit-details-marker { display: none; }
.update summary:focus-visible { outline-offset: 4px; border-radius: var(--radius); }
.update-when { display: grid; gap: 4px; }
.update-week { font-family: var(--font-display, inherit); font-size: 1.3rem; line-height: 1.15; letter-spacing: -0.01em; color: var(--text); }
.update-range { font-size: .8rem; color: var(--text-3); white-space: nowrap; }
.update-summary { color: var(--text-2); font-size: .98rem; line-height: 1.5; text-wrap: pretty; }
.update[open] .faq-toggle { transform: rotate(45deg); background: var(--text); color: var(--night); }
.update-body {
  display: grid;
  gap: 28px;
  padding: 26px;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.update[open] .update-body { animation: rise-in .6s var(--ease-out) both; }
.update-kind {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-2);
}
.update-kind .icon { width: 15px; height: 15px; color: var(--amber-2); }
.update-group--improved .update-kind .icon, .update-group--fixed .update-kind .icon { color: var(--ice); }
.update-group--removed .update-kind .icon { color: var(--text-3); }
.update-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 36px; margin-top: 16px; padding: 0; list-style: none; }
.update-items li { position: relative; padding-left: 18px; }
.update-items li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.update-group--improved .update-items li::before, .update-group--fixed .update-items li::before { background: var(--ice); }
.update-group--removed .update-items li::before { background: var(--text-3); }
.update-items b { display: block; font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; color: var(--text); }
.update-items span { display: block; margin-top: 4px; font-size: .93rem; line-height: 1.55; color: var(--text-2); }
.updates-foot { max-width: 980px; margin: 28px auto 0; text-align: center; color: var(--text-3); font-size: .9rem; }
@media (max-width: 799px) {
  .update summary { grid-template-columns: minmax(0, 1fr) auto; padding: 20px; }
  .update-summary { grid-column: 1 / -1; grid-row: 2; }
  .update-body { padding: 20px; }
  .update-items { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(96px, 13vw, 200px); }
.cta-band-bg { position: absolute; inset: 0; z-index: -1; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.cta-band-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(7, 10, 18, .2) 22%, rgba(7, 10, 18, .2) 75%, var(--night) 100%),
    radial-gradient(60% 60% at 50% 50%, rgba(7, 10, 18, .2), rgba(7, 10, 18, .6));
}
.cta-card {
  max-width: 780px;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 32px;
  background: rgba(7, 10, 18, .42);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .18);
  text-align: center;
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .cta-card { background: rgba(7, 10, 18, .85); }
}
.cta-card .lede { max-width: 50ch; margin: 18px auto 0; }
.cta-card .actions { justify-content: center; }

/* ---------- footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 88px);
  border-top: 1px solid var(--glass-line);
  background: linear-gradient(180deg, rgba(6, 9, 17, .6), var(--night) 40%);
}
.footer-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 48px; }
.footer-brand p { max-width: 32ch; margin: 18px 0 24px; color: var(--text-2); font-size: .95rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer-h { margin-bottom: 16px; font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.footer-nav ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-nav a { color: var(--text-2); font-size: .94rem; text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-block: 24px;
  border-top: 1px solid var(--glass-line);
  font-size: .86rem;
  color: var(--text-2);
}
.footer-bottom a { color: inherit; text-underline-offset: 3px; }
.footer-wordmark {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 16.75vw;   /* "Glass House" as wide as "Glass House AI" was at 13.4vw */
  font-weight: 400;
  line-height: .78;
  letter-spacing: -0.045em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, 0) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
}
@media (max-width: 899px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .footer-nav { grid-template-columns: 1fr 1fr; } }

/* ---------- inner page hero ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + clamp(40px, 7vw, 104px));
  padding-bottom: clamp(56px, 8vw, 112px);
  overflow: clip;
  background:
    radial-gradient(55% 55% at 82% 30%, rgba(240, 180, 106, .14), transparent 70%),
    radial-gradient(50% 50% at 8% 0%, rgba(154, 216, 255, .1), transparent 70%),
    linear-gradient(180deg, #0A1226 0%, var(--night) 100%);
}
.page-hero--center { text-align: center; }
.page-hero--center .display, .page-hero--center .lede { margin-inline: auto; }
.page-hero .display { max-width: 15em; }
.page-hero .lede { max-width: 54ch; margin-top: 22px; }
.page-hero--center .actions { justify-content: center; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
@media (max-width: 899px) { .page-hero-grid { grid-template-columns: 1fr; } }

.portrait { position: relative; width: min(100%, 460px); margin-inline: auto; }
.portrait-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--night-3);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, .18),
    0 0 0 16px rgba(255, 255, 255, .03),
    0 0 0 17px var(--glass-line),
    0 60px 120px -40px rgba(240, 180, 106, .4);
}
.portrait-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  background: rgba(13, 18, 32, .62);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--shadow-soft);
  font-size: .84rem;
  max-width: 260px;
}
.portrait-chip .m-av { flex: none; }
.portrait-chip b { display: block; font-weight: 600; font-size: .86rem; }
.portrait-chip span { display: block; color: var(--text-2); font-size: .78rem; line-height: 1.35; }
.portrait-chip--a { left: -6%; bottom: 12%; }
.portrait-chip--b { right: -4%; top: 8%; }
@media (max-width: 899px) {
  .portrait { width: min(100%, 360px); }
  .portrait-chip--a { left: 0; }
  .portrait-chip--b { right: 0; }
}
@media (max-width: 420px) {
  .portrait-chip { max-width: 210px; padding: 10px 12px 10px 10px; }
}

.jump-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 40px; list-style: none; padding: 0; }
.jump-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--glass-line);
  border-radius: var(--pill);
  background: var(--glass);
  color: var(--text-2);
  font-size: .86rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s, border-color .2s, background-color .2s;
}
.jump-nav a:hover { color: var(--text); border-color: rgba(255, 255, 255, .3); background: var(--glass-strong); }
.jump-nav .icon { width: 15px; height: 15px; color: var(--amber-2); }

/* ---------- problem → how Glass House helps ---------- */
.ps-list { display: grid; gap: 18px; counter-reset: ps; }
.ps {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  counter-increment: ps;
}
.ps-problem { padding: clamp(24px, 3vw, 40px); background: rgba(255, 255, 255, .02); }
.ps-solution {
  padding: clamp(24px, 3vw, 40px);
  border-left: 1px solid var(--glass-line);
  background: linear-gradient(135deg, rgba(240, 180, 106, .1), rgba(255, 255, 255, .03) 70%);
}
.ps-label { display: flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.ps-problem .ps-label::before { content: counter(ps, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--text-2); }
.ps-solution .ps-label { color: var(--amber-2); }
.ps-solution .ps-label .icon { width: 16px; height: 16px; }
.ps-problem h3 { margin-top: 16px; font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); letter-spacing: -0.012em; }
.ps-problem p { margin-top: 10px; color: var(--text-2); }
.ps-solution p { margin-top: 16px; font-size: 1.02rem; }
.ps-solution .ticks { margin-top: 18px; }
@media (max-width: 767px) {
  .ps { grid-template-columns: 1fr; }
  .ps-solution { border-left: 0; border-top: 1px solid var(--glass-line); }
}

/* ---------- feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
}
.feature-icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--glass-line);
  border-radius: 13px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
  color: var(--amber-2);
}
.feature h3 { margin-top: 20px; font-size: 1.1rem; letter-spacing: -0.01em; }
.feature p { margin-top: 8px; font-size: .95rem; color: var(--text-2); }
.feature .link-arrow { margin-top: 16px; font-size: .9rem; }
@media (max-width: 1023px) { .feature-grid, .feature-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .feature-grid, .feature-grid--4 { grid-template-columns: 1fr; } }

/* ---------- split ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.split .ticks { margin-top: 28px; }
@media (max-width: 899px) { .split { grid-template-columns: 1fr; } }

.get-card {
  padding: clamp(26px, 3.4vw, 44px);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(240, 180, 106, .1), rgba(255, 255, 255, .03) 60%);
}
.get-card h3 { font-size: 1.3rem; letter-spacing: -0.012em; }
.get-card .ticks { margin-top: 22px; }

/* ---------- platform feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
  padding-block: clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--glass-line);
}
.feature-row:first-child { border-top: 0; padding-top: 0; }
.feature-row--flip .feature-copy { order: 2; }
.feature-tag { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; color: var(--amber-2); }
.feature-tag .icon { width: 18px; height: 18px; }
.feature-copy .h3 { margin-top: 14px; }
.feature-copy > p { margin-top: 16px; color: var(--text-2); max-width: 52ch; }
.feature-copy .ticks { margin-top: 24px; }
.feature-visual { min-width: 0; }
@media (max-width: 899px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row--flip .feature-copy { order: 0; }
}

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
}
.plan--featured {
  border-color: rgba(240, 180, 106, .45);
  background: linear-gradient(180deg, rgba(240, 180, 106, .14), rgba(255, 255, 255, .03) 55%);
  box-shadow: 0 50px 110px -50px rgba(240, 180, 106, .45);
}
.plan-flag { position: absolute; top: 20px; right: 20px; }
.plan-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--glass-line); background: var(--glass); color: var(--amber-2); }
.plan h2 { margin-top: 22px; font-size: 1.5rem; letter-spacing: -0.005em; }
.plan-for { margin-top: 8px; color: var(--text-2); font-size: .95rem; }
.plan-price { margin-top: 24px; padding-block: 20px; border-block: 1px solid var(--glass-line); }
.plan-price strong { display: block; font-family: var(--font-display); font-style: normal; font-weight: 400; font-size: 2rem; line-height: 1.1; color: var(--amber-2); }
.plan-price span { display: block; margin-top: 4px; font-size: .86rem; color: var(--text-2); }
.plan .ticks { flex: 1; margin-top: 24px; }
.plan-includes { margin-top: 24px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.plan-includes + .ticks { margin-top: 14px; }
.plan .btn { width: 100%; margin-top: 30px; }
.plan-note {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 24px 26px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background: var(--glass);
}
.plan-note img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; background: var(--night-3); }
.plan-note p { color: var(--text-2); }
.plan-note b { color: var(--text); font-weight: 600; }
@media (max-width: 1023px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- forms ---------- */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 959px) { .demo-grid { grid-template-columns: 1fr; } }
.form-card {
  position: relative;
  padding: clamp(22px, 3.5vw, 44px);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .16);
}
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 500; }
.req { color: var(--amber-2); }
.opt { color: var(--text-2); font-weight: 400; }
.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(7, 10, 18, .55);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.input::placeholder { color: rgba(245, 242, 236, .5); }
.input:hover { border-color: rgba(255, 255, 255, .3); }
.input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(240, 180, 106, .22); background: rgba(7, 10, 18, .7); }
.input[aria-invalid="true"] { border-color: var(--error); }
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F2EC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
select.input option { background: var(--night-2); color: var(--text); }
textarea.input { min-height: 132px; resize: vertical; }
.field-error { font-size: .85rem; color: var(--error); }
.field-error:empty { display: none; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 28px; }
.form-foot small { color: var(--text-2); font-size: .84rem; max-width: 40ch; }
.form-foot small a { color: inherit; text-underline-offset: 3px; }
.form-status { margin-top: 18px; font-size: .94rem; color: var(--error); }
.form-status:empty { margin: 0; }
.form-success { text-align: center; padding: clamp(24px, 4vw, 48px) 8px; }
.form-success:focus { outline: none; }
.form-success .success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 0 40px rgba(240, 180, 106, .55);
}
.form-success .success-icon .icon { width: 28px; height: 28px; }
.form-success h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.005em; }
.form-success p { margin: 12px auto 0; max-width: 42ch; color: var(--text-2); }
.form-success .actions { justify-content: center; margin-top: 28px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(18, 20, 26, .3); border-top-color: var(--ink); animation: spin .8s linear infinite; }

.steps { list-style: none; padding: 0; display: grid; gap: 22px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; counter-increment: step; }
.steps li::before {
  content: counter(step);
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(240, 180, 106, .45);
  border-radius: 50%;
  background: rgba(240, 180, 106, .1);
  color: var(--amber-2);
  font-weight: 600;
}
.steps b { display: block; font-weight: 600; letter-spacing: -0.01em; }
.steps span { display: block; margin-top: 4px; color: var(--text-2); font-size: .95rem; }

.aside-card { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--glass-line); border-radius: var(--radius-lg); background: var(--glass); }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card h2 { font-size: 1.2rem; letter-spacing: -0.01em; margin-bottom: 22px; }
.aside-card p { color: var(--text-2); font-size: .95rem; }
.aside-card p + p { margin-top: 10px; }
.aside-card a { color: var(--amber-2); text-underline-offset: 3px; }

/* ---------- sign-in ---------- */
.address-demo {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 36px auto 0;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--pill);
  background: rgba(7, 10, 18, .55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft);
  font-size: 1.05rem;
}
.address-demo .icon { width: 18px; height: 18px; color: var(--text-2); }
.address-demo .addr { font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.address-demo .addr span { font-weight: 400; color: var(--text-2); }
.address-demo em { font-style: normal; color: var(--amber-2); }

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 44px; font-size: 1.3rem; letter-spacing: -0.01em; }
.prose p, .prose ul { margin-top: 14px; color: var(--text-2); }
.prose ul { padding-left: 1.2em; display: grid; gap: 8px; }
.prose a { color: var(--amber-2); text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; align-items: center; }
.notfound-num {
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 14rem);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -0.045em;
  color: transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(154, 216, 255, .1));
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 60px rgba(154, 216, 255, .25);
  margin-bottom: 24px;
}

/* ---------- scroll reveal (set up by site.js, only below the fold) ---------- */
.reveal-pending { opacity: 0; transform: translateY(32px) scale(.985); filter: blur(10px); }
.reveal-in {
  opacity: 1; transform: none; filter: none;
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.m-bar i { transform-origin: left center; transition: transform 1.6s var(--ease-out) .35s; }
.reveal-pending .m-bar i { transform: scaleX(0); }

/* ==========================================================================
   Liquid glass: one recipe for every floating panel
   ========================================================================== */
/* atmosphere behind everything: faint mullion lines and two soft lights */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 88% 0%, rgba(240, 180, 106, .07), transparent 70%),
    radial-gradient(50% 50% at 0% 55%, rgba(52, 48, 63, .5), transparent 70%),
    radial-gradient(45% 40% at 100% 100%, rgba(15, 38, 82, .45), transparent 70%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .026) 0 1px, transparent 1px 180px);
  background-position: center;
}

/* large panels: fill, blur, a light rim and a highlight that follows the pointer */
:is(.bento-card, .agent-card, .work-panel, .feature, .plan, .form-card, .aside-card, .get-card,
    .cta-card, .compare-panel, .ps, .plan-note, .app-window, .why-card) {
  position: relative;
  border-color: rgba(255, 255, 255, .07);
  background:
    radial-gradient(560px circle at var(--mx) var(--my), rgba(255, 255, 255, .08), transparent 45%),
    var(--lg-fill);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  box-shadow: var(--lg-shadow);
  transition: --mx .4s var(--ease-out), --my .4s var(--ease-out), transform .7s var(--ease-out), border-color .4s, box-shadow .7s var(--ease-out);
}
:is(.bento-card, .agent-card, .work-panel, .feature, .plan, .form-card, .aside-card, .get-card,
    .cta-card, .compare-panel, .ps, .plan-note, .app-window, .why-card)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  background: var(--lg-rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
:is(.bento-card, .agent-card, .feature, .plan, .get-card):hover { transform: translateY(-4px); }

/* tinted and darker variants keep their character */
.compare-new, .plan--featured {
  border-color: rgba(240, 180, 106, .28);
  background:
    radial-gradient(560px circle at var(--mx) var(--my), rgba(255, 255, 255, .08), transparent 45%),
    linear-gradient(160deg, rgba(240, 180, 106, .15), rgba(255, 255, 255, .035) 55%, rgba(255, 255, 255, .02));
}
.compare-old { border-style: dashed; border-color: rgba(255, 255, 255, .16); }
.cta-card, .app-window {
  background:
    radial-gradient(560px circle at var(--mx) var(--my), rgba(255, 255, 255, .08), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03) 40%, rgba(10, 14, 26, .45));
}
.ps { -webkit-backdrop-filter: none; backdrop-filter: none; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .film-tour { background: rgba(14, 19, 34, .94); }
}

/* small glass: pills, chips, captions */
/* every selector here is a single class, so the tints below can override it */
:is(.fact, .eyebrow--pill, .btn-glass, .note, .portrait-chip, .float-chip, .address-demo,
    .aud-glass, .faq-item, .ticker-toggle, .film-tour), .jump-nav a {
  border-color: var(--lg-chip-line);
  background: var(--lg-chip-fill);
  -webkit-backdrop-filter: var(--lg-blur);
  backdrop-filter: var(--lg-blur);
  box-shadow: var(--lg-chip-shadow);
}
.aud-glass { background: linear-gradient(180deg, rgba(20, 24, 38, .42), rgba(10, 13, 24, .55)); }
/* chips over photos need a darker tint to stay readable */
.portrait-chip, .float-chip { background: linear-gradient(180deg, rgba(24, 30, 50, .66), rgba(10, 14, 26, .74)); }
.faq-item[open] { background: linear-gradient(180deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .05)); }

/* glass chips that float beside the hero dashboard */
.float-chip {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 290px;
  padding: 12px 18px 12px 12px;
  border: 1px solid;
  border-radius: 20px;
  font-size: .8rem;
  line-height: 1.35;
}
.float-chip b { display: block; font-weight: 600; font-size: .78rem; }
.float-chip span span { display: block; color: var(--text-2); }
.float-chip--a { left: -30px; top: -38px; }
.float-chip--b { right: -26px; top: 46%; }
@media (max-width: 1279px) { .float-chip--a { left: 12px; } .float-chip--b { right: 12px; } }
@media (max-width: 1099px) { .float-chip { display: none; } }

/* ---------- motion ---------- */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); filter: blur(10px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes wordmark-in {
  from { opacity: 0; transform: translateY(12%); filter: blur(14px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes cue { 0%, 100% { transform: translateY(-2px); opacity: .55; } 50% { transform: translateY(4px); opacity: 1; } }

/* entrance: html.motion is set by site.js; html.motion-settled ends it after 2.6 s regardless */
@media (prefers-reduced-motion: no-preference) {
  .motion:not(.motion-settled) .page-hero .container > * { animation: rise-in 1.1s var(--ease-out) both; }
  .motion:not(.motion-settled) .page-hero .container > :nth-child(2) { animation-delay: .08s; }
  .motion:not(.motion-settled) .page-hero .container > :nth-child(3) { animation-delay: .16s; }
  .motion:not(.motion-settled) .page-hero .container > :nth-child(4) { animation-delay: .24s; }
  .motion:not(.motion-settled) .film-wordmark > span { animation: wordmark-in 1.9s .2s var(--ease-out) both; }
  .motion:not(.motion-settled) .film-sub { animation: rise-in 1.3s .5s var(--ease-out) both; }
  :is(.film-cue, .scroll-cue) .icon { animation: cue 2.4s var(--ease) infinite; }
  .float-chip { animation: float 7s ease-in-out infinite alternate; }
  .float-chip--b { animation-delay: -3.5s; }
  .live::before { animation: pulse 2.2s infinite; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal-pending { opacity: 1; transform: none; filter: none; }
  .reveal-pending .m-bar i { transform: none; }
  .live::before { animation: none; }
}

/* ---------- the launch screen (home; launch.js, partials/launch.html) ---------- */
/* A sheet of liquid glass over the whole page while the film loads, with the Glass House mark in the
   middle as the loading bar: white fills it from left to right (--fill, set by launch.js from the
   frames that have arrived) and the glass clears the moment the film is ready. Only under html.launch,
   which launch.js sets before the first paint; without it (no JS, reduced motion, a repeat visit)
   none of this exists. */
.launch-screen { display: none; }
html.launch { overflow: hidden; scrollbar-gutter: stable; }   /* the page waits under the glass */
html.launch .launch-screen {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, .08) 36%, rgba(255, 255, 255, 0) 44%, rgba(255, 255, 255, 0) 58%, rgba(255, 255, 255, .05) 63%, rgba(255, 255, 255, 0) 68%),   /* sheen across the glass */
    radial-gradient(120% 90% at 12% -10%, rgba(255, 255, 255, .26), rgba(255, 255, 255, 0) 55%),     /* light along the top edge */
    radial-gradient(90% 80% at 108% 112%, rgba(154, 216, 255, .16), rgba(154, 216, 255, 0) 60%),     /* cool glow in the far corner */
    radial-gradient(22rem 22rem at 50% 50%, rgba(6, 9, 17, .16), rgba(6, 9, 17, 0) 70%),             /* a little depth behind the mark */
    linear-gradient(155deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .06) 42%, rgba(240, 180, 106, .05) 70%, rgba(11, 16, 32, .22) 100%);
  -webkit-backdrop-filter: blur(36px) saturate(175%);
  backdrop-filter: blur(36px) saturate(175%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 -140px 180px -90px rgba(6, 9, 17, .35);
  transition: opacity .7s var(--ease), -webkit-backdrop-filter .7s var(--ease), backdrop-filter .7s var(--ease);
}
.launch-screen[hidden] { display: none !important; }
/* the mark is the loading bar: solid white up to --fill, frosted white after it */
.launch-mark {
  --fill: 0%;
  width: clamp(76px, 7.5vw, 112px);
  aspect-ratio: 1;
  background: linear-gradient(90deg, #fff var(--fill), rgba(255, 255, 255, .3) calc(var(--fill) + 2%));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -92.5 730 730'%3E%3Cpath d='M243.9 8H364.1L232.1 140H111.9Z'/%3E%3Cpath d='M212 100L42.5 269.5V501.5H231.5V271L459.5 43L687.5 271V501.5H459.5V336' fill='none' stroke='black' stroke-width='85' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -92.5 730 730'%3E%3Cpath d='M243.9 8H364.1L232.1 140H111.9Z'/%3E%3Cpath d='M212 100L42.5 269.5V501.5H231.5V271L459.5 43L687.5 271V501.5H459.5V336' fill='none' stroke='black' stroke-width='85' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
html.launch .launch-screen.is-out {
  opacity: 0;
  -webkit-backdrop-filter: blur(0) saturate(100%);
  backdrop-filter: blur(0) saturate(100%);
}
html.launch .launch-screen.is-out .launch-mark { opacity: 0; transform: scale(1.06); }
/* the opening title waits under the glass and makes its entrance as the glass clears (site.js) */
html.launch:not(.launch-out) .film-beat--intro { opacity: 0 !important; }
