/* Rekesz Photography – koncepcióterv. Sötét, filmes, nagy képek. */
@font-face { font-family: "La Belle Aurore"; src: url("../fonts/la-belle-aurore.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff") format("woff"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }

.demo-fotos {
    --rk-black: #0b0b0b; --rk-gray: #1a1a19; --rk-line: rgba(237, 232, 221, .2); --rk-bone: #ede8dd; --rk-red: #e8352e; --rk-mute: #9a958a;
    --d-bg: var(--rk-bone); --d-ink: var(--rk-black); --d-accent: var(--rk-red); --d-on-accent: #fff;
    --d-font: "Archivo", system-ui, sans-serif; --d-display: 900 40px/1 "Archivo", system-ui, sans-serif;
    background: var(--rk-black); color: var(--rk-bone); font: 400 17px/1.6 "Archivo", system-ui, sans-serif;
}
:where(.demo-fotos) :where(h1, h2, h3, p, ul, ol, figure, dl) { margin: 0; padding: 0; }
:where(.demo-fotos) :where(ul, ol) { list-style: none; }
:where(.demo-fotos) a { color: inherit; }
.demo-fotos :focus-visible { outline: 3px solid var(--rk-red); outline-offset: 3px; }
.demo-fotos ::selection { background: var(--rk-red); color: #fff; }
.bd-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rk-wrap { width: min(1280px, 100% - 2 * clamp(18px, 4vw, 48px)); margin-inline: auto; }
.rk-kicker { font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--rk-red); }
/* a hero fotóján a vörös jelzés elveszne: világosabb vörös és árnyék, hogy minden képnél olvasható maradjon */
.rk-hero .rk-kicker { color: #ff7b70; text-shadow: 0 1px 14px rgba(0, 0, 0, .7); }
.rk-fine { margin-top: 28px; font: 400 12px "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--rk-mute); }

.rk-btn { display: inline-block; padding: 16px 26px; border: 2px solid var(--rk-bone); background: transparent; color: var(--rk-bone); font: 800 14px/1 "Archivo", sans-serif; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.rk-btn:hover { transform: translateY(-3px); }
.rk-btn--red { background: var(--rk-red); border-color: var(--rk-red); color: #fff; }
.rk-btn--red:hover { background: #fff; border-color: #fff; color: var(--rk-black); }
.rk-btn--line:hover { background: var(--rk-bone); color: var(--rk-black); }
.rk-btn--sm { padding: 12px 18px; font-size: 12.5px; }
.rk-btn--lg { padding: 22px 34px; font-size: 16px; }
.rk-btn--block { width: 100%; text-align: center; }
.rk-link { font: 700 14px "Archivo", sans-serif; font-stretch: 112%; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--rk-red); padding-bottom: 4px; }
.rk-link:hover { color: var(--rk-red); }

/* fejléc */
.rk-head { position: sticky; top: var(--bar-h); z-index: 100; background: rgba(11, 11, 11, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rk-line); }
.admin-bar .rk-head { top: calc(var(--bar-h) + 32px); }
.rk-head__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.rk-logo { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.rk-logo b { font: 900 26px/1 "Archivo", sans-serif; font-stretch: 125%; letter-spacing: -.01em; }
.rk-logo span { font: 500 11px "JetBrains Mono", monospace; letter-spacing: .2em; text-transform: uppercase; color: var(--rk-red); }
.rk-nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 38px); }
.rk-nav > a { font: 600 13px "Archivo", sans-serif; font-stretch: 110%; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .2s; }
.rk-nav > a:hover { border-color: var(--rk-red); }
.rk-burger { display: none; width: 46px; height: 46px; border: 2px solid var(--rk-bone); background: none; cursor: pointer; position: relative; }
.rk-burger i, .rk-burger i::before, .rk-burger i::after { position: absolute; left: 50%; width: 20px; height: 2px; background: var(--rk-bone); content: ""; transform: translateX(-50%); }
.rk-burger i { top: 50%; } .rk-burger i::before { top: -7px; } .rk-burger i::after { top: 7px; }

/* hero: élességhúzás */
.rk-hero { position: relative; min-height: calc(100svh - var(--bar-h) - 68px); min-height: max(560px, calc(100svh - var(--bar-h) - 68px)); display: flex; align-items: flex-end; overflow: hidden; background: #000; cursor: crosshair; isolation: isolate; --fx: 68%; --fy: 42%; --fr: 250px; touch-action: pan-y; }
.rk-hero__bg { position: absolute; inset: -20px; }
.rk-hero__bg .photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 50%; }
.rk-hero__bg--blur { filter: blur(16px) brightness(.46) saturate(.5); }
.rk-hero__bg--sharp { inset: 0; filter: saturate(1.2) contrast(1.08) brightness(1.05); }
.rk-hero.is-live .rk-hero__bg--sharp { -webkit-mask-image: radial-gradient(circle var(--fr) at var(--fx) var(--fy), #000 0 50%, transparent 100%); mask-image: radial-gradient(circle var(--fr) at var(--fx) var(--fy), #000 0 50%, transparent 100%); }
.rk-hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .3) 40%, rgba(0, 0, 0, 0) 68%); pointer-events: none; z-index: 1; }
.rk-hero__in { position: relative; z-index: 3; padding-bottom: clamp(72px, 9vw, 120px); pointer-events: none; }
.rk-hero__in > * { pointer-events: auto; }
.rk-hero h1 { position: relative; width: fit-content; max-width: 100%; margin: 14px 0 calc(.2em + 18px); font: 900 clamp(40px, 16vw, 270px)/.78 "Archivo", sans-serif; font-stretch: 125%; letter-spacing: -.045em; text-transform: uppercase; }
/* kézírásos "photography": a REKESZ alatt jobbra, enyhén döntve; az oldal megnyitásakor kiírja magát (balról jobbra, tollszerűen
   egyenetlen tempóval), a végén egy hullámos aláhúzás is "megrajzolódik". Csökkentett mozgásnál rögtön kész. */
.rk-script { position: absolute; right: .02em; bottom: -.44em; display: block; font: 400 max(.36em, 34px)/1 "La Belle Aurore", "Segoe Script", "Brush Script MT", cursive; font-stretch: 100%; letter-spacing: 0; text-transform: none; white-space: nowrap; color: #ff5a4e; text-shadow: 0 2px 16px rgba(0, 0, 0, .55); transform: rotate(-6deg); transform-origin: 100% 60%; pointer-events: none; }
.rk-script__txt { display: block; padding: .3em .25em .4em; margin: -.3em -.25em -.4em; -webkit-mask-image: linear-gradient(100deg, #000 0 36%, transparent 41%); mask-image: linear-gradient(100deg, #000 0 36%, transparent 41%); -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: 100% 0; mask-position: 100% 0; animation: rk-write 3s .8s both; }
.rk-script__line { position: absolute; left: 10%; right: -2%; bottom: -.16em; width: 88%; height: .3em; overflow: visible; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; }
.rk-script__line path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: rk-underline .8s ease-out 3.6s forwards; }
@keyframes rk-write {
    0%   { -webkit-mask-position: 100% 0; mask-position: 100% 0; animation-timing-function: ease-in-out; }
    14%  { -webkit-mask-position: 82% 0;  mask-position: 82% 0;  animation-timing-function: ease-in-out; }
    18%  { -webkit-mask-position: 80% 0;  mask-position: 80% 0;  animation-timing-function: ease-in-out; }
    38%  { -webkit-mask-position: 56% 0;  mask-position: 56% 0;  animation-timing-function: ease-in-out; }
    43%  { -webkit-mask-position: 54% 0;  mask-position: 54% 0;  animation-timing-function: ease-in-out; }
    64%  { -webkit-mask-position: 28% 0;  mask-position: 28% 0;  animation-timing-function: ease-in-out; }
    68%  { -webkit-mask-position: 26% 0;  mask-position: 26% 0;  animation-timing-function: ease-in-out; }
    100% { -webkit-mask-position: 0% 0;   mask-position: 0% 0; }
}
@keyframes rk-underline { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
    .rk-script__txt { animation: none; -webkit-mask-image: none; mask-image: none; }
    .rk-script__line path { animation: none; stroke-dashoffset: 0; }
}
.rk-lead { max-width: 30em; font-size: clamp(17px, 1.5vw, 21px); color: #d9d4c8; }
.rk-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-top: 30px; }
.rk-note { position: absolute; z-index: 3; right: clamp(18px, 4vw, 48px); bottom: 56px; font: 400 11px "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: rgba(237, 232, 221, .55); }

.rk-vf { position: absolute; inset: 18px; z-index: 2; pointer-events: none; font: 500 12px/1 "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.rk-vf__c { position: absolute; width: 34px; height: 34px; border: 0 solid rgba(255, 255, 255, .8); }
.rk-vf__c--tl { left: 0; top: 0; border-width: 2px 0 0 2px; } .rk-vf__c--tr { right: 0; top: 0; border-width: 2px 2px 0 0; }
.rk-vf__c--bl { left: 0; bottom: 0; border-width: 0 0 2px 2px; } .rk-vf__c--br { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.rk-vf__bar { position: absolute; left: 48px; right: 48px; display: flex; justify-content: space-between; gap: 16px; }
.rk-vf__bar--t { top: 8px; } .rk-vf__bar--b { bottom: 8px; }
.rk-vf__bar b { color: var(--rk-red); font-weight: 700; }
.rk-vf__bar--b b { color: #fff; }
.rk-focus { position: absolute; left: 0; top: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px; transform: translate(var(--px, 68vw), var(--py, 42vh)); transition: transform .08s linear; will-change: transform; }
.rk-focus::before, .rk-focus::after, .rk-focus span::before, .rk-focus span::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid #fff; }
.rk-focus::before { left: 0; top: 0; border-width: 3px 0 0 3px; } .rk-focus::after { right: 0; top: 0; border-width: 3px 3px 0 0; }
.rk-focus span::before { left: 0; bottom: 0; border-width: 0 0 3px 3px; } .rk-focus span::after { right: 0; bottom: 0; border-width: 0 3px 3px 0; }
.rk-focus.is-lock::before, .rk-focus.is-lock::after, .rk-focus.is-lock span::before, .rk-focus.is-lock span::after { border-color: #5df08a; }
.rk-flash { position: absolute; inset: 0; z-index: 5; background: #fff; opacity: 0; pointer-events: none; }
.rk-flash.is-on { animation: rk-flash .35s ease-out; }
@keyframes rk-flash { 0% { opacity: .95; } 100% { opacity: 0; } }

.rk-sec { padding: clamp(48px, 5vw, 72px) 0; }
.rk-sec h2, .rk-book h2 { font: 900 clamp(32px, 6.4vw, 100px)/.92 "Archivo", sans-serif; font-stretch: 118%; letter-spacing: -.035em; text-transform: uppercase; margin-top: 14px; }
.rk-sec h2, .rk-book h2 { overflow-wrap: break-word; }
.rk-about h2 { font-size: clamp(30px, 4.8vw, 72px); overflow-wrap: normal; }
/* nagy képernyőn a "TERMÉSZETES" szó sem törhet ketté: a betűméret a szövegoszlop szélességéhez igazodik */
.rk-about__txt { container-type: inline-size; }
@supports (width: 1cqi) { .rk-about h2 { font-size: clamp(30px, min(4.8vw, 10.2cqi), 80px); } }
.rk-sec h2 em, .rk-book h2 em { font-style: normal; color: var(--rk-red); }

/* galéria */
.rk-sec__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.rk-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.rk-chip { padding: 10px 16px; border: 1.5px solid var(--rk-line); background: transparent; color: var(--rk-bone); font: 500 12px "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.rk-chip:hover { border-color: var(--rk-bone); }
.rk-chip.is-on { background: var(--rk-red); border-color: var(--rk-red); color: #fff; }
/* Sorokra igazított galéria: minden sor ugyanolyan magas képekből áll, és a teljes szélességet kitölti,
   így a bal, a jobb és az alsó szél is egyenes. Az --r a kép szélesség/magasság aránya. */
.rk-gallery { --rk-row: 320px; --rk-max: 520px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.rk-item { position: relative; display: block; flex: calc(var(--r, 1) * 100) 1 calc(var(--r, 1) * var(--rk-row)); min-width: 0; max-width: calc(var(--r, 1) * var(--rk-max)); margin: 0; padding: 0; border: 0; background: #151514; overflow: hidden; cursor: zoom-in; transition: opacity .4s, transform .4s; }
.rk-item__frame { position: relative; display: block; width: 100%; overflow: hidden; }
.rk-item .photo { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1), filter .5s; filter: saturate(.9) contrast(1.04); }
.rk-item:hover .photo, .rk-item:focus-visible .photo { transform: scale(1.06); filter: saturate(1.1) contrast(1.08); }
.rk-item__cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 40px 18px 16px; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); transform: translateY(100%); transition: transform .35s ease; color: #fff; }
.rk-item:hover .rk-item__cap, .rk-item:focus-visible .rk-item__cap { transform: none; }
.rk-item__cap b { font: 800 17px "Archivo", sans-serif; font-stretch: 112%; text-transform: uppercase; letter-spacing: .03em; }
.rk-item__cap small { font: 400 11.5px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #c9c4b8; }
.rk-item.is-hidden { display: none; }
.rk-break { flex: 0 0 100%; height: 0; margin: 0; }
.rk-gallery.is-justified { row-gap: 0; margin-bottom: -12px; }
.rk-gallery.is-justified .rk-item { margin-bottom: 12px; }

/* csomagok */
.rk-packs { background: var(--rk-gray); border-block: 1px solid var(--rk-line); }
.rk-packs__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(32px, 5vw, 56px); align-items: stretch; }
.rk-pack { position: relative; display: flex; flex-direction: column; gap: 6px; padding: clamp(24px, 2.6vw, 36px); background: var(--rk-black); border: 1.5px solid var(--rk-line); transition: translate .4s cubic-bezier(.2, .8, .2, 1), background-color .35s ease, border-color .35s ease, color .35s ease, box-shadow .4s ease; }
.rk-pack__meta, .rk-pack li, .rk-pack li::before, .rk-pack .rk-btn { transition: color .35s ease, background-color .35s ease, border-color .35s ease, transform .2s ease; }
/* ráállva (vagy billentyűvel rálépve): a kártya vörös keretet és enyhe vörös izzást kap, halványan vörösbe hajlik, és felemelkedik; alapból mind egyforma.
   Az egérnélküli (érintős) eszközökön csak a billentyűs/érintéses fókusz váltja ki. */
.rk-pack:focus-within { translate: 0 -14px; background: #170e0d; border-color: var(--rk-red); box-shadow: 0 0 0 1px var(--rk-red), 0 26px 60px -24px rgba(232, 53, 46, .5); }
.rk-pack:focus-within .rk-pack__meta, .rk-pack:focus-within li { border-color: rgba(232, 53, 46, .3); }
.rk-pack:focus-within .rk-btn { background: var(--rk-red); border-color: var(--rk-red); color: #fff; }
.rk-pack:focus-within .rk-btn:hover { background: #fff; border-color: #fff; color: var(--rk-black); }
@media (hover: hover) {
    .rk-pack:hover { translate: 0 -14px; background: #170e0d; border-color: var(--rk-red); box-shadow: 0 0 0 1px var(--rk-red), 0 26px 60px -24px rgba(232, 53, 46, .5); }
    .rk-pack:hover .rk-pack__meta, .rk-pack:hover li { border-color: rgba(232, 53, 46, .3); }
    .rk-pack:hover .rk-btn { background: var(--rk-red); border-color: var(--rk-red); color: #fff; }
    .rk-pack:hover .rk-btn:hover { background: #fff; border-color: #fff; color: var(--rk-black); }
}
.rk-pack__flag { position: absolute; top: -13px; left: 24px; padding: 5px 12px; background: var(--rk-red); color: #fff; font: 600 11px "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.rk-pack h3 { font: 800 clamp(26px, 2.4vw, 34px)/1 "Archivo", sans-serif; font-stretch: 118%; text-transform: uppercase; letter-spacing: -.01em; }
.rk-pack__price { margin-top: 12px; font: 900 clamp(38px, 3.8vw, 54px)/1 "Archivo", sans-serif; font-stretch: 110%; letter-spacing: -.03em; }
.rk-pack__meta { font: 500 12px "JetBrains Mono", monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--rk-mute); padding-bottom: 18px; border-bottom: 1px solid var(--rk-line); }
.rk-pack ul { flex: 1; display: grid; gap: 0; margin: 12px 0 26px; }
.rk-pack li { padding: 10px 0 10px 24px; border-bottom: 1px solid rgba(237, 232, 221, .1); position: relative; font-size: 16px; }
.rk-pack li::before { content: "▸"; position: absolute; left: 0; color: var(--rk-red); font-family: "JetBrains Mono", monospace; }

/* görgetésre beúszó elemek (a js/demo-fotos.js adja hozzá az .rk-rv osztályt, ezért JS nélkül minden látszik) */
@keyframes rk-in {
    from { opacity: 0; transform: translateY(var(--rv-y, 36px)) scale(var(--rv-s, 1)); }
    to   { opacity: 1; transform: none; }
}
/* a homály külön, rövidebb animáción fut: gyorsan kitisztul, miközben az elem még a helyére úszik */
@keyframes rk-blur {
    from { filter: blur(var(--rv-b, 8px)); }
    to   { filter: blur(0); }
}
.rk-rv:not(.is-in) { opacity: 0; }
.rk-rv.is-in { animation: rk-in .5s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) backwards, rk-blur .26s ease-out var(--d, 0ms) backwards; }
.rk-item.rk-rv, .rk-about__fig.rk-rv { --rv-y: 56px; --rv-b: 16px; --rv-s: .97; }
.rk-pack.rk-rv, .rk-strip li.rk-rv { --rv-y: 48px; --rv-b: 10px; }
.rk-sec h2.rk-rv, .rk-book h2.rk-rv { --rv-y: 32px; --rv-b: 8px; }
.rk-sec .rk-kicker.rk-rv, .rk-fine.rk-rv, .rk-filters.rk-rv, .rk-about__txt > .rk-rv { --rv-y: 22px; --rv-b: 4px; }

/* folyamat: filmszalag */
.rk-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(32px, 5vw, 56px); padding: 30px 0; background: #050505; border: 1px solid var(--rk-line); position: relative; }
/* a filmszalag lyukai lassan, egy irányba vonulnak (mintha húznák a filmet); a 44 px a minta ismétlődése, így a hurok zökkenőmentes */
.rk-strip::before, .rk-strip::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: repeating-linear-gradient(90deg, transparent 0 14px, #3a3a35 14px 30px, transparent 30px 44px); background-size: 44px 100%; mask-image: linear-gradient(#000, #000); animation: rk-film 4.4s linear infinite; }
@keyframes rk-film { to { background-position: -44px 0; } }
.rk-strip::before { top: 8px; } .rk-strip::after { bottom: 8px; }
.rk-strip li { padding: 18px clamp(16px, 2vw, 28px); border-right: 2px solid #000; background: var(--rk-gray); margin: 0 4px; transition: background .25s, transform .25s; }
.rk-strip li:hover { background: #242422; transform: translateY(-4px); }
.rk-strip__no { display: block; font: 600 12px "JetBrains Mono", monospace; letter-spacing: .12em; color: var(--rk-red); margin-bottom: 36px; }
.rk-strip__no::before { content: "▸ "; }
.rk-strip h3 { font: 800 clamp(22px, 2vw, 28px)/1 "Archivo", sans-serif; font-stretch: 116%; text-transform: uppercase; margin-bottom: 8px; }
.rk-strip p { font-size: 15.5px; color: #cfcabe; }

/* rólam */
.rk-about__in > * { min-width: 0; }
.rk-about__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.rk-about__fig { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #151514; }
.rk-about__fig .photo { width: 100%; height: 100%; display: block; object-fit: cover; }
.rk-about__fig figcaption { position: absolute; left: 12px; bottom: 12px; padding: 4px 8px; background: rgba(0, 0, 0, .65); font: 400 11px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #ddd; }
.rk-about__in p:not(.rk-kicker) { margin-top: 20px; max-width: 34em; font-size: 19px; color: #d9d4c8; }

.rk-book { padding: clamp(56px, 6vw, 88px) 0; background: var(--rk-red); color: #fff; }
.rk-book__in { display: grid; gap: 36px; justify-items: start; }
.rk-book h2 { max-width: 12em; }
.rk-book h2 em { color: var(--rk-black); }
.rk-book .rk-btn--red { background: var(--rk-black); border-color: var(--rk-black); }
.rk-book .rk-btn--red:hover { background: #fff; border-color: #fff; color: var(--rk-black); }
.rk-foot { background: #000; padding: 24px 0; font: 400 12px "JetBrains Mono", monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--rk-mute); }
.rk-foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.rk-foot a { text-decoration: none; color: var(--rk-bone); }

/* lightbox */
.rk-lightbox { width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; margin: 0; padding: 0; border: 0; overflow: hidden; background: rgba(5, 5, 5, .96); color: var(--rk-bone); }
.rk-lightbox::backdrop { background: rgba(0, 0, 0, .9); }
/* A nagyított kép mindig egészben a képernyőn marad (nincs görgetés): a képdoboz a rendelkezésre álló helyet kapja, a kép pedig
   abszolút pozícióval, "contain" illesztéssel tölti ki, így a mérete nem hizlalja a rácsot (álló, fekvő és panorámakép is belefér). */
.rk-lightbox__in { position: relative; box-sizing: border-box; display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px; grid-template-rows: minmax(0, 1fr); align-items: center; width: 100%; height: 100%; padding: 28px; overflow: hidden; }
.rk-lightbox__fig { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; width: 100%; height: 100%; min-height: 0; min-width: 0; margin: 0; justify-items: center; }
.rk-lightbox__img { position: relative; height: 100%; aspect-ratio: 4 / 5; max-width: 100%; min-height: 0; overflow: hidden; }
.rk-lightbox__img > svg { width: 100%; height: 100%; display: block; }
.rk-lightbox__img .photo { width: 100%; height: 100%; display: block; }
.rk-lightbox__img.has-photo { aspect-ratio: auto; width: 100%; overflow: hidden; }
.rk-lightbox__img.has-photo .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: none; transform: none; }
.rk-lightbox figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font: 400 12px "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase; color: #cfcabe; }
.rk-lightbox figcaption b { color: #fff; }
.rk-lightbox__close, .rk-lightbox__nav { width: 48px; height: 48px; border: 1.5px solid var(--rk-line); background: transparent; color: var(--rk-bone); font-size: 20px; cursor: pointer; transition: background .2s, border-color .2s; }
.rk-lightbox__close:hover, .rk-lightbox__nav:hover { background: var(--rk-red); border-color: var(--rk-red); }
.rk-lightbox__close { position: absolute; right: 22px; top: 22px; z-index: 2; }

@media (max-width: 1000px) {
    .rk-gallery { --rk-row: 260px; --rk-max: 440px; }
    .rk-packs__grid { grid-template-columns: 1fr; max-width: 560px; }
    .rk-strip { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
    .rk-about__in { grid-template-columns: 1fr; }
    .rk-about__fig { max-width: 420px; }
}
@media (max-width: 900px) {
    .rk-burger { display: block; }
    .rk-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 10px clamp(18px, 4vw, 48px) 26px; background: #0b0b0b; border-bottom: 1px solid var(--rk-line); display: none; }
    .rk-nav.is-open { display: flex; }
    .rk-nav > a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid var(--rk-line); }
    .rk-nav .rk-btn { margin-top: 18px; }
}
@media (max-width: 620px) {
    .rk-hero h1 { margin-bottom: calc(.55em + 10px); }
    .rk-sec h2, .rk-book h2 { font-size: clamp(32px, 9vw, 44px); }
    .rk-about h2 { font-size: clamp(30px, 8.2vw, 38px); }
    .rk-vf { font-size: 10px; }
    .rk-vf__bar { left: 44px; right: 44px; white-space: nowrap; }
    .rk-gallery { --rk-row: 300px; --rk-max: 520px; }
    .rk-strip { grid-template-columns: 1fr; }
    .rk-vf__bar span:nth-child(2) { display: none; }
    .rk-note { display: none; }
    .rk-lightbox__in { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); padding: 14px; }
    .rk-lightbox__nav { position: absolute; bottom: 14px; z-index: 2; }
    .rk-lightbox__nav--prev { left: 14px; } .rk-lightbox__nav--next { right: 14px; }
    .rk-lightbox__fig { padding-bottom: 62px; padding-top: 44px; }
    .rk-lightbox__close { top: 12px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .rk-focus { transition: none; }
    .rk-pack, .rk-pack__meta, .rk-pack li, .rk-pack li::before, .rk-pack .rk-btn { transition: none; }
    .rk-pack:hover, .rk-pack:focus-within { translate: 0 0; }
    .rk-strip::before, .rk-strip::after { animation: none; }
}
