/* Forma Nail Studio: a fictional shop's own design (Fable's "Try it on" direction, 2026-10-27).
   Photos are AI-generated still lifes (Codex, Mac's call 2026-10-27). The try-on set tints white
   press-on tip cutouts: a colour layer masked to the tip, its shading multiplied over, highlights on top.
   Scoped to .forma; nothing from site.css. Light, serif-led, no chips, no boxes, no leaders. */
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/instrument-serif-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; font-display: swap; src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2"); }

.business-demo.forma {
  --f-paper: #f4f2f5; --f-ink: #1a1620; --f-rule: #cfc9d6; --f-grey: #6b6572; --f-chrome: #b9b9c4; --f-cherry: #b2152f;
  --focus: var(--f-ink);
  container-type: inline-size;
  position: relative;
  background: var(--f-paper); color: var(--f-ink);
  border: 0; border-radius: 0; box-shadow: none;
  overflow: clip; /* not hidden: hidden would stop the sticky capsule and phone bar from sticking */
  font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.5;
}
.forma a { color: inherit; }
.forma .f-serif, .forma h2, .forma h3, .forma .f-tname { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.forma h2 em, .forma h3 em, .forma .f-ptitle em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; }
.forma :focus-visible { outline: 2px solid var(--f-ink); outline-offset: 3px; }
.forma fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.forma legend { font-size: 13px; font-weight: 600; color: var(--f-grey); margin-bottom: .5rem; }

/* Strip */
.forma .f-strip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 44px; padding: .4rem 40px; border-bottom: 1px solid var(--f-rule); }
.forma .f-word { font-size: 28px; line-height: 1; text-decoration: none; }
.forma .f-status { justify-self: center; display: inline-flex; align-items: center; gap: .5rem; font-size: 14px; color: var(--f-grey); }
.forma .f-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--f-cherry); }
.forma .f-status[data-state="closed"]::before { background: var(--f-chrome); }
.forma .f-links { display: flex; justify-content: flex-end; gap: 1.4rem; font-size: 14px; }
.forma .f-links a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; white-space: nowrap; }
.forma .f-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero photo, headline on the lit paper at left */
.forma .f-hero { position: relative; min-height: clamp(460px, 54cqi, 620px); display: flex; align-items: center; padding: 48px 40px; overflow: hidden; }
.forma .f-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 55% 48%; }
.forma .f-intro { position: relative; max-width: 46%; }
.forma h2 { font-size: clamp(36px, 5.8cqi, 64px); line-height: 1; margin: 0 0 1.2rem; letter-spacing: -.01em; max-width: 15ch; text-wrap: balance; }
.forma .f-lede { font-size: 18px; margin: 0 0 1.6rem; max-width: 34ch; }
.forma .f-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.forma .f-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .6rem 1.5rem; background: var(--f-ink); color: var(--f-paper); border: 0; border-radius: 2px; font: 600 16px/1 "Instrument Sans", sans-serif; text-decoration: none; cursor: pointer; }
.forma .f-btn:hover { background: #3a3242; }
.forma .f-textlink { display: inline-flex; align-items: center; min-height: 24px; text-underline-offset: 4px; }

/* Try-on: the tip set, controls under it, your look at right */
.forma .f-try { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 24px; padding: 48px 40px 56px; }
.forma .f-stage { --s: 1; --len: 1; --c: #b2152f; --g: none; --art: #fbf8f7; grid-column: 1 / 8; grid-row: 1; height: 380px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse 90% 80% at 28% 18%, #fbfafc, #e9e5ee 72%); }
.forma .f-set { display: flex; align-items: flex-end; gap: calc(14px * var(--s)); filter: drop-shadow(10px 14px 10px rgb(44 22 50 / .16)) drop-shadow(2px 3px 2px rgb(44 22 50 / .12)); }
.forma .f-stage .f-tip { width: auto; transform: translateY(calc(var(--y) * var(--s))) rotate(var(--r)) scaleY(var(--len)); transform-origin: 50% 100%; transition: transform .3s ease; }
.forma .f-set .f-tip:nth-child(1) { --y: 38px; --r: -11deg; margin-right: calc(10px * var(--s)); }
.forma .f-set .f-tip:nth-child(2) { --y: 4px; --r: -5deg; }
.forma .f-set .f-tip:nth-child(3) { --y: 0px; --r: 0deg; }
.forma .f-set .f-tip:nth-child(4) { --y: 6px; --r: 5deg; }
.forma .f-set .f-tip:nth-child(5) { --y: 26px; --r: 9deg; }
.forma .f-tip { position: relative; display: block; isolation: isolate; }
.forma .f-tip img { display: block; height: auto; }
.forma .f-stage .f-tip img { width: calc(var(--tw) * var(--s)); }
.forma .f-tip .f-shade { position: relative; z-index: 2; mix-blend-mode: multiply; }
.forma .f-tip .f-hi { position: absolute; inset: 0; z-index: 3; height: 100%; }
.forma .f-tint, .forma .f-fx { position: absolute; inset: 0; -webkit-mask: var(--m) center / 100% 100% no-repeat; mask: var(--m) center / 100% 100% no-repeat; }
.forma .f-tint { background: var(--g) var(--c); transition: background-color .35s ease; }
.forma .f-fx { opacity: 0; transition: opacity .3s ease; }
.forma .f-fx-chrome { background: linear-gradient(90deg, #666672 0%, #f4f4f7 25%, #aaaab5 55%, #656572 100%); mix-blend-mode: hard-light; }
.forma .f-fx-french { background: radial-gradient(ellipse 70% 38% at 50% -16%, transparent 0 98%, rgb(26 22 32 / .12) 99%, transparent 100.5%), radial-gradient(ellipse 70% 38% at 50% -16%, #fbf8f7 0 99%, transparent 100%); }
.forma .f-fx-art { background: radial-gradient(circle at 50% 36%, var(--art) 0 5%, transparent 6%), radial-gradient(circle at 36% 44%, var(--art) 0 3.5%, transparent 4.5%), radial-gradient(circle at 64% 44%, var(--art) 0 3.5%, transparent 4.5%); }
.forma .f-stage.has-chrome .f-fx-chrome, .forma .f-fx-chrome.is-on { opacity: .75; }
.forma .f-stage.has-french .f-fx-french { opacity: 1; }
.forma .f-stage.has-art .f-tip:nth-child(2) .f-fx-art, .forma .f-stage.has-art .f-tip:nth-child(4) .f-fx-art { opacity: 1; }
.forma .f-controls { grid-column: 1 / 8; grid-row: 2; display: grid; gap: 1.3rem; align-content: start; }
.forma .f-look { grid-column: 8 / 13; grid-row: 1 / 3; }

/* Shape tiles */
.forma .f-shapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--f-rule); border-bottom: 1px solid var(--f-rule); }
.forma .f-shapes label { position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .7rem .3rem; cursor: pointer; font-size: 14px; }
.forma .f-shapes label + label { border-left: 1px solid var(--f-rule); }
.forma .f-shapes input, .forma .f-lengths input, .forma .f-colors input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.forma .f-ico { display: block; width: 24px; height: 58px; background: #3a3540; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.forma .f-shapes label:has(input:checked) { box-shadow: inset 0 -2px 0 var(--f-cherry); font-weight: 600; }
.forma .f-shapes label:has(input:focus-visible), .forma .f-lengths label:has(input:focus-visible) { outline: 2px solid var(--f-ink); outline-offset: -2px; }
.forma .f-lengths { display: flex; gap: 1.6rem; }
.forma .f-lengths label { position: relative; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; cursor: pointer; border-bottom: 2px solid transparent; }
.forma .f-lengths label:has(input:checked) { border-bottom-color: var(--f-cherry); font-weight: 600; }
.forma .f-color-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.forma .f-colors { display: flex; flex-wrap: wrap; gap: 2px; }
.forma .f-colors label { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.forma .f-colors span { width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, rgb(255 255 255 / .6) 0 12%, rgb(255 255 255 / 0) 40%), var(--c); box-shadow: inset 0 0 0 1px rgb(26 22 32 / .15); }
.forma .f-colors label:has(input:checked) span { box-shadow: 0 0 0 2px var(--f-paper), 0 0 0 4px var(--f-ink); }
.forma .f-colors label:has(input:focus-visible) { outline: 2px solid var(--f-cherry); outline-offset: 3px; }

/* Your-look card */
.forma .f-look { border: 0; border-radius: 8px; background: #ece9ef; padding: 1.5rem 1.6rem; align-self: start; }
.forma .f-look h3 { font-size: 32px; margin: 0 0 .4rem; line-height: 1; }
.forma .f-look-line { display: flex; align-items: flex-start; gap: .5rem; margin: 0; font-weight: 600; }
.forma .f-dot { width: 12px; height: 12px; margin-top: .35em; border-radius: 50%; flex: none; background: var(--c, #b2152f); box-shadow: inset 0 0 0 1px rgb(26 22 32 / .2); }
.forma .f-mins { margin: .2rem 0 1rem; color: var(--f-grey); }
.forma .f-slots label { position: relative; display: flex; align-items: center; gap: .6rem; min-height: 44px; border-top: 1px solid var(--f-rule); cursor: pointer; }
.forma .f-slots label:last-child { border-bottom: 1px solid var(--f-rule); }
.forma .f-slots input { accent-color: var(--f-ink); width: 16px; height: 16px; margin: 0; }
.forma .f-look .f-btn { width: 100%; margin-top: 1rem; }
.forma .f-fine { margin: 12px 0 0; font-size: 13px; color: var(--f-grey); }
.forma .f-said { margin: .3rem 0 0; font-size: 14px; font-weight: 600; }
.forma .f-said:empty { margin: 0; }

/* Treatments: tinted collection fields, each with a still life lit from the window */
.forma .f-treat { position: relative; padding: 56px 40px; border-top: 1px solid var(--f-rule); }
.forma .f-treat-head h3 { font-size: 40px; margin: 0; }
.forma .f-capsule { position: sticky; top: 12px; z-index: 3; display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; margin: 8px 0 16px auto; align-items: center; gap: .4rem .6rem; padding: .55rem .6rem .55rem .9rem; background: var(--f-ink); color: var(--f-paper); border-radius: 8px; text-decoration: none; font-size: 14px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s, visibility .2s; }
.forma .f-capsule.is-shown { opacity: 1; visibility: visible; pointer-events: auto; }
.forma .f-cap-mins, .forma .f-cap-go { white-space: nowrap; }
.forma .f-capsule .f-dot { margin-top: 0; }
.forma .f-cap-mins { color: #b9b4c0; }
.forma .f-cap-go { padding: .35rem .7rem; border-radius: 4px; background: var(--f-paper); color: var(--f-ink); font-weight: 600; }
.forma .f-panel { --tint: #efd0cc; position: relative; display: block; margin: 0 0 16px; padding: 32px 36px 36px; border-radius: 8px; overflow: hidden; background: var(--tint); }
.forma .f-panel-pedicures { --tint: #e2dce7; }
.forma .f-panel-addons { --tint: #ebe1ca; }
.forma .f-ptitle { float: left; width: 60%; padding: 0; margin: 0 0 .8rem; color: var(--f-ink); font-weight: 400; }
.forma .f-lead { display: block; font-family: "Instrument Sans", "Helvetica Neue", Arial, sans-serif; font-size: 20px; line-height: 1.4; color: var(--f-grey); }
.forma .f-ptitle em { font-size: 44px; line-height: 1.05; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 8px; }
.forma .f-panel-body { clear: both; width: 60%; }
.forma .f-still { position: absolute; top: 0; right: 0; bottom: 0; width: 38%; margin: 0; -webkit-mask: linear-gradient(to right, transparent, #000 28%); mask: linear-gradient(to right, transparent, #000 45%); }
.forma .f-still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; display: block; }
.forma .f-trow { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; column-gap: 12px; padding: .85rem 0; border-bottom: 1px solid rgb(26 22 32 / .14); cursor: pointer; }
.forma .f-trow:last-child { border-bottom: 0; }
.forma .f-trow input { width: 18px; height: 18px; margin: 4px 0 0; accent-color: var(--f-ink); cursor: pointer; grid-row: 1 / span 2; }
.forma .f-tname { font-size: 24px; line-height: 1.15; }
.forma .f-tmin { color: var(--f-grey); font-size: 14px; align-self: center; }
.forma .f-tdesc { grid-column: 2 / -1; margin: .15rem 0 0; color: #4f4956; font-size: 16px; }
.forma .f-trow:has(input[type="radio"]:checked) .f-tmin::before { content: "In your look · "; color: var(--f-cherry); }
.forma .f-trow:has(input:focus-visible) { outline: 2px solid var(--f-ink); outline-offset: 2px; }
.forma .f-trow:has(input[type="checkbox"]:checked) .f-tmin::before { content: "Added · "; color: var(--f-cherry); }

/* House shades: the colour card, each chip a tinted almond tip; picking one tries it on */
.forma .f-shades { padding: 48px 40px 40px; border-top: 1px solid var(--f-rule); }
.forma .f-shades .f-ptitle { float: none; width: auto; margin: 0 0 1.6rem; }
.forma .f-shadecard { list-style: none; margin: 0; padding: 12px; border-radius: 10px; background: radial-gradient(ellipse at 30% 20%, #faf8fb, #ece8f0); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 8px; }
.forma .f-shadecard button { --m: url("images/tip-almond-3-shade.webp"); --g: none; width: 100%; display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: 14px 4px 10px; background: none; border: 0; border-radius: 6px; color: inherit; font: inherit; cursor: pointer; }
.forma .f-shadecard button:hover { background: #ebe7ef; }
.forma .f-shadecard .f-tip { width: 46px; filter: drop-shadow(4px 6px 6px rgb(44 22 50 / .16)); }
.forma .f-shadecard .f-tip img { width: 100%; }
.forma .f-shade-name { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 18px; line-height: 1; }
.forma .f-studio { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 40px; padding: 40px 40px 56px; border-top: 1px solid var(--f-rule); }
.forma .f-studio h3 { font-size: 28px; margin: 0 0 .8rem; }
.forma .f-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; margin: 0; }
.forma .f-days div { border: 1px solid var(--f-rule); padding: .45rem .1rem; text-align: center; }
.forma .f-days dt { font-weight: 600; font-size: 14px; }
.forma .f-days dd { margin: .2rem 0 0; font-size: 12px; color: var(--f-grey); line-height: 1.25; white-space: nowrap; }
.forma .f-days div.is-today { border-color: var(--f-cherry); box-shadow: inset 0 0 0 1px var(--f-cherry); }
.forma .f-studio p, .forma .f-studio li { font-size: 16px; }
.forma .f-studio ul { margin: 0; padding-left: 1.1rem; }
.forma .f-studio li + li { margin-top: .4rem; }

.forma .f-foot { position: relative; padding: 0 40px 28px; overflow: hidden; }
.forma .f-mark { display: block; font-size: 96px; line-height: .9; color: #e2dee6; margin: 0 0 .2rem -5px; }
.forma .f-foot p { margin: 0; font-size: 13px; color: var(--f-grey); }
.forma .f-foot a { display: inline-flex; align-items: center; min-height: 24px; }
.forma .f-bar { display: none; }

@media (max-width: 920px) { .forma .f-capsule { margin-top: 0; } }
@media (max-width: 760px) {
  .forma .f-strip { grid-template-columns: 1fr auto; padding: .4rem 20px; }
  .forma .f-links { display: none; }
  .forma .f-status { font-size: 13px; justify-self: end; }
  .forma .f-textlink { display: none; }
  .forma .f-colors { display: grid; grid-template-columns: repeat(6, 44px); gap: 6px; }
  .forma .f-colors label { width: 44px; height: 44px; }
  .forma .f-hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 20px 20px 0; }
  .forma .f-hero-photo { order: 2; }
  .forma .f-intro { max-width: none; }
  .forma .f-hero-photo { position: static; display: block; width: calc(100% + 40px); max-width: none; height: auto; aspect-ratio: 1; margin: 20px -20px 0; object-position: 88% 50%; }
  .forma h2 { font-size: 36px; }
  .forma .f-cta { display: none; }
  .forma .f-lede { margin-bottom: 0; }
  .forma .f-try { grid-template-columns: 1fr; padding: 28px 20px 40px; row-gap: 20px; }
  .forma .f-stage { --s: .55; grid-column: 1; grid-row: 1; height: 250px; }
  .forma .f-set { filter: drop-shadow(6px 9px 7px rgb(44 22 50 / .16)) drop-shadow(1px 2px 2px rgb(44 22 50 / .12)); }
  .forma .f-controls { grid-column: 1; grid-row: 2; }
  .forma .f-look { grid-column: 1; grid-row: 3; }
  .forma .f-treat, .forma .f-studio, .forma .f-shades { padding-left: 20px; padding-right: 20px; }
  .forma .f-capsule { display: none; }
  .forma .f-panel { padding: 262px 20px 18px; }
  .forma .f-still { left: 0; bottom: auto; width: auto; height: 250px; -webkit-mask: linear-gradient(to bottom, #000 80%, transparent); mask: linear-gradient(to bottom, #000 80%, transparent); }
  .forma .f-still img { object-position: 50% 58%; }
  .forma .f-panel-body, .forma .f-ptitle { width: 100%; }
  .forma .f-trow { grid-template-columns: 18px minmax(0, 1fr); column-gap: 10px; padding: 14px 0; }
  .forma .f-trow input { grid-row: 1 / span 3; }
  .forma .f-tname { grid-column: 2; }
  .forma .f-tmin { grid-column: 2; align-self: start; }
  .forma .f-tdesc { grid-column: 2; }
  .forma .f-ptitle em { font-size: 36px; }
  .forma .f-treat-head h3 { font-size: 36px; }
  .forma .f-shadecard { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .forma .f-foot { padding: 0 20px 76px; }
  .forma .f-mark { font-size: 72px; }
  .forma .f-studio { grid-template-columns: 1fr; }
  .forma .f-bar { position: sticky; bottom: 0; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); height: 52px; background: var(--f-ink); }
  .forma .f-bar a { display: grid; place-items: center; color: var(--f-paper); text-decoration: none; font-weight: 600; font-size: 15px; }
  .forma .f-bar a + a { border-left: 1px solid #3a3242; }
}
@media (prefers-reduced-motion: reduce) {
  .forma .f-stage .f-tip, .forma .f-tint, .forma .f-fx { transition: none; }
}
@container (max-width: 334px) { .forma .f-colors { grid-template-columns: repeat(4, 44px); } }
