:root {
  /* White · light beige · gold palette */
  --bg: #f6f1e7;          /* page — light beige */
  --bg-soft: #fffdf8;     /* warm near-white */
  --card: #ffffff;
  --card-hover: #ffffff;
  --border: #e9e0cd;
  --text: #2c2620;        /* warm near-black */
  --muted: #8a7d64;       /* warm taupe */
  --gold: #c4a24e;        /* primary gold */
  --gold-deep: #9a7b2c;   /* darker gold for text/links (contrast) */
  --gold-light: #e8d6a6;
  --gold-grad: linear-gradient(135deg, #e8cf8f 0%, #c4a24e 55%, #a67f2c 100%);
  --radius: 18px;
  --shadow: 0 14px 40px rgba(120, 95, 30, 0.12);
  --shadow-sm: 0 6px 18px rgba(120, 95, 30, 0.10);
  --maxw: 1180px;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Ambient warm background */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg-orbs span { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; }
.bg-orbs span:nth-child(1) { width: 460px; height: 460px; background: #f0dfae; top: -140px; left: -90px; }
.bg-orbs span:nth-child(2) { width: 400px; height: 400px; background: #efe6cf; top: 24%; right: -120px; }
.bg-orbs span:nth-child(3) { width: 380px; height: 380px; background: #f3e7c6; bottom: -160px; left: 32%; }

/* ---------- Brand bar (makes the company name stand out site-wide) ---------- */
.brandbar {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 253, 248, 0.75);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 20;
}
.brandbar-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: 14px;
  padding: 12px 24px;
}
.brandbar-logo { height: 38px; width: auto; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brandbar-name {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-deep);
}
.brandbar-name .llc { -webkit-text-fill-color: var(--muted); color: var(--muted); font-weight: 700; letter-spacing: 0.16em; }

/* ---------- Profile header ---------- */
.profile { max-width: var(--maxw); margin: 0 auto; padding: 48px 24px 24px; }
.profile-inner { display: flex; gap: 44px; align-items: center; flex-wrap: wrap; }
.avatar-wrap {
  flex: 0 0 auto; padding: 4px; border-radius: 50%;
  background: var(--gold-grad);
  box-shadow: var(--shadow);
}
.avatar {
  width: 168px; height: 168px; border-radius: 50%; object-fit: cover; display: block;
  border: 4px solid var(--bg-soft); background: var(--card);
}
.profile-meta { flex: 1 1 340px; min-width: 280px; }
.profile-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.name-row { display: flex; align-items: center; gap: 16px; }
.name-photo {
  width: 66px; height: 66px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  background: var(--card); box-shadow: 0 0 0 2px var(--gold), 0 6px 14px rgba(120, 95, 30, 0.18);
}
.eyebrow {
  margin: 0 0 2px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold-deep);
}
.name { font-size: clamp(1.7rem, 3vw, 2.25rem); font-weight: 700; margin: 0; letter-spacing: -0.02em; }

/* Company — the standout element */
.company {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 16px 0 14px; padding: 12px 18px;
  background: linear-gradient(120deg, rgba(232, 214, 166, 0.35), rgba(255, 253, 248, 0.4));
  border: 1px solid var(--gold-light); border-left: 4px solid var(--gold);
  border-radius: 12px;
}
.company .brand-logo { height: 40px; width: auto; border-radius: 9px; box-shadow: var(--shadow-sm); }
.company-name {
  font-size: clamp(1.2rem, 2.6vw, 1.7rem); font-weight: 800;
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold-deep);
}
.company-name .llc { -webkit-text-fill-color: var(--muted); color: var(--muted); font-weight: 700; }

.bio { margin: 0 0 18px; max-width: 62ch; color: var(--text); }

.stats { list-style: none; display: flex; gap: 34px; padding: 0; margin: 0 0 18px; }
.stats li { display: flex; flex-direction: column; }
.stats .num { font-size: 1.35rem; font-weight: 800; color: var(--gold-deep); }
.stats .lbl { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }

.links { display: flex; gap: 18px; flex-wrap: wrap; }
.links a { color: var(--gold-deep); text-decoration: none; font-weight: 600; }
.links a:hover { text-decoration: underline; }

.cta {
  display: inline-block; white-space: nowrap;
  background: var(--gold-grad); color: #2c2210; text-decoration: none;
  padding: 11px 22px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(166, 127, 44, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(166, 127, 44, 0.45); }

/* ---------- Main / grid ---------- */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 60px; }
.tabbar { border-top: 1px solid var(--border); display: flex; justify-content: center; gap: 40px; margin-bottom: 26px; }
.tab { padding: 16px 4px; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.tab.active { color: var(--text); border-top: 2px solid var(--gold); margin-top: -1px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card {
  position: relative; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  aspect-ratio: 16 / 10;
}
.card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.card video, .card .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.card .poster {
  background: linear-gradient(135deg, #fbf6ea 0%, #efe4cc 100%) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-weight: 600; letter-spacing: 0.05em; text-align: center; padding: 20px;
}
.card .poster-logo { width: 66px; height: 66px; border-radius: 14px; opacity: 0.7; box-shadow: var(--shadow-sm); }
.card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26, 20, 8, 0.88) 0%, rgba(26, 20, 8, 0.15) 46%, transparent 70%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 16px 18px;
}
.card-overlay h3 { margin: 0; font-size: 1.05rem; color: #fff; }
.card-overlay p { margin: 3px 0 0; font-size: 0.85rem; color: #ede3c9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge {
  align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px; margin-bottom: 8px;
}
.badge.live { background: rgba(46, 160, 90, 0.16); color: #2e7d47; border: 1px solid rgba(46, 160, 90, 0.42); }
.badge.building { background: rgba(196, 162, 78, 0.20); color: #8a6a1f; border: 1px solid rgba(196, 162, 78, 0.5); }
.badge.soon { background: rgba(138, 125, 100, 0.16); color: #6f6450; border: 1px solid rgba(138, 125, 100, 0.4); }

.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 0.86rem; padding: 30px 24px 50px; }
.site-footer .sub { margin-top: 4px; opacity: 0.85; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(44, 36, 20, 0.55); backdrop-filter: blur(6px); }
.modal-card {
  position: relative; z-index: 1; width: min(920px, 100%); max-height: 90vh; overflow: auto;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1.4fr 1fr;
}
@media (max-width: 760px) { .modal-card { grid-template-columns: 1fr; } }
.modal-video-wrap { background: #1a1408; display: flex; align-items: center; }
.modal-video { width: 100%; height: 100%; object-fit: contain; display: block; max-height: 90vh; }
.modal-body { padding: 26px; }
.modal-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.modal-head h2 { margin: 0; font-size: 1.4rem; }
.modal-blurb { color: var(--muted); margin: 0 0 18px; }
.stack { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.stack li { font-size: 0.78rem; padding: 5px 11px; border-radius: 999px; background: #faf5ea; border: 1px solid var(--border); color: var(--muted); }
.modal-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(44, 36, 20, 0.55); color: #fff; border: none; cursor: pointer; font-size: 1rem;
}
.modal-close:hover { background: rgba(44, 36, 20, 0.8); }

/* ---------- Buttons / actions ---------- */
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-primary { border: none; cursor: pointer; }
.cta-ghost {
  background: transparent; color: var(--gold-deep);
  border: 1px solid var(--gold); box-shadow: none;
}
.cta-ghost:hover { background: rgba(196, 162, 78, 0.12); box-shadow: none; transform: translateY(-2px); }

/* ---------- Pitch modal ---------- */
.pitch-card { grid-template-columns: 1fr !important; width: min(560px, 100%); }
.pitch-body { padding: 30px; }
.pitch-body h2 { margin: 0 0 6px; font-size: 1.5rem; }
.pitch-sub { color: var(--muted); margin: 0 0 20px; }
.pitch-center { text-align: center; padding: 60px 30px; color: var(--muted); }

.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1 1 0; min-width: 0; }
@media (max-width: 520px) { .field-row { flex-direction: column; } }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: #fffdf8;
  border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px;
  width: 100%; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196, 162, 78, 0.18);
}
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

#pitchSubmit { width: 100%; margin-top: 6px; }
.pitch-note { font-size: 0.78rem; color: var(--muted); text-align: center; margin: 12px 0 0; }

.spinner {
  width: 40px; height: 40px; margin: 0 auto 16px; border-radius: 50%;
  border: 3px solid var(--gold-light); border-top-color: var(--gold);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Estimate result */
.est-range {
  font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; letter-spacing: -0.02em;
  margin: 6px 0 12px; color: var(--gold-deep);
}
.est-range .dash { color: var(--muted); font-weight: 400; }
.est-summary { color: var(--text); margin: 0 0 14px; }
.est-includes { list-style: none; padding: 0; margin: 0 0 16px; }
.est-includes li { position: relative; padding: 4px 0 4px 24px; color: var(--text); font-size: 0.92rem; }
.est-includes li::before { content: "✓"; position: absolute; left: 0; color: #2e7d47; font-weight: 700; }
.est-timeline { color: var(--muted); margin: 0 0 6px; }
.est-pitch { color: var(--text); margin: 10px 0 18px; font-style: italic; }
.wa-btn { display: block; width: 100%; text-align: center; }

/* ============================================================
   Prestige typography + premium studio interactions
   ============================================================ */
:root { --serif: "Fraunces", "Playfair Display", Georgia, serif; }
.hero-title, .section-title, .feature-title, .cta-title, .name { font-optical-sizing: auto; }

/* Serif display type for a prestigious, institutional feel */
.brandbar-name { font-family: var(--serif); letter-spacing: 0.08em; font-weight: 700; }
.name { font-family: var(--serif); font-weight: 800; letter-spacing: 0; }
.company-name { font-family: var(--serif); letter-spacing: 0.03em; font-weight: 800; }
.card-overlay h3 { font-family: var(--serif); font-weight: 700; letter-spacing: 0.01em; }
.modal-head h2, .pitch-body h2, #mTitle { font-family: var(--serif); font-weight: 700; }
.est-range { font-family: var(--serif); font-weight: 800; }
.tab { font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0.02em; font-size: 1rem; }
.section-eyebrow { font-family: inherit; }

/* Fine film grain */
.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* Custom cursor (fine-pointer devices only; JS adds .has-cursor) */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 60;
  border-radius: 50%; transform: translate(-50%, -50%); will-change: transform;
  opacity: 0; transition: opacity 0.3s ease;
}
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { opacity: 1; }
.cursor-dot { width: 7px; height: 7px; background: var(--gold-deep); }
.cursor-ring {
  width: 34px; height: 34px; border: 1.5px solid var(--gold);
  transition: width 0.2s ease, height 0.2s ease, background 0.2s ease, opacity 0.3s ease;
}
.cursor-ring.hovering { width: 54px; height: 54px; background: rgba(196, 162, 78, 0.12); }
body.has-cursor { cursor: none; }
body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: auto; }

/* Preloader */
.preloader {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 22px; background: var(--bg);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader.done { opacity: 0; visibility: hidden; }
.pre-logo { width: 78px; height: 78px; border-radius: 16px; box-shadow: var(--shadow); animation: prePulse 1.4s ease-in-out infinite; }
.pre-bar { width: 170px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.pre-bar > span { display: block; height: 100%; width: 0; background: var(--gold-grad); animation: preFill 1.1s ease forwards; }
@keyframes preFill { to { width: 100%; } }
@keyframes prePulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* Kinetic marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255, 253, 248, 0.5); }
.marquee-track { display: flex; width: max-content; animation: marq 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; white-space: nowrap; padding: 15px 0;
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--gold-deep);
}
.marquee-track i { font-style: normal; color: var(--gold); margin: 0 24px; font-size: 0.7rem; transform: translateY(-2px); }
@keyframes marq { to { transform: translateX(-50%); } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Media zoom on card hover */
.card video, .card .poster { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover video, .card:hover .poster { transform: scale(1.05); }

/* Magnetic buttons keep their existing hover, JS adds translate */
.cta { will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .marquee-track, .pre-logo, .pre-bar > span { animation: none; }
  .pre-bar > span { width: 100%; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ============================================================
   Cinematic hero + motion (Lusion / Active Theory-inspired)
   ============================================================ */
html { scroll-behavior: smooth; }

.hero {
  position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 640px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: radial-gradient(130% 120% at 50% 18%, #15151f 0%, #0b0b12 58%, #08080c 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-vignette { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 85% at 50% 45%, transparent 38%, rgba(0,0,0,0.55) 100%); }
.hero-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; z-index: 2; pointer-events: none;
  background: linear-gradient(transparent, var(--bg)); }

.hero-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; padding: 22px 30px; }
.hero-logo { height: 40px; width: auto; border-radius: 9px; box-shadow: 0 6px 18px rgba(0,0,0,0.45); }
.hero-navlink { color: #e8dcc0; text-decoration: none; font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600; opacity: 0.8; transition: opacity 0.2s; }
.hero-navlink:hover { opacity: 1; }

.hero-center { position: relative; z-index: 2; text-align: center; padding: 0 24px; max-width: 1000px; will-change: transform, opacity; }
.hero-eyebrow { color: #cdbb8e; letter-spacing: 0.32em; text-transform: uppercase; font-size: 0.78rem;
  font-weight: 600; margin: 0 0 24px; opacity: 0; animation: heroIn 0.9s 0.2s forwards; }
.hero-title { font-family: var(--serif); font-weight: 600; line-height: 0.96; margin: 0;
  font-size: clamp(3rem, 10.5vw, 8.8rem); letter-spacing: -0.028em; will-change: transform; }
.hero-title span { display: block; }
/* fixed clip per line; inner .ln rises up from the mask on load */
.hero-title .l1, .hero-title .l2 { overflow: hidden; padding-bottom: 0.08em; }
.hero-title .ln { display: block; transform: translateY(114%); will-change: transform;
  animation: heroLine 1.05s cubic-bezier(.19,.9,.22,1) forwards; }
.hero-title .l1 .ln { color: #f6efe1; animation-delay: 0.34s; }
.hero-title .l2 { font-style: italic; }
.hero-title .l2 .ln {
  background: linear-gradient(100deg, #e8cf8f 0%, #fff4d6 28%, #c9a24e 58%, #e8cf8f 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: heroLine 1.05s cubic-bezier(.19,.9,.22,1) 0.5s forwards, shimmer 7s linear 1.9s infinite; }
.hero-sub { color: #bcb096; max-width: 660px; margin: 28px auto 0; line-height: 1.6;
  font-size: clamp(1rem, 1.5vw, 1.2rem); opacity: 0; animation: heroIn 1s 0.7s forwards; }

.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none;
  color: #cdbb8e; font-size: 0.66rem; letter-spacing: 0.28em; text-transform: uppercase;
  opacity: 0; animation: heroIn 1s 1s forwards; }
.hero-scroll i { position: relative; width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; top: 0; left: -1px; width: 3px; height: 14px;
  border-radius: 2px; background: #e8cf8f; animation: scrollDot 1.9s ease-in-out infinite; }

@keyframes heroIn { to { opacity: 1; transform: none; } }
@keyframes heroLine { to { transform: none; } }
@keyframes shimmer { to { background-position: 220% center; } }
@keyframes scrollDot { 0% { transform: translateY(-14px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(46px); opacity: 0; } }

/* Cursor spotlight glow */
.cursor-glow { position: fixed; top: 0; left: 0; width: 300px; height: 300px; border-radius: 50%;
  pointer-events: none; z-index: 2; transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.5s ease;
  background: radial-gradient(closest-side, rgba(196, 162, 78, 0.14), transparent 72%); }
body.has-cursor .cursor-glow { opacity: 1; }

/* Section index number (Active Theory style) */
.tabbar { align-items: baseline; gap: 12px; }
.tab-index { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.15rem; }

/* Cinematic curtain loader */
.preloader { transition: transform 0.85s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.4s ease 0.5s, visibility 0.4s 0.5s; }
.preloader.done { transform: translateY(-100%); opacity: 1; }
.pre-count { font-family: var(--serif); color: var(--gold-deep); font-size: 1.05rem; letter-spacing: 0.12em; margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-eyebrow, .hero-title .ln, .hero-sub, .hero-scroll { opacity: 1; transform: none; animation: none; }
  .hero-title .l2 .ln { -webkit-text-fill-color: transparent; }
  .hero-scroll i::after { animation: none; }
}
@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
  .hero-scroll { display: none; }
}

/* ============================================================
   Bigger + cinematic body
   ============================================================ */
:root { --maxw: 1300px; }

/* Scale up the profile */
.profile { padding: 84px 24px 26px; }
.profile-inner { gap: 56px; }
.avatar { width: 200px; height: 200px; }
.name { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
.name-photo { width: 78px; height: 78px; }
.eyebrow { font-size: 0.85rem; margin-bottom: 4px; }
.company { padding: 16px 22px; margin: 22px 0 18px; }
.company .brand-logo { height: 48px; }
.company-name { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
.bio { font-size: 1.16rem; line-height: 1.6; max-width: 60ch; margin-bottom: 24px; }
.stats { gap: 46px; margin-bottom: 22px; }
.stats .num { font-size: 1.95rem; }
.stats .lbl { font-size: 0.85rem; }
.cta { padding: 13px 26px; font-size: 1rem; }
.marquee-track span { font-size: 1.4rem; }

/* Grand section header */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  border-top: 1px solid var(--border); padding-top: 42px; margin: 34px 0 42px;
}
.section-eyebrow { color: var(--gold-deep); text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 0.8rem; font-weight: 700; margin: 0 0 12px; }
.section-eyebrow.on-dark { color: #cdbb8e; }
.section-title { font-family: var(--serif); font-weight: 800; line-height: 1;
  font-size: clamp(2.4rem, 5.6vw, 4.2rem); letter-spacing: -0.01em; margin: 0; }
.section-title .idx { font-style: italic; color: var(--gold); font-size: 0.38em; vertical-align: super; margin-left: 10px; }
.section-desc { color: var(--muted); max-width: 340px; font-size: 1rem; line-height: 1.6; margin: 0 0 8px; }

/* Larger, more cinematic work tiles (2-up) */
.grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card:hover { transform: translateY(-6px); }
.card-overlay { padding: 22px 24px;
  background: linear-gradient(to top, rgba(26,20,8,0.92) 0%, rgba(26,20,8,0.22) 52%, transparent 74%); }
.card-overlay h3 { font-size: 1.5rem; }
.card-overlay p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; font-size: 0.95rem; line-height: 1.42; max-height: 2.9em; }
.badge { font-size: 0.72rem; padding: 5px 11px; }

/* Dramatic card reveal (rise + scale) */
.card.reveal { opacity: 0; transform: translateY(42px) scale(0.965); }
.card.reveal.in { opacity: 1; transform: none; }

/* Cinematic closing CTA band (bookends the hero) */
.cta-band { position: relative; overflow: hidden; text-align: center; color: #f4eddd;
  padding: 116px 24px; margin-top: 72px;
  background: radial-gradient(120% 130% at 50% 0%, #16161f 0%, #0b0b12 68%, #08080c 100%); }
.cta-band-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta-title { font-family: var(--serif); font-weight: 800; line-height: 1.02; margin: 8px 0 20px;
  font-size: clamp(2.6rem, 6.6vw, 4.8rem); color: #f4eddd; }
.cta-title .grad { font-style: italic;
  background: linear-gradient(100deg, #e8cf8f 0%, #fff4d6 30%, #c9a24e 60%, #e8cf8f 100%); background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 7s linear infinite; }
.cta-band-sub { color: #bcb096; font-size: 1.1rem; line-height: 1.6; max-width: 560px; margin: 0 auto 30px; }
.cta.big { padding: 16px 34px; font-size: 1.1rem; }

@media (max-width: 640px) {
  .grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-desc { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cta-title .grad { animation: none; } }

/* ============================================================
   Pinned horizontal project scroll (Active Theory-style)
   ============================================================ */
.work { position: relative; }
.work-head {
  max-width: var(--maxw); margin: 0 auto; padding: 44px 24px 26px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}

/* Vertical fallback (mobile / reduced-motion / < 900px) */
.work:not(.h-enabled) .h-track {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px 40px;
}
.work:not(.h-enabled) .h-progress { display: none; }
@media (max-width: 640px) { .work:not(.h-enabled) .h-track { grid-template-columns: 1fr; } }

/* Horizontal pinned mode */
.work.h-enabled .work-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.work.h-enabled .work-head { margin-bottom: 30px; }
.work.h-enabled .h-scroll { overflow: hidden; width: 100%; }
.work.h-enabled .h-track { display: flex; gap: 34px; padding: 0 max(24px, 9vw); will-change: transform; }
.work.h-enabled .h-track .card { flex: 0 0 auto; width: min(620px, 82vw); }

.work.h-enabled .h-progress {
  max-width: var(--maxw); margin: 34px auto 0; padding: 0; position: relative;
  height: 2px; width: calc(100% - 48px); background: var(--border); border-radius: 2px;
}
.work.h-enabled .h-progress span {
  position: absolute; left: 0; top: 0; height: 100%; width: 0; border-radius: 2px; background: var(--gold-grad);
}

/* ============================================================
   Idea generator (inside the Pitch modal)
   ============================================================ */
.idea-helper {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(196, 162, 78, 0.06), rgba(196, 162, 78, 0.02));
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 18px;
}
.idea-helper-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.idea-helper-q { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.cta.idea-sm {
  padding: 8px 14px; font-size: 0.82rem; border-radius: 10px; white-space: nowrap;
}
.idea-gen { margin-top: 14px; }
.idea-gen-controls {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.idea-gen-focus { display: flex; flex-direction: column; gap: 5px; }
.idea-gen-focus > span { font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.idea-gen-focus select {
  border: 1px solid var(--border); background: var(--bg-soft); color: var(--text);
  border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 0.85rem;
}
.idea-gen-focus select:focus { outline: none; border-color: var(--gold); }
.idea-gen-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px; box-shadow: var(--shadow-sm);
}
.idea-gen-tags { display: flex; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.idea-tag {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 3px 10px; border-radius: 999px;
}
.idea-tag-cat { background: rgba(196, 162, 78, 0.16); color: var(--gold-deep); border: 1px solid rgba(196, 162, 78, 0.4); }
.idea-tag-effort { background: rgba(138, 125, 100, 0.12); color: var(--muted); border: 1px solid var(--border); }
.idea-gen-title { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; margin: 2px 0 6px; color: var(--text); }
.idea-gen-desc { font-size: 0.9rem; line-height: 1.55; color: var(--text); margin: 0 0 8px; }
.idea-gen-why { font-size: 0.84rem; line-height: 1.5; color: var(--muted); margin: 0; }
.idea-gen-why strong { color: var(--gold-deep); }
.idea-empty { color: var(--muted); font-size: 0.88rem; text-align: center; margin: 8px 0; }
.cta.idea-use { width: 100%; margin-top: 14px; justify-content: center; }
.cta.idea-use:disabled { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }

/* ============================================================
   CINEMATIC / FUTURISTIC TYPE
   Orbitron for the AI-brand title · Space Grotesk for name + CTAs
   ============================================================ */
:root{
  --fut:"Orbitron","Space Grotesk",sans-serif;
  --geo:"Space Grotesk","Inter",sans-serif;
}
.brandbar-name{ font-family:var(--fut); font-weight:700; letter-spacing:.16em; text-transform:uppercase; }
.company-name{ font-family:var(--fut); font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.hero-eyebrow{ font-family:var(--fut); }
.brandbar-name .llc, .company-name .llc{ letter-spacing:.22em; }
.name{ font-family:var(--geo); font-weight:700; letter-spacing:.01em; }
.cta, .cta-primary, .cta-ghost, .cta.big{ font-family:var(--geo); font-weight:600; letter-spacing:.04em; }

/* ============================================================
   Big side-by-side feature rows (one project per row)
   ============================================================ */
.work { padding-bottom: 30px; }
.features {
  max-width: var(--maxw); margin: 0 auto; padding: 8px 24px 0;
  display: flex; flex-direction: column; gap: clamp(74px, 9vw, 134px);
}
.feature {
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(30px, 4vw, 62px); align-items: center;
}
.feature.flip .feature-media { order: 2; }

.feature-media {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow); background: #111; cursor: pointer;
}
.feature-media video, .feature-media .poster {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.feature-media .poster { background: linear-gradient(135deg, #fbf6ea, #efe4cc); display: flex; align-items: center; justify-content: center; }
.feature-media .poster-logo { width: 84px; height: 84px; border-radius: 16px; opacity: 0.7; }
.feature-media:hover video, .feature-media:hover .poster { transform: scale(1.045); }
.feature-media .badge { position: absolute; top: 16px; left: 16px; z-index: 2; margin: 0; font-size: 0.72rem; }

.feature-index { display: block; font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.5rem; margin-bottom: 6px; }
.feature-title { font-family: var(--serif); font-weight: 800; line-height: 1.04; letter-spacing: -0.01em; margin: 0 0 14px; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.feature-blurb { color: var(--text); font-size: 1.14rem; line-height: 1.6; margin: 0 0 22px; max-width: 46ch; }
.feature-stack { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 9px; }
.feature-stack li { font-size: 0.8rem; padding: 6px 13px; border-radius: 999px; background: #faf5ea; border: 1px solid var(--border); color: var(--muted); }
.feature-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.feature.reveal { opacity: 0; transform: translateY(46px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.feature.reveal.in { opacity: 1; transform: none; }

@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature.flip .feature-media { order: 0; }
  .feature-blurb { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .feature.reveal { opacity: 1 !important; transform: none !important; } }

/* ============================================================
   Cinematic profile section
   ============================================================ */
.p-rise { opacity: 0; transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1); }
.p-rise.in { opacity: 1; transform: none; }

/* Glowing, gently-floating logo coin */
.avatar-wrap { position: relative; animation: coinGlow 4.6s ease-in-out infinite; }
.avatar { animation: coinFloat 6s ease-in-out infinite; }
@keyframes coinGlow {
  0%, 100% { box-shadow: 0 14px 40px rgba(120, 95, 30, 0.14), 0 0 0 0 rgba(196, 162, 78, 0); }
  50%      { box-shadow: 0 18px 54px rgba(120, 95, 30, 0.20), 0 0 50px 6px rgba(196, 162, 78, 0.42); }
}
@keyframes coinFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Shimmering company wordmark */
.company-name { background-size: 220% auto; animation: shimmer 6.5s linear infinite; }

/* Drifting ambient light */
.bg-orbs span { animation: orbDrift 15s ease-in-out infinite alternate; }
.bg-orbs span:nth-child(2) { animation-duration: 19s; }
.bg-orbs span:nth-child(3) { animation-duration: 23s; }
@keyframes orbDrift { from { transform: translate(0, 0); } to { transform: translate(42px, -32px); } }

@media (prefers-reduced-motion: reduce) {
  .p-rise { opacity: 1 !important; transform: none !important; }
  .avatar-wrap, .avatar, .company-name, .bg-orbs span { animation: none !important; }
}

/* ============================================================
   Rotating ring on the coin + glowing headshot
   ============================================================ */
.avatar-wrap::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%; z-index: 2; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, #e8cf8f 48deg, transparent 120deg, transparent 205deg, #c4a24e 250deg, transparent 322deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  animation: ringSpin 9s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

/* Headshot: glow + gentle float, matching the coin (offset timing) */
.name-photo { animation: photoGlow 4.4s ease-in-out infinite, photoFloat 5.5s ease-in-out infinite; }
@keyframes photoGlow {
  0%, 100% { box-shadow: 0 0 0 2px var(--gold), 0 6px 14px rgba(120, 95, 30, 0.18), 0 0 0 0 rgba(196, 162, 78, 0); }
  50%      { box-shadow: 0 0 0 2px var(--gold), 0 8px 18px rgba(120, 95, 30, 0.22), 0 0 28px 3px rgba(196, 162, 78, 0.5); }
}
@keyframes photoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (prefers-reduced-motion: reduce) {
  .avatar-wrap::before { animation: none; }
  .name-photo { animation: none; }
}

/* ============================================================
   Big stacked feature: header above a large full-width demo
   ============================================================ */
.feature { display: block; }
.feature-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 26px; flex-wrap: wrap; }
.feature-head-l { max-width: 780px; }
.feature-title { font-size: clamp(2rem, 4vw, 3.4rem); margin: 0 0 12px; }
.feature-blurb { font-size: 1.16rem; max-width: 68ch; margin: 0 0 16px; }
.feature-stack { margin: 0; }
.feature-actions { flex-shrink: 0; }
.feature-media { width: 100%; aspect-ratio: 16 / 10; }
.feature-media .badge { top: 18px; left: 18px; }
@media (max-width: 700px) { .feature-head { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* ============================================================
   Hero call-to-action
   ============================================================ */
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero-cta .cta-ghost.hero-ghost {
  color: #f1e9d7; border: 1px solid rgba(232, 207, 143, 0.5); background: rgba(255, 255, 255, 0.04);
}
.hero-cta .cta-ghost.hero-ghost:hover { border-color: var(--gold); background: rgba(196, 162, 78, 0.14); }

/* ============================================================
   Client capabilities strip (light — bridges into the dark work band)
   ============================================================ */
.capabilities { max-width: var(--maxw); margin: 0 auto; padding: 46px 24px 10px; }
.cap-head { margin-bottom: 28px; }
.cap-title { font-family: var(--serif); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 8px 0 0; }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cap-card {
  background: linear-gradient(180deg, #fffdf8, #fbf6ea);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow-sm);
  transition: transform 0.5s cubic-bezier(0.2,0.7,0.2,1), box-shadow 0.5s, border-color 0.5s;
}
.cap-card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.cap-ico { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center;
  font-size: 1.55rem; border-radius: 15px; margin-bottom: 16px;
  background: rgba(196, 162, 78, 0.12); border: 1px solid var(--gold-light); }
.cap-card h3 { font-family: var(--geo); font-weight: 700; font-size: 1.22rem; letter-spacing: 0.01em; margin: 0 0 9px; }
.cap-card p { color: var(--muted); font-size: 0.99rem; line-height: 1.58; margin: 0; }
.cap-cta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; }
.cap-cta span { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--text); }
@media (max-width: 820px) { .cap-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Cinematic dark "Selected Work" band — makes the demos pop
   ============================================================ */
.work {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: 46px; padding-top: 96px; padding-bottom: 96px;
  background: radial-gradient(125% 90% at 50% -8%, #15151f 0%, #0d0d14 55%, #08080c 100%);
  color: #efe7d6;
}
/* soft fade from the light body into the dark band */
.work::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 170px; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(13, 13, 20, 0) 100%);
}
/* drifting gold aurora behind the work */
.work::after {
  content: ""; position: absolute; left: -10%; right: -10%; top: -12%; height: 78%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 52% at 20% 30%, rgba(196, 162, 78, 0.16), transparent 70%),
    radial-gradient(38% 46% at 82% 20%, rgba(232, 207, 143, 0.12), transparent 70%);
  filter: blur(6px);
  animation: workAurora 20s ease-in-out infinite alternate;
}
@keyframes workAurora {
  from { transform: translate3d(-2%, -2%, 0) scale(1);    opacity: 0.85; }
  to   { transform: translate3d(3%, 2%, 0)  scale(1.14);  opacity: 1; }
}
.work .work-head, .work .features, .work #empty { position: relative; z-index: 1; }

/* recolor content for the dark band */
.work .section-eyebrow { color: #d9c68f; }
.work .section-title { color: #f6efe0; }
.work .section-desc { color: #b6ab90; }
.work .feature-index { color: var(--gold-light); }
.work .feature-title { color: #f6efe0; }
.work .feature-blurb { color: #c4baa2; }
.work .feature-stack li {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 207, 143, 0.2);
  color: #d7ccae;
}
.work .feature-media {
  background: #0a0a0f; border: 1px solid rgba(232, 207, 143, 0.16);
  box-shadow: 0 34px 74px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(232, 207, 143, 0.05);
}
.work .cta-ghost {
  color: #f2ead8; border: 1px solid rgba(232, 207, 143, 0.45); background: rgba(255, 255, 255, 0.03);
}
.work .cta-ghost:hover { border-color: var(--gold); background: rgba(196, 162, 78, 0.12); }

/* keep the closing CTA band flush with the dark work band (no beige gap) */
.cta-band { margin-top: 0; }

@media (prefers-reduced-motion: reduce) { .work::after { animation: none; } }

/* ============================================================
   PRESTIGE REFINEMENT LAYER — editorial polish (MIT-level)
   Loaded last so it refines the components above.
   ============================================================ */
:root {
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hair: rgba(154, 123, 44, 0.18);      /* gold hairline */
  --hair-dark: rgba(232, 207, 143, 0.16); /* hairline on dark */
}

/* --- Global typographic refinement --- */
body { font-feature-settings: "kern" 1, "liga" 1, "calt" 1; text-rendering: optimizeLegibility; }
h1, h2, h3, .hero-title, .feature-title, .section-title, .cta-title, .cap-title { text-wrap: balance; }
.hero-sub, .bio, .section-desc, .feature-blurb, .cap-card p, .cta-band-sub { text-wrap: pretty; }
.section-title, .feature-title, .cap-title, .cta-title, .hero-title { letter-spacing: -0.018em; }

/* --- Editorial eyebrow: a short gold rule leads the kicker --- */
.section-eyebrow { display: inline-flex; align-items: center; gap: 13px; }
.section-eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.55; }

/* --- Buttons: quieter, more premium --- */
.cta {
  border-radius: 999px; font-weight: 600; letter-spacing: 0.02em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
              background 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}
.cta-primary {
  color: #241c0b;
  box-shadow: 0 6px 20px rgba(154, 123, 44, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(154, 123, 44, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
a:focus-visible, button:focus-visible, [tabindex]:focus-visible, .feature-media:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px;
}

/* --- Status badges over demos: micro-caps + status dot --- */
.feature-media .badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(10, 10, 15, 0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.feature-media .badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor;
}
.feature-media .badge.live { color: #6fe3a0; border: 1px solid rgba(111, 227, 160, 0.35); }
.feature-media .badge.live::before { box-shadow: 0 0 9px #39d98a; animation: livePulse 2.4s ease-in-out infinite; }
.feature-media .badge.building { color: #ecd08d; border: 1px solid rgba(236, 208, 141, 0.35); }
.feature-media .badge.soon { color: #cfc6b4; border: 1px solid rgba(207, 198, 180, 0.28); }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }

/* --- Tech chips: refined micro-caps --- */
.feature-stack li, .stack li {
  letter-spacing: 0.04em; font-weight: 500;
}
.work .feature-stack li { text-transform: none; }

/* --- Profile stats: tabular figures + hairline dividers --- */
.stats { gap: 0 !important; }
.stats .num { font-variant-numeric: tabular-nums lining-nums; letter-spacing: -0.01em; }
.stats li { padding: 2px 36px; }
.stats li:first-child { padding-left: 0; }
.stats li + li { border-left: 1px solid var(--hair); }
@media (max-width: 560px) { .stats li { padding: 2px 22px; } }

/* --- Capabilities: refined line-icon medallion --- */
.cap-ico {
  width: 50px; height: 50px; font-size: 0; color: var(--gold-deep);
  background: rgba(196, 162, 78, 0.09); border: 1px solid var(--hair); border-radius: 14px;
  transition: transform 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s var(--ease);
}
.cap-ico svg { width: 25px; height: 25px; }
.cap-card:hover .cap-ico { transform: translateY(-2px); background: rgba(196, 162, 78, 0.15); border-color: var(--gold); }
.cap-card { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease); }

/* --- Section rhythm: a touch more air --- */
.capabilities { padding-top: 58px; padding-bottom: 14px; }
#work { scroll-margin-top: 12px; }
.work-head { padding-top: 8px; }

/* --- Hero: calmer, more editorial --- */
.hero-sub { max-width: 600px; line-height: 1.62; }
.hero-eyebrow { letter-spacing: 0.36em; }

/* --- Refined hairline separators --- */
.section-head { border-top-color: var(--hair); }

/* ============================================================
   STUDIO REDESIGN — animated loader (hnine) · 3D logo (alche) ·
   bold company lockup (buzzworthy)
   ============================================================ */

/* ---- Animated loading screen: dark, keeps moving ---- */
.preloader {
  background: radial-gradient(120% 120% at 50% 40%, #15151f 0%, #0b0b12 60%, #08080c 100%);
  gap: 26px;
}
.pre-core { position: relative; width: 134px; height: 134px; display: grid; place-items: center; }
.pre-logo {
  width: 72px; height: 72px; border-radius: 18px; box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55);
  animation: coinFloat 3.6s ease-in-out infinite;
}
.pre-ring {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, transparent 0deg, #e8cf8f 60deg, transparent 150deg, transparent 250deg, #c4a24e 300deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: ringSpin 3.2s linear infinite;
}
.pre-ring-2 { inset: 15px; opacity: 0.55; animation: ringSpin 4.8s linear infinite reverse; }
.pre-word {
  font-family: var(--geo); text-transform: uppercase; letter-spacing: 0.42em; font-size: 0.74rem; font-weight: 600;
  padding-left: 0.42em; color: transparent;
  background: linear-gradient(100deg, #8a7c4a 0%, #fff4d6 50%, #8a7c4a 100%); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; animation: shimmer 3s linear infinite;
}
.preloader .pre-bar { width: 190px; background: rgba(255, 255, 255, 0.13); }
.preloader .pre-count { color: #cdbb8e; font-family: var(--geo); letter-spacing: 0.16em; }
@media (prefers-reduced-motion: reduce) {
  .pre-ring, .pre-ring-2, .pre-word, .pre-logo { animation: none; }
}

/* ---- 3D-rendered logo coin ---- */
.avatar-wrap.coin3d {
  position: relative; width: 224px; height: 224px; padding: 0; background: none;
  border-radius: 0; box-shadow: none; display: grid; place-items: center;
  animation: coinFloat 6s ease-in-out infinite;
}
.avatar-wrap.coin3d::before { display: none; }              /* remove the old spinning ring */
.avatar-wrap.coin3d::after {                                 /* soft gold glow behind the coin */
  content: ""; position: absolute; inset: -16%; z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 46%, rgba(196, 162, 78, 0.36), rgba(196, 162, 78, 0) 62%);
  filter: blur(6px); animation: coinGlow 5s ease-in-out infinite;
}
.coin3d .logo-coin { position: relative; z-index: 2; width: 100%; height: 100%; display: block; }
.coin3d .coin-fallback {
  position: absolute; inset: 13%; z-index: 1; width: 74%; height: 74%; border-radius: 50%;
  border: 4px solid var(--bg-soft); box-shadow: 0 0 0 2px var(--gold), 0 10px 24px rgba(120, 95, 30, 0.25);
  transition: opacity 0.5s ease; animation: none;
}
.coin3d.has-3d .coin-fallback { opacity: 0; }
@media (max-width: 560px) { .avatar-wrap.coin3d { width: 172px; height: 172px; } }

/* ---- Bold company lockup (stacked, oversized) ---- */
.company { display: block; background: none; border: none; padding: 0; margin: 22px 0 20px; }
.company .brand-logo { display: none; }
.company-name {
  display: flex; flex-direction: column; margin: 0; line-height: 0.9;
  font-family: var(--geo); font-weight: 700; text-transform: uppercase; letter-spacing: -0.012em;
  font-size: clamp(2.2rem, 6.4vw, 4.2rem);
  background: none; -webkit-text-fill-color: currentColor; color: var(--text); animation: none;
}
.company-name .cn-line { display: block; }
.company-name .cn-1 { color: var(--text); }
.company-name .cn-2 {
  color: transparent; -webkit-text-fill-color: transparent;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
}
.company-name .llc {
  -webkit-text-fill-color: var(--muted); color: var(--muted);
  font-size: 0.26em; font-weight: 600; letter-spacing: 0.14em; vertical-align: 0.65em; margin-left: 0.4em;
}

/* ============================================================
   PROFESSIONAL PASS — editorial wordmarks, quiet marquee, real footer
   ============================================================ */

/* Wordmarks → editorial Playfair serif (replaces the sci-fi Orbitron) */
.company-name, .brandbar-name {
  font-family: var(--serif); text-transform: none; font-weight: 700; letter-spacing: -0.005em;
}
.brandbar-name { letter-spacing: 0; }
.company-name .llc, .brandbar-name .llc {
  font-weight: 600; font-size: 0.6em; letter-spacing: 0.14em; vertical-align: 0.12em;
}
.name { font-family: var(--serif); font-weight: 700; letter-spacing: -0.012em; }

/* Labels → clean, quiet sans caps */
.hero-eyebrow { font-family: var(--geo); font-weight: 600; }
.eyebrow {
  font-family: var(--geo); text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.72rem; font-weight: 600; color: var(--gold-deep);
}

/* Marquee → refined uppercase capability strip (was decorative serif italic) */
.marquee { border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); background: rgba(255, 253, 248, 0.6); }
.marquee-track span {
  font-family: var(--geo); font-style: normal; text-transform: uppercase;
  letter-spacing: 0.22em; font-size: 0.8rem; font-weight: 600; color: var(--muted); padding: 15px 0;
}
.marquee-track i { color: var(--gold); margin: 0 22px; font-size: 0.42rem; transform: translateY(-2px); opacity: 0.85; }

/* Real, professional footer */
.site-footer {
  border-top: 1px solid var(--hair); text-align: left; padding: 56px 24px 48px;
  color: var(--muted); font-size: 0.86rem; background: var(--bg-soft);
}
.footer-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.footer-brand { display: flex; gap: 16px; align-items: center; }
.footer-logo { height: 46px; width: auto; border-radius: 11px; box-shadow: var(--shadow-sm); }
.footer-name { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; margin: 0; color: var(--text); }
.footer-name .llc { color: var(--muted); font-weight: 600; font-size: 0.62em; letter-spacing: 0.12em; margin-left: 5px; vertical-align: 0.1em; }
.footer-tag { margin: 5px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.5; max-width: 40ch; }
.footer-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; padding-top: 6px; }
.footer-links a, .footer-link-btn {
  font-family: var(--geo); color: var(--gold-deep); text-decoration: none; font-weight: 600;
  font-size: 0.9rem; letter-spacing: 0.02em; background: none; border: none; cursor: pointer; padding: 0;
}
.footer-links a:hover, .footer-link-btn:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.footer-base {
  max-width: var(--maxw); margin: 30px auto 0; padding-top: 22px; border-top: 1px solid var(--hair);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.82rem;
}
.footer-base p { margin: 0; }
.footer-base .sub { opacity: 0.9; }
@media (max-width: 620px) {
  .footer-inner { flex-direction: column; }
  .footer-base { flex-direction: column; gap: 6px; }
}

/* ============================================================
   FINAL OVERRIDE — bold company lockup wins over the serif pass
   ============================================================ */
.company-name {
  font-family: var(--geo); font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.012em; line-height: 0.9; font-size: clamp(2.2rem, 6.4vw, 4.2rem);
  display: flex; flex-direction: column;
}
.company-name .cn-1 { color: var(--text); -webkit-text-fill-color: currentColor; }
.company-name .cn-2 {
  color: transparent; -webkit-text-fill-color: transparent;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text;
}
.company-name .llc {
  font-size: 0.26em; font-weight: 600; letter-spacing: 0.14em; vertical-align: 0.65em; margin-left: 0.4em;
  color: var(--muted); -webkit-text-fill-color: var(--muted);
}

/* ============================================================
   PACKAGES / INVESTMENT — transparent, negotiable pricing
   ============================================================ */
.pricing { max-width: var(--maxw); margin: 0 auto; padding: 46px 24px 16px; }
.pricing-head { text-align: center; margin-bottom: 32px; }
.pricing-head .section-eyebrow { justify-content: center; }
.pricing-title { font-family: var(--serif); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 10px 0 12px; }
.pricing-sub { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.04rem; line-height: 1.6; }
.pkg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pkg {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, #fffdf8, #fbf6ea);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}
.pkg:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.pkg.feat { border-color: var(--gold); box-shadow: var(--shadow); }
.pkg-tag { position: absolute; top: -11px; left: 24px; background: var(--gold-grad); color: #241c0b;
  font-family: var(--geo); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; }
.pkg h3 { font-family: var(--geo); font-weight: 700; font-size: 1.12rem; margin: 0 0 12px; letter-spacing: 0.01em; }
.pkg .price { font-family: var(--serif); font-weight: 800; color: var(--gold-deep); font-size: 2rem; line-height: 1; }
.pkg .price small { display: block; font-family: var(--geo); font-weight: 600; font-size: 0.66rem;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 7px; }
.pkg p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; margin: 14px 0 0; }
.pricing-note { text-align: center; margin: 26px auto 0; max-width: 660px; color: var(--text); font-size: 1rem; line-height: 1.55; }
.pricing-note b { color: var(--gold-deep); }
.pricing-cta { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 900px) { .pkg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pkg-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROFILE REBALANCE — fill the width, remove the dead right space
   ============================================================ */
.profile { max-width: 1180px; }
.profile-inner { gap: 54px; align-items: center; }
.avatar-wrap.coin3d { width: 252px; height: 252px; }
@media (max-width: 560px) { .avatar-wrap.coin3d { width: 184px; height: 184px; } }

.profile-meta {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "top     top"
    "company company"
    "bio     stats"
    "links   links";
  column-gap: 52px; row-gap: 10px;
}
.profile-top { grid-area: top; }
.company { grid-area: company; margin: 6px 0 4px; }
.bio { grid-area: bio; max-width: 50ch; margin: 0; }
.stats { grid-area: stats; align-self: start; justify-self: end; margin: 6px 0 0; }
.links { grid-area: links; margin-top: 12px; }
@media (max-width: 760px) {
  .profile-meta {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "company" "bio" "stats" "links";
  }
  .stats { justify-self: start; margin-top: 12px; }
}

/* ============================================================
   CASE-STUDY MODAL — turns each demo into a mini case study
   ============================================================ */
.cs-meta {
  font-family: var(--geo); text-transform: uppercase; letter-spacing: 0.13em;
  font-size: 0.72rem; font-weight: 700; color: var(--gold-deep); margin: 0 0 12px;
}
.modal-blurb { font-size: 1.04rem; line-height: 1.55; color: var(--text); }
.cs-block { margin: 18px 0 0; }
.cs-h {
  font-family: var(--geo); text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.66rem; font-weight: 700; color: var(--muted); margin: 0 0 9px; display: flex; align-items: center; gap: 9px;
}
.cs-h::before { content: ""; width: 16px; height: 1px; background: var(--gold); opacity: 0.75; }
.cs-text { margin: 0; color: var(--text); line-height: 1.55; font-size: 0.97rem; }
.cs-list { list-style: none; padding: 0; margin: 0; }
.cs-list li { position: relative; padding-left: 20px; margin-bottom: 7px; color: var(--text); font-size: 0.95rem; line-height: 1.5; }
.cs-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-grad); }
.cs-h-stack { margin-top: 20px; }
#mVisit { margin-top: 20px; display: inline-block; }
.modal-body { padding: 30px 32px; }

/* ============================================================
   MANIFESTO — "more than a website" business-growth deep dive
   ============================================================ */
.manifesto {
  position: relative; overflow: hidden; padding: 104px 24px 96px; color: #efe7d6;
  background: radial-gradient(120% 90% at 50% 0%, #15151f 0%, #0d0d14 58%, #08080c 100%);
}
.manifesto::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 170px; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, var(--bg) 0%, rgba(13,13,20,0) 100%);
}
.manifesto-inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; text-align: center; }
.manifesto .section-eyebrow.on-dark { justify-content: center; color: #d9c68f; }
.manifesto-h {
  font-family: var(--serif); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em;
  font-size: clamp(2.2rem, 5.6vw, 4.2rem); margin: 16px 0 22px; color: #f6efe0;
}
.manifesto-h .grad {
  font-style: italic; background: linear-gradient(100deg, #e8cf8f 0%, #fff4d6 30%, #c9a24e 60%, #e8cf8f 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 7s linear infinite;
}
.manifesto-lead {
  color: #c4baa2; font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.65;
  max-width: 780px; margin: 0 auto 46px;
}
.manifesto-lead b { color: #f2ead8; font-weight: 700; }
.mf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.mf {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(232,207,143,0.14); border-radius: 16px; padding: 28px 26px;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
}
.mf:hover { transform: translateY(-6px); border-color: var(--gold); background: rgba(255,255,255,0.05); }
.mf-ic {
  display: inline-flex; width: 50px; height: 50px; align-items: center; justify-content: center; border-radius: 13px;
  color: #e0b64b; background: rgba(196,162,78,0.12); border: 1px solid rgba(232,207,143,0.22); margin-bottom: 16px;
}
.mf-ic svg { width: 25px; height: 25px; }
.mf h3 { font-family: var(--geo); font-weight: 700; font-size: 1.14rem; color: #f6efe0; margin: 0 0 9px; letter-spacing: 0.01em; }
.mf p { color: #b6ac94; font-size: 0.96rem; line-height: 1.55; margin: 0; }
.mf-cta { margin-top: 44px; }
@media (max-width: 900px) { .mf-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .mf-grid { grid-template-columns: 1fr; } }

/* ============================================================
   JOURNEY / ORIGINS — animated "since 2013" timeline (no mascot)
   ============================================================ */
.journey { max-width: var(--maxw); margin: 0 auto; padding: 58px 24px 30px; }
.journey-head { text-align: center; margin-bottom: 50px; }
.journey-head .section-eyebrow { justify-content: center; }
.journey-title { font-family: var(--serif); font-weight: 800; letter-spacing: -0.01em;
  font-size: clamp(1.9rem, 4.4vw, 3.1rem); margin: 10px 0 12px; }
.journey-sub { color: var(--muted); max-width: 660px; margin: 0 auto; font-size: 1.04rem; line-height: 1.6; }
.timeline { position: relative; padding-top: 6px; }
.tl-line { position: absolute; top: 13px; left: 9%; right: 9%; height: 2px; background: var(--hair); border-radius: 2px; overflow: hidden; }
.tl-fill { position: absolute; inset: 0; width: 0; background: var(--gold-grad); transition: width 1.8s var(--ease); }
.timeline.in .tl-fill { width: 100%; }
.tl-nodes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.tl-node { text-align: center; padding: 0 10px; opacity: 0; transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.timeline.in .tl-node { opacity: 1; transform: none; }
.timeline.in .tl-node:nth-child(2) { transition-delay: 0.18s; }
.timeline.in .tl-node:nth-child(3) { transition-delay: 0.36s; }
.timeline.in .tl-node:nth-child(4) { transition-delay: 0.54s; }
.timeline.in .tl-node:nth-child(5) { transition-delay: 0.72s; }
.tl-dot { display: block; width: 14px; height: 14px; border-radius: 50%; margin: 7px auto 16px;
  background: #fff; border: 2px solid var(--gold); box-shadow: 0 0 0 4px rgba(196,162,78,0.12); position: relative; z-index: 1; }
.tl-node.feat .tl-dot { background: var(--gold-grad); box-shadow: 0 0 0 5px rgba(196,162,78,0.2), 0 0 20px rgba(196,162,78,0.55); }
.tl-year { font-family: var(--serif); font-weight: 800; font-size: 1.55rem; color: var(--gold-deep); display: block; line-height: 1; }
.tl-txt { display: block; color: var(--muted); font-size: 0.9rem; line-height: 1.45; margin: 8px auto 0; max-width: 190px; }
@media (max-width: 820px) {
  .tl-line { left: 20px; right: auto; top: 4px; bottom: 4px; width: 2px; height: auto; }
  .tl-fill { width: 2px !important; height: 0; inset: auto; transition: height 1.8s var(--ease); }
  .timeline.in .tl-fill { height: 100%; }
  .tl-nodes { grid-template-columns: 1fr; gap: 26px; }
  .tl-node { text-align: left; padding: 0 0 0 46px; position: relative; }
  .tl-dot { position: absolute; left: 14px; top: 4px; margin: 0; }
  .tl-txt { margin-left: 0; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tl-node { opacity: 1 !important; transform: none !important; }
  .tl-fill { transition: none !important; }
}

/* ============================================================
   STASH sections behind buttons + HORIZONTAL work gallery
   ============================================================ */
.stashed { display: none !important; }
.mf-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.manifesto .mf-ghost { color: #f2ead8; border: 1px solid rgba(232,207,143,0.45); background: rgba(255,255,255,0.03); }
.manifesto .mf-ghost:hover { border-color: var(--gold); background: rgba(196,162,78,0.12); }

.work-controls { max-width: var(--maxw); margin: 0 auto; padding: 0 max(24px,8vw) 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; position: relative; z-index: 1; }
.work-hint { font-family: var(--geo); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; color: #b6ac94; }
.work-hint span { color: var(--gold); display: inline-block; animation: nudge 1.4s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.work-arrows { display: flex; gap: 10px; }
.work-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(232,207,143,0.35);
  background: rgba(255,255,255,0.04); color: #f2ead8; font-size: 1.15rem; cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s; }
.work-arrow:hover { border-color: var(--gold); background: rgba(196,162,78,0.14); transform: translateY(-2px); }

/* ============================================================
   SELECTED WORK — natural vertical layout (desktop + mobile)
   ============================================================ */
.work .features {
  max-width: var(--maxw); margin: 0 auto;
  padding: 8px 24px 0;
  display: flex; flex-direction: column;
  gap: clamp(64px, 8vw, 116px);
  overflow: visible; cursor: auto;
  scroll-snap-type: none;
}
.work .feature { flex: none; width: auto; scroll-snap-align: none; }
.work .feature-media { aspect-ratio: 16 / 9; max-height: 62vh; }
.work-progress, .work-arrow, .work-hint, .work-sticky > .work-progress { display: none !important; }
@media (max-width: 820px) {
  .work .features { gap: 48px; padding: 8px 20px 0; }
}

/* ============================================================
   FLOATING AI ASSISTANT
   ============================================================ */
.aims-chat { position: fixed; right: 22px; bottom: 22px; z-index: 45; font-family: var(--geo); }
.chat-toggle { width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer; color: #241c0b;
  background: var(--gold-grad); box-shadow: 0 10px 30px rgba(154,123,44,.4); display: grid; place-items: center;
  transition: transform .3s var(--ease), box-shadow .3s, opacity .2s; }
.chat-toggle svg { width: 28px; height: 28px; }
.chat-toggle:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 16px 42px rgba(154,123,44,.5); }
.aims-chat.open .chat-toggle { transform: scale(.85); opacity: 0; pointer-events: none; }
.chat-panel { position: absolute; right: 0; bottom: 74px; width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 120px)); background: #0e0f16; border: 1px solid rgba(232,207,143,.2);
  border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.55); display: flex; flex-direction: column; overflow: hidden;
  transform-origin: bottom right; animation: chatIn .3s var(--ease); }
/* Minimized by default; JS toggles the [hidden] attribute (this beats the display:flex above). */
.chat-panel[hidden] { display: none !important; }
@keyframes chatIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid rgba(255,255,255,.06);
  background: radial-gradient(130% 130% at 0% 0%, #17213e, #0e0f16); }
.chat-logo { width: 38px; height: 38px; border-radius: 10px; }
.chat-head-t { display: flex; flex-direction: column; line-height: 1.25; }
.chat-head-t b { color: #f4eddd; font-family: var(--serif); font-size: 1.05rem; }
.chat-head-t span { color: #7ee0a6; font-size: .72rem; letter-spacing: .03em; }
.chat-head-t span::before { content: "●"; margin-right: 5px; font-size: .7em; }
.chat-close { margin-left: auto; background: none; border: none; color: #9a927f; font-size: 1.1rem; cursor: pointer; line-height: 1; }
.chat-close:hover { color: #fff; }
.chat-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 11px; }
.chat-msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.5; white-space: pre-wrap; }
.chat-msg.bot { background: rgba(255,255,255,.05); color: #e7ddc8; border: 1px solid rgba(232,207,143,.12); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--gold-grad); color: #241c0b; align-self: flex-end; border-bottom-right-radius: 4px; font-weight: 500; }
.chat-msg.typing { color: #9a927f; letter-spacing: 2px; }
.chat-input-row { display: flex; gap: 8px; padding: 12px; border-top: 1px solid rgba(255,255,255,.06); }
.chat-input-row input { flex: 1; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  padding: 11px 14px; color: #f4eddd; font: inherit; font-size: .92rem; outline: none; }
.chat-input-row input:focus { border-color: var(--gold); }
.chat-send { width: 46px; border-radius: 12px; border: none; background: var(--gold-grad); color: #241c0b; font-size: 1.15rem; cursor: pointer; }
.chat-wa { display: block; text-align: center; padding: 11px; color: #7ee0a6; text-decoration: none; font-size: .85rem; font-weight: 600;
  border-top: 1px solid rgba(255,255,255,.06); background: rgba(46,160,90,.06); }
.chat-wa:hover { background: rgba(46,160,90,.13); }
@media (max-width: 480px) { .aims-chat { right: 14px; bottom: 14px; } .chat-toggle { width: 54px; height: 54px; } }

/* ============================================================
   Brand header wordmark — refined & professional (authoritative).
   Replaces the earlier Orbitron / uppercase / gold-gradient look.
   ============================================================ */
.brandbar-inner { gap: 13px !important; align-items: baseline; }
.brandbar-name {
  font-family: var(--serif) !important;        /* Playfair Display */
  font-style: italic !important;               /* full name in italic */
  font-weight: 600 !important;
  font-size: clamp(1.12rem, 2.05vw, 1.42rem) !important;
  letter-spacing: 0.004em !important;
  text-transform: none !important;
  line-height: 1.05 !important;
  color: var(--gold-deep) !important;          /* full name gold */
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: 0 1px 1px rgba(120,90,20,.12) !important; animation: none !important;
}
.brandbar-name .hl {                           /* keep accent = same gold */
  color: var(--gold-deep) !important;
  -webkit-text-fill-color: currentColor !important;
  font-style: italic; font-weight: 600 !important;
}
.brandbar-name .llc {
  font-family: var(--geo) !important;          /* small, quiet legal tag */
  font-size: 0.5em !important; font-weight: 600 !important;
  letter-spacing: 0.2em !important; text-transform: uppercase !important;
  color: var(--muted) !important; -webkit-text-fill-color: currentColor !important;
  background: none !important; text-shadow: none !important;
  margin-left: 9px !important; vertical-align: 0.18em !important;
}

/* Live 3D coin in the header (small instance of the hero medallion) */
.brandbar-inner { align-items: center !important; }
.brand-coin { position: relative; width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; }
.brand-coin::after {                            /* soft gold glow behind the coin */
  content: ""; position: absolute; inset: -20%; z-index: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 46%, rgba(196,162,78,.30), rgba(196,162,78,0) 62%); filter: blur(4px);
}
.brand-coin .logo-coin { position: relative; z-index: 2; width: 100%; height: 100%; display: block; }
.brand-coin .coin-fallback {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain;
  border-radius: 10px; transition: opacity .5s ease; box-shadow: var(--shadow-sm);
}
.brand-coin.has-3d .coin-fallback { opacity: 0; }

/* Chat: minimize button + tidy the close button */
.chat-min { margin-left: auto; background: none; border: none; color: #9a927f;
  font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 6px; }
.chat-min:hover { color: #fff; }
.chat-close { margin-left: 6px !important; }
