/* Old Town Wine & Spirits — "honest neighborhood bottle shop" (Cass 2026-07-18).
   Scarlet RED + white signage identity. Bold Oswald display + Inter body.
   Local/utilitarian-warm, NOT luxury-wine. clamp()/calc() whitespace-safe. */
:root {
  --scarlet: #CC2A22;
  --scarlet-dark: #A82019;
  --white: #FFFFFF;
  --paper: #FAF7F2;
  --tan: #C9A96A;
  --charcoal: #1F1D1B;
  --ink: #211C1A;
  --ink2: #4A3F3B;
  --smoke: #7A6F6B;
  --line: rgba(33, 28, 26, .13);
  --line-red: rgba(204, 42, 34, .28);
  --wrap: 72rem;
  --gut: clamp(1.15rem, 4vw, 2.4rem);
  --rad: 3px;
  --f-disp: "Oswald", "Arial Narrow", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--f-body); background: var(--paper); color: var(--ink); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.narrow { max-width: 44rem; }
.center { text-align: center; }
.center-x { margin-inline: auto; }
.accent { color: var(--scarlet); }

/* placeholder figure — CLEAN: no dev text, geometry only */
.fig { overflow: hidden; border-radius: var(--rad); background: #E8E0D8; }
.fig img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fig--ph { position: relative; background: linear-gradient(135deg, #EDE5DB, #D9CFCA); border: 1px dashed var(--line-red); }

/* eyebrow / headings */
.eyebrow { font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--scarlet); }
.h2 { font-family: var(--f-disp); font-weight: 700; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; margin-top: .5rem; color: var(--ink); }
.lede { font-size: clamp(1rem, .96rem + .3vw, 1.18rem); color: var(--ink2); max-width: 40rem; margin-top: 1rem; }
.body { font-size: 1.05rem; margin-top: 1rem; color: var(--ink2); }

/* seam — red underline under headings */
.seam { height: 3px; width: 100%; max-width: 10rem; transform-origin: left center; background: linear-gradient(90deg, var(--scarlet) 0%, var(--scarlet-dark) 70%, transparent); }
.seam--center { margin-inline: auto; transform-origin: center; }
.js-ready .seam { opacity: 0; }
.js-ready .seam.is-in { opacity: 1; animation: seamdraw .8s cubic-bezier(.42, 0, .18, 1) both; }
@keyframes seamdraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .js-ready .seam { opacity: 1 !important; animation: none !important; } }

/* buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; font-family: var(--f-body); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: .95rem 1.9rem; border-radius: 2px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .12s; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--scarlet); color: #fff; }
.btn--red:hover { background: var(--scarlet-dark); }
.btn--ghost { border-color: var(--scarlet); color: var(--scarlet); }
.btn--ghost:hover { background: var(--scarlet); color: #fff; }
.btn--lg { padding: 1.1rem 2.2rem; font-size: .84rem; }
.btn--light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250, 247, 242, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: background .24s; }
.nav[data-nav-state="solid"] { background: var(--paper); }
.nav__inner { width: 100%; max-width: var(--wrap); margin-inline: auto; padding: .8rem var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__brand { min-width: 0; }
/* type-set wordmark: "OLD TOWN" Oswald bold + "Wine & Spirits" smaller */
.nav__word { display: inline-flex; align-items: baseline; gap: .45rem; min-width: 0; }
.nav__word-a { font-family: var(--f-disp); font-weight: 700; font-size: 1.45rem; letter-spacing: .04em; text-transform: uppercase; color: var(--scarlet); white-space: nowrap; }
.nav__word-b { font-family: var(--f-body); font-weight: 600; font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.nav__links { display: none; list-style: none; gap: 1.6rem; }
.nav__links a { font-family: var(--f-body); font-size: .82rem; font-weight: 500; color: var(--ink2); transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--scarlet); }
.nav__cta { padding: .6rem 1.2rem; font-size: .7rem; }

/* HERO — full-bleed storefront photo, text panel over dark overlay */
.hero { position: relative; overflow: hidden; min-height: clamp(28rem, 72vh, 44rem); display: flex; align-items: flex-end; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.hero__bg-mobile { display: none; }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(33, 28, 26, .18) 0%, rgba(33, 28, 26, .72) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; max-width: var(--wrap); margin-inline: auto; padding: 0 var(--gut) clamp(2.8rem, 6vw, 4.2rem); }
.hero__panel { max-width: 42rem; }
.hero__eyebrow { font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.hero__title { font-family: var(--f-disp); font-weight: 700; font-size: clamp(2.6rem, 1.6rem + 5.2vw, 5.4rem); line-height: 1.0; text-transform: uppercase; letter-spacing: .02em; margin-top: .5rem; color: #fff; }
.hero__title .accent { color: var(--tan); }
.hero__sub { font-family: var(--f-body); font-size: clamp(1rem, .96rem + .4vw, 1.18rem); color: rgba(255, 255, 255, .88); margin-top: 1.2rem; max-width: 36rem; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* signature mount */
.signature { display: block; }

/* SECTION base */
.section { padding-block: clamp(3.25rem, 8vw, 5.5rem); }

/* Band variants */
.band-white { background: var(--white); }
.band-paper { background: var(--paper); }
.band-charcoal { background: var(--charcoal); color: var(--paper); }
.band-charcoal .h2 { color: #fff; }
.band-charcoal .eyebrow { color: var(--tan); }
.band-charcoal .lede, .band-charcoal .body { color: rgba(250, 247, 242, .82); }
.band-red { background: var(--scarlet); color: #fff; }
.band-red .h2 { color: #fff; }
.band-red .eyebrow { color: rgba(255, 255, 255, .7); }
.band-red .seam { background: linear-gradient(90deg, rgba(255,255,255,.8), transparent); }
.band-red .lede { color: rgba(255,255,255,.88); }

/* pitch section */
.pitch { padding-block: clamp(2.8rem, 6vw, 4.5rem); }

/* category cards */
.cat-cards { margin-top: clamp(1.6rem, 4vw, 2.4rem); display: grid; grid-template-columns: 1fr; gap: 1rem; }
.cat-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--rad); overflow: hidden; display: flex; flex-direction: column; }
.cat-card .fig { border-radius: 0; }
.cat-card__body { padding: 1.2rem 1.4rem 1.5rem; flex: 1; }
.cat-card__title { font-family: var(--f-disp); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink); }
.cat-card__title .cat-icon { color: var(--scarlet); margin-right: .3em; }
.cat-card__text { margin-top: .5rem; font-size: .97rem; color: var(--ink2); }

/* split */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(1.8rem, 4vw, 3rem); align-items: center; }

/* band-figure full-bleed */
.band-figure { position: relative; overflow: hidden; }
.band-figure .fig { border-radius: 0; aspect-ratio: 16 / 9; }
@media (max-width: 600px) { .band-figure .fig { aspect-ratio: 4 / 3; } }

/* reveal animations */
[data-reveal] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  [data-reveal].reveal-init { opacity: 0; transform: translateY(14px); }
  [data-reveal].reveal-in { opacity: 1; transform: none; transition: opacity .5s ease, transform .55s ease; }
}

/* FOOTER */
.footer { background: var(--charcoal); color: var(--paper); padding-top: clamp(3rem, 6vw, 4rem); }
.footer__inner { display: flex; flex-direction: column; gap: 2rem; }
.footer__brand .nav__word-a { color: var(--scarlet); }
.footer__brand .nav__word-b { color: rgba(250, 247, 242, .7); }
.footer__tag { font-family: var(--f-body); font-size: .97rem; margin-top: .65rem; color: rgba(250, 247, 242, .7); }
.footer__nav { margin-top: 1.1rem; }
.footer__nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.footer__nav a { font-family: var(--f-body); font-size: .82rem; font-weight: 500; color: rgba(250, 247, 242, .7); }
.footer__nav a:hover { color: var(--tan); }
.footer__nap p, .footer__hours p { color: rgba(250, 247, 242, .75); font-size: .95rem; line-height: 1.75; }
.footer__nap a:hover { color: var(--tan); }
.footer__hours-title { font-family: var(--f-body); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; margin-bottom: .4rem; color: var(--tan); }
.footer__legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(250, 247, 242, .12); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; padding-bottom: 6rem; }
.footer__legal p { color: rgba(250, 247, 242, .4); font-size: .8rem; }
.footer__legal-cta { color: var(--tan); font-family: var(--f-body); font-weight: 600; letter-spacing: .06em; font-size: .82rem; }

/* MOBAR */
.mobar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -2px 12px rgba(33, 28, 26, .10); }
.mobar a { flex: 1; text-align: center; padding: .95rem; font-family: var(--f-body); font-weight: 700; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.mobar__call { color: var(--ink); border-right: 1px solid var(--line); }
.mobar__cta { background: var(--scarlet); color: #fff; }

/* responsive breakpoints */
@media (min-width: 600px) {
  .cat-cards { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 850px) {
  .nav__links { display: flex; }
  .mobar { display: none; }
  .footer__legal { padding-bottom: 1.5rem; }
  .footer__inner { flex-direction: row; justify-content: space-between; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide { grid-template-columns: 1.1fr 1fr; }
  .cat-cards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 849px) { .nav__cta { display: none; } }

/* art-directed hero mobile crop — protect the red channel letters on narrow */
@media (max-width: 699px) {
  .hero__bg img.hero__bg-desktop { display: none; }
  .hero__bg-mobile { display: block; }
  .hero { min-height: clamp(22rem, 65vw, 30rem); }
}
