/* ==========================================================================
   The Coop — shared design system
   Fluid rebuild of the 1080px mockup. Desktop keeps the original proportions
   (1008px content column); everything reflows from there down to 320px.
   ========================================================================== */

/* --- reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }

/* --- tokens --------------------------------------------------------------- */
:root {
  --maroon-900: #3f1511;   /* headings */
  --maroon-850: #471817;   /* topbar */
  --maroon-800: #4b1918;   /* footer */
  --maroon-700: #5a1a15;   /* primary button */
  --maroon-600: #6d2420;   /* hover */
  --espresso:   #1d130e;   /* dark bands */
  --espresso-2: #2a1a12;
  --panel-dark: #17130f;   /* specials / reviews cards */

  --cream:        #f3e7d1; /* page */
  --cream-hi:     #f7eddd; /* raised panels */
  --cream-header: #f2e9d9; /* header bar (matches the logo plate) */
  --cream-line:   #e2d3ba;
  --cream-text:   #ece4d4;

  --gold:    #be9344;
  --gold-lt: #c7a160;
  --gold-hi: #dcb264;

  --ink:  #2d2a24;
  --body: #4f4136;

  --brand-dd: #b84a2f;     /* DoorDash plate */
  --brand-ue: #587a3d;     /* Uber Eats plate */

  --gut: clamp(16px, 4vw, 36px);
  --maxw: 1008px;
  --hdr-h: 88px;   /* kept in sync with .hdr so sticky offsets stay predictable */
  --radius: 6px;
  --shadow-sm: 0 2px 5px rgba(40, 18, 10, .18);
  --shadow-md: 0 6px 20px rgba(40, 18, 10, .16);

  --sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  --display: 'Bebas Neue', 'Oswald', sans-serif;
  --head: 'Oswald', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Yellowtail', 'Brush Script MT', cursive;

  /* motion */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-settle: cubic-bezier(.34, 1.28, .58, 1);
  --t-fast: .18s;
  --t-mid: .32s;
  --t-slow: .6s;
}

/* --- base ----------------------------------------------------------------- */
body {
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #b26a2b;
  outline-offset: 2px;
  border-radius: 2px;
}
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; color: var(--maroon-900); line-height: 1.15; }
strong { color: var(--maroon-900); }

.skip {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--maroon-700); color: #f7eddd;
  padding: 10px 18px; border-radius: 0 0 var(--radius) var(--radius);
  font-family: var(--head); text-transform: uppercase; letter-spacing: 1px;
  transition: top .15s;
}
.skip:focus { top: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- layout --------------------------------------------------------------- */
.wrap { width: min(100% - var(--gut) * 2, var(--maxw)); margin-inline: auto; }
.band { position: relative; padding-block: clamp(38px, 6vw, 62px); }
.band--cream { background: var(--cream); }
.band--panel { background: var(--cream-hi); border-block: 1px solid var(--cream-line); }
.band--dark {
  background: var(--espresso);
  background-image:
    radial-gradient(120% 90% at 50% 0%, rgba(120, 76, 42, .22), transparent 62%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 7px);
  color: #d8ccb8;
}
.band--dark h2, .band--dark h3 { color: #f2e8d5; }
.band--maroon { background: var(--maroon-800); color: #e6d5c9; }
.band--tight { padding-block: clamp(28px, 4vw, 40px); }

/* torn-paper edges where a dark band meets the cream page */
.tear::after, .tear-top::before {
  content: ""; position: absolute; left: 0; right: 0; height: 14px; z-index: 2;
  background: url("assets/tear.svg") center bottom / 100% 100% no-repeat;
  pointer-events: none;
}
.tear::after { bottom: -1px; }
.tear-top::before { top: -1px; transform: scaleY(-1); }

/* --- section headings ----------------------------------------------------- */
.eyebrow {
  font-family: var(--head); font-weight: 600;
  font-size: clamp(13px, 1.6vw, 19px);
  letter-spacing: clamp(2px, .55vw, 5px);
  text-transform: uppercase; color: var(--gold-lt);
}
.script { font-family: var(--script); font-weight: 400; color: var(--gold-lt); }

/* the flanked double-rule heading is the site's signature ornament */
.rule-title {
  display: flex; align-items: center; justify-content: center;
  gap: clamp(12px, 2vw, 20px);
  font-size: clamp(23px, 3.2vw, 33px);
  letter-spacing: clamp(.6px, .15vw, 1.5px);
  text-transform: uppercase; text-align: center;
}
.rule-title::before, .rule-title::after {
  content: ""; flex: 0 1 56px; min-width: 24px; height: 6px;
  border-top: 2px solid #b98d4f; border-bottom: 2px solid #b98d4f;
}
.band--dark .rule-title::before, .band--dark .rule-title::after { border-color: var(--gold); }
/* left-aligned variant: drop the leading rule and let the trailing one run out */
.rule-title--left { justify-content: flex-start; text-align: left; }
.rule-title--left::before { display: none; }
.rule-title--left::after { flex: 0 0 48px; }
.section-lede {
  max-width: 62ch; margin: 14px auto 0; text-align: center;
  font-size: clamp(14.5px, 1.5vw, 16px);
}
.band--dark .section-lede { color: #cdbfa9; }

/* --- buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  font-family: var(--head); font-weight: 600;
  font-size: 13.5px; letter-spacing: .7px; text-transform: uppercase;
  text-align: center; border: 0; border-radius: 4px; cursor: pointer;
  transition: background .15s, color .15s, filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: #33130f; box-shadow: var(--shadow-sm); }
.btn--maroon { background: var(--maroon-700); color: #f5ead9; box-shadow: var(--shadow-sm); }
.btn--maroon:hover { background: var(--maroon-600); filter: none; }
.btn--outline-maroon {
  border: 2px solid var(--maroon-700); color: var(--maroon-700);
  background: rgba(255, 255, 255, .3);
}
.btn--outline-maroon:hover { background: rgba(90, 26, 21, .08); filter: none; }
.btn--outline { border: 1.5px solid #8a7361; color: #3a2a20; background: transparent; }
.btn--outline:hover { background: rgba(90, 60, 40, .08); filter: none; }
.btn--ghost-gold {
  border: 1.5px solid #c09a4e; color: var(--gold-hi);
  background: rgba(20, 12, 6, .3); letter-spacing: 1px;
}
.btn--ghost-gold:hover { background: rgba(192, 154, 78, .16); filter: none; }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: 15px; }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: 12px; }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row--center { justify-content: center; }

/* --- top bar -------------------------------------------------------------- */
.topbar {
  background: var(--maroon-850); color: #f0e3d3;
  font-size: 13.5px; letter-spacing: .2px;
}
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; min-height: 36px; padding-block: 5px;
}
.tb-addr, .tb-phone { display: inline-flex; align-items: center; gap: 8px; }
.tb-addr:hover, .tb-phone:hover { text-decoration: underline; }
.tb-phone { font-weight: 700; }
.tb-right { display: flex; align-items: center; gap: 10px; }
.tb-sep { width: 1px; height: 15px; background: rgba(240, 227, 211, .35); }
.tb-soc { display: inline-flex; padding: 5px; border-radius: 50%; }
.tb-soc:hover { background: rgba(255, 255, 255, .12); }
.tb-soc svg, .tb-addr svg, .tb-phone svg { width: 16px; height: 16px; flex: none; }

/* --- header / nav --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--cream-header);
  box-shadow: 0 1px 0 rgba(90, 50, 30, .14), 0 4px 14px rgba(60, 30, 15, .07);
}
.hdr {
  display: flex; align-items: center; gap: clamp(10px, 2vw, 26px);
  min-height: var(--hdr-h); padding-block: 6px;
}
.brand { flex: none; }
.brand img { height: 76px; width: auto; }
@media (min-width: 1100px) { :root { --hdr-h: 104px; } .brand img { height: 92px; } }
.nav {
  flex: 1 1 auto;
  display: flex; align-items: center; justify-content: flex-end;
  gap: clamp(10px, 2.2vw, 30px);
}
.nav a {
  font-family: var(--head); font-weight: 600;
  font-size: clamp(13px, 1.35vw, 15px);
  letter-spacing: .8px; text-transform: uppercase; color: var(--ink);
  padding: 6px 0 5px; border-bottom: 3px solid transparent; white-space: nowrap;
}
.nav a:hover { color: var(--maroon-600); }
.nav a[aria-current="page"] { color: #3a1210; border-bottom-color: var(--maroon-600); }
.hdr-cta { flex: none; }
.nav-toggle { display: none; }

@media (max-width: 940px) {
  :root { --hdr-h: 64px; }
  .hdr { flex-wrap: wrap; }
  .brand img { height: 52px; }
  .nav {
    order: 3; flex-basis: 100%;
    display: none; flex-direction: column; align-items: stretch;
    gap: 0; padding-bottom: 8px;
    border-top: 1px solid var(--cream-line);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a {
    padding: 15px 4px; border-bottom: 1px solid rgba(122, 90, 60, .16);
    font-size: 15px;
  }
  .nav a[aria-current="page"] {
    border-bottom-color: rgba(122, 90, 60, .16);
    box-shadow: inset 4px 0 0 var(--maroon-600); padding-left: 14px;
  }
  .nav { margin-left: auto; }
  .hdr-cta { margin-left: auto; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 9px;
    min-height: 44px; padding: 8px 14px;
    background: transparent; border: 1.5px solid rgba(90, 40, 25, .35);
    border-radius: 4px; cursor: pointer;
    font-family: var(--head); font-weight: 600; font-size: 13px;
    letter-spacing: 1px; text-transform: uppercase; color: var(--maroon-900);
  }
  .nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
    display: block; width: 20px; height: 2px; background: currentColor;
    border-radius: 2px; transition: transform .2s, opacity .2s;
  }
  .nav-toggle .bars { position: relative; }
  .nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle .bars::before { top: -6px; }
  .nav-toggle .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 560px) {
  /* the full street address doesn't fit — keep the link, shorten the label */
  .tb-addr span { display: none; }
  .tb-addr::after { content: "Directions"; }
  .topbar { font-size: 13px; }
  .hdr-cta { padding: 10px 14px; font-size: 12.5px; }
  .nav-toggle .label { display: none; }
}

/* ==========================================================================
   Home — hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: #170d09;
  color: #f3ede0;
}
.hero-media {
  position: absolute; inset: 0 0 0 42%;
  background: url("assets/hero-chicken.jpg") center / cover no-repeat;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #170d09 0%, rgba(23, 13, 9, .92) 18%, rgba(23, 13, 9, .35) 55%, rgba(23, 13, 9, .05) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  padding-block: clamp(34px, 5vw, 54px) clamp(30px, 4vw, 44px);
}
.hero-copy { max-width: 430px; text-align: center; }
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: #c49d5d;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ""; flex: 0 1 34px; min-width: 18px; height: 5px;
  border-top: 2px solid #a8834e; border-bottom: 2px solid #a8834e;
}
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(42px, 6.6vw, 67px); line-height: .86; letter-spacing: 2px;
  color: #f3ede0; text-shadow: 0 2px 8px rgba(0, 0, 0, .55);
  margin-top: 12px;
}
.hero-script {
  font-family: var(--script); font-size: clamp(30px, 4.2vw, 43px); line-height: 1.15;
  color: #c9a277; text-shadow: 0 2px 4px rgba(0, 0, 0, .45); margin-top: 6px;
}
.hero-lede {
  margin-top: 12px; font-size: clamp(14.5px, 1.5vw, 15.5px); line-height: 1.5;
  color: #ded3c4; text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}

/* order plates */
.order-plates {
  position: relative; z-index: 1;
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(24px, 3.4vw, 34px);
}
.plate {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; min-height: 92px; padding: 14px 12px;
  border-radius: 9px; color: #fff; text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .4);
  border: 1.5px solid rgba(255, 255, 255, .22);
  transition: transform .15s, filter .15s;
}
.plate:hover { transform: translateY(-2px); filter: brightness(1.09); }
.plate-top { display: flex; align-items: center; justify-content: center; gap: 11px; }
.plate svg { width: 34px; height: 34px; flex: none; }
.plate-name {
  font-family: var(--head); font-weight: 600; font-size: clamp(14px, 1.5vw, 16.5px);
  letter-spacing: .8px; text-transform: uppercase; line-height: 1.15;
}
.plate-sub { font-size: 12.5px; opacity: .93; }
.plate--pickup { background: #5c1a15; }
.plate--doordash { background: var(--brand-dd); }
.plate--ubereats { background: var(--brand-ue); }
.plate--catering { background: #c9963f; color: #33200a; }
.plate--catering .plate-sub { opacity: .8; }

.hero-ribbon {
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: fit-content; max-width: 100%; margin: 18px auto 0;
  padding: 10px 22px; border-radius: 3px;
  background: #efe9dc; color: #33291f;
  font-size: clamp(13px, 1.4vw, 14.5px); font-weight: 700; text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
}
.hero-ribbon svg { width: 17px; height: 17px; color: #6b2027; flex: none; }

@media (max-width: 860px) {
  .hero-media { position: relative; inset: auto; height: clamp(180px, 34vw, 260px); }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(23, 13, 9, .1) 0%, rgba(23, 13, 9, .55) 72%, #170d09 100%);
  }
  .hero-copy { max-width: none; margin-inline: auto; }
  .hero-inner { padding-top: clamp(20px, 4vw, 30px); }
  .order-plates { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .order-plates { grid-template-columns: 1fr; }
  .plate { min-height: 0; flex-direction: row; justify-content: flex-start; text-align: left; gap: 12px; }
  .plate-top { gap: 12px; }
  .plate-sub { margin-left: auto; text-align: right; }
}

/* ==========================================================================
   Home — "why people love the coop"
   ========================================================================== */
.why-grid {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: clamp(8px, 1.5vw, 18px); margin-top: clamp(24px, 3vw, 34px);
}
.why-item { text-align: center; }
.why-item + .why-item { border-left: 1px solid rgba(150, 116, 74, .3); }
.why-item .ic {
  display: grid; place-items: center;
  width: clamp(62px, 7.6vw, 84px); aspect-ratio: 1; margin: 0 auto 10px;
  border-radius: 50%; background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(160, 120, 70, .2);
}
.why-item .ic img { max-width: 56%; max-height: 52%; width: auto; }
/* drawn icons sit alongside the cropped ones — match their weight and colour */
.why-item .ic svg { width: 50%; height: auto; color: #481816; }
.why-item span {
  display: block; font-family: var(--head); font-weight: 600;
  font-size: clamp(12px, 1.3vw, 13.5px); letter-spacing: .4px;
  text-transform: uppercase; color: var(--maroon-900); line-height: 1.3;
}
@media (max-width: 760px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .why-item:nth-child(3n + 1) { border-left: 0; }
}
@media (max-width: 420px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-item:nth-child(3n + 1) { border-left: 1px solid rgba(150, 116, 74, .3); }
  .why-item:nth-child(2n + 1) { border-left: 0; }
}

/* ==========================================================================
   Cards (specials / catering / reviews)
   ========================================================================== */
.card-row {
  display: grid; gap: clamp(16px, 2.2vw, 22px);
  grid-template-columns: 1fr 1.35fr 1fr;
  align-items: stretch; margin-top: clamp(26px, 3.4vw, 38px);
}
@media (max-width: 900px) {
  .card-row { grid-template-columns: 1fr 1fr; }
  .card-row > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 620px) { .card-row { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: 3px; overflow: hidden;
}
/* chalkboard cards */
.card--slate {
  background:
    radial-gradient(130% 100% at 30% 12%, rgba(255, 255, 255, .05), transparent 60%),
    var(--panel-dark);
  border: 6px solid #4a1a17;
  box-shadow: var(--shadow-md);
  color: var(--cream-text);
  padding: clamp(22px, 3vw, 30px) clamp(18px, 2.4vw, 26px) clamp(22px, 3vw, 28px);
  text-align: center; align-items: center; justify-content: flex-start; gap: 12px;
}
.card--slate::before {
  content: ""; position: absolute; inset: 5px; border: 1px solid rgba(206, 173, 116, .22);
  pointer-events: none;
}
.card--slate::after {
  content: ""; position: absolute; right: -4px; bottom: 0;
  width: clamp(62px, 22%, 92px); aspect-ratio: 81 / 172;
  background: url("assets/rooster.png") right bottom / contain no-repeat;
  opacity: .34; pointer-events: none;
}
.card--slate > * { position: relative; z-index: 1; }
.card--slate h3 {
  font-size: clamp(18px, 2.1vw, 21px); letter-spacing: 1.1px;
  text-transform: uppercase; color: var(--gold-lt);
}
.card--slate p, .card--slate blockquote { font-size: 15px; line-height: 1.45; }
.card--slate .btn { margin-top: auto; }
.card-attr { color: #cbbfae; font-size: 14px; }

.dingbat {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #8d7b62; width: 100%;
}
.dingbat::before, .dingbat::after {
  content: ""; flex: 0 1 34px; height: 1px; background: currentColor; opacity: .55;
}
.dingbat svg { width: 14px; height: 14px; }
.stars { display: flex; gap: 5px; justify-content: center; }
.stars svg { width: clamp(20px, 2.4vw, 26px); height: clamp(20px, 2.4vw, 26px); color: var(--gold); }

/* catering card */
.card--photo { background: var(--cream-hi); border: 1px solid var(--cream-line); box-shadow: var(--shadow-md); }
.card--photo .card-media {
  height: clamp(120px, 15vw, 150px);
  background: url("assets/photo-catering.jpg") center 42% / cover no-repeat;
}
.card--photo .card-body {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: clamp(18px, 2.4vw, 24px); text-align: center; flex: 1;
}
.card--photo h3 {
  font-size: clamp(20px, 2.5vw, 26px); letter-spacing: 1.4px;
  text-transform: uppercase; color: #4f1a12;
}
.card--photo p { font-size: 14.5px; }
.check-list {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 14px; font-size: 12.5px; font-weight: 700; color: #3f2b1f;
}
.check-list li { display: flex; align-items: center; gap: 5px; }
.check-list svg { width: 15px; height: 15px; flex: none; color: #6b2a1e; }
.card--photo .btn-row { margin-top: auto; }

/* ==========================================================================
   Info panel (about / hours / find us / social)
   ========================================================================== */
.info-panel {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--cream-hi); border: 1px solid var(--cream-line);
  margin-top: clamp(26px, 3.4vw, 38px);
}
.info-col {
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(18px, 2.2vw, 22px); text-align: center;
}
.info-col + .info-col { border-left: 1px solid var(--cream-line); }
.info-col h3 {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 16px; letter-spacing: .8px; text-transform: uppercase; color: #33231a;
  margin-bottom: 12px;
}
.info-col h3 svg { width: 18px; height: 18px; color: #4a150f; flex: none; }
.info-col p { font-size: 13.5px; line-height: 1.45; }
/* push whatever ends the column (button or social row) to the same baseline */
.info-col > *:last-child { margin-top: auto; padding-top: 16px; }
.info-about { display: flex; gap: 12px; text-align: left; align-items: flex-start; }
.info-about img { width: 88px; flex: none; box-shadow: 0 1px 4px rgba(70, 40, 20, .32); }
.info-about p { font-size: 12.8px; line-height: 1.4; }
.hours-time { font-size: 15px; font-weight: 700; color: #33231a; }
.hours-day { margin-top: 8px; }
.hours-day:first-of-type { margin-top: 0; }
.info-phone {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 8px;
  font-size: 15px; font-weight: 700; color: #33231a;
}
.info-phone svg { width: 15px; height: 15px; color: #4a150f; }
.info-phone:hover { text-decoration: underline; }
.soc-row { display: flex; justify-content: center; gap: 14px; }
.soc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--maroon-700); color: #f3e6d4; transition: background .15s;
}
.soc-btn:hover { background: var(--maroon-600); }
.soc-btn svg { width: 23px; height: 23px; }
@media (max-width: 880px) {
  .info-panel { grid-template-columns: repeat(2, 1fr); }
  .info-col:nth-child(odd) { border-left: 0; }
  .info-col:nth-child(n + 3) { border-top: 1px solid var(--cream-line); }
}
@media (max-width: 520px) {
  .info-panel { grid-template-columns: 1fr; }
  .info-col + .info-col { border-left: 0; border-top: 1px solid var(--cream-line); }
  .info-about { justify-content: center; }
}

/* ==========================================================================
   Through the years
   ========================================================================== */
.years-layout {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(14px, 3vw, 34px);
}
.years-copy { text-align: center; max-width: 360px; margin-inline: auto; }
.years-copy .script { font-size: clamp(28px, 3.6vw, 37px); line-height: 1.1; color: #f2e8d5; }
.years-copy h2 {
  font-size: clamp(20px, 2.6vw, 26px); letter-spacing: 2.4px;
  text-transform: uppercase; color: #f2e8d5; margin-top: 2px;
}
.years-copy p { margin-top: 10px; font-size: 13.5px; color: #d6c9b5; }
.years-copy .btn { margin-top: 16px; }
.photo-pair { display: flex; gap: clamp(6px, 1.4vw, 14px); }
.snap {
  flex: 1 1 0; background: #f4ecdd; padding: 5px 5px 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .45); border-radius: 1px;
}
.snap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* tilt and hover-pop travel as custom properties so the scroll-reveal transform
   can compose with them instead of overriding them */
.snap { transform: rotate(var(--tilt, -2.2deg)) scale(var(--pop, 1)); }
.snap:nth-child(odd) { --tilt: -2.2deg; }
.snap:nth-child(even) { --tilt: 1.8deg; }
.photo-pair--light .snap { box-shadow: 0 4px 14px rgba(80, 45, 20, .28); }
@media (max-width: 820px) {
  .years-layout { grid-template-columns: 1fr; }
  .years-layout .photo-pair { max-width: 420px; margin-inline: auto; }
  .years-layout > .photo-pair:first-child { order: 2; }
  .years-copy { order: 1; }
  .years-layout > .photo-pair:last-child { order: 3; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--maroon-800); color: #d8c3ba; padding-block: clamp(28px, 4vw, 34px) 18px; }
.foot-grid {
  display: grid; gap: clamp(20px, 3vw, 30px);
  grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
  align-items: start;
}
.foot-logo img { width: clamp(130px, 14vw, 177px); }
.site-footer h3 {
  font-size: 15px; letter-spacing: .8px; text-transform: uppercase;
  color: #f2e6d6; margin-bottom: 10px;
}
.foot-col a, .foot-col p { display: block; font-size: 13px; line-height: 21px; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-sign img { width: clamp(180px, 20vw, 234px); }
.copyright {
  margin-top: clamp(20px, 3vw, 26px); padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  text-align: center; font-size: 12.5px; color: #c4a9a2;
}
.credit { white-space: nowrap; }
.credit::before { content: "·"; margin: 0 8px; opacity: .55; }
.credit a { border-bottom: 1px solid rgba(255, 255, 255, .28); }
.credit a:hover { color: #fff; border-bottom-color: currentColor; }
@media (max-width: 480px) {
  .credit { display: block; }
  .credit::before { content: none; }
}
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-logo, .foot-sign { grid-column: span 3; text-align: center; }
  .foot-logo img, .foot-sign img { margin-inline: auto; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; }
  .foot-logo, .foot-sign, .foot-col--contact { grid-column: span 2; }
}

/* ==========================================================================
   Interior page header
   ========================================================================== */
.page-head {
  position: relative; overflow: hidden;
  background: var(--espresso);
  background-image:
    radial-gradient(120% 120% at 22% 0%, rgba(150, 96, 50, .3), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 8px);
  padding-block: clamp(34px, 5vw, 56px) clamp(40px, 5.4vw, 60px);
  text-align: center;
}
.page-head::before {
  content: ""; position: absolute; right: clamp(-30px, -2vw, 0px); bottom: -10px;
  width: clamp(110px, 16vw, 190px); aspect-ratio: 81 / 172;
  background: url("assets/rooster.png") right bottom / contain no-repeat;
  opacity: .16; pointer-events: none;
}
.page-head h1 {
  font-size: clamp(30px, 5vw, 48px); letter-spacing: 2px; text-transform: uppercase;
  color: #f4ead7; margin-top: 6px; text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.page-head p { max-width: 60ch; margin: 12px auto 0; color: #cbbca4; font-size: clamp(14.5px, 1.6vw, 16.5px); }

/* ==========================================================================
   Generic content blocks
   ========================================================================== */
.prose p + p { margin-top: 1em; }
.prose { font-size: clamp(15px, 1.6vw, 16.5px); }
.prose h3 { margin-top: 1.6em; margin-bottom: .5em; font-size: clamp(18px, 2vw, 21px); text-transform: uppercase; letter-spacing: .8px; }

.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 46px); align-items: center;
}
.split--media-first > .split-media { order: -1; }
/* the source photos are small crops off the original mockup — cap the column so
   they are never scaled past the point where they go soft */
.split-media { max-width: 420px; margin-inline: auto; }
.split-media > img { width: 100%; border-radius: 3px; box-shadow: var(--shadow-md); }
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } }

.tiles {
  display: grid; gap: clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: clamp(24px, 3vw, 34px);
}
.tile {
  background: var(--cream-hi); border: 1px solid var(--cream-line);
  border-radius: 3px; padding: clamp(18px, 2.4vw, 26px);
  display: flex; flex-direction: column; gap: 10px;
}
.tile h3 { font-size: clamp(17px, 1.9vw, 20px); text-transform: uppercase; letter-spacing: .8px; }
.tile p { font-size: 14.5px; }
.tile .btn { margin-top: auto; align-self: flex-start; }
.tile-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--maroon-700); color: var(--gold-hi);
  font-family: var(--head); font-weight: 700; font-size: 18px;
}
.tile-badge svg { width: 24px; height: 24px; }
.tile--dark { background: rgba(255, 255, 255, .05); border-color: rgba(220, 178, 100, .28); color: #d8ccb8; }
.tile--dark h3 { color: #f2e8d5; }

.price-note { font-size: 13px; color: #7a6653; font-style: italic; }

/* ==========================================================================
   Menu page
   ========================================================================== */
.chip-nav {
  position: sticky; top: var(--hdr-h); z-index: 30;
  background: var(--cream-hi); border-block: 1px solid var(--cream-line);
}
.chip-scroll {
  display: flex; gap: 8px; overflow-x: auto; padding-block: 12px;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
.chip {
  flex: none; padding: 9px 16px; min-height: 40px;
  display: inline-flex; align-items: center;
  border: 1.5px solid rgba(90, 26, 21, .3); border-radius: 999px;
  font-family: var(--head); font-weight: 600; font-size: 12.5px;
  letter-spacing: .8px; text-transform: uppercase; color: var(--maroon-900);
  white-space: nowrap; transition: background .15s, color .15s;
}
.chip:hover { background: rgba(90, 26, 21, .08); }
.chip.is-active { background: var(--maroon-700); border-color: var(--maroon-700); color: #f5ead9; }

.menu-section { scroll-margin-top: calc(var(--hdr-h) + 72px); }
.menu-section + .menu-section { margin-top: clamp(38px, 5vw, 56px); }
.menu-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.menu-head h2 {
  font-size: clamp(21px, 2.8vw, 28px); letter-spacing: 1.2px; text-transform: uppercase;
}
.menu-head::after {
  content: ""; order: 1; flex: 1 1 40px; height: 5px;
  border-top: 2px solid #c3a06a; border-bottom: 2px solid #c3a06a;
}
.menu-note { order: 2; width: 100%; font-size: 14px; color: #7a6653; }
.menu-list {
  display: grid; gap: 0 clamp(26px, 4vw, 52px);
  grid-template-columns: repeat(2, 1fr); margin-top: 14px;
}
@media (max-width: 700px) { .menu-list { grid-template-columns: 1fr; } }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: 2px 12px;
  align-items: baseline; padding: 13px 0;
  border-bottom: 1px dashed rgba(120, 92, 62, .32);
}
.menu-item h3 {
  font-size: 15.5px; font-weight: 600; letter-spacing: .4px;
  text-transform: uppercase; color: var(--maroon-900);
}
.menu-item p { grid-column: 1 / -1; font-size: 13.5px; line-height: 1.45; color: var(--body); }
.menu-item .price {
  grid-column: 2; grid-row: 1;
  font-family: var(--head); font-weight: 600; font-size: 15px;
  color: #6b2a1e; white-space: nowrap;
}
.menu-item .tag {
  display: inline-block; margin-left: 8px; padding: 2px 7px;
  border-radius: 2px; background: rgba(190, 147, 68, .22);
  font-family: var(--head); font-size: 10.5px; letter-spacing: .8px;
  text-transform: uppercase; color: #6b4a15; vertical-align: 2px;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.form { display: grid; gap: 16px; }
/* bot trap — a real person never sees or tabs into this */
.honeypot { display: none; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label {
  font-family: var(--head); font-weight: 600; font-size: 12.5px;
  letter-spacing: .8px; text-transform: uppercase; color: var(--maroon-900);
}
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 13px;
  background: #fffaf0; border: 1.5px solid #d6c3a5; border-radius: 3px;
  font-size: 15px; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b99b73; }
.field .hint { font-size: 12.5px; color: #7a6653; }
.form-note {
  padding: 12px 14px; border-left: 3px solid var(--gold);
  background: rgba(190, 147, 68, .12); font-size: 13.5px;
}

/* ==========================================================================
   FAQ / details
   ========================================================================== */
.faq { border-top: 1px solid var(--cream-line); margin-top: clamp(22px, 3vw, 30px); }
.faq details { border-bottom: 1px solid var(--cream-line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 2px; cursor: pointer; list-style: none;
  font-family: var(--head); font-weight: 600; font-size: clamp(15px, 1.7vw, 16.5px);
  text-transform: uppercase; letter-spacing: .5px; color: var(--maroon-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--gold);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 2px 18px; font-size: 14.5px; max-width: 78ch; }

/* ==========================================================================
   Reviews
   ========================================================================== */
.review-grid {
  display: grid; gap: clamp(14px, 2vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  margin-top: clamp(24px, 3vw, 34px);
}
.review {
  background: var(--cream-hi); border: 1px solid var(--cream-line);
  border-radius: 3px; padding: clamp(18px, 2.2vw, 24px);
  display: flex; flex-direction: column; gap: 12px;
}
.review .stars { justify-content: flex-start; }
.review .stars svg { width: 18px; height: 18px; }
.review blockquote { font-size: 15px; line-height: 1.55; color: #45372c; }
.review footer { margin-top: auto; font-size: 13px; color: #7a6653; }
.review footer b { color: var(--maroon-900); font-family: var(--head); letter-spacing: .5px; }

/* ==========================================================================
   Timeline (about)
   ========================================================================== */
.timeline { display: grid; gap: clamp(22px, 3vw, 34px); margin-top: clamp(26px, 3.4vw, 36px); }
.tl-item {
  display: grid; grid-template-columns: 200px 1fr; gap: clamp(16px, 3vw, 30px);
  align-items: center;
}
.tl-item:nth-child(even) { grid-template-columns: 1fr 200px; }
.tl-item:nth-child(even) .snap { order: 2; }
.tl-body { max-width: 60ch; }
.tl-item:nth-child(even) .tl-body { margin-left: auto; }
.tl-body .year {
  font-family: var(--display); font-size: clamp(30px, 4vw, 42px);
  letter-spacing: 2px; color: var(--gold-hi); line-height: 1;
}
.tl-body h3 { margin: 4px 0 8px; font-size: clamp(17px, 2vw, 20px); text-transform: uppercase; letter-spacing: .8px; color: #f2e8d5; }
.tl-body p { font-size: 14.5px; color: #cdbfa9; }
@media (max-width: 700px) {
  .tl-item, .tl-item:nth-child(even) { grid-template-columns: 1fr; }
  .tl-item:nth-child(even) .snap { order: 0; }
  .tl-item .snap { max-width: 260px; }
}

/* ==========================================================================
   Specials
   ========================================================================== */
.special-grid {
  display: grid; gap: clamp(14px, 2vw, 20px);
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-top: clamp(24px, 3vw, 34px);
}
.special {
  position: relative; background: var(--panel-dark); color: var(--cream-text);
  border: 5px solid #4a1a17; border-radius: 3px;
  padding: clamp(18px, 2.2vw, 24px); text-align: center;
  display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--shadow-md);
}
.special .day {
  font-family: var(--head); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold-lt);
}
.special h3 { font-size: clamp(18px, 2.1vw, 21px); color: #f4ead7; text-transform: uppercase; letter-spacing: .8px; }
.special p { font-size: 14px; color: #cdbfa9; }
.special .deal {
  margin-top: auto; padding-top: 10px;
  font-family: var(--display); font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 1px; color: var(--gold-hi);
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-grid {
  display: grid; gap: clamp(20px, 3vw, 34px);
  grid-template-columns: 1fr 1fr; align-items: start;
}
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hours-table th, .hours-table td { padding: 11px 4px; border-bottom: 1px solid var(--cream-line); text-align: left; font-size: 14.5px; }
.hours-table th { font-family: var(--head); font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--maroon-900); }
.hours-table td { text-align: right; font-weight: 700; color: #33231a; }
.hours-table tr.is-closed td { color: #8a6a5c; font-weight: 400; }
.map-frame {
  width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--cream-line);
  border-radius: 3px; overflow: hidden; background: #e6dcc6;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ==========================================================================
   Order page plates (larger variant)
   ========================================================================== */
/* four cards over three columns leaves Catering alone on row two — put it in the
   middle column so it centres, and drop to layouts with no orphan below that */
.order-grid {
  display: grid; gap: clamp(14px, 2vw, 20px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(24px, 3vw, 34px);
}
.order-card--catering { grid-column: 2; }
@media (max-width: 880px) {
  .order-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-card--catering { grid-column: auto; }
}
@media (max-width: 560px) { .order-grid { grid-template-columns: 1fr; } }
.order-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: clamp(20px, 2.6vw, 28px); border-radius: 8px; color: #fff;
  box-shadow: var(--shadow-md); text-align: center; align-items: center;
}
.order-card svg.mark { width: 46px; height: 46px; }
.order-card h3 { color: inherit; font-size: clamp(18px, 2.1vw, 22px); text-transform: uppercase; letter-spacing: 1px; }
.order-card p { font-size: 14px; opacity: .93; }
.order-card .btn { margin-top: auto; }
.order-card--pickup { background: #5c1a15; }
.order-card--doordash { background: var(--brand-dd); }
.order-card--ubereats { background: var(--brand-ue); }
.order-card--catering { background: #c9963f; color: #33200a; }
.order-card--catering h3 { color: #33200a; }
.badge-best {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .4);
  font-family: var(--head); font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase;
}

.steps { counter-reset: step; display: grid; gap: clamp(14px, 2vw, 20px); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: clamp(24px, 3vw, 32px); }
.step { position: relative; padding-left: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--maroon-700); color: var(--gold-hi);
  font-family: var(--head); font-weight: 700; font-size: 19px;
}
.step h3 { font-size: 16.5px; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 4px; }
.band--dark .step h3 { color: #f2e8d5; }
.step p { font-size: 14px; }

/* ==========================================================================
   Motion
   Rules: transform and opacity only, every entrance plays once, and nothing is
   hidden unless JS is present to reveal it again (see .js-motion). The whole
   section is gated behind prefers-reduced-motion: no-preference.
   ========================================================================== */

/* --- cross-page transitions (progressive; ignored where unsupported) ------- */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .22s var(--ease-out) both; }
  ::view-transition-new(root) { animation: vt-in .3s var(--ease-out) both; }
  @keyframes vt-out { to { opacity: 0; } }
  @keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
  /* the badge is the fixed point the whole site pivots around */
  .brand img { view-transition-name: coop-badge; }
}

@media (prefers-reduced-motion: no-preference) {

  /* --- scroll reveals ----------------------------------------------------- */
  .js-motion [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity var(--t-slow) var(--ease-out),
                transform var(--t-slow) var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  /* resting state reads --lift, so :hover only has to set that variable and the
     two transforms never fight over specificity */
  .js-motion [data-reveal].is-in { opacity: 1; transform: translateY(var(--lift, 0)); }

  /* polaroids settle into their tilt rather than sliding up */
  .js-motion .snap[data-reveal] {
    transform: rotate(0) scale(.94);
    transition: opacity var(--t-slow) var(--ease-out),
                transform .68s var(--ease-settle);
  }
  .js-motion .snap[data-reveal].is-in {
    transform: rotate(var(--tilt, -2.2deg)) scale(var(--pop, 1));
  }

  /* --- hero entrance: the one orchestrated moment ------------------------- */
  .hero-media { animation: hero-settle 1.4s var(--ease-out) both; }
  .hero-copy > *,
  .order-plates > *,
  .hero-ribbon { animation: rise-in .62s var(--ease-out) both; }
  .hero-copy > :nth-child(1) { animation-delay: .06s; }
  .hero-copy > :nth-child(2) { animation-delay: .13s; }
  .hero-copy > :nth-child(3) { animation-delay: .2s; }
  .hero-copy > :nth-child(4) { animation-delay: .27s; }
  /* the four plates deal in like cards onto a counter */
  .order-plates > :nth-child(1) { animation-delay: .36s; }
  .order-plates > :nth-child(2) { animation-delay: .43s; }
  .order-plates > :nth-child(3) { animation-delay: .5s; }
  .order-plates > :nth-child(4) { animation-delay: .57s; }
  .hero-ribbon { animation-delay: .68s; }

  @keyframes rise-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes hero-settle {
    from { transform: scale(1.07); }
    to { transform: none; }
  }

  /* --- interior page headers --------------------------------------------- */
  .page-head > .wrap > * { animation: rise-in .6s var(--ease-out) both; }
  .page-head > .wrap > :nth-child(1) { animation-delay: .05s; }
  .page-head > .wrap > :nth-child(2) { animation-delay: .12s; }
  .page-head > .wrap > :nth-child(3) { animation-delay: .19s; }
  .page-head::before { animation: rooster-in 1.1s var(--ease-out) both; }
  @keyframes rooster-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: .16; transform: none; }
  }

  /* --- mobile nav panel --------------------------------------------------- */
  .nav[data-open="true"] > * { animation: nav-in .3s var(--ease-out) both; }
  .nav[data-open="true"] > :nth-child(1) { animation-delay: .02s; }
  .nav[data-open="true"] > :nth-child(2) { animation-delay: .06s; }
  .nav[data-open="true"] > :nth-child(3) { animation-delay: .1s; }
  .nav[data-open="true"] > :nth-child(4) { animation-delay: .14s; }
  .nav[data-open="true"] > :nth-child(5) { animation-delay: .18s; }
  @keyframes nav-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
  }

  /* --- FAQ content ------------------------------------------------------- */
  .faq details[open] p { animation: rise-in .34s var(--ease-out) both; }
}

/* --- interaction ----------------------------------------------------------
   Hover only ever sets --lift / --pop. The resting transform reads those, so a
   card that is mid-reveal and a card being hovered never contradict each other. */
.card--photo, .card--slate, .tile, .review, .special, .order-card {
  transform: translateY(var(--lift, 0));
  transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out);
}
.card--photo:hover, .tile:hover, .review:hover {
  --lift: -3px;
  box-shadow: 0 14px 30px rgba(40, 18, 10, .18);
}
.special:hover, .card--slate:hover {
  --lift: -3px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .4);
}
.order-card:hover { --lift: -4px; box-shadow: 0 16px 34px rgba(40, 18, 10, .28); }
.snap { transition: transform var(--t-mid) var(--ease-out), box-shadow var(--t-mid) var(--ease-out); }
.snap:hover { --pop: 1.04; --tilt: 0deg; box-shadow: 0 12px 28px rgba(0, 0, 0, .5); z-index: 2; }
.soc-btn:hover, .tb-soc:hover { transform: translateY(-2px); }
.soc-btn, .tb-soc { transition: background var(--t-fast), transform var(--t-fast) var(--ease-out); }
.chip { transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast); }
.menu-item { transition: background var(--t-fast); }
.menu-item:hover { background: rgba(190, 147, 68, .07); }

/* nav underline grows from the centre instead of snapping on */
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px;
  background: var(--maroon-600); transform: scaleX(0); transform-origin: center;
  transition: transform var(--t-mid) var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { border-bottom-color: transparent; }

/* header tightens once you leave the top of the page */
.site-header { transition: box-shadow var(--t-mid) var(--ease-out); }
.hdr { transition: min-height var(--t-mid) var(--ease-out), padding-block var(--t-mid) var(--ease-out); }
.brand img { transition: height var(--t-mid) var(--ease-out); }
.is-stuck .site-header { box-shadow: 0 1px 0 rgba(90, 50, 30, .14), 0 6px 22px rgba(60, 30, 15, .14); }
@media (min-width: 941px) {
  .is-stuck { --hdr-h: 76px; }
  .is-stuck .hdr { padding-block: 2px; }
  .is-stuck .brand img { height: 64px; }
}
@media (min-width: 1100px) {
  .is-stuck { --hdr-h: 84px; }
  .is-stuck .brand img { height: 72px; }
}

@media (max-width: 940px) {
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { border-bottom-color: rgba(122, 90, 60, .16); }
}

/* --- reduced motion -------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  /* belt and braces: nothing may stay hidden */
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
