:root {
  --bg: #f7f2e8;
  --bg-soft: #efe7d7;
  --paper: rgba(255, 252, 246, 0.82);
  --text: #173b33;
  --muted: #47675f;
  --line: rgba(23, 59, 51, 0.14);
  --green-deep: #12392f;
  --green: #1f5a49;
  --emerald: #2f8f78;
  --emerald-soft: #67b39c;
  --gold: #b68a3b;
  --shadow: 0 24px 60px rgba(18, 57, 47, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(103, 179, 156, 0.2), transparent 30%),
    radial-gradient(circle at top right, rgba(182, 138, 59, 0.12), transparent 18%),
    linear-gradient(180deg, #f9f4eb 0%, #f0e8da 100%);
  line-height: 1.6;
}

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

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

p,
ul {
  margin: 0;
}

ul {
  padding-left: 1.2rem;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(247, 242, 232, 0.82);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-mark strong,
.hero-copy h1,
.section-heading h2,
.page-hero-copy h1,
.cta-panel h2,
.feature-card h3,
.service-card h3,
.achievement-card h3,
.contact-card h3,
.faq-item h3,
.story-card h3 {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.brand-mark strong {
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.brand-mark span {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0.6rem 0.75rem;
  border-radius: 999px;
  color: var(--green-deep);
  cursor: pointer;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.98rem;
}

.main-nav a {
  color: var(--muted);
}

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

.lang-switch {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(18, 57, 47, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

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

.hero-grid,
.page-hero-grid,
.about-grid,
.contact-grid,
.cta-panel,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid,
.page-hero-grid,
.about-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
}

.hero-copy h1,
.page-hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.hero-copy p,
.page-hero-copy p {
  max-width: 60ch;
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.stack-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button {
  background: var(--green-deep);
  color: #fbf7ef;
}

.button-secondary {
  border-color: rgba(18, 57, 47, 0.2);
  background: rgba(255, 255, 255, 0.48);
  color: var(--green-deep);
}

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

.hero-figure,
.page-hero-figure,
.story-figure,
.gallery-card img,
.contact-card img {
  position: relative;
}

.hero-figure img,
.page-hero-figure img,
.story-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.hero-stats,
.fact-strip,
.inline-list,
.mini-points {
  display: grid;
  gap: 1rem;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.8rem;
}

.stat,
.achievement-card,
.service-card,
.feature-card,
.story-card,
.faq-item,
.contact-card,
.gallery-card {
  background: var(--paper);
  border: 1px solid rgba(18, 57, 47, 0.09);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.stat {
  padding: 1rem;
}

.stat strong {
  display: block;
  color: var(--green-deep);
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.94rem;
}

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

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.section-heading h2,
.cta-panel h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.95;
}

.section-heading p,
.cta-panel p,
.story-card p,
.feature-card p,
.service-card p,
.achievement-card p,
.faq-item p,
.contact-card p,
.footer-note {
  color: var(--muted);
}

.feature-grid,
.service-grid,
.achievement-grid,
.faq-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card,
.service-card,
.achievement-card,
.faq-item,
.contact-card,
.story-card {
  padding: 1.4rem;
}

.feature-card h3,
.service-card h3,
.achievement-card h3,
.faq-item h3,
.story-card h3,
.contact-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
}

.service-card ul,
.achievement-card ul,
.story-card ul {
  margin-top: 0.8rem;
}

.split-band {
  margin-top: 1.8rem;
  padding: 1.3rem;
  background: linear-gradient(135deg, rgba(18, 57, 47, 0.95), rgba(47, 143, 120, 0.88));
  color: #fbf7ef;
  border-radius: var(--radius-lg);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.3fr 1fr;
}

.split-band p,
.split-band li {
  color: rgba(251, 247, 239, 0.88);
}

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

.fact {
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.fact strong {
  display: block;
  font-size: 1.25rem;
}

.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.4rem;
  align-items: start;
}

.story-figure img {
  min-height: 100%;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-card figcaption {
  padding: 1rem 1.1rem 1.2rem;
  color: var(--muted);
}

.cta-panel {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(140deg, rgba(18, 57, 47, 0.96), rgba(27, 88, 72, 0.92) 60%, rgba(103, 179, 156, 0.78));
  color: #fbf7ef;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.cta-panel p,
.cta-panel a {
  color: rgba(251, 247, 239, 0.9);
}

.contact-card img {
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.mini-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.site-footer {
  padding: 2rem 0 2.8rem;
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-note {
  justify-self: start;
}

.footer-credit {
  justify-self: center;
  text-align: center;
  color: var(--muted);
}

.footer-credit a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-credit a::after {
  content: "🐈‍⬛";
  font-size: 1rem;
  line-height: 1;
}

.footer-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 700ms ease forwards;
}

.reveal-delay-1 {
  animation-delay: 120ms;
}

.reveal-delay-2 {
  animation-delay: 220ms;
}

.reveal-delay-3 {
  animation-delay: 320ms;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .page-hero-grid,
  .about-grid,
  .contact-grid,
  .story-grid,
  .cta-panel,
  .split-band,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .service-grid,
  .achievement-grid,
  .faq-grid,
  .gallery-grid,
  .fact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .footer-note,
  .footer-credit,
  .footer-end {
    justify-self: center;
    text-align: center;
  }

  .footer-end,
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: start;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 251, 245, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .feature-grid,
  .service-grid,
  .achievement-grid,
  .faq-grid,
  .gallery-grid,
  .fact-strip,
  .mini-points {
    grid-template-columns: 1fr;
  }

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

  .brand-mark strong {
    font-size: 1.6rem;
  }
}
