/** PHOMI Moldova — Despre noi. Mineral Premium / Archivo / ritmul homepage-ului. */
.phomi-story {
    background: var(--phomi-surface);
    color: var(--phomi-dark);
    overflow: clip;
}
.phomi-story *, .phomi-story *::before, .phomi-story *::after { box-sizing: border-box; }
.phomi-story :is(h1, h2, h3, h4, p, figure, ol, dl, dd) { margin: 0; }
.phomi-story :is(h1, h2, h3, h4) { text-transform: none; text-wrap: balance; }
.phomi-story img { display: block; width: 100%; height: auto; }
.phomi-story svg { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
.phomi-story :is(a, button, video):focus-visible { outline: 3px solid var(--phomi-blue-ink); outline-offset: 5px; }
.phomi-story-section { padding: var(--phomi-section-top) 0 var(--phomi-section-bottom); }
.phomi-story-eyebrow {
    display: flex; align-items: center; gap: 12px;
    color: var(--phomi-blue-ink);
    font-size: .72rem; font-weight: 700; line-height: 1.4; letter-spacing: .13em; text-transform: uppercase;
}
.phomi-story-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; flex: 0 0 auto; }
.phomi-story h2 {
    margin-top: 20px; font-size: var(--phomi-h2-display); font-weight: 600;
    letter-spacing: -.035em; line-height: 1.06;
}
.phomi-story-copy > p:not(.phomi-story-eyebrow) { margin-top: 20px; color: var(--phomi-text-muted); font-size: 1.0625rem; line-height: 1.7; max-width: 60ch; }
.phomi-story-copy > .phomi-story-link { margin-top: 26px; }
.phomi-story-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 26px; }
.phomi-story-link {
    display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
    min-height: 44px; color: var(--phomi-dark); font-size: .9rem; font-weight: 600; text-decoration: none;
}
.phomi-story-link svg { width: 21px; height: 21px; color: var(--phomi-blue-ink); transition: transform .25s cubic-bezier(.2,.75,.25,1); }
.phomi-story-link:hover { color: var(--phomi-blue-ink); }
.phomi-story-link:hover svg { transform: translateX(3px); }
.phomi-story-heading { display: grid; grid-template-columns: 1.4fr .7fr; gap: clamp(28px, 5vw, 80px); align-items: end; margin-bottom: var(--phomi-head-gap); }
.phomi-story-heading > p { color: var(--phomi-text-muted); font-size: 1rem; line-height: 1.7; max-width: 42ch; }

/* Hero: proiect local și navigare către reperele paginii. */
.phomi-story-hero { padding-top: calc(var(--phomi-nav-h, 107px) + clamp(30px, 5vh, 52px)); }
.phomi-story-hero__grid { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: clamp(32px, 4.5vw, 72px); }
.phomi-story-hero h1 { margin-top: 22px; font-size: clamp(2.5rem, min(4.2vw, 7vh), 3.75rem); font-weight: 600; line-height: 1.04; letter-spacing: -.035em; }
.phomi-story-hero h1 span { display: block; margin-top: .1em; }
.phomi-story-hero__lead { margin-top: 26px !important; max-width: 48ch; color: var(--phomi-text-muted); font-size: clamp(1rem, 1.15vw, 1.125rem); line-height: 1.7; }
.phomi-story-hero .phomi-story-actions { margin-top: 30px; }
.phomi-story-hero__media { position: relative; height: clamp(330px, 51vh, 510px); overflow: hidden; background: var(--phomi-graphite); }
.phomi-story-hero__media img { height: 100%; object-fit: cover; object-position: 50% 20%; }
.phomi-story-hero__media::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgba(var(--phomi-dark-rgb), .8), rgba(var(--phomi-dark-rgb), 0)); pointer-events: none; }
.phomi-story-hero__media figcaption { position: absolute; z-index: 1; bottom: 24px; left: 28px; right: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; color: var(--phomi-surface); }
.phomi-story-hero__media figcaption span { font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; }
.phomi-story-hero__media figcaption strong { font-size: .94rem; font-weight: 500; }
.phomi-story-index { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 22px; margin-top: clamp(30px, 5vh, 52px); padding: 18px 0; border-top: 1px solid var(--phomi-border); }
.phomi-story-index > span { color: var(--phomi-text-muted); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }
.phomi-story-index a { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; color: var(--phomi-dark); font-size: .83rem; font-weight: 500; text-decoration: none; }
.phomi-story-index a:hover { color: var(--phomi-blue-ink); }
.phomi-story-index svg { width: 19px; height: 19px; color: var(--phomi-blue-ink); }

/* Prezența locală. Date din opțiunile WordPress, comune cu footer-ul. */
.phomi-story-local { background: var(--phomi-surface); }
.phomi-story-local__grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(36px, 7vw, 112px); align-items: center; }
.phomi-story-visit { padding: clamp(26px, 3vw, 40px); background: var(--phomi-surface); border: 1px solid var(--phomi-border); }
.phomi-story-visit__head { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; color: var(--phomi-blue-ink); }
.phomi-story-visit__head svg { width: 28px; height: 28px; }
.phomi-story-visit__head p { font-size: .73rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.phomi-story-visit h3 { font-size: clamp(1.4rem, 1.9vw, 1.85rem); font-weight: 600; letter-spacing: -.025em; }
.phomi-story-visit address { margin: 18px 0 0; font-size: 1rem; line-height: 1.55; font-style: normal; }
.phomi-story-visit > p { margin-top: 16px; color: var(--phomi-text-muted); font-size: .92rem; line-height: 1.65; }
.phomi-story-visit__phone { display: block; width: fit-content; margin-top: 22px; min-height: 44px; color: var(--phomi-dark); font-size: 1.45rem; font-weight: 600; text-decoration: none; }
.phomi-story-visit__phone:hover { color: var(--phomi-blue-ink); }
.phomi-story-visit > .phomi-story-link { width: 100%; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--phomi-border); }

/* Producătorul: date statice și atribuite, distincte de activitatea locală. */
.phomi-story-global { background: var(--phomi-graphite); color: var(--phomi-surface); }
.phomi-story-global__grid { display: grid; grid-template-columns: 1.15fr .8fr; align-items: center; gap: clamp(42px, 8vw, 130px); }
.phomi-story-global .phomi-story-eyebrow, .phomi-story-cta .phomi-story-eyebrow { color: var(--phomi-blue); }
.phomi-story-global .phomi-story-copy > p:not(.phomi-story-eyebrow), .phomi-story-cta .phomi-story-copy > p:not(.phomi-story-eyebrow) { color: rgba(var(--phomi-surface-rgb), .74); }
.phomi-story-global__facts dl > div { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: 25px 0; border-bottom: 1px solid rgba(var(--phomi-surface-rgb), .2); }
.phomi-story-global__facts dt { font-size: clamp(2.4rem, 3.3vw, 3.6rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.phomi-story-global__facts dd { color: rgba(var(--phomi-surface-rgb), .76); font-size: .9rem; line-height: 1.6; }
.phomi-story-global__facts .phomi-story-link { margin-top: 24px; }
.phomi-story-global .phomi-story-link, .phomi-story-cta .phomi-story-link { color: var(--phomi-surface); }
.phomi-story-global .phomi-story-link svg, .phomi-story-cta .phomi-story-link svg { color: var(--phomi-blue); }
.phomi-story-global .phomi-story-link:hover, .phomi-story-cta .phomi-story-link:hover { color: var(--phomi-blue); }
.phomi-story-global .phomi-story-source { margin-top: 10px; color: rgba(var(--phomi-surface-rgb), .65); font-size: .73rem; line-height: 1.6; }
.phomi-story :is(.phomi-story-global, .phomi-story-cta) a:focus-visible { outline-color: var(--phomi-blue); }

/* Material și producție: explicații vizibile, film alături, fără scroll impus. */
.phomi-story-material { background: var(--phomi-mist); }
.phomi-story-material__heading { margin-bottom: var(--phomi-head-gap); }
.phomi-story-material__heading h2 { max-width: 24ch; }
.phomi-story-material__intro { max-width: 82ch; margin-top: 22px !important; color: var(--phomi-text-muted); font-size: 1.0625rem; line-height: 1.7; }
.phomi-story-material__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: 'copy media'; gap: clamp(32px, 4vw, 64px); align-items: start; }
.phomi-story-material__copy { grid-area: copy; min-width: 0; }
.phomi-story-material__visual { grid-area: media; min-width: 0; position: sticky; top: calc(var(--phomi-nav-h, 107px) + 24px); }
.phomi-story-material__copy h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.25; font-weight: 600; letter-spacing: -.02em; }
.phomi-story-material__copy p { margin-top: 14px; color: var(--phomi-text-muted); font-size: .96rem; line-height: 1.65; }
.phomi-story-material__copy .phomi-story-material__label { margin-top: 24px; font-size: .68rem; font-weight: 600; color: var(--phomi-blue-ink); letter-spacing: .08em; text-transform: uppercase; }
.phomi-story-composition { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 18px 0; margin-top: 12px !important; border-top: 1px solid var(--phomi-border); border-bottom: 1px solid var(--phomi-border); }
.phomi-story-composition > div { min-width: 0; }
.phomi-story-composition > div + div { padding-left: 18px; border-left: 1px solid var(--phomi-border); }
.phomi-story-composition dt { font-size: .84rem; font-weight: 600; }
.phomi-story-composition dd strong { display: block; margin: 8px 0 7px; font-size: clamp(2rem, 2.8vw, 2.75rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.phomi-story-composition dd strong > span { font-size: .55em; margin-left: 3px; }
.phomi-story-composition dd > span { display: block; color: var(--phomi-text-muted); font-size: .73rem; line-height: 1.5; }
.phomi-story-material__copy .phomi-story-material__note { font-size: .8rem; line-height: 1.6; }
.phomi-story-material__source, .phomi-story-material__sources a { color: var(--phomi-blue-ink); text-underline-offset: 4px; text-decoration-thickness: 1px; }
.phomi-story-material__source { display: inline-block; margin-top: 10px; padding: 6px 0; font-size: .76rem; line-height: 1.5; }
.phomi-story-material__source:hover, .phomi-story-material__sources a:hover { color: var(--phomi-dark); }
.phomi-story-material__technology { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--phomi-border); }
.phomi-story-manufacturing { list-style: none; counter-reset: phomi-production; padding: 0; margin-top: 22px !important; }
.phomi-story-manufacturing li { position: relative; counter-increment: phomi-production; padding-left: 40px; }
.phomi-story-manufacturing li + li { margin-top: 22px; }
.phomi-story-manufacturing li::before { content: counter(phomi-production, decimal-leading-zero); position: absolute; top: 2px; left: 0; color: var(--phomi-blue-ink); font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.phomi-story-manufacturing h4 { font-size: 1rem; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; text-wrap: initial; }
.phomi-story-manufacturing li p { margin-top: 6px; font-size: .91rem; }
.phomi-story-material__copy .phomi-story-material__sources { margin-top: 22px; font-size: .76rem; line-height: 1.9; }
.phomi-story-film { background: var(--phomi-surface); }
.phomi-story-film__screen { position: relative; aspect-ratio: 16 / 9; background: var(--phomi-dark); }
.phomi-story-film__screen img, .phomi-story-film__screen iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Coperta 4:3 include benzi negre; cover taie numai din aceste benzi.
   Playerul rămâne 16:9 și nu decupează filmul. */
.phomi-story-film__screen img { object-fit: cover; }
.phomi-story-film__play { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 16px; color: var(--phomi-surface); background: rgba(var(--phomi-dark-rgb), .2); text-decoration: none; }
.phomi-story-film__icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; color: var(--phomi-dark); background: var(--phomi-surface); transition: transform .25s cubic-bezier(.2,.75,.25,1), background-color .25s; }
.phomi-story-film__icon svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.phomi-story-film__play > span:last-child { padding: 8px 14px; background: rgba(var(--phomi-dark-rgb), .84); font-size: .83rem; font-weight: 500; }
.phomi-story-film__play:hover { color: var(--phomi-surface); }
.phomi-story-film__play:hover .phomi-story-film__icon { transform: scale(1.06); background: var(--phomi-blue); }
.phomi-story .phomi-story-film__play:focus-visible { outline: 3px solid var(--phomi-blue); outline-offset: -5px; }
.phomi-story-film figcaption { padding: 22px 24px; border: 1px solid var(--phomi-border); border-top: 0; }
.phomi-story-film figcaption > span { display: block; color: var(--phomi-blue-ink); font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.phomi-story-film figcaption > p { margin-top: 9px; font-size: 1.05rem; font-weight: 500; line-height: 1.5; }
.phomi-story-film__footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 18px; padding-top: 14px; }
.phomi-story-film__footer > p { color: var(--phomi-text-muted); font-size: .72rem; line-height: 1.6; }
.phomi-story-film__footer > a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; color: var(--phomi-blue-ink); font-size: .75rem; text-underline-offset: 4px; }
.phomi-story-film__footer svg { width: 16px; height: 16px; }

/* Numerele corespund unei secvențe reale de colaborare. */
.phomi-story-process { background: var(--phomi-mist); }
.phomi-story-process__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; padding: 0; }
.phomi-story-step { padding: clamp(24px, 2.2vw, 34px); background: var(--phomi-surface); border: 1px solid var(--phomi-border); }
.phomi-story-step__number { display: block; margin-bottom: 28px; color: var(--phomi-blue-ink); font-size: .82rem; font-weight: 600; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.phomi-story-step h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.25; letter-spacing: -.02em; }
.phomi-story-step p { margin-top: 16px; color: var(--phomi-text-muted); font-size: .95rem; line-height: 1.7; }

/* Un singur video vizibil. Comenzile nu acoperă playerul, inclusiv pe mobil. */
.phomi-story-review [hidden] { display: none !important; }
.phomi-story-review__grid { display: grid; grid-template-columns: .83fr 1.17fr; grid-template-areas: 'media intro' 'media details' 'controls details'; grid-template-rows: auto 1fr auto; column-gap: clamp(36px, 6vw, 96px); align-items: start; }
.phomi-story-review__copy { grid-area: intro; align-self: end; }
.phomi-story-review__stage { grid-area: media; min-width: 0; overflow: hidden; }
.phomi-story-review__details { grid-area: details; min-width: 0; display: grid; }
.phomi-story-review__caption { grid-area: 1 / 1; }
.phomi-story-review__caption[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.phomi-story-review__caption > p { margin-top: 20px; color: var(--phomi-text-muted); font-size: 1rem; line-height: 1.7; max-width: 52ch; }
.phomi-story-review__media { display: flex; justify-content: center; overflow: hidden; background: var(--phomi-graphite); }
.phomi-story-review__media video { display: block; width: 100%; height: clamp(340px, 52vh, 510px); object-fit: contain; }
.phomi-story-review__person { display: flex; align-items: center; gap: 22px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--phomi-border); }
.phomi-story-mark { width: 12px; height: 30px; margin-left: 6px; background: var(--phomi-blue-ink); transform: skewX(-35deg); }
.phomi-story-review__person strong { display: block; font-size: 1.25rem; font-weight: 600; }
.phomi-story-review__person div > span { display: block; margin-top: 6px; color: var(--phomi-text-muted); font-size: .88rem; }
.phomi-story-review__controls { grid-area: controls; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; }
.phomi-story-review__count { color: var(--phomi-text-muted); font-size: .8rem; font-weight: 600; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.phomi-story-review__arrows { display: flex; gap: 10px; }
.phomi-story-review__arrows button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--phomi-border); border-radius: 50%; background: var(--phomi-surface); color: var(--phomi-dark); cursor: pointer; }
.phomi-story-review__arrows button:hover { background: var(--phomi-dark); color: var(--phomi-surface); border-color: var(--phomi-dark); }
.phomi-story-review__arrows svg { width: 20px; height: 20px; }
.phomi-story-review__grid > noscript { grid-column: 1 / -1; }
@media (prefers-reduced-motion: no-preference) {
    .phomi-story-review__grid.is-ready [data-review-slide]:not([hidden]),
    .phomi-story-review__grid.is-ready [data-review-caption][aria-hidden="false"] { animation: phomi-review-enter .28s cubic-bezier(.2,.75,.25,1) both; }
}
@keyframes phomi-review-enter { from { opacity: 0; transform: translateX(var(--phomi-review-shift, 12px)); } to { opacity: 1; transform: translateX(0); } }

/* Bibliotecă compactă. PDF-urile și previzualizările mari se deschid numai la cerere. */
.phomi-story-documents { background: var(--phomi-mist); padding-top: calc(var(--phomi-section-top) * .6); padding-bottom: calc(var(--phomi-section-bottom) * .6); }
.phomi-documents-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.phomi-story .phomi-documents-heading h2 { margin-top: 12px; font-size: clamp(1.8rem, 2.2vw, 2.5rem); line-height: 1.12; }
.phomi-documents-heading__intro { margin-top: 10px !important; color: var(--phomi-text-muted); font-size: .96rem; line-height: 1.5; }
.phomi-documents-count { display: flex; align-items: baseline; gap: 8px; flex-shrink: 0; padding-bottom: 3px; color: var(--phomi-text-muted); font-size: .8rem; }
.phomi-documents-count strong { color: var(--phomi-dark); font-size: 1.25rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.phomi-document-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--phomi-document-rows, 4), auto); grid-auto-flow: column; column-gap: 24px; padding: 0; list-style: none; }
.phomi-document-list > li { min-width: 0; }
.phomi-document-row { display: grid; grid-template-columns: 28px 20px minmax(0, 1fr) 20px; align-items: center; gap: 12px; min-height: 64px; height: 100%; padding: 10px 18px; background: var(--phomi-surface); color: var(--phomi-dark); border-bottom: 1px solid var(--phomi-border); text-decoration: none; }
.phomi-document-row__thumb { display: grid; place-items: center; width: 28px; height: 40px; }
.phomi-story .phomi-document-row__thumb img { width: 28px; height: 40px; object-fit: contain; transition: transform .22s cubic-bezier(.2,.75,.25,1); }
.phomi-document-row__number { color: var(--phomi-text-muted); font-size: .74rem; font-variant-numeric: tabular-nums; }
.phomi-document-row__copy { min-width: 0; }
.phomi-document-row__copy > strong { display: block; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.phomi-document-row__copy > span { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; margin-top: 4px; color: var(--phomi-text-muted); font-size: .72rem; line-height: 1.4; }
.phomi-document-row__status { padding-left: 10px; border-left: 1px solid var(--phomi-border); font-weight: 600; }
.phomi-document-row > svg { width: 20px; height: 20px; color: var(--phomi-blue-ink); transition: transform .22s cubic-bezier(.2,.75,.25,1); }
.phomi-document-row:hover, .phomi-document-row:focus-visible { color: var(--phomi-dark); box-shadow: inset 3px 0 var(--phomi-blue-ink); }
.phomi-document-row:hover .phomi-document-row__thumb img { transform: translateY(-2px); }
.phomi-document-row:hover > svg { transform: translate(2px, -2px); }
.phomi-story .phomi-document-row:focus-visible { outline-offset: -3px; }
.phomi-documents-footer { display: flex; justify-content: space-between; gap: 10px 28px; margin-top: 18px; color: var(--phomi-text-muted); font-size: .76rem; line-height: 1.6; }
.phomi-documents-footer > span { flex-shrink: 0; }

/* Dialog nativ: focus și Escape asigurate de browser; linkurile PDF au fallback fără JS. */
html.phomi-document-open { overflow: hidden; scrollbar-gutter: stable; }
.phomi-document-dialog { width: min(1020px, calc(100vw - 40px)); max-width: none; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); margin: auto; padding: 0; border: 1px solid var(--phomi-border); background: var(--phomi-surface); color: var(--phomi-dark); overflow: auto; overscroll-behavior: contain; }
.phomi-document-dialog:not([open]), .phomi-document-dialog [hidden] { display: none !important; }
.phomi-document-dialog::backdrop { background: rgba(var(--phomi-dark-rgb), .64); }
.phomi-document-dialog__header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 26px; border-bottom: 1px solid var(--phomi-border); background: var(--phomi-surface); }
.phomi-document-dialog__header p { color: var(--phomi-blue-ink); font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.phomi-story .phomi-document-dialog h2 { margin-top: 7px; font-size: clamp(1.15rem, 1.8vw, 1.55rem); line-height: 1.25; letter-spacing: -.02em; text-wrap: initial; }
.phomi-document-dialog__close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid var(--phomi-border); border-radius: 50%; background: var(--phomi-surface); color: var(--phomi-dark); cursor: pointer; }
.phomi-document-dialog__close:hover { background: var(--phomi-dark); color: var(--phomi-surface); }
.phomi-document-dialog__body { display: grid; grid-template-columns: 1.1fr .9fr; align-items: start; gap: 30px; padding: 24px 26px 28px; }
.phomi-document-dialog__preview { min-width: 0; }
.phomi-document-dialog__preview > div { display: grid; place-items: center; min-height: 280px; height: clamp(280px, 54vh, 530px); padding: 12px; background: var(--phomi-mist); }
.phomi-story .phomi-document-dialog__preview img { width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; }
.phomi-document-dialog__preview > div > p { padding: 24px; text-align: center; color: var(--phomi-text-muted); font-size: .85rem; line-height: 1.6; }
.phomi-document-dialog__preview figcaption { margin-top: 10px; color: var(--phomi-text-muted); font-size: .7rem; line-height: 1.6; }
.phomi-document-dialog__details { min-width: 0; }
.phomi-document-dialog__details > p { color: var(--phomi-text-muted); font-size: .9rem; line-height: 1.65; }
.phomi-document-dialog__details > p + p { margin-top: 16px; }
.phomi-document-dialog__details > .phomi-document-dialog__issuer { color: var(--phomi-dark); font-size: .93rem; font-weight: 600; }
.phomi-document-dialog__details > .phomi-document-dialog__reference { font-size: .76rem; overflow-wrap: anywhere; }
.phomi-document-dialog__details > .phomi-document-dialog__note { padding: 14px 16px; border-left: 2px solid var(--phomi-stone); background: var(--phomi-mist); color: var(--phomi-dark); font-size: .8rem; }
.phomi-document-dialog__details > .phomi-document-dialog__info { font-size: .75rem; }
.phomi-document-dialog__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; margin-top: 20px; }
.phomi-document-dialog__actions > .btn { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; padding: 12px 18px; font-size: .85rem; }
.phomi-document-dialog__actions svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
    .phomi-document-dialog[open] { animation: phomi-document-open .22s cubic-bezier(.2,.75,.25,1); }
}
@keyframes phomi-document-open { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.phomi-story-cta { background: var(--phomi-dark); color: var(--phomi-surface); }
.phomi-story-cta__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(36px, 7vw, 112px); align-items: center; }
.phomi-story-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; justify-self: end; }
.phomi-story-cta__contact { min-height: 44px; display: inline-flex; align-items: center; font-size: 1rem; color: rgba(var(--phomi-surface-rgb), .78); text-decoration: none; }
.phomi-story-cta__contact:hover { color: var(--phomi-blue); }

@media (max-width: 1199.98px) {
    .phomi-story-hero__grid { grid-template-columns: 1fr 1fr; }
    .phomi-story-hero h1 { font-size: clamp(2.25rem, 4.2vw, 3.4rem); }
    .phomi-story-global__facts dl > div { grid-template-columns: 1fr; gap: 12px; }
    .phomi-story-local__grid, .phomi-story-global__grid { gap: 40px; }
    .phomi-story-step h3 { font-size: 1.2rem; }
}
@media (max-width: 991.98px) {
    .phomi-story h2 { font-size: clamp(2rem, 4.2vw, 2.8rem); }
    .phomi-story-hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .phomi-story-hero__copy { max-width: 650px; }
    .phomi-story-hero h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); }
    .phomi-story-hero__lead { max-width: 60ch; }
    .phomi-story-hero__media { height: clamp(300px, 48vw, 420px); }
    .phomi-story-hero__media img { object-position: 50% 28%; }
    .phomi-story-index { justify-content: flex-start; gap: 6px 28px; }
    .phomi-story-index > span { width: 100%; }
    .phomi-story-local__grid, .phomi-story-global__grid, .phomi-story-material__grid, .phomi-story-cta__grid { grid-template-columns: 1fr; }
    .phomi-story-visit { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
    .phomi-story-visit__head, .phomi-story-visit h3 { grid-column: 1 / -1; }
    .phomi-story-global__facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
    .phomi-story-global__facts dl > div { padding-top: 0; }
    .phomi-story-material__grid { grid-template-areas: 'media' 'copy'; }
    .phomi-story-material__visual { position: static; }
    .phomi-story-material__heading h2 { max-width: 26ch; }
    .phomi-story-heading { grid-template-columns: 1fr; gap: 20px; }
    .phomi-story-heading > p { max-width: 60ch; }
    .phomi-story-process__grid { gap: 14px; }
    .phomi-story-step { padding: 22px; }
    .phomi-document-row { gap: 9px; padding-inline: 12px; grid-template-columns: 24px 18px minmax(0, 1fr) 18px; }
    .phomi-document-row__copy > strong { font-size: .91rem; }
    .phomi-story-review__grid { grid-template-columns: .9fr 1.1fr; gap: 32px; }
    .phomi-story-cta__actions { justify-self: start; }
}
@media (max-width: 767.98px) {
    .phomi-story-section { padding: 56px 0 44px; }
    .phomi-story .container { padding-right: 24px; padding-left: 24px; }
    .phomi-story-hero { padding-top: calc(var(--phomi-nav-h, 90px) + 30px); }
    .phomi-story-hero h1 { font-size: clamp(2.15rem, 7.6vw, 3rem); }
    .phomi-story-hero__lead { margin-top: 22px !important; }
    .phomi-story-hero .phomi-story-actions { margin-top: 24px; }
    .phomi-story-hero__media { height: clamp(250px, 70vw, 350px); }
    .phomi-story-hero__media img { object-position: 50% 15%; }
    .phomi-story-hero__media figcaption { left: 20px; right: 20px; bottom: 20px; }
    .phomi-story-index { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 28px; padding: 16px 0; }
    .phomi-story-index > span { grid-column: 1 / -1; margin-bottom: 8px; }
    .phomi-story-index a { font-size: .81rem; }
    .phomi-story-copy > p:not(.phomi-story-eyebrow) { font-size: 1rem; }
    .phomi-story-local__grid, .phomi-story-global__grid, .phomi-story-material__grid { gap: 30px; }
    .phomi-story-material__intro { font-size: 1rem; }
    .phomi-story-composition { gap: 10px; }
    .phomi-story-composition > div + div { padding-left: 10px; }
    .phomi-story-composition dt { font-size: .75rem; }
    .phomi-story-composition dd > span { font-size: .7rem; }
    .phomi-story-film__icon { width: 56px; height: 56px; }
    .phomi-story-film__play { gap: 10px; }
    .phomi-story-film figcaption { padding: 18px 20px; }
    .phomi-story-film__footer { align-items: flex-start; }
    .phomi-story-visit { display: block; }
    .phomi-story-global__facts dl { gap: 24px; }
    .phomi-story-global__facts dt { font-size: 2.35rem; }
    .phomi-story-global__facts dd { font-size: .83rem; }
    .phomi-story-process__grid { grid-template-columns: 1fr; gap: 16px; }
    .phomi-story-step { padding: 26px; }
    .phomi-story-step__number { margin-bottom: 18px; }
    .phomi-story-step h3 { font-size: 1.35rem; }
    .phomi-documents-heading { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 22px; }
    .phomi-documents-count { gap: 7px; padding: 0; font-size: .75rem; }
    .phomi-documents-count strong { font-size: 1rem; }
    .phomi-document-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
    .phomi-document-row { min-height: 72px; grid-template-columns: 24px minmax(0, 1fr) 18px; gap: 10px; padding: 12px 14px; }
    .phomi-document-row__number { display: none; }
    .phomi-document-row__copy > strong { font-size: .95rem; }
    .phomi-documents-footer { flex-direction: column; gap: 6px; font-size: .72rem; }
    .phomi-document-dialog { width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
    .phomi-document-dialog__header { gap: 14px; padding: 14px 16px; }
    .phomi-document-dialog__body { grid-template-columns: 1fr; gap: 20px; padding: 20px 16px; }
    .phomi-document-dialog__details { order: -1; }
    .phomi-document-dialog__preview > div { height: 55vh; height: 55dvh; }
    .phomi-story-review__grid { grid-template-columns: 1fr; grid-template-areas: 'intro' 'media' 'controls' 'details'; grid-template-rows: auto; gap: 0; }
    .phomi-story-review__stage { margin-top: 28px; }
    .phomi-story-review__media video { height: min(112vw, 480px); }
    .phomi-story-review__person { margin-top: 22px; padding-top: 22px; }
    .phomi-story-review__caption > p { margin-top: 14px; }
    .phomi-story-cta__grid { gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
    .phomi-story *, .phomi-story *::before, .phomi-story *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
