:root {
  color-scheme: light;
  --ink: #172621;
  --ink-soft: #53645e;
  --paper: #f7f4ed;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --forest: #16352f;
  --forest-light: #24584e;
  --mint: #b7d6c7;
  --mint-pale: #e4efe9;
  --clay: #d86f4a;
  --sand: #eadfcf;
  --line: rgba(23, 38, 33, 0.14);
  --shadow-sm: 0 10px 28px rgba(22, 53, 47, 0.08);
  --shadow-lg: 0 24px 70px rgba(22, 53, 47, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --page: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 8% 8%, rgba(183, 214, 199, 0.35), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--surface-strong);
  transform: translateY(-160%);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(23, 38, 33, 0.08);
  background: rgba(247, 244, 237, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell,
.footer-shell {
  width: var(--page);
  margin-inline: auto;
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 42% 58%;
  background: var(--forest);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.15rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  background: var(--mint-pale);
  color: var(--forest);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--forest);
}

main {
  min-height: calc(100vh - 260px);
}

.hero,
.page-intro,
.section-shell,
.items-shell,
.contact-shell {
  width: var(--page);
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding-block: clamp(28px, 4.5vw, 58px) clamp(44px, 6vw, 76px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--forest-light);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: var(--clay);
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.85rem, 6.2vw, 5.9rem);
  font-weight: 500;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--forest-light);
  box-shadow: var(--shadow-sm);
  outline: none;
  transform: translateY(-2px);
}

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

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--surface);
}

.hero-visual {
  position: relative;
  min-height: clamp(360px, 42vw, 540px);
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 42% 42% 24px 24px;
  background: var(--sand);
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-intro {
  padding-block: clamp(64px, 9vw, 112px) 52px;
  text-align: center;
}

.page-intro h1 {
  margin-inline: auto;
  font-size: clamp(2.8rem, 7vw, 6rem);
}

.page-intro p:last-child {
  max-width: 680px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 1.15rem;
}

.section-shell {
  padding-block: 30px clamp(70px, 9vw, 116px);
}

.feature-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.feature-card:nth-child(even) {
  transform: translateY(46px);
}

.feature-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--mint-pale);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.feature-card:hover .feature-image img {
  transform: scale(1.035);
}

.feature-copy {
  padding: clamp(26px, 4vw, 42px);
}

.feature-copy h2 {
  margin-bottom: 14px;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 500;
}

.feature-copy p,
.center-card p,
.item-copy p {
  color: var(--ink-soft);
}

.center-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 96px;
}

.center-card {
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.center-card:nth-child(2),
.center-card:nth-child(4) {
  background: var(--mint-pale);
}

.center-number {
  display: block;
  margin-bottom: 38px;
  color: var(--clay);
  font-family: Georgia, serif;
  font-size: 1.1rem;
}

.center-card h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  letter-spacing: -0.025em;
}

.contact-shell {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: clamp(70px, 9vw, 116px);
  border-radius: var(--radius-lg);
  background: var(--forest);
  color: white;
}

.contact-card {
  min-height: 230px;
  padding: clamp(34px, 6vw, 68px);
}

.contact-card + .contact-card {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-card h2 {
  margin-bottom: 18px;
  color: var(--mint);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card p,
.contact-card a {
  margin-bottom: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.55rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  text-decoration: none;
}

.items-shell {
  padding-bottom: clamp(80px, 10vw, 130px);
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.item-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
}

.item-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sand);
}

.item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}

.item-card:hover .item-media img {
  transform: scale(1.04);
}

.media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.video-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(22, 53, 47, 0.9);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  pointer-events: none;
}

.item-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.item-copy h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.item-copy .button {
  align-self: flex-start;
  margin-top: auto;
}

.empty-state,
.error-state {
  width: var(--page);
  margin: 70px auto;
  padding: 50px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
}

.loading-shell {
  width: var(--page);
  margin: 80px auto;
}

.loading-block {
  width: 100%;
  height: 300px;
  margin-bottom: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--sand), var(--surface), var(--sand));
  background-size: 220% 100%;
  animation: loading 1.5s infinite linear;
}

.loading-block-short {
  width: 64%;
  height: 90px;
}

@keyframes loading {
  to { background-position: -220% 0; }
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-shell {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr auto;
  align-items: center;
  gap: 24px;
  padding-block: 38px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-shell p {
  margin: 0;
}

#footer-company {
  color: var(--forest);
  font-weight: 850;
}

.admin-link {
  color: var(--forest);
  font-weight: 800;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr 0.78fr;
    gap: 38px;
  }

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

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

@media (max-width: 760px) {
  :root {
    --page: min(100% - 28px, 640px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface-strong);
    box-shadow: var(--shadow-lg);
  }

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

  .nav-link {
    padding: 12px 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 32px;
  }

  .hero-visual {
    min-height: min(100vw, 460px);
  }

  .feature-duo,
  .contact-shell,
  .items-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:nth-child(even) {
    transform: none;
  }

  .center-grid {
    margin-top: 26px;
  }

  .contact-card + .contact-card {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: clamp(2.65rem, 12vw, 3.8rem);
  }

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

  .center-card {
    min-height: 190px;
  }

  .empty-state,
  .error-state {
    padding: 34px 22px;
  }
}

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