/* ==========================================================================
   base.css — shared component layer for every variant (a1–a5, b1–b5)

   Variants NEVER redefine these components' DOM; they set the --fy-* tokens
   and add layout rules scoped to body.fy-var-XX in shared/css/v-XX.css.
   Rule from the Pandora suite: per-variable tokens only — never a blanket
   :root override from JS.
   ========================================================================== */

/* ---------- tokens (neutral defaults; every variant overrides) ---------- */
:root {
  --fy-bg: #ffffff;
  --fy-surface: #f6f7f9;
  --fy-surface-2: #eceef2;
  --fy-text: #15181f;
  --fy-muted: #5b6270;
  --fy-border: #d9dde5;
  --fy-primary: #0b1f3a;
  --fy-primary-ink: #ffffff;
  --fy-accent: #c9a227;
  --fy-accent-ink: #15181f;
  --fy-danger: #b42318;
  --fy-ok: #0f7a4d;
  --fy-radius: 10px;
  --fy-radius-lg: 18px;
  --fy-shadow: 0 10px 30px rgba(10, 20, 40, .10);
  --fy-shadow-lg: 0 24px 60px rgba(10, 20, 40, .18);
  --fy-font-display: Georgia, 'Times New Roman', serif;
  --fy-font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fy-font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --fy-header-bg: #ffffff;
  --fy-header-text: #15181f;
  --fy-header-h: 76px;
  --fy-footer-bg: #0b1f3a;
  --fy-footer-text: #d6dbe6;
  --fy-hero-bg: #0b1f3a;
  --fy-hero-text: #ffffff;
  --fy-cta-bg: #0b1f3a;
  --fy-cta-text: #ffffff;
  --fy-max: 1200px;
  --fy-gutter: 20px;
  --fy-star: #f5b301;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--fy-bg); color: var(--fy-text);
  font-family: var(--fy-font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--fy-font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--fy-accent); outline-offset: 2px; }
.fy-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- containers / sections ---------- */
.fy-container { width: 100%; max-width: var(--fy-max); margin: 0 auto; padding: 0 var(--fy-gutter); }
.fy-container--narrow { max-width: 820px; }
.fy-container--wide { max-width: 1400px; }
.fy-section { padding: clamp(48px, 7vw, 96px) 0; }
.fy-section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.fy-section--alt { background: var(--fy-surface); }
.fy-section__head { max-width: 760px; margin-bottom: clamp(24px, 3vw, 44px); }
.fy-section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.fy-section__head p { color: var(--fy-muted); font-size: 1.08rem; }
.fy-kicker { display: inline-block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--fy-accent); margin-bottom: 10px; }
.fy-muted { color: var(--fy-muted); }
.fy-lead { font-size: 1.2rem; line-height: 1.55; }

/* ---------- grids ---------- */
.fy-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.fy-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.fy-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.fy-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ---------- buttons ---------- */
.fy-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--fy-radius); font-weight: 700; font-size: 1rem;
  line-height: 1.1; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-align: center; white-space: nowrap;
}
.fy-btn svg { width: 18px; height: 18px; flex: none; }
.fy-btn:hover { transform: translateY(-1px); }
.fy-btn:active { transform: translateY(0); }
.fy-btn--primary { background: var(--fy-primary); color: var(--fy-primary-ink); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.fy-btn--primary:hover { box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.fy-btn--accent { background: var(--fy-accent); color: var(--fy-accent-ink); box-shadow: 0 6px 18px rgba(0,0,0,.14); }
.fy-btn--ghost { background: transparent; border-color: currentColor; }
.fy-btn--light { background: #fff; color: var(--fy-primary); }
.fy-btn--lg { padding: 18px 32px; font-size: 1.08rem; }
.fy-btn--sm { padding: 10px 16px; font-size: .92rem; }
.fy-btn--block { width: 100%; }
.fy-btn[disabled] { opacity: .6; cursor: wait; transform: none; }

/* ---------- top bar + header ---------- */
.fy-topbar { background: var(--fy-primary); color: var(--fy-primary-ink); font-size: .88rem; }
.fy-topbar .fy-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.fy-topbar a { font-weight: 700; }
.fy-topbar__note { opacity: .9; }
@media (max-width: 767px) { .fy-topbar__note { display: none; } }

.fy-header { position: sticky; top: 0; z-index: 600; background: var(--fy-header-bg); color: var(--fy-header-text); transition: background .25s ease, box-shadow .25s ease; }
.fy-header.is-scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.10); }
.fy-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--fy-header-h); }
.fy-logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--fy-font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1; flex: none; }
.fy-logo__word { white-space: nowrap; }
.fy-header__inner { flex-wrap: nowrap; }
.fy-header__cta { flex: none; }
@media (max-width: 1023px) { .fy-header__phone span { display: none; } .fy-header__phone svg { width: 22px; height: 22px; } }
.fy-logo svg { height: 42px; width: auto; }
.fy-logo__word small { display: block; font-family: var(--fy-font-body); font-weight: 600; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
.fy-header__cta { display: flex; align-items: center; gap: 14px; }
.fy-header__phone { font-weight: 800; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.fy-header__phone svg { width: 18px; height: 18px; }

.fy-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.fy-nav__item { position: relative; }
.fy-nav__item > a, .fy-nav__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-weight: 600; font-size: .98rem; border-radius: 8px; }
.fy-nav__item > a:hover { background: rgba(127,127,127,.12); }
.fy-nav__toggle { padding: 10px 6px 10px 0; margin-left: -6px; }
.fy-nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.fy-nav__item.is-open .fy-nav__toggle svg { transform: rotate(180deg); }
/* hidden dropdowns use display:none (not visibility) so they never widen the document */
.fy-nav__sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--fy-bg); color: var(--fy-text); border: 1px solid var(--fy-border); border-radius: 12px; box-shadow: var(--fy-shadow-lg); display: none; z-index: 5; animation: fy-dd .18s ease; }
.fy-nav__item:last-child > .fy-nav__sub, .fy-nav__item:nth-last-child(2) > .fy-nav__sub { left: auto; right: 0; }
@keyframes fy-dd { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fy-nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .95rem; }
.fy-nav__sub a:hover { background: var(--fy-surface); }
.fy-nav__sub .fy-nav__all { font-weight: 700; color: var(--fy-accent); border-top: 1px solid var(--fy-border); margin-top: 6px; padding-top: 12px; }
@media (min-width: 1024px) {
  .fy-nav__item:hover > .fy-nav__sub, .fy-nav__item:focus-within > .fy-nav__sub, .fy-nav__item.is-open > .fy-nav__sub { display: block; }
  .fy-header .fy-burger { display: none; }
  .fy-nav__list { flex-wrap: nowrap; white-space: nowrap; }
  .fy-nav__toggle { opacity: .55; }
}
/* Desktop (>=1024): the standard header is TWO rows — logo + phone + CTA above, the full nav centered below.
   One row can never hold the logo, eight nav items, a phone number and the CTA inside a 1200px container in
   every typeface (at 1536px the nav ran under the CTA). Centered (a2) was already two-row; index (a4) fits one row. */
@media (min-width: 1024px) {
  :root { --fy-header-h: 118px; }
  .fy-header:not(.fy-header--centered):not(.fy-header--index):not(.fy-header--pill) .fy-header__inner { flex-wrap: wrap; min-height: 0; padding: 10px 0 4px; row-gap: 4px; }
  .fy-header:not(.fy-header--centered):not(.fy-header--index):not(.fy-header--pill) .fy-header__inner > .fy-nav { order: 3; flex: 1 1 100%; display: flex; justify-content: center; border-top: 1px solid rgba(127,127,127,.18); padding-top: 2px; }
  .fy-header--centered .fy-header__row1 { min-height: 60px; }
  .fy-header--index { --fy-header-h: 76px; }
  .fy-header__phone span { display: inline; }
  .fy-header--index .fy-header__phone span { display: inline; }
}
.fy-header__inner > * { min-width: 0; }
body { overflow-x: hidden; }
.fy-logo svg { height: 42px; width: auto; }
.fy-logo__word small { display: block; font-family: var(--fy-font-body); font-weight: 600; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
.fy-header__cta { display: flex; align-items: center; gap: 14px; }
.fy-header__phone { font-weight: 800; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.fy-header__phone svg { width: 18px; height: 18px; }
@media (max-width: 1023px) { .fy-header__phone span { display: none; } .fy-header__cta .fy-btn { padding: 11px 16px; font-size: .92rem; } }

.fy-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.fy-nav__item { position: relative; }
.fy-nav__item > a, .fy-nav__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-weight: 600; font-size: .98rem; border-radius: 8px; }
.fy-nav__item > a:hover { background: rgba(127,127,127,.12); }
.fy-nav__toggle { padding: 10px 6px 10px 0; margin-left: -6px; }
.fy-nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.fy-nav__item.is-open .fy-nav__toggle svg { transform: rotate(180deg); }
/* hidden dropdowns use display:none (not visibility) so they never widen the document */
.fy-nav__sub { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--fy-bg); color: var(--fy-text); border: 1px solid var(--fy-border); border-radius: 12px; box-shadow: var(--fy-shadow-lg); display: none; z-index: 5; animation: fy-dd .18s ease; }
.fy-nav__item:last-child > .fy-nav__sub, .fy-nav__item:nth-last-child(2) > .fy-nav__sub { left: auto; right: 0; }
@keyframes fy-dd { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fy-nav__sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .95rem; }
.fy-nav__sub a:hover { background: var(--fy-surface); }
.fy-nav__sub .fy-nav__all { font-weight: 700; color: var(--fy-accent); border-top: 1px solid var(--fy-border); margin-top: 6px; padding-top: 12px; }
@media (min-width: 1024px) {
  .fy-nav__item:hover > .fy-nav__sub, .fy-nav__item:focus-within > .fy-nav__sub, .fy-nav__item.is-open > .fy-nav__sub { display: block; }
  .fy-header .fy-burger { display: none; }
  .fy-nav__list { flex-wrap: nowrap; white-space: nowrap; }
  .fy-nav__toggle { opacity: .55; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .fy-nav__item > a, .fy-nav__toggle { padding: 8px 5px; font-size: .84rem; }
  .fy-nav__toggle { padding-left: 0; padding-right: 3px; }
  .fy-nav__list { gap: 0; }
  .fy-logo__word small { display: none; }
  .fy-logo { font-size: 1.05rem; }
  .fy-logo svg { height: 34px; }
  .fy-header__cta { gap: 8px; }
  .fy-header__phone span { display: none; }
  .fy-header__cta .fy-btn { padding: 10px 14px; font-size: .86rem; }
  .fy-header__inner { gap: 10px; }
}
.fy-header__inner > * { min-width: 0; }
body { overflow-x: hidden; }
.fy-burger { width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 8px; }
.fy-burger span { display: block; width: 24px; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
body.fy-nav-open .fy-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.fy-nav-open .fy-burger span:nth-child(2) { opacity: 0; }
body.fy-nav-open .fy-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1023px) {
  /* off-canvas nav revealed with clip-path (not transform): a transformed fixed box widens the document,
     and a backdrop-filter on the header would make it the containing block for a fixed child. */
  body .fy-header { backdrop-filter: none; -webkit-backdrop-filter: none; background-color: var(--fy-bg); background-image: linear-gradient(var(--fy-header-bg), var(--fy-header-bg)); } /* no blur on phones, so a translucent header color is composited over the page color: same hue, fully opaque, nothing ghosts through */
  .fy-nav { position: fixed; inset: var(--fy-header-h) 0 0 0; background: var(--fy-bg); color: var(--fy-text); overflow-y: auto; padding: 16px var(--fy-gutter) 120px; clip-path: inset(0 0 0 100%); transition: clip-path .28s ease; pointer-events: none; z-index: 590; }
  body.fy-nav-open .fy-nav { clip-path: inset(0 0 0 0); pointer-events: auto; }
  @media (prefers-reduced-motion: reduce) { .fy-nav { transition: none; } }
  body.fy-nav-open { overflow: hidden; }
  .fy-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .fy-nav__item { border-bottom: 1px solid var(--fy-border); display: flex; flex-wrap: wrap; align-items: center; }
  .fy-nav__item > a { flex: 1; padding: 16px 4px; font-size: 1.1rem; }
  .fy-nav__toggle { padding: 12px; margin: 0; }
  .fy-nav__toggle svg { width: 18px; height: 18px; }
  .fy-nav__sub { position: static; width: 100%; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 12px 12px; display: none; background: transparent; animation: none; }
  .fy-nav__item.is-open > .fy-nav__sub { display: block; }
  /* phone header: logo + phone icon + burger only; the CTA lives in the sticky bar and the drawer */
  .fy-header__cta .fy-btn { display: none; }
  .fy-logo { font-size: 1.05rem; gap: 8px; }
  .fy-logo svg { height: 34px; }
  .fy-logo__word small { display: none; }
  .fy-header__phone svg { width: 24px; height: 24px; }
  .fy-header__cta { gap: 6px; }
  .fy-nav__sub a { padding: 10px 8px; font-size: 1rem; }
  .fy-nav__mobile-cta { display: grid; gap: 10px; margin-top: 20px; }
}
@media (min-width: 1024px) { .fy-nav__mobile-cta { display: none; } }

/* ---------- breadcrumbs ---------- */
.fy-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: .86rem; opacity: .85; }
.fy-crumbs li + li::before { content: '/'; margin-right: 10px; opacity: .5; }
.fy-crumbs a:hover { text-decoration: underline; }
.fy-crumbs [aria-current] { font-weight: 700; }

/* ---------- hero (generic) ---------- */
.fy-hero { position: relative; background: var(--fy-hero-bg); color: var(--fy-hero-text); overflow: hidden; }
.fy-hero__inner { position: relative; z-index: 2; padding: clamp(44px, 7vw, 100px) 0; }
.fy-hero__title { margin: 12px 0 18px; }
.fy-hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.3rem); max-width: 640px; opacity: .92; }
.fy-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.fy-hero__media { position: absolute; inset: 0; z-index: 1; }
.fy-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.fy-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.35) 60%, rgba(0,0,0,.15)); }
.fy-hero--page .fy-hero__inner { padding: clamp(36px, 5vw, 72px) 0; }
.fy-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .92rem; opacity: .9; }
.fy-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.fy-hero__meta svg { width: 16px; height: 16px; }

/* ---------- trust ledger ---------- */
.fy-trust { background: var(--fy-surface); border-top: 1px solid var(--fy-border); border-bottom: 1px solid var(--fy-border); }
.fy-trust .fy-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; }
.fy-trust__item { display: flex; gap: 12px; align-items: center; }
.fy-trust__item svg { width: 28px; height: 28px; flex: none; color: var(--fy-accent); }
.fy-trust__item b { display: block; font-size: 1rem; line-height: 1.2; }
.fy-trust__item small { color: var(--fy-muted); font-size: .84rem; }

/* ---------- stats ---------- */
.fy-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; }
.fy-stat b { display: block; font-family: var(--fy-font-display); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--fy-accent); }
.fy-stat span { display: block; margin-top: 6px; font-size: .92rem; color: var(--fy-muted); }

/* ---------- cards ---------- */
.fy-card { background: var(--fy-bg); border: 1px solid var(--fy-border); border-radius: var(--fy-radius-lg); padding: 26px; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.fy-area-card { display: flex; flex-direction: column; gap: 10px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.fy-area-card:hover { transform: translateY(-3px); box-shadow: var(--fy-shadow); }
.fy-area-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--fy-surface); color: var(--fy-primary); }
.fy-area-card__icon svg { width: 26px; height: 26px; }
.fy-area-card h3 { margin: 6px 0 0; }
.fy-area-card h3 a::after { content: ''; position: absolute; inset: 0; }
.fy-area-card p { color: var(--fy-muted); margin: 0; }
.fy-area-card ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 2; }
.fy-area-card ul a { display: inline-block; font-size: .82rem; padding: 5px 10px; border-radius: 999px; background: var(--fy-surface); border: 1px solid var(--fy-border); }
.fy-area-card ul a:hover { background: var(--fy-primary); color: var(--fy-primary-ink); border-color: var(--fy-primary); }
.fy-area-card .fy-more { margin-top: auto; font-weight: 700; color: var(--fy-accent); display: inline-flex; gap: 6px; align-items: center; padding-top: 8px; }
.fy-area-card .fy-more svg { width: 16px; height: 16px; }

/* ---------- reviews ---------- */
.fy-stars { display: inline-flex; gap: 2px; color: var(--fy-star); }
.fy-stars svg { width: 18px; height: 18px; }
.fy-review { display: flex; flex-direction: column; gap: 12px; }
.fy-review blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.fy-review blockquote p { margin: 0; }
.fy-review cite { font-style: normal; font-weight: 700; display: block; margin-top: auto; }
.fy-review cite small { display: block; font-weight: 500; color: var(--fy-muted); font-size: .82rem; margin-top: 2px; }
.fy-review--long blockquote { font-size: .98rem; }
.fy-review__src { font-size: .78rem; color: var(--fy-muted); letter-spacing: .04em; text-transform: uppercase; }

/* ---------- steps ---------- */
.fy-steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: step; }
.fy-step { position: relative; padding: 26px; border-radius: var(--fy-radius-lg); background: var(--fy-bg); border: 1px solid var(--fy-border); }
.fy-step__num { font-family: var(--fy-font-display); font-size: 2.4rem; line-height: 1; color: var(--fy-accent); margin-bottom: 12px; font-weight: 800; }
.fy-step h3 { margin-bottom: 8px; }
.fy-step p { margin: 0; color: var(--fy-muted); }

/* ---------- FAQ ---------- */
.fy-faq { display: grid; gap: 10px; }
.fy-faq__item { border: 1px solid var(--fy-border); border-radius: var(--fy-radius); background: var(--fy-bg); overflow: hidden; }
.fy-faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 18px 20px; font-weight: 700; font-size: 1.04rem; }
.fy-faq__q svg { width: 20px; height: 20px; flex: none; transition: transform .2s; }
.fy-faq__item.is-open .fy-faq__q svg { transform: rotate(45deg); }
.fy-faq__a { padding: 0 20px 20px; color: var(--fy-muted); }
.fy-faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.fy-cta-band { background: var(--fy-cta-bg); color: var(--fy-cta-text); text-align: center; }
.fy-cta-band .fy-container { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.fy-cta-band h2 { max-width: 760px; margin: 0 auto 14px; }
.fy-cta-band p { max-width: 640px; margin: 0 auto 26px; opacity: .92; font-size: 1.1rem; }
.fy-cta-band .fy-hero__actions { justify-content: center; margin-top: 0; }
.fy-cta-band__fine { font-size: .84rem; opacity: .75; margin: 18px auto 0 !important; }

/* ---------- layouts ---------- */
.fy-layout { display: grid; gap: clamp(28px, 4vw, 60px); align-items: start; }
.fy-layout--sidebar { grid-template-columns: minmax(0, 1fr) 360px; }
.fy-layout--toc { grid-template-columns: 240px minmax(0, 1fr); }
.fy-layout--sidebar-left { grid-template-columns: 320px minmax(0, 1fr); }
@media (max-width: 1023px) { .fy-layout--sidebar, .fy-layout--toc, .fy-layout--sidebar-left { grid-template-columns: 1fr; } .fy-layout--toc .fy-toc { display: none; } }
.fy-side { position: sticky; top: calc(var(--fy-header-h) + 20px); display: grid; gap: 20px; }
.fy-toc { position: sticky; top: calc(var(--fy-header-h) + 20px); font-size: .92rem; }
.fy-toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--fy-border); }
.fy-toc a { display: block; padding: 6px 14px; color: var(--fy-muted); border-left: 2px solid transparent; margin-left: -2px; }
.fy-toc a.is-active, .fy-toc a:hover { color: var(--fy-text); border-left-color: var(--fy-accent); }

/* ---------- prose ---------- */
.fy-content { max-width: 760px; }
.fy-content > :first-child { margin-top: 0; }
.fy-content h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.fy-content h3 { margin-top: 1.4em; }
.fy-content p, .fy-content li { font-size: 1.05rem; }
.fy-content li { margin-bottom: .35em; }
.fy-content blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--fy-accent); background: var(--fy-surface); border-radius: 0 var(--fy-radius) var(--fy-radius) 0; font-size: 1.05rem; }
.fy-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .96rem; }
.fy-content th, .fy-content td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--fy-border); vertical-align: top; }
.fy-content th { background: var(--fy-surface); }
.fy-callout { margin: 1.6em 0; padding: 22px 24px; border-radius: var(--fy-radius-lg); background: var(--fy-primary); color: var(--fy-primary-ink); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.fy-callout p { margin: 0; font-weight: 600; flex: 1 1 280px; }
.fy-callout .fy-btn { flex: none; }
.fy-checklist { list-style: none; padding: 0; }
.fy-checklist li { position: relative; padding-left: 30px; }
.fy-checklist li::before { content: ''; position: absolute; left: 0; top: .42em; width: 18px; height: 18px; border-radius: 50%; background: var(--fy-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.6-4.1-4.1 1.5-1.5 2.6 2.6 5.6-5.6 1.5 1.5-7.1 7.1z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.6-4.1-4.1 1.5-1.5 2.6 2.6 5.6-5.6 1.5 1.5-7.1 7.1z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ---------- forms ---------- */
.fy-form { display: grid; gap: 14px; }
.fy-form__fields { display: grid; gap: 14px; }
.fy-form__row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
@media (max-width: 480px) { .fy-form__row { grid-template-columns: 1fr; } }
.fy-field label { display: block; font-size: .86rem; font-weight: 700; margin-bottom: 6px; }
.fy-field input, .fy-field select, .fy-field textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--fy-radius); border: 1.5px solid var(--fy-border);
  background: var(--fy-bg); color: var(--fy-text); font: inherit; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.fy-field textarea { min-height: 110px; resize: vertical; }
.fy-field input:focus, .fy-field select:focus, .fy-field textarea:focus { outline: none; border-color: var(--fy-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fy-accent) 22%, transparent); }
.fy-field .is-invalid { border-color: var(--fy-danger) !important; box-shadow: 0 0 0 4px rgba(180,35,24,.14) !important; }
.fy-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--fy-muted); }
.fy-consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--fy-accent); }
.fy-hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }
.fy-form__msg { margin: 0; font-weight: 600; font-size: .95rem; }
.fy-form__msg.is-err { color: var(--fy-danger); }
.fy-form__msg.is-ok { color: var(--fy-ok); font-size: 1.05rem; padding: 14px 16px; border-radius: var(--fy-radius); background: color-mix(in srgb, var(--fy-ok) 12%, transparent); }
.fy-form__fine { font-size: .8rem; color: var(--fy-muted); margin: 0; }
.fy-form-card { background: var(--fy-bg); color: var(--fy-text); border-radius: var(--fy-radius-lg); padding: 26px; box-shadow: var(--fy-shadow-lg); border: 1px solid var(--fy-border); }
.fy-form-card h3, .fy-form-card__h { margin-bottom: 4px; font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
.fy-form-card > p { color: var(--fy-muted); font-size: .95rem; margin-bottom: 18px; }
.fy-form-card .fy-form { gap: 12px; }
.fy-form-card .fy-form__fields { gap: 12px; }
.fy-form-card .fy-field input, .fy-form-card .fy-field select, .fy-form-card .fy-field textarea { padding: 12px 13px; }
.fy-form-card .fy-field textarea { min-height: 84px; }
.fy-side-card { background: var(--fy-surface); border-radius: var(--fy-radius-lg); padding: 22px; }
.fy-side-card h4, .fy-side-card__h { margin-bottom: 8px; font-size: 1.05rem; }
.fy-side-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fy-side-card li a { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--fy-border); font-size: .95rem; }
.fy-side-card li:last-child a { border-bottom: 0; }
.fy-side-card li a[aria-current] { font-weight: 700; color: var(--fy-accent); }

/* ---------- pop-in contact ---------- */
.fy-popin { position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none; }
.fy-popin.is-open { visibility: visible; pointer-events: auto; }
.fy-popin__backdrop { position: absolute; inset: 0; background: rgba(8, 12, 22, .58); opacity: 0; transition: opacity .28s ease; backdrop-filter: blur(2px); }
.fy-popin.is-open .fy-popin__backdrop { opacity: 1; }
.fy-popin__panel { position: absolute; background: var(--fy-bg); color: var(--fy-text); box-shadow: var(--fy-shadow-lg); overflow-y: auto; transition: transform .32s cubic-bezier(.2,.8,.2,1), opacity .28s ease; -webkit-overflow-scrolling: touch; }
.fy-popin__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.fy-popin__head h3 { margin: 0 0 4px; font-size: 1.45rem; }
.fy-popin__head p { margin: 0; color: var(--fy-muted); font-size: .95rem; }
.fy-popin__close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--fy-surface); flex: none; }
.fy-popin__close svg { width: 18px; height: 18px; }
.fy-popin__phone { margin-top: 16px; text-align: center; font-size: .92rem; color: var(--fy-muted); }
.fy-popin__phone a { font-weight: 800; color: var(--fy-text); }
body.fy-popin-open { overflow: hidden; }
/* drawer (right) */
.fy-popin[data-popin="drawer"] .fy-popin__panel { top: 0; right: 0; bottom: 0; width: min(460px, 100%); padding: 28px 28px 40px; transform: translateX(100%); }
.fy-popin[data-popin="drawer"].is-open .fy-popin__panel { transform: translateX(0); }
/* centered modal / wizard */
.fy-popin[data-popin="modal"] .fy-popin__panel, .fy-popin[data-popin="wizard"] .fy-popin__panel { left: 50%; top: 50%; width: min(560px, calc(100% - 32px)); max-height: calc(100% - 32px); border-radius: var(--fy-radius-lg); padding: 30px; transform: translate(-50%, -46%) scale(.96); opacity: 0; }
.fy-popin[data-popin="modal"].is-open .fy-popin__panel, .fy-popin[data-popin="wizard"].is-open .fy-popin__panel { transform: translate(-50%, -50%) scale(1); opacity: 1; }
/* bottom sheet */
.fy-popin[data-popin="sheet"] .fy-popin__panel { left: 50%; bottom: 0; width: min(680px, 100%); max-height: 92vh; border-radius: var(--fy-radius-lg) var(--fy-radius-lg) 0 0; padding: 18px 26px 40px; transform: translate(-50%, 100%); }
.fy-popin[data-popin="sheet"].is-open .fy-popin__panel { transform: translate(-50%, 0); }
.fy-popin__grip { width: 46px; height: 5px; border-radius: 3px; background: var(--fy-border); margin: 0 auto 16px; }
/* takeover: full-screen on mobile, centered card on desktop */
.fy-popin[data-popin="takeover"] .fy-popin__panel { inset: 0; padding: 28px var(--fy-gutter) 40px; transform: translateY(100%); }
.fy-popin[data-popin="takeover"].is-open .fy-popin__panel { transform: translateY(0); }
@media (min-width: 768px) {
  .fy-popin[data-popin="takeover"] .fy-popin__panel { inset: auto; left: 50%; top: 50%; width: min(620px, calc(100% - 32px)); max-height: calc(100% - 32px); border-radius: var(--fy-radius-lg); padding: 32px; transform: translate(-50%, -46%); opacity: 0; }
  .fy-popin[data-popin="takeover"].is-open .fy-popin__panel { transform: translate(-50%, -50%); opacity: 1; }
}
/* mobile: every mechanic collapses to a bottom sheet for thumb reach, except takeover */
@media (max-width: 767px) {
  .fy-popin[data-popin="drawer"] .fy-popin__panel, .fy-popin[data-popin="modal"] .fy-popin__panel, .fy-popin[data-popin="wizard"] .fy-popin__panel {
    top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92vh; border-radius: var(--fy-radius-lg) var(--fy-radius-lg) 0 0; padding: 18px var(--fy-gutter) 40px; transform: translateY(100%); opacity: 1;
  }
  .fy-popin[data-popin="drawer"].is-open .fy-popin__panel, .fy-popin[data-popin="modal"].is-open .fy-popin__panel, .fy-popin[data-popin="wizard"].is-open .fy-popin__panel { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .fy-popin__panel, .fy-popin__backdrop { transition: none !important; } }

/* ---------- sticky mobile action bar ---------- */
.fy-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 700; display: none; grid-template-columns: 1fr 1fr 1.4fr; gap: 1px; background: var(--fy-border); box-shadow: 0 -8px 30px rgba(0,0,0,.14); padding-bottom: env(safe-area-inset-bottom); transition: transform .25s ease; }
.fy-sticky__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 10px 6px; background: var(--fy-bg); color: var(--fy-text); font-size: .78rem; font-weight: 700; }
.fy-sticky__btn svg { width: 20px; height: 20px; }
.fy-sticky__btn--primary { background: var(--fy-primary); color: var(--fy-primary-ink); }
.fy-sticky.is-hidden, body.fy-popin-open .fy-sticky, body.fy-nav-open .fy-sticky { transform: translateY(110%); }
@media (max-width: 767px) { .fy-sticky { display: grid; } body { padding-bottom: 64px; } }

/* ---------- floating action button ---------- */
.fy-fab { position: fixed; right: 20px; bottom: 20px; z-index: 650; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; background: var(--fy-accent); color: var(--fy-accent-ink); font-weight: 800; box-shadow: var(--fy-shadow-lg); }
.fy-fab svg { width: 20px; height: 20px; }
@media (max-width: 767px) { .fy-fab { bottom: 78px; right: 14px; padding: 12px 16px; font-size: .9rem; } }
body.fy-popin-open .fy-fab { display: none; }

/* ---------- footer ---------- */
.fy-footer { background: var(--fy-footer-bg); color: var(--fy-footer-text); font-size: .95rem; }
.fy-footer__grid { display: grid; gap: 34px; grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: clamp(44px, 6vw, 72px) 0 32px; }
@media (max-width: 1023px) { .fy-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fy-footer__grid { grid-template-columns: 1fr; } }
.fy-footer h4, .fy-footer__h { font-family: var(--fy-font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 14px; font-weight: 700; }
.fy-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.fy-footer a:hover { text-decoration: underline; }
.fy-footer__brand p { opacity: .85; max-width: 380px; }
.fy-footer__brand .fy-logo { color: #fff; margin-bottom: 14px; }
.fy-footer__contact b { display: block; font-size: 1.25rem; margin-bottom: 4px; }
.fy-footer__legal { border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0 28px; font-size: .8rem; opacity: .75; }
.fy-footer__legal p { margin: 0 0 8px; }
.fy-footer__legal .fy-footer__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; }
.fy-footer__legal .fy-footer__links a { opacity: .9; }

/* ---------- rails ---------- */
.fy-rail { position: relative; }
.fy-rail__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; scrollbar-width: none; }
.fy-rail__track::-webkit-scrollbar { display: none; }
.fy-rail__track > * { flex: 0 0 min(320px, 82vw); scroll-snap-align: start; }
.fy-rail__nav { display: flex; gap: 8px; justify-content: flex-end; margin-bottom: 14px; }
.fy-rail__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; opacity: .8; }
.fy-rail__btn:hover { opacity: 1; }
.fy-rail__btn svg { width: 18px; height: 18px; }

/* ---------- reel (b5) ---------- */
.fy-reel { position: relative; overflow: hidden; }
.fy-reel__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .8s ease; }
.fy-reel__slide.is-active { opacity: 1; }
.fy-reel__slide img { width: 100%; height: 100%; object-fit: cover; }
.fy-reel__slide.is-active img { animation: fy-kenburns 9s ease-out forwards; }
@keyframes fy-kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
.fy-reel__bars { display: flex; gap: 6px; }
.fy-reel__bar { flex: 1; height: 4px; border-radius: 2px; background: rgba(255,255,255,.35); overflow: hidden; cursor: pointer; }
.fy-reel__bar i { display: block; height: 100%; width: 0; background: #fff; }
@media (prefers-reduced-motion: reduce) { .fy-reel__slide.is-active img { animation: none; } }

/* ---------- wizard (a5) ---------- */
.fy-wizard__dots { display: flex; gap: 8px; align-items: center; margin-bottom: 18px; }
.fy-wizard__dot { flex: 1; height: 6px; border-radius: 3px; background: var(--fy-border); }
.fy-wizard__dot.is-active, .fy-wizard__dot.is-done { background: var(--fy-accent); }
.fy-wizard__bar { height: 6px; border-radius: 3px; background: var(--fy-border); overflow: hidden; margin-bottom: 18px; }
.fy-wizard__bar i { display: block; height: 100%; width: 0; background: var(--fy-accent); transition: width .3s ease; }
.fy-wizard__step { display: none; }
.fy-wizard__step.is-active { display: block; animation: fy-fade .3s ease; }
.fy-wizard__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.fy-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.fy-tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 16px 10px; border: 1.5px solid var(--fy-border); border-radius: var(--fy-radius-lg); cursor: pointer; transition: border-color .15s, background .15s, transform .15s; font-weight: 700; font-size: .92rem; }
.fy-tile svg { width: 28px; height: 28px; color: var(--fy-primary); }
.fy-tile input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fy-tile:hover { transform: translateY(-2px); border-color: var(--fy-primary); }
.fy-tile.is-selected, .fy-tile:has(input:checked) { border-color: var(--fy-accent); background: color-mix(in srgb, var(--fy-accent) 12%, transparent); }
@keyframes fy-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- quiz (a5) ---------- */
.fy-quiz__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--fy-border); font-size: .95rem; }
.fy-quiz__row:last-of-type { border-bottom: 0; }
.fy-quiz__row div { display: flex; gap: 6px; flex: none; }
.fy-quiz__row button { padding: 6px 12px; border-radius: 999px; border: 1.5px solid var(--fy-border); font-weight: 700; font-size: .85rem; }
.fy-quiz__row button.is-on { background: var(--fy-primary); color: var(--fy-primary-ink); border-color: var(--fy-primary); }
.fy-quiz__result { margin-top: 14px; padding: 14px; border-radius: var(--fy-radius); background: color-mix(in srgb, var(--fy-ok) 12%, transparent); font-size: .95rem; }
.fy-quiz__result .fy-btn { margin-top: 10px; }

/* ---------- kinetic text (b1) + word cycle ---------- */
.fy-kword { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 70ms); }
.is-in .fy-kword, [data-kinetic].is-in .fy-kword { opacity: 1; transform: none; }
[data-cycle] { display: inline-block; transition: opacity .25s, transform .25s; }
[data-cycle].is-out { opacity: 0; transform: translateY(-.4em); }
@media (prefers-reduced-motion: reduce) { .fy-kword { opacity: 1; transform: none; transition: none; } }

/* ---------- marquee ---------- */
.fy-marquee { overflow: hidden; white-space: nowrap; }
.fy-marquee__track { display: inline-flex; gap: 32px; padding-right: 32px; animation: fy-marquee 28s linear infinite; }
.fy-marquee:hover .fy-marquee__track { animation-play-state: paused; }
.fy-marquee__track span { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; font-size: .95rem; }
.fy-marquee__track span::after { content: '•'; opacity: .5; margin-left: 20px; }
@keyframes fy-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .fy-marquee__track { animation: none; } }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-in { opacity: 1; transform: none; }
/* horizontal offsets were dropped: an unrevealed element pushed 28px right widened the document */
[data-reveal="left"], [data-reveal="right"] { transform: translateY(26px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-in { transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }
body:not(.fy-js) [data-reveal] { opacity: 1; transform: none; }

/* ---------- index overlay (a4) ---------- */
.fy-index { position: fixed; inset: 0; z-index: 900; background: var(--fy-bg); color: var(--fy-text); overflow-y: auto; padding: 100px var(--fy-gutter) 60px; transform: translateY(-100%); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
body.fy-index-open .fy-index { transform: translateY(0); }
body.fy-index-open { overflow: hidden; }
.fy-index__grid { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); max-width: var(--fy-max); margin: 0 auto; }
.fy-index h3 { font-size: 1.05rem; margin-bottom: 10px; }
.fy-index ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.fy-index a:hover { text-decoration: underline; }
.fy-index__close { position: fixed; top: 18px; right: 18px; }

/* ---------- split scroll story (b4) ---------- */
.fy-story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.fy-story__pin { position: sticky; top: calc(var(--fy-header-h) + 30px); }
.fy-story__panels { display: grid; gap: 28px; }
[data-story-panel] { transition: opacity .3s; }
@media (max-width: 900px) { .fy-story { grid-template-columns: 1fr; } .fy-story__pin { position: static; } }

/* ---------- misc ---------- */
.fy-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; background: var(--fy-surface); border: 1px solid var(--fy-border); }
.fy-badge svg { width: 14px; height: 14px; }
.fy-divider { height: 1px; background: var(--fy-border); margin: 0; border: 0; }
.fy-tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.fy-tag-list a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--fy-border); font-weight: 600; font-size: .9rem; }
.fy-tag-list a:hover, .fy-tag-list a.is-on { background: var(--fy-primary); color: var(--fy-primary-ink); border-color: var(--fy-primary); }
.fy-source-note { font-size: .82rem; color: var(--fy-muted); }
.fy-photo { border-radius: var(--fy-radius-lg); overflow: hidden; }
.fy-photo img { width: 100%; height: 100%; object-fit: cover; }
.fy-avatar { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; font-family: var(--fy-font-display); font-weight: 800; font-size: 1.7rem; background: var(--fy-primary); color: var(--fy-primary-ink); }
.fy-two { display: grid; gap: clamp(28px, 4vw, 64px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
.fy-two > *, .fy-layout > *, .fy-grid > * { min-width: 0; }
@media (max-width: 900px) { .fy-two { grid-template-columns: 1fr; } }
.fy-note-box { padding: 18px 20px; border-radius: var(--fy-radius); background: var(--fy-surface); border-left: 4px solid var(--fy-accent); font-size: .95rem; }

/* very narrow phones: let a long wordmark wrap to two lines instead of pushing the header wider */
@media (max-width: 480px) {
  .fy-logo { font-size: .95rem; }
  .fy-logo svg { height: 30px; }
  .fy-logo__word { white-space: normal; line-height: 1.05; max-width: 168px; }
}

/* ---- round 5: language switch + E-E-A-T byline ---- */
.fy-lang { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1.5px solid currentColor; border-radius: 999px; font-weight: 700; font-size: .8rem; letter-spacing: .02em; text-decoration: none; color: inherit; opacity: .9; white-space: nowrap; }
.fy-lang:hover { opacity: 1; background: color-mix(in srgb, currentColor 8%, transparent); }
.fy-header__cta .fy-lang { margin-right: 10px; }
.fy-lang--nav { margin: 14px 0 0; }
.fy-lang--footer { margin-left: auto; }
.fy-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 26px 0 0; padding: 12px 0 0; border-top: 1px solid var(--fy-border, rgba(127,127,127,.25)); font-size: .86rem; opacity: .85; }
.fy-byline time { opacity: .75; }
@media (max-width: 1023px) { .fy-header__cta .fy-lang { display: none; } }
/* ---- round 5: callout button wraps (Spanish labels are longer; a nowrap button set the column's min width and overflowed phones) ---- */
.fy-callout { min-width: 0; flex-wrap: wrap; }
.fy-callout .fy-btn { white-space: normal; text-align: center; }
/* ---- round 5: intrinsic widths never exceed the column (a <select> is as wide as its longest option; Spanish options
   were wider than a phone and stretched the single grid track, overflowing the viewport) ---- */
@media (max-width: 1023px) { .fy-wide__grid { grid-template-columns: minmax(0, 1fr); } }
.fy-wide__side, .fy-side, .fy-form, .fy-form-card, .fy-layout > *, .fy-wide > * { min-width: 0; }
.fy-form select, .fy-form textarea, .fy-form input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]) { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; }
