/* ITH editorial composition, 2026-11-17.
   Scoped presentation layer after the retained, tested responsive foundation.
   The Manrope role scale, shared gutters, native disclosure behaviour,
   1280px navigation/hero boundary and image proportions stay authoritative.
   No scroll interception, initial hidden text or animation dependency. */

/* Home: a clear promise and action beside the image, with supporting copy
   in a separate full-row reading band. Mobile keeps copy before the image. */
.site-main .home-hero--editorial .home-hero__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "title" "summary" "actions" "media";
  gap: 1.5rem var(--gap-columns);
  align-items: start;
}
.home-hero--editorial .home-hero__content { display: contents; }
.home-hero--editorial .home-hero__heading { grid-area: title; min-width: 0; }
.home-hero--editorial .home-hero__summary { grid-area: summary; min-width: 0; }
.home-hero--editorial .home-hero__actions { grid-area: actions; margin: 0; }
.home-hero--editorial .home-hero__media { grid-area: media; min-width: 0; margin-top: 1rem; }
.site-main .home-hero--editorial .home-hero__context { margin: 1rem 0 0; }
.site-main .home-hero--editorial .home-hero__title { margin: 0; max-width: 28ch; }
.site-main .home-hero--editorial .home-hero__intro { margin: 0; max-width: 75ch; }
.home-hero--editorial .home-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; }
.site-main .home-hero--editorial .btn--primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.site-main .home-hero--editorial .btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }

/* Division qualifiers remain intact, but no longer compete with the main
   promise, introductory paragraph and enquiry action in the left column. */
.site-main .hero--division .division-evidence {
  grid-column: 1 / -1; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem var(--gap-columns); width: 100%; margin: 0;
  padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.site-main .division-evidence li { min-width: 0; font-size: 1rem; line-height: 1.55; }

/* Process: one consistent editorial frame for introduction, suitability,
   all nine steps, named comparisons and closing chapters. The frame uses
   tablet space; paragraph measures remain bounded inside wide comparisons. */
.site-main[data-page="how-we-work"] {
  --process-frame: 64rem;
}
.site-main[data-page="how-we-work"] :is(.process-opening__intro,
  .process-reading__flow, .process-step__content,
  [aria-labelledby="hww-complex-title"] .process-reading__flow) {
  width: 100%; max-width: var(--process-frame); margin-inline: auto;
}
.site-main[data-page="how-we-work"] [aria-labelledby="hww-s3-title"] .process-step__content {
  max-width: var(--process-frame);
}
.site-main[data-page="how-we-work"] .process-opening__intro .hero__sub { max-width: 75ch; }
.site-main[data-page="how-we-work"] .process-overview { max-width: var(--process-frame); margin-inline: auto; }
.site-main[data-page="how-we-work"] .process-step {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}
.site-main[data-page="how-we-work"] .process-step + .process-step { border-top: 0; }
.site-main[data-page="how-we-work"] .process-step:not(.process-step--phase) .process-step__content {
  border-top: 1px solid var(--line); padding-top: clamp(1.5rem, 2vw, 2rem);
}
.site-main[data-page="how-we-work"] .process-step .step-head .t-h2 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.3;
}
.site-main[data-page="how-we-work"] .process-step .step-head { margin-bottom: 1.5rem; }
.site-main[data-page="how-we-work"] :is(.process-step, .process-reading) .grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 27rem), 1fr));
}

/* Contact: the opening and form share the same outer grid. Direct contact
   is useful secondary information, not a second primary form heading. */
.site-main[data-page="contact"] .task-opening { max-width: none; }
.site-main[data-page="contact"] .task-opening__body .hero__sub { margin-top: 0; }
.site-main[data-page="contact"] .contact-details .t-h2 {
  font-size: var(--fs-h3); font-weight: var(--fw-semibold); line-height: 1.35;
}
.site-main[data-page="contact"] .contact-details .t-eyebrow { margin-top: .75rem; }

@media (min-width: 1280px) {
  .site-main .home-hero--editorial .home-hero__stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-areas: "title media" "summary summary";
    grid-template-rows: auto auto;
    row-gap: 2rem;
  }
  .home-hero--editorial .home-hero__content { grid-area: title; display: flex; flex-direction: column; gap: 2rem; min-width: 0; align-self: center; }
  .home-hero--editorial .home-hero__actions { padding-bottom: 0; }
  .home-hero--editorial .home-hero__media { margin-top: 0; }
  .home-hero--editorial .home-hero__summary { border-top: 1px solid var(--line); padding-top: 2rem; }
  .site-main .home-hero--editorial .home-hero__intro { max-width: min(75ch, 52rem); margin-inline: auto; }
  .site-main[data-page="contact"] .task-opening {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    column-gap: var(--gap-columns); align-items: start;
  }
  .site-main[data-page="contact"] .task-opening__body { max-width: none; }
  .site-main[data-page="contact"] .task-opening__body > .t-body { font-size: var(--fs-small); }
}
@media (max-width: 639px) {
  .home-hero--editorial .home-hero__actions .btn { width: 100%; }
}

/* Independent full-width image / overlaid copy alternative, 18 November. */
.site-main .home-hero--overlay { background:#fff; border-bottom:0; }
.site-main .home-hero--overlay .home-hero__stage {
 position:relative; display:grid; grid-template-columns:minmax(0,1fr);
 grid-template-areas:"visual" "summary"; gap:0; max-width:none; width:100%; padding:0;
}
.site-main .home-hero--overlay .home-hero__media {
 grid-area:visual; position:relative; width:100%; max-width:none; margin:0; align-self:stretch;
}
.home-hero--overlay .home-gallery { position:relative; height:100%; }
.home-hero--overlay .home-gallery__viewport { height:100%; min-height:650px; }
.home-hero--overlay .home-gallery__slide { height:100%; }
.site-main .home-hero--overlay .home-hero__media .media { height:100%; aspect-ratio:auto!important; display:block; }
.site-main .home-hero--overlay .home-hero__media .media img { width:100%; height:100%; object-fit:cover; object-position:65% center; }
.home-hero--overlay .home-hero__media::after {
 content:""; position:absolute; inset:0; pointer-events:none;
 background:linear-gradient(90deg,rgba(14,22,30,.87) 0%,rgba(14,22,30,.65) 37%,rgba(14,22,30,.12) 76%),linear-gradient(0deg,rgba(14,22,30,.65),transparent 25%);
}
.site-main .home-hero--overlay .home-hero__content {
 grid-area:visual; z-index:1; display:flex; flex-direction:column; align-self:center;
 align-items:flex-start; gap:2rem; width:min(100%,820px); max-width:none;
 padding:clamp(3rem,6vw,6rem) var(--gutter) 8rem; pointer-events:none;
}
.home-hero--overlay .home-hero__content a { pointer-events:auto; }
.site-main .home-hero--overlay .home-hero__title { color:#fff; max-width:20ch; font-size:clamp(2.35rem,4.2vw,4.4rem); line-height:1.1; letter-spacing:-.035em; text-wrap:balance; }
.site-main .home-hero--overlay .home-hero__context { color:rgba(255,255,255,.85); max-width:48ch; font-size:1.05rem; line-height:1.6; margin-top:1.5rem; }
.site-main .home-hero--overlay .btn--primary { background:#fff; color:#17212b; border-color:#fff; }
.site-main .home-hero--overlay .btn--primary:hover { background:#f2f2f3; border-color:#f2f2f3; }
.site-main .home-hero--overlay .link-quiet { color:#fff; }
.home-hero--overlay .home-gallery__controls { position:absolute; bottom:1.5rem; left:var(--gutter); right:var(--gutter); z-index:2; margin:0; gap:1rem; align-items:center; }
.home-hero--overlay .home-gallery__choices { gap:1.5rem; }
.home-hero--overlay .home-gallery__choice { color:rgba(255,255,255,.7); font-size:.95rem; }
.home-hero--overlay .home-gallery__choice:hover,.home-hero--overlay .home-gallery__choice[aria-pressed="true"] { color:#fff; border-color:#fff; }
.home-hero--overlay .home-gallery__pause { color:#fff; border-color:rgba(255,255,255,.55); border-radius:50%; }
.site-main .home-hero--overlay .home-hero__summary { grid-area:summary; border:0; padding:clamp(2rem,4vw,4rem) var(--gutter); width:100%; }
.site-main .home-hero--overlay .home-hero__intro { max-width:75ch; margin:0; font-size:clamp(1.1rem,1.35vw,1.3rem); line-height:1.7; }
@media (max-width:1279px) {
 .site-main .home-hero--overlay .home-hero__content { width:min(100%,760px); }
 .home-hero--overlay .home-gallery__viewport { min-height:620px; }
}
@media (max-width:639px) {
 .home-hero--overlay .home-gallery__viewport { min-height:670px; }
 .site-main .home-hero--overlay .home-hero__content { padding-top:3rem; padding-bottom:9rem; gap:1.75rem; }
 .site-main .home-hero--overlay .home-hero__title { font-size:clamp(2.1rem,8.7vw,3rem); }
 .home-hero--overlay .home-hero__media::after { background:linear-gradient(90deg,rgba(14,22,30,.81),rgba(14,22,30,.48)),linear-gradient(0deg,rgba(14,22,30,.75),transparent 40%); }
 .home-hero--overlay .home-gallery__choices { gap:.25rem 1rem; }
 .home-hero--overlay .home-gallery__choice { font-size:.82rem; }
 .site-main .home-hero--overlay .home-hero__actions { align-items:stretch; width:100%; gap:.75rem; }
 .site-main .home-hero--overlay .home-hero__actions .btn { width:auto; }
}
.home-hero--overlay .home-gallery__slide .media-caption { position:absolute; top:100%; left:0; right:0; margin:0; padding:.75rem var(--gutter) 0; font-size:.75rem; line-height:1.45; }
.site-main .home-hero--overlay .home-hero__summary { padding-top:clamp(3.5rem,5vw,5rem); }
.home-hero--overlay :is(a,button):focus-visible { outline:3px solid #fff; outline-offset:5px; }

/* Mobile revision: the product image stands alone; copy never covers it. */
@media (max-width:639px) {
 .site-main .home-hero--overlay .home-hero__stage { grid-template-areas:"visual" "copy" "summary"; }
 .home-hero--overlay .home-gallery { height:auto; }
 .home-hero--overlay .home-gallery__viewport { height:auto; min-height:0; }
 .home-hero--overlay .home-gallery__slide { height:auto; }
 .site-main .home-hero--overlay .home-hero__media .media { height:auto; aspect-ratio:16/9!important; }
 .site-main .home-hero--overlay .home-hero__media .media img { object-fit:contain; object-position:center; }
 .home-hero--overlay .home-hero__media::after { display:none; }
 .home-hero--overlay .home-gallery__slide .media-caption { position:static; padding:.65rem var(--gutter) 0; font-size:.7rem; line-height:1.5; color:#62676b; }
 .home-hero--overlay .home-gallery__controls { position:static; padding:.65rem var(--gutter) .9rem; border-bottom:1px solid var(--line); gap:1rem; }
 .home-hero--overlay .home-gallery__choices { gap:0 1rem; }
 .home-hero--overlay .home-gallery__choice { color:#62676b; font-size:.8rem; }
 .home-hero--overlay .home-gallery__choice:hover,.home-hero--overlay .home-gallery__choice[aria-pressed="true"] { color:#17212b; border-color:#17212b; }
 .home-hero--overlay .home-gallery__pause { color:#17212b; border-color:#c8cacc; }
 .site-main .home-hero--overlay .home-hero__content { grid-area:copy; padding:2rem var(--gutter) 0; gap:1.5rem; width:100%; }
 .site-main .home-hero--overlay .home-hero__title { color:#17212b; font-size:clamp(1.85rem,7.9vw,2.8rem); line-height:1.15; max-width:none; text-wrap:pretty; }
 .site-main .home-hero--overlay .home-hero__context { color:#62676b; margin-top:1rem; font-size:1rem; }
 .site-main .home-hero--overlay .btn--primary { color:#fff; background:#17212b; border-color:#17212b; }
 .site-main .home-hero--overlay .btn--primary:hover { background:#2a3540; }
 .site-main .home-hero--overlay .link-quiet { color:#17212b; }
 .site-main .home-hero--overlay .home-hero__summary { padding:1.75rem var(--gutter) 2.5rem; }
 .site-main .home-hero--overlay .home-hero__intro { font-size:1.05rem; line-height:1.65; }
 .home-hero--overlay :is(a,button):focus-visible { outline-color:#17212b; }
}


/* Home / editorial portfolio. A continuous canvas, not stacked color panels.
   Existing hero/mobile composition and factual text are preserved. */
.site-main[data-page="home"] { background:#fff; }
.site-main .home-hero--overlay .home-hero__summary { background:#fff; border:0; text-align:center; padding:clamp(5rem,8vw,8rem) var(--gutter) clamp(4rem,6vw,6rem); }
.site-main .home-hero--overlay .home-hero__intro { margin-inline:auto; max-width:52ch; font-size:clamp(1.5rem,2.3vw,2.1rem); line-height:1.5; letter-spacing:-.025em; color:var(--ink); text-wrap:pretty; }
.site-main[data-page="home"] :is(.home-divisions,.home-background,.home-process,.home-enquiry) { background:#fff; border:0; padding-block:clamp(3.5rem,7vw,7rem); }
.site-main[data-page="home"] .home-divisions { padding-top:0; }
.site-main[data-page="home"] .home-section-head { max-width:none; display:grid; grid-template-columns:1fr 1fr; gap:1.25rem 5vw; align-items:start; margin-bottom:3rem; }
.site-main[data-page="home"] .home-section-head > .t-eyebrow { display:none; }
.site-main[data-page="home"] .home-section-head > .t-lead { margin:0; max-width:58ch; }
.site-main[data-page="home"] .division-index { display:flex; flex-direction:column; gap:clamp(3.5rem,8vw,8rem); border:0; }
.site-main[data-page="home"] .division-index--editorial .division-row { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); gap:clamp(2rem,5vw,5rem); padding:0; border:0; align-items:center; background:none; }
.site-main[data-page="home"] .division-index--editorial .division-row:nth-child(even) { grid-template-columns:minmax(0,1fr) minmax(0,1.35fr); }
.site-main[data-page="home"] .division-index--editorial .division-row:nth-child(even) .division-row__visual { order:2; }
.site-main[data-page="home"] .division-index--editorial .division-row__visual { min-width:0; }
.site-main[data-page="home"] .division-index--editorial .division-row__visual .media { aspect-ratio:16/9!important; width:100%; }
.site-main[data-page="home"] .division-index--editorial .division-row__visual img { object-fit:contain; }
.site-main[data-page="home"] .division-index--editorial .division-row__visual .media-caption { font-size:.75rem; line-height:1.45; color:var(--muted); margin-top:.65rem; }
.site-main[data-page="home"] .division-index--editorial .division-row__title { font-size:clamp(1.75rem,2.6vw,2.6rem); color:var(--ink); margin:0 0 1.25rem; }
.site-main[data-page="home"] .division-index--editorial .division-row__text { margin-top:1rem; }
.site-main[data-page="home"] .division-index--editorial .division-row__action { margin-top:1.5rem; padding:0; justify-content:flex-start; gap:1rem; color:var(--accent-dark); }
.site-main[data-page="home"] .division-index--editorial .division-row:hover .division-row__action { text-decoration:underline; text-underline-offset:.3em; }
.site-main[data-page="home"] .home-divisions__closing { margin:4rem 0 0 auto; max-width:75ch; }
.site-main[data-page="home"] .reference-band { margin-block:0; }
.site-main[data-page="home"] .reference-strip { padding:1rem 0; border:0; background:none; display:flex; gap:1rem; flex-wrap:wrap; }
.site-main[data-page="home"] .reference-strip__title { font-size:.85rem; }
.site-main[data-page="home"] .reference-strip__note { font-size:.85rem; }
.site-main[data-page="home"] .home-background__copy { width:100%; max-width:none; }
.site-main[data-page="home"] .home-background__copy > .t-eyebrow { display:none; }
.site-main[data-page="home"] .home-background__copy > .t-h2 { max-width:22ch; font-size:clamp(2rem,3.8vw,3.75rem); margin-top:0; }
.site-main[data-page="home"] .home-background .prose-grid { margin:2.5rem 0 0 auto; max-width:75ch; display:block; }
.site-main[data-page="home"] .home-background .prose-grid__group + .prose-grid__group { margin-top:1.5rem; }
.site-main[data-page="home"] .home-process .process-line { border-top:1px solid var(--line); gap:2rem; padding-top:1.75rem; }
.site-main[data-page="home"] .home-process .process-line__step { border:0; padding:0; }
.site-main[data-page="home"] .home-enquiry .home-close { border-top:1px solid var(--line); padding-top:clamp(3rem,5vw,5rem); }
.site-main[data-page="home"] .home-close__head .t-h2 { font-size:clamp(2.25rem,4vw,4rem); max-width:20ch; }
.site-main[data-page="home"] .home-close__note { border:0; background:none; padding:0; margin-top:2rem; color:var(--muted); }
@media(max-width:1023px) {
 .site-main[data-page="home"] .home-section-head { display:block; }
 .site-main[data-page="home"] .home-section-head > .t-lead { margin-top:1.5rem; max-width:75ch; }
 .site-main[data-page="home"] .division-index--editorial .division-row,.site-main[data-page="home"] .division-index--editorial .division-row:nth-child(even) { grid-template-columns:minmax(0,1fr); gap:1.75rem; }
 .site-main[data-page="home"] .division-index--editorial .division-row:nth-child(even) .division-row__visual { order:0; }
 .site-main[data-page="home"] .division-index--editorial .division-row__copy { max-width:75ch; }
}
@media(max-width:639px) {
 .site-main .home-hero--overlay .home-hero__summary { padding:3rem var(--gutter) 3.5rem; }
 .site-main .home-hero--overlay .home-hero__intro { font-size:1.4rem; line-height:1.5; max-width:28ch; }
 .site-main[data-page="home"] .home-section-head { margin-bottom:2rem; }
 .site-main[data-page="home"] .home-divisions__closing { margin-top:2.5rem; }
}
/* Supporting labels stay legible across touch layouts. */
.site-main[data-page="home"] .division-index--editorial .division-row__visual .media-caption,
.home-hero--overlay .home-gallery__slide .media-caption { font-size:.875rem; line-height:1.5; }
@media(max-width:639px) {
 .home-hero--overlay .home-gallery__choice { font-size:.875rem; }
}
