/* "Meet the artist" — an illustrated editorial page in the brand's paper, ink and petal colours. */
body {
  /* the page's own height (not the screen's, which theme.css sets): the sticky top bar stays put
     only while its container — the body — is still on screen */
  height: auto;
  min-height: 100%;
  font-family: var(--font-ui);
  background: #fbf8f4;
  overflow-x: clip;
}
/* the soft colour washes stay put behind the page as it scrolls */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 35% at 10% 0%, rgba(242, 170, 182, 0.24), transparent 70%),
    radial-gradient(ellipse 45% 35% at 100% 18%, rgba(240, 216, 112, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(79, 196, 198, 0.12), transparent 70%);
}
ss-topbar { position: sticky; top: 0; z-index: 20; --topbar-width: min(1120px, 92vw); padding-inline: 0; }

/* ---------- the bar ---------- */
/* (the nav inside it is the shared <ss-sitenav>) */

.page {
  width: min(1120px, 90vw);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) 0 clamp(60px, 10vw, 110px);
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; translate: 0 24px; transition: opacity 0.8s ease, translate 0.9s cubic-bezier(0.2, 0.9, 0.3, 1); }
.reveal.in { opacity: 1; translate: 0 0; }

/* ---------- hero: an arched portrait with sparkles, the name, the intro ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  margin-bottom: clamp(56px, 9vw, 110px);
}
@media (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
}

.portrait-wrap { position: relative; margin: 0; width: min(100%, 420px); justify-self: center; }
.portrait {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px 32px 32px;
  border: 3px solid var(--color-ink);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.8), transparent 55%),
    linear-gradient(170deg, var(--color-petal-light), var(--color-face-light) 70%, var(--color-leaf-light));
  /* printed like a sticker: an offset pink shadow, then a soft drop */
  box-shadow: 10px 12px 0 var(--color-petal), 10px 12px 0 3px var(--color-ink), 0 40px 60px -30px rgba(36, 31, 38, 0.45);
}
@media (max-width: 760px) { .portrait-wrap { width: min(78%, 320px); } }
.portrait-empty { display: grid; place-items: end center; height: 100%; padding-bottom: 6%; }
.portrait-empty ss-flower { --flower-size: 52%; }
.spark { position: absolute; display: block; }
.spark svg { display: block; width: 100%; }
.spark path { fill: var(--color-face); stroke: var(--color-ink); stroke-width: 2.2; stroke-linejoin: round; }
.s1 { width: 15%; left: -9%; top: 10%; rotate: -10deg; }
.s2 { width: 9%; right: -6%; top: 2%; rotate: 14deg; }
.s3 { width: 7%; right: -10%; top: 30%; }
.s3 path { fill: var(--color-petal-light); }
.portrait-wrap.in .spark { animation: twinkle 3.6s ease-in-out infinite; }
.portrait-wrap .s2 { animation-delay: 1.2s !important; }
.portrait-wrap .s3 { animation-delay: 2.1s !important; }
@keyframes twinkle { 50% { scale: 0.75; rotate: 20deg; } }
.sticker {
  position: absolute;
  right: -4%;
  bottom: 9%;
  display: grid;
  place-items: center;
  width: 23%;
  aspect-ratio: 1;
  border-radius: 50%;
  font: 700 clamp(22px, 3vw, 34px)/1 var(--font-hand);
  color: var(--color-ink);
  background: var(--color-face);
  border: 2.5px solid var(--color-ink);
  box-shadow: 0 4px 0 var(--color-ink);
  rotate: 12deg;
}

.hello { margin: 0 0 6px; font: 700 clamp(22px, 2.6vw, 28px)/1 var(--font-hand); color: var(--color-leaf); rotate: -2deg; }
.name {
  margin: 0;
  font: 700 clamp(56px, 8.5vw, 104px)/0.9 var(--font-hand);
  color: var(--color-ink);
}
.name em, .contact-title em {
  --o: 0.035em;
  font-style: normal;
  color: var(--color-petal);
  text-shadow:
    var(--o) 0 var(--color-ink), calc(var(--o) * -1) 0 var(--color-ink),
    0 var(--o) var(--color-ink), 0 calc(var(--o) * -1) var(--color-ink),
    calc(var(--o) * 0.7) calc(var(--o) * 0.7) var(--color-ink), calc(var(--o) * -0.7) calc(var(--o) * 0.7) var(--color-ink),
    calc(var(--o) * 0.7) calc(var(--o) * -0.7) var(--color-ink), calc(var(--o) * -0.7) calc(var(--o) * -0.7) var(--color-ink),
    0 0.07em rgba(36, 31, 38, 0.15);
}
.tagline { margin: 12px 0 0; font: italic 600 clamp(19px, 2.2vw, 24px)/1.3 var(--font-serif); color: var(--color-name); letter-spacing: 0.02em; }
.squiggle { width: min(240px, 60%); height: 16px; margin: 14px 0 6px; overflow: visible; }
.squiggle path { fill: none; stroke: var(--color-leaf); stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hero-text.in .squiggle path { transition: stroke-dashoffset 1.2s ease-in-out 0.4s; stroke-dashoffset: 0; }
.intro p, .b-text p {
  margin: 0 0 1em;
  font: 500 clamp(19px, 1.9vw, 22px)/1.6 var(--font-serif);
  color: rgba(36, 31, 38, 0.86);
}
.intro a, .b-text a, .b-quote a, figcaption a, .b-steps a, .contact-note a {
  color: var(--color-ink);
  text-decoration-color: var(--color-petal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 760px) { .hero-actions, .squiggle { justify-content: center; margin-inline: auto; } }

/* buttons */
.btn-ink, .btn-soft, .btn-sticker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 99px;
  font: 600 15px/1 var(--font-ui);
  text-decoration: none;
  transition: translate 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.btn-ink { color: var(--color-paper); background: var(--color-ink); box-shadow: 0 12px 26px -14px rgba(36, 31, 38, 0.7); }
.btn-soft { color: var(--color-ink); background: #fff; border: 1.5px solid rgba(36, 31, 38, 0.14); }
.btn-sticker {
  color: var(--color-ink);
  background: linear-gradient(180deg, var(--color-petal-light), var(--color-petal));
  border: 2px solid var(--color-ink);
  box-shadow: 0 4px 0 var(--color-ink);
}
.btn-ink:hover, .btn-soft:hover, .btn-sticker:hover { translate: 0 -2px; }
.btn-soft svg, .btn-sticker svg { width: 18px; }
:focus-visible { outline: 2.5px solid var(--color-leaf); outline-offset: 3px; border-radius: 8px; }

/* ---------- the story: a reading column ---------- */
.story { width: min(680px, 100%); margin: 0 auto; }
.story > * + * { margin-top: clamp(18px, 2.6vw, 28px); }

.b-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: clamp(40px, 6vw, 64px) 0 0;
  font: 700 clamp(40px, 5.4vw, 56px)/1 var(--font-hand);
  color: var(--color-ink);
}
.leaf { flex: none; width: 0.9em; rotate: -14deg; }
.leaf-fill { fill: var(--color-leaf-light); stroke: var(--color-ink); stroke-width: 1.8; stroke-linejoin: round; }
.leaf-vein { fill: none; stroke: var(--color-ink); stroke-width: 1.3; stroke-linecap: round; }

.b-quote {
  position: relative;
  margin: clamp(40px, 6vw, 64px) 0;
  padding: 8px clamp(8px, 4vw, 40px);
  text-align: center;
}
.b-quote::before {
  content: "“";
  display: block;
  height: 0.55em;
  font: 700 clamp(90px, 12vw, 140px)/1 var(--font-hand);
  color: var(--color-petal);
  -webkit-text-stroke: 2px var(--color-ink);
}
.b-quote p { margin: 0; font: 700 clamp(32px, 4.6vw, 48px)/1.15 var(--font-hand); color: var(--color-ink); }
.b-quote footer { margin-top: 12px; font: italic 600 18px/1 var(--font-serif); color: var(--color-name); }

/* photos: taped polaroids, gently tilted */
.b-photo {
  position: relative;
  margin: clamp(36px, 5vw, 56px) auto;
  width: min(100%, 560px);
  padding: 14px 14px 16px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(36, 31, 38, 0.08), 0 26px 46px -28px rgba(36, 31, 38, 0.5);
  rotate: var(--tilt);
}
.b-photo.reveal { translate: 0 24px; }
.b-photo.wide { width: min(100vw - 10vw, 900px); margin-inline: calc((min(100vw - 10vw, 900px) - 100%) / -2); }
.b-photo img { display: block; width: 100%; height: auto; border-radius: 2px; }
.b-photo figcaption { margin-top: 12px; text-align: center; font: 700 26px/1.15 var(--font-hand); color: var(--color-name); }
.tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 120px;
  height: 30px;
  translate: -50% 0;
  rotate: -3deg;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(255, 255, 255, 0.3) 10px 12px), color-mix(in srgb, var(--color-petal-light) 80%, transparent);
  -webkit-mask:
    radial-gradient(circle at 0 50%, transparent 2.2px, #000 2.8px) 0 0 / 51% 7px repeat-y,
    radial-gradient(circle at 100% 50%, transparent 2.2px, #000 2.8px) 100% 0 / 51% 7px repeat-y;
          mask:
    radial-gradient(circle at 0 50%, transparent 2.2px, #000 2.8px) 0 0 / 51% 7px repeat-y,
    radial-gradient(circle at 100% 50%, transparent 2.2px, #000 2.8px) 100% 0 / 51% 7px repeat-y;
}

/* the process: numbered steps along a vine */
.b-steps ol {
  position: relative;
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  /* the dashed vine, painted as the list's own background (Safari drops an absolutely
     positioned ::before here, under the animated steps) */
  background: repeating-linear-gradient(180deg, rgba(31, 151, 185, 0.6) 0 8px, transparent 8px 14px)
    27px 30px / 2.5px calc(100% - 60px) no-repeat;
}
.b-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  column-gap: 18px;
  align-items: start;
  padding: 16px 20px 16px 0;
}
.step-no {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font: 700 26px/1 var(--font-hand);
  color: var(--color-ink);
  background: linear-gradient(180deg, var(--color-petal-light), var(--color-petal));
  border: 2.5px solid var(--color-ink);
  box-shadow: 0 4px 0 var(--color-ink);
}
.b-steps li:nth-child(4n + 2) .step-no { background: linear-gradient(180deg, var(--color-face-light), var(--color-face)); }
.b-steps li:nth-child(4n + 3) .step-no { background: linear-gradient(180deg, var(--color-leaf-light), var(--color-leaf)); }
.b-steps li:nth-child(4n + 4) .step-no { background: linear-gradient(180deg, #e3d3f6, #b49be3); }
.b-steps strong { font: 700 30px/1.1 var(--font-hand); padding-top: 8px; }
.b-steps li p { margin: 4px 0 0; font: 500 19px/1.5 var(--font-serif); color: rgba(36, 31, 38, 0.8); }
.b-steps.in li { animation: step-in 0.7s cubic-bezier(0.2, 0.9, 0.3, 1) calc(var(--i) * 0.12s) both; }
@keyframes step-in { from { opacity: 0; translate: -14px 0; } }

/* ---------- contact: a paper card, like the rest of the site ---------- */
.contact {
  position: relative;
  width: min(820px, 100%);
  margin: clamp(64px, 10vw, 120px) auto 0;
  padding: clamp(40px, 6vw, 64px) clamp(22px, 5vw, 60px);
  border-radius: 36px;
  text-align: center;
  background:
    radial-gradient(ellipse 50% 60% at 50% 40%, rgba(242, 170, 182, 0.28), transparent 70%),
    radial-gradient(ellipse 40% 50% at 100% 0%, rgba(240, 216, 112, 0.2), transparent 70%),
    var(--color-paper);
  box-shadow: 0 1px 2px rgba(30, 28, 34, 0.04), 0 30px 70px -34px rgba(30, 28, 34, 0.3);
}
.corner { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(36, 31, 38, 0.35); }
.c1 { top: 22px; left: 22px; border-width: 1.5px 0 0 1.5px; }
.c2 { bottom: 22px; right: 22px; border-width: 0 1.5px 1.5px 0; }
.contact-title { margin: 0; font: 700 clamp(48px, 7vw, 76px)/0.95 var(--font-hand); }
.contact-note p { margin: 14px auto 0; max-width: 520px; font: italic 500 clamp(19px, 2vw, 22px)/1.45 var(--font-serif); color: var(--color-name); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }

ss-footer { margin-top: clamp(40px, 6vw, 70px); }

/* ---------- loading ghosts ---------- */
.ghost {
  position: relative;
  overflow: hidden;
  background: color-mix(in srgb, var(--color-name) 9%, var(--color-paper));
}
.ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 25%, rgba(255, 255, 255, 0.6) 50%, transparent 75%);
  translate: -100% 0;
  animation: sweep 1.9s ease-in-out infinite;
}
@keyframes sweep { 70%, 100% { translate: 100% 0; } }
.hero-ghost .portrait { border: 0; box-shadow: none; width: min(100%, 420px); justify-self: center; }
.hero-ghost .hero-text { display: grid; gap: 14px; width: 100%; }
.line { display: block; height: 18px; border-radius: 99px; }
.line.big { height: 70px; border-radius: 18px; }
.w40 { width: 40%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; } .w90 { width: 90%; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .ghost::after, .spark, .b-steps.in li { animation: none !important; }
  .squiggle path { stroke-dashoffset: 0; }
}

/* the studio's live preview: everything shows straight away (it re-renders as you type) */
.preview .reveal { opacity: 1; translate: none; transition: none; }
.preview .b-steps.in li, .preview .b-steps li { animation: none; }
.preview .squiggle path { stroke-dashoffset: 0; transition: none; }

