/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 3rem) var(--px) 5rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, var(--bg-alt) 0%, var(--bg) 65%);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 55% 1fr;
  align-items: center;
  gap: 4rem;
  width: 100%;
}
.hero-text { display: flex; flex-direction: column; gap: 1.5rem; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-dim);
  animation: fadeUp 0.6s var(--ease-out) 0.1s both;
}
.hero-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 5.5rem);
  line-height: 0.88;
  letter-spacing: -0.045em;
  color: var(--fg);
}
.ht-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  animation: lineReveal 0.9s var(--ease-out) both;
  animation-delay: calc(var(--i) * 0.13s + 0.25s);
}
.accent-letter { color: var(--accent); }

@keyframes lineReveal {
  from { opacity: 0; transform: translateY(80%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero-sub {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeUp 0.7s var(--ease-out) 0.55s both;
}
.hero-dates {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.hero-sep {
  display: block;
  width: 24px; height: 1px;
  background: var(--accent);
}
.hero-role {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-style: italic;
  font-weight: 300;
  color: var(--fg-muted);
}
.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 420px;
  animation: fadeUp 0.7s var(--ease-out) 0.65s both;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp 0.7s var(--ease-out) 0.75s both;
}

/* Hero artwork */
.hero-artwork {
  display: flex;
  justify-content: flex-end;
  animation: artworkIn 1.1s var(--ease-out) 0.35s both;
}
@keyframes artworkIn {
  from { opacity: 0; transform: translateX(60px) rotate(2deg); }
  to   { opacity: 1; transform: none; }
}
.artwork-frame {
  position: relative;
  max-width: 480px;
  width: 100%;
}
.artwork-frame::before {
  content: '';
  position: absolute;
  inset: -12px -12px 12px 12px;
  border: 1.5px solid var(--accent);
  opacity: 0.3;
  z-index: 0;
  pointer-events: none;
}
.artwork-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: contain;
}
.artwork-caption {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-dim);
  text-align: center;
  margin-top: 0.75rem;
  position: relative;
  z-index: 1;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeUp 0.7s var(--ease-out) 1.2s both;
}
.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.scroll-track {
  width: 1px; height: 48px;
  background: var(--border);
  overflow: hidden;
  position: relative;
}
.scroll-thumb {
  width: 100%; height: 50%;
  background: var(--accent);
  animation: scrollTrack 1.8s ease-in-out infinite;
}
@keyframes scrollTrack {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ============================================================
   STATEMENT
   ============================================================ */
.statement-section {
  padding: 6rem 0;
  background: var(--bg-dark);
}
.statement-body {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.statement-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.5rem;
}
.statement-body .geo-divider::before,
.statement-body .geo-divider::after { background: rgba(255,255,255,0.12); }
.statement-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-top: 1.5rem;
}

/* ============================================================
   SELECTED WORKS
   ============================================================ */
.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}
.work-card {
  background: var(--bg);
  overflow: hidden;
}
.work-card-link { display: block; }
.work-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
}
.work-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  transition: transform 0.6s var(--ease-out);
}
.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(200, 88, 26, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.work-overlay span {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.work-card:hover .work-image img { transform: scale(1.06); }
.work-card:hover .work-overlay { opacity: 1; }
.work-info {
  padding: 1.25rem 1.5rem 1.75rem;
  border-top: 1px solid var(--border);
}
.work-num {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  color: var(--fg-dim);
  margin-bottom: 0.375rem;
}
.work-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.work-sub {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--fg-muted);
  margin-top: 0.25rem;
}

/* ============================================================
   GALLERY TEASER
   ============================================================ */
.gallery-teaser-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.section-dark .section-heading { color: #fff; }
.section-dark .section-body { color: rgba(255,255,255,0.5); }

.teaser-strip {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  overflow: hidden;
}
.teaser-img {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.teaser-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: transform 0.5s var(--ease-out), filter 0.3s;
}
.teaser-img:hover img { transform: scale(1.08); filter: grayscale(0%); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-text { align-items: flex-start; }
  .hero-artwork { justify-content: center; }
  .artwork-frame { max-width: 380px; }
  .teaser-strip { grid-template-columns: repeat(4, 1fr); }
  .teaser-img:nth-child(n+5) { display: none; }
}
@media (max-width: 768px) {
  .hero { padding-top: calc(var(--nav-h) + 2rem); }
  .hero-scroll-hint { display: none; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .work-card:last-child { display: none; }
  .teaser-strip { grid-template-columns: repeat(3, 1fr); }
  .teaser-img:nth-child(n+4) { display: none; }
  .works-header, .gallery-teaser-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .works-grid { grid-template-columns: 1fr; }
  .work-card:last-child { display: block; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  /* Remove double padding — .hero has side padding, .wrap adds another 20px each side.
     Strip hero's own horizontal padding so .wrap is the sole padding provider. */
  .hero { padding-left: 0; padding-right: 0; }
  /* Constrain grid item so it can't grow beyond its track */
  .hero-text { min-width: 0; }
  .ht-line { white-space: normal; overflow-wrap: break-word; }
  .hero-title { font-size: clamp(1.5rem, 7.5vw, 2.5rem); line-height: 0.92; }
  .hero-tagline { font-size: 0.9375rem; }
}
