/* The Art of Framing (art-of-framing.html). Loads after home.css, home-v2.css and art.css.
   Lighter, gallery-like than the finishing page: mostly cream, the frame is the hero, generous space.
   Every section that is not a full-screen video fits the screen under the 80px menu on desktop (--fit). */

.fr-stories, .fr-artist, .fr-builder, .fr-wall, .fr-last, .fr-home, .fr-collect { --pad: 64px; padding: var(--pad) 0; }
.fr-stories, .fr-builder, .fr-wall, .fr-home { background: var(--cream); color: var(--ink); }
.fr-artist, .fr-last, .fr-collect { background: var(--maroon-bg); color: var(--on-dark); }

/* shared type */
.fr-head { text-align: center; margin-bottom: clamp(24px, 3.4svh, 44px); }
.fr-title { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 3.6vw, 54px); line-height: 1.08; color: var(--wine-800); letter-spacing: -.005em; text-wrap: balance; }
.fr-title em { font-style: italic; color: var(--gold-ink); }
.fr-title.light { color: var(--on-dark); }
.fr-title.light em { color: var(--gold-soft); }
.fr-sub { max-width: 52ch; margin: 14px auto 0; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.7; color: var(--ink-soft); text-wrap: balance; }
.fr-sub.light { color: rgba(245, 234, 214, .85); }
.fr-text { margin-top: 18px; font-family: var(--display); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-soft); }
.fr-link { display: inline-block; margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--wine-700); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.fr-link:hover { color: var(--gold-ink); }

/* ---------- 1. Opening: full-width dark photo of a frame being placed, text on the left (user reference) ---------- */
.fr-hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--maroon-bg); color: var(--on-dark); }
.fr-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 80% 50%; }
.fr-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 4, 6, .78) 0%, rgba(20, 4, 6, .5) 34%, rgba(20, 4, 6, 0) 58%), linear-gradient(0deg, rgba(20, 4, 6, .45), transparent 30%); }
.fr-hero-inner { position: relative; z-index: 1; width: 100%; padding-top: var(--header-h); }
.fr-hero-copy { max-width: 540px; }
.fr-hero-eyebrow { display: flex; align-items: center; gap: 18px; font-size: 11px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--gold); }
.fr-hero-eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--gold); opacity: .7; }
.fr-hero-title { margin-top: clamp(16px, 2.6svh, 28px); font-family: var(--display); font-weight: 400; font-size: clamp(54px, 7.2vw, 116px); line-height: .98; letter-spacing: -.015em; color: #f6ecdc; }
.fr-hero-title em { font-style: italic; color: var(--gold-soft); }
.fr-hero-caps { margin-top: clamp(16px, 2.6svh, 28px); font-size: clamp(11px, .95vw, 13px); font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--on-dark); }
.fr-hero-rule { display: block; width: 48px; height: 1px; margin: clamp(18px, 3svh, 30px) 0; background: var(--gold); opacity: .8; }
.fr-hero-text { font-family: var(--display); font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--on-dark-soft); }
.fr-hero-btn { margin-top: clamp(22px, 3.6svh, 36px); letter-spacing: .2em; }
.fr-hero-scroll { position: absolute; left: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); bottom: clamp(18px, 3svh, 32px); z-index: 1; display: grid; justify-items: center; gap: 10px; color: var(--on-dark-soft); text-decoration: none; }
.fr-hero-scroll span { font-size: 9px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.fr-hero-scroll i { position: relative; width: 1px; height: 40px; background: rgba(245, 234, 214, .3); }
.fr-hero-scroll i::after { content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .fr-hero-img { animation: frZoom 14s var(--ease) both; }
  .fr-hero-copy > * { animation: frRise 1s var(--ease) both; }
  .fr-hero-copy > :nth-child(2) { animation-delay: .1s; }
  .fr-hero-copy > :nth-child(3) { animation-delay: .2s; }
  .fr-hero-copy > :nth-child(4) { animation-delay: .25s; }
  .fr-hero-copy > :nth-child(5) { animation-delay: .3s; }
  .fr-hero-copy > :nth-child(6) { animation-delay: .4s; }
  .fr-hero-scroll i::after { animation: frDrop 2.2s ease-in-out infinite; }
}
@keyframes frZoom { from { transform: scale(1.07); } to { transform: none; } }
@keyframes frRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes frDrop { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(36px); opacity: 0; } }

/* ---------- 2. Your story becomes the design: Rolls-Royce "Explore further" style on maroon.
   Small spaced-caps heading, four cards (image on top, spaced-caps title, the story), fine vertical rules between them. ---------- */
.fr-stories { background: var(--maroon-bg); color: var(--on-dark); }
.fr-stories > .container { max-width: 1440px; }
.fs-head { text-align: center; margin-bottom: clamp(32px, 4.4svh, 56px); }
.fs-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2vw, 30px); letter-spacing: .22em; text-transform: uppercase; color: #f6ecdc; }
.fs-head p { margin-top: 12px; font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: rgba(245, 234, 214, .72); }
.fs-grid[role="list"] { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1200px; margin: 0 auto; }
.fs-card { padding: 0 clamp(14px, 1.6vw, 24px) 6px; border-left: 1px solid rgba(245, 234, 214, .16); }
.fs-card:last-child { border-right: 1px solid rgba(245, 234, 214, .16); }
.fs-card figure { margin: 0; overflow: hidden; height: clamp(220px, calc(100svh - 80px - 2 * var(--pad) - 300px), 440px); }
.fs-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.fs-card:hover img { transform: scale(1.04); }
.fs-card h3 { margin-top: clamp(18px, 2.4svh, 26px); font-family: var(--sans); font-weight: 500; font-size: clamp(13px, 1vw, 15px); letter-spacing: .2em; text-transform: uppercase; color: #f6ecdc; }
.fs-card p { margin-top: 12px; font-size: 14px; line-height: 1.65; color: rgba(245, 234, 214, .78); }

/* ---------- 3. Designed with you, made by hand: copy on the left (cream), a collage of the handwork on the right
   (one wide photo over two), photos left clean. Fits one screen. ---------- */
.fr-artist { background: var(--maroon-bg); color: var(--on-dark); }
.fr-artist > .container { max-width: 1600px; }
.fr-artist-row { display: grid; grid-template-columns: minmax(320px, .66fr) 1.1fr; gap: clamp(32px, 4vw, 72px); align-items: center; }
.fr-artist-label { display: flex; align-items: center; gap: 16px; font-size: 11px; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--gold); }
.fr-artist-label::before { content: ""; width: 44px; height: 1px; background: currentColor; opacity: .7; }
.fr-artist-title { margin-top: clamp(16px, 2.6svh, 26px); font-family: var(--display); font-weight: 400; font-size: clamp(36px, 3.8vw, 62px); line-height: 1.04; letter-spacing: -.01em; color: var(--on-dark); }
.fr-nowrap { white-space: nowrap; }
.fr-artist-title em { display: block; font-style: italic; color: var(--gold-soft); }
.fr-artist-rule { display: block; width: 48px; height: 1px; margin: clamp(20px, 3svh, 30px) 0; background: var(--gold); opacity: .7; }
.fr-artist-text { max-width: 40ch; font-family: var(--display); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.65; color: var(--on-dark-soft); }
/* four handwork photos: one tall on the left, one wide on top right, two below it */
.fr-work { display: grid; grid-template-columns: 1.29fr 1fr 1.1fr; grid-template-rows: 1.05fr 1fr; grid-template-areas: "a b b" "a c d"; gap: 11px; height: clamp(360px, calc(100svh - 80px - 2 * var(--pad)), 680px); }
.fr-work figure { position: relative; margin: 0; overflow: hidden; border-radius: 4px; min-height: 0; }
.fr-work img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.fr-work figure:hover img { transform: scale(1.04); }
.fr-work-a { grid-area: a; }
.fr-work-b { grid-area: b; }
.fr-work-b img { object-position: 40% 62%; }
.fr-work-c { grid-area: c; }
.fr-work-d { grid-area: d; }

/* the frame: everything in em, so one size knob (font-size) scales it anywhere (builder and wall preview) */
.fb-frame { position: relative; width: 10em; height: 12.5em; box-shadow: 0 1.1em 1.8em -.9em rgba(30, 10, 6, .55), 0 .2em .5em rgba(30, 10, 6, .2); }
.fb-side { position: absolute; background-repeat: repeat; }
.fb-side.is-t { top: 0; left: 0; right: 0; height: 1em; background-size: auto 1em; clip-path: polygon(0 0, 100% 0, calc(100% - 1em) 100%, 1em 100%); }
.fb-side.is-b { bottom: 0; left: 0; right: 0; height: 1em; background-size: auto 1em; clip-path: polygon(1em 0, calc(100% - 1em) 0, 100% 100%, 0 100%); }
.fb-side.is-l { top: 0; bottom: 0; left: 0; width: 1em; background-size: 1em auto; clip-path: polygon(0 0, 100% 1em, 100% calc(100% - 1em), 0 100%); }
.fb-side.is-r { top: 0; bottom: 0; right: 0; width: 1em; background-size: 1em auto; clip-path: polygon(0 1em, 100% 0, 100% 100%, 0 calc(100% - 1em)); }
.fb-frame[data-mould="gold-ornate"] .is-t { background-image: url(../assets/img/framing/mould/gold-ornate-t.webp); }
.fb-frame[data-mould="gold-ornate"] .is-b { background-image: url(../assets/img/framing/mould/gold-ornate-b.webp); }
.fb-frame[data-mould="gold-ornate"] .is-l { background-image: url(../assets/img/framing/mould/gold-ornate-l.webp); }
.fb-frame[data-mould="gold-ornate"] .is-r { background-image: url(../assets/img/framing/mould/gold-ornate-r.webp); }
.fb-frame[data-mould="ivory-gold"] .is-t { background-image: url(../assets/img/framing/mould/ivory-gold-t.webp); }
.fb-frame[data-mould="ivory-gold"] .is-b { background-image: url(../assets/img/framing/mould/ivory-gold-b.webp); }
.fb-frame[data-mould="ivory-gold"] .is-l { background-image: url(../assets/img/framing/mould/ivory-gold-l.webp); }
.fb-frame[data-mould="ivory-gold"] .is-r { background-image: url(../assets/img/framing/mould/ivory-gold-r.webp); }
.fb-frame[data-mould="antique-bronze"] .is-t { background-image: url(../assets/img/framing/mould/antique-bronze-t.webp); }
.fb-frame[data-mould="antique-bronze"] .is-b { background-image: url(../assets/img/framing/mould/antique-bronze-b.webp); }
.fb-frame[data-mould="antique-bronze"] .is-l { background-image: url(../assets/img/framing/mould/antique-bronze-l.webp); }
.fb-frame[data-mould="antique-bronze"] .is-r { background-image: url(../assets/img/framing/mould/antique-bronze-r.webp); }
.fb-frame[data-mould="walnut-beaded"] .is-t { background-image: url(../assets/img/framing/mould/walnut-beaded-t.webp); }
.fb-frame[data-mould="walnut-beaded"] .is-b { background-image: url(../assets/img/framing/mould/walnut-beaded-b.webp); }
.fb-frame[data-mould="walnut-beaded"] .is-l { background-image: url(../assets/img/framing/mould/walnut-beaded-l.webp); }
.fb-frame[data-mould="walnut-beaded"] .is-r { background-image: url(../assets/img/framing/mould/walnut-beaded-r.webp); }

.fb-inner { position: absolute; inset: 1em; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55em; padding: .6em;
  background: radial-gradient(ellipse 80% 60% at 50% 35%, rgba(255, 255, 255, .12), transparent 70%), var(--bg);
  box-shadow: inset 0 0 .7em rgba(0, 0, 0, .55), inset 0 .15em .3em rgba(0, 0, 0, .4); transition: background-color .35s var(--ease); }
.fb-frame[data-fabric="velvet"] .fb-inner { background: linear-gradient(135deg, rgba(255, 255, 255, .1), transparent 40%, rgba(0, 0, 0, .18) 75%), radial-gradient(ellipse 80% 60% at 50% 35%, rgba(255, 255, 255, .12), transparent 70%), var(--bg); }
.fb-frame[data-fabric="plush"] .fb-inner { background: repeating-radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px), radial-gradient(ellipse 80% 60% at 50% 35%, rgba(255, 255, 255, .16), transparent 70%), var(--bg); }
.fb-frame[data-fabric="textured"] .fb-inner { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 5px), repeating-linear-gradient(-45deg, rgba(0, 0, 0, .06) 0 1px, transparent 1px 5px), var(--bg); }
.fb-casts { display: flex; justify-content: center; gap: .1em; height: 5.4em; }
.fb-casts img { height: 100%; width: auto; filter: drop-shadow(0 .14em .18em rgba(0, 0, 0, .55)); }
.fb-casts img.is-mirror { transform: scaleX(-1); }
.fb-words { max-width: 100%; font-family: "Tiro Devanagari Hindi", var(--display); font-size: .6em; line-height: 1.3; text-align: center; overflow-wrap: anywhere; }
/* lettering styles */
.fb-frame[data-letter="gold"] .fb-words { background: linear-gradient(180deg, #f6dc94 0%, #c9a24c 45%, #8d6a24 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 .03em .02em rgba(0, 0, 0, .7)); }
.fb-frame[data-letter="black"] .fb-words { color: #141010; text-shadow: 0 .03em 0 rgba(255, 255, 255, .25); }
.fb-frame[data-letter="brass"] .fb-words, .fb-frame[data-letter="wood"] .fb-words, .fb-frame[data-letter="acrylic"] .fb-words { padding: .35em .8em; border-radius: .08em; box-shadow: 0 .08em .2em rgba(0, 0, 0, .5); }
.fb-frame[data-letter="brass"] .fb-words { background: linear-gradient(135deg, #e7c878, #b88f3a 50%, #dcb865); color: #4a3310; }
.fb-frame[data-letter="wood"] .fb-words { background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 7px), linear-gradient(180deg, #a0703f, #7b5128); color: #2c1a0b; }
.fb-frame[data-letter="acrylic"] .fb-words { background: linear-gradient(160deg, #2a2a2a, #090909 60%); color: #e9d39a; }

/* controls */
.fb-controls { display: grid; gap: clamp(14px, 2.2svh, 24px); }
.fb-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.fb-group legend { margin-bottom: 10px; padding: 0; font-size: 10px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-ink); }
.fb-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.fb-opts.is-mould { display: grid; grid-template-columns: 1fr 1fr; }
.fb-opt { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line-light); border-radius: 3px; background: rgba(255, 255, 255, .35); font: 500 12px/1.2 var(--sans); color: var(--wine-800); cursor: pointer; transition: border-color .2s, background .2s; }
.fb-opt:hover { border-color: rgba(77, 17, 25, .4); }
.fb-opt[aria-pressed="true"] { border-color: var(--wine-700); background: #fff8ec; box-shadow: inset 0 0 0 1px var(--wine-700); }
.fb-mould-chip { flex: none; width: 46px; height: 24px; background-size: auto 100%; background-repeat: repeat-x; border-radius: 2px; }
.fb-fam { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 8px; }
.fb-fam + .fb-fam { margin-top: 8px; }
.fb-fam-name { font-family: var(--display); font-style: italic; font-size: 15px; color: var(--wine-800); }
.fb-swatches { display: flex; gap: 10px; }
.fb-swatch { width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 2px 6px -2px rgba(40, 10, 10, .4); transition: transform .2s var(--ease); }
.fb-swatch.is-velvet { background: linear-gradient(135deg, rgba(255, 255, 255, .28), transparent 50%, rgba(0, 0, 0, .25)), var(--c); }
.fb-swatch.is-plush { background: repeating-radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .14) 0 1px, transparent 1px 3px), var(--c); }
.fb-swatch.is-textured { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .18) 0 1px, transparent 1px 4px), var(--c); }
.fb-swatch:hover { transform: scale(1.08); }
.fb-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px var(--wine-700); }
.fb-input input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--line-light); border-radius: 3px; background: #fff; font: 16px/1.2 "Tiro Devanagari Hindi", var(--display); color: var(--ink); }
.fb-input input:focus { outline: 2px solid var(--wine-700); outline-offset: 1px; }
.fb-opts.is-letter { margin-top: 10px; }
.fb-opts.is-letter .fb-opt { min-height: 34px; padding: 4px 10px; font-size: 11px; }

/* ---------- 3b. Every detail, chosen by you: the real options in three tabs (moulding / background / words), cream ---------- */
.fr-opts { --pad: 64px; padding: var(--pad) 0; background: var(--cream); color: var(--ink); }
.fr-opts > .container { max-width: 1320px; }
.fo-tabs { display: flex; justify-content: center; gap: clamp(8px, 1.4vw, 20px); margin-bottom: clamp(20px, 3svh, 36px); }
.fo-tabs button { position: relative; padding: 10px 6px; border: 0; background: none; font: 600 11px/1.2 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer; transition: color .3s var(--ease); }
.fo-tabs button::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 0; height: 1px; background: var(--gold-ink); transform: scaleX(0); transition: transform .4s var(--ease); }
.fo-tabs button[aria-selected="true"] { color: var(--wine-800); }
.fo-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.fo-tabs button:hover { color: var(--wine-800); }
.fo-tabs button:focus-visible { outline: 2px solid var(--wine-700); outline-offset: 4px; }
.fo-panel { animation: foIn .5s var(--ease) both; }
@keyframes foIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fo-grid[role="list"] { display: grid; gap: clamp(14px, 2vw, 32px); }
.fo-grid.is-mould { grid-template-columns: repeat(4, 1fr); }
.fo-grid.is-fabric { grid-template-columns: repeat(3, 1fr); }
.fo-grid.is-plates { grid-template-columns: repeat(3, 1fr); }
.fo-grid.is-letters { grid-template-columns: repeat(2, 1fr); }
.fo-img { margin: 0; overflow: hidden; border-radius: 4px; box-shadow: 0 24px 40px -32px rgba(58, 13, 19, .5); }
.fo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.fo-item:hover .fo-img img { transform: scale(1.04); }
/* whole picture, no cropping; grid width keeps the tiles inside one screen */
.is-mould .fo-img { aspect-ratio: 320 / 400; }
.is-fabric .fo-img { aspect-ratio: 4 / 5; }
.fo-grid.is-mould { max-width: min(100%, calc((100svh - 80px - 2 * var(--pad) - 290px) * 3.4)); margin-inline: auto; }
.fo-grid.is-fabric { max-width: min(100%, calc((100svh - 80px - 2 * var(--pad) - 290px) * 2.5)); margin-inline: auto; }
.is-plates .fo-img { aspect-ratio: 420 / 200; }
.is-letters .fo-img { aspect-ratio: 680 / 145; }
.fo-item { text-align: center; }
.fo-item h3 { margin-top: 14px; font-family: var(--display); font-weight: 400; font-size: clamp(17px, 1.4vw, 21px); letter-spacing: .14em; text-transform: uppercase; color: var(--wine-800); }
.fo-item p { margin-top: 6px; font-family: var(--display); font-style: italic; font-size: 15px; color: var(--ink-soft); }
.fo-group { margin: 0 0 14px; text-align: center; font-size: 10px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-ink); }
.is-plates + .fo-group { margin-top: clamp(22px, 3.4svh, 36px); }
@media (min-width: 900px) { .fr-opts { --pad: clamp(32px, 6svh, 72px); } }
@media (max-width: 899px) {
  .fo-tabs { gap: 4px; }
  .fo-tabs button { padding: 10px 4px; font-size: 10px; letter-spacing: .16em; }
  .fo-grid.is-mould { grid-template-columns: 1fr 1fr; }
  .fo-grid.is-fabric, .fo-grid.is-plates, .fo-grid.is-letters { grid-template-columns: 1fr; }
  .fo-grid.is-mould, .fo-grid.is-fabric { max-width: none; }
  .is-fabric .fo-img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) { .fo-panel { animation: none; } }

/* ---------- 5. In their words (video) ---------- */
.fr-words-band .bg-video { object-position: 50% 50%; }

/* ---------- 6. See it on your wall ---------- */
.fw { display: grid; justify-items: center; gap: 16px; }
.fw-stage { position: relative; container-type: inline-size; height: clamp(200px, calc(100svh - 80px - 2 * var(--pad) - 280px), 620px); aspect-ratio: 16 / 9; max-width: 100%; overflow: hidden; border-radius: 4px; touch-action: none;
  background: radial-gradient(ellipse 45% 55% at 50% 0%, rgba(255, 236, 200, .55), transparent 70%), linear-gradient(180deg, #d9c7ac 0%, #cbb698 78%, #8a6a4c 78.4%, #6f5238 100%); box-shadow: 0 30px 60px -40px rgba(58, 13, 19, .5); }
.fw-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fw-frame { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); font-size: calc(var(--w) * .1cqw); cursor: grab; }
.fw-frame:active { cursor: grabbing; }
.fw-frame:focus-visible { outline: 2px dashed var(--gold); outline-offset: 6px; }
.fw-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }
.fw-upload { position: relative; overflow: hidden; cursor: pointer; }
.fw-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.fw-upload:focus-within { outline: 2px solid var(--wine-700); outline-offset: 3px; }
.fw-size { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--wine-800); }
.fw-size input { width: 160px; accent-color: var(--wine-700); }
.fw-hint { width: 100%; text-align: center; font-size: 12px; color: var(--ink-soft); }

/* ---------- 7. Made to stay beautiful ---------- */
.fr-points[role="list"] { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 1100px; margin: 0 auto; }
.fr-points li { padding: 8px clamp(16px, 2vw, 32px); text-align: center; }
.fr-points li + li { border-left: 1px solid rgba(245, 234, 214, .14); }
.fr-points svg { width: 44px; height: 44px; fill: none; stroke: var(--gold-soft); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.fr-points h3 { margin-top: 16px; font-family: var(--display); font-weight: 400; font-size: clamp(17px, 1.4vw, 20px); color: var(--on-dark); }
.fr-points p { margin-top: 6px; font-size: 13px; line-height: 1.6; color: rgba(245, 234, 214, .75); }

/* ---------- 8. Made for their home: four tall photos of pieces in real places, a short caption under each ---------- */
.fr-home > .container { max-width: 1440px; }
.fr-places[role="list"] { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.fr-place figure { margin: 0; overflow: hidden; border-radius: 4px; height: clamp(260px, calc(100svh - 80px - 2 * var(--pad) - 210px), 560px); box-shadow: 0 30px 50px -40px rgba(58, 13, 19, .6); }
.fr-place img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.fr-place:hover img { transform: scale(1.04); }
.fr-place p { margin-top: 14px; font-size: 11px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-ink); }

/* ---------- 4b. Pieces we've made: masonry gallery of finished pieces on maroon, click to view large ---------- */
.fr-gallery { padding: clamp(56px, 7vw, 104px) 0; background: var(--maroon-bg); color: var(--on-dark); }
.fr-gallery > .container { max-width: 1440px; }
.fg-grid[role="list"] { columns: 4; column-gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 1199px) { .fg-grid[role="list"] { columns: 3; } }
.fg-item { break-inside: avoid; margin-bottom: clamp(18px, 2.2vw, 30px); }
.fg-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; border-radius: 4px; box-shadow: 0 30px 50px -36px rgba(0, 0, 0, .8); }
.fg-open img { display: block; width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.fg-open:hover img { transform: scale(1.04); }
.fg-open:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.fg-item p { margin-top: 12px; font-family: var(--display); font-style: italic; font-size: 15px; color: rgba(245, 234, 214, .82); }
.fg-box { max-width: min(92vw, 1100px); max-height: 92vh; padding: 0; border: 0; border-radius: 4px; background: var(--wine-950); color: var(--on-dark); overflow: hidden; }
.fg-box::backdrop { background: rgba(20, 4, 6, .82); }
.fg-box img { display: block; max-width: min(92vw, 1100px); max-height: calc(92vh - 56px); width: auto; height: auto; margin: 0 auto; }
.fg-cap { padding: 14px 20px; font-family: var(--display); font-style: italic; font-size: 16px; text-align: center; }
.fg-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(20, 4, 6, .6); color: #f6ecdc; font-size: 26px; line-height: 1; cursor: pointer; }
.fg-close:focus-visible { outline: 2px solid var(--gold); }
@media (max-width: 899px) { .fg-grid[role="list"] { columns: 2; } }
@media (max-width: 520px) { .fg-grid[role="list"] { columns: 1; } }

/* ---------- 4a. The hands behind every piece: Rolls-Royce "Masters of craft" style on deep wine.
   Heading, two facts, then a carousel of close-ups: the centre slide large, its neighbours dimmed and peeking at the sides. ---------- */
.fr-hands { --pad: 64px; padding: var(--pad) 0; background: var(--wine-950); color: var(--on-dark); overflow: hidden; }
.fr-hands .fr-head { margin-bottom: clamp(14px, 2svh, 24px); }
.fr-hands .fr-sub { max-width: 64ch; }
.fh2-facts[role="list"] { display: flex; justify-content: center; gap: clamp(28px, 5vw, 72px); margin-bottom: clamp(20px, 3.4svh, 40px); }
.fh2-facts li { display: flex; align-items: baseline; gap: 10px; }
.fh2-facts strong { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; color: var(--gold-soft); }
.fh2-facts span { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: rgba(245, 234, 214, .78); }
/* slide width: as wide as the screen height allows (whole section on one screen), never wider than 700px */
.fh2 { --sw: min(64vw, 700px, calc((100svh - 80px - 2 * var(--pad) - 330px) * 1.42)); --gap: clamp(16px, 2.4vw, 36px); }
.fh2-view { overflow: hidden; }
.fh2-track[role="list"] { display: flex; gap: var(--gap); padding-left: calc(50% - var(--sw) / 2); transition: transform .8s var(--ease); touch-action: pan-y; }
.fh2-slide { flex: 0 0 var(--sw); opacity: .35; transition: opacity .8s var(--ease); cursor: pointer; }
.fh2-slide.is-on { opacity: 1; cursor: default; }
.fh2-slide figure { margin: 0; aspect-ratio: 1.42; overflow: hidden; border-radius: 4px; box-shadow: 0 40px 60px -40px rgba(0, 0, 0, .9); }
.fh2-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s var(--ease); }
.fh2-slide.is-on img { transform: none; }
.fh2-cap { margin-top: 16px; text-align: center; font-family: var(--display); font-weight: 400; font-size: clamp(15px, 1.2vw, 18px); letter-spacing: .14em; text-transform: uppercase; color: #f6ecdc; opacity: 0; transition: opacity .6s var(--ease); }
.fh2-slide.is-on .fh2-cap { opacity: 1; }
.fh2-ctrl { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: clamp(14px, 2.4svh, 26px); }
.fh2-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(245, 234, 214, .5); border-radius: 50%; background: none; color: #f6ecdc; font-size: 16px; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.fh2-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--wine-900); }
.fh2-dots { display: flex; gap: 4px; }
.fh2-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.fh2-dots button::after { content: ""; position: absolute; left: 6px; right: 6px; top: 13px; height: 2px; background: rgba(245, 234, 214, .3); transition: background .3s var(--ease); }
.fh2-dots button[aria-current="true"]::after { background: var(--gold-soft); }
.fh2-arrow:focus-visible, .fh2-dots button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (min-width: 900px) { .fr-hands { --pad: clamp(32px, 6svh, 72px); } }
@media (min-width: 900px) and (max-height: 760px) { .fr-hands .fr-sub { max-width: 80ch; } }
@media (max-width: 899px) {
  .fh2 { --sw: 80vw; }
  .fh2-facts[role="list"] { gap: 24px; }
  .fh2-facts li { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
  .fh2-facts span { font-size: 10px; letter-spacing: .18em; }
}
@media (prefers-reduced-motion: reduce) { .fh2-track[role="list"], .fh2-slide, .fh2-slide img { transition: none; } }

/* ---------- 4b. Pieces we've made: a short maroon intro, then one full-screen panel per piece (Rolls-Royce Coachbuild style).
   Name in spaced caps top-left, one line, an optional round-arrow link; a soft shade on the left keeps the text readable. ---------- */
.fr-gallery-head { padding: clamp(64px, 8vw, 112px) 0 clamp(40px, 5vw, 64px); background: var(--maroon-bg); color: var(--on-dark); }
.fr-gallery-head .fr-head { margin-bottom: 0; }
.fr-gpanel .making-shade { background: linear-gradient(90deg, rgba(18, 4, 6, .78) 0%, rgba(18, 4, 6, .42) 34%, rgba(18, 4, 6, 0) 58%), linear-gradient(180deg, rgba(18, 4, 6, .35), transparent 30%); }
.fr-gpanel .making-shade::after { display: none; }
.fr-gpanel { align-items: flex-start; }
.fr-gpanel > .making-content { width: 100%; text-align: left; padding-top: calc(var(--header-h) + clamp(32px, 9svh, 110px)); }
.fr-gp-text { max-width: 440px; }
.fr-gp-name { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; letter-spacing: .12em; text-transform: uppercase; color: #f6ecdc; text-shadow: 0 2px 18px rgba(20, 4, 6, .6); }
.fr-gp-line { margin-top: 16px; max-width: 34ch; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.7; color: rgba(245, 234, 214, .88); }
.fr-gp-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #f6ecdc; text-decoration: none; }
.fr-gp-ring { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(245, 234, 214, .6); border-radius: 50%; font-size: 15px; letter-spacing: 0; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.fr-gp-link:hover .fr-gp-ring { background: var(--gold); border-color: var(--gold); color: var(--wine-900); }
.fr-gp-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.fr-gpanel .bg-video { object-position: 72% 50%; }
@media (max-width: 899px) {
  .fr-gpanel .bg-video { object-position: 78% 50%; }
  .fr-gpanel .making-shade { background: linear-gradient(180deg, rgba(18, 4, 6, .8) 0%, rgba(18, 4, 6, .35) 40%, rgba(18, 4, 6, 0) 60%); }
}

/* hands heading, Rolls-Royce "Masters of craft" style: large light spaced caps, one calm centred paragraph with generous leading */
.fh2-head { max-width: 900px; margin: 0 auto clamp(56px, 9svh, 104px); text-align: center; }
.fh2-head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.6vw, 56px); line-height: 1.12; letter-spacing: .08em; text-transform: uppercase; color: #f6ecdc; text-wrap: balance; }
.fh2-head p { margin-top: clamp(28px, 4svh, 44px); font-size: clamp(16px, 1.25vw, 19px); line-height: 2; color: rgba(245, 234, 214, .82); text-wrap: pretty; }
@media (max-width: 899px) { .fh2-head { margin-bottom: 44px; } .fh2-head p { line-height: 1.85; } }

/* ---------- 4b. How you keep it: exact copy of the homepage section (home.css .keep). Same scene height as the homepage (home-v2.css .home-v2 .keep-hero). ---------- */
@media (min-width: 900px) { .keep.fr-pieces .keep-hero { min-height: clamp(560px, 56vw, 900px); } }

/* ---------- 6b. The hands behind every piece: Rolls-Royce Coachbuild quote style on maroon ---------- */
.fr-craft { max-width: 820px; margin: 0 auto; text-align: center; }
.fr-craft-label { font-family: var(--sans); font-weight: 600; font-size: 11px; letter-spacing: .36em; text-transform: uppercase; color: var(--gold-soft); }
.fr-craft-label::after { content: ""; display: block; width: 56px; height: 1px; margin: 18px auto 0; background: var(--gold); opacity: .6; }
.fr-craft blockquote { margin: clamp(36px, 5svh, 56px) 0 0; }
.fr-craft blockquote p { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.42; color: #f6ecdc; text-wrap: balance; }
.fr-craft figcaption { display: grid; gap: 8px; margin-top: clamp(32px, 4.4svh, 48px); }
.fr-craft-name { font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-soft); }
.fr-craft-role { font-size: 10px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: rgba(245, 234, 214, .6); }

/* ---------- 5. One piece, every home: copy + room buttons left, the room photo right (crossfades) ---------- */
.fr-rooms { --pad: 64px; padding: var(--pad) 0; background: var(--cream); color: var(--ink); }
.fr-rooms > .container { max-width: 1360px; }
.fr-rooms-row { display: grid; grid-template-columns: minmax(280px, .7fr) 1.3fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.fr-rooms-copy .fr-sub { margin-left: 0; }
.fh-tabs { display: grid; gap: 4px; margin-top: clamp(22px, 3.4svh, 36px); max-width: 300px; }
.fh-tabs button { display: flex; align-items: center; gap: 14px; padding: 12px 0; border: 0; border-top: 1px solid var(--line-light); background: none; text-align: left; font: 400 clamp(18px, 1.5vw, 22px)/1.2 var(--display); color: var(--ink-soft); cursor: pointer; transition: color .3s var(--ease); }
.fh-tabs button:last-child { border-bottom: 1px solid var(--line-light); }
.fh-tabs button::before { content: ""; width: 0; height: 1px; background: var(--gold-ink); transition: width .4s var(--ease); }
.fh-tabs button[aria-selected="true"] { color: var(--wine-800); font-style: italic; }
.fh-tabs button[aria-selected="true"]::before { width: 28px; }
.fh-tabs button:hover { color: var(--wine-800); }
.fh-tabs button:focus-visible { outline: 2px solid var(--wine-700); outline-offset: 2px; }
.fh-stage { position: relative; height: clamp(320px, calc(100svh - 80px - 2 * var(--pad)), 720px); }
.fh-panel { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 4px; box-shadow: 0 34px 60px -40px rgba(58, 13, 19, .6); animation: foIn .6s var(--ease) both; }
.fh-panel[hidden] { display: none; }
.fh-panel img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
#fh-p1 img { object-position: 50% 40%; }

/* ---------- 7. Seen with pride, every day ---------- */
.fr-pride { --pad: 64px; padding: var(--pad) 0; background: var(--cream); color: var(--ink); }
.fr-pride-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.fr-pride-side { display: grid; gap: clamp(20px, 3svh, 36px); justify-items: start; }
.fr-pride-row figure { margin: 0; overflow: hidden; border-radius: 4px; }
.fr-pride-row img { width: 100%; height: 100%; object-fit: cover; }
.fr-pride-a { height: clamp(300px, calc(100svh - 80px - 2 * var(--pad)), 600px); aspect-ratio: 1128 / 1600; }
.fr-pride-b { height: clamp(160px, calc(100svh - 80px - 2 * var(--pad) - 240px), 400px); aspect-ratio: 1059 / 929; }
.fr-pride-copy { max-width: 520px; }
@media (min-width: 900px) { .fr-rooms, .fr-pride { --pad: clamp(32px, 6svh, 72px); } }
@media (max-width: 899px) {
  .fr-rooms-row, .fr-pride-row { grid-template-columns: 1fr; }
  .fh-tabs { grid-template-columns: 1fr 1fr; max-width: none; }
  .fh-tabs button { font-size: 17px; }
  .fh-stage { height: auto; aspect-ratio: 4 / 5; }
  .fr-pride-a, .fr-pride-b { height: auto; width: 100%; }
  .fr-pride-side { justify-items: stretch; }
}

/* ---------- 7. Seen with pride: 3D cover-flow (user reference video). Five photos visible, side photos turned inwards (outer edge further away)
   with small gaps between them; the backdrop is the centre photo, blurred and darkened, crossfading as the row moves.
   js/framing.js places each card from its distance to the centre. ---------- */
.fr-pride.is-flow { position: relative; overflow: hidden; background: var(--wine-950); color: var(--on-dark); isolation: isolate; }
.fp-bg { position: absolute; inset: 0; z-index: -1; }
.fp-bg img { position: absolute; inset: -60px; width: calc(100% + 120px); height: calc(100% + 120px); object-fit: cover; filter: blur(38px) brightness(.55) saturate(1.15); opacity: 0; transition: opacity 1.2s var(--ease); }
.fp-bg img.is-on { opacity: 1; }
.fp-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 4, 6, .55), rgba(20, 4, 6, .15) 40%, rgba(20, 4, 6, .5)); }
.fp-bg img { animation: fpDrift 26s ease-in-out infinite alternate; }
@keyframes fpDrift { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); } }
/* soft mist drifting over the blurred backdrop (as in the reference) */
.fp-mist { position: absolute; inset: -20%; z-index: 1; pointer-events: none; opacity: .5; mix-blend-mode: screen;
  background: radial-gradient(38% 30% at 20% 70%, rgba(255, 244, 230, .16), transparent 70%), radial-gradient(34% 26% at 75% 30%, rgba(255, 244, 230, .12), transparent 70%), radial-gradient(30% 24% at 55% 85%, rgba(255, 244, 230, .1), transparent 70%);
  animation: fpMist 32s ease-in-out infinite alternate; }
@keyframes fpMist { from { transform: translate3d(-4%, 2%, 0) scale(1); } to { transform: translate3d(5%, -3%, 0) scale(1.12); } }
.fp { --cw: clamp(230px, 21vw, 340px); position: relative; }
.fp-track[role="list"] { position: relative; height: calc(var(--cw) * 1.42); perspective: 1300px; perspective-origin: 50% 50%; touch-action: pan-y; }
.fp-track.is-breath { animation: fpBreath .9s cubic-bezier(.65, 0, .35, 1); }
@keyframes fpBreath { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.035); } }
.fp-card { position: absolute; left: 50%; top: 0; width: var(--cw); height: 100%; margin-left: calc(var(--cw) / -2); overflow: hidden; border-radius: 3px; background: var(--wine-900);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .8); cursor: pointer; will-change: transform, opacity; transform-origin: 50% 50%;
  transition: transform .9s cubic-bezier(.65, 0, .35, 1), opacity .7s var(--ease), filter .9s var(--ease), rotate .6s cubic-bezier(.22, 1, .36, 1); }
/* hover tilt (reference): the centre photo leans towards the cursor, then eases back flat */
.fp-card.is-on { rotate: var(--tilt, 0 1 0 0deg); }
.fp-card img { width: 100%; height: 100%; object-fit: cover; }
.fp-card.is-on { cursor: default; }
/* entrance: the photos grow into place from the centre outwards the first time the section is seen */
.fp:not(.is-in) .fp-card { opacity: 0 !important; transition: none; }
/* arrows: thin chevrons at the far edges; on hover a white disc with a dark chevron */
.fp-arrow { position: absolute; top: calc(var(--cw) * .71); z-index: 20; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), transform .35s var(--ease); }
.fp-arrow svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.fp-arrow.is-prev { left: max(12px, calc((100vw - 1440px) / 2 + 24px)); }
.fp-arrow.is-next { right: max(12px, calc((100vw - 1440px) / 2 + 24px)); }
.fp-arrow:hover, .fp-arrow:focus-visible { background: #fff; color: var(--wine-900); }
.fp-arrow:active { transform: scale(.94); }
.fp-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@media (max-width: 899px) { .fp { --cw: 52vw; } .fp-arrow { width: 44px; height: 44px; margin-top: -22px; } .fp-arrow svg { width: 22px; height: 22px; } }
@media (prefers-reduced-motion: reduce) { .fp-card, .fp-bg img { transition: none; } .fp-bg img, .fp-mist, .fp-track.is-breath { animation: none; } }

/* ---------- 7b. Made to stay beautiful (user reference): wide photo, piece on the right, fading into deep maroon on the left where the text sits;
   four gold line icons with fine dividers ---------- */
.fr-forever { --pad: 96px; padding: var(--pad) 0; background: var(--maroon-bg); color: var(--on-dark); }
.fr-forever-in { display: grid; grid-template-columns: 1fr .9fr; gap: clamp(48px, 7vw, 120px); align-items: center; max-width: 1280px; }
.fr-forever-copy { max-width: 560px; }
.fr-forever-img { margin: 0; overflow: hidden; border-radius: 4px; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .8); }
.fr-forever-img img { width: 100%; aspect-ratio: 1192 / 1280; object-fit: cover; transition: transform 1.4s var(--ease); }
.fr-forever-img:hover img { transform: scale(1.03); }
.fr-forever-label { display: flex; align-items: center; gap: 18px; font-size: 11px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-soft); }
.fr-forever-label::after { content: ""; width: 80px; height: 1px; background: var(--gold); opacity: .6; }
.fr-forever-title { margin-top: 26px; font-family: var(--display); font-weight: 400; font-size: clamp(46px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -.01em; color: #f6ecdc; }
.fr-forever-title em { display: block; font-style: italic; color: var(--gold-soft); }
.fr-forever-text { margin-top: 28px; max-width: 42ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.7; color: rgba(245, 234, 214, .88); }
.fr-forever-pts[role="list"] { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; margin-top: clamp(40px, 6svh, 60px); }
.fr-forever-pts li { display: grid; gap: 12px; padding: 0 clamp(16px, 1.8vw, 28px); border-left: 1px solid rgba(245, 234, 214, .2); }
.fr-forever-pts li:first-child { padding-left: 0; border-left: 0; }
.fr-forever-pts svg { width: 32px; height: 32px; fill: none; stroke: var(--gold-soft); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.fr-forever-pts span { font-size: 13px; line-height: 1.45; color: rgba(245, 234, 214, .85); }
@media (min-width: 900px) { .fr-forever { --pad: clamp(112px, 17svh, 200px); } }
@media (max-width: 899px) {
  .fr-forever { --pad: 88px; }
  .fr-forever-in { grid-template-columns: 1fr; }
  .fr-forever-pts[role="list"] { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .fr-forever-pts li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- 8. Closing: one calm next step on cream ---------- */
.fr-close { --pad: 96px; padding: var(--pad) 0; background: var(--cream); color: var(--ink); text-align: center; }
.fr-close-in { max-width: 720px; margin: 0 auto; }
.fr-close-orn { position: relative; display: block; width: 140px; height: 9px; margin: 0 auto clamp(28px, 4svh, 40px);
  background: linear-gradient(90deg, rgba(158, 122, 58, .7), rgba(158, 122, 58, .7)) left center / 52px 1px no-repeat, linear-gradient(90deg, rgba(158, 122, 58, .7), rgba(158, 122, 58, .7)) right center / 52px 1px no-repeat; }
.fr-close-orn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); }
.fr-close .fr-title { font-size: clamp(36px, 4.2vw, 64px); }
.fr-close .fr-sub { margin-top: 20px; font-size: clamp(16px, 1.25vw, 19px); }
.fr-close-btn { margin-top: clamp(32px, 4.4svh, 48px); letter-spacing: .2em; }
@media (min-width: 900px) { .fr-close { --pad: clamp(120px, 20svh, 220px); } }

/* ---------- 9. Explore our collections ---------- */
.fr-collect-row { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.fr-collect-img { margin: 0; height: clamp(320px, calc(100svh - 80px - 2 * var(--pad)), 620px); aspect-ratio: 1067 / 1600; overflow: hidden; border-radius: 4px; }
.fr-collect-img img { width: 100%; height: 100%; object-fit: cover; }
.fr-collect-copy { max-width: 460px; }
.fr-collect-copy .fr-sub { margin-left: 0; }
.fr-collect-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.fr-link.light { color: var(--gold-soft); }
.fr-link.light:hover { color: #f6ecdc; }
.fr-collect-links[role="list"] { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.fr-collect-links a { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); text-decoration: none; }
.fr-collect-links a:hover { text-decoration: underline; }

/* ---------- desktop: space scales with screen height ---------- */
@media (min-width: 900px) {
  .fr-stories, .fr-artist, .fr-builder, .fr-wall, .fr-last, .fr-home, .fr-collect { --pad: clamp(32px, 6svh, 72px); }
}

/* ---------- short laptop screens (e.g. 1366 x 768 with browser bars): tighter type and controls so each section still fits ---------- */
@media (min-width: 900px) and (max-height: 760px) {
  .fr-hero-scroll { display: none; }
  .fr-hero-title { font-size: clamp(48px, 6vw, 84px); }
  .fr-title { font-size: clamp(28px, 3vw, 42px); }
  .fr-sub { margin-top: 8px; font-size: 14px; }
  .fr-head { margin-bottom: 18px; }
  .fb-controls { gap: 12px; }
  .fb-group legend { margin-bottom: 6px; }
  .fb-opt { min-height: 32px; padding: 4px 10px; }
  .fb-mould-chip { width: 38px; height: 20px; }
  .fb-fam + .fb-fam { margin-top: 4px; }
  .fb-swatch { width: 26px; height: 26px; }
  .fb-input input { height: 38px; }
  .fb-opts.is-letter { margin-top: 6px; }
  .fb-opts.is-letter .fb-opt { min-height: 28px; }
  .fw { gap: 10px; }
}

/* ---------- tablet / phone ---------- */
@media (max-width: 899px) {
  .fr-stories, .fr-artist, .fr-builder, .fr-wall, .fr-last, .fr-home, .fr-collect { --pad: 56px; }
  .fr-hero-img { object-position: 74% 50%; }
  .fr-hero-shade { background: linear-gradient(0deg, rgba(20, 4, 6, .88) 0%, rgba(20, 4, 6, .62) 55%, rgba(20, 4, 6, .35) 100%); }
  .fr-hero { align-items: flex-end; padding-bottom: 96px; }
  .fr-hero-scroll { display: none; }
  .fs-grid[role="list"] { grid-template-columns: 1fr; row-gap: 36px; }
  .fs-card { border-right: 1px solid rgba(245, 234, 214, .16); }
  .fs-card figure { height: auto; aspect-ratio: 1; }
  .fr-artist-row, .fr-home-row, .fr-collect-row, .fb { grid-template-columns: 1fr; }
  .fr-work { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-template-areas: "b b" "a c" "a d"; }
  .fr-work-b { aspect-ratio: 16 / 10; }
  .fr-work-c, .fr-work-d { aspect-ratio: 1; }
  .fb-stage .fb-frame { font-size: min(30px, 7.4vw); }
  .fw-stage { height: auto; width: 100%; aspect-ratio: 4 / 3; }
  .fr-points[role="list"] { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .fr-points li:nth-child(3) { border-left: 0; }
  .fr-places[role="list"] { grid-template-columns: 1fr 1fr; }
  .fr-place figure { height: auto; aspect-ratio: 3 / 4; }
  .fr-collect-img { height: auto; width: 100%; }
  .fr-home-copy { max-width: none; }
  .fr-home-side { justify-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  .fb-inner { transition: none; }
}

/* ---------- Generous rhythm (replaces the earlier "fit one screen" rule, user request 2026-10-04).
   Like Rolls-Royce: big space above and below each section, more air under headings, and images sized by their
   own proportions instead of being shrunk to fit the screen height. Full-screen video and gallery panels are unchanged. ---------- */
@media (min-width: 900px) {
  .fr-stories, .fr-opts, .fr-hands, .fr-rooms, .fr-pride, .fr-collect { --pad: clamp(112px, 17svh, 200px); }
  .fr-last { --pad: clamp(140px, 24svh, 260px); }
  .fr-gallery-head { padding: clamp(112px, 17svh, 200px) 0 clamp(72px, 10svh, 120px); }
  .fr-head, .fs-head { margin-bottom: clamp(56px, 9svh, 104px); }
  .fr-sub { margin-top: 20px; }
  .fr-title { font-size: clamp(36px, 3.8vw, 58px); }
  .fs-card figure { height: auto; aspect-ratio: 4 / 5; }
  .fs-card h3 { margin-top: 28px; }
  .fo-tabs { margin-bottom: clamp(40px, 6svh, 64px); }
  .fo-grid.is-mould, .fo-grid.is-fabric { max-width: 1200px; }
  .is-plates + .fo-group { margin-top: 56px; }
  .fr-hands .fr-head { margin-bottom: 36px; }
  .fh2-facts[role="list"] { margin-bottom: clamp(64px, 10svh, 112px); }
  .fh2 { --sw: min(60vw, 780px); --gap: clamp(24px, 3vw, 48px); }
  .fh2-cap { margin-top: 24px; }
  .fh2-ctrl { margin-top: 40px; }
  .fh-tabs { margin-top: 48px; }
  .fh-stage { height: clamp(460px, 78svh, 820px); }
  .fr-pride-side { gap: 48px; }
  .fr-pride-a { height: clamp(480px, 80svh, 820px); }
  .fr-pride-b { height: clamp(260px, 44svh, 480px); }
  .fr-collect-img { height: clamp(480px, 80svh, 820px); }
}
@media (max-width: 899px) {
  .fr-stories, .fr-opts, .fr-hands, .fr-rooms, .fr-pride, .fr-collect { --pad: 88px; }
  .fr-last { --pad: 112px; }
  .fr-gallery-head { padding: 88px 0 56px; }
  .fr-head, .fs-head { margin-bottom: 40px; }
  .fh2-facts[role="list"] { margin-bottom: 48px; }
}
