:root {
  color-scheme: light;
  --ink: #13272d;
  --deep: #0b1822;
  --navy: #10262e;
  --teal: #0d6058;
  --gold: #e5be80;
  --paper: #f5f7f4;
  --muted: #455b5d;
  --rule: #d9e2dc;
  --gutter: clamp(1.25rem, 5.5vw, 5.5rem);
  --shell: 86rem;
  --ease: 180ms cubic-bezier(.2, .65, .3, 1);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

:where(a, button, input, textarea, select, summary):focus-visible {
  outline: 3px solid #a45b0a;
  outline-offset: 4px;
}

:where(header, .hero, .callout, footer) :focus-visible { outline-color: #ffe0a5; }

.skip {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 10;
  padding: .65rem .9rem;
  transform: translateY(-160%);
  background: #fff;
  color: var(--ink);
}

.skip:focus { transform: none; }

body > header {
  min-height: 5.4rem;
  padding: .9rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2vw, 2.25rem);
  border-bottom: 1px solid #ffffff26;
  background: var(--deep);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.4;
}

.brand small {
  display: block;
  margin-top: .12rem;
  color: var(--gold);
  font-size: .75rem;
  letter-spacing: .13em;
}

.mark {
  display: block;
  width: 2.9rem;
  height: 2.9rem;
  flex: none;
  object-fit: contain;
}

header nav {
  display: flex;
  align-items: center;
  gap: .25rem clamp(.85rem, 2vw, 1.6rem);
}

nav a { text-decoration: none; }

header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: #dfeae7;
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: .4rem;
  transition: color var(--ease), text-decoration-color var(--ease);
}

header nav a[aria-current], header nav a:hover {
  color: var(--gold);
  text-decoration-color: currentColor;
}

.smallbutton, .button, .outline {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: .72rem 1.12rem;
  border: 1px solid transparent;
  border-radius: .28rem;
  text-align: center;
  text-decoration: none;
  font-weight: 725;
  line-height: 1.25;
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}

.smallbutton, .button {
  background: var(--gold);
  color: var(--deep);
}

.smallbutton {
  min-height: 2.75rem;
  padding-inline: .95rem;
  font-size: .9rem;
  flex: none;
}

.smallbutton:hover, .button:hover { background: #f4d8a6; }

.outline {
  border-color: #b7d1ca80;
  color: #f1f8f6;
}

.outline:hover {
  border-color: #c2e1d7;
  background: #ffffff12;
}

:where(.smallbutton, .button, .outline):active { transform: translateY(1px); }

.hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 78% 46%, #204341 0%, transparent 56%),
    linear-gradient(122deg, #0b1822 18%, #102a31 100%);
  border-bottom: 1px solid #29514a;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--shell);
  margin: auto;
  padding: clamp(3rem, 5vw, 4.65rem) var(--gutter);
}

.hero-compact .hero-inner { padding-block: clamp(2.5rem, 4vw, 4rem); }
.hero-compact h1 { font-size: clamp(2.65rem, 4.25vw, 4.3rem); }

.breadcrumbs {
  max-width: var(--shell);
  margin: 0 auto .85rem;
  color: var(--muted);
  font-size: .9rem;
}

.breadcrumbs :is(ol, ul) {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs a { text-decoration: underline; text-underline-offset: .2em; }
.hero .breadcrumbs { color: #c8dad3; }
.hero .breadcrumbs a:hover { color: var(--gold); }

.eyebrow {
  margin: 0 0 .7rem;
  color: var(--teal);
  font-size: .82rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.hero .eyebrow, .callout .eyebrow { color: var(--gold); }

h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.026em;
  text-wrap: balance;
}

h1 {
  max-width: 17ch;
  font-size: clamp(2.9rem, 5.25vw, 5.6rem);
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}

.intro {
  max-width: 58ch;
  margin: 1.3rem 0 1.7rem;
  color: #d7e7e2;
  font-size: clamp(1.075rem, 1.5vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
}

.visual {
  position: relative;
  display: grid;
  min-width: 0;
  aspect-ratio: 1.13;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #95bcb642;
  border-radius: .32rem;
  background:
    radial-gradient(ellipse at center, #345651 0%, transparent 62%),
    #123037;
}

.orbit {
  position: absolute;
  width: 69%;
  aspect-ratio: 1;
  transform: rotate(-28deg) scaleX(.75);
  border: 1px solid #d9b47a6b;
  border-radius: 50%;
}

.orbit::before, .orbit::after {
  position: absolute;
  inset: 9%;
  border: 1px solid #d9b47a52;
  border-radius: inherit;
  content: "";
}

.orbit::after { inset: -11%; }

.line {
  position: absolute;
  width: 140%;
  height: 1px;
  transform: rotate(-32deg);
  background: linear-gradient(90deg, transparent, #d9b47a66, transparent);
}

.l2 { transform: rotate(32deg); }

.seal {
  position: relative;
  z-index: 1;
  text-align: center;
}

.seal img {
  display: block;
  width: clamp(7rem, 15vw, 12rem);
  height: auto;
  margin-inline: auto;
}

.seal small {
  display: block;
  margin-top: .8rem;
  color: #f4d29e;
  font-size: .75rem;
  font-weight: 650;
  letter-spacing: .14em;
}

.hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-photo { aspect-ratio: 1.28; }
.hero-compact .visual-mark { aspect-ratio: 1.58; }
.hero-compact .seal img { width: clamp(5.5rem, 10vw, 8.5rem); }

.visual-photo::after, .visual:has(.hero-photo)::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(145deg, #061c2f13 50%, #061c2f50);
  content: "";
}

.content {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding: clamp(3.2rem, 5.25vw, 5.25rem) var(--gutter);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem 2.5rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.6rem);
}

.section-head h2, .callout h2 { font-size: clamp(2.1rem, 3.8vw, 3.45rem); }

.section-head > p {
  max-width: 32ch;
  margin: 0;
  color: var(--muted);
}

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

.grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .65rem;
  min-width: 0;
  padding: clamp(1.45rem, 3.5vw, 2.65rem);
  border: 1px solid var(--rule);
  border-radius: .32rem;
  background: #fff;
  transition: transform var(--ease), border-color var(--ease), background-color var(--ease);
}

.grid article:focus-within { border-color: #68968d; }

.grid article h2, .grid article h3 { font-size: clamp(1.6rem, 2.7vw, 2.25rem); }

.grid article p:not(.eyebrow) {
  max-width: 63ch;
  margin: 0 0 .25rem;
  color: var(--muted);
}

.grid article .eyebrow { margin-bottom: .2rem; }

.textlink, .section-link {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: var(--teal);
  font-weight: 740;
  text-decoration: underline;
  text-decoration-color: #4c8a80;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  transition: color var(--ease), text-decoration-color var(--ease);
}

.textlink:hover, .section-link:hover {
  color: #113f39;
  text-decoration-color: currentColor;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem .9rem;
  align-items: center;
  margin-top: .45rem;
}

.contact-actions .outline {
  border-color: #71978d;
  color: var(--teal);
}

.contact-actions .outline:hover { background: #e8f2ed; }
.contact-note { max-width: 68ch; color: var(--muted); }

.callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem 2rem;
  width: min(calc(100% - 2 * var(--gutter)), calc(var(--shell) - 2 * var(--gutter)));
  margin: 0 auto clamp(3.5rem, 6vw, 6rem);
  padding: clamp(1.6rem, 4vw, 3.6rem);
  border-radius: .36rem;
  background: linear-gradient(112deg, #10262e, #18413e);
  color: #fff;
}

.callout p:not(.eyebrow) {
  max-width: 60ch;
  margin: .75rem 0 0;
  color: #d9e7e2;
}

.callout .button { flex: none; }

body > footer {
  display: grid;
  grid-template-columns: 1.42fr 1fr;
  gap: 1.5rem clamp(2rem, 5vw, 6rem);
  padding: clamp(2.8rem, 5vw, 4.8rem) var(--gutter) 1.65rem;
  background: var(--deep);
  color: #d9e6e1;
}

footer > div p {
  max-width: 65ch;
  margin: 1.05rem 0 0;
  font-size: .9rem;
}

footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: .35rem 1rem;
  font-size: .9rem;
}

footer nav a {
  padding-block: .32rem;
  text-underline-offset: .25em;
}

footer nav a:hover { color: var(--gold); text-decoration: underline; }

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.2rem;
  border-top: 1px solid #ffffff2b;
  font-size: .84rem;
}

@media (hover: hover) {
  :where(.smallbutton, .button, .outline):hover { transform: translateY(-2px); }
  .grid article:hover { transform: translateY(-3px); border-color: #86a89c; }
  .grid article:focus-within { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .visual:not(:has(.hero-photo)) .seal { animation: seal-enter 420ms cubic-bezier(.2, .65, .3, 1) both; }

  @keyframes seal-enter {
    from { opacity: .7; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (max-width: 65rem) {
  body > header { flex-wrap: wrap; row-gap: .05rem; }
  header nav { width: 100%; order: 3; flex-wrap: wrap; }
  .hero-inner { gap: clamp(1.4rem, 4vw, 3rem); }
}

@media (max-width: 48rem) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 3rem 2.3rem; }
  h1 { font-size: clamp(2.65rem, 9vw, 4.3rem); }
  .visual { aspect-ratio: 2; }
  .hero-compact .visual-mark { display: none; }
  .orbit { width: min(40%, 15rem); }
  .section-head { flex-direction: column; align-items: start; gap: .7rem; }
  .callout { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 37rem) {
  .brand { gap: .5rem; font-size: .78rem; }
  .brand small { font-size: .72rem; letter-spacing: .08em; }
  .mark { width: 2.4rem; height: 2.4rem; }
  header nav { gap: 0 .9rem; }
  header nav a { font-size: .875rem; }
  .grid, body > footer { grid-template-columns: 1fr; }
  footer nav { row-gap: .5rem; }
}

@media (max-width: 26rem) {
  body > header { padding-inline: 1rem; }
  header .smallbutton { max-width: 7.5rem; padding-inline: .62rem; font-size: .85rem; }
  header nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .actions > a { width: 100%; }
  .contact-actions > a { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }

  :where(.smallbutton, .button, .outline):is(:hover, :active), .grid article:hover {
    transform: none;
  }
}
