:root {
  --ink: #0a0a0a;
  --paper: #fefefe;
  --blue: #73cee5;
  --mist: #effafc;
  --footer: #26282b;
  --yellow: #ffdf45;
  --grid: min(1400px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Halyard Display", "Helvetica Neue", Arial, sans-serif;
  font-weight: 350;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px max(24px, calc((100vw - var(--grid)) / 2));
  background: var(--paper);
}

.brand {
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.site-nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 18px;
  align-items: center;
}

.site-nav a,
.site-footer a {
  font-family: "Halyard Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  font-weight: 480;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.home-grid {
  width: var(--grid);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 0 520px;
}

.hero h1 {
  position: relative;
  display: inline-block;
  margin: 0;
  font-size: clamp(40px, 5vw, 65px);
  line-height: 1.05;
  font-weight: 520;
}

.ten-word {
  font-weight: 720;
}

.hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  height: 4px;
  background: var(--ink);
  transform-origin: left;
  animation: draw-horizontal 1s 0.3s both;
}

.hero-line {
  position: absolute;
  left: 50%;
  top: calc(50% + 58px);
  width: 4px;
  height: 454px;
  background: var(--ink);
  transform-origin: top;
  animation: draw-vertical 1.2s 0.9s both;
}

.fact-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(210px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(44px, 8vw, 150px);
  align-items: center;
  min-height: 720px;
  padding: 74px 0;
}

.fact-row.reverse {
  grid-template-columns: minmax(360px, 1.12fr) minmax(210px, 0.88fr);
}

.fact-row.reverse .fact-copy {
  order: 2;
}

.fact-row.reverse .visual {
  order: 1;
}

.fact-row::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  width: 21%;
  height: 3px;
  background: var(--ink);
  transform: translateX(-50%) rotate(-45deg) scaleX(0);
  transform-origin: right;
  transition: transform 0.8s ease;
}

.fact-row.reverse::before {
  transform: translateX(-50%) rotate(-135deg) scaleX(0);
}

.fact-row.is-visible::before {
  transform: translateX(-50%) rotate(-45deg) scaleX(1);
}

.fact-row.reverse.is-visible::before {
  transform: translateX(-50%) rotate(-135deg) scaleX(1);
}

.fact-copy {
  position: relative;
  max-width: 510px;
}

.fact-copy h2 {
  position: relative;
  margin: 0 0 34px;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 1;
  font-weight: 560;
}

.fact-copy h2::after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  margin-top: 14px;
  background: var(--ink);
  transition: width 0.7s ease;
}

.is-visible .fact-copy h2::after {
  width: 92px;
}

.fact-copy p {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.18;
  letter-spacing: 0;
}

.visual {
  position: relative;
  min-width: 0;
}

.visual > img {
  width: 100%;
}

.visual-globe {
  max-width: 680px;
}

.photo-circle {
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--mist);
}

.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 0.35s ease, transform 0.35s ease;
}

.photo-circle:hover img {
  filter: grayscale(0);
  transform: scale(1.03);
}

.round-badge,
.submit-badge {
  display: grid;
  place-items: center;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  text-decoration: none;
  font-family: "Halyard Text", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
}

.round-badge {
  position: absolute;
  right: -18px;
  bottom: -108px;
  width: 78px;
  height: 78px;
  font-size: 50px;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.round-badge:hover,
.submit-badge:hover {
  background: var(--blue);
  transform: rotate(6deg);
}

.logo-orbit {
  min-height: 360px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 12px;
  border: 3px solid var(--ink);
  border-radius: 50%;
  aspect-ratio: 1;
  padding: 70px;
  background: var(--paper);
}

.orbit-window {
  position: relative;
  min-height: 160px;
  display: grid;
  place-items: center;
}

.orbit-logo {
  position: absolute;
  max-width: min(320px, 64%);
  max-height: 150px;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.orbit-logo.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.orbit-btn {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

.orbit-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 11px;
  min-height: 12px;
}

.orbit-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cbcecf;
}

.orbit-dots span.is-active {
  background: var(--ink);
}

.contact-row {
  min-height: 830px;
}

.contact-card {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: var(--mist);
  padding: clamp(42px, 6vw, 86px);
}

.contact-form {
  width: min(440px, 100%);
  position: relative;
}

.contact-form h3 {
  margin: 0 0 18px;
  font-size: 36px;
  font-weight: 600;
}

.contact-form label {
  display: block;
  margin-bottom: 12px;
}

.contact-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 24px;
  padding: 12px 14px;
  outline: 2px solid transparent;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline-color: var(--blue);
}

.contact-form textarea {
  min-height: 118px;
  resize: vertical;
}

.submit-badge {
  width: 125px;
  height: 125px;
  padding: 0;
  border-width: 3px;
  font-size: 24px;
  cursor: pointer;
}

.sent-message {
  display: none;
  margin-top: 18px;
  font-size: 24px;
  line-height: 1.2;
}

.contact-form.is-sent .sent-message {
  display: block;
}

.site-footer {
  position: relative;
  z-index: 2;
  margin-top: 70px;
  padding: 53px max(24px, calc((100vw - var(--grid)) / 2)) 45px;
  background: var(--footer);
  color: var(--paper);
  text-align: center;
}

.site-footer p {
  max-width: 960px;
  margin: 0 auto 16px;
  font-family: "Halyard Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 480;
}

.site-footer nav {
  justify-content: center;
  margin: 0 auto 18px;
}

.site-footer a {
  padding: 5px 0 10px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes draw-horizontal {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes draw-vertical {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@media (max-width: 820px) {
  :root {
    --grid: min(100vw - 28px, 680px);
  }

  .site-header {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .hero {
    min-height: 70vh;
    padding: 100px 0 190px;
  }

  .hero-line {
    height: 170px;
  }

  .fact-row,
  .fact-row.reverse {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 30px;
    padding: 54px 0;
  }

  .fact-row.reverse .fact-copy,
  .fact-row.reverse .visual {
    order: initial;
  }

  .fact-row::before {
    width: 34%;
    top: -8px;
  }

  .fact-copy p {
    font-size: 32px;
  }

  .visual {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .round-badge {
    position: static;
    width: 66px;
    height: 66px;
    margin-top: 24px;
    font-size: 40px;
  }

  .logo-orbit {
    padding: 34px;
    min-height: 300px;
  }

  .contact-card {
    aspect-ratio: auto;
    border-radius: 0;
    padding: 28px;
  }

  .submit-badge {
    width: auto;
    height: auto;
    min-height: 54px;
    padding: 12px 22px;
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
