/* Home cinematic recomposition (scoped to body.home) */

:root {
  --charcoal: #151a21;
  --offwhite: #f5f3ef;
  --ink-soft: #2a3340;
}

body.home {
  background: var(--offwhite);
}

body.home .preview-banner {
  display: none;
}
body.home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 0;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
body.home .site-header.is-solid {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16,47,73,0.08);
}
body.home .site-header:not(.is-solid) .nav-links a,
body.home .site-header:not(.is-solid) .phone-link,
body.home .site-header:not(.is-solid) .phone-chip {
  color: #fff !important;
}
body.home .brand-logo-light { display: none; }
body.home .site-header:not(.is-solid) .brand-logo-dark { display: none; }
body.home .site-header:not(.is-solid) .brand-logo-light {
  display: block;
  height: 46px;
  width: auto;
}
body.home .site-header.is-solid .brand-logo-light { display: none; }
body.home .site-header.is-solid .brand-logo-dark { display: block; }
body.home .site-header:not(.is-solid) .nav-toggle {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.55rem;
}
body.home .site-header:not(.is-solid) .nav-toggle span {
  background: #fff;
}
/* Non-home pages: never show light logo */
body:not(.home) .brand-logo-light { display: none; }

/* Cinematic hero */
body.home .hero-cinema {
  min-height: min(100vh, 980px);
  min-height: 100svh;
  align-items: end;
  margin-top: 0;
  padding-top: 0;
}
body.home .hero-copy-cinema {
  width: min(100% - 2.5rem, 1280px);
  max-width: none;
  padding: 7.2rem 0 4.5rem;
}
body.home .hero-cinema h1 {
  font-size: clamp(2.85rem, 7.2vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: min(18ch, 100%);
  width: 100%;
  margin-bottom: 1.15rem;
}
body.home .hero-cinema .lead {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  max-width: 38rem;
  color: rgba(255,255,255,0.88);
}
body.home .hero-cinema .eyebrow {
  font-size: 0.84rem;
  letter-spacing: 0.14em;
}

/* Hero opener: horizontal title + logo at end */
.hero-with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  margin: 0 0 1.05rem;
  overflow: visible;
}
.hero-with-line {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 2.05rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.92);
  line-height: 1.15;
}
.hero-with-icon {
  height: 2.6rem;
  width: auto;
  display: block;
  object-fit: contain;
  overflow: visible;
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  filter: drop-shadow(0 0 0 rgba(248,181,38,0));
  animation: tridentSettle 1.1s ease 0.35s forwards;
}
@keyframes tridentSettle {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.9);
    filter: drop-shadow(0 0 0 rgba(248,181,38,0));
  }
  55% {
    opacity: 1;
    transform: translateY(0) scale(1.04);
    filter: drop-shadow(0 0 14px rgba(248,181,38,0.45));
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 8px rgba(248,181,38,0.28));
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-with-icon {
    opacity: 1;
    transform: none;
    animation: none;
    filter: drop-shadow(0 0 6px rgba(248,181,38,0.22));
  }
}
@media (max-width: 560px) {
  .hero-with-icon {
    height: 2rem;
  }
}
body.home .hero-shade {
  background:
    linear-gradient(180deg, rgba(21,26,33,0.35) 0%, rgba(21,26,33,0.18) 28%, rgba(21,26,33,0.72) 62%, rgba(21,26,33,0.94) 100%),
    radial-gradient(ellipse at 12% 18%, rgba(248,181,38,0.18), transparent 42%);
}

.hero-rise {
  opacity: 0;
  transform: translateY(22px);
  animation: heroRise 0.85s ease forwards;
}
.hero-rise:nth-child(1) { animation-delay: 0.08s; }
.hero-rise:nth-child(2) { animation-delay: 0.18s; }
.hero-rise:nth-child(3) { animation-delay: 0.28s; }
.hero-rise:nth-child(4) { animation-delay: 0.38s; }
.hero-rise:nth-child(5) { animation-delay: 0.48s; }
@keyframes heroRise {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-rise {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Featured work: asymmetric */
.feat-work {
  padding: 4.5rem 0 3.5rem;
  background: var(--offwhite);
}
.feat-work-head {
  margin-bottom: 1.75rem;
  width: 100%;
  padding-left: clamp(0.85rem, 3vw, 1.75rem);
}
.feat-work-head h2 {
  font-size: clamp(2.15rem, 4.6vw, 3.45rem);
  max-width: none;
  width: 100%;
  line-height: 1.02;
}
.feat-work-head .lede {
  max-width: none;
  width: min(100%, 58rem);
}
.feat-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  gap: 0.85rem;
  min-height: 34rem;
}
.feat-lead,
.feat-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--charcoal);
  color: #fff;
  text-decoration: none;
}
.feat-lead { min-height: 34rem; }
.feat-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
}
.feat-lead img,
.feat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.feat-lead:hover img,
.feat-card:hover img {
  transform: scale(1.04);
}
.feat-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.35rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(21,26,33,0.88));
  display: grid;
  gap: 0.2rem;
}
.feat-loc {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}
.feat-type {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
}
.feat-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}
@media (max-width: 900px) {
  .feat-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .feat-lead { min-height: 22rem; }
  .feat-side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .feat-card { min-height: 14rem; }
}
@media (max-width: 560px) {
  .feat-side { grid-template-columns: 1fr; }
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.reveal-media {
  clip-path: inset(8% 8% 8% 8%);
  transition: clip-path 0.9s ease;
}
.reveal-media.is-in,
[data-reveal].is-in .reveal-media {
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .reveal-media {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

/* Editorial services: navy panel + gold rhythm */
.services-editorial {
  background:
    radial-gradient(ellipse at 12% 0%, rgba(248,181,38,0.16), transparent 42%),
    linear-gradient(160deg, #102f49 0%, #1a2d48 48%, #243552 100%);
  padding-top: 4.25rem;
  padding-bottom: 3.75rem;
  color: #fff;
}
.services-editorial .section-head h2 {
  color: #fff;
}
.services-editorial .lede {
  color: rgba(255,255,255,0.78);
}
.svc-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.svc-list {
  display: grid;
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 0.5rem;
}
.svc-row {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.35rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: background 0.18s ease, padding-left 0.18s ease, border-color 0.18s ease;
}
.svc-row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--gold);
  transition: width 0.18s ease;
}
.svc-row:nth-child(odd) {
  background: rgba(255,255,255,0.03);
}
.svc-row:hover {
  background: rgba(248,181,38,0.12);
  padding-left: 1.35rem;
  color: inherit;
  border-color: rgba(248,181,38,0.35);
}
.svc-row:hover::before {
  width: 4px;
}
.svc-num {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}
.svc-copy {
  display: grid;
  gap: 0.28rem;
}
.svc-name {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}
.svc-note {
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
}
.svc-go {
  font-size: 1.45rem;
  color: var(--gold);
  transition: transform 0.18s ease;
}
.svc-row:hover .svc-go {
  transform: translateX(4px);
}
@media (max-width: 800px) {
  .svc-row {
    grid-template-columns: 2.6rem minmax(0, 1fr) auto;
    padding: 1.15rem 0.65rem;
  }
}

/* Proof band with photo + navy tint */
.proof-band-photo {
  position: relative;
  overflow: hidden;
  background: #102f49;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  color: #fff;
}
.proof-band-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.proof-band-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.proof-band-tint {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(16,47,73,0.92) 0%, rgba(33,45,69,0.86) 48%, rgba(16,47,73,0.78) 100%),
    linear-gradient(180deg, rgba(16,47,73,0.35), rgba(16,47,73,0.55));
}
.proof-band-content {
  position: relative;
  z-index: 1;
}
body.home .proof-band-photo .proof-points article {
  background: rgba(255,255,255,0.96);
  border-color: transparent;
  box-shadow: 0 14px 36px rgba(0,0,0,0.18);
}
body.home .proof-band-photo .proof-press {
  border-top-color: rgba(255,255,255,0.22);
}
body.home .proof-band-photo .proof-press-head h3 {
  color: #fff;
}
body.home .proof-band-photo .press-card {
  background: rgba(255,255,255,0.96);
}
body.home .proof-band-photo .widget-note,
body.home .proof-band-photo .widget-note a {
  color: rgba(255,255,255,0.85);
}
body.home .proof-band-photo .widget-shell {
  background: rgba(255,255,255,0.96);
}

/* Home rhythm tweaks */
body.home .reviews-live {
  background: #fff;
}
body.home .proof-visual {
  background: var(--offwhite);
}
body.home .section-cta {
  background:
    linear-gradient(135deg, rgba(21,26,33,0.92), rgba(16,47,73,0.88)),
    url("/assets/feat/feat-exterior.jpg") center/cover;
  border-top: 0;
  color: #fff;
}
body.home .section-cta h2,
body.home .section-cta .muted {
  color: #fff;
}
body.home .section-cta .muted { opacity: 0.82; }
body.home .section-cta .btn-ghost {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
}
body.home .section-cta .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
body.home .cta-band {
  padding: 1rem 0;
}
.cta-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 800px) {
  body.home .hero-cinema {
    min-height: auto;
  }
  body.home .hero-copy-cinema {
    padding: 6.2rem 0 2.4rem;
  }
  body.home .hero-cinema h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    max-width: none;
  }
  body.home .site-header {
    top: 0;
  }
}
