:root {
  color-scheme: dark;
  --background: #050505;
  --surface: #0d0d0e;
  --text: #f7f7f5;
  --muted: #9b9b9f;
  --soft: #d7d7d2;
  --accent: #c96b3b;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 42%),
    var(--background);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-position: center;
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 68%, transparent);
  opacity: 0.16;
}

.page-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(24px, 4vw, 56px);
  grid-template-rows: 1fr auto;
}

.content {
  display: grid;
  width: min(100%, 1080px);
  margin: 0 auto;
  align-content: center;
  justify-items: center;
  gap: clamp(52px, 9vw, 104px);
  text-align: center;
}

.brand {
  width: clamp(164px, 24vw, 278px);
  height: auto;
  filter: drop-shadow(0 18px 60px rgba(0, 0, 0, 0.34));
}

.hero {
  display: grid;
  justify-items: center;
  gap: clamp(16px, 2.6vw, 24px);
}

.eyebrow {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.74rem, 1.5vw, 0.84rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(4.25rem, 12vw, 9.5rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.88;
}

.tagline {
  max-width: 760px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(1.15rem, 2.3vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
  text-wrap: balance;
}

.accent {
  color: #ffe3d4;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.16em;
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
}

.contact-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(4px, 1vw, 10px);
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  color: #080808;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contact-button:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: #ffffff;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transform: translateY(-1px);
}

.contact-button:focus-visible {
  outline: 2px solid rgba(255, 227, 212, 0.92);
  outline-offset: 4px;
}

.meta {
  display: flex;
  width: min(100%, 1080px);
  margin: clamp(44px, 8vw, 72px) auto 0;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .page-shell {
    padding: 24px 20px;
  }

  .content {
    gap: 56px;
  }

  .brand {
    width: min(54vw, 210px);
  }

  h1 {
    font-size: clamp(4.1rem, 22vw, 6.8rem);
  }

  .tagline {
    max-width: 19rem;
  }

  .meta {
    align-items: center;
    flex-direction: column;
    gap: 8px;
    margin-top: 48px;
    text-align: center;
  }
}
