/* RELCO Leather
   Store design system
   Palette: cream, espresso, cognac, brass
*/

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@300;400;500;600&display=swap");

:root {
  --paper: #f6f0e7;
  --paper-deep: #ece1d2;
  --sand: #d9c6ae;
  --ink: #221711;
  --ink-soft: #4e3d32;
  --forest: #3b2418;
  --teal: #8b4a2b;
  --teal-bright: #a65c36;
  --gold: #b08d57;
  --gold-soft: #e3cfa8;
  --clay: #9c5a3c;
  --white: #fffbf5;
  --line: rgba(34, 23, 17, 0.14);
  --line-strong: rgba(34, 23, 17, 0.3);
  --shadow-sm: 0 2px 10px rgba(34, 23, 17, 0.06);
  --shadow-md: 0 18px 50px rgba(34, 23, 17, 0.12);
  --shadow-lg: 0 34px 90px rgba(34, 23, 17, 0.18);
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1220px;
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 999px;
  transition: top 0.2s var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: min(100% - 44px, var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 600;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 54ch;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(247, 243, 236, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-stuck {
  border-color: var(--line);
  background: rgba(247, 243, 236, 0.96);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 84px;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.wordmark-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  border: 1px solid rgba(199, 154, 75, 0.45);
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark-name {
  font-family: var(--display);
  font-size: 1.34rem;
  letter-spacing: 0.14em;
}

.wordmark-sub {
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 5px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.9rem;
}

.site-nav a {
  position: relative;
  padding: 4px 0;
  color: var(--ink-soft);
  transition: color 0.2s var(--ease);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s var(--ease);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}

.cart-button:hover {
  background: var(--forest);
  transform: translateY(-1px);
}

.cart-count {
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 600;
  display: grid;
  place-items: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--ink);
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background: var(--ink);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--forest);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: #d8ab5b;
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

.link-underline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 3px;
  transition: gap 0.2s var(--ease), border-color 0.2s var(--ease);
}

.link-underline:hover {
  gap: 14px;
  border-color: var(--ink);
}

/* Hero */

.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -80px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 154, 75, 0.22), transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6.2vw, 5.4rem);
  margin: 22px 0 26px;
}

.hero-copy h1 em {
  font-style: italic;
  color: var(--teal);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-meta strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
}

.hero-meta span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-art {
  position: relative;
  min-height: 560px;
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.hero-photo:hover img {
  transform: scale(1.04);
}

.hero-photo-main {
  top: 0;
  right: 0;
  width: 80%;
  height: 420px;
}

.hero-photo-main img {
  object-position: center;
}

.hero-photo-small {
  left: 0;
  bottom: 0;
  width: 46%;
  height: 300px;
  border: 8px solid var(--paper);
}

.hero-stamp {
  position: absolute;
  left: 34%;
  top: 44%;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-soft);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.7;
  border: 1px solid rgba(199, 154, 75, 0.5);
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.hero-stamp span {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 6px;
}

/* Marquee */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-deep);
  overflow: hidden;
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 52px;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "◆";
  color: var(--gold);
  font-size: 0.55rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Sections */

.section {
  padding: 92px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-top: 12px;
}

.section-head p {
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* Category tiles */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 300px;
  isolation: isolate;
  background: var(--sand);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 59, 50, 0.05) 30%, rgba(18, 30, 27, 0.72));
  z-index: 1;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-label {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 26px 28px;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.category-label h3 {
  font-size: 1.8rem;
}

.category-label span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.category-label .arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 253, 248, 0.5);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.category-card:hover .arrow {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* Product grid and cards */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 20px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
  aspect-ratio: 4 / 5;
}

.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.45s var(--ease), transform 0.7s var(--ease);
}

.product-media-alt {
  opacity: 0;
}

.product-card:hover .product-media-main {
  opacity: 0;
}

.product-card:hover .product-media-alt {
  opacity: 1;
}

.product-card:hover .product-media img {
  transform: scale(1.04);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.quick-add {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.product-card:hover .quick-add,
.product-card:focus-within .quick-add {
  transform: translateY(0);
  opacity: 1;
}

.quick-add button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 33, 31, 0.92);
  color: var(--white);
  padding: 12px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.2s var(--ease);
}

.quick-add button:hover {
  background: var(--forest);
}

.product-info {
  padding: 16px 4px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.product-info h3 {
  font-size: 1.18rem;
}

.product-info h3 a:hover {
  color: var(--teal);
}

.product-cat {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

.product-price {
  font-family: var(--display);
  font-size: 1.06rem;
  margin-top: 2px;
}

/* Shop toolbar */

.shop-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--ink);
}

.chip.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.sort-select {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.8rem;
  cursor: pointer;
}

.result-count {
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* Product detail */

.product-page {
  padding: 44px 0 80px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 34px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb span {
  opacity: 0.5;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 108px;
}

.product-gallery-main {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
  aspect-ratio: 4 / 5;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.product-thumb {
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper-deep);
  cursor: pointer;
  aspect-ratio: 4 / 5;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb:hover {
  border-color: var(--line-strong);
}

.product-thumb.is-active {
  border-color: var(--ink);
}

.product-gallery-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.76rem;
  color: var(--ink-soft);
}

.product-gallery-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

.product-detail h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 12px 0 14px;
}

.product-detail .product-price {
  font-size: 1.7rem;
  margin: 8px 0 22px;
}

.product-detail .lead {
  font-size: 1rem;
  margin-bottom: 18px;
}

.product-detail > p + p {
  margin-top: 14px;
}

.spec-list {
  display: grid;
  gap: 0;
  margin: 30px 0;
  border-top: 1px solid var(--line);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.spec-list li span:first-child {
  color: var(--ink-soft);
}

.spec-list li span:last-child {
  text-align: right;
  font-weight: 500;
}

.buy-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin-top: 26px;
}

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}

.qty button {
  width: 44px;
  height: 50px;
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
}

.qty button:hover {
  background: var(--paper-deep);
}

.qty input {
  width: 34px;
  border: 0;
  background: transparent;
  text-align: center;
  font-size: 0.95rem;
  -moz-appearance: textfield;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.buy-row .btn {
  flex: 1;
}

.detail-notes {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.detail-notes details {
  border-bottom: 1px solid var(--line);
}

.detail-notes summary {
  cursor: pointer;
  padding: 17px 0;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.detail-notes summary::-webkit-details-marker {
  display: none;
}

.detail-notes summary::after {
  content: "+";
  font-size: 1.1rem;
  color: var(--teal);
  transition: transform 0.2s var(--ease);
}

.detail-notes details[open] summary::after {
  content: "-";
  transform: none;
}

.detail-notes p {
  padding: 0 0 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* Story and values */

.story {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.story-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  max-width: 220px;
}

.story-badge strong {
  display: block;
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.story-badge span {
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.story-copy h2 {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  margin: 14px 0 22px;
}

.story-copy p + p {
  margin-top: 16px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.value {
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
}

.value strong {
  display: block;
  font-family: var(--display);
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.value span {
  font-size: 0.84rem;
  color: var(--ink-soft);
}

/* Lookbook */

.lookbook {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  grid-auto-rows: 470px;
  gap: 18px;
}

.lookbook figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}

.lookbook img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.lookbook figure:hover img {
  transform: scale(1.04);
}

.lookbook figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(18, 30, 27, 0.75));
}

/* Trust strip */

.trust {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.trust div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.trust strong {
  font-family: var(--display);
  font-size: 1.12rem;
  font-weight: 400;
  color: var(--gold-soft);
}

.trust span {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Guide */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.guide-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.guide-num {
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--gold);
  letter-spacing: 0.1em;
}

.guide-card h3 {
  font-size: 1.3rem;
}

.guide-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Newsletter */

.newsletter {
  background: var(--paper-deep);
  border-radius: var(--radius);
  padding: 54px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.newsletter h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 0.88rem;
}

.newsletter-form input:focus {
  border-color: var(--teal);
  outline: none;
}

/* Footer */

.site-footer {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding: 64px 0 34px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 44px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 18px;
  font-size: 0.86rem;
  color: var(--ink-soft);
  max-width: 34ch;
}

.footer-col h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-col a:hover {
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.76rem;
  color: var(--ink-soft);
}

/* Cart drawer */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 33, 31, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  z-index: 90;
}

.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100%);
  background: var(--paper);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.38s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  font-size: 1.5rem;
}

.cart-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
}

.cart-close:hover {
  background: var(--paper-deep);
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 28px;
}

.cart-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.cart-item img {
  width: 76px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--paper-deep);
}

.cart-item h3 {
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.cart-item .cart-meta {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.cart-item .cart-price {
  font-family: var(--display);
  font-size: 0.95rem;
  margin-top: 6px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.cart-item-controls button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
}

.cart-item-controls button:hover {
  background: var(--paper-deep);
}

.cart-item-controls span {
  font-size: 0.84rem;
  min-width: 18px;
  text-align: center;
}

.cart-remove {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.72rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.cart-foot {
  border-top: 1px solid var(--line);
  padding: 22px 28px 28px;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.cart-total span {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cart-total strong {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 500;
}

.cart-note {
  font-size: 0.74rem;
  color: var(--ink-soft);
  margin-top: 12px;
  text-align: center;
}

/* Checkout */

.checkout {
  padding: 54px 0 90px;
}

.checkout-head {
  max-width: 60ch;
  margin-bottom: 44px;
}

.checkout-head h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  margin: 14px 0 14px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
}

.form-section + .form-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.form-section h2 {
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.form-section > p {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input,
.field textarea,
.field select {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.9rem;
  transition: border-color 0.2s var(--ease);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal);
  outline: none;
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

.pay-options {
  display: grid;
  gap: 10px;
}

.pay-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.pay-option:hover {
  border-color: var(--line-strong);
}

.pay-option:has(input:checked) {
  border-color: var(--teal);
  background: rgba(14, 122, 98, 0.05);
}

.pay-option input {
  margin-top: 4px;
  accent-color: var(--teal);
}

.pay-option strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
}

.pay-option span {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 2px;
}

.summary-card {
  position: sticky;
  top: 108px;
  background: var(--paper-deep);
  border-radius: var(--radius);
  padding: 30px;
}

.summary-card h2 {
  font-size: 1.35rem;
  margin-bottom: 20px;
}

.summary-items {
  display: grid;
  gap: 16px;
  max-height: 320px;
  overflow-y: auto;
  padding-right: 4px;
}

.summary-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 0.84rem;
}

.summary-item img {
  width: 54px;
  height: 66px;
  object-fit: cover;
  border-radius: 8px;
}

.summary-item small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.72rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 0;
  font-size: 0.86rem;
}

.summary-line span:first-child {
  color: var(--ink-soft);
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1px solid var(--line-strong);
  margin-top: 14px;
  padding-top: 16px;
}

.summary-total span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.summary-total strong {
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 500;
}

.summary-note {
  margin-top: 18px;
  font-size: 0.76rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.order-success {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 54px;
  text-align: center;
  max-width: 640px;
  margin: 40px auto;
}

.order-success .tick {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin: 0 auto 22px;
}

.order-success h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.order-success p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.order-success .order-ref {
  display: inline-block;
  margin: 22px 0 8px;
  font-family: var(--display);
  font-size: 1.1rem;
  padding: 10px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 999px;
}

/* Policy pages */

.policy {
  padding: 64px 0 90px;
}

.policy-head {
  max-width: 62ch;
  margin-bottom: 44px;
}

.policy-head h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  margin: 14px 0 16px;
}

.policy-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(199, 154, 75, 0.14);
  border: 1px solid rgba(199, 154, 75, 0.4);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.78rem;
  margin-top: 18px;
}

.policy-body {
  max-width: 76ch;
}

.policy-body h2 {
  font-size: 1.55rem;
  margin: 40px 0 12px;
}

.policy-body h2:first-child {
  margin-top: 0;
}

.policy-body h3 {
  font-size: 1.15rem;
  margin: 26px 0 8px;
}

.policy-body p,
.policy-body li {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.policy-body p + p {
  margin-top: 14px;
}

.policy-body ul {
  list-style: disc;
  padding-left: 22px;
  margin: 12px 0;
}

.policy-body ul li {
  margin-bottom: 8px;
}

.policy-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 404 */

.error-page {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

.error-page h1 {
  font-size: clamp(3rem, 8vw, 6rem);
}

.error-page p {
  margin: 18px auto 28px;
  max-width: 44ch;
  color: var(--ink-soft);
}

/* Journal */

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.journal-card {
  display: flex;
  flex-direction: column;
}

.journal-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--paper-deep);
  margin-bottom: 14px;
}

.journal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.journal-card:hover .journal-media img {
  transform: scale(1.04);
}

.journal-tag {
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 7px;
}

.journal-card h3 {
  font-size: 1.24rem;
  margin-bottom: 7px;
}

.journal-card h3 a:hover {
  color: var(--teal);
}

.journal-card p {
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.journal-meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.article-head {
  padding: 44px 0 0;
}

.article-head h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  max-width: 18ch;
  margin: 14px 0 16px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.article-hero {
  margin-top: 28px;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 0 70px;
}

.article-body p {
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.article-body h2 {
  font-size: 1.9rem;
  margin: 38px 0 14px;
}

.article-body h3 {
  font-size: 1.18rem;
  margin: 28px 0 8px;
}

.article-body ul {
  list-style: disc;
  padding-left: 22px;
  margin: 0 0 22px;
}

.article-body li {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.article-body blockquote {
  margin: 34px 0;
  padding-left: 22px;
  border-left: 3px solid var(--teal);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.3;
}

.article-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

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

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

  .article-body {
    padding: 36px 0 54px;
  }
}

/* Reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */

@media (max-width: 1080px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-art {
    min-height: 500px;
  }

  .hero-photo-main {
    height: 430px;
  }

  .hero-photo-small {
    height: 260px;
  }
}

@media (max-width: 900px) {
  .site-nav {
    position: fixed;
    inset: 84px 0 auto;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 22px 22px;
    transform: translateY(-140%);
    transition: transform 0.3s var(--ease);
    z-index: 70;
  }

  .site-nav.is-open {
    transform: translateY(0);
  }

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .menu-toggle {
    display: grid;
  }

  .hero-grid,
  .product-layout,
  .story,
  .checkout-grid,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    order: 2;
  }

  .hero-art {
    order: 1;
    min-height: 420px;
  }

  .hero-photo-main {
    width: 78%;
    height: 360px;
  }

  .hero-photo-small {
    height: 220px;
    width: 44%;
  }

  .hero-stamp {
    width: 96px;
    height: 96px;
    font-size: 0.55rem;
    left: 40%;
  }

  .hero-stamp span {
    font-size: 1.2rem;
  }

  .product-gallery {
    position: static;
  }

  .summary-card {
    position: static;
  }

  .category-grid,
  .guide-grid,
  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lookbook {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 380px;
  }

  .category-card:nth-child(1),
  .category-card:nth-child(6) {
    grid-column: span 1;
  }

  .trust {
    grid-template-columns: 1fr 1fr;
    padding: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .wrap {
    width: min(100% - 32px, var(--wrap));
  }

  .header-inner {
    height: 72px;
  }

  .site-nav {
    top: 72px;
  }

  .wordmark-sub {
    display: none;
  }

  .cart-button span.cart-label {
    display: none;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .product-grid,
  .category-grid,
  .guide-grid,
  .value-grid,
  .trust,
  .footer-grid,
  .field-grid,
  .lookbook {
    grid-template-columns: 1fr;
    grid-auto-rows: 420px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-art {
    min-height: 360px;
  }

  .hero-photo-main {
    height: 300px;
  }

  .hero-photo-small {
    height: 180px;
  }

  .hero-stamp {
    display: none;
  }

  .cart-drawer {
    width: 100%;
  }

  .form-card,
  .summary-card {
    padding: 24px;
  }

  .order-success {
    padding: 34px 24px;
  }

  .newsletter {
    padding: 34px 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .trust {
    padding: 28px;
  }
}
