/* gizembaytan.com
   Colours come from her paintings; change them here and in src/site.mjs (colors).
   One typeface for everything: Futura Handwritten (Billy Snyder). Only the cut-out name on the home page is Modak. */

:root {
  --paper: #fbf5ec;
  --ink: #1b1420;
  --pink: #ff5c93;
  --pink-deep: #d81f66; /* pink for small text on paper */
  --blue: #2b3fcb;
  --teal: #12a88d;
  --olive: #c4be28;
  --plum: #5b1238;
  --lilac: #bda9ec;
  --orange: #f47b2c;

  --text: "Futura Handwritten", "Futura", "Century Gothic", "Trebuchet MS", sans-serif;
  --display: var(--text);
  --hand: var(--text);
  --blob: "Modak", "Arial Rounded MT Bold", "Arial Black", sans-serif;

  --gut: clamp(1.1rem, 4.5vw, 4.5rem);
  --top: 5.25rem;
  /* canvas tooth: fine dark speckles laid over every colour */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .3 -.13'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* the hand-cut edge between colour blocks */
  --edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V20C70 2 140 34 230 16s150-14 240 6 170 14 250-8 180-12 260 8 150 10 220-2V40z'/%3E%3C/svg%3E");
  /* wobbly outline used on buttons, chips and stickers */
  --wob: 255px 18px 225px 18px / 18px 225px 18px 255px;
  --blob-a: 58% 42% 47% 53% / 46% 55% 45% 54%;
  --blob-b: 44% 56% 61% 39% / 57% 41% 59% 43%;
}

@font-face { font-family: "Futura Handwritten"; src: url("/assets/fonts/FuturaHandwritten.woff2") format("woff2"); font-display: swap; }
/* Modak is used for one thing only: the cut-out letters of her name on the home page */
@font-face { font-family: "Modak"; src: url("/assets/fonts/Modak-400-latin.woff2") format("woff2"); font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Modak"; src: url("/assets/fonts/Modak-400-latin-ext.woff2") format("woff2"); font-display: swap; unicode-range: U+0100-0130, U+0132-02BA, U+1E00-1E9F, U+20A0-20AB; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-synthesis: none; }
body {
  margin: 0;
  background: var(--paper) var(--grain);
  color: var(--ink);
  font: 400 1.2rem/1.55 var(--text);
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--pink); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gut), 86rem); margin-inline: auto; }
.vh, .defs { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; font-family: var(--hand); }
.skip:focus { top: 1rem; }

/* hand-drawn marks */
.mark { display: block; overflow: visible; filter: url(#wax); }
.mark path { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }

/* ── type ─────────────────────────────────────────────────────────────── */
.big {
  font: 400 clamp(3.8rem, 11.5vw, 10.5rem)/1 var(--display);
  color: var(--pink);
  letter-spacing: -.01em;
  text-wrap: balance;
}
.big__yr { color: var(--blue); display: inline-block; transform: rotate(-4deg) translateY(-.04em); }
.lede { font-size: clamp(1.4rem, 2.3vw, 1.95rem); line-height: 1.32; font-weight: 400; max-width: 36ch; text-wrap: pretty; }
.tag { font: 400 1.15rem/1.2 var(--hand); display: inline-flex; align-items: center; gap: .55em; }
.tag::before { content: ""; width: .95em; height: .85em; background: currentColor; border-radius: var(--blob-a); }
.btn {
  display: inline-block; padding: .7em 1.4em .75em; font: 400 1.2rem/1.2 var(--hand); text-decoration: none;
  border: 2.5px solid currentColor; border-radius: var(--wob);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--pink); color: var(--ink); border-color: var(--ink); transform: rotate(-1.5deg); }

/* colour blocks: background, text colour and the hand-cut top edge */
.say, .state, .pw, .hello, .foot, .lost { position: relative; background: var(--bg) var(--grain); color: var(--fg); }
.say::before, .state::before, .pw::before, .foot::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(16px, 2.6vw, 34px);
  background: var(--bg); -webkit-mask: var(--edge) center / 1200px 100% repeat-x; mask: var(--edge) center / 1200px 100% repeat-x;
  clip-path: inset(3px 0 0 0); /* hides a hairline some browsers draw along the top of the mask */
}

/* ── top bar ──────────────────────────────────────────────────────────── */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 30; height: var(--top);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-inline: var(--gut);
}
.top__name { font: 400 clamp(1.7rem, 2.3vw, 2.1rem)/1 var(--display); color: var(--pink-deep); text-decoration: none; transform: rotate(-3deg); padding-top: .2em; white-space: nowrap; transition: transform .25s; }
.top__name:hover { transform: rotate(2deg) scale(1.05); }
.nav { display: flex; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); }
.nav__links { display: flex; gap: clamp(1.4rem, 3.6vw, 3.6rem); }
.nav__links a, .nav__lang { font: 400 1.4rem/1 var(--hand); text-decoration: none; padding: .5rem 0; }
.nav__links a:hover, .nav__links a[aria-current], .nav__lang:hover {
  text-decoration: underline wavy var(--pink); text-decoration-thickness: 2.5px; text-underline-offset: .42em;
}
.nav__side { display: flex; align-items: center; gap: 1.3rem; }
.nav__ig { display: grid; place-items: center; width: 44px; height: 44px; color: var(--pink-deep); transition: transform .2s; }
.nav__ig:hover { transform: rotate(-10deg) scale(1.12); }
.top__btn { display: none; }

@media (max-width: 800px) {
  :root { --top: 4.25rem; }
  .top__btn {
    display: block; position: relative; z-index: 2; background: none; padding: .45em 1.1em .5em;
    font: 400 1.2rem/1.2 var(--hand); border: 2.5px solid currentColor; border-radius: var(--wob);
  }
  .top__btn-close, .nav-open .top__btn-open { display: none; }
  .nav-open .top__btn-close { display: inline; }
  .nav-open .top { position: fixed; color: var(--ink); }
  .nav-open .top__name { color: var(--ink); position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: space-between;
    padding: calc(var(--top) + 1.5rem) var(--gut) 2rem; background: var(--pink) var(--grain); color: var(--ink);
    clip-path: circle(0 at calc(100% - 3.5rem) 2rem); visibility: hidden; transition: clip-path .5s cubic-bezier(.7, 0, .2, 1), visibility 0s .5s;
  }
  .nav-open .nav { clip-path: circle(150vmax at calc(100% - 3.5rem) 2rem); visibility: visible; transition-delay: 0s; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { font: 400 clamp(3.2rem, 16vw, 5rem)/1.1 var(--display); padding: 0; }
  .nav__links a:nth-child(odd) { transform: rotate(-2deg); transform-origin: left; }
  .nav__links a[aria-current], .nav__links a:hover { text-decoration: none; color: var(--paper); }
  .nav__ig { color: var(--ink); }
  .nav__lang { font-size: 1.4rem; }
}

/* ── home: hero ───────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; overflow: hidden; isolation: isolate; }
.hero__stage { position: relative; display: grid; place-items: center; padding: var(--top) 0 0; min-height: 100svh; }
.hero__name {
  --fs: min(29.5vw, 46svh);
  position: relative; z-index: 1; font: 400 var(--fs)/1 var(--blob); color: var(--pink); text-align: center;
  -webkit-user-select: none; user-select: none; cursor: default; margin-top: -4svh;
}
.hero__base, .hero__paint { display: block; }
.hero__line { display: block; white-space: nowrap; line-height: .74; padding-top: .14em; }
.hero__line + .hero__line { margin-top: -.02em; }
.ltr { display: inline-block; transform: translateY(var(--y)) rotate(var(--r)); margin-inline: -.012em; }
.js .ltr { animation: plop .75s cubic-bezier(.3, 1.55, .5, 1) both; animation-delay: calc(var(--i) * 55ms + 80ms); }
@keyframes plop { from { opacity: 0; transform: translateY(.45em) rotate(calc(var(--r) * -4)) scale(.55); } }
.hero__paint {
  --mx: 30%; --my: 38%; --rad: calc(var(--fs) * .46);
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image:
    radial-gradient(circle at var(--mx) var(--my), #000 var(--rad), transparent calc(var(--rad) + 1.5px)),
    radial-gradient(circle at calc(var(--mx) + var(--rad) * .8) calc(var(--my) + var(--rad) * .45), #000 calc(var(--rad) * .62), transparent calc(var(--rad) * .62 + 1.5px)),
    radial-gradient(circle at calc(var(--mx) - var(--rad) * .7) calc(var(--my) - var(--rad) * .5), #000 calc(var(--rad) * .5), transparent calc(var(--rad) * .5 + 1.5px));
  mask-image:
    radial-gradient(circle at var(--mx) var(--my), #000 var(--rad), transparent calc(var(--rad) + 1.5px)),
    radial-gradient(circle at calc(var(--mx) + var(--rad) * .8) calc(var(--my) + var(--rad) * .45), #000 calc(var(--rad) * .62), transparent calc(var(--rad) * .62 + 1.5px)),
    radial-gradient(circle at calc(var(--mx) - var(--rad) * .7) calc(var(--my) - var(--rad) * .5), #000 calc(var(--rad) * .5), transparent calc(var(--rad) * .5 + 1.5px));
}
.hero__paint .ltr { color: transparent; background: var(--img) center / cover; -webkit-background-clip: text; background-clip: text; }
.hero__me {
  position: absolute; z-index: 2; left: 50%; bottom: 0; height: min(79svh, 66vw); width: auto; max-width: none;
  transform: translateX(-52%); pointer-events: none;
}
.js .hero__me { animation: rise .9s .55s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes rise { from { transform: translate(-52%, 12%); opacity: 0; } }

@media (max-aspect-ratio: 1/1) {
  .hero__name { --fs: 25vw; transform: scaleY(1.5); margin-top: -36svh; }
  .hero__me { height: min(58svh, 128vw); }
}

/* ── home: her sentence ───────────────────────────────────────────────── */
.say { padding: clamp(4.5rem, 11vw, 10rem) 0; }
.say__p { font-size: clamp(1.7rem, 3.9vw, 3.5rem); line-height: 1.2; max-width: 26ch; text-wrap: balance; }
.say .mark { width: clamp(8rem, 16vw, 13rem); color: var(--pink); margin: 1.8rem 0 2.2rem; }

/* ── home: three doors ────────────────────────────────────────────────── */
.doors { padding: 0 0 clamp(5rem, 11vw, 10rem); }
.doors--five { padding-top: clamp(4rem, 9vw, 8rem); }
.doors .doors__h--pf { color: var(--pink-deep); }
.doors .doors__h--pf .mark { color: var(--blue); }
.doors__more { margin-top: clamp(2.6rem, 5vw, 4rem); }
@media (min-width: 801px) {
  .doors--five .doors__grid { grid-template-columns: repeat(5, 1fr); gap: clamp(.8rem, 1.6vw, 1.6rem); }
  .doors--five .door { padding: clamp(.9rem, 1.4vw, 1.4rem); }
  .doors--five .door__t { font-size: clamp(1.5rem, 2.1vw, 2.1rem); }
  .doors--five .door:nth-child(4) { transform: rotate(1.4deg) translateY(.9rem); }
  .doors--five .door:nth-child(5) { transform: rotate(-1deg); }
  .doors--five .door:nth-child(n):hover { transform: rotate(0) scale(1.03); }
}
.doors--five .door:nth-child(4) .door__img { border-radius: var(--blob-b); }
@media (max-width: 1100px) and (min-width: 801px) { .doors--five .doors__grid { grid-template-columns: repeat(3, 1fr); row-gap: 2.4rem; } }
.doors__h { position: relative; display: inline-block; font: 400 clamp(2.8rem, 7.5vw, 6.4rem)/1 var(--display); color: var(--blue); margin-bottom: clamp(2rem, 5vw, 4rem); padding: .1em .2em .1em 0; }
.doors__h .mark { position: absolute; inset: -6% -9% -4% -9%; width: 118%; height: 110%; color: var(--pink); }
.doors__h .mark path { stroke-width: 3; }
.doors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2.2rem); }
.door {
  display: flex; flex-direction: column; gap: .2rem; padding: clamp(1.1rem, 2.2vw, 2rem); background: var(--bg) var(--grain); color: var(--fg);
  text-decoration: none; border-radius: var(--wob); transition: transform .35s cubic-bezier(.3, 1.5, .5, 1);
}
.door:nth-child(1) { transform: rotate(-1.5deg); }
.door:nth-child(2) { transform: rotate(1deg) translateY(1.2rem); }
.door:nth-child(3) { transform: rotate(-.6deg); }
.door:hover { transform: rotate(0) scale(1.03); }
.door__img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--blob-a); margin-bottom: 1.1rem; background: rgba(255, 255, 255, .25); transition: border-radius .6s, transform .6s; }
.door:nth-child(2) .door__img { border-radius: var(--blob-b); }
.door:hover .door__img { border-radius: var(--blob-b); }
.door:nth-child(2):hover .door__img { border-radius: var(--blob-a); }
.door:hover .door__img { transform: scale(1.04) rotate(2deg); }
.door__t { font: 400 clamp(1.9rem, 3.2vw, 2.9rem)/1.05 var(--display); }
.door__n { font: 400 1.2rem/1.2 var(--hand); }
@media (max-width: 800px) {
  .doors__grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .door, .door:nth-child(n) { display: grid; grid-template-columns: 34% 1fr; column-gap: 1.1rem; row-gap: .1rem; align-items: center; transform: none; }
  .door__img { grid-row: 1 / 3; margin: 0; }
  .door__t { align-self: end; }
  .door__n { align-self: start; }
}

/* ── page heads ───────────────────────────────────────────────────────── */
.phead { position: relative; padding: calc(var(--top) + clamp(1.5rem, 5vw, 4rem)) 0 clamp(3rem, 7vw, 6rem); }
.phead .lede { margin-top: 1.4rem; }
.phead__mark { width: clamp(8rem, 16vw, 13rem); color: var(--teal); margin-top: 1.6rem; }
.phead__btn { margin-top: 1.8rem; }
.phead__mark--loop { position: absolute; right: 4%; top: calc(var(--top) + 1rem); width: clamp(7rem, 18vw, 16rem); color: var(--olive); transform: rotate(8deg); margin: 0; }

/* ── bio ──────────────────────────────────────────────────────────────── */
.bio { padding: calc(var(--top) + clamp(1rem, 3vw, 3rem)) 0 clamp(5rem, 10vw, 9rem); overflow: hidden; }
.bio__in { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.bio__pic { position: sticky; top: 1.5rem; padding-top: 7%; }
.bio__blob { position: absolute; inset: 9% -4% 6% -6%; background: var(--teal) var(--grain); border-radius: var(--blob-b); filter: url(#cut); animation: morph 14s ease-in-out infinite alternate; }
@keyframes morph { to { border-radius: var(--blob-a); transform: rotate(4deg); } }
.bio__pic img { position: relative; width: 86%; margin-inline: auto; }
.bio__spiral { position: absolute; right: -2%; top: 4%; width: 24%; color: var(--pink); }
.bio__txt > p { max-width: 58ch; margin-top: 1.25rem; }
.bio__txt > .lede { max-width: 30ch; margin-top: 1.8rem; }
.facts { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 2rem; border-top: 2.5px solid var(--ink); padding-top: 1.4rem; max-width: 40rem; }
.facts dt { font: 400 1.1rem/1.2 var(--hand); color: var(--pink-deep); }
.facts dd { font-weight: 400; font-size: 1.1rem; line-height: 1.3; }
@media (max-width: 800px) {
  .bio__in { grid-template-columns: 1fr; }
  .bio__pic { position: relative; top: 0; order: 2; width: min(78%, 22rem); margin-inline: auto; }
}

.state { padding: clamp(4.5rem, 10vw, 9rem) 0 clamp(4rem, 9vw, 8rem); }
.state__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.state__h { font: 400 clamp(2.2rem, 4.6vw, 4.2rem)/1.05 var(--display); margin: 1rem 0 2.2rem; text-wrap: balance; padding-top: .1em; }
.state__art { width: min(72%, 24rem); transform: rotate(-3deg); box-shadow: 0 30px 50px -30px rgba(27, 20, 32, .7); }
.state__txt p { font-size: clamp(1.1rem, 1.55vw, 1.32rem); line-height: 1.55; max-width: 44ch; }
.state__txt p + p { margin-top: 1.25em; }
.state__txt p:last-of-type { font-weight: 400; }
.words { display: flex; flex-wrap: wrap; gap: .7rem .8rem; margin-top: 2.6rem; }
.words li { font: 400 1.1rem/1 var(--hand); padding: .6em 1.05em .68em; background: var(--bg); color: var(--fg); border-radius: var(--wob); transform: rotate(var(--r)); }
@media (max-width: 800px) { .state__in { grid-template-columns: 1fr; } }

.onward, .pdf { padding: clamp(4rem, 9vw, 8rem) 0; text-align: center; }
.onward__a, .pdf__a { display: inline-flex; align-items: center; gap: .3em; font: 400 clamp(2.2rem, 5.8vw, 4.8rem)/1.05 var(--display); color: var(--blue); text-decoration: none; transition: color .2s, transform .3s cubic-bezier(.3, 1.5, .5, 1); text-wrap: balance; }
.onward__a:hover, .pdf__a:hover { color: var(--pink); transform: rotate(-2deg) scale(1.03); }
.onward__a .mark, .pdf__a .mark { width: .9em; flex: none; color: var(--pink); transform: rotate(-30deg) scaleY(-1); }
.pdf__a .mark { transform: rotate(60deg); }
.pdf__n { font: 400 1.15rem/1.3 var(--hand); margin-top: .6rem; }

/* ── portfolio ────────────────────────────────────────────────────────── */
.pw { padding: clamp(4.5rem, 10vw, 9rem) 0 clamp(4rem, 9vw, 8rem); scroll-margin-top: 0; }
.pw__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.8rem, 6vw, 6rem); align-items: center; }
.pw--flip .pw__fig { order: 2; }
.pw--flip .pw__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.pw--wide .pw__in { grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); }
.pw--wide.pw--flip .pw__in { grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); }
.pw__fig { display: block; justify-self: center; cursor: zoom-in; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.pw__fig img { width: auto; max-width: 100%; max-height: 84svh; box-shadow: 0 40px 70px -38px rgba(0, 0, 0, .65), 0 2px 6px rgba(0, 0, 0, .18); }
.pw__fig:hover { transform: scale(1.015) rotate(-.6deg); }
.pw--flip .pw__fig:hover { transform: scale(1.015) rotate(.6deg); }
.pw__no { font: 400 1.15rem/1 var(--hand); display: inline-block; padding: .5em .8em .58em; border: 2.5px solid currentColor; border-radius: var(--blob-a); transform: rotate(-6deg); }
.pw__t { font: 400 clamp(2.5rem, 5.2vw, 4.8rem)/1 var(--display); margin-top: 1.1rem; text-wrap: balance; overflow-wrap: break-word; }
.pw__alt { font: 400 clamp(1.1rem, 1.6vw, 1.35rem)/1.25 var(--hand); margin-top: .5rem; opacity: .85; }
.pw__meta { margin-top: 1.5rem; font-weight: 400; font-size: 1.2rem; line-height: 1.4; max-width: 30ch; padding-top: 1rem; border-top: 2.5px solid currentColor; }
.pw__q { margin-top: 1.6rem; }
.pw__q p { font: 400 clamp(1.15rem, 1.7vw, 1.45rem)/1.4 var(--hand); max-width: 26ch; text-wrap: pretty; }
.pw__q p::before { content: "“"; display: block; font: 400 3.6rem/.6 var(--display); padding-top: .35em; opacity: .9; }
@media (max-width: 800px) {
  .pw.pw .pw__in.pw__in { grid-template-columns: 1fr; }
  .pw--flip .pw__fig { order: 0; }
  .pw__fig img { max-height: 76svh; }
}

.tuft { position: relative; height: min(92svh, 60rem); min-height: 26rem; display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center; }
.tuft__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tuft::after { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, rgba(27, 20, 32, .5), rgba(27, 20, 32, .12)); }
.tuft__in { position: relative; z-index: 1; padding: 0 var(--gut); }
.tuft__t { font: 400 clamp(3.4rem, 11vw, 9.5rem)/1 var(--display); text-wrap: balance; text-shadow: 0 2px 30px rgba(27, 20, 32, .45); }
.tuft__s { font: 400 clamp(1.2rem, 2.4vw, 1.9rem)/1.2 var(--hand); margin-top: .6rem; }

/* ── works ────────────────────────────────────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2.4rem; }
.chip { background: none; border: 2.5px solid var(--ink); border-radius: var(--wob); padding: .55em 1.1em .62em; font: 400 1.2rem/1 var(--hand); transition: background .2s, color .2s, transform .2s; }
.chip span { opacity: .6; font-weight: 400; margin-left: .2em; }
.chip:nth-child(even) { transform: rotate(1.5deg); }
.chip:nth-child(odd) { transform: rotate(-1deg); }
.chip:hover { background: var(--pink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.wall { padding: 0 var(--gut) clamp(5rem, 10vw, 9rem); }
.wall__list { columns: 4 15rem; column-gap: clamp(1.2rem, 2.6vw, 2.6rem); max-width: 100rem; margin-inline: auto; }
.wall__i { break-inside: avoid; margin-bottom: clamp(1.6rem, 3vw, 2.8rem); }
.wall__i[hidden] { display: none; }
.wall__i a { display: block; text-decoration: none; cursor: zoom-in; }
.wall__i img { width: 100%; box-shadow: 0 18px 30px -22px rgba(27, 20, 32, .55); transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.wall__i:nth-child(odd) a:hover img { transform: rotate(-1.2deg) scale(1.02); }
.wall__i:nth-child(even) a:hover img { transform: rotate(1.2deg) scale(1.02); }
.wall__t { display: block; font: 400 1.3rem/1.2 var(--hand); margin-top: .8rem; }
.wall__m { display: block; font-size: 1rem; line-height: 1.3; opacity: .72; margin-top: .1rem; }
.wall__i a:hover .wall__t { text-decoration: underline wavy var(--pink); text-decoration-thickness: 2px; text-underline-offset: .3em; }
@media (max-width: 560px) { .wall__list { columns: 2; } .wall__t { font-size: .95rem; } }

/* enlarged view */
.zoom { border: 0; padding: 0; margin: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: var(--ink) var(--grain); color: var(--paper); }
.zoom::backdrop { background: var(--ink); }
.zoom__in { height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 22rem); }
.zoom__pic { position: relative; min-height: 0; padding: clamp(1rem, 3vw, 3rem); display: grid; place-items: center; }
.zoom__pic img { max-width: 100%; max-height: calc(100dvh - 2 * clamp(1rem, 3vw, 3rem)); width: auto; height: auto; object-fit: contain; box-shadow: 0 40px 80px -30px #000; }
.zoom__side { display: flex; flex-direction: column; padding: clamp(1.2rem, 2.5vw, 2.5rem); gap: .6rem; overflow: auto; }
.zoom__close { align-self: flex-end; margin-bottom: auto; }
.zoom__t { font: 400 clamp(2rem, 3.1vw, 3rem)/1.05 var(--display); color: var(--pink); overflow-wrap: break-word; }
.zoom__alt { font: 400 1.15rem/1.25 var(--hand); opacity: .85; }
.zoom__meta { font-weight: 400; font-size: 1.15rem; line-height: 1.4; padding-top: .9rem; margin-top: .6rem; border-top: 2.5px solid currentColor; }
.zoom__q { font: 400 1.1rem/1.4 var(--hand); margin-top: .6rem; }
.zoom__ask { margin-top: 1rem; font: 400 1.15rem/1.2 var(--hand); color: var(--pink); text-decoration: underline wavy; text-underline-offset: .3em; align-self: flex-start; }
.zoom__nav { display: flex; gap: .7rem; margin-top: 1.4rem; }
.zoom button { background: none; border: 2.5px solid currentColor; border-radius: var(--wob); padding: .5em 1em .56em; font: 400 1.15rem/1 var(--hand); transition: background .2s, color .2s; }
.zoom button:hover { background: var(--pink); color: var(--ink); border-color: var(--pink); }
@media (max-width: 800px) {
  .zoom__in { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .zoom__pic img { max-height: 58dvh; }
  .zoom__side { padding-top: 0; }
  .zoom__close { position: absolute; top: .8rem; right: .8rem; margin: 0; background: var(--ink) !important; z-index: 2; }
  .zoom__t { font-size: 2rem; }
  .zoom__nav { margin-top: .8rem; }
}

/* ── contact ──────────────────────────────────────────────────────────── */
.hello { --fg: var(--ink); background: #fff; padding: calc(var(--top) + clamp(1.5rem, 5vw, 4rem)) 0 clamp(4rem, 9vw, 8rem); min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.p-contact { background: #fff; } /* the white of her drawing, so the page and the drawing are one sheet */
.hello__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hello__h { font-size: clamp(4rem, 10.5vw, 9.5rem); }
.hello__list { margin-top: 2.4rem; display: grid; gap: 1.5rem; }
.hello__list dt { font: 400 1.15rem/1.2 var(--hand); color: var(--pink-deep); margin-bottom: .15rem; }
.hello__list dd { font-size: clamp(1.3rem, 2.2vw, 1.8rem); line-height: 1.25; }
.hello__list a { text-decoration: underline wavy var(--pink); text-decoration-thickness: 2.5px; text-underline-offset: .32em; }
.hello__list a:hover { color: var(--pink-deep); }
.hello__mail { font-size: clamp(1.45rem, 3.4vw, 3rem); }
.hello__n { display: block; font: 400 1.15rem/1.3 var(--hand); opacity: .8; margin-top: .5rem; }
.hello__fig { justify-self: center; width: min(100%, 34rem); }
.hello__fig img { width: 100%; }
@media (max-width: 800px) { .hello__in { grid-template-columns: 1fr; } .hello__fig { width: 84%; } }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { --bg: var(--ink); --fg: var(--paper); padding: clamp(4rem, 9vw, 7.5rem) 0 2rem; margin-top: clamp(16px, 2.6vw, 34px); }
.foot__mail { display: inline-block; font: 400 clamp(1.7rem, 6.2vw, 5.4rem)/1.1 var(--display); color: var(--pink); text-decoration: none; transition: color .2s, transform .3s cubic-bezier(.3, 1.5, .5, 1); transform-origin: left; overflow-wrap: anywhere; }
.foot__mail:hover { color: var(--olive); transform: rotate(-1.5deg); }
.foot__mark { width: clamp(9rem, 22vw, 18rem); color: var(--teal); margin-top: .8rem; }
.foot__row { display: flex; flex-wrap: wrap; gap: .8rem 2.5rem; margin-top: clamp(2.5rem, 6vw, 5rem); font: 400 1.2rem/1.2 var(--hand); }
.foot__row a { text-decoration: none; }
.foot__row a:hover { text-decoration: underline wavy var(--pink); text-underline-offset: .35em; }
.foot__small { margin-top: 1.4rem; font-size: 1rem; opacity: .7; }
.nofootask .foot__mail, .nofootask .foot__mark { display: none; }
.nofootask .foot { padding-top: 2.5rem; margin-top: 0; }
.nofootask .foot::before { display: none; }
.nofootask .foot__row { margin-top: 0; }

/* ── 404 ──────────────────────────────────────────────────────────────── */
.lost { min-height: 86svh; display: grid; align-items: center; padding: calc(var(--top) + 2rem) 0 5rem; }
.lost .big { color: var(--plum); }
.lost__n { font: 400 1.3rem/1 var(--hand); }
.lost .lede { margin-top: 1.4rem; }
.lost .mark { width: 8rem; margin-top: 2rem; color: var(--pink); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
