/* bbc-local.css — local market pages. Matches the home page's white monotype system. */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: #fff;
  color: #0a0a0a;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  line-height: 1.7;
  overflow-x: hidden;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9990;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.025) 0px, rgba(0,0,0,0.025) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: multiply;
}
a { color: inherit; }
:focus-visible { outline: 2px solid #0a0a0a; outline-offset: 3px; }

/* nav */
.l-nav {
  position: fixed; top: 0; left: 0; right: 0; height: 52px;
  background: #fff; border-bottom: 1px solid #0a0a0a;
  padding: 0 48px; display: flex; align-items: center; justify-content: space-between; z-index: 8000;
}
.l-nav .brand { font-size: 13px; font-weight: 600; text-decoration: none; }
.l-nav .links { display: flex; gap: 32px; align-items: center; }
.l-nav .links a { font-size: 11px; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.45; text-decoration: none; }
.l-nav .links a:hover { opacity: 1; }
.l-nav .links a.cta { opacity: 1; background: #0a0a0a; color: #fff; padding: 8px 14px; font-weight: 600; }
.l-nav .links a.cta:hover { background: #333; }

/* layout */
.wrap { max-width: 960px; margin: 0 auto; }
.l-sec { padding: 96px 48px; border-top: 1px solid rgba(10,10,10,0.08); }
.label { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin-bottom: 24px; }
.callout { font-family: 'Inter', sans-serif; font-size: clamp(28px, 4vw, 54px); font-weight: 500; line-height: 1.06; letter-spacing: -0.01em; max-width: 22ch; margin-bottom: 40px; }
.prose p { font-size: 17px; line-height: 1.9; max-width: 700px; margin-bottom: 22px; }

/* hero */
.l-hero { padding: 152px 48px 96px; }
.crumb { font-size: 11px; opacity: 0.45; margin-bottom: 40px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.l-hero h1 {
  font-family: 'Inter', sans-serif; font-weight: 500;
  font-size: clamp(38px, 6vw, 88px); line-height: 1.0; letter-spacing: -0.02em;
  max-width: 16ch; margin-bottom: 28px;
}
.l-hero .sub { font-size: clamp(15px, 1.5vw, 19px); opacity: 0.65; max-width: 620px; margin-bottom: 40px; }
.ctas { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.btn { display: inline-block; background: #0a0a0a; color: #fff; border: 2px solid #0a0a0a; padding: 16px 28px; font-size: 15px; font-weight: 600; text-decoration: none; transition: background 150ms ease, color 150ms ease; }
.btn:hover { background: #fff; color: #0a0a0a; }
.link { font-size: 15px; text-underline-offset: 5px; }
.link:hover { opacity: 0.6; }

/* challenges */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.trio > div { border-top: 1px solid #0a0a0a; padding-top: 20px; }
.trio h3 { font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.trio p { font-size: 14px; opacity: 0.7; }

/* system rows (a real sequence, so numbered) */
.row { display: grid; grid-template-columns: 40px 160px 1fr; gap: 0 24px; padding: 16px 0; border-bottom: 1px solid rgba(10,10,10,0.08); }
.row:first-of-type { border-top: 1px solid rgba(10,10,10,0.08); }
.row .n { opacity: 0.35; font-size: 13px; }
.row .t { font-weight: 600; font-size: 13px; }
.row .d { opacity: 0.65; font-size: 13px; }
.note { font-size: 12px; opacity: 0.45; margin-top: 20px; font-style: italic; }

/* proof band (inverted) */
.proof { background: #0a0a0a; color: #f2f2f2; border-top: 0; }
.proof .label { color: #fff; }
.proof-grid { display: grid; grid-template-columns: auto 1fr; gap: 24px 56px; align-items: end; }
.proof-num { font-family: 'Inter', sans-serif; font-size: clamp(64px, 10vw, 140px); font-weight: 600; letter-spacing: -0.04em; line-height: 0.9; white-space: nowrap; }
.proof-who { font-size: 12px; opacity: 0.55; margin-bottom: 10px; }
.proof-text { font-size: 17px; line-height: 1.75; max-width: 520px; margin-bottom: 20px; }
.proof a { color: #fff; text-underline-offset: 5px; }
.proof-grid.no-num { grid-template-columns: 1fr; }

/* faq */
.faq details { border-top: 1px solid rgba(10,10,10,0.12); }
.faq details:last-child { border-bottom: 1px solid rgba(10,10,10,0.12); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: clamp(15px, 1.6vw, 18px); font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 18px; font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { font-size: 15px; line-height: 1.8; opacity: 0.75; max-width: 680px; padding-bottom: 24px; }

/* booking */
.booking { border: 1px solid #0a0a0a; min-height: 640px; margin-top: 8px; }
.booking iframe { display: block; min-height: 640px; }
.alt { font-size: 12px; opacity: 0.5; margin-top: 16px; }

/* nearby + hub list */
.nearby { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; }
.nearby a { text-underline-offset: 5px; }
.hub a.m { display: grid; grid-template-columns: 220px 1fr 24px; gap: 0 24px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid rgba(10,10,10,0.12); text-decoration: none; transition: padding 200ms ease, background 200ms ease, color 200ms ease; }
.hub a.m:first-of-type { border-top: 1px solid #0a0a0a; }
.hub a.m:hover { background: #0a0a0a; color: #fff; padding-left: 16px; padding-right: 16px; }
.hub .m-name { font-family: 'Inter', sans-serif; font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; }
.hub .m-line { font-size: 13px; opacity: 0.7; }

footer { padding: 40px 48px; border-top: 1px solid rgba(10,10,10,0.1); font-size: 11px; }
footer .fm { margin-bottom: 14px; line-height: 2; }
footer .fm a { margin-right: 14px; opacity: 0.7; white-space: nowrap; }
footer .fm span { opacity: 0.5; margin-right: 8px; }
footer .copy { opacity: 0.35; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::after { display: none; }
}
@media (max-width: 768px) {
  .l-nav { padding: 0 20px; }
  .l-nav .links a:not(.cta) { display: none; }
  .l-sec { padding: 64px 20px; }
  .l-hero { padding: 112px 20px 64px; }
  .btn { width: 100%; text-align: center; }
  .trio { grid-template-columns: 1fr; gap: 24px; }
  .row { grid-template-columns: 30px 1fr; gap: 0 12px; }
  .row .d { grid-column: 2; }
  .proof-grid { grid-template-columns: 1fr; }
  .booking, .booking iframe { min-height: 760px; }
  .hub a.m { grid-template-columns: 1fr 24px; }
  .hub .m-line { grid-column: 1; }
  footer { padding: 40px 20px; }
}

/* legal pages */
.legal > * { max-width: 720px; }
.legal .eff { font-size: 12px; opacity: 0.5; margin-bottom: 8px; }
.legal h2 { font-family: 'Inter', sans-serif; font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin: 56px 0 16px; }
.legal p, .legal li { font-size: 15px; line-height: 1.85; }
.legal p { margin-bottom: 16px; }
.legal ul { padding-left: 20px; margin-bottom: 16px; }
.legal li { margin-bottom: 8px; }
.legal .key { border: 1px solid #0a0a0a; padding: 24px 28px; margin: 24px 0; }
.legal .key p:last-child { margin-bottom: 0; }
.legal address { font-style: normal; font-size: 15px; line-height: 1.85; }
.legal-switch { font-size: 13px; margin-top: 24px; }

/* team page — photos drop into /assets/img/team/<slug>.jpg; initials show until then */
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #efefef repeating-linear-gradient(0deg, rgba(0,0,0,0.035) 0px, rgba(0,0,0,0.035) 1px, transparent 1px, transparent 4px);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.portrait .initials {
  font-family: 'Inter', sans-serif; font-weight: 600;
  font-size: clamp(56px, 8vw, 120px); letter-spacing: -0.04em;
  color: #0a0a0a; opacity: 0.14; user-select: none;
}
.portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  filter: grayscale(1) contrast(1.05);          /* knob: set to none for full color */
  transition: filter 400ms ease;
}
.member:hover .portrait img { filter: grayscale(0); }
.founder { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: end; }
.founder .m-name { font-size: clamp(36px, 5vw, 64px); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px 48px; }
.m-name { font-family: 'Inter', sans-serif; font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; margin: 22px 0 6px; }
.m-role { font-size: 13px; opacity: 0.55; margin-bottom: 14px; }
.m-bio { font-size: 15px; line-height: 1.8; max-width: 58ch; }
.founder .m-bio { font-size: 17px; }
@media (max-width: 768px) {
  .founder, .team-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* blog */
.post-list a.p { display: grid; grid-template-columns: 140px 1fr 24px; gap: 0 32px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid rgba(10,10,10,0.12); text-decoration: none; transition: padding 200ms ease, background 200ms ease, color 200ms ease; }
.post-list a.p:first-of-type { border-top: 1px solid #0a0a0a; }
.post-list a.p:hover { background: #0a0a0a; color: #fff; padding-left: 16px; padding-right: 16px; }
.post-list .p-date { font-size: 12px; opacity: 0.55; }
.post-list .p-title { font-family: 'Inter', sans-serif; font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; display: block; margin-bottom: 10px; }
.post-list .p-ex { font-size: 14px; opacity: 0.7; line-height: 1.7; display: block; max-width: 62ch; }
.post-meta { font-size: 12px; opacity: 0.55; margin-top: 8px; }
.article { max-width: 700px; }
.article p, .article li { font-size: 17px; line-height: 1.9; }
.article p { margin-bottom: 22px; }
.article .lede { font-size: 20px; line-height: 1.75; opacity: 0.85; margin-bottom: 36px; }
.article h2 { font-family: 'Inter', sans-serif; font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; margin: 56px 0 18px; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 22px; }
.article li { margin-bottom: 10px; }
.article blockquote { border-left: 3px solid #0a0a0a; padding: 4px 0 4px 24px; margin: 32px 0; font-family: 'Inter', sans-serif; font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; line-height: 1.35; }
.article .src { font-size: 13px; opacity: 0.6; }
.post-cta { border: 2px solid #0a0a0a; padding: 32px; margin-top: 64px; }
.post-cta h2 { margin-top: 0; }
.more a { display: block; padding: 18px 0; border-bottom: 1px solid rgba(10,10,10,0.12); text-decoration: none; font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 600; }
.more a:hover { opacity: 0.6; }
@media (max-width: 768px) {
  .post-list a.p { grid-template-columns: 1fr; gap: 8px; }
  .post-list a.p > span[aria-hidden] { display: none; }
  .article p, .article li { font-size: 16px; }
  .post-cta { padding: 24px 20px; }
}
