:root {
  color-scheme: dark;
  --ink: #f3efe7;
  --muted: #aaa5a0;
  --paper: #111014;
  --accent: #e77750;
  --line: rgba(243, 239, 231, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(231, 119, 80, 0.14), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

main,
footer,
.site-header {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.wordmark {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  text-decoration: none;
}

nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

nav a:hover,
.company-note a:hover,
footer a:hover,
.legal-page a:hover {
  color: var(--accent);
}

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
}

.eyebrow,
.section-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin: 28px 0 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 9.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.intro {
  max-width: 610px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
}

.contact {
  width: fit-content;
  display: inline-flex;
  gap: 40px;
  align-items: center;
  margin-top: 24px;
  padding: 15px 20px;
  background: var(--accent);
  color: #171114;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.contact:hover {
  background: #f08a65;
  transform: translateY(-2px);
}

.contact:focus-visible,
footer a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.about {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 48px;
  padding: 120px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin-bottom: 32px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.about div p {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.about .company-note {
  margin-top: 32px;
  color: var(--ink);
  font-size: 0.95rem;
}

.company-note a,
.legal-page a {
  color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--ink);
}

footer p {
  margin-bottom: 0;
}

.legal-page {
  min-height: calc(100vh - 120px);
  padding: 180px 0 100px;
}

.legal-page > h1 {
  margin: 24px 0 16px;
  font-size: clamp(3.5rem, 8vw, 7rem);
}

.legal-page .updated {
  margin-bottom: 80px;
  color: var(--muted);
}

.legal-page section {
  max-width: 720px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.legal-page section h2 {
  margin-bottom: 20px;
  font-family: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
}

.legal-page section p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

@media (max-width: 640px) {
  main,
  footer,
  .site-header {
    width: min(100% - 32px, 1120px);
  }

  .hero {
    min-height: 82vh;
  }

  .about {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 80px 0;
  }

  footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .contact {
    transition: none;
  }
}
