/* =========================================================
   ALINKA MUSIC — Elegant premium site
   Classical-Crossover Vocalist · Soprano
   ========================================================= */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

img,
picture,
video,
iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --bg: #faf7f2;
  --bg-alt: #f2ede3;
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-muted: #8a8278;
  --line: #e5e0d6;
  --gold: #b89968;
  --gold-dark: #9a7d4f;
  --white: #ffffff;
  --shadow-soft: 0 10px 40px rgba(26, 26, 26, 0.08);
  --shadow-deep: 0 20px 60px rgba(26, 26, 26, 0.18);

  /* Typography */
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Fluid spacing */
  --space-3xs: clamp(0.25rem, 0.5vw, 0.5rem);
  --space-2xs: clamp(0.5rem, 1vw, 0.75rem);
  --space-xs: clamp(0.75rem, 1.5vw, 1rem);
  --space-sm: clamp(1rem, 2vw, 1.5rem);
  --space-md: clamp(1.5rem, 3vw, 2.5rem);
  --space-lg: clamp(2.5rem, 5vw, 4rem);
  --space-xl: clamp(4rem, 8vw, 7rem);
  --space-2xl: clamp(6rem, 12vw, 10rem);

  /* Fluid type */
  --fs-xs: clamp(0.75rem, 0.7vw + 0.6rem, 0.875rem);
  --fs-sm: clamp(0.875rem, 0.5vw + 0.75rem, 1rem);
  --fs-base: clamp(1rem, 0.5vw + 0.875rem, 1.125rem);
  --fs-md: clamp(1.125rem, 0.5vw + 1rem, 1.25rem);
  --fs-lg: clamp(1.5rem, 1.5vw + 1rem, 2rem);
  --fs-xl: clamp(2rem, 3vw + 1rem, 3rem);
  --fs-2xl: clamp(2.5rem, 5vw + 1rem, 5rem);
  --fs-3xl: clamp(3.5rem, 8vw + 1rem, 8rem);

  /* Layout */
  --container-max: 1400px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);
  --radius-sm: 2px;
  --radius-md: 4px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 200ms;
  --dur-med: 450ms;
  --dur-slow: 900ms;
}

/* ---------- Base ---------- */
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 {
  font-size: var(--fs-3xl);
  font-weight: 300;
}

h2 {
  font-size: var(--fs-2xl);
  font-weight: 300;
}

h3 {
  font-size: var(--fs-xl);
}

p {
  max-width: 65ch;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

section {
  padding-block: var(--space-2xl);
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-sm);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 0.75rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background var(--dur-med) var(--ease),
    color var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
  min-height: 44px;
}

.btn:hover,
.btn:focus-visible {
  background: var(--ink);
  color: var(--bg);
}

.btn--gold {
  border-color: var(--gold);
  color: var(--gold-dark);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: 1.25rem;
  /* On hero (transparent) — everything white. */
  --hd-text: #ffffff;
  --hd-text-soft: rgba(255, 255, 255, 0.75);
  --hd-text-active: #f0d9a6;
  --hd-line: rgba(255, 255, 255, 0.35);
  transition: background var(--dur-med) var(--ease),
    box-shadow var(--dur-med) var(--ease),
    padding-block var(--dur-med) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 0.75rem;
  /* After scroll — back to ink/dark text on cream bg */
  --hd-text: var(--ink);
  --hd-text-soft: var(--ink-muted);
  --hd-text-active: var(--gold-dark);
  --hd-line: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--hd-text);
  text-transform: uppercase;
  transition: color var(--dur-med) var(--ease);
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 0.125rem;
}

.site-header.is-scrolled .brand small {
  color: var(--gold-dark);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__list {
  display: flex;
  gap: var(--space-md);
  list-style: none;
}

.nav__link {
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--hd-text);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--dur-fast) var(--ease);
}

.nav__link::after {
  content: "";
  position: absolute;
  inset: auto 50% 0 50%;
  height: 1px;
  background: var(--gold);
  transition: inset var(--dur-med) var(--ease);
}

.nav__link:hover::after,
.nav__link:focus-visible::after {
  inset: auto 0 0 0;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav__lang a {
  padding: 0.5rem 0.25rem;
  color: var(--hd-text-soft);
  transition: color var(--dur-fast) var(--ease);
}

.nav__lang a.is-active {
  color: var(--hd-text-active);
  font-weight: 500;
}

.nav__lang a:hover {
  color: var(--hd-text);
}

.nav__lang span {
  color: var(--hd-line);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 110;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--hd-text);
  margin: 6px auto;
  transition: transform var(--dur-med) var(--ease),
    opacity var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}

.nav__list.is-open ~ .menu-toggle span,
.menu-toggle[aria-expanded="true"] span {
  background: var(--ink);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-block: 0;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.15) 40%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: var(--space-2xl) var(--space-xl);
  color: var(--white);
}

.hero__title {
  font-size: clamp(4rem, 14vw, 11rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  margin-bottom: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.hero__role {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1;
}

.hero__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lg);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 40rem;
  margin-bottom: var(--space-md);
}

.hero__scroll {
  position: absolute;
  inset: auto auto var(--space-md) 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.6);
  animation: scrollLine 2s infinite var(--ease);
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ---------- Section header ---------- */
.section-head {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-head h2 {
  margin-top: 0.5rem;
}

.section-head__intro {
  margin: var(--space-sm) auto 0;
  font-size: var(--fs-md);
  color: var(--ink-soft);
  max-width: 50rem;
}

/* ---------- About ---------- */
.about {
  background: var(--bg);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about__image {
  position: relative;
}

.about__image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about__image::before {
  content: "";
  position: absolute;
  inset: var(--space-md) calc(-1 * var(--space-md))
    calc(-1 * var(--space-md)) var(--space-md);
  border: 1px solid var(--gold);
  z-index: -1;
}

.about__content h2 {
  margin-bottom: var(--space-md);
}

.about__content p {
  color: var(--ink-soft);
  margin-bottom: var(--space-sm);
  font-size: var(--fs-md);
  line-height: 1.8;
}

.about__signature {
  margin-top: var(--space-md);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--gold-dark);
}

/* ---------- Video / Videos ---------- */
.video,
.videos {
  background: var(--bg-alt);
}

.video__wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow-deep);
}

.video__wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video__frame {
  position: absolute;
  inset: calc(-1 * var(--space-sm));
  border: 1px solid var(--gold);
  pointer-events: none;
}

/* Featured video — poster-style button, opens lightbox on click */
.video-featured {
  position: relative;
  display: block;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  padding: 0;
  background: var(--ink);
  cursor: pointer;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}

.video-featured > .video__frame {
  position: absolute;
  inset: calc(-1 * var(--space-sm));
  border: 1px solid var(--gold);
  pointer-events: none;
  z-index: 2;
}

.video-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: transform var(--dur-slow) var(--ease),
    opacity var(--dur-med) var(--ease);
}

.video-featured:hover img,
.video-featured:focus-visible img {
  opacity: 1;
  transform: scale(1.02);
}

.video-featured__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: clamp(64px, 8vw, 88px);
  height: clamp(64px, 8vw, 88px);
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease),
    transform var(--dur-med) var(--ease);
  z-index: 1;
}

.video-featured__play svg {
  width: 36%;
  height: 36%;
  fill: var(--white);
  margin-left: 4%;
}

.video-featured:hover .video-featured__play,
.video-featured:focus-visible .video-featured__play {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.08);
}

/* Video lightbox — same dark-overlay as image lightbox, but holds an iframe */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 15, 15, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease),
    visibility var(--dur-med) var(--ease);
}

.video-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.video-lightbox__inner {
  width: 100%;
  max-width: min(1400px, 95vw);
  aspect-ratio: 16 / 9;
  max-height: 90vh;
  box-shadow: var(--shadow-deep);
  background: #000;
}

.video-lightbox__frame {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.video-lightbox__close:hover,
.video-lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Videos slider — horizontal, snap-aligned, with prev/next nav */
.videos__slider {
  position: relative;
  max-width: 1100px;
  margin: var(--space-xl) auto 0;
  --videos-gap: clamp(0.75rem, 1.5vw, 1.25rem);
  --videos-visible: 1; /* mobile default */
}

@media (min-width: 640px) {
  .videos__slider { --videos-visible: 2; }
}

@media (min-width: 960px) {
  .videos__slider { --videos-visible: 3; }
}

.videos__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(
    (100% - (var(--videos-visible) - 1) * var(--videos-gap)) / var(--videos-visible)
  );
  gap: var(--videos-gap);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.5rem;
}

.videos__track::-webkit-scrollbar { display: none; }

.videos__track > .video-card {
  scroll-snap-align: start;
  min-width: 0;
}

.videos__nav {
  position: absolute;
  top: calc(50% - 1rem); /* center on thumbnail row */
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 5;
  box-shadow: var(--shadow-soft);
  transition: background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    opacity var(--dur-fast) var(--ease);
}

.videos__nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.videos__nav:hover,
.videos__nav:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.videos__nav[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.videos__nav--prev { left: -22px; }
.videos__nav--next { right: -22px; }

@media (max-width: 720px) {
  .videos__nav { display: none; }  /* mobile uses native swipe only */
}

.video-card {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform var(--dur-med) var(--ease);
}

.video-card:hover,
.video-card:focus-visible {
  transform: translateY(-3px);
}

.video-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease),
    opacity var(--dur-med) var(--ease);
  opacity: 0.92;
}

.video-card:hover .video-card__thumb img,
.video-card:focus-visible .video-card__thumb img {
  transform: scale(1.04);
  opacity: 1;
}

.video-card__play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(26, 26, 26, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease),
    transform var(--dur-med) var(--ease);
}

.video-card__play svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
  margin-left: 3px;
}

.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.08);
}

.video-card__title {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  line-height: 1.45;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.videos__all {
  text-align: center;
  margin-top: var(--space-lg);
}

.videos__all a {
  font-size: var(--fs-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid transparent;
  padding: 0.5rem 0;
  transition: border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.videos__all a:hover {
  color: var(--ink);
  border-color: var(--gold);
}

/* ---------- Gallery ---------- */
.gallery {
  background: var(--bg);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(0.5rem, 1.5vw, 1rem);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  background: var(--bg-alt);
}

.gallery__item:nth-child(7n + 1) {
  aspect-ratio: 3 / 4;
}
.gallery__item:nth-child(7n + 3) {
  aspect-ratio: 4 / 5;
}
.gallery__item:nth-child(7n + 5) {
  aspect-ratio: 1 / 1;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0);
  transition: background var(--dur-med) var(--ease);
}

.gallery__item:hover img,
.gallery__item:focus-visible img {
  transform: scale(1.05);
}

.gallery__item:hover::after {
  background: rgba(26, 26, 26, 0.15);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 15, 15, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-med) var(--ease),
    visibility var(--dur-med) var(--ease);
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: var(--shadow-deep);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.lightbox__close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox__prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--bg-alt);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: flex-start;
}

.contact__intro h2 {
  margin-bottom: var(--space-md);
}

.contact__intro p {
  color: var(--ink-soft);
  font-size: var(--fs-md);
  margin-bottom: var(--space-md);
}

.contact__details {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: var(--fs-sm);
}

.contact__details a {
  color: var(--gold-dark);
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease);
}

.contact__details a:hover {
  border-color: var(--gold);
}

.socials {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-md);
}

.socials a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease);
}

.socials a:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ---------- Form ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form__field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form__field label {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.form__field input,
.form__field textarea {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  font-size: var(--fs-base);
  color: var(--ink);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
  min-height: 48px;
}

.form__field textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.55;
}

.form__field input:focus,
.form__field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 153, 104, 0.12);
}

/* Honeypot — hidden from humans */
.form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form__submit {
  align-self: flex-start;
  margin-top: var(--space-sm);
}

.form__msg {
  font-size: var(--fs-sm);
  padding: var(--space-sm);
  border-left: 2px solid var(--gold);
  background: rgba(184, 153, 104, 0.08);
  margin-bottom: var(--space-md);
}

.form__msg--error {
  border-color: #c0392b;
  background: rgba(192, 57, 43, 0.08);
  color: #80251c;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding-block: var(--space-lg) var(--space-md);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.site-footer .brand {
  color: var(--bg);
}

.site-footer .brand small {
  color: var(--gold);
}

.site-footer .socials a {
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
}

.site-footer .socials a:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.site-footer__copy {
  margin-top: var(--space-md);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.08em;
}

.site-footer__copy a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--dur-fast) var(--ease);
}

.site-footer__copy a:hover {
  color: var(--gold);
}

.site-footer__copy nav {
  display: flex;
  gap: 1.25rem;
}

@media (max-width: 540px) {
  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }
  .site-footer__copy {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--bg);
  padding-block: var(--space-2xl);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial {
  padding: var(--space-md);
  background: var(--white);
  border-left: 2px solid var(--gold);
  margin: 0;
}

.testimonial__text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: var(--space-sm);
  quotes: "\201C" "\201D";
}

.testimonial__text::before {
  content: open-quote;
  font-size: 2em;
  line-height: 0.3;
  color: var(--gold);
  vertical-align: -0.3em;
  margin-right: 0.2em;
}

.testimonial__author {
  font-size: var(--fs-sm);
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

/* ---------- Wedding page ---------- */
.wedding-hero {
  position: relative;
  padding-top: clamp(8rem, 14vw, 12rem);
  padding-bottom: var(--space-xl);
  background: var(--bg);
}

.wedding-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.wedding-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.wedding-hero__content h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.wedding-hero__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--ink-soft);
  max-width: 32rem;
  margin-bottom: var(--space-md);
}

.wedding-section {
  padding-block: var(--space-xl);
}

.wedding-section--alt {
  background: var(--bg-alt);
}

.wedding-section h2 {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.wedding-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}

.wedding-card {
  padding: var(--space-md);
  background: var(--white);
  border: 1px solid var(--line);
}

.wedding-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
}

.wedding-card ul {
  list-style: none;
}

.wedding-card li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
}

.wedding-card li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.wedding-cta {
  text-align: center;
  padding-block: var(--space-xl);
  background: var(--ink);
  color: var(--bg);
}

.wedding-cta h2 {
  color: var(--bg);
  margin-bottom: var(--space-sm);
}

.wedding-cta p {
  margin: 0 auto var(--space-md);
  color: rgba(255, 255, 255, 0.7);
}

.wedding-cta .btn {
  border-color: var(--gold);
  color: var(--gold);
}

.wedding-cta .btn:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

@media (max-width: 860px) {
  .wedding-hero__grid,
  .wedding-cols {
    grid-template-columns: 1fr;
  }
  .wedding-hero__media img {
    max-height: 60svh;
  }
}

/* ---------- Legal pages: force scrolled header always ---------- */
body.legal-page .site-header,
body.wedding-page .site-header {
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  --hd-text: var(--ink);
  --hd-text-soft: var(--ink-muted);
  --hd-text-active: var(--gold-dark);
  --hd-line: var(--line);
}

body.legal-page .site-header .brand small,
body.wedding-page .site-header .brand small {
  color: var(--gold-dark);
}

/* ---------- Legal pages (Privacy / Terms) ---------- */
.legal {
  padding-block: clamp(7rem, 12vw, 11rem) var(--space-xl);
  background: var(--bg);
}

.legal__inner {
  max-width: 760px;
  margin-inline: auto;
}

.legal__back {
  display: inline-block;
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-fast) var(--ease);
}

.legal__back:hover {
  border-color: var(--gold);
}

.legal h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
  margin-bottom: var(--space-sm);
}

.legal__meta {
  font-size: var(--fs-sm);
  color: var(--ink-muted);
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.legal h2 {
  font-size: var(--fs-lg);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal p,
.legal ul {
  font-size: var(--fs-base);
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.5rem;
}

.legal a {
  color: var(--gold-dark);
  border-bottom: 1px solid var(--gold);
}

.legal a:hover {
  color: var(--ink);
}

/* ---------- Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Responsive ---------- */

/* Tablet landscape and below */
@media (max-width: 1024px) {
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .about__image {
    max-width: 32rem;
    margin-inline: auto;
  }
}

/* Mobile-only drawer items — hidden on desktop */
.nav__list__mobile-row,
.nav__list__mobile-divider {
  display: none;
}

/* Tablet portrait and below */
@media (max-width: 860px) {
  .nav__list {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(85vw, 22rem);
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: calc(var(--space-2xl) + 1.5rem) var(--space-lg) var(--space-lg);
    gap: var(--space-md);
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease);
    box-shadow: var(--shadow-deep);
    overflow-y: auto;
  }

  .nav__list.is-open {
    transform: translateX(0);
  }

  .nav__list .nav__link {
    font-size: var(--fs-md);
    letter-spacing: 0.15em;
    color: var(--ink);
  }

  /* Show the drawer-only items on mobile */
  .nav__list__mobile-row { display: flex; }
  .nav__list__mobile-divider {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--line);
    margin: 0.5rem 0;
  }

  .nav__lang--in-drawer {
    font-size: var(--fs-md);
    letter-spacing: 0.2em;
  }
  .nav__lang--in-drawer a { color: var(--ink-muted); padding: 0.5rem 0.25rem; }
  .nav__lang--in-drawer a.is-active { color: var(--gold-dark); font-weight: 500; }
  .nav__lang--in-drawer span { color: var(--line); }

  .nav__list .socials { gap: 0.75rem; }
  .nav__list .socials a {
    border-color: var(--line);
    color: var(--ink);
  }
  .nav__list .socials a:hover {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
  }

  /* Hide desktop lang switcher on mobile */
  .nav__lang--desktop { display: none; }

  .menu-toggle {
    display: block;
    order: 3;
  }

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

/* Mobile */
@media (max-width: 540px) {
  :root {
    --container-pad: 1.25rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero__title {
    font-size: clamp(3.5rem, 18vw, 6rem);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-md);
  }

  .site-footer .socials {
    justify-content: center;
  }

  .brand {
    font-size: 1.25rem;
  }
}

/* Very wide screens — preserve elegance, don't sprawl */
@media (min-width: 1920px) {
  :root {
    --container-max: 1600px;
  }
}

@media (min-width: 2400px) {
  :root {
    --container-max: 1800px;
  }
  body {
    font-size: 1.125rem;
  }
}

/* =========================================================
   THANK YOU PAGE — Elegant post-submit confirmation
   ========================================================= */

.thanks-page {
  background: var(--bg);
}

.thanks-hero {
  min-height: calc(100vh - 5rem);
  display: grid;
  place-items: center;
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}

.thanks-hero::before,
.thanks-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.4;
}

.thanks-hero::before {
  top: -2rem;
  left: -2rem;
  width: clamp(120px, 18vw, 260px);
  height: clamp(120px, 18vw, 260px);
  background-image: radial-gradient(circle at 30% 30%, rgba(184, 153, 104, 0.35), transparent 60%);
}

.thanks-hero::after {
  bottom: -2rem;
  right: -2rem;
  width: clamp(160px, 22vw, 320px);
  height: clamp(160px, 22vw, 320px);
  background-image: radial-gradient(circle at 70% 70%, rgba(184, 153, 104, 0.3), transparent 60%);
}

.thanks-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 0 var(--container-pad);
}

.thanks-hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  color: var(--gold);
}

.thanks-hero__ornament .line {
  width: clamp(40px, 8vw, 80px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.thanks-hero__ornament .diamond {
  font-size: 1rem;
  letter-spacing: 0.2em;
}

.thanks-hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: var(--space-sm);
  font-weight: 400;
}

.thanks-hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.thanks-hero__title em {
  font-style: italic;
  color: var(--gold-dark);
}

.thanks-hero__lead {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: var(--space-lg);
  max-width: 56ch;
  margin-left: auto;
  margin-right: auto;
}

.thanks-hero__signature-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.thanks-hero__signature {
  font-family: "Great Vibes", "Cormorant Garamond", cursive;
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  line-height: 1;
  color: var(--gold-dark);
  font-weight: 400;
}

.thanks-hero__signature-label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--ink-muted);
}

.thanks-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.thanks-hero .btn--ghost {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  padding: 0.875rem 1.75rem;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
  border-radius: var(--radius-sm);
  display: inline-block;
  text-decoration: none;
  min-height: 44px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.thanks-hero .btn--ghost:hover,
.thanks-hero .btn--ghost:focus {
  background: var(--gold);
  color: var(--white);
}

@media (max-width: 600px) {
  .thanks-hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .thanks-hero__actions .btn {
    width: 100%;
    max-width: 320px;
  }
}
