:root {
  --paper: #fbf8f3;
  --ink: #3e5c5c;
  --dark: #263f3f;
  --mint: #bfddd9;
  --gold: #b8964b;
  --line: #cad4cd;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: Jost, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1.0625rem/1.55 var(--sans); }
h1, h2, h3 { color: var(--dark); font: 600 2rem/1.04 var(--serif); margin: 0 0 .65em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.25rem, 4vw, 3.65rem); letter-spacing: -.025em; }
h3 { font-size: 1.65rem; }
p { margin: 0 0 1em; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { color: var(--dark); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #315f60; outline-offset: 4px; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.wrap { width: min(100% - 2rem, 74rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: 1rem; z-index: 5; padding: .6rem; background: white; transform: translateY(-200%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header { position: sticky; top: 0; z-index: 2; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: .65rem; padding-block: .5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--dark); width: fit-content; text-decoration: none; }
.brand img { width: 43px; border-radius: 50%; }
.brand span { font: 600 clamp(1.12rem, 4vw, 1.55rem)/1 var(--serif); }
.header nav { grid-row: 2; grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem .65rem; font-size: .94rem; padding-top: .3rem; }
.header nav a { padding: .3rem 0; text-decoration: none; }
.header nav a:hover, .header nav a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.button { display: inline-flex; min-height: 44px; padding: .58rem 1.12rem; justify-content: center; align-items: center; border: 1px solid var(--ink); border-radius: 3px; font-weight: 500; text-align: center; text-decoration: none; line-height: 1.2; }
.primary { background: var(--dark); color: white; }
.primary:hover { background: #355453; color: white; }
.outline { background: transparent; color: var(--dark); }
.outline:hover { background: #e1eeeb; }
.header .button { justify-self: end; font-size: .9rem; }
.actions, .card-actions { display: flex; flex-wrap: wrap; gap: .65rem 1rem; align-items: center; }
.hero { display: grid; gap: 1.5rem; padding-block: 2.6rem 0; }
.hero-copy { align-self: center; }
.hero h1 { max-width: 11ch; margin: .28em 0; }
.label { font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.hero .label::before { display: inline-block; width: 1.8rem; height: 2px; margin-right: .6rem; background: var(--gold); vertical-align: middle; content: ""; }
.intro { font-size: clamp(1.2rem, 2.5vw, 1.5rem); max-width: 36ch; }
.hero figure img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; object-position: 50% 63%; background: var(--mint); }
.hero figcaption { background: var(--mint); padding: .65rem .85rem; font-size: .94rem; }
.hero figcaption a { text-decoration: none; display: flex; justify-content: space-between; gap: .6rem; }
.section { padding-block: clamp(2.8rem, 7vw, 5.2rem); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .5rem 1rem; margin-bottom: 1.35rem; }
.section-head h2 { margin: 0; }
.cards { display: grid; gap: 1.35rem; }
.card { display: flex; flex-direction: column; background: white; border: 1px solid var(--line); min-width: 0; }
.card-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e3ece8; }
.card-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 1.15rem; }
.card h3 { margin-bottom: .42em; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card .label { margin-bottom: .5rem; }
.card p { margin-bottom: .65rem; }
.price { color: var(--dark); font-weight: 600; font-variant-numeric: tabular-nums; }
.card-actions { margin-top: auto; padding-top: .45rem; font-size: .94rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.3rem 1.65rem; }
.filters button { min-height: 44px; border: 1px solid var(--ink); border-radius: 2rem; background: transparent; padding: .35rem .9rem; }
.filters button:hover { background: var(--mint); }
.filters button[aria-pressed="true"] { color: white; background: var(--dark); }
.tinted { background: #e6efea; }
.steps { display: grid; gap: 1rem; padding-left: 1.4rem; }
.steps li { border-top: 1px solid var(--gold); padding: .75rem .25rem 0; }
.steps h3 { margin-bottom: .3em; }
.fabric-note { margin: 1rem 0 0; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); align-items: start; gap: 1rem; }
.review { padding: 1.15rem; background: white; border: 1px solid var(--line); scroll-snap-align: start; }
.review blockquote { margin: .55rem 0 .85rem; }
.review figcaption, .stars { font-weight: 600; color: var(--dark); }
.stars { letter-spacing: .1em; }
.cta { background: var(--mint); }
.cta-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-block: 2rem; }
.cta h2 { margin-bottom: .25em; }
.cta p { margin-bottom: 0; }
.detail, .split { display: grid; gap: 1.75rem; align-items: start; }
.back { display: inline-block; margin-bottom: 1.1rem; }
.detail h1, .split h1 { font-size: clamp(2.55rem, 5vw, 4rem); overflow-wrap: anywhere; }
.detail h2 { font-size: 2rem; margin-top: 1.5rem; margin-bottom: .4rem; }
.detail h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.detail ul { margin: 0 0 .85rem; padding-left: 1.2rem; }
.detail .price { font-size: 1.3rem; }
.gallery > img { width: 100%; aspect-ratio: 5 / 4; object-fit: contain; background: #e6efea; }
.thumbnails { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; margin-top: .55rem; }
.thumbnails a { border: 2px solid transparent; padding: 2px; }
.thumbnails a[aria-current] { border-color: var(--ink); }
.thumbnails img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.prose { max-width: 62ch; }
.split > img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.rating { border-left: 2px solid var(--gold); padding-left: .75rem; }
.form-panel { min-width: 0; background: white; border: 1px solid var(--line); padding: clamp(1rem, 4vw, 2rem); }
form label { display: block; margin-bottom: .25rem; font-weight: 500; }
form input, form textarea, form select { display: block; width: 100%; min-width: 0; min-height: 44px; padding: .5rem .65rem; margin-bottom: .85rem; border: 1px solid #6d8583; border-radius: 3px; background: white; }
form textarea { resize: vertical; }
form p { font-size: .95rem; }
#form-status:not(:empty) { margin: .8rem 0 0; padding: .6rem .75rem; background: #e6efea; }
#form-status[data-error] { color: #842a25; background: #f9ece7; }
.footer { border-top: 1px solid var(--line); background: #eaf1ed; }
.footer-inner { padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .65rem 1rem; align-items: center; }
.footer img { width: 54px; border-radius: 50%; }
.footer nav { display: flex; gap: 1rem; }
.footer small { font-size: .85rem; }
@media (max-width: 599px) {
  .reviews { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(88%, 23rem); overflow-x: auto; padding-bottom: .8rem; scroll-snap-type: x proximity; }
}
@media (min-width: 600px) {
  .cards, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 760px) {
  .header-inner { grid-template-columns: 1fr auto 1fr; gap: 1.3rem; }
  .header nav { grid-row: auto; grid-column: auto; gap: 1.45rem; padding: 0; }
  .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; padding-top: 2rem; }
  .detail, .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); }
  .footer nav { margin-left: auto; }
}
@media (min-width: 900px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
