/* ── FOIE GLOBAL STYLES ── */
:root {
  --ivory:     #F4EFE6;
  --cream:     #EDE6D8;
  --parchment: #E0D8C8;
  --stone:     #9E9890;
  --warm-grey: #6B6560;
  --charcoal:  #2E2B28;
  --ink:       #1A1815;
  --white:     #FDFCFA;
  --accent:    #8B7355;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Jost', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  cursor: none;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 9997;
}

.cursor {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--charcoal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid var(--charcoal);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.4;
  transition: transform 0.4s ease, width 0.3s, height 0.3s, opacity 0.3s;
  transform: translate(-50%, -50%);
}
body.hovering .cursor-ring { width: 60px; height: 60px; opacity: 0.2; }

/* ══════════════════════════════════
   NAV — Aman-style
   Hamburger left · Logo center · Icon right
   ══════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 2rem 3rem;
  transition: background 0.5s, padding 0.4s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(244, 239, 230, 0.96);
  backdrop-filter: blur(16px);
  padding: 1.4rem 3rem;
  border-bottom: 1px solid var(--parchment);
}

/* Hamburger — left */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  justify-self: start;
}
.nav-hamburger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.35s, opacity 0.35s, width 0.35s;
}
.nav-hamburger:hover span:nth-child(2) { width: 18px; }

/* Logo — center */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 300;
  letter-spacing: 0.45em;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  justify-self: center;
  transition: opacity 0.3s;
}
.nav-logo:hover { opacity: 0.6; }

/* Right icon group */
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  justify-self: end;
}
.nav-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
  display: flex;
  align-items: center;
  transition: opacity 0.3s;
}
.nav-icon-btn:hover { opacity: 0.5; }
.nav-icon-btn svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.2; }

/* ── SLIDE-OUT MENU OVERLAY ── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
/* Dark backdrop */
.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 24, 21, 0);
  transition: background 0.5s ease;
}
.menu-overlay.open .menu-backdrop {
  background: rgba(26, 24, 21, 0.45);
  pointer-events: all;
}
/* Drawer panel */
.menu-drawer {
  position: absolute;
  top: 0; left: 0;
  width: min(400px, 85vw);
  height: 100%;
  background: var(--ivory);
  transform: translateX(-100%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  pointer-events: all;
}
.menu-overlay.open .menu-drawer {
  transform: translateX(0);
}
/* Drawer header */
.menu-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--parchment);
  flex-shrink: 0;
}
.menu-drawer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
}
.menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--ink);
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.menu-close:hover { opacity: 1; }
.menu-close svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 1.2; }
/* Drawer nav links */
.menu-drawer-nav {
  flex: 1;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.menu-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--parchment);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  transition: color 0.3s, padding-left 0.3s;
}
.menu-nav-item:hover { color: var(--accent); padding-left: 0.5rem; }
.menu-nav-item-num {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--stone);
}
/* Drawer footer */
.menu-drawer-footer {
  padding: 2.5rem;
  border-top: 1px solid var(--parchment);
  flex-shrink: 0;
}
.menu-drawer-cta {
  display: block;
  width: 100%;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory);
  background: var(--charcoal);
  text-decoration: none;
  padding: 1.1rem 2rem;
  transition: background 0.35s;
}
.menu-drawer-cta:hover { background: var(--accent); }
.menu-drawer-socials {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}
.menu-drawer-socials a {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  text-decoration: none;
  transition: color 0.3s;
}
.menu-drawer-socials a:hover { color: var(--ink); }

/* Hide old nav-links & nav-cta */
.nav-links { display: none !important; }
.nav-cta   { display: none !important; }


.page-header {
  padding: 14rem 5rem 6rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--parchment);
}
.page-header-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.8rem;
}
.page-header-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 80px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
}
.page-header-title em { font-style: italic; }
.page-header-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
}
.page-header-desc {
  font-size: 0.9rem;
  line-height: 2.1;
  color: var(--warm-grey);
  align-self: end;
}

.marquee-section {
  overflow: hidden;
  background: var(--cream);
  padding: 1.6rem 0;
  border-top: 1px solid var(--parchment);
  border-bottom: 1px solid var(--parchment);
}
.marquee-track {
  display: flex;
  animation: marquee 24s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 3rem;
  white-space: nowrap;
  font-size: 0.63rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--stone);
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--stone); opacity: 0.4; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.section-label::before {
  content: '';
  width: 36px; height: 1px;
  background: var(--stone);
  flex-shrink: 0;
}
.section-label span {
  font-size: 0.63rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--stone);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--ink);
}
.section-title em { font-style: italic; }

.btn-outline {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--parchment);
  padding: 0.85rem 2.2rem;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.btn-outline:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }

.btn-filled {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--charcoal);
  padding: 0.85rem 2.2rem;
  text-decoration: none;
  transition: background 0.3s;
}
.btn-filled:hover { background: var(--accent); }

.btn-ivory {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--ivory);
  padding: 1rem 2.5rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}
.btn-ivory:hover { background: var(--accent); color: var(--white); }

footer { background: var(--ink); padding: 5rem 5rem 3rem; }
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 2.5rem;
  gap: 4rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 300;
  letter-spacing: 0.3em;
  color: var(--ivory);
}
.footer-tagline { font-size: 0.72rem; letter-spacing: 0.1em; color: #4A4540; margin-top: 0.5rem; }
.footer-nav { display: flex; gap: 5rem; }
.footer-col-title { font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase; color: #4A4540; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { font-size: 0.78rem; color: #6B6560; text-decoration: none; letter-spacing: 0.05em; transition: color 0.3s; }
.footer-col a:hover { color: var(--ivory); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.66rem; color: #3A3530; letter-spacing: 0.1em; }
.footer-made { font-size: 0.66rem; color: #3A3530; letter-spacing: 0.08em; }
.footer-made em { font-style: italic; font-family: var(--font-display); font-size: 0.82rem; color: #4A4540; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.52s; }

.divider { width: 100%; height: 1px; background: var(--parchment); }

/* ════════════════════════════
   MOBILE — max-width: 768px
   ════════════════════════════ */
@media (max-width: 768px) {

  /* Cursor off on touch */
  .cursor, .cursor-ring { display: none; }
  body { cursor: auto; }

  /* Typography base */
  h1 { font-size: 40px; line-height: 1.2; }
  h2 { font-size: 28px; line-height: 1.2; }
  h3 { font-size: 20px; line-height: 1.3; }
  p  { font-size: 14px; line-height: 1.8; }

  /* Container padding */
  .container { padding: 20px; }

  /* Nav */
  nav, nav.scrolled {
    padding: 1.2rem 1.5rem;
    background: rgba(244, 239, 230, 0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--parchment);
  }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-logo { font-size: 1.2rem; letter-spacing: 0.3em; }

  /* Page header */
  .page-header {
    padding: 7rem 1.5rem 3rem;
  }
  .page-header-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
  }
  .page-header-title {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.1;
  }
  .page-header-desc { font-size: 14px; line-height: 1.8; }

  /* Section titles */
  .section-title { font-size: clamp(28px, 7vw, 36px); line-height: 1.15; }
  .section-label { margin-bottom: 1.5rem; }

  /* Marquee smaller on mobile */
  .marquee-item { font-size: 0.55rem; padding: 0 1.5rem; gap: 1rem; }

  /* Buttons full-width on mobile */
  .btn-filled, .btn-outline, .btn-ivory {
    display: block;
    text-align: center;
    width: 100%;
    padding: 1rem 1.5rem;
  }

  /* Footer */
  footer { padding: 3rem 1.5rem 2rem; }
  .footer-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    padding-bottom: 2rem;
  }
  .footer-logo { font-size: 1.8rem; }
  .footer-tagline { font-size: 0.65rem; }
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* ── Tablet 769–1024 ── */
@media (min-width: 769px) and (max-width: 1024px) {
  nav, nav.scrolled { padding: 1.4rem 3rem; }
  .nav-links { gap: 2rem; }
  .page-header { padding: 11rem 3rem 4rem; }
  .page-header-inner { gap: 3rem; }
  footer { padding: 4rem 3rem 2.5rem; }
  .footer-top { flex-wrap: wrap; gap: 3rem; }
  .footer-nav { gap: 3rem; flex-wrap: wrap; }
}
