.guide-bar {
  min-height: 48px;
  padding: .6rem max(26px, calc((100vw - var(--max)) / 2 + 26px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  background: #eaf0f2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: .82rem;
}
.guide-bar span { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .11em; }
.guide-bar a { color: var(--brand-blue); font-weight: 600; }
.guide-bar a:hover, .guide-bar a[aria-current="page"] { text-decoration: underline; text-underline-offset: .25rem; }

.topic-hero {
  max-width: var(--max);
  margin: auto;
  padding: 6rem 26px 7rem;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.topic-hero h1 {
  font-size: clamp(3rem, 6vw, 6.5rem);
  max-width: 10ch;
}

.topic-hero-copy > p:not(.eyebrow) {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.14rem;
}

.topic-hero img {
  display: block;
  width: 100%;
  min-height: 560px;
  object-fit: cover;
}

.topic-section {
  max-width: var(--max);
  margin: auto;
  padding: 7rem 26px;
}

.topic-section.soft { background: #eef3f4; max-width: none; padding-left: max(26px, calc((100vw - var(--max)) / 2 + 26px)); padding-right: max(26px, calc((100vw - var(--max)) / 2 + 26px)); }
.topic-intro { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 9rem); }
.topic-intro h2 { max-width: 10ch; }
.topic-intro-copy { padding-top: 1rem; }
.topic-intro-copy p { color: var(--muted); max-width: 680px; }
.topic-intro-copy .lead { color: var(--ink); font: 500 1.35rem/1.5 "Manrope", sans-serif; }
.topic-feature-image { margin: 4rem 0 0; }
.topic-feature-image img { display: block; width: 100%; max-height: 720px; object-fit: cover; object-position: center; }
.section-heading-media { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 7vw, 7rem); align-items: center; }
.section-heading-media img { display: block; width: 100%; min-height: 430px; max-height: 600px; object-fit: cover; object-position: center; }
.section-heading-media + .topic-grid { margin-top: 4rem; }

.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 3rem; }
.topic-grid article { min-height: 280px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.topic-grid span { color: var(--brand-blue); font-size: .73rem; letter-spacing: .12em; }
.topic-grid article:nth-child(2) span { color: #6ea82e; }
.topic-grid article:nth-child(3) span { color: var(--brand-orange); }
.topic-grid h3 { margin: auto 0 .75rem; }
.topic-grid p { margin: 0; color: var(--muted); font-size: .92rem; }

.topic-case { background: #171717; color: #fff; display: grid; grid-template-columns: 1fr 1fr; }
.topic-case img { width: 100%; height: 100%; min-height: 580px; object-fit: cover; }
.topic-case-copy { padding: clamp(3rem, 7vw, 7rem); display: flex; flex-direction: column; justify-content: center; }
.topic-case-copy h2 { font-size: clamp(2.4rem, 4vw, 4.6rem); max-width: 11ch; }
.topic-case-copy p:not(.eyebrow) { color: #c7c7c7; max-width: 580px; }

.related-topics { max-width: var(--max); margin: auto; padding: 6rem 26px 8rem; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.related-links a { background: #fff; padding: 2rem; border: 1px solid var(--line); }
.related-links strong { display: block; font: 600 1.25rem "Manrope", sans-serif; margin-bottom: .45rem; }
.related-links span { color: var(--muted); font-size: .88rem; }

.seo-overview { max-width: var(--max); margin: auto; padding: 5rem 26px 8rem; }
.seo-overview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.seo-overview-grid a { min-height: 300px; padding: 2.2rem; display: flex; flex-direction: column; background: #fff; border-top: 5px solid var(--brand-blue); }
.seo-overview-grid a:nth-child(2) { border-color: var(--brand-green); }
.seo-overview-grid a:nth-child(3) { border-color: var(--brand-orange); }
.seo-overview-grid a:nth-child(4) { border-color: var(--brand-green); }
.seo-overview-grid h3 { margin: auto 0 .75rem; }
.seo-overview-grid p { color: var(--muted); margin: 0; }
.seo-overview-grid .topic-link { color: var(--brand-blue); font-size: .8rem; margin-top: 1.4rem; }

.evaluation-hero img { object-position: center; }
.evaluation-grid article { min-height: 330px; }
.evaluation-benefits { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 7vw, 7rem); background: #171717; color: #fff; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); }
.evaluation-benefits h2 { max-width: 11ch; }
.evaluation-benefit-list p { display: grid; grid-template-columns: .75fr 1.25fr; gap: 2rem; margin: 0; padding: 1.6rem 0; border-top: 1px solid #484848; }
.evaluation-benefit-list p:last-child { border-bottom: 1px solid #484848; }
.evaluation-benefit-list strong { color: #fff; }
.evaluation-benefit-list span { color: #c7c7c7; }
.evaluation-enquiry { max-width: var(--max); margin: auto; padding: 8rem 26px; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.evaluation-enquiry-copy { position: sticky; top: 3rem; }
.evaluation-enquiry-copy h2 { max-width: 9ch; }
.evaluation-enquiry-copy p:not(.eyebrow) { color: var(--muted); max-width: 520px; }
.evaluation-enquiry-copy a { color: var(--brand-blue); text-decoration: underline; }
.form-consent { grid-template-columns: auto 1fr !important; align-items: start; font-weight: 400 !important; }
.form-consent input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; }

.news-page { max-width: var(--max); margin: auto; padding: 6rem 26px 8rem; }
.news-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: end; }
.news-intro h1 { max-width: 9ch; }
.news-intro-copy p { max-width: 650px; color: var(--muted); font-size: 1.12rem; }
.news-list { margin-top: 5rem; border-top: 1px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 220px 1fr auto; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.news-meta { display: flex; flex-direction: column; gap: .65rem; }
.news-status { width: fit-content; padding: .3rem .55rem; background: var(--brand-green); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.news-meta time { color: var(--muted); font-size: .85rem; line-height: 1.35; }
.news-copy h2 { margin: 0 0 1rem; max-width: 18ch; font-size: clamp(2rem, 3.5vw, 3.6rem); }
.news-copy p { max-width: 720px; margin-bottom: 0; color: var(--muted); }
.news-item .button { align-self: end; white-space: nowrap; }
.news-note { margin-top: 2rem; color: var(--muted); font-size: .85rem; }

/* Keep the simple guide page header action compact */
@media (min-width: 901px) {
  .site-header > .nav-cta {
    justify-self: end;
    align-self: center;
    width: auto;
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  .guide-bar { justify-content: flex-start; overflow-x: auto; white-space: nowrap; gap: 1.1rem; }
  .news-intro { grid-template-columns: 1fr; align-items: start; }
  .news-item { grid-template-columns: 160px 1fr; }
  .news-item .button { grid-column: 2; justify-self: start; }
  .topic-hero, .topic-intro, .topic-case, .evaluation-benefits, .evaluation-enquiry, .section-heading-media { grid-template-columns: 1fr; }
  .topic-hero img { min-height: 460px; }
  .topic-grid, .related-links, .seo-overview-grid { grid-template-columns: 1fr; }
  .topic-case img { min-height: 480px; }
  .section-heading-media img { min-height: 360px; }
  .evaluation-enquiry-copy { position: static; }
}

@media (max-width: 580px) {
  .news-page { padding-top: 4rem; padding-bottom: 5rem; }
  .news-list { margin-top: 3rem; }
  .news-item { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem 0; }
  .news-item .button { grid-column: auto; }
  .guide-bar { justify-content: flex-start; overflow-x: auto; white-space: nowrap; gap: 1.1rem; }
  .topic-hero { padding-top: 3rem; }
  .topic-hero img { min-height: 360px; }
  .topic-section { padding-top: 5rem; padding-bottom: 5rem; }
  .topic-grid article { min-height: 230px; }
  .topic-case img { min-height: 340px; }
  .related-topics { padding-top: 4rem; padding-bottom: 5rem; }
}

.harberton-plans img { max-height: none; height: auto; object-fit: contain; background: #fff; }
.harberton-plans figcaption { margin: 1rem 0 1.5rem; color: var(--muted); font-size: .95rem; line-height: 1.6; }

.harberton-installed { margin-top: 4rem; }
.harberton-installed > p { max-width: 850px; color: var(--muted); }
.harberton-photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; margin-top: 2rem; }
.harberton-photo-grid figure { margin: 0; }
.harberton-photo-grid img { display: block; width: 100%; height: auto; }
.harberton-photo-grid figcaption { margin-top: 1rem; font-size: 1rem; line-height: 1.6; color: var(--muted); }
.harberton-photo-grid strong { color: var(--ink); }
@media (max-width: 900px) { .harberton-photo-grid { grid-template-columns: 1fr; } }

.hero-experience { color: var(--brand-blue); font-size: 1rem; font-weight: 600; max-width: 38rem; }
.harberton-preview figure { margin: 0; min-width: 0; }
.harberton-preview figure:first-child { grid-column: 1 / -1; }
.harberton-preview figure:last-child { grid-column: 1 / -1; }
.harberton-preview figure:first-child img { height: auto; min-height: 0; object-fit: contain; background: #fff; }
.harberton-preview figure:last-child img { height: auto; max-height: 430px; object-fit: cover; }
.harberton-preview figcaption { font-size: 1rem; line-height: 1.6; color: var(--muted); padding: .75rem 0 1.25rem; }
.advice-list { margin: 2.5rem 0; border-top: 1px solid var(--line); }
.advice-list details { border-bottom: 1px solid var(--line); }
.advice-list summary { cursor: pointer; padding: 1.4rem .5rem; font: 600 1.15rem/1.5 "Manrope", sans-serif; color: var(--ink); }
.advice-list details > div { padding: 0 .5rem 1.5rem; max-width: 52rem; }
.advice-list p { color: var(--muted); font-size: 1rem; }
.advice-list a { color: var(--brand-blue); text-decoration: underline; text-underline-offset: .2rem; }
.advice-list summary:focus-visible { outline: 3px solid var(--brand-blue); outline-offset: 3px; }
.form-heading > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; margin-bottom: 0; }
@media (max-width: 580px) { .advice-list summary { font-size: 1rem; } }

.planning-download { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: center; padding: 2rem; margin-top: 2rem; background: #fff; border-left: 5px solid var(--brand-blue); }
.planning-download h3 { margin-bottom: 1rem; }
.planning-download p:not(.eyebrow) { max-width: 42rem; color: var(--muted); }
.planning-download .download-detail { font-size: 1rem; margin: 0; }
@media (max-width: 900px) { .planning-download { grid-template-columns: 1fr; } .planning-download .button { justify-self: start; max-width: 100%; } }
