/* ==========================================================================
   VARGIUS TOURISM  -  Quiet Luxury Holding Page Styles
   Palette: Zaffiro e Champagne
   Typography: Italiana & Nunito Sans (pair D, chosen 10 Nov)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Font Declarations (Self-hosted woff2)
   -------------------------------------------------------------------------- */

/* Cormorant Garamond  -  500 normal */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Cormorant Garamond  -  600 normal */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Cormorant Garamond  -  500 italic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-latin-ext-500-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-latin-500-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Cormorant Garamond  -  600 italic */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-latin-ext-600-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/cormorant-garamond-latin-600-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Montserrat  -  300 normal */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/montserrat-latin-ext-300-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('./fonts/montserrat-latin-300-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Montserrat  -  400 normal */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/montserrat-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/montserrat-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Montserrat  -  500 normal */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/montserrat-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/montserrat-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Italiana  -  400 normal (Wordmark Variant) */
@font-face {
  font-family: 'Italiana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/italiana-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Nunito Sans  -  400 normal */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/nunito-sans-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/nunito-sans-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Nunito Sans  -  500 normal */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/nunito-sans-latin-ext-500-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/nunito-sans-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Nunito Sans  -  600 normal */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/nunito-sans-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/nunito-sans-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* --------------------------------------------------------------------------
   Design Tokens  -  Palette 2 "Zaffiro e Champagne"
   -------------------------------------------------------------------------- */
:root {
  --color-zaffiro: #1C3A6B;
  --color-inchiostro: #121826;
  --color-champagne: #D8C08E;
  --color-perla: #FBFAF7;
  --color-nebbia: #DDE3EC;

  /* Atmospheric derivations */
  --bg-gradient-top: #1C3A6B;
  --bg-gradient-mid: #16243F;
  --bg-gradient-base: #121826;

  --champagne-glow: rgba(216, 192, 142, 0.22);
  --champagne-subtle: rgba(216, 192, 142, 0.35);
  --champagne-border: rgba(216, 192, 142, 0.42);

  --text-primary: var(--color-perla);
  --text-secondary: var(--color-nebbia);
  --text-muted: rgba(221, 227, 236, 0.82);
  --text-faint: rgba(221, 227, 236, 0.5);
}

/* --------------------------------------------------------------------------
   Global Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  background-color: var(--color-inchiostro);
  color: var(--text-primary);
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: var(--color-inchiostro);
  background-image: radial-gradient(ellipse 120% 90% at 50% 18%, var(--bg-gradient-top) 0%, var(--bg-gradient-mid) 42%, var(--bg-gradient-base) 80%, #0D131E 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* --------------------------------------------------------------------------
   Atmospheric Backdrop (Venice Blue Hour, Re-toned)
   -------------------------------------------------------------------------- */
.bg-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.18;
  filter: grayscale(75%) contrast(115%) brightness(0.92);
  mix-blend-mode: luminosity;
  transform: scale(1.03);
}

.bg-tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 50% 35%, rgba(28, 58, 107, 0.42) 0%, transparent 65%),
    radial-gradient(ellipse 70% 60% at 50% 45%, transparent 15%, var(--color-inchiostro) 88%),
    linear-gradient(180deg, var(--color-inchiostro) 0%, transparent 32%, transparent 68%, var(--color-inchiostro) 100%);
}

/* --------------------------------------------------------------------------
   Layout Structure
   -------------------------------------------------------------------------- */
.site-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 1.5rem 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .site-wrapper {
    padding: 2.5rem 3rem;
  }
}

@media (min-width: 1024px) {
  .site-wrapper {
    padding: 3rem 4rem;
  }
}

/* --------------------------------------------------------------------------
   Top Bar & Language Switcher
   -------------------------------------------------------------------------- */
.top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(18, 24, 38, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid var(--champagne-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.lang-sep {
  color: var(--champagne-subtle);
  font-size: 0.75rem;
  user-select: none;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.2rem 0.35rem;
  min-height: 30px;
  cursor: pointer;
  border-radius: 2px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.lang-btn:hover {
  color: var(--color-perla);
}

.lang-btn.is-active {
  color: var(--color-champagne);
  font-weight: 600;
  text-shadow: 0 0 10px var(--champagne-glow);
}

.lang-btn:focus-visible {
  outline: 1px solid var(--color-champagne);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   Main Content & Centering
   -------------------------------------------------------------------------- */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 0;
}

.center-stage {
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Brand Wordmark
   Single element container ready for replacement with <img src="img/logo.svg">
   -------------------------------------------------------------------------- */
.brand-mark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: default;
  user-select: none;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.brand-mark img {
  max-width: 100%;
  height: auto;
  display: block;
}

.brand-symbol {
  width: clamp(170px, 52vw, 215px);
  height: auto;
  display: block;
  margin: 0 auto clamp(0.9rem, 2vh, 1.25rem);
}

@media (min-width: 768px) {
  .brand-symbol {
    width: clamp(200px, 24vw, 320px);
    margin: 0 auto clamp(1.2rem, 2.4vh, 1.5rem);
  }
}

.brand-title {
  font-family: 'Italiana', Georgia, serif;
  font-size: clamp(2.35rem, 7vw, 4.25rem);
  font-weight: 400;
  letter-spacing: clamp(0.16em, 1.1vw, 0.26em);
  margin-right: -0.16em; /* Optical balance for trailing letter spacing */
  line-height: 1.05;
  color: var(--color-perla);
  text-transform: uppercase;
}

.brand-subtitle {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(0.7rem, 1.5vw, 0.92rem);
  font-weight: 500;
  letter-spacing: clamp(0.48em, 2vw, 0.65em);
  margin-right: -0.48em; /* Optical balance for trailing letter spacing */
  color: var(--color-champagne);
  text-transform: uppercase;
  margin-top: 0.65rem;
}

/* --------------------------------------------------------------------------
   Brand Gateway Line
   Visually secondary, quiet luxury, responsive on mobile (>= 360px)
   -------------------------------------------------------------------------- */
.brand-gateway {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(0.66rem, 1.25vw, 0.78rem);
  font-weight: 400;
  letter-spacing: clamp(0.12em, 0.4vw, 0.18em);
  margin-right: -0.12em; /* Optical balance for trailing letter spacing */
  text-transform: uppercase;
  color: var(--color-champagne);
  opacity: 0.88;
  margin-top: clamp(0.75rem, 1.6vh, 1.05rem);
  line-height: 1.5;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
  user-select: none;
}

/* --------------------------------------------------------------------------
   Wordmark Variant: Italiana + Nunito Sans (?wordmark=italiana)
   Sets only the .brand-mark wordmark in Italiana and Nunito Sans.
   Body text and narrative typography remain completely unchanged.
   -------------------------------------------------------------------------- */
.wordmark-italiana .brand-title {
  font-family: 'Italiana', Georgia, serif;
  font-weight: 400;
  letter-spacing: clamp(0.16em, 1.1vw, 0.26em);
  margin-right: -0.16em;
}

.wordmark-italiana .brand-subtitle {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 500;
  letter-spacing: clamp(0.48em, 2vw, 0.65em);
  margin-right: -0.48em;
}

/* --------------------------------------------------------------------------
   Fine Champagne Hairline Divider
   Slow drawing motion from center outward
   -------------------------------------------------------------------------- */
.champagne-hairline {
  width: clamp(70px, 12vw, 130px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-champagne) 25%, var(--color-champagne) 75%, transparent);
  margin: clamp(1.4rem, 3vh, 2.25rem) auto;
  transform-origin: center center;
  animation: drawHairline 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

/* --------------------------------------------------------------------------
   Narrative Block (Headline & Subline)
   -------------------------------------------------------------------------- */
.narrative-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 620px;
  margin: 0 auto;
}

.headline {
  font-family: 'Italiana', Georgia, serif;
  font-size: clamp(1.75rem, 4.2vw, 2.65rem);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.02em;
  color: var(--color-perla);
  line-height: 1.25;
  margin-bottom: clamp(1rem, 2.5vh, 1.35rem);
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.subline {
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(0.92rem, 1.9vw, 1.1rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
  letter-spacing: 0.015em;
  max-width: 580px;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.65s both;
}

/* --------------------------------------------------------------------------
   Contact Block: 3 Centered Columns (Desktop) / Vertical Stack (Mobile)
   -------------------------------------------------------------------------- */
.contact-block {
  margin-top: clamp(2.25rem, 5.5vh, 3.5rem);
  width: 100%;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s both;
}

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-list {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(1.75rem, 3.5vw, 3.5rem);
  }
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  position: relative;
}

@media (min-width: 768px) {
  .contact-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: calc(-1 * clamp(0.875rem, 1.75vw, 1.75rem));
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 24px;
    background: linear-gradient(180deg, transparent, var(--champagne-subtle), transparent);
  }
}

.contact-label {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-champagne);
  user-select: none;
  white-space: nowrap;
}

.contact-link {
  color: var(--color-perla);
  text-decoration: none;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  position: relative;
  padding: 0.2rem 0;
  transition: color 0.3s ease;
}

.contact-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-champagne);
  transform: scaleX(0);
  transform-origin: center center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-link:hover {
  color: var(--color-perla);
}

.contact-link:hover::after {
  transform: scaleX(1);
}

.contact-link:focus-visible {
  outline: 1px solid var(--color-champagne);
  outline-offset: 4px;
  border-radius: 2px;
}

/* --------------------------------------------------------------------------
   Social Block (Config-driven)
   -------------------------------------------------------------------------- */
.social-block {
  margin-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 0;
}

.social-block:empty {
  display: none;
  margin: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--champagne-subtle);
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-link:hover {
  color: var(--color-champagne);
  border-color: var(--color-champagne);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  text-align: center;
  width: 100%;
  padding-top: 2rem;
  animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.95s both;
}

.copyright {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  user-select: none;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drawHairline {
  from {
    transform: scaleX(0);
    opacity: 0;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Logo Intro Curtain (once per session; see inline script in index.html)
   Timeline: waterline draws, bridge rises, reflection ripples, sheen, letters; curtain lifts 2.15-2.9 s.
   -------------------------------------------------------------------------- */
.intro {
  display: none;
}

html.intro-on .intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
  background-color: var(--color-inchiostro);
  background-image: radial-gradient(ellipse 120% 90% at 50% 40%, var(--bg-gradient-top) 0%, var(--bg-gradient-mid) 45%, var(--bg-gradient-base) 85%, #0D131E 100%);
  will-change: transform;
}

/* Fine champagne edge on the curtain as it lifts */
html.intro-on .intro::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--champagne-border) 30%, var(--champagne-border) 70%, transparent);
}

.intro-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.intro-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Symbol stage: same artwork split at the waterline (27.5% down) */
.intro-symbol {
  position: relative;
  width: clamp(190px, 52vw, 300px);
  aspect-ratio: 851 / 502;
  margin-bottom: 1.2rem;
}

.intro-layer,
.intro-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.intro-bridge {
  -webkit-clip-path: inset(27.5% 0 72.5% 0);
  clip-path: inset(27.5% 0 72.5% 0);
}

.intro-reflection {
  -webkit-clip-path: inset(27.5% 0 72.5% 0);
  clip-path: inset(27.5% 0 72.5% 0);
  filter: url(#vt-ripple);
}

.intro-waterline {
  position: absolute;
  left: 2%;
  right: 2%;
  top: 26.6%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-champagne) 25%, #F3E6C4 50%, var(--color-champagne) 75%, transparent);
  box-shadow: 0 0 10px rgba(216, 192, 142, 0.55);
  transform: scaleX(0);
  opacity: 0;
}

/* Light sweeping across the gold lines only (masked by the artwork) */
.intro-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 36%, rgba(255, 240, 205, 0.5) 44%, #FFFDF5 50%, rgba(255, 240, 205, 0.5) 56%, transparent 64%);
  background-size: 300% 100%;
  mix-blend-mode: plus-lighter;
  background-position: 120% 0;
  -webkit-mask: url(img/logo-symbol.png) center / 100% 100% no-repeat;
  mask: url(img/logo-symbol.png) center / 100% 100% no-repeat;
  opacity: 0;
}

.intro-lotus-glow {
  position: absolute;
  left: 50.2%;
  top: 88.6%;
  width: 34%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(0.4);
  background: radial-gradient(circle, rgba(232, 208, 156, 0.55) 0%, rgba(216, 192, 142, 0.18) 35%, transparent 68%);
  opacity: 0;
}

.intro-title {
  display: flex;
  font-family: 'Italiana', Georgia, serif;
  font-size: clamp(2.35rem, 8vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.26em;
  margin-right: -0.26em;
  color: var(--color-perla);
}

.intro-title span {
  display: inline-block;
  opacity: 0;
}

.intro-subtitle {
  display: flex;
  align-items: center;
  gap: 0.9em;
  margin-top: 0.95rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(0.7rem, 1.8vw, 0.9rem);
  font-weight: 400;
  color: var(--color-champagne);
}

.intro-sub-text {
  letter-spacing: 0.62em;
  margin-right: -0.62em;
  opacity: 0;
}

.intro-rule {
  display: block;
  width: clamp(22px, 5vw, 38px);
  height: 1px;
  background: var(--champagne-border);
  transform: scaleX(0);
}

.intro-rule:first-child {
  transform-origin: right center;
}

.intro-rule:last-child {
  transform-origin: left center;
}

/* ---- Choreography (starts when html.intro-go is set) ---- */
html.intro-go .intro-waterline {
  animation: introWaterline 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

html.intro-go .intro-bridge {
  animation: introBridge 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}

html.intro-go .intro-reflection {
  animation: introReflection 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

html.intro-go .intro-lotus-glow {
  animation: introLotus 1.4s ease-out 1.15s both;
}

html.intro-go .intro-sheen {
  animation: introSheen 1.1s cubic-bezier(0.45, 0, 0.25, 1) 1.05s both;
}

html.intro-go .intro-title span {
  animation: introLetter 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.75s + var(--i) * 0.07s);
}

html.intro-go .intro-sub-text {
  animation: introSub 0.9s cubic-bezier(0.16, 1, 0.3, 1) 1.3s both;
}

html.intro-go .intro-rule {
  animation: introRule 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.45s both;
}

html.intro-go .intro {
  animation: introCurtain 0.75s cubic-bezier(0.76, 0, 0.24, 1) 2.15s forwards;
}

/* Hold the page's own entrance animations until the curtain starts lifting */
html.intro-on:not(.intro-reveal) .top-bar,
html.intro-on:not(.intro-reveal) .site-wrapper *,
html.intro-on:not(.intro-reveal) .bg-overlay * {
  animation-play-state: paused;
}

@keyframes introWaterline {
  0% { transform: scaleX(0); opacity: 0; }
  15% { opacity: 1; }
  45% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0.25; }
}

@keyframes introBridge {
  from {
    -webkit-clip-path: inset(27.5% 0 72.5% 0);
    clip-path: inset(27.5% 0 72.5% 0);
    transform: translateY(4%);
  }
  to {
    -webkit-clip-path: inset(0 0 72.5% 0);
    clip-path: inset(0 0 72.5% 0);
    transform: translateY(0);
  }
}

@keyframes introReflection {
  from {
    -webkit-clip-path: inset(27.5% 0 72.5% 0);
    clip-path: inset(27.5% 0 72.5% 0);
    opacity: 0.4;
  }
  to {
    -webkit-clip-path: inset(27.5% 0 0 0);
    clip-path: inset(27.5% 0 0 0);
    opacity: 1;
  }
}

@keyframes introLotus {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
  35% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0.45; transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes introSheen {
  0% { opacity: 0; background-position: 120% 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; background-position: -20% 0; }
}

@keyframes introLetter {
  from { opacity: 0; transform: translateY(0.25em); filter: blur(6px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes introSub {
  from { opacity: 0; letter-spacing: 1.1em; margin-right: -1.1em; }
  to { opacity: 1; letter-spacing: 0.62em; margin-right: -0.62em; }
}

@keyframes introRule {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes introCurtain {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-100%);
  }
}

/* --------------------------------------------------------------------------
   Accessibility: Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .bg-image {
    transform: none !important;
    transition: none !important;
  }

  .intro {
    display: none !important;
  }
}
