/* Company — page-only. Header/footer live in iw-home.css. */

.company-page .hero,
.company-page .story,
.company-page .privacy,
.company-page .closer {
  transform: none;
  filter: none;
}

/* LOCKED 8 Nov 2026 — Company Auto PASS. Keep overflow visible; do not
   widen .company-vision__frame past 720px (the night HQ photo stalls Auto). */
.company-page main,
.company-page .hero,
.company-page .story,
.company-page .closer,
.company-page .company-vision,
.company-page .company-vision__shot {
  overflow: visible;
}

.company-page .hero {
  padding: 72px 20px 64px;
}

.company-page .hero-copy {
  width: min(720px, 100%);
}

.company-page .hero h1 {
  max-width: 14ch;
}

.company-page .hero .lede {
  max-width: 38rem;
}

.company-products {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  align-items: stretch;
}

.company-product {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 0;
  min-height: 0;
}

.company-product__art {
  position: relative;
  grid-row: 1;
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.company-product__art.chart {
  background: var(--card);
}

.company-product__art.chart svg {
  position: absolute;
  inset: 8px 0 0;
  display: block;
  width: 100%;
  height: calc(100% - 8px);
  max-height: none;
}

.company-product__art.capture {
  aspect-ratio: 16 / 9;
  height: auto;
}

.company-product__art .desk {
  inset: 8% 7% 10%;
  box-shadow: 0 18px 40px -18px rgba(20, 28, 44, 0.5);
}

.company-page .chart-area {
  clip-path: inset(0 0 0 0);
}

.company-page .chart-line {
  stroke-dashoffset: 0;
}

.company-page .chart-dot,
.company-page .chart-label,
.company-page .mark-n,
.company-page .capture-call,
.company-page .capture__marquee {
  opacity: 1;
  transform: none;
}

.company-page .arrow-line {
  stroke-dashoffset: 0;
}

.company-page .capture__flash {
  display: none;
}

.company-product__body {
  display: contents;
}

.company-product__body h3 {
  margin: 0;
  padding: 22px 22px 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.company-product__body p {
  margin: 0;
  padding: 10px 22px 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.company-product__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 16px 22px 0;
}

.company-product__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.company-product .story-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 22px 24px;
  padding: 16px 0 0;
  width: max-content;
}

.company-product .story-link::after {
  content: "→";
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.28s var(--ease);
}

.company-product .story-link:hover::after {
  transform: translateX(4px);
}

.company-work {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.company-work .stage {
  min-height: 0;
  padding: 22px;
}

.company-more {
  margin: 8px 0 0;
}

.company-more .story-link {
  margin-top: 0;
}

.company-work h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.company-work p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.company-vision {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.company-vision .story__copy {
  width: min(640px, 100%);
}

.company-vision .story__copy p {
  max-width: 52ch;
}

.company-page #md-alam a,
.company-page #sakib-prodhan a {
  color: inherit;
  background-size: 100% 1px;
  transition: color 0.28s var(--ease), background-size 0.28s var(--ease);
}

.company-page #md-alam a:hover,
.company-page #sakib-prodhan a:hover {
  color: #2a7ec4;
}

.company-quote {
  margin: 28px 0 0;
  padding: 0;
  border: 0;
  max-width: 54ch;
}

.company-quote p {
  margin: 0;
  color: var(--fg);
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.company-quote__by {
  margin: 14px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.88rem;
}

.company-vision__shot {
  margin: 40px 0 0;
}

.company-vision__frame {
  /* LOCKED 8 Nov 2026 — 720px matte. Do not widen. JPG pixels stay exact. */
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65) inset,
    0 28px 70px -28px rgba(7, 17, 31, 0.48);
}

.company-vision__frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  vertical-align: middle;
}

.company-vision figcaption {
  margin: 16px 4px 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (min-width: 720px) {
  .company-products {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
  }

  .company-work {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
  }
}

@media (min-width: 980px) {
  .company-page .hero {
    padding: 80px 28px 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-reveal,
  .company-product .story-link::after {
    animation: none !important;
    opacity: 1;
    transform: none;
    transition: none;
  }
}
