/* Northumberland Fisheries Museum — site styles
   Palette from the harbour and the building: a deep sea navy, the weathered
   red of a lighthouse band, on a warm sand ground.
   Light-theme only by design: this is a brochure site, not an app. */

:root {
  --brand: #0b3c5d;
  --brand-dark: #07293e;
  --brand-ink: #071d2b;      /* near-black navy for dark surfaces */
  --accent: #c9472f;         /* lighthouse red */
  --accent-dark: #a3341f;
  --sea: #7fb2d1;

  --ink: #16202b;
  --body: #46525f;
  --muted: #6f7c89;

  --paper: #ffffff;
  --sand: #f6f4ef;
  --sand-deep: #e9e4d9;
  --line: #dcd6ca;

  --wrap: 1180px;
  --gap: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(11, 30, 43, .06), 0 8px 24px rgba(11, 30, 43, .08);
  --shadow-lg: 0 2px 4px rgba(11, 30, 43, .08), 0 18px 44px rgba(11, 30, 43, .14);

  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 750;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.3rem + 3.2vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.2rem); }
h3 { font-size: clamp(1.12rem, 1.04rem + .4vw, 1.32rem); }

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--accent-dark); }

/* Last-resort guard against sideways scroll. `anywhere` (unlike `break-word`)
   also shrinks the element's min-content width, which is what actually stops a
   long email or URL forcing a grid column wider than the viewport.
   Reset it wherever these sit in a flex row — there it lets a child collapse
   to one character per line. */
a, p, dd, li, code, blockquote { overflow-wrap: anywhere; }

img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.narrow { max-width: 46rem; margin-inline: auto; }
.center { text-align: center; }

/* Hidden from sight, still present for assistive tech. Clipped rather than
   pushed off-canvas: content at left:-9999px can be scrolled to on mobile,
   which reads as the page drifting sideways. */
.visually-hidden, .skip, .hp {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.hp > * { width: 1px; height: 1px; min-width: 0; padding: 0; border: 0; }

.skip:focus {
  position: fixed; top: 1rem; left: 1rem; width: auto; height: auto;
  margin: 0; padding: .75rem 1.25rem; overflow: visible; clip: auto;
  clip-path: none; border-radius: 6px; background: var(--ink); color: #fff; z-index: 200;
}

.muted { color: var(--muted); }
.lede { font-size: clamp(1.06rem, 1rem + .4vw, 1.25rem); color: var(--ink); }
.caption { margin-top: .75rem; font-size: .92rem; color: var(--muted); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.5rem; border: 2px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }

.btn-ghost { border-color: currentColor; color: var(--brand); background: transparent; }
.btn-ghost:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

.btn-on-dark { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- notice bar ---------- */

.notice-bar {
  margin: 0; padding: .65rem 1rem; text-align: center;
  background: var(--accent); color: #fff; font-weight: 650; font-size: .95rem;
}

/* ---------- header and navigation ---------- */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.6) blur(8px);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 80px;
}

/* The logo is a tall badge (450x346), not a wide wordmark, so it is capped by
   height and allowed to keep its proportions. */
.brand { display: block; flex: none; }
.brand img { width: auto; height: 62px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0; flex: none;
  border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer;
}
.bars, .bars::before, .bars::after {
  display: block; width: 22px; height: 2px; background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; }
.bars::after { top: 7px; }
[aria-expanded="true"] .bars { background: transparent; }
[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* --- mobile: a single scrollable panel, submenus always expanded ---------
   Sixteen pages across five sections is too many to hide behind tap-to-open
   accordions on a phone; showing the children indented is fewer taps and no
   guessing. */
.nav { display: none; }
.nav.open {
  display: block; position: absolute; inset: 100% 0 auto;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: .5rem clamp(1rem, 4vw, 2rem) 1.5rem;
  max-height: calc(100vh - 80px); overflow-y: auto;
}
.nav ul { list-style: none; margin: 0; padding: 0; }
.nav > ul > li + li { border-top: 1px solid var(--line); }
.nav a {
  display: block; padding: .85rem .25rem; color: var(--ink);
  font-weight: 650; text-decoration: none;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent-dark); }

.nav .has-sub > ul { margin: 0 0 .6rem .9rem; border-left: 2px solid var(--sand-deep); }
.nav .has-sub > ul a { padding: .55rem .9rem; font-weight: 500; font-size: .95rem; color: var(--body); }

.btn-tickets { width: 100%; margin-top: 1rem; }

/* --- desktop: a real menu bar with hover/focus dropdowns ----------------- */
@media (min-width: 68rem) {
  .nav-toggle { display: none; }
  .nav {
    display: flex !important; position: static; align-items: center;
    gap: 1.25rem; padding: 0; border: 0; box-shadow: none;
    max-height: none; overflow: visible;
  }
  .nav > ul { display: flex; align-items: center; gap: .35rem; }
  .nav > ul > li + li { border-top: 0; }
  .nav > ul > li { position: relative; }
  .nav > ul > li > a {
    padding: .55rem .7rem; font-size: .97rem; border-radius: 6px; white-space: nowrap;
  }
  .nav > ul > li > a:hover { background: var(--sand); }
  .nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 6px 6px 0 0; }

  /* Dropdowns. Opened on hover and on keyboard focus — :focus-within is what
     makes them reachable by tab, which a hover-only menu never is. */
  .nav .has-sub > ul {
    position: absolute; top: 100%; left: 0; min-width: 15rem;
    margin: 0; border: 1px solid var(--line); border-left: 1px solid var(--line);
    border-radius: 0 0 8px 8px; background: var(--paper);
    box-shadow: var(--shadow-lg); padding: .35rem;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .14s ease, transform .14s ease, visibility .14s;
  }
  .nav .has-sub:hover > ul,
  .nav .has-sub:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
  .nav .has-sub > ul a { padding: .55rem .7rem; border-radius: 5px; font-size: .95rem; white-space: nowrap; }
  .nav .has-sub > ul a:hover { background: var(--sand); color: var(--accent-dark); }

  /* A caret, so a parent with children looks different from one without. */
  .nav .has-sub > a::after {
    content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45rem;
    border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }

  .btn-tickets { width: auto; margin: 0; padding: .65rem 1.2rem; font-size: .95rem; white-space: nowrap; }
}

/* ---------- sections ---------- */

.section { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.section-tint { background: var(--sand); }
.page-head {
  padding-block: clamp(2rem, 5vw, 3.25rem);
  background: var(--brand); color: rgba(255,255,255,.9);
}
.page-head h1 { color: #fff; }
.page-head .lede { color: rgba(255,255,255,.9); }
.page-head a { color: #fff; }
.crumb { margin-bottom: .5rem; font-size: .92rem; }

/* ---------- hero ---------- */

.hero { position: relative; display: grid; isolation: isolate; }
.hero > img {
  grid-area: 1 / 1; width: 100%; height: clamp(320px, 52vh, 560px);
  object-fit: cover;
}
.hero::after {
  content: ""; grid-area: 1 / 1; z-index: 1;
  background: linear-gradient(180deg, rgba(7,29,43,.25) 0%, rgba(7,29,43,.72) 100%);
}
.hero-inner {
  grid-area: 1 / 1; z-index: 2; align-self: end;
  padding-block: clamp(1.75rem, 5vw, 3.25rem); color: #fff;
}
.hero-inner h1 { color: #fff; }
.hero-inner .lede { color: rgba(255,255,255,.92); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }

/* ---------- grids and cards ---------- */

.grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; }
.grid > * { min-width: 0; }
@media (min-width: 44rem) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 56rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 1.35rem; }
.card-body > :last-child { margin-bottom: 0; }

.more { display: inline-block; margin-top: .6rem; font-weight: 700; text-decoration: none; }
.more::after { content: " \2192"; }
.more:hover { text-decoration: underline; }

.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }

.split { display: grid; gap: var(--gap); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 52rem) { .split { grid-template-columns: 1fr 1fr; } }

.shot { margin: 0; }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.shot figcaption { margin-top: .6rem; font-size: .9rem; color: var(--muted); }

.panel-note {
  margin-top: var(--gap); padding: 1.35rem 1.5rem;
  background: var(--paper); border-left: 4px solid var(--sea); border-radius: 0 8px 8px 0;
}

.gallery-shop { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 56rem) { .gallery-shop { grid-template-columns: repeat(5, 1fr); } }
.gallery-shop img { aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* ---------- quotes ---------- */

.quotes blockquote {
  margin: 0; padding: 1.4rem 1.5rem; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.quotes blockquote p { font-size: .98rem; }
.quotes cite { display: block; margin-top: .8rem; font-style: normal; font-weight: 700; color: var(--brand); font-size: .92rem; }

/* ---------- call-to-action band ---------- */

.cta-band {
  background: var(--brand); color: #fff; text-align: center;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 42rem; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 1.5rem; }

/* ---------- hours ---------- */

.hours { margin: 0 0 1rem; }
.hours > div {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem;
  padding: .45rem 0; border-bottom: 1px solid rgba(255,255,255,.14);
}
.hours > div:last-child { border-bottom: 0; }
.hours dt { font-weight: 650; }
.hours dd { margin: 0; }
/* On a light background the white divider is invisible. */
.section .hours > div, .hours-lg > div { border-bottom-color: var(--line); }
.hours-lg > div { padding: .7rem 0; font-size: 1.05rem; }

.admission-note {
  margin-top: 1rem; padding: .85rem 1.1rem;
  background: var(--sand-deep); border-radius: 8px; font-weight: 600; color: var(--ink);
}

.addr-block {
  padding: 1.25rem 1.4rem; background: var(--sand);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.addr { font-style: normal; }

.route-list { list-style: none; margin: 1rem 0 0; padding: 0; max-width: 42rem; }
.route-list li {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .3rem 1rem;
  padding: .7rem 0; border-bottom: 1px solid var(--line);
}
.route-list li:last-child { border-bottom: 0; }
.route-list span { font-weight: 650; color: var(--ink); }

.map-embed { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: clamp(280px, 45vh, 420px); border: 0; }

/* ---------- FAQ ---------- */

.faq { max-width: 52rem; margin-inline: auto; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); margin-bottom: .85rem; box-shadow: var(--shadow);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq details > div { padding: 0 1.3rem 1.3rem; }

/* ---------- blog and news ---------- */

.post-grid { align-items: start; }
.post-card .post-thumb { display: block; }
.post-card .post-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-thumb-blank { display: block; aspect-ratio: 4 / 3; background: var(--sand-deep); }
.post-date { margin: 0 0 .3rem; font-size: .86rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.post-title { font-size: 1.15rem; margin-bottom: .5rem; }
.post-title a { color: var(--ink); text-decoration: none; }
.post-title a:hover { color: var(--accent-dark); }

.news-list { display: grid; gap: var(--gap); max-width: 56rem; }
.news-item { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 44rem) { .news-item { grid-template-columns: 16rem 1fr; } }
.news-item h2 { font-size: 1.3rem; }
.news-item h2 a { color: var(--ink); text-decoration: none; }
.news-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

.post-hero { margin-bottom: 1.75rem; }

/* Post bodies are staff-written HTML from the old editor — the styling here
   has to cope with whatever it contains, not an ideal document. */
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose img { border-radius: 8px; margin: 1.5rem 0; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote {
  margin: 1.5rem 0; padding: .3rem 0 .3rem 1.2rem;
  border-left: 4px solid var(--sea); color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th, .prose td { padding: .5rem .7rem; border: 1px solid var(--line); text-align: left; }
/* Video embeds arrived as fixed-width iframes; make them fit a phone. */
.prose iframe, .embed-holder iframe {
  display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 8px;
}

.post-nav {
  display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2.5rem;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
}
@media (min-width: 40rem) { .post-nav { grid-template-columns: 1fr 1fr; } }
.post-nav a {
  display: block; padding: .9rem 1.1rem; background: var(--sand);
  border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 650;
}
.post-nav a:hover { background: var(--sand-deep); }
.post-nav span { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.post-nav-next { text-align: right; }
.post-back { margin-top: 2rem; }

.resource-list { display: grid; gap: var(--gap); max-width: 52rem; margin-inline: auto; }
.resource { padding: 1.35rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.resource h3 { margin-bottom: .8rem; }

/* ---------- Dine, Shop & Stay directory ---------- */

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.75rem; }
.filter-label { font-weight: 700; color: var(--ink); margin-right: .3rem; }
.chip {
  padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); font: inherit; font-size: .92rem; font-weight: 600;
  color: var(--body); cursor: pointer;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }

.directory { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.biz {
  display: grid; gap: 1.1rem; grid-template-columns: 1fr; align-items: start;
  padding: 1.25rem; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
@media (min-width: 40rem) { .biz { grid-template-columns: 13rem 1fr; } }
.biz[hidden] { display: none; }
.biz-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.biz h2 { font-size: 1.16rem; margin-bottom: .2rem; }
.biz h2 a { color: var(--ink); text-decoration: none; }
.biz h2 a:hover { color: var(--accent-dark); text-decoration: underline; }
.biz-cat {
  display: inline-block; margin: 0 0 .5rem; padding: .12rem .6rem;
  background: var(--sand-deep); border-radius: 999px;
  font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--brand);
}
.biz-body > :last-child { margin-bottom: 0; }
.directory-note { margin-top: 1.5rem; font-size: .9rem; }

/* ---------- support page ---------- */

.support-feature {
  padding: 1.75rem; margin-bottom: var(--gap); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.support-feature img { border-radius: 8px; margin-bottom: 1.25rem; max-height: 20rem; object-fit: cover; width: 100%; }
.price-line { font-size: 1.1rem; color: var(--ink); }
.price-line strong { color: var(--accent-dark); }

/* ---------- forms ---------- */

.form { margin-top: 1.25rem; }
.field { margin-bottom: 1.1rem; }
.row { display: grid; gap: 0 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .row { grid-template-columns: 1fr 1fr; } }
label { display: block; margin-bottom: .35rem; font-weight: 650; color: var(--ink); }
input[type=text], input[type=email], input[type=tel], input[type=date],
input[type=time], input[type=number], select, textarea {
  width: 100%; padding: .7rem .8rem; border: 1px solid var(--line);
  border-radius: 8px; font: inherit; color: var(--ink); background: var(--paper);
}
textarea { min-height: 8rem; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--brand); }
.hint { margin: .4rem 0 0; font-size: .88rem; color: var(--muted); }

.alert { padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 1.25rem; }
.alert p:last-child { margin-bottom: 0; }
.alert ul { margin: .5rem 0 0; padding-left: 1.2rem; }
.alert.ok { background: #e7f5ec; border: 1px solid #7fc79b; color: #14532d; }
.alert.err { background: #fdecec; border: 1px solid #e39c9c; color: #7f1d1d; }
.alert.info { background: #eef4fa; border: 1px solid #9fc0e0; color: #0b3c5d; }

/* ---------- long-form legal pages ---------- */

.prose h2 { margin-top: 2.2rem; }
.prose code { background: var(--sand-deep); padding: .1rem .35rem; border-radius: 4px; font-size: .92em; }

/* ---------- footer ---------- */

.site-foot { background: var(--brand-ink); color: rgba(255,255,255,.82); padding-top: clamp(2.75rem, 6vw, 4rem); }
.site-foot h2 { color: #fff; font-size: 1rem; letter-spacing: .07em; text-transform: uppercase; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--sea); }
.site-foot .muted { color: rgba(255,255,255,.6); }

.foot-grid { display: grid; gap: var(--gap); grid-template-columns: 1fr; padding-bottom: 2.5rem; }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }
/* An email address is one long unbreakable string; without this it sets the
   column's minimum width and pushes the page sideways on a phone. */
.foot-grid > * { min-width: 0; }
.foot-grid a { overflow-wrap: anywhere; }

.social { display: flex; flex-wrap: wrap; gap: 1.25rem; }

.foot-legal {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  align-items: center; padding-block: 1.35rem;
  border-top: 1px solid rgba(255,255,255,.14); font-size: .89rem;
}
.foot-legal p { margin: 0; }
.foot-legal a + a { margin-left: 1.25rem; }
