:root {
  --bg: #f6efe2;
  --bg-soft: #fffaf1;
  --surface: rgba(255, 250, 241, 0.92);
  --surface-strong: #fffdf8;
  --text: #1f2a2e;
  --muted: #5d6b70;
  --line: rgba(31, 42, 46, 0.12);
  --brand: #d96b2b;
  --brand-deep: #93431a;
  --accent: #1c7c72;
  --shadow: 0 18px 60px rgba(81, 53, 25, 0.12);
  --radius: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(217, 107, 43, 0.18), transparent 34%),
    radial-gradient(circle at top right, rgba(28, 124, 114, 0.16), transparent 28%),
    linear-gradient(180deg, #fbf4e7 0%, #f4ebde 100%);
  line-height: 1.6;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(251, 244, 231, 0.88);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-mark {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.98rem;
}

.nav a {
  padding: 0.35rem 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: var(--brand-deep);
  border-color: var(--brand);
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero-grid,
.split-grid,
.cards,
.blog-grid,
.stats,
.contact-grid,
.footer-links,
.post-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(28, 124, 114, 0.12);
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.lead {
  font-size: 1.14rem;
  max-width: 58ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--brand);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brand);
  color: #fff9f4;
}

.button.secondary {
  background: transparent;
  color: var(--brand-deep);
}

.panel,
.card,
.stat,
.highlight,
.post-card,
.contact-card,
.legal-card,
.toc,
.quote,
.service-card {
  background: var(--surface);
  border: 1px solid rgba(31, 42, 46, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel {
  padding: 1.8rem;
}

.route-board {
  padding: 2rem;
  background:
    linear-gradient(145deg, rgba(28, 124, 114, 0.95), rgba(15, 66, 61, 0.96));
  color: #f3f8f7;
  border-radius: 32px;
  box-shadow: 0 28px 60px rgba(18, 57, 54, 0.28);
}

.route-board p {
  color: rgba(243, 248, 247, 0.86);
}

.route-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.3rem;
}

.route-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
}

.section {
  padding: 2rem 0 4rem;
}

.section-header {
  margin-bottom: 1.8rem;
  max-width: 70ch;
}

.cards,
.blog-grid,
.stats,
.footer-links {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.post-card,
.stat,
.service-card,
.contact-card,
.legal-card,
.toc,
.quote {
  padding: 1.5rem;
}

.card strong,
.service-card strong {
  color: var(--brand-deep);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-deep);
}

.list {
  padding-left: 1.1rem;
  color: var(--muted);
}

.list li + li {
  margin-top: 0.55rem;
}

.post-card time,
.meta,
.small {
  font-size: 0.92rem;
  color: var(--muted);
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero h1 {
  max-width: 14ch;
}

.article {
  padding: 0.5rem 0 4rem;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
  gap: 1.6rem;
  align-items: start;
}

.article-body,
.article-aside {
  display: grid;
  gap: 1.4rem;
}

.article-body section {
  background: var(--surface-strong);
  border-radius: var(--radius);
  border: 1px solid rgba(31, 42, 46, 0.08);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.article-body h2 {
  font-size: 1.5rem;
}

.toc ul,
.related-links {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.related-links li + li,
.toc li + li {
  margin-top: 0.6rem;
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(31, 42, 46, 0.15);
  background: #fffdfa;
  font: inherit;
  color: var(--text);
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2rem;
  background: rgba(255, 250, 241, 0.65);
}

.footer-links {
  margin-top: 0.8rem;
}

.footer-links a {
  color: var(--muted);
}

.kicker {
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 920px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .article-layout,
  .cards,
  .blog-grid,
  .stats,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
  }
}

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

  .hero {
    padding-top: 3rem;
  }

  h1 {
    max-width: none;
  }
}
