/* Editorial layouts and the printable company document. Core type, colour,
   buttons, spacing and shared components are supplied by the main stylesheet. */
.service-detail-list > .detail-list > article,
.industry-list > article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  align-items: start;
  column-gap: clamp(2rem, 7vw, 7rem);
  padding-block: 2.5rem;
}
.service-detail-list > .detail-list > article { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.service-heading h2,
.industry-list h2 { max-width: 21ch; }
.service-heading .step-index,
.industry-list .step-index { display: block; margin-bottom: 1rem; }
.service-heading h2 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.service-risk { margin-top: 1.8rem; max-width: 48ch; }
.service-label,
.service-response dt { display: block; color: var(--accent); font-size: .875rem; font-weight: 600; margin-bottom: .75rem; }
.service-risk p { margin: 0; }
.service-response { margin: .3rem 0 0; }
.service-response dd { margin: 0; font-size: 1rem; line-height: 1.8; max-width: 65ch; }
.service-outcome { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.service-outcome dt { color: var(--ink); }
.service-outcome dd { font-size: 1.2rem; line-height: 1.5; letter-spacing: -.015em; }
.application-priorities { margin-top: 1.5rem; font-size: .8125rem; letter-spacing: .025em; }
.secondary-story { align-items: start; }
.secondary-story .image-panel { margin-top: .35rem; }
.secondary-story .image-panel img { aspect-ratio: 4 / 5; object-fit: cover; }
.secondary-process { align-items: start; }
.process-introduction { align-items: end; margin-bottom: 3.5rem; }
.process-introduction h2 { max-width: 22ch; }
.process-introduction p { color: var(--muted); max-width: 32ch; font-size: 1.2rem; margin: 0 0 .2rem; }
.phase-list,
.phase-steps { list-style: none; padding: 0; margin: 0; }
.process-phase { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 5rem); padding-block: 2.8rem 3.4rem; border-top: 1px solid var(--line); }
.phase-tag { display: block; font-size: .8rem; color: var(--accent); margin-bottom: 1rem; font-weight: 600; }
.phase-heading h3 { font-size: clamp(1.65rem, 2.5vw, 2.3rem); max-width: 16ch; }
.phase-heading p { margin: 1rem 0 0; font-size: .9375rem; color: var(--muted); max-width: 25ch; }
.phase-steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.phase-steps .step-index { display: block; color: var(--accent); font-size: .9375rem; margin-bottom: 1rem; }
.phase-steps h4 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.25; letter-spacing: -.025em; margin-bottom: 1rem; }
.phase-steps p { color: var(--muted); font-size: .9375rem; line-height: 1.8; margin: 0; }
.secondary-markets > p:not(.eyebrow) { max-width: 65ch; }
.secondary-markets h2 { max-width: 20ch; }
.market-names { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; margin-top: 2.5rem; }
.market-names span { font-size: clamp(1.35rem, 2.8vw, 2.4rem); letter-spacing: -.035em; }
.secondary-cta { display: flex; justify-content: space-between; align-items: center; gap: 2.5rem; }
.secondary-cta h2 { max-width: 22ch; }
.secondary-cta .button { flex-shrink: 0; }
.programme-section .cert-list { margin-top: 3rem; }
.programme-section .fine-print { max-width: 80ch; }
.programme-mark-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 2rem; }
.programme-mark-list > li { padding: 1.4rem 0; border: 0; border-top: 1px solid var(--line); }
.programme-mark-list strong { display: block; font-size: 1rem; font-weight: 600; }
.programme-mark-list span { display: block; font-size: .875rem; color: var(--muted); margin-top: .45rem; }
.faq-layout { align-items: start; }
.faq-layout > aside h2 { max-width: 18ch; }
.faq-layout > aside .text-link { overflow-wrap: anywhere; }
.accordion summary { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion-icon { flex: 0 0 1rem; font-size: 1.25rem; line-height: 1; text-align: center; transition: transform .2s ease; }
.accordion details[open] .accordion-icon { transform: rotate(45deg); }
.accordion-content { padding-bottom: 1.75rem; }
.accordion-content .text-link { margin-top: .5rem; }
.profile-actions { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; }
.profile-sheet { max-width: 960px; }
.profile-document-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-bottom: 1.5rem; margin-bottom: 3rem; border-bottom: 2px solid currentColor; }
.profile-document-heading strong { font-size: 1.4rem; letter-spacing: .12em; }
.profile-document-heading > span { font-size: .6875rem; letter-spacing: .12em; }
.profile-sheet > section { padding-block: 2.5rem; border-bottom: 1px solid var(--line, #d9d6cf); }
.profile-sheet > .profile-overview { padding-top: 0; }
.profile-sheet > section > h2 { font-size: clamp(1.45rem, 3vw, 2.25rem); max-width: 30ch; margin-bottom: 1.5rem; }
.profile-sheet > .profile-overview > h2 { font-size: clamp(2rem, 4.5vw, 3.3rem); }
.profile-sheet p { line-height: 1.75; }
.profile-facts { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1.5rem 2rem; margin-top: 2rem; }
.profile-facts > div:last-child { grid-column: 1 / -1; }
.profile-facts dt,
.profile-fibre-index dt { font-size: .6875rem; letter-spacing: .1em; margin-bottom: .5rem; }
.profile-facts dd,
.profile-fibre-index dd { margin: 0; line-height: 1.7; }
.profile-services { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; padding-left: 0; list-style: none; }
.profile-services strong { display: block; font-size: .9375rem; font-weight: 600; }
.profile-services span { display: block; font-size: .875rem; color: var(--muted); line-height: 1.6; margin-top: .25rem; }
.profile-fibre-index { margin-top: 1.5rem; }
.profile-fibre-index > div { padding-block: 1.25rem; border-top: 1px solid var(--line, #d9d6cf); }
.profile-fibre-index dd { font-size: .9375rem; }
.profile-sheet .cert-list { gap: .75rem 1.5rem; }
.profile-sheet .cert-list li { font-size: 1rem; }
.profile-contact address { display: flex; flex-wrap: wrap; gap: 1rem 2rem; font-style: normal; }
.profile-contact address a { overflow-wrap: anywhere; }
.profile-contact .profile-print-contact { display: none; }
.profile-screen-contact > p { color: var(--muted); font-size: .9375rem; margin-bottom: 1.25rem; }
.profile-sheet .spec-table { width: 100%; }
.profile-sheet .spec-table th { text-align: left; }
.profile-sheet .spec-table th,
.profile-sheet .spec-table td { padding: .9rem 1rem .9rem 0; }
.profile-sheet .spec-table thead th { font-size: .6875rem; letter-spacing: .08em; }
.profile-sheet .spec-table tbody th { font-weight: 500; }

@media (max-width: 1000px) {
  .process-phase { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .phase-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2rem; align-items: end; }
  .phase-tag { grid-column: 1 / -1; }
  .phase-heading p { margin: 0; }
}

@media (max-width: 700px) {
  .service-detail-list > .detail-list > article,
  .industry-list > article { grid-template-columns: 1fr; gap: 1.25rem; padding-block: 2rem; }
  .service-detail-list > .detail-list > article { gap: 2rem; padding-block: 2.5rem; }
  .service-heading h2,
  .industry-list h2 { max-width: none; }
  .secondary-story .image-panel img { aspect-ratio: 4 / 3; }
  .process-introduction { gap: 1.25rem; margin-bottom: 2rem; }
  .process-introduction p { font-size: 1rem; }
  .process-phase { padding-block: 2rem 2.5rem; }
  .phase-heading { grid-template-columns: 1fr; }
  .phase-heading h3 { max-width: none; }
  .phase-heading p { margin-top: .75rem; max-width: none; }
  .phase-steps { grid-template-columns: 1fr; gap: 2rem; }
  .phase-steps > li { display: grid; grid-template-columns: 1.75rem minmax(0, 1fr); column-gap: 1rem; }
  .phase-steps .step-index { grid-column: 1; grid-row: 1 / 3; margin: 0; padding-top: .1rem; }
  .phase-steps h4,
  .phase-steps p { grid-column: 2; }
  .secondary-cta { align-items: flex-start; flex-direction: column; }
  .secondary-cta .button { flex-shrink: 1; }
  .profile-facts,
  .profile-services { grid-template-columns: 1fr; }
  .profile-sheet > section { padding-block: 2rem; }
  .profile-document-heading { margin-bottom: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .accordion-icon { transition: none; }
}

@media print {
  .profile-screen-contact { display: none; }
  .profile-contact .profile-print-contact { display: flex; }
  @page { size: A4; margin: 17mm; }
  body:has(.profile-sheet) { background: white !important; color: #14202b !important; font-size: 10pt; }
  body:has(.profile-sheet) > header,
  body:has(.profile-sheet) > footer,
  body:has(.profile-sheet) .site-header,
  body:has(.profile-sheet) .site-footer,
  body:has(.profile-sheet) .page-intro,
  body:has(.profile-sheet) .no-print,
  body:has(.profile-sheet) .skip-link,
  body:has(.profile-sheet) .mobile-menu,
  body:has(.profile-sheet) .back-to-top { display: none !important; }
  body:has(.profile-sheet) main { padding: 0 !important; }
  .profile-sheet { width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
  .profile-document-heading { margin-bottom: 6mm; padding-bottom: 4mm; }
  .profile-document-heading strong { font-size: 17pt; }
  .profile-document-heading > span { font-size: 8pt; }
  .profile-sheet > section { padding-block: 5mm; }
  .profile-sheet > section > h2 { font-size: 15pt; margin-bottom: 3mm; }
  .profile-sheet > .profile-overview > h2 { font-size: 24pt; }
  .profile-sheet p,
  .profile-fibre-index dd { font-size: 10pt; line-height: 1.55; }
  .profile-facts { display: grid; grid-template-columns: 1fr 1.5fr; margin-top: 4mm; gap: 3mm 5mm; }
  .profile-services { display: grid; grid-template-columns: 1fr 1fr; gap: 2mm 5mm; }
  .profile-services strong { font-size: 9.5pt; line-height: 1.4; }
  .profile-services span { font-size: 8.5pt; line-height: 1.4; margin-top: .5mm; }
  .profile-sheet .spec-table th,
  .profile-sheet .spec-table td { padding-block: 2mm; }
  .profile-fibre-section { break-before: page; }
  .profile-fibre-index { margin-top: 4mm; }
  .profile-fibre-index > div { padding-block: 3mm; }
  .profile-sheet .cert-list { display: flex; flex-wrap: wrap; margin-block: 3mm; gap: 2mm 5mm; }
  .profile-sheet .cert-list li { font-size: 10pt; padding: 0; border: 0; }
  .profile-sheet .fine-print { font-size: 8.5pt; }
  .profile-sheet h2,
  .profile-sheet h3,
  .profile-sheet dt { break-after: avoid; }
  .profile-sheet table,
  .profile-fibre-index > div,
  .profile-facts,
  .profile-contact { break-inside: avoid; }
  .profile-sheet a { color: inherit !important; text-decoration: none; }
}
