/* ─────────────────────────────────────────────
   KAYROUZE — Shared stylesheet
   ───────────────────────────────────────────── */

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

:root {
  --ink:    #1a1a18;
  --stone:  #7a7971;
  --ash:    #b8b5ad;
  --linen:  #edeae4;
  --cream:  #f7f5f1;
  --white:  #fdfcfa;
  --gap:    clamp(4rem, 8vw, 9rem);
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  cursor: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Custom cursor ── */
#cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 8px; height: 8px;
  background: var(--ink);
  border-radius: 50%;
  pointer-events: none;
  transition: transform .2s ease, opacity .2s;
}
#cursor.large { transform: scale(5); opacity: .12; }

@media (max-width: 720px) {
  body { cursor: auto; }
  #cursor { display: none; }
}

/* ── Navigation ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 3.5rem;
  background: rgba(253, 252, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
nav.scrolled { border-bottom-color: var(--linen); }

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
  transition: opacity .3s;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width .35s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

@media (max-width: 720px) {
  nav { padding: 1.25rem 1.5rem; }
  .nav-links { gap: 1.25rem; font-size: 0.68rem; letter-spacing: 0.15em; }
  .nav-logo { font-size: 1.3rem; }
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .35s ease, color .35s ease;
}
.btn:hover { background: var(--ink); color: var(--white); }

.btn.light {
  border-color: var(--white);
  color: var(--white);
}
.btn.light:hover { background: var(--white); color: var(--ink); }

/* ── Section primitives ── */
.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.25rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section-title em { font-style: italic; color: var(--stone); }

/* ── Reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Image placeholders ── */
.placeholder {
  background: var(--linen);
  display: flex; align-items: center; justify-content: center;
  color: var(--stone);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
}
.placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 14px,
    rgba(122, 121, 113, 0.04) 14px 15px
  );
  pointer-events: none;
}

/* ── Marquee ── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--linen);
  border-bottom: 1px solid var(--linen);
  padding: 1.5rem 0;
  background: var(--cream);
}
.marquee-track {
  display: flex;
  gap: 4rem;
  white-space: nowrap;
  animation: scroll 40s linear infinite;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.4rem;
  color: var(--stone);
}
.marquee-track span { padding-right: 4rem; }
@keyframes scroll {
  to { transform: translateX(-50%); }
}

/* ── Footer ── */
footer {
  border-top: 1px solid var(--linen);
  padding: 3rem 3.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--stone);
  text-transform: uppercase;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  text-transform: none;
  color: var(--ink);
}
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.footer-links a { transition: color .3s; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { font-size: 0.7rem; }

@media (max-width: 720px) {
  footer { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-links { gap: 1rem; font-size: 0.7rem; }
}

/* ── Page hero (used on inner pages) ── */
.page-hero {
  padding: 12rem 3.5rem 5rem;
  text-align: center;
  border-bottom: 1px solid var(--linen);
}
.page-hero .section-label { margin-bottom: 1.5rem; }
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1;
}
.page-hero h1 em { font-style: italic; color: var(--stone); }
.page-hero p {
  max-width: 560px;
  margin: 1.75rem auto 0;
  color: var(--stone);
  line-height: 1.8;
}
@media (max-width: 720px) {
  .page-hero { padding: 8rem 1.5rem 3rem; }
}
