/* ---------- tokens ---------- */
:root {
  --bg: #faf7f2;
  --bg-elevated: #ffffff;
  --bg-dark: #1a1410;
  --bg-accent: #1e1814;
  --text: #1a1410;
  --text-muted: #5a4f47;
  --text-on-dark: #f5efe6;
  --text-on-dark-muted: #b5a89a;
  --line: #e6dfd2;
  --line-dark: #2e2620;
  --accent: #b8895a;
  --accent-strong: #8a6440;
  --accent-on-dark: #d9a877;

  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 24px;

  --shadow-sm: 0 1px 2px rgba(26, 20, 16, .06), 0 2px 8px rgba(26, 20, 16, .04);
  --shadow-md: 0 10px 30px -10px rgba(26, 20, 16, .25);
  --shadow-lg: 0 30px 60px -20px rgba(26, 20, 16, .35);

  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.01em; }

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 128px); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--accent { background: linear-gradient(180deg, var(--bg) 0%, #f1ead9 100%); }

.section__head { margin-bottom: clamp(32px, 5vw, 64px); max-width: 720px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__intro {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: clamp(15px, 1.4vw, 17px);
}
.section--dark .section__intro { color: var(--text-on-dark-muted); }

h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(40px, 8vw, 96px);
  line-height: 1.02;
  letter-spacing: -.02em;
}
h1 em { font-style: italic; color: var(--accent-on-dark); }
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.2;
}
h4 { font-size: clamp(18px, 2vw, 22px); line-height: 1.2; }

.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent-strong);
}
.eyebrow--light { color: var(--accent-on-dark); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  letter-spacing: .01em;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { background: #6f502e; transform: translateY(-1px); }
.btn--ghost {
  border: 1px solid currentColor;
  color: var(--text-on-dark);
}
.section--accent .btn--ghost, .btn--ghost { color: inherit; }
.btn--ghost:hover { background: rgba(255,255,255,.08); }
.cta .btn--ghost:hover { background: rgba(255,255,255,.08); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, .85);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  padding-block: 14px;
}
.logo { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.logo__mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-dark); color: var(--accent-on-dark);
  font-family: var(--font-serif); font-style: italic; font-weight: 600;
  font-size: 18px; letter-spacing: 0;
}
.logo__name { font-size: 17px; letter-spacing: .02em; }
.nav { display: flex; gap: clamp(12px, 1.6vw, 28px); margin-inline: auto; }
.nav a {
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); border-bottom-color: var(--accent); }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
}
.header-cta__icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-strong); color: #fff;
  display: inline-grid; place-items: center; font-size: 14px;
}
.burger { display: none; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mnav { display: none; }
.mnav[hidden] { display: none; }
.mnav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; }

@media (max-width: 960px) {
  .nav { display: none; }
  /*.header-cta__num { display: none; }*/
  .burger { display: block; margin-left: auto; }
  .header-cta { margin-left: auto; }
  .mnav:not([hidden]) {
    display: flex; flex-direction: column;
    background: var(--bg);
    padding: 16px var(--gutter) 24px;
    border-top: 1px solid var(--line);
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: clamp(540px, 88vh, 880px);
  display: grid; align-items: center;
  color: var(--text-on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(26,20,16,.65) 0%, rgba(26,20,16,.55) 40%, rgba(26,20,16,.85) 100%),
    radial-gradient(60% 60% at 20% 40%, rgba(184, 137, 90, .25), transparent 70%);
}
.hero__content { padding-block: clamp(80px, 14vh, 160px); max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero__lead {
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.5;
  color: var(--text-on-dark-muted);
  max-width: 580px;
  margin: 0 0 20px;
}
.hero__meta {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--text-on-dark);
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- two-col ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.two-col .section__head { margin-bottom: 0; }
.section__body p { color: var(--text-muted); margin: 0 0 16px; }
.section__body p:last-child { margin-bottom: 0; }
.section__body strong { color: var(--text); }
@media (max-width: 800px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- specs ---------- */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (max-width: 820px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .specs-grid { grid-template-columns: 1fr; }
}
.spec {
  background: var(--bg-dark);
  padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 8px;
}
.spec__num {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1;
  color: var(--accent-on-dark);
  font-weight: 500;
}
.spec__num em {
  font-style: normal;
  font-family: var(--font-sans);
  font-size: 18px;
  color: var(--text-on-dark-muted);
  margin-left: 6px;
  letter-spacing: 0;
}
.spec__num--text { font-size: clamp(28px, 3.5vw, 42px); }
.spec__label {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
}

/* ---------- collections + cards ---------- */
.collection + .collection { margin-top: clamp(64px, 9vw, 128px); }
.collection__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: end;
  padding-bottom: clamp(24px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(32px, 5vw, 56px);
}
.collection__intro { margin: 0; color: var(--text-muted); }
@media (max-width: 720px) {
  .collection__head { grid-template-columns: 1fr; }
}

.cards {
  --cards-gap: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--cards-gap);
}
.cards > .card {
  flex: 0 1 calc((100% - var(--cards-gap) * 2) / 3);
  min-width: 0;
}
@media (max-width: 960px) {
  .cards > .card { flex-basis: calc((100% - var(--cards-gap)) / 2); }
}
@media (max-width: 560px) {
  .cards > .card { flex-basis: 100%; }
}
.card {
  margin: 0;
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.card__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background: #ddd;
}
.card__image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.15));
  pointer-events: none;
}
.card__image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card__image img { transform: scale(1.04); }
.card__body { padding: clamp(20px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: .02em;
}
.card__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}
.card__specs {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 6px;
}
.card__specs div {
  display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px;
}
.card__specs dt { color: var(--text-muted); letter-spacing: .04em; }
.card__specs dd { font-weight: 600; }

/* ---------- features ---------- */
.features {
  --feat-gap: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--feat-gap);
  padding: 0;
}
.features > .feature {
  flex: 0 1 calc((100% - var(--feat-gap) * 2) / 3);
  min-width: 0;
}
@media (max-width: 960px) {
  .features > .feature { flex-basis: calc((100% - var(--feat-gap)) / 2); }
}
@media (max-width: 600px) {
  .features > .feature { flex-basis: 100%; }
}
.feature {
  background: var(--bg-elevated);
  border-radius: var(--r-md);
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent-strong);
  font-weight: 500;
}
.feature h3 { font-family: var(--font-serif); font-weight: 500; }
.feature p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---------- terms ---------- */
.terms {
  --terms-gap: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--terms-gap);
}
.term {
  flex: 0 1 calc((100% - var(--terms-gap) * 3) / 4);
  min-width: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.4vw, 32px);
}
@media (max-width: 900px) {
  .term { flex-basis: calc((100% - var(--terms-gap)) / 2); }
}
@media (max-width: 520px) {
  .term { flex-basis: 100%; }
}
.term__key {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.term__val { margin: 0; font-size: clamp(18px, 2vw, 22px); font-weight: 600; }

/* ---------- CTA ---------- */
.cta {
  background: var(--bg-accent);
  color: var(--text-on-dark);
  padding-block: clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(50% 80% at 100% 0%, rgba(184, 137, 90, .25), transparent 60%);
  pointer-events: none;
}
.cta__inner {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.cta h2 { color: #fff; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 800px) {
  .cta__inner { grid-template-columns: 1fr; }
  .cta__actions { justify-content: flex-start; }
}

/* ---------- footer ---------- */
.footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-block: clamp(56px, 7vw, 88px) 24px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: clamp(40px, 6vw, 96px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__brand .logo__mark { width: 48px; height: 48px; font-size: 22px; border-radius: 12px; }
.footer__company { font-family: var(--font-serif); font-size: 28px; font-weight: 500; margin: 0; letter-spacing: .02em; }
.footer__tag { margin: 0; color: var(--text-on-dark-muted); font-size: 14px; max-width: 280px; }
.footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.footer__title {
  margin: 0 0 16px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-on-dark);
  font-weight: 700;
}
.footer__col p, .footer__col address {
  margin: 0 0 8px;
  font-style: normal;
  color: var(--text-on-dark-muted);
  font-size: 15px;
  line-height: 1.6;
}
.footer__col a { color: var(--text-on-dark); transition: color .2s; }
.footer__col a:hover { color: var(--accent-on-dark); }

.footer__bottom {
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-on-dark-muted);
}
.footer__bottom p { margin: 0; }
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; }
}

/* ---------- a11y ---------- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
