/**
 * The Glow Up Code — Pink Crystal Button System
 * Button styles are opt-in and scoped to tguc classes.
 */

:root {
  --tguc-hot-fuchsia: #ff0a54;
  --tguc-wild-strawberry: #ff477e;
  --tguc-bubblegum-tint: #ff85a1;
  --tguc-pastel-pink: #f9bec7;
  --tguc-soft-blush: #f5ebe0;
  --tguc-deep-plum: #4a1230;
  --tguc-white: #ffffff;
  --tguc-radius: 16px;
  --tguc-transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1), border-color 240ms ease, background 240ms ease;
}

.tguc-button {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  overflow: hidden;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--tguc-radius);
  color: var(--tguc-deep-plum);
  font-family: var(--font-body, "Onest", sans-serif);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: var(--tguc-transition);
  backdrop-filter: blur(16px) saturate(1.22);
  -webkit-backdrop-filter: blur(16px) saturate(1.22);
  -webkit-tap-highlight-color: transparent;
}


/* Static crystal refraction: keeps the glass edge visible on white and blush surfaces. */
.tguc-button::after {
  position: absolute;
  z-index: 1;
  inset: 1px;
  border-radius: calc(var(--tguc-radius) - 2px);
  background:
    radial-gradient(circle at 18% 0%, rgba(255,255,255,.52), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.07) 42%, transparent 64%);
  opacity: .72;
  content: "";
  pointer-events: none;
}

.tguc-button::before {
  position: absolute;
  z-index: 0;
  top: -80%;
  left: -42%;
  width: 34%;
  height: 260%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.82), transparent);
  opacity: 0;
  transform: rotate(20deg);
  transition: left 650ms ease, opacity 220ms ease;
  content: "";
  pointer-events: none;
}

.tguc-button:hover::before,
.tguc-button:focus-visible::before,
.tguc-button--preview-hover::before,
.tguc-button.is-preview-hover::before { left: 118%; opacity: .66; }

.tguc-button > span,
.tguc-button__label,
.tguc-button__arrow,
.tguc-button__icon { position: relative; z-index: 3; }
.tguc-button__label { white-space: nowrap; }
.tguc-button__arrow { font-size: 1.05rem; transition: transform 220ms ease; }
.tguc-button__icon { display: inline-flex; align-items: center; justify-content: center; }
.tguc-button__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.tguc-button__lotus { position: absolute !important; z-index: 1 !important; right: 10px; bottom: 3px; width: 24px; height: 24px; opacity: .18; transform: rotate(-7deg); }
.tguc-button__lotus svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }

.tguc-button--primary {
  color: var(--tguc-white);
  background:
    linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,.04) 43%, rgba(255,10,84,.08)),
    linear-gradient(135deg, rgba(255,10,84,.88), rgba(255,71,126,.76) 50%, rgba(255,133,161,.66));
  border-color: rgba(255,255,255,.76);
  box-shadow: 0 13px 30px rgba(255,10,84,.24), 0 4px 10px rgba(74,18,48,.16), inset 0 1px 1px rgba(255,255,255,.82), inset 0 -1px 0 rgba(74,18,48,.18);
  text-shadow: 0 1px 1px rgba(94,8,41,.18);
}

.tguc-button--secondary {
  color: var(--tguc-deep-plum);
  background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(250,224,228,.38));
  border-color: rgba(255,71,126,.48);
  box-shadow: 0 10px 24px rgba(181,37,89,.11), inset 0 1px 1px rgba(255,255,255,.94), inset 0 -1px 0 rgba(255,133,161,.14);
}

.tguc-button--ghost {
  color: var(--tguc-hot-fuchsia);
  background: rgba(255,255,255,.2);
  border-color: rgba(255,71,126,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.74);
}

.tguc-button--icon {
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 0;
  color: var(--tguc-hot-fuchsia);
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.98), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.82), rgba(249,190,199,.54) 64%, rgba(255,71,126,.22));
  border-color: rgba(255,71,126,.52);
  border-radius: 50%;
  box-shadow: 0 9px 24px rgba(255,10,84,.2), 0 2px 8px rgba(74,18,48,.08), inset 0 1px 1px rgba(255,255,255,.98), inset 0 -1px 0 rgba(255,71,126,.16);
}

.tguc-button--icon::after { border-radius: 50%; }
.site-header.menu-open .tguc-button--icon {
  border-color: rgba(255,255,255,.88);
  background:
    radial-gradient(circle at 30% 18%, rgba(255,255,255,.46), transparent 34%),
    linear-gradient(145deg, var(--tguc-hot-fuchsia), var(--tguc-wild-strawberry) 58%, var(--tguc-bubblegum-tint));
  box-shadow: 0 12px 30px rgba(255,10,84,.34), 0 3px 9px rgba(74,18,48,.16), inset 0 1px 1px rgba(255,255,255,.72);
}

.tguc-button:hover,
.tguc-button--preview-hover,
.tguc-button.is-preview-hover { transform: translateY(-2px); }

.tguc-button--primary:hover,
.tguc-button--primary.tguc-button--preview-hover,
.tguc-button--primary.is-preview-hover {
  border-color: rgba(255,255,255,.9);
  box-shadow: 0 17px 38px rgba(255,10,84,.36), 0 6px 15px rgba(142,15,62,.19), inset 0 1px 1px rgba(255,255,255,.82);
}

.tguc-button--secondary:hover,
.tguc-button--ghost:hover,
.tguc-button--icon:hover,
.tguc-button--secondary.is-preview-hover,
.tguc-button--ghost.is-preview-hover,
.tguc-button--icon.is-preview-hover {
  border-color: rgba(255,10,84,.66);
  box-shadow: 0 14px 30px rgba(202,35,96,.17), inset 0 1px 1px rgba(255,255,255,.92);
}

.tguc-button:hover .tguc-button__arrow,
.tguc-button--preview-hover .tguc-button__arrow,
.tguc-button.is-preview-hover .tguc-button__arrow { transform: translateX(3px); }

.tguc-button:active:not(:disabled):not([aria-disabled="true"]),
.tguc-button--preview-active,
.tguc-button.is-preview-active {
  transform: translateY(0) scale(.985);
  box-shadow: 0 5px 12px rgba(130,16,59,.17), inset 0 3px 8px rgba(92,6,40,.2);
}

.tguc-button:focus-visible {
  outline: 3px solid rgba(255,10,84,.42);
  outline-offset: 4px;
}

.tguc-button:disabled,
.tguc-button[aria-disabled="true"],
.tguc-button.is-preview-disabled {
  color: rgba(74,18,48,.42);
  background: linear-gradient(145deg, rgba(250,224,228,.72), rgba(249,190,199,.42));
  border-color: rgba(144,101,119,.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  opacity: .68;
  cursor: not-allowed;
  transform: none;
  pointer-events: none;
}
.tguc-button:disabled::before,
.tguc-button[aria-disabled="true"]::before,
.tguc-button.is-preview-disabled::before { display: none; }

/*
 * Luminous Rose Crystal system.
 * Approved site-wide treatment. The negative pseudo-element layers keep the
 * crystal material behind both wrapped labels and legacy raw text nodes.
 */
.tguc-button {
  --tguc-facet-edge: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.72) 18%, rgba(255,71,126,.9) 43%, rgba(182,41,92,.88) 66%, rgba(74,18,48,.82) 83%, rgba(255,255,255,.92) 100%);
  --tguc-crystal-texture:
    radial-gradient(ellipse at 28% -10%, rgba(255,255,255,.52), transparent 42%),
    radial-gradient(ellipse at 82% 115%, rgba(255,255,255,.12), transparent 44%);
  --tguc-facet-surface:
    radial-gradient(ellipse at 28% 0%, rgba(255,255,255,.44), transparent 37%),
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(74,18,48,.08) 44%, rgba(25,4,15,.18) 100%),
    linear-gradient(112deg, rgba(74,18,48,.78) 0%, rgba(182,41,92,.72) 42%, rgba(255,71,126,.62) 68%, rgba(112,23,60,.72) 100%);
  --tguc-facet-shadow: rgba(182,41,92,.32);
  min-height: 54px;
  overflow: visible;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-weight: 680;
  letter-spacing: .012em;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 240ms cubic-bezier(.22,1,.36,1), color 220ms ease, opacity 220ms ease;
}

.tguc-button::before,
.tguc-button::after {
  position: absolute;
  width: auto;
  height: auto;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  transform: none;
}

.tguc-button::before {
  z-index: -2;
  inset: 0;
  background: var(--tguc-facet-edge);
  filter: drop-shadow(0 0 7px var(--tguc-facet-shadow)) drop-shadow(0 11px 16px rgba(74,18,48,.2));
  opacity: 1;
  transition: filter 240ms ease;
}

.tguc-button::after {
  z-index: -1;
  inset: 2px;
  background:
    linear-gradient(108deg, transparent 30%, rgba(255,255,255,.04) 39%, rgba(255,255,255,.82) 47%, rgba(255,236,243,.2) 54%, transparent 63%),
    var(--tguc-crystal-texture),
    var(--tguc-facet-surface);
  background-position: 132% center, 0 0, 0 0, 0 0, 0 0, 0 0;
  background-repeat: no-repeat;
  background-size: 230% 100%, auto, auto, auto, auto, auto;
  box-shadow: inset 0 2px 2px rgba(255,255,255,.76), inset 0 -2px 3px rgba(31,4,18,.24), inset 6px 0 10px rgba(255,255,255,.1), inset -6px 0 10px rgba(38,5,22,.08), inset 0 0 0 1px rgba(255,255,255,.18);
  opacity: 1;
  backdrop-filter: blur(14px) saturate(1.3) contrast(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.3) contrast(1.05);
  transition: background-position 700ms cubic-bezier(.22,1,.36,1), box-shadow 240ms ease;
}

.tguc-button.tguc-button--primary {
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.tguc-button.tguc-button--secondary {
  --tguc-facet-edge: linear-gradient(135deg, #fff, rgba(255,255,255,.82) 20%, rgba(182,41,92,.58) 51%, rgba(255,184,202,.7) 76%, rgba(255,255,255,.98));
  --tguc-crystal-texture:
    radial-gradient(ellipse at 28% -10%, rgba(255,255,255,.76), transparent 43%),
    radial-gradient(ellipse at 82% 115%, rgba(255,255,255,.18), transparent 44%);
  --tguc-facet-surface:
    radial-gradient(ellipse at 27% 0%, rgba(255,255,255,.72), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.24), transparent 42%, rgba(163,38,88,.06)),
    linear-gradient(112deg, rgba(255,255,255,.48), rgba(249,190,199,.36) 30%, rgba(255,71,126,.38) 67%, rgba(255,255,255,.38));
  --tguc-facet-shadow: rgba(182,41,92,.24);
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--tguc-deep-plum);
}

.tguc-button.tguc-button--ghost {
  --tguc-facet-edge: linear-gradient(135deg, #fff, rgba(255,255,255,.72) 20%, rgba(74,18,48,.5) 51%, rgba(182,41,92,.58) 76%, rgba(255,255,255,.9));
  --tguc-crystal-texture:
    radial-gradient(ellipse at 28% -10%, rgba(255,255,255,.68), transparent 43%),
    radial-gradient(ellipse at 82% 115%, rgba(255,255,255,.16), transparent 44%);
  --tguc-facet-surface:
    radial-gradient(ellipse at 28% 0%, rgba(255,255,255,.62), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 44%, rgba(74,18,48,.06)),
    linear-gradient(112deg, rgba(255,255,255,.32), rgba(255,239,244,.22) 34%, rgba(255,71,126,.28) 72%, rgba(255,255,255,.24));
  --tguc-facet-shadow: rgba(74,18,48,.2);
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--tguc-deep-plum);
}

.tguc-button.tguc-button--icon {
  --tguc-facet-edge: linear-gradient(135deg, #fff, rgba(255,255,255,.82) 20%, rgba(182,41,92,.58) 51%, rgba(255,184,202,.7) 76%, rgba(255,255,255,.98));
  --tguc-crystal-texture:
    radial-gradient(ellipse at 28% -10%, rgba(255,255,255,.76), transparent 43%),
    radial-gradient(ellipse at 82% 115%, rgba(255,255,255,.18), transparent 44%);
  --tguc-facet-surface:
    radial-gradient(ellipse at 27% 0%, rgba(255,255,255,.72), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.24), transparent 42%, rgba(163,38,88,.06)),
    linear-gradient(112deg, rgba(255,255,255,.48), rgba(249,190,199,.36) 30%, rgba(255,71,126,.38) 67%, rgba(255,255,255,.38));
  --tguc-facet-shadow: rgba(182,41,92,.24);
  width: 56px;
  min-width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--tguc-deep-plum);
}
.site-header.menu-open .tguc-button.tguc-button--icon { border: 0; background: transparent; box-shadow: none; color: #fff; }

.tguc-button:hover,
.tguc-button:focus-visible,
.tguc-button--preview-hover,
.tguc-button.is-preview-hover {
  border: 0;
  background: transparent;
  box-shadow: none;
}
.tguc-button:hover::before,
.tguc-button:focus-visible::before,
.tguc-button--preview-hover::before,
.tguc-button.is-preview-hover::before {
  inset: 0;
  filter: drop-shadow(0 0 10px var(--tguc-facet-shadow)) drop-shadow(0 14px 19px rgba(74,18,48,.22));
  opacity: 1;
}
.tguc-button:hover::after,
.tguc-button:focus-visible::after,
.tguc-button--preview-hover::after,
.tguc-button.is-preview-hover::after { background-position: -34% center, 0 0, 0 0, 0 0, 0 0, 0 0; }

.tguc-button:active:not(:disabled):not([aria-disabled="true"]) { box-shadow: none; }
.tguc-button:active:not(:disabled):not([aria-disabled="true"])::before,
.tguc-button--preview-active::before,
.tguc-button.is-preview-active::before { filter: drop-shadow(0 6px 8px var(--tguc-facet-shadow)); }
.tguc-button:focus-visible { outline: 3px solid var(--tguc-wild-strawberry); outline-offset: 4px; }

.tguc-button:disabled,
.tguc-button[aria-disabled="true"],
.tguc-button.is-preview-disabled {
  --tguc-facet-edge: linear-gradient(145deg, rgba(255,255,255,.68), rgba(111,98,104,.28), rgba(255,255,255,.58));
  --tguc-facet-surface: linear-gradient(145deg, rgba(255,255,255,.46), rgba(249,190,199,.26));
  --tguc-facet-shadow: rgba(74,18,48,.08);
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(74,18,48,.48);
  opacity: .72;
}
.tguc-button:disabled::before,
.tguc-button[aria-disabled="true"]::before,
.tguc-button.is-preview-disabled::before { display: block; }
.tguc-button:disabled::after,
.tguc-button[aria-disabled="true"]::after,
.tguc-button.is-preview-disabled::after { background-position: 132% center, 0 0, 0 0, 0 0, 0 0, 0 0; }

/* Structurally isolated examples retained on the Button System reference page. */
.tguc-faceted-button {
  --tguc-facet-edge: linear-gradient(135deg, #fff 0%, rgba(255,255,255,.72) 18%, rgba(255,71,126,.9) 43%, rgba(182,41,92,.88) 66%, rgba(74,18,48,.82) 83%, rgba(255,255,255,.92) 100%);
  --tguc-crystal-texture:
    radial-gradient(ellipse at 28% -10%, rgba(255,255,255,.52), transparent 42%),
    radial-gradient(ellipse at 82% 115%, rgba(255,255,255,.12), transparent 44%);
  --tguc-facet-surface:
    radial-gradient(ellipse at 28% 0%, rgba(255,255,255,.44), transparent 37%),
    linear-gradient(180deg, rgba(255,255,255,.14), rgba(74,18,48,.08) 44%, rgba(25,4,15,.18) 100%),
    linear-gradient(112deg, rgba(74,18,48,.78) 0%, rgba(182,41,92,.72) 42%, rgba(255,71,126,.62) 68%, rgba(112,23,60,.72) 100%);
  --tguc-facet-shadow: rgba(182,41,92,.32);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: var(--font-body, "Onest", sans-serif);
  font-size: .92rem;
  font-weight: 680;
  letter-spacing: .012em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 240ms cubic-bezier(.22,1,.36,1), color 220ms ease, opacity 220ms ease;
  -webkit-tap-highlight-color: transparent;
}

.tguc-faceted-button::before,
.tguc-faceted-button::after {
  position: absolute;
  z-index: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.tguc-faceted-button::before {
  inset: 0;
  background: var(--tguc-facet-edge);
  filter: drop-shadow(0 0 7px var(--tguc-facet-shadow)) drop-shadow(0 11px 16px rgba(74,18,48,.2));
  transition: filter 240ms ease;
}

.tguc-faceted-button::after {
  inset: 2px;
  background: var(--tguc-crystal-texture), var(--tguc-facet-surface);
  box-shadow: inset 0 2px 2px rgba(255,255,255,.76), inset 0 -2px 3px rgba(31,4,18,.24), inset 6px 0 10px rgba(255,255,255,.1), inset -6px 0 10px rgba(38,5,22,.08), inset 0 0 0 1px rgba(255,255,255,.18);
  backdrop-filter: blur(14px) saturate(1.3) contrast(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.3) contrast(1.05);
}

.tguc-faceted-button__glint {
  position: absolute;
  z-index: 1;
  inset: 2px;
  border-radius: inherit;
  background: linear-gradient(108deg, transparent 30%, rgba(255,255,255,.04) 39%, rgba(255,255,255,.82) 47%, rgba(255,236,243,.2) 54%, transparent 63%);
  background-position: 132% center;
  background-size: 230% 100%;
  opacity: .22;
  pointer-events: none;
  transition: background-position 700ms cubic-bezier(.22,1,.36,1), opacity 220ms ease;
}

.tguc-faceted-button__label,
.tguc-faceted-button__arrow,
.tguc-faceted-button .tguc-button__icon { position: relative; z-index: 3; }
.tguc-faceted-button__label { white-space: nowrap; }
.tguc-faceted-button__arrow { font-size: 1.04rem; transition: transform 220ms ease; }

.tguc-faceted-button--secondary {
  --tguc-facet-edge: linear-gradient(135deg, #fff, rgba(255,255,255,.82) 20%, rgba(182,41,92,.58) 51%, rgba(255,184,202,.7) 76%, rgba(255,255,255,.98));
  --tguc-crystal-texture:
    radial-gradient(ellipse at 28% -10%, rgba(255,255,255,.76), transparent 43%),
    radial-gradient(ellipse at 82% 115%, rgba(255,255,255,.18), transparent 44%);
  --tguc-facet-surface:
    radial-gradient(ellipse at 27% 0%, rgba(255,255,255,.72), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.24), transparent 42%, rgba(163,38,88,.06)),
    linear-gradient(112deg, rgba(255,255,255,.48), rgba(249,190,199,.36) 30%, rgba(255,71,126,.38) 67%, rgba(255,255,255,.38));
  --tguc-facet-shadow: rgba(182,41,92,.24);
  color: var(--tguc-deep-plum);
}

.tguc-faceted-button--ghost {
  --tguc-facet-edge: linear-gradient(135deg, #fff, rgba(255,255,255,.72) 20%, rgba(74,18,48,.5) 51%, rgba(182,41,92,.58) 76%, rgba(255,255,255,.9));
  --tguc-crystal-texture:
    radial-gradient(ellipse at 28% -10%, rgba(255,255,255,.68), transparent 43%),
    radial-gradient(ellipse at 82% 115%, rgba(255,255,255,.16), transparent 44%);
  --tguc-facet-surface:
    radial-gradient(ellipse at 28% 0%, rgba(255,255,255,.62), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.18), transparent 44%, rgba(74,18,48,.06)),
    linear-gradient(112deg, rgba(255,255,255,.32), rgba(255,239,244,.22) 34%, rgba(255,71,126,.28) 72%, rgba(255,255,255,.24));
  --tguc-facet-shadow: rgba(74,18,48,.2);
  color: var(--tguc-deep-plum);
}

.tguc-faceted-button--light {
  --tguc-facet-edge: linear-gradient(135deg, #fff, rgba(255,255,255,.62) 20%, rgba(255,71,126,.76) 51%, rgba(255,133,161,.7) 76%, rgba(255,255,255,.9));
  --tguc-crystal-texture:
    radial-gradient(ellipse at 28% -10%, rgba(255,255,255,.66), transparent 43%),
    radial-gradient(ellipse at 82% 115%, rgba(255,255,255,.16), transparent 44%);
  --tguc-facet-surface:
    radial-gradient(ellipse at 28% 0%, rgba(255,255,255,.5), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.15), transparent 44%, rgba(10,1,5,.08)),
    linear-gradient(112deg, rgba(255,255,255,.16), rgba(255,71,126,.26) 58%, rgba(182,41,92,.18));
  --tguc-facet-shadow: rgba(255,71,126,.34);
  color: #fff;
}

.tguc-faceted-button--icon {
  width: 56px;
  min-width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  border-radius: 50%;
}
.tguc-faceted-button--icon::before,
.tguc-faceted-button--icon::after,
.tguc-faceted-button--icon .tguc-faceted-button__glint {
  border-radius: 50%;
}
.tguc-faceted-button--icon .tguc-button__icon svg { width: 21px; height: 21px; }

.tguc-faceted-button:hover,
.tguc-faceted-button.is-preview-hover { transform: translateY(-2px); }
.tguc-faceted-button:hover::before,
.tguc-faceted-button.is-preview-hover::before { filter: drop-shadow(0 0 10px var(--tguc-facet-shadow)) drop-shadow(0 14px 19px rgba(74,18,48,.22)); }
.tguc-faceted-button:hover .tguc-faceted-button__glint,
.tguc-faceted-button:focus-visible .tguc-faceted-button__glint,
.tguc-faceted-button.is-preview-hover .tguc-faceted-button__glint { background-position: -34% center; opacity: .62; }
.tguc-faceted-button:hover .tguc-faceted-button__arrow,
.tguc-faceted-button.is-preview-hover .tguc-faceted-button__arrow { transform: translateX(3px); }

.tguc-faceted-button:active:not(:disabled),
.tguc-faceted-button.is-preview-active {
  transform: translateY(0) scale(.985);
}
.tguc-faceted-button:active:not(:disabled)::before,
.tguc-faceted-button.is-preview-active::before {
  filter: drop-shadow(0 6px 8px var(--tguc-facet-shadow));
}
.tguc-faceted-button:focus-visible { outline: 3px solid var(--tguc-wild-strawberry); outline-offset: 4px; }

.tguc-faceted-button:disabled,
.tguc-faceted-button[aria-disabled="true"],
.tguc-faceted-button.is-preview-disabled {
  --tguc-facet-edge: linear-gradient(145deg, rgba(255,255,255,.68), rgba(111,98,104,.28), rgba(255,255,255,.58));
  --tguc-facet-surface: linear-gradient(145deg, rgba(255,255,255,.46), rgba(249,190,199,.26));
  --tguc-facet-shadow: rgba(74,18,48,.08);
  color: rgba(74,18,48,.48);
  cursor: not-allowed;
  opacity: .72;
  pointer-events: none;
  transform: none;
}
.tguc-faceted-button:disabled .tguc-faceted-button__glint,
.tguc-faceted-button[aria-disabled="true"] .tguc-faceted-button__glint,
.tguc-faceted-button.is-preview-disabled .tguc-faceted-button__glint { display: none; }

/* Keep the circular menu control mobile-only. */
.menu-toggle.tguc-button { display: none; }
@media (max-width: 980px), (hover: none), (pointer: coarse) {
  .menu-toggle.tguc-button { display: inline-flex; }
}

@media (prefers-reduced-motion: reduce) {
  .tguc-button,
  .tguc-button::before,
  .tguc-button::after,
  .tguc-button__arrow { transition: none; }
  .tguc-button:hover,
  .tguc-button:active,
  .tguc-button--preview-hover,
  .tguc-button--preview-active,
  .tguc-button.is-preview-hover,
  .tguc-button.is-preview-active { transform: none; }
  .tguc-button::before { animation: none !important; }
  .tguc-faceted-button,
  .tguc-faceted-button::before,
  .tguc-faceted-button__glint,
  .tguc-faceted-button__arrow { transition: none; }
  .tguc-faceted-button:hover,
  .tguc-faceted-button:active,
  .tguc-faceted-button.is-preview-hover,
  .tguc-faceted-button.is-preview-active { transform: none; }
  .tguc-faceted-button__glint { display: none; }
}

/* Preview page styles are fully scoped. */
.tguc-button-demo {
  min-height: 100vh;
  padding: 164px 0 110px;
  background: radial-gradient(circle at 85% 8%, rgba(255,133,161,.22), rgba(255,133,161,0) 28%), linear-gradient(145deg, var(--tguc-white), var(--tguc-soft-blush));
  color: var(--tguc-deep-plum);
}
.tguc-button-demo__intro { max-width: 820px; }
.tguc-button-demo__eyebrow { margin-bottom: 16px; color: var(--tguc-hot-fuchsia); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tguc-button-demo h1, .tguc-button-demo h2, .tguc-button-demo h3 { color: var(--tguc-deep-plum); }
.tguc-button-demo h1 { max-width: 880px; font-size: clamp(48px, 7vw, 88px); line-height: .94; }
.tguc-button-demo__lead { max-width: 720px; margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); }
.tguc-button-demo__section { margin-top: 72px; }
.tguc-button-demo__section > header { max-width: 760px; margin-bottom: 30px; }
.tguc-button-demo__section > header p { margin-top: 10px; }
.tguc-button-demo__section > header .tguc-button-demo__eyebrow { margin: 0 0 12px; }
.tguc-crystal-material-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.tguc-crystal-material { position: relative; display: flex; min-height: 300px; overflow: hidden; align-items: flex-start; justify-content: space-between; flex-direction: column; gap: 42px; padding: clamp(28px,4vw,48px); border: 1px solid rgba(255,255,255,.78); border-radius: 28px; box-shadow: 0 22px 54px rgba(74,18,48,.1), inset 0 1px 0 rgba(255,255,255,.78); isolation: isolate; }
.tguc-crystal-material::before { position: absolute; z-index: -1; top: -46%; right: -17%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.54), transparent 68%); content: ""; }
.tguc-crystal-material--ivory { background: linear-gradient(145deg, #fff, var(--tguc-soft-blush)); }
.tguc-crystal-material--blush { background: linear-gradient(145deg, #f9bec7, #f5ebe0); }
.tguc-crystal-material--berry { background: linear-gradient(145deg, #ff9ab2, #e77b9c); }
.tguc-crystal-material--wine { background: radial-gradient(circle at 78% 14%, rgba(255,133,161,.24), transparent 34%), linear-gradient(145deg, #2d071d, #4a1230 58%, #761d46); color: #fff; }
.tguc-crystal-material > div > span { display: block; margin-bottom: 9px; color: var(--tguc-hot-fuchsia); font-size: 11px; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.tguc-crystal-material--wine > div > span { color: #ffadc0; }
.tguc-crystal-material strong { display: block; font-family: var(--font-display, "Gloock", serif); font-size: clamp(28px,3vw,42px); font-weight: 400; letter-spacing: -.035em; line-height: 1; }
.tguc-crystal-material p { max-width: 420px; margin: 14px 0 0; font-size: 14px; line-height: 1.5; }
.tguc-crystal-contrast-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.tguc-crystal-contrast { display: flex; min-height: 220px; align-items: stretch; justify-content: space-between; flex-direction: column; gap: 38px; padding: 24px 20px; border: 1px solid rgba(255,255,255,.76); border-radius: 24px; box-shadow: inset 0 1px 0 rgba(255,255,255,.68); }
.tguc-crystal-contrast > span { font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.tguc-crystal-contrast .tguc-faceted-button { width: 100%; padding-inline: 16px; }
.tguc-crystal-contrast--ivory { background: #fffaf7; }
.tguc-crystal-contrast--blush { background: linear-gradient(145deg, #f5ebe0, #f9bec7); }
.tguc-crystal-contrast--pink { background: linear-gradient(145deg, #ff85a1, #e97799); }
.tguc-crystal-contrast--wine { background: linear-gradient(145deg, #2d071d, #64183e); color: #fff; }
.tguc-crystal-contrast--photo { background: linear-gradient(180deg, rgba(74,18,48,.04), rgba(74,18,48,.28)), url("../images/crystal-lotus-hero-pink-poster-v16.webp") center / cover no-repeat; color: #fff; text-shadow: 0 1px 5px rgba(37,5,22,.48); }
.tguc-button-demo__section--baseline { padding-top: 66px; border-top: 1px solid rgba(74,18,48,.14); }
.tguc-button-state-grid { display: grid; gap: 24px; }
.tguc-button-state-grid__head, .tguc-button-state-grid__row { display: grid; grid-template-columns: minmax(125px,.72fr) repeat(4,minmax(190px,1fr)); gap: 12px; align-items: stretch; }
.tguc-button-state-grid__head span { padding: 0 16px; color: rgba(74,18,48,.68); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tguc-button-state-grid__row > h3, .tguc-button-state-grid__cell { display: flex; min-height: 108px; align-items: center; justify-content: center; padding: 18px; border: 1px solid rgba(249,190,199,.7); background: rgba(255,255,255,.38); }
.tguc-button-state-grid__row > h3 { justify-content: flex-start; margin: 0; border-radius: 20px 8px 8px 20px; font-family: var(--font-body, "Onest", sans-serif); font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tguc-button-state-grid__cell { border-radius: 8px; }
.tguc-button-state-grid__cell:last-child { border-radius: 8px 20px 20px 8px; }
.tguc-button-state-grid .tguc-button, .tguc-button-state-grid .tguc-faceted-button { pointer-events: none; }
.tguc-button-demo__live-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.tguc-button-demo__live-card { display: flex; min-height: 180px; align-items: center; justify-content: center; flex-direction: column; gap: 20px; padding: 28px; border: 1px solid rgba(249,190,199,.76); border-radius: 22px; background: rgba(255,255,255,.42); box-shadow: inset 0 1px 0 rgba(255,255,255,.78); }
.tguc-button-demo__live-card > span { color: rgba(74,18,48,.68); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tguc-button-demo__note { margin-top: 28px; padding: 20px 22px; border-left: 3px solid var(--tguc-hot-fuchsia); border-radius: 0 16px 16px 0; background: rgba(250,224,228,.74); }

@media (max-width: 980px) {
	.tguc-crystal-material-grid { grid-template-columns: 1fr 1fr; }
	.tguc-crystal-contrast-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tguc-button-state-grid__head { display: none; }
  .tguc-button-state-grid__row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tguc-button-state-grid__row > h3 { grid-column: 1 / -1; min-height: 0; border-radius: 18px; }
  .tguc-button-state-grid__cell, .tguc-button-state-grid__cell:last-child { position: relative; padding-top: 40px; border-radius: 16px; }
  .tguc-button-state-grid__cell::before { position: absolute; top: 12px; left: 14px; color: rgba(74,18,48,.62); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; content: attr(data-state); }
  .tguc-button-demo__live-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
  .tguc-button-demo { padding: 132px 0 80px; }
  .tguc-button-demo__section { margin-top: 56px; }
  .tguc-button-state-grid__row, .tguc-button-demo__live-grid { grid-template-columns: 1fr; }
	.tguc-crystal-material-grid { grid-template-columns: 1fr; }
	.tguc-crystal-contrast-grid { grid-template-columns: 1fr; }
	.tguc-crystal-material { min-height: 270px; }
	.tguc-crystal-material .tguc-faceted-button:not(.tguc-faceted-button--icon) { width: 100%; padding-inline: 20px; }
  .tguc-button-state-grid__cell { min-height: 100px; }
  .tguc-button-demo__live-card { min-height: 150px; }
  .tguc-button-demo__live-card .tguc-button:not(.tguc-button--icon) { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tguc-button, .tguc-button__arrow { transition-duration: .01ms; }
  .tguc-button:hover:not(:disabled):not([aria-disabled="true"]), .tguc-button:active:not(:disabled):not([aria-disabled="true"]), .tguc-button.is-preview-hover, .tguc-button.is-preview-active { transform: none; }
  .tguc-button::before { animation: none !important; }
}
