/* ─── TOKENS ───────────────────────────────────────────── */
:root {
  --bg:           #F5F0E8;
  --bg-warm:      #EDE7DB;
  --surface:      #FFFFFF;
  --surface-alt:  #F8F5F0;
  --emerald:      #2D6A4F;
  --emerald-mid:  #3D8A67;
  --emerald-pale: #E8F4EF;
  --text:         #2C2C2C;
  --text-mid:     #6B6560;
  --text-dim:     #9E9891;
  --border:       rgba(45,106,79,0.12);
  --border-mid:   rgba(45,106,79,0.2);
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'DM Sans', system-ui, sans-serif;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ─── NAV ───────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.75rem 3.5rem;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(245,240,232,0.88);
  border-bottom: 1px solid var(--border);
}
.nav-brand { display: flex; flex-direction: column; gap: 0.15rem; }
.nav-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  color: var(--text);
}
.nav-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--emerald);
  text-transform: uppercase;
  font-weight: 400;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--emerald); }
.nav-cta {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--surface);
  background: var(--emerald);
  text-decoration: none;
  padding: 0.55rem 1.25rem;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--emerald-mid); }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 3rem 4rem;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.72) saturate(0.85);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(245,240,232,0.35) 0%,
    rgba(245,240,232,0.15) 40%,
    rgba(45,106,79,0.08) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
}
.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero-headline em {
  color: var(--emerald);
  font-style: italic;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-cta {
  display: inline-block;
  background: var(--emerald);
  color: var(--surface);
  padding: 0.85rem 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.hero-cta:hover { background: var(--emerald-mid); }

/* ─── COLLECTION ─────────────────────────────────────────── */
.collection {
  padding: 7rem 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.collection-header {
  text-align: center;
  margin-bottom: 4rem;
}
.collection-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1rem;
  font-weight: 500;
}
.collection-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.collection-sub {
  font-size: 1rem;
  color: var(--text-mid);
  margin-top: 0.75rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* ─── CHAIR CARD ─────────────────────────────────────────── */
.chair-card {
  background: var(--surface);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  transition: box-shadow 0.3s, transform 0.3s;
  animation: fadeUp 0.5s ease both;
}
.chair-card:hover {
  box-shadow: 0 8px 32px rgba(45,106,79,0.1);
  transform: translateY(-3px);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.chair-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-warm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chair-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chair-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}
.chair-placeholder-icon {
  width: 48px;
  height: 48px;
  opacity: 0.25;
}
.chair-placeholder-text {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.chair-card-body {
  padding: 1.75rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.chair-card-ref {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.chair-card-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.chair-card-tagline {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: auto;
  padding-bottom: 1rem;
}
.chair-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}
.chair-card-features li {
  font-size: 0.8rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chair-card-features li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--emerald);
  border-radius: 50%;
  flex-shrink: 0;
}
.chair-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.chair-card-price-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.chair-card-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--emerald);
}
.chair-card-inquire {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--emerald);
  text-decoration: none;
  border: 1px solid var(--border-mid);
  padding: 0.5rem 1.1rem;
  transition: background 0.2s, color 0.2s;
}
.chair-card-inquire:hover {
  background: var(--emerald);
  color: var(--surface);
  border-color: var(--emerald);
}

/* ─── COLLECTION NOTE ────────────────────────────────────── */
.collection-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 3rem;
  font-style: italic;
  letter-spacing: 0.03em;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── INQUIRY MODAL / SECTION ────────────────────────────── */
.inquiry-section {
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 3.5rem;
  display: flex;
  justify-content: center;
}
.inquiry-inner {
  width: 100%;
  max-width: 560px;
}
.inquiry-header { text-align: center; margin-bottom: 2.5rem; }
.inquiry-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1rem;
  font-weight: 500;
}
.inquiry-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.inquiry-sub { font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; }
.inquiry-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-input, .form-textarea {
  background: var(--surface);
  border: 1px solid var(--border-mid);
  color: var(--text);
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.form-input:focus, .form-textarea:focus { border-color: var(--emerald); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-dim); }
.form-textarea { resize: vertical; min-height: 110px; }
.btn-submit {
  background: var(--emerald);
  color: var(--surface);
  border: none;
  padding: 1rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
  width: 100%;
}
.btn-submit:hover { background: var(--emerald-mid); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-msg { font-size: 0.88rem; padding: 0.85rem 1rem; border: 1px solid; }
.form-msg--success {
  color: var(--emerald);
  border-color: rgba(45,106,79,0.25);
  background: var(--emerald-pale);
}
.form-msg--error {
  color: #c0392b;
  border-color: rgba(192,57,43,0.2);
  background: #fdf0ee;
}
.inquiry-chair-label {
  text-align: center;
  margin-bottom: 1.5rem;
}
.inquiry-chair-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
}

/* ─── NEWSLETTER ────────────────────────────────────────── */
.newsletter {
  padding: 6rem 3.5rem;
  text-align: center;
}
.newsletter-inner { max-width: 480px; margin: 0 auto; }
.newsletter-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 1rem;
  font-weight: 500;
}
.newsletter-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.newsletter-sub { font-size: 0.92rem; color: var(--text-mid); margin-bottom: 2rem; line-height: 1.7; }
.newsletter-form { display: flex; gap: 0.75rem; max-width: 420px; margin: 0 auto; }
.newsletter-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border-mid);
  color: var(--text);
  padding: 0.8rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: var(--emerald); }
.newsletter-input::placeholder { color: var(--text-dim); }
.btn-newsletter {
  background: var(--emerald);
  color: var(--surface);
  border: none;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-newsletter:hover { background: var(--emerald-mid); }
.newsletter-msg { margin-top: 1rem; font-size: 0.82rem; }

/* ─── FOOTER ────────────────────────────────────────────── */
.footer {
  background: var(--text);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-brand { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.footer-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: #F5F0E8;
}
.footer-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  color: rgba(245,240,232,0.5);
  text-transform: uppercase;
}
.footer-links {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}
.footer-link {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.55);
  text-decoration: none;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.footer-link:hover { color: rgba(245,240,232,0.9); }
.footer-copy {
  font-size: 0.68rem;
  color: rgba(245,240,232,0.3);
  margin-top: 0.5rem;
}

/* ─── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 1.25rem 1.5rem; }
  .nav-links { display: none; }
  .collection { padding: 5rem 1.5rem; }
  .collection-grid { grid-template-columns: 1fr; }
  .inquiry-section { padding: 4rem 1.5rem; }
  .newsletter { padding: 4rem 1.5rem; }
  .newsletter-form { flex-direction: column; }
  .btn-newsletter { width: 100%; }
  .hero { padding: 6rem 1.5rem 4rem; }
}
@media (max-width: 600px) {
  .hero-headline { font-size: 2.5rem; }
  .inquiry-title { font-size: 1.8rem; }
}