/* ==========================================================================
   Bully Peptides — site.css
   Brand tokens locked to the approved proposal palette.
   Contrast values noted inline are WCAG 2.1 ratios (AA target: 4.5:1 body,
   3:1 large text & UI boundaries).
   ========================================================================== */

:root {
  /* ---- Brand (approved) ---- */
  --rose:        #a86869;  /* primary — decorative fills, large type, borders */
  --blush:       #f8eeed;  /* secondary surface */
  --ink:         #371e18;  /* primary text — 13.5:1 on blush */

  /* ---- Derived, accessibility-driven ---- */
  --rose-deep:   #8f4f50;  /* 6.2:1 on white — links, buttons, small brand text */
  --rose-dark:   #71393a;  /* hover / pressed */
  --rose-tint:   #f2dedd;  /* card wash */
  --rose-line:   #e3c8c7;  /* hairlines, 3:1 vs white for UI boundaries */
  --ink-soft:    #6b5049;  /* 6.4:1 on blush — muted body copy */
  --paper:       #ffffff;
  --paper-warm:  #fdf9f8;

  /* ---- Type ---- */
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --script: "Dancing Script", "Segoe Script", cursive;

  /* ---- Scale & rhythm ---- */
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --sect: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 44px -26px rgba(55, 30, 24, .38);
  --shadow-lift: 0 26px 56px -26px rgba(55, 30, 24, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper-warm);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, picture { max-width: 100%; display: block; }
/* The hidden attribute must beat any display rule further down this file.
   Without this, `display:grid/flex` on a component silently defeats
   element.hidden = true (bit us on the age-gate action row). */
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--rose-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose-dark); }

/* ---------- Focus (visible everywhere, keyboard only) ---------- */
:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: 0; top: 0; z-index: 999;
  transform: translateY(-140%);
  background: var(--ink); color: var(--blush);
  padding: .8rem 1.4rem; font-weight: 600;
  transition: transform .18s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: var(--blush); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--sect); }
.section--blush { background: var(--blush); }
.section--paper { background: var(--paper); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; letter-spacing: -.005em; }
h1 { font-size: clamp(2.75rem, 7vw, 4.75rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.2; }
h4 { font-size: 1.15rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: .74rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 1rem;
}
.script { font-family: var(--script); font-weight: 700; color: var(--rose-deep); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 56ch; }
.muted { color: var(--ink-soft); }

/* ---------- Signature: the spec strip ----------
   Lifted from the client's own printed product cards. Recurs on every
   product card and as a full-width band, tying web to print collateral. */
.spec-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: center;
  gap: .55rem 1rem;
  font-size: .66rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--rose-deep);
}
.spec-strip li { list-style: none; display: inline-flex; align-items: center; gap: .38rem; }
.spec-strip li + li::before {
  content: ""; width: 1px; height: .85em;
  background: var(--rose-line); margin-right: 1rem;
}
.spec-strip svg { width: 13px; height: 13px; flex: none; }

.band-spec {
  background: var(--blush);
  border-block: 1px solid var(--rose-line);
  padding-block: 1.15rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.7rem;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  cursor: pointer; text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--rose-deep); color: var(--paper); }      /* 6.2:1 */
.btn--primary:hover { background: var(--rose-dark); color: var(--paper); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--rose-deep); border-color: var(--rose-deep); }
.btn--outline:hover { background: var(--rose-deep); color: var(--paper); transform: translateY(-2px); }
.btn--onink { background: var(--blush); color: var(--ink); }              /* 13.5:1 */
.btn--onink:hover { background: var(--paper); color: var(--ink); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: .55rem 1.15rem; font-size: .85rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Announcement marquee ---------- */
.marquee {
  background: var(--ink); color: var(--blush);
  overflow: hidden; padding-block: .6rem;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
}
.marquee__track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee__track span { white-space: nowrap; }
.marquee__track span::after { content: "◆"; margin-left: 2.5rem; color: var(--rose); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(253, 249, 248, .93);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--rose-line);
}
.nav { display: flex; align-items: center; gap: 1.25rem; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand img { width: 42px; height: auto; }
.brand__name { font-family: var(--display); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.brand__name small {
  display: block; font-family: var(--body);
  font-size: .55rem; font-weight: 700;
  letter-spacing: .34em; color: var(--rose-deep); margin-top: .18rem;
}
.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: .93rem;
  padding: .4rem 0; border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--rose-deep); border-bottom-color: var(--rose-deep); }
.nav__links a[aria-current="page"] { color: var(--rose-deep); border-bottom-color: var(--rose-deep); }
.nav__actions { display: flex; align-items: center; gap: .6rem; margin-left: 1.25rem; }

.inquiry-btn { position: relative; }
.inquiry-btn .count {
  position: absolute; top: -6px; right: -6px;
  min-width: 21px; height: 21px; padding: 0 5px;
  display: none; place-items: center;
  background: var(--ink); color: var(--blush);
  border-radius: 999px; font-size: .68rem; font-weight: 700;
}
.inquiry-btn .count[data-shown="true"] { display: grid; }

.nav__toggle {
  display: none;
  width: 48px; height: 48px;
  background: none; border: 1px solid var(--rose-line);
  border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle span {
  display: block; width: 19px; height: 2px;
  background: var(--ink); border-radius: 2px;
  position: relative;
}
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 19px; height: 2px; background: var(--ink); border-radius: 2px;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }

@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0;
    background: var(--paper-warm);
    border-bottom: 1px solid var(--rose-line);
    padding: .5rem var(--gutter) 1.5rem;
    margin-left: 0;
    display: none;
  }
  .nav__links[data-open="true"] { display: flex; }
  .nav__links a { padding: .9rem 0; border-bottom: 1px solid var(--rose-line); width: 100%; }
  .nav__actions { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--blush); overflow: hidden; padding-block: clamp(3rem, 7vw, 5.5rem); }
.hero__grid {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1.05fr .95fr; align-items: center;
}
.hero h1 em { font-style: italic; color: var(--rose-deep); }
.hero .script { display: block; font-size: .52em; margin-top: .35rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__figure { position: relative; }
.hero__figure img { width: 100%; height: auto; filter: drop-shadow(0 30px 44px rgba(55, 30, 24, .16)); }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 2.25rem;
  margin-top: 2.5rem; padding-top: 1.75rem;
  border-top: 1px solid var(--rose-line);
}
.hero__stats div b {
  display: block; font-family: var(--display);
  font-size: 1.9rem; font-weight: 700; line-height: 1; color: var(--rose-deep);
}
.hero__stats div span {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--ink-soft);
}
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__figure { order: -1; max-width: 420px; margin-inline: auto; }
}

/* Botanical sprig watermark — ambient, from the print collateral */
.sprig {
  position: absolute; pointer-events: none;
  color: var(--rose); opacity: .16; width: clamp(160px, 22vw, 300px);
}
.sprig--tl { top: -30px; left: -50px; transform: rotate(-18deg); }
.sprig--br { bottom: -50px; right: -40px; transform: rotate(160deg); }

/* ---------- Section heads ---------- */
.sec-head { display: grid; gap: 1.25rem; margin-bottom: 2.75rem; }
.sec-head p { color: var(--ink-soft); max-width: 54ch; }
@media (min-width: 860px) {
  .sec-head { grid-template-columns: 1fr auto; align-items: end; }
  .sec-head p { justify-self: end; text-align: right; }
}

/* ---------- Feature cards ---------- */
.features { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); }
.feature {
  background: var(--paper); border: 1px solid var(--rose-line);
  border-radius: var(--radius-lg); padding: 2rem 1.6rem;
}
.feature__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--rose-tint); color: var(--rose-dark);
  margin-bottom: 1.15rem;
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: .5rem; }
.feature p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Product grid ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2.25rem; }
.chip {
  min-height: 42px; padding: .5rem 1.15rem;
  border: 1px solid var(--rose-line); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: .87rem; font-weight: 600; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.chip:hover { border-color: var(--rose-deep); color: var(--rose-deep); }
.chip[aria-pressed="true"] { background: var(--rose-deep); border-color: var(--rose-deep); color: var(--paper); }

.product-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  list-style: none;
}
.pcard {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--rose-line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: var(--rose); }
.pcard__media {
  position: relative; display: grid; place-items: center;
  min-height: 232px; padding: 1.5rem;
  background: linear-gradient(170deg, var(--blush), var(--rose-tint));
}
/* Source vials are 130×270 — cap display width so they stay crisp. */
.pcard__media img { width: auto; max-height: 200px; }
.pcard__flag {
  position: absolute; top: .85rem; right: .85rem;
  background: var(--paper); color: var(--rose-dark);
  border: 1px solid var(--rose-line); border-radius: 999px;
  padding: .28rem .7rem;
  font-size: .6rem; font-weight: 800; letter-spacing: .12em;
}
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.35rem 1.2rem; }
.pcard__cat {
  font-size: .64rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--rose-deep); margin-bottom: .55rem;
}
.pcard__name { font-size: 1.4rem; margin-bottom: .1rem; }
.pcard__size { font-size: .82rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .05em; }
.pcard__desc { font-size: .89rem; color: var(--ink-soft); margin-top: .7rem; flex: 1; }
.pcard__strip {
  margin-top: 1.1rem; padding-top: .85rem;
  border-top: 1px solid var(--rose-line);
  justify-content: flex-start; font-size: .58rem;
}
.pcard__strip li + li::before { margin-right: .7rem; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
.pcard__price { font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.pcard__price small { font-family: var(--body); font-size: .68rem; font-weight: 700; color: var(--ink-soft); display: block; letter-spacing: .08em; }

.empty-state {
  grid-column: 1 / -1; text-align: center;
  padding: 3rem 1rem; color: var(--ink-soft);
  border: 1px dashed var(--rose-line); border-radius: var(--radius-lg);
}

/* ---------- Compliance callout ---------- */
.compliance {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.compliance__item {
  background: var(--paper); border: 1px solid var(--rose-line);
  border-left: 3px solid var(--rose-deep);
  border-radius: 6px; padding: 1.5rem;
}
.compliance__item h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.compliance__item p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--blush); text-align: center; }
.cta-band h2 { color: var(--blush); }
.cta-band p { color: #e6d3d0; max-width: 52ch; margin: 1rem auto 2rem; }  /* 9.4:1 on ink */
.cta-band .script { color: #e8b9b6; }                                      /* 6.9:1 on ink */

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; gap: 1.15rem; }
@media (min-width: 680px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.field .req { color: var(--rose-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem;
  background: var(--paper);
  border: 1px solid #c9a9a8;              /* 3.1:1 vs white — AA non-text */
  border-radius: 10px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 3px rgba(143, 79, 80, .18);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 116px; }
.field__hint { font-size: .78rem; color: var(--ink-soft); }
.field__error { font-size: .8rem; font-weight: 600; color: #a3282b; }   /* 6.3:1 on white */
.field[data-invalid="true"] input,
.field[data-invalid="true"] textarea { border-color: #a3282b; }

.check { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-size: .89rem; }
.check input { width: 24px; height: 24px; margin-top: .1rem; accent-color: var(--rose-deep); }

.disclosure {
  max-height: 190px; overflow-y: auto;
  background: var(--blush); border: 1px solid var(--rose-line);
  border-radius: 10px; padding: 1.1rem;
  font-size: .84rem; line-height: 1.6; color: var(--ink-soft);
}

.form-status { padding: 1rem 1.2rem; border-radius: 10px; font-size: .92rem; font-weight: 600; }
.form-status[data-tone="ok"] { background: #e8f2e9; color: #1f5b2c; border: 1px solid #b9d8be; }
.form-status[data-tone="err"] { background: #fbeaea; color: #8f2226; border: 1px solid #e6bfc0; }

/* ---------- Inquiry tray ---------- */
.tray-list { display: grid; gap: .6rem; margin-bottom: 1.25rem; }
.tray-item {
  display: flex; align-items: center; gap: .85rem;
  background: var(--blush); border: 1px solid var(--rose-line);
  border-radius: 10px; padding: .65rem .85rem;
}
.tray-item img { width: 30px; height: auto; }
.tray-item .nm { flex: 1; font-size: .9rem; font-weight: 600; }
.tray-item .qty { display: inline-flex; align-items: center; gap: .35rem; }
.tray-item .qty button {
  width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
  background: var(--paper); border: 1px solid var(--rose-line);
  font-weight: 700; line-height: 1;
}
.tray-item .qty button:hover { border-color: var(--rose-deep); color: var(--rose-deep); }
.tray-item .qty b { min-width: 1.6rem; text-align: center; font-variant-numeric: tabular-nums; }
.tray-item .rm {
  background: none; border: none; cursor: pointer;
  color: var(--rose-dark); font-size: .8rem; font-weight: 700;
  text-decoration: underline; padding: .35rem;
}

/* ---------- Contact layout ---------- */
.contact-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 920px) {
  .contact-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr); gap: 4rem; }
}

/* ---------- Long-form prose ---------- */
.prose { max-width: 66ch; }
.prose h2 { margin-top: 3rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 1.25rem; }
.prose .btn { margin-top: 2.5rem; }

/* ---------- Accordion (FAQ) ---------- */
.acc { border-top: 1px solid var(--rose-line); }
.acc__item { border-bottom: 1px solid var(--rose-line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: none; cursor: pointer; text-align: left;
  padding: 1.35rem 0; font-family: var(--display);
  font-size: 1.25rem; font-weight: 600; color: var(--ink);
}
.acc__btn:hover { color: var(--rose-deep); }
.acc__btn .ico { flex: none; width: 26px; height: 26px; position: relative; }
.acc__btn .ico::before, .acc__btn .ico::after {
  content: ""; position: absolute; inset: 50% 0 auto 0;
  height: 2px; background: var(--rose-deep);
  transition: transform .25s var(--ease);
}
.acc__btn .ico::after { transform: rotate(90deg); }
.acc__btn[aria-expanded="true"] .ico::after { transform: rotate(0deg); }
.acc__panel { padding-bottom: 1.5rem; color: var(--ink-soft); max-width: 68ch; }
.acc__panel[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--blush); padding-top: var(--sect); }
.site-footer a:not(.btn) { color: #f0dcda; }           /* 11.5:1 on ink */
.site-footer a:not(.btn):hover { color: var(--paper); }
.foot-grid {
  display: grid; gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 3rem;
}
.foot-brand .brand__name { color: var(--blush); }
.foot-brand .brand__name small { color: #e8b9b6; }   /* 6.9:1 on ink */
.foot-brand .script { color: #e8b9b6; font-size: 1.35rem; display: block; margin: .5rem 0 .8rem; }
.foot-brand p { font-size: .92rem; color: #ddc7c4; max-width: 34ch; }  /* 8.6:1 */
.foot-col h2 {
  font-family: var(--body); font-size: .72rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: #e8b9b6; margin-bottom: 1.1rem;
}
.foot-col ul { list-style: none; display: grid; gap: .65rem; }
.foot-col li a { display: inline-block; padding-block: .3rem; font-size: .93rem; text-decoration: none; }
.foot-col li a:hover { text-decoration: underline; }
.foot-block { font-size: .93rem; margin-bottom: 1.1rem; color: #ddc7c4; }
.foot-block a { display: inline-block; padding-block: .25rem; }
.foot-block b { color: var(--blush); display: block; }

.legal {
  border-top: 1px solid rgba(248, 238, 237, .2);
  padding-block: 2.25rem;
  font-size: .78rem; line-height: 1.7; color: #d3bcb9;   /* 7.6:1 on ink */
}
.legal b { color: var(--blush); }
.legal p + p { margin-top: 1rem; }

/* ---------- Age gate ---------- */
.gate {
  position: fixed; inset: 0; z-index: 200;
  display: none; place-items: center;
  padding: 1.25rem;
  background: rgba(55, 30, 24, .82);
  backdrop-filter: blur(6px);
}
.gate[data-open="true"] { display: grid; }
.gate__panel {
  width: min(520px, 100%);
  max-height: 92vh; overflow-y: auto;
  background: var(--paper-warm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: clamp(1.75rem, 5vw, 2.75rem);
  text-align: center;
}
/* Bug fix: width was set without height:auto, so the browser rendered the box
   at the raw HTML height="486" attribute value instead of scaling proportionally
   with the 76px width — producing a tall, thin, stretched logo. */
.gate__panel img { width: 80px; height: auto; margin: 0 auto 1rem; }
.gate__panel h2 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: .35rem; }
.gate__panel .script { font-size: 1.3rem; display: block; margin-bottom: 1.1rem; }
.gate__panel p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.gate__note {
  background: var(--blush); border: 1px solid var(--rose-line);
  border-radius: 10px; padding: .95rem;
  font-size: .84rem; color: var(--ink-soft); text-align: left; margin-bottom: 1.4rem;
}
.gate__actions { display: grid; gap: .7rem; }
@media (min-width: 520px) { .gate__actions { grid-template-columns: 1fr 1fr; } }
.gate__deny { margin-top: 1.25rem; font-size: .92rem; font-weight: 600; color: #a3282b; }
.gate__deny[hidden] { display: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; z-index: 150;
  transform: translate(-50%, 150%);
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--ink); color: var(--blush);
  padding: .85rem 1.4rem; border-radius: 999px;
  font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow-lift);
  transition: transform .35s var(--ease);
  max-width: calc(100vw - 2rem);
}
.toast[data-show="true"] { transform: translate(-50%, 0); }
.toast svg { width: 17px; height: 17px; flex: none; color: #e8b9b6; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal[data-shown="true"] { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .marquee, .site-header, .gate, .toast, .cta-band { display: none !important; }
  body { background: #fff; }
}
