/*
 * IC Solutions: About page editorial composition (selected About study 03).
 * Loaded only by /about, after /styles/workshop.css, whose tokens, masthead,
 * footer and social styles it reuses. Every rule is scoped to .about-page so
 * nothing here can reach the homepage, article or 404 even if linked by mistake.
 *
 * Each chapter has its own composition: offset display type with code scraps
 * (01), a research spread (02), a full-lime hands-on chapter (03), a dark project
 * assembly (04) and an early-web origin object (05). Privacy has its own page.
 *
 * Responsive repairs relative to the study (page-scoped):
 * - Breakpoints are in em (study: 650/760/900px) so the browser's text-size
 *   setting moves the layout like workshop.css's rem breakpoints do.
 * - Display sizes that have a rem floor are also capped by viewport width
 *   (min(…, Nvw)), so 200% text cannot push a word past the column; the caps
 *   sit at or above the study's sizes at 100% text from 320px up.
 */

/* ───────── Opening ───────── */
.about-page .hero-study { padding: 3.7rem 0 4rem; position: relative; }
.about-page .hero-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.about-page .hero-study h1 {
  font: 700 min(clamp(3.5rem, 6.6vw, 6.4rem), 9vw)/.93 var(--display);
  text-transform: uppercase; letter-spacing: -.025em; max-width: 12ch;
}
.about-page .hero-study h1 em { font-style: normal; color: var(--lime); }
.about-page .hero-study .kicker { margin-bottom: 2rem; }
.about-page .art { margin: 0 -1rem 0 0; min-width: 0; }
.about-page .art svg { width: 100%; height: auto; }
.about-page .art figcaption { font: .65rem var(--mono); color: var(--on-ink-muted); padding: 0 2rem; line-height: 1.6; }
.about-page .hero-bottom {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem;
  margin-top: 2.5rem; padding-top: 1.6rem; border-top: 1px solid var(--rule-ink);
}
.about-page .intro-text { font: 1.15rem/1.65 var(--serif); max-width: 36rem; }
.about-page .intro-text p:last-child { color: var(--on-ink-muted); }
.about-page .chapter-nav { display: flex; gap: .4rem 1.3rem; align-content: start; flex-wrap: wrap; padding-top: .2rem; }
.about-page .chapter-nav a {
  font: .7rem var(--mono); text-transform: uppercase; text-decoration: none;
  padding: .7rem 0; min-height: 44px; display: inline-flex; align-items: center; color: var(--on-ink-muted);
}
.about-page .chapter-nav a:hover { color: var(--lime); }

/* ───────── Shared chapter vocabulary ───────── */
.about-page .folio {
  font: .7rem var(--mono); letter-spacing: .07em; text-transform: uppercase;
  display: flex; align-items: center; gap: 1rem; margin: 0 0 1.4rem;
}
.about-page .folio::before { content: ""; flex: none; height: 9px; width: 9px; background: var(--lime); outline: 1px solid var(--ink); }
.about-page .body-copy { font: 1.2rem/1.75 var(--serif); max-width: 38rem; }
.about-page .body-copy p:last-child { margin-bottom: 0; }
.about-page .margin-label {
  display: block; font: .65rem/1.6 var(--mono); letter-spacing: .04em;
  color: var(--on-paper-muted); margin-bottom: 1.4rem; text-transform: uppercase;
}
/* Visual heading punctuation: drawn from data-p, outside the heading's text and accessible name. */
.about-page .punct::after { content: attr(data-p); }
/* Fragment links land with the chapter's folio in view. */
.about-page h2[id] { scroll-margin-top: 4.5rem; }
.about-page .support-art { display: block; width: 100%; height: auto; }
.about-page .support-art * { vector-effect: non-scaling-stroke; }

.about-page .chapter { padding-block: 6rem; }
.about-page .editorial-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.about-page .editorial-grid > * { min-width: 0; }
.about-page .display-chapter {
  font: 700 clamp(4rem, 8.5vw, 8rem)/.87 var(--display);
  text-transform: uppercase; letter-spacing: -.035em;
}
.about-page .display-chapter i {
  font-family: var(--serif); font-weight: 400; text-transform: none; letter-spacing: -.055em; line-height: 1.08;
}

/* ───────── 01 Before the agents: oversize offset type, code scraps, lime card ───────── */
.about-page .before-title { grid-column: 1 / 9; grid-row: 1; }
.about-page .before-title .display-chapter > span { padding-left: .55em; }
.about-page .code-object { grid-column: 9 / 13; grid-row: 1 / 3; align-self: center; position: relative; container-type: inline-size; }
.about-page .code-object::before {
  content: "</>"; content: "</>" / "";
  /* Repair (study overflows by 80px at 768px with 200% text): also capped by the code column's width. */
  font: 700 min(6rem, 35cqi)/1 var(--mono); color: var(--rule-paper); display: block; margin-left: 1rem;
}
.about-page .fragments { margin: 0; position: relative; padding: 1rem .7rem .6rem .3rem; }
.about-page .fragment { border: 1px solid var(--ink); background: var(--paper); padding: 1rem; box-shadow: 5px 6px 0 #15160f16; }
.about-page .fragment small {
  font: .6rem var(--mono); letter-spacing: .08em; display: block; text-transform: uppercase; color: var(--on-paper-muted);
  border-bottom: 1px solid var(--rule-paper); padding-bottom: .6rem; margin-bottom: .8rem;
}
.about-page .fragment pre { font: .78rem/1.65 var(--mono); margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.about-page .fragment em { font-style: normal; background: var(--lime); padding: 0 .12rem; }
.about-page .fragment-source { transform: rotate(-3deg); width: 95%; position: relative; z-index: 1; }
.about-page .fragment-db { transform: rotate(3deg); width: 100%; margin-top: 1rem; position: relative; z-index: 2; background: var(--paper-2); }
.about-page .fragment-label {
  font: .63rem/1.6 var(--mono); letter-spacing: .03em; color: var(--on-paper-muted); margin: .9rem 0 0; text-transform: uppercase;
}
.about-page .before-copy { grid-column: 2 / 8; grid-row: 2; padding: 1rem 0 2rem; }
.about-page .recipe-copy { grid-column: 6 / 13; grid-row: 3; border-top: 1px solid var(--ink); padding-top: 1.5rem; align-self: center; }
.about-page .quote-object {
  grid-column: 1 / 5; grid-row: 3; align-self: center; position: relative;
  transform: rotate(-3deg); padding: 2rem 1.6rem; background: var(--lime); color: var(--ink);
  container-type: inline-size;
}
.about-page .quote-label { font: .65rem var(--mono); display: block; margin-bottom: 1rem; }
/* Repair (enlarged text): the card's type is also capped by the card's own width, so its longest word stays inside it. */
.about-page .quote-object p { font: 600 min(2rem, 15cqi)/1.16 var(--display); margin: 0; }

/* ───────── 02 By hand: research spread on paper-2 ───────── */
.about-page .research-chapter { background: var(--paper-2); border-top: 1px solid var(--rule-paper); padding-bottom: 7rem; }
.about-page .research-chapter .editorial-grid { container-type: inline-size; }
.about-page .research-folio { grid-column: 1 / 13; grid-row: 1; margin-bottom: 0; }
.about-page .research-title { grid-column: 1 / 8; grid-row: 2; font-size: clamp(3.7rem, 6.7vw, 6.5rem); position: relative; z-index: 1; }
.about-page .research-title i { display: inline-block; padding-left: 1em; }
.about-page .research-copy { grid-column: 2 / 6; grid-row: 3; font-size: 1.15rem; padding-top: 2rem; }
.about-page .research-object { grid-column: 6 / 13; grid-row: 2 / 4; align-self: center; transform: rotate(2deg); padding-top: 7rem; }
.about-page .research-art { margin: 0; }
.about-page .research-object svg { filter: drop-shadow(9px 10px 0 #15160f08); }

/* ───────── 03 Outside IT: full-lime chapter ───────── */
.about-page .outside-chapter { padding-block: 3.5rem 5rem; background: var(--lime); color: var(--ink); border-top: 2px solid var(--ink); }
.about-page .outside-chapter .folio::before { background: var(--ink); }
.about-page .outside-chapter :focus-visible { outline-color: var(--ink); }
.about-page .outside-title {
  font: 700 clamp(3rem, 8.5vw, 8.5rem)/.92 var(--display); text-transform: uppercase; letter-spacing: -.035em;
}
.about-page .outside-word { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.06em; }
.about-page .outside-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 5rem; align-items: center; margin-top: 2rem; }
.about-page .hands-object { grid-column: 1; grid-row: 1; align-self: end; min-width: 0; }
.about-page .hands-illustration { margin: 0; }
.about-page .outside-copy { grid-column: 2; grid-row: 1; padding: 1rem 0; min-width: 0; }
.about-page .outside-copy p:first-child { font: 500 1.7rem/1.35 var(--display); }

/* ───────── 04 Building now: workbench spread ─────────
   One shared asymmetric spread (selected workbench study v1): TGCS text left, the actual
   identity near centre, the Church sketch and text to the right, the tax text and layers below.
   Each project wrapper is a plain div with display: contents on wide screens, so its heading,
   paragraph and object stay together in source order without a landmark to lose. */
.about-page .current-chapter { padding-block: 5rem 6rem; }
.about-page .current-heading { padding-bottom: 1rem; }
.about-page .current-heading .display-chapter { font-size: clamp(4rem, 7vw, 7rem); max-width: 15ch; }
.about-page .current-chapter .folio { color: var(--on-ink-muted); }
.about-page .current-chapter .folio::before { outline: 0; }
.about-page .current-chapter .body-copy { font-size: 1.15rem; }
.about-page .workbench-spread {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.2rem 2rem; margin-top: 2.5rem; padding: 2rem 0 1rem;
}
.about-page .bench-project { display: contents; }
.about-page .bench-copy, .about-page .bench-object { min-width: 0; position: relative; }
.about-page .bench-copy h3 { font: 700 2.5rem/.98 var(--display); text-transform: uppercase; letter-spacing: -.015em; margin: 0 0 1.2rem; }
.about-page .bench-copy .body-copy { font-size: 1.1rem; line-height: 1.7; color: #dcd8cd; }
.about-page .bench-label {
  display: block; font: .62rem/1.7 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--on-ink-muted); margin-bottom: 1.3rem;
}
.about-page .bench-shop .bench-copy { grid-column: 1 / 5; grid-row: 1 / 3; padding-top: 2rem; }
/* The Golf Cart Shop's actual selected mark (exact source bytes, same-origin <img>) in a fine-rule frame with lime registration corners. */
.about-page .bench-logo { grid-column: 5 / 9; grid-row: 1 / 3; align-self: center; padding: 1.1rem; transform: rotate(-7deg); }
.about-page .bench-logo::before { content: ""; position: absolute; width: 3rem; left: -2.5rem; top: 35%; border-top: 1px dashed var(--on-ink-muted); }
.about-page .shop-identity { margin: 0; position: relative; padding: .65rem .65rem 1.1rem; border: 1px solid var(--rule-ink); }
.about-page .shop-identity img { display: block; width: 100%; height: auto; }
.about-page .shop-identity figcaption {
  color: var(--on-ink-muted); font: .58rem/1.6 var(--mono); letter-spacing: .04em; text-transform: uppercase;
  text-align: center; margin-top: .3rem;
}
.about-page .identity-registration {
  position: absolute; inset: -6px; pointer-events: none;
  background:
    linear-gradient(var(--lime), var(--lime)) left top / 20px 1px no-repeat,
    linear-gradient(var(--lime), var(--lime)) left top / 1px 20px no-repeat,
    linear-gradient(var(--lime), var(--lime)) right bottom / 20px 1px no-repeat,
    linear-gradient(var(--lime), var(--lime)) right bottom / 1px 20px no-repeat;
}
.about-page .bench-logo .shop-identity { background: var(--ink); padding: .8rem .8rem 1rem; }
.about-page .bench-calendar { grid-column: 10 / 13; grid-row: 1; align-self: end; padding: 1rem 0; transform: rotate(8deg); }
.about-page .bench-church .bench-copy { grid-column: 9 / 13; grid-row: 2; padding-top: .7rem; }
.about-page .bench-tax .bench-copy { grid-column: 3 / 8; grid-row: 3; padding-top: 2rem; max-width: 34rem; }
.about-page .bench-tax .bench-copy::before { content: ""; display: block; width: 3rem; border-top: 2px solid var(--lime); margin-bottom: 1.5rem; }
.about-page .bench-layers { grid-column: 8 / 12; grid-row: 3; align-self: center; max-width: 19rem; padding: 2rem; transform: rotate(-8deg); }
.about-page .bench-layers::after { content: ""; display: block; width: 4rem; border-bottom: 1px dashed var(--on-ink-muted); margin: 1rem auto 0; }
.about-page .bench-object svg { display: block; width: 100%; height: auto; color: var(--on-ink); }
/* Tablet: the logo moves right of the shop text; Church and tax each pair object and text on their own rows. */
@media (max-width: 65em) {
  .about-page .workbench-spread { gap: 1.5rem; }
  .about-page .bench-shop .bench-copy { grid-column: 1 / 6; }
  .about-page .bench-logo { grid-column: 7 / 12; grid-row: 1 / 3; }
  .about-page .bench-calendar { grid-column: 1 / 5; grid-row: 3; align-self: center; padding: 1rem; }
  .about-page .bench-church .bench-copy { grid-column: 6 / 13; grid-row: 3; }
  .about-page .bench-tax .bench-copy { grid-column: 2 / 9; grid-row: 4; }
  .about-page .bench-layers { grid-column: 9 / 13; grid-row: 4; padding: 0; }
}
/* Phone: each project becomes its own small grid, object above its text, placed left, centre or right. */
@media (max-width: 42em) {
  .about-page .workbench-spread { display: block; margin-top: 1rem; padding-top: 0; }
  .about-page .bench-project { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
  .about-page .bench-church { margin-top: 2.5rem; }
  .about-page .bench-copy h3 { font-size: 2rem; line-height: 1.04; }
  .about-page .bench-copy .body-copy { font-size: 1.125rem; }
  .about-page .bench-label { margin-bottom: .8rem; }
  .about-page .bench-shop .bench-copy, .about-page .bench-church .bench-copy, .about-page .bench-tax .bench-copy { grid-column: 1 / 7; grid-row: 2; padding-top: 0; }
  .about-page .bench-logo { grid-column: 2 / 6; grid-row: 1; justify-self: center; width: 100%; max-width: 16rem; padding: .7rem; margin-bottom: .7rem; }
  .about-page .bench-logo::before, .about-page .bench-tax .bench-copy::before { display: none; }
  .about-page .bench-calendar { grid-column: 4 / 7; grid-row: 1; justify-self: end; align-self: center; max-width: 12rem; padding: 0 .3rem; }
  .about-page .bench-layers { grid-column: 1 / 5; grid-row: 1; max-width: 12rem; padding: 0; margin: .5rem 0 0; }
}
/* Closing reflection: one continuous reading block (both paragraphs share one treatment) beside a small label. */
.about-page .closing-reflection {
  border-top: 1px solid var(--rule-ink); margin-top: 3rem; padding-top: 2rem;
  display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 3rem; align-items: start;
}
.about-page .reflection-label { color: var(--on-ink-muted); padding-top: .4rem; }
.about-page .reflection-copy { max-width: 44rem; color: var(--on-ink); font: 1.15rem/1.75 var(--serif); }
.about-page .reflection-copy p { margin-bottom: 1.3em; }
.about-page .reflection-copy p:last-child { margin-bottom: 0; }

/* ───────── 05 Why IC Solutions: early-web origin object ───────── */
.about-page .origin-title { font: 700 clamp(3rem, 7.5vw, 7rem)/.95 var(--display); letter-spacing: -.03em; text-transform: uppercase; }
.about-page .origin-name { display: inline-block; border-bottom: .12em solid var(--lime); }
.about-page .origin-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 8rem); margin-top: 3rem; align-items: center; }
.about-page .browser-object { padding: 1rem .6rem; min-width: 0; container-type: inline-size; }
.about-page .origin-browser {
  margin: 0; transform: rotate(-5deg); border: 1.5px solid var(--ink);
  background: var(--paper-2); box-shadow: 6px 7px 0 #15160f12;
}
.about-page .browser-bar { border-bottom: 1px solid var(--ink); padding: .6rem .8rem; font: .7rem var(--mono); display: flex; gap: .8rem; align-items: center; }
.about-page .browser-dots { letter-spacing: .15em; color: var(--on-paper-muted); }
.about-page .browser-canvas { padding: 2.3rem; }
/* Repair (study overflows by 55px at 390px with doubled text): the wordmark is also capped by the illustration's own width. */
.about-page .browser-canvas strong { font: 700 min(clamp(2rem, 4vw, 4rem), 13cqi)/.95 var(--display); display: block; text-transform: uppercase; }
.about-page .construction { display: inline-block; font: .63rem var(--mono); background: var(--lime); padding: .35rem .5rem; margin-top: 1.2rem; }
.about-page .under-rule { border-bottom: 1px dashed var(--on-paper-muted); margin-top: 1.5rem; width: 70%; }
.about-page .origin-browser figcaption {
  padding: .6rem .8rem; border-top: 1px solid var(--ink);
  font: .58rem/1.6 var(--mono); text-transform: uppercase; color: var(--on-paper-muted);
}
.about-page .origin-copy { max-width: 31rem; min-width: 0; }

/* ───────── Closing return link ───────── */
.about-page .about-return { border-top: 1px solid var(--rule-paper); padding-block: 1rem 2.5rem; }

/* ───────── Tablet (study: ≤900px) ───────── */
@media (max-width: 56.25em) {
  .about-page .editorial-grid { gap: 1.4rem; }
  .about-page .code-object { grid-column: 8 / 13; }
  .about-page .before-copy, .about-page .before-title { grid-column: 1 / 8; }
  .about-page .before-title .display-chapter { font-size: min(4.7rem, 11.6vw); }
  .about-page .before-title .display-chapter > span { padding-left: 0; }
  .about-page .quote-object p { font-size: min(1.7rem, 15cqi); }
  .about-page .research-copy { grid-column: 1 / 6; }
  /* Also capped by the grid's own width: root-only enlargement keeps this column span while rem gaps grow. */
  .about-page .research-title { font-size: min(4.4rem, 10.9vw, 10cqi); }
  .about-page .outside-layout { gap: 2rem; }
  .about-page .origin-layout { gap: 2.5rem; }
}

/* ───────── Opening stack (study: ≤760px) ───────── */
@media (max-width: 47.5em) {
  .about-page .hero-study { padding: 2rem 0 2.5rem; }
  .about-page .hero-top, .about-page .hero-bottom { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .about-page .hero-study h1 { font-size: min(clamp(3.3rem, 12vw, 5.5rem), 16.5vw); max-width: 13ch; }
  .about-page .hero-study .kicker { margin-bottom: 1.3rem; }
  .about-page .art { margin: 0; max-width: 32rem; }
  .about-page .art figcaption { padding: 0; }
  .about-page .hero-bottom { margin-top: 1.5rem; }
  .about-page .intro-text { font-size: 1.1rem; }
  .about-page .intro-text p:last-child { margin-bottom: 0; }
  .about-page .chapter-nav { border-top: 1px solid var(--rule-ink); padding-top: .7rem; }
  .about-page .body-copy { font-size: 1.125rem; }
  .about-page .fragment { padding: .8rem; }
  .about-page .fragment pre { font-size: .72rem; }
}

/* ───────── Phone (study: ≤650px): single column, objects offset against the text ───────── */
@media (max-width: 40.625em) {
  .about-page .chapter { padding-block: 3rem; }
  .about-page .editorial-grid { display: flex; flex-direction: column; gap: 1.5rem; }
  .about-page .display-chapter, .about-page .before-title .display-chapter { font-size: min(clamp(3.7rem, 15vw, 5.6rem), 18.5vw); }
  .about-page .before-title .display-chapter > span { padding-left: .22em; }
  .about-page .code-object { width: 90%; align-self: end; margin-block: .3rem; }
  .about-page .code-object::before { font-size: min(3rem, 35cqi); position: absolute; right: .2rem; top: -2.4rem; }
  .about-page .before-copy { padding: 0; }
  .about-page .recipe-copy { padding-top: 1.2rem; }
  .about-page .quote-object { align-self: start; margin: 1rem .3rem; width: 88%; padding: 1.5rem; }
  .about-page .quote-object p { font-size: min(1.8rem, 15cqi); }

  .about-page .research-chapter { padding-bottom: 3rem; }
  .about-page .research-title { font-size: min(clamp(3.2rem, 13vw, 5rem), 16vw); }
  .about-page .research-copy { padding-top: 0; font-size: 1.125rem; }
  .about-page .research-object { padding: 0; align-self: end; width: 100%; transform: none; }

  .about-page .outside-chapter { padding-block: 2.5rem 3rem; }
  .about-page .outside-title { font-size: min(clamp(3.1rem, 14vw, 5.5rem), 15.5vw); }
  .about-page .outside-word { display: block; padding-left: .4em; }
  .about-page .outside-layout { display: flex; flex-direction: column; gap: .7rem; margin-top: 1rem; }
  .about-page .outside-copy { padding: 0; }
  .about-page .hands-object { width: 90%; align-self: center; }
  .about-page .outside-copy p:first-child { font-size: 1.5rem; }

  .about-page .current-chapter { padding-block: 3rem; }
  .about-page .current-heading .display-chapter { font-size: min(clamp(3.2rem, 13vw, 5rem), 16vw); }
  .about-page .current-chapter .body-copy { font-size: 1.125rem; }
  .about-page .closing-reflection { display: block; padding-top: 1.5rem; }
  .about-page .reflection-label { margin-bottom: 1.5rem; }
  .about-page .reflection-copy { font-size: 1.125rem; }

  .about-page .origin-title { font-size: min(clamp(2.5rem, 11vw, 4rem), 12.5vw); }
  .about-page .origin-layout { display: flex; flex-direction: column; gap: 2rem; margin-top: 1.5rem; }
  .about-page .browser-object { width: 93%; align-self: start; padding: .8rem; }
  /* Phone at doubled text: the unbroken "icsolutions.net" label and the lettering keep to the illustration's width. */
  .about-page .browser-bar { font-size: min(.7rem, 4.7cqi); }
  .about-page .browser-canvas { padding: min(1.4rem, 9.5cqi); }
  .about-page .origin-copy { width: 100%; }
}
