/* ==========================================================================
   Picks Butchers — site styles
   Brand tokens live in :root. Change a colour here and it changes everywhere.
   ========================================================================== */

@font-face { font-family: "Josefin Sans"; src: url("../fonts/josefin-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("../fonts/josefin-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Brand palette */
  --navy: #1E2B47;        /* Shopfront Navy — primary */
  --navy-deep: #141D31;   /* Night Navy — footers, depth */
  --cream: #F5F0E6;       /* Butcher's Paper — light surfaces, logo on navy */
  --chalk: #FBF9F4;       /* Chalk — page background */
  --brass: #B48A4A;       /* Brass — accents, rules, small details */
  --brass-dark: #8C6A34;  /* Brass on light backgrounds (text-safe) */
  --red: #A3302A;         /* Postbox Red — use sparingly: seasonal callouts */
  --board: #262B2A;       /* Chalkboard */
  --ink: #1B2233;         /* Body text */
  --muted: #5A6273;

  --font-display: "Josefin Sans", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1140px;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: .22em; font-size: .78rem; color: var(--brass-dark); margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px 12px;
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem;
  text-decoration: none; border-radius: var(--radius); border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn-brass { background: var(--brass); color: var(--navy-deep); }
.btn-brass:hover { background: #c79c58; }
.btn-ghost { border-color: rgba(245,240,230,.45); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(245,240,230,.08); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-deep); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: rgba(245,240,230,.85); font-family: var(--font-display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 7px; }
.topbar a { color: var(--cream); text-decoration: none; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); margin-right: 8px; vertical-align: 1px; }
.status-dot.open { background: #6FBF73; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); border-bottom: 1px solid rgba(180,138,74,.35); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 56px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--cream); text-decoration: none; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; padding: 6px 0 3px; border-bottom: 1.5px solid transparent; }
.nav a:hover { border-color: var(--brass); }
.nav .btn { padding: 11px 18px 9px; border-bottom: 1.5px solid transparent; }
.menu-toggle { display: none; background: none; border: 0; color: var(--cream); padding: 8px; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--cream); display: grid; grid-template-columns: 1fr 1.1fr; min-height: min(78vh, 680px); }
.hero-copy { padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; max-width: 620px; margin-left: auto; }
.hero h1 { color: var(--cream); }
.hero h1 em { font-style: italic; font-weight: 400; color: #E2C08A; }
.hero .eyebrow { color: var(--brass); }
.hero p { color: rgba(245,240,230,.82); font-size: 1.12rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }

/* ---------- Pillars ---------- */
.pillars { background: var(--cream); border-bottom: 1px solid #E6DECF; }
.pillars .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { padding: 40px 28px; text-align: center; }
.pillar + .pillar { border-left: 1px solid #E0D7C6; }
.pillar h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em; font-size: .95rem; margin-bottom: 8px; }
.pillar p { margin: 0; color: var(--muted); font-size: .98rem; }
.pillar svg { width: 34px; height: 34px; color: var(--brass); margin: 0 auto 14px; }

/* ---------- About ---------- */
.about .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.signature { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--navy); margin-top: 8px; }

.board {
  background: var(--board); color: #EDEBE4; border-radius: 6px; padding: 38px 34px 34px; text-align: center;
  border: 12px solid #6B4F33; box-shadow: inset 0 0 60px rgba(0,0,0,.45), 0 18px 40px rgba(20,29,49,.18);
  background-image: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.05), transparent 60%);
}
.board h3 { font-family: var(--font-display); color: #F3F1EA; text-transform: uppercase; letter-spacing: .18em; font-size: 1.05rem; font-weight: 400; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.35); }
.board ul { list-style: none; padding: 0; margin: 18px 0; }
.board li { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .14em; font-size: .95rem; padding: 7px 0; }
.board .small { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; opacity: .8; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.35); margin: 0; }

/* ---------- Counter ---------- */
.counter { background: #fff; border-top: 1px solid #EEE7DA; border-bottom: 1px solid #EEE7DA; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 42px; flex-wrap: wrap; }
.section-head .lead { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #E6DECF; border: 1px solid #E6DECF; }
.card { background: var(--chalk); padding: 32px 28px; }
.card .num { font-family: var(--font-display); color: var(--brass-dark); letter-spacing: .2em; font-size: .78rem; font-weight: 600; }
.card h3 { margin: 6px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }

/* ---------- Orders ---------- */
.orders { background: var(--navy); color: var(--cream); position: relative; overflow: hidden; }
.orders::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 380px; height: 380px; background: url("../logo/picks-mark-cream.svg") center/contain no-repeat; opacity: .05; pointer-events: none; }
.orders .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: start; position: relative; z-index: 1; }
.orders h2 { color: var(--cream); }
.orders .eyebrow { color: var(--brass); }
.orders p { color: rgba(245,240,230,.82); }
.order-steps { list-style: none; counter-reset: s; padding: 0; margin: 26px 0 0; }
.order-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(245,240,230,.14); }
.order-steps li::before { content: "0" counter(s); font-family: var(--font-display); color: var(--brass); letter-spacing: .14em; font-weight: 600; padding-top: 3px; }
.order-steps strong { color: var(--cream); display: block; font-weight: 600; }
.order-steps span { color: rgba(245,240,230,.75); font-size: .96rem; }

.seasonal { background: var(--cream); color: var(--ink); border-radius: 6px; padding: 32px; border-top: 5px solid var(--red); }
.seasonal .tag { display: inline-block; background: var(--red); color: #fff; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; padding: 6px 10px 4px; border-radius: 3px; margin-bottom: 14px; }
.seasonal h3 { font-size: 1.6rem; }
.seasonal p { color: var(--muted); }
.seasonal dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 18px 0 24px; font-size: .97rem; }
.seasonal dt { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; color: var(--brass-dark); font-weight: 600; padding-top: 3px; }
.seasonal dd { margin: 0; }

/* ---------- Visit ---------- */
.visit .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); }
.hours { width: 100%; border-collapse: collapse; margin: 8px 0 26px; }
.hours td { padding: 11px 0; border-bottom: 1px solid #E6DECF; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { font-weight: 700; color: var(--navy); }
.hours tr.today td:first-child::after { content: "Today"; font-family: var(--font-display); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; background: var(--navy); color: var(--cream); padding: 4px 7px 2px; border-radius: 3px; margin-left: 10px; vertical-align: 2px; font-weight: 600; }
.hours .closed { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-list li { display: flex; gap: 14px; padding: 8px 0; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--brass-dark); flex-shrink: 0; margin-top: 4px; }
.map { border-radius: 6px; overflow: hidden; border: 1px solid #E0D7C6; min-height: 380px; height: 100%; background: var(--cream); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(.75); }
.note { font-size: .9rem; color: var(--muted); }

/* ---------- Sister shop ---------- */
.sister { background: var(--cream); border-top: 1px solid #E6DECF; }
.sister .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 44px; padding-bottom: 44px; flex-wrap: wrap; }
.sister p { margin: 0; font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy); max-width: 46ch; }
.sister p em { color: var(--brass-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(245,240,230,.7); font-size: .92rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-top: 64px; padding-bottom: 40px; }
.site-footer h4 { font-family: var(--font-display); color: var(--cream); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; margin: 0 0 14px; font-weight: 600; }
.site-footer a { color: rgba(245,240,230,.85); text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.foot-logo img { height: 120px; width: auto; margin-bottom: 14px; }
.legal { border-top: 1px solid rgba(245,240,230,.1); }
.legal .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 20px; padding-bottom: 24px; grid-template-columns: none; font-size: .82rem; }
.socials { display: flex; gap: 10px; margin-top: 6px; }
.socials a { width: 38px; height: 38px; border: 1px solid rgba(245,240,230,.25); border-radius: 50%; display: grid; place-items: center; }
.socials svg { width: 17px; height: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: none; margin: 0; }
  .hero-media { aspect-ratio: 4 / 3; order: -1; }
  .about .wrap, .orders .wrap, .visit .wrap { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .site-footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav { position: absolute; top: 76px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid rgba(180,138,74,.35); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0 12px; border-bottom: 1px solid rgba(245,240,230,.1); }
  .nav .btn { margin-top: 12px; justify-content: center; }
  .topbar .hide-sm { display: none; }
  .pillars .wrap { grid-template-columns: 1fr; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid #E0D7C6; }
  .cards { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .logo img { height: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ==========================================================================
   Motion — load-in, scroll reveals, header + parallax.
   Everything is switched off for people who prefer reduced motion.
   ========================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.1); } to { transform: scale(1); } }
@keyframes rule { from { width: 0; } to { width: 28px; } }

/* Hero entrance (CSS only, so it works before JS loads) */
.hero-copy > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .1s; }
.hero-copy > *:nth-child(2) { animation-delay: .22s; }
.hero-copy > *:nth-child(3) { animation-delay: .38s; }
.hero-copy > *:nth-child(4) { animation-delay: .52s; }
.hero-copy .eyebrow::before { animation: rule .8s .3s ease-out both; }
.hero-media picture { display: block; height: 100%; will-change: transform; }
.hero-media img { animation: settle 2.4s cubic-bezier(.2,.7,.2,1) both; }

/* Scroll reveals (classes are added by main.js, so no-JS visitors see everything) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.from-right { transform: translateX(36px); }
.reveal.tilt { transform: translateY(30px) rotate(-2deg); }
.reveal.fade { transform: none; }
.reveal.in { opacity: 1; transform: none; }
.eyebrow.reveal::before { width: 0; transition: width .7s .25s ease-out; }
.eyebrow.reveal.in::before { width: 28px; }

/* Card lift */
.card { transition: background .3s, transform .3s; }
.card:hover { background: #fff; }
.card h3 { transition: color .3s; }
.card:hover h3 { color: var(--brass-dark); }

/* Header on scroll */
.site-header { transition: box-shadow .3s, background .3s; }
.site-header .wrap { transition: height .3s; }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(20,29,49,.25); background: var(--navy); }
.site-header.scrolled .wrap { height: 64px; }
.site-header .logo img { transition: height .3s; }
.site-header.scrolled .logo img { height: 48px; }
@media (max-width: 760px) { .site-header.scrolled .wrap { height: 76px; } .site-header.scrolled .logo img { height: 48px; } }

/* Brass reading-progress line */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--brass); transform-origin: 0 50%; transform: scaleX(0); z-index: 60; pointer-events: none; }

.orders::after { transform: translateY(var(--px, 0)) rotate(var(--rot, 0deg)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .eyebrow.reveal::before { width: 28px; }
  .progress { display: none; }
}
