/* =====================================================================
   Home: one long wall you walk along.
   Default = vertical (phones, portrait, no-JS). `.is-h` = horizontal journey.
   ===================================================================== */
.anc, .loop-mark { position: absolute; left: var(--ax, 0); top: var(--ay, 0); width: 0; height: 0; pointer-events: none; }
#track { position: relative; }
#thread { display: none; }

/* ------------------------------------------------------------- shared pieces */
.hero-name { font-weight: 200; letter-spacing: -.04em; line-height: var(--lh-giant); }
.hero-name .ln { display: block; padding: .08em .1em .04em 0; margin-right: -.1em; overflow: clip; } /* the clip leaves room for the last letter, which tight tracking pushes past the line box */
.hero-name .ch { display: inline-block; }
.i-wrap { position: relative; }
.tittle {
  position: absolute; left: 50%; top: var(--tt, .17em);
  width: .125em; height: .125em; margin-left: -.0625em;
}
/* the dot on the "i" is a little ball of wool (the `wool` doodle), drawn a touch bigger than a dot */
.tittle .dd, .wool-dot .dd { position: absolute; left: 50%; top: 50%; width: 170%; height: 170%; translate: -50% -50%; --pen: 1.6; pointer-events: none; }
.hero-role { display: flex; flex-direction: column; gap: .15em; margin-top: 2.2vh; font-size: var(--fs-body-lg); line-height: 1.3; }
.hero-role .role { font-weight: 400; color: var(--ink-2); }
.pillars { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1em .45em; }
.pillar { position: relative; transition: color .4s var(--ease-out); }
.pillar .dd { position: absolute; left: -4%; width: 108%; bottom: -.42em; height: .5em; }
.pillars.cycling .pillar { color: var(--muted); }
.pillars.cycling .pillar.on { color: var(--ink); }
.sep { color: var(--accent-text); }

.wall { position: relative; aspect-ratio: 1400 / 1068; }
.wf { position: absolute; transform-origin: var(--px, 50%) var(--py, 0%); }
.wf .wf-in { position: absolute; inset: 0; transform-origin: inherit; }
.wf-live { position: absolute; display: grid; place-items: center; }
.wf-live .dd { position: absolute; inset: 0; width: 100%; height: 100%; }
.wf-live-cap { position: absolute; bottom: -2%; left: 0; right: 0; text-align: center; font-family: var(--f-hand); font-size: var(--fs-caption); color: var(--muted); }
.wf-draw { position: absolute; touch-action: none; }
.wf-draw canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.wf-draw .hint { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--f-hand); color: var(--muted); font-size: var(--fs-small); line-height: 1.25; pointer-events: none; transition: opacity .3s; }
.wf-draw.used .hint { opacity: 0; }
.wf-draw .clear { position: absolute; right: 4%; top: 4%; font-family: var(--f-hand); font-size: var(--fs-caption); color: var(--accent-text); opacity: 0; transition: opacity .2s; padding: 2px 6px; }
.wf-draw.used .clear { opacity: 1; }
.wf-draw .clear { -webkit-tap-highlight-color: transparent; }
.wf-draw .clear:active { transform: scale(.96); }

.hero-girl { display: flex; align-items: flex-end; gap: 1vw; }
/* her little animation, one per theme, drawn on transparent so it sits straight on the page (tools/prepare_girl.py) */
.girl-art { position: relative; transition: opacity .3s ease-out; }
.js .girl-art:not(.on) { opacity: 0; }
.girl-anim { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.girl-anim.blue, :root[data-theme="blue"] .girl-anim.paper { display: none; }
:root[data-theme="blue"] .girl-anim.blue { display: block; }
.girl-cap { display: flex; flex-direction: column; color: var(--muted); font-size: var(--fs-small); line-height: 1.35; margin-bottom: 2.5vh; transform: rotate(-2deg); }
.come { display: inline-flex; align-items: center; gap: 1.1vw; font-weight: 300; letter-spacing: -.035em; line-height: 1; }
.come-arrow { display: inline-block; width: clamp(70px, 7.6vw, 150px); aspect-ratio: 200 / 60; }
.come-arrow .dd { width: 100%; height: 100%; }
@media (hover: hover) { .come:hover .come-arrow { transform: translateX(10px); } }
.come-arrow { transition: transform .35s var(--ease-spring); }
.scroll-hint { display: none; align-items: center; gap: 10px; color: var(--muted); font-size: var(--fs-caption); }
.scroll-hint .mouse { width: 18px; height: 27px; --pen: 1.6; }
.scroll-hint .mouse .dd { width: 100%; height: 100%; }
.mouse .wheel { animation: wheel 1.6s var(--ease-in-out) infinite; }
@keyframes wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0; } 61% { transform: translateY(0); opacity: 0; } }

/* works */
.works-head h2 { font-weight: 200; line-height: var(--lh-display); letter-spacing: -.035em; font-size: var(--fs-display); }
.works-head sup { font-size: .32em; color: var(--accent-text); vertical-align: top; position: relative; top: .3em; letter-spacing: 0; font-family: var(--f-body); font-weight: 400; }
.works-note { color: var(--muted); font-size: var(--fs-small); transform: rotate(-2.5deg); margin-top: 1.4vh; }
.works-sub { margin-top: 3vh; max-width: 25ch; color: var(--ink-2); font-size: var(--fs-small); }

.work { position: relative; }
.work-link { display: block; -webkit-tap-highlight-color: transparent; }
.work-swing { position: relative; transform-origin: 50% 0; will-change: transform; }
.work-string { display: block; width: 100%; height: 6.5vh; overflow: visible; }
.work-string path { fill: none; stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.work-frame { position: relative; aspect-ratio: 16 / 10.2; }
.frame-edge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.frame-edge path { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.frame-edge.pre path { stroke-dashoffset: 1.001; }
.work-img { position: absolute; inset: 5.2%; overflow: hidden; background: var(--paper-deep); border-radius: 2px; }
.work-img::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--img-edge); } /* the image is scaled for parallax, so its edge lives on the frame */
.work-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translate3d(var(--plx, 0), 0, 0) scale(1.1); transition: transform .9s var(--ease-out), opacity .6s var(--ease-out); }
.work-img img.alt { opacity: 0; }
@media (hover: hover) {
  .work-link:hover .work-img img { transform: translate3d(var(--plx, 0), 0, 0) scale(1.15); }
  .work-link:hover .work-img img.alt { opacity: 1; }
}
.work-img .veil { position: absolute; inset: 0; background: var(--paper); transform-origin: 50% 0; transition: transform 1.1s var(--ease-in-out); z-index: 1; }
.work.in .work-img .veil { transform: scaleY(0); }
.work-meta { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; margin-top: 3.2vh; }
.work-num { grid-row: 1; font-family: var(--f-hand); color: var(--accent-text); font-size: var(--fs-ui); line-height: 1.9; }
.work-title { grid-column: 2; grid-row: 1; font-weight: 300; font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -.025em; position: relative; width: max-content; max-width: 100%; }
.work-title .dd { position: absolute; left: -2%; bottom: -.32em; width: 104%; height: .42em; }
.work-short { grid-column: 2; margin-top: .6vh; color: var(--ink-2); font-size: var(--fs-small); line-height: var(--lh-small); max-width: 36ch; }
.work-tags .tag { white-space: nowrap; }
.work-tags { grid-column: 2; margin-top: 1vh; color: var(--muted); font-size: var(--fs-caption); }

/* interlude */
.cat .dd { width: 100%; height: 100%; }
.cat { width: 22vh; aspect-ratio: 100 / 150; }
.cat-note { color: var(--muted); font-size: var(--fs-small); transform: rotate(-4deg); }

/* about */
.about-title { font-weight: 200; font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -.04em; }
.about-title em { display: block; font-style: italic; font-weight: 250; }
.hi { font-weight: 300; font-size: var(--fs-h2); letter-spacing: -.02em; margin-bottom: 1.6vh; line-height: var(--lh-h2); }
.about-p { font-size: var(--fs-body-lg); line-height: var(--lh-body-lg); color: var(--ink-2); font-weight: 400; max-width: 62ch; }
.about-p .w { transition: opacity .6s var(--ease-out), filter .6s var(--ease-out); }
.about-p.dim .w { opacity: var(--dim); }
.about-p .w.lit { opacity: 1; }
.cam { display: block; width: clamp(48px, 4.2vw, 76px); aspect-ratio: 1; margin-bottom: 1.4vh; transform: rotate(-6deg); }
.cam .dd { width: 100%; height: 100%; }

.pola { position: relative; width: clamp(140px, 12.4vw, 230px); }
.pola-swing { position: relative; display: block; width: 100%; text-align: left; transform-origin: 50% 0; will-change: transform; touch-action: none; }
.pola-card, .pola-cap, .pola-date { display: block; }
@media (hover: none) { .pola-swing { touch-action: auto; } }
.pola-clip { position: absolute; left: 50%; top: -1.2vw; width: 1.3vw; min-width: 16px; height: 3.2vw; min-height: 40px; transform: translateX(-50%); z-index: 6; }
.pola-clip svg { width: 100%; height: 100%; overflow: visible; }
.pola-clip rect { fill: var(--paper-deep); stroke: var(--ink); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.pola-clip path { stroke: var(--ink); stroke-width: 1.2; vector-effect: non-scaling-stroke; fill: none; }
.pola-card {
  background: var(--card); color: var(--card-ink); padding: 7% 7% 0; box-shadow: var(--shadow);
  border: 1px solid transparent; /* keeps an edge in forced-colours mode */
  transform: rotate(var(--r, 0deg)); transition: box-shadow .3s;
  user-select: none; -webkit-user-select: none;
}
.pola-card img { width: 100%; aspect-ratio: 1 / 1.04; object-fit: cover; background: #eceae4; pointer-events: none; -webkit-user-drag: none; outline: 1px solid var(--img-edge); outline-offset: -1px; }
.pola-cap { font-family: var(--f-hand); font-size: var(--fs-small); line-height: 1.2; padding: 8% 2% 2%; }
.pola-date { font: 400 var(--fs-micro)/1.2 var(--f-body); color: var(--card-muted); letter-spacing: .04em; padding: 0 2% 9%; }
.pola.grab .pola-card { box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 26px 40px -16px rgba(0,0,0,.35); }

.resume-girl { display: block; }
.rg-art { position: relative; display: block; width: 100%; height: 100%; }
/* she pops up when she comes into view, and gives a little hop when you point at her */
@media (prefers-reduced-motion: no-preference) {
  .resume-girl .rg-art { transform-origin: 50% 100%; transition: transform .7s var(--ease-spring); }
  .js .resume-girl:not(.in) .rg-art { transform: translateY(10%) scale(.8); }
  .resume-girl.in:focus-visible .rg-art { transform: translateY(-3%) rotate(-2deg); }
  @media (hover: hover) { .resume-girl.in:hover .rg-art { transform: translateY(-3%) rotate(-2deg); } }
}
.rg-art .art.acc { transform-origin: 40% 70%; transition: transform .5s var(--ease-spring), background-color .5s; }
.resume-girl:focus-visible .rg-art .art.acc { transform: translateY(-1.2%) rotate(-4deg) scale(1.06); }
@media (hover: hover) { .resume-girl:hover .rg-art .art.acc { transform: translateY(-1.2%) rotate(-4deg) scale(1.06); } }
.rg-note { transition: transform .4s var(--ease-spring); }
@media (hover: hover) { .resume-girl:hover .rg-note { transform: rotate(2deg) translateY(-4px); } }
.rg-pupil { position: absolute; inset: auto; }
.rg-pupil[data-pupil="0"] { left: 27.67%; top: 36.83%; width: 5.27%; height: 3.06% }
.rg-pupil[data-pupil="1"] { left: 64.69%; top: 32.1%; width: 4.48%; height: 2.88% }
.rg-note { position: absolute; color: var(--accent-text); font-size: var(--fs-small); transform: rotate(5deg); white-space: nowrap; }

.note { position: relative; aspect-ratio: 1; background: var(--card); color: var(--card-ink); padding: 26px 24px 24px; box-shadow: var(--shadow); border: 1px solid transparent; transform: rotate(var(--r, 0deg)); }
.note .tape { left: 50%; top: -11px; transform: translateX(-50%) rotate(-3deg); }
.note .dd { width: 48px; height: 48px; margin-bottom: 10px; }
.note .dd { color: var(--card-ink); }
.note { --accent: var(--card-accent); --accent-text: var(--card-accent-text); --on-accent: var(--card-on-accent); } /* white card: its own accents */
.note h3 { font-family: var(--f-display); font-weight: 350; font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: -.015em; margin-bottom: 8px; }
.note p { font-size: var(--fs-small); line-height: 1.5; color: var(--card-ink-2); }

/* contact */
.fire { position: relative; aspect-ratio: 993 / 1315; }
.fire-flame { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-out); }
.fire.lit .fire-flame { clip-path: inset(-5% 0 0 0); }
.fire.lit .fire-flame .art { animation: flicker 2.4s ease-in-out infinite; transform-origin: 50% 96%; }
@keyframes flicker { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(1.012, 1.03); } 55% { transform: scale(.994, 1.01); } 80% { transform: scale(1.006, 1.035); } }
.fire-pupil { position: absolute; inset: auto; }
.fire-pupil[data-pupil="0"] { left: 31.52%; top: 52.93%; width: 4.93%; height: 6.77%; }
.fire-pupil[data-pupil="1"] { left: 58.51%; top: 48.52%; width: 4.83%; height: 6.39%; }
.fire-start { left: 26%; top: 94.6%; }
.kicker { color: var(--accent-text); font-size: var(--fs-ui); transform: rotate(-3deg); width: max-content; }
.contact-h { font-weight: 200; font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -.045em; }
.spark { display: inline-block; width: .78em; aspect-ratio: 1; vertical-align: -.02em; margin-left: .06em; }
.spark .dd { width: 100%; height: 100%; }
.contact-sub { font-weight: 300; font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -.03em; margin-top: 1.2vh; }
.contact-sub em { color: var(--accent); }
.contact-mail { margin-top: 4.5vh; font-size: var(--fs-body); }
/* a thin underline at rest says it's a link; the red one draws across it on hover and focus */
.contact-mail a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease-out); }
.contact-mail a:focus-visible { background-size: 100% 2px, 100% 1px; }
@media (hover: hover) { .contact-mail a:hover { background-size: 100% 2px, 100% 1px; } }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 2.6vh; }

/* end */
.vase { position: relative; aspect-ratio: 1600 / 1428; }
.vf { position: absolute; transform-origin: 50% 92%; }
.vf .art { position: absolute; inset: 0; }
.again { display: inline-flex; flex-direction: column; gap: 1.6vh; }
.again-loop { width: clamp(56px, 4.6vw, 86px); aspect-ratio: 1; transition: transform .7s var(--ease-spring); }
.again-loop .dd { width: 100%; height: 100%; }
@media (hover: hover) { .again:hover .again-loop { transform: rotate(-200deg); } }
.again-txt { display: flex; flex-direction: column; font-family: var(--f-display); font-weight: 300; font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: -.03em; }
.again-txt span:last-child { font-style: italic; }
@media (hover: hover) { .again:hover .again-txt { color: var(--accent); } }
.again-txt { transition: color .3s; }


/* ================================================================ VERTICAL (default) */
.panel { position: relative; padding: 0 var(--gutter); }
.hero { min-height: 100svh; padding-top: calc(var(--nav-h) + 7vh); padding-bottom: 8vh; display: flex; flex-direction: column; gap: 5vh; }
.hero-name { font-size: var(--fs-giant); }
.hero .wall { width: 100%; max-width: 620px; margin-inline: auto; }
.girl-art { width: 34vw; max-width: 220px; aspect-ratio: 1; flex: none; }
.come { font-size: var(--fs-h1); }
@media (max-width: 899px) { .come { display: none; } } /* on a phone you simply scroll on to the projects */
.works { padding-top: 6vh; padding-bottom: 10vh; }
.works-list { display: flex; flex-direction: column; gap: 12vh; margin-top: 8vh; }
.interlude { height: 44vh; }
.interlude::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 76%; height: 2px; background: var(--accent); border-radius: 2px; }
.interlude .cat { position: absolute; left: 50%; top: calc(76% - 22vh * 1.04); transform: translateX(-50%); } /* body on the line, tail hanging over */
.interlude .cat-note { position: absolute; left: var(--gutter); top: 3vh; }
.about { display: flex; flex-direction: column; gap: 6vh; padding-top: 8vh; padding-bottom: 10vh; }
.polaroids { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9vw 6vw; padding-top: 4vw; }
.polaroids .pola { width: 100%; }
.resume-girl { position: relative; width: min(50vw, 250px); aspect-ratio: 759 / 1078; margin-inline: auto; }
.rg-note { right: 0; top: -1.6em; } /* in the clear space above her head, off the hair lines */
.notes { display: flex; flex-direction: column; gap: 7vh; padding: 3vh 2vw; }
.contact { padding-top: 6vh; padding-bottom: 10vh; display: flex; flex-direction: column-reverse; gap: 6vh; }
.contact .fire { width: min(82vw, 460px); margin-inline: auto; }
.end { padding-top: 6vh; padding-bottom: 8vh; display: flex; flex-direction: column; gap: 4vh; }
.end .vase { width: 100%; max-width: 560px; margin-inline: auto; }
.end-foot { margin-top: 4vh; }

/* the vertical page on a wide screen (a squarish monitor, a short or zoomed desktop window):
   the same order, set in columns so nothing stretches to the full width */
@media (min-width: 900px) {
  :root:not(.is-h) .hero { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 6vh 4vw; }
  :root:not(.is-h) .hero-name { font-size: min(var(--fs-giant), 10.2vw); }
  :root:not(.is-h) .hero-girl { align-self: end; }
  :root:not(.is-h) .come { align-self: end; justify-self: start; margin-bottom: 2.5vh; }
  :root:not(.is-h) .work { width: min(100%, 40rem); }
  :root:not(.is-h) .work:nth-child(even) { margin-inline-start: auto; }
  :root:not(.is-h) .polaroids { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6vw 5vw; }
  :root:not(.is-h) .notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 3vw; padding-inline: 0; }
  :root:not(.is-h) .contact { flex-direction: row; align-items: center; gap: 5vw; }
  :root:not(.is-h) .contact .fire { flex: none; width: min(38vw, 460px); margin: 0; }
  :root:not(.is-h) .contact-copy { flex: 1; min-width: 0; }
}

/* ================================================================ HORIZONTAL */
.is-h body { overscroll-behavior: none; }
.is-h #hv { position: fixed; inset: 0; overflow: hidden; container-type: size; }
/* panels fill the visible height, so a tablet's browser toolbar never covers their bottom edge,
   and full-width panels use #hv's width (100cqw), which leaves out the page scrollbar */
.is-h { --ph: 100vh; }
@supports (height: 100dvh) { .is-h { --ph: 100dvh; } }
.is-h #track { position: relative; display: flex; height: var(--ph); width: max-content; will-change: transform; }
.is-h #thread { display: block; position: absolute; left: 0; top: 0; height: var(--ph); z-index: 5; pointer-events: none; overflow: visible; }
.is-h .thread-line { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .5s; }
/* the thread's end is the same ball of wool; it rolls as it unwinds (JS sizes, moves and turns it) */
.nib .dd { --pen: 1.6; overflow: visible; }
.is-h .nails circle { fill: var(--accent); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .45s var(--ease-spring), fill .5s; }
.is-h .nails circle.on { transform: scale(1); }
.is-h .tittle { opacity: 0; }
.is-h .panel { flex: none; height: var(--ph); padding: 0; }

.is-h .hero { width: 100vw; width: 100cqw; min-height: 0; display: block; }
.is-h .hero-left { position: absolute; left: var(--gutter); top: 25vh; }
.is-h .hero-name { font-size: min(10.2vw, 23vh); }
.is-h .hero .wall { position: absolute; right: var(--gutter); top: 13vh; width: min(44vw, 74vh); max-width: none; margin: 0; }
.is-h .hero-girl { position: absolute; left: var(--gutter); bottom: 4.5vh; }
.is-h .girl-art { width: auto; max-width: none; height: 32vh; }
.is-h .come { position: absolute; left: 50vw; top: 73vh; font-size: min(3.9vw, 8.4vh); }
.is-h .scroll-hint { display: flex; position: absolute; left: 50.3vw; top: 83vh; }

.is-h .works { display: flex; align-items: flex-start; padding: 0 6vw 0 9vw; }
.is-h .works-head { flex: none; width: 24vw; margin-top: 33vh; }
.is-h .works-list { flex-direction: row; gap: 8vw; margin: 0 0 0 7vw; }
.is-h .work { flex: none; width: min(33vw, 66vh); padding-top: var(--ny, 15vh); }
.is-h .work .anc { left: 50%; top: var(--ny, 15vh); }

.is-h .interlude { width: 30vw; }
.is-h .interlude::before { display: none; }
.is-h .interlude .cat { position: absolute; left: calc(15vw - 7.33vh); top: calc(66vh - 22vh * 1.04 - 1px); transform: none; z-index: 6; }
.is-h .interlude .cat-note { left: 16vw; top: 29vh; width: 12vw; }

.is-h .about { width: 262vw; display: block; }
/* blocks near the top stay below the nav on short screens (cards leave room for their tape and tilt) */
.is-h .about-title { position: absolute; left: 4vw; top: max(13vh, calc(var(--nav-h) + 1rem)); width: 36vw; }
.is-h .about-hi { position: absolute; left: 4vw; top: 53vh; width: 30vw; }
.is-h .polaroids { position: absolute; left: 45vw; top: 0; width: 90vw; height: var(--ph); display: block; padding: 0; }
.is-h .polaroids .pola { position: absolute; left: var(--pl); top: var(--pt); width: min(12.4vw, 24vh); }
.is-h .pola .anc { left: 50%; top: 0; }
.is-h .pola .anc.past { left: 115%; } /* past the last card the thread stays level, then drops to the girl's hands */
.is-h .pola .pola-clip { transform: translateX(-50%) translateY(-30%) scale(.2); opacity: 0; transition: transform .5s var(--ease-spring), opacity .25s; }
.is-h .pola.pinned .pola-clip { transform: translateX(-50%); opacity: 1; }
.is-h .about-outside { position: absolute; left: 70vw; top: 63vh; width: 33vw; }
.is-h .resume-girl { position: absolute; left: calc(140vw + 11vh); bottom: 6vh; height: 52vh; width: auto; margin: 0; }
.is-h .rg-note { left: 86%; right: auto; top: 3%; }
.is-h .notes { position: absolute; left: 193vw; top: 0; width: 66vw; height: var(--ph); display: block; padding: 0; }
.is-h .note { position: absolute; width: min(21vw, 44vh); }
.is-h .note:nth-child(1) { left: 0; top: max(15vh, calc(var(--nav-h) + 2rem)); --r: -3deg; }
.is-h .note:nth-child(2) { left: 22.5vw; top: 36vh; --r: 2.4deg; }
.is-h .note:nth-child(3) { left: 45vw; top: max(13vh, calc(var(--nav-h) + 2rem)); --r: -1.4deg; }

.is-h .contact { width: 100vw; width: 100cqw; display: block; }
.is-h .contact .fire { position: absolute; left: 7vw; bottom: 6vh; height: 84vh; width: auto; margin: 0; }
.is-h .contact-copy { position: absolute; left: 53vw; top: 22vh; width: 42vw; }

.is-h .end { width: 72vw; display: block; }
.is-h .end .vase { position: absolute; left: 0; bottom: 0; height: 76vh; width: auto; max-width: none; margin: 0; }
.is-h .again { position: absolute; left: 44vw; top: 30vh; }
.is-h .end-foot { position: absolute; left: 44vw; right: 4vw; bottom: 9vh; flex-direction: column; gap: 6px; margin: 0; }

/* ================================================================ intro states (JS adds .intro before first paint) */
.intro .hero-name .ch { transform: translateY(110%); }
.intro .hero-role, .intro .girl-cap, .intro .scroll-hint, .intro .nav, .intro .come-txt, .intro .theme-switch { opacity: 0; }
.intro .wf { opacity: 0; }
.intro .tittle, .intro .nib { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .work-img .veil { display: none; }
}
