:root {
  color-scheme: dark;
  --black: #000000;
  --oxford-blue: #002147;
  --gold: #d6ad60;
  --white: #f7f5ef;
  --serif: "Iowan Old Style", Baskerville, "Palatino Linotype", Palatino,
    "Book Antiqua", "Times New Roman", serif;
  --sans: Inter, "Helvetica Neue", Helvetica, Arial, ui-sans-serif, system-ui,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--black);
}

body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body.landing-page {
  overflow-x: hidden;
  color: var(--white);
  background: var(--black);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.landing-shell {
  display: grid;
  min-height: 100svh;
  grid-template-columns: clamp(280px, 24.5vw, 460px) minmax(0, 1fr);
  background: var(--black);
}

.identity-panel {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  padding: clamp(34px, 3.2vw, 58px) clamp(28px, 3vw, 52px);
  background: var(--oxford-blue);
}

.brand-wordmark {
  position: relative;
  z-index: 2;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  animation: rise-in 700ms 80ms cubic-bezier(.2, .72, .2, 1) both;
}

.segmented-o {
  display: block;
  flex: 0 0 auto;
  background: url("/assets/o-512.png") center / contain no-repeat;
  filter:
    brightness(0)
    saturate(100%)
    invert(76%)
    sepia(48%)
    saturate(548%)
    hue-rotate(359deg)
    brightness(90%)
    contrast(90%);
}

@supports ((-webkit-mask-image: url("")) or (mask-image: url(""))) {
  .segmented-o {
    background: var(--gold);
    filter: none;
    -webkit-mask-image: url("/assets/o-512.png");
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-image: url("/assets/o-512.png");
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: contain;
  }
}

.wordmark-o {
  width: clamp(42px, 3.5vw, 58px);
  aspect-ratio: 1;
}

.wordmark-name {
  margin-left: .08em;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 3.4vw, 3.55rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
}

.panel-emblem {
  position: absolute;
  top: 57%;
  left: 50%;
  width: min(76%, 350px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transform-origin: 50% 50%;
  animation: emblem-turn 240s linear infinite;
}

.content-panel {
  position: relative;
  min-width: 0;
  min-height: 100svh;
  background: var(--black);
}

.landing-header {
  position: absolute;
  top: clamp(30px, 4vw, 62px);
  right: clamp(38px, 5.5vw, 94px);
  z-index: 3;
  animation: rise-in 700ms 160ms cubic-bezier(.2, .72, .2, 1) both;
}

.primary-nav {
  display: flex;
  gap: clamp(22px, 2.8vw, 46px);
  align-items: center;
}

.nav-link,
.primary-cta,
.secondary-cta {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  font-size: .95rem;
  font-weight: 450;
  letter-spacing: -.01em;
  text-decoration: none;
}

.nav-link {
  padding: 0 4px;
}

.nav-link--outlined {
  min-width: 174px;
  padding: 0 24px;
  border: 1px solid var(--gold);
}

.nav-link,
.secondary-cta {
  text-decoration-color: transparent;
  text-underline-offset: 7px;
  transition:
    color 180ms ease,
    text-decoration-color 180ms ease;
}

.nav-link:hover,
.secondary-cta:hover {
  color: var(--gold);
  text-decoration-color: currentColor;
}

.nav-link--outlined,
.primary-cta {
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.nav-link--outlined:hover,
.primary-cta:hover {
  color: var(--black);
  background: var(--gold);
  text-decoration: none;
}

.landing-main {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  padding:
    clamp(152px, 20vh, 226px)
    clamp(54px, 8vw, 158px)
    clamp(34px, 4.2vw, 64px);
}

.hero-copy {
  width: min(100%, 1080px);
  animation: rise-in 760ms 240ms cubic-bezier(.2, .72, .2, 1) both;
}

.hero-eyebrow {
  margin: 0 0 clamp(28px, 3.4vh, 42px);
  color: var(--gold);
  font-size: clamp(.74rem, .85vw, .9rem);
  font-weight: 500;
  letter-spacing: .22em;
}

.hero-title {
  max-width: 11.8em;
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(4rem, 5.9vw, 6.8rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.headline-line {
  display: block;
}

.gold-rule {
  display: block;
  width: 62px;
  height: 1px;
  margin: clamp(34px, 4.4vh, 52px) 0 clamp(36px, 4.6vh, 54px);
  background: var(--gold);
}

.hero-body {
  width: min(100%, 760px);
  margin: 0;
  color: var(--white);
  font-size: clamp(1rem, 1.2vw, 1.28rem);
  font-weight: 350;
  line-height: 1.68;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  gap: clamp(26px, 3.6vw, 58px);
  align-items: center;
  margin-top: clamp(38px, 5vh, 58px);
}

.primary-cta {
  min-width: 208px;
  padding: 0 28px;
  border: 1px solid var(--gold);
}

.secondary-cta {
  min-width: 0;
  border-bottom: 1px solid var(--gold);
}

.closing-lockup {
  display: grid;
  grid-template-columns: auto auto;
  gap: 18px;
  align-items: end;
  align-self: flex-end;
  margin-top: auto;
  padding-top: clamp(44px, 7vh, 90px);
  animation: rise-in 700ms 340ms cubic-bezier(.2, .72, .2, 1) both;
}

.closing-prelude {
  padding-bottom: .15em;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.7vw, 1.75rem);
  font-style: italic;
}

.closing-location {
  display: grid;
  gap: 2px;
  color: var(--gold);
  font-size: .68rem;
  font-weight: 550;
  letter-spacing: .23em;
  line-height: 1.2;
}

@media (max-width: 1100px) and (min-width: 721px) {
  .landing-shell {
    grid-template-columns: minmax(205px, 21vw) minmax(0, 1fr);
  }

  .identity-panel {
    padding: 30px 24px;
  }

  .wordmark-o {
    width: 40px;
  }

  .wordmark-name {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  }

  .panel-emblem {
    width: min(80%, 260px);
  }

  .landing-header {
    right: 38px;
  }

  .landing-main {
    padding-right: clamp(38px, 6vw, 72px);
    padding-left: clamp(38px, 6vw, 72px);
  }

  .hero-title {
    font-size: clamp(2.85rem, 6.2vw, 5rem);
  }

  .hero-body {
    font-size: 1rem;
  }
}

@media (max-height: 760px) and (min-width: 721px) {
  .landing-main {
    padding-top: 118px;
    padding-bottom: 26px;
  }

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

  .hero-title {
    font-size: clamp(3.3rem, 5.2vw, 5.2rem);
  }

  .gold-rule {
    margin-top: 24px;
    margin-bottom: 26px;
  }

  .hero-body {
    font-size: .96rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .closing-lockup {
    padding-top: 28px;
  }
}

@media (max-width: 720px) {
  .landing-shell {
    display: block;
  }

  .identity-panel {
    position: relative;
    height: 168px;
    min-height: 0;
    padding: 24px 22px;
  }

  .brand-wordmark {
    min-height: 44px;
  }

  .wordmark-o {
    width: 42px;
  }

  .wordmark-name {
    font-size: 2.2rem;
  }

  .panel-emblem {
    top: 50%;
    right: 20px;
    left: auto;
    width: 104px;
    transform: translateY(-50%);
    animation-name: emblem-turn-mobile;
  }

  .content-panel {
    min-height: calc(100svh - 168px);
  }

  .landing-header {
    position: relative;
    top: auto;
    right: auto;
    display: flex;
    justify-content: flex-end;
    padding: 18px 20px 0;
  }

  .primary-nav {
    gap: 14px;
  }

  .nav-link {
    min-height: 44px;
    font-size: .82rem;
  }

  .nav-link--outlined {
    min-width: 0;
    padding: 0 16px;
  }

  .landing-main {
    min-height: calc(100svh - 230px);
    padding: 46px 20px 30px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-eyebrow {
    margin-bottom: 24px;
    font-size: .69rem;
  }

  .hero-title {
    max-width: 10em;
    font-size: clamp(2.75rem, 13vw, 4.2rem);
    line-height: .97;
  }

  .headline-line {
    display: inline;
  }

  .gold-rule {
    width: 48px;
    margin: 28px 0 30px;
  }

  .hero-body {
    font-size: .96rem;
    line-height: 1.62;
  }

  .hero-actions {
    gap: 24px;
    margin-top: 34px;
  }

  .primary-cta {
    min-width: 174px;
    padding: 0 20px;
  }

  .primary-cta,
  .secondary-cta {
    font-size: .9rem;
  }

  .closing-lockup {
    align-self: flex-start;
    padding-top: 52px;
  }
}

@media (max-width: 420px) {
  .identity-panel {
    height: 150px;
  }

  .wordmark-o {
    width: 38px;
  }

  .wordmark-name {
    font-size: 1.95rem;
  }

  .panel-emblem {
    right: 18px;
    width: 88px;
  }

  .content-panel {
    min-height: calc(100svh - 150px);
  }

  .landing-header {
    padding-right: 16px;
    padding-left: 16px;
  }

  .primary-nav {
    width: 100%;
    justify-content: space-between;
  }

  .landing-main {
    min-height: calc(100svh - 212px);
    padding: 40px 18px 28px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }

  .primary-cta,
  .secondary-cta {
    min-height: 48px;
  }

  .secondary-cta {
    align-self: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-wordmark,
  .landing-header,
  .hero-copy,
  .closing-lockup,
  .panel-emblem {
    animation: none;
  }

  .nav-link,
  .primary-cta,
  .secondary-cta {
    transition: none;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes emblem-turn {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes emblem-turn-mobile {
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}
