/* ROUND 14 · expertise + a footer with one giant thing. Shared by page-h1, page-h2, page-h3.
   Desktop only. On top of sec-e.css (the sheet of paper, the bar over it, the red button).
   The rules of the line are a copy of sec-f.css (mode "pair", Rodion's pick G2).
   Three sizes on the sheet, with a big step between them:
     the line        about 147 px at 1440 (as wide as the sheet's text), 800
     h1: one band    50 px, "contact" 300 + the address 800
     h2: the button  33 px in the one red pill; the head 50 px, 300
     h3: no second size. Heads 26 px 300, text 18 to 23 px
     small text      17 to 23 px
   Sizes and places of the line and of the row under it come from sec-h.js. */

.h .e-sheet { margin-top: clamp(5.5rem, 15vh, 9.5rem); margin-bottom: 0; will-change: transform; --air: clamp(4.5rem, 13vh, 8rem); }

/* ---------- the line across the edge (copy of sec-f.css, pair) ---------- */
.f-name { position: relative; margin: 0 var(--gut); user-select: none; -webkit-user-select: none; pointer-events: none; }
.f-line { position: absolute; left: 0; bottom: 0; display: block; white-space: nowrap; font-weight: 800; line-height: 1; letter-spacing: -0.05em; }
/* A row of the line. One row on a wide screen, three on a phone (sec-h.js, m.css). */
.f-row { display: block; width: max-content; }
.f-g { display: inline-block; white-space: pre; will-change: transform; }
.f-base { display: inline-block; width: 0; height: 0; vertical-align: baseline; }
.f-t { position: relative; display: inline-block; }
.f-a { display: block; color: var(--ink); clip-path: inset(-0.4em -0.25em calc(100% - var(--cut, 0px)) -0.25em); }
.f-b { position: absolute; left: 0; top: 0; display: block; color: var(--bone); clip-path: inset(var(--cut, 0px) -0.25em -0.4em -0.25em); }
a.f-o { position: relative; isolation: isolate; color: inherit; text-decoration: none; pointer-events: auto; }
a.f-o:focus-visible { outline: none; z-index: 2; }
a.f-o:focus-visible::after { content: ''; position: absolute; left: var(--cx); top: var(--cy); width: var(--ow); height: var(--oh); transform: translate(-50%, -50%); border-radius: 50%; outline: 3px solid #7b7872; outline-offset: 7px; pointer-events: none; }
.f-cap { position: absolute; z-index: -1; display: block; border-radius: 50%; background: var(--c); transform: translate(-50%, -50%) scale(0); will-change: transform; }
.f-tip {
  position: absolute; display: block; white-space: nowrap; pointer-events: none; opacity: 0; will-change: transform, opacity;
  font-weight: 600; font-size: 1.0625rem; line-height: 1.3; letter-spacing: -0.015em; color: var(--bone);
  /* Centred under its o from the first paint, before the script moves it: a name that starts at the middle of the
     last o would reach out of a narrow window. */
  transform: translate(-50%, 10px);
}

/* ---------- under the sheet, on the dark ground ---------- */
.h-foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 44px; padding: 0 var(--gut); margin-bottom: clamp(0.9rem, 2.4vh, 1.5rem); font-size: 1rem; line-height: 1.4; color: var(--bone-dim); }
.h-up { min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; color: var(--bone); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.h-up:hover { text-decoration-thickness: 3px; }

/* =====================================================================================
   H1 · BAND
   ===================================================================================== */
/* Expertise: two words, as E2. "prototype" is longer than "print", so the words are one step smaller. */
.hx { padding: clamp(6rem, 18vh, 11rem) var(--gut) 0; }
/* 18 Nov 2026: the three lines moved up, under the work (sec-h.js). There the page itself gives the side gutters. */
.after > .hx { padding-left: 0; padding-right: 0; }
.hx1-cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 3vw, 48px); }
.hx1-word { font-size: min(8.1vw, 14.2vh); line-height: 0.9; letter-spacing: -0.05em; will-change: opacity; }
.hx1-under { margin-top: clamp(1rem, 2.8vh, 1.7rem); will-change: opacity; }
.hx1-note { margin-top: clamp(1rem, 2.6vh, 1.6rem); max-width: 24em; font-size: clamp(1.0625rem, 1.2vw, 1.3rem); color: var(--bone-dim); }
.hx1 .e-list { font-weight: 500; font-size: clamp(1.4rem, 2.1vw, 2.6rem); line-height: 1.24; letter-spacing: -0.03em; }

/* The sheet: one line in two weights, then one small row. */
.h1-band { display: flex; align-items: baseline; gap: 0 0.46em; font-size: clamp(2.4rem, 3.5vw, 5rem); }
.h1-mail { font-weight: 800; line-height: 1; letter-spacing: -0.048em; white-space: nowrap; }
.h1-mail a { display: inline-block; color: inherit; text-decoration: none; transition: color 0.25s linear; }
.h1-mail a:hover, .h1-mail a:focus-visible { color: var(--signal); }
.h1-mail a:focus-visible { outline-offset: 6px; }
.h1-band .e-acts { margin-left: auto; padding-left: 1.5rem; font-size: 1rem; flex-wrap: nowrap; }
.h1-info { margin-top: clamp(1.5rem, 4vh, 2.5rem); display: flex; justify-content: space-between; gap: 2rem; font-size: clamp(1.0625rem, 1.25vw, 1.4rem); line-height: 1.36; letter-spacing: -0.012em; }
.h1-info p:first-child { font-weight: 500; }
.h1-info p + p { color: rgba(11, 11, 10, 0.72); text-align: right; }

/* =====================================================================================
   H2 · BUTTON
   ===================================================================================== */
/* "how i work": three words in the colour of the chosen case, its three lines under them. */
.hx2-cases { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-left: -0.2rem; }
.hx2-case {
  min-height: 48px; padding: 0 1.25rem; border: 0; border-radius: 99px; font-family: inherit; cursor: pointer; text-transform: lowercase;
  font-weight: 700; font-size: clamp(1.0625rem, 1.32vw, 1.5rem); letter-spacing: -0.03em;
  background: rgba(236, 232, 225, 0.09); color: var(--bone); transition: background-color 0.25s linear, color 0.25s linear;
}
/* The lighter ground under the pointer waits as long as the choice does (INTENT in sec-h.js, 90 ms), so a pointer
   that only crosses a tab changes nothing. A chosen tab has no wait: its colour starts the moment it is chosen. */
.hx2-case:hover { background: rgba(236, 232, 225, 0.18); }
.hx2-case:hover:not([aria-pressed="true"]) { transition-delay: 0.09s; }
.hx2-case[aria-pressed="true"] { background: var(--c); color: var(--on); }
.hx2-three { margin: clamp(1.8rem, 5vh, 3.2rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); }
.hx2-word { font-size: min(6.3vw, 11vh); line-height: 0.92; letter-spacing: -0.05em; color: var(--c); transition: color 0.3s linear; }
.hx2-three dd { margin: clamp(1rem, 2.8vh, 1.7rem) 0 0; }
.hx2-say { display: block; max-width: 21em; font-weight: 500; font-size: clamp(1.25rem, 1.62vw, 1.9rem); line-height: 1.3; letter-spacing: -0.022em; text-wrap: pretty; will-change: transform, opacity; }
.hx2-go { margin-top: clamp(0.5rem, 1.6vh, 1rem); }
/* The tallest case has four or five lines of result. The section keeps that height, so nothing below it jumps. */
.hx2-three { min-height: calc(min(6.3vw, 11vh) + 5.2 * clamp(1.25rem, 1.62vw, 1.9rem) * 1.3 + 4.2rem); }

/* The sheet: status at the left, action at the right. The address is the red button. */
.h2-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 3vw, 48px); align-items: start; }
.h2-left .e-avail { margin-top: clamp(1.1rem, 3vh, 1.9rem); max-width: 22em; }
.h2-right { display: flex; flex-direction: column; align-items: flex-end; }
.h2-pill {
  display: inline-flex; align-items: baseline; gap: 0.8rem; padding: clamp(1rem, 1.4vw, 1.6rem) clamp(1.5rem, 2.1vw, 2.5rem) clamp(1.1rem, 1.5vw, 1.75rem);
  border-radius: 99px; background: var(--signal); color: var(--void); text-decoration: none; white-space: nowrap; transition: background-color 0.25s linear, color 0.25s linear;
}
.h2-pill span { font-weight: 600; font-size: clamp(1.0625rem, 1.1vw, 1.35rem); letter-spacing: -0.02em; }
.h2-pill b { font-weight: 800; font-size: clamp(1.4rem, 1.95vw, 2.4rem); line-height: 1; letter-spacing: -0.045em; }
.h2-pill:hover { background: var(--ink); color: var(--bone); }
.h2-pill:focus-visible { outline-offset: 5px; }
.h2-right .e-acts { margin-top: clamp(0.7rem, 2vh, 1.2rem); padding-right: clamp(1.5rem, 2.1vw, 2.5rem); }
.h-h2 .e-sheet { --air: clamp(4rem, 11vh, 7rem); }

/* =====================================================================================
   H3 · ROW
   ===================================================================================== */
/* No expertise section. One row of four small columns, then empty paper down to the line. */
.h3-row { display: grid; grid-template-columns: minmax(0, 4.2fr) minmax(0, 2.5fr) minmax(0, 1.9fr) minmax(0, 3.4fr); column-gap: clamp(24px, 3vw, 48px); align-items: start; }
.h .h3-k { margin: 0 0 clamp(0.9rem, 2.2vh, 1.3rem); font-weight: 300; text-transform: lowercase; font-size: clamp(1.5rem, 1.95vw, 2.4rem); line-height: 1; letter-spacing: -0.045em; color: var(--ink); }
.h3-say { max-width: 15.5em; font-weight: 500; font-size: clamp(1.25rem, 1.62vw, 1.9rem); line-height: 1.3; letter-spacing: -0.022em; }
.h3-col .e-list, .h3-links { font-size: clamp(1.0625rem, 1.25vw, 1.4rem); line-height: 1.5; letter-spacing: -0.012em; }
.h3-col .e-list { color: rgba(11, 11, 10, 0.78); }
.h3-links { display: flex; flex-direction: column; align-items: flex-start; margin-top: -0.6rem; }
.h3-links .link { font-size: inherit; }
.h3-write { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.h3-mail { margin-top: -0.45rem; font-weight: 700; font-size: clamp(1.25rem, 1.62vw, 1.9rem); line-height: 1.3; letter-spacing: -0.03em; white-space: nowrap; }
.h3-mail a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; transition: color 0.25s linear; }
.h3-mail a:hover, .h3-mail a:focus-visible { color: var(--signal); }
.h3-write .btn { margin-top: clamp(0.5rem, 1.4vh, 0.9rem); }
.h-h3 .e-sheet { --air: clamp(6.5rem, 20vh, 13rem); }
