:root {
  --ink: #151515;
  --paper: #f7f7f1;
  --paper-deep: #e9e8e0;
  --blue: #1e4ea1;
  --red: #d24b34;
  --muted: #615f59;
  --line: #cbc9c1;
  --content: 1180px;
}

* {
  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;
  line-height: 1.6;
}

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

a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: -5rem;
  left: 1.5rem;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: var(--ink);
}

.skip-link:focus {
  top: 1rem;
}

.content-wrap {
  width: min(calc(100% - 3rem), var(--content));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem max(1.5rem, calc((100vw - var(--content)) / 2));
  color: #f7f7f1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-mark {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid rgba(247, 247, 241, 0.45);
  background: #fff;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  gap: 0.05rem;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0;
}

.brand-copy small {
  color: #dce5f6;
  font-size: 0.56rem;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.35rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  position: relative;
  display: grid;
  min-height: 90vh;
  overflow: hidden;
  align-items: center;
  isolation: isolate;
  background: #11283d;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: rgba(5, 18, 30, 0.4);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
  background: rgba(4, 15, 26, 0.26);
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  object-fit: cover;
  object-position: 70% 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 6.5rem;
}

.hero-content .eyebrow {
  color: #bed3ff;
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hero h1,
.section h2,
.applications h2 {
  margin: 0;
  font-family: Georgia, "Songti SC", SimSun, serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.14;
}

.hero h1 {
  max-width: 720px;
  font-size: 5.3rem;
}

.hero-lead {
  margin: 1.7rem 0 0;
  color: #ffd8d1;
  font-size: 1.2rem;
  font-weight: 700;
}

.hero-summary {
  max-width: 440px;
  margin: 0.75rem 0 0;
  color: #f7f7f1;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button-primary {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.button-primary:hover {
  border-color: var(--ink);
  background: var(--ink);
}

.button-secondary {
  color: var(--ink);
  background: rgba(247, 247, 241, 0.6);
}

.button-secondary:hover {
  color: #fff;
  background: var(--ink);
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: max(1.5rem, calc((100vw - var(--content)) / 2));
  bottom: 2rem;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  color: #f7f7f1;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 38px;
  background: #f7f7f1;
}

.section {
  padding: 7.5rem 0;
}

.intro {
  background: var(--paper);
}

.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 4rem;
}

.section-heading h2,
.applications h2 {
  max-width: 470px;
  font-size: 3.5rem;
}

.intro-copy {
  max-width: 620px;
  color: #3e3d39;
  font-size: 1.1rem;
}

.intro-copy p {
  margin: 0;
}

.intro-copy p + p {
  margin-top: 1.25rem;
}

.business {
  color: #fff;
  background: var(--ink);
}

.business .eyebrow {
  color: #a6c0f0;
}

.section-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 3rem;
  align-items: end;
}

.section-topline h2 {
  font-size: 4rem;
}

.section-topline > p {
  max-width: 420px;
  margin: 0 0 0.35rem auto;
  color: #cfcdc4;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3.6rem;
  border-top: 1px solid #5f5e5a;
}

.business-item {
  min-height: 270px;
  padding: 1.35rem 1.5rem 0 0;
  border-right: 1px solid #5f5e5a;
}

.business-item + .business-item {
  padding-left: 1.5rem;
}

.business-item:last-child {
  padding-right: 0;
  border-right: 0;
}

.item-index {
  color: var(--red);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.business-item h3 {
  margin: 3.6rem 0 0;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.business-item p {
  max-width: 290px;
  margin: 0.85rem 0 0;
  color: #cfcdc4;
  font-size: 0.94rem;
}

.applications {
  padding: 6.5rem 0;
  color: #fff;
  background: var(--blue);
}

.applications .eyebrow {
  color: #fff;
}

.applications-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 1rem 3rem;
  align-items: end;
}

.applications h2 {
  grid-column: 2;
  max-width: 620px;
}

.application-list {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 3.2rem 0 0;
  padding: 0;
  list-style: none;
}

.application-list li {
  padding: 0.52rem 0.85rem;
  border: 1px solid #8bacdf;
  font-size: 0.9rem;
}

.partners {
  background: var(--paper-deep);
}

.partners-topline > p {
  color: var(--muted);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 3.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.brand-grid span {
  display: grid;
  min-height: 110px;
  padding: 1rem;
  place-items: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #33322e;
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.contact {
  color: #fff;
  background: var(--red);
}

.contact .eyebrow {
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
}

.contact h2 {
  max-width: 550px;
  font-size: 4.1rem;
}

.contact-details {
  margin: 0;
  border-top: 1px solid #f3a092;
}

.contact-details div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #f3a092;
}

.contact-details dt {
  color: #ffe5e0;
  font-size: 0.82rem;
}

.contact-details dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.contact-details a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer {
  padding: 1.5rem 0;
  color: #cfcfc9;
  background: var(--ink);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.76rem;
}

.footer-content p {
  margin: 0;
}

@media (max-width: 760px) {
  .content-wrap {
    width: min(calc(100% - 2rem), var(--content));
  }

  .site-header {
    min-height: 76px;
    padding: 1rem;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-copy strong {
    font-size: 0.86rem;
    color: #fff;
  }

  .brand-copy small {
    color: #dce5f6;
    font-size: 0.48rem;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: 86svh;
  }

  .hero-image {
    object-position: 62% 50%;
  }

  .hero::after {
    background: rgba(21, 21, 21, 0.52);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-content {
    padding-top: 5.5rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-summary {
    max-width: 300px;
    font-size: 0.93rem;
  }

  .scroll-cue {
    right: 1rem;
    bottom: 1.4rem;
  }

  .section {
    padding: 5rem 0;
  }

  .intro-layout,
  .section-topline,
  .applications-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-heading h2,
  .applications h2,
  .section-topline h2,
  .contact h2 {
    font-size: 2.4rem;
  }

  .intro-copy {
    font-size: 1rem;
  }

  .section-topline > p {
    margin: 0;
  }

  .business-grid {
    grid-template-columns: 1fr;
    margin-top: 2.5rem;
  }

  .business-item,
  .business-item + .business-item,
  .business-item:last-child {
    min-height: auto;
    padding: 1.2rem 0 2.25rem;
    border-right: 0;
    border-bottom: 1px solid #5f5e5a;
  }

  .business-item h3 {
    margin-top: 2.25rem;
  }

  .business-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .applications {
    padding: 5rem 0;
  }

  .applications h2 {
    grid-column: auto;
  }

  .application-list {
    margin-top: 1rem;
  }

  .brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2.5rem;
  }

  .brand-grid span {
    min-height: 88px;
    font-size: 1rem;
  }

  .contact-details div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .footer-content {
    display: grid;
  }
}
