/* ===== SAILESS — streetwear surf =====
   Change these to restyle the whole site */
:root {
  --ink: #1d2445;       /* deep night-ocean navy */
  --paper: #fcf1cf;     /* warm sandy yellow */
  --white: #fffbea;
  --muted: #4a4f66;
  --acid: #ff8fab;      /* sunset pink highlight */
  --sea: #2b7a9b;       /* ocean blue */
  --hot: #7b5ea7;       /* dusk purple (satire accent) */
  --sunset: linear-gradient(180deg, #2a2d63 0%, #7b5ea7 40%, #ff8fab 72%, #ffd6e0 100%);
  --display: "Covered By Your Grace", cursive;   /* handwritten headings */
  --body: "Caprasimo", Georgia, serif;           /* chunky body text */
  --hand: "Covered By Your Grace", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--paper); color: var(--ink); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: none; line-height: 1.1; letter-spacing: 0.01em; }
h2 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
.hand { font-family: var(--hand); text-transform: none; }

/* ===== Announcement ===== */
.announce {
  background: var(--ink);
  color: var(--acid);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: none;
  padding: 0.55rem 1rem;
}

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 2rem;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  background: var(--white);
  border-bottom: 3px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand span { font-family: var(--display); font-size: 1.9rem; text-transform: none; letter-spacing: 0.04em; }
.menu { display: flex; gap: 1.6rem; flex: 1; }
.menu a { font-weight: 700; text-transform: none; font-size: 0.9rem; letter-spacing: 0.08em; }
.menu a:hover, .menu a.active { background: var(--acid); }
.menu a.satire-link { color: var(--hot); }
.cart { position: relative; display: grid; place-items: center; background: none; border: none; color: var(--ink); cursor: pointer; padding: 4px; }
.cart:hover { color: var(--sea); }

/* ===== Slide-out cart ===== */
.cart-overlay { position: fixed; inset: 0; background: rgba(29, 36, 69, 0.45); z-index: 40; }
.cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(420px, 100%);
  background: var(--white);
  border-left: 3px solid var(--ink);
  display: flex; flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.25s ease;
}
.cart-panel.open { transform: none; box-shadow: -8px 0 0 var(--acid); }
.cart-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 1.4rem; border-bottom: 3px solid var(--ink);
  background: var(--sunset); color: var(--white);
}
.cart-head h2 { font-size: 2.2rem; }
.cart-close { background: none; border: none; color: inherit; font-size: 1.6rem; cursor: pointer; }
.cart-items { flex: 1; overflow-y: auto; padding: 0.5rem 1.4rem; }
.cart-item {
  display: grid; grid-template-columns: 1fr auto; gap: 0.3rem 1rem; align-items: center;
  padding: 1rem 0; border-bottom: 2px dashed var(--ink);
}
.cart-name { font-family: var(--display); font-size: 1.35rem; line-height: 1.15; }
.cart-price { color: var(--muted); font-size: 0.9rem; }
.cart-qty { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.cart-qty button { background: var(--white); border: none; width: 32px; height: 32px; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.cart-qty button:hover { background: var(--acid); }
.cart-qty span { min-width: 26px; text-align: center; font-weight: 700; }
.cart-remove { grid-column: 1 / -1; justify-self: start; background: none; border: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-family: var(--body); font-size: 0.85rem; padding: 0; }
.cart-remove:hover { color: var(--hot); }
.cart-empty { text-align: center; padding: 3rem 0; font-family: var(--display); font-size: 1.6rem; line-height: 1.3; }
.cart-foot { border-top: 3px solid var(--ink); padding: 1.2rem 1.4rem; display: grid; gap: 0.6rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.15rem; }
.cart-note { font-size: 0.85rem; color: var(--muted); }
.cart-checkout { width: 100%; text-align: center; }
.cart-clear { background: none; border: none; color: var(--muted); text-decoration: underline; cursor: pointer; font-family: var(--body); font-size: 0.85rem; }
.cart .count {
  position: absolute; top: -7px; right: -10px;
  min-width: 19px; height: 19px; padding: 0 4px;
  border-radius: 999px; background: var(--acid); color: var(--ink);
  border: 2px solid var(--ink);
  font-size: 0.7rem; font-weight: 700; display: grid; place-items: center;
}

/* ===== Marquee ===== */
.marquee {
  overflow: hidden; white-space: nowrap;
  background: var(--acid);
  border-bottom: 3px solid var(--ink);
  padding: 0.7rem 0;
  font-family: var(--display);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}
.marquee .track { display: inline-block; animation: scroll 20s linear infinite; }
.marquee.hot { background: var(--hot); color: var(--white); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 3px solid var(--ink);
  min-height: clamp(420px, 70vh, 680px);
  display: grid;
  align-items: end;
}
.hero-art { position: absolute; inset: 0; }
.hero-art svg { width: 100%; height: 100%; }
.hero-text { position: relative; padding: clamp(1.5rem, 5vw, 3.5rem); max-width: 1200px; width: 100%; margin: 0 auto; }
.hero h1 { font-size: clamp(4rem, 15vw, 11rem); }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--paper); }
.hero h1, .hero p { text-shadow: 0 2px 18px rgba(29, 36, 69, 0.45); }
.hero p { font-size: 1.15rem; max-width: 40ch; margin: 1rem 0 1.6rem; color: #fff1f5; }
.sticker {
  position: absolute;
  top: 12%; right: 6%;
  background: var(--acid);
  color: var(--ink);
  font-family: var(--hand);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  padding: 0.8rem 1.2rem;
  border: 3px solid var(--ink);
  border-radius: 50%;
  transform: rotate(12deg);
  box-shadow: 4px 4px 0 var(--paper);
  text-align: center;
  line-height: 1.1;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  padding: 0.9rem 1.7rem;
  border: 3px solid var(--ink);
  background: var(--acid);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.12s, box-shadow 0.12s;
}
.hero .btn { box-shadow: 4px 4px 0 var(--paper); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn.small { padding: 0.6rem 1.1rem; font-size: 0.8rem; }
.btn.dark { background: var(--ink); color: var(--acid); }
.btn:disabled { background: transparent; color: var(--muted); cursor: not-allowed; box-shadow: none; transform: none; border-style: dashed; }

/* ===== Sections ===== */
.section { padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem); max-width: 1200px; margin: 0 auto; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 2.5rem; }
.lead { font-size: 1.05rem; color: var(--muted); max-width: 46ch; }

/* ===== Category filters ===== */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: -1rem 0 2.2rem; }
.chip {
  font-family: var(--body);
  font-size: 0.95rem;
  padding: 0.45rem 1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.chip:hover { background: var(--acid); }
.chip.on { background: var(--ink); color: var(--white); }
.product[hidden] { display: none; }

/* ===== Products ===== */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.6rem; }
.product { display: flex; flex-direction: column; gap: 0.35rem; }
.product h3 { font-size: 1.5rem; margin-top: 0.7rem; }
.product .price { font-weight: 700; margin-bottom: 0.6rem; }
.product .price s { color: var(--muted); font-weight: 400; margin-left: 0.4rem; }
.product .btn { align-self: flex-start; }
.thumb {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--white);
  border: 3px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  display: grid; place-items: center;
  overflow: hidden;
}
.thumb.grid-bg { background: var(--white); }   /* plain — no grid squares */
.thumb svg { width: 78%; transition: transform 0.3s; }
.product:hover .thumb svg { transform: scale(1.06) rotate(-3deg); }
.garment, .hood { fill: var(--c); stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.string { stroke: var(--acid); stroke-width: 2.5; stroke-linecap: round; }
.print { font-family: var(--display); text-anchor: middle; }
.badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--acid); border: 2px solid var(--ink);
  padding: 0.15rem 0.6rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: none;
  transform: rotate(-4deg);
}
.badge.hot { background: var(--hot); color: var(--white); }
.badge.sold { background: var(--white); }

/* ===== Feature banner (Tung Tung) ===== */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--ink);
  color: var(--paper);
  border: 3px solid var(--ink);
  padding: clamp(1.5rem, 4vw, 3rem);
  margin-top: 4rem;
  box-shadow: 8px 8px 0 var(--acid);
}
.feature h3 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.feature h3 em { font-style: normal; color: var(--acid); }
.feature p { color: #cfcfcf; margin: 1rem 0 1.5rem; max-width: 42ch; }
.feature .thumb { box-shadow: 6px 6px 0 var(--acid); max-width: 360px; justify-self: center; width: 100%; }

/* ===== About ===== */
.about {
  display: grid;
  grid-template-columns: minmax(220px, 380px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.about p { font-size: 1.08rem; margin-top: 1rem; max-width: 58ch; }
.about-art {
  aspect-ratio: 1;
  background: var(--acid);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 10%;
  transform: rotate(-2deg);
}

/* ===== FAQ ===== */
.faq { max-width: 820px; margin: 0 auto; border-top: 3px solid var(--ink); }
.faq details { border-bottom: 3px solid var(--ink); padding: 1.1rem 0.2rem; }
.faq summary {
  font-family: var(--display); font-size: 1.5rem; text-transform: none;
  cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 2rem; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 0.6rem; }
.center { text-align: center; }

/* ===== Newsletter ===== */
.join-wrap { background: linear-gradient(120deg, #ffb3c6, #c9a7e8 55%, #8fc3dd); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); }
.join { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: center; }
.join p { font-weight: 500; }
.email-line { margin-top: 0.6rem; }
.email-line a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.signup { flex: 1; max-width: 520px; display: flex; border: 3px solid var(--ink); background: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.signup input { flex: 1; border: none; background: transparent; font-family: var(--body); font-size: 1rem; padding: 0 1rem; outline: none; min-width: 0; }
.signup .btn { box-shadow: none; border-width: 0 0 0 3px; background: var(--ink); color: var(--acid); }
.thanks { padding: 0.8rem 1rem; font-family: var(--hand); font-size: 1.3rem; }

/* ===== Satire page ===== */
.satire-hero {
  background: linear-gradient(160deg, #2a2d63, #7b5ea7 60%, #ff8fab);
  color: var(--white);
  border-bottom: 3px solid var(--ink);
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.satire-hero h1 { font-size: clamp(3.4rem, 12vw, 9rem); }
.satire-hero p { font-size: 1.15rem; max-width: 46ch; margin: 1rem auto 0; }
.satire-hero .stamp {
  display: inline-block;
  font-family: var(--hand);
  font-size: 1.3rem;
  background: var(--white); color: var(--ink);
  border: 3px solid var(--ink);
  padding: 0.3rem 1rem;
  transform: rotate(-4deg);
  margin-bottom: 1.2rem;
}
.disclaimer {
  max-width: 760px;
  margin: 0 auto;
  border: 3px dashed var(--ink);
  padding: 1.2rem 1.5rem;
  background: var(--white);
  font-size: 0.95rem;
}
.disclaimer strong { font-family: var(--display); font-size: 1.2rem; text-transform: none; font-weight: 400; }
.quip { font-family: var(--hand); color: var(--hot); font-size: 1rem; }

/* ===== Serious Collection page: calm, minimal ===== */
body.serious { background: #f8f0d8; }
.serious .announce { background: #1f1f22; color: #f7f5f1; }
.serious h1, .serious h2, .serious h3 { font-family: var(--body); }
.serious-hero {
  padding: clamp(4rem, 10vw, 7rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 1200px; margin: 0 auto;
  border-bottom: 1px solid #d8d3ca;
}
.serious-hero .kicker { text-transform: uppercase; letter-spacing: 0.25em; font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
.serious-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); max-width: 14ch; }
.serious-hero p:last-child { color: var(--muted); max-width: 52ch; margin-top: 1.2rem; font-size: 1.05rem; }
.serious .section h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.serious .thumb { border: 1px solid #d8d3ca; box-shadow: none; background: #fffbea; }
.serious .product:hover .thumb svg { transform: scale(1.04); }
.serious .product h3 { font-size: 1.05rem; }
.serious .btn { background: #1f1f22; color: #f7f5f1; border: 1px solid #1f1f22; box-shadow: none; border-radius: 0; }
.serious .btn:hover { transform: none; box-shadow: none; background: #3a3a40; }
.serious .join-wrap { background: #ece6da; border-color: #d8d3ca; border-width: 1px 0; }
.serious .signup { box-shadow: none; border-width: 1px; }
.serious .signup .btn { border-width: 0; }
.serious .menu a.active { background: none; text-decoration: underline; text-underline-offset: 5px; }
.serious-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; border-top: 1px solid #d8d3ca; }
.serious-values h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.serious-values p { color: var(--muted); }

/* ===== Footer ===== */
.footer {
  background: var(--ink); color: var(--paper);
  padding: 3rem clamp(1rem, 4vw, 2.5rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: space-between; align-items: center;
}
.footer .brand span { color: var(--acid); }
.footer .brand img { filter: invert(1); }   /* white logo on the black footer */
.wordmark { font-family: var(--hand); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; margin-top: 0.6rem; }
.social { display: flex; flex-wrap: wrap; gap: 1.5rem; font-weight: 700; }
.social a:hover { color: var(--acid); }
.footer p { width: 100%; font-size: 0.85rem; opacity: 0.6; }

/* ===== Mobile ===== */
@media (max-width: 760px) {
  .header { gap: 1rem; flex-wrap: wrap; }
  .menu { order: 3; width: 100%; gap: 1.1rem; overflow-x: auto; }
  .about, .feature { grid-template-columns: 1fr; }
  .about-art { max-width: 280px; }
  .sticker { top: 6%; right: 4%; }
}
