/* ==========================================================================
   Events by Nimsz Zsuzsanna – design system
   modern editorial wedding + minimal luxury · mobile-first · no framework
   ========================================================================== */

/* ---------- Fonts (Google Fonts, self-hosted WOFF2) ----------
   Cormorant Garamond (Medium 500 + italic): headings. Jost: body text.
   Latin + a tiny Hungarian subset (ő Ő ű Ű) instead of the full latin-ext files. */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-hu.woff2") format("woff2");
    unicode-range: U+0150-0151, U+0170-0171;
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-italic-hu.woff2") format("woff2");
    unicode-range: U+0150-0151, U+0170-0171;
}
@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url("../fonts/jost-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 400 500;
    font-display: swap;
    src: url("../fonts/jost-hu.woff2") format("woff2");
    unicode-range: U+0150-0151, U+0170-0171;
}

/* ---------- Tokens ---------- */
:root {
    /* palette: warm white · ivory · sand · soft beige · taupe · charcoal + muted eucalyptus accent (from the logo) */
    --color-background: #fbf8f3;
    --color-ivory: #f6f1e9;
    --color-surface: #f2ebe1;
    --color-sand: #e8ddcf;
    --color-beige: #d9cab7;
    --color-taupe: #8a7c6c;
    --color-taupe-dark: #605649;
    --color-text: #2b2724;
    --color-muted: #625950;
    --color-accent: #4d6669;
    --color-accent-hover: #3c5255;
    --color-accent-soft: #a3b8b2;
    --color-accent-tint: #e5ece9;
    --color-border: #e2d7c8;
    --color-border-strong: #cbbba6;
    --color-dark: #2b2724;
    --color-on-dark: #f6f1e9;
    --color-on-dark-muted: #cfc4b6;
    --color-error: #9a3b2c;
    --color-error-tint: #f7e6e1;
    --color-success: #3d6650;
    --color-success-tint: #e3eee6;

    --font-serif: "Cormorant Garamond", Garamond, Georgia, "Times New Roman", serif;
    --font-sans: "Jost", "Avenir Next", Avenir, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

    --text-xs: 0.8125rem;
    --text-sm: 0.9375rem;
    --text-base: 1.0625rem;
    --text-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.3rem);
    --text-h4: 1.3rem;
    --text-h3: clamp(1.4rem, 1.27rem + 0.55vw, 1.75rem);
    --text-h2: clamp(1.9rem, 1.45rem + 1.9vw, 3.05rem);
    --text-h1: clamp(2.35rem, 1.6rem + 3.3vw, 4.5rem);

    --space-2xs: 0.375rem;
    --space-xs: 0.625rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: clamp(3rem, 2rem + 4vw, 5rem);
    --space-section: clamp(4rem, 2.5rem + 6vw, 8rem);

    --container: 76rem;
    --container-narrow: 46rem;
    --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 2.75rem);

    --radius-sm: 4px;
    --radius: 10px;
    --radius-arch: 999px 999px var(--radius-sm) var(--radius-sm);
    --shadow-soft: 0 1px 2px rgba(43, 39, 36, 0.04), 0 12px 32px -18px rgba(43, 39, 36, 0.28);
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --header-h: 4.5rem;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    margin: 0;
    background: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.7;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; }
a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--color-accent-hover); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 500; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: var(--space-lg) 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.005em;
    margin: 0 0 0.6em;
    color: var(--color-text);
    text-wrap: balance;
    font-optical-sizing: auto;
}
h1 { font-size: var(--text-h1); line-height: 1.08; letter-spacing: -0.01em; }
h2 { font-size: var(--text-h2); line-height: 1.14; }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }
h1 em, h2 em { font-style: italic; color: var(--color-taupe-dark); }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--color-accent-tint); color: var(--color-text); }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--color-dark); color: var(--color-on-dark); padding: 0.75rem 1.25rem; border-radius: var(--radius-sm);
    text-decoration: none; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; color: var(--color-on-dark); }

mark.todo {
    background: #fff3c4; color: #5c4400; border: 1px dashed #c9a227; padding: 0 0.25em;
    border-radius: 3px; font-family: var(--font-sans); font-size: 0.85em; font-style: normal; letter-spacing: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }
.section { padding-block: var(--space-section); }
.section:not(.section--surface):not(.section--dark) + .section:not(.section--surface):not(.section--dark) { padding-top: 0; }
.section--surface { background: var(--color-surface); }
.section--surface + .section--surface { padding-top: 0; }
.section--dark { background: var(--color-dark); color: var(--color-on-dark); }
.section--tight { padding-block: var(--space-xl); }

.section-head { max-width: 44rem; margin-bottom: var(--space-lg); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--color-muted); font-size: var(--text-lg); margin-bottom: 0; }
.section-head h2 { margin-bottom: 0.35em; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-family: var(--font-sans); font-size: var(--text-xs); font-weight: 500;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-taupe-dark);
    margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: currentColor; opacity: 0.6; }
.section-head--center .eyebrow::after { content: ""; width: 2rem; height: 1px; background: currentColor; opacity: 0.6; }
.lead { font-size: var(--text-lg); color: var(--color-muted); line-height: 1.65; }

/* ---------- Buttons & links ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 3.125rem; padding: 0.8rem 1.6rem; border-radius: 999px;
    font-family: var(--font-sans); font-size: 0.9375rem; font-weight: 500; letter-spacing: 0.04em;
    text-decoration: none; border: 1px solid transparent; cursor: pointer; line-height: 1.2;
    transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn--primary { background: var(--color-accent); color: #fff; }
.btn--primary:hover { background: var(--color-accent-hover); color: #fff; }
.btn--secondary { background: transparent; color: var(--color-text); border-color: var(--color-border-strong); }
.btn--secondary:hover { border-color: var(--color-text); color: var(--color-text); }
.btn--light { background: var(--color-on-dark); color: var(--color-dark); }
.btn--light:hover { background: #fff; color: var(--color-dark); }
.btn--ghost-light { color: var(--color-on-dark); border-color: rgba(246, 241, 233, 0.4); }
.btn--ghost-light:hover { color: #fff; border-color: #fff; }
.btn--small { min-height: 2.5rem; padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.link-arrow {
    display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 500; text-decoration: none;
    letter-spacing: 0.02em; color: var(--color-accent);
}
.link-arrow svg { width: 1rem; height: 1rem; transition: transform 0.2s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow:hover { text-decoration: underline; }

.icon { width: 1.25rem; height: 1.25rem; flex: none; }

/* ---------- Header / navigation ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50; background: var(--color-background);
    border-bottom: 1px solid transparent; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; color: var(--color-text); }
.brand img { height: 2.75rem; width: auto; }
.brand__text { font-family: var(--font-serif); font-size: 1.25rem; letter-spacing: 0.04em; }

.nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 1px solid var(--color-border-strong);
    border-radius: 999px; padding: 0.5rem 0.95rem; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--color-text);
}
.nav-toggle .icon { width: 1.1rem; height: 1.1rem; }
.nav-toggle[aria-expanded="true"] .icon-open, .nav-toggle[aria-expanded="false"] .icon-close { display: none; }

.site-nav { display: none; }
.site-nav.is-open {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--color-background);
    overflow-y: auto; padding: var(--space-md) var(--gutter) calc(var(--space-xl) + 4rem); border-top: 1px solid var(--color-border);
}
.no-js .site-nav { display: block; position: static; padding: 0 0 var(--space-sm); }
.no-js .nav-toggle { display: none; }
.no-js .site-header__inner { flex-wrap: wrap; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a, .nav-list button {
    display: flex; justify-content: space-between; align-items: center; width: 100%;
    padding: 0.85rem 0; border: 0; border-bottom: 1px solid var(--color-border); background: none;
    font-family: var(--font-serif); font-size: 1.45rem; color: var(--color-text); text-decoration: none; text-align: left;
}
.nav-list a[aria-current="page"] { color: var(--color-accent); }
.nav-sub { list-style: none; margin: 0; padding: 0 0 0.5rem 1rem; }
.nav-sub a { font-family: var(--font-sans); font-size: 1.05rem; padding: 0.6rem 0; border-bottom: 0; }
.nav-item--parent > button .icon { transition: transform 0.2s var(--ease); }
.nav-item--parent > button[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-cta { margin-top: var(--space-md); display: grid; gap: 0.75rem; }
.header-cta { display: none; }

@media (min-width: 64em) {
    :root { --header-h: 5.25rem; }
    .brand img { height: 3.1rem; }
    .nav-toggle { display: none; }
    .site-nav, .site-nav.is-open, .no-js .site-nav { display: block; position: static; padding: 0; border: 0; overflow: visible; background: none; }
    .no-js .site-header__inner { flex-wrap: nowrap; }
    .nav-list { display: flex; align-items: center; gap: clamp(0.75rem, 1.6vw, 1.75rem); }
    .nav-list > li { position: relative; }
    .nav-list a, .nav-list button {
        font-family: var(--font-sans); font-size: 0.9375rem; letter-spacing: 0.03em; padding: 0.5rem 0; border: 0; gap: 0.3rem;
    }
    .nav-list > li > a:hover, .nav-list > li > button:hover { color: var(--color-accent); }
    .nav-list > li > a[aria-current="page"] { box-shadow: inset 0 -1px 0 currentColor; }
    .nav-item--parent > button .icon { width: 0.9rem; height: 0.9rem; }
    .nav-sub {
        position: absolute; top: calc(100% + 0.5rem); left: -1.25rem; min-width: 16rem; padding: 0.75rem 0;
        background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius);
        box-shadow: var(--shadow-soft); display: none;
    }
    .nav-sub::before { content: ""; position: absolute; inset: -0.6rem 0 auto 0; height: 0.6rem; }
    .nav-item--parent:hover .nav-sub, .nav-item--parent:focus-within .nav-sub, .nav-sub.is-open { display: block; }
    .js .nav-item--parent:not(:hover) .nav-sub:not(.is-open) { display: none; }
    .nav-sub a { padding: 0.55rem 1.25rem; font-size: 0.9375rem; }
    .nav-sub a:hover { background: var(--color-surface); color: var(--color-text); }
    .nav-cta { display: none; }
    .header-cta { display: inline-flex; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: var(--text-xs); letter-spacing: 0.04em; color: var(--color-muted); padding-top: var(--space-md); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0; padding: 0; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: var(--color-border-strong); }
.breadcrumb a { color: var(--color-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--color-text); }

/* ---------- Page header (pages without hero) ---------- */
.page-header { padding-block: var(--space-xl) var(--space-lg); }
.page-header h1 { max-width: 20ch; margin-bottom: 0.4em; }
.page-header .lead { max-width: 42rem; margin-bottom: 0; }
.page-header--center { text-align: center; }
.page-header--center h1, .page-header--center .lead { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) var(--space-section); overflow: hidden; }
.hero__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero__content { max-width: 40rem; }
.hero h1 { margin-bottom: 0.45em; }
.hero__lead { font-size: var(--text-lg); color: var(--color-muted); max-width: 34rem; margin-bottom: 1.5rem; }
.hero__services {
    list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem 0; margin: 0 0 2rem; padding: 0;
    font-size: var(--text-sm); letter-spacing: 0.03em; color: var(--color-taupe-dark);
}
.hero__services li:not(:last-child)::after { content: "·"; margin-inline: 0.65rem; color: var(--color-taupe); }
.hero__services a { color: inherit; text-decoration: none; }
.hero__services a:hover { color: var(--color-accent); text-decoration: underline; }
.hero__note { margin-top: 1.25rem; font-size: var(--text-sm); color: var(--color-muted); }
.hero__media { position: relative; max-width: 30rem; width: 100%; justify-self: center; }
.hero__media picture, .hero__media img { border-radius: var(--radius-arch); aspect-ratio: 4 / 5.2; object-fit: cover; }
.hero__media::after {
    content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 1px solid var(--color-beige);
    border-radius: var(--radius-arch); z-index: -1;
}
@media (min-width: 60em) {
    .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); }
    .hero__media { justify-self: end; }
}

/* ---------- Trust strip ---------- */
.trust { padding-block: 0 var(--space-xl); }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--color-border); }
.trust__item { padding: 1.35rem 0; border-bottom: 1px solid var(--color-border); }
.trust__item strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; margin-bottom: 0.2rem; }
.trust__item span { color: var(--color-muted); font-size: var(--text-sm); }
@media (min-width: 48em) {
    .trust__list { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); border-bottom: 1px solid var(--color-border); }
    .trust__item { border-bottom: 0; padding: 1.75rem 1.5rem; }
    .trust__item + .trust__item { border-left: 1px solid var(--color-border); }
    .trust__item:first-child { padding-left: 0; }
}

/* ---------- Summary („Röviden”) ---------- */
.summary {
    background: var(--color-surface); border-left: 2px solid var(--color-accent); border-radius: 0 var(--radius) var(--radius) 0;
    padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); max-width: 52rem;
}
.summary__label { font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); font-weight: 500; margin-bottom: 0.5rem; }
.summary h2 { font-size: var(--text-h3); margin-bottom: 0.5rem; }
.summary p { font-size: var(--text-lg); margin: 0; line-height: 1.6; }

/* ---------- Prose (rich text) ---------- */
.prose { max-width: 44rem; }
.prose--wide { max-width: none; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.65rem, 1.35rem + 1.2vw, 2.3rem); margin: 2.2em 0 0.6em; }
.prose h3 { margin: 1.8em 0 0.5em; }
.prose h4 { margin: 1.5em 0 0.4em; font-family: var(--font-sans); font-size: 1.05rem; letter-spacing: 0.02em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--color-taupe); }
.prose blockquote {
    margin: 2em 0; padding: 0.25em 0 0.25em 1.5em; border-left: 2px solid var(--color-accent-soft);
    font-family: var(--font-serif); font-size: var(--text-lg); font-style: italic; color: var(--color-taupe-dark);
}
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: var(--text-sm); color: var(--color-muted); margin-top: 0.5rem; }
.prose table { margin: 1.5em 0; font-size: var(--text-sm); }
.prose th, .prose td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--color-border); vertical-align: top; }
.prose th { font-weight: 500; background: var(--color-surface); }
.prose a { font-weight: 500; }

/* ---------- Image + text ---------- */
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split__media picture, .split__media img { border-radius: var(--radius); }
.split__media--arch picture, .split__media--arch img { border-radius: var(--radius-arch); aspect-ratio: 4 / 5; object-fit: cover; }
.split__signature { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; color: var(--color-taupe-dark); margin-top: 0.5rem; }
@media (min-width: 56em) {
    .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .split--media-left .split__media { order: -1; }
    .split__media { max-width: 32rem; }
    .split:not(.split--media-left) .split__media { justify-self: end; }
}

/* ---------- Services list ---------- */
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--color-border); counter-reset: svc; }
.service-row { border-bottom: 1px solid var(--color-border); counter-increment: svc; }
.service-row a {
    display: grid; grid-template-columns: 2.75rem 1fr auto; gap: 0.25rem 1rem; align-items: start;
    padding: 1.6rem 0; text-decoration: none; color: var(--color-text);
}
.service-row a::before {
    content: counter(svc, decimal-leading-zero); font-family: var(--font-serif); font-size: 1rem; color: var(--color-taupe);
    padding-top: 0.45rem;
}
.service-row__name { font-family: var(--font-serif); font-size: clamp(1.45rem, 1.2rem + 1vw, 2.1rem); line-height: 1.2; }
.service-row__desc { grid-column: 2 / 3; color: var(--color-muted); font-size: var(--text-base); line-height: 1.6; max-width: 38rem; }
.service-row__arrow { grid-row: 1; grid-column: 3; padding-top: 0.5rem; color: var(--color-accent); transition: transform 0.2s var(--ease); }
.service-row a:hover .service-row__name { color: var(--color-accent); }
.service-row a:hover .service-row__arrow { transform: translateX(4px); }
.services-note { margin-top: var(--space-md); color: var(--color-muted); font-size: var(--text-sm); }
@media (min-width: 56em) {
    .service-row a { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.2fr) auto; padding: 2rem 0; align-items: center; }
    .service-row a::before { padding-top: 0; }
    .service-row__desc { grid-column: auto; margin: 0; }
    .service-row__arrow { grid-row: auto; grid-column: auto; padding-top: 0; }
}

/* ---------- Service cards (related) ---------- */
.cards { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.card {
    display: flex; flex-direction: column; background: var(--color-background); border: 1px solid var(--color-border);
    border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--color-text); height: 100%;
    transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}
.section--surface .card { background: var(--color-background); }
.card:hover { border-color: var(--color-border-strong); color: var(--color-text); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--color-sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__meta { font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-taupe-dark); }
.card__title { font-family: var(--font-serif); font-size: 1.4rem; line-height: 1.25; margin: 0; }
.card__text { color: var(--color-muted); font-size: var(--text-sm); margin: 0; }
.card__more { margin-top: auto; padding-top: 0.75rem; }

/* ---------- Benefits ---------- */
.benefits { display: grid; gap: var(--space-lg) var(--space-xl); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.benefit { padding-top: 1.25rem; border-top: 1px solid var(--color-border-strong); }
.benefit h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.benefit p { color: var(--color-muted); margin: 0; }

/* ---------- Features (service: what's included) ---------- */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); column-gap: var(--space-lg); }
.features li { display: flex; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.features li::before { content: ""; flex: none; width: 0.5rem; height: 0.5rem; margin-top: 0.62rem; border-radius: 50%; background: var(--color-accent-soft); }

/* ---------- Process ---------- */
.process { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); counter-reset: step; }
.process__step { counter-increment: step; position: relative; padding: 1.5rem 0 0; border-top: 1px solid var(--color-border-strong); }
.process__step::before {
    content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-serif); font-size: 2.25rem;
    color: var(--color-accent-soft); line-height: 1; margin-bottom: 0.75rem;
}
.process__step h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.process__step p { color: var(--color-muted); font-size: var(--text-sm); margin: 0; }
@media (min-width: 48em) { .process { grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: var(--space-lg); } }
.process--flow .process__step h3::after { content: " →"; color: var(--color-taupe); }
.process--flow .process__step:last-child h3::after { content: ""; }

/* ---------- Comparison ---------- */
.comparison { margin-top: var(--space-md); border: 1px solid var(--color-border); border-radius: var(--radius); overflow: hidden; background: var(--color-background); }
.comparison table { font-size: var(--text-sm); }
.comparison th, .comparison td { padding: 1rem 1.25rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--color-border); }
.comparison thead th { background: var(--color-surface); font-family: var(--font-serif); font-weight: 400; font-size: 1.15rem; }
.comparison tbody th { font-weight: 500; width: 22%; color: var(--color-taupe-dark); }
.comparison tr:last-child th, .comparison tr:last-child td { border-bottom: 0; }
.comparison-note { font-size: var(--text-sm); color: var(--color-muted); margin-top: 1rem; max-width: 50rem; }
@media (max-width: 47.99em) {
    .comparison thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .comparison tr { display: block; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); }
    .comparison tr:last-child { border-bottom: 0; }
    .comparison tbody th, .comparison td { display: block; width: auto; padding: 0.35rem 0; border: 0; }
    .comparison tbody th { font-family: var(--font-serif); font-size: 1.15rem; color: var(--color-text); padding-bottom: 0.5rem; }
    .comparison td::before { content: attr(data-label); display: block; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-taupe-dark); }
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.quote { margin: 0; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius); display: flex; flex-direction: column; }
.section--plain .quote, .section:not(.section--surface) .quote { background: var(--color-ivory); border-color: transparent; }
.quote::before { content: "“"; font-family: var(--font-serif); font-size: 4rem; line-height: 0.6; color: var(--color-accent-soft); height: 1.6rem; }
.quote blockquote { margin: 0 0 1.25rem; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.55; }
.quote figcaption { margin-top: auto; font-size: var(--text-sm); letter-spacing: 0.04em; }
.quote figcaption strong { display: block; font-weight: 500; }
.quote figcaption span { color: var(--color-muted); }
.quotes--featured .quote:first-child { grid-column: 1 / -1; }
@media (min-width: 60em) {
    .quotes--featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .quotes--featured .quote:first-child blockquote { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); max-width: 52rem; }
}

/* ---------- Gallery ---------- */
.gallery { columns: 2 12rem; column-gap: 0.75rem; }
.gallery__item { break-inside: avoid; margin: 0 0 0.75rem; display: block; border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; }
.gallery__item img { transition: transform 0.6s var(--ease); }
.gallery__item:hover img { transform: scale(1.02); }
@media (min-width: 48em) { .gallery { columns: 3 14rem; column-gap: 1rem; } .gallery__item { margin-bottom: 1rem; } }
.lightbox {
    border: 0; padding: 0; margin: 0; background: transparent; width: 100vw; height: 100dvh;
    max-width: none; max-height: none; overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(28, 25, 22, 0.97); }
.lightbox__figure { margin: 0; padding: 4rem 4.5rem 1rem; max-width: 100%; text-align: center; }
.lightbox__figure img {
    max-height: calc(100dvh - 8rem); max-width: min(100%, 80rem); width: auto; height: auto;
    margin: 0 auto; border-radius: var(--radius-sm); user-select: none;
}
.lightbox__meta { display: flex; justify-content: center; gap: 1rem; margin-top: 0.75rem; color: var(--color-on-dark); font-size: var(--text-sm); }
.lightbox__counter { color: var(--color-on-dark-muted); letter-spacing: 0.08em; }
.lightbox__close, .lightbox__nav {
    position: fixed; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
    background: var(--color-on-dark); color: var(--color-dark); transition: background-color 0.2s var(--ease);
}
.lightbox__close { top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 3rem; height: 3rem; font-size: 2rem; line-height: 1; padding-bottom: 0.2rem; }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__close:hover, .lightbox__nav:hover { background: #fff; }
@media (max-width: 47.99em) {
    .lightbox__figure { padding: 3.75rem 0.75rem 5rem; }
    .lightbox__figure img { max-height: calc(100dvh - 11rem); }
    .lightbox__nav { top: auto; bottom: 1rem; transform: none; }
}

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--color-border); max-width: 52rem; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start;
    padding: 1.35rem 0; font-family: var(--font-serif); font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem); line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: ""; flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.3rem;
    background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
    color: var(--color-accent); transition: transform 0.25s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--color-accent); }
.faq-answer { padding: 0 0 1.5rem; color: var(--color-muted); max-width: 46rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-more { margin-top: var(--space-md); }
.faq-group + .faq-group { margin-top: var(--space-xl); }
.faq-group__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.5rem 1.5rem; margin-bottom: 1rem; max-width: 52rem; }
.faq-group__head h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); margin: 0; }
.faq-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-lg); list-style: none; padding: 0; }
.faq-nav a { display: inline-block; padding: 0.45rem 1rem; border: 1px solid var(--color-border-strong); border-radius: 999px; text-decoration: none; color: var(--color-text); font-size: var(--text-sm); }
.faq-nav a:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* ---------- CTA ---------- */
.cta { padding-block: var(--space-section); }
/* All call-to-action bands use the light beige surface tone; thin rules keep them apart from neighbouring beige areas (footer, testimonials). */
.cta--dark, .cta--light, .cta--white { background: var(--color-surface); color: var(--color-text); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.cta--dark h2, .cta--light h2, .cta--white h2 { color: var(--color-text); }
.cta p { color: var(--color-muted); }
.cta a:not(.btn) { color: var(--color-accent-hover); }
.cta .btn--light { background: var(--color-accent); color: #fff; }
.cta .btn--light:hover { background: var(--color-accent-hover); color: #fff; }
.cta .btn--ghost-light { color: var(--color-text); border-color: var(--color-border-strong); }
.cta .btn--ghost-light:hover { border-color: var(--color-text); color: var(--color-text); }
.cta__inner { max-width: 46rem; margin-inline: auto; text-align: center; }
.cta__inner p { font-size: var(--text-lg); margin-bottom: 2rem; }
.cta .btn-row { justify-content: center; }

/* ---------- Blog ---------- */
.post-grid { display: grid; gap: var(--space-lg) var(--space-md); grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); }
.category-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 var(--space-lg); }
.category-nav a { display: inline-block; padding: 0.4rem 1rem; border: 1px solid var(--color-border-strong); border-radius: 999px; text-decoration: none; color: var(--color-text); font-size: var(--text-sm); }
.category-nav a[aria-current="page"] { background: var(--color-text); border-color: var(--color-text); color: var(--color-background); }
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: var(--space-xl); list-style: none; padding: 0; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 2.75rem; height: 2.75rem; border: 1px solid var(--color-border-strong); border-radius: 999px; text-decoration: none; color: var(--color-text); }
.pagination [aria-current] { background: var(--color-text); color: var(--color-background); border-color: var(--color-text); }

.article-header { padding-block: var(--space-xl) var(--space-lg); max-width: 50rem; }
.article-header h1 { font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.6rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.35rem 1.25rem; font-size: var(--text-sm); color: var(--color-muted); }
.article-meta a { color: inherit; }
.article-cover { margin: 0 0 var(--space-xl); }
.article-cover img { border-radius: var(--radius); max-height: 36rem; object-fit: cover; }
.article-body { padding-bottom: var(--space-xl); }
.article-body .prose { margin-inline: auto; font-size: 1.1rem; }
.author-box {
    display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.25rem; align-items: center; max-width: 44rem; margin: var(--space-lg) auto 0;
    padding: 1.5rem; background: var(--color-surface); border-radius: var(--radius);
}
.author-box img { width: 4.5rem; height: 4.5rem; border-radius: 50%; object-fit: cover; object-position: top; }
.author-box p { margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
.author-box strong { display: block; color: var(--color-text); font-size: 1rem; }
.related-service {
    max-width: 44rem; margin: var(--space-lg) auto 0; padding: 1.5rem; border: 1px solid var(--color-border); border-radius: var(--radius);
    display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
}
.related-service p { margin: 0; }

/* ---------- References ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-lg); }
.filter-bar button { padding: 0.45rem 1rem; border: 1px solid var(--color-border-strong); border-radius: 999px; background: none; font-size: var(--text-sm); }
.filter-bar button[aria-pressed="true"] { background: var(--color-text); color: var(--color-background); border-color: var(--color-text); }
.empty-state { padding: var(--space-xl); background: var(--color-surface); border-radius: var(--radius); text-align: center; color: var(--color-muted); }
.facts { display: grid; gap: 1rem 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); margin: 0 0 var(--space-lg); padding: 1.5rem 0; border-block: 1px solid var(--color-border); }
.facts dt { font-size: var(--text-xs); letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-taupe-dark); }
.facts dd { margin: 0.2rem 0 0; font-family: var(--font-serif); font-size: 1.2rem; }

/* ---------- Service page ---------- */
.service-hero .hero__media picture, .service-hero .hero__media img { aspect-ratio: 4 / 5; }
.service-section { padding-block: var(--space-xl); }
.service-intro { display: grid; gap: var(--space-lg); }
@media (min-width: 60em) { .service-intro { grid-template-columns: minmax(0, 1fr) 18rem; gap: var(--space-xl); align-items: start; } }
.aside-box { padding: 1.5rem; border: 1px solid var(--color-border); border-radius: var(--radius); background: var(--color-background); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.aside-box h2 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.aside-box p { font-size: var(--text-sm); color: var(--color-muted); }
.aside-box .btn { width: 100%; }
.aside-box ul { list-style: none; padding: 0; margin: 0 0 1.25rem; font-size: var(--text-sm); }
.aside-box li { padding: 0.35rem 0; border-bottom: 1px solid var(--color-border); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: var(--space-xl); }
@media (min-width: 60em) { .contact-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }
.contact-details { display: grid; gap: 1.5rem; align-content: start; }
.contact-details h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.contact-line { display: flex; gap: 0.9rem; align-items: center; font-size: 1.1rem; }
.contact-line a { color: var(--color-text); text-decoration: none; }
.contact-line a:hover { color: var(--color-accent); text-decoration: underline; }
.contact-line .icon { color: var(--color-accent); }
.social { display: flex; gap: 0.6rem; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--color-border-strong); border-radius: 50%; color: var(--color-text); }
.social a:hover { color: var(--color-accent); border-color: var(--color-accent); }
.social .icon { width: 1.1rem; height: 1.1rem; }

.form { display: grid; gap: 1.25rem; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40em) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 0.4rem; align-content: start; }
.field label, .field legend { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.02em; }
.field .optional { font-weight: 400; color: var(--color-muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field input[type="number"], .field select, .field textarea {
    width: 100%; min-height: 3.125rem; padding: 0.75rem 1rem; background: #fff; border: 1px solid var(--color-border-strong);
    border-radius: var(--radius-sm); font-size: 1rem; line-height: 1.4; transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--color-taupe-dark) 50%), linear-gradient(135deg, var(--color-taupe-dark) 50%, transparent 50%); background-position: calc(100% - 1.25rem) 55%, calc(100% - 0.9rem) 55%; background-size: 0.35rem 0.35rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px var(--color-accent-tint); }
.field [aria-invalid="true"] { border-color: var(--color-error); }
.field-hint { font-size: var(--text-xs); color: var(--color-muted); }
.field-error { font-size: var(--text-sm); color: var(--color-error); }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--text-sm); }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--color-accent); flex: none; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; border: 0; padding: 0; margin: 0; }
.radio-row legend { margin-bottom: 0.4rem; padding: 0; }
.radio-row label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.radio-row input { accent-color: var(--color-accent); width: 1.1rem; height: 1.1rem; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: var(--text-sm); }
.alert--error { background: var(--color-error-tint); color: var(--color-error); }
.alert--success { background: var(--color-success-tint); color: var(--color-success); }
.form-footer { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.form-footer p { margin: 0; font-size: var(--text-xs); color: var(--color-muted); max-width: 26rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-surface); padding-block: var(--space-xl) var(--space-lg); font-size: var(--text-sm); }
.footer-grid { display: grid; gap: var(--space-lg); }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 3.25rem; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--color-muted); max-width: 22rem; }
.site-footer h2 { font-family: var(--font-sans); font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-taupe-dark); font-weight: 500; margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer-links a, .footer-contact a { color: var(--color-text); text-decoration: none; }
.footer-links a:hover, .footer-contact a:hover { color: var(--color-accent); text-decoration: underline; }
.footer-contact { display: grid; gap: 0.5rem; margin-bottom: 1.25rem; }
.footer-bottom { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid var(--color-border); display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; color: var(--color-muted); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-bottom a, .footer-bottom button { color: var(--color-muted); background: none; border: 0; padding: 0; font-size: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.footer-bottom a:hover, .footer-bottom button:hover { color: var(--color-accent); }

/* ---------- Cookie consent ---------- */
.consent {
    position: fixed; z-index: 60; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; max-width: 34rem;
    background: var(--color-background); border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-soft);
    padding: 1.35rem; font-size: var(--text-sm);
}
@media (min-width: 40em) { .consent { left: 1.25rem; bottom: 1.25rem; } }
.consent h2 { font-family: var(--font-serif); font-size: 1.25rem; margin-bottom: 0.4rem; }
.consent p { color: var(--color-muted); margin-bottom: 1rem; }
.consent .btn-row { gap: 0.5rem; }
.consent .btn { flex: 1 1 auto; min-height: 2.6rem; padding: 0.55rem 1rem; font-size: 0.875rem; }
.consent__options { display: grid; gap: 0.75rem; margin: 0 0 1rem; padding: 1rem 0; border-block: 1px solid var(--color-border); }
.consent__options label { display: flex; gap: 0.75rem; align-items: flex-start; }
.consent__options input { accent-color: var(--color-accent); width: 1.15rem; height: 1.15rem; margin-top: 0.2rem; flex: none; }
.consent__options small { display: block; color: var(--color-muted); }

/* ---------- Preview bar ---------- */
.preview-bar { position: sticky; top: 0; z-index: 70; background: #5c4400; color: #fff3c4; text-align: center; padding: 0.5rem 1rem; font-size: var(--text-sm); }

/* ---------- Error page ---------- */
.error-page { padding-block: var(--space-section); text-align: center; }
.error-page__code { font-family: var(--font-serif); font-size: clamp(4rem, 3rem + 6vw, 8rem); color: var(--color-beige); line-height: 1; margin-bottom: 1rem; }
.error-page .btn-row { justify-content: center; margin-top: 2rem; }
.error-links { list-style: none; padding: 0; margin: var(--space-lg) auto 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: center; }

/* ---------- Reveal animation (progressive, respects reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
    .js .reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Print ---------- */
@media print {
    .site-header, .site-footer, .consent, .cta, .nav-toggle { display: none !important; }
    body { background: #fff; }
    a { color: inherit; }
}

/* ---------- Utilities ---------- */
.section--flush-top { padding-top: 0; }
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; }
.brand picture img, .footer-brand picture img { width: auto; }
.author-box picture img { width: 4.5rem; }
/* A plain section directly under a page header continues it (no double spacing). */
.page-header + .section:not(.section--surface):not(.section--dark) { padding-top: 0; }

/* Spacing: trust strip → next section, and consecutive plain sections, get a tighter gap. */
.trust + .section { padding-top: var(--space-lg); }
.section:not(.section--surface):not(.section--dark):has(+ .section:not(.section--surface):not(.section--dark)) { padding-bottom: var(--space-xl); }

/* Service pages: the „Röviden” box sits closer to the hero. */
.service-hero { padding-bottom: var(--space-xl); }
.service-hero + .section { padding-top: 0; }

/* Page whose title sits inside the first image + text block (e.g. Rólam): photo top aligned with the H1. */
.section--page-intro { padding-top: 0; }
.section--page-intro .split { align-items: start; margin-top: var(--space-xl); }
.page-intro { margin-bottom: var(--space-md); }
.page-intro h1 { max-width: 20ch; margin-bottom: 0.4em; }
.page-intro .lead { margin-bottom: 0; }
/* Lightbox: horizontal finger swipe pages, pinch zoom keeps working. */
.lightbox, .lightbox__figure img { touch-action: pan-y pinch-zoom; }
.lightbox__figure img { -webkit-user-drag: none; will-change: transform; }

/* ---------- Blog pager (text links instead of page numbers) ---------- */
.pager-elegant {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
    margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid var(--color-border);
}
.pager-elegant__link {
    display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-serif); font-size: 1.35rem;
    color: var(--color-text); text-decoration: none;
}
.pager-elegant__link .icon { width: 1.1rem; height: 1.1rem; color: var(--color-accent); transition: transform 0.2s var(--ease); }
.pager-elegant__link--prev { justify-self: start; }
.pager-elegant__link--prev .icon { transform: rotate(180deg); }
.pager-elegant__link--next { justify-self: end; }
a.pager-elegant__link:hover { color: var(--color-accent); }
a.pager-elegant__link--next:hover .icon { transform: translateX(3px); }
a.pager-elegant__link--prev:hover .icon { transform: rotate(180deg) translateX(3px); }
.pager-elegant__status {
    margin: 0; font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-taupe-dark);
    display: inline-flex; align-items: center; gap: 0.75rem;
}
.pager-elegant__status::before, .pager-elegant__status::after { content: ""; width: 1.5rem; height: 1px; background: currentColor; opacity: 0.5; }
@media (max-width: 39.99em) {
    .pager-elegant { grid-template-columns: 1fr 1fr; }
    .pager-elegant__status { grid-column: 1 / -1; grid-row: 1; justify-self: center; }
    .pager-elegant__link { font-size: 1.15rem; }
}

/* ---------- Blog post: the whole article in one narrow reading column ---------- */
.article .article-header { max-width: none; }
.article .article-cover img { max-height: 28rem; }
.article .article-body .prose { max-width: none; margin-inline: 0; }
.article .author-box, .article .related-service { max-width: none; margin-inline: 0; }

/* Form fields never overflow their column (iOS Safari gives date inputs an intrinsic width). */
.form-grid > *, .field { min-width: 0; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; max-width: 100%; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input[type="date"]::-webkit-datetime-edit { padding: 0; }
/* Empty date field: hide the browser's own display (iOS shows today's date) and show a placeholder. */
.date-input { position: relative; display: block; }
.date-input.is-empty input:not(:focus),
.date-input.is-empty input:not(:focus)::-webkit-datetime-edit,
.date-input.is-empty input:not(:focus)::-webkit-date-and-time-value { color: transparent; -webkit-text-fill-color: transparent; }
.date-input.is-empty::after {
    content: attr(data-placeholder); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
    color: var(--color-muted, #8a7c6c); pointer-events: none;
}
.date-input.is-empty:focus-within::after { content: none; }
