/* Layout: editorial single page. Wide gutters, a framed hero image whose shape echoes the logo
   (A: rounded frame, B: pill), quiet bands of deep colour between light sections. */
:root {
  /* Mixed palette: LÉORA cream backgrounds + forest-green body text; the logo's cocoa brown for headings, buttons and dark surfaces, clay accent.
     Previous logo-based brown palette (to switch back, swap these values in):
       --bg #FBF8F2 · --bg-alt/--surface #F3ECE2 · --deep/--ink #352921 · --deep-2 #5A463A · --on-deep #F6EFE5 · --on-deep-muted #D3C6B8
       --text #3D3029 · --muted #7A6859 · --accent #9A6B52 · --accent-soft/--greige #DCC8B5 · lines rgba(94, 72, 56, .16/.32)
       --ph-1 #EBE2D6 · --ph-2 #DCC8B5 · --ph-3 #E6D2C6 · --ph-4 #D5CBBB · --ph-art rgba(94, 72, 56, .35) */
  --bg: #FBF9F4;
  --bg-alt: #F3EFE7;
  --surface: #FBF9F4;
  --deep: #362E28;          /* dark surfaces stay cocoa brown: hero gradient, dark band, footer, lightbox */
  --deep-2: #5A463A;
  --on-deep: var(--bg-alt);  /* text on dark surfaces = secondary background */
  --on-deep-muted: #D3C6B8;
  --ink: #352921;            /* cocoa brown: buttons, UI */
  --heading: #19352D;        /* forest green: headings in the content */
  --text: #233D35;           /* forest green: running text only */
  --muted: #5E6F67;
  --accent: #9A6B52;         /* clay brown: labels, markers */
  --accent-soft: var(--greige);   /* accents on the dark band = greige */
  --greige: #CFC7B9;
  --line: rgba(94, 72, 56, .16);
  --line-strong: rgba(94, 72, 56, .32);
  --ph-1: #EAE6DD; --ph-2: #CFC7B9; --ph-3: #E3DDD2; --ph-4: #D6D3C8; --ph-art: rgba(94, 72, 56, .35);
  --error: #9B2C2C;
  --shape-hero: 42% 42% 42% 42% / 30% 30% 30% 30%;
  --shape-card: 28px;
  --display: "Boska", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --body: "Jost", "Jost Placeholder", sans-serif;
  color-scheme: light;
}


*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color .5s ease, color .5s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1360px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* logo colouring */
.logo-img { display: block; height: auto; }

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--display); font-weight: 300; line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -.01em; color: var(--heading); }
.band h1, .band h2, .band h3, .site-footer h3 { color: var(--on-deep); }
h1 { font-size: clamp(2.9rem, 7vw, 6rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 400; }
h1 em, h2 em { font-style: italic; color: var(--heading); }
.eyebrow {
  font-family: var(--body); font-size: .7rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  display: inline-flex; align-items: center; gap: .9em; margin: 0;
}
.eyebrow::before { content: ""; width: 2.4em; height: 1px; background: currentColor; }
.lead { font-size: 1rem; color: var(--muted); max-width: 34em; margin: 0; }
p { margin: 0; }
.prose { display: grid; gap: 1.1em; max-width: 36em; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .7em;
  font: 500 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  padding: 1.2em 2em; border-radius: 999px; border: 1px solid var(--b);
  background: var(--b); color: var(--bg); text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: transparent; color: var(--b); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--ink); }
.btn.accent { --b: var(--ink); color: var(--bg); }   /* all solid buttons cocoa brown */
.btn.accent:hover { color: var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn[disabled] { opacity: .5; cursor: progress; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, white 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: background-color .5s;
}
/* links left · logo centred · actions right */
.nav.wrap { width: 100%; }  /* the header spans the full screen; content sections stay in the container */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 84px; }
.brand-link { grid-column: 2; display: flex; color: var(--ink); text-decoration: none; }
.brand-link .logo { height: 60px; width: auto; }
.nav-links { grid-column: 1; grid-row: 1; justify-self: start; display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; font-weight: 400; color: #7A6859;   /* warm brown, as before the green body text */ white-space: nowrap; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-cta { display: none; }
.nav-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 10px; }
.nav-actions .btn, .nav-links .btn { color: var(--bg); padding: 1em 1.6em; }
.nav-actions .btn:hover, .nav-links .btn:hover { color: var(--ink); }
.nav-actions .icon-btn { width: 38px; height: 38px; padding: 0; color: var(--ink); }
.nav-actions .icon-btn:hover { color: var(--ink); border-color: var(--ink); }
.nav-actions .icon-btn svg { width: 17px; height: 17px; }
.menu-toggle { grid-column: 1; grid-row: 1; justify-self: start; display: none; background: none; border: 1px solid var(--line-strong); border-radius: 999px; width: 46px; height: 46px; color: var(--ink); cursor: pointer; }

.menu-toggle svg { display: block; width: 22px; height: 22px; margin: auto; }
.menu-toggle .icon-close, .menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }
/* blurred layer over the page while the mobile menu is open (added by script.js, sits under the sticky header) */
.nav-scrim {
  position: fixed; inset: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 35%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.nav-scrim.on { opacity: 1; visibility: visible; }
html.menu-lock { overflow: hidden; }
@media (max-width: 1100px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; inset: 100% 0 auto 0; justify-self: stretch; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px clamp(16px, 4vw, 48px) 24px;
    display: none;
  }
  .menu-open .nav-links { display: flex; }
  .nav-links li { border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 0; font-size: .82rem; }
  .nav-links .nav-cta { display: block; border: 0; padding-top: 16px; }
  .nav-links .btn { display: flex; width: 100%; }
  .nav-actions .btn:not(.icon-btn) { display: none; }
  .nav-actions .icon-btn { width: 46px; height: 46px; }
  .brand-link .logo { height: 44px; }
}

/* ---------- hero: boxed carousel of the galleries, text on a dark gradient ---------- */
.hero { padding-block: clamp(20px, 3vw, 40px) clamp(16px, 2vw, 32px); }
.hero-box {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--shape-card); background: var(--deep); color: var(--on-deep);
  min-height: clamp(560px, 80vh, 780px); display: flex; align-items: center;
  padding: clamp(32px, 5vw, 76px) clamp(24px, 5vw, 76px) clamp(110px, 10vw, 130px);
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
/* slow zoom-in that keeps going while the slide fades out (.is-leaving keeps the same animation, so it doesn't restart or reverse) */
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active img, .hero-slide.is-leaving img { animation: hero-zoom 10s linear both; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-box::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--deep) 86%, transparent) 0%, color-mix(in srgb, var(--deep) 58%, transparent) 40%, transparent 78%),
    linear-gradient(0deg, color-mix(in srgb, var(--deep) 78%, transparent) 0%, transparent 42%);
}
.hero-grid { display: block; position: relative; width: 100%; }
.hero-copy { display: grid; gap: 28px; min-width: 0; max-width: 40rem; }
.hero h1, .hero h1 em { color: var(--on-deep); }
.hero .eyebrow { color: var(--on-deep); }
.hero .lead { color: color-mix(in srgb, var(--on-deep) 90%, transparent); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero .btn { --b: var(--on-deep); color: var(--deep); }
.hero .btn:hover { background: transparent; color: var(--on-deep); }
.hero .btn.ghost { background: transparent; color: var(--on-deep); border-color: color-mix(in srgb, var(--on-deep) 55%, transparent); }
.hero .btn.ghost:hover { border-color: var(--on-deep); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep-muted); font-weight: 500; }
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-soft); }

/* pagination: small dots; the current one is a wider pill that fills up while its slide is shown (--hero-ms set in script.js) */
.hero-bar { position: absolute; left: clamp(24px, 5vw, 76px); right: clamp(24px, 5vw, 76px); bottom: clamp(22px, 3vw, 36px); display: grid; gap: 12px; justify-items: start; }
.hero-dots { display: flex; align-items: center; gap: 10px; }
.hero-dots button { position: relative; overflow: hidden; width: 6px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .35); cursor: pointer; transition: width .3s; }
.hero-dots button[aria-current="true"] { width: 40px; }
.hero-dots button[aria-current="true"]::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--on-deep); transform-origin: left; animation: hero-progress var(--hero-ms, 6500ms) linear both; }
@keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-cap { margin: 0; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep); min-height: 1.2em; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } .hero-slide img { animation: none !important; } .hero-dots button[aria-current="true"]::after { animation: none; } }

@media (max-width: 860px) {
  .hero-box { min-height: 88svh; align-items: flex-end; padding-bottom: 120px; }
  .hero-box::before {
    background: linear-gradient(0deg, color-mix(in srgb, var(--deep) 92%, transparent) 0%, color-mix(in srgb, var(--deep) 70%, transparent) 55%, color-mix(in srgb, var(--deep) 22%, transparent) 100%);
  }
  .hero-copy h1 { font-size: clamp(3rem, 13vw, 4.6rem); }
}

/* ---------- photo placeholders (drop real photos into assets/images/) ---------- */
.ph {
  position: relative; margin: 0; overflow: hidden; isolation: isolate;
  background-color: var(--ph-1);
  background-image:
    radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--ph-2) 70%, transparent), transparent 60%),
    radial-gradient(90% 80% at 80% 90%, color-mix(in srgb, var(--ph-3) 80%, transparent), transparent 65%);
  background-size: cover; background-position: center;
  color: var(--ph-art);
  max-width: 100%;
}
.ph.t2 { background-color: var(--ph-4); }
.ph.t3 { background-color: var(--ph-3); }
.ph-art { position: absolute; inset: 14% 22%; width: 56%; height: 72%; margin: auto; fill: none; stroke: currentColor; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; z-index: -1; }
.ph figcaption {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--ink); opacity: .7;
  white-space: nowrap;
}
.ph.has-img .ph-art, .ph.has-img figcaption { display: none; }
.ph video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(1.15); }

/* ---------- marquee ---------- */
/* florist's ribbon: flat green band overlapping the two sections */
.marquee {
  position: relative; z-index: 3; overflow: hidden; height: 64px; background: var(--deep); display: flex; align-items: center; color: var(--on-deep);
  margin-block: -12px -52px;   /* straddles the seam: half over the section above, half over the one below */
}
/* every copy of the list slides by its own width, so the loop is seamless however many copies fill the screen */
.marquee-track { position: relative; z-index: 1; display: flex; width: max-content; }
.marquee-track ul { flex: none; display: flex; align-items: center; gap: 44px; padding: 0 22px; margin: 0; list-style: none; animation: marquee 100s linear infinite; }
.marquee li { font-family: var(--display); font-size: clamp(.85rem, 1.2vw, 1.05rem); font-style: italic; font-weight: 300; white-space: nowrap; display: flex; align-items: center; gap: 44px; }
.marquee li::after { content: ""; width: 5px; height: 5px; border: 1px solid var(--accent-soft); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track ul { animation: none; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head.split { max-width: none; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px 64px; }
.section-head.split .lead { justify-self: end; }
@media (max-width: 800px) { .section-head.split { grid-template-columns: 1fr; } .section-head.split .lead { justify-self: start; } }

/* ---------- legal / text subpage ---------- */
.legal { max-width: 760px; }
.legal > * + * { margin-top: 1.1em; }
.legal h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-top: 2.2em; }
.legal h2:first-of-type { margin-top: 1.4em; }
.legal h3 { font-size: 1.25rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2em; display: grid; gap: .5em; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .5em 1.4em; color: var(--muted); }
.legal dt { font-weight: 500; color: var(--ink); }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: .1em 0; } .legal dd { margin-bottom: .6em; } }
.band { background: var(--deep); color: var(--on-deep); transition: background-color .5s; }
.band .eyebrow { color: var(--accent-soft); }
.band h2 em { color: var(--on-deep); }
.band .lead, .band .prose { color: var(--on-deep-muted); }
.alt { background: var(--bg-alt); transition: background-color .5s; }

/* about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.about-art { position: relative; }
.about-art .ph { aspect-ratio: 4 / 5; border-radius: var(--shape-card); }
.about-art .ph.portrait { aspect-ratio: 7 / 9; background-position: center; }
.about-copy { display: grid; gap: 28px; min-width: 0; }
.about-copy h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.25; }
.signature { justify-self: start; display: block; width: auto; height: clamp(3.2rem, 4.8vw, 4.2rem); color: var(--ink); overflow: visible; }
/* handwritten signature (brand/inline/signature.svg): each letter is wiped in left to right once it scrolls into view (class set in script.js).
   --d = when the letter starts, --t = how long it takes */
.js .signature path { clip-path: inset(0 100% 0 0); }
.js .signature.written path { animation: sign var(--t) cubic-bezier(.45, .05, .55, .95) calc(var(--d) + .3s) both; }
@keyframes sign { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 12px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line); list-style: none; }
.values strong { display: block; font-family: var(--body); font-weight: 500; font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.values span { font-size: .92rem; color: var(--muted); line-height: 1.55; display: block; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-art { max-width: 420px; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }


/* portfolio: masonry columns, photos keep their own proportions */
.gallery { columns: 3; column-gap: clamp(12px, 1.6vw, 22px); }
.gallery figure { margin: 0 0 clamp(18px, 2.2vw, 30px); break-inside: avoid; display: grid; gap: 10px; }
.gallery figure, .events.is-filtered figure { cursor: zoom-in; }
.gallery img { width: 100%; height: auto; border-radius: 18px; background: var(--ph-1); }
/* slow hover zoom (same feel as the service cards): the photo sits in a clipping wrapper so the edges stay put */
.zw { display: block; overflow: hidden; border-radius: 18px; }
.zw img { display: block; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.events figure:hover .zw img, .gallery figure:hover .zw img { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .zw img { transition: none; } .events figure:hover .zw img, .gallery figure:hover .zw img { transform: none; } }
.gallery figcaption, .mini figcaption { font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.gallery figcaption .couple, .mini figcaption .couple { display: block; margin-top: .35em; font-size: .78rem; font-weight: 400; letter-spacing: .08em; text-transform: none; color: var(--accent); }
@media (max-width: 760px) { .gallery { columns: 2; } }
.filters { display: flex; gap: 7px; margin-bottom: clamp(28px, 4vw, 44px); overflow-x: auto; scrollbar-width: none; padding-block: 12px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h, 85px)); z-index: 40; background: var(--bg); }
.filters::-webkit-scrollbar { display: none; }
/* centred; auto margins (not justify-content) so an overflowing row still scrolls from the first chip */
.filters > .filter-chip:first-child { margin-left: auto; }
.filters > .filter-chip:last-child { margin-right: auto; }
.filter-chip { flex: none; font: inherit; font-size: .64rem; font-weight: 500; letter-spacing: .07em; text-transform: uppercase; color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: .6em 1em; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filter-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 760px) {
  .filters { flex-wrap: wrap; overflow-x: visible; justify-content: center; }
  .filters > .filter-chip:first-child, .filters > .filter-chip:last-child { margin-inline: 0; }
}
.gallery figure[hidden] { display: none; }
.event { margin-bottom: clamp(56px, 8vw, 96px); }
.event[hidden] { display: none; }
.event-head { display: grid; gap: 8px; margin-bottom: 22px; }
.event-head h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 2.1rem); color: var(--heading); }
.event-head .couple { font-size: .78rem; letter-spacing: .08em; color: var(--accent); }
.mini { display: grid; grid-template-columns: repeat(5, 1fr); grid-auto-flow: dense; gap: clamp(8px, 1.2vw, 14px); }
.mini figure { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--ph-1); cursor: zoom-in; }
.mini .zw { position: absolute; inset: 0; border-radius: inherit; }
.mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.events figure:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.mini figure.is-lead { grid-column: span 2; grid-row: span 3; aspect-ratio: 2 / 3; order: -1; border-radius: 18px; }
/* desktop: big photo + three columns of thumbnails with varied heights (12 rows) */
@media (min-width: 761px) {
  .events:not(.is-filtered) .mini { aspect-ratio: 5 / 3; grid-template-rows: repeat(12, 1fr); }
  .events:not(.is-filtered) .mini figure { aspect-ratio: auto; }
  .events:not(.is-filtered) .mini figure.is-lead { grid-column: 1 / 3; grid-row: 1 / 13; }
  .events:not(.is-filtered) .mini figure:nth-child(2) { grid-column: 3; grid-row: 1 / 6; }
  .events:not(.is-filtered) .mini figure:nth-child(3) { grid-column: 3; grid-row: 6 / 10; }
  .events:not(.is-filtered) .mini figure:nth-child(4) { grid-column: 3; grid-row: 10 / 13; }
  .events:not(.is-filtered) .mini figure:nth-child(5) { grid-column: 4; grid-row: 1 / 5; }
  .events:not(.is-filtered) .mini figure:nth-child(6) { grid-column: 4; grid-row: 5 / 8; }
  .events:not(.is-filtered) .mini figure:nth-child(7) { grid-column: 4; grid-row: 8 / 13; }
  .events:not(.is-filtered) .mini figure:nth-child(8) { grid-column: 5; grid-row: 1 / 4; }
  .events:not(.is-filtered) .mini figure:nth-child(9) { grid-column: 5; grid-row: 4 / 9; }
  .events:not(.is-filtered) .mini figure:nth-child(10) { grid-column: 5; grid-row: 9 / 13; }
  .events:not(.is-filtered) .mini[data-n="9"] figure:nth-child(2) { grid-column: 3; grid-row: 1 / 6; }
  .events:not(.is-filtered) .mini[data-n="9"] figure:nth-child(3) { grid-column: 3; grid-row: 6 / 10; }
  .events:not(.is-filtered) .mini[data-n="9"] figure:nth-child(4) { grid-column: 3; grid-row: 10 / 13; }
  .events:not(.is-filtered) .mini[data-n="9"] figure:nth-child(5) { grid-column: 4; grid-row: 1 / 5; }
  .events:not(.is-filtered) .mini[data-n="9"] figure:nth-child(6) { grid-column: 4; grid-row: 5 / 8; }
  .events:not(.is-filtered) .mini[data-n="9"] figure:nth-child(7) { grid-column: 4; grid-row: 8 / 13; }
  .events:not(.is-filtered) .mini[data-n="9"] figure:nth-child(8) { grid-column: 5; grid-row: 1 / 8; }
  .events:not(.is-filtered) .mini[data-n="9"] figure:nth-child(9) { grid-column: 5; grid-row: 8 / 13; }
  .events:not(.is-filtered) .mini[data-n="8"] figure:nth-child(2) { grid-column: 3; grid-row: 1 / 6; }
  .events:not(.is-filtered) .mini[data-n="8"] figure:nth-child(3) { grid-column: 3; grid-row: 6 / 10; }
  .events:not(.is-filtered) .mini[data-n="8"] figure:nth-child(4) { grid-column: 3; grid-row: 10 / 13; }
  .events:not(.is-filtered) .mini[data-n="8"] figure:nth-child(5) { grid-column: 4; grid-row: 1 / 8; }
  .events:not(.is-filtered) .mini[data-n="8"] figure:nth-child(6) { grid-column: 4; grid-row: 8 / 13; }
  .events:not(.is-filtered) .mini[data-n="8"] figure:nth-child(7) { grid-column: 5; grid-row: 1 / 6; }
  .events:not(.is-filtered) .mini[data-n="8"] figure:nth-child(8) { grid-column: 5; grid-row: 6 / 13; }
  .events:not(.is-filtered) .mini[data-n="6"] figure:nth-child(2) { grid-column: 3; grid-row: 1 / 6; }
  .events:not(.is-filtered) .mini[data-n="6"] figure:nth-child(3) { grid-column: 3; grid-row: 6 / 13; }
  .events:not(.is-filtered) .mini[data-n="6"] figure:nth-child(4) { grid-column: 4; grid-row: 1 / 8; }
  .events:not(.is-filtered) .mini[data-n="6"] figure:nth-child(5) { grid-column: 4; grid-row: 8 / 13; }
  .events:not(.is-filtered) .mini[data-n="6"] figure:nth-child(6) { grid-column: 5; grid-row: 1 / 13; }
}
@media (max-width: 760px) {
  .mini { grid-template-columns: repeat(3, 1fr); }
  .mini figure.is-lead { grid-column: span 3; grid-row: span 1; aspect-ratio: 4 / 5; }
}
.mini figcaption { display: none; }
/* filtered: one continuous captioned list, same look as "További munkáink" */
.events.is-filtered { columns: 3; column-gap: clamp(12px, 1.6vw, 22px); }
.events.is-filtered .event, .events.is-filtered .mini, .events.is-filtered .gallery { display: contents; }
.events.is-filtered .event-head { display: none; }
.events.is-filtered figure { margin: 0 0 clamp(18px, 2.2vw, 30px); break-inside: avoid; display: grid; gap: 10px; aspect-ratio: auto; overflow: visible; background: none; border-radius: 0; cursor: zoom-in; }
.events.is-filtered figure[hidden] { display: none; }
.events.is-filtered figure img { position: static; width: 100%; height: auto; border-radius: 18px; background: var(--ph-1); }
.events.is-filtered .mini .zw { position: static; border-radius: 18px; }
.events.is-filtered .mini figcaption { display: block; }
.events.is-filtered figcaption .couple { display: none; }
@media (max-width: 760px) { .events.is-filtered { columns: 2; } }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px; padding: 56px 12px 24px; background: color-mix(in srgb, color-mix(in srgb, var(--deep) 55%, #000) 96%, transparent); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; min-width: 0; display: grid; justify-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 10px; }
.lightbox figcaption { text-align: center; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-deep-muted); }
.lightbox figcaption .couple { display: block; margin-top: .35em; font-size: .78rem; letter-spacing: .08em; text-transform: none; color: var(--on-deep); }
.lb-close, .lb-nav { display: grid; place-items: center; padding: 0; color: var(--on-deep); background: rgba(243, 239, 231, .06); border: 1px solid rgba(243, 239, 231, .2); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; transition: background .2s; }
.lb-close:hover, .lb-nav:hover { background: rgba(243, 239, 231, .2); }
.lb-close:focus-visible, .lb-nav:focus-visible { outline: 2px solid var(--on-deep); outline-offset: 2px; }
.lb-close { position: absolute; top: 12px; right: 12px; }
.lightbox.single .lb-nav { visibility: hidden; }
html.lb-open { overflow: hidden; }
@media (max-width: 760px) { .lb-nav { width: 34px; height: 34px; } .lightbox { padding-inline: 6px; } }
.gallery-cta { display: flex; justify-content: center; margin-top: 48px; }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { padding: 34px 28px 8px 0; border-top: 1px solid color-mix(in srgb, var(--on-deep) 25%, transparent); display: grid; gap: 14px; align-content: start; counter-increment: step; position: relative; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-size: 3.2rem; line-height: 1; color: var(--accent-soft); font-weight: 300; }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-soft); }
.steps h3 { font-size: 1.6rem; }
.steps p { color: var(--on-deep-muted); font-size: .98rem; }
.steps .when { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-soft); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 0 32px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* faq */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.55rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 200; font-size: 1.8rem; line-height: 1; color: var(--accent); transition: transform .3s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; color: var(--muted); max-width: 40em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- quote form ---------- */
.quote-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.quote-aside { display: grid; gap: 28px; position: sticky; top: 120px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 2px; }
.contact-list small { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span { font-family: var(--body); font-size: 1rem; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; } .quote-aside { position: static; } }

.quote { background: white; border: 1px solid var(--line); border-radius: 28px; padding: clamp(22px, 4vw, 48px); transition: background-color .5s; min-width: 0; }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; list-style: none; margin: 0 0 36px; padding: 0; counter-reset: p; }
.progress li { counter-increment: p; display: grid; gap: 10px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.progress li::before { content: ""; height: 2px; border-radius: 2px; background: var(--line-strong); transition: background-color .3s; }
.progress li.done::before, .progress li.current::before { background: var(--accent); }
.progress li.current { color: var(--ink); }
.progress li span::before { content: counter(p) ". "; }
@media (max-width: 600px) { .progress li span { display: none; } .progress li.current span { display: inline; } .progress li.current { grid-column: span 1; white-space: nowrap; } }

.step { display: grid; gap: 26px; border: 0; margin: 0; padding: 0; min-width: 0; }
.step legend { padding: 0; margin-bottom: 4px; font-family: var(--display); font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 300; line-height: 1.1; }
.step-intro { color: var(--muted); font-size: .98rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field > label, .group-label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 400; color: var(--ink); }
.req { color: var(--accent); }
.hint { font-size: .85rem; color: var(--muted); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"],
.field input[type="date"], .field input[type="number"], .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  padding: 12px 2px; transition: border-color .2s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.field select option { background: var(--surface); color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; border: 1px solid var(--line-strong); border-radius: 14px; padding: 14px 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.err { color: var(--error); font-size: .85rem; min-height: 0; }
.err:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.chip span {
  display: inline-flex; align-items: center; gap: .55em; padding: .7em 1.2em; border-radius: 999px;
  border: 1px solid var(--line-strong); font-size: .9rem; transition: background-color .2s, color .2s, border-color .2s; user-select: none;
}
.chip span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; transition: background-color .2s; }
.chip input:checked + span { background: color-mix(in srgb, var(--heading) 6%, transparent); color: var(--heading); border-color: var(--heading); box-shadow: inset 0 0 0 1px var(--heading); }   /* selected option: green border */
.chip input:checked + span::before { background: var(--heading); border-color: var(--heading); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip:hover span { border-color: var(--ink); }
.deco-groups { display: grid; gap: 22px; }
.deco-group { display: grid; gap: 10px; border: 0; padding: 0; margin: 0; }
.deco-group legend { font-family: var(--body); font-weight: 500; font-size: .95rem; color: var(--accent); padding: 0; margin-bottom: 10px; }

.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .styles { grid-template-columns: repeat(2, 1fr); } }
.style-card { position: relative; }
.style-card input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.style-card .sc { display: grid; gap: 10px; padding: 12px 12px 14px; border: 1px solid var(--line-strong); border-radius: 9px; transition: border-color .2s, background-color .2s; height: 100%; }
.style-card .sw { display: flex; height: 48px; border-radius: 10px; overflow: hidden; }
.style-card .sw i { flex: 1; }
.style-card b { font-weight: 500; font-family: var(--body); font-size: .98rem; line-height: 1.1; }
.style-card small { color: var(--muted); font-size: .8rem; line-height: 1.4; }
.style-card input:checked + .sc { border-color: var(--heading); background: color-mix(in srgb, var(--heading) 5%, transparent); box-shadow: inset 0 0 0 1px var(--heading); }   /* selected: green border */
.style-card input:focus-visible + .sc { outline: 2px solid var(--accent); outline-offset: 2px; }

.range-row { display: flex; align-items: center; gap: 18px; }
.range-row input[type="range"] { --p: 24%; flex: 1; min-width: 0; height: 26px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.range-row input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--p), var(--line-strong) var(--p)); }
.range-row input[type="range"]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--line-strong); }
.range-row input[type="range"]::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--accent); }
.range-row input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 1px 4px rgba(94, 72, 56, .18); transition: transform .15s; }
.range-row input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 1px 4px rgba(94, 72, 56, .18); transition: transform .15s; }
.range-row input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.range-row input[type="range"]:active::-moz-range-thumb { transform: scale(1.12); }
.range-row input[type="range"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.range-row .range-val { white-space: nowrap; min-width: 6ch; text-align: right; }
.range-row output { font-family: var(--body); font-size: 1.4rem; font-variant-numeric: tabular-nums; }
.range-row .unit { font-size: .85rem; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: center; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; margin: 1px 0 0; flex: none; border: 1.5px solid var(--line-strong); border-radius: 5px; background: var(--surface) center / 16px 16px no-repeat; cursor: pointer; transition: background-color .2s, border-color .2s; }
.check input:hover { border-color: var(--heading); }
.check input:checked { border-color: var(--heading); background-color: var(--heading); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='3' stroke='%23fff'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m4.5 12.75 6 6 9-13.5'/%3E%3C/svg%3E"); background-size: 10px 10px; }

.drop { border: 1px dashed var(--line-strong); border-radius: 18px; padding: 24px; text-align: center; display: grid; gap: 6px; justify-items: center; cursor: pointer; transition: border-color .2s, background-color .2s; position: relative; }
.drop:hover, .drop.over { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.4; }
.drop strong { font-weight: 400; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.thumbs li { position: relative; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--bg-alt); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; font-size: 14px; line-height: 22px; padding: 0; }

.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.form-nav .spacer { flex: 1; }
.draft-note { font-size: .78rem; color: var(--muted); }

.summary { display: grid; gap: 0; border-top: 1px solid var(--line); }
.summary section { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.summary header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.summary h4 { margin: 0; font-family: var(--body); font-weight: 500; font-size: 1rem; }
.summary .edit { background: none; border: 0; color: var(--accent); font: 400 .72rem var(--body); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.summary dl { margin: 0; display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 6px 18px; font-size: .95rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .summary dl { grid-template-columns: 1fr; } .summary dd { margin-bottom: 8px; } }

.success { display: grid; gap: 18px; justify-items: center; text-align: center; padding: 40px 8px; }
.success svg { width: 70px; height: 100px; fill: none; stroke: var(--accent); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.success h3 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; line-height: 1.05; }
.success p { color: var(--muted); max-width: 30em; }
.success .btn svg { width: 1.1em; height: 1.1em; stroke: currentColor; stroke-width: 1.6; }
.success .demo { font-size: .82rem; border: 1px solid var(--line-strong); border-radius: 999px; padding: .5em 1.2em; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: var(--on-deep); padding-block: 80px 32px; transition: background-color .5s; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; align-items: start; }
.foot-grid .logo { width: min(220px, 100%); height: auto; }
.foot-grid h4 { margin: 0 0 16px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 400; color: var(--accent-soft); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; color: var(--on-deep-muted); }
.foot-grid a:hover { color: var(--on-deep); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--on-deep) 18%, transparent); font-size: .8rem; color: var(--on-deep-muted); }
@media (max-width: 800px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 40px 24px; text-align: center; }
  .foot-grid > :first-child { grid-column: 1 / -1; justify-self: center; }
  .foot-grid .logo { display: block; margin-inline: auto; }
  .foot-bottom { flex-direction: column; align-items: center; text-align: center; }
  .foot-legal { justify-content: center; }
}
.foot-bottom a { color: inherit; text-underline-offset: 3px; }
.foot-legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- cookie notice ---------- */
.cookie-bar {
  position: fixed; z-index: 60; right: 16px; bottom: 16px; width: min(400px, calc(100% - 32px));
  background: white; color: var(--muted); border: 1px solid var(--line);
  border-radius: 20px; padding: 20px; box-shadow: 0 24px 60px -20px rgba(94, 72, 56, .35);
  display: flex; align-items: flex-start; gap: 14px;
  animation: cookie-in .5s cubic-bezier(.2, .7, .2, 1) both;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar svg { flex: none; width: 30px; height: 30px; margin-top: 2px; fill: var(--heading); }
.cookie-bar p { font-size: .85rem; line-height: 1.6; }
.cookie-bar p a { color: var(--ink); text-underline-offset: 3px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie-bar .btn { padding: .95em 1.4em; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } }
@media (max-width: 520px) { .cookie-bar { right: 8px; bottom: 8px; width: calc(100% - 16px); } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { animation: none; } }


/* ---------- reveal on scroll (content stays visible without JS) ---------- */
.js .reveal { opacity: .001; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- featured services ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-bottom: clamp(64px, 8vw, 110px); }
.feature { display: grid; grid-template-rows: auto 1fr; background: white; border: 1px solid var(--line); border-radius: var(--shape-card); overflow: hidden; transition: background-color .5s; min-width: 0; }
.feature { border-radius: 32px; }
.feature .ph { aspect-ratio: 16 / 11; }
/* slow zoom on hover: the photo sits on a pseudo-layer so the card edge stays put */
.feature .ph.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: inherit; transition: transform 1.6s cubic-bezier(.2, .7, .2, 1); }
.feature:hover .ph.has-img::before { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) { .feature .ph.has-img::before { transition: none; } .feature:hover .ph.has-img::before { transform: none; } }
.feature-body { display: grid; gap: 18px; align-content: start; padding: clamp(24px, 3.4vw, 44px); }
.feature-body h3 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 400; }
.feature-body > p:not(.eyebrow) { color: var(--muted); }
.feature-body .btn { justify-self: start; margin-top: 8px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ticks li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); position: relative; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 7px; height: 7px; border: 1px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.styles.two { grid-template-columns: 1fr 1fr; }
.styles.two .sc { padding: 18px 20px; }
.styles.two b { font-size: 1.05rem; }

/* ---------- soft glow, top-right of "Így dolgozunk" ---------- */
#folyamat { position: relative; overflow: hidden; isolation: isolate; }
#folyamat::before,
#folyamat::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; border-radius: 50%;
  will-change: transform, opacity;
}
#folyamat { --glow-shift: 0px; }
#folyamat::before {
  top: -52%; right: -18%; width: min(980px, 90vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(243, 239, 231, .13), rgba(207, 199, 185, .05) 50%, transparent 72%);
  animation: glow-a 26s ease-in-out infinite alternate;
}
#folyamat::after {
  top: -34%; right: 4%; width: min(560px, 60vw); aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(251, 249, 244, .09), transparent 70%);
  animation: glow-b 34s ease-in-out infinite alternate;
}
@keyframes glow-a {
  0%   { transform: translate(var(--glow-shift), 0) scale(1);                    opacity: .75; }
  50%  { transform: translate(calc(var(--glow-shift) - 7%), 9%) scale(1.08);     opacity: 1; }
  100% { transform: translate(calc(var(--glow-shift) + 3%), 4%) scale(.96);      opacity: .8; }
}
@keyframes glow-b {
  0%   { transform: translate(calc(var(--glow-shift) * 1.4), 0) scale(1);                   opacity: .6; }
  50%  { transform: translate(calc(var(--glow-shift) * 1.4 + 10%), -6%) scale(1.15);        opacity: 1; }
  100% { transform: translate(calc(var(--glow-shift) * 1.4 - 6%), 8%) scale(.92);           opacity: .7; }
}
@media (prefers-reduced-motion: reduce) { #folyamat::before, #folyamat::after { animation: none; } }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }


/* ======================================================================
   Editorial pass (inspired by the Florisse kit; headings now LÉORA-style sentence case): centred section heads,
   3px-cornered cards and photos, a dark band for the services, terracotta eyebrows, pill buttons.
   ====================================================================== */
:root { --shape-card: 3px; }
h1, h2, h3 { text-transform: none; font-weight: 400; line-height: 1; letter-spacing: -.02em; }   /* LÉORA-style: Boska 400, sentence case, tight tracking */
h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); line-height: .94; letter-spacing: -.028em; }
h2 { font-size: clamp(2.1rem, 3.9vw, 3.2rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); font-weight: 400; }
h1 em, h2 em { font-style: italic; color: inherit; }
.eyebrow { color: var(--accent); letter-spacing: .22em; font-size: .68rem; }
.eyebrow::before { display: none; }
.hero .eyebrow, .band .eyebrow { color: var(--accent-soft); }

.section-head { text-align: center; justify-items: center; margin-inline: auto; }
.section-head > div { justify-items: center; }
.section-head .lead { margin-inline: auto; }
.section-head.split { grid-template-columns: 1fr; justify-items: center; gap: 18px; }
.section-head.split .lead { justify-self: center; }
.faq-grid .section-head { text-align: left; justify-items: start; margin: 0; }
.faq-grid .section-head .lead { margin-inline: 0; }

/* soft 3px corners on boxes and photos */
.hero-box, .feature, .about-art .ph, .quote, .zw, .gallery img, .mini figure, .mini figure.is-lead, .events.is-filtered figure img, .events.is-filtered .mini .zw,
.thumbs li, .drop, .field textarea, .lightbox img, .style-card .sc, .style-card .sw { border-radius: 3px; }
.cookie, .cookie-banner, [class*="cookie"] { border-radius: 3px; }

/* services on the dark band: cream cards */
.band .feature { background: var(--bg); color: var(--text); border: 0; }
.band .feature h3 { color: var(--heading); }
.band .feature .eyebrow { color: var(--accent); }
.band .feature-body { justify-items: center; text-align: center; }
.band .feature-body .ticks { justify-self: stretch; text-align: left; }
.band .feature-body > p:not(.eyebrow) { color: var(--muted); }
.feature-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.feature-body .btn { justify-self: center; }

.event-head { text-align: center; justify-items: center; }
.event-head h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); }

.band .values, .band .values li { color: var(--on-deep-muted); }

/* hero carousel sized like the Elarisse concept: edge to edge inside a thin ivory frame, tall */
.hero { padding: clamp(10px, 1.4vw, 20px) 0 0; }
.hero > .wrap { width: 100%; max-width: none; padding-inline: clamp(10px, 1.4vw, 20px); }
.hero-box { min-height: clamp(500px, calc(94vh - 110px), 770px); }
@media (max-width: 860px) { .hero-box { min-height: 83svh; } }
.hero { background: #fff; padding-bottom: clamp(10px, 1.4vw, 20px); }
