/* ================================================================
   ANTONY FOR GOLD — style.css
   Luxury personal brand: gold · black · white
   ================================================================ */

/* ----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ---------------------------------------------------------------- */
:root {
  --gold-light:    #F5D78E;
  --gold-mid:      #C9A84C;
  --gold-deep:     #8B6914;
  --gold-dim:      rgba(201,168,76,0.15);
  --gold-grad:     linear-gradient(135deg, #F5D78E 0%, #C9A84C 45%, #8B6914 100%);
  --gold-sheen:    linear-gradient(105deg, transparent 30%, rgba(245,215,142,0.18) 50%, transparent 70%);

  --black:         #080808;
  --black-2:       #111111;
  --black-card:    #141414;
  --black-card-2:  #1A1A1A;
  --white:         #F5F0E8;
  --white-dim:     #C8C0B0;
  --gray:          #666055;

  --font-serif:    'Cormorant Garamond', Georgia, serif;
  --font-sans:     'Montserrat', system-ui, sans-serif;

  --nav-h:         72px;
  --pad:           clamp(1.5rem, 5vw, 4rem);
  /* Section padding via sezione aurea: 1rem × φ² ≈ 2.618 → 64px base × φ ≈ 103px max */
  --section-pad:   clamp(64px, 6.18vw, 103px);
  --container:     1200px;

  --ease-gold:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-expo:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-back:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { border: none; background: none; cursor: pointer; }

/* ----------------------------------------------------------------
   3. TYPOGRAPHY UTILITIES
   ---------------------------------------------------------------- */

/* Gold gradient text */
.g {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 500;
}

/* Gold italic heading accent */
.gold-em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Brand logo typography */
.brand-serif {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: inherit;
  letter-spacing: -0.01em;
}
.brand-gold {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: inherit;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Eyebrow labels */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  color: var(--gold-mid);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.gold-eye { color: var(--gold-light); }

/* Section titles */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.section-intro {
  max-width: 560px;
  color: var(--white-dim);
  font-size: 0.95rem;
  margin-top: -0.5rem;
  margin-bottom: 3rem;
}

/* Gold horizontal divider */
.gold-divider {
  width: 56px;
  height: 1px;
  background: var(--gold-grad);
  margin: 2rem 0;
}

/* ----------------------------------------------------------------
   4. BUTTONS
   ---------------------------------------------------------------- */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border: 1px solid var(--gold-mid);
  background: transparent;
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.45s var(--ease-gold);
  cursor: pointer;
}
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-grad);
  transform: translateX(-105%);
  transition: transform 0.5s var(--ease-gold);
  z-index: 0;
}
.btn-gold:hover::before { transform: translateX(0); }
.btn-gold:hover { color: var(--black); }
.btn-gold > * { position: relative; z-index: 1; }
.btn-gold .btn-label { position: relative; z-index: 1; }

.btn-lg {
  padding: 1rem 2.6rem;
  font-size: 0.8rem;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.btn-ghost:hover {
  color: var(--gold-light);
  border-color: var(--gold-mid);
}

/* ----------------------------------------------------------------
   5. LAYOUT CONTAINER
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ----------------------------------------------------------------
   6. NAVIGATION
   ---------------------------------------------------------------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
  z-index: 200;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(201,168,76,0.12);
}

.nav-logo {
  font-size: 1.4rem;
  line-height: 1;
  z-index: 1;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--white-dim);
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-gold);
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta { font-size: 0.7rem; padding: 0.6rem 1.4rem; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--gold-mid);
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------------------------------------------
   7. MOBILE MENU
   ---------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  padding: 2rem var(--pad);
  z-index: 190;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-gold), transform 0.35s var(--ease-gold);
}
.mobile-menu.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.mobile-menu a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--white-dim);
  text-transform: uppercase;
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--gold-light); }
.mobile-cta { margin-top: 0.5rem; }

/* ----------------------------------------------------------------
   8. LOADER
   ---------------------------------------------------------------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.9s var(--ease-gold), visibility 0.9s;
}
#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loader-canvas {
  width: 160px;
  height: 160px;
  display: block;
}

.loader-brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  line-height: 1;
}

.loader-bar {
  width: 120px;
  height: 1px;
  background: rgba(201,168,76,0.15);
  overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: var(--gold-grad);
  width: 0;
  animation: loaderProgress 1.6s var(--ease-expo) forwards;
}
@keyframes loaderProgress {
  to { width: 100%; }
}

/* ----------------------------------------------------------------
   9. HERO SECTION
   ---------------------------------------------------------------- */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: grid;
  /* left 2/3 = content + ingot canvas · right 1/3 = photo full-height */
  grid-template-columns: 2fr 1fr;
  align-items: stretch;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Parallax layers */
.hero-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.layer-1 { z-index: 1; }
.layer-2 { z-index: 2; }

/* Gold particles — CSS box-shadow approach */
.gold-particles {
  position: absolute;
  inset: 0;
}
.gold-particles::before,
.gold-particles::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  animation: particleDrift 10s ease-in-out infinite alternate;
}
.gold-particles::before {
  background: transparent;
  box-shadow:
    90px  60px 0 1px rgba(245,215,142,0.55),
    210px 130px 0 0px rgba(201,168,76,0.45),
    380px 80px  0 1px rgba(245,215,142,0.3),
    520px 200px 0 0px rgba(201,168,76,0.5),
    680px 50px  0 1px rgba(245,215,142,0.35),
    820px 160px 0 0px rgba(201,168,76,0.4),
    150px 280px 0 1px rgba(245,215,142,0.25),
    310px 350px 0 0px rgba(201,168,76,0.35),
    460px 300px 0 1px rgba(245,215,142,0.45),
    600px 380px 0 0px rgba(201,168,76,0.3),
    730px 290px 0 1px rgba(245,215,142,0.5),
    880px 340px 0 0px rgba(201,168,76,0.4),
    50px  420px 0 1px rgba(245,215,142,0.3),
    180px 480px 0 0px rgba(201,168,76,0.45),
    330px 460px 0 1px rgba(245,215,142,0.35),
    490px 500px 0 0px rgba(201,168,76,0.25),
    640px 450px 0 1px rgba(245,215,142,0.4),
    790px 490px 0 0px rgba(201,168,76,0.35),
    940px 420px 0 1px rgba(245,215,142,0.3);
  animation-delay: 0s;
}
.gold-particles::after {
  background: transparent;
  box-shadow:
    120px 150px 0 1px rgba(245,215,142,0.4),
    260px 220px 0 0px rgba(201,168,76,0.3),
    410px 170px 0 1px rgba(245,215,142,0.5),
    560px 100px 0 0px rgba(201,168,76,0.35),
    700px 240px 0 1px rgba(245,215,142,0.25),
    850px 120px 0 0px rgba(201,168,76,0.45),
    80px  360px 0 1px rgba(245,215,142,0.35),
    240px 400px 0 0px rgba(201,168,76,0.4),
    395px 380px 0 1px rgba(245,215,142,0.3),
    550px 430px 0 0px rgba(201,168,76,0.45),
    700px 360px 0 1px rgba(245,215,142,0.35),
    870px 410px 0 0px rgba(201,168,76,0.3);
  animation-delay: -5s;
}
@keyframes particleDrift {
  from { transform: translateY(0) translateX(0); }
  to   { transform: translateY(-18px) translateX(8px); }
}

/* Diagonal decorative lines */
.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hline {
  position: absolute;
  height: 1px;
  background: var(--gold-grad);
  opacity: 0;
  animation: lineFade 4s ease-in-out infinite;
}
.hline-a {
  width: 40%;
  top: 28%;
  left: -10%;
  transform: rotate(-15deg);
  animation-delay: 0s;
}
.hline-b {
  width: 55%;
  top: 55%;
  right: -10%;
  transform: rotate(-10deg);
  animation-delay: 1.5s;
}
.hline-c {
  width: 30%;
  bottom: 20%;
  left: 5%;
  transform: rotate(-8deg);
  animation-delay: 3s;
}
@keyframes lineFade {
  0%, 100% { opacity: 0; }
  30%, 70%  { opacity: 0.12; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 3.5rem) var(--pad) 4rem;
  max-width: 700px;
}

.hero-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.55em;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 300;
  line-height: 1.0;
  margin: 1.5rem 0 2rem;
}
.hl { display: block; }
.hl-1, .hl-2 { color: var(--white); }
.hl-accent {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--white-dim);
  max-width: 440px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* Hero photo — full-height right column (1/3 of hero) */
.hero-photo-wrap {
  position: relative;
  z-index: 10;
  overflow: hidden;
  height: 100%;          /* fills full hero height = 100vh */
  align-self: stretch;
}

/* Thin gold separator line on the left edge of photo column */
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  top: 15%;
  bottom: 15%;
  left: 0;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(201,168,76,0.35) 25%,
    rgba(201,168,76,0.35) 75%,
    transparent
  );
  z-index: 4;
  pointer-events: none;
}

/* Gradient overlay: left edge fades into dark, bottom softens */
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  var(--black) 0%, rgba(8,8,8,0.65) 18%, transparent 42%),
    linear-gradient(to top,    var(--black) 0%, transparent 18%),
    linear-gradient(to bottom, rgba(8,8,8,0.4) 0%, transparent 12%);
  z-index: 3;
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: contrast(1.04) saturate(0.88) brightness(0.88);
  position: relative;
  z-index: 2;
}

/* Remove old frame elements (no longer used with full-bleed photo) */
.photo-frame-outer,
.photo-frame-inner {
  display: none;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  opacity: 0;
}
.scroll-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-mid);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.4; }
}

/* ----------------------------------------------------------------
   10. CHI SONO
   ---------------------------------------------------------------- */
#chi-sono {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.chi-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.chi-text {
  opacity: 0;
  transform: translateY(40px);
}
.chi-text p {
  color: var(--white-dim);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

.chi-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  opacity: 0;
  transform: translateY(40px);
}
#ingot-sm-1 {
  width: 260px;
  height: 260px;
  position: relative;
  z-index: 2;
}

/* Morphing shapes */
.morph-shape {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  pointer-events: none;
}
.morph-1 {
  width: 340px;
  height: 340px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.morph-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(245,215,142,0.04) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  z-index: 1;
}

/* ----------------------------------------------------------------
   11. I MIEI VALORI
   ---------------------------------------------------------------- */
#valori {
  padding: var(--section-pad) 0 calc(var(--section-pad) * 1.2);
  background: var(--black-2);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(40px);
}
.section-header .eyebrow { justify-content: center; }

.valori-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.valore-card {
  background: var(--black-card);
  border: 1px solid rgba(201,168,76,0.1);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: border-color 0.4s var(--ease-gold), transform 0.4s var(--ease-gold), box-shadow 0.4s;
}
.valore-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-sheen);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease-gold);
  pointer-events: none;
}
.valore-card:hover {
  border-color: rgba(201,168,76,0.45);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(201,168,76,0.06);
}
.valore-card:hover::before {
  transform: translateX(120%);
}

.valore-icon {
  margin-bottom: 1.5rem;
}
.valore-icon svg {
  width: 38px;
  height: 38px;
}

.valore-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--white);
}
.valore-card p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.7;
}

/* Bottom line that grows on hover */
.card-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold-grad);
  transition: width 0.5s var(--ease-gold);
}
.valore-card:hover .card-line { width: 100%; }

.valori-wipe-trigger { height: 1px; }

/* ----------------------------------------------------------------
   12. SU COSA CREDO
   ---------------------------------------------------------------- */
#credo {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

#ingot-sm-2 {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

#credo .container { position: relative; z-index: 1; }

.credo-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.credo-item {
  display: grid;
  grid-template-columns: 72px 52px 1fr;
  align-items: start;
  gap: 2rem;
  padding: 2.8rem 0;
  border-bottom: 1px solid rgba(201,168,76,0.08);
  opacity: 0;
  transform: translateX(-50px);
}
.credo-item:first-child { border-top: 1px solid rgba(201,168,76,0.08); }

.credo-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1;
  color: rgba(201,168,76,0.18);
  align-self: center;
  transition: color 0.4s;
}
.credo-item:hover .credo-num {
  color: rgba(201,168,76,0.45);
}

.credo-icon {
  align-self: center;
}
.credo-icon svg {
  width: 28px;
  height: 28px;
}

.credo-body h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--white);
}
.credo-body p {
  font-size: 0.9rem;
  color: var(--white-dim);
  line-height: 1.75;
  max-width: 580px;
}

/* ----------------------------------------------------------------
   13. CTA SECTION
   ---------------------------------------------------------------- */
#cta {
  padding: clamp(12px, 1.2vw, 20px) 0;
  background-color: var(--black-2);
  background-image: url('../files/gold-img-2-bg.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
/* Dark overlay to keep text readable over the gold texture */
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 5, 3, 0.87);
  z-index: 0;
}
#cta .cta-glow,
#cta .cta-glow-2,
#cta .container { position: relative; z-index: 1; }

.cta-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite alternate;
}
.cta-glow-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,215,142,0.04) 0%, transparent 65%);
  animation-delay: 2s;
}
@keyframes glowPulse {
  from { opacity: 0.6; transform: translate(-50%,-50%) scale(0.95); }
  to   { opacity: 1;   transform: translate(-50%,-50%) scale(1.05); }
}

.cta-content {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(40px);
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  margin: 0 0 0.9rem;
}

.cta-sub {
  font-size: 0.85rem;
  color: var(--white-dim);
  max-width: 540px;
  margin: 0 auto 1.2rem;
  line-height: 1.7;
}

.cta-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.cta-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  text-transform: uppercase;
}
.check {
  color: var(--gold-mid);
  font-size: 1rem;
  font-weight: 600;
}

/* ----------------------------------------------------------------
   13b. GOLD VISUAL BREAK — parallax photo section (gold-img-1)
   ---------------------------------------------------------------- */
.gold-break {
  position: relative;
  /* Sezione aurea: altezza ≈ larghezza / φ² = larghezza × 0.382
     A 1440px → 550px; clamp 200–340 per eleganza senza dominare */
  height: clamp(200px, 23.6vw, 340px);
  overflow: hidden;
}

.gold-break-bg {
  position: absolute;
  inset: -15% 0;         /* extra height for parallax travel */
  background-image: url('../files/gold-img-1.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

/* Multi-layer overlay: black vignette top+bottom, subtle colour tint */
.gold-break::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--black) 0%,  transparent 30%,  transparent 70%, var(--black) 100%),
    rgba(6, 4, 0, 0.52);
  z-index: 1;
}

.gold-break-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--pad);
}

.gold-break-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--gold-light);
  max-width: 700px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.7);
}

.gold-break-attr {
  margin-top: 1.2rem;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: rgba(201,168,76,0.6);
  text-transform: uppercase;
}

/* ----------------------------------------------------------------
   14. CONTATTI
   ---------------------------------------------------------------- */
#contatti {
  padding: var(--section-pad) 0;
}

.contatti-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contatti-left {
  opacity: 0;
  transform: translateY(40px);
}
.contatti-intro {
  font-size: 0.92rem;
  color: var(--white-dim);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.85rem;
  color: var(--white-dim);
  transition: color 0.3s;
}
.contact-link:hover { color: var(--gold-light); }
.contact-icon {
  flex-shrink: 0;
  display: flex;
}

/* Contact Form */
.contatti-right {
  opacity: 0;
  transform: translateY(40px);
}

.contact-form {
  display: flex;
  flex-direction: column;
}

.form-field {
  position: relative;
  margin-bottom: 2.2rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 1rem 0 0.7rem;
  outline: none;
  resize: none;
  transition: border-color 0.3s;
}
.form-field textarea { line-height: 1.6; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold-mid);
}

/* Floating label */
.form-field label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 0.8rem;
  color: var(--gray);
  pointer-events: none;
  transition: top 0.28s var(--ease-gold), font-size 0.28s, color 0.28s;
}
.form-field input:focus ~ label,
.form-field input:not(:placeholder-shown) ~ label,
.form-field textarea:focus ~ label,
.form-field textarea:not(:placeholder-shown) ~ label {
  top: -0.85rem;
  font-size: 0.62rem;
  color: var(--gold-mid);
  letter-spacing: 0.15em;
}

/* Animated underline */
.field-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--gold-grad);
  transition: width 0.4s var(--ease-gold);
}
.form-field input:focus ~ .field-line,
.form-field textarea:focus ~ .field-line {
  width: 100%;
}

/* Hide default placeholder text (label does the job) */
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: transparent;
}

.btn-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
}

.form-feedback {
  margin-top: 1rem;
  font-size: 0.8rem;
  min-height: 1.2em;
}

/* ----------------------------------------------------------------
   15. FOOTER
   ---------------------------------------------------------------- */
#footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(201,168,76,0.1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 1.2rem;
  line-height: 1;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--gray);
  letter-spacing: 0.05em;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}
.footer-socials a {
  color: var(--gray);
  transition: color 0.3s;
}
.footer-socials a:hover { color: var(--gold-light); }

/* ----------------------------------------------------------------
   16. GLOBAL [data-reveal] INITIAL STATE
   (GSAP will animate these elements on scroll)
   ---------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
}

/* ----------------------------------------------------------------
   17. RESPONSIVE — 1100px
   ---------------------------------------------------------------- */
@media (max-width: 1100px) {
  .valori-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ----------------------------------------------------------------
   18. RESPONSIVE — 900px
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 100vh;
  }

  /* On mobile: photo shows as tall portrait column above content */
  .hero-photo-wrap {
    height: clamp(340px, 65vw, 520px);
    order: -1;     /* photo appears first on mobile */
  }

  /* Override desktop left-to-right gradient (designed for 2-col layout).
     On mobile the photo is full-width so we use only a bottom fade. */
  .hero-photo-wrap::after {
    background:
      linear-gradient(to top, var(--black) 0%, rgba(8,8,8,0.4) 20%, transparent 48%),
      linear-gradient(to bottom, rgba(8,8,8,0.35) 0%, transparent 14%);
  }

  /* Remove the vertical separator line — irrelevant in single-column layout */
  .hero-photo-wrap::before {
    display: none;
  }

  .hero-photo {
    object-position: top center;
  }

  .hero-content {
    padding-top: 2rem;
  }

  .hero-headline {
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .chi-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .chi-visual {
    min-height: 240px;
  }

  .valori-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .credo-item {
    grid-template-columns: 56px 1fr;
    gap: 1.5rem;
  }
  .credo-icon { display: none; }

  .contatti-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ----------------------------------------------------------------
   19. RESPONSIVE — 600px
   ---------------------------------------------------------------- */
@media (max-width: 600px) {
  :root {
    --pad: 1.25rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }

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

  /* Hero photo: taller on small phones so the face is clearly visible */
  .hero-photo-wrap {
    height: clamp(300px, 80vw, 420px);
  }

  .cta-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .cta-badges {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .credo-item {
    grid-template-columns: 44px 1fr;
    gap: 1rem;
    padding: 2rem 0;
  }
  .credo-num {
    font-size: 2.5rem;
  }
}

/* ----------------------------------------------------------------
   20. SELECTION + SCROLLBAR
   ---------------------------------------------------------------- */
::selection {
  background: rgba(201,168,76,0.25);
  color: var(--white);
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--black-2);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-deep);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-mid);
}

/* ----------------------------------------------------------------
   21. ACCESSIBILITY: reduce motion
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .ticker-track { animation-play-state: paused !important; }
}

/* ================================================================
   ENHANCED ANIMATIONS & MOBILE v2
   ================================================================ */

/* ----------------------------------------------------------------
   22. SCROLL PROGRESS BAR
   ---------------------------------------------------------------- */
.scroll-progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold-grad);
  z-index: 9998;
  pointer-events: none;
  transform-origin: left center;
}

/* ----------------------------------------------------------------
   23. CUSTOM CURSOR  (precise pointer only)
   ---------------------------------------------------------------- */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, .valore-card, .credo-item { cursor: none; }
}

.cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9995;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor-dot {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--gold-light);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}
.cursor-ring {
  position: absolute;
  width: 38px; height: 38px;
  border: 1px solid rgba(201,168,76,0.55);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s var(--ease-expo), height 0.4s var(--ease-expo),
              border-color 0.4s, background 0.3s;
}
body.cursor-hover .cursor-ring {
  width: 60px; height: 60px;
  border-color: rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.05);
}
body.cursor-hover .cursor-dot {
  width: 4px; height: 4px;
}
body.cursor-click .cursor-ring {
  width: 24px; height: 24px;
  background: rgba(201,168,76,0.18);
}
@media (hover: none) { .cursor { display: none !important; } }

/* ----------------------------------------------------------------
   24. TICKER STRIP
   ---------------------------------------------------------------- */
.ticker-strip {
  background: var(--black-2);
  border-top:    1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  overflow: hidden;
  padding: 0.9rem 0;
  position: relative;
}
.ticker-strip::before,
.ticker-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.ticker-strip::before {
  left: 0;
  background: linear-gradient(to right, var(--black-2), transparent);
}
.ticker-strip::after {
  right: 0;
  background: linear-gradient(to left, var(--black-2), transparent);
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 2.8rem;
  white-space: nowrap;
  animation: tickerScroll 36s linear infinite;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  color: var(--gold-mid);
  text-transform: uppercase;
}
.ticker-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-deep);
  opacity: 0.5;
  flex-shrink: 0;
  display: inline-block;
}

/* ----------------------------------------------------------------
   25. STATS ROW  (chi-sono)
   ---------------------------------------------------------------- */
.chi-stats {
  display: flex;
  gap: clamp(1.6rem, 4vw, 3rem);
  margin: 2rem 0 2.2rem;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.stat-num-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.06em;
  line-height: 1;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-suffix {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 300;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray);
  font-weight: 400;
}

/* ----------------------------------------------------------------
   26. FLOATING ORBS
   ---------------------------------------------------------------- */
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(22px, -28px) scale(1.06); }
  66%       { transform: translate(-16px, 14px) scale(0.96); }
}

#chi-sono::before {
  content: '';
  position: absolute;
  top: -80px; left: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.045) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 14s ease-in-out infinite;
}
#contatti::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -150px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 18s ease-in-out infinite reverse;
}
#contatti { position: relative; overflow: hidden; }

/* ----------------------------------------------------------------
   27. CREDO ITEM — gold underline sweep on hover
   ---------------------------------------------------------------- */
.credo-item {
  position: relative;
}
.credo-item::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  height: 1px; width: 0;
  background: var(--gold-grad);
  transition: width 0.55s var(--ease-gold);
}
.credo-item:hover::after { width: 100%; }

/* ----------------------------------------------------------------
   28. SECTION DECORATIVE BG NUMBER
   ---------------------------------------------------------------- */
.section-num-bg {
  position: absolute;
  right: calc(var(--pad) - 0.2em);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-serif);
  font-size: clamp(10rem, 22vw, 22rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,168,76,0.04);
  pointer-events: none;
  line-height: 1;
  user-select: none;
  z-index: 0;
}

/* ----------------------------------------------------------------
   29. HAMBURGER — show at 900px (not just 600px)
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }
}

/* ----------------------------------------------------------------
   30. MOBILE 900px — extra fixes
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .section-num-bg { display: none; }
  #chi-sono::before { width: 300px; height: 300px; left: -80px; }

  .ticker-item { font-size: 0.58rem; letter-spacing: 0.32em; }
  .ticker-track { gap: 2rem; }

  .chi-stats { gap: 1.8rem; }

  #cta { padding: clamp(32px, 4vw, 56px) 0; }
  .cta-title { font-size: clamp(1.8rem, 5vw, 3.5rem); }
}

/* ----------------------------------------------------------------
   31. MOBILE 768px
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .gold-break-quote { font-size: clamp(1.1rem, 4.5vw, 1.8rem); }
  .section-intro { font-size: 0.88rem; }

  .contatti-inner { gap: 2.5rem; }

  .footer-inner { flex-direction: column; text-align: center; }
}

/* ----------------------------------------------------------------
   32. MOBILE 600px — touch button sizes + layout
   ---------------------------------------------------------------- */
@media (max-width: 600px) {
  .btn-gold, .btn-lg {
    min-height: 44px;
    padding: 0.85rem 1.6rem;
    font-size: 0.73rem;
  }

  /* Valori: already 1 col — reduce padding */
  .valore-card { padding: 1.6rem 1.2rem 1.4rem; }
  .valore-icon svg { width: 30px; height: 30px; }
  .valore-card h3 { font-size: 1.15rem; }

  /* Credo */
  .credo-item { grid-template-columns: 48px 1fr; gap: 1rem; padding: 1.8rem 0; }
  .credo-num  { font-size: 2.2rem; }
  .credo-body h3 { font-size: 1.35rem; }
  .credo-body p  { font-size: 0.85rem; }

  /* CTA */
  .cta-badges { flex-direction: column; align-items: center; gap: 0.9rem; }
  .cta-badge  { font-size: 0.76rem; }

  /* Stats */
  .chi-stats { gap: 1.3rem; }
  .stat-num  { font-size: clamp(1.8rem, 9vw, 2.5rem); }

  /* Ticker */
  .ticker-strip { padding: 0.7rem 0; }
  .ticker-item  { font-size: 0.55rem; letter-spacing: 0.3em; }

  /* Section spacing */
  :root { --section-pad: clamp(48px, 10vw, 72px); }
}

/* ----------------------------------------------------------------
   33. MOBILE 480px — compact small phones
   ---------------------------------------------------------------- */
@media (max-width: 480px) {
  :root { --pad: 1.1rem; }

  .hero-headline    { font-size: clamp(2.6rem, 13vw, 3.5rem); }
  .section-title    { font-size: clamp(1.9rem, 9vw, 2.8rem); }

  .section-header   { margin-bottom: 2.5rem; }

  .chi-inner        { gap: 2rem; }
  .chi-visual       { min-height: 180px; }

  .credo-item       { grid-template-columns: 40px 1fr; gap: 0.75rem; padding: 1.5rem 0; }
  .credo-num        { font-size: 1.9rem; }

  .form-field       { margin-bottom: 1.6rem; }
  .contatti-inner   { gap: 2rem; }

  .footer-inner     { gap: 1rem; }
  .footer-copy      { font-size: 0.65rem; }
}

/* ----------------------------------------------------------------
   34. THREE.JS CANVAS — reduce on mobile
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  #hero-canvas { opacity: 0.35; }
}
@media (max-width: 600px) {
  #hero-canvas { display: none; }
  #ingot-sm-1, #ingot-sm-2 { display: none; }
}

/* ----------------------------------------------------------------
   35. TOUCH — disable 3D hover effects
   ---------------------------------------------------------------- */
@media (hover: none) {
  .valore-card:hover {
    transform: none;
    box-shadow: none;
  }
  .valore-card:hover::before { transform: translateX(-120%); }
  .valore-card:hover .card-line { width: 0; }
}
