@charset "utf-8";

/* ===== TOKENS ===== */

:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.15rem);
  --text-2xl: clamp(2.25rem, 1.45rem + 2.8vw, 4.6rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  --color-bg: #f7f6f3;
  --color-surface: #ffffff;
  --color-surface-2: #f0eee8;
  --color-border: rgba(18, 24, 20, 0.12);
  --color-divider: rgba(18, 24, 20, 0.08);
  --color-text: #1f1d18;
  --color-text-muted: #5a6358;
  --color-text-faint: #878176;

  --color-primary: #145a32;
  --color-primary-hover: #0f4725;
  --color-primary-soft: rgba(20, 90, 50, 0.09);
  --color-accent: #b45f06;

  --color-hero-text: #f8f5ef;
  --hero-overlay: linear-gradient(
    rgba(7, 18, 11, 0.7),
    rgba(7, 18, 11, 0.7)
  );

  --shadow-sm: 0 10px 28px rgba(19, 24, 21, 0.07);
  --shadow-md: 0 18px 48px rgba(19, 24, 21, 0.12);
  --shadow-hover: 0 20px 56px rgba(19, 24, 21, 0.16), 0 4px 12px rgba(19, 24, 21, 0.08);

  --radius-md: 0.9rem;
  --radius-lg: 1.15rem;
  --radius-xl: 1.25rem;
  --radius-full: 999px;

  --content: 1180px;
  --reading: 760px;

  --font-heading: 'Inter', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;
  --font-display: 'Inter', Arial, sans-serif;

  --transition: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --nav-glass: rgba(255, 255, 255, 0.86);
}

/* ===== BASE ===== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 6rem;
}

body {
  min-height: 100vh;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.72;
}

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

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

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
  z-index: 200;
  background: var(--color-surface);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ===== HEADER ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 90, 50, 0.15);
}

.header-inner {
  width: min(calc(100% - 1rem), var(--content));
  margin: 0 auto;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 0.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.site-nav {
  display: flex;
  align-items: center;
  position: relative;
  gap: 1rem;
}

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

.header-link {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0.6px solid var(--color-primary);
  border-radius: 0.35rem;
  background: transparent;
  color: var(--color-primary);
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: transparent;
}

.menu-toggle__bar {
  display: block;
  width: 16px;
  height: 2px;
  margin: 2px auto;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: min(24rem, calc(100vw - 2rem));
  z-index: 40;
  padding: 0.6rem;
  background: rgba(15, 23, 18, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(20, 90, 50, 0.15);
  border-radius: 0.75rem;
  box-shadow: 0 8px 32px rgba(19, 24, 21, 0.12);
}

.mobile-menu__link {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: 0.5rem;
  color: #f9fafb;
  font-size: 0.98rem;
  font-weight: 600;
}

.mobile-menu__link + .mobile-menu__link {
  margin-top: 0.35rem;
}

.mobile-menu__link:hover,
.mobile-menu__link:focus-visible {
  background: rgba(248, 250, 252, 0.08);
  color: #ffffff;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ===== HERO ===== */

.hero {
  background-image: var(--hero-overlay), var(--hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--color-hero-text);
}

.hero-inner {
  width: min(calc(100% - 1rem), var(--content));
  margin: 0 auto;
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.hero-copy {
  max-width: 62ch;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3) 0;
  padding-left: var(--space-1);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.035em;
  font-weight: 800;
  text-wrap: balance;
  font-size: var(--text-2xl);
  line-height: 1.08;
  max-width: 11ch;
}

.hero-copy p {
  margin: var(--space-5) 0 0 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 58ch;
}

@media (min-width: 981px) {
  .eyebrow {
margin-top: 4rem;
    padding-left: var(--space-3);
  }

  .hero-inner {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .hero-copy p {
    margin-top: 0.8rem;
  }
}

@media (max-width: 767px) {
  .hero h1 {
    max-width: 12ch;
  }
}

/* ===== LABEL ===== */

.label {
  --label-top: 1.5rem;
  --label-bottom: 0rem;
  margin-top: var(--label-top);
  margin-bottom: var(--label-bottom);
}

.label__inner {
  width: min(calc(100% - 1rem), var(--content));
  margin: 0 auto;
  padding-left: var(--space-1);
}

.label__title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: var(--font-display);
  color: #7f8f9f;
  opacity: 1.0;
}

@media (min-width: 981px) {
  .label__inner {
    padding-left: var(--space-3);
  }
}

/* ===== SHELL ===== */

.shell {
  width: min(calc(100%), var(--content));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-10);
  align-items: start;
  padding: var(--space-1) 0 var(--space-20);
}

.entries {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  width: min(calc(100% - 1rem), var(--content));
  margin: 0 auto;
}

.cards > .card {
  width: 100%;
  min-width: 0;
}

/* ===== CARD ===== */

.card {
  width: 100%;
  max-width: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 0.2rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card__img {
  transform: scale(1.04);
}

.card__body {
  padding: var(--space-6);
}

.card__num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  opacity: 0.18;
  line-height: 1;
  font-style: italic;
  margin-bottom: var(--space-2);
}

.card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.08;
  margin-bottom: var(--space-3);
  letter-spacing: -0.03em;
}

.card__body-cluster {
  display: grid;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.card__subtitle {
  font-size: calc(var(--text-xs) + 0.05rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  opacity: 0.92;
  line-height: 1.45;
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.card__contact-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-bottom: var(--space-2);
}

.card__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

.card__contact-icon {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.card__contact-item span {
  color: var(--color-text-muted);
  font-weight: 500;
  word-break: break-word;
}

.card__contact-item a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  word-break: break-word;
}

.card__contact-item a:hover,
.card__contact-item a:focus-visible {
  color: var(--color-primary-hover);
}

.card__num--overlay {
  display: none;
}

.card--overlay-num .card__num--overlay {
  display: block;
  position: absolute;
  left: 1rem;
  bottom: 0.2rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 2rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  opacity: 0.7;
  pointer-events: none;
}

/* ===== ARTICLE CONTACT ===== */

.article-contact {
  padding: 0 0 0;
}

.article-contact__inner {
  width: min(calc(100% - 1rem), var(--content));
  margin: 0 auto;
  display: grid;
  gap: var(--space-6);
}

.article-contact__intro {
  max-width: 44rem;
  padding-left: var(--space-1);
}

.article-contact__eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-contact__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.article-contact__text {
  margin-top: var(--space-3);
  max-width: 42rem;
  color: var(--color-text-muted);
  font-size: var(--text-base);
}

.article-contact__card {
  max-width: 760px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(36, 50, 67, 0.14);
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(18, 26, 40, 0.12);
  padding: clamp(1.25rem, 3vw, 1.8rem);
}

.article-contact__card-header {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.1rem;
}

.article-contact__card-title {
  font-size: 1.28rem;
  line-height: 1.08;
  color: var(--color-text);
}

.article-contact__card-text {
  color: rgba(34, 43, 54, 0.8);
  font-size: 0.96rem;
}

.article-contact__form {
  display: grid;
  gap: 1rem;
}

.article-contact__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.article-contact__field {
  display: grid;
  gap: 0.45rem;
}

.article-contact__field label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #222b36;
}

.article-contact__field input,
.article-contact__field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(46, 68, 96, 0.2);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.96);
  color: #222b36;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.article-contact__field input::placeholder,
.article-contact__field textarea::placeholder {
  color: rgba(34, 43, 54, 0.6);
}

.article-contact__field input:focus-visible,
.article-contact__field textarea:focus-visible {
  outline: none;
  border-color: rgba(79, 115, 160, 0.55);
  box-shadow:
    0 0 0 3px rgba(79, 115, 160, 0.12),
    0 0 0 1px rgba(79, 115, 160, 0.22) inset;
}

.article-contact__field textarea {
  min-height: 11rem;
  resize: vertical;
}

.article-contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.2rem;
}

.article-contact__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  background: #7f8f9f;
  color: #f7f7f5;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(18, 26, 40, 0.18);
  transition:
    transform var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.article-contact__button:hover,
.article-contact__button:focus-visible {
  transform: translateY(-1px);
  background: #324d74;
}

.article-contact__meta {
  color: rgba(34, 43, 54, 0.6);
  font-size: 0.9rem;
}

@media (min-width: 981px) {
  .article-contact__intro {
    padding-left: var(--space-3);
  }
}

@media (max-width: 767px) {
  .article-contact__row {
    grid-template-columns: 1fr;
  }

  .article-contact__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .article-contact__button {
    width: 100%;
  }
}

.card--overlay-num .card__body > .card__num {
  display: none;
}

/* ===== FOOTER ===== */

.site-footer {
  margin-top: var(--space-4);
  padding: 2.5rem 0 2.5rem;
  background: #0b301b;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.55rem 1rem;
  margin-bottom: 0.65rem;
  text-align: center;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.footer-bottom-links a:hover,
.footer-bottom-links a:focus-visible {
  color: #ffffff;
}

.footer-copyright {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(248, 249, 250, 0.82);
}

/* ===== RESPONSIVE ===== */

@media (max-width: 767px) {
  .header-inner {
    min-height: 64px;
  }

  .site-nav {
    margin-right: 0.5rem;
  }

  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero {
    min-height: 380px;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .cards > .card {
    flex: 1 1 100%;
  }

  .card__body {
    padding: var(--space-5);
  }
}

@media (max-width: 980px) and (min-width: 768px) {
  .cards > .card {
    flex: 1 1 calc(50% - var(--space-6) / 2);
  }
}

@media (min-width: 981px) {
  .cards {
    gap: var(--space-5);
  }

  .cards > .card {
    flex: 1 1 calc(33.333% - var(--space-5));
  }

  .card__img-wrap {
    aspect-ratio: 16 / 9;
  }

  .card__body {
    padding: var(--space-5);
  }

  .card__num {
    font-size: 1.9rem;
    margin-bottom: 0.35rem;
  }

  .card__title {
    font-size: 1.35rem;
    line-height: 1.08;
    margin-bottom: 0.45rem;
  }

  .card__body-cluster {
    gap: 0.2rem;
    margin-bottom: var(--space-3);
  }

  .card__subtitle {
    font-size: 0.78rem;
  }

  .card__desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .card__contact-grid {
    gap: var(--space-2);
    padding-bottom: 0;
  }

  .card__contact-item {
    gap: 0.6rem;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .card__contact-icon {
    width: 14px;
    height: 14px;
    margin-top: 2px;
  }

  .hero {
    min-height: 500px;
  }

  .hero-inner {
    padding-top: 0;
    padding-bottom: 3.25rem;
  }

  .hero .eyebrow {
    margin-bottom: 0.35rem;
  }

  .hero .hero-copy p {
    margin-top: 0.8rem;
  }

  .card--overlay-num .card__num--overlay {
    font-size: 1.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}