/* Fiori Faber — component styles. Tokens come from theme.json presets.
   One committed look: night-ink showcase sections where the gold glows and
   ivory reading sections, the same in any viewer theme. */

:root {
	--ff-night: var(--wp--preset--color--night);
	--ff-ink: var(--wp--preset--color--ink);
	--ff-ivory: var(--wp--preset--color--ivory);
	--ff-paper: var(--wp--preset--color--paper);
	--ff-gold: var(--wp--preset--color--gold);
	--ff-gold-lt: var(--wp--preset--color--gold-light);
	--ff-on-night: var(--wp--preset--color--on-night);
	--ff-on-night-dim: var(--wp--preset--color--on-night-dim);
	--ff-on-ivory-dim: var(--wp--preset--color--on-ivory-dim);
	--ff-rule-night: rgba(236, 230, 218, .14);
	--ff-rule-ivory: rgba(30, 35, 32, .14);
	--ff-display: var(--wp--preset--font-family--display);
	--ff-body: var(--wp--preset--font-family--body);
	--ff-gutter: clamp(16px, 4vw, 56px);
	--ff-ease: cubic-bezier(.2, .7, .1, 1);
	--ff-admin: var(--wp-admin--admin-bar--height, 0px);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; }
:focus-visible { outline: 1px solid var(--ff-gold-lt); outline-offset: 4px; }
.ff-main { margin: 0; }
.ff-main > .wp-block-post-content:not(.ff-prose) > * { margin-block: 0; }

/* ---------------------------------------------------------------- shared */
.ff-wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--ff-gutter); box-sizing: border-box; width: 100%; }
.ff-sec { padding-block: var(--wp--preset--spacing--60); }
.ff-label { font: 400 12px/1.3 var(--ff-body); letter-spacing: .22em; text-transform: uppercase; color: var(--ff-on-night-dim); }
.ff-dim { color: var(--ff-on-night-dim); }
.ff-display { font-family: var(--ff-display); font-weight: 300; line-height: 1.15; }
.ff-num { font: 300 italic 22px/1 var(--ff-display); color: var(--ff-gold-lt); }
h1 em, h2 em, h3 em, .ff-display em { font-style: italic; color: var(--ff-gold-lt); }
h1, h2, h3 { text-wrap: balance; }
.ff-head { display: grid; gap: 18px; max-width: 780px; margin-bottom: clamp(40px, 6vw, 80px); }
.ff-head > * { margin: 0; }
.ff-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ff-split > * { margin-block: 0; }
.ff-split h2 { font-size: clamp(40px, 5vw, 76px); margin-block: 18px 0; }

/* ivory sections and ivory pages */
.is-ivory { background: var(--ff-ivory); color: var(--wp--preset--color--ink); }
.is-ivory .ff-label, .is-ivory .ff-dim { color: var(--ff-on-ivory-dim); }
.is-ivory h1 em, .is-ivory h2 em, .is-ivory h3 em, .is-ivory .ff-display em, .is-ivory .ff-num { color: var(--ff-gold); }
.is-ivory .wp-block-button__link { background: var(--ff-ink); border-color: var(--ff-ink); color: var(--ff-ivory); }
.is-ivory .wp-block-button__link:hover { background: transparent; color: var(--ff-ink); }

/* buttons */
.wp-block-button__link { transition: background .4s var(--ff-ease), color .4s var(--ff-ease), border-color .4s var(--ff-ease); }
.wp-block-button__link:hover { background: transparent; color: var(--ff-gold-lt); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--ff-on-night); border-color: var(--ff-rule-night); padding: 15px 26px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--ff-gold-lt); color: var(--ff-gold-lt); }
.wp-block-buttons { gap: 12px; }

/* ---------------------------------------------------------------- header */
.ff-header-part { position: sticky; top: var(--ff-admin); z-index: 50; }
.ff-front .ff-header-part { position: fixed; left: 0; right: 0; }
.ff-header { position: relative; isolation: isolate; border-bottom: 1px solid transparent; transition: border-color .5s var(--ff-ease); }
/* The frosted background lives on a pseudo-element: a backdrop-filter on the
   header itself would make it the containing block for the fixed mobile menu,
   trapping the full-screen overlay inside the 80px header strip. */
.ff-header::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s var(--ff-ease);
	background: rgba(11, 14, 12, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.ff-header.is-solid::before, body:not(.ff-front) .ff-header::before { opacity: 1; }
.ff-header.is-solid, body:not(.ff-front) .ff-header { border-color: var(--ff-rule-night); }
.ff-header__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 12px; }
.ff-header__row > * { margin: 0 !important; }
.ff-nav { font: 400 12px/1 var(--ff-body); letter-spacing: .2em; text-transform: uppercase; gap: 28px; }
.ff-nav .wp-block-navigation-item__content { color: var(--ff-on-night-dim); text-decoration: none; transition: color .3s; }
.ff-nav .wp-block-navigation-item__content:hover { color: var(--ff-on-night); }
/* extra links and the booking button live only in the mobile menu */
.ff-nav .ff-nav-extra, .ff-nav .ff-nav-cta { display: none; }

/* mobile menu: menu button with a 44px tap target, full-screen night overlay */
.ff-nav .wp-block-navigation__responsive-container-open { color: var(--ff-on-night); padding: 10px; margin: -10px; }
.ff-nav .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; }
.ff-header .ff-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--ff-night) !important; color: var(--ff-on-night) !important;
	padding: calc(env(safe-area-inset-top, 0px) + 20px) var(--ff-gutter) calc(env(safe-area-inset-bottom, 0px) + 32px);
	animation: ff-menu-in .35s var(--ff-ease);
}
@keyframes ff-menu-in { from { opacity: 0; } to { opacity: 1; } }
.ff-header .ff-nav .is-menu-open .wp-block-navigation__responsive-container-close { color: var(--ff-on-night); padding: 10px; top: calc(env(safe-area-inset-top, 0px) + 14px); right: calc(var(--ff-gutter) - 10px); }
.ff-header .ff-nav .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 28px; height: 28px; }
.ff-header .ff-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 64px; align-items: stretch; }
.ff-header .ff-nav .is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; align-items: stretch; }
.ff-header .ff-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--ff-rule-night); }
.ff-header .ff-nav .is-menu-open .wp-block-navigation-item__content {
	display: block; width: 100%; box-sizing: border-box; padding: 16px 0; color: var(--ff-on-night);
	font: 300 38px/1.1 var(--ff-display); letter-spacing: 0; text-transform: none;
}
.ff-header .ff-nav .is-menu-open .wp-block-navigation-item__content:focus-visible { outline-offset: 2px; }
.ff-header .ff-nav .is-menu-open .ff-nav-extra { display: block; }
.ff-header .ff-nav .is-menu-open .ff-nav-extra .wp-block-navigation-item__content { font: 400 13px/1 var(--ff-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ff-on-night-dim); padding: 18px 0; }
.ff-header .ff-nav .is-menu-open .ff-nav-cta { display: block; border: 0; margin-top: 32px; }
.ff-header .ff-nav .is-menu-open .ff-nav-cta .wp-block-navigation-item__content {
	background: var(--ff-gold-lt); color: var(--ff-night); text-align: center;
	font: 400 13px/1 var(--ff-body); letter-spacing: .18em; text-transform: uppercase; padding: 20px 16px;
}
.ff-brand { display: block; color: var(--ff-on-night); line-height: 0; }
.ff-wordmark { width: auto; display: block; }
.ff-header .ff-wordmark { height: 34px; }
.ff-header__cta { justify-content: flex-end; }
.ff-header__cta .wp-block-button__link { padding: 12px 18px; font-size: 11px; }

/* ---------------------------------------------------------------- hero */
.ff-hero { position: relative; overflow: hidden; height: clamp(600px, 56.25vw, 980px); background: var(--ff-night); margin: 0; }
.ff-hero__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.ff-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(ellipse 70% 60% at 50% 48%, transparent 40%, rgba(11, 14, 12, .55) 100%),
		linear-gradient(to bottom, rgba(11, 14, 12, .6), transparent 22%, transparent 70%, var(--ff-night)); }
.ff-hero__copy { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: 1fr auto; padding-block: 130px 44px; }
.ff-hero__copy > * { margin: 0; }
.ff-hero__title { display: grid; grid-template-columns: 1fr minmax(180px, 24vw) 1fr; align-items: center; font-size: clamp(44px, 7vw, 108px); line-height: .98; margin: 0; }
.ff-hero__l, .ff-hero__r { white-space: nowrap; }
.ff-hero__l { grid-column: 1; text-align: right; }
.ff-hero__r { grid-column: 3; text-align: left; }
.ff-hero__foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }
.ff-hero__foot > * { margin: 0; }
.ff-hero__foot p { max-width: 50ch; color: var(--ff-on-night-dim); }
.ff-hero__caption { position: absolute; z-index: 2; right: var(--ff-gutter); top: 50%; margin: 0; writing-mode: vertical-rl; transform: translateY(-50%); }
@media (prefers-reduced-motion: no-preference) {
	.ff-hero__l, .ff-hero__r, .ff-hero__foot { opacity: 0; transform: translateY(24px); animation: ff-rise 1.4s var(--ff-ease) forwards; }
	.ff-hero__l { animation-delay: .35s; }
	.ff-hero__r { animation-delay: .6s; }
	.ff-hero__foot { animation-delay: 1.1s; }
	@keyframes ff-rise { to { opacity: 1; transform: none; } }
}

/* ---------------------------------------------------------------- intro */
.ff-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 32px; }
.ff-intro__grid > * { margin: 0; }
.ff-intro__text { font-size: clamp(30px, 3.6vw, 52px); line-height: 1.18; max-width: 26ch; }

/* ---------------------------------------------------------------- scroll story */
.ff-story { background: var(--ff-night); margin: 0; }
.ff-story__stick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); align-items: center; gap: 40px; max-width: 1240px; margin-inline: auto; padding-inline: var(--ff-gutter); padding-block: var(--wp--preset--spacing--60); }
.ff-story__stick > *, .ff-story__copy > * { margin: 0; }
.ff-story__stages { display: grid; gap: 40px; }
.ff-story__stage > * { margin: 0; }
.ff-story__stage h3 { font-size: clamp(40px, 4.6vw, 68px); margin-block: 14px 18px; }
.ff-story__stage p:not(.ff-num) { color: var(--ff-on-night-dim); max-width: 38ch; }
.ff-story__progress { display: none; }
.ff-story__img { position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; }
.ff-story__img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 62% 68% at 50% 46%, transparent 40%, var(--ff-night) 82%); }
.ff-story__img figure { position: absolute; inset: 0; margin: 0; }
.ff-story__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; transform: scale(1.5); transform-origin: 50% 40%; }
/* without script (or with reduced motion) show the finished ring */
.ff-story:not(.is-scrubbing) .ff-story__img figure:not(:last-child) { display: none; }
/* scrubbing: a tall track, a pinned stage, stacked copy and images */
.ff-story.is-scrubbing .ff-story__track { height: 300vh; }
.ff-story.is-scrubbing .ff-story__stick { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: 0; }
.ff-story.is-scrubbing .ff-story__stages { position: relative; min-height: 300px; display: block; }
.ff-story.is-scrubbing .ff-story__stage { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ff-ease), transform .7s var(--ff-ease); }
.ff-story.is-scrubbing .ff-story__stage.is-on { opacity: 1; transform: none; }
.ff-story.is-scrubbing .ff-story__img figure + figure img { opacity: 0; }
.ff-story.is-scrubbing .ff-story__progress { display: flex; gap: 10px; margin-top: 36px; }
.ff-story__progress i { height: 1px; flex: 1; background: var(--ff-rule-night); position: relative; overflow: hidden; }
.ff-story__progress b { position: absolute; inset: 0; background: var(--ff-gold-lt); transform-origin: left; transform: scaleX(0); }

/* ---------------------------------------------------------------- live session */
.ff-ticks { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.ff-ticks li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--ff-on-night-dim); }
.ff-ticks li::before { content: ""; width: 18px; height: 1px; background: var(--ff-gold-lt); margin-top: .8em; }
.ff-screen { margin: 0; border: 1px solid var(--ff-rule-night); background: var(--ff-ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.ff-screen__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--ff-rule-night); }
.ff-screen__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--ff-rule-night); }
.ff-screen__bar span { margin-left: 10px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ff-on-night-dim); }
.ff-screen__film { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* ---------------------------------------------------------------- steps */
.ff-steps__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ff-rule-ivory); }
.ff-step { padding: 32px 28px 8px 0; display: grid; gap: 12px; align-content: start; margin: 0 !important; }
.ff-step > * { margin: 0; }
.ff-step + .ff-step { padding-left: 28px; border-left: 1px solid var(--ff-rule-ivory); }
.ff-step .ff-num { font-size: 44px; }
.ff-step h3 { font-size: 26px; font-weight: 400; line-height: 1.15; }
.ff-step p:not(.ff-num):not(.ff-label) { font-size: 15px; color: var(--ff-on-ivory-dim); }
.ff-step .ff-label { color: var(--wp--preset--color--ink); }

/* ---------------------------------------------------------------- value */
.ff-value { padding-top: 0; }
.ff-value__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: end; border-top: 1px solid var(--ff-rule-ivory); padding-top: clamp(56px, 8vw, 112px); }
.ff-value__top > *, .ff-value__top > div > * { margin: 0; }
.ff-value__top h2 { font-size: clamp(44px, 6vw, 96px); margin-top: 18px; }
.ff-lead { font-size: 19px; max-width: 46ch; color: var(--ff-on-ivory-dim); }
.ff-ledger { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(48px, 7vw, 96px); border: 1px solid var(--ff-rule-ivory); }
.ff-ledger > * { margin: 0; padding: clamp(24px, 4vw, 48px); display: grid; gap: 18px; align-content: start; }
.ff-ledger > * > * { margin: 0; }
.ff-ledger > * + * { border-left: 1px solid var(--ff-rule-ivory); background: var(--ff-paper); }
.ff-ledger ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.ff-ledger li { font: 300 clamp(26px, 2.8vw, 40px)/1.2 var(--ff-display); }
.ff-ledger__paid li { color: var(--ff-on-ivory-dim); text-decoration: line-through; text-decoration-color: var(--ff-gold); text-decoration-thickness: 1px; }
.ff-ledger__ours li em { font-style: italic; color: var(--ff-gold); }
.ff-reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); margin-top: clamp(48px, 6vw, 80px); }
.ff-reasons > * { margin: 0; }
.ff-reasons h4 { font: 400 26px/1.15 var(--ff-display); margin: 0 0 10px; }
.ff-reasons p { margin: 0; font-size: 15px; color: var(--ff-on-ivory-dim); }
.ff-value__close { margin-top: clamp(56px, 7vw, 96px); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: baseline; justify-content: space-between; }
.ff-value__close > * { margin: 0; }
.ff-value__close .ff-display { font-size: clamp(30px, 3.4vw, 50px); max-width: 24ch; }

/* ---------------------------------------------------------------- rings */
.ff-rings__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.ff-piece { position: relative; overflow: hidden; background: var(--ff-ink); min-height: 340px; margin: 0 !important; }
.ff-piece.is-big { grid-row: span 2; }
.ff-piece.is-wide { grid-column: span 2; }
.ff-piece__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ff-ease); }
.ff-piece:hover .ff-piece__film { transform: scale(1.04); }
.ff-piece__meta { position: absolute; inset: auto 0 0 0; padding: 22px 24px; background: linear-gradient(to top, rgba(11, 14, 12, .92), transparent); display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: end; }
.ff-piece__meta > * { margin: 0; }
.ff-piece__meta h3 { grid-column: 1; font-size: clamp(28px, 3vw, 40px); margin-bottom: 6px; }
.ff-piece__meta p { grid-column: 1; font-size: 14px; color: var(--ff-on-night-dim); }
.ff-piece__meta .ff-piece__from { grid-column: 2; grid-row: 1 / span 2; align-self: end; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ff-gold-lt); white-space: nowrap; }
.ff-piece__link { text-decoration: none; }
.ff-piece__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ff-note { margin-top: 28px; color: var(--ff-on-night-dim); max-width: 60ch; }

/* ---------------------------------------------------------------- 3D viewer */
.ff-turn { background: radial-gradient(ellipse 60% 70% at 70% 50%, #1A201C, var(--ff-night) 70%); }
.ff-viewer model-viewer { width: 100%; height: clamp(380px, 48vw, 640px); background: transparent; --poster-color: transparent; --progress-bar-color: var(--ff-gold-lt); }
.ff-metals { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; justify-content: center; }
.ff-metals button { font: 400 12px/1 var(--ff-body); letter-spacing: .14em; text-transform: uppercase; background: none; color: var(--ff-on-night-dim); border: 1px solid var(--ff-rule-night); padding: 11px 14px 11px 34px; position: relative; cursor: pointer; }
.ff-metals button::before { content: ""; position: absolute; left: 12px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 -2px 3px rgba(0, 0, 0, .25); }
.ff-metals button[aria-pressed="true"] { border-color: var(--ff-gold-lt); color: var(--ff-on-night); }

/* ---------------------------------------------------------------- pricing */
.ff-prices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--ff-rule-ivory); }
.ff-price { padding: 34px 26px 34px 0; display: grid; gap: 10px; align-content: start; margin: 0 !important; }
.ff-price > * { margin: 0; }
.ff-price + .ff-price { padding-left: 26px; border-left: 1px solid var(--ff-rule-ivory); }
.ff-price h3 { font-size: 24px; font-weight: 400; line-height: 1.1; }
.ff-price__amt { font: 300 clamp(40px, 4vw, 56px)/1 var(--ff-display); font-variant-numeric: lining-nums tabular-nums; }
.ff-price__amt small { font: 400 12px/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ff-on-ivory-dim); margin-right: 4px; vertical-align: middle; }
.ff-price p:last-child { font-size: 14px; color: var(--ff-on-ivory-dim); }
.ff-price-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; font-size: 15px; }
.ff-price-notes > * { margin: 0; }
.ff-price-notes strong { font-weight: 500; display: block; margin-bottom: 4px; }

/* ---------------------------------------------------------------- faq */
.ff-faq { padding-top: 0; }
.ff-faq .ff-split { align-items: start; }
.ff-faq h2 { font-size: clamp(36px, 4vw, 60px); }
.ff-faq__list > * { margin: 0; }
.wp-block-details { border-bottom: 1px solid var(--ff-rule-ivory); }
.wp-block-details summary { list-style: none; cursor: pointer; padding: 22px 36px 22px 0; font: 400 24px/1.25 var(--ff-display); position: relative; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font: 300 26px/1 var(--ff-body); color: var(--ff-gold); transition: transform .4s var(--ff-ease); }
.wp-block-details[open] summary::after { transform: rotate(45deg); }
.wp-block-details p { margin: 0 0 24px; max-width: 62ch; color: var(--ff-on-ivory-dim); }

/* ---------------------------------------------------------------- final call */
.ff-final { position: relative; overflow: hidden; text-align: center; }
.ff-final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.ff-final::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 60%, rgba(11, 14, 12, .2), var(--ff-night) 75%); }
.ff-final__copy { position: relative; z-index: 1; display: grid; justify-items: center; gap: 26px; }
.ff-final__copy > * { margin: 0; }
.ff-final h2 { font-size: clamp(52px, 8vw, 132px); }
.ff-final p:not(.ff-label) { max-width: 48ch; color: var(--ff-on-night-dim); }

/* ---------------------------------------------------------------- booking */
.ff-book { padding-top: calc(var(--wp--preset--spacing--60) + 40px); }
.ff-book__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ff-book__grid > * { margin: 0; }
.ff-book__intro > * { margin: 0 0 20px; }
.ff-book__intro h1 { font-size: clamp(48px, 6vw, 92px); }
.ff-booking { min-height: 640px; border: 1px solid var(--ff-rule-night); background: var(--ff-ink); overflow: hidden; scroll-margin-top: 100px; }
#ff-cal { width: 100%; min-height: 640px; }
#ff-cal[hidden] { display: none; }
.ff-booking:has(.ff-booked:not([hidden])) { min-height: 0; }
/* "your design call is booked" */
.ff-booked { padding: clamp(28px, 5vw, 56px); display: grid; gap: 14px; align-content: start; }
.ff-booked[hidden] { display: none; }
.ff-booked > * { margin: 0; }
.ff-booked__date { font: 300 clamp(40px, 5vw, 64px)/1.05 var(--ff-display); color: var(--ff-on-night); }
.ff-booked__time { font-size: 19px; color: var(--ff-on-night); font-variant-numeric: tabular-nums; }
.ff-booked__tz { color: var(--ff-on-night-dim); font-size: 15px; }
.ff-booked__note { color: var(--ff-on-night-dim); max-width: 46ch; }
.ff-booked__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ff-booked__btn { display: inline-flex; align-items: center; padding: 14px 20px; border: 1px solid var(--ff-rule-night); color: var(--ff-on-night);
	font: 400 12px/1 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: border-color .3s, color .3s; }
.ff-booked__btn:hover { border-color: var(--ff-gold-lt); color: var(--ff-gold-lt); }
.ff-booked__btn.is-primary { background: var(--ff-gold-lt); border-color: var(--ff-gold-lt); color: var(--ff-night); }
.ff-booked__btn[hidden] { display: none; }
.ff-booked__more { margin-top: 18px; font-size: 14px; color: var(--ff-on-night-dim); }
.ff-booked__more a { color: var(--ff-on-night-dim); text-decoration: underline; text-decoration-color: var(--ff-rule-night); text-underline-offset: 3px; }
.ff-booked__more a:hover { color: var(--ff-on-night); }

/* ---------------------------------------------------------------- pages */
.ff-page__head { padding-block: clamp(120px, 14vw, 200px) 40px; }
.ff-page__head > * { margin: 0 0 20px; }
.ff-page__title { font-size: clamp(48px, 7vw, 104px); }
.ff-prose { padding-bottom: var(--wp--preset--spacing--60); }
.ff-prose > * { max-width: 760px; }
.ff-prose > * { margin-block: 0; }
.ff-prose > * + * { margin-top: 1.1em; }
.ff-prose ul { padding-left: 1.2em; }
.ff-prose li + li { margin-top: .35em; }
.ff-prose h2 { font-size: clamp(32px, 3.4vw, 48px); margin-top: 1.6em; }
.ff-prose a { text-decoration-color: var(--ff-gold); text-underline-offset: 3px; }
.ff-page.is-ivory { background: var(--ff-ivory); color: var(--wp--preset--color--ink); }

/* ---------------------------------------------------------------- footer */
.ff-footer { border-top: 1px solid var(--ff-rule-night); padding-block: 56px 40px; color: var(--ff-on-night-dim); font-size: 14px; }
.ff-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.ff-footer__grid > * { margin: 0; }
.ff-footer .ff-wordmark { height: 40px; }
.ff-footer__brand p { max-width: 32ch; margin-top: 14px; }
.ff-footer h4 { font: 400 11px/1 var(--ff-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ff-on-night); margin: 6px 0 16px; }
.ff-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ff-footer a { text-decoration: none; }
.ff-footer a:hover { color: var(--ff-on-night); }
.ff-footer__legal { grid-column: 1 / -1; border-top: 1px solid var(--ff-rule-night); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; }
.ff-footer__legal > * { margin: 0; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
	.ff-header__row { grid-template-columns: auto 1fr auto; }
	.ff-header .ff-wordmark { height: 28px; }
	/* phones and tablets: the headline reads as a sentence around the film
	   instead of sitting on top of it */
	.ff-hero { height: auto; display: flex; flex-direction: column; padding-top: 92px; padding-bottom: 20px; }
	.ff-hero__copy, .ff-hero__title { display: contents; }
	.ff-hero__l { order: 1; }
	.ff-hero__film { order: 2; position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 62svh; object-fit: cover;
		-webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 78%, transparent); }
	.ff-hero__r { order: 3; margin-top: -0.6em; position: relative; z-index: 2; }
	.ff-hero__foot { order: 4; position: relative; z-index: 2; padding-inline: var(--ff-gutter); margin-top: 28px; }
	.ff-hero__l, .ff-hero__r { font: 300 clamp(44px, 12vw, 80px)/1 var(--ff-display); text-align: center; padding-inline: var(--ff-gutter); position: relative; z-index: 2; }
	.ff-hero__l br, .ff-hero__r em br { display: none; }
	.ff-hero__caption { display: none; }
	.ff-intro__grid, .ff-split, .ff-value__top, .ff-reasons, .ff-book__grid { grid-template-columns: 1fr; }
	.ff-story__stick { grid-template-columns: 1fr; align-content: center; gap: 20px; }
	.ff-story__copy { order: 2; }
	.ff-story.is-scrubbing .ff-story__stages { min-height: 220px; }
	.ff-steps__grid, .ff-prices { grid-template-columns: 1fr 1fr; }
	.ff-step:nth-child(3), .ff-price:nth-child(3) { border-left: 0; padding-left: 0; }
	.ff-step:nth-child(n+3), .ff-price:nth-child(n+3) { border-top: 1px solid var(--ff-rule-ivory); }
	.ff-rings__grid { grid-template-columns: 1fr 1fr; }
	.ff-piece.is-big { grid-column: span 2; grid-row: auto; min-height: 440px; }
	.ff-price-notes { grid-template-columns: 1fr; }
	.ff-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.ff-header__cta .wp-block-button__link { padding: 10px 12px; font-size: 10px; letter-spacing: .12em; }
	.ff-steps__grid, .ff-prices, .ff-rings__grid, .ff-ledger { grid-template-columns: 1fr; }
	.ff-piece.is-big, .ff-piece.is-wide { grid-column: auto; }
	.ff-step + .ff-step, .ff-price + .ff-price { border-left: 0; padding-left: 0; border-top: 1px solid var(--ff-rule-ivory); }
	.ff-ledger > * + * { border-left: 0; border-top: 1px solid var(--ff-rule-ivory); }
	.ff-footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* editor: no pinned scroll track while editing */
.editor-styles-wrapper .ff-story__track { height: auto !important; }
.editor-styles-wrapper .ff-hero__l, .editor-styles-wrapper .ff-hero__r, .editor-styles-wrapper .ff-hero__foot { opacity: 1; transform: none; animation: none; }

/* ring size chart */
.ff-size-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.ff-size-table th { text-align: left; font: 400 11px/1.3 var(--ff-body); letter-spacing: .16em; text-transform: uppercase; color: var(--ff-on-ivory-dim); border-bottom: 1px solid var(--ff-rule-ivory); padding: 10px 8px; }
.ff-size-table td { padding: 8px; border-bottom: 1px solid var(--ff-rule-ivory); }
.ff-size-table td:first-child { font: 400 20px/1 var(--ff-display); }
