/* =========================================================
   HERO — split-screen editorial.
   Left 45%: bone canvas with eyebrow + heavy italic name
              + tagline + CTAs + scroll indicator.
   Right 55%: full-bleed photo in its own column, ken-burns.
   Mobile: stacks (photo top, text below).
   Targets: #heroTitle, #heroLabel, #heroBg (kept for app.js).
   ========================================================= */

.hero {
  position: relative;
  height: 100svh;
  min-height: 720px;
  width: 100%;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
  isolation: isolate;
  background: var(--ds-bone, #f4f0e8);
}

/* ----- Left content column ----- */
.hero-content {
  position: relative;
  z-index: 3;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(80px, 14vh, 160px) clamp(36px, 5vw, 72px) clamp(120px, 18vh, 200px);
  text-align: left;
}

.hero-eyebrow {
  letter-spacing: 0.42em;
  font-size: clamp(0.68rem, 0.85vw, 0.82rem);
  text-transform: uppercase;
  color: var(--ds-ink-muted, #4a4641);
  font-weight: 500;
  opacity: 0;
  transform: translateY(-12px);
}

/* Heavy editorial display title — solid ink, italic surname. */
.hero-title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  line-height: 0.92;
  font-size: clamp(3.4rem, 8.5vw, 7.8rem);
  letter-spacing: -0.018em;
  color: var(--ds-ink, #1a1614);
}
.hero-title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  margin-top: 0;
  color: var(--ds-ink, #1a1614);
}

/* Editorial under-rule between name and tagline */
.hero-rule {
  width: 88px;
  height: 1px;
  background: var(--ds-ink, #1a1614);
  margin: clamp(18px, 2.4vw, 28px) 0;
  opacity: 0;
}

.hero-tagline {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: clamp(0.7rem, 0.92vw, 0.84rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ds-ink, #1a1614);
  opacity: 0;
  transform: translateY(14px);
}

.hero-ctas {
  margin-top: clamp(26px, 3.4vw, 42px);
  display: flex;
  gap: clamp(12px, 1.6vw, 18px);
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
}

.hero-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.5s ease,
    color 0.5s ease,
    border-color 0.5s ease;
  will-change: transform;
}
.hero-cta--primary {
  color: var(--ds-bone, #f4f0e8);
  background: var(--ds-ink, #1a1614);
  border: 1px solid var(--ds-ink, #1a1614);
}
.hero-cta--primary:hover {
  background: var(--ds-oxblood, #8d2f2a);
  border-color: var(--ds-oxblood, #8d2f2a);
  transform: translateY(-2px);
}
.hero-cta--ghost {
  color: var(--ds-ink, #1a1614);
  background: transparent;
  border: 1px solid var(--ds-ink, #1a1614);
}
.hero-cta--ghost:hover {
  background: var(--ds-ink, #1a1614);
  color: var(--ds-bone, #f4f0e8);
}

/* ----- Right photo column ----- */
.hero-bg {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  justify-self: stretch;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 35%, rgba(26,22,20,0.06), transparent 70%),
    linear-gradient(180deg, #ece6da 0%, #d8cebf 100%);
}
.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transform-origin: center 18%;
  animation: kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
  filter: saturate(0.95) contrast(1.05);
}
@keyframes kenburns {
  0%   { transform: scale(1.0) translate(0, 0); }
  100% { transform: scale(1.06) translate(-1%, -1.2%); }
}

/* Particles canvas inside photo column */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  display: none; /* particles distract from solo portrait — disable */
}

/* Vertical separating rule between columns */
.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  bottom: 8%;
  left: calc(0.85 / 2 * 100% + 0.85 / 2 * 100%);
  left: 42.5%;
  width: 1px;
  background: rgba(26,22,20,0.12);
  z-index: 4;
  pointer-events: none;
}

/* Hero stamps on photo column */
.hero-stamps {
  position: absolute;
  top: clamp(80px, 12vh, 130px);
  left: 0; right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 48px);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ds-ink-muted, #4a4641);
  pointer-events: none;
  mix-blend-mode: difference;
  filter: invert(1);
}


/* Scroll indicator — bottom-left of bone column */
.hero-scroll {
  position: absolute;
  z-index: 5;
  left: clamp(36px, 5vw, 72px);
  bottom: clamp(20px, 4vh, 44px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: var(--ds-ink-muted, #4a4641);
  opacity: 0;
}
.hero-scroll-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, rgba(26,22,20,0.65));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, transparent, var(--ds-oxblood, #8d2f2a));
  animation: heroScrollDot 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}
.hero-scroll-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
@keyframes heroScrollDot {
  0%   { top: -40%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

.hero-overlay { display: none; } /* not needed — text on its own bone column */

/* SplitText helper classes */
.hero-title .ds-split-char,
.hero-title .ds-split-word {
  display: inline-block;
  will-change: transform, opacity;
}

/* ===== Tablet & Mobile — stack ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 60vh auto;
  }
  .hero::before { display: none; }
  .hero-bg {
    grid-column: 1;
    grid-row: 1;
    height: 60vh;
  }
  .hero-content {
    grid-column: 1;
    grid-row: 2;
    padding: clamp(48px, 8vh, 80px) 22px clamp(60px, 8vh, 100px);
    align-items: center;
    text-align: center;
  }
  .hero-rule { margin-left: auto; margin-right: auto; }
  .hero-ctas { width: 100%; flex-direction: column; gap: 12px; }
  .hero-cta { width: 100%; padding: 16px 24px; }
  .hero-scroll { display: none; }
  .hero-stamps { font-size: 0.55rem; padding: 0 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img,
  .hero-scroll-line::after { animation: none !important; }
  .hero-eyebrow,
  .hero-rule,
  .hero-tagline,
  .hero-ctas,
  .hero-scroll { opacity: 1 !important; transform: none !important; }
}
