:root {
  --bg: #120d0a;
  --bg-deep: #261710;
  --glow: #9e7446;
  --ink: #f2e5d4;
  --muted: #cdb79b;
  --panel: rgba(34, 22, 15, 0.82);
  --line: rgba(218, 183, 138, 0.16);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(174, 124, 69, 0.22), transparent 30%),
    radial-gradient(circle at 20% 18%, rgba(108, 73, 39, 0.24), transparent 28%),
    linear-gradient(180deg, #0d0907 0%, var(--bg) 45%, #1b120d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 236, 204, 0.05), rgba(255, 236, 204, 0.03)),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 58px,
      rgba(247, 222, 187, 0.02) 58px,
      rgba(247, 222, 187, 0.02) 59px
    );
  opacity: 0.35;
}

.page-shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
  position: relative;
}

.hero {
  padding: 2rem 1rem 0.75rem;
  animation: fade-up 900ms ease-out both;
}

.hero-copy {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 0.5rem 1rem;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  color: var(--muted);
}

.signature-title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 0.15rem 0 0;
  font-family: "Allura", cursive;
  font-size: clamp(4.2rem, 10vw, 7.8rem);
  line-height: 1;
  font-weight: 400;
  color: #f3dfc4;
  letter-spacing: 0.015em;
  text-shadow:
    0 2px 0 rgba(255, 243, 224, 0.1),
    0 10px 30px rgba(0, 0, 0, 0.28);
}

.signature-line {
  display: inline-block;
  opacity: 0;
  clip-path: inset(0 100% 0 0);
  transform: translateY(10px);
}

.signature-line-first {
  animation: handwrite-reveal 1800ms ease-out 120ms forwards;
}

.signature-line-second {
  margin-top: -0.1em;
  animation: handwrite-reveal 1800ms ease-out 2000ms forwards;
}

.intro {
  width: min(640px, 100%);
  margin: 1.25rem auto 0;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--muted);
}

.portrait-panel {
  width: min(75%, 840px);
  margin: 1.15rem auto 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  animation: fade-up 1100ms ease-out 120ms both;
}

.portrait-panel img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: 100%;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 18%;
}

.news-panel {
  width: min(75%, 840px);
  margin: 1.35rem auto 0;
  padding: 1.35rem 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(39, 25, 17, 0.72);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.news-panel h2 {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 600;
  text-align: center;
}

.news-panel-body {
  min-height: 140px;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  border: 1px dashed rgba(255, 215, 168, 0.18);
  background: rgba(21, 14, 10, 0.38);
}

.news-panel-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
  text-align: center;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  animation: fade-up 1200ms ease-out 240ms both;
}

.detail-card {
  padding: 1.4rem;
  border-radius: 22px;
  background: rgba(39, 25, 17, 0.72);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
}

.detail-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.detail-card a {
  color: inherit;
  text-decoration: none;
  transition:
    color 180ms ease,
    text-shadow 180ms ease,
    transform 180ms ease;
}

.detail-card a:hover,
.detail-card a:focus-visible {
  color: #ffe7c3;
  text-shadow: 0 0 18px rgba(255, 213, 156, 0.18);
}

.detail-card:hover a {
  transform: translateY(-1px);
}

.detail-card-top-row {
  grid-column: span 2;
}

.detail-card-bottom-row {
  grid-column: span 2;
}

.detail-card-bottom-left {
  grid-column: 1 / span 2;
}

.detail-card-bottom-right {
  grid-column: 3 / span 2;
}

.detail-card-bottom-contact {
  grid-column: 5 / span 2;
}

.subpage-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.subpage {
  width: min(760px, 100%);
  padding: 2.4rem 2rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(28, 18, 12, 0.8);
  box-shadow: var(--shadow);
  text-align: center;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.back-link:hover,
.back-link:focus-visible {
  color: #ffe7c3;
}

.subpage-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 600;
  line-height: 1;
}

.subpage-content {
  width: min(620px, 100%);
  margin: 1.75rem auto 0;
  text-align: left;
}

.subpage-content p {
  margin: 0 0 1.2rem;
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
}

.subpage-content-centered {
  text-align: center;
}

.subpage-content a {
  color: var(--ink);
  text-decoration: none;
}

.subpage-content a:hover,
.subpage-content a:focus-visible {
  color: #ffe7c3;
}

.video-links {
  display: grid;
  gap: 1rem;
  width: min(760px, 100%);
  margin: 1.75rem auto 0;
}

.video-panel {
  padding: 1.2rem 1.3rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(39, 25, 17, 0.62);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.video-link-title {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
}

.video-embed {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 215, 168, 0.14);
  background: #100b08;
}

.video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.gallery-card {
  margin: 0;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(39, 25, 17, 0.62);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.gallery-card-wide {
  grid-column: span 2;
}

.gallery-card-centered {
  grid-column: 1 / -1;
  width: min(340px, 100%);
  justify-self: center;
}

.back-link-bottom {
  margin-top: 1.4rem;
  margin-bottom: 0;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes handwrite-reveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .page-shell {
    width: min(100% - 1.25rem, 760px);
    padding-top: 1.6rem;
  }

  .hero {
    padding-inline: 0.2rem;
  }

  .hero-copy {
    padding: 1rem 0.65rem 0;
  }

  .portrait-panel {
    width: 100%;
  }

  .news-panel {
    width: 100%;
    padding: 1.2rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card-wide {
    grid-column: auto;
  }

  .details-grid {
    grid-template-columns: 1fr;
  }

  .detail-card-bottom-row {
    grid-column: auto;
    width: 100%;
  }

  .detail-card-top-row {
    grid-column: auto;
  }

  .detail-card {
    padding: 1.2rem;
  }
}
