/* Company profile layout: one rhythm for every section. Loaded after company-refresh-20261020.css;
   colours, copy and photographs are unchanged. Intro, products and process alternate text and photo
   on equal halves; reasons sit in one row; each text column reads title, line, content, link. */
.co-section { padding-block: 96px; }

/* Shared split: two equal columns, photo filling the height of its text column. */
.co-intro, .co-offering .co-shell, .co-process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 88px;
  align-items: start;
}
.co-intro :is(figure), .co-offering-photo, .co-process-photo { display: flex; flex-direction: column; min-height: 0; align-self: stretch; }
.co-intro figure img, .co-offering-photo img, .co-process-photo img { position: static; flex: 1 1 auto; height: auto; min-height: 420px; object-fit: cover; }
.co-main .co-offering-photo figcaption { position: static; }

/* 1. Introduction: title and text on the left, centred on the height of the room photograph on the right. */
.co-intro { width: min(1320px, calc(100% - 128px)); margin-inline: auto; padding-block: 72px 96px; grid-template-areas: '. photo' 'title photo' 'text photo' '. photo'; grid-template-rows: 1fr auto auto 1fr; }
.co-intro-copy { display: contents; }
.co-intro-title { grid-area: title; }
.co-intro-description { grid-area: text; max-width: 560px; margin-top: 32px; }
.co-intro .co-context { grid-area: photo; width: auto; margin: 0; padding: 0; }
.co-intro .co-context img { height: auto; min-height: 440px; object-position: 50% 55%; }

/* Short rule under every title, so each column opens the same way. */
.co-intro-title > p::after, .co-section-head::after, .co-process-intro > p::after {
  content: ""; display: block; width: 48px; height: 1px; margin-top: 24px; background: var(--co-ink);
}
.co-intro-title > p, .co-section-head > p { max-width: none; }

/* 2. Products: photograph left, the six groups as an even index on the right. */
.co-offering .co-shell { grid-template-areas: 'photo head' 'photo list' 'photo foot'; grid-template-rows: auto auto 1fr; }
.co-offering-layout { display: contents; }
.co-offering-photo { grid-area: photo; }
.co-offering .co-section-head { grid-area: head; margin-bottom: 20px; }
.co-product-list { grid-area: list; grid-template-columns: 1fr; gap: 0; }
.co-product-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 32px; padding: 18px 0; border-top: 0; border-bottom: 1px solid var(--co-line); }
.co-product-item h3 { margin-bottom: 4px; }
.co-product-item > p { grid-column: 1; }
.co-product-item .co-product-links { grid-column: 2; grid-row: 1 / span 2; flex-direction: column; align-items: flex-end; gap: 4px; margin: 0; }
.co-product-links a { min-height: 28px; gap: 10px; border-bottom: 0; color: var(--co-muted); white-space: nowrap; }
.co-product-links a:hover { color: #806b42; }
.co-offering-foot { grid-area: foot; justify-content: flex-start; align-self: end; margin-top: 32px; }

/* 3. Process: title, numbered steps and link on the left, the sample photograph right. */
.co-process-layout { grid-template-areas: none; grid-template-rows: auto auto auto 1fr; gap: 0 88px; }
.co-process-intro { display: contents; }
.co-process-intro > h2 { grid-column: 1; grid-row: 1; }
.co-process-intro > p { grid-column: 1; grid-row: 2; margin-top: 12px; }
.co-process-list { grid-column: 1; grid-row: 3; counter-reset: co-step; list-style: none; padding: 0; margin: 20px 0 32px; }
.co-process-intro .co-text-link { grid-column: 1; grid-row: 4; align-self: end; margin-top: 0; }
.co-process-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 8px; padding: 16px 0; border-bottom: 1px solid #d0d8c9; counter-increment: co-step; }
.co-process-list li:first-child { padding-top: 16px; }
.co-process-list li:last-child { padding-bottom: 16px; border-bottom: 1px solid #d0d8c9; }
.co-process-list li::before { content: counter(co-step, decimal-leading-zero); grid-row: 1 / span 2; color: var(--co-muted); line-height: 1.9; }
.co-process-list h3 { margin-bottom: 4px; }
.co-process-photo { grid-column: 2; grid-row: 1 / span 4; align-self: stretch; }
.co-process-photo img { height: auto; }

/* 4. Reasons: title above, the four points in one row. */
.co-section-head { margin-bottom: 40px; }
.co-reason-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; }
.co-reason-grid article { padding-top: 22px; }

@media (max-width: 1100px) {
  .co-intro { width: calc(100% - 64px); }
  .co-intro, .co-offering .co-shell, .co-process-layout { column-gap: 48px; }
  .co-reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
}
@media (max-width: 800px) {
  /* Stacked: title, photo, then the content, in every section. */
  .co-intro, .co-offering .co-shell, .co-process-layout { grid-template-columns: 1fr; }
  .co-intro { grid-template-areas: 'title' 'photo' 'text'; grid-template-rows: auto; padding-block: 40px 56px; }
  .co-intro-description { margin-top: 28px; }
  .co-offering .co-shell { grid-template-areas: 'head' 'photo' 'list' 'foot'; grid-template-rows: auto; }
  .co-offering-photo { margin-bottom: 12px; }
  .co-process-layout { grid-template-rows: auto; }
  .co-process-photo { grid-column: 1; grid-row: 3; margin-top: 28px; }
  .co-process-list { grid-row: 4; margin: 12px 0 28px; }
  .co-process-intro .co-text-link { grid-row: 5; }
  .co-intro figure img, .co-offering-photo img, .co-process-photo img, .co-intro .co-context img { min-height: 0; height: 300px; flex: none; }
}
@media (max-width: 520px) {
  .co-intro { width: calc(100% - 40px); }
  .co-section { padding-block: 56px; }
  .co-intro figure img, .co-offering-photo img, .co-process-photo img, .co-intro .co-context img { height: 240px; }
  .co-product-item { grid-template-columns: 1fr; padding: 16px 0; }
  .co-product-item .co-product-links { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; gap: 4px 20px; margin-top: 6px; }
  .co-reason-grid { grid-template-columns: 1fr; gap: 24px; }
}
