/* Café & Laundrette · Corner Café design, two branches (Bridgwater first, then Taunton).
   Oat, espresso and terracotta. Young Serif + Karla. One shared soft-hover system for every button, card, link and photo. */

:root {
  --bg: #F1E9DC; --bg-alt: #FAF6EF; --surface: #FFFFFF; --surface-2: #EFE6D8;
  --text: #2B211B; --muted: #5E4B3D; --line: #DCCDB8;
  --accent: #A8492A; --accent-h: #8E3B20; --on-accent: #FFFFFF;
  --peach: #E9B79A;
  --dark: #2B211B; --on-dark: #FAF6EF; --on-dark-muted: rgba(250, 246, 239, .82);
  --kicker-on-dark: #E9B79A; --today: #E9B79A;
  --bw: #A8492A; --bw-l: #F6E2D7;          /* Bridgwater: terracotta */
  --tn: #56632F; --tn-l: #E7EBD6;          /* Taunton: olive, from the velvet armchair */
  --display: 'Young Serif', Georgia, serif; --body: 'Karla', 'Helvetica Neue', Arial, sans-serif; --label: var(--body);
  --dw: 400;
  --h1: clamp(2.5rem, 10.5vw, 4.4rem);
  --r: 12px; --r-lg: 18px; --r-img: 14px;
  --field-b: #D7C8B3;
  --focus: 0 0 0 3px rgba(168, 73, 42, .3);
  /* soft hover system */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .32s;
  --lift: translateY(-4px);
  --shadow: 0 22px 44px -30px rgba(43, 33, 27, .55);
  --shadow-h: 0 30px 50px -28px rgba(43, 33, 27, .5);
}
body { font-size: 17.5px; }
.leaders b, .glance__list dd, .card__price { font-family: var(--body); }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent); }
.section-sm { padding: 28px 0; }

/* ---------------------------------------------------------------- soft hover system
   Lifts use `transform`; the scroll reveal uses `translate`, so the two never fight. */
.btn, .card, .bcard, .review, .rating, .colcard, .ccard, .mini, .othercard, .steps li, .gallery__item, .spot__m,
.hpill, .vtab, .filter, .bpick span, .chip span, .seg span, .icon-btn, .menu-btn, .fsocial a, .collage figure,
.split__media, .phero__media, .hosts__media, .map, .aside-card, .samegrid > div {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.card img, .bcard img, .gallery__item img, .spot__m img, .collage img, .split__media img, .phero__media img,
.hosts__media img, .mini img, .othercard img, .map img { transition: transform .7s var(--ease), filter .7s var(--ease); }
.textlink .i, .card__more .i, .nav__ddall .i, .mini__go .i, .othercard__go .i, .hpill .i { transition: transform var(--dur) var(--ease); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px -14px rgba(43, 33, 27, .6); }
  .btn--primary:hover { background: var(--accent-h); }
  .btn--line:hover { background: rgba(43, 33, 27, .05); }
  .btn--glass:hover { background: rgba(250, 246, 239, .16); border-color: var(--on-dark); }
  .btn--cream:hover { background: #fff; }
  .btn--line-light:hover { background: rgba(250, 246, 239, .1); border-color: var(--on-dark); }
  .icon-btn:hover, .menu-btn:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }

  .card:hover, .bcard:hover, .review:hover, .rating:hover, .colcard:hover, .ccard:hover, .mini:hover, .othercard:hover,
  .steps li:hover, .aside-card:hover, .samegrid > div:hover { transform: var(--lift); box-shadow: var(--shadow-h); }
  .card:hover img, .bcard:hover .bcard__media img, .gallery__item:hover img, .spot__m:hover img, .collage figure:hover img,
  .split__media:hover img, .phero__media:hover img, .hosts__media:hover img, .mini:hover img, .othercard:hover img, .map:hover img { transform: scale(1.045); }
  .gallery__item:hover, .spot__m:hover { box-shadow: var(--shadow-h); }
  .gallery__item:hover .gallery__zoom, .spot__m:hover .gallery__zoom { opacity: 1; transform: scale(1); }
  .hpill:hover { transform: translateY(-3px); background: rgba(43, 33, 27, .62); border-color: rgba(250, 246, 239, .55); }
  .hpill:hover .i, .textlink:hover .i, .card:hover .card__more .i, .nav__ddall:hover .i, .mini:hover .mini__go .i, .othercard:hover .othercard__go .i { transform: translateX(4px); }
  .vtab:hover, .filter:hover, .bpick span:hover, .chip span:hover { border-color: var(--accent); }
  .fsocial a:hover { transform: translateY(-2px); border-color: var(--peach); }
  .textlink:hover { background-size: 100% 1.5px; }
  .footer a:not(.textlink):hover { color: var(--peach); text-decoration: none; }
  .map:hover button { transform: translate(-50%, -50%) scale(1.04); }
}
.btn:active, .card:active, .bcard:active, .mini:active, .othercard:active, .hpill:active, .gallery__item:active { transform: translateY(0) scale(.99); transition-duration: .1s; }
.textlink { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size var(--dur) var(--ease); }

/* soft reveal on scroll */
.js [data-reveal] { opacity: 0; translate: 0 18px; transition: opacity .7s var(--ease), translate .7s var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; translate: none; }
  .card:hover, .bcard:hover, .review:hover, .rating:hover, .mini:hover, .othercard:hover, .btn:hover { transform: none !important; }
}

/* ---------------------------------------------------------------- branch bar (top of every page) */
.branchbar { background: var(--dark); color: var(--on-dark); font-size: .8rem; }
.branchbar__inner { display: flex; align-items: center; gap: 6px 18px; min-height: 36px; overflow-x: auto; scrollbar-width: none; }
.branchbar__inner::-webkit-scrollbar { display: none; }
.branchbar__item { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-muted); text-decoration: none; white-space: nowrap; padding: 6px 0; transition: color var(--dur) var(--ease); }
.branchbar__item b { color: var(--on-dark); font-weight: 700; }
.branchbar__item:hover { color: var(--peach); }
.branchbar__phone { display: none; margin-left: auto; align-items: center; gap: 6px; color: var(--on-dark); text-decoration: none; font-weight: 700; white-space: nowrap; transition: color var(--dur) var(--ease); }
.branchbar__phone .i { width: 15px; height: 15px; }
.branchbar__phone:hover { color: var(--peach); }

/* branch tags */
.btag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; font: 700 .72rem/1.3 var(--body); letter-spacing: .02em; white-space: nowrap; }
.btag .i { width: 12px; height: 12px; stroke-width: 2.2; }
.btag--bridgwater { background: var(--bw-l); color: var(--bw); }
.btag--taunton { background: var(--tn-l); color: var(--tn); }

/* ---------------------------------------------------------------- header */
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.menu-btn { justify-self: start; width: 46px; padding: 0; background: var(--bg-alt); }
.brand { justify-self: center; }
.brand img { transition: transform var(--dur) var(--ease); }
.brand:hover img { transform: rotate(-3deg) scale(1.04); }
.header__tools { justify-self: end; }
.header__callicon { width: 46px; padding: 0; background: var(--bg-alt); }
.menu-open .header { background: var(--dark); color: var(--on-dark); }
.menu-open .brand img { content: url("../logo/logo-reverse.png"); }
.menu-open .menu-btn, .menu-open .header__callicon { background: transparent; color: var(--on-dark); border-color: rgba(250, 246, 239, .3); }
.nav { background: var(--dark); color: var(--on-dark); }
.nav__link, .nav__item--dd { border-color: rgba(250, 246, 239, .14); }
.nav__dd a { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; row-gap: 0; align-items: center; }
.nav__dd a .nav__ddi { grid-row: span 2; color: var(--peach); }
.nav__dd a small { grid-column: 2; font-weight: 400; font-size: .82rem; opacity: .7; margin-top: -2px; }
.nav [aria-current="page"] { color: var(--peach); }
.nav__extra .btn--line { color: var(--on-dark); }
.nav__status { display: grid; gap: 6px; margin-top: 8px; }
.nav__open { color: var(--on-dark-muted); justify-content: center; gap: 8px; font-size: .88rem; }
.nav__open b { color: var(--on-dark); }

/* ---------------------------------------------------------------- home hero */
.hero { position: relative; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: var(--dark); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 36% 50%; animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 22, 17, .25) 0%, rgba(30, 22, 17, .15) 28%, rgba(30, 22, 17, .8) 62%, rgba(30, 22, 17, .95) 100%); }
.hero__inner { position: relative; padding-top: 140px; padding-bottom: 30px; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 .78rem var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--peach); margin-bottom: 14px; }
.hero__kicker::before { content: ""; width: 28px; height: 1.5px; background: var(--peach); }
.hero h1 { color: var(--on-dark); font-size: clamp(3rem, 13vw, 5.8rem); line-height: 1; margin-bottom: .3em; }
.hero__lead { font-size: 1.15rem; max-width: 27em; color: rgba(250, 246, 239, .92); }
.hero__open { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; background: rgba(43, 33, 27, .55); border: 1px solid rgba(250, 246, 239, .25); padding: 7px 12px; border-radius: 999px; margin-bottom: 18px; }
.btn--glass { border-color: rgba(250, 246, 239, .7); color: var(--on-dark); background: rgba(43, 33, 27, .25); }
.hpills { display: grid; gap: 10px; margin-top: 22px; }
.hpill { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(43, 33, 27, .48); border: 1px solid rgba(250, 246, 239, .25);
  color: var(--on-dark); text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hpill b { display: block; font: 400 1.25rem/1.1 var(--display); }
.hpill small { display: block; font-size: .84rem; color: rgba(250, 246, 239, .8); margin-top: 2px; }
.hpill .i { width: 20px; height: 20px; }

.ribbon { background: var(--accent); color: #fff; }
.ribbon__list { margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; }
.ribbon__list div { padding: 18px 10px; text-align: center; display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; }
.ribbon__list div:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, .22); }
.ribbon__list div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.ribbon__list dd { margin: 0; font: 400 1.9rem/1 var(--display); }
.ribbon__list dt { margin-top: 6px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #F6D9C8; }

/* ---------------------------------------------------------------- branch cards */
.branches-sec .head { max-width: 760px; }
.bgrid { display: grid; gap: 18px; }
.bcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.bcard__media { position: relative; display: block; overflow: hidden; }
.bcard__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.bcard--feature .bcard__media img { object-position: 50% 30%; }
.bcard__chip { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--text); font-weight: 700; font-size: .84rem; box-shadow: 0 8px 18px -10px rgba(0, 0, 0, .45); }
.bcard__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.bcard__kicker { display: flex; align-items: center; gap: 6px; font: 700 .74rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 0 0 6px; }
.bcard__kicker .i { width: 14px; height: 14px; }
.bcard[data-branch="taunton"] .bcard__kicker { color: var(--tn); }
.bcard h3 { font-size: clamp(1.8rem, 7vw, 2.4rem); margin: 0 0 4px; }
.bcard h3 a { color: inherit; text-decoration: none; }
.bcard__addr { color: var(--muted); margin-bottom: 14px; }
.bcard__facts { margin: 0 0 4px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bcard__facts div { padding: 10px 6px 10px 0; }
.bcard__facts div + div { padding-left: 12px; border-left: 1px solid var(--line); }
.bcard__facts dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bcard__facts dd { margin: 2px 0 0; font-weight: 700; font-size: .95rem; }
.btns--card { margin-top: auto; padding-top: 16px; display: grid; grid-template-columns: 1fr 1fr; }
.btns--card .btn { min-height: 48px; padding: 0 14px; }
.btns--card .btn:first-child { grid-column: 1 / -1; }

/* ---------------------------------------------------------------- Bridgwater spotlight */
.spot { background: var(--bg-alt); }
.spot__grid { display: grid; gap: 30px; align-items: center; }
.spot__text > p:not(.kicker):not(.spot__open) { color: var(--muted); }
.spot__text .ticks { margin: 18px 0; }
.spot__open { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: var(--bw-l); color: var(--bw); }
.spot__open b { color: var(--text); }
.spot__open .sep { opacity: .5; }
.spot__mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spot__m { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-img); cursor: zoom-in; }
.spot__m img { width: 100%; height: 100%; object-fit: cover; }
.spot__m--1 { grid-column: 1 / -1; border-radius: 160px 160px var(--r-img) var(--r-img); }
.spot__m--1 img { aspect-ratio: 4 / 3.4; }
.spot__m--2 img, .spot__m--3 img { aspect-ratio: 1; }
.dropcap::first-letter { font: 400 3.6em/.8 var(--display); float: left; margin: .08em .1em 0 0; color: var(--accent); }

/* ---------------------------------------------------------------- inner page heroes */
.phero { background: var(--bg); }
.phero--plain { position: relative; padding-bottom: 54px; }
.phero--plain::after { content: ""; position: absolute; left: var(--gut); right: var(--gut); bottom: 0; max-width: calc(var(--wrap) - var(--gut) * 2); margin: 0 auto; height: 1.5px; background: var(--line); }
.phero__note { display: flex; flex-wrap: wrap; gap: 8px; }
.phero__note .openbadge { padding: 7px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.phero__note .openbadge .sep { opacity: .4; }
.phero__media { position: relative; overflow: hidden; border-radius: 180px 180px var(--r-img) var(--r-img); box-shadow: var(--shadow); }
.phero__media img { border-radius: 0; }

/* branch page hero */
.bhero { position: relative; min-height: 74vh; min-height: 74svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: var(--dark); }
.bhero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: heroZoom 18s var(--ease) both; }
.bhero--bridgwater .bhero__img { object-position: 30% 40%; }
.bhero--taunton .bhero__img { object-position: 45% 50%; }
.bhero__inner { position: relative; padding-top: 140px; padding-bottom: 34px; }
.bhero h1 { color: var(--on-dark); font-size: clamp(3.2rem, 15vw, 6.4rem); line-height: .95; margin: 4px 0 10px; }
.bhero__addr { display: flex; align-items: center; gap: 8px; font-size: 1.12rem; color: rgba(250, 246, 239, .92); }
.bhero__addr .i { color: var(--peach); }
.crumbs--light ol { color: rgba(250, 246, 239, .8); }
@media (max-width: 959px) {
  /* phones: show the whole shopfront photo above the text, so the sign is never cut off */
  .bhero { display: block; min-height: 0; }
  .bhero__img { position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10.5; animation: none; }
  .bhero--bridgwater .bhero__img { object-position: 50% 30%; }
  .bhero--taunton .bhero__img { object-position: 50% 45%; }
  .bhero .hero__shade { display: none; }
  .bhero__inner { padding-top: 18px; padding-bottom: 42px; }
  .bhero + .glance { margin-top: -22px; }
}
.crumbs--light a:hover { color: #fff; }

/* glance */
.glance { padding-top: 0; }
.bhero + .glance, .bhero + * + .glance { margin-top: -26px; position: relative; z-index: 2; }
.glance__list { background: var(--bg-alt); border: 1.5px solid var(--text); outline: 1px solid var(--text); outline-offset: -6px; border-radius: 6px; box-shadow: var(--shadow); }
.glance__list div + div { border-color: var(--line); }
.glance__list dd { font-family: var(--display); font-weight: 400; }
.glance__both { display: inline-flex; flex-wrap: wrap; gap: 4px; }

/* ---------------------------------------------------------------- shared sections in this design */
.steps li { background: var(--bg-alt); }
.tone-alt .steps li { background: var(--surface); }
.board { background: var(--bg-alt); border-radius: 6px; outline: 1.5px solid var(--text); outline-offset: -8px; box-shadow: 0 30px 60px -40px rgba(43, 33, 27, .5); }
.board__head h2 { font-size: clamp(2.4rem, 10vw, 3.4rem); }
.board__same { display: inline-flex; margin-top: 12px !important; padding: 5px 12px; border-radius: 999px; background: var(--bw-l); color: var(--accent) !important; font-weight: 700; font-size: .86rem; }
.board h3 { color: var(--accent); border-color: var(--text); }
.leaders li::after { border-color: #BCA78F; }
.leaders b { font-weight: 700; }
.quote blockquote p::before { color: var(--accent); }
.quote-sec { background: var(--bg); }
.card { border-color: var(--line); background: var(--bg-alt); box-shadow: 0 14px 30px -28px rgba(43, 33, 27, .5); }
.tone-alt .card { background: var(--surface); }
.card__media { position: relative; overflow: hidden; }
.card__icon { position: absolute; left: 14px; bottom: -20px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 8px 18px -8px rgba(168, 73, 42, .8); z-index: 1; }
.card__media { overflow: visible; }
.card__media img { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.card__link { overflow: hidden; border-radius: var(--r-lg); }
.card__body { padding-top: 30px; }
.card h3 { font-size: 1.35rem; }
.split__media { overflow: hidden; border-radius: var(--r-img); }
.split__media img { border-radius: 0; }
.split__media--arch { border-radius: 200px 200px var(--r-img) var(--r-img); max-width: 520px; }
.split__media--arch img { aspect-ratio: 4 / 4.6; }

/* café collage */
.collage { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.collage figure { position: relative; overflow: hidden; border-radius: var(--r-img); margin: 0; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage__a { grid-column: 1 / -1; }
.collage__a img { aspect-ratio: 16 / 10; height: auto; }
.collage figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 30px 12px 12px; color: #fff; font-weight: 700; font-size: .9rem;
  background: linear-gradient(180deg, transparent, rgba(30, 22, 17, .78)); }
.collage__b img { aspect-ratio: 3 / 4; object-position: 50% 30%; }
.collage__c img { aspect-ratio: 3 / 4; object-position: 30% 50%; }

/* hosts band */
.hosts { background: var(--dark); color: var(--on-dark); padding: 72px 0 64px; position: relative; }
.hosts::before, .cta::before, .footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--accent); }
.cta, .footer { position: relative; }
.hosts .kicker { color: var(--peach); }
.hosts p { color: var(--on-dark-muted); }
.hosts__grid { display: grid; gap: 30px; align-items: center; }
.hosts__media { margin: 0; overflow: hidden; border-radius: var(--r-img); }
.hosts__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------------------------------------------------------------- reviews */
.ratings { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.ratings:has(> :only-child) { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
.rating { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-decoration: none; color: var(--text); border-radius: var(--r-lg); padding: 20px; background: var(--surface); border: 1px solid var(--line); }
.rating__branch { font: 700 .74rem var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--bw); }
.rating--taunton .rating__branch { color: var(--tn); }
.rating__score { font: 400 clamp(2.6rem, 11vw, 3.6rem)/1 var(--display); margin: 4px 0 2px; }
.rating__text { color: var(--muted); font-size: .9rem; margin: 2px 0 6px; }
.rating .textlink { color: var(--accent-h); font-size: .92rem; }
.review { border-radius: var(--r-lg); }
.review figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.reviews { gap: 12px; }

/* ---------------------------------------------------------------- galleries + lightbox */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-img); cursor: zoom-in; background: var(--surface-2); }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; }
.gallery__item--1 { grid-column: 1 / -1; }
.gallery__item--1 img { aspect-ratio: 16 / 10; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px;
  padding: 34px 12px 10px; color: #fff; font: 700 .88rem/1.3 var(--body); font-style: normal; background: linear-gradient(180deg, transparent, rgba(30, 22, 17, .8)); }
.gallery__zoom { position: absolute; right: 10px; top: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--text);
  opacity: 0; transform: scale(.8); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.gallery__zoom .i { width: 18px; height: 18px; }
.gallery--grid { grid-template-columns: 1fr 1fr; }
.gallery--grid .gallery__item, .gallery--grid .gallery__item--1 { grid-column: auto; grid-row: auto; }
.gallery--grid .gallery__item img, .gallery--grid .gallery__item--1 img { aspect-ratio: 4 / 3.4; }
.gallery--grid .gallery__item[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--field-b); background: var(--surface); color: var(--text); font: 700 .95rem var(--body); cursor: pointer; }
.filter.is-active { background: var(--text); color: var(--bg-alt); border-color: var(--text); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 60px 10px 30px; background: rgba(20, 15, 12, .92);
  opacity: 0; visibility: hidden; transition: opacity var(--dur) var(--ease), visibility var(--dur); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lb-open body { overflow: hidden; }
.lightbox__fig { margin: 0; display: grid; justify-items: center; gap: 12px; min-width: 0; }
.lightbox__fig img { max-width: 100%; max-height: 78vh; border-radius: 10px; object-fit: contain; transform: scale(.97); transition: transform var(--dur) var(--ease); }
.lightbox.is-open .lightbox__fig img { transform: none; }
.lightbox__fig figcaption { color: var(--on-dark); font-weight: 700; text-align: center; }
.lightbox__close, .lightbox__nav { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(250, 246, 239, .3); background: rgba(250, 246, 239, .08); color: var(--on-dark); font-size: 1.8rem; line-height: 1; cursor: pointer;
  transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(250, 246, 239, .2); transform: scale(1.06); }
.lightbox__close { position: absolute; right: 14px; top: 12px; }

/* ---------------------------------------------------------------- visit (branch tabs) */
.vwrap { display: grid; gap: 16px; }
.vtabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px; border-radius: 18px; background: var(--surface-2); }
.vtab { display: grid; gap: 2px; justify-items: start; padding: 12px 14px; border-radius: 13px; border: 1.5px solid transparent; background: transparent; color: var(--muted); cursor: pointer; text-align: left;
  font: 400 1.3rem/1.1 var(--display); }
.vtab small { display: inline-flex; align-items: center; gap: 6px; font: 700 .8rem var(--body); }
.vtab.is-active { background: var(--surface); color: var(--text); box-shadow: 0 6px 18px -12px rgba(43, 33, 27, .5); }
.vpanel { display: none; gap: 24px; }
.vpanel.is-active { display: grid; animation: fadeUp .45s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
.vwrap--single .vpanel { display: grid; }
.visit__info h3 { font-size: clamp(1.5rem, 6vw, 2rem); }
.sign { box-shadow: inset 0 0 0 6px var(--dark), inset 0 0 0 7px rgba(233, 183, 154, .35); }
.hours th { font: 400 1.05rem var(--display); }
.map { border-radius: var(--r-img); }
.plus { margin-top: 18px; color: var(--muted); font-size: .94rem; }

/* compare table + same facts (branches page) */
.compare { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.compare table { width: 100%; border-collapse: collapse; min-width: 320px; }
.compare th, .compare td { padding: 13px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg-alt); }
.compare tbody th { font: 400 1.02rem var(--display); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; background: var(--bw-l); font-weight: 700; }
.samegrid { display: grid; gap: 10px; margin-top: 16px; }
.samegrid > div { display: grid; gap: 2px; padding: 16px 18px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--r); }
.samegrid b { font: 400 1.15rem var(--display); }
.samegrid span { color: var(--muted); font-size: .95rem; }

/* mini branch links */
.minis { padding: 30px 0 6px; }
.minis__title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.minis__title .i { color: var(--accent); }
.minis__grid { display: grid; gap: 10px; }
.mini { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); text-decoration: none; }
.mini__img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; }
.mini__body { display: grid; gap: 1px; min-width: 0; }
.mini__body b { font: 400 1.2rem var(--display); }
.mini__body > span { color: var(--muted); font-size: .88rem; }
.mini__open { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .82rem !important; color: var(--text) !important; }
.mini__go { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.mini__go .i { width: 16px; height: 16px; }
.mini[data-branch="bridgwater"] { border-left: 4px solid var(--bw); }
.mini[data-branch="taunton"] { border-left: 4px solid var(--tn); }

/* other branch card */
.othercard { display: grid; grid-template-columns: 1fr; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); text-decoration: none; position: relative; }
.othercard__img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.othercard__body { display: grid; gap: 2px; padding: 18px 70px 18px 20px; }
.othercard__body .kicker { margin: 0 0 4px; }
.othercard__body b { font: 400 1.8rem/1.1 var(--display); }
.othercard__body > span:not(.kicker) { color: var(--muted); }
.othercard__open { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text) !important; font-size: .9rem; margin-top: 4px; }
.othercard__go { position: absolute; right: 18px; bottom: 22px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; }

/* notes, faq search */
.note-strip { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 16px 18px; border-radius: var(--r); background: var(--tn-l); color: var(--text); }
.note-strip .i { color: var(--tn); margin-top: 2px; }
.faqsearch { display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1.5px solid var(--field-b); border-radius: 999px; background: var(--surface); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.faqsearch:focus-within { border-color: var(--accent); box-shadow: var(--focus); }
.faqsearch .i { color: var(--muted); }
.faqsearch input { border: 0 !important; box-shadow: none !important; padding-left: 0 !important; background: transparent !important; }
.faqnone { color: var(--muted); }
.faq__list summary { transition: color var(--dur) var(--ease); }
.faq__list summary:hover { color: var(--accent); }

/* forms: branch picker */
.bpicks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bpick { position: relative; cursor: pointer; }
.bpick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bpick span { display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--field-b); border-radius: var(--r); background: var(--surface); }
.bpick b { font: 400 1.2rem var(--display); }
.bpick small { color: var(--muted); font-size: .86rem; }
.bpick input:checked + span { border-color: var(--accent); background: var(--bw-l); box-shadow: inset 0 0 0 1px var(--accent); }
.bpick input:focus-visible + span { box-shadow: var(--focus); }
fieldset .hint { margin-top: 10px; }
.row__full { grid-column: 1 / -1; }
.chip input:checked + span { background: var(--text); color: var(--bg-alt); }
.aside-card__open { margin-top: 10px; }
.aside-card__open .sep { opacity: .4; }
.openbadge b { font-weight: 700; }

/* ---------------------------------------------------------------- CTA + footer */
.cta { padding-top: 70px; }
.footer { padding-top: 70px; }
.footer__phone { display: grid; gap: 8px; margin-top: 16px !important; }
.footer__phone a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.footer__phone .i { width: 18px; height: 18px; color: var(--peach); }
.fcol--branch h3 { color: var(--peach); }
.fcol--branch p { margin-bottom: 10px; }
.fopen { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--on-dark); margin: 10px 0 4px !important; }
.fcol .textlink { color: var(--on-dark); font-size: .92rem; }
.faq__all { margin-top: 18px; }

/* ---------------------------------------------------------------- phone action bar (4 items) */
.actionbar { grid-template-columns: 1fr 1fr 1fr 1.3fr; gap: 2px; }
.actionbar a { flex-direction: column; gap: 2px; font-size: .74rem; min-height: 52px; transition: background-color var(--dur) var(--ease); }
.actionbar a .i { width: 19px; height: 19px; }
.actionbar a:not(.is-main):active { background: rgba(250, 246, 239, .1); }
.actionbar a.is-main { flex-direction: row; font-size: .98rem; }

/* ---------------------------------------------------------------- tablet */
@media (min-width: 640px) {
  .hero .btns .btn { flex: 0 0 auto; }
  .hpills { grid-template-columns: 1fr 1fr; max-width: 640px; }
  .collage { grid-template-columns: 2fr 1fr 1fr; }
  .collage__a { grid-column: auto; display: flex; flex-direction: column; }
  .collage__a img { aspect-ratio: auto; flex: 1; min-height: 0; }
  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; }
  .gallery__item img, .gallery__item--1 img { aspect-ratio: auto; height: 100%; }
  .gallery__item--1 { grid-column: span 2; grid-row: span 2; }
  .gallery__item--4 { grid-column: auto; }
  .gallery--grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; }
  .gallery--grid .gallery__item img { height: auto; }
  .minis__grid { grid-template-columns: 1fr 1fr; }
  .othercard { grid-template-columns: 240px 1fr; }
  .othercard__img { aspect-ratio: auto; height: 100%; min-height: 150px; }
  .othercard__body { align-content: center; }
  .samegrid { grid-template-columns: repeat(3, 1fr); }
  .ribbon__list { grid-template-columns: repeat(4, 1fr); }
  .ribbon__list div { padding: 24px 10px; border-bottom: 0 !important; border-right: 1px solid rgba(255, 255, 255, .22); }
  .ribbon__list div:last-child { border-right: 0; }
  .branchbar__phone { display: inline-flex; }
}

/* ---------------------------------------------------------------- desktop */
@media (min-width: 960px) {
  .hero { min-height: 680px; height: 90vh; max-height: 860px; }
  .hero__inner { padding-bottom: 64px; }
  .hero__img { object-position: 50% 50%; }
  .hero__shade { background: linear-gradient(90deg, rgba(30, 22, 17, .9) 0%, rgba(30, 22, 17, .7) 36%, rgba(30, 22, 17, .18) 70%, rgba(30, 22, 17, .06) 100%), linear-gradient(180deg, transparent 55%, rgba(30, 22, 17, .55) 100%); }
  .bhero { min-height: 560px; height: 76vh; max-height: 760px; }
  .bhero__inner { padding-bottom: 70px; }
  .bhero .hero__shade { background: linear-gradient(90deg, rgba(30, 22, 17, .85) 0%, rgba(30, 22, 17, .55) 40%, rgba(30, 22, 17, .1) 75%), linear-gradient(180deg, transparent 55%, rgba(30, 22, 17, .5) 100%); }
  .bgrid { grid-template-columns: 1.45fr 1fr; align-items: stretch; }
  .bcard__media img { aspect-ratio: auto; height: 320px; }
  .bcard--feature .bcard__media img { height: 360px; }
  .btns--card { grid-template-columns: auto auto auto; justify-content: start; }
  .btns--card .btn:first-child { grid-column: auto; }
  .bgrid .bcard:not(.bcard--feature) .btns--card { grid-template-columns: 1fr 1fr; }
  .bgrid .bcard:not(.bcard--feature) .btns--card .btn:first-child { grid-column: 1 / -1; }
  .spot__grid { grid-template-columns: 1fr 1.1fr; gap: 64px; }
  .spot__mosaic { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; height: 600px; }
  .spot__m--1 { grid-column: 1; grid-row: 1 / 3; }
  .spot__m--1 img, .spot__m--2 img, .spot__m--3 img { aspect-ratio: auto; height: 100%; }
  .collage { grid-template-rows: 420px; }
  .collage__b img, .collage__c img { aspect-ratio: auto; height: 100%; }
  .hosts { padding: 110px 0 100px; }
  .hosts__grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .gallery { grid-auto-rows: 240px; }
  .gallery--grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; }
  .vtabs { max-width: 560px; }
  .vpanel { grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
  .ratings { max-width: 760px; margin-left: auto; margin-right: auto; }
  .rating { grid-row: auto; justify-content: flex-start; }
  .phero__media { max-width: 560px; justify-self: end; width: 100%; }
}
@media (min-width: 1100px) {
  .header__inner { grid-template-columns: 1fr auto 1fr; gap: 24px; }
  .brand { justify-self: start; }
  .brand img { width: 58px; }
  .header__call { border-width: 1.5px; border-color: var(--line); background: var(--bg-alt); }
  .nav { color: var(--text); background: none; gap: 22px; }
  .nav__link--mob { display: none; }
  .nav__link { position: relative; }
  .nav__link::after { content: ""; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 1.5px; background: var(--accent); transition: left var(--dur) var(--ease), right var(--dur) var(--ease); }
  .nav__link:hover::after, .nav [aria-current="page"]::after, .nav__item--dd.is-active > .nav__link::after { left: 0; right: 0; }
  .nav__dd a .nav__ddi { color: var(--accent); }
  .nav__dd a { transition: background-color var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
  .nav__dd a:hover { padding-left: 16px; }
  .nav [aria-current="page"] { color: var(--accent); }
}
