/* ==========================================================================
   Qynaat Nikah — v3 layer
   Liquid-glass header · full-bleed heroes · compact footer · family-friendly
   Find a Match · quick view · admin desk. Loaded after lux.css.
   ========================================================================== */

:root {
  --header-h: 92px;
  --glass-bg: rgb(255 251 244 / .46);
  --glass-border: rgb(255 255 255 / .72);
  --glass-shadow: 0 14px 34px -14px rgb(74 32 20 / .38), inset 0 1px 0 rgb(255 255 255 / .92), inset 0 -1px 1px rgb(191 150 88 / .2);
}
html[data-textsize="lg"] { font-size: 112.5%; }
html[data-textsize="xl"] { font-size: 125%; }

/* Liquid glass recipe */
.glass, .site-header.is-compact .nav, .site-header.is-compact .brand__markwrap, .site-header.is-compact .menu-toggle, .site-header.is-compact .btn--glass {
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(185%);
  -webkit-backdrop-filter: blur(22px) saturate(185%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* ---------- Header: one image with the hero, morphs to glass on scroll ---------- */
body { padding-top: var(--header-h); }
body[data-overlay] { padding-top: 0; }
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgb(253 248 241 / .9);
  backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px);
  transition: background .55s var(--ease-out), box-shadow .55s, backdrop-filter .55s;
}
body[data-overlay] .site-header:not(.is-compact) { background: linear-gradient(180deg, rgb(253 248 241 / .62), rgb(253 248 241 / .18) 70%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
body[data-overlay] .site-header:not(.is-compact)::after { opacity: 0; }
.site-header.is-compact { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.site-header.is-compact::after { opacity: 0; }
.site-header::after { transition: opacity .5s; }
.header-inner { height: var(--header-h); transition: height .55s var(--ease-out); }
.site-header.is-compact .header-inner { height: 80px; }

.brand__markwrap { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid transparent; transition: width .55s var(--ease-out), height .55s var(--ease-out), background .5s, box-shadow .5s, border-color .5s; flex: none; }
.brand__mark { width: 60px; transition: width .55s var(--ease-out); }
.brand__text { max-width: 340px; overflow: hidden; white-space: nowrap; transition: max-width .7s var(--ease-out), opacity .35s, transform .7s var(--ease-out); }
.site-header .brand__name { font-size: 1.7rem; }
.site-header.is-compact .brand__markwrap { width: 58px; height: 58px; }
.site-header.is-compact .brand__mark { width: 42px; }
.site-header.is-compact .brand__text { max-width: 0; opacity: 0; transform: translateX(-12px); }

.nav { padding: .35rem .45rem; border-radius: 999px; border: 1px solid transparent; gap: clamp(.4rem, 1.2vw, 1.4rem); transition: background .55s, box-shadow .55s, border-color .55s, gap .55s var(--ease-out), padding .55s; }
.nav a { padding: .5rem .85rem; border-radius: 999px; transition: color .25s, background .35s, box-shadow .35s, padding .5s var(--ease-out), font-size .5s; }
.nav a::after { left: .85rem; right: .85rem; bottom: .25rem; }
.site-header.is-compact .nav { gap: .15rem; padding: .3rem; }
.site-header.is-compact .nav a { font-size: .98rem; padding: .55rem 1.05rem; }
.site-header.is-compact .nav a::after { display: none; }
.site-header.is-compact .nav a:hover { background: rgb(255 255 255 / .55); }
.site-header.is-compact .nav a[aria-current="page"] { background: linear-gradient(180deg, var(--wine-600), var(--wine-800)); color: #fff; box-shadow: 0 6px 16px -6px rgb(95 14 41 / .6), inset 0 1px 0 rgb(255 255 255 / .2); }

.header-btns { display: flex; gap: .6rem; }
.header-tag { max-width: 240px; overflow: hidden; white-space: nowrap; transition: max-width .7s var(--ease-out), opacity .35s, padding .7s var(--ease-out), margin .7s var(--ease-out), border-color .4s; }
.header-tag span { font-weight: 600; font-size: .6rem; letter-spacing: .22em; }
.site-header.is-compact .header-tag { max-width: 0; opacity: 0; padding-left: 0; margin-left: 0; border-color: transparent; }
.site-header.is-compact .btn--glass { color: var(--wine-800); }
.site-header.is-compact .menu-toggle { border-radius: 50%; width: 52px; height: 52px; }

/* ---------- Home hero: full-bleed with header ---------- */
.hero-lux { height: clamp(720px, 100svh, 1120px); padding-top: var(--header-h); }
.hero-lux__content { padding-top: clamp(1.4rem, 6vh, 4.2rem); gap: clamp(1rem, 2vh, 1.6rem); }
.hero-lux h1 { font-size: clamp(2.8rem, 1.1rem + 5.6vw, 6.4rem); }
.hero-stage { transform-origin: 57% 60%; }
.hero-stage__glint { position: absolute; left: 57.3%; top: 57.2%; width: 7%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.hero-stage__glint svg { width: 100%; height: 100%; opacity: 0; filter: drop-shadow(0 0 10px rgb(255 240 200 / .9)); animation: glint 5.5s ease-in-out 3.2s infinite; }
@keyframes glint { 0%, 64%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 72% { opacity: 1; transform: scale(1) rotate(35deg); } 82% { opacity: 0; transform: scale(.45) rotate(80deg); } }

/* Inner pages under the transparent header */
body[data-overlay] .page-hero--photo { padding-top: calc(var(--header-h) + clamp(2rem, 4vw, 3.5rem)); min-height: clamp(560px, 60vw, 780px); }
body[data-overlay] .page-hero:not(.page-hero--photo) { padding-top: calc(var(--header-h) + clamp(2rem, 4vw, 3.5rem)); }
body[data-overlay] main > .section:first-child { padding-top: calc(var(--header-h) + clamp(2.5rem, 4vw, 4rem)); }
.page-hero--photo::before { background: linear-gradient(90deg, rgb(253 248 241 / .95) 0%, rgb(253 248 241 / .82) 30%, rgb(253 248 241 / .25) 46%, transparent 58%); }

/* ---------- Compact footer ---------- */
.footer-values .container { padding-block: .85rem; gap: .75rem 2rem; }
.fv-row { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.fv-item { font-size: .6rem; gap: .45rem; letter-spacing: .24em; }
.fv-item .ic { width: 18px; height: 18px; }
.fv-dot { color: var(--gold-500); font-size: .55rem; }
.fv-script { font-size: 1.45rem; }
.footer-main { grid-template-columns: 1.6fr repeat(3, 1fr); gap: 1.5rem 2rem; padding-block: 2.1rem 1.5rem; }
.footer-brand .brand__markwrap { width: 52px; height: 52px; }
.footer-brand .brand__mark { width: 48px; }
.footer-brand .brand__name { font-size: 1.3rem; }
.footer-brand .brand__sub { display: block; font-size: .5rem; }
.footer-brand p { font-size: .88rem; margin-top: .55rem; max-width: 32ch; }
.footer-col h4 { font-size: .62rem; margin-bottom: .55rem; }
.footer-col li + li { margin-top: .28rem; }
.footer-col a { font-size: .9rem; }
.footer-legal .container { padding-block: .75rem; font-size: .76rem; }
@media (max-width: 760px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } .fv-script { display: none; } }

/* ---------- Demo switch (collapsed by default) ---------- */
.demo-switch { left: 12px; right: auto; bottom: 12px; padding: .25rem; gap: .2rem; font-size: .72rem; }
.demo-switch__toggle { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .65rem; border-radius: 99px; color: var(--gold-200); opacity: 1 !important; }
.demo-switch__toggle .ic { width: 15px; height: 15px; }
.demo-switch__opts { display: none; gap: .2rem; }
.demo-switch.is-open .demo-switch__opts { display: flex; }

/* ---------- Founding seats modal ---------- */
.seats { display: grid; justify-items: center; gap: .2rem; padding: 1.1rem 1rem 1.2rem; width: 100%; border-radius: var(--r-lg); background: radial-gradient(120% 140% at 50% 0%, var(--wine-600), var(--wine-900)); color: #fff4e2; position: relative; overflow: hidden; }
.seats::before { content: ""; position: absolute; inset: 6px; border-radius: calc(var(--r-lg) - 4px); border: 1px solid rgb(229 205 163 / .45); pointer-events: none; }
.seats__num { font-family: var(--f-display); font-weight: 700; font-size: clamp(4rem, 3rem + 4vw, 5.6rem); line-height: .9; }
.seats__label { font-family: var(--f-caps); letter-spacing: .26em; font-size: .72rem; color: var(--gold-200); }
.seats__sub { font-style: italic; font-family: var(--f-display); font-size: 1.15rem; color: #fff4e2; }
.perks { display: grid; gap: .55rem; text-align: left; width: 100%; }
.perks li { display: flex; gap: .7rem; align-items: center; color: var(--ink-2); }
.perks .ic { color: var(--gold-600); width: 22px; height: 22px; }

/* ---------- Profile card v3 (bigger, clearer) ---------- */
.pcard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: rgb(255 253 249 / .98); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: box-shadow .45s, transform .45s var(--ease-out); position: relative; }
.pcard:hover { box-shadow: var(--shadow-md); }
.pcard .photo { aspect-ratio: 4 / 4.4; }
.pcard__tag { position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: 999px; background: rgb(255 253 249 / .92); color: var(--success); font-size: .8rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.pcard__tag .ic { width: 15px; height: 15px; }
.pcard__body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.pcard__id { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; color: var(--wine-800); line-height: 1.1; }
.pcard__lead { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.pcard__facts { display: grid; gap: .35rem; margin: .2rem 0 .6rem; }
.pcard__facts li { display: flex; gap: .55rem; align-items: center; font-size: .96rem; color: var(--ink-2); line-height: 1.3; }
.pcard__facts .ic { width: 18px; height: 18px; color: var(--gold-600); }
.pcard .btn { margin-top: auto; min-height: 50px; font-size: 1.05rem; }

/* ---------- FIND A MATCH v3 ---------- */
.find-hero h1 { font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); line-height: 1.02; }
.finder { position: relative; z-index: 5; margin-top: clamp(-7rem, -8vw, -4rem); }
.finder__card { border-radius: var(--r-xl); padding: clamp(1.2rem, 1rem + 1.5vw, 2rem); display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 1.4rem 1.8rem; align-items: end; background: rgb(255 251 244 / .82); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); border: 1px solid rgb(255 255 255 / .8); box-shadow: 0 30px 70px -30px rgb(74 32 20 / .45), inset 0 1px 0 #fff; }
.finder__label { display: flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; color: var(--wine-800); margin-bottom: .75rem; }
.step-num { width: 30px; height: 30px; border-radius: 50%; background: var(--wine-700); color: #fff; display: grid; place-items: center; font-family: var(--f-body); font-size: .9rem; flex: none; }
.big-choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.big-choice input, .chips input { position: absolute; opacity: 0; pointer-events: none; }
.big-choice label { display: grid; justify-items: center; gap: .25rem; padding: .85rem .5rem; border-radius: var(--r-md); border: 1.5px solid var(--line); background: #fff; cursor: pointer; text-align: center; transition: all .25s var(--ease-out); min-height: 96px; align-content: center; }
.big-choice label .ic { width: 30px; height: 30px; color: var(--gold-600); }
.big-choice label strong { font-size: 1.08rem; color: var(--ink); font-weight: 600; }
.big-choice label small { font-size: .8rem; color: var(--ink-3); }
.big-choice label:hover { border-color: var(--gold-400); transform: translateY(-2px); }
.big-choice input:checked + label { border-color: var(--wine-700); background: var(--wine-100); box-shadow: 0 0 0 3px rgb(114 21 51 / .12); }
.big-choice input:checked + label .ic { color: var(--wine-700); }
.big-choice input:focus-visible + label, .chips input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chips label { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; color: var(--ink-2); transition: all .22s var(--ease-out); }
.chips label:hover { border-color: var(--gold-400); }
.chips input:checked + label { background: var(--wine-700); border-color: var(--wine-700); color: #fff; box-shadow: 0 6px 14px -6px rgb(95 14 41 / .55); }
.btn--xl { --btn-h: 64px; font-size: 1.25rem; padding-inline: 2rem; border-radius: var(--r-md); }

.helper { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; padding: 1.1rem 1.4rem; margin-top: 1.5rem; border-radius: var(--r-lg); background: linear-gradient(120deg, #fffdf9, var(--gold-100)); border: 1px solid var(--gold-300); }
.helper__steps { display: flex; flex-wrap: wrap; gap: .6rem 2rem; }
.helper__steps li { display: flex; align-items: center; gap: .6rem; font-size: 1.02rem; color: var(--ink); }
.helper__close { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); }
.helper__close:hover { background: rgb(255 255 255 / .8); }

.results-wrap { display: grid; grid-template-columns: 320px 1fr; gap: 1.6rem; align-items: start; padding-block: 1.6rem 5rem; }
.more-filters { position: sticky; top: 100px; padding: 1.4rem; display: grid; gap: 1.3rem; max-height: calc(100vh - 120px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.more-filters h2 { font-size: 1.5rem; display: flex; align-items: center; gap: .5rem; color: var(--ink); }
.more-filters fieldset { border: 0; padding: 0; margin: 0; }
.more-filters legend { font-weight: 600; font-size: 1rem; margin-bottom: .55rem; color: var(--ink); }
.more-filters .chips label { font-size: .95rem; min-height: 40px; padding: .4rem .85rem; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem .9rem; border-radius: var(--r-md); background: var(--cream-50); border: 1px solid var(--line); cursor: pointer; font-size: 1rem; }
.switch-row input { appearance: none; width: 48px; height: 28px; border-radius: 99px; background: var(--line); position: relative; cursor: pointer; transition: background .25s; flex: none; }
.switch-row input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease-out); }
.switch-row input:checked { background: var(--wine-700); }
.switch-row input:checked::after { transform: translateX(20px); }

.toolbar-v3 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; margin-bottom: 1.2rem; border-radius: var(--r-lg); }
.toolbar-v3 h2 { font-size: 1.6rem; color: var(--wine-800); }
.toolbar-v3 .select { width: auto; min-height: 46px; font-size: 1rem; }
.ts-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.ts-toggle button { min-width: 46px; height: 44px; font-family: var(--f-display); font-weight: 700; color: var(--ink-2); padding: 0 .7rem; }
.ts-toggle button[aria-pressed="true"] { background: var(--wine-700); color: #fff; }
.ts-toggle button:nth-child(1) { font-size: .95rem; } .ts-toggle button:nth-child(2) { font-size: 1.15rem; } .ts-toggle button:nth-child(3) { font-size: 1.35rem; }
.grid-v3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.3rem; }
.grid-v3.is-list { grid-template-columns: 1fr; }
.grid-v3.is-list .pcard { flex-direction: row; }
.grid-v3.is-list .pcard .photo { width: 240px; flex: none; aspect-ratio: auto; }
.grid-v3.is-list .pcard__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notify-card { display: grid; align-content: center; gap: .9rem; padding: 1.6rem; border-radius: var(--r-lg); background: radial-gradient(120% 120% at 20% 0%, var(--wine-700), var(--wine-950)); color: #fff4e2; min-height: 100%; }
.notify-card h3 { color: #fff7ea; font-size: 1.6rem; }
.notify-card p { color: rgb(255 244 228 / .82); }
.notify-card .input { background: rgb(255 255 255 / .95); }
.help-fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.2rem; border-radius: 999px; background: var(--wine-700); color: #fff; font-size: 1.05rem; box-shadow: 0 14px 30px -10px rgb(95 14 41 / .6); transition: transform .3s var(--ease-out); }
.help-fab:hover { transform: translateY(-2px); }
.help-fab .ic { width: 22px; height: 22px; }

/* ---------- Quick view ---------- */
.qv { position: fixed; inset: 0; z-index: 320; display: grid; grid-template-columns: 1fr; visibility: hidden; }
.qv.is-open { visibility: visible; }
.qv__backdrop { position: absolute; inset: 0; background: rgb(42 23 29 / .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .45s var(--ease-out); }
.qv.is-open .qv__backdrop { opacity: 1; }
.qv__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(1040px, 100%); background: var(--cream-50); box-shadow: -30px 0 80px -30px rgb(42 23 29 / .5); display: grid; grid-template-rows: auto 1fr auto; transform: translateX(100%); transition: transform .6s var(--ease-out); }
.qv.is-open .qv__panel { transform: none; }
.qv__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); background: rgb(255 253 249 / .9); }
.qv__bar .btn { min-height: 48px; font-size: 1.02rem; }
.qv__body { overflow: auto; overscroll-behavior: contain; display: grid; grid-template-columns: .9fr 1.1fr; gap: 0; }
.qv__photo { position: relative; background: #eadfd2; min-height: 100%; }
.qv__photo .photo { position: sticky; top: 0; height: min(100%, calc(100vh - 150px)); min-height: 420px; }
.qv__info { padding: clamp(1.2rem, 1rem + 1.5vw, 2.2rem); display: grid; gap: 1.2rem; align-content: start; }
.qv__info h2 { font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem); color: var(--wine-700); }
.qv__lead { font-size: 1.25rem; color: var(--ink); }
.qv__facts { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.qv__fact { display: flex; gap: .75rem; align-items: flex-start; padding: .85rem 1rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-soft); }
.qv__fact .ic { width: 24px; height: 24px; color: var(--gold-600); margin-top: 2px; }
.qv__fact small { display: block; color: var(--ink-3); font-size: .85rem; }
.qv__fact strong { display: block; font-weight: 500; font-size: 1.08rem; color: var(--ink); }
.qv__about { padding: 1.1rem 1.2rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line-soft); font-size: 1.08rem; color: var(--ink-2); }
.qv__cta { padding: 1.2rem; border-radius: var(--r-lg); background: linear-gradient(120deg, #fffdf9, var(--gold-100)); border: 1px solid var(--gold-300); display: grid; gap: .8rem; }
.qv__foot { display: flex; justify-content: space-between; gap: .6rem; padding: .8rem 1.2rem; border-top: 1px solid var(--line); background: rgb(255 253 249 / .95); }
.qv__foot .btn { min-height: 52px; font-size: 1.05rem; }

/* ---------- Admin desk ---------- */
.desk { padding-block: 2rem 5rem; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.kpi { padding: 1.3rem 1.4rem; display: grid; gap: .35rem; }
.kpi small { color: var(--ink-3); font-size: .9rem; }
.kpi strong { font-family: var(--f-display); font-size: 2.6rem; color: var(--wine-800); line-height: 1; }
.ring-kpi { display: grid; grid-template-columns: 110px 1fr; gap: 1.1rem; align-items: center; }
.ring-kpi svg { width: 110px; height: 110px; transform: rotate(-90deg); }
.ring-kpi circle { fill: none; stroke-width: 10; }
.desk-table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.desk-table th { text-align: left; font-family: var(--f-caps); font-size: .62rem; letter-spacing: .2em; color: var(--ink-3); padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
.desk-table td { padding: .8rem .9rem; border-bottom: 1px solid var(--line-soft); }
.status { display: inline-flex; padding: .2rem .65rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.status--pending { background: var(--gold-100); color: var(--gold-700); }
.status--ok { background: #e3f1e8; color: var(--success); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) { .finder__card { grid-template-columns: 1fr 1fr; } .finder__card > .btn { grid-column: 1 / -1; } .kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 1080px) {
  .results-wrap { grid-template-columns: 1fr; }
  .more-filters { position: fixed; inset: 0 auto 0 0; top: 0; width: min(360px, 92vw); max-height: none; z-index: 150; border-radius: 0; transform: translateX(-105%); transition: transform .45s var(--ease-out); box-shadow: var(--shadow-lg); }
  .more-filters.is-open { transform: none; }
  .qv__body { grid-template-columns: 1fr; }
  .qv__photo .photo { position: relative; height: 56vh; min-height: 320px; }
}
@media (max-width: 760px) {
  :root { --header-h: 76px; }
  .site-header .brand__name { font-size: 1.3rem; }
  .brand__markwrap { width: 52px; height: 52px; }
  .brand__mark { width: 48px; }
  .finder__card { grid-template-columns: 1fr; }
  .big-choice label { min-height: 84px; }
  .helper { grid-template-columns: 1fr auto; }
  .helper > .icon-circle { display: none; }
  .grid-v3 { grid-template-columns: 1fr; }
  .grid-v3.is-list .pcard { flex-direction: column; }
  .grid-v3.is-list .pcard .photo { width: 100%; aspect-ratio: 4 / 4; }
  .qv__facts { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .help-fab span { display: none; }
}

.site-header, .site-header.is-scrolled { border-bottom-color: transparent; }
.site-header.is-scrolled:not(.is-compact) { box-shadow: none; }

/* Wide artwork heroes (About / Stories): height follows the artwork so subjects stay visible */
body[data-overlay] .page-hero--wide { min-height: 0; height: clamp(560px, 42vw, 700px); padding-top: calc(var(--header-h) + 1.5rem); }
.page-hero--wide .page-hero__bg { inset: 0; }
.page-hero--wide::before { background: linear-gradient(90deg, rgb(253 248 241 / .96) 0%, rgb(253 248 241 / .85) 26%, rgb(253 248 241 / .2) 40%, transparent 50%); }
.find-hero::before { background: linear-gradient(90deg, rgb(253 248 241 / .94) 0%, rgb(253 248 241 / .78) 32%, rgb(253 248 241 / .15) 55%, transparent 68%), linear-gradient(0deg, rgb(253 248 241 / .9), transparent 30%); }
@media (max-width: 760px) { body[data-overlay] .page-hero--wide { height: auto; min-height: 640px; } .page-hero--wide .page-hero__bg { background-position: 42% center !important; } }
@media (pointer: coarse), (max-width: 760px) { .qv__hint { display: none; } }
@media (max-width: 760px) {
  .find-hero::before { background: linear-gradient(180deg, rgb(253 248 241 / .95) 0%, rgb(253 248 241 / .88) 55%, rgb(253 248 241 / .55) 80%, rgb(253 248 241 / .9)); }
  .qv__bar { flex-wrap: wrap; }
}
@media (max-width: 760px) { .kpis > .ring-kpi { grid-column: auto !important; grid-template-columns: 90px 1fr; } .ring-kpi svg { width: 90px; height: 90px; } }
