:root {
  color-scheme: light;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: #101010;
  background: #f7f7f5;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  --color-ink: #101010;
  --color-paper: #f7f7f5;
  --color-muted: #555;
  --color-rule: #d7d7d4;
  --color-footer: #666;
}

html {
  scrollbar-color: #737373 var(--color-paper);
  scrollbar-width: thin;
}

* {
  box-sizing: border-box;
}

::selection {
  color: #fff;
  background: var(--color-ink);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

a {
  color: inherit;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  color: #fff;
  background: var(--color-ink);
}

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

a:focus-visible {
  outline: 2px solid var(--color-ink);
  outline-offset: 6px;
}

.page-shell {
  display: flex;
  flex-direction: column;
  width: min(100% - 48px, 1440px);
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  border-bottom: 1px solid var(--color-rule);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: opacity 180ms ease-out;
}

.brand:hover {
  opacity: 0.72;
}

.brand img {
  display: block;
  width: clamp(164px, 19vw, 250px);
  height: auto;
}

.header-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.875rem;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  flex: 1;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(64px, 10vh, 120px);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

h1 {
  max-width: 100%;
  margin: 0;
  font-size: clamp(3.75rem, 8vw, 6rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 span {
  display: block;
}

.lead {
  margin: clamp(28px, 4vw, 44px) 0 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.35;
}

.description {
  max-width: 48ch;
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  line-height: 1.65;
}

.brand-shape {
  display: block;
  width: min(100%, 580px);
  height: auto;
  justify-self: end;
}

.site-footer {
  border-top: 1px solid var(--color-rule);
  padding-block: 20px 26px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.site-footer p {
  margin: 0;
  color: var(--color-footer);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.instagram-link {
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: var(--color-ink);
  text-decoration: none;
  transition:
    color 180ms ease-out,
    background-color 180ms ease-out;
}

.instagram-link svg {
  width: 22px;
  height: 22px;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  color: #fff;
  background: var(--color-ink);
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 40px, 560px);
  }

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

  .brand img {
    width: clamp(148px, 40vw, 200px);
  }

  .header-note {
    max-width: 12ch;
    font-size: 0.75rem;
    text-align: right;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-block: 48px 64px;
  }

  .brand-shape {
    grid-row: 1;
    width: clamp(180px, 53vw, 270px);
    margin-bottom: -72px;
    opacity: 0.28;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3.5rem, 14vw, 5.5rem);
  }

  .lead {
    max-width: 24ch;
  }
}

@media (max-width: 380px) {
  .page-shell {
    width: min(100% - 32px, 560px);
  }

  .header-note {
    max-width: 10ch;
  }

  h1 {
    font-size: 3.25rem;
  }
}

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