/* Maroza Linen Nest: EMBROIDERY HOOP. Every piece is stretched in a round wooden hoop on linen;
   room names are cross-stitched; running stitches divide the rooms; the cart is a woven nest. */
:root {
  --linen: #F6F1E7;
  --linen-2: #ECE3D2;
  --linen-3: #E2D6C0;
  --paper: #FCFAF5;
  --rose: #C98B8B;
  --rose-text: #9C5656;
  --sage: #8FA58A;
  --sage-text: #56704F;
  --navy: #2C3E5A;
  --navy-deep: #22304A;
  --wood: #C9A27A;
  --wood-dark: #A27D56;
  --brass: #B8913F;
  --muted: #555F6E;
  --serif: 'Brygada 1918', Georgia, 'Times New Roman', serif;
  --sans: 'Mulish', system-ui, sans-serif;
  --pixel: 'Silkscreen', 'Courier New', monospace;
  /* linen weave: fine warp and weft threads */
  --weave: repeating-linear-gradient(0deg, rgba(44, 62, 90, .035) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(44, 62, 90, .035) 0 1px, transparent 1px 3px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--linen) var(--weave); color: var(--navy); font: 400 17px/1.62 var(--sans); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; }
h2 { font: 500 clamp(1.9rem, 3.8vw, 2.9rem)/1.08 var(--serif); color: var(--navy); letter-spacing: -.005em; }
a { color: var(--navy); }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.icon { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2.2; fill: none; stroke-linecap: round; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: var(--linen); padding: 10px 14px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--rose-text); outline-offset: 3px; }
.kicker { font: 700 .8rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--rose-text); margin-bottom: 14px; }

/* X-stitch underline: a row of little crosses under a heading */
.xline::after { content: ""; display: block; width: 216px; max-width: 100%; height: 10px; margin-top: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M2 1l8 8M10 1l-8 8' stroke='%23C98B8B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") left center / 12px 10px repeat-x; }
.xline--light::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M2 1l8 8M10 1l-8 8' stroke='%23C9A27A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px; background: var(--navy); color: var(--linen); border: 0; border-radius: 4px; outline: 1.5px dashed rgba(246, 241, 231, .55); outline-offset: -6px; font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--navy-deep); }
.btn--line { background: var(--paper); color: var(--navy); outline-color: rgba(44, 62, 90, .4); border: 1.5px solid var(--navy); }
.text-link { font-weight: 700; color: var(--navy); text-decoration-color: var(--rose); text-decoration-style: dashed; text-decoration-thickness: 2px; text-underline-offset: 6px; }

/* ---------- The hoop: wood ring, inner seam, brass screw clamp, linen inside ---------- */
.hoop { position: relative; aspect-ratio: 1; border-radius: 50%; padding: 11px;
  background: var(--wood) repeating-radial-gradient(circle, transparent 0 3px, rgba(120, 82, 44, .12) 3px 4px);
  box-shadow: inset 0 0 0 1.5px var(--wood-dark), inset 0 0 0 6px var(--wood), inset 0 0 0 7px rgba(120, 82, 44, .45), 0 14px 22px -16px rgba(34, 48, 74, .7); }
.clamp { position: absolute; z-index: 2; top: -9px; left: 50%; width: 26px; height: 18px; margin-left: -13px; background: var(--wood); border: 1.5px solid var(--wood-dark); border-radius: 3px; }
.clamp::before { content: ""; position: absolute; top: -9px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--brass); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2); }
.clamp::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 2px; margin-left: -4px; background: rgba(60, 40, 10, .55); }
.cloth { width: 100%; height: 100%; border-radius: 50%; overflow: hidden; padding: 7px; background: var(--paper) var(--weave); box-shadow: inset 0 0 0 1px rgba(44, 62, 90, .15); }
.cloth img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.hoop--big { padding: 18px; }
.hoop--big .cloth { padding: 12px; }
.hoop--big .clamp { width: 44px; height: 28px; margin-left: -22px; top: -16px; }
.hoop--big .clamp::before { width: 18px; height: 18px; margin-left: -9px; top: -13px; }
.hoop--big .clamp::after { top: -6px; width: 12px; margin-left: -6px; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--linen); border-bottom: 1.5px solid var(--navy); }
.header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; border-top: 2px dashed var(--rose); opacity: .7; pointer-events: none; }
.nav { display: flex; align-items: center; gap: 20px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); margin-right: auto; }
.mark-icon { width: 36px; height: 40px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-big { font: 500 1.6rem/.95 var(--serif); letter-spacing: .2em; }
.brand-small { font: 700 .62rem/1 var(--sans); letter-spacing: .42em; color: var(--rose-text); margin-top: 6px; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: block; padding: 10px 12px; color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 2px dashed transparent; }
.nav-link:hover { border-bottom-color: var(--rose); }
.nav-close-li { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 8px 0 12px; background: var(--paper); color: var(--navy); border: 1.5px solid var(--navy); border-radius: 26px 26px 8px 8px; font: 700 .95rem/1 var(--sans); cursor: pointer; }
.nest-icon { width: 40px; height: 28px; overflow: visible; }
.chip { opacity: 0; transform: translateY(-6px); transition: opacity .25s, transform .3s ease; stroke: var(--navy); stroke-width: .8; }
.chip.on { opacity: 1; transform: none; }
.chip--rose { fill: var(--rose); } .chip--sage { fill: var(--sage); } .chip--linen { fill: var(--paper); } .chip--navy { fill: var(--navy); }
.cart-count { min-width: 28px; height: 28px; padding: 0 7px; display: inline-grid; place-items: center; background: var(--linen-2); border-radius: 50%; font-size: .85rem; }
.cart-btn.has-items .cart-count { background: var(--rose); color: var(--paper); }
.cart-btn.pop .nest-icon { animation: settle .5s ease; }
@keyframes settle { 40% { transform: translateY(3px) scaleX(1.06); } }
.nav-toggle, .nav-close { display: none; background: none; border: 0; color: var(--navy); width: 46px; height: 46px; place-items: center; cursor: pointer; }
.back-link { font-weight: 700; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 6vw, 84px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero h1 { font: 400 clamp(2.6rem, 5.6vw, 4.7rem)/1.02 var(--serif); letter-spacing: -.015em; }
.hero h1 em { display: block; font-style: italic; color: var(--rose-text); }
.lede { font-size: 1.12rem; max-width: 33em; margin-top: 24px; color: #34445E; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 30px; }
.hero-hoop { position: relative; margin: 20px 0 0; width: min(100%, 520px); justify-self: center; }
.hero-hoop .cloth img { object-position: 62% 50%; }
.thread-tail { position: absolute; left: 70%; top: 92%; width: 90px; height: 120px; pointer-events: none; }

/* Room index: four French knots on one running stitch */
.knots { margin-top: clamp(48px, 6vw, 76px); }
.knots ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.knots ul::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; border-top: 2.5px dashed var(--navy); }
.knot { position: relative; display: grid; justify-items: start; gap: 2px; padding: 0 10px 0 0; text-decoration: none; color: var(--navy); }
.knot-dot { width: 28px; height: 28px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 4px var(--linen), inset -3px -3px 0 rgba(0, 0, 0, .14); margin-bottom: 12px; }
.knot--sage .knot-dot { background: var(--sage); }
.knot--navy .knot-dot { background: var(--navy); }
.knot--wood .knot-dot { background: var(--wood); }
.knot-name { font: 400 1.5rem/1 var(--pixel); text-transform: uppercase; }
.knot-count { font-size: .9rem; color: var(--muted); }
.knot:hover .knot-name { color: var(--rose-text); }

/* ---------- Running-stitch divider with a needle ---------- */
.run { position: relative; display: flex; align-items: center; gap: 0; margin: 0 0 8px; color: var(--rose); }
.run-line { flex: 1; height: 3px; border-radius: 2px; background: repeating-linear-gradient(90deg, currentColor 0 14px, transparent 14px 24px); }
.needle { width: 60px; height: 12px; flex: none; }
.run--sage { color: var(--sage); } .run--navy { color: var(--navy); } .run--wood { color: var(--wood-dark); }

/* ---------- Shop: the four hoops ---------- */
.shop { padding: clamp(72px, 9vw, 120px) 0 50px; }
.shop-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.shop-head p { margin: 0; max-width: 34em; color: var(--muted); }
.room { display: grid; grid-template-columns: 260px 1fr; gap: 24px 48px; padding: 36px 0 clamp(60px, 7vw, 90px); }
.room-head { position: sticky; top: 110px; align-self: start; }
.room-no { margin: 0 0 6px; font: 700 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
/* cross-stitched room name: pixel letters filled with tiny X stitches */
.stitched { font: 700 clamp(2.6rem, 4.2vw, 3.5rem)/1 var(--pixel); text-transform: uppercase; letter-spacing: .02em; color: var(--rose); margin: 2px 0 16px; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .stitched { color: transparent; -webkit-background-clip: text; background-clip: text; background-size: 6px 6px, auto;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M.6.6l4.8 4.8M5.4.6L.6 5.4' stroke='%23B06F6F' stroke-width='1.5'/%3E%3C/svg%3E"), linear-gradient(rgba(201,139,139,.38),rgba(201,139,139,.38)); }
  .room--sage .stitched { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M.6.6l4.8 4.8M5.4.6L.6 5.4' stroke='%2366805F' stroke-width='1.5'/%3E%3C/svg%3E"), linear-gradient(rgba(143,165,138,.4),rgba(143,165,138,.4)); }
  .room--navy .stitched { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M.6.6l4.8 4.8M5.4.6L.6 5.4' stroke='%232C3E5A' stroke-width='1.5'/%3E%3C/svg%3E"), linear-gradient(rgba(44,62,90,.25),rgba(44,62,90,.25)); }
  .room--wood .stitched { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Cpath d='M.6.6l4.8 4.8M5.4.6L.6 5.4' stroke='%23946E47' stroke-width='1.5'/%3E%3C/svg%3E"), linear-gradient(rgba(201,162,122,.45),rgba(201,162,122,.45)); }
}
.room--sage .stitched { color: var(--sage-text); }
.room--navy .stitched { color: var(--navy); }
.room--wood .stitched { color: var(--wood-dark); }
.room-blurb { color: var(--muted); max-width: 22em; }
.room-count { display: inline-block; margin: 0; font-weight: 700; font-size: .9rem; padding: 4px 12px; border: 1.5px dashed var(--navy); border-radius: 4px; }
.pieces { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 34px; }
/* hoops hang at slightly different heights, like on a sewing-room wall */
.piece { display: flex; flex-direction: column; }
.piece:nth-child(3n + 2) { margin-top: 40px; }
.piece:nth-child(3n + 3) { margin-top: 14px; }
.piece .hoop { transition: transform .35s ease; }
.piece:nth-child(odd) .hoop { transform: rotate(-2deg); }
.piece:nth-child(even) .hoop { transform: rotate(2.5deg); }
.piece:hover .hoop { transform: rotate(0) translateY(-3px); }
.piece-text { display: flex; flex-direction: column; flex: 1; padding: 18px 4px 0; }
.piece-no { margin: 0; font: 400 .78rem/1 var(--pixel); color: var(--rose-text); }
.piece h4 { font: 500 1.2rem/1.2 var(--serif); margin: 8px 0 4px; }
.piece-desc { font-size: .93rem; color: var(--muted); margin-bottom: 12px; }
.piece-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 10px; margin: auto 0 0; }
.price { font: 600 1.3rem/1 var(--serif); color: var(--navy); }
.price .cur { font-family: var(--sans); font-weight: 700; font-size: .82em; margin-right: 1px; }
.stock { font-size: .82rem; font-weight: 600; color: var(--sage-text); }
.nest-it { margin-top: 14px; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: transparent; color: var(--navy); border: 1.5px solid var(--navy); border-radius: 4px; font: 700 .95rem/1 var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.nest-it .x { font: 400 1.2rem/1 var(--pixel); color: var(--rose-text); transition: color .2s; }
.nest-it:hover { background: var(--navy); color: var(--linen); }
.nest-it:hover .x { color: var(--rose); }
.stepper:not([hidden]) { margin-top: 14px; display: grid; grid-template-columns: 1fr 38px 28px 38px; align-items: center; min-height: 46px; padding-left: 12px; background: var(--sage); color: var(--navy-deep); border: 1.5px solid var(--navy); border-radius: 4px; }
.in-nest-word { font-size: .8rem; font-weight: 800; line-height: 1.1; }
.stepper output { text-align: center; font-weight: 800; }
.stepper button { height: 40px; background: none; border: 0; color: var(--navy-deep); cursor: pointer; display: grid; place-items: center; }
.stepper button:disabled { opacity: .4; cursor: not-allowed; }
.stepper .icon { width: 18px; height: 18px; }
.product-card.in-cart .hoop { box-shadow: inset 0 0 0 1.5px var(--wood-dark), inset 0 0 0 6px var(--wood), inset 0 0 0 7px rgba(120, 82, 44, .45), 0 0 0 4px var(--linen), 0 0 0 6.5px var(--sage); }

/* ---------- How ---------- */
.how { background: var(--navy) ; color: var(--linen); padding: clamp(72px, 9vw, 110px) 0; }
.how h2 { color: var(--linen); max-width: 14em; }
.steps { list-style: none; margin: 46px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px dashed rgba(246, 241, 231, .45); }
.steps li { position: relative; padding: 34px 28px 10px 0; }
.steps li + li { padding-left: 28px; border-left: 2px dashed rgba(246, 241, 231, .25); }
.step-no { font: 700 2.8rem/1 var(--pixel); color: var(--wood); }
.steps h3 { font: 500 1.35rem/1.2 var(--serif); margin: 12px 0 8px; }
.steps p { margin: 0; font-size: .98rem; color: rgba(246, 241, 231, .86); }
.how-photo { margin: 56px 0 0; }
.how-photo img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 999px; }

/* ---------- Story ---------- */
.story { padding: clamp(72px, 9vw, 120px) 0; }
.story-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.story-copy h2 { margin-bottom: 22px; }
.story-copy p { max-width: 34em; }
.story-note { margin-top: 24px; padding: 14px 18px; border: 1.5px dashed var(--rose); font-weight: 600; background: var(--paper); }
.story-photo { margin: 0; max-width: 420px; border-radius: 210px 210px 6px 6px; overflow: hidden; outline: 1.5px solid var(--navy); outline-offset: 8px; }
.story-photo img { width: 100%; aspect-ratio: 4 / 5.4; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(72px, 9vw, 110px); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-top: 46px; border-top: 2.5px dashed var(--sage); }
.faq-list details { border-bottom: 1.5px solid rgba(44, 62, 90, .2); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 500 1.15rem/1.3 var(--serif); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { flex: none; transition: transform .2s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); color: var(--rose-text); }
.faq-list details p { margin: 0 0 18px; max-width: 40em; color: #3A4960; }

/* ---------- Contact ---------- */
.contact { background: var(--linen-2) var(--weave); padding: clamp(72px, 9vw, 110px) 0; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.contact-photo { margin: 0; justify-self: end; width: min(100%, 400px); }
.contact-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px 6px 200px 200px; }
.contact h2 { margin-bottom: 28px; }
.contact dl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; margin: 0; }
.dl-wide { grid-column: 1 / -1; }
.contact dt { font: 700 .76rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--rose-text); margin-bottom: 8px; }
.contact dd { margin: 0; font-weight: 600; }

/* ---------- Footer: a sewn-in care label on navy ---------- */
.footer { position: relative; background: var(--navy-deep); color: var(--linen); padding: 70px 0 24px; }
.foot-stitch { position: absolute; left: 0; right: 0; top: 18px; border-top: 2.5px dashed var(--wood); opacity: .8; }
.footer a { color: var(--linen); }
.footer a:hover { color: var(--wood); }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr 1.2fr; gap: 32px; align-items: start; }
.footer-line { margin: 0; }
.care-tag { display: inline-grid; justify-items: center; gap: 6px; padding: 22px 26px 20px; background: var(--linen); color: var(--navy); outline: 1.5px dashed var(--rose); outline-offset: -8px; transform: rotate(-2deg); }
.care-big { font: 500 1.5rem/1 var(--serif); letter-spacing: .22em; }
.care-small { font: 700 .62rem/1 var(--sans); letter-spacing: .42em; color: var(--rose-text); }
.care-rule { width: 70%; border-top: 1.5px dashed var(--sage); margin: 6px 0 2px; }
.care-note { font-size: .78rem; text-align: center; line-height: 1.4; color: var(--muted); }
.foot-col h2 { font: 700 .76rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--wood); margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 8px; }
.foot-col p { font-size: .95rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 44px; padding-top: 18px; border-top: 1px solid rgba(246, 241, 231, .22); font-size: .85rem; opacity: .85; }

/* ---------- The nest (cart drawer) ---------- */
.cart-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(34, 48, 74, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(430px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; border-left: 1.5px solid var(--navy); }
.cart-sidebar.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 18px 6px 26px; background: var(--linen); }
.cart-head h2 { font: 500 1.9rem/1 var(--serif); }
.cart-close { background: none; border: 0; color: var(--navy); width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
/* the nest: folded-cloth chips stack up inside a woven bowl */
.nest-bowl { flex: none; position: relative; padding: 10px 26px 0; background: var(--linen); }
.nest-chips { display: flex; flex-wrap: wrap-reverse; justify-content: center; align-content: flex-start; gap: 3px; min-height: 30px; max-width: 300px; margin: 0 auto -8px; padding: 0 20px; position: relative; z-index: 1; }
.fold { width: 30px; height: 12px; border-radius: 2px; border: 1px solid var(--navy); background: var(--paper); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .08); animation: drop .35s ease both; animation-delay: calc(var(--k) * 30ms); }
.fold--rose { background: var(--rose); } .fold--sage { background: var(--sage); } .fold--navy { background: var(--navy); }
@keyframes drop { from { transform: translateY(-14px); opacity: 0; } }
.nest-weave { height: 38px; margin: 0 auto; max-width: 340px; border: 1.5px solid var(--navy); border-top-width: 3px; border-radius: 4px 4px 170px 170px / 4px 4px 38px 38px;
  background-color: var(--wood); background-image: repeating-linear-gradient(60deg, transparent 0 6px, rgba(90, 60, 30, .3) 6px 8px), repeating-linear-gradient(-60deg, transparent 0 6px, rgba(255, 255, 255, .18) 6px 8px); }
.cart-items { flex: 1; overflow-y: auto; padding: 14px 26px 12px; }
.cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1.5px dashed rgba(44, 62, 90, .22); }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 4px var(--wood); margin: 4px; }
.cart-item h3 { font: 500 1.05rem/1.25 var(--serif); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--navy); border-radius: 4px; }
.qty button { width: 36px; height: 36px; background: none; border: 0; color: var(--navy); display: grid; place-items: center; cursor: pointer; }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
.qty output { min-width: 22px; text-align: center; font-weight: 800; }
.qty .icon { width: 16px; height: 16px; }
.cart-item-sub { font-weight: 800; }
.cart-remove { background: none; border: 0; padding: 6px 0 0; color: var(--rose-text); font: 700 .85rem var(--sans); text-decoration: underline dashed; cursor: pointer; }
.cart-empty { text-align: center; padding: 30px 0; }
.cart-empty p { font: 400 1.4rem/1.2 var(--serif); }
.cart-foot { padding: 18px 26px 24px; border-top: 1.5px solid var(--navy); background: var(--linen); }
.cart-foot .btn { width: 100%; }
.cart-foot p { font-size: .85rem; color: var(--muted); margin: 12px 0 0; text-align: center; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-weight: 800; }

/* ---------- Order page and legal pages ---------- */
.header--plain { position: static; }
.order-page { padding: 52px 0 80px; }
.order-intro h1, .legal-head h1 { font: 400 clamp(2.2rem, 5vw, 3.4rem)/1.05 var(--serif); }
.order { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; margin-top: 30px; align-items: start; }
.order-form h2, .summary h2 { font: 500 1.35rem/1.2 var(--serif); margin-bottom: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 1rem var(--sans); color: var(--navy); background: var(--paper); border: 1.5px solid rgba(44, 62, 90, .45); border-radius: 4px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(201, 139, 139, .45); }
.field [aria-invalid="true"] { border-color: var(--rose-text); }
.field-hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.field-error { color: var(--rose-text); font-size: .88rem; font-weight: 700; margin: 4px 0 0; }
.field-error:empty { display: none; }
.order-submit { width: 100%; }
.summary { background: var(--paper); border: 1.5px solid var(--navy); outline: 1.5px dashed var(--rose); outline-offset: -9px; padding: 28px; position: sticky; top: 24px; }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: 10px 0; border-bottom: 1.5px dashed rgba(44, 62, 90, .2); vertical-align: top; }
.summary td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.summary small { display: block; color: var(--muted); }
.summary-total { display: flex; justify-content: space-between; margin-top: 14px; font-weight: 800; }
.summary-note { margin: 14px 0 0; font-size: .9rem; }
.sent { max-width: 640px; padding: 30px 0; }
.sent h2 { margin-bottom: 14px; }
.sent-copy { margin-top: 28px; }
.sent-copy pre { white-space: pre-wrap; background: var(--paper); padding: 16px; border: 1.5px dashed rgba(44, 62, 90, .3); font-size: .9rem; }
.legal-head { padding: 56px 0 20px; }
.legal-body { padding-bottom: 80px; }
.legal { max-width: 720px; }
.legal h2 { font: 500 1.35rem/1.3 var(--serif); margin: 30px 0 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .room { grid-template-columns: 200px 1fr; gap: 24px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .nav-link { padding: 10px 8px; }
}
@media (max-width: 960px) {
  .nav { min-height: 68px; gap: 10px; }
  .nav-toggle { display: grid; order: 3; }
  .nav-list { display: none; }
  .nav-list.open { display: flex; position: fixed; inset: 0; z-index: 120; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 32px 28px; background: var(--navy); }
  .nav-list.open .nav-link { color: var(--linen); font: 400 2rem/1.25 var(--serif); }
  .nav-list.open .nav-close-li { display: block; position: absolute; top: 12px; right: 12px; }
  .nav-close { display: grid; color: var(--linen); }
  .hero-grid, .story-grid, .contact-grid, .faq-grid, .order, .shop-head { grid-template-columns: 1fr; }
  .hero-hoop { width: min(86%, 460px); }
  .room { grid-template-columns: 1fr; }
  .room-head { position: static; }
  .room-head .stitched { margin-bottom: 10px; }
  .room-count { margin-bottom: 10px; }
  .contact-photo { justify-self: start; }
  .summary { position: static; }
}
@media (max-width: 760px) {
  .pieces { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 18px; }
  .piece:nth-child(n) { margin-top: 0; }
  .piece:nth-child(even) { margin-top: 28px; }
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding: 26px 0 18px; border-left: 0; border-bottom: 2px dashed rgba(246, 241, 231, .25); }
  .how-photo img { aspect-ratio: 3 / 2; border-radius: 200px 200px 6px 6px; }
  .knots ul { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .knots ul::before { display: none; }
  .knots li { border-top: 2.5px dashed var(--navy); padding-top: 0; }
  .knot-dot { margin-top: -15px; }
}
@media (max-width: 599px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .brand-big { font-size: 1.3rem; letter-spacing: .16em; }
  .mark-icon { width: 30px; height: 34px; }
  .brand-small { font-size: .55rem; letter-spacing: .3em; }
  .cart-word { display: none; }
  .cart-btn { padding: 0 6px 0 10px; }
  .hero-hoop { width: 92%; }
  .thread-tail { display: none; }
  .knot-name { font-size: 1.2rem; }
  .hoop { padding: 8px; }
  .cloth { padding: 5px; }
  .clamp { width: 20px; height: 14px; margin-left: -10px; top: -7px; }
  .clamp::before { width: 10px; height: 10px; margin-left: -5px; top: -7px; }
  .hoop--big { padding: 13px; }
  .piece-text { padding-top: 14px; }
  .piece h4 { font-size: 1.05rem; }
  .piece-desc { font-size: .86rem; }
  .price { font-size: 1.15rem; }
  .stock { font-size: .76rem; }
  .nest-it { font-size: .86rem; gap: 5px; padding: 0 6px; }
  .stepper:not([hidden]) { grid-template-columns: 1fr 32px 22px 32px; padding-left: 8px; }
  .in-nest-word { font-size: .72rem; }
  .contact dl { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-btn.pop .nest-icon, .fold { animation: none; }
  .chip, .piece .hoop, .cart-sidebar, .cart-overlay, .btn { transition: none; }
}
