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

:root {
  --color-bg: #ffffff;
  --color-ink: #000000;
  --color-muted: #555555;
  --color-dark: #0a0a0a;
  --color-navy: #0d1b2a;
  --color-white: #ffffff;
  --font: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --header-height: 4.25rem;
  --top-bar-height: 2.5rem;
  --page-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --content-max: 40rem;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.is-menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

p {
  margin: 0 0 1.25rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 300;
  padding: 0.75rem 1rem;
  background: var(--color-ink);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

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

/* Top bar */

.top-bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--top-bar-height);
  padding: 0 var(--page-gutter);
  background: var(--color-ink);
  color: var(--color-white);
  text-align: center;
}

.top-bar p {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.top-bar a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Header */

.site-header {
  position: fixed;
  inset: var(--top-bar-height) 0 auto;
  z-index: 110;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  padding: 0 var(--page-gutter);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
}

.site-logo {
  justify-self: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.site-nav {
  display: none;
  justify-self: end;
  gap: 1.75rem;
}

.site-nav a {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu-toggle {
  justify-self: start;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s ease;
}

.site-header.is-open .menu-toggle span:first-child {
  transform: translateY(0.5rem) rotate(45deg);
}

.site-header.is-open .menu-toggle span:last-child {
  transform: translateY(-0.5rem) rotate(-45deg);
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-header.is-open .site-nav {
    display: flex;
    position: fixed;
    inset: calc(var(--top-bar-height) + var(--header-height)) 0 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: var(--color-white);
  }
}

/* Shared typography */

.section-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.section-title,
.drop-title,
.contact-title {
  margin: 0 0 1.75rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pipe {
  font-weight: 300;
  opacity: 0.35;
}

/* Hero */

.hero {
  padding-top: calc(var(--top-bar-height) + var(--header-height));
}

.hero-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: clamp(3rem, 10vw, 6rem) var(--page-gutter) clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.hero-eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-tagline {
  margin: 0 0 1.75rem;
  font-size: clamp(0.75rem, 1.8vw, 0.9rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero-deck {
  max-width: 34rem;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--color-muted);
}

.hero-visual {
  padding: 0 var(--page-gutter) clamp(2rem, 5vw, 3rem);
}

.hero-image {
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  margin: 0 auto;
  background:
    linear-gradient(135deg, var(--color-navy) 0%, #1a2744 45%, var(--color-ink) 100%);
}

/* Editorial sections */

.editorial {
  padding: clamp(4rem, 10vw, 7rem) var(--page-gutter);
  text-align: center;
  scroll-margin-top: calc(var(--top-bar-height) + var(--header-height));
}

.editorial-copy {
  max-width: var(--content-max);
  margin: 0 auto;
  color: var(--color-muted);
}

.editorial--dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.editorial--dark .section-eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.editorial--dark .section-title {
  color: var(--color-white);
}

.editorial--dark .editorial-copy {
  color: rgba(255, 255, 255, 0.72);
}

.personal-closer {
  margin-top: 1.5rem;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-ink);
}

/* Experience drops */

.experience-anchor {
  scroll-margin-top: calc(var(--top-bar-height) + var(--header-height));
}

.drop {
  padding: clamp(3rem, 8vw, 5rem) var(--page-gutter);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.drop-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.drop-figure {
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--color-navy) 0%, #162032 50%, var(--color-dark) 100%);
}

.drop-figure img {
  aspect-ratio: 4 / 5;
  transition: transform 0.6s ease;
}

.drop-figure:hover img {
  transform: scale(1.03);
}

.drop-figure--wide img {
  aspect-ratio: 16 / 10;
}

.drop-figure--full img {
  aspect-ratio: 21 / 9;
}

.drop-figure--logo {
  max-width: 32rem;
  margin: 0 auto;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.drop-figure--logo img {
  aspect-ratio: 1;
  object-fit: contain;
  padding: clamp(2rem, 6vw, 4rem);
}

@media (min-width: 768px) {
  .drop-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .drop-grid--single {
    grid-template-columns: 1fr;
  }

  .drop--reverse .drop-grid {
    direction: rtl;
  }

  .drop--reverse .drop-grid > * {
    direction: ltr;
  }
}

.drop-copy {
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.drop-copy p {
  color: var(--color-muted);
}

.stat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-top: 2rem;
}

.stat-row li {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stat-row strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Contact */

.contact {
  padding: clamp(4rem, 10vw, 6rem) var(--page-gutter);
  background: var(--color-ink);
  color: var(--color-white);
  text-align: center;
  scroll-margin-top: calc(var(--top-bar-height) + var(--header-height));
}

.contact .section-eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.contact-title {
  color: var(--color-white);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.solid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 16rem);
  padding: 1rem 1.5rem;
  background: var(--color-white);
  color: var(--color-ink);
  border: 2px solid var(--color-white);
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.solid-button:hover,
.solid-button:focus-visible {
  background: transparent;
  color: var(--color-white);
}

.solid-button--outline {
  background: transparent;
  color: var(--color-white);
}

.solid-button--outline:hover,
.solid-button--outline:focus-visible {
  background: var(--color-white);
  color: var(--color-ink);
}

@media (max-width: 480px) {
  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Footer */

.site-footer {
  padding: 1.5rem var(--page-gutter) 2.5rem;
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}
