/* ==========================================================================
   Gala Wedding — styles
   Change the look of the whole site from the tokens below.
   ========================================================================== */

:root {
  /* Palette: Giulia's dusty blue + sand gold, on warm ivory */
  --paper: #fbf8f3;
  --paper-tint: #f3eee6;
  --blush: #efdfd6;
  --blush-deep: #e4cbbe;
  --sand: #c4ad85;        /* decorative: lines, accents on dark */
  --gold-text: #7f6436;   /* small gold text on light backgrounds */
  --gold-script: #9a7f52; /* large script text on light backgrounds */
  --blue: #4a6584;
  --blue-deep: #34495f;
  --blue-mist: #e6ecf2;
  --ink: #2f3640;
  --muted: #5f6572;
  --line: rgba(47, 54, 64, 0.12);

  /* Typography */
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Allura", "Snell Roundhand", cursive;
  --sans: "Montserrat", system-ui, -apple-system, sans-serif;

  /* Layout */
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
  --radius: 18px;
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.08;
  margin: 0 0 0.5em;
  color: var(--blue-deep);
}

h1 {
  font-size: clamp(44px, 7.5vw, 96px);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(34px, 4.6vw, 56px);
}

h3 {
  font-size: clamp(26px, 2.6vw, 32px);
  font-weight: 400;
}

h1 em,
h2 em {
  font-style: italic;
}

p {
  margin: 0 0 1.2em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.narrow {
  max-width: 820px;
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.lead {
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--blue-deep);
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 1.2em;
}

.eyebrow--light {
  color: #f4ebdd;
}

.script {
  font-family: var(--script);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.2;
  color: var(--gold-script);
  margin: 0;
}

.script--small {
  font-size: 30px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--blue-deep);
  color: #fff;
  border-radius: 999px;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* --- Buttons & links ---------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 15px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--blush {
  background: var(--blush);
  color: var(--blue-deep);
}

.btn--blush:hover {
  background: var(--blush-deep);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn--outline {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn--small {
  padding: 11px 22px;
  font-size: 11px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  text-decoration: none;
}

.link-arrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}

.link-arrow:hover::after,
.proposal:hover .link-arrow::after {
  width: 56px;
}

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition: background 0.4s, color 0.4s, box-shadow 0.4s;
}

.site-header.is-scrolled,
.site-header[data-open="true"] {
  background: rgba(251, 248, 243, 0.96);
  color: var(--blue-deep);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 84px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.brand__name {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

.brand__sub {
  margin-top: 6px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
}

.nav a:not(.btn) {
  position: relative;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  padding-block: 6px;
}

.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right 0.4s var(--ease);
}

.nav a:not(.btn):hover::after,
.nav a[aria-current="page"]::after {
  right: 0;
}

/* "La mia proposta" drop-down (native <details>) */

.nav-menu {
  position: relative;
}

.nav-menu summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-block: 6px;
  font-size: 13px;
  cursor: pointer;
  list-style: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.nav-menu[open] summary::after {
  margin-top: 3px;
  transform: rotate(-135deg);
}

.nav-menu summary[aria-current] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.nav-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  display: flex;
  flex-direction: column;
  min-width: 300px;
  padding: 10px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 40px -18px rgba(31, 42, 56, 0.45);
}

.nav .nav-menu__panel a {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
}

.nav .nav-menu__panel a::after {
  display: none;
}

.nav .nav-menu__panel a:hover,
.nav .nav-menu__panel a[aria-current] {
  background: var(--paper-tint);
}

/* Language switch (IT · EN · ES) */

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-switch li + li::before {
  content: "·";
  margin-inline: 4px;
  opacity: 0.5;
}

.nav .lang-switch a {
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.6;
}

.nav .lang-switch a:hover,
.nav .lang-switch a[aria-current] {
  opacity: 1;
}

.nav .lang-switch a[aria-current]::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  display: block;
  width: 24px;
  height: 1.5px;
  margin-inline: auto;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-toggle__bars {
  position: relative;
}

.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle__bars::before {
  top: -7px;
}

.menu-toggle__bars::after {
  top: 7px;
}

[data-open="true"] .menu-toggle__bars {
  background: transparent;
}

[data-open="true"] .menu-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}

[data-open="true"] .menu-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 12px var(--gutter) 28px;
    background: rgba(251, 248, 243, 0.98);
    color: var(--blue-deep);
    box-shadow: 0 12px 24px rgba(47, 54, 64, 0.08);
  }

  [data-open="true"] .nav {
    display: flex;
  }

  .nav a:not(.btn) {
    font-family: var(--serif);
    font-size: 26px;
  }

  .nav .btn {
    margin-top: 12px;
  }

  .nav-menu summary {
    font-family: var(--serif);
    font-size: 26px;
  }

  .nav-menu__panel {
    position: static;
    min-width: 0;
    padding: 4px 0 4px 16px;
    background: none;
    box-shadow: none;
  }

  /* Same serif as the other menu entries, a little smaller. */
  .nav .nav-menu__panel a {
    font-family: var(--serif);
    font-size: 21px;
    line-height: 1.25;
    padding: 8px 0;
  }

  .nav .nav-menu__panel a:hover,
  .nav .nav-menu__panel a[aria-current] {
    background: none;
    text-decoration: underline;
  }

  .nav .lang-switch {
    margin-top: 10px;
  }

  .nav .lang-switch a {
    font-family: var(--sans);
    font-size: 15px;
  }
}

/* --- Heroes -------------------------------------------------------------- */

.hero,
.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero {
  min-height: 100svh;
  padding-block: 140px clamp(64px, 10vh, 120px);
}

.page-hero {
  min-height: clamp(440px, 68vh, 640px);
  padding-block: 140px 72px;
}

.hero__img,
.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  animation: slow-zoom 18s var(--ease) both;
}

.hero__shade,
.page-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(31, 42, 56, 0.55) 0%, rgba(31, 42, 56, 0) 32%),
    linear-gradient(75deg, rgba(31, 42, 56, 0.72) 0%, rgba(31, 42, 56, 0.25) 55%, rgba(31, 42, 56, 0.05) 100%);
}

.hero h1,
.page-hero h1 {
  color: #fff;
  max-width: 14ch;
}

.hero h1 em {
  color: #f4ebdd;
}

.hero .script,
.page-hero .script {
  color: #f1e3c8;
}

.hero__text > *,
.page-hero__text > * {
  animation: rise 1.2s var(--ease) both;
}

.hero__text > :nth-child(2),
.page-hero__text > :nth-child(2) {
  animation-delay: 0.15s;
}

.hero__text > :nth-child(3),
.page-hero__text > :nth-child(3) {
  animation-delay: 0.3s;
}

.hero__text > :nth-child(4) {
  animation-delay: 0.45s;
}

.hero__text > :nth-child(5) {
  animation-delay: 0.6s;
}

.hero h1 {
  max-width: 18ch;
}

.hero__lead {
  max-width: 34em;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Chi sono / Contatti header photos: keep Giulia's face below the menu on wide screens. */
.page-hero__img[src*="sposi-autunno-lucine"] {
  object-position: center 73%;
}

.page-hero__img[src*="giulia-studio"] {
  object-position: center 22%;
}

.page-hero__img[src*="sposi-arco-villa"] {
  object-position: center 48%;
}

.page-hero__img[src*="sposi-giulia-villa"] {
  object-position: center 30%;
}

.page-hero__img[src*="giulia-tavola"],
.page-hero__img[src*="giulia-luci"],
.page-hero__img[src*="giulia-tavolata"] {
  object-position: center 38%;
}

@media (max-width: 860px) {
  .page-hero__img[src*="giulia-tavolata"] {
    object-position: center 15%;
  }
}

/* Home hero with a vertical photo. Desktop: the whole photo framed on the
   right (arched top), over a blurred copy of itself filling the width.
   Mobile: photo on top, text below. Keeps the face clear of the text. */
.hero--portrait {
  background: #1f2a38;
}

.hero__bg {
  display: none;
}

@media (min-width: 861px) {
  .hero--portrait {
    align-items: center;
  }

  .hero--portrait .hero__bg {
    display: block;
    position: absolute;
    inset: -60px;
    width: calc(100% + 120px);
    height: calc(100% + 120px);
    object-fit: cover;
    object-position: center 40%;
    filter: blur(32px) brightness(0.6) saturate(1.1);
    z-index: -3;
  }

  .hero--portrait .hero__img {
    inset: 120px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 56px auto;
    width: auto;
    height: calc(100% - 176px);
    max-width: 42vw;
    aspect-ratio: 2 / 3;
    border-radius: 999px 999px var(--radius) var(--radius);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
    animation: rise 1.4s var(--ease) both;
  }

  .hero--portrait .hero__shade {
    background:
      linear-gradient(180deg, rgba(31, 42, 56, 0.55) 0%, rgba(31, 42, 56, 0) 30%),
      linear-gradient(90deg, rgba(31, 42, 56, 0.75) 0%, rgba(31, 42, 56, 0.2) 60%, rgba(31, 42, 56, 0) 100%);
  }

  /* Keep the text clear of the framed photo: container width minus the
     photo's width (same formula as its height/max-width above) and a gap. */
  .hero--portrait .hero__text > * {
    max-width: calc(
      min(100vw, var(--max)) - 2 * var(--gutter) - min(42vw, (100svh - 176px) * 2 / 3) - 56px
    );
  }

  .hero--portrait h1 {
    font-size: clamp(38px, 4.2vw, 68px);
  }
}

@media (max-width: 860px) {
  .hero--portrait {
    display: block;
    min-height: 0;
    padding-block: 0 64px;
  }

  .hero--portrait .hero__img,
  .hero--portrait .hero__shade {
    left: 0;
    width: 100%;
    height: 72svh;
    bottom: auto;
  }

  .hero--portrait .hero__img {
    position: relative;
    display: block;
    object-position: center 35%;
    animation: none;
  }

  .hero--portrait .hero__shade {
    background:
      linear-gradient(180deg, rgba(31, 42, 56, 0.6) 0%, rgba(31, 42, 56, 0) 25%),
      linear-gradient(0deg, #1f2a38 0%, rgba(31, 42, 56, 0) 30%);
  }

  .hero--portrait .hero__text {
    position: relative;
    margin-top: -48px;
  }

  .hero--portrait .hero__text > * {
    max-width: 100%;
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --- Sections ------------------------------------------------------------ */

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

.section--tint {
  background: var(--paper-tint);
}

.section-title {
  position: relative;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-title .watermark {
  position: absolute;
  left: -0.04em;
  top: -0.62em;
  z-index: 0;
  font-family: var(--serif);
  font-size: clamp(80px, 13vw, 180px);
  font-weight: 300;
  line-height: 1;
  white-space: nowrap;
  color: var(--ink);
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
}

.section-title > :not(.watermark) {
  position: relative;
}

.section-title h2 {
  max-width: 18ch;
  margin-bottom: 0;
}

.section-title--light h2 {
  color: #fff;
}

.section-title--light .watermark {
  color: #fff;
  opacity: 0.08;
}

.center .section-title,
.section-title.center {
  text-align: center;
}

/* Centred titles: centre the (width-limited) heading and the watermark too. */
.center .section-title h2,
.section-title.center h2 {
  margin-inline: auto;
}

.center .section-title .watermark,
.section-title.center .watermark {
  left: 50%;
  transform: translateX(-50%);
}

/* Welcome / two column with polaroid */

.welcome__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(40px, 7vw, 110px);
}

.polaroid {
  margin: 0;
  padding: 14px 14px 8px;
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(47, 54, 64, 0.45);
  transform: rotate(2.5deg);
  max-width: 420px;
  justify-self: center;
}

.polaroid img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.polaroid figcaption {
  text-align: center;
  padding-top: 6px;
  color: var(--blue);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
}

/* Home: full-width photo with text written over it, no box */

.photo-band {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 92vh, 880px);
  overflow: hidden;
  color: #fff;
}

.photo-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: -2;
}

.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(31, 42, 56, 0.85) 0%, rgba(31, 42, 56, 0.4) 35%, rgba(31, 42, 56, 0) 62%);
}

.photo-band__text {
  padding-block: clamp(48px, 7vw, 88px);
}

.photo-band h2 {
  max-width: 16ch;
  color: #fff;
  font-size: clamp(34px, 4.6vw, 60px);
}

.photo-band p:not(.eyebrow) {
  max-width: 34em;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
}

/* "La mia proposta": two photo cards with their titles */

.proposals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(20px, 3vw, 36px);
}

.proposal {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.proposal img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1.2s var(--ease);
}

.proposal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(31, 42, 56, 0.85) 0%, rgba(31, 42, 56, 0) 55%);
}

.proposal:hover img {
  transform: scale(1.05);
}

.proposal__text {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
}

.proposal__title {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.15;
}

.proposal .link-arrow {
  color: #fff;
}

/* Key figures under the home hero */

.stats {
  background: var(--paper-tint);
  border-bottom: 1px solid var(--line);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  list-style: none;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(22px, 3.5vw, 40px) 8px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid rgba(47, 54, 64, 0.15);
}

.stat__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.stat__value {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}

.stat__label {
  margin-top: 8px;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.stat__stars {
  color: var(--gold-script);
  letter-spacing: 0.08em;
}

@media (max-width: 560px) {
  .stat {
    padding-inline: 4px;
  }

  .stat__value {
    font-size: 24px;
  }

  .stat__stars {
    display: block;
    margin-bottom: 2px;
  }
}

/* Reviews (Matrimonio.com) */

.reviews {
  padding-top: 0;
}

.reviews__badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 14px;
  margin: 8px 0 28px;
  padding: 22px 34px;
  border-radius: 999px;
  background: var(--paper-tint);
  text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.reviews__badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -24px rgba(52, 73, 95, 0.45);
}

.reviews__stars {
  color: var(--gold-script);
  font-size: 22px;
  letter-spacing: 0.12em;
}

.reviews__score {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--ink);
}

.reviews__source {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.reviews__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.review {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper-tint);
}

.review blockquote {
  margin: 12px 0 16px;
  font-family: var(--serif);
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
}

.review blockquote p {
  margin: 0;
}

.review__by {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Style band */

.style-band {
  background: var(--blush);
  color: var(--ink);
}

.style-band__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

/* Blue-deep, not gold, for small text on blush: gold is below 4.5:1 here. */
.style-band .eyebrow {
  color: var(--blue-deep);
}

/* The italic phrases in Giulia's "Lo stile Gala" text. */
.style-band em {
  font-family: var(--serif);
  font-size: 1.28em;
  line-height: 1.4;
}

/* Two cultures */

/* The wedding video: no frame, its own proportions, centred between the
   titles and the description. */
.cultures__video {
  display: block;
  width: auto;
  max-width: 100%;
  height: min(85vh, 832px);
  margin: 0 auto;
  background: var(--paper-tint);
}

.cultures__text {
  margin-top: clamp(28px, 4vw, 48px);
}

/* Lookbook */

.lookbook {
  background: var(--blue-mist);
}

.lookbook__grid {
  columns: 3 260px;
  column-gap: 20px;
  margin-bottom: 48px;
}

.lookbook__item {
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: var(--radius);
  break-inside: avoid;
}

.lookbook__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 1.2s var(--ease);
}

.lookbook__item:hover img {
  transform: scale(1.05);
}

.lookbook__link {
  display: block;
  cursor: zoom-in;
}

.lookbook__link:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* Full-screen photo viewer (built by site.js) */

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(20, 26, 34, 0.92);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 120px);
  object-fit: contain;
  border-radius: 6px;
  pointer-events: none;
}

.lightbox__count {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  margin: 0;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-align: center;
}

.lightbox__btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__btn:hover,
.lightbox__btn:focus-visible {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox__close {
  top: 16px;
  right: 16px;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: 16px;
}

.lightbox__next {
  right: 16px;
}

/* Lookbook on phones (home and Lookbook page): one photo per screen,
   scrolling vertically and settling on each photo (scroll snap). */
@media (max-width: 760px) {
  html:has(.lookbook__grid--full) {
    scroll-snap-type: y proximity;
  }

  /* Edge to edge, no rounded corners, a thin gap between photos. */
  .lookbook__grid.lookbook__grid--full {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-inline: calc(-1 * var(--gutter));
  }

  .lookbook__grid--full .lookbook__item {
    margin: 0;
    border-radius: 0;
    scroll-snap-align: center;
  }

  .lookbook__grid--full .lookbook__item img {
    width: 100%;
    max-height: calc(100svh - 84px);
    object-fit: contain;
    border-radius: 0;
  }
}

.lookbook__more {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Team: two photos side by side (stacked on phones) */

.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.team__item {
  margin: 0;
}

.team__item img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.team__item figcaption {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  text-align: center;
}

/* Four more photos of Giulia with the team, in a row of portraits. */
.team--more {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
}

.team--more .team__item img {
  aspect-ratio: 3 / 4;
}

@media (max-width: 860px) {
  .team {
    grid-template-columns: 1fr;
  }

  .team--more {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
}

/* Additional team portraits retain their original framing. */
.team--additional {
  margin-top: 24px;
  align-items: center;
}

.team--additional .team__item img {
  aspect-ratio: auto;
  height: auto;
}

/* Service page: longer text with a photo in the middle */

.story p {
  font-size: 17px;
  line-height: 1.8;
}

.story__photo {
  margin: 40px auto;
  max-width: 560px;
}

.story__photo img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
}

/* Chi sono: a single photo of Giulia between sections. */
.giulia-photo {
  padding-block: 0 var(--section);
}

.giulia-photo .story__photo {
  margin-block: 0;
  padding-inline: var(--gutter);
}

/* Service page: photo under the intro, a bit wider than the text. */
.intro-photo {
  max-width: 860px;
  margin-bottom: 0;
  padding-inline: var(--gutter);
}

/* Coordination: two gently staggered prints, with the full photos visible. */
.coordination-photos {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 5vw, 64px);
  max-width: 1080px;
  margin-top: clamp(48px, 7vw, 88px);
  padding-block: 20px 32px;
  background: radial-gradient(ellipse at center, var(--blush) 0%, transparent 70%);
}

.coordination-photos__frame {
  margin: 0;
  padding: clamp(8px, 1.2vw, 14px);
  background: #fff;
  box-shadow: 0 18px 45px rgba(47, 54, 64, 0.13);
  transform: rotate(-2deg);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.coordination-photos__frame:nth-child(2) {
  margin-top: clamp(32px, 5vw, 64px);
  transform: rotate(2deg);
}

.coordination-photos__frame img {
  width: 100%;
  height: auto;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .coordination-photos__frame:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 24px 52px rgba(47, 54, 64, 0.18);
  }
}

@media (max-width: 640px) {
  .coordination-photos {
    grid-template-columns: minmax(0, 1fr);
    max-width: 460px;
    gap: 32px;
    padding-inline: 28px;
  }

  .coordination-photos__frame:nth-child(2) {
    margin-top: 0;
  }
}

/* Service page: photos with captions */

.moments-section {
  padding-top: 0;
}

.moments {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.moment {
  margin: 0;
}

.moment img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.moment figcaption {
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.45;
  text-align: center;
}

/* "Vieni a trovarmi": where to meet */

.visit {
  margin-top: clamp(32px, 5vw, 56px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--paper-tint);
  text-align: center;
}

.visit-photo {
  margin-block: 40px 0;
  text-align: center;
}

.visit-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.visit-photo figcaption {
  margin-top: 16px;
}

.visit__place {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.3;
  margin-bottom: 12px;
}

.visit__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

/* Matrimonio.com Wedding Awards (home) */

.award__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.award__grid img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -32px rgba(31, 42, 56, 0.45);
}

.award__text {
  max-width: 640px;
  margin: clamp(28px, 4vw, 44px) auto 0;
}

@media (max-width: 760px) {
  .award__grid {
    grid-template-columns: 1fr;
  }
}

/* Quote */

.quote {
  margin: 0 0 40px;
  text-align: center;
}

.quote p {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 64px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.15;
  color: var(--blue-deep);
  margin-bottom: 0.3em;
}

.quote cite {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-text);
}

/* Service "acts" */

.acts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.act {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  border-top: 2px solid var(--sand);
}

.act__number {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--gold-text);
  margin-bottom: 0.6em;
}

.act__question {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6em;
}

.act p:last-child {
  color: var(--muted);
  margin: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tags li {
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--blue-deep);
  background: #fff;
}

/* Contact */

/* Contact form → WhatsApp */

.contact-form {
  margin-top: 48px;
  padding: clamp(24px, 4vw, 44px);
  border-radius: var(--radius);
  background: var(--paper-tint);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.field small {
  font-weight: 400;
  color: var(--muted);
}

.field--wide {
  grid-column: 1 / -1;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  font-size: 16px;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 28px;
}

.contact-form__actions .btn {
  border: 0;
  cursor: pointer;
}

.contact-form__note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}

.contact-photos {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  max-width: 1080px;
  margin-block: 56px 0;
}

.contact-photo {
  margin: 0;
}

.contact-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.contact-snapshot {
  position: relative;
  margin: 0;
  padding: 12px 12px 24px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(47, 54, 64, 0.14);
  transform: rotate(3deg);
}

.contact-snapshot::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -15px;
  left: 50%;
  width: 100px;
  height: 32px;
  background: rgba(196, 173, 133, 0.65);
  transform: translateX(-50%) rotate(-8deg);
}

.contact-snapshot img {
  width: 100%;
  height: auto;
}

.contact-snapshot figcaption {
  margin: 20px 6px 0;
  text-align: center;
}

@media (max-width: 640px) {
  .contact-photos {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .contact-snapshot {
    width: 88%;
    margin-inline: auto;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-block: 48px 40px;
}

.contact-card {
  display: block;
  padding: 32px 26px;
  border-radius: var(--radius);
  background: var(--paper-tint);
  text-decoration: none;
  text-align: center;
  transition: background 0.3s, transform 0.4s var(--ease);
}

.contact-card:hover {
  background: var(--blush);
  transform: translateY(-4px);
}

.contact-card .eyebrow {
  margin-bottom: 0.6em;
}

.contact-card__value {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--blue-deep);
  margin: 0;
  overflow-wrap: anywhere;
}

/* CTA band */

.cta-band {
  padding: clamp(24px, 4vw, 48px) var(--gutter) var(--section);
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(40px, 6vw, 72px);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--blue-deep)
    radial-gradient(120% 140% at 100% 0%, rgba(196, 173, 133, 0.35), transparent 55%);
  color: #dfe6ee;
}

/* Home: the closing call to action over a full-width photo, no box */

.cta-band--photo {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 88vh, 860px);
  padding: 0;
  overflow: hidden;
}

.cta-band__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: -2;
}

.cta-band--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(31, 42, 56, 0.88) 0%, rgba(31, 42, 56, 0.45) 32%, rgba(31, 42, 56, 0) 60%);
}

.cta-band--photo .cta-band__inner {
  background: none;
  border-radius: 0;
  padding: clamp(40px, 6vw, 72px) var(--gutter);
}

.cta-band h2 {
  color: #fff;
  max-width: 20ch;
  font-size: clamp(30px, 3.6vw, 46px);
}

.cta-band p {
  margin: 0;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: #c9ced6;
  padding-top: 72px;
  font-size: 14px;
}

.site-footer .brand__name {
  color: #fff;
}

.site-footer .script,
.site-footer .eyebrow {
  color: var(--sand);
}

.site-footer .script {
  margin-block: 4px 16px;
}

.site-footer .muted {
  color: #9aa1ac;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.plain-list {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 2.2;
}

.site-footer__legal {
  display: flex;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #a3a9b3;
}

/* --- Scroll reveal (only when site.js has run) --------------------------- */

.reveal-pending {
  opacity: 0;
  transform: translateY(28px);
}

.reveal-in {
  opacity: 1;
  transform: none;
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
}

.polaroid.reveal-in {
  transform: rotate(2.5deg);
}

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

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .welcome__grid,
  .style-band__grid,
  .two-col,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .polaroid {
    max-width: 320px;
  }

  /* Edge to edge on phones, like the lookbook photos. */
  .cultures__video {
    width: calc(100% + 2 * var(--gutter));
    max-width: none;
    height: auto;
    margin-inline: calc(-1 * var(--gutter));
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .lookbook__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    columns: auto;
  }

  .lookbook__item {
    margin-bottom: 0;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14px;
  }

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

  .hero__actions .btn {
    flex: 1 1 100%;
  }
}

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

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