:root {
  --paper: #f4f0e7;
  --ink: #20242c;
  --slate: #465775;
  --coral: #dc5755;
  --rule: rgba(32, 36, 44, .22);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Lora", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.brand,
.header-link,
.contact__link {
  min-height: 44px;
}
.header-link,
.contact__link {
  display: inline-flex;
  align-items: center;
}
a:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
  border-radius: 2px;
}
main:focus { outline: none; }
.shell { width: min(100% - 64px, 1440px); margin-inline: auto; }
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 20;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { width: 38px; height: 38px; flex: 0 0 auto; }
.brand__name { font: 500 25px/1 var(--serif); letter-spacing: -.025em; }
.header-link {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-underline-offset: 5px;
}
.header-link span,
.contact__link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.header-link:hover span,
.contact__link:hover span { transform: translate(3px, -3px); }

.hero-frame { overflow: hidden; }
.hero {
  min-height: calc(100svh - 104px);
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  column-gap: 48px;
  padding-block: clamp(40px, 5vw, 72px) clamp(58px, 7vw, 100px);
}
.hero__eyebrow {
  grid-column: 1 / -1;
  margin: 0;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.hero__title {
  grid-column: 1 / -1;
  align-self: center;
  max-width: 1320px;
  margin: clamp(64px, 8vh, 112px) 0 clamp(72px, 9vh, 124px);
  font: 400 clamp(4.4rem, 7.2vw, 8rem)/.94 var(--serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.hero__title-line {
  display: block;
  white-space: nowrap;
}
.hero__title em { color: var(--coral); font-weight: 400; }
.hero__intro {
  grid-column: 2;
  z-index: 2;
  max-width: 600px;
  margin: 0;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.45;
  text-wrap: pretty;
}
.hero__orbit {
  position: absolute;
  right: -8vw;
  bottom: -17vw;
  width: min(48vw, 720px);
  opacity: .09;
  transform: rotate(12deg);
  pointer-events: none;
}

@media (min-width: 1600px) {
  .hero__orbit {
    right: calc((100vw - 100%) / -2 + 72px);
  }
}

.contact {
  color: white;
  background: var(--slate);
  padding-block: clamp(90px, 11vw, 170px);
}
.section-label {
  margin: 0;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.contact__body {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-top: clamp(62px, 8vw, 110px);
}
.contact h2 {
  max-width: 970px;
  margin: 0;
  font: 400 clamp(3.2rem, 6.5vw, 7rem)/.94 var(--serif);
  letter-spacing: -.045em;
  text-wrap: balance;
}
.contact__link {
  flex: 0 0 auto;
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-underline-offset: 7px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  padding-block: 28px 42px;
  font-size: .73rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.site-footer p { margin: 0; }
.site-footer p:last-child { text-align: right; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 900px) {
  .shell { width: min(100% - 40px, 1440px); }
  .site-header { height: 82px; }
  .brand__name { font-size: 21px; }
  .hero {
    min-height: calc(100svh - 82px);
    grid-template-columns: 1fr;
    padding-block: 35px 60px;
  }
  .hero__title {
    margin: clamp(76px, 11vh, 112px) 0 clamp(70px, 10vh, 108px);
    font-size: clamp(3.8rem, 13.5vw, 6.5rem);
    line-height: .98;
    letter-spacing: -.04em;
  }
  .hero__title-line {
    display: inline;
    white-space: normal;
  }
  .hero__intro { grid-column: 1; max-width: 640px; }
  .hero__orbit { width: 72vw; right: -27vw; bottom: -18vw; }
  .contact__body { display: block; }
  .contact__link { display: inline-block; margin-top: 50px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer p:last-child { text-align: left; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .shell { width: calc(100% - 32px); }
  .site-header { height: 74px; }
  .brand { gap: 9px; }
  .brand__mark { width: 32px; height: 32px; }
  .brand__name { font-size: 19px; }
  .header-link { font-size: .72rem; }
  .hero {
    min-height: calc(100svh - 74px);
    padding-block: 30px 52px;
  }
  .hero__title {
    margin: 64px 0 58px;
    font-size: clamp(3.2rem, 15vw, 4.5rem);
    line-height: 1;
    letter-spacing: -.035em;
  }
  .hero__intro { font-size: 1.08rem; }
  .contact { padding-block: 84px; }
  .contact h2 { font-size: clamp(2.9rem, 14vw, 4.25rem); }
  .site-footer { padding-bottom: 30px; }
}
