/* =========================================================
   Ella Studio — quirky · bold · sophisticated
   ========================================================= */
:root {
  --canvas: #FBF7F0;
  --paper: #F3ECDF;
  --ink: #141414;
  --ink-2: #3a3733;
  --muted: #7a7268;
  --red: #D7262E;
  --red-dark: #A8161D;
  --blue: #2457A6;
  --sun: #F2B705;
  --leaf: #5E8C3A;
  --line: rgba(20, 20, 20, .14);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 30px -10px rgba(40, 20, 0, .28);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.08), 0 30px 60px -20px rgba(40, 20, 0, .4);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* subtle canvas grain */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .4 0 0 0 0 .3 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--canvas); padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
.red { color: var(--red); }

/* ---------- type ---------- */
.h2 {
  font: 400 clamp(2.6rem, 6.4vw, 5.4rem)/0.95 var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  letter-spacing: -.02em;
  margin: .15em 0 .45em;
}
.h2 em, .hero__title em, .bigquote em { font-style: italic; font-weight: 300; }
.h2--light { color: var(--canvas); }
.eyebrow {
  font: 700 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-2); margin: 0; display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.eyebrow .dot { display: none; }
.eyebrow--light { color: var(--sun); }
.scribble { font: 600 1.55rem/1.1 var(--hand); color: var(--blue); }
.scribble--light { color: var(--sun); }
.scribble--inline { font-size: clamp(1.2rem, 2vw, 1.6rem); display: inline-block; transform: rotate(-4deg) translateY(-.4em); letter-spacing: 0; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--canvas);
  display: inline-flex; align-items: center; gap: .6em; justify-content: center;
  padding: 1em 1.6em; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--bg); color: var(--fg); text-decoration: none;
  font: 700 .95rem/1 var(--sans); letter-spacing: .02em;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--ink { --bg: var(--ink); --fg: var(--canvas); box-shadow: 4px 4px 0 var(--red); }
.btn--ink:hover { box-shadow: 6px 6px 0 var(--red); }
.btn--red { --bg: var(--red); --fg: #fff; }
.btn--ghost { --bg: transparent; --fg: var(--ink); }
.btn--wide { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px var(--gutter);
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__logo img { width: 96px; height: auto; transition: transform .3s var(--ease); }
.nav__logo:hover img { transform: rotate(-4deg) scale(1.04); }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 38px); }
.nav__links a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: right; transition: transform .3s var(--ease);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { background: var(--ink); color: var(--canvas) !important; padding: .6em 1.2em; border-radius: 999px; transition: background .2s; }
.nav__cta:hover { background: var(--red); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.nav__toggle span:not(.sr) { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s; }
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- frames ---------- */
.frame { margin: 0; position: relative; background: #fff; padding: 10px; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.tilt-l { transform: rotate(-2.5deg); }
.tilt-r { transform: rotate(2deg); }
.frame:hover { transform: rotate(0) scale(1.01); box-shadow: var(--shadow-lg); }
.frame--polaroid { padding: 10px 10px 46px; }
.frame--polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 1.4rem; color: var(--ink-2); }
.tape { position: absolute; width: 90px; height: 26px; background: rgba(242, 183, 5, .55); box-shadow: 0 1px 2px rgba(0,0,0,.08); z-index: 2; }
.tape--tl { top: -12px; left: -22px; transform: rotate(-35deg); }
.tape--br { bottom: -10px; right: -24px; transform: rotate(-30deg); background: rgba(36, 87, 166, .35); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto; padding: clamp(30px, 6vw, 80px) var(--gutter) clamp(50px, 7vw, 100px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center;
}
.hero__title {
  font: 400 clamp(3.2rem, 8.4vw, 7.6rem)/.9 var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  letter-spacing: -.035em; margin: .3em 0 .35em;
}
.hero__title em { display: inline-block; animation: wobble 6s ease-in-out infinite; transform-origin: 30% 80%; }
.hero__sub { font-size: .5em; letter-spacing: -.02em; display: inline-block; margin-top: .25em; }
.underline { position: relative; white-space: nowrap; }
.underline::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 14 C 50 4, 120 4, 197 10' stroke='%23F2B705' stroke-width='7' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
  z-index: -1;
}
.hero__lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); max-width: 34em; color: var(--ink-2); margin: 0 0 2em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin: 2.2em 0 0 .5em; transform: rotate(-3deg); display: inline-flex; align-items: flex-start; gap: 6px; }
.scribble__arrow { width: 70px; height: 36px; margin-top: 8px; }

.hero__art { position: relative; aspect-ratio: 1 / 1.02; }
.frame--video { position: absolute; top: 10%; left: 0; width: 86%; aspect-ratio: 16 / 9; z-index: 2; }
.frame--video figcaption { position: absolute; left: 70px; top: -40px; color: var(--ink-2); font-size: 1.35rem; transform: rotate(-3deg); white-space: nowrap; z-index: 3; }
.frame--mini { position: absolute; padding: 8px; }
.frame--mini-1 { width: 44%; aspect-ratio: 1; right: 0; bottom: 4%; transform: rotate(4deg); z-index: 3; }
.frame--mini-2 { width: 38%; aspect-ratio: 4/5; left: 6%; bottom: 0; transform: rotate(-5deg); z-index: 1; }
.frame--mini:hover { transform: rotate(0) scale(1.04); z-index: 4; }
.sun {
  position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; right: 3%; top: -4%; z-index: 0;
  background: radial-gradient(circle at 35% 35%, #ffd84a, var(--sun) 60%, #e39b00);
  animation: float 9s ease-in-out infinite;
}

@keyframes wobble { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-2.5deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* ---------- checker + marquee ---------- */
.checker {
  height: 44px;
  background: conic-gradient(var(--ink) 25%, var(--canvas) 0 50%, var(--ink) 0 75%, var(--canvas) 0) 0 0 / 44px 44px;
  /* subtle perspective nod to the café floor */
  transform: perspective(400px) rotateX(18deg); transform-origin: bottom;
}
.checker--small { height: 22px; background-size: 22px 22px; transform: none; }
.marquee { background: var(--red); color: #fff; overflow: hidden; border-block: 2px solid var(--ink); }
.marquee__track { display: flex; gap: 1.6em; width: max-content; padding: .7em 0; animation: marquee 38s linear infinite; }
.marquee__track span { font: 400 clamp(1.4rem, 2.6vw, 2.1rem)/1 var(--serif); font-style: italic; white-space: nowrap; }
.marquee__track i { font-style: normal; color: var(--sun); font-size: 1.4rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about ---------- */
.about {
  max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 160px) var(--gutter) clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: start;
}
.about__media { position: sticky; top: 110px; padding-bottom: 120px; }
.frame--photo { width: 88%; aspect-ratio: 1; box-shadow: 18px 18px 0 var(--blue), var(--shadow); }
.frame--photo:hover { box-shadow: 10px 10px 0 var(--blue), var(--shadow-lg); }
.about__media .frame--polaroid { position: absolute; width: 50%; right: 0; bottom: 0; aspect-ratio: auto; z-index: 2; }
.about__media .frame--polaroid img { aspect-ratio: 1; }
.about__text { max-width: 640px; }
.about__text p { margin: 0 0 1.15em; color: var(--ink-2); }
.dropcap::first-letter {
  float: left; font: 400 5.2em/.78 var(--serif); font-style: italic; color: var(--red);
  margin: .06em .1em 0 -.03em;
}
.bigquote {
  margin: .4em 0 .6em; font: 400 clamp(3rem, 7vw, 5.8rem)/.95 var(--serif);
  font-variation-settings: "SOFT" 100, "WONK" 1; letter-spacing: -.03em; color: var(--ink);
  position: relative;
}
.bigquote::after {
  content: "— Ella"; display: block; font: 600 1.6rem/1 var(--hand); color: var(--red); margin-top: .4em; letter-spacing: 0; transform: rotate(-3deg); transform-origin: left;
}
.journey { list-style: none; padding: 0; margin: 2em 0 1.2em; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 2px solid var(--ink); }
.journey li { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); font-weight: 500; display: flex; gap: 12px; align-items: baseline; }
.journey li:nth-child(odd) { border-right: 1px solid var(--line); }
.journey li:nth-child(even) { padding-left: 16px; }
.journey b { font: 400 italic 1.4rem/1 var(--serif); color: var(--red); }
.about__heroes { transform: rotate(-1.5deg); font-size: 1.45rem; }

/* ---------- bicycle ---------- */
.ride { position: relative; height: 110px; overflow: hidden; max-width: 100%; }
.ride__road { position: absolute; left: 0; right: 0; bottom: 18px; border-bottom: 2px dashed var(--ink); opacity: .35; }
.bike { position: absolute; bottom: 14px; left: 0; width: 120px; transform: translateX(-140px); }
.ride.is-in .bike { animation: ride 9s linear infinite; }
.ride.is-in .wheel { animation: spin 1s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ride { from { transform: translateX(-140px); } to { transform: translateX(calc(100vw + 20px)); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- art ---------- */
.art { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(80px, 10vw, 140px); }
.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head__lede { color: var(--ink-2); font-size: 1.08rem; margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 44px; position: sticky; top: 80px; z-index: 10; padding: 10px 0; background: color-mix(in srgb, var(--canvas) 92%, transparent); }
.chip {
  border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: .55em 1.1em;
  font-weight: 500; font-size: .92rem; transition: background .2s, color .2s, transform .2s var(--ease);
  display: inline-flex; align-items: center; gap: .4em;
}
.chip:hover { transform: rotate(-2deg); }
.chip.is-active { background: var(--ink); color: var(--canvas); }
.chip sup { font-size: .7em; opacity: .7; }
.chip--toggle { cursor: pointer; border-style: dashed; margin-left: auto; }
.chip--toggle input { accent-color: var(--red); margin: 0; }

.grid { columns: 3 300px; column-gap: clamp(22px, 3vw, 44px); }
.card {
  break-inside: avoid; margin: 0 0 clamp(34px, 4vw, 56px); display: inline-block; width: 100%;
  transform: rotate(var(--r, 0deg)); transition: transform .45s var(--ease), opacity .4s;
}
.card:hover { transform: rotate(0) translateY(-6px); }
.card.is-hidden { display: none; }
.card__open { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.card__img { display: block; position: relative; background: #fff; padding: 10px; box-shadow: var(--shadow); transition: box-shadow .45s var(--ease); }
.card:hover .card__img { box-shadow: var(--shadow-lg); }
.card__img img { width: 100%; }
.card__img::after {
  content: "View ↗"; position: absolute; right: 18px; bottom: 18px; background: var(--canvas); color: var(--ink);
  font: 700 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: .7em 1em; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.card:hover .card__img::after, .card__open:focus-visible .card__img::after { opacity: 1; transform: none; }
.card__meta { padding: 16px 4px 0; }
.card__title { font: 400 1.5rem/1.1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; margin: 0 0 4px; }
.card__spec { margin: 0; color: var(--muted); font-size: .88rem; }
.card__price { margin: 6px 0 0; font-weight: 700; font-size: 1rem; }
.card__price s { color: var(--muted); font-weight: 400; }
.card__price .red { font: 600 1.25rem/1 var(--hand); margin-left: 4px; }
.card.is-sold .card__img img { filter: saturate(.55) brightness(.97); }

.stamp {
  position: absolute; top: 18%; left: 50%; translate: -50% 0; rotate: -14deg; z-index: 2;
  font: 900 clamp(1.6rem, 3vw, 2.4rem)/1 var(--serif); letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); border: 4px solid var(--red); border-radius: 6px; padding: .2em .5em .15em;
  background: rgba(251, 247, 240, .82);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.6' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.6' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.empty { text-align: center; font-size: 1.8rem; padding: 60px 0; }

/* ---------- commissions ---------- */
.commissions { background: var(--ink); color: var(--canvas); position: relative; overflow: hidden; }
.commissions::before {
  content: ""; position: absolute; width: 60vw; max-width: 760px; aspect-ratio: 1; border-radius: 50%;
  right: -18vw; top: -22vw; background: radial-gradient(circle, rgba(36, 87, 166, .55), transparent 65%); pointer-events: none;
}
.commissions__inner {
  max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--gutter);
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 7vw, 100px); align-items: center; position: relative;
}
.lede-light { color: #d9d2c5; font-size: 1.12rem; max-width: 36em; margin: 0 0 2.4em; }
.steps { list-style: none; padding: 0; margin: 0 0 2.4em; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps li { border-top: 2px solid var(--canvas); padding-top: 18px; }
.steps__n {
  display: block; font: 400 3.6rem/1 var(--serif); font-style: italic; color: transparent;
  -webkit-text-stroke: 1.5px var(--sun); margin-bottom: 10px;
}
.steps h3 { font: 400 1.6rem/1.1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; margin: 0 0 8px; }
.steps p { margin: 0; color: #c8c0b2; font-size: .95rem; }
.tags { list-style: none; padding: 0; margin: 0 0 2.4em; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid rgba(251,247,240,.35); border-radius: 999px; padding: .45em 1em; font-size: .88rem; color: #e9e2d6; }
.tags li:nth-child(3n+1) { border-color: var(--sun); }
.commissions__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.commissions .btn--red { box-shadow: 4px 4px 0 var(--canvas); border-color: var(--canvas); }
.commissions .btn--red:hover { box-shadow: 6px 6px 0 var(--canvas); }
.commissions__cta .scribble { transform: rotate(-3deg); margin: 0; }
.commissions__media { position: relative; padding-bottom: 60px; }
.frame--tall { width: 78%; aspect-ratio: 9 / 16; margin-left: auto; max-height: 640px; }
.frame--garden { position: absolute; width: 50%; left: 0; bottom: 0; z-index: 2; }
.frame--garden img { aspect-ratio: 4/5; }
.frame--garden figcaption { color: var(--ink-2); }

/* ---------- contact ---------- */
.contact {
  max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--gutter);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start;
}
.contact__intro > p { color: var(--ink-2); font-size: 1.08rem; max-width: 30em; }
.contact__list { list-style: none; padding: 0; margin: 2em 0 0; border-top: 2px solid var(--ink); }
.contact__list li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact__list span { font: 700 .72rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact__list a { text-decoration: none; font: 400 1.2rem/1.3 var(--serif); }
.contact__list a:hover { color: var(--red); }

.form {
  background: #fff; padding: clamp(24px, 4vw, 48px); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--red);
  display: grid; gap: 22px; position: relative;
}
.form::before {
  content: "✉"; position: absolute; top: -26px; right: 28px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--sun); border: 2px solid var(--ink); display: grid; place-items: center; font-size: 1.4rem; transform: rotate(12deg);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 6px; }
.field > span { font: 700 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: 400 1.05rem/1.4 var(--sans); color: var(--ink); width: 100%;
  border: 0; border-bottom: 2px solid var(--ink); background: transparent; padding: 10px 2px; border-radius: 0;
  transition: border-color .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; border: 2px solid var(--ink); padding: 12px; }
.field select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23141414' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fffaf2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__flash { padding: 14px 16px; font-weight: 500; border-left: 5px solid var(--leaf); background: #eef5e6; }
.form__flash--error { border-color: var(--red); background: #fdecec; }
.form__piece { display: flex; align-items: center; gap: 12px; padding: 8px; background: var(--paper); border: 1.5px dashed var(--ink); }
.form__piece img { width: 56px; height: 56px; object-fit: cover; }
.form__piece span { flex: 1; font-size: .95rem; }
.form__piece button { border: 0; background: var(--ink); color: var(--canvas); width: 30px; height: 30px; border-radius: 50%; font-size: 1.1rem; line-height: 1; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #cfc8bb; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 70px var(--gutter) 40px; display: grid; justify-items: center; text-align: center; gap: 10px; }
.footer__logo { width: 170px; }
.footer__tag { font-size: 1.8rem; transform: rotate(-3deg); margin: 0 0 12px; }
.footer__small { font-size: .85rem; margin: 0; opacity: .8; }
.footer__login { margin-top: 22px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; opacity: .55; border-bottom: 1px solid currentColor; }
.footer__login:hover { opacity: 1; color: var(--sun); }

/* ---------- lightbox ---------- */
.lightbox {
  width: min(1180px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 2px solid var(--ink);
  background: var(--canvas); color: var(--ink); box-shadow: 14px 14px 0 var(--red); overflow: auto;
}
.lightbox::backdrop { background: rgba(20, 20, 20, .78); backdrop-filter: blur(4px); }
.lightbox[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96) rotate(-1deg); } }
.lightbox__close {
  position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--canvas); font-size: 1.6rem; line-height: 1;
}
.lightbox__close:hover { background: var(--red); color: #fff; }
.lightbox__body { display: grid; grid-template-columns: 1.35fr 1fr; }
.lightbox__img { position: relative; background: var(--paper); display: grid; place-items: center; padding: clamp(16px, 3vw, 36px); }
.lightbox__img img { max-height: calc(100dvh - 120px); width: auto; box-shadow: var(--shadow-lg); background: #fff; padding: 8px; }
.lightbox__info { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.lightbox__title { font: 400 clamp(2rem, 3.6vw, 3rem)/1 var(--serif); font-variation-settings: "SOFT" 100, "WONK" 1; margin: 0; letter-spacing: -.02em; }
.lightbox__spec { margin: 6px 0; border-top: 2px solid var(--ink); }
.lightbox__spec div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.lightbox__spec dt { font: 700 .72rem/1.8 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.lightbox__spec dd { margin: 0; font-weight: 500; }
#lbPrice { font: 400 1.4rem/1.2 var(--serif); }
.lightbox__desc { color: var(--ink-2); margin: 0; }
.lightbox__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.lightbox__sold { font-size: 1.35rem; margin: 0; }
.lightbox__sold a { color: var(--red); }
.lightbox__nav { margin-top: auto; display: flex; gap: 10px; padding-top: 10px; }
.lightbox__nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; font-size: 1.2rem; transition: background .2s, color .2s; }
.lightbox__nav button:hover { background: var(--ink); color: var(--canvas); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero, .about, .commissions__inner, .contact { grid-template-columns: 1fr; }
  .hero__art { max-width: 560px; width: 100%; margin: 10px auto 0; }
  .about__media { position: relative; top: 0; max-width: 560px; }
  .commissions__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .steps li { display: grid; grid-template-columns: 70px 1fr; column-gap: 14px; }
  .steps__n { grid-row: span 2; font-size: 3rem; }
  .lightbox__body { grid-template-columns: 1fr; }
  .lightbox__img img { max-height: 60dvh; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 62px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--canvas); border-bottom: 2px solid var(--ink); padding: 8px var(--gutter) 20px;
    transform: translateY(-120%); transition: transform .4s var(--ease); z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 14px 0; font: 400 1.8rem/1 var(--serif); border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__cta { background: none; color: var(--red) !important; padding: 14px 0; border-radius: 0; }
  .nav__logo img { width: 78px; }
  .form__row { grid-template-columns: 1fr; }
  .journey { grid-template-columns: 1fr; }
  .journey li:nth-child(odd) { border-right: 0; }
  .journey li:nth-child(even) { padding-left: 0; }
  .filters { top: 68px; flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .chip { white-space: nowrap; flex: none; }
  .chip--toggle { margin-left: 0; }
  .grid { columns: 2 150px; column-gap: 16px; }
  .card__title { font-size: 1.15rem; }
  .card__img { padding: 6px; }
  .card__img::after { display: none; }
  .form { box-shadow: 6px 6px 0 var(--red); }
  .lightbox { box-shadow: 6px 6px 0 var(--red); }
  .tape { width: 64px; height: 20px; }
}
@media (max-width: 420px) {
  .grid { columns: 1; }
  .hero__title { font-size: 3rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .bike { transform: translateX(40vw); }
}
.contact__list .contact__place { font: 400 1.2rem/1.3 var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); }
