/* Company content, terminal and legal-footer layout. */
.company-hero h1 { font-size: clamp(54px, 5.6vw, 80px); }
.company-hero h1, .company-hero h1 span { color: #f4f4f4; }
.company-hero .hero-copy p { font-size: clamp(1.125rem, 1.5vw, 1.25rem); line-height: 1.65; }
.company-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 54px 0 60px;
  border-top: 1px solid #25292d;
}
.company-section > h2,
.building-section h2 {
  margin: 0;
  font-size: 38px;
  font-weight: 430;
  line-height: 1.1;
  letter-spacing: -.045em;
}
.company-copy { min-width: 0; }
.company-copy p,
.building-category p,
.building-note {
  margin: 0;
  max-width: 620px;
  color: #a6a9ad;
  font-size: 16px;
  line-height: 1.8;
}
.company-copy p + p { margin-top: 18px; }
.building-section {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 56px;
  padding: 56px 0 62px;
  border-top: 1px solid #25292d;
}
.building-copy { min-width: 0; }
.building-section h2 { margin-bottom: 32px; }
.building-category + .building-category { margin-top: 26px; }
.building-category h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -.018em;
}
.building-note { margin-top: 0; }
.building-section .empty-terminal { min-width: 0; width: 100%; }
.contact-email {
  color: #f3f3ef;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 550;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
  text-decoration-color: #707873;
  overflow-wrap: anywhere;
}
.contact-email:hover { text-decoration-color: currentColor; }
.contact-email:focus-visible { outline: 2px solid #cbd1c6; outline-offset: 5px; border-radius: 2px; }
.contact-section { padding-top: 50px; padding-bottom: 60px; }
.contact-section .company-copy p + p { margin-top: 0; }
.contact-section .contact-email { line-height: 1; }
.company-footer {
  container: company-footer / inline-size;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 32px;
  height: auto;
  min-height: 118px;
  padding: 26px 0 32px;
  color: #969b9f;
  font-size: 13px;
  line-height: 1.7;
}
.company-footer p { margin: 0; }
.company-footer p + p { flex: 1; min-width: 0; margin-left: auto; text-align: right; }
.company-footer p:first-child { flex-shrink: 0; }
/* Keep a 32px gap in two columns; stack once the footer has less room. */
@container company-footer (max-width: 36rem) {
  .company-footer p:first-child,
  .company-footer p + p {
    flex: 0 0 100%;
    margin-left: 0;
    text-align: center;
  }
}
.empty-terminal { display: flex; align-items: center; }
.about-section { display: block; text-align: left; }
.about-section .company-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.about-section .company-copy p { max-width: none; padding-right: 42px; }
.about-section .company-copy p + p {
  margin: 0;
  padding: 0 0 0 42px;
  border-left: 1px solid #303439;
}
/* Published products replace the building copy and terminal in this section. */
.building-section.has-products { display: block; }
.product-meta { padding: 0 2px 18px; }
.product-meta p { font-size: 16px; line-height: 1.6; }
.browser-bar code { margin: 0 auto; transform: none; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 800px) {
  .company-hero h1 { font-size: clamp(46px, 13vw, 72px); }
  .about-section .company-copy { grid-template-columns: 1fr; gap: 22px; }
  .about-section .company-copy p { padding: 0; }
  .about-section .company-copy p + p { padding: 0; border: 0; }
  .company-section { grid-template-columns: 1fr; gap: 24px; padding: 42px 0 48px; }
  .building-section { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 48px; }
  .company-section > h2, .building-section h2 { font-size: 34px; }
  .building-section h2 { margin-bottom: 28px; }
  .company-footer { padding-top: 24px; padding-bottom: 30px; }
}

/* A centered, generous brand lockup carries the otherwise empty header. */
header{height:142px;justify-content:center}
.brand img{width:440px;max-width:calc(100vw - 48px);height:auto}
@media(max-width:800px){header{height:124px}.brand img{width:360px}}

/* Fit the terminal to its two lines instead of reserving an empty panel. */
.building-section .empty-terminal{min-height:0;align-self:center}
.empty-terminal-body{padding:18px 24px}
