@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/assets/fonts/source-sans-3-latin.woff2") format("woff2");
}

:root {
  --canvas: #f3f5f6;
  --surface: #ffffff;
  --ink: #151b22;
  --muted: #58636f;
  --line: #dce1e5;
  --line-dark: #c7ced4;
  --accent: #5b1d72;
  --accent-dark: #40134f;
  --accent-soft: #f3edf5;
  --green: #13795b;
  --yellow: #e6b52c;
  --radius: 4px;
  --content: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.8rem, 6vw, 5.6rem);
  line-height: 0.9;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1;
}

h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(91, 29, 114, 0.35);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding: 10px max(22px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.header-bar,
.brand {
  display: flex;
  align-items: center;
}

.brand {
  min-height: 48px;
  min-width: max-content;
  line-height: 1;
}

.brand-wordmark {
  display: inline-flex;
  flex-direction: column;
  color: var(--ink);
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.brand-prefix {
  color: var(--muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-place {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-place-initial {
  color: var(--accent);
}

.brand-descriptor {
  display: grid;
  grid-template-columns: 18px auto 1fr;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.brand-descriptor::before,
.brand-descriptor::after {
  height: 1px;
  background: var(--accent);
  content: "";
}

.brand-descriptor::after {
  opacity: 0.35;
}

.menu-toggle {
  display: none;
  min-height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #303943;
  font-size: 0.9rem;
  font-weight: 700;
}

nav a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
}

nav a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

nav .nav-search {
  margin-left: 8px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--accent);
}

nav .nav-search:hover {
  background: var(--accent);
  color: #fff;
}

#news,
#events,
#jobs,
#property,
#travel,
#business,
#food,
#explore,
#ask,
#today,
#local-tools {
  scroll-margin-top: 88px;
}

.hero-shell {
  min-height: min(660px, calc(84vh - 68px));
  display: grid;
  align-items: center;
  padding: clamp(70px, 8vw, 112px) 24px;
  background:
    linear-gradient(90deg, rgba(11, 17, 24, 0.84) 0%, rgba(11, 17, 24, 0.64) 48%, rgba(11, 17, 24, 0.32) 100%),
    url("/assets/paisley-abbey-sunny-1200.webp") center / cover no-repeat;
  color: #fff;
}

.hero-grid {
  width: min(100%, var(--content));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: end;
  margin: 0 auto;
}

.hero-copy {
  max-width: 760px;
}

.hero-copy h1 {
  color: #fff;
}

.hero-greeting,
.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-greeting {
  color: #f4cf62;
}

.hero-deck {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.button,
.search-row button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 0 20px;
  cursor: pointer;
  font-weight: 800;
}

.button.primary,
.search-row button {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover,
.search-row button:hover {
  background: var(--accent-dark);
}

.search-row button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.68);
  background: transparent;
  color: #fff;
}

.button.secondary:hover {
  background: #fff;
  color: var(--ink);
}

.live-panel {
  overflow: hidden;
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.panel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 800;
}

.panel-topline > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.panel-topline small {
  color: var(--muted);
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.snapshot-grid article {
  min-height: 118px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  padding: 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.snapshot-grid article:nth-child(2n) {
  border-right: 0;
}

.snapshot-grid article:nth-last-child(-n+2) {
  border-bottom: 0;
}

.snapshot-grid strong {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-variant-numeric: tabular-nums;
  line-height: 0.9;
}

.snapshot-grid span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.home-intro {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.home-intro-inner {
  width: min(100%, var(--content));
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  column-gap: clamp(40px, 7vw, 100px);
  row-gap: 8px;
  align-items: start;
  margin: 0 auto;
  padding: 48px 24px;
}

.home-intro .kicker {
  grid-column: 1;
  margin-bottom: 0;
}

.home-intro h2 {
  grid-column: 1;
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.02;
}

.home-intro p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.72;
}

.section-block {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 96px) 24px;
}

.page-breadcrumb {
  width: min(100%, var(--content));
  min-height: 44px;
  display: flex;
  justify-content: flex-start;
  gap: 8px;
  margin: 0 auto;
  padding: 10px 24px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.page-breadcrumb a {
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--accent);
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

.seo-context {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: 56px 24px 72px;
  border-top: 1px solid var(--line);
}

.seo-context-inner {
  max-width: 780px;
}

.seo-context h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.seo-context p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.04rem;
}

.seo-context a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.heading-row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.heading-row > p {
  max-width: 390px;
  margin: 0 0 4px;
  color: var(--muted);
}

.status-board {
  padding-top: 62px;
}

.signal-grid {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--surface);
}

.signal-card {
  position: relative;
  min-height: 138px;
  display: grid;
  align-content: space-between;
  gap: 9px;
  padding: 20px 44px 20px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background-color 160ms ease;
}

.signal-card:nth-child(3n) {
  border-right: 0;
}

.signal-card:nth-last-child(-n+3) {
  border-bottom: 0;
}

.signal-card::after {
  position: absolute;
  top: 20px;
  right: 20px;
  color: var(--accent);
  content: "\2192";
  font-size: 1.1rem;
}

.signal-card:hover {
  background: #f8f7f9;
}

.signal-card span,
.feed-heading span,
.directory-heading span,
.tool-panel-heading > span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.signal-card strong {
  align-self: end;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.28rem;
  line-height: 1.08;
}

.signal-card small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

.ask-section {
  background: #1a232c;
  color: #fff;
}

.ask-inner {
  width: min(100%, var(--content));
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(420px, 1.35fr);
  gap: clamp(40px, 7vw, 90px);
  align-items: start;
  margin: 0 auto;
  padding: clamp(62px, 8vw, 90px) 24px;
}

.ask-copy .kicker {
  color: #f4cf62;
}

.ask-copy h2 {
  color: #fff;
}

.ask-copy p:last-child {
  max-width: 420px;
  margin: 16px 0 0;
  color: #c9d0d5;
}

.ask-box {
  display: grid;
  gap: 12px;
}

.ask-box label {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.search-row input {
  min-width: 0;
  min-height: 54px;
  border: 1px solid #fff;
  border-radius: var(--radius);
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  font-size: 1rem;
}

.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prompt-chips button {
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  padding: 0 13px;
  background: transparent;
  color: #e9edf0;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
}

.prompt-chips button:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ask-results {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.ask-results:empty {
  display: none;
}

.ask-results-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
}

.ask-results-heading span {
  color: #f4cf62;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ask-results-heading strong {
  color: #d8dde1;
  font-size: 0.86rem;
}

.ask-result-list {
  display: grid;
}

.ask-result,
.ask-empty {
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.ask-result:first-child,
.ask-empty:first-child {
  border-radius: var(--radius) var(--radius) 0 0;
}

.ask-result:last-child,
.ask-empty:last-child {
  border-bottom: 0;
  border-radius: 0 0 var(--radius) var(--radius);
}

.ask-result:hover {
  background: var(--accent-soft);
}

.ask-result span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ask-result strong,
.ask-empty strong {
  line-height: 1.2;
}

.ask-result small,
.ask-empty span {
  color: var(--muted);
  font-weight: 600;
}

.briefing-section {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  background: #fff;
}

.briefing-section > .section-heading,
.briefing-layout {
  width: min(100% - 48px, var(--content));
  margin-inline: auto;
}

.briefing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 40px;
}

.briefing-stack {
  display: grid;
  align-content: start;
  border-left: 1px solid var(--line);
  padding-left: 32px;
}

.briefing-panel {
  min-width: 0;
  border-top: 3px solid var(--ink);
}

.briefing-stack .briefing-panel {
  border-top-width: 1px;
}

.briefing-stack .briefing-panel:first-child {
  border-top-width: 3px;
}

.affiliate-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.directory-affiliate-note {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.feed-heading,
.directory-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 50px;
  border-bottom: 1px solid var(--line);
}

.feed-heading a {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.feed-heading a:hover {
  text-decoration: underline;
}

.lead-story {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  margin-top: 18px;
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 36px);
  background:
    linear-gradient(0deg, rgba(10, 15, 20, 0.86), rgba(10, 15, 20, 0.12)),
    var(--ink);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.lead-story h3 {
  max-width: 760px;
  margin-top: 12px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
}

.lead-story p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
}

.lead-story a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 18px;
  border-bottom: 2px solid #fff;
  color: #fff;
  font-weight: 800;
}

.briefing-list {
  display: grid;
}

.briefing-row {
  display: grid;
  gap: 5px;
  min-height: 88px;
  align-content: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: color 150ms ease;
}

.briefing-row:hover {
  color: var(--accent);
}

.briefing-row strong {
  font-size: 1rem;
  line-height: 1.25;
}

.briefing-row small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.feed-tag {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.lead-story .feed-tag {
  color: #f4cf62;
}

.directory-section {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  background: var(--canvas);
}

.home-events-section {
  width: 100%;
  background: #1a232c;
  color: #fff;
}

.home-events-inner {
  width: min(100%, var(--content));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 92px) 24px;
}

.home-events-section h2 {
  color: #fff;
}

.home-events-section .kicker {
  color: #f4cf62;
}

.home-events-section .heading-row > p {
  color: #c0c9d0;
}

.home-events-all {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid #fff;
  color: #fff;
  font-weight: 800;
}

.home-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-event-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #46515b;
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}

.home-event-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dfe4e8;
}

.home-event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.home-event-card:hover .home-event-image img {
  transform: scale(1.025);
}

.home-event-date {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  border-radius: 4px;
  padding: 7px 9px;
  background: rgba(17, 20, 24, 0.92);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.home-event-content {
  display: grid;
  gap: 7px;
  min-height: 178px;
  align-content: start;
  padding: 20px;
}

.home-event-content span {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}

.home-event-content strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.1;
}

.home-event-content small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.home-event-content::after {
  align-self: end;
  margin-top: 8px;
  color: var(--accent);
  content: "View tickets \2192";
  font-weight: 800;
}

.home-events-loading {
  grid-column: 1 / -1;
  min-height: 160px;
  display: grid;
  place-items: center;
  border-top: 1px solid #46515b;
  border-bottom: 1px solid #46515b;
  color: #c0c9d0;
  font-weight: 700;
}

.home-events-note {
  margin-top: 18px;
  color: #c0c9d0;
}

.directory-section > .section-heading,
.directory-grid {
  width: min(100% - 48px, var(--content));
  margin-inline: auto;
}

.directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
}

.directory-panel {
  min-width: 0;
  border-top: 3px solid var(--ink);
  background: transparent;
}

.directory-heading strong {
  color: var(--muted);
  font-size: 0.8rem;
}

.directory-list {
  display: grid;
}

.directory-row {
  display: grid;
  gap: 4px;
  min-height: 92px;
  align-content: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}

.directory-row:hover strong {
  color: var(--accent);
}

.directory-row span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.directory-row strong {
  line-height: 1.2;
  transition: color 150ms ease;
}

.directory-row small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.directory-empty {
  display: grid;
  min-height: 120px;
  align-content: center;
  gap: 4px;
  color: var(--muted);
  font-weight: 600;
}

.directory-empty strong {
  color: var(--ink);
}

.directory-empty span {
  font-size: 0.86rem;
}

.local-tools-section {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  background: #fff;
}

.local-tools-section > .section-heading,
.local-tools-grid {
  width: min(100% - 48px, var(--content));
  margin-inline: auto;
}

.local-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.tool-panel {
  min-width: 0;
  border-top: 3px solid var(--ink);
}

.tool-panel-heading {
  min-height: 132px;
  display: grid;
  align-content: end;
  gap: 5px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.tool-panel-heading > strong {
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.45rem;
  line-height: 1.05;
}

.tool-panel-heading > small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.tool-links {
  display: grid;
}

.tool-links a,
.tool-links button {
  position: relative;
  display: grid;
  min-height: 76px;
  align-content: center;
  gap: 2px;
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 30px 12px 0;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.tool-links a::after,
.tool-links button::after {
  position: absolute;
  top: 50%;
  right: 2px;
  color: var(--accent);
  content: "\2192";
  font-size: 1rem;
  transform: translateY(-50%);
}

.tool-links a:hover strong,
.tool-links button:hover strong {
  color: var(--accent);
}

.tool-links strong {
  font-size: 0.94rem;
  line-height: 1.15;
}

.tool-links span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 42px max(24px, calc((100vw - var(--content)) / 2));
  background: var(--ink);
  color: #fff;
}

footer strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.05rem;
}

footer p {
  margin: 0;
  color: #bfc7cd;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-weight: 700;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-cookie-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.footer-cookie-button:hover {
  text-decoration: underline;
}

.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  width: min(calc(100% - 40px), 920px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
  border: 1px solid #3c4751;
  border-radius: var(--radius);
  padding: 18px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.cookie-banner-copy {
  max-width: 560px;
}

.cookie-banner-copy strong {
  display: block;
  margin-bottom: 3px;
  font-family: "Newsreader", Georgia, serif;
  font-size: 1.18rem;
}

.cookie-banner-copy p {
  margin: 0;
  color: #d6dce0;
  font-size: 0.9rem;
}

.cookie-banner-copy a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  flex-shrink: 0;
  gap: 9px;
}

.cookie-banner-actions button {
  min-height: 46px;
  border: 1px solid #fff;
  border-radius: var(--radius);
  padding: 0 16px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.cookie-banner-actions button:hover {
  background: #fff;
  color: var(--ink);
}

.cookie-banner-actions .accept {
  border-color: #f4cf62;
  background: #f4cf62;
  color: var(--ink);
}

.cookie-banner-actions .accept:hover {
  border-color: #fff;
}

@media (max-width: 1050px) {
  .hero-grid,
  .ask-inner,
  .briefing-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 800px;
  }

  .live-panel {
    max-width: 720px;
  }

  .signal-grid,
  .local-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-card:nth-child(3n) {
    border-right: 1px solid var(--line);
  }

  .signal-card:nth-child(2n) {
    border-right: 0;
  }

  .signal-card:nth-last-child(-n+3) {
    border-bottom: 1px solid var(--line);
  }

  .signal-card:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .briefing-stack {
    border-left: 0;
    padding-left: 0;
  }

  .home-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 68px;
  }

  .site-header {
    display: block;
    padding: 10px 18px;
  }

  .header-bar {
    justify-content: space-between;
    gap: 16px;
  }

  .brand-place {
    font-size: 1.7rem;
  }

  .brand-prefix {
    font-size: 0.52rem;
  }

  .brand-descriptor {
    font-size: 0.47rem;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  nav {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  nav.is-open {
    display: grid;
  }

  nav a,
  nav .nav-search {
    min-height: 44px;
    margin: 0;
    border: 0;
    border-radius: var(--radius);
    padding: 0 10px;
    background: var(--canvas);
    color: var(--ink);
  }

  nav .nav-search:hover {
    background: var(--accent);
  }

  .hero-shell {
    min-height: auto;
    padding: 64px 18px 36px;
    background-position: 58% center;
    background-image:
      linear-gradient(90deg, rgba(11, 17, 24, 0.84) 0%, rgba(11, 17, 24, 0.64) 48%, rgba(11, 17, 24, 0.32) 100%),
      url("/assets/paisley-abbey-sunny-720.webp");
  }

  .hero-grid {
    gap: 36px;
  }

  h1 {
    font-size: clamp(3.4rem, 16vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .hero-deck {
    margin-top: 20px;
    font-size: 1.05rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .button {
    flex: 1 1 170px;
  }

  .panel-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .snapshot-grid article {
    min-height: 98px;
    padding: 14px;
  }

  .section-block,
  .ask-inner {
    padding: 58px 18px;
  }

  .home-intro-inner {
    grid-template-columns: 1fr;
    padding: 42px 18px;
  }

  .home-intro .kicker,
  .home-intro h2,
  .home-intro p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .home-intro p:last-child {
    margin-top: 12px;
    font-size: 1rem;
  }

  .page-breadcrumb {
    padding-inline: 18px;
  }

  .seo-context {
    padding: 46px 18px 58px;
  }

  .briefing-section,
  .home-events-section,
  .directory-section,
  .local-tools-section {
    padding-inline: 0;
  }

  .briefing-section > .section-heading,
  .briefing-layout,
  .directory-section > .section-heading,
  .directory-grid,
  .local-tools-section > .section-heading,
  .local-tools-grid {
    width: calc(100% - 36px);
  }

  .home-events-inner {
    padding: 58px 18px;
  }

  .section-heading.heading-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section-heading {
    margin-bottom: 26px;
  }

  .heading-row > p {
    margin: 0;
  }

  .signal-grid,
  .directory-grid,
  .local-tools-grid {
    grid-template-columns: 1fr;
  }

  .signal-card,
  .signal-card:nth-child(2n),
  .signal-card:nth-child(3n),
  .signal-card:nth-last-child(-n+2),
  .signal-card:nth-last-child(-n+3) {
    min-height: 122px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal-card:last-child {
    border-bottom: 0;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .search-row button {
    width: 100%;
  }

  .briefing-layout,
  .directory-grid,
  .local-tools-grid {
    gap: 34px;
  }

  .home-events-grid {
    grid-template-columns: 1fr;
  }

  .lead-story {
    min-height: 310px;
    padding: 22px;
  }

  .lead-story h3 {
    font-size: 2.15rem;
  }

  .tool-panel-heading {
    min-height: 112px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 36px 18px;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: calc(100% - 24px);
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-banner-actions button {
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
