:root {
  --ink: #162635;
  --ink-soft: #4a5a68;
  --navy: #123f62;
  --blue: #2f78ad;
  --blue-light: #dcecf6;
  --paper: #ffffff;
  --mist: #f3f7fa;
  --line: #d7e1e8;
  --shadow: 0 18px 48px rgba(18, 63, 98, 0.12);
  --radius: 1rem;
  --content: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 0;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--navy);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 3px solid #f2b544;
  outline-offset: 3px;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.6rem, 11vw, 5.75rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 7vw, 3.35rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.45rem;
}

.shell {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: #ffffff;
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 225, 232, 0.9);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.65rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.9rem;
}

.primary-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--navy);
}

.primary-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -0.28rem;
  left: 0;
  height: 2px;
  background: var(--blue);
  content: "";
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4.5rem, 11vw, 8rem);
  background: linear-gradient(135deg, #f7fbfd 0%, #e7f1f7 56%, #d6e8f2 100%);
}

.hero::before {
  position: absolute;
  top: -10rem;
  right: -10rem;
  width: 26rem;
  height: 26rem;
  border: 1px solid rgba(47, 120, 173, 0.2);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 47rem;
}

.eyebrow {
  margin-bottom: 0.85rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tagline {
  margin-bottom: 1.25rem;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 5vw, 2rem);
  font-style: italic;
}

.hero-intro {
  max-width: 45rem;
  margin-bottom: 1.8rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 3vw, 1.2rem);
}

.hero-mark {
  display: none;
  justify-self: end;
  width: min(100%, 19rem);
  padding: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 2rem;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.72rem 1rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.button-primary {
  background: var(--navy);
  color: #ffffff;
}

.button-primary:hover {
  background: var(--blue);
  color: #ffffff;
}

.button-secondary {
  background: transparent;
  color: var(--navy);
}

.button-secondary:hover {
  background: #ffffff;
}

.section {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.section-muted {
  border-block: 1px solid var(--line);
  background: var(--mist);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading > p:last-child,
.split-panel p,
.contact-panel > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.project-grid {
  display: grid;
  gap: 1.25rem;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(18, 63, 98, 0.08);
}

.media-frame {
  display: grid;
  min-height: 14rem;
  place-items: center;
  background: #0c1822;
}

.media-frame video {
  width: 100%;
  max-height: 34rem;
  background: #000000;
}

.media-frame-portrait video {
  max-width: 19rem;
}

.project-copy {
  padding: 1.25rem;
}

.project-copy p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.split-panel {
  display: grid;
  gap: 1rem 3rem;
}

.split-panel h2 {
  margin-bottom: 0;
}

.text-link {
  font-weight: 800;
}

.contact-section {
  text-align: center;
}

.contact-panel {
  max-width: 42rem;
}

.contact-panel .button {
  max-width: 100%;
}

.page-article {
  min-height: 55vh;
}

.prose {
  max-width: 48rem;
}

.page-heading {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.page-heading h1 {
  font-size: clamp(2.6rem, 10vw, 4.8rem);
}

.page-lede {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.2rem;
}

.prose h2 {
  margin-top: 2.7rem;
  font-size: clamp(1.65rem, 5vw, 2.15rem);
}

.prose p,
.prose li {
  color: #334655;
}

.prose li + li {
  margin-top: 0.75rem;
}

.signature {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.callout {
  margin-top: 3rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--mist);
}

.callout h2 {
  margin-top: 0;
}

.callout p {
  margin-bottom: 0;
}

.policy-address,
.site-footer address {
  font-style: normal;
}

.site-footer {
  padding-block: 2.75rem;
  border-top: 1px solid #31566f;
  background: #0f2d42;
  color: #eaf2f7;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

.site-footer address,
.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #ffffff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.25rem 0.55rem;
}

.copyright {
  color: #c3d2dc;
  font-size: 0.9rem;
}

@media (min-width: 42rem) {
  .header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .primary-nav {
    justify-content: flex-end;
  }

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

  .project-card:first-child {
    grid-row: span 2;
  }

  .split-panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(15rem, 1fr) auto;
    align-items: end;
  }

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (min-width: 58rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.55fr) minmax(15rem, 0.65fr);
  }

  .hero-mark {
    display: block;
  }

  .project-grid {
    grid-template-columns: minmax(16rem, 0.75fr) minmax(0, 1.25fr);
  }
}

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