/* About (home page): the statement and the badge drop, the signature, the gallery fan, the drive through Austin, the
   office, the contact sentence. Designed in site/lab/about; the html element carries the chosen proposals as data-*. */
.abx h2 { font-family: var(--font-head); font-weight: 800; color: var(--ink); margin: 0; letter-spacing: -0.035em; line-height: 1.02; }
.abx p { margin: 0; }
.abx { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
/* on the home page the site header stays on top: the pinned statement sits just under it */
.abx .ab-rev .ab-in { top: var(--header-h); height: calc(100svh - var(--header-h)); padding-top: 5svh; box-sizing: border-box; }   /* a little air under the header */
.abx .ct2 > .ct-wrap { top: var(--header-h); padding-top: 7svh; }   /* the pinned contact too */
/* the menu's Contact lands a little inside the sheet, where it already covers the screen, not on its rounded top edge */
.abx .ct2 { position: relative; }
.abx .ct-anchor { position: absolute; left: 0; top: 34svh; width: 1px; height: 1px; pointer-events: none; }
  /* D. Reveal: one statement pinned on screen, its words turning from grey to ink as the page scrolls; then the facts
     set as large figures, then the path */
  .ab-rev { position: relative; height: 320svh; }
  .ab-rev .ab-in { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; padding: 0 var(--gutter); }
  .ab-rev p { font-family: var(--font-head); font-weight: 800; font-size: clamp(30px, 4.2vw, 68px); letter-spacing: -0.035em; line-height: 1.1; max-width: 22ch; margin: 0; }
  .ab-rev span { color: #C9CBD1; transition: color 250ms ease; }
  .ab-rev span.is-on { color: var(--ink); }
  /* the logo's A stands in for the first letter of Algorimate, greyed with its word, inked as the word lights.
     The mark's box is square and its A fills it: sized to the cap height, sitting on the baseline */
  .ab-rev .al-mark { display: inline-block; width: 0.8em; height: 0.8em; margin-right: -0.01em; vertical-align: -0.05em; opacity: 0.22; transition: opacity 250ms ease; }
  .ab-rev .al-w.is-on .al-mark { opacity: 1; }
  .ab-rev .al-w { white-space: nowrap; }
  /* when the word lights, a pen line is drawn under it, left to right, a little uneven like a hand stroke */
  .ab-rev .al-w { position: relative; }
  .ab-rev .al-line { position: absolute; left: -0.02em; bottom: -0.06em; width: calc(100% + 0.04em); height: 0.26em; overflow: visible; pointer-events: none; }
  .ab-rev .al-line path { fill: none; stroke: var(--ink); stroke-width: 0.075em; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 260ms ease; }
  .ab-rev .al-w.is-on .al-line path { stroke-dashoffset: 0; transition: stroke-dashoffset 900ms cubic-bezier(.5,0,.2,1) 200ms; }
  /* Texas, the one colour on the page: when its turn comes the word fills with the flag (blue hoist, white over red)
     swept in from the left, with a thin blue outline so the white reads on the paper, and the Lone Star turns in */
  .ab-rev .tx { font-weight: inherit; position: relative; display: inline-block; }
  .ab-rev .tx-w.is-on { color: var(--ink); }
  .ab-rev .tx-w.is-on .tx {
    color: transparent; -webkit-text-stroke: 0.025em #002868;
    background-image: linear-gradient(90deg, #002868 0 34%, transparent 34%), linear-gradient(180deg, #FFFFFF 0 50%, #BF0A30 50%);
    -webkit-background-clip: text; background-clip: text; background-repeat: no-repeat;
    animation: tx-sweep 1100ms cubic-bezier(.16,1,.3,1) both;
  }
  .ab-rev .tx::after { content: "\2605"; position: absolute; left: 100%; top: -0.12em; margin-left: 0.18em; font-size: 0.5em; color: #002868; -webkit-text-stroke: 0; opacity: 0; transform: scale(0) rotate(-120deg); }
  .ab-rev .tx-w.is-on .tx::after { animation: tx-star 900ms cubic-bezier(.16,1,.3,1) 600ms both; }
  @keyframes tx-sweep { from { background-size: 0% 100%, 0% 100%; } to { background-size: 100% 100%, 100% 100%; } }
  @keyframes tx-star { from { opacity: 0; transform: scale(0) rotate(-120deg); } to { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) { .ab-rev .tx-w.is-on .tx, .ab-rev .tx-w.is-on .tx::after { animation-duration: 1ms; animation-delay: 0ms; } }
  /* 4: the statement shares its pinned screen with a slot; the badge drops into it when the name lights */
  .ab-drop { display: none; }
  /* the pinned block spans the whole width (the badge's canvas covers it, so the card can swing to the page edges);
     the padding keeps the content in the 1300px column */
  [data-variant="4"] .ab-rev .ab-in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); padding-inline: max(var(--gutter), (100% - 1300px) / 2 + var(--gutter)); place-items: center start; }
  [data-variant="4"] .ab-rev { height: 560svh; }   /* room for the stop on the name, then for the signature */
  [data-variant="4"] .ab-rev p { font-size: clamp(28px, 3.3vw, 54px); }
  [data-variant="4"] .ab-drop { display: block; width: 100%; height: 86svh; }
  .ab-drop-layer { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
  .ab-drop-layer canvas { display: block; width: 100%; height: 100%; }
  @media (max-width: 860px) { [data-variant="4"] .ab-rev .ab-in { grid-template-columns: 1fr; } [data-variant="4"] .ab-drop { height: 50svh; } }
  /* phones and portrait iPads (one column): the badge hangs small above the statement, so its strap never crosses the
     words and all fits one screen */
  @media (max-width: 860px) {
    [data-variant="4"] .abx .ab-rev .ab-in, [data-variant="4"] .ab-rev .ab-in { align-content: start; place-items: start; row-gap: 0; padding-top: 0; }
    [data-variant="4"] .ab-drop { order: -1; height: 28svh; }
    [data-variant="4"] .ab-rev p { font-size: clamp(28px, 5.2vw, 44px); }   /* portrait iPads: the statement fills the column */
  }
  @media (max-width: 760px) {
    [data-variant="4"] .ab-rev p { font-size: clamp(20px, 5.9vw, 26px); }
    .ab-rev .sg { margin-top: 1.5svh; }
  }
  /* ?mark=fluo: a highlighter swept across Algorimate instead of the pen line */
  [data-mark="fluo"] .ab-rev .al-line { display: none; }
  [data-mark="fluo"] .ab-rev .al-w { isolation: isolate; }
  [data-mark="fluo"] .ab-rev .al-w::before { content: ""; position: absolute; z-index: -1; left: -0.08em; right: -0.08em; top: 0.3em; bottom: 0.04em; background: #EEFF41; border-radius: 0.1em 0.28em 0.14em 0.32em; transform: skewX(-8deg) scaleX(0); transform-origin: left center; transition: transform 250ms ease; }
  [data-mark="fluo"] .ab-rev .al-w.is-on::before { transform: skewX(-8deg) scaleX(1); transition: transform 800ms cubic-bezier(.6,0,.2,1) 200ms; }
  /* the suite after the statement (variant 4) */
  .sx-wrap { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter); }
  .sx-k { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: var(--muted); }
  /* 5: an accordion gallery (after React Bits' AccordionGallery, ported to plain CSS and JS): the panel under the
     pointer, focus or tap widens, the others narrow and turn slightly away; everything stays black and white */
  .sx-wide { max-width: 1300px; }
  .ag { display: flex; gap: 10px; height: min(70svh, 620px); perspective: 1400px; }
  .ag-panel { --grow: 1; --rot: 0deg; position: relative; flex: var(--grow) 1 0; min-width: 0; overflow: hidden; border-radius: 18px; background: var(--ink); color: var(--on-dark); text-decoration: none; cursor: pointer; outline: none; transform: rotateY(var(--rot)); transform-style: preserve-3d; transition: flex-grow 650ms cubic-bezier(.22,1,.36,1), transform 650ms cubic-bezier(.22,1,.36,1); -webkit-tap-highlight-color: transparent; }
  .ag-panel:focus-visible { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--ink); }
  .ag-frame { position: absolute; inset: 0; }
  .ag-type { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: clamp(40px, 5vw, 84px); letter-spacing: -0.05em; color: var(--on-dark); white-space: nowrap; }
  .ag-type { transition: opacity 400ms ease; text-align: center; padding: 0 0.4em; line-height: 0.95; }
  .ag-panel.is-active .ag-type { white-space: normal; align-content: start; padding-top: 0.9em; }
  .ag-panel:not(.is-active) .ag-type { writing-mode: vertical-rl; transform: rotate(180deg); font-size: clamp(26px, 2.4vw, 38px); }   /* narrow: the word turns upright instead of being cut */
  /* the schools' own logos, kept in the site's black and white: the IAE mark (white in its file) in ink on paper,
     the UT wordmark's burnt orange turned light grey so its white tower still reads on the dark panel */
  .ag-panel .ag-logo-wrap, .ag-panel:not(.is-active) .ag-logo-wrap { writing-mode: horizontal-tb; transform: none; padding: 0; align-content: center; }
  /* the logo is placed from the panel's centre so it stays centred when the panel is narrow: upright on its side
     in the narrow panel, level near the top once it opens */
  .ag-logo { position: absolute; left: 50%; top: 24%; width: min(70%, 380px); max-width: none; height: auto; transform: translate(-50%, -50%); transition: transform 650ms cubic-bezier(.22,1,.36,1), width 650ms cubic-bezier(.22,1,.36,1), top 650ms cubic-bezier(.22,1,.36,1); }
  .ag-panel:not(.is-active) .ag-logo { top: 50%; width: min(52svh, 300px); transform: translate(-50%, -50%) rotate(-90deg); }
  .ag-panel:has(.ag-logo-wrap):not(.is-active) { --dim: 0; }   /* no dimming over a logo on the narrow panel */
  /* the schools and Exakoda in their own colours (validated exception): white IAE letters on its burgundy band,
     UT in white on its burnt orange panel, Exakoda as drawn on a light panel (its word is black) */
  .ag-iae .ag-logo, .ag-ut .ag-logo, .ag-exa .ag-logo { filter: none; }
  /* Algorimate stays folded: the full logo (the A and the word) set on its side, the panel never opens */
  .ag-fixed { cursor: default; background: var(--ink); }
  .ag-lockup { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-90deg); display: flex; align-items: center; gap: 0.55em; white-space: nowrap; font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark); }
  .ag-lockup img { width: 1.5em; height: 1.5em; }
  .ag-iae { background: linear-gradient(160deg, #911d37, #e02b54); } .ag-iae .ag-type { color: var(--on-dark); }
  .ag-exa { background: var(--paper-3); }
  .ag-ut { background: linear-gradient(160deg, #9c4700, #BF5700 55%, #d8691a); }   /* burnt orange panel, white logo (Hugo's choice, like the IAE panel) */
  .ag-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(17,19,24,.82)), rgba(17,19,24,var(--dim, .4)); transition: background-color 650ms ease; }
  .ag-panel.is-active { --dim: 0; }
  .ag-cap { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; gap: 14px; align-items: flex-end; z-index: 2; pointer-events: none; }
  .ag-bar { flex: none; width: 3px; height: 44px; border-radius: 3px; background: var(--on-dark); }
  .ag-txt { display: grid; gap: 6px; min-width: 0; }
  .ag-txt b { font-family: var(--font-head); font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -0.02em; white-space: nowrap; }
  .ag-txt span { font-size: 15px; color: var(--on-dark-2); max-width: 42ch; }
  .ag-bar, .ag-txt { opacity: 0; transform: translateX(-14px); transition: opacity 300ms ease, transform 300ms ease; }
  .ag-panel.is-active .ag-bar, .ag-panel.is-active .ag-txt { opacity: 1; transform: none; transition: opacity 600ms ease 150ms, transform 600ms cubic-bezier(.22,1,.36,1) 150ms; }
  .ag-panel.is-active .ag-txt { transition-delay: 210ms; }
  /* phones keep the side-by-side accordion of the web version, as tall as the pinned screen allows */
  @media (max-width: 760px) { .ag { gap: 6px; height: min(72svh, 620px); } .ag-panel:not(.is-active) .ag-logo { width: min(40svh, 128px); } .ag-panel.is-active .ag-logo { width: 84%; } .ag-lockup { font-size: 15px; } .ag-cap { left: 16px; right: 16px; bottom: 18px; gap: 10px; } .ag-txt b { white-space: normal; font-size: 19px; line-height: 1.1; } .ag-txt span { font-size: 13px; line-height: 1.4; } }
  @media (prefers-reduced-motion: reduce) { .ag-panel { transition-duration: 1ms; } }
  /* between the gallery and the office, three proposals (&tr=1..3) */
  /* 1: one ink line drops from the gallery to the office and ends on a pin with the city */
  .tr1 { position: relative; }
  .tr1-in > svg { position: absolute; left: 50%; top: 0; width: 40px; height: 100%; transform: translateX(-50%); overflow: visible; }
  .tr1 line { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
  .tr1 .tr1-pin { position: absolute; left: 50%; bottom: 6svh; transform: translate(-50%, 50%) scale(0); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); transition: transform 500ms cubic-bezier(.34,1.56,.64,1); }
  .tr1 .tr1-pin img { width: 30px; height: 30px; }
  .tr1 .tr1-city { position: absolute; left: calc(50% + 52px); bottom: 6svh; transform: translateY(50%); margin: 0; font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 2.4vw, 36px); letter-spacing: -0.03em; opacity: 0; transition: opacity 500ms ease 200ms; }
  .tr1.is-on .tr1-pin { transform: translate(-50%, 50%) scale(1); } .tr1.is-on .tr1-city { opacity: 1; }
  /* 3: one sentence pinned, its words lighting, then the address typed out */
  @keyframes tr3-blink { 50% { opacity: 0; } }
  /* the line down to the office: three ways to fill it (&line=1..3) */
  .tr1 { height: calc(380svh + 100lvh - 100svh); }   /* the drive, the stop on the disc, then the way out to the right */   /* pinned: the screen holds while the line goes down, then the page moves on */
  .tr1-in { position: sticky; top: 0; height: 100lvh; overflow: hidden; }   /* the office photo reaches the screen's foot under Safari's collapsed bar */
  .tr1 .ln { position: absolute; inset: 0; pointer-events: none; }
  /* 2: a drawn city grid, the line turning into a route */
  [data-line="2"] .tr1-in > svg { display: none; }
  /* 2 as navigation: a schematic Austin moves under a fixed car, from Downtown to Great Hills Trail */
  .nv { position: absolute; inset: 0; width: 100%; height: 100%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 80%, transparent); mask-image: linear-gradient(180deg, transparent, #000 22%, #000 80%, transparent); }   /* the map's edges melt into the page */
  .nv path { fill: none; vector-effect: non-scaling-stroke; }
  .nv-lake { stroke: #CFD3D6; stroke-width: 16; stroke-linecap: round; }
  .nv-hwy { stroke: #C6C7C3; stroke-width: 5; stroke-linecap: round; }
  .nv-st { stroke: #DCDDD9; stroke-width: 1.5; }
  .nv-route-bg { stroke: #FFFFFF; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
  .nv-route { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
  .nv text { font-family: var(--font-body); }
  .nv-place { font-size: 26px; font-weight: 600; fill: #9A9EA6; text-anchor: middle; transition: fill 300ms ease; }
  .nv-place.big { font-size: 34px; font-weight: 700; }
  .nv-place.is-near { fill: var(--ink); }
  .nv-road { font-size: 16px; font-weight: 600; letter-spacing: 0.18em; fill: #B4B7B2; text-anchor: middle; }
  .nv-water { font-size: 16px; font-weight: 600; letter-spacing: 0.24em; fill: #AEB6BC; text-anchor: middle; font-style: italic; }
  /* landmarks in pencil: each one draws itself as the car comes near */
  .nv-sk { filter: url(#nv-pencil); }
  .nv-sk path { stroke: #7A7E86; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1400ms cubic-bezier(.4,0,.2,1); }
  .nv-sk.is-drawn path { stroke-dashoffset: 0; }
  .nv-sk path:nth-child(2n) { transition-delay: 120ms; } .nv-sk path:nth-child(3n) { transition-delay: 260ms; }
  /* the arrival, four proposals (&arr=1..4); the car fades as it arrives */
  .nv.is-arrived #nv-car { opacity: 0; transition: opacity 300ms ease; }
  .nv-arr-wait { fill: #A9ACB2; stroke: #fff; stroke-width: 4; transition: opacity 300ms ease; }
  .nv.is-arrived .nv-arr-wait { opacity: 0; }
  .nv-arr [data-arr] { opacity: 0; transition: opacity 300ms ease; } .nv.is-arrived .nv-arr [data-arr] { opacity: 1; }
  .nv-a3 .core { fill: var(--ink); stroke: #fff; stroke-width: 4; }
  @keyframes nv-ring { from { transform: scale(1); opacity: .7; } to { transform: scale(4.2); opacity: 0; } }
  .nv-a3-card { transform: translateY(20px) scale(0.6); transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; transition: transform 600ms cubic-bezier(.34,1.56,.64,1) 200ms, opacity 300ms ease 200ms; }
  .nv.is-arrived .nv-a3-card { transform: none; opacity: 1; }
  .nv-a3-card rect:first-of-type, .nv-a3-card > path { fill: #fff; } .nv-a3-card rect:first-of-type { filter: drop-shadow(0 10px 24px rgba(17,19,24,.18)); }
  .nv-a3 .t { font-family: var(--font-head); font-weight: 800; font-size: 26px; fill: var(--ink); } .nv-a3 .s { font-size: 16px; fill: #6B7080; }
  /* UT Austin in its burnt orange on the map (validated exception), drawing and name */
  .nv-sk.nv-ut path { stroke: #BF5700; }
  .nv .nv-place.nv-ut, .nv .nv-place.nv-ut.is-near { fill: #BF5700; }
  .nv-dot { fill: var(--ink); stroke: #fff; stroke-width: 4; }
  .nv-halo { fill: rgba(17,19,24,.12); animation: nv-pulse 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes nv-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
  [data-line="2"] .tr1-pin, [data-line="2"] .tr1-city { display: none; }
  /* map to photos: from the pin, the building opens in a widening circle until it fills the screen; then the office
     block settles over it, the paper coming back around its two photos */
  .tr1-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3;
    clip-path: circle(calc(var(--rv, 0) * 120vmax) at 50% 45%); transform: scale(calc(1.15 - 0.15 * var(--rv, 0))); }
  /* the point at the end of the route: once arrived, the view flies into it */
  .nv-goal circle { fill: var(--ink); } .nv-goal { opacity: clamp(0, calc(var(--rv, 0) * 10), 1); }
  .tr1 .nv.is-arrived .nv-arr [data-arr] { opacity: clamp(0, calc(1 - var(--rv, 0) * 8), 1); }   /* the arrival mark gives way to the point */
  /* the opening onto the photo, four proposals (&op=1..4); 1 is the circle above */
  [data-op="2"] .tr1-photo { clip-path: none; opacity: clamp(0, calc((var(--rv, 0) - 0.62) / 0.33), 1); transform: none; }
  /* the way into the office photos (&vb=1..3): the place card stays in 1, the disc only shows in 2 */
  .tr1-photo2 { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 3; opacity: 0; pointer-events: none; }
  .tr1-amark { position: absolute; z-index: 4; width: 9vmin; height: auto; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; }
  [data-vb="2"] .nv-goal image { display: none; }   /* the A travels on its own above the photo */
  [data-vb="2"] .tr1 .nv-sk, [data-vb="2"] .tr1 .nv-place, [data-vb="2"] .tr1 .nv-road, [data-vb="2"] .tr1 .nv-water { opacity: calc(1 - var(--dz, 0)); }   /* zoomed 10x the pencil turns to squiggles: they leave first */
  .of { z-index: 4; margin-top: -100lvh; }   /* the photo under it stays pinned down to the screen's foot (the extra lvh is added to .tr1) */
  /* the paper is painted by a pseudo-element: a background on the pinned block itself can tint iOS 27 Safari's bars */
  .of-pin { isolation: isolate; }
  .of-pin::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(236, 236, 234, var(--ofbg, 1)); pointer-events: none; }
  .of:not(.is-in) .of-pin { visibility: hidden; }   /* not while it rises over the map */
  /* the office, under the gallery (suite 5): the building large with its address, the lounge beside it */
  /* pinned for a while: as the page scrolls, the large photo turns from the building to the lounge and the small
     one the other way round */
  .of { height: 240svh; position: relative; margin-bottom: calc((min(72svh, 620px) - 100svh) / 2 + 48px); }   /* the pinned screen centres the photos: take back the empty half below them */
  .of-pin { position: sticky; top: 0; height: 100lvh; display: grid; align-content: center; }   /* down to the screen's foot under Safari's collapsed bar */
  .of-pin > .sx-wrap { width: 100%; box-sizing: border-box; }
  .of figcaption { opacity: var(--ofcap, 1); transform: translateY(calc((1 - var(--ofcap, 1)) * 28px)); }   /* the words rise in over the photo */
  .of .of-main::after { opacity: var(--ofcap, 1); }   /* auto margins would shrink it to nothing in the grid */
  .of figure img { position: absolute; inset: 0; transition: none; }
  .of figure .of-b { opacity: var(--of, 0); transform: scale(calc(1.06 - 0.06 * var(--of, 0))); }
  .of figure .of-a { transform: scale(calc(1 + 0.04 * var(--of, 0))); }
  .of .sx-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 12px; }
  .of figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-xl); height: min(72svh, 620px); isolation: isolate; }
  .of-main::after { z-index: 1; } .of figcaption { z-index: 2 !important; }
  .of img { width: 100%; height: 100%; object-fit: cover; display: block; }   /* the office in colour (validated exception) */
  .of-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,19,24,.85), rgba(17,19,24,0) 60%); }
  .of figcaption { position: absolute; z-index: 1; left: clamp(24px, 3.5vw, 52px); right: 24px; bottom: clamp(24px, 3.5vw, 48px); color: var(--on-dark-2); max-width: 46ch; }
  .of h2 { color: var(--on-dark); font-size: clamp(32px, 3.6vw, 56px); margin-bottom: 14px; }
  .of .sx-k { color: var(--on-dark-3); }
  .of figcaption p { margin: 0; }
  @media (max-width: 860px) { .of .sx-wrap { grid-template-columns: 1fr; } }
  /* the contact block, four proposals (&ct=1..4); 1 is the home page's as it is */
  .ct-wrap { max-width: 1300px; margin: 0 auto; padding: 2svh var(--gutter) 4svh; }   /* close under the office */
  .ct-k { margin: 0 0 18px; font-size: 15px; font-weight: 600; color: var(--muted); }
  .ct-send { all: unset; cursor: pointer; display: inline-flex; padding: 18px 34px; border-radius: 999px; background: var(--ink); color: var(--on-dark); font-weight: 600; }
  .ct-send:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
  .ct-hp { position: absolute; left: -9999px; }
  /* 2: the form as a sentence to complete, in large type */
  .ct2 .ct-line { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px, 3.2vw, 50px); letter-spacing: -0.03em; line-height: 1.6; color: var(--ink); max-width: 30ch; margin: 0 0 5svh; }
  /* each blank is underlined by a drawn ink line (--u, 0 to 1, set while the block is pinned); the highlighter on focus */
  /* the blanks sit on the sentence's own baseline, the highlighter behind the lower half of the letters */
  .ct2 .ct-l { display: block; white-space: nowrap; }   /* four set lines: typing never reflows the sentence */
  .ct2 input { font: inherit; letter-spacing: inherit; color: var(--ink); border: 0; margin: 0; padding: 0 0.06em 0.06em; height: 1.32em; line-height: 1.32;
    box-sizing: border-box; vertical-align: baseline; outline: none; -webkit-appearance: none; appearance: none; border-radius: 0; text-overflow: ellipsis;
    background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / calc(var(--u, 1) * 100%) 3px, linear-gradient(#EEFF41, #EEFF41) no-repeat 0 72% / 0% 0.5em; transition: background-size 400ms ease; }
  .ct2 input.w-s { width: 9.6em; } .ct2 input.w-m { width: 11em; }
  @media (max-width: 760px) { .ct2 .ct-l { white-space: normal; } .ct2 input.w-s, .ct2 input.w-m { width: 100%; } }
  .ct2 input:focus { background-size: calc(var(--u, 1) * 100%) 3px, var(--tw, 100%) 0.5em; }   /* the highlighter as wide as what is typed */
  .ct2 input::-webkit-contacts-auto-fill-button, .ct2 input::-webkit-credentials-auto-fill-button { visibility: hidden; display: none !important; pointer-events: none; }
  /* pinned: the screen holds on the sentence while its blanks are drawn, then the page goes on */
  .ct2 { height: 150svh; }
  .ct2 > .ct-wrap { position: sticky; top: 0; box-sizing: border-box; padding-top: 12svh; padding-bottom: 8svh; }   /* high on the screen, only as tall as the sentence so the footer follows close */
  .ct2 input::placeholder { color: #B9BCC3; }
  .ct2 .ct-row { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
  .ct2 .ct-alt { color: var(--ink-2); } .ct2 .ct-alt a { color: var(--ink); font-weight: 600; text-underline-offset: 4px; }
  /* the office block, four proposals (&bu=1..4); 1 is the two cards above */
  /* 2: the photos full screen, the words over them */
  [data-bu="2"] .of .sx-wrap { max-width: none; padding: 0; grid-template-columns: 1fr; }
  [data-bu="2"] .of-pin { align-content: stretch; }
  [data-bu="2"] .of figure.of-main { height: 100lvh; border-radius: 0; }
  [data-bu="2"] .of figcaption { left: max(var(--gutter), (100% - 1300px) / 2 + var(--gutter)); bottom: calc(9svh + 100lvh - 100svh); }   /* same place on the svh screen */
  [data-bu="2"] .of { margin-bottom: 0; }
  /* 4: a place card: the photo, and beside it what you need to come */
  .of-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 6px 0 0; }
  .of-links a { display: inline-flex; padding: 12px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); color: var(--on-dark); text-decoration: none; font-weight: 600; }
  .of-links a:first-child { background: var(--on-dark); color: var(--ink); border-color: transparent; }
  /* from the full-screen office to the contact (bu 2 and 3), three proposals (&to=1..3) */
  [data-to="3"] .ct2 { position: relative; z-index: 5; margin-top: -30svh; background: var(--paper); border-radius: 36px 36px 0 0; box-shadow: 0 -24px 60px rgba(17,19,24,.18); clip-path: inset(-120px 0 0 0); }   /* the shadow only above the sheet, never over the footer */
  [data-to="3"] .ct2 .ct-wrap { padding-top: 8svh; }
  /* the gallery pinned (about.js, suite 5): the panels start as a straight deck stepped back and fan out to their
     places, then the pinned scroll opens Exakoda, IAE and UT in turn; the scroll sets every width and tilt, so no
     transition while pinned. Never clip an ancestor of the pinned block: WebKit shakes it */
  .sx-ag { position: relative; height: 460svh; padding: 0; }
  .sx-ag > .sx-wrap { position: sticky; top: 0; height: 100svh; display: grid; align-content: center; gap: 22px; }
  .sx-ag .ag-panel { --g: clamp(0, calc(var(--gi, 1) * 1.4), 1); --k: calc(1 - var(--g)); transition: none;
    transform: translate(calc(var(--k) * (var(--dx, 0px) + var(--i, 0) * 14px)), calc(var(--k) * var(--i, 0) * -14px)) rotateY(var(--rot)); }
  .sx-ag.is-manual .ag-panel { transition: flex-grow 650ms cubic-bezier(.22,1,.36,1), transform 650ms cubic-bezier(.22,1,.36,1); }   /* released: hover and tap ease as before */
  /* a thin mark per step under the panels, filled in ink as the scroll reaches it */
  .ag-prog { display: flex; justify-content: center; gap: 8px; height: 3px; }
  .ag-prog i { width: 40px; height: 3px; border-radius: 3px; background: var(--line); position: relative; overflow: hidden; }
  .ag-prog i::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--f, 0)); }
  @media (max-width: 760px) { .sx-ag > .sx-wrap { gap: 14px; } }
  /* 4: an ink band where the words run past; hovering slows them down */
  @keyframes cl-run { to { transform: translateX(-50%); } }
  /* 2: an index of big names that open on click */
  /* the signature: each letter is traced in ink, then filled, one after the other with the scroll, and one stroke
     underlines the name. A script face stands in for Hugo's own signature (&sig=1..4 to compare faces) */
  .sg { margin-top: 3svh; }
  .ab-rev .sg .sg-cap { font: 400 15px/1.4 var(--font-body); letter-spacing: 0; max-width: none; color: var(--muted); }   /* not the statement's type */
  .ab-left { width: 100%; }
  .sg-svg { width: min(100%, 560px); height: auto; overflow: visible; display: block; }
  .sg-svg text { font-size: 200px; }
  /* a thick felt-tip: the trace stays on as a heavy rounded stroke, and a slight displacement roughens its edge like ink
     soaking into paper */
  .sg-svg #sg-letters, .sg-svg path { filter: url(#sg-felt); }
  .sg-svg #sg-letters text { fill: var(--ink); fill-opacity: 0; stroke: var(--ink); stroke-width: 9; stroke-linejoin: round; stroke-linecap: round; }
  .sg-svg path { fill: none; stroke: var(--ink); stroke-width: 11; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
  .sg-cap { margin: 6px 0 0; font-size: 15px; color: var(--muted); opacity: 0; transition: opacity 500ms ease; }
  .sg.is-signed .sg-cap { opacity: 1; }
