.company-page {
  height: 100svh;
  overflow: hidden;
  background-color: #000;
  background-image:
    linear-gradient(rgba(250, 168, 5, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 168, 5, .055) 1px, transparent 1px);
  background-size: 96px 96px;
}

.company-page .home-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  padding: 0 clamp(24px, 4vw, 76px) 16px;
}

.company-page .site-header {
  width: calc(100% + 2 * clamp(24px, 4vw, 76px));
  height: 78px;
  min-height: 78px;
  margin-inline: calc(-1 * clamp(24px, 4vw, 76px));
  border-bottom: 1px solid var(--line-soft);
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(18px);
}

.company-page .company-main {
  min-height: 0;
  overflow: hidden;
}

.company-page .company-hero {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(18px, 3vh, 34px) 0 12px;
}

.company-page .company-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: clamp(6px, 1vh, 12px);
  text-align: center;
}

.company-page .company-brand {
  margin: 0;
  color: var(--text);
  font-size: clamp(54px, 5.8vw, 92px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: .025em;
  text-wrap: balance;
  white-space: normal;
}
.company-page .company-brand > span { color: var(--amber); }
.company-page .company-copy h1 {
  max-width: 1140px;
  margin: 0;
  font-size: clamp(20px, 2.2vw, 34px);
  line-height: 1.15;
  letter-spacing: .005em;
  white-space: normal;
  text-wrap: balance;
}

.company-page .home-slogan {
  display: grid;
  gap: 6px;
  width: 100%;
  margin: 2px auto 8px;
  text-wrap: balance;
}

.company-page .home-slogan-lead {
  max-width: 1080px;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(12px, 1.1vw, 17px);
  line-height: 1.35;
  letter-spacing: .02em;
}

.company-page .home-slogan-main {
  color: var(--text);
  font-size: clamp(18px, 1.6vw, 25px);
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
}

.company-page .home-slogan-accent { color: var(--amber); }

.company-page .product-directions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(760px, 100%);
  margin: 0;
}

.company-page .product-directions > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  height: clamp(60px, 8vh, 84px);
  padding: 18px 22px;
  border: 0;
  border-radius: 10px;
  color: var(--text);
  background: #000 url("/site-assets/assets/product-card-gold.png") center / 100% 100% no-repeat;
  box-shadow: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .025em;
}

.company-page .product-directions a { color: var(--amber); }
.company-page .home-related { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.3; }
.company-page .home-related a:hover, .company-page .home-related a:focus-visible { color: var(--amber); }
.company-page .category-body { max-width: 900px; margin-inline: auto; color: var(--muted); font-size: clamp(12px, 1.1vw, 17px); line-height: 1.45; }
.category-page .company-brand { font-size: clamp(40px, 4.5vw, 68px); }
.company-page .product-directions a:hover,
.company-page .product-directions a:focus-visible {
  color: #ffbd40;
  background: #000 url("/site-assets/assets/product-card-gold.png") center / 100% 100% no-repeat;
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.company-page .machine-visual {
  display: grid;
  place-items: center;
  width: min(1680px, 100%);
  min-height: 0;
  margin: 16px auto 0;
  overflow: hidden;
}

.company-page .machine-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.company-page .compact-footer {
  width: 100%;
  max-width: none;
  height: 36px;
  min-height: 36px;
  padding: 0;
}

@media (max-width: 700px) {
  .company-page { height: 100svh; min-height: 0; overflow: hidden; }
  .company-page .home-shell { min-height: 0; height: 100svh; overflow: hidden; padding: 0 14px 5px; }
  .company-page .site-header { width: calc(100% + 28px); height: 66px; min-height: 66px; margin-inline: -14px; }
  .company-page .company-main { min-height: 0; overflow: hidden; }
  .company-page .company-hero { padding: 14px 0 4px; gap: 0; }
  .company-page .company-brand { max-width: 360px; font-size: clamp(42px, 12vw, 64px); line-height: 1.02; }
  .company-page .company-copy h1 { max-width: 600px; font-size: clamp(19px, 4.8vw, 25px); line-height: 1.15; }
  .company-page .home-slogan { margin-bottom: 5px; }
  .company-page .home-slogan-lead { font-size: 12px; }
  .company-page .home-slogan-main { font-size: 18px; white-space: normal; }
  .company-page .product-directions { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .company-page .product-directions > * { height: 60px; padding: 8px 5px; font-size: clamp(10px, 3vw, 12px); line-height: 1.15; text-align: center; }
  .company-page .product-directions a { grid-column: auto; }
  .company-page .machine-visual { margin-top: 8px; }
  .company-page .compact-footer { height: auto; min-height: 44px; justify-content: center; flex-direction: column; align-items: flex-start; gap: 4px; padding: 4px 0; }
  .company-page .compact-footer nav { gap: 12px; flex-wrap: wrap; }
  .company-page .home-related { gap: 3px 8px; font-size: 11px; }
  .company-page .category-body { font-size: 12px; }
}

@media (max-height: 780px) and (min-width: 701px) {
  .company-page .home-shell { padding-bottom: 8px; }
  .company-page .site-header { height: 60px; min-height: 60px; }
  .company-page .company-hero { padding-top: 14px; }
  .company-page .company-brand { font-size: clamp(48px, 5vw, 78px); }
  .company-page .company-copy h1 { font-size: clamp(20px, 2vw, 29px); }
  .company-page .machine-visual { margin-top: 12px; }
}

@media (max-height: 650px) and (max-width: 700px) {
  .company-page .site-header { height: 54px; min-height: 54px; }
  .company-page .company-hero { padding-top: 8px; }
  .company-page .company-copy { gap: 5px; }
  .company-page .company-brand { font-size: 38px; }
  .company-page .company-copy h1 { font-size: 18px; }
  .company-page .home-slogan-main { font-size: 16px; }
  .company-page .product-directions > * { height: 50px; }
}

@media (max-width: 360px) {
  .company-page .header-wordmark { gap: 2px; font-size: 10px; }
  .company-page .header-wordmark img { width: 28px; }
}
