:root {
  --ink: #171512;
  --paper: #f6f1e8;
  --rust: #a94d2e;
  --sand: #d9c8ae;
  --white: #fffdfa;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: inherit; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 20; background: var(--white); padding: .8rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.site-header {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 4vw, 4.5rem);
  background: var(--paper);
}
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; font-weight: 600; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: "Playfair Display", serif; font-size: 1.2rem; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); }
nav a { text-decoration: none; font-size: .92rem; font-weight: 500; }
nav a:not(.nav-pill):hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-pill { padding: .65rem 1rem; border: 1px solid var(--ink); border-radius: 999px; }

.hero { position: relative; min-height: calc(100vh - 84px); display: flex; align-items: center; overflow: hidden; background: #3a3029; color: var(--white); }
.hero-image { position: absolute; inset: 0; background: url("assets/boutique-hero.png") center/cover no-repeat; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,14,12,.88) 0%, rgba(17,14,12,.63) 38%, rgba(17,14,12,.08) 72%); }
.hero-content { position: relative; z-index: 1; width: min(690px, 88%); margin-left: clamp(1.25rem, 8vw, 8rem); padding: 5rem 0; }
.eyebrow, .section-number { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 600; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 660px; margin-bottom: 1.4rem; font-family: "Playfair Display", serif; font-size: clamp(3.4rem, 7.5vw, 7.2rem); line-height: .94; font-weight: 500; letter-spacing: -.045em; }
.hero-copy { max-width: 500px; margin-bottom: 2rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255,253,250,.86); }
.button { display: inline-flex; align-items: center; gap: 2rem; padding: .92rem 1.15rem; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: transform .2s ease, background .2s ease; }
.button[type="button"] { font: inherit; font-weight: 600; cursor: pointer; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--ink); }
.button-dark { background: var(--ink); color: var(--white); }
.copy-status { margin: .75rem 0 0; font-size: .9rem; }
.hero-note { position: absolute; z-index: 1; right: 2rem; bottom: 2rem; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }

.intro, .about { display: grid; grid-template-columns: minmax(160px, .7fr) minmax(0, 1.6fr); gap: clamp(2rem, 8vw, 9rem); padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 8vw, 8rem); }
.section-number { color: var(--rust); }
.intro h2, .section-heading h2, .about h2, .closing h2 { font-family: "Playfair Display", serif; font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.intro h2 { max-width: 850px; font-size: clamp(2.7rem, 5vw, 5.2rem); }
.intro div > p { max-width: 670px; color: #585047; font-size: 1.08rem; }
.launch-line { display: flex; align-items: center; gap: 1rem; margin-top: 2.3rem; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }
.launch-line span { width: 52px; height: 2px; background: var(--rust); }

.products { padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 4vw, 4.5rem); background: var(--white); }
.modeled-note { margin: -2rem 0 2.2rem auto; max-width: 420px; color: #776b5e; font-size: .92rem; text-align: right; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.7rem); }
.product-card { position: relative; min-width: 0; cursor: pointer; }
.product-card-link { position: absolute; inset: 0; z-index: 3; }
.product-card-link:focus-visible { outline: 3px solid var(--rust); outline-offset: 5px; }
.product-image-wrap { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); }
.product-image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.product-card:hover img { transform: scale(1.025); }
.condition { position: absolute; left: .8rem; bottom: .8rem; padding: .45rem .65rem; background: rgba(255,253,250,.94); color: var(--ink); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.product-info { display: flex; justify-content: space-between; align-items: start; gap: 1rem; padding-top: 1.15rem; }
.product-info p { margin-bottom: .15rem; color: #776b5e; font-size: .76rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.product-info h3 { margin-bottom: 0; font-family: "Playfair Display", serif; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.08; font-weight: 500; }
.product-info .price { color: var(--rust); font-size: 1.05rem; letter-spacing: 0; white-space: nowrap; }
.details { margin-top: .6rem; color: #776b5e; font-size: .86rem; line-height: 1.45; }
.shop-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #d6caba; }
.shop-cta p { margin: 0; color: #585047; }
.collections { padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 4vw, 4.5rem); background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(2.4rem, 4vw, 4.5rem); }
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 480px; }
.collection-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 480px; padding: 2rem; }
.collection-card > span { font-size: .78rem; letter-spacing: .15em; }
.collection-card p { margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.collection-card h3 { max-width: 270px; margin-bottom: 0; font-family: "Playfair Display", serif; font-size: clamp(2rem, 3vw, 3.6rem); line-height: 1; font-weight: 500; }
.card-rust { background: var(--rust); color: var(--white); }
.card-cream { background: var(--sand); }
.card-ink { background: var(--ink); color: var(--white); }

.about { background: var(--paper); }
.large-quote { max-width: 380px; margin-top: 4rem; font-family: "Playfair Display", serif; font-style: italic; font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.18; }
.about-copy h2 { font-size: clamp(2.5rem, 4.5vw, 4.7rem); }
.about-copy > p { max-width: 650px; color: #585047; font-size: 1.06rem; }
dl { margin-top: 3rem; border-top: 1px solid #b9ac9a; }
dl div { display: grid; grid-template-columns: 1fr 2fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #b9ac9a; }
dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: #776b5e; }
dd { margin: 0; font-weight: 600; }

.closing { padding: clamp(5rem, 11vw, 10rem) 1.25rem; text-align: center; background: var(--rust); color: var(--white); }
.closing h2 { margin-bottom: 1.4rem; font-size: clamp(3.5rem, 8vw, 8.5rem); line-height: .9; }
.closing h2 em { font-weight: 500; }
.closing p:not(.eyebrow) { margin-bottom: 2rem; font-size: 1.1rem; }
footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; padding: 2rem clamp(1.25rem, 4vw, 4.5rem); background: var(--ink); color: var(--paper); }
footer p { margin: 0; font-size: .78rem; color: rgba(246,241,232,.65); }
.footer-brand .brand-mark { background: var(--paper); color: var(--ink); }

@media (max-width: 780px) {
  .site-header { height: 72px; }
  nav a:not(.nav-pill) { display: none; }
  .hero { min-height: calc(100svh - 72px); align-items: end; }
  .hero-image { background-position: 64% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(17,14,12,.9) 0%, rgba(17,14,12,.42) 68%, rgba(17,14,12,.15) 100%); }
  .hero-content { width: auto; margin: 0; padding: 4rem 1.25rem 3rem; }
  h1 { font-size: clamp(3.3rem, 15vw, 5.3rem); }
  .hero-note { display: none; }
  .intro, .about { grid-template-columns: 1fr; gap: 1.5rem; }
  .large-quote { margin-top: 1.5rem; }
  .section-heading { display: block; }
  .modeled-note { margin: -1rem 0 1.8rem; text-align: left; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shop-cta { align-items: flex-start; flex-direction: column; }
  .collection-grid { grid-template-columns: 1fr; min-height: 0; }
  .collection-card { min-height: 320px; }
  footer { grid-template-columns: 1fr; gap: 1rem; }
}

@media (min-width: 781px) and (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
