/* About Matt. Supria Sans body, Utopia regular and italic. */
.about-page {
  --paper: #f5efe3;
  --ink: #362a24;
  --clay: #ad5c1e;
  --brick-orange: #cb7936;
  --display: "utopia-std-display", "Utopia Std", serif;
  --body: "supria-sans", "Supria Sans", sans-serif;
  --interface: "supria-sans", "Supria Sans", sans-serif;
  --page-pad: clamp(1.35rem, 6.25vw, 6.5rem);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.1rem;
  font-weight: 400;
  line-height: 1.65;
}
.about-page h1, .about-page h2, .about-page h3 {
  font-family: var(--display);
  font-weight: 400;
}
.about-page em { font-style: italic; font-weight: 400; }
.about-page .masthead {
  padding: .8rem var(--page-pad);
  border-bottom: 1px solid #6e524426;
  background: #f5efe3f5;
  backdrop-filter: blur(14px);
  min-height: 102px;
}
.about-page .brand { width: 6.6rem; min-height: 44px; display: flex; align-items: center; justify-content: center; }
.about-page .masthead nav { gap: clamp(.75rem, 2.4vw, 2.5rem); }
.about-page .masthead nav a {
  font-size: .84rem;
  letter-spacing: .015em;
  font-weight: 400;
  min-height: 44px;
}
.about-page .masthead nav a[aria-current="page"] {
  color: var(--clay);
  text-decoration-thickness: 1px;
}
.about-page .site-footer {
  background: #e8dcc7;
  padding: 1.6rem var(--page-pad);
  border-top: 0;
  gap: 1.5rem;
}
.about-page .site-footer img { width: 5rem; }
.about-page .site-footer p { font-family: var(--body); font-weight: 400; font-size: .8rem; }
.about-story { overflow: visible; }
.about-story p { margin-top: 0; }
.about-opening {
  position: relative;
  isolation: isolate;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  gap: clamp(1.5rem, 4.5vw, 5rem);
  align-items: center;
  padding: clamp(2.5rem, 5.5vw, 5.5rem) var(--page-pad) 4.5rem;
}
.about-opening::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 8rem;
  background: #e7d7bc;
  clip-path: polygon(0 70%, 100% 0, 100% 100%, 0 100%);
  z-index: -1;
}
.opening-copy { align-self: center; position: relative; z-index: 2; padding-bottom: 1rem; }
.page-marker {
  font-family: var(--body);
  color: #69564a;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .19em;
  margin-bottom: 1.25rem;
}
.about-page h1 {
  font-size: clamp(3.7rem, 7.8vw, 7.25rem);
  line-height: 1;
  letter-spacing: -.045em;
  margin-bottom: .38em;
}
.about-page h1 em { color: var(--clay); }
.opening-lead {
  font-family: var(--display);
  font-size: clamp(1.65rem, 2.9vw, 2.7rem);
  line-height: 1.23;
  letter-spacing: -.02em;
  max-width: 23ch;
  margin-bottom: 1.2rem;
}
.opening-lead em { color: var(--clay); }
.continue-story {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  justify-content: center;
  align-items: center;
  border: 1px solid #b49b83;
  border-radius: 50%;
  font-size: 1.5rem;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}
.continue-story:hover { background: #e7d7bc; transform: translateY(3px); }
.opening-art {
  position: relative;
  width: 100%;
  max-width: 35rem;
  justify-self: center;
  margin-bottom: -4.5rem;
}
.opening-art img { height: auto; width: 100%; }
.craft-section {
  display: grid;
  grid-template-columns: 1fr .93fr;
  align-items: center;
  gap: clamp(2rem, 6.5vw, 7rem);
  background: #e7d7bc;
  padding: clamp(4rem, 7vw, 7rem) var(--page-pad) clamp(4rem, 6vw, 6rem);
}
.matt-portrait { max-width: 36rem; transform: rotate(-1.5deg); }
.matt-portrait img {
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
  object-position: 48% 45%;
}
.body-copy { font-size: clamp(1.03rem, 1.35vw, 1.22rem); line-height: 1.68; max-width: 48ch; }
.craft-copy .body-copy { margin-bottom: 2rem; max-width: 45ch; text-wrap: pretty; }
.craft-reflection {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.25vw, 2.2rem);
  line-height: 1.26;
  letter-spacing: -.015em;
  color: #72432c;
  max-width: 32ch;
  text-wrap: pretty;
}
.craft-reflection em { color: var(--brick-orange); }
.london-section {
  display: grid;
  grid-template-columns: 1.22fr .85fr;
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 2.5rem;
  align-items: start;
  padding: clamp(3.5rem, 7vw, 7rem) var(--page-pad) 3rem;
}
.large-copy {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.3vw, 2.25rem);
  line-height: 1.3;
  letter-spacing: -.015em;
  max-width: 32ch;
  text-wrap: pretty;
}
.large-copy em { color: var(--clay); }
.fellowship-note { position: relative; padding-top: 1rem; }
.year-mark {
  display: block;
  font-family: var(--display);
  font-size: clamp(3.8rem, 7vw, 6rem);
  font-style: italic;
  line-height: .9;
  letter-spacing: -.04em;
  color: var(--clay);
  margin-bottom: 1.25rem;
}
.editorial-link {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  min-height: 44px;
  padding: .45rem 0;
  border-bottom: 1px solid currentColor;
  font-family: var(--body);
  font-size: .9rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--clay);
}
.editorial-link span { font-size: 1.25rem; transition: transform .2s ease; }
.editorial-link:hover span { transform: translate(3px, -3px); }
.tools-band { grid-column: 1 / -1; width: 78%; max-width: 62rem; justify-self: center; margin-top: 1rem; }
.tools-band img { height: auto; }
.today-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4rem, 7vw, 7rem) var(--page-pad);
  background: #453228;
  color: #f5e9d8;
}
.today-section::before {
  content: "";
  position: absolute;
  top: -1.8rem;
  left: 0;
  width: 100%;
  height: 1.85rem;
  background: #453228;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.today-intro {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.35vw, 2.3rem);
  line-height: 1.3;
  letter-spacing: -.015em;
  margin-bottom: 1.5rem;
}
.today-copy .body-copy { color: #e6d6bd; }
.today-art { max-width: 34rem; width: 100%; justify-self: center; }
.today-art img { width: 100%; height: auto; }
.principle-section { padding: clamp(3.5rem, 7vw, 7rem) var(--page-pad) clamp(3rem, 5vw, 5rem); }
.principle-copy {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.55vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: -.025em;
  max-width: 34ch;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.principle-copy em { color: var(--clay); }
.about-next { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem 3rem; }
.about-next .editorial-link { min-width: 10rem; }
.reveal.js-reveal { transition: opacity .65s ease, translate .65s ease; }
.reveal.js-reveal:not(.is-visible) { opacity: 0; translate: 0 24px; }
.about-page .reading-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: #c47737;
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}
@media (min-width: 1680px) {
  .about-story { max-width: 1680px; margin: auto; }
}
/* Keep the complete standing figure in short laptop viewports. The 102px
   masthead and a 20px foot clearance are reserved before applying the SVG ratio. */
@media (min-width: 901px) and (max-height: 820px) {
  .about-opening {
    --opening-top-gap: clamp(1.5rem, calc(100svh - 724px), clamp(2.5rem, 5.5vw, 5.5rem));
    padding-top: var(--opening-top-gap);
    padding-bottom: 3rem;
  }
  .about-opening .opening-art {
    max-width: min(35rem, calc((100svh - 102px - var(--opening-top-gap) - 1.25rem) * .91875));
    align-self: start;
    margin-bottom: -3rem;
  }
}
@media (max-width: 900px) {
  .about-page .masthead nav { gap: .25rem 1rem; }
  .about-page .masthead nav a { font-size: .78rem; }
  .about-opening { grid-template-columns: 1fr .9fr; }
  .opening-art { margin-bottom: -3rem; }
  .craft-section { gap: 2.5rem; }
}
@media (max-width: 690px) {
  .about-page { font-size: 1.05rem; }
  .about-page .masthead { min-height: 100px; padding: .35rem .8rem; gap: .5rem; }
  .about-page .brand { width: 4.5rem; }
  .about-page .masthead nav { gap: 0; }
  .about-page .masthead nav a { font-size: .78rem; line-height: 1.15; }
  .about-opening { grid-template-columns: 1fr; gap: 0; padding-top: 2.4rem; padding-bottom: 1rem; }
  .opening-copy { padding-bottom: .6rem; }
  .page-marker { margin-bottom: 1rem; }
  .about-page h1 { font-size: clamp(3.6rem, 14vw, 5.2rem); }
  .opening-lead { max-width: 25ch; font-size: clamp(1.65rem, 6.8vw, 2.2rem); }
  .continue-story { width: 2.75rem; height: 2.75rem; }
  .opening-art { width: 83%; max-width: 22rem; margin: .5rem auto -2rem; }
  .about-opening::after { height: 6rem; }
  .craft-section { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 4rem; padding-bottom: 3.2rem; }
  .craft-copy { order: 1; }
  .matt-portrait { order: 2; width: 92%; justify-self: center; }
  .craft-copy .body-copy { margin-bottom: 1.4rem; }
  .craft-reflection { font-size: 1.75rem; max-width: 100%; }
  .london-section { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 3rem; padding-bottom: 3rem; }
  .large-copy { font-size: 1.65rem; max-width: 100%; }
  .fellowship-note { padding-top: 0; }
  .year-mark { font-size: 4rem; }
  .tools-band { width: 100%; max-width: none; margin-top: 0; }
  .today-section { grid-template-columns: 1fr; gap: 1.3rem; padding-top: 3.2rem; padding-bottom: 3rem; }
  .today-intro { font-size: 1.75rem; }
  .today-art { width: 94%; max-width: 24rem; }
  .principle-copy { font-size: 1.9rem; }
  .about-next { gap: .6rem 1.5rem; }
  .about-next .editorial-link { min-width: 8rem; font-size: .85rem; }
  .about-page .site-footer { align-items: center; }
  .about-page .site-footer img { width: 4rem; flex: 0 0 4rem; }
  .about-page .site-footer p { font-size: .73rem; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.js-reveal { opacity: 1; translate: none; transition: none; }
  .continue-story, .editorial-link span { transition: none; }
}


/* Review refinements, 8 November 2026. */
.about-page .masthead nav { gap: .45rem clamp(.65rem, 1.4vw, 1.5rem); }
.about-page .footer-details { justify-content: flex-start; }
.about-page .design-credit { white-space: nowrap; }
.about-page .site-footer { padding-right: max(var(--page-pad), 5.5rem); }
.craft-section { position: relative; isolation: isolate; }
.craft-section::before {
  content: ""; position: absolute; z-index: -1;
  inset: 0 100% 0 auto;
  width: max(0px, calc((100vw - 1680px) / 2));
  background: #e7d7bc;
}
.about-opening::after { left: min(0px, calc((1680px - 100vw) / 2)); }
.fellowship-note .editorial-link { display: flex; width: 100%; max-width: 25rem; }
.company-promise {
  font-family: var(--body);
  font-size: clamp(1.3rem, 1.65vw, 1.65rem);
  line-height: 1.5; letter-spacing: 0;
  padding-top: .25rem; margin: 1.4rem 0 0;
  border-top: 0;
  text-wrap: pretty;
}
.today-intro em { color: inherit; }
.today-intro .brick-accent { color: var(--brick-orange); }
.today-intro .sans-connector { font-family: var(--body); font-size: .88em; font-weight: 400; font-style: normal; letter-spacing: 0; color: #f5e9d8; }
.back-to-top {
  position: fixed; right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom)); z-index: 60;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: #f5efe3; color: #86431f; border: 1px solid #a4512570;
  text-decoration: none; font-family: var(--body); font-size: 1.5rem;
  box-shadow: 0 2px 12px #362a2414;
  transition: opacity .2s, translate .2s, background .2s;
}
.back-to-top:hover { background: #e7d7bc; }
.back-to-top.is-hidden { opacity: 0; pointer-events: none; translate: 0 8px; visibility: hidden; }
@media (max-width: 900px) {
  .about-page .masthead nav { gap: .15rem .7rem; }
}
@media (max-width: 690px) {
  .about-page .masthead nav { gap: 0; }
  .craft-copy .body-copy, .craft-reflection { max-width: 100%; }
  .company-promise { font-size: 1.3rem; }
  .about-page .site-footer { padding-bottom: 4.8rem; padding-right: var(--page-pad); }
}
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: none; } }

/* The company section carries the opposite edge to the portrait section. */
.about-page { overflow-x: clip; }
.today-section::before { width: calc(100% + max(0px, calc((100vw - 1680px) / 2))); }
.today-section::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 100%;
  width: max(0px, calc((100vw - 1680px) / 2));
  background: #453228; pointer-events: none;
}

/* Gary's matched sans-serif sizes: Fellowship and company-capacity copy. */
.fellowship-note .body-copy, .company-promise { font-size: 20px; }

/* Accent colour taken directly from the original illustrated brickwork. */
.about-page h1 em,
.opening-lead em,
.large-copy em,
.year-mark,
.principle-copy em { color: var(--brick-orange); }
.about-page .reading-progress { background: var(--brick-orange); }

/* Linked project overview: a quieter three-column index. */
.project-overview { padding: clamp(3.5rem, 7vw, 7rem) var(--page-pad) 1rem; scroll-margin-top: 8rem; }
.overview-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.overview-heading h2 { font-size: clamp(2.6rem, 4.8vw, 4.5rem); line-height: 1.05; letter-spacing: -.035em; }
.overview-heading h2 em { color: var(--brick-orange); }
.overview-count { font-size: .72rem; letter-spacing: .13em; text-transform: uppercase; color: #69564a; }
.project-overview-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-family: var(--body); font-size: 1rem; line-height: 1.55; }
.overview-col-project { width: 34%; }
.overview-col-type { width: 25%; }
.overview-col-summary { width: 41%; }
.project-overview-table th, .project-overview-table td { text-align: left; vertical-align: top; padding: 1.75rem 2rem 1.75rem 0; border-bottom: 1px solid #6e524426; font-weight: 400; }
.project-overview-table th:last-child, .project-overview-table td:last-child { padding-right: 0; }
.project-overview-table thead th { padding-top: .8rem; padding-bottom: .8rem; border-top: 1px solid #6e524466; font-size: .72rem; line-height: 1.4; letter-spacing: .12em; text-transform: uppercase; color: #69564a; }
.overview-project-link { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; min-height: 44px; padding: 0 .4rem 0 0; font-family: var(--body); font-weight: 400; color: var(--ink); text-decoration: none; }
.overview-project-identity { min-width: 0; }
.overview-project-name { display: block; font-family: var(--display); font-size: clamp(1.55rem, 2.05vw, 1.9rem); line-height: 1.15; letter-spacing: -.015em; text-wrap: pretty; }
.overview-location { display: block; margin-top: .45rem; font-family: var(--body); font-size: 1rem; line-height: 1.4; color: #69564a; }
.overview-arrow { flex: 0 0 auto; color: var(--brick-orange); font-family: var(--body); font-size: 1.5rem; line-height: 1.25; }
.overview-project-link:is(:hover, :focus-visible) .overview-project-name { font-style: italic; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.project-overview-table td { text-wrap: pretty; }
.overview-type { color: var(--ink); }
@media (max-width: 900px) {
  .project-overview-table, .project-overview-table tbody { display: block; }
  .project-overview-table colgroup { display: none; }
  .project-overview-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  .project-overview-table tbody tr { display: grid; grid-template-columns: 1fr; gap: 1.2rem; padding: 1.7rem 0; border-top: 1px solid #6e524433; }
  .project-overview-table tbody tr:last-child { border-bottom: 1px solid #6e524433; }
  .project-overview-table th, .project-overview-table td { display: block; padding: 0; border: 0; }
  .overview-project-name { font-size: 1.8rem; }
  .overview-project-link { padding: .1rem .4rem .25rem 0; }
  .project-overview-table td::before { content: attr(data-label); display: block; margin-bottom: .35rem; font-size: .66rem; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; color: #69564a; }
  .overview-heading { margin-bottom: 1.5rem; }
}

/* More deliberate two-line work types in the project overview. */
@media(min-width:901px) { .overview-col-type { width:23%; } .overview-col-summary { width:43%; } .overview-type-line { display:block; } }

/* Alternate overview rows gently while keeping text contrast consistent. */
.project-overview-table tbody tr:nth-child(even) { background:color-mix(in srgb, #e7d7bc 45%, #f4eee2); }
.project-overview-table tbody th { padding-left:1rem; }
.project-overview-table thead th:first-child { padding-left:1rem; }
.project-overview-table tbody td:last-child { padding-right:1rem; }
@media(max-width:900px) { .project-overview-table tbody tr { padding-inline:1rem; } .project-overview-table tbody th, .project-overview-table tbody td:last-child { padding-inline:0; } }

@media (min-width: 901px) and (max-width: 1100px) {
  .overview-col-type { width: 26%; }
  .overview-col-summary { width: 40%; }
}

/* Each overview entry carries its own small, uncropped project photograph. */
.overview-project-link { display:grid; grid-template-columns:minmax(0,1fr) clamp(4.5rem,7vw,7rem) auto; gap:1rem; align-items:start; }
.overview-row-photo { display:block; }
.overview-row-photo img { display:block; width:100%; height:auto; aspect-ratio:auto; }
.overview-project-name { font-size:clamp(1.35rem,1.7vw,1.8rem); }
.overview-location { font-size:.95rem; letter-spacing:normal; }
@media (max-width:1100px) and (min-width:901px) { .overview-project-link { grid-template-columns:minmax(0,1fr) 4.5rem auto; gap:.65rem; } }
@media (max-width:900px) { .overview-project-link { grid-template-columns:minmax(0,1fr) 6rem auto; } .overview-project-name { font-size:1.65rem; } }
@media (max-width:420px) { .overview-project-link { grid-template-columns:minmax(0,1fr) 4.5rem auto; gap:.65rem; } .overview-project-name { font-size:1.4rem; } }

.overview-photo-strip { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.5rem; margin:0 0 2.5rem; }
.overview-photo-link { display:block; text-decoration:none; min-width:0; }
.overview-photo-link img { width:100%; height:auto; aspect-ratio:auto; }
.overview-photo-link > span { display:flex; justify-content:space-between; gap:.5rem; font:16px/1.5 var(--body); margin-top:.6rem; }
.overview-photo-link > span > span { color:#ad5c1e; }
.overview-photo-link:hover > span { font-style:italic; }
@media(max-width:600px) { .overview-photo-strip { grid-template-columns:1fr; gap:1.5rem; } }

/* Requested landscape framing of the Folgate portrait; retain its door number. */
.overview-row-photo-landscape img { aspect-ratio:4/3; object-fit:cover; object-position:center bottom; }

/* Match the Fellowship link lettering and arrow to the supplied SPAB logo. */
.fellowship-note .editorial-link { color:#db443c; border-bottom-color:var(--clay); }

/* Desktop editorial line break; mobile keeps natural text flow. */
@media(max-width:900px) { .desktop-copy-break { display:none; } }
