/* Heckington Studios — the whole design system.
   Change the custom properties below to restyle the site. */

:root {
  --paper: #f7f3ec;      /* page background */
  --wall: #ede6da;       /* the "gallery wall" behind prints */
  --ink: #15130f;        /* text, dark buttons, dark sections */
  --muted: #6c655b;      /* secondary text */
  --gold: #a88a5c;       /* accent — used sparingly */
  --line: rgba(21, 19, 15, 0.14);
  --display: Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Futura', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --header: 64px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 1rem); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 300 1.0625rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; }
p { margin: 0 0 1.1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hp { position: absolute; left: -9999px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- type ---------- */

.eyebrow {
  margin: 0 0 1.25rem;
  font: 400 0.6875rem/1 var(--sans);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 6.4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.section-title--sm { font-size: clamp(1.4rem, 4vw, 2rem); }
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.75rem 2rem;
  padding-bottom: 1.5rem; margin-bottom: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}
.section-meta { margin: 0; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 48px; padding: 0.85rem 1.6rem;
  border: 1px solid var(--ink); border-radius: 0;
  font: 400 0.75rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; text-align: center; cursor: pointer; white-space: nowrap;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #2e2a24; border-color: #2e2a24; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: transparent; color: var(--paper); border-color: rgba(247, 243, 236, 0.4); }
.btn--light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--lg { min-height: 56px; padding-inline: 2.2rem; font-size: 0.8125rem; }
.btn--block { width: 100%; }
.icon { width: 1.1em; height: 1.1em; flex: none; transition: transform 0.3s var(--ease); }
.btn:hover .icon, .link:hover .icon { transform: translateX(3px); }
.link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header); }
.wordmark {
  display: inline-flex; align-items: baseline; gap: 0.45em;
  font: 500 1.0625rem/1 var(--display); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
}
.wordmark span { font: 400 0.625rem/1 var(--sans); letter-spacing: 0.34em; color: var(--muted); }
.wordmark--lg { font-size: 1.375rem; }
.nav { display: none; }
.header-shop {
  margin-left: auto; font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none;
  padding: 0.5rem 0;
}
.nav-toggle {
  position: relative; width: 44px; height: 44px; margin-right: -10px; border: 0; background: none; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 1px; background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 899px) {
  .nav-open { overflow: hidden; }
  .nav-open .nav {
    display: flex; flex-direction: column; justify-content: center; gap: 0.5rem;
    position: fixed; inset: var(--header) 0 0; padding: 0 var(--gutter) 20vh;
    background: var(--paper);
    animation: fade 0.35s var(--ease);
  }
  .nav-open .nav a {
    font: 400 clamp(2rem, 9vw, 2.75rem)/1.3 var(--display); text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none;
  }
}
@media (min-width: 900px) {
  :root { --header: 76px; }
  .nav { display: flex; gap: 2.4rem; margin-left: auto; }
  .nav a {
    position: relative; font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; padding: 0.5rem 0;
  }
  .nav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0.2rem; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
  }
  .nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
  .header-shop, .nav-toggle { display: none; }
  .wordmark { font-size: 1.1875rem; }
}

/* ---------- the print (artwork on a wall) ---------- */

.print {
  position: relative; display: block; aspect-ratio: 297 / 420; overflow: hidden;
  background: var(--tone, #e4ddd1);
  box-shadow: 0 1px 2px rgba(21, 19, 15, 0.08), 0 22px 40px -22px rgba(48, 36, 22, 0.45);
}
.print img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }

/* Shown until the artwork file is added to public/assets/art/ */
.slot {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem;
  padding: 1.5rem; text-align: center;
}
.slot::before { content: ''; position: absolute; inset: 7%; border: 1px solid rgba(168, 138, 92, 0.55); pointer-events: none; }
.slot__city { font: 400 clamp(1.4rem, 5vw, 2.6rem)/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.slot__rule { width: 2.5rem; height: 1px; background: var(--gold); }
.slot__label { font-size: 0.625rem; letter-spacing: 0.32em; text-transform: uppercase; }
.slot__note { position: absolute; bottom: 11%; font-size: 0.625rem; letter-spacing: 0.14em; color: var(--muted); }

/* ---------- hero ---------- */

.hero { padding-top: clamp(2.75rem, 9vw, 6rem); }
.hero__title {
  font-family: var(--display);
  font-size: clamp(2.5rem, 10.5vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.hero__sub { max-width: 30ch; margin: 1.5rem 0 2rem; font-size: clamp(1.0625rem, 2.6vw, 1.3rem); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.hero__meta { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero__wall { margin-top: clamp(2.5rem, 7vw, 5rem); background: var(--wall); padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.hero__prints {
  display: grid; grid-auto-flow: column; grid-auto-columns: 64vw; gap: 1.25rem;
  margin: 0; padding: 0 var(--gutter) 0.5rem; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  scrollbar-width: none;
}
.hero__prints::-webkit-scrollbar { display: none; }
.hero__item { scroll-snap-align: start; }
.hero__item a { display: block; text-decoration: none; }
.hero__caption {
  display: block; margin-top: 1.1rem; font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; text-align: center;
}
.hero__item a:hover .print img { transform: scale(1.025); }

@media (min-width: 900px) {
  .hero__prints {
    grid-auto-flow: row; grid-template-columns: repeat(var(--count, 4), 1fr); grid-auto-columns: auto;
    gap: clamp(1.5rem, 3vw, 3rem); max-width: var(--wrap); margin-inline: auto; overflow: visible;
  }
  .hero__item:nth-child(even) { margin-top: 3.5rem; }
}

/* ---------- intro ---------- */

.intro { padding-block: clamp(4.5rem, 13vw, 9rem); text-align: center; }
.intro__title {
  font: 400 clamp(1.7rem, 5.2vw, 2.9rem)/1.2 var(--display); font-style: italic; letter-spacing: 0;
  max-width: 22ch; margin: 0 auto 1.75rem;
}
.intro__text { max-width: 58ch; margin: 0 auto; color: var(--muted); }

/* ---------- collection ---------- */

.collection { padding-bottom: clamp(4rem, 10vw, 7rem); }
.grid { display: grid; gap: clamp(3rem, 7vw, 4.5rem) clamp(1.5rem, 4vw, 3.5rem); }
@media (min-width: 760px) { .grid { grid-template-columns: 1fr 1fr; } }

.card__media {
  display: block; padding: 11% 17%; background: var(--wall);
}
.card__media .print { transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); }
.card:hover .card__media .print {
  transform: translateY(-6px);
  box-shadow: 0 1px 2px rgba(21, 19, 15, 0.08), 0 34px 50px -26px rgba(48, 36, 22, 0.5);
}
.card:hover .card__media img { transform: scale(1.02); }
.card__body { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: 1.4rem 0 1.2rem; }
.card__title { font: 400 clamp(1.6rem, 4.4vw, 2.1rem)/1 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.card__title a { text-decoration: none; }
.card__collection { margin: 0.55rem 0 0; font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.card__price { display: flex; flex-direction: column; align-items: flex-end; margin: 0; font-size: 1.125rem; font-weight: 400; line-height: 1.2; }
.card__price span { font-size: 0.6875rem; letter-spacing: 0.24em; color: var(--muted); margin-bottom: 0.35rem; }
.card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

/* ---------- facts ---------- */

.facts { border-block: 1px solid var(--line); }
.facts__list { display: grid; margin: 0; padding-block: 0.5rem; list-style: none; }
.facts__list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.facts__list li:last-child { border-bottom: 0; }
.facts__k { font-size: 0.6875rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.facts__v { font-size: 0.9375rem; text-align: right; }
@media (min-width: 760px) {
  .facts__list { grid-template-columns: repeat(3, 1fr); padding-block: 2rem; }
  .facts__list li { flex-direction: column; align-items: center; gap: 0.5rem; border: 0; text-align: center; }
  .facts__list li + li { border-left: 1px solid var(--line); }
  .facts__v { text-align: center; }
}

/* ---------- story ---------- */

.story { padding-block: clamp(4.5rem, 12vw, 8rem); }
.story__inner { display: grid; gap: 3rem; align-items: center; }
.story__media { background: var(--wall); padding: 12% 20%; }
.story__text .section-title { margin-bottom: 1.75rem; }
.story__text > p:not(.eyebrow) { max-width: 46ch; font-size: 1.125rem; }
.story__themes { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.story__themes li {
  padding: 0.5rem 0.9rem; border: 1px solid var(--line);
  font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
@media (min-width: 900px) {
  .story__inner { grid-template-columns: 1.05fr 1fr; gap: clamp(3rem, 7vw, 7rem); }
}

/* ---------- about ---------- */

.about { padding-block: clamp(3rem, 8vw, 5rem) clamp(5rem, 13vw, 9rem); text-align: center; }
.about .section-title { margin-bottom: 2rem; }
.about p:not(.eyebrow) { max-width: 60ch; margin-inline: auto; font-size: 1.125rem; }

/* ---------- final call to action ---------- */

.final { background: var(--ink); color: var(--paper); padding-block: clamp(5rem, 14vw, 9rem); text-align: center; }
.final__title {
  max-width: 16ch; margin: 0 auto 3rem;
  font: 400 clamp(2rem, 7vw, 4rem)/1.08 var(--display); text-transform: uppercase; letter-spacing: 0.02em;
}
.final__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; max-width: 760px; margin: 0 auto; }
@media (min-width: 760px) { .final__buttons { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }

/* ---------- product page ---------- */

.crumbs { display: flex; gap: 0.6rem; padding-block: 1.25rem; font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

.product { display: grid; gap: 2.5rem; padding-bottom: clamp(4rem, 10vw, 7rem); }
.product__media { margin-inline: calc(var(--gutter) * -1); }
.product__wall { background: var(--wall); padding: 10% 16%; }
.product__title { font: 400 clamp(2.75rem, 11vw, 4.75rem)/1 var(--display); letter-spacing: 0.04em; text-transform: uppercase; }
.product__format { margin: 1rem 0 0; font-size: 0.75rem; letter-spacing: 0.24em; text-transform: uppercase; }
.product__format span { color: var(--muted); letter-spacing: 0.1em; text-transform: none; font-size: 0.875rem; }
.product__price { margin: 1.5rem 0 1.75rem; font-size: 1.625rem; font-weight: 400; }
.product__desc { padding-top: 1.75rem; border-top: 1px solid var(--line); color: #3c372f; }


/* Product image gallery: swipeable slides plus thumbnails */
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { scroll-snap-align: start; aspect-ratio: 1000 / 1162; display: flex; align-items: center; }
.gallery__slide .print { width: 100%; }
.gallery__slide--photo { position: relative; background: var(--wall); }
.gallery__slide--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 0.6rem; margin-top: 0.75rem; padding-inline: var(--gutter); }
.gallery__thumb {
  width: 64px; aspect-ratio: 1000 / 1162; padding: 0; border: 1px solid transparent; background: var(--wall);
  cursor: pointer; opacity: 0.6; transition: opacity 0.2s, border-color 0.2s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb[aria-current] { opacity: 1; border-color: var(--ink); }
@media (min-width: 900px) {
  .product { grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .product__media { margin-inline: 0; position: sticky; top: calc(var(--header) + 1.5rem); }
  .product__info { padding-top: 2rem; }
  .gallery__thumbs { padding-inline: 0; }
  .gallery__thumb { width: 80px; }
}

.buy { margin-top: 2rem; }
.buy__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.qty { display: inline-flex; border: 1px solid var(--line); }
.qty__btn { width: 48px; height: 48px; border: 0; background: none; font-size: 1.15rem; cursor: pointer; transition: background-color 0.2s; }
.qty__btn:hover:not(:disabled) { background: var(--wall); }
.qty__btn:disabled, .qty__input:disabled { color: var(--muted); cursor: not-allowed; opacity: 0.5; }
.qty__input {
  width: 3rem; border: 0; border-inline: 1px solid var(--line); background: none; text-align: center; font-size: 1rem;
  -moz-appearance: textfield; appearance: textfield;
}
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.buy__total { margin: 0; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.buy__total strong { margin-left: 0.5rem; font-size: 1.125rem; font-weight: 400; letter-spacing: 0; color: var(--ink); }
.buy__note { margin: 0.9rem 0 0; font-size: 0.8125rem; color: var(--muted); text-align: center; }

.notify { margin-top: 1.5rem; padding: 1.5rem; background: var(--wall); animation: fade 0.4s var(--ease); }
.notify__title { margin: 0 0 0.4rem; font: 400 1.25rem/1.3 var(--display); }
.notify__text { font-size: 0.9375rem; color: #3c372f; }
.notify__form { display: grid; gap: 0.6rem; }
.notify__form input[type='email'] {
  min-height: 48px; padding: 0 1rem; border: 1px solid var(--line); background: var(--paper); border-radius: 0;
}
.notify__done, .notify__error { margin: 0.75rem 0 0; font-size: 0.9375rem; }
.notify__error { color: #8a3b2a; }
@media (min-width: 480px) { .notify__form { grid-template-columns: 1fr auto; } }

.details { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.details details { border-bottom: 1px solid var(--line); }
.details summary {
  display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; cursor: pointer; list-style: none;
  font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: '+'; font-size: 1.1rem; font-weight: 300; transition: transform 0.3s var(--ease); }
.details details[open] summary::after { transform: rotate(45deg); }
.details details p { margin: 0 0 1.25rem; font-size: 0.9375rem; color: #3c372f; }

.more { padding-block: clamp(3.5rem, 9vw, 6rem); border-top: 1px solid var(--line); }
.more__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46vw; gap: 1.25rem;
  margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.more__list::-webkit-scrollbar { display: none; }
.more__list li { scroll-snap-align: start; }
.more__item { display: block; text-decoration: none; }
.more__item .print { transition: transform 0.6s var(--ease); }
.more__item:hover .print { transform: translateY(-4px); }
.more__name { display: block; margin-top: 1rem; font: 400 1.125rem/1.2 var(--display); letter-spacing: 0.06em; text-transform: uppercase; }
.more__price { display: block; margin-top: 0.3rem; font-size: 0.8125rem; color: var(--muted); }
@media (min-width: 760px) {
  .more__list { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; margin: 0; padding: 0; overflow: visible; gap: clamp(1.5rem, 4vw, 3.5rem); }
}

.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(247, 243, 236, 0.96); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(100%); transition: transform 0.4s var(--ease);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy__name { display: block; font: 400 1rem/1.2 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.sticky-buy__price { display: block; font-size: 0.8125rem; color: var(--muted); }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* ---------- content pages ---------- */

.page { padding-block: clamp(3.5rem, 10vw, 7rem); }
.page--center { text-align: center; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.page__title { font: 400 clamp(2.25rem, 8vw, 4rem)/1.05 var(--display); letter-spacing: 0.01em; margin-bottom: 1.5rem; }
.page__intro { max-width: 52ch; font-size: 1.125rem; color: var(--muted); margin-bottom: 2.5rem; }
.page__updated { margin-top: 3rem; font-size: 0.8125rem; color: var(--muted); }
.prose { border-top: 1px solid var(--line); }
.prose h2 { margin: 2.5rem 0 0.8rem; font-size: 0.75rem; font-weight: 400; letter-spacing: 0.24em; text-transform: uppercase; }
.prose ul { padding-left: 1.1rem; }
.prose li { margin-bottom: 0.6rem; }
.prose strong { font-weight: 500; }

.contact { display: grid; gap: 3rem; }
.contact__email { display: flex; flex-direction: column; gap: 0.3rem; }
.contact__email span { font-size: 0.6875rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.contact__email a { font: 400 1.25rem/1.3 var(--display); word-break: break-all; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 6rem; } }
.form { display: grid; gap: 1.5rem; align-content: start; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.75rem 0; border: 0; border-bottom: 1px solid rgba(21, 19, 15, 0.3);
  border-radius: 0; background: transparent; font-size: 1rem; transition: border-color 0.25s;
}
.field select { appearance: none; background: linear-gradient(45deg, transparent 50%, var(--ink) 50%) right 6px center / 5px 5px no-repeat, linear-gradient(-45deg, transparent 50%, var(--ink) 50%) right 1px center / 5px 5px no-repeat; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.form .btn { justify-self: start; }

/* ---------- footer ---------- */

.site-footer { padding-block: clamp(3.5rem, 9vw, 5.5rem) 2rem; border-top: 1px solid var(--line); }
.site-footer__top { display: grid; gap: 2.5rem; }
.site-footer__line { margin: 1rem 0 0; color: var(--muted); font-size: 0.9375rem; }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.75rem; }
.site-footer__nav a { width: fit-content; font-size: 0.8125rem; letter-spacing: 0.06em; text-decoration: none; color: #3c372f; }
.site-footer__nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__legal { margin: 3.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--muted); }
@media (min-width: 760px) { .site-footer__top { grid-template-columns: 2fr 1fr 1.3fr; } }

/* ---------- motion ---------- */

@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- product page: lifestyle presentation (pages with `lifestyle` in products.mjs) ---------- */

.gallery__caption { margin: 0.9rem 0 0; padding-inline: var(--gutter); max-width: 60ch; font-size: 0.875rem; line-height: 1.55; color: var(--muted); font-style: italic; }
.gallery__caption-title { display: block; margin-bottom: 0.2rem; font-style: normal; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.product__headline {
  margin: 0 0 1.5rem;
  font: 400 clamp(2.1rem, 8.4vw, 3.6rem)/1.06 var(--display); letter-spacing: -0.005em;
}
.product__intro { max-width: 46ch; color: #3c372f; font-size: 1.0625rem; }
.product__intro p:last-child { margin-bottom: 0; }
.product__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line);
}
.product__collection { margin: 0 0 0.6rem; font-size: 0.6875rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.product__title--sm { font-size: clamp(2.1rem, 8vw, 3rem); }
.product__price--side { margin: 0; font: 400 clamp(1.75rem, 6vw, 2.25rem)/1 var(--display); white-space: nowrap; }
.product__info--lifestyle .product__format { margin-top: 1rem; }
.product__paper { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--muted); }
.product__offer { margin: 1.25rem 0 0; }
.product__info--lifestyle .buy { margin-top: 1.5rem; }
.product__info--lifestyle .product__desc { margin-top: 2.25rem; }
@media (min-width: 900px) {
  .gallery__caption { padding-inline: 0; }
  .product__info--lifestyle { padding-top: 1rem; }
}

.styling { background: var(--wall); padding-block: clamp(4rem, 11vw, 7.5rem); }
.styling__inner { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
.styling__media { max-width: 420px; width: 72%; margin-inline: auto; }
.styling__title {
  max-width: 18ch; margin-bottom: 2.25rem;
  font: 400 clamp(1.8rem, 5.6vw, 2.9rem)/1.12 var(--display); font-style: italic;
}
.styling__list { margin: 0 0 2.5rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.styling__list li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.5rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.styling__num { font: 400 0.8125rem/1.9 var(--display); color: var(--gold); font-style: italic; }
.styling__list h3 { margin-bottom: 0.4rem; font: 400 0.75rem/1.6 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.styling__list p { margin: 0; font-size: 0.9875rem; color: #3c372f; max-width: 52ch; }
.styling .btn { white-space: normal; }
@media (min-width: 900px) {
  .styling__inner { grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 7vw, 7rem); }
  .styling__media { width: 78%; }
}
