/* Photo-led service and project pages share the colours and grid of the home page. */
.desktop-nav [aria-current="page"], .desktop-nav .current-section,
.mobile-nav [aria-current="page"], .mobile-nav .current-section { text-decoration: underline; text-decoration-color: #ba4821; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero { background: #152840; }
.contact-strip { background: #f0f3f5; }
.text-action { display: inline-block; font-weight: 600; font-size: .94rem; line-height: 1.45; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #8899a8; padding: 6px 0; }
.text-action:hover { text-decoration-color: #c04922; }
.section-head > .text-action, .story-heading > .text-action { flex: none; }
.section-head > div > p { margin-top: 12px; max-width: 62ch; }
.service-index { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin-bottom: 36px; border-block: 1px solid var(--line); }
.service-index a { padding: 20px clamp(14px,2vw,26px); }
.service-index a + a { border-inline-start: 1px solid var(--line); }
.service-index a:hover { background: var(--tint); }
.service-index strong { display: block; font: 500 1.55rem/1.16 var(--display); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: #8899a8; }
.service-index span { display: block; margin-top: 9px; color: var(--muted); font-size: .94rem; line-height: 1.5; }
.direction-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 35px clamp(18px,2.4vw,36px); }
.direction-card { min-width: 0; }
.card-photo { display: block; position: relative; overflow: hidden; background: #d3dae0; border-radius: 3px; aspect-ratio: 1.92; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease-out; }
.direction-card:nth-child(3) .card-photo img { object-position: 50% 40%; }
.direction-card:nth-child(2) .card-photo img { object-position: 50% 78%; }
.panorama button:nth-child(4) img { object-position: 100% 55%; }
@media (hover:hover) { .direction-card:hover .card-photo img { transform: scale(1.025); } }
.direction-copy { padding: 17px 0 0; display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px 14px; align-items: baseline; }
.direction-copy h3, .related h3, .purpose-grid h3 { font: 500 clamp(1.55rem,2.5vw,2.6rem)/1.13 var(--display); letter-spacing: -.015em; }
.direction-copy h3 a:hover { color: #923913; }
.direction-copy p, .purpose-grid p, .project-story p { color: var(--muted); line-height: 1.55; }
.direction-copy p { grid-column: 1/-1; max-width: 60ch; }
.direction-copy .text-action { grid-column: 2; grid-row: 1; font-size: .84rem; }
.feature { background: #203854; color: white; padding-block: clamp(36px,4.5vw,68px); }
.feature-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.feature-heading h2 { font: 600 clamp(1.65rem,3vw,2.85rem)/1.16 var(--body); text-transform: none; letter-spacing: -.025em; }
.feature-heading .text-action { color: white; text-decoration-color: #a4b7ca; }
.repair-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(10px,2vw,26px); }
.repair-pair figure { margin: 0; }
.repair-pair button { display: block; width: 100%; padding: 0; cursor: zoom-in; border-radius: 3px; overflow: hidden; }
.repair-pair img { display: block; width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
.repair-pair figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 11px; }
.repair-pair figcaption strong { font-weight: 600; }
.repair-pair figcaption span { font-size: .92rem; color: #d3dfeb; }
.intake p { margin: 20px 0; color: #e2e8ee; max-width: 43ch; line-height: 1.62; }
.objects { background: #f1f3f4; }
.home-albums .album-image, .portfolio-albums .album-image { aspect-ratio: 1.4; }
.section-end { margin-top: 28px; }
.docs-grid .text-action { margin-top: 13px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 7px; color: #d7e1ea; font-size: .88rem; line-height: 1.5; }
.crumbs a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #8398aa; }
.crumbs a:hover { color: white; }
.page-head,.direction-hero { background: var(--night); color: white; }
.page-head { padding: 28px 0 clamp(40px,5vw,76px); }
.page-head h1,.direction-intro h1 { font-size: clamp(2.85rem,5.4vw,5.7rem); margin: clamp(26px,3vw,45px) 0 16px; }
.page-head p,.direction-intro p { font-size: clamp(1.05rem,1.4vw,1.35rem); line-height: 1.55; color: #e2e9f0; max-width: 66ch; }
.directory { padding-top: clamp(30px,4.1vw,65px); }
.direction-hero { padding-block: 22px clamp(28px,3.8vw,60px); }
.direction-intro { display: grid; align-items: center; grid-template-columns: minmax(0,.82fr) minmax(0,1.18fr); gap: clamp(25px,4vw,70px); margin-top: 28px; }
.direction-intro h1 { margin-top: 0; overflow-wrap: break-word; font-size: clamp(2.55rem,4.6vw,4.9rem); }
.direction-intro figure,.resource-photo,.photo-series figure { margin: 0; }
.direction-intro figure { position: relative; background: #40546b; }
.direction-intro figure img { width: 100%; height: clamp(290px,32vw,500px); display: block; object-fit: cover; }
.direction-intro figcaption { position: absolute; bottom: 12px; left: 12px; font-size: .84rem; color: #fff; background: #14283ee6; padding: 5px 9px; }
.direction-intro .button { margin-top: 23px; }
.band { background: var(--tint); }
.purpose-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(22px,3.5vw,62px); margin-top: 30px; }
.purpose-grid article { border-top: 2px solid #ef7c4c; padding-top: 18px; }
.purpose-grid h3 { font-size: clamp(1.48rem,2.1vw,2.15rem); }
.purpose-grid p { margin-top: 11px; }
.photo-series { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,1.6vw,26px); }
.photo-series.paired { grid-template-columns: repeat(2,minmax(0,1fr)); }
.photo-series button { width: 100%; display: block; aspect-ratio: 1.23; padding: 0; overflow: hidden; cursor: zoom-in; background: #d0d8df; border-radius: 3px; }
.photo-series.paired button { aspect-ratio: 1.4; }
.photo-series img,.resource-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-series figcaption { margin-top: 10px; font-size: .94rem; line-height: 1.45; max-width: 55ch; color: var(--muted); }
.intake { background: #233d5b; color: white; padding-block: clamp(42px,5.7vw,91px); }
.intake-grid { display: grid; grid-template-columns: minmax(0,.92fr) minmax(0,1fr); gap: 9%; align-items: start; }
.intake .button { margin-top: 22px; }
.intake p { margin: 0; max-width: 58ch; }
.ruled-list { list-style: none; margin: 0; padding: 0; }
.ruled-list li { padding: 14px 0; border-block-start: 1px solid #708399; line-height: 1.5; }
.questions details { border-top: 1px solid var(--line); }
.questions details:last-child { border-bottom: 1px solid var(--line); }
.questions summary { list-style: none; padding: 18px 39px 18px 0; position: relative; cursor: pointer; font-weight: 600; }
.questions summary::-webkit-details-marker { display:none; }
.questions summary .expand { top: 50%; transform: translateY(-50%); right: 0; }
.questions details[open] .expand::after { display: none; }
.questions details p { margin: 0; padding-bottom: 18px; line-height: 1.55; color: var(--muted); }
.related { padding: 25px 0; background: var(--tint); }
.related .wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 26px; }
.related h3 { font-size: 1.35rem; margin-right: auto; }
.related a { text-decoration: underline; text-underline-offset: 4px; font-size: .93rem; }
.project-story { padding-block: clamp(45px,5.5vw,88px); border-bottom: 1px solid var(--line); }
.project-story:last-child { border: 0; }
.story-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.project-story p { margin-top: 13px; max-width: 68ch; }
.project-story h2 { font-size: clamp(2.3rem,3.9vw,4.05rem); }
.portfolio-albums { gap: 38px 23px; }
.resource-layout,.channels-page { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; }
.resource-photo { height: clamp(280px,31vw,510px); }
.resource-layout p,.doc-library p { color: var(--muted); line-height: 1.54; margin: 15px 0; }
.doc-library article { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 25px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.doc-library article:last-child { border-bottom: 1px solid var(--line); }
.doc-library h2 { font-size: clamp(1.6rem,2.5vw,2.7rem); text-transform: none; }
.doc-library p { margin: 10px 0 0; max-width: 73ch; }
.doc-index { width: 41px; height: 49px; display: grid; place-items: center; background: #fce3d6; border-radius: 3px; color: #99431e; }
.doc-index .icon { width: 24px; height: 24px; }
.contact-number { display: block; font: 500 clamp(2rem,4.4vw,4.6rem)/1.1 var(--display); margin: 22px 0 12px; }
.contact-number:hover,.channels-page .email:hover { color: #a53d18; }
.channels-page .channel-links > * { min-height: 55px; border-bottom: 1px solid var(--line); background: transparent; padding-left: 0; }
.channels-page .channel-links > :hover { color: #a53d18; }
@media (max-width: 1050px) {
  .direction-copy { display: block; }
  .direction-copy p { margin: 8px 0 5px; }
  .direction-intro { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
}
@media (max-width: 790px) {
  .purpose-grid { gap: 16px; }
  .service-index { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-index a:nth-child(odd) { border-inline-start: 0; }
  .service-index a:nth-child(n+3) { border-top: 1px solid var(--line); }
  .portfolio-albums { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .direction-intro h1 { font-size: clamp(2.3rem,5.6vw,3rem); }
}
@media (max-width: 640px) {
  .service-index { grid-template-columns: minmax(0,1fr); margin-bottom: 28px; }
  .service-index a + a { border-inline-start: 0; border-top: 1px solid var(--line); }
  .service-index a { padding: 15px 8px; }
  .service-index span { max-width: 35ch; margin: 6px auto 0; }
  .direction-cards { grid-template-columns: 1fr; gap: 24px; }
  .card-photo { aspect-ratio: 1.59; }
  .direction-copy { padding-top: 11px; }
  .direction-copy h3 { font-size: 1.7rem; }
  .direction-copy p { font-size: .97rem; }
  .direction-copy .text-action { font-size: .87rem; }
  .section-head > .text-action, .section-head > div + .text-action { margin-top: 7px; }
  .direction-intro,.intake-grid,.resource-layout,.channels-page { grid-template-columns: 1fr; gap: 23px; }
  .section-head > div > p { margin-top: 9px; }
  .home-albums,.portfolio-albums { grid-template-columns: 1fr; gap: 24px; }
  .home-albums .album-image,.portfolio-albums .album-image,.album:first-child .album-image { aspect-ratio: 1.56; }
  .album { text-align: center; }
  .home-albums .album-label,.portfolio-albums .album-label { display: flex; flex-wrap: wrap; justify-content: center; }
  .home-albums .album-label strong,.portfolio-albums .album-label strong { font-size: 1.45rem; }
  .crumbs { justify-content: center; font-size: .82rem; gap: 5px; }
  .page-head { padding-block: 19px 31px; }
  .page-head h1,.direction-intro h1 { font-size: clamp(2.18rem,8.3vw,3.05rem); overflow-wrap: anywhere; }
  .page-head p,.direction-intro p { font-size: 1rem; }
  .direction-hero { padding-block: 16px 21px; }
  .direction-intro { margin-top: 17px; }
  .direction-intro figure img { height: clamp(210px,55vw,315px); }
  .direction-intro figcaption { inset-inline: 0; bottom: 0; }
  .purpose-grid { grid-template-columns: 1fr; gap: 19px; margin-top: 20px; }
  .purpose-grid article { padding-top: 12px; }
  .purpose-grid p { margin-top: 6px; }
  .photo-series,.photo-series.paired { grid-template-columns: 1fr; gap: 20px; }
  .photo-series button,.photo-series.paired button { aspect-ratio: 1.5; }
  .photo-series figcaption { margin-top: 5px; }
  .inside .terms-grid h2 br,.inside .docs-grid h2 br,.contacts-page h2 br { display: none; }
  .questions summary { padding-inline: 34px; }
  .related .wrap { align-items: center; flex-direction: column; gap: 11px; }
  .related h3 { margin-right: 0; }
  .story-heading { display: block; }
  .story-heading .text-action { margin-top: 9px; }
  .resource-photo { height: 240px; }
  .doc-library article { grid-template-columns: minmax(0,1fr); justify-items: center; gap: 10px; padding: 20px 0; }
  .doc-index { width: 30px; height: 38px; }
  .doc-index .icon { width: 20px; }
  .doc-library article .button { min-height: 44px; }
  .channels-page .channel-links > * { justify-content: center; padding-inline: 12px; text-align: center; }
  main :is(.section-head, .direction-copy, .page-head, .direction-intro, .intake, .purpose-grid, .questions, .story-heading, .resource-layout, .doc-library) p,
  .photo-series figcaption { margin-inline: auto; max-width: 48ch; }
  .feature-heading { display: block; margin-bottom: 16px; }
  .feature-heading .text-action { margin-top: 8px; }
  .repair-pair img { aspect-ratio: 1.08; }
  .repair-pair figcaption { display: grid; justify-items: center; gap: 3px; font-size: .95rem; }
  .repair-pair figcaption span { font-size: .85rem; line-height: 1.35; }
}
