/* Company pages: shared by all six /companies/<slug> pages. Layout specifics only; every class is
   prefixed .co- and works for any company, logo shape or name length. */

/* 1. Hero: copy on the left, the company's own logo on a round plate to the right */
.co-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 40px; align-items: end; }
.co-hero__copy { grid-column: 1 / span 8; }
.co-hero__title em { color: var(--accent); }
.co-hero__actions { margin-top: clamp(28px, 3.4vw, 44px); }
.co-hero__aside { grid-column: 9 / span 4; justify-self: end; display: grid; justify-items: center; gap: 22px; margin: 0; }
.co-hero__plate { display: flex; align-items: center; justify-content: center; width: clamp(200px, 19vw, 280px); aspect-ratio: 1; border-radius: 50%; background: var(--paper-2); border: 1px solid var(--line); }
.co-hero__plate img { width: auto; height: auto; max-width: 64%; max-height: 50%; object-fit: contain; }
.co-hero__meta { display: grid; justify-items: center; gap: 8px; max-width: 26ch; text-align: center; }
.co-hero__num { font-family: var(--serif); font-weight: 300; font-size: var(--step-1); line-height: 1; letter-spacing: .04em; font-variant-numeric: lining-nums; }
.co-hero__kind { font-size: .74rem; font-weight: 600; line-height: 1.5; letter-spacing: .18em; text-transform: uppercase; color: var(--text-2); }

/* 2. Full-bleed photo band. min-width: 0 stops the shared 320px min-height being carried through
   the 21:9 ratio into a 747px minimum width on phones. */
.co-band .media { min-width: 0; max-width: 100%; }
.co-band .media img { object-position: 50% 58%; }

/* 3. Who is: the anthem as a statement */
.co-who .statement__label, .co-fit .statement__label { margin: 0; }
.co-anthem { font-size: clamp(1.55rem, 1.1rem + 1.75vw, 2.75rem); line-height: 1.18; letter-spacing: -.018em; }
.co-anthem p { margin: 0; max-width: 34ch; text-wrap: pretty; }
.co-anthem p + p { margin-top: .9em; }
.co-anthem p:first-child { color: var(--text-2); }
.co-anthem__line { display: block; text-wrap: balance; }

/* 4. What they do */
.co-what .sec-head__title .t-2, .co-facts__head .t-2 { margin-top: 18px; }

/* 5. At a glance */
.co-facts__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); row-gap: 36px; align-items: start; }
.co-facts__head { grid-column: 1 / span 4; }
.co-facts__list { grid-column: 6 / span 7; }
.co-facts__list > div { padding-block: 20px; }
.co-facts__list dd { font-size: 1.05rem; }
.co-facts__known { list-style: none; display: grid; gap: 6px; }
.co-facts__list .link-arrow { font-size: 1rem; }
.co-sign { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: var(--step-1); line-height: 1.2; }

/* 6. Where it fits */
.co-fit__text { margin: 0; max-width: 36ch; font-family: var(--serif); font-weight: 300; font-size: clamp(1.55rem, 1.1rem + 1.75vw, 2.75rem); line-height: 1.18; letter-spacing: -.018em; color: var(--text); text-wrap: balance; }
.co-fit__lead { color: var(--text-2); }
.co-fit__text em { font-style: italic; }
.co-fit__more { margin: clamp(28px, 3vw, 40px) 0 0; }

/* 7. Company pager: previous and next in the family */
.co-pager__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.co-pager__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.co-pager__link { display: grid; align-content: start; gap: 12px; padding: clamp(28px, 3.6vw, 52px) clamp(16px, 2.4vw, 40px) clamp(28px, 3.6vw, 52px) 0; color: inherit; text-decoration: none; }
.co-pager__link--next { justify-items: end; text-align: right; padding-left: clamp(16px, 2.4vw, 40px); padding-right: 0; border-left: 1px solid var(--line); }
.co-pager__dir { display: inline-flex; align-items: center; gap: .7em; font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-2); }
.co-pager__dir .icon { width: 1.35em; height: 1.35em; transition: transform .5s var(--ease); }
.co-pager__name { font-family: var(--serif); font-weight: 300; font-size: var(--step-3); line-height: 1.02; letter-spacing: -.022em; transition: transform .7s var(--ease); }
.co-pager__kind { font-size: .98rem; color: var(--text-2); }
.co-pager__link:hover .co-pager__name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
.co-pager__link--prev:hover .co-pager__name, .co-pager__link--prev:hover .icon { transform: translateX(-6px); }
.co-pager__link--next:hover .co-pager__name, .co-pager__link--next:hover .icon { transform: translateX(6px); }

/* 8. Closing call to action */
.co-cta { padding-block: clamp(96px, 12vw, 190px); }
.co-cta .t-1 { margin-top: 18px; }
.co-cta .t-1 em { color: var(--pear); }
.co-cta .cta-band__side .btn { justify-self: start; }
.co-cta__family { display: inline-flex; align-items: center; gap: .5em; justify-self: start; }
.co-cta__family .icon { width: .85em; height: .85em; transition: transform .5s var(--ease); }
.co-cta__family:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.co-cta__family:hover .icon { transform: translateX(3px); }

/* Standalone text links: a 44px tap area without changing how they look */
.co-facts__list .link-arrow, .co-fit__more .link-arrow, .co-pager__head .link-arrow, .co-cta__family { position: relative; }
.co-facts__list .link-arrow::after, .co-fit__more .link-arrow::after, .co-pager__head .link-arrow::after, .co-cta__family::after { content: ""; position: absolute; inset: -9px -4px; }

/* Responsive */
@media (min-width: 901px) and (max-width: 1100px) {
  .co-what .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .co-what .feature:nth-child(3) { padding-left: clamp(16px, 2.4vw, 36px); border-left: 1px solid var(--line); }
}
@media (max-width: 1100px) {
  .co-facts__head { grid-column: 1 / span 5; }
  .co-facts__list { grid-column: 6 / span 7; }
}
@media (max-width: 900px) {
  .co-hero__copy, .co-hero__aside, .co-facts__head, .co-facts__list { grid-column: 1 / -1; }
  .co-hero__aside { order: -1; justify-self: start; grid-auto-flow: column; align-items: center; justify-items: start; gap: 18px; }
  .co-hero__plate { width: 104px; }
  .co-hero__meta { justify-items: start; text-align: left; }
  .co-what .features { grid-template-columns: 1fr; }
  .co-what .feature:nth-child(2n) { padding-left: 0; border-left: 0; }
}
@media (max-width: 640px) {
  .co-pager__grid { grid-template-columns: 1fr; }
  .co-pager__link--next { justify-items: start; text-align: left; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}
