/* ─────────────────────────────────────────────
   ZUTARE — Shared Stylesheet
   ───────────────────────────────────────────── */

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

:root {
  --gold: #8B7334;
  --gold-bright: #AA8E42;
  --gold-pale: #C4A85C;
  --gold-dim: rgba(139, 115, 52, 0.18);
  --gold-glow: rgba(139, 115, 52, 0.10);
  --bg: #060606;
  --surface: #0C0C0C;
  --surface-2: #121212;
  --surface-3: #1A1A1A;
  --border: rgba(139, 115, 52, 0.14);
  --border-bright: rgba(139, 115, 52, 0.35);
  --text: #EBE5DA;
  --text-muted: #756A5A;
  --font-display: 'Bebas Neue', sans-serif;
  --font-heading: 'Syne', sans-serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

/* Ensure all sections sit above the fixed waveform canvas */
section, footer { position: relative; z-index: 1; }

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

/* ─── GRAIN OVERLAY ─── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ─── LAYOUT CONTAINER ─── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.5s ease, border-color 0.5s ease, backdrop-filter 0.5s ease;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(6, 6, 6, 0.92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-color: rgba(139, 115, 52, 0.14);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mask {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--gold-pale);
  -webkit-mask-image: url('brand_assets/Zutare_Icon_RGB-02.jpg');
  -webkit-mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-mode: luminance;
  mask-image: url('brand_assets/Zutare_Icon_RGB-02.jpg');
  mask-size: cover;
  mask-repeat: no-repeat;
  mask-mode: luminance;
}

.nav-wordmark {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: #EBE5DA;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #756A5A;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold-pale); }

.nav-cta {
  display: inline-block;
  font-family: var(--font-heading) !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #060606 !important;
  background: var(--gold);
  padding: 0.5rem 1.2rem !important;
  border-radius: 1px !important;
  transition: background 0.3s ease, transform 0.2s ease !important;
  text-decoration: none !important;
}

.nav-cta:hover {
  background: var(--gold-pale) !important;
  transform: translateY(-1px);
  color: #060606 !important;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 12rem 2.5rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(139,115,52,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.page-eyebrow::before,
.page-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.page-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.page-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ─── SECTION COMPONENTS ─── */
.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold-pale);
  font-family: var(--font-serif);
  font-weight: 300;
}

.body-text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}

/* ─── BUTTONS ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.25rem;
  background: var(--gold);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
  box-shadow: 0 4px 20px rgba(139,115,52,0.28);
}

.btn-primary:hover {
  background: var(--gold-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,115,52,0.38);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.25rem;
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s cubic-bezier(0.22,1,0.36,1);
}

.btn-secondary:hover {
  background: rgba(139,115,52,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-secondary:active { transform: translateY(0); }

/* ─── TAGS ─── */
.tag {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--border);
  padding: 0.28rem 0.7rem;
  border-radius: 1px;
}

/* ─── DIVIDER LINE ─── */
.gold-rule {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-dim), transparent);
  border: none;
  margin: 0;
}

/* ─── FOOTER ─── */
footer {
  padding: 1.75rem 3rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-logo-wrap { justify-self: end; }

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

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-mask {
  width: 26px;
  height: 26px;
  background: var(--gold-pale);
  -webkit-mask-image: url('brand_assets/Zutare_Icon_RGB-02.jpg');
  -webkit-mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-mode: luminance;
  mask-image: url('brand_assets/Zutare_Icon_RGB-02.jpg');
  mask-size: cover;
  mask-repeat: no-repeat;
  mask-mode: luminance;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.footer-logo-mask:hover { opacity: 1; }

.footer-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-social-link {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.footer-social-link:hover {
  opacity: 1;
  color: var(--gold-pale);
}

/* ─── LOCATION + STUDIO LINK ─── */
.location-icon {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  background: var(--text-muted);
  -webkit-mask-image: url('brand_assets/icons8-location-48.png');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-mode: alpha;
  mask-image: url('brand_assets/icons8-location-48.png');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-mode: alpha;
}

.studio-link {
  color: var(--gold);
  text-decoration: none;
  font-style: normal;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.studio-link:hover {
  color: var(--gold-pale);
  text-shadow: 0 0 8px rgba(196,168,92,0.7), 0 0 20px rgba(196,168,92,0.4), 0 0 40px rgba(196,168,92,0.2);
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── HAMBURGER BUTTON ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  color: #EBE5DA;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), opacity 0.25s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MOBILE OVERLAY NAV ─── */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(218,217,211,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 490;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.22,1,0.36,1);
}

.nav-mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-links {
  list-style: none;
  width: 100%;
  max-width: 360px;
  padding: 0 2rem;
}

.nav-mobile-links li {
  border-bottom: 1px solid rgba(139,115,52,0.15);
}

.nav-mobile-links li:first-child {
  border-top: 1px solid rgba(139,115,52,0.15);
}

.nav-mobile-links a {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #1a1410;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-mobile-links a:hover,
.nav-mobile-links a.active { color: var(--gold); }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.2rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .container { padding: 0 1.25rem; }

  /* Footer: collapse grid to column */
  footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .footer-logo-wrap { justify-self: unset; }

  .page-hero { padding: 8rem 1.25rem 3.5rem; }

  /* Button sizing */
  .btn-primary, .btn-secondary { padding: 0.85rem 1.6rem; font-size: 0.7rem; }
}
