:root {
  --ink: #17201d;
  --text: #24312d;
  --muted: #65726e;
  --line: #d8ded9;
  --paper: #f7f8f5;
  --white: #ffffff;
  --sage: #54746a;
  --copper: #9b603f;
  --navy: #24384a;
  --soft: #eef2ed;
  --shadow: 0 20px 60px rgba(23, 32, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  color: var(--text);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body {
  margin: 0;
  min-width: 320px;
}

a {
  color: inherit;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(216, 222, 217, 0.86);
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(14px);
}

.nav-wrap,
.footer-wrap,
.hero,
.page-hero,
.section,
.notice-band,
.error-page,
.legal-page {
  width: min(1500px, calc(100% - 48px));
  margin: 0 auto;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 7px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.primary-nav a {
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.primary-nav a[aria-current="page"],
.primary-nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

.nav-cta {
  border: 1px solid var(--line);
  background: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 7rem) 0 4rem;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(2.85rem, 6vw, 6.7rem);
  max-width: 11ch;
}

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

h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.6vw, 1.65rem);
}

p {
  margin: 0;
}

.lead {
  margin-top: 1.4rem;
  color: var(--muted);
  max-width: 720px;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 750;
  border: 1px solid transparent;
}

.button-primary {
  background: var(--ink);
  color: var(--white);
}

.button-secondary {
  border-color: var(--line);
  background: var(--white);
}

.hero-media {
  margin: 0;
}

.hero-media img,
.page-hero img,
.feature-row img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-media img {
  aspect-ratio: 5 / 4;
}

.hero-media figcaption,
.gallery-grid figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.notice-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: clamp(3.8rem, 8vw, 7.5rem) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 0.64fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.copy-grid,
.card-grid,
.gallery-grid,
.timeline {
  display: grid;
  gap: 1rem;
}

.copy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.copy-grid article,
.card-grid article,
.timeline article,
.contact-card,
.note-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1.35rem;
}

.copy-grid p,
.card-grid p,
.timeline p,
.prose p,
.note-box p,
.legal-page p,
.faq-list p,
.check-list p,
.contact-card p {
  color: var(--muted);
}

.copy-grid article > * + *,
.card-grid article > * + *,
.timeline article > * + *,
.contact-card > * + *,
.note-box > * + *,
.prose > * + * {
  margin-top: 0.85rem;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.feature-row img {
  aspect-ratio: 4 / 3;
}

.feature-row p + p {
  margin-top: 1rem;
}

.text-link {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--navy);
  font-weight: 800;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.number,
.timeline span,
.gallery-grid span {
  color: var(--sage);
  font-weight: 850;
  font-size: 0.84rem;
  letter-spacing: 0.06em;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 6rem) 0 3rem;
}

.page-hero.compact {
  display: block;
  padding-bottom: 1rem;
}

.page-hero img {
  aspect-ratio: 4 / 3;
}

.identity-list {
  display: grid;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.identity-list div {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--line);
}

.identity-list div:first-child {
  border-top: 0;
}

.identity-list dt {
  color: var(--ink);
  font-weight: 800;
}

.identity-list dd {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 930px;
}

.check-list {
  display: grid;
  gap: 1rem;
}

.gallery-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-grid figure {
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid figcaption {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.note-box {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 0.8rem;
  max-width: 980px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 1rem 1.2rem;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
  font-size: 1.1rem;
}

.faq-list p {
  margin-top: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 0.65fr);
  gap: 1.2rem;
}

.contact-card.muted {
  background: var(--soft);
}

.legal-page {
  max-width: 920px;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.legal-page h1 {
  max-width: none;
}

.legal-page h2 {
  margin-top: 2.8rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.legal-page p {
  margin-top: 0.85rem;
}

.updated {
  color: var(--muted);
  font-size: 0.95rem;
}

.error-page {
  min-height: 62vh;
  padding: 6rem 0;
}

.site-footer {
  margin-top: 4rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.footer-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  gap: 2rem;
  padding: 3rem 0;
}

.footer-brand {
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 850;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.9rem 1rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-small {
  grid-column: 1 / -1;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .hero,
  .page-hero,
  .split,
  .feature-row,
  .contact-layout,
  .footer-wrap {
    grid-template-columns: 1fr;
  }

  .copy-grid,
  .card-grid.three,
  .card-grid.four,
  .gallery-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.8rem 0;
  }

  .primary-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }
}

@media (max-width: 680px) {
  .nav-wrap,
  .footer-wrap,
  .hero,
  .page-hero,
  .section,
  .notice-band,
  .error-page,
  .legal-page {
    width: min(100% - 32px, 1500px);
  }

  .hero,
  .page-hero {
    padding-top: 2.4rem;
  }

  .copy-grid,
  .card-grid.three,
  .card-grid.four,
  .gallery-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .identity-list div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

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