/* ════════════════════════════════════════════════════════════
   V3 — EDITORIAL POLISH
   Calmer premium typography (sans headings, serif italics only
   for highlighted words) · image-first hero · glass pricing ·
   quieter motion · word-cycle component · cinematic continuity
   ════════════════════════════════════════════════════════════ */

/* ---------- typography: elegance over drama ---------- */
h1,h2,.h-display,.h-sec{
  font-family:var(--sans);font-weight:500;letter-spacing:-.025em;
}
.h-display{font-size:clamp(2.3rem,1.5rem + 3.2vw,4.1rem);line-height:1.05}
.h-sec{font-size:clamp(1.65rem,1.2rem + 2vw,2.75rem);line-height:1.12}
.h-display em,.h-sec em,
.h-display .em-gold,.h-sec .em-gold,
h1 .em-gold,h2 em{
  font-family:var(--serif);font-style:italic;font-weight:420;letter-spacing:-.01em;
}
.statement-v2 .h-sub{font-family:var(--sans);font-weight:400;letter-spacing:-.015em;font-size:clamp(1.45rem,1.05rem + 1.9vw,2.4rem);line-height:1.35}
.svc-panel h3{font-family:var(--sans);font-weight:500;font-size:clamp(1.5rem,1.1rem + 1.7vw,2.5rem);letter-spacing:-.02em}
.plan h3,.path-card h3,.audit-panel h3,.form-head h2,.iw-item h3{font-family:var(--sans);font-weight:500;letter-spacing:-.015em}
.faq-q{font-family:var(--sans);font-weight:500;font-size:clamp(1rem,.95rem + .35vw,1.2rem);letter-spacing:-.01em}
.mmenu a{font-family:var(--sans);font-weight:500;font-size:clamp(1.7rem,7vw,2.4rem);letter-spacing:-.02em}
/* serif stays where it is the accent: brand, prices, big numerals,
   pull-quotes, ghost type, band line, mock artwork */

/* ---------- hero: the city sits BEHIND the words ---------- */
.hero-cine .hero-bg img{
  filter:saturate(.82) contrast(.97) brightness(.87);
  opacity:1;
  animation:kenburns2 64s ease-in-out infinite alternate;
}
@keyframes kenburns2{from{transform:scale(1.015)}to{transform:scale(1.048) translateX(-.8%)}}
.hero-cine .hero-bg::before{ /* golden atmospheric haze */
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(205deg,rgba(214,177,124,.10) 0%,rgba(214,177,124,0) 42%);
}
.hero-cine .hero-bg::after{
  background:
    radial-gradient(120% 95% at 28% 80%,rgba(11,20,32,.55) 0%,rgba(11,20,32,0) 58%),
    linear-gradient(180deg,rgba(11,20,32,.44) 0%,rgba(11,20,32,.08) 30%,rgba(11,20,32,.18) 56%,rgba(11,20,32,.66) 82%,#0B1420 100%),
    linear-gradient(90deg,rgba(11,20,32,.5) 0%,rgba(11,20,32,.05) 50%);
}
.hero-cine .hero-grid-bg{display:none}
.hero-cine .hero-inner{padding-bottom:clamp(6rem,12vh,8.5rem)}
.hero-cine .eyebrow{margin-bottom:clamp(1.8rem,3.5vh,2.6rem);color:rgba(245,242,234,.78)}
.hero-cine h1{max-width:14ch}
.hero-cine .hero-sub{max-width:42ch;font-size:clamp(.98rem,.94rem + .25vw,1.08rem);color:rgba(245,242,234,.8);margin-top:clamp(1.3rem,2.6vh,1.9rem)}
.hero-cine .hero-cta{margin-top:clamp(1.8rem,3.4vh,2.5rem)}
.hero-cine .hero-proof{font-size:.8rem;margin-top:clamp(1.6rem,3vh,2.2rem);letter-spacing:.02em}
.hero-cine .hero-proof .sep{color:var(--gold-2);margin:0 .55em}
.hero-cine .marquee{background:rgba(11,20,32,.34)}

/* cinematic opening: image sharpens from black, content steps in.
   Skipped entirely for nomotion (rasterizer) and reduced motion.  */
html:not(.nomotion) .page-home .hero-cine .hero-bg img{
  transition:filter 2.8s var(--ease),opacity 2.4s var(--ease);
}
html:not(.nomotion) .page-home .hero-cine:not(.cine-go) .hero-bg img{
  filter:saturate(.55) contrast(.95) brightness(.5) blur(14px);
  opacity:.6;
}
.page-home .hero-cine .eyebrow.rv.is-in{transition-delay:.3s}
.page-home .hero-cine .hero-sub.rv.is-in{transition-delay:1.15s}
.page-home .hero-cine .hero-cta.rv.is-in{transition-delay:1.55s}
.page-home .hero-cine .hero-proof.rv.is-in{transition-delay:1.95s}
@media (prefers-reduced-motion:reduce){
  .page-home .hero-cine .hero-bg img{filter:saturate(.82) contrast(.97) brightness(.87)!important;opacity:1!important;animation:none}
  .page-home .hero-cine .rv.is-in{transition-delay:0s!important}
}

/* ---------- statement: straight framing, warm image ---------- */
.photo-card{transform:none}
.photo-card img{transform:scale(1.06)}
.photo-card.warm img{filter:contrast(1.02) saturate(1.02)}
.photo-card.warm .ph::after{background:linear-gradient(160deg,rgba(11,20,32,.06),rgba(11,20,32,.32))}
@media (min-width:1101px){
  .photo-card{margin-right:calc(var(--gutter) * -1.4)}
}

/* ---------- continuous editorial flow: rounded overlaps ---------- */
.services-v3,.ba2,.cta{
  position:relative;z-index:6;
  border-radius:clamp(18px,3vw,34px) clamp(18px,3vw,34px) 0 0;
  margin-top:calc(clamp(18px,3vw,34px) * -1);
  box-shadow:0 -30px 60px -40px rgba(11,20,32,.6);
}
#why-us,.path-v2{
  position:relative;z-index:7;background-color:var(--paper);
  border-radius:clamp(18px,3vw,34px) clamp(18px,3vw,34px) 0 0;
  margin-top:calc(clamp(18px,3vw,34px) * -1);
  box-shadow:0 -30px 60px -40px rgba(11,20,32,.4);
}

/* ---------- quiet drafting-table texture on ivory fields ---------- */
.statement-v2,#why-us,.path-v2,.plans-zone,.inwriting{
  background-image:
    repeating-linear-gradient(to right,rgba(11,20,32,.024) 0 1px,transparent 1px 96px),
    repeating-linear-gradient(to bottom,rgba(11,20,32,.018) 0 1px,transparent 1px 96px);
}
.sec-head{position:relative}
.sec-head::after{
  content:"+";position:absolute;top:2px;right:0;
  font-family:var(--mono);font-size:.85rem;font-weight:400;color:rgba(11,20,32,.16);
}
.on-dark .sec-head::after,.ba2 .sec-head::after{color:rgba(245,242,234,.14)}

/* ---------- 14-day path: cards carry their own artwork ---------- */
.path-card{padding-top:clamp(7rem,11vh,8.5rem)}
.pc-art{position:absolute;top:1.7rem;left:1.7rem;width:min(160px,48%);opacity:.95;z-index:1}
.pc-art svg{width:100%;height:auto;display:block}

/* ---------- pricing: glass panel ---------- */
.plan-feat{
  border:1px solid rgba(201,165,92,.38);
  background:linear-gradient(168deg,#13223A 0%,#0B1420 58%);
  box-shadow:0 70px 130px -55px rgba(11,20,32,.6), inset 0 1px 0 rgba(245,242,234,.07);
}
.plan-feat::after{
  content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(112deg,transparent 32%,rgba(245,242,234,.055) 46%,transparent 58%);
  opacity:0;transition:opacity .7s var(--ease);
}
.plan-feat:hover::after{opacity:1}
.plan-feat:hover{border-color:rgba(201,165,92,.6)}
.plan-feat:focus-within{outline:2px solid var(--gold-2);outline-offset:5px}

/* ---------- before/after: the "after" reads as other studios ---------- */
.mk-a1{background:#17251E;color:#F1EDE3}
.mk-a1 .a-cta{background:#D8C29A;color:#17251E}
.mk-a1 h2 em{color:#D8C29A}
.mk-a1 .a-spark path{stroke:#D8C29A}
.mk-a1 .a-spark circle{fill:#D8C29A}
.mk-a1 .a-stat span{color:rgba(241,237,227,.5)}
.mk-a2 .a-num{color:#7E3B36}
.mk-a2 .a-cta{background:#7E3B36;color:#F6F1E8}
.mk-a2 .a-panel{background:#33261F}
.mk-a2 .a-panel .ok{color:#D8A47F}
.mk-a3{background:#101114;color:#E9EDF2}
.mk-a3 .a-cta{border-color:rgba(233,237,242,.4);color:#E9EDF2}
.mk-a3 h2 .thin{color:#8FB3D9}
.mk-a3 h2 .row i{background:#8FB3D9}
.mk-a3 .a-nav{border-bottom-color:rgba(233,237,242,.14)}

/* ---------- quieter motion ---------- */
.ch{transform:translateY(1.1em) rotate(0deg)}
.rv{transform:translateY(24px)}

/* ---------- animated word cycle ---------- */
.tcycle{
  display:inline-block;position:relative;vertical-align:bottom;
  white-space:nowrap;overflow:hidden;
  transition:width .45s var(--ease);
}
.tcycle .tc-w{
  display:inline-block;white-space:nowrap;
  position:absolute;left:0;top:0;
  opacity:0;transform:translateY(70%);
  transition:opacity .4s var(--ease),transform .45s var(--ease);
}
.tcycle .tc-w.is-on{position:relative;opacity:1;transform:none}
.tcycle .tc-w.is-off{opacity:0;transform:translateY(-70%)}
.h-sec .tcycle,.h-display .tcycle{color:var(--gold-2)}
.on-dark .h-sec .tcycle{font-family:var(--serif);font-style:italic;font-weight:420}
@media (prefers-reduced-motion:reduce){
  .tcycle .tc-w{transition:none}
}

/* ---------- small screens ---------- */
@media (max-width:900px){
  .pc-art{width:min(130px,42%)}
  .path-card{padding-top:6.5rem}
}

/* ════════ V3.2 — hero video finish ════════ */

/* trust strip clearance: the sheet's negative margin eats padding, not content */
.hero-cine{padding-bottom:clamp(26px,3.6vw,44px)}

.hero-cine .hero-bg video{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center 42%;
  filter:saturate(.78) contrast(.95) brightness(.7);
  animation:kenburns2 64s ease-in-out infinite alternate;
}
/* 55–70% blue-charcoal grade + vignette: atmosphere, not decoration */
.hero-cine .hero-bg::after{
  background:
    radial-gradient(120% 95% at 28% 80%,rgba(10,18,32,.6) 0%,rgba(10,18,32,0) 60%),
    linear-gradient(180deg,rgba(12,22,40,.52) 0%,rgba(12,22,40,.3) 34%,rgba(12,22,40,.4) 58%,rgba(11,20,32,.8) 84%,#0B1420 100%),
    linear-gradient(90deg,rgba(11,20,32,.55) 0%,rgba(11,20,32,.12) 55%);
}
html:not(.nomotion) .page-home .hero-cine .hero-bg video{
  transition:filter 2.8s var(--ease),opacity 2.4s var(--ease);
}
html:not(.nomotion) .page-home .hero-cine:not(.cine-go) .hero-bg video{
  filter:saturate(.5) contrast(.95) brightness(.4) blur(12px);
  opacity:.5;
}
@media (prefers-reduced-motion:reduce){
  .page-home .hero-cine .hero-bg video{animation:none;filter:saturate(.78) brightness(.7)!important;opacity:1!important}
}
.hero-cine .hero-sub{max-width:560px}

/* coordinates micro-label */
.coord{font-family:var(--mono);font-size:.58rem;letter-spacing:.18em;color:rgba(11,20,32,.3);text-transform:uppercase}
.statement-grid{position:relative}
.statement-grid .coord{position:absolute;top:-1.6rem;right:0}

/* audit panel: mini search-result graphic */
.serp{
  margin-top:1.5rem;border:1px solid var(--line-dark);border-radius:10px;
  padding:.9rem 1.1rem;background:rgba(245,242,234,.035);
  display:flex;align-items:center;gap:.9rem;position:relative;
}
.serp .pin{color:var(--gold-2);flex:none}
.serp .t{font-size:.9rem;font-weight:500;color:var(--paper)}
.serp .m{font-family:var(--mono);font-size:.62rem;letter-spacing:.06em;color:var(--gold-2);margin-top:.15rem}
.serp .r{margin-left:auto;font-family:var(--mono);font-size:.6rem;letter-spacing:.14em;color:rgba(245,242,234,.45)}

/* the BEFORE gets worse: 2005 vintage */
.mk-bad{font-family:'Times New Roman',Times,serif}
.mk-bad .bd-nav span{font-family:Verdana,sans-serif;font-size:.95em;padding:.5em 1em}
.mk-bad .bd-main p{line-height:1.3;margin-bottom:.45em}
.mk-bad .bd-main h2{text-decoration:underline}
.mk-bad .bd-btn{font-family:'Comic Sans MS','Comic Sans',cursive;text-shadow:1px 1px 0 #A55}
.mk-bad .bd-badges{display:flex;gap:.6em;margin-top:.8em;flex-wrap:wrap}
.mk-bad .bd-badges span{border:1px outset #999;background:#C0C0C0;color:#333;font-family:Verdana,sans-serif;font-size:.78em;padding:.2em .55em}
.mk-bad .bd-side h4{font-family:Verdana,sans-serif}
.mk-bad .bd-side li{font-size:.95em}

/* ════════ V3.3 — lock version ════════ */

/* hero: editorial right-lower composition, video only */
.hero-cine .hero-inner{display:flex;justify-content:flex-end;padding-bottom:clamp(4rem,8vh,5.5rem)}
.hero-copy{width:min(560px,44vw)}
.hero-cine .hero-bg::after{ /* grade mirrored under the right column */
  background:
    radial-gradient(120% 95% at 72% 82%,rgba(10,18,32,.62) 0%,rgba(10,18,32,0) 60%),
    linear-gradient(180deg,rgba(12,22,40,.5) 0%,rgba(12,22,40,.28) 34%,rgba(12,22,40,.4) 58%,rgba(11,20,32,.8) 84%,#0B1420 100%),
    linear-gradient(270deg,rgba(11,20,32,.55) 0%,rgba(11,20,32,.1) 55%);
}
.hero-cine .hero-bg::before{background:linear-gradient(155deg,rgba(214,177,124,.1) 0%,rgba(214,177,124,0) 42%)}
@media (max-width:900px){
  .hero-cine .hero-inner{justify-content:flex-start}
  .hero-copy{width:100%;max-width:560px}
  .hero-cine .hero-bg::after{
    background:
      radial-gradient(140% 90% at 40% 85%,rgba(10,18,32,.6) 0%,rgba(10,18,32,0) 62%),
      linear-gradient(180deg,rgba(12,22,40,.5) 0%,rgba(12,22,40,.32) 40%,rgba(11,20,32,.82) 85%,#0B1420 100%);
  }
}

/* BEFORE: fully static, drab, period-correct */
.mk-bad{filter:saturate(.45) contrast(.96)}
.mk-bad .bd-new{animation:none;opacity:1}
.mk-bad .bd-marq span{animation:none;transform:none}

/* AFTER: floating glass authority metric */
.a-metric{
  position:absolute;top:5.2em;right:2.4em;z-index:3;
  display:flex;flex-direction:column;gap:.25em;
  padding:1em 1.4em;border-radius:.9em;
  background:rgba(16,24,32,.38);
  border:1px solid rgba(245,242,234,.16);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  box-shadow:0 2.2em 4em -2em rgba(0,0,0,.55);
  animation:metricFloat 6.5s ease-in-out infinite alternate;
  font-size:1em;
}
.a-metric .k{font-family:var(--mono);font-size:.62em;letter-spacing:.18em;text-transform:uppercase;opacity:.6}
.a-metric .v{font-family:var(--serif);font-size:1.5em;font-weight:440}
.mk-a1 .a-metric .v{color:#D8C29A}
.mk-a3 .a-metric .v{color:#8FB3D9}
.a-metric-dark{background:rgba(16,24,32,.82);color:#F6F1E8}
.a-metric-dark .v{color:#D8A47F}
@keyframes metricFloat{from{transform:translateY(0)}to{transform:translateY(-.7em)}}
@media (prefers-reduced-motion:reduce){.a-metric{animation:none}}

/* ════════ V3.4 — flowing ribbons on light surfaces ════════
   Layer order: section ivory + drafting grid → ribbons canvas →
   soft radial paper-glow (::after) → content (z1). */
.has-ribbons{position:relative}
.rib-canvas{
  position:absolute;inset:0;z-index:0;display:block;
  pointer-events:none;border-radius:inherit;
}
.has-ribbons::after{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:radial-gradient(90% 55% at 50% 6%,rgba(252,250,244,.65) 0%,rgba(252,250,244,0) 70%);
}
.has-ribbons > .container{position:relative;z-index:1}
