:root {
  --bg: #f4f1eb;
  --text: #111111;
  --muted: #68645d;
  --line: rgba(17, 17, 17, 0.16);
  --max-width: 1320px;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
}

.shell {
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
  flex: 1;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-rows: auto 1fr;
  align-items: start;
  padding: 44px 0 72px;
}

.logo-wrap {
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}

.logo {
  display: block;
  width: min(920px, 100%);
  height: auto;
  mix-blend-mode: multiply;
}

.content {
  width: min(860px, 100%);
  padding-top: clamp(64px, 9vh, 120px);
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.5rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.lede {
  max-width: 700px;
  margin: 34px 0 56px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.links {
  border-top: 1px solid var(--line);
}

.links a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  text-decoration: none;
  transition: padding 180ms ease;
}

.link-main {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.link-icon {
  width: 24px;
  flex: 0 0 24px;
  text-align: center;
  font-size: 1.05em;
}

.link-arrow {
  color: var(--muted);
  font-size: 0.75em;
  transition: transform 180ms ease, color 180ms ease;
}

.links a:hover,
.links a:focus-visible {
  padding-left: 10px;
}

.links a:hover .link-arrow,
.links a:focus-visible .link-arrow {
  color: var(--text);
  transform: translate(2px, -2px);
}

.links a:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.primary-link {
  font-weight: 800 !important;
}

.contact-email {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}

.footer {
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .shell,
  .footer {
    width: min(100% - 32px, var(--max-width));
  }

  .hero {
    min-height: auto;
    padding: 24px 0 52px;
  }

  .logo-wrap {
    padding-bottom: 24px;
  }

  .content {
    padding-top: 64px;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.1rem, 17vw, 5.2rem);
  }

  .lede {
    margin: 28px 0 42px;
  }

  .links a {
    min-height: 64px;
  }

  .links a:last-child {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-email {
    padding-left: 40px;
    text-align: left;
  }

  .footer {
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}
