:root {
  --ink: #202523;
  --muted: #64706a;
  --brand: #168f55;
  --brand-dark: #0f6d40;
  --accent: #e3a72b;
  --line: #dfe5e1;
  --surface: #f4f7f5;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 16px/1.7 system-ui, -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

a {
  color: inherit;
}

button,
summary {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.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;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1001;
  padding: 8px 12px;
  color: #fff;
  background: var(--brand-dark);
  transform: translateY(-150%);
}

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

.container,
.header-inner {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  color: #fff;
  background: #111714;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
}

.main-menu ul {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.main-menu a {
  display: block;
  padding: 12px 18px;
  font-weight: 650;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.main-menu a:hover,
.main-menu a:focus-visible {
  color: #75d5a4;
  border-color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 4px;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  content: "";
  background: currentColor;
}

.menu-icon::before {
  transform: translateY(-7px);
}

.menu-icon::after {
  transform: translateY(5px);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: clamp(620px, calc(100svh - var(--header-height) - 48px), 1080px);
  margin-top: var(--header-height);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(0, 0, 0, 0.42);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: flex;
  transition: transform 600ms ease;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  object-fit: cover;
  object-position: center;
  transition: opacity 600ms ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-content {
  width: min(1120px, calc(100% - 40px));
  padding-bottom: 54px;
  margin-inline: auto;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: 42px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero p {
  margin: 12px 0 0;
  font-size: 20px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #fff;
  cursor: pointer;
  background: rgba(12, 18, 15, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
  place-items: center;
  transform: translateY(-50%);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.carousel-arrow::before {
  width: 8px;
  height: 8px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.carousel-arrow:hover {
  background: rgba(12, 18, 15, 0.72);
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.carousel-arrow:active {
  background: rgba(12, 18, 15, 0.86);
}

.carousel-prev {
  left: 24px;
}

.carousel-prev::before {
  transform: rotate(-135deg);
}

.carousel-next {
  right: 24px;
}

.carousel-next::before {
  transform: rotate(45deg);
}

.carousel-dots {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 23, 20, 0.45);
  border-radius: 50%;
}

.carousel-dot.is-active {
  background: var(--accent);
  border-color: #fff;
}

.content-section {
  padding: 88px 0 96px;
}

.section-heading {
  margin-bottom: 42px;
  text-align: center;
}

.section-heading p {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.3;
  letter-spacing: 0;
}

.section-heading h2::after {
  display: block;
  width: 52px;
  height: 3px;
  margin: 16px auto 0;
  content: "";
  background: var(--accent);
}

.section-heading-left {
  margin-bottom: 0;
  text-align: left;
}

.section-heading-left h2::after {
  margin-right: 0;
  margin-left: 0;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.job-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(23, 42, 33, 0.08);
}

.job-card > img {
  width: 100%;
  height: 148px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.job-card h3 {
  min-height: 66px;
  padding: 20px 18px 16px;
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  text-align: center;
}

.job-card details {
  border-top: 1px solid var(--line);
}

.job-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  padding: 10px 16px;
  color: var(--brand-dark);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  background: var(--surface);
}

.job-card summary::-webkit-details-marker {
  display: none;
}

.job-card summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.job-card details[open] summary::after {
  content: "−";
}

.job-details {
  padding: 18px;
  color: #35413b;
  font-size: 14px;
}

.job-details h4 {
  margin: 14px 0 6px;
  color: var(--ink);
  font-size: 15px;
}

.job-details h4:first-child {
  margin-top: 0;
}

.job-details ol {
  padding-left: 22px;
  margin: 0;
}

.job-details li + li {
  margin-top: 6px;
}

.company-section {
  display: flex;
  align-items: center;
  min-height: 520px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.65fr) minmax(0, 1.7fr);
  gap: 72px;
  align-items: start;
}

.company-body {
  min-width: 0;
}

.company-copy {
  color: #35413b;
  font-size: 18px;
  line-height: 1.9;
}

.company-copy p {
  margin: 0;
}

.company-copy p + p {
  margin-top: 20px;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 24px;
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}

.company-facts div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.company-facts dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.company-facts dd {
  margin: 0;
  font-weight: 700;
  line-height: 1.5;
}

.site-footer {
  padding: 14px 0;
  color: #d7ddd9;
  background: #111714;
}

.footer-content {
  font-size: 13px;
  line-height: 1.4;
}

.footer-content p,
.footer-content address {
  margin: 0;
  font-style: normal;
}

.footer-content address,
.footer-content p + p {
  margin-top: 2px;
}

.site-footer a {
  color: #8ee0b4;
}

@media (min-width: 992px) {
  .hero {
    height: clamp(280px, calc(100svh - var(--header-height) - 340px), 900px);
    min-height: 0;
  }

  .company-section {
    min-height: 340px;
    padding: 38px 0;
  }

  .company-copy {
    font-size: 16px;
    line-height: 1.7;
  }

  .company-copy p + p {
    margin-top: 12px;
  }

  .company-facts {
    padding-top: 14px;
    margin-top: 20px;
  }
}

@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }

  .main-menu {
    position: absolute;
    inset: var(--header-height) 0 auto;
    display: none;
    padding: 8px 20px 14px;
    background: #111714;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-menu.is-open {
    display: block;
  }

  .main-menu ul {
    display: block;
  }

  .main-menu a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-menu li:last-child a {
    border-bottom: 0;
  }

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

  .company-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .job-card > img {
    height: calc((100vw - 60px) * 9 / 32);
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .container,
  .header-inner,
  .hero-content {
    width: min(100% - 30px, 1120px);
  }

  .hero {
    min-height: clamp(420px, calc(100svh - var(--header-height) - 32px), 560px);
  }

  .company-section {
    min-height: 480px;
  }

  .hero-content {
    padding-bottom: 34px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 17px;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-prev {
    left: 12px;
  }

  .carousel-next {
    right: 12px;
  }

  .content-section {
    padding: 58px 0 64px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

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

  .job-card > img {
    height: calc((100vw - 30px) * 9 / 16);
  }

  .company-copy {
    font-size: 16px;
  }

  .company-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: 14px;
    margin-top: 28px;
  }

  .company-facts div {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 12px;
    padding: 10px 0;
  }

  .company-facts div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .company-facts dt {
    margin: 0;
  }

  .site-footer {
    padding: 12px 0;
  }
}

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

  .hero-slides,
  .hero-slide {
    transition: none;
  }

  .carousel-arrow {
    transition: none;
  }
}
