:root {
  --bg: #f4efe6;
  --bg-deep: #e8dcc8;
  --paper: #fbf7f0;
  --ink: #1c1814;
  --ink-soft: #5b5349;
  --gold: #b08948;
  --gold-soft: #c9a66b;
  --gold-pale: rgba(176, 137, 72, 0.16);
  --forest: #24352c;
  --forest-deep: #16221c;
  --sage: #6d8a72;
  --terracotta: #9a5a3d;
  --line: rgba(28, 24, 20, 0.1);
  --shadow: 0 18px 50px rgba(28, 24, 20, 0.12);
  --radius: 22px;
  --header-h: 82px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(176, 137, 72, 0.08) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.btn {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--forest-deep);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(1180px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 500;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1,
h2,
h3,
.logo-name {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
}

h3 {
  font-size: 1.45rem;
}

.lede {
  font-size: 1.12rem;
  color: var(--ink-soft);
  max-width: 38rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  background: var(--bg);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  background: #f4efe6;
  box-shadow: 0 8px 30px rgba(28, 24, 20, 0.08);
}

body {
  padding-top: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  min-height: var(--header-h);
  width: min(1180px, calc(100% - 2rem));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
}

.logo-mark {
  width: 42px;
  height: 42px;
  color: var(--gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}

.logo-sub {
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 0.22rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.55rem;
  margin-inline: auto;
}

.nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1c1814;
  box-shadow: 0 8px 20px rgba(176, 137, 72, 0.28);
}

.btn-gold:hover {
  box-shadow: 0 12px 28px rgba(176, 137, 72, 0.38);
}

.btn-ghost {
  background: transparent;
  color: #fbf7f0;
  border: 1px solid rgba(251, 247, 240, 0.35);
}

.btn-ghost:hover {
  background: rgba(251, 247, 240, 0.08);
}

.btn-dark {
  background: var(--forest);
  color: #fbf7f0;
}

.btn.nav-cta {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  position: absolute;
  left: 11px;
  transition: 0.25s var(--ease);
}

.menu-toggle span {
  top: 21px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  left: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

body.nav-open .menu-toggle span {
  background: transparent;
}

body.nav-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.nav-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  background: var(--forest-deep);
  color: #fbf7f0;
  isolation: isolate;
}

.hero-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  width: min(560px, calc(100% - 3.5rem));
  margin: auto auto auto 0;
  padding: 4.5rem 0 4.5rem 5vw;
}

@media (min-width: 981px) {
  .hero {
    height: calc(100svh - var(--header-h));
    min-height: 640px;
  }
}

.hero-content .eyebrow {
  color: var(--gold-soft);
}

.hero-content .eyebrow::before {
  background: var(--gold-soft);
}

.hero p {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  color: rgba(251, 247, 240, 0.82);
  max-width: 32rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(251, 247, 240, 0.16);
  font-size: 0.92rem;
  color: rgba(251, 247, 240, 0.78);
}

.hero-meta strong {
  display: block;
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
  scroll-margin-top: 90px;
}

.section-head {
  margin-bottom: 2.6rem;
}

.section-head p {
  margin-top: 0.9rem;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}

.about-copy p + p {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.about-visual {
  display: grid;
  gap: 1.25rem;
  position: relative;
}

.about-main {
  position: relative;
  margin: 0;
}

.about-main img,
.about-secondary {
  width: 100%;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-main img {
  height: 480px;
  object-position: center 22%;
}

.about-secondary {
  height: 260px;
  object-position: 38% 42%;
}

.about-badge {
  position: absolute;
  left: -1.4rem;
  bottom: 2rem;
  background: var(--paper);
  padding: 1.1rem 1.3rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  max-width: 220px;
}

.about-badge span {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.7rem;
  line-height: 1;
}

.about-badge small {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 3rem;
}

.pillar {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.6rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.pillar h3 {
  margin-bottom: 0.45rem;
}

.pillar p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Prices */
.prices {
  background: var(--forest-deep);
  color: #fbf7f0;
}

.prices .eyebrow {
  color: var(--gold-soft);
}

.prices .eyebrow::before {
  background: var(--gold-soft);
}

.prices .lede {
  color: rgba(251, 247, 240, 0.72);
}

.price-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.4rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.price-card,
.hours-card,
.pass-card {
  background: rgba(251, 247, 240, 0.04);
  border: 1px solid rgba(251, 247, 240, 0.1);
  border-radius: 20px;
  padding: 1.4rem;
}

.price-card {
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.price-card:hover {
  transform: translateY(-4px);
  background: rgba(251, 247, 240, 0.08);
}

.price-card.featured {
  background: linear-gradient(180deg, rgba(201, 166, 107, 0.18), rgba(201, 166, 107, 0.05));
  border-color: rgba(201, 166, 107, 0.45);
}

.price-mins {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.price-value {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  margin: 0.35rem 0 0.15rem;
}

.price-note {
  color: rgba(251, 247, 240, 0.6);
  font-size: 0.88rem;
}

.side-stack {
  display: grid;
  gap: 1rem;
}

.hours-card h3,
.pass-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(251, 247, 240, 0.1);
  font-size: 0.95rem;
}

.hours-row:last-of-type {
  border-bottom: 0;
}

.hours-row span:last-child {
  color: var(--gold-soft);
  text-align: right;
}

.cash-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: rgba(251, 247, 240, 0.7);
}

.pass-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pass-card h3 {
  text-align: center;
  width: 100%;
}

.info-list {
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  color: rgba(251, 247, 240, 0.82);
}

.info-list li {
  position: relative;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid rgba(251, 247, 240, 0.08);
  text-align: center;
}

.info-list li:last-child {
  border-bottom: 0;
}

.info-list li::before {
  display: none;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 210px;
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  cursor: zoom-in;
  border: 0;
  padding: 0;
  background: #d7cbb8;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.06);
}

.gallery-item.wide {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(22, 34, 28, 0.92);
  z-index: 80;
  display: none;
  place-items: center;
  padding: 2rem;
}

.lightbox.open {
  display: grid;
}

.lightbox img {
  max-width: min(920px, 100%);
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  background: rgba(251, 247, 240, 0.12);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
}

.lightbox-close {
  top: 1.2rem;
  right: 1.2rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-nav.prev {
  left: 1.2rem;
}

.lightbox-nav.next {
  right: 1.2rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.4rem;
}

.contact-card,
.map-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}

.contact-card {
  padding: 2rem;
}

.contact-list {
  list-style: none;
  margin-top: 1.4rem;
}

.contact-list li {
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.transit {
  margin-top: 1.4rem;
}

.transit h3 {
  margin-bottom: 0.7rem;
}

.transit ul {
  list-style: none;
  color: var(--ink-soft);
}

.transit li {
  padding: 0.4rem 0 0.4rem 1.1rem;
  position: relative;
}

.transit li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.85rem;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  filter: saturate(0.85) contrast(0.95);
}

.map-caption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Jobs */
.jobs {
  position: relative;
  overflow: hidden;
  background: #e8e0d2;
}

.jobs::before {
  content: "";
  position: absolute;
  inset: -28px;
  background: url("../images/mai-thai-jobroom.jpg") 45% 32% / cover no-repeat;
  filter: blur(16px);
  z-index: 0;
}

.jobs::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(244, 239, 230, 0.18), rgba(244, 239, 230, 0.84));
  z-index: 0;
  pointer-events: none;
}

.jobs .wrap {
  position: relative;
  z-index: 1;
}

.jobs-card {
  width: min(720px, 100%);
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(10px);
  border-radius: 28px;
  padding: 2.4rem;
  box-shadow: var(--shadow);
}

.thai-line {
  font-size: 1.05rem;
  color: var(--terracotta);
  margin: 1rem 0;
  line-height: 1.8;
}

/* Footer */
.site-footer {
  background: var(--forest-deep);
  color: rgba(251, 247, 240, 0.78);
  padding: 3.2rem 0 1.6rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(251, 247, 240, 0.1);
}

.site-footer .logo-name,
.site-footer .logo-sub {
  color: #fbf7f0;
}

.footer-col h3 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer-col a:hover {
  color: var(--gold-soft);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.2rem;
  font-size: 0.86rem;
}

.call-bar {
  display: none;
}

/* Impressum */
.legal-hero {
  padding: 4.5rem 0 2rem;
}

.legal-body {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 4rem;
}

.legal-body h2 {
  font-size: 1.35rem;
  margin: 1.8rem 0 0.6rem;
}

.legal-body p + p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
}

.legal-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem 1.5rem;
  margin: 1.2rem 0 0.4rem;
}

.legal-meta div {
  background: var(--bg);
  border-radius: 14px;
  padding: 0.9rem 1rem;
}

.legal-meta strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    height: auto;
  }

  .hero-media {
    min-height: 42vh;
    order: -1;
  }

  .hero-content {
    width: min(1180px, calc(100% - 2.4rem));
    margin: 0 auto;
    padding: 2rem 0 2.2rem;
  }

  .hero-inset,
  .about-secondary {
    display: none;
  }

  .logo {
    order: 1;
  }

  .menu-toggle {
    display: block;
    order: 2;
    margin-left: auto;
    flex-shrink: 0;
  }

  .header-cta {
    display: none;
  }

  .nav {
    display: none;
    position: static;
    transform: none;
    order: 3;
    width: 100%;
    height: auto;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.2rem 0 1.2rem;
    background: #fbf7f0;
    box-shadow: none;
    overflow-y: auto;
    max-height: calc(100dvh - var(--header-h));
  }

  body.nav-open .nav {
    display: flex;
    transform: none;
  }

  body.nav-open .site-header {
    bottom: 0;
    overflow: hidden;
    background: #fbf7f0;
  }

  .nav a {
    display: block;
    padding: 0.95rem 0.15rem;
    font-size: 1.12rem;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .btn.nav-cta {
    display: inline-flex;
    margin-top: 1.2rem;
    width: 100%;
    border-bottom: 0;
  }

  .split,
  .price-layout,
  .contact-grid,
  .footer-grid,
  .legal-meta {
    grid-template-columns: 1fr;
  }

  .pillars,
  .price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
  }

  .about-main img {
    height: 380px;
  }

  .about-badge {
    left: 1rem;
  }

  .call-bar {
    display: flex;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    justify-content: center;
    background: linear-gradient(180deg, var(--gold-soft), var(--gold));
    color: #1c1814;
    border-radius: 999px;
    padding: 0.95rem 1rem;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(176, 137, 72, 0.4);
  }

  body.nav-open .call-bar {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  body {
    padding-bottom: 5rem;
  }
}

@media (max-width: 640px) {
  .logo-name {
    font-size: 1.15rem;
  }

  .pillars,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-caption {
    opacity: 1;
    transform: none;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .hero-content {
    margin-bottom: 1.2rem;
  }

  .section {
    padding: 3.6rem 0;
  }

  .map-wrap iframe {
    min-height: 280px;
  }

  .jobs-card {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
