/* ==========================================================================
   [Brand Placeholder], Business & Holiday Apartments
   Aesthetic: quiet luxury hospitality. Cream + charcoal + sage + terracotta.
   ========================================================================== */

:root {
  /* palette */
  --bg: #f6f1e7;
  --bg-2: #ede4d2;
  --ink: #1a1916;
  --ink-2: #2c2a25;
  --muted: #6e685c;
  --rule: rgba(26, 25, 22, 0.12);
  --sage: #7d8a6f;
  --sage-2: #5d6a52;
  --clay: #b8553a;
  --clay-2: #963f28;
  --sand: #e3d8c2;
  --cream-2: #faf6ec;

  /* type */
  --f-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* layout */
  --maxw: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 28px;

  --shadow-1: 0 1px 2px rgba(26, 25, 22, 0.04), 0 6px 24px rgba(26, 25, 22, 0.06);
  --shadow-2: 0 4px 12px rgba(26, 25, 22, 0.08), 0 24px 60px rgba(26, 25, 22, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 84px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

/* faint paper texture */
.bg-paper {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(184, 85, 58, 0.05), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(125, 138, 111, 0.05), transparent 45%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.09  0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/></svg>");
  mix-blend-mode: multiply;
}

main, footer { position: relative; z-index: 1; }

/* ---------- top bar ------------------------------------------------------ */

.top {
  position: sticky; top: 0; z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 14px var(--pad-x);
  background: rgba(246, 241, 231, 0.88);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--rule);
}

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
}
.brand-mark {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 6px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 17px;
  line-height: 1;
}

.nav {
  display: flex; gap: 28px; justify-content: center;
  font-size: 14px;
  color: var(--muted);
}
.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.top-right { display: flex; align-items: center; gap: 14px; }

.lang-toggle {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding: 6px 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { color: var(--ink); border-color: var(--ink); }
.lang-toggle .lang-sep { opacity: 0.4; margin: 0 2px; }
[data-lang="en"] .lang-toggle .lang-en,
[data-lang="de"] .lang-toggle .lang-de { color: var(--ink); font-weight: 500; }

.nav-burger {
  display: none;
  flex-direction: column; gap: 4px;
  padding: 8px;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- buttons ------------------------------------------------------ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--clay-2); }
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-block { display: flex; width: 100%; }

/* ---------- placeholders (replace with real photos) ---------------------- */

.ph {
  position: relative;
  background:
    linear-gradient(135deg, var(--sand) 0%, var(--bg-2) 60%, var(--sand) 100%);
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
}
.ph::before {
  content: ''; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg,
      rgba(26, 25, 22, 0.03) 0 2px,
      transparent 2px 14px);
  z-index: 1;
}
.ph::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.5), transparent 60%);
  z-index: 0;
}
.ph.has-img::before,
.ph.has-img::after { display: none; }
.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}
.ph-tag {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 2;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(246, 241, 231, 0.85);
  padding: 5px 9px;
  border-radius: 4px;
  border: 1px solid var(--rule);
}

/* ---------- hero --------------------------------------------------------- */

.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) var(--pad-x) clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero-visual { aspect-ratio: 4 / 5; }
.ph-hero {
  height: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-2);
}
/* diagonal two-apartment split hero */
.hero-split { background: var(--cream, #f6f1e7); }
.hero-split > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: block;
}
.hero-split-a { clip-path: polygon(0 0, 57.4% 0, 41.4% 100%, 0 100%); }
.hero-split-b { clip-path: polygon(58.6% 0, 100% 0, 100% 100%, 42.6% 100%); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-title .line { display: block; }
.hero-title .italic {
  font-style: italic;
  font-weight: 300;
  color: var(--sage-2);
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-tags {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-tags li { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags .dot {
  width: 6px; height: 6px;
  background: var(--sage);
  border-radius: 50%;
}

/* ---------- section heads ------------------------------------------------ */

.section-head {
  max-width: var(--maxw);
  margin: 0 auto clamp(32px, 5vw, 56px);
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  row-gap: 4px;
  align-items: baseline;
}
.section-num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
  padding-top: 14px;
  grid-row: 1 / span 2;
}
.section-title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.section-lede {
  grid-column: 2;
  font-size: 16.5px;
  color: var(--muted);
  max-width: 62ch;
  margin-top: 4px;
}

/* ---------- apartments overview ----------------------------------------- */

.apartments {
  padding: clamp(48px, 7vw, 96px) 0;
}
.overview-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 36px);
}
.overview-card {
  display: grid;
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.overview-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.ph-card { aspect-ratio: 4 / 3; }
.overview-meta { padding: 24px 26px 28px; }
.apt-code {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--clay);
  margin-bottom: 8px;
}
.overview-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
}
.overview-specs {
  list-style: none;
  display: flex; gap: 18px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.overview-specs li { position: relative; }
.overview-specs li + li::before {
  content: '·';
  position: absolute; left: -12px; top: 0;
  color: var(--rule);
}
.overview-link {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
  position: relative;
  display: inline-block;
}
.overview-link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--ink);
  transform: scaleX(1); transform-origin: left;
  transition: transform 0.3s ease;
}
.overview-card:hover .overview-link::after { transform: scaleX(0.4); }

/* ---------- apartment sections ------------------------------------------ */

.apt {
  padding: clamp(56px, 8vw, 112px) 0;
  border-top: 1px solid var(--rule);
}
.apt-alt { background: var(--cream-2); }

.apt-head {
  max-width: var(--maxw);
  margin: 0 auto clamp(28px, 4vw, 48px);
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}
.apt-head-text .apt-code { font-size: 12px; }
.apt-title {
  font-family: var(--f-display);
  font-weight: 350;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.apt-tag {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: 18px;
  color: var(--sage-2);
  margin-top: 10px;
  max-width: 36ch;
}
.apt-stats {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}
.apt-stats > div {
  padding: 0 20px;
  border-right: 1px solid var(--rule);
}
.apt-stats > div:last-child { border-right: 0; padding-right: 0; }
.apt-stats > div:first-child { padding-left: 0; }
.apt-stats dt {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.apt-stats dd {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
}

.gallery {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 12px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.ph-gal { grid-row: span 1; grid-column: span 1; }
.ph-gal-lg { grid-row: span 2; grid-column: span 2; }

/* arrival / building photo strip in location section */
.arrival {
  max-width: var(--maxw);
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: 0 var(--pad-x);
}
.arrival h3 {
  font-family: var(--f-display);
  font-size: clamp(18px, 2vw, 22px);
  margin: 0 0 16px;
}
.arrival-grid { margin-bottom: 0; grid-auto-rows: 200px; }
.ph-arrival { grid-column: span 1; }

.apt-body {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.apt-copy h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 22px;
  margin: 28px 0 14px;
  letter-spacing: -0.01em;
}
.apt-copy h3:first-child { margin-top: 0; }
.apt-copy p { color: var(--ink-2); max-width: 60ch; font-size: 16px; }

.amenities {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.amenities li {
  position: relative;
  padding-left: 18px;
}
.amenities li::before {
  content: ''; position: absolute; left: 0; top: 0.7em;
  width: 6px; height: 6px;
  border: 1px solid var(--sage);
  border-radius: 50%;
}

.apt-aside { display: grid; gap: 16px; align-content: start; }
.aside-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  padding: 22px 24px;
}
.apt-alt .aside-card { background: var(--cream-2); }
.aside-card h4 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 17px;
  margin-bottom: 10px;
}
.aside-card p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 8px; }
.aside-card p.muted { color: var(--muted); }
.aside-card a { color: var(--clay); border-bottom: 1px solid var(--clay); }
.aside-card a:hover { color: var(--clay-2); border-color: var(--clay-2); }
.ph-360 { aspect-ratio: 16 / 9; margin-top: 12px; }
.ph-plan { aspect-ratio: 4 / 3; margin-top: 12px; }

/* ---------- location ---------------------------------------------------- */

.location {
  padding: clamp(56px, 8vw, 112px) 0;
  border-top: 1px solid var(--rule);
}
.location-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 48px);
}
.ph-map { height: 100%; min-height: 420px; }
.map-wrap { height: 100%; }
.map-embed {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--r-lg);
  display: block;
}

.transit h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 16px;
}
.transit h3:not(:first-child) { margin-top: 32px; }
.transit-list {
  list-style: none;
  display: grid;
  gap: 14px;
}
.transit-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.transit-list li:last-child { border-bottom: 0; }
.transit-icon {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--sand);
  color: var(--ink);
  border-radius: 50%;
  font-size: 14px;
}
.transit-list strong {
  display: block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 15.5px;
}
.transit-list p {
  font-size: 13.5px;
  color: var(--muted);
}
.nearby {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 8px;
}
.nearby li {
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 7px 12px;
  background: var(--bg-2);
  border-radius: 999px;
  color: var(--ink-2);
}
.near-type {
  color: var(--muted);
  opacity: 0.85;
}
.near-type::before {
  content: '· ';
}
.nearby-hint { font-size: 12.5px; margin: -4px 0 12px; }
.near-place {
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.near-place:hover { background: var(--sand); }
.near-place:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.near-place.active { background: var(--ink); color: var(--bg); }
.near-place.active .near-type { color: var(--bg); opacity: 0.7; }
/* transit rows as clickable route triggers */
.transit-list .near-place { border-radius: var(--r-md); }
.transit-list .near-place:hover { background: var(--sand); }
.transit-list .near-place.active { background: var(--ink); }
.transit-list .near-place.active strong,
.transit-list .near-place.active p { color: var(--bg); }
.transit-list .near-place.active .transit-icon { color: var(--bg); }
.near-reset {
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 12px;
  padding: 7px 12px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
}
.near-reset:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- for business ------------------------------------------------ */

.business {
  padding: clamp(56px, 8vw, 112px) 0;
  background: var(--ink);
  color: var(--bg);
  border-top: 1px solid var(--ink);
}
.business .section-num,
.business .section-lede { color: rgba(246, 241, 231, 0.6); }
.business .section-title { color: var(--bg); }

.biz-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(246, 241, 231, 0.12);
  border: 1px solid rgba(246, 241, 231, 0.12);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.biz-card {
  background: var(--ink);
  padding: 30px 28px;
}
.biz-icon {
  display: inline-block;
  font-size: 22px;
  color: var(--clay);
  margin-bottom: 18px;
}
.biz-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 20px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.biz-card p {
  font-size: 14.5px;
  color: rgba(246, 241, 231, 0.72);
  line-height: 1.55;
}

/* ---------- FAQ --------------------------------------------------------- */

.faq {
  padding: clamp(56px, 8vw, 112px) 0;
}
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--f-mono);
  font-size: 22px;
  color: var(--muted);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 15.5px;
  max-width: 62ch;
}

/* ---------- contact ----------------------------------------------------- */

.contact {
  padding: clamp(56px, 8vw, 112px) 0;
  border-top: 1px solid var(--rule);
  background: var(--cream-2);
}
.contact-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 56px);
}
.contact-form {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--r-xl);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 12px 14px;
  background: var(--cream-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  font-size: 15px;
  font-family: var(--f-body);
  text-transform: none;
  letter-spacing: normal;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--bg);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-note { font-size: 12.5px; text-align: center; }

.contact-aside { display: grid; gap: 14px; align-content: start; }
.contact-aside .aside-card { background: var(--bg); }
.contact-aside p { font-size: 15px; }
.contact-aside a {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--rule);
}
.contact-aside a:hover { color: var(--clay-2); border-color: var(--clay-2); }

/* ---------- footer ------------------------------------------------------ */

.foot {
  background: var(--ink);
  color: var(--bg);
  padding: 36px 0 28px;
}
.foot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
}
.foot-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display);
  font-size: 17px;
}
.foot-brand .brand-mark {
  background: var(--bg); color: var(--ink);
}
.foot-nav {
  display: flex; flex-wrap: wrap; gap: 18px 24px; justify-content: center;
  font-size: 13.5px;
  color: rgba(246, 241, 231, 0.7);
}
.foot-nav a:hover { color: var(--bg); }
.foot-meta {
  font-size: 12.5px;
  color: rgba(246, 241, 231, 0.55);
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
  text-align: right;
}

/* ---------- helpers / motion ------------------------------------------- */

.muted { color: var(--muted); }

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- language visibility ---------------------------------------- */
/* by default, server-rendered text in HTML stays; JS swaps in place.
   We do NOT hide alternative lang text via CSS because the swap is one-shot. */

/* ---------- responsive -------------------------------------------------- */

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 16px;
  }
  .hero-visual { aspect-ratio: 16 / 11; order: -1; }

  .overview-grid { grid-template-columns: 1fr; }

  .apt-head {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .apt-stats {
    grid-template-columns: repeat(3, 1fr);
    border: 1px solid var(--rule);
    border-radius: var(--r-md);
    padding: 0;
    overflow: hidden;
  }
  .apt-stats > div {
    padding: 12px 14px;
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .apt-stats > div:first-child { padding-left: 14px; }
  .apt-stats > div:nth-child(3n) { border-right: 0; }
  .apt-stats > div:nth-last-child(-n+2) { border-bottom: 0; }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .ph-gal-lg { grid-column: span 2; }

  .apt-body { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .ph-map { min-height: 280px; }
  .map-embed { min-height: 280px; }

  .biz-grid { grid-template-columns: 1fr 1fr; }

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

@media (max-width: 720px) {
  .top {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }
  .brand { font-size: 15px; gap: 8px; min-width: 0; }
  .brand-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav {
    position: fixed; top: 58px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg);
    padding: 24px var(--pad-x) 32px;
    gap: 18px;
    border-bottom: 1px solid var(--rule);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.2s ease;
  }
  .nav.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav a { font-size: 18px; }
  body.nav-lock { overflow: hidden; }

  .top-right .btn { display: none; }
  .nav-burger { display: flex; }

  .biz-grid { grid-template-columns: 1fr; }

  .foot-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .foot-meta { text-align: center; }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .ph-gal-lg { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---------- lightbox ---------------------------------------------------- */

.gallery .ph.has-img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 28px);
  padding: clamp(12px, 4vw, 48px);
  background: rgba(20, 19, 16, 0.92);
  backdrop-filter: blur(6px);
}
.lightbox.open { display: flex; }
.lb-stage {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lb-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.lb-counter {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--cream, #f6f1e7);
  opacity: 0.75;
}
.lb-nav, .lb-close {
  background: rgba(246, 241, 231, 0.12);
  color: #f6f1e7;
  border: 1px solid rgba(246, 241, 231, 0.25);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.18s ease, transform 0.18s ease;
}
.lb-nav {
  flex: 0 0 auto;
  width: clamp(44px, 6vw, 60px);
  height: clamp(44px, 6vw, 60px);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
}
.lb-nav:hover, .lb-close:hover { background: rgba(246, 241, 231, 0.24); }
.lb-nav:active { transform: scale(0.94); }
.lb-close {
  position: absolute;
  top: clamp(12px, 3vw, 28px);
  right: clamp(12px, 3vw, 28px);
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}
@media (max-width: 640px) {
  .lb-nav {
    position: absolute;
    bottom: 16px;
    z-index: 2;
  }
  .lb-prev { left: 24px; }
  .lb-next { right: 24px; }
}

/* "+N more" badge on last gallery thumbnail */
.gallery .ph.has-more::after {
  content: '+' attr(data-more);
  display: none;
}
.gallery-more {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 14px;
  background: linear-gradient(to top, rgba(20,19,16,0.55), transparent 55%);
  pointer-events: none;
}
.gallery-more span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #f6f1e7;
  background: rgba(20, 19, 16, 0.6);
  border: 1px solid rgba(246, 241, 231, 0.3);
  padding: 7px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* lightbox slide animation */
.lb-img { transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.28s ease; will-change: transform, opacity; }
.lb-img.enter-right { transform: translateX(48px); opacity: 0; }
.lb-img.enter-left { transform: translateX(-48px); opacity: 0; }
.lb-img.zoomed { transform: scale(2.4); cursor: zoom-out; }
.lb-img { cursor: pointer; }
@media (prefers-reduced-motion: reduce) {
  .lb-img { transition: none; }
}
