/* Sable frame button (framed passage). One reusable component; preview only.
   Approved by Camille 19 Oct 2026 (items 42, 43, 45). On hover or keyboard focus one continuous 1px frame draws round the
   action from its own left edge while the label and icon glide right 20 px and the icon crossfades along its path. Frame,
   glide (20 px since Interiors batch 3, was 16) and icon share one curve and one timing: 700 ms in, 500 ms out, cubic-bezier(.45,0,.55,1) (an agreed exception to
   --ease-sable for this button style). Transitions only, so leaving mid hover reverses smoothly. At rest the label sits on
   the text column edge and nothing paints left of it. Phones show no hover; reduced motion shows the end state.

   Markup (the JS sizes the frame and adds the frame and icon if they are missing):
   <a class="fbtn fbtn--gold fbtn--arrow-diagonal" href="/register/"><span class="fbtn__label">Register your interest</span></a>
   Colours:  fbtn--gold (default) | fbtn--white | fbtn--bark
   Icons:    fbtn--arrow-diagonal (default, another page) | fbtn--arrow-down (download) | fbtn--arrow-next (further down this page) | fbtn--play | fbtn--marker (toggle, drawn ring with hairline +; use on a button with aria-expanded)
   Groups:   <div class="fbtn-group"> ... </div> one row on desktop, 88 px apart (48 px clear between drawn frames, block spacing rule 8:46 am);
             stacked below 721 px, first action on top, 8 px apart. */
.fbtn {
 --fbtn-ink:var(--film-yellow,#E8D48A);
 --fbtn-inset:14px; --fbtn-shift:20px; --fbtn-gap:18px; --fbtn-icon:16px;
 --fbtn-line:1px; /* one hairline for every drawn line (Camille 8:00 am); glide and side gaps 16 to 20 px (1.25x, Interiors batch 3 item 15) */
 --fbtn-ease:cubic-bezier(.45,0,.55,1); --fbtn-in:700ms; --fbtn-out:500ms;
 position:relative; display:inline-flex; align-items:center; gap:var(--fbtn-gap); min-height:44px;
 padding:12px var(--fbtn-inset); margin-inline:calc(-1 * var(--fbtn-inset));
 border:0; background:none; color:var(--fbtn-ink); cursor:pointer; -webkit-tap-highlight-color:transparent;
 font:var(--type-action); letter-spacing:var(--type-action-tracking); text-transform:uppercase; text-decoration:none; white-space:nowrap;
}
.fbtn--gold { --fbtn-ink:var(--film-yellow,#E8D48A); }
.fbtn--white { --fbtn-ink:#FFFFFF; }
.fbtn--bark { --fbtn-ink:var(--bark,#332F24); }
/* Optical centring (Camille 19 Oct 2026, 2:50 pm: 'the hover - text buttons needs to be aligned in middle - check across'). Each glyph
   sits in its 16 px box with air on its right, so the drawn frame closes that much nearer and label plus icon read centred:
   clear space left and right of the ink equal within 1 px, top and bottom equal. --fbtn-optic is the glyph's right air at its
   hover size; a negative value opens the frame for a glyph that grows past its box (the hide toggle's ring at 1.2x).
   The label's rest place and the 20 px glide are unchanged. frame-button.js sizes the frame with the same value. */
.fbtn { --fbtn-optic:2px; }
.fbtn--arrow-down { --fbtn-optic:2px; }
.fbtn--arrow-next { --fbtn-optic:2px; }
.fbtn--play { --fbtn-optic:3px; }
.fbtn--marker, .fbtn--choice { --fbtn-optic:0px; }
.fbtn--hide { --fbtn-optic:-1.5px; }
.fbtn:is(:hover,:focus-visible,:active) { color:var(--fbtn-ink); background:none; }
.fbtn::before,.fbtn::after { content:none; }
.fbtn:focus-visible { outline:none; }

.fbtn__frame { position:absolute; top:0; left:var(--fbtn-inset); width:calc(100% - 2 * var(--fbtn-inset) + 2 * var(--fbtn-shift) - var(--fbtn-optic,0px)); height:100%; overflow:visible; pointer-events:none; transform:none; transition:none; }
.fbtn__frame path { fill:none; stroke:currentColor; stroke-width:var(--fbtn-line,1px); vector-effect:non-scaling-stroke; stroke-linecap:butt; stroke-linejoin:miter; stroke-dasharray:1 1; stroke-dashoffset:1; transition:stroke-dashoffset var(--fbtn-out) var(--fbtn-ease); will-change:stroke-dashoffset; }
.fbtn :is(.fbtn__label,.fbtn__icon) { display:block; transform:translate3d(0,0,0); transition:transform var(--fbtn-out) var(--fbtn-ease); will-change:transform; }
.fbtn__icon { position:relative; flex:none; width:var(--fbtn-icon,16px); height:var(--fbtn-icon,16px); overflow:hidden; }
.fbtn__icon svg { position:absolute; inset:0; display:block; width:100%; height:100%; opacity:1; transform:translate3d(0,0,0); transition:transform var(--fbtn-out) var(--fbtn-ease), opacity var(--fbtn-out) var(--fbtn-ease); will-change:transform,opacity; }
/* The incoming icon waits on the far side of its path: diagonal (from bottom left), down (from above), play (from the left). */
.fbtn .fbtn__a2 { opacity:0; transform:translate3d(-100%,100%,0); }
.fbtn--arrow-down .fbtn__a2 { transform:translate3d(0,-100%,0); }
.fbtn--arrow-next .fbtn__a2 { transform:translate3d(0,-100%,0); }
.fbtn--play .fbtn__a2 { transform:translate3d(-100%,0,0); }

@media (hover:hover) and (pointer:fine) {
 .fbtn:hover .fbtn__frame path { stroke-dashoffset:0; transition-duration:var(--fbtn-in); }
 .fbtn:hover :is(.fbtn__label,.fbtn__icon) { transform:translate3d(var(--fbtn-shift),0,0); transition-duration:var(--fbtn-in); }
 .fbtn:hover .fbtn__a1 { opacity:0; transform:translate3d(100%,-100%,0); transition-duration:var(--fbtn-in); }
 .fbtn--arrow-down:hover .fbtn__a1 { transform:translate3d(0,100%,0); }
 .fbtn--arrow-next:hover .fbtn__a1 { transform:translate3d(0,100%,0); }
 .fbtn--play:hover .fbtn__a1 { transform:translate3d(100%,0,0); }
 .fbtn:hover .fbtn__a2 { opacity:1; transform:translate3d(0,0,0); transition-duration:var(--fbtn-in); }
}
.fbtn:focus-visible .fbtn__frame path { stroke-dashoffset:0; transition-duration:var(--fbtn-in); }
.fbtn:focus-visible :is(.fbtn__label,.fbtn__icon) { transform:translate3d(var(--fbtn-shift),0,0); transition-duration:var(--fbtn-in); }
.fbtn:focus-visible .fbtn__a1 { opacity:0; transform:translate3d(100%,-100%,0); transition-duration:var(--fbtn-in); }
.fbtn--arrow-down:focus-visible .fbtn__a1 { transform:translate3d(0,100%,0); }
.fbtn--arrow-next:focus-visible .fbtn__a1 { transform:translate3d(0,100%,0); }
.fbtn--play:focus-visible .fbtn__a1 { transform:translate3d(100%,0,0); }
.fbtn:focus-visible .fbtn__a2 { opacity:1; transform:translate3d(0,0,0); transition-duration:var(--fbtn-in); }

.fbtn-group { display:flex; flex-wrap:wrap; align-items:center; column-gap:calc(var(--button-gap,48px) + 40px); row-gap:8px; } /* 48 px clear between drawn frames (each frame reaches 20 px past its label, the glide); block spacing rule, Camille 8:46 am */
@media (max-width:720px) { .fbtn-group { flex-direction:column; align-items:flex-start; } }

/* Selected state (principle, Camille 19 Oct 2026 5:29 am: the line draws round whatever is hovered or selected). A toggle
   that is open (aria-expanded="true") or a pressed choice (aria-pressed="true") keeps its frame drawn and its label glided. */
.fbtn:is([aria-expanded="true"],[aria-pressed="true"]) .fbtn__frame path { stroke-dashoffset:0; transition-duration:var(--fbtn-in); }
.fbtn:is([aria-expanded="true"],[aria-pressed="true"]) :is(.fbtn__label,.fbtn__icon) { transform:translate3d(var(--fbtn-shift),0,0); transition-duration:var(--fbtn-in); }

/* ON FILE, NOT IN USE: retired from Interiors by Camille 19 Oct 2026, 6:07 am ('good design - but wrong concept'), kept on file.
   Toggle with marker plus, drawn marker (approved by Camille 19 Oct 2026, 5:52 am: 'I like the marker now'; jobs 48, 50).
   A 1px ring and a short hairline cross, no fill, no spin. Hover or focus: a second hairline ring traces round once with a
   faint wash, in step with the frame. Open: the vertical arm fades, leaving a hairline minus. 25 px box so the cross lands
   on whole pixels (crisp 1px); the script snaps the icon to the pixel grid. Same 700/500 ms curve. */
.fbtn--marker { --fbtn-icon:25px; --fbtn-wash:var(--fbtn-ink); }
.fbtn--marker .fbtn__icon { overflow:visible; }
.fbtn__mark { position:absolute; inset:0; display:block; width:100%; height:100%; overflow:visible; }
.fbtn__mark :is(circle,path) { vector-effect:non-scaling-stroke; }
.fbtn__mk-ring { fill:none; stroke:currentColor; stroke-width:var(--fbtn-line,1px); }
.fbtn__mk-wash { fill:var(--fbtn-wash); fill-opacity:0; transition:fill-opacity var(--fbtn-out) var(--fbtn-ease); }
.fbtn__mk-trace { fill:none; stroke:currentColor; stroke-width:var(--fbtn-line,1px); stroke-dasharray:1.02 1.02; stroke-dashoffset:1.02; transition:stroke-dashoffset var(--fbtn-out) var(--fbtn-ease); will-change:stroke-dashoffset; }
.fbtn__mk-v,.fbtn__mk-h { fill:none; stroke:currentColor; stroke-width:var(--fbtn-line,1px); shape-rendering:crispEdges; }
@media (hover:hover) and (pointer:fine) {
 .fbtn--marker:hover .fbtn__mk-trace { stroke-dashoffset:0; transition-duration:var(--fbtn-in); }
 .fbtn--marker:hover .fbtn__mk-wash { fill-opacity:.06; transition-duration:var(--fbtn-in); }
}
.fbtn--marker:is(:focus-visible,[aria-expanded="true"]) .fbtn__mk-trace { stroke-dashoffset:0; transition-duration:var(--fbtn-in); }
.fbtn--marker:focus-visible .fbtn__mk-wash { fill-opacity:.06; transition-duration:var(--fbtn-in); }
.fbtn--marker[aria-expanded="true"] .fbtn__mk-wash { fill-opacity:.1; transition-duration:var(--fbtn-in); }

/* Sequenced label crossfade (Camille 19 Oct 2026, 5:59 am: 'the cross fade is NOT very smooth', job 48). Before, both labels
   faded at once over 500 ms, so at mid opacity the two texts overlapped letter on letter. Now the old label fades out and
   drifts up 4 px over 280 ms; the new one fades in from 4 px below over 320 ms, starting at 200 ms, so they barely overlap.
   Both sit in one grid cell (the box keeps the longer label's width, same baseline), composited (translate3d, will-change).
   The minus arm fades on the same timing. Markup: <span class="fbtn__label"><span class="fbtn__text">Show all finishes</span>
   <span class="fbtn__text" aria-hidden="true">Show selected finish</span></span>; the page swaps aria-hidden, the script
   places the incoming label below before it rises. */
.fbtn { --fbtn-swap-out:280ms; --fbtn-swap-in:320ms; --fbtn-swap-delay:200ms; --fbtn-swap-rise:4px; }
.fbtn .fbtn__label { display:grid; justify-items:start; align-items:baseline; }
.fbtn__text { grid-area:1/1; opacity:1; transform:translate3d(0,0,0); will-change:opacity,transform; backface-visibility:hidden;
 transition:opacity var(--fbtn-swap-in) var(--fbtn-ease) var(--fbtn-swap-delay), transform var(--fbtn-swap-in) var(--fbtn-ease) var(--fbtn-swap-delay); }
.fbtn__text[aria-hidden="true"] { opacity:0; transform:translate3d(0,calc(-1 * var(--fbtn-swap-rise)),0);
 transition:opacity var(--fbtn-swap-out) var(--fbtn-ease), transform var(--fbtn-swap-out) var(--fbtn-ease); }
.fbtn__text.is-entering { opacity:0; transform:translate3d(0,var(--fbtn-swap-rise),0); transition:none; }
.fbtn__mk-v { opacity:1; transition:opacity var(--fbtn-swap-in) var(--fbtn-ease) var(--fbtn-swap-delay); }
.fbtn--marker[aria-expanded="true"] .fbtn__mk-v { opacity:0; transition:opacity var(--fbtn-swap-out) var(--fbtn-ease); }

/* Prompt line (job 51, Camille 19 Oct 2026, 6:07 am: 'I think this prompt line needs an animated upgrade as well - it is
   practically a prompt - and it needs to link to the actual button design'; 6:08 am: 'i think it should be all caps').
   Frame button action type (9 px, 1000, .14em, uppercase), bark by default, with the approved drawn marker inline in place
   of the +. No new style: as it scrolls into view the line plays the approved drop in (opacity from 0, 10 px rise, 850 ms
   on --ease-sable); the inline ring stays quiet, already drawn, so the line reads as an instruction (6:39 am).
   Inside a .fbtn-prompt-scope, hovering or focusing a drawn marker (.mk) echoes the 1.2x grow on the inline marker.
   <p class="fbtn-prompt">Select <span class="fbtn-prompt__mk" aria-hidden="true"><svg viewBox="0 0 13 13">...</svg></span>
   <span class="fbtn-sr">a marker</span> to explore the materials</p> */
.fbtn-prompt { --fbtn-line:1px; --fbtn-ink:var(--bark,#332F24); --fbtn-ease:cubic-bezier(.45,0,.55,1); --fbtn-in:700ms; --fbtn-out:500ms;
 margin:0; color:var(--fbtn-ink); font:var(--type-action); letter-spacing:var(--type-action-tracking); text-transform:uppercase; }
/* Inline marker, 17 px (Camille 6:18 am, 'I think the icon is too small - make it bigger'). Odd size so the hairline cross
   sits on a true centre pixel column; ring r 7.5 at 1px, cross 5 px (a third of the ring, as on the photo markers).
   Its box is reserved: 17 px wide in the line but only 7 px tall, sat on the baseline, so it never changes the line height;
   the drawing hangs centred on the cap height. Gaps to SELECT and TO are matched by eye and measured (--fbtn-mk-l / -r).
   Stillness (Camille 6:14 am, 'it shifts? slightly the marker why?'): the cross is drawn with ordinary antialiasing, not
   crispEdges. crispEdges rounded the hairlines to whole pixels only while the glyph was at rest, so the moment the grow began
   they jumped half a pixel up and left, and jumped back when it ended. Its coordinates already sit on pixel centres, so it
   stays sharp at rest. Grow is transform only, about the centre. */
.fbtn-prompt { --fbtn-mk:17px; --fbtn-mk-l:2px; --fbtn-mk-r:3px; }
.fbtn-prompt--instruction { font-size:12px; font-weight:400; letter-spacing:0; text-transform:none; }
.fbtn-prompt__mk { position:relative; display:inline-block; width:var(--fbtn-mk); height:7px; margin:0 var(--fbtn-mk-r) 0 var(--fbtn-mk-l); vertical-align:baseline; }
.fbtn-prompt__mk svg { position:absolute; left:0; top:-5px; display:block; width:var(--fbtn-mk); height:var(--fbtn-mk); overflow:visible; transform:scale(1); transform-origin:50% 50%; transform-box:border-box; transition:transform var(--fbtn-out) var(--fbtn-ease); }
.fbtn-prompt__mk :is(circle,path) { fill:none; stroke:currentColor; stroke-width:var(--fbtn-line,1px); vector-effect:non-scaling-stroke; transition:stroke-width var(--fbtn-out) var(--fbtn-ease); }
.fbtn-prompt__mk path { shape-rendering:geometricPrecision; }
.fbtn-prompt__ring { stroke-dasharray:1.02 1.02; stroke-dashoffset:0; } /* 1.02 closes the hairline seam where the circle starts */
.fbtn-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; }
@keyframes fbtn-drop-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
@media (prefers-reduced-motion:no-preference) {
 .fbtn-prompt[data-reveal="ready"] { opacity:0; }
 .fbtn-prompt[data-reveal="in"] { animation:fbtn-drop-in 850ms var(--m-curve,cubic-bezier(.45,0,.55,1)) both; }
 .fbtn-prompt-scope:has(.mk:is(:hover,:focus-visible)) p.fbtn-prompt .fbtn-prompt__mk svg { transform:scale(1.2); transition-duration:var(--fbtn-in); }
 .fbtn-prompt-scope:has(.mk:is(:hover,:focus-visible)) p.fbtn-prompt .fbtn-prompt__mk :is(circle,path) { stroke-width:calc(1px / 1.2); transition-duration:var(--fbtn-in); }
}

/* Prompt to drawing gap (Camille 20 Oct 2026, 3:57 am; WF-WEB-SABLE-HOMES-191026, sitewide). One gap from the lowest mark of a
   prompt or control row (the caps baseline, the inline + glyph, a tab underline or a drawn frame, whichever sits lowest) to the
   first visible line of the drawing it controls: --prompt-to-drawing, 32 px, 24 px at 720 and below (structure.css :root).
   Put the class on the row that sits directly above the drawing. --prompt-tail is how far the row's box bottom sits below its
   lowest mark (3.6 px for a plain 9 px prompt line; negative when a mark hangs below the box). --drawing-inset is the blank
   space between the drawing's box top and its first visible line (a length, or a percentage of the row's container width),
   set per drawing. Not used in the full screen plan overlay or Explore residences. The class is doubled for specificity only. */
.fbtn-prompt-scope--drawing.fbtn-prompt-scope--drawing { --prompt-tail:3.6px; --drawing-inset:0px; margin-bottom:calc(var(--prompt-to-drawing,32px) - var(--prompt-tail) - var(--drawing-inset)); }

/* Hide markers button (job 52, Camille 19 Oct 2026, 6:28 am: 'add one to the right - same style - click - to hide markers - so
   when triggered people could see clean render'; 6:39 am: 'the issue now - we don't know which is a button - which is a
   prompt'). Prompts are text; actions are framed buttons. So this is a frame button (fbtn fbtn--bark) at a compact height
   that fits the prompt row: 6 px above and below the label instead of 12, an invisible ::after keeps a 44 px tap target,
   and -8 px block margins keep the row at about the text line height (13 px). Icon: the drawn marker glyph (17 px ring) with one
   hairline (minus) for Hide; pressed, the vertical hairline fades back to the marker's own + for Show, and like every icon it
   grows 1.2x on hover or focus. Frame and glide come from the component; pressed does not hold the frame (6:52 am, below).
   The word swap is the approved label crossfade. --fbtn-reserve (2 x shift - inset = 18 px) pulls the right edge in so the
   drawn frame's right side lands on the column edge instead of overhanging it.
   <button type="button" class="fbtn fbtn--bark fbtn--compact fbtn--hide" aria-pressed="false" aria-controls="ID" aria-label="Hide markers on the ... image">
   <span class="fbtn__label"><span class="fbtn__text">Hide markers</span><span class="fbtn__text" aria-hidden="true">Show markers</span></span>
   <span class="fbtn__icon" aria-hidden="true"><svg class="fbtn-mk" viewBox="0 0 17 17">ring, h hairline, .fbtn-mk__v</svg></span></button>
   The element named by aria-controls takes .fbtn-hideable: pressed it fades out (500 ms) and leaves the tab order and
   pointer; released it fades back (700 ms), both on cubic-bezier(.45,0,.55,1). */
.fbtn.fbtn--compact { --fbtn-gap:12px; --fbtn-reserve:calc(2 * var(--fbtn-shift) - var(--fbtn-inset)); min-height:0; padding-block:6px; margin-block:-8px; }
.fbtn.fbtn--compact::after { content:""; position:absolute; left:var(--fbtn-inset); right:calc(-1 * var(--fbtn-reserve)); top:-10px; bottom:-10px; }
.fbtn--hide { --fbtn-icon:17px; }
.fbtn--hide .fbtn__icon { overflow:visible; }
.fbtn--hide .fbtn__icon svg.fbtn-mk { overflow:visible; transform:scale(1); transform-origin:50% 50%; transform-box:border-box; transition:transform var(--fbtn-out) var(--fbtn-ease); }
.fbtn-mk :is(circle,path) { fill:none; stroke:currentColor; stroke-width:var(--fbtn-line,1px); vector-effect:non-scaling-stroke; transition:stroke-width var(--fbtn-out) var(--fbtn-ease); }
.fbtn-mk path { shape-rendering:geometricPrecision; }
.fbtn--hide .fbtn-mk__v { opacity:0; transition:opacity var(--fbtn-swap-out) var(--fbtn-ease), stroke-width var(--fbtn-out) var(--fbtn-ease); }
.fbtn--hide[aria-pressed="true"] .fbtn-mk__v { opacity:1; transition:opacity var(--fbtn-swap-in) var(--fbtn-ease) var(--fbtn-swap-delay), stroke-width var(--fbtn-out) var(--fbtn-ease); }
@media (hover:hover) and (pointer:fine) {
 .fbtn--hide:hover .fbtn__icon svg.fbtn-mk { transform:scale(1.2); transition-duration:var(--fbtn-in); }
 .fbtn--hide:hover .fbtn-mk :is(circle,path) { stroke-width:calc(1px / 1.2); }
}
.fbtn--hide:focus-visible .fbtn__icon svg.fbtn-mk { transform:scale(1.2); transition-duration:var(--fbtn-in); }
.fbtn--hide:focus-visible .fbtn-mk :is(circle,path) { stroke-width:calc(1px / 1.2); }
/* No held frame (Camille 6:52 am: 'but i think once i finish clicking - the drawing should disappear'). Unlike the generic
   pressed state, the hide button never keeps its frame: it draws on hover or keyboard focus (:focus-visible, so a mouse click
   or tap leaves nothing drawn) and undraws on the normal 500 ms out once the pointer leaves. Pressed shows only through the
   SHOW MARKERS label and the + glyph. */
.fbtn.fbtn--hide[aria-pressed="true"] .fbtn__frame path { stroke-dashoffset:1; transition-duration:var(--fbtn-out); }
.fbtn.fbtn--hide[aria-pressed="true"] :is(.fbtn__label,.fbtn__icon) { transform:translate3d(0,0,0); transition-duration:var(--fbtn-out); }
@media (hover:hover) and (pointer:fine) {
 .fbtn.fbtn--hide[aria-pressed="true"]:hover .fbtn__frame path { stroke-dashoffset:0; transition-duration:var(--fbtn-in); }
 .fbtn.fbtn--hide[aria-pressed="true"]:hover :is(.fbtn__label,.fbtn__icon) { transform:translate3d(var(--fbtn-shift),0,0); transition-duration:var(--fbtn-in); }
}
.fbtn.fbtn--hide[aria-pressed="true"]:focus-visible .fbtn__frame path { stroke-dashoffset:0; transition-duration:var(--fbtn-in); }
.fbtn.fbtn--hide[aria-pressed="true"]:focus-visible :is(.fbtn__label,.fbtn__icon) { transform:translate3d(var(--fbtn-shift),0,0); transition-duration:var(--fbtn-in); }
.fbtn-hideable { opacity:1; visibility:visible; transition:opacity var(--fbtn-in,700ms) cubic-bezier(.45,0,.55,1), visibility 0s linear 0s; }
.fbtn-hideable[data-fbtn-hidden] { opacity:0; visibility:hidden; pointer-events:none; transition:opacity var(--fbtn-out,500ms) cubic-bezier(.45,0,.55,1), visibility 0s linear var(--fbtn-out,500ms); }
@media (prefers-reduced-motion:reduce) { .fbtn-hideable, .fbtn-hideable[data-fbtn-hidden], .fbtn--hide .fbtn-mk__v, .fbtn--hide .fbtn__icon svg.fbtn-mk { transition:none; } }

@media (prefers-reduced-motion:reduce) {
 .fbtn,.fbtn *,.fbtn .fbtn__frame path { transition:none !important; }
 .fbtn .fbtn__a1 { opacity:1 !important; transform:none !important; }
 .fbtn .fbtn__a2 { display:none !important; }
 .fbtn__text { transform:none !important; }
}

/* Choice (Homes batch 2 item 7, 19 Oct 2026): a frame button with no icon, for view choices and resets inside a tool row
   (Drawing / Materials, Reset). Same frame, glide, curve and timing; a pressed choice keeps its frame drawn (selected rule). */
.fbtn.fbtn--choice { gap:0; }
.fbtn.fbtn--choice .fbtn__icon { display:none; }
.fbtn.fbtn--choice[disabled] { opacity:.4; cursor:default; }

/* Standard close, CLOSE X (Camille 19 Oct 2026, 11:32 am: 'CLOSE x'; 11:33 am: 'CLOSE X. Not small x'). Supersedes the 7:59 am
   CLOSE only rule below: the label reads CLOSE, an en space (about one letter space with the .14em tracking), then a capital
   X in the same label type, so the X is exactly the cap height and stroke weight of the letters. Set once here on ::after;
   every fbtn-x close (site menu, plan explorer, Place card, map, film, Interiors palette viewer) takes it. Colour, auto
   bark or white ink, scrim, 44 px target, hover and focus are unchanged. Never on The Story.
   Earlier rule, kept for history: Standard close (Interiors batch 3 item E, LIVE by Camille 19 Oct 2026, 7:59 am: 'all caps CLOSE replacing the hairline
   cross as the standard close on every page'; supersedes the 7:17 am hairline x lock). The word CLOSE in the frame button
   action type (10 px, 1000, .14em caps; 9 px read too small at 1440 over imagery, fix 19 Oct 8:40), bark or white to suit the ground, no frame draw, no glyph. Hover or keyboard focus eases
   it darker (rest 72% to full) on the shared curve, 700 ms in, 500 ms out, while the word plays the component's sequenced label
   crossfade once (out drifting up 4 px, back in from 4 px below, 520 ms). 44 px target; aria-label names what
   closes; Escape closes wherever it closes an overlay (page script). The pages keep their markup: the old glyph svg inside the
   button is simply not shown. Icon only hairline controls (plan zoom in and out) keep the glyph: they carry data-plan-zoom
   or fbtn-x--icon and keep the old 1.2x grow.
   <button type="button" class="fbtn-x" aria-label="Close residence"></button>   (fbtn-x--white on dark grounds) */
.fbtn-x { --fbtn-x-ink:var(--bark,#332F24); --fbtn-ease:cubic-bezier(.45,0,.55,1); --fbtn-in:700ms; --fbtn-out:500ms;
 --fbtn-swap-out:280ms; --fbtn-swap-in:320ms; --fbtn-swap-delay:200ms; --fbtn-swap-rise:4px;
 position:relative; display:inline-grid; place-items:center; flex:none; width:44px; height:44px; min-width:44px; min-height:44px; margin:0; padding:0; border:0; border-radius:0;
 background:none; box-shadow:none; color:var(--fbtn-x-ink); cursor:pointer; -webkit-tap-highlight-color:transparent; opacity:.72;
 transition:opacity var(--fbtn-out) var(--fbtn-ease); }
.fbtn-x--white { --fbtn-x-ink:#FFFFFF; }
.fbtn-x::before,.fbtn-x::after { content:none; }
.fbtn-x:is(:hover,:focus,:focus-visible,:active) { background:none; box-shadow:none; color:var(--fbtn-x-ink); outline:none; }
@media (hover:hover) and (pointer:fine) { .fbtn-x:hover { opacity:1; transition-duration:var(--fbtn-in); } }
.fbtn-x:focus-visible { opacity:1; transition-duration:var(--fbtn-in); }
.fbtn-x[disabled] { opacity:.3; cursor:default; }
/* The word lives on ::after only (some legacy page files switch ::before off with !important), so the component's
   sequenced label crossfade plays on one element: out 280 ms drifting up 4 px, then in from 4 px below over 320 ms, the
   same 280/200/320 ms timing as the label swap. The trailing tracking is pulled back so the word sits optically centred. */
.fbtn-x:not(.fbtn-x--icon,[data-plan-zoom]) { width:auto; min-width:44px; font:1000 10px/1 var(--sans,"DM Sable",Arial,sans-serif); letter-spacing:.14em; text-transform:uppercase; white-space:nowrap; }
.fbtn-x:not(.fbtn-x--icon,[data-plan-zoom]) > svg { display:none !important; }
.fbtn-x:not(.fbtn-x--icon,[data-plan-zoom])::after { content:"Close\2002X" !important; content:"Close\2002X" / "" !important; position:static !important; display:block !important; width:auto !important; height:auto !important; margin:0 -.14em 0 0 !important; background:none !important; border:0 !important;
 color:inherit; opacity:1; transform:translate3d(0,0,0); backface-visibility:hidden; }
@keyframes fbtn-x-swap { 0% { opacity:1; transform:translate3d(0,0,0); } 54% { opacity:0; transform:translate3d(0,-4px,0); } 54.01% { opacity:0; transform:translate3d(0,4px,0); } 100% { opacity:1; transform:translate3d(0,0,0); } }
@media (prefers-reduced-motion:no-preference) {
 @media (hover:hover) and (pointer:fine) { .fbtn-x:not(.fbtn-x--icon,[data-plan-zoom]):hover::after { animation:fbtn-x-swap 520ms cubic-bezier(.45,0,.55,1) both; } }
 .fbtn-x:not(.fbtn-x--icon,[data-plan-zoom]):focus-visible::after { animation:fbtn-x-swap 520ms cubic-bezier(.45,0,.55,1) both; }
}
/* CLOSE over imagery (fix 19 Oct 2026 8:40 am, Design Lead QA: the word nearly vanished over pale marble). Add
   data-fbtn-x-auto to a close that sits on a photograph or render. frame-button.js reads the image pixels under the word,
   picks bark or white, whichever holds more contrast, and sets the softest local scrim (chalk under bark, bark under white)
   that keeps 4.5:1 against the lightest or darkest pixel there, at rest. Most grounds need no scrim at all; busy veining gets
   a feathered patch no larger than the 44 px target. Rest is 88% so it still eases darker on hover. */
.fbtn-x[data-fbtn-x-auto] { --fbtn-x-scrim:242 239 231; --fbtn-x-scrim-a:0; isolation:isolate; opacity:.88;
 transition:opacity var(--fbtn-out) var(--fbtn-ease), color var(--fbtn-out) var(--fbtn-ease); }
/* Draw audit fix 8 (Camille 5:20 pm): the shorthand above reset the hover timing, so this close eased in over 500 ms. Hover and focus now ease in over 700 ms like every CLOSE X; out stays 500 ms. */
@media (hover:hover) and (pointer:fine) { .fbtn-x[data-fbtn-x-auto]:hover { transition-duration:var(--fbtn-in); } }
.fbtn-x[data-fbtn-x-auto]:focus-visible { transition-duration:var(--fbtn-in); }
/* No scrim (Camille 23 Oct 2026, Boston Oak: "odd feature fill underneath - NEVER HAVE FEATHER BLUR anywhere - rule"): the
   feathered patch under the word is gone; CLOSE is plain bark or plain white ink, whichever holds more contrast there. */
.fbtn-x[data-fbtn-x-auto]::before { content:none !important; background:none !important; }
.fbtn-x[data-fbtn-x-ink="white"] { --fbtn-x-ink:#FFFFFF; --fbtn-x-scrim:51 47 36; }
.fbtn-x[data-fbtn-x-ink="bark"] { --fbtn-x-ink:var(--bark,#332F24); --fbtn-x-scrim:242 239 231; }
@media (prefers-reduced-motion:reduce) { .fbtn-x[data-fbtn-x-auto], .fbtn-x[data-fbtn-x-auto]::before { transition:none !important; } }
/* Icon only hairline controls (zoom in and out): the glyph at the one hairline, 1.2x about its centre on hover or focus. */
.fbtn-x svg { display:block; width:16px; height:16px; overflow:visible; fill:none; stroke:currentColor; stroke-width:var(--fbtn-line,1px); stroke-linecap:butt; vector-effect:non-scaling-stroke;
 transform:scale(1); transform-origin:50% 50%; transition:transform var(--fbtn-out) var(--fbtn-ease); }
.fbtn-x svg * { vector-effect:non-scaling-stroke; stroke-width:var(--fbtn-line,1px); }
@media (hover:hover) and (pointer:fine) { .fbtn-x:hover svg { transform:scale(1.2); transition-duration:var(--fbtn-in); } }
.fbtn-x:focus-visible svg { transform:scale(1.2); transition-duration:var(--fbtn-in); }
@media (prefers-reduced-motion:reduce) {
 .fbtn-x, .fbtn-x svg, .fbtn-x::before, .fbtn-x::after { transition:none !important; }
}

/* Centred frame button (Interiors batch 3 item H, Camille 7:59 am: 'center the "watch the film" element'). For an action
   centred on its ground (Watch the film over the film), the glide would leave the drawn frame 20 px right of centre. Here the
   frame opens the glide's gap on both sides of the label at rest and the label and icon stay still (the icon still crossfades
   along its path), so rest and drawn states share one centre. Same frame, curve and timing. */
.fbtn.fbtn--centred .fbtn__frame { left:calc(var(--fbtn-inset) - var(--fbtn-shift)); }
.fbtn.fbtn--centred:is(:hover,:focus-visible,[aria-expanded="true"],[aria-pressed="true"]) :is(.fbtn__label,.fbtn__icon) { transform:translate3d(0,0,0); }

/* Show more toggle (Interiors batch 3 item A, Camille 7:56 am: remove the draw animation from the specification reveal; keep a
   downward arrow, not a circle). A quiet text control: the label in the action type, a 1 px hairline chevron after it, no frame.
   Rest 72%, hover or focus eases to full on the shared curve (as the standard close); open turns the chevron to point up,
   transform only, 700 ms in, 500 ms out. The revealed content uses the Reveal entrance (page script).
   <summary class="fbtn-more" aria-expanded="false"><span class="fbtn-more__label">Specifications</span><svg class="fbtn-more__chev" viewBox="0 0 12 12" aria-hidden="true" focusable="false"><path d="M2.5 4.5L6 8l3.5-3.5"/></svg></summary> */
.fbtn-more { --fbtn-ink:var(--film-yellow,#E8D48A); --fbtn-ease:cubic-bezier(.45,0,.55,1); --fbtn-in:700ms; --fbtn-out:500ms;
 display:inline-flex; align-items:center; gap:12px; min-height:44px; padding:0; margin:0; border:0; background:none; color:var(--fbtn-ink); cursor:pointer; list-style:none;
 font:var(--type-action); letter-spacing:var(--type-action-tracking); text-transform:uppercase; white-space:nowrap; -webkit-tap-highlight-color:transparent;
 opacity:.72; transition:opacity var(--fbtn-out) var(--fbtn-ease); }
.fbtn-more::-webkit-details-marker { display:none; }
.fbtn-more::marker { content:none; }
.fbtn-more--white { --fbtn-ink:#FFFFFF; } .fbtn-more--bark { --fbtn-ink:var(--bark,#332F24); }
.fbtn-more__chev { display:block; flex:none; width:12px; height:12px; overflow:visible; fill:none; stroke:currentColor; stroke-width:var(--fbtn-line,1px); vector-effect:non-scaling-stroke;
 transform:rotate(0deg); transform-origin:50% 50%; transition:transform var(--fbtn-out) var(--fbtn-ease); }
.fbtn-more__chev path { vector-effect:non-scaling-stroke; }
@media (hover:hover) and (pointer:fine) { .fbtn-more:hover { opacity:1; transition-duration:var(--fbtn-in); } }
.fbtn-more:focus-visible { opacity:1; transition-duration:var(--fbtn-in); }
.fbtn-more:focus-visible { outline:var(--fbtn-line,1px) solid currentColor; outline-offset:6px; }
.fbtn-more[aria-expanded="true"] { opacity:1; }
.fbtn-more[aria-expanded="true"] .fbtn-more__chev { transform:rotate(-180deg); transition-duration:var(--fbtn-in); }
@media (prefers-reduced-motion:reduce) { .fbtn-more, .fbtn-more__chev { transition:none; } }

/* Firanzo fullscreen-close reference, Camille 19 Oct 2026. The header logo is 34px high; centre the 44px target on it.
   Live pages may supply a measured --fullscreen-close-top when their header differs. Keep the existing label animation. */
.fbtn-x.fbtn-x--fullscreen { position:absolute; z-index:2; top:var(--fullscreen-close-top,calc(clamp(30px,2.4vw,38px) - 5px)); right:var(--page,clamp(20px,4.1vw,72px)); opacity:1; background:none; box-shadow:none; }
.fbtn-x.fbtn-x--fullscreen:focus-visible { outline:1px solid currentColor; outline-offset:2px; }
@media(max-width:720px) { .fbtn-x.fbtn-x--fullscreen { top:8px; right:8px; } }
/* Centred closing CTA modifier (Camille 3:59 and 4:00 am trial on /story/, approved 4:05 am 20 Oct for ONLY this style: a centred heading with its closing frame button below). The frame box, not the bare label, is centred: the frame starts one shift left of the label so it is drawn evenly about it, an invisible ::after reserves the hover frame box at rest, and label and arrow do not glide, so label, arrow and frame keep the heading's centre line at rest, mid draw and on hover. Draw timing, calm curve and arrow swap are the base ones. --phone applies it at 720px and below only (Place, where the closing is centred only on phone). The base .fbtn is unchanged. */
.fbtn.fbtn--centred-closing .fbtn__frame { left:calc(var(--fbtn-inset) - var(--fbtn-shift)); }
.fbtn.fbtn--centred-closing::after { content:"" !important; display:block !important; position:absolute; top:0; bottom:0; left:calc(var(--fbtn-inset) - var(--fbtn-shift)); right:calc(var(--fbtn-inset) - var(--fbtn-shift) + var(--fbtn-optic,0px)); }
.fbtn.fbtn--centred-closing:is(:hover,:focus-visible,[aria-expanded="true"],[aria-pressed="true"]) :is(.fbtn__label,.fbtn__icon) { transform:translate3d(0,0,0); }
@media (max-width:720px) {
 .fbtn.fbtn--centred-closing-phone .fbtn__frame { left:calc(var(--fbtn-inset) - var(--fbtn-shift)); }
 .fbtn.fbtn--centred-closing-phone::after { content:"" !important; display:block !important; position:absolute; top:0; bottom:0; left:calc(var(--fbtn-inset) - var(--fbtn-shift)); right:calc(var(--fbtn-inset) - var(--fbtn-shift) + var(--fbtn-optic,0px)); }
 .fbtn.fbtn--centred-closing-phone:is(:hover,:focus-visible,[aria-expanded="true"],[aria-pressed="true"]) :is(.fbtn__label,.fbtn__icon) { transform:translate3d(0,0,0); }
}

/* Box principle (Camille 6:57 am, 20 Oct): a box is earned by significance. Hide markers is a lighter choice, so it is the quiet
   bold word with the 1 px hairline 6 px below (the Place map and G01 MARKERS SHOW | HIDE style): no frame, no icon, no glide.
   The word crossfade and its underline travel together. */
.fbtn.fbtn--hide { gap:0; }
.fbtn.fbtn--hide .fbtn__frame, .fbtn.fbtn--hide .fbtn__icon { display:none; }
.fbtn.fbtn--hide .fbtn__label, .fbtn.fbtn--hide[aria-pressed] .fbtn__label { transform:none !important; }
.fbtn.fbtn--hide .fbtn__text { position:relative; }
.fbtn.fbtn--hide .fbtn__text::after { content:""; position:absolute; left:0; right:.14em; bottom:-6px; height:var(--fbtn-line,1px); background:currentColor; pointer-events:none; }
