:root {
  --navy: #061528;
  --navy2: #0a2236;
  --teal: #073d37;
  --gold: #d6a331;
  --burnt: #c95516;
  --cream: #f7f4ed;
  --text: #162033;
  --muted: #687084;
  --line: #e6e0d4;
  --white: #fff;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

.narrow {
  max-width: 780px;
}

.centered {
  text-align: center;
}

.site-header {
  min-height: 64px;
  padding: 0 32px;
  background: rgba(5, 18, 33, .98);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.brand {
  color: white;
  text-decoration: none;
  letter-spacing: .18em;
  font-size: 13px;
  font-weight: 700;
}

.brand-mark::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--gold);
  margin-top: 3px;
}

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

.nav a {
  font-size: 12px;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover,
.nav a:focus-visible {
  color: white;
}

.nav .nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 9px 13px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
}

.section {
  padding: 96px 0;
}

.section-light {
  background: var(--cream);
}

.section-dark,
.section-navy {
  background: var(--navy);
  color: #fff;
}

.section-teal {
  background: radial-gradient(circle at 72% 35%, #0c6759 0, #06372f 38%, #041f28 78%);
  color: #fff;
}

.section-gold {
  background: var(--gold);
  color: #071729;
}

.hero {
  min-height: calc(100vh - 64px);
  position: relative;
  overflow: hidden;
  padding: 28px 0 88px;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .02) 0%, rgba(6, 21, 40, .04) 42%, rgba(6, 21, 40, .86) 100%),
    url("assets/truce-mediation-hero.jpg") center / cover no-repeat;
  filter: saturate(.98);
}

.hero-masthead,
.hero-content {
  position: relative;
}

.hero-masthead > * {
  min-width: 0;
}

.hero-masthead {
  min-height: 132px;
  padding: 18px;
  background: rgba(255, 255, 255, .97);
  color: #071729;
  border: 1px solid rgba(6, 21, 40, .12);
  border-bottom: 5px solid #14728f;
  box-shadow: 0 20px 45px rgba(6, 21, 40, .20);
  display: grid;
  grid-template-columns: 166px 88px minmax(175px, .9fr) minmax(240px, 1.2fr) auto;
  gap: 18px;
  align-items: center;
}

.flag-group {
  display: flex;
  gap: 14px;
  align-items: center;
}

.flag {
  width: 72px;
  height: 46px;
  display: inline-block;
  position: relative;
  box-shadow: 0 8px 18px rgba(6, 21, 40, .16);
}

.flag-us {
  background: repeating-linear-gradient(to bottom, #b22234 0 3.54px, #fff 3.54px 7.08px);
}

.flag-us::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 31px;
  height: 24px;
  background:
    radial-gradient(circle, #fff 0 1px, transparent 1.5px) 2px 2px / 7px 6px,
    #3c3b6e;
}

.flag-texas {
  background: linear-gradient(to bottom, #fff 0 50%, #bf0d3e 50% 100%);
}

.flag-texas::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 31px;
  background: #002868;
}

.flag-texas::after {
  content: "\2605";
  position: absolute;
  left: 8px;
  top: 9px;
  color: #fff;
  font-size: 16px;
  line-height: 1;
}

.seal-mark {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #0d594f 0 36%, #073c52 37% 68%, #062536 69%);
  border: 3px solid #d6c17d;
  color: #f8f1cf;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
}

.masthead-title strong {
  display: block;
  color: #0a3345;
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.02;
}

.hero-masthead p {
  margin: 0;
  color: #050c18;
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.25;
}

.hero-masthead p span {
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 0;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  text-align: center;
}

.btn-gold {
  background: var(--gold);
  color: #071729;
}

.btn-burnt {
  background: linear-gradient(#d9641d, #b43e10);
  color: #fff;
  border-color: #9a3b13;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 20px rgba(134, 48, 8, .18);
  text-transform: uppercase;
}

.btn-navy {
  background: #061528;
  color: white;
}

.btn-ghost {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.hero-content {
  text-align: center;
  margin-top: auto;
  padding-top: 200px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 18px;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(58px, 8vw, 116px);
  font-weight: 500;
  color: white;
  text-shadow: 0 18px 60px rgba(0, 0, 0, .45);
}

h2 {
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 500;
  margin-bottom: 22px;
}

h3 {
  font-size: 27px;
  font-weight: 600;
  margin-bottom: 12px;
}

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

.hero-lede {
  max-width: 760px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, .90);
  font-size: 18px;
  text-shadow: 0 10px 35px rgba(0, 0, 0, .45);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.video-feature {
  background:
    linear-gradient(180deg, rgba(247, 244, 237, .96), rgba(247, 244, 237, 1)),
    url("assets/truce-mediation-hero.jpg") center / cover no-repeat;
  padding-top: 78px;
}

.video-stage {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(320px, 1.22fr);
  gap: 46px;
  align-items: center;
}

.video-copy p:last-child {
  color: var(--muted);
  max-width: 520px;
}

.video-launch {
  position: relative;
  min-height: 340px;
  border: 0;
  border-bottom: 5px solid #14728f;
  background:
    linear-gradient(120deg, rgba(6, 21, 40, .20), rgba(6, 21, 40, .82)),
    url("assets/truce-mediation-hero.jpg") center / cover no-repeat;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(6, 21, 40, .18);
  isolation: isolate;
}

.video-launch::before,
.video-launch::after {
  content: "";
  position: absolute;
  inset: 24px;
  pointer-events: none;
}

.video-launch::before {
  border: 1px solid rgba(255, 255, 255, .34);
}

.video-launch::after {
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(255, 255, 255, .20) 49% 51%, transparent 51%),
    linear-gradient(0deg, transparent 0 49%, rgba(255, 255, 255, .20) 49% 51%, transparent 51%);
  opacity: .32;
}

.video-launch:hover .video-rings,
.video-launch:focus-visible .video-rings {
  transform: translate(-50%, -50%) scale(1.08);
  border-color: rgba(240, 200, 104, .86);
}

.video-launch:focus-visible,
.scroll-top:focus-visible,
.video-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.video-rings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 156px;
  height: 156px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .25s ease, border-color .25s ease;
}

.video-rings::before,
.video-rings::after {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(214, 163, 49, .72);
  border-radius: 50%;
}

.video-rings::after {
  inset: 43px;
  border-color: rgba(255, 255, 255, .42);
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 28px solid #fff;
  transform: translate(-35%, -50%);
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .42));
}

.video-label {
  position: absolute;
  right: 34px;
  bottom: 30px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #f0c868;
}

.card-grid {
  display: grid;
  gap: 24px;
  margin-top: 56px;
}

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

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

.card,
.minimal-card {
  background: white;
  border: 1px solid var(--line);
  padding: 34px;
  box-shadow: 0 20px 45px rgba(20, 30, 45, .04);
}

.card p,
.minimal-card p,
.outline-card p {
  color: var(--muted);
  margin: 0;
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f1eadc;
  color: var(--gold);
  margin-bottom: 26px;
}

.section-navy p,
.section-teal p {
  color: rgba(255, 255, 255, .74);
}

.split-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 50px;
}

.outline-card {
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .035);
  padding: 36px;
}

.outline-card ul {
  padding-left: 20px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .75);
}

.minimal-card {
  background: transparent;
  text-align: center;
}

.minimal-card span {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: .2em;
}

.announcement {
  padding: 120px 0;
  background: linear-gradient(90deg, #061528, #063337);
}

.announcement h2 {
  font-size: clamp(44px, 7vw, 86px);
}

.device-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 70px;
  align-items: center;
}

.device-orbit {
  width: 370px;
  height: 370px;
  margin: auto;
  border: 1px solid rgba(214, 163, 49, .35);
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
}

.device-core {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, #092a47, #071528 70%);
  border: 1px solid var(--gold);
  box-shadow: 0 0 55px rgba(214, 163, 49, .22);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
}

.device-orbit span {
  position: absolute;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.device-orbit span:nth-child(2) {
  top: 24px;
}

.device-orbit span:nth-child(3) {
  right: -20px;
}

.device-orbit span:nth-child(4) {
  bottom: 24px;
}

.device-orbit span:nth-child(5) {
  left: -18px;
}

.glass-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: 28px;
  min-height: 190px;
}

.glass-card h3 {
  font-size: 23px;
}

.compact {
  gap: 18px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 70px;
  align-items: start;
}

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

.contact-form {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 32px;
  display: grid;
  gap: 16px;
  position: relative;
}

.contact-form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .72);
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .055);
  color: white;
  padding: 13px 14px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(214, 163, 49, .75);
  outline-offset: 2px;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #ffcf72;
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.recaptcha-wrap {
  min-height: 78px;
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #ffcf72;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.form-message {
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
}

.form-message.is-success {
  background: rgba(38, 118, 84, .35);
  border-color: rgba(107, 211, 156, .34);
}

.form-message.is-error {
  background: rgba(144, 47, 35, .32);
  border-color: rgba(255, 166, 132, .34);
}

.footer {
  background: #040e1b;
  color: rgba(255, 255, 255, .7);
  padding: 46px 0;
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.footer a {
  display: block;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  margin-top: 8px;
}

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(214, 163, 49, .75);
  background: rgba(6, 21, 40, .92);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .2s ease, transform .2s ease;
}

.scroll-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 13px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: translate(-50%, -35%) rotate(45deg);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.video-dialog {
  width: min(1120px, calc(100% - 34px));
  padding: 0;
  border: 1px solid rgba(214, 163, 49, .35);
  background: #040e1b;
  color: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .58);
}

.video-dialog::backdrop {
  background: rgba(3, 12, 24, .82);
  backdrop-filter: blur(7px);
}

.video-modal {
  position: relative;
  padding: 16px;
}

.video-modal video {
  display: block;
  width: 100%;
  max-height: 82vh;
  background: #000;
}

.video-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(6, 21, 40, .92);
  color: #fff;
  cursor: pointer;
}

.video-close::before,
.video-close::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 20px;
  height: 2px;
  background: currentColor;
}

.video-close::before {
  transform: rotate(45deg);
}

.video-close::after {
  transform: rotate(-45deg);
}

.section-light em {
  color: #9b6c0d;
}

.section-gold em {
  color: var(--navy);
}

.card em,
.minimal-card em {
  color: #8a610f;
}

.section-navy em,
.section-teal em,
.section-dark em {
  color: #f0c868;
}

@media (max-width: 1100px) {
  .hero-masthead {
    grid-template-columns: 145px 80px 1fr;
  }

  .hero-masthead p,
  .hero-masthead .btn {
    grid-column: 1 / -1;
  }

  .hero-masthead .btn {
    width: fit-content;
  }
}

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

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #061528;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, .08);
  }

  .nav.open {
    display: flex;
  }

  .three,
  .four,
  .split-cards,
  .device-layout,
  .contact-layout,
  .video-stage,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 720px;
  }

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

  .section {
    padding: 72px 0;
  }

  .device-orbit {
    width: 280px;
    height: 280px;
  }

  .device-core {
    width: 110px;
    height: 110px;
  }

  .card,
  .minimal-card,
  .outline-card {
    padding: 28px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .video-launch {
    min-height: 280px;
  }

  .btn {
    width: 100%;
    max-width: 330px;
  }
}

@media (max-width: 640px) {
  .hero-masthead {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 16px;
  }

  .hero-masthead p {
    max-width: 300px;
    font-size: 15px;
  }

  .flag-group {
    justify-content: center;
  }

  .hero-masthead .btn {
    width: 100%;
    max-width: 292px;
    padding-inline: 14px;
  }

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

  .video-feature {
    padding-top: 60px;
  }

  .video-stage {
    gap: 30px;
  }

  .video-launch {
    min-height: 250px;
  }

  .video-rings {
    width: 124px;
    height: 124px;
  }

  .video-label {
    left: 26px;
    right: 26px;
    text-align: center;
  }
}

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

  .hero-content .eyebrow {
    max-width: 300px;
    margin-inline: auto;
    font-size: 10px;
    letter-spacing: .12em;
  }

  .hero-lede {
    max-width: 310px;
    font-size: 16px;
  }

  .hero-actions .btn {
    max-width: 292px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 42px;
  }

  .hero {
    min-height: 760px;
    padding-bottom: 64px;
  }

  .nav .nav-cta {
    width: 100%;
    text-align: center;
  }

  .scroll-top {
    right: 14px;
    bottom: 14px;
    width: 44px;
    height: 44px;
  }

  .video-modal {
    padding: 10px;
  }

  .video-close {
    top: 8px;
    right: 8px;
  }

  .device-orbit span:nth-child(3) {
    right: -5px;
  }

  .device-orbit span:nth-child(5) {
    left: -5px;
  }
}
