:root {
  --paper: #f7f6f3;
  --paper-deep: #eeece7;
  --ink: #171715;
  --muted: #706d68;
  --line: #ddd9d2;
  --line-soft: #e9e6df;
  --clay: #936d5d;
  --clay-dark: #756154;
  --sage: #333632;
  --white: #fffefa;
  --radius: 16px;
  --radius-large: 22px;
  --shadow: 0 18px 48px rgba(31, 28, 24, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
}

body.cart-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 clamp(1.25rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(20px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.38em;
  font-size: 0.96rem;
  font-weight: 600;
}

.brand span,
.footer-brand strong {
  display: inline-block;
}

.nav {
  position: absolute;
  left: 50%;
  display: flex;
  gap: clamp(1.1rem, 3vw, 2.7rem);
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 0.84rem;
  letter-spacing: 0.03em;
}

.nav a {
  transition: color 180ms ease;
}

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

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.7rem 0.58rem 1.05rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 0.84rem;
}

.cart-trigger span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.35rem;
  color: var(--white);
  border-radius: 999px;
  background: var(--ink);
  font-size: 0.78rem;
}

main {
  padding: 0 clamp(1.25rem, 5vw, 4.5rem);
}

.hero {
  max-width: 1360px;
  min-height: calc(100svh - 76px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(400px, 0.72fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
  padding: clamp(2.8rem, 6vw, 5.5rem) 0;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 590px;
  font-size: clamp(4rem, 7vw, 6.6rem);
  line-height: 0.94;
}

h1 em {
  color: var(--ink);
  font-style: italic;
}

h2 {
  font-size: clamp(2.4rem, 4.2vw, 3.7rem);
  line-height: 1;
}

.intro {
  max-width: 420px;
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.15rem;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 49px;
  padding: 0 1.4rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.add-button:hover {
  transform: translateY(-2px);
}

.button.dark {
  color: var(--white);
  background: var(--ink);
}

.button.dark:hover {
  background: #292826;
}

.button.outline {
  background: transparent;
}

.hero-notes {
  display: flex;
  gap: clamp(1.4rem, 4vw, 3rem);
  margin-top: clamp(2.7rem, 5vw, 4.8rem);
}

.hero-notes div {
  padding-left: 1rem;
  border-left: 1px solid var(--line);
}

.hero-notes strong,
.hero-notes span {
  display: block;
}

.hero-notes strong {
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
}

.hero-notes span {
  color: var(--muted);
  font-size: 0.78rem;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(100%, 505px);
}

.hero-photo {
  width: 100%;
  aspect-ratio: 0.78;
  max-height: calc(100svh - 122px);
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
}

.feature-card {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  min-width: 176px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(23, 23, 21, 0.06);
  border-radius: 12px;
  background: rgba(255, 254, 250, 0.94);
  box-shadow: var(--shadow);
}

.feature-card span {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.feature-card strong,
.feature-card p {
  display: block;
  margin: 0;
}

.feature-card p {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.statement {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.18rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.1rem, 5vw, 4.3rem);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.statement i {
  width: 22px;
  height: 1px;
  background: var(--line);
}

.collection {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(4.6rem, 8vw, 7rem) 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filters {
  display: flex;
  gap: 0.16rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.filters button {
  padding: 0.64rem 1.1rem;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.8rem;
}

.filters button.active {
  color: var(--white);
  background: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.5vw, 1.1rem);
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 0.45rem 0.45rem 0.65rem;
  border: 1px solid var(--line-soft);
  border-radius: 20px;
  background: var(--white);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
}

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

.product-media {
  position: relative;
  overflow: hidden;
  height: clamp(320px, 29vw, 405px);
  border-radius: 15px;
  background: var(--paper-deep);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease;
}

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

.product-media.portrait img {
  object-position: center 42%;
}

.product-media.landscape img {
  object-position: center;
}

.product-media.dark-media {
  background: #11100d;
}

.product-media span {
  position: absolute;
  left: 0.7rem;
  top: 0.7rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: var(--white);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.8rem;
  padding: 1rem 0.55rem 0.8rem;
}

.product-info p {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.product-info strong {
  flex-shrink: 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.product-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin: 0 0.55rem 0.65rem;
}

.product-options.single-option {
  grid-template-columns: 1fr;
}

.swatch-option {
  margin: 0 0.55rem 0.75rem;
}

.swatch-option > span {
  display: block;
  margin-bottom: 0.48rem;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.swatch-option > span strong {
  margin-left: 0.35rem;
  color: var(--ink);
  font-weight: 600;
}

.swatches {
  display: flex;
  gap: 0.45rem;
}

.swatch {
  width: 25px;
  height: 25px;
  padding: 0;
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

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

.swatch.selected {
  box-shadow: 0 0 0 2px var(--ink);
}

.swatch.chalk {
  background: #f4f2ee;
}

.swatch.sand {
  background: #cfb89a;
}

.swatch.blush {
  background: #d99b9b;
}

.swatch.terracotta {
  background: #aa6044;
}

.swatch.graphite {
  background: #2c2b29;
}

.swatch.sage {
  background: #636e55;
}

.product-options label {
  min-width: 0;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.product-options select {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 100%;
  min-height: 42px;
  margin-top: 0.38rem;
  padding: 0 2rem 0 0.68rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  color: var(--ink);
  background-color: var(--white);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 18px,
    calc(100% - 9px) 18px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  font-size: 0.75rem;
  font-weight: 400;
  text-overflow: ellipsis;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.product-options select:hover {
  border-color: #b7ab9b;
}

.product-options select:focus {
  border-color: var(--clay);
  outline: none;
  box-shadow: 0 0 0 3px rgba(168, 95, 72, 0.14);
}

.add-button {
  width: calc(100% - 1.1rem);
  min-height: 43px;
  margin: auto 0.55rem 0;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  background: #f9f8f5;
  font-size: 0.78rem;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.add-button:hover {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.editorial {
  max-width: 1360px;
  margin: 0 auto clamp(4.5rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: 1.14fr 0.86fr;
  align-items: center;
  color: var(--white);
  background: #1e1e1c;
  border-radius: 18px;
  overflow: hidden;
}

.editorial-image {
  height: clamp(390px, 45vw, 600px);
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-copy {
  padding: clamp(2rem, 5vw, 4.5rem);
}

.editorial .eyebrow {
  color: rgba(255, 254, 250, 0.52);
}

.editorial-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin: 1.6rem 0 2rem;
  color: rgba(255, 254, 250, 0.68);
  line-height: 1.75;
}

.text-link {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
}

.text-link::after {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--white);
  transition: width 180ms ease;
}

.text-link:hover::after {
  width: 52px;
}

.services {
  max-width: 1360px;
  margin: 0 auto clamp(4.5rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.services article {
  padding: clamp(1.7rem, 3vw, 2.45rem);
  border-right: 1px solid var(--line);
}

.services article:last-child {
  border-right: 0;
}

.services span {
  display: block;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
  color: #aaa49b;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 2rem;
}

.services h3 {
  margin: 0 0 0.8rem;
  font-size: 1.08rem;
}

.services p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.newsletter {
  max-width: 1360px;
  margin: 0 auto clamp(3.5rem, 6vw, 5.5rem);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2.5rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.newsletter .eyebrow {
  color: var(--muted);
}

.newsletter h2 {
  max-width: 500px;
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
  width: min(480px, 100%);
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0 1.1rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  outline: none;
}

.newsletter-form input::placeholder {
  color: var(--muted);
}

.newsletter-form input:focus {
  border-color: var(--ink);
}

.newsletter .button.dark {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.site-footer {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3.5rem) 2.3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-brand {
  color: var(--ink);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 18;
  background: rgba(35, 31, 26, 0.32);
  opacity: 0;
  transition: opacity 220ms ease;
}

.overlay.is-visible {
  opacity: 1;
}

.cart {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 20;
  width: min(430px, 100%);
  display: flex;
  flex-direction: column;
  padding: 1.45rem;
  background: var(--white);
  transform: translateX(100%);
  transition: transform 260ms ease;
}

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

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

.cart-header h2 {
  font-size: 2rem;
}

.close-cart {
  width: 43px;
  height: 43px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 1.45rem;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}

.empty-cart {
  padding: 2.4rem 0;
  color: var(--muted);
  text-align: center;
}

.line-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.line-item h3,
.line-item p {
  margin: 0;
}

.line-item h3 {
  font-size: 0.94rem;
}

.line-item p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.remove-item {
  align-self: end;
  color: var(--muted);
  border: 0;
  background: transparent;
  font-size: 0.78rem;
  text-decoration: underline;
}

.cart-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.cart-footer > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.cart-footer .checkout {
  width: 100%;
}

.cart-footer small {
  display: block;
  margin-top: 0.95rem;
  color: var(--muted);
  font-size: 0.73rem;
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 25;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 0.84rem;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1060px) {
  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.84fr;
    gap: 2.6rem;
  }

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

  .newsletter {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 72px;
    gap: 1rem;
  }

  main {
    padding: 0 1rem;
  }

  .hero {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2.6rem;
    padding: 3.2rem 0 2.5rem;
  }

  h1 {
    font-size: clamp(3.5rem, 19vw, 4.8rem);
  }

  .hero-visual {
    width: 100%;
  }

  .hero-photo {
    aspect-ratio: 0.82;
    min-height: 0;
    height: auto;
  }

  .feature-card {
    right: 1rem;
    bottom: 1rem;
  }

  .statement {
    justify-content: flex-start;
    overflow: hidden;
    gap: 1.6rem;
    white-space: nowrap;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .product-grid,
  .services {
    grid-template-columns: 1fr;
  }

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

  .product-media {
    height: clamp(390px, 120vw, 515px);
  }

  .services {
    border-bottom: 0;
  }

  .services article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .editorial {
    display: flex;
    flex-direction: column;
  }

  .editorial-image {
    width: 100%;
    height: 340px;
  }

  .newsletter-form,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .newsletter-form input {
    min-height: 53px;
  }

  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
