/* Dense layout, modelled on realimage.com/what-we-do: tight sections, short heroes, content first.
   Applies to every page except the Apple pages (body.apple), which keep their own style. */
body:not(.apple) { --section: clamp(36px, 4.2vw, 56px); }
body:not(.apple) .section--tight { padding-block: clamp(24px, 3vw, 40px); }
body:not(.apple) .section-head { margin-bottom: clamp(18px, 2.2vw, 28px); align-items: start; gap: 12px 48px; }
body:not(.apple) .section-head .lede { font-size: 1rem; line-height: 1.55; }
body:not(.apple) .split { gap: clamp(20px, 3.5vw, 44px); align-items: start; }

/* heroes: title and copy up front, no tall empty banner */
body:not(.apple) .hero__body { min-height: 0; justify-content: flex-start; padding-top: calc(var(--header-h) + 36px); padding-bottom: 36px; }
body:not(.apple) .hero__body--short { min-height: 0; }
body:not(.apple) .hero .h1, body:not(.apple) .hero h1 { font-size: clamp(2rem, 4.2vw, 3.3rem); max-width: 24ch; }
body:not(.apple) .hero .lede { margin: 14px 0 20px; max-width: 78ch; font-size: 1.02rem; line-height: 1.55; }
body:not(.apple) .hero--light .hero__body { padding-top: clamp(24px, 3vw, 40px); padding-bottom: clamp(24px, 3vw, 40px); }
body:not(.apple) .hero__index { font-size: clamp(6rem, 14vw, 11rem); }
body:not(.apple) .vstrip a { padding-block: 14px; }

/* headings */
body:not(.apple) .h2 { font-size: clamp(1.55rem, 2.6vw, 2.2rem); }
body:not(.apple) .h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }

/* cards and grids */
body:not(.apple) .tile { min-height: 0; }
body:not(.apple) .tile__media { aspect-ratio: 16 / 8; }
body:not(.apple) .tile__body { padding: 16px 20px 18px; }
body:not(.apple) .tile h3 { font-size: 1.25rem; margin-bottom: 6px; }
body:not(.apple) .tile p { font-size: 0.9rem; margin-bottom: 12px; }
body:not(.apple) .tile__idx { margin-bottom: 8px; }
body:not(.apple) .product { padding: 18px 18px 16px; gap: 8px; }
body:not(.apple) .product h3 { font-size: 1.15rem; }
body:not(.apple) .cap { padding-block: 18px; }
body:not(.apple) .node { min-height: 0; padding: 14px 14px 14px; }
body:not(.apple) .workflow { padding: clamp(14px, 2vw, 22px); }
body:not(.apple) .path { padding: 22px; }
body:not(.apple) .checklist li { padding-block: 9px; }
body:not(.apple) .metric { padding-block: 18px; }
body:not(.apple) .figure img { max-height: 340px; object-fit: cover; }
body:not(.apple) .cta { gap: clamp(20px, 3vw, 40px); }
body:not(.apple) .faq details { padding-block: 0; }
body:not(.apple) .faq summary { padding-block: 14px; }
body:not(.apple) .since { aspect-ratio: auto; padding: 28px; }
body:not(.apple) .since__year { font-size: clamp(3.4rem, 8vw, 6.2rem); }
body:not(.apple) .partner { aspect-ratio: auto; min-height: 84px; padding: 12px 10px; }
body:not(.apple) .related { gap: 24px; }

/* client logos: white cards, full-colour marks */
.clients { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.clients--sector { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.client { aspect-ratio: auto; min-height: 120px; padding: 14px; gap: 8px; align-content: center; }
.client--logo { grid-template-rows: 1fr auto; }
.client--logo img { max-width: 76%; max-height: 64px; width: auto; height: auto; justify-self: center; align-self: center; }
.client small { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
@media (max-width: 1024px) { .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .clients, .clients--sector { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* service index, as on Real Image's What We Do */
.svc-index { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 40px; }
.svc-index li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.svc-index a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; text-decoration: none; color: var(--ink); font-weight: 560; font-size: 0.96rem; }
.svc-index a span { color: var(--ink-3); font-weight: 400; font-size: 0.82rem; text-align: right; }
.svc-index a:hover { color: var(--brand); }
@media (max-width: 900px) { .svc-index { columns: 2; } }
@media (max-width: 560px) { .svc-index { columns: 1; } }
.csums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 32px; }
.csum { border-top: 2px solid var(--ink); padding-top: 14px; }
.csum p { margin: 8px 0 0; color: var(--ink-2); font-size: 0.95rem; }
.csum__names strong { color: var(--ink); }
@media (max-width: 800px) { .csums { grid-template-columns: 1fr; gap: 22px; } }
body:not(.apple) .product, body:not(.apple) .products .product { min-height: 0; }
body:not(.apple) .product .link-arrow { margin-top: 10px; }
html, body { overflow-x: clip; }
