/* ===== Fanny Clauss — Shared stylesheet ===== */
:root {
  --fc-black:      #1C1C1C;
  --fc-gold:       #B8965A;
  --fc-gold-light: #E8D9C0;
  --fc-gold-dim:   rgba(184,150,90,0.15);
  --fc-taupe:      #EDE8E1;
  --fc-cream:      #FAF7F2;
  --fc-white:      #FFFFFF;
  --fc-warm-gray:  #8A847B;
  --fc-dark-gray:  #3D3A36;
  --fc-shadow:     0 8px 40px rgba(28,28,28,0.08);
  --fc-ease:       cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.8;
  color: var(--fc-dark-gray);
  background: var(--fc-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

.script { font-family: 'Dancing Script', cursive; font-weight: 500; }
.serif  { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300; }
.mono   { font-family: 'Lato', sans-serif; }

.gold { color: var(--fc-gold); }
.warm { color: var(--fc-warm-gray); }

/* ===== NAVIGATION ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 2.5px solid var(--fc-gold);
  border-bottom: 0.5px solid var(--fc-taupe);
  padding: 16px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow .4s ease;
}
.nav.scrolled {
  box-shadow: 0 4px 28px rgba(28,28,28,0.09);
}
.nav__logo {
  font-family: 'Dancing Script', cursive;
  font-size: 26px; font-weight: 600;
  color: var(--fc-black);
  display: flex; align-items: baseline; gap: 12px;
  transition: color .3s ease;
}
.nav__logo:hover { color: var(--fc-gold); }
.nav__logo small {
  font-family: 'Lato', sans-serif;
  font-weight: 300; font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--fc-warm-gray);
}
.nav__links { display: flex; gap: 36px; list-style: none; }
.nav__links a {
  font-size: 9px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--fc-dark-gray);
  padding: 6px 0;
  position: relative;
  transition: color .3s ease;
}
.nav__links a::after {
  content: '';
  position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--fc-gold);
  transition: width .35s var(--fc-ease);
}
.nav__links a:hover { color: var(--fc-gold); }
.nav__links a:hover::after { width: 100%; }
.nav__links a.active {
  color: var(--fc-gold);
}
.nav__links a.active::after { width: 100%; }

.nav__cta {
  font-size: 9px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  background: var(--fc-black); color: #fff;
  padding: 12px 24px;
  transition: background .3s ease, transform .2s ease, box-shadow .3s ease;
}
.nav__cta:hover {
  background: var(--fc-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(184,150,90,0.35);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 700; font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 15px 30px;
  border: none; cursor: pointer;
  transition: all .3s var(--fc-ease);
  position: relative;
}
.btn--primary {
  background: var(--fc-black); color: #fff;
}
.btn--primary:hover {
  background: var(--fc-gold);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,150,90,0.3);
}
.btn--outline {
  border: 1px solid var(--fc-black);
  color: var(--fc-black);
  background: transparent;
}
.btn--outline:hover {
  background: var(--fc-black); color: #fff;
  transform: translateY(-1px);
}
.btn--gold {
  background: var(--fc-gold); color: #fff;
}
.btn--gold:hover {
  background: var(--fc-black);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(28,28,28,0.25);
}

/* ===== SECTION HEADERS ===== */
.section {
  padding: 110px 48px;
  max-width: 1320px;
  margin: 0 auto;
}
.section--tight { padding: 70px 48px; }

.section-label {
  display: flex; align-items: center; gap: 22px;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--fc-warm-gray);
  margin-bottom: 20px;
}
.section-label::after {
  content: ''; flex: 1;
  height: 0.5px; background: var(--fc-taupe);
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: 38px; line-height: 1.15;
  color: var(--fc-black);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.section-title .amp { color: var(--fc-gold); }

.section-num {
  font-family: 'Lato', sans-serif;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--fc-gold);
}
.section-num::before { content: '< '; }
.section-num::after  { content: ' >'; }

/* ===== DIVIDER ===== */
.divider-gold {
  height: 0.5px;
  background: linear-gradient(90deg, transparent, var(--fc-gold-light), transparent);
  border: none;
  margin: 0;
}

/* ===== PHOTO PLACEHOLDER ===== */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(
      45deg,
      #f4efe7 0 8px,
      #ece5d8 8px 16px
    );
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: var(--fc-warm-gray);
  font-family: 'Lato', monospace;
  font-size: 9px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  text-align: center;
  padding: 24px;
  user-select: none;
  transition: transform .8s var(--fc-ease);
}
/* Remove decorative frame when a real image is present */
.ph:has(img)::before { display: none; }
.ph:has(img) { padding: 0; background: var(--fc-taupe); }

.ph::before {
  content: '';
  position: absolute; inset: 16px;
  border: 0.5px solid rgba(184,150,90,0.35);
  pointer-events: none;
  z-index: 1;
}
.ph__label {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.7);
  padding: 8px 14px;
  backdrop-filter: blur(2px);
}
.ph--dark {
  background:
    repeating-linear-gradient(
      45deg,
      #2a2825 0 8px,
      #1f1d1a 8px 16px
    );
  color: var(--fc-gold-light);
}
.ph--dark::before { border-color: rgba(184,150,90,0.5); }
.ph--dark .ph__label { background: rgba(28,28,28,0.6); color: var(--fc-gold-light); }

.ph--gold {
  background:
    repeating-linear-gradient(
      45deg,
      #d6bd91 0 8px,
      #c2a878 8px 16px
    );
  color: #fff;
}

/* ratios */
.r-1\/1   { aspect-ratio: 1 / 1; }
.r-3\/4   { aspect-ratio: 3 / 4; }
.r-4\/3   { aspect-ratio: 4 / 3; }
.r-2\/3   { aspect-ratio: 2 / 3; }
.r-3\/2   { aspect-ratio: 3 / 2; }
.r-16\/9  { aspect-ratio: 16 / 9; }

/* ===== IMAGE HOVER ===== */
.imghover { position: relative; overflow: hidden; cursor: pointer; }
.imghover .ph,
.imghover img { transition: transform .7s var(--fc-ease); }
.imghover:hover .ph,
.imghover:hover img { transform: scale(1.06); }

.imghover__overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 26px;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.58));
  opacity: 0; transition: opacity .45s ease;
  font-family: 'Lato'; font-weight: 300; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.28em;
  color: #fff;
  z-index: 5;
}
.imghover:hover .imghover__overlay { opacity: 1; }

/* ===== REVEAL ON SCROLL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .95s var(--fc-ease), transform .95s var(--fc-ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger .reveal:nth-child(1) { transition-delay: 0s; }
.stagger .reveal:nth-child(2) { transition-delay: 0.08s; }
.stagger .reveal:nth-child(3) { transition-delay: 0.16s; }
.stagger .reveal:nth-child(4) { transition-delay: 0.24s; }
.stagger .reveal:nth-child(5) { transition-delay: 0.32s; }
.stagger .reveal:nth-child(6) { transition-delay: 0.40s; }

/* ===== FOOTER ===== */
.footer {
  background: var(--fc-black);
  color: #d8d3cb;
  padding: 90px 48px 36px;
}
.footer__inner {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 0.5px solid #2f2c28;
}
.footer__brand .script-logo {
  font-family: 'Dancing Script', cursive;
  font-size: 40px; color: #fff;
  margin-bottom: 10px;
}
.footer__brand p {
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
  font-size: 14px; color: var(--fc-gold-light);
  margin-bottom: 26px;
  max-width: 320px;
  line-height: 1.7;
}
.footer h5 {
  font-size: 9px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--fc-gold);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid #2f2c28;
}
.footer ul { list-style: none; }
.footer li {
  font-size: 12px; line-height: 2.2;
  color: #b8b3aa;
  transition: color .3s, padding-left .3s;
  cursor: pointer;
}
.footer li:hover { color: var(--fc-gold); padding-left: 6px; }
.footer__bot {
  max-width: 1320px; margin: 36px auto 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #6e6a64;
}
.footer__bot::before {
  display: none;
}

/* ===== UTILITIES ===== */
.grid { display: grid; gap: 24px; }
.flex { display: flex; }

.crumbs {
  font-size: 9px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--fc-warm-gray);
  padding: 22px 48px;
  max-width: 1320px;
  margin: 0 auto;
}
.crumbs span { color: var(--fc-gold); margin: 0 8px; }

/* Gold bar accent for section openers */
.gold-bar {
  display: block;
  width: 32px; height: 1.5px;
  background: var(--fc-gold);
  margin-bottom: 20px;
}

/* ── Hamburger button ── */
.nav__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  z-index: 101;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--fc-black);
  transition: transform .35s var(--fc-ease), opacity .25s ease;
  transform-origin: center;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Responsive — shared ── */
@media (max-width: 900px) {
  .nav { padding: 14px 22px; gap: 16px; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--fc-white);
    z-index: 98;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    border-top: 2.5px solid var(--fc-gold);
    transform: translateX(100%);
    transition: transform .55s var(--fc-ease);
    visibility: hidden;
  }
  .nav__links.open { transform: translateX(0); visibility: visible; }
  .nav__links a { font-size: 15px; letter-spacing: 0.18em; }

  .section { padding: 70px 22px; }
  .section-title { font-size: 28px; }
  .crumbs { padding: 18px 22px; }

  .footer { padding: 60px 22px 28px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }

  /* Reduce horizontal reveals to prevent scroll */
  .reveal-left  { transform: translateX(-20px); }
  .reveal-right { transform: translateX(20px); }
}

@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer__bot { flex-direction: column; gap: 10px; text-align: center; }
  /* Collapse horizontal reveals to vertical on phones */
  .reveal-left, .reveal-right { transform: translateY(20px); opacity: 0; }
}

/* ================================================================
   ANIMATION SYSTEM — Fanny Clauss
   ================================================================ */

/* ── Page Loader ── */
#fc-loader {
  position: fixed; inset: 0;
  z-index: 10000;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  pointer-events: all;
}
#fc-loader.done {
  transform: translateY(-100%);
  pointer-events: none;
  visibility: hidden;
  transition:
    transform  0.9s cubic-bezier(0.76, 0, 0.24, 1),
    visibility 0s 0.9s;
}

.ldr-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 200; font-style: italic;
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: 0.04em;
  color: var(--fc-black);
  opacity: 0;
  transform: translateY(10px);
  animation: ldrFadeUp 0.8s var(--fc-ease) 0.2s forwards;
}
@keyframes ldrFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Custom Cursor ── */
.fc-cursor {
  position: fixed;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--fc-gold);
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: width .25s ease, height .25s ease, background .25s ease;
}
.fc-cursor-ring {
  position: fixed;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(184,150,90,0.55);
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .35s ease, height .35s ease, border-color .25s ease;
  will-change: left, top;
}
.fc-cursor.hovered { width: 12px; height: 12px; background: var(--fc-black); }
.fc-cursor-ring.hovered { width: 60px; height: 60px; border-color: rgba(184,150,90,0.9); }
@media (hover: none) { .fc-cursor, .fc-cursor-ring { display: none; } }

/* ── Reveal direction variants ── */
.reveal-left {
  opacity: 0; transform: translateX(-52px);
  transition: opacity .9s var(--fc-ease), transform .9s var(--fc-ease);
}
.reveal-right {
  opacity: 0; transform: translateX(52px);
  transition: opacity .9s var(--fc-ease), transform .9s var(--fc-ease);
}
.reveal-scale {
  opacity: 0; transform: scale(0.88);
  transition: opacity .9s var(--fc-ease), transform .9s var(--fc-ease);
}
.reveal-blur {
  opacity: 0; filter: blur(14px); transform: translateY(12px);
  transition: opacity .85s ease, filter .85s ease, transform .85s ease;
}
.reveal-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--fc-ease);
}
.reveal-left.in, .reveal-right.in, .reveal-scale.in {
  opacity: 1; transform: none;
}
.reveal-blur.in { opacity: 1; filter: none; transform: none; }
.reveal-clip.in { clip-path: inset(0 0 0% 0); }

/* Stagger for all reveal types */
.stagger > *:nth-child(1) { transition-delay: 0s !important; }
.stagger > *:nth-child(2) { transition-delay: 0.10s !important; }
.stagger > *:nth-child(3) { transition-delay: 0.20s !important; }
.stagger > *:nth-child(4) { transition-delay: 0.30s !important; }
.stagger > *:nth-child(5) { transition-delay: 0.40s !important; }
.stagger > *:nth-child(6) { transition-delay: 0.50s !important; }
.stagger > *:nth-child(7) { transition-delay: 0.60s !important; }
.stagger > *:nth-child(8) { transition-delay: 0.70s !important; }

/* ── Split text (words slide up) ── */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.05;
}
.split-word__inner {
  display: inline-block;
  transform: translateY(105%);
  transition: transform .85s var(--fc-ease);
}
.split-trigger.in .split-word__inner { transform: translateY(0); }

/* Delay per word inside a split-trigger */
.split-trigger .split-word:nth-child(1)  .split-word__inner { transition-delay: 0s; }
.split-trigger .split-word:nth-child(2)  .split-word__inner { transition-delay: 0.06s; }
.split-trigger .split-word:nth-child(3)  .split-word__inner { transition-delay: 0.12s; }
.split-trigger .split-word:nth-child(4)  .split-word__inner { transition-delay: 0.18s; }
.split-trigger .split-word:nth-child(5)  .split-word__inner { transition-delay: 0.24s; }
.split-trigger .split-word:nth-child(6)  .split-word__inner { transition-delay: 0.30s; }
.split-trigger .split-word:nth-child(7)  .split-word__inner { transition-delay: 0.36s; }
.split-trigger .split-word:nth-child(8)  .split-word__inner { transition-delay: 0.42s; }
.split-trigger .split-word:nth-child(9)  .split-word__inner { transition-delay: 0.48s; }
.split-trigger .split-word:nth-child(10) .split-word__inner { transition-delay: 0.54s; }
.split-trigger .split-word:nth-child(11) .split-word__inner { transition-delay: 0.60s; }
.split-trigger .split-word:nth-child(12) .split-word__inner { transition-delay: 0.66s; }

/* ── Image reveal (clip + scale) ── */
.img-reveal {
  overflow: hidden;
}
.img-reveal .ph,
.img-reveal img {
  transform: scale(1.1);
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.2s var(--fc-ease), transform 1.3s var(--fc-ease);
}
.img-reveal.in .ph,
.img-reveal.in img {
  clip-path: inset(0% 0 0 0);
  transform: scale(1);
}

/* ── Gold line draw ── */
.line-grow {
  display: block;
  height: 1px;
  background: linear-gradient(90deg, var(--fc-gold), rgba(184,150,90,0.3));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.3s var(--fc-ease);
}
.line-grow.in { transform: scaleX(1); }

/* ── Float animation ── */
@keyframes fc-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.fc-float { animation: fc-float 5s ease-in-out infinite; }

/* ── Pulse glow on CTAs ── */
@keyframes fc-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184,150,90,0); }
  50%       { box-shadow: 0 0 0 8px rgba(184,150,90,0.18); }
}
.btn--gold { animation: fc-pulse 3s ease-in-out infinite; }

/* ── Counter numbers ── */
.count-num { display: inline-block; }

/* ── Marquee strip (optional) ── */
@keyframes fc-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.fc-marquee {
  display: flex; overflow: hidden; white-space: nowrap;
  border-top: 0.5px solid var(--fc-taupe);
  border-bottom: 0.5px solid var(--fc-taupe);
  padding: 18px 0;
}
.fc-marquee__track {
  display: flex; gap: 80px;
  animation: fc-marquee 22s linear infinite;
  will-change: transform;
}
.fc-marquee__item {
  font-family: 'Cormorant Garamond'; font-style: italic;
  font-size: 17px; color: var(--fc-warm-gray);
  flex-shrink: 0;
}
.fc-marquee__item b {
  color: var(--fc-gold); font-weight: 300; margin: 0 40px;
  font-family: 'Dancing Script'; font-size: 22px;
}

/* ── Magnetic button (JS sets transform, CSS resets) ── */
.mag-btn { transition: transform .4s var(--fc-ease) !important; }
.mag-btn:hover { transition: transform .15s ease !important; }
