:root {
  --navy-950: #06152f;
  --navy-900: #0a2148;
  --navy-800: #103566;
  --blue-700: #145cc8;
  --blue-600: #2175e5;
  --blue-100: #e9f3ff;
  --blue-50: #f5f9ff;
  --gold-500: #dca83a;
  --gold-100: #fff4d7;
  --ink: #12213a;
  --muted: #5f6e83;
  --line: #dbe4ef;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --success: #0d7d5b;
  --danger: #b42318;
  --warning: #9a6509;
  --shadow-sm: 0 8px 24px rgba(10, 33, 72, 0.08);
  --shadow-md: 0 18px 52px rgba(10, 33, 72, 0.13);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1180px;
  --text-scale: 1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: calc(16px * var(--text-scale));
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

body.high-contrast {
  --navy-950: #000000;
  --navy-900: #061333;
  --navy-800: #0a285c;
  --blue-700: #004bcc;
  --blue-600: #005ee8;
  --blue-100: #dceaff;
  --blue-50: #f0f6ff;
  --gold-500: #ffcc45;
  --ink: #000000;
  --muted: #26364c;
  --line: #77869a;
}

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

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #f0b93d;
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy-950);
  font-family: Poppins, Montserrat, Inter, "Segoe UI", sans-serif;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.85rem);
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 3rem);
}

h3 {
  font-size: clamp(1.12rem, 1.8vw, 1.4rem);
}

p {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  color: #fff;
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

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

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--surface-soft);
}

.section-blue {
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(64, 148, 255, 0.28), transparent 34%),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
}

.section-blue h2,
.section-blue h3,
.section-blue p {
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: var(--gold-500);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  max-width: 680px;
  margin: 0 auto;
}

.topbar {
  color: #dce8fb;
  background: var(--navy-950);
  font-size: 0.79rem;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-info,
.access-tools {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-info a,
.topbar-info span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar svg {
  width: 15px;
  height: 15px;
}

.access-tools button {
  min-width: 30px;
  min-height: 30px;
  padding: 2px 7px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 228, 239, 0.9);
  box-shadow: 0 4px 20px rgba(10, 33, 72, 0.05);
  backdrop-filter: blur(14px);
}

.masthead {
  min-height: 98px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 300px;
}

.brand-logo-wrap {
  width: 70px;
  height: 70px;
  flex: 0 0 auto;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  line-height: 1.2;
}

.brand-copy strong {
  display: block;
  max-width: 430px;
  color: var(--navy-950);
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(0.88rem, 1.6vw, 1.13rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-copy span {
  display: block;
  margin-top: 3px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 700;
}

.brand-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
}

.desktop-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.main-nav {
  border-top: 1px solid var(--line);
}

.nav-inner {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav-link {
  position: relative;
  padding: 16px 17px 15px;
  color: #30405a;
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-link::after {
  position: absolute;
  right: 17px;
  bottom: 8px;
  left: 17px;
  height: 2px;
  content: "";
  background: var(--blue-700);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-700);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 19px;
  color: #fff;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--blue-700);
  box-shadow: 0 8px 20px rgba(20, 92, 200, 0.2);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  background: var(--blue-600);
  box-shadow: 0 12px 26px rgba(20, 92, 200, 0.28);
  transform: translateY(-2px);
}

.btn svg {
  width: 17px;
  height: 17px;
}

.btn-secondary {
  color: var(--navy-950);
  border-color: var(--line);
  background: #fff;
  box-shadow: none;
}

.btn-secondary:hover {
  color: var(--blue-700);
  background: var(--blue-50);
}

.btn-gold {
  color: var(--navy-950);
  background: var(--gold-500);
  box-shadow: 0 9px 22px rgba(220, 168, 58, 0.28);
}

.btn-gold:hover {
  background: #efba47;
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.44);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.btn:disabled,
.btn.is-disabled {
  color: #77869a;
  border-color: var(--line);
  background: #edf1f6;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.hero {
  position: relative;
  min-height: min(720px, 76vh);
  display: grid;
  overflow: hidden;
  align-items: center;
  background: var(--navy-950);
}

.hero-media,
.hero-media::after {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(4, 18, 43, 0.78) 0%, rgba(5, 31, 73, 0.60) 48%, rgba(4, 22, 53, 0.15) 100%),
    linear-gradient(0deg, rgba(4, 18, 43, 0.26), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 790px;
  padding: 94px 0 108px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  padding: 7px 11px;
  color: #fbe7af;
  border: 1px solid rgba(255, 222, 132, 0.32);
  border-radius: 999px;
  background: rgba(220, 168, 58, 0.12);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff;
  font-size: clamp(2.45rem, 5.2vw, 5rem);
}

.hero h1 span {
  display: block;
  color: #9ecbff;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 30px;
  color: #dce8f8;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.temp-asset-note {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 16px;
  padding: 6px 10px;
  color: #eff6ff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(4, 18, 43, 0.64);
  font-size: 0.7rem;
  backdrop-filter: blur(8px);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 74px;
  color: #fff;
  background:
    radial-gradient(circle at 80% 20%, rgba(55, 132, 227, 0.36), transparent 34%),
    linear-gradient(140deg, var(--navy-950), var(--navy-800));
}

.page-hero::after {
  position: absolute;
  right: -100px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  content: "";
  opacity: 0.18;
  border: 1px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 52px transparent, 0 0 0 53px #fff, 0 0 0 105px transparent, 0 0 0 106px #fff;
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 830px;
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
}

.page-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: #dce8f8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: #bcd4f2;
  font-size: 0.82rem;
}

.breadcrumb a:hover {
  color: #fff;
}

.status-strip {
  color: #734d08;
  border-bottom: 1px solid #f1d68f;
  background: var(--gold-100);
}

.status-strip .container {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding-block: 9px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-strip svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.highlights-wrap {
  position: relative;
  z-index: 4;
  margin-top: -58px;
}

.grid {
  display: grid;
  gap: 24px;
}

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

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

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

.highlight-card {
  min-height: 148px;
  padding: 25px;
  border: 1px solid rgba(219, 228, 239, 0.8);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
}

.highlight-card .icon-box {
  float: right;
}

.highlight-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.highlight-card strong {
  display: block;
  color: var(--navy-950);
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.22;
}

.highlight-card p {
  margin: 7px 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
}

.icon-box {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--blue-700);
  border-radius: 13px;
  background: var(--blue-100);
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.split {
  display: grid;
  align-items: center;
  gap: clamp(36px, 6vw, 78px);
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.split.reverse {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.media-frame {
  position: relative;
  min-height: 450px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--blue-100);
  box-shadow: var(--shadow-md);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.media-frame .temp-asset-note {
  right: 14px;
  bottom: 14px;
}

.accent-card {
  position: absolute;
  right: -18px;
  bottom: 32px;
  max-width: 230px;
  padding: 17px;
  color: #fff;
  border: 6px solid #fff;
  border-radius: 15px;
  background: var(--blue-700);
  box-shadow: var(--shadow-md);
  font-weight: 800;
}

.content-copy h2 {
  margin-bottom: 18px;
}

.content-copy p {
  margin-bottom: 17px;
}

.check-list {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 22px 0 28px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #34445d;
}

.check-list li::before {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  display: grid;
  margin-top: 2px;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--success);
  content: "✓";
  font-size: 0.7rem;
  font-weight: 900;
}

.premium-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.premium-card:hover {
  border-color: #b8cbe3;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.premium-card h3 {
  margin: 17px 0 10px;
}

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

.vision-card {
  min-height: 290px;
  background: #E9F3FF;
}

.vision-card > * {
  position: relative;
  z-index: 2;
}

.vision-card::after {
  display: none;
}

.quote-card {
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(140deg, rgba(233, 243, 255, 0.8), rgba(255, 255, 255, 0.96)),
    #fff;
}

.quote-mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--blue-700);
  border-radius: 14px;
  background: var(--blue-100);
  font-family: Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
}

.signature {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.signature strong {
  display: block;
  color: var(--navy-950);
  font-size: 1.08rem;
}

.signature span {
  color: var(--blue-700);
  font-size: 0.84rem;
  font-weight: 700;
}

.image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.image-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.image-card-media {
  position: relative;
  height: 225px;
  overflow: hidden;
  background: var(--blue-100);
}

.image-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.image-card:hover img {
  transform: scale(1.04);
}

.image-card-media .temp-asset-note {
  right: 9px;
  bottom: 9px;
  padding: 4px 7px;
  font-size: 0.61rem;
}

.image-card-body {
  padding: 23px;
}

.image-card-body h3 {
  margin-bottom: 8px;
}

.image-card-body p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.tag {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--blue-700);
  border-radius: 999px;
  background: var(--blue-100);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: var(--blue-700);
  font-size: 0.87rem;
  font-weight: 800;
}

.text-link:hover {
  color: var(--navy-800);
}

.table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.table-scroll {
  overflow-x: auto;
  scrollbar-color: #a6b9d0 #eef3f8;
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 16px 18px;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
  font-size: 0.86rem;
}

th {
  color: #fff;
  background: var(--navy-900);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

tbody tr:nth-child(even) {
  background: #f8fafd;
}

tbody tr:hover {
  background: var(--blue-50);
}

tbody tr:last-child td {
  border-bottom: 0;
}

.table-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px 18px;
  color: #526177;
  border-top: 1px solid var(--line);
  background: #f8fafd;
  font-size: 0.8rem;
}

.table-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--blue-700);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.verified {
  color: #086447;
  background: #dff7ed;
}

.status-pill.pending {
  color: #8a5a05;
  background: #fff0c7;
}

.status-pill.info {
  color: #1456a0;
  background: #e2efff;
}

.facility-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.facility-card .icon-box {
  margin-bottom: 28px;
}

.quick-links-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-link-card {
  min-height: 105px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease;
}

.quick-link-card:hover {
  border-color: var(--blue-600);
  transform: translateY(-3px);
}

.quick-link-card .icon-box {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
}

.quick-link-card strong {
  color: var(--navy-950);
  font-size: 0.86rem;
  line-height: 1.35;
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 180px;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #fff;
  border: 0;
  border-radius: 16px;
  background: var(--navy-900);
  cursor: zoom-in;
}

.gallery-item:nth-child(1),
.gallery-item:nth-child(6) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item:nth-child(4),
.gallery-item:nth-child(9) {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.055);
}

.gallery-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 44px 16px 13px;
  color: #fff;
  background: linear-gradient(transparent, rgba(4, 18, 43, 0.9));
  font-size: 0.8rem;
  font-weight: 800;
  text-align: left;
}

.gallery-label small {
  display: block;
  margin-top: 2px;
  color: #d9e7f7;
  font-size: 0.62rem;
  font-weight: 500;
}

.lightbox {
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(2, 10, 24, 0.92);
}

.lightbox.open {
  display: flex;
}

.lightbox figure {
  width: min(1080px, 100%);
  max-height: 90vh;
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
}

.lightbox figcaption {
  margin-top: 12px;
  color: #e8f2ff;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 65px 0;
  background: linear-gradient(135deg, #0a3473, #126ad4);
}

.cta-band::before {
  position: absolute;
  top: -110px;
  right: 5%;
  width: 310px;
  height: 310px;
  content: "";
  border: 55px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-copy {
  max-width: 700px;
}

.cta-copy h2 {
  margin-bottom: 10px;
  color: #fff;
}

.cta-copy p {
  margin-bottom: 0;
  color: #dcecff;
}

.info-table th {
  width: 34%;
}

.notice-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  color: #60440e;
  border: 1px solid #efd58f;
  border-radius: 14px;
  background: #fff8e5;
}

.notice-box.info {
  color: #164b88;
  border-color: #bbd8f9;
  background: #edf6ff;
}

.notice-box svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.notice-box p {
  margin: 0;
  color: inherit;
  font-size: 0.88rem;
}

.detail-section {
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.detail-section + .detail-section {
  margin-top: 28px;
}

.detail-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
}

.detail-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.mini-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--blue-50);
}

.mini-card h3 {
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.mini-card p {
  margin-bottom: 0;
  font-size: 0.84rem;
}

.certificate-card {
  min-height: 315px;
  display: flex;
  flex-direction: column;
}

.certificate-card dl {
  display: grid;
  gap: 9px;
  margin: 16px 0 24px;
}

.certificate-card dl div {
  display: grid;
  gap: 5px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 110px 1fr;
}

.certificate-card dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.certificate-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}

.certificate-card .button-row {
  margin-top: auto;
}

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

.staff-card {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.staff-avatar {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--blue-700), var(--navy-900));
  font-family: Poppins, Inter, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  overflow: hidden;
}

.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-avatar svg {
  width: 34px;
  height: 34px;
  stroke: currentColor;
}

.staff-avatar-fallback {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-block;
  background: rgba(255,255,255,0.92);
}


.staff-copy strong {
  display: block;
  color: var(--navy-950);
  font-size: 0.88rem;
  line-height: 1.35;
}

.staff-copy span {
  display: block;
  margin-top: 3px;
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 800;
}

.staff-copy small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.7rem;
}

.disclosure-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.search-field {
  position: relative;
  width: min(100%, 430px);
}

.search-field svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 19px;
  height: 19px;
  color: var(--muted);
  transform: translateY(-50%);
}

.search-field input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px 11px 43px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.document-title {
  min-width: 220px;
}

.document-title strong {
  display: block;
  color: var(--navy-950);
}

.document-title small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
}

.document-actions {
  display: flex;
  gap: 8px;
}

.btn-small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.75rem;
}

.contact-card {
  min-height: 215px;
}

.contact-card a {
  color: var(--blue-700);
  font-weight: 800;
}

.contact-layout {
  display: grid;
  align-items: start;
  gap: 30px;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.form-card {
  padding: clamp(25px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
}

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

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--navy-950);
  font-size: 0.8rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--ink);
  border: 1px solid #cbd7e5;
  border-radius: 9px;
  background: #fff;
}

.form-field textarea {
  min-height: 145px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--blue-600);
  outline: 3px solid rgba(33, 117, 229, 0.13);
}

.field-help,
.field-error {
  margin: 0;
  font-size: 0.72rem;
}

.field-error {
  color: var(--danger);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.form-status {
  display: none;
  margin-top: 17px;
  padding: 13px 15px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-status.show {
  display: block;
}

.form-status.success {
  color: #086447;
  background: #e2f8ef;
}

.form-status.error {
  color: #92261b;
  background: #fee9e7;
}

.map-placeholder {
  position: relative;
  min-height: 420px;
  display: grid;
  overflow: hidden;
  place-items: center;
  border-radius: var(--radius-lg);
  background: var(--navy-900);
}

.map-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
}

.map-placeholder::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(160deg, rgba(4, 18, 43, 0.38), rgba(4, 18, 43, 0.9));
}

.map-copy {
  position: relative;
  z-index: 2;
  max-width: 520px;
  padding: 35px;
  color: #fff;
  text-align: center;
}

.map-copy h2,
.map-copy p {
  color: #fff;
}

.map-copy p {
  color: #d7e6f8;
}

.admin-banner {
  padding: 18px;
  color: #164b88;
  border: 1px solid #bad8fa;
  border-radius: 13px;
  background: #eaf4ff;
}

.admin-banner strong {
  display: block;
  margin-bottom: 4px;
}

.admin-banner p {
  margin: 0;
  color: inherit;
  font-size: 0.84rem;
}

.admin-shell {
  display: grid;
  align-items: start;
  gap: 24px;
  grid-template-columns: 240px minmax(0, 1fr);
}

.admin-nav {
  position: sticky;
  top: 176px;
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-tab {
  padding: 11px 12px;
  color: #45566e;
  border: 0;
  border-radius: 8px;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.admin-tab:hover,
.admin-tab.active {
  color: var(--blue-700);
  background: var(--blue-100);
}

.admin-panel {
  display: none;
}

.admin-panel.active {
  display: block;
}

.admin-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-card + .admin-card {
  margin-top: 20px;
}

.admin-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.admin-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f9fbfd;
}

.admin-list strong {
  display: block;
  color: var(--navy-950);
  font-size: 0.84rem;
}

.admin-list small {
  color: var(--muted);
}

.site-footer {
  color: #c9d7e9;
  background: var(--navy-950);
}

.footer-main {
  display: grid;
  gap: 42px;
  padding: 72px 0 54px;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #fff;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.3;
}

.footer-column h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.05rem;
}

.footer-column p {
  color: #b8c8dc;
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-links a {
  color: #bfd0e4;
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-block: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 0.72rem;
}

.footer-bottom a {
  color: #fff;
}

.floating-contact {
  position: fixed;
  z-index: 820;
  right: 18px;
  bottom: 18px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--blue-700);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.floating-contact svg {
  width: 23px;
  height: 23px;
}

.call-popup {
  position: fixed;
  z-index: 815;
  right: 18px;
  bottom: 82px;
  width: min(310px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 14px;
  color: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(6, 21, 47, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.98);
  transform-origin: bottom right;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.call-popup.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.call-popup-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: var(--blue-700);
}

.call-popup-icon svg {
  width: 20px;
  height: 20px;
}

.call-popup-copy {
  min-width: 0;
}

.call-popup-copy strong {
  display: block;
  margin-bottom: 2px;
  font: 700 0.9rem/1.3 Poppins, Inter, sans-serif;
}

.call-popup-copy a {
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.call-popup-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 12px;
  color: #fff;
  border-radius: 10px;
  background: var(--blue-700);
  font: 700 0.72rem/1 Poppins, Inter, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.call-popup-action:hover,
.call-popup-copy a:hover {
  text-decoration: underline;
}

.call-popup-close {
  position: absolute;
  top: 5px;
  right: 7px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--muted);
  border: 0;
  background: transparent;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 480px) {
  .call-popup {
    grid-template-columns: 40px 1fr;
    padding-right: 14px;
  }

  .call-popup-action {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.no-results {
  display: none;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.no-results.show {
  display: block;
}

@media (max-width: 1080px) {
  .brand-copy strong {
    max-width: 350px;
  }

  .desktop-actions .btn-secondary {
    display: none;
  }

  .nav-link {
    padding-inline: 11px;
  }

  .quick-links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .topbar-inner {
    min-height: 48px;
  }

  .topbar-info span:last-child,
  .topbar-info a:nth-child(2) {
    display: none;
  }

  .masthead {
    min-height: 84px;
  }

  .brand-logo-wrap {
    width: 58px;
    height: 58px;
  }

  .brand-copy small,
  .desktop-actions {
    display: none;
  }

  .nav-toggle {
    position: relative;
    z-index: 1500;
    display: inline-flex;
  }

  /* Keep the mobile drawer above the dimmed page overlay.
     The drawer lives inside .site-header, so the header must sit above .nav-overlay. */
  .site-header {
    z-index: 1300;
  }

  .main-nav {
    position: fixed;
    z-index: 1200;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(88vw, 380px);
    overflow-y: auto;
    border: 0;
    background: #fff;
    box-shadow: -20px 0 60px rgba(2, 13, 32, 0.24);
    transform: translateX(105%);
    transition: transform 240ms ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  body.menu-open .nav-toggle {
    position: fixed;
    z-index: 1501;
    top: 16px;
    right: 16px;
    color: var(--navy-950);
    background: #fff;
    box-shadow: 0 8px 24px rgba(2, 13, 32, 0.16);
  }

  .nav-inner {
    min-height: 100%;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2px;
    padding: 80px 22px 30px;
  }

  .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 12px;
    color: #30405a;
    border-bottom: 1px solid var(--line);
    background: #fff;
    font-size: 0.95rem;
    opacity: 1;
    visibility: visible;
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--blue-700);
    background: var(--blue-50);
  }

  .nav-link::after {
    display: none;
  }

  .nav-mobile-cta {
    margin-top: 14px;
  }

  .nav-overlay {
    position: fixed;
    z-index: 1200;
    inset: 0;
    display: none;
    background: rgba(2, 10, 24, 0.58);
  }

  .nav-overlay.open {
    display: block;
  }

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

  .split,
  .split.reverse,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .reverse .content-copy {
    order: 2;
  }

  .reverse .media-frame,
  .reverse .detail-media {
    order: 1;
  }

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

  .gallery-grid {
    grid-auto-rows: 165px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .admin-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 66px 0;
  }

  .topbar-info a:first-child {
    font-size: 0.72rem;
  }

  .access-tools button:last-child {
    display: none;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-logo-wrap {
    width: 51px;
    height: 51px;
  }

  .brand-copy strong {
    max-width: 218px;
    font-size: 0.78rem;
  }

  .brand-copy span {
    font-size: 0.68rem;
  }

  .hero {
    min-height: 650px;
  }

  .hero-media::after {
    background: linear-gradient(90deg, rgba(4, 18, 43, 0.92), rgba(4, 28, 68, 0.72));
  }

  .hero-content {
    padding: 80px 0 118px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .temp-asset-note {
    right: 10px;
    bottom: 10px;
    font-size: 0.6rem;
  }

  .highlights-wrap {
    margin-top: -42px;
  }

  .grid-4,
  .grid-3,
  .grid-2,
  .staff-grid,
  .quick-links-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .highlight-card {
    min-height: 132px;
  }

  .media-frame {
    min-height: 360px;
  }

  .accent-card {
    right: 10px;
    bottom: 18px;
  }

  .image-card-media {
    height: 235px;
  }

  .gallery-grid {
    grid-auto-rows: 150px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(6) {
    grid-column: span 2;
  }

  .detail-section {
    padding: 24px;
  }

  .detail-media {
    min-height: 290px;
  }

  .disclosure-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field {
    width: 100%;
  }

  th,
  td {
    padding: 13px 14px;
  }

  .document-actions {
    flex-direction: column;
  }

  .document-actions .btn {
    width: 100%;
  }

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

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

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

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

@media print {
  .topbar,
  .site-header,
  .floating-contact,
  .cta-band,
  .site-footer,
  .button-row,
  .temp-asset-note {
    display: none !important;
  }

  .section,
  .page-hero {
    padding: 28px 0;
  }

  body {
    color: #000;
    background: #fff;
  }

  .premium-card,
  .table-card,
  .detail-section {
    break-inside: avoid;
    box-shadow: none;
  }
}

/* FINAL MOBILE NAV HARDENING — 2026-08-19
   Keeps the drawer above the overlay and forces readable/clickable menu links. */
@media (max-width: 860px) {
  .site-header {
    z-index: 2147483000 !important;
    backdrop-filter: none;
  }

  .nav-toggle,
  body.menu-open .nav-toggle {
    z-index: 2147483600 !important;
  }

  .main-nav {
    z-index: 2147483500 !important;
    isolation: isolate;
    background: #ffffff !important;
    color: #0a2148 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .main-nav .nav-inner {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 82px 22px 30px !important;
    background: #ffffff !important;
  }

  .main-nav .nav-link {
    position: relative;
    z-index: 2;
    width: 100% !important;
    display: flex !important;
    min-height: 52px;
    align-items: center;
    padding: 14px 12px !important;
    color: #0a2148 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #dbe4ef !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    color: #0f5ec7 !important;
    background: #f0f6ff !important;
  }

  .nav-overlay {
    z-index: 2147482000 !important;
  }
}

/* === EMRS Local Admin Studio === */
.admin-studio-page { background: var(--surface-soft); }
.admin-studio-hero { padding: 42px 0; color: #fff; background: linear-gradient(145deg, var(--navy-950), var(--navy-800)); }
.admin-studio-hero h1 { margin: 6px 0 10px; color: #fff; font-size: clamp(2rem, 4vw, 3.5rem); }
.admin-studio-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.82); }
.admin-studio-hero .eyebrow { color: #ffd56c; }
.admin-studio-hero-row { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.admin-studio-section { padding-top: 42px; }
.admin-studio-banner code, .admin-card code { padding:2px 6px; border-radius:6px; background:rgba(10,33,72,.08); }
.admin-studio-shell { align-items:start; }
.admin-studio-shell .admin-nav { position:sticky; top:18px; max-height:calc(100vh - 36px); overflow:auto; }
.admin-studio-panels { min-width:0; }
.admin-summary-grid { margin-top:22px; }
.admin-inline-actions { display:flex; align-items:flex-end; gap:10px; flex-wrap:wrap; }
.admin-editor-heading { margin-top:34px; }
.admin-text-editor-list { display:grid; gap:14px; }
.admin-text-field { display:grid; gap:7px; padding:15px; border:1px solid var(--line); border-radius:14px; background:var(--surface-soft); }
.admin-text-field label { color:var(--navy-900); font-size:.82rem; font-weight:800; }
.admin-text-field input, .admin-text-field textarea { width:100%; padding:11px 12px; color:var(--ink); background:#fff; border:1px solid var(--line); border-radius:10px; }
.admin-text-field textarea { min-height:92px; resize:vertical; }
.admin-sticky-save { position:sticky; bottom:12px; z-index:10; justify-content:flex-end; margin-top:24px; padding:12px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.94); box-shadow:var(--shadow-sm); backdrop-filter:blur(10px); }
.admin-colour-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; margin:22px 0; }
.admin-colour-field { display:grid; grid-template-columns:1fr 60px 120px; align-items:center; gap:10px; padding:13px; border:1px solid var(--line); border-radius:12px; background:var(--surface-soft); }
.admin-colour-field label { font-weight:800; color:var(--navy-900); }
.admin-colour-field input[type="color"] { width:54px; height:40px; padding:2px; border:1px solid var(--line); border-radius:8px; background:#fff; }
.admin-colour-field input[type="text"] { width:100%; padding:9px; border:1px solid var(--line); border-radius:8px; }

.admin-toggle-card { margin:14px 0 18px; padding:16px; border:1px solid var(--line); border-radius:14px; background:var(--surface-soft); }
.admin-toggle-row { display:flex; align-items:flex-start; gap:13px; cursor:pointer; }
.admin-toggle-row input[type="checkbox"] { flex:0 0 auto; width:22px; height:22px; min-height:0; margin:2px 0 0; padding:0; accent-color:var(--blue-700); }
.admin-toggle-row span { display:grid; gap:4px; color:var(--navy-950); }
.admin-toggle-row strong { font-size:.98rem; }
.admin-toggle-row small { color:var(--muted); font-weight:500; line-height:1.5; }
.admin-message-grid { margin-top:16px; }
.admin-message-quick-actions { margin:0 0 8px; }

.admin-media-preview { margin-top:22px; }
.admin-preview-box { margin-top:10px; width:min(100%,520px); overflow:hidden; border:1px solid var(--line); border-radius:16px; background:#fff; }
.admin-preview-box img { width:100%; max-height:300px; object-fit:cover; }
.admin-record-card { margin:16px 0; padding:18px; border:1px solid var(--line); border-radius:16px; background:var(--surface-soft); }
.admin-record-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
.admin-record-head > strong { color:var(--navy-900); }
.admin-record-head .button-row { margin:0; }
.admin-empty-copy { padding:18px; border:1px dashed var(--line); border-radius:14px; text-align:center; }
.page-picker-grid { align-items:end; }
@media (max-width: 900px) {
  .admin-studio-hero-row { align-items:flex-start; flex-direction:column; }
  .admin-colour-grid { grid-template-columns:1fr; }
  .admin-studio-shell .admin-nav { position:static; max-height:none; }
}
@media (max-width: 560px) {
  .admin-colour-field { grid-template-columns:1fr 52px 105px; }
  .admin-record-head { align-items:flex-start; flex-direction:column; }
}

/* Full-size image viewer */
.zoomable-image {
  cursor: zoom-in;
}
.zoomable-image:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 4px;
}
.lightbox.open {
  cursor: zoom-out;
}
.lightbox figure, .lightbox-close {
  cursor: default;
}

/* Gallery page and admin gallery enhancements */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -6px 0 30px;
}
.gallery-filter {
  padding: 10px 16px;
  color: var(--navy-800);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.gallery-filter:hover { transform: translateY(-1px); border-color: var(--blue-600); }
.gallery-filter.active { color: #fff; border-color: var(--blue-700); background: var(--blue-700); }
.gallery-item[hidden] { display: none !important; }
.gallery-empty { margin-top: 24px; text-align: center; }
.gallery-page-grid { min-height: 180px; }
.admin-gallery-preview { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.admin-gallery-preview img { width: 180px; height: 110px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
@media (max-width: 620px) {
  .gallery-filter-bar { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .gallery-filter { flex: 0 0 auto; }
}

/* Meaningful website icon controls */
.staff-name-line {
  display: block !important;
}

.staff-name-line > span:last-child {
  margin-top: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.admin-icon-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.admin-icon-control {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-soft);
}

.admin-icon-preview {
  flex: 0 0 48px;
}

.admin-icon-content {
  min-width: 0;
  flex: 1;
}

.admin-icon-content label {
  display: block;
  margin-bottom: 7px;
  color: var(--navy-950);
  font-size: 0.8rem;
  font-weight: 800;
}

.admin-icon-content select {
  width: 100%;
}

@media (max-width: 760px) {
  .admin-icon-grid { grid-template-columns: 1fr; }
}

.school-info-note {
  margin-top: 7px;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.55;
}

.admin-record-file-status {
  margin-top: 12px;
  display: flex;
  justify-content: flex-start;
}

.pdf-unavailable {
  opacity: 0.65;
  cursor: not-allowed !important;
  pointer-events: auto;
}


/* Public notices */
.notice-public-list {
  display: grid;
  gap: 18px;
}

.notice-public-card {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.notice-public-date {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--blue-50, #eef6ff);
  color: var(--blue-700);
  font-family: Poppins, Inter, sans-serif;
  font-size: .82rem;
  font-weight: 800;
  text-align: center;
}

.notice-public-copy h3 {
  margin: 0 0 8px;
  color: var(--navy-950);
  font-size: 1.12rem;
}

.notice-public-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.notice-public-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.notice-public-actions .btn svg {
  width: 16px;
  height: 16px;
}

.notice-empty-state {
  padding: 38px 24px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  text-align: center;
}

.notice-empty-state .icon-box {
  margin: 0 auto 14px;
}

.notice-empty-state h3 {
  margin: 0 0 8px;
  color: var(--navy-950);
}

.notice-empty-state p {
  margin: 0 auto;
  max-width: 620px;
  color: var(--text-soft);
}

@media (max-width: 720px) {
  .notice-public-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }

  .notice-public-date {
    width: fit-content;
    min-height: auto;
  }
}


/* Final desktop hero positioning */
@media (min-width: 1100px) and (max-width: 1499px) {
  .hero-content {
    transform: translateX(-80px);
    max-width: 735px;
  }
}
@media (min-width: 1500px) {
  .hero-content {
    transform: translateX(-150px);
    max-width: 735px;
  }
}

/* PDF full-screen image-style viewer */
.pdf-lightbox {
  position: fixed;
  z-index: 3300;
  inset: 0;
  display: none;
  align-items: stretch;
  justify-content: center;
  background: rgba(2, 10, 24, .96);
}
.pdf-lightbox.open { display: flex; }
.pdf-lightbox-frame-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.pdf-lightbox iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #2f2f2f;
}
.pdf-lightbox-close {
  position: fixed;
  z-index: 4;
  top: 18px;
  right: 18px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 2px solid #f0b429;
  border-radius: 50%;
  background: rgba(7, 20, 43, .88);
  font-size: 1.35rem;
  cursor: pointer;
}
.pdf-copyright-message {
  position: fixed;
  z-index: 4;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  max-width: calc(100% - 120px);
  padding: 8px 14px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(5, 20, 46, .82);
  font-size: .78rem;
  text-align: center;
  pointer-events: none;
}
.pdf-watermark-layer {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: .14;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='260' viewBox='0 0 420 260'%3E%3Cg transform='rotate(-28 210 130)'%3E%3Ctext x='34' y='132' fill='%230b2a60' font-family='Arial,sans-serif' font-size='23' font-weight='700'%3E%C2%A9 EMRS AHWA-DANG %E2%80%A2 VIEW ONLY%3C/text%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}
@media (max-width: 767px) {
  .pdf-lightbox-close { top: 10px; right: 10px; width: 44px; height: 44px; }
  .pdf-copyright-message { max-width: calc(100% - 28px); width: max-content; bottom: 8px; font-size: .68rem; }
}

/* Footer readability upgrade */
.site-footer .footer-links,
.site-footer .footer-links a,
.site-footer .footer-links li {
  font-size: 0.9rem;
  line-height: 1.7;
}
.site-footer .footer-bottom {
  font-size: 0.82rem;
}

/* MOBILE-ONLY FINAL FIXES — 2026-09-07
   1) stronger mobile school name, 2) results table fits without clipping,
   3) reliable PDF page-image viewer on mobile. Desktop is unchanged. */
@media (max-width: 767px) {
  .brand-copy strong {
    font-weight: 900 !important;
  }

  /* Keep the original five-column result table look but make every column fit. */
  .results-table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }
  .results-table th,
  .results-table td {
    min-width: 0 !important;
    padding: 13px 5px !important;
    overflow: visible !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
    line-height: 1.42;
  }
  .results-table th {
    font-size: 0.66rem !important;
    letter-spacing: 0.015em !important;
  }
  .results-table td {
    font-size: 0.77rem !important;
  }
  .results-table th:nth-child(1), .results-table td:nth-child(1) { width: 23%; }
  .results-table th:nth-child(2), .results-table td:nth-child(2) { width: 18%; }
  .results-table th:nth-child(3), .results-table td:nth-child(3) { width: 22%; }
  .results-table th:nth-child(4), .results-table td:nth-child(4) { width: 21%; }
  .results-table th:nth-child(5), .results-table td:nth-child(5) { width: 16%; text-align: center; }
  .results-table .status-pill {
    max-width: 100%;
    padding: 7px 6px !important;
    font-size: 0.70rem !important;
    white-space: nowrap !important;
  }
  .results-table.closest-table-fix { overflow: visible; }
  .table-scroll:has(.results-table) {
    overflow-x: hidden !important;
  }

  /* Mobile PDF viewer uses pre-rendered page images instead of browser PDF iframe. */
  .pdf-lightbox-frame-wrap {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    background: #e9edf3;
  }
  .pdf-lightbox iframe {
    display: none;
  }
  .pdf-mobile-pages {
    display: none;
    width: 100%;
    min-height: 100%;
    padding: 72px 10px 105px;
    box-sizing: border-box;
  }
  .pdf-mobile-pages.active {
    display: block;
  }
  .pdf-mobile-page {
    position: relative;
    width: min(100%, 860px);
    margin: 0 auto 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 18px rgba(2, 10, 24, 0.16);
  }
  .pdf-mobile-page img {
    display: block;
    width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
  }
  .pdf-watermark-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2 !important;
  }
  .pdf-lightbox-close,
  .pdf-copyright-message {
    z-index: 5 !important;
  }
}

@media (max-width: 430px) {
  .results-table th,
  .results-table td {
    padding-left: 4px !important;
    padding-right: 4px !important;
  }
  .results-table th { font-size: 0.62rem !important; }
  .results-table td { font-size: 0.73rem !important; }
  .results-table .status-pill { font-size: 0.66rem !important; padding-inline: 5px !important; }
}

/* Admin password visibility controls */
.password-input-wrap { position: relative; }
.password-input-wrap input { padding-right: 52px !important; }
.password-toggle {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; min-height: 0; padding: 0; border: 0; border-radius: 10px;
  display: inline-grid; place-items: center; background: transparent; color: var(--muted); cursor: pointer; box-shadow: none;
}
.password-toggle:hover, .password-toggle:focus-visible { background: var(--blue-50); color: var(--blue-700); outline: none; }
.password-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.password-toggle.is-visible { color: var(--blue-700); }
