:root {
  --ink: #07090f;
  --ink-soft: #0b1b27;
  --red: #e63212;
  --orange: #ff6a00;
  --gold: #ffb321;
  --cyan: #16b8d4;
  --paper: #f4f1ea;
  --muted: #9aa8b4;
  --line: rgba(244, 241, 234, 0.2);
  --font-ui: "Segoe UI", Arial, sans-serif;
  --font-body: "Segoe UI", Arial, sans-serif;
  --font-marker: "Segoe Print", "Comic Sans MS", cursive;
  --shell: min(1280px, calc(100vw - 80px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  scrollbar-color: var(--orange) var(--ink);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
}

.skip-link:focus {
  transform: none;
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: 28px;
  bottom: 28px;
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--orange);
  border-radius: 50%;
  background: var(--orange);
  color: var(--ink);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  visibility: hidden;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--paper);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 0;
  width: 100%;
  pointer-events: none;
  transition: transform 180ms ease;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100vw - 48px));
  height: 80px;
  margin: 0 auto;
  padding: 0 30px;
  border: 1px solid rgba(244, 241, 234, 0.18);
  border-radius: 999px;
  background: rgba(7, 9, 15, 0.94);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  pointer-events: auto;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled .desktop-nav {
  background: rgba(7, 9, 15, 0.98);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
}

.desktop-nav a {
  padding: 28px 16px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.desktop-nav .nav-logo {
  display: inline-flex;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-right: 12px;
}

.desktop-nav .nav-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--orange);
}

.desktop-nav > span {
  color: var(--orange);
  font-family: var(--font-marker);
  transform: rotate(10deg);
}

.mobile-brand,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background: var(--ink);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(7, 9, 15, 0.92) 0%, rgba(7, 9, 15, 0.72) 42%, rgba(7, 9, 15, 0.18) 78%), linear-gradient(transparent 52%, rgba(7, 9, 15, 0.86));
}

.hero::after {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 22%;
  content: "";
  background: linear-gradient(transparent, var(--ink));
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
  filter: contrast(1.03);
}

.hero-copy {
  z-index: 2;
  width: var(--shell);
  padding-top: 112px;
}

.hero-copy h1,
.section-heading h2,
.contact-title h2 {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.04;
  text-transform: uppercase;
}

.hero-copy h1 {
  max-width: 820px;
  font-size: clamp(58px, 6vw, 96px);
  text-shadow: 0 3px 0 rgba(7, 9, 15, 0.7), 0 8px 28px rgba(7, 9, 15, 0.96);
}

.hero-copy h1 span,
.section-heading h2 span,
.contact-title h2 span {
  position: relative;
  display: inline-block;
  color: var(--paper);
}

.hero-copy p {
  margin: 30px 0 30px;
  max-width: 560px;
  color: var(--paper);
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 650;
  line-height: 1.35;
  text-shadow: 0 3px 16px rgba(7, 9, 15, 0.95);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  position: relative;
  display: inline-flex;
  min-width: 180px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  overflow: hidden;
  border: 1px solid var(--orange);
  font-family: var(--font-ui);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button::before {
  position: absolute;
  z-index: -1;
  inset: -1px;
  content: "";
  transform: translateX(-102%);
  background: var(--orange);
  transition: transform 220ms ease;
}

.button:hover {
  border-color: var(--orange);
  color: var(--ink);
  transform: translateY(-3px);
}

.button:hover::before {
  transform: none;
}

.button-primary {
  z-index: 0;
  border: 0;
  background: var(--orange);
  color: var(--ink);
  clip-path: polygon(2% 5%, 98% 0, 100% 91%, 4% 100%);
}

.button-primary::before {
  background: var(--paper);
}

.button-ghost {
  z-index: 0;
  background: rgba(7, 9, 15, 0.45);
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  bottom: 34px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.hero-scroll span {
  width: 36px;
  height: 1px;
  background: var(--orange);
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.torn-section {
  position: relative;
  background: var(--ink-soft);
}

.torn-section::before {
  position: absolute;
  top: -28px;
  left: 0;
  width: 100%;
  height: 48px;
  content: "";
  background: var(--ink-soft);
  clip-path: polygon(0 48%, 6% 63%, 12% 42%, 19% 58%, 27% 30%, 35% 60%, 44% 37%, 52% 66%, 61% 38%, 70% 59%, 78% 31%, 87% 60%, 94% 38%, 100% 52%, 100% 100%, 0 100%);
}

.tour,
.members,
.gallery,
.contact {
  padding: 112px 0;
}

.section-heading {
  max-width: 880px;
}

.section-script {
  margin: 0 0 12px;
  color: var(--orange);
  font-family: var(--font-marker);
  font-size: clamp(19px, 1.7vw, 28px);
  line-height: 1.25;
  transform: rotate(-2deg);
}

.section-heading h2,
.contact-title h2 {
  font-size: clamp(42px, 4.2vw, 68px);
}

.tour-list {
  display: grid;
  gap: 0;
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.tour-card {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.tour-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.tour-card.is-next {
  margin-inline: -18px;
  padding-inline: 18px;
  border-color: rgba(255, 106, 0, 0.65);
  background: linear-gradient(90deg, rgba(255, 106, 0, 0.2), rgba(255, 106, 0, 0.03));
  box-shadow: inset 4px 0 var(--orange);
}

.tour-card.is-next time span {
  color: var(--orange);
}

.tour-card time {
  display: grid;
  gap: 2px;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.tour-card time span {
  color: var(--paper);
  font-size: 42px;
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.tour-card p,
.tour-card h3 {
  margin: 0;
}

.tour-card p {
  color: var(--orange);
  font-family: var(--font-marker);
  font-size: 16px;
}

.tour-card h3 {
  font-family: var(--font-ui);
  font-size: clamp(20px, 2.2vw, 29px);
  letter-spacing: -0.04em;
}

.tour-card [data-tour-status] {
  padding: 7px 10px;
  border: 1px solid rgba(255, 106, 0, 0.45);
  color: var(--orange);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tour-ticket-link {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 106, 0, 0.55);
  color: var(--orange);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.tour-ticket-link[hidden] {
  display: none;
}

.tour-ticket-link:hover,
.tour-ticket-link:focus-visible {
  background: var(--orange);
  color: var(--ink);
  transform: translateY(-2px);
}

.tour-ticket-link i {
  font-size: 16px;
}

.tour-card.is-next [data-tour-status] {
  border-color: var(--orange);
  background: var(--orange);
  color: var(--ink);
}

.tour-card.is-next [data-tour-status]::before {
  content: "Következő · ";
}

.tour-empty-state {
  margin: 32px 0 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--orange);
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.text-link svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.text-link:hover svg {
  transform: translateX(5px);
}

.members {
  padding-bottom: 124px;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 180px));
  max-width: 1200px;
  align-items: start;
  justify-content: center;
  justify-items: center;
  column-gap: 28px;
  row-gap: 34px;
  margin: 76px auto 64px;
}

.member-card {
  position: relative;
  width: min(100%, 180px);
  min-width: 0;
}

.member-card:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
}

.member-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 234, 0.32);
  background-image: url("assets/members.jpg");
  background-repeat: no-repeat;
  background-size: 600% auto;
  filter: saturate(0.82);
  clip-path: polygon(3% 1%, 98% 0, 100% 97%, 1% 100%);
  transition: filter 220ms ease, transform 220ms ease;
}

.member-card:hover .member-photo {
  filter: saturate(1);
  transform: translateY(-4px);
}

.member-1 { background-position: 0% 24%; }
.member-2 { background-position: 20% 24%; }
.member-3 { background-position: 40% 24%; }
.member-4 { background-position: 60% 24%; }
.member-5 { background-position: 80% 24%; }
.member-6 { background-position: 100% 24%; }

.member-index {
  position: absolute;
  z-index: 2;
  top: -26px;
  left: -3px;
  color: var(--orange);
  font-family: var(--font-marker);
  font-size: 52px;
  line-height: 1;
  text-shadow: 2px 2px var(--ink);
  transform: rotate(-5deg);
}

.member-card h3 {
  margin: 15px 0 3px;
  font-family: var(--font-ui);
  font-size: clamp(18px, 1.55vw, 21px);
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: uppercase;
}

.member-card p {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-transform: uppercase;
}

.gallery {
  position: relative;
  overflow: hidden;
}

.gallery > .section-heading {
  width: var(--shell);
  max-width: none;
  margin: 0 auto 66px;
}

.gallery-slider {
  position: relative;
  padding-bottom: 62px;
}

.gallery-viewport {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-inline: calc((100vw - min(48vw, 760px)) / 2);
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  position: relative;
  flex: 0 0 min(48vw, 760px);
  margin: 0;
  overflow: hidden;
  opacity: 0.52;
  scroll-snap-align: center;
  clip-path: polygon(1.5% 0, 99% 1.5%, 100% 97%, 0 100%);
  transform: scale(0.96);
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-slide::after {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(244, 241, 234, 0.35);
  content: "";
  pointer-events: none;
}

.gallery-slide.is-active {
  opacity: 1;
  transform: none;
}

.gallery-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery-slide figcaption {
  position: absolute;
  right: 28px;
  bottom: 22px;
  padding: 8px 14px;
  background: rgba(7, 9, 15, 0.75);
  font-family: var(--font-marker);
  font-size: 17px;
  transform: rotate(-2deg);
}

.gallery-arrow {
  position: absolute;
  z-index: 4;
  top: 42%;
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid var(--orange);
  border-radius: 50%;
  background: rgba(7, 9, 15, 0.82);
  cursor: pointer;
  place-items: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.gallery-arrow:hover {
  background: var(--orange);
  color: var(--ink);
  transform: scale(1.08);
}

.gallery-arrow svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.gallery-prev { left: calc(50% - min(24vw, 380px) - 72px); }
.gallery-next { right: calc(50% - min(24vw, 380px) - 72px); }

.gallery-progress {
  position: absolute;
  right: auto;
  bottom: 24px;
  left: 50%;
  display: grid;
  width: min(340px, 38vw);
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  transform: translateX(-50%);
}

.gallery-progress button {
  height: 3px;
  padding: 0;
  border: 0;
  background: rgba(244, 241, 234, 0.2);
  cursor: pointer;
}

.gallery-progress button[aria-current="true"] {
  background: var(--orange);
}

.gallery-status {
  position: absolute;
  right: calc(50% - min(170px, 19vw) - 48px);
  bottom: 12px;
  margin: 0;
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 800;
}

.contact {
  padding-bottom: 110px;
}

.member-bio {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.gallery-empty-state {
  margin: 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 1fr;
  align-items: center;
  gap: 54px;
}

.contact-title h2 {
  font-size: clamp(46px, 4.8vw, 76px);
}

.contact-lead {
  margin: 0;
  color: var(--muted);
  font-family: var(--font-marker);
  font-size: clamp(24px, 2.8vw, 42px);
  line-height: 1.35;
  transform: rotate(-3deg);
}

.contact-lead em {
  color: var(--orange);
  font-style: normal;
}

.contact-details {
  display: grid;
  gap: 20px;
  padding-left: 34px;
  border-left: 2px solid var(--orange);
}

.contact-details a,
.contact-details p {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-family: var(--font-ui);
  font-size: clamp(15px, 1.35vw, 21px);
  font-weight: 800;
}

.contact-details a:hover {
  color: var(--orange);
}

.contact-details svg {
  flex: 0 0 26px;
  width: 26px;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.contact-details span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-actions {
  grid-column: 3;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 38px max(40px, calc((100vw - 1280px) / 2));
  border-top: 1px solid var(--line);
  background: #040509;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-brand span {
  color: var(--orange);
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer nav a {
  color: var(--muted);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer nav a:hover {
  color: var(--paper);
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  color: var(--orange);
  font-family: var(--font-ui);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-social svg {
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  fill: currentColor;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: #687784;
  font-size: 13px;
  text-align: center;
}

.footer-credit {
  grid-column: 1 / -1;
  justify-self: center;
  margin: -16px 0 0;
  padding: 5px 10px;
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-credit a {
  color: var(--paper);
}

@media (max-width: 1100px) {
  :root {
    --shell: min(920px, calc(100vw - 48px));
  }

  .desktop-nav a:not(.nav-logo) {
    padding-inline: 10px;
  }

  .member-grid {
    column-gap: 24px;
    row-gap: 30px;
  }

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

  .contact-title {
    grid-row: span 2;
  }

  .contact-actions {
    grid-column: 2;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer nav {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --shell: calc(100vw - 36px);
  }

  html {
    scroll-padding-top: 24px;
    scroll-padding-bottom: 82px;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
    font-size: 16px;
  }

  .site-header {
    top: 10px;
    height: 112px;
    pointer-events: none;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-brand {
    display: block;
    width: 92px;
    height: 92px;
    margin: 0 auto;
    pointer-events: auto;
  }

  .mobile-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .mobile-nav {
    position: fixed;
    z-index: 100;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: 8px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    min-height: 66px;
    padding-inline: 10px;
    overflow: hidden;
    border: 1px solid rgba(244, 241, 234, 0.15);
    border-radius: 18px;
    background: rgba(7, 9, 15, 0.94);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
  }

  .mobile-nav a {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 62px;
    align-content: center;
    justify-items: center;
    gap: 0;
    color: var(--muted);
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .mobile-nav a::before {
    position: absolute;
    top: 0;
    right: 18%;
    left: 18%;
    height: 2px;
    content: "";
    transform: scaleX(0);
    background: var(--orange);
    transition: transform 180ms ease;
  }

  .mobile-nav a[aria-current="page"] {
    color: var(--paper);
  }

  .mobile-nav a[aria-current="page"]::before {
    transform: scaleX(1);
  }

  .mobile-nav svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  .hero {
    min-height: 780px;
    align-items: end;
  }

  .hero::before {
    position: absolute;
    z-index: 1;
    inset: 34% 0 0;
    content: "";
    background: linear-gradient(transparent, var(--ink) 55%);
  }

  .hero-media {
    height: 62%;
    object-position: 50% center;
  }

  .hero-copy {
    align-self: end;
    padding: 0 0 120px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(48px, 13vw, 68px);
    line-height: 1.06;
  }

  .hero-copy p {
    margin: 30px 0 26px;
    font-size: 18px;
  }

  .hero-actions {
    gap: 10px;
  }

  .button {
    min-width: 0;
    min-height: 52px;
    padding-inline: 22px;
    font-size: 17px;
  }

  .hero-scroll {
    display: none;
  }

  .tour,
  .members,
  .gallery,
  .contact {
    padding: 82px 0;
  }

  .section-heading h2,
  .contact-title h2 {
    font-size: clamp(38px, 10.5vw, 54px);
    line-height: 1.08;
  }

  .section-script {
    font-size: 20px;
  }

  .tour-list {
    margin-top: 40px;
  }

  .tour-card {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    padding: 20px 0;
  }

  .tour-card time span {
    font-size: 32px;
  }

  .tour-card p {
    font-size: 14px;
  }

  .tour-card h3 {
    font-size: 19px;
    line-height: 1.18;
  }

  .tour-card [data-tour-status] {
    grid-column: 2;
    justify-self: start;
  }

  .tour-actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .member-grid {
    grid-template-columns: 1fr;
    max-width: 220px;
    gap: 42px;
    margin-top: 72px;
  }

  .member-card {
    width: 100%;
    grid-column: auto;
    grid-row: auto;
    order: initial !important;
    transform: none !important;
  }

  .member-photo {
    aspect-ratio: 3 / 4;
  }

  .member-index {
    top: -20px;
    font-size: 39px;
  }

  .member-card h3 {
    margin-top: 14px;
    font-size: 18px;
  }

  .member-card p {
    font-size: 13px;
  }

  .gallery-track {
    gap: 14px;
    padding-inline: 9vw;
  }

  .gallery > .section-heading {
    margin-bottom: 44px;
  }

  .gallery-slide {
    flex-basis: 82vw;
  }

  .gallery-slide figcaption {
    right: 14px;
    bottom: 12px;
    font-size: 13px;
  }

  .gallery-arrow {
    top: auto;
    bottom: 0;
    width: 48px;
    height: 48px;
  }

  .gallery-prev {
    left: 6vw;
  }

  .gallery-next {
    right: 6vw;
  }

  .gallery-progress {
    right: auto;
    bottom: 21px;
    left: 50%;
    width: min(240px, 42vw);
  }

  .gallery-status {
    display: none;
  }

  .back-to-top {
    display: none;
  }

  .contact-layout {
    display: block;
  }

  .contact-lead {
    margin: 42px 0;
  }

  .contact-details {
    margin-bottom: 34px;
    padding-left: 20px;
  }

  .contact-details a,
  .contact-details p {
    font-size: 16px;
  }

  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 34px 18px 42px;
  }

  .footer-social {
    justify-self: auto;
  }

  .copyright {
    align-self: stretch;
    text-align: left;
  }

  .footer-credit {
    align-self: flex-start;
    margin-top: -14px;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 790px;
  }

  .hero-copy h1 {
    font-size: 12.7vw;
  }

  .button {
    padding-inline: 18px;
  }

  .member-card h3 {
    font-size: 18px;
  }

  .member-card p {
    font-size: 14px;
  }

}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}
/* A PNG logó átlátszó széleinél is tisztán, kellő méretben marad látható. */
.footer-brand img {
  width: 96px;
  height: 96px;
}

/* Mobil finomhangolások: a tagkártyák kihasználják a kijelző szélességét,
   az alsó navigáció öt ikonja pedig azonos oszlopot kap. */
@media (max-width: 768px) {
  #members .section-shell {
    width: calc(100% - 28px);
  }

  .member-grid {
    width: 100%;
    max-width: none;
  }

  .member-card {
    width: 100%;
  }

  .footer-brand img {
    width: 116px;
    height: 116px;
  }
}
