:root {
  --pearl: #f3eee6;
  --pearl-deep: #e8e0d4;
  --ink: #1a1410;
  --ink-soft: #4a4038;
  --gold: #b08a4a;
  --gold-bright: #d4b06a;
  --gold-deep: #8a6a35;
  --emerald: #1a3d32;
  --veil: rgba(18, 12, 8, 0.42);
  --line: rgba(176, 138, 74, 0.35);
  --font-display: "Bodoni Moda", "Times New Roman", serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  background:
    radial-gradient(120% 80% at 10% -10%, rgba(212, 176, 106, 0.22), transparent 55%),
    radial-gradient(90% 70% at 100% 0%, rgba(26, 61, 50, 0.08), transparent 50%),
    linear-gradient(180deg, #f7f2ea 0%, var(--pearl) 40%, #efe8dc 100%);
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

h1,
h2,
h3,
.brand-hero,
.year {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.6rem);
  margin: 0.15em 0 0.55em;
}

h2 em,
h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-deep);
}

.overline {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem clamp(1.2rem, 4vw, 3rem);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(243, 238, 230, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #f7f2ea;
  transition: color 0.35s var(--ease);
}

.site-header.is-scrolled .brand-mark {
  color: var(--ink);
}

.mark {
  width: 1.35rem;
  height: 1.35rem;
  fill: var(--gold-bright);
}

.nav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
}

.nav a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 234, 0.82);
  transition: color 0.3s var(--ease);
}

.nav a:hover {
  color: var(--gold-bright);
}

.site-header.is-scrolled .nav a {
  color: var(--ink-soft);
}

.site-header.is-scrolled .nav a:hover {
  color: var(--gold-deep);
}

.header-cta {
  justify-self: end;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold-bright);
  padding: 0.7rem 1.15rem;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.header-cta:hover {
  background: #e0c07a;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  justify-self: end;
  width: 2.4rem;
  height: 2rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  margin: 0.45rem 0;
  background: #f7f2ea;
  transition: background 0.3s var(--ease);
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--ink);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  padding: 2rem;
  background: rgba(26, 20, 16, 0.96);
  color: #f7f2ea;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
}

.mobile-nav-cta {
  margin-top: 1rem;
  width: fit-content;
  padding: 0.85rem 1.3rem;
  background: var(--gold);
  color: var(--ink) !important;
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-nav[hidden] {
  display: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  border-radius: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn-gold {
  background: var(--gold-bright);
  color: var(--ink);
}

.btn-gold:hover {
  background: #e4c684;
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid rgba(247, 242, 234, 0.45);
  color: #f7f2ea;
}

.btn-ghost:hover {
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}

.btn-ghost-dark {
  border: 1px solid rgba(26, 20, 16, 0.25);
  color: var(--ink);
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.2rem;
  width: fit-content;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.text-link:hover {
  color: var(--ink);
  border-color: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: #f7f2ea;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  animation: hero-drift 22s var(--ease) infinite alternate;
  transform: scale(1.08);
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 12, 8, 0.35) 0%, rgba(18, 12, 8, 0.15) 35%, rgba(18, 12, 8, 0.55) 70%, rgba(18, 12, 8, 0.78) 100%),
    radial-gradient(60% 50% at 70% 40%, rgba(176, 138, 74, 0.18), transparent 70%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  padding: clamp(5.5rem, 12vh, 8rem) clamp(1.4rem, 5vw, 4.5rem) clamp(4rem, 10vh, 6.5rem);
}

.brand-hero {
  margin: 0 0 0.55rem;
  font-size: clamp(3.2rem, 9vw, 7.2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: none;
  color: #faf6ef;
  text-shadow: 0 2px 40px rgba(18, 12, 8, 0.35);
}

.hero-line {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--gold-bright);
}

.hero-text {
  max-width: 28rem;
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(247, 242, 234, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.scroll-cue {
  position: absolute;
  bottom: 1.6rem;
  right: clamp(1.4rem, 5vw, 4.5rem);
  z-index: 2;
  width: 1.4rem;
  height: 2.2rem;
  border: 1px solid rgba(247, 242, 234, 0.45);
  display: grid;
  place-items: start center;
  padding-top: 0.35rem;
}

.scroll-cue span {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-bright);
  animation: cue 1.8s var(--ease) infinite;
}

@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

@keyframes hero-drift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}

/* Heritage */
.heritage {
  display: grid;
  grid-template-columns: minmax(5rem, 8rem) 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1.4rem, 5vw, 4.5rem);
}

.heritage-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.year {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  letter-spacing: 0.12em;
  color: var(--gold-deep);
}

.rail-line {
  width: 1px;
  height: 6rem;
  background: linear-gradient(180deg, var(--gold), transparent);
}

.year-label {
  margin: 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.heritage-copy p:not(.overline) {
  color: var(--ink-soft);
  max-width: 34rem;
  font-size: 1.05rem;
}

.heritage-figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  clip-path: inset(0 8% 0 0);
}

.heritage-figure img {
  transition: transform 1.2s var(--ease);
}

.heritage-figure:hover img {
  transform: scale(1.05);
}

/* Collections */
.collections {
  padding: clamp(3rem, 8vw, 6rem) clamp(1.4rem, 5vw, 4.5rem) clamp(4rem, 9vw, 7rem);
  background:
    linear-gradient(180deg, transparent, rgba(26, 61, 50, 0.05) 30%, transparent 70%),
    linear-gradient(90deg, rgba(176, 138, 74, 0.06), transparent 40%);
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.collection-stage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}

.collection {
  grid-column: span 4;
  margin: 0;
  overflow: hidden;
  position: relative;
  min-height: 22rem;
}

.collection:nth-child(1) {
  grid-column: span 7;
  min-height: 28rem;
}

.collection:nth-child(2) {
  grid-column: span 5;
  min-height: 28rem;
}

.collection:nth-child(3),
.collection:nth-child(4),
.collection:nth-child(5),
.collection:nth-child(6) {
  grid-column: span 3;
  min-height: 20rem;
}

.collection a {
  display: block;
  height: 100%;
  position: relative;
  color: #f7f2ea;
}

.collection img {
  transition: transform 1.1s var(--ease);
}

.collection a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(18, 12, 8, 0.78) 100%);
}

.collection:hover img {
  transform: scale(1.07);
}

.collection-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.4rem 1.3rem;
}

.collection-meta h3 {
  margin: 0 0 0.3rem;
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}

.collection-meta span {
  font-size: 0.88rem;
  color: rgba(247, 242, 234, 0.78);
}

.collections-note {
  margin: 2rem 0 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.collections-note a {
  color: var(--gold-deep);
  border-bottom: 1px solid var(--line);
}

/* Atelier */
.atelier {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.atelier-media {
  overflow: hidden;
  min-height: 28rem;
}

.atelier-media img {
  transition: transform 1.4s var(--ease);
}

.atelier:hover .atelier-media img {
  transform: scale(1.04);
}

.atelier-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem);
  background: var(--emerald);
  color: #f3eee6;
}

.atelier-copy .overline {
  color: var(--gold-bright);
}

.atelier-copy h2 em {
  color: var(--gold-bright);
}

.atelier-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.atelier-list li {
  display: grid;
  gap: 0.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(212, 176, 106, 0.25);
}

.atelier-list strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.atelier-list span {
  color: rgba(243, 238, 230, 0.75);
  font-size: 0.98rem;
}

.atelier-copy .text-link {
  color: var(--gold-bright);
  border-color: rgba(212, 176, 106, 0.4);
  margin-top: 2rem;
}

.atelier-copy .text-link:hover {
  color: #f7f2ea;
  border-color: #f7f2ea;
}

/* Visit */
.visit {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.4rem, 5vw, 4.5rem);
}

.visit-intro {
  max-width: 34rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.visit-intro p:not(.overline) {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.visit-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(255, 252, 247, 0.7), rgba(232, 224, 212, 0.55));
  border: 1px solid var(--line);
}

.visit-details {
  display: grid;
  gap: 2.2rem;
  padding: clamp(1.6rem, 4vw, 2.8rem);
}

.visit-details h3 {
  margin: 0 0 0.7rem;
  font-size: 1.35rem;
}

.visit-details p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.phone {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.02em;
  margin-bottom: 1.2rem;
  transition: color 0.3s var(--ease);
}

.phone:hover {
  color: var(--gold-deep);
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.visit-map {
  min-height: 22rem;
}

.visit-map iframe {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

/* Footer */
.site-footer {
  padding: 3rem clamp(1.4rem, 5vw, 4.5rem) 2.2rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1.4rem;
}

.footer-name {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--gold-deep);
  text-shadow: none;
}

.footer-brand p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 1.8rem;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--gold-deep);
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
}

/* Motion */
.reveal-hero,
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal-hero.is-in,
.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal-hero:nth-child(1) { transition-delay: 0.05s; }
.reveal-hero:nth-child(2) { transition-delay: 0.18s; }
.reveal-hero:nth-child(3) { transition-delay: 0.3s; }
.reveal-hero:nth-child(4) { transition-delay: 0.42s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .scroll-cue span,
  .reveal-hero,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Responsive */
@media (max-width: 980px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

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

  .heritage-rail {
    flex-direction: row;
    justify-content: flex-start;
  }

  .year,
  .year-label {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .rail-line {
    width: 3rem;
    height: 1px;
  }

  .heritage-figure {
    clip-path: none;
    max-height: 28rem;
  }

  .collection,
  .collection:nth-child(1),
  .collection:nth-child(2),
  .collection:nth-child(3),
  .collection:nth-child(4),
  .collection:nth-child(5),
  .collection:nth-child(6) {
    grid-column: span 6;
    min-height: 18rem;
  }

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

  .visit-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .collection,
  .collection:nth-child(n) {
    grid-column: span 12;
    min-height: 16rem;
  }

  .hero-copy {
    padding-bottom: 5rem;
  }

  .scroll-cue {
    display: none;
  }
}
