/* Revision 23: styles are restricted to the dedicated About page. */
.about-page { color: var(--ink); background: var(--paper); overflow-wrap: break-word; }
.about-page-inner { width: 100%; max-width: 1440px; margin-inline: auto; }
.about-page h1, .about-page h2, .about-page h3 { font-family: var(--serif); font-weight: 400; text-transform: none; }
.about-page h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.14; letter-spacing: -.035em; }
.about-page p { font-size: 18px; line-height: 1.75; }
.about-page-hero { padding: 58px var(--gutter) 62px; color: var(--off-white); background: var(--ink); }
.about-page-hero h1 { color: var(--lime); font-size: clamp(52px, 5.5vw, 80px); line-height: 1.08; letter-spacing: -.045em; margin: 0 0 24px; }
.about-page .about-hero-rule { display: block; width: 88px; height: 4px; background: var(--red); margin-bottom: 26px; }
.about-page-hero p { max-width: 840px; font-size: clamp(18px, 1.6vw, 22px); }
.about-page-section { padding: clamp(60px, 7vw, 104px) var(--gutter); }
.about-experience-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.about-experience-copy h2 { max-width: 480px; margin-bottom: 28px; }
.about-experience-copy p + p, .about-story-copy p + p { margin-top: 20px; }
.about-page .about-demonstration { margin: 0; min-width: 0; }
.about-page .about-photo-frame { --frame: 18px; --inset: 10px; position: relative; isolation: isolate; padding: var(--inset) var(--inset) var(--frame) var(--frame); }
/* Reserved padding keeps the colored details outside every original photograph. */
.about-page .about-photo-frame::before { content: ''; position: absolute; z-index: -1; inset: calc(var(--frame) + var(--inset)) calc(var(--frame) + var(--inset)) 0 0; background: var(--lime); pointer-events: none; }
.about-page .about-photo-frame::after { content: ''; position: absolute; top: 0; right: 0; width: 48px; height: 48px; border-top: 4px solid var(--red); border-right: 4px solid var(--red); pointer-events: none; }
.about-page .about-photo-frame img { display: block; width: 100%; height: auto; }
.about-page figcaption { margin: 18px 0 0 18px; max-width: 60ch; font-size: 14px; line-height: 1.6; }
.about-working { background: var(--off-white); }
.about-story { display: block; max-width: 780px; }
.about-story h2 { margin-bottom: 28px; }
.about-story-copy { max-width: 780px; min-width: 0; }
.about-photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: 48px; align-items: start; }
.about-story-section { background: var(--off-white); padding-block: clamp(40px, 5vw, 72px); }
.about-story-section .about-page-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); align-items: start; }
.about-story-section .about-story { min-width: 0; max-width: none; background: var(--paper); box-shadow: 0 8px 24px #24282b10; }
.about-story-section .about-story h2 { position: relative; margin: 0; padding: 26px 28px; background: var(--lime); font-size: clamp(30px, 2.7vw, 40px); }
.about-story-section .about-story h2::after { content: ''; position: absolute; top: 0; right: 0; width: 30px; height: 30px; border-top: 4px solid var(--red); border-right: 4px solid var(--red); }
.about-story-section .about-story-copy { padding: 28px; }
.about-story-section .about-demonstration { margin-top: 28px; }
.about-story-section .about-photo-frame img { background: var(--paper); }
.about-service-links { list-style: none; padding: 0; margin-top: 24px; border-top: 1px solid var(--light-grey); }
.about-service-links li { border-bottom: 1px solid var(--light-grey); }
.about-service-links a { display: flex; justify-content: space-between; gap: 16px; padding: 15px 0; text-decoration: underline; text-underline-offset: 4px; font-size: 16px; line-height: 1.5; }
.about-service-links a span { color: var(--red); }
.about-service-links a:hover { color: var(--red); }
.about-page .text-link { margin-top: 22px; }
/* Environmental introduction and historical awards, scoped to About. */
.about-recognition-section { background: var(--off-white); border-top: 1px solid var(--light-grey); padding-block: clamp(48px, 5vw, 76px); scroll-margin-top: 28px; }
.about-environmental-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.about-environmental-copy { min-width: 0; max-width: 70ch; }
.about-environmental-copy h2 { margin-bottom: 24px; }
.about-environmental-visual { min-width: 0; width: 100%; max-width: 520px; justify-self: end; }
/* Revision 28: permanent architectural award panels, no overlapping or pinning. */
.about-awards-panel { margin-top: 48px; }
.about-page .about-recognition-intro { color: var(--ink); margin: 0 0 30px; max-width: 70ch; font-size: 18px; }
.about-awards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; list-style: none; padding: 0 0 14px 14px; margin: 0; }
.about-awards .about-award-card { position: relative; min-width: 0; padding: 38px 24px 36px; background: var(--off-white); color: var(--ink); border: 1px solid var(--light-grey); box-shadow: -14px 14px 0 var(--lime), 0 14px 24px #24282b18; }
.about-awards .about-award-card::before { content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 14px; background: var(--red); clip-path: polygon(0 0,calc(100% - 24px) 0,100% 100%,0 100%); pointer-events: none; }
.about-page .about-awards h3 { font-size: clamp(26px,2.25vw,34px); font-weight: 400; line-height: 1.18; letter-spacing: -.025em; min-height: 3.54em; text-wrap: balance; margin: 0; }
.about-page .about-awards p { font-size: 18px; line-height: 1.55; margin: 26px 0 0; }
.about-award-organization::before { content: ''; display: block; width: 58px; height: 4px; background: var(--lime); margin-bottom: 22px; }
/* Subgrid aligns the organisations to the tallest heading, even with text zoom. */
@supports (grid-template-rows: subgrid) {
  .about-awards { row-gap: 26px; }
  .about-award-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; }
  .about-page .about-awards p { margin-top: 0; }
}
@media (max-width: 1199px) {
  .about-awards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 32px; }
  .about-page .about-awards h3 { font-size: 32px; min-height: 2.36em; }
}
@media (max-width: 760px) {
  .about-awards-panel { margin-top: 36px; }
  .about-awards { grid-template-columns: minmax(0,1fr); gap: 36px; padding: 0 0 12px 12px; }
  .about-awards .about-award-card { display: block; grid-row: auto; padding: 32px 24px; box-shadow: -12px 12px 0 var(--lime),0 10px 20px #24282b14; }
  .about-page .about-awards h3 { font-size: 30px; min-height: 0; }
  .about-page .about-awards p { margin-top: 24px; }
}
.about-page-contact { background: var(--off-white); padding: clamp(64px, 7vw, 104px) var(--gutter); text-align: center; }
.about-contact-accent { display: block; width: 96px; height: 4px; margin: 0 auto 26px; background: var(--lime); }
.about-contact-accent::after { content: ''; display: block; width: 24px; height: 4px; margin-left: auto; background: var(--red); }
.about-page-contact > p { max-width: 720px; margin: 26px auto 0; font-size: 17px; }
.about-contact-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 28px; margin-top: 34px; }
.about-page .about-contact-actions .button { min-width: 152px; margin: 0 0 7px 7px; box-shadow: -7px 7px 0 var(--lime); }
.about-page .about-contact-actions .button:focus-visible { outline: 3px solid var(--ink); outline-offset: 11px; }
@media (max-width: 900px) {
  .about-story-section .about-page-inner { grid-template-columns: minmax(0, 1fr); }
  .about-environmental-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .about-environmental-visual { justify-self: start; }
  .about-experience-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .about-experience-copy { max-width: 800px; }
  .about-experience-copy h2 { max-width: none; }
  .about-experience .about-demonstration { width: 100%; max-width: 760px; }
}
/* Static content is always visible. Only finite JS animations add movement. */
@media (prefers-reduced-motion: reduce) {
  .about-page [data-about-reveal] { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 760px) {
  .about-page-hero { padding-block: 38px 42px; }
  .about-page-hero h1 { font-size: 48px; }
  .about-page h2 { font-size: 32px; }
  .about-page p { font-size: 17px; }
  .about-page-section { padding-block: 48px; }
  .about-photo-pair { grid-template-columns: minmax(0, 1fr); gap: 34px; margin-top: 32px; }
  .about-page .about-photo-frame { --frame: 12px; --inset: 8px; }
  .about-page .about-photo-frame::after { width: 36px; height: 36px; border-width: 3px; }
  .about-page figcaption { margin-left: 12px; }
  .about-story-section .about-story h2 { padding: 22px; }
  .about-story-section .about-story-copy { padding: 22px; }
  .about-page-contact { padding-block: 56px 64px; }
  .about-contact-actions { flex-direction: column; gap: 14px; }
}
