/* ─── Reset & Tokens ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:   #0c0c0c;
  --white:   #f8f7f3;
  --cream:   #ede9e2;
  --grey:    #7a7a7a;
  --mid:     #c8c4bc;
  --serif:  'Playfair Display', serif;
  --sans:   'Inter', sans-serif;
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── Image Placeholder ───────────────────────────────────── */
.img-placeholder {
  background: var(--cream);
  width: 100%;
  height: 100%;
}

.img-placeholder.tall { aspect-ratio: 3/4; }

/* ─── Typography Helpers ──────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.8rem;
}
.eyebrow.dark { color: var(--grey); }
.eyebrow.light { color: rgba(255,255,255,0.5); }

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 em, h2 .italic { font-style: italic; color: inherit; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn-outline {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-outline.light {
  border: 1px solid rgba(255,255,255,0.55);
  color: var(--white);
}
.btn-outline.light:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-outline.dark {
  border: 1px solid var(--black);
  color: var(--black);
}
.btn-outline.dark:hover {
  background: var(--black);
  color: var(--white);
}

.btn-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--grey);
  border-bottom: 1px solid var(--mid);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-text:hover { color: var(--black); border-color: var(--black); }
.btn-text.dark  { color: var(--black); border-color: var(--black); }
.btn-text.dark:hover { color: var(--grey); border-color: var(--mid); }

/* ─── Nav ─────────────────────────────────────────────────── */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  padding: 1.4rem 2.5rem;
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

#nav.scrolled {
  background: rgba(248, 247, 243, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}

.wordmark {
  text-align: center;
}

.nav-logo {
  height: 36px;
  width: auto;
  display: block;
}

/* Default (dark hero): show white logo, hide dark logo */
.nav-logo-light { display: block; }
.nav-logo-dark  { display: none; }

/* Scrolled or subpage light nav: show dark logo, hide white logo */
#nav.scrolled .nav-logo-light { display: none; }
#nav.scrolled .nav-logo-dark  { display: block; }
#nav.nav-dark .nav-logo-light { display: none; }
#nav.nav-dark .nav-logo-dark  { display: block; }

.nav-left, .nav-right {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-right { justify-content: flex-end; }

.nav-left a, .nav-right a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
}

.nav-left a:hover, .nav-right a:hover { color: var(--white); }

#nav.scrolled .nav-left a,
#nav.scrolled .nav-right a { color: var(--grey); }

#nav.scrolled .nav-left a:hover,
#nav.scrolled .nav-right a:hover { color: var(--black); }

.nav-cta {
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.4rem 1rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s !important;
}

.nav-cta:hover {
  background: var(--white) !important;
  color: var(--black) !important;
  border-color: var(--white) !important;
}

#nav.scrolled .nav-cta {
  border-color: var(--black) !important;
  color: var(--black) !important;
}

#nav.scrolled .nav-cta:hover {
  background: var(--black) !important;
  color: var(--white) !important;
}

/* Dropdown */
.nav-dropdown { position: relative; }

.dropdown-trigger { cursor: default; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 1rem);
  left: 0;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 0.5rem 0;
  min-width: 140px;
  z-index: 300;
}

.dropdown-menu a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--black) !important;
  transition: background 0.15s;
}

.dropdown-menu a:hover { background: var(--cream); }

.nav-dropdown:hover .dropdown-menu { display: block; }

.nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--white);
  transition: color 0.3s;
}

#nav.scrolled .nav-toggle { color: var(--black); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  color: var(--white);
  z-index: 300;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu ul { text-align: center; }

.mobile-menu li { margin: 1.5rem 0; }

.mobile-menu a {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--white);
  transition: opacity 0.2s;
}

.mobile-menu a:hover { opacity: 0.5; }

.mobile-close {
  position: absolute;
  top: 1.5rem; right: 2.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ─── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 2.5rem 5rem;
  overflow: hidden;
  background: var(--black);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/hero.jpg') center/cover no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(5rem, 13vw, 13rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
}

.h1-line { display: block; }
.h1-line.italic { font-style: italic; color: rgba(255,255,255,0.55); }

.hero-foot {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  max-width: 22ch;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  writing-mode: vertical-rl;
  z-index: 1;
}

/* ─── Ticker ──────────────────────────────────────────────── */
.ticker {
  overflow: hidden;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 0.85rem 0;
}

.ticker-track {
  display: flex;
  gap: 2.5rem;
  animation: ticker 22s linear infinite;
  width: max-content;
  white-space: nowrap;
}

.ticker-track span {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.ticker-track .dot { color: rgba(255,255,255,0.15); }

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── Collection ──────────────────────────────────────────── */
.collection {
  padding: 7rem 2.5rem;
  max-width: 1440px;
  margin: 0 auto;
}

.collection-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.collection-title h2 { margin-top: 0.4rem; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product {}

.product-img {
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
}

.product-img .img-placeholder {
  aspect-ratio: 3/4;
  transition: transform 0.6s var(--ease);
}

.product:hover .img-placeholder { transform: scale(1.03); }

.quick-add {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 0.6rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.25s, transform 0.25s;
}

.product:hover .quick-add {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}


.product-name {
  font-size: 0.85rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.product-price {
  font-size: 0.8rem;
  color: var(--grey);
}

/* ─── Editorial Banner ────────────────────────────────────── */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
  background: var(--cream);
}

.editorial-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5rem 6rem 2.5rem;
  max-width: 600px;
}

.editorial-text blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 2.5rem;
}

.editorial-text blockquote em { font-style: italic; color: var(--grey); }

.editorial-img {
  aspect-ratio: unset;
  height: 100%;
  min-height: 75vh;
}

/* ─── About ───────────────────────────────────────────────── */
.about {
  padding: 8rem 2.5rem;
  max-width: 1440px;
  margin: 0 auto;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-img-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: end;
}

.about-img-wrap .offset {
  margin-bottom: -4rem;
}

.about-copy h2 { margin-bottom: 2rem; }

.about-copy p {
  font-size: 0.93rem;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 1.2rem;
  max-width: 44ch;
}

.about-copy .btn-outline { margin-top: 1rem; }

/* ─── Newsletter ──────────────────────────────────────────── */
.newsletter {
  background: var(--black);
  color: var(--white);
  padding: 7rem 2.5rem;
}

.newsletter-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.nl-left h2.light { color: var(--white); }

.nl-right p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.nl-input-wrap {
  display: flex;
  border: 1px solid rgba(255,255,255,0.2);
}

.nl-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.9rem 1.25rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--white);
  outline: none;
}

.nl-input-wrap input::placeholder { color: rgba(255,255,255,0.25); }

.nl-input-wrap button {
  background: transparent;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nl-input-wrap button:hover {
  background: var(--white);
  color: var(--black);
}

.nl-feedback {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  min-height: 1.1em;
}

/* ─── Footer ──────────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 2.5rem 2.5rem;
  color: rgba(255,255,255,0.4);
}

.footer-top {
  max-width: 1440px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 32px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-social {
  display: flex;
  gap: 1.2rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-left, .nav-right { display: none; }
  .nav-toggle { display: block; }
  .nav-inner { grid-template-columns: 1fr auto 1fr; }

  .hero { padding-bottom: 4rem; }

  .editorial { grid-template-columns: 1fr; }
  .editorial-img { display: none; }
  .editorial-text { padding: 5rem 2.5rem; max-width: 100%; }

  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap .offset { margin-bottom: 0; }

  .newsletter-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-top { flex-direction: column; gap: 1.5rem; text-align: center; }
  footer .wordmark { text-align: center; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .collection-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nl-input-wrap { flex-direction: column; }
  .nl-input-wrap button { border-left: none; border-top: 1px solid rgba(255,255,255,0.2); }
}

/* ─── Subpage shared ──────────────────────────────────────── */
#nav.nav-dark .wordmark,
#nav.nav-dark .nav-left a,
#nav.nav-dark .nav-right a { color: var(--black); }
#nav.nav-dark .nav-left a:hover,
#nav.nav-dark .nav-right a:hover { color: var(--grey); }
#nav.nav-dark .nav-toggle { color: var(--black); }
#nav.nav-dark .nav-cta { border-color: var(--black) !important; color: var(--black) !important; }
#nav.nav-dark .nav-cta:hover { background: var(--black) !important; color: var(--white) !important; }

.page-hero {
  padding: 10rem 2.5rem 5rem;
  max-width: 1440px;
  margin: 0 auto;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 5rem;
}

.page-hero .eyebrow { margin-bottom: 0.6rem; }

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.page-hero h1 em { font-style: italic; color: var(--grey); }

/* ─── Category page ───────────────────────────────────────── */
.category-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem 8rem;
}

.category-filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.45rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  border: 1px solid var(--mid);
  background: transparent;
  color: var(--grey);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.filter-btn:hover, .filter-btn.active {
  border-color: var(--black);
  color: var(--black);
  background: var(--black);
  color: var(--white);
}

/* ─── Store locator ───────────────────────────────────────── */
.stores-layout {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem 8rem;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 3rem;
  align-items: start;
}

.store-list { display: flex; flex-direction: column; gap: 0; }

.store-card {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  cursor: pointer;
  transition: background 0.15s;
}

.store-card:first-child { border-top: 1px solid rgba(0,0,0,0.07); }

.store-card:hover { background: var(--cream); padding-left: 0.75rem; transition: padding 0.2s, background 0.2s; }

.store-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.store-card p {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.6;
}

.store-card .store-tag {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey);
  border: 1px solid var(--mid);
  padding: 0.2rem 0.6rem;
}

.map-placeholder {
  background: var(--cream);
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 6rem;
}

.map-placeholder p {
  font-size: 0.75rem;
  color: var(--grey);
  letter-spacing: 0.1em;
  text-align: center;
}

/* ─── About page ──────────────────────────────────────────── */
.about-page { max-width: 1440px; margin: 0 auto; padding: 0 2.5rem 8rem; }

.about-full-img {
  width: 100%;
  aspect-ratio: 21/9;
  background: var(--cream);
  margin-bottom: 6rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 5rem 0;
  padding-top: 4rem;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.pillar h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.pillar p { font-size: 0.85rem; color: #555; line-height: 1.8; }

/* ─── Contact page ────────────────────────────────────────── */
.contact-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2.5rem 8rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}

.contact-info { padding-top: 0.5rem; }

.contact-info h2 { margin-bottom: 2rem; }

.contact-detail {
  margin-bottom: 2rem;
}

.contact-detail .label { margin-bottom: 0.3rem; }

.contact-detail p, .contact-detail a {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.7;
}

.contact-detail a:hover { color: var(--black); }

.contact-form-wrap h2 { margin-bottom: 2rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-field label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  border: 1px solid var(--mid);
  background: transparent;
  padding: 0.75rem 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--black);
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--black); }

.form-field textarea { resize: vertical; min-height: 140px; }

/* ─── Newsletter page ─────────────────────────────────────── */
.nl-page {
  min-height: 100svh;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2.5rem;
}

.nl-page-inner {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.nl-page-inner h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.nl-page-inner h1 em { font-style: italic; color: rgba(255,255,255,0.45); }

.nl-page-inner > p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ─── Subpage responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  .stores-layout { grid-template-columns: 1fr; }
  .map-placeholder { position: static; height: 300px; }
  .about-pillars { grid-template-columns: 1fr; }
  .contact-page { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 600px) {
  .page-hero { padding-top: 8rem; }
  .form-row { grid-template-columns: 1fr; }
}
