/* Underline button: paired text rows and paired lines wipe across on hover.
   LiquidMorphButton: three staggered blobs merge through the supplied goo filter.
   Adapted to Agrandir, Cece's brand and native controls; sources in BUTTONS.md. */
.button-underlined {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 0;
  background: transparent;
  text-decoration: none;
}
.button-underlined__clip { display: block; height: 1.4em; overflow: hidden; }
.button-underlined__word {
  display: block;
  height: 1.4em;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform 400ms cubic-bezier(.44,0,.56,1);
}
.button-underlined__line {
  position: absolute;
  inset: auto 0 4px;
  height: 1px;
  overflow: hidden;
  pointer-events: none;
}
.button-underlined__stroke {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform 400ms cubic-bezier(.44,0,.56,1);
}
.button-underlined__stroke + .button-underlined__stroke { left: calc(100% + 32px); }
.button-underlined:focus-visible .button-underlined__word { transform: translateY(-100%); transition: none; }
.button-underlined:focus-visible .button-underlined__stroke { transform: translateX(calc(-100% - 32px)); transition: none; }
.button-underlined--icon { min-width: 44px; min-height: 44px; }
.button-underlined--icon .button-underlined__line { left: 10px; right: 10px; opacity: .45; }
.button-underlined:disabled .button-underlined__word,
.button-underlined:disabled .button-underlined__stroke { transform: none; }
.editorial__piece.button-underlined { position: absolute; background: #fff; }
.editorial__piece .button-underlined__line { left: 18px; right: 18px; bottom: 8px; }
.editorial__caption > a.button-underlined { margin: 0 24px 24px; padding: 10px 0; width: calc(100% - 48px); border-top: 0; }
.editorial__caption > a.button-underlined:hover { background: transparent; }
.filter.button-underlined { color: var(--muted); }
.filter.button-underlined[aria-pressed=true] { color: var(--ink); }
.filter[aria-pressed=true]::after { display: none; }
.filter .button-underlined__line { opacity: .35; }
.filter[aria-pressed=true] .button-underlined__line { height: 2px; opacity: 1; }
.card__name.button-underlined { padding-bottom: 4px; line-height: 1.4; }
.card__name .button-underlined__line { bottom: 0; opacity: .5; }
.card:hover .card__name .button-underlined__word { transform: translateY(-100%); }
.card:hover .card__name .button-underlined__stroke { transform: translateX(calc(-100% - 32px)); }
.modal__close.button-underlined, .gal__nav.button-underlined { position: absolute; display: grid; place-items: center; }
.gal__dots button.button-underlined { display: grid; place-items: center; }
.gal__dots .button-underlined__line { left: 6px; right: 6px; bottom: 2px; }
.button-effects { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.btn.button-morph {
  position: relative;
  display: inline-flex;
  padding: 18px 28px;
  min-height: 56px;
  border: 1px solid rgb(61 51 42 / .16);
  border-radius: 999px;
  background: var(--white);
  color: #3D332A;
  overflow: hidden;
  isolation: isolate;
  transition: color 500ms cubic-bezier(.23,1,.32,1), transform 140ms var(--ease);
}
.button-morph__label { position: relative; z-index: 2; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.button-morph__bg { position: absolute; inset: 0; z-index: 1; filter: url(#cece-morph-goo); pointer-events: none; }
/* iOS WebKit can paint an offscreen SVG-filter surface as a stray square at
   the origin of a scrolling layer (WebKit 314999). Keep the native round-blob
   fill on mobile/touch, without allocating any SVG-filter surfaces — including
   controls outside the currently visible photo or section. */
@media (max-width: 767px), (hover: none), (pointer: coarse) {
  .button-morph__bg { filter: none; }
}
/* Covers iPadOS when a trackpad changes the primary pointer to fine/hover. */
@supports (-webkit-touch-callout: none) {
  .button-morph__bg { filter: none; }
}
.button-morph__blob {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  bottom: -32px;
  background: var(--brand);
  transform: translateX(-50%) translateY(0) scale(0);
  transition: transform 700ms cubic-bezier(.23,1,.32,1);
}
.button-morph__blob:nth-child(1) { left: calc(50% - 56px); }
.button-morph__blob:nth-child(2) { left: 50%; transition-delay: 50ms; }
.button-morph__blob:nth-child(3) { left: calc(50% + 56px); transition-delay: 100ms; }
.button-morph:focus-visible { outline: 2px solid #3D332A; outline-offset: 5px; }
.button-morph:focus-visible .button-morph__bg { filter: none; background: var(--brand); }
.button-morph:focus-visible { color: #3D332A; transition: none; }
.bloom-hero__info { width: 290px; max-width: 100%; padding-bottom: 0; margin-bottom: calc(26vw * .1); }
.bloom-hero__reset .button-morph__label { gap: 0; }
.bloom-hero__cta.btn.button-morph { width: 100%; min-width: 0; padding: 24px 28px; font-size: 16px; }
.bloom-hero__cta-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; font-weight: 700; }
.bloom-hero__cta-note { font-size: 13px; line-height: 1.3; font-weight: 400; }
@media (hover: hover) and (pointer: fine) {
  .button-underlined:not(:disabled):hover .button-underlined__word { transform: translateY(-100%); }
  .button-underlined:not(:disabled):hover .button-underlined__stroke { transform: translateX(calc(-100% - 32px)); }
  .button-morph:hover { color: #3D332A; }
  .button-morph:hover .button-morph__blob { transform: translateX(-50%) translateY(-200%) scale(var(--morph-scale, 12)); }
}
@media (max-width: 900px) { .modal__close.button-underlined { position: sticky; } }
@media (max-width: 767px) {
  .bloom-hero__info { justify-self: end; width: 270px; margin-bottom: 0; }
  .bloom-hero__content { gap: 32px; }
  .bloom-hero__cta.btn.button-morph { padding: 22px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .button-underlined__word, .button-underlined__stroke, .btn.button-morph, .button-morph__blob { transition: none!important; }
  .button-underlined:hover .button-underlined__word, .card:hover .button-underlined__word { transform: none; }
}
@media (forced-colors: active) {
  .button-morph__bg { display: none; }
  .btn.button-morph { border: 1px solid ButtonText; color: ButtonText; }
}
