:root {
  --color-bg: #f4f2ec;
  --color-surface: #fbfaf7;
  --color-ink: #121820;
  --color-text: #3f484f;
  --color-muted: #70777a;
  --color-border: #d2cfc6;
  --color-accent: #304bc4;
  --color-accent-hover: #243aa2;
  --font-display: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --font-body: "Avenir Next", Avenir, "Helvetica Neue", sans-serif;
  --shell: min(100% - 48px, 1320px);
  --radius-sm: 4px;
  --radius-md: 10px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--color-ink);
  color: white;
  transform: translateY(-160%);
}

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

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  border-bottom: 1px solid rgb(255 255 255 / 24%);
  background: transparent;
  color: white;
}

.header-inner {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
}

.brand > img {
  width: 54px;
  height: 44px;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.brand > span {
  display: grid;
  line-height: 1.05;
}

.brand strong {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .18em;
}

.brand small {
  margin-top: 5px;
  color: rgb(255 255 255 / 72%);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.desktop-nav a {
  position: relative;
  padding-block: 12px;
  color: white;
  font-size: 13px;
  font-weight: 550;
  letter-spacing: .025em;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms var(--ease-out);
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #c6ccd0;
}

.hero::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(to bottom, rgb(8 18 28 / 54%) 0%, rgb(8 18 28 / 26%) 52%, rgb(8 18 28 / 64%) 100%),
    linear-gradient(to right, rgb(8 18 28 / 14%), transparent 54%, rgb(8 18 28 / 20%));
  content: "";
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.88) contrast(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(156px, 18vh, 230px) 26px;
  text-align: center;
}

.hero-kicker,
.section-label,
.venture-type {
  margin: 0;
  color: var(--color-muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 26px;
  color: rgb(255 255 255 / 74%);
}

.hero-grid {
  width: min(100%, 940px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 450;
}

h1 {
  max-width: 900px;
  margin-bottom: 0;
  color: white;
  font-size: clamp(58px, 6.5vw, 96px);
  line-height: .96;
  letter-spacing: -.058em;
  text-shadow: 0 2px 28px rgb(0 0 0 / 26%);
}

.hero-intro {
  max-width: 660px;
}

.hero-intro p {
  margin-bottom: 24px;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
  text-shadow: 0 1px 18px rgb(0 0 0 / 36%);
}

.text-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--color-ink);
  font-size: 13px;
  font-weight: 650;
  transition: color 160ms ease, border-color 160ms ease;
}

.text-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero .text-link {
  border-color: rgb(255 255 255 / 72%);
  color: white;
  text-shadow: 0 1px 16px rgb(0 0 0 / 42%);
}

.hero .text-link:hover {
  border-color: white;
  color: white;
}

.hero-caption {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  color: white;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(104px, 12vw, 184px);
}

.company-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .65fr);
  gap: 9vw;
  align-items: start;
  margin-top: 52px;
}

.company h2,
.section-heading h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(44px, 6.3vw, 88px);
  line-height: 1;
  letter-spacing: -.052em;
}

.company-copy {
  padding-top: 6px;
}

.company-copy p {
  margin-bottom: 26px;
  color: var(--color-text);
  font-size: 18px;
  line-height: 1.7;
}

.portfolio {
  border-block: 1px solid #1d2831;
  background: var(--color-ink);
  color: #f8f6f0;
}

.portfolio .section-label,
.portfolio .venture-type {
  color: #aeb5b8;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-items: start;
}

.venture-list {
  margin-top: clamp(72px, 9vw, 130px);
  border-top: 1px solid #4a5359;
}

.venture {
  display: grid;
  grid-template-columns: 48px minmax(220px, .9fr) minmax(280px, 1.2fr) 140px;
  gap: 32px;
  align-items: start;
  padding-block: 44px;
  border-bottom: 1px solid #4a5359;
}

.venture-number {
  color: #929a9f;
  font-size: 11px;
  letter-spacing: .12em;
}

.venture h3 {
  margin: 10px 0 0;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.1;
  letter-spacing: -.038em;
}

.venture > p {
  max-width: 510px;
  margin-bottom: 0;
  color: #c8cdcf;
  font-size: 16px;
  line-height: 1.65;
}

.status {
  justify-self: end;
  padding: 7px 10px;
  border: 1px solid #596268;
  border-radius: var(--radius-sm);
  color: #d7dbdc;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.contact {
  min-height: min(780px, 82vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-grid {
  align-items: end;
}

.contact-action {
  padding-bottom: 6px;
}

.contact-action p {
  margin-bottom: 20px;
  color: var(--color-muted);
  font-size: 13px;
}

.contact-action a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--color-ink);
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 550;
  transition: color 160ms ease, border-color 160ms ease;
}

.contact-action a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.site-footer {
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  min-height: 168px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 36px;
  align-items: center;
}

.footer-brand {
  width: 88px;
  height: 76px;
  overflow: hidden;
}

.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.site-footer p,
.site-footer a {
  margin: 0;
  color: var(--color-muted);
  font-size: 11px;
  letter-spacing: .04em;
}

.site-footer a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reveal {
  animation: reveal 720ms var(--ease-out) both;
}

.delay-1 {
  animation-delay: 90ms;
}

.delay-2 {
  animation-delay: 180ms;
}

@keyframes reveal {
  from {
    transform: translateY(16px);
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  :root {
    --shell: min(100% - 36px, 1320px);
  }

  .company-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-intro {
    max-width: 600px;
  }

  .hero-image {
    object-position: 68% center;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .venture {
    grid-template-columns: 36px minmax(180px, .8fr) minmax(240px, 1.2fr);
  }

  .status {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .contact {
    min-height: 680px;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
  }

  .header-inner {
    min-height: 78px;
  }

  .brand > img {
    width: 47px;
    height: 38px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    min-width: 48px;
    min-height: 48px;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: white;
    font-size: 12px;
    font-weight: 650;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav nav {
    position: absolute;
    top: 54px;
    right: 0;
    width: min(260px, calc(100vw - 32px));
    display: grid;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
  }

  .mobile-nav nav a {
    min-height: 52px;
    display: flex;
    align-items: center;
    padding-inline: 18px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-ink);
    font-size: 13px;
  }

  .mobile-nav nav a:last-child {
    border-bottom: 0;
  }

  .hero {
    min-height: max(740px, 100svh);
  }

  .hero::after {
    background:
      linear-gradient(to bottom, rgb(8 18 28 / 58%) 0%, rgb(8 18 28 / 36%) 60%, rgb(8 18 28 / 68%) 100%),
      linear-gradient(to right, rgb(8 18 28 / 18%), transparent 100%);
  }

  .hero-content {
    min-height: max(740px, 100svh);
    padding-block: 118px 16px;
  }

  .hero-grid {
    gap: 30px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .hero-intro p {
    font-size: 17px;
  }

  .hero-image {
    object-position: 72% center;
  }

  .hero-caption span:last-child {
    display: none;
  }

  .section {
    padding-block: 104px;
  }

  .company-grid,
  .contact-grid {
    margin-top: 40px;
  }

  .company h2,
  .section-heading h2,
  .contact h2 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .company-copy p {
    font-size: 17px;
  }

  .venture-list {
    margin-top: 68px;
  }

  .venture {
    grid-template-columns: 28px 1fr;
    gap: 18px;
    padding-block: 34px;
  }

  .venture > p,
  .status {
    grid-column: 2;
  }

  .venture > p {
    margin-top: 8px;
  }

  .contact {
    min-height: auto;
  }

  .contact-action a {
    font-size: 15px;
    overflow-wrap: anywhere;
  }

  .footer-inner {
    min-height: 240px;
    grid-template-columns: 1fr auto;
    gap: 10px 24px;
    padding-block: 36px;
  }

  .footer-brand {
    width: 76px;
    height: 64px;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: 270px;
    line-height: 1.7;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
