/* Stone Thrown Pottery
   Palette pulled from her work: off-white stoneware, navy sgraffito,
   celadon glaze, and the raw clay of her pumpkin stems. */

:root {
  --clay: #F4EEE3;          /* off-white stoneware */
  --clay-deep: #EADFCC;
  --paper: #FBF8F2;
  --cobalt: #1F2C7A;        /* her navy */
  --cobalt-deep: #161F5A;
  --ink: #1B2044;
  --ink-soft: #4C5070;
  --celadon: #8DB5A6;
  --celadon-deep: #5F8F7E;
  --terracotta: #B06D4C;
  --line: rgba(31, 44, 122, .16);

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background-color: var(--clay);
  background-image: url("images/speckle.svg");
  background-size: 260px 260px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .96rem + .2vw, 1.08rem);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--cobalt); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--cobalt);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); }
p { margin: 0 0 1em; text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 1rem;
}

.sr-only, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--paper); padding: .6rem 1rem; }

/* ---------- Notice + header ---------- */

.notice {
  margin: 0;
  padding: .55rem var(--gutter);
  background: var(--cobalt);
  color: var(--clay);
  font-size: .86rem;
  text-align: center;
}
.notice a { color: #fff; font-weight: 600; margin-left: .35rem; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem var(--gutter);
  background: color-mix(in srgb, var(--clay) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--cobalt); }
.brand-mark { width: 38px; height: 38px; color: var(--cobalt); --sf-fill: var(--clay); transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(40deg); }
.brand-name { font-family: var(--serif); font-size: 1.25rem; line-height: 1; white-space: nowrap; }
.brand-name em { font-style: normal; color: var(--terracotta); }

.site-nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); }
.site-nav a {
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
  position: relative; padding: .2rem 0;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--cobalt); color: var(--clay) !important;
  padding: .5rem 1.05rem !important; border-radius: 999px;
}
.nav-cta:hover { background: var(--cobalt-deep); }

.menu-toggle { display: none; }

@media (max-width: 860px) {
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 1.5px solid var(--line); border-radius: 50%; cursor: pointer;
  }
  .bars, .bars::before, .bars::after {
    display: block; width: 18px; height: 2px; background: var(--cobalt); border-radius: 2px; position: relative;
    transition: transform .3s var(--ease), background .2s;
  }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .menu-toggle[aria-expanded="true"] .bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.2rem;
    box-shadow: 0 18px 30px -20px rgba(27, 32, 68, .35);
  }
  .js .site-nav:not(.open) { display: none; }
  .site-nav a { padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav a::after { display: none; }
  .nav-cta { margin-top: .9rem; text-align: center; border-bottom: 0 !important; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 600 1rem/1 var(--sans);
  padding: 1rem 1.5rem; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 2px solid var(--cobalt);
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s;
}
.btn-solid { background: var(--cobalt); color: var(--clay); box-shadow: 0 4px 0 var(--cobalt-deep); }
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--cobalt-deep); }
.btn-solid:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--cobalt-deep); }
.btn-line { background: transparent; color: var(--cobalt); }
.btn-line:hover { background: var(--cobalt); color: var(--clay); }

/* ---------- Hero ---------- */

.hero {
  max-width: var(--wrap); margin: 0 auto; overflow: clip; overflow-clip-margin: 0;
  padding: clamp(2.5rem, 6vw, 5.5rem) var(--gutter) clamp(2rem, 4vw, 3rem);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero h1 { font-size: clamp(2.7rem, 1.6rem + 4.6vw, 5.3rem); margin-bottom: .35em; }
.rim-word {
  white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12'%3E%3Cpath d='M1 7c10-6 20-6 30 0s20 6 30 0 20-6 30 0 18 6 28 0' fill='none' stroke='%23B06D4C' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") left bottom / 120px 12px repeat-x;
  padding-bottom: .16em;
}
.lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); max-width: 34em; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-plate { margin: 0; position: relative; justify-self: center; width: min(100%, 520px); }
.wheel {
  position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: var(--cobalt);
  box-shadow:
    0 0 0 10px var(--clay),
    0 0 0 11.5px var(--line),
    0 40px 60px -30px rgba(22, 31, 90, .55);
}
.hero-plate::before {                /* banding-wheel ring so you can see it turn */
  content: ""; position: absolute; top: -28px; left: -28px; width: calc(100% + 56px); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed rgba(31, 44, 122, .28);
  animation: spin 90s linear infinite reverse;
}
.disc {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
  animation: spin 70s linear infinite;
}
.hero-plate figcaption {
  margin-top: 2.6rem; text-align: center; font-size: .85rem; color: var(--ink-soft); letter-spacing: .02em;
}
@keyframes spin { to { transform: rotate(360deg); } }

.care {
  list-style: none; margin: 0 auto; padding: 0 var(--gutter);
  max-width: var(--wrap);
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem;
}
.care li {
  font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cobalt); border: 1.5px solid var(--cobalt); border-radius: 999px;
  padding: .5rem 1rem; background: var(--paper);
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-plate { order: -1; width: min(78%, 380px); }
  .hero-plate figcaption { margin-top: 2rem; }
}

/* Load choreography */
.js .load { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 120ms + 100ms); }
.js .hero-plate.load { transform: scale(.94) rotate(-8deg); animation-name: settle; animation-duration: 1.3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */

.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { color: var(--ink-soft); font-size: 1.08rem; }

.work { max-width: var(--wrap); margin: 0 auto; padding: clamp(4.5rem, 9vw, 7.5rem) var(--gutter) clamp(3rem, 6vw, 5rem); }

.collections {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.piece { grid-column: span 2; display: flex; flex-direction: column; }
.piece-feature {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center;
  padding-bottom: clamp(1rem, 3vw, 2rem);
}
.piece-feature .piece-text { max-width: 28rem; }
.piece-feature h3 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.piece-text p { color: var(--ink-soft); margin: 0; }
.piece-text h3 { margin-top: 1.1rem; margin-bottom: .35rem; }
.piece-feature .piece-text h3 { margin-top: 0; }

.frame { overflow: hidden; background: var(--clay-deep); position: relative; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.piece:hover .frame img { transform: scale(1.045); }
.frame-round { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 10px var(--paper), 0 0 0 11.5px var(--line); }
.frame-round img { transition-duration: 2s; }
.piece-feature:hover .frame-round img { transform: rotate(12deg) scale(1.02); }
.frame-arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); }

.piece-seasonal { position: relative; }
.piece-seasonal .inset {
  position: absolute; width: 34%; right: -6%; top: 38%;
  border-radius: 999px 999px 10px 10px; border: 6px solid var(--paper);
  box-shadow: 0 16px 30px -18px rgba(27, 32, 68, .6);
  transform: rotate(4deg);
}

@media (max-width: 900px) {
  .collections { grid-template-columns: 1fr 1fr; }
  .piece { grid-column: span 1; }
  .piece-feature { grid-template-columns: 1fr; }
  .piece-seasonal .inset { right: -4%; width: 30%; }
}
@media (max-width: 560px) {
  .collections { grid-template-columns: 1fr; }
  .frame-arch { aspect-ratio: 5 / 5.4; }
  .piece-seasonal .inset { right: 3%; top: 44%; }
}

/* Gallery */
.gallery {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px);
  gap: .8rem;
}
.shot {
  padding: 0; border: 0; cursor: zoom-in; overflow: hidden; border-radius: 10px;
  background: var(--clay-deep); position: relative;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.shot:hover img { transform: scale(1.06); }
.shot.tall { grid-row: span 2; }
.shot.wide { grid-column: span 2; }
@media (max-width: 700px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; }
}

/* ---------- Navy band ---------- */

.band { position: relative; background: var(--cobalt); color: var(--clay); margin: clamp(2rem, 4vw, 3rem) 0; }
.band .rim { position: absolute; left: 0; width: 100%; height: 40px; fill: var(--cobalt); }
.band .rim-top { bottom: 100%; margin-bottom: -1px; }
.band .rim-bottom { top: 100%; margin-top: -1px; }
.band-inner { max-width: var(--wrap); margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) var(--gutter); position: relative; }
.band h2, .band h3 { color: var(--clay); }
.band .eyebrow { color: var(--celadon); }

.process {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem);
  grid-template-areas: "steps photo" "turn photo";
}
.steps { grid-area: steps; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step; position: relative;
  padding: 0 0 1.8rem 4.2rem; margin-bottom: 1.8rem;
  border-bottom: 1px solid rgba(244, 238, 227, .18);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -.1rem;
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.25rem;
  border: 1.5px solid var(--clay); color: var(--clay);
}
.steps h3 { margin-bottom: .4rem; }
.steps p { color: rgba(244, 238, 227, .82); margin: 0; }
.steps em { font-style: italic; color: #fff; }

.process-photo { grid-area: photo; margin: 0; align-self: start; position: sticky; top: 100px; }
.process-photo img { border-radius: 999px 999px var(--radius) var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.process-photo figcaption { margin-top: .9rem; font-size: .92rem; color: rgba(244, 238, 227, .75); }

.turn-over {
  grid-area: turn; display: flex; gap: 1.3rem; align-items: center;
  background: rgba(244, 238, 227, .07); border: 1px solid rgba(244, 238, 227, .18);
  border-radius: 999px 22px 22px 999px; padding: .8rem 1.5rem .8rem .8rem;
}
.turn-over img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; flex: none; transition: transform 1.2s var(--ease); }
.turn-over:hover img { transform: rotate(-25deg); }
.turn-over h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.turn-over p { margin: 0; color: rgba(244, 238, 227, .82); }

@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; grid-template-areas: "steps" "photo" "turn"; }
  .process-photo { position: static; max-width: 420px; }
  .steps li { padding-left: 3.6rem; }
}

/* ---------- Where to find me ---------- */

.find {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start;
}
.find-photo { position: sticky; top: 100px; }
.find-photo img {
  border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%;
  box-shadow: 0 30px 50px -30px rgba(27, 32, 68, .55);
}

.venue { padding: 1.6rem 0 1.7rem; position: relative; }
.venue + .venue::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 10'%3E%3Cpath d='M0 5c10-5 20-5 30 0s20 5 30 0 20-5 20-2' fill='none' stroke='%231F2C7A' stroke-opacity='.3' stroke-width='1.5'/%3E%3C/svg%3E") left center / 80px 10px repeat-x;
}
.venue h3 { margin-bottom: .35rem; }
.venue p { color: var(--ink-soft); margin-bottom: .6rem; max-width: 36rem; }
.venue-tag {
  display: inline-block; margin: 0 0 .7rem !important;
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--celadon-deep) !important; background: rgba(141, 181, 166, .2);
  padding: .3rem .7rem; border-radius: 999px;
}
.venue-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: baseline; font-size: .95rem; margin: 0 !important; }
.venue-meta span { color: var(--ink); font-weight: 500; }
.venue-meta a { font-weight: 600; }
.venue-meta a::after { content: " →"; }

@media (max-width: 860px) {
  .find { grid-template-columns: 1fr; }
  .find-photo { position: static; max-width: 420px; }
  .find-photo img { aspect-ratio: 4 / 3.4; }
}

/* ---------- Calendar ---------- */

.calendar { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.cal {
  display: grid; grid-template-columns: minmax(280px, 390px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 28px;
  padding: clamp(1.2rem, 3.5vw, 2.6rem);
  box-shadow: 0 30px 60px -45px rgba(27, 32, 68, .5);
}

.cal-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.cal-title { margin: 0; font-size: 1.45rem; }
.cal-nav {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  background: transparent; border: 1.5px solid var(--line); color: var(--cobalt);
  font-size: 1.4rem; line-height: 1; transition: background .2s, color .2s;
}
.cal-nav:hover:not(:disabled) { background: var(--cobalt); color: var(--clay); }
.cal-nav:disabled { opacity: .3; cursor: default; }

.cal-week, .cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal-week span { font-size: .72rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-soft); padding-bottom: .4rem; }
.cal-day {
  aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%;
  font: 500 .95rem/1 var(--sans); color: var(--ink); background: none; border: 0; padding: 0;
  position: relative;
}
.cal-day.past { color: rgba(27, 32, 68, .32); }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--terracotta); }
.cal-day.has-event { background: var(--cobalt); color: var(--clay); font-weight: 700; cursor: pointer; transition: transform .2s var(--ease), background .2s; }
.cal-day.has-event.past { background: rgba(31, 44, 122, .35); }
.cal-day.has-event:hover { transform: scale(1.1); }
.cal-day.selected { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5.5px var(--celadon-deep); }

.cal-key { display: flex; align-items: center; gap: .45rem; margin: 1rem 0 0; font-size: .8rem; color: var(--ink-soft); }
.cal-key .dot, .cal-key .ring { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.cal-key .dot { background: var(--cobalt); }
.cal-key .ring { box-shadow: inset 0 0 0 2px var(--terracotta); margin-left: .8rem; }

.cal-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .6rem; }
.cal-list-head h3 { margin: 0; }
.cal-reset { background: none; border: 0; padding: 0; font: 600 .9rem var(--sans); color: var(--cobalt); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.events { list-style: none; margin: 0; padding: 0; }
.event {
  display: grid; grid-template-columns: 64px 1fr; gap: 1.1rem; align-items: start;
  padding: 1.1rem 0; border-top: 1px solid var(--line);
}
.event:first-child { border-top: 0; }
.stamp {                          /* a little clay tile with the date pressed in */
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 64px; height: 72px; border-radius: 32px 32px 10px 10px;
  background: var(--clay); border: 1.5px solid var(--cobalt); color: var(--cobalt); line-height: 1;
}
.stamp .m { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.stamp .d { font-family: var(--serif); font-size: 1.7rem; margin: .12rem 0; }
.stamp .w { font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.event h4 { font-family: var(--serif); font-weight: 400; color: var(--cobalt); font-size: 1.2rem; line-height: 1.2; margin: .15rem 0 .3rem; }
.event .when { font-weight: 600; font-size: .92rem; margin: 0 0 .2rem; }
.event .where { color: var(--ink-soft); font-size: .92rem; margin: 0 0 .3rem; }
.event .desc { color: var(--ink-soft); font-size: .92rem; margin: 0 0 .4rem; white-space: pre-line; }
.event .links { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .88rem; font-weight: 600; margin: 0; }
.cal-empty { color: var(--ink-soft); margin: .6rem 0 0; }
.cal-note { font-size: .82rem; color: var(--terracotta); font-weight: 600; margin: .8rem 0 0; }

@media (max-width: 860px) {
  .cal { grid-template-columns: 1fr; border-radius: 22px; }
  .cal-month { max-width: 420px; }
}

/* ---------- About ---------- */

.about {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.about-text p:not(.eyebrow) { font-size: 1.08rem; max-width: 36rem; }
.about-photo { margin: 0; rotate: 2deg; }
.about-photo img {
  border-radius: 6px; border: 12px solid var(--paper); border-bottom-width: 56px;
  box-shadow: 0 30px 50px -28px rgba(27, 32, 68, .55);
}
.about-photo figcaption {
  margin-top: -44px; position: relative; text-align: center;
  font-family: var(--serif); color: var(--cobalt); font-size: 1.05rem;
}
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { max-width: 460px; }
}

/* ---------- Kind words ---------- */

.words {
  max-width: 820px; margin: 0 auto; text-align: center;
  padding: clamp(3rem, 7vw, 5.5rem) var(--gutter);
}
.words-mark { width: 64px; height: 64px; color: var(--cobalt); --sf-fill: var(--clay); margin-bottom: 1.4rem; }
.words blockquote { margin: 0; }
.words blockquote p {
  font-family: var(--serif); color: var(--cobalt);
  font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.25; margin-bottom: .8rem;
}
.words footer { color: var(--ink-soft); font-size: .95rem; }
.words-stat { margin-top: 1.4rem; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.words-stat strong { color: var(--terracotta); font-size: 1.1rem; }

/* ---------- Contact ---------- */

.contact { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 5vw, 4rem) var(--gutter) clamp(5rem, 9vw, 7rem); }
.contact-card {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 28px;
  padding: clamp(1.6rem, 4vw, 3.5rem);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem);
  box-shadow: 0 30px 60px -45px rgba(27, 32, 68, .5);
}
.contact-intro > p:not(.eyebrow) { color: var(--ink-soft); font-size: 1.05rem; }
.contact-links { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.contact-links li {
  display: grid; grid-template-columns: 6.5rem 1fr; gap: .8rem; align-items: baseline;
  padding: .7rem 0; border-top: 1px solid var(--line);
}
.contact-links span { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terracotta); }
.contact-links a { font-weight: 500; word-break: break-word; }

.note-form { display: flex; flex-direction: column; gap: 1rem; }
.note-form label { display: flex; flex-direction: column; gap: .4rem; }
.note-form label span { font-size: .88rem; font-weight: 600; color: var(--ink); }
.note-form input, .note-form select, .note-form textarea {
  font: inherit; color: var(--ink);
  background: var(--clay); border: 1.5px solid var(--line); border-radius: 12px;
  padding: .8rem .95rem; width: 100%;
  transition: border-color .2s, background .2s;
}
.note-form input:focus, .note-form select:focus, .note-form textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; }
.note-form textarea { resize: vertical; min-height: 120px; }
.note-form .btn { align-self: flex-start; margin-top: .3rem; }
.note-form [aria-invalid="true"] { border-color: var(--terracotta); }
.form-hint { font-size: .85rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) {
  .contact-card { grid-template-columns: 1fr; border-radius: 22px; }
  .contact-links li { grid-template-columns: 5.5rem 1fr; }
}

/* ---------- Footer (the underside of the platter) ---------- */

.site-footer { position: relative; background: var(--cobalt); color: var(--clay); margin-top: 40px; }
.site-footer .rim { position: absolute; left: 0; bottom: 100%; margin-bottom: -1px; width: 100%; height: 40px; fill: var(--cobalt); }
.footer-inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(3rem, 6vw, 4.5rem) var(--gutter) 2.5rem;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.underside { width: clamp(190px, 22vw, 260px); height: auto; color: var(--clay); --sf-fill: var(--cobalt); }
.underside-ring { fill: none; stroke: var(--clay); stroke-width: 2.5; }
.underside-ring.thin { stroke-width: 1.5; stroke-opacity: .5; }
.underside-text { fill: var(--clay); font-family: var(--sans); font-size: 17.3px; font-weight: 600; letter-spacing: .12em; }
.underside-flower { color: var(--clay); }
.underside text, .underside use { transform-origin: 150px 150px; }
.underside:hover text { animation: spin 22s linear infinite; }

.footer-copy p { margin-bottom: .7rem; color: rgba(244, 238, 227, .82); }
.sig { font-family: var(--serif); font-size: 2rem; color: var(--clay) !important; line-height: 1; transform: rotate(-3deg); transform-origin: left; margin-bottom: 1rem !important; }
.footer-links { display: flex; gap: 1.3rem; flex-wrap: wrap; }
.footer-links a { color: var(--clay); font-weight: 600; }
.small { font-size: .82rem; opacity: .7; margin-top: 1.4rem; }
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .sig { transform-origin: center; }
  .footer-links { justify-content: center; }
}

/* ---------- Lightbox ---------- */

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
  width: 100vw; height: 100vh; margin: 0;
}
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox::backdrop { background: rgba(14, 19, 56, .9); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100vh; padding: 3.5rem 0; }
.lightbox img { max-height: calc(100vh - 9rem); max-width: 100%; width: auto; object-fit: contain; border-radius: 8px; }
.lightbox figcaption { color: var(--clay); margin-top: 1rem; font-size: .95rem; text-align: center; padding: 0 1rem; }
.lightbox button {
  background: rgba(244, 238, 227, .12); color: var(--clay); border: 1px solid rgba(244, 238, 227, .3);
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.7rem; line-height: 1; cursor: pointer; margin: 0 clamp(.4rem, 2vw, 1.5rem);
}
.lightbox button:hover { background: rgba(244, 238, 227, .25); }
.lb-close { position: fixed; top: 1rem; right: .5rem; }

/* ---------- Scroll reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .load, .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   Shared bits for the shop, thank-you and admin pages
   ===================================================================== */

.site-nav { margin-left: auto; }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.work-shop { text-align: center; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }

.bag-btn {
  display: inline-flex; align-items: center; gap: .45rem; flex: none;
  background: var(--paper); color: var(--cobalt); border: 1.5px solid var(--line); border-radius: 999px;
  padding: .45rem .9rem .45rem .75rem; font: 600 .95rem var(--sans); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.bag-btn:hover { border-color: var(--cobalt); }
.bag-btn svg { width: 20px; height: 20px; }
.bag-count {
  min-width: 1.4rem; height: 1.4rem; padding: 0 .35rem; border-radius: 999px;
  background: var(--terracotta); color: #fff; font-size: .78rem; display: inline-grid; place-items: center;
}
.bag-count[hidden] { display: none; }
.bag-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
@media (max-width: 860px) {
  .bag-btn { margin-left: auto; }
  .bag-btn > span:not(.bag-count) { display: none; }
}

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font: 600 .9rem var(--sans); color: var(--cobalt); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1rem; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover:not(:disabled) { border-color: var(--cobalt); }
.chip[aria-pressed="true"] { background: var(--cobalt); color: var(--clay); border-color: var(--cobalt); }
.chip:disabled { opacity: .45; cursor: default; text-decoration: line-through; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); overflow: hidden; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; color: var(--cobalt); font-size: 1.25rem; cursor: pointer; }
.stepper button:hover:not(:disabled) { background: var(--clay-deep); }
.stepper button:disabled { opacity: .3; cursor: default; }
.stepper output, .stepper input { min-width: 2.2rem; text-align: center; font: 600 1rem var(--sans); color: var(--ink); }
.stepper input { width: 3.2rem; border: 0; background: none; padding: 0; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.small button { width: 32px; height: 32px; font-size: 1.05rem; }

.dlg-close {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper);
  color: var(--cobalt); font-size: 1.6rem; line-height: 1; cursor: pointer; flex: none;
}
.dlg-close:hover { background: var(--clay-deep); }
dialog::backdrop { background: rgba(14, 19, 56, .55); backdrop-filter: blur(3px); }

.toast {
  position: fixed; left: 50%; bottom: 1.2rem; z-index: 60; transform: translate(-50%, 20px); opacity: 0;
  background: var(--ink); color: var(--clay); padding: .8rem 1.1rem; border-radius: 14px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); max-width: calc(100vw - 32px);
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; font-size: .95rem;
  transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast-link { background: none; border: 0; color: #fff; font: 700 .95rem var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 0; }

.btn.small { padding: .6rem 1rem; font-size: .9rem; box-shadow: none; }
.btn-solid.small { box-shadow: 0 3px 0 var(--cobalt-deep); }
.btn-quiet { background: none; border-color: transparent; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.btn-quiet:hover { color: var(--terracotta); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: inherit; text-decoration: underline; cursor: pointer; }

/* =====================================================================
   Shop
   ===================================================================== */

.shop-hero { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) 1.5rem; }
.shop-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); margin-bottom: .3em; }
.shop-hero .lede { margin-bottom: 1.4rem; }
.shop-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-facts li {
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--cobalt); border: 1.5px solid var(--cobalt); border-radius: 999px; padding: .45rem .9rem; background: var(--paper);
}

.shop-bar {
  max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  position: sticky; top: 66px; z-index: 10;
  background: color-mix(in srgb, var(--clay) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.shop-count { margin: 0; color: var(--ink-soft); font-size: .92rem; }

.products {
  max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter) clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem) clamp(1rem, 2.5vw, 2rem);
}
.product { display: flex; flex-direction: column; gap: .7rem; }
.product-open { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; border-radius: 999px 999px var(--radius) var(--radius); }
.product .frame { aspect-ratio: 4 / 5; }
.product .frame img { transition: transform 1s var(--ease); }
.product-open:hover .frame img { transform: scale(1.05); }
.frame.no-photo { background: var(--clay-deep) url("/favicon.svg") center / 38% no-repeat; }
.product-info h3 { font-size: 1.25rem; margin: 0 0 .25rem; }
.product-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem .8rem; margin: 0; }
.product-meta .price { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.product-meta .stock { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--terracotta); }
.product-add { align-self: flex-start; margin-top: auto; }
.product.is-sold .frame img { filter: grayscale(.7) opacity(.7); }
.product.is-sold .price { color: var(--ink-soft); }
.sold-stamp {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg);
  width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(244, 238, 227, .92); color: var(--cobalt); border: 2.5px solid var(--cobalt);
  box-shadow: inset 0 0 0 5px rgba(244, 238, 227, .92), inset 0 0 0 6.5px var(--cobalt);
  font: 400 1.35rem var(--serif); letter-spacing: .08em; text-transform: uppercase;
}
.shop-none { grid-column: 1 / -1; color: var(--ink-soft); }

.skeleton .frame, .skeleton p { background: linear-gradient(100deg, var(--clay-deep) 40%, #f3ece0 50%, var(--clay-deep) 60%) 0 0 / 200% 100%; animation: shimmer 1.4s linear infinite; }
.skeleton p { height: 1rem; border-radius: 6px; margin: 0; }
.skeleton p:last-child { width: 40%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.shop-state { max-width: 560px; margin: 0 auto; padding: 1rem var(--gutter) 4rem; text-align: center; }
.shop-state .state-mark { width: 64px; height: 64px; color: var(--cobalt); --sf-fill: var(--clay); margin-bottom: 1rem; }
.shop-state h2 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.4rem); }
.shop-state p { color: var(--ink-soft); }

.shop-help {
  max-width: var(--wrap); margin: 0 auto clamp(4rem, 8vw, 6rem); padding: 0 var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem;
}
.shop-help > div { max-width: 36rem; }
.shop-help h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-bottom: .3rem; }
.shop-help p { color: var(--ink-soft); margin: 0; }

/* Product dialog */
.pd {
  width: min(960px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0;
  border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
}
.pd .dlg-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.pd-body { display: grid; grid-template-columns: 1.05fr 1fr; }
.pd-media { background: var(--clay-deep); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.pd-main { aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--clay); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-main.no-photo { background: var(--clay) url("/favicon.svg") center / 34% no-repeat; }
.pd-main.no-photo img { display: none; }
.pd-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-thumb { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.pd-thumb[aria-pressed="true"] { border-color: var(--cobalt); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { padding: clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: .2rem; overflow-y: auto; }
.pd-info h2 { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); margin: 0 2.5rem .3rem 0; }
.pd-info .eyebrow { margin-bottom: .6rem; }
.pd-price { font-size: 1.5rem; font-weight: 700; margin-bottom: .8rem; }
.pd-desc { color: var(--ink-soft); white-space: pre-line; }
.pd-variants { border: 0; padding: 0; margin: .2rem 0 1rem; }
.pd-variants legend { font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.pd-qty { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; font-weight: 600; font-size: .92rem; }
.pd-left { color: var(--ink-soft); font-weight: 500; }
.pd-add { align-self: flex-start; min-width: 12rem; }
.pd-note { margin-top: 1rem; font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 760px) {
  .pd-body { grid-template-columns: 1fr; }
  .pd { border-radius: 20px; }
  .pd-add { align-self: stretch; }
}

/* Bag drawer */
.bag {
  margin: 0 0 0 auto; height: 100vh; max-height: 100vh; width: min(440px, 100vw);
  border: 0; padding: 0; background: var(--paper); color: var(--ink);
  display: none; flex-direction: column;
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .45);
}
.bag[open] { display: flex; animation: slide-in .35s var(--ease); }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.bag-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.bag-head h2 { font-size: 1.6rem; margin: 0; }
.bag-lines { list-style: none; margin: 0; padding: .4rem 1.4rem; overflow-y: auto; flex: 1; }
.bag-line { display: grid; grid-template-columns: 76px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.bag-thumb { width: 76px; height: 92px; border-radius: 38px 38px 10px 10px; overflow: hidden; background: var(--clay-deep); }
.bag-thumb img { width: 100%; height: 100%; object-fit: cover; }
.bag-text p { margin: 0; }
.bag-name { font-family: var(--serif); color: var(--cobalt); font-size: 1.1rem; line-height: 1.2; }
.bag-variant { font-size: .88rem; color: var(--ink-soft); }
.bag-price { font-weight: 700; margin-top: .2rem !important; }
.bag-controls { display: flex; align-items: center; gap: 1rem; margin-top: .6rem; }
.bag-remove { background: none; border: 0; padding: 0; font: 500 .88rem var(--sans); color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bag-remove:hover { color: var(--terracotta); }
.bag-empty { padding: 2rem 1.4rem; color: var(--ink-soft); flex: 1; }
.bag-foot { padding: 1.2rem 1.4rem 1.4rem; border-top: 1px solid var(--line); background: var(--clay); }
.bag-foot[hidden] { display: none; }
.bag-total { display: flex; justify-content: space-between; font-size: 1.15rem; margin: 0 0 .3rem; }
.bag-fine, .bag-secure { font-size: .85rem; color: var(--ink-soft); margin: 0 0 1rem; }
.bag-secure { margin: .7rem 0 0; text-align: center; }
.bag-checkout { width: 100%; }
.bag-alert { background: rgba(176, 109, 76, .12); color: #7a3f22; border-radius: 12px; padding: .7rem .9rem; font-size: .92rem; margin: 0 0 1rem; }

/* Thank-you page */
.thanks { max-width: 640px; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) var(--gutter); text-align: center; }
.thanks h1 { font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem); }
.thanks-mark { width: 88px; height: 88px; color: var(--cobalt); --sf-fill: var(--clay); margin-bottom: 1rem; animation: spin 40s linear infinite; }
.thanks .hero-actions { justify-content: center; margin-top: 1.6rem; }
.thanks-order { font-weight: 700; color: var(--cobalt); }

/* =====================================================================
   Admin
   ===================================================================== */

.page-admin { background-image: none; background-color: #F7F3EC; }
.admin-header .brand-name em { font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--cobalt); color: var(--clay); padding: .25rem .5rem; border-radius: 6px; vertical-align: middle; margin-left: .2rem; }
.admin-links { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: flex-end; }
.admin-links a { font-weight: 600; font-size: .92rem; }

.admin { max-width: 980px; margin: 0 auto; padding: clamp(1.5rem, 4vw, 3rem) var(--gutter) 5rem; }
.admin-hello h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); margin-bottom: .2rem; }
.admin-hello p { color: var(--ink-soft); }

.tabs { display: flex; gap: .4rem; margin: 1.6rem 0 1.4rem; background: var(--clay-deep); padding: .35rem; border-radius: 999px; width: max-content; max-width: 100%; }
.tabs [role="tab"] { border: 0; background: none; font: 600 1rem var(--sans); color: var(--ink-soft); padding: .7rem 1.6rem; border-radius: 999px; cursor: pointer; }
.tabs [aria-selected="true"] { background: var(--paper); color: var(--cobalt); box-shadow: 0 2px 8px -2px rgba(27, 32, 68, .25); }

.panel-top { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; }
.search input { font: inherit; border: 1.5px solid var(--line); border-radius: 999px; padding: .75rem 1.1rem; min-width: min(280px, 100%); background: var(--paper); }
.search input:focus { outline: none; border-color: var(--cobalt); }
.admin-tip { color: var(--ink-soft); font-size: .92rem; margin: .9rem 0 0; }
.admin-alert { background: rgba(176, 109, 76, .12); color: #7a3f22; border-radius: 12px; padding: .8rem 1rem; margin: 1rem 0 0; }

.group-title { font-size: 1.5rem; margin: 2.2rem 0 .8rem; display: inline-block; }
.group-title span { font-family: var(--sans); font-size: 1rem; color: var(--ink-soft); }
.group-more summary { cursor: pointer; list-style: none; }
.group-more summary::-webkit-details-marker { display: none; }
.group-more summary .group-title::before { content: "▸ "; color: var(--terracotta); }
.group-more[open] summary .group-title::before { content: "▾ "; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.rows-empty { color: var(--ink-soft); margin: 0; }
.row {
  display: grid; grid-template-columns: 88px 1fr; gap: 1rem; align-items: start;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: .9rem;
}
.row-thumb { width: 88px; height: 104px; border-radius: 44px 44px 10px 10px; overflow: hidden; background: var(--clay-deep) url("/favicon.svg") center / 44% no-repeat; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-main h3 { font-size: 1.2rem; margin: .1rem 0 .2rem; }
.row-meta { color: var(--ink-soft); font-size: .92rem; margin: 0 0 .7rem; }
.row-stock { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-bottom: .8rem; }
.stock-line { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.stock-label { font-size: .85rem; font-weight: 600; min-width: 4.5rem; }
.stock-hint { font-size: .78rem; color: var(--terracotta); }
.row-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.row-status { font-size: .85rem; margin: .5rem 0 0; min-height: 1.2em; color: var(--ink-soft); }
.row-status.ok { color: var(--celadon-deep); font-weight: 600; }
.row-status.bad { color: #a4461f; font-weight: 600; }
@media (max-width: 520px) {
  .row { grid-template-columns: 64px 1fr; }
  .row-thumb { width: 64px; height: 78px; }
}

.cal-admin { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.cal-admin h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); }
.cal-admin h3 { font-size: 1.3rem; margin-top: 1.8rem; }
.cal-admin p { color: var(--ink-soft); }
.howto { padding-left: 1.3rem; color: var(--ink-soft); }
.howto li { margin-bottom: .5rem; }
.cal-preview { background: var(--paper); border: 1.5px solid var(--line); border-radius: 20px; padding: 1.4rem; align-self: start; }
.cal-preview h3 { margin-top: 0; }
.admin-event { display: flex; flex-direction: column; padding: .7rem 0; border-top: 1px solid var(--line); }
.admin-event:first-child { border-top: 0; }
.admin-event span { font-size: .9rem; color: var(--ink-soft); }
@media (max-width: 760px) { .cal-admin { grid-template-columns: 1fr; } }

/* Editor dialog */
.editor {
  width: min(560px, calc(100vw - 20px)); max-height: calc(100vh - 20px); padding: 0; border: 0; border-radius: 22px;
  background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
}
.editor form { padding: 1.3rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.editor-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.editor-head h2 { font-size: 1.7rem; margin: 0; }
.photo-pick { display: grid; grid-template-columns: 110px 1fr; grid-template-rows: auto auto; gap: .4rem 1rem; align-items: center; }
.photo-preview { grid-row: span 2; width: 110px; height: 130px; border-radius: 55px 55px 12px 12px; overflow: hidden; background: var(--clay-deep); display: grid; place-items: center; text-align: center; font-size: .8rem; color: var(--ink-soft); }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-pick .btn { justify-self: start; cursor: pointer; }
.field { display: flex; flex-direction: column; gap: .35rem; border: 0; padding: 0; margin: 0; }
.field > span, .field > legend { font-weight: 600; font-size: .92rem; padding: 0; }
.field em { font-weight: 400; color: var(--ink-soft); }
.field-hint { font-size: .82rem; color: var(--ink-soft); margin: 0; }
.editor input:not([type="checkbox"]):not([type="file"]), .editor textarea {
  font: inherit; color: var(--ink); background: var(--clay); border: 1.5px solid var(--line); border-radius: 12px;
  padding: .75rem .9rem; width: 100%;
}
.editor input:focus, .editor textarea:focus { outline: none; border-color: var(--cobalt); background: #fff; }
.money-input { display: flex; align-items: center; background: var(--clay); border: 1.5px solid var(--line); border-radius: 12px; padding-left: .9rem; }
.money-input:focus-within { border-color: var(--cobalt); background: #fff; }
.money-input span { color: var(--ink-soft); font-weight: 600; }
.editor .money-input input:not([type="checkbox"]):not([type="file"]) { border: 0; background: none; padding-left: .5rem; }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .4rem; }
.check { display: inline-flex; align-items: center; gap: .4rem; background: var(--clay); border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .85rem; cursor: pointer; font-size: .92rem; }
.check:has(input:checked) { border-color: var(--cobalt); background: rgba(31, 44, 122, .08); color: var(--cobalt); font-weight: 600; }
.switch-row { display: flex; align-items: center; gap: .6rem; font-weight: 600; cursor: pointer; }
.switch-row input { width: 20px; height: 20px; accent-color: var(--cobalt); }
.editor-foot { display: flex; justify-content: flex-end; gap: .6rem; flex-wrap: wrap; }
.editor .admin-alert { margin: 0; }

@media (max-width: 600px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem .9rem; }
  .product-info h3 { font-size: 1.05rem; }
  .product-meta .price { font-size: .98rem; }
  .product-add { align-self: stretch; padding: .75rem .5rem; font-size: .88rem; }
  .sold-stamp { width: 78px; height: 78px; font-size: 1.05rem; }
  .shop-facts li { font-size: .72rem; }
}
