:root {
  --ink: #1a221e;
  --ink-soft: #3d4a43;
  --muted: #66756c;
  --paper: #e8ece7;
  --surface: #f4f6f3;
  --white: #fbfcfb;
  --pine: #2a5644;
  --pine-deep: #1e3d31;
  --brass: #9a7b4f;
  --line: rgba(26, 34, 30, 0.12);
  --shadow-soft: 0 18px 50px rgba(26, 34, 30, 0.08);
  --font-brand: "Noto Serif SC", "Songti SC", serif;
  --font-body: "IBM Plex Sans", "Noto Sans SC", sans-serif;
  --max: 1120px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(42, 86, 68, 0.08), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(154, 123, 79, 0.07), transparent 50%),
    linear-gradient(180deg, var(--surface) 0%, var(--paper) 100%);
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--pine);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--pine-deep);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(251, 252, 251, 0.82);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
}

.brand span {
  display: block;
  margin-top: 0.1rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--pine);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 42px;
  height: 42px;
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-items: end;
  color: #f7faf8;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 28, 24, 0.25) 0%, rgba(18, 28, 24, 0.72) 70%, rgba(18, 28, 24, 0.88) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0 4rem;
  animation: rise 0.9s var(--ease) both;
}

.hero__brand {
  font-family: var(--font-brand);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 500;
  max-width: 22em;
}

.hero__lead {
  margin: 0 0 1.8rem;
  max-width: 34em;
  color: rgba(247, 250, 248, 0.88);
  font-size: 1.02rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: #f3f7f4;
  color: var(--pine-deep);
}

.btn--primary:hover {
  background: #fff;
  color: var(--pine-deep);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(243, 247, 244, 0.45);
  color: #f3f7f4;
}

.btn--ghost:hover {
  background: rgba(243, 247, 244, 0.1);
  color: #fff;
}

.btn--solid {
  background: var(--pine);
  color: #f7faf8;
}

.btn--solid:hover {
  background: var(--pine-deep);
  color: #f7faf8;
}

.btn--line {
  background: transparent;
  border-color: var(--pine);
  color: var(--pine);
}

.section {
  padding: 4.5rem 0;
}

.section--tight {
  padding: 3.2rem 0;
}

.section__label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 600;
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-brand);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  line-height: 1.3;
  font-weight: 700;
}

.section__lead {
  margin: 0 0 2rem;
  max-width: 40em;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.split--reverse > :first-child {
  order: 2;
}

.media-plane {
  min-height: 320px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.media-plane img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.link-list li {
  border-bottom: 1px solid var(--line);
}

.link-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0.15rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 550;
  transition: padding 0.25s var(--ease), color 0.25s var(--ease);
}

.link-list a:hover {
  color: var(--pine);
  padding-left: 0.4rem;
}

.link-list em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
}

.page-hero {
  padding: 3.2rem 0 1.5rem;
  animation: rise 0.7s var(--ease) both;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand);
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
  line-height: 1.25;
}

.page-hero p {
  margin: 0;
  max-width: 42em;
  color: var(--muted);
}

.crumb {
  margin: 0 0 1rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.crumb a {
  color: var(--muted);
  text-decoration: none;
}

.crumb a:hover {
  color: var(--pine);
}

.prose .geo-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  background: rgba(42, 86, 68, 0.06);
  border-left: 4px solid var(--brass);
}

.prose {
  max-width: 720px;
}

.prose h2 {
  margin: 2.4rem 0 0.85rem;
  font-family: var(--font-brand);
  font-size: 1.45rem;
  line-height: 1.35;
}

.prose h3 {
  margin: 1.6rem 0 0.55rem;
  font-size: 1.08rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1.4rem 0 1.8rem;
  border: 1px solid var(--line);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
}

th,
td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.94rem;
}

th {
  background: rgba(42, 86, 68, 0.07);
  color: var(--pine-deep);
  font-weight: 600;
}

tr:last-child td {
  border-bottom: 0;
}

.flow {
  margin: 1.2rem 0 1.8rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.flow li {
  position: relative;
  padding: 0.95rem 0 0.95rem 3rem;
  border-left: 1px solid var(--line);
  margin-left: 0.85rem;
}

.flow li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -0.85rem;
  top: 1rem;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--pine);
  color: #f7faf8;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2.5rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding-right: 2.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brass);
  font-size: 1.25rem;
  font-weight: 500;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-body {
  padding: 0 1.15rem 1.15rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.faq-body p {
  margin: 0.85rem 0 0;
}

.faq-body a {
  font-weight: 500;
}

.entity {
  margin-top: 2.8rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
}

.entity h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-brand);
  font-size: 1.25rem;
}

.entity dl {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.entity dt {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--brass);
  font-weight: 600;
}

.entity dd {
  margin: 0 0 0.45rem;
  color: var(--ink-soft);
}

.note {
  margin: 1.2rem 0;
  padding: 0.9rem 0;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.case-link__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.case-link__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.case-link:hover .case-link__media img {
  transform: scale(1.04);
}

.case-link h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-brand);
  font-size: 1.2rem;
}

.case-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.facts div {
  padding: 1rem 0;
  border-top: 2px solid var(--pine);
}

.facts strong {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.facts span {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: rgba(251, 252, 251, 0.7);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-brand);
  font-size: 1.05rem;
}

.site-footer p,
.site-footer li {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.4rem;
}

.site-footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--pine);
}

.legal {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.2%, -0.8%, 0);
  }
}

@media (max-width: 900px) {
  .split,
  .case-grid,
  .site-footer__grid,
  .facts {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 0;
  }

  .facts {
    grid-template-columns: 1fr 1fr;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(251, 252, 251, 0.97);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .hero {
    min-height: 78vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
