/* Rochester Airport theme stylesheet.
   Part 1 is the V1 design system from the approved preview (base + page extras), part 2 adapts it to the
   markup that WordPress core blocks produce. Class names are shared with the pattern library. */


/* ---------- Tokens ---------- */
:root {
  --navy: #0d1b2a;
  --navy-soft: #15283c;
  --blue: #286cb0;
  --blue-dark: #1d568f;
  --sky: #7eccf8;
  --sky-pale: #eaf7fe;
  --green: #6ea96b;
  --green-dark: #4f854d;
  --grey: #f5f6f7;
  --warm-grey: #e6e7e9;
  --line: #d8dee5;
  --muted: #59697a;
  --white: #fff;
  --shadow: 0 20px 52px rgba(13, 27, 42, .14);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 4px;
}
img, video { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.wrap > .wrap { width: 100%; }
.wrap.wp-block-group { margin-inline: auto; }



/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  position: relative;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; text-decoration: none; }
.brand img { display: block; width: 238px; height: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, p { overflow-wrap: break-word; }
h1 {
  max-width: 840px;
  margin: 18px 0 22px;
  font-size: clamp(3rem, 6vw, 5.25rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
  text-transform: uppercase;
}
h1 span { color: var(--sky); }
h2 {
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 4vw, 3.45rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-transform: uppercase;
}
h3 { margin: 0 0 9px; font-size: 1.12rem; line-height: 1.3; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--sky);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow span { color: rgba(255, 255, 255, .6); }
.hero .eyebrow::before { content: ""; width: 44px; height: 3px; background: var(--sky); }
.section-kicker { margin: 0 0 11px; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lead { margin: 0; color: var(--muted); font-size: 1.05rem; }
.lead + p, .lead + .actions { margin-top: 18px; }
.prose p { margin: 0 0 16px; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }

main section { padding: 92px 0; }
.band-grey { background: var(--grey); border-block: 1px solid var(--warm-grey); }
.section-head, .section-intro { display: flex; align-items: end; justify-content: space-between; gap: 42px; margin-bottom: 38px; }
.section-head h2, .section-intro h2 { margin-bottom: 0; }
.section-head > p, .section-intro > p { max-width: 500px; margin: 0; color: var(--muted); }
.section-head + .details-grid { margin-top: 0; }

/* ---------- Buttons ---------- */
.button {
  position: relative;
  z-index: 1;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 22px;
  color: var(--white);
  background: var(--blue);
  border: 1px solid transparent;
  border-radius: 5px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--blue-dark); }
.button.primary { color: var(--white); background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { color: var(--navy); background: var(--white); border-color: var(--line); }
.button.secondary:hover { color: var(--blue); background: var(--white); }
.hero .button.secondary, .band-navy .button.secondary, .closing .button.secondary, .handoff .button.secondary {
  color: var(--white);
  background: rgba(13, 27, 42, .28);
  border-color: rgba(255, 255, 255, .65);
  backdrop-filter: blur(8px);
}
.hero .button.secondary:hover, .band-navy .button.secondary:hover, .closing .button.secondary:hover, .handoff .button.secondary:hover { color: var(--navy); background: var(--white); }
.button[aria-disabled="true"], a[aria-disabled="true"] { cursor: not-allowed; opacity: .6; }
.button[aria-disabled="true"]:hover { transform: none; background: var(--blue); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.actions + p { margin-top: 20px; }
.text-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Home hero (video-ready) ---------- */
.hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  color: var(--white);
  background: var(--navy);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img, .hero-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.01);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 27, 42, .84) 0%, rgba(13, 27, 42, .58) 42%, rgba(13, 27, 42, .1) 78%),
    linear-gradient(0deg, rgba(13, 27, 42, .5) 0%, transparent 54%);
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 920px;
  height: 340px;
  right: -410px;
  bottom: -216px;
  border: 22px solid rgba(126, 204, 248, .55);
  border-radius: 50%;
  transform: rotate(-9deg);
}
.hero-content { position: relative; max-width: 790px; padding: 40px 0 112px; }
.hero h1 { max-width: 810px; margin: 16px 0 16px; font-size: clamp(2.7rem, 4.9vw, 4.2rem); line-height: .98; }
.hero p { max-width: 620px; margin: 0 0 24px; color: rgba(255, 255, 255, .92); font-size: 1.08rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  min-height: 340px;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  color: var(--white);
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-soft) 62%, #1d4b72 100%);
}
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 700px;
  height: 250px;
  right: -170px;
  bottom: -145px;
  border: 18px solid rgba(126, 204, 248, .42);
  border-radius: 50%;
  transform: rotate(-9deg);
}
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 470px;
  height: 1px;
  right: 8%;
  top: 31%;
  background: rgba(255, 255, 255, .2);
  transform: rotate(-15deg);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 60px; padding: 44px 0; }
.breadcrumbs { margin-bottom: 18px; color: #b9ccdd; font-size: .78rem; font-weight: 600; letter-spacing: .03em; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--sky); }
.page-hero p { max-width: 710px; margin: 0; color: #d4e0ea; font-size: 1.08rem; }
.page-hero .eyebrow { margin: 0; }
.hero-index {
  justify-self: end;
  color: rgba(255, 255, 255, .09);
  font-size: 10rem;
  font-weight: 800;
  letter-spacing: -.09em;
  line-height: 1;
}

.quick-note { position: relative; z-index: 2; margin-top: -34px; }
.quick-note-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 26px;
  color: var(--white);
  background: var(--blue);
  border-left: 5px solid var(--sky);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.quick-note strong { display: block; }
.quick-note span { color: #d7e9f8; font-size: .86rem; }
.quick-note a { flex: 0 0 auto; font-weight: 700; text-decoration: none; }
.quick-note a:hover { color: var(--sky); }

/* ---------- Status panel ---------- */
.status-panel { position: relative; z-index: 2; padding: 0; }
.hero + .status-panel { margin-top: -88px; }
.quick-note + .status-panel { margin-top: 56px; }
.status-panel > .wrap { background: var(--white); border-radius: 8px; box-shadow: var(--shadow); overflow: hidden; }
.status-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  color: var(--white);
  background: var(--navy);
  border-bottom: 3px solid var(--sky);
}
.status-title { display: flex; align-items: center; gap: 11px; margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: 0; line-height: 1.4; text-transform: none; }
.status-dot, .live-dot { width: 9px; height: 9px; flex: 0 0 auto; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(110, 169, 107, .18); }
.status-meta, .status-note { margin: 0; color: #c8d7e5; font-size: .78rem; }
.status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 0; padding: 0; background: var(--line); list-style: none; }
.status-item { display: flex; flex-direction: column; min-width: 0; padding: 22px 22px 24px; background: var(--white); }
.status-item .value a { text-decoration: none; }
.status-item .value a:hover { color: var(--blue); }
.status-item .label { margin-bottom: 5px; color: #6d7c8d; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.status-item .value { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.status-item .note { margin-top: 6px; color: var(--muted); font-size: .8rem; }
.status-item .note a { color: var(--blue); font-weight: 600; text-decoration: none; }
.status-item .note a:hover { text-decoration: underline; }
.status-item.is-hours .value { font-size: 1.6rem; line-height: 1.15; }
.status-item .hours { margin-top: 6px; color: var(--navy); font-size: .95rem; font-weight: 600; }
.value.is-open, .open { color: var(--green-dark); }
.value.is-closed { color: #b23b2e; }
.status-foot { margin: 0; padding: 12px 24px; background: var(--grey); border-top: 1px solid var(--line); color: var(--muted); font-size: .8rem; font-weight: 600; }

/* ---------- Journeys ---------- */
.journey-grid, .journeys-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.journey-card, .journey {
  position: relative;
  display: block;
  min-height: 238px;
  padding: 27px 24px 25px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 5px solid var(--blue);
  border-radius: 6px;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.journey-card:hover, .journey:hover { transform: translateY(-5px); border-color: #aebac6; border-top-color: var(--blue); box-shadow: 0 16px 36px rgba(13, 27, 42, .11); }
.number { display: block; color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.journey-card h3, .journey h3 { margin: 31px 0 9px; font-size: 1.26rem; letter-spacing: -.02em; }
.journey-card p, .journey p { margin: 0; color: var(--muted); font-size: .91rem; }
.arrow { display: block; margin-top: 18px; color: var(--blue); font-weight: 700; }
.journey-card.is-blue, .journey-card.is-blue:hover { border-top-color: var(--blue); }
.journey-card.is-green, .journey-card.is-green:hover { border-top-color: var(--green); }
.journey-card.is-green .number { color: var(--green-dark); }
.journey-card.is-sky, .journey-card.is-sky:hover { border-top-color: var(--sky); }
.journey-card.is-navy, .journey-card.is-navy:hover { border-top-color: var(--navy); }
.journey-card.is-navy .number { color: var(--navy); }
.journey:nth-child(2), .journey:nth-child(3) { border-top-color: var(--green); }
.journey:nth-child(2) .number, .journey:nth-child(3) .number { color: var(--green-dark); }

/* ---------- Intro grid and aside ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 66px; align-items: start; }
.aside-card { padding: 28px; background: var(--grey); border-top: 5px solid var(--green); border-radius: 6px; }
.band-grey .aside-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--green); }
.aside-card h3 { margin: 0 0 9px; font-size: 1.12rem; }
.aside-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.aside-card p + p { margin-top: 13px; }
.aside-card .text-link { display: inline-block; margin-top: 14px; font-size: .9rem; }

/* ---------- Process steps ---------- */
.process-section { background: var(--grey); border-block: 1px solid var(--warm-grey); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { min-height: 245px; padding: 26px 23px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.step-number { display: block; color: var(--blue); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.step h3 { margin: 42px 0 9px; font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); font-size: .88rem; }
.step a:not(.wp-block-button__link):not(.button) { color: var(--blue); font-weight: 700; text-decoration: none; }
.step a:not(.wp-block-button__link):not(.button):hover { text-decoration: underline; }

/* ---------- Detail cards ---------- */
.details-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 37px; }
.detail-card { display: block; padding: 27px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.detail-card:hover { transform: translateY(-4px); border-color: #aebac6; box-shadow: 0 16px 36px rgba(13, 27, 42, .11); }
.detail-card h3 { margin: 0 0 9px; font-size: 1.05rem; }
.detail-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.detail-card .arrow { margin-top: 14px; font-size: .9rem; }
.detail-mark { display: block; width: 34px; height: 4px; margin-bottom: 25px; background: var(--sky); }
.detail-card:nth-child(2) .detail-mark { background: var(--blue); }
.detail-card:nth-child(3) .detail-mark { background: var(--green); }
.detail-mark.is-sky { background: var(--sky); }
.detail-mark.is-blue { background: var(--blue); }
.detail-mark.is-green { background: var(--green); }
.detail-mark.is-navy { background: var(--navy); }

/* ---------- Notices ---------- */
.notice, .safety-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-top: 38px;
  padding: 22px 25px;
  background: var(--sky-pale);
  border-left: 5px solid var(--blue);
  border-radius: 5px;
}
.safety-note { grid-template-columns: 48px 1fr; gap: 20px; align-items: start; padding: 25px; }
.safety-note .mark { width: 42px; height: 42px; display: grid; place-items: center; color: var(--white); background: var(--blue); border-radius: 50%; font-weight: 800; }
.notice strong, .safety-note strong { display: block; margin-bottom: 3px; }
.notice p, .safety-note p { margin: 0; color: var(--muted); font-size: .9rem; }
.notice p + p { margin-top: 8px; }
.notice a:not(.wp-block-button__link):not(.button) { color: var(--blue); font-weight: 700; text-decoration: none; }
.notice a:not(.wp-block-button__link):not(.button):hover { text-decoration: underline; }
.notice.is-green { background: #eef5ee; border-left-color: var(--green); }

/* ---------- Tiles (fees) ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; }
.tiles > .tile { min-width: 0; }
.tile { display: flex; flex-direction: column; padding: 24px 22px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 6px; }
.tile-label { color: #6d7c8d; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tile-value { display: block; margin: 8px 0 4px; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; overflow-wrap: anywhere; }
.tile-note { color: var(--muted); font-size: .84rem; }
.tiles + .notice { margin-top: 24px; }

/* ---------- Data table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 6px; font-size: .95rem; }
.data-table caption { padding: 0 0 12px; color: var(--muted); font-size: .84rem; font-weight: 600; text-align: left; caption-side: top; }
.data-table th, .data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table thead th { color: var(--white); background: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.data-table tbody th { width: 34%; color: var(--navy); font-weight: 700; }
.data-table tbody td { color: var(--muted); }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.table-scroll + p, .table-scroll + .notice { margin-top: 24px; }

/* ---------- Link list ---------- */
.link-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; font-weight: 600; text-decoration: none; }
.link-list a:hover { color: var(--blue); }
.link-list small { color: var(--muted); font-weight: 400; }

/* ---------- Hand-off panel ---------- */
.handoff-section { padding: 0 0 92px; }
.handoff {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 50px;
  align-items: center;
  padding: 46px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.handoff::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 115px;
  right: -140px;
  bottom: -92px;
  border: 12px solid rgba(126, 204, 248, .35);
  border-radius: 50%;
  pointer-events: none;
}
.handoff > * { grid-column: 1; }
.handoff > .button, .handoff > .handoff-actions { grid-column: 2; grid-row: 1 / span 6; align-self: center; }
.handoff .section-kicker, .handoff .eyebrow { color: var(--sky); margin-bottom: 12px; }
.handoff h2 { margin-bottom: 12px; font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.handoff h3 { margin: 0 0 10px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-transform: uppercase; }
.handoff p:not(.section-kicker):not(.eyebrow) { max-width: 690px; margin: 0; color: #c8d5e1; }
.handoff p + p { margin-top: 10px; }
.handoff-actions { display: grid; gap: 10px; min-width: 245px; }
.handoff-small { color: #9fb2c4; font-size: .72rem; text-align: center; }
* + .handoff { margin-top: 40px; }

/* ---------- Forms ---------- */
.form { max-width: 860px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form .field.is-full { grid-column: 1 / -1; }
.form label { font-size: .86rem; font-weight: 700; }
.form label small { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  font: inherit;
  font-size: .95rem;
}
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(126, 204, 248, .6); outline-offset: 0; }
.form input[type="checkbox"], .form input[type="radio"] { width: auto; min-height: 0; }
.form .field.is-check { flex-direction: row; align-items: center; gap: 10px; }
.form-note { margin: 18px 0 0; color: var(--muted); font-size: .86rem; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Filter bar and directory ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip {
  min-height: 40px;
  padding: 6px 16px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: .86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip[aria-pressed="true"] { color: var(--white); background: var(--navy); border-color: var(--navy); }
.directory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.directory-card { display: flex; flex-direction: column; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.directory-card[hidden] { display: none; }
.directory-card .eyebrow { margin: 18px 0 6px; color: var(--blue); }
.directory-card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.directory-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.directory-card > a { display: inline-block; margin-top: auto; padding-top: 18px; color: var(--blue); font-weight: 700; text-decoration: none; }
.directory-card > a:hover { text-decoration: underline; }
.tile-logo {
  display: grid;
  place-items: center;
  height: 96px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.tile-logo img { display: block; max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.tile-logo.is-initials { color: var(--navy); background: var(--sky); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }

/* ---------- News carousel ---------- */
.carousel-nav { display: flex; gap: 8px; flex: 0 0 auto; }
.carousel-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.carousel-btn:hover { color: var(--white); background: var(--blue); border-color: var(--blue); }
.carousel-btn:disabled { opacity: .4; cursor: default; }
.carousel-btn:disabled:hover { color: var(--navy); background: var(--white); border-color: var(--line); }
.carousel-track {
  --carousel-gap: 18px;
  display: flex;
  gap: var(--carousel-gap);
  margin: 0;
  padding: 4px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 calc((100% - 2 * var(--carousel-gap)) / 3); min-width: 0; scroll-snap-align: start; }
.news-card { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.news-stat { display: flex; flex-direction: column; padding: 24px; color: var(--white); background: var(--navy); border-bottom: 3px solid var(--sky); }
.news-stat span { color: var(--sky); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.news-stat strong { display: block; margin: 8px 0 2px; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.news-stat small { color: #c8d7e5; font-size: .8rem; }
.news-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 22px 24px 24px; }
.news-body .meta { margin: 0 0 8px; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.news-body h3 { margin: 0 0 8px; font-size: 1.12rem; }
.news-body p:not(.meta) { margin: 0; color: var(--muted); font-size: .9rem; }
.news-body a { display: inline-block; margin-top: auto; padding-top: 16px; color: var(--blue); font-weight: 700; text-decoration: none; }
.news-body a:hover { text-decoration: underline; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  background: var(--line);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.carousel-dots button[aria-current="true"] { background: var(--blue); transform: scale(1.25); }

/* ---------- Home page sections from Ashley ---------- */
.pilot-section { background: var(--grey); border-block: 1px solid var(--warm-grey); }
.pilot-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.pilot-copy > p:not(.section-kicker) { max-width: 570px; color: var(--muted); font-size: 1.05rem; }
.checklist { display: grid; gap: 13px; margin: 30px 0 34px; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.check { width: 25px; height: 25px; display: inline-grid; place-items: center; flex: 0 0 auto; color: var(--green-dark); background: #e2f0e1; border-radius: 50%; font-size: .78rem; }
.ppr-panel { position: relative; overflow: hidden; padding: 38px; color: var(--white); background: var(--navy); border-radius: 8px; box-shadow: var(--shadow); }
.ppr-panel::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--sky), var(--blue), var(--green)); }
.ppr-panel h3 { margin: 0 0 6px; font-size: 1.55rem; }
.ppr-panel > p { margin: 0 0 26px; color: #c5d3e0; }
.ppr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.ppr-panel .field { padding: 13px 14px; background: rgba(255, 255, 255, .075); border: 1px solid rgba(255, 255, 255, .16); border-radius: 5px; }
.ppr-panel .field span { display: block; color: #aebed0; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ppr-panel .field strong { display: block; margin-top: 3px; }
.ppr-panel .full { grid-column: 1 / -1; }
.ppr-button { width: 100%; margin-top: 14px; border: 0; cursor: pointer; font: inherit; }
.ppr-panel .ppr-small { display: block; margin: 12px 0 0; color: #9fb2c4; font-size: .78rem; text-align: center; }

.permissions { background: var(--white); }
.permission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.permission-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.permission-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--blue); }
.permission-card:nth-child(2)::before { background: var(--sky); }
.permission-card:nth-child(3)::before { background: var(--green); }
.permission-card:hover { transform: translateY(-5px); border-color: #aebac6; box-shadow: 0 16px 36px rgba(13, 27, 42, .11); }
.permission-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  color: var(--blue);
  background: var(--sky-pale);
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 800;
}
.permission-card:nth-child(3) .permission-icon { color: var(--green-dark); background: #eaf3e9; }
.permission-card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.permission-card p { margin: 0 0 24px; color: var(--muted); font-size: .94rem; }
.permission-card .arrow { margin-top: auto; }

.destination { display: grid; grid-template-columns: 1fr 1fr; padding: 0; color: var(--white); background: var(--navy); }
.destination-image { position: relative; min-height: 590px; overflow: hidden; background: var(--navy-soft); }
.destination-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.destination-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(13, 27, 42, .04), rgba(13, 27, 42, .28)); }
.destination-copy { display: flex; align-items: center; padding: 76px max(40px, calc((100vw - 1160px) / 2)) 76px 66px; }
.destination-copy > div { max-width: 520px; }
.destination-copy .section-kicker { color: var(--green); }
.destination-copy p:not(.section-kicker) { color: #c9d5e1; font-size: 1.03rem; }
.destination-links { display: grid; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .18); }
.destination-links a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); font-weight: 600; text-decoration: none; }
.destination-links a:hover { color: var(--sky); }

.businesses { background: linear-gradient(135deg, var(--sky-pale) 0%, #f7fbfd 60%, #eef5ee 100%); }
.business-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.business { padding: 28px; background: var(--white); border-top: 5px solid var(--blue); border-radius: 6px; box-shadow: 0 10px 28px rgba(13, 27, 42, .06); text-decoration: none; }
.business:nth-child(2) { border-top-color: var(--sky); }
.business:nth-child(3) { border-top-color: var(--green); }
.business h3 { margin: 0 0 8px; }
.business p { margin: 0; color: var(--muted); }
.business .arrow { margin-top: 14px; font-size: .9rem; }

.band-navy, .closing { position: relative; overflow: hidden; padding: 94px 20px; color: var(--white); background: var(--navy); text-align: center; }
.band-navy::after, .closing::after { content: ""; position: absolute; width: 720px; height: 230px; left: 50%; bottom: -205px; transform: translateX(-50%); border: 18px solid rgba(126, 204, 248, .5); border-radius: 50%; pointer-events: none; }
.band-navy .section-kicker, .closing .section-kicker { color: var(--sky); }
.band-navy p:not(.section-kicker), .closing p:not(.section-kicker) { max-width: 650px; margin: 19px auto 30px; color: #c8d5e1; }
.band-navy .actions, .closing .actions { position: relative; z-index: 1; justify-content: center; }

.handoff-section + .related { padding-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.related-card { display: block; padding: 26px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 6px; text-decoration: none; }
.related-card:hover { border-color: #aebac6; box-shadow: 0 12px 28px rgba(13, 27, 42, .08); }
.related-card span { color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.related-card h3 { margin: 14px 0 5px; }
.related-card p { margin: 0; color: var(--muted); font-size: .88rem; }

/* ---------- Footer ---------- */
footer { padding: 44px 0 28px; color: #c5d0dd; background: #091522; font-size: .9rem; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 34px; }
.footer-brand { display: block; max-width: 560px; }
.footer-brand img { display: block; width: 190px; height: auto; margin-bottom: 14px; }
.footer-brand p { margin: 0 0 4px; }
.footer-brand a { text-decoration: none; }
.footer-brand a:hover { color: var(--white); text-decoration: underline; }
.footer-tagline { margin: 0 0 12px !important; color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footer-tagline span { margin: 0 6px; color: var(--sky); }
.footer-rffs { display: flex; flex: 0 0 auto; flex-direction: column; align-items: center; gap: 8px; max-width: 150px; text-align: center; }
.footer-rffs img { display: block; width: 72px; height: 72px; }
.footer-rffs span { font-size: .72rem; line-height: 1.4; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .84rem; font-weight: 600; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-links a[aria-disabled="true"] { opacity: .55; cursor: default; }
.footer-legal { margin-top: 18px; font-size: .78rem; color: #8fa0b3; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 34px; }
.footer-title { color: var(--white); font-weight: 700; }
.footer-small { font-size: .78rem; text-align: right; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .status-grid { grid-template-columns: repeat(4, 1fr); }
  .journey-grid, .journeys-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel-slide { flex-basis: calc((100% - var(--carousel-gap)) / 2); }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 959px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-index { display: none; }
  .intro-grid { grid-template-columns: 1fr; gap: 34px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .details-grid { grid-template-columns: 1fr; }
  .handoff { grid-template-columns: 1fr; row-gap: 22px; }
  .handoff > .button, .handoff > .handoff-actions { grid-column: 1; grid-row: auto; justify-self: start; }
  .handoff-actions { width: min(100%, 360px); }
  .pilot-layout { grid-template-columns: 1fr; gap: 44px; }
  .destination { grid-template-columns: 1fr; }
  .destination-image { min-height: 430px; }
  .destination-copy { padding: 62px 40px; }
  .permission-grid { grid-template-columns: 1fr; }
  .permission-card { min-height: 0; }
  .business-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .status-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .directory-grid { grid-template-columns: 1fr; }
  .carousel-slide { flex-basis: 100%; }
}

@media (max-width: 620px) {
  .wrap { width: min(100% - 40px, 1160px); }
  .nav { min-height: 70px; gap: 10px; }
  .brand img { width: 150px; }
  .page-hero { min-height: 300px; }
  .hero-grid { padding: 36px 0 52px; }
  h1 { font-size: clamp(2.55rem, 12vw, 4.2rem); }
  .hero { min-height: 500px; }
  .hero-content { padding: 36px 0 112px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.8rem); }
  .hero-media img, .hero-media video { object-position: 61% center; }
  .hero::after { right: -660px; }
  .hero p { font-size: 1.02rem; }
  .page-hero p { font-size: 1rem; }
  .quick-note { margin-top: -28px; }
  .quick-note-inner { align-items: flex-start; flex-direction: column; gap: 13px; padding: 20px; }
  .hero + .status-panel { margin-top: -96px; }
  .quick-note + .status-panel { margin-top: 40px; }
  .status-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .status-grid { grid-template-columns: repeat(2, 1fr); }
  .status-item { padding: 16px 16px; }
  .status-item.is-hours .value { font-size: 1.35rem; }
  .status-foot { padding: 12px 18px; }
  main section { padding: 64px 0; }
  .handoff-section { padding: 0 0 64px; }
  .section-head, .section-intro { align-items: flex-start; flex-direction: column; gap: 15px; margin-bottom: 30px; }
  .journey-grid, .journeys-grid { grid-template-columns: 1fr; }
  .journey-card, .journey { min-height: 0; }
  .process-grid { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { margin-top: 27px; }
  .safety-note { grid-template-columns: 1fr; }
  .handoff { padding: 32px 22px; }
  .handoff-actions { min-width: 0; width: 100%; }
  .handoff > .button { justify-self: stretch; }
  .button { width: 100%; }
  .actions .button { width: 100%; }
  .tiles { grid-template-columns: 1fr; }
  .tile-value { font-size: 1.6rem; }
  .ppr-panel { padding: 28px 20px; }
  .ppr-row { grid-template-columns: 1fr; }
  .ppr-panel .full { grid-column: auto; }
  .destination-image { min-height: 320px; }
  .destination-copy { padding: 52px 20px; }
  .band-navy, .closing { padding: 64px 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { flex-direction: column; }
  .footer-rffs { flex-direction: row; max-width: none; text-align: left; }
  .footer-inner, .footer-brand { align-items: flex-start; flex-direction: column; }
  .footer-small { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .carousel-track { scroll-behavior: auto; }
  .button, .journey-card, .journey, .detail-card, .permission-card, .chip, .carousel-btn, .carousel-dots button { transition: none; }
  .button:hover, .journey-card:hover, .journey:hover, a.detail-card:hover, .permission-card:hover { transform: none; }
}

/* ---------- Form: fieldset / checkbox group (PPR request) ---------- */
.form .fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.form .fieldset legend { display: block; margin-bottom: 8px; padding: 0; color: var(--navy); font-size: .85rem; font-weight: 700; }
.form .check-label { display: inline-flex; align-items: center; gap: 8px; margin: 4px 22px 4px 0; font-size: .95rem; }
.form .check-label input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }

/* ---------- Photography: figures, pairs, strips, gallery ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: 8px; background: var(--navy-soft); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 12px; color: var(--white); font-size: .78rem; font-weight: 600; letter-spacing: .02em; background: linear-gradient(rgba(13, 27, 42, 0), rgba(13, 27, 42, .6) 45%, rgba(13, 27, 42, .92)); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.photo-pair .photo { aspect-ratio: 3 / 2; }
.photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 0 40px; }
.photo-strip .photo { aspect-ratio: 4 / 3; }
.intro-photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.gallery { padding-block: 92px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 14px; }
.photo-grid .photo.is-wide { grid-column: span 2; grid-row: span 2; }
@media (max-width: 940px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .photo-pair, .photo-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .photo-pair, .photo-strip { grid-template-columns: 1fr; margin-top: 28px; }
  .gallery { padding-block: 64px; }
}

/* ---------- Live weather + shared status chip ---------- */
.status-item.is-weather .value { font-size: 1.3rem; }
.status-item.is-weather .hours { font-weight: 500; color: var(--navy); }
.status-chip { display: inline-block; padding: 2px 9px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: var(--white); font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; }
.status-chip.is-open { background: var(--green); }
.status-chip.is-closed { background: #b23b2e; }

/* ---------- Photo links (a picture that is a page link) and placeholders ---------- */
.photo-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.photo-link { display: flex; flex-direction: column; overflow: hidden; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: 6px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.photo-link:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.photo-link .photo { aspect-ratio: 3 / 2; border-radius: 0; }
.photo-link-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.photo-link-body .eyebrow { margin: 0 0 8px; color: var(--blue); }
.photo-link-body .eyebrow::before { display: none; }
.photo-link-body h3 { margin: 0 0 8px; font-size: 1.1rem; }
.photo-link-body p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.photo-link-body .arrow { margin-top: auto; color: var(--blue); font-weight: 700; }
.photo.is-placeholder { display: flex; align-items: center; justify-content: center; background: repeating-linear-gradient(135deg, var(--grey) 0 14px, #e9ecef 14px 28px); color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 940px) {
  .photo-links { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; gap: 32px; }
  .person-photo.is-large { max-width: 320px; }
}
@media (max-width: 620px) {
  .people-grid { grid-template-columns: 1fr; }
  .person-card { grid-template-columns: 110px 1fr; }
  .person-photo { min-height: 140px; }
  .person-photo span { font-size: 1.8rem; }
}

/* ---------- On-this-page pane ---------- */
.page-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.page-nav a { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font-size: .86rem; font-weight: 600; text-decoration: none; }
.page-nav a:hover { border-color: var(--blue); color: var(--blue); }
.page-nav + section { padding-top: 56px; }
.page-nav + .status-panel { margin-top: 40px; }
section[id] { scroll-margin-top: 100px; }

/* ---------- Two-column prose block ---------- */
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.two-col h3 { margin: 0 0 10px; font-size: 1.1rem; }
.two-col p { color: var(--muted); }
.two-col p a { color: var(--blue); font-weight: 600; text-decoration: none; }
.link-list a[aria-disabled="true"] { color: var(--muted); }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Site alert banner ---------- */
.site-alert { color: var(--white); background: var(--blue); }
.site-alert.is-red { background: #b23b2e; }
.site-alert.is-amber { background: #b7791f; }
.site-alert-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 11px 0; font-size: .92rem; }
.site-alert strong { font-weight: 700; }
.site-alert a { color: var(--white); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.site-alert[hidden] { display: none; }

/* ---------- Footer social ---------- */
.footer-social { display: flex; gap: 10px; align-self: end; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--white); background: rgba(255, 255, 255, .1); border-radius: 50%; }
.footer-social a:hover { background: var(--blue); }
.footer-social a[aria-disabled="true"] { opacity: .55; }

/* ---------- Vacancies ---------- */
.vacancy-list { display: grid; gap: 16px; }
.vacancy { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 30px; align-items: start; padding: 28px 30px; background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--blue); border-radius: 6px; }
.vacancy.is-example { border-left-color: var(--sky); }
.vacancy-body h3 { margin: 4px 0 8px; font-size: 1.25rem; }
.vacancy-body > p { margin: 0 0 14px; color: var(--muted); }
.vacancy-body .eyebrow { margin: 0; color: var(--blue); }
.vacancy-body .eyebrow::before { display: none; }
.vacancy-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-size: .88rem; color: var(--muted); }
.vacancy-meta strong { color: var(--navy); }
.vacancy-actions { display: flex; flex-direction: column; gap: 10px; }
.vacancy-actions small { color: var(--muted); font-size: .78rem; }
.doc-list a small { display: block; }
@media (max-width: 760px) { .vacancy { grid-template-columns: 1fr; } }

/* Page-specific styles for Builder B pages (permissions, drone, crane, learn-to-fly, visit). */
/* Everything here is scoped to markup that only these pages use; shared components live in base.css. */

/* ---- Learn to fly: four aircraft-type cards ---- */
.learn-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.learn-types .detail-card { display: flex; flex-direction: column; background: var(--white); }
.learn-types .detail-card:nth-child(2) .detail-mark { background: var(--sky); }
.learn-types .detail-card:nth-child(3) .detail-mark { background: var(--green); }
.learn-types .detail-card:nth-child(4) .detail-mark { background: var(--navy); }
.operators { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.learn-types .detail-card > p { margin-bottom: 18px; }
.operators-label { margin: 0 0 6px; color: var(--blue); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.operators ul { margin: 0; padding: 0; list-style: none; font-size: .95rem; font-weight: 700; line-height: 1.4; }
.operators li + li { margin-top: 4px; }
.operators .contact-line { margin: 8px 0 0; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }

@media (max-width: 940px) {
  .learn-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .learn-types { grid-template-columns: 1fr; }
}

/* ---- Visit: place cards with images ---- */
.place-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.place-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.place-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.place-card.is-text { background: var(--grey); border-top: 5px solid var(--green); }
.place-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.place-body .eyebrow { margin: 0 0 8px; color: var(--blue); }
.place-body .eyebrow::before { display: none; }
.place-body h3 { margin: 0 0 8px; font-size: 1.1rem; }
.place-body p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.place-body a:not(.button) { margin-top: auto; color: var(--blue); font-weight: 700; text-decoration: none; }
.place-body a:not(.button):hover { text-decoration: underline; }

/* ---- Visit: events band with photo ---- */
.events-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.events-grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }

@media (max-width: 940px) {
  .place-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ---- Permissions hub: two routes fill the row ---- */
@media (max-width: 940px) {
}

/* ---- Visit: the getting-here table is prose, so it wraps rather than scrolls ---- */
[data-block="getting-here"] .data-table { min-width: 0; }
@media (max-width: 620px) {
  [data-block="getting-here"] .data-table tbody th { width: 30%; padding-right: 8px; }
  [data-block="getting-here"] .data-table th, [data-block="getting-here"] .data-table td { padding-inline: 14px; }
}

/* ---- Learn to fly: breathing room between the lead and the enquiry form ---- */
[data-block="enquiry"] .form { margin-top: 28px; }

/* ---- Learn to fly: contact line inside the who-teaches-what cards ---- */
.directory-card .contact-line { margin-top: 12px; font-size: .82rem; }
.directory-card .contact-line a { color: var(--blue); text-decoration: none; font-weight: 600; }

/* Page-specific styles for Builder C pages (community, tenants, about, news, careers, noise, contact).
   Scoped to these pages' blocks; shared components live in base.css (Builder A). */

/* News page: dated entries */
.news-list { border-top: 1px solid var(--line); }
.news-entry { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.news-entry .meta { margin: 0; color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.news-entry h3 { margin: 0 0 12px; font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.25; }
.news-entry p { margin: 0 0 12px; color: var(--muted); }
.news-entry a { color: var(--blue); font-weight: 700; text-decoration: none; }
.news-entry a:hover { text-decoration: underline; }

/* Careers partners: two cards, not three */
[data-block="partners"] .details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Actions that follow a card or step grid */
[data-block="based-here"] .actions,
[data-block="fun-day"] .actions,
[data-block="history"] .actions { margin-top: 34px; }

/* Tenants: space before the "not listed" notice */
[data-block="directory"] .notice { margin-top: 34px; }

/* Contact: long email and map link must wrap inside a tile at phone width */
[data-block="contact-details"] .tile-value { overflow-wrap: anywhere; }

@media (max-width: 720px) {
  .news-entry { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  [data-block="partners"] .details-grid { grid-template-columns: 1fr; }
}

/* Contact: the email address must not break mid-word at desktop */
[data-block="contact-details"] .tile-value { font-size: 1.05rem; letter-spacing: 0; overflow-wrap: anywhere; }

/* =====================================================================================
   WordPress adaptation layer.
   Everything above is the V1 design stylesheet, unchanged. This layer maps the markup
   that core blocks produce onto those class names, so the editor and the site match.
   ===================================================================================== */

/* ---------- Document frame ---------- */
.wp-site-blocks { min-height: 100vh; display: flex; flex-direction: column; }
.wp-site-blocks > main { flex: 1 0 auto; }
.skip-link.screen-reader-text:focus {
  position: absolute; left: 20px; top: 12px; z-index: 100; width: auto; height: auto;
  padding: 12px 18px; color: var(--white); background: var(--navy); border-radius: 6px;
  font-weight: 700; text-decoration: none; clip: auto; clip-path: none;
}
main section, section.wp-block-group { padding: 92px 0; }
main section.hero, section.wp-block-group.hero { padding: 0; } /* the hero sizes itself; the section rule above must not add 184px to it */
/* Same fix for the inner-page banner: the generic section padding above would otherwise add 92px top and bottom. */
main section.page-hero, section.wp-block-group.page-hero { padding: 0; }
main .wp-block-group.page-nav + section, main .page-nav + section { padding-top: 56px; }
main .wp-block-group.quick-note + section { padding-top: 92px; }
.entry-content > * { margin-block: 0; }
.entry-content > .wrap { margin-inline: auto; }
.wp-block-group.is-style-band-grey { background: var(--grey); border-block: 1px solid var(--warm-grey); }

/* Rich text inline marks: RichText keeps em and strong, so those carry the accents. */
h1 em, h2 em, .hero h1 em { font-style: normal; color: var(--sky); }
.eyebrow em, .footer-tagline em { font-style: normal; color: rgba(255, 255, 255, .6); }
.footer-tagline em { color: var(--sky); margin: 0 6px; }
.section-kicker em { font-style: normal; color: var(--green); }

/* Paragraphs keep the browser default spacing (the layout engine is off), except where a component says otherwise. */
.wp-block-group > p:first-child { margin-top: 0; }
.wp-block-group > p:last-child { margin-bottom: 0; }

/* ---------- Header (core Navigation block) ---------- */
header.wp-block-template-part {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px);
}
.brand.wp-block-image, .brand.wp-block-site-logo { margin: 0; flex: 0 0 auto; }
.brand img { display: block; width: 238px; height: auto; }
.nav-cta-wrap { margin: 0; flex: 0 0 auto; }
.nav-cta-wrap .wp-block-button__link { min-height: 0; padding: 11px 16px; font-size: .86rem; box-shadow: 0 8px 20px rgba(40, 108, 176, .2); white-space: nowrap; }
.nav-cta-wrap .wp-block-button__link:hover { transform: none; background: var(--blue-dark); }

.wp-block-navigation.nav-main { flex: 1 1 auto; justify-content: flex-end; font-size: .86rem; font-weight: 600; }
.wp-block-navigation.nav-main .wp-block-navigation__container { gap: 22px; align-items: center; }
.wp-block-navigation.nav-main .wp-block-navigation-item__content { padding-block: 9px; text-decoration: none; color: var(--navy); }
.wp-block-navigation.nav-main .wp-block-navigation-item:hover > .wp-block-navigation-item__content,
.wp-block-navigation.nav-main .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation.nav-main .current-menu-ancestor > .wp-block-navigation-item__content { color: var(--blue); }
.wp-block-navigation.nav-main .wp-block-navigation__submenu-icon { width: 7px; height: 7px; margin-left: 6px; opacity: .55; }
.wp-block-navigation.nav-main .wp-block-navigation__submenu-icon svg { display: none; }
.wp-block-navigation.nav-main .wp-block-navigation__submenu-icon::after {
  content: ""; display: block; width: 7px; height: 7px; margin-top: -3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
/* Dropdown panel */
.wp-block-navigation.nav-main .has-child .wp-block-navigation__submenu-container {
  left: -16px; top: calc(100% - 2px); min-width: 250px; padding: 10px 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: var(--shadow);
  transition: opacity .16s, transform .16s;
}
.wp-block-navigation.nav-main .has-child:hover > .wp-block-navigation__submenu-container,
.wp-block-navigation.nav-main .has-child:focus-within > .wp-block-navigation__submenu-container { min-width: 250px; }
.wp-block-navigation.nav-main .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  display: block; padding: 9px 18px; font-size: .86rem; font-weight: 500; color: var(--navy); white-space: nowrap;
}
.wp-block-navigation.nav-main .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation.nav-main .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible { color: var(--blue); background: var(--sky-pale); }
.wp-block-navigation.nav-main .wp-block-navigation__submenu-container .wp-block-navigation-item { display: block; }
/* Hamburger up to 959px, matching the design breakpoint rather than the core 600px default. */
.wp-block-navigation.nav-main .wp-block-navigation__responsive-container-open {
  min-height: 42px; padding: 8px 14px; color: var(--navy); background: var(--white);
  border: 1px solid var(--line); border-radius: 5px; font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer;
}
.wp-block-navigation.nav-main .wp-block-navigation__responsive-container-open svg { display: none; }
.wp-block-navigation.nav-main .wp-block-navigation__responsive-container-open::before { content: "Menu"; }
@media (max-width: 959px) {
  header .wp-block-navigation.nav-main .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
  header .wp-block-navigation.nav-main .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; align-items: center; }
  .wp-block-navigation.nav-main { flex: 0 0 auto; order: 3; }
  .nav-cta-wrap { order: 2; margin-left: auto; }
}
@media (min-width: 960px) {
  header .wp-block-navigation.nav-main .wp-block-navigation__responsive-container-open { display: none; }
}
/* Open overlay */
.wp-block-navigation.nav-main .wp-block-navigation__responsive-container.is-menu-open {
  padding: 24px 20px 40px; background: var(--white); color: var(--navy); font-size: 1rem; overflow-y: auto;
}
.wp-block-navigation.nav-main .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 40px; }
.wp-block-navigation.nav-main .is-menu-open .wp-block-navigation__container { display: block; }
.wp-block-navigation.nav-main .is-menu-open .wp-block-navigation-item { display: block; border-bottom: 1px solid var(--grey); }
.wp-block-navigation.nav-main .is-menu-open .wp-block-navigation-item__content { display: block; padding: 13px 0; font-size: 1rem; }
.wp-block-navigation.nav-main .is-menu-open .wp-block-navigation__submenu-icon { display: none; }
.wp-block-navigation.nav-main .is-menu-open .has-child .wp-block-navigation__submenu-container {
  position: static; min-width: 0; padding: 0 0 8px 14px; border: 0; border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; width: auto; height: auto; overflow: visible;
}
.wp-block-navigation.nav-main .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; }
.wp-block-navigation.nav-main .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 0; font-size: .95rem; color: var(--muted); white-space: normal; }
.wp-block-navigation.nav-main .wp-block-navigation__responsive-container-close { color: var(--navy); }

/* ---------- Buttons ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.wp-block-buttons.is-vertical { flex-direction: column; align-items: stretch; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }
.wp-block-button { margin: 0; }
.wp-block-button__link {
  position: relative; z-index: 1; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 22px; color: var(--white); background: var(--blue); border: 1px solid transparent; border-radius: 5px;
  font: inherit; font-weight: 700; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.wp-block-button__link:hover { transform: translateY(-2px); color: var(--white); background: var(--blue-dark); }
.wp-block-button.is-style-secondary .wp-block-button__link { color: var(--navy); background: var(--white); border-color: var(--line); }
.wp-block-button.is-style-secondary .wp-block-button__link:hover { color: var(--blue); background: var(--white); }
.hero .wp-block-button.is-style-secondary .wp-block-button__link,
.band-navy .wp-block-button.is-style-secondary .wp-block-button__link,
.closing .wp-block-button.is-style-secondary .wp-block-button__link,
.handoff .wp-block-button.is-style-secondary .wp-block-button__link,
.destination .wp-block-button.is-style-secondary .wp-block-button__link {
  color: var(--white); background: rgba(13, 27, 42, .28); border-color: rgba(255, 255, 255, .65); backdrop-filter: blur(8px);
}
.hero .wp-block-button.is-style-secondary .wp-block-button__link:hover,
.band-navy .wp-block-button.is-style-secondary .wp-block-button__link:hover,
.closing .wp-block-button.is-style-secondary .wp-block-button__link:hover,
.handoff .wp-block-button.is-style-secondary .wp-block-button__link:hover { color: var(--navy); background: var(--white); }
.wp-block-buttons + p { margin-top: 20px; }
.lead + .wp-block-buttons { margin-top: 18px; }
p + .wp-block-buttons { margin-top: 24px; }
/* Pill links (on-this-page navigation) */
.wp-block-button.is-style-pill .wp-block-button__link {
  min-height: 0; padding: 9px 16px; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  font-size: .86rem; font-weight: 600; box-shadow: none;
}
.wp-block-button.is-style-pill .wp-block-button__link:hover { transform: none; color: var(--blue); border-color: var(--blue); }
.wp-block-buttons.page-nav { flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.quick-note + .page-nav { margin-top: 26px; }

/* ---------- Links inside text ---------- */
.entry-content p a:not(.wp-block-button__link), .aside-card a:not(.wp-block-button__link):not(.button), .notice a:not(.wp-block-button__link):not(.button), .step a:not(.wp-block-button__link):not(.button), .two-col a:not(.wp-block-button__link):not(.button), .prose a:not(.wp-block-button__link):not(.button), .lead a, .arrow a, .people-note a:not(.wp-block-button__link):not(.button), .contact-line a { color: var(--blue); font-weight: 600; text-decoration: none; }
.entry-content p a:not(.wp-block-button__link):hover, .aside-card a:not(.wp-block-button__link):not(.button):hover, .notice a:not(.wp-block-button__link):not(.button):hover, .prose a:not(.wp-block-button__link):not(.button):hover { text-decoration: underline; }
.hero p a, .page-hero p a, .handoff p a, .band-navy p a, .closing p a, .destination p a, .quick-note p a, .status-panel a, footer p a { color: inherit; font-weight: inherit; }
.quick-note .quick-note-link a { font-weight: 700; color: var(--white); }
.quick-note .quick-note-link a:hover { color: var(--sky); text-decoration: none; }
.text-link, .entry-content .text-link a { color: var(--blue); font-weight: 700; text-decoration: none; }

/* ---------- Cards built from groups: the whole card is the link ---------- */
.journey-card, .detail-card, .related-card, .photo-link, .place-card, .business, .permission-card { position: relative; }
.journey-card .arrow a::after, .detail-card .arrow a::after, .detail-card h3 a::after, .related-card h3 a::after,
.photo-link .arrow a::after, .place-card .arrow a::after, .business .arrow a::after, .permission-card .arrow a::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
}
.detail-card h3 a, .related-card h3 a, .journey-card h3 a, .photo-link h3 a, .place-card h3 a { color: inherit; text-decoration: none; }
.related-card .related-label { margin: 0; color: var(--blue); font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.related-card h3 { margin: 14px 0 5px; }
.arrow { display: block; margin-top: 18px; color: var(--blue); font-weight: 700; }
.arrow a { font-weight: 700; }
.number, .step-number { display: block; margin: 0; color: var(--blue); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.step-number { font-size: .75rem; }
p.number, p.step-number { margin: 0; }
.journey-card h3, .journey h3 { margin: 31px 0 9px; }
.step h3 { margin: 42px 0 9px; }
.journey-card p:not(.number):not(.arrow), .step p:not(.step-number), .detail-card p { margin: 0; }
.detail-card .arrow, .business .arrow, .place-body .arrow, .photo-link-body .arrow { margin-top: 14px; font-size: .9rem; }
.photo-link-body .arrow, .place-body .arrow { margin-top: auto; padding-top: 16px; }

/* Detail mark as a separator block */
hr.detail-mark, .wp-block-separator.detail-mark {
  display: block; width: 34px !important; height: 4px; margin: 0 0 25px !important; border: 0 !important; background: var(--sky); opacity: 1;
}
hr.detail-mark.is-blue, .wp-block-separator.is-style-mark-blue { background: var(--blue); }
hr.detail-mark.is-green, .wp-block-separator.is-style-mark-green { background: var(--green); }
hr.detail-mark.is-navy, .wp-block-separator.is-style-mark-navy { background: var(--navy); }
hr.detail-mark.is-sky, .wp-block-separator.is-style-mark-sky { background: var(--sky); }

/* ---------- Tiles ---------- */
p.tile-label, p.tile-value, p.tile-note { margin: 0; }
p.tile-label { color: #6d7c8d; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
p.tile-value { margin: 8px 0 4px; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
p.tile-value a { color: inherit; font-weight: inherit; }
p.tile-note { color: var(--muted); font-size: .84rem; }
[data-block="contact-details"] p.tile-value, .contact-tiles p.tile-value { font-size: 1.05rem; letter-spacing: 0; overflow-wrap: anywhere; }

/* ---------- Notices and quick note ---------- */
.notice p.notice-title, .notice > p:first-child:has(strong:only-child) { margin: 0 0 3px; color: var(--navy); font-size: 1rem; }
.notice p { margin: 0; }
.notice p + p { margin-top: 8px; }
.notice .wp-block-list, .notice ul { margin-top: 12px; }
.quick-note-inner p { margin: 0; }
.quick-note-inner .quick-note-title { font-weight: 700; }
.quick-note-inner .quick-note-text { color: #d7e9f8; font-size: .86rem; }
.quick-note-inner .quick-note-text .status-chip { margin-right: 4px; }
/* Notes that carry a live status chip: title on its own row, then chip, hours and the days on one line. */
.quick-note-inner > .wp-block-group { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; row-gap: 4px; }
.quick-note-inner .quick-note-title { flex-basis: 100%; }
.quick-note-inner .status-chip-wrap { display: inline-flex; align-items: center; gap: 8px; color: #d7e9f8; font-size: .86rem; }
.quick-note-inner .status-chip-wrap + .quick-note-text::before { content: "·"; margin-right: 8px; }
.quick-note-link { flex: 0 0 auto; margin: 0; }

/* ---------- Section head ---------- */
.section-head > .wp-block-group > p.section-kicker { margin: 0 0 11px; }
.section-head > p { max-width: 500px; margin: 0; color: var(--muted); }
.section-head + .wp-block-group, .section-head + .wp-block-gallery, .section-head + .wp-block-table { margin-top: 0; }

/* ---------- Intro grid ---------- */
.intro-grid > .wp-block-group > p.section-kicker { margin-bottom: 11px; }
.intro-grid > .wp-block-group > h2 { margin-bottom: 22px; }
.intro-grid > .wp-block-group > p:not(.lead):not(.section-kicker) { color: var(--muted); }
.aside-card > p { margin: 0; }
.aside-card > p + p { margin-top: 13px; }
.aside-card h3 + p { margin-top: 0; }
.aside-card .wp-block-buttons { margin-top: 16px; }

/* ---------- Tables ---------- */
.wp-block-table.data-table { display: flex; flex-direction: column-reverse; margin: 0; overflow-x: auto; background: transparent; border: 0; border-radius: 0; } /* the box belongs to the table inside, not the figure */
.wp-block-table.data-table table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 6px; font-size: .95rem; }
.wp-block-table.data-table figcaption { padding: 0 0 12px; margin: 0; color: var(--muted); font-size: .84rem; font-weight: 600; text-align: left; line-height: 1.4; }
.wp-block-table.data-table th, .wp-block-table.data-table td { padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.wp-block-table.data-table thead th { color: var(--white); background: var(--navy); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.wp-block-table.data-table tbody th { width: 34%; color: var(--navy); font-weight: 700; }
.wp-block-table.data-table tbody td { color: var(--muted); }
.wp-block-table.data-table tbody tr:last-child th, .wp-block-table.data-table tbody tr:last-child td { border-bottom: 0; }
.wp-block-table.data-table td a { color: var(--blue); font-weight: 600; text-decoration: none; }
.wp-block-table.data-table + p, .wp-block-table.data-table + .notice, .wp-block-table + .wp-block-group.notice { margin-top: 24px; }
[data-block="getting-here"] .wp-block-table table, .wraps-table .wp-block-table table { min-width: 0; }

/* ---------- Lists ---------- */
ul.wp-block-list.link-list, .wp-block-list.link-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.link-list li { margin: 0; border-bottom: 1px solid var(--line); }
.link-list li a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; padding: 16px 0; color: var(--navy); font-weight: 600; text-decoration: none; }
.link-list li a:hover { color: var(--blue); }
.link-list em, .link-list small { color: var(--muted); font-weight: 400; font-style: normal; }
.two-col .link-list { margin-top: 0; }
h3 + .link-list { margin-top: 12px; }
.lead + .link-list, p + .wp-block-list.link-list { margin-top: 24px; }
.prose ul:not(.link-list), .prose ol { color: var(--muted); padding-left: 22px; }
.prose ul:not(.link-list) li + li, .prose ol li + li { margin-top: 6px; }
.destination-links { display: grid; margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .18); }
.destination-links li { margin: 0; }
.destination-links li a { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); color: var(--white); font-weight: 600; text-decoration: none; }
.destination-links li a::after { content: "→"; }
.destination-links li a:hover { color: var(--sky); }
.destination-copy > .wp-block-group > p:not(.section-kicker) { color: #c9d5e1; font-size: 1.03rem; }
.destination-image.wp-block-group { position: relative; }
.destination-image .wp-block-image { position: absolute; inset: 0; margin: 0; }
.destination-image .wp-block-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.destination-image .wp-block-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(13, 27, 42, .04), rgba(13, 27, 42, .28)); }

/* ---------- Images and galleries ---------- */
.wp-block-image { margin: 0; }
.wp-block-image img { height: auto; }
.wp-block-image.photo { position: relative; overflow: hidden; border-radius: 8px; background: var(--navy-soft); }
.wp-block-image.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wp-block-image.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 48px 16px 12px; color: var(--white); font-size: .78rem; font-weight: 600; letter-spacing: .02em; text-align: left; background: linear-gradient(rgba(13, 27, 42, 0), rgba(13, 27, 42, .6) 45%, rgba(13, 27, 42, .92)); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.wp-block-image.intro-photo { aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.wp-block-image.photo.is-placeholder img { display: none; }
.wp-block-image.article-photo { aspect-ratio: 16 / 9; margin-bottom: 32px; }
.wp-block-post-featured-image.photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.wp-block-post-featured-image.tile-logo { display: grid; place-items: center; height: 120px; padding: 12px; margin: 0 0 18px; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.wp-block-post-featured-image.tile-logo img { max-width: 100%; max-height: 96px; width: auto; height: auto; object-fit: contain; }

.wp-block-gallery.photo-grid, .wp-block-gallery.photo-pair, .wp-block-gallery.photo-strip { display: grid !important; gap: 14px !important; margin: 0; }
.wp-block-gallery.photo-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; }
.wp-block-gallery.photo-pair { grid-template-columns: 1fr 1fr; gap: 18px !important; margin-top: 44px; }
.wp-block-gallery.photo-strip { grid-template-columns: repeat(3, 1fr); gap: 18px !important; margin: 0 0 40px; }
.wp-block-gallery.photo-grid figure.wp-block-image, .wp-block-gallery.photo-pair figure.wp-block-image, .wp-block-gallery.photo-strip figure.wp-block-image {
  width: auto !important; height: auto !important; flex: none !important; margin: 0 !important; position: relative; overflow: hidden; border-radius: 8px; background: var(--navy-soft);
}
.wp-block-gallery.photo-pair figure.wp-block-image { aspect-ratio: 3 / 2; }
.wp-block-gallery.photo-strip figure.wp-block-image { aspect-ratio: 4 / 3; }
.wp-block-gallery.photo-grid figure.wp-block-image:first-child { grid-column: span 2; grid-row: span 2; }
.wp-block-gallery[class*="photo-"] figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; }
.wp-block-gallery[class*="photo-"] figure.wp-block-image figcaption { padding: 48px 16px 12px; font-size: .78rem; font-weight: 600; letter-spacing: .02em; text-align: left; background: linear-gradient(rgba(13, 27, 42, 0), rgba(13, 27, 42, .6) 45%, rgba(13, 27, 42, .92)); text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
@media (max-width: 940px) {
  .wp-block-gallery.photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .wp-block-gallery.photo-pair, .wp-block-gallery.photo-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .wp-block-gallery.photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px !important; }
  .wp-block-gallery.photo-pair, .wp-block-gallery.photo-strip { grid-template-columns: 1fr; margin-top: 28px; }
}

/* ---------- Home hero as a group: image (or video) block behind the content ---------- */
.hero > .wp-block-image, .hero > .wp-block-video, .hero > .hero-media { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero > .wp-block-image img, .hero > .wp-block-video video, .hero > .hero-media img, .hero > .hero-media video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; transform: scale(1.01); }
.hero > .wp-block-image::after, .hero > .wp-block-video::after, .hero > .hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13, 27, 42, .84) 0%, rgba(13, 27, 42, .58) 42%, rgba(13, 27, 42, .1) 78%), linear-gradient(0deg, rgba(13, 27, 42, .5) 0%, transparent 54%);
}
.hero > .wp-block-image figcaption { display: none; }
.hero .hero-content > p.eyebrow { margin: 0; }
.hero .hero-content > .wp-block-buttons { margin-top: 0; }

/* ---------- Page hero ---------- */
.page-hero .hero-grid > .wp-block-group > p.eyebrow { margin: 0; }
.page-hero .hero-grid > .wp-block-group > h1 { margin: 18px 0 22px; }
.page-hero .hero-grid > .wp-block-group > p:not(.eyebrow) { max-width: 710px; margin: 0; color: #d4e0ea; font-size: 1.08rem; }
.page-hero .eyebrow .wp-block-post-terms, .page-hero .eyebrow .wp-block-post-date { color: var(--sky); font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.page-hero .eyebrow .wp-block-post-terms a { color: inherit; text-decoration: none; }
.page-hero .eyebrow .wp-block-post-terms + .wp-block-post-date::before { content: "·"; margin-right: 10px; color: rgba(255, 255, 255, .6); }
.page-hero .wp-block-post-excerpt p, .page-hero .page-hero-lead p { max-width: 710px; margin: 0; color: #d4e0ea; font-size: 1.08rem; }
.page-hero .wp-block-post-excerpt__more-text { display: none; }
.page-hero h1.wp-block-post-title { margin: 18px 0 22px; }

/* ---------- Articles (news posts, tenant and vacancy pages) ---------- */
.article-body { padding: 72px 0 92px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: 66px; align-items: start; }
.article-main h2 { font-size: 1.7rem; letter-spacing: -.02em; text-transform: none; margin: 32px 0 14px; }
.article-main h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.article-main p, .article-main li { color: var(--muted); }
.article-main p { margin: 0 0 16px; }
.article-main > .wp-block-post-content > *:first-child, .article-main > .wp-block-post-content > *:first-child > :first-child { margin-top: 0; }
.article-main .wp-block-image { margin: 24px 0; border-radius: 8px; overflow: hidden; }
.article-main .wp-block-image figcaption { margin: 8px 0 0; color: var(--muted); font-size: .84rem; text-align: left; }
.article-main .wp-block-quote { margin: 24px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--sky); font-size: 1.1rem; }
.article-main .wp-block-quote cite { color: var(--muted); font-size: .86rem; font-style: normal; }
.article-aside .post-details { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.article-aside .post-details dt { color: #6d7c8d; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-aside .post-details dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.article-aside .post-details dd a { color: var(--blue); text-decoration: none; }
.article-aside .wp-block-buttons { margin-top: 18px; }
.article-aside .vacancy-closed { color: #b23b2e; font-weight: 700; }
@media (max-width: 959px) { .article-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ---------- News list (block and query loop) ---------- */
.news-entry .wp-block-post-date, .news-entry p.meta { margin: 0; color: var(--blue); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.news-entry h3 a { color: inherit; text-decoration: none; }
.news-entry h3 a:hover { color: var(--blue); }
.news-entry .wp-block-post-excerpt p { margin: 0 0 12px; color: var(--muted); }
.news-entry .wp-block-post-excerpt__more-link { color: var(--blue); font-weight: 700; text-decoration: none; }
.news-entry > div > p { margin: 0 0 12px; }
.news-entry > div > p:last-child { margin-bottom: 0; }
.pagination { display: flex; gap: 18px; justify-content: center; margin-top: 40px; font-weight: 700; }
.pagination a { color: var(--blue); text-decoration: none; }
.pagination .page-numbers.current { color: var(--muted); }

/* ---------- Hand-off panel as a group ---------- */
.handoff > .wp-block-buttons { grid-column: 2; grid-row: 1 / span 6; align-self: center; margin: 0; }
.handoff > p.eyebrow { margin-bottom: 12px; }
.handoff > h2, .handoff > h3 { margin: 0 0 10px; }
.handoff > p:not(.eyebrow):not(.section-kicker) { margin: 0; }
.handoff > p + p { margin-top: 10px; }
@media (max-width: 959px) { .handoff > .wp-block-buttons { grid-column: 1; grid-row: auto; justify-self: start; } }

/* ---------- Band navy / closing ---------- */
.band-navy .wrap > p.section-kicker, .closing .wrap > p.section-kicker { margin-bottom: 11px; }
.band-navy .wp-block-buttons, .closing .wp-block-buttons { justify-content: center; }

/* ---------- Two column, place cards, learn types ---------- */
.two-col > .wp-block-group > h3 { margin: 0 0 10px; }
.two-col > .wp-block-group > p { color: var(--muted); }
.place-card .wp-block-image { margin: 0; border-radius: 0; }
.place-card .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.place-body > p.eyebrow { margin: 0 0 8px; color: var(--blue); }
.place-body > p.eyebrow::before, .photo-link-body > p.eyebrow::before, .directory-card .eyebrow::before, .vacancy-body .eyebrow::before { display: none; }
.place-body > h3 { margin: 0 0 8px; font-size: 1.1rem; }
.place-body > p:not(.eyebrow):not(.arrow) { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.photo-link .wp-block-image.photo { aspect-ratio: 3 / 2; border-radius: 0; }
.photo-link-body > p.eyebrow { margin: 0 0 8px; color: var(--blue); }
.photo-link-body > h3 { margin: 0 0 8px; font-size: 1.1rem; }
.photo-link-body > p:not(.eyebrow):not(.arrow) { margin: 0 0 16px; color: var(--muted); font-size: .9rem; }
.events-grid .wp-block-image { margin: 0; }
.events-grid .wp-block-image img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.operators-label { margin: 0 0 6px; }
.operators ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Footer ---------- */
footer.wp-block-template-part { padding: 44px 0 28px; color: #c5d0dd; background: #091522; font-size: .9rem; }
.footer-brand .wp-block-image { margin: 0 0 14px; }
.footer-brand .wp-block-image img { display: block; width: 190px; height: auto; }
.footer-brand p { margin: 0 0 4px; }
.footer-brand p.footer-tagline { margin: 0 0 12px; }
.footer-brand a { color: inherit; text-decoration: none; }
.footer-brand a:hover { color: var(--white); text-decoration: underline; }
.footer-links.wp-block-group { display: block; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.wp-block-navigation.nav-footer { font-size: .84rem; font-weight: 600; }
.wp-block-navigation.nav-footer .wp-block-navigation__container { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.wp-block-navigation.nav-footer .wp-block-navigation-item__content { color: #c5d0dd; text-decoration: none; }
.wp-block-navigation.nav-footer .wp-block-navigation-item__content:hover { color: var(--white); }
.footer-legal p { margin: 0; }

/* ---------- Contact Form 7 in the design's form styles ---------- */
.wpcf7 .form-grid, .wpcf7-form .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.wpcf7-form .field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wpcf7-form .field.is-full { grid-column: 1 / -1; }
.wpcf7-form label { font-size: .86rem; font-weight: 700; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; }
.wpcf7-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .wpcf7-form select, .wpcf7-form textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; color: var(--navy); background: var(--white); border: 1px solid var(--line); border-radius: 5px; font: inherit; font-size: .95rem; font-weight: 400;
}
.wpcf7-form textarea { min-height: 120px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(126, 204, 248, .6); outline-offset: 0; }
.wpcf7-form .fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.wpcf7-form .fieldset legend, .wpcf7-form .fieldset-legend { display: block; margin-bottom: 8px; padding: 0; color: var(--navy); font-size: .85rem; font-weight: 700; }
.wpcf7-form .wpcf7-checkbox { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.wpcf7-form .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 400; }
.wpcf7-form .wpcf7-list-item input { width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.wpcf7-form .form-note { margin: 18px 0 0; color: var(--muted); font-size: .86rem; }
.wpcf7-form .form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
.wpcf7-form .wpcf7-submit {
  min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; color: var(--white); background: var(--blue);
  border: 1px solid transparent; border-radius: 5px; font: inherit; font-weight: 700; cursor: pointer; transition: transform .18s ease, background .18s ease;
}
.wpcf7-form .wpcf7-submit:hover { transform: translateY(-2px); background: var(--blue-dark); }
.wpcf7-form .wpcf7-spinner { margin: 0 0 0 12px; }
.wpcf7-form .wpcf7-not-valid-tip { margin-top: 4px; color: #b23b2e; font-size: .82rem; }
.wpcf7-form .wpcf7-response-output { margin: 20px 0 0; padding: 16px 20px; border: 0; border-left: 5px solid var(--blue); border-radius: 5px; background: var(--sky-pale); color: var(--navy); font-size: .92rem; }
.wpcf7-form.invalid .wpcf7-response-output, .wpcf7-form.failed .wpcf7-response-output, .wpcf7-form.aborted .wpcf7-response-output { border-left-color: #b23b2e; background: #fbeeec; }
.wpcf7-form.sent .wpcf7-response-output { border-left-color: var(--green); background: #eef5ee; }
.wpcf7 { max-width: 860px; }
.section-head + .wpcf7 { margin-top: 0; }
@media (max-width: 760px) { .wpcf7-form .form-grid { grid-template-columns: 1fr; } }

/* ---------- Editor-only helpers (the editor canvas has no <main>) ---------- */
.editor-styles-wrapper .wp-block-post-content > section.wp-block-group { padding: 92px 0; }
.editor-styles-wrapper .is-root-container > .wp-block-group.wrap { margin-inline: auto; }
.editor-styles-wrapper .quick-note { z-index: 2; }

/* ---------- Small screens ---------- */
@media (max-width: 620px) {
  .wp-block-button { width: 100%; }
  .wp-block-button__link { width: 100%; }
  .nav-cta-wrap .wp-block-button { width: auto; }
  .nav-cta-wrap .wp-block-button__link { width: auto; padding: 9px 11px; font-size: .78rem; }
  .wp-block-navigation.nav-main .wp-block-navigation__responsive-container-open { padding: 8px 11px; font-size: .78rem; }
  .wp-block-button.is-style-pill { width: auto; }
  .wp-block-button.is-style-pill .wp-block-button__link { width: auto; }
  .brand img { width: 150px; }
  .handoff > .wp-block-buttons { justify-self: stretch; }
}

/* ---------- Map embed and file inputs ---------- */
.map-embed { margin: 34px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--grey); }
.map-embed iframe { display: block; width: 100%; height: 380px; border: 0; }
.map-embed figcaption { padding: 10px 16px; font-size: .84rem; font-weight: 600; }
.map-embed figcaption a { color: var(--blue); text-decoration: none; }
.tiles + .wp-block-html .map-embed, .tiles + .map-embed { margin-top: 30px; }
.wpcf7-form input[type="file"] { padding: 9px 12px; font-size: .9rem; min-height: 0; }
.wp-block-table.opening-hours table { min-width: 0; }

/* ---------- Black and white page theme (Ground Control Coffee) ---------- */
.theme-mono { --navy: #111; --navy-soft: #1c1c1c; --blue: #111; --blue-dark: #000; --sky: #fff; --sky-pale: #f2f2f2; --green: #555; --green-dark: #333; --grey: #f5f5f5; --warm-grey: #e4e4e4; --line: #d9d9d9; --muted: #555; }
.theme-mono .page-hero { background: linear-gradient(115deg, #0a0a0a 0%, #1c1c1c 62%, #2e2e2e 100%); }
.theme-mono .page-hero::before { border-color: rgba(255, 255, 255, .32); }
.theme-mono .page-hero p, .theme-mono .page-hero-lead p { color: #dcdcdc; }
.theme-mono .breadcrumbs { color: #b5b5b5; }
.theme-mono .quick-note span, .theme-mono .quick-note-text { color: #cfcfcf; }
.theme-mono .status-chip.is-open { color: #111; background: #fff; }
.theme-mono .status-chip.is-closed { color: #fff; background: #777; }
.theme-mono .photo img, .theme-mono .wp-block-image img { filter: grayscale(1); }
.theme-mono .photo.is-placeholder { background: repeating-linear-gradient(135deg, #f0f0f0 0 14px, #e4e4e4 14px 28px); }
.theme-mono .notice { border-left-color: #111; }

/* ---------- Buttons after a grid, table or photo strip need air ---------- */
.tiles + .actions, .details-grid + .actions, .process-grid + .actions, .photo-strip + .actions, .table-scroll + .actions, .insta + .actions { margin-top: 26px; }

/* ---------- Instagram posts (café page) ---------- */
.insta-card { display: flex; align-items: center; gap: 20px; padding: 24px 26px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.insta-icon { flex: 0 0 auto; width: 44px; height: 44px; color: var(--navy); }
.insta-card-text { flex: 1 1 auto; }
.insta-card-text strong { display: block; font-size: 1.05rem; }
.insta-card-text span { color: var(--muted); font-size: .92rem; }
.insta-card .button { flex: 0 0 auto; }
.insta-card + .insta-grid { margin-top: 18px; }
@media (max-width: 620px) { .insta-card { flex-direction: column; align-items: flex-start; } .insta-card .button { width: 100%; } }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.insta-grid iframe { display: block; width: 100%; height: 720px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
@media (max-width: 959px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .insta-grid { grid-template-columns: 1fr; } .insta-grid iframe { height: 700px; } }

/* Links inside dark or coloured panels keep their panel colour even inside the post content wrapper. */
.entry-content .hero p a, .entry-content .page-hero p a, .entry-content .handoff p a, .entry-content .band-navy p a, .entry-content .closing p a, .entry-content .destination p a, .entry-content .quick-note p a, .entry-content .status-panel a { color: inherit; font-weight: inherit; }
.entry-content .quick-note .quick-note-link a, .quick-note .quick-note-inner .quick-note-link a { color: var(--white); font-weight: 700; }
.entry-content .quick-note .quick-note-link a:hover, .quick-note .quick-note-inner .quick-note-link a:hover { color: var(--sky); text-decoration: none; }

/* ---------- Short screens (laptops at 125% scaling): keep "Today at Rochester" on the first screen ---------- */
@media (min-width: 960px) and (max-height: 760px) {
  .hero { min-height: 0; }
  .hero-content { padding: 26px 0 100px; }
  .hero h1 { margin: 12px 0 12px; font-size: clamp(2.3rem, 3.8vw, 3.3rem); }
  .hero p { margin-bottom: 18px; font-size: 1rem; }
  .hero + .status-panel { margin-top: -96px; }
}

/* Café logo on the Ground Control page */
.entry-content .brand-mark, .brand-mark { width: 128px; margin: 0 0 20px; }
.entry-content .brand-mark img, .brand-mark img { display: block; width: 100%; height: auto; border-radius: 50%; border: 1px solid var(--line); }

/* Café banner: the Ground Control logo beside the heading text */
.page-hero .hero-with-logo { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; }
.page-hero .hero-logo, .entry-content .page-hero .hero-logo { width: 210px; margin: 0; }
.page-hero .hero-logo img { display: block; width: 100%; height: auto; border-radius: 50%; }
.page-hero .hero-text > h1 { margin: 18px 0 22px; }
.page-hero .hero-text > p.eyebrow { margin: 0; }
.page-hero .hero-text > p:not(.eyebrow) { max-width: 710px; margin: 0; color: #d4e0ea; font-size: 1.08rem; }
@media (max-width: 760px) {
  .page-hero .hero-with-logo { grid-template-columns: 1fr; gap: 22px; }
  .page-hero .hero-logo, .entry-content .page-hero .hero-logo { width: 132px; }
}
