/* ==========================================================================
   alyssac.net — orchid, ink, paper & leopard
   ========================================================================== */

:root {
  --paper: #f1ebe2;
  --paper-2: #e8ded1;
  --ink: #3a2320;
  --ink-soft: #7a5d56;
  --orchid: #d4567e;
  --orchid-deep: #8c1f47;
  --blush: #f4c9d4;
  --throat: #e8b64a;
  --spot: #1b1614;
  --line: rgba(58, 35, 32, 0.18);
  --word-outline: #f7cfda;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}

/* "Wild mode": the dark theme */
:root[data-theme="wild"] {
  --paper: #161010;
  --paper-2: #221818;
  --ink: #f4e7e0;
  --ink-soft: #bfa39c;
  --orchid: #ff7ba6;
  --orchid-deep: #ffb3cb;
  --blush: #5c2338;
  --throat: #f1c65e;
  --spot: #f4e7e0;
  --line: rgba(244, 231, 224, 0.18);
  --word-outline: #7a3550;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  transition: background-color .6s var(--ease), color .6s var(--ease);
  -webkit-font-smoothing: antialiased;
}

/* Paper grain over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .2 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
:root[data-theme="wild"] body::before { mix-blend-mode: screen; opacity: .12; }

::selection { background: var(--blush); color: var(--ink); }

a { color: inherit; }
img, svg, canvas { display: block; }

.defs { position: absolute; width: 0; height: 0; }

.script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--orchid);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: 14px 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .02em;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

:focus-visible { outline: 2px dashed var(--orchid); outline-offset: 4px; }

/* --- Cursor trail & vine ------------------------------------------------ */
.trail {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 40;
}

.vine {
  position: absolute;
  top: 0;
  right: 0;
  width: 170px;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}
.vine .ink-line { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.vine .wash-line { fill: none; stroke: var(--orchid); opacity: .28; stroke-linecap: round; filter: url(#wash); }
.vine .dot { fill: var(--ink); transition: opacity .5s, transform .5s var(--ease); transform-box: fill-box; transform-origin: center; }
.vine .dot:not(.on) { opacity: 0; transform: scale(0); }

/* --- Nav ---------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px var(--gutter);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color .6s var(--ease);
}
.nav__mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
  margin-right: auto;
}
.nav__mark span { color: var(--orchid); }
.nav nav { display: flex; gap: 22px; }
.nav nav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .04em;
  position: relative;
}
.nav nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1.5px;
  background: var(--orchid);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.wild-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  font-style: italic;
  cursor: pointer;
  padding: 4px;
}
.wild-toggle__label { font-family: var(--serif); font-size: 18px; }
.wild-toggle__track {
  width: 46px;
  height: 26px;
  border-radius: 99px;
  border: 1.5px solid var(--ink);
  position: relative;
  transition: background .4s var(--ease);
}
.wild-toggle__knob {
  position: absolute;
  top: 2px; left: 2px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--leopard, var(--ink));
  background-size: 60px;
  border: 1px solid var(--ink);
  transition: transform .45s var(--ease);
}
.wild-toggle[aria-pressed="true"] .wild-toggle__knob { transform: translateX(20px) rotate(180deg); }
.wild-toggle[aria-pressed="true"] .wild-toggle__track { background: var(--orchid); }

/* --- Sections ----------------------------------------------------------- */
main > section {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 12vw, 160px) var(--gutter);
  padding-right: max(var(--gutter), 200px);
}

.section-head { margin-bottom: clamp(36px, 6vw, 72px); }
.section-head h2, .contact h2 {
  font-family: var(--display);
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(56px, 11vw, 150px);
  line-height: .86;
  letter-spacing: -.01em;
  margin: 0;
}
.section-head h2 .script, .contact h2 .script { font-size: 1.05em; }
.section-sub { font-family: var(--serif); font-style: italic; font-size: 24px; margin: 14px 0 0; color: var(--ink-soft); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: clamp(28px, 4vw, 48px) 32px;
  padding-top: clamp(32px, 6vw, 72px) !important;
}

.more {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-column: 1 / 3;
  grid-row: 1;
  align-self: start;
  position: relative;
  z-index: 3;
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(40px, 7vw, 104px);
  line-height: .86;
  letter-spacing: -.005em;
}
.more li {
  width: max-content;
  cursor: default;
  transition: color .3s var(--ease);
  animation: rise .9s var(--ease) both;
}
.more li:nth-child(2) { animation-delay: 70ms; }
.more li:nth-child(3) { animation-delay: 140ms; }
.more li:nth-child(4) { animation-delay: 210ms; }
.more li:hover { color: var(--orchid); }
.more__live:hover .more__word { color: var(--orchid-deep); }
.more__word {
  color: var(--orchid);
  -webkit-text-stroke: .05em var(--word-outline);
  paint-order: stroke fill;
}
.caret {
  display: inline-block;
  width: .06em;
  height: .72em;
  margin-left: .06em;
  background: var(--orchid);
  vertical-align: baseline;
  animation: blink 1s steps(1) infinite;
}

@keyframes rise { from { opacity: 0; transform: translateY(.5em); } }
@keyframes blink { 50% { opacity: 0; } }

.hero__orchids {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
  justify-self: center;
  align-self: center;
  width: min(62vw, 720px);
  aspect-ratio: 1;
  margin: -4vh 0 0 -16vw;
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.orchid-spray { width: 100%; height: 100%; overflow: visible; }
.orchid { cursor: pointer; pointer-events: auto; }
.orchid .petal { transform-box: view-box; transition: transform .8s var(--ease); }
.orchid:hover .petal { transform: scale(1.06); }

.hero__intro {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  max-width: 440px;
  position: relative;
  z-index: 3;
  padding-bottom: 12px;
  animation: rise 1.1s var(--ease) .6s both;
}
.hero__intro h1 {
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(64px, 9vw, 128px);
  line-height: .85;
  margin: 0 0 20px;
}
.hero__intro h1 .script { font-size: 1.1em; text-transform: none; margin-right: .08em; }
.quote { margin: 0 0 28px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.9vw, 24px); line-height: 1.38; margin: 0 0 10px; }
.quote cite { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.quote cite::before { content: "— "; color: var(--orchid); }

/* --- Leopard lens (about) ---------------------------------------------- */
.lens__text {
  font-stretch: 62%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(48px, 8.4vw, 124px);
  line-height: 1;
  margin: 0;
  max-width: 17ch;
}
.lens__text em { font-family: var(--serif); font-weight: 500; text-transform: none; color: var(--orchid); font-stretch: normal; }
.lens__body {
  max-width: 560px;
  margin: 48px 0 0 auto;
  font-family: var(--serif);
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.45;
}

/* --- Work cards --------------------------------------------------------- */
.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.card:nth-child(even) { margin-top: clamp(0px, 8vw, 110px); }
.card__link { display: block; text-decoration: none; }
.card__art {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(40% 50% at 30% 40%, hsl(var(--hue) 70% 72% / .9), transparent 70%),
    radial-gradient(45% 55% at 72% 62%, hsl(calc(var(--hue) + 20) 60% 60% / .7), transparent 70%),
    radial-gradient(30% 35% at 60% 25%, hsl(45 80% 70% / .45), transparent 70%),
    var(--paper-2);
  transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.card__art::before { /* soft focus bloom */
  content: "";
  position: absolute;
  inset: -20%;
  background: inherit;
  filter: blur(24px);
  transition: transform 1.2s var(--ease);
}
.card__art::after { /* leopard wipe */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--leopard, var(--spot));
  background-size: 140px;
  mix-blend-mode: multiply;
  opacity: .85;
  clip-path: circle(0% at 100% 100%);
  transition: clip-path .8s var(--ease);
}
:root[data-theme="wild"] .card__art::after { mix-blend-mode: normal; opacity: .6; }
:root[data-theme="wild"] .card__art { --paper-2: #3a2428; }
.card__num {
  position: absolute;
  left: 18px;
  bottom: 6px;
  z-index: 1;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(64px, 9vw, 120px);
  line-height: 1;
  color: #fff8f4;
  text-shadow: 0 0 40px hsl(var(--hue) 60% 40% / .35);
}
.card__link:hover .card__art { transform: rotate(-1deg) scale(.985); border-radius: 40% 4px 40% 4px / 30% 4px 30% 4px; }
.card__link:hover .card__art::before { transform: scale(1.15) rotate(8deg); }
.card__link:hover .card__art::after { clip-path: circle(38% at 100% 100%); }

.card__meta { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding-top: 16px; }
.card__meta h3 { margin: 0; font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.15; }
.card__meta p { margin: 0; color: var(--ink-soft); font-size: 15px; grid-column: 1; }
.card__year { grid-column: 2 !important; grid-row: 1; font-family: var(--serif); font-style: italic; font-size: 20px !important; }

.btn--quiet { border-color: var(--line); }
.btn--quiet:hover { border-color: var(--ink); }

/* --- Art gallery -------------------------------------------------------- */
.art-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(20px, 3vw, 36px); }
.art-card__open {
  display: block; width: 100%; height: 100%; padding: 12px 12px 18px;
  border: 1.5px solid var(--line); border-radius: 8px;
  background: color-mix(in srgb, var(--paper-2) 45%, var(--paper));
  color: inherit; font: inherit; text-align: left; cursor: pointer;
  box-shadow: 0 1px 0 var(--line);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.art-card__open:hover, .art-card__open:focus-visible {
  border-color: var(--orchid);
  box-shadow: 0 14px 30px -18px rgba(90, 30, 50, .45);
  transform: translateY(-4px);
}
.art-card__cover { position: relative; display: block; border-radius: 4px; overflow: hidden; aspect-ratio: 1; background: var(--paper-2); }
.art-card__cover img { display: block; box-sizing: border-box; width: 100%; height: 100%; padding: 12px; object-fit: contain; transition: transform .7s var(--ease); }
.art-card__open:hover .art-card__cover img { transform: scale(1.04); }
.art-card__count {
  position: absolute; right: 10px; bottom: 10px;
  padding: 4px 12px; border-radius: 99px;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  font-family: var(--serif); font-style: italic; font-size: 16px;
}
.art-card__title { display: block; margin: 16px 4px 0; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: 1; transition: color .3s; }
.art-card__open:hover .art-card__title { color: var(--orchid); }
.art-card__meta { display: block; margin: 6px 4px 0; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--ink-soft); }
.art-card__cta {
  display: inline-flex; align-items: center; gap: 6px; margin: 14px 4px 0;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orchid-deep);
}
.art-card__cta span { transition: transform .3s var(--ease); }
.art-card__open:hover .art-card__cta span { transform: translateX(4px); }
.art-card template { display: none; }

.art-modal {
  width: min(1200px, 94vw); max-width: none; max-height: 92vh;
  padding: 0; border: 0; border-radius: 8px; overflow: hidden;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px rgba(20, 10, 10, .35);
}
.art-modal[open] { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); animation: pop .35s var(--ease); }
.art-modal::backdrop { background: rgba(27, 16, 16, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.art-modal__media { display: grid; grid-template-rows: 1fr auto; gap: 14px; padding: 24px; background: var(--paper-2); min-height: 0; }
.art-modal__stage { position: relative; display: grid; place-items: center; min-height: 0; }
.art-modal__frame { position: relative; display: grid; place-items: center; width: 100%; height: 100%; overflow: hidden; border-radius: 2px; }
.art-modal__frame img {
  display: block; max-width: 100%; max-height: calc(92vh - 150px); width: auto; height: auto; object-fit: contain;
  border-radius: 2px; cursor: zoom-in; user-select: none; -webkit-user-drag: none;
  transition: transform .35s var(--ease); animation: fade .35s var(--ease);
}
.art-modal__frame.is-zoomed img { cursor: zoom-out; touch-action: none; }
.art-modal__frame.is-panning img { transition: none; }
.art-modal__zoom {
  position: absolute; right: 8px; bottom: 8px; z-index: 1;
  display: flex; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--paper);
}
.art-modal__zoom button {
  width: 40px; height: 36px; border: 0; background: none; color: var(--ink);
  font: inherit; font-size: 20px; line-height: 1; cursor: pointer; transition: background .2s, color .2s;
}
.art-modal__zoom button + button { border-left: 1.5px solid var(--line); }
.art-modal__zoom button:hover:not(:disabled) { background: var(--ink); color: var(--paper); }
.art-modal__zoom button:disabled { opacity: .35; cursor: default; }
.art-modal__nav {
  position: absolute; top: 50%; translate: 0 -50%; z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--ink); background: var(--paper); color: var(--ink);
  font: inherit; font-size: 20px; cursor: pointer;
  transition: background .2s, color .2s;
}
.art-modal__nav:hover { background: var(--ink); color: var(--paper); }
.art-modal__nav--prev { left: 6px; }
.art-modal__nav--next { right: 6px; }
.art-modal__thumbs[hidden], .art-modal__nav[hidden] { display: none; }
.art-modal__thumbs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.art-modal__thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; background: none; cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.art-modal__thumbs button:hover { opacity: 1; }
.art-modal__thumbs button[aria-current="true"] { opacity: 1; border-color: var(--orchid); }
.art-modal__thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }
.art-modal__text { padding: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px); overflow-y: auto; max-height: 92vh; font-family: var(--serif); font-size: 19px; line-height: 1.55; }
.art-modal__text h3 { margin: 0 0 8px; padding-right: 40px; font-family: var(--display); font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 3.4vw, 48px); line-height: .95; }
.art-modal__text p { margin: 0 0 .9em; }
.art-detail__meta { font-style: italic; color: var(--ink-soft); font-size: 18px; }
.art-modal__text cite { font-style: italic; }
.art-detail__meta cite { font-style: normal; }
.art-modal__counter { font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-top: 20px !important; }
.art-modal__close {
  position: absolute; top: 12px; right: 14px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--paper); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer;
  transition: color .2s;
}
.art-modal__close:hover { color: var(--orchid); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }

/* --- Playground --------------------------------------------------------- */
.toys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.toy { margin: 0; }
.toy figcaption { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.toy figcaption strong { color: var(--ink); }
.toy__stage {
  position: relative;
  aspect-ratio: 1;
  border: 1.5px solid var(--line);
  border-radius: 6px;
  background: color-mix(in srgb, var(--paper-2) 55%, transparent);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.bloom-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bloom-btn {
  position: absolute;
  bottom: 18px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transition: transform .2s var(--ease);
}
.bloom-btn:active, .bloom-btn.holding { transform: scale(.95); }

.sketch-open { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #f6f1ea; cursor: pointer; display: grid; place-items: center; }
.sketch-preview { position: absolute; inset: 0; width: 100%; height: 100%; }
.sketch-open__label {
  position: relative; padding: 11px 18px; border-radius: 999px; border: 1.5px solid #3a2320;
  background: #f6f1ea; color: #3a2320; font-size: 14px; font-weight: 600;
  transition: transform .2s var(--ease), background .2s, color .2s;
}
.sketch-open:hover .sketch-open__label { background: #3a2320; color: #f6f1ea; transform: translateY(-2px); }
.sketch-open.has-drawing .sketch-open__label { position: absolute; bottom: 16px; }

.sketchpad {
  width: min(1200px, 96vw); height: min(860px, 92vh); max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px rgba(20, 10, 10, .35);
}
.sketchpad[open] { display: flex; flex-direction: column; animation: pop .35s var(--ease); }
.sketchpad::backdrop { background: rgba(27, 16, 16, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.sketchpad__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding: 12px 64px 12px 16px; border-bottom: 1.5px solid var(--line); position: relative;
}
.sketchpad__group { display: flex; align-items: center; gap: 6px; }
.sketch-tool, .sketch-action {
  padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 99px; background: none; color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.sketch-tool:hover, .sketch-action:hover { border-color: var(--ink); }
.sketch-tool.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.sketch-action--save { background: var(--orchid); border-color: var(--orchid); color: #fff; }
.sketch-action--save:hover { background: var(--orchid-deep); border-color: var(--orchid-deep); color: #fff; }
.sketch-swatch {
  width: 26px; height: 26px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--paper); background: var(--swatch); box-shadow: 0 0 0 1.5px var(--line);
  transition: transform .15s var(--ease), box-shadow .15s;
}
.sketch-swatch:hover { transform: scale(1.12); }
.sketch-swatch.is-active { box-shadow: 0 0 0 2px var(--ink); transform: scale(1.12); }
.sketchpad__size { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.sketchpad__size input { width: 110px; accent-color: var(--orchid); }
.sketchpad__close {
  position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: none; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer;
}
.sketchpad__close:hover { color: var(--orchid); }
.sketchpad__canvas { flex: 1; min-height: 0; width: 100%; display: block; background: #f6f1ea; cursor: crosshair; touch-action: none; }

.spots-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spots-svg .spot { fill: var(--spot); transition: transform .5s var(--ease), opacity .5s; transform-box: fill-box; transform-origin: center; }
.spots-range {
  position: absolute;
  bottom: 14px;
  left: 14px; right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 99px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
}
.spots-range input { flex: 1; accent-color: var(--orchid); min-width: 0; }

/* --- Process ------------------------------------------------------------ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { border-top: 1.5px solid var(--ink); padding-top: 18px; transition: transform .5s var(--ease); }
.steps li:hover { transform: translateY(-6px); }
.steps__n { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--orchid); }
.steps h3 { font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 40px; line-height: 1; margin: 6px 0 10px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* --- Contact & footer --------------------------------------------------- */
.contact { text-align: left; }
.contact__pop {
  color: var(--orchid);
  -webkit-text-stroke: .04em var(--word-outline);
  paint-order: stroke fill;
}
.contact__label { margin: 44px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 30px); color: var(--ink-soft); }
.links { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 14px; }
.links a, .links button {
  display: inline-block;
  padding: 12px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background .3s, color .3s, transform .3s var(--ease);
}
.links a:hover, .links button:hover { background: var(--orchid); border-color: var(--orchid); color: #fff; transform: rotate(-3deg); }

.links button { background: none; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }

.copy-note {
  display: inline-flex; align-items: flex-start; gap: 10px; line-height: 1.45;
  margin: 18px 0 0; padding: 12px 18px; border-radius: 12px;
  background: color-mix(in srgb, var(--blush) 55%, var(--paper)); border: 1.5px solid var(--orchid);
  font-size: 16px; animation: pop .35s var(--ease);
}
.copy-note[hidden] { display: none; }
.copy-note__check { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--orchid); color: #fff; font-size: 13px; font-weight: 700; }
.copy-note__email { font-weight: 700; user-select: all; -webkit-user-select: all; }
.copy-note a { color: var(--orchid-deep); font-weight: 600; }

.resume-modal {
  width: min(900px, 94vw); height: 92vh; max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: 10px; overflow: hidden;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 80px rgba(20, 10, 10, .35);
}
.resume-modal[open] { display: flex; flex-direction: column; animation: pop .35s var(--ease); }
.resume-modal::backdrop { background: rgba(27, 16, 16, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.resume-modal__bar { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 22px; border-bottom: 1.5px solid var(--line); }
.resume-modal .resume-modal__title { margin: 0 auto 0 0; font-stretch: 62%; font-weight: 900; text-transform: uppercase; font-size: 28px; line-height: 1; }
.resume-modal__download {
  padding: 9px 18px; border-radius: 99px; background: var(--orchid); color: #fff;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: background .2s;
}
.resume-modal__download:hover { background: var(--orchid-deep); }
.resume-modal__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
.resume-modal__close:hover { color: var(--orchid); }
.resume-modal__page { flex: 1; min-height: 0; overflow-y: auto; padding: clamp(12px, 3vw, 32px); background: var(--paper-2); }
.resume-modal__page img { display: block; width: 100%; max-width: 820px; height: auto; margin: 0 auto; background: #fff; box-shadow: 0 8px 30px rgba(40, 20, 20, .18); border-radius: 2px; }

.footer {
  position: relative;
  z-index: 1;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}
.footer p { margin: 0; }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  main > section { padding-right: var(--gutter); }
  .vine { display: none; }
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; min-height: 0; }
  .more { grid-row: 1; }
  .more li { width: auto; }
  .hero__orchids { grid-column: 1; grid-row: 1 / 3; width: 110vw; margin: 12vh -30vw 0 0; justify-self: end; opacity: .9; }
  .hero__intro { grid-column: 1; grid-row: 3; justify-self: start; margin-top: 24px; }
  .cards { grid-template-columns: 1fr; }
  .card:nth-child(even) { margin-top: 0; }
  .toys { grid-template-columns: 1fr; }
  .art-modal { inset: 0; margin: 0; width: 100%; height: 100%; max-width: 100%; max-height: 100%; border-radius: 0; overflow-x: hidden; overflow-y: auto; }
  .art-modal[open] { display: block; }
  .art-modal__frame img { max-height: 58vh; }
  .art-modal__text { max-height: none; overflow: visible; }
  .art-modal__close { position: fixed; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
  .sketchpad { inset: 0; margin: 0; width: 100%; height: 100%; border-radius: 0; }
  .sketchpad__bar { gap: 8px 12px; padding: 10px 56px 10px 12px; }
  .sketchpad__size input { width: 80px; }
  .resume-modal { inset: 0; margin: 0; width: 100%; height: 100%; border-radius: 0; }
  .toy__stage { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav { gap: 12px; }
  .nav nav { display: none; }
  .steps { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
