/* ============================================================
   HOMEPAGE — hero variants + section styles
   ============================================================ */
:root { --hero-veil: 0.62; }

/* ---------- HERO shell ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  color: var(--off-white);
  background: var(--charcoal);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 14px),
    radial-gradient(120% 120% at 70% 20%, #2c2a26 0%, #1d1c1a 55%, #131211 100%);
  animation: kenburns 26s ease-in-out infinite alternate;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #131211;
}
@keyframes kenburns { from { transform: scale(1.06) translate(1%, -1%); } to { transform: scale(1.14) translate(-1.5%, 1.5%); } }
@media (prefers-reduced-motion: reduce) { .hero-media { animation: none; } }
.hero-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,18,17,0.45) 0%, rgba(19,18,17,0.20) 38%, rgba(19,18,17,0.92) 100%);
  opacity: var(--hero-veil);
}
.hero-veil.side {
  background: linear-gradient(95deg, rgba(19,18,17,0.92) 30%, rgba(19,18,17,0.30) 70%, rgba(19,18,17,0.10) 100%);
  opacity: calc(var(--hero-veil) + 0.1);
}

/* video placeholder badge */
.video-badge {
  position: absolute; top: calc(var(--nav-h) + 22px); right: var(--gutter);
  z-index: 3; display: flex; align-items: center; gap: 0.7em;
  font-family: var(--sans); font-weight: 500; font-size: 0.62rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-on-dark-soft);
  border: 1px solid rgba(255,255,255,0.18); padding: 0.7em 1.1em; background: rgba(0,0,0,0.2);
}
.video-badge .play { width: 0; height: 0; border-left: 8px solid var(--stone); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

.hero-inner { position: relative; z-index: 2; width: 100%; display: flex; }
.hero-variant { display: none; width: 100%; }
:root[data-hero="cinematic"] .hv-cinematic,
:root:not([data-hero]) .hv-lowerthird,
:root[data-hero="lowerthird"] .hv-lowerthird,
:root[data-hero="split"] .hv-split { display: flex; }

.hero h1 { color: var(--off-white); }
.hero .hero-sub { color: var(--ink-on-dark); font-weight: 300; font-size: clamp(1.02rem, 1.5vw, 1.22rem); max-width: 52ch; }
.hero .hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---- Cinematic ---- */
.hv-cinematic { flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 56px) var(--gutter) 130px; gap: 2rem; }
.hv-cinematic .ci-panel { display: flex; flex-direction: column; align-items: center; gap: 2rem; padding: clamp(32px, 4vw, 56px) clamp(32px, 5vw, 72px); background: rgba(19, 18, 17, 0.50); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); border: 1px solid rgba(255,255,255,0.10); }
.hv-cinematic h1 { font-size: clamp(2.7rem, 6vw, 5.25rem); font-weight: 400; max-width: none; line-height: 1.05; }
.hv-cinematic .hero-sub { margin-inline: auto; }
.hv-cinematic .hero-cta { justify-content: center; margin-top: 0.4rem; }

/* ---- Editorial / lower-third ---- */
.hv-lowerthird { align-items: flex-end; padding: calc(var(--nav-h) + 30px) var(--gutter) clamp(48px, 6vw, 88px); position: relative; }
.hv-lowerthird .wrap { padding: 0; width: 100%; max-width: var(--max); margin: 0 auto; position: relative; }
.hv-lowerthird .meta {
  position: absolute; top: calc(var(--nav-h) + 60px); right: var(--gutter);
  display: flex; gap: 40px;
}
.hv-lowerthird .meta div { text-align: right; }
.hv-lowerthird .meta .n { font-family: var(--serif); font-size: 1.5rem; color: var(--off-white); }
.hv-lowerthird .meta .l { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-on-dark-soft); margin-top: 4px; }
.hv-lowerthird .lt-body { max-width: 60ch; display: flex; flex-direction: column; gap: 1.5rem; padding: clamp(28px, 3vw, 44px); background: rgba(19, 18, 17, 0.52); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); border-left: 2px solid var(--stone); }
.hv-lowerthird h1 { font-size: clamp(2.7rem, 7vw, 6rem); font-weight: 400; }
.hv-lowerthird .hero-cta { margin-top: 0.4rem; }

/* ---- Split ---- */
.hv-split { align-items: stretch; min-height: 100svh; }
:root[data-hero="split"] .hero-media, :root[data-hero="split"] .hero-video { left: 46%; }
:root[data-hero="split"] .hero-veil { display: none; }
.hv-split .split-panel {
  width: 46%; flex: none; background: var(--charcoal);
  display: flex; flex-direction: column; justify-content: center; gap: 1.7rem;
  padding: calc(var(--nav-h) + 40px) clamp(40px, 5vw, 90px) 60px var(--gutter);
  border-right: 1px solid rgba(255,255,255,0.10);
}
.hv-split h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 400; }
.hv-split .split-media { flex: 1; position: relative; }
.hv-split .split-cap {
  position: absolute; bottom: 34px; right: 34px; z-index: 3; text-align: right;
  font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-on-dark); background: rgba(0,0,0,0.25); padding: 0.7em 1em; border: 1px solid rgba(255,255,255,0.16);
}

/* scroll cue */
.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; }
:root[data-hero="split"] .scroll-cue, :root[data-hero="lowerthird"] .scroll-cue { display: none; }
.scroll-cue .label { font-family: var(--sans); font-size: 0.58rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-on-dark-soft); }
.scroll-cue .line { width: 1px; height: 42px; background: linear-gradient(var(--stone), transparent); animation: cueLine 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes cueLine { 0%,100% { transform: scaleY(0.4); opacity: 0.5; } 50% { transform: scaleY(1); opacity: 1; } }

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats { background: var(--paper); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(34px, 4vw, 56px) clamp(20px, 3vw, 44px); border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4.5vw, 4rem); color: var(--charcoal); line-height: 1; }
.stat .num span { color: var(--stone); }
.stat .lbl { margin-top: 12px; font-family: var(--sans); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mid-grey); }

/* ============================================================
   ETHOS / POSITIONING
   ============================================================ */
.ethos-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ethos-media { position: relative; aspect-ratio: 4 / 5; }
.ethos-media .tag { position: absolute; left: -1px; bottom: 28px; background: var(--charcoal); color: var(--off-white); padding: 16px 22px; }
.ethos-media .tag .t { font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.ethos-media .tag .s { font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-soft); margin-top: 4px; }
.ethos-body h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); margin-top: 1.2rem; }
.ethos-body .lede { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.5vw, 1.18rem); }
.ethos-points { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 2px; }
.ethos-point { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid var(--border); }
.ethos-point:last-child { border-bottom: 1px solid var(--border); }
.ethos-point .pn { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.16em; color: var(--stone); padding-top: 4px; }
.ethos-point h4 { font-family: var(--sans); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.04em; color: var(--charcoal); text-transform: none; }
.ethos-point p { font-size: 0.92rem; margin-top: 6px; }
.ethos-body .textlink { margin-top: 2.4rem; }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services { background: var(--off-white); }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.svc {
  position: relative; background: var(--off-white); padding: clamp(28px, 2.6vw, 40px);
  min-height: 340px; display: flex; flex-direction: column;
  transition: background .5s var(--ease); overflow: hidden;
}
.svc .svc-img { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease); }
.svc .svc-img .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,26,0.25), rgba(26,26,26,0.78)); }
.svc-inner { position: relative; z-index: 2; display: flex; flex-direction: column; height: 100%; transition: color .5s var(--ease); }
.svc .num { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.2em; color: var(--stone); }
.svc h3 { font-size: 1.7rem; margin-top: auto; transition: color .5s var(--ease); }
.svc p { font-size: 0.9rem; margin-top: 0.7rem; transition: color .5s var(--ease); }
.svc .go { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.6em; font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.svc:hover .svc-img { opacity: 1; }
.svc:hover h3, .svc:hover p { color: var(--off-white); }
.svc:hover .num { color: var(--stone-soft); }
.svc:hover .go { opacity: 1; transform: none; color: var(--off-white); }

/* ============================================================
   PORTFOLIO PREVIEW (dark)
   ============================================================ */
.portfolio { background: var(--charcoal); color: var(--ink-on-dark); }
.portfolio .kicker { color: var(--stone-soft); }
.portfolio h2 { color: var(--off-white); }
.portfolio-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 4vw, 56px); }
.pf-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.pf { position: relative; aspect-ratio: 3 / 4; overflow: hidden; }
.pf.tall { aspect-ratio: auto; }
.pf .ph { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.pf:hover .ph { transform: scale(1.05); }
.pf .pf-veil { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(19,18,17,0.85)); z-index: 2; }
.pf .pf-cap { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 22px; }
.pf .pf-cap .type { font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-soft); }
.pf .pf-cap h4 { color: var(--off-white); font-size: 1.4rem; margin-top: 6px; }
.pf .pf-cap .loc { font-family: var(--sans); font-size: 0.78rem; color: var(--ink-on-dark-soft); margin-top: 4px; }

/* ============================================================
   URBAN DEN FEATURE BLOCK (olive)
   ============================================================ */
.urbanden { background: #16170F; color: var(--ink-on-dark); position: relative; overflow: hidden; }
.ud-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.ud-body .ud-logo { display: flex; flex-direction: column; gap: 4px; }
.ud-body .ud-logo .mark { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--off-white); letter-spacing: 0.02em; }
.ud-body .ud-logo .mark em { font-style: normal; color: var(--olive); }
.ud-body .ud-logo .sub { font-family: var(--sans); font-size: 0.64rem; letter-spacing: 0.34em; text-transform: uppercase; color: rgba(245,242,238,0.5); }
.ud-body .ud-tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2rem); color: var(--off-white); margin-top: 1.6rem; }
.ud-body p { margin-top: 1.2rem; max-width: 46ch; }
.ud-list { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.10); }
.ud-list div { background: #16170F; padding: 16px 18px; font-family: var(--sans); font-size: 0.86rem; letter-spacing: 0.04em; color: var(--off-white); display: flex; align-items: center; gap: 0.7em; }
.ud-list div .dot { width: 5px; height: 5px; background: var(--olive); transform: rotate(45deg); flex: none; }
.ud-body .btn-olive { margin-top: 2.2rem; }
.ud-media { position: relative; aspect-ratio: 4 / 5; }
.ud-media .ud-badge { position: absolute; top: 22px; left: 22px; background: var(--olive); color: #fff; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; padding: 0.7em 1em; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi { background: var(--paper); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--border); }
.testi-card { padding: clamp(30px, 3vw, 46px) clamp(24px, 2.6vw, 40px); border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.testi-card:last-child { border-right: none; }
.testi-card .qmark { font-family: var(--serif); font-size: 3.4rem; line-height: 0.5; color: var(--stone); height: 26px; }
.testi-card blockquote { font-family: var(--serif); font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.45; color: var(--charcoal); margin-top: 1.4rem; font-weight: 400; }
.testi-card .who { margin-top: auto; padding-top: 1.8rem; }
.testi-card .who .nm { font-family: var(--sans); font-weight: 500; font-size: 0.86rem; letter-spacing: 0.06em; color: var(--charcoal); }
.testi-card .who .pr { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--stone); margin-top: 4px; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta { background: var(--charcoal); color: var(--off-white); text-align: center; }
.cta .kicker { color: var(--stone-soft); justify-content: center; }
.cta h2 { color: var(--off-white); font-size: clamp(2.4rem, 5vw, 4.2rem); margin-top: 1.3rem; max-width: 18ch; margin-inline: auto; }
.cta .cta-row { margin-top: 2.4rem; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta .ph-tag { margin-top: 2.6rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--stone); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .ethos-grid { grid-template-columns: 1fr; gap: 44px; }
  .ethos-media { aspect-ratio: 16 / 11; max-height: 460px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-grid { grid-template-columns: 1fr 1fr; }
  .ud-grid { grid-template-columns: 1fr; gap: 40px; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card { border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 860px) {
  :root[data-hero="split"] .hv-split { flex-direction: column; }
  :root[data-hero="split"] .hv-split .split-panel { width: 100%; min-height: 70svh; }
  :root[data-hero="split"] .hero-media, :root[data-hero="split"] .hero-video { left: 0; top: 70svh; }
  :root[data-hero="split"] .hv-split .split-media { min-height: 38svh; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .pf-grid { grid-template-columns: 1fr; }
  .ud-list { grid-template-columns: 1fr; }
  .hv-lowerthird .meta { display: none; }
}
