/* ─────────────────────────────────────────────────────────────
   Duo Progress Style — Hero
   Mobile-first, no JS dependencies.
   ───────────────────────────────────────────────────────────── */

:root {
  /* Color */
  --bg: #0E1411;
  --bg-elev: #161D19;
  --fg: #F2EFE8;
  --fg-dim: rgba(242, 239, 232, 0.72);
  --fg-quiet: rgba(242, 239, 232, 0.48);
  --sage: oklch(0.74 0.05 145);
  --sage-deep: oklch(0.55 0.06 145);
  --line: rgba(242, 239, 232, 0.10);
  --line-strong: rgba(242, 239, 232, 0.26);

  /* Type */
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Layout */
  --gutter: 22px;
  --max: 1440px;

  /* Subtle film grain — inline SVG for offline support */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
}

body {
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;
}

::selection { background: var(--sage); color: var(--bg); }

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

/* ─────────────────────────────────────────────────────────────
   Wordmark
   ───────────────────────────────────────────────────────────── */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  line-height: 1;
  color: var(--fg);
}
.wordmark__duo {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.04em;
}
.wordmark__progress,
.wordmark__style {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-weight: 500;
}
.wordmark__progress { color: var(--sage); }
.wordmark__style { opacity: 0.5; font-weight: 400; }

/* ─────────────────────────────────────────────────────────────
   Site nav — fixed at top of hero, overlays the photo
   ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav__links { display: none; }

.nav__right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav__status { display: none; }
.nav__phone { display: none; }

.nav__menu {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: rgba(242, 239, 232, 0.08);
  border: 1px solid rgba(242, 239, 232, 0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--fg);
  display: grid;
  place-items: center;
}

/* ─────────────────────────────────────────────────────────────
   Hero shell
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero__image,
.hero__grade,
.hero__grade-side,
.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}

/* Soft vertical grade — preserves interior detail mid-frame */
.hero__grade {
  background: linear-gradient(
    180deg,
    rgba(14, 20, 17, 0.50) 0%,
    rgba(14, 20, 17, 0.04) 22%,
    rgba(14, 20, 17, 0.06) 38%,
    rgba(10, 14, 12, 0.62) 62%,
    rgba(10, 14, 12, 0.92) 100%
  );
}
.hero__grade-side { display: none; }

.hero__grain {
  background-image: var(--grain);
  mix-blend-mode: overlay;
  opacity: 0.7;
}

/* Open-status pill (mobile) */
.hero__pill {
  position: relative;
  z-index: 3;
  align-self: flex-start;
  margin: 80px 0 0 var(--gutter);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: rgba(14, 20, 17, 0.55);
  border: 1px solid rgba(242, 239, 232, 0.18);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.hero__pill-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(140, 170, 140, 0.18);
}

/* ─────────────────────────────────────────────────────────────
   Hero content
   ───────────────────────────────────────────────────────────── */
.hero__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0 var(--gutter) 56px;
  max-width: 640px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 10.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
}
.kicker__rule {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--sage);
  flex-shrink: 0;
}
.kicker__city { display: none; }

.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 12.5vw, 104px);
  line-height: 0.97;
  letter-spacing: -0.018em;
  text-wrap: pretty;
}
.hero__title span { display: block; }
.hero__title-italic { font-style: italic; }
.hero__title-italic em {
  color: var(--sage);
  font-style: italic;
}

.hero__sub {
  margin: 20px 0 0;
  max-width: 36ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-dim);
  text-wrap: balance;
}
.hero__sub em {
  font-family: var(--serif);
  font-style: italic;
  color: var(--fg);
  font-size: 1.05em;
}

/* CTAs */
.hero__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 16px;
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.btn span { line-height: 1; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--fg);
  color: var(--bg);
  font-weight: 600;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--primary:hover { background: #fff; }

.btn--secondary {
  background: rgba(242, 239, 232, 0.06);
  color: var(--fg);
  font-weight: 500;
  border: 1px solid rgba(242, 239, 232, 0.26);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn--secondary:hover {
  background: rgba(242, 239, 232, 0.10);
  border-color: rgba(242, 239, 232, 0.40);
}

/* Meta row */
.hero__meta {
  list-style: none;
  margin: 22px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--fg-dim);
}
.hero__services { display: inline-flex; align-items: center; gap: 10px; }
.hero__services .dot { opacity: 0.4; }
.hero__location { display: inline-flex; align-items: center; gap: 6px; }

.icon { display: inline-block; vertical-align: -2px; }

/* Hidden by default */
.info-card,
.hero__strip {
  display: none;
}

/* ─────────────────────────────────────────────────────────────
   Tablet (≥ 768px) — two-column split
   ───────────────────────────────────────────────────────────── */
@media (min-width: 768px) {
  :root { --gutter: 40px; }

  .nav { padding: 26px var(--gutter); }
  .nav__menu { display: none; }
  .nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    color: var(--fg-dim);
    letter-spacing: 0.04em;
  }
  .nav__links a { transition: color 0.18s ease; }
  .nav__links a:hover { color: var(--fg); }
  .nav__phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(242, 239, 232, 0.30);
    color: var(--fg);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
  }
  .nav__phone:hover { border-color: rgba(242, 239, 232, 0.55); }

  .wordmark__duo { font-size: 22px; }
  .wordmark__progress,
  .wordmark__style { font-size: 10px; }

  /* Hide mobile-only pill — desktop nav has its own indicator */
  .hero__pill { display: none; }

  .hero__image img { object-position: 50% 32%; }

  .hero__content {
    padding: 100px var(--gutter) 80px;
    max-width: 620px;
  }
  .kicker { font-size: 11px; letter-spacing: 0.36em; margin-bottom: 22px; }
  .kicker__rule { width: 36px; }
  .hero__title { line-height: 0.96; letter-spacing: -0.02em; }
  .hero__sub { font-size: 16px; max-width: 38ch; margin-top: 26px; }
  .hero__cta { display: flex; gap: 12px; margin-top: 32px; }
  .btn { height: auto; padding: 15px 22px; }
  .hero__meta { margin-top: 38px; padding-top: 22px; font-size: 12.5px; }
}

/* ─────────────────────────────────────────────────────────────
   Desktop (≥ 1024px) — wide cinematic, info card, footer strip
   ───────────────────────────────────────────────────────────── */
@media (min-width: 1024px) {
  :root { --gutter: 56px; }

  .nav__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg-dim);
    margin-right: 6px;
  }
  .nav__dot {
    width: 6px; height: 6px;
    border-radius: 999px;
    background: var(--sage);
    box-shadow: 0 0 0 3px rgba(140, 170, 140, 0.18);
  }

  .hero { min-height: clamp(820px, 100vh, 1080px); }

  .hero__image img { object-position: 35% 45%; }

  /* Side gradient for desktop — darkens left side under text */
  .hero__grade {
    background: linear-gradient(
      180deg,
      rgba(10, 14, 12, 0.42) 0%,
      rgba(10, 14, 12, 0) 18%,
      rgba(10, 14, 12, 0) 72%,
      rgba(10, 14, 12, 0.55) 100%
    );
  }
  .hero__grade-side {
    display: block;
    background: linear-gradient(
      90deg,
      rgba(10, 14, 12, 0.85) 0%,
      rgba(10, 14, 12, 0.45) 38%,
      rgba(10, 14, 12, 0.05) 62%,
      rgba(10, 14, 12, 0.18) 100%
    );
  }

  .hero__content {
    margin-top: 0;
    padding: 160px var(--gutter) 0;
    max-width: 760px;
    align-self: flex-start;
  }
  .kicker { letter-spacing: 0.42em; margin-bottom: 28px; }
  .kicker__rule { width: 44px; }
  .kicker__city { display: inline; }

  .hero__title {
    font-size: clamp(72px, 7.4vw, 104px);
    letter-spacing: -0.022em;
  }
  .hero__sub {
    font-size: 17px;
    max-width: 46ch;
    margin-top: 32px;
  }

  .hero__cta { margin-top: 40px; }
  .btn { padding: 18px 26px; font-size: 14.5px; }

  /* Hide mobile meta row — desktop has the floating card + bottom strip */
  .hero__meta { display: none; }

  /* Floating info card */
  .info-card {
    display: block;
    position: absolute;
    top: 150px;
    right: var(--gutter);
    z-index: 3;
    width: 320px;
    padding: 26px;
    background: rgba(16, 22, 19, 0.78);
    border: 1px solid rgba(242, 239, 232, 0.12);
    border-radius: 18px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }
  .info-card__head {
    margin: 0 0 18px;
    font-size: 10.5px;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--sage);
  }
  .info-card__hours {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(242, 239, 232, 0.10);
  }
  .info-card__time {
    margin: 0;
    font-family: var(--serif);
    font-size: 30px;
    line-height: 1;
  }
  .info-card__sub {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--fg-quiet);
  }
  .info-card__badge {
    font-size: 10.5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(120, 160, 130, 0.18);
    color: var(--sage);
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .info-card__list {
    margin: 0;
    padding: 0;
  }
  .info-card__list div {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    border-bottom: 1px solid rgba(242, 239, 232, 0.06);
    font-size: 14px;
  }
  .info-card__list dt { color: var(--fg); margin: 0; }
  .info-card__list dd {
    margin: 0;
    color: var(--fg-dim);
    font-family: var(--serif);
    font-size: 16px;
  }
  .info-card__addr {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 18px 0 0;
    font-size: 12px;
    color: var(--fg-dim);
  }

  /* Bottom strip */
  .hero__strip {
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    bottom: 28px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1px solid rgba(242, 239, 232, 0.10);
    font-size: 11.5px;
    color: var(--fg-quiet);
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  .hero__strip-services {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    color: var(--fg-dim);
  }
  .hero__strip-services .dot { opacity: 0.3; }
}

/* ─────────────────────────────────────────────────────────────
   Wide desktop polish
   ───────────────────────────────────────────────────────────── */
@media (min-width: 1280px) {
  .hero__content { padding-top: 180px; max-width: 800px; }
  .info-card { top: 170px; }
}

/* ─────────────────────────────────────────────────────────────
   Motion preferences
   ───────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ─────────────────────────────────────────────────────────────
   Polish pass
   ───────────────────────────────────────────────────────────── */

/* Scroll lock when mobile menu is open */
body.menu-open { overflow: hidden; }

/* ── Sticky nav scrolled state ───────────────────────────────── */
.nav.is-scrolled {
  background: rgba(14, 20, 17, 0.90);
  border-bottom: 1px solid rgba(242, 239, 232, 0.07);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ── Burger icon toggle ──────────────────────────────────────── */
.icon-close { display: none; }
.nav__menu.is-active .icon-ham   { display: none; }
.nav__menu.is-active .icon-close { display: block; }

/* ── Status closed states ────────────────────────────────────── */
.nav__dot.is-closed {
  background: var(--fg-quiet);
  box-shadow: none;
}
#navStatus.is-closed { color: var(--fg-quiet); }

.hero__pill.is-closed .hero__pill-dot {
  background: var(--fg-quiet);
  box-shadow: none;
}
.hero__pill.is-closed { color: var(--fg-quiet); border-color: rgba(242, 239, 232, 0.10); }

.info-card__badge.is-closed {
  background: rgba(242, 239, 232, 0.06);
  color: var(--fg-quiet);
}

/* ── Mobile menu overlay ─────────────────────────────────────── */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(14, 20, 17, 0.97);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter) calc(var(--gutter) + env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}
.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-body { display: flex; flex-direction: column; }

.menu-link {
  display: block;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.15;
  color: var(--fg);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease;
}
.menu-link:first-child { border-top: 1px solid var(--line); }
.menu-link:active { color: var(--sage); }

@media (hover: hover) {
  .menu-link:hover { color: var(--sage); }
}

.menu-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 32px;
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.menu-phone:active { color: var(--fg); }

@media (hover: hover) {
  .menu-phone:hover { color: var(--fg); }
}

/* Hide mobile menu on tablet+ */
@media (min-width: 768px) {
  .menu-overlay { display: none !important; }
}

/* ── Info card Saturday row ──────────────────────────────────── */
.info-card__sat {
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-quiet);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(242, 239, 232, 0.06);
}

/* ── Address links ───────────────────────────────────────────── */
.info-card__addr {
  text-decoration: none;
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .info-card__addr:hover { color: var(--fg); }
}

.hero__location-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
@media (hover: hover) {
  .hero__location-link:hover { color: var(--fg); }
}

/* ── Price secondary (BGN) ───────────────────────────────────── */
.price-bgn {
  font-size: 0.8em;
  opacity: 0.48;
  font-family: var(--sans);
  font-style: normal;
}

/* ── Scroll indicator pulse ──────────────────────────────────── */
.hero__strip-scroll {
  animation: scrollPulse 3s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.48; }
  50%       { opacity: 0.9;  }
}

/* ── Mobile hero ─────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* 88svh reduces top dead zone by ~12% while body bg (#0E1411)
     matches the hero's dark bottom gradient — no visible seam below. */
  .hero       { min-height: 88vh; min-height: 88svh; }
  .hero__pill { margin-top: 68px; }

  /* margin-top: auto from base CSS anchors the block to the bottom.
     Tighten bottom padding so meta sits close above the home indicator. */
  .hero__content { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }

  /* Re-grade: dark zone starts at 50% instead of 62%.
     Every line of text now sits on the same dark velvet panel. */
  .hero__grade {
    background: linear-gradient(
      180deg,
      rgba(14, 20, 17, 0.50) 0%,
      rgba(14, 20, 17, 0.04) 20%,
      rgba(14, 20, 17, 0.06) 35%,
      rgba(10, 14, 12, 0.72) 50%,
      rgba(10, 14, 12, 0.95) 100%
    );
  }

  /* Kicker: warm off-white on dark panel = AAA contrast.
     Sage rule mark preserved via kicker__rule background: var(--sage). */
  .kicker {
    color: var(--fg);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 12px;
  }

  /* Slightly larger headline — vw-based clamp protects small screens:
     375px → ~51px · 320px → clamped back to 46px (unchanged) */
  .hero__title { font-size: clamp(46px, 13.5vw, 62px); }

  /* Tighten vertical rhythm — block reads as one composed unit */
  .hero__sub  { margin-top: 14px; }
  .hero__cta  { margin-top: 18px; }
  .hero__meta { margin-top: 16px; padding-top: 12px; }
}

/* ── Desktop nav link hover polish ──────────────────────────── */
@media (min-width: 768px) {
  .nav__links a {
    position: relative;
    padding-bottom: 2px;
  }
  .nav__links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 1px;
    background: var(--sage);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
  }
  .nav__links a:hover::after { transform: scaleX(1); }
  .nav__links a:hover { color: var(--fg); }
}
