/* Homepage and company profile layouts. */
.course-home .section {
  padding-block: clamp(52px, 7vw, 96px);
}

.course-home .section-intro h2,
.course-home .about-copy h2,
.course-home .faq-intro h2,
.course-home .contact-copy h2 {
  font-size: clamp(27px, 3.25vw, 42px);
  text-wrap: balance;
}

.course-home .hero-overlay {
  background: linear-gradient(90deg, rgba(9, 17, 12, .9), rgba(9, 17, 12, .64) 53%, rgba(9, 17, 12, .28)),
    linear-gradient(0deg, rgba(9, 17, 12, .67), transparent 65%);
}

.course-home .hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(195px, 245px);
  gap: 36px;
  align-items: end;
  min-height: clamp(550px, 47vw, 710px);
  padding-block: calc(var(--header-height) + 48px) clamp(44px, 6.5vw, 92px);
}

.course-home .hero h1 {
  max-width: 13em;
  font-size: clamp(34px, 4.7vw, 64px);
  line-height: 1.16;
  text-wrap: initial;
}

.course-home .hero h1 span {
  display: block;
}

.course-home .hero-summary {
  max-width: 36em;
}

.course-home .hero-download {
  display: inline-block;
  margin: 4px 0 0;
}

.course-home .hero-proof {
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  padding: 8px 22px;
  border: 1px solid #a0b3a463;
  border-radius: var(--radius);
  background: #10241bd9;
}

.course-home .hero-proof > div {
  padding: 15px 0;
  border: 0;
}

.course-home .hero-proof > div + div {
  border-top: 1px solid #a0b3a44d;
}

.course-home .hero-proof dt {
  font-size: clamp(21px, 2.2vw, 31px);
}

.course-home #projects,
.course-home #faq {
  background: var(--white);
}

.course-home .section-heading-row {
  gap: 18px;
  margin-bottom: 30px;
}

.course-home .project-grid {
  gap: 16px;
}

.course-home .project-open {
  aspect-ratio: auto;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
}

.course-home .project-open img {
  height: auto;
  aspect-ratio: 16 / 9;
}

.course-home .project-open > span {
  position: relative;
  inset: auto;
  flex-wrap: wrap;
  gap: 4px 12px;
  min-height: 54px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--paper);
}

.course-home .project-open small {
  color: var(--muted);
}

.course-home .deliverables-section {
  color: var(--white);
  background: #101f19;
}

.course-home .deliverables-section .section-intro h2 {
  color: var(--white);
}

.course-home .deliverables-section .section-intro p,
.course-home .spatial-notes .delivery-note {
  color: #c0cfc5;
}

.course-home .spatial-fusion-panel {
  max-width: 760px;
  margin-inline: auto;
}

.course-home .spatial-fusion-panel h3,
.course-home .spatial-reel h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(18px, 2.4vw, 25px);
  line-height: 1.4;
}

.course-home .spatial-fusion,
.course-home .spatial-reel .data-stack {
  border: 1px solid #486154;
  border-radius: var(--radius);
  overflow: hidden;
}

.course-home .spatial-fusion {
  margin-top: 14px;
}

.course-home .spatial-reel {
  margin-top: clamp(34px, 6vw, 72px);
  padding-top: clamp(24px, 3.5vw, 42px);
  border-top: 1px solid #486154;
}

.course-home .spatial-reel-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  margin-bottom: 14px;
}

.course-home .spatial-reel-pause {
  margin: 0;
  color: #dce9de;
  font-size: 14px;
}

.course-home .spatial-reel-pause input {
  accent-color: var(--lime);
}

.course-home .spatial-notes {
  margin-top: 26px;
}

.course-home .spatial-notes .delivery-note {
  margin: 0;
}

.course-home .accuracy-details {
  margin-top: 12px;
}

.course-home .accuracy-details summary {
  color: var(--lime);
}

.course-home .accuracy-details .precision-note {
  gap: 8px 16px;
  margin-top: 14px;
}

.course-home #services {
  background: #eff3ef;
}

.course-home .capability-index {
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0;
  border: 0;
}

.course-home .capability-index article {
  min-height: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.course-home .capability-index h3 {
  margin: 0 0 10px;
}

.course-home .delivery-table-wrap {
  background: var(--white);
}

.course-home .pilot-steps {
  gap: 18px;
}

.course-home .pilot-steps li {
  padding: 16px 18px;
  background: #ffffff0b;
  border-top-color: var(--lime);
}

.course-home .pilot-steps h3 {
  margin: 0 0 8px;
}

.course-home .pilot-steps p {
  margin: 0;
}

.course-home .about-layout,
.course-home .faq-layout,
.course-home .contact-layout {
  gap: clamp(28px, 5vw, 76px);
}

.course-home .company-facts {
  align-self: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.course-home .company-facts > div {
  min-height: 104px;
  padding: 18px;
  border: 0;
}

.course-home .company-facts > div:nth-child(even) {
  border-left: 1px solid var(--line);
}

.course-home .company-facts > div:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}

.course-home .profile-download {
  padding: 22px clamp(16px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.course-home .about-links .text-command,
.company-page .profile-links .text-command {
  margin: 0;
  color: var(--forest);
  border-color: var(--forest);
}

.course-home .contact-form {
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid #3b4d42;
  border-radius: var(--radius);
  background: #14231b;
}

.company-page {
  background: var(--paper);
}

.company-page h1 {
  margin: 0;
}

.company-overview {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: start;
  margin-top: 32px;
}

.company-overview .company-register,
.company-overview .qualification-note {
  margin: 0;
}

.company-overview .company-register > div {
  grid-template-columns: minmax(105px, .7fr) minmax(0, 1.3fr);
}

.company-overview .qualification-note {
  padding: clamp(16px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.company-overview .qualification-note h2 {
  margin-top: 0;
}

.company-overview .qualification-note p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .course-home .section-heading-row {
    flex-direction: row;
    align-items: end;
  }
}

@media (min-width: 901px) and (max-width: 1080px) {
  .course-home .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .course-home .hero-content {
    grid-template-columns: 1fr;
    align-content: end;
    min-height: 0;
    gap: 28px;
  }

  .course-home .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 620px;
    padding: 12px 0;
  }

  .course-home .hero-proof > div {
    padding: 0 12px;
  }

  .course-home .hero-proof > div + div {
    border-top: 0;
    border-left: 1px solid #a0b3a44d;
  }

  .course-home .capability-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-overview {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .course-home .hero-overlay {
    background: linear-gradient(0deg, rgba(9, 17, 12, .91), rgba(9, 17, 12, .58));
  }

  html[lang="zh-CN"] .course-home .hero h1 {
    max-width: 12em;
    font-size: clamp(28px, 8.6vw, 39px);
  }

  .course-home .hero-content {
    gap: 24px;
  }

  .course-home .section-heading-row {
    flex-direction: column;
    align-items: stretch;
  }

  .course-home .project-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .course-home .capability-index article {
    padding: 14px;
  }

  .course-home .capability-index h3 {
    font-size: 16px;
  }

  .course-home .delivery-table th,
  .course-home .delivery-table td {
    overflow-wrap: anywhere;
  }
}

html[lang="en"] .course-home .hero h1,
html[lang="ko"] .course-home .hero h1,
html[lang="ja"] .course-home .hero h1 {
  max-width: none;
  font-size: clamp(32px, 4.1vw, 58px);
  line-height: 1.13;
}
html[lang="ja"] .course-home .hero h1 span { display: block; }
html[lang="ko"] .course-home :is(p, dd, td) { word-break: keep-all; overflow-wrap: anywhere; }
.company-register dd, .contact-details strong { overflow-wrap: anywhere; }
.course-home .profile-links { flex-wrap: wrap; }
@media (max-width: 580px) {
  html[lang="en"] .course-home .hero h1,
  html[lang="ja"] .course-home .hero h1,
  html[lang="ko"] .course-home .hero h1 { font-size: clamp(27px, 7.3vw, 39px); }
}
