/* ============================================================
   Vászka Anikó – zongoratanár
   Egyetlen stíluslap. Külső betűtípus, keretrendszer és JS nélkül.
   ============================================================ */

:root {
  --paper: #fbf8f2;
  --paper-2: #f3ede1;
  --paper-3: #ece3d3;
  --ink: #201c18;
  --ink-2: #3a332c;
  --muted: #645b51;
  --line: #e0d7c7;
  --line-strong: #c9bca6;
  --brass: #8f6028;
  --brass-dark: #7a4f1d;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--paper-3); color: var(--ink); }

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

a {
  color: var(--brass-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--ink); }

img, svg { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--wrap), 100% - 3rem);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 100;
  padding: .6rem 1rem;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

.skip:focus { top: 1rem; color: var(--paper); }

/* ---------- Fejléc ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(251, 248, 242, .97);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem 1.5rem;
  padding: 1.1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  color: var(--brass-dark);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 400;
  letter-spacing: .01em;
}

.brand-text small {
  margin-top: .25rem;
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem 1.35rem;
}

.nav a {
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
  color: var(--ink-2);
  font-size: .9rem;
  text-decoration: none;
}

.nav a:hover { border-color: var(--line-strong); }

.nav a[aria-current="page"] {
  border-color: var(--brass);
  color: var(--brass-dark);
}

.nav .nav-cta {
  padding: .5rem .95rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.nav .nav-cta:hover,
.nav .nav-cta[aria-current="page"] {
  border-color: var(--brass-dark);
  background: var(--brass-dark);
  color: #fff;
}

/* ---------- Gombok ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.35rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: .92rem;
  letter-spacing: .02em;
  text-decoration: none;
}

.btn:hover {
  border-color: var(--brass-dark);
  background: var(--brass-dark);
  color: #fff;
}

.btn.ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: var(--ink);
  background: var(--paper-2);
  color: var(--ink);
}

/* ---------- Hero ---------- */

.hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.1rem;
  color: var(--brass-dark);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: var(--brass);
}

.hero h1 em {
  color: var(--brass-dark);
  font-style: italic;
}

.lead {
  max-width: 38ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin: 2rem 0 1.2rem;
}

.hero-note {
  color: var(--muted);
  font-size: .82rem;
  letter-spacing: .02em;
}

/* Zongorabillentyű-illusztráció */

.hero-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: 1.6rem 1.6rem 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  box-shadow: 0 18px 40px -30px rgba(32, 28, 24, .45);
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: .55rem;
  border: 1px solid rgba(154, 106, 47, .25);
  pointer-events: none;
}

.hero-art .staff {
  position: absolute;
  inset: 24% 10% auto;
  color: var(--brass);
  opacity: .45;
}

.art-top,
.art-bottom {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

.art-top {
  color: var(--brass-dark);
  font-size: .66rem;
  letter-spacing: .22em;
}

.art-mark {
  position: relative;
  z-index: 1;
  margin: auto 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(4.5rem, 9vw, 7rem);
  letter-spacing: .03em;
  line-height: 1;
  text-align: center;
}

.art-mark span { color: var(--brass-dark); }

.art-bottom {
  margin-bottom: 1.3rem;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .18em;
}

.keys {
  position: relative;
  z-index: 2;
  display: flex;
  height: 82px;
  margin: auto -1.6rem 0;
}

.keys span {
  position: relative;
  flex: 1;
  border: 1px solid #d3c8b5;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(180deg, #fffefa, #f0e9dc);
  box-shadow: inset 0 -6px 8px -6px rgba(0, 0, 0, .25);
}

.keys span + span { border-left: 0; }

.keys span::after {
  content: "";
  position: absolute;
  top: 0;
  right: -9px;
  z-index: 2;
  width: 17px;
  height: 46px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, #332c24, #1b1712);
}

.keys span:nth-child(3)::after,
.keys span:nth-child(7)::after,
.keys span:nth-child(8)::after { display: none; }

/* ---------- Szekciók ---------- */

.section { padding: clamp(3.2rem, 6vw, 5.5rem) 0; }

.section-tinted {
  border-block: 1px solid var(--line);
  background: var(--paper-2);
}

.section-head {
  max-width: 62ch;
  margin-bottom: 2.4rem;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.card-num {
  margin-bottom: 1.2rem;
  color: var(--brass);
  font-family: var(--serif);
  font-size: .9rem;
  letter-spacing: .08em;
}

.card h3 { margin-bottom: .5rem; }

.card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .95rem;
}

.card-link {
  margin-top: auto;
  padding-top: 1.2rem;
  font-size: .9rem;
}

/* ---------- Idézet ---------- */

.quote-band {
  padding: clamp(2.8rem, 5vw, 4.5rem) 0;
  border-block: 1px solid var(--line);
  background: var(--paper-2);
  text-align: center;
}

.quote-band blockquote {
  max-width: 24ch;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.25;
}

.quote-band cite {
  display: block;
  margin-top: 1rem;
  color: var(--brass-dark);
  font-family: var(--sans);
  font-size: .72rem;
  font-style: normal;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ---------- Bemutatkozás ---------- */

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.portrait {
  padding: 2rem;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  text-align: center;
}

.portrait .mono {
  margin: .4rem 0 1.2rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 5rem);
  letter-spacing: .04em;
  line-height: 1;
}

.portrait .mono span { color: var(--brass-dark); }

.portrait p {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.fact-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.fact-list li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.fact-list strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 400;
}

.fact-list span {
  color: var(--muted);
  font-size: .82rem;
}

/* ---------- CTA ---------- */

.cta {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--ink);
  color: #eee6d8;
}

.cta h2 { color: #fbf6ec; }

.cta p {
  max-width: 50ch;
  color: #c9bfae;
}

.cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.cta .btn {
  border-color: #b8823d;
  background: #b8823d;
  color: #1c1712;
}

.cta .btn:hover {
  border-color: #c98f45;
  background: #c98f45;
  color: #1c1712;
}

.cta .btn.ghost {
  border-color: #5c5245;
  background: transparent;
  color: #f0e8da;
}

.cta .btn.ghost:hover {
  border-color: #8c7f6c;
  background: #2a251f;
  color: #fff;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

/* ---------- Belső oldalak ---------- */

.page-head {
  padding: clamp(2.8rem, 6vw, 5rem) 0 clamp(2.2rem, 4vw, 3.2rem);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
}

.page-head h1 { margin-bottom: .4em; }

.page-head .lead { max-width: 56ch; }

.prose { max-width: 68ch; }

.prose h2 {
  margin-top: 2.2em;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
}

.prose h2:first-child { margin-top: 0; }

.prose p,
.prose li { color: var(--muted); }

.prose ul,
.prose ol { padding-left: 1.2rem; }

.prose li { margin: .35rem 0; }

.prose blockquote {
  margin: 2rem 0;
  padding: .2rem 0 .2rem 1.3rem;
  border-left: 2px solid var(--brass);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.side-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.side-card h2 {
  margin-bottom: .8rem;
  font-size: 1.15rem;
}

.side-card p:last-child,
.side-card ul:last-child { margin-bottom: 0; }

.side-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: .92rem;
}

.side-card li { margin: .35rem 0; }

.side-card .more { margin-top: 1rem; }

.content-grid aside > * + * { margin-top: 1.2rem; }

/* ---------- Óratartalom ---------- */

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1.4rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.topic-grid li {
  padding: .75rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.topic-grid strong {
  color: var(--ink);
  font-weight: 600;
}

.info-list {
  display: grid;
  grid-template-columns: 10rem 1fr;
  margin: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.info-list dt,
.info-list dd {
  margin: 0;
  padding: .9rem 0;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: var(--brass-dark);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Kapcsolat ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin: 2rem 0;
}

.contact-card {
  padding: 1.4rem;
  border: 1px solid var(--line);
  background: #fffdf8;
}

.contact-card h2 {
  margin-bottom: .5rem;
  color: var(--brass-dark);
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.contact-card p,
.contact-card a {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  text-decoration: none;
}

.contact-card a:hover { color: var(--brass-dark); }

.contact-card small {
  display: block;
  margin-top: .4rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: .85rem;
}

/* ---------- 404 ---------- */

.error-page {
  display: grid;
  min-height: 62vh;
  padding: 4rem 0;
  place-items: center;
  text-align: center;
}

.error-code {
  color: var(--line-strong);
  font-family: var(--serif);
  font-size: clamp(5rem, 15vw, 9rem);
  line-height: 1;
}

/* ---------- Lábléc ---------- */

.site-footer {
  padding: 3rem 0 1.5rem;
  background: #171411;
  color: #cfc5b5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #332d26;
}

.footer-brand .brand {
  margin-bottom: 1rem;
  color: #f2eadc;
}

.footer-brand .brand:hover { color: #fff; }

.footer-brand .brand-mark {
  border-color: #4a4238;
  background: #221e19;
  color: #d7b073;
}

.footer-brand .brand-text small { color: #a99e8d; }

.footer-brand p {
  max-width: 32ch;
  color: #a99e8d;
  font-size: .9rem;
}

.site-footer h3 {
  margin-bottom: 1rem;
  color: #f2eadc;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  padding: .18rem 0;
  color: #d8cdbb;
  font-size: .92rem;
  text-decoration: none;
}

.site-footer a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.4rem;
  color: #8e8373;
  font-size: .78rem;
}

.footer-bottom p { margin: 0; }

/* ---------- Reszponzív ---------- */

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .content-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-art {
    min-height: 360px;
    order: 2;
  }

  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--wrap), 100% - 2rem); }

  .header-inner { padding: .9rem 0; }

  .nav {
    width: 100%;
    gap: .25rem .9rem;
  }

  .nav a { font-size: .85rem; }

  .nav a:first-child { display: none; }

  .contact-grid,
  .topic-grid { grid-template-columns: 1fr; }

  .info-list { grid-template-columns: 1fr; }

  .info-list dt {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .info-list dd { padding-top: .25rem; }

  .cta-inner { display: block; }

  .hero-art { min-height: 320px; }

  .quote-band blockquote { max-width: 18ch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
