:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #efeee8;
  background: #172023;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body { margin: 0; }
::selection { background: #b5cdbc; color: #172023; }

.page {
  width: min(1000px, calc(100% - 80px));
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 56px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header { margin-bottom: 24px; }

.wordmark {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.7px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 32px 0 56px;
}

.strands {
  position: absolute;
  inset: 0 0 0 auto;
  width: 52%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  mask-image: linear-gradient(90deg, transparent, #000 30%, #000 88%, transparent);
}

.intro { width: 64%; }

h1 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.08;
}

.motion-toggle {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0 8px 12px;
  border: 0;
  background: #172023;
  color: #afbab7;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.motion-toggle[hidden] { display: none; }
.motion-toggle:hover { color: #fff; }
.motion-icon { width: 12px; text-align: center; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  padding-top: 26px;
  border-top: 1px solid #354144;
}

h2 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}

p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #bac4c0;
}

.contact-pending { font-size: 13px; }

a {
  color: inherit;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid #b5cdbc;
  outline-offset: 5px;
}

@media (max-width: 600px) {
  .page { width: calc(100% - 40px); padding: 32px 0; }
  header { margin-bottom: 24px; }
  .wordmark { font-size: 21px; }
  .hero { min-height: 330px; align-items: flex-start; padding: 26px 0 170px; }
  .intro { width: 100%; }
  .strands {
    inset: auto 0 34px;
    height: 160px;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  }
  h1 { font-size: clamp(32px, 10vw, 48px); letter-spacing: -.045em; }
  footer { flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 24px; }
}
