/* CodeCrafter — minimal dark premium: a window floating over a looping workshop video.
   Mobile-first: base = phone (< 561px), then tablet (>= 561px) and desktop (>= 901px). */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font: 400 var(--fs-base)/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
  overflow: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; }
::selection { background: rgba(242, 165, 65, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: var(--radius-xs); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: var(--sp-3); top: -60px; z-index: var(--z-skip);
  background: var(--amber); color: var(--on-amber); padding: var(--sp-2) var(--sp-3-5);
  border-radius: var(--radius-sm); font-weight: 600; text-decoration: none;
}
.skip:focus { top: var(--sp-3); }

/* ---------- Stage: looping video + margin effects ---------- */
.stage { position: fixed; inset: 0; z-index: var(--z-stage); overflow: hidden; background: #120806 center/cover no-repeat; }
.stage__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stage__shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(5, 4, 4, .55) 100%),
    linear-gradient(180deg, rgba(6, 5, 5, .35) 0%, transparent 22%, transparent 60%, rgba(6, 5, 5, .75) 100%);
}
.page--sub .stage__shade { background: radial-gradient(110% 90% at 50% 50%, rgba(8, 6, 6, .15) 30%, rgba(5, 4, 4, .6) 100%); }
.page--home .stage__shade { background: linear-gradient(180deg, rgba(6, 5, 5, .3) 0%, transparent 25%, rgba(6, 5, 5, .55) 55%, rgba(6, 5, 5, .9) 100%); }
.fx { position: fixed; inset: 0; z-index: var(--z-fx); pointer-events: none; width: 100%; height: 100%; }

/* ---------- Brand mark ---------- */
.brand {
  position: fixed; z-index: var(--z-brand); top: var(--sp-6); left: var(--sp-4);
  display: inline-flex; align-items: center; gap: var(--sp-2-5);
  font-weight: 600; letter-spacing: -.01em; font-size: var(--fs-base); text-decoration: none; color: var(--text);
}
.brand__mark {
  width: 26px; height: 26px; border-radius: var(--radius-xs); display: grid; place-items: center;
  background: linear-gradient(145deg, #2a2117, #15110c); border: 1px solid rgba(242, 165, 65, .35);
  font: 600 var(--fs-3xs)/1 var(--mono); color: var(--amber-2);
}
.brand:hover .brand__mark { border-color: var(--amber); }

/* ---------- Home hero ---------- */
.hero {
  position: fixed; z-index: var(--z-page); left: var(--sp-4-5); right: var(--sp-4-5); bottom: var(--sp-6);
  max-height: calc(100dvh - var(--mt) - var(--sp-4)); overflow-y: auto;
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; justify-content: space-between; gap: var(--sp-8);
}
.hero__copy { min-width: 0; }
.hero__kicker {
  display: block; font: 500 10.5px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--amber-2); margin: 0 0 var(--sp-3);
}
.hero__kicker::before {
  content: ""; display: inline-block; vertical-align: 1px; margin-right: var(--sp-2-5);
  width: 7px; height: 7px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber);
}
.hero h1 { margin: 0; font-weight: 600; font-size: var(--fs-hero); line-height: 1.04; letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(0, 0, 0, .55); }
.hero p { margin: var(--sp-4-5) 0 0; max-width: 520px; color: var(--soft); font-size: 15.5px; text-shadow: 0 1px 18px rgba(0, 0, 0, .7); }
.hero__hint { display: none; }
.hero .hero__hint { margin-top: var(--sp-6-5); align-items: center; flex-wrap: wrap; gap: var(--sp-2-5); font: 400 var(--fs-sm)/1.4 var(--mono); color: var(--muted); }
.hero__hint kbd { font: inherit; border: 1px solid var(--line-2); border-radius: var(--radius-2xs); padding: 1px var(--sp-1-5); color: var(--soft); background: rgba(0, 0, 0, .3); }
.hero .footer { justify-self: start; }

/* ---------- Footer ---------- */
.footer { display: flex; align-items: center; gap: var(--sp-4-5) var(--sp-6); flex-wrap: wrap; font-size: var(--fs-sm); color: var(--muted); }
.footer__meta { display: flex; flex-direction: column; gap: var(--sp-1-5); min-width: 0; }
.footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-1) var(--sp-2); font-size: var(--fs-xs2); }
.footer__legal a, .footer__cookie { color: var(--muted); text-decoration: none; }
.footer__cookie { all: unset; cursor: pointer; color: var(--muted); }
.footer__cookie:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: var(--radius-xs); }
.footer__legal a:hover, .footer__cookie:hover { color: var(--amber-2); text-decoration: underline; }
.footer__sep { color: var(--dim); }
.footer__social { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.social {
  display: inline-flex; align-items: center; gap: var(--sp-2); height: 38px; padding: 0 var(--sp-3-5) 0 var(--sp-3);
  border: 1px solid var(--line-2); border-radius: var(--radius-full); text-decoration: none; color: var(--soft);
  background: rgba(14, 13, 12, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--dur-fast), color var(--dur-fast), background var(--dur-fast);
}
.social svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.social--icon { width: 38px; padding: 0; justify-content: center; }
.social:hover { color: #fff; border-color: rgba(242, 165, 65, .6); background: rgba(242, 165, 65, .1); }
.window .footer {
  flex-direction: column; align-items: flex-start; justify-content: space-between;
  border-top: 1px solid var(--line); padding: var(--sp-7) 0 var(--sp-1-5); margin-top: var(--sp-18);
}
.window .social { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

/* ---------- Assistant (chat bubble) ---------- */
.assistant { position: fixed; z-index: var(--z-assistant); top: var(--sp-3-5); right: var(--sp-3); display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-3); }
.assistant__bubble {
  position: relative; width: 48px; height: 48px; border-radius: var(--radius-xl); border: 1px solid rgba(242, 165, 65, .35);
  background: linear-gradient(150deg, #2b2218 0%, #141110 70%); color: var(--amber-2); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform var(--dur) var(--ease), border-color var(--dur-fast);
}
.assistant__bubble:hover { transform: translateY(-1px); border-color: var(--amber); }
.assistant__bubble svg { width: 24px; height: 24px; }
.assistant__bubble .ping { position: absolute; top: -3px; right: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); border: 2px solid #141110; }
.assistant__bubble .ping::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--amber); animation: ping 1.8s var(--ease) infinite; }
.assistant.is-open .assistant__bubble .ping { display: none; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.4); opacity: 0; } }

.assistant__panel {
  width: min(352px, calc(100vw - 24px));
  border-radius: var(--radius-panel); overflow: hidden;
  background: rgba(17, 16, 15, .86); border: 1px solid var(--line-2);
  backdrop-filter: blur(22px) saturate(1.2); -webkit-backdrop-filter: blur(22px) saturate(1.2);
  box-shadow: var(--shadow-panel);
  transform-origin: top right;
}
html.js .assistant:not(.is-open) .assistant__panel { display: none; }
html.js .assistant.is-open .assistant__panel { animation: pop var(--dur-pop) var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.96); } to { opacity: 1; transform: none; } }

.assistant__head { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3-5) var(--sp-3-5) var(--sp-3) var(--sp-4); border-bottom: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: var(--radius-md); flex: none; display: grid; place-items: center; background: conic-gradient(from 210deg, #f2a541, #8a4b12, #f7c77d, #f2a541); color: #1a120a; font: 700 var(--fs-xs)/1 var(--mono); }
.assistant__who { flex: 1; min-width: 0; line-height: 1.25; }
.assistant__who strong { display: block; font-size: var(--fs-md); font-weight: 600; overflow-wrap: break-word; }
.assistant__who span { font-size: var(--fs-xs); color: var(--muted); display: inline-flex; align-items: center; gap: var(--sp-1-5); }
.assistant__who span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.icon-btn { width: 32px; height: 32px; border-radius: var(--radius-sm); border: 0; background: transparent; color: var(--muted); cursor: pointer; display: grid; place-items: center; flex: none; }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.icon-btn svg { width: 16px; height: 16px; }

.assistant__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-3); max-height: min(62vh, 520px); overflow: auto; }
.msg { align-self: flex-start; max-width: 92%; background: var(--win-3); border: 1px solid var(--line); padding: var(--sp-2-5) var(--sp-3-5); border-radius: 4px 16px 16px 16px; font-size: var(--fs-md); line-height: 1.5; color: var(--soft); overflow-wrap: anywhere; }
.msg:empty { display: none; }
.caret::after { content: ""; display: inline-block; width: 7px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: var(--amber); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.menu { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-1-5); }
.menu a {
  display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-2-5) var(--sp-3); border-radius: var(--radius-md); text-decoration: none;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--text); font-size: var(--fs-md); font-weight: 500;
  transition: background var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast) var(--ease);
}
.menu a .n { font: 500 var(--fs-3xs)/1 var(--mono); color: var(--dim); width: 18px; flex: none; }
.menu a .t { min-width: 0; overflow-wrap: break-word; }
.menu a .arrow { margin-left: auto; flex: none; color: var(--dim-deco); transition: transform var(--dur-fast) var(--ease), color var(--dur-fast); }
.menu a:hover, .menu a:focus-visible { background: var(--amber-soft); border-color: rgba(242, 165, 65, .45); outline: none; }
.menu a:hover .arrow, .menu a:focus-visible .arrow { transform: translateX(3px); color: var(--amber); }
.menu a[aria-current="page"] { border-color: rgba(242, 165, 65, .3); }
.menu a[aria-current="page"] .n { color: var(--amber); }
.menu li.is-hidden { display: none; }
.menu a.is-typing .arrow { opacity: 0; }

.thinking { display: grid; gap: var(--sp-1); font: 400 var(--fs-2xs)/1.5 var(--mono); color: var(--dim); padding: var(--sp-0-5) var(--sp-0-5) 0; }
.thinking:empty { display: none; }
.thinking div { display: flex; align-items: center; gap: var(--sp-2); animation: fadein var(--dur) var(--ease); }
.thinking div::before { content: "✓"; width: 10px; color: var(--muted); }
.thinking div.is-active { color: var(--muted); }
.thinking div.is-active::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--dim-deco); border-top-color: var(--amber); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadein { from { opacity: 0; transform: translateY(2px); } }

.chatlog { display: grid; gap: var(--sp-2-5); }
.chatlog:empty { margin-top: -12px; }
.msg--me { align-self: flex-end; justify-self: end; background: var(--amber-soft); border-color: rgba(242, 165, 65, .35); color: var(--text); border-radius: 16px 4px 16px 16px; }
.chatlog .msg { margin: 0; white-space: pre-line; animation: fadein var(--dur) var(--ease); }
.msg--error { border-left: 2px solid var(--err); }
.msg__wait { font: 400 var(--fs-2xs)/1.5 var(--mono); color: var(--dim); display: flex; align-items: center; gap: var(--sp-2); }
.msg__wait::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--dim-deco); border-top-color: var(--amber); animation: spin .7s linear infinite; }
.assistant__ask { display: flex; gap: var(--sp-2); padding: var(--sp-3) var(--sp-3) 0 var(--sp-4); border-top: 1px solid var(--line); }
.assistant__ask input { flex: 1; min-width: 0; height: 40px; padding: 0 var(--sp-3); border-radius: var(--radius-md); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); font: 400 var(--fs-body)/1 var(--sans); }
.assistant__ask input::placeholder { color: var(--dim); }
.assistant__ask input:focus { border-color: rgba(242, 165, 65, .55); }
.assistant__ask button { flex: none; width: 40px; height: 40px; border-radius: var(--radius-md); border: 0; background: var(--amber); color: var(--on-amber); display: grid; place-items: center; cursor: pointer; }
html:not(.js) .assistant__ask, html:not(.js) .assistant__foot .assistant__note { display: none; }
.assistant__ask button:disabled { opacity: .4; cursor: default; }
.assistant__ask button svg { width: 18px; height: 18px; }
.assistant__foot { gap: var(--sp-3); padding: var(--sp-2-5) var(--sp-4) var(--sp-3-5); font: 400 var(--fs-3xs)/1.4 var(--mono); color: var(--dim); display: flex; justify-content: space-between; }
.assistant__note { min-width: 0; }
.assistant__esc { flex: none; white-space: nowrap; margin-left: auto; }

/* ---------- Matrix transition canvas ---------- */
.matrix { position: fixed; inset: 0; z-index: var(--z-matrix); pointer-events: none; width: 100%; height: 100%; }
html.is-rebuilding .window, html.is-rebuilding .hero { visibility: hidden; }

/* ---------- Window (sub-pages) ---------- */
.window {
  position: fixed; z-index: var(--z-page);
  top: var(--mt); bottom: var(--m); left: var(--m); right: var(--m);
  max-width: 1180px; margin: 0 auto;
  display: flex; flex-direction: column;
  background: var(--win); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: var(--shadow-window);
}
.titlebar {
  flex: none; height: 46px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-3-5); align-items: center; padding: 0 var(--sp-4);
  background: linear-gradient(180deg, #19191c, #141416); border-bottom: 1px solid var(--line);
}
.dots { display: flex; gap: var(--sp-2); }
.dots span, .dots a { width: 12px; height: 12px; border-radius: 50%; display: block; position: relative; }
.dots .r { background: #ff5f57; }
.dots .y { background: #febc2e; }
.dots .g { background: #28c840; }
.dots a.r::after { content: "×"; position: absolute; inset: 0; display: grid; place-items: center; font: 700 10px/1 var(--sans); color: rgba(60, 0, 0, .75); opacity: 0; }
.dots:hover a.r::after, .dots a.r:focus-visible::after { opacity: 1; }
.dots span { filter: saturate(.85); }
.address {
  display: flex; align-items: center; gap: var(--sp-2); height: 28px; padding: 0 var(--sp-3-5); border-radius: var(--radius-addr);
  min-width: 0; max-width: 100%; justify-self: start;
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line); font-size: var(--fs-xs2); color: var(--muted); white-space: nowrap;
}
.address svg { width: 11px; height: 11px; fill: var(--dim-deco); flex: none; }
.address__path { display: flex; min-width: 0; }
.address__host { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.address b { flex: none; color: var(--soft); font-weight: 500; }
.titlebar__right { display: none; justify-self: end; font: 400 var(--fs-3xs)/1 var(--mono); color: var(--dim); white-space: nowrap; }

.window__body { flex: 1; overflow: auto; overscroll-behavior: contain; }
.window__body:focus { outline: none; }
.window__body::-webkit-scrollbar { width: 10px; }
.window__body::-webkit-scrollbar-thumb { background: #2a2a2f; border-radius: var(--radius-sm); border: 3px solid var(--win); }
.content { max-width: 920px; margin: 0 auto; padding: var(--sp-8) var(--sp-4-5) var(--sp-6); }

/* ---------- Typography in window ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: var(--sp-2-5); font: 500 var(--fs-xs)/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin: 0 0 var(--sp-4-5); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.content h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -.035em; font-weight: 600; margin: 0 0 var(--sp-5); }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--soft); max-width: 680px; margin: 0; }
.content h2 { font-size: var(--fs-4xl); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; margin: var(--sp-13) 0 var(--sp-2); }
.content h3 { font-size: var(--fs-lg); line-height: 1.35; font-weight: 600; letter-spacing: -.01em; margin: 0 0 var(--sp-1-5); }
.content p { color: var(--soft); }
.sub { color: var(--muted); margin: 0 0 var(--sp-7); font-size: var(--fs-base); }
.amber { color: var(--amber-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2-5); height: 46px; padding: 0 var(--sp-5-5);
  border-radius: var(--radius-btn); border: 1px solid transparent; font: 600 var(--fs-base)/1 var(--sans); cursor: pointer; text-decoration: none;
  background: linear-gradient(180deg, #f6b65c, #e9973a); color: var(--on-amber);
  box-shadow: var(--shadow-btn);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast), filter var(--dur-fast);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(242, 165, 65, .3), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(0); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { border-color: rgba(242, 165, 65, .5); box-shadow: none; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); margin: var(--sp-14) 0; border: 0; }

/* ---------- Prose (markdown bodies) ---------- */
.prose { overflow-wrap: break-word; }
.prose p { color: var(--soft); font-size: var(--fs-body); line-height: 1.75; margin: 0 0 var(--sp-4); }
.prose > :last-child { margin-bottom: 0; }
.content .prose h2 { margin: var(--sp-12) 0 var(--sp-2); }
.content .prose h3 { margin: var(--sp-7) 0 var(--sp-2); }
.prose ul, .prose ol { padding-left: var(--sp-5-5); margin: 0 0 var(--sp-4); color: var(--soft); }
.prose li::marker { color: var(--amber); }
.prose a { color: var(--amber-2); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--amber); }
.prose strong { color: var(--text); }
.prose blockquote { margin: 0 0 var(--sp-4); border-left: 2px solid var(--amber); padding-left: var(--sp-4); color: var(--muted); }
.prose code { font: 400 .9em var(--mono); background: var(--win-3); padding: 1px var(--sp-1-5); border-radius: var(--radius-2xs); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: var(--sp-2); text-align: left; }

/* ---------- Bemutatkozás ---------- */
.intro .lead + .prose { margin-top: var(--sp-4); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; }
.fact { background: var(--win-2); padding: var(--sp-4-5) var(--sp-5); }
.fact b { display: block; overflow-wrap: break-word; font-size: var(--fs-stat); font-weight: 600; letter-spacing: -.03em; color: var(--text); }
.fact span { font-size: var(--fs-sm); color: var(--muted); }
.wide-img { margin: var(--sp-14) 0 0; border-radius: var(--radius-2xl); overflow: hidden; border: 1px solid var(--line); }
.wide-img img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.wide-img figcaption { font-size: var(--fs-sm); color: var(--dim); padding: var(--sp-3) var(--sp-4); background: var(--win-2); }
.principles { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
.principle { padding: var(--sp-5-5); border-radius: var(--radius-xl); background: linear-gradient(180deg, var(--win-2), var(--win)); border: 1px solid var(--line); }
.principle .num { font: 500 var(--fs-xs)/1 var(--mono); color: var(--amber); display: block; margin-bottom: var(--sp-4); }
.principle p { margin: 0; font-size: var(--fs-md2); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 var(--sp-7) var(--sp-7); }
.timeline li::before { content: ""; position: absolute; left: -5px; top: var(--sp-2); width: 9px; height: 9px; border-radius: 50%; background: var(--win); border: 2px solid var(--amber); }
.timeline__period { font: 500 var(--fs-xs)/1 var(--mono); color: var(--amber-2); }
.timeline h3 { margin: var(--sp-1-5) 0 var(--sp-1); }
.timeline p { margin: 0; font-size: var(--fs-base); }
.chips { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.chips li { font: 400 var(--fs-sm)/1 var(--mono); padding: 9px var(--sp-3); border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--soft); background: rgba(255, 255, 255, .02); }
.cta {
  margin-top: var(--sp-16); padding: var(--sp-6); border-radius: var(--radius); border: 1px solid rgba(242, 165, 65, .25);
  background: radial-gradient(120% 140% at 0% 0%, rgba(242, 165, 65, .14), transparent 55%), var(--win-2);
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap;
}
.cta > * { min-width: 0; }
.content .cta h2 { margin: 0 0 var(--sp-1); font-size: var(--fs-3xl); }
.cta p { margin: 0; }

/* ---------- Szolgáltatások (accordion) ---------- */
.acc { display: grid; gap: var(--sp-3); margin-top: var(--sp-12); }
.acc__item { border: 1px solid var(--line); border-radius: var(--radius-2xl); background: var(--win-2); overflow: hidden; transition: border-color var(--dur), background var(--dur); }
.acc__item[open] { border-color: rgba(242, 165, 65, .3); background: linear-gradient(180deg, #1a1815, var(--win-2) 40%); }
.acc__item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-3); align-items: center; padding: var(--sp-4-5); }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary:hover .acc__title { color: #fff; }
.acc__icon { display: none; width: 44px; height: 44px; border-radius: var(--radius-btn); place-items: center; background: var(--amber-soft); color: var(--amber-2); border: 1px solid rgba(242, 165, 65, .2); }
.acc__icon svg { width: 20px; height: 20px; }
.acc__title { font-size: var(--fs-xl); font-weight: 600; letter-spacing: -.015em; display: block; color: var(--text); transition: color var(--dur-fast); overflow-wrap: break-word; hyphens: auto; }
.acc__teaser { font-size: var(--fs-md); color: var(--muted); display: block; margin-top: var(--sp-0-5); }
.acc__plus { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: transform .35s var(--ease), border-color var(--dur-fast); }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--soft); transform: translate(-50%, -50%); }
.acc__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.acc__item[open] .acc__plus { transform: rotate(180deg); border-color: var(--amber); }
.acc__item[open] .acc__plus::after { transform: translate(-50%, -50%) rotate(0); }
.acc__panel { padding: 0 var(--sp-4-5) var(--sp-5); display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); align-items: start; }
.acc__panel img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.acc__panel p { margin: 0 0 var(--sp-3-5); font-size: var(--fs-base); }
.ticks { list-style: none; margin: 0 0 var(--sp-4-5); padding: 0; display: grid; gap: var(--sp-2); }
.ticks li { position: relative; padding-left: var(--sp-6); font-size: var(--fs-md2); color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 10px; height: 5px; border-left: 1.5px solid var(--amber); border-bottom: 1.5px solid var(--amber); transform: rotate(-45deg); }
.price { font: 500 var(--fs-sm)/1.4 var(--mono); color: var(--amber-2); display: block; padding-top: var(--sp-3-5); border-top: 1px solid var(--line); }
.acc__body { overflow: hidden; }
.acc__panel .prose { margin-bottom: var(--sp-3-5); }
.acc__panel > div > :last-child { margin-bottom: 0; }

/* ---------- Blog ---------- */
.posts { display: grid; gap: var(--sp-4-5); margin-top: var(--sp-12); }
.post {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: var(--win-2); overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr); transition: border-color var(--dur), background var(--dur);
}
html.js .post:not(.is-open) { cursor: pointer; }
html.js .post:not(.is-open):hover { border-color: rgba(242, 165, 65, .35); background: #1a1917; }
.post__cover { position: relative; overflow: hidden; min-height: 100%; }
.post__cover img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/8; transition: transform .6s var(--ease); }
html.js .post:not(.is-open):hover .post__cover img { transform: scale(1.04); }
.post__main { padding: var(--sp-5); min-width: 0; }
.post__meta { display: flex; flex-wrap: wrap; white-space: nowrap; gap: var(--sp-2) var(--sp-3-5); align-items: center; font: 400 var(--fs-xs)/1 var(--mono); color: var(--dim); margin-bottom: var(--sp-3); }
.post__meta time { color: var(--amber-2); }
.post__tag { padding: 5px var(--sp-2); border-radius: var(--radius-tag); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.post .post__main > h2 { margin: 0 0 var(--sp-2-5); font-size: var(--fs-2xl); line-height: 1.3; letter-spacing: -.02em; }
.post__main > h2 button { all: unset; cursor: pointer; }
.post__main > h2 button:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; border-radius: var(--radius-2xs); }
.post__excerpt { margin: 0; color: var(--muted); font-size: var(--fs-base); }
html:not(.js) .post__excerpt, html:not(.js) .post__more { display: none; }
.post__more { margin-top: var(--sp-4); display: inline-flex; gap: var(--sp-2); align-items: center; font-size: var(--fs-sm2); color: var(--amber-2); font-weight: 500; }
.post__body p { font-size: var(--fs-body); line-height: 1.75; margin: 0 0 var(--sp-4); }
.post__body h3 { margin: var(--sp-7) 0 var(--sp-2); }
html.js .post:not(.is-open) .post__body { display: none; }
.post.is-open { grid-template-columns: minmax(0, 1fr); border-color: rgba(242, 165, 65, .3); }
.post.is-open .post__cover img { aspect-ratio: 21/9; cursor: zoom-in; }
.post.is-open .post__main { padding: var(--sp-8) clamp(20px, 5vw, 56px) var(--sp-21); }
.post.is-open .post__main > h2 { font-size: var(--fs-post-open); }
.post.is-open .post__excerpt, .post.is-open .post__more { display: none; }
.post.is-open .post__body { animation: fadein .5s var(--ease) both .1s; }
.post.is-open .post__body img { cursor: zoom-in; }
.post__body .grav-youtube-wrapper { margin: 0 0 var(--sp-4); }
.post__body .grav-youtube iframe { width: 100%; height: auto; aspect-ratio: 16/9; border: 1px solid var(--line); border-radius: var(--radius-xl); }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: var(--sp-3); margin: var(--sp-6-5) 0; }
.gallery button { all: unset; cursor: zoom-in; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); display: block; }
.gallery button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
.gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border: 0; border-radius: 0; transition: transform .5s var(--ease), filter .3s; }
.gallery button:hover img { transform: scale(1.04); filter: brightness(1.1); }
.post__close, .legal__close { height: 36px; padding: 0 var(--sp-3-5); border-radius: var(--radius-close); border: 1px solid var(--line-2); background: rgba(12, 12, 13, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text); font: 500 var(--fs-sm)/1 var(--sans); cursor: pointer; text-decoration: none; }
.post__close { position: absolute; bottom: var(--sp-4-5); left: var(--sp-4-5); z-index: 2; display: none; }
.post.is-open .post__close { display: inline-flex; align-items: center; gap: var(--sp-1-5); }
.post__close:hover, .legal__close:hover, .legal__close:focus-visible { border-color: var(--amber); }
.legal__close { display: flex; width: max-content; white-space: nowrap; max-width: 100%; align-items: center; gap: var(--sp-1-5); margin-top: var(--sp-12); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: var(--z-lightbox); background: rgba(6, 6, 7, .94); display: grid; grid-template-rows: minmax(0, 1fr) auto; place-items: center; padding: 60px var(--sp-3) var(--sp-5); animation: fadein var(--dur) var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: calc(100vh - 140px); max-width: 100%; border-radius: var(--radius-lg); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); animation: fadein .3s var(--ease); }
.lightbox__count { font: 400 var(--fs-xs)/1.5 var(--mono); color: var(--muted); padding-top: var(--sp-4); max-width: 100%; text-align: center; overflow-wrap: break-word; }
.lightbox--single .lb-prev, .lightbox--single .lb-next { display: none; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(20, 20, 22, .8); color: var(--text); cursor: pointer; display: grid; place-items: center; transition: border-color var(--dur-fast), background var(--dur-fast); }
.lb-btn:hover { border-color: var(--amber); background: rgba(242, 165, 65, .12); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-prev { left: var(--sp-4); bottom: var(--sp-3-5); }
.lb-next { right: var(--sp-4); bottom: var(--sp-3-5); }
.lb-close { right: var(--sp-4); top: var(--sp-4); }

/* Pager + empty state */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-2); margin: var(--sp-10) 0 0; }
.pager__step { height: 40px; padding: 0 var(--sp-4); font-size: var(--fs-md); }
.pager__pages { display: none; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.pager__num { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 var(--sp-2); border-radius: var(--radius-md); border: 1px solid var(--line-2); font: 400 var(--fs-sm)/1 var(--mono); color: var(--muted); text-decoration: none; }
a.pager__num:hover { border-color: rgba(242, 165, 65, .5); color: var(--text); }
.pager__num[aria-current] { background: var(--amber-soft); border-color: rgba(242, 165, 65, .5); color: var(--amber-2); }
.pager__gap { display: grid; place-items: center; min-width: 24px; height: 40px; color: var(--dim); font-family: var(--mono); }
.pager__count { font: 400 var(--fs-sm)/1 var(--mono); color: var(--muted); padding: 0 var(--sp-2); }
.empty { margin: var(--sp-12) 0 0; padding: var(--sp-8); border-radius: var(--radius-xl); border: 1px dashed var(--line-2); text-align: center; font-size: var(--fs-base); color: var(--muted); }

/* ---------- Tartalom ---------- */
.seg { display: inline-flex; gap: var(--sp-1); padding: var(--sp-1); border-radius: var(--radius-lg); background: var(--win-2); border: 1px solid var(--line); margin: var(--sp-7) 0 var(--sp-2); flex-wrap: wrap; max-width: 100%; }
.seg a { padding: var(--sp-2) var(--sp-3); border-radius: var(--radius-sm); text-decoration: none; font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.seg a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.group { scroll-margin-top: var(--sp-5); }
.group__head { display: flex; align-items: end; justify-content: space-between; gap: var(--sp-6); flex-wrap: wrap; margin: var(--sp-16) 0 var(--sp-5-5); }
.group__head > * { min-width: 0; }
.seg + .group .group__head { margin-top: var(--sp-11); }
.group__head h2 { margin: 0 0 var(--sp-1-5); }
.group__head p { margin: 0; color: var(--muted); font-size: var(--fs-base); }
.months { flex: 1 0 100%; min-width: 0; display: flex; align-items: center; gap: var(--sp-1-5); }
.months button { flex: none; height: 32px; padding: 0 var(--sp-3); border-radius: var(--radius-full); border: 1px solid var(--line-2); background: transparent; color: var(--muted); font: 500 var(--fs-sm)/1 var(--mono); cursor: pointer; }
.months .months__all { font-family: var(--sans); }
.months button:hover { color: var(--text); }
.months button[aria-pressed="true"] { background: var(--amber-soft); border-color: rgba(242, 165, 65, .5); color: var(--amber-2); }
.months .months__nav { width: 32px; padding: 0; display: grid; place-items: center; color: var(--text); }
.months .months__nav[hidden] { display: none; }
.months .months__nav[aria-disabled="true"] { opacity: .3; cursor: default; }
.months__track { flex: 1; min-width: 0; display: flex; gap: var(--sp-1-5); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.months__track::-webkit-scrollbar { display: none; }
.months__track button { scroll-snap-align: start; }
.subgroup { margin-top: var(--sp-6-5); }
.subgroup[hidden] { display: none; }
.subgroup h3 { font: 500 var(--fs-xs)/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--dim); margin: 0 0 var(--sp-3); display: flex; gap: var(--sp-2-5); align-items: center; }
.subgroup h3 span { color: var(--amber); }
.pdfs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: var(--sp-2-5); }
.pdf {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: var(--sp-3-5); align-items: start; padding: var(--sp-3-5) var(--sp-4); border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: var(--win-2); text-decoration: none; transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast) var(--ease);
}
.pdf:hover { border-color: rgba(242, 165, 65, .4); background: #1a1916; transform: translateY(-1px); }
.pdf__icon { width: 38px; height: 46px; border-radius: var(--radius-2xs); background: linear-gradient(180deg, #2a201a, #1e1713); border: 1px solid rgba(242, 165, 65, .25); position: relative; display: grid; place-items: end center; padding-bottom: var(--sp-1-5); font: 700 9px/1 var(--mono); color: var(--amber); }
.pdf__icon::before { content: ""; position: absolute; top: -1px; right: -1px; width: 11px; height: 11px; background: linear-gradient(225deg, var(--win-2) 50%, rgba(242, 165, 65, .35) 50%); border-bottom-left-radius: 3px; }
.pdf strong { display: block; font-size: var(--fs-md); font-weight: 500; line-height: 1.4; color: var(--text); overflow-wrap: break-word; }
.pdf small { display: block; margin-top: var(--sp-1-5); font: 400 var(--fs-2xs)/1 var(--mono); color: var(--dim); }
.videos { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4); }
.video { border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; background: var(--win-2); }
.video__frame { position: relative; aspect-ratio: 16/9; background: #000; }
.video__frame iframe, .video__frame img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video__play { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.video__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55)); }
.video__play span { position: relative; z-index: 1; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(15, 15, 16, .7); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform var(--dur) var(--ease), background var(--dur-fast); }
.video__play span svg { width: 20px; height: 20px; fill: #fff; margin-left: 3px; }
.video__play:hover span, .video__play:focus-visible span { transform: scale(1.08); background: var(--amber); border-color: var(--amber); }
.video__play:hover span svg, .video__play:focus-visible span svg { fill: var(--on-amber); }
.video__info { padding: var(--sp-3-5) var(--sp-4) var(--sp-4); }
.video__info strong { display: block; font-size: var(--fs-md2); font-weight: 500; line-height: 1.4; overflow-wrap: break-word; }
.video__info a { font-size: var(--fs-xs2); color: var(--muted); text-decoration: none; display: inline-block; margin-top: var(--sp-1-5); }
.video__info a:hover { color: var(--amber-2); }
.talks { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; }
.talk { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-1-5); align-items: center; padding: var(--sp-4-5) var(--sp-5); background: var(--win-2); }
.talk time { font: 500 var(--fs-sm)/1.3 var(--mono); color: var(--amber-2); }
.talk strong { display: block; font-weight: 500; overflow-wrap: break-word; }
.talk span { font-size: var(--fs-sm2); color: var(--muted); }
.talk em { font-style: normal; font: 400 var(--fs-xs)/1 var(--mono); color: var(--dim); }
.talk em.talk__status--open { color: var(--amber-2); }
.content .group__head h2 { margin: 0 0 var(--sp-1-5); }
.video__placeholder { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--win-3) 0 14px, var(--line) 14px 15px); }
.pdf--muted { cursor: default; }
.pdf--muted:hover { border-color: var(--line); background: var(--win-2); transform: none; }
.pdf--muted .pdf__icon { opacity: .45; filter: grayscale(1); }
.pdf--muted strong { color: var(--muted); }
.subgroup--undated { padding-top: var(--sp-6-5); border-top: 1px solid var(--line); }
html:not(.js) .months { display: none; }

.toast { position: fixed; z-index: 97; left: 50%; bottom: var(--sp-7); transform: translate(-50%, 20px); opacity: 0; padding: var(--sp-3) var(--sp-4-5); border-radius: var(--radius-md); background: #1d1c1a; border: 1px solid rgba(242, 165, 65, .4); color: var(--text); font-size: var(--fs-md); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transition: opacity var(--dur), transform var(--dur) var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Kapcsolat ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); margin-top: var(--sp-12); align-items: start; }
.form { display: grid; gap: var(--sp-4-5); padding: var(--sp-5); border-radius: var(--radius); background: var(--win-2); border: 1px solid var(--line); }
.form[hidden] { display: none; }
.form__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--sp-4-5); }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field label { font-size: var(--fs-sm2); font-weight: 500; color: var(--soft); }
.field label span { color: var(--amber); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 var(--fs-base)/1.5 var(--sans); color: var(--text); background: var(--field); border: 1px solid var(--line-2);
  border-radius: var(--radius-md); padding: var(--sp-3) var(--sp-3-5); transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .2); }
.select { position: relative; min-width: 0; }
.select select { appearance: none; padding-right: var(--sp-10); text-overflow: ellipsis; }
.select::after { content: ""; position: absolute; right: var(--sp-4); top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.form__alert { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: var(--sp-3); align-items: start; padding: var(--sp-3-5) var(--sp-4); border-radius: var(--radius-md); border: 1px solid rgba(255, 138, 122, .4); background: rgba(255, 138, 122, .08); color: var(--text); font-size: var(--fs-md); }
.form__alert svg { width: 16px; height: 16px; margin-top: 3px; color: var(--err); }
.form__alert p { margin: 0; overflow-wrap: anywhere; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 4px rgba(242, 165, 65, .14); }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: var(--err); }
.err { font-size: var(--fs-xs2); color: var(--err); min-height: 0; }
.err:empty { display: none; }
.check { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--sp-3); align-items: start; font-size: var(--fs-md); color: var(--muted); }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--amber); }
.check a { color: var(--amber-2); }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; }
.form__foot small { color: var(--dim); font-size: var(--fs-xs2); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(28, 18, 7, .3); border-top-color: var(--on-amber); animation: spin .7s linear infinite; }
.success { padding: var(--sp-10) var(--sp-7); border-radius: var(--radius); text-align: center; background: radial-gradient(100% 120% at 50% 0%, rgba(127, 209, 164, .1), transparent 60%), var(--win-2); border: 1px solid rgba(127, 209, 164, .3); }
.success[hidden] { display: none; }
.success .ok { width: 56px; height: 56px; margin: 0 auto var(--sp-4-5); border-radius: 50%; display: grid; place-items: center; background: rgba(127, 209, 164, .14); color: var(--ok); }
.content .success h2 { margin: 0 0 var(--sp-2); overflow-wrap: anywhere; }
.aside { display: grid; gap: var(--sp-3-5); }
.card { padding: var(--sp-5-5); border-radius: var(--radius-2xl); border: 1px solid var(--line); background: var(--win-2); }
.card h3 { margin-bottom: var(--sp-2); }
.card p { margin: 0; font-size: var(--fs-md2); }
.card dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--sp-2) var(--sp-4); font-size: var(--fs-md); }
.card dt { color: var(--dim); }
.card dd { margin: 0; color: var(--soft); overflow-wrap: anywhere; }

/* ---------- Tablet and up (>= 561px) ---------- */
@media (min-width: 561px) {
  body { font-size: var(--fs-body); }
  .brand { top: var(--sp-6-5); left: var(--m); }
  .assistant { top: var(--sp-4-5); right: var(--sp-4-5); }
  .assistant__bubble { width: 52px; height: 52px; border-radius: var(--radius-2xl); }
  .assistant__ask input { font-size: var(--fs-md); }
  .hero { left: var(--m); right: var(--m); bottom: clamp(28px, 7vh, 72px); }
  .hero p { font-size: var(--fs-lg); }
  .hero .hero__hint { display: inline-flex; }
  .hero__kicker { font-size: var(--fs-xs); letter-spacing: .08em; margin-bottom: var(--sp-4-5); }
  .page--home .stage__shade {
    background:
      radial-gradient(70% 60% at 0% 100%, rgba(6, 5, 5, .78) 0%, rgba(6, 5, 5, .35) 55%, transparent 80%),
      radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(5, 4, 4, .55) 100%),
      linear-gradient(180deg, rgba(6, 5, 5, .35) 0%, transparent 22%, transparent 60%, rgba(6, 5, 5, .6) 100%);
  }
  .content { padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 56px) var(--sp-9); }
  .content h2 { margin-top: var(--sp-18); }
  .window .footer { flex-direction: row; align-items: center; }
  .cta { padding: var(--sp-8); }
  .form { padding: var(--sp-7); }
  .form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc__item summary { grid-template-columns: 44px minmax(0, 1fr) auto; gap: var(--sp-4-5); padding: var(--sp-5-5) var(--sp-6); }
  .acc__icon { display: grid; }
  .acc__item--noicon summary { grid-template-columns: minmax(0, 1fr) auto; }
  .acc__panel { padding: 0 var(--sp-6) var(--sp-6-5); }
  .post__main { padding: var(--sp-6) var(--sp-7) var(--sp-6-5); }
  .pager__pages { display: flex; }
  .pager__count { display: none; }
  .talk { grid-template-columns: 120px minmax(0, 1fr) auto; gap: var(--sp-5); }
  .talk--nodate > div { grid-column: 2; }
  .lightbox { padding: var(--sp-12) var(--sp-18) var(--sp-6); }
  .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .seg { margin-top: var(--sp-10); }
  .seg a { padding: 9px var(--sp-4); font-size: var(--fs-md); }
}

/* ---------- Desktop (>= 901px) ---------- */
@media (min-width: 901px) {
  .intro { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--sp-14); }
  .intro--single { grid-template-columns: minmax(0, 1fr); }
  .contact { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: var(--sp-10); }
  .contact--single { grid-template-columns: minmax(0, 1fr); }
  .acc__panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-8); }
  .acc__panel--noimg { grid-template-columns: minmax(0, 1fr); }
  .principles, .videos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post { grid-template-columns: 300px minmax(0, 1fr); }
  .post--nocover { grid-template-columns: minmax(0, 1fr); }
  .post__cover img { aspect-ratio: 16/10; }
  .hero { grid-template-columns: minmax(0, 640px) auto; }
  .hero .footer { justify-self: end; }
  .titlebar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0; }
  .address { justify-self: center; }
  .titlebar__right { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .fx { display: none; }
}

.prose--legal { max-width: 720px; }
.error__actions { margin: var(--sp-7) 0 0; }

/* Phone cookie banner: full-width bottom strip. Needs more weight than the consent plugin's
   [data-consent-layout][data-consent-position] box insets, which override its own ≤720px reset. */
@media (max-width: 720px) {
  html .consent-root[data-consent-layout="box"][data-consent-position^="bottom"] .consent-banner {
    inset-inline: 0;
    inset-block-end: 0;
  }
}
