/* Fénytér — style 09 Editorial atelier
   Újlipótváros / XIII. Magazine, not a dashboard.
   Not VillanyPro amber, not ÁramTerv stone, not Norma grid. */

/* latin-ext — Bodoni Moda (Fenyter Display) */
@font-face {
  font-family: "Fenyter Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bodoni-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fenyter Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bodoni-latin-ext-600i.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fenyter Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bodoni-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fenyter Display";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bodoni-latin-ext-700i.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin — Bodoni Moda */
@font-face {
  font-family: "Fenyter Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bodoni-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fenyter Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/bodoni-latin-600i.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fenyter Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bodoni-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fenyter Display";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/bodoni-latin-700i.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext — Figtree (Fenyter Sans) */
@font-face {
  font-family: "Fenyter Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fenyter Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fenyter Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin — Figtree */
@font-face {
  font-family: "Fenyter Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/figtree-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fenyter Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/figtree-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fenyter Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/figtree-latin-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f6f0e6;
  --ink: #1c1712;
  --caption: #6a635a;
  --rule: #d9d0c4;
  --brass: #9a7848;
  --wash: #efe8dc;
  --display: "Fenyter Display", "Bodoni Moda", "Times New Roman", Times, serif;
  --sans: "Fenyter Sans", Figtree, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(1.4rem, 5.5vw, 5.5rem);
  --max: 1180px;
  --header-h: 3.6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.05rem;
  font-weight: 400;
}
img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--brass); }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: 0;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: 0.75rem; top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.9rem;
  z-index: 80;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.skip-link:focus { top: 0.5rem; }

.issue {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

/* Masthead */
.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.masthead-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  min-height: var(--header-h);
  padding: 0.45rem var(--gutter);
  width: min(var(--max), 100%);
  margin-inline: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand-mark { width: 2.05rem; height: 2.05rem; }
.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--caption);
  margin-top: 0.18rem;
  font-weight: 600;
}
.nav-main {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-main a { color: var(--ink); text-decoration: none; }
.nav-main a:hover { color: var(--brass); }
.phone-link {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--brass);
  line-height: 1.1;
  padding-bottom: 0.06rem;
  flex: none;
}
.nav-more { display: none; }
.nav-more summary {
  list-style: none;
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.75rem 0;
}
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more[open] .nav-panel {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: absolute;
  right: var(--gutter);
  top: var(--header-h);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 1rem 1.2rem;
  min-width: 12rem;
  z-index: 50;
}
.nav-panel a { text-decoration: none; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Cover lockup */
.cover {
  padding: 3.2rem var(--gutter) 3.6rem;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}
.issue-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caption);
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule);
}
.issue-meta b { color: var(--brass); font-weight: 600; }
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4.6rem, 16vw, 10.4rem);
  letter-spacing: -0.045em;
  line-height: 0.82;
  margin: 1.6rem 0 1.4rem;
}
.dek {
  max-width: 34rem;
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 0 0 2.4rem;
  color: var(--ink);
}
.cover-colophon {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--caption);
}
.cover-colophon strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.64rem;
  margin-bottom: 0.28rem;
}
.cover-colophon a { color: var(--ink); }

/* TOC */
.toc {
  padding: 4rem var(--gutter) 3.2rem;
  border-bottom: 1px solid var(--rule);
}
.kicker {
  margin: 0 0 0.45rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}
.section-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.lede {
  max-width: 36rem;
  color: var(--caption);
  margin: 0 0 1.8rem;
  font-size: 1.02rem;
}
.rovat-filter {
  display: flex;
  gap: 0.15rem;
  align-items: baseline;
  margin: 0 0 1.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rovat-filter span { color: var(--caption); padding: 0 0.45rem; }
.rovat-btn {
  background: none;
  border: 0;
  padding: 0.15rem 0.1rem;
  cursor: pointer;
  color: var(--caption);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.rovat-btn:hover { color: var(--ink); }
.rovat-btn[aria-pressed="true"] {
  color: var(--ink);
  border-bottom-color: var(--brass);
  font-weight: 600;
}
.toc-list { list-style: none; margin: 0; padding: 0; max-width: 46rem; }
.toc-item a {
  display: grid;
  grid-template-columns: 2.6rem 1fr auto;
  gap: 1rem;
  align-items: baseline;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
}
.toc-item a:hover .toc-title { color: var(--brass); }
.toc-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  color: var(--brass);
  font-size: 1.15rem;
}
.toc-title {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.toc-meta {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--caption);
  margin-top: 0.28rem;
  font-weight: 500;
}
.toc-folio {
  font-variant-numeric: oldstyle-nums;
  font-size: 0.85rem;
  color: var(--caption);
  letter-spacing: 0.08em;
}

/* Spreads / essays */
.essay {
  border-bottom: 1px solid var(--rule);
}
.spread {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(1.6rem, 4vw, 4.2rem);
  padding: 3.6rem var(--gutter);
  align-items: start;
}
.spread.is-flip { grid-template-columns: 0.92fr 1.08fr; }
.spread.is-flip .plate-wrap { order: 2; }
.spread.is-quiet {
  grid-template-columns: 1fr;
  max-width: 40rem;
}
.plate-wrap { min-width: 0; }
.plate-frame {
  background: var(--wash);
  border: 1px solid var(--rule);
  padding: 0.65rem;
}
.plate-frame img { width: 100%; }
.plate-caption {
  margin: 0.7rem 0 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--caption);
  line-height: 1.5;
}
.plate-caption b {
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-right: 0.45rem;
}
.essay-copy { min-width: 0; }
.essay-copy .kicker { margin-bottom: 0.55rem; }
.essay-title {
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  margin-bottom: 1.15rem;
}
.essay-body p { margin: 0 0 1.05rem; }
.essay-body p:last-child { margin-bottom: 0; }
.drop p:first-of-type::first-letter {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.7em;
  float: left;
  line-height: 0.78;
  padding: 0.08em 0.12em 0 0;
  color: var(--brass);
}
.pull {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 1.4rem 0 1.4rem 0;
  padding: 0.85rem 0 0.85rem 1.15rem;
  border-left: 1px solid var(--brass);
  max-width: 22rem;
}
.note {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--caption);
}
.note strong {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

body.is-lakas [data-rovat="tarsashaz"],
body.is-tarsashaz [data-rovat="lakas"] {
  display: none;
}

/* Workshop colophon */
.muhely {
  padding: 4rem var(--gutter) 3.2rem;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.muhely-copy p { margin: 0 0 1rem; max-width: 34rem; }
.muhely-meta {
  font-size: 0.92rem;
  color: var(--caption);
}
.muhely-meta p { margin: 0 0 0.45rem; }
.muhely-meta a { color: var(--ink); }
.hours {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

/* Letter / form */
.letter {
  padding: 4rem var(--gutter) 3.4rem;
  border-bottom: 1px solid var(--rule);
}
.letter-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.form-note {
  margin: 0.4rem 0 1.1rem;
  font-size: 0.92rem;
  color: var(--caption);
}
label {
  display: block;
  margin-bottom: 0.95rem;
}
label span {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caption);
  margin-bottom: 0.28rem;
}
input, select, textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  padding: 0.4rem 0 0.45rem;
  border-radius: 0;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-bottom-color: var(--brass);
}
textarea { min-height: 6.2rem; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.btn {
  display: inline-block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  background: none;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--brass);
  padding: 0.35rem 0 0.2rem;
  cursor: pointer;
  margin-top: 0.4rem;
}
.btn:hover { color: var(--brass); }
.success {
  display: none;
  margin-top: 1.1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
  color: var(--ink);
}
.success.is-on { display: block; }
.form.is-sent { display: none; }

/* Footer folio */
.site-footer {
  padding: 1.15rem var(--gutter) 1.6rem;
}
.folio {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--caption);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0.9rem;
}
.folio-brand {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink);
  font-size: 1rem;
}
.foot-legal {
  font-size: 0.78rem;
  color: var(--caption);
}
.foot-legal p { margin: 0 0 0.3rem; }

@media (max-width: 900px) {
  .nav-main, .phone-link { display: none; }
  .nav-more { display: block; margin-left: auto; position: relative; }
  .spread, .spread.is-flip {
    grid-template-columns: 1fr;
  }
  .spread.is-flip .plate-wrap { order: 0; }
  .cover-colophon, .muhely, .letter-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .wordmark { font-size: clamp(3.4rem, 18vw, 6.2rem); }
  .cover { min-height: auto; padding-top: 2.2rem; padding-bottom: 2.4rem; }
  .toc-item a { grid-template-columns: 2.2rem 1fr; }
  .toc-folio { display: none; }
}
@media (max-width: 520px) {
  .masthead-inner { gap: 0.7rem; }
  .drop p:first-of-type::first-letter { font-size: 3.1em; }
  .pull { font-size: 1.28rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

body.shot-spread .cover { display: none; }
body.shot-spread .masthead { position: relative; }
#tartalom, #tablak, #csillar { scroll-margin-top: 0; }
