:root {
  --cream: #ebe3d4;
  --fog: #c5cdd4;
  --fog-deep: #9aa6b0;
  --ink: #141414;
  --ink-soft: #3a3a3a;
  --wood: #6e4a32;
  --wood-soft: #8b6348;
  --felt: #3f5a40;
  --felt-bright: #4d6e4e;
  --felt-glow: rgba(63, 90, 64, 0.45);
  --amber: #c48a3a;
  --amber-soft: rgba(196, 138, 58, 0.35);
  --paper: #f7f3ec;
  --paper-deep: #efe8dc;
  --line: rgba(20, 20, 20, 0.12);
  --footer-bg: #1c1814;
  --footer-ink: #d8cfc2;

  --font-brand: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, sans-serif;

  --space: clamp(1.25rem, 3vw, 2.5rem);
  --measure: 40rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(207, 214, 221, 0.35), transparent 55%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--felt);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--felt-bright);
}

a:focus-visible,
.btn:focus-visible,
button:focus-visible {
  outline: 2px solid var(--felt);
  outline-offset: 3px;
}

button.btn {
  cursor: pointer;
  appearance: none;
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  padding: 0.5rem 0.85rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  border-radius: 0.25rem;
}

.skip-link:focus {
  top: 1rem;
}

/* —— Hero (scroll-scrub, Tokyo-skyline technique → társas theme) —— */
.hero {
  position: relative;
  height: 100svh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--space);
  overflow: hidden;
  background: linear-gradient(168deg, #c8d0d7 0%, #e6e1d7 38%, #dccfbc 78%, #cbb89e 100%);
}

.hero.is-unlocked {
  /* After scrub completes, hero stays as viewport card while page scrolls */
  position: relative;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-aurora {
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 18% 28%, rgba(63, 90, 64, 0.32), transparent 62%),
    radial-gradient(ellipse 42% 34% at 82% 22%, rgba(196, 138, 58, 0.24), transparent 58%),
    radial-gradient(ellipse 55% 45% at 48% 88%, rgba(110, 74, 50, 0.22), transparent 62%);
  filter: blur(10px);
  animation: aurora-drift 16s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.16;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.hero-spotlight {
  position: absolute;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 248, 235, 0.58) 0%, transparent 68%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 36%;
  opacity: 0.72;
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 65% at 50% 42%, transparent 40%, rgba(20, 20, 20, 0.12) 100%);
}

.scrub-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 6% 8vh;
  text-align: center;
  pointer-events: none;
}

.scrub-intro {
  gap: 0.85rem;
  opacity: 1;
}

.scrub-slogan-stack {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 4.2em;
  width: min(100%, 26rem);
}

.scrub-slogan {
  grid-area: 1 / 1;
  margin: 0;
  max-width: 26rem;
  font-family: var(--font-brand);
  font-size: clamp(1.55rem, 5.2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-shadow: 0 2px 24px rgba(244, 241, 235, 0.55);
  opacity: 0;
}

.scrub-slogan-b {
  /* stacked in same cell */
}

.scrub-brand {
  z-index: 3;
  opacity: 0;
  gap: 0.35rem;
}

.brand-odu {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.02em;
  font-family: var(--font-brand);
  font-weight: 700;
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.brand-o {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(4.6rem, 18vw, 8.5rem);
  height: clamp(4.6rem, 18vw, 8.5rem);
  flex-shrink: 0;
  border-radius: 50%;
  opacity: 0;
  box-shadow:
    0 14px 40px rgba(20, 20, 20, 0.22),
    0 0 0 5px rgba(244, 241, 235, 0.55);
}

.brand-o-logo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.brand-letter-match {
  display: inline-block;
  font-size: clamp(5.2rem, 22vw, 10rem);
  font-weight: 700;
  line-height: 0.8;
  color: var(--ink);
  opacity: 0;
  text-shadow: 0 3px 0 rgba(255, 248, 235, 0.4);
}

.brand-d {
  margin-left: -0.04em;
  transform-origin: left bottom;
}

.brand-u {
  margin-left: -0.06em;
  color: var(--wood);
  transform-origin: left bottom;
}

.brand-sub {
  margin: 0.15rem 0 0;
  font-family: var(--font-brand);
  font-size: clamp(1.15rem, 3.2vw, 1.55rem);
  font-weight: 600;
  color: var(--wood);
  letter-spacing: 0.02em;
  opacity: 0;
}

.scrub-cta {
  z-index: 4;
  justify-content: flex-end;
  padding-bottom: clamp(4.5rem, 12vh, 7rem);
  opacity: 0;
  pointer-events: none;
}

.scrub-cta.is-interactive {
  pointer-events: auto;
}

.scrub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin: 0;
}

.scrub-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(1.4rem, 5vh, 2.6rem);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(20, 20, 20, 0.55);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.scrub-hint svg {
  animation: scrub-bounce 1.6s ease-in-out infinite;
}

.scrub-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  height: 3px;
  background: rgba(20, 20, 20, 0.1);
}

.scrub-progress-bar {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--felt), var(--amber));
  transform: scaleX(0);
  transform-origin: left center;
}

@keyframes scrub-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.45;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
  }
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.95rem;
  padding: 0.62rem 1.45rem;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn-primary {
  color: var(--cream);
  background: var(--felt);
  border-color: var(--felt);
  box-shadow: 0 10px 28px var(--felt-glow);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn-primary:hover {
  background: var(--felt-bright);
  border-color: var(--felt-bright);
  color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(63, 90, 64, 0.4);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-ghost {
  color: var(--ink);
  background: rgba(244, 241, 235, 0.58);
  border-color: rgba(20, 20, 20, 0.5);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* —— Sections —— */
.section {
  position: relative;
  padding: calc(var(--space) * 2.6) var(--space);
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(221, 228, 233, 0.92) 0%, rgba(210, 218, 224, 0.97) 100%);
  border-block: 1px solid var(--line);
}

.section-inner {
  width: min(100%, var(--measure));
  margin-inline: auto;
}

.section-eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wood-soft);
}

.section h2,
.legal-inner h1 {
  margin: 0 0 1.15rem;
  font-family: var(--font-brand);
  font-size: clamp(1.95rem, 4.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
}

.section-lead {
  margin: 0 0 1.25rem !important;
  color: var(--ink-soft);
}

.prose-block {
  position: relative;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border-left: 3px solid var(--felt);
}

.prose-block p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.section p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.section p:last-child {
  margin-bottom: 0;
}

.facts {
  margin: 0;
  display: grid;
  gap: 1rem;
}

.fact {
  position: relative;
  padding: 1.15rem 1.2rem 1.15rem 1.35rem;
  border-radius: 0.2rem 0.85rem 0.85rem 0.2rem;
  background:
    linear-gradient(90deg, rgba(110, 74, 50, 0.12) 0 4px, transparent 4px),
    linear-gradient(165deg, rgba(255, 252, 246, 0.88), rgba(244, 241, 235, 0.72));
  border: 1px solid var(--line);
  border-left: none;
  box-shadow: 0 10px 28px rgba(20, 20, 20, 0.04);
}

.fact dt {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wood);
}

.fact dd {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
}

.fact-note {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-soft);
}

.map-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.map-embed {
  margin-top: 1.45rem;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(20, 20, 20, 0.07);
  background: #d8e0e6;
  aspect-ratio: 16 / 11;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.75rem;
  height: 100%;
  padding: 1.35rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 248, 235, 0.55), transparent 55%),
    linear-gradient(165deg, rgba(207, 214, 221, 0.92), rgba(232, 228, 220, 0.96)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 12px,
      rgba(20, 20, 20, 0.028) 12px,
      rgba(20, 20, 20, 0.028) 13px
    );
}

.map-pin {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50% 50% 50% 0;
  background: var(--felt);
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px var(--felt-glow);
}

.map-placeholder-address {
  margin: 0;
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
}

.map-placeholder-note {
  margin: 0;
  max-width: 24rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.map-embed.is-loaded .map-placeholder {
  display: none;
}

.note {
  margin-top: 1.35rem !important;
  font-size: 0.95rem;
  color: var(--fog-deep) !important;
}

.contact-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.contact-list li {
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 1.2rem 1.1rem 1.3rem;
  border-radius: 0.2rem 0.85rem 0.85rem 0.2rem;
  background:
    linear-gradient(90deg, rgba(63, 90, 64, 0.18) 0 4px, transparent 4px),
    rgba(255, 255, 255, 0.42);
  border: 1px solid var(--line);
  border-left: none;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wood);
}

.contact-value {
  font-weight: 500;
  font-size: 1.12rem;
  color: var(--ink);
  text-decoration: none;
}

.contact-value.is-muted {
  color: var(--fog-deep);
  font-style: italic;
  font-weight: 400;
}

a.contact-value:hover {
  color: var(--felt-bright);
  text-decoration: underline;
}

/* —— Footer (Large Name / Minimal hybrid, warm) —— */
.footer {
  position: relative;
  overflow: hidden;
  padding: calc(var(--space) * 2.2) var(--space) calc(var(--space) * 1.4);
  background:
    radial-gradient(ellipse 60% 80% at 80% 120%, rgba(63, 90, 64, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(196, 138, 58, 0.12), transparent 50%),
    linear-gradient(180deg, #241f1a 0%, var(--footer-bg) 100%);
  color: var(--footer-ink);
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 52rem);
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}

.footer-brand {
  display: grid;
  gap: 0.65rem;
  max-width: 26rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--cream);
  width: fit-content;
}

.footer-logo img {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.footer-wordmark {
  font-family: var(--font-brand);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

.footer-tagline {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(216, 207, 194, 0.82);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  align-items: center;
  padding-block: 0.35rem;
  border-block: 1px solid rgba(235, 227, 212, 0.14);
}

.footer-nav a {
  color: var(--cream);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-nav a[aria-current="page"] {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
  font-size: 0.88rem;
  color: rgba(216, 207, 194, 0.7);
}

.footer-meta a {
  color: var(--cream);
}

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

.footer-sep {
  opacity: 0.5;
}

.footer-giant {
  position: absolute;
  right: -0.05em;
  bottom: -0.32em;
  z-index: 0;
  margin: 0;
  font-family: var(--font-brand);
  font-size: clamp(5.5rem, 22vw, 11rem);
  font-weight: 700;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(235, 227, 212, 0.06);
  pointer-events: none;
  user-select: none;
}

/* —— Legal pages —— */
.page-legal {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.page-legal main {
  flex: 1;
}

.legal-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1rem var(--space);
  background: linear-gradient(165deg, #cfd6dd 0%, #e8e4dc 55%, #d9cbb8 100%);
  border-bottom: 1px solid var(--line);
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.legal-brand img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(20, 20, 20, 0.12);
}

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

.legal-back {
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.legal-inner h2 {
  margin: 1.85rem 0 0.7rem;
  font-family: var(--font-brand);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--wood);
}

.legal-list {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.legal-list li {
  margin-bottom: 0.85rem;
}

.legal-list li:last-child {
  margin-bottom: 0;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition:
    opacity 0.75s var(--ease-out),
    transform 0.75s var(--ease-out);
  transition-delay: calc(var(--delay, 0) * 0.09s);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes letter-in {
  from {
    opacity: 0;
    transform: translateY(0.65em) rotate(-5deg);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
    filter: blur(0);
  }
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.6rem);
  }
}

@keyframes halo-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes aurora-drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(3%, 2%, 0) scale(1.07);
  }
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  50% {
    transform: translateY(0.45rem);
    opacity: 1;
  }
}

@media (min-width: 720px) {
  .scrub-actions {
    gap: 1rem;
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }

  .footer-nav {
    justify-content: flex-end;
    border: 0;
    padding: 0.35rem 0 0;
  }

  .footer-meta {
    grid-column: 1 / -1;
  }
}

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

  .hero-aurora,
  .scrub-hint svg {
    animation: none !important;
  }

  .scrub-intro,
  .scrub-brand,
  .scrub-cta,
  .scrub-hint {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .scrub-brand {
    opacity: 1 !important;
  }

  .scrub-intro {
    opacity: 0 !important;
  }

  .scrub-cta {
    pointer-events: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn:hover {
    transform: none;
  }
}
