/* ============================================================
   AVZERA — a gold-on-light studio experience
   Design concept: rebuilt front-end only.
   Type: Fraunces (display) + IBM Plex Mono (UI)
   ============================================================ */

:root {
  --bg: #d9dadd;
  --ink: #1c1a17;
  --dim: rgba(28, 26, 23, 0.72);
  --dim-2: rgba(28, 26, 23, 0.5);
  --gold: #8a5d18;
  --gold-2: #d6a656;
  --gold-3: #f5d99d;
  --paper: #fbfaf7;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font: 400 11px/1.6 var(--mono);
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.locked {
  overflow: hidden;
  height: 100vh;
}

::selection {
  background: var(--gold-2);
  color: #1a1408;
}

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

button,
a {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

a {
  color: inherit;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 1.5px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ============================================================ loader */
#loader {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background:
    radial-gradient(120% 100% at 50% 20%, #e6e7e9 0%, #d9dadd 45%, #d3d4d8 100%);
  text-align: center;
  transition: opacity 1.15s var(--ease), visibility 0s linear 1.15s;
}

#loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 40% at 50% 52%, rgba(255, 255, 255, 0.55), transparent 70%);
  pointer-events: none;
}

#loader.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  position: relative;
  color: rgba(28, 26, 23, 0.55);
  letter-spacing: 0.35em;
}

.loader-mark {
  display: block;
  margin: 0 auto 10px;
  height: clamp(38px, 5.2vw, 56px);
  width: auto;
  filter: drop-shadow(0 10px 26px rgba(90, 60, 18, 0.18));
}

.loader-tag {
  display: block;
  margin-bottom: 22px;
  color: #6b4711;
  font: 500 9px / 1 var(--mono);
  letter-spacing: 0.46em;
  text-transform: uppercase;
  text-indent: 0.46em;
}

#pct {
  display: block;
  color: var(--gold);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.35em;
}

#enter {
  all: unset;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  padding: 17px 30px 17px 26px;
  border-radius: 999px;
  font: 600 12px / 1 var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #1a1408;
  cursor: pointer;
  background: linear-gradient(180deg, #f8dea6, #d6a656);
  box-shadow: 0 12px 34px rgba(154, 108, 36, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.45s, transform 0.55s cubic-bezier(0.2, 1.3, 0.3, 1);
}

#enter::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1.5px solid rgba(214, 166, 86, 0.7);
  opacity: 0;
  pointer-events: none;
}

#enter i {
  display: inline-flex;
  align-items: center;
  gap: 2.5px;
  height: 16px;
}

#enter i b {
  display: block;
  width: 2.5px;
  height: 16px;
  margin: 0;
  border-radius: 2px;
  background: #1a1408;
  transform: scaleY(0.3);
  animation: eqw 1s ease-in-out infinite alternate;
}

#enter i b:nth-child(2) { animation-duration: 0.7s; animation-delay: -0.3s; }
#enter i b:nth-child(3) { animation-duration: 1.1s; animation-delay: -0.6s; }
#enter i b:nth-child(4) { animation-duration: 0.8s; animation-delay: -0.2s; }
#enter i b:nth-child(5) { animation-duration: 0.95s; animation-delay: -0.5s; }

#enter-note {
  display: block;
  margin-top: 14px;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: rgba(28, 26, 23, 0.5);
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.5s 0.15s;
}

#loader.gate {
  cursor: pointer;
}

#loader.gate #enter {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

#loader.gate #enter::after {
  animation: enterRing 1.8s ease-out infinite;
}

#loader.gate #enter-note {
  opacity: 1;
}

#loader.building #enter {
  opacity: 0.5;
  transform: none;
  pointer-events: none;
}

#loader.building #enter::after {
  animation: none;
  opacity: 0;
}

#loader.building #enter-note {
  opacity: 1;
}

#enter:active {
  transform: scale(0.96);
}

@keyframes enterRing {
  0% { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.18, 1.45); }
}

@keyframes eqw {
  0% { transform: scaleY(0.22); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(0.45); }
}

/* ============================================================ ambient + room */
#dust {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
}

#topfade {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: 150px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(233, 234, 236, 0.92) 0, rgba(233, 234, 236, 0.6) 42%, rgba(233, 234, 236, 0.2) 74%, rgba(233, 234, 236, 0) 100%);
}

#scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #dfe2e6;
}

#gl {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.1s ease;
  /* let vertical swipes scroll the page even when the finger starts on the
     canvas; the scene is fixed behind the content, not a scroll trap */
  touch-action: pan-y;
}

html.gl-on #gl {
  opacity: 1;
}

html.gl-on .room,
html.gl-on .obj-stage {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none !important;
}

/* the composer used to draw this vignette; a fixed gradient is free */
html.gl-on #scene::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 40%, rgba(20, 22, 26, 0) 58%, rgba(20, 22, 26, 0.14) 100%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0) 18%);
}

/* while the wheel is moving, stop every ambient CSS animation and transition */
body.is-scrolling .obj-stage *,
body.is-scrolling .obj-stage {
  animation-play-state: paused !important;
}
body.is-scrolling .obj {
  transition: none !important;
}

/* Hover states firing on elements scrolling under the cursor are a major
   source of per-event style recalculation. Disable hit-testing while
   scrolling; scrolling itself is driven by the document root. */
body.is-scrolling * {
  pointer-events: none !important;
}

html.gl-on #dust {
  opacity: 0.5;
}

#brain-tip {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 6;
  padding: 9px 13px 10px;
  min-width: 132px;
  border: 1px solid rgba(143, 95, 30, 0.18);
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.97), rgba(247, 240, 227, 0.94));
  box-shadow: 0 14px 38px rgba(38, 32, 22, 0.16);
  color: #1c1a17;
  font: 500 9px/1.35 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 6px, 0) scale(0.96);
  transition: opacity 0.2s, transform 0.25s var(--ease);
}

#brain-tip.on {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

#brain-tip b {
  display: block;
  margin-bottom: 3px;
  color: #8a5d18;
  font: 500 12px/1.15 var(--serif);
  letter-spacing: 0;
  text-transform: none;
}

#brain-tip span {
  color: rgba(28, 26, 23, 0.54);
  font-size: 8px;
}

.room {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.room-wall {
  position: absolute;
  left: -6%;
  right: -6%;
  top: -10%;
  height: 68%;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0) 62%),
    linear-gradient(90deg, transparent 0 19.92%, rgba(34, 38, 44, 0.055) 19.92% 20%, transparent 20% 39.92%, rgba(34, 38, 44, 0.055) 39.92% 40%, transparent 40% 59.92%, rgba(34, 38, 44, 0.05) 59.92% 60%, transparent 60% 79.92%, rgba(34, 38, 44, 0.05) 79.92% 80%, transparent 80%),
    #eceef2;
}

.room-wall::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 60% at 22% 28%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(to bottom, transparent 0 32.8%, rgba(34, 38, 44, 0.05) 32.8% 33%, transparent 33% 65.8%, rgba(34, 38, 44, 0.045) 65.8% 66%, transparent 66%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 84%, rgba(30, 34, 40, 0.07) 100%);
}

.room-floor {
  position: absolute;
  left: -30%;
  right: -30%;
  top: 55%;
  height: 80%;
  transform: perspective(900px) rotateX(62deg);
  transform-origin: 50% 0;
  background:
    radial-gradient(ellipse 50% 44% at 50% 0%, rgba(255, 255, 255, 0.85), transparent 65%),
    linear-gradient(rgba(30, 34, 40, 0.06) 1px, transparent 1px) 0 0 / 100% 74px,
    linear-gradient(90deg, rgba(30, 34, 40, 0.06) 1px, transparent 1px) 0 0 / 122px 100%,
    #e1e4e8;
  border-top: 1px solid rgba(30, 34, 40, 0.07);
}

.room-floor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0, rgba(214, 218, 223, 0.35) 35%, #dde0e4 95%);
}

.room-light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(34% 30% at 66% 24%, rgba(255, 255, 255, 0.95), transparent 72%),
    radial-gradient(30% 26% at 34% 32%, rgba(255, 252, 244, 0.5), transparent 72%);
  pointer-events: none;
}

.room-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0.16), transparent 18%),
    radial-gradient(80% 70% at 50% 46%, transparent 50%, rgba(28, 30, 34, 0.13) 100%);
  pointer-events: none;
}

.scene-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 50% 40%, transparent 58%, rgba(20, 22, 26, 0.12) 100%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent 20%);
  pointer-events: none;
}

/* ============================================================ objects */
.obj-stage {
  position: absolute;
  inset: 0;
  transform: translate3d(calc(var(--mx, 0) * 13px), calc(var(--my, 0) * 9px), 0);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.obj {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(820px, 76vw);
  height: min(650px, 70vh);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translate(-50%, -46%) scale(0.97);
  transition: opacity 0.55s ease, transform 0.9s var(--ease);
  pointer-events: none;
}

.obj.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.obj.active a,
.obj.active button {
  pointer-events: auto;
}

.floor-shadow {
  position: absolute;
  left: 50%;
  bottom: 11%;
  width: 62%;
  height: 60px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(30, 26, 20, 0.24), rgba(30, 26, 20, 0.08) 45%, transparent 72%);
  filter: blur(9px);
  pointer-events: none;
}

/* ---------- plinth ---------- */
.plinth {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: min(430px, 40vw);
  height: 150px;
  transform: translateX(-50%);
}

.plinth::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 42%, #ffffff 0%, #f4f3ef 58%, #ddddda 100%);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.9), inset 0 -7px 14px rgba(40, 36, 30, 0.06);
}

.plinth::after {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 22px;
  bottom: 0;
  border-radius: 0 0 46% 46% / 0 0 16% 16%;
  background: linear-gradient(90deg, #d5d4d0 0%, #f6f5f1 20%, #ffffff 50%, #efede8 79%, #d0cfca 100%);
  box-shadow: 0 26px 44px rgba(30, 26, 20, 0.2);
}

.plinth i {
  position: absolute;
  left: 5%;
  right: 5%;
  top: 7px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(214, 166, 86, 0.4);
  z-index: 2;
}

/* ---------- 01 brain ---------- */
.brain-wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(560px, 52vw);
  transform: translate(-50%, -57%);
  animation: floaty 7s ease-in-out infinite;
  filter: drop-shadow(0 32px 38px rgba(30, 24, 14, 0.28));
  z-index: 2;
}

.brain {
  display: block;
  width: 100%;
  height: auto;
}

.brain-gloss {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(38% 26% at 34% 28%, rgba(255, 255, 255, 0.16), transparent 75%);
  pointer-events: none;
}

.brain-shadow {
  bottom: 17%;
  width: 58%;
  height: 42px;
  opacity: 0.8;
}

#sulci path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#cracks path {
  fill: none;
  stroke: #d8a851;
  stroke-width: 1.7;
  stroke-linecap: round;
  filter: url(#softGlow);
  animation: seamGlow 5s ease-in-out infinite;
}

@keyframes seamGlow {
  0%, 100% { opacity: 0.58; }
  50% { opacity: 0.95; }
}

@keyframes floaty {
  0%, 100% { transform: translate(-50%, -57%); }
  50% { transform: translate(-50%, -59.5%); }
}

/* ---------- 02 laptop ---------- */
.laptop {
  position: relative;
  width: min(620px, 58vw);
  transform: perspective(1200px) rotateX(5deg) rotateY(-12deg) rotateZ(-1.5deg);
  z-index: 2;
  animation: floatySmall 7.5s ease-in-out infinite;
}

.laptop-lid {
  position: relative;
  aspect-ratio: 16 / 10.1;
  padding: 12px;
  border-radius: 18px 18px 5px 5px;
  background: linear-gradient(150deg, #2a2a29, #161615 55%, #0d0d0c);
  box-shadow: 0 2px 0 rgba(255, 255, 255, 0.22) inset, 0 40px 70px rgba(30, 26, 20, 0.32);
}

.laptop-cam {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #3a3936;
}

.site {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #fbfaf7;
  color: #211e19;
  display: flex;
  flex-direction: column;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.6vw, 22px);
  padding: 0 clamp(12px, 1.5vw, 20px);
  height: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid rgba(28, 26, 23, 0.08);
  flex: none;
}

.site-nav b {
  font: italic 700 clamp(10px, 1.05vw, 14px) / 1 "Times New Roman", serif;
  letter-spacing: -0.02em;
  color: #111;
}

.site-nav b span {
  font-style: normal;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.48em;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-left: 3px;
  vertical-align: 2px;
}

.site-nav nav {
  display: flex;
  gap: clamp(8px, 1.3vw, 16px);
  font-size: clamp(5.5px, 0.55vw, 7.5px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(28, 26, 23, 0.55);
}

.site-nav nav i {
  font-style: normal;
}

.site-nav em {
  margin-left: auto;
  font-style: normal;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f6d99c, #d6a656);
  color: #1a1408;
  font-size: clamp(5.5px, 0.55vw, 7.5px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(12px, 2vw, 30px);
  padding: clamp(15px, 2.2vw, 32px) clamp(15px, 2vw, 30px) clamp(14px, 2vw, 28px);
  background:
    radial-gradient(60% 80% at 78% 20%, rgba(214, 166, 86, 0.12), transparent 70%),
    #fbfaf7;
  overflow: hidden;
}

.site-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
}

.site-copy small {
  color: #8a5d18;
  font-size: clamp(5.5px, 0.58vw, 7.5px);
  letter-spacing: 0.2em;
  font-weight: 500;
}

.site-copy h3 {
  margin-top: 8px;
  font: 300 clamp(18px, 2.35vw, 34px) / 1.02 var(--serif);
  letter-spacing: -0.025em;
  color: #1c1a17;
}

.site-copy h3 em {
  font-style: italic;
  color: #9c6a24;
}

.site-copy p {
  max-width: 90%;
  margin-top: 8px;
  font: 400 clamp(6px, 0.65vw, 9px) / 1.55 var(--mono);
  letter-spacing: 0.02em;
  color: rgba(28, 26, 23, 0.62);
}

.site-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(9px, 1.1vw, 14px);
  padding: clamp(6px, 0.75vw, 9px) clamp(10px, 1.2vw, 15px);
  border-radius: 999px;
  background: linear-gradient(180deg, #f6d99c, #d6a656);
  color: #1a1408;
  font-size: clamp(5.5px, 0.6vw, 8px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 5px 16px rgba(154, 108, 36, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.site-btn b {
  font-size: 1.15em;
}

.site-proof {
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: clamp(9px, 1.2vw, 14px);
  font-size: clamp(5.5px, 0.55vw, 7px);
  color: rgba(28, 26, 23, 0.55);
}

.site-proof i {
  font-style: normal;
  color: #c08730;
  font-size: 0.9em;
}

.site-proof span {
  margin-left: 5px;
  letter-spacing: 0.04em;
}

.site-art {
  position: relative;
  border-radius: 90px 90px 12px 12px;
  overflow: hidden;
  background:
    radial-gradient(80% 70% at 50% 35%, #e8c98f 0%, #d6a656 38%, #a4762f 72%, #6d4a18 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.site-art::before {
  content: "";
  position: absolute;
  inset: 12% 18% 30%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.08) 44%, transparent 70%);
  filter: blur(1px);
}

.site-orb {
  position: absolute;
  left: 50%;
  top: 38%;
  width: 62%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.1), 0 0 0 30px rgba(255, 255, 255, 0.06);
}

.site-card {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 10%;
  padding: clamp(7px, 0.9vw, 11px);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 22px rgba(50, 34, 8, 0.18);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-card small {
  font-size: clamp(4.5px, 0.48vw, 6px);
  letter-spacing: 0.18em;
  color: #8a5d18;
}

.site-card b {
  font: 500 clamp(7.5px, 0.8vw, 11px) / 1.2 var(--mono);
  color: #1c1a17;
}

.site-card span {
  font-size: clamp(4.8px, 0.5vw, 6.5px);
  color: rgba(28, 26, 23, 0.55);
}

.laptop-base {
  position: relative;
  width: 112%;
  height: clamp(10px, 1.5vw, 17px);
  margin-left: -6%;
  border-radius: 2px 2px 18px 18px;
  background: linear-gradient(180deg, #d7d6d2 0%, #b9b8b4 60%, #9e9d99 100%);
  transform: perspective(500px) rotateX(22deg);
  transform-origin: top center;
  box-shadow: 0 24px 36px rgba(30, 26, 20, 0.24);
}

.laptop-base i {
  position: absolute;
  left: 50%;
  top: 0;
  width: 13%;
  height: 45%;
  transform: translateX(-50%);
  border-radius: 0 0 8px 8px;
  background: #a9a8a4;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

@keyframes floatySmall {
  0%, 100% { transform: perspective(1200px) rotateX(5deg) rotateY(-12deg) rotateZ(-1.5deg) translateY(0); }
  50% { transform: perspective(1200px) rotateX(5deg) rotateY(-12deg) rotateZ(-1.5deg) translateY(-9px); }
}

/* ---------- 03 google ---------- */
.obj-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 58px);
  padding-right: 3vw;
}

.pin-stack {
  position: relative;
  width: min(250px, 22vw);
  flex: none;
  animation: pinBob 6s ease-in-out infinite;
}

.pin {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  z-index: 2;
  filter: drop-shadow(0 26px 22px rgba(60, 42, 12, 0.28));
}

.pin-shadow {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: 60%;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(40, 30, 12, 0.28), transparent 68%);
  filter: blur(5px);
}

.pin-rings {
  position: absolute;
  left: 50%;
  bottom: -6%;
  width: 110%;
  height: 26%;
  transform: translateX(-50%);
}

.pin-rings i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(138, 93, 24, 0.35);
  border-radius: 50%;
  animation: ringPulse 3.4s ease-out infinite;
}

.pin-rings i:nth-child(2) { animation-delay: 1.1s; }
.pin-rings i:nth-child(3) { animation-delay: 2.2s; }

@keyframes ringPulse {
  0% { transform: translate(-50%, -50%) scale(0.35); opacity: 0; }
  30% { opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}

@keyframes pinBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.gbp-card {
  position: relative;
  width: min(390px, 24vw);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(252, 251, 248, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 30px 70px rgba(36, 30, 20, 0.2), inset 0 1px 0 #fff;
  transform: rotateY(-5deg) rotateX(2deg) rotateZ(1deg);
  animation: cardFloat 8s ease-in-out infinite;
}

.gbp-map {
  position: relative;
  height: clamp(86px, 9vw, 120px);
  background:
    radial-gradient(60% 80% at 62% 40%, rgba(214, 166, 86, 0.25), transparent 70%),
    linear-gradient(135deg, #eef0f1, #e2e5e7);
  overflow: hidden;
}

.gbp-map svg {
  position: absolute;
  left: 56%;
  top: 34%;
  width: 52px;
  transform: translate(-50%, -50%);
  fill: #d6a656;
  stroke: #8f5f1e;
  stroke-width: 2;
  filter: drop-shadow(0 6px 8px rgba(80, 54, 12, 0.25));
}

.gbp-map svg circle {
  fill: #fff;
  stroke: none;
}

.gbp-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(30, 34, 40, 0.08) 1px, transparent 1px) 0 0 / 100% 26px,
    linear-gradient(90deg, rgba(30, 34, 40, 0.08) 1px, transparent 1px) 0 0 / 34px 100%;
  transform: perspective(300px) rotateX(48deg) scale(1.5);
  transform-origin: 50% 50%;
  opacity: 0.6;
}

.gbp-body {
  padding: clamp(12px, 1.4vw, 18px) clamp(13px, 1.5vw, 20px) clamp(13px, 1.5vw, 20px);
}

.gbp-body h3 {
  margin-top: 4px;
  font: 400 clamp(16px, 1.55vw, 21px) / 1.15 var(--serif);
  letter-spacing: -0.015em;
}

.gbp-body small {
  color: var(--gold);
  font-size: clamp(6px, 0.62vw, 8px);
  font-weight: 500;
  letter-spacing: 0.18em;
}

.stars {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: clamp(7px, 0.72vw, 9px);
  color: rgba(28, 26, 23, 0.6);
}

.stars b {
  color: #b77f29;
  letter-spacing: 0.06em;
  font-size: 1.05em;
}

.stars span {
  margin-left: 2px;
}

.gbp-line {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: clamp(7px, 0.8vw, 10px);
  font-size: clamp(6.5px, 0.66vw, 8.5px);
  color: rgba(28, 26, 23, 0.72);
}

.gbp-line.dim {
  color: rgba(28, 26, 23, 0.5);
  margin-top: 4px;
}

.gbp-line .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2f8f5b;
  box-shadow: 0 0 0 3px rgba(47, 143, 91, 0.13);
}

.gbp-actions {
  display: flex;
  gap: 6px;
  margin-top: clamp(10px, 1.2vw, 14px);
}

.gbp-actions span {
  flex: 1;
  padding: 6px 4px;
  text-align: center;
  border-radius: 9px;
  border: 1px solid rgba(28, 26, 23, 0.12);
  font-size: clamp(5.8px, 0.58vw, 7.5px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(28, 26, 23, 0.7);
}

.gbp-actions span:first-child {
  border-color: transparent;
  background: linear-gradient(180deg, #f6d99c, #d6a656);
  color: #1a1408;
  font-weight: 600;
}

.gbp-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--gold);
  font-size: 6.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 12px rgba(30, 26, 20, 0.1);
}

@keyframes cardFloat {
  0%, 100% { transform: rotateY(-5deg) rotateX(2deg) rotateZ(1deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(2deg) rotateZ(1deg) translateY(-8px); }
}

/* ---------- 04 ai agents ---------- */
.obj-ai {
  display: block;
}

.ai-orb {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(230px, 20vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, #fff8e6 0%, #f4d28d 9%, #d6a656 30%, #9c6a24 58%, #3b270b 88%, #1a1206 100%);
  box-shadow:
    0 0 90px rgba(214, 166, 86, 0.5),
    0 0 30px rgba(255, 210, 130, 0.4),
    inset -18px -24px 50px rgba(40, 24, 2, 0.55),
    inset 12px 16px 40px rgba(255, 244, 215, 0.28);
  z-index: 2;
  animation: orbPulse 6s ease-in-out infinite;
}

.ai-orb::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  border: 1px solid rgba(255, 244, 215, 0.25);
  background: radial-gradient(circle at 50% 50%, rgba(28, 18, 4, 0.2), transparent 70%);
}

.ai-orb i {
  position: absolute;
  inset: 34%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 230, 0.35), transparent 70%);
  filter: blur(2px);
}

.ai-orb b {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 247, 225, 0.22);
  animation: spin 20s linear infinite;
}

.ai-ring {
  position: absolute;
  left: 50%;
  top: 46%;
  border-radius: 50%;
  border: 1px solid rgba(138, 93, 24, 0.2);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.ai-ring.r1 { width: min(360px, 31vw); aspect-ratio: 1; }
.ai-ring.r2 { width: min(470px, 41vw); aspect-ratio: 1; border-style: dashed; opacity: 0.6; animation: spin 46s linear infinite; }
.ai-ring.r3 { width: min(590px, 51vw); aspect-ratio: 1; opacity: 0.35; }

@keyframes orbPulse {
  0%, 100% { box-shadow: 0 0 80px rgba(214, 166, 86, 0.42), 0 0 28px rgba(255, 210, 130, 0.35), inset -18px -24px 50px rgba(40, 24, 2, 0.55), inset 12px 16px 40px rgba(255, 244, 215, 0.28); transform: translate(-50%, -50%) scale(1); }
  50% { box-shadow: 0 0 105px rgba(214, 166, 86, 0.6), 0 0 40px rgba(255, 210, 130, 0.5), inset -18px -24px 50px rgba(40, 24, 2, 0.55), inset 12px 16px 40px rgba(255, 244, 215, 0.28); transform: translate(-50%, -50%) scale(1.025); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.agent-card {
  position: absolute;
  z-index: 3;
  width: min(250px, 21vw);
  padding: 13px 16px 14px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 #fff, 0 18px 44px rgba(36, 30, 20, 0.16);
  animation: cardFloat2 7s ease-in-out infinite;
}

.agent-card small {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.agent-card small em {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d6a656;
  box-shadow: 0 0 0 3px rgba(214, 166, 86, 0.2);
  animation: blink 1.8s ease-in-out infinite;
}

.agent-card b {
  display: block;
  margin-top: 6px;
  font: 500 clamp(10px, 1vw, 13px) / 1.35 var(--mono);
  letter-spacing: 0;
  color: #1c1a17;
}

.agent-card span {
  display: block;
  margin-top: 3px;
  font-size: clamp(6px, 0.62vw, 8px);
  color: rgba(28, 26, 23, 0.48);
}

.agent-card.a1 { left: 1%; top: 17%; }
.agent-card.a2 { right: 1%; top: 34%; animation-delay: -2s; }
.agent-card.a3 { left: auto; right: 2%; bottom: 7%; animation-delay: -4s; }

@keyframes cardFloat2 {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ---------- 05 work ---------- */
.work-stack {
  position: relative;
  width: min(760px, 68vw);
  height: min(460px, 50vh);
  z-index: 2;
}

.work-card {
  position: absolute;
  display: block;
  width: min(390px, 34vw);
  border-radius: 13px;
  overflow: hidden;
  background: #161615;
  text-decoration: none;
  box-shadow: 0 30px 60px rgba(30, 26, 20, 0.28);
  transition: transform 0.5s var(--ease), box-shadow 0.5s;
}

.work-card:hover,
.work-card:focus-visible {
  transform: translateY(-8px) rotate(0deg) scale(1.025) !important;
  box-shadow: 0 40px 80px rgba(30, 26, 20, 0.34);
  z-index: 4;
}

.wc-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px;
  background: #20201f;
}

.wc-bar i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #4a4945;
}

.wc-bar span {
  margin-left: 7px;
  font-size: 6.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.4);
}

.work-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.92) contrast(1.02);
}

.wc-tag {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 11px;
  background: #161615;
  color: #fbf7ef;
}

.wc-tag b {
  font: 400 12px var(--serif);
}

.wc-tag span {
  font-size: 6px;
  letter-spacing: 0.18em;
  color: var(--gold-2);
}

.work-card.w1 {
  left: 50%;
  top: 6%;
  transform: translateX(-50%) rotate(-1.5deg);
  z-index: 3;
}

.work-card.w2 {
  left: 4%;
  top: 28%;
  transform: rotate(-8deg) scale(0.78);
  z-index: 2;
}

.work-card.w3 {
  right: 4%;
  top: 30%;
  transform: rotate(7deg) scale(0.78);
  z-index: 1;
}

/* ---------- 06 process ---------- */
.obj-process {
  display: block;
}

.steps {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.2vw, 15px);
  list-style: none;
  z-index: 2;
}

.steps li {
  position: relative;
  width: clamp(112px, 9.6vw, 148px);
  min-height: clamp(150px, 13vw, 196px);
  padding: clamp(12px, 1.2vw, 17px) clamp(10px, 1vw, 14px);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 #fff, 0 22px 46px rgba(36, 30, 20, 0.15);
  transform: translateY(calc(var(--i) * 10px)) rotate(calc(var(--i) * 1.2deg));
  animation: cardFloat2 8s ease-in-out infinite;
  animation-delay: calc(var(--i) * -1.2s);
}

.steps li:nth-child(3) {
  background: linear-gradient(160deg, #f8e3b0, #d6a656 62%, #b9853a);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 26px 60px rgba(154, 108, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transform: translateY(-12px) scale(1.06);
  z-index: 2;
}

.steps b {
  display: block;
  font: 500 clamp(15px, 1.5vw, 21px) / 1 "Times New Roman", serif;
  font-style: italic;
  color: var(--gold);
  letter-spacing: -0.03em;
}

.steps li:nth-child(3) b {
  color: #3a2608;
}

.steps h3 {
  margin-top: clamp(10px, 1.2vw, 15px);
  font: 400 clamp(13px, 1.15vw, 17px) / 1.15 var(--serif);
  letter-spacing: -0.01em;
  color: #1c1a17;
}

.steps p {
  margin-top: 6px;
  font-size: clamp(6.5px, 0.6vw, 8px);
  line-height: 1.55;
  color: rgba(28, 26, 23, 0.58);
  letter-spacing: 0.01em;
}

.steps li:nth-child(3) p {
  color: rgba(58, 38, 8, 0.7);
}

/* ---------- 07 visit ---------- */
.visit-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 46px);
  margin-bottom: 7%;
}

.pin-visual {
  position: relative;
  width: min(230px, 20vw);
  flex: none;
  animation: pinBob 6.5s ease-in-out infinite;
}

.pin-visual .pin-rings {
  bottom: -3%;
}

.visit-card {
  width: min(390px, 25vw);
  padding: clamp(16px, 1.6vw, 22px) clamp(16px, 1.7vw, 23px);
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.64));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 #fff, 0 28px 60px rgba(36, 30, 20, 0.17);
  animation: cardFloat2 8s ease-in-out infinite;
}

.visit-card small {
  color: var(--gold);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.visit-card h3 {
  margin: 8px 0 14px;
  font: 300 clamp(19px, 1.8vw, 25px) / 1.1 var(--serif);
  letter-spacing: -0.02em;
}

.visit-line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-top: 1px solid rgba(28, 26, 23, 0.09);
  font-size: clamp(7px, 0.7vw, 9px);
  color: rgba(28, 26, 23, 0.68);
}

.visit-line i {
  width: 24px;
  height: 24px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(214, 166, 86, 0.16);
  color: var(--gold);
  font-style: normal;
  font-size: 6px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.visit-plinth {
  display: none;
}

/* ---------- 08 contact ---------- */
.contact-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.5vw, 58px);
  margin-bottom: 3%;
}

.send-orb {
  position: relative;
  width: min(210px, 18vw);
  aspect-ratio: 1;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 30%, #fff8e6 0%, #f4d28d 12%, #d6a656 38%, #9c6a24 68%, #4a320f 100%);
  box-shadow: 0 0 80px rgba(214, 166, 86, 0.45), inset -16px -20px 44px rgba(40, 24, 2, 0.5), inset 10px 14px 36px rgba(255, 244, 215, 0.3);
  animation: orbPulse2 6s ease-in-out infinite;
}

.send-orb::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  border: 1px dashed rgba(138, 93, 24, 0.3);
  animation: spin 32s linear infinite;
}

.send-orb svg {
  width: 42%;
  height: auto;
  filter: drop-shadow(0 3px 3px rgba(60, 40, 8, 0.25));
  transform: translateX(2%);
}

@keyframes orbPulse2 {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.chat-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(380px, 26vw);
}

.bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 5px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 26px rgba(36, 30, 20, 0.1);
  font-size: clamp(8px, 0.75vw, 10px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #1c1a17;
  animation: bubbleIn 0.7s var(--ease) both;
}

.bubble.you {
  align-self: flex-end;
  border-radius: 16px 16px 5px 16px;
  background: #23211d;
  border-color: #23211d;
  color: #f8f2e6;
}

.bubble.you.gold {
  background: linear-gradient(180deg, #f6d99c, #d6a656);
  border-color: transparent;
  color: #241a08;
  font-weight: 500;
}

.bubble:nth-child(2) { animation-delay: 0.12s; }
.bubble:nth-child(3) { animation-delay: 0.24s; }
.bubble:nth-child(4) { animation-delay: 0.36s; }

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

#faq-hud {
  position: fixed;
  right: 30px;
  bottom: 118px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
  padding: 10px 12px;
  border: 1px solid rgba(143, 95, 30, 0.18);
  border-radius: 12px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.97), rgba(247, 240, 227, 0.93));
  color: #1c1a17;
  font: 500 9px/1.3 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
  min-width: 150px;
}

body.ready #faq-hud.show {
  opacity: 1;
  transform: none;
}

.faq-hud-label { color: var(--gold); }

.faq-hud-count {
  font: 600 13px/1 var(--serif);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.faq-hud-bar {
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: rgba(28, 26, 23, 0.1);
  overflow: hidden;
}

.faq-hud-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #9c6a24, #d6a656, #f5d99d);
  transition: width 0.4s var(--ease);
  box-shadow: 0 0 8px rgba(214, 166, 86, 0.4);
}

#faq-hud.done {
  border-color: rgba(143, 95, 30, 0.4);
  background: linear-gradient(150deg, rgba(255, 248, 228, 0.95), rgba(255, 236, 190, 0.85));
}

#faq-hud.done .faq-hud-count { color: #8a5d18; }

/* ============================================================ chrome */
.ui {
  position: fixed;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}

body.ready .ui {
  opacity: 1;
}

#logo {
  top: 28px;
  left: 30px;
  white-space: nowrap;
}

#logo img {
  display: block;
  height: 21px;
  width: auto;
}

#nav {
  top: 30px;
  right: 30px;
  text-align: right;
  color: var(--dim);
  font-size: 11px;
}

#nav b {
  color: var(--ink);
  font-weight: 500;
}

#sound {
  pointer-events: auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  margin: 10px 0 6px;
  padding: 6px 0;
  background: none;
  border: 0;
  color: var(--dim);
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

#sound i {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 20px;
}

#sound i b {
  width: 3px;
  height: 20px;
  border-radius: 2px;
  background: currentColor;
  transform: scaleY(0.32);
  transition: transform 0.4s;
}

#sound.on i b {
  animation: eqw 1s ease-in-out infinite alternate;
}

#sound.on i b:nth-child(1) { animation-duration: 0.9s; }
#sound.on i b:nth-child(2) { animation-duration: 0.7s; animation-delay: -0.3s; }
#sound.on i b:nth-child(3) { animation-duration: 1.1s; animation-delay: -0.6s; }
#sound.on i b:nth-child(4) { animation-duration: 0.8s; animation-delay: -0.2s; }
#sound.on i b:nth-child(5) { animation-duration: 1s; animation-delay: -0.5s; }

#sound span {
  font-size: 9px;
  letter-spacing: 0.22em;
  line-height: 1;
}

#sound:hover {
  color: var(--ink);
}

#sound:active {
  opacity: 0.6;
}

.cta-start {
  pointer-events: auto;
  display: inline-block;
  margin-top: 10px;
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 500 10px / 1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1a1408;
  background: linear-gradient(180deg, #f6d99c, #d6a656);
  box-shadow: 0 6px 20px rgba(154, 108, 36, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.2, 1.4, 0.4, 1), box-shadow 0.25s;
}

.cta-start:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 10px 28px rgba(154, 108, 36, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cta-start:active {
  transform: scale(0.97);
}

.cta-start.big {
  margin-top: 18px;
  padding: 12px 20px;
  font-size: 11px;
}

.nav-dev {
  display: inline-block;
  margin-top: 8px;
}

#copy {
  left: 30px;
  bottom: 76px;
  max-width: 480px;
  transition: opacity 0.4s;
  isolation: isolate;
}

/* a soft paper light behind the words so the copy stays crisp over every room */
#copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -52px;
  right: -34px;
  top: -46px;
  bottom: -42px;
  background:
    linear-gradient(90deg,
      rgba(251, 250, 247, 0.82) 0%, rgba(250, 249, 246, 0.52) 40%, rgba(250, 249, 246, 0.12) 72%, rgba(250, 249, 246, 0) 100%),
    radial-gradient(120% 100% at 15% 90%,
      rgba(251, 250, 247, 0.75) 0%, rgba(250, 249, 246, 0.35) 55%, rgba(248, 247, 244, 0) 82%);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
}

#copy .swap {
  transition: opacity 0.55s, transform 0.8s var(--ease);
}

#copy.out .swap {
  opacity: 0;
  transform: translateY(10px);
}

#kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 10px rgba(248, 247, 243, 0.95), 0 0 2px rgba(248, 247, 243, 0.85);
}

#kicker::before {
  content: "";
  width: 22px;
  height: 1.5px;
  flex: none;
  background: currentColor;
}

#title {
  font: 300 clamp(30px, 3.4vw, 46px) / 1.08 var(--serif);
  letter-spacing: -0.025em;
  color: var(--ink);
}

#title em {
  font-style: italic;
  color: var(--gold);
}

#body {
  max-width: 430px;
  margin-top: 14px;
  color: rgba(28, 26, 23, 0.94);
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.55);
}

.copy-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

#copy .cta-start.big {
  margin-top: 18px;
  padding: 12px 20px;
  font-size: 11px;
}

.cta-wa {
  pointer-events: auto;
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  font: 500 11px / 1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: #25d366;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.cta-wa[hidden] {
  display: none;
}

#rail {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  pointer-events: auto;
}

#rail button {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

#rail button span {
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.3s, transform 0.3s, color 0.3s;
  white-space: nowrap;
}

#rail:hover button span,
#rail button.on span {
  opacity: 1;
  transform: none;
}

#rail button i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid currentColor;
  transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

#rail button.on {
  color: var(--gold);
}

#rail button.on i {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.35);
}

#rail button.done i {
  background: currentColor;
}

#rail button:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
  border-radius: 4px;
}

#scroll-hint {
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--dim);
  font-size: 9px;
  letter-spacing: 0.3em;
  transition: opacity 0.6s;
}

#scroll-hint i {
  position: relative;
  width: 18px;
  height: 28px;
  border: 1.5px solid currentColor;
  border-radius: 10px;
}

#scroll-hint i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  width: 3px;
  height: 6px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: currentColor;
  animation: wheel 1.6s ease-in-out infinite;
}

@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(8px); opacity: 0; }
  100% { opacity: 0; }
}

body.scrolled #scroll-hint {
  opacity: 0 !important;
}

#scrollcue {
  right: 30px;
  bottom: 44px;
  color: var(--dim);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  transition: opacity 0.4s;
}

#progress {
  left: 30px;
  right: 30px;
  bottom: 30px;
  height: 2px;
  background: rgba(28, 26, 23, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

#progress i {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #9c6a24, #d6a656, #f5d99d);
  transform: scaleX(0);
  transform-origin: 0 50%;
  box-shadow: 0 0 8px rgba(214, 166, 86, 0.4);
  will-change: transform;
  /* Scroll-driven: the bar tracks the page position on the compositor,
     with zero JavaScript and zero style recalculation. */
  animation: avzera-progress linear both;
  animation-timeline: scroll(root);
}

@keyframes avzera-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Fallback for browsers without scroll-driven animations: JS drives it. */
@supports not (animation-timeline: scroll()) {
  #progress i {
    animation: none;
  }
}

#progress em {
  position: absolute;
  left: 0;
  top: -18px;
  color: var(--dim);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.2em;
  transform: translateX(-50%);
}

#copy-veil {
  position: fixed;
  left: 0;
  right: auto;
  bottom: 0;
  width: 56vw;
  height: 58vh;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(125% 95% at 0% 100%, rgba(246, 247, 248, 0.4), rgba(242, 243, 245, 0.15) 58%, rgba(238, 239, 241, 0) 80%);
}

#footer {
  position: fixed;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--dim);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s;
}

body.closing #footer {
  opacity: 1;
  pointer-events: auto;
}

.foot-links {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.foot-links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.foot-links a:hover,
.foot-links a:focus-visible {
  color: var(--ink);
  border-color: currentColor;
  outline: none;
}

/* ============================================================ lead sheet */
#lead {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  visibility: hidden;
  touch-action: auto;
}

#lead.open {
  visibility: visible;
}

.lead-scrim {
  position: absolute;
  inset: 0;
  background: rgba(22, 21, 19, 0.42);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
  opacity: 0;
  transition: opacity 0.35s;
}

#lead.open .lead-scrim {
  opacity: 1;
}

.lead-card {
  position: relative;
  width: min(460px, calc(100vw - 32px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  overscroll-behavior: contain;
  border-radius: 30px;
  padding: 28px 26px 22px;
  color: #fbf7ef;
  isolation: isolate;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.03));
  backdrop-filter: blur(30px) saturate(190%) brightness(1.05);
  -webkit-backdrop-filter: blur(30px) saturate(190%) brightness(1.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 0 30px rgba(255, 255, 255, 0.05), 0 28px 64px rgba(20, 16, 8, 0.3);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.28s ease-out, transform 0.5s cubic-bezier(0.2, 1.15, 0.3, 1);
}

#lead.open .lead-card {
  opacity: 1;
  transform: none;
}

.lead-grab {
  display: none;
}

.lead-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s;
}

.lead-x:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lead-x svg {
  width: 14px;
  height: 14px;
  stroke: #fbf7ef;
  stroke-width: 2;
  stroke-linecap: round;
}

.lead-card > small {
  display: block;
  color: #f0c985;
  font: 600 12px var(--mono);
  letter-spacing: 0.18em;
}

.lead-card h2 {
  margin: 8px 40px 18px 0;
  font: 400 26px / 1.15 var(--serif);
  letter-spacing: -0.015em;
}

.lead-card fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 14px;
}

.lead-card legend {
  margin-bottom: 8px;
  font: 500 10px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(251, 247, 239, 0.6);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 999px;
  font: 500 12px / 1.1 -apple-system, "SF Pro Text", system-ui, sans-serif;
  color: #fbf7ef;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s cubic-bezier(0.2, 1.4, 0.4, 1);
}

.chip:hover {
  background: rgba(255, 255, 255, 0.14);
}

.chip[aria-checked="true"] {
  color: #1a1408;
  background: linear-gradient(180deg, #f6d99c, #d6a656);
  border-color: transparent;
  transform: scale(1.03);
}

.field {
  position: relative;
  display: block;
  margin: 0 0 12px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 22px 14px 8px;
  border-radius: 16px;
  outline: none;
  resize: none;
  font: 400 15px / 1.4 -apple-system, "SF Pro Text", system-ui, sans-serif;
  color: #fbf7ef;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(240, 201, 133, 0.8);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(214, 166, 86, 0.15);
}

.field span {
  position: absolute;
  left: 15px;
  top: 16px;
  color: rgba(251, 247, 239, 0.55);
  pointer-events: none;
  font: 400 15px -apple-system, "SF Pro Text", system-ui, sans-serif;
  transform-origin: left top;
  transition: transform 0.2s, color 0.2s;
}

.field input:focus + span,
.field input:not(:placeholder-shown) + span,
.field textarea:focus + span,
.field textarea:not(:placeholder-shown) + span {
  transform: translateY(-10px) scale(0.72);
  color: #f0c985;
}

.field.phone input {
  padding-left: 52px;
}

.field.phone b {
  position: absolute;
  left: 15px;
  top: 22px;
  font: 400 15px -apple-system, system-ui, sans-serif;
  color: rgba(251, 247, 239, 0.8);
  opacity: 0;
  transition: opacity 0.2s;
}

.field.phone span {
  left: 15px;
  transition: transform 0.2s, color 0.2s, left 0.2s;
}

.field.phone input:focus ~ b,
.field.phone input:not(:placeholder-shown) ~ b {
  opacity: 1;
}

.field.phone input:focus + span,
.field.phone input:not(:placeholder-shown) + span {
  left: 52px;
}

.field em {
  display: none;
  margin: 6px 0 0 4px;
  font: normal 11px -apple-system, system-ui, sans-serif;
  color: #ff9f8a;
}

.field.bad em {
  display: block;
}

.field.bad input,
.field.bad textarea {
  border-color: rgba(255, 140, 120, 0.7);
}

.lead-err {
  margin: -2px 0 10px;
  color: #ffb4a3;
  font: 12.5px / 1.45 -apple-system, system-ui, sans-serif;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 6px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(251, 247, 239, 0.68);
  font: 11px / 1.5 -apple-system, "SF Pro Text", system-ui, sans-serif;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.consent:hover {
  background: rgba(255, 255, 255, 0.075);
}

.consent input {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}

.consent input:checked {
  border-color: transparent;
  background: linear-gradient(180deg, #f6d99c, #d6a656);
}

.consent input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #1a1408;
  border-bottom: 2px solid #1a1408;
  transform: rotate(40deg);
}

.consent input:focus-visible {
  outline: 2px solid #f0c985;
  outline-offset: 2px;
}

.consent a {
  color: #f0c985;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent.bad {
  border-color: rgba(255, 140, 120, 0.7);
  background: rgba(255, 140, 120, 0.08);
}

.lead-call {
  margin: 11px 2px 0;
  font-size: 10.5px;
  line-height: 1.55;
  color: rgba(251, 247, 239, 0.55);
}

.lead-call a {
  color: #f0c985;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 201, 133, 0.35);
}

.lead-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.lead-send {
  flex: 1;
  height: 50px;
  border: 0;
  border-radius: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: 600 12px var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1408;
  background: linear-gradient(180deg, #f8dea6, #d6a656);
  box-shadow: 0 10px 28px rgba(154, 108, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: transform 0.25s cubic-bezier(0.2, 1.4, 0.4, 1), box-shadow 0.25s;
}

.lead-send:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 14px 34px rgba(154, 108, 36, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.lead-send:active {
  transform: scale(0.98);
}

.lead-note {
  margin: 12px 2px 0;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(251, 247, 239, 0.45);
}

/* ============================================================ scroll space */
#scroll-space {
  position: relative;
  height: 880vh;
  pointer-events: none;
}

/* ============================================================ responsive */
@media (max-width: 1180px) {
  .obj { width: 78vw; }

  .work-card.w2 { left: 0; }
  .work-card.w3 { right: 0; }

  .agent-card { width: min(220px, 20vw); }
  .agent-card.a1 { left: -2%; }
  .agent-card.a2 { right: -2%; }
  .agent-card.a3 { left: auto; right: 0; }
}

@media (max-width: 900px) {
  .obj {
    width: 88vw;
    height: 58vh;
    top: 46%;
  }

  .brain-wrap { width: min(500px, 62vw); }
  .plinth { width: min(380px, 47vw); bottom: 5%; }
  .floor-shadow { bottom: 8%; }

  .laptop { width: min(560px, 66vw); }
  .gbp-card { width: min(330px, 30vw); }
  .pin-stack { width: min(200px, 19vw); }
  .agent-card { width: min(190px, 21vw); }
  .work-stack { width: 76vw; }
  .work-card { width: min(340px, 38vw); }
  .steps li { width: clamp(92px, 10.4vw, 122px); min-height: 0; }
  .visit-card { width: min(330px, 31vw); }
  .pin-visual { width: min(180px, 19vw); }
  .send-orb { width: min(180px, 19vw); }
  .chat-stack { width: min(320px, 31vw); }

  #copy { top: auto; bottom: 76px; max-width: 430px; transform: none; }
  #title { font-size: clamp(28px, 4.4vw, 40px); }
  #scrollcue { right: 24px; bottom: 38px; font-size: 8.5px; }
  #rail { right: 18px; }
}

@media (max-width: 900px) {
  #footer {
    flex-direction: column;
    gap: 4px;
    width: calc(100vw - 28px);
    bottom: calc(6px + env(safe-area-inset-bottom));
    text-align: center;
    white-space: normal;
    letter-spacing: 0.08em;
  }

  .foot-links {
    gap: 4px 10px;
    letter-spacing: 0.08em;
  }

  body.closing #scroll-hint,
  body.closing #scrollcue {
    opacity: 0;
  }
}

/* large desktops: match the reference logo scale at 1800px+ */
@media (min-width: 1800px) {
  #logo img { height: 28px; }
}

@media (max-width: 760px) {
  .obj {
    width: 94vw;
    height: 48vh;
    top: 42%;
  }

  #logo { top: 20px; left: 18px; }
  #logo img { height: 18px; }
  #nav { top: 20px; right: 18px; font-size: 10px; }
  #nav .cta-start,
  #nav .nav-dev { display: none; }
  #sound { margin-top: 7px; }
  #sound i { height: 15px; }
  #sound i b { height: 15px; }
  #sound span { font-size: 8px; }

  #copy {
    left: 18px;
    right: 18px;
    top: auto;
    bottom: 98px;
    max-width: 100%;
    transform: none;
  }

  #kicker { font-size: 11px; letter-spacing: 0.14em; gap: 8px; margin-bottom: 10px; }
  #kicker::before { width: 16px; }
  #title { font-size: clamp(27px, 7vw, 34px); }
  #body { max-width: 92%; font-size: 11.5px; }
  #copy .cta-start.big { margin-top: 14px; padding: 11px 17px; font-size: 10px; }

  #rail { right: 9px; gap: 12px; }
  #rail button span { display: none; }
  #rail:hover button span,
  #rail button.on span { display: none; }

  #scroll-hint { display: none; }
  #scrollcue { display: none; }
  #faq-hud { display: none; }
  #progress { left: 18px; right: 18px; bottom: 18px; }
  #progress em { display: none; }
  #copy-veil { top: auto; width: 100vw; height: 46vh; background: linear-gradient(to top, rgba(220, 222, 225, 0.95) 0%, rgba(220, 222, 225, 0.5) 45%, rgba(220, 222, 225, 0) 100%); }

  #footer {
    flex-direction: column;
    gap: 4px;
    width: calc(100vw - 28px);
    bottom: calc(6px + env(safe-area-inset-bottom));
    text-align: center;
    white-space: normal;
    letter-spacing: 0.08em;
  }

  .foot-links { gap: 4px 10px; letter-spacing: 0.08em; }

  .brain-wrap { width: min(430px, 74vw); transform: translate(-50%, -56%); }
  @keyframes floaty {
    0%, 100% { transform: translate(-50%, -56%); }
    50% { transform: translate(-50%, -58.5%); }
  }
  .plinth { width: min(320px, 56vw); height: 100px; bottom: 2%; }
  .plinth::after { top: 16px; }
  .plinth::before { height: 34px; }
  .plinth i { top: 5px; height: 24px; }
  .brain-shadow { bottom: 9%; }

  .laptop { width: min(500px, 84vw); }
  .obj-google { gap: 10px; padding-right: 0; }
  .pin-stack { width: clamp(96px, 24vw, 150px); }
  .gbp-card { width: clamp(205px, 55vw, 300px); }
  .gbp-map { height: 64px; }
  .gbp-body { padding: 10px 12px 12px; }
  .gbp-body h3 { font-size: 14px; }
  .gbp-actions { display: none; }
  .gbp-chip { font-size: 5.5px; }

  .ai-orb { width: clamp(140px, 26vw, 180px); }
  .ai-ring.r1 { width: clamp(215px, 40vw, 300px); }
  .ai-ring.r2 { width: clamp(285px, 53vw, 390px); }
  .ai-ring.r3 { display: none; }
  .agent-card { width: min(160px, 30vw); padding: 9px 11px 10px; }
  .agent-card small { font-size: 6.5px; letter-spacing: 0.12em; }
  .agent-card b { font-size: 9px; }
  .agent-card span { font-size: 6px; }
  .agent-card.a1 { left: 0; top: 6%; }
  .agent-card.a2 { right: 0; top: 38%; }
  .agent-card.a3 { display: none; }

  .work-stack { width: 88vw; height: 36vh; }
  .work-card { width: min(310px, 54vw); }
  .work-card.w2 { left: -6%; top: 34%; }
  .work-card.w3 { right: -6%; top: 36%; }
  .wc-tag b { font-size: 10px; }

  .steps { gap: 5px; }
  .steps li { width: clamp(78px, 13vw, 104px); padding: 10px 8px; border-radius: 14px; }
  .steps li:nth-child(4), .steps li:nth-child(5) { display: none; }
  .steps h3 { font-size: 12px; margin-top: 8px; }
  .steps p { font-size: 6.5px; }
  .steps b { font-size: 15px; }

  .visit-wrap { gap: 12px; margin-bottom: 12%; }
  .pin-visual { width: min(140px, 24vw); }
  .visit-card { width: min(270px, 48vw); padding: 12px 13px; }
  .visit-card h3 { font-size: 17px; margin: 6px 0 9px; }
  .visit-line { padding: 5px 0; font-size: 6.5px; gap: 6px; }
  .visit-line i { width: 19px; height: 19px; font-size: 5px; }
  .visit-plinth { display: none; }

  .contact-wrap { gap: 12px; }
  .send-orb { width: clamp(120px, 30vw, 170px); }
  .chat-stack { width: clamp(200px, 52vw, 300px); gap: 6px; }
  .bubble { padding: 8px 11px; font-size: 7.5px; }

  .lead-card { width: 100vw; max-height: 92dvh; border-radius: 28px 28px 0 0; padding: 24px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(100%); }
  #lead { place-items: end center; }
  #lead.open .lead-card { transform: none; }
  .lead-grab { display: block; width: 40px; height: 5px; margin: -8px auto 14px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); }
  .lead-card h2 { font-size: 23px; }
}

@media (max-width: 440px) {
  #logo img { height: 16px; }
  #nav b { font-size: 9.5px; }
  #copy { bottom: 92px; }
  #title { font-size: 28px; }
  #body { font-size: 11px; }
  .agent-card.a2 { display: none; }
  .gbp-card { width: 56vw; }
  .pin-stack { width: 24vw; }
  .work-card.w3 { display: none; }
  .work-card { width: 68vw; }
  .work-card.w2 { left: -8%; top: 38%; }
  .chat-stack { width: 52vw; }
  .send-orb { width: 28vw; }
  .visit-card { width: 52vw; }
  .visit-line span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-height: 800px) and (min-width: 761px) {
  .obj {
    height: 58vh;
    top: 38%;
  }

  .brain-wrap {
    width: min(460px, 40vw);
  }

  .plinth {
    bottom: 0;
    width: min(360px, 34vw);
    height: 112px;
  }

  .plinth::after {
    top: 18px;
  }

  .plinth i {
    top: 6px;
  }

  .brain-shadow {
    bottom: 11%;
  }

  .laptop {
    width: min(540px, 52vw);
  }
}

@media (max-height: 700px) and (min-width: 761px) {
  #copy { bottom: 60px; }
  #title { font-size: clamp(26px, 3vw, 38px); }
  .brain-wrap { width: min(460px, 44vw); }
  .plinth { height: 110px; width: min(340px, 34vw); }
  .obj { height: 62vh; }
}

/* ============================================================ instant preview (QA only) */
html.instant *,
html.instant *::before,
html.instant *::after {
  transition-duration: 0s !important;
  animation-duration: 0s !important;
  animation-delay: 0s !important;
}

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

  #dust { display: none; }
}
