/* ─────────────────────────────────────────────
   BLOOMOR — shared stylesheet
   Used by index.html and every work page.
   Edit colours once here and it changes everywhere.
   ───────────────────────────────────────────── */

:root{
  /* ── palette ──────────────────────────────────
     Two families only: greens and pinks, both greyed.
     Nothing here is saturated — that is the whole point. */

  /* grounds */
  --bone:      #F2EBE0;   /* warm cream, faintly blush */
  --blush:     #F2D6CB;   /* pale rose ground */
  --celadon:   #DCE2D4;   /* pale green ground */

  /* greens, light to dark */
  --sage:      #A5B096;
  --olive:     #6E7444;
  --olive-deep:#565C33;   /* footer block — deep enough for bone text */
  --moss:      #3F4632;
  --forest:    #2A3124;

  /* pinks, light to dark — one family, evenly stepped */
  --rose-pale: #F0C6B6;
  --rose:      #D6907F;
  --old-rose:  #A5504A;
  --oxblood:   #6B2D26;

  /* metal — never more than a hairline */
  --brass:     #B08D57;

  /* ── roles (what the components actually use) ── */
  --ground:#F2EBE0;
  --ink:#3F4632;      /* moss — body text */
  --green:#6E7444;    /* olive — links, active */
  --gold:#A5504A;     /* old rose — underlines, second accent */
  --stone:#6F625C;    /* warm mauve grey — small labels */
  --rule:#E2B9AA;     /* hairlines — drawn from the rose family, not mixed by eye */

  --serif:"EB Garamond",Garamond,"Times New Roman",serif;
}

*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  background:var(--ground);
  color:var(--ink);
  font-family:var(--serif);
  font-size:18px;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
  opacity:0;
  transition:opacity .85s ease;
}
body.ready{opacity:1}
body.leaving{opacity:0;transition:opacity .42s ease}

:root{
  --gutter:30px;
  /* one value for every gap between images, everywhere on the site */
  --gap-img:8px;
  /* deliberate exception: the opening spread breathes, everything
     below it is tight. Change here, not in the components. */
  --gap-spread:88px;
  /* the gap between the header and whatever a page opens with —
     one value so every page starts on the same line */
  --gap-head:44px;
}

.wrap{max-width:1260px;margin:0 auto;padding:0 26px}

/* full edge bleed — used on the landing page only.
   Images run to the screen edges; text keeps its own gutter. */
.wrap.bleed{max-width:none;margin:0;padding:0}
.wrap.bleed .work .meta{padding:0 var(--gutter)}
.wrap.bleed .enquiry{padding:16px var(--gutter)}
.wrap.bleed footer{padding:26px var(--gutter) 44px}

a{color:inherit}

.lbl{
  font-size:11.5px;
  /* variable-font half-step — 400 is Regular, 500 is Medium.
     450 thickens the strokes a hair without going to Medium. */
  font-weight:530;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--stone);
  line-height:1.6;
}
.lbl-ink{color:var(--ink)}

/* ── rules ────────────────────────────── */
.rule{width:100%;height:0.5px;background:var(--rule);margin:64px 0}
.rule-short{width:52px;margin:34px auto}

/* ── plates (image frames) ────────────── */
.plate{
  position:relative;
  border:0.5px solid var(--rule);
  aspect-ratio:4/5;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.plate[data-label]::after{
  content:attr(data-label);
  font-size:11.5px;
  font-weight:530;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--stone);
}
.plate:has(img){border:0;aspect-ratio:auto}
.plate:has(img)::after{display:none}
.plate img{width:100%;height:auto;display:block}
.plate.wide{aspect-ratio:16/9}

/* ═══════════════════════════════════════
   LANDING — hero
   ═══════════════════════════════════════ */
.hero{
  /* the first panel in the stack — it holds while the works rise
     over it, exactly like the works hold for each other. Sticky
     rather than relative is the whole difference. */
  position:sticky;
  top:0;
  height:100vh;
  height:100svh;
  min-height:520px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.hero-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  /* lower this % to push the flare further down the screen,
     raise it to pull the flare up */
  object-position:calc(50% - 10px) 8%;
  transform:scale(1.11) translate3d(0,1.5%,0);
  animation:kenburns 17s cubic-bezier(.22,.7,.25,1) forwards;
}
/* starts wider and slightly low, settles into the framing you set.
   The end state is scale(1) — so it never rests more cropped than now. */
@keyframes kenburns{
  from{transform:scale(1.11) translate3d(0,1.5%,0)}
  to{transform:scale(1) translate3d(0,0,0)}
}

/* hero photograph runs at full strength — no wash.
   Everything laid over it is white. */
.hero .cue,
.hero .sub{color:#F6F3EC}

/* nav in old rose, over a soft light scrim at the very top.
   Delete .hero-scrim from index.html if you want the photo untouched. */
.hero-scrim{
  position:absolute;
  top:0; left:0; right:0;
  height:140px;
  z-index:1;
  background:linear-gradient(to bottom, rgba(242,235,224,.62), rgba(242,235,224,0));
  pointer-events:none;
}
.hero .topbar a{color:var(--old-rose)}
/* same hover as the inner pages — olive text, rose underline */
.hero .topbar a:hover{color:var(--green);border-color:var(--gold)}

/* top navigation, sits over the hero */
.topbar{
  position:absolute;
  top:0; left:0; right:0;
  z-index:3;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:40px;
  /* 55px puts this line on the same vertical centre as the nav on the
     inner pages, where it is centred against the 92px icon */
  padding:55px var(--gutter) 32px;
  opacity:0;
  animation:heroIn 1.4s cubic-bezier(.16,1,.3,1) .15s forwards;
}
.topbar a{
  font-size:11.5px;
  font-weight:530;
  letter-spacing:.26em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--ink);
  padding-bottom:4px;
  border-bottom:0.5px solid transparent;
  transition:color .45s ease,border-color .45s ease;
}
.topbar a:hover{color:var(--green);border-color:var(--gold)}

/* nav on pages without a hero behind it */
.topbar-solid{position:static;opacity:1;animation:none}

/* page heading — Hommages, Collections, Archive */
/* sits below the work, not above it */
.page-head{
  text-align:center;
  padding:78px var(--gutter) 84px;
}
/* on a tinted band it needs even air top and bottom */
.page-head.band{
  background:var(--blush);
  padding:92px var(--gutter) 96px;
  margin-top:var(--gap-head);
}
.page-mark{
  display:block;
  width:32px;
  height:auto;
  margin:0 auto -2px;
}
.page-mark-lg{width:48px}
.page-title{
  font-size:clamp(30px,4.4vw,46px);
  font-weight:400;
  font-style:italic;
  margin-top:34px;
}
.page-note{
  max-width:34rem;
  margin:20px auto 0;
  color:var(--stone);
}

.hero-inner{
  position:relative;
  z-index:2;
  text-align:center;
  margin-bottom:0;   /* true geometric centre */
  opacity:0;
  transform:translateY(16px);
  animation:heroIn 1.6s cubic-bezier(.16,1,.3,1) .35s forwards;
}
@keyframes heroIn{to{opacity:1;transform:none}}

.hero .cue{
  position:absolute;
  z-index:2;
  bottom:34px;
  left:50%;
  transform:translateX(-50%);
}

.mark-img{
  display:block;
  width:308px;
  max-width:70vw;
  height:auto;
  margin:0 auto;
}
.mark-img.small{width:150px}
.hero .sub{font-size:12px;letter-spacing:.24em;margin-top:14px}

/* ── masthead (work pages) ────────────── */
header{padding:44px 0 0;text-align:center}

/* on work pages the wordmark sits right, with the back link opposite —
   .page-head (the Hommages index) keeps its centred title layout */
header:not(.page-head){
  display:flex;
  /* nav sits on the icon's vertical centre */
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:32px 0 0;
}
.head-icon{display:block;width:87px;height:auto;margin:0}

/* while the gallery wash is up, the header rises above it and goes
   light — a way out of the dark */
.head-mark{position:relative;display:block}
.head-icon-light{
  position:absolute;
  top:0;left:0;
  opacity:0;
  transition:opacity .6s ease;
  pointer-events:none;
}
body.gal-focus header{position:relative;z-index:60}
body.gal-focus .head-icon-light{opacity:1}
body.gal-focus .head-nav a{color:var(--rose-pale)}
body.gal-focus .head-nav a:hover{color:var(--bone);border-bottom-color:var(--rose)}

.head-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:26px;
}
.head-nav a{
  font-size:11.5px;
  font-weight:530;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--old-rose);
  text-decoration:none;
  padding-bottom:4px;
  border-bottom:0.5px solid transparent;
  transition:color .45s ease,border-color .45s ease;
}
.head-nav a:hover{color:var(--green);border-bottom-color:var(--gold)}
.sub{margin-top:12px;font-weight:475}

/* ── scroll cue ───────────────────────── */
.cue{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  transition:opacity .6s ease;
}
.cue.hide{opacity:0}
.cue svg{animation:bob 2.6s ease-in-out infinite}
@keyframes bob{
  0%,100%{transform:translateY(0);opacity:.45}
  50%{transform:translateY(6px);opacity:1}
}

/* ═══════════════════════════════════════
   LANDING — index of works
   ═══════════════════════════════════════ */
.works{padding-top:0}
/* only when the works open a page directly under the header —
   on the landing page they follow the hero, so they stay flush */
header + .works{padding-top:var(--gap-head)}

.work{
  position:relative;
  display:block;
  text-decoration:none;
  margin-bottom:4px;
}

/* ── the panel stack ──────────────────────────────────────
   This is how Studio Mondine does it, and it is worth understanding
   because it looks like scroll trickery and is not.

   Each work is position:sticky at the top of the window and exactly
   one screen tall. Scrolling never pushes a panel away — the panel
   holds where it is while the next one rises over it and takes the
   screen. The scroll itself stays completely native, 1:1 with the
   wheel, so nothing moves except in direct response to the hand.
   That is why it reads as composed rather than as the page taking
   over, and why it does not make anyone ill.

   No snapping and no JavaScript. Both were tried here and both had
   to come out: anything that moves the page of its own accord after
   someone stops scrolling separates what the eye sees from what the
   hand did, which is a known trigger for motion sickness. */
.works .work{
  position:sticky;
  top:0;
  height:100vh;
  height:100svh;
  margin-bottom:0;
  overflow:hidden;
}
/* the pair fills the screen, so the panel is edge to edge */
.works .work .pair{height:100%}
.works .work .pair .plate{aspect-ratio:auto;height:100%}

/* whatever follows the stack must sit above it, or the last panel
   shows through from underneath as it scrolls past. The footer only
   needs the stacking context — it paints its own olive further down. */
.works + .enquiry{position:relative;z-index:2;background:var(--ground)}
footer{position:relative;z-index:2}


/* each work is a pair of images */
.pair{display:grid;grid-template-columns:1fr 1fr;gap:0}
.pair .plate{
  aspect-ratio:4/5;
  overflow:hidden;
  border:0;
  position:relative;
}
.pair .plate img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 1.6s cubic-bezier(.16,1,.3,1);
}
.work:hover .pair .plate img{transform:scale(1.03)}

/* images sit in full colour; the wash and label arrive on hover */
.work .veil{
  position:absolute;
  inset:0;
  z-index:2;
  background:rgba(51,55,42,.58);
  opacity:0;
  transition:opacity .6s ease;
  pointer-events:none;
}
.work .meta{
  position:absolute;
  inset:0;
  z-index:3;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:0 var(--gutter);
  color:#F3EFE6;
  opacity:0;
  transition:opacity .6s ease;
  pointer-events:none;
}
.work:hover .veil,
.work:focus-visible .veil,
.work:hover .meta,
.work:focus-visible .meta{opacity:1}

.work .meta .lbl,
.work .meta h2,
.work .meta .attr{color:#F3EFE6}
.work .meta .view{
  color:#F3EFE6;
  border-bottom-color:rgba(243,239,230,.55);
}
.work:hover .meta .view{color:#F3EFE6;border-bottom-color:#F3EFE6}

/* touch devices have no hover — show the label always */
@media (hover:none){
  .work .veil{opacity:.5}
  .work .meta{opacity:1}
}

.work .meta h2{
  font-size:clamp(26px,3.4vw,42px);
  font-weight:400;
  font-style:italic;
  line-height:1.2;
  margin:8px 0 2px;
}
.work .meta .attr{font-size:clamp(16px,1.8vw,19px)}
.work .view{
  display:inline-block;
  margin-top:20px;
  font-size:11.5px;
  font-weight:530;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--green);
  border-bottom:0.5px solid var(--gold);
  padding-bottom:5px;
  transition:color .45s ease,border-color .45s ease;
}
.work:hover .view{color:var(--gold);border-color:var(--green)}

/* forthcoming entries — no photograph, label always visible */
.work.soon{pointer-events:none}
.work.soon .pair .plate{border:0;background:var(--forest)}
.work.soon .veil{display:none}
/* Frosted-glass placeholder — the flowers are there but not yet shown.
   RULE: always use a sharp source image and blur it here, never a
   blurry source. Deleting this block is how a work is revealed. */
.work.soon .pair .plate img{
  filter:blur(14px) saturate(.82);
  opacity:.62;
  transform:scale(1.14);
}
.work.soon .meta{opacity:1}
.work.soon .meta .lbl,
.work.soon .meta .attr{color:var(--rose-pale)}
.work.soon .meta h2{color:var(--bone)}

/* ═══════════════════════════════════════
   WORK PAGE
   ═══════════════════════════════════════ */
.spread{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:var(--gap-spread);
  align-items:stretch;
  margin:var(--gap-head) 0 0;
  /* clear space below the image so the next section never peeks
     above the fold — the opening spread owns the first screen */
  padding-bottom:80px;
}
.spread .plate{
  /* same shape and behaviour as the comparison plates below:
     4/5, filling its column, height follows the width */
  aspect-ratio:4/5;
  width:100%;
  height:auto;
  min-height:0;
}
.spread .plate img{width:100%;height:100%;object-fit:cover}

/* the text column never exceeds the photograph's height — it is
   capped to exactly the same measure and centred inside it.
   If copy overflows, cut the copy, not the cap. */
.spread-text{
  display:flex;
  flex-direction:column;
  /* Not centred. Centring made every hommage page sit differently,
     because the block floats according to how much copy it holds —
     Sunflowers has three paragraphs and filled the column, Egg has
     two and drifted toward the middle. Instead the caption is pinned
     a little below the photograph's top edge, and everything below
     follows in natural order. Any new hommage now lands in the same
     place regardless of how long its copy runs. */
  justify-content:flex-start;
  padding-top:34px;
  padding-bottom:28px;
}

/* Two auto margins — one here, one on .spread .cue below. When a
   flex column has spare room, several auto margins split it equally
   between them. So the cue is carried to the foot of the column,
   and the price block lands exactly halfway between the last line of
   copy and the cue, whatever the length of the description. The 36px
   padding is the floor: on a page whose copy already fills the
   column there is no spare room to divide, and the autos collapse to
   nothing. Both values must stay identical or the spacing goes lopsided. */
.spread .buy{margin-top:auto;padding-top:36px}

/* a painting is never cropped — show it whole, on the page ground */
.spread .plate.art{background:var(--ground)}
.spread .plate.art img{object-fit:contain}
.spread .caption{margin:0;max-width:none}
.spread .rule-short{margin:32px auto}
/* Justified — flush on both edges, no hyphenation by choice. That
   leaves word spacing as the browser's only way to fill a line, so
   the narrower this measure gets the more the gaps open up. 27rem is
   the width Angela marked; it is on the tight side for justified
   text, which is a deliberate trade. The last line of each paragraph
   stays left, which is the browser default and the correct setting. */
.spread .note{
  margin:0 auto;
  max-width:27rem;
  text-align:justify;
}
.spread .cue{margin-top:auto;padding-top:36px}

.caption{margin:52px auto 0;max-width:34rem;text-align:center}
.caption .no{margin-bottom:14px}
.caption h1{
  font-size:clamp(30px,4.6vw,46px);
  font-weight:400;
  line-height:1.2;
  font-style:italic;
}
.caption .attr{font-size:clamp(17px,2vw,20px);margin-top:2px}
.caption .med{margin-top:18px}

.note{max-width:33rem;margin:0 auto}
.note strong{font-weight:580}
/* Ragged right, but an even rag. The browser looks at the whole
   paragraph instead of breaking line by line, so it avoids leaving
   a single word stranded on the last line and evens out the right
   edge. Ignored by older browsers, which just fall back to a
   normal rag — nothing breaks. */
.note p{margin-bottom:1.1em;text-wrap:pretty}
.note p:last-child{margin-bottom:0}

.grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--gap-img);
  margin-top:var(--gap-img);
}
.grid .full{grid-column:1 / -1}

/* tinted bands — the only large areas of colour on the site.
   Use at most two per page, and never adjacent. */
.band{background:var(--blush);padding:78px var(--gutter)}
.band-celadon{background:var(--celadon)}
.band .rule-short{background:var(--old-rose);opacity:.5}

/* ── hommages gallery — a hung wall of source artworks ─── */
/* the whole stage sits above the dimming wash */
/* The whole wall drops as one. Use margin here, never padding on
   .gallery and never a change to .gal-arrow: the arrows are absolutely
   positioned against this element, so padding would move the frames
   down and leave the arrows behind. Margin carries both together.
   This is the one number to tune if the wall sits too high or low. */
.gallery-stage{position:relative;z-index:50;margin-top:62px}

/* dark green wash — fades in while a work is being looked at */
.gallery-dim{
  position:fixed;
  inset:0;
  background:var(--forest);
  opacity:0;
  pointer-events:none;
  transition:opacity .7s ease;
  z-index:40;
}
body.gal-focus .gallery-dim{opacity:.95}

.gallery{
  display:flex;
  gap:clamp(18px,2.2vw,40px);
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  /* the side padding is half a work's width, so the first and last
     can still reach dead centre — keep it in step with the width below */
  padding:var(--gap-head) calc(50vw - min(15vw,190px)) 30px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.gallery::-webkit-scrollbar{display:none}

.gallery-item{
  flex:0 0 auto;
  width:min(30vw,380px);
  scroll-snap-align:center;
  text-decoration:none;
  display:block;
  transition:opacity .6s ease;
}

/* same gallery language, hung as a fixed wall rather than a carousel */
.gallery.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(26px,3.4vw,56px);
  overflow:visible;
  scroll-snap-type:none;
  padding:var(--gap-head) var(--gutter) 30px;
  max-width:1180px;
  margin:0 auto;
}
.gallery.gallery-grid .gallery-item{width:auto}

@media (max-width:760px){
  .gallery.gallery-grid{grid-template-columns:1fr}
}

/* everything except the one being looked at falls back */
body.gal-focus .gallery-item{opacity:.16}
body.gal-focus .gallery-item.is-focus{opacity:1}
body.gal-focus .is-focus .gallery-cap h2,
body.gal-focus .is-focus .gallery-cap .attr,
body.gal-focus .is-focus .gallery-cap .lbl{color:var(--bone)}
body.gal-focus .is-focus .view{color:var(--rose-pale);border-color:var(--rose)}

/* arrows */
.gal-arrow{
  position:absolute;
  top:min(29vh,300px);
  z-index:55;
  background:transparent;
  border:0;
  padding:14px;
  cursor:pointer;
  color:var(--old-rose);
  transition:color .45s ease,opacity .45s ease;
}
.gal-arrow:hover{color:var(--green)}
.gal-arrow.prev{left:6px}
.gal-arrow.next{right:6px}
.gal-arrow svg{display:block}
/* every preview is the same shape, whatever the canvas is —
   the full painting is shown uncropped on its own work page */
.gallery-frame{
  aspect-ratio:4/5;
  overflow:hidden;
}
.gallery-frame img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 1.2s cubic-bezier(.16,1,.3,1);
}
.gallery-item:hover .gallery-frame img{transform:scale(1.025)}
.gallery-cap{text-align:center;margin-top:22px}
.gallery-cap h2{
  font-size:clamp(22px,2.6vw,32px);
  font-weight:400;
  font-style:italic;
  line-height:1.2;
  margin:8px 0 2px;
}
.gallery-cap .attr{font-size:clamp(15px,1.6vw,18px)}
.gallery-item .view{
  display:inline-block;
  margin-top:16px;
  font-size:11.5px;
  font-weight:530;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--green);
  border-bottom:0.5px solid var(--gold);
  padding-bottom:5px;
  transition:color .45s ease,border-color .45s ease;
}
.gallery-item:hover .view{color:var(--gold);border-color:var(--green)}

/* forthcoming — sharp, just held back at half strength */
.gallery-item.soon{pointer-events:none}
.gallery-item.soon .gallery-frame img{opacity:.5}
.gallery-item.soon .gallery-cap h2,
.gallery-item.soon .gallery-cap .attr{color:var(--stone)}

@media (max-width:860px){
  .gallery-item{width:78vw}
}

/* ── basket ───────────────────────────────
   The count sits inside the basket rather than beside it, so the
   icon stays a single object instead of an icon with a number
   trailing after it. */
.cart-link{
  position:relative;
  display:inline-flex;
  align-items:center;
  font-size:11.5px;
  font-weight:530;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--old-rose);
  text-decoration:none;
  padding-bottom:4px;
  border-bottom:0.5px solid transparent;
  transition:color .45s ease,border-color .45s ease;
}
.cart-link:hover{color:var(--green);border-bottom-color:var(--gold)}
.cart-link svg{display:block}
/* centred on the basket's body — 58% down the 15x16 glyph is where
   the woven part sits, below the handle */
.cart-count{
  position:absolute;
  left:0;
  right:0;
  top:58%;
  transform:translateY(-50%);
  text-align:center;
  font-size:8.5px;
  letter-spacing:0;
  line-height:1;
  font-variant-numeric:tabular-nums;
  pointer-events:none;
}
.cart-count.is-empty{opacity:0}

/* ── buying a piece ───────────────────── */
/* price above, button centred on the axis beneath it */
.buy{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
  margin-top:18px;
}
/* prices use the small caps treatment, like the subheaders */
.buy .price{
  font-size:11.5px;
  font-weight:530;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--stone);
}
.btn-buy{
  font-family:var(--serif);
  font-size:11.5px;
  font-weight:530;
  letter-spacing:.26em;
  text-transform:uppercase;
  padding:13px 26px;
  cursor:pointer;
  transition:color .45s ease,border-color .45s ease,background .45s ease;

  /* ── the resting state is UNAVAILABLE: outlined, no fill. ──
     Sold out and forthcoming pieces inherit this and need no class
     of their own. A piece that can actually be bought opts in below,
     so a new button is quiet until it is deliberately made live. */
  color:var(--stone);
  background:transparent;
  border:0.5px solid var(--rule);
}
.btn-buy[disabled]{cursor:default}
.btn-buy[disabled]:hover{color:var(--stone);border-color:var(--rule)}

/* ── the buyable state: filled pink ──
   Anything that takes money — Add to basket, and Checkout on the
   basket page — carries the fill, so the one action that costs
   something never looks like the ones that don't. */
button.btn-buy:not([disabled]),
a.btn-buy:not(.is-off){
  color:var(--ink);
  background:var(--rose-pale);
  border-color:var(--rose-pale);
}
button.btn-buy:not([disabled]):hover,
a.btn-buy:not(.is-off):hover{
  color:var(--ink);
  background:var(--rose);
  border-color:var(--rose);
}
.piece-soldout .price{color:var(--stone)}

/* four pieces to a collection, two by two */
.piece-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:var(--gap-img);
}
header + .piece-grid{margin-top:var(--gap-head)}

.piece{position:relative}
.piece .plate{aspect-ratio:4/5;border:0;overflow:hidden}
.piece .plate img{
  width:100%;height:100%;object-fit:cover;
  transition:transform 1.4s cubic-bezier(.16,1,.3,1);
}
.piece:hover .plate img{transform:scale(1.025)}
.piece-cap{text-align:center;padding:22px var(--gutter) 40px}
.piece-cap h2{
  font-size:clamp(21px,2.4vw,30px);
  font-weight:400;
  font-style:italic;
  margin:8px 0 2px;
}

/* ── collections: four seasons, two by two ───── */
.year-mark{
  text-align:center;
  padding:var(--gap-head) var(--gutter) 26px;
  font-size:13px;
  letter-spacing:.36em;
}
/* the current season, full bleed */
.season-feature{margin-bottom:var(--gap-img)}
/* 16:9 — a standard horizontal frame.
   Written as .season.season-feature, not .season-feature, on
   purpose: .season .plate below sets 4/5 at the same specificity
   and, coming later in the file, would win the tie and squash this
   banner into a portrait. The doubled class outranks it outright. */
/* Sized to the first screen: header and the gap above it subtracted
   from the viewport height, so the banner ends exactly at the fold.
   The seasons below stay hidden until someone scrolls, and the label
   lands at the centre of what is actually visible.

   Note this sets height directly and cancels the ratio. Do NOT reach
   for max-height with an aspect-ratio — a block box whose height is
   clamped shrinks its WIDTH to preserve the ratio, so the banner
   stops short of the right edge and the centred label drifts left of
   the page. An explicit height keeps the full bleed; the photograph
   is object-fit:cover, so it simply crops to whatever shape results.
   The 150px is the header (32px padding + the 87px mark) plus the
   44px gap below it — adjust if the header ever changes height. */
.season.season-feature .plate{
  aspect-ratio:auto;
  width:100%;
  height:calc(100vh - 150px);
  height:calc(100svh - 150px);
  min-height:340px;
}
header + .season-feature{margin-top:var(--gap-head)}

/* the three still to come */
.season-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:var(--gap-img);
}
header + .season-grid{margin-top:var(--gap-head)}
.season{position:relative;display:block;text-decoration:none}
.season .plate{
  aspect-ratio:4/5;
  border:0;
  background:var(--forest);
  overflow:hidden;
}
.season .plate img{width:100%;height:100%;object-fit:cover}
/* sharp source, blurred here — deleting this reveals the season */
.season.soon .plate img{
  filter:blur(14px) saturate(.82);
  opacity:.6;
  transform:scale(1.14);
}
/* a forthcoming season is dimmed, so its label reads against the dark
   ground behind it. A released one shows the photograph at full
   strength and needs a wash of its own, or the label disappears. */
.season:not(.soon) .plate::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(51,55,42,.38);
  transition:background .6s ease;
}
.season:not(.soon):hover .plate::after{background:rgba(51,55,42,.5)}

.season .meta{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:0 var(--gutter);
}
.season .meta .lbl{color:var(--rose-pale)}
.season .meta h2{
  color:var(--bone);
  font-size:clamp(24px,3vw,38px);
  font-weight:400;
  font-style:italic;
  margin:10px 0 8px;
}

.archive{
  text-align:center;
  padding:78px var(--gutter) 20px;
}

/* the three formats, explained with a picture each */
.formats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:clamp(20px,3vw,44px);
  max-width:1100px;
  margin:0 auto;
  text-align:center;
}
.format{display:block;text-decoration:none}
.format .plate{aspect-ratio:4/5;border:0;overflow:hidden}
.format .plate img{
  width:100%;height:100%;object-fit:cover;
  transition:transform 1.4s cubic-bezier(.16,1,.3,1);
}
.format:hover .plate img{transform:scale(1.035)}
.format h3{
  font-size:clamp(20px,2.3vw,27px);
  font-weight:400;
  font-style:italic;
  margin:20px 0 8px;
}
.format p{font-size:16px;line-height:1.65;color:var(--stone)}

@media (max-width:760px){
  .formats{grid-template-columns:1fr;gap:44px}
}

@media (max-width:760px){
  .piece-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .season-grid{grid-template-columns:1fr}
}

/* ── atelier page ─────────────────────── */
/* .bleed strips the wrap padding, so the header gets its own —
   same max-width and gutter as every other page, so the icon and nav
   line up with the work pages instead of hugging the screen edge */
.wrap.bleed header{
  max-width:1260px;
  margin:0 auto;
  padding-left:26px;
  padding-right:26px;
}

.atelier-hero{margin-top:calc(var(--gap-head) - 10px)}
.atelier-hero .plate{
  /* 3/2 matches the storefront photograph, so nothing is cropped */
  aspect-ratio:3/2;
  border:0;
  background:var(--blush);
}
.atelier-hero .plate img{width:100%;height:100%;object-fit:cover}
.atelier-title{
  font-size:clamp(34px,5.4vw,58px);
  font-weight:400;
  font-style:italic;
  line-height:1.2;
  margin:14px 0 6px;
}

/* ── enquiry / newsletter ─────────────── */
.enquiry{text-align:center;padding:16px 0}
.enquiry h2{
  font-size:clamp(22px,3vw,30px);
  font-weight:400;
  font-style:italic;
  max-width:36ch;
  margin:0 auto 20px;
  line-height:1.35;
}
.link{
  display:inline-block;
  font-size:11.5px;
  font-weight:530;
  letter-spacing:.26em;
  text-transform:uppercase;
  text-decoration:none;
  border-bottom:0.5px solid var(--gold);
  padding-bottom:5px;
  color:var(--green);
  transition:color .45s ease,border-color .45s ease;
}
.link:hover{color:var(--gold);border-color:var(--green)}

form{display:flex;gap:10px;max-width:26rem;margin:22px auto 0}
input[type=email]{
  flex:1;
  background:transparent;
  border:0;
  border-bottom:0.5px solid var(--rule);
  padding:9px 2px;
  font-family:var(--serif);
  font-size:16px;
  color:var(--ink);
}
input[type=email]::placeholder{color:var(--stone)}
input[type=email]:focus{outline:0;border-bottom-color:var(--green)}
button{
  background:transparent;
  border:0;
  border-bottom:0.5px solid var(--gold);
  padding:9px 4px 5px;
  font-family:var(--serif);
  font-size:11.5px;
  font-weight:530;
  letter-spacing:.26em;
  text-transform:uppercase;
  color:var(--green);
  cursor:pointer;
}

/* ── side by side: source painting | the arrangement ──── */
.compare{margin-top:var(--gap-img)}
.compare-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--gap-img);
}
.compare figure{margin:0}
.compare .plate{aspect-ratio:4/5;border:0}
/* landscape variant — for pairs of horizontal photographs */
.compare-pair.wide .plate{aspect-ratio:3/2}
.compare .plate img{width:100%;height:100%;object-fit:cover}
/* a painting is never cropped */
.compare .plate.art{background:var(--ground)}
.compare .plate.art img{object-fit:contain}
.compare figcaption{margin-top:15px;text-align:center}

/* ── "next work", closing every work page ─────────────────
   A plain pink bar, no photograph. The page has just shown its
   work; this only has to point at the next one, so it carries type
   and colour and nothing else. Height comes from the padding, not
   an aspect-ratio, so the bar stays a bar on every screen width. */
.nextwork{
  display:block;
  text-decoration:none;
  margin-top:var(--gap-img);
  padding:58px var(--gutter);
  background:var(--rose-pale);
  text-align:center;
}
.nextwork .lbl{color:var(--oxblood)}
.nextwork h2{
  color:var(--ink);
  font-size:clamp(24px,3vw,38px);
  font-weight:400;
  font-style:italic;
  margin-top:8px;
  transition:color .5s ease;
}
.nextwork:hover h2{color:var(--oxblood)}
/* what kind of piece it is — Hommage Nº 02, Autumn 2026 Collection.
   Stone — the quietest tone in the palette, so it recedes behind
   both the title and the NEXT label above it. */
.nextwork .nextwork-kind{color:var(--stone);margin-top:12px}

/* ── back / next nav on work pages ────── */
.pagenav{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  align-items:center;
  margin-top:70px;
  padding-top:26px;
  border-top:0.5px solid var(--rule);
}
.pagenav a{text-decoration:none}
.pagenav span:nth-child(1){text-align:left}
.pagenav span:nth-child(2){text-align:center}
.pagenav span:nth-child(3){text-align:right}

/* ── footer ───────────────────────────── */
footer{
  margin-top:0;
  background:var(--olive-deep);
  padding:46px var(--gutter);
}
.footer-mark{
  display:block;
  width:67px;
  height:auto;
  margin:0 auto 32px;
}
.footer-row{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  align-items:center;
  gap:12px;
}
footer .lbl{color:var(--bone)}
footer a{text-decoration:none;color:var(--bone)}
footer a:hover{color:var(--rose-pale)}
.footer-row span:nth-child(1){text-align:left}
.footer-row span:nth-child(2){text-align:center}
.footer-row span:nth-child(3){text-align:right}

/* ── scroll reveals ───────────────────── */
.rv{
  opacity:0;
  transform:translateY(24px);
  transition:opacity 1.15s cubic-bezier(.16,1,.3,1),
             transform 1.15s cubic-bezier(.16,1,.3,1);
}
.rv.in{opacity:1;transform:none}

/* ── responsive ───────────────────────── */
@media (max-width:860px){
  .spread{grid-template-columns:1fr;gap:40px;margin-top:44px;padding-bottom:56px}
  .spread .plate{height:auto;min-height:0;aspect-ratio:3/4;width:100%}
  .spread .plate img{height:auto}
  .spread-text{max-height:none;display:block;padding-bottom:0}
  .spread .caption,.spread .note{max-width:33rem}
  .topbar{gap:24px;padding:22px var(--gutter)}
  .compare-pair{grid-template-columns:1fr;gap:var(--gap-img)}
}

@media (max-width:640px){
  .wrap{padding:0 20px}
  body{font-size:17px}
  .mark-img{width:220px}
  .mark-img.small{width:120px}
  .grid{grid-template-columns:1fr}
  .rule{margin:44px 0}
  form{flex-direction:column;gap:16px}
  .footer-row,.pagenav{grid-template-columns:1fr;justify-items:center;gap:8px}
  .footer-row span,.pagenav span{text-align:center}
}

@media (prefers-reduced-motion:reduce){
  .rv{opacity:1;transform:none;transition:none}
  .hero-img{animation:none;transform:none}
  .hero-inner{animation:none;opacity:1;transform:none}
  .cue svg{animation:none}
  .work .plate img{transition:none}
  body,body.leaving{transition:none}
}

/* a purchase link whose Stripe URL has not been set yet — app.js
   marks it, so an unfinished link reads as unavailable rather than
   sending someone to a broken page */
a.btn-buy{display:inline-block;text-align:center;text-decoration:none}
a.btn-buy.is-off{opacity:.55;cursor:default;pointer-events:none}

/* where and how far Bloomor delivers — sits under the price so it is
   read before anyone commits, not discovered at checkout */
.buy-note{margin-top:14px;color:var(--stone)}


/* ── basket page ──────────────────────────────────────────
   A holding place, not a checkout. Each line carries its own Stripe
   link, so pieces are paid for one at a time — see the note in app.js
   for why. */
.basket{
  max-width:640px;
  margin:0 auto;
  padding:var(--gap-head) 0 130px;
  text-align:center;
}
.basket-line{
  display:grid;
  grid-template-columns:78px 1fr auto;
  gap:4px 22px;
  align-items:start;
  text-align:left;
  padding:26px 0;
  border-top:0.5px solid var(--rule);
}
/* spans both rows, so the name sits beside the top of the picture
   and the buttons beside its foot */
.basket-thumb{
  grid-row:1 / span 2;
  width:78px;
  aspect-ratio:4/5;
  overflow:hidden;
  background:var(--celadon);
}
.basket-thumb img{width:100%;height:100%;object-fit:cover;display:block}
/* no picture at all — collapse rather than leave a coloured hole */
.basket-thumb.is-blank{display:none}
.basket-line:last-of-type{border-bottom:0.5px solid var(--rule)}
.basket-name{font-size:19px;font-style:italic}
.basket-price{color:var(--stone)}
.basket-act{
  grid-column:2 / -1;
  display:flex;
  align-items:center;
  gap:22px;
  margin-top:14px;
}
.basket-remove{
  background:none;border:0;padding:0;cursor:pointer;
  color:var(--stone);
  border-bottom:0.5px solid transparent;
  transition:color .4s ease,border-color .4s ease;
}
.basket-remove:hover{color:var(--old-rose);border-bottom-color:var(--rule)}
.basket-total-row{
  display:flex;
  justify-content:space-between;
  padding:24px 0 0;
}
.basket-note{
  margin-top:40px;
  color:var(--stone);
  line-height:2;
  text-align:center;
}
