:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --text: #171717;
  --muted: #5f5f5f;
  --line: rgba(23, 23, 23, 0.14);
  --line-strong: rgba(23, 23, 23, 0.24);

  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --container: 1040px;
  --reading: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.site-nav a,
.hero-links a,
.contact-links a,
.footer-links a {
  font-size: 0.95rem;
}

.brand {
  font-weight: 600;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.site-nav a,
.contact-links a,
.footer-links a {
  color: var(--muted);
}

.site-nav a:hover,
.hero-links a:hover,
.list-item h3 a:hover,
.contact-links a:hover,
.footer-links a:hover {
  color: var(--text);
}

.hero {
  padding: 84px 0 56px;
  border-bottom: 1px solid var(--line);
}

.hero-shell {
  max-width: 880px;
}

.eyebrow,
.section-label {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(2.75rem, 7vw, 5.2rem);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: var(--reading);
  margin-top: 28px;
}

.hero-copy p {
  margin: 0 0 0.9rem;
  font-size: 1.06rem;
  color: var(--text);
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 22px;
  margin-top: 24px;
}

.hero-links a {
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
}

.section {
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.section-side h2,
.contact-shell h2 {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.split-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.section-main {
  max-width: 740px;
}

.list-item {
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.list-item:last-child {
  margin-bottom: 0;
}

.list-item h3 {
  margin: 6px 0 8px;
  font-size: 1.2rem;
  line-height: 1.2;
  font-weight: 600;
}

.list-item h3 a {
  color: var(--text);
}

.list-item p,
.contact-copy p,
.contact-links {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.contact-section {
  background: var(--surface);
}

.contact-shell {
  max-width: 720px;
}

.contact-copy {
  margin-top: 20px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  margin-top: 18px;
}

.contact-links a {
  border-bottom: 1px solid var(--line-strong);
}

.site-footer {
  padding: 22px 0 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
}

.footer-name {
  font-size: 0.94rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  font-size: 0.9rem;
}

.footer-copy {
  text-align: right;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .split-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-copy,
  .footer-links {
    text-align: left;
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .header-inner {
    min-height: 64px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 12px 0;
  }

  .site-nav {
    gap: 12px 16px;
  }

  .hero {
    padding: 64px 0 44px;
  }

  .section {
    padding: 42px 0;
  }

  .hero-links,
  .contact-links {
    gap: 12px 16px;
  }
}
