:root {
  --bg: #0c0c0b;
  --bg-elevated: #151513;
  --bg-soft: #1c1c19;
  --ink: #f4f1ea;
  --ink-muted: #b7b2a6;
  --ink-dim: #8a857a;
  --line: rgba(244, 241, 234, 0.12);
  --accent: #c4a574;
  --accent-soft: rgba(196, 165, 116, 0.18);
  --wood: #b08a5a;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --font-accent: "Josefin Sans", "Segoe UI", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3.5rem;
  --space-xl: 6.5rem;
  --space-2xl: 9rem;
  --max: 82.5rem;
  --header-h: 4.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(196, 165, 116, 0.08), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(176, 138, 90, 0.05), transparent 50%),
    var(--bg);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--accent); }

.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: 1rem; top: -4rem; z-index: 1000;
  padding: 0.75rem 1rem; background: var(--accent); color: #111; font-weight: 500;
}
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(12, 12, 11, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header__inner {
  width: min(100% - 2rem, var(--max)); margin-inline: auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand__logo {
  display: block;
  height: calc(var(--header-h) - 30px); /* 15px fent + 15px lent */
  width: auto;
  max-width: min(220px, 48vw);
  object-fit: contain;
  border-radius: 0;
}
.nav__list {
  list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.5rem;
}
.nav__list a {
  text-decoration: none; font-size: 0.82rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-muted); transition: color 0.25s var(--ease);
}
.nav__list a:hover, .nav__list a:focus-visible { color: var(--ink); }
.nav__cta { padding: 0.7rem 1.1rem; border: 1px solid var(--accent); color: var(--accent) !important; }
.nav__cta:hover { background: var(--accent-soft); }
.nav__toggle {
  display: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer; place-items: center;
}
.nav__toggle-lines,
.nav__toggle-lines::before,
.nav__toggle-lines::after {
  display: block; width: 1.15rem; height: 1px; background: currentColor; position: relative;
  transition: transform 0.3s var(--ease);
}
.nav__toggle-lines::before, .nav__toggle-lines::after { content: ""; position: absolute; left: 0; }
.nav__toggle-lines::before { top: -6px; }
.nav__toggle-lines::after { top: 6px; }
.nav.is-open .nav__toggle-lines { background: transparent; }
.nav.is-open .nav__toggle-lines::before { top: 0; transform: rotate(45deg); }
.nav.is-open .nav__toggle-lines::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative; min-height: 100svh; display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12, 12, 11, 0.35) 0%, rgba(12, 12, 11, 0.15) 35%, rgba(12, 12, 11, 0.82) 78%, rgba(12, 12, 11, 0.96) 100%),
    linear-gradient(90deg, rgba(12, 12, 11, 0.55) 0%, rgba(12, 12, 11, 0.1) 55%, transparent 100%);
}
.hero__content {
  width: min(100% - 1.5rem, var(--max)); margin: 0 auto;
  padding: calc(var(--header-h) + 2.25rem) 0 3.25rem;
}
@media (min-width: 768px) {
  .hero__content {
    width: min(100% - 2rem, var(--max));
    padding: calc(var(--header-h) + 3rem) 0 4.5rem;
  }
}
.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 11vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem; font-weight: 500;
  opacity: 0; animation: rise 1.1s var(--ease) 0.15s forwards;
}
@media (min-width: 768px) {
  .hero__brand { letter-spacing: 0.14em; margin-bottom: 1.25rem; }
}
.hero__title {
  margin: 0 0 1rem; font-family: var(--font-display);
  font-weight: 400;
  /* Fluid: egy sor tablet+/desktopon; mobilon olvasható 2 sor */
  font-size: clamp(1.35rem, 0.55rem + 3.6vw, 2.35rem);
  line-height: 1.22; color: var(--ink);
  max-width: 22em;
  opacity: 0; animation: rise 1.1s var(--ease) 0.35s forwards;
}
@media (min-width: 480px) {
  .hero__title {
    white-space: nowrap;
    max-width: none;
    font-size: clamp(1.35rem, 0.7rem + 2.4vw, 2.35rem);
  }
}
@media (max-width: 479px) {
  .hero__title {
    white-space: normal;
    max-width: 14em;
  }
}
.hero__lead {
  max-width: 38ch; margin: 0 0 1.75rem; color: var(--ink-muted);
  font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.05rem);
  opacity: 0; animation: rise 1.1s var(--ease) 0.5s forwards;
}
@media (max-width: 479px) {
  .hero__lead { max-width: none; }
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  opacity: 0; animation: rise 1.1s var(--ease) 0.65s forwards;
}
@media (max-width: 479px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem;
  padding: 0.85rem 1.4rem; border: 1px solid transparent; text-decoration: none;
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #14120f; }
.btn--primary:hover { background: #d4b687; color: #14120f; }
.btn--ghost { border-color: rgba(244, 241, 234, 0.35); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.section { padding: var(--space-xl) 0; }
.section--tight { padding: var(--space-lg) 0; }
.section__inner { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.section__label {
  margin: 0 0 0.85rem; font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--accent);
}
.section__cta {
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.section__title {
  margin: 0 0 1.25rem; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.65rem, 1.1rem + 2.2vw, 3.1rem); line-height: 1.2; letter-spacing: 0.02em;
  max-width: min(100%, 28em);
}
@media (max-width: 767px) {
  .section { padding: clamp(3rem, 10vw, 4.5rem) 0; }
  .section__inner { width: min(100% - 1.5rem, var(--max)); }
  .section__title { max-width: none; }
  .section__text { max-width: none; }
  .specs { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .gallery__item img { max-height: none; }
  .beyond__content { width: min(100% - 1.5rem, 44rem); padding: clamp(3.5rem, 14vw, 6rem) 0; }
  .pillars { gap: 0.5rem; }
  .pillars li { font-size: 0.65rem; padding: 0.45rem 0.7rem; }
  .site-footer { padding-top: clamp(3rem, 10vw, 5rem); }
  .site-footer__inner { width: min(100% - 1.5rem, var(--max)); gap: 2rem; }
  .site-footer__bottom { width: min(100% - 1.5rem, var(--max)); flex-direction: column; align-items: flex-start; }
}
.section__text { margin: 0; max-width: 52ch; color: var(--ink-muted); }
.section__text + .section__text { margin-top: 1rem; }

.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .split--reverse > :first-child { order: 2; }
  .split--match { align-items: center; }
}

.media-frame {
  position: relative; overflow: hidden; background: var(--bg-soft); aspect-ratio: 4 / 5;
}
.media-frame--fill {
  aspect-ratio: auto;
  width: fit-content;
  max-width: 100%;
  max-height: 600px;
  margin-inline: auto;
}
.media-frame--fill img {
  width: auto;
  height: auto;
  max-height: 600px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.media-frame--wide { aspect-ratio: 16 / 10; }
.media-frame--atmosphere {
  aspect-ratio: 4 / 5;
  max-height: min(36rem, 72vh);
}
.media-frame--portrait { aspect-ratio: 4 / 5; max-height: 36rem; }
.media-frame--portrait img { object-fit: cover; width: 100%; height: 100%; }
.media-frame img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease);
}
.media-frame:hover img { transform: scale(1.03); }

.concept {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 28, 25, 0.55), rgba(12, 12, 11, 0.2));
}
.concept__grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) {
  .concept__grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.concept__item h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.concept__item p { margin: 0; color: var(--ink-muted); font-size: 0.98rem; }

.adv-list {
  list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.1rem;
}
.adv-list li { padding-top: 1.1rem; border-top: 1px solid var(--line); }
.adv-list strong {
  display: block; margin-bottom: 0.35rem;
  font-family: var(--font-accent);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.adv-list span { color: var(--ink-muted); font-size: 0.98rem; }

.specs {
  display: grid; gap: 1rem; margin-top: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 700px) {
  .specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.spec { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.spec dt {
  margin: 0 0 0.35rem; font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-dim);
}
.spec dd {
  margin: 0;
  font-family: var(--font-accent);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}
@media (min-width: 700px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
  }
}
@media (min-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}
.gallery__item {
  margin: 0;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4 / 3;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.4s var(--ease);
}
.gallery__item:hover img { transform: scale(1.035); }

.beyond { position: relative; overflow: hidden; isolation: isolate; }
.beyond__bg { position: absolute; inset: 0; z-index: -1; }
.beyond__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  filter: contrast(1.14) saturate(1.08) brightness(0.78);
}
.beyond__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(12, 12, 11, 0.18) 0%, rgba(12, 12, 11, 0.55) 58%, rgba(12, 12, 11, 0.82) 100%),
    linear-gradient(180deg, rgba(12, 12, 11, 0.45) 0%, rgba(12, 12, 11, 0.28) 40%, rgba(12, 12, 11, 0.62) 100%);
}
.beyond__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.42;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}
.beyond__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 44rem); margin-inline: auto;
  padding: var(--space-2xl) 0; text-align: center;
}
.beyond__content .section__title { max-width: none; margin-inline: auto; }
.beyond__content .section__text { margin-inline: auto; }
.pillars {
  margin: 2rem 0 0; padding: 0; list-style: none; display: flex;
  flex-wrap: wrap; justify-content: center; gap: 0.65rem;
}
.pillars li {
  padding: 0.55rem 0.9rem; border: 1px solid var(--line); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted);
}

.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 2.5rem; border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500;
}
.legal {
  width: min(100% - 2rem, 46rem); margin: 0 auto; padding: var(--space-lg) 0 var(--space-xl);
}
.legal h2 {
  margin: 2.25rem 0 0.75rem; font-family: var(--font-display); font-size: 1.75rem; font-weight: 500;
}
.legal p, .legal li, .legal dd { color: var(--ink-muted); }
.legal ul { padding-left: 1.1rem; }
.legal dt { color: var(--ink); font-weight: 500; margin-top: 1rem; }
.legal dd { margin: 0.25rem 0 0; }

.site-footer {
  border-top: 1px solid var(--line); background: #090908; padding-top: var(--space-xl);
}
.site-footer__inner {
  width: min(100% - 2rem, var(--max)); margin-inline: auto; display: grid; gap: 2.5rem;
}
@media (min-width: 900px) {
  .site-footer__inner { grid-template-columns: 1fr 1.1fr; align-items: start; }
}
.site-footer__brand img { width: 7rem; margin-bottom: 1rem; }
.site-footer__tagline {
  margin: 0; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.3; max-width: 16ch;
}
.footer-heading {
  margin: 0 0 0.85rem; font-family: var(--font-display); font-size: 2rem; font-weight: 500;
}
.site-footer__cta p { margin: 0 0 1.25rem; color: var(--ink-muted); max-width: 38ch; }
.site-footer__contact-lines { margin-bottom: 1.25rem !important; }
.site-footer__contact-lines a { text-decoration: none; }
.site-footer__meta p { margin: 0 0 0.35rem; color: var(--ink-muted); font-size: 0.95rem; }
.site-footer__bottom {
  width: min(100% - 2rem, var(--max)); margin: 3rem auto 0; padding: 1.25rem 0 1.75rem;
  border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: flex-end; align-items: center; color: var(--ink-dim); font-size: 0.88rem;
}
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a {
  text-decoration: none; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem;
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@media (max-width: 860px) {
  .nav__toggle { display: grid; }
  .nav__panel {
    position: fixed; inset: var(--header-h) 0 auto; background: rgba(12, 12, 11, 0.96);
    border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    max-height: calc(100svh - var(--header-h)); overflow: auto;
  }
  .nav.is-open .nav__panel { transform: none; opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .nav__cta { width: 100%; text-align: center; }
}

/* Tablet: címek egy sorban, kényelmes tipográfia */
@media (min-width: 480px) and (max-width: 1023px) {
  .hero__title {
    white-space: nowrap;
    font-size: clamp(1.4rem, 2.6vw + 0.55rem, 2.1rem);
  }
  .section__title {
    font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.55rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
