:root {
  --ink: #241b15;
  --paper: #f3eee5;
  --paper-deep: #e7dccb;
  --wood: #7a4527;
  --wood-dark: #4a291b;
  --moss: #38463b;
  --line: rgba(50, 35, 25, 0.18);
  --header-height: 6.4rem;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Heebo", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 1rem); }
body { margin: 0; padding-top: var(--header-height); background: var(--paper); color: var(--ink); font-family: var(--sans); font-weight: 300; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; inset: .5rem auto auto .5rem; z-index: 100; padding: .65rem 1rem; background: #fff; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.kicker { margin: 0 0 .9rem; color: var(--wood); font-size: .72rem; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; padding: 1rem clamp(1.25rem, 4vw, 4.5rem); border-bottom: 1px solid rgba(255,255,255,.14); background: rgba(30,23,19,.94); color: #fff; box-shadow: 0 .45rem 1.5rem rgba(25,16,10,.12); backdrop-filter: blur(12px); }
.wordmark { display: inline-grid; line-height: 1; text-align: center; }
.wordmark span { font-family: var(--serif); font-size: 2.25rem; letter-spacing: .18em; }
.wordmark small { margin-top: .3rem; font-size: .55rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.2vw, 2.5rem); font-size: 1.275rem; letter-spacing: .035em; }
.site-nav a { border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a:focus-visible { border-color: currentColor; }
.menu-button { display: none; padding: .6rem .8rem; border: 1px solid rgba(255,255,255,.6); background: rgba(15,10,7,.12); color: inherit; cursor: pointer; }

.hero { position: relative; min-height: calc(100svh - var(--header-height)); display: grid; align-items: end; overflow: hidden; color: #fff; background: #2b1c13; }
.hero__image, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__image { object-fit: cover; object-position: center 38%; }
.hero__shade { background: linear-gradient(90deg, rgba(24,14,9,.82) 0%, rgba(24,14,9,.48) 43%, rgba(24,14,9,.08) 78%), linear-gradient(0deg, rgba(24,14,9,.38), transparent 50%); }
.hero__content { position: relative; z-index: 1; width: min(48rem, 90%); padding: 10rem clamp(1.25rem, 8vw, 8rem) clamp(4rem, 9vw, 8rem); }
.hero .kicker { color: #ead4b3; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(4rem, 9.5vw, 8.6rem); font-weight: 400; line-height: .78; letter-spacing: -.04em; }
.hero__intro { max-width: 36rem; margin: 2rem 0; color: rgba(255,255,255,.84); font-size: clamp(1rem, 1.5vw, 1.2rem); line-height: 1.75; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__vertical { position: absolute; z-index: 1; inset: auto 1.2rem 7rem auto; margin: 0; writing-mode: vertical-rl; font-size: .6rem; letter-spacing: .32em; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .8rem 1.3rem; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-weight: 500; letter-spacing: .03em; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--light { border-color: #fff; background: #fff; color: var(--ink); }
.button--ghost { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.05); }

.section-heading h2, .paper h2, .commission h2 { margin: 0; font-family: var(--serif); font-size: clamp(3rem, 6.5vw, 6rem); font-weight: 400; line-height: .92; }

.collection { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 5vw, 5rem); background: #e9dfd0; }
.section-heading { display: grid; grid-template-columns: .65fr 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(3rem, 6vw, 6rem); }
.section-heading .kicker { align-self: start; }
.section-heading p:last-child { max-width: 34rem; color: #66594e; line-height: 1.7; }
.product-grid { display: grid; width: 70%; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); margin-inline: auto; }
.product-card { display: grid; grid-column: span 2; grid-template-rows: auto 1fr; align-self: stretch; background: rgba(255,255,255,.42); }
.product-card:nth-last-child(2):nth-child(3n + 1) { grid-column: 2 / span 2; }
.product-card__image { --image-pad: clamp(.55rem, 1.2vw, 1rem); position: relative; display: block; width: 100%; aspect-ratio: 1 / 1.15; padding: var(--image-pad); overflow: hidden; border: 0; background: #d8c8b4; cursor: pointer; }
.product-card__image img { position: absolute; inset: var(--image-pad); display: block; width: calc(100% - 2 * var(--image-pad)); height: calc(100% - 2 * var(--image-pad)); object-fit: contain; object-position: center; transition: opacity .25s ease; }
.product-card__image:hover img { opacity: .92; }
.product-card__details { display: flex; min-height: 6.75rem; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.2rem 1.3rem; }
.product-card__details > div { min-width: 0; }
.product-card h3 { margin: 0; font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.product-card p { margin: .25rem 0 0; color: #716358; font-size: .78rem; }
.product-card__details > button { padding: .25rem 0; border: 0; border-bottom: 1px solid; background: transparent; color: var(--ink); white-space: nowrap; cursor: pointer; }

.paper { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 8vw, 9rem); padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 8vw, 8rem); background: #f6f1e8; }
.paper__heading > p:last-child { max-width: 34rem; color: #675b52; line-height: 1.8; }
.paper__samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
.paper__samples figure { display: grid; grid-template-rows: auto auto; margin: 0; }
.paper__samples img { width: 100%; min-height: 16rem; object-fit: cover; box-shadow: 0 1.5rem 3rem rgba(51,34,22,.12); }
.paper__samples figcaption { margin-top: .8rem; font-family: var(--serif); font-size: 1.4rem; }

.commission { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 8vw, 8rem); padding: clamp(4rem, 8vw, 8rem); background: var(--moss); color: #f8f2e8; }
.commission .kicker { color: #d6ba91; }
.commission p { max-width: 38rem; color: rgba(255,255,255,.75); font-size: 1.1rem; line-height: 1.8; }
.commission .button { margin-top: 1rem; }
.site-footer { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding: 3rem clamp(1.25rem, 5vw, 5rem); background: #1e1713; color: rgba(255,255,255,.76); }
.wordmark--footer { color: #fff; }
.site-footer a { border-bottom: 1px solid; }
.whatsapp { position: fixed; z-index: 18; right: 1.2rem; bottom: 1.2rem; display: grid; width: 3.5rem; height: 3.5rem; place-items: center; border-radius: 50%; background: #2f7d4b; color: #fff; box-shadow: 0 .8rem 2rem rgba(0,0,0,.22); font-size: .72rem; font-weight: 600; }

body:has(.quote-dialog[open]) { overflow: hidden; }
.quote-dialog { width: min(92vw, 39rem); max-height: 92vh; padding: 0; border: 0; background: transparent; color: var(--ink); }
.quote-dialog::backdrop { background: rgba(23,16,12,.78); backdrop-filter: blur(6px); }
.quote-dialog__panel { position: relative; max-height: 92vh; overflow-y: auto; padding: clamp(1.5rem, 4vw, 2.7rem); background: var(--paper); border-radius: .25rem; box-shadow: 0 2rem 7rem rgba(0,0,0,.4); }
.quote-dialog__close { position: absolute; top: .7rem; right: .8rem; width: 2.7rem; height: 2.7rem; border: 0; background: transparent; color: var(--ink); font-size: 2rem; cursor: pointer; }
.quote-dialog h2 { margin: 0; font-family: var(--serif); font-size: 3.4rem; font-weight: 400; }
.quote-dialog__selection { margin: .4rem 0 0; color: var(--wood); font-weight: 500; }
.quote-dialog form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.quote-dialog label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 500; }
.quote-dialog input, .quote-dialog textarea { width: 100%; padding: .75rem .85rem; border: 1px solid var(--line); border-radius: 0; background: #fffdf9; color: var(--ink); }
.quote-dialog input { min-height: 3.1rem; }
.quote-dialog textarea { resize: vertical; }
.quote-dialog input:focus, .quote-dialog textarea:focus { outline: 2px solid rgba(122,69,39,.25); border-color: var(--wood); }
.honeypot { position: absolute !important; left: -10000px !important; }
.quote-dialog__submit { width: 100%; }
.quote-dialog__submit:disabled { opacity: .62; cursor: wait; }
.form-status { min-height: 1.5rem; line-height: 1.65; white-space: pre-line; }
.form-status--success { padding: 1rem; background: #e0eadf; color: #203527; font-weight: 500; }
.form-status--error { color: #9a2d24; font-weight: 500; }

@media (max-width: 900px) {
  :root { --header-height: 5.75rem; }
  .site-header { align-items: center; }
  .menu-button { display: block; font-size: 1.05rem; }
  .site-nav { position: absolute; inset: var(--header-height) 1rem auto; display: none; padding: 1.25rem; background: rgba(30,23,19,.98); flex-direction: column; align-items: stretch; font-size: 1.275rem; box-shadow: 0 1rem 2rem rgba(25,16,10,.2); }
  .site-nav[data-open="true"] { display: flex; }
  .section-heading { grid-template-columns: 1fr 1fr; }
  .section-heading .kicker { grid-column: 1 / -1; }
  .product-grid { width: 82%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-card, .product-card:nth-last-child(2):nth-child(3n + 1) { grid-column: auto; }
  .product-card__details { align-items: flex-start; flex-direction: column; }
  .paper { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --header-height: 5.4rem; }
  .hero__shade { background: linear-gradient(0deg, rgba(24,14,9,.87), rgba(24,14,9,.06) 75%); }
  .hero__content { padding: 11rem 1.25rem 4rem; }
  .hero h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .hero__vertical { display: none; }
  .commission { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; }
  .product-grid { width: 100%; grid-template-columns: 1fr; }
  .product-card, .product-card:nth-last-child(2):nth-child(3n + 1) { grid-column: auto; }
  .paper__samples { gap: .55rem; }
  .paper__samples img { min-height: 11rem; }
  .site-footer { align-items: start; flex-direction: column; }
}

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