/* The Kickin' Crab — shared chrome for the inner pages
   (announcement bar, nav, page header band, footer, mobile panel) plus a few
   content primitives the inner pages share. Home uses home.css instead. */

:root {
  --kc-cream: #f7ecd8;
  --kc-cream-2: #fffaf0;
  --kc-sand: #efdfc4;
  --kc-sand-2: #e3d3b6;
  --kc-line: #e0c79c;
  --kc-line-2: #ece0cb;
  --kc-line-3: #cfbc9e;
  --kc-ink: #1b2a2e;
  --kc-ink-2: #3d4f52;
  --kc-ink-3: #5b6b6d;
  --kc-ink-4: #2f3f42;
  --kc-teal: #0f4450;
  --kc-teal-2: #153C47;
  --kc-teal-3: #e6eeec;
  --kc-brick: #A33F12;
  --kc-brick-dark: #8A340D;
  --kc-red: #C8321E;        /* primary action buttons, every page (home's red; white text 5.3:1) */
  --kc-red-dark: #A82818;
  --kc-bar: #A53C2C;
  --kc-amber: #f4a83a;
  --kc-amber-2: #f0a71e;
  --kc-rust: #8a4a20;
  --kc-cocoa: #2a1408;
  --kc-mist: #dbe6e4;
  --kc-mist-2: #b9cbc9;
  --kc-mist-3: #9fb8b6;
  --kc-error: #A32A1A;
  --kc-green: #2f6b3a;
  --font-body: 'Figtree', system-ui, sans-serif;
  --font-display: 'Caprasimo', cursive;
  --font-marker: 'Permanent Marker', cursive;
}

/* ---------- Base ---------- */
html { background: var(--kc-cream); }
body {
  margin: 0; background: var(--kc-cream); color: var(--kc-ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  /* Long words (item names, URLs) break inside their box at any viewport width
     instead of overflowing; inherited by every element. */
  overflow-wrap: anywhere;
}
input, select, textarea { box-sizing: border-box; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: var(--kc-teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--kc-brick); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #fff7e8; outline-offset: 2px; box-shadow: 0 0 0 7px #8f3210; border-radius: 6px;
}
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }
main { display: block; }
[hidden] { display: none !important; }
.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.kc-skip {
  position: absolute; left: -9999px; top: 0; z-index: 60;
  background: var(--kc-teal); color: var(--kc-cream); padding: 8px 14px; border: 2px solid transparent; border-radius: 999px; text-decoration: none;
}
.kc-skip:focus { position: static; display: inline-block; left: auto; margin: 12px; color: var(--kc-cream); }
.kc-wrap { max-width: 1080px; margin: 0 auto; }

/* ---------- Announcement bar ---------- */
.kc-announce { background: var(--kc-bar); }
.kc-announce__row {
  max-width: 1080px; margin: 0 auto; padding: 6px 24px; box-sizing: border-box;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; min-height: 48px;
}
.kc-announce__badge {
  flex: none; display: flex; align-items: center; gap: 8px;
  background: var(--kc-cream); color: var(--kc-cocoa);
  font-size: clamp(10px, 2.6vw, 12px); font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px clamp(9px, 2.4vw, 12px); border-radius: 999px;
}
.kc-announce__badge::before { content: ""; width: 7px; height: 7px; background: var(--kc-brick); border-radius: 50%; }
.kc-cities {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0;
  font-size: clamp(11.5px, 2.9vw, 14px); font-weight: 700; color: var(--kc-cream);
}
.kc-cities li { display: flex; align-items: center; column-gap: inherit; }
.kc-cities li + li::before { content: '' / ''; flex: none; width: 5px; height: 5px; background: var(--kc-amber); border-radius: 50%; }
.kc-dot { width: 5px; height: 5px; background: var(--kc-amber); border-radius: 50%; }
@media (max-width: 760px) {
  .kc-cities { column-gap: 16px; row-gap: 2px; }
}

/* ---------- Nav bar ---------- */
.kc-nav {
  background: var(--kc-teal); border-bottom: 2px solid #D6632A;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); position: relative; z-index: 5;
}
.kc-nav__row {
  max-width: 1080px; margin: 0 auto; padding: 0 24px; box-sizing: content-box;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; min-height: 96px;
}
.kc-nav__logo { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
.kc-nav__logo img { height: 64px; width: auto; display: block; }
.kc-desk-nav ul { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.kc-desk-nav a {
  font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em;
  color: var(--kc-cream); text-decoration: none; padding: 14px 14px; white-space: nowrap;
}
.kc-desk-nav a:hover { color: #ffffff; text-decoration: underline; }
.kc-desk-nav a[aria-current="page"] {
  color: #ffffff; text-decoration: underline; text-underline-offset: 6px;
  text-decoration-thickness: 3px; text-decoration-color: var(--kc-amber);
}
.kc-burger {
  display: none; width: 48px; height: 48px; background: var(--kc-teal);
  border: 2px solid var(--kc-cream); border-radius: 8px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer;
}
.kc-burger:hover { border-color: var(--kc-amber); }
.kc-burger__bar { width: 20px; height: 3px; background: var(--kc-cream); border-radius: 2px; }
/* Desktop nav from 801px: logo + five links need ~560px, so iPad portrait and the Duo open get real links, not a burger. */
@media (max-width: 800px) {
  .kc-desk-nav { display: none; }
  .kc-burger { display: flex; }
}

/* ---------- Page header band ---------- */
.kc-band { background: var(--kc-teal-2); color: var(--kc-cream); padding: 40px 24px 44px; border-bottom: 10px solid var(--kc-brick); }
.kc-band--legal { background: var(--kc-teal); padding: 34px 24px 36px; }
.kc-band__row { max-width: 1080px; margin: 0 auto; }
.kc-band__row--photo { display: flex; gap: 40px; align-items: center; }
.kc-band__copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.kc-band__kicker { margin: 0; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; font-size: 14px; color: var(--kc-amber-2); }
.kc-band__kicker--tight { letter-spacing: .24em; font-size: 13px; }
.kc-band__h1 {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(38px, 5.2vw, 60px); line-height: 1; color: #FFFFFF; letter-spacing: .01em;
}
.kc-band__h1--md { margin-top: 12px; font-size: clamp(36px, 5.2vw, 58px); }
.kc-band__h1--legal { margin-top: 12px; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.02; }
.kc-band__lede { margin: 6px 0 0; max-width: 54ch; font-size: 18px; color: var(--kc-mist); }
.kc-band__lede--md { margin-top: 18px; line-height: 1.5; }
.kc-band__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* Polaroid photo used in the About / Contact / Menu bands */
.band-photo {
  position: relative; flex: 0 1 320px; width: 320px; max-width: 100%; min-width: 0; margin: 0;
  background: var(--kc-cream-2); padding: 14px 14px 0; border-radius: 4px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34); transform: rotate(var(--tilt, 1.3deg));
}
.band-photo__tape {
  position: absolute; top: -16px; left: 50%; width: 110px; height: 32px;
  background: rgba(244, 168, 58, .72); box-shadow: 0 2px 5px rgba(0, 0, 0, .26);
  transform: translateX(-50%) rotate(var(--tape-tilt, -2deg));
}
.band-photo img { width: 100%; height: 230px; object-fit: cover; display: block; background: var(--kc-teal); }
.band-photo figcaption { font-family: var(--font-marker); font-size: 18px; color: var(--kc-ink-4); text-align: center; padding: 12px 6px 18px; }
@media (max-width: 820px) {
  .kc-band__row--photo { flex-wrap: wrap; }
  .band-photo, .side-photo { display: block; order: -1; flex: 1 1 100%; width: 100%; max-width: 100%; transform: none; margin: 0 0 10px; }
  .band-photo img, .side-photo img { height: auto; aspect-ratio: 16 / 10; }
}

/* ---------- Placeholder note band ---------- */
.kc-note { background: var(--kc-amber); border-bottom: 2px solid #d18f22; }
.kc-note__row { max-width: 1080px; margin: 0 auto; padding: 14px 24px; display: flex; gap: 12px; align-items: flex-start; }
.kc-note svg { flex: none; margin-top: 2px; }
.kc-note p { margin: 0; font-size: 15px; font-weight: 700; color: #2a1704; }

/* ---------- Content primitives ---------- */
.kc-section { background: var(--kc-cream); padding: 48px 24px 8px; }
.kc-h2 {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(30px, 4.4vw, 44px); line-height: 1.05; color: var(--kc-brick);
}
.kc-card { background: var(--kc-cream-2); border: 2px solid var(--kc-line); border-radius: 22px; padding: 24px 26px; }
.kc-card--sm { border-radius: 18px; padding: 20px 22px; }
.kc-card__h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.1; color: var(--kc-teal); }
.kc-card__p { margin: 10px 0 0; font-size: 16px; line-height: 1.55; color: var(--kc-ink-2); }
.kc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; margin: 26px 0 0; list-style: none; padding: 0; }
.kc-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 22px;
  border: 2px solid transparent; border-radius: 999px; background: var(--kc-red); color: #ffffff;
  font-size: 13.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer;
}
.kc-btn:hover { background: var(--kc-red-dark); color: #ffffff; }
.kc-btn--lg { min-height: 44px; padding: 0 24px; font-size: 14px; }
/* The outlined buttons have always been 2px bigger all round than the filled ones; kept that way. */
.kc-btn--outline, .kc-btn--ghost { min-height: 44px; padding: 0 24px; }
.kc-btn--lg.kc-btn--outline, .kc-btn--lg.kc-btn--ghost { min-height: 48px; padding: 0 26px; }
.kc-btn--outline { background: transparent; border: 2px solid var(--kc-teal); color: var(--kc-teal); }
.kc-btn--outline:hover { background: var(--kc-sand-2); color: var(--kc-teal); }
.kc-btn--ghost { background: transparent; border: 2px solid var(--kc-cream); color: var(--kc-cream); }
.kc-btn--ghost:hover { background: rgba(247, 236, 216, .14); color: var(--kc-cream); }
.kc-cta-band {
  max-width: 1080px; margin: 0 auto; background: var(--kc-sand); border-radius: 22px; padding: 28px 30px;
  display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between;
}
.kc-cta-band h2, .kc-cta-band h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; color: var(--kc-teal); }
.kc-cta-band p { margin: 8px 0 0; font-size: 16px; color: var(--kc-ink-2); }
.kc-cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.kc-footer { background: var(--kc-teal); color: var(--kc-cream); padding: 44px 24px 28px; margin-top: 56px; border-top: 10px solid var(--kc-brick); }
.kc-footer--flush { margin-top: 0; border-top: 0; }
.kc-footcols { max-width: 1080px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: flex-start; }
.kc-footbrand { flex: 2 1 300px; min-width: min(260px, 100%); }
.kc-footbrand img { height: 54px; width: auto; display: block; }
.kc-footbrand p { margin: 14px 0 0; font-size: 15px; line-height: 1.5; color: var(--kc-mist); max-width: 40ch; }
.kc-footbrand__find {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; min-height: 38px; padding: 0 20px;
  border: 2px solid transparent; border-radius: 999px; background: var(--kc-red); color: #ffffff;
  font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
}
.kc-footbrand__find:hover { background: var(--kc-red-dark); color: #ffffff; }
.kc-footnav { flex: 1 1 150px; display: flex; flex-direction: column; gap: 2px; }
.kc-footnav ul { display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 0; }
.kc-footnav--wide { flex-basis: 190px; }
.kc-footnav__title { margin: 0; font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; text-wrap: initial; color: var(--kc-amber); padding-bottom: 6px; }
.kc-footnav a { display: flex; align-items: center; min-height: 36px; font-size: 15px; color: var(--kc-cream); text-decoration: none; }
.kc-footnav a:hover { color: #ffffff; text-decoration: underline; }
.kc-footer__bottom {
  max-width: 1080px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid rgba(247, 236, 216, .22);
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between;
}
.kc-footer__bottom p { margin: 0; font-size: 14px; color: var(--kc-mist-2); }
@media (max-width: 900px) {
  .kc-footcols { gap: 30px 20px; }
  .kc-footnav { flex: 0 1 calc(50% - 10px); min-width: 132px; }
  .kc-footbrand { flex: 1 1 100%; grid-column: 1 / -1; }
}

/* ---------- Mobile nav panel ---------- */
.kc-mobile-nav {
  position: fixed; inset: 0; z-index: 80; background: var(--kc-teal); padding: 20px;
  display: flex; flex-direction: column; overflow-y: auto;
}
.kc-mobile-nav__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.kc-mobile-nav__top img { height: 40px; width: auto; display: block; }
.kc-mobile-nav__close {
  width: 48px; height: 48px; flex: none; background: var(--kc-teal); border: 2px solid var(--kc-cream);
  border-radius: 8px; color: #ffffff; font-size: 20px; font-weight: 700; cursor: pointer;
}
.kc-mobile-nav__close:hover { border-color: var(--kc-amber); color: var(--kc-amber); }
.kc-mobile-nav__links { margin-top: 32px; }
.kc-mobile-nav__links ul { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.kc-mobile-nav__links a {
  font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.15; text-transform: uppercase;
  color: #ffffff; text-decoration: none; padding: 12px 0;
}
.kc-mobile-nav__links a:hover { color: var(--kc-amber); }
.kc-mobile-nav__links a[aria-current="page"] { color: var(--kc-amber); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.kc-mobile-nav__more {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(247, 236, 216, .25);
}
.kc-mobile-nav__more a {
  display: flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 2px solid rgba(247, 236, 216, .4); border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--kc-cream); text-decoration: none;
}
.kc-mobile-nav__more a:hover { border-color: var(--kc-amber); color: var(--kc-amber); }

/* Phone header: one-line announcement bar, shorter nav (≤760px only). */
@media (max-width: 760px) {
  /* Badge stays on the left; the cities wrap in a block beside it (never beneath it). Font scales with the viewport. */
  .kc-announce__row { flex-wrap: nowrap; justify-content: center; align-items: center; gap: 12px; min-height: 40px; padding: 6px 16px; }
  .kc-announce__badge { align-self: center; font-size: clamp(9.5px, 2.7vw, 11.5px); padding: 5px clamp(8px, 2.2vw, 11px); }
  /* Badge + three cities with dot separators; one line where it fits, two centered lines under 600px. */
  .kc-announce__row { padding: 6px 12px; gap: 10px; }
  /* flex-wrap stays on: the cities fit on one line at normal text settings, and wrap (instead of pushing the page
     sideways) when someone enlarges letter or word spacing (WCAG 1.4.12). */
  .kc-cities { flex: 0 1 auto; min-width: 0; flex-wrap: wrap; justify-content: center; gap: 2px 7px; font-size: clamp(11px, 3.1vw, 13.5px); line-height: 1.2; }
  .kc-dot, .kc-cities li + li::before { display: block; width: 4px; height: 4px; }
}
/* Under 600px the three cities (with states) wrap to two centered lines beside the badge. */
/* Phones: tighter spacing so badge + three cities with states stay on ONE line down to 360px; wrap only below that. */
@media (max-width: 600px) {
  /* Full width: badge at the left edge, cities spread across the rest with dot separators. */
  .kc-announce__row { justify-content: space-between; padding: 6px 12px; gap: 10px; }
  .kc-announce__badge { font-size: 9.5px; letter-spacing: .08em; padding: 4px 8px; gap: 6px; }
  .kc-announce__badge::before { width: 6px; height: 6px; }
  .kc-cities { flex: 1 1 auto; flex-wrap: wrap; justify-content: space-between; gap: 2px 4px; font-size: clamp(10.5px, 2.9vw, 13px); font-weight: 600; letter-spacing: -0.01em; }
  .kc-dot, .kc-cities li + li::before { display: block; width: 4px; height: 4px; }
}
@media (max-width: 359px) { .kc-cities { flex-wrap: wrap; justify-content: center; gap: 2px 10px; } }
@media (max-width: 760px) {
}
@media (max-width: 760px) {
  .kc-nav__row { min-height: 72px; padding: 0 16px; }
  .kc-nav__logo img { height: 50px; }
}

/* 801-1000px (iPad portrait, Duo open): slightly smaller logo and tighter links so the header never wraps onto two rows. */
@media (min-width: 801px) and (max-width: 1000px) {
  .kc-nav__row { flex-wrap: nowrap; }
  .kc-nav__logo img { height: 52px; }
  .kc-desk-nav a { font-size: 14px; padding: 14px 10px; }
}

/* Footer on phones: Visit takes its content width, The fine print gets the rest, and links stay on one line where
   they fit. They are allowed to wrap (not nowrap) so wider letter/word spacing can't push the page sideways (WCAG 1.4.12). */
@media (max-width: 760px) {
  .kc-footcols { gap: 26px 24px; }
  .kc-footnav { flex: 0 0 auto; min-width: 0; }
  .kc-footnav--wide { flex: 1 1 0; }
  .kc-footnav a { font-size: 14.5px; min-height: 34px; }
}
@media (max-width: 340px) { .kc-footnav a { white-space: normal; padding: 5px 0; line-height: 1.3; } }

/* Phones: the call-to-action band stacks, so centre it (About "Come get messy"). */
@media (max-width: 760px) {
  .kc-cta-band { text-align: center; justify-content: center; }
  .kc-cta-band__actions { justify-content: center; width: 100%; }
}

/* Tablet (761–1100px): compact footer. Brand on the left; on the right, the Visit links in one row and the
   fine-print links in two columns. Less padding and tighter link rows. */
@media (min-width: 761px) and (max-width: 1100px) {
  .kc-footer { padding: 32px 32px 22px; }
  .kc-footcols {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr); grid-template-rows: auto 1fr;
    gap: 22px 40px; align-items: start; max-width: 1080px; margin: 0 auto;
  }
  .kc-footbrand { grid-column: 1; grid-row: 1 / span 2; flex: none; min-width: 0; }
  .kc-footbrand img { height: 44px; }
  .kc-footbrand p { font-size: 14px; margin-top: 10px; }
  .kc-footbrand__find { margin-top: 14px; min-height: 36px; padding: 0 16px; font-size: 13px; }
  .kc-footnav { flex: none; min-width: 0; }
  .kc-footnav[aria-label="Footer"] { grid-column: 2; grid-row: 1; }
  .kc-footnav[aria-label="Footer"] ul { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 22px; row-gap: 0; }
  .kc-footnav[aria-label="Legal"] { grid-column: 2; grid-row: 2; }
  .kc-footnav[aria-label="Legal"] ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; }
  .kc-footnav__title { padding-bottom: 4px; font-size: 12px; }
  .kc-footnav a { min-height: 32px; font-size: 14px; white-space: normal; line-height: 1.3; }
  .kc-footer__bottom { margin-top: 20px; padding-top: 14px; }
  .kc-footer__bottom p { font-size: 13px; }
}

/* Tablets with the photo beside the text (821–1100px): rows start at the top instead of centring, so the kicker,
   heading and polaroid sit in the same place on every page and switching pages doesn't make them jump. */
@media (min-width: 821px) and (max-width: 1100px) {
  .kc-band__row--photo { align-items: flex-start; }
  .band-photo { box-sizing: border-box; flex: 0 0 34%; width: auto; }   /* same width on every page */
}

/* Short landscape screens (phones held sideways): a slimmer header, so the page content starts on the first screen.
   Kept identical in home.css and site.css so the header doesn't change size between pages. */
@media (orientation: landscape) and (max-height: 500px) {
  .kc-announce__row { min-height: 36px; padding-top: 4px; padding-bottom: 4px; }
  .kc-nav__row { min-height: 60px; }
  .kc-nav__logo img { height: 42px; }
}

/* Phone numbers and address pieces ("Ste H-I-J", "6777-A4") never break across lines. */
a[href^="tel:"], .nw { white-space: nowrap; }

/* Windows High Contrast / forced colours: backgrounds are dropped, so the burger's bars (drawn with a background)
   would vanish; draw them in the button text colour. The filled buttons keep their shape through their transparent
   2px borders, which forced colours paints. */
@media (forced-colors: active) {
  .kc-burger__bar, .kc-dot, .kc-cities li + li::before { background: ButtonText; forced-color-adjust: none; }
}
