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

:root {
  --bg: #0b1f33;
  --bg-deep: #061522;
  --bg-panel: rgba(13, 34, 55, 0.82);
  --ink: #f6f1e8;
  --muted: #9aacba;
  --quiet: #536879;
  --gold: #c6a663;
  --gold-soft: rgba(198, 166, 99, 0.16);
  --line: rgba(255, 255, 255, 0.09);
  --line-gold: rgba(198, 166, 99, 0.34);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.skip {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 1000;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 9px 14px;
  text-decoration: none;
}

.skip:focus {
  top: 20px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 52px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 21, 34, 0.62);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--gold);
  text-decoration: none;
}

.brand svg {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.brand span {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav a,
.header-action,
.lang-toggle,
.site-footer a {
  color: var(--quiet);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-toggle {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: var(--line-gold);
  color: var(--gold);
}

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

.header-action {
  height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line-gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
}

.header-action:hover {
  background: var(--gold-soft);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 140px 52px 94px;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("../img/hero.jpg");
  background-position: center 28%;
  background-size: cover;
  transform: scale(1.02);
  filter: saturate(0.82);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(6, 21, 34, 0.96) 0%, rgba(11, 31, 51, 0.78) 47%, rgba(11, 31, 51, 0.52) 100%),
    linear-gradient(180deg, rgba(6, 21, 34, 0.1) 0%, var(--bg) 100%);
}

.hero-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 360px);
  align-items: end;
  justify-content: space-between;
  gap: 64px;
}

.hero-content {
  width: min(760px, 100%);
  animation: rise 900ms ease both;
}

.eyebrow {
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: 26px;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
}

h1 {
  max-width: 680px;
  margin-bottom: 20px;
  font-size: clamp(72px, 9vw, 132px);
  letter-spacing: 0.03em;
}

h1 em {
  color: var(--gold);
  display: block;
  font-style: italic;
}

.hero h2 {
  margin-bottom: 26px;
  color: rgba(246, 241, 232, 0.88);
  font-size: clamp(28px, 3vw, 46px);
  font-style: italic;
}

.hero-copy {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 44px;
}

.founder-card {
  border: 1px solid var(--line);
  border-top-color: var(--line-gold);
  background: rgba(6, 21, 34, 0.68);
  padding: 12px;
  backdrop-filter: blur(18px);
  animation: rise 900ms ease 140ms both;
}

.founder-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(12%);
}

.founder-card div {
  padding: 20px 14px 10px;
}

.founder-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.founder-card strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.15;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 0 26px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

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

.btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg-deep);
}

.btn-primary:hover {
  background: #d4bc88;
  border-color: #d4bc88;
}

.btn-secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--line-gold);
  color: var(--gold);
}

.status-strip {
  position: absolute;
  left: 52px;
  right: 52px;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-bottom: 0;
  background: rgba(6, 21, 34, 0.72);
  backdrop-filter: blur(18px);
}

.status-strip span {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-align: center;
  text-transform: uppercase;
}

.status-strip span:last-child {
  border-right: 0;
}

.mandates {
  padding: 106px 52px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.section-head {
  width: min(920px, 100%);
  margin-bottom: 56px;
}

.section-head .eyebrow,
.access-band .eyebrow,
.modal .eyebrow {
  margin-bottom: 18px;
}

.section-head h2,
.access-band h2,
.modal-panel h2 {
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.08;
}

.mandate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.mandate-card {
  min-height: 272px;
  padding: 34px;
  background: #0f2640;
}

.card-index {
  display: block;
  margin-bottom: 42px;
  color: rgba(198, 166, 99, 0.6);
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
}

.mandate-card h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.mandate-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.access-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 44px;
  padding: 82px 52px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #071827;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 52px;
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 9, 15, 0.76);
  backdrop-filter: blur(14px);
}

.modal-panel {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid var(--line-gold);
  background: #0b1f33;
  padding: 42px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.46);
  animation: rise 260ms ease both;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.modal-close:hover {
  color: var(--gold);
  border-color: var(--line-gold);
}

.modal-copy {
  margin: 20px 0 30px;
  color: var(--muted);
}

.access-form {
  display: grid;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.access-form label {
  display: grid;
  gap: 8px;
}

.access-form label span {
  color: var(--quiet);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.access-form input[type="text"],
.access-form input[type="email"],
.access-form input[type="tel"] {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  background: #0f2640;
  color: var(--ink);
  outline: none;
  padding: 0 14px;
}

.access-form input:focus {
  border-color: var(--line-gold);
}

.checkline {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 11px !important;
  margin: 4px 0 8px;
}

.checkline input {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  accent-color: var(--gold);
}

.checkline span {
  color: var(--muted) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

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

.checkline a:hover {
  color: #d4bc88;
}

.cf-turnstile {
  min-height: 65px;
}

.form-submit {
  width: 100%;
  margin-top: 6px;
}

.form-hidden {
  display: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .nav {
    display: none;
  }

  .hero,
  .mandates,
  .access-band,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .status-strip {
    left: 24px;
    right: 24px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .founder-card {
    max-width: 360px;
  }

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

  .mandate-card {
    min-height: auto;
  }

  .access-band {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 68px;
  }

  .brand span {
    display: none;
  }

  .header-action {
    padding: 0 14px;
  }

  .hero {
    min-height: 94vh;
    padding-top: 116px;
  }

  .hero-actions,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .status-strip {
    position: relative;
    left: auto;
    right: auto;
    margin-top: 54px;
    grid-template-columns: 1fr;
  }

  .status-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-strip span:last-child {
    border-bottom: 0;
  }

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

  .modal {
    padding: 14px;
  }

  .modal-panel {
    padding: 34px 22px 24px;
  }
}
