/* ==========================================================================
   Global International School
   Mobile-first stylesheet. Layout shifts live in the breakpoint blocks
   at the bottom of this file.
   ========================================================================== */

:root {
  --navy: #171512;
  --navy-900: #12110f;
  --navy-700: #3c3832;
  --ink: #171512;
  --muted: #5e584f;
  --gold: #e4572e;
  --gold-deep: #c13b16;
  --gold-light: #f6cfc3;
  --sand: #efe6da;
  --paper: #f4f0e8;
  --white: #fffcf8;
  --teal: #1d6b45;
  --line: rgba(23, 21, 18, 0.14);
  --error: #9f2d2d;
  --ok: #0f6e4c;
  --shadow: 0 18px 40px rgba(14, 39, 68, 0.08);
  --shadow-soft: 0 8px 24px rgba(14, 39, 68, 0.06);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --header-h: 7.5rem;
  --radius: 0px;
  --container: 1120px;
  --space: clamp(3.25rem, 6vw, 6.25rem);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  overflow-wrap: break-word;
  font-family: var(--sans);
  font-size: clamp(1rem, 0.25vw + 0.95rem, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

body.nav-lock {
  overflow: hidden;
}

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

[hidden] {
  display: none !important;
}

svg {
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, h3, h4, p, ul, ol, figure, blockquote {
  margin-top: 0;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 4.4vw + 0.5rem, 4.35rem);
  margin-bottom: 0.85rem;
}

h2 {
  font-size: clamp(1.75rem, 1.6vw + 1.15rem, 2.85rem);
  margin-bottom: 0.75rem;
}

h3 {
  font-size: clamp(1.15rem, 0.4vw + 1.05rem, 1.45rem);
  margin-bottom: 0.45rem;
}

p {
  margin-bottom: 0.9rem;
}

a {
  color: var(--teal);
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

::selection {
  background: var(--gold-light);
  color: var(--navy);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 300;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#main:focus {
  outline: none;
}

[id] {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: 1rem;
}

.section {
  padding-block: var(--space);
}

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

.section-white {
  background: var(--white);
}

.section-head {
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.6rem);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head .lede,
.lede {
  color: var(--muted);
  font-size: clamp(1.02rem, 0.3vw + 0.95rem, 1.2rem);
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: #d4b36e;
  color: var(--navy-900);
}

.btn-secondary {
  background: transparent;
  color: var(--navy);
  border-color: rgba(14, 39, 68, 0.28);
}

.btn-secondary:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(14, 39, 68, 0.04);
}

.btn-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-light:hover {
  background: var(--white);
  color: var(--navy);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
}

.text-link:hover {
  color: var(--gold-deep);
}

.text-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(3px);
}

/* Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 140;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(14, 39, 68, 0.08);
}

.topbar {
  background: var(--navy);
  color: #e7edf4;
  font-size: 0.84rem;
}

.topbar a {
  color: var(--white);
  text-decoration: none;
}

.topbar a:hover {
  color: var(--gold-light);
}

.topbar-inner,
.header-inner,
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.topbar-inner {
  flex-wrap: wrap;
  padding-block: 0.45rem;
}

.topbar p {
  margin: 0;
}

.topbar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-bar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled .header-bar {
  border-bottom-color: var(--line);
}

.header-inner {
  min-height: 4.4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  color: var(--navy);
}

.brand img {
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 auto;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.brand small {
  display: block;
  margin-top: 0.1rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--white);
}

.nav-toggle-box {
  width: 1.25rem;
  height: 0.9rem;
  position: relative;
}

.nav-toggle-box span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle-box span:nth-child(1) { top: 0; }
.nav-toggle-box span:nth-child(2) { top: 0.4rem; }
.nav-toggle-box span:nth-child(3) { top: 0.8rem; }

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(1) {
  top: 0.4rem;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:nth-child(3) {
  top: 0.4rem;
  transform: rotate(-45deg);
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-deep);
}

.nav-cta {
  flex: 0 0 auto;
}

.site-nav a.nav-cta,
.site-nav a.nav-cta:hover {
  color: var(--navy-900);
}

.site-nav a.nav-cta:hover {
  background: #d4b36e;
}

.nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 120;
  background: rgba(8, 18, 32, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  html:not(.js) .header-inner {
    flex-wrap: wrap;
    align-items: flex-start;
    padding-bottom: 0.75rem;
  }

  html:not(.js) .site-nav {
    flex-basis: 100%;
  }

  html:not(.js) .site-nav ul {
    flex-direction: column;
    gap: 0.15rem;
  }

  html:not(.js) .nav-cta {
    margin-top: 0.6rem;
  }
}

html.js .nav-toggle {
  display: inline-flex;
}

html.js .site-nav {
  position: fixed;
  top: var(--header-h);
  right: 0;
  z-index: 130;
  width: min(22rem, 100%);
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  padding: 0.5rem 1.25rem 2rem;
  background: var(--white);
  box-shadow: -16px 0 40px rgba(8, 24, 44, 0.14);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0.35s ease;
}

html.js .site-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

html.js .site-nav ul {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

html.js .site-nav li a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.35rem 0.15rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
}

html.js .site-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--gold);
  padding-left: 0.7rem;
}

html.js .nav-cta {
  width: 100%;
  margin-top: 1.25rem;
}

/* Hero and page banners
   ========================================================================== */

.hero {
  padding-block: clamp(2rem, 5vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
}

.hero-grid,
.split,
.news-layout,
.contact-grid,
.vision-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-copy .lede {
  max-width: 38rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.hero-visual {
  position: relative;
}

.hero-visual img,
.split-media img,
.principal img,
.card-media img,
.gallery-card img,
.person img,
.article-media img {
  width: 100%;
  object-fit: cover;
}

.hero-visual img,
.split-media img {
  aspect-ratio: 5 / 4;
  border-radius: 1.4rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.9rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.hero-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--navy);
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.92rem;
}

.trust {
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.trust-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust-row li {
  padding: 0.75rem 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(198, 161, 91, 0.28), transparent 32%),
    var(--navy);
  color: #e7edf4;
  padding-block: clamp(2.4rem, 5vw, 4.4rem);
}

.page-hero h1,
.page-hero .lede {
  color: var(--white);
}

.page-hero .lede {
  max-width: 40rem;
  color: #d5deea;
}

.page-hero .eyebrow {
  color: var(--gold-light);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--gold-light);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span[aria-current="page"] {
  color: #fff;
}

/* Cards, stats, features
   ========================================================================== */

.stats-band {
  padding-block: 0  var(--space);
}

.stats-grid,
.feature-grid,
.card-grid,
.quote-grid,
.team-grid,
.dept-grid,
.method-grid,
.achievement-grid,
.date-grid,
.gallery-grid,
.houses,
.contact-points {
  display: grid;
  gap: 0.9rem;
}

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

.stats-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.stat {
  padding: 1rem 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2vw + 1rem, 2.6rem);
  line-height: 1;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.feature,
.card,
.quote,
.person,
.dept,
.method,
.achievement,
.date-card,
.criterion,
.step,
.news-card,
.article,
.contact-point,
.vision-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}

.feature,
.dept,
.method,
.achievement,
.criterion,
.step,
.vision-card,
.contact-point {
  padding: 1.15rem 1.1rem 1.2rem;
}

.feature-icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.18);
  color: var(--gold-deep);
}

.feature-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.feature p,
.card-body p,
.dept p,
.method p,
.vision-card p,
.news-card p,
.article p,
.person p,
.event p,
.criterion p,
.step p,
.date-card p,
.achievement p {
  color: var(--muted);
  margin-bottom: 0;
}

.card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.news-card:hover,
.person:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sand);
}

.card-media img,
.gallery-card img,
.article-media img {
  height: 100%;
  transition: transform 0.5s ease;
}

.card:hover .card-media img,
.gallery-card:hover img {
  transform: scale(1.05);
}

.card-body,
.article-body {
  padding: 1.05rem 1.1rem 1.2rem;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.card-body .text-link {
  margin-top: auto;
}

.card-body ul,
.prose ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}

.card-body li + li,
.prose li + li {
  margin-top: 0.3rem;
}

.tag,
.meta {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag {
  color: var(--teal);
}

.meta {
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
  font-size: 0.88rem;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.news-card {
  display: grid;
  overflow: hidden;
  padding: 0;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.news-card h3 {
  margin: 0.35rem 0;
}

.news-card:hover h3 {
  color: var(--gold-deep);
}

.event-list {
  display: grid;
  gap: 0.75rem;
}

.event {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  text-decoration: none;
  color: inherit;
}

.event:hover {
  border-color: var(--gold);
}

.event time {
  flex: 0 0 auto;
  width: 4.1rem;
  padding: 0.45rem 0.2rem;
  border-radius: 0.75rem;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.event time span {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1;
}

.event time small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event h3 {
  margin-bottom: 0.15rem;
  font-size: 1.05rem;
}

.quote {
  padding: 1.25rem 1.15rem 1.2rem;
  margin: 0;
}

.quote blockquote {
  margin: 0 0 1.1rem;
  font-family: var(--serif);
  font-size: clamp(1.12rem, 0.5vw + 1rem, 1.35rem);
  line-height: 1.4;
  color: var(--navy);
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.avatar {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-size: 0.82rem;
  font-weight: 700;
}

.quote figcaption strong,
.person strong {
  display: block;
  color: var(--navy);
}

.quote figcaption small,
.person .role {
  color: var(--muted);
  font-size: 0.88rem;
}

.gallery-preview .gallery-card {
  position: relative;
}

.gallery-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--navy);
}

.gallery-card img {
  aspect-ratio: 1 / 1;
}

.gallery-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 0.8rem 0.75rem;
  background: linear-gradient(transparent, rgba(8, 18, 32, 0.82));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  pointer-events: none;
}

.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.filter {
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.92rem;
}

.filter.is-active,
.filter:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-empty {
  display: none;
  margin: 1rem 0 0;
  color: var(--muted);
}

.gallery-empty.is-visible {
  display: block;
}

.gallery-card.is-hidden {
  display: none;
}

/* About, academics, admissions
   ========================================================================== */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.3rem;
  border-left: 2px solid var(--gold);
  display: grid;
  gap: 1.25rem;
}

.timeline li {
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.3rem - 6px);
  top: 0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--paper);
}

.section-sand .timeline li::before,
.timeline.on-sand li::before {
  box-shadow: 0 0 0 4px var(--sand);
}

.timeline h3 {
  margin-bottom: 0.25rem;
}

.timeline p {
  margin: 0;
  color: var(--muted);
}

.principal {
  display: grid;
  gap: 1.25rem;
  align-items: center;
}

.principal img {
  aspect-ratio: 4 / 5;
  border-radius: 1.3rem;
  object-fit: cover;
}

.principal blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1vw + 1rem, 1.85rem);
  line-height: 1.35;
  color: var(--navy);
}

.principal cite {
  font-style: normal;
  font-weight: 650;
  color: var(--navy);
}

.principal cite span {
  display: block;
  font-weight: 500;
  color: var(--muted);
}

.person img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius) var(--radius) 0 0;
}

.person div {
  padding: 0.95rem 1rem 1.1rem;
}

.houses {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr 1fr;
}

.houses li {
  padding: 1rem;
  border-radius: 1rem;
  background: var(--navy);
  color: var(--white);
}

.houses li:nth-child(2) { background: #16385f; }
.houses li:nth-child(3) { background: #1a4a45; }
.houses li:nth-child(4) { background: #3e3420; }

.houses strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.houses span {
  color: var(--gold-light);
  font-size: 0.88rem;
}

.stage-list {
  display: grid;
  gap: 0.85rem;
}

.stage {
  display: grid;
  gap: 0.35rem;
  padding: 1.05rem 1rem;
  background: var(--white);
  border-left: 4px solid var(--gold);
  border-radius: 0.9rem;
  box-shadow: var(--shadow-soft);
}

.stage p {
  margin: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  gap: 0.85rem;
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 0.7rem;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1rem;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.85rem 0.95rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: inset 0 0 0 4px var(--white), inset 0 0 0 6px var(--teal);
}

.date-card time {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 0.7rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.4rem;
  padding: 0.9rem 1rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 650;
  color: var(--navy);
}

.faq-icon {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  position: relative;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.faq-icon::before {
  top: 0.45rem;
  left: 0;
  width: 100%;
  height: 2px;
}

.faq-icon::after {
  left: 0.45rem;
  top: 0;
  width: 2px;
  height: 100%;
}

.faq-item.is-open .faq-icon::after {
  transform: scaleY(0);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: var(--muted);
}

.notice {
  padding: 0.95rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 0.9rem;
  background: rgba(198, 161, 91, 0.18);
  color: var(--navy);
}

.notice p {
  margin: 0;
}

/* Forms and contact
   ========================================================================== */

.form {
  display: grid;
  gap: 0.95rem;
  padding: 1.1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-grid {
  display: grid;
  gap: 0.95rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field span,
.field legend {
  font-weight: 620;
  font-size: 0.95rem;
}

.req::after {
  content: " *";
  color: var(--gold-deep);
}

input,
select,
textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(14, 39, 68, 0.2);
  border-radius: 0.8rem;
  background: var(--paper);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(198, 161, 91, 0.45);
  outline-offset: 1px;
  border-color: var(--gold-deep);
  background: var(--white);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--error);
  background: #fff7f7;
}

.field-error {
  min-height: 1.1rem;
  margin: 0;
  color: var(--error);
  font-size: 0.85rem;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.form-success {
  padding: 1.4rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-success h3 {
  color: var(--ok);
}

.form-success p:last-child {
  margin-bottom: 0;
}

.map-placeholder {
  min-height: 18rem;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(14, 39, 68, 0.55), rgba(14, 39, 68, 0.62)),
    repeating-linear-gradient(0deg, transparent, transparent 26px, rgba(255, 255, 255, 0.16) 27px),
    repeating-linear-gradient(90deg, transparent, transparent 26px, rgba(255, 255, 255, 0.16) 27px),
    #1c6d78;
}

.map-card {
  max-width: 22rem;
  padding: 1.2rem;
  text-align: center;
  background: var(--white);
  border-radius: 1rem;
  color: var(--navy);
}

.map-card p {
  color: var(--muted);
}

.map-card .btn {
  margin-top: 0.4rem;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 650;
}

.socials a:hover {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
}

.socials.on-light a {
  color: var(--navy);
  border-color: rgba(14, 39, 68, 0.22);
}

.socials.on-light a:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.contact-point a {
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
}

.contact-point a:hover {
  color: var(--gold-deep);
}

.contact-point h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Articles */
.article + .article {
  margin-top: 1.25rem;
}

.article-media {
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--sand);
}

.article {
  overflow: hidden;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* CTA and footer
   ========================================================================== */

.cta-band {
  background:
    radial-gradient(circle at left top, rgba(198, 161, 91, 0.25), transparent 28%),
    var(--navy);
  color: #e6edf5;
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  max-width: 38rem;
  color: #d5deea;
}

.site-footer {
  background: var(--navy-900);
  color: #c9d3df;
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.site-footer .brand {
  margin-bottom: 0.9rem;
}

.site-footer .brand strong,
.site-footer .brand:hover,
.site-footer .brand:hover strong {
  color: var(--white);
}

.site-footer .brand small {
  color: var(--gold-light);
}

.site-footer h2 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--gold-light);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-grid {
  display: grid;
  gap: 1.8rem;
}

.footer-brand p {
  max-width: 26rem;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
  flex-wrap: wrap;
  padding-block: 1rem;
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

.to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 80;
  width: 2.9rem;
  height: 2.9rem;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--gold);
  color: var(--navy-900);
}

/* Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 16, 28, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  width: min(1100px, 100%);
}

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 70vh;
  max-height: 70dvh;
  margin-inline: auto;
  border-radius: 0.8rem;
  object-fit: contain;
  background: #000;
}

.lightbox figcaption {
  margin-top: 0.75rem;
  color: var(--white);
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  min-width: 2.75rem;
  min-height: 2.75rem;
  font-size: 1.4rem;
  line-height: 1;
}

.lightbox-close {
  top: -0.4rem;
  right: 0;
}

.lightbox-prev,
.lightbox-next {
  top: 42%;
}

.lightbox-prev { left: 0.25rem; }
.lightbox-next { right: 0.25rem; }

/* ==========================================================================
   Small mobile: 320px – 480px
   ========================================================================== */

@media (max-width: 480px) {
  .container {
    padding-inline: 0.9rem;
  }

  .topbar {
    font-size: 0.78rem;
  }

  .topbar-links li:nth-child(2) {
    display: none;
  }

  .brand small {
    letter-spacing: 0.08em;
  }

  .hero {
    padding-top: 1.4rem;
  }

  .hero-actions .btn,
  .cta-actions .btn,
  .form .btn,
  .map-card .btn {
    width: 100%;
  }

  .section-head {
    margin-bottom: 1.25rem;
  }

  .trust-row,
  .stats-grid,
  .houses {
    gap: 0.55rem;
  }

  .stat {
    padding: 0.85rem 0.7rem;
  }

  .card-body,
  .news-card,
  .feature,
  .form {
    padding: 0.95rem;
  }

  .gallery-grid {
    gap: 0.45rem;
  }

  .gallery-card figcaption {
    font-size: 0.78rem;
    padding-bottom: 0.55rem;
  }

  .filters {
    gap: 0.4rem;
  }

  .filter {
    flex: 1 1 auto;
  }

  .lightbox {
    padding: 3.2rem 0.6rem 1rem;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: -0.2rem;
  }

  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }

  .lightbox img {
    max-height: 58vh;
    max-height: 58dvh;
  }

  .footer-bottom-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ==========================================================================
   Mobile: 481px – 767px
   ========================================================================== */

@media (min-width: 481px) and (max-width: 767px) {
  .container {
    padding-inline: 1.15rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .stats-grid {
    gap: 0.85rem;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .contact-points,
  .houses,
  .date-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
}

/* ==========================================================================
   Tablet: 768px – 1024px
   ========================================================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    padding-inline: 1.5rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-visual img,
  .split-media img {
    aspect-ratio: 16 / 11;
  }

  .split,
  .vision-grid,
  .news-layout {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
  }

  .news-layout {
    align-items: start;
  }

  .trust-row,
  .stats-grid,
  .houses {
    grid-template-columns: repeat(4, 1fr);
  }

  .feature-grid,
  .card-grid,
  .quote-grid,
  .team-grid,
  .dept-grid,
  .method-grid,
  .achievement-grid,
  .date-grid,
  .steps,
  .contact-points {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }

  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .span-2 {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .principal {
    grid-template-columns: 0.7fr 1.3fr;
    gap: 1.75rem;
  }

  html.js .site-nav {
    width: min(24rem, 86vw);
  }
}

/* ==========================================================================
   Desktop navigation shared by laptop and large screens
   ========================================================================== */

@media (min-width: 1025px) {
  .nav-backdrop {
    display: none;
  }

  html.js .nav-toggle {
    display: none;
  }

  html.js .site-nav,
  .site-nav {
    position: static;
    transform: none;
    visibility: visible;
    display: flex;
    align-items: center;
    gap: 0.35rem 0.85rem;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  html.js .site-nav ul,
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem 0.7rem;
  }

  html.js .site-nav li a,
  .site-nav a {
    display: inline-block;
    min-height: 0;
    padding: 0.35rem 0.1rem;
    border-bottom: 0;
    box-shadow: none;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .site-nav a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--gold);
    padding-bottom: 0.2rem;
  }

  html.js .nav-cta {
    width: auto;
    margin-top: 0;
    margin-left: 0.35rem;
    min-height: 2.7rem;
    padding-inline: 1rem;
  }

  .header-inner {
    flex-wrap: nowrap;
    gap: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 2.5rem;
  }

  .hero-visual img {
    aspect-ratio: 5 / 4;
    min-height: 26rem;
  }

  .hero-badge {
    position: absolute;
    left: -1.4rem;
    bottom: 1.4rem;
    margin-top: 0;
    max-width: 15rem;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
  }

  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split.reverse .split-media {
    order: -1;
  }

  .news-layout {
    grid-template-columns: 1.45fr 0.8fr;
    gap: 2rem;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 0.82fr 1.18fr;
    gap: 2rem;
    align-items: start;
  }

  .vision-grid,
  .principal {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
    align-items: center;
  }

  .form {
    padding: 1.4rem;
  }

  .form-grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .span-2 {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Laptop: 1025px – 1440px
   ========================================================================== */

@media (min-width: 1025px) and (max-width: 1440px) {
  :root {
    --container: 1140px;
  }

  .container {
    padding-inline: 1.25rem;
  }

  .feature-grid,
  .quote-grid,
  .team-grid,
  .dept-grid,
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .achievement-grid,
  .date-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid,
  .trust-row,
  .houses {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 2rem;
  }

  .contact-points {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1025px) and (max-width: 1180px) {
  .site-nav a,
  html.js .site-nav li a {
    font-size: 0.8rem;
  }

  html.js .site-nav ul,
  .site-nav ul {
    gap: 0.1rem 0.4rem;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  html.js .nav-cta {
    padding-inline: 0.75rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   Large desktop: 1441px and above
   ========================================================================== */

@media (min-width: 1441px) {
  :root {
    --container: 1240px;
    --space: 6.5rem;
  }

  .container {
    padding-inline: 1.5rem;
  }

  body {
    font-size: 1.125rem;
  }

  .site-nav a,
  html.js .site-nav li a {
    font-size: 1rem;
  }

  .hero {
    padding-block: 4.5rem 3.5rem;
  }

  .hero-grid {
    gap: 4rem;
  }

  .hero-visual img {
    min-height: 32rem;
  }

  .feature-grid,
  .quote-grid,
  .team-grid,
  .method-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .card-grid,
  .dept-grid,
  .achievement-grid,
  .date-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }

  .steps {
    grid-template-columns: repeat(5, 1fr);
  }

  .stats-grid,
  .trust-row,
  .houses {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.05fr;
    gap: 2.5rem;
  }

  .page-hero {
    padding-block: 5rem;
  }

  .contact-points {
    grid-template-columns: 1fr 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .card:hover,
  .news-card:hover,
  .person:hover,
  .card:hover .card-media img,
  .gallery-card:hover img {
    transform: none;
  }
}

/* ==========================================================================
   Distinct visual system
   Sharp editorial layout: full-bleed hero, terracotta, square corners.
   These rules sit last so they replace the earlier navy-and-gold styling.
   ========================================================================== */

body {
  background: var(--paper);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.45rem;
  background: var(--gold);
  vertical-align: 0.12em;
}

.topbar {
  background: var(--gold);
  color: #fff;
}

.topbar a,
.topbar a:hover {
  color: #fff;
}

.header-bar {
  background: #fffcf8;
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled .header-bar {
  border-bottom-color: var(--line);
}

.brand strong {
  font-family: var(--sans);
  font-weight: 750;
  letter-spacing: -0.03em;
}

.btn,
.filter,
.avatar,
.socials a,
.event time,
.step-num {
  border-radius: 0;
}

.btn-primary,
.site-nav a.nav-cta,
.site-nav a.nav-cta:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-primary:hover,
.site-nav a.nav-cta:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.btn-secondary {
  border-radius: 0;
  border-color: var(--ink);
  color: var(--ink);
}

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

.hero {
  position: relative;
  isolation: isolate;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  padding: 0;
  background: #12110f;
  overflow: hidden;
}

.hero-grid {
  display: block;
  position: static;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
}

.hero-visual img,
.hero .hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(18, 17, 15, 0.15) 0%, rgba(18, 17, 15, 0.72) 48%, rgba(18, 17, 15, 0.92) 100%);
}

.hero .container {
  position: static;
  z-index: auto;
  padding-top: 6.5rem;
  padding-bottom: 2.75rem;
}

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

.hero h1,
.hero .lede,
.hero-badge strong,
.hero-badge span {
  color: #fff;
}

.hero .eyebrow {
  color: #ffd2c4;
}

.hero .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.hero .btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}

.hero .btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background: transparent;
}

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

.hero-badge {
  position: static;
  left: auto;
  bottom: auto;
  max-width: none;
  margin-top: 1.6rem;
  padding: 0.9rem 0 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.trust {
  background: var(--ink);
  padding-block: 1.15rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.4rem;
}

.trust-row li {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #f4f0e8;
  text-align: left;
  font-weight: 650;
}

.trust-row li::before {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.45rem;
  background: var(--gold);
}

.stat,
.feature,
.card,
.quote,
.person,
.dept,
.method,
.achievement,
.date-card,
.criterion,
.step,
.news-card,
.article,
.contact-point,
.vision-card,
.event,
.faq-item,
.form,
.form-success,
.checklist li,
.stage {
  border-radius: 0;
  box-shadow: none;
}

.stat {
  background: transparent;
  border: 0;
  border-top: 3px solid var(--ink);
  padding-inline: 0;
}

.card-media,
.hero-visual img,
.split-media img,
.principal img,
.person img,
.article-media,
.gallery-card,
.gallery-card img {
  border-radius: 0;
}

.feature-icon,
.avatar,
.step-num {
  border-radius: 0;
}

.feature-icon {
  background: #f6dfd6;
  color: var(--gold-deep);
}

.card:hover,
.news-card:hover,
.person:hover {
  transform: none;
  box-shadow: none;
  outline: 1px solid var(--ink);
}

.page-hero {
  background: transparent;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.page-hero .lede {
  color: var(--ink);
}

.page-hero .lede {
  color: var(--muted);
}

.page-hero .eyebrow {
  color: var(--gold-deep);
}

.breadcrumb a {
  color: var(--gold-deep);
}

.breadcrumb a:hover,
.breadcrumb span[aria-current="page"] {
  color: var(--ink);
}

.gallery-card {
  background: transparent;
  overflow: visible;
}

.gallery-card img {
  aspect-ratio: 4 / 5;
}

.gallery-card figcaption {
  position: static;
  padding: 0.55rem 0 0;
  background: transparent;
  color: var(--ink);
  pointer-events: auto;
}

.filter {
  border-radius: 0;
}

.filter.is-active,
.filter:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.quote {
  border-left: 4px solid var(--gold);
}

.quote blockquote {
  font-family: var(--serif);
}

.avatar {
  background: var(--gold);
  color: #fff;
}

.houses li,
.houses li:nth-child(2),
.houses li:nth-child(3),
.houses li:nth-child(4) {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
}

.houses span {
  color: var(--gold-deep);
}

.event time {
  background: var(--gold);
  color: #fff;
}

.cta-band {
  background: var(--ink);
}

.cta-band .eyebrow {
  color: #ffd2c4;
}

.cta-band .btn-primary {
  background: var(--gold);
  color: #fff;
}

.cta-band .btn-primary:hover {
  background: #fff;
  color: var(--ink);
}

.site-footer {
  background: #efe6da;
  color: #3c3832;
  border-top: 6px solid var(--gold);
}

.site-footer h2,
.site-footer a,
.site-footer .brand strong,
.site-footer .brand:hover,
.site-footer .brand:hover strong {
  color: var(--ink);
}

.site-footer .brand small,
.site-footer a:hover {
  color: var(--gold-deep);
}

.site-footer .socials a {
  color: var(--ink);
  border-color: rgba(23, 21, 18, 0.25);
}

.site-footer .socials a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.footer-bottom {
  border-top-color: rgba(23, 21, 18, 0.12);
}

.to-top {
  border-radius: 0;
  background: var(--gold);
  color: #fff;
}

.to-top:hover {
  background: var(--ink);
  color: #fff;
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--gold);
}

html.js .site-nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--gold);
}

input,
select,
textarea,
.map-card,
.map-placeholder {
  border-radius: 0;
}

@media (min-width: 768px) {
  .gallery-card img {
    aspect-ratio: 1 / 1;
  }
}

@media (min-width: 1025px) {
  .hero {
    align-items: center;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(18, 17, 15, 0.9) 0%, rgba(18, 17, 15, 0.62) 46%, rgba(18, 17, 15, 0.12) 100%);
  }

  .hero .container {
    padding-top: 7rem;
    padding-bottom: 4rem;
  }

  .hero-grid {
    display: block;
    grid-template-columns: none;
  }

  .hero-visual img,
  .hero .hero-visual img {
    min-height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }

  .hero-badge {
    position: static;
    left: auto;
    bottom: auto;
    margin-top: 1.6rem;
  }

  html.js .site-nav a[aria-current="page"],
  .site-nav a[aria-current="page"] {
    box-shadow: inset 0 -2px 0 var(--gold);
  }
}
