.site-head {
  background: var(--ink);
  border-bottom-color: #3c3b37;
  color: var(--paper);
}

.site-head .head-row {
  min-height: 4.9rem;
}

.site-head .brand {
  flex-shrink: 0;
  gap: .54rem;
}

.site-head .head-row nav a:hover,
.site-head .language:hover,
.site-footer a:hover {
  color: var(--signal);
}

.site-head .head-contact {
  border: 1px solid #696964;
  padding: .7rem 1.05rem;
}

.site-head .head-contact:hover {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.site-head :focus-visible,
.feature-deck :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--signal);
}

.feature-deck {
  background: var(--ink);
  color: var(--paper);
}

.cover-panel {
  --cover-height: clamp(31rem, 41vw, 41rem);
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  min-height: var(--cover-height);
  align-items: center;
}

.cover-media,
.cover-panel::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cover-media {
  z-index: -2;
  left: 17%;
}

.cover-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% 55%;
}

.cover-panel::after {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, #101110 7%, #101110f5 25%, #101110b0 46%, #10111010 77%),
              linear-gradient(0deg, #101110a0, transparent 29%);
}

.saga-cover .cover-media {
  inset: 9% 4% 9% 37%;
}

.saga-cover .cover-media img {
  object-fit: contain;
  object-position: center right;
  filter: drop-shadow(0 20px 55px #0009);
}

.cover-content {
  padding-block: clamp(3.3rem, 7vw, 8rem);
}

.eyeline,
.section-tag {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyeline::before,
.section-tag::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  flex-shrink: 0;
  background: currentColor;
}

.eyeline {
  color: var(--signal);
  margin-bottom: 1.2rem;
}

.cover-content h1,
.cover-content h2 {
  font-size: clamp(3.15rem, 6.55vw, 7.4rem);
  font-weight: 580;
  letter-spacing: -.061em;
  line-height: .98;
  max-width: min(12ch, 65%);
  text-wrap: pretty;
}

.cover-content h1 span,
.cover-content h2 span {
  color: inherit;
}

.cover-summary {
  margin-top: 1.25rem;
  max-width: min(32rem, 56%);
  color: #e1ded7;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.cover-action {
  display: inline-flex;
  align-items: center;
  min-height: 3.05rem;
  padding: .75rem 1.18rem;
  margin-top: 1.65rem;
  background: var(--signal);
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
}

.cover-action:hover {
  background: var(--paper);
}

.cover-note {
  position: absolute;
  right: var(--gutter);
  bottom: 1.15rem;
  padding: .38rem .62rem;
  color: var(--paper);
  background: #101110db;
  font-size: .76rem;
}

.story-bar {
  border-block: 1px solid #41403d;
  background: #181917;
}

.story-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-inline-start: 1px solid #464541;
}

.story-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 4.9rem;
  padding: .85rem clamp(.8rem, 2vw, 2rem);
  border: 0;
  border-inline-end: 1px solid #464541;
  color: #d2d0c9;
  background: transparent;
  font-size: clamp(.89rem, 1.3vw, 1.03rem);
  font-weight: 600;
  text-align: start;
}

.story-tab::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: transparent;
}

.story-tab:hover {
  background: #272722;
  color: var(--paper);
}

.story-tab[aria-selected="true"] {
  background: #28231e;
  color: var(--paper);
}

.story-tab[aria-selected="true"]::before {
  background: var(--signal);
}

.story-tab:focus-visible {
  z-index: 1;
  outline-offset: -5px;
}

.enterprise-overview,
.field-section {
  padding-block: clamp(4rem, 8vw, 8.3rem);
}

.enterprise-overview {
  display: grid;
  grid-template-columns: minmax(9rem, .66fr) 2.34fr;
  align-items: start;
  gap: clamp(1.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.section-tag {
  color: var(--deep-red);
}

.enterprise-overview .section-tag {
  margin-top: .55rem;
}

.overview-main h2,
.field-intro h2,
.contact-band h2 {
  font-size: clamp(2.2rem, 4.6vw, 5.25rem);
  font-weight: 570;
  letter-spacing: -.054em;
  line-height: 1.06;
  text-wrap: pretty;
}

.overview-main h2 {
  max-width: 21ch;
}

.overview-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.85rem, 2vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3.4rem);
}

.overview-links a {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
  color: var(--deep-red);
  font-size: clamp(.96rem, 1.4vw, 1.15rem);
  font-weight: 700;
}

.overview-links a:hover {
  text-decoration: underline;
  text-underline-offset: .24em;
}

.field-intro {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 3.5rem);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(1.65rem, 3.6vw, 3.8rem);
}

.field-card figure {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.field-card figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.65;
  object-fit: cover;
}

.field-card figcaption {
  position: absolute;
  inset: auto .8rem .8rem auto;
  padding: .35rem .5rem;
  color: var(--paper);
  background: #101110db;
  font-size: .76rem;
}

.field-card h3 {
  margin-top: 1.3rem;
  font-size: clamp(1.5rem, 2.5vw, 2.8rem);
  letter-spacing: -.03em;
  line-height: 1.1;
}

.field-card p {
  max-width: 40ch;
  margin-top: .7rem;
  color: var(--muted);
  font-size: clamp(.98rem, 1.4vw, 1.14rem);
  line-height: 1.6;
}

.software {
  border-top: 1px solid var(--line);
}

.software .section-label {
  border-top: 0;
  padding: 0;
}

.contact-band {
  padding-block: clamp(2.75rem, 6vw, 6.3rem);
  background: var(--deep-red);
  color: var(--paper);
}

.contact-band > .frame {
  display: flex;
  align-items: center;
  justify-content: space-between;
  column-gap: 2rem;
  row-gap: 1.5rem;
}

.contact-band h2 {
  max-width: 19ch;
}

.contact-band p {
  max-width: 35rem;
  margin-top: .9rem;
  line-height: 1.6;
}

.contact-band a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 3.1rem;
  margin: 0;
  padding: .7rem 1.1rem;
  border: 1px solid var(--paper);
  color: var(--paper);
  font-weight: 700;
}

.contact-band a:hover {
  background: var(--paper);
  color: var(--deep-red);
}

.contact-band a:focus-visible {
  outline-color: var(--paper);
}

.site-footer {
  padding-block: 2.3rem;
}

.footer-nav,
.footer-nav nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.footer-nav {
  justify-content: space-between;
}

.footer-nav nav a {
  color: var(--steel);
  font-size: .94rem;
}

html[lang="zh-Hant"] .eyeline,
html[lang="zh-Hant"] .section-tag {
  letter-spacing: .06em;
}

@media (max-width: 700px) {
  .site-head .head-row nav {
    border-top-color: #41403d;
    gap: .35rem 1.2rem;
    flex-wrap: wrap;
  }

  .cover-panel {
    --cover-height: 30rem;
    align-items: end;
  }

  .cover-content {
    padding-top: 9rem;
    padding-bottom: 3.7rem;
  }

  .cover-content h1,
  .cover-content h2 {
    font-size: clamp(2.85rem, 10vw, 4.5rem);
    max-width: 17ch;
  }

  .cover-summary {
    max-width: 29rem;
    margin-top: 1rem;
  }

  .cover-media {
    left: 0;
  }

  .cover-media img {
    object-position: 62% 56%;
  }

  .cover-panel::after {
    background: linear-gradient(0deg, #101110 0%, #101110ed 23%, #101110be 46%, #10111022 100%);
  }

  .saga-cover .cover-media {
    inset: 4% -12% 25% 6%;
  }

  .cover-note {
    bottom: .8rem;
  }

  .story-controls {
    width: 100%;
  }

  .story-tab {
    min-height: 3.95rem;
    line-height: 1.24;
    overflow-wrap: anywhere;
  }

  .enterprise-overview,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .overview-links {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-band > .frame {
    align-items: start;
    flex-direction: column;
  }
}
