/* Crisjo Thread Closet: CLOSET RAIL. The page is an open wardrobe: doors, a wooden rail, hangers, a fitting room. */
:root {
  --indigo: #2E3A66;
  --indigo-deep: #222C50;
  --red: #C8372D;
  --red-deep: #A82A22;
  --cream: #F5EFE4;
  --cream-2: #EDE3D2;
  --wood: #A8774C;
  --wood-dark: #7E5534;
  --wood-light: #C79A6E;
  --ink: #1F2440;
  --muted: #545a78;
  --display: 'Shrikhand', Georgia, serif;
  --sans: 'Bricolage Grotesque', system-ui, sans-serif;
  --stitch: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 17px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.6 var(--sans); overflow-x: clip; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--indigo); text-decoration-color: var(--red); text-underline-offset: 3px; }
a:hover { color: var(--red); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h2 { font: 400 clamp(2.1rem, 4.4vw, 3.4rem)/1.05 var(--display); color: var(--indigo); letter-spacing: .005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--indigo); color: var(--cream); 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; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

/* Buttons: a sewn label, not a pill */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 0; background: var(--red); color: #fff; font: 800 1rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; border-radius: 3px; box-shadow: inset 0 0 0 3px var(--red), inset 0 0 0 4px rgba(255,255,255,.55); transition: background .2s; }
.btn:hover { background: var(--red-deep); color: #fff; }
.btn--line { background: transparent; color: var(--indigo); box-shadow: inset 0 0 0 2px var(--indigo); }
.btn--line:hover { background: var(--indigo); color: var(--cream); }
.stitch-link { font-weight: 700; color: var(--indigo); text-decoration: none; padding-bottom: 4px; background: var(--stitch) bottom left / 100% 2px no-repeat; }

/* ---------- Header: the top of the wardrobe ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 6px solid var(--wood); box-shadow: 0 2px 0 var(--wood-dark); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--indigo); margin-right: auto; }
.mark-icon { width: 50px; height: 36px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-big { font: 400 1.75rem/1 var(--display); letter-spacing: .03em; }
.brand-small { font: 800 .64rem/1 var(--sans); letter-spacing: .34em; color: var(--red); margin-top: 4px; }
.nav-list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: block; padding: 10px 12px; font-weight: 600; text-decoration: none; color: var(--ink); }
.nav-link:hover { color: var(--red); }
.nav-close-li { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 12px; background: var(--indigo); color: var(--cream); border: 0; border-radius: 3px; font: 700 .95rem/1 var(--sans); cursor: pointer; }
.room-icon { width: 26px; height: 22px; }
.cart-count { min-width: 24px; height: 24px; padding: 0 6px; display: inline-grid; place-items: center; background: var(--cream); color: var(--indigo); border-radius: 12px; font-size: .85rem; }
.cart-btn.pop .cart-count { animation: pop .45s ease; }
@keyframes pop { 40% { transform: scale(1.35); background: var(--red); color: #fff; } }
.nav-toggle, .nav-close { display: none; background: none; border: 0; color: var(--indigo); width: 46px; height: 46px; place-items: center; cursor: pointer; }
.back-link { margin-left: auto; }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 6vw, 72px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.kicker { font-weight: 800; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.hero h1 { font: 400 clamp(2.8rem, 5.6vw, 4.8rem)/.98 var(--display); color: var(--indigo); }
.hero h1 span { display: block; color: var(--red); }
.lede { font-size: 1.12rem; max-width: 34em; margin-top: 22px; color: #353a5a; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.wardrobe { position: relative; margin: 0; padding: 0 0 30px; }
.cornice { display: block; height: 22px; margin: 0 -14px; background: var(--wood); border-bottom: 4px solid var(--wood-dark); border-radius: 4px 4px 0 0; }
.wardrobe-box { position: relative; overflow: hidden; border: 14px solid var(--wood); border-top: 0; background: var(--cream-2); }
.hero-photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.plinth { display: block; height: 16px; margin: 0 -6px; background: var(--wood-dark); }
.wdoor { position: absolute; top: 0; bottom: 0; width: 50%; background: var(--indigo); border: 6px solid var(--wood-light); animation: open-l 1.1s cubic-bezier(.6, 0, .2, 1) .2s both; }
.wdoor::after { content: ""; position: absolute; inset: 12px; border: 2px dashed rgba(200, 55, 45, .85); }
.wdoor--l { left: 0; }
.wdoor--r { right: 0; animation-name: open-r; }
@keyframes open-l { to { transform: translateX(-100%); } }
@keyframes open-r { to { transform: translateX(100%); } }
.swing-tag { position: absolute; right: 22px; bottom: 0; background: var(--cream); border: 2px solid var(--indigo); padding: 10px 16px 10px 26px; font-weight: 700; font-size: .85rem; line-height: 1.2; color: var(--indigo); transform-origin: 50% -30px; transform: rotate(-4deg); clip-path: polygon(14px 0, 100% 0, 100% 100%, 14px 100%, 0 50%); }
.swing-tag strong { font: 400 1.6rem/1 var(--display); color: var(--red); }
.door-index { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(36px, 5vw, 60px); border-top: 3px solid var(--indigo); border-bottom: 3px solid var(--indigo); }
.door-index a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: baseline; padding: 18px 20px; text-decoration: none; color: var(--indigo); border-left: 2px dashed rgba(46, 58, 102, .35); }
.door-index a:first-child { border-left: 0; }
.door-index a:hover { background: var(--indigo); color: var(--cream); }
.di-no { grid-row: span 2; font: 400 2.2rem/1 var(--display); color: var(--red); }
.di-name { font-weight: 800; font-size: 1.15rem; }
.di-count { font-size: .85rem; opacity: .8; }

/* ---------- The closet ---------- */
.closet { padding: clamp(64px, 8vw, 110px) 0 40px; }
.closet-head { display: grid; grid-template-columns: auto 1fr; gap: 20px 56px; align-items: end; margin-bottom: 44px; }
.closet-head p { max-width: 40em; margin: 0; color: #353a5a; }
.compartment { display: grid; grid-template-columns: 220px 1fr; gap: 0; margin-bottom: 44px; scroll-margin-top: 96px; }
.plate { position: relative; background: var(--indigo); color: var(--cream); padding: 28px 22px; display: flex; flex-direction: column; }
.plate::before { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(245, 239, 228, .35); pointer-events: none; }
.plate-no { font-weight: 800; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: #ffb3aa; }
.plate h3 { font: 400 2.25rem/1 var(--display); margin: 8px 0 14px; }
.plate p { font-size: .95rem; opacity: .9; }
.plate-range { margin-top: auto; font-weight: 800; font-size: .85rem; letter-spacing: .08em; }
.compartment--bottoms .plate, .compartment--extras .plate { background: var(--red); }
.compartment--bottoms .plate-no, .compartment--extras .plate-no { color: var(--cream); }
.cabinet { position: relative; overflow: hidden; border: 12px solid var(--wood); border-left-width: 0; background: var(--cream-2); box-shadow: inset 0 14px 22px -14px rgba(31, 36, 64, .45); }
.rail { list-style: none; margin: 0; padding: 24px 26px 30px; display: flex; justify-content: space-evenly; gap: 18px;
  background: linear-gradient(var(--wood-light), var(--wood) 55%, var(--wood-dark)) 0 30px / 100% 12px no-repeat local; }
.slot { flex: 0 1 230px; min-width: 0; display: flex; flex-direction: column; }
.hang { transform-origin: 50% 8px; }
.hanger { display: block; width: 86%; margin: 0 auto -4px; overflow: visible; position: relative; z-index: 1; }
.hook { fill: none; stroke: #6d7086; stroke-width: 5; stroke-linecap: round; }
.arm { fill: var(--wood); stroke: var(--wood-dark); stroke-width: 2.5; }
.bar { stroke: var(--wood-dark); stroke-width: 4; stroke-linecap: round; }
.garment { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--indigo); box-shadow: 0 10px 18px -10px rgba(31, 36, 64, .55); }
.product-card:hover .hang, .product-card:focus-within .hang { animation: swing 1.7s ease-in-out; }
@keyframes swing { 18% { transform: rotate(4deg); } 42% { transform: rotate(-3deg); } 64% { transform: rotate(1.6deg); } 84% { transform: rotate(-.6deg); } }
.tag { position: relative; margin: 22px 6px 0; padding: 16px 14px 14px; background: #fff; border: 1.5px solid rgba(46, 58, 102, .25); flex: 1; display: flex; flex-direction: column; }
.tag::before { content: ""; position: absolute; left: 50%; top: -24px; height: 24px; border-left: 2px solid var(--red); }
.tag::after { content: ""; position: absolute; left: calc(50% - 5px); top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--cream-2); box-shadow: inset 0 0 0 2px rgba(46, 58, 102, .3); }
.tag-no { font-weight: 800; font-size: .72rem; letter-spacing: .16em; color: var(--red); text-transform: uppercase; margin-top: 8px; }
.tag h3 { font-size: 1.08rem; font-weight: 800; color: var(--indigo); margin: 4px 0 6px; }
.tag-desc { font-size: .9rem; color: var(--muted); line-height: 1.45; }
.tag-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 8px; border-top: 2px dashed rgba(200, 55, 45, .45); }
.price { font: 400 1.4rem/1 var(--display); color: var(--indigo); }
.cur { font-family: var(--sans); font-weight: 800; font-size: .8em; margin-right: 1px; }
.stock { white-space: nowrap; font-size: .78rem; font-weight: 600; color: var(--muted); }
.hang-it { margin-top: 10px; min-height: 44px; width: 100%; border: 2px solid var(--indigo); background: var(--cream); color: var(--indigo); font: 800 .95rem/1 var(--sans); cursor: pointer; border-radius: 3px; }
.hang-it:hover { background: var(--indigo); color: var(--cream); }
.stepper:not([hidden]) { margin-top: 10px; display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; min-height: 44px; background: var(--red); color: #fff; border-radius: 3px; }
.in-room { grid-column: 1 / -1; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-align: center; padding-top: 6px; }
.stepper button { height: 38px; background: none; border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; }
.stepper button:disabled { opacity: .4; cursor: default; }
.stepper output { text-align: center; font-weight: 800; }
.product-card.in-cart .tag { border-color: var(--red); }
/* Doors slide apart; .shut is set by JS only for compartments below the fold */
.door { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 3; pointer-events: none; background: var(--indigo); border: 6px solid var(--wood-light); transition: transform 1.2s cubic-bezier(.6, 0, .2, 1); }
.door::before { content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(200, 55, 45, .9); }
.door--l { left: 0; transform: translateX(-101%); }
.door--r { right: 0; transform: translateX(101%); }
.cabinet.shut .door { transform: none; }
.knob { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--wood-light); box-shadow: 0 2px 0 var(--wood-dark); }
.door--l .knob { right: 22px; }
.door--r .knob { left: 22px; }
.door-word { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); padding-left: 30%; font: 400 clamp(2rem, 4vw, 3.4rem)/1 var(--display); color: var(--cream); }

/* ---------- How ---------- */
.how { padding: 70px 0; background: var(--indigo); color: var(--cream); }
.how h2 { color: var(--cream); }
.how-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 18px 0; border-top: 2px dashed rgba(245, 239, 228, .3); }
.step-no { font: 400 2.8rem/1 var(--display); color: #ff8a7d; }
.steps h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.steps p { margin: 0; opacity: .9; }
.how-photo { margin: 0; border: 12px solid var(--wood); }
.how-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- Story ---------- */
.story { padding: clamp(64px, 8vw, 110px) 0; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.story-photo { margin: 0; position: relative; }
.story-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; max-height: 640px; }
.story-photo::after { content: ""; position: absolute; left: -12px; right: -12px; top: 28px; height: 0; border-top: 3px dashed var(--red); }
.story-copy p { font-size: 1.1rem; max-width: 34em; }
.story-copy h2 { margin-bottom: 26px; }
.story-sign { font-weight: 700; color: var(--red); }

/* ---------- FAQ ---------- */
.faq { padding: 0 0 clamp(64px, 8vw, 100px); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; border-top: 3px solid var(--indigo); padding-top: 40px; }
.faq-list details { border-bottom: 2px dashed rgba(46, 58, 102, .3); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 800; font-size: 1.1rem; color: var(--indigo); cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] summary .icon { transform: rotate(45deg); color: var(--red); }
.faq-list details p { color: #353a5a; }

/* ---------- Contact ---------- */
.contact { background: var(--cream-2); padding: clamp(56px, 7vw, 90px) 0; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.contact dl { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px; }
.contact dt { font-weight: 800; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.contact dd { margin: 0; }
.contact-photo { margin: 0; border: 10px solid var(--wood); }
.contact-photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; max-height: 520px; }

/* ---------- Footer: the wardrobe base ---------- */
.footer { background: var(--indigo-deep); color: var(--cream); border-top: 18px solid var(--wood); box-shadow: inset 0 4px 0 var(--wood-dark); padding: 56px 0 24px; }
.footer a { color: var(--cream); }
.footer a:hover { color: #ff8a7d; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-line { margin: 0; font: 400 1.7rem/1.15 var(--display); }
.fl-b { color: #ff8a7d; }
.foot-col h2 { font: 800 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--wood-light); margin-bottom: 14px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 6px; }
.foot-col p { font-size: .95rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 18px; border-top: 2px dashed rgba(245, 239, 228, .25); font-size: .85rem; opacity: .85; }

/* ---------- Fitting room (cart drawer) with a curtain ---------- */
.cart-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(31, 36, 64, .5); 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(--cream); display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; border-left: 10px solid var(--wood); }
.cart-sidebar.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 14px 32px; background: var(--indigo); color: var(--cream); }
.cart-head h2 { font: 400 1.9rem/1 var(--display); color: var(--cream); }
.cart-close { background: none; border: 0; color: var(--cream); width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; }
.curtain { position: absolute; left: 0; right: 0; top: 72px; bottom: 0; z-index: 5; pointer-events: none; }
.rod { position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--wood-dark); }
.drape { position: absolute; top: 6px; bottom: 0; width: 50%; background: repeating-linear-gradient(90deg, var(--red) 0 16px, var(--red-deep) 16px 22px, #d9473c 22px 30px); transition: transform .9s cubic-bezier(.5, 0, .2, 1) .2s; }
.drape--l { left: 0; transform-origin: left center; }
.drape--r { right: 0; transform-origin: right center; }
.cart-sidebar.open .drape { transform: scaleX(.07); }
.cart-items { flex: 1; overflow-y: auto; padding: 24px 40px 12px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 14px 0; border-bottom: 2px dashed rgba(46, 58, 102, .25); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; }
.cart-item h3 { font-size: 1rem; font-weight: 800; color: var(--indigo); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--indigo); border-radius: 3px; }
.qty button { width: 36px; height: 36px; background: none; border: 0; color: var(--indigo); display: grid; place-items: center; cursor: pointer; }
.qty button:disabled { opacity: .35; }
.qty output { min-width: 26px; text-align: center; font-weight: 800; }
.qty .icon { width: 18px; height: 18px; }
.cart-item-sub { font-weight: 800; }
.cart-remove { background: none; border: 0; padding: 6px 0 0; color: var(--red); font: 600 .85rem var(--sans); text-decoration: underline; cursor: pointer; }
.cart-empty { text-align: center; padding: 40px 0; }
.cart-empty p { font: 400 1.4rem/1.2 var(--display); color: var(--indigo); }
.cart-foot { padding: 18px 40px 24px; border-top: 3px solid var(--indigo); background: var(--cream-2); }
.cart-foot .btn { width: 100%; }
.cart-foot p { font-size: .85rem; color: var(--muted); margin: 10px 0 0; text-align: center; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-weight: 700; }

/* ---------- Order page and legal pages ---------- */
.header--plain .nav { min-height: 68px; }
.order-page { padding: 48px 0 80px; }
.order-intro h1, .legal-head h1 { font: 400 clamp(2.2rem, 5vw, 3.6rem)/1.05 var(--display); color: var(--indigo); }
.order { display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; margin-top: 30px; align-items: start; }
.order-form h2, .summary h2 { font: 800 1.2rem/1.2 var(--sans); color: var(--indigo); 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 12px; font: 400 1rem var(--sans); color: var(--ink); background: #fff; border: 2px solid rgba(46, 58, 102, .35); border-radius: 3px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--indigo); outline: none; box-shadow: 0 0 0 3px rgba(200, 55, 45, .3); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field-hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.field-error { color: var(--red); font-size: .88rem; font-weight: 600; margin: 4px 0 0; }
.field-error:empty { display: none; }
.order-submit { width: 100%; }
.summary { background: #fff; border: 2px solid var(--indigo); padding: 24px; position: sticky; top: 100px; }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: 10px 0; border-bottom: 2px dashed rgba(46, 58, 102, .2); vertical-align: top; }
.summary td:last-child { text-align: right; font-weight: 700; 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: #fff; padding: 16px; border: 2px dashed rgba(46, 58, 102, .3); font-size: .9rem; }
.legal-head { padding: 54px 0 20px; }
.legal-body { padding-bottom: 80px; }
.legal { max-width: 720px; }
.legal h2 { font: 800 1.25rem/1.3 var(--sans); color: var(--indigo); margin: 30px 0 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .compartment { grid-template-columns: 1fr; }
  .plate { padding: 20px 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: baseline; }
  .plate h3 { margin: 4px 0 0; grid-row: 2; }
  .plate p { grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: center; }
  .plate-range { display: none; }
  .cabinet { border-left-width: 12px; border-top: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .nav { min-height: 66px; 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(--indigo); }
  .nav-list.open .nav-link { color: var(--cream); font: 400 2.1rem/1.2 var(--display); }
  .nav-list.open .nav-close-li { display: block; position: absolute; top: 12px; right: 12px; }
  .nav-close { display: grid; color: var(--cream); }
  .hero-grid, .how-grid, .story-grid, .contact-grid, .faq-grid, .order { grid-template-columns: 1fr; }
  .closet-head { grid-template-columns: 1fr; }
  .door-index { grid-template-columns: 1fr 1fr; }
  .door-index a:nth-child(3) { border-left: 0; }
  .door-index a:nth-child(n+3) { border-top: 2px dashed rgba(46, 58, 102, .35); }
  .story-photo img, .contact-photo img { aspect-ratio: 4 / 3; }
  .summary { position: static; }
}
@media (max-width: 699px) {
  body { font-size: 16px; }
  .brand-big { font-size: 1.45rem; }
  .mark-icon { width: 40px; height: 29px; }
  .brand-small { font-size: .56rem; letter-spacing: .26em; }
  .cart-word { display: none; }
  .cart-btn { padding: 0 10px; }
  .wardrobe { margin-inline: 8px; }
  .rail { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding: 22px 18px 26px; scroll-padding-inline: 18px; gap: 16px; }
  .slot { flex: 0 0 64%; scroll-snap-align: center; }
  .cabinet { border-width: 0 8px 8px; }
  .door-word { padding-left: 18%; }
  .plate { grid-template-columns: 1fr; }
  .plate p { grid-column: 1; grid-row: auto; margin-top: 8px; }
  .contact dl { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .cart-items { padding-inline: 32px; }
  .cart-foot { padding-inline: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .wdoor { animation: none; display: none; }
  .door { transition: none; }
  .product-card:hover .hang, .product-card:focus-within .hang { animation: none; }
  .drape { transition: none; }
  .cart-sidebar { transition: none; }
}
