:root {
  --cream: #e9e2d6;
  --wall: var(--cream);
  --green: #364a34;
  --olive: #7d7f66;
  --stone: #a89b8b;
  --terracotta: #b36a4a;
  --bone: color-mix(in srgb, var(--cream), white 28%);
  --ink: color-mix(in srgb, var(--green), #171a14 50%);
  --muted: color-mix(in srgb, var(--ink), var(--cream) 32%);
  --line: color-mix(in srgb, var(--stone), var(--cream) 37%);
  --accent: color-mix(in srgb, var(--terracotta), var(--ink) 25%);
  --serif: "Baskerville", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Segoe UI", Arial, sans-serif;
  --gutter: clamp(20px, 5.6vw, 96px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--wall); font: 15px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.057em; line-height: 1.02; overflow-wrap: anywhere; }
h2 { font-size: clamp(2.75rem, 6vw, 5.6rem); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .52; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
section[id] { scroll-margin-top: 22px; }
.label { font-size: .68rem; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; line-height: 1.5; }
.wrap { width: min(100% - var(--gutter) * 2, 1300px); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: 12px; left: 12px; transform: translateY(-160%); background: var(--bone); padding: 10px; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.load-error { padding-block: 18px; }

.header { background: var(--cream); border-bottom: 1px solid var(--line); }
.nav { min-height: 76px; width: min(100% - var(--gutter) * 2, 1440px); margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.nav a:not(.brand), .footer nav a { font-size: .84rem; padding-block: 11px; }
.nav a:hover:not(.brand), .footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.brand img { mix-blend-mode: multiply; filter: grayscale(1) brightness(1.22); width: 107px; }

.edition-strip {
  display: flex;
  background: color-mix(in srgb, var(--olive) 13%, var(--cream));
  color: var(--ink);
}
.edition-viewport { flex: 1; min-inline-size: 0; overflow: hidden; }
.edition-track {
  font-size: .63rem;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.edition-cycle {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  gap: 3px 14px;
  padding: 9px 14px;
}
.edition-cycle > span {
  display: inline-flex;
  gap: clamp(12px, 3vw, 44px);
  align-items: center;
  white-space: nowrap;
}
.edition-cycle > span::after {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--terracotta);
}
.edition-cycle > span:last-child::after, .edition-cycle[aria-hidden="true"], .edition-toggle, .edition-play {
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .edition-strip[data-ticker] .edition-track {
    display: flex;
    width: max-content;
    animation: edition-scroll 19s linear infinite;
  }
  .edition-strip[data-ticker] .edition-cycle {
    display: flex;
    flex: none;
    flex-wrap: nowrap;
    min-inline-size: max(43rem, 50vw);
  }
  .edition-strip[data-ticker] .edition-cycle > span:last-child::after { display: block; }
  .edition-strip[data-ticker] .edition-toggle {
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line);
    color: var(--green);
    background: transparent;
  }
  .edition-toggle:hover { background: var(--cream); }
  .edition-toggle:focus-visible { outline-offset: -3px; }
  .edition-strip[data-paused] .edition-track { animation-play-state: paused; }
  .edition-strip[data-paused] .edition-pause { display: none; }
  .edition-strip[data-paused] .edition-play { display: block; }
  @keyframes edition-scroll { to { transform: translateX(calc(-100% / 3)); } }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1600px) {
  .edition-strip[data-ticker] .edition-track { animation-duration: 25s; }
}

.hero {
  display: grid;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  place-items: center;
  min-height: clamp(500px, 44vw, 690px);
  background: #473829;
  color: var(--bone);
  text-align: center;
}
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 53%; z-index: -2; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 46%, #21190fa8, #21190f73 39%, #21190f24 79%),
              linear-gradient(0deg, #21190f5c, transparent 27%);
}
.hero-copy { padding: 56px var(--gutter) 75px; max-width: 940px; }
.hero-label { display: flex; align-items: center; justify-content: center; gap: 11px; margin-bottom: 14px; letter-spacing: .22em; }
.hero-label::before, .hero-label::after {
  content: "";
  display: block;
  width: 19px;
  height: 1px;
  background: color-mix(in srgb, var(--terracotta) 52%, var(--cream));
  flex: none;
}
.hero h1 { font-size: clamp(4.9rem, 11vw, 9.7rem); line-height: .93; text-wrap: balance; }
.hero h1 em { font-weight: inherit; }
.hero-sub { max-width: 40ch; margin: 22px auto 24px; font-size: clamp(.97rem, 1.38vw, 1.12rem); text-wrap: pretty; }
.button { display: inline-flex; gap: 16px; justify-content: center; align-items: center; min-height: 49px; padding: 11px 22px; border: 1px solid transparent; border-radius: 2px; background: var(--green); color: var(--bone); font-size: .84rem; font-weight: 620; text-align: center; }
.button:hover:not(:disabled) { background: color-mix(in srgb, var(--green), #101810 16%); }
.button:focus-visible { outline-color: var(--ink); }
.hero .hero-button { border: 1px solid var(--cream); outline: 1px solid #ffffff69; outline-offset: 3px; background: var(--cream); color: var(--ink); }
.hero .hero-button:hover { background: var(--bone); }
.hero .hero-button:focus-visible { outline: 2px solid var(--bone); outline-offset: 5px; }
.arrow { display: inline-block; position: relative; flex: none; width: .64em; height: .64em; border-top: 1px solid; border-right: 1px solid; margin-inline: 2px; vertical-align: .05em; }
.arrow::after { content: ""; position: absolute; top: -.5px; right: -.5px; width: .92em; height: 1px; background: currentColor; transform-origin: right; transform: rotate(-45deg); }

.gallery { width: min(100% - var(--gutter) * 2, 1040px); padding-block: clamp(59px, 8.4vw, 119px); }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; gap: 15px 32px; justify-content: space-between; margin-bottom: clamp(25px, 4vw, 44px); }
.section-heading .label { color: var(--accent); }
.section-heading h2 { font-size: clamp(2.65rem, 5.2vw, 5.1rem); margin-top: 8px; color: var(--green); }
.section-heading > p { color: var(--muted); max-width: 29ch; }
.finish-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 23px 12px; }
.finish-card { min-width: 0; }
.finish-card-photo { display: block; overflow: hidden; background: var(--stone); }
.finish-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.finish-card-name { display: flex; align-items: center; gap: 8px; margin-top: 9px; font-size: .9rem; font-weight: 600; }
.finish-card-price { display: block; margin-top: 3px; font-size: .77rem; color: var(--muted); }
.finish-card i { width: 10px; height: 10px; flex: none; }
.finish-card:hover .finish-card-name { text-decoration: underline; text-underline-offset: 4px; }
.collection-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(10px, 2.4vw, 30px); }
.collection-card { display: block; min-width: 0; padding: 0; text-align: left; color: inherit; background: none; border: 0; }
.collection-photo { display: block; overflow: hidden; background: var(--stone); }
.collection-photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: center; }
.collection-card-copy { position: relative; display: grid; gap: 4px; padding: 13px 15px 0 0; }
.collection-card-type { color: var(--accent); font-size: .62rem; letter-spacing: .12em; }
.collection-card-name { color: var(--green); font: clamp(1.25rem, 3.4vw, 2.5rem)/1.1 var(--serif); }
.collection-card-price { margin-top: 2px; color: var(--muted); font-size: .82rem; }
.collection-card-copy .arrow { position: absolute; right: 2px; top: 18px; }
.collection-card:hover .collection-card-name { text-decoration: underline; text-underline-offset: 5px; }
.home-story { background: var(--green); color: var(--bone); }
.story-layout { display: grid; gap: 23px; align-items: center; padding-block: clamp(44px, 6.7vw, 98px); }
.story-heading .label { color: color-mix(in srgb, var(--cream) 72%, var(--terracotta)); }
.story-heading h2 { max-width: 13ch; margin-top: 12px; font-size: clamp(2.9rem, 6.35vw, 5.8rem); text-wrap: balance; }
.story-copy { border-top: 1px solid color-mix(in srgb, var(--cream), transparent 65%); padding-top: 13px; }
.story-copy > p { max-width: 46ch; color: color-mix(in srgb, var(--bone) 92%, var(--green)); text-wrap: pretty; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; gap: 7px; margin-top: 12px; text-decoration: underline; text-underline-offset: 5px; font-size: .86rem; flex-wrap: wrap; }
.look-trigger { padding: 0; color: inherit; background: transparent; border: 0; }
.closing { text-align: center; background: color-mix(in srgb, var(--stone) 26%, var(--cream)); padding: clamp(55px, 7.5vw, 110px) var(--gutter); }
.closing h2 { font-size: clamp(3.2rem, 7vw, 6.2rem); margin: 12px 0 18px; color: var(--green); }
#signup { display: grid; gap: 8px; width: min(100%, 510px); margin: 24px auto 0; }
#signup input { min-width: 0; border-radius: 2px; min-height: 49px; border: 1px solid var(--stone); background: var(--bone); padding: 10px 14px; color: var(--ink); }
.signup-status { margin-top: 8px; min-height: 1.6em; font-size: .86rem; }
.footer { display: flex; gap: 14px 26px; flex-wrap: wrap; align-items: center; justify-content: space-between; padding-block: 24px; }
.footer p { font-size: .83rem; color: var(--muted); }
.footer nav { display: flex; gap: 15px; flex-wrap: wrap; }

.product-page { padding-block: 23px clamp(45px, 8vw, 108px); }
.back-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: .82rem; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.product { display: grid; gap: 28px; align-items: start; margin-top: 9px; }
.product-figure > img { width: 100%; aspect-ratio: 1.08; object-fit: cover; background: var(--stone); }
.caption { display: flex; justify-content: space-between; gap: 10px; padding-top: 9px; font-size: .76rem; color: var(--muted); }
.photo-options { display: flex; gap: 10px; margin-top: 13px; }
.photo-option { width: 61px; height: 61px; border: 1px solid transparent; padding: 3px; background: transparent; color: inherit; }
.photo-option[aria-pressed="true"] { border-color: var(--green); }
.photo-option img { width: 100%; height: 100%; object-fit: cover; }
.product-copy { padding-bottom: 8px; min-width: 0; }
.product-copy > .label { color: var(--accent); }
.product-copy h1 { color: var(--green); font-size: clamp(3.6rem, 8.7vw, 7.1rem); margin: 8px 0 12px; }
.product-price { font-weight: 650; margin-bottom: 18px; }
.product-description { color: var(--muted); max-width: 39ch; }
.product-facts { border-top: 1px solid var(--line); padding-top: 14px; }
.product-facts dt { font-weight: 600; }
.product-facts dd { margin: 0 0 12px; white-space: pre-line; }
.shop-policies { border-top: 1px solid var(--line); margin-block: 16px 0; padding-top: 12px; }
.shop-policies dt { font-weight: 600; }
.shop-policies dd { margin: 0 0 12px; white-space: pre-line; overflow-wrap: anywhere; }
.finish-control { margin-block: 23px 17px; }
.finish-control .label span { letter-spacing: .065em; color: var(--muted); }
#swatches { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.swatch { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid transparent; border-radius: 50%; background: transparent; color: var(--green); }
.swatch[aria-pressed="true"] { border-color: currentColor; }
.swatch span, .finish-card i { border-radius: 50%; border: 1px solid #26201940; background: var(--swatch); }
.swatch span { width: 29px; height: 29px; }
.finish-note { font-size: .86rem; color: var(--muted); }
.add-button { width: min(100%, 420px); justify-content: space-between; padding-inline: 18px; }
.specs { padding: 0; margin: 24px 0 0; list-style: none; max-width: 420px; }
.specs li { display: flex; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.specs li:first-child { border-top: 1px solid var(--line); }
.specs li span { font-size: .67rem; color: var(--muted); padding-top: 3px; }

.bag { width: min(100%, 480px); max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; background: var(--bone); color: var(--ink); }
.bag::backdrop { background: #1f221c80; }
.bag-panel { display: flex; flex-direction: column; min-height: 100%; padding: clamp(19px, 4.5vw, 35px); }
.bag-header { display: flex; align-items: start; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.bag-header .label { color: var(--accent); }
.bag-header h2 { color: var(--green); font-size: 3.3rem; margin-top: 6px; }
.close-button { width: 42px; height: 42px; border: 1px solid var(--line); background: transparent; color: inherit; font-size: 1.6rem; line-height: 1; }
.bag-empty { padding-block: 26px; }
.bag-line { display: grid; grid-template-columns: 71px minmax(0, 1fr) auto; gap: 11px; border-bottom: 1px solid var(--line); padding-block: 17px; }
.bag-image img { width: 71px; height: 87px; object-fit: cover; }
.bag-product { font-weight: 650; font-size: .83rem; overflow-wrap: anywhere; }
.bag-finish, .bag-line-price { color: var(--muted); font-size: .79rem; }
.line-actions, .stepper { display: flex; align-items: center; gap: 7px; }
.line-actions { flex-wrap: wrap; margin-top: 6px; }
.stepper { border: 1px solid var(--line); gap: 0; }
.stepper span { width: 21px; text-align: center; font-size: .8rem; }
.step-button { border: 0; background: transparent; color: inherit; width: 29px; height: 32px; padding: 0; }
.remove-item { padding: 5px 2px; background: transparent; border: 0; color: var(--muted); font-size: .73rem; text-decoration: underline; }
.bag-summary { margin-top: auto; padding-top: 22px; }
.bag-subtotal { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; margin-bottom: 8px; }
.bag-summary > p { color: var(--muted); font-size: .84rem; margin-bottom: 15px; }
.bag-summary .button { width: 100%; }

@media (min-width: 550px) {
  #signup { grid-template-columns: minmax(0, 1fr) auto; }
  .finish-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px 16px; }
}
@media (min-width: 760px) {
  .story-layout { grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 82px); }
  .story-copy { padding-top: 18px; }
  .product { grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 7.4vw, 110px); }
  .product-copy { padding-top: 15px; }
  .product-figure > img { aspect-ratio: 1 / 1.08; }
}
@media (min-width: 940px) {
  .finish-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 450px) {
  .nav { min-height: 64px; }
  .brand img { width: 93px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 550px) {
  .hero { min-height: clamp(480px, 129vw, 570px); }
  .hero-photo { object-position: 23% 53%; }
  .hero::after {
    background: radial-gradient(ellipse at 50% 45%, #21190fa8, #21190f73 52%, #21190f24 97%),
                linear-gradient(0deg, #21190f55, transparent 29%);
  }
  .hero h1 { font-size: clamp(3.8rem, 17vw, 5.9rem); }
  .hero-sub { max-width: 30ch; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: settle-photo 5.5s cubic-bezier(.2, .65, .35, 1) both; }
  .hero-copy { animation: arrive-copy 1s cubic-bezier(.2, .7, .4, 1) both; }
  .finish-card img, .collection-photo img { transition: transform .7s cubic-bezier(.2, .65, .35, 1); }
  .finish-card:is(:hover, :focus-visible) img, .collection-card:is(:hover, :focus-visible) img { transform: scale(1.035); }
  @keyframes settle-photo { from { transform: scale(1.045); } to { transform: scale(1); } }
  @keyframes arrive-copy { from { opacity: .7; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}

.whatsapp-floating:not([hidden]) {
  position: fixed;
  inset-inline-end: max(18px,env(safe-area-inset-right));
  inset-block-end: max(18px,env(safe-area-inset-bottom));
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--green);
  color: var(--cream);
  font-size: .8rem;
  box-shadow: 0 3px 14px rgb(0 0 0 / 14%);
}
.whatsapp-floating:focus-visible { outline-offset: 4px; }
