:root {
  --bg: #f7f4ef;
  --surface: #ffffff;
  --primary: #111111;
  --secondary: #9a7652;
  --soft-accent: #ece2d5;
  --text: #181412;
  --muted: #625850;
  --border: #ddd3c8;
  --shadow-sm: 0 10px 24px rgba(17, 17, 17, 0.06);
  --shadow-md: 0 24px 44px rgba(17, 17, 17, 0.1);
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --container: 1280px;
  --space-1: 0.75rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6rem;
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

button {
  cursor: pointer;
}

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.section {
  padding: var(--space-7) 0;
}

.section-white {
  background: var(--surface);
}

.compact-top {
  padding-top: 0;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.warm {
  color: var(--secondary);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.5rem;
  border-radius: 0;
  border: 2px solid transparent;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1.1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button-primary:hover {
  background: #2a2a2a;
}

.button-secondary {
  border-color: var(--border);
  background: #fff;
  color: var(--text);
}

.button-secondary:hover,
.button-secondary.light:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.button-secondary.light {
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
  background: transparent;
}

.button-compact {
  min-height: 46px;
  padding: 0.8rem 1.2rem;
}

.text-link {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #d8d8d8;
}

.site-header.is-scrolled {
  border-bottom-color: #cfcfcf;
  box-shadow: var(--shadow-sm);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-height);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  line-height: 1;
}

.site-logo img {
  display: block;
  width: auto;
  height: 42px;
  max-width: min(100%, 260px);
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 0.9rem;
}

.footer-logo img {
  display: block;
  width: auto;
  height: 38px;
  filter: invert(1);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  color: #3f3f3f;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.7rem;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-actions,
.mobile-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-actions {
  display: none;
}

.account-link {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  background: #fff;
  color: var(--text);
}

.search-panel,
.mobile-panel {
  display: none;
  border-top: 1px solid #e1e1e1;
  background: rgba(255, 255, 255, 0.96);
}

.search-panel.is-open,
.mobile-panel.is-open {
  display: block;
}

.search-panel-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0 1.25rem;
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
  min-height: 56px;
  padding: 0 1rem;
  background: var(--surface);
  border: 1px solid #d4d4d4;
  border-radius: 0;
}

.search-field input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
}

.mobile-panel-inner {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
  padding: 1rem 0 1.5rem;
}

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

.mobile-nav .nav-link {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}

.hero-banner {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: stretch;
  background: #111;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  min-height: 82vh;
  padding: calc(var(--header-height) + 3rem) 0 4rem;
}

.hero-content h1,
.hero-copy {
  color: #fff;
  max-width: 47rem;
}

.hero-copy {
  font-size: 1.08rem;
  max-width: 38rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  background: rgba(17, 17, 17, 0.22);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.section-heading,
.split-heading,
.strip-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.25rem;
}

.section-heading p:last-child,
.split-heading p:last-child {
  max-width: 30rem;
}

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

.category-card,
.product-card,
.review-card,
.value-card,
.sidebar-card,
.contact-form-card,
.contact-info-card,
.contact-image-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.category-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.category-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.category-card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.35rem;
  flex: 1;
}

.category-card-copy p {
  margin: 0;
  min-height: 3.1rem;
}

.category-card-copy .button {
  margin-top: auto;
  width: 100%;
}

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

.product-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #eee8e0;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.25rem;
  flex: 1;
}

.product-meta {
  display: grid;
  gap: 0.9rem;
}

.product-meta h3 {
  font-size: 1.1rem;
  min-height: 2.8rem;
}

.product-price {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
  font-size: 1rem;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.38rem 0.7rem;
  border-radius: 0;
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: auto;
}

.product-card-actions .button {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0.8rem 0.75rem;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  white-space: normal;
  text-align: center;
}

.editorial-feature,
.about-grid,
.collection-block,
.contact-layout,
.page-intro-grid,
.shop-layout {
  display: grid;
  gap: 2rem;
}

.editorial-feature,
.about-grid,
.contact-layout {
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.editorial-copy,
.about-copy {
  display: grid;
  gap: 1rem;
}

.editorial-media img,
.about-media img,
.collection-media img,
.contact-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.editorial-media img {
  min-height: 460px;
  aspect-ratio: 16 / 11;
}

.interior-statement {
  background:
    radial-gradient(circle at top left, rgba(181, 143, 106, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(79, 62, 50, 0.08), transparent 28%),
    var(--bg);
}

.narrow-copy {
  max-width: 48rem;
}

.review-grid,
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.review-card,
.value-card {
  padding: 1.75rem;
}

.review-card {
  border-top: 4px solid var(--primary);
}

.review-card strong {
  display: block;
  margin-top: 1rem;
  color: var(--text);
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
}

.newsletter-section {
  padding-top: 0;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

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

.newsletter-form input,
.filter-group input,
.sort-control select,
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: #fff;
  outline: 0;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: 2rem;
}

.footer-grid h3,
.footer-grid h4 {
  margin-bottom: 0.9rem;
  color: #fff;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-intro {
  padding: calc(var(--header-height) + 2.2rem) 0 2rem;
}

.page-intro-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
}

.page-intro-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: flex-end;
}

.page-intro-note span {
  padding: 0.7rem 1rem;
  border-radius: 0;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shop-section {
  padding-top: 2rem;
}

.mobile-only {
  display: none;
}

.shop-toolbar {
  margin-bottom: 1rem;
}

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

.sidebar-card {
  padding: 1.4rem;
  position: sticky;
  top: calc(var(--header-height) + 1.2rem);
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.sidebar-close {
  background: transparent;
  border: 0;
  color: var(--muted);
}

.filter-group {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.3rem;
}

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

.filter-group input[type="checkbox"],
.filter-group input[type="radio"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
}

.shop-main {
  min-width: 0;
}

.shop-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.3rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--border);
}

.sort-control {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

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

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

.collection-block {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: stretch;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fcfbf8;
}

.collection-block.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.collection-block.reverse .collection-media {
  order: 2;
}

.collection-copy {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.collection-media img,
.about-media img,
.contact-image-card img {
  aspect-ratio: 16 / 12;
}

.collection-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.collection-preview-card {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.collection-preview-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.contact-side {
  display: grid;
  gap: 1rem;
}

.contact-form-card,
.contact-info-card {
  padding: 1.5rem;
}

.contact-form-card form,
.contact-form-card label {
  display: grid;
  gap: 0.55rem;
}

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

.form-message {
  min-height: 1.2rem;
  color: var(--primary);
}

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

  .product-card-actions {
    grid-template-columns: 1fr;
  }
}

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

  .product-grid,
  .shop-grid,
  .review-grid,
  .value-grid,
  .collection-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 1024px) {
  :root {
    --header-height: 76px;
  }

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

  .mobile-actions {
    display: flex;
    justify-self: end;
  }

  .header-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-logo {
    max-width: calc(100% - 6rem);
  }

  .hero-banner,
  .hero-content {
    min-height: 68vh;
  }

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

  .collection-block.reverse .collection-media {
    order: 0;
  }

  .page-intro-note {
    justify-content: flex-start;
  }

  .shop-sidebar {
    display: none;
  }

  .shop-sidebar.is-open {
    display: block;
    position: fixed;
    inset: 0 0 0 auto;
    width: min(92vw, 360px);
    padding: 1rem;
    background: rgba(247, 244, 239, 0.96);
    z-index: 30;
  }

  .shop-sidebar.is-open .sidebar-card {
    position: static;
    height: calc(100vh - 2rem);
    overflow-y: auto;
  }

  .mobile-only {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero-banner,
  .hero-content {
    min-height: 560px;
  }

  .category-grid,
  .product-grid,
  .product-strip,
  .shop-grid,
  .review-grid,
  .value-grid,
  .collection-preview-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .search-panel-inner,
  .newsletter-form,
  .shop-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .product-card-actions {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .trust-row {
    gap: 0.7rem;
  }

  .trust-row span {
    width: 100%;
    justify-content: center;
  }
}

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

  .site-logo {
    max-width: calc(100% - 5.75rem);
    overflow: hidden;
  }

  .site-logo img {
    height: 34px;
    max-width: 100%;
  }

  .header-row {
    gap: 0.5rem;
  }

  .mobile-actions {
    gap: 0.5rem;
  }

  .icon-button {
    width: 2.45rem;
    height: 2.45rem;
  }

  .button {
    min-height: 50px;
    width: 100%;
    white-space: normal;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
