* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: #16070b;
  color: #f8efe5;
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
.section {
  position: relative;
  padding: 110px max(6vw, 24px);
}
.eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: #c99b61;
}
.gold-text {
  color: #e7c48b;
}
.section-heading {
  max-width: 760px;
  margin: 0 auto 58px;
  text-align: center;
}
.section-heading h2,
.note-content h2 {
  font:
    500 clamp(2.5rem, 5vw, 4.8rem)/0.98 "Cormorant Garamond",
    serif;
  margin: 16px 0 20px;
}
.section-heading h2 em,
.note-content h2 em {
  color: #d6aa72;
  font-weight: 500;
}
.section-heading > p:last-child {
  max-width: 610px;
  margin: auto;
  color: #bdaeb0;
  line-height: 1.8;
  font-size: 1.2rem;
}
.site-header {
  height: 76px;
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  background: rgba(24, 5, 10, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(214, 170, 114, 0.15);
}
.brand {
  font:
    600 1.5rem "Cormorant Garamond",
    serif;
  letter-spacing: 0.04em;
}
.brand span {
  color: #e1b77c;
}
.brand i {
  font-style: normal;
  color: #9d253b;
}
.site-header nav {
  display: flex;
  gap: 34px;
}
.site-header nav a {
  font-size: 0.76rem;
  color: #d7c9c5;
  transition: 0.3s;
}
.site-header nav a:hover {
  color: #e5bc80;
  transform: translateY(-2px);
}
.music-control {
  border: 1px solid rgba(218, 177, 119, 0.5);
  background: transparent;
  color: #e8c58d;
  padding: 10px 15px;
  border-radius: 30px;
  cursor: pointer;
  font: 600 0.72rem "DM Sans";
  transition: 0.3s;
}
.music-control:hover {
  background: #7e142b;
  color: white;
  box-shadow: 0 0 25px #9b284b55;
}
.music-control span:first-child {
  font-size: 1rem;
  margin-right: 7px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.5rem;
}
.hero {
  min-height: 850px;
  padding-top: 150px;
  padding-bottom: 90px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 5vw;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 78% 48%,
    #74182c 0,
    #3c0b18 34%,
    #1b070d 72%
  );
}
.hero:before,
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero:before {
  opacity: 0.16;
  background-image: linear-gradient(
    115deg,
    transparent 48%,
    #d7a86b 49%,
    transparent 50%
  );
  background-size: 140px 140px;
}
.hero:after {
  border: 1px solid #d2a36b33;
  inset: 24px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 690px;
}
.hero-number {
  font: 500 clamp(7rem, 17vw, 15rem)/0.7 "Cormorant Garamond";
  margin: 22px 0 15px;
  color: #e6c28d;
  text-shadow: 0 10px 55px #d6a66b35;
}
.hero-kicker {
  letter-spacing: 0.35em;
  color: #d6aa72;
  font-size: 0.65rem;
}
.hero h1 {
  font: 500 clamp(4.4rem, 8vw, 8.4rem)/0.76 "Cormorant Garamond";
  margin: 20px 0 24px;
  letter-spacing: -0.04em;
}
.hero h1 em {
  color: #e0b779;
  font-weight: 500;
}
.gold-rule {
  width: 75px;
  height: 1px;
  background: #d6aa72;
  margin: 30px 0;
}
.hero-lead {
  font: 500 1.35rem "Cormorant Garamond";
  color: #f0d8b5;
}
.hero-copy {
  max-width: 590px;
  color: #d0bfc0;
  font-size: 0.9rem;
  line-height: 1.85;
}
.hero-signoff {
  font: italic 1.15rem "Cormorant Garamond";
  color: #e4bd85;
  margin-top: 28px;
}
.scroll-cue {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  margin-top: 38px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: #d9b982;
}
.scroll-cue span {
  font-size: 1.2rem;
  animation: bob 1.5s infinite;
}
.hero-portrait {
  position: relative;
  z-index: 2;
  max-width: 490px;
  margin: auto;
  transform: rotate(2deg);
  filter: drop-shadow(0 25px 60px #0009);
}
.portrait-frame {
  padding: 13px;
  border: 1px solid #d4ac78;
  background: linear-gradient(135deg, #f2d7a8, #672035 45%, #d0a06c);
  box-shadow: 0 0 0 9px #ffffff08;
}
.portrait-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: #501322;
}
.portrait-caption {
  text-align: center;
  display: block;
  margin-top: 18px;
  /* letter-spacing: 0.35em; */
  color: #e2c18f;
  font: 1.2rem "Cormorant Garamond";
}
.portrait-caption b {
  color: #a02b42;
}
.floating-star {
  position: absolute;
  color: #d7ae78;
  animation: float 5s ease-in-out infinite;
}
.star-one {
  right: 8%;
  top: 22%;
  font-size: 2rem;
}
.star-two {
  left: 48%;
  top: 17%;
  font-size: 3rem;
  animation-delay: 1s;
}
.star-three {
  right: 43%;
  bottom: 12%;
  font-size: 1.5rem;
  animation-delay: 2s;
}
.memories-section {
  background: #f4eee7;
  color: #2a1016;
}
.memories-section .section-heading > p:last-child {
  color: #796a67;
}
.memories-section .eyebrow,
.year-section .eyebrow,
.journey-section .eyebrow,
.game-section .eyebrow {
  color: #9b5c4c;
}
.memory-grid {
  max-width: 1180px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 15px;
}
.memory-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: #4b1523;
  cursor: pointer;
  isolation: isolate;
}
.memory-card.tall {
  grid-row: span 2;
}
.memory-card.wide {
  grid-column: span 2;
}
.memory-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.5s;
}
.memory-card:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #1a060bd9, transparent 65%);
  opacity: 0.8;
  transition: 0.4s;
}
.memory-card span {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  left: 20px;
  color: white;
  font: italic 1.2rem "Cormorant Garamond";
  opacity: 0;
  transform: translateY(12px);
  transition: 0.4s;
}
.memory-card:hover img {
  transform: scale(1.09);
  filter: saturate(1.2);
}
.memory-card:hover span {
  opacity: 1;
  transform: none;
}
.memory-card:hover:after {
  opacity: 1;
}
.section-footnote {
  text-align: center;
  margin-top: 35px;
  letter-spacing: 0.25em;
  font-size: 0.65rem;
  color: #8d6e64;
}
.section-footnote span {
  color: #b27a43;
}
.year-section {
  background: #eee5db;
  color: #2b1017;
}
.year-timeline {
  max-width: 940px;
  margin: auto;
  position: relative;
}
.year-timeline:before {
  content: "";
  position: absolute;
  left: 35px;
  top: 15px;
  bottom: 15px;
  width: 1px;
  background: #b78a6b;
}
.month-card {
  display: grid;
  grid-template-columns: 70px 1fr 180px;
  gap: 25px;
  align-items: center;
  padding: 24px 25px;
  margin: 0 0 13px;
  border: 1px solid #d9c8b9;
  background: #f8f3ed;
  transition:
    transform 0.35s,
    box-shadow 0.35s,
    border 0.35s;
}
.month-card:hover {
  transform: translateX(10px);
  border-color: #a85b51;
  box-shadow: 0 16px 40px #4b1c1a12;
}
.month-no {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #591426;
  color: #e9c38a;
  font: 1.25rem "Cormorant Garamond";
  box-shadow: 0 0 0 6px #eee5db;
}
.month-card small {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: #a36c55;
}
.month-card h3 {
  font: 600 1.65rem "Cormorant Garamond";
  margin: 5px 0;
}
.month-card p {
  font-size: 0.8rem;
  color: #786b67;
  margin: 0;
  line-height: 1.6;
}
.month-card img {
  width: 180px;
  height: 110px;
  object-fit: cover;
}
.journey-section {
  background: radial-gradient(ellipse at 50% 45%, #4d1122, #210811 70%);
  overflow: hidden;
}
.journey-section .section-heading > p:last-child {
  color: #c6afb2;
}
.journey-stage {
  max-width: 1100px;
  min-height: 650px;
  margin: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px 15%;
  align-items: center;
  padding: 25px 5%;
}
.journey-orbit {
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid #d6aa7244;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 35px #ffffff04,
    0 0 0 70px #ffffff03;
}
.journey-orbit:before,
.journey-orbit:after {
  content: "";
  position: absolute;
  border: 1px dashed #d6aa7244;
  border-radius: 50%;
  inset: 25px;
  animation: spin 30s linear infinite;
}
.journey-orbit:after {
  inset: -25px;
  animation-direction: reverse;
}
.journey-orbit span {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: #d7b889;
  text-align: center;
  max-width: 110px;
  line-height: 1.8;
}
.journey-stop {
  position: relative;
  z-index: 2;
  max-width: 370px;
  padding: 27px 30px;
  background: linear-gradient(145deg, #5a1428dd, #300b18ee);
  border: 1px solid #d0a46d55;
  box-shadow: 0 20px 50px #0004;
  transition: 0.45s;
}
.journey-stop:hover {
  transform: translateY(-10px) scale(1.025);
  border-color: #e0b778;
  box-shadow:
    0 25px 65px #0007,
    0 0 30px #d6aa7220;
}
.stop-one {
  justify-self: start;
}
.stop-two {
  justify-self: end;
  margin-top: 35px;
}
.stop-three {
  justify-self: start;
  margin-top: -35px;
}
.stop-four {
  justify-self: end;
}
.stop-index {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: #d5ad7d;
}
.stop-icon {
  width: 48px;
  height: 48px;
  border: 1px solid #d3a86f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #e3bf88;
  font-size: 1.5rem;
  margin: 20px 0;
}
.journey-stop h3 {
  font: 600 2rem "Cormorant Garamond";
  margin: 0 0 8px;
}
.journey-stop p {
  font-size: 0.8rem;
  line-height: 1.75;
  color: #d0bfc1;
}
.journey-stop > b {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: #d9b27b;
}
.journey-quote {
  text-align: center;
  font: italic 1.6rem "Cormorant Garamond";
  color: #e2bd86;
  margin-top: 25px;
}
.game-section {
  background: #f3ece4;
  color: #2c1118;
}
.game-section .section-heading > p:last-child {
  color: #796b67;
}
.game-panel {
  max-width: 900px;
  margin: auto;
  background: linear-gradient(145deg, #4b1021, #210811);
  padding: 35px 45px 40px;
  border: 1px solid #c49a68;
  box-shadow: 0 30px 80px #2a0b1426;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.game-panel:before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid #d6aa7233;
  pointer-events: none;
}
.game-topline {
  position: relative;
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: #d8b47f;
}
.candle-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 44px 12px;
  align-items: end;
  justify-items: center;
  padding: 46px 10px 24px;
  min-height: 230px;
}
.candle {
  width: 16px;
  height: 56px;
  padding: 0;
  position: relative;
  border: 0;
  border-bottom: 3px solid #d4a156;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 45%, rgba(40, 8, 12, 0.32)),
    repeating-linear-gradient(
      -35deg,
      #fff3dc 0 5px,
      #d89a45 5px 10px
    );
  border-radius: 5px 5px 2px 2px;
  cursor: pointer;
  transform-origin: bottom center;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    filter 0.25s ease;
  box-shadow:
    inset 0 2px 3px rgba(255, 250, 235, 0.65),
    0 4px 10px rgba(0, 0, 0, 0.35);
}
.candle:hover:not(.blown) {
  transform: translateY(-2px) scale(1.04);
  filter: brightness(1.08);
}
.candle:nth-child(3n) {
  height: 48px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32), transparent 45%, rgba(40, 8, 12, 0.34)),
    repeating-linear-gradient(
      -35deg,
      #ffe5ea 0 5px,
      #b92b4d 5px 10px
    );
}
.candle:nth-child(4n) {
  height: 64px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35), transparent 45%, rgba(40, 8, 12, 0.3)),
    repeating-linear-gradient(
      -35deg,
      #fff7e8 0 5px,
      #e6b667 5px 10px
    );
}
.candle:nth-child(5n) {
  height: 51px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32), transparent 45%, rgba(40, 8, 12, 0.34)),
    repeating-linear-gradient(
      -35deg,
      #f8d4a6 0 5px,
      #9a2440 5px 10px
    );
}
/* Wick sits directly flush on top of the candle wax with zero gap */
.candle:before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 2px;
  height: 7px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(to top, #3e1e12, #6f3b21 65%, #ffd27d);
  transform: translateX(-50%);
}
/* Flame wraps the tip of the wick with zero floating gap */
.flame {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  width: 12px;
  height: 22px;
  transform: translateX(-50%);
  transform-origin: bottom center;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background:
    radial-gradient(ellipse at 50% 76%, #ffffff 0 20%, #fff1a8 38%, transparent 56%),
    radial-gradient(ellipse at 50% 62%, #ffd058 0 48%, #ff7a1f 84%, #e24614 100%);
  box-shadow:
    0 0 10px 2px rgba(255, 175, 58, 0.72),
    0 -3px 16px 3px rgba(255, 108, 28, 0.45);
  animation: flicker 0.2s infinite alternate ease-in-out;
}
.candle:nth-child(even) .flame {
  animation-delay: -0.09s;
}
.candle.blown {
  opacity: 0.4;
  transform: scaleY(0.92);
  cursor: default;
}
.candle.blown .flame {
  display: none;
}
.candle.blown:after {
  content: "";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  width: 10px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(215, 200, 198, 0.55), transparent 72%);
  filter: blur(3px);
}
.game-stats {
  display: flex;
  justify-content: center;
  gap: 45px;
  margin: 8px 0 20px;
}
.game-stats div:not(.stat-divider) {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.game-stats strong {
  font: 500 2.6rem "Cormorant Garamond";
  color: #e8c48e;
}
.game-stats span {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #d1bfc0;
}
.stat-divider {
  width: 1px;
  background: #d6aa7255;
}
.game-panel h3 {
  font: 500 2.1rem "Cormorant Garamond";
  margin: 15px 0 5px;
}
.game-hint,
.mic-note {
  font-size: 0.75rem;
  color: #d1bfc0;
}
.game-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 12px;
}
.btn {
  border: 0;
  padding: 14px 22px;
  border-radius: 2px;
  font: 700 0.7rem "DM Sans";
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px #0003;
}
.btn-gold {
  background: linear-gradient(135deg, #f0d29b, #bd8750);
  color: #35101b;
}
.btn-outline {
  background: transparent;
  border: 1px solid #d5ad7b;
  color: #e8c48e;
}
.btn-quiet {
  background: transparent;
  color: #d5c5c5;
  border: 1px solid #ffffff30;
}
.note-section {
  background: #1c080e;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 8vw;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 140px;
}
.note-ornament {
  position: absolute;
  top: 65px;
  left: 7vw;
  color: #7e293c;
  font: 12rem "Cormorant Garamond";
  opacity: 0.55;
}
.note-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.note-content h2 {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}
.note-content > p:not(.eyebrow) {
  color: #cdbfc0;
  line-height: 1.9;
  font-size: 0.92rem;
}
.note-signature {
  font: italic 1.1rem "Cormorant Garamond";
  color: #d8b27c;
  line-height: 1.7;
  margin-top: 30px;
}
.note-signature strong {
  font-size: 1.5rem;
}
.management-card {
  border: 1px solid #d3a66e55;
  padding: 35px;
  background: linear-gradient(145deg, #501326, #2c0a15);
  text-align: center;
  transform: rotate(2deg);
  transition: 0.4s;
}
.management-card:hover {
  transform: rotate(0) translateY(-8px);
  border-color: #d3a66e;
}
.management-card > span {
  font-size: 2rem;
  color: #d9b47e;
}
.management-card p {
  font: italic 1.4rem "Cormorant Garamond";
}
.management-card a {
  font-size: 0.7rem;
  color: #e4bd86;
  border-bottom: 1px solid #e4bd86;
  padding-bottom: 5px;
}
footer {
  position: relative;
  background: #100408;
  padding: 35px 6vw;
  display: flex;
  align-items: center;
  gap: 25px;
  border-top: 1px solid #ffffff14;
}
footer p {
  font: italic 1.3rem "Cormorant Garamond";
  margin-right: auto;
}
footer small {
  font-size: 0.65rem;
  color: #a99698;
}
.footer-brand {
  font-size: 1.3rem;
}
.back-top {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: #d5ad7b;
}
.preloader {
  position: fixed;
  z-index: 100;
  inset: 0;
  background: radial-gradient(ellipse at center, #65152b, #1b060d 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px;
  transition:
    opacity 0.7s,
    visibility 0.7s;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.welcome-stars {
  color: #e4bf83;
  font-size: 1.8rem;
  letter-spacing: 0.5em;
  margin-bottom: 28px;
  animation: float 3s infinite;
}
.preloader h1 {
  font: 700 clamp(56px, 9vw, 96px)/1.1 "Cormorant Garamond";
  margin: 15px 0;
}
.preloader h1 em {
  color: #e7ad45;
  font-style: normal;
  font-weight: 700;
}
.welcome-copy {
  color: #d5c0c0;
}
.welcome-actions {
  display: flex;
  gap: 12px;
  margin: 30px 0 45px;
  flex-wrap: wrap;
  justify-content: center;
}
.preloader small {
  font-size: 0.65rem;
  color: #b99fa3;
  letter-spacing: 0.08em;
}
.lightbox {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: #100408ed;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 6vw;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: min(900px, 90vw);
  max-height: 80vh;
  border: 8px solid #e3c18b;
  box-shadow: 0 30px 80px #000;
}
.lightbox button {
  position: absolute;
  right: 5vw;
  top: 4vh;
  background: none;
  border: 0;
  color: white;
  font-size: 3rem;
  cursor: pointer;
}
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-16px) rotate(8deg);
  }
}
@keyframes bob {
  50% {
    transform: translateY(7px);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes flicker {
  from {
    transform: translateX(-50%) rotate(-3deg) scale(0.95, 0.97);
  }
  to {
    transform: translateX(-50%) rotate(4deg) scale(1.04, 1.07);
  }
}
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr 0.8fr;
    gap: 25px;
  }
  .hero h1 {
    font-size: 5rem;
  }
  .memory-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .journey-stage {
    gap: 55px 10%;
    padding: 20px 0;
  }
  .journey-orbit {
    width: 280px;
    height: 280px;
  }
  .note-section {
    gap: 35px;
  }
  .month-card {
    grid-template-columns: 60px 1fr 130px;
  }
  .month-card img {
    width: 130px;
  }
}
@media (max-width: 680px) {
  .section {
    padding: 80px 22px;
  }
  .site-header {
    height: 66px;
    padding: 0 20px;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
    margin-right: 15px;
  }
  .site-header nav {
    display: none;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    background: #210811;
    padding: 20px;
    flex-direction: column;
    gap: 18px;
    border-bottom: 1px solid #d6aa7233;
  }
  .site-header nav.open {
    display: flex;
  }
  .music-control {
    padding: 9px 11px;
  }
  .music-control #musicLabel {
    display: none;
  }
  .hero {
    padding-top: 115px;
    grid-template-columns: 1fr;
    text-align: center;
    min-height: 0;
  }
  .hero-content {
    margin: auto;
  }
  .hero-number {
    font-size: 9rem;
  }
  .hero h1 {
    font-size: 5.5rem;
  }
  .gold-rule {
    margin: 25px auto;
  }
  .hero-copy {
    font-size: 0.83rem;
  }
  .hero-portrait {
    width: min(78%, 330px);
    margin: 40px auto 0;
  }
  .scroll-cue {
    margin-top: 25px;
  }
  .star-two {
    left: 8%;
  }
  .star-three {
    right: 10%;
  }
  .memory-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 145px;
    gap: 9px;
  }
  .memory-card.wide {
    grid-column: span 2;
  }
  .memory-card span {
    opacity: 1;
    transform: none;
    font-size: 1rem;
    left: 12px;
    bottom: 10px;
  }
  .month-card {
    grid-template-columns: 48px 1fr;
    gap: 12px;
    padding: 17px 10px;
  }
  .month-card img {
    display: none;
  }
  .month-no {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .month-card h3 {
    font-size: 1.35rem;
  }
  .month-card p {
    font-size: 0.73rem;
  }
  .year-timeline:before {
    left: 29px;
  }
  .journey-stage {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    padding: 0;
  }
  .journey-orbit {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 170px;
    height: 170px;
    margin: 5px auto 20px;
    order: 0;
  }
  .journey-orbit:after {
    inset: -12px;
  }
  .journey-stop {
    width: 100%;
    max-width: 440px;
    margin: 0 !important;
    justify-self: auto;
  }
  .journey-stop:nth-of-type(1) {
    order: 1;
  }
  .journey-stop:nth-of-type(2) {
    order: 2;
  }
  .journey-stop:nth-of-type(3) {
    order: 3;
  }
  .journey-stop:nth-of-type(4) {
    order: 4;
  }
  .journey-quote {
    font-size: 1.3rem;
  }
  .game-panel {
    padding: 25px 15px;
  }
  .candle-stage {
    grid-template-columns: repeat(5, 1fr);
    gap: 38px 8px;
    min-height: 0;
    padding: 40px 4px 18px;
  }
  .candle {
    width: 14px;
    height: 46px;
  }
  .candle:nth-child(3n) {
    height: 40px;
  }
  .candle:nth-child(4n) {
    height: 52px;
  }
  .candle:nth-child(5n) {
    height: 44px;
  }
  .flame {
    width: 11px;
    height: 19px;
  }
  .game-stats {
    gap: 25px;
  }
  .game-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .note-section {
    grid-template-columns: 1fr;
    padding-top: 100px;
    padding-bottom: 80px;
  }
  .management-card {
    max-width: 400px;
    margin: auto;
    width: 100%;
  }
  .note-ornament {
    top: 25px;
    font-size: 8rem;
  }
  footer {
    flex-wrap: wrap;
    gap: 12px;
  }
  footer p {
    margin-right: 0;
    width: calc(100% - 80px);
  }
  footer small {
    width: 100%;
    order: 3;
  }
  .back-top {
    margin-left: auto;
  }
}

/* Reference hero: 1920px desktop composition.  Keep these rules last so the
   hero is not affected by earlier experimental theme layers above. */
@media (min-width: 901px) {
  html {
    scroll-padding-top: 65px;
  }

  .site-header {
    height: 65px;
    padding-inline: max(24px, calc((100vw - 1112px) / 2));
    background: rgba(29, 5, 5, 0.94);
  }

  .brand {
    font-size: 1.5rem;
  }

  .site-header nav {
    gap: 34px;
  }

  .site-header nav a {
    font-size: 0.58rem;
    letter-spacing: 0.24em;
  }

  .hero.section {
    min-height: 960px;
    padding: 100px max(24px, calc((100vw - 1112px) / 2)) 58px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 55px;
    background-color: #210806;
    background-image:
      radial-gradient(ellipse at -3% 20%, #c8731d55 0 2%, transparent 20%),
      radial-gradient(
        circle at 11% 12%,
        #f4a93d33 0 2%,
        #b65d1930 5%,
        transparent 13%
      ),
      radial-gradient(
        circle at 17% 44%,
        #f1ae4d30 0 2%,
        #d47b2730 6%,
        transparent 18%
      ),
      radial-gradient(ellipse at 100% 23%, #c8651b55 0 2%, transparent 21%),
      radial-gradient(
        circle at 92% 31%,
        #fac56566 0 3px,
        #d6772133 13px,
        transparent 37px
      ),
      radial-gradient(
        circle at 90% 74%,
        #f3b34755 0 4px,
        #cb692128 19px,
        transparent 55px
      ),
      radial-gradient(ellipse at 50% 50%, #3b100b 0, #240806 57%, #190504 100%);
  }

  .hero:before {
    opacity: 0.5;
    background-image:
      radial-gradient(circle at 12% 72%, #e69b3d77 0 2px, transparent 4px),
      radial-gradient(circle at 18% 82%, #e59a3d55 0 1px, transparent 3px),
      radial-gradient(circle at 84% 84%, #e59a3d77 0 2px, transparent 5px),
      radial-gradient(circle at 96% 49%, #e59a3d88 0 2px, transparent 5px);
  }

  .hero-content {
    max-width: 590px;
  }

  .hero-content > .eyebrow {
    margin-bottom: 29px;
    font-size: 0.63rem;
    letter-spacing: 0.42em;
  }

  .hero h1 {
    margin-bottom: 34px;
    font-size: clamp(5.25rem, 5.35vw, 6.35rem);
    line-height: 0.88;
  }

  .hero-copy {
    max-width: 575px;
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-signoff {
    margin-top: 35px;
    font-size: 1.17rem;
  }

  .hero-portrait {
    width: 384px;
    animation: none;
    filter: none;
  }

  .portrait-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    padding: 0;
    border: 1px solid #b47a25;
    border-radius: 50% 50% 0 0 / 37% 37% 0 0;
    background: repeating-linear-gradient(
      135deg,
      #3b1d15 0 14px,
      #452318 14px 28px
    );
    box-shadow: 0 0 0 16px #8a501308;
  }

  .portrait-frame img {
    display: none;
  }

  .portrait-frame::after {
    content: "♙\A ANIL'S PHOTO";
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 14px;
    color: #bea58b;
    font:
      0.67rem/1.4 "DM Sans",
      sans-serif;
    /* letter-spacing: 0.3em; */
    text-align: center;
    white-space: pre;
  }

  .portrait-caption {
    bottom: -13px;
    padding: 10px 26px;
    font-size: 0.64rem;
    /* letter-spacing: 0.3em; */
  }
}

/* Story tabs stay legible without wrapping their labels. */
.month-tab {
  gap: 5px;
  padding: 9px 3px;
  font-size: 0.82rem;
  line-height: 1.15;
  white-space: nowrap;
}

.month-tab span {
  flex: 0 0 auto;
  font-size: 1.05rem;
}

@media (max-width: 680px) {
  .month-selector {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .month-tab {
    justify-content: flex-start;
    padding-inline: 7px;
    font-size: 0.78rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== Refined editorial gallery, 2026 yearbook and growth story ===== */
.memories-section .memory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(170px, 20vw, 245px);
  gap: 16px;
  align-items: stretch;
}
.memories-section .memory-card,
.memories-section .memory-card.tall,
.memories-section .memory-card.wide {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  border-radius: 3px;
  box-shadow: 0 12px 30px #2c10101a;
}
.memories-section .memory-card:nth-child(3n + 2) {
  transform: translateY(18px);
}
.memories-section .memory-card:nth-child(3n + 2):hover {
  transform: translateY(8px);
}
.memories-section .memory-card img {
  object-fit: cover;
  filter: saturate(0.82);
  transition:
    transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.5s;
}
.memories-section .memory-card:hover img {
  filter: saturate(1.08) contrast(1.04);
}
.memories-section .memory-card:after {
  background: linear-gradient(0deg, #1b080bdc 0%, transparent 62%);
  opacity: 0.9;
}
.memories-section .memory-card span {
  opacity: 1;
  transform: none;
  left: 18px;
  bottom: 16px;
  font-size: 1.25rem;
  text-shadow: 0 2px 12px #0008;
}
.memories-section .memory-card:before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 9px;
  border: 1px solid #fff6;
  pointer-events: none;
  opacity: 0.5;
  transition: 0.4s;
}
.memories-section .memory-card:hover:before {
  inset: 15px;
  opacity: 1;
  border-color: #e8c48e;
}
.memories-section .section-footnote {
  padding-top: 18px;
}

.year-section {
  background: #eee5db;
  color: #2b1017;
  padding-top: 120px;
  padding-bottom: 125px;
  overflow: hidden;
}
.year-intro {
  max-width: 1120px;
  margin: 0 auto 55px;
  position: relative;
  padding: 0 7%;
}
.year-intro h2 {
  font: 500 clamp(3.4rem, 7vw, 6.7rem)/0.82 "Cormorant Garamond";
  letter-spacing: -0.035em;
  margin: 20px 0;
}
.year-intro h2 em {
  color: #a66b52;
}
.year-intro > p:not(.eyebrow) {
  max-width: 470px;
  color: #756560;
  line-height: 1.8;
  font-size: 0.9rem;
}
.year-stamp {
  position: absolute;
  right: 9%;
  top: 15px;
  width: 125px;
  height: 125px;
  border: 1px solid #a66b52;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transform: rotate(12deg);
  color: #773044;
}
.year-stamp strong {
  font: 2.8rem "Cormorant Garamond";
  line-height: 1;
}
.year-stamp span {
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  text-align: center;
  line-height: 1.5;
  margin-top: 5px;
}
.yearbook {
  max-width: 1080px;
  margin: auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  background: #faf6f0;
  border: 1px solid #d8c7b6;
  box-shadow: 0 28px 70px #3b1b1718;
  min-height: 475px;
}
.yearbook-side {
  background: #3c0d1b;
  color: #f8eee4;
  padding: 30px 22px;
  position: relative;
}
.yearbook-side:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 1px;
  background: #d3a66c66;
}
.yearbook-label {
  font-size: 0.6rem;
  letter-spacing: 0.24em;
  color: #d9b47f;
  margin: 0 0 20px 8px;
}
.month-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.month-tab {
  display: flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 8px;
  color: #d7c2c2;
  text-align: left;
  font: 500 0.7rem "DM Sans";
  cursor: pointer;
  transition: 0.25s;
}
.month-tab span {
  font: 1rem "Cormorant Garamond";
  color: #c99c69;
}
.month-tab:hover {
  background: #ffffff0c;
  border-color: #ffffff20;
  color: #fff;
}
.month-tab.active {
  background: #e0bd88;
  color: #35101b;
  border-color: #e0bd88;
}
.month-tab.active span {
  color: #6e1c30;
}
.year-feature {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-width: 0;
  position: relative;
}
.feature-image {
  min-height: 475px;
  overflow: hidden;
}
.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.8);
  transition: transform 0.8s;
}
.year-feature:hover .feature-image img {
  transform: scale(1.04);
}
.feature-copy {
  padding: 48px 42px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.feature-copy .eyebrow {
  color: #a36c55;
  font-size: 0.58rem;
}
.feature-number {
  font: clamp(4rem, 7vw, 6rem)/0.8 "Cormorant Garamond";
  color: #d8c3ae;
  margin: 26px 0 12px;
}
.feature-copy h3 {
  font: 600 clamp(2rem, 3.5vw, 3.1rem)/0.95 "Cormorant Garamond";
  margin: 0 0 17px;
  color: #35101b;
}
.feature-copy > p:not(.eyebrow) {
  font-size: 0.84rem;
  line-height: 1.85;
  color: #766762;
  max-width: 390px;
}
.feature-bottom {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #dfd2c6;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  letter-spacing: 0.16em;
  color: #9b7567;
}
.yearbook-note {
  text-align: center;
  color: #8d6e64;
  font: italic 1.35rem "Cormorant Garamond";
  margin: 30px 0 0;
}

.journey-section {
  padding-top: 125px;
  padding-bottom: 120px;
  background: radial-gradient(
    ellipse at 50% 50%,
    #531226 0,
    #260912 62%,
    #18060b 100%
  );
}
.journey-heading {
  max-width: 1120px;
  margin: 0 auto 80px;
  padding: 0 7%;
  position: relative;
}
.journey-heading h2 {
  font: 500 clamp(3.5rem, 7vw, 6.5rem)/0.82 "Cormorant Garamond";
  letter-spacing: -0.035em;
  margin: 20px 0;
}
.journey-heading h2 em {
  color: #e0b77e;
}
.journey-heading > p:last-child {
  max-width: 480px;
  color: #c8b3b4;
  line-height: 1.8;
  font-size: 0.9rem;
}
.journey-map {
  max-width: 1120px;
  margin: auto;
  position: relative;
  padding: 0 3%;
  display: flex;
  flex-direction: column;
  gap: 58px;
}
.journey-track {
  position: absolute;
  left: 50%;
  top: 45px;
  bottom: 45px;
  width: 1px;
  background: linear-gradient(
    transparent,
    #d8b27c 8%,
    #d8b27c 92%,
    transparent
  );
  transform: translateX(-50%);
}
.journey-track span {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, #fff0b9, transparent);
  height: 30%;
  animation: journeyFlow 4s linear infinite;
}
.journey-chapter {
  width: calc(50% - 62px);
  min-height: 260px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #3c0d1c;
  border: 1px solid #d6aa7250;
  position: relative;
  box-shadow: 0 22px 55px #0004;
  transition:
    transform 0.4s,
    border-color 0.4s,
    box-shadow 0.4s;
}
.journey-chapter:after {
  content: "";
  position: absolute;
  top: 50%;
  width: 62px;
  height: 1px;
  background: #d6aa72;
}
.journey-chapter:before {
  content: "";
  position: absolute;
  top: calc(50% - 7px);
  width: 13px;
  height: 13px;
  border: 2px solid #e0bd88;
  background: #3c0d1c;
  border-radius: 50%;
  box-shadow: 0 0 0 7px #d6aa7220;
}
.chapter-left {
  align-self: flex-start;
}
.chapter-left:after {
  right: -62px;
}
.chapter-left:before {
  right: -69px;
}
.chapter-right {
  align-self: flex-end;
}
.chapter-right:after {
  left: -62px;
}
.chapter-right:before {
  left: -69px;
}
.journey-chapter:hover {
  transform: translateY(-8px);
  border-color: #e4bd86;
  box-shadow:
    0 30px 65px #0006,
    0 0 35px #d6aa7218;
}
.chapter-photo {
  min-height: 260px;
  overflow: hidden;
}
.chapter-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.72);
  transition:
    transform 0.8s,
    filter 0.5s;
}
.journey-chapter:hover .chapter-photo img {
  transform: scale(1.08);
  filter: saturate(1);
}
.chapter-info {
  padding: 23px 22px;
  position: relative;
}
.chapter-kicker {
  font-size: 0.52rem;
  letter-spacing: 0.16em;
  color: #d9b47f;
}
.chapter-number {
  font: 3.4rem/0.9 "Cormorant Garamond";
  color: #a65e54;
  margin: 23px 0 9px;
}
.chapter-info h3 {
  font: 600 1.75rem "Cormorant Garamond";
  color: #fff;
  margin: 0 0 8px;
}
.chapter-info p {
  font-size: 0.73rem;
  line-height: 1.7;
  color: #d0bfc1;
  margin: 0 0 16px;
}
.chapter-tag {
  display: inline-block;
  font-size: 0.52rem;
  letter-spacing: 0.15em;
  color: #e0bd88;
  border-top: 1px solid #d6aa7255;
  padding-top: 10px;
}
.chapter-tag b {
  margin-left: 8px;
}
.journey-finale {
  text-align: center;
  margin: 80px auto 0;
  max-width: 700px;
}
.journey-finale span {
  font-size: 0.56rem;
  letter-spacing: 0.24em;
  color: #d6aa72;
}
.journey-finale p {
  font: italic clamp(1.5rem, 3vw, 2.3rem) "Cormorant Garamond";
  color: #f0d7b0;
  margin: 18px 0;
}
.journey-finale i {
  font-style: normal;
  color: #d6aa72;
  font-size: 1.3rem;
}
@keyframes journeyFlow {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(400%);
  }
}

@media (max-width: 900px) {
  .memories-section .memory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }
  .yearbook {
    grid-template-columns: 210px 1fr;
  }
  .month-selector {
    grid-template-columns: 1fr;
  }
  .feature-copy {
    padding: 35px 25px;
  }
  .journey-chapter {
    width: calc(50% - 42px);
    grid-template-columns: 1fr;
  }
  .chapter-photo {
    height: 150px;
    min-height: 150px;
  }
  .chapter-info {
    padding: 20px;
  }
}
@media (max-width: 680px) {
  .memories-section .memory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 165px;
    gap: 10px;
  }
  .memories-section .memory-card:nth-child(3n + 2) {
    transform: none;
  }
  .memories-section .memory-card:nth-child(3n + 2):hover {
    transform: translateY(-4px);
  }
  .memories-section .memory-card span {
    font-size: 1rem;
    left: 12px;
    bottom: 12px;
  }
  .year-section {
    padding-top: 85px;
    padding-bottom: 85px;
  }
  .year-intro {
    padding: 0;
    margin-bottom: 35px;
  }
  .year-stamp {
    width: 85px;
    height: 85px;
    right: 0;
    top: 4px;
  }
  .year-stamp strong {
    font-size: 1.9rem;
  }
  .year-stamp span {
    font-size: 0.38rem;
  }
  .year-intro h2 {
    font-size: 4rem;
    max-width: 75%;
  }
  .yearbook {
    grid-template-columns: 1fr;
  }
  .yearbook-side {
    padding: 20px;
  }
  .yearbook-side:after {
    display: none;
  }
  .month-selector {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .month-tab {
    padding: 8px 4px;
    justify-content: center;
    font-size: 0.58rem;
    gap: 4px;
  }
  .month-tab span {
    font-size: 0.85rem;
  }
  .year-feature {
    grid-template-columns: 1fr;
  }
  .feature-image {
    height: 210px;
    min-height: 210px;
  }
  .feature-copy {
    min-height: 300px;
    padding: 27px 24px;
  }
  .feature-number {
    font-size: 4rem;
    margin: 17px 0 9px;
  }
  .journey-section {
    padding-top: 85px;
    padding-bottom: 85px;
  }
  .journey-heading {
    padding: 0;
    margin-bottom: 50px;
  }
  .journey-heading h2 {
    font-size: 4rem;
  }
  .journey-map {
    padding: 0 0 0 25px;
    gap: 25px;
  }
  .journey-track {
    left: 7px;
    top: 25px;
    bottom: 25px;
  }
  .journey-chapter,
  .journey-chapter.chapter-left,
  .journey-chapter.chapter-right {
    width: 100%;
    align-self: stretch;
    grid-template-columns: 105px 1fr;
    min-height: 0;
  }
  .journey-chapter:after {
    left: -18px !important;
    right: auto !important;
    width: 18px;
  }
  .journey-chapter:before {
    left: -25px !important;
    right: auto !important;
  }
  .chapter-photo {
    height: 100%;
    min-height: 210px;
  }
  .chapter-info {
    padding: 18px 15px;
  }
  .chapter-number {
    font-size: 2.5rem;
    margin: 16px 0 7px;
  }
  .chapter-info h3 {
    font-size: 1.4rem;
  }
  .chapter-info p {
    font-size: 0.68rem;
  }
  .chapter-kicker {
    font-size: 0.45rem;
  }
  .journey-finale {
    margin-top: 55px;
  }
}

/* Birthday refresh: tighter sections, red-carpet accents and softer motion. */
:root {
  --carpet: #79001f;
  --carpet-dark: #30000f;
  --carpet-deep: #190008;
  --carpet-bright: #b20d38;
  --champagne: #e7bd82;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
}
body {
  background: var(--carpet-deep);
}
.section {
  padding-block: 72px;
}
.eyebrow,
.gold-text {
  color: var(--champagne);
}
.site-header {
  background: rgba(35, 0, 12, 0.88);
  border-bottom-color: #e7bd8230;
}
.brand span,
.brand i {
  color: var(--carpet-bright);
}
.music-control {
  border-color: #e7bd8277;
  color: var(--champagne);
}
.music-control:hover {
  background: var(--carpet-bright);
}
.hero.section {
  min-height: 760px;
  padding-top: 100px;
  padding-bottom: 58px;
  background: radial-gradient(
    ellipse at 78% 48%,
    #a10a34 0,
    #61001c 38%,
    #24000d 78%
  );
}
.hero h1 {
  font:
    400 clamp(4.5rem, 8vw, 8rem)/1.02 "Great Vibes",
    cursive;
  letter-spacing: 0;
}
.hero h1 em {
  font-weight: 400;
}
.hero-portrait {
  transform: rotate(1deg);
}
.portrait-frame {
  overflow: hidden;
  border-radius: 48% 48% 4px 4px / 29% 29% 4px 4px;
  background: linear-gradient(145deg, #ffe0ad, #a10a34 55%, #e0ad70);
  box-shadow:
    0 0 0 9px #ffffff0a,
    0 24px 55px #18000855;
}
.portrait-frame img {
  border-radius: 50% 50% 2px 2px / 28% 28% 2px 2px;
}
.memories-section {
  background: #fff8f1;
  color: #35101a;
}
.memories-section .section-heading > p:last-child {
  color: #785a5c;
}
.memories-section .section-heading h2 em,
.note-content h2 em {
  color: var(--carpet);
}
.memories-section .memory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(125px, 14vw, 175px);
  gap: 14px;
  align-items: stretch;
}
.memories-section .memory-card {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  min-height: 0;
  border-radius: 3px 20px 3px 3px;
  box-shadow: 0 14px 32px #4b10211e;
}
.memories-section .memory-card.tall {
  grid-row: span 2;
}
.memories-section .memory-card.wide {
  grid-column: span 2;
}
.memories-section .memory-card:nth-child(3n + 2) {
  border-radius: 20px 3px 20px 3px;
}
.memories-section .memory-card img {
  filter: saturate(0.88);
  transition:
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.65s;
}
.memories-section .memory-card:hover img,
.memories-section .memory-card:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.15) contrast(1.04);
}
.memories-section .memory-card:after {
  background: linear-gradient(0deg, #26000de8 0%, #26000d18 65%, transparent);
}
.memories-section .memory-card span {
  left: 18px;
  bottom: 15px;
  opacity: 1;
  transform: none;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  text-shadow: 0 2px 12px #0009;
}
.memories-section .memory-card:before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 9px;
  border: 1px solid #fff9;
  pointer-events: none;
  opacity: 0.5;
  transition:
    inset 0.45s,
    opacity 0.45s;
}
.memories-section .memory-card:hover:before,
.memories-section .memory-card:focus-visible:before {
  inset: 15px;
  opacity: 1;
}
.memory-card:focus-visible {
  outline: 3px solid var(--carpet-bright);
  outline-offset: 3px;
}
.memories-section .section-footnote {
  margin-top: 26px;
  color: #79505a;
}
.year-section,
.game-section {
  background: #fff6ed;
  color: #35101a;
}
.year-section .eyebrow,
.game-section .eyebrow,
.journey-section .eyebrow {
  color: var(--carpet-bright);
}
.year-intro h2 em {
  color: var(--carpet);
}
.yearbook-side,
.month-tab.active {
  background-color: var(--carpet);
}
.year-stamp {
  border-color: var(--carpet-bright);
  color: var(--carpet);
}
.journey-section {
  padding-block: 72px;
  background: radial-gradient(
    ellipse at 50% 46%,
    #74001f 0,
    #410012 62%,
    #200009 100%
  );
}
.journey-heading {
  margin-bottom: 50px;
}
.journey-heading h2 em {
  color: var(--champagne);
}
.journey-map {
  gap: 38px;
}
.journey-track {
  background: linear-gradient(
    transparent,
    #e7bd82 8%,
    #e7bd82 92%,
    transparent
  );
}
.journey-track span {
  background: linear-gradient(transparent, #fff0b9, transparent);
}
.journey-chapter {
  background: linear-gradient(145deg, #65001d, #390010);
  border-color: #e7bd8255;
}
.journey-chapter.reveal {
  opacity: 0;
  transform: translateY(52px) scale(0.97);
  filter: blur(4px);
  transition:
    opacity 1.05s ease,
    transform 1.05s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 1.05s ease,
    border-color 0.4s,
    box-shadow 0.4s;
}
.journey-chapter.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none;
}
.journey-chapter.reveal.visible:hover {
  transform: translateY(-8px) scale(1.01);
}
.chapter-number {
  color: #d27874;
}
.game-panel {
  background: linear-gradient(145deg, #78001f, #30000f);
  border-color: #e7bd82;
}
.btn-gold {
  background: linear-gradient(135deg, #f5d6a5, #d39a55);
  color: #36000f;
}
.btn-outline {
  border-color: var(--champagne);
  color: var(--champagne);
}
.note-section {
  background: linear-gradient(125deg, #2c000e, #510017 70%, #28000c);
}
.management-card {
  background: linear-gradient(145deg, #79001f, #36000f);
  border-color: #e7bd8255;
}
.lightbox {
  display: flex;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: #160008ed;
  backdrop-filter: blur(0);
  transition:
    opacity 0.4s ease,
    visibility 0.4s,
    backdrop-filter 0.4s;
}
.lightbox.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  backdrop-filter: blur(9px);
}
.lightbox img {
  max-width: min(1000px, 90vw);
  max-height: 82vh;
  border: 7px solid #e7bd82;
  box-shadow: 0 35px 100px #000b;
  border-radius: 3px;
  transform: scale(0.88) translateY(24px) rotate(-1.5deg);
  opacity: 0;
  transition:
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.45s;
}
.lightbox.open img {
  transform: scale(1) translateY(0) rotate(0);
  opacity: 1;
}
.lightbox button {
  color: #fff1dc;
  transition:
    transform 0.25s,
    color 0.25s;
}
.lightbox button:hover {
  color: var(--champagne);
  transform: rotate(90deg);
}
.section-heading {
  margin-bottom: 40px;
}
.section-footnote {
  margin-top: 24px;
}
footer {
  background: #130006;
}
@media (max-width: 900px) {
  .section {
    padding-block: 60px;
  }
  .hero.section {
    padding-top: 90px;
    padding-bottom: 48px;
  }
  .memories-section .memory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(140px, 22vw, 195px);
  }
  .memories-section .memory-card.tall {
    grid-row: span 2;
  }
  .memories-section .memory-card.wide {
    grid-column: span 2;
  }
  .journey-section {
    padding-block: 60px;
  }
}
@media (max-width: 680px) {
  html {
    scroll-padding-top: 72px;
  }
  .section {
    padding-block: 48px;
  }
  .hero.section {
    padding-top: 86px;
    padding-bottom: 42px;
  }
  .hero h1 {
    font-size: clamp(4rem, 18vw, 5.5rem);
    line-height: 1;
  }
  .hero-portrait {
    margin-top: 28px;
  }
  .memories-section .memory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(125px, 38vw, 170px);
    gap: 10px;
  }
  .memories-section .memory-card.tall {
    grid-row: span 2;
  }
  .memories-section .memory-card.wide {
    grid-column: span 2;
  }
  .memories-section .memory-card span {
    font-size: 0.98rem;
    left: 12px;
    bottom: 11px;
  }
  .year-section {
    padding-block: 48px;
  }
  .journey-section {
    padding-block: 48px;
  }
  .journey-map {
    gap: 24px;
  }
  .journey-chapter.reveal {
    transform: translateY(36px) scale(0.98);
    filter: blur(2px);
  }
  .journey-chapter.reveal.visible {
    transform: none;
  }
  .journey-chapter.reveal.visible:hover {
    transform: translateY(-4px);
  }
  .note-section {
    padding-block: 55px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .journey-chapter.reveal,
  .journey-chapter.reveal.visible {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .lightbox,
  .lightbox img {
    transition: none;
  }
}

/* Balanced photo layout and alternating birthday-story chapters. */
.memories-section .memory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(4, clamp(125px, 14vw, 180px));
  grid-template-areas:
    "one two three three"
    "one four five six"
    "seven eight five nine"
    "ten ten eleven twelve";
  grid-auto-rows: clamp(125px, 14vw, 180px);
  gap: 14px;
}
.memories-section .memory-card:nth-child(1) {
  grid-area: one;
}
.memories-section .memory-card:nth-child(2) {
  grid-area: two;
}
.memories-section .memory-card:nth-child(3) {
  grid-area: three;
}
.memories-section .memory-card:nth-child(4) {
  grid-area: four;
}
.memories-section .memory-card:nth-child(5) {
  grid-area: five;
}
.memories-section .memory-card:nth-child(6) {
  grid-area: six;
}
.memories-section .memory-card:nth-child(7) {
  grid-area: seven;
}
.memories-section .memory-card:nth-child(8) {
  grid-area: eight;
}
.memories-section .memory-card:nth-child(9) {
  grid-area: nine;
}
.memories-section .memory-card:nth-child(10) {
  grid-area: ten;
}
.memories-section .memory-card:nth-child(11) {
  grid-area: eleven;
}
.memories-section .memory-card:nth-child(12) {
  grid-area: twelve;
}
.memories-section .memory-card:nth-child(3n + 2) {
  transform: none;
}
.memories-section .memory-card:nth-child(3n + 2):hover {
  transform: none;
}
.memories-section .memory-grid > .memory-card.reveal,
.memories-section .memory-grid > .memory-card.reveal.visible {
  transform: none !important;
}
.memories-section .memory-card.reveal {
  transition: opacity 1s ease;
}
.year-section {
  background: linear-gradient(145deg, #29000f, #500018 55%, #30000f);
  color: #fff4e8;
}
.year-intro h2,
.journey-heading h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.4rem, 6.1vw, 5.5rem);
  line-height: 0.95;
}
.journey-section .journey-heading h2 {
  white-space: nowrap;
}
.year-intro h2 em {
  color: #f0c58e;
}
.year-intro > p:not(.eyebrow) {
  color: #e1cdd0;
}
.year-stamp {
  top: auto;
  right: 2%;
  bottom: -4px;
  border-color: #e7bd82;
  color: #f0c58e;
}
.yearbook {
  background: #fff8f1;
  color: #35101a;
}
.journey-section {
  background: #fff8f1;
  color: #35101a;
}
.journey-section .journey-heading > p:last-child {
  color: #765d5d;
}
.journey-section .journey-heading h2 em {
  color: #79001f;
}
.journey-track {
  background: linear-gradient(
    transparent,
    #9c5e40 8%,
    #9c5e40 92%,
    transparent
  );
}
.journey-track span {
  background: linear-gradient(transparent, #b20d38, transparent);
}
.journey-chapter {
  background: linear-gradient(145deg, #79001f, #390010);
}
.journey-finale span,
.journey-finale i {
  color: #79001f;
}
.journey-finale p {
  color: #531129;
}
.game-section {
  background: linear-gradient(145deg, #25000d, #4b0018 55%, #29000e);
  color: #fff4e8;
}
.game-section .section-heading > p:last-child {
  color: #e1cdd0;
}
.game-panel {
  background: linear-gradient(145deg, #8c0028, #540018);
  border-color: #f0c58e;
}
.note-section {
  background: #fff8f1;
  color: #35101a;
}
.note-content > p:not(.eyebrow) {
  color: #71595a;
}
.note-content h2 em {
  color: #79001f;
}
.note-signature {
  color: #79001f;
}
.note-ornament {
  color: #79001f;
}
.management-card {
  color: #fff4e8;
  background: linear-gradient(145deg, #79001f, #35000f);
  border-color: #c89560;
}
.hero-portrait {
  animation: portraitBounce 4.8s ease-in-out infinite;
}
.reveal {
  transition-duration: 1s;
}
@keyframes portraitBounce {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -14px;
  }
}
@media (max-width: 900px) {
  .memories-section .memory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(6, clamp(130px, 19vw, 175px));
    grid-template-areas:
      "one two two"
      "one three three"
      "four five six"
      "seven five eight"
      "nine nine ten"
      "eleven twelve twelve";
    grid-auto-rows: clamp(130px, 19vw, 175px);
  }
  .year-intro h2,
  .journey-heading h2 {
    font-size: clamp(1.35rem, 6.1vw, 4.4rem);
  }
  .year-stamp {
    right: 1%;
    bottom: 0;
  }
}
@media (max-width: 680px) {
  .memories-section .memory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(7, clamp(120px, 35vw, 160px));
    grid-template-areas:
      "one two"
      "one three"
      "four five"
      "six seven"
      "eight eight"
      "nine ten"
      "eleven twelve";
    grid-auto-rows: clamp(120px, 35vw, 160px);
    gap: 10px;
  }
  .year-intro h2,
  .journey-heading h2 {
    font-size: clamp(1.25rem, 6.15vw, 2.4rem);
  }
  .year-stamp {
    width: 68px;
    height: 68px;
    right: 0;
    bottom: -4px;
  }
  .year-stamp strong {
    font-size: 1.55rem;
  }
  .year-stamp span {
    font-size: 0.32rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-portrait {
    animation: none;
  }
  .reveal {
    transition-duration: 0.01ms;
  }
}

.preloader {
  background: radial-gradient(
    ellipse at center,
    #210c08 0%,
    #190805 58%,
    #130604 100%
  );
}
/* .preloader .eyebrow {
  margin: 0;
  color: #c6a37c;
  font-size: 0.53rem;
  font-weight: 500;
  letter-spacing: 0.36em;
} */

.preloader .eyebrow {
  margin: 0 0 12px;
  font-family: "Allura", cursive;
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 400;
  color: #f2cd79;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: none;
  text-shadow: 0 2px 12px rgba(242, 205, 121, 0.25);
}

/* Make apostrophe clearly visible */
.invite-apostrophe {
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 0.85em;
  font-weight: bold;
  font-style: normal;
  color: #ffd979;
  margin: 0 1px;
  vertical-align: 0.12em;
  text-shadow: 0 0 8px rgba(255, 217, 121, 0.4);
}
.preloader .welcome-copy {
  margin: 0;
  color: #b9a28d;
  font-size: clamp(16px, 4vw, 20px);
}
.preloader .welcome-actions {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0;
}
.preloader .btn {
  min-height: 40px;
  border-radius: 999px;
  font-size: 1rem;
}
.preloader .btn-gold {
  min-width: 190px;
  /* padding: 0 20px; */
  background: linear-gradient(110deg, #f7d784, #e9a43c 72%, #f7d784);
  color: #311609;
}
.preloader .btn-gold span {
  margin-right: 5px;
}
.preloader .btn-quiet {
  min-height: 18px;
  padding: 0 10px;
  border: 0;
  color: #b9a28d;
  font-size: 0.875rem;
}

.site-header {
  height: 46px;
  padding-inline: max(24px, calc((100vw - 790px) / 2));
  background: rgba(25, 6, 5, 0.92);
  border-bottom-color: #e7bd8220;
}
.site-header nav {
  gap: clamp(12px, 1.8vw, 24px);
}
.site-header nav a {
  color: #c6ad96;
  font-size: 0.5rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.brand span,
.brand i {
  color: #e7ad45;
}
.hero.section {
  min-height: 100svh;
  padding: 100px max(24px, calc((100vw - 790px) / 2)) 58px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 55px;
  background-color: #1b0706;
  background-image:
    radial-gradient(ellipse at 9% 12%, #d17a2833 0, transparent 20%),
    radial-gradient(ellipse at 88% 20%, #ac3d1633 0, transparent 24%),
    radial-gradient(
      circle at 12% 25%,
      #f5bb5d44 0 2px,
      #db8d2a35 6px,
      transparent 27px
    ),
    radial-gradient(
      circle at 20% 47%,
      #f3b04d30 0 2px,
      #e7912830 11px,
      transparent 34px
    ),
    radial-gradient(
      circle at 82% 55%,
      #f5be5d55 0 3px,
      #e8872433 13px,
      transparent 40px
    ),
    radial-gradient(
      circle at 94% 31%,
      #f9c16a66 0 3px,
      #d77a2033 12px,
      transparent 36px
    ),
    radial-gradient(ellipse at 50% 50%, #3c100b 0, #230907 58%, #180605 100%);
}
.hero:before {
  opacity: 0.45;
  background-image:
    radial-gradient(circle at 5% 60%, #e59a3d55 0 2px, transparent 4px),
    radial-gradient(circle at 14% 82%, #e59a3d77 0 1px, transparent 3px),
    radial-gradient(circle at 89% 72%, #e59a3d66 0 2px, transparent 5px),
    radial-gradient(circle at 97% 52%, #e59a3d88 0 2px, transparent 5px);
  background-size: 100% 100%;
}
.hero:after {
  display: none;
}
.hero-ornament {
  position: absolute;
  z-index: 0;
  right: -2%;
  bottom: -12%;
  color: transparent;
  font:
    400 clamp(22rem, 40vw, 40rem)/0.7 "Cormorant Garamond",
    serif;
  letter-spacing: -0.08em;
  opacity: 0.22;
  pointer-events: none;
  -webkit-text-stroke: 1px #d4942e;
}
.hero-content {
  width: 100%;
  max-width: 430px;
}
.hero-content > .eyebrow {
  margin: 0 0 18px;
  color: #e1a33f;
  font-size: 0.52rem;
  letter-spacing: 0.38em;
}
.hero h1 {
  margin: 0 0 22px;
  color: #fff3e4;
  font:
    700 clamp(3.6rem, 5.2vw, 4.4rem)/0.9 "Cormorant Garamond",
    serif;
  letter-spacing: -0.035em;
}
.hero h1 em {
  color: #edb84c;
  font-style: normal;
  font-weight: 700;
}
.hero-copy {
  max-width: 430px;
  margin: 0 0 10px;
  color: #dfced0;
  font-size: 0.78rem;
  line-height: 1.6;
}
.hero-signoff {
  margin: 20px 0 0;
  color: #e7b247;
  font:
    italic 600 0.95rem/1.3 "Cormorant Garamond",
    serif;
}
.hero-portrait {
  width: 272px;
  max-width: 100%;
  margin: auto;
  transform: none;
  animation: none;
  filter: drop-shadow(0 20px 40px #0008);
}
.portrait-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d5a843;
  border-radius: 50% 50% 0 0 / 36% 36% 0 0;
  background: #35170e;
  box-shadow:
    0 0 0 10px #e7bd8210,
    0 18px 45px #0006;
}
.portrait-frame img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center 24%;
  border-radius: inherit;
}
.portrait-caption {
  position: absolute;
  z-index: 1;
  bottom: -16px;
  left: 50%;
  margin: 0;
  padding: 5px 17px;
  border-radius: 999px;
  background: linear-gradient(110deg, #f8d77f, #e8a43d);
  color: #381a09;
  font:
    700 0.52rem/1.2 "DM Sans",
    sans-serif;
  /* letter-spacing: 0.25em; */
  white-space: nowrap;
  transform: translateX(-50%);
}
.portrait-caption b {
  color: inherit;
}
.scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 17px;
  left: 50%;
  margin: 0;
  color: #e5ad3c;
  letter-spacing: 0;
  transform: translateX(-50%);
}
.scroll-cue span {
  font-size: 1.1rem;
}
@media (max-width: 900px) {
  .hero.section {
    gap: 32px;
  }
}
@media (max-width: 680px) {
  .site-header {
    height: 66px;
    padding-inline: 20px;
  }
  .site-header nav {
    gap: 18px;
  }
  .hero.section {
    min-height: 0;
    padding: 110px 24px 68px;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    text-align: center;
  }
  .hero-content {
    margin-inline: auto;
  }
  .hero-content > .eyebrow {
    margin-bottom: 16px;
  }
  .hero h1 {
    font-size: clamp(3.3rem, 15vw, 4.2rem);
  }
  .hero-portrait {
    width: min(72vw, 272px);
  }
  .hero-ornament {
    right: -20%;
    bottom: -2%;
    font-size: 80vw;
  }
}

/* Final desktop reference sizing — intentionally last in the cascade. */
@media (min-width: 901px) {
  html {
    scroll-padding-top: 65px;
  }
  .site-header {
    height: 65px;
    padding-inline: max(24px, calc((100vw - 1112px) / 2));
    background: rgba(29, 5, 5, 0.94);
    justify-content: center;
  }
  .brand {
    font-size: 1.5rem;
  }
  .site-header nav {
    gap: 34px;
  }
  .site-header nav a {
    font-size: .8rem;
    letter-spacing: 0.24em;
  }
  .hero.section {
    /* min-height: 960px; */
    min-height: 630px;
    padding: 100px max(24px, calc((100vw - 1112px) / 2)) 58px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 55px;
    background-color: #210806;
    background-image:
      radial-gradient(ellipse at -3% 20%, #c8731d55 0 2%, transparent 20%),
      radial-gradient(
        circle at 11% 12%,
        #f4a93d33 0 2%,
        #b65d1930 5%,
        transparent 13%
      ),
      radial-gradient(
        circle at 17% 44%,
        #f1ae4d30 0 2%,
        #d47b2730 6%,
        transparent 18%
      ),
      radial-gradient(ellipse at 100% 23%, #c8651b55 0 2%, transparent 21%),
      radial-gradient(
        circle at 92% 31%,
        #fac56566 0 3px,
        #d6772133 13px,
        transparent 37px
      ),
      radial-gradient(
        circle at 90% 74%,
        #f3b34755 0 4px,
        #cb692128 19px,
        transparent 55px
      ),
      radial-gradient(ellipse at 50% 50%, #3b100b 0, #240806 57%, #190504 100%);
  }
  .hero:before {
    opacity: 0.5;
    background-image:
      radial-gradient(circle at 12% 72%, #e69b3d77 0 2px, transparent 4px),
      radial-gradient(circle at 18% 82%, #e59a3d55 0 1px, transparent 3px),
      radial-gradient(circle at 84% 84%, #e59a3d77 0 2px, transparent 5px),
      radial-gradient(circle at 96% 49%, #e59a3d88 0 2px, transparent 5px);
  }
  .hero-content {
    max-width: 590px;
  }
  .hero-content > .eyebrow {
    margin-bottom: 29px;
    font-size: 0.63rem;
    letter-spacing: 0.42em;
  }
  .hero h1 {
    margin-bottom: 34px;
    font-size: clamp(5.25rem, 5.35vw, 6.35rem);
    line-height: 0.88;
  }
  .hero-copy {
    max-width: 575px;
    margin: 0 0 18px;
    font-size: 1rem;
    line-height: 1.65;
  }
  .hero-signoff {
    margin-top: 35px;
    font-size: 1.17rem;
  }
  .hero-portrait {
    width: 384px;
    transform: translateY(14px);
    animation: none;
    filter: none;
  }
  .portrait-frame {
    position: relative;
    aspect-ratio: 3 / 4;
    padding: 0;
    border: 1px solid #b47a25;
    border-radius: 50% 50% 0 0 / 37% 37% 0 0;
    background: repeating-linear-gradient(
      135deg,
      #3b1d15 0 14px,
      #452318 14px 28px
    );
    box-shadow: 0 0 0 16px #8a501308;
  }
  .portrait-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
    border-radius: inherit;
  }
  .portrait-frame::after {
    content: none;
  }
  .portrait-caption {
    bottom: -13px;
    padding: 10px 26px;
    font-size: 0.64rem;
    /* letter-spacing: 0.3em; */
  }
}
/* ===== Memory Lane: Fix Head Cropping ===== */
/* .memories-section .memory-card img {
  object-position: center 65% !important;
} */
/* Center Footer Text */
footer {
  position: relative;
}

footer p {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  text-align: center;
  margin: 0;
}
@media (max-width: 768px) {
  footer p {
    position: static;
    transform: none;
    width: 100%;
    text-align: center;
  }
}

/* =====================================================
   LEADERSHIP LETTER - PREMIUM DESIGN
===================================================== */

.leadership-section {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  padding: 0 !important;
  /* background: #3b0013 !important; */
  color: #35101a;
}

/* Main ivory paper */

.leadership-paper {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  margin: 0;
  padding: 105px 5.5% 105px;
  display: grid;

  grid-template-columns:
    minmax(230px, 0.85fr)
    minmax(400px, 1.65fr)
    minmax(230px, 0.8fr);

  gap: 55px;
  align-items: center;

  background:
    radial-gradient(ellipse at 10% 10%, #f3dfc5 0, transparent 35%),
    radial-gradient(ellipse at 90% 90%, #f5e1c9 0, transparent 35%), #fff8ee;

  border-radius: 150px 0 150px 0;
  border: 1px solid #d6a34d;
}

/* Decorative gold corner accents */

.leadership-paper::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  border: 10px solid transparent;

  background:
    linear-gradient(#fff8ee, #fff8ee) padding-box,
    linear-gradient(135deg, #e4b45f, transparent 30%, transparent 70%, #d8a34e)
      border-box;

  pointer-events: none;
}

.leadership-paper::after {
  content: "";
  position: absolute;
  z-index: -2;
  width: 350px;
  height: 350px;
  top: -210px;
  left: -170px;
  border-radius: 50%;
  border: 12px solid #d8a34e;
  opacity: 0.8;
}

/* Heading */

.leadership-heading {
  position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  width: max-content;
  max-width: 90%;

  color: #4b1422;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.45em;
  text-align: center;
}

.leadership-heading .heading-line {
  width: 65px;
  height: 1px;
  background: #d9a84f;
}

/* Feather */

.leadership-feather {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%) rotate(-35deg);

  font-size: 2.5rem;
  color: #c18a39;
}

/* Portrait */

.leadership-portrait {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 330px;
  justify-self: center;
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
}

.leadership-portrait:hover {
  transform: rotate(0deg) translateY(-7px);
}

.portrait-paper {
  position: relative;
  padding: 12px 12px 18px;
  background: #fffdf8;
  box-shadow: 0 18px 35px #4a1d1630;
  border: 1px solid #e5d4bc;
}

.portrait-paper img {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
  object-position: center 30%;
}

.portrait-caption {
  display: block;
  padding-top: 12px;

  /* font-family: "Great Vibes", cursive; */
  font-size: 2rem;
  color: #79001f;
  text-align: center;
}

/* Golden photograph clip */

.portrait-clip {
  position: absolute;
  z-index: 5;
  top: -23px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);

  width: 36px;
  height: 48px;

  border: 4px solid #c28a37;
  border-radius: 12px 12px 3px 3px;

  background: linear-gradient(135deg, #f7d58a, #a86b1d);

  box-shadow: 0 3px 6px #0003;
}

.portrait-clip::after {
  content: "";
  position: absolute;
  left: -7px;
  bottom: -8px;
  width: 42px;
  height: 12px;
  background: #c18b38;
  border-radius: 2px;
}

/* Gold brush under portrait */

.portrait-brush {
  position: absolute;
  z-index: -1;
  width: 90%;
  height: 16px;
  bottom: -9px;
  left: 5%;

  background: linear-gradient(
    90deg,
    transparent,
    #d3a34d,
    #e2b85e,
    transparent
  );

  transform: rotate(-5deg);
}

/* Main message */

.leadership-message {
  position: relative;
  z-index: 2;
}

.leadership-message h2 {
  margin: 0 0 25px;

  color: #321019;
  font-family: "Cormorant Garamond", serif;

  font-size: clamp(2.3rem, 3.3vw, 3.4rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.leadership-message h2 em {
  color: #79001f;
  font-style: italic;
}

.leadership-message > p {
  margin: 0 0 20px;

  color: #49343a;
  font-family: "DM Sans", sans-serif;

  font-size: 0.94rem;
  line-height: 1.9;
}

/* Signature */

.leadership-signature {
  display: flex;
  flex-direction: column;
  gap: 5px;

  margin-top: 38px;
  padding-left: 25px;
  border-left: 5px solid #d9a84f;

  font-family: "Cormorant Garamond", serif;
  color: #79001f;
}

.leadership-signature span {
  font-size: 1.25rem;
  font-style: italic;
}

.leadership-signature strong {
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 700;
}

/* Management quote card */

.leadership-quote {
  position: relative;
  z-index: 2;

  min-height: 235px;
  padding: 35px 25px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;

  background: linear-gradient(145deg, #8a002b, #4b0019 75%, #31000e);

  color: #fff4e8;
  border: 2px solid #d5a34d;

  clip-path: polygon(
    6% 0,
    94% 0,
    100% 9%,
    100% 91%,
    94% 100%,
    6% 100%,
    0 91%,
    0 9%
  );

  box-shadow: 0 18px 35px #4a001e35;

  transition: transform 0.4s ease;
}

.leadership-quote:hover {
  transform: translateY(-8px);
}

.quote-symbol {
  color: #e4b65e;
  font-family: "Cormorant Garamond", serif;
  font-size: 6rem;
  font-weight: 700;
  line-height: 0.8;
  height: 55px;
  text-align: center;
}

.leadership-quote p {
  max-width: 240px;
  margin: 15px 0 30px;

  font-family: "Cormorant Garamond", serif;
  font-size: 1.55rem;
  line-height: 1.25;
  font-style: italic;
}

.leadership-quote a {
  color: #f1c879;
  font-family: "DM Sans", sans-serif;
  font-size: 0.75rem;

  text-decoration: none;
  border-bottom: 1px solid #e4b65e;
  padding-bottom: 6px;

  transition: color 0.3s ease;
}

.leadership-quote a:hover {
  color: white;
}

/* Golden pen flourish */

.leadership-flourish {
  position: absolute;
  z-index: 1;
  right: -20px;
  bottom: 12px;

  width: 48%;
  height: 90px;

  opacity: 0.85;
  pointer-events: none;
}

.leadership-flourish svg {
  width: 100%;
  height: 100%;
}

/* =====================================================
   TABLET RESPONSIVENESS
===================================================== */

@media (max-width: 1100px) {
  .leadership-paper {
    grid-template-columns: 240px 1fr;
    gap: 45px;
    padding: 115px 6% 90px;
    border-radius: 100px 0 100px 0;
  }

  .leadership-portrait {
    max-width: 260px;
  }

  .portrait-paper img {
    height: 260px;
  }

  .leadership-quote {
    grid-column: 1 / -1;
    width: min(400px, 100%);
    min-height: 200px;
    justify-self: center;
  }

  .leadership-flourish {
    width: 55%;
  }
}

/* =====================================================
   MOBILE RESPONSIVENESS
===================================================== */

@media (max-width: 680px) {
  .leadership-paper {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 38px;

    padding: 120px 22px 85px;

    border-radius: 65px 0 65px 0;
  }

  .leadership-heading {
    top: 72px;
    gap: 9px;

    font-size: 0.57rem;
    letter-spacing: 0.2em;
    white-space: nowrap;
  }

  .leadership-heading .heading-line {
    width: 25px;
  }

  .leadership-feather {
    top: 25px;
    font-size: 2rem;
  }

  .leadership-portrait {
    width: 85%;
    max-width: 290px;
  }

  .portrait-paper img {
    height: 300px;
  }

  .leadership-message {
    width: 100%;
  }

  .leadership-message h2 {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
    text-align: center;
  }

  .leadership-message > p {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .leadership-signature {
    margin-top: 28px;
  }

  .leadership-quote {
    width: 100%;
    max-width: 360px;
    min-height: 210px;
  }

  .leadership-flourish {
    width: 100%;
    right: -20px;
    bottom: 5px;
    opacity: 0.5;
  }
}

/* Respect reduced-motion preference */

@media (prefers-reduced-motion: reduce) {
  .leadership-portrait,
  .leadership-quote {
    transition: none;
  }
}

/* Story selector */
.month-selector {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.month-tab {
  font-size: 18px;
  position: relative;
  text-align: left;
  padding: 16px 20px;
  border: 1px solid rgba(183, 131, 34, 0.2);
  background: #fff;
  color: #555;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.5s ease;
  overflow: hidden;
}

/* Active story */
.month-tab.active {
  background: #b78322;
  color: #fff;
  border-color: #b78322;
  transform: translateX(8px);
  box-shadow: 0 8px 25px rgba(183, 131, 34, 0.3);
  animation: storyHighlight 1.2s ease-in-out;
}

.month-tab.active span {
  color: #fff;
}

.month-tab span {
  margin-right: 12px;
  font-weight: 700;
  font-size: 18px;
  color: #b78322;
}

/* Highlight animation */
@keyframes storyHighlight {
  0% {
    transform: translateX(0);
    box-shadow: 0 0 0 rgba(183, 131, 34, 0);
  }

  50% {
    transform: translateX(12px);
    box-shadow: 0 8px 30px rgba(183, 131, 34, 0.4);
  }

  100% {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(183, 131, 34, 0.3);
  }
}

#yearFeature .feature-image {
  display: block !important;
  position: relative;
  width: 100%;
  min-height: 475px;
  height: 100%;
  overflow: hidden;
}

#yearFeature .feature-image img#yearImage {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 475px !important;
  object-fit: cover !important;
  position: relative;
}

.leadership-portrait {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 65px;
  perspective: 1000px;
}

/* Golden hanging strings */
.portrait-paper::before,
.portrait-paper::after {
  content: "";
  position: absolute;
  top: -65px;
  width: 2px;
  height: 85px;
  background: linear-gradient(to bottom, #8c6428, #e4c17a, #b78332);
  z-index: -1;
}

.portrait-paper::before {
  left: 18%;
  transform: rotate(-12deg);
}

.portrait-paper::after {
  right: 18%;
  transform: rotate(12deg);
}

/* Photograph hanging from strings */
.portrait-paper {
  position: relative;
  z-index: 2;
  background: #fffaf0;
  padding: 12px 12px 22px;

  box-shadow:
    0 15px 30px rgba(0, 0, 0, 0.22),
    0 4px 8px rgba(0, 0, 0, 0.12);

  transform-origin: top center;

  /* Automatic swinging on page load */
  animation: hangingSwing 5s ease-in-out infinite;
}

/* Golden clip */
.portrait-clip {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 27px;
  background: linear-gradient(135deg, #d8ae61, #95601e, #e7c681);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.portrait-clip::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60401d;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* Continuous gentle swinging */
@keyframes hangingSwing {
  0% {
    transform: rotate(-4deg);
  }

  25% {
    transform: rotate(2deg);
  }

  50% {
    transform: rotate(4deg);
  }

  75% {
    transform: rotate(-2deg);
  }

  100% {
    transform: rotate(-4deg);
  }
}

/* Photograph */
.portrait-paper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {
  .leadership-portrait {
    padding-top: 55px;
  }

  .portrait-paper {
    max-width: 85%;
  }
}

/* ==========================================
   GROWTH JOURNEY - PREMIUM LEGACY TIMELINE
========================================== */

.gj-section {
  --gj-burgundy: #75001f;
  --gj-dark: #3c1117;
  --gj-gold: #c99543;
  --gj-light-gold: #f2d58e;
  --gj-cream: #fff7ed;

  position: relative;
  width: 100%;
  padding: 95px 4% 85px;
  overflow: hidden;
  isolation: isolate;

  background: radial-gradient(
    ellipse at 50% 45%,
    #fffdf9 0%,
    #fff8ef 65%,
    #f9eddf 100%
  );
}

/* ==========================================
   BACKGROUND DECORATIONS
========================================== */

.gj-decoration {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(193, 142, 65, 0.22);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

.gj-decoration::before,
.gj-decoration::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(193, 142, 65, 0.15);
  border-radius: 50%;
}

.gj-decoration::before {
  inset: 25px;
}

.gj-decoration::after {
  inset: 50px;
}

.gj-decoration-top {
  top: -320px;
  left: -170px;
}

.gj-decoration-bottom {
  bottom: -330px;
  right: -170px;
}

/* ==========================================
   HEADING
========================================== */

.gj-heading {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 45px;
}

.gj-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-bottom: 18px;
}

.gj-eyebrow p {
  color: var(--gj-burgundy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 5px;
  margin: 0;
}

.gj-eyebrow span {
  display: block;
  width: 75px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gj-gold));
}

.gj-eyebrow span:last-child {
  transform: rotate(180deg);
}

.gj-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 5.3vw, 76px);
  font-weight: 400;
  line-height: 1.12;
  color: #39151a;
  margin: 0 0 18px;
}

.gj-heading h2 em {
  color: #980b32;
  font-weight: 400;
}

.gj-subtitle {
  color: #795d55;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto;
  max-width: 850px;
}

.gj-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  margin-top: 25px;
}

.gj-divider span {
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gj-gold));
}

.gj-divider i {
  color: var(--gj-gold);
  font-size: 22px;
  font-style: normal;
}

/* ==========================================
   TIMELINE LAYOUT
========================================== */

.gj-timeline {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

/* Flowing golden connector */

.gj-connecting-line {
  position: absolute;
  z-index: 0;
  top: 174px;
  left: 9%;
  right: 9%;
  height: 45px;
  border-top: 3px solid var(--gj-gold);
  border-radius: 50%;
  filter: drop-shadow(0 2px 3px rgba(188, 133, 47, 0.25));
}

.gj-connecting-line::before,
.gj-connecting-line::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 13px;
  height: 13px;
  background: var(--gj-burgundy);
  border: 3px solid var(--gj-light-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201, 149, 67, 0.12);
}

.gj-connecting-line::before {
  left: 32%;
}

.gj-connecting-line::after {
  right: 32%;
}

/* ==========================================
   INDIVIDUAL MILESTONE
========================================== */

.gj-item {
  position: relative;
  z-index: 1;
  min-width: 0;
  text-align: center;
  padding: 0 8px;

  opacity: 0;
  transform: translateY(35px);

  animation: gjReveal 0.9s ease forwards;
}

.gj-item:nth-of-type(2) {
  animation-delay: 0.15s;
}

.gj-item:nth-of-type(3) {
  animation-delay: 0.3s;
}

.gj-item:nth-of-type(4) {
  animation-delay: 0.45s;
}

.gj-item:nth-of-type(5) {
  animation-delay: 0.6s;
}

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

/* ==========================================
   CHAPTER LABEL
========================================== */

.gj-chapter-label {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;

  color: var(--gj-burgundy);
  font-family: Georgia, serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;

  transform: rotate(-3deg);
}

.gj-item:nth-child(even) .gj-chapter-label {
  transform: rotate(3deg);
}

.gj-chapter-label::before,
.gj-chapter-label::after {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 27px;
  height: 1px;
  background: var(--gj-gold);
}

.gj-chapter-label::before {
  left: -15px;
  transform: rotate(-35deg);
}

.gj-chapter-label::after {
  right: -15px;
  transform: rotate(35deg);
}

/* ==========================================
   LOGO MEDALLION
========================================== */

.gj-logo-area {
  position: relative;
  height: 245px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gj-logo-circle {
  position: relative;
  z-index: 2;

  width: 210px;
  height: 210px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 27px;

  border-radius: 50%;

  background: radial-gradient(circle, #ffffff 0%, #fffaf2 65%, #f7e7cf 100%);

  border: 5px solid #d5a04b;

  box-shadow:
    0 0 0 7px rgba(210, 163, 86, 0.12),
    0 0 0 12px rgba(210, 163, 86, 0.06),
    0 12px 25px rgba(77, 35, 18, 0.16);

  transition:
    transform 0.5s ease,
    box-shadow 0.5s ease;
}

/* Inner gold border */

.gj-logo-circle::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(193, 142, 65, 0.55);
  border-radius: 50%;
  pointer-events: none;
}

/* Gold highlight */

.gj-logo-circle::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 25%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #f7d88c, transparent);
}

.gj-logo-circle img {
  position: relative;
  z-index: 2;

  width: 100%;
  height: 100%;

  object-fit: contain;
  display: block;

  transition: transform 0.5s ease;
}

.gj-item:hover .gj-logo-circle {
  transform: translateY(-7px) scale(1.035);

  box-shadow:
    0 0 0 9px rgba(210, 163, 86, 0.17),
    0 0 0 15px rgba(210, 163, 86, 0.08),
    0 18px 32px rgba(77, 35, 18, 0.2);
}

.gj-item:hover .gj-logo-circle img {
  transform: scale(1.07);
}

/* ==========================================
   COMPANY CONTENT
========================================== */

.gj-content {
  position: relative;
  padding: 0 10px;
}

.gj-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  color: #830021;
  margin: 0 0 12px;
}

.gj-title-divider {
  width: 65px;
  height: 2px;
  margin: 0 auto 14px;

  background: linear-gradient(90deg, transparent, var(--gj-gold), transparent);
}

.gj-content p {
  color: #43272a;
  font-size: 15px;
  line-height: 1.7;
  max-width: 310px;
  margin: 0 auto 22px;
}

/* ==========================================
   BURGUNDY AND GOLD RIBBON
========================================== */

.gj-ribbon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 180px;
  min-height: 43px;

  padding: 10px 25px;

  background: linear-gradient(135deg, #850021, #520015);

  color: #f7d98d;

  border: 2px solid #d9a94e;

  clip-path: polygon(9% 0, 91% 0, 100% 50%, 91% 100%, 9% 100%, 0 50%);

  outline: none;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;

  filter: drop-shadow(0 5px 5px rgba(76, 0, 18, 0.2));

  transition:
    transform 0.35s ease,
    filter 0.35s ease;
}

.gj-item:hover .gj-ribbon {
  transform: translateY(-4px);
  filter: drop-shadow(0 9px 8px rgba(76, 0, 18, 0.25));
}

/* ==========================================
   VERTICAL GOLD DIVIDERS
========================================== */

.gj-item:not(:last-child)::after {
  content: "";
  position: absolute;

  right: -12px;
  top: 255px;

  height: 175px;
  width: 1px;

  background: linear-gradient(
    180deg,
    transparent,
    rgba(197, 147, 65, 0.55),
    transparent
  );
}

.gj-item:not(:last-child)::before {
  content: "✦";
  position: absolute;

  right: -17px;
  top: 337px;

  color: var(--gj-gold);
  font-size: 14px;
  z-index: 2;
}

/* ==========================================
   FUTURE CHAPTER
========================================== */

.gj-future-logo {
  flex-direction: column;
  gap: 0;
  color: var(--gj-burgundy);
}

.gj-future-symbol {
  color: var(--gj-gold);
  font-size: 55px;
  line-height: 1;
  margin-bottom: 5px;
}

.gj-future-text {
  font-family: Georgia, serif;
  font-size: 31px;
  line-height: 0.9;
  font-weight: 700;
  color: var(--gj-burgundy);
}

/* ==========================================
   JOURNEY FINALE
========================================== */

.gj-finale {
  position: relative;
  text-align: center;
  margin: 70px auto 0;
  max-width: 850px;
}

.gj-finale span {
  display: block;
  color: #94072c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 17px;
}

.gj-finale p {
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.5vw, 34px);
  font-style: italic;
  line-height: 1.5;
  color: #481a20;
  margin: 0;
}

.gj-finale i {
  display: block;
  margin-top: 16px;
  color: var(--gj-gold);
  font-size: 26px;
  font-style: normal;
}

/* ==========================================
   TABLET RESPONSIVE
========================================== */

@media (max-width: 1100px) {
  .gj-section {
    padding: 85px 4%;
  }

  .gj-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 65px 35px;
    max-width: 850px;
  }

  .gj-connecting-line {
    display: none;
  }

  .gj-logo-circle {
    width: 190px;
    height: 190px;
  }

  .gj-item:not(:last-child)::after,
  .gj-item:not(:last-child)::before {
    display: none;
  }

  .gj-content h3 {
    font-size: 27px;
  }
}

/* ==========================================
   MOBILE RESPONSIVE
========================================== */

@media (max-width: 600px) {
  .gj-section {
    padding: 75px 20px 65px;
  }

  .gj-heading {
    margin-bottom: 45px;
  }

  .gj-eyebrow {
    gap: 12px;
  }

  .gj-eyebrow p {
    font-size: 10px;
    letter-spacing: 3px;
  }

  .gj-eyebrow span {
    width: 35px;
  }

  .gj-heading h2 {
    font-size: 39px;
    line-height: 1.15;
  }

  .gj-subtitle {
    font-size: 13px;
    line-height: 1.7;
  }

  .gj-divider span {
    width: 65px;
  }

  .gj-timeline {
    grid-template-columns: minmax(0, 1fr);
    gap: 55px;
    max-width: 400px;
  }

  .gj-logo-area {
    height: 225px;
  }

  .gj-logo-circle {
    width: 190px;
    height: 190px;
  }

  .gj-chapter-label {
    font-size: 14px;
  }

  .gj-content h3 {
    font-size: 29px;
  }

  .gj-content p {
    font-size: 14px;
    max-width: 330px;
  }

  .gj-finale {
    margin-top: 60px;
  }

  .gj-finale span {
    font-size: 9px;
    letter-spacing: 2.5px;
  }

  .gj-finale p {
    font-size: 23px;
  }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
  .gj-item {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .gj-logo-circle,
  .gj-logo-circle img,
  .gj-ribbon {
    transition: none;
  }
}

/* ==================================
   LOGO-FREE TYPOGRAPHIC EMBLEMS
================================== */

.gj-monogram {
  flex-direction: column;
  justify-content: center;
  gap: 8px;

  background: radial-gradient(circle, #ffffff 0%, #fff9ef 65%, #f4e5cd 100%);
}

.gj-initials {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 85px;
  line-height: 1;
  font-weight: 400;

  color: #850021;

  background: linear-gradient(135deg, #500016, #a00b35, #500016);

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gj-ai-initials {
  font-family: Georgia, serif;
  font-weight: 700;
  font-style: italic;
  font-size: 78px;
}

.gj-monogram-line {
  width: 48px;
  height: 2px;

  background: linear-gradient(90deg, transparent, #c99543, transparent);
}

.gj-monogram-name {
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;

  color: #8b1730;
  text-align: center;
}

.gj-item:hover .gj-initials {
  transform: scale(1.08);
}

.gj-initials {
  transition: transform 0.4s ease;
}

.hero h1 {
  white-space: normal;
  font-size: clamp(48px, 5.5vw, 76px);
  line-height: 0.98;
  letter-spacing: -2px;
}

.hero h1 em {
  display: inline;
  white-space: nowrap;
  font-style: normal;
  color: #edb84c;
}

/* Reduce top whitespace before Memory Lane */

.memories-section {
  padding-top: 20px !important;
  margin-top: 0 !important;
}

.memories-section .section-heading,
.memories-section .memories-heading {
  margin-top: 0 !important;
}

.hero-portrait .portrait-frame {
  overflow: hidden;
}

.hero-portrait .portrait-frame img {
  animation: portraitZoom 2.5s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes portraitZoom {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.18);
  }
}

/* =====================================
   FINAL RED CARPET MAROON BACKGROUND
   ===================================== */

.hero.section {
  background: radial-gradient(
    ellipse at 50% 35%,
    #8f123b 0%,
    #720b30 32%,
    #4b0822 65%,
    #260010 100%
  ) !important;

  background-color: #260010 !important;
  background-image: radial-gradient(
    ellipse at 50% 35%,
    #8f123b 0%,
    #720b30 32%,
    #4b0822 65%,
    #260010 100%
  ) !important;
}

/* ==========================================
   GROWTH JOURNEY SECTION
========================================== */

.growth-journey-section {
  position: relative;
  width: 100%;
  padding: 85px 5% 65px;
  overflow: hidden;
  isolation: isolate;

  background: radial-gradient(
    ellipse at 50% 45%,
    #fffdf9 0%,
    #fff8ef 65%,
    #f9eddf 100%
  );

  color: #35101a;
}

.gj-container {
  max-width: 1450px;
  margin: auto;
  position: relative;
  z-index: 2;
}

/* ==========================================
   HEADING
========================================== */

.gj-heading {
  text-align: center;
  margin-bottom: 55px;
}

.gj-eyebrow {
  display: inline-block;
  color: #79001f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  margin-bottom: 17px;
}

.gj-heading h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 5vw, 65px);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 18px;
}

.gj-heading h2 em {
  color: #950b35;
}

.gj-heading p {
  font-size: 15px;
  color: #796b65;
  line-height: 1.8;
}

.gj-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  color: #d5a13d;
}

.gj-divider span {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d5a13d);
}

.gj-divider span:last-child {
  transform: rotate(180deg);
}

.gj-divider b {
  font-size: 20px;
}

/* ==========================================
   MAIN LAYOUT
========================================== */

.gj-main {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 45px;
}

/* ==========================================
   IMAGE AREA
========================================== */

.gj-image-area {
  position: relative;
  perspective: 1200px;
  padding: 15px;
}

.gj-image-backdrop {
  position: absolute;
  inset: 10px;
  border: 1px solid #e1b55e;
  border-radius: 35px;
  transform: rotate(-4deg);
  background: #79001f;
  transition: transform 0.5s ease;
}

.gj-image-card {
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: hidden;

  border: 4px solid #fff5e3;
  border-radius: 32px;

  box-shadow:
    0 20px 45px rgba(65, 15, 25, 0.2),
    0 0 0 1px #d6a84f;

  transform-style: preserve-3d;

  transition:
    transform 0.18s ease-out,
    box-shadow 0.4s ease;
}

.gj-image-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Image hover */

.gj-image-area:hover .gj-image-card {
  box-shadow:
    0 30px 65px rgba(65, 15, 25, 0.28),
    0 0 0 2px #d6a84f;
}

.gj-image-area:hover .gj-image-backdrop {
  transform: rotate(-6deg) translate(-5px, 5px);
}

/* ==========================================
   BUSINESS GRID
========================================== */

.gj-business-area {
  width: 100%;
}

.gj-business-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 38px;
  column-gap: 12px;
}

.gj-business-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* ==========================================
   CIRCULAR ICONS
========================================== */

.gj-icon-circle {
  width: clamp(82px, 8vw, 112px);
  height: clamp(82px, 8vw, 112px);

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background: radial-gradient(circle, #ffffff 0%, #fffaf2 65%, #f7e7cf 100%);

  border: 4px solid #d5a04b;

  box-shadow:
    0 0 0 5px rgba(210, 163, 86, 0.12),
    0 10px 25px rgba(100, 45, 20, 0.15),
    inset 0 0 0 3px #fff;

  position: relative;

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.gj-icon-circle::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid #e5c37d;
  border-radius: 50%;
  pointer-events: none;
}

/* ICON */

.gj-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #970c36;

  transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gj-icon svg {
  width: 100%;
  height: 100%;

  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gj-letter {
  font-family: Georgia, serif;
  font-size: 55px;
  font-weight: bold;
  line-height: 1;
}

/* ICON HOVER ROTATION */

.gj-business-item:hover .gj-icon {
  transform: rotate(360deg);
}

.gj-business-item:hover .gj-icon-circle {
  transform: translateY(-6px) scale(1.05);

  box-shadow:
    0 0 0 7px rgba(210, 163, 86, 0.17),
    0 15px 30px rgba(100, 45, 20, 0.22),
    inset 0 0 0 3px #fff;
}

/* ==========================================
   BUSINESS TITLES
========================================== */

.gj-business-item h3 {
  font-family: Georgia, serif;
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 700;
  color: #79001f;
  line-height: 1.1;

  margin: 15px 0 10px;

  min-height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.gj-small-line {
  display: block;
  width: 45px;
  height: 2px;

  background: linear-gradient(90deg, transparent, #d5a13d, transparent);

  transition: width 0.4s ease;
}

.gj-business-item:hover .gj-small-line {
  width: 70px;
}

/* ==========================================
   FINALE
========================================== */

.gj-finale {
  text-align: center;
  margin-top: 65px;
}

.gj-finale > span {
  color: #8b1234;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 4px;
}

.gj-finale h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-style: italic;
  font-weight: 600;
  color: #42101d;

  margin: 18px auto 0;
  line-height: 1.35;
}

/* ==========================================
   RESPONSIVE TABLET
========================================== */

@media (max-width: 1100px) {
  .gj-main {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .gj-image-area {
    max-width: 750px;
    margin: auto;
    width: 100%;
  }

  .gj-business-grid {
    max-width: 800px;
    margin: auto;
    row-gap: 45px;
  }

  .gj-icon-circle {
    width: 105px;
    height: 105px;
  }
}

/* ==========================================
   RESPONSIVE MOBILE
========================================== */

@media (max-width: 600px) {
  .growth-journey-section {
    padding: 65px 18px 50px;
  }

  .gj-heading {
    margin-bottom: 35px;
  }

  .gj-heading h2 {
    font-size: 39px;
  }

  .gj-heading p {
    font-size: 13px;
  }

  .gj-main {
    gap: 40px;
  }

  .gj-image-area {
    padding: 10px;
  }

  .gj-image-card {
    border-radius: 20px;
  }

  .gj-business-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px 15px;
  }

  .gj-icon-circle {
    width: 95px;
    height: 95px;
  }

  .gj-icon {
    width: 42px;
    height: 42px;
  }

  .gj-business-item h3 {
    font-size: 18px;
    min-height: 40px;
  }

  .gj-finale {
    margin-top: 45px;
  }
}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {
  .gj-icon,
  .gj-icon-circle,
  .gj-image-card,
  .gj-image-backdrop {
    transition: none !important;
  }
}

/* Header right-aligned music play/pause icon button */
.site-header {
  gap: 14px;
}
@media (min-width: 681px) {
  .site-header nav {
    margin-inline: auto;
  }
}
.site-header .music-control {
  position: relative;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(231, 189, 130, 0.55);
  background: rgba(34, 8, 13, 0.72);
  color: #f0cc8b;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header .music-control:hover {
  background: #7e142b;
  color: #fff;
  border-color: #f5d38f;
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(231, 189, 130, 0.28);
}
.site-header .music-control.is-playing {
  background: rgba(126, 20, 43, 0.85);
  border-color: #f2ca7d;
  color: #fff3d1;
  box-shadow: 0 0 16px rgba(242, 202, 125, 0.28);
}
.site-header .music-control #musicIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
  line-height: 1;
}
.site-header .music-control #musicLabel {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 680px) {
  .site-header .menu-toggle {
    margin-left: auto;
    margin-right: 4px;
  }
  .site-header .music-control {
    width: 36px;
    height: 36px;
  }
}







