/* Silvercrest Management - homepage layout (balance pass 2026-10-12).
   Loaded only by /index.html, after style.css, motion.css and nav.css.
   One container (1140px), one padding scale, one h2 scale for every band. */

:root {
  --hm-green: #1b4d3e;
  --hm-green-deep: #12362c;
  --hm-gold: #b8925a;
  --hm-gold-soft: #e4c88f;
  --hm-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --hm-pad: 96px;          /* section rhythm */
  --hm-pad-band: 72px;     /* thin bands: CTA, TDA */
  --hm-h2: clamp(1.75rem, 1.15rem + 1.6vw, 2.35rem);
}

/* ---------- Section rhythm ---------- */
.section,
.sc-diff,
.app-section { padding: var(--hm-pad) 0; }
.cta-band,
.tda-band { padding: var(--hm-pad-band) 0; }
.sc-diff .wrap { max-width: 1140px; }

.section h2,
.app-copy h2,
.sc-diff .sc-slide-txt h2,
.cta-band h2,
.tda-band h2 { font-size: var(--hm-h2); line-height: 1.14; letter-spacing: -0.005em; }
.section-head { margin-bottom: 44px; }
.section-head p:last-child,
.split-copy p:last-child { margin-bottom: 0; }

/* ---------- Hero: text 55 / video 45 ---------- */
.hero::after {
  background:
    linear-gradient(100deg, rgba(14,40,32,0.92) 0%, rgba(18,54,44,0.80) 48%, rgba(18,54,44,0.62) 100%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 104px 24px 132px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 56px;
  align-items: center;
}
.hero-grid .hero-content { max-width: none; margin: 0; padding: 0; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 2.4vw, 3.15rem); line-height: 1.08; max-width: 600px; }
.hero p.lead { max-width: 540px; }
.hero .btn-row .btn { min-height: 50px; display: inline-flex; align-items: center; }

.hero-media { margin: 0; }
/* double-bezel frame: hairline tray + inner screen */
.hv-shell {
  padding: 8px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 80px -36px rgba(4, 18, 14, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hv-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 19px;
  overflow: hidden;
  background: var(--hm-green-deep);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.hv-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, rgba(18, 54, 44, 0) 40%, rgba(18, 54, 44, 0.45) 100%);
}
.hv-play-ico {
  position: relative;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(250, 247, 240, 0.94);
  box-shadow: 0 0 0 10px rgba(250, 247, 240, 0.16), 0 18px 36px -12px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s var(--hm-ease), box-shadow 0.5s var(--hm-ease);
}
.hv-play-ico::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 24px;
  border-left: 20px solid var(--hm-green);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}
.hv-play:hover .hv-play-ico,
.hv-play:focus-visible .hv-play-ico { transform: scale(1.07); box-shadow: 0 0 0 14px rgba(250, 247, 240, 0.2), 0 22px 40px -12px rgba(0, 0, 0, 0.55); }
.hv-play:focus-visible { outline: 3px solid var(--hm-gold-soft); outline-offset: -3px; }
.hero-media.is-playing .hv-play { display: none; }
.hv-soon {
  margin-top: 14px;
  text-align: center;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--hm-gold-soft);
}
.has-motion .hero-media { animation: hmRise 1s var(--hm-ease) 0.35s both; }
@keyframes hmRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- App band: copy left, points panel right ---------- */
.app-inner {
  max-width: 1140px;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.app-copy p { max-width: 500px; }
.app-panel {
  margin: 0;
  padding: 14px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.app-panel li {
  margin: 0;
  padding: 22px 0 22px 40px;
  font-size: 1.06rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.app-panel li:last-child { border-bottom: 0; }
.app-panel li::before { top: 27px; }
.app-panel li::after { top: 31px; }

/* ---------- Difference slider: even 50/50, no dead space ---------- */
.sc-diff .sc-diff-slider { min-height: 0; }
.sc-diff .sc-slide { grid-template-columns: 1fr 1fr; gap: 64px; }
.sc-diff .sc-slide-img img { height: auto; aspect-ratio: 4 / 3; }
.sc-diff .sc-diff-nav { margin-top: 40px; }

/* ---------- Stat bar: three even columns ---------- */
.trust-bar .stat-row {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.trust-bar .stat + .stat { border-left: 1px solid rgba(228, 200, 143, 0.18); }
.trust-bar .stat-label { max-width: 230px; margin-left: auto; margin-right: auto; }

/* ---------- Cards: equal heights ---------- */
.card-grid { align-items: stretch; }
.card { height: 100%; }

/* ---------- Splits: shared image ratio, centred, 5/7 variant ---------- */
.split { gap: 64px; align-items: center; }
.split-img img,
.split-57 .feature-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-copy .btn { margin-top: 6px; }
.split-57 { grid-template-columns: 5fr 7fr; }
.split-57 .feature-caption { text-align: left; margin-top: 18px; }
.watch-section .split-57 { align-items: center; }
.watch-section .section-head { margin-bottom: 0; }
.watch-section .video-slot { margin: 0; max-width: none; }
.watch-section .video-placeholder { border-radius: 18px; }

/* ---------- CTA + TDA bands: copy left, action right, centred ---------- */
.cta-band .wrap,
.tda-band .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.tda-band .tda-copy p:last-child,
.cta-band p:last-child { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { gap: 40px; padding: 88px 24px 120px; }
}
@media (max-width: 900px) {
  :root { --hm-pad: 72px; --hm-pad-band: 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 64px 24px 104px; }
  .hero-media { max-width: 640px; }
  .app-inner { grid-template-columns: 1fr; gap: 36px; }
  .sc-diff .sc-slide { grid-template-columns: 1fr; gap: 28px; }
  .split, .split-57 { grid-template-columns: 1fr; gap: 32px; }
  .split-57 .feature-img { order: 2; }
  .cta-band .wrap, .tda-band .wrap { grid-template-columns: 1fr; gap: 24px; justify-items: start; }
}
@media (max-width: 720px) {
  :root { --hm-pad: 56px; --hm-pad-band: 52px; }
  .trust-bar .stat-row { grid-template-columns: 1fr; gap: 0; padding-top: 18px; padding-bottom: 18px; }
  .trust-bar .stat { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; text-align: left; padding: 14px 0; }
  .trust-bar .stat + .stat { border-left: 0; border-top: 1px solid rgba(228, 200, 143, 0.18); }
  .trust-bar .stat-label { margin: 0; max-width: none; }
  .trust-bar .stat-num { text-align: center; }
  .app-panel { padding: 6px 20px; }
  .app-panel li { padding: 18px 0 18px 36px; font-size: 1rem; }
  .app-panel li::before { top: 23px; }
  .app-panel li::after { top: 27px; }
  .hv-play-ico { width: 62px; height: 62px; }
  .hv-play-ico::after { left: 25px; top: 19px; border-left-width: 17px; border-top-width: 12px; border-bottom-width: 12px; }
  .hero .btn-row .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .has-motion .hero-media { animation: none; }
  .hv-play-ico { transition: none; }
}

/* ---------- Hero v2 (2026-10-12): aerial loop, Newsreader headline, proof chips, welcome card ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
.hero-v2 { isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-bg-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.04);
}
html.hero-still .hero-bg-video { display: none; }
.hero-v2::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(10, 30, 24, 0.35) 0%, rgba(10, 30, 24, 0) 30%, rgba(10, 30, 24, 0) 70%, rgba(10, 30, 24, 0.55) 100%),
    linear-gradient(100deg, rgba(12, 36, 29, 0.93) 0%, rgba(16, 48, 39, 0.80) 42%, rgba(18, 54, 44, 0.42) 100%);
}
.hero-v2 .hero-grid {
  min-height: clamp(600px, 82vh, 800px);
  padding-top: 88px;
  padding-bottom: 128px;
  grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
}
.hero-v2 h1 {
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 1.5rem + 2.6vw, 3.75rem);
  line-height: 1.03;
  letter-spacing: -0.018em;
  max-width: none;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-v2 .h1-accent { display: block; color: var(--hm-gold-soft); }
.hero-v2 p.hero-value {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.24rem);
  line-height: 1.55;
  max-width: 31em;
  margin-bottom: 26px;
  color: #f1ede2;
}
.hero-proof {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  line-height: 1.25;
  color: #faf7f0;
  background: rgba(250, 247, 240, 0.08);
  border: 1px solid rgba(228, 200, 143, 0.30);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-proof svg {
  flex: none; width: 17px; height: 17px;
  fill: none; stroke: var(--hm-gold-soft); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.hero-content.hero-in > *:nth-child(4) { transition-delay: .4s; }

/* welcome card */
.hero-v2 .hv-play { background: none; align-items: flex-end; justify-content: flex-end; padding: 0 22px 22px 0; }
.hero-v2 .hv-play-ico { width: 78px; height: 78px; }
.hero-v2 .hv-play-ico::after { left: 32px; top: 26px; }
.hv-cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding: 0 4px;
}
.hv-watch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 8px 22px 8px 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--hm-green-deep);
  background: #faf7f0;
  box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.55);
  transition: transform 0.4s var(--hm-ease), background 0.3s ease;
}
.hv-watch:hover { background: #ffffff; transform: translateY(-1px); }
.hv-watch:focus-visible { outline: 3px solid var(--hm-gold-soft); outline-offset: 3px; }
.hv-watch-ico {
  position: relative; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--hm-green);
}
.hv-watch-ico::after {
  content: ""; position: absolute; left: 13px; top: 10px;
  border-left: 11px solid var(--hm-gold-soft);
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
}
.hv-meta { font-size: 0.88rem; color: rgba(241, 237, 226, 0.78); letter-spacing: 0.01em; }
.hero-media.is-playing .hv-watch { visibility: hidden; }

@media (max-width: 900px) {
  .hero-v2 .hero-grid { min-height: 0; grid-template-columns: minmax(0, 1fr); padding-top: 56px; padding-bottom: 104px; }
  .hero-v2 .hero-media { max-width: 640px; width: 100%; }
}
@media (max-width: 720px) {
  .hero-v2 .hero-grid { padding: 44px 20px 92px; gap: 32px; }
  .hero-v2 h1 { font-size: clamp(2.3rem, 1.4rem + 4.2vw, 2.9rem); margin-bottom: 16px; }
  .hero-v2 p.hero-value { margin-bottom: 20px; }
  .hero-proof { gap: 8px; margin-bottom: 26px; }
  .hero-proof li { font-size: 0.86rem; }
  .hero-v2 .hv-play-ico { width: 62px; height: 62px; }
  .hero-v2 .hv-play-ico::after { left: 25px; top: 19px; }
  .hero-v2 .hv-play { padding: 0 14px 14px 0; }
  .hv-cap { justify-content: flex-start; }
  .hv-watch { flex: 1 1 100%; justify-content: center; }
  .hv-meta { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
  .hv-watch { transition: none; }
}
