/* ============================================================
   Thoughtware Studio
   Kortárs galéria x industrial: galéria-fehér panelek a neon
   doorway képen. Egy betűcsalád: Archivo.
   Szabályok: nincs em dash, nincs üveghatás/gradiens dísz,
   a háttérkép sosem kap sötétítést.
   ============================================================ */

:root {
  --paper: #24262D;          /* grafit panel a vibrant képen */
  --paper-tint: #2C2E36;     /* egy árnyalattal világosabb sáv */
  --ink: #F4F4F6;            /* címek */
  --ink-soft: #C7C9D1;       /* szövegtörzs */
  --ink-dim: #8F929D;        /* halvány címkék */
  --line: rgba(255, 255, 255, 0.14);
  --accent: #A78BFA;         /* brand ibolya, sötét felületre hangolva */
  --white: #FFFFFF;
  --radius: 20px;
  --radius-s: 10px;
  --font: 'Archivo', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

/* Címek és címkék: IBM Plex Mono (kód-karakter), szövegtörzs Archivo */
h1.page-title, h2, h3, .hero-center h1 {
  font-family: var(--font-mono);
}

.eyebrow, .small-caps, .work-mini-tag {
  font-family: var(--font-mono);
}

/* meta-sorok egységesen: mono, 13px, halvány */
.workshop-meta, .content p.person-role {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink-dim);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink-soft);
  background-color: #2A2C33;
  min-height: 100vh;
}

/* Éles doorway háttér minden oldalon, sötétítés nélkül */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.page-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== NAV (a képen ül, fehér) ===== */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 26px clamp(18px, 4vw, 32px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 32px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #1E1F24;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.brand-name { font-size: 16px; font-weight: 700; letter-spacing: 0.01em; text-shadow: 0 1px 10px rgba(0,0,0,0.55); }

.nav-links { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 30px); }

.nav-links a {
  position: relative;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6);
  padding: 6px 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* nyelvváltó: legördülő */
.lang-dd { position: relative; margin-left: 6px; }

.lang-dd summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.lang-dd summary::-webkit-details-marker { display: none; }
.lang-dd summary::after { content: '▾'; font-size: 10px; opacity: 0.8; }
.lang-dd summary:hover { border-color: var(--white); }

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 96px;
  display: grid;
  gap: 2px;
  padding: 6px;
  background: #1B1C22;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  z-index: 60;
}

.lang-menu a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
}

.lang-menu a:hover { background: rgba(255, 255, 255, 0.08); }
.lang-menu a.on { color: var(--accent); font-weight: 800; }

/* hamburger: kis képernyőn a menü nem sűrűsödik, hanem lenyílik */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 36px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ===== FŐOLDAL (hero) ===== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero .page-bg { position: absolute; }

.hero-center {
  margin: auto;
  width: min(640px, calc(100% - 32px));
  padding: clamp(44px, 6vw, 64px) clamp(28px, 6vw, 68px);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(10, 5, 30, 0.5);
  text-align: center;
}

.hero-center h1 {
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero-sub {
  margin: 18px auto 0;
  max-width: 430px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.hero-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-note {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-dim);
}

.hero-note a { margin-top: 14px; }

/* ===== GOMBOK ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-s);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--white); color: #1E1F24; }
.btn-primary:hover {
  background: #ECECEF;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--ink);
  font-weight: 600;
}

.btn-outline:hover { border-color: var(--white); }

/* ===== ALOLDALAK ===== */

.page { min-height: 100vh; display: flex; flex-direction: column; }

.content {
  flex: 1;
  width: min(1060px, calc(100% - 28px));
  margin: 12px auto 36px;
  padding: clamp(44px, 6vw, 84px) clamp(24px, 7vw, 104px);
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(10, 5, 30, 0.5);
}

/* eyebrow mint fájlrendszer-útvonal: ~/oldal */
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  margin-bottom: 14px;
}

.eyebrow .acc { color: var(--accent); }

h1.page-title {
  font-size: clamp(34px, 4.8vw, 54px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(21px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 48px 0 18px;
}

h3 { font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }

.lead {
  font-size: clamp(17px, 1.9vw, 19px);
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 620px;
}

.content p { line-height: 1.8; font-size: 16px; max-width: 640px; color: var(--ink-soft); }

.content strong { color: var(--ink); font-weight: 700; }

/* ===== RÓLUNK =====
   Ugyanaz a kétosztatú rendszer, mint a szolgáltatásoknál:
   small-caps címke a bal sávban, tartalom a széles hasábban.
   Nincsenek dobozok, a szekciókat hajszálvonal tagolja. */

.rolunk-section {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(20px, 4vw, 64px);
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.rolunk-section:first-of-type { margin-top: 52px; }

.rolunk-label {
  position: sticky;
  top: 28px;
  align-self: start;
  margin-bottom: 0;
}

.rolunk-body { min-width: 0; }
.rolunk-body::after { content: ''; display: block; clear: both; }
.rolunk-body > p { margin-bottom: 16px; }
.rolunk-body > p:last-child { margin-bottom: 0; }

/* a portré kollázsban él: elcsúsztatott ibolya keret + sticker címke,
   szoros kivágás, hogy a stúdióháttér ne uralkodjon */
.portrait {
  position: relative;
  float: right;
  width: min(260px, 46%);
  margin: 8px 18px 30px clamp(24px, 3vw, 42px);
}

.portrait-frame {
  position: absolute;
  left: 14px;
  top: 14px;
  right: -14px;
  bottom: -14px;
  border: 2.5px solid var(--accent);
  border-radius: 4px;
  pointer-events: none;
}

.portrait-photo {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 9 / 10;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.16);
  transform-origin: 50% 22%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.portrait:hover .portrait-photo img { transform: scale(1.1); }

.portrait-sticker {
  position: absolute;
  left: -12px;
  bottom: 18px;
  padding: 7px 12px;
  background: var(--accent);
  color: #1E1F24;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 6px;
  transform: rotate(-4deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* a RÓLAM szekció feje: név mint valódi cím, alatta szerep + LinkedIn */
.person-head { margin-bottom: 24px; }
.person-name { font-size: 24px; letter-spacing: -0.03em; }
.person-role { margin-top: 8px; }

/* pislogó kurzor a név után: a thoughtware_ gesztus */
@media (prefers-reduced-motion: no-preference) {
  .person-name::after {
    content: '_';
    color: var(--accent);
    animation: tws-blink 1.2s steps(1) infinite;
  }
  @keyframes tws-blink { 50% { opacity: 0; } }
}

.linkedin { color: var(--accent); font-weight: 600; text-decoration: none; }
.linkedin:hover { text-decoration: underline; text-underline-offset: 3px; }

/* nem grid: a sorok így körbefolyják az úsztatott portrét */
.bio-list {
  list-style: none;
  margin-top: 2px;
}

.bio-list li { line-height: 1.7; font-size: 15.5px; color: var(--ink-soft); padding-left: 22px; position: relative; margin-bottom: 14px; }
.bio-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}
.bio-list strong { color: var(--ink); }

.bio-quote {
  clear: right;
  margin-top: 40px;
  padding-left: 24px;
  border-left: 3px solid var(--accent);
  font-size: clamp(18px, 2vw, 21px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.65;
  letter-spacing: -0.01em;
  max-width: 560px;
}

.halozat-note { margin-top: 14px; color: var(--ink-dim); font-size: 14.5px; }
.halozat-cta { margin-top: 24px; }

/* ===== SZOLGÁLTATÁSOK ===== */

.szolg-intro { margin: 0 0 48px; }

/* csoportcímke: az emberi oldal / a technológia */
.content p.group-label {
  margin: 44px 0 0;
  font-size: 13px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.content p.group-label:first-of-type { margin-top: 8px; }


.service {
  padding: 48px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(20px, 4vw, 64px);
}

.service-title {
  position: sticky;
  top: 28px;
  align-self: start;
}

.service-title h3 { font-size: 20px; line-height: 1.35; }

.service-body { min-width: 0; }

.service-body p { margin-bottom: 16px; }
.service-body p:last-of-type { margin-bottom: 12px; }

/* minden felsorolás egységes jele: 8px-es akcent-vonás */
.content ul { list-style: none; }

.dash-list { display: grid; gap: 10px; margin: 6px 0 18px; max-width: 640px; }
.dash-list li { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; padding-left: 22px; position: relative; }
.dash-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.text-link { color: var(--accent); font-weight: 700; font-size: 15px; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.small-caps {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--ink-dim);
  margin-bottom: 14px;
}


/* ===== KAPCSOLAT ===== */

.kapcsolat-wrap {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: clamp(8px, 2vw, 24px) 0;
  min-height: 48vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kapcsolat-wrap .page-title { margin-bottom: 16px; }
.kapcsolat-wrap .lead { margin: 0 auto; }

.btn-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

/* a kapcsolat oldal fókusza: maga az email cím, mono, nagyban */
.mail-hero {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: clamp(18px, 2.9vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--accent);
  transition: color 0.2s ease, border-color 0.2s ease;
  word-break: break-all;
}

.mail-hero:hover { color: var(--accent); border-bottom-color: var(--white); }


/* ===== LINK-PILL: szolgáltatás-linkek ===== */

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.link-pill::after { content: '→'; font-weight: 400; transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1); }

.link-pill:hover { background: var(--white); border-color: var(--white); color: #1E1F24; }
.link-pill:hover::after { transform: translateX(3px); }

.link-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ===== MUNKÁK: görgethető mini-galéria a Fejlesztésnél ===== */

.works-strip {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  padding-bottom: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.works-strip::-webkit-scrollbar { height: 6px; }
.works-strip::-webkit-scrollbar-track { background: var(--paper-tint); border-radius: 999px; }
.works-strip::-webkit-scrollbar-thumb { background: rgba(167, 139, 250, 0.35); border-radius: 999px; }
.works-strip::-webkit-scrollbar-thumb:hover { background: var(--ink-dim); }

.work-mini {
  flex: 0 0 230px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: var(--paper-tint);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.work-mini:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35); }

.work-mini img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  display: block;
  border-bottom: 1px solid var(--line);
}

.work-mini-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; }
.work-mini-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink-dim); }
.work-mini-name { font-size: 14px; font-weight: 800; color: var(--ink); }
.work-mini:hover .work-mini-name { color: var(--accent); }

/* ===== DISZKRÉT ESEMÉNY-SOR ===== */

.events-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-dim);
}

.events-line a { color: var(--accent); font-weight: 700; text-decoration: none; }
.events-line a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ===== VIDEÓ (megjelenés): kompakt sor, kifelé YouTube-ra ===== */

.video-row {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 560px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.video-row:hover { border-color: var(--accent); background: rgba(167, 139, 250, 0.06); }

.video-thumb {
  position: relative;
  display: block;
  width: 140px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.video-info { display: flex; flex-direction: column; gap: 6px; }
.video-info strong { font-size: 16px; line-height: 1.35; }

.video-source {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent);
}

/* ===== WORKSHOPOK ===== */

.workshop-item {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.workshop-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.workshop-head h3 { font-size: 20px; line-height: 1.35; }

.workshop-item p { margin-bottom: 12px; }

/* falicédula: a doorway kép mint műtárgy, a hero jobb alsó sarkában */
.wall-label {
  position: absolute;
  right: clamp(18px, 4vw, 40px);
  bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.5);
}

.wall-label em { font-style: normal; font-weight: 700; display: block; }
.wall-label span { display: block; }

@media (max-width: 720px) { .wall-label { display: none; } }

/* ===== REFERENCIA-LOGÓFAL (workshopok) ===== */

.logo-wall-block {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

/* logósáv: egyetlen fehér szalag, szürkeárnyalatos logókkal,
   hoverre színesednek. Prémium "trusted by" minta. */
.logo-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
  gap: 18px 20px;
  margin-top: 18px;
  padding: 22px 28px;
  background: #FFFFFF;
  border-radius: 16px;
}

.logo-band img {
  max-height: 22px;
  max-width: 110px;
  width: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.logo-band > a { display: block; }

.logo-band img:hover,
.logo-band a:hover img,
.logo-lockup:hover img { filter: none; opacity: 1; }

.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: #3A3C44;
  text-decoration: none;
  white-space: nowrap;
}

.logo-lockup img { max-height: 18px; }

@media (max-width: 720px) {
  .logo-band { grid-template-columns: repeat(2, 1fr); gap: 16px 14px; padding: 18px 20px; }
  .logo-band img { max-height: 20px; max-width: 96px; }
  .logo-lockup img { max-height: 16px; }
}

/* ===== NYOMTATÁS (letölthető PDF): világos paletta ===== */

@media print {
  :root {
    --paper: #FFFFFF;
    --paper-tint: #F1F0ED;
    --ink: #1E1F24;
    --ink-soft: #46484F;
    --ink-dim: #797C86;
    --line: #E5E4E0;
    --accent: #6E2BF2;
  }
  .page-bg, .nav, .footer, .events-banner, .no-print { display: none !important; }
  body { background: #FFFFFF; }
  .content { box-shadow: none; margin: 0; width: 100%; padding: 0; border-radius: 0; }
  .text-link { color: var(--ink); text-decoration: underline; }
}

/* ===== VISSZA + FOOTER ===== */

.back-row { margin-top: 52px; }
.back-link { color: var(--ink-dim); text-decoration: none; font-size: 14px; font-weight: 600; }
.back-link:hover { color: var(--ink); }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  width: min(1060px, calc(100% - 28px));
  margin: 0 auto;
  padding: 4px clamp(18px, 4vw, 32px) 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.footer a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer a:hover { text-decoration: underline; }

/* ===== RESZPONZÍV ===== */

@media (max-width: 860px) {
  .portrait { width: min(190px, 46%); margin-left: 18px; margin-right: 14px; }
  .service { grid-template-columns: 1fr; gap: 10px; }
  .service-title { position: static; }
  .rolunk-section { grid-template-columns: 1fr; gap: 14px; padding: 38px 0; }
  .rolunk-label { position: static; }
  .ref-row { grid-template-columns: 1fr; gap: 3px; padding: 15px 0; }
}

@media (max-width: 720px) {
  .nav { position: relative; }
  .nav-toggle { display: flex; margin-left: auto; position: relative; z-index: 96; }
  .brand { position: relative; z-index: 96; }

  /* teljes képernyős menü: tejüveg a vibrant doorway kép fölött,
     a színek átderengenek, a szöveg olvasható marad */
  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 90;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 100px 28px 60px;
    background: rgba(16, 17, 22, 0.32);
    -webkit-backdrop-filter: blur(18px) saturate(1.45);
    backdrop-filter: blur(18px) saturate(1.45);
  }

  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .nav-links { background: rgba(16, 17, 22, 0.96); }
  }

  .nav.open .nav-links { display: flex; }

  .nav-links a {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.02em;
    padding: 14px 20px;
    text-shadow: none;
    text-align: center;
  }

  .nav-links a::after { display: none; }
  .nav-links a.active { color: var(--accent); }
  .lang-dd { margin: 22px 0 0; }
  .lang-menu { box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
}

/* nyitott menü alatt az oldal nem görög */
body.menu-open { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  .nav.open .nav-links { animation: tws-menu-in 0.22s cubic-bezier(0.22, 1, 0.36, 1) both; }
  @keyframes tws-menu-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
}

@media (max-width: 600px) {
  .portrait { float: none; width: min(240px, 72%); margin: 12px auto 30px; }
  .video-row { flex-direction: column; align-items: stretch; max-width: none; }
  .video-thumb { width: 100%; }
  .hero-menu { flex-direction: column; align-items: stretch; }
  .btn-row { flex-direction: column; align-items: stretch; }
  h3, .service-title h3, .workshop-head h3 { font-size: 18px; }
  .person-name { font-size: 20px; }
  .workshop-head { gap: 6px; }
  .content p { font-size: 15.5px; }
  .dash-list li { font-size: 15px; }
}

/* ============================================================
   MOZGÁS: betöltés-koreográfia, oldalátmenet, scroll-reveal.
   Minden mozgás tiszteletben tartja a prefers-reduced-motion-t.
   ============================================================ */

::selection { background: var(--accent); color: var(--white); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Natív oldalak közti átmenet: a fix doorway háttér vizuálisan
   a helyén marad, csak a papír-panel vált át. */
@view-transition { navigation: auto; }

@media (prefers-reduced-motion: no-preference) {

  @keyframes tws-rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
  }

  @keyframes tws-bg-settle {
    from { transform: scale(1.05); }
    to { transform: scale(1); }
  }

  /* A háttérkép finoman "megérkezik" az első betöltéskor,
     visszatérő navigációnál (html.revisit) már mozdulatlan. */
  .page-bg img { animation: tws-bg-settle 2.4s cubic-bezier(0.22, 1, 0.36, 1) both; }
  html.revisit .page-bg img { animation: none; }

  .content { animation: tws-rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both; }

  .hero-center { animation: tws-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .hero-center h1,
  .hero-center .hero-sub,
  .hero-center .hero-menu {
    animation: tws-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .hero-center h1 { animation-delay: 0.1s; }
  .hero-center .hero-sub { animation-delay: 0.2s; }
  .hero-center .hero-menu { animation-delay: 0.3s; }

  .nav { animation: tws-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s both; }
  html.revisit .nav { animation: none; }

  /* Scroll-reveal: a script.js .reveal osztályt ad a szekcióknak,
     és .in-t, amikor a nézetbe érnek. JS nélkül minden látható marad. */
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .reveal.in { opacity: 1; transform: none; }
}
