@font-face {
  font-family: "Fraunces";
  src: url("../fonts/Fraunces.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1426;
  --navy-deep: #070e1a;
  --ivory: #f7f3eb;
  --ivory-dim: #ece6db;
  --teal: #2dd4bf;
  --teal-dim: rgba(45, 212, 191, 0.18);
  --ink: #152033;
  --muted: rgba(21, 32, 51, 0.62);
  --muted-on-dark: rgba(247, 243, 235, 0.62);
  --line: rgba(11, 20, 38, 0.12);
  --line-on-dark: rgba(247, 243, 235, 0.14);
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --wide: min(1180px, calc(100% - 2 * var(--space)));
  --header-h: 5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  background: var(--navy-deep);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--navy);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--teal);
  color: var(--navy);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 1rem;
}

.display {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 14ch;
  margin-bottom: 0.5em;
}

.lede {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  max-width: 38ch;
  color: var(--muted);
}

.section-intro {
  max-width: 42ch;
  color: var(--muted);
}

.section-number {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7.5rem);
  line-height: 0.85;
  color: rgba(11, 20, 38, 0.08);
  margin: 0;
  user-select: none;
}

.section-number--light {
  color: rgba(247, 243, 235, 0.1);
}

.muted {
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1rem;
}

.text-link:hover {
  color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.35rem;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: var(--navy);
}

.btn-primary:hover {
  background: #5eead4;
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.btn-sm {
  min-height: 2.2rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
}

.btn-danger {
  background: #8b2e2e;
  color: #fff;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  height: var(--header-h);
  color: var(--ivory);
  /* Solid navy — avoids ivory body showing through as a light strip */
  background: rgba(7, 14, 26, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-on-dark);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(7, 14, 26, 0.97);
}

.site-header__inner {
  width: var(--wide);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  color: var(--ivory);
  display: inline-flex;
  align-items: center;
}

.site-logo__mark {
  width: min(180px, 46vw);
  height: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.82;
}

.site-nav a:hover,
.site-nav a.is-active {
  opacity: 1;
  color: var(--teal);
}

.site-nav .nav-cta {
  border: 1px solid rgba(247, 243, 235, 0.35);
  padding: 0.45rem 0.9rem;
  opacity: 1;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ivory);
  position: relative;
  margin-inline: auto;
  transition: transform 0.25s var(--ease);
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }

.site-header.is-open .nav-toggle__bars {
  background: transparent;
}

.site-header.is-open .nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--ivory);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 14, 26, 0.45) 0%, rgba(7, 14, 26, 0.28) 35%, rgba(7, 14, 26, 0.82) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(45, 212, 191, 0.18), transparent 55%);
}

.orbital-ring {
  position: absolute;
  width: min(52vw, 520px);
  aspect-ratio: 1;
  right: -6%;
  top: 12%;
  border: 1px solid rgba(45, 212, 191, 0.35);
  border-radius: 50%;
  pointer-events: none;
  animation: orbit-spin 42s linear infinite;
}

.orbital-ring::before,
.orbital-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(247, 243, 235, 0.18);
  border-radius: 50%;
}

.orbital-ring::after {
  inset: 28%;
  border-color: rgba(45, 212, 191, 0.25);
}

.orbital-motif {
  position: absolute;
  width: min(42vw, 420px);
  right: 4%;
  top: 14%;
  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
  color: rgba(247, 243, 235, 0.75);
}

.orbital-motif__ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  transform-origin: 100px 100px;
  animation: orbit-spin 48s linear infinite;
}

.orbital-motif__ring--slow {
  stroke: var(--teal);
  stroke-opacity: 0.55;
  animation-duration: 72s;
  animation-direction: reverse;
}

.orbital-motif__core {
  fill: rgba(247, 243, 235, 0.92);
}

.orbital-motif__sat {
  fill: var(--teal);
  transform-origin: 100px 100px;
  animation: orbit-spin 48s linear infinite;
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.intro-band {
  width: var(--wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.intro-band__copy h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  max-width: 14ch;
}

.intro-band .section-intro {
  max-width: 42rem;
  font-size: 1.125rem;
}

.values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.values-list li {
  display: grid;
  gap: 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.values-list strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 550;
}

.values-list span {
  color: var(--muted);
}

.disclaimer {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.prose-blocks p + p {
  margin-top: 1em;
}

.breadcrumbs {
  width: var(--wide);
  margin: 0 auto 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumbs--on-dark {
  color: var(--muted-on-dark);
}

.page-hero > .breadcrumbs,
.sector-hero > .breadcrumbs,
.page-hero--article > .breadcrumbs {
  position: relative;
  z-index: 2;
  width: var(--wide);
  margin: 0 auto 1.25rem;
  padding-top: 0;
}

.page-hero--split > .breadcrumbs {
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 0.5rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.6rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.6rem;
  opacity: 0.45;
}

.breadcrumbs a:hover {
  color: var(--navy);
}

.breadcrumbs--on-dark a:hover {
  color: var(--teal);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: var(--wide);
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
}

.hero__content .lede {
  color: var(--muted-on-dark);
}

.hero__content .btn-ghost {
  color: var(--ivory);
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 7.5rem) 0;
}

.section > .section__header,
.section > .sector-index,
.section > .approach__list,
.section > .closing-cta,
.section > .manifesto-grid,
.section > .sector-overview,
.section > .perspective,
.section > .other-sectors,
.section > .insight-list,
.section > .contact-form,
.section > .prose-wrap,
.section > .filter-row,
.section > .empty-state,
.section > .pagination,
.section > .back-link,
.section > .flash {
  width: var(--wide);
  margin-inline: auto;
}

.section__header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section--ivory {
  background:
    radial-gradient(ellipse at 0% 0%, rgba(45, 212, 191, 0.08), transparent 40%),
    linear-gradient(180deg, var(--ivory) 0%, var(--ivory-dim) 100%);
}

.section--navy {
  background:
    radial-gradient(ellipse at 100% 0%, rgba(45, 212, 191, 0.12), transparent 45%),
    var(--navy);
  color: var(--ivory);
}

.section--navy .muted,
.section--navy .section-intro {
  color: var(--muted-on-dark);
}

.section--cta {
  background:
    linear-gradient(135deg, var(--navy-deep), #13233f 55%, #0d3a36);
  color: var(--ivory);
}

/* Sector interactive index */
.sector-index {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) 1.4fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}

.sector-index__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.sector-index__item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0.4rem;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
  transition: color 0.2s var(--ease), padding-left 0.25s var(--ease);
}

.sector-index__item:hover,
.sector-index__item.is-active {
  color: var(--navy);
  padding-left: 0.65rem;
}

.sector-index__item.is-active {
  background: linear-gradient(90deg, var(--teal-dim), transparent);
}

.sector-index__num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  opacity: 0.45;
}

.sector-index__name {
  font-weight: 600;
}

.sector-index__panel {
  display: none;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
  min-height: 320px;
}

.sector-index__panel.is-active {
  display: grid;
  animation: panel-in 0.45s var(--ease);
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.sector-index__copy h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 16ch;
}

.sector-index__image {
  overflow: hidden;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 92%);
}

.sector-index__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.8s var(--ease);
}

.sector-index__panel.is-active .sector-index__image img {
  transform: scale(1);
}

/* Approach */
.approach__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: var(--wide);
  margin-inline: auto;
  display: grid;
  gap: 0;
}

.approach__item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line-on-dark);
}

.approach__item:last-child {
  border-bottom: 1px solid var(--line-on-dark);
}

.approach__num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--teal);
}

.approach__item h3 {
  font-size: 1.55rem;
}

.approach__item p {
  color: var(--muted-on-dark);
  max-width: 52ch;
  margin: 0;
}

.closing-cta {
  text-align: left;
  max-width: 34rem;
}

.closing-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.closing-cta--compact {
  width: var(--wide);
  margin-inline: auto;
}

/* Page heroes */
.page-hero {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(45, 212, 191, 0.16), transparent 45%),
    linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #123048);
  color: var(--ivory);
  padding: calc(var(--header-h) + 4rem) 0 4rem;
}

.page-hero__copy,
.page-hero__aside,
.contact-details {
  width: var(--wide);
  margin-inline: auto;
}

.page-hero--split {
  display: grid;
  gap: 2rem;
}

.page-hero--split .page-hero__copy,
.page-hero--split .page-hero__aside,
.page-hero--split .contact-details {
  width: auto;
  margin: 0;
}

.page-hero--split {
  padding-inline: max(var(--space), calc((100% - 1180px) / 2));
  grid-template-columns: 1.2fr 0.9fr;
  align-items: end;
}

.page-hero .lede,
.page-hero .meta {
  color: var(--muted-on-dark);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.manifesto-block {
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.manifesto-block--wide {
  grid-column: 1 / -1;
}

.manifesto-block h2 {
  font-size: 2rem;
}

/* Sector overview / detail */
.sector-overview {
  display: flex;
  flex-direction: column;
}

.sector-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.sector-row:last-child {
  border-bottom: 1px solid var(--line);
}

.sector-row:hover .sector-row__go {
  color: var(--teal);
  transform: translateX(4px);
}

.sector-row__meta {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  align-items: start;
}

.sector-row__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: rgba(11, 20, 38, 0.35);
}

.sector-row h2 {
  font-size: 1.7rem;
  margin-bottom: 0.25em;
}

.sector-row p {
  margin: 0;
  color: var(--muted);
}

.sector-row__media {
  overflow: hidden;
  clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%);
}

.sector-row__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.sector-row:hover .sector-row__media img {
  transform: scale(1.04);
}

.sector-row__go {
  font-size: 1.5rem;
  transition: transform 0.25s var(--ease), color 0.25s var(--ease);
}

.sector-hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: grid;
  align-items: end;
  color: var(--ivory);
  overflow: hidden;
}

.sector-hero__media {
  position: absolute;
  inset: 0;
}

.sector-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sector-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 26, 0.25), rgba(7, 14, 26, 0.78));
}

.sector-hero__top {
  position: absolute;
  top: calc(var(--header-h) + 0.75rem);
  left: 0;
  right: 0;
  z-index: 2;
}

.sector-hero__top .breadcrumbs {
  margin-bottom: 0;
}

.sector-hero__content {
  position: relative;
  z-index: 1;
  width: var(--wide);
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
}

.sector-hero__content .lede {
  color: var(--muted-on-dark);
}

.perspective {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
}

.perspective .prose {
  max-width: 58ch;
  font-size: 1.12rem;
}

.other-sectors {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: var(--wide);
}

.other-sectors li {
  border-top: 1px solid var(--line-on-dark);
}

.other-sectors li:last-child {
  border-bottom: 1px solid var(--line-on-dark);
}

.other-sectors a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.15rem 0;
  text-decoration: none;
}

.other-sectors a:hover span:first-child {
  color: var(--teal);
}

/* Insights */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-chip {
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.4rem 0.85rem;
  font-size: 0.9rem;
}

.filter-chip.is-active,
.filter-chip:hover {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.insight-list {
  display: flex;
  flex-direction: column;
}

.insight-row {
  display: grid;
  grid-template-columns: 10rem 1fr minmax(0, 12rem);
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}

.insight-row:last-child {
  border-bottom: 1px solid var(--line);
}

.insight-row__meta .eyebrow {
  margin-bottom: 0.35rem;
}

.insight-row__meta time,
.insight-row__body p {
  color: var(--muted);
}

.insight-row h2 {
  font-size: 1.55rem;
}

.insight-row h2 a {
  text-decoration: none;
}

.insight-row h2 a:hover {
  color: var(--teal);
}

.insight-row__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.empty-state {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.pagination {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-top: 2rem;
}

.insight-figure {
  margin: 0;
  background: var(--navy);
}

.insight-figure img {
  width: min(1180px, 100%);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.prose-wrap {
  max-width: 42rem;
  font-size: 1.08rem;
}

.prose-wrap h2,
.prose-wrap h3 {
  margin-top: 1.6em;
}

.back-link {
  margin-top: 2.5rem;
}

/* Contact */
.contact-details {
  display: grid;
  gap: 1.25rem;
}

.small-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  opacity: 0.7;
}

.contact-form {
  max-width: 44rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.field--full {
  grid-column: 1 / -1;
}

.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 400;
}

.field--check input {
  width: auto;
  margin-top: 0.25rem;
}

.hp,
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.flash {
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  border-left: 3px solid;
}

.flash-success {
  background: rgba(45, 212, 191, 0.15);
  border-color: var(--teal);
}

.flash-error {
  background: rgba(180, 50, 50, 0.1);
  border-color: #b43232;
}

.error-page {
  min-height: 70vh;
  display: grid;
  align-content: center;
  padding-inline: max(var(--space), calc((100% - 1180px) / 2));
}

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 3.5rem 0 2.5rem;
  border-top: 1px solid var(--line-on-dark);
}

.site-footer__grid {
  width: var(--wide);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.site-footer__tagline {
  color: var(--muted-on-dark);
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__nav a {
  text-decoration: none;
  opacity: 0.8;
}

.site-footer__nav a:hover {
  opacity: 1;
  color: var(--teal);
}

.site-footer .muted {
  color: var(--muted-on-dark);
}

/* Reveal — visible by default without JS */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbital-ring,
  .orbital-motif__ring,
  .orbital-motif__sat,
  .js .reveal,
  .sector-index__panel.is-active,
  .sector-row__media img,
  .btn {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Admin */
.admin-body {
  background: #eef1f4;
  color: #1a2332;
  font-family: var(--font-body);
}

.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--navy);
  color: var(--ivory);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.admin-brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--ivory);
  padding: 0 0.5rem;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.admin-nav a {
  text-decoration: none;
  color: rgba(247, 243, 235, 0.75);
  padding: 0.55rem 0.65rem;
  border-radius: 4px;
}

.admin-nav a:hover,
.admin-nav a.is-active {
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal);
}

.admin-sidebar-foot {
  margin-top: auto;
  padding: 0.5rem;
  font-size: 0.9rem;
}

.admin-view-site {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--teal);
  text-decoration: none;
  font-size: 0.85rem;
}

.admin-main {
  padding: 1.5rem 1.75rem 3rem;
}

.admin-top h1 {
  font-size: 1.7rem;
  margin-bottom: 1rem;
}

.admin-content {
  max-width: 920px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.stat {
  background: #fff;
  border: 1px solid #d7dde5;
  padding: 1rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.stat span {
  color: #667487;
  font-size: 0.88rem;
}

.admin-panel,
.admin-form,
.admin-table {
  background: #fff;
  border: 1px solid #d7dde5;
}

.admin-panel {
  padding: 1.25rem;
}

.admin-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.admin-panel__head h2 {
  font-size: 1.15rem;
  margin: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid #e5e9ee;
}

.admin-table tr.is-new td {
  background: rgba(45, 212, 191, 0.08);
}

.admin-form {
  padding: 1.25rem;
  display: grid;
  gap: 0.9rem;
}

.admin-fieldset {
  border: 1px solid #d7dde5;
  padding: 0.85rem;
}

.admin-form-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.admin-actions form {
  display: inline;
}

.detail-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.detail-list div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.5rem;
}

.detail-list dt {
  font-weight: 600;
  margin: 0;
}

.detail-list dd {
  margin: 0;
}

.enquiry-message {
  white-space: pre-wrap;
  background: #f7f9fb;
  border: 1px solid #d7dde5;
  padding: 1rem;
  margin-bottom: 1rem;
}

.admin-login-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(45, 212, 191, 0.18), transparent 40%),
    var(--navy);
}

.admin-login__card {
  width: min(400px, calc(100% - 2rem));
  background: #fff;
  padding: 2rem;
  border: 1px solid #d7dde5;
}

.admin-login__card h1 {
  font-size: 1.6rem;
}

.admin-login__card form {
  display: grid;
  gap: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    background: rgba(7, 14, 26, 0.97);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem var(--space) 1.5rem;
    gap: 0;
    display: none;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line-on-dark);
  }

  .site-nav .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    justify-content: center;
  }

  .sector-index,
  .sector-index__panel.is-active,
  .page-hero--split,
  .manifesto-grid,
  .sector-row,
  .insight-row,
  .site-footer__grid,
  .admin-shell,
  .stat-grid,
  .form-grid,
  .section__header,
  .perspective {
    grid-template-columns: 1fr;
  }

  .sector-row__go {
    display: none;
  }

  .admin-shell {
    display: block;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .orbital-ring {
    width: 70vw;
    top: 8%;
    right: -20%;
    opacity: 0.7;
  }
}

@media (max-width: 640px) {
  .display {
    max-width: none;
  }

  .approach__item,
  .sector-row__meta,
  .detail-list div {
    grid-template-columns: 1fr;
  }

  .insight-row {
    grid-template-columns: 1fr;
  }
}
