/* Resolana — catalog */
:root {
  --cream: #f5f2ed;
  --plaster: #efe8dc;
  --ink: #1e1915;
  --muted: #6b635a;
  --line: rgba(30, 25, 21, 0.12);
  --terra: #a35b3e;
  --terra-hover: #8c4c34;
  --btn-text: #f7f3ee;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--cream); color: var(--ink); }
body {
  font-family: Outfit, "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0.95rem 1.6rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.logo {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
}
.header-center {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  text-align: center;
}
nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: flex-end;
}
nav a {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
nav a:hover { opacity: 0.55; }
.bag { display: flex; line-height: 0; }

.promo {
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--plaster);
}

.hero {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.hero-still {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  background: var(--plaster);
  position: relative;
}
.hero-still img {
  display: block;
  width: 100%;
  height: min(70vh, 36rem);
  max-width: none;
  object-fit: cover;
  object-position: 18% 50%;
}
.hero-copy {
  position: static;
  flex: 0 0 40%;
  min-width: 28rem;
  width: auto;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 2.6rem 2.4rem 2.8rem;
  background: var(--cream);
  color: var(--ink);
  z-index: 1;
}
.hero-copy h1 {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: var(--ink);
}
.hero-copy .sku {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-size: 1.15rem;
  font-style: italic;
  margin: 0.75rem 0 1.2rem;
  color: var(--muted);
}
.btn {
  display: inline-block;
  background: var(--terra);
  color: var(--btn-text);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.2rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  width: fit-content;
}
.btn:hover { background: var(--terra-hover); }
.btn.wide { width: 100%; }
.hero-copy .btn { width: 100%; }
.btn-outline {
  display: inline-block;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.55rem 1.15rem;
  width: fit-content;
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.catalog {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem 2.5rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 3.4rem 2rem 4.5rem;
  align-items: start;
}
.section-label {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.35rem;
}
.sku-card {
  display: grid;
  grid-template-columns: 10.5rem 1fr;
  gap: 1.25rem;
  align-items: center;
}
.sku-photo {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--plaster);
}
.sku-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.sku-meta h2 {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.notes {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.size {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}
.still-house h2 {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 1.15rem 0 0.55rem;
}
.still-house p { color: var(--muted); max-width: 36ch; font-size: 0.95rem; }
.trio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.45rem;
}
.trio img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 76rem;
  margin: 0 auto;
  min-height: 36rem;
}
.pdp-photo { background: var(--plaster); position: relative; align-self: start; }
.gallery { position: relative; }
.gallery-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  margin: 0;
  aspect-ratio: 4 / 5;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}
.gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.05rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  z-index: 2;
}
.gallery-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 243, 238, 0.45);
  box-shadow: 0 0 0 1px rgba(30, 25, 21, 0.18);
  cursor: pointer;
}
.gallery-dots button.is-active {
  background: var(--cream);
  box-shadow: 0 0 0 1px rgba(30, 25, 21, 0.35);
}
.pdp-copy {
  padding: 3.4rem 3rem 4rem 2.6rem;
  max-width: none;
}
.eyebrow {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.pdp-copy h1 {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.3rem, 4.5vw, 3.1rem);
  margin-bottom: 0.45rem;
}
.pdp-copy .notes { margin-bottom: 0.45rem; }
.pdp-copy .size { margin-bottom: 1rem; }
.price {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}
.buy-row {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
  margin-bottom: 0.85rem;
}
.qty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  border: 1px solid var(--line);
  font-size: 0.9rem;
  background: #faf7f2;
}
.pdp-copy .btn { flex: 1; text-align: center; }
.gift {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.2rem;
}
.gift:hover { color: var(--ink); }
.details { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.lede {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.45;
  max-width: 28ch;
  margin-bottom: 1.4rem;
}
.notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.notes-grid dl div { margin-bottom: 0.7rem; }
.notes-grid dt {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.notes-grid dd { font-size: 0.88rem; color: var(--ink); }
.notes-grid ul li {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.page {
  width: min(100%, 32rem);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3.5rem;
}
.kicker {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.4rem;
}
.cart {
  display: grid;
  grid-template-columns: 5.2rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0 1.3rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 1.8rem;
}
.cart img { width: 5.2rem; height: 5.2rem; object-fit: cover; }
.cart .pname {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-size: 1.2rem;
}
.cart .psub { font-size: 0.78rem; color: var(--muted); margin-top: 0.2rem; }
form section { margin-bottom: 1.6rem; }
form h2 {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
label { display: block; margin-bottom: 0.65rem; }
label span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
input {
  width: 100%;
  background: #faf7f2;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: 0.68rem 0.75rem;
  outline: none;
}
input:focus { border-color: var(--ink); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.total {
  display: flex;
  justify-content: space-between;
  margin: 0.3rem 0 1rem;
  font-size: 0.95rem;
}
.thanks { text-align: center; padding: 2.5rem 1.25rem 4rem; }
.thanks h1 {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3rem);
  margin: 0.6rem 0 0.5rem;
}
.thanks .sku {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-size: 1.2rem;
}
.thanks img { width: min(100%, 18rem); margin: 2rem auto 0; }
.dash { width: min(100%, 36rem); margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.dash h1 {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 5vw, 2.3rem);
  text-align: center;
  margin-bottom: 0.4rem;
}
.count {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-size: 4.2rem;
  text-align: center;
  line-height: 1;
}
.count-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.8rem;
}
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { text-align: left; padding: 0.65rem 0.4rem 0.65rem 0; border-bottom: 1px solid var(--line); font-weight: 300; }
th {
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.empty { text-align: center; color: var(--muted); margin-top: 1rem; }
footer {
  text-align: center;
  padding: 2.6rem 1rem 2.8rem;
  border-top: 1px solid var(--line);
}
footer .logo { font-size: 0.82rem; }

.below {
  max-width: 40rem;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 4rem;
}
.below > section { margin-top: 2.8rem; }
.below > section:first-child { margin-top: 0; }
.below h2 {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 0.85rem;
}
.below p { color: var(--muted); }
.below p + p { margin-top: 0.85rem; }

.product-block .eyebrow { margin-bottom: 0.9rem; }
.product-block .still-link { display: block; margin-bottom: 1.15rem; background: var(--plaster); }
.product-block img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 42%;
}
.product-block h2 {
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
.product-block .notes { margin-bottom: 0.25rem; }
.product-block .size { margin-bottom: 0.45rem; }
.product-block .price {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 1rem;
}

.signup form {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.1rem;
  align-items: stretch;
}
.signup form input { flex: 1; }
.signup form .btn {
  width: auto;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}
.signup-ok { color: var(--ink); margin-top: 1.1rem; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.6rem 2rem;
  align-items: start;
  text-align: left;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 2.8rem 1.5rem 2rem;
}
.site-footer .logo {
  font-size: 0.78rem;
  margin-bottom: 0.55rem;
}
.footer-brand p:not(.logo) {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
}
.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.55rem;
}
.site-footer a {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.site-footer a:hover { opacity: 0.55; }
.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

.legal {
  width: min(100%, 36rem);
  max-width: 36rem;
  padding: 2rem 1.5rem 3.5rem;
}
.legal h1 {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  margin-bottom: 1rem;
  color: var(--ink);
}
.legal p { color: var(--muted); }
.legal p + p { margin-top: 0.85rem; }
.legal a { text-decoration: underline; text-underline-offset: 0.15em; }
.legal form { margin-top: 1.4rem; }
.legal .btn { margin-top: 0.4rem; }

textarea {
  width: 100%;
  background: #faf7f2;
  border: 1px solid var(--line);
  color: var(--ink);
  font: inherit;
  padding: 0.68rem 0.75rem;
  outline: none;
  min-height: 8rem;
  resize: vertical;
}
textarea:focus { border-color: var(--ink); }

.pdp-copy .desc {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
  max-width: none;
  margin-bottom: 0.4rem;
}
.notes-block,
.spec,
.how-block {
  margin-top: 1.7rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.pdp-copy h2 {
  font-family: "Playfair Display", Palatino, Georgia, serif;
  font-weight: 500;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}
.notes-block dt,
.spec dt {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.12rem;
}
.notes-block dd {
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}
.spec {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.5rem 1rem;
  align-items: baseline;
}
.spec dt { margin-bottom: 0; }
.spec dd { font-size: 0.92rem; margin-bottom: 0; }
.how-block p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0.85rem 1rem;
  }
  .header-center { display: none; }
  .catalog, .pdp, .sku-card, .notes-grid { grid-template-columns: 1fr; }
  .hero {
    flex-direction: column;
    max-width: none;
    border-bottom: 0;
  }
  .hero-still {
    flex: 0 0 auto;
    width: 100%;
  }
  .hero-still img {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: 18% 50%;
  }
  .hero-copy {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 1.7rem 1.25rem 2.1rem;
  }
  .hero-copy h1 { font-size: 2rem; }
  .hero-copy .sku { margin: 0.4rem 0 0.85rem; }
  .hero-copy .btn {
    padding: 0.7rem 1rem;
    font-size: 0.68rem;
  }
  .catalog { padding: 2.2rem 1.15rem 3rem; gap: 2.6rem; }
  .sku-card { gap: 1rem; }
  .sku-photo { aspect-ratio: 1; max-width: 12rem; }
  .gallery-slide { min-height: 0; }
  .pdp-copy { padding: 2rem 1.2rem 3rem; }
  .row { grid-template-columns: 1fr; }
  .site-footer {
    grid-template-columns: 1fr;
    padding: 2.2rem 1.25rem 1.8rem;
  }
  .signup form { flex-direction: column; }
  .signup form .btn { width: 100%; }
  .spec { grid-template-columns: 1fr; gap: 0.15rem 0; }
  .spec dt { margin-top: 0.45rem; }
}
