:root {
  --bg: #f8f5ef;
  --surface: #ffffff;
  --surface-soft: #f2eee7;
  --ink: #111111;
  --muted: #64615c;
  --line: #ddd7ce;
  --accent: #b89d7d;
  --accent-soft: #ece3d6;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.06);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --container: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

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

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

button {
  cursor: pointer;
  background: none;
  border: 0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4,
.logo {
  font-family: "Cormorant Garamond", serif;
}

p {
  color: var(--muted);
}

.container {
  width: min(calc(100% - 2.4rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(236, 227, 214, 0.45), rgba(255, 255, 255, 0.9));
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow,
.eyebrow-dark {
  color: rgba(17, 17, 17, 0.7);
}

h1 {
  font-size: clamp(2.6rem, 5vw, 5.1rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  font-weight: 600;
}

h3 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-heading,
.split-heading {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.split-heading {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.85fr);
  align-items: end;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.9rem 1.35rem;
  border-radius: 4px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.button:hover,
.button:focus-visible,
.text-action:hover,
.text-action:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #262626;
}

.button-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--ink);
  color: #fff;
}

.button-light {
  border-color: rgba(255, 255, 255, 0.62);
  color: #fff;
}

.button-light:hover,
.button-light:focus-visible {
  background: #fff;
  color: var(--ink);
}

.button-small {
  min-height: 42px;
  padding: 0.72rem 1rem;
  font-size: 0.82rem;
}

.text-action,
.text-link {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(17, 17, 17, 0.05);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.6rem;
  min-height: 82px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink);
  line-height: 1;
}

.logo-mark,
.footer-brand .logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-text {
  display: grid;
  gap: 0.08rem;
}

.logo-line:first-child {
  font-size: clamp(0.92rem, 1.35vw, 1.08rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.logo-line:last-child {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.desktop-nav,
.desktop-actions,
.header-actions {
  display: flex;
  align-items: center;
}

.desktop-nav {
  justify-content: center;
  gap: 1.6rem;
}

.desktop-nav a,
.account-link,
.cart-link,
.mobile-nav a,
.site-footer a {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.desktop-nav a.active,
.desktop-nav a:hover,
.account-link:hover,
.cart-link:hover,
.mobile-nav a:hover {
  color: var(--ink);
}

.desktop-actions {
  gap: 0.8rem;
}

.mobile-actions {
  display: none;
  gap: 0.45rem;
}

.icon-button,
.cart-link,
.cart-compact {
  min-height: 42px;
  padding: 0.7rem 0.88rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.icon-button,
.cart-link,
.cart-compact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.icon-only {
  width: 42px;
  padding: 0;
}

.icon-button svg,
.cart-link svg,
.cart-compact svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.cart-link .cart-count,
.cart-compact .cart-count {
  min-width: 18px;
  text-align: center;
  font-size: 0.76rem;
}

.mobile-menu {
  position: fixed;
  inset: 82px 0 auto;
  padding: 0 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu-panel {
  width: min(100%, 420px);
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.mobile-search input,
.toolbar-search input,
.toolbar-sort select,
.newsletter-form input,
.field input,
.field textarea {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.92rem 1rem;
}

.mobile-nav {
  display: grid;
  gap: 0.3rem;
  margin-top: 1rem;
}

.mobile-nav a {
  padding: 0.8rem 0.15rem;
  border-bottom: 1px solid var(--line);
}

.hero-section {
  padding: 0 0 1rem;
}

.hero-media {
  min-height: 84vh;
  background-size: cover;
  background-position: center;
  display: grid;
  align-items: end;
}

.hero-content {
  display: grid;
  gap: 1.15rem;
  padding: clamp(7rem, 13vw, 10rem) 0 clamp(3.5rem, 8vw, 5rem);
}

.hero-content > * {
  max-width: 760px;
}

.hero-content h1,
.hero-content p,
.hero-content .eyebrow {
  color: #fff;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
}

.hero-actions,
.trust-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.trust-labels span {
  padding: 0.72rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.9);
  border-radius: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-grid,
.product-grid,
.strip-grid,
.review-grid,
.values-grid,
.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.product-card,
.review-card,
.value-card,
.contact-card,
.filter-card,
.collection-panel {
  background: var(--surface);
  border: 1px solid var(--line);
}

.category-card,
.product-card {
  overflow: hidden;
}

.category-card img {
  aspect-ratio: 1 / 1.18;
}

.card-copy,
.product-info,
.review-card,
.value-card,
.contact-card,
.filter-card {
  padding: 1.3rem;
}

.card-copy,
.product-info,
.collection-copy {
  display: grid;
  gap: 0.7rem;
}

.card-copy a {
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card img {
  aspect-ratio: 1 / 1.1;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: var(--ink);
  font-weight: 700;
}

.product-tag {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.compact-card img {
  aspect-ratio: 1 / 0.95;
}

.strip-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.editorial-grid,
.about-grid,
.contact-layout,
.collection-panel,
.shop-layout,
.newsletter-block {
  display: grid;
  gap: 2rem;
}

.editorial-grid,
.about-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
}

.editorial-copy {
  max-width: 520px;
}

.editorial-media img,
.about-media img,
.visual-card img,
.collection-media img {
  box-shadow: var(--shadow);
}

.editorial-media img {
  aspect-ratio: 1 / 0.88;
}

.statement-section {
  text-align: center;
}

.statement-block {
  max-width: 760px;
}

.statement-block,
.page-hero-inner {
  margin: 0 auto;
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card strong {
  margin-top: 1rem;
  color: var(--ink);
}

.newsletter-block {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: center;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
}

.page-hero {
  padding: clamp(5rem, 10vw, 7rem) 0 2rem;
}

.page-hero-soft {
  background: linear-gradient(180deg, rgba(236, 227, 214, 0.55), transparent);
}

.page-hero-inner {
  max-width: 820px;
  text-align: center;
}

.shop-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
}

.filter-sidebar {
  position: sticky;
  top: 108px;
}

.filter-group {
  display: grid;
  gap: 0.82rem;
  margin-top: 1rem;
}

.filter-group span {
  color: var(--ink);
  font-weight: 700;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
}

.shop-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.mobile-filter-toggle,
.mobile-filter-drawer {
  display: none;
}

.shop-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.shop-card.is-hidden {
  display: none;
}

.shop-empty {
  margin-top: 1rem;
  color: var(--ink);
}

.collection-stack {
  display: grid;
  gap: 2rem;
}

.collection-panel {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  padding: 1.35rem;
}

.collection-panel.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.collection-media img {
  aspect-ratio: 1 / 0.82;
}

.collection-copy {
  padding: 1rem;
}

.preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.preview-list span {
  padding: 0.65rem 0.8rem;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.values-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: start;
}

.contact-aside {
  display: grid;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.field label {
  color: var(--ink);
  font-weight: 600;
}

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

.field-error {
  min-height: 1.2em;
  color: #9a3328;
}

.form-status {
  margin-top: 1rem;
  color: var(--ink);
  font-weight: 600;
}

.site-footer {
  padding: 2.8rem 0;
  background: #f1ebe2;
  border-top: 1px solid var(--line);
}

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

.site-footer h3,
.site-footer h4 {
  margin-bottom: 0.85rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.footer-brand-text {
  display: grid;
  gap: 0.18rem;
}

.footer-brand-text strong {
  color: var(--ink);
  font-size: 0.96rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-brand-text span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.site-footer div {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

@media (max-width: 1100px) {
  .category-grid,
  .product-grid,
  .strip-grid,
  .review-grid,
  .values-grid,
  .shop-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-heading,
  .shop-layout,
  .editorial-grid,
  .about-grid,
  .contact-layout,
  .collection-panel,
  .collection-panel.reverse,
  .newsletter-block,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    display: none;
  }

  .mobile-filter-toggle,
  .mobile-filter-drawer {
    display: block;
  }

  .shop-toolbar {
    grid-template-columns: 1fr;
  }

  .mobile-filter-drawer {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 60;
  }

  .mobile-filter-drawer.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-filter-panel {
    width: min(92vw, 360px);
    height: 100%;
    margin-left: auto;
    background: var(--surface);
    padding: 1.25rem;
    box-shadow: var(--shadow);
  }

  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 840px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.85rem;
  }

  .desktop-nav,
  .desktop-actions {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }

  .hero-media {
    min-height: 68vh;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero-media {
    min-height: 560px;
  }

  .category-grid,
  .product-grid,
  .strip-grid,
  .review-grid,
  .values-grid,
  .shop-results,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .header-inner {
    min-height: 76px;
  }

  .logo {
    gap: 0.55rem;
    max-width: 208px;
  }

  .logo-mark,
  .footer-brand .logo-mark {
    width: 38px;
    height: 38px;
    font-size: 0.92rem;
  }

  .logo-line:first-child {
    font-size: 0.76rem;
    letter-spacing: 0.13em;
  }

  .logo-line:last-child {
    font-size: 0.62rem;
    letter-spacing: 0.26em;
  }

  .icon-button,
  .cart-compact {
    padding: 0.62rem 0.74rem;
    min-height: 40px;
  }

  .trust-labels span,
  .preview-list span {
    width: 100%;
    justify-content: center;
  }
}
