/* ===== Varee Thaimassage. Homepage stylesheet. =====
   Palette
   - cream      #F5F0E8  page background
   - dark green #1F3A2E  footer / accents
   - gold       #C9A961  CTA / accent
   - charcoal   #2A2520  body text
   - mute       #6B6760  meta text
================================================ */

/* Self-hosted webfonts (DSGVO / GDPR: no third-party Google requests).
   Latin subset only. Files served from /fonts/. */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/lora-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  font-stretch: 100%;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  font-stretch: 100%;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  font-stretch: 100%;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  font-stretch: 100%;
  src: url('fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #f5f0e8;
  --cream-2: #efe9df;
  --green: #1f3a2e;
  --green-2: #16291f;
  --gold: #c9a961;
  --gold-dark: #a8884a;
  --ink: #2a2520;
  --mute: #6b6760;
  --line: rgba(42, 37, 32, .12);

  --serif: "Lora", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
}

/* ============== HEADER ============== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 18px 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  letter-spacing: .04em;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand span {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding-left: 3px;
}
.nav-desktop {
  display: flex;
  gap: 36px;
}
.nav-desktop a {
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s;
}
.nav-desktop a:hover { color: var(--gold-dark); }

.lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--mute);
}
.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--mute);
  font-weight: 500;
  letter-spacing: .04em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  opacity: .7;
  transition: opacity .2s, transform .2s, box-shadow .2s;
}
.lang a:hover { opacity: 1; }
.lang a svg,
.lang a img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  clip-path: circle(50%);
}
.lang a.lang-active {
  opacity: 1;
  width: 26px;
  height: 26px;
  box-shadow: 0 0 0 1.5px var(--gold-dark);
}
.lang-mobile a { width: 26px; height: 26px; }
.lang-mobile a.lang-active { width: 30px; height: 30px; }

/* mobile menu toggle */
.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  background: none; border: 0;
  padding: 6px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  margin: 6px 0;
  transition: transform .3s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

[hidden] { display: none !important; }

.nav-mobile {
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 8px 24px 20px;
}
@media (min-width: 881px) {
  .nav-mobile { display: none !important; }
}
.nav-mobile a {
  font-size: 17px;
  text-decoration: none;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.nav-mobile a:last-of-type { border-bottom: 0; }
.lang-mobile { padding-top: 16px; gap: 10px; }

@media (max-width: 880px) {
  .nav-desktop, .header-inner > .lang { display: none; }
  .nav-toggle { display: block; }
  .header-inner { padding: 14px 20px; }
  .brand { font-size: 32px; }
  .brand span { font-size: 9px; letter-spacing: .3em; padding-left: 2px; }
}

/* ============== HERO ============== */
.hero {
  position: relative;
  min-height: 620px;
  height: 78vh;
  max-height: 820px;
  overflow: hidden;
  background: #2c2620;
}
.hero-image {
  position: absolute; inset: 0;
  background:
    url("img/hero.jpg") center 35% / cover no-repeat,
    radial-gradient(ellipse 70% 60% at 70% 45%, #4a3520 0%, #2a1f15 60%, #14100c 100%);
  background-color: #1f1810;
}
.hero-overlay {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 75%);
}
.hero-content {
  color: #f5f0e8;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 28px;
  max-width: 14ch;
}
.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  margin: 0 0 36px;
  opacity: .92;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s, transform .25s, box-shadow .25s;
}
.btn-gold {
  background: var(--green);
  color: var(--cream);
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(31,58,46,.25);
}
.btn-gold:hover {
  background: var(--green-2);
  color: var(--gold);
  transform: translateY(-1px);
}

@media (max-width: 720px) {
  .hero { height: auto; min-height: 0; padding: 0; }
  .hero-overlay {
    position: relative;
    background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.7) 100%);
  }
  .hero-image {
    position: relative;
    height: 56vh;
    min-height: 380px;
    inset: auto;
  }
  .hero-overlay {
    position: absolute; inset: 0;
    align-items: flex-end;
    padding-bottom: 24px;
  }
  .hero h1 { max-width: none; margin: 0 0 16px; font-size: clamp(32px, 8vw, 44px); }
  .hero-sub { margin: 0 0 20px; }
}

/* ============== INTRO ============== */
.intro {
  padding: 96px 0 72px;
}
@media (max-width: 720px) {
  .intro { padding: 48px 0 32px; }
}
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  position: relative;
}
.intro-grid::before,
.intro-grid::after {
  content: '';
  position: absolute;
  top: 8%; bottom: 8%;
  width: 1px;
  background: var(--line);
}
.intro-grid::before { left: calc(33.33% - 28px); }
.intro-grid::after  { left: calc(66.66% - 28px); }

.intro-col {
  text-align: center;
  color: var(--ink);
}
.intro-icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin: 0 auto 20px;
}
.intro-col h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
.intro-col p {
  color: var(--mute);
  font-size: 15px;
  line-height: 1.65;
  max-width: 32ch;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .intro { padding: 64px 0 32px; }
  .intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .intro-grid::before, .intro-grid::after { display: none; }
}

/* ============== SERVICES ============== */
.services {
  padding: 40px 0 96px;
}
@media (max-width: 720px) {
  .services { padding: 24px 0 48px; }
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: transparent;
  display: flex;
  flex-direction: column;
}
.service-img {
  aspect-ratio: 3 / 4;
  background-size: cover;
  background-position: center;
  background-color: #2e3530;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.service-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.7) 100%);
  z-index: 1;
}
/* Photo on top, on-brand gradient as fallback so 404s look intentional */
.service-img[data-img="thai"] {
  background:
    url("img/service-thai.jpg") center / cover no-repeat,
    linear-gradient(150deg, #2e3530 0%, #1a1f1c 100%);
  background-color: #1a1f1c;
}
.service-img[data-img="oil"] {
  background:
    url("img/service-oil.jpg") center / cover no-repeat,
    linear-gradient(150deg, #4a3520 0%, #2a1f15 100%);
  background-color: #2a1f15;
}
.service-img[data-img="aroma"] {
  background:
    url("img/service-aroma.jpg") center / cover no-repeat,
    linear-gradient(150deg, #5a4530 0%, #2e1f15 100%);
  background-color: #2e1f15;
}
.service-img[data-img="hotstone"] {
  background:
    url("img/service-hotstone.jpg") center / cover no-repeat,
    linear-gradient(150deg, #2a2520 0%, #14100c 100%);
  background-color: #14100c;
}

.service-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px;
  z-index: 2;
  color: #f5f0e8;
}
.service-overlay h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  color: #f5f0e8;
}
.service-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
  margin: 0;
}
.service-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--mute);
  margin: 18px 4px 0;
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .service-desc { margin-top: 12px; }
  .services { padding: 24px 0 64px; }
}

/* ============== QUOTE ============== */
.quote {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}
.quote-bg {
  position: absolute; inset: 0;
  background:
    url("img/quote-bg.jpg") center / cover no-repeat,
    radial-gradient(ellipse at 80% 50%, rgba(201,169,97,.25), transparent 55%),
    radial-gradient(ellipse at 20% 50%, rgba(31,58,46,.18), transparent 60%),
    var(--cream);
  opacity: .85;
}
.quote::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, rgba(245,240,232,.85) 50%, rgba(245,240,232,.4) 100%);
  z-index: 1;
}
.quote-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 64px;
  line-height: .6;
  color: var(--gold);
  margin-bottom: 16px;
}
blockquote {
  margin: 0;
}
blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 18px;
}
blockquote footer {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute);
}

/* ============== FOOTER ============== */
.site-footer {
  background: var(--green);
  color: var(--cream);
  padding: 72px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: stretch;
}
.footer-info {
  display: flex;
  flex-direction: column;
}
.footer-logomark {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 18px;
}
.footer-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--cream);
}
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}
.footer-list svg {
  width: 18px; height: 18px;
  color: var(--gold);
  flex: 0 0 18px;
}
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--gold); }

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(245,240,232,.15);
  padding-top: 28px;
  margin-top: auto;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.5;
}
.trust-item svg {
  width: 26px; height: 26px;
  color: var(--gold);
}

.footer-map {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  min-height: 320px;
  position: relative;
  text-decoration: none;
  transition: transform .35s, box-shadow .35s;
  box-shadow: 0 18px 44px rgba(0,0,0,.32), 0 0 0 1px rgba(245,240,232,.06);
}
.footer-map:hover { box-shadow: 0 22px 52px rgba(0,0,0,.4), 0 0 0 1px rgba(201,169,97,.25); }
.footer-map::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, transparent 40%, rgba(0,0,0,.18) 100%);
  pointer-events: none;
}
.footer-map img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  filter: saturate(.85) brightness(1.0) contrast(1.04);
}
.map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 36px; height: 36px;
  color: var(--gold);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
.map-pin svg { width: 100%; height: 100%; fill: var(--gold); stroke: #fff; stroke-width: 1.5; }

@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust { grid-template-columns: 1fr; gap: 14px; }
  .footer-map { min-height: 220px; }
  .footer-map img { min-height: 220px; }
  .footer-title { font-size: 28px; margin: 0 0 18px; }
  .footer-list { margin: 0 0 24px; gap: 10px; }
  .site-footer { padding: 36px 0 18px; }
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(245,240,232,.6);
  letter-spacing: .04em;
  border-top: 1px solid rgba(245,240,232,.12);
  padding-top: 20px;
  margin-top: 48px;
}
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--gold); }

@media (max-width: 540px) {
  .footer-legal { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* ============== SUBPAGE COMPONENTS ============== */

/* Page header (slim hero on subpages) */
.page-header {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
}
.page-header .eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 18px;
}
.page-header h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  max-width: 18ch;
}
.page-header .lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: var(--mute);
  max-width: 60ch;
  margin: 0;
}
@media (max-width: 720px) {
  .page-header { padding: 36px 0 24px; }
  .page-header .eyebrow { margin: 0 0 10px; }
  .page-header h1 { margin: 0 0 14px; }
  .page-header .lede { font-size: 16px; line-height: 1.45; }
}

/* Generic prose section */
.prose-section { padding: 72px 0; }
@media (max-width: 720px) {
  .prose-section { padding: 40px 0; }
}
.prose-narrow {
  max-width: 680px;
  margin: 0 auto;
}
.prose-narrow h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.01em;
  margin: 48px 0 16px;
}
.prose-narrow h2:first-child { margin-top: 0; }
.prose-narrow h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 32px 0 10px;
}
.prose-narrow p,
.prose-narrow li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
.prose-narrow p { margin: 0 0 18px; }
.prose-narrow ul, .prose-narrow ol { padding-left: 22px; margin: 0 0 18px; }
.prose-narrow a { color: var(--gold-dark); }

/* Treatment rows (behandlungen.html) */
.treatments { padding: 24px 0 96px; }
.treatment-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 72px;
  align-items: center;
  padding: 88px 0;
  border-bottom: 0;
  position: relative;
  /* Scroll-fade-in: starts hidden, animates when .in-view added by IntersectionObserver */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.treatment-row.in-view {
  opacity: 1;
  transform: none;
}
/* Generic scroll-fade utility, used on price-cards, voucher, CTA, etc. */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1);
}
.fade-in.in-view {
  opacity: 1;
  transform: none;
}
/* Reduced motion: respect user preference */
@media (prefers-reduced-motion: reduce) {
  .treatment-row,
  .fade-in { opacity: 1; transform: none; transition: none; }
}
.treatment-row:last-child { border-bottom: 0; padding-bottom: 32px; }
.treatment-row.reverse { grid-template-columns: 1fr 1.05fr; }
.treatment-row.reverse .treatment-media { order: 2; }
.treatment-media {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  background-color: transparent;
  border-radius: 2px;
  position: relative;
  /* Soft fade: image dissolves into the cream page on the inner-facing edge + bottom */
  -webkit-mask-image:
    linear-gradient(to bottom, #000 70%, transparent 100%),
    linear-gradient(to right,  #000 70%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, #000 70%, transparent 100%),
    linear-gradient(to right,  #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.treatment-row.reverse .treatment-media {
  -webkit-mask-image:
    linear-gradient(to bottom, #000 70%, transparent 100%),
    linear-gradient(to left,   #000 70%, transparent 100%);
  mask-image:
    linear-gradient(to bottom, #000 70%, transparent 100%),
    linear-gradient(to left,   #000 70%, transparent 100%);
}
/* Soft warm tint that unifies the whole image set */
.treatment-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(74,53,32,.06) 0%, rgba(31,58,46,.08) 100%);
  pointer-events: none;
  border-radius: inherit;
}
.treatment-media[data-img="thai"] {
  background:
    url("img/service-thai.jpg") center / cover no-repeat,
    linear-gradient(150deg, #2e3530 0%, #1a1f1c 100%);
}
.treatment-media[data-img="oil"] {
  background:
    url("img/service-oil.jpg") center / cover no-repeat,
    linear-gradient(150deg, #4a3520 0%, #2a1f15 100%);
}
.treatment-media[data-img="aroma"] {
  background:
    url("img/service-aroma.jpg") center / cover no-repeat,
    linear-gradient(150deg, #5a4530 0%, #2e1f15 100%);
}
.treatment-media[data-img="hotstone"] {
  background:
    url("img/service-hotstone.jpg") center / cover no-repeat,
    linear-gradient(150deg, #2a2520 0%, #14100c 100%);
}
.treatment-media[data-img="foot"] {
  background:
    url("img/service-foot.jpg") center / cover no-repeat,
    linear-gradient(150deg, #3a3025 0%, #1f1812 100%);
}
.treatment-text .eyebrow {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 14px;
}
.treatment-text h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.treatment-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 16px;
}
.treatment-text .from-price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--gold-dark);
  margin: 8px 0 24px;
}
@media (max-width: 880px) {
  .treatment-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 56px 0;
  }
  .treatment-row.reverse { grid-template-columns: 1fr; }
  .treatment-row.reverse .treatment-media { order: 0; }
  .treatment-media { aspect-ratio: 4 / 3; }
  /* On mobile, fade only the bottom edge (image on top, text below) */
  .treatment-media,
  .treatment-row.reverse .treatment-media {
    -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
    -webkit-mask-composite: source-over;
            mask-composite: add;
  }
}

/* Studio page magazine layout */
.studio-hero {
  position: relative;
  min-height: 480px;
  height: 60vh;
  max-height: 640px;
  overflow: hidden;
  background: #2c2620;
}
.studio-hero-img {
  position: absolute; inset: 0;
  background:
    url("img/service-aroma.jpg") center / cover no-repeat,
    linear-gradient(150deg, #5a4530 0%, #2e1f15 100%);
}
.studio-hero-overlay {
  position: absolute; inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.6) 100%);
  color: var(--cream);
  padding: 56px 0;
}
.studio-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 18ch;
  color: #f5f0e8;
}

.studio-pull {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background: var(--green);
  color: var(--cream);
}
.studio-pull-bg {
  position: absolute; inset: 0;
  background:
    url("img/quote-bg.jpg") center / cover no-repeat,
    linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  opacity: .35;
}
.studio-pull-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.studio-pull p {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.4;
  margin: 0;
  color: var(--cream);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 24px 0 0;
}
.room-card .room-img {
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  margin-bottom: 18px;
  background-color: #2e3530;
  background-size: cover;
  background-position: center;
}
.room-card .room-img[data-img="room1"] {
  background:
    url("img/room-1.jpg") center / cover no-repeat,
    linear-gradient(150deg, #4a3520 0%, #2a1f15 100%);
}
.room-card .room-img[data-img="room2"] {
  background:
    url("img/room-2.jpg") center / cover no-repeat,
    linear-gradient(150deg, #2e3530 0%, #1a1f1c 100%);
}
.room-card .room-img[data-img="room3"] {
  background:
    url("img/room-3.jpg") center / cover no-repeat,
    linear-gradient(150deg, #3a3025 0%, #1f1812 100%);
}
.room-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.room-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--mute);
  margin: 0;
}
@media (max-width: 880px) {
  .rooms-grid { grid-template-columns: 1fr; gap: 28px; }
  .studio-pull { padding: 64px 0; }
}

/* Price tables */
.price-block { padding: 56px 0; border-bottom: 1px solid var(--line); }
.price-block:last-child { border-bottom: 0; }
.price-block-head {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.price-block-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.01em;
  margin: 0;
}
.price-block-head p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.price-table th, .price-table td {
  text-align: left;
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
}
.price-table th {
  font-weight: 500;
  color: var(--mute);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.price-table td:last-child, .price-table th:last-child {
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-dark);
  white-space: nowrap;
}
.price-note {
  margin: 32px 0 0;
  font-size: 14px;
  color: var(--mute);
}

/* CTA cards (termin / kontakt) */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0 56px;
}
.cta-card {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
  border-color: var(--gold);
}
.cta-card svg {
  width: 28px; height: 28px;
  color: var(--gold);
}
.cta-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  margin: 0;
  letter-spacing: -0.01em;
}
.cta-card .cta-line {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.cta-card .cta-meta {
  font-size: 14px;
  color: var(--mute);
  margin: 0;
}
@media (max-width: 880px) {
  .cta-grid { grid-template-columns: 1fr; gap: 14px; padding: 16px 0 32px; }
  .cta-card { padding: 22px 20px; gap: 10px; }
}

/* Form */
.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 0 24px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.form-row label {
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 14px;
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,.18);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .form-grid-2 { grid-template-columns: 1fr; gap: 0; }
}
.form-note {
  font-size: 13px;
  color: var(--mute);
  margin: 0 0 20px;
}
button.btn { border: 0; }

/* Info two-column (kontakt) */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 24px 0 72px;
}
.info-block h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
.info-block p, .info-block li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
.info-block ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.info-block ul li { padding: 4px 0; }
.info-block a { color: var(--gold-dark); text-decoration: none; }
.info-block a:hover { text-decoration: underline; }
.info-map {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 360px;
  box-shadow: 0 12px 30px rgba(74,53,32,.14);
  -webkit-mask-image: radial-gradient(ellipse 100% 95% at 50% 50%, #000 65%, transparent 100%);
          mask-image: radial-gradient(ellipse 100% 95% at 50% 50%, #000 65%, transparent 100%);
}
.info-map::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, transparent 0%, rgba(74,53,32,.22) 100%),
    linear-gradient(180deg, rgba(74,53,32,.06) 0%, transparent 30%, transparent 70%, rgba(74,53,32,.06) 100%);
  pointer-events: none;
  mix-blend-mode: multiply;
}
.info-map img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  filter: saturate(.35) brightness(.96) sepia(.18) contrast(1.04);
}
.info-map .map-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 36px; height: 36px;
  color: var(--gold);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}
@media (max-width: 880px) {
  .info-grid { grid-template-columns: 1fr; gap: 24px; padding: 8px 0 40px; }
  .info-map { min-height: 220px; }
  .info-map img { min-height: 220px; }
  .info-block h2 { font-size: 22px; margin: 0 0 10px; }
  .info-block p, .info-block li { font-size: 15px; line-height: 1.55; }
  .info-block ul { margin: 0 0 14px; }
}

/* ===== Masseusen / Team grid ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  padding: 16px 0 0;
}
.team-card { grid-column: span 2; }
.team-card:nth-child(4) { grid-column: 2 / span 2; }
.team-card:nth-child(5) { grid-column: 4 / span 2; }
.team-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 3px;
  background: var(--cream-2);
  box-shadow: 0 6px 18px rgba(40, 30, 20, .08);
  transition: transform .35s ease, box-shadow .35s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(40, 30, 20, .14);
}
.team-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: saturate(.88) sepia(.06) brightness(.98) contrast(1.02);
  transition: filter .35s ease, transform .6s ease;
}
.team-card:hover .team-photo {
  filter: saturate(.95) sepia(.04) brightness(1) contrast(1.02);
  transform: scale(1.02);
}
@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .team-card,
  .team-card:nth-child(4),
  .team-card:nth-child(5) { grid-column: auto; }
  .team-card:nth-child(5) { grid-column: 1 / -1; max-width: calc(50% - 8px); justify-self: center; }
}
@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
  .team-card { border-radius: 0; box-shadow: none; }
  .team-card:nth-child(5) { max-width: calc(50% - 2px); }
  .team-photo { aspect-ratio: 3 / 4; }
}

/* ============== HOMEPAGE SERVICE-PRICE LINKS ============== */
.service-overlay a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.service-overlay a:hover,
.service-overlay a:focus-visible {
  color: #e6c581;
  border-bottom-color: rgba(230, 197, 129, .55);
}

/* ============== PRICES PAGE ============== */
.price-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--cream-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.price-nav-inner {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 20px;
  padding-bottom: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.price-nav-inner::-webkit-scrollbar { display: none; }
.price-nav a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.price-nav a:hover,
.price-nav a:focus-visible {
  color: var(--gold-dark);
  border-bottom-color: var(--gold-dark);
}

.price-section {
  padding: 56px 0 88px;
  position: relative;
  /* Soft full-width vertical gradient: cream → cream-2 → cream
     so the section breathes with depth without being noisy */
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%,   rgba(201,169,97,.06), transparent 70%),
    radial-gradient(ellipse 90% 50% at 50% 100%, rgba(31,58,46,.05), transparent 70%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 50%, var(--cream) 100%);
}
.price-container {
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.price-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: stretch;
  scroll-margin-top: 96px;
  position: relative;
}
/* Subtle hairline between cards using a thin gold gradient — only on inner cards */
.price-card + .price-card::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .55;
}

.price-card-media {
  border-radius: 3px;
  overflow: hidden;
  background: transparent;
  position: relative;
  /* Soft mask-fade matches the behandlungen page: photo dissolves into the
     warm page background on the right edge + bottom */
  -webkit-mask-image:
    linear-gradient(to bottom, #000 75%, transparent 100%),
    linear-gradient(to right,  #000 80%, transparent 100%);
          mask-image:
    linear-gradient(to bottom, #000 75%, transparent 100%),
    linear-gradient(to right,  #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.price-card-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(74,53,32,.06) 0%, rgba(31,58,46,.08) 100%);
  pointer-events: none;
}
.price-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) brightness(1.0) contrast(1.02);
}
.price-card-head { margin-bottom: 22px; position: relative; }
.price-card-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 34px);
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--ink);
}
.price-card-head h2::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}
.price-card-head p {
  margin: 0;
  color: var(--mute);
  font-size: 15px;
  line-height: 1.6;
  font-family: var(--sans);
  font-style: italic;
}

/* refined price-table inside cards */
.price-card .price-table {
  width: 100%;
  border-collapse: collapse;
}
.price-card .price-table tbody tr {
  transition: background .25s ease, padding .25s ease;
}
.price-card .price-table tbody tr:hover {
  background: linear-gradient(90deg, transparent 0%, rgba(201,169,97,.10) 50%, transparent 100%);
}
.price-card .price-table th,
.price-card .price-table td {
  border-bottom: 1px solid rgba(42, 37, 32, .07);
  padding: 14px 8px;
  font-family: var(--sans);
  font-size: 15px;
  text-align: left;
}
.price-card .price-table th:last-child {
  text-align: right;
}
.price-card .price-table td:last-child {
  text-align: right;
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--gold-dark);
  white-space: nowrap;
}
.price-card .price-table tbody tr:last-child td {
  border-bottom: 0;
}

/* Cards: voucher + bottom CTA, share base + diverge */
.voucher-card,
.price-cta {
  border-radius: 3px;
  padding: 36px 40px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.voucher-card {
  /* warm gradient with a barely-there gold wash from the left */
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(201,169,97,.18), transparent 70%),
    linear-gradient(135deg, var(--cream-2) 0%, #e9dfcc 100%);
  border: 1px solid rgba(201, 169, 97, .25);
}
.voucher-card::before {
  /* slim gold gradient stripe on the leading edge */
  content: '';
  position: absolute;
  top: 18px; bottom: 18px; left: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, var(--gold), transparent);
  border-radius: 2px;
}
.voucher-card h3,
.price-cta h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}
.voucher-card p {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}
.voucher-card p:last-child { margin-bottom: 0; }
.voucher-meta {
  font-size: 14px;
  color: var(--mute);
  font-style: italic;
}
.voucher-meta a {
  color: var(--gold-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(168, 136, 74, .35);
}
.voucher-meta a:hover { border-bottom-color: var(--gold-dark); }

.price-cta {
  /* deep green with a gold spotlight from the top-right corner */
  background:
    radial-gradient(ellipse 60% 90% at 100% 0%, rgba(201,169,97,.18), transparent 70%),
    linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: var(--cream);
  text-align: center;
  padding: 48px 36px;
}
.price-cta::before {
  /* faint gold hairline along the top */
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: .5;
}
.price-cta h3 {
  color: var(--cream);
  font-size: 30px;
  margin-bottom: 14px;
}
.price-cta p {
  margin: 0 auto 28px;
  max-width: 46ch;
  color: rgba(245, 240, 232, .85);
  font-size: 15px;
  line-height: 1.65;
}

/* Light "page-header" tonal lift on the lede above the price-nav */
.page-header + .price-nav { margin-top: 8px; }

@media (max-width: 720px) {
  .price-section { padding: 28px 0 56px; }
  .price-container { gap: 36px; }
  .price-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .price-card-media {
    max-width: 240px;
    margin: 0 auto;
    /* Mobile: fade only bottom edge — image sits on top of text */
    -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
    -webkit-mask-composite: source-over;
            mask-composite: add;
  }
  .price-card-media img {
    aspect-ratio: 4 / 3;
  }
  .price-card + .price-card::before { top: -28px; }
  .voucher-card,
  .price-cta { padding: 28px 24px; }
  .price-cta h3 { font-size: 24px; }
}
@media (max-width: 720px) {
  .price-nav-inner { gap: 24px; padding-top: 12px; padding-bottom: 12px; justify-content: flex-start; }
}
@media (max-width: 480px) {
  .price-nav-inner { gap: 18px; padding-top: 10px; padding-bottom: 10px; }
  .price-nav a { font-size: 12px; letter-spacing: .12em; }
  .price-card .price-table th,
  .price-card .price-table td { padding: 13px 6px; font-size: 15px; }
  .price-card .price-table td:last-child { font-size: 16px; }
}

/* ============== STUDIO GALLERY ============== */
/* Editorial mosaic of square source photos arranged on a 12-col grid with
   varied row spans for a magazine-style rhythm. Selective mask-fades
   dissolve a few items into the cream background, matching the
   .treatment-media aesthetic on behandlungen.html. */

.studio-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 88px;
  grid-auto-flow: dense;     /* backfill any gaps */
  gap: 22px;
  padding: 40px 0 0;
}

.sg-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  /* Scroll-fade-in via .fade-in + .in-view (script.js IntersectionObserver) */
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1),
              transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.sg-item.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sg-item { opacity: 1; transform: none; transition: none; }
}

.sg-item picture {
  flex: 1;
  min-height: 0;
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream-2);
}
.sg-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.94) brightness(1) contrast(1.02);
  transition: transform .8s ease, filter .35s ease;
}
.sg-item:hover img {
  transform: scale(1.02);
  filter: saturate(1) brightness(1.02) contrast(1.02);
}

/* Soft warm tint overlay on the picture (matches .treatment-media tint) */
.sg-item picture::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(74,53,32,.05) 0%, rgba(31,58,46,.06) 100%);
  pointer-events: none;
}

/* Captions: editorial, italic, in the flow below the photo (no overlay) */
.sg-item figcaption {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--mute);
  margin: 10px 4px 0;
  line-height: 1.3;
}

/* ----- 12-col layout, balanced spans that tile cleanly with grid-auto-flow: dense ----- */
.sg-a { grid-column: span 7; grid-row: span 6; }   /* studio-1 wide mat room  (HERO LEFT) */
.sg-b { grid-column: span 5; grid-row: span 3; }   /* studio-4 lily detail */
.sg-c { grid-column: span 5; grid-row: span 3; }   /* studio-2 cabinet room */
.sg-d { grid-column: span 4; grid-row: span 4; }   /* studio-5 towels */
.sg-e { grid-column: span 4; grid-row: span 4; }   /* studio-3 bodhi room */
.sg-f { grid-column: span 4; grid-row: span 4; }   /* studio-11 tea cups */
.sg-g { grid-column: span 7; grid-row: span 6; }   /* studio-8 relax chair (HERO RIGHT) */
.sg-h { grid-column: span 5; grid-row: span 3; }   /* studio-9 reception */
.sg-i { grid-column: span 5; grid-row: span 3; }   /* studio-7 lotus room */
.sg-j { grid-column: span 4; grid-row: span 4; }   /* studio-10 citrus */
.sg-k { grid-column: span 4; grid-row: span 4; }   /* studio-6 hallway */
.sg-l { grid-column: span 4; grid-row: span 4; }   /* studio-12 bodhi+bonsai */

/* Selective mask-fades: dissolve some items into the cream page on one
   edge each. Variety > uniformity. Applied to picture (the image wrapper),
   not the figure, so figcaptions stay crisp. */
.sg-b picture { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%);
                        mask-image: linear-gradient(to right, #000 82%, transparent 100%); }
.sg-d picture { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent 100%);
                        mask-image: linear-gradient(to right, #000 82%, transparent 100%); }
.sg-f picture { -webkit-mask-image: linear-gradient(to top,   #000 84%, transparent 100%);
                        mask-image: linear-gradient(to top,   #000 84%, transparent 100%); }
.sg-h picture { -webkit-mask-image: linear-gradient(to left,  #000 82%, transparent 100%);
                        mask-image: linear-gradient(to left,  #000 82%, transparent 100%); }
.sg-j picture { -webkit-mask-image: linear-gradient(to left,  #000 84%, transparent 100%);
                        mask-image: linear-gradient(to left,  #000 84%, transparent 100%); }
.sg-l picture { -webkit-mask-image: linear-gradient(to bottom,#000 84%, transparent 100%);
                        mask-image: linear-gradient(to bottom,#000 84%, transparent 100%); }

/* Tablet: 6-col grid, simpler rhythm */
@media (max-width: 1024px) {
  .studio-gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 80px;
    grid-auto-flow: dense;
    gap: 18px;
  }
  .sg-a { grid-column: span 6; grid-row: span 4; }
  .sg-b { grid-column: span 3; grid-row: span 3; }
  .sg-c { grid-column: span 3; grid-row: span 3; }
  .sg-d { grid-column: span 3; grid-row: span 3; }
  .sg-e { grid-column: span 3; grid-row: span 3; }
  .sg-f { grid-column: span 3; grid-row: span 3; }
  .sg-g { grid-column: span 6; grid-row: span 4; }
  .sg-h { grid-column: span 3; grid-row: span 3; }
  .sg-i { grid-column: span 3; grid-row: span 3; }
  .sg-j { grid-column: span 2; grid-row: span 3; }
  .sg-k { grid-column: span 4; grid-row: span 3; }
  .sg-l { grid-column: span 6; grid-row: span 4; }
}

/* Mobile: single column, native 1:1, generous gap, no side mask-fades */
@media (max-width: 600px) {
  .studio-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 28px;
    padding-top: 28px;
  }
  .sg-item,
  .sg-a, .sg-b, .sg-c, .sg-d, .sg-e, .sg-f,
  .sg-g, .sg-h, .sg-i, .sg-j, .sg-k, .sg-l {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .sg-item picture { aspect-ratio: 1 / 1; }
  .sg-b picture, .sg-d picture, .sg-f picture,
  .sg-h picture, .sg-j picture, .sg-l picture {
    -webkit-mask-image: none;
            mask-image: none;
  }
  .sg-item figcaption { font-size: 13px; }
}
