/* Daniel Evans Trading: "Mix & Match Rail". A black clothing rail runs across the top of the page; hangers swing and slide, and any piece can be pulled down onto the flat-lay board to build a top + bottom + extra outfit. Indigo, sand and burnt orange from the hanger-monogram logo. */
:root {
  --indigo: #2b3a67;
  --indigo-deep: #1d2848;
  --indigo-soft: #dfe3ef;
  --sand: #e8dcc6;
  --sand-pale: #f6f0e5;
  --paper: #fffcf6;
  --orange: #c8642f;
  --orange-deep: #a24e22;
  --rail: #151515;
  --ink: #1b2035;
  --muted: #5a5f70;
  --line: rgba(27, 32, 53, .14);
  --line-strong: rgba(27, 32, 53, .3);
  --error: #a3261b;
  --display: 'Syne', 'Archivo', system-ui, sans-serif;
  --text: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--sand-pale); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.wrap { width: min(1280px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--orange); color: #fff; padding: .7rem 1rem; font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }

.kicker { font: 700 .76rem/1.3 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: .9rem; }
.kicker--light { color: #f0b58f; }
h1, h2 { font-family: var(--display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; color: var(--indigo-deep); }
h1 span, h2 span { color: var(--orange); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
.lede { font-size: 1.14rem; }
.cur { font-family: var(--text); font-weight: 700; margin-right: .04em; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.5rem; background: var(--indigo); color: #fff; border: 2px solid var(--indigo); border-radius: 0; text-decoration: none; font: 700 1rem/1.2 var(--text); transition: background-color .2s, color .2s, transform .15s; }
.btn:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); }
.btn:active { transform: translateY(1px); }
.btn--line { background: transparent; color: var(--indigo); }
.btn--line:hover { background: var(--indigo); color: #fff; }
.btn--orange { background: var(--orange); border-color: var(--orange); }
.btn--orange:hover { background: var(--orange-deep); border-color: var(--orange-deep); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

/* Header. Solid and unfiltered so the fixed mobile menu is never trapped. */
.header { position: sticky; top: 0; z-index: 60; background: var(--sand-pale); border-bottom: 2px solid var(--rail); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 70px; }
.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; text-decoration: none; }
.mark { height: 44px; width: auto; }
.mark--text { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--indigo); color: var(--sand); font: 800 1rem/1 var(--display); letter-spacing: .02em; }
.word { display: flex; flex-direction: column; line-height: 1; }
.word span:first-child { font: 800 1.2rem/1 var(--display); color: var(--indigo-deep); }
.word span:last-child { font: 700 .66rem/1 var(--text); letter-spacing: .26em; text-transform: uppercase; color: var(--orange); margin-top: .3rem; }
.nav-list { display: flex; align-items: center; gap: clamp(.8rem, 1.8vw, 1.6rem); }
.nav-link { font: 600 .96rem/1 var(--text); text-decoration: none; color: var(--ink); padding: .6rem 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.nav-link:hover { border-color: var(--orange); }
.nav-close-li { display: none; }
.cart-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .3rem .45rem .3rem .75rem; background: var(--rail); color: #fff; border: 0; font: 700 .92rem/1 var(--text); }
.bag-ico { width: 22px; height: 22px; fill: none; stroke: var(--sand); stroke-width: 1.8; stroke-linejoin: round; }
.cart-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 .35rem; background: var(--orange); color: #fff; font-size: .86rem; }
.outfit-count { font: 700 .72rem/1 var(--text); color: var(--sand); letter-spacing: .04em; padding: .3rem .45rem; border: 1px solid rgba(232, 220, 198, .45); }
.cart-btn.pop { animation: tug .5s ease; }
@keyframes tug { 30% { transform: translateY(3px); } }
.nav-toggle, .nav-close { display: none; width: 46px; height: 46px; place-items: center; background: var(--paper); border: 2px solid var(--rail); color: var(--rail); }
.back-link { margin-left: auto; }
@media (max-width: 979px) {
  .nav-toggle { display: grid; flex: 0 0 auto; }
  .nav-list { display: none; }
  .nav-list.open { display: flex; position: fixed; inset: 0; z-index: 200; height: 100dvh; overflow-y: auto; flex-direction: column; align-items: flex-start; justify-content: center; gap: .4rem; padding: 6rem 2rem 3rem; background: var(--indigo-deep); }
  .nav-list.open .nav-link { font: 800 2.3rem/1.2 var(--display); color: var(--sand); }
  .nav-list.open .nav-close-li { display: block; position: absolute; top: 12px; right: 16px; }
  .nav-close { display: grid; }
}
@media (max-width: 480px) { .cart-word, .outfit-count { display: none; } .word span:first-child { font-size: 1.02rem; } .nav { gap: .5rem; } }

/* Hero: the rail runs edge to edge across the top */
.hero { background: var(--sand-pale); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: clip; }
.rail-wrap { position: relative; padding-top: 18px; }
.rail-bar { position: absolute; left: 0; right: 0; top: 18px; height: 10px; background: linear-gradient(var(--rail), #3a3a3a 45%, var(--rail)); }
.rail-bar span { position: absolute; top: -6px; width: 10px; height: 22px; background: var(--rail); }
.rail-bar span:first-child { left: 0; } .rail-bar span:last-child { right: 0; }
.rail { position: relative; display: flex; gap: 6px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; padding: 0 clamp(16px, 4vw, 48px) 1.4rem; scrollbar-width: thin; scrollbar-color: var(--indigo) transparent; cursor: grab; }
.rail:focus-visible { outline-offset: -3px; }
.rail.is-drag { cursor: grabbing; scroll-snap-type: none; }
.rail.is-drag * { pointer-events: none; }
.hanger { flex: 0 0 auto; width: 184px; scroll-snap-align: start; }
.hanger-btn { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 0; background: none; border: 0; transform-origin: 50% 2px; }
.hook { width: 60px; height: 46px; margin-top: -8px; fill: none; stroke: var(--rail); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.garment { position: relative; display: block; width: 170px; margin-top: -4px; background: var(--paper); border: 2px solid var(--rail); box-shadow: 0 14px 20px -14px rgba(0, 0, 0, .45); }
.garment img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.mini-tag { position: relative; margin-top: -14px; padding: .35rem .6rem .3rem; background: var(--orange); color: #fff; font: 700 .85rem/1 var(--text); transform: rotate(-4deg); }
.hanger-btn:hover .garment, .hanger-btn:focus-visible .garment { border-color: var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  .hanger-btn { animation: sway 4.6s ease-in-out infinite; animation-delay: calc(var(--i) * -.41s); }
  .rail.is-moving .hanger-btn { animation-duration: 1.1s; }
  @keyframes sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg); } }
}
.rail-arrows { display: flex; justify-content: flex-end; gap: .5rem; width: min(1280px, 100% - 2 * clamp(16px, 4vw, 48px)); margin: 0 auto; }
.arrow { display: grid; place-items: center; width: 46px; height: 46px; background: var(--paper); border: 2px solid var(--rail); }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--rail); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover:not(:disabled) { background: var(--rail); } .arrow:hover:not(:disabled) svg { stroke: #fff; }
.arrow:disabled { opacity: .35; cursor: not-allowed; }
.hero-grid { display: grid; gap: 2rem; align-items: center; margin-top: 1.4rem; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); margin-bottom: 1.1rem; }
.hero h1 span { display: block; }
.hero .lede { max-width: 34rem; color: #3a3f52; }
.hero-note { margin-top: 1rem; font-size: .92rem; color: var(--muted); }
.hero-photo { border: 2px solid var(--rail); background: var(--sand); }
.hero-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 5vw, 4.5rem); } }

/* Outfit builder */
.builder { background: var(--indigo); color: #eef0f7; padding: clamp(4rem, 8vw, 6.5rem) 0; }
.builder h2 { color: #fff; } .builder h2 span { color: #f0b58f; }
.builder-head { display: grid; gap: 1rem; align-items: end; }
.builder-head > p { color: #cdd2e2; max-width: 36rem; }
@media (min-width: 900px) { .builder-head { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.builder-grid { display: grid; gap: 2rem; margin-top: 2.4rem; align-items: start; }
@media (min-width: 1000px) { .builder-grid { grid-template-columns: 1.25fr 1fr; gap: 3rem; } .board-wrap { position: sticky; top: 92px; } }
.pickers { display: grid; gap: 1.6rem; }
.picker legend { display: flex; align-items: baseline; gap: .6rem; margin-bottom: .8rem; font: 800 1.3rem/1.2 var(--display); color: #fff; }
.picker legend span { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--orange); color: #fff; font: 800 .95rem/1 var(--display); }
.picker legend em { font: 400 .95rem/1 var(--text); font-style: normal; color: #b8bfd6; }
.picker:disabled .choices { opacity: .35; }
.pick-note { margin-bottom: .7rem; color: #f0b58f; font-size: .95rem; }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .55rem; }
.choice { position: relative; display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: .6rem; align-items: center; min-height: 64px; padding: .35rem .6rem .35rem .35rem; background: rgba(255, 255, 255, .06); border: 2px solid rgba(255, 255, 255, .16); cursor: pointer; transition: border-color .2s, background-color .2s; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice img, .c-none { grid-row: span 2; width: 56px; height: 56px; object-fit: cover; background: var(--sand); }
.c-none { display: grid; place-items: center; font-size: 1.6rem; color: var(--indigo); }
.c-name { font-weight: 600; font-size: .9rem; line-height: 1.2; color: #fff; }
.c-name em { display: block; font-style: normal; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #f0b58f; }
.c-price { font-size: .85rem; color: #cdd2e2; }
.choice:hover { border-color: rgba(255, 255, 255, .4); }
.choice:has(input:checked) { background: rgba(200, 100, 47, .22); border-color: var(--orange); }
.choice:has(input:focus-visible) { outline: 3px solid #f0b58f; outline-offset: 2px; }
.board-wrap { background: var(--sand); color: var(--ink); padding: 1.2rem 1.2rem 1.4rem; border: 2px solid var(--rail); }
.board { display: grid; justify-items: center; padding: .6rem 0 .4rem; background: repeating-linear-gradient(0deg, transparent 0 27px, rgba(27, 32, 53, .05) 27px 28px), var(--paper); border: 1px dashed var(--line-strong); }
.slot { position: relative; display: grid; justify-items: center; width: min(230px, 70%); padding: .4rem 0; }
.slot + .slot { margin-top: -10px; }
.slot:nth-child(1) { transform: rotate(-2deg); } .slot:nth-child(2) { transform: rotate(1.5deg); } .slot:nth-child(3) { transform: rotate(-1deg) scale(.86); }
.slot img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 2px solid var(--rail); box-shadow: 0 10px 18px -12px rgba(0, 0, 0, .5); }
.slot-label { position: absolute; z-index: 2; top: .9rem; left: -.6rem; padding: .25rem .5rem; background: var(--rail); color: var(--sand); font: 700 .7rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; }
.slot-cap { margin-top: .4rem; font-size: .88rem; font-weight: 600; text-align: center; }
.slot-empty { display: grid; place-items: center; width: 100%; aspect-ratio: 1; border: 2px dashed var(--line-strong); color: var(--muted); font-size: .92rem; text-align: center; padding: 1rem; }
.slot.is-empty .slot-cap { display: none; }
@media (max-width: 560px) { .slot { width: 62%; } }
.board-foot { display: grid; gap: .7rem; margin-top: 1rem; }
.o-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.o-total strong { font: 800 1.6rem/1 var(--display); color: var(--indigo-deep); }
.o-msg { min-height: 1.3em; font-size: .92rem; color: var(--orange-deep); font-weight: 600; }

/* The rails: hang tags on hooks */
.shop { padding: clamp(4.5rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); }
.shop-head { display: grid; gap: 1rem; align-items: end; margin-bottom: 1.6rem; }
.shop-head > p { color: var(--muted); max-width: 38rem; }
@media (min-width: 900px) { .shop-head { grid-template-columns: 1fr 1.1fr; gap: 3rem; } }
.cat-rail { margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.cat-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-bottom: .9rem; }
.cat-no { font: 700 .74rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--orange-deep); }
.cat-head h3 { font: 800 clamp(1.5rem, 2.6vw, 2rem)/1.1 var(--display); color: var(--indigo-deep); }
.cat-head p:last-child { color: var(--muted); font-size: .95rem; }
.rod { height: 8px; background: linear-gradient(var(--rail), #3a3a3a 45%, var(--rail)); border-radius: 4px; }
.tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .8rem; }
@media (min-width: 720px) { .tags { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.2rem; } }
@media (min-width: 1100px) { .tags { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tag-card { display: flex; flex-direction: column; align-items: center; padding-bottom: 1.6rem; }
.t-hook { width: 2px; height: 26px; background: var(--rail); position: relative; }
.t-hook::before { content: ''; position: absolute; top: -9px; left: -7px; width: 14px; height: 14px; border: 2px solid var(--rail); border-bottom-color: transparent; border-left-color: transparent; border-radius: 50%; transform: rotate(-45deg); }
.t-body { position: relative; display: flex; flex-direction: column; flex: 1; width: 100%; padding: 1.7rem .8rem 1rem; background: var(--paper); border: 2px solid var(--rail); clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%, 0 16px); transition: background-color .2s; }
.t-hole { position: absolute; top: 8px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--sand-pale); box-shadow: inset 0 0 0 2px var(--rail); }
.t-role { font: 700 .7rem/1.3 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); text-align: center; }
.t-photo { margin: .6rem 0 .7rem; background: var(--sand); }
.t-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.t-body h4 { font: 800 1.08rem/1.2 var(--display); color: var(--indigo-deep); }
.t-desc { margin-top: .3rem; font-size: .88rem; line-height: 1.45; color: var(--muted); }
.buy { margin-top: auto; padding-top: .8rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; }
.t-price, .price { font: 800 1.15rem/1 var(--display); color: var(--indigo-deep); }
.add-btn { min-height: 44px; padding: .5rem .9rem; background: var(--indigo); color: #fff; border: 0; font: 700 .88rem/1 var(--text); transition: background-color .2s; }
.add-btn:hover { background: var(--orange); }
.stepper { display: inline-flex; align-items: center; border: 2px solid var(--indigo); }
.stepper button, .qty button { display: grid; place-items: center; width: 40px; height: 40px; background: none; border: 0; color: var(--indigo); }
.stepper button:hover, .qty button:hover { background: var(--indigo-soft); }
.stepper button:disabled, .qty button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output { min-width: 2ch; text-align: center; font-weight: 700; }
.t-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .3rem .6rem; margin-top: .7rem; padding-top: .6rem; border-top: 1px dashed var(--line-strong); font-size: .8rem; color: var(--muted); }
.t-try { min-height: 36px; padding: .2rem 0; background: none; border: 0; font-weight: 700; font-size: .82rem; color: var(--orange-deep); text-decoration: underline; text-underline-offset: 3px; }
.tag-card.in-cart .t-body { background: #fbefe4; }
@media (max-width: 559px) {
  .t-body { padding: 1.6rem .6rem .8rem; }
  .t-body h4 { font-size: .98rem; }
  .t-desc { font-size: .82rem; }
  .buy { flex-direction: column; align-items: stretch; }
  .add-btn { width: 100%; }
  .stepper { justify-content: space-between; }
}

/* The shop */
.shopfront { padding: clamp(4rem, 8vw, 6rem) 0; background: var(--sand); }
.sf-grid { display: grid; gap: 2.4rem; align-items: center; }
.sf-photo { border: 2px solid var(--rail); }
.sf-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sf-copy h2 { margin-bottom: 1.2rem; }
.facts { display: grid; gap: .8rem; margin-top: 1.8rem; }
.facts li { padding: 1rem 1.1rem; background: var(--paper); border-left: 6px solid var(--orange); }
.facts h3 { font: 800 1.05rem/1.3 var(--display); color: var(--indigo-deep); margin-bottom: .15rem; }
.facts p { color: var(--muted); font-size: .96rem; }
@media (min-width: 900px) { .sf-grid { grid-template-columns: 1.1fr 1fr; gap: 4rem; } }

/* FAQ */
.faq { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.faq-grid { display: grid; gap: 2rem; }
.faq-photo { margin-top: 1.6rem; max-width: 340px; border: 2px solid var(--rail); }
.faq-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.faq-list { border-top: 2px solid var(--rail); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 60px; padding: 1rem 0; cursor: pointer; list-style: none; font: 700 1.12rem/1.3 var(--display); color: var(--indigo-deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--orange); transition: transform .25s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 2rem 1.2rem 0; color: var(--muted); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.5fr; gap: 4rem; } }
@media (max-width: 899px) { .faq-photo { display: none; } }

/* Visit */
.visit { background: var(--indigo-deep); color: #eef0f7; padding: clamp(4.5rem, 9vw, 7rem) 0; }
.visit h2 { color: #fff; } .visit h2 span { color: #f0b58f; }
.visit-grid { display: grid; gap: 2.6rem; align-items: center; }
.open-now { display: inline-flex; align-items: center; gap: .6rem; margin: 1.2rem 0 1.6rem; padding: .5rem .9rem; border: 1px solid rgba(255, 255, 255, .3); font-weight: 600; }
.open-now .dot { width: 10px; height: 10px; border-radius: 50%; background: #9aa3bd; }
.open-now.is-open .dot { background: #59c08a; }
.contact-cards { font-style: normal; display: grid; grid-template-columns: minmax(0, 1fr); gap: .8rem; }
.contact-card { padding: 1.2rem 1.3rem; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .04); }
.contact-card h3 { font: 700 .76rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #f0b58f; margin-bottom: .45rem; }
.contact-card p { overflow-wrap: anywhere; }
.contact-card a { color: #fff; font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }
.contact-card > a { display: inline-block; margin-top: .6rem; }
.visit-photo { max-width: 420px; border: 2px solid var(--sand); }
.visit-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (min-width: 640px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-card.wide { grid-column: 1 / -1; } }
@media (min-width: 980px) { .visit-grid { grid-template-columns: 1.3fr 1fr; gap: 4rem; } .visit-photo { justify-self: end; } }

/* Policies */
.policies { padding: 3.2rem 0; background: var(--sand-pale); }
.policy-list { display: grid; gap: 2rem; }
.policy-list h2 { font-size: 1.4rem; margin-bottom: .5rem; }
.policy-list p { color: var(--muted); font-size: .96rem; }
.policy-list a { display: inline-block; margin-top: .6rem; font-weight: 700; color: var(--indigo); text-underline-offset: 4px; }
@media (min-width: 800px) { .policy-list { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* Footer: the rail, emptied for the day */
.footer { background: var(--rail); color: #e9e4d8; padding: 3rem 0 2rem; }
.foot-top { display: grid; gap: 1.2rem; }
.foot-hangers { width: 100%; max-width: 600px; height: auto; fill: none; stroke: var(--sand); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: .8; }
.foot-big { font: 800 clamp(1.5rem, 3vw, 2.2rem)/1.15 var(--display); color: #fff; }
.foot-big span { color: #f0b58f; }
.foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; margin-top: 2.6rem; }
.footer h2 { font: 700 .76rem/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; color: #f0b58f; margin-bottom: .8rem; }
.footer li + li { margin-top: .4rem; }
.footer a { text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { text-decoration: underline; color: #fff; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .86rem; color: #bdb6a6; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: repeat(4, 1fr); } }

/* Cart drawer */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(21, 21, 21, .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: 160; width: min(430px, 100%); display: flex; flex-direction: column; background: var(--paper); border-left: 2px solid var(--rail); transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility .35s; }
.cart-sidebar.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.3rem; background: var(--rail); color: #fff; }
.cart-head h2 { font-size: 1.6rem; color: #fff; }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.cart-items { flex: 1; overflow-y: auto; padding: .6rem 1.3rem; }
.cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border: 2px solid var(--rail); }
.cart-item h3 { font: 700 1rem/1.25 var(--display); color: var(--indigo-deep); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: .5rem; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--indigo); }
.qty button { width: 38px; height: 38px; }
.qty output { min-width: 2ch; text-align: center; font-weight: 700; }
.cart-item-sub { font-weight: 700; color: var(--indigo-deep); }
.cart-remove { margin-top: .35rem; padding: .3rem 0; background: none; border: 0; font-size: .84rem; color: var(--muted); text-decoration: underline; }
.cart-empty { padding: 3rem 0; text-align: center; }
.cart-empty p { font: 700 1.3rem/1.3 var(--display); margin-bottom: 1.2rem; color: var(--indigo-deep); }
.cart-foot { padding: 1.2rem 1.3rem 1.4rem; border-top: 2px solid var(--rail); background: var(--sand); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.cart-total .price { font-size: 1.35rem; }
.cart-foot .btn { width: 100%; }
.cart-foot p { margin-top: .8rem; font-size: .84rem; color: var(--muted); text-align: center; }

/* Order page */
.order-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.order-intro { max-width: 40rem; margin-bottom: 2.2rem; }
.order-intro h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); margin-bottom: .9rem; }
.order-intro .lede { color: var(--muted); }
.order { display: grid; gap: 2rem; align-items: start; }
.order-form { background: var(--paper); border: 2px solid var(--rail); padding: 2rem clamp(1.1rem, 4vw, 2.2rem); }
.order-form h2, .summary h2 { font-size: 1.7rem; margin-bottom: 1.3rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; font: 400 1rem/1.4 var(--text); color: var(--ink); background: #fff; border: 2px solid var(--line-strong); border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { margin-top: .35rem; font-size: .84rem; color: var(--muted); }
.field-error { margin-top: .35rem; font-size: .88rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.order-submit { width: 100%; margin-top: .6rem; }
.summary { background: var(--indigo); color: #eef0f7; padding: 2rem clamp(1.1rem, 4vw, 2rem); }
.summary h2 { color: #fff; }
.summary table { width: 100%; border-collapse: collapse; }
.summary td { padding: .8rem 0; border-bottom: 1px solid rgba(255, 255, 255, .18); vertical-align: top; }
.summary td small { display: block; margin-top: .2rem; color: #cdd2e2; font-size: .84rem; }
.summary td:last-child { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 1rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; }
.summary-total .price { font-size: 1.5rem; color: #f0b58f; }
.summary-note { margin-top: 1.2rem; }
.summary-note a { color: #f0b58f; text-underline-offset: 4px; }
.sent { max-width: 44rem; background: var(--paper); border: 2px solid var(--rail); padding: 2.4rem clamp(1.1rem, 4vw, 2.4rem); }
.sent h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: 1rem; }
.sent-copy { margin-top: 2rem; }
.sent-copy pre { margin-top: 1rem; padding: 1rem; background: var(--sand-pale); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; font-size: .86rem; }
@media (min-width: 900px) { .order { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .summary { position: sticky; top: 96px; } }

/* Legal pages */
.legal-head { background: var(--sand); border-bottom: 2px solid var(--rail); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.4rem, 5vw, 3.5rem); }
.legal-head h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); }
.legal-body { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.5rem; margin: 2.2rem 0 .7rem; }
.legal p + p { margin-top: .9rem; }
.legal ul { padding-left: 1.3rem; list-style: disc; margin-top: .6rem; }
.legal li + li { margin-top: .45rem; }
.legal a { color: var(--indigo); text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
