html.has-js:not(.reduce-motion) .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
html.has-js:not(.reduce-motion) .reveal.is-in { opacity: 1; transform: none; }

:root {
  --ink: #1b2a26;
  --ink-soft: #2a443c;
  --gold: #c6a15b;
  --gold-deep: #8e6a32;
  --cream: #f4efe4;
  --paper: #e8dfd0;
  --white: #fbf8f2;
  --muted: #5c574e;
  --line: rgba(27, 42, 38, 0.14);
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --display: "Cinzel", "Times New Roman", serif;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 80;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 8px 16px;
  z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 16px;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.02; margin: 0; }
h1 { font-size: clamp(3.2rem, 9vw, 7.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h3 { font-size: 1.4rem; }
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); color: var(--muted); max-width: 38em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(27,42,38,0.08); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--display); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.04em; }
.brand-text span { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: #7a5a2b; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 0.95rem; font-weight: 500; position: relative; }
.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -4px;
  height: 1px;
  background: var(--gold);
  transition: right 0.35s var(--ease);
}
.nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  display: inline-flex; align-items: center;
  background: var(--ink); color: var(--cream) !important;
  padding: 10px 16px; text-decoration: none;
  font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-cta:hover { background: var(--ink-soft); color: var(--cream) !important; transform: translateY(-1px); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-call {
  display: none; align-items: center;
  background: var(--gold); color: var(--ink);
  text-decoration: none; font-weight: 700; font-size: 0.88rem;
  padding: 10px 14px; white-space: nowrap;
}
.header-call:hover { background: #d4b36c; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  width: 44px; height: 44px; padding: 0; cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 0 auto; position: relative;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 24px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.04em;
  border: 1px solid transparent; cursor: pointer;
  background: var(--ink); color: var(--cream);
  position: relative; overflow: hidden;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.28) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { animation: shine 0.7s var(--ease); }
@keyframes shine { to { transform: translateX(120%); } }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d4b36c; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-ghost-light { background: transparent; color: var(--cream); border: 1px solid rgba(244,239,228,0.45); }
.btn-ghost-light:hover { background: var(--cream); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 980px);
  padding: clamp(36px, 7vw, 90px) 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.hero-sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 80% 10%, rgba(198,161,91,0.18), transparent 60%),
    linear-gradient(180deg, var(--cream) 0%, #efe6d4 55%, var(--paper) 100%);
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-bottom: clamp(160px, 22vw, 300px);
  min-height: min(54vh, 620px);
}
.hero h1 { margin: 0; }
.hero h1 .line {
  display: block;
  opacity: 0;
  transform: translateY(1.1em);
  animation: rise 1s var(--ease) forwards;
}
.hero h1 .line:nth-child(1) { animation-delay: 0.15s; }
.hero h1 .line:nth-child(2) { animation-delay: 0.32s; }
.hero h1 .line:nth-child(3) { animation-delay: 0.5s; }
.hero h1 .accent { color: var(--gold-deep); font-style: italic; font-weight: 600; }
.hero .lead { margin: 28px 0 0; max-width: 34em; }
.hero-badge {
  display: flex; justify-content: center; align-items: flex-end;
  opacity: 0;
  transform: scale(0.82) rotate(-8deg);
  animation: badge-in 1.4s var(--ease) 0.35s forwards;
  filter: drop-shadow(0 28px 50px rgba(27,42,38,0.18));
}
.hero-badge img { width: min(440px, 100%); height: auto; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes badge-in {
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

.street {
  position: absolute;
  left: -5%; right: -5%;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  height: 28vw;
  min-height: 180px;
  max-height: 340px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%);
}
.street-parallax { width: 110%; height: 100%; will-change: transform; }
.street-parallax img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }

/* Marquee */
.marquee {
  background: var(--ink);
  color: var(--gold);
  overflow: hidden;
  border-top: 1px solid rgba(198,161,91,0.3);
  border-bottom: 1px solid rgba(198,161,91,0.3);
  padding: 16px 0;
}
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: ticker 32s linear infinite;
  font-family: var(--display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.marquee-track span { padding: 0 28px; position: relative; }
.marquee-track span::after { content: "◆"; position: absolute; right: -0.4em; color: var(--gold); font-size: 0.55em; top: 0.35em; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Sections */
section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
section + section { border-top: 1px solid var(--line); }
.section-head { max-width: 740px; margin-bottom: 56px; }
.section-head p { color: var(--muted); margin: 16px 0 0; }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 32px 28px 34px;
  position: relative;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.card::before {
  content: "";
  position: absolute; left: 28px; right: 28px; top: 0;
  height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(27,42,38,0.12); border-color: color-mix(in srgb, var(--gold) 50%, var(--line)); }
.card:hover::before { transform: scaleX(1); }
.card .num { font-family: var(--display); color: var(--gold-deep); letter-spacing: 0.16em; font-size: 0.72rem; margin-bottom: 18px; }
.card p { margin: 12px 0 0; color: var(--muted); font-size: 1rem; }

/* Work carousel */
.work-note {
  display: inline-block; background: var(--paper); border: 1px solid var(--line);
  padding: 8px 12px; font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 32px;
}
.carousel {
  position: relative; margin: 0 auto;
  width: min(1240px, calc(100% - 24px), max(320px, calc((100vh - 230px) * 1.6)));
  container-type: inline-size; outline: none;
}
.carousel-viewport {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; touch-action: pan-x pan-y;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-track { display: flex; width: 100%; }
.slide {
  flex: 0 0 100%; width: 100%; min-width: 0; max-width: 100%; margin: 0;
  background: var(--ink); display: flex; flex-direction: column;
  scroll-snap-align: start; scroll-snap-stop: always;
}
.slide picture { display: block; }
.slide img {
  display: block; width: 100%; max-width: 100%; height: auto;
  aspect-ratio: 16 / 10; object-fit: contain; object-position: center;
  background: var(--ink);
}
.slide figcaption {
  padding: 22px 24px 26px; background: var(--ink); color: var(--cream);
}
.slide figcaption span {
  display: block; font-family: var(--display); font-size: 0.72rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.slide figcaption strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; }
.carousel-btn {
  position: absolute; top: 30%; top: calc(31.25cqw - 26px);
  width: 52px; height: 52px; border: 1px solid var(--gold);
  background: var(--ink); color: var(--gold); cursor: pointer; z-index: 3;
  border-radius: 50%; padding: 0;
}
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-btn::before {
  content: "";
  display: block; width: 10px; height: 10px;
  border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  margin: 0 auto;
}
.carousel-btn.prev::before { transform: translateX(2px) rotate(-135deg); }
.carousel-btn.next::before { transform: translateX(-2px) rotate(45deg); }
.carousel-btn:hover { background: var(--gold); }
.carousel-btn:hover::before { border-color: var(--ink); }
.carousel-btn:focus-visible, .carousel-dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.carousel-dots { display: flex; justify-content: center; gap: 4px; padding: 10px 0 0; }
.carousel-dots button {
  width: 28px; height: 28px; border: 0; background: transparent; cursor: pointer; padding: 0;
  display: grid; place-items: center;
}
.carousel-dots button::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: color-mix(in srgb, var(--ink) 25%, var(--paper));
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.carousel-dots button[aria-current="true"]::before { background: var(--gold); transform: scale(1.3); }
@media (max-width: 600px) {
  .carousel-btn { width: 40px; height: 40px; top: auto; bottom: 2px; }
  .carousel-btn.prev { left: 4px; }
  .carousel-btn.next { right: 4px; }
  .carousel-dots { padding: 14px 52px 0; min-height: 56px; align-items: center; }
  .slide figcaption { padding: 16px 18px 20px; }
  .slide figcaption strong { font-size: 1.3rem; }
}

/* Process timeline */
.timeline { position: relative; display: grid; gap: 0; }
.timeline-line {
  display: none;
}
.process-item {
  padding: 28px 0 28px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: start;
}
.process-item .step {
  font-family: var(--display);
  font-size: 2rem;
  color: var(--gold);
  margin: 0;
  line-height: 1;
}
.process-item p:last-child { color: var(--muted); margin: 8px 0 0; max-width: 40em; }
@media (min-width: 901px) {
  .timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
  }
  .timeline-line {
    display: block;
    position: absolute;
    left: 0; right: 0; top: 22px;
    height: 2px; background: var(--line);
  }
  .timeline-fill {
    display: block; height: 100%; width: 0; background: var(--gold);
    transition: width 1.2s var(--ease);
  }
  .timeline.in-view .timeline-fill { width: 100%; }
  .process-item {
    border-top: 0;
    grid-template-columns: 1fr;
    padding: 0 24px 0 0;
    position: relative;
  }
  .process-item .step {
    background: var(--cream);
    display: inline-block;
    padding-right: 12px;
    position: relative;
    z-index: 1;
  }
}

/* Pricing */
.pricing {
  background: var(--ink);
  color: var(--cream);
  border-top: 0 !important;
  overflow: hidden;
}
.pricing::before {
  content: "";
  position: absolute; inset: auto -10% -40% -10%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(198,161,91,0.18), transparent 70%);
  pointer-events: none;
}
.pricing .eyebrow { color: var(--gold); }
.pricing h2 { font-size: clamp(2.8rem, 7vw, 6.2rem); }
.pricing p { color: #e8dfd0; max-width: 38em; font-size: 1.15rem; }
.pricing-aside { font-family: var(--serif); font-style: italic; font-size: 1.3rem !important; color: var(--gold) !important; margin-top: 18px; }
.pricing-inner { position: relative; z-index: 1; }

/* Area + contact */
.area-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.area-list {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
}
.area-list li { padding: 8px 0 8px 14px; border-left: 2px solid var(--gold); }
.address-block { background: var(--white); border: 1px solid var(--line); padding: 36px 32px; }
.address-block h3 { margin-bottom: 12px; }
.address-block p { margin: 0; color: var(--muted); }
.studio-phone { margin: 16px 0 0 !important; }
.studio-phone a, .lead a, .footer-brand a, .site-footer a[href^="tel:"] {
  color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 600;
}
.todo-slot { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.95rem; }

form { display: grid; gap: 16px; background: var(--white); border: 1px solid var(--line); padding: 32px; }
label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 600; }
input, select, textarea {
  border: 1px solid var(--line); background: var(--cream); padding: 12px; width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
textarea { min-height: 140px; resize: vertical; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks label { display: flex; align-items: center; gap: 8px; font-weight: 400; font-size: 0.95rem; }
.checks input { width: auto; }
.form-note, .form-status { font-size: 0.92rem; color: var(--muted); margin: 0; }
.form-status[data-state="ok"] { color: var(--ink-soft); }
.form-status[data-state="err"] { color: #8c3b2c; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 36px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-brand { display: flex; gap: 14px; align-items: center; text-decoration: none; }
.footer-brand img { width: 64px; height: 64px; }
.footer-brand strong { font-family: var(--display); display: block; letter-spacing: 0.04em; }
.footer-brand span { display: block; }
.site-footer h3 { font-family: var(--display); font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-deep); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.legal {
  margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 0.88rem; color: var(--muted);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* Reveals (base: visible; .has-js rules at top of file hide until in view) */
.hero .reveal { opacity: 0; animation: rise 0.9s var(--ease) forwards; }
.hero .reveal.delay-4 { animation-delay: 0.75s; }
.hero .reveal.delay-5 { animation-delay: 0.95s; }

@media (max-width: 900px) {
  .hero-grid, .service-grid, .area-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 32px; }
  .hero-badge { order: -1; }
  .hero-badge img { width: min(260px, 64vw); }
  .hero-grid { padding-bottom: 28vw; align-items: start; }
  .street { height: 26vw; min-height: 140px; }
  .nav {
    display: none; position: absolute; top: 78px; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: flex-start; padding: 18px 20px 24px; gap: 14px;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-block; }
  .header-call { display: inline-flex; }
  .checks { grid-template-columns: 1fr; }
  h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
}
@media (max-width: 600px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .brand-text { display: none; }
  .site-header .wrap { height: 68px; }
  .btn-row .btn:last-child { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-viewport { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal, .hero h1 .line, .hero-badge, .hero .reveal {
    opacity: 1 !important; transform: none !important;
  }
  .marquee-track { animation: none; }
  .timeline-fill { width: 100%; }
}

/* ==========================================================
   v2 — motion, graphics, build video
   ========================================================== */

/* Scroll progress */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold), #e2c88f);
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

/* Staggered reveals */
html.has-js:not(.reduce-motion) .reveal { transition-delay: calc(var(--i, 0) * 90ms); }

/* Hero: drifting palette orbs + sparks */
.hero-orbs { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55;
  will-change: transform; animation: orb-drift 22s ease-in-out infinite alternate;
}
.orb.o1 { width: 46vw; height: 46vw; max-width: 620px; max-height: 620px; right: -8vw; top: -12vw;
  background: radial-gradient(circle at 40% 40%, rgba(198,161,91,0.55), rgba(198,161,91,0) 70%); }
.orb.o2 { width: 36vw; height: 36vw; max-width: 480px; max-height: 480px; left: -10vw; top: 30%;
  background: radial-gradient(circle at 50% 50%, rgba(42,68,60,0.28), rgba(42,68,60,0) 70%); animation-duration: 28s; animation-delay: -6s; }
.orb.o3 { width: 28vw; height: 28vw; max-width: 380px; max-height: 380px; left: 38%; top: 6%;
  background: radial-gradient(circle at 50% 50%, rgba(142,106,50,0.22), rgba(142,106,50,0) 70%); animation-duration: 18s; animation-delay: -11s; }
@keyframes orb-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vw, 3vw, 0) scale(1.08); }
  100% { transform: translate3d(-3vw, 5vw, 0) scale(0.96); }
}
.hero-sparks { position: absolute; inset: 0 0 30% 0; z-index: 1; pointer-events: none; }
.hero-sparks i {
  position: absolute; left: var(--x); top: var(--y);
  width: 10px; height: 10px; background: var(--gold);
  transform: rotate(45deg) scale(var(--s));
  opacity: 0; animation: spark 6s var(--ease) var(--d) infinite;
}
@keyframes spark {
  0%, 100% { opacity: 0; transform: translateY(8px) rotate(45deg) scale(calc(var(--s) * .6)); }
  40%, 60% { opacity: .7; transform: translateY(-10px) rotate(45deg) scale(var(--s)); }
}

/* Hero badge: orbiting text ring, float, pointer tilt, glint */
.badge-stage {
  position: relative; width: min(500px, 100%); aspect-ratio: 1;
  display: grid; place-items: center;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.6s var(--ease);
}
.badge-img { width: 84% !important; height: auto; position: relative; z-index: 1; animation: badge-float 7s ease-in-out 1.8s infinite; }
@keyframes badge-float { 50% { transform: translateY(-10px); } }
.badge-orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: orbit-spin 60s linear infinite; }
.badge-orbit text {
  font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: 0.32em;
  fill: var(--gold-deep);
}
.orbit-dash { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 2 9; opacity: .8; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.badge-glint {
  position: absolute; z-index: 2; width: 84%; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.32) 50%, transparent 60%);
  background-size: 250% 100%; background-position: 150% 0;
  mix-blend-mode: soft-light;
  animation: glint 7s var(--ease) 2.4s infinite;
}
@keyframes glint { 0% { background-position: 150% 0; } 30%, 100% { background-position: -60% 0; } }

/* Brand mark micro-interaction */
.brand img { transition: transform 0.6s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.06); }

/* Service card icons (stroke draws in when revealed) */
.card-icon {
  display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px;
  border-radius: 50%; color: var(--ink);
  background: radial-gradient(circle at 35% 30%, #fff, var(--cream));
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.card-icon svg { width: 30px; height: 30px; }
.card-icon svg * { stroke-dasharray: 160; stroke-dashoffset: 0; }
html.has-js:not(.reduce-motion) .card.reveal .card-icon svg * { stroke-dashoffset: 160; transition: stroke-dashoffset 1.6s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 250ms); }
html.has-js:not(.reduce-motion) .card.reveal.is-in .card-icon svg * { stroke-dashoffset: 0; }
.card:hover .card-icon { transform: translateY(-3px) rotate(-6deg); background: var(--ink); color: var(--gold); }

/* Animated section divider */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  width: min(var(--max), calc(100% - 40px)); margin: 0 auto; height: 2px;
  position: relative; z-index: 2;
}
.divider + section { border-top: 0; }
.divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); transform-origin: right; }
.divider span:last-child { background: linear-gradient(90deg, var(--gold), transparent); transform-origin: left; }
.divider i { width: 12px; height: 12px; background: var(--gold); transform: rotate(45deg); flex: none; box-shadow: 0 0 0 6px var(--cream); }
html.has-js:not(.reduce-motion) .divider span { transform: scaleX(0); transition: transform 1.2s var(--ease); }
html.has-js:not(.reduce-motion) .divider i { transform: rotate(-135deg) scale(0); transition: transform 0.9s var(--ease) 0.3s; }
html.has-js:not(.reduce-motion) .divider.is-in span { transform: scaleX(1); }
html.has-js:not(.reduce-motion) .divider.is-in i { transform: rotate(45deg) scale(1); }

/* Build video section */
.build { background: var(--ink); color: var(--cream); overflow: hidden; border-top: 0 !important; }
.build + section { border-top: 0; }
.build-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 85% 10%, rgba(198,161,91,0.16), transparent 65%),
    radial-gradient(600px 400px at 0% 100%, rgba(42,68,60,0.9), transparent 70%);
}
.build-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(244,239,228,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(244,239,228,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  animation: grid-pan 30s linear infinite;
}
@keyframes grid-pan { to { background-position: 56px 56px, 56px 56px; } }
.build-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.build .eyebrow { color: var(--gold); }
.build .lead { color: var(--paper); margin-top: 18px; }
.build-steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 8px; }
.build-steps li {
  display: flex; align-items: center; gap: 14px; padding: 10px 14px;
  border: 1px solid rgba(244,239,228,0.12); color: rgba(244,239,228,0.72);
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.build-steps li span { font-family: var(--display); color: var(--gold); font-size: 0.8rem; letter-spacing: 0.12em; }
.build-steps li.is-active { background: rgba(198,161,91,0.12); border-color: var(--gold); color: var(--cream); box-shadow: inset 4px 0 0 var(--gold); }
.build-note { font-size: 0.88rem; color: rgba(232,223,208,0.75); margin: 20px 0 0; }
.build-media { margin: 0; min-width: 0; }
.video-frame {
  position: relative; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(198,161,91,0.55);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 8px rgba(198,161,91,0.06);
  background: #1b2a26; aspect-ratio: 16 / 9;
}
.build-video { display: block; width: 100%; height: 100%; object-fit: cover; }
.video-toggle {
  position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold); background: rgba(27,42,38,0.82); cursor: pointer; padding: 0;
  display: grid; place-items: center; transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.video-toggle:hover { background: var(--gold); transform: scale(1.06); }
.video-toggle span { display: block; width: 12px; height: 14px; border-left: 4px solid var(--gold); border-right: 4px solid var(--gold); }
.video-toggle:hover span { border-color: var(--ink); }
.video-toggle[aria-pressed="true"] span {
  width: 0; height: 0; border-style: solid; border-width: 8px 0 8px 13px;
  border-color: transparent transparent transparent var(--gold); margin-left: 4px;
}
.video-toggle[aria-pressed="true"]:hover span { border-color: transparent transparent transparent var(--ink); }
.video-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Work slides: subtle lift on hover */
.slide img { transition: transform 0.8s var(--ease); }
@media (hover: hover) { .carousel:hover .slide img { transform: scale(1.012); } }

/* Pricing: slow sheen */
.pricing::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(198,161,91,0.08) 50%, transparent 65%);
  background-size: 300% 100%; animation: sheen 12s linear infinite;
}
@keyframes sheen { from { background-position: 150% 0; } to { background-position: -150% 0; } }

/* Area list + address micro-interactions */
.area-list li { transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease); }
.area-list li:hover { transform: translateX(6px); background: color-mix(in srgb, var(--gold) 10%, transparent); }
.address-block { transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.address-block:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(27,42,38,0.1); }

@media (max-width: 900px) {
  .build-grid { grid-template-columns: 1fr; }
  .build-media { order: -1; }
  .badge-stage { width: min(320px, 78vw); }
  .orb { filter: blur(40px); }
}
@media (max-width: 600px) {
  .badge-orbit text { font-size: 19px; }
  .build-steps li { padding: 9px 12px; font-size: 0.98rem; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .hero-sparks i, .badge-img, .badge-orbit, .badge-glint, .build-bg::after, .pricing::after { animation: none !important; }
  .hero-sparks { display: none; }
  .badge-stage { transform: none !important; }
  .scroll-progress { display: none; }
}
html.reduce-motion .divider span, html.reduce-motion .divider i { transform: none; }

/* Process steps on phones/tablets: keep the text in the right-hand column */
@media (max-width: 900px) {
  .process-item { grid-template-columns: 64px 1fr; gap: 6px 18px; }
  .process-item .step { grid-row: 1 / span 2; }
  .process-item h3, .process-item p:last-child { grid-column: 2; }
  .process-item p:last-child { margin-top: 4px; }
}

/* Honeypot — visually hidden, kept out of tab order in the markup */
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
