:root {
  color-scheme: light;
  --ink: #102633;
  --muted: #5f7179;
  --paper: #f7f3ec;
  --foam: #eef8f7;
  --line: rgba(16, 38, 51, 0.16);
  --sea: #0f6d7b;
  --coral: #d96d55;
  --gold: #c99a4a;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(15, 58, 70, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--white);
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 243, 236, 0.92);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-mark {
  width: 30px;
  height: 16px;
  border: 2px solid currentColor;
  border-left: 0;
  border-radius: 100% 8px 8px 100%;
  transform: skewX(-16deg);
}

.site-nav {
  gap: clamp(14px, 3vw, 34px);
  font-size: 0.92rem;
}

.site-nav a,
.text-link,
.site-footer a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 118px clamp(20px, 6vw, 86px) 70px;
  color: var(--white);
  isolation: isolate;
}

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

.hero-media {
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 33, 43, 0.68), rgba(9, 33, 43, 0.26) 45%, rgba(9, 33, 43, 0.06)),
    linear-gradient(180deg, rgba(9, 33, 43, 0.12), rgba(9, 33, 43, 0.38));
}

.hero-copy {
  width: min(600px, 100%);
}

.eyebrow,
.section-kicker,
.detail-index {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 9.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

.lede {
  max-width: 520px;
  margin: 28px 0 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.12rem, 2vw, 1.38rem);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 720;
}

.intro {
  padding: clamp(56px, 9vw, 112px) clamp(20px, 7vw, 108px);
  background: var(--paper);
  text-align: center;
}

.intro h2,
.motion h2 {
  margin: 0;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 5.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.intro h2 {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.55rem, 6.6vw, 5.4rem);
}

.intro p {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}

.motion {
  padding: 0 clamp(20px, 7vw, 108px) clamp(56px, 9vw, 112px);
}

.motion-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  min-height: 360px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: 8px;
  background: var(--foam);
  box-shadow: var(--shadow);
}

.motion-panel p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.current-lines {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  pointer-events: none;
}

.current-lines span {
  position: absolute;
  left: -12%;
  width: 130%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 109, 123, 0.55), transparent);
  transform: rotate(-7deg);
}

.current-lines span:nth-child(1) {
  top: 24%;
}

.current-lines span:nth-child(2) {
  top: 42%;
}

.current-lines span:nth-child(3) {
  top: 60%;
}

.current-lines span:nth-child(4) {
  top: 78%;
}

.details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.details article {
  min-height: 260px;
  padding: clamp(28px, 5vw, 58px);
  border-right: 1px solid var(--line);
}

.details article:last-child {
  border-right: 0;
}

.details h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.4rem);
  letter-spacing: 0;
}

.details p {
  max-width: 300px;
  margin: 18px 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 30px clamp(20px, 7vw, 108px);
  color: var(--paper);
  background: #12343f;
}

.site-footer p {
  margin: 0;
  font-weight: 760;
}

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

  .site-nav {
    gap: 14px;
    font-size: 0.84rem;
  }

  .hero {
    min-height: 86svh;
    padding-top: 104px;
  }

  .hero-media img {
    object-position: 67% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 33, 43, 0.76), rgba(9, 33, 43, 0.42) 58%, rgba(9, 33, 43, 0.12)),
      linear-gradient(180deg, rgba(9, 33, 43, 0.1), rgba(9, 33, 43, 0.46));
  }

  .intro,
  .motion-panel,
  .details {
    grid-template-columns: 1fr;
  }

  .details article {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .details article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 520px) {
  .brand-mark {
    width: 25px;
  }

  .site-nav a {
    display: none;
  }

  .site-nav a:first-child {
    display: inline;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 20vw, 5.8rem);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-media img {
    animation: slow-drift 18s ease-in-out infinite alternate;
  }

  .current-lines span {
    animation: current-slide 9s linear infinite;
  }

  .current-lines span:nth-child(2) {
    animation-delay: -2s;
  }

  .current-lines span:nth-child(3) {
    animation-delay: -4s;
  }

  .current-lines span:nth-child(4) {
    animation-delay: -6s;
  }
}

@keyframes slow-drift {
  from {
    transform: scale(1.01) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.04) translate3d(-1.4%, -0.8%, 0);
  }
}

@keyframes current-slide {
  from {
    transform: translateX(-12%) rotate(-7deg);
  }

  to {
    transform: translateX(12%) rotate(-7deg);
  }
}
