@font-face { font-family: "Arli Hand"; src: url("fonts/ArliHand-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* Order: header > big hero > bio band > word ticker > MY ART > say hi.
   Everything visual runs off the tokens below, which the editor rewrites. */
:root {
  --white: #ffffff;
  --ground: #f1eff5;
  --ink: #221b30;
  --violet: #4426a3;
  --yellow: #ffd81f;
  --grey: #6f6a7a;
  --caps: "Arli Hand", "Anybody", Arial, sans-serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
  --caps-transform: uppercase;
  --caps-weight: 400;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--ink); font: 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3.4vw, 44px); }
.caps { font-family: var(--caps); font-weight: var(--caps-weight); font-stretch: 72%; text-transform: var(--caps-transform); letter-spacing: .01em; line-height: .95; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--caps); font-weight: var(--caps-weight); font-stretch: 80%; text-transform: var(--caps-transform); letter-spacing: .03em; font-size: 17px; text-decoration: none; padding: 12px 22px 11px; border-radius: 999px; border: 2px solid currentColor; background: transparent; color: inherit; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn.violet { background: var(--violet); border-color: var(--violet); color: #fff; }

/* Header */
.head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--white) 96%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, var(--white)); }
.head .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 76px; }
.wordmark { display: block; height: clamp(44px, 4.6vw, 58px); width: auto; margin: 6px 0; }
.head nav { display: flex; gap: clamp(16px, 2.6vw, 32px); }
.head nav a { font-family: var(--caps); font-weight: var(--caps-weight); font-stretch: 78%; text-transform: var(--caps-transform); letter-spacing: .03em; font-size: 17px; text-decoration: none; }
.head nav a:hover { color: var(--violet); }
.head .right { justify-self: end; }
.head .btn { font-size: 15px; padding: 9px 16px 8px; }
@media (max-width: 760px) {
  .head .wrap { grid-template-columns: 1fr auto; padding-top: 10px; padding-bottom: 10px; }
  .head nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; padding-bottom: 4px; }
}

/* Hero */
.hero { position: relative; background: var(--ground); }
.hero img { display: block; width: 100%; height: clamp(360px, 62vw, 760px); object-fit: cover; object-position: 50% 52%; }
.hero .credit { position: absolute; right: clamp(16px, 3.4vw, 44px); bottom: 16px; z-index: 2; font-size: 15px; color: #221b30; background: rgba(255,255,255,.85); padding: 4px 12px; border-radius: 999px; }

/* Bio band */
.bio { background: var(--violet); color: #fff; text-align: center; padding: clamp(56px, 8vw, 100px) 0 clamp(52px, 7vw, 88px); }
.bio .kicker { color: var(--yellow); font-size: clamp(28px, 4.6vw, 58px); margin: 0 auto 26px; max-width: 26ch; text-wrap: balance; }
.bio p { max-width: 58ch; margin: 0 auto 16px; font-size: clamp(18px, 1.6vw, 21px); color: rgba(255,255,255,.92); }
.bio em { color: var(--yellow); font-style: italic; }
.bio .more { max-height: 0; overflow: hidden; transition: max-height .5s ease; }
.bio .more.open { max-height: 800px; }
.bio .more p { color: rgba(255,255,255,.8); }
.bio .buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* Ticker */
.ticker { background: var(--yellow); color: var(--violet); overflow: hidden; border-top: 2px solid var(--violet); border-bottom: 2px solid var(--violet); }
.ticker .track { display: flex; width: max-content; animation: tick 38s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker span { font-family: var(--caps); font-weight: var(--caps-weight); font-stretch: 70%; text-transform: var(--caps-transform); font-size: clamp(30px, 4.4vw, 54px); line-height: 1; padding: 16px 0 14px; white-space: nowrap; }
.ticker i { font-style: normal; display: inline-block; margin: 0 .5em; color: var(--ink); transform: translateY(-.05em); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* My art */
.art { padding-top: clamp(64px, 8vw, 104px); }
.art h2 { font-size: clamp(48px, 8vw, 104px); color: var(--violet); margin: 0 0 clamp(26px, 3.4vw, 40px); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 32px); }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid { grid-template-columns: 1fr; } }
.card { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: zoom-in; }
.card.wide { grid-column: span 2; }
.card.wide .tile { aspect-ratio: 8 / 5; }
@media (max-width: 520px) { .card.wide { grid-column: auto; } }
.tile { display: block; aspect-ratio: 4 / 5; background: var(--ground); overflow: hidden; position: relative; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .tile img { transform: scale(1.04); }
.card .name { display: block; margin-top: 12px; font-family: var(--caps); font-weight: var(--caps-weight); font-size: 22px; line-height: 1.1; }
.card:hover .name { color: var(--violet); }

/* Say hi */
.hi { margin-top: clamp(80px, 10vw, 140px); border-top: 2px solid var(--violet); padding: clamp(48px, 6vw, 76px) 0 30px; }
.hi-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: end; }
@media (max-width: 760px) { .hi-grid { grid-template-columns: 1fr; } }
.hi h2 { font-size: clamp(40px, 6vw, 80px); color: var(--violet); margin: 0 0 16px; }
.hi p { margin: 0 0 22px; max-width: 46ch; }
.hi .side { display: grid; gap: 8px; justify-items: start; font-size: 17px; }
.hi .side span { color: var(--grey); }
.fine { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 56px; font-size: 15px; color: var(--grey); }

/* Image protection */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.guard { position: relative; }
.guard::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.guard img { pointer-events: none; }
.copy-note { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 8px); background: var(--ink); color: #fff; font-size: 15px; padding: 8px 16px; border-radius: 999px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; }
.copy-note.on { opacity: 1; transform: translate(-50%, 0); }

/* Viewer */
.viewer { position: fixed; inset: 0; z-index: 40; background: var(--white); display: none; grid-template-rows: auto 1fr auto; padding: 18px clamp(16px, 3vw, 40px); }
.viewer.open { display: grid; }
.vrow { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 17px; }
.vrow button { border: 0; background: none; padding: 0; font-family: var(--caps); font-weight: var(--caps-weight); font-stretch: 78%; text-transform: var(--caps-transform); font-size: 17px; letter-spacing: .03em; color: var(--ink); cursor: pointer; }
.vrow button:hover { color: var(--violet); }
.vstage { display: grid; place-items: center; min-height: 0; padding: 18px 0; }
.vstage .guard { display: flex; max-width: 100%; max-height: 100%; }
.vstage img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }
.vrow .t { font-size: 28px; color: var(--violet); }
.vrow .k { color: var(--grey); }

/* ===== Editor (owner only). Fixed UI chrome, not affected by site tokens. ===== */
.ed-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 80; font: 600 14px/1 system-ui, -apple-system, "Segoe UI", sans-serif; background: #17131f; color: #fff; border: 0; border-radius: 999px; padding: 11px 16px; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25); display: none; }
.ed-toggle.show { display: inline-flex; gap: 8px; align-items: center; }
.ed-toggle .dot { width: 8px; height: 8px; border-radius: 50%; background: #8fd18f; }
.ed-toggle .dot.saving { background: #f0c24b; } .ed-toggle .dot.err { background: #e86060; }
.ed-panel { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 100vw); z-index: 85; background: #fff; color: #1d1a24; font: 14px/1.45 system-ui, -apple-system, "Segoe UI", sans-serif; box-shadow: -10px 0 40px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .25s ease; display: grid; grid-template-rows: auto 1fr auto; }
.ed-panel.open { transform: none; }
.ed-panel header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #ebe8f0; }
.ed-panel header b { font-size: 15px; }
.ed-panel .status { font-size: 12px; color: #6b6675; }
.ed-body { overflow-y: auto; padding: 6px 16px 24px; }
.ed-sec { border-bottom: 1px solid #f0edf4; padding: 14px 0; display: grid; gap: 10px; }
.ed-sec h3 { margin: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #6b6675; }
.ed-hint { margin: 0; font-size: 12px; color: #6b6675; }
.ed-row { display: grid; grid-template-columns: 34px 1fr 86px; gap: 10px; align-items: center; }
.ed-row input[type="color"] { width: 34px; height: 34px; padding: 0; border: 1px solid #e3e0e8; border-radius: 8px; background: none; cursor: pointer; }
.ed-panel input[type="text"], .ed-panel textarea, .ed-panel select { width: 100%; border: 1px solid #e3e0e8; border-radius: 8px; padding: 7px 9px; font: inherit; background: #faf9fc; color: inherit; }
.ed-panel textarea { min-height: 64px; resize: vertical; }
.ed-panel .hex { font-family: ui-monospace, Menlo, monospace; font-size: 12px; }
.ed-panel label.f { display: grid; gap: 4px; font-size: 13px; font-weight: 500; }
.ed-check { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.ed-work { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; }
.ed-work img { width: 40px; height: 50px; object-fit: cover; border-radius: 4px; }
.ed-work .acts { display: flex; gap: 2px; }
.ed-work button, .ed-small { border: 1px solid #e3e0e8; background: #fff; border-radius: 6px; padding: 4px 8px; cursor: pointer; font: inherit; font-size: 12px; color: inherit; }
.ed-work button:disabled { opacity: .3; cursor: default; }
.ed-work.hidden img, .ed-work.hidden input { opacity: .45; }
.ed-panel footer { padding: 12px 16px; border-top: 1px solid #ebe8f0; display: flex; justify-content: space-between; gap: 8px; }
.ed-panel footer button { border: 1px solid #e3e0e8; background: #fff; border-radius: 8px; padding: 8px 12px; cursor: pointer; font: inherit; color: inherit; }
.ed-panel footer .done { background: #17131f; color: #fff; border-color: #17131f; }
body.editing [data-edit] { outline: 1.5px dashed color-mix(in srgb, currentColor 55%, transparent); outline-offset: 4px; border-radius: 3px; cursor: text; }
body.editing [data-edit]:hover { outline-style: solid; }
body.editing [data-edit]:focus { outline: 2px solid #f0c24b; }
body.editing .bio .more { max-height: none; }
body.editing .ticker .track { animation-play-state: paused; }
@media (max-width: 520px) { .ed-panel { width: 100vw; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .ticker .track { animation: none; }
}

/* ===== About page ===== */
.head nav a[aria-current="page"] { color: var(--violet); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.about-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 820px) { .about-hero { grid-template-columns: 1fr; } }
.about-hero h1 { font-size: clamp(54px, 9vw, 128px); color: var(--violet); margin: 0 0 22px; text-wrap: balance; }
.about-hero .lead { font-size: clamp(20px, 2vw, 26px); line-height: 1.4; margin: 0; max-width: 32ch; }
.about-hero .lead em { color: var(--violet); }
.portrait { position: relative; aspect-ratio: 4 / 5; max-width: 440px; width: 100%; justify-self: center; }
.portrait::before { content: ""; position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--yellow); right: -6%; top: -6%; }
.portrait .ph { position: absolute; inset: 0; background: var(--ground); display: grid; place-items: center; color: var(--grey); font-family: var(--caps); font-weight: var(--caps-weight); font-size: 24px; text-transform: var(--caps-transform); transform: rotate(-2deg); box-shadow: 0 14px 40px -20px rgba(0,0,0,.35); }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(20px, 4vw, 64px); padding: clamp(40px, 6vw, 80px) 0; border-top: 2px solid var(--violet); }
@media (max-width: 760px) { .story { grid-template-columns: 1fr; } }
.story h2 { font-size: clamp(32px, 4vw, 52px); color: var(--violet); margin: 0; }
.story p { margin: 0 0 18px; max-width: 60ch; font-size: clamp(18px, 1.5vw, 20px); }
.story p em { color: var(--violet); }
.facts { background: var(--violet); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.facts ul { list-style: none; margin: 0 auto; padding-top: 0; padding-bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
@media (max-width: 760px) { .facts ul { grid-template-columns: 1fr; } }
.facts .lbl { display: block; color: var(--yellow); font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 6px; }
.facts .val { font-size: clamp(18px, 1.6vw, 21px); color: rgba(255,255,255,.92); }
.about-cta { text-align: center; padding: clamp(56px, 7vw, 96px) 0 0; }
.about-cta h2 { font-size: clamp(40px, 6vw, 80px); color: var(--violet); margin: 0 0 22px; }
.about-cta .buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
