:root {
  --ivory: #fbf7ef;
  --cream: #f3eadb;
  --parchment: #e7dac6;

  --gold: #b99a58;
  --gold-light: #d8bf86;
  --gold-dark: #8f7138;

  --verde: #1f2a1d;
  --verde-mid: #34422f;
  --verde-soft: #65735c;

  --ink: #252018;
  --muted: #746958;
  --soft-muted: #9a8d79;
  --white: #ffffff;

  --line: rgba(37, 32, 24, 0.11);
  --line-gold: rgba(185, 154, 88, 0.24);

  --shadow-sm: 0 10px 30px rgba(31, 42, 29, 0.08);
  --shadow-md: 0 26px 70px rgba(31, 42, 29, 0.12);
  --shadow-lg: 0 45px 110px rgba(31, 42, 29, 0.15);

  --display: "Cormorant Garamond", serif;
  --body: "Noto Sans Georgian", "Inter", sans-serif;

  --img-1: url("https://www.byblos.com/wp-content/uploads/Restaurant-IL-Giardino_Hotel-Byblos_Saint-Tropez-%C2%A9Stephan-Julliard-7-1600x1000.jpg");
  --img-2: url("https://wines4everyone.com/wp-content/uploads/2026/05/wine-pairings-with-italian-dishes-e1779722169174.jpeg");
  --img-3: url("https://portalupiwine.com/wp-content/uploads/2024/10/Italian-Holiday-Meal-6x4-1.jpg");
  --img-4: url("https://cfishct.com/wp-content/uploads/2025/12/side-view-fried-fish-with-glass-wine-lemon-human-hand-white-plate-scaled.jpg");
  --img-5: url("https://cdn.sanity.io/images/pxj1ei6x/production/5dba24e461c480541ae995d3d896abb6cae015bd-7342x4895.jpg?w=2560&h=1440&fit=crop&auto=format");

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
  letter-spacing: -0.01em;
}

body[data-lang="it"] {
  font-family: "Inter", sans-serif;
}

body[data-lang="it"] h1,
body[data-lang="it"] h2,
body[data-lang="it"] h3 {
  font-family: var(--display);
}

a {
  color: inherit;
}

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

/* CURSOR */
#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
}

#cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: translate(-50%, -50%);
}

#cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(185, 154, 88, 0.55);
  transform: translate(-50%, -50%);
  transition:
    width 0.3s var(--ease-out),
    height 0.3s var(--ease-out),
    background 0.3s var(--ease-out),
    border-color 0.3s var(--ease-out);
}

body.cursor-hover #cursor-ring {
  width: 54px;
  height: 54px;
  background: rgba(185, 154, 88, 0.08);
  border-color: var(--gold);
}

/* PROGRESS */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
}

/* TOPBAR */
.topbar {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.brand-mark,
.top-actions {
  pointer-events: auto;
}

.brand-mark {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--verde);
  background: rgba(251, 247, 239, 0.8);
  border: 1px solid var(--line-gold);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 10px 17px 11px;
  box-shadow: var(--shadow-sm);
  transition: 0.35s var(--ease-out);
}

.brand-mark:hover {
  background: var(--verde);
  color: var(--gold-light);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-switch,
.sound-btn {
  background: rgba(251, 247, 239, 0.8);
  border: 1px solid var(--line-gold);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
}

.lang-switch {
  display: flex;
  padding: 4px;
}

.lang-btn,
.sound-btn {
  border: none;
  cursor: none;
  color: var(--verde);
  text-transform: uppercase;
  font-size: 0.56rem;
  letter-spacing: 0.26em;
  font-weight: 500;
}

.lang-btn {
  background: transparent;
  padding: 9px 11px;
  opacity: 0.48;
  transition: 0.25s ease;
}

.lang-btn.active {
  background: var(--verde);
  color: var(--gold-light);
  opacity: 1;
}

.sound-btn {
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: 0.25s ease;
}

.sound-btn::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--verde-soft);
}

.sound-btn.playing::before {
  background: var(--gold);
  animation: pulse 1.5s ease infinite;
}

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

  50% {
    transform: scale(1.55);
    opacity: 0.55;
  }
}

/* TYPOGRAPHY */
h1 {
  font-family: var(--display);
  font-size: clamp(3.8rem, 9.5vw, 8.3rem);
  line-height: 0.86;
  color: var(--verde);
  font-weight: 300;
  letter-spacing: -0.055em;
  margin-bottom: 1.2rem;
}

h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1;
  color: var(--verde);
  font-weight: 300;
  letter-spacing: -0.045em;
  max-width: 760px;
  margin-bottom: 1.3rem;
}

h3 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.35vw, 2rem);
  line-height: 1.05;
  color: var(--verde);
  font-weight: 300;
  letter-spacing: -0.035em;
  margin-bottom: 0.55rem;
}

p {
  color: var(--muted);
  font-size: clamp(0.84rem, 1vw, 0.94rem);
  line-height: 1.9;
  font-weight: 300;
  letter-spacing: 0.005em;
}

.eyebrow {
  color: var(--gold-dark);
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 100px 24px 80px;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: var(--img-1);
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: slowZoom 18s var(--ease-out) forwards;
}

@keyframes slowZoom {
  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(251, 247, 239, 0.12) 0%,
      rgba(251, 247, 239, 0.48) 52%,
      rgba(251, 247, 239, 0.76) 100%
    ),
    radial-gradient(
      ellipse at 50% 58%,
      rgba(185, 154, 88, 0.12),
      transparent 64%
    );
}

.hero-content {
  position: relative;
  width: min(700px, 100%);
  padding: clamp(46px, 7vw, 82px) clamp(26px, 6vw, 76px);
  background: rgba(251, 247, 239, 0.58);
  border: 1px solid rgba(185, 154, 88, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg);
}

.hero-subtitle {
  color: var(--verde-soft);
  font-family: var(--body);
  font-size: clamp(0.95rem, 1.35vw, 1.15rem);
  line-height: 1.8;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--line-gold);
  overflow: hidden;
  margin-top: 0.6rem;
}

.hero-meta span {
  flex: 1;
  min-width: 100px;
  padding: 11px 14px;
  color: var(--verde);
  background: rgba(251, 247, 239, 0.52);
  border-right: 1px solid var(--line-gold);
  font-size: 0.56rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-meta span:last-child {
  border-right: none;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.ornament::before,
.ornament::after {
  content: "";
  flex: 1;
  max-width: 58px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  text-decoration: none;
  color: var(--verde);
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.68;
  animation: scrollBob 2.4s ease-in-out infinite;
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

@keyframes scrollBob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(5px);
  }
}

/* DIVIDER */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 clamp(22px, 5vw, 80px);
  opacity: 0.42;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}

.divider::after {
  background: linear-gradient(90deg, var(--gold-dark), transparent);
}

.divider span {
  font-family: var(--display);
  color: var(--gold-dark);
  font-size: 1.15rem;
}

/* INTRO */
section {
  position: relative;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  padding: clamp(90px, 13vw, 165px) clamp(22px, 5vw, 80px);
  background: var(--ivory);
}

.intro-text {
  max-width: 560px;
}

.intro-text p + p {
  margin-top: 1rem;
}

.photo-frame {
  min-height: 74vh;
  background-image: var(--img-2);
  background-size: cover;
  background-position: center;
  border-radius: 50% 50% 0 0;
  border: 8px solid rgba(251, 247, 239, 0.9);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(31, 42, 29, 0.2));
}

/* QUOTE */
.quote-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--img-3);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 22px;
}

.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 42, 29, 0.42), rgba(31, 42, 29, 0.62));
}

.quote-card {
  position: relative;
  width: min(650px, 100%);
  text-align: center;
  background: rgba(251, 247, 239, 0.84);
  border: 1px solid rgba(185, 154, 88, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  padding: clamp(34px, 5vw, 62px);
}

.quote-card p {
  font-family: var(--display);
  color: var(--verde);
  font-size: clamp(1.65rem, 3.8vw, 3rem);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: -0.035em;
}

.quote-card .ornament-bottom {
  margin-top: 1.4rem;
}

/* PROGRAM */
.program-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(42px, 7vw, 120px);
  align-items: start;
  padding: clamp(90px, 13vw, 165px) clamp(22px, 5vw, 80px);
  background: linear-gradient(135deg, rgba(231, 218, 198, 0.34), var(--ivory));
}

.program-copy {
  position: sticky;
  top: 120px;
}

.program-list {
  border-top: 1px solid var(--line-gold);
}

.program-list article {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 24px;
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line-gold);
  transition: background 0.3s ease;
}

.program-list article:hover {
  background: rgba(185, 154, 88, 0.045);
}

.program-list time {
  color: var(--gold-dark);
  font-size: 0.58rem;
  letter-spacing: 0.26em;
  font-weight: 500;
  padding-top: 8px;
  text-transform: uppercase;
}

.program-list p {
  max-width: 540px;
}

/* MENU */
.menu-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(42px, 6vw, 90px);
  align-items: center;
  padding: clamp(90px, 13vw, 165px) clamp(22px, 5vw, 80px);
  background: var(--ivory);
}

.menu-image {
  min-height: 82vh;
  background-image: var(--img-4);
  background-size: cover;
  background-position: center;
  border-radius: 0 50% 50% 0;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.menu-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(185, 154, 88, 0.08), transparent 55%);
}

.menu-content {
  max-width: 560px;
}

.dish-lines {
  display: grid;
  margin-top: 34px;
  border-top: 1px solid var(--line-gold);
}

.dish-lines span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-gold);
  padding: 16px 0;
  color: var(--verde);
  font-family: var(--display);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  transition:
    color 0.25s ease,
    padding-left 0.25s var(--ease-out);
  cursor: none;
}

.dish-lines span:hover {
  color: var(--gold-dark);
  padding-left: 10px;
}

.dish-lines span::after {
  content: "→";
  font-size: 0.75em;
  opacity: 0.42;
}

/* DETAILS */
.details-section {
  display: grid;
  place-items: center;
  padding: clamp(90px, 13vw, 165px) clamp(22px, 5vw, 80px);
  background: linear-gradient(135deg, rgba(231, 218, 198, 0.4), var(--ivory));
}

.details-card {
  width: min(900px, 100%);
  background: rgba(251, 247, 239, 0.86);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-lg);
  padding: clamp(36px, 6vw, 76px);
  position: relative;
  overflow: hidden;
}

.details-card::before {
  content: "✦";
  position: absolute;
  top: -42px;
  right: -18px;
  font-size: 13rem;
  color: var(--gold);
  opacity: 0.045;
  line-height: 1;
  pointer-events: none;
  font-family: serif;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line-gold);
  margin-top: 34px;
  border: 1px solid var(--line-gold);
}

.details-grid div {
  background: var(--ivory);
  padding: clamp(20px, 3vw, 34px);
  transition: background 0.25s ease;
}

.details-grid div:hover {
  background: rgba(185, 154, 88, 0.06);
}

.details-grid span {
  display: block;
  color: var(--gold-dark);
  font-size: 0.54rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}

.details-grid strong {
  color: var(--verde);
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  letter-spacing: -0.02em;
}

.details-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.details-actions a {
  text-decoration: none;
  border: 1px solid var(--verde);
  color: var(--ivory);
  background: var(--verde);
  padding: 15px 26px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.56rem;
  font-weight: 500;
  transition: 0.35s var(--ease-out);
}

.details-actions a:nth-child(2) {
  background: transparent;
  color: var(--verde);
  border-color: var(--line-gold);
}

.details-actions a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.details-actions a:nth-child(2):hover {
  background: var(--gold);
  color: var(--verde);
  border-color: var(--gold);
}

/* RSVP */
.closing-section {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--img-5);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 60px 22px;
}

.closing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 42, 29, 0.36), rgba(31, 42, 29, 0.66));
}

.closing-content {
  position: relative;
  width: min(640px, 100%);
  text-align: center;
  background: rgba(251, 247, 239, 0.85);
  border: 1px solid rgba(185, 154, 88, 0.3);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  padding: clamp(34px, 5vw, 62px);
}

.closing-content h2 {
  margin-left: auto;
  margin-right: auto;
}

/* FORM */
form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  text-align: left;
}

input,
select,
textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(37, 32, 24, 0.22);
  background: rgba(251, 247, 239, 0.58);
  color: var(--ink);
  padding: 14px 8px;
  outline: none;
  border-radius: 0;
  font-size: 0.86rem;
  font-weight: 300;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  background: rgba(251, 247, 239, 0.86);
}

textarea {
  resize: vertical;
}

form button {
  width: 100%;
  cursor: none;
  background: var(--verde);
  color: var(--gold-light);
  border: 1px solid var(--verde);
  padding: 16px 26px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.56rem;
  font-weight: 500;
  margin-top: 8px;
  transition: 0.35s var(--ease-out);
}

form button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--verde);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.success {
  display: none;
  color: var(--verde);
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.35;
  margin: 24px 0 0;
}

/* FOOTER */
footer {
  padding: 28px 24px;
  text-align: center;
  background: var(--verde);
  border-top: 1px solid rgba(185, 154, 88, 0.25);
}

footer p,
footer a {
  margin: 0;
  color: rgba(251, 247, 239, 0.56);
  text-decoration: none;
  font-size: 0.56rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
}

footer a:hover {
  color: var(--gold-light);
}

/* REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 1s var(--ease-out),
    transform 1s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.15s;
}

.reveal-delay-2 {
  transition-delay: 0.3s;
}

.is-pressed {
  transform: scale(0.985);
}

/* TABLET */
@media (max-width: 960px) {
  .intro-section,
  .program-section,
  .menu-section {
    grid-template-columns: 1fr;
  }

  .program-copy {
    position: static;
  }

  .menu-image {
    order: 2;
    border-radius: 50% 50% 0 0;
  }

  .menu-content {
    order: 1;
  }

  .quote-section,
  .closing-section {
    background-attachment: scroll;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  body {
    cursor: auto;
  }

  #cursor-dot,
  #cursor-ring {
    display: none;
  }

  .topbar {
    padding: 14px;
  }

  .brand-mark {
    font-size: 0.92rem;
    padding: 8px 12px 9px;
    letter-spacing: 0.16em;
  }

  .lang-btn {
    padding: 8px;
    font-size: 0.52rem;
    letter-spacing: 0.2em;
  }

  .sound-btn {
    padding: 11px;
    font-size: 0.52rem;
    letter-spacing: 0.2em;
  }

  .hero {
    padding: 92px 16px 66px;
  }

  .hero-content {
    padding: 42px 22px 44px;
    background: rgba(251, 247, 239, 0.64);
  }

  h1 {
    font-size: clamp(3.45rem, 18vw, 5.15rem);
    line-height: 0.88;
  }

  h2 {
    font-size: clamp(1.95rem, 9.5vw, 3rem);
    line-height: 1;
  }

  h3 {
    font-size: 1.35rem;
  }

  p {
    font-size: 0.86rem;
    line-height: 1.82;
  }

  .eyebrow {
    font-size: 0.51rem;
    letter-spacing: 0.27em;
  }

  .hero-subtitle {
    font-size: 0.76rem;
    line-height: 1.7;
    letter-spacing: 0.12em;
  }

  .hero-meta span {
    font-size: 0.49rem;
    letter-spacing: 0.18em;
    padding: 10px 8px;
  }

  .scroll-cue {
    font-size: 0.5rem;
    letter-spacing: 0.22em;
  }

  .intro-section,
  .program-section,
  .menu-section,
  .details-section {
    padding: 82px 18px;
  }

  .photo-frame,
  .menu-image {
    min-height: 62vh;
  }

  .quote-section,
  .closing-section {
    min-height: 90svh;
    padding: 28px 16px 50px;
  }

  .quote-card,
  .closing-content {
    padding: 30px 22px;
  }

  .quote-card p {
    font-size: clamp(1.5rem, 7.8vw, 2.25rem);
    line-height: 1.16;
  }

  .program-list article {
    grid-template-columns: 68px 1fr;
    gap: 14px;
  }

  .program-list time {
    font-size: 0.54rem;
    letter-spacing: 0.2em;
  }

  .dish-lines span {
    font-size: 1.18rem;
  }

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

  .details-grid strong {
    font-size: 1.12rem;
  }

  .details-actions {
    flex-direction: column;
  }

  .details-actions a {
    text-align: center;
  }

  input,
  select,
  textarea {
    font-size: 0.84rem;
  }
}

/* SMALL MOBILE */
@media (max-width: 390px) {
  .topbar {
    padding: 12px;
  }

  .brand-mark {
    font-size: 0.82rem;
    padding: 8px 10px;
  }

  .top-actions {
    gap: 6px;
  }

  .sound-label {
    display: none;
  }

  .sound-btn {
    width: 38px;
    height: 36px;
    justify-content: center;
    padding: 0;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 4.6rem);
  }

  h2 {
    font-size: clamp(1.75rem, 9vw, 2.65rem);
  }

  .hero-content {
    padding: 38px 18px 40px;
  }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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