/* ÁramTerv — style 06 Tender / authority
   Quiet contemporary. Stone / graphite / oxidised copper.
   Not VillanyPro dark-amber, not 02 tape, not 03 house, not 04 split, not 05 ledger. */

@font-face {
  font-family: "Aram Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "Aram Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-serif-400i.woff2") format("woff2");
}
@font-face {
  font-family: "Aram Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-serif-600.woff2") format("woff2");
}
@font-face {
  font-family: "Aram Display";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-serif-700.woff2") format("woff2");
}
@font-face {
  font-family: "Aram Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/manrope-400.woff2") format("woff2");
}
@font-face {
  font-family: "Aram Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/manrope-500.woff2") format("woff2");
}
@font-face {
  font-family: "Aram Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/manrope-600.woff2") format("woff2");
}

:root {
  --stone: #f4f1ea;
  --paper: #fbfaf7;
  --white: #ffffff;
  --graphite: #1c1c1c;
  --ink: #2a2926;
  --mute: #6a6660;
  --rule: #d6d1c7;
  --rule-strong: #b9b3a8;
  --copper: #3d5c56;
  --copper-deep: #2a4440;
  --copper-wash: #e6ecea;
  --focus: #3d5c56;
  --header-h: 4.15rem;
  --display: "Aram Display", "Source Serif 4", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Aram Sans", Manrope, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(1.2rem, 3.2vw, 2.4rem);
  --max: 1180px;
  --max-wide: 1280px;
}

*, *::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.6;
  font-size: 1.02rem;
  font-weight: 400;
  letter-spacing: 0.005em;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--copper-deep); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--graphite); }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.12;
  color: var(--graphite);
  margin: 0;
}
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus);
  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(--graphite);
  color: var(--paper);
  padding: 0.55rem 0.9rem;
  z-index: 80;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
}
.skip-link:focus { top: 0.75rem; }

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.wrap-wide {
  width: min(var(--max-wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.85rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(var(--max-wide), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--graphite);
  min-width: 10rem;
}
.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--graphite);
}
.brand-name {
  display: block;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
  margin-top: 0.2rem;
}
.nav-main {
  display: flex;
  gap: 1.35rem;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 500;
}
.nav-main a {
  color: var(--ink);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 1px solid transparent;
}
.nav-main a:hover { border-bottom-color: var(--copper); color: var(--graphite); }
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-left: 0.4rem;
  padding-left: 1rem;
  border-left: 1px solid var(--rule);
}
.phone-link {
  color: var(--graphite);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.phone-link:hover { color: var(--copper-deep); }
.nav-more { display: none; }
.nav-more > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 0.15rem;
  color: var(--graphite);
}
.nav-more > summary::-webkit-details-marker { display: none; }
.nav-more[open] > summary + * {
  position: absolute;
  right: var(--gutter);
  top: var(--header-h);
  background: var(--paper);
  border: 1px solid var(--rule);
  min-width: 16rem;
  padding: 0.75rem 0;
  z-index: 50;
}
.nav-more[open] a {
  display: block;
  padding: 0.55rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
}
.nav-more[open] a:hover { background: var(--stone); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.55rem 1.35rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid var(--graphite);
  background: var(--graphite);
  color: var(--paper);
  cursor: pointer;
  border-radius: 0;
}
.btn:hover { background: var(--copper-deep); border-color: var(--copper-deep); color: var(--paper); }
.btn-ghost {
  background: transparent;
  color: var(--graphite);
}
.btn-ghost:hover { background: var(--stone); color: var(--graphite); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- Hero ---------- */
.hero {
  background: var(--stone);
  padding: clamp(3.2rem, 8vw, 6.5rem) 0 clamp(2.4rem, 5vw, 4rem);
  border-bottom: 1px solid var(--rule);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(16rem, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.15rem);
  font-weight: 600;
  letter-spacing: -0.038em;
  line-height: 1.02;
  max-width: 12ch;
}
.hero .lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  line-height: 1.45;
  color: var(--ink);
  max-width: 38rem;
  margin: 1.4rem 0 0;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.78rem;
  color: var(--mute);
  letter-spacing: 0.04em;
}
.hero-meta span { white-space: nowrap; }
.hero-index {
  border-left: 1px solid var(--rule);
  padding: 0.2rem 0 0.2rem 1.6rem;
}
.hero-index ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hero-index a {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.92rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid transparent;
}
.hero-index a:hover { color: var(--graphite); }
.hero-index a:hover .idx-n { color: var(--copper); }
.idx-n {
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  color: var(--mute);
  font-size: 0.92rem;
}
.hero-index .idx-label { font-weight: 500; }

/* ---------- Photo grid ---------- */
.photos {
  background: var(--paper);
  padding: clamp(1.5rem, 3vw, 2.4rem) 0 0;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.photo-grid figure {
  margin: 0;
  background: var(--stone);
  position: relative;
  overflow: hidden;
}
.photo-grid figure:first-child {
  grid-row: 1 / 3;
}
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: var(--stone);
}
.photo-grid figure:first-child { min-height: 36rem; }
.photo-grid figure:not(:first-child) { min-height: 18rem; }
.photo-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.7rem 0.95rem;
  background: linear-gradient(transparent, rgba(28,28,28,0.08) 20%, rgba(244,241,234,0.94));
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  font-weight: 600;
}

/* ---------- Section commons ---------- */
.section {
  padding: clamp(3.6rem, 8vw, 6.4rem) 0;
}
.section + .section { border-top: 1px solid var(--rule); }
.section-head {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1rem 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.2rem);
  max-width: 46rem;
}
.sec-n {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--copper);
  letter-spacing: 0.04em;
  padding-top: 0.35rem;
}
.section-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
}
.section-head .lede {
  grid-column: 2;
  margin: 0.35rem 0 0;
  color: var(--mute);
  font-size: 1.02rem;
  max-width: 38rem;
}

/* ---------- Audiences ---------- */
.audiences { background: var(--paper); }
.aud-grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0 2.4rem;
}
.aud-rule { background: var(--rule); }
.aud-card h3 {
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}
.aud-card p { margin: 0 0 1rem; color: var(--ink); }
.aud-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.aud-card li {
  padding: 0.45rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.95rem;
  color: var(--mute);
}
.aud-card li strong { color: var(--graphite); font-weight: 600; }
.aud-card .btn { margin-top: 1.4rem; }

/* ---------- Referenciák ---------- */
.refs { background: var(--stone); }
.ref-list { display: flex; flex-direction: column; }
.ref-item {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 0.85fr) minmax(0, 1.2fr);
  gap: 1.4rem 1.8rem;
  padding: 2rem 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.ref-item:last-child { border-bottom: 1px solid var(--rule); }
.ref-id {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ref-id .n {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--copper);
  letter-spacing: -0.03em;
  line-height: 1;
}
.ref-id .yr {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}
.ref-item figure {
  margin: 0;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.ref-item figcaption { display: none; }
.ref-copy h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  margin-bottom: 0.45rem;
}
.ref-copy .place {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin: 0 0 0.7rem;
}
.ref-copy p { margin: 0 0 1rem; }
.ref-meta {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.35rem 0.8rem;
  font-size: 0.88rem;
  color: var(--mute);
  padding-top: 0.6rem;
  border-top: 1px solid var(--rule);
}
.ref-meta dt { font-weight: 600; color: var(--graphite); }

/* ---------- Folyamat (spine) ---------- */
.folyamat { background: var(--paper); }
.proc {
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: st;
}
.proc::before {
  content: "";
  position: absolute;
  left: 1.15rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: var(--rule);
}
.proc > li {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 14rem) minmax(0, 1fr);
  gap: 0.8rem 1.6rem;
  padding: 0 0 2.6rem;
  position: relative;
}
.proc > li:last-child { padding-bottom: 0; }
.proc .dot {
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--graphite);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 0.92rem;
  color: var(--graphite);
  position: relative;
  z-index: 1;
}
.proc h3 {
  font-size: 1.45rem;
  padding-top: 0.28rem;
}
.proc p {
  margin: 0.15rem 0 0;
  color: var(--ink);
  max-width: 40rem;
}
.proc p + p { margin-top: 0.55rem; }

/* ---------- Iroda / trust ---------- */
.iroda { background: var(--stone); }
.iroda-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.essay p { margin: 0 0 1rem; max-width: 38rem; }
.essay p:last-child { margin-bottom: 0; }
.people {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.people li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
}
.people strong { display: block; font-weight: 600; color: var(--graphite); }
.people span { color: var(--mute); font-size: 0.9rem; }
.colophon {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.82rem;
  color: var(--mute);
  display: grid;
  grid-template-columns: 7.2rem 1fr;
  gap: 0.4rem 0.8rem;
  letter-spacing: 0.01em;
}
.colophon dt { color: var(--graphite); font-weight: 600; }

/* ---------- Services as definitions ---------- */
.szolg { background: var(--paper); }
.svc {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.svc dt, .svc dd {
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--rule);
  margin: 0;
}
.svc dt {
  font-family: var(--display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--graphite);
  padding-right: 1.5rem;
}
.svc dd { color: var(--ink); max-width: 38rem; }

/* ---------- Form ---------- */
.megkereses { background: var(--stone); }
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
.form-aside p { margin: 0 0 1rem; }
.form-aside .hours {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--mute);
}
.form-aside .hours strong { color: var(--graphite); display: block; margin-bottom: 0.2rem; }
form {
  display: grid;
  gap: 1rem;
}
label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}
input, select, textarea {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--graphite);
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  padding: 0.7rem 0.8rem;
  min-height: 2.7rem;
  width: 100%;
}
textarea { min-height: 7.5rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 0;
  border-color: var(--copper);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-note {
  font-size: 0.82rem;
  color: var(--mute);
  margin: 0;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
}
.success {
  display: none;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--copper);
  background: var(--copper-wash);
}
.success.is-on { display: block; }
.success h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
form.is-sent { display: none; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--graphite);
  color: #d8d4cc;
  padding: 2.8rem 0 2.2rem;
  font-size: 0.88rem;
}
.site-footer a { color: #e6ecea; }
.site-footer a:hover { color: var(--white); }
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}
.foot-brand {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--paper);
  letter-spacing: -0.03em;
}
.foot-brand span {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9a958c;
  margin-top: 0.35rem;
  font-weight: 500;
}
.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a958c;
  font-weight: 600;
  margin-bottom: 0.7rem;
}
.site-footer p { margin: 0 0 0.4rem; }
.foot-legal {
  margin-top: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid #3a3a38;
  color: #8c877e;
  font-size: 0.78rem;
}

/* ---------- FAQ ---------- */
.gyik { background: var(--paper); }
.faq {
  margin: 0;
  border-top: 1px solid var(--rule);
}
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.05rem 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--graphite);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 400;
  color: var(--copper);
  font-size: 1.1rem;
}
.faq details[open] summary::after { content: "–"; }
.faq .ans {
  padding: 0 0 1.2rem;
  max-width: 40rem;
  color: var(--ink);
  margin: 0;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid,
  .aud-grid,
  .iroda-grid,
  .form-grid,
  .svc,
  .foot-grid,
  .ref-item,
  .proc > li,
  .section-head {
    grid-template-columns: 1fr;
  }
  .aud-rule { display: none; }
  .aud-card + .aud-card {
    margin-top: 2.2rem;
    padding-top: 2.2rem;
    border-top: 1px solid var(--rule);
  }
  .hero-index {
    border-left: 0;
    border-top: 1px solid var(--rule);
    padding: 1.4rem 0 0;
    margin-top: 0.4rem;
  }
  .hero-index ol { gap: 0; }
  .section-head .lede,
  .section-head h2 { grid-column: 1; }
  .sec-n { padding-top: 0; }
  .proc::before { left: 1.15rem; }
  .proc > li { grid-template-columns: 3.2rem 1fr; }
  .proc h3 { grid-column: 2; }
  .proc p { grid-column: 2; }
  .svc dt { padding-bottom: 0.2rem; border-bottom: 0; }
  .svc dd { padding-top: 0.3rem; }
  .photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }
  .photo-grid figure:first-child { grid-row: auto; }
  .photo-grid figure:first-child,
  .photo-grid figure:not(:first-child) { min-height: 0; }
  .photo-grid img { aspect-ratio: 640 / 860; }
  .ref-item figure { max-width: 22rem; }
  .nav-main, .header-cta { display: none; }
  .nav-more { display: block; margin-left: auto; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.2rem); }
  .brand-sub { display: none; }
}


/* Headless preview: ?shot=folyamat | ?shot=referenciak */
body.shot-folyamat .hero,
body.shot-folyamat .photos,
body.shot-folyamat .audiences,
body.shot-folyamat .refs { display: none; }
body.shot-referenciak .hero,
body.shot-referenciak .photos,
body.shot-referenciak .audiences { display: none; }
