:root {
  --bg: #f6f1e8;
  --text: #171512;
  --muted: #6f675e;
  --accent: #8f2f2a;
  --line: rgba(23, 21, 18, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.72), transparent 30%),
    radial-gradient(circle at 85% 80%, rgba(143, 47, 42, 0.06), transparent 28%),
    var(--bg);
  color: var(--text);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

.page-shell {
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: 1fr auto;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 96px 0 72px;
  max-width: 780px;
}

.eyebrow {
  margin-bottom: 24px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--muted);
}

h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(4.2rem, 12vw, 9.2rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  font-weight: 600;
}

h1 span {
  color: var(--accent);
  font-style: italic;
}

.tagline {
  margin: 30px 0 0;
  max-width: 620px;
  font-size: clamp(1.2rem, 2.3vw, 1.75rem);
  line-height: 1.45;
  color: var(--muted);
}

.divider {
  width: min(320px, 54vw);
  height: 1px;
  margin: 38px 0 28px;
  background: var(--line);
}

.intro {
  margin: 0;
  font-size: 1rem;
  color: var(--text);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 34px;
}

.socials a {
  position: relative;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.socials a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.socials a:hover::after,
.socials a:focus-visible::after {
  transform: scaleX(1);
}

.socials a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
}

footer {
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 28px, 1120px);
  }

  .hero {
    padding-top: 72px;
  }

  h1 {
    font-size: clamp(4rem, 20vw, 6.2rem);
  }

  .tagline {
    margin-top: 24px;
  }
}
