/* =========================================================
   Alpha & Omega Outfitters — style.css
   Values derived from the original build's design tokens:
     --primary:    hsl(220 52% 25%)  navy
     --secondary:  hsl(5 68% 58%)    coral
     --background: hsl(216 20% 95%)
     --card:       hsl(216 25% 98%)
     --foreground: hsl(220 15% 15%)
     --muted:      hsl(216 18% 88%)
   Fonts: Fraunces (serif display), DM Sans (body).
   Corners are square throughout, matching the original.
   ========================================================= */

:root {
  --navy:       hsl(220, 52%, 25%);
  --navy-hover: hsl(220, 52%, 32%);
  --coral:      hsl(5, 68%, 58%);
  --bg:         hsl(216, 20%, 95%);
  --card:       hsl(216, 25%, 98%);
  --muted:      hsl(216, 18%, 88%);
  --ink:        hsl(220, 15%, 15%);
  --ink-muted:  hsl(220, 10%, 42%);
  --line:       hsl(216, 15%, 84%);
  --on-navy:    hsl(216, 25%, 98%);
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(3rem, 6.5vw, 5rem); }          /* text-5xl -> lg:text-[5rem] */
h2 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); }    /* text-4xl -> lg:text-6xl   */
h3 { font-size: 1.5rem; }                             /* text-2xl                  */
h4 { font-size: 1.5rem; }

a { color: var(--navy); }
a:hover { color: var(--coral); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
}

.container { max-width: 1150px; margin: 0 auto; }

/* ---------- shared bits ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 .75rem;
}
.eyebrow.light { color: rgba(255,255,255,.7); }

.chip {
  display: inline-block;
  border: 1px solid hsla(220, 52%, 25%, .2);
  background: hsla(220, 52%, 25%, .05);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .875rem;
  font-weight: 600;
  padding: .375em 1.15em;
  margin: 0 0 1.5rem;
}
.chip.coral-chip {
  border-color: hsla(5, 68%, 58%, .3);
  background: hsla(5, 68%, 58%, .08);
  color: var(--coral);
}
.chip.promo-chip {           /* on navy surfaces */
  border: none;
  background: hsla(5, 68%, 58%, .2);
  color: var(--coral);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
}

.fine-print { font-size: .8rem; color: var(--ink-muted); }
.tagline {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  margin-top: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6em 1.5em;
  min-height: 2.5rem;
  font-weight: 500;
  font-size: .95rem;
  font-family: var(--font-body);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0;                 /* square, like the original */
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn-lg { min-height: 3.5rem; padding: 0 2rem; font-size: 1rem; }
.btn-navy  { background: var(--navy); color: var(--on-navy); }
.btn-navy:hover { background: var(--navy-hover); color: var(--on-navy); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: hsl(5, 68%, 64%); color: #fff; }
.btn-white { background: var(--card); color: var(--navy); }
.btn-white:hover { background: #fff; color: var(--navy); }
.btn-ghost { color: rgba(255,255,255,.8); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.1); }
.btn-outline-navy { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline-navy:hover { background: hsla(220, 52%, 25%, .07); color: var(--navy); }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.1);
  padding: .75rem 2rem;
}
.nav-brand img { height: 72px; width: 72px; object-fit: cover; }
.nav-links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.nav-links a { color: rgba(255,255,255,.8); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { padding: .45em 1.5em; }
.nav-links .btn-navy { color: var(--on-navy); }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 1.4rem;
  padding: .15em .5em;
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 3rem;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}
.hero .lead {
  font-size: clamp(1.125rem, 1.5vw, 1.25rem);
  color: var(--ink-muted);
  max-width: 42rem;
  margin-bottom: 1rem;
}
.hero-img { box-shadow: 0 20px 40px rgba(16,19,25,.2); }

/* ---------- sections ---------- */
.section { padding: 6rem 1.5rem; }
@media (min-width: 768px) { .section { padding: 8rem 1.5rem; } }

.card-section { background: var(--card); border-bottom: 1px solid hsla(216, 15%, 84%, .5); }

.navy-section { background: var(--navy); color: var(--on-navy); }
.navy-section h2, .navy-section h3, .navy-section h4 { color: #fff; }
.navy-section .section-intro { color: hsla(216, 25%, 98%, .8); }
.navy-section a { color: var(--coral); }

.section-intro { max-width: 46rem; color: var(--ink-muted); font-size: 1.1rem; }

/* ---------- cards / grids ---------- */
.card-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.two   { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card);
  border: 1px solid hsla(216, 15%, 84%, .6);
  padding: 2rem;
}
.card h3 { color: var(--ink); }

.glass-card {                       /* translucent cards on navy sections */
  background: hsla(216, 25%, 98%, .1);
  border: 1px solid hsla(216, 25%, 98%, .2);
  padding: 1.75rem;
}
.glass-card h4 { font-size: 1.125rem; font-weight: 500; }
.glass-card p { color: hsla(216, 25%, 98%, .75); font-size: .95rem; margin-bottom: 0; }

/* ---------- finds gallery (overlay captions) ---------- */
.finds-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}
.finds-stack { display: flex; flex-direction: column; gap: 2rem; }

.photo-tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--muted);
}
.photo-tile.big { aspect-ratio: 16 / 9; }
.photo-tile:not(.big) { flex: 1; min-height: 200px; }
.photo-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.photo-tile:hover img { transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .photo-tile img { transition: none; }
  .photo-tile:hover img { transform: none; }
}
.photo-tile figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent 60%);
}
.tile-title { color: #fff; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; }
.tile-sub { color: rgba(255,255,255,.75); font-size: .85rem; margin-top: .25rem; }

.fb-callout {
  margin-top: 3rem;
  background: var(--navy);
  color: var(--on-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 2.5rem;
}
.fb-callout h3 { color: #fff; font-size: clamp(1.5rem, 2.5vw, 1.875rem); }
.fb-callout p { color: hsla(216, 25%, 98%, .8); max-width: 34rem; margin-bottom: 0; }

/* ---------- slant section ---------- */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 3rem 0;
}
.fact {
  background: var(--card);
  border: 1px solid hsla(216, 15%, 84%, .6);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.fact-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink-muted);
}
.fact-value { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }

.slant-box {
  position: relative;
  background: var(--navy);
  color: var(--on-navy);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.slant-box::before,
.slant-box::after {                 /* decorative skewed stripes, as original */
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  background: hsla(216, 25%, 98%, .05);
  transform: skewX(-12deg) translateX(5rem);
  pointer-events: none;
}
.slant-box::before { right: 0; width: 16rem; }
.slant-box::after  { right: 8rem; width: 8rem; }
.slant-left, .slant-right { position: relative; z-index: 1; padding: 3rem; }
@media (min-width: 900px) { .slant-left, .slant-right { padding: 4rem; } }
.slant-left { border-bottom: 1px solid hsla(216, 25%, 98%, .2); }
.slant-left h3 {
  color: #fff;
  font-size: clamp(1.875rem, 3.5vw, 3rem);   /* text-3xl -> lg:text-5xl */
}
.slant-left p, .slant-right p { color: hsla(216, 25%, 98%, .8); }
.slant-right h4 { color: #fff; }
.slant-right .fine-print { color: hsla(216, 25%, 98%, .5); }
.slant-right a { color: var(--coral); font-weight: 700; font-size: .9rem; }

.qr-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsla(216, 25%, 98%, .2);
}
.qr-card { background: #fff; padding: .6rem; text-align: center; flex-shrink: 0; }
.qr-card img { margin: 0 auto; }
.qr-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .62rem;
  font-weight: 600;
  color: #6b7280;
  margin-top: .4rem;
}
.qr-note { font-size: .9rem; }

/* ---------- $2 Fridays banner (coral) ---------- */
.kids-banner {
  position: relative;
  margin-top: 1.5rem;
  background: var(--coral);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 2rem 3rem;
}
.kids-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: .2;
}
.kids-content {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.kids-price { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; flex-shrink: 0; }
.kids-eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
  opacity: .7;
  margin: 0 0 .25rem;
}
.kids-title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; line-height: 1.25; margin: 0; }
.kids-sub { font-size: .85rem; opacity: .75; margin: .25rem 0 0; }
.kids-badge {
  position: relative;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  font-weight: 700;
  opacity: .8;
  flex-shrink: 0;
}

/* ---------- splits ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.poster-frame { position: relative; }
.poster-frame::before {             /* coral offset backdrop, as original */
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(1rem, 1rem);
  background: hsla(5, 68%, 58%, .1);
  z-index: 0;
}
.poster { position: relative; z-index: 1; box-shadow: 0 10px 25px rgba(16,19,25,.15); }

.hashtags span {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--line);
  padding: .3em 1em;
  font-weight: 700;
  font-size: .85rem;
  margin-right: .5rem;
  color: var(--navy);
}

/* ---------- forge ---------- */
.forge-figure { position: relative; }
.forge-figure > img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 20px 40px rgba(16,19,25,.2); }
.float-card {
  position: absolute;
  right: -1rem;
  bottom: 3rem;
  background: var(--card);
  border: 1px solid hsla(216, 15%, 84%, .5);
  box-shadow: 0 20px 40px rgba(16,19,25,.25);
  padding: 1.5rem;
  max-width: 240px;
}
.float-number { display: block; font-family: var(--font-display); font-size: 2.25rem; color: var(--navy); margin-bottom: .5rem; }
.float-label {
  display: block;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
  font-weight: 500;
  color: var(--ink-muted);
}

/* ---------- volunteer form (on navy) ---------- */
.vol-form {
  margin-top: 3rem;
  background: hsla(216, 25%, 98%, .1);
  border: 1px solid hsla(216, 25%, 98%, .2);
  padding: 2rem;
  max-width: 40rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.vol-form h3 { margin-bottom: 0; }
.vol-form > p { color: hsla(216, 25%, 98%, .7); margin: 0; }
.vol-form label { display: block; font-weight: 600; font-size: .9rem; }
.vol-form input, .vol-form textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .6em .8em;
  font: inherit;
  font-weight: 400;
  border: 1px solid hsla(216, 25%, 98%, .3);
  background: hsla(216, 25%, 98%, .95);
  color: var(--ink);
}
.vol-form fieldset {
  border: 1px solid hsla(216, 25%, 98%, .25);
  margin: 0;
  padding: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
}
.vol-form legend { font-weight: 600; font-size: .9rem; padding: 0 .4em; }
.vol-form .check { display: flex; align-items: center; gap: .5rem; font-weight: 400; margin: 0; }
.vol-form .check input { width: auto; margin: 0; }
.vol-form .btn { align-self: flex-start; }
.vol-form .fine-print { color: hsla(216, 25%, 98%, .55); margin: 0; }

/* ---------- donate ---------- */
.nonos { margin-top: 3rem; }
.nonos img { border: 1px solid var(--line); margin-bottom: .5rem; }

/* ---------- visit split panel ---------- */
.visit-split { display: flex; }
.visit-left {
  width: 50%;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 400px;
}
.address-card {
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 20px 25px rgba(16,19,25,.1);
  padding: 2rem;
  text-align: center;
  max-width: 24rem;
  width: 100%;
}
.address-card h3 { font-size: 1.25rem; }
.visit-right {
  width: 50%;
  background: var(--card);
  padding: 6rem 3rem;
}
@media (min-width: 1024px) { .visit-right { padding: 6rem; } }
.visit-item { margin-bottom: 2.5rem; }
.visit-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.125rem; margin-bottom: .5rem; }
.hours { border-collapse: collapse; margin-bottom: .5rem; }
.hours td { padding: .25em 1.5em .25em 0; }
.hours td:first-child { font-weight: 700; }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: hsla(216, 20%, 95%, .7);
  border-top: 8px solid var(--navy);
  padding: 4rem 1.5rem 1.5rem;
}
.footer a { color: hsla(216, 20%, 95%, .9); text-decoration: none; }
.footer a:hover { color: var(--coral); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  max-width: 1150px;
  margin: 0 auto 2rem;
}
.footer-logo { width: 180px; margin-bottom: 1rem; }
.footer h4 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 1.125rem; }
.footer-grid div a { display: block; margin-bottom: .5rem; }
.footer-grid div:first-child a { display: inline; }
.copyright {
  max-width: 1150px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid hsla(216, 20%, 95%, .12);
  font-size: .85rem;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .card-grid.three { grid-template-columns: 1fr 1fr; }
  .hero, .split { grid-template-columns: 1fr; }
  .finds-grid { grid-template-columns: 1fr; }
  .photo-tile:not(.big) { aspect-ratio: 16 / 9; }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .slant-box { grid-template-columns: 1fr; }
  .slant-left { border-right: none; }
  .visit-split { flex-direction: column; }
  .visit-left, .visit-right { width: 100%; }
  .visit-right { padding: 4rem 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .float-card { right: 1rem; }
}
@media (min-width: 901px) {
  .slant-left { border-bottom: none; border-right: 1px solid hsla(216, 25%, 98%, .2); }
}

@media (max-width: 640px) {
  .nav { padding: .6rem 1.25rem; }
  .nav-brand img { height: 56px; width: 56px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: #000;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .nav-links.open { display: flex; }
  .card-grid.three, .card-grid.two { grid-template-columns: 1fr; }
  .fact-grid { grid-template-columns: 1fr; }
  .vol-form fieldset { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section, .hero { padding: 4rem 1.25rem; }
  .qr-row { flex-direction: column; }
  .kids-banner { padding: 1.75rem; }
}

/* ---------- icons ---------- */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; vertical-align: -0.2em; display: inline-block; }
.i-16 { width: 1rem; height: 1rem; }
.i-20 { width: 1.25rem; height: 1.25rem; }
.i-24 { width: 1.5rem; height: 1.5rem; }
.i-28 { width: 1.75rem; height: 1.75rem; }
.i-40 { width: 2.5rem; height: 2.5rem; }
.icon.coral { color: var(--coral); }
.icon.navy { color: var(--navy); }
.icon.muted { color: var(--ink-muted); }
.icon.center { margin: 0 auto 1rem; display: block; }
.glass-card .icon, .card .i-40 { display: block; margin-bottom: .75rem; }
.fact .icon { margin-bottom: .25rem; }
.btn .icon { margin-left: .5rem; }
.chip .icon, .hashtags .icon { margin-right: .35rem; }
.fb-icon { color: #fff; margin-bottom: .75rem; display: block; }
.visit-item.with-icon { display: flex; gap: 1rem; align-items: flex-start; }
.visit-item.with-icon .icon { margin-top: .2rem; }
.vol-form .i-40 { display: block; }
