/* contact.css. Built by scripts/build-site.mjs from scripts/website/contact.mjs. Edit the source, not this file. */
/* H1-Wm · the hero: the drawing on the left, the words and the ways to reach me on the right. On
   the yellow, the primary button turns paper (as on the home page's One path card). */
.wx { height: 100vh; min-height: 680px; padding: 0; display: block; overflow: hidden; --btn-acc: var(--paper); --btn-hb: 38%; --btn-sh: var(--ink); }
.wx-copy { position: absolute; z-index: 3; right: var(--gut); top: 96px; bottom: 4vh; width: min(48vw, 720px); display: flex; flex-direction: column; justify-content: safe center; } /* the scroll cue is its last line (2026-11-28: it sat over the socials on a 13-inch screen) */
.wx-copy .label { margin-bottom: 14px; }
.wx-copy h1 { font-size: min(6vw, 11.5vh); line-height: .92; letter-spacing: -.055em; max-width: 10ch; margin: 0 0 22px; }
.wx-lead { font-size: clamp(17px, 1.3vw, 21px); line-height: 1.5; font-weight: 500; max-width: none; margin: 0; text-wrap: pretty; } /* the full width of the column, out to the rule below (owner, 2026-11-28: six lines looked bad) */
.wx-reach { margin-top: clamp(22px, 3.6vh, 38px); padding-top: clamp(18px, 2.6vh, 26px); border-top: 2.5px solid var(--ink); display: grid; gap: 10px; justify-items: start; }
.wx-k { margin: 0; font: 400 clamp(18px, 1.35vw, 21px)/1.1 var(--lf); }
.wx-k + .wx-mail { margin-bottom: 8px; }
.wx-mail { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.wx-mail .btn-p { font-size: clamp(18px, 1.5vw, 23px); }
/* Copy: a secondary button (the marker), no box, in the hand-lettered face of the lines around it;
   a clipboard before it that turns into a clipboard with a tick, with a pop, once copied. */
.wx-copy-btn { appearance: none; border: 0; padding: 4px 6px 2px; font: 400 clamp(13.5px, 1.01vw, 15.75px)/1.15 var(--lf); letter-spacing: 0; } /* the regular weight, thinner than the bold (owner, 2026-11-28); a quarter smaller, text and icon (owner, 2026-11-28 late) */
.wx-ci { position: relative; display: inline-grid; width: 16.5px; height: 16.5px; }
.wx-ci svg { grid-area: 1 / 1; width: 16.5px; height: 16.5px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: scale .35s cubic-bezier(.3,1.7,.5,1), rotate .35s cubic-bezier(.3,1.7,.5,1), opacity .2s; }
.wx-ci .ci-b { scale: .2; rotate: -40deg; opacity: 0; }
.wx-ci .tick { stroke-width: 2.6; stroke-dasharray: 12; stroke-dashoffset: 12; transition: stroke-dashoffset .35s .15s var(--e-std); }
.wx-copy-btn:hover .ci-a { rotate: -8deg; }
.wx-copy-btn.done { background-size: 100% 100%; color: var(--ink); }
.wx-copy-btn.done .ci-a { scale: .2; rotate: 40deg; opacity: 0; }
.wx-copy-btn.done .ci-b { scale: 1; rotate: 0deg; opacity: 1; }
.wx-copy-btn.done .tick { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .wx-ci svg, .wx-ci .tick { transition: none; } }
.wx-soc { display: flex; gap: 10px 26px; flex-wrap: wrap; margin: 0; }
.wx-soc .btn-s { font-size: 18px; }
.wx-soc .btn-s .h { font-weight: 500; opacity: .8; }
.wx-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: 16px; transition: rotate .3s cubic-bezier(.3,1.6,.5,1), scale .3s cubic-bezier(.3,1.6,.5,1); }
.wx-soc .btn-s:hover .wx-ic { rotate: -8deg; scale: 1.08; }
.wx-ic svg { width: 1em; height: 1em; fill: currentColor; display: block; }
/* The scroll cue: a line and an arrow that nods down, to the ways. */
.wx-cue { align-self: flex-end; margin-top: clamp(22px, 4.5vh, 52px); display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font: 600 15px/1.2 var(--bf); }
.wx-cue i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--ink); }
.wx-cue svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.wx-cue:hover i { background: var(--ink); color: var(--yellow); }
@media (prefers-reduced-motion: no-preference) { .wx-cue svg { animation: wx-nod 1.8s var(--e-std) infinite; } }
@keyframes wx-nod { 0%, 100% { translate: 0 -3px; } 50% { translate: 0 4px; } }
/* Short windows (a 13-inch screen with the browser's bars): tighter, so the cue still fits under the socials. */
@media (min-width: 820px) and (max-height: 820px) { .wx-copy { top: 84px; bottom: 2.5vh; } .wx-copy h1 { margin-bottom: 14px; } .wx-lead { font-size: 17px; line-height: 1.45; } .wx-cue { margin-top: 14px; } }
/* W1 and N1 in two columns (owner, 2026-11-28), as F1: the label, heading (and lead) docked on the
   left third, the content in the other two. */
.w2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); width: 100%; }
.w2 .hd { align-self: start; position: sticky; top: 116px; }
.ww-h { font-size: clamp(42px, 4.2vw, 66px); letter-spacing: -.045em; line-height: .95; max-width: 10ch; margin: 0 0 18px; }
.ww-lead { font-size: 19px; line-height: 1.5; color: var(--cmut); max-width: 22em; margin: 0; }
.wx-art { position: absolute; z-index: 2; left: max(20px, 3vw); bottom: 0; height: min(calc(100vh - 110px), 44vw); aspect-ratio: 900 / 1145; }
.wx-art img { display: block; width: 100%; height: auto; max-width: none; }
.pr-dots { position: absolute; z-index: 1; left: 0; bottom: 0; width: 62vw; height: 82vh; background: radial-gradient(color-mix(in srgb, var(--cfg) 22%, transparent) 1.6px, transparent 2.1px) 0 0 / 13px 13px; -webkit-mask: radial-gradient(ellipse 70% 90% at 40% 100%, #000 20%, transparent 70%); mask: radial-gradient(ellipse 70% 90% at 40% 100%, #000 20%, transparent 70%); }

/* W1-Wm · the three ways (lab A): each number fills with yellow as you scroll past it. */
.ww { min-height: 0; padding-top: 130px; }
.aw { list-style: none; margin: 0; padding: 0; width: 100%; }
.aw li { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 26px; padding: 34px 0; border-top: 1.5px solid var(--cfg); }
.aw li:last-child { border-bottom: 1.5px solid var(--cfg); }
.aw .n { --fill: 100%; font: var(--hw) 112px/.82 var(--hf); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--cfg); background: linear-gradient(to top, var(--yellow) var(--fill), transparent var(--fill)); -webkit-background-clip: text; background-clip: text; text-align: center; }
.ww .aw h2 { font-size: clamp(34px, 3.2vw, 50px); max-width: none; margin: 0; }
.aw .s { font-size: 19px; color: var(--cmut); margin: 6px 0 14px; }
.aw .m { font-size: 18.5px; line-height: 1.65; max-width: 34em; margin: 0; }
/* The Tick Tech Toe note sits under the third way, taped on (the column is too narrow beside it). */
.aw-t3 { position: relative; grid-column: 2; justify-self: start; margin-top: 8px; width: min(100%, 340px); background: var(--yellow); color: var(--ink); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); padding: 18px 18px 16px; transform: rotate(4deg); }
.aw-t3::before { content: ""; position: absolute; top: -11px; left: 50%; width: 62px; height: 20px; margin-left: -31px; background: color-mix(in srgb, var(--paper) 65%, transparent); border: 1.5px dashed color-mix(in srgb, var(--ink) 35%, transparent); transform: rotate(-4deg); }
.aw-t3 p { margin: 0; font: 700 19px/1.3 var(--lf); }
.aw-t3 a { color: inherit; }

/* N1-Wm · what happens next: three steps on a line that draws itself. */
.an { position: relative; list-style: none; margin: 14px 0 0; padding: 0 0 0 78px; display: grid; gap: 58px; }
.an-line { position: absolute; left: 24px; top: 10px; bottom: 10px; width: 4px; background: var(--cfg); transform-origin: 50% 0; }
.an li { position: relative; }
.an b { position: absolute; left: -78px; top: -6px; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--ink); border: 2.5px solid var(--ink); font: 800 24px/47px var(--hf); text-align: center; }
.an p { margin: 0; font: var(--hw) clamp(28px, 2.7vw, 44px)/1.15 var(--hf); letter-spacing: -.03em; max-width: 18em; }

/* F1-Wm · the questions (lab C): the heading docked on the left, every answer shown. */
.wf { min-height: 0; padding-top: 130px; }
.cq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); }
.cq .hd { align-self: start; position: sticky; top: 116px; }
.wf .cq h2 { font-size: clamp(44px, 4.2vw, 68px); letter-spacing: -.045em; line-height: .95; max-width: 9ch; }
.cq dl { margin: 0; }
.cq dl div { padding: 26px 0 28px; border-top: 1.5px solid var(--cfg); }
.cq dl div:last-child { border-bottom: 1.5px solid var(--cfg); }
.cq dt { font: var(--hw) 26px/1.2 var(--hf); letter-spacing: -.02em; margin: 0 0 10px; }
.cq dd { margin: 0; font-size: 19px; line-height: 1.65; max-width: 36em; }
.hl { --hl: 0%; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 88% / var(--hl) 40%; -webkit-box-decoration-break: clone; box-decoration-break: clone; }


/* E1-Wm · where to next, in the ask panel's manner (ask.mjs): square corners, a 3px ink edge and a
   hard shadow; halftone dots dense at the bottom and fading out going up; and the layers (the dots,
   the line, the heading, the arrow, the drawing) settling at different depths as the cards come up.
   Each card is a link: it sinks onto its shadow on hover, and the drawing lifts. */
.we1 { min-height: 0; padding-top: 110px; padding-bottom: 60px; }
.we-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 3vw, 44px); width: 100%; }
.we-card { --dk: 27; --dr: 1.5; --dg: 15; position: relative; isolation: isolate; display: grid; align-content: end; justify-items: start; min-height: clamp(320px, 40vh, 420px); padding: clamp(28px, 3vw, 44px); overflow: hidden; background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--shadow, var(--ink)); text-decoration: none; transition: translate .2s var(--e-std), box-shadow .2s var(--e-std); }
.we-card + .we-card { background: var(--paper); }
.we-card::before { content: ""; position: absolute; z-index: -1; inset: 0 0 -140px; pointer-events: none; translate: 0 var(--dy, 0px);
  background: radial-gradient(color-mix(in srgb, var(--ink) calc(var(--dk) * 1%), transparent) calc(var(--dr) * 1px), transparent calc(var(--dr) * 1px + .5px)) 0 0 / calc(var(--dg) * 1px) calc(var(--dg) * 1px);
  -webkit-mask: linear-gradient(to bottom, transparent 30%, #000 calc(100% - 140px)); mask: linear-gradient(to bottom, transparent 30%, #000 calc(100% - 140px)); }
.we-card:hover { translate: 3px 3px; box-shadow: 3px 3px 0 var(--shadow, var(--ink)); }
.we-card:active { translate: 6px 6px; box-shadow: 0 0 0 var(--shadow, var(--ink)); }
.we-k { position: relative; font: 400 clamp(20px, 1.6vw, 26px)/1.2 var(--lf); max-width: 60%; }
.we-t { position: relative; font: var(--hw) clamp(36px, 3.6vw, 60px)/.98 var(--hf); letter-spacing: -.045em; max-width: 9ch; margin-top: 8px; }
.we-go { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin-top: 24px; border-radius: 50%; background: var(--ink); color: var(--yellow); }
.we-go svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: translate .3s cubic-bezier(.3,1.6,.5,1); }
.we-card:hover .we-go svg { translate: 4px 0; }
.we-fig { position: absolute; z-index: -1; right: -2%; bottom: -14%; height: 108%; aspect-ratio: 1 / 1.15; }
.we-fig img { display: block; height: 100%; width: auto; max-width: none; margin-left: auto; transition: translate .5s var(--e-std), rotate .5s var(--e-std); }
.we-card:hover .we-fig img { translate: 0 -12px; rotate: -2deg; }
.we-ps { margin: clamp(40px, 5.5vh, 60px) 0 0; font: 400 clamp(22px, 1.9vw, 30px)/1.3 var(--lf); }
.we-ps a { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .22em; text-underline-offset: .12em; text-decoration-skip-ink: none; }
.we1 .a-foot { position: static; margin-top: 70px; }


/* ---- Narrow screens: one column, the stand-in until the phone view (as on About and Letters). */
@media (max-width: 819px) {
  :root { --gut: 22px; }
  .a-ch { padding: 104px var(--gut) 96px; min-height: 0; }
  .wx { height: auto; min-height: 100svh; padding: 92px var(--gut) 0; display: flex; flex-direction: column; }
  .wx-copy { position: static; width: auto; margin-top: 18px; order: -1; }
  .wx-copy h1 { font-size: 13vw; }
  .wx-lead { font-size: 18px; }
  .wx-cue { display: none; }
  .wx-art { position: relative; right: auto; align-self: center; height: auto; width: min(85%, 380px); margin-top: 30px; }
  .pr-dots { width: 100%; height: 60vh; }
  .aw li { grid-template-columns: 70px minmax(0, 1fr); gap: 16px; }
  .aw .n { font-size: 76px; }
  .w2 { grid-template-columns: 1fr; gap: 26px; }
  .w2 .hd { position: static; }
  .aw-t3 { position: relative; top: auto; right: auto; grid-column: 1 / -1; width: auto; margin: 14px 8px 0; transform: rotate(1.5deg); }
  .an p { font-size: 26px; }
  .cq { grid-template-columns: 1fr; gap: 18px; }
  .cq .hd { position: static; }
  .we-cards { grid-template-columns: 1fr; }
  .we-fig { height: 92%; }
  .a-foot { position: static; margin-top: 40px; }
}
