:root {
  --ink: #171c20;
  --muted: #5e6b74;
  --line: #d8dfe3;
  --paper: #f4f6f7;
  --white: #ffffff;
  --red: #bd302c;
  --red-dark: #97231f;
  --steel: #3d5a68;
  --green: #47675d;
  --warm: #756451;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 14px max(32px, calc((100vw - 1440px) / 2));
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 28px rgba(28, 39, 45, 0.06);
}

.brand {
  min-width: 500px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand-logos {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logos img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand-logos img + img {
  width: 54px;
  height: 54px;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 21px;
  line-height: 1.25;
}

.brand-copy small {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-nav a {
  padding: 12px 15px;
  border-bottom: 2px solid transparent;
  color: #46545d;
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--red);
  border-bottom-color: var(--red);
}

.hero {
  position: relative;
  width: min(1440px, calc(100% - 64px));
  min-height: 540px;
  height: calc(100svh - 190px);
  max-height: 720px;
  margin: 32px auto 0;
  background-color: #edf1f2;
  background-image: url("assets/iken-hero-tools-v1.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  background: rgba(244, 246, 247, 0.9);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1440px, 100%);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 44px 32px 52px;
}

.hero-copy {
  width: min(700px, 57%);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 15px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  max-width: 690px;
  font-size: 68px;
  line-height: 1.08;
  font-weight: 850;
}

.hero-need-link {
  width: fit-content;
  min-height: 46px;
  margin-top: 22px;
  padding: 10px 20px 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--white);
  background: var(--red);
  border: 1.5px solid var(--red);
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(150, 35, 31, 0.18);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.3;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.hero-need-link:hover,
.hero-need-link:focus-visible {
  color: var(--red);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(189, 48, 44, 0.9);
  box-shadow: 0 12px 26px rgba(150, 35, 31, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
  color: #3f4e57;
  font-size: 20px;
  line-height: 1.85;
}

.company-line {
  margin: 26px 0 0;
  padding-left: 14px;
  border-left: 3px solid var(--red);
  color: #34424a;
  font-size: 16px;
  font-weight: 700;
}

.capability-list {
  max-width: 670px;
  margin: 28px 0 0;
  padding: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  border-top: 1px solid #cbd3d7;
  list-style: none;
}

.capability-list li {
  color: #4a5962;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.capability-list .capability-highlight {
  color: var(--red);
  font-weight: 800;
}

.capability-list li:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 13px;
  margin: 0 14px;
  vertical-align: -2px;
  background: #aeb8bd;
}

.chapters {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 92px 32px 104px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
}

.section-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.chapter {
  min-height: 430px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 4px 0 var(--chapter-accent, var(--red));
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.chapter:hover,
.chapter:focus-visible {
  position: relative;
  z-index: 2;
  transform: translateY(-4px);
  box-shadow: inset 0 4px 0 var(--chapter-accent, var(--red)), 0 14px 34px rgba(25, 35, 40, 0.11);
  outline: none;
}

.chapter-primary {
  --chapter-accent: #e4524c;
  color: var(--white);
  background: #24343d;
  border-color: #40515a;
}

.chapter-case {
  --chapter-accent: var(--green);
}

.chapter-product {
  --chapter-accent: var(--red);
}

.chapter-company {
  --chapter-accent: var(--warm);
}

.chapter-number {
  align-self: flex-end;
  color: #98a4aa;
  font-size: 15px;
  font-weight: 800;
}

.chapter-primary .chapter-number {
  color: #9fb0b9;
}

.chapter-kicker {
  margin-top: 16px;
  color: var(--chapter-accent);
  font-size: 14px;
  font-weight: 800;
}

.chapter-primary .chapter-kicker {
  color: #ffaaa6;
}

.chapter h3 {
  margin: 12px 0 0;
  font-size: 34px;
}

.chapter p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.chapter-primary p {
  color: #cbd4d8;
}

.chapter ul {
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: #53616a;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.chapter-primary ul {
  color: #b9c5ca;
}

.chapter li::before {
  content: "+";
  margin-right: 6px;
  color: var(--chapter-accent);
}

.chapter-primary li::before {
  color: #ffaaa6;
}

.chapter-link {
  margin-top: auto;
  padding-top: 28px;
  color: var(--red);
  font-size: 16px;
  font-weight: 800;
}

.chapter-link::after {
  content: "→";
  margin-left: 10px;
}

.chapter-primary .chapter-link {
  color: var(--white);
}

.site-footer {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 32px;
  color: var(--ink);
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer-contact {
  min-height: 132px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(540px, 1.35fr);
  align-items: center;
  gap: 48px;
}

.footer-heading {
  display: grid;
  gap: 8px;
}

.footer-heading span {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
}

.footer-heading strong {
  font-size: 18px;
}

.footer-details {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.9fr);
  gap: 12px 44px;
  color: #566168;
  font-size: 14px;
  font-style: normal;
}

.footer-details p {
  margin: 0;
  line-height: 1.7;
}

.footer-details p + p {
  margin-top: 10px;
}

.footer-details p span {
  margin-right: 12px;
  color: var(--ink);
  font-weight: 750;
}

.footer-numbers {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 10px;
}

.footer-numbers span {
  margin-right: 2px !important;
}

.footer-numbers i {
  width: 1px;
  height: 13px;
  background: #b6bdc0;
}

.footer-details a {
  color: inherit;
}

.footer-details a:hover,
.footer-details a:focus-visible {
  color: var(--red);
  text-decoration: underline;
}

.footer-legal {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-legal p {
  margin: 0;
}

.footer-records {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-records a {
  color: #4e5960;
}

.footer-records a:hover,
.footer-records a:focus-visible {
  color: var(--red);
  text-decoration: underline;
}

@media (max-width: 1080px) {
  .site-header {
    align-items: flex-start;
    padding: 12px 24px;
  }

  .brand {
    min-width: 430px;
  }

  .brand-logos {
    gap: 10px;
  }

  .brand-logos img {
    width: 58px;
    height: 58px;
  }

  .brand-logos img + img {
    width: 48px;
    height: 48px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .top-nav {
    display: grid;
    grid-template-columns: repeat(2, auto);
  }

  .top-nav a {
    padding: 6px 10px;
    font-size: 14px;
  }

  .hero {
    width: min(100% - 48px, 1440px);
    height: auto;
    min-height: 600px;
    margin-top: 24px;
    background-position: 58% center;
  }

  .hero::before {
    width: 67%;
  }

  .hero-copy {
    width: 65%;
  }

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

  .hero-need-link {
    font-size: 17px;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: relative;
    min-height: 0;
    display: block;
    padding: 12px 18px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-logos img {
    width: 44px;
    height: 44px;
  }

  .brand-logos img + img {
    width: 36px;
    height: 36px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy small {
    font-size: 12px;
  }

  .top-nav {
    margin: 12px -18px 0;
    padding: 0 10px;
    display: flex;
    gap: 0;
    overflow-x: auto;
    border-top: 1px solid var(--line);
  }

  .top-nav a {
    flex: 0 0 auto;
    padding: 12px 10px 10px;
    font-size: 13px;
  }

  .hero {
    width: 100%;
    min-height: 520px;
    margin-top: 0;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    background-size: auto 100%;
    background-position: 60% center;
  }

  .hero::before {
    width: 100%;
    background: rgba(244, 246, 247, 0.84);
  }

  .hero-inner {
    align-items: flex-start;
    padding: 46px 20px 40px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 360px;
    font-size: 42px;
    line-height: 1.12;
  }

  .hero-need-link {
    margin-top: 16px;
    font-size: 16px;
  }

  .hero-text {
    max-width: 360px;
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.75;
  }

  .company-line {
    max-width: 350px;
    font-size: 14px;
    line-height: 1.6;
  }

  .capability-list {
    max-width: 350px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 12px;
  }

  .capability-list li {
    white-space: normal;
    font-size: 12px;
  }

  .capability-list li:not(:last-child)::after {
    display: none;
  }

  .chapters {
    padding: 48px 18px 72px;
  }

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

  .section-heading > p:last-child {
    font-size: 16px;
  }

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

  .chapter {
    min-height: 390px;
    padding: 30px 24px;
  }

  .chapter h3 {
    font-size: 29px;
  }

  .chapter p {
    font-size: 16px;
  }

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

  .footer-contact {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-details {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .footer-legal {
    min-height: 92px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }

  .footer-records {
    margin-left: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }
}

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

  .chapter {
    transition: none;
  }
}
