/* Stillbrook atelier: the Framer's Counter visual world.
   Mat-board fields own whole sections, every image sits in a mat window with a white cut bevel,
   actions are paper work tickets. Loaded after stillbrook.css and chrome.css and overrides them.
   The fonts and the suede texture (--fc-suede) are declared in inc/head.php, because this file is served
   from assets/build/ under a hashed name and a relative url() would point at the wrong folder. */

:root {
  /* mat boards */
  --fc-green: #1c3828;
  --fc-green-deep: #142a1e;
  --fc-oxblood: #5e1a25;
  --fc-cobalt: #22408f;
  --fc-marigold: #e0a526;
  /* paper and ink */
  --fc-paper: #f7eee4;
  --fc-paper-edge: #e4d9cf;
  --fc-ink: #141414;
  --fc-ink-soft: #3d3a36;
  --fc-bevel: #f3f2ea;
  --fc-bevel-shade: #d4d4ca;
  /* text on mats */
  --fc-on-mat: #f5f1e3;
  --fc-on-mat-soft: #dfe5d6;
  --fc-pencil: rgba(240, 242, 224, 0.82);
  --fc-rule: rgba(240, 242, 224, 0.42);
  /* type */
  --fc-display: "Castoro", "Iowan Old Style", Georgia, serif;
  --fc-text: "Almarai", "Segoe UI", system-ui, sans-serif;
  --fc-mono: "Courier Prime", "Courier New", monospace;
  /* the composition unit: 1% of the window up to a 1520px canvas, so a wide monitor gets margins, not a giant dog */
  --u: min(1vw, 15.2px);
  --fc-edge: max(1rem, calc((100vw - 100 * var(--u)) / 2 + 4.7 * var(--u)));
  --fc-ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* the rest of the site takes the same paper, ink and type (stillbrook.css and chrome.css read these) */
  --sb-paper: var(--fc-paper);
  --sb-linen: #efe4d8;
  --sb-ink: var(--fc-ink);
  --sb-stone: var(--fc-ink-soft);
  --sb-brook: var(--fc-green);
  --sb-brook-deep: var(--fc-green);
  --sb-night: var(--fc-green-deep);
  --sb-night-text: var(--fc-on-mat);
  --sb-night-muted: var(--fc-on-mat-soft);
  --sb-line: #dccfc1;
  --sb-font-display: var(--fc-display);
  --sb-font-body: var(--fc-text);
  --sb-card: #efe4d8;
  --sb-focus: 0 0 0 3px var(--fc-paper), 0 0 0 5px var(--fc-green);
}
body.sbc { background: var(--fc-paper); color: var(--fc-ink); }

/* ---- mat field: the ground of any section that owns a colour ---------------------------------------------------- */
.fc-mat {
  background-color: var(--fc-green);
  background-image: var(--fc-suede);
  background-size: 540px auto;
  color: var(--fc-on-mat);
}
.fc-mat--oxblood { background-color: var(--fc-oxblood); background-blend-mode: luminosity; }
.fc-mat--cobalt { background-color: var(--fc-cobalt); background-blend-mode: luminosity; }
/* a light board has its own plate (mat-suede-marigold.png): blending the dark green suede would go brown */
.fc-mat--marigold { background-color: var(--fc-marigold); background-image: var(--fc-suede-marigold); color: var(--fc-ink); }
/* the deeper green: the same board in shadow, for a green section that follows another green */
.fc-mat--deep { background-image: linear-gradient(rgba(12, 28, 19, 0.38), rgba(12, 28, 19, 0.38)), var(--fc-suede); background-size: auto, 540px auto; }
.fc-paper { background: var(--fc-paper); color: var(--fc-ink); }
.fc-mat, .fc-mat *, .fc-mat *::before, .fc-mat *::after, .fc-paper, .fc-paper * { box-sizing: border-box; }
.fc-mat ::selection { background: var(--fc-paper); color: var(--fc-green); }
.fc-mat a:not([class]) { color: inherit; text-underline-offset: 0.2em; }

.fc-h2 { margin: 0; font: 400 clamp(2.25rem, 1.4rem + 3.2vw, 4.25rem)/0.98 var(--fc-display); letter-spacing: -0.012em; text-wrap: balance; }
.fc-link { font: 400 1.0625rem/1.3 var(--fc-text); color: inherit; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
.fc-link:hover { text-decoration-thickness: 2px; }
.fc-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the mat window: one module for every image on the site --------------------------------------------------- */
.fc-window {
  --bevel: clamp(4px, 0.42vw, 7px);
  position: relative;
  margin: 0;
  /* the white core of the board shows as a bevel, lit from the upper left */
  border: var(--bevel) solid var(--fc-bevel);
  border-right-color: var(--fc-bevel-shade);
  border-bottom-color: var(--fc-bevel-shade);
  box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.18), 0 1px 0 rgba(255, 255, 255, 0.06);
  background: #c7c8bf;
  overflow: hidden;
}
.fc-window img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---- work ticket: the primary action. --t is its unit: the composition unit on a wide screen, rem on a phone ---- */
.fc-ticket {
  --t: 0.78rem;
  --hole: calc(0.62 * var(--t));
  position: relative;
  display: block;
  background: var(--fc-paper);
  color: var(--fc-ink);
  text-decoration: none;
  padding: calc(1.95 * var(--t)) calc(1.15 * var(--t)) calc(1 * var(--t));
  box-shadow: 0 calc(0.35 * var(--t)) calc(0.9 * var(--t)) rgba(0, 0, 0, 0.28), 0 1px 0 var(--fc-paper-edge);
  /* the perforated top edge: a row of punched holes */
  -webkit-mask: radial-gradient(circle at 50% calc(0.95 * var(--t)), transparent calc(var(--hole) * 0.62), #000 calc(var(--hole) * 0.62 + 0.5px)) 0 0 / calc(1.115 * var(--t)) 100% repeat-x;
  mask: radial-gradient(circle at 50% calc(0.95 * var(--t)), transparent calc(var(--hole) * 0.62), #000 calc(var(--hole) * 0.62 + 0.5px)) 0 0 / calc(1.115 * var(--t)) 100% repeat-x;
  transition: transform 220ms var(--fc-ease), box-shadow 220ms var(--fc-ease);
}
/* chrome.css sets `.sbc a { color: inherit }`, which outranks a single class */
.sbc .fc-ticket, .sbc .fc-door { color: var(--fc-ink); }
.fc-ticket__label { display: block; font: 400 calc(1.02 * var(--t))/1.2 var(--fc-mono); letter-spacing: 0.01em; margin: 0 0 calc(0.45 * var(--t)); }
.fc-ticket__field {
  display: block;
  border: max(1px, calc(0.09 * var(--t))) solid var(--fc-ink);
  border-radius: calc(0.3 * var(--t));
  padding: calc(0.78 * var(--t)) calc(0.95 * var(--t));
  font: 400 calc(1.62 * var(--t))/1.1 var(--fc-mono);
  letter-spacing: 0.005em;
}
.fc-ticket:hover { transform: translateY(calc(-0.18 * var(--t))) rotate(-0.4deg); box-shadow: 0 calc(0.7 * var(--t)) calc(1.4 * var(--t)) rgba(0, 0, 0, 0.32), 0 1px 0 var(--fc-paper-edge); }
.fc-ticket:active { transform: translateY(1px); }
.fc-ticket:focus-visible { outline: 3px solid var(--fc-marigold); outline-offset: 4px; }
.fc-ticket--small { --t: 0.7rem; display: inline-block; min-width: min(100%, 21rem); }
.fc-paper .fc-ticket { box-shadow: 0 0.25rem 0.9rem rgba(60, 40, 20, 0.2), 0 0 0 1px var(--fc-paper-edge); background: #fffaf3; }

/* ---- path tickets: the three doors ----------------------------------------------------------------------------- */
.fc-doors { --t: 0.6rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.fc-door {
  --big: calc(0.55 * var(--t));
  --small: calc(0.22 * var(--t));
  position: relative;
  display: grid;
  place-items: center;
  height: 3.5rem;
  background: var(--fc-paper);
  background-image: radial-gradient(ellipse at 30% 40%, rgba(255, 255, 255, 0.5), transparent 60%), radial-gradient(ellipse at 80% 70%, rgba(214, 196, 170, 0.22), transparent 55%);
  color: var(--fc-ink);
  text-decoration: none;
  box-shadow: 0 calc(0.3 * var(--t)) calc(0.8 * var(--t)) rgba(0, 0, 0, 0.32);
  /* a ticket stub: one big notch at the middle of each end, two small ones near the corners */
  --door-mask:
    radial-gradient(circle at 0 56%, transparent var(--big), #000 calc(var(--big) + 0.5px)) 0 0 / 51% 100% no-repeat,
    radial-gradient(circle at 100% 56%, transparent var(--big), #000 calc(var(--big) + 0.5px)) 100% 0 / 51% 100% no-repeat;
  -webkit-mask: var(--door-mask);
  mask: var(--door-mask);
  transition: transform 220ms var(--fc-ease);
}
.fc-door::before, .fc-door::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: calc(var(--small) * 2);
  background:
    radial-gradient(circle, var(--door-hole, var(--fc-green)) var(--small), transparent calc(var(--small) + 0.5px)) 0 11% / 100% calc(var(--small) * 2) no-repeat,
    radial-gradient(circle, var(--door-hole, var(--fc-green)) var(--small), transparent calc(var(--small) + 0.5px)) 0 89% / 100% calc(var(--small) * 2) no-repeat;
}
.fc-door::before { left: calc(var(--small) * -1); }
.fc-door::after { right: calc(var(--small) * -1); }
.fc-door span {
  display: grid;
  place-items: center;
  width: calc(100% - 0.85rem);
  height: calc(100% - 0.85rem);
  border: 1px solid rgba(20, 20, 20, 0.62);
  border-radius: 3px;
  font: 400 clamp(0.875rem, 0.7rem + 0.9vw, 1.0625rem)/1 var(--fc-display);
  white-space: nowrap;
}
.fc-door:hover { transform: translateY(-2px); }
.fc-door:focus-visible { outline: 3px solid var(--fc-marigold); outline-offset: 4px; }

/* ---- the header: the green counter edge on every page --------------------------------------------------------- */
.sbc-header { background-color: var(--fc-green); background-image: var(--fc-suede); background-size: 540px auto; color: var(--fc-on-mat); border-bottom: 1px solid var(--fc-rule); }
.sbc-header .sbc-icon-btn { color: var(--fc-on-mat); }
.sbc-header .sbc-icon-btn:focus-visible, .sbc-header .sbc-nav a:focus-visible, .sbc-header .sbc-logo:focus-visible { outline-color: var(--fc-marigold); }
.sbc-header .sbc-cart-count { background: var(--fc-marigold); color: var(--fc-ink); }
.fc-wordmark { font: 400 1.3rem/1 var(--fc-display); color: var(--fc-on-mat); text-decoration: none; letter-spacing: -0.005em; white-space: nowrap; line-height: 44px; }
.sbc-header .sbc-nav { background-color: var(--fc-green-deep); border-color: var(--fc-rule); }
.sbc-header .sbc-nav a { color: var(--fc-on-mat); font-family: var(--fc-display); font-weight: 400; }
@media (min-width: 48rem) {
  .sbc-header-in { height: clamp(60px, calc(4.4 * var(--u)), 68px); padding-inline: var(--fc-edge); }
  .fc-wordmark { font-size: clamp(1.35rem, calc(1.96 * var(--u)), 1.9rem); }
  .sbc-header .sbc-nav { background: none; margin-left: auto; margin-right: 1rem; }
  .sbc-header .sbc-nav ul { gap: clamp(1.25rem, calc(2.1 * var(--u)), 2.2rem); }
  .sbc-header .sbc-nav a { font: 400 clamp(0.95rem, calc(1.18 * var(--u)), 1.15rem)/1 var(--fc-text); }
  .sbc-header .sbc-nav a:hover { text-decoration-thickness: 1px; text-underline-offset: 0.35em; }
  .sbc-header .sbc-actions { margin-left: 0; }
  /* the comp's masthead: four links and the bag; search lives in the footer and the phone menu bar */
  .sbc-header .sbc-search-wide { display: none; }
}
.sbc-announce { background: var(--fc-green-deep); color: var(--fc-on-mat); font-family: var(--fc-mono); }

/* ---- home hero: the mat window composition ---------------------------------------------------------------------- */
/* phone first: headline, the portrait big, the switch, then the words and the ticket */
.fc-hero { position: relative; display: grid; padding: 1.75rem 1rem 2.5rem; overflow: hidden; }
.fc-hero { grid-template-columns: minmax(0, 1fr); }
.fc-hero__copy, .fc-hero__stage { display: contents; }
/* one column: the tag shares the window's row, so every item is pinned to column 1 or auto-placement opens a second */
.fc-hero__copy > *, .fc-hero__stage > * { grid-column: 1; }
.fc-hero__title { grid-row: 1; margin: 0; max-width: 11ch; font: 400 clamp(2.75rem, 1.6rem + 6.6vw, 4rem)/0.93 var(--fc-display); letter-spacing: -0.012em; color: var(--fc-on-mat); text-wrap: balance; }
.fc-hero__window { grid-row: 2; margin-top: 1.5rem; width: 100%; aspect-ratio: 1; justify-self: center; transition: width 520ms var(--fc-ease), aspect-ratio 520ms var(--fc-ease), border-color 320ms var(--fc-ease), border-width 320ms var(--fc-ease); }
.fc-hero .fc-switch { grid-row: 3; justify-self: center; margin-top: 0.9rem; }
.fc-hero__lede { grid-row: 4; margin: 1.5rem 0 0; font: 400 1.0625rem/1.4 var(--fc-text); color: var(--fc-on-mat-soft); }
.fc-hero__cta { grid-row: 5; margin-top: 1.4rem; max-width: 26rem; }
.fc-hero__note { grid-row: 6; margin: 0.9rem 0 0; font: 400 0.9375rem/1.35 var(--fc-text); color: var(--fc-on-mat-soft); }
.fc-formats { grid-row: 7; margin: 1.75rem 0 0; }
.fc-hero__doors { grid-row: 8; margin-top: 1.75rem; }
.fc-dim { display: none; }
.fc-hero__window img { transition: opacity 420ms var(--fc-ease); }
.fc-hero__window img[hidden] { display: block; opacity: 0; position: absolute; inset: 0; }
.fc-hero__window figcaption {
  position: absolute; left: 0; bottom: 0; padding: 0.3rem 0.55rem;
  font: 400 0.75rem/1.2 var(--fc-mono); color: var(--fc-ink); background: rgba(245, 236, 229, 0.86);
}
/* the three real formats reshape the window: a 20 x 20 canvas, an 18 x 24 black frame, a 16 x 16 paper print */
.fc-hero__stage[data-format="framed"] .fc-hero__window { width: 75%; aspect-ratio: 3 / 4; border-width: clamp(10px, 1.15vw, 17px); border-color: #161616; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0.6rem 1.4rem rgba(0, 0, 0, 0.35); }
.fc-hero__stage[data-format="paper"] .fc-hero__window { width: 80%; border-width: clamp(9px, 0.95vw, 15px); border-color: #fbf8f2; box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.3); }
.fc-hero__stage[data-format="paper"] .fc-hero__window figcaption, .fc-hero__stage[data-format="framed"] .fc-hero__window figcaption { background: rgba(245, 236, 229, 0.92); }

/* the cutoff tag, hanging from the counter edge */
/* on a phone it hangs on the portrait's top-right corner, in the window's grid row */
.fc-tag { position: relative; z-index: 2; grid-row: 2; justify-self: end; align-self: start; margin: 0.4rem -0.35rem 0 0; width: 6.4rem; pointer-events: none; transform: rotate(5deg); transform-origin: 50% 0; }
.fc-tag img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0.35rem 0.45rem rgba(0, 0, 0, 0.3)); }
.fc-tag__text {
  position: absolute; left: 17%; top: 47%; width: 66%;
  transform: rotate(5deg);
  font: 400 0.56rem/1.25 var(--fc-mono); color: var(--fc-ink); text-align: center;
}
.fc-tag[hidden] { display: none; }

/* format corners */
.fc-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; padding: 0; list-style: none; }
.fc-format {
  display: flex; align-items: center; gap: 0.5rem; width: 100%;
  min-height: 3.5rem; padding: 0.25rem 0.4rem 0.25rem 0.25rem;
  border: 1px solid transparent; border-radius: 6px;
  background: none; cursor: pointer; color: var(--fc-on-mat-soft); text-align: left;
  font: 400 0.8125rem/1.15 var(--fc-mono);
}
.fc-format small { display: block; margin-top: 0.2em; font-size: 0.82em; opacity: 0.78; white-space: nowrap; }
.fc-format img { flex: none; width: 2.9rem; height: 2.9rem; object-fit: cover; border-radius: 2px; }
.fc-format[aria-pressed="true"] { border-color: var(--fc-on-mat); color: var(--fc-on-mat); }
.fc-format:hover { color: var(--fc-on-mat); }
.fc-format:focus-visible { outline: 3px solid var(--fc-marigold); outline-offset: 3px; }

/* style switch */
.fc-switch { display: inline-flex; padding: 3px; border: 1px solid var(--fc-on-mat); border-radius: 999px; }
.fc-switch button {
  min-height: 44px; border: 0; border-radius: 999px; background: none; cursor: pointer;
  padding: 0.5rem 1rem;
  font: 400 1rem/1 var(--fc-text); color: var(--fc-on-mat);
  transition: background-color 220ms var(--fc-ease), color 220ms var(--fc-ease);
}
.fc-switch button[aria-pressed="true"] { background: var(--fc-paper); color: var(--fc-ink); }
.fc-switch button:focus-visible { outline: 3px solid var(--fc-marigold); outline-offset: 2px; }

/* a phone: the portrait is capped so the ticket and the doors still land in the first screen or just under it */
@media (max-width: 40rem) {
  .fc-hero { padding-top: 1.25rem; }
  .fc-hero__window { width: min(100%, 44svh); margin-top: 1rem; }
  .fc-hero__stage[data-format="framed"] .fc-hero__window { width: min(75%, 33svh); }
  .fc-hero__stage[data-format="paper"] .fc-hero__window { width: min(80%, 35svh); }
  .fc-hero__lede { margin-top: 1rem; }
  .fc-hero__cta { margin-top: 1rem; }
}
/* the chat button waits until the hero has scrolled away, so it never sits on the ticket (framer-hero.php sets the class) */
@media (max-width: 63.99rem) {
  .sbc-chat-open { transition: opacity 220ms var(--fc-ease), transform 220ms var(--fc-ease); }
  .fc-hero-in-view .sbc-chat-open { opacity: 0; transform: translateY(1rem); pointer-events: none; }
}

/* a wide screen: the approved comp, laid out on the composition unit */
@media (min-width: 64rem) {
  .fc-hero { --x0: max(0px, calc((100% - 100 * var(--u)) / 2)); display: block; height: calc(51.4 * var(--u)); padding: 0; }
  .fc-hero__copy, .fc-hero__stage { display: block; }
  .fc-hero__copy { position: absolute; left: calc(var(--x0) + 4.7 * var(--u)); top: calc(6.4 * var(--u)); width: calc(38 * var(--u)); }
  .fc-hero__title { max-width: none; width: calc(30 * var(--u)); font-size: calc(5.42 * var(--u)); }
  .fc-hero__lede { margin-top: calc(1.9 * var(--u)); max-width: calc(36.6 * var(--u)); font-size: calc(1.53 * var(--u)); line-height: 1.3; }
  .fc-hero__cta { --t: var(--u); margin-top: calc(3 * var(--u)); width: calc(32.1 * var(--u)); max-width: none; }
  .fc-hero__note { margin-top: calc(1.05 * var(--u)); font-size: calc(1.05 * var(--u)); }
  .fc-hero__doors { --t: var(--u); display: flex; gap: calc(1.3 * var(--u)); margin-top: calc(4.98 * var(--u)); margin-left: calc(0.58 * var(--u)); }
  .fc-hero__doors .fc-door { width: calc(11.25 * var(--u)); height: calc(4.5 * var(--u)); }
  .fc-hero__doors .fc-door span { width: calc(100% - 2.25 * var(--u)); height: calc(100% - 1.45 * var(--u)); border-width: max(1px, calc(0.1 * var(--u))); font-size: calc(1.62 * var(--u)); }

  .fc-hero__stage { position: absolute; left: calc(var(--x0) + 50.6 * var(--u)); top: calc(4.2 * var(--u)); width: calc(44 * var(--u)); height: calc(46 * var(--u)); }
  .fc-hero__window { position: absolute; margin: 0; left: calc(3.6 * var(--u)); top: 0; width: calc(35.2 * var(--u)); transition: width 520ms var(--fc-ease), left 520ms var(--fc-ease), top 520ms var(--fc-ease), aspect-ratio 520ms var(--fc-ease), border-color 320ms var(--fc-ease), border-width 320ms var(--fc-ease); }
  .fc-hero__window figcaption { padding: calc(0.35 * var(--u)) calc(0.6 * var(--u)); font-size: max(0.6875rem, calc(0.8 * var(--u))); }
  .fc-hero__stage[data-format="framed"] .fc-hero__window { left: calc(8 * var(--u)); width: calc(26.4 * var(--u)); }
  .fc-hero__stage[data-format="paper"] .fc-hero__window { left: calc(7.1 * var(--u)); top: calc(3.5 * var(--u)); width: calc(28.2 * var(--u)); }

  /* pencil dimension line, following the window */
  .fc-dim { display: block; position: absolute; left: calc(40.6 * var(--u)); top: 0; width: calc(1.4 * var(--u)); height: calc(35.2 * var(--u)); color: var(--fc-pencil); transition: left 520ms var(--fc-ease), top 520ms var(--fc-ease), height 520ms var(--fc-ease); }
  .fc-hero__stage[data-format="framed"] .fc-dim { left: calc(36.2 * var(--u)); }
  .fc-hero__stage[data-format="paper"] .fc-dim { left: calc(37.1 * var(--u)); top: calc(3.5 * var(--u)); height: calc(28.2 * var(--u)); }
  .fc-dim::before, .fc-dim::after { content: ""; position: absolute; left: 0; width: 100%; border-top: 1px solid currentColor; }
  .fc-dim::before { top: 0; }
  .fc-dim::after { bottom: 0; }
  .fc-dim__line { position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid currentColor; }
  .fc-dim__label {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    padding: 0 calc(0.6 * var(--u));
    background: var(--fc-green);
    font: 400 max(0.6875rem, calc(0.98 * var(--u)))/1 var(--fc-mono); white-space: nowrap; color: var(--fc-on-mat-soft);
  }

  .fc-tag { position: absolute; margin: 0; left: calc(-8.6 * var(--u)); top: calc(-4.3 * var(--u)); width: calc(12.4 * var(--u)); transform: none; }
  .fc-tag__text { left: 21%; width: 58%; font-size: calc(0.98 * var(--u)); }

  .fc-formats { position: absolute; left: calc(2.6 * var(--u)); top: calc(36.6 * var(--u)); width: calc(37.2 * var(--u)); display: flex; justify-content: space-between; gap: 0; margin: 0; }
  .fc-format { gap: calc(0.75 * var(--u)); width: calc(11.6 * var(--u)); min-height: 0; height: calc(5.6 * var(--u)); padding: calc(0.25 * var(--u)) calc(0.6 * var(--u)) calc(0.25 * var(--u)) calc(0.25 * var(--u)); border-width: max(1px, calc(0.09 * var(--u))); border-radius: calc(0.45 * var(--u)); font-size: calc(1.02 * var(--u)); }
  .fc-format img { width: calc(5 * var(--u)); height: calc(5 * var(--u)); border-radius: calc(0.2 * var(--u)); }

  .fc-hero .fc-switch { position: absolute; left: calc(11.2 * var(--u)); top: calc(43 * var(--u)); margin: 0; padding: calc(0.22 * var(--u)); border-width: max(1px, calc(0.09 * var(--u))); }
  .fc-hero .fc-switch button { min-height: 0; padding: calc(0.48 * var(--u)) calc(1.02 * var(--u)); font-size: calc(1.18 * var(--u)); }
}

/* ---- one switch, every portrait: the oxblood wall ------------------------------------------------------------ */
.fc-styles { padding: clamp(3.5rem, 7vw, 7rem) var(--fc-edge); --door-hole: var(--fc-oxblood); }
.fc-styles__head { display: grid; gap: 1rem 3rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.fc-styles__lede { margin: 0; max-width: 34rem; font: 400 1.0625rem/1.45 var(--fc-text); color: rgba(248, 236, 230, 0.86); }
.fc-switch--inline { justify-self: start; }
.fc-styles .fc-switch button[aria-pressed="true"] { color: var(--fc-oxblood); }
.fc-styles__note { margin: 0; min-height: 1.4em; font: 400 0.9375rem/1.4 var(--fc-mono); color: rgba(248, 236, 230, 0.82); }
.fc-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2.25rem); margin: 0; padding: 0; list-style: none; }
.fc-wall[hidden] { display: none; }
.fc-wall__window { aspect-ratio: 1; }
.fc-wall__item:nth-child(even) .fc-wall__window { aspect-ratio: 4 / 5; }
.fc-wall__label { margin: 0.7rem 0 0; font: 400 0.8125rem/1.3 var(--fc-mono); color: rgba(248, 236, 230, 0.8); }
.fc-wall:not([hidden]) .fc-wall__item { animation: fc-hang 560ms var(--fc-ease) both; }
.fc-wall__item:nth-child(2) { animation-delay: 60ms !important; }
.fc-wall__item:nth-child(3) { animation-delay: 120ms !important; }
.fc-wall__item:nth-child(4) { animation-delay: 180ms !important; }
@keyframes fc-hang { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.fc-styles__foot { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; align-items: baseline; margin: clamp(2rem, 4vw, 3rem) 0 0; }
.fc-styles__foot span { font: 400 0.8125rem/1.3 var(--fc-mono); color: rgba(248, 236, 230, 0.7); }
@media (min-width: 48rem) {
  .fc-styles__head { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .fc-styles__head .fc-h2 { grid-row: span 2; }
  .fc-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }
  .fc-wall__item:nth-child(even) { margin-top: clamp(1.5rem, 4vw, 4rem); }
}

/* ---- from one photo to your wall: the workshop axis ----------------------------------------------------------- */
.fc-workshop { display: grid; gap: 2.5rem 4rem; padding: clamp(3.5rem, 7vw, 7rem) var(--fc-edge); }
.fc-workshop__head { display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
.fc-workshop__lede { margin: 0; max-width: 28rem; font: 400 1.0625rem/1.45 var(--fc-text); color: var(--fc-on-mat-soft); }
.fc-workshop__head .fc-ticket { margin-top: 0.75rem; }
.fc-axis { position: relative; margin: 0; padding: 0 0 0 2.25rem; list-style: none; }
/* the pencil rail the work travels down, ticked at both ends like the hero's dimension line */
.fc-axis::before { content: ""; position: absolute; left: 0.5rem; top: 0.7rem; bottom: 0.7rem; border-left: 1px solid var(--fc-pencil); }
.fc-axis::after { content: ""; position: absolute; left: 0.1rem; bottom: 0.7rem; width: 0.8rem; border-top: 1px solid var(--fc-pencil); }
.fc-axis__stop { position: relative; padding: 0 0 2.5rem; }
.fc-axis__stop:last-child { padding-bottom: 0; }
/* a punched grommet at each stop: a ring of bevel white around a hole showing the board */
.fc-axis__stop::before {
  content: ""; position: absolute; left: -2.25rem; top: 0.35rem; width: 1rem; height: 1rem; border-radius: 50%;
  background: var(--fc-green-deep); border: 3px solid var(--fc-bevel); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.fc-axis__stop:nth-child(2)::before { background: var(--fc-marigold); }
.fc-axis__title { margin: 0; font: 400 clamp(1.5rem, 1.2rem + 1vw, 2rem)/1.1 var(--fc-display); color: var(--fc-on-mat); }
/* the time a stop takes, written like a measurement: under the title on a phone, on the rail beside the grommet when there is room */
.fc-axis__when { margin: 0.4rem 0 0.5rem; font: 400 0.8125rem/1.25 var(--fc-mono); color: var(--fc-pencil); }
.fc-axis__text { margin: 0; max-width: 34rem; font: 400 1rem/1.5 var(--fc-text); color: var(--fc-on-mat-soft); }
@media (min-width: 40rem) {
  .fc-axis { padding-left: 13rem; }
  .fc-axis::before { left: 11rem; }
  .fc-axis::after { left: 10.6rem; }
  .fc-axis__stop::before { left: -2.5rem; }
  .fc-axis__when { position: absolute; left: -13rem; top: 0.4rem; width: 9.6rem; margin: 0; text-align: right; }
  .fc-axis__when::after { content: ""; position: absolute; right: -0.85rem; top: 0.62em; width: 0.6rem; border-top: 1px solid currentColor; }
  .fc-axis__title { margin-bottom: 0.45rem; }
}
@media (min-width: 56rem) {
  .fc-workshop { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .fc-workshop__head { position: sticky; top: 6rem; }
}

/* ---- the two other doors: gift on marigold, memorial on cobalt ------------------------------------------------- */
.fc-doorsec { display: grid; }
.fc-doorsec__half { display: grid; gap: 2rem; align-items: center; padding: clamp(3rem, 6vw, 6rem) var(--fc-edge); }
.fc-doorsec__copy { display: grid; gap: 1rem; justify-items: start; max-width: 30rem; }
.fc-doorsec__copy p { margin: 0; font: 400 1.0625rem/1.45 var(--fc-text); }
.fc-doorsec__price { font-family: var(--fc-mono) !important; font-size: 0.9375rem !important; }
.fc-doorsec__copy .fc-ticket { margin-top: 0.75rem; }
.fc-doorsec__gift { --door-hole: var(--fc-marigold); }
.fc-doorsec__gift .fc-h2 { color: var(--fc-ink); }
/* the gift: a portrait in its window with the gift tag tied to its corner */
.fc-doorsec__art { position: relative; justify-self: center; width: min(100%, 22rem); }
.fc-doorsec__art .fc-doorsec__window { width: 100%; }
.fc-doorsec__art--tag { position: absolute; right: -1.25rem; top: -1.75rem; width: 7.5rem; transform: rotate(8deg); transform-origin: 50% 0; }
.fc-doorsec__art--tag img { display: block; width: 100%; height: auto; filter: drop-shadow(0 0.5rem 0.6rem rgba(60, 30, 0, 0.35)); }
.fc-doorsec__art--tag .fc-tag__text { left: 18%; top: 52%; width: 64%; font-size: 0.72rem; }
.fc-doorsec__memorial { color: var(--fc-on-mat); }
.fc-doorsec__memorial .fc-doorsec__copy p { color: rgba(240, 242, 250, 0.88); }
.fc-doorsec__window { width: min(100%, 22rem); aspect-ratio: 4 / 5; justify-self: center; }
@media (min-width: 64rem) {
  .fc-doorsec { grid-template-columns: 1fr 1fr; }
  .fc-doorsec__half { grid-template-columns: auto minmax(0, 1fr); padding-inline: clamp(2rem, 4vw, 4.5rem); }
  .fc-doorsec__gift { padding-left: var(--fc-edge); }
  .fc-doorsec__memorial { padding-right: var(--fc-edge); }
  .fc-doorsec__window, .fc-doorsec__art { width: clamp(12rem, 17vw, 17rem); }
  .fc-doorsec__art--tag { width: clamp(6.5rem, 8vw, 8rem); }
  .fc-doorsec__art--tag .fc-tag__text { font-size: clamp(0.62rem, 0.72vw, 0.75rem); }
}

/* ---- written on every order: the work-order slip --------------------------------------------------------------- */
.fc-receipt { padding: clamp(3.5rem, 7vw, 7rem) 1rem; }
.fc-receipt__slip {
  --t: 0.8rem;
  position: relative;
  max-width: 44rem; margin: 0 auto;
  padding: 3rem clamp(1.25rem, 4vw, 3rem) 2.25rem;
  background: var(--fc-paper); color: var(--fc-ink);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.35);
  transform: rotate(-0.6deg);
  -webkit-mask: radial-gradient(circle at 50% 1.1rem, transparent 0.32rem, #000 calc(0.32rem + 0.5px)) 0 0 / 1.1rem 100% repeat-x;
  mask: radial-gradient(circle at 50% 1.1rem, transparent 0.32rem, #000 calc(0.32rem + 0.5px)) 0 0 / 1.1rem 100% repeat-x;
}
.fc-receipt__h { margin: 0 0 1.5rem; padding-bottom: 0.9rem; border-bottom: 1px dashed rgba(20, 20, 20, 0.5); font: 400 clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem)/1.1 var(--fc-display); letter-spacing: -0.01em; }
.fc-receipt__lines { display: grid; gap: 1.4rem; margin: 0; padding: 0; list-style: none; }
.fc-receipt__lines li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: 0.9rem; }
.fc-receipt__tick { width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; color: var(--fc-green); }
.fc-receipt__lines h3 { margin: 0 0 0.25rem; font: 400 1.375rem/1.15 var(--fc-display); }
.fc-receipt__lines p { margin: 0; font: 400 1rem/1.5 var(--fc-text); color: var(--fc-ink-soft); }
.fc-receipt__lines a, .fc-receipt__sign a { color: var(--fc-ink); text-underline-offset: 0.2em; }
.fc-receipt__sign { margin: 1.75rem 0 0; padding-top: 1rem; border-top: 1px dashed rgba(20, 20, 20, 0.5); font: 400 0.875rem/1.5 var(--fc-mono); }
@media (min-width: 48rem) { .fc-receipt__lines { grid-template-columns: 1fr 1fr; gap: 1.75rem 2.25rem; } }

/* ---- the FAQ and plain pages sit on paper, set in the same type ---------------------------------------------- */
.sbt-faqsec { background: var(--fc-paper); }
.sbt-faqsec .sbt-h2, .sbc-page-title { font-family: var(--fc-display); font-weight: 400; letter-spacing: -0.012em; }
.sbt-faq details { border-color: var(--sb-line); }
.sbt-faq summary { font-family: var(--fc-display); font-weight: 400; }
/* on the home page the questions get the oxblood board, between the green slip and the green footer */
.home .sbt-faqsec {
  background-color: var(--fc-oxblood); background-image: var(--fc-suede); background-size: 540px auto; background-blend-mode: luminosity;
  color: var(--fc-on-mat);
  --sb-ink: var(--fc-on-mat); --sb-ink-2: rgba(248, 236, 230, 0.86); --sb-stone: rgba(248, 236, 230, 0.86); --sb-line: rgba(248, 236, 230, 0.3);
}
.home .sbt-faqsec a { color: inherit; }
.home .sbt-faqsec ::selection { background: var(--fc-paper); color: var(--fc-oxblood); }

/* ---- footer: the green board again, closing the page ---------------------------------------------------------- */
.sbc-footer { background-color: var(--fc-green-deep); background-image: linear-gradient(rgba(12, 28, 19, 0.38), rgba(12, 28, 19, 0.38)), var(--fc-suede); background-size: auto, 540px auto; color: var(--fc-on-mat); border-top: 1px solid var(--fc-rule); }
.sbc-footer-in { padding-inline: var(--fc-edge); }
.sbc-foot-h { font-family: var(--fc-display); font-weight: 400; color: var(--fc-on-mat); }
.sbc-foot-small { border-top-color: var(--fc-rule); font-family: var(--fc-mono); }

@media (prefers-reduced-motion: reduce) {
  .fc-ticket, .fc-door, .fc-hero__window, .fc-hero__window img, .fc-switch button, .fc-dim { transition: none; }
  .fc-wall:not([hidden]) .fc-wall__item { animation: none; }
}
