/* GyuszikaArt · koncepció-oldal, v2
   Kontraszt-arányok (számolva, WCAG relatív luminancia, 2026-08-06):
     bone  #E9E8E3 on ground #0B0C0E  -> 15.95 : 1
     muted #9DA19E on ground #0B0C0E  -> 7.48 : 1
     bone  #E9E8E3 on plate  #14161A  -> 14.76 : 1
     muted #9DA19E on plate  #14161A  -> 6.92 : 1
     bone  #E9E8E3 on red    #AE111C  -> 5.91 : 1
     red   #D2232E on ground #0B0C0E  -> 3.75 : 1  (nagy szöveg)
     bone  #E9E8E3 on flash  #4E0B0F  -> 12.41 : 1
     ink   #23252A on paper  #E9E8E3  -> 12.50 : 1
   Irány: "éjszakai műhely, kézjeggyel" · mély fekete, csont, egyetlen vérvörös akcent,
   és a művész saját tusrajzaiból emelt motívumok + kézírás réteg (Caveat).
   A vörös él: CTA, cérna, tűk/pinek, flash-fejezet alapja, a logó tintacseppje.
*/

:root {
  --ground: #0B0C0E;
  --plate: #14161A;
  --line: #26282D;
  --bone: #E9E8E3;
  --muted: #9DA19E;
  --red: #AE111C;
  --red-bright: #D2232E;
  --flash: #4E0B0F;
  --flash-deep: #3A0709;
  --serif: "Bodoni Moda", "Georgia", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 22' preserveAspectRatio='none'%3E%3Cfilter id='r'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.09 0.5' numOctaves='2' seed='11'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='7'/%3E%3C/filter%3E%3Cpath d='M6 13 C 60 8, 140 9, 194 11' stroke='%23AE111C' stroke-width='9' fill='none' stroke-linecap='round' filter='url(%23r)' opacity='0.8'/%3E%3C/svg%3E");
}

@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda-v28-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda-v28-latin_latin-ext-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("assets/fonts/bodoni-moda-v28-latin_latin-ext-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-v12-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-v12-latin_latin-ext-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("assets/fonts/hanken-grotesk-v12-latin_latin-ext-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/caveat-v23-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cinzel";
  src: url("assets/fonts/cinzel-v26-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("assets/fonts/caveat-v23-latin_latin-ext-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
:target, section[id], span[id] { scroll-margin-top: 92px; }
html { scroll-behavior: smooth; }
body {
  background: var(--ground);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--red); color: var(--bone); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; border: 2px solid var(--ground); }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ---- írás-rétegek ---- */
.hand {
  font-family: var(--hand);
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: var(--bone);
}
.demo-bar, .foot-k, figcaption, .fld label, .fld legend {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ---- demó-sáv ---- */
.demo-bar {
  text-align: center;
  padding: 0.45rem var(--gutter);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

/* ---- fejléc + logó ---- */
.site-head {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.85rem var(--gutter);
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--ground) 90%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { display: block; text-decoration: none; }
.logo-drop { transform-box: fill-box; transform-origin: center; }
.brand:hover .logo-drop { animation: drip-fall 0.7s ease forwards; }
@keyframes drip-fall {
  55% { transform: translateY(12px); opacity: 1; }
  100% { transform: translateY(22px); opacity: 0; }
}
.logo { height: 46px; width: auto; color: var(--bone); display: block; }
.logo-word {
  font-family: var(--serif);
  font-size: 34px;
  fill: var(--bone);
}
.logo-art { font-style: italic; fill: var(--red-bright); }
.logo-foot { height: 42px; }

.site-nav { display: flex; gap: 1.7rem; margin-left: auto; }
.site-nav a {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: #C9C5BB;
  transition: color 0.2s;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--bone); }

/* ---- gombok ---- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 0.85rem 1.9rem;
  border: 0;
  background-color: transparent;
  cursor: pointer;
  transition: color 0.2s, translate 0.2s;
}
/* elsodleges: levagott sarku stencil-matrica */
.btn-red {
  background: var(--red);
  color: var(--bone);
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
}
.btn-red:hover, .btn-red:focus-visible {
  background: var(--red-bright);
  color: #0B0C0E;
  translate: 0 -1px;
}
.btn-red:active { translate: 0 0; }
.btn-red:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }
/* masodlagos: tu-vonal alahuzas, a vege tintaba er */
.btn-line {
  padding: 0.85rem 0.15rem;
  color: var(--bone);
  background-image: linear-gradient(90deg, currentColor 0 74%, var(--red-bright) 74% 100%);
  background-repeat: no-repeat;
  background-size: 100% 1.5px;
  background-position: left bottom;
  transition: color 0.2s, background-size 0.2s, translate 0.2s;
}
.btn-line:hover, .btn-line:focus-visible {
  background-size: 100% 3px;
  translate: 0 -1px;
}

/* ---- hero ---- */
.hero {
  position: relative;
  padding: clamp(3rem, 8vh, 6rem) var(--gutter) clamp(3.5rem, 9vh, 6rem);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-ink {
  position: absolute;
  inset: 0;
  background-image: url("assets/img/motif-sas.png");
  background-repeat: no-repeat;
  background-position: left -70px bottom -90px;
  background-size: clamp(260px, 26vw, 420px) auto;
  opacity: 0.17;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  max-width: 78rem;
  margin: 0 auto;
}
.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.3;
  max-width: 17ch;
  text-wrap: balance;
}
.hero-hand {
  font-family: var(--hand);
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  color: var(--red-bright);
  transform: rotate(-2.5deg);
  margin: 0.7rem 0 0 0.2rem;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 44ch;
  margin-top: 1.5rem;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hand-note {
  display: inline-block;
  margin-top: 1.2rem;
  color: var(--red-bright);
  text-decoration: none;
  transform: rotate(-2deg);
  transition: transform 0.2s;
}
.hand-note:hover, .hand-note:focus-visible { transform: rotate(0deg); }
.hero-title em {
  font-style: italic;
  color: var(--red-bright);
}
.hero::after {
  content: "GyuszikaArt";
  position: absolute;
  left: -1%;
  bottom: 2%;
  font-family: var(--hand);
  font-size: clamp(7rem, 17vw, 15rem);
  color: var(--bone);
  opacity: 0.033;
  transform: rotate(-5deg);
  pointer-events: none;
  white-space: nowrap;
}

/* a tábla: aszimmetrikus mozaik, egy domináns keppel */
.hero-board {
  position: relative;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 10px;
  height: clamp(430px, 62vh, 640px);
}
.cell {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--plate);
}
.cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(16%) contrast(1.03);
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.4s ease;
}
.cell:hover img { transform: scale(1.045); filter: none; }
.c-a { grid-area: 1 / 1 / 3 / 2; }
.c-b { grid-area: 1 / 2 / 2 / 3; }
.c-c { grid-area: 2 / 2 / 3 / 3; }
.c-d { grid-area: 3 / 1 / 4 / 2; }
.c-e { grid-area: 3 / 2 / 4 / 3; }
.board-note {
  position: absolute;
  left: -16px;
  bottom: 26%;
  z-index: 3;
  background: var(--ground);
  border: 1px solid var(--line);
  color: var(--bone);
  text-decoration: none;
  padding: 0.75rem 1.1rem 0.65rem;
  font-size: 1.35rem;
  transform: rotate(-2deg);
  transition: transform 0.2s, border-color 0.2s;
}
.board-note:hover, .board-note:focus-visible {
  transform: rotate(0deg);
  border-color: var(--red-bright);
}
.pin {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* ---- szekció-fejek ---- */
section { padding: clamp(4rem, 10vh, 7rem) var(--gutter); }
.sec-head { max-width: 62rem; margin: 0 auto clamp(2.2rem, 5vh, 4rem); }
.sec-head::before {
  content: "";
  display: block;
  width: 88px;
  height: 2px;
  border-radius: 1px;
  margin-bottom: 1.1rem;
  background: linear-gradient(to right, var(--bone) 72%, var(--red-bright) 72%);
}
.sec-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  text-wrap: balance;
}
.sec-title em {
  font-style: italic;
  background: var(--brush) no-repeat left bottom 0.02em / 100% 0.32em;
  padding-bottom: 0.08em;
}
.sec-lead { color: var(--muted); font-size: 1.125rem; max-width: 52ch; margin-top: 1rem; }

/* ---- munkák ---- */
.work { padding-bottom: 0; }
.chapter { max-width: 74rem; margin: 0 auto; padding-bottom: clamp(3.5rem, 8vh, 6rem); }
.ch-head {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  border-top: 1px solid var(--line);
  padding-top: 1.1rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}
.ch-head::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: var(--red-bright);
  align-self: center;
}
.ch-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.ch-grid { display: grid; gap: 14px; }
.ch-grid-real { grid-template-columns: repeat(3, 1fr); }
.ch-grid-real .ph-lead { grid-column: span 2; grid-row: span 2; }
.ch-grid-fine { grid-template-columns: repeat(4, 1fr); }

.ph { position: relative; overflow: hidden; background: var(--plate); }
.ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  filter: grayscale(14%) contrast(1.02);
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.4s ease;
}
.ph-lead img { aspect-ratio: auto; height: 100%; }
.ph:hover img { transform: scale(1.03); filter: none; }
.ph figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.4rem 0.9rem 0.7rem;
  color: var(--bone);
  background: linear-gradient(to top, rgba(8, 9, 10, 0.82), rgba(8, 9, 10, 0));
}

/* flash-fejezet: az ő vörös lapjainak nyelvén */
.chapter-flash {
  position: relative;
  max-width: none;
  background: var(--flash);
  background-image: linear-gradient(160deg, var(--flash) 0%, var(--flash-deep) 100%);
  padding: clamp(3rem, 7vh, 5rem) var(--gutter);
  margin: 0 calc(-1 * var(--gutter)) clamp(3.5rem, 8vh, 6rem);
}
.chapter-flash::before, .chapter-flash::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 26px;
  background-image: url("data:image/svg+xml,<svg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20600%2026'%20preserveAspectRatio='none'><filter%20id='t'%20x='-5%'%20y='-60%'%20width='110%'%20height='220%'><feTurbulence%20type='fractalNoise'%20baseFrequency='0.045%200.4'%20numOctaves='2'%20seed='14'/><feDisplacementMap%20in='SourceGraphic'%20scale='16'/></filter><rect%20x='-10'%20y='12'%20width='620'%20height='30'%20fill='%234E0B0F'%20filter='url(%23t)'/></svg>");
  background-size: 100% 100%;
  pointer-events: none;
}
.chapter-flash::before { top: -25px; }
.chapter-flash::after { bottom: -25px; transform: scaleY(-1); }
.chapter-flash .ch-head {
  border-top-color: rgba(233, 229, 220, 0.25);
  max-width: 74rem;
  margin-left: auto;
  margin-right: auto;
}
.flash-lead {
  margin-left: auto;
  font-size: 1.4rem;
  color: rgba(233, 229, 220, 0.9);
  transform: rotate(-1deg);
}
.flash-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 74rem;
  margin: 0 auto;
}
.flash-card { position: relative; background: var(--flash-deep); transition: translate 0.3s ease; }
.flash-card:hover { translate: 0 -5px; }
.flash-card:hover .flash-no { background: var(--red); }
.flash-card img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.flash-card .flash-no {
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  background: var(--ground);
  color: var(--bone);
  font-family: var(--hand);
  font-size: 1.3rem;
  line-height: 1;
  padding: 0.45rem 0.7rem 0.35rem;
}

/* ---- mottó ---- */
.motto {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 74rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.motto-photo { position: relative; transform: rotate(-2deg); }
.motto-photo img { border: 8px solid var(--bone); }
.motto-photo figcaption {
  color: var(--muted);
  padding-top: 0.6rem;
  text-align: right;
  font-size: 1.3rem;
}
.motto-quote p {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.16;
  text-wrap: balance;
}
.motto-quote em { font-style: italic; color: var(--red-bright); }
.motto-quote cite {
  display: block;
  margin-top: 1.2rem;
  font-style: normal;
  font-size: 1.6rem;
  color: var(--muted);
  transform: rotate(-2deg);
}

/* ---- rólam ---- */
.about {
  position: relative;
  overflow: hidden;
}
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 64rem;
  margin: 0 auto;
}
.about-photo {
  position: relative;
  border: 1px solid var(--line);
  background: var(--plate);
  overflow: hidden;
  cursor: zoom-in;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.about-photo:hover img { transform: scale(1.035); }
.about-photo figcaption {
  position: absolute;
  right: 0.9rem;
  bottom: 0.5rem;
  color: var(--bone);
  font-size: 1.4rem;
  transform: rotate(-3deg);
}
.about-ink {
  position: absolute;
  inset: 0;
  background-image: url("assets/img/motif-kardos.png"), url("assets/img/motif-harcos.png");
  background-repeat: no-repeat, no-repeat;
  background-position: left -30px center, right -20px bottom -30px;
  background-size: clamp(180px, 22vw, 300px) auto, clamp(150px, 18vw, 250px) auto;
  opacity: 0.22;
  pointer-events: none;
}
.about-text {
  position: relative;
}
.about-text .sec-title { margin-bottom: 1.3rem; }
.about-text p { color: var(--bone); }
.about-hand {
  margin-top: 1rem;
  color: var(--red-bright);
  transform: rotate(-1.5deg);
}

/* ---- folyamat ---- */
.process .sec-head { max-width: 46rem; }
.steps {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
}
.thread {
  position: absolute;
  top: 0; bottom: 0;
  left: 8px;
  width: 60px;
  height: 100%;
  color: var(--red-bright);
}
.thread path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.steps.threaded .thread path {
  transition: stroke-dashoffset 2.4s cubic-bezier(0.3, 0, 0.2, 1);
  stroke-dashoffset: 0;
}
.step-list { list-style: none; padding-left: 96px; }
.step {
  position: relative;
  background: var(--plate);
  border: 1px solid var(--line);
  padding: 1.3rem 1.5rem 1.2rem;
  margin-bottom: 1.4rem;
}
.step:nth-child(odd) { transform: rotate(-0.7deg); }
.step:nth-child(even) { transform: rotate(0.6deg); }
.step .pin { top: -6px; }
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  margin-bottom: 0.3rem;
}
.step p { color: var(--muted); max-width: 52ch; }

/* ---- tudnivalók ---- */
.faq-grid {
  max-width: 62rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.faq-grid details {
  border: 1px solid var(--line);
  background: var(--plate);
}
.faq-grid summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.2rem;
  font-weight: 500;
  position: relative;
}
.faq-grid details { transition: border-color 0.2s; }
.faq-grid details:hover { border-color: var(--muted); }
.faq-grid summary:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: -2px;
}
.faq-grid summary::-webkit-details-marker { display: none; }
.faq-grid summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  color: var(--red-bright);
  font-family: var(--sans);
  font-weight: 600;
}
.faq-grid details[open] summary::after { content: "\2013"; }
.faq-grid details p {
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
}

/* ---- időpont: a konzultációs lap, papíron ---- */
.booking { border-top: 1px solid var(--line); }
.composer {
  position: relative;
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
  background: var(--bone);
  color: #23252A;
  padding: clamp(1.8rem, 4vw, 2.8rem) clamp(1.4rem, 4vw, 2.6rem) 2rem;
  transform: rotate(-0.8deg);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
}
.tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 86px;
  height: 26px;
  transform: translateX(-50%) rotate(-3deg);
  background: rgba(163, 159, 148, 0.35);
  border-left: 1px solid rgba(233, 232, 227, 0.14);
  border-right: 1px solid rgba(233, 232, 227, 0.14);
  z-index: 2;
  pointer-events: none;
}
.tape-l { left: 16%; transform: translateX(-50%) rotate(-30deg); }
.tape-c1 {
  top: -13px;
  left: 14%;
  transform: rotate(-5deg);
  background: rgba(163, 159, 148, 0.4);
}
.tape-c2 {
  top: -13px;
  left: auto;
  right: 8%;
  transform: rotate(4deg);
  background: rgba(163, 159, 148, 0.4);
}
.composer-head {
  grid-column: span 2;
  font-size: 1.7rem;
  color: var(--red);
  transform: rotate(-1.2deg);
  margin-bottom: -0.3rem;
}
.fld { grid-column: span 2; border: 0; }
.fld-half { grid-column: span 1; }
.fld label, .fld legend {
  display: block;
  font-family: var(--hand);
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
  color: #57534B;
  margin-bottom: 0.25rem;
}
.fld input[type="text"], .fld textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px dashed rgba(35, 37, 42, 0.35);
  color: #23252A;
  font: inherit;
  padding: 0.45rem 0.1rem;
  resize: vertical;
}
.fld input[type="text"]::placeholder, .fld textarea::placeholder {
  color: rgba(35, 37, 42, 0.42);
}
.fld input[type="text"]:focus-visible, .fld textarea:focus-visible {
  outline: none;
  border-bottom: 2px solid var(--red);
}
.chip:focus-visible, .btn:focus-visible, .hand-note:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 1px;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font: inherit;
  font-size: 0.9rem;
  background: transparent;
  color: #23252A;
  border: 1.5px solid rgba(35, 37, 42, 0.45);
  border-radius: 3px;
  padding: 0.42rem 0.95rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.chip:hover { border-color: #23252A; }
.chip[aria-pressed="true"] {
  background: var(--red);
  color: var(--bone);
  border-color: var(--red);
}
.fld-check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.fld-check input {
  width: 1.1rem; height: 1.1rem;
  margin-top: 0.25rem;
  accent-color: var(--red);
}
.fld-check label {
  font-family: var(--sans);
  font-size: 0.9375rem;
  letter-spacing: 0;
  text-transform: none;
  color: #23252A;
  margin: 0;
}
.composer-actions { grid-column: span 2; }
.composer .btn-red:hover, .composer .btn-red:focus-visible { background: #23252A; color: var(--bone); }
.copied { color: var(--red); margin-top: 0.9rem; font-size: 1.4rem; transform: rotate(-1deg); }
.channels {
  grid-column: span 2;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.channels .btn-ghost {
  border-color: rgba(35, 37, 42, 0.45);
  color: #23252A;
}
.channels .btn-ghost:hover, .channels .btn-ghost:focus-visible {
  border-color: #23252A;
}

/* ---- social linkek ---- */
.soc {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--bone);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.soc svg { flex: 0 0 auto; }
.soc span {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color 0.2s, color 0.2s;
}
.soc:hover span, .soc:focus-visible span { border-bottom-color: var(--red-bright); }
.channels { align-items: center; gap: 1.6rem; }
.channels .soc { color: #23252A; }
.channels .soc span { border-bottom-color: rgba(35, 37, 42, 0.4); }
.channels .soc:hover span, .channels .soc:focus-visible span { border-bottom-color: var(--red); }
.foot-brand { display: inline-block; color: var(--bone); text-decoration: none; }
.foot-socs { display: flex; flex-direction: column; gap: 0.7rem; align-items: flex-start; }
.foot-socs .soc { font-size: 1.15rem; }
.foot-socs .soc svg { width: 21px; height: 21px; }
.mnav-foot { gap: 1.6rem; }
.mnav-foot .soc { color: var(--muted); }
.mnav-foot .soc:hover { color: var(--bone); }

/* ---- lábléc ---- */
.site-foot {
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 7vh, 5rem) var(--gutter) 6rem;
}
.foot-grid {
  max-width: 74rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}
.foot-k { color: var(--muted); margin-bottom: 0.5rem; }
.foot-line { color: var(--muted); font-size: 1rem; margin-top: 0.4rem; }
.foot-line a { color: var(--bone); text-decoration: none; border-bottom: 1px solid var(--line); }
.foot-line a:hover { border-bottom-color: var(--red-bright); }
.foot-note {
  max-width: 74rem;
  margin: 3rem auto 0;
  color: var(--muted);
  font-size: 0.8125rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}
.foot-made {
  max-width: 74rem;
  margin: 0.9rem auto 0;
  color: var(--muted);
  font-size: 0.8125rem;
  opacity: 0.75;
}
.foot-made a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); }
.foot-made a:hover { color: var(--bone); border-bottom-color: var(--red-bright); }

/* ---- hamburger + teljes képernyős menü ---- */
.burger {
  display: none;
  background: transparent;
  border: 0;
  color: var(--bone);
  padding: 0.5rem;
  cursor: pointer;
}
.mnav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--ground);
  background-image: url("assets/img/motif-harcos.png");
  background-repeat: no-repeat;
  background-position: right -40px bottom -50px;
  background-size: min(62vw, 320px) auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.5rem var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}
.mnav.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease;
}
.mnav-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: transparent;
  border: 0;
  color: var(--bone);
  padding: 0.6rem;
  cursor: pointer;
}
.mnav-list { display: flex; flex-direction: column; gap: 0.4rem; }
.mnav-list a {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 10vw, 3.4rem);
  line-height: 1.25;
  color: var(--bone);
  text-decoration: none;
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.45s ease, translate 0.45s ease, color 0.2s;
}
.mnav.open .mnav-list a { opacity: 1; translate: 0 0; }
.mnav.open .mnav-list a:nth-child(1) { transition-delay: 0.08s, 0.08s, 0s; }
.mnav.open .mnav-list a:nth-child(2) { transition-delay: 0.16s, 0.16s, 0s; }
.mnav.open .mnav-list a:nth-child(3) { transition-delay: 0.24s, 0.24s, 0s; }
.mnav.open .mnav-list a:nth-child(4) { transition-delay: 0.32s, 0.32s, 0s; }
.mnav-list a:hover, .mnav-list a:focus-visible { color: var(--red-bright); }
.mnav-cta em { font-style: italic; color: var(--red-bright); }
.mnav-hand {
  margin-top: 1.6rem;
  color: var(--red-bright);
  transform: rotate(-2deg);
  opacity: 0;
  transition: opacity 0.45s ease 0.42s;
}
.mnav.open .mnav-hand { opacity: 1; }
.mnav-foot {
  position: absolute;
  left: var(--gutter);
  bottom: 2rem;
  display: flex;
  gap: 1.4rem;
}
.mnav-foot a {
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid var(--line);
}
.mnav-foot a:hover { color: var(--bone); border-bottom-color: var(--red-bright); }
body.menu-open { overflow: hidden; }
html:not(.js) .mnav { display: none; }

/* ---- mobil CTA sáv: csak a hero után úszik be ---- */
.mobile-cta {
  display: none;
  position: fixed;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 60;
  text-align: center;
  padding: 0.9rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}
html.js .mobile-cta {
  opacity: 0;
  translate: 0 18px;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, translate 0.5s ease, visibility 0s linear 0.5s;
}
html.js .mobile-cta.show {
  opacity: 1;
  translate: 0 0;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.5s ease, translate 0.5s ease;
}

/* ---- lightbox ---- */
.cell, .ph, .flash-card, .motto-photo, .style-card { cursor: zoom-in; }
.lb {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(6, 7, 8, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.9rem;
  padding: 3.5rem 4.5rem;
}
.lb[hidden] { display: none; }
.lb img {
  max-width: min(88vw, 1100px);
  max-height: 80vh;
  border: 1px solid var(--line);
  background: var(--plate);
}
.lb figcaption { color: var(--muted); font-size: 1.35rem; text-align: center; }
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: var(--bone);
  padding: 0.7rem;
  cursor: pointer;
  transition: color 0.2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--red-bright); }
.lb-close { top: 1rem; right: 1.1rem; }
.lb-prev { left: 0.7rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 0.7rem; top: 50%; translate: 0 -50%; }
@media (max-width: 720px) {
  .lb { padding: 3rem 0.8rem; }
  .lb img { max-width: 94vw; }
}

/* ---- stilus-kartyak a fooldalon ---- */
.styles-teaser .sec-head { max-width: 74rem; }
.tri {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 74rem;
  margin: 0 auto;
}
.style-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--plate);
  text-decoration: none;
  cursor: pointer;
}
.style-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(16%) contrast(1.03);
  transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1), filter 0.4s ease;
}
.style-card:hover img { transform: scale(1.045); filter: none; }
.style-card h3 {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.1rem 0.9rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--bone);
  background: linear-gradient(to top, rgba(8, 9, 10, 0.88), rgba(8, 9, 10, 0));
}
@media (max-width: 720px) {
  .tri { grid-template-columns: 1fr; }
  .style-card img { aspect-ratio: 16 / 10; }
}

/* ---- szemcse ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- intró: a logó villan be, aztán az oldal ---- */
.intro { display: none; }
html.intro-on .intro {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ground);
  pointer-events: none;
  animation: intro-out 0.7s cubic-bezier(0.6, 0, 0.3, 1) 3.1s forwards;
}
.intro-logo { width: min(480px, 76vw); height: auto; }
html.intro-on .in-pommel {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: drop-in 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.4) 0.15s forwards;
}
html.intro-on .in-blade {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.6s cubic-bezier(0.5, 0, 0.3, 1) 0.3s forwards;
}
html.intro-on .in-tip {
  opacity: 0;
  animation: fade-in 0.25s ease 0.85s forwards;
}
html.intro-on .in-wing path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
html.intro-on .in-wing path:nth-child(1) { animation: draw 0.5s ease 1.05s forwards; }
html.intro-on .in-wing path:nth-child(2) { animation: draw 0.45s ease 1.3s forwards; }
html.intro-on .in-wing {
  transform-box: fill-box;
}
html.intro-on .in-wing-l {
  transform-origin: 100% 45%;
  animation: flap-l 2.4s ease-in-out 1.6s infinite;
}
html.intro-on .in-wing-r {
  transform-origin: 0% 45%;
  animation: flap-r 2.4s ease-in-out 1.6s infinite;
}
@keyframes flap-l {
  0%, 100% { transform: rotate(0deg); }
  40% { transform: rotate(6deg); }
  72% { transform: rotate(-2deg); }
}
@keyframes flap-r {
  0%, 100% { transform: rotate(0deg); }
  40% { transform: rotate(-6deg); }
  72% { transform: rotate(2deg); }
}
html.intro-on .in-drop {
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0);
  animation: drop-in 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.4) 2.1s forwards;
}
html.intro-on .in-drip {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.4s ease 2.3s forwards;
}
html.intro-on .in-word {
  opacity: 0;
  animation: word-in 0.6s ease 2.2s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drop-in { to { transform: scale(1); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes word-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes intro-out {
  to { opacity: 0; visibility: hidden; }
}

/* az oldal maga is "bejön" az intró után */
html.intro-on .site-head { animation: rise 0.6s ease 3.3s backwards; }
html.intro-on .hero-copy { animation: rise 0.7s ease 3.4s backwards; }
html.intro-on .c-a { animation: rise 0.6s ease 3.5s backwards; }
html.intro-on .c-b { animation: rise 0.6s ease 3.6s backwards; }
html.intro-on .c-c { animation: rise 0.6s ease 3.68s backwards; }
html.intro-on .c-d { animation: rise 0.6s ease 3.76s backwards; }
html.intro-on .c-e { animation: rise 0.6s ease 3.84s backwards; }
html.intro-on .hero-cta { animation: rise 0.6s ease 3.4s backwards; }
html.intro-on .board-note { animation: rise 0.6s ease 3.95s backwards; }
@keyframes rise {
  from { opacity: 0; translate: 0 16px; }
  to { opacity: 1; translate: 0 0; }
}

/* ---- felúszó reveal ---- */
.rv { opacity: 0; transform: translateY(18px); }
.rv.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.step.rv.in:nth-child(odd) { transform: rotate(-0.7deg); }
.step.rv.in:nth-child(even) { transform: rotate(0.6deg); }

/* ---- mobil ---- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-board { height: clamp(430px, 60vw, 560px); max-width: 560px; }
  .board-note { left: auto; right: -8px; bottom: -14px; }
}
@media (max-width: 900px) {
  .ch-grid-real { grid-template-columns: 1fr 1fr; }
  .ch-grid-real .ph-lead { grid-column: span 2; grid-row: auto; }
  .ch-grid-fine { grid-template-columns: 1fr 1fr; }
  .flash-rail { grid-template-columns: 1fr 1fr; }
  .motto, .about-grid { grid-template-columns: 1fr; }
  .motto-photo { max-width: 420px; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .head-cta { display: none; }
  html.js .burger { display: block; margin-left: auto; }
  html.js .brand { margin-right: 0; }
  .logo { height: 44px; }
  .brand { margin-right: auto; }
  .mobile-cta { display: block; }
  .composer { grid-template-columns: 1fr; }
  .fld, .fld-half, .composer-actions, .channels, .composer-head { grid-column: span 1; }
  .step-list { padding-left: 52px; }
  .thread { left: 0; width: 40px; }
  .faq-grid { grid-template-columns: 1fr; }
  .ph img { aspect-ratio: 4 / 5; }
  .hero-board { height: clamp(380px, 96vw, 480px); }
  .hero-ink { opacity: 0.1; }
}

/* ---- mozgás-visszafogás ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; }
  .step.rv:nth-child(odd) { transform: rotate(-0.7deg); }
  .step.rv:nth-child(even) { transform: rotate(0.6deg); }
  .thread path { stroke-dashoffset: 0; }
  .steps.threaded .thread path { transition: none; }
  .ph img, .ph:hover img { transition: none; transform: none; }
  .note-sticky, .note-sticky:hover { transition: none; }
  html.js .mobile-cta, html.js .mobile-cta.show { transition: none; }
  .mnav, .mnav.open, .mnav-list a, .mnav.open .mnav-list a, .mnav-hand { transition: none; opacity: 1; translate: 0 0; }
  .mnav { visibility: hidden; }
  .mnav.open { visibility: visible; }
  .pol { transition: none; }
  .flash-card, .flash-card:hover { transition: none; translate: 0 0; }
  .pol-1:hover { transform: rotate(-5deg); }
  .pol-2:hover { transform: rotate(2.5deg); }
  .pol-3:hover { transform: rotate(-1.5deg); }
}
