/* Danny's BBQ Head Quarters — migrated site
   Palette and type carried over from the Weebly build:
   black ground, #b8391e brand red, Alfa Slab One display, Poppins body. */

:root{
  --black:#000000;
  --ink:#0a0a0a;
  --panel:#141414;
  --board:#241c16;
  --board-panel:#2b221a;
  --white:#ffffff;
  --off:#f5f5f5;
  --grey:#8d8d8d;
  --fade:#b7a68e;
  --tan:#e7d4b3;
  --cream:#f4ece0;
  --red:#b8391e;        /* brand fill — white on it measures 5.77:1 */
  --red-ink:#c6614b;    /* the same red lightened for text on dark grounds,
                           where #b8391e only reaches 3.64:1 against black */
  --red-dim:#5e2318;
  /* WCAG AA needs 4.5:1 for body text, and no single red clears that on
     BOTH white and near-black: passing on white caps the luminance at
     0.175, passing on #141414 needs at least 0.200. So the brand red has
     a light form and a dark form, and the ground decides which is used.
     --red-light on #141414 is 7.08:1. */
  --red-light:#e08a76;
  --rule:#010101;
  --nav-h:64px;
}

*{ box-sizing:border-box; }

html{ scroll-padding-top:90px; }
html,body{ margin:0; padding:0; }

body{
  background:var(--black);
  color:var(--white);
  font-family:'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-size:15px;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}

/* height:auto is what lets the width/height attributes on every <img> reserve
   layout space without also pinning the rendered height: without it a CSS or
   grid-constrained width shrinks the image while the attribute keeps the
   height, and the picture stretches. */
img{ max-width:100%; height:auto; display:block; }

/* The base rule, and this site's default ground is dark — .section.light is
   the exception, and it overrides below. --red-ink #c6614b is 4.16:1 on
   --board, which fails AA for normal text; the catering page's email link
   sits exactly there. --red-light is 6.44:1 on the same ground. */
a{ color:var(--red-light); }

h1,h2,h3{
  font-family:'Alfa Slab One', Georgia, serif;
  font-weight:400;
  text-transform:uppercase;
  line-height:1.1;
  margin:0;
  text-wrap:balance;
}

.container{
  width:100%;
  max-width:1160px;
  margin:0 auto;
  padding-inline:20px;
}

/* Every interactive thing gets a visible focus ring. Without this the only
   focus indicator is the browser default, which disappears against a black
   ground on several of these controls. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible{
  outline:3px solid var(--red-ink);
  outline-offset:2px;
}

/* Keyboard users should not have to tab the whole nav on every page. */
.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  z-index:100;
  background:var(--red);
  color:var(--white);
  padding:12px 20px;
  font-size:13px;
  font-weight:700;
  letter-spacing:.1em;
  text-transform:uppercase;
  text-decoration:none;
}
.skip-link:focus{ left:0; }

/* ---------- Navigation ---------- */

/* Transparent over the hero, like the Weebly build — but it stays put
   instead of scrolling away, and takes a solid ground once the page has
   moved so the links never sit on top of body copy. */
.site-nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:50;
  padding-top:40px;
  background:transparent;
  transition:padding-top .2s ease, background-color .2s ease;
}
.site-nav.scrolled{
  padding-top:0;
  background:rgba(0,0,0,.94);
}
.site-nav.scrolled::before{ opacity:0; }
.site-nav.scrolled .nav-links a{
  padding-block:14px;
  text-shadow:none;
}
/* The Weebly nav is plain white-on-photo, which is only legible because its
   hero happens to have sky behind the links. A scrim keeps the transparent
   look and holds contrast over the brighter heroes too. */
.site-nav::before{
  content:"";
  position:absolute;
  inset:-40px 0 -24px;
  background:linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0));
  pointer-events:none;
  transition:opacity .2s ease;
  z-index:-1;
}
.nav-links{
  display:flex;
  justify-content:center;
  list-style:none;
  margin:0;
  padding:0;
  border-top:1px solid var(--rule);
  border-bottom:1px solid var(--rule);
}
.nav-links li{ border-right:1px solid var(--rule); }
.nav-links li:last-child{ border-right:0; }
.nav-links a{
  display:block;
  color:var(--white);
  text-decoration:none;
  font-size:13px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  padding:20px 30px;
  text-shadow:0 1px 6px rgba(0,0,0,.5);
}
.nav-links a{ position:relative; }
/* The Weebly nav grew a rule from the centre of each item on hover
   (.menu a:after, left/right 50% → 10%, half a second). Same move. */
.nav-links a::after{
  content:"";
  position:absolute;
  left:50%;
  right:50%;
  bottom:-1px;
  height:2px;
  background:var(--red);
  transition:left .4s ease, right .4s ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after{ left:10%; right:10%; }
.nav-links a:hover{ color:var(--red-ink); }
.nav-links a[aria-current="page"]{ color:var(--red-ink); }

.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  background:none;
  border:0;
  padding:10px;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:24px;
  height:2px;
  margin:5px 0;
  background:var(--white);
}

@media (max-width:820px){
  .site-nav{ padding-top:0; background:rgba(0,0,0,.82); }
  .site-nav.scrolled{ background:rgba(0,0,0,.96); }
  .site-nav .container{ position:relative; }
  .nav-toggle{ display:block; margin-left:auto; }
  .nav-links{
    display:none;
    flex-direction:column;
    border:0;
    padding:4px 0 14px;
  }
  .nav-links.open{ display:flex; }
  .nav-links li{ border-right:0; }
  .nav-links a{ padding:10px 0; text-shadow:none; }
}

/* ---------- Hero ---------- */

.hero{
  min-height:480px;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}
.hero.tall{ min-height:838px; }

/* The page title stays in the document for screen readers and search
   engines; the Weebly build showed no title over the hero photo. */
.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  margin:-1px;
  padding:0;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
  border:0;
}

@media (max-width:820px){
  .hero{ min-height:300px; }
  .hero.tall{ min-height:420px; }
}

/* ---------- Sections ---------- */

.section{ padding-block:64px; }
.section.tight{ padding-block:40px; }
.section .eyebrow{
  font-family:'Alfa Slab One', Georgia, serif;
  font-size:14px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--white);
  margin:0 0 6px;
}
.section h2{ font-size:clamp(28px,4.4vw,44px); }
.section .sub{
  font-weight:700;
  font-size:13px;
  margin:10px 0 14px;
}
.section p{ color:var(--off); margin:0 0 14px; max-width:62ch; }
.section p em{ color:var(--off); }

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
}
.split.reverse .split-text{ order:2; }
@media (max-width:820px){
  .split{ grid-template-columns:1fr; gap:26px; }
  .split.reverse .split-text{ order:0; }
}

.photo-panel{
  min-height:420px;
  background-position:center;
  background-size:cover;
}
.copy-panel{
  background:var(--panel);
  padding:44px 40px;
}
.copy-panel h2{ margin-bottom:12px; }
@media (max-width:820px){
  .photo-panel{ min-height:260px; }
  .copy-panel{ padding:30px 24px; }
}

.btn{
  display:inline-block;
  background:var(--red);
  color:var(--white);
  font-size:12px;
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  text-decoration:none;
  padding:13px 26px;
  margin-top:6px;
}
.btn:hover{ background:#9c2f18; }

/* The Weebly home page is a mosaic of photo tiles, two of which carry a
   translucent panel of copy instead of sitting plain. */
.mosaic{
  display:grid;
  gap:0;
}
.mosaic.two{ grid-template-columns:repeat(2,1fr); }
.mosaic.three{ grid-template-columns:repeat(3,1fr); }
.mosaic.four{ grid-template-columns:repeat(4,1fr); }
.tile{
  position:relative;
  min-height:340px;
  background-position:center;
  background-size:cover;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:26px;
}
.tile.plain{ padding:0; }
.tile.ink{ background:var(--black); }
.tile-panel{
  background:rgba(244,244,244,.88);
  color:#121212;
  padding:26px 28px;
  max-width:340px;
}
.tile-panel h2{
  color:#121212;
  font-size:clamp(22px,2.4vw,32px);
  margin:0 0 10px;
}
.tile-panel p{
  color:#2b2b2b;
  font-size:13.5px;
  line-height:1.7;
  margin:0 0 14px;
}
.tile-panel p:last-child{ margin-bottom:0; }
.tile.ink .tile-panel{
  background:transparent;
  color:var(--white);
  max-width:none;
}
.tile.ink .tile-panel h2{ color:var(--white); }
.tile.ink .tile-panel p{ color:var(--off); }
@media (max-width:900px){
  .mosaic.three, .mosaic.four{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:620px){
  .mosaic.two, .mosaic.three, .mosaic.four{ grid-template-columns:1fr; }
  .tile{ min-height:260px; }
}

.photo-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
}
.photo-strip .shot{
  aspect-ratio:4/3;
  background-position:center;
  background-size:cover;
}
@media (max-width:820px){
  .photo-strip{ grid-template-columns:1fr; }
  .photo-strip .shot{ aspect-ratio:16/9; }
}

/* ---------- Menu board (carried over from the live menu widget) ---------- */

.board{
  background:var(--board);
  color:var(--cream);
  padding-block:44px;
}
.board .columns{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0 34px;
}
.board.two .columns{ grid-template-columns:repeat(2,1fr); gap:0 42px; }
@media (max-width:900px){
  .board .columns{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px){
  .board .columns, .board.two .columns{ grid-template-columns:1fr; }
}
.block{ margin:0 0 28px; }
.block h2{
  font-family:'Alfa Slab One', Georgia, serif;
  font-size:20px;
  margin:0 0 6px;
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
  color:var(--cream);
}
.block h2 .price{
  font-size:15px;
  color:var(--tan);
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.block h3{
  font-family:'Alfa Slab One', Georgia, serif;
  font-size:13px;
  letter-spacing:.04em;
  color:var(--tan);
  margin:14px 0 2px;
}
.block .note{ font-size:12.5px; line-height:1.55; color:var(--fade); margin:0 0 8px; }
.block .sub{ font-size:12px; line-height:1.5; color:var(--fade); font-style:italic; margin:4px 0 8px; }
.block .list-line{ font-size:13px; line-height:1.7; color:var(--fade); margin:4px 0 0; }
.row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
  padding:5px 0;
  font-size:14.5px;
}
.row .name{ color:var(--cream); }
.row .price{
  color:var(--tan);
  font-weight:700;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.row.minor{ padding:2px 0 6px; font-size:13px; }
.row.minor .name{ color:var(--fade); }
.row.minor .price{ font-weight:600; }

.board-banner{
  background:var(--red);
  color:var(--cream);
  text-align:center;
  font-family:'Alfa Slab One', Georgia, serif;
  font-size:14px;
  letter-spacing:.04em;
  text-transform:uppercase;
  padding:12px 16px;
  border-radius:6px;
  margin:6px 0 24px;
}
.board-note{
  text-align:center;
  color:var(--fade);
  font-size:11.5px;
  font-style:italic;
  margin-top:22px;
}

.specials-card{
  background:var(--board-panel);
  border:2px solid var(--red);
  border-radius:8px;
  padding:18px 20px;
  margin:0 0 28px;
}
.specials-card h2{
  font-family:'Alfa Slab One', Georgia, serif;
  font-size:18px;
  text-align:center;
  color:var(--cream);
  display:block;
  margin:0 0 12px;
}
.specials-card h2 .star{ color:var(--tan); margin:0 8px; }
.sp-row{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
  padding:8px 6px;
  font-size:13.5px;
  border-radius:3px;
}
.sp-row:nth-of-type(odd){ background:rgba(244,236,224,.05); }
.sp-row .day{ font-weight:700; color:var(--cream); min-width:88px; }
.sp-row .desc{ color:var(--fade); flex:1; }
.sp-row .amt{
  color:var(--tan);
  font-weight:700;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.specials-logo{
  margin-top:14px;
  background:var(--red-dim);
  border-radius:8px;
  padding:18px 16px;
  text-align:center;
}
.specials-logo img{ width:100%; max-width:230px; margin:0 auto; }

.deadline{
  background:var(--red-dim);
  border-radius:8px;
  padding:16px;
  text-align:center;
  margin-top:8px;
}
.deadline p{ margin:0; font-size:13px; line-height:1.6; color:var(--cream); }
.deadline .eyebrow{
  font-family:'Alfa Slab One', Georgia, serif;
  font-size:12px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--tan);
  margin:0 0 6px;
}

/* ---------- Testimonials ---------- */

.reviews{ background:var(--black); padding-block:60px; text-align:center; }
.reviews .quote{
  max-width:760px;
  margin:0 auto;
  font-size:16px;
  line-height:1.9;
  color:var(--off);
}
.reviews .who{
  color:var(--red-ink);
  font-family:'Alfa Slab One', Georgia, serif;
  font-size:14px;
  margin-top:16px;
}
.reviews .stars{ color:var(--red-ink); letter-spacing:.3em; margin-bottom:18px; }
.review{ display:none; }
.review.active{ display:block; }
.dots{ display:flex; justify-content:center; gap:2px; margin-top:16px; }
/* The dot stays 9px; the target is 44px, which is the MMM standard's
   minimum and stricter than WCAG 2.5.8's 24. */
.dots button{
  width:44px;
  height:44px;
  padding:17px;
  border:0;
  border-radius:50%;
  background:#4a4a4a;
  background-clip:content-box;
  cursor:pointer;
}
.dots button[aria-pressed="true"]{ background:var(--red-ink); background-clip:content-box; }
.dots button:focus-visible{ outline:3px solid var(--red-ink); outline-offset:1px; }

/* ---------- Contact ---------- */

/* The Weebly contact page sets this block on white — the butcher-diagram
   icons are black line art and vanish on the dark ground. */
.section.light{ background:var(--white); color:#121212; }
.section.light h2{ color:#121212; }
.section.light p{ color:#3a3a3a; }
/* --red-ink is 4.03:1 on white and 3.44:1 on cream — both fail AA. It stays
   the link colour on the dark ground, where it reads correctly. On a light
   section the brand red --red is 5.77:1 on white and 4.92:1 on cream, so
   this needs no new colour, only the right one of the two. Measured on the
   deployed page: the phone number and email address on /contact. */
.section.light a{ color:var(--red); }

.info-rows{
  list-style:none;
  margin:26px 0 0;
  padding:0;
  display:grid;
  gap:24px;
  max-width:620px;
}
.info-rows li{
  display:flex;
  align-items:center;
  gap:26px;
}
.info-rows .icon{
  width:88px;
  flex:0 0 88px;
  height:auto;
}
.info-rows p{ margin:0; font-size:14.5px; line-height:1.7; }
@media (max-width:620px){
  .info-rows li{ gap:18px; }
  .info-rows .icon{ width:64px; flex:0 0 64px; }
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}
.field{ display:flex; flex-direction:column; gap:6px; }
.field.wide{ grid-column:1 / -1; }
.field label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--grey);
}
.field input,
.field textarea{
  background:var(--panel);
  border:1px solid #2a2a2a;
  color:var(--white);
  font-family:inherit;
  font-size:14px;
  padding:12px 14px;
}
.field input:focus,
.field textarea:focus{ outline:2px solid var(--red); outline-offset:1px; }
.field textarea{ min-height:130px; resize:vertical; }
/* On #141414 the brand red is 3.2:1. Six of these on /contact, every one a
   required-field marker on the order form — the highest-stakes text on the
   site to lose. The label still says the word, so the colour was never
   carrying the meaning alone; it just has to be legible. */
.required{ color:var(--red-light); }
@media (max-width:820px){ .form-grid{ grid-template-columns:1fr; } }

/* ---------- Footer ---------- */

.site-footer{
  background:var(--black);
  border-top:1px solid rgba(255,255,255,.08);
  padding-block:48px 28px;
  text-align:center;
}
.footer-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
  align-items:center;
}
.footer-grid p{ margin:0; font-size:13px; line-height:1.9; color:var(--off); }
/* Visible to a screen reader, not on screen. The footer's Facebook link
   opens in a new tab, and WCAG 3.2.5 asks that a change of context be
   announced rather than sprung. This class did not exist when that span
   was written, which would have printed the warning on the page. */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap;
}

.footer-grid a{ color:var(--off); text-decoration:none; }
.footer-grid a:hover{ color:var(--red-ink); }
.footer-grid img{ max-width:210px; margin:0 auto; }
.legal{
  margin-top:34px;
  font-size:12px;
  color:var(--grey);
}
.legal a{ color:var(--grey); text-decoration:none; }
.legal a:hover{ color:var(--red-ink); }
.legal .portal{ color:var(--grey); }
.legal a{ text-decoration:underline; }
.wcag-badge{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border:1px solid rgba(255,255,255,.25);
  border-radius:4px;
  padding:3px 8px;
  text-decoration:none !important;
  font-size:10px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.wcag-badge:hover{ border-color:var(--red-ink); }
@media (max-width:820px){ .footer-grid{ grid-template-columns:1fr; gap:26px; } }

/* On a phone the footer links are the smallest things on the page, so give
   them a finger-sized hit area rather than a 14px line of text. Padding on an
   inline-block grows the target without moving the text off its line. */
@media (max-width:820px){
  .footer-grid a,
  .legal a{ display:inline-block; padding:15px 10px; min-width:24px; }
  .footer-grid p{ line-height:1.2; }
  .legal{ line-height:1.2; }
  .legal .sep{ display:none; }  /* padded links read as separate items without them */
  .wcag-badge{ padding:11px 12px; }
}

/* ---------- Scroll reveals ---------- */

/* The Weebly build bounced each block in as it came into view (animate.css
   bounceIn over 1.5s, driven by WOW.js). Same gesture, no libraries, and
   shortened — 1.5s of bouncing reads as slow rather than lively. */
@keyframes bounce-in{
  0%   { opacity:0; transform:scale(.92) translateY(18px); }
  55%  { opacity:1; transform:scale(1.02) translateY(-4px); }
  75%  { transform:scale(.99) translateY(1px); }
  100% { opacity:1; transform:none; }
}
@keyframes rise-in{
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:none; }
}

/* .js-reveal is added by script; without it, everything is simply visible. */
.js-reveal{ opacity:0; }
/* opacity is set here as well as by the keyframes: the visible state must not
   depend on the animation running, or anything that stops it — a browser that
   skips it, a policy, an error — leaves the content permanently invisible. */
.js-reveal.is-in{
  opacity:1;
  animation:rise-in .7s cubic-bezier(.2,.8,.2,1) both;
}
.js-reveal.bounce.is-in{ animation:bounce-in .85s cubic-bezier(.2,.8,.25,1) both; }

@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; }
  /* Belt and braces: with animation off, a hidden reveal would stay hidden. */
  .js-reveal, .js-reveal.is-in{ opacity:1 !important; transform:none !important; }
}

/* ---------- Contact form status ---------- */

.trap{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap;
}
.form-status{
  border-left:3px solid var(--red);
  background:rgba(184,57,30,.12);
  padding:12px 16px;
  font-size:14px;
  margin:0 0 18px;
}
.form-status.ok{
  border-left-color:#4f8a3d;
  background:rgba(79,138,61,.14);
}
.copy-panel .form-status{ color:var(--white); }
#order-submit[disabled]{ opacity:.6; cursor:default; }

/* ---------- Long-form pages (privacy, accessibility) ---------- */

.prose{ max-width:70ch; }
.prose h2{ margin-bottom:8px; }
.prose h3{
  font-size:18px;
  color:var(--white);
  margin:32px 0 8px;
}
.prose p, .prose li{ color:var(--off); font-size:15px; line-height:1.8; }
.prose p{ margin:0 0 14px; max-width:70ch; }
.prose ul{ margin:0 0 14px; padding-left:22px; }
.prose li{ margin-bottom:8px; }
.prose .sub{ color:var(--grey); font-weight:400; font-style:italic; }
