/* Page sections, ported from the Figma Make design. Shared by every page;
   section classes are named after what they hold, not the page they're on. */

.section-pad {
  padding: clamp(5rem, 9vw, 7.5rem) var(--gutter);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 10vw;
  background: var(--paper);
}

.split--cream {
  background: var(--cream);
}

.split--sand {
  background: var(--sand);
}

/* ── Home hero ──────────────────────────────────────────── */
.hero {
  min-height: 47.5rem;
  display: grid;
  grid-template-columns: 55% 45%;
  color: #fff;
  background: var(--navy);
  position: relative;
}

/* Dotted texture that fades out toward the photo */
.hero::before,
.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0 45% 0 0;
  opacity: 0.14;
  background-image: radial-gradient(circle at 1px 1px, #e6c98f 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to right, #000, transparent);
  mask-image: linear-gradient(to right, #000, transparent);
  pointer-events: none;
}

.hero__content {
  padding: 11.9rem clamp(2.5rem, 7vw, 7rem) 6.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(3rem, 5.7vw, 5.5rem);
  line-height: 0.99;
  margin: 1.9rem 0 1.75rem;
  max-width: 47.5rem;
}

.hero h1 em,
.inner-hero h1 em {
  color: var(--gold-pale);
}

.hero__intro {
  color: #e3d9d4;
  max-width: 37rem;
  font-size: 1.125rem;
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.hero__visual {
  position: relative;
  min-width: 0;
}

.hero__image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 43, 78, 0.58), transparent 35%),
    linear-gradient(0deg, rgba(20, 10, 10, 0.34), transparent 50%);
}

.hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Centres the doorway of the building in the tall hero crop */
  object-position: 43% center;
  filter: sepia(0.1) saturate(0.75);
}

.address-card {
  position: absolute;
  left: -2.4rem;
  bottom: 3.75rem;
  z-index: 2;
  width: min(24.4rem, calc(100% - 2.5rem));
  padding: 1.3rem 1.5rem;
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 1.05rem;
  box-shadow: 0 18px 50px rgba(30, 10, 10, 0.22);
  transition: translate 0.4s var(--ease-out), box-shadow 0.4s;
}

.address-card:hover {
  translate: 0 -4px;
  box-shadow: 0 24px 60px rgba(30, 10, 10, 0.28);
}

.pin-box {
  width: 2.9rem;
  height: 2.9rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: var(--gold-pale);
}

.address-card__text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.address-card small {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.address-card strong {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-weight: 400;
}

.vertical-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 1.5rem;
  transform: rotate(90deg) translateX(50%);
  transform-origin: right center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

/* ── Inner page hero ────────────────────────────────────── */
.inner-hero {
  min-height: 36rem;
  padding: 10.6rem clamp(1.5rem, 9vw, 8.75rem) 6.25rem;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.inner-hero::before {
  inset: 0;
  opacity: 0.18;
  -webkit-mask-image: none;
  mask-image: none;
}

.inner-hero__content {
  max-width: 56rem;
  position: relative;
  z-index: 2;
}

.inner-hero h1 {
  font-size: clamp(3rem, 6.5vw, 6rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 1.9rem 0 1.6rem;
}

.inner-hero__intro {
  max-width: 39rem;
  color: #d4dce5;
  font-size: 1.125rem;
  line-height: 1.75;
}

.inner-hero--image {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 7vw;
  padding-right: 0;
}

.inner-hero__figure {
  position: relative;
  height: 25.6rem;
  overflow: hidden;
  box-shadow: -25px 25px 0 rgba(226, 198, 137, 0.12);
}

.inner-hero__figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
}

.inner-hero--compact {
  min-height: 28rem;
}

/* ── Inner hero variety ─────────────────────────────────────
   Every inner hero shares the left-hand copy. Pages with something to show
   add .inner-hero--feature and an .inner-hero__feature on the right: a
   photo with a card (venue hire), the chequered pavement (lodges), the lodge
   number and next meeting (each lodge) or a quick-contact card (contact).
   All inner heroes end on a thin chequered border. */
.inner-hero {
  min-height: 30rem;
}

.inner-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 0.875rem;
  background: conic-gradient(#0b0b0b 25%, #f5f0e7 0 50%, #0b0b0b 0 75%, #f5f0e7 0) 0 0 / 0.875rem 0.875rem;
  opacity: 0.9;
  pointer-events: none;
}

.inner-hero--feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem 6vw;
  align-items: center;
  min-height: 38rem;
}

.inner-hero__feature {
  position: relative;
  z-index: 2;
}

/* Cards on the navy hero are light, so their focus ring is navy */
.inner-hero__feature .venue-hero__card :focus-visible,
.inner-hero__feature .quick-contact :focus-visible {
  outline-color: var(--navy);
}

/* Venue hire: photo with an overlapping card */
.venue-hero__image {
  position: relative;
  height: 25rem;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: 25px 25px 0 rgba(226, 198, 137, 0.12);
}

.venue-hero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.venue-hero .photo-credit {
  top: 0.75rem;
  right: 0.75rem;
  bottom: auto;
  left: auto;
}

.venue-hero__card {
  position: absolute;
  left: -2.5rem;
  bottom: -2.5rem;
  width: min(19rem, 85%);
  padding: 1.5rem 1.6rem;
  background: var(--paper);
  color: var(--ink);
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 60px rgba(2, 10, 20, 0.35);
}

.venue-hero__label,
.quick-contact__label {
  color: var(--gold-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.venue-hero__card ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.venue-hero__card li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0;
  font-family: var(--serif);
  font-size: 1.1875rem;
}

.venue-hero__card li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  flex: 0 0 auto;
  background: var(--gold);
  rotate: 45deg;
}

.venue-hero__card .inline-link {
  margin-top: 1rem;
}

/* Lodges: the chequered pavement with the emblem medallion */
.pavement-hero {
  height: 25rem;
  box-shadow: 25px 25px 0 rgba(226, 198, 137, 0.12);
}

/* Each lodge: its number, large, and the next meeting */
.lodge-hero__number {
  color: var(--gold-pale);
  font-family: var(--serif);
  font-size: clamp(5rem, 10vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.lodge-hero__number span {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--on-dark-muted);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lodge-hero__card {
  max-width: 27rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(226, 198, 137, 0.35);
}

.on-dark .month-strip li {
  background: rgba(255, 255, 255, 0.1);
  color: #c9d1db;
}

.on-dark .month-strip .is-meeting {
  background: var(--gold-pale);
  color: var(--navy-deep);
}

.on-dark .month-strip .is-installation {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: inset 0 0 0 2px #fff;
}

.on-dark .lodge-next {
  margin-top: 1.25rem;
  border-top-color: rgba(255, 255, 255, 0.15);
}

.on-dark .lodge-next__label {
  color: var(--gold-pale);
}

.on-dark .lodge-next strong {
  color: #fff;
}

/* Contact: quick-contact card */
.quick-contact {
  justify-self: end;
  width: min(25rem, 100%);
  padding: 2rem;
  background: var(--paper);
  color: var(--ink);
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 60px rgba(2, 10, 20, 0.35);
}

.quick-contact__phone {
  display: block;
  margin: 0.4rem 0 1.4rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.1;
}

.quick-contact__phone:hover {
  color: var(--gold-dark);
}

.quick-contact__address {
  margin: 0.4rem 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.45;
}

.quick-contact .inline-link {
  margin-top: 0.25rem;
}

.quick-contact .btn {
  width: 100%;
  margin-top: 1.75rem;
}

@media (max-width: 980px) {
  .inner-hero--feature {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-bottom: 5rem;
  }

  .venue-hero {
    margin-bottom: 1rem;
  }

  .venue-hero__card {
    left: 1rem;
  }

  .quick-contact {
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .inner-hero {
    min-height: 0;
  }

  .venue-hero__image,
  .pavement-hero {
    height: 18rem;
  }

  .venue-hero__card {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    margin: -2rem 1rem 0;
  }
}

/* ── Intro (home) ───────────────────────────────────────── */
.intro-section {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.72fr;
  gap: clamp(2.4rem, 6vw, 5.6rem);
  align-items: center;
  background: var(--paper);
}

.building-card {
  background: var(--cream);
  overflow: hidden;
}

.building-card__image {
  position: relative;
  height: 13.75rem;
  overflow: hidden;
}

.building-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.12) saturate(0.7);
  transition: scale 1.2s var(--ease-out);
}

.building-card:hover .building-card__image img {
  scale: 1.05;
}

.building-card__text {
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.building-card strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.125rem;
}

.building-card span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ── Image + copy panels ────────────────────────────────── */
.media-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 43rem;
  background: var(--navy-deep);
  color: #fff;
}

.media-panel--light {
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  color: var(--ink);
}

.media-panel__image {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.media-panel__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-panel__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 65%, var(--navy-deep));
  pointer-events: none;
}

.media-panel--light .media-panel__image::after {
  display: none;
}

.photo-credit {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
  background: rgba(2, 10, 20, 0.72);
  line-height: 1.4;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: 0.04em;
}

.photo-credit a:hover {
  text-decoration: underline;
}

.media-panel__copy {
  padding: 6.25rem clamp(2rem, 7vw, 6.9rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.media-panel__copy > .body-copy {
  margin: 1.5rem 0 2.2rem;
  max-width: 33rem;
}

.on-dark .body-copy {
  color: var(--on-dark);
}

.media-panel__copy .btn {
  margin-top: 1rem;
}

/* Three short features on navy: one per row so each reads as a line, with
   larger serif titles, brighter subtext and the icon in a gold-ruled frame. */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  margin-bottom: 2.5rem;
  max-width: 34rem;
  list-style: none;
  padding: 0;
}

.feature-grid li {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 0;
  color: var(--gold-pale);
}

.feature-grid li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.feature-grid li > svg {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  padding: 0.75rem;
  border: 1px solid rgba(226, 198, 137, 0.4);
  transition: background 0.3s, color 0.3s;
}

.feature-grid li:hover > svg {
  background: var(--gold-pale);
  color: var(--navy-deep);
}

.feature-grid li > span {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.feature-grid strong {
  color: #fff;
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.feature-grid small {
  color: var(--on-dark);
  font-size: 1rem;
  line-height: 1.5;
}

/* ── Quote band (Freemasonry on home) ───────────────────── */
.quote-band {
  padding: 8.1rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.quote-band__mark {
  position: absolute;
  top: 1.9rem;
  left: 50%;
  translate: -50% 0;
  font-family: var(--serif);
  font-size: 12.5rem;
  color: rgba(16, 43, 78, 0.06);
  line-height: 1;
  pointer-events: none;
}

.quote-band blockquote {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.12;
  margin: 2.1rem auto;
  max-width: 62.5rem;
}

.quote-band__copy {
  max-width: 42.5rem;
  margin: 0 auto 2.25rem;
}

.quote-band .btn {
  margin-inline: auto;
}

/* Masonic chequered pavement. It drifts sideways as the page scrolls
   (--scroll-progress is set by main.js). */
.checkerboard {
  position: absolute;
  inset: auto 0 0;
  height: 2.625rem;
  background:
    linear-gradient(90deg, rgba(16, 43, 78, 0.22), transparent 14%, transparent 86%, rgba(16, 43, 78, 0.22)),
    conic-gradient(#171717 25%, #f8f6f0 0 50%, #171717 0 75%, #f8f6f0 0) calc(var(--scroll-progress, 0) * 336px) 0 / 42px 42px;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

/* ── Visit / contact panel ──────────────────────────────── */
.visit-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  background: var(--paper);
}

.visit-details {
  padding: 6.5rem clamp(1.5rem, 8vw, 7.5rem);
}

.visit-details h2 {
  margin-bottom: 2.8rem;
}

.contact-row {
  display: flex;
  gap: 1.1rem;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}

.contact-row__icon {
  color: var(--navy);
}

.contact-row__text {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-row small {
  text-transform: uppercase;
  color: var(--muted-light);
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}

.contact-row strong,
.contact-row a {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.45;
}

.contact-row a:hover {
  color: var(--navy);
}

.visit-details__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.map-wrap {
  min-height: 37.5rem;
  position: relative;
  background: #ddd4c8;
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(0.25) saturate(0.65) contrast(0.95);
}

.map-wrap__link {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  background: var(--paper);
  color: var(--navy);
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, color 0.2s;
}

.map-wrap__link:hover {
  background: var(--navy);
  color: #fff;
}

/* ── FAQ section ────────────────────────────────────────── */
.faq-section {
  grid-template-columns: 0.8fr 1.2fr;
  gap: 9vw;
}

/* ── Numbered cards (values, venue hire types) ──────────── */
.card-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0 var(--gutter) 6.9rem;
  background: var(--paper);
}

.card-band--top {
  padding-top: 5.6rem;
}

.card-band > li {
  position: relative;
  padding: 2.4rem;
  border: 1px solid var(--line);
  border-right: 0;
  transition: background 0.4s;
}

.card-band > li:last-child {
  border-right: 1px solid var(--line);
}

/* A gold rule draws along the top edge on hover */
.card-band > li::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 2px;
  background: var(--gold);
  transform-origin: left;
  scale: 0 1;
  transition: scale 0.5s var(--ease-in-out);
}

.card-band > li:hover {
  background: var(--cream);
}

.card-band > li:hover::before {
  scale: 1 1;
}

.card-band__num {
  color: var(--gold-dark);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.card-band__icon {
  color: var(--navy);
}

.card-band h3 {
  font-size: 1.75rem;
  margin: 2.2rem 0 0.875rem;
}

.card-band p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Closing call to action ─────────────────────────────── */
.page-cta {
  padding: 6.25rem 1.5rem;
  text-align: center;
  color: #fff;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.page-cta h2 {
  margin: 1.5rem 0 2.2rem;
}

.page-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

/* ── Steps ──────────────────────────────────────────────── */
.steps {
  list-style: none;
  padding: 0;
}

.steps li {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  border-top: 1px solid var(--line);
  padding: 1.4rem 0;
}

.steps__num {
  width: 2.625rem;
  height: 2.625rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--navy);
  font-family: var(--serif);
  transition: background 0.3s, color 0.3s;
}

.steps li:hover .steps__num {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--gold-pale);
}

.steps__text {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.steps strong {
  font-family: var(--serif);
  font-size: 1.1875rem;
  font-weight: 400;
}

.steps small {
  color: var(--muted);
  font-size: 1rem;
}

/* ── Freemasonry page ───────────────────────────────────── */
.masonic-floor {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: conic-gradient(#141414 25%, #f7f5ef 0 50%, #141414 0 75%, #f7f5ef 0) 0 0 / 108px 108px;
}

.masonic-floor::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 20%, rgba(7, 25, 46, 0.38) 100%);
}

.compass-motif {
  width: 11.9rem;
  height: 11.9rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
  color: var(--gold-pale);
  background: var(--navy);
  border: 8px double var(--gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  font-family: var(--serif);
  font-size: 4.5rem;
}

/* A slow-turning dotted ring around the medallion */
.compass-motif::before {
  content: "";
  position: absolute;
  inset: -1.6rem;
  border-radius: 50%;
  border: 1px dashed rgba(226, 198, 137, 0.65);
  animation: compass-turn 4.5s var(--ease-out) 0.3s 1 both;
}

@keyframes compass-turn {
  to {
    rotate: 360deg;
  }
}

.principles {
  padding: 6.9rem clamp(1.5rem, 7vw, 6.9rem);
  color: #fff;
  text-align: center;
  background: var(--navy-deep);
}

.principles h2 {
  margin-bottom: 3.4rem;
}

.principles__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
}

.principles__grid li {
  padding: 2.25rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 0;
  transition: background 0.4s;
}

.principles__grid li:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.principles__grid li:hover {
  background: rgba(226, 198, 137, 0.06);
}

.principles__grid b {
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.principles__grid h3 {
  font-size: 1.75rem;
  margin: 2rem 0 0.875rem;
}

.principles__grid p {
  color: var(--on-dark-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ── Visit page ─────────────────────────────────────────── */
.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
}

.travel-grid li {
  padding: 1.75rem;
  border-left: 1px solid var(--line);
}

.travel-grid strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.travel-grid p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 0.875rem;
}

/* ── Contact page ───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
  background: var(--cream);
}

.contact-layout__aside .contact-row:first-of-type {
  margin-top: 2.5rem;
}

.contact-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(16, 43, 78, 0.08);
  scroll-margin-top: 6rem;
}

.contact-card .cf-turnstile {
  margin: 0.5rem 0;
}

/* Details that only matter for venue hire */
.contact-form__venue {
  padding: 1.25rem 1.25rem 0;
  margin-bottom: 1.25rem;
  border-left: 2px solid var(--gold);
  background: rgba(199, 155, 75, 0.06);
}

/* ── Prose (privacy policy) ─────────────────────────────── */
.prose {
  max-width: 46rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.prose h2 {
  color: var(--ink);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin: 3rem 0 1rem;
  scroll-margin-top: 6rem;
}

.prose p,
.prose ul {
  margin-bottom: 1rem;
}

.prose ul {
  padding-left: 1.25rem;
}

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

.prose a {
  color: var(--navy);
  text-decoration: underline;
}

.prose__updated {
  font-size: 0.9375rem;
  color: var(--muted-light);
}

/* ── Notice pages (404, thank you, unsubscribe) ─────────── */
.notice {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 10rem 1.5rem 6rem;
  text-align: center;
  color: #fff;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.notice__inner {
  max-width: 40rem;
  position: relative;
  z-index: 2;
}

.notice h1 {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 1;
  margin: 1.5rem 0;
}

.notice h1 em {
  color: var(--gold-pale);
}

.notice p {
  color: #d4dce5;
  line-height: 1.75;
}

.notice__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-top: 2.25rem;
}

.notice .checkerboard {
  opacity: 0.85;
}

.unsubscribe-form {
  max-width: 28rem;
  margin: 2rem auto 0;
  text-align: left;
}

/* ── Logo placements ────────────────────────────────────── */

/* The emblem sits in the Freemasonry medallion */
.compass-motif img {
  width: 62%;
  height: auto;
}

/* Notice pages (404, thank you, unsubscribe) open with the emblem */
.notice__emblem {
  width: auto;
  height: 4.5rem;
  margin: 0 auto 1.75rem;
}

/* A large, faint square and compasses behind the Lodges and lodge page
   headings, sitting between the copy and the feature */
.inner-hero__emblem {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: auto;
  height: min(34rem, 88%);
  opacity: 0.08;
  pointer-events: none;
}

/* ── Lodges ─────────────────────────────────────────────── */
.lodge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
}

.lodge-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 2.25rem;
  background: var(--paper);
  border: 1px solid var(--line);
  transition:
    translate 0.4s var(--ease-out),
    box-shadow 0.4s;
}

.lodge-card::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 3px;
  background: var(--gold);
  transform-origin: left;
  scale: 0 1;
  transition: scale 0.5s var(--ease-in-out);
}

.lodge-card:hover,
.lodge-card:focus-within {
  translate: 0 -4px;
  box-shadow: 0 24px 60px rgba(16, 43, 78, 0.12);
}

.lodge-card:hover::before,
.lodge-card:focus-within::before {
  scale: 1 1;
}

.lodge-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.lodge-card__emblem {
  width: auto;
  height: 2.75rem;
}

.lodge-card__number {
  color: var(--gold-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lodge-card h3 {
  margin: 1.75rem 0 1rem;
  font-size: 1.75rem;
  line-height: 1.15;
}

/* The whole card is clickable through the heading link */
.lodge-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.lodge-card h3 a:focus-visible {
  outline: none;
}

.lodge-card:has(h3 a:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

/* Meeting pattern: a month strip (navy = meeting month, gold = installation
   meeting, ringed so it doesn't rely on colour alone), the pattern sentence
   and the next meeting date (main.js). The strip is twelve equal columns, so
   it fits any card width without wrapping. */
.lodge-meeting {
  display: grid;
  gap: 1rem;
}

.month-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 3px;
  max-width: 30rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.month-strip li,
.meeting-legend__swatch {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  background: #ece5d9;
  color: #6b625a;
  font-family: var(--sans);
  font-size: clamp(0.8125rem, 1.1vw, 0.9375rem);
  font-style: normal;
  font-weight: 600;
  line-height: 1;
}

.month-strip .is-meeting,
.meeting-legend__swatch.is-meeting {
  background: var(--navy);
  color: #fff;
}

.month-strip .is-installation,
.meeting-legend__swatch.is-installation {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: inset 0 0 0 2px var(--navy-deep);
}

.lodge-pattern strong {
  color: var(--navy);
  font-weight: 700;
}

.on-dark .lodge-pattern strong {
  color: var(--gold-pale);
}

.lodge-pattern {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-style: normal;
  line-height: 1.6;
}

.lodge-next {
  display: grid;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.lodge-next__label {
  color: var(--gold-dark);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lodge-next strong {
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.3;
}

.lodge-next__installation {
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* On a lodge page the meeting details sit in the facts list, a little larger */
.lodge-facts .lodge-pattern {
  font-size: 1.125rem;
}

.lodge-facts .lodge-next strong {
  font-size: 1.5rem;
}

.lodge-facts .lodge-next {
  border-top-color: var(--line);
}

.meeting-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  color: var(--ink);
  font-size: 1rem;
}

.meeting-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.meeting-legend__swatch {
  width: 1.25rem;
  height: 1.25rem;
}

.meeting-note {
  margin: 0.75rem 0 2rem;
  color: var(--muted);
  font-size: 1rem;
}

.lodge-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: auto;
  padding-top: 1.75rem;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lodge-card__more svg {
  transition: translate 0.3s var(--ease-out);
}

.lodge-card:hover .lodge-card__more svg {
  translate: 0.3rem 0;
}

.lodges-section .section-head {
  max-width: 44rem;
  margin-bottom: 3rem;
}

/* Lodge page: key facts */
.lodge-facts {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}

.lodge-facts > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.lodge-facts dt {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 0.3rem;
}

.lodge-facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.3125rem;
  line-height: 1.4;
}

.lodge-facts dd a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.2em;
}

.lodge-source {
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.lodge-source a {
  color: var(--navy);
  text-decoration: underline;
}

/* ── Contact page: getting here ─────────────────────────── */
.contact-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
}

.contact-map .map-wrap {
  min-height: 30rem;
}

.contact-map__travel {
  padding: clamp(4rem, 7vw, 6rem) clamp(1.5rem, 6vw, 5rem);
}

.contact-map__travel .travel-grid {
  grid-template-columns: 1fr;
  margin-top: 2rem;
}

.contact-map__travel .travel-grid li {
  border-left: 0;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}

/* ── Venue hire: popular occasions ──────────────────────── */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.tag-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 1rem;
}

.tag-list svg {
  color: var(--gold-dark);
}

/* ── Venue hire: capacity and prices ────────────────────── */
.venue-details {
  background: var(--cream);
}

.venue-details__head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.venue-details__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.venue-details__grid li {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
}

.venue-details__grid h3 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
}

.venue-details__grid p {
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

/* Inline link on navy panels */
.prose-link--light {
  color: var(--gold-pale);
}

/* ── Facilities (venue hire) ────────────────────────────── */
.facilities {
  color: #fff;
  background: var(--navy-deep);
}

.facilities__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 6vw;
  align-items: end;
  margin-bottom: 3.5rem;
}

.facilities__head h2 {
  margin-top: 1.25rem;
}

.facilities__head .body-copy {
  max-width: 32rem;
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.facility-grid li {
  padding: 2.25rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.facility-grid__icon {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(226, 198, 137, 0.4);
  color: var(--gold-pale);
  transition: background 0.3s, color 0.3s;
}

.facility-grid li:hover .facility-grid__icon {
  background: var(--gold-pale);
  color: var(--navy-deep);
}

.facility-grid h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.5rem;
  line-height: 1.2;
}

.facility-grid p {
  color: var(--on-dark);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .facilities__head {
    grid-template-columns: 1fr;
  }

  .facility-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .facility-grid {
    grid-template-columns: 1fr;
  }

  .facility-grid li {
    padding: 1.75rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .facility-grid__icon {
    transition: none;
  }
}

/* ── What's on (bookings.js) ────────────────────────────── */
.bookings-page {
  background: var(--paper);
}

.bookings-page__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  margin-bottom: 2rem;
}

.bookings-page__head h2 {
  margin: 0;
}

.bookings-key {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 1rem;
}

.bookings-key span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.bookings-key__swatch {
  width: 1rem;
  height: 1rem;
  border-left: 4px solid var(--booking-colour);
  background: var(--booking-tint);
}

.booking--lodge {
  --booking-colour: var(--navy);
  --booking-tint: rgba(16, 43, 78, 0.08);
}

.booking--event {
  --booking-colour: var(--gold);
  --booking-tint: rgba(199, 155, 75, 0.14);
}

.booking--private {
  --booking-colour: #857a70;
  --booking-tint: rgba(133, 122, 112, 0.12);
}

.bookings__toolbar {
  margin-bottom: 2rem;
}

.bookings__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bookings__months {
  display: grid;
  gap: 2.5rem;
}

.bookings-month__title {
  margin: 0 0 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.5rem;
}

.bookings-month__list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.booking {
  display: grid;
  grid-template-columns: 4.25rem 1fr;
  align-items: center;
  gap: 1.25rem;
  padding: 0.85rem 1.25rem 0.85rem 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--booking-colour);
}

.booking__date {
  display: grid;
  place-items: center;
  align-content: center;
  height: 4.25rem;
  background: var(--booking-tint);
  color: var(--ink);
  text-align: center;
}

.booking__day {
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1;
}

.booking__weekday {
  margin-top: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking__type {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.booking--event .booking__type {
  color: var(--gold-dark);
}

.booking--lodge .booking__type {
  color: var(--navy);
}

.booking__title {
  margin-top: 0.2rem;
  font-family: var(--serif);
  font-size: 1.3125rem;
  line-height: 1.3;
}

.booking__title a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--line-dark);
  text-underline-offset: 0.2em;
}

.booking__title a:hover {
  text-decoration-color: var(--gold);
}

.booking__meta {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.bookings__status {
  padding: 1.5rem;
  background: #fff;
  border: 1px dashed var(--line-dark);
  color: var(--muted);
  font-size: 1rem;
}

/* The compact list on Venue hire */
.bookings--compact .bookings__months {
  gap: 1.75rem;
}

.bookings--compact .bookings-month__title {
  font-size: 1.25rem;
}

@media (max-width: 560px) {
  .booking {
    grid-template-columns: 3.5rem 1fr;
    gap: 1rem;
    padding-right: 1rem;
  }

  .booking__date {
    height: 3.5rem;
  }

  .booking__day {
    font-size: 1.5rem;
  }
}

/* "Check what's on first" tip (contact form, What's on) */
.date-tip {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.date-tip svg {
  flex: 0 0 auto;
  margin-top: 0.1rem;
  color: var(--navy);
}

.date-tip a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.date-tip--wide {
  max-width: 52rem;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

.media-panel__aside-link {
  align-self: flex-start;
  margin-top: 1.5rem;
}

/* ── Useful links ───────────────────────────────────────── */
.links-page {
  display: grid;
  gap: clamp(3.5rem, 6vw, 5rem);
  background: var(--paper);
}

.links-group {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2rem 5vw;
  align-items: start;
}

.links-group__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  line-height: 1.15;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* The whole card is clickable through its heading link */
.link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    translate 0.4s var(--ease-out);
}

.link-card:hover,
.link-card:focus-within {
  border-color: var(--navy);
  box-shadow: 0 18px 40px rgba(16, 43, 78, 0.1);
  translate: 0 -3px;
}

.link-card:has(h3 a:focus-visible) {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.link-card__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--navy);
  color: var(--gold-pale);
}

.link-card__icon--facebook {
  background: #1877f2;
  color: #fff;
}

.link-card__icon--youtube {
  background: #c4302b;
  color: #fff;
}

.link-card__icon--x {
  background: #000;
  color: #fff;
}

.link-card h3 {
  margin: 1.1rem 0 0.5rem;
  font-size: 1.3125rem;
  line-height: 1.25;
}

.link-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.link-card h3 a:focus-visible {
  outline: none;
}

.link-card p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.link-card__host {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.link-card__ext {
  flex: 0 0 auto;
  transition: translate 0.3s var(--ease-out);
}

.link-card:hover .link-card__ext {
  translate: 2px -2px;
}

.links-group--notes {
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
}

.links-notes {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}

.links-notes strong {
  color: var(--ink);
}

@media (max-width: 980px) {
  .links-group {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .link-card,
  .link-card__ext {
    transition: none;
  }

  .link-card:hover,
  .link-card:focus-within {
    translate: none;
  }
}

/* ── Sitemap page ───────────────────────────────────────── */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 3rem clamp(2rem, 5vw, 4rem);
  max-width: 72rem;
}

.sitemap-group h2 {
  margin: 0 0 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.75rem;
}

.sitemap-group ul {
  list-style: none;
  padding: 0;
}

.sitemap-group li {
  margin: 0.25rem 0;
}

.sitemap-group a {
  display: inline-block;
  padding: 0.35rem 0;
  color: var(--navy);
  font-size: 1.0625rem;
  text-decoration: underline;
  text-decoration-color: var(--line-dark);
  text-underline-offset: 0.25em;
  transition: text-decoration-color 0.2s;
}

.sitemap-group a:hover {
  text-decoration-color: var(--gold);
}

.sitemap-group a[aria-current] {
  font-weight: 600;
}

/* Lodges nest under the Lodges link */
.sitemap-group li ul {
  margin: 0.25rem 0 0.5rem;
  padding-left: 1.1rem;
  border-left: 1px solid var(--line-dark);
}

.sitemap-group li ul a {
  font-size: 1rem;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .contact-map {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero::before {
    inset: 0;
  }

  .hero__content {
    min-height: 43rem;
    padding-top: 9.4rem;
    padding-right: 16vw;
  }

  .hero__visual {
    min-height: 32.5rem;
  }

  .address-card {
    left: 1.9rem;
  }

  .intro-section {
    grid-template-columns: 1fr 1fr;
  }

  .building-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .building-card__text {
    justify-content: center;
    padding: 1.9rem;
  }

  .media-panel,
  .media-panel--light,
  .visit-section,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .split,
  .contact-layout {
    gap: 3.4rem;
  }

  .media-panel__image,
  .masonic-floor {
    min-height: 32.5rem;
  }

  .media-panel__image::after {
    background: linear-gradient(0deg, var(--navy-deep), transparent 30%);
  }

  .map-wrap {
    min-height: 31rem;
  }

  .inner-hero {
    min-height: 26rem;
  }

  .inner-hero--image {
    grid-template-columns: 1fr;
    padding-right: clamp(1.5rem, 9vw, 8.75rem);
    padding-bottom: 4.4rem;
  }

  .inner-hero__figure {
    height: 22.5rem;
  }

  .principles__grid {
    grid-template-columns: 1fr 1fr;
  }

  .principles__grid li:nth-child(2) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .principles__grid li:nth-child(n + 3) {
    border-top: 0;
  }

  .travel-grid {
    grid-template-columns: 1fr;
  }

  .travel-grid li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .hero__content {
    min-height: 40.6rem;
    padding: 8.75rem 1.5rem 4.4rem;
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: clamp(2.875rem, 14vw, 4.125rem);
  }

  .hero__intro {
    font-size: 1.0625rem;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 1.5rem;
  }

  .hero__visual {
    min-height: 30rem;
  }

  .address-card {
    left: 1.1rem;
    bottom: 1.5rem;
    padding: 1rem;
    width: calc(100% - 2.25rem);
  }

  .vertical-label {
    display: none;
  }

  .intro-section {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .building-card {
    grid-column: auto;
    display: block;
  }

  .media-panel__image {
    min-height: 25rem;
  }

  .media-panel__copy {
    padding: 5rem 1.5rem;
  }

  .quote-band {
    padding: 6rem 1.5rem;
  }

  .visit-details {
    padding: 5rem 1.5rem;
  }

  .map-wrap {
    min-height: 25rem;
  }

  .inner-hero {
    min-height: 0;
    padding: 9rem 1.5rem 4.7rem;
  }

  .inner-hero h1 {
    font-size: clamp(3rem, 14vw, 4.25rem);
  }

  .inner-hero--image {
    padding-right: 1.5rem;
  }

  .inner-hero__figure {
    height: 18.75rem;
  }

  .card-band {
    grid-template-columns: 1fr;
    padding: 0 1.5rem 5rem;
  }

  .card-band--top {
    padding-top: 4rem;
  }

  .card-band > li {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .card-band > li:last-child {
    border-bottom: 1px solid var(--line);
  }

  .page-cta {
    padding: 5rem 1.5rem;
  }

  .page-cta__actions {
    align-items: center;
    flex-direction: column;
  }

  .masonic-floor {
    min-height: 24rem;
    background-size: 72px 72px;
  }

  .compass-motif {
    width: 9.4rem;
    height: 9.4rem;
    font-size: 3.6rem;
  }

  .principles {
    padding: 5rem 1.5rem;
  }

  .principles__grid {
    grid-template-columns: 1fr;
  }

  .principles__grid li {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 0;
  }

  .principles__grid li:nth-child(n + 2) {
    border-top: 0;
  }

  .principles__grid li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .lodge-facts > div {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .inner-hero__emblem {
    height: 60%;
    top: 30%;
    left: auto;
    right: -4rem;
    translate: 0 -50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compass-motif::before {
    animation: none;
  }

  .checkerboard {
    background-position: 0 0, 0 0;
  }

  .address-card,
  .building-card__image img,
  .card-band > li::before,
  .lodge-card,
  .lodge-card::before,
  .lodge-card__more svg {
    transition: none;
  }

  .lodge-card:hover,
  .lodge-card:focus-within {
    translate: none;
  }
}
