:root {
  color-scheme: light;
  --ink: #15212d;
  --muted: #66717b;
  --deep: #071927;
  --navy: #0b253c;
  --blue: #214f68;
  --clay: #9a5f42;
  --gold: #caa45a;
  --gold-bright: #e4c878;
  --ivory: #fbf7ee;
  --paper: #f4efe5;
  --line: rgba(27, 43, 55, 0.16);
  --line-dark: rgba(255, 255, 255, 0.18);
  --shadow: 0 26px 90px rgba(7, 25, 39, 0.18);
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(251, 247, 238, 0.98), rgba(244, 239, 229, 0.98)),
    var(--paper);
  color: var(--ink);
  font-family: var(--serif);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(7, 25, 39, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 25, 39, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 70%, transparent);
}

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

a {
  color: inherit;
}

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

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

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 99;
  transform: translateY(-140%);
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--ivory);
  color: var(--deep);
  font-family: var(--sans);
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 58px);
  background: rgba(7, 25, 39, 0.72);
  color: rgba(255, 250, 240, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(228, 200, 120, 0.55);
  border-radius: 50%;
  background: rgba(228, 200, 120, 0.12);
  color: var(--gold-bright);
  font-size: 0.76rem;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.5vw, 30px);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 700;
}

nav a {
  color: rgba(255, 250, 240, 0.74);
  text-decoration: none;
}

nav a:hover {
  color: #fff7df;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--deep);
  color: var(--ivory);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34vh;
  background: linear-gradient(180deg, transparent, var(--paper));
  opacity: 0.98;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 30%, rgba(228, 200, 120, 0.13), transparent 25rem),
    linear-gradient(90deg, rgba(7, 25, 39, 0.96) 0%, rgba(7, 25, 39, 0.78) 44%, rgba(7, 25, 39, 0.24) 100%),
    linear-gradient(0deg, rgba(7, 25, 39, 0.95) 0%, rgba(7, 25, 39, 0) 50%);
}

.hero-media img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.hero-bangor {
  opacity: 0.88;
  object-position: center top;
  clip-path: polygon(0 0, 62% 0, 49% 100%, 0 100%);
}

.hero-stgallen {
  opacity: 0.72;
  object-position: center;
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 34% 100%);
  mix-blend-mode: screen;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(120px, 18vh, 190px) 0 clamp(58px, 12vh, 110px);
}

.eyebrow,
.section-kicker,
.form-header span,
.milestone span,
.pathway-card span,
.era {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(2.25rem, 5.4vw, 5.4rem);
  font-weight: 500;
  line-height: 0.93;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: clamp(1.18rem, 1.8vw, 1.45rem);
  line-height: 1.15;
}

p {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.68;
}

.lead {
  max-width: 720px;
  color: rgba(255, 250, 240, 0.86);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.hero-reasons {
  width: min(980px, 100%);
  margin-top: clamp(28px, 5vw, 54px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--gold-bright);
  border-radius: 10px;
  background: rgba(7, 25, 39, 0.46);
  backdrop-filter: blur(12px);
  box-shadow: 0 22px 70px rgba(7, 25, 39, 0.22);
}

.hero-reasons h2 {
  margin-bottom: 22px;
  color: #fff7df;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero-reasons ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-reasons li {
  display: grid;
  gap: 6px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-reasons strong {
  color: #fffaf0;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.18;
}

.hero-reasons span {
  color: rgba(255, 250, 240, 0.68);
  font-family: var(--sans);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--gold-bright);
  color: #102235;
  box-shadow: 0 16px 40px rgba(228, 200, 120, 0.22);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fffaf0;
}

.section-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(76px, 12vw, 150px) 0;
}

.mandate-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 0.48fr);
  gap: clamp(32px, 8vw, 110px);
  align-items: end;
}

.mandate-copy {
  max-width: 860px;
}

.mandate-note {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 252, 245, 0.72);
  box-shadow: 0 20px 70px rgba(7, 25, 39, 0.08);
}

.mandate-note span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mandate-note strong {
  display: block;
  color: var(--navy);
  font-size: 1.55rem;
  line-height: 1.05;
}

.mandate-note p {
  margin: 18px 0 0;
  font-size: 0.98rem;
}

.bridge-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(40px, 8vw, 100px) 0 clamp(78px, 12vw, 150px);
}

.bridge-media {
  position: relative;
  min-height: 660px;
}

.image-panel {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #102235;
  box-shadow: var(--shadow);
}

.image-panel img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
}

.image-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 25, 39, 0.5), transparent 42%);
}

.image-panel figcaption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 1;
  color: #fffaf0;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-large {
  inset: 0 auto auto 0;
  width: 72%;
  height: 520px;
}

.panel-offset {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 390px;
  border: 10px solid var(--paper);
}

.bridge-copy {
  max-width: 520px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(34px, 6vw, 70px);
}

.section-heading p {
  max-width: 660px;
}

.storyline-section {
  border-top: 1px solid var(--line);
}

.storyline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.storyline li {
  position: relative;
  min-height: 330px;
  padding: 34px 26px 10px 0;
  border-right: 1px solid var(--line);
}

.storyline li:last-child {
  border-right: 0;
}

.storyline li::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
}

.era {
  display: block;
  color: var(--clay);
}

.legacy-section {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(310px, 0.58fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
  padding: clamp(80px, 13vw, 160px) clamp(18px, 5vw, 70px);
  background: var(--deep);
}

.legacy-panel {
  max-width: 900px;
  color: var(--ivory);
}

.legacy-panel h2 {
  color: var(--ivory);
}

.legacy-panel p {
  max-width: 760px;
  color: rgba(255, 250, 240, 0.73);
}

.legacy-stack {
  display: grid;
  gap: 14px;
}

.pathway-card {
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.pathway-card h3 {
  color: #fff7df;
}

.pathway-card p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.66);
}

.governance-section {
  padding-bottom: clamp(62px, 10vw, 120px);
}

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

.founder-card {
  min-height: 320px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 245, 0.72);
  box-shadow: 0 18px 60px rgba(7, 25, 39, 0.07);
}

.avatar {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 50px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-bright);
  font-family: var(--sans);
  font-weight: 900;
}

.founder-card small {
  display: block;
  margin-top: 24px;
  color: var(--clay);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roadmap-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.55fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 84px);
  width: min(1280px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(80px, 12vw, 150px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.roadmap-copy {
  position: sticky;
  top: 110px;
  align-self: start;
}

.milestone-track {
  display: grid;
  gap: 18px;
  counter-reset: milestones;
}

.milestone {
  position: relative;
  padding: 30px 34px 30px 86px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 252, 245, 0.74);
  box-shadow: 0 18px 60px rgba(7, 25, 39, 0.07);
}

.milestone::before {
  counter-increment: milestones;
  content: counter(milestones);
  position: absolute;
  left: 26px;
  top: 30px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-bright);
  font-family: var(--sans);
  font-weight: 900;
}

.proof-section {
  padding-top: clamp(78px, 12vw, 150px);
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr 1.05fr;
  gap: 16px;
}

.proof-card {
  min-height: 260px;
  margin: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ivory);
  box-shadow: 0 18px 60px rgba(7, 25, 39, 0.07);
}

.proof-card:nth-child(2) {
  transform: translateY(34px);
}

.proof-card p {
  color: var(--navy);
  font-size: clamp(1.28rem, 2.3vw, 1.8rem);
  line-height: 1.22;
}

.proof-card footer {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 800;
}

.quote-section {
  margin-top: clamp(40px, 9vw, 110px);
  padding: clamp(86px, 14vw, 180px) clamp(18px, 7vw, 120px);
  background:
    linear-gradient(rgba(7, 25, 39, 0.82), rgba(7, 25, 39, 0.9)),
    url("./assets/bangor-abbey-northern-ireland.jpg") center / cover;
  color: var(--ivory);
}

.quote-section blockquote {
  max-width: 1100px;
  margin: 0 auto;
  color: #fffaf0;
  font-size: clamp(2.3rem, 6.3vw, 6.2rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.64fr) minmax(0, 0.9fr);
  gap: clamp(32px, 8vw, 110px);
  align-items: start;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(82px, 13vw, 160px) 0;
}

.briefing-list {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-family: var(--sans);
}

.briefing-list li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
}

.concierge-form {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
    var(--deep);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.form-header {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-dark);
}

.form-header h3 {
  color: var(--ivory);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.form-header p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, 0.66);
}

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

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row label,
.consent-row,
.form-status {
  font-family: var(--sans);
}

.form-row label {
  color: rgba(255, 250, 240, 0.86);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fffaf0;
  font: 1rem/1.4 var(--sans);
}

.form-row select {
  color-scheme: dark;
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(255, 250, 240, 0.45);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--gold-bright);
  outline: 3px solid rgba(228, 200, 120, 0.24);
  outline-offset: 0;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  margin: 12px 0 22px;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.92rem;
  line-height: 1.45;
}

.consent-row input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--gold-bright);
}

.form-submit {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: var(--gold-bright);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1.2fr;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 58px);
  background: var(--deep);
  color: rgba(255, 250, 240, 0.66);
  font-family: var(--sans);
}

.site-footer p {
  margin: 0;
  color: inherit;
  font-size: 0.82rem;
  line-height: 1.45;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .founder-grid,
  .storyline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .proof-card:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    padding-top: 14px;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 920px;
  }

  .hero-bangor,
  .hero-stgallen {
    clip-path: none;
  }

  .hero-stgallen {
    opacity: 0.36;
  }

  .hero-content {
    padding-top: 180px;
  }

  .mandate-section,
  .bridge-section,
  .legacy-section,
  .roadmap-section,
  .support-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .bridge-media {
    min-height: 640px;
  }

  .panel-large {
    width: 82%;
  }

  .panel-offset {
    width: 58%;
  }

  .roadmap-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .brand span:last-child {
    max-width: 190px;
  }

  h1 {
    font-size: clamp(2.5rem, 9vw, 3rem);
  }

  h2 {
    font-size: 2.35rem;
  }

  .hero-actions,
  .hero-reasons ul,
  .form-grid,
  .founder-grid,
  .storyline {
    grid-template-columns: 1fr;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .bridge-media {
    min-height: auto;
  }

  .image-panel {
    position: relative;
    width: 100%;
    height: auto;
  }

  .image-panel img {
    aspect-ratio: 4 / 3;
  }

  .panel-offset {
    width: 82%;
    margin: -50px 0 0 auto;
  }

  .storyline li {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .milestone {
    padding-left: 72px;
  }

  .quote-section blockquote {
    font-size: 2.45rem;
  }
}
