/* bandanaproducts.com — one stylesheet for every page. No JS, no third-party requests. */
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/bodoni-moda-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #472913;
  --surface: #55321a;
  --ink: #e4e0cf;
  --muted: #c8b79c;
  --accent: #525e1b;
  --accent-ink: #e4e0cf;
  --ochre: #c79a3e;
  --ochre-ink: #2b170a;
  --paper: #efe9d8;
  --paper-ink: #2b170a;
  --paper-muted: #5a4632;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --text: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);

  --margin: clamp(20px, 4vw, 32px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--step-body);
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ochre); }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
::selection { background: var(--ochre); color: var(--ochre-ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; line-height: 0.95; margin: 0; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--margin); top: var(--margin); background: var(--ochre); color: var(--ochre-ink); padding: 8px 12px; z-index: 10; }

/* ---------- Home: the split stage ---------- */
.stage { display: grid; grid-template-columns: minmax(0, 1fr); }
.stage__picture {
  margin: 12px 12px 0;
  height: 52svh;
  background: var(--ochre);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.stage__picture img { width: 100%; height: 100%; object-fit: cover; }
.stage__column { padding: 0 var(--margin) 0; min-width: 0; }

.bar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px var(--margin);
  font-size: var(--step-small);
}
.bar__links { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; margin: 0; padding: 0; }
.bar__links a { text-decoration: none; }
.bar__links a:hover { text-decoration: underline; }
.bar__name { font-family: var(--display); font-size: 1.25rem; text-decoration: none; }
.stage .bar { padding-inline: 0; }
.bar__links .only-wide { display: none; }

.hero { padding: 8px 0 96px; }
.hero h1 {
  font-size: clamp(3.25rem, 17vw, 10rem);
  letter-spacing: -0.04em;
  line-height: 0.85;
  margin: -0.42em 0 32px;
  position: relative;
}
.hero h1 span { display: block; }
.hero__lead { font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; margin: 0 0 32px; }
.button {
  display: inline-block;
  background: var(--accent); color: var(--accent-ink);
  padding: 14px 24px; text-decoration: none; font-weight: 500;
  transition: background-color .15s ease, transform .15s ease;
}
.button:hover { background: #606d22; color: var(--accent-ink); }
.button:active { transform: translateY(1px); }

.section { padding: 0 0 120px; max-width: 46ch; }
.section h2 { font-size: var(--step-head); margin: 0 0 32px; }
.section p { max-width: 46ch; }
.lead { font-size: var(--step-lead); line-height: 1.35; }

.things { list-style: none; margin: 0 0 24px; padding: 0; font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); line-height: 1.15; }
.things li { padding: 6px 0; }
.brands { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 32px 0 0; }
.brand { background: var(--surface); padding: 24px; }
.brand h3 { font-size: var(--step-lead); margin: 0 0 8px; line-height: 1.1; }
.brand p { margin: 0; color: var(--muted); }

.stores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; font-size: var(--step-lead); }
.stores li { padding: 8px 0; }

.contact { background: var(--ochre); color: var(--ochre-ink); padding: 40px 24px; margin: 0 calc(var(--margin) * -1) 0; max-width: none; }
.contact h2 { margin-bottom: 24px; }
.contact a { color: var(--ochre-ink); }
.contact a:hover { color: var(--bg); }
.contact address { font-style: normal; }
.contact .big { font-family: var(--display); font-size: clamp(1.25rem, 0.9rem + 1.4vw, 2rem); line-height: 1.1; display: inline-block; margin: 0 0 24px; overflow-wrap: anywhere; }

.foot { padding: 64px 0 40px; font-size: var(--step-small); color: var(--muted); }
.foot__name { font-family: var(--display); color: var(--ink); font-size: clamp(2.5rem, 13vw, 7rem); letter-spacing: -0.04em; line-height: 0.9; margin: 0 0 24px; }
.foot ul { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px 20px; }

@media (min-width: 960px) {
  .stage { grid-template-columns: 47fr 53fr; }
  .stage__picture {
    position: sticky; top: 0;
    height: calc(100svh - 40px);
    margin: 20px 0 20px 20px;
  }
  .stage__column { padding: 0 clamp(32px, 5vw, 72px); }
  .stage .bar { padding: 32px 0; justify-content: flex-end; }
  .stage .bar__name { display: none; }
  .bar__links { gap: 8px 28px; font-size: 15px; }
  .bar__links .only-wide { display: inline; }
  .hero { min-height: calc(100svh - 100px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 40px; }
  .hero h1 { margin: 0; font-size: clamp(5rem, 8vw, 9rem); order: 2; }
  .hero__lead { order: 1; margin: auto 0 48px; }
  .hero .button { order: 1; align-self: flex-start; margin-bottom: 64px; }
  .section { padding-bottom: 180px; }
  .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { margin: 0; padding: 56px; }
}

/* entrance: content is visible without it; it only drops in once */
@media (prefers-reduced-motion: no-preference) {
  .hero h1, .hero__lead, .hero .button { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero__lead { animation-delay: .08s; }
  .hero .button { animation-delay: .16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
}

/* ---------- Legal pages: one reading column on paper ---------- */
.legal-band { height: 28px; background: var(--ochre) url("/assets/band.svg") repeat-x center / auto 28px; }
.legal { background: var(--paper); color: var(--paper-ink); }
.legal .bar { color: var(--paper-ink); }
.legal a:hover { color: var(--accent); }
.legal :focus-visible { outline-color: var(--accent); }
.doc { padding: 24px var(--margin) 120px; max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: clamp(2.25rem, 1.4rem + 4vw, 4rem); margin: 24px 0 16px; }
.doc .updated { color: var(--paper-muted); font-size: var(--step-small); margin-bottom: 40px; }
.doc h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.1; margin: 56px 0 16px; }
.doc h3 { font-family: var(--text); font-weight: 500; font-size: var(--step-body); letter-spacing: 0.01em; line-height: 1.4; margin: 24px 0 8px; }
.doc ul, .doc ol { padding-left: 1.25em; margin: 0 0 1em; }
.doc li { margin: 0 0 0.4em; }
.doc .box { background: #e3dbc4; padding: 20px 24px; margin: 24px 0; }
.doc .box p:last-child { margin: 0; }
.doc table { border-collapse: collapse; width: 100%; margin: 16px 0 24px; font-size: 0.95em; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid #cfc4a8; }
.doc th { font-weight: 500; }
.table-wrap { overflow-x: auto; }
.legal .foot { color: var(--paper-muted); padding: 48px var(--margin); max-width: 760px; margin: 0 auto; }
.legal .foot__name { color: var(--paper-ink); font-size: clamp(2rem, 8vw, 4rem); }
