:root {
  --slg-red: #ec2b04;
  --slg-red-dark: #b82005;
  --slg-green: #558928;
  --slg-green-dark: #355e1d;
  --slg-ink: #0f0f0d;
  --slg-muted: #66685f;
  --slg-cream: #f4f3ee;
  --slg-cream-light: #faf9f5;
  --slg-white: #ffffff;
  --slg-line: #e2ded3;
  --slg-shadow: 0 18px 44px rgba(27, 28, 22, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--slg-cream-light);
  color: var(--slg-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
}

a {
  color: var(--slg-green-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--slg-red-dark);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--slg-ink);
  color: var(--slg-white);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(15, 15, 13, 0.08);
  background: rgba(244, 243, 238, 0.95);
  backdrop-filter: blur(16px);
}

.header-inner,
.footer-inner,
.hero-inner,
.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--slg-ink);
  text-decoration: none;
}

.brand svg {
  display: block;
  width: 132px;
  height: auto;
  flex: 0 0 auto;
}

.brand span {
  padding-left: 16px;
  border-left: 1px solid var(--slg-line);
  color: var(--slg-muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  color: #4d5048;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  background: var(--slg-white);
  color: var(--slg-green-dark);
  box-shadow: 0 5px 15px rgba(27, 28, 22, 0.07);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 68px;
  background:
    radial-gradient(circle at 8% 18%, rgba(236, 43, 4, 0.09), transparent 24%),
    radial-gradient(circle at 90% 76%, rgba(85, 137, 40, 0.13), transparent 27%),
    var(--slg-cream);
}

.hero::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: 7%;
  top: -105px;
  border: 32px solid rgba(236, 43, 4, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--slg-green-dark);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 27px;
  height: 3px;
  border-radius: 99px;
  background: var(--slg-red);
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero > .hero-inner > p:not(.meta) {
  max-width: 740px;
  margin: 20px 0 0;
  color: #51534d;
  font-size: clamp(1rem, 1.8vw, 1.16rem);
}

.meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 0;
  padding: 7px 12px;
  border: 1px solid var(--slg-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--slg-muted);
  font-size: 0.83rem;
  font-weight: 750;
}

.meta::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--slg-green);
}

.wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
  padding: 64px 0 84px;
}

.content-card,
.side-card {
  border: 1px solid var(--slg-line);
  border-radius: 24px;
  background: var(--slg-white);
  box-shadow: var(--slg-shadow);
}

.content-card {
  padding: clamp(28px, 5vw, 56px);
}

.content-card > :first-child {
  margin-top: 0;
}

.content-card h2 {
  margin: 38px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.content-card h3 {
  margin: 27px 0 8px;
  font-size: 1.1rem;
}

.content-card p {
  margin: 0 0 16px;
  color: #444740;
}

.content-card ul,
.content-card ol {
  margin: 11px 0 20px;
  padding-left: 23px;
}

.content-card li {
  margin-bottom: 8px;
  color: #444740;
}

.content-card strong {
  color: var(--slg-ink);
}

.notice {
  margin: 22px 0;
  padding: 18px 20px;
  border: 1px solid rgba(85, 137, 40, 0.25);
  border-left: 4px solid var(--slg-green);
  border-radius: 14px;
  background: rgba(85, 137, 40, 0.07);
  color: #3f4b37;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0 32px;
}

.contact-grid > div {
  padding: 19px;
  border: 1px solid var(--slg-line);
  border-radius: 15px;
  background: var(--slg-cream-light);
}

.contact-grid p {
  margin: 5px 0 0;
}

.side-card {
  position: sticky;
  top: 106px;
  padding: 24px;
}

.side-card > h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.side-card h3 {
  margin: 22px 0 8px;
  color: var(--slg-muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.side-card ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-card a {
  display: block;
  padding: 8px 10px;
  border-radius: 9px;
  color: #4f524a;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.side-card a:hover,
.side-card a[aria-current="page"] {
  background: var(--slg-cream);
  color: var(--slg-green-dark);
}

.side-card a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--slg-red);
}

.site-footer {
  padding: 38px 0;
  background: var(--slg-ink);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner strong {
  color: var(--slg-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.footer-inner p {
  max-width: 560px;
  margin: 7px 0 0;
}

.footer-links {
  max-width: 360px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 16px;
}

.footer-links a {
  color: var(--slg-white);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

:focus-visible {
  outline: 3px solid rgba(236, 43, 4, 0.62);
  outline-offset: 4px;
}

@media (max-width: 950px) {
  .nav a:nth-child(4),
  .nav a:nth-child(5) {
    display: none;
  }

  .wrap {
    grid-template-columns: 1fr;
  }

  .side-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .header-inner,
  .footer-inner,
  .hero-inner,
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    min-height: 74px;
  }

  .brand svg {
    width: 105px;
  }

  .brand span,
  .nav a:not(:first-child):not(:last-child) {
    display: none;
  }

  .nav a {
    padding: 8px 10px;
  }

  .hero {
    padding: 56px 0 52px;
  }

  .wrap {
    padding: 44px 0 60px;
  }

  .content-card,
  .side-card {
    border-radius: 18px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
