/* Nádszál LPG, alternate homepage.
   World: the reed by the lake in daylight. Réka's own brand colours are the paper: peach sand,
   her olive green, gold. Real reeds, a hazy Balaton morning, a bath-house season ticket.
   Structure: chaptered editorial, hard ground cuts, a folio in the margin.
   Every chapter ground remaps the same semantic roles (--fg, --fg-soft, --accent, --line,
   --btn-*, --mat), so components never name a raw colour.
   Design reference: Ferrari DESIGN.md (chaptered colour fields, one accent used sparingly,
   near-zero radius, the emblem isolated on its field). */

@font-face { font-family: "Marcellus"; font-weight: 400; font-display: swap;
  src: url(assets/fonts/Marcellus-400-normal-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: "Marcellus"; font-weight: 400; font-display: swap;
  src: url(assets/fonts/Marcellus-400-normal-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap;
  src: url(assets/fonts/Jost-400-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-weight: 400; font-display: swap;
  src: url(assets/fonts/Jost-400-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Jost"; font-weight: 500; font-display: swap;
  src: url(assets/fonts/Jost-500-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-weight: 500; font-display: swap;
  src: url(assets/fonts/Jost-500-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ------------------------------------------------------------------ tokens */
:root {
  /* Réka's brand palette, exactly as on nadszal-lpg.hu (design/styles.css) */
  --sand: #f7e5d7;          /* the logo ground                                */
  --sand-deep: #e5d4c7;
  --ink: #5d4416;           /* brown ink                                      */
  --emerald: #686231;       /* her green, an olive                            */
  --emerald-deep: #403c1e;
  --gold: #c89f54;
  --gold-soft: #d4b479;
  --gold-deep: #7c6234;
  --gold-rgb: 200 159 84;   /* gold as channels, for keylines and hairlines at any alpha */
  /* derived steps, each one checked for contrast on its own ground */
  --ink-soft: #6b5432;      /* secondary text on sand and sand-deep (5.8:1 and 5:1) */
  --sand-soft: #efdfcb;     /* secondary text on emerald (4.75:1)             */
  --gold-pale: #f0dfb4;     /* the accent on emerald, small sizes too (4.7:1) */
  --deep-soft: #ddcdb8;     /* secondary text on emerald-deep                 */

  --font-display: "Marcellus", "Optima", "Candara", serif;
  --font-text: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  /* the live booking widget's stylesheet reads these names; mapped onto this world (no pills) */
  --cream: #fbf5ee; --font-body: var(--font-text); --font-label: var(--font-display);
  --hairline: rgb(93 68 22 / .16); --radius-pill: 2px;
  /* paper: a soft mottle and a faint fibre, multiplied into every flat ground at a few percent */
  --paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1000' height='1000'%3E%3Cfilter id='m' x='0' y='0' width='1' height='1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.004 .008' numOctaves='3' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .24 0 0 0 0 .1 .22 0 0 0 -.07'/%3E%3C/filter%3E%3Cfilter id='f' x='0' y='0' width='1' height='1'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .1 .12 0 0 0 -.045'/%3E%3C/filter%3E%3Crect width='1000' height='1000' filter='url(%23m)'/%3E%3Crect width='1000' height='1000' filter='url(%23f)'/%3E%3C/svg%3E");

  /* semantic roles, default ground = sand. Each .ground--* remaps them. */
  --bg: var(--sand);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --accent: var(--emerald);          /* display accents: motto, menu labels, questions */
  --line: 93 68 22;                  /* hairlines, as channels for any alpha           */
  --btn-bg: var(--emerald); --btn-fg: var(--sand); --btn-hover: var(--emerald-deep);
  --mat: #ead6c5;                    /* the mat around a framed photograph             */
  --shadow: 64 44 16;

  --sc-canvas: var(--sand);
  --sc-ink: var(--ink);
  --sc-ink-soft: var(--ink-soft);
  --sc-accent: var(--emerald);
  --sc-accent-ink: var(--sand);
  --sc-font-display: var(--font-display);
  --sc-font-text: var(--font-text);

  --folio-bg: #ecd7c6; --folio-fg: var(--ink); --folio-line: rgb(93 68 22 / .22);
  --folio-w: 0rem;
  --folio-h: 3.5rem;
  --gutter: clamp(1.25rem, 4.6vw, 4.75rem);
  --maxw: 84rem;
  --sec: clamp(4.5rem, 9vw, 9.5rem);
  --ease: var(--sc-ease-out);

  --t-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --t-lead: clamp(1.15rem, 1.05rem + 0.45vw, 1.42rem);
  --t-small: clamp(1.0625rem, 1rem + 0.15vw, 1.125rem);   /* PRODUCT.md: body copy never under 17px */
  --t-label: 0.78rem;
  --t-h3: clamp(1.3rem, 1.12rem + 0.6vw, 1.7rem);
  --t-h2: clamp(2.05rem, 1.35rem + 2.7vw, 3.9rem);
  --t-hero: clamp(2.15rem, 1.35rem + 2.5vw, 3.55rem);
}
@media (min-width: 1024px) { :root { --folio-w: 4.5rem; --folio-h: 0rem; } }

/* --------------------------------------------------------------- grounds */
.ground--sand-deep { --bg: var(--sand-deep); --mat: #d8c3b3; --accent: var(--emerald); }
.ground--emerald {
  --bg: var(--emerald); --fg: var(--sand); --fg-soft: var(--sand-soft); --accent: var(--gold-pale);
  --line: 247 229 215; --btn-bg: var(--gold); --btn-fg: var(--emerald-deep); --btn-hover: var(--gold-soft);
  --mat: #575229; --shadow: 30 28 12;
}
.ground--deep {
  --bg: var(--emerald-deep); --fg: var(--sand); --fg-soft: var(--deep-soft); --accent: var(--gold-soft);
  --line: var(--gold-rgb); --btn-bg: var(--gold); --btn-fg: var(--emerald-deep); --btn-hover: var(--gold-soft);
  --mat: #2f2c15; --shadow: 10 9 3;
}
.ground--gold {
  --bg: var(--gold-soft); --fg: var(--ink); --fg-soft: var(--ink); --accent: var(--emerald-deep);
  --line: 64 60 30; --mat: #c4a262;
}
[class*="ground--"], .ground { background-color: var(--bg); background-image: var(--paper); background-size: 1000px 1000px; color: var(--fg); }
[class*="ground--"] ::selection { background: var(--fg); color: var(--bg); }
[class*="ground--"] :focus-visible { outline-color: var(--fg); }

html[data-ground="sand-deep"] { --folio-bg: #d9c5b6; }
html[data-ground="emerald"] { --folio-bg: #5b5629; --folio-fg: var(--sand); --folio-line: rgb(247 229 215 / .25); }
html[data-ground="deep"] { --folio-bg: #34311a; --folio-fg: var(--sand); --folio-line: rgb(var(--gold-rgb) / .35); }
html[data-ground="gold"] { --folio-bg: #c6a565; --folio-fg: var(--emerald-deep); --folio-line: rgb(64 60 30 / .3); }

/* ------------------------------------------------------------------- base */
/* reset, selection, caret, focus ring and tabular table figures come from scrollcraft.css,
   keyed to the --sc-* aliases above */
body {
  font-size: var(--t-body); line-height: 1.65; letter-spacing: 0.005em; font-kerning: normal;
  padding-left: var(--folio-w); padding-bottom: var(--folio-h);
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 500; }
html { scrollbar-color: #c2a98f var(--sand); scrollbar-width: thin; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; 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: 200; background: var(--emerald); color: var(--sand); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.sc-grain { z-index: 40; opacity: 0.035; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-h2); line-height: 1.07; letter-spacing: -0.012em; text-wrap: balance; }
.h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--t-h3); line-height: 1.2; text-wrap: balance; }
.lead { font-size: var(--t-lead); line-height: 1.55; text-wrap: pretty; }
p { text-wrap: pretty; }
.text-link { text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 45%, transparent); text-underline-offset: .2em; white-space: nowrap; }
.text-link:hover { text-decoration-color: currentColor; }

/* buttons: square; the ground decides the fill */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.1rem; padding: .85rem 1.45rem; border-radius: 2px; border: 1px solid transparent;
  font-family: var(--font-text); font-weight: 500; font-size: .86rem; letter-spacing: .09em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease), border-color 160ms var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--main { background: var(--btn-bg); color: var(--btn-fg); }
.btn--main:hover { background: var(--btn-hover); }
.btn--line { border-color: color-mix(in oklab, currentColor 55%, transparent); background: transparent; }
.btn--line:hover { border-color: currentColor; background: color-mix(in oklab, currentColor 8%, transparent); }

/* a framed photograph: a mat one step off the ground, an inner gold keyline, a soft fall */
.frame { position: relative; padding: clamp(.45rem, .9vw, .8rem); background: var(--mat);
  box-shadow: 0 26px 46px -26px rgb(var(--shadow) / .55); }
.frame::after { content: ""; position: absolute; inset: clamp(.2rem, .45vw, .4rem); border: 1px solid rgb(var(--gold-rgb) / .7); pointer-events: none; }
.frame img { width: 100%; height: auto; }

.chapter { position: relative; padding-block: var(--sec); }
.chapter--tight { padding-block: clamp(3.5rem, 6vw, 6rem); }

/* ---------------------------------------------------------------- folio */
.folio {
  position: fixed; z-index: 70; display: flex; align-items: center;
  background: var(--folio-bg); color: var(--folio-fg);
  transition: background-color 260ms var(--ease), color 260ms var(--ease);
  inset: auto 0 0 0; height: var(--folio-h); padding: 0 .5rem 0 var(--gutter);
  border-top: 1px solid var(--folio-line);
  justify-content: space-between; gap: .5rem;
}
.folio__name { order: 1; font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; line-height: 1.5; padding-block: .2em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: auto; min-width: 0; }
.folio__index, .folio__call {
  order: 2; display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; min-width: 2.75rem; justify-content: center;
  padding: 0 .75rem; background: none; border: 0; color: inherit; cursor: pointer; text-decoration: none;
  font-size: .8rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.folio__call { order: 3; border: 1px solid color-mix(in oklab, currentColor 50%, transparent); border-radius: 2px; }
.folio__index:hover, .folio__call:hover { background: color-mix(in oklab, currentColor 10%, transparent); }

@media (min-width: 1024px) {
  .folio {
    inset: 0 auto 0 0; width: var(--folio-w); height: auto; flex-direction: column; padding: 1.1rem 0 1.25rem;
    border-top: 0; border-right: 1px solid var(--folio-line);
  }
  .folio__index { order: 1; flex-direction: column; padding: .5rem; }
  .folio__index-label, .folio__call-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .folio__name { order: 2; margin: auto 0; writing-mode: vertical-rl; transform: rotate(180deg); font-size: .82rem; letter-spacing: .26em; max-height: 60vh; }
  .folio__call { order: 3; border: 0; }
}

.index-scrim {
  position: fixed; z-index: 65; inset: 0 0 var(--folio-h) var(--folio-w); background: rgb(40 34 14 / .28);
  opacity: 0; visibility: hidden; transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
}
.index {
  position: fixed; z-index: 66; overflow: auto; overscroll-behavior: contain;
  left: 0; right: 0; bottom: var(--folio-h); max-height: min(78svh, 40rem);
  border-top: 1px solid rgb(var(--line) / .25); box-shadow: 0 -24px 40px -28px rgb(var(--shadow) / .6);
  transform: translateY(102%); visibility: hidden;
  transition: transform 300ms var(--ease), visibility 0s linear 300ms;
}
.index-open .index, .index-open .index-scrim { visibility: visible; transition-delay: 0s; }
.index-open .index { transform: none; }
.index-open .index-scrim { opacity: 1; }
.index__inner { padding: 1.5rem var(--gutter) 1.75rem; display: grid; gap: 1.5rem; }
.index__list a { display: block; font-family: var(--font-display); font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); line-height: 1.3; padding: .45rem 0; text-decoration: none; border-bottom: 1px solid rgb(var(--line) / .14); }
.index__list a:hover { color: var(--accent); }
.index__phone { font-family: var(--font-display); font-size: 1.6rem; color: var(--accent); text-decoration: none; }
.index__aside { display: grid; gap: .6rem; color: var(--fg-soft); font-size: var(--t-small); }
@media (min-width: 1024px) {
  .index {
    left: var(--folio-w); right: auto; top: 0; bottom: 0; width: min(23rem, calc(100vw - var(--folio-w))); max-height: none;
    border-top: 0; border-right: 1px solid rgb(var(--line) / .25); box-shadow: 24px 0 40px -28px rgb(var(--shadow) / .6);
    transform: translateX(-102%);
  }
  .index__inner { padding: 2.25rem 2rem; gap: 2rem; }
}
@media (prefers-reduced-motion: reduce) { .index { transition: visibility 0s linear 120ms; } .index-open .index { transition-delay: 0s; } }

/* ------------------------------------------------------------ title page */
/* Planes: the hazy lake far, a second reed blurred behind, the real reed in front.
   Both reeds are drawn on canvas strip by strip, so the stalk bends from its root. */
.hero { position: relative; height: 150svh; background: #f3dfcf; }
.hero__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; isolation: isolate; }
.hero__plane { position: absolute; will-change: transform; }
.hero__lake { inset: -5% -3%; z-index: 0; }
.hero__lake img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(1.25); }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, rgba(247, 229, 215, .9) 0%, rgba(247, 229, 215, .72) 30%, rgba(247, 229, 215, .18) 52%, transparent 64%);
}
/* a reed canvas is 1.5 times the image width so the plumes have room to bend */
.reed { aspect-ratio: 0.834; }
.reed canvas, .reed img { position: absolute; inset: 0; width: 100%; height: 100%; }
.reed img { object-fit: contain; object-position: 50% 100%; }
.reed.is-live img { visibility: hidden; }
.hero__reed { z-index: 4; right: -3vw; bottom: -9svh; height: 104svh; }
.hero__reed--far { z-index: 3; right: 22vw; bottom: -7svh; height: 74svh; opacity: .5; filter: blur(2.2px) saturate(.9); }
.hero__reed--far img { transform: scaleX(-1); }   /* the canvas mirrors itself in page.js */
.hero__copy {
  position: absolute; z-index: 5; left: var(--gutter); top: 50%; translate: 0 -50%;
  width: min(39rem, 50vw); display: grid; gap: clamp(1.1rem, 2.4vh, 1.8rem);
}
.hero__logo { width: clamp(15rem, 24vw, 24rem); height: auto; margin-left: -0.6rem; }
.hero__beats { display: grid; }
.hero__beat { grid-area: 1 / 1; display: grid; gap: .95rem; align-content: start; will-change: opacity, transform; }
.hero__beat--two { opacity: 0; }
.hero__title, .hero__motto { font-family: var(--font-display); font-weight: 400; font-size: var(--t-hero); line-height: 1.06; text-wrap: balance; }
.hero__title { letter-spacing: -0.012em; }
.hero__motto { color: var(--accent); }
.hero__lead { font-size: var(--t-lead); line-height: 1.5; color: var(--fg-soft); max-width: 32ch; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.6rem; }
.hero__phone { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: .02em; text-decoration: none; }
.hero__phone:hover { color: var(--accent); }

@media (max-width: 899px) {
  .hero { height: 135svh; }
  .hero__stage { height: calc(100svh - var(--folio-h)); }
  .hero__lake img { object-position: 50% 70%; }
  .hero__scrim { background: linear-gradient(180deg, rgba(247, 229, 215, .9) 0%, rgba(247, 229, 215, .7) 40%, rgba(247, 229, 215, .1) 62%, transparent 74%); }
  .hero__copy { top: clamp(1.5rem, 5svh, 3rem); translate: none; width: auto; right: var(--gutter); gap: 1rem; }
  .hero__logo { width: min(17rem, 72vw); }
  :root { --t-hero: clamp(1.75rem, 1.2rem + 2.6vw, 2.4rem); }
  .hero__lead { font-size: 1.0625rem; max-width: 34ch; }
  .hero__reed { right: -22vw; bottom: -8svh; height: 50svh; }
  .hero__reed--far { right: 36vw; bottom: -6svh; height: 36svh; }
}
@media (max-width: 899px) and (max-height: 700px) {
  .hero__logo { width: min(13rem, 60vw); }
  .hero__lead { line-height: 1.45; }
  .hero__reed { height: 44svh; }
  .hero__reed--far { height: 31svh; }
}
@media (prefers-reduced-motion: reduce) {
  .hero { height: auto; }
  .hero__stage { position: relative; height: 100svh; }
  .hero__beat--two { display: none; }
}

/* --------------------------------------------------------- nekem való? */
.doubt { padding-bottom: clamp(2.5rem, 5vw, 4.5rem); border-bottom: 1px solid rgb(var(--line) / .25); }
.doubt__quote { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 1.2rem + 5.2vw, 6rem); line-height: 1.02; letter-spacing: -0.02em; max-width: 14ch; text-wrap: balance; color: var(--accent); }
.doubt-body { display: grid; gap: clamp(2.5rem, 5vw, 5rem); padding-top: clamp(2.5rem, 5vw, 4.5rem); }
.doubt-body__lead { max-width: 36rem; }
.doubt-body .trial { color: var(--fg-soft); }
.doubt-body .trial strong { color: var(--fg); font-weight: 500; }
.fit__intro { font-family: var(--font-display); font-size: var(--t-h3); margin-bottom: 1.25rem; }
.fit__list { columns: 2 17rem; column-gap: clamp(1.5rem, 4vw, 3.5rem); }
.fit__list li { break-inside: avoid; padding: .7rem 0 .75rem; border-top: 1px solid rgb(var(--line) / .2); }
@media (min-width: 1000px) { .doubt-body { grid-template-columns: 5fr 7fr; } }

/* ------------------------------------------------------------- réka */
.reka { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.reka__copy { max-width: 36rem; }
.reka__copy > * + * { margin-top: 1.15rem; }
.reka__copy .h2 { margin-bottom: .6rem; }
.reka__copy .lead { color: var(--fg); }
.reka__copy p { color: var(--fg-soft); }
.reka__name { padding-top: 1.1rem; border-top: 1px solid rgb(var(--line) / .3); font-size: var(--t-small); }
.reka__name span { display: block; font-family: var(--font-display); font-size: var(--t-h3); color: var(--accent); margin-bottom: .15rem; }
@media (min-width: 900px) { .reka { grid-template-columns: 5fr 6fr; } }

.salon { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); margin-top: clamp(4rem, 8vw, 7.5rem); align-items: end; }
.salon__text { max-width: 30rem; }
.salon__text .h3 { margin-bottom: .6rem; color: var(--accent); }
.salon__text p { color: var(--fg-soft); }
.salon__machine figcaption, .menu__figure figcaption { margin-top: .75rem; font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
@media (min-width: 900px) {
  .salon { grid-template-columns: 7fr 1fr 3.4fr; grid-template-rows: auto auto; align-items: end; }
  .salon__text { grid-column: 1; grid-row: 1; padding-bottom: .5rem; }
  .salon__room { grid-column: 1; grid-row: 2; }
  .salon__machine { grid-column: 3; grid-row: 1 / span 2; }
}

/* ---------------------------------------------------------- kezelések */
.chapter-head { display: grid; gap: 1.1rem; max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.chapter-head .lead { color: var(--fg-soft); }
@media (min-width: 1000px) {
  .chapter-head--row { max-width: none; grid-template-columns: 5fr 6fr; align-items: end; gap: clamp(2rem, 5vw, 5rem); }
}
.menu { display: grid; gap: clamp(2.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem); }
.menu__label { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4rem); line-height: 1; color: var(--accent); }
.menu__sub { margin-top: .5rem; color: var(--fg-soft); font-size: var(--t-small); max-width: 30ch; }
.menu dl { margin-top: 1.4rem; }
.tx-item { padding: 1.05rem 0 1.15rem; border-top: 1px solid rgb(var(--line) / .24); }
.tx-item dt { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.tx-name { font-family: var(--font-display); font-size: var(--t-h3); line-height: 1.2; }
.tx-dur { flex: none; font-size: var(--t-small); font-weight: 500; letter-spacing: .06em; color: var(--fg); font-variant-numeric: tabular-nums; }
.tx-item dd { margin-top: .35rem; color: var(--fg-soft); font-size: var(--t-small); max-width: 44ch; }
.menu__figure figcaption { display: flex; align-items: center; gap: .7rem; }
.lpg-mark { width: 2rem; height: 2rem; opacity: .8; }
@media (min-width: 900px) {
  .menu { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .menu__group--arc { grid-column: 1 / span 5; }
  .menu__group--test { grid-column: 7 / span 6; }
  .menu__figure { grid-column: 1 / span 5; margin-top: 1rem; }
  .menu__group--komb { grid-column: 7 / span 6; }
}

.answers { display: grid; gap: 2.25rem clamp(2rem, 5vw, 4.5rem); margin-top: clamp(4rem, 8vw, 7rem); padding-top: clamp(2.5rem, 4vw, 3.5rem); border-top: 1px solid rgb(var(--line) / .3); }
.answer__q { font-family: var(--font-display); font-weight: 400; font-size: var(--t-h3); color: var(--accent); margin-bottom: .6rem; }
.answer p { font-size: var(--t-small); line-height: 1.7; max-width: 62ch; }
@media (min-width: 900px) {
  .answers { grid-template-columns: repeat(12, 1fr); }
  .answer { grid-column: span 4; }
  .answer--wide { grid-column: span 8; }
}

/* ------------------------------------------------- breath + the peak */
.breath { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.breath__band { height: clamp(12rem, 30vw, 28rem); overflow: hidden; position: relative; }
/* the live site's reed loop (copied from design/assets/gen), plays only on screen; no transform on video */
.breath__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.breath__line { font-family: var(--font-display); font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.6rem); line-height: 1.08; letter-spacing: -0.015em; text-align: center; max-width: 16ch; margin: clamp(3rem, 6vw, 5rem) auto 0; padding-inline: var(--gutter); text-wrap: balance; color: var(--accent); }
.breath__sub { font-size: var(--t-lead); line-height: 1.5; text-align: center; max-width: 34ch; margin: 1.2rem auto 0; padding-inline: var(--gutter); text-wrap: balance; }

.kura__stage { display: grid; align-items: center; }
.kura__inner {
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding: clamp(1.25rem, 4vh, 3rem) var(--gutter) calc(var(--folio-h) + clamp(1rem, 3vh, 2.5rem));
  display: grid; gap: clamp(1rem, 3vh, 2.5rem) clamp(2rem, 5vw, 5.5rem); align-content: center;
}
.kura__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.45rem, 1rem + 1.8vw, 2.6rem); line-height: 1.12; text-wrap: balance; max-width: 22ch; }
@media (min-width: 1000px) {
  .kura__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: auto 1fr; }
  .kura__title { grid-column: 1 / -1; }
}

.ticket {
  --t-ink: #4a3510; --t-soft: var(--ink-soft); --t-line: rgb(74 53 16 / .28);
  position: relative; color: var(--t-ink);
  background: #f4dcc6 radial-gradient(130% 90% at 18% 0%, rgba(255, 246, 236, .6), transparent 62%);
  padding: clamp(1.1rem, 2.6vw, 2.1rem) clamp(1.4rem, 3vw, 2.6rem);
  width: 100%; max-width: 37rem; justify-self: start; align-self: center;
  rotate: -1deg;
  box-shadow: 0 2px 0 rgba(255, 248, 238, .5) inset, 0 30px 50px -22px rgba(0, 0, 0, .7), 0 8px 16px -8px rgba(0, 0, 0, .45);
  /* perforated stub edges: half-holes cut along both short sides */
  -webkit-mask: radial-gradient(circle at 0 50%, transparent .42rem, #000 .45rem) left / 51% 1.2rem repeat-y,
                radial-gradient(circle at 100% 50%, transparent .42rem, #000 .45rem) right / 51% 1.2rem repeat-y;
          mask: radial-gradient(circle at 0 50%, transparent .42rem, #000 .45rem) left / 51% 1.2rem repeat-y,
                radial-gradient(circle at 100% 50%, transparent .42rem, #000 .45rem) right / 51% 1.2rem repeat-y;
}
.ticket::before { content: ""; position: absolute; inset: .55rem 1.1rem; border: 1px solid rgb(var(--gold-rgb) / .8); pointer-events: none; }
.ticket::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/><feColorMatrix values='0 0 0 0 .35 0 0 0 0 .25 0 0 0 0 .12 0 0 0 .9 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>"); }
.ticket ::selection { background: var(--t-ink); color: var(--sand); }
.ticket__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--t-line); }
.ticket__brand { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.1; color: var(--emerald); }
.ticket__brand span { display: block; font-family: var(--font-text); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--t-soft); margin-top: .2rem; }
.ticket__kind { font-size: .74rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--t-soft); }
.ticket__fields { display: grid; gap: .9rem 1.5rem; padding: 1rem 0 .3rem; }
@media (min-width: 560px) { .ticket__fields { grid-template-columns: 1fr auto; align-items: end; } }
.ticket__field { display: grid; gap: .3rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.ticket__label { font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--t-soft); padding: 0; }
.ticket select {
  appearance: none; width: 100%; min-height: 2.75rem; padding: .35rem 2rem .35rem 0; border: 0; border-bottom: 1px solid var(--t-ink); border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%234a3510' stroke-width='1.5'/%3E%3C/svg%3E") right .2rem center no-repeat;
  font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); color: var(--t-ink); cursor: pointer;
}
.ticket select:focus-visible, .ticket__seg input:focus-visible + span { outline: 2px solid var(--emerald); outline-offset: 2px; }
.ticket__seg { display: flex; }
.ticket__seg label { position: relative; }
.ticket__seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.ticket__seg span {
  display: grid; place-items: center; min-width: 2.85rem; height: 2.75rem; border: 1px solid var(--t-ink); margin-left: -1px;
  font-weight: 500; font-variant-numeric: tabular-nums; transition: background-color 140ms var(--ease), color 140ms var(--ease);
}
.ticket__seg label:first-child span { margin-left: 0; }
.ticket__seg input:checked + span { background: var(--emerald); border-color: var(--emerald); color: var(--sand); }
.ticket__seg input:not(:checked):hover + span { background: rgb(104 98 49 / .12); }

.ticket__holes { display: grid; grid-template-columns: repeat(6, auto); justify-content: start; gap: .55rem .7rem; padding: 1rem 0 .9rem; }
.hole {
  width: clamp(1.9rem, 2.6vw, 2.35rem); aspect-ratio: 1; border-radius: 50%;
  border: 1.5px dashed rgb(74 53 16 / .55); display: grid; place-items: center;
  font-size: .72rem; font-weight: 500; color: var(--t-soft); font-variant-numeric: tabular-nums;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), transform 220ms var(--ease);
}
.hole.is-punched {
  /* a real hole: the ground behind the ticket shows through */
  background: var(--bg); border: 1.5px solid #2c2913; font-size: 0;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, .55), 0 1px 0 rgba(255, 248, 238, .55);
}
@media (prefers-reduced-motion: no-preference) { .hole.is-punched { animation: punch 260ms var(--ease); } }
@keyframes punch { from { transform: scale(.82); } to { transform: none; } }

.ticket__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1.1rem; padding-top: .6rem; border-top: 1px solid var(--t-line); }
.ticket__total { font-family: var(--font-display); font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.4rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.ticket__per { flex-basis: 100%; font-weight: 500; color: var(--t-soft); font-variant-numeric: tabular-nums; }
.ticket__facts { display: grid; gap: .2rem; margin-top: .55rem; font-size: var(--t-small); color: var(--t-ink); }
.ticket__facts li::before { content: ""; display: inline-block; width: .38rem; height: .38rem; margin-right: .6rem; background: var(--gold); rotate: 45deg; translate: 0 -.12rem; }
.ticket__facts li[hidden] { display: none; }
.ticket__note { margin-top: .55rem; font-size: var(--t-small); color: var(--t-soft); }
.ticket__note:empty { display: none; }
.ticket__book { display: inline-block; margin-top: .8rem; font-weight: 500; font-size: .86rem; letter-spacing: .09em; text-transform: uppercase; color: var(--emerald); text-decoration: underline; text-underline-offset: .3em; }

.steps { display: grid; gap: clamp(.7rem, 2vh, 1.35rem); align-self: center; }
.step { position: relative; padding-left: 1.9rem; --step-ink: #b6ab90; --when-ink: #b6ab90; color: var(--step-ink); }
.step::before {
  content: ""; position: absolute; left: 0; top: .5rem; width: .95rem; height: .95rem; border-radius: 50%;
  border: 1.5px dashed rgb(var(--gold-rgb) / .75); transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.step.is-reached { --step-ink: var(--fg-soft); --when-ink: var(--gold-soft); color: var(--fg); }
.step.is-reached::before { background: var(--gold); border: 1.5px solid var(--gold); }
.step.is-current .step__h { color: var(--gold-soft); }
.step.is-out-of-range .step__h { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: rgb(var(--gold-rgb) / .55); }
.step__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .1rem 1rem; }
.step__row .step__h { min-width: 0; }
.step__when { flex: none; font-size: var(--t-small); font-weight: 500; color: var(--when-ink); font-variant-numeric: tabular-nums; }
.step__h { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.2rem, 1rem + .7vw, 1.6rem); line-height: 1.2; margin-top: .1rem; transition: color 200ms var(--ease); }
.step__when, .step__p { transition: color 200ms var(--ease); }
.step__p { font-size: var(--t-small); color: var(--step-ink); margin-top: .25rem; max-width: 46ch; }
@media (max-width: 999px) {
  .kura__inner { align-content: start; padding-top: clamp(1rem, 3vh, 1.5rem); gap: 1rem; }
  .ticket { rotate: 0deg; }
}
@media (max-width: 999px) and (prefers-reduced-motion: no-preference) {
  .ticket__book { display: none; }
  /* phones, pinned: the holes carry the progress, so the stage shows only the step being reached */
  .step:not(.is-current) { display: none; }
}
/* Without motion page.js takes the pin off: the course reads as an ordinary chapter, every step listed. */
@media (prefers-reduced-motion: reduce) { .kura__inner { padding-block: var(--sec); } }
@media (max-width: 999px) and (max-height: 760px) and (prefers-reduced-motion: no-preference) {
  .kura__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .kura__inner { padding-top: .9rem; gap: .8rem; }
  .ticket { padding-block: .9rem; }
  .ticket__top { padding-bottom: .45rem; }
  .ticket__total { font-size: 1.9rem; }
  .hole { width: 1.65rem; }
  .step__p { display: none; }
  .ticket__fields { padding-top: .6rem; gap: .55rem 1rem; }
  .ticket__brand span { display: none; }
  .ticket__holes { padding: .5rem 0 .4rem; gap: .3rem .45rem; }
  .ticket__facts { gap: 0; }
}

/* ---------------------------------------------------------------- árak */
.prices { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.try { padding-top: 1.2rem; border-top: 2px solid var(--emerald); }
.try__h { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); line-height: 1.15; text-wrap: balance; }
.try__price { margin-top: .5rem; font-size: var(--t-lead); font-variant-numeric: tabular-nums; }
.try__price strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.6rem); line-height: 1.15; color: var(--emerald); }
.try__note { margin-top: 1rem; color: var(--fg-soft); font-size: var(--t-small); max-width: 34ch; }
@media (min-width: 1000px) { .prices { grid-template-columns: 4fr 8fr; } }

.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline-offset: 6px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: .9rem .75rem; text-align: right; border-bottom: 1px solid rgb(var(--line) / .2); white-space: nowrap; }
.price-table thead th { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-soft); border-bottom: 2px solid var(--emerald); padding-top: 0; }
.price-table th:first-child { text-align: left; padding-left: 0; }
.price-table tbody th { font-weight: 400; white-space: normal; }
.price-table .tx-title { display: block; font-family: var(--font-display); font-size: 1.18rem; line-height: 1.2; }
.price-table .dur { display: block; font-size: .85rem; color: var(--fg-soft); margin-top: .1rem; }
.price-table td { font-weight: 500; }
.price-table .course, .price-table .course-col { background: rgb(104 98 49 / .08); }
.price-notes { display: grid; gap: .65rem; margin-top: 1.5rem; font-size: var(--t-small); color: var(--fg-soft); max-width: 62ch; }
@media (max-width: 699px) {
  .price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .price-table, .price-table tbody { display: block; }
  .price-table tr { display: grid; grid-template-columns: repeat(4, 1fr); padding: .9rem 0 1rem; border-bottom: 1px solid rgb(var(--line) / .22); }
  .price-table th, .price-table td { border: 0; padding: 0; text-align: left; }
  .price-table tbody th { grid-column: 1 / -1; margin-bottom: .55rem; }
  .price-table td { font-size: 1.0625rem; padding-top: .35rem; }
  .price-table td::before { display: block; font-size: .68rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-soft); }
  .price-table td:nth-of-type(1)::before { content: "1 alk."; }
  .price-table td:nth-of-type(2)::before { content: "4 alk."; }
  .price-table td:nth-of-type(3)::before { content: "8 alk."; }
  .price-table td:nth-of-type(4)::before { content: "12 alk."; }
  .price-table .course { background: none; }
}

/* ------------------------------------------------- házirend + írásaim */
.rules { display: grid; gap: 1.75rem clamp(2rem, 4vw, 3.5rem); }
.rule { padding-top: 1rem; border-top: 1px solid rgb(var(--line) / .35); }
.rule h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.22rem; color: var(--accent); margin-bottom: .45rem; }
.rule p { font-size: var(--t-small); color: var(--fg-soft); line-height: 1.65; }
.rules-close { margin-top: 2.5rem; font-family: var(--font-display); font-size: var(--t-h3); color: var(--accent); }
@media (min-width: 700px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rules { grid-template-columns: repeat(3, 1fr); } }

.posts { border-top: 1px solid rgb(var(--line) / .3); }
.post { display: grid; gap: .3rem 2rem; padding: 1.3rem 0 1.4rem; border-bottom: 1px solid rgb(var(--line) / .2); }
.post time { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-soft); padding-top: .45rem; }
.post a { font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .7vw, 1.65rem); line-height: 1.32; text-decoration: none; }
.post a:hover { text-decoration: underline; text-decoration-thickness: 1px; }   /* olive on sand-deep is display-size only */
.post p { color: var(--fg-soft); font-size: var(--t-small); }
@media (min-width: 900px) { .post { grid-template-columns: 11rem 1fr; } .post p { grid-column: 2; } }

/* ------------------------------------------------------- kapcsolat */
.close { position: relative; isolation: isolate; overflow: hidden; }
.close__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 5vw, 5rem); padding-block: var(--sec) clamp(3rem, 6vw, 5rem); }
.close__copy .lead { color: var(--fg-soft); margin-top: 1rem; max-width: 34ch; }
.close__phone { display: inline-block; margin-top: 1.6rem; font-family: var(--font-display); font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.6rem); line-height: 1; color: var(--accent); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.close__phone:hover { color: var(--fg); }
.close__list { font-style: normal; display: grid; gap: 1rem; margin-top: 2rem; max-width: 34rem; }
.close__list p { padding-top: .8rem; border-top: 1px solid rgb(var(--line) / .28); }
.close__list .lbl { display: block; font-size: var(--t-label); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: .2rem; }
.close__list .text-link { margin-left: .5rem; color: var(--accent); }
.book { border: 1px solid rgb(var(--gold-rgb) / .55); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1rem; align-content: start; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .55); }
.book__h { font-family: var(--font-display); font-weight: 400; font-size: var(--t-h3); color: var(--accent); }
.book__carry { padding: .85rem 0; border-block: 1px solid rgb(var(--gold-rgb) / .35); }
.book__carry strong { font-weight: 500; color: var(--accent); }
.book__line { color: var(--fg-soft); font-size: var(--t-small); }
.book__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.book__copied { min-height: 1.2em; font-size: .9rem; color: var(--accent); }
.book .nlpg-open { background: var(--btn-bg); color: var(--btn-fg); border-radius: 2px; }
.book .nlpg-open:hover { background: var(--btn-hover); }
.book .nlpg-open-note { color: var(--fg-soft); }
@media (min-width: 1000px) {
  .close__grid { grid-template-columns: 6fr 1fr 5fr; grid-template-rows: auto auto; align-items: start; }
  .close__copy { grid-column: 1; grid-row: 1 / span 2; }
  .close__door { grid-column: 3; grid-row: 1; }
  .close__door .frame { max-width: 26rem; margin-left: auto; }
  .book { grid-column: 3; grid-row: 2; }
}
@media (min-width: 700px) and (max-width: 999px) {
  .close__grid { grid-template-columns: 1fr 1fr; }
  .close__copy { grid-column: 1 / -1; }
}

.colophon { padding-block: 2rem 2.4rem; font-size: .9rem; color: var(--fg-soft); }
.colophon__grid { display: grid; gap: 1rem 2rem; align-items: center; }
.colophon__mark { font-family: var(--font-display); font-size: 1.2rem; color: var(--fg); }
.colophon__mark span { font-family: var(--font-text); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-soft); margin-left: .6rem; }
.colophon__nav { display: flex; flex-wrap: wrap; gap: .4rem 1.3rem; }
.colophon__nav a { text-decoration: none; padding-block: .35rem; }
.colophon__nav a:hover { color: var(--accent); text-decoration: underline; }
.ai-ready-badge { display: inline-block; justify-self: start; opacity: .9; transition: opacity 200ms var(--ease); }
.ai-ready-badge:hover { opacity: 1; }
.ai-ready-badge img { display: block; }
@media (min-width: 1000px) {
  .colophon__grid { grid-template-columns: auto 1fr auto; }
  .colophon__legal { justify-self: end; }
  .colophon__nav { grid-column: 1 / 3; grid-row: 2; }
  .ai-ready-badge { grid-column: 3; grid-row: 1 / span 2; justify-self: end; }
}
