/* DAYOFF — site styles */
:root {
  --bg: #F5F3EF;
  --ink: #1C1B19;
  --muted: #5C574F;
  --soft: #E9E5DE;
  --panel: #ECE9E3;
  --line: #E1DCD3;
  --dark: #3A342D;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 12px; letter-spacing: 0.06em; line-height: 1.5; }
img { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: #6B655C; }

.caps { text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); letter-spacing: 0; }

/* Announcement + header */
.announce { background: var(--soft); color: #3A3732; text-align: center; padding: 10px 16px; }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 22px 40px; }
.nav-links { display: flex; gap: 28px; flex-wrap: wrap; }
.nav-links a, .nav-right a { text-decoration: none; }
.nav-right { display: flex; justify-content: flex-end; gap: 28px; }
.wordmark { text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: 0.32em; padding-left: 0.32em; }

/* Hero */
.hero { position: relative; background: #D8D2C8; height: min(760px, 88vh); min-height: 520px; overflow: hidden; }
.hero img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -48%); height: 86%; width: auto; max-width: 92%; object-fit: contain; }
.hero-text { position: absolute; left: 40px; bottom: 40px; display: flex; flex-direction: column; gap: 14px; }
.hero-text h1 { margin: 0; font-weight: 400; font-size: 34px; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-text a { text-underline-offset: 6px; }

/* Sections */
.section { padding: 88px 40px 40px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-weight: 400; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 6px; }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 14px; padding-bottom: 24px; }
.card .frame { background: var(--panel); aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card .frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .frame img { transform: scale(1.03); }
.card .info { display: flex; flex-direction: column; gap: 5px; padding: 0 2px; }
.card .name { text-transform: uppercase; letter-spacing: 0.08em; }
.soon .frame img { opacity: 0.45; filter: grayscale(1); }
.frame.placeholder { border: 1px dashed #CFC8BC; background: transparent; }

.story { display: flex; flex-wrap: wrap; margin-top: 64px; }
.story .pic { flex: 1 1 480px; background: var(--dark); min-height: 600px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.story .pic img { width: 100%; height: 100%; object-fit: cover; }
.story .copy { flex: 1 1 420px; display: flex; align-items: center; padding: 64px 40px; }
.story .copy > div { max-width: 440px; display: flex; flex-direction: column; gap: 22px; }
.story h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 42px; line-height: 1.1; letter-spacing: 0; }
.story p { margin: 0; font-size: 14px; line-height: 1.8; letter-spacing: 0.01em; color: #3A3732; }

.details { padding: 96px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; border-bottom: 1px solid var(--line); }
.details p { margin: 10px 0 0; font-size: 13px; line-height: 1.75; letter-spacing: 0.01em; color: #4A463F; }

.signup { padding: 96px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.signup p.lead { margin: 0; font-family: var(--serif); font-size: 26px; letter-spacing: 0; }
.signup form { display: flex; flex-wrap: wrap; width: 100%; max-width: 480px; margin-top: 12px; border-bottom: 1px solid var(--ink); }
.signup input[type=email] { flex: 1 1 240px; min-height: 48px; padding: 0 4px; border: 0; background: transparent; font: 13px var(--sans); letter-spacing: 0.04em; color: var(--ink); outline: none; }
.signup button { min-height: 48px; padding: 0 4px 0 16px; border: 0; background: transparent; color: var(--ink); font: 11px var(--sans); letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Footer */
footer { background: var(--soft); }
.foot-cols { padding: 56px 40px 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.foot-cols div { display: flex; flex-direction: column; gap: 12px; }
.foot-cols a { text-decoration: none; color: #4A463F; }
.foot-base { padding: 24px 40px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: baseline; }
.foot-base .wordmark { font-size: 22px; padding-left: 0; }

/* Product page */
.crumb { padding: 8px 40px 20px; color: var(--muted); }
.crumb a { color: var(--muted); text-decoration: none; }
.product { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 40px 96px; align-items: flex-start; }
.gallery { flex: 999 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 6px; }
.gallery .frame { background: var(--panel); aspect-ratio: 3 / 4; overflow: hidden; }
.gallery .frame img { width: 100%; height: 100%; object-fit: cover; }
.buy { flex: 1 1 360px; min-width: 0; padding: 8px 0 0 40px; display: flex; flex-direction: column; gap: 28px; position: sticky; top: 24px; }
.buy h1 { margin: 0; font-weight: 400; font-size: 22px; letter-spacing: 0.12em; text-transform: uppercase; }
.price { font-size: 14px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; outline: 1px solid var(--ink); outline-offset: 3px; }
.sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.sizes button { min-height: 46px; border: 1px solid #CFC8BC; background: transparent; color: var(--ink); font: 12px var(--sans); letter-spacing: 0.1em; cursor: pointer; }
.sizes button[aria-pressed=true] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cta { min-height: 54px; border: 0; background: var(--ink); color: var(--bg); font: 11px var(--sans); letter-spacing: 0.22em; text-transform: uppercase; cursor: pointer; width: 100%; }
.cta:disabled { background: #8A847A; cursor: default; }
.quote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.45; letter-spacing: 0; }
details { border-bottom: 1px solid #DCD6CC; }
details:first-of-type { border-top: 1px solid #DCD6CC; }
summary { list-style: none; min-height: 52px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; }
details[open] summary::after { content: '−'; }
details p { margin: 0 0 18px; font-size: 13px; line-height: 1.75; letter-spacing: 0.01em; color: #4A463F; }

.thanks { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 18px; padding: 80px 24px; }
.thanks h1 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 48px; letter-spacing: 0; }

@media (max-width: 760px) {
  .nav { padding: 18px 20px; grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .wordmark { font-size: 22px; }
  .hero-text { left: 20px; bottom: 24px; }
  .hero-text h1 { font-size: 26px; }
  .section, .details, .signup { padding-left: 20px; padding-right: 20px; }
  .story .copy { padding: 48px 20px; }
  .story .pic { min-height: 420px; }
  .product, .crumb { padding-left: 20px; padding-right: 20px; }
  .buy { padding: 24px 0 0; position: static; }
  .foot-cols, .foot-base { padding-left: 20px; padding-right: 20px; }
}

/* Bag */
.added { font-size: 10px; color: var(--muted); }
.added a { color: var(--ink); }
.bag { max-width: 1100px; margin: 0 auto; padding: 56px 24px 96px; }
.bag h1 { margin: 0 0 36px; font-family: var(--serif); font-weight: 500; font-size: 40px; }
.bag-empty { display: flex; flex-direction: column; gap: 16px; padding: 40px 0; }
.bag-empty[hidden], .bag-summary[hidden] { display: none; }
.bag-wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.bag-lines { flex: 1 1 520px; min-width: 0; border-top: 1px solid rgba(28,27,25,.14); }
.bag-line { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid rgba(28,27,25,.14); }
.bag-thumb { width: 96px; flex: none; background: var(--panel); aspect-ratio: 4/5; overflow: hidden; }
.bag-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bag-info { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.bag-info .name { text-decoration: none; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.qty { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.qty button { width: 30px; height: 30px; border: 1px solid rgba(28,27,25,.3); background: none; cursor: pointer; font: 14px var(--sans); color: var(--ink); }
.qty .remove { width: auto; height: auto; border: 0; margin-left: 12px; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; text-decoration: underline; color: var(--muted); }
.bag-price { font-size: 13px; }
.bag-summary { flex: 0 1 340px; background: var(--panel); padding: 28px; display: flex; flex-direction: column; gap: 14px; font-size: 13px; }
.bag-summary .row { display: flex; justify-content: space-between; }
.bag-summary .total-row { border-top: 1px solid rgba(28,27,25,.18); padding-top: 14px; font-weight: 500; }
.ship-note { font-size: 10px; margin: 0; color: var(--muted); }
.checkout-msg { margin: 0; font-size: 12px; color: #8A2E1F; }
.checkout-msg:empty { display: none; }
.fine { font-size: 11px; line-height: 1.6; margin: 0; }
@media (max-width: 700px) { .bag-summary { flex-basis: 100%; } .bag h1 { font-size: 32px; } }
