/* KAMTOBE Creations, premium concept, 30 October 2026.
   Palette: metallic burnt orange and silver on smoky graphite. Three accents, never flat.
   Metal tones are sampled from the approved CK symbol; no single flat brand swatch is implied. */

:root {
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;

  /* Shadows stay saturated burnt orange so the metal never drifts into brown or red. */
  --metal-orange: linear-gradient(112deg, #933107 0%, #b33c09 16%, #c8440b 34%, #ee6a26 46%, #ffb27a 50%, #e85a14 55%, #c2420b 72%, #a43708 90%, #933107 100%);
  --metal-orange-soft: linear-gradient(112deg, #a43708, #c8440b 40%, #ff8a4a 50%, #c8440b 60%, #a43708);
  --metal-silver: linear-gradient(112deg, #55585c 0%, #8a8d92 18%, #c9cbcf 36%, #f9f9fb 48%, #e0e1e3 54%, #a7aaaf 72%, #6a6e73 100%);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 24px;
  --gutter: clamp(16px, 4.5vw, 72px);
  --bar-h: 72px;

  --z-stage: 0;
  --z-content: 1;
  --z-solid: 2;
  --z-bar: 50;
  --z-float: 60;
  --z-sheet: 70;
}

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e0f11;
  --bg-2: #141518;
  --bg-3: #1b1c20;
  --surface: rgba(18, 19, 22, 0.9);
  --surface-solid: #17181b;
  --line: rgba(214, 216, 220, 0.14);
  --line-strong: rgba(214, 216, 220, 0.28);
  --text: #eceef0;
  --text-2: #b6b9be;
  --text-3: #92959b;
  --accent-text: #ff8a50;
  --shade: 14, 15, 17;
  --display-fill: linear-gradient(176deg, #ffffff 8%, #e6e7e9 42%, #aeb1b6 58%, #f4f5f6 92%);
  --glow: rgba(239, 106, 42, 0.22);
}

:root[data-theme="light"] {
  color-scheme: light;
  /* Light mode is brushed silver, not white. */
  --bg: #d6d8db;
  --bg-2: #cfd1d5;
  --bg-3: #dfe1e4;
  --surface: rgba(222, 224, 227, 0.94);
  --surface-solid: #dcdee1;
  --line: rgba(24, 26, 30, 0.16);
  --line-strong: rgba(24, 26, 30, 0.32);
  --text: #131417;
  --text-2: #33363b;
  --text-3: #484b51;
  --accent-text: #9a3408;
  --shade: 214, 216, 219;
  --display-fill: linear-gradient(176deg, #2b2d31 10%, #131417 45%, #4a4d53 62%, #1b1c20 92%);
  --glow: rgba(200, 68, 11, 0.16);
}

/* Self-hosted Google Fonts (SIL Open Font License), latin subset. */
@font-face { font-family: 'Bodoni Moda'; font-style: italic; font-weight: 400 600; font-display: swap; src: url('../assets/fonts/bodoni-moda-italic-400-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Bodoni Moda'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../assets/fonts/bodoni-moda-normal-400-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/poppins-normal-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/poppins-normal-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/poppins-normal-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--bar-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--surface-solid); border-radius: 8px; }
.skip:focus { top: 12px; }

.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 1.06;
  margin: 0;
}
.wrap { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 2 * var(--gutter)); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
  transition: background-position 600ms var(--ease-out), transform 160ms var(--ease-out), box-shadow 300ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }
.btn-metal {
  color: #fff;
  background: var(--metal-orange);
  background-size: 260% 100%;
  background-position: 88% 0;
  text-shadow: 0 1px 1px rgba(70, 18, 0, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 214, 186, 0.55), inset 0 -1px 0 rgba(60, 14, 0, 0.6), 0 10px 28px -12px rgba(214, 78, 20, 0.75);
}
.btn-metal:hover { background-position: 12% 0; box-shadow: inset 0 1px 0 rgba(255, 214, 186, 0.6), inset 0 -1px 0 rgba(60, 14, 0, 0.6), 0 14px 34px -12px rgba(214, 78, 20, 0.9); }
.btn-ghost { color: var(--text); background: transparent; }
.btn-ghost::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: var(--metal-silver);
  background-size: 220% 100%;
  background-position: 80% 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background-position 600ms var(--ease-out);
}
.btn-ghost:hover::before { background-position: 10% 0; }
.btn.full { width: 100%; }
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent-text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.text-btn:hover { text-decoration-thickness: 2px; }
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  transition: border-color 200ms, background-color 200ms;
}
.icon-btn:hover { border-color: var(--line-strong); background: color-mix(in srgb, var(--text) 6%, transparent); }
.icon-btn svg, .trust svg, .wa-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  background: var(--metal-orange-soft);
  text-shadow: 0 1px 1px rgba(70, 18, 0, 0.5);
}
.chip {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: 0.92rem;
  transition: background-color 200ms, border-color 200ms, color 200ms;
}
.chip:hover { border-color: var(--text-3); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Bar ---------- */
.bar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--z-bar);
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
  transition: background-color 300ms, border-color 300ms, backdrop-filter 300ms;
  border-bottom: 1px solid transparent;
}
.bar.is-solid {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35)); }
:root[data-theme="light"] .brand img { filter: drop-shadow(0 1px 1.5px rgba(20, 22, 26, 0.45)) drop-shadow(0 4px 10px rgba(20, 22, 26, 0.18)); }
.brand-word { display: flex; flex-direction: column; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.22em; line-height: 1.15; }
.brand-word span { font-weight: 400; font-size: 0.68rem; letter-spacing: 0.32em; color: var(--text-2); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative;
  padding: 10px 14px;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--text-2);
  border-radius: 999px;
  transition: color 200ms;
}
/* Owner decision, 31 Oct: no active or underlined state for the section in view, only a hover colour. */
.nav a:hover { color: var(--text); }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
.menu-toggle { display: none; }
.sheet {
  position: fixed;
  inset: var(--bar-h) 0 auto 0;
  z-index: var(--z-sheet);
  padding: 12px var(--gutter) 28px;
  background: var(--surface-solid);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 18px;
}
.sheet nav { display: grid; }
.sheet nav a { padding: 14px 0; font-size: 1.15rem; text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- 3D stage ---------- */
#stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: var(--z-stage);
  display: block;
  opacity: 0;
  transition: opacity 1100ms var(--ease-out);
}
.stage-live #stage { opacity: 1; }
.no-webgl #stage { display: none; }
.stage-poster { position: fixed; inset: 0; z-index: var(--z-stage); display: block; transition: opacity 1100ms var(--ease-out) 300ms; }
.stage-poster img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.stage-live .stage-poster { opacity: 0; }
.poster-light, :root[data-theme="light"] .poster-dark { display: none; }
:root[data-theme="light"] .poster-light { display: block; }
@media (max-width: 1100px) { .stage-poster img { object-position: 50% 0; } } /* phone and tablet stills are framed from the top */
.stage-shade {
  position: fixed;
  inset: 0;
  z-index: var(--z-stage);
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(var(--shade), 0.97) 0px, rgba(var(--shade), 0.92) calc(var(--copy-edge, 640px) - 60px), rgba(var(--shade), 0.5) calc(var(--copy-edge, 640px) + 90px), rgba(var(--shade), 0) calc(var(--copy-edge, 640px) + 300px)),
    linear-gradient(0deg, rgba(var(--shade), 0.9) 0%, rgba(var(--shade), 0) 24%),
    linear-gradient(180deg, rgba(var(--shade), 0.6) 0%, rgba(var(--shade), 0) 16%);
  transition: opacity 500ms;
}
.plaque-tip {
  position: fixed;
  z-index: var(--z-float);
  left: 0;
  top: 0;
  max-width: 280px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface-solid);
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  line-height: 1.4;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-9999px, 0, 0);
  transition: opacity 160ms;
}
.plaque-tip.is-on { opacity: 1; }
.plaque-tip b { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 500; }
.plaque-tip span { color: var(--accent-text); }
.plaque-tip em { display: block; font-style: normal; color: var(--text-3); font-size: 0.78rem; margin-top: 2px; }

main { position: relative; z-index: var(--z-content); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--bar-h) + 20px) var(--gutter) 22px;
  pointer-events: none;
}
.hero-copy { max-width: 640px; pointer-events: auto; }
.hero h1 {
  font-size: clamp(2.4rem, 4.1vw, 4rem);
  font-weight: 500;
  line-height: 1.03;
  text-wrap: balance;
  background: var(--display-fill);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.06em;
}
.hero h1 .line { display: inline; }
.lead { margin: 22px 0 0; max-width: 34em; font-size: clamp(1.02rem, 1.25vw, 1.14rem); color: var(--text-2); }
.price-strip {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin: 28px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.price-strip div { padding: 14px 22px; }
.price-strip div + div { border-left: 1px solid var(--line); }
.price-strip dt { font-size: 0.82rem; color: var(--text-3); }
.price-strip dd { margin: 2px 0 0; font-size: 0.95rem; color: var(--text-2); }
.price-strip b { font-size: 1.32rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.draft-note { margin: 10px 0 0; font-size: 0.82rem; color: var(--text-3); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.wa-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 10px; color: var(--text-2); font-size: 0.92rem; text-underline-offset: 4px; }
.wa-link:hover { color: var(--text); }
.trust {
  list-style: none;
  margin: 34px 0 0;
  padding: 18px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  border-top: 1px solid var(--line);
  max-width: 1100px;
  pointer-events: auto;
}
.trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.86rem; color: var(--text-3); line-height: 1.45; }
.trust svg { flex: none; margin-top: 2px; color: var(--accent-text); }
.trust b { display: block; color: var(--text); font-weight: 500; }
.scroll-cue {
  pointer-events: auto;
  align-self: flex-start;
  margin-top: 22px;
  font-size: 0.86rem;
  color: var(--text-3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
}
.scroll-cue::before { content: ''; width: 34px; height: 1px; background: var(--metal-silver); }
.scroll-cue:hover { color: var(--text); }

/* Hero entrance: the one orchestrated moment on load. Pure CSS, so it never waits on scripts. */
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } }
.hero-copy > *, .trust { animation: rise-in 1100ms var(--ease-out) both; }
.hero h1 .line { animation: rise-in 1200ms var(--ease-out) both; }
.hero h1 .line:nth-child(2) { animation-delay: 120ms; }
.hero-copy > :nth-child(2) { animation-delay: 260ms; }
.hero-copy > :nth-child(3) { animation-delay: 340ms; }
.hero-copy > :nth-child(4) { animation-delay: 380ms; }
.hero-copy > :nth-child(5) { animation-delay: 420ms; }
.hero-copy > :nth-child(6) { animation-delay: 460ms; }
.trust { animation-delay: 560ms; }

/* ---------- Rooms ---------- */
.rooms { position: relative; pointer-events: none; }
.room {
  min-height: 115vh;
  min-height: 115svh;
  display: flex;
  align-items: center;
  padding: var(--bar-h) var(--gutter) 40px;
}
.room-panel {
  pointer-events: auto;
  width: min(460px, 100%);
  padding: 30px 30px 22px;
  border-radius: var(--radius-l);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.room-kicker { margin: 0 0 10px; font-size: 0.82rem; color: var(--accent-text); }
.room-panel h3 { font-size: clamp(1.9rem, 2.8vw, 2.5rem); }
.room-line { margin: 12px 0 0; font-size: 1.04rem; color: var(--text); }
.ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 24px; color: var(--text-2); font-size: 0.95rem; }
.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--metal-orange-soft);
}
.room-price { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--text-2); }
.room-price b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.room-proof { margin: 10px 0 4px; font-size: 0.86rem; color: var(--text-3); }

/* ---------- Solid sections ---------- */
.section {
  position: relative;
  z-index: var(--z-solid);
  background: var(--bg);
  padding: clamp(72px, 10vw, 140px) 0;
}
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.section-head p { margin: 16px 0 0; color: var(--text-2); font-size: 1.04rem; max-width: 40em; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.work { border-top: 1px solid var(--line); }
.work::before {
  content: '';
  position: absolute;
  inset: -1px 0 auto 0;
  height: 1px;
  background: var(--metal-silver);
  opacity: 0.5;
}

/* Work */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.work-grid { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 28px; }
.work-item { break-inside: avoid; margin: 0 0 34px; }
.work-item[hidden] { display: none; }
.work-card { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.work-frame {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: var(--bg-3);
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(0, 0, 0, 0.6);
}
.work-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--metal-silver);
  background-size: 240% 100%;
  background-position: 90% 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.55;
  transition: background-position 900ms var(--ease-out), opacity 300ms;
  pointer-events: none;
}
.work-frame img, .work-frame video { width: 100%; height: auto; transition: transform 900ms var(--ease-out); }
.work-frame video { position: absolute; inset: 0; height: 100%; object-fit: cover; opacity: 0; transition: opacity 400ms; }
.work-card:hover .work-frame img { transform: scale(1.025); }
.work-card:hover .work-frame::after { background-position: 10% 0; opacity: 0.9; }
.work-card:hover .work-frame video.is-playing { opacity: 1; }
.work-meta { padding: 14px 2px 0; }
.work-label { display: block; font-size: 0.8rem; color: var(--accent-text); }
.work-title { display: block; margin-top: 2px; font-family: var(--font-display); font-size: 1.42rem; font-weight: 500; line-height: 1.2; }
.work-line { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--text-3); }

/* Prices */
.prices { background: var(--bg-2); }
.currency { display: flex; gap: 8px; }
.draft-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0 0 28px; color: var(--text-3); font-size: 0.9rem; }
.price-group + .price-group { margin-top: 44px; }
.price-group h3 { font-size: 1.5rem; margin-bottom: 10px; }
.price-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.1fr) minmax(0, 2.6fr) minmax(120px, 0.9fr) minmax(130px, 0.8fr);
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 1px solid var(--line); }
.price-name { font-weight: 500; }
.price-name .tag { margin-left: 8px; vertical-align: 2px; }
.price-what { color: var(--text-2); font-size: 0.95rem; }
.price-time { color: var(--text-3); font-size: 0.9rem; }
.price-amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.price-amt small { color: var(--text-3); font-size: 0.82rem; margin-right: 4px; }
.price-amt b { font-size: 1.25rem; font-weight: 600; }
.price-amt i { font-style: normal; color: var(--text-3); font-size: 0.85rem; }
.custom-card {
  position: relative;
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius-l);
  background:
    radial-gradient(120% 140% at 100% 0%, var(--glow), transparent 55%),
    var(--bg-3);
}
.custom-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: var(--metal-orange);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
  pointer-events: none;
}
.custom-card h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.custom-card p { margin: 12px 0 0; color: var(--text-2); }
.custom-price { display: grid; gap: 6px; justify-items: start; }
.custom-price span { color: var(--text-3); font-size: 0.9rem; }
.custom-price b { font-size: 2.2rem; font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 10px; }
.terms-note { margin: 22px 0 0; font-size: 0.84rem; color: var(--text-3); max-width: 70em; }

/* ---------- Studio (About + agents) ---------- */
.studio {
  background:
    radial-gradient(70% 50% at 50% 30%, var(--glow), transparent 70%),
    radial-gradient(60% 40% at 50% 100%, color-mix(in srgb, var(--text) 5%, transparent), transparent 70%),
    var(--bg);
  overflow: hidden;
}
.table-scene { --ring-scale: 1; position: relative; height: calc(610px * var(--ring-scale)); perspective: 1500px; perspective-origin: 50% 30%; margin-top: 12px; }
.table-ring { position: absolute; inset: 0; transform-style: preserve-3d; transform: scale(var(--ring-scale)); transform-origin: 50% 0; }
.founder {
  position: absolute;
  left: 50%;
  top: 36px;
  width: 300px;
  margin: 0;
  transform: translate3d(-50%, 0, 120px);
  z-index: 5;
  text-align: center;
}
.founder-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  /* A rounded plate rather than an arch, so her whole head is always in frame. */
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.65);
}
.founder-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: var(--metal-orange);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.founder-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.founder figcaption { margin-top: 16px; font-size: 0.86rem; color: var(--text-3); line-height: 1.45; }
.founder figcaption b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; color: var(--text); }
.seats { position: absolute; inset: 0; transform-style: preserve-3d; }
.seat {
  position: absolute;
  left: 50%;
  top: 70px;
  width: 168px;
  padding: 0;
  border: 0;
  background: none;
  text-align: center;
  transform-style: preserve-3d;
  transform: translate3d(calc(-50% + var(--x)), var(--y), var(--z)) rotateY(var(--ry));
  transition: transform 700ms var(--ease-out), filter 400ms, opacity 400ms;
  filter: saturate(0.75) brightness(0.85);
}
.seat:hover { filter: saturate(0.95) brightness(0.95); }
.seat[aria-selected="true"] {
  filter: none;
  transform: translate3d(calc(-50% + var(--x)), calc(var(--y) - 14px), calc(var(--z) + 90px)) rotateY(calc(var(--ry) * 0.5));
}
.seat-frame {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 90px 90px 12px 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.7);
}
.seat-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--metal-silver);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.seat[aria-selected="true"] .seat-frame::after { background: var(--metal-orange); padding: 3px; }
.seat img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.seat-name { display: block; margin-top: 10px; font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; color: var(--text); }
.seat-role { display: block; font-size: 0.8rem; color: var(--text-3); }
.table-floor {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: min(980px, 100%);
  height: 180px;
  transform: translateX(-50%) rotateX(72deg);
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--text) 9%, transparent), transparent);
  pointer-events: none;
}
.table-floor::before {
  content: '';
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 2px solid transparent;
  background: var(--metal-orange) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
}
.agent-detail {
  position: relative;
  max-width: 880px;
  margin: 8px auto 0;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius-l);
  background: var(--surface-solid);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.agent-detail h3 { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; font-size: 1.8rem; }
.agent-detail h3 span { font-family: var(--font-body); font-size: 0.9rem; color: var(--accent-text); letter-spacing: 0; }
.agent-detail h4 { margin: 0 0 6px; font-size: 0.86rem; font-weight: 500; color: var(--text-3); }
.agent-detail p { margin: 0; font-size: 0.95rem; color: var(--text-2); }
.agent-detail .quote { font-family: var(--font-display); font-style: italic; font-size: 1.08rem; color: var(--text); }
.agent-nav { grid-column: 1 / -1; display: flex; gap: 10px; justify-content: flex-end; }
.agent-nav .icon-btn svg { width: 18px; height: 18px; }
.handoff {
  list-style: none;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  position: relative;
  counter-reset: step;
}
.handoff::before {
  content: '';
  position: absolute;
  left: 7%;
  right: 7%;
  top: 9px;
  height: 2px;
  background: var(--metal-silver);
  opacity: 0.6;
}
.handoff li { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; font-size: 0.84rem; color: var(--text-3); line-height: 1.4; }
.handoff .node { width: 20px; height: 20px; border-radius: 50%; background: var(--metal-silver); box-shadow: 0 0 0 5px var(--bg); margin-bottom: 8px; }
.handoff .is-lead .node { background: var(--metal-orange); box-shadow: 0 0 0 5px var(--bg), 0 0 22px 2px var(--glow); }
.handoff b { color: var(--text); font-weight: 500; font-size: 0.95rem; }
.memory {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.memory h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.memory p { margin: 12px 0 0; color: var(--text-2); }
.memory .disclosure { font-size: 0.86rem; color: var(--text-3); padding: 16px 18px; border-radius: var(--radius-m); border: 1px solid var(--line); }

/* Process */
.process { background: var(--bg-2); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.steps li { counter-increment: s; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.steps li::before {
  content: counter(s);
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 14px;
  background: var(--display-fill);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.steps b { font-size: 1.08rem; font-weight: 500; }
.steps p { margin: 8px 0 0; color: var(--text-2); font-size: 0.95rem; }

/* FAQ */
.faq h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: 28px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  font-size: 1.06rem;
  font-weight: 500;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; font-weight: 300; color: var(--accent-text); transition: transform 300ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; color: var(--text-2); max-width: 44em; }

/* Contact */
.contact { background: var(--bg); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
.contact-grid > div > p { color: var(--text-2); margin: 16px 0 0; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: 0.82rem; color: var(--text-3); }
.contact-list a { font-size: 1.2rem; font-weight: 500; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 5px; }
.contact-list small { color: var(--text-3); font-size: 0.85rem; }
.brief-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--radius-l);
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.field { display: grid; gap: 6px; }
.field.full, .brief-form .btn, .form-status { grid-column: 1 / -1; }
.field label { font-size: 0.88rem; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-text); outline-offset: 0; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--accent-text); }
.error { margin: 0; min-height: 0; font-size: 0.84rem; color: var(--accent-text); }
.hint { margin: 0; font-size: 0.82rem; color: var(--text-3); }
.form-status { margin: 0; font-size: 0.92rem; color: var(--text-2); min-height: 1.4em; }

/* Footer */
.foot { position: relative; z-index: var(--z-solid); background: var(--bg-2); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 0.9rem; color: var(--text-3); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1.5fr; gap: 36px; }
.foot-brand img { width: 56px; height: 56px; }
:root[data-theme="light"] .foot-brand img { filter: drop-shadow(0 1px 1.5px rgba(20, 22, 26, 0.45)); }
.foot-tag { margin: 14px 0 4px; font-family: var(--font-display); font-size: 1.15rem; color: var(--text); }
.foot nav { display: grid; gap: 6px; align-content: start; }
.foot nav { gap: 0; }
.foot nav a { text-decoration: none; color: var(--text-2); min-height: 44px; display: inline-flex; align-items: center; }
.foot nav a:hover { color: var(--text); }
.foot-legal p { margin: 0 0 10px; }
.foot-legal a { margin-right: 16px; color: var(--text-2); }
.concept-flag { width: min(1200px, 100% - 2 * var(--gutter)); margin: 36px auto 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.8rem; }

/* Meret */
.meret-btn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-float);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px 6px 6px;
  min-height: 52px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-solid);
  box-shadow: 0 16px 40px -18px rgba(0, 0, 0, 0.6);
  font-weight: 500;
  font-size: 0.92rem;
  transition: transform 200ms var(--ease-out), opacity 200ms;
}
.meret-btn img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; box-shadow: 0 0 0 2px #c43d0b; }
.meret-btn:hover { transform: translateY(-2px); }
.meret-btn[aria-expanded="true"] { opacity: 0; pointer-events: none; }
.meret {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: var(--z-float);
  width: min(380px, calc(100vw - 32px));
  max-height: min(600px, calc(100svh - 110px));
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-l);
  background: var(--surface-solid);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  transform-origin: 100% 100%;
  animation: pop 260ms var(--ease-out);
}
@keyframes pop { from { opacity: 0; transform: scale(0.94) translateY(8px); } }
.meret header { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; border-bottom: 1px solid var(--line); }
.meret header img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; }
.meret header div { display: grid; line-height: 1.25; flex: 1; }
.meret header span { font-size: 0.8rem; color: var(--text-3); }
.meret-log { flex: 1; overflow-y: auto; padding: 16px; display: grid; gap: 10px; align-content: start; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 0.93rem; line-height: 1.5; animation: rise 300ms var(--ease-out); }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } }
.msg.bot { background: var(--bg-3); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.me { justify-self: end; color: #fff; background: var(--metal-orange-soft); border-bottom-right-radius: 4px; text-shadow: 0 1px 1px rgba(70, 18, 0, 0.5); }
.meret-options { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.meret-options .chip { font-size: 0.86rem; min-height: 40px; }
.meret-note { margin: 0; padding: 10px 16px 14px; font-size: 0.76rem; color: var(--text-3); border-top: 1px solid var(--line); }

/* Viewer */
.viewer {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100svh - 48px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-l);
  background: var(--surface-solid);
  color: var(--text);
  overflow: hidden;
}
.viewer[open] { display: grid; grid-template-columns: 1.5fr 1fr; animation: pop 280ms var(--ease-out); }
.viewer::backdrop { background: rgba(8, 9, 11, 0.72); backdrop-filter: blur(6px); }
.viewer-media { background: var(--bg); display: grid; gap: 2px; overflow-y: auto; max-height: calc(100svh - 50px); }
.viewer-media img, .viewer-media video { width: 100%; height: auto; }
.viewer-copy { padding: clamp(24px, 3vw, 40px); overflow-y: auto; }
.viewer-label { margin: 0 0 8px; font-size: 0.85rem; color: var(--accent-text); }
.viewer-copy h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.viewer-copy p { color: var(--text-2); }
/* What we did: a quiet line, not pills. Outlined pills read as buttons and visitors tapped them (owner, 1 Nov 2026). */
.viewer-did-head { margin: 22px 0 8px; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3) !important; }
.viewer-did { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.viewer-did li { position: relative; padding-left: 14px; font-size: 0.9rem; color: var(--text-2); }
.viewer-did li::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--metal-orange-soft); }
.viewer-close { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--surface-solid); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) and (min-width: 821px) {
  .hero-copy { max-width: 560px; }
  .hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.3rem); }
}

@media (max-width: 1080px) {
  /* Tablet: the top menu stays visible (owner decision, 31 Oct), a little tighter; Start a project is in the hero and menu. */
  .bar { gap: 16px; }
  .nav { gap: 0; }
  .nav a { padding: 10px 8px; font-size: 0.88rem; }
  .bar-actions .btn-small { display: none; }
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-row { grid-template-columns: 1fr auto; gap: 6px 18px; }
  .price-what { grid-column: 1 / -1; grid-row: 2; }
  .price-time { grid-column: 1 / -1; grid-row: 3; }
  .price-amt { grid-column: 2; grid-row: 1; }
  .handoff { grid-template-columns: 1fr; gap: 0; max-width: 520px; margin-inline: auto; }
  .handoff::before { left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .handoff li { grid-template-columns: 20px auto 1fr; justify-items: start; align-items: center; text-align: left; gap: 0 14px; padding: 10px 0; }
  .handoff .node { margin: 0; }
  .agent-detail { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --bar-h: 64px; }
  .brand-word { font-size: 0.82rem; }
  .bar-actions .btn-small { display: none; }
  .stage-shade {
    background:
      linear-gradient(180deg, rgba(var(--shade), 0) 0%, rgba(var(--shade), 0) 30%, rgba(var(--shade), 0.9) 52%, rgba(var(--shade), 0.97) 100%);
  }
  .hero {
    justify-content: flex-end;
    padding-top: 40svh;
    /* The backing scrolls with the words, so text never sits on top of the artwork. */
    background: linear-gradient(180deg, rgba(var(--shade), 0) 0, rgba(var(--shade), 0) calc(40svh - 80px), rgba(var(--shade), 0.97) calc(40svh - 8px));
  }
  .hero h1 { font-size: clamp(2.2rem, 9.4vw, 3.2rem); }
  .price-strip { grid-template-columns: 1fr 1fr 1fr; width: 100%; }
  .price-strip div { padding: 12px 12px; }
  .price-strip b { font-size: 1.08rem; }
  .cta-row .btn { flex: 1 1 auto; }
  .room { align-items: flex-end; padding-bottom: 20px; min-height: 100vh; min-height: 100svh; }
  .room-panel { padding: 22px 20px 14px; }
  .room-panel h3 { font-size: 1.8rem; }
  .ticks { margin-top: 12px; gap: 4px; }
  .ticks li { font-size: 0.9rem; }
  .room-price { margin-top: 12px; padding-top: 12px; font-size: 0.9rem; }
  .room-proof { font-size: 0.82rem; }
  .custom-card { grid-template-columns: 1fr; }
  .memory { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .viewer[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .viewer-media { max-height: none; }

  /* The round table becomes a clear stack on small screens. */
  .table-scene { height: auto; perspective: none; }
  .table-ring { position: static; transform: none; }
  .founder { position: relative; left: auto; top: auto; transform: none; margin: 0 auto 28px; width: min(320px, 82vw); }
  .seats { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .seat, .seat[aria-selected="true"] { position: relative; left: auto; top: auto; width: 100%; transform: none; }
  .seat-frame { aspect-ratio: 4 / 5; border-radius: 70px 70px 12px 12px; }
  .table-floor { display: none; }
  .agent-detail { margin-top: 20px; }
}

@media (max-width: 560px) {
  .brand-word span { display: none; }
  .price-strip { grid-template-columns: 1fr; }
  .price-strip div + div { border-left: 0; border-top: 1px solid var(--line); }
  .price-strip div { display: flex; justify-content: space-between; align-items: baseline; }
  .trust { grid-template-columns: 1fr; gap: 12px; }
  .brief-form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .meret-btn span { display: none; }
  .meret-btn { padding: 6px; }
  .work-title { font-size: 1.3rem; }
}

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

/* Placeholder plate if a work image ever fails */
.work-missing { display: none; }
.work-card.is-missing .work-frame { aspect-ratio: 4 / 3; }
.work-card.is-missing .work-frame > img { display: none; }
.work-card.is-missing .work-missing {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 1.3rem; color: var(--text-2);
  background: radial-gradient(80% 80% at 50% 40%, var(--glow), transparent 70%), var(--bg-3);
}
.work-missing img { width: 56px; height: 56px; }

/* Footer site-check light */
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot-base p { margin: 0; font-size: 0.8rem; }
.concept-flag { width: auto; padding: 0; border: 0; }
.watch-status { display: inline-flex; align-items: center; gap: 10px; }
.watch-status i { width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ffd2b0, #e25a1c 60%, #7a2408); box-shadow: 0 0 10px rgba(226, 90, 28, 0.6); }
.watch-status[data-state="ok"] i { background: radial-gradient(circle at 35% 35%, #ffffff, #b9bcc1 60%, #5f6368); box-shadow: 0 0 8px rgba(214, 216, 220, 0.5); }
.watch-status a { color: var(--text-2); display: inline-flex; align-items: center; min-height: 44px; }

.text-link { color: var(--accent-text); text-underline-offset: 4px; }

/* ---------- My Father's Keep: closed by default, opens in two parts ---------- */
.keep { margin: clamp(56px, 7vw, 88px) auto 0; max-width: 820px; perspective: 1400px; }
.keep-cover {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 14px;
  transform-style: preserve-3d;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.7);
}
.keep-lid, .keep-plate { display: grid; place-items: center; transition: transform 700ms var(--ease-in-out), opacity 500ms var(--ease-in-out), background-position 1200ms var(--ease-out); }
.keep-lid {
  height: 86px;
  border-radius: 14px 14px 0 0;
  background: var(--metal-silver);
  background-size: 200% 100%;
  background-position: 70% 0;
  transform-origin: 50% 0;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.keep-key { position: relative; top: 26px; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--metal-silver); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.keep-key svg { width: 24px; height: 24px; fill: none; stroke: #8a2e06; stroke-width: 1.7; stroke-linecap: round; }
.keep-plate {
  height: 96px;
  border-radius: 0 0 14px 14px;
  background: var(--metal-orange);
  background-size: 220% 100%;
  background-position: 75% 0;
  transform-origin: 50% 100%;
}
.keep-plate span { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); text-shadow: 0 2px 6px rgba(80, 24, 0, 0.55); }
.keep-cover:hover .keep-lid, .keep-cover:hover .keep-plate { background-position: 20% 0; }
.keep.is-opening .keep-lid { transform: translateY(-30px) rotateX(70deg); opacity: 0; }
.keep.is-opening .keep-plate { transform: translateY(30px) rotateX(-75deg); opacity: 0; }
.keep-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding: clamp(22px, 4vw, 44px);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--line);
  animation: keep-in 700ms var(--ease-out) both;
}
@keyframes keep-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
.keep-portrait { margin: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgba(0, 0, 0, 0.6); }
.keep-portrait img { width: 100%; height: auto; }
.keep-words { display: flex; flex-direction: column; align-items: flex-start; }
.keep-words p, .keep-quote { margin: 0; }
.keep-memory { color: var(--text-3); font-size: 0.95rem; }
.keep-words .keep-name { margin-top: 6px; font-size: clamp(1.6rem, 2.6vw, 2rem); color: var(--text); }
.keep-rule { display: block; width: 56px; height: 2px; margin: 22px 0; border-radius: 2px; background: var(--metal-orange-soft); }
.keep-words .keep-line { font-size: clamp(2.1rem, 4vw, 3rem); line-height: 1.08; text-wrap: balance; }
.keep-words .keep-thanks { margin-top: 12px; color: var(--text-2); font-size: 1.06rem; line-height: 1.55; text-wrap: balance; }
.keep-words .keep-sign { margin-top: 24px; font-style: italic; font-size: 1.2rem; color: var(--accent-text); }
.keep-close { margin-top: 28px; }
/* Phones: a centred memorial card, portrait above the words. */
@media (max-width: 640px) {
  .keep-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .keep-portrait { max-width: 260px; }
  .keep-words { align-items: center; }
  .keep-rule { margin: 20px auto; }
}

/* Poster capture (tools/make-posters.mjs): show only the 3D stage. */
.poster-capture body > *:not(#stage) { visibility: hidden !important; }
.poster-capture #stage { opacity: 1 !important; transition: none !important; }

/* Founder plate: the CK symbol on graphite metal, used until Ifeoma chooses her portrait. */
.founder-plate {
  display: grid;
  place-items: center;
  background:
    radial-gradient(70% 55% at 50% 42%, rgba(239, 106, 42, 0.22), transparent 70%),
    linear-gradient(160deg, #2a2c30, #121316 60%, #1d1e22);
}
.founder-plate img { width: 64%; height: auto; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); }

/* Held place for the QuestForgeAI video tour */
.video-soon {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(14, 15, 17, 0.82); color: #eceef0; font-size: 0.78rem; font-weight: 500;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.video-soon::before { content: ''; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #ff8a50; }
.video-slot { position: relative; background: #0e0f11; }
.video-slot img { opacity: 0.35; }
.video-slot-label {
  position: absolute; inset: 0; margin: 0; padding: 24px;
  display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center;
  color: #eceef0; font-size: 0.95rem; line-height: 1.5;
}
.video-slot-label b { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; }
.video-slot-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--metal-orange); position: relative; box-shadow: 0 10px 30px -10px rgba(214, 78, 20, 0.8); }
.video-slot-icon::after { content: ''; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }

/* ---------- Brief video: square, framed natively, no black bars ---------- */
.twin {
  margin-top: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.twin-media { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: #0e0f11; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
.twin-media::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: var(--metal-orange);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.twin-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.twin-sound { position: absolute; left: 14px; top: 14px; }
.twin-copy h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.twin-copy p { margin: 14px 0 0; color: var(--text-2); font-size: 1.02rem; }
@media (max-width: 820px) {
  .twin { grid-template-columns: 1fr; }
}

/* ---------- Founder section ---------- */
.founder-section { background: var(--bg-2); }
.founder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.founder-portrait { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6); }
.founder-portrait::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: var(--metal-silver);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.founder-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.founder-role { margin: 0 0 8px; color: var(--accent-text); font-size: 0.9rem; }
.founder-copy h2 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); }
.founder-lead { margin: 18px 0 0; font-size: 1.15rem; color: var(--text); }
.founder-copy > p:not(.founder-role):not(.founder-lead):not(.founder-sign) { margin: 14px 0 0; color: var(--text-2); }
.founder-sign { margin: 22px 0 0; font-style: italic; font-size: 1.3rem; color: var(--text-2); }
@media (max-width: 820px) { .founder-grid { grid-template-columns: 1fr; } }

/* ---------- Go-live connections, 30 October 2026 ----------
   Meret's text box, enquiry form states, deposit buttons, footer cookie control, the cookie choice banner
   (restyled from the live site's kc-audit-fixes-20261030.css) and the privacy and terms pages.
   Same tokens as the rest of the page, so every piece follows the light and dark themes. */

/* Meret: typed messages, direct routes and the privacy line */
.meret-form { display: flex; gap: 8px; padding: 10px 16px 4px; border-top: 1px solid var(--line); }
.meret-form input {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
}
.meret-form input:focus { outline: 2px solid var(--accent-text); outline-offset: 0; border-color: transparent; }
.meret-send { flex: none; color: #fff; border: 0; background: var(--metal-orange-soft); box-shadow: inset 0 1px 0 rgba(255, 214, 186, 0.5); }
.meret-send:hover { background: var(--metal-orange-soft); filter: brightness(1.08); }
.meret-send:disabled { opacity: 0.55; cursor: progress; }
.meret-links { display: flex; flex-wrap: wrap; gap: 0 18px; margin: 0; padding: 0 16px; font-size: 0.84rem; }
.meret-links a { display: inline-flex; align-items: center; min-height: 40px; color: var(--accent-text); text-underline-offset: 4px; }
.meret-note a { color: var(--text-2); text-underline-offset: 3px; }
.msg.is-typing { color: var(--text-3); font-style: italic; }
.msg-links a { color: var(--accent-text); text-underline-offset: 3px; overflow-wrap: anywhere; }

/* Enquiry form: hidden spam trap, sending, sent and failed states */
.brief-form { position: relative; }
.form-trap { display: none; }
.form-status[data-state="sent"] { color: var(--text); }
.form-status[data-state="failed"] { color: var(--accent-text); }
.form-fallback, .form-privacy { grid-column: 1 / -1; margin: 0; }
.form-fallback { font-size: 0.92rem; color: var(--text-2); }
.form-fallback a { color: var(--accent-text); text-underline-offset: 4px; overflow-wrap: anywhere; }
.form-privacy a { color: var(--text-2); text-underline-offset: 3px; }

/* Deposit buttons appear only when a Stripe Payment Link is set in js/live-config.js */
.price-amt .pay-link { display: flex; width: max-content; margin: 10px 0 0 auto; }
.pay-note a { color: var(--text-2); text-underline-offset: 3px; }

/* Footer legal links and the Cookie settings control */
.foot-legal a, .foot-cookie { display: inline-block; padding: 4px 0; }
.foot-cookie { border: 0; background: none; font-size: inherit; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.foot-cookie:hover, .foot-legal a:hover { color: var(--text); }

/* Cookie choice: equal Reject and Accept, clear of the Ask Meret button */
.kc-consent {
  position: fixed;
  z-index: 55;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(1060px, calc(100% - 2 * 190px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 28px;
  align-items: center;
  padding: 16px 18px 16px 22px;
  background: var(--surface-solid);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
  font-size: 0.875rem;
  line-height: 1.5;
  max-height: calc(100svh - 32px);
  overflow: auto;
}
.kc-consent::before { content: ''; position: absolute; left: 22px; right: 22px; top: 0; height: 1px; background: var(--metal-silver); opacity: 0.6; }
.kc-consent[hidden] { display: none; }
.kc-consent p { margin: 0; color: var(--text); }
.kc-consent a { color: var(--accent-text); text-underline-offset: 3px; }
.kc-consent-actions { display: flex; gap: 10px; }
.kc-consent-actions button {
  flex: 1 1 0;
  min-width: 120px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(24, 26, 30, 0.28);
  font-weight: 600;
  color: #16171a;
  background: linear-gradient(112deg, #9ea5a8, #e3e6e4 22%, #c3c8c9 45%, #eef0ee 60%, #b3b9bb 85%, #d5d9d9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 6px 16px -10px rgba(0, 0, 0, 0.6);
}
.kc-consent-actions button:hover { border-color: var(--accent-text); }
.kc-consent-actions button:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
@media (max-width: 1024px) {
  .kc-consent { width: min(760px, calc(100% - 32px)); bottom: calc(max(20px, env(safe-area-inset-bottom)) + 64px); grid-template-columns: 1fr; padding: 16px 18px; }
  .kc-consent-actions { justify-content: flex-end; }
  .kc-consent-actions button { flex: 0 1 180px; }
}
@media (max-width: 600px) {
  .kc-consent { width: calc(100% - 24px); padding: 16px; }
  .kc-consent-actions { flex-direction: column; }
  .kc-consent-actions button { flex: none; width: 100%; min-width: 0; min-height: 48px; }
}

/* Privacy and terms pages: the live site's legal text, word for word, in the concept's look */
.legal-page { padding-top: calc(var(--bar-h) + clamp(40px, 6vw, 80px)); }
.legal-kicker { margin: 0 0 12px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.legal-page h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.legal-date { margin: 16px 0 0; color: var(--text-3); }
.legal-text { margin-top: clamp(32px, 5vw, 56px); color: var(--text-2); overflow-wrap: break-word; }
.legal-text h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; color: var(--text); margin: 2.6rem 0 0.8rem; }
.legal-text h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); margin: 1.8rem 0 0.5rem; }
.legal-text p, .legal-text li { font-size: 1rem; line-height: 1.7; }
.legal-text p { margin: 0 0 1rem; }
.legal-text ul { margin: 0 0 1rem; padding-left: 1.25rem; display: grid; gap: 8px; }
.legal-text strong { color: var(--text); font-weight: 600; }
.legal-text a { color: var(--accent-text); text-underline-offset: 4px; overflow-wrap: anywhere; }
.kc-placeholder { padding: 0 0.2em; border-bottom: 2px dotted currentColor; font-weight: 600; color: var(--text); }
.kc-draft-note { position: relative; display: block; margin: 0 0 1.5rem; padding: 14px 18px 14px 24px; background: var(--bg-3); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--radius-s); overflow: hidden; }
.kc-draft-note::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--metal-orange); }
.kc-model-form { margin: 1rem 0; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--bg-3); color: var(--text); white-space: pre-line; font-size: 0.95rem; line-height: 1.6; overflow-wrap: anywhere; }

/* ---------- Owner decisions, 31 October 2026: menu, logo home link, hero line, Packages caveat ---------- */
/* The menu button and sheet are for phone widths only; tablets and desktops show the top menu. */
@media (max-width: 767px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; }
  .bar-actions { margin-left: auto; }
}
/* The CK logo is the home link on every page. */
.brand { cursor: pointer; border-radius: 10px; }
.brand:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
/* First screen: no price boxes, one small line by the main call to action. */
.hero-from { margin: 14px 0 0; font-size: 0.92rem; color: var(--text-2); }
.hero-from a { color: var(--accent-text); text-underline-offset: 4px; }
.hero-from b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.price-caveat { margin: 22px 0 0; font-size: 0.9rem; color: var(--text-2); max-width: 70em; }

/* ---------- Company social accounts (owner request, 31 Oct 2026) ----------
   Footer: silver icons in a brushed-silver ring, burnt orange on hover, 44px targets, both themes. */
.foot-social { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; }
.foot-social a {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--text-2);
  transition: color 200ms, transform 200ms var(--ease-out);
}
.foot-social a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: var(--metal-silver);
  background-size: 220% 100%;
  background-position: 80% 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background-position 600ms var(--ease-out);
}
.foot-social a:hover { color: var(--accent-text); transform: translateY(-1px); }
.foot-social a:hover::before { background: var(--metal-orange-soft); }
.foot-social a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 50%; }
.foot-social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* Contact section: "Follow the studio" text links. */
.contact-list .follow-links { display: flex; flex-wrap: wrap; gap: 0 18px; }
.contact-list .follow-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 1rem; color: var(--text); }

/* ---------- Reserved links (owner decisions, 31 Oct 2026): render only when set in js/live-config.js ---------- */
.founder-learn { margin: 18px 0 0; }
.founder-learn a { display: inline-flex; align-items: center; min-height: 44px; }
/* The private Studio link: small and quiet, inside the footer's copyright line, so it never shifts the layout. */
.foot-legal .foot-studio { display: inline; padding: 0; margin-left: 8px; font-size: 0.8rem; color: var(--text-3); text-decoration: none; }
.foot-legal .foot-studio:hover { color: var(--text-2); text-decoration: underline; }

/* ---------- Our own live products (owner request, 31 Oct 2026) ---------- */
/* Footer: an "Our products" group beside the footer menu, styled like it. */
.foot-grid { grid-template-columns: 1.2fr 0.7fr 0.8fr 1.4fr; }
@media (max-width: 1080px) and (min-width: 821px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-head { display: block; margin-bottom: 2px; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
/* Work grid: an honest line and a real link under each live product card. */
.work-live { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; margin: 4px 2px 0; font-size: 0.86rem; color: var(--text-2); }
.work-live a { display: inline-flex; align-items: center; min-height: 44px; color: var(--accent-text); text-underline-offset: 4px; }

/* Owner decision, 31 Oct 2026: the founder buttons read "Start a project with KAMTOBE Creations" and "Meet our AI team".
   On narrow phones the longer label wraps instead of widening the page. */
@media (max-width: 560px) {
  .founder-copy .cta-row .btn { white-space: normal; text-align: center; max-width: 100%; }
}

/* The AI team page (/ai-team/, launch prep 31 Oct 2026): the home page's AI team section on a page of its own,
   so it can be shared with its own link and preview. Built by tools/build-ai-team.mjs. */
.ai-team-page .studio { padding-top: calc(var(--bar-h) + clamp(40px, 6vw, 80px)); }
.ai-team-page .section-head h1 { margin: 0; font-size: clamp(2.1rem, 4vw, 3.4rem); }
.ai-team-page .ai-team-note { margin: 18px auto 0; max-width: 40em; color: var(--text); font-size: 1.04rem; }
.ai-team-page .ai-team-cta { justify-content: center; margin-top: clamp(40px, 6vw, 72px); }
@media (max-width: 560px) {
  .ai-team-page .ai-team-cta .btn { white-space: normal; text-align: center; max-width: 100%; }
}

/* ---------- The opening's warm light (1 Nov 2026; js/main.js adds html.smoke, off only with ?hero=0) ----------
   Not one flat black, and no smoke clouds (declined the same day): a layer over the first screen only, with a soft warm
   light high on the right and a gentle fall-off at the edges, fading out before the sections below. Everything after the
   opening keeps the approved colours (owner, 1 Nov: "after the hero section, every other thing stays"). No pointer events;
   below the bar and the chat. No film grain: it sat over the text and pictures and made them look soft next to the live
   site (owner, 1 Nov). Light mode has no layer. */
html.smoke body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100svh;
  z-index: 45;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, #000 72%, transparent);
  background:
    radial-gradient(70vmax 46vmax at 78% 26%, rgba(239, 106, 42, 0.05), transparent 70%),
    radial-gradient(120vmax 90vmax at 50% 42%, transparent 58%, rgba(0, 0, 0, 0.28));
  opacity: 0.55;
}
html.smoke[data-theme="light"] body::after { background: none; }
