:root {
  --paper: #FFFFFF;
  --ink: #3A1F2B;
  --ink-muted: #6B4653;
  --rose: #A8233A;
  --rose-deep: #9F485B;
  --hairline: #EADCE1;

  --display: 'Cormorant Garamond', Georgia, serif;
  --title: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;

  --header-h: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  background: rgba(246,238,227,0.86);
  backdrop-filter: blur(6px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 22px;
  height: auto;
  overflow: visible;
}
.brand-mark path {
  fill: none;
  stroke: var(--rose);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.brand-mark .spark { fill: var(--rose); stroke: none; }
.brand-name {
  font-family: var(--title);
  font-weight: 500;
  font-size: 24px;
  color: var(--rose);
}

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  font-family: var(--display);
  font-size: 19px;
  font-style: italic;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--rose); }

/* ---------- hero ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 8px) 24px 40px;
  position: relative;
}
main section.hero { border-top: none; }

.hero-name {
  font-family: var(--title);
  font-weight: 500;
  font-size: clamp(40px, 5.4vw, 62px);
  line-height: 1;
  color: var(--rose);
  margin: 0 0 12px;
}

.hero-role {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0;
}

.hero-collage {
  position: relative;
  width: min(100%, 1000px, calc((100vh - 230px) * 1.6667));
  margin-top: 20px;
}

.collage {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.collage path {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: ink 2.4s cubic-bezier(0.45, 0, 0.2, 1) forwards;
  animation-delay: calc(var(--d, 0s) * 1.3 + 0.35s);
  transition: stroke 0.25s;
}
.collage .thin { stroke-width: 1.1; }
.collage .fillw { fill: var(--paper); }
.collage .dotfill { fill: var(--rose); }
.collage .el:hover path { stroke: var(--rose-deep); }
@keyframes ink { to { stroke-dashoffset: 0; } }

/* the door at the centre of the collage */
.door-leaf {
  transform-box: fill-box;
  transition: transform 0.8s cubic-bezier(0.6, 0, 0.3, 1);
}
.door-leaf-left { transform-origin: 0% 50%; }
.door-leaf-right { transform-origin: 100% 50%; }
.hero-collage:has(.door-hit:hover) .door-leaf,
.hero-collage:has(.door-hit:focus-visible) .door-leaf { transform: scaleX(0.82); }
.hero-collage.open .door-leaf { transform: scaleX(0.04); }

.door-hit {
  position: absolute;
  left: 44%;
  top: 53.6%;
  width: 12%;
  height: 36.4%;
  padding: 0;
  background: none;
  border: none;
  border-radius: 50% 50% 0 0 / 22% 22% 0 0;
  cursor: pointer;
}
.door-hit:focus-visible { outline: 1px dashed var(--rose); outline-offset: 4px; }

.door-label {
  margin-top: 18px;
  background: none;
  border: none;
  padding: 6px 4px;
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color 0.2s;
}
.door-label:hover, .door-label:focus-visible { color: var(--rose); }

.hero-fade {
  opacity: 0;
  transform: translateY(10px);
  animation: heroFadeIn 0.9s ease forwards;
}
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- the thread that ties the pages together ---------- */

body { position: relative; }
main, .site-footer { position: relative; z-index: 1; }
.threads {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.threads path {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}

@media (max-width: 760px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 56px); padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fade { animation: none; opacity: 1; transform: none; }
  .collage path { animation: none; stroke-dashoffset: 0; }
  .door-leaf { transition: none; }
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.about-figure {
  position: relative;
  max-width: 280px;
}
.about-figure img {
  width: 100%;
  display: block;
  filter: grayscale(1);
  border-radius: 2px;
}
.miro-marks {
  position: absolute;
  top: -34px;
  left: -8%;
  width: 116%;
  height: calc(100% + 68px);
  pointer-events: none;
  overflow: visible;
}

/* Qajar-inspired painted mask */
@media (min-width: 761px) {
  .about-grid:has(.queen-wrap) { grid-template-columns: minmax(0, 0.9fr) 1.1fr; gap: 56px; align-items: center; }
}
@media (max-width: 760px) {
  .about-figure.queen-wrap { max-width: 300px; margin: 0 auto; }
}
.about-figure.queen-wrap { max-width: 290px; }
.mask-art { display: block; width: 100%; height: auto; overflow: visible; }
.mask-art path {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}
.mask-art .thin { stroke-width: 1; }
.mask-art .fillw { fill: var(--paper); }
.about-figure.in .mask-art path {
  animation: ink 2.2s cubic-bezier(0.45, 0, 0.2, 1) forwards;
  animation-delay: calc(var(--d, 0s) * 1.6 + 0.2s);
}
.mask-art .float { animation: maskFloat 6s ease-in-out infinite; }
/* the dancer balances on her palms instead of floating */
.dancer .float { transform-box: fill-box; transform-origin: 50% 100%; animation: balance 5s ease-in-out infinite; }
@keyframes balance {
  0%, 100% { transform: rotate(-0.8deg); }
  50% { transform: rotate(0.8deg); }
}
.dancer path { stroke-width: 1.7; }
.dancer .thin { stroke-width: 1.25; }
.dancer .dancer-mask path { stroke-width: 2.7; }
.dancer .dancer-mask .thin { stroke-width: 2; }
.about-figure.in .dancer .dancer-mask path { animation-delay: calc(var(--d, 0s) * 1.6 + 1.6s); }
@keyframes maskFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(-1deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mask-art path { stroke-dashoffset: 0; }
  .about-figure.in .mask-art path { animation: none; }
  .mask-art .float { animation: none; }
}

.about-name {
  font-family: var(--title);
  font-weight: 500;
  font-size: 26px;
  color: var(--rose-deep);
  margin: 0 0 18px;
}
.about-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 20px;
}
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* ---------- work ---------- */

.work { max-width: 1400px; }

.work-scene {
  position: relative;
  width: 100%;
  line-height: 0;
}
.work-scene img {
  width: 100%;
  height: auto;
  display: block;
}

/* Colour — a fan of swatches, drawn into the room as a live element */
.work-scene { container-type: inline-size; }
.scene-tag {
  position: absolute;
  display: flex;
  align-items: flex-end;
  gap: 0.2cqw;
  line-height: 1;
  border-radius: 4px;
}
.scene-logo {
  width: 8.5cqw;
  height: auto;
  overflow: visible;
  /* set into the room: seen from the front-left and slightly above, like the vase and lamp */
  transform: perspective(500px) rotateY(24deg) rotateX(14deg) skewY(-4deg);
  transform-origin: 50% 90%;
}
.scene-logo path, .scene-logo circle {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.scene-logo .card { fill: var(--paper); }
.scene-logo .tex { stroke-width: 0.9; }
.scene-logo .pin { fill: var(--paper); }
.scene-logo ellipse { fill: var(--paper); stroke: var(--rose); stroke-width: 1.5; }
.scene-logo .swatch {
  transform-box: view-box;
  transform-origin: 50px 96px;
  transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.item-colour:hover .s0, .item-colour:focus-visible .s0 { transform: rotate(-9deg); }
.item-colour:hover .s1, .item-colour:focus-visible .s1 { transform: rotate(-3deg); }
.item-colour:hover .s2, .item-colour:focus-visible .s2 { transform: rotate(3deg); }
.item-colour:hover .s3, .item-colour:focus-visible .s3 { transform: rotate(9deg); }
/* one label style for every project in the room */
.scene-label {
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.15cqw;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}
.work-scene > .scene-label { position: absolute; }
.scene-label--center { align-items: center; transform: translateX(-50%); }
.scene-title { color: var(--rose-deep); }
.scene-sub { color: var(--ink-muted); }
.work-scene > .scene-label:hover .scene-title,

.scene-tag .scene-label { padding-bottom: 0.4cqw; margin-left: 0.6cqw; }

.scene-tag:focus-visible .s0 { transform: rotate(-9deg); }
.item-colour:hover .s1, .item-colour:focus-visible .s1 { transform: rotate(-3deg); }
.item-colour:hover .s2, .item-colour:focus-visible .s2 { transform: rotate(3deg); }
.item-colour:hover .s3, .item-colour:focus-visible .s3 { transform: rotate(9deg); }
.scene-label {
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 1.15cqw;
  line-height: 0.95;
  padding-bottom: 0.6cqw;
}
.scene-title { color: var(--rose-deep); }
.scene-sub { color: var(--ink-muted); }
.scene-tag:focus-visible { outline: 1px dashed var(--rose); outline-offset: 6px; }
@media (prefers-reduced-motion: reduce) {
  .scene-logo .swatch { transition: none; }
}

/* project objects: no boxes — the object itself answers the hover */
.scene-item { color: inherit; }
.scene-item .hit, .scene-item .obj, .scene-item:not(.scene-tag) > .scene-label { position: absolute; }
.scene-tag { color: inherit; }
.scene-item .hit { display: block; }
.scene-item .obj { display: block; height: auto; overflow: visible; pointer-events: none; }
.scene-item:focus-visible { outline: none; }
.scene-item:focus-visible .scene-title { outline: 1px dashed var(--rose); outline-offset: 4px; }
.scene-item:hover .scene-title, .scene-item:focus-visible .scene-title { color: var(--rose); }

/* Nira — the vase lifts and tips, then settles */
.obj-nira { transform-origin: 55% 100%; transition: transform 0.6s cubic-bezier(0.3, 1.6, 0.5, 1); }
.item-nira:hover .obj-nira, .item-nira:focus-visible .obj-nira { transform: translateY(-5%) rotate(-7deg); }

/* Lampa — the lamp sways on its base and switches on */
.obj-lampa path, .obj-lampa circle { fill: var(--paper); stroke: var(--rose); stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.obj-lampa { transform-origin: 50% 96%; }
.item-lampa:hover .obj-lampa, .item-lampa:focus-visible .obj-lampa { animation: lampSway 1.4s ease-in-out; }
.lamp-rays { opacity: 0; transition: opacity 0.4s ease; }
.item-lampa:hover .lamp-rays, .item-lampa:focus-visible .lamp-rays { opacity: 1; }
@keyframes lampSway {
  0% { transform: rotate(0); }
  25% { transform: rotate(-6deg); }
  55% { transform: rotate(4deg); }
  80% { transform: rotate(-2deg); }
  100% { transform: rotate(0); }
}

/* Feeling Human — the crumpled form breathes open */
/* the form sits half behind the chair: it is clipped at the chair's edge, so as it moves
   the hidden side stays hidden and the sculpture never looks cut off */
.fh-clip { position: absolute; overflow: hidden; pointer-events: none; }
.fh-clip .obj-fh { position: absolute; }
.fh-edge { position: absolute; height: auto; overflow: visible; pointer-events: none; }
.fh-edge path { fill: none; stroke: #8E1E30; stroke-width: 2.1; stroke-linecap: round; }
.obj-fh { transform-origin: 0% 55%; transition: transform 0.8s cubic-bezier(0.3, 1.5, 0.5, 1); }
.item-fh:hover .obj-fh, .item-fh:focus-visible .obj-fh { transform: scale(1.18, 1.1) rotate(-6deg); }

@media (prefers-reduced-motion: reduce) {
  .obj-nira, .obj-fh { transition: none; }
  .item-lampa:hover .obj-lampa { animation: none; }
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.work-featured {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.featured-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 320px;
  max-width: 420px;
  padding: 22px 0;
}
.featured-eyebrow {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.featured-title {
  font-family: var(--title);
  font-weight: 500;
  font-size: 32px;
  color: var(--rose);
}
.featured-role {
  font-size: 14px;
  color: var(--ink-muted);
}
.featured-card:hover .featured-title { color: var(--rose-deep); }

/* ---------- contact ---------- */

.contact-intro {
  font-size: 16px;
  color: var(--ink-muted);
  max-width: 52ch;
  margin: 0 0 48px;
  line-height: 1.6;
}

.contact-form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 8px 2px;
  resize: vertical;
  transition: border-color 0.2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--rose);
}
.field.invalid input,
.field.invalid textarea { border-bottom-color: var(--rose); }
.field-error {
  display: none;
  font-size: 12.5px;
  color: var(--rose);
}
.field.invalid .field-error { display: block; }

.submit-btn {
  align-self: flex-start;
  margin-top: 6px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--rose);
  border: none;
  padding: 14px 30px;
  cursor: pointer;
  transition: background 0.2s;
}
.submit-btn:hover { background: var(--rose-deep); }
.submit-btn:disabled { opacity: 0.6; cursor: default; }

/* the send button is a bird — it lifts its wing on hover and flies off when the message is sent */
.submit-btn.submit-bird {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none;
  padding: 4px 0;
  color: var(--ink-muted);
  text-transform: none;
  letter-spacing: 0;
}
.submit-btn.submit-bird:hover { background: none; }
.submit-bird .bird { width: 96px; height: auto; overflow: visible; transition: transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1); }
.submit-bird .bird path, .submit-bird .bird circle {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.submit-bird .bird .fill { fill: var(--paper); }
.submit-bird .bird .fine { stroke-width: 1; }
.submit-bird .bird .eye { fill: var(--rose); stroke: none; }
.submit-bird .wing { transform-box: view-box; transform-origin: 44px 42px; }
.submit-bird:hover .bird, .submit-bird:focus-visible .bird { transform: translate(4px, -4px) rotate(-4deg); }
.submit-bird:hover .wing, .submit-bird:focus-visible .wing { animation: flap 0.6s ease-in-out infinite; }
@keyframes flap {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(18deg) scaleY(0.82); }
}
.bird-label {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  color: var(--ink-muted);
  transition: color 0.2s;
}
.submit-bird:hover .bird-label, .submit-bird:focus-visible .bird-label { color: var(--rose); }
.submit-bird:focus-visible { outline: 1px dashed var(--rose); outline-offset: 6px; }
.submit-bird.flown .bird { animation: flyAway 1.6s ease-in forwards; }
.submit-bird.flown .wing { animation: flap 0.3s ease-in-out infinite; }
@keyframes flyAway {
  0% { transform: none; opacity: 1; }
  70% { transform: translate(260px, -120px) rotate(-14deg) scale(0.7); opacity: 0.9; }
  100% { transform: translate(340px, -170px) rotate(-18deg) scale(0.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .submit-bird .bird, .submit-bird .wing { transition: none; animation: none !important; }
}

.form-status {
  font-size: 14px;
  margin: 0;
  min-height: 18px;
  color: var(--ink-muted);
}
.form-status.success { color: var(--rose-deep); }
.form-status.error { color: var(--rose); }

/* ---------- generic sections (placeholder for now) ---------- */

main section {
  padding: 140px 48px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--hairline);
}

/* ---------- project page ---------- */

.project-main {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 64px) 24px 100px;
}
.back-link {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-muted);
  margin-bottom: 40px;
}
.back-link:hover { color: var(--rose); }
.project-eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin: 0 0 10px;
}
.project-title {
  font-family: var(--title);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 60px);
  color: var(--rose);
  margin: 0 0 14px;
}
.project-role {
  font-size: 15px;
  color: var(--ink-muted);
  margin: 0 0 56px;
}
.project-hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--hairline-strong, var(--hairline));
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 13px;
  margin-bottom: 56px;
  text-align: center;
  padding: 24px;
}
.project-block { margin-bottom: 44px; }
.project-block h2 {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 12px;
}
.project-block p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 14px;
}
.project-block.placeholder p {
  color: var(--ink-muted);
  font-style: italic;
}

/* ---------- project storytelling stages ---------- */

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 56px;
  padding-left: 28px;
  border-left: 1px solid var(--hairline);
}
.roadmap span {
  font-family: var(--display);
  font-style: italic;
  font-size: 15px;
  color: var(--ink-muted);
}
.roadmap span.here { color: var(--rose); }

.stage { margin-bottom: 72px; }
.stage-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin: 0 0 10px;
}
.stage h2 {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 14px;
}
.stage p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 16px;
}
.stage-media {
  margin-top: 24px;
}
.stage-media img {
  width: 100%;
  display: block;
  border-radius: 3px;
}
.stage-media figure {
  margin: 0;
}
.stage-media.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.stage-media.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.stage-media.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.stage-media.pair figure,
.stage-media.grid-3 figure,
.stage-media.grid-4 figure { margin: 0; }
.stage-media.pair img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.stage-media.pair.contain img {
  object-fit: contain;
  background: var(--card);
  border: 1px solid var(--hairline);
}
.stage-media.grid-3 img {
  aspect-ratio: 3 / 5;
  object-fit: contain;
}
.stage-media.grid-4 img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.stage-media.swatches {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.stage-media.swatches img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 2px;
}
.stage-media figcaption {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 8px;
  text-align: center;
}
.stage-media.wide { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.stage-media.wide img { max-width: 1100px; margin: 0 auto; }
.stage-media.inset img { max-width: 420px; margin: 0 auto; display: block; }

@media (max-width: 640px) {
  .stage-media.pair,
  .stage-media.grid-3 { grid-template-columns: 1fr 1fr; }
  .stage-media.grid-4 { grid-template-columns: 1fr 1fr; }
  .stage-media.swatches { grid-template-columns: 1fr 1fr 1fr; }
}

/* ---------- phone mockups (The Pause redesign) ---------- */

.phone-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.phone-row.pair { grid-template-columns: repeat(2, 1fr); max-width: 460px; }
.phone {
  aspect-ratio: 9 / 19.5;
  border: 1px solid var(--ink);
  border-radius: 22px;
  padding: 26px 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
  background: var(--paper);
  position: relative;
}
.phone-step {
  position: absolute;
  top: 20px; left: 0; right: 0;
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
}
.phone .ring { width: 72px; height: 72px; }
.phone h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  color: var(--rose);
  margin: 0;
  line-height: 1.2;
}
.phone p {
  font-size: 10.5px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}
.phone .field {
  width: 100%;
  border-bottom: 1px solid var(--hairline);
  padding: 6px 2px;
  font-size: 10px;
  color: var(--ink-muted);
  text-align: left;
}
.phone .btn {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--rose);
  padding: 8px 18px;
  border-radius: 20px;
  margin-top: 4px;
}
@media (max-width: 640px) {
  .phone-row { grid-template-columns: 1fr 1fr; }
}

.flow-diagram {
  width: 100%;
  margin: 28px 0;
}
.flow-diagram text {
  font-family: var(--sans);
  fill: var(--ink-muted);
}
.flow-diagram .flow-label {
  font-size: 11px;
  letter-spacing: 0.03em;
}
.flow-diagram .flow-step {
  font-size: 10px;
  fill: var(--rose-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone.dark {
  background: #2A1319;
  border-color: #2A1319;
}
.phone.dark .field { border-bottom-color: #4A2E37; color: #C9AEB5; }
.phone.dark p { color: #C9AEB5; }
.phone.dark .phone-step { color: #8C6B74; }

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 32px 24px 48px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  border-top: 1px solid var(--hairline);
}

/* closing stamp — the thread ends here */
.site-footer.stamp-footer {
  padding: 72px 24px 56px;
  border-top: none;
}
.footer-stamp { width: 64px; }
.footer-stamp svg { display: block; width: 100%; height: auto; overflow: visible; }
.footer-stamp path {
  fill: none;
  stroke: var(--rose);
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
}
.footer-stamp .thin { stroke-width: 5; }
.footer-stamp .fillw { fill: var(--paper); }
.footer-stamp.arrived path {
  animation: ink 1.8s cubic-bezier(0.45, 0, 0.2, 1) forwards;
  animation-delay: var(--d, 0s);
}
@media (prefers-reduced-motion: reduce) {
  .footer-stamp path { stroke-dashoffset: 0; }
  .footer-stamp.arrived path { animation: none; }
}

/* ---------- reveal on load/scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- responsive ---------- */

@media (max-width: 760px) {
  .site-header { padding: 0 20px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 15px; }
  main section { padding: 100px 24px; }
}

/* ================= separate pages ================= */

.main-nav a[aria-current="page"] { color: var(--rose); }
.site-header--landing { justify-content: space-between; background: transparent; backdrop-filter: none; }

.page-main section { border-top: none; }
.page-main > section:first-child { padding-top: calc(var(--header-h) + 72px); min-height: 100vh; }

/* ================= landing: a drawn room in false perspective ================= */

.page-landing, .page-art { height: 100vh; overflow: hidden; }
.landing {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) - 10px) 24px 24px;
}
.landing-art { display: block; width: 100%; height: 100%; overflow: visible; }
.landing-art path {
  fill: none;
  stroke: var(--rose);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  animation: ink 2.6s cubic-bezier(0.45, 0, 0.2, 1) forwards;
  animation-delay: calc(var(--d, 0s) * 1.4 + 0.2s);
}
.landing-art .thin { stroke-width: 1.1; }
.landing-art .fillw { fill: var(--paper); }
.landing-art .solid { fill: var(--rose); fill-opacity: 0; transition: fill-opacity 1s ease 2.4s; }
.landing-art.drawn .solid { fill-opacity: 1; }
.landing-art .piece { will-change: transform; }
.landing-art .drift { transform-box: fill-box; transform-origin: center; animation: drift 8s ease-in-out infinite alternate; }
@keyframes drift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(3px, -6px) rotate(0.8deg); }
  100% { transform: translate(-4px, 4px) rotate(-0.8deg); }
}
.landing-art .p-room .drift { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .landing-art path { animation: none; stroke-dashoffset: 0; }
  .landing-art .solid { fill-opacity: 1; transition: none; }
  .landing-art .drift { animation: none; }
}

/* the room's walls rise on past the top of the drawing */
.scene-walls { position: absolute; left: 0; bottom: 100%; width: 100%; height: auto; aspect-ratio: 1920 / 400; overflow: visible; pointer-events: none; }
.scene-walls path { fill: none; stroke: #A8233A; stroke-width: 2; vector-effect: non-scaling-stroke; }

.page-contact .page-main > section:first-child { min-height: auto; padding-bottom: 40px; }
.page-contact .site-footer.stamp-footer { padding-top: 40px; }

/* ================= work: a floating room, after Miró and Kandinsky ================= */

.page-work .page-main > section:first-child { padding: calc(var(--header-h) + 24px) 24px 32px; min-height: 100vh; max-width: none; }
.page-work .work-scene { width: min(100%, calc((100vh - var(--header-h) - 70px) * 1.5238)); margin: 0 auto; }
.room-layer { position: relative; will-change: transform; }

.scene-item {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  will-change: transform;
  animation: itemDrift 9s ease-in-out infinite alternate;
}
.scene-item .hit, .scene-item .scene-label, .scene-item .scene-tag { pointer-events: auto; }
.item-nira { animation-duration: 8s; animation-delay: -2s; }
.item-lampa { animation-duration: 10s; animation-delay: -5s; }
.item-fh { animation-duration: 11s; animation-delay: -1s; }
.item-colour { animation-duration: 7.5s; animation-delay: -3s; }
.item-pause { animation-duration: 9.5s; animation-delay: -6s; }
.item-elegant { animation-duration: 8.5s; animation-delay: -4s; }
@keyframes itemDrift {
  0% { translate: 0 0; }
  50% { translate: 0.3% -0.6%; }
  100% { translate: -0.3% 0.4%; }
}

.scene-deco { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.scene-deco path { fill: none; stroke: var(--rose); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.scene-deco .thin { stroke-width: 1.6; }
.scene-deco .solid { fill: var(--rose); stroke: none; }
.scene-deco .deco { will-change: transform; }
.scene-deco .drift { transform-box: fill-box; transform-origin: center; animation: drift 9s ease-in-out infinite alternate; }
.scene-deco .deco:nth-child(2) .drift { animation-duration: 7s; animation-delay: -3s; }
.scene-deco .deco:nth-child(3) .drift { animation-duration: 11s; animation-delay: -6s; }
.scene-deco .deco:nth-child(4) .drift { animation-duration: 8s; animation-delay: -2s; }
.scene-deco .deco:nth-child(5) .drift { animation-duration: 10s; animation-delay: -4s; }

/* The Pause and Elegant are drawn like the vase and the lamp: one rose line, no fills of colour */
.obj-pause path, .obj-elegant path { fill: none; stroke: #A8233A; stroke-width: 1.9; stroke-linejoin: round; stroke-linecap: round; }
.obj-pause .thin, .obj-elegant .thin { stroke-width: 1.3; }
.obj-elegant .slab > path:first-child { fill: var(--paper); }

/* The Pause — the hoop turns once, like a breath held and let go */
.obj-pause .hoop { transform-box: fill-box; transform-origin: center; }
.item-pause:hover .hoop, .item-pause:focus-visible .hoop { animation: hoopTurn 1.8s cubic-bezier(0.45, 0, 0.2, 1); }
@keyframes hoopTurn {
  0% { transform: scaleX(1); }
  50% { transform: scaleX(-1) translateY(-4%); }
  100% { transform: scaleX(1); }
}

/* Elegant — the slab leans back on its corner and the panel line slides */
.obj-elegant .slab { transform-box: fill-box; transform-origin: 10% 100%; transition: transform 0.7s cubic-bezier(0.3, 1.4, 0.5, 1); }
.obj-elegant .panel { transition: transform 0.7s cubic-bezier(0.3, 1.4, 0.5, 1); }
.item-elegant:hover .slab, .item-elegant:focus-visible .slab { transform: rotate(-7deg); }
.item-elegant:hover .panel, .item-elegant:focus-visible .panel { transform: translate(6px, 18px); }

@media (prefers-reduced-motion: reduce) {
  .scene-item, .scene-deco .drift { animation: none; }
}

/* ================= work: a constellation of six works ================= */

.work-art .faint { stroke-opacity: 0.55; }
.work-art .arc { stroke-width: 4; }
.work-link { cursor: pointer; outline: none; }
.work-link .hov, .work-link .rings, .work-link .rays, .work-link .orbit, .work-link .panel, .work-link .flame {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.3, 1.5, 0.5, 1);
}
.work-link:focus-visible .hov { outline: 1px dashed var(--rose); outline-offset: 8px; }

.p-colour:hover .r0, .p-colour:focus-visible .r0 { transform: scale(0.7); }
.p-colour:hover .r1, .p-colour:focus-visible .r1 { transform: scale(1.18); }
.p-colour:hover .r2, .p-colour:focus-visible .r2 { transform: scale(1.12) translate(4px, -4px); }
.p-colour:hover .r3, .p-colour:focus-visible .r3 { transform: scale(0.82); }

.p-nira .hov { transform-origin: 50% 100%; }
.p-nira:hover .hov, .p-nira:focus-visible .hov { transform: rotate(-8deg) translateY(-8px); }
.p-nira:hover .flame, .p-nira:focus-visible .flame { transform: scale(1.5) translateY(-6px); }

.p-pause .orbit { transform-box: view-box; transform-origin: 0 0; transition: transform 1.6s cubic-bezier(0.45, 0, 0.2, 1); }
.p-pause:hover .orbit, .p-pause:focus-visible .orbit { transform: rotate(360deg); }
.p-pause:hover .hov, .p-pause:focus-visible .hov { transform: scale(1.05); }

.p-elegant .hov { transform-origin: 10% 100%; }
.p-elegant:hover .hov, .p-elegant:focus-visible .hov { transform: rotate(-7deg); }
.p-elegant:hover .panel, .p-elegant:focus-visible .panel { transform: translate(4px, 22px); }

.p-lampa:hover .hov, .p-lampa:focus-visible .hov { transform: rotate(7deg); }
.p-lampa:hover .rays, .p-lampa:focus-visible .rays { transform: scale(1.3) rotate(15deg); }

.p-fh:hover .hov, .p-fh:focus-visible .hov { transform: scale(1.18) rotate(18deg); }

@media (prefers-reduced-motion: reduce) {
  .work-link .hov, .work-link .rings, .work-link .rays, .work-link .orbit, .work-link .panel, .work-link .flame { transition: none; }
}

/* the name in the top bar: میرا, in the same hand as the stamp */
.brand-mark-fa { height: 42px; width: auto; display: block; overflow: visible; }
.brand-mark-fa path { fill: var(--rose); stroke: none; transition: fill 0.2s; }
.brand:hover .brand-mark-fa path { fill: var(--rose-deep); }
@media (max-width: 760px) { .brand-mark-fa { height: 34px; } }

/* ================= landing: some drawings are doorways ================= */

.landing-art .hitfill { fill: transparent; stroke: none; pointer-events: all; animation: none; }
.landing-art .hov path { pointer-events: visible; }
.landing-art .p-room, .landing-art .p-line, .landing-art .p-marks { pointer-events: none; }
.landing-art .doorway { cursor: pointer; outline: none; }

.landing-art .hov, .landing-art .moon, .landing-art .lrays, .landing-art .eyeball {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.3, 1.5, 0.5, 1), opacity 0.4s ease;
}
.landing-art .inner-arch { transition: stroke-width 0.4s ease, stroke 0.4s ease; }

/* the moon in the arch — the way into the work */
.p-iwan:hover .inner-arch, .p-iwan:focus-visible .inner-arch { stroke-width: 3; }
.p-iwan:hover .moon, .p-iwan:focus-visible .moon { transform: rotate(-22deg) scale(1.12); }

/* the eye blinks — about me */
.p-eye:hover .eyeball, .p-eye:focus-visible .eyeball { animation: blink 0.6s ease-in-out; }
@keyframes blink { 0%, 100% { transform: scaleY(1); } 45%, 55% { transform: scaleY(0.08); } }

/* the ladder's rungs light one by one, as if someone is climbing — contact */
.p-ladder .rung path { transition: stroke-width 0.25s ease; transition-delay: calc(var(--i) * 0.09s); }
.p-ladder:hover .rung path, .p-ladder:focus-visible .rung path { stroke-width: 3.2; }

/* Nira straightens, Lampa lights */
.p-nira .hov { transform-origin: 50% 100%; }
.p-nira:hover .hov, .p-nira:focus-visible .hov { transform: rotate(-10deg) translateY(-6px); }
.landing-art .lrays { opacity: 0; transform: scale(0.7); }
.p-lampa:hover .lrays, .p-lampa:focus-visible .lrays { opacity: 1; transform: scale(1); }
.p-lampa:hover .hov, .p-lampa:focus-visible .hov { transform: rotate(-8deg); }

/* the rest only answer the hand */
.p-dome:hover .hov { transform: rotate(9deg); }
.p-circles:hover .hov { transform: rotate(40deg); }
.p-cypress .hov { transform-origin: 50% 100%; }
.p-cypress:hover .hov { transform: skewX(-7deg); }
.p-pomegranate .hov { transform-origin: 50% 100%; }
.p-pomegranate:hover .hov { transform: rotate(-14deg); }
.p-girih:hover .hov { transform: rotate(45deg); }

/* stepping through the arch */
.landing { transition: transform 0.9s cubic-bezier(0.6, 0, 0.8, 0.4), opacity 0.9s ease; }
.landing.entering { transform: scale(7); opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .landing-art .hov, .landing-art .moon, .landing-art .lrays, .landing-art .eyeball, .landing { transition: none; }
  .p-eye:hover .eyeball { animation: none; }
}

.mask-art .solid { fill: var(--rose); stroke: none; }

/* the mask's eye openings are cut a little heavier */
.mask-art .hole { stroke-width: 2.2; }

.dancer .dancer-mask .hole { stroke-width: 3.2; }

/* ================= Nira: the opening illustration comes alive ================= */

.illo-wrap { position: relative; max-width: 420px; margin: 0 auto; }
.illo-wrap img, .stage-media.inset .illo-wrap img { display: block; width: 100%; max-width: none; margin: 0; }
.illo-live { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.illo-live path { fill: none; stroke: #A8233A; stroke-width: 1.1; stroke-linejoin: round; stroke-linecap: round; }
.illo-live .fillw { fill: var(--paper); }
.illo-live .fa { fill: #A8233A; stroke: none; }
.illo-live .checker rect { fill: #A8233A; }
/* the chequer of the Mil fades away and returns, a row at a time */
@keyframes chkFade { 0%, 100% { opacity: 1; } 50% { opacity: 0.04; } }
/* the hand draws the lamp back into the window, then offers it again */
.illo-live .nira-hand { animation: handInOut 6.5s ease-in-out infinite; }
@keyframes handInOut {
  0%, 18% { transform: translateX(0); }
  40%, 58% { transform: translateX(-30px); }
  80%, 100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .illo-live .sun-sweep, .illo-live .nira-hand { animation: none; }
}

/* the grass and the reeds move in a light wind */
.illo-live .tuft { fill: #A8233A; stroke: none; transform-box: fill-box; transform-origin: 50% 100%; animation: tuftSway 2.6s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.37s); }
.illo-live .reed { transform-box: fill-box; transform-origin: 50% 100%; animation: reedSway 3.4s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.6s); }
@keyframes tuftSway { 0% { transform: skewX(-14deg); } 100% { transform: skewX(14deg); } }
@keyframes reedSway { 0% { transform: rotate(-4deg); } 100% { transform: rotate(4deg); } }
@media (prefers-reduced-motion: reduce) { .illo-live .tuft, .illo-live .reed { animation: none; } }

/* ================= the paper: a warm ground that breathes, like a painting drying ================= */

html { background: var(--paper); }
/* each page sits on its own painted ground (see the .ground element in each page) */


/* the closing stamp is a way home */
a.footer-stamp { display: block; cursor: pointer; transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1); }
a.footer-stamp:hover, a.footer-stamp:focus-visible { transform: translateY(-4px) rotate(-3deg); }
a.footer-stamp:focus-visible { outline: 1px dashed var(--rose); outline-offset: 6px; }

.mask-art .faint { stroke-opacity: 0.45; }
.dancer .p-room-lines { pointer-events: none; }

/* the line of verse, in the same hand as میرا */
.mask-art path.poem { fill: var(--rose); stroke: none; stroke-dasharray: none; opacity: 0; transition: opacity 1.4s ease 2.2s; }
.about-figure.in .mask-art path.poem { opacity: 1; animation: none; }
@media (prefers-reduced-motion: reduce) { .mask-art path.poem { opacity: 1; transition: none; } }

.dancer .dancer-mask path { stroke-width: 3; }
.dancer .dancer-mask .thin { stroke-width: 2.2; }
.page-about .page-main > section:first-child { padding-top: calc(var(--header-h) + 24px); }

/* the verse, as an epigraph above the about text */
.about-verse { margin: 0 0 28px; }
.about-verse svg { display: block; height: 38px; width: auto; margin-left: auto; overflow: visible; }
.about-verse path { fill: var(--rose); }
.about-verse figcaption { margin-top: 8px; text-align: right; font-family: var(--display); font-style: italic; font-size: 15px; color: var(--ink-muted); }

.footer-stamp .solid { fill: var(--rose); stroke: none; }

/* case-study details */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px 28px; margin: 8px 0 56px; padding: 22px 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.facts dt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose-deep); margin-bottom: 6px; }
.facts dd { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink); }
.principles { margin: 8px 0 0; padding-left: 20px; }
.principles li { font-size: 16px; line-height: 1.7; color: var(--ink); margin-bottom: 10px; }
.principles li::marker { color: var(--rose); }
.eval { width: 100%; border-collapse: collapse; margin: 20px 0 36px; font-size: 14px; line-height: 1.5; }
.eval th { text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose-deep); font-weight: 500; padding: 0 12px 10px 0; border-bottom: 1px solid var(--hairline); }
.eval td { vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--hairline); color: var(--ink); }
.eval td:first-child { font-family: var(--display); font-style: italic; font-size: 16px; }
.stage h3.sub { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 20px; margin: 0 0 10px; color: var(--ink); }
@media (max-width: 640px) { .eval, .eval tbody, .eval tr, .eval td { display: block; } .eval thead { display: none; } .eval td { border: none; padding: 4px 0; } .eval tr { border-bottom: 1px solid var(--hairline); padding: 10px 0; } }

/* ================= grounds: each page a painting of its own ================= */
.ground { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ground svg { width: 100%; height: 100%; display: block; }
.ground .pl { transform-box: fill-box; transform-origin: center; animation: plane 40s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -7s); }
@keyframes plane { 0% { transform: translate(0,0) rotate(0deg); } 100% { transform: translate(1.2%, -1%) rotate(1.2deg); } }
@media (prefers-reduced-motion: reduce) { .ground .pl { animation: none; } }
body { background: transparent; }
.site-header { background: transparent; backdrop-filter: none; }

/* on the painted grounds, drawings are line only — no paper-coloured patches behind them */
.landing-art .fillw, .work-art .fillw, .mask-art .fillw, .mask-art .hole,
.footer-stamp .fillw, .bird .fill, .landing-art .lrays { fill: none; }

/* the red: pomegranate for every line; a slightly brighter seed-red for the small solid accents */
:root { --rose-bright: #C4303D; }
.solid, .landing-art .solid, .mask-art .solid, .work-art .solid, .footer-stamp .solid, .illo-live .tuft { fill: var(--rose-bright); }

/* ================= CV ================= */
main.cv section.cv-block { margin: 0 0 52px; padding: 0; max-width: none; border-top: none; min-height: 0; }
.cv .cv-block h2 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 24px; color: var(--rose); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--hairline); }
.cv-list { margin: 0; }
.cv-list > div { display: grid; grid-template-columns: 220px 1fr; gap: 6px 28px; padding: 12px 0; }
.cv-list dt { font-size: 14px; font-weight: 500; color: var(--ink); }
.cv-list dd { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink); }
.cv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.cv-tags span { font-size: 13px; padding: 6px 12px; border: 1px solid var(--rose); border-radius: 999px; color: var(--rose); }
@media (max-width: 640px) { .cv-list > div { grid-template-columns: 1fr; } }

.cv-yr { display: block; margin-top: 4px; font-weight: 400; font-size: 13px; color: var(--ink-muted); }
.cv-list dt em { font-style: normal; font-weight: 400; color: var(--ink-muted); }
.cv-text { font-size: 16px; line-height: 1.75; color: var(--ink); margin: 0; }
.cv-links { display: flex; gap: 20px; flex-wrap: wrap; margin: -32px 0 56px; font-size: 14px; }
.cv-links a { color: var(--rose); border-bottom: 1px solid currentColor; padding-bottom: 1px; }

.cv-links .cv-download { border: 1px solid var(--rose); border-radius: 999px; padding: 4px 14px; }
.cv-links .cv-download:hover { background: var(--rose); color: var(--paper); }
.contact-email { margin: 28px 0 0; font-size: 14px; color: var(--ink-muted); }
.contact-email a { color: var(--rose); border-bottom: 1px solid currentColor; }

/* Work: three parts of one painting */
.work-art .zone-label { font-family: var(--display); font-style: italic; font-size: 30px; fill: var(--ink); opacity: 0; transition: opacity 1.2s ease 1.6s; }
.work-art .zone-line { font-family: var(--display); font-style: italic; font-size: 24px; fill: var(--rose); opacity: 0; transition: opacity 1.2s ease 2.2s; }
.work-art.drawn .zone-label { opacity: 0.8; }
.work-art.drawn .zone-line { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .work-art .zone-label, .work-art .zone-line { transition: none; } }

.page-work .landing { padding: 0; }



/* Work: focus on one project at a time */
.work-art .work-link { transition: opacity 0.45s ease, filter 0.45s ease; }
.work-art.focusing .work-link:not(.active) { opacity: 0.18; }
.work-art.focusing .p-constellation { opacity: 0.25; transition: opacity 0.45s ease; }
.work-art .ghost { stroke: none; fill: none; }
.p-pause .orbit { transform-box: fill-box; transform-origin: center; transition: transform 1.6s cubic-bezier(0.45, 0, 0.2, 1); }
.p-colour:hover .r1, .p-colour.active .r1 { transform: translateX(6px); }
.p-colour:hover .r2, .p-colour.active .r2 { transform: translateX(-4px); }
.p-colour .rings { transform-box: fill-box; transform-origin: center; transition: transform 0.6s ease; }
.p-pause.active .orbit { transform: rotate(360deg); }
.p-pause.active .hov { transform: scale(1.05); }
.p-fh .shard { transform-box: fill-box; transform-origin: 50% 0; transition: transform 0.6s cubic-bezier(0.3,1.5,0.5,1); }
.p-fh:hover .shard, .p-fh.active .shard { transform: rotate(8deg) scale(1.1); }
.p-fh:hover .hov, .p-fh.active .hov { transform: none; }
.p-lampa:hover .hov, .p-lampa.active .hov { transform: rotate(6deg); }
.p-nira.active .hov { transform: rotate(-8deg) translateY(-8px); }
.p-elegant.active .hov { transform: rotate(-7deg); }

.work-caption { position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 8px); width: min(560px, calc(100% - 40px)); text-align: center; pointer-events: none; opacity: 0; transition: opacity 0.35s ease, transform 0.35s ease; z-index: 40; }
.work-caption.on { opacity: 1; transform: translate(-50%, 0); }
.work-caption p { margin: 0; }
.wc-title { font-family: var(--display); font-style: italic; font-size: 34px; color: var(--rose); line-height: 1.1; }
.wc-desc { margin-top: 6px !important; font-size: 15px; line-height: 1.5; color: var(--ink); }

/* phones: swipe through the three parts of the painting */
@media (max-width: 760px) {
  .page-work.page-art { height: 100vh; overflow: hidden; }
  .page-work .landing { height: 100vh; display: block; padding: calc(var(--header-h) + 4px) 0 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .page-work .landing-art { width: 300vw; height: auto; max-height: none; aspect-ratio: 16 / 9; }
  .page-work .landing::before, .page-work .landing::after { content: ''; }
  .page-work .landing .snap { position: absolute; }
  .work-caption { bottom: 28px; }
  .wc-title { font-size: 28px; }
  .wc-desc { font-size: 14px; }
}
.work-art .hitbox { fill: transparent; stroke: none; pointer-events: all; animation: none; }
@media (max-width: 760px) {
  .page-work .landing { position: relative; }
  .page-work .landing > .ground { position: absolute; inset: auto; left: 0; top: calc(var(--header-h) + 4px); width: 300vw; height: 168.75vw; z-index: -1; }
  .page-work .landing-art { position: relative; z-index: 1; }
}

/* Work: sketches, not icons — fine lines, no fills */
.work-art .work-link path { stroke-width: 1.3; fill: none; }
.work-art .work-link .thin { stroke-width: 0.9; }
.work-art .work-link .solid { fill: var(--rose-bright); stroke: none; }
.work-art .work-link .flame { stroke-width: 1.1; }
.work-art .work-link .panel { stroke-width: 1.3; }
.work-art .p-constellation path:not(.solid) { stroke-width: 0.8; }

.p-colour .rings { transform-box: fill-box; transform-origin: center; transition: transform 0.9s ease; }
.p-colour:hover .r1, .p-colour.active .r1 { transform: translate(14px, 0); }
.p-colour:hover .r2, .p-colour.active .r2 { transform: translate(-10px, 0); }
.p-colour:hover .r3, .p-colour.active .r3 { transform: translate(8px, 0); }
.p-fh .shard { transform-box: view-box; transform-origin: 0 0; }
.p-fh .sh0 { transform-box: fill-box; transform-origin: 50% 0; transition: transform 0.9s cubic-bezier(0.3,1.5,0.5,1); }
.p-fh:hover .sh0, .p-fh.active .sh0 { transform: rotate(14deg); }

.dancer .dancer-mask path { stroke-width: 1.3; }
.dancer .dancer-mask .thin { stroke-width: 1; }

.dancer path { stroke-width: 1.8; }
.dancer .thin { stroke-width: 1.1; }
.dancer .dancer-mask path { stroke-width: 1.8; }
.dancer .dancer-mask .thin { stroke-width: 1.1; }

.about-figure.queen-wrap { max-width: 290px; }

.mask-art .cut { stroke: #FFFFFF; stroke-width: 1.2; fill: none; }
.mask-art .dancer-mask path.fillw { fill: #FFFFFF; }

.dancer path { stroke-width: 1.6; }
.dancer .thin { stroke-width: 1.2; }
.dancer .dancer-mask path { stroke-width: 3; }
.dancer .dancer-mask .thin { stroke-width: 2.2; }

.about-figure.queen-wrap { max-width: 330px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Contact: two links and a bird */
.contact-links { position: relative; display: flex; flex-direction: column; gap: 26px; max-width: 560px; margin-top: 8px; }
.contact-link { display: flex; flex-direction: column; gap: 4px; width: fit-content; }
.cl-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.cl-value { font-family: var(--display); font-style: italic; font-size: clamp(26px, 4vw, 40px); color: var(--rose); border-bottom: 1px solid transparent; transition: border-color 0.2s, color 0.2s; line-height: 1.15; }
.contact-link:hover .cl-value, .contact-link:focus-visible .cl-value { border-bottom-color: var(--rose); color: var(--rose-deep); }
.contact-link:focus-visible { outline: none; }
.contact-bird { position: absolute; right: -40px; top: -70px; width: 120px; }
.contact-bird .bird { width: 100%; height: auto; overflow: visible; animation: birdDrift 7s ease-in-out infinite; }
.contact-bird .bird path, .contact-bird .bird circle { fill: none; stroke: var(--rose); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.contact-bird .bird .fine { stroke-width: 1; }
.contact-bird .bird .eye { fill: var(--rose); stroke: none; }
.contact-bird .wing { transform-box: view-box; transform-origin: 44px 42px; animation: flap 1.4s ease-in-out infinite; }
@keyframes birdDrift { 0%,100% { transform: translate(0,0) rotate(-3deg); } 50% { transform: translate(-10px,-8px) rotate(2deg); } }
@media (max-width: 640px) { .contact-bird { position: static; width: 90px; margin-bottom: -6px; } }
@media (prefers-reduced-motion: reduce) { .contact-bird .bird, .contact-bird .wing { animation: none; } }
.contact-bird { right: -120px; top: -40px; }
.page-contact .page-main > section:first-child { padding-top: calc(var(--header-h) + 120px); }
@media (max-width: 640px) { .contact-bird { right: auto; top: auto; } .page-contact .page-main > section:first-child { padding-top: calc(var(--header-h) + 48px); } }
.cl-value { font-size: 21px; }
.contact-links { gap: 20px; }

.stage-media img.nira-sketch { max-width: 540px; margin: 0 auto; border-radius: 0; }

/* Landing: the name, on the same line as the menu */
.landing-id { display: flex; flex-direction: column; gap: 3px; line-height: 1; text-decoration: none; }
.landing-id .li-name { font-family: var(--display); font-style: italic; font-size: 30px; color: var(--ink); }
.landing-id .li-role { font-family: Inter, system-ui, sans-serif; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap; }
.landing-id:hover .li-name { color: var(--rose); }
@media (max-width: 760px) {
  .landing-id .li-name { font-size: 24px; }
  .landing-id .li-role { font-size: 8px; letter-spacing: .08em; }
  .site-header--landing .main-nav { gap: 12px; }
  .site-header--landing .main-nav a { font-size: 14px; }
}

/* Work: every project is named, always — hover only adds the description */
.work-art .work-name { font-family: var(--display); font-style: italic; font-size: 24px; fill: var(--ink); opacity: 0; transition: opacity 1.2s ease 1.8s, fill .3s ease; }
.work-art.drawn .work-name { opacity: .85; }
.work-art .work-link.active .work-name { fill: var(--rose); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .work-art .work-name { transition: none; } }

/* Nira opening: a living story */
.illo-live .rv { stroke-width: 1; }
.illo-live .rv-flow { stroke-width: 1.3; stroke-dasharray: 2.2 9; animation: rvFlow 70s linear infinite; opacity: .9; }
.illo-live .rv-flow2 { stroke-dasharray: 1.2 13; animation-duration: 95s; opacity: .55; }
.illo-live .rv-flow3 { stroke-dasharray: 1.6 11; animation-duration: 82s; opacity: .55; }
@keyframes rvFlow { to { stroke-dashoffset: -100; } }
.illo-live .petal { offset-rotate: auto; animation: petalFloat 80s linear infinite; }
@keyframes petalFloat { 0% { offset-distance: 0%; opacity: 0; } 4% { opacity: 1; } 94% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }
.illo-live .cl { stroke-dasharray: 1 1; animation: cloudBreath 9s ease-in-out infinite; }
.illo-live .cl2 { animation-delay: -.8s; }
.illo-live .cl3 { animation-delay: -1.6s; }
.illo-live .cA .cl { animation-delay: -4.5s; animation-duration: 8s; }
@keyframes cloudBreath { 0%, 12% { stroke-dashoffset: .62; } 45%, 70% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: .62; } }
.illo-live .cloud { animation: cloudDrift 14s ease-in-out infinite alternate; }
.illo-live .cA { animation-duration: 11s; animation-delay: -3s; }
@keyframes cloudDrift { from { transform: translateX(-4px); } to { transform: translateX(5px); } }
.illo-live .horse { transform-box: view-box; transform-origin: 326px 448px; animation: horseRear 4.2s ease-in-out infinite; }
@keyframes horseRear {
  0%, 12% { transform: rotate(0deg); }
  32% { transform: rotate(-9deg) translateY(-1px); }
  42% { transform: rotate(-7deg) translateY(-1px); }
  52% { transform: rotate(-9deg) translateY(-1px); }
  74% { transform: rotate(1.5deg); }
  84%, 100% { transform: rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .illo-live .rv-flow, .illo-live .petal, .illo-live .cl, .illo-live .cloud, .illo-live .horse { animation: none; }
  .illo-live .cl { stroke-dashoffset: 0; }
  .illo-live .petal { display: none; }
}

/* the two black dots I always draw under my eyes */
.mask-art .my-dots .solid, .about-figure .my-dots path { fill: #1F1418; stroke: none; }

/* Contact bird, after Miró and Klee: a half-moon body cut into planes, a round head, a triangle wing */
.contact-bird .kbird path, .contact-bird .kbird circle { fill: none; stroke: var(--rose); stroke-width: 1.6; }
.contact-bird .kbird .fine { stroke-width: 1.1; }
.contact-bird .kbird .fill { fill: none; }
.contact-bird .kbird .dot { fill: var(--rose-bright); stroke: none; }
.contact-bird .kbird .wing { transform-origin: 52px 50px; animation: kflap 1.6s ease-in-out infinite; }
@keyframes kflap { 0%, 100% { transform: scaleY(1) skewX(0deg); } 50% { transform: scaleY(0.3) skewX(-10deg); } }
@media (prefers-reduced-motion: reduce) { .contact-bird .kbird .wing { animation: none; } }
.contact-bird { width: 150px; }

.cv-inline-link { color: var(--rose); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cv-inline-link:hover { color: var(--rose-deep); }

/* Beyond the Drop */
.drop-page svg .dl { fill: none; stroke: var(--rose); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop-page svg .dl.thin { stroke-width: 1; opacity: .8; }
.drop-page svg .dotc { fill: var(--rose-bright); }
.drop-page svg text { font-family: Inter, system-ui, sans-serif; font-size: 12px; fill: var(--ink-muted); }
.drop-hero-wrap { max-width: 360px; margin: 8px auto 40px; }
.drop-hero, .drop-cycle { width: 100%; height: auto; display: block; overflow: visible; }
.drop-hero .globe { transform-box: view-box; transform-origin: 0 0; }
.drop-hero .pulse { fill: none; stroke: var(--rose-bright); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: dropPulse 3.6s ease-out infinite; animation-delay: var(--s); }
@keyframes dropPulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5); opacity: 0; } }
.drop-hero > path.dl:first-child { animation: dropFall 5s ease-in-out infinite; }
@keyframes dropFall { 0%, 20% { transform: translateY(-6px); } 60%, 100% { transform: translateY(4px); } }
.drop-cycle-wrap { max-width: 560px; margin-top: 28px; }
.lang-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.lang-chip { border: 1px solid var(--rose); color: var(--rose); border-radius: 999px; padding: 6px 14px; font-size: 15px; line-height: 1.3; }
.lang-chip.add { border-style: dashed; color: var(--ink-muted); border-color: var(--ink-muted); font-family: Inter, system-ui, sans-serif; font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .drop-hero .pulse, .drop-hero > path.dl:first-child { animation: none; } .drop-hero .pulse { display: none; } }

/* Beyond the Drop — interface explorations (the platform's own street palette) */
.btd-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 28px; margin-top: 32px; }
.btd-fig { margin: 0; }
.btd-fig figcaption { font-size: 13px; line-height: 1.55; color: var(--ink-muted); margin-top: 12px; max-width: 280px; }
.btd-fig figcaption b { color: var(--ink); font-weight: 600; }
.btd-phone { --bg: #141216; --fg: #F3EBDD; --mut: #9A8F99; --acc: #FF5B1F; --line: #2C2731;
  width: 100%; max-width: 280px; aspect-ratio: 9 / 18.5; background: var(--bg); color: var(--fg); border-radius: 30px; padding: 22px 16px 18px;
  box-shadow: 0 0 0 6px #2A2026, 0 18px 40px rgba(58,31,43,.18); font-family: Inter, system-ui, sans-serif; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.btd-top { display: flex; justify-content: space-between; align-items: center; }
.btd-logo { font-weight: 800; font-size: 11px; letter-spacing: .08em; line-height: 1; }
.btd-lang, .btd-back { font-size: 11px; color: var(--mut); }
.btd-back { font-size: 15px; color: var(--fg); }
.btd-tabs { display: flex; gap: 14px; font-size: 12px; color: var(--mut); border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.btd-tabs .on { color: var(--fg); box-shadow: 0 9px 0 -7px var(--acc); }
.btd-map { width: 100%; height: auto; display: block; }
.btd-land circle { fill: #4A424F; }
.btd-hot { fill: var(--acc); }
.btd-pulse { fill: none; stroke: var(--acc); stroke-width: .6; transform-box: fill-box; transform-origin: center; animation: btdPulse 3.2s ease-out infinite; animation-delay: var(--s); }
@keyframes btdPulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.btd-kicker { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin: 4px 0 0; }
.btd-cities, .btd-votes, .btd-langs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.btd-cities li { display: grid; grid-template-columns: 64px 1fr 30px; align-items: center; gap: 8px; font-size: 12px; }
.btd-cities i { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--acc) var(--w), var(--line) var(--w)); }
.btd-cities b, .btd-votes b { font-weight: 600; text-align: right; font-size: 12px; }
.btd-note, .btd-meta { font-size: 10.5px; color: var(--mut); margin: 0; }
.btd-note { text-align: right; }
.btd-artist { display: flex; gap: 10px; align-items: center; margin-top: 4px; }
.btd-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--acc); color: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.btd-name { font-weight: 700; font-size: 15px; margin: 0 0 2px; }
.btd-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.btd-tags span { font-size: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; color: var(--fg); }
.btd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.btd-tile { border-radius: 10px; aspect-ratio: 1; display: grid; place-items: center; }
.btd-tile svg { width: 78%; height: auto; }
.btd-demand { background: #1F1B23; border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.btd-demand p { margin: 0; }
.btd-meter { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--acc) var(--w), var(--line) var(--w)); }
.btd-meter i { display: none; }
.btd-btn { margin-top: auto; background: var(--acc); color: var(--bg); font-weight: 700; font-size: 12.5px; text-align: center; border-radius: 999px; padding: 11px 10px; }
.btd-btn.ghost { background: none; color: var(--fg); border: 1px solid var(--fg); }
.btd-city { font-weight: 800; font-size: 30px; line-height: 1; margin: 8px 0 0; letter-spacing: -.01em; }
.btd-count { font-size: 12px; color: var(--mut); margin: 0; }
.btd-count b { color: var(--acc); font-size: 14px; }
.btd-arch { width: 70%; align-self: center; height: auto; }
.btd-arch path { fill: none; stroke: var(--fg); stroke-width: 1.5; }
.btd-arch circle { fill: var(--acc); }
.btd-votes li { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.btd-search { font-size: 12px; color: var(--mut); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; margin-top: 4px; }
.btd-langs li { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.btd-langs em { font-style: normal; font-size: 10.5px; color: var(--mut); }
.btd-add { border: 1px dashed var(--acc); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.btd-add p { margin: 0; }
.btd-input { background: #1F1B23; border-radius: 8px; padding: 8px 10px; font-size: 13px; display: flex; align-items: center; }
.btd-caret { width: 1px; height: 14px; background: var(--acc); margin-left: 2px; animation: btdCaret 1s steps(1) infinite; }
@keyframes btdCaret { 50% { opacity: 0; } }
@media (max-width: 640px) { .btd-screens { grid-template-columns: minmax(0, 1fr); justify-items: center; } .btd-fig figcaption { max-width: 280px; } }
@media (prefers-reduced-motion: reduce) { .btd-pulse, .btd-caret { animation: none; } }
/* keep the site's paragraph styles out of the phone screens */
.project-main .btd-phone p { margin: 0; max-width: none; font-size: 12px; line-height: 1.35; color: var(--fg); letter-spacing: 0; text-transform: none; font-family: Inter, system-ui, sans-serif; opacity: 1; }
.project-main .btd-phone p.btd-kicker { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin-top: 4px; }
.project-main .btd-phone p.btd-note, .project-main .btd-phone p.btd-meta, .project-main .btd-phone p.btd-count { font-size: 10.5px; color: var(--mut); }
.project-main .btd-phone p.btd-note { text-align: right; }
.project-main .btd-phone p.btd-count { font-size: 12px; }
.project-main .btd-phone p.btd-name { font-weight: 700; font-size: 15px; margin-bottom: 2px; }
.project-main .btd-phone p.btd-city { font-weight: 800; font-size: 30px; line-height: 1; margin-top: 8px; letter-spacing: -.01em; }
.project-main .btd-phone .btd-demand p, .project-main .btd-phone .btd-add p { font-size: 12px; }
.project-main .btd-phone .btd-demand p.btd-meta, .project-main .btd-phone .btd-add p.btd-meta { font-size: 10.5px; color: var(--mut); }

/* Beyond the Drop screens follow the team's identity: red, black, white, mono labels */
.btd-phone { --bg: #0B0B0B; --fg: #FFFFFF; --mut: #8C8C8C; --acc: #FE0000; --line: #262626; box-shadow: 0 0 0 6px #1E1E1E, 0 18px 40px rgba(58,31,43,.18); }
.btd-wm { height: 34px; width: auto; display: block; }
.btd-phone .btd-tabs, .project-main .btd-phone p.btd-kicker, .project-main .btd-phone p.btd-meta, .project-main .btd-phone p.btd-note, .btd-phone .btd-lang, .btd-phone .btd-tags span, .btd-phone .btd-langs em, .btd-phone .btd-search, .btd-phone .btd-logo { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.btd-avatar { color: #fff; }
.btd-btn { color: #fff; }
.btd-demand { background: #161616; }
.btd-input { background: #161616; }
.btd-land circle { fill: #3A3A3A; }
.btd-arch path { stroke: #fff; }
.btd-identity { max-width: 560px; }
.btd-identity img { border-radius: 4px; }

/* Beyond the Drop — marketplace screens: light, product-first, the brand's red as the only accent */
.b2-principles { margin: 4px 0 0; padding-left: 18px; }
.b2-principles li { margin: 6px 0; font-size: 15px; line-height: 1.55; }
.b2-screens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 28px; margin-top: 32px; }
.b2-fig { margin: 0; }
.b2-fig figcaption { font-size: 13px; line-height: 1.55; color: var(--ink-muted); margin-top: 12px; max-width: 290px; }
.b2-fig figcaption b { color: var(--ink); font-weight: 600; }
.b2-phone { --fg: #0B0B0B; --mut: #7A7A7A; --acc: #FE0000; --line: #ECECEC; --soft: #F4F4F4;
  width: 100%; max-width: 290px; aspect-ratio: 9 / 19; background: #fff; color: var(--fg); border-radius: 32px; padding: 20px 14px 10px;
  box-shadow: 0 0 0 6px #0B0B0B, 0 18px 40px rgba(58,31,43,.18); font-family: Inter, system-ui, sans-serif; display: flex; flex-direction: column; gap: 9px; overflow: hidden; }
.project-main .b2-phone p { margin: 0; max-width: none; font-size: 12px; line-height: 1.35; color: var(--fg); letter-spacing: 0; text-transform: none; font-family: Inter, system-ui, sans-serif; opacity: 1; }
.b2-top { display: flex; justify-content: space-between; align-items: center; min-height: 30px; }
.b2-wm { height: 30px; width: auto; display: block; }
.b2-icon { font-size: 16px; }
.b2-label, .project-main .b2-phone p.b2-kicker { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); }
.b2-label { color: var(--fg); font-weight: 700; }
.project-main .b2-phone p.b2-meta { font-size: 10.5px; color: var(--mut); }
.project-main .b2-phone p.b2-pname { font-weight: 600; font-size: 11.5px; }
.project-main .b2-phone p.b2-pname.big { font-weight: 800; font-size: 19px; line-height: 1.1; letter-spacing: -.01em; }
.project-main .b2-phone p.b2-regname { font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -.01em; }
.project-main .b2-phone p.b2-price { font-weight: 700; font-size: 12px; }
.b2-price span { font-weight: 400; color: var(--mut); font-size: 10px; }
.b2-region { border-left: 3px solid var(--acc); padding: 2px 0 2px 9px; display: flex; flex-direction: column; gap: 3px; }
.b2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 8px; }
.b2-card { display: flex; flex-direction: column; gap: 2px; }
.b2-shot { background: var(--soft); border-radius: 6px; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 4px; }
.b2-shot svg { width: 82%; height: auto; }
.b2-hero { background: var(--soft); border-radius: 8px; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.b2-hero svg { width: 78%; height: auto; }
.b2-story { background: var(--soft); border-radius: 8px; padding: 9px 10px; display: flex; flex-direction: column; gap: 4px; }
.project-main .b2-phone .b2-story p:not(.b2-kicker) { font-size: 11.5px; font-style: italic; }
.project-main .b2-phone p.b2-link { font-style: normal !important; font-size: 10.5px; color: var(--acc); text-decoration: underline; }
.b2-credit { display: flex; gap: 5px; flex-wrap: wrap; }
.b2-tag { font-size: 9.5px; border: 1px solid var(--fg); border-radius: 999px; padding: 3px 7px; }
.b2-tag:last-child { background: var(--fg); color: #fff; }
.b2-sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.b2-sizes span { border: 1px solid var(--line); border-radius: 6px; text-align: center; font-size: 11px; padding: 6px 0; }
.b2-sizes .on { border-color: var(--fg); font-weight: 700; }
.b2-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: auto; }
.b2-btn { margin-top: auto; background: var(--acc); color: #fff; font-weight: 700; font-size: 11.5px; text-align: center; border-radius: 6px; padding: 11px 6px; }
.b2-cta .b2-btn { margin-top: 0; }
.b2-btn.ghost { background: #fff; color: var(--fg); border: 1px solid var(--fg); }
.b2-split { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.b2-split li { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; }
.b2-av { width: 30px; height: 30px; border-radius: 50%; background: var(--fg); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.b2-split li:first-child .b2-av { background: var(--acc); }
.b2-split b { font-size: 13px; }
.b2-bar { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--acc) 50%, var(--fg) 50%); }
.b2-map { width: 100%; height: auto; display: block; }
.b2-map .btd-land circle { fill: #CFCFCF; }
.b2-cities, .b2-votes, .b2-langs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.b2-cities li { display: grid; grid-template-columns: 62px 1fr 28px; align-items: center; gap: 8px; font-size: 12px; }
.b2-cities i { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--acc) var(--w), var(--line) var(--w)); }
.b2-cities b, .b2-votes b { font-weight: 700; text-align: right; font-size: 12px; }
.b2-votes li, .b2-langs li { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 12px; padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.b2-langs li { font-size: 14px; }
.b2-langs em { font-style: normal; font-size: 10px; color: var(--mut); font-family: ui-monospace, Menlo, monospace; }
.b2-curators { display: flex; align-items: center; gap: 0; }
.b2-curators .b2-av { margin-right: -6px; border: 2px solid #fff; }
.b2-curators .b2-av:first-child { background: var(--acc); }
.project-main .b2-phone .b2-curators p.b2-meta { margin-left: 14px; }
.b2-search { font-size: 12px; color: var(--mut); background: var(--soft); border-radius: 6px; padding: 9px 12px; }
.b2-add { border: 1px dashed var(--acc); border-radius: 8px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.b2-input { background: var(--soft); border-radius: 6px; padding: 8px 10px; font-size: 13px; display: flex; align-items: center; }
.b2-caret { width: 1px; height: 14px; background: var(--acc); margin-left: 2px; animation: btdCaret 1s steps(1) infinite; }
.b2-tabbar { margin-top: auto; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); padding-top: 8px; font-size: 10px; color: var(--mut); text-align: center; }
.b2-tabbar .on { color: var(--fg); font-weight: 700; }
.b2-tabbar .on::before { content: ""; display: block; width: 4px; height: 4px; border-radius: 50%; background: var(--acc); margin: 0 auto 3px; }
.b2-tabbar span:not(.on)::before { content: ""; display: block; height: 4px; margin-bottom: 3px; }
.b2-phone .btd-pulse { stroke: var(--acc); }
.b2-phone .btd-hot { fill: var(--acc); }
@media (max-width: 640px) { .b2-screens { grid-template-columns: minmax(0, 1fr); justify-items: center; } }
@media (prefers-reduced-motion: reduce) { .b2-caret { animation: none; } }
/* identity elements inside the screens: liquid shapes, bracketed lines, mono captions */
.b2-hero { position: relative; overflow: hidden; }
.b2-hero .b2-blob { position: absolute; inset: 10% 8%; width: 84%; height: 80%; }
.b2-blob path { fill: var(--acc); }
.b2-hero svg:not(.b2-blob) { position: relative; }
.project-main .b2-phone p.b2-mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 10px; line-height: 1.45; text-transform: uppercase; letter-spacing: .04em; }
.project-main .b2-phone p.b2-mono.light { color: #fff; position: relative; text-align: center; }
.project-main .b2-phone p.b2-bracket { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 9.5px; text-transform: uppercase; letter-spacing: .04em; }
.b2-bracket span { color: var(--acc); font-weight: 700; font-size: 12px; }
.b2-roomcard { position: relative; display: grid; place-items: center; min-height: 120px; }
.b2-roomcard .b2-blob { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Beyond the Drop app screens speak in the project's identity: wordmark, signal red, black, white,
   a fat liquid display face for titles, Space Mono for captions, Rubik for everything else */
.b2-phone { font-family: "Rubik", Inter, system-ui, sans-serif; }
.project-main .b2-phone p { font-family: "Rubik", Inter, system-ui, sans-serif; }
.b2-label, .project-main .b2-phone p.b2-kicker, .project-main .b2-phone p.b2-mono, .project-main .b2-phone p.b2-bracket, .b2-langs em, .b2-tag, .b2-tabbar, .b2-sizes span, .b2-search { font-family: "Space Mono", ui-monospace, Menlo, monospace !important; }
.project-main .b2-phone p.b2-pname.big, .project-main .b2-phone p.b2-regname, .b2-phone .b2-btn { font-family: "Bagel Fat One", "Rubik", system-ui, sans-serif; font-weight: 400; letter-spacing: .01em; }
.project-main .b2-phone p.b2-regname { font-size: 30px; }
.project-main .b2-phone p.b2-pname.big { font-size: 21px; }
.b2-phone .b2-btn { font-size: 13px; border-radius: 999px; }
.b2-phone .b2-shot, .b2-phone .b2-hero { border-radius: 18px; }
.b2-phone .b2-story, .b2-phone .b2-add, .b2-phone .b2-search, .b2-phone .b2-input { border-radius: 14px; }
.b2-phone .b2-sizes span { border-radius: 999px; }

/* Beyond the Drop — website pages, drawn at 1200px and scaled to fit */
.w-sub { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 24px; margin: 48px 0 6px; }
.w-pages { display: flex; flex-direction: column; gap: 40px; margin-top: 24px; }
.w-fig { margin: 0; }
.w-fig figcaption { font-size: 13px; line-height: 1.55; color: var(--ink-muted); margin-top: 12px; max-width: 620px; }
.w-fig figcaption b { color: var(--ink); font-weight: 600; }
.w-browser { border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12), 0 18px 40px rgba(58,31,43,.16); background: #fff; }
.w-bar { height: 28px; background: #EDEDED; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.w-bar i { width: 9px; height: 9px; border-radius: 50%; background: #CFCFCF; }
.w-bar span { margin-left: 14px; flex: 1; max-width: 360px; background: #fff; border-radius: 5px; font: 11px/18px "Space Mono", ui-monospace, monospace; color: #666; padding: 0 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.w-viewport { position: relative; overflow: hidden; height: calc(var(--k, .6) * 720px); }
.w-canvas { --fg: #0B0B0B; --mut: #777; --acc: #FE0000; --line: #EAEAEA; --soft: #F4F4F4;
  width: 1200px; height: 720px; transform-origin: 0 0; transform: scale(var(--k, .6)); background: #fff; color: var(--fg);
  font-family: "Rubik", Inter, system-ui, sans-serif; padding: 0 48px; box-sizing: border-box; position: absolute; top: 0; left: 0; }
.project-main .w-canvas p { margin: 0; max-width: none; color: var(--fg); font-family: "Rubik", Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.4; letter-spacing: 0; text-transform: none; opacity: 1; }
.project-main .w-canvas p.w-mono, .w-canvas .w-mono { font-family: "Space Mono", ui-monospace, Menlo, monospace; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.project-main .w-canvas p.w-meta { font-size: 14px; color: var(--mut); }
.project-main .w-canvas p.w-lead { font-size: 19px; line-height: 1.45; color: #333; max-width: 470px; }
.project-main .w-canvas p.w-pname { font-weight: 600; font-size: 16px; }
.project-main .w-canvas p.w-price { font-weight: 700; font-size: 16px; }
.project-main .w-canvas p.w-price.big { font-size: 26px; }
.w-price span { font-weight: 400; font-size: 13px; color: var(--mut); }
.w-canvas .w-display { font-family: "Bagel Fat One", "Rubik", system-ui, sans-serif; font-weight: 400; font-style: normal; font-size: 64px; line-height: 1; letter-spacing: .005em; margin: 0; color: var(--fg); }
.w-canvas .w-display.sm { font-size: 40px; }
.w-nav { height: 84px; display: flex; align-items: center; gap: 40px; border-bottom: 1px solid var(--line); }
.w-wm { height: 48px; width: auto; }
.w-nav nav { display: flex; gap: 28px; font-size: 15px; color: var(--mut); }
.w-nav nav .on { color: var(--fg); font-weight: 600; box-shadow: 0 12px 0 -9px var(--acc); }
.w-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.w-search { background: var(--soft); border-radius: 999px; padding: 9px 18px; font-size: 13px; color: var(--mut); width: 230px; font-family: "Space Mono", ui-monospace, monospace; }
.w-pill { display: inline-block; background: var(--acc); color: #fff; border-radius: 999px; padding: 13px 24px; font-family: "Bagel Fat One", "Rubik", sans-serif; font-size: 16px; }
.w-pill.ghost { background: #fff; color: var(--fg); border: 1.5px solid var(--fg); font-family: "Rubik", sans-serif; font-weight: 600; font-size: 15px; }
.w-nav .w-pill { padding: 8px 18px; }
.w-ctas { display: flex; gap: 12px; margin-top: 8px; }
.w-bracket, .project-main .w-canvas p.w-bracket { font-family: "Space Mono", ui-monospace, monospace; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.w-bracket span { color: var(--acc); font-weight: 700; font-size: 20px; }
.w-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px 0 30px; }
.w-hero-text { display: flex; flex-direction: column; gap: 18px; }
.w-hero-art, .w-pimg { position: relative; height: 300px; display: grid; place-items: center; }
.w-hero-art .b2-blob, .w-pimg .b2-blob, .w-slogan .b2-blob { position: absolute; inset: 0; width: 100%; height: 100%; }
.w-hero-art svg:not(.b2-blob), .w-pimg svg:not(.b2-blob) { position: relative; width: 82%; height: auto; }
.w-strip { display: flex; align-items: baseline; gap: 22px; border-top: 1px solid var(--line); border-left: 4px solid var(--acc); padding: 14px 0 14px 18px; }
.w-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 14px; }
.w-card { display: flex; flex-direction: column; gap: 3px; }
.w-shot { background: var(--soft); border-radius: 20px; height: 150px; display: grid; place-items: center; margin-bottom: 8px; }
.w-shot svg { width: 70%; height: auto; }
.w-product { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; padding: 36px 0; }
.w-pimg { height: 560px; background: var(--soft); border-radius: 28px; }
.w-pimg .b2-blob { inset: 12% 8%; width: 84%; height: 76%; }
.w-pinfo { display: flex; flex-direction: column; gap: 12px; }
.w-sizes { display: flex; gap: 8px; }
.w-sizes span { border: 1px solid #DDD; border-radius: 999px; padding: 8px 15px; font: 14px "Space Mono", ui-monospace, monospace; }
.w-sizes .on { border-color: var(--fg); font-weight: 700; }
.w-story { background: var(--soft); border-radius: 18px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.project-main .w-canvas p.w-quote { font-style: italic; font-size: 16px; }
.project-main .w-canvas p.w-link { color: var(--acc); text-decoration: underline; font-size: 13px; }
.w-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.w-tags span { border: 1px solid var(--fg); border-radius: 999px; padding: 6px 12px; font: 12px "Space Mono", ui-monospace, monospace; }
.w-tags .dark { background: var(--fg); color: #fff; }
.w-mapwrap { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 32px 0; }
.w-mapmain { display: flex; flex-direction: column; gap: 8px; }
.w-map { width: 100%; height: auto; margin-top: 8px; }
.w-map .btd-land circle { fill: #D2D2D2; }
.w-map .btd-hot { fill: var(--acc); }
.w-map .btd-pulse { stroke: var(--acc); }
.w-map text { font: 10px "Space Mono", ui-monospace, monospace; fill: var(--fg); }
.w-side { display: flex; flex-direction: column; gap: 14px; border-left: 1px solid var(--line); padding-left: 28px; }
.w-rank { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.w-rank li { display: grid; grid-template-columns: 96px 1fr 40px; align-items: center; gap: 12px; font-size: 15px; }
.w-rank i { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--acc) var(--w), var(--line) var(--w)); }
.w-rank b { text-align: right; font-weight: 700; }
.w-rank.votes li { grid-template-columns: 200px 1fr 60px; }
.w-quiet { border: 1.5px dashed var(--acc); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.w-room { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 44px 0; }
.w-roomhead, .w-roomvotes { display: flex; flex-direction: column; gap: 16px; }
.w-roomhead .w-display { font-size: 96px; }
.w-curators { display: flex; align-items: center; }
.w-av { width: 40px; height: 40px; border-radius: 50%; background: var(--fg); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; border: 3px solid #fff; margin-right: -8px; }
.w-av.red { background: var(--acc); }
.project-main .w-canvas .w-curators p.w-meta { margin-left: 20px; }
.w-slogan { position: relative; height: 170px; display: grid; place-items: center; margin-top: 10px; }
.project-main .w-canvas p.w-mono.light { position: relative; color: #fff; text-align: center; font-size: 14px; line-height: 1.6; }

/* fit the home page inside its frame */
.w-hero { padding: 26px 0 18px; gap: 32px; }
.w-hero-art { height: 250px; }
.w-canvas .w-display { font-size: 54px; }
.w-shot { height: 118px; border-radius: 18px; }
.w-roomrow { border-top: 1px solid var(--line); padding-top: 16px; }
/* artist page */
.w-artist { display: grid; grid-template-columns: 360px 1fr; gap: 48px; padding: 30px 0; }
.w-abio { display: flex; flex-direction: column; gap: 12px; }
.w-av.xl { width: 84px; height: 84px; font-size: 26px; margin: 0; background: var(--acc); border: 0; }
.w-rank.asks li { grid-template-columns: 70px 1fr 40px; font-size: 14px; }
.w-awork { display: flex; flex-direction: column; gap: 16px; }
.w-atabs { display: flex; gap: 26px; font-size: 15px; color: var(--mut); border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.w-atabs .on { color: var(--fg); font-weight: 600; box-shadow: 0 14px 0 -11px var(--acc); }
.w-agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.w-agrid .w-shot { height: 200px; margin: 0; }
/* app artist screen */
.b2-prof { display: flex; gap: 10px; align-items: center; }
.b2-av.big { width: 46px; height: 46px; font-size: 14px; background: var(--acc); flex: none; }
.b2-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 7px 0; }
.b2-stats b { display: block; font-size: 14px; }
.b2-stats span { font: 9.5px "Space Mono", ui-monospace, monospace; color: var(--mut); text-transform: uppercase; }
.b2-ptabs { display: flex; gap: 14px; font-size: 11.5px; color: var(--mut); }
.b2-ptabs .on { color: var(--fg); font-weight: 700; box-shadow: 0 7px 0 -5px var(--acc); }
.b2-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.b2-grid3 .b2-shot { margin: 0; border-radius: 12px; }
.b2-demand { background: var(--soft); border-radius: 14px; padding: 9px 10px; display: flex; flex-direction: column; gap: 5px; }
.b2-bar2 { height: 5px; border-radius: 3px; background: linear-gradient(90deg, var(--acc) var(--w), #ddd var(--w)); }
.b2-cta .b2-btn { font-size: 11px; }
/* design brief: a small style tile */
.dz-tile { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #E2D5C8; border: 1px solid #E2D5C8; border-radius: 14px; overflow: hidden; margin-top: 20px; }
.dz-block { background: #fff; padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 12px; color: #0B0B0B; font-family: "Rubik", Inter, sans-serif; }
.project-main .dz-block p { margin: 0; max-width: none; }
.project-main .dz-block p.dz-k { font: 11px "Space Mono", ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #777; }
.dz-sw, .dz-type { display: flex; align-items: center; gap: 12px; }
.dz-sw span { width: 34px; height: 34px; border-radius: 50%; flex: none; }
.dz-sw b, .dz-type b { display: block; font-size: 14px; font-weight: 600; }
.dz-sw em, .dz-type em, .dz-note { display: block; font-style: normal; font-size: 12.5px; line-height: 1.45; color: #666; }
.dz-type > span { width: 54px; flex: none; font-size: 34px; line-height: 1; }
.dz-bagel { font-family: "Bagel Fat One", "Rubik", sans-serif; color: #FE0000; }
.dz-mono { font-family: "Space Mono", ui-monospace, monospace; }
.dz-rubik { font-family: "Rubik", Inter, sans-serif; font-weight: 500; }
.dz-shapes { display: flex; align-items: center; gap: 14px; }
.dz-blob svg { width: 70px; height: 52px; display: block; }
.dz-blob path { fill: #FE0000; }
.dz-pill { background: #FE0000; color: #fff; border-radius: 999px; padding: 9px 18px; font-family: "Bagel Fat One", "Rubik", sans-serif; font-size: 14px; }
.dz-round { width: 52px; height: 52px; border-radius: 16px; background: #F4F4F4; }
.project-main .dz-block p.dz-bracket { font: 13px "Space Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .03em; }
.dz-bracket span { color: #FE0000; font-weight: 700; font-size: 17px; }
@media (max-width: 640px) { .dz-tile { grid-template-columns: 1fr; } }
.w-viewport { height: calc(var(--k, .6) * 770px); }
.w-canvas { height: 770px; }
.w-hero-art { height: 230px; }
.w-canvas .w-display { font-size: 50px; }
.after-course { border-left: 2px solid var(--rose); padding-left: 14px; color: var(--ink-muted); }

/* every page sits on plain white */
html, body { background: #FFFFFF; }
.ground { display: none !important; }
.site-header { background: rgba(255,255,255,0.9); }

/* the CV, inside About */
.page-main section.about-cv { padding: 40px 24px 120px; border-top: none; min-height: 0; }
.about-cv-inner { max-width: 760px; margin: 0 auto; }
.about-cv .cv-block { margin: 0 0 52px; }
.about-cv .cv-block h3 { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 24px; color: var(--rose); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--hairline); }
.about-cv .project-title { margin-top: 6px; }
.about-to-cv a { font-family: var(--display); font-style: italic; font-size: 19px; color: var(--rose); border-bottom: 1px solid currentColor; }
html { scroll-behavior: smooth; }
#cv { scroll-margin-top: calc(var(--header-h) + 8px); }

.contact-bird .kbird path, .contact-bird .kbird circle { stroke-width: 1.8; }
.contact-bird .kbird .dot { stroke: none; }
.contact-bird .kbird { transform: rotate(-8deg); }

/* Work sketches share the landing page's single line weight */
.work-art path { vector-effect: non-scaling-stroke; stroke-width: 1.8; }
.work-art .thin, .work-art .ghost { stroke-width: 1.8; }
.work-art .solid { stroke: none; }

/* About: a line portrait, drawn from a photo */
.about-figure.portrait-wrap { max-width: 420px; margin: 0 auto; }
.portrait-art { width: 100%; height: auto; display: block; overflow: visible; }
.portrait-art .ln{fill:none;stroke:#A8233A;stroke-width:1.8;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.portrait-art .skin{fill:#fff;stroke:#A8233A;stroke-width:1.8;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.portrait-art .lip{fill:#C4303D;stroke:none}
.portrait-art .iris{fill:#A8233A}
.portrait-art .mydot{fill:#0E0A0C}
.portrait-art .hair{fill:#1F1418;stroke:none}
.portrait-art .sheen{fill:none;stroke:#fff;stroke-width:1.2;opacity:.45;vector-effect:non-scaling-stroke;stroke-linecap:round}

.portrait-art .lip2 { fill: #A8233A; stroke: none; }
.portrait-art .ln { stroke-width: 1.5; }
/* the drawing turns into the photo it was made from */
.portrait-flip { position: relative; display: block; width: 100%; aspect-ratio: 684 / 654; padding: 0; border: 0; background: none; cursor: pointer; }
.portrait-flip:focus-visible { outline: 1px dashed var(--rose); outline-offset: 8px; }
.pf-draw, .pf-photo { position: absolute; inset: 0; transition: opacity .7s ease, transform .7s ease; }
.pf-draw .portrait-art { width: 100%; height: 100%; }
.pf-photo { opacity: 0; transform: scale(.98); }
.pf-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; display: block; border-radius: 4px; }
.pf-dot { position: absolute; left: 26.9%; top: 30.3%; width: 1.35%; aspect-ratio: 1; border-radius: 50%; background: #0E0A0C; transform: translate(-50%, -50%); }
.portrait-flip[aria-pressed="true"] .pf-draw { opacity: 0; transform: scale(1.02); }
.portrait-flip[aria-pressed="true"] .pf-photo { opacity: 1; transform: none; }
.pf-hint { margin: 12px 0 0; text-align: center; font-family: var(--display); font-style: italic; font-size: 15px; color: var(--ink-muted); }
@media (prefers-reduced-motion: reduce) { .pf-draw, .pf-photo { transition: none; } }
.pf-photo img { filter: none !important; }

/* About portrait: folk-painting composition in the site's own line */
.folk .k{fill:none;stroke:#A8233A;stroke-width:1.8;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.folk .kt{fill:none;stroke:#A8233A;stroke-width:1.8;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
.folk .ko{fill:none;stroke:#A8233A;stroke-width:1.8;vector-effect:non-scaling-stroke}
.folk .w{fill:#fff;stroke:#A8233A;stroke-width:1.8;vector-effect:non-scaling-stroke;stroke-linejoin:round}
.folk .rf{fill:#C4303D;stroke:none}
.folk .kf{fill:#A8233A;stroke:none}
.folk .dot{fill:#0E0A0C}
.about-figure.portrait-wrap { width: 100%; max-width: 440px; }
@media (min-width: 861px) { .about-grid:has(.portrait-wrap) { grid-template-columns: minmax(0, 0.95fr) 1.05fr; gap: 56px; align-items: center; } }
/* the two dots on the photo: small, soft-edged, sitting just under each lower lash line like real kohl */
.pf-dot { width: 0.85%; top: 28.1%; background: radial-gradient(circle, #120c0e 45%, rgba(18,12,14,.75) 62%, rgba(18,12,14,0) 78%); mix-blend-mode: multiply; opacity: .92; filter: blur(.2px); }
.pf-dot-l { left: 27.2%; }
.pf-dot-r { left: 36.8%; }
.pf-dot { top: 27.95%; width: 0.75%; }
.pf-dot-l { left: 27.05%; }
.pf-dot-r { left: 37.85%; }
.pf-dot { top: 27.7%; }
.pf-dot-l { left: 27.3%; }
.pf-dot-r { left: 37.4%; }
/* inviting a touch: the black dot breathes, and a small label follows the pointer */
.portrait-flip { cursor: none; }
.pf-pulse { position: absolute; left: 26.6%; top: 31.4%; width: 4.2%; aspect-ratio: 1; border-radius: 50%; border: 1.4px solid #0E0A0C; transform: translate(-50%, -50%) scale(.4); opacity: 0; pointer-events: none; animation: pfPulse 2.6s ease-out infinite; transition: opacity .4s; }
@keyframes pfPulse { 0% { transform: translate(-50%, -50%) scale(.35); opacity: .7; } 70%, 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.portrait-flip.morphing .pf-pulse, .portrait-flip[aria-pressed="true"] .pf-pulse, .portrait-flip.seen .pf-pulse { animation: none; opacity: 0; }
.pf-cue { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; font-family: var(--display); font-style: italic; font-size: 17px; line-height: 1; color: #fff; background: var(--rose); border-radius: 999px; padding: 7px 14px 8px; white-space: nowrap; opacity: 0; transform: translate(var(--cx, 0px), var(--cy, 0px)) translate(-50%, -50%) scale(.6); transition: opacity .25s, transform .25s cubic-bezier(.3,1.4,.5,1); }
.portrait-flip.hovering .pf-cue { opacity: 1; transform: translate(var(--cx, 0px), var(--cy, 0px)) translate(-50%, -50%) scale(1); transition: opacity .25s, transform .08s linear; }
@media (hover: none) { .pf-cue { display: none; } .portrait-flip { cursor: pointer; } }
@media (prefers-reduced-motion: reduce) { .pf-pulse { animation: none; opacity: .5; transform: translate(-50%, -50%) scale(1); } }
.folk path.k[d^="M196,292"] { fill: none; }
/* Miró-like portrait: flat fills in the pomegranate family, thin lines, dot terminals */
.folk .bl { fill: #F4CFCB; stroke: none; }
.folk .dr { fill: #6E1424; stroke: none; }
.folk.miro .rf { fill: #C4303D; }
