/* ==========================================================================
   szandifoto.hu — stylesheet
   Contents
   01 Tokens
   03 Reset & base
   04 Typography
   05 Layout primitives
   06 Buttons & links
   07 Header & navigation
   08 Home hero
   09 Category rail
   10 Quote
   11 Feature cards
   12 Photo cards
   13 Split sections
   14 Portfolio & gallery
   15 Lightbox
   16 Page hero
   17 Prose & callouts
   18 Video
   19 Contact & form
   20 CTA band
   21 Footer
   22 Motion & utilities
   ========================================================================== */

/* 01 Tokens --------------------------------------------------------------- */

:root {
    /* Surfaces */
    --bg: #0b0b0c;
    --bg-1: #121214;
    --bg-2: #17171a;
    --bg-3: #1e1e22;

    /* Lines */
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(255, 255, 255, 0.2);

    /* Text */
    --text: #ececed;
    --text-muted: #a4a4aa;
    --text-dim: #76767d;

    /* Accent — the brand gold carried over from the old site */
    --accent: #fbb42f;
    --accent-bright: #ffc55f;
    --accent-deep: #d1901c;
    --accent-wash: rgba(251, 180, 47, 0.12);
    --accent-line: rgba(251, 180, 47, 0.35);
    --on-accent: #171208;

    /* Type — system UI, no webfont download / swap */
    --font-sans: system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-display: var(--font-sans);
    --font-body: var(--font-sans);

    --text-xs: clamp(0.75rem, 0.74rem + 0.05vw, 0.78rem);
    --text-sm: clamp(0.85rem, 0.83rem + 0.1vw, 0.9rem);
    --text-base: clamp(1rem, 0.97rem + 0.14vw, 1.06rem);
    --text-lg: clamp(1.1rem, 1.05rem + 0.28vw, 1.25rem);
    --text-xl: clamp(1.3rem, 1.2rem + 0.5vw, 1.6rem);
    --text-2xl: clamp(1.55rem, 1.35rem + 1vw, 2.25rem);
    --text-3xl: clamp(1.9rem, 1.5rem + 1.9vw, 3.1rem);
    --text-4xl: clamp(2.3rem, 1.6rem + 3.2vw, 4.4rem);

    /* Space & shape */
    --wrap: 75rem;
    --wrap-narrow: 46rem;
    --gutter: clamp(1.15rem, 4vw, 3rem);
    --section-y: clamp(3.75rem, 8vw, 7.5rem);
    --radius: 3px;
    --radius-lg: 6px;
    --header-h: 4.5rem;

    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.55);

    --scroll-track: var(--bg);
    --scroll-thumb: #2e2e33;
    --scroll-thumb-hover: #45454c;

    color-scheme: dark;
}

@media (min-width: 62rem) {
    :root {
        --header-h: 5.25rem;
    }
}

/* 03 Reset & base --------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) var(--scroll-track);
    scrollbar-gutter: stable;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--scroll-track);
}

::-webkit-scrollbar-thumb {
    background: var(--scroll-thumb);
    border: 2px solid var(--scroll-track);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--scroll-thumb-hover);
}

::-webkit-scrollbar-corner {
    background: var(--scroll-track);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.005em;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body[data-nav-open] {
    overflow: hidden;
}

img,
picture,
video,
svg,
iframe {
    display: block;
    max-width: 100%;
}

img,
video {
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

button {
    background: none;
    border: 0;
    cursor: pointer;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 2px;
}

::selection {
    background: var(--accent);
    color: var(--on-accent);
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 0;
}

/* 04 Typography ----------------------------------------------------------- */

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

h1 {
    font-size: var(--text-4xl);
    font-weight: 700;
}

h2 {
    font-size: var(--text-3xl);
}

h3 {
    font-size: var(--text-xl);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

h4 {
    font-size: var(--text-lg);
    line-height: 1.3;
}

p {
    text-wrap: pretty;
}

strong,
b {
    font-weight: 600;
    color: #fff;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.15rem;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
}

.eyebrow::before {
    content: '';
    width: 2rem;
    height: 1px;
    background: currentColor;
    flex: none;
}

.eyebrow--center {
    justify-content: center;
}

.lead {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 58ch;
}

.icon {
    width: 1.5rem;
    height: 1.5rem;
    flex: none;
}

.icon--sm {
    width: 1.05rem;
    height: 1.05rem;
}

/* 05 Layout primitives ---------------------------------------------------- */

.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.wrap--narrow {
    max-width: var(--wrap-narrow);
}

.section {
    padding-block: var(--section-y);
}

.section--tight {
    padding-block: calc(var(--section-y) * 0.6);
}

.section--elevated {
    background: var(--bg-1);
    border-block: 1px solid var(--line);
}

.section-head {
    max-width: 44rem;
    margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head p:not(.eyebrow) {
    margin-top: 1.1rem;
    color: var(--text-muted);
    font-size: var(--text-lg);
}

.section-head--center .eyebrow {
    justify-content: center;
}

.stack > * + * {
    margin-top: 1.1rem;
}

.mt-block {
    margin-top: clamp(3rem, 6vw, 5rem);
}

/* 06 Buttons & links ------------------------------------------------------ */

.btn {
    --btn-bg: transparent;
    --btn-fg: var(--text);
    --btn-border: var(--line-strong);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.95rem 1.6rem;
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 1px solid var(--btn-border);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
        border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: none;
}

.btn--accent {
    --btn-bg: var(--accent);
    --btn-fg: var(--on-accent);
    --btn-border: var(--accent);
}

.btn--accent:hover {
    --btn-bg: var(--accent-bright);
    --btn-border: var(--accent-bright);
}

.btn--ghost:hover {
    --btn-border: var(--accent);
    --btn-fg: var(--accent);
}

.btn--outline {
    --btn-border: var(--accent-line);
    --btn-fg: var(--accent);
}

.btn--outline:hover {
    --btn-bg: var(--accent-wash);
    --btn-border: var(--accent);
}

.btn--sm {
    padding: 0.7rem 1.1rem;
    font-size: var(--text-xs);
}

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.btn-row--center {
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 3.25rem);
}

/* Row of anchor chips used as an in-page service switcher */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.chip-row--spaced {
    margin-top: clamp(2rem, 4vw, 3rem);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.1rem;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
        background-color 0.25s var(--ease);
}

.chip .icon {
    width: 1.15rem;
    height: 1.15rem;
    color: var(--accent);
}

.chip:hover {
    color: var(--text);
    border-color: var(--accent-line);
    background: var(--bg-2);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}

.text-link:hover {
    border-color: currentColor;
    gap: 0.75rem;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 300;
    padding: 0.7rem 1.1rem;
    background: var(--accent);
    color: var(--on-accent);
    border-radius: var(--radius);
    font-weight: 600;
    transform: translateY(-150%);
    transition: transform 0.2s var(--ease);
}

.skip-link:focus {
    transform: none;
}

/* 07 Header & navigation -------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 12, 0.82);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.site-header[data-stuck]::before,
body[data-nav-open] .site-header::before {
    opacity: 1;
}

.site-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 3vw, 2.5rem);
    height: var(--header-h);
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.brand {
    flex: none;
    margin-right: auto;
}

.brand img {
    width: auto;
    height: clamp(1.85rem, 4.5vw, 2.4rem);
}

.primary-nav__list {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 1.6vw, 1.5rem);
}

.primary-nav__list a {
    position: relative;
    display: block;
    padding: 0.4rem 0;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    white-space: nowrap;
    transition: color 0.25s var(--ease);
}

.primary-nav__list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s var(--ease);
}

.primary-nav__list a:hover {
    color: var(--text);
}

.primary-nav__list a:hover::after {
    transform: scaleX(1);
}

.primary-nav__list a[aria-current='page'] {
    color: var(--accent);
}

.primary-nav__list a[aria-current='page']::after {
    transform: scaleX(1);
}

.primary-nav__aside {
    display: none;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: none;
}

.nav-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    transition: border-color 0.25s var(--ease);
}

.nav-toggle:hover {
    border-color: var(--accent);
}

.nav-toggle__box {
    display: grid;
    gap: 4px;
    width: 1.15rem;
}

.nav-toggle__box span {
    height: 1.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__box span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__box span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__box span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(4, 4, 5, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

body[data-nav-open] .nav-backdrop {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 68rem) {
    .primary-nav {
        position: fixed;
        top: var(--header-h);
        right: 0;
        bottom: 0;
        z-index: 90;
        width: min(23rem, 88vw);
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 2rem var(--gutter) 2.5rem;
        background: var(--bg-1);
        border-left: 1px solid var(--line);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(101%);
        transition: transform 0.4s var(--ease);
    }

    body[data-nav-open] .primary-nav {
        transform: none;
    }

    .primary-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .primary-nav__list li + li {
        border-top: 1px solid var(--line);
    }

    .primary-nav__list a {
        padding: 0.95rem 0;
        font-size: 1.05rem;
        font-weight: 500;
    }

    .primary-nav__list a::after {
        display: none;
    }

    .primary-nav__aside {
        display: grid;
        gap: 0.6rem;
        margin-top: auto;
        padding-top: 1.75rem;
        border-top: 1px solid var(--line);
    }

    .primary-nav__label {
        color: var(--accent);
        font-family: var(--font-display);
        font-size: var(--text-xs);
        font-weight: 600;
        letter-spacing: 0.2em;
        text-transform: uppercase;
    }

    .primary-nav__contact {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        color: var(--text-muted);
        font-size: var(--text-sm);
        line-height: 1.4;
    }

    .primary-nav__contact:hover {
        color: var(--text);
    }

    .primary-nav__contact .icon {
        color: var(--accent);
    }

    .nav-toggle {
        display: grid;
    }

    .site-header__cta {
        display: none;
    }
}

@media (min-width: 68.0625rem) {
    .nav-backdrop {
        display: none;
    }
}

/* 08 Home hero ------------------------------------------------------------ */

.hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 40rem;
    min-height: min(46rem, 92svh);
    margin-top: calc(var(--header-h) * -1);
    padding-block: calc(var(--header-h) + 4rem) clamp(3rem, 7vw, 6rem);
    isolation: isolate;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 32%;
}

.hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--bg) 2%, rgba(11, 11, 12, 0.55) 45%, rgba(11, 11, 12, 0.72) 100%),
        linear-gradient(to right, rgba(11, 11, 12, 0.85), rgba(11, 11, 12, 0.15) 70%);
}

.hero h1 {
    max-width: 22ch;
}

.hero__lead {
    max-width: 46ch;
    margin-top: 1.5rem;
    color: var(--text-muted);
    font-size: var(--text-lg);
}

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 2rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--text-dim);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__meta li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero__meta .icon {
    color: var(--accent);
}

/* 09 Category rail -------------------------------------------------------- */

.rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.6rem, 1.5vw, 1.1rem);
}

.rail-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--bg-2);
}

.rail-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
}

.rail-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 6, 7, 0.9) 0%, rgba(6, 6, 7, 0.1) 55%);
}

.rail-card:hover img {
    transform: scale(1.05);
}

.rail-card__label {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1.1rem 1.25rem;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.rail-card__label .icon {
    color: var(--accent);
    transform: translateX(-0.35rem);
    opacity: 0;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.rail-card:hover .rail-card__label .icon,
.rail-card:focus-visible .rail-card__label .icon {
    transform: none;
    opacity: 1;
}

@media (min-width: 56.0625rem) {
    .rail--three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 56rem) {
    .rail {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(13rem, 68%);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--gutter);
        padding-inline: var(--gutter);
        margin-inline: calc(var(--gutter) * -1);
        scrollbar-width: none;
    }

    .rail::-webkit-scrollbar {
        display: none;
    }

    .rail > * {
        scroll-snap-align: start;
    }
}

/* 10 Quote ---------------------------------------------------------------- */

.quote {
    position: relative;
    max-width: 52rem;
    margin-inline: auto;
    text-align: center;
}

.quote .icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-inline: auto;
    margin-bottom: 1.75rem;
    color: var(--accent);
    opacity: 0.9;
}

.quote blockquote {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.quote figcaption {
    margin-top: 1.75rem;
    color: var(--text-dim);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* 11 Feature cards -------------------------------------------------------- */

.feature-grid {
    display: grid;
    gap: clamp(0.75rem, 1.6vw, 1.25rem);
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: clamp(1.5rem, 2.4vw, 2.25rem);
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease),
        transform 0.3s var(--ease);
}

.feature-card:hover {
    border-color: var(--accent-line);
    background: var(--bg-2);
    transform: translateY(-3px);
}

.feature-card__icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    color: var(--accent);
    background: var(--accent-wash);
    border: 1px solid var(--accent-line);
    border-radius: var(--radius);
}

.feature-card h3 {
    font-size: var(--text-lg);
}

.feature-card p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.65;
}

/* 12 Photo cards ---------------------------------------------------------- */

.photo-cards {
    display: grid;
    gap: clamp(1rem, 2vw, 1.75rem);
    grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}

.photo-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s var(--ease);
}

.photo-card:hover {
    border-color: var(--accent-line);
}

.photo-card__media {
    overflow: hidden;
}

/* The source photos are portraits — cropping them to landscape looks wrong. */
.photo-card__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 35%;
    transition: transform 0.7s var(--ease);
}

.photo-card:hover .photo-card__media img {
    transform: scale(1.04);
}

.photo-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: clamp(1.25rem, 2vw, 1.75rem);
}

.photo-card__body p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.65;
}

.photo-card__index {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
}

.offer-grid {
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
}

@media (min-width: 48rem) {
    .offer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.offer-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.offer-card:hover,
.offer-card:focus-visible {
    border-color: var(--accent-line);
    transform: translateY(-3px);
}

.offer-card__media {
    overflow: hidden;
}

.offer-card__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 28%;
    transition: transform 0.7s var(--ease);
}

.offer-card:hover .offer-card__media img,
.offer-card:focus-visible .offer-card__media img {
    transform: scale(1.04);
}

.offer-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.7rem;
    padding: clamp(1.25rem, 2vw, 1.75rem);
}

.offer-card__index {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
}

.offer-card__body h3 {
    font-size: var(--text-xl);
}

.offer-card__body p {
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.65;
}

.offer-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.65rem;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.offer-card:hover .offer-card__cta .icon,
.offer-card:focus-visible .offer-card__cta .icon {
    transform: translateX(0.2rem);
}

.offer-card__cta .icon {
    transition: transform 0.25s var(--ease);
}

/* 13 Split sections ------------------------------------------------------- */

.split {
    display: grid;
    gap: clamp(1.75rem, 4vw, 4rem);
    align-items: center;
}

.split + .split {
    margin-top: var(--section-y);
    padding-top: var(--section-y);
    border-top: 1px solid var(--line);
}

.split__media {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.split__media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.split__body h2 {
    font-size: var(--text-2xl);
}

.split__body > p {
    margin-top: 1.15rem;
    color: var(--text-muted);
}

@media (min-width: 56rem) {
    .split {
        grid-template-columns: 1.15fr 0.85fr;
    }

    .split--reverse .split__media {
        order: -1;
    }
}

/* 14 Portfolio & gallery -------------------------------------------------- */

.photo-columns {
    columns: 1;
    column-gap: clamp(0.6rem, 1.4vw, 1rem);
}

@media (min-width: 40rem) {
    .photo-columns {
        columns: 2;
    }
}

@media (min-width: 64rem) {
    .photo-columns {
        columns: 3;
    }
}

.photo-columns > * {
    break-inside: avoid;
    margin-bottom: clamp(0.6rem, 1.4vw, 1rem);
}

.photo-tile {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-2);
    cursor: zoom-in;
}

.photo-tile img {
    width: 100%;
    transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}

.photo-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 6, 7, 0.55), transparent 55%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.photo-tile:hover img,
.photo-tile:focus-visible img {
    transform: scale(1.04);
}

.photo-tile:hover::after,
.photo-tile:focus-visible::after {
    opacity: 1;
}

.photo-tile__zoom {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--on-accent);
    background: var(--accent);
    border-radius: var(--radius);
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.photo-tile:hover .photo-tile__zoom,
.photo-tile:focus-visible .photo-tile__zoom {
    opacity: 1;
    transform: none;
}

/* Static (non-clickable) portfolio tiles keep the same framing */
.photo-frame {
    border-radius: var(--radius);
    overflow: hidden;
}

.photo-frame img {
    width: 100%;
    transition: transform 0.8s var(--ease);
}

.photo-frame:hover img {
    transform: scale(1.04);
}

/* Aligned "Munkáimból" strips — equal crops, not masonry */
.shot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.shot {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-2);
    cursor: zoom-in;
}

.shot img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: 50% 22%;
    transition: transform 0.8s var(--ease);
}

.shot-grid--wide .shot img {
    aspect-ratio: 4 / 3;
    object-position: 50% 45%;
}

.shot:hover img,
.shot:focus-visible img {
    transform: scale(1.04);
}

@media (min-width: 40rem) {
    .shot-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.65rem;
    }

    .shot-grid--wide {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 64rem) {
    .shot-grid {
        gap: 0.75rem;
    }

    .shot-grid--wide {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Homepage lookbook — aligned crops, not masonry */
.folio-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.35rem 2rem;
    margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}

.folio-head .section-head {
    margin-bottom: 0;
}

.folio {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.folio__tile {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-2);
    cursor: zoom-in;
    isolation: isolate;
}

.folio__tile img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 45%;
    transition: transform 0.8s var(--ease), filter 0.4s var(--ease);
}

.folio__tile--feature {
    grid-column: 1 / -1;
}

.folio__tile--feature img {
    aspect-ratio: 16 / 10;
    object-position: 50% 62%;
}

.folio__tile--portrait img {
    aspect-ratio: 4 / 5;
    object-position: 50% 18%;
}

.folio__tile--body img {
    object-position: 50% 36%;
}

.folio__tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 6, 7, 0.78) 0%, rgba(6, 6, 7, 0.12) 42%, transparent 62%);
    opacity: 0.55;
    transition: opacity 0.35s var(--ease);
}

.folio__tile--feature::after {
    opacity: 0.85;
    background: linear-gradient(to top, rgba(6, 6, 7, 0.72) 0%, transparent 48%);
}

.folio__tile:hover::after,
.folio__tile:focus-visible::after {
    opacity: 1;
}

.folio__tile:hover img,
.folio__tile:focus-visible img {
    transform: scale(1.045);
}

.folio__meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    color: var(--text);
    pointer-events: none;
}

.folio__index {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1;
}

.folio__tile--feature .folio__meta {
    padding: 1.15rem 1.25rem;
}

.folio__zoom {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--on-accent);
    background: var(--accent);
    border-radius: var(--radius);
    opacity: 0;
    transform: translateY(-0.35rem);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.folio__tile:hover .folio__zoom,
.folio__tile:focus-visible .folio__zoom {
    opacity: 1;
    transform: none;
}

@media (min-width: 40rem) {
    .folio:not(.folio--gallery) {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.65rem;
    }

    .folio:not(.folio--gallery) .folio__tile--feature {
        grid-column: 1 / -1;
    }

    .folio:not(.folio--gallery) .folio__tile--portrait {
        grid-column: span 2;
    }

    .folio:not(.folio--gallery) .folio__tile:not(.folio__tile--feature):not(.folio__tile--portrait) {
        grid-column: span 3;
    }
}

@media (min-width: 64rem) {
    .folio:not(.folio--gallery) {
        grid-template-columns: repeat(12, 1fr);
        gap: 0.75rem;
    }

    .folio:not(.folio--gallery) .folio__tile--feature {
        grid-column: 1 / -1;
    }

    .folio:not(.folio--gallery) .folio__tile--feature img {
        aspect-ratio: 2 / 1;
    }

    .folio:not(.folio--gallery) .folio__tile--portrait {
        grid-column: span 4;
    }

    .folio:not(.folio--gallery) .folio__tile:not(.folio__tile--feature):not(.folio__tile--portrait) {
        grid-column: span 3;
    }

    .folio__tile--feature .folio__meta {
        padding: 1.4rem 1.6rem;
    }
}

@media (hover: none) {
    .folio__tile::after {
        opacity: 0.75;
    }

    .folio--gallery .folio__tile::after {
        opacity: 0;
    }

    .folio__zoom {
        opacity: 1;
        transform: none;
    }
}

.folio--gallery {
    grid-template-columns: 1fr 1fr;
}

.folio--gallery .folio__tile {
    grid-column: auto;
    content-visibility: auto;
    contain-intrinsic-size: auto 18rem;
}

.folio--gallery .folio__tile img {
    aspect-ratio: 4 / 5;
    object-position: 50% 20%;
}

.folio--gallery .folio__tile[data-orient="landscape"] img {
    object-position: 50% 42%;
}

.folio--gallery .folio__tile::after {
    opacity: 0;
}

.folio--gallery .folio__tile:hover::after,
.folio--gallery .folio__tile:focus-visible::after {
    opacity: 1;
}

@media (min-width: 40rem) {
    .folio--gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.65rem;
    }
}

@media (min-width: 64rem) {
    .folio--gallery {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
}

.gallery-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.gallery-bar__count {
    color: var(--text-dim);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gallery-more {
    margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

@keyframes folio-in {
    from {
        opacity: 0;
        transform: translateY(0.7rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.folio__tile.is-appended {
    animation: folio-in 0.45s var(--ease);
}

/* 15 Lightbox ------------------------------------------------------------- */

.lightbox {
    position: fixed;
    inset: 0;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    overflow: hidden;
    background: rgba(6, 6, 7, 0.96);
    color: var(--text);
}

.lightbox::backdrop {
    background: rgba(6, 6, 7, 0.9);
}

.lightbox__stage {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    padding: clamp(3.5rem, 8vw, 5rem) clamp(1rem, 5vw, 4.5rem);
    overflow: hidden;
}

.lightbox__stage img {
    width: auto;
    height: auto;
    max-width: calc(100vw - 2 * clamp(1rem, 5vw, 4.5rem));
    max-height: calc(100vh - 2 * clamp(3.5rem, 8vw, 5rem));
    max-height: calc(100dvh - 2 * clamp(3.5rem, 8vw, 5rem));
    object-fit: contain;
    border-radius: var(--radius);
}

.lightbox__btn {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
        border-color 0.25s var(--ease);
}

.lightbox__btn:hover {
    color: var(--on-accent);
    background: var(--accent);
    border-color: var(--accent);
}

.lightbox__btn--close {
    top: 1rem;
    right: 1rem;
}

.lightbox__btn--prev {
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.lightbox__btn--next {
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
}

.lightbox__counter {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dim);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
}

/* 16 Page hero ------------------------------------------------------------ */

.page-hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 24rem;
    min-height: min(28rem, 62svh);
    margin-top: calc(var(--header-h) * -1);
    padding-block: calc(var(--header-h) + 3.5rem) clamp(2.5rem, 5vw, 4rem);
    isolation: isolate;
    border-bottom: 1px solid var(--line);
}

.page-hero__media {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.page-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 40%;
}

.page-hero__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, var(--bg) 1%, rgba(11, 11, 12, 0.6) 55%, rgba(11, 11, 12, 0.78)),
        linear-gradient(to right, rgba(11, 11, 12, 0.8), rgba(11, 11, 12, 0.25) 75%);
}

.page-hero h1 {
    font-size: var(--text-3xl);
    max-width: 26ch;
}

.page-hero__lead {
    max-width: 52ch;
    margin-top: 1.25rem;
    color: var(--text-muted);
    font-size: var(--text-lg);
}

/* The banner photos are wide strips, so a tall hero on a narrow screen would
   crop them down to an unrecognisable sliver. Shorter heroes keep the framing. */
@media (max-width: 40rem) {
    .hero {
        min-height: 34rem;
        min-height: min(38rem, 82svh);
    }

    .page-hero {
        min-height: 17rem;
        min-height: min(19rem, 50svh);
    }
}

/* 17 Prose & callouts ----------------------------------------------------- */

.prose {
    max-width: 62ch;
    color: var(--text-muted);
}

.prose--center {
    margin-inline: auto;
    text-align: center;
}

.prose--wide {
    max-width: 68ch;
    margin-top: clamp(2.5rem, 5vw, 4rem);
    font-size: var(--text-lg);
}

/* Normalises portraits of differing ratios into one tidy row */
.portrait {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.prose > * + * {
    margin-top: 1.1rem;
}

.prose h3 {
    margin-top: 2.5rem;
    color: var(--text);
}

.prose a:not(.btn) {
    color: var(--accent);
    border-bottom: 1px solid var(--accent-line);
}

.prose a:not(.btn):hover {
    border-color: currentColor;
}

.prose ul {
    display: grid;
    gap: 0.7rem;
}

.prose ul li {
    position: relative;
    padding-left: 1.75rem;
}

.prose ul li::before {
    content: '';
    position: absolute;
    top: 0.72em;
    left: 0.25rem;
    width: 0.4rem;
    height: 0.4rem;
    background: var(--accent);
    border-radius: 50%;
}

.callout {
    display: grid;
    gap: 1rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-left: 2px solid var(--accent);
    border-radius: var(--radius);
}

.callout--accent {
    background: var(--accent-wash);
    border-color: var(--accent-line);
}

.callout p {
    color: var(--text-muted);
}

.callout strong {
    color: var(--text);
}

.price-pack {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

@media (min-width: 56rem) {
    .price-pack {
        grid-template-columns: minmax(16rem, 0.8fr) 1.2fr;
        align-items: center;
    }
}

.price-pack__label,
.price-pack__includes-title {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.price-pack__amount {
    margin-top: 0.45rem;
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
}

.price-pack__unit {
    margin-top: 0.55rem;
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.price-pack__includes ul {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.price-pack__includes li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--text-muted);
    font-size: var(--text-sm);
    line-height: 1.55;
}

.price-pack__includes .icon {
    margin-top: 0.15rem;
    color: var(--accent);
}

.price-extras {
    display: grid;
    gap: 0.65rem;
    margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
}

.price-extras li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
    padding: 0.95rem 1.15rem;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: var(--text-sm);
}

.price-extras strong {
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.price-reorders {
    margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.price-reorders h3 {
    margin-bottom: 1.15rem;
    font-size: var(--text-xl);
}

.price-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

@media (min-width: 40rem) {
    .price-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 64rem) {
    .price-tiles {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.price-tile {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-height: 100%;
    padding: 1rem 1.05rem 1.1rem;
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.price-tile__label {
    color: var(--text-muted);
    font-size: var(--text-xs);
    line-height: 1.4;
}

.price-tile__amount {
    margin-top: auto;
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.price-tile__unit {
    color: var(--text-dim);
    font-size: var(--text-xs);
}

.contact-card {
    display: grid;
    gap: 1.25rem;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    background: var(--bg-1);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-card__rows {
    display: grid;
    gap: 0.5rem;
}

.contact-card__rows a,
.contact-card__rows span {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--text-muted);
}

.contact-card__rows a:hover {
    color: var(--accent);
}

.contact-card__rows .icon {
    color: var(--accent);
}

/* 18 Video ---------------------------------------------------------------- */

.video-figure {
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-1);
}

.video-figure video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: var(--bg);
}

.video-figure__play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 100%;
    padding: 0;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    background: rgba(6, 6, 7, 0.45);
    transition: background-color 0.3s var(--ease);
}

.video-figure__play:hover {
    background: rgba(6, 6, 7, 0.25);
}

.video-figure__disc {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    color: var(--on-accent);
    background: var(--accent);
    border-radius: 50%;
    transform-origin: center;
    transition: transform 0.3s var(--ease);
}

.video-figure__play:hover .video-figure__disc {
    transform: scale(1.06);
}

.video-figure__disc .icon {
    display: block;
    width: 1.05rem;
    height: 1.05rem;
}

.video-figure[data-playing] .video-figure__play,
.video-figure__play[hidden] {
    display: none;
}

.video-figure__bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.8rem 0.95rem 0.75rem;
    background: linear-gradient(180deg, transparent, rgba(6, 6, 7, 0.82));
}

.video-figure__bar[hidden] {
    display: none;
}

.video-figure__toggle {
    display: grid;
    place-items: center;
    flex: 0 0 2.1rem;
    width: 2.1rem;
    height: 2.1rem;
    color: var(--text);
    border-radius: 50%;
    cursor: pointer;
}

.video-figure__toggle:hover {
    color: var(--accent);
}

.video-figure__toggle .icon {
    width: 1.15rem;
    height: 1.15rem;
}

.video-figure__seek,
.video-figure__volume {
    min-width: 0;
    height: 4px;
    margin: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 99px;
}

.video-figure__seek::-webkit-slider-runnable-track,
.video-figure__volume::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.video-figure__seek::-webkit-slider-thumb,
.video-figure__volume::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 13px;
    height: 13px;
    margin-top: -4.5px;
    background: var(--accent);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(251, 180, 47, 0.16);
}

.video-figure__seek::-moz-range-track,
.video-figure__volume::-moz-range-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.22);
    border: 0;
    border-radius: 99px;
}

.video-figure__seek::-moz-range-thumb,
.video-figure__volume::-moz-range-thumb {
    width: 13px;
    height: 13px;
    background: var(--accent);
    border: 0;
    border-radius: 50%;
}

.video-figure__seek {
    flex: 1 1 auto;
}

.video-figure__audio {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.25rem;
}

.video-figure__volume {
    width: clamp(3rem, 8vw, 5.5rem);
}

@media (max-width: 30rem) {
    .video-figure__bar {
        gap: 0.4rem;
        padding-inline: 0.6rem;
    }
}

.video-figure__time {
    min-width: 2.6rem;
    color: var(--text-muted);
    font-size: var(--text-xs);
    font-variant-numeric: tabular-nums;
    text-align: right;
}

/* 19 Contact ------------------------------------------------------- */

.contact-grid {
    display: grid;
    gap: clamp(1.5rem, 3.5vw, 3rem);
    align-items: start;
}

@media (min-width: 56rem) {
    .contact-grid {
        grid-template-columns: 0.95fr 1.05fr;
    }
}

.map-frame {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.map-frame iframe {
    width: 100%;
    height: clamp(15rem, 34vw, 22rem);
    border: 0;
    filter: grayscale(1) contrast(1.05) brightness(0.85);
    transition: filter 0.4s var(--ease);
}

.map-frame:hover iframe {
    filter: none;
}

/* 20 CTA band ------------------------------------------------------------- */

.cta-band {
    background:
        radial-gradient(70rem 24rem at 15% -20%, rgba(251, 180, 47, 0.11), transparent 70%),
        var(--bg-1);
    border-block: 1px solid var(--line);
}

.cta-band__inner {
    display: grid;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}

.cta-band h2 {
    font-size: var(--text-2xl);
    max-width: 30ch;
}

.cta-band p {
    margin-top: 1rem;
    max-width: 52ch;
    color: var(--text-muted);
}

.cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

@media (min-width: 56rem) {
    .cta-band__inner {
        grid-template-columns: 1.2fr auto;
    }

    .cta-band__actions {
        justify-content: flex-end;
    }
}

/* 21 Footer --------------------------------------------------------------- */

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg);
}

.site-footer__top {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: clamp(3rem, 6vw, 5rem) var(--gutter);
}

@media (min-width: 46rem) {
    .site-footer__top {
        grid-template-columns: repeat(3, 1fr);
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 64rem) {
    .site-footer__top {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }

    .site-footer__brand {
        grid-column: auto;
    }
}

.site-footer__brand img {
    width: auto;
    height: 2.2rem;
}

.site-footer__brand p {
    max-width: 34ch;
    margin-top: 1.25rem;
    color: var(--text-dim);
    font-size: var(--text-sm);
    line-height: 1.7;
}

.social {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    margin-top: 1.5rem;
    color: var(--text-muted);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease),
        background-color 0.25s var(--ease);
}

.social:hover {
    color: var(--on-accent);
    background: var(--accent);
    border-color: var(--accent);
}

.site-footer__heading,
.card-title {
    color: var(--text);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.site-footer__heading {
    margin-bottom: 1.15rem;
}

.site-footer__col ul {
    display: grid;
    gap: 0.6rem;
}

.site-footer__col a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-dim);
    font-size: var(--text-sm);
    transition: color 0.25s var(--ease);
}

.site-footer__col a:hover {
    color: var(--accent);
}

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    max-width: var(--wrap);
    margin-inline: auto;
    padding: 1.5rem var(--gutter);
    border-top: 1px solid var(--line);
    color: var(--text-dim);
    font-size: var(--text-sm);
}

.to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.25s var(--ease);
}

.to-top:hover {
    color: var(--accent);
}

/* 22 Motion & utilities --------------------------------------------------- */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.js [data-reveal]:not(.is-visible) {
    opacity: 0;
    transform: translateY(1.35rem);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.js [data-reveal][data-reveal-delay='1'] {
    transition-delay: 0.1s;
}

.js [data-reveal][data-reveal-delay='2'] {
    transition-delay: 0.2s;
}

.js [data-reveal][data-reveal-delay='3'] {
    transition-delay: 0.3s;
}

.js [data-reveal][data-reveal-delay='4'] {
    transition-delay: 0.4s;
}

.js .hero__media img,
.js .page-hero--image .page-hero__media img {
    animation: hero-media-in 1.8s var(--ease) both;
}

@keyframes hero-media-in {
    from {
        transform: scale(1.07);
    }

    to {
        transform: none;
    }
}

.js.js-reveal-fallback [data-reveal] {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .js [data-reveal]:not(.is-visible) {
        opacity: 1;
        transform: none;
    }

    .js .hero__media img,
    .js .page-hero--image .page-hero__media img {
        animation: none;
    }
}

@media print {
    .site-header,
    .site-footer,
    .nav-backdrop,
    .cta-band,
    .skip-link {
        display: none;
    }

    .js [data-reveal] {
        opacity: 1;
        transform: none;
    }

    body {
        background: #fff;
        color: #000;
    }
}
