/* =============================================================
   ALL THINGS REELestate — Content Studio
   Design system: editorial serif warmth x bold display caps,
   cream/ink palette, electric accent pop.
   ============================================================= */

/* ----------  TOKENS  ---------- */
:root {
  /* Palette */
  --ink:        #141210;
  --ink-2:      #1d1a16;
  --ink-soft:   #2a2620;
  --paper:      #f5f0e8;
  --paper-2:    #ece4d6;
  --paper-3:    #e2d8c7;
  --stone:      #948977;
  --stone-2:    #6f6656;
  --cream-dim:  #c9beac;

  --accent:     #2f5bff;   /* electric editorial blue — the pop */
  --accent-2:   #6d8bff;
  --live:       #ff3b30;   /* broadcast red for LIVE / livestream */
  --gold:       #c6a15b;   /* luxury hairline detailing */

  --hair:       rgba(20, 18, 16, .14);
  --hair-2:     rgba(20, 18, 16, .08);
  --hair-light: rgba(245, 240, 232, .16);

  /* Type */
  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --wrap: 1280px;
  --gutter: clamp(20px, 5vw, 72px);
  --radius: 4px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ----------  RESET  ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.02; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ----------  UTILITIES  ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--stone-2);
  display: inline-flex;
  align-items: center;
  gap: .8em;
}
.eyebrow--light { color: var(--cream-dim); }
.eyebrow::before {
  content: "";
  width: 30px; height: 1px;
  background: currentColor;
  opacity: .6;
}
.eyebrow.no-rule::before { display: none; }

.serif { font-family: var(--serif); }
.italic { font-style: italic; }
.accent { color: var(--accent); }

/* Section rhythm */
section { position: relative; }
.section-pad { padding-block: clamp(72px, 11vw, 150px); }

/* Buttons */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  padding: 16px 30px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  background: var(--bg); color: var(--fg);
  border-radius: 100px;
  border: 1px solid var(--bg);
  transition: transform .5s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn--accent { --bg: var(--accent); --fg: #fff; }
.btn--accent:hover { --bg: #1c46e6; }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border-color: var(--hair);
}
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--ghost-light {
  --bg: transparent; --fg: var(--paper);
  border-color: var(--hair-light);
}
.btn--ghost-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.textlink {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap .35s var(--ease), color .3s;
}
.textlink:hover { gap: 1em; color: var(--accent); }

/* Grain overlay */
.grain::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: .5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* =============================================================
   NAV
   ============================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  height: 84px;
  transition: background .5s var(--ease), height .5s var(--ease), box-shadow .5s var(--ease), color .5s var(--ease);
  color: var(--paper);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.scrolled {
  background: rgba(245, 240, 232, .9);
  backdrop-filter: blur(14px);
  color: var(--ink);
  height: 68px;
  box-shadow: 0 1px 0 var(--hair);
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; letter-spacing: 0; }
.brand__top {
  font-size: 9.5px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase;
  opacity: .8; padding-left: 2px;
}
.brand__main {
  font-family: var(--serif); font-size: 23px; font-weight: 500; letter-spacing: .01em;
  margin-top: 3px;
}
.brand__main b { font-weight: 600; }
.brand__reel {
  font-weight: 700; font-style: normal;
  background: linear-gradient(92deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.nav.scrolled .brand__reel { filter: saturate(1.1); }

.nav__links { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.nav__links a {
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  position: relative; padding: 6px 0; opacity: .92;
  transition: opacity .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: currentColor; transition: width .4s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__cta .btn { padding: 12px 22px; font-size: 11px; }
.nav.scrolled .btn--ghost-light { --fg: var(--ink); border-color: var(--hair); }
.nav.scrolled .btn--ghost-light:hover { background: var(--ink); color: var(--paper); }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 1.6px; width: 22px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  transform: translateY(-100%); visibility: hidden;
  transition: transform .6s var(--ease), visibility .6s var(--ease);
}
.nav-open .mobile-menu { transform: none; visibility: visible; }
/* Never render the mobile menu on desktop (burger is hidden there). */
@media (min-width: 721px) { .mobile-menu { display: none; } }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(30px, 9vw, 54px); font-weight: 400;
  padding: 10px 0; border-bottom: 1px solid var(--hair-light);
}
.mobile-menu a .num { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; color: var(--stone); margin-right: 14px; vertical-align: super; }
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  color: var(--paper);
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(47,91,255,.20), transparent 55%),
    radial-gradient(100% 80% at 12% 100%, rgba(198,161,91,.16), transparent 60%),
    linear-gradient(180deg, #17140f 0%, #201b14 40%, #14110d 100%);
}
/* Hero photo — swap the url() below for your own film still / listing shot.
   The radial gradient after it is the fallback if the photo can't load. */
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 1;
  background-image:
    linear-gradient(108deg, rgba(13,10,7,.52) 0%, rgba(13,10,7,.22) 44%, rgba(13,10,7,.5) 100%),
    url("https://assets.cdn.filesafe.space/UryrOQKz7XrlpqiWvJGM/media/6a50aa03708c41d4df6b177e.png"),
    radial-gradient(60% 70% at 70% 30%, #4a4335, #211c15 70%);
  filter: saturate(1.02) contrast(1.03);
}
/* Hero background video — fades in over the poster photo once it plays. */
.hero__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s var(--ease);
  pointer-events: none;
}
.hero__video.ready { opacity: 1; }
/* Legibility scrim over the video (matches the photo overlay). */
.hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(108deg, rgba(13,10,7,.5) 0%, rgba(13,10,7,.14) 46%, rgba(13,10,7,.5) 100%); }
.hero__vignette { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(15,12,9,.55) 0%, transparent 22%, transparent 45%, rgba(13,10,7,.82) 100%); }
.hero .wrap { position: relative; z-index: 3; width: 100%; padding-bottom: clamp(90px, 12vh, 130px); padding-top: 140px; }
.hero__eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(52px, 10.5vw, 168px);
  letter-spacing: -.015em;
  line-height: .92;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 em { font-style: italic; font-weight: 400; }
.hero h1 .lead { font-weight: 500; }
.hero__sub {
  margin-top: 34px; max-width: 560px;
  font-size: clamp(16px, 1.5vw, 20px); line-height: 1.55; color: var(--cream-dim);
  font-family: var(--serif); font-weight: 300; font-style: italic;
}
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 3;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--cream-dim);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll .bar { width: 1px; height: 46px; background: linear-gradient(var(--cream-dim), transparent); animation: scrollpulse 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes scrollpulse { 0%,100%{ transform: scaleY(.35); opacity:.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* =============================================================
   MARQUEE
   ============================================================= */
.marquee {
  background: var(--ink); color: var(--paper);
  border-top: 1px solid var(--hair-light);
  border-bottom: 1px solid var(--hair-light);
  padding-block: 22px; overflow: hidden;
}
.marquee__track { display: flex; width: max-content; gap: 0; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 26px; padding-inline: 26px;
  font-family: var(--serif); font-size: clamp(20px, 2.6vw, 34px); font-weight: 400; white-space: nowrap;
}
.marquee__item .dot { color: var(--accent); font-size: .5em; }
.marquee__item em { font-style: italic; color: var(--cream-dim); }
@keyframes slide { to { transform: translateX(-50%); } }

/* =============================================================
   STATS BAND
   ============================================================= */
.stats { background: var(--paper); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border-block: 1px solid var(--hair); }
.stat { background: var(--paper); padding: clamp(34px, 5vw, 58px) clamp(20px, 3vw, 44px); }
.stat__num { font-family: var(--serif); font-size: clamp(46px, 6vw, 84px); font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.stat__num .unit { font-size: .42em; font-style: italic; color: var(--accent); }
.stat__label { margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-2); }
.stat__desc { margin-top: 8px; font-size: 14.5px; color: var(--stone-2); max-width: 30ch; }

/* =============================================================
   SECTION HEADINGS
   ============================================================= */
.sec-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; }
.sec-head h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 6vw, 82px); letter-spacing: -.02em; line-height: .98;
}
.sec-head h2 em { font-style: italic; }
.sec-head p { color: var(--stone-2); font-size: 17px; max-width: 46ch; }
@media (max-width: 820px){ .sec-head--split { grid-template-columns: 1fr; } }

/* =============================================================
   SERVICES
   ============================================================= */
.services { background: var(--paper); }
.svc-primary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-card {
  position: relative;
  border-radius: 8px;
  min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px 26px;
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
  border: 1px solid var(--hair);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.svc-card:hover { transform: translateY(-8px); box-shadow: 0 42px 70px -34px rgba(20,16,12,.6); }
/* Photo layer — swap the url per card in index.html (background-image).
   The duotone gradient after it is the fallback if the photo can't load. */
.svc-card__img {
  position: absolute; inset: 0; z-index: -2;
  background-color: #191410; /* dark base shows if a photo is slow / fails */
  background-size: cover; background-position: center;
  transition: transform 1.2s var(--ease);
}
.svc-card:hover .svc-card__img { transform: scale(1.07); }
/* Legibility gradient */
.svc-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,12,9,.12) 0%, rgba(15,12,9,.34) 44%, rgba(11,9,6,.92) 100%);
}
/* Accent underline on hover */
.svc-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.svc-card:hover::after { transform: scaleX(1); }
.svc-card > *:not(.svc-card__img) { position: relative; z-index: 1; }
.svc-card__num { display: block; font-family: var(--serif); font-size: 14px; font-style: italic; color: var(--cream-dim); margin-bottom: 8px; }
.svc-card__icon { position: absolute; top: 24px; left: 26px; z-index: 1; }
.svc-card__icon svg { width: 30px; height: 30px; stroke: var(--paper); stroke-width: 1.3; fill: none; opacity: .92; }
.svc-card h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.svc-card__desc { margin-top: 10px; font-size: 14px; color: var(--cream-dim); }
.svc-card__live { position: absolute; top: 22px; right: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: rgba(255,59,48,.92); padding: 7px 12px; border-radius: 100px; }
.svc-card__live .pulse { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%{ box-shadow: 0 0 0 0 rgba(255,59,48,.55) } 70%{ box-shadow: 0 0 0 10px rgba(255,59,48,0) } 100%{ box-shadow: 0 0 0 0 rgba(255,59,48,0) } }

.svc-secondary { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; }
.svc-min { background: var(--paper); padding: 26px 28px; display: flex; align-items: baseline; gap: 16px; transition: background .4s; }
.svc-min:hover { background: var(--paper-2); }
.svc-min__k { font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 15px; min-width: 30px; }
.svc-min h4 { font-size: 16px; font-weight: 700; letter-spacing: .01em; }
.svc-min p { font-size: 13.5px; color: var(--stone-2); margin-top: 4px; }

/* =============================================================
   PORTFOLIO — "Content That Stops The Scroll"
   ============================================================= */
.portfolio { background: var(--ink); color: var(--paper); }
.portfolio .sec-head h2 { color: var(--paper); }
.portfolio .sec-head p { color: var(--cream-dim); }
.portfolio .eyebrow { color: var(--cream-dim); }

.reel-feature {
  position: relative; border-radius: 10px; overflow: hidden;
  aspect-ratio: 16 / 8.6;
  background:
    linear-gradient(180deg, rgba(20,16,12,.1), rgba(20,16,12,.75)),
    linear-gradient(120deg, #3a3428, #6a5f49 60%, #2c2620);
  border: 1px solid var(--hair-light);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.reel-feature::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 4px);
  opacity: .5;
}
.reel-feature__meta { position: absolute; left: 26px; bottom: 24px; z-index: 3; }
.reel-feature__meta .k { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--cream-dim); }
.reel-feature__meta .t { font-family: var(--serif); font-size: clamp(22px, 3vw, 40px); font-weight: 400; margin-top: 6px; }
.reel-feature__tag { position: absolute; top: 22px; left: 24px; z-index: 3; font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; background: rgba(20,16,12,.6); backdrop-filter: blur(6px); padding: 8px 14px; border-radius: 100px; border: 1px solid var(--hair-light); }
.play {
  position: relative; z-index: 3;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px 16px 18px; border-radius: 100px;
  background: var(--paper); color: var(--ink);
  font-size: 13px; font-weight: 700; letter-spacing: .06em;
  transition: transform .5s var(--ease), gap .4s;
}
.reel-feature:hover .play { transform: scale(1.04); }
.play__disc { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.play__disc svg { width: 13px; height: 13px; fill: currentColor; margin-left: 2px; }

.reel-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; margin-bottom: 26px; }
.reel-bar__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-dim); }
.toggle { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; color: var(--cream-dim); }
.toggle__track { width: 44px; height: 24px; border-radius: 100px; background: var(--accent); position: relative; }
.toggle__track::after { content: ""; position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }

.reel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reel-tile {
  position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--hair-light); cursor: pointer;
  background: linear-gradient(140deg, #2f2a20, #4a4234);
  transition: transform .6s var(--ease);
}
.reel-tile:hover { transform: translateY(-5px); }
.reel-tile__glow { position: absolute; inset: 0; opacity: .0; background: radial-gradient(80% 60% at 50% 100%, rgba(47,91,255,.5), transparent 70%); transition: opacity .5s; }
.reel-tile:hover .reel-tile__glow { opacity: 1; }
.reel-tile__body { position: absolute; inset: 0; z-index: 2; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(180deg, rgba(20,16,12,.05), rgba(20,16,12,.7)); }
.reel-tile__k { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-dim); }
.reel-tile__t { font-family: var(--serif); font-size: 20px; margin-top: 4px; }
.reel-tile__ico { position: absolute; top: 16px; right: 16px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--hair-light); display: grid; place-items: center; background: rgba(20,16,12,.4); }
.reel-tile__ico svg { width: 11px; height: 11px; fill: var(--paper); margin-left: 1px; }

/* placeholder duotones so tiles feel like real client work */
.d1 { background: linear-gradient(140deg,#33506b,#101b26); }
.d2 { background: linear-gradient(140deg,#5b4a34,#20180f); }
.d3 { background: linear-gradient(140deg,#3f5847,#141d18); }
.d4 { background: linear-gradient(140deg,#4a3a4d,#1a1119); }
.d5 { background: linear-gradient(140deg,#6a5238,#241a10); }
.d6 { background: linear-gradient(140deg,#2f4a52,#0f1b1e); }

/* =============================================================
   WHY / VALUE
   ============================================================= */
.why { background: var(--paper-2); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; }
.why-cell { background: var(--paper); padding: clamp(30px, 3.4vw, 46px); transition: background .5s; }
.why-cell:hover { background: var(--paper-3); }
.why-cell__n { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--accent); }
.why-cell h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-top: 18px; letter-spacing: -.01em; }
.why-cell p { margin-top: 12px; font-size: 14.5px; color: var(--stone-2); }

/* =============================================================
   PRICING
   ============================================================= */
.pricing { background: var(--paper); }
.ramp {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px);
  align-items: center; margin-bottom: clamp(48px, 6vw, 80px);
}
.ramp__copy h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(28px,3.6vw,44px); line-height: 1.05; letter-spacing: -.01em; }
.ramp__copy h3 em { font-style: italic; }
.ramp__copy p { margin-top: 18px; color: var(--stone-2); font-size: 15.5px; max-width: 42ch; }
.ramp__copy p + p { margin-top: 12px; }
/* stepped ladder graphic */
.ladder { display: flex; align-items: flex-end; gap: 10px; height: 260px; }
.rung { flex: 1; border-radius: 6px 6px 0 0; position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding-bottom: 12px; color: var(--paper); background: var(--ink-soft); transition: transform .5s var(--ease); }
.rung:hover { transform: translateY(-6px); }
.rung[data-h="1"] { height: 34%; }
.rung[data-h="2"] { height: 56%; }
.rung[data-h="3"] { height: 78%; }
.rung[data-h="4"] { height: 100%; }
.rung--entry { background: linear-gradient(180deg, var(--accent), #1c46e6); }
.rung__price { font-family: var(--serif); font-size: clamp(15px, 1.6vw, 20px); }
.rung__name { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; opacity: .8; }
.rung__tag { position: absolute; top: -26px; font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 700; white-space: nowrap; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.tier {
  display: flex; flex-direction: column;
  background: var(--paper-2); border: 1px solid var(--hair); border-radius: 8px;
  padding: 30px 26px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tier:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(20,16,12,.35); }
.tier--entry { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tier--entry .tier__feat { color: var(--cream-dim); }
.tier--entry .tier__badge { background: var(--accent); color: #fff; }
.tier--pop { border-color: var(--accent); }
.tier__badge { position: absolute; top: 20px; right: 20px; font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 12px; border-radius: 100px; background: var(--paper-3); color: var(--stone-2); }
.tier--pop .tier__badge { background: var(--accent); color: #fff; }
.tier__name { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.tier__role { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-top: 6px; }
.tier--entry .tier__role { color: var(--accent-2); }
.tier__price { margin-top: 22px; font-family: var(--serif); font-size: clamp(38px, 4vw, 52px); font-weight: 300; letter-spacing: -.02em; line-height: 1; }
.tier__price span { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .02em; color: var(--stone); }
.tier--entry .tier__price span { color: var(--cream-dim); }
.tier__feat { margin-top: 22px; font-size: 13.5px; color: var(--stone-2); line-height: 1.7; flex: 1; }
.tier__feat li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.tier__feat li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 50%; border: 1.4px solid var(--accent); }
.tier .btn { margin-top: 26px; width: 100%; }
.tier--entry .btn { --bg: var(--accent); --fg: #fff; border-color: var(--accent); }
.tier--entry .btn:hover { --bg: #fff; --fg: var(--ink); }

.pricing__note { margin-top: 26px; font-size: 13px; color: var(--stone); text-align: center; }

/* à la carte */
.alacarte { margin-top: clamp(54px, 7vw, 86px); }
.ala-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.ala-head h3 { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3vw, 40px); }
.ala-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hair); border: 1px solid var(--hair); border-radius: var(--radius); overflow: hidden; }
.ala-group { background: var(--paper); padding: 26px 26px 22px; }
.ala-group h4 { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--stone-2); margin-bottom: 16px; }
.ala-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid var(--hair-2); }
.ala-row:first-of-type { border-top: none; }
.ala-row .n { font-size: 14px; }
.ala-row .p { font-family: var(--serif); font-size: 15px; white-space: nowrap; }
.ala-row .p em { font-style: italic; font-size: 12px; color: var(--stone); }

/* =============================================================
   PROCESS
   ============================================================= */
.process { background: var(--ink); color: var(--paper); }
.process .sec-head h2 { color: var(--paper); }
.process .eyebrow { color: var(--cream-dim); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair-light); border: 1px solid var(--hair-light); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--ink); padding: clamp(30px,3.4vw,46px) clamp(24px,2.6vw,34px); position: relative; transition: background .5s; }
.step:hover { background: var(--ink-2); }
.step__n { font-family: var(--serif); font-size: clamp(50px, 6vw, 88px); font-weight: 300; color: var(--ink-soft); -webkit-text-stroke: 1px var(--stone-2); line-height: 1; }
.step h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; margin-top: 24px; }
.step p { margin-top: 12px; font-size: 14px; color: var(--cream-dim); }

/* =============================================================
   STUDIO / ABOUT
   ============================================================= */
.studio { background: var(--paper); }
.studio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); align-items: center; }
.studio__media {
  aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; position: relative;
  background: linear-gradient(150deg, #43392b, #17120c);
  border: 1px solid var(--hair);
}
.studio__media::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(255,255,255,.03) 0 2px, transparent 2px 6px); }
.studio__badge { position: absolute; z-index: 2; left: 22px; bottom: 22px; color: var(--paper); }
.studio__badge .k { font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--cream-dim); }
.studio__badge .t { font-family: var(--serif); font-size: 30px; margin-top: 4px; }
.studio__copy h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.02em; }
.studio__copy h2 em { font-style: italic; }
.studio__copy p { margin-top: 22px; color: var(--stone-2); font-size: 16px; max-width: 52ch; }
.studio__copy p + p { margin-top: 14px; }
.studio__tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.studio__tags span { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-2); border: 1px solid var(--hair); padding: 9px 16px; border-radius: 100px; }
@media (max-width: 860px){ .studio__grid { grid-template-columns: 1fr; } }

/* =============================================================
   CONTACT
   ============================================================= */
.contact { background: var(--paper-2); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 76px); }
.contact__lead h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(38px, 5.4vw, 78px); line-height: .98; letter-spacing: -.02em; }
.contact__lead h2 em { font-style: italic; }
.contact__lead p { margin-top: 22px; color: var(--stone-2); font-size: 16px; max-width: 40ch; }
.contact__meta { margin-top: 34px; display: grid; gap: 20px; }
.contact__meta .row .k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }
.contact__meta .row .v { font-family: var(--serif); font-size: 21px; margin-top: 4px; }
.contact__meta .row .v a:hover { color: var(--accent); }

.form { display: grid; gap: 16px; }
.form .field { display: grid; gap: 8px; }
.form label { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--stone-2); }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; color: var(--ink);
  width: 100%; min-width: 0; max-width: 100%; box-sizing: border-box;
  background: var(--paper); border: 1px solid var(--hair); border-radius: var(--radius);
  padding: 14px 16px; transition: border-color .3s, box-shadow .3s;
}
.form .field { min-width: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,91,255,.14); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form textarea { min-height: 120px; resize: vertical; }
.form .btn { margin-top: 6px; }
.form__ok { font-size: 14px; color: var(--accent); font-weight: 600; display: none; }
.form.sent .form__ok { display: block; }
@media (max-width: 860px){ .contact__grid { grid-template-columns: 1fr; } }

/* =============================================================
   FOOTER
   ============================================================= */
.footer { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 88px) 34px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--hair-light); }
.footer__brand .brand { color: var(--paper); }
.footer__brand p { margin-top: 20px; color: var(--cream-dim); font-size: 14.5px; max-width: 34ch; }
.footer__col h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); margin-bottom: 18px; }
.footer__col a { display: block; padding: 6px 0; color: var(--cream-dim); font-size: 14.5px; transition: color .3s; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; }
.footer__bottom p { font-size: 12.5px; color: var(--stone); }
.footer__bottom .credit em { font-style: italic; color: var(--cream-dim); }
@media (max-width: 780px){ .footer__top { grid-template-columns: 1fr; gap: 30px; } }

/* =============================================================
   3D MATTERPORT TOURS
   ============================================================= */
.tours { background: var(--ink); color: var(--paper); }
.tours .sec-head h2 { color: var(--paper); }
.tours .sec-head p { color: var(--cream-dim); }
.tours .eyebrow { color: var(--cream-dim); }
.tours-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tour-card {
  position: relative; text-align: left; width: 100%;
  min-height: 300px; border-radius: 12px; overflow: hidden;
  padding: 24px; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--paper); border: 1px solid var(--hair-light); cursor: pointer;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tour-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.tour-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(160deg, rgba(47,91,255,.20), transparent 55%), linear-gradient(180deg, rgba(20,16,12,.05), rgba(11,9,6,.86));
}
.tour-card > *:not(.tour-card__img) { position: relative; z-index: 2; }
.tour-card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -34px rgba(0,0,0,.6); }
.tour-card__badge { position: absolute; top: 20px; left: 20px; display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: rgba(20,16,12,.55); border: 1px solid var(--hair-light); padding: 7px 12px; border-radius: 100px; }
.tour-card__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 0 rgba(109,139,255,.6); animation: pulse 1.8s infinite; }
.tour-card__ico { position: absolute; top: 46%; left: 50%; transform: translate(-50%, -50%); z-index: 0; opacity: .26; }
.tour-card__ico svg { width: 92px; height: 92px; stroke: var(--paper); stroke-width: 1; fill: none; }
.tour-card__body { margin-top: auto; }
.tour-card__k { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--cream-dim); }
.tour-card__t { display: block; font-family: var(--serif); font-size: 24px; margin-top: 6px; }
.tour-card__cta { display: inline-flex; align-items: center; gap: .5em; margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.tour-card__cta .arrow { transition: transform .4s var(--ease); }
.tour-card:hover .tour-card__cta .arrow { transform: translateX(4px); }

.mp-lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(11,9,6,.92); display: flex; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 40px); }
.mp-lightbox__frame { position: relative; width: min(1200px, 100%); aspect-ratio: 16 / 9; max-height: 86vh; border-radius: 12px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); }
.mp-lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.mp-lightbox__close { position: absolute; top: 16px; right: 18px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 26px; line-height: 1; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.mp-lightbox__close:hover { background: #fff; transform: scale(1.05); }

/* =============================================================
   INSTALL BANNER
   ============================================================= */
.install-banner{
  position:fixed; left:50vw; bottom:16px; transform:translateX(-50%);
  z-index:95; width:min(520px, calc(100vw - 24px)); box-sizing:border-box;
  display:flex; align-items:center; gap:16px; justify-content:space-between;
  background:var(--ink); color:var(--paper);
  border:1px solid var(--hair-light); border-radius:16px; overflow:hidden;
  padding:14px 16px; box-shadow:0 30px 60px -24px rgba(0,0,0,.55);
  animation:banner-up .6s var(--ease) both;
}
@keyframes banner-up{ from{ opacity:0; transform:translateX(-50%) translateY(16px) } to{ opacity:1; transform:translateX(-50%) translateY(0) } }
.install-banner__main{ display:flex; align-items:center; gap:14px; min-width:0; flex:1; }
.install-banner__icon img{ width:44px; height:44px; border-radius:11px; }
.install-banner__txt{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.install-banner__txt b{ font-size:14px; font-weight:700; }
.install-banner__txt > span{ font-size:12.5px; color:var(--cream-dim); }
.ios-steps{ display:flex; flex-direction:column; gap:3px; margin-top:8px; }
.ios-steps span{ font-size:12.5px; color:var(--paper); display:inline-flex; align-items:center; gap:6px; }
.ios-steps b{ color:var(--accent-2); }
.ios-share{ width:16px; height:16px; stroke:var(--accent-2); color:var(--accent-2); vertical-align:middle; }
.install-banner__act{ display:flex; align-items:center; gap:8px; flex-shrink:0; }
.install-banner__close{ flex-shrink:0; width:42px; height:42px; border-radius:50%; color:var(--cream-dim); font-size:22px; line-height:1; display:grid; place-items:center; border:1px solid var(--hair-light); }
.install-banner__close:hover{ background:var(--ink-2); color:var(--paper); }
.install-banner--expanded{ align-items:flex-start; }
@media (max-width:520px){
  .install-banner{ flex-direction:column; align-items:stretch; gap:12px; }
  .install-banner__act{ justify-content:space-between; }
  .install-banner__act .btn{ flex:1; }
}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1080px){
  .svc-primary { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .reel-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .ala-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-secondary { grid-template-columns: repeat(1, 1fr); }
}
@media (max-width: 860px){
  .ramp { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px){
  .nav__links, .nav__cta .btn--ghost-light { display: none; }
  .burger { display: flex; }
  .svc-primary { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tours-grid { grid-template-columns: 1fr; }
  .reel-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .ala-grid { grid-template-columns: 1fr; }
  .sec-head--split { gap: 12px; }
  .contact__meta { grid-template-columns: 1fr; }
  .form .row2 { grid-template-columns: 1fr; }
}
