:root {
  --bg: #f5f2ea;
  --surface: #ebe6dc;
  --text: #171717;
  --muted: #5f5b54;
  --border: #d7d0c4;
  --accent: #171717;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header,
.site-footer {
  border-bottom: 1px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.logo {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--text);
}

.hero {
  padding: 5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 400;
  line-height: 1.1;
}

h1 {
  margin-bottom: 1rem;
  font-size: clamp(3rem, 7vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.intro {
  max-width: 42rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  border: 1px solid var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: var(--bg);
}

.button.secondary {
  background: transparent;
}

.button:hover {
  background: var(--surface);
  color: var(--text);
}

.hero-panel {
  min-height: 32rem;
}

.panel-frame {
  height: 100%;
  min-height: 32rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #ded8cb, #f2ede3);
  display: grid;
  place-items: center;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.overview {
  padding: 1rem 0 5rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.28);
}

.card p,
.footer-inner p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .hero-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 1rem;
    flex-wrap: wrap;
  }
}
