/* ============================================
   NEFÉL Landing Page
   ============================================ */

:root {
  --ink: #16140f;
  --ink-soft: #2a271f;
  --paper: #f7f3ea;
  --paper-alt: #efe7d6;
  --cream: #fbf8f2;
  --gold: #b6905a;
  --gold-light: #d9bd8f;
  --gold-dim: rgba(182, 144, 90, 0.35);
  --text-muted: #6f6a5e;
  --text-on-dark: #efe9dc;
  --text-on-dark-muted: #bcb4a2;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --container: 1240px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 20px;
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.65rem); font-weight: 500; }

p { line-height: 1.75; color: var(--text-muted); margin: 0 0 16px; }

.lead-p { font-size: 1.1rem; color: var(--ink-soft); }

.section-label {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 500;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  font-weight: 500;
}

.eyebrow-light { color: var(--gold-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.btn-primary:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-outline-light {
  background: transparent;
  color: var(--text-on-dark);
  border-color: rgba(239, 233, 220, 0.5);
}
.btn-outline-light:hover { background: rgba(239, 233, 220, 0.12); border-color: var(--text-on-dark); }

.btn-sm { padding: 11px 22px; font-size: 0.74rem; }
.btn-lg { padding: 18px 42px; font-size: 0.88rem; }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 26px 0;
  transition: all 0.35s ease;
  background: transparent;
}
.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(22, 20, 15, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.24em;
  color: var(--text-on-dark);
  font-weight: 500;
}

.main-nav {
  display: flex;
  gap: 38px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  transition: color 0.25s ease;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a:hover { color: var(--text-on-dark); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px; height: 1px;
  background: var(--text-on-dark);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 62%;
  transform: scale(1.05);
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,9,7,0.55) 0%, rgba(10,9,7,0.45) 40%, rgba(10,9,7,0.78) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  max-width: 720px;
}
.hero h1 {
  color: var(--text-on-dark);
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 500;
  margin-bottom: 26px;
}
.hero-lead {
  color: var(--text-on-dark-muted);
  font-size: 1.12rem;
  max-width: 560px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 34px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}
.hero-scroll span {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, var(--gold-light), transparent);
  animation: scrollpulse 2.2s ease-in-out infinite;
}
@keyframes scrollpulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ============ SECTIONS ============ */
.section { padding: 128px 0; }
.section-alt { background: var(--paper-alt); }

.section-heading { max-width: 680px; margin: 0 auto 60px; text-align: center; }
.section-heading h2 { margin-bottom: 18px; }
.section-lead { font-size: 1.05rem; }

/* Story */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 90px;
  align-items: center;
}
.story-media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 40px 70px -30px rgba(22,20,15,0.35);
}
.story-copy h2 { max-width: 460px; }

/* Philosophy strip */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.philosophy-item { border-top: 1px solid var(--gold-dim); padding-top: 26px; }
.philosophy-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.philosophy-item h3 { margin-bottom: 10px; font-size: 1.15rem; }
.philosophy-item p { font-size: 0.94rem; margin: 0; }

/* Break media */
.break-media {
  position: relative;
  min-height: 62vh;
  background-size: cover;
  background-position: center 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.break-scrim { position: absolute; inset: 0; background: rgba(10,9,7,0.68); }
.break-quote {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  color: var(--text-on-dark);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.4;
  text-shadow: 0 4px 24px rgba(0,0,0,0.55);
}
.break-quote span { color: var(--gold-light); }

/* Pyramid */
.pyramid {
  max-width: 420px;
  margin: 0 auto 64px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pyramid-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-soft);
  justify-content: center;
}
.pyramid-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* Family cards */
.families-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-dim);
}
.family-card {
  background: var(--paper);
  padding: 40px 30px;
  transition: background 0.3s ease;
}
.family-card:hover { background: var(--cream); }
.family-tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.family-card h3 { margin-bottom: 6px; }
.family-notes {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--serif);
  margin-bottom: 18px;
}
.family-card p { font-size: 0.92rem; margin-bottom: 18px; }
.family-use {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--gold-dim);
  padding-top: 14px;
}

/* Collection */
.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.collection-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -35px rgba(22,20,15,0.3);
}
.collection-media { aspect-ratio: 4 / 5; overflow: hidden; }
.collection-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform 0.6s ease; }
.collection-card:hover .collection-media img { transform: scale(1.05); }
.collection-body { padding: 40px; }
.collection-body h3 { margin-bottom: 16px; }
.chip-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.chip-list li {
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border: 1px solid var(--gold-dim);
  border-radius: 20px;
  color: var(--ink-soft);
}

/* Sustainability */
.sustain-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 90px;
  align-items: center;
}
.sustain-media {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: end;
}
.sustain-media img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(22,20,15,0.35); }
.sustain-img-2 { transform: translateY(40px); }
.sustain-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 34px 0 12px;
  padding-top: 26px;
  border-top: 1px solid var(--gold-dim);
}
.sustain-points strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
  font-weight: 500;
}
.sustain-points span { font-size: 0.8rem; color: var(--text-muted); }
.fine-print { font-size: 0.74rem; color: var(--text-muted); opacity: 0.75; }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.06); }

/* Hospitality */
.hospitality { background: var(--ink); padding: 96px 0; }
.hospitality-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.hospitality-inner h2 { color: var(--text-on-dark); }
.hospitality-inner p { color: var(--text-on-dark-muted); font-size: 1.05rem; }

/* Final CTA */
.cta-final {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cta-media { position: absolute; inset: 0; background-size: cover; background-position: center 25%; }
.cta-scrim { position: absolute; inset: 0; background: rgba(10,9,7,0.8); }
.cta-inner { position: relative; z-index: 1; text-align: center; }
.cta-inner h2 { color: var(--text-on-dark); margin-bottom: 14px; }
.cta-inner p { color: var(--text-on-dark-muted); margin-bottom: 34px; }

/* Footer */
.site-footer { background: var(--ink); padding-top: 80px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(239,233,220,0.12);
}
.footer-brand p { color: var(--text-on-dark-muted); font-size: 0.9rem; max-width: 320px; margin-top: 18px; }
.brand-footer { display: inline-block; }
.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  font-weight: 500;
}
.footer-col a { display: block; color: var(--text-on-dark-muted); font-size: 0.9rem; margin-bottom: 12px; transition: color 0.25s; }
.footer-col a:hover { color: var(--text-on-dark); }
.footer-bottom { padding: 26px 0; }
.footer-bottom span { color: var(--text-on-dark-muted); font-size: 0.78rem; }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(.2,.8,.2,1), transform 0.8s cubic-bezier(.2,.8,.2,1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary.btn-sm { display: none; }

  .site-header.nav-open {
    background: var(--ink);
    padding-bottom: 20px;
  }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin-top: 24px;
    order: 3;
  }
  .header-inner { flex-wrap: wrap; }

  .story-grid, .sustain-grid { grid-template-columns: 1fr; gap: 50px; }
  .story-media { order: -1; }
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .families-grid { grid-template-columns: repeat(2, 1fr); }
  .collection-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .sustain-points { grid-template-columns: 1fr; gap: 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .section { padding: 88px 0; }
  .container { padding: 0 22px; }
  .families-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .sustain-media { grid-template-columns: 1fr; }
  .sustain-img-2 { transform: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
