:root {
  color-scheme: light;
  --ink: #151515;
  --paper: #f7f7f5;
  --line: rgba(21, 21, 21, 0.12);
  --muted: #666663;
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}

body {
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  display: grid;
  grid-template-rows: 88px 1fr 64px;
  min-height: 100svh;
  overflow: hidden;
  background-image:
    linear-gradient(to right, transparent calc(25% - 1px), var(--line) 25%, transparent calc(25% + 1px)),
    linear-gradient(to right, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px)),
    linear-gradient(to right, transparent calc(75% - 1px), var(--line) 75%, transparent calc(75% + 1px));
}

.page-shell::after {
  position: absolute;
  z-index: 0;
  top: 88px;
  left: 0;
  width: 100%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--ink), transparent);
  opacity: 0.16;
  animation: scan 7s ease-in-out infinite;
}

.site-header,
.site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  border-color: var(--line);
  border-style: solid;
}

.site-header {
  justify-content: flex-start;
  border-width: 0 0 1px;
}

.brand {
  display: flex;
  align-items: center;
  align-self: stretch;
  width: 25%;
  min-width: 220px;
  padding: 0 40px;
  border-right: 1px solid var(--line);
}

.brand img {
  display: block;
  width: 126px;
  height: auto;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto 1fr auto;
  min-height: 0;
  padding: clamp(34px, 5vw, 72px) 40px 34px;
}

.eyebrow {
  grid-column: 1 / 3;
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 0 rgba(21, 21, 21, 0.3);
  animation: pulse 2.3s ease-out infinite;
}

.domain {
  grid-column: 1 / -1;
  align-self: center;
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(3.4rem, 9.2vw, 9.2rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.072em;
}

.message-row {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  align-self: end;
}

.message-row p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.24rem);
  line-height: 1.4;
}

.cta {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 520px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  text-decoration: none;
  font-size: clamp(0.95rem, 1.25vw, 1.2rem);
  line-height: 1.3;
  transition: padding 220ms ease, border-color 220ms ease;
}

.cta:hover,
.cta:focus-visible {
  padding-right: 10px;
  border-color: var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  border-width: 1px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.site-footer > * {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0 40px;
}

.site-footer > * + * {
  border-left: 1px solid var(--line);
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

.year {
  justify-content: flex-end;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 850ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.reveal-1 { animation-delay: 100ms; }
.reveal-2 { animation-delay: 220ms; }
.reveal-3 { animation-delay: 360ms; }
.reveal-4 { animation-delay: 480ms; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  70%, 100% { box-shadow: 0 0 0 12px rgba(21, 21, 21, 0); }
}

@keyframes scan {
  0%, 100% { transform: translateX(-52%); }
  50% { transform: translateX(52%); }
}

@media (max-width: 760px) {
  .page-shell {
    grid-template-rows: 72px 1fr 54px;
    background-image: linear-gradient(to right, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px));
  }

  .brand {
    width: 50%;
    min-width: 0;
    padding: 0 22px;
  }

  .brand img { width: 108px; }

  .hero {
    grid-template-columns: repeat(2, 1fr);
    padding: 28px 22px 24px;
  }

  .eyebrow { grid-column: 1 / -1; font-size: 0.8rem; }

  .domain {
    font-size: clamp(3.1rem, 17vw, 6.1rem);
    line-height: 0.9;
  }

  .message-row {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .message-row p { font-size: 0.95rem; }
  .cta { display: none; }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer > * { padding: 0 22px; }
  .site-footer p:first-child { display: none; }
  .site-footer a { border-left: 0; }

}

@media (max-height: 620px) {
  .page-shell { grid-template-rows: 64px 1fr 48px; }
  .hero { padding-top: 22px; padding-bottom: 18px; }
  .domain { font-size: clamp(3rem, 8.5vw, 6.8rem); }
}

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