/*
Theme Name: Houston Pub
Description: Ash & Teal — the approved Phase 3 design direction for Houston Pub, Norton OH. Cool-ink ground, teal-bright leads CTAs/links/kickers, brass reserved for logo, prices and the open-today pill; parchment Houston Hall band; Rye display face; string-light dividers and backlit-glow cards as signatures; place-not-plate heroes.
Version: 1.0.0
Requires PHP: 8.3
Text Domain: site-theme
*/

/* ============ tokens (brand/tokens.json) ============ */
:root{
  --ink:#25211E;          /* logo plaque */
  --ink-deep:#1C1916;
  --ink-cool:#17191D;     /* the ground — Ash & Teal */
  --brass:#D0AE19;        /* logo, prices, open pill ONLY */
  --brass-deep:#8A7213;
  --parchment:#F7ECD4;    /* Houston Hall band */
  --teal:#1587AB;         /* the building's color */
  --teal-bright:#2FA9CF;  /* leads on dark: CTAs, links, kickers */
  --teal-deep:#0E7392;    /* teal for text on light grounds */
  --cream:#F2EAD9;
  --body-muted:#aeb6b1;
  --body-dim:#8b948f;
  --surface:#1b1e23;      /* cards on the cool ground */
}

/* ============ base ============ */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
}
body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:1rem;line-height:1.6;background:var(--ink-cool);color:var(--cream)}
img{max-width:100%;height:auto;display:block}
a{color:var(--teal-bright);text-decoration:none}
a:hover{text-decoration:underline}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--teal-bright);outline-offset:2px}
h1,h2,h3,h4{text-wrap:balance;line-height:1.15;margin:0 0 .5em}
p{margin:0 0 1em}
p:last-child{margin-bottom:0}
.wrap{max-width:1060px;margin:0 auto;padding:0 20px}
.price{font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--brass);font-weight:700}

@font-face{
  font-family:'Rye';
  src:url('assets/fonts/rye.woff2') format('woff2');
  font-display:swap;
}
h1,h2{font-family:'Rye',serif;font-weight:400}

.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip-link{position:absolute;left:-9999px;top:0;z-index:100;background:var(--teal-bright);color:#0b1a20;padding:10px 18px;font-weight:700}
.skip-link:focus{left:0}

/* ============ buttons / kickers / section chrome ============ */
.btn{display:inline-block;padding:15px 26px;font-weight:700;letter-spacing:.05em;font-size:15px;border-radius:2px}
.btn:hover{text-decoration:none}
.btn-teal{background:var(--teal-bright);color:#0b1a20}
.btn-teal:hover{background:#54bedd}
.btn-ghost{border:1px solid #2fa9cf80;color:var(--cream)}
.btn-ghost:hover{border-color:var(--teal-bright);color:var(--teal-bright)}
.btn-ink{background:var(--ink);color:var(--parchment)}
.btn-ink:hover{background:#3a332c}
.cta-row{display:flex;gap:14px;flex-wrap:wrap}
.sec-kicker{font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--teal-bright);margin:0 0 8px;font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif}
.sec-title{font-size:clamp(1.6rem,3.4vw,2.3rem);color:#fff;margin:0 0 26px}
.block{padding:72px 0}

/* string-light divider — the A2 signature */
.lights{height:26px;background:
  radial-gradient(circle 4px at 10% 60%, #ffd876 98%, transparent),
  radial-gradient(circle 4px at 22% 40%, #ffd876 98%, transparent),
  radial-gradient(circle 4px at 34% 62%, #ffd876 98%, transparent),
  radial-gradient(circle 4px at 46% 38%, #ffd876 98%, transparent),
  radial-gradient(circle 4px at 58% 60%, #ffd876 98%, transparent),
  radial-gradient(circle 4px at 70% 40%, #ffd876 98%, transparent),
  radial-gradient(circle 4px at 82% 58%, #ffd876 98%, transparent),
  radial-gradient(circle 4px at 94% 42%, #ffd876 98%, transparent);
  filter:drop-shadow(0 0 6px #ffd87688);margin:0 auto;max-width:900px}

/* backlit-glow card — the other A2 signature */
.glow-card{background:var(--surface);border:1px solid #2fa9cf55;border-radius:8px;box-shadow:0 0 34px #1587ab40,inset 0 0 34px #1587ab22;padding:34px}

/* ============ header ============ */
.site-head{background:#17191dd9;border-bottom:1px solid #2fa9cf38}
.site-head .bar{display:flex;align-items:center;gap:18px;padding:14px 22px;max-width:1200px;margin:0 auto}
.site-head .logo{flex-shrink:0}
.site-head .logo img{width:120px;height:auto}
.site-nav{display:flex;gap:14px;margin-left:auto;flex-wrap:nowrap;align-items:center}
.site-nav ul{display:contents;list-style:none;margin:0;padding:0}
.site-nav a{color:var(--cream);font-size:12.5px;letter-spacing:.09em;text-transform:uppercase;white-space:nowrap}
.site-nav a:hover{color:var(--teal-bright);text-decoration:none}
.site-nav .current-menu-item>a,.site-nav .current_page_item>a{color:var(--teal-bright)}
.open-pill{font-size:12px;letter-spacing:.08em;color:var(--ink-deep);background:var(--brass);padding:7px 13px;font-weight:700;white-space:nowrap;flex-shrink:0}
.call-btn{display:none}
.nav-toggle{display:none}

/* Desktop nav sizing above is deliberately compact: 7 items (longest labels
   LOCATION & HOURS, HOUSTON HALL) + logo + pill must hold ONE row from the
   1160px hamburger handoff up through the 1200px bar cap. flex-wrap:nowrap on
   .site-nav makes any future overflow fail visibly instead of wrapping. */
@media(max-width:1160px){
  .site-head .bar{flex-wrap:wrap;gap:12px}
  .site-head .logo img{width:104px}
  .nav-toggle{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;margin-left:auto;width:44px;height:44px;padding:10px;background:none;border:1px solid #2fa9cf60;border-radius:4px;cursor:pointer}
  .nav-toggle span{display:block;height:2px;width:100%;background:var(--cream)}
  .nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .call-btn{display:inline-block;padding:10px 14px;background:var(--teal-bright);color:#0b1a20;font-weight:700;font-size:14px;border-radius:4px}
  .call-btn:hover{text-decoration:none}
  .site-nav{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;gap:0;border-top:1px solid #2fa9cf30;padding-top:6px}
  .site-nav.is-open{display:flex}
  .site-nav ul{display:flex;flex-direction:column}
  .site-nav a{display:block;padding:12px 4px;font-size:15px;border-bottom:1px solid #2fa9cf1c}
  .open-pill{order:5}
}

/* ============ heroes ============ */
.hero{position:relative;min-height:82vh;display:flex;align-items:flex-end;isolation:isolate}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;z-index:-2}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(200deg,#0e739244 0%,#17191d33 34%,#17191df2 86%);z-index:-1}
.hero-inner{padding:64px 20px 58px;max-width:1060px;margin:0 auto;width:100%}
.est{color:var(--teal-bright);letter-spacing:.34em;text-transform:uppercase;font-size:13px;margin:0 0 14px}
.hero h1{font-size:clamp(2rem,5.4vw,3.5rem);color:#fff;margin:0}
.hero .sub{margin:16px 0 28px;max-width:33em;color:#dfe7e2;font-size:1.06rem}

/* interior page header — one shared top-padding value for every page hero */
.page-hero{padding:64px 0 44px;border-bottom:1px solid #2fa9cf30}
.page-hero h1{font-size:clamp(1.9rem,4.4vw,2.8rem);color:#fff;margin:0}
.page-hero .sub{margin:14px 0 0;max-width:38em;color:var(--body-muted);font-size:1.06rem}

/* ============ trio row ============ */
/* Full-bleed band; the three columns stay inside the .wrap content container
   so they align with the hero text and section columns on wide screens.
   Cell dividers are borders (not the gap+background trick) so nothing reads
   as stray lines beyond the contained grid. */
.trio{background:var(--surface);border-block:1px solid #2fa9cf30}
.trio .trio-grid{display:grid;grid-template-columns:repeat(3,1fr);max-width:1060px;margin:0 auto;padding:0 20px}
.trio .trio-grid>div{padding:30px 26px 30px 0}
.trio .trio-grid>div+div{border-left:1px solid #2fa9cf30;padding-left:26px}
.trio h2,.trio h3{font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--teal-bright);margin:0 0 10px}
.trio p{color:#dfe7e2;font-size:15px;margin:0}
@media(max-width:820px){
  .trio .trio-grid{grid-template-columns:1fr}
  .trio .trio-grid>div{padding:24px 0}
  .trio .trio-grid>div+div{border-left:0;border-top:1px solid #2fa9cf30;padding-left:0}
}

/* ============ menu list styling (teaser + [ccl_menu]) ============ */
.menu-items,.ccl-menu__items{list-style:none;margin:0;padding:0}
.menu-items li,.ccl-menu .ccl-menu__item{display:block;padding:15px 0;border-bottom:1px dotted #2fa9cf3d;margin:0}
.menu-items .line,.ccl-menu .ccl-menu__line{display:flex;justify-content:space-between;align-items:baseline;gap:18px}
.menu-items .name,.ccl-menu .ccl-menu__name{font-weight:700;color:#fff}
.menu-items .price,.ccl-menu .ccl-menu__price{font-variant-numeric:tabular-nums;color:var(--brass);font-weight:700;text-align:right}
.menu-items .desc,.ccl-menu .ccl-menu__desc{color:var(--body-muted);font-size:14px;margin:.2rem 0 0}
.chips,.ccl-menu .ccl-menu__nav{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 12px;margin:0 0 1.5rem;scrollbar-width:thin}
.chips a,.ccl-menu .ccl-menu__nav a{white-space:nowrap;font-size:13px;letter-spacing:.06em;color:var(--cream);border:1px solid #2fa9cf60;padding:9px 15px;border-radius:999px}
.chips a:hover,.ccl-menu .ccl-menu__nav a:hover{background:var(--teal-bright);color:#0b1a20;border-color:var(--teal-bright);text-decoration:none}
.ccl-menu .ccl-menu__section{margin:0 0 3rem;scroll-margin-top:2rem}
.ccl-menu .ccl-menu__section h2{font-size:clamp(1.4rem,3vw,1.9rem);color:#fff;margin:0 0 .5rem}
.ccl-menu .ccl-menu__section-desc{color:var(--body-dim)}

/* ============ specials ============ */
.specials{display:grid;grid-template-columns:1.05fr .95fr;gap:34px;align-items:center}
.spec-list{list-style:none;padding:0;margin:0}
.spec-list li{display:grid;grid-template-columns:64px 1fr auto;gap:16px;align-items:baseline;padding:12px 0;border-bottom:1px dotted #2fa9cf30}
.spec-list li:last-child{border-bottom:0}
.spec-list .day{font-family:'Rye',serif;color:var(--teal-bright)}
.spec-note{margin-top:16px;color:var(--body-dim);font-size:13px}
/* Build credit — contact page only, deliberately not sitewide */
.colophon{margin-top:34px;color:var(--body-dim);font-size:12px}
.colophon a{color:inherit;text-decoration-color:#8b948f60}
figure{margin:0}
figcaption{font-size:12px;color:var(--body-dim);margin-top:8px}
.rounded{border-radius:8px}
@media(max-width:820px){.specials{grid-template-columns:1fr}}

/* ============ Houston Hall parchment treatment ============ */
.hall{background:var(--parchment);color:var(--ink)}
.hall a{color:var(--teal-deep)}
.hall .sec-title,.hall h1,.hall h2,.hall h3{color:var(--ink)}
.hall .sec-kicker{color:var(--teal-deep)}
.hall .lockup{font-family:'Rye',serif;letter-spacing:.06em;border:2px solid var(--ink);display:inline-block;padding:10px 18px;margin-bottom:18px}
.hall .price{color:var(--ink)}
.hall a.btn-ink{color:var(--parchment)} /* beat .hall a's teal-deep — AA on the ink fill */
.hall-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
@media(max-width:820px){.hall-grid{grid-template-columns:1fr}}

/* hall page */
/* hero rhythm: lockup → 20 → kicker → 10 → H1 → 22 → facts row → 28 → CTA */
.hall-hero{padding:72px 0 64px}
.hall-hero .lockup{margin-bottom:20px}
.hall-hero .sec-kicker{margin:0 0 10px}
.hall-hero h1{margin:0 0 22px}
.hall-page .facts-row{display:flex;flex-wrap:wrap;gap:12px 26px;margin:0 0 28px;padding:0;list-style:none;font-size:15px;line-height:1.5}
.hall-page .facts-row li{border-left:3px solid var(--teal-deep);padding-left:10px}
.hall-page section.block{border-top:1px solid #25211e22;scroll-margin-top:1rem}
.hall-page .plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;margin:0 0 18px}
.hall-page .plan{background:#fffdf6;border:1px solid #25211e2b;border-radius:6px;padding:22px}
.hall-page .plan h3{font-size:1.05rem;margin:0 0 4px}
.hall-page .plan .pp{font-size:1.5rem;font-family:'Rye',serif;margin:0 0 8px}
.hall-page .plan p{font-size:14px;color:#5d564b;margin:0}
.hall-page .price-note{font-size:14px;font-weight:700;color:#5d564b;border:1px dashed #8a721399;padding:10px 14px;display:inline-block;background:#fffdf6}
.hall-page ul.tick{list-style:none;padding:0;margin:0 0 1em}
.hall-page ul.tick li{padding:4px 0 4px 22px;position:relative}
.hall-page ul.tick li::before{content:"—";position:absolute;left:0;color:var(--teal-deep)}
.bereave{background:#fffdf6;border-radius:8px;padding:30px;border:1px solid #25211e22}

/* ============ hours table ============ */
.hours-table{border-collapse:collapse;width:100%;max-width:26rem}
.hours-table caption{text-align:left;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--teal-bright);padding-bottom:10px}
.hours-table th{text-align:left;font-weight:700;color:#fff;padding:8px 18px 8px 0}
.hours-table td{padding:8px 0;font-variant-numeric:tabular-nums;color:#dfe7e2}
.hours-table tr{border-bottom:1px dotted #2fa9cf30}
.hours-table .closed td{color:var(--body-dim)}

/* ============ FAQ ============ */
.faq details{border:1px solid #2fa9cf40;border-radius:6px;margin:0 0 12px;background:var(--surface)}
.faq summary{cursor:pointer;padding:16px 18px;font-weight:700;color:#fff;list-style-position:inside}
.faq summary:hover{color:var(--teal-bright)}
.faq details[open] summary{border-bottom:1px solid #2fa9cf2b}
.faq .a{padding:14px 18px;color:#dfe7e2}

/* ============ gallery ============ */
.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin:20px 0 0}
.gallery-grid figure{margin:0}
.gallery-grid img{width:100%;height:260px;object-fit:cover;border-radius:6px}
@media(max-width:480px){.gallery-grid{grid-template-columns:1fr}.gallery-grid img{height:auto}}

/* ============ story timeline ============ */
.timeline .beat{padding:28px 0}
.timeline .year{font-family:'Rye',serif;color:var(--teal-bright);font-size:1.5rem;display:block;margin-bottom:6px}
.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
/* Several of these images are portrait 3:4 (teal 1200×1600, patio 1100×1467). At a
   ~450px column that is ~600px tall against ~220px of text, and centring then leaves
   the copy floating in the middle of the row. Capping the height is the fix; the
   alignment was only the symptom. Landscape images (kitchen, sign-road) are unaffected. */
.two-col>img,.two-col>figure img{max-height:440px;width:100%;object-fit:cover}
@media(max-width:820px){
  .two-col{grid-template-columns:1fr}
  .two-col>img,.two-col>figure img{max-height:340px}
}

/* ============ essentials card (fish fry) ============ */
.essentials{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.essentials li{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap}
.essentials .k{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--teal-bright);min-width:7.5em}
.essentials .v{color:#fff;font-weight:700}

/* ============ footer ============ */
.site-foot{padding:56px 0 44px;border-top:1px solid #2fa9cf30;color:var(--body-muted);font-size:14px}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px}
.site-foot h2{font-family:system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;font-size:12px;letter-spacing:.3em;text-transform:uppercase;color:var(--teal-bright);margin:0 0 10px}
.site-foot p{margin:0 0 .5em}
.site-foot .est-line{margin-top:26px;letter-spacing:.3em;text-transform:uppercase;font-size:11px;color:var(--body-dim)}
@media(max-width:820px){.foot-grid{grid-template-columns:1fr}}

/* generic page content */
.page-content{padding:48px 0 72px}
.entry-lead{color:var(--body-muted);font-size:1.06rem;max-width:38em}
.menu-updated{color:var(--body-muted);font-size:.875rem;margin-top:10px}

@media(max-width:820px){
  .hero{min-height:64vh}
  .block{padding:48px 0}
  .page-hero{padding:32px 0 28px}
  .hall-hero{padding:36px 0 32px}
}
