.home-page main {
  overflow: hidden;
}

.home-page .home-eyebrow {
  margin: 0 0 13px;
  color: var(--teal, #0a7775);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
  max-width: var(--max, 1240px);
  min-height: 650px;
  margin: 0 auto;
  padding: 64px 28px 72px;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--ink, #08283c);
  font-size: clamp(48px, 6.3vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.home-lead {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--muted, #5d717b);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.65;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 21px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.home-button-primary {
  background: var(--ink, #08283c);
  color: #fff;
  box-shadow: 0 13px 28px rgba(8, 40, 60, 0.2);
}

.home-button-secondary {
  border: 1px solid rgba(8, 40, 60, 0.18);
  background: #fff;
  color: var(--ink, #08283c);
}

.home-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 19px;
  margin: 25px 0 0;
  padding: 0;
  color: var(--muted, #5d717b);
  font-size: 12px;
  font-weight: 750;
  list-style: none;
}

.home-hero-notes li::before {
  margin-right: 7px;
  color: var(--teal, #0a7775);
  content: "✓";
}

.home-hero-media {
  position: relative;
  min-height: 540px;
  margin: 0;
  overflow: hidden;
  border-radius: 34px 8px 34px 8px;
  background: #d9e8e8;
  box-shadow: 0 30px 80px rgba(4, 27, 42, 0.2);
}

.home-hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(4, 27, 42, 0.7));
  content: "";
  pointer-events: none;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.home-hero-media picture,
.home-operations-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.home-hero-media figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-trusted-by {
  max-width: var(--max, 1240px);
  margin: 0 auto;
  padding: 0 28px 72px;
}

.home-trusted-by-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  border-top: 1px solid rgba(8, 40, 60, 0.13);
  border-bottom: 1px solid rgba(8, 40, 60, 0.13);
  padding: 18px 0;
}

.home-trusted-by p {
  margin: 0;
  color: var(--ink, #08283c);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.home-trusted-by-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(76px, 1fr));
  gap: clamp(16px, 2.4vw, 34px);
  align-items: center;
}

.home-trusted-by figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 42px;
  margin: 0;
}

.home-trusted-by img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 34px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
}

.home-trusted-by figure[data-customer="ijm"] img,
.home-trusted-by figure[data-customer="mitrajaya"] img {
  max-height: 42px;
}

.home-section {
  max-width: var(--max, 1240px);
  margin: 0 auto;
  padding: 92px 28px;
}

.home-section-heading {
  max-width: 850px;
}

.home-section-heading h2,
.home-operations h2,
.home-proof h2,
.home-final-cta h2 {
  margin: 0;
  color: var(--ink, #08283c);
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.home-section-heading > p:last-child,
.home-section-heading-split > p,
.home-operations-media p,
.home-final-cta p {
  color: var(--muted, #5d717b);
  font-size: 16px;
  line-height: 1.72;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.home-card-grid article {
  min-height: 230px;
  padding: 28px;
  border: 1px solid rgba(8, 40, 60, 0.12);
  border-radius: 22px;
  background: #fff;
}

.home-card-grid article:nth-child(2) {
  background: #eef8f6;
}

.home-card-grid h3 {
  margin: 0;
  color: var(--ink, #08283c);
  font-size: 21px;
}

.home-card-grid p {
  margin: 17px 0 0;
  color: var(--muted, #5d717b);
  line-height: 1.7;
}

.home-areas {
  max-width: none;
  padding-right: max(28px, calc((100vw - var(--max, 1240px)) / 2 + 28px));
  padding-left: max(28px, calc((100vw - var(--max, 1240px)) / 2 + 28px));
  background: var(--ink, #08283c);
}

.home-areas .home-eyebrow,
.home-areas h2 {
  color: #fff;
}

.home-areas .home-section-heading-split > p {
  color: rgba(255, 255, 255, 0.67);
}

.home-section-heading-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: end;
  max-width: none;
}

.home-area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 46px;
}

.home-area-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 5px 16px;
  min-height: 136px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.home-area-card:hover,
.home-area-card:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.home-area-card > span {
  grid-row: 1 / 3;
  color: #62d7c7;
  font-size: 11px;
  font-weight: 900;
}

.home-area-card strong {
  font-size: 21px;
}

.home-area-card small {
  align-self: end;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 750;
}

.home-need-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 40px;
}

.home-need-grid a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 13px 18px;
  border: 1px solid rgba(8, 40, 60, 0.12);
  border-radius: 13px;
  color: var(--ink, #08283c);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.home-need-grid a:hover,
.home-need-grid a:focus-visible {
  border-color: var(--teal, #0a7775);
  background: #f0fbf9;
  outline: none;
}

.home-need-grid span {
  color: var(--teal, #0a7775);
}

.home-operations {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  max-width: var(--max, 1240px);
  margin: 0 auto;
  padding: 92px 28px;
}

.home-operations-media {
  align-self: stretch;
  padding: 18px;
  border-radius: 26px;
  background: #eef5f5;
}

.home-operations-media img {
  width: 100%;
  height: 420px;
  border-radius: 17px;
  object-fit: cover;
}

.home-operations-media p {
  margin: 20px 10px 8px;
  font-size: 13px;
}

.home-operations-copy {
  padding: 24px 0 20px clamp(34px, 5vw, 76px);
}

.home-step-list {
  display: grid;
  gap: 0;
  margin-top: 38px;
}

.home-step-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 17px;
  padding: 20px 0;
  border-top: 1px solid rgba(8, 40, 60, 0.12);
}

.home-step-list article > span {
  color: var(--teal, #0a7775);
  font-size: 12px;
  font-weight: 900;
}

.home-step-list h3 {
  margin: 0;
  color: var(--ink, #08283c);
  font-size: 19px;
}

.home-step-list p {
  margin: 6px 0 0;
  color: var(--muted, #5d717b);
  line-height: 1.6;
}

.home-proof {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  max-width: var(--max, 1240px);
  margin: 0 auto 40px;
  padding: 70px;
  border-radius: 30px;
  background: #eef8f6;
}

.home-proof ol {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  counter-reset: brief;
  list-style: none;
}

.home-proof li {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 10px 15px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink, #08283c);
  font-size: 14px;
  font-weight: 800;
  counter-increment: brief;
}

.home-proof li::before {
  width: 32px;
  color: var(--teal, #0a7775);
  font-size: 11px;
  font-weight: 900;
  content: counter(brief, decimal-leading-zero);
}

.home-faq-list {
  display: grid;
  gap: 9px;
  margin-top: 40px;
}

.home-faq-list details {
  border: 1px solid rgba(8, 40, 60, 0.13);
  border-radius: 14px;
  background: #fff;
}

.home-faq-list summary {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 14px 18px;
  color: var(--ink, #08283c);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.home-faq-list summary::-webkit-details-marker {
  display: none;
}

.home-faq-list summary span {
  color: var(--teal, #0a7775);
  font-size: 11px;
}

.home-faq-list summary b {
  font-size: 20px;
  font-weight: 500;
}

.home-faq-list details[open] summary b {
  transform: rotate(45deg);
}

.home-faq-list details p {
  max-width: 850px;
  margin: 0;
  padding: 0 28px 24px 68px;
  color: var(--muted, #5d717b);
  line-height: 1.7;
}

.home-final-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 54px;
  align-items: center;
  max-width: calc(var(--max, 1240px) - 56px);
  margin: 10px auto 92px;
  padding: 54px;
  border-radius: 30px;
  background: var(--teal, #0a7775);
}

.corporate-brand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.corporate-brand-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 190px;
  padding: 30px;
  border: 1px solid rgba(8, 40, 60, 0.13);
  border-radius: 22px;
  background: #fff;
  color: var(--ink, #08283c);
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.corporate-brand-card:hover,
.corporate-brand-card:focus-visible {
  border-color: var(--teal, #0a7775);
  box-shadow: 0 18px 45px rgba(4, 27, 42, 0.1);
  outline: none;
  transform: translateY(-2px);
}

.corporate-brand-card strong {
  max-width: 85%;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.05;
}

.corporate-brand-card span {
  align-self: end;
  max-width: 510px;
  color: #4f6774;
  font-size: 15px;
  line-height: 1.6;
}

.corporate-brand-card b {
  position: absolute;
  top: 27px;
  right: 28px;
  color: var(--teal, #0a7775);
  font-size: 22px;
}

.home-final-cta .home-eyebrow,
.home-final-cta h2,
.home-final-cta p {
  color: #fff;
}

.home-final-cta h2 {
  max-width: 800px;
  font-size: clamp(34px, 4vw, 56px);
}

.home-final-cta p {
  max-width: 760px;
  margin: 17px 0 0;
  color: #fff;
}

.home-button-light {
  background: #fff;
  color: var(--ink, #08283c);
}

.home-page footer img[src="/terasek-supply-logo.png"] {
  width: 185px;
  height: auto;
}

@media (min-width: 981px) and (max-height: 900px) {
  .home-hero {
    min-height: calc(100svh - 128px);
    gap: clamp(28px, 3vw, 44px);
    padding-top: 30px;
    padding-bottom: 34px;
  }

  .home-hero h1 {
    font-size: clamp(48px, 5vw, 64px);
    line-height: 0.96;
  }

  .home-lead {
    margin-top: 18px;
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.5;
  }

  .home-actions {
    margin-top: 20px;
  }

  .home-hero-notes {
    margin-top: 16px;
  }

  .home-hero-media,
  .home-hero-media img {
    min-height: 0;
    height: min(500px, calc(100svh - 190px));
  }
}

@media (max-width: 980px) {
  .home-hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .home-hero-media,
  .home-hero-media img {
    min-height: 430px;
  }

  .home-trusted-by-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-trusted-by-logos {
    grid-template-columns: repeat(3, minmax(86px, 1fr));
    row-gap: 18px;
  }

  .home-card-grid,
  .home-area-grid,
  .home-need-grid,
  .corporate-brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-section-heading-split,
  .home-operations,
  .home-proof {
    grid-template-columns: 1fr;
  }

  .home-operations-copy {
    padding: 48px 0 0;
  }

  .home-proof {
    gap: 38px;
    margin-right: 28px;
    margin-left: 28px;
    padding: 48px;
  }

  .home-final-cta {
    grid-template-columns: 1fr;
    margin-right: 28px;
    margin-left: 28px;
  }
}

@media (max-width: 640px) {
  .home-hero {
    min-height: 0;
    padding: 36px 18px 52px;
  }

  .home-hero h1 {
    font-size: clamp(42px, 14vw, 60px);
  }

  .home-actions,
  .home-button {
    width: 100%;
  }

  .home-hero-media,
  .home-hero-media img {
    min-height: 340px;
  }

  .home-trusted-by {
    padding: 0 18px 46px;
  }

  .home-trusted-by-inner {
    padding: 20px 0;
  }

  .home-trusted-by p {
    white-space: normal;
  }

  .home-trusted-by-logos {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
    gap: 16px 22px;
  }

  .home-trusted-by img {
    max-height: 31px;
  }

  .home-trusted-by figure[data-customer="ijm"] img,
  .home-trusted-by figure[data-customer="mitrajaya"] img {
    max-height: 38px;
  }

  .home-section,
  .home-operations {
    padding: 68px 18px;
  }

  .home-section-heading-split {
    gap: 20px;
  }

  .home-card-grid,
  .home-area-grid,
  .home-need-grid,
  .corporate-brand-grid {
    grid-template-columns: 1fr;
  }

  .home-card-grid article {
    min-height: 0;
  }

  .home-areas {
    padding-right: 18px;
    padding-left: 18px;
  }

  .home-operations-media img {
    height: 320px;
  }

  .home-proof {
    margin: 0 18px 20px;
    padding: 35px 22px;
    border-radius: 22px;
  }

  .home-faq-list summary {
    grid-template-columns: 28px 1fr auto;
    padding: 14px;
  }

  .home-faq-list details p {
    padding: 0 20px 22px 52px;
  }

  .home-final-cta {
    gap: 30px;
    margin: 0 18px 68px;
    padding: 38px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-button,
  .home-area-card {
    transition: none;
  }
}
