  /* ------------- Tokens ------------- */
  :root {
    --bg: #F5F0E6;
    --bg-2: #EDE5D6;
    --bg-soft: #FBF7EE;
    --fg: #1A1714;
    --fg-2: #2E2A24;
    --muted: #6E665C;
    --muted-2: #94897C;
    --line: #DCD3C0;
    --line-2: #C9BFA9;
    --accent: oklch(0.55 0.09 38);
    --accent-soft: oklch(0.55 0.09 38 / 0.10);
    --accent-fg: #FFFFFF;
    --shadow-sm: 0 1px 2px rgba(40, 30, 20, 0.04), 0 1px 0 rgba(40, 30, 20, 0.04);
    --shadow-md: 0 8px 28px -10px rgba(40, 30, 20, 0.18), 0 2px 6px rgba(40, 30, 20, 0.06);
    --shadow-lg: 0 30px 80px -30px rgba(40, 30, 20, 0.35), 0 10px 30px -10px rgba(40, 30, 20, 0.15);
  }
  html[data-theme="dark"] {
    --bg: #14110E;
    --bg-2: #1C1814;
    --bg-soft: #1F1A15;
    --fg: #ECE5D6;
    --fg-2: #D8D0BF;
    --muted: #948A7A;
    --muted-2: #6E665C;
    --line: #2E2924;
    --line-2: #3D372F;
    --accent: oklch(0.72 0.09 38);
    --accent-soft: oklch(0.72 0.09 38 / 0.14);
    --accent-fg: #14110E;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 28px -10px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  }

  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; }
  body {
    font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--fg);
    background: var(--bg);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    transition: background-color 0.4s ease, color 0.4s ease;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
  h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
  p { margin: 0; text-wrap: pretty; }

  .serif { font-family: "Instrument Serif", "Iowan Old Style", Georgia, serif; font-weight: 400; letter-spacing: -0.02em; }
  .mono { font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace; }
  .eyebrow {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
  }
  .eyebrow .dot {
    display: inline-block; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); margin-right: 10px; vertical-align: middle;
    transform: translateY(-1px);
  }

  .wrap { max-width: 1320px; margin: 0 auto; padding: 0 36px; }
  .wrap-tight { max-width: 1100px; margin: 0 auto; padding: 0 36px; }

  /* ------------- Header ------------- */
  .site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    padding: 18px 0;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid transparent;
  }
  .site-header.scrolled {
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom-color: var(--line);
  }
  /* hero-overlay state — only at very top on hero variants where header sits on photo */
  .site-header.on-hero { color: #fff; }
  .site-header.on-hero .nav-link { color: rgba(255,255,255,0.82); }
  .site-header.on-hero .nav-link:hover { color: #fff; }
  .site-header.on-hero .brand { color: #fff; }
  .site-header.on-hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
  .site-header.on-hero .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }

  .nav {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
  }
  .brand {
    display: flex; align-items: baseline; gap: 12px;
    font-family: "Instrument Serif", serif;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--fg);
  }
  .brand-mark {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--accent);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--accent-fg);
    font-family: "Instrument Serif", serif;
    font-size: 17px;
    font-style: italic;
    transform: translateY(4px);
  }
  .brand-text { display: flex; flex-direction: column; line-height: 1; }
  .brand-text small {
    font-family: "JetBrains Mono", monospace;
    font-size: 9px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
  }

  .nav-menu {
    display: flex; gap: 28px; list-style: none; margin: 0; padding: 0;
  }
  .nav-link {
    font-size: 14px; font-weight: 500; color: var(--fg-2);
    transition: color 0.2s ease; position: relative;
  }
  .nav-link:hover { color: var(--accent); }
  .nav-link.current::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
    height: 1px; background: var(--accent);
  }

  .nav-end { display: flex; align-items: center; gap: 12px; }
  .icon-btn {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  .icon-btn:hover { background: var(--bg-2); }
  .site-header.on-hero .icon-btn:hover { background: rgba(255,255,255,0.12); }

  /* ------------- Buttons ------------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 22px;
    font-size: 14px; font-weight: 500;
    border-radius: 999px;
    transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
  }
  .btn-primary { background: var(--accent); color: var(--accent-fg); }
  .btn-primary:hover { transform: translateY(-1px); }
  .btn-dark { background: var(--fg); color: var(--bg); }
  .btn-dark:hover { transform: translateY(-1px); }
  .btn-ghost { border: 1px solid var(--line-2); color: var(--fg); }
  .btn-ghost:hover { border-color: var(--fg); }
  .btn-sm { padding: 10px 16px; font-size: 13px; }
  .btn-lg { padding: 18px 30px; font-size: 15px; }
  .btn-link {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 14px; font-weight: 500; color: var(--fg);
    border-bottom: 1px solid var(--line-2); padding-bottom: 4px;
    transition: border-color 0.2s ease, gap 0.2s ease;
  }
  .btn-link:hover { border-color: var(--accent); gap: 14px; color: var(--accent); }

  /* ------------- Hero ------------- */
  .hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    color: #fff;
    overflow: hidden;
    isolation: isolate;
  }
  .hero-bg, .hero-bg::after { position: absolute; inset: 0; }
  .hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.06);
    animation: kenburns 18s ease-out forwards;
  }
  @keyframes kenburns { to { transform: scale(1.0); } }
  .hero-bg::after {
    content: "";
    background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.12) 30%, rgba(0,0,0,0.55) 100%);
  }
  .hero-content {
    position: relative; z-index: 2;
    width: 100%;
    padding: 140px 0 80px;
    display: flex; align-items: flex-end;
  }
  .hero-content .wrap { width: 100%; }
  .hero-eyebrow {
    color: rgba(255,255,255,0.88);
    margin-bottom: 28px;
  }
  .hero-eyebrow .dot { background: #fff; }
  .hero-title {
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-size: clamp(56px, 9.5vw, 148px);
    line-height: 0.94;
    letter-spacing: -0.035em;
    max-width: 12ch;
    margin-bottom: 32px;
  }
  .hero-title em {
    font-style: italic;
    color: rgba(255,255,255,0.92);
  }
  .hero-sub {
    font-size: 18px;
    max-width: 46ch;
    color: rgba(255,255,255,0.85);
    margin-bottom: 40px;
    line-height: 1.5;
  }
  .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
  .hero .btn-ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
  .hero .btn-ghost:hover { background: rgba(255,255,255,0.12); }

  /* Hero indicator dots */
  .hero-meta {
    position: absolute; left: 36px; bottom: 40px; z-index: 3;
    display: none; /* shown in centered layout */
  }
  .hero-scroll {
    position: absolute; right: 36px; bottom: 40px; z-index: 3;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    writing-mode: vertical-rl;
    display: flex; align-items: center; gap: 12px;
  }
  .hero-scroll::after {
    content: ""; width: 1px; height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0));
  }

  /* Hero layout variants */
  .hero[data-layout="center"] .hero-content { align-items: center; text-align: center; justify-content: center; }
  .hero[data-layout="center"] .hero-title { margin-left: auto; margin-right: auto; }
  .hero[data-layout="center"] .hero-sub { margin-left: auto; margin-right: auto; }
  .hero[data-layout="center"] .hero-actions { justify-content: center; }
  .hero[data-layout="center"] .hero-eyebrow { display: flex; align-items: center; justify-content: center; }

  .hero[data-layout="split"] { display: grid; grid-template-columns: 1.05fr 1fr; }
  .hero[data-layout="split"] .hero-bg { position: absolute; left: 0; width: 55%; right: auto; }
  .hero[data-layout="split"] .hero-bg::after { background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, rgba(0,0,0,0.35) 100%); }
  .hero[data-layout="split"] { color: var(--fg); background: var(--bg); }
  .hero[data-layout="split"] .hero-content {
    grid-column: 2; padding-left: 80px; padding-right: 60px;
    align-items: center;
  }
  .hero[data-layout="split"] .hero-content .wrap { padding: 0; max-width: none; }
  .hero[data-layout="split"] .hero-eyebrow { color: var(--muted); }
  .hero[data-layout="split"] .hero-eyebrow .dot { background: var(--accent); }
  .hero[data-layout="split"] .hero-title { color: var(--fg); }
  .hero[data-layout="split"] .hero-title em { color: var(--accent); }
  .hero[data-layout="split"] .hero-sub { color: var(--muted); }
  .hero[data-layout="split"] .btn-ghost { color: var(--fg); border-color: var(--line-2); }
  .hero[data-layout="split"] .btn-ghost:hover { background: var(--bg-2); }
  .hero[data-layout="split"] .hero-scroll { color: var(--muted); }
  .hero[data-layout="split"] .hero-scroll::after { background: linear-gradient(to bottom, var(--muted), transparent); }

  @media (max-width: 900px) {
    .hero[data-layout="split"] { grid-template-columns: 1fr; }
    .hero[data-layout="split"] .hero-bg { width: 100%; opacity: 0.35; }
    .hero[data-layout="split"] .hero-content { grid-column: 1; padding: 140px 36px 80px; }
  }

  /* ------------- Booking strip ------------- */
  .booking-strip {
    position: relative; z-index: 5;
    margin: -56px auto 0;
    max-width: 1180px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto;
    gap: 4px;
  }
  .bk-field {
    display: flex; flex-direction: column;
    padding: 14px 22px;
    border-right: 1px solid var(--line);
    min-width: 0;
  }
  .bk-field:nth-last-child(2) { border-right: none; }
  .bk-field label {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
  }
  .bk-field .bk-value {
    font-size: 16px; font-weight: 500; color: var(--fg);
    display: flex; align-items: center; gap: 10px;
  }
  .bk-field .bk-value small {
    font-size: 13px; font-weight: 400; color: var(--muted);
  }
  .booking-strip .btn { margin: 4px; padding: 18px 30px; }

  @media (max-width: 800px) {
    .booking-strip { grid-template-columns: 1fr 1fr; margin-top: -40px; }
    .bk-field { border-right: none; border-bottom: 1px solid var(--line); }
    .booking-strip .btn { grid-column: span 2; margin: 8px; }
  }

  /* ------------- Sections ------------- */
  section { padding: 120px 0; position: relative; }
  section.tight { padding: 80px 0; }
  .section-head {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
    margin-bottom: 72px; align-items: end;
  }
  .section-head .lead { max-width: 36ch; color: var(--muted); font-size: 17px; line-height: 1.55; }
  .section-title {
    font-family: "Instrument Serif", serif;
    font-size: clamp(40px, 5vw, 72px);
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--fg);
  }
  .section-title em { font-style: italic; color: var(--accent); }
  .section-eyebrow { margin-bottom: 24px; }

  @media (max-width: 800px) {
    .section-head { grid-template-columns: 1fr; gap: 24px; }
    section { padding: 80px 0; }
  }

  /* ------------- About / intro ------------- */
  .about {
    background: var(--bg);
  }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1.2fr;
    gap: 80px; align-items: start;
  }
  .about-copy p { font-size: 17px; line-height: 1.65; color: var(--fg-2); margin-bottom: 20px; }
  .about-copy p:last-of-type { margin-bottom: 28px; }
  .about-meta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 14px; overflow: hidden;
    margin-top: 40px;
  }
  .about-meta > div { background: var(--bg); padding: 22px 24px; }
  .about-meta dt {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 8px;
  }
  .about-meta dd { font-size: 15px; color: var(--fg); margin: 0; line-height: 1.4; }
  .about-image-stack { position: relative; }
  .about-image-stack img {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    border-radius: 6px;
  }
  .about-image-stack .stamp {
    position: absolute; bottom: 24px; left: 24px;
    background: var(--bg);
    color: var(--fg);
    padding: 14px 18px;
    border-radius: 999px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    box-shadow: var(--shadow-md);
    display: inline-flex; align-items: center; gap: 10px;
  }
  .about-image-stack .stamp .star {
    color: var(--accent); font-size: 13px;
  }

  @media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
  }

  /* ------------- Stats ------------- */
  .stats {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 60px 0;
  }
  .stats-row {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 40px;
  }
  .stat-item { display: flex; flex-direction: column; gap: 8px; }
  .stat-value {
    font-family: "Instrument Serif", serif;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1; letter-spacing: -0.03em;
    color: var(--fg);
    display: flex; align-items: baseline; gap: 4px;
  }
  .stat-value sub { font-size: 0.35em; color: var(--accent); font-family: "Hanken Grotesk", sans-serif; }
  .stat-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted);
  }
  @media (max-width: 700px) {
    .stats-row { grid-template-columns: 1fr 1fr; gap: 28px; }
  }

  /* ------------- Rooms ------------- */
  .rooms { background: var(--bg-soft); }
  .rooms-list { display: flex; flex-direction: column; gap: 110px; }
  .room {
    display: grid; grid-template-columns: 1.25fr 1fr;
    gap: 70px; align-items: center;
  }
  .room.reverse { grid-template-columns: 1fr 1.25fr; }
  .room.reverse .room-media { order: 2; }
  .room-media { position: relative; }
  .room-media .room-img-wrap {
    overflow: hidden; border-radius: 8px;
    aspect-ratio: 4/3;
  }
  .room-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .room:hover .room-media img { transform: scale(1.04); }
  .room-badge {
    position: absolute; top: 20px; left: 20px;
    background: rgba(255,255,255,0.95);
    color: var(--fg);
    padding: 8px 14px; border-radius: 999px;
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  }
  .room-num {
    font-family: "Instrument Serif", serif;
    font-size: 24px; font-style: italic;
    color: var(--accent);
    margin-bottom: 16px;
    display: block;
  }
  .room-name {
    font-family: "Instrument Serif", serif;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1.0; letter-spacing: -0.025em;
    color: var(--fg);
    margin-bottom: 20px;
  }
  .room-desc {
    font-size: 16px; line-height: 1.6; color: var(--muted);
    margin-bottom: 28px; max-width: 42ch;
  }
  .room-specs {
    display: flex; flex-wrap: wrap; gap: 28px;
    margin-bottom: 32px;
    padding: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .room-spec { display: flex; flex-direction: column; gap: 4px; }
  .room-spec .label {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted);
  }
  .room-spec .value { font-size: 16px; font-weight: 500; color: var(--fg); }
  .room-price {
    font-family: "Instrument Serif", serif;
    font-size: 42px; line-height: 1; color: var(--fg);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
  }
  .room-price small { font-size: 14px; color: var(--muted); font-family: "Hanken Grotesk", sans-serif; letter-spacing: 0; margin-left: 6px; }
  .room-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

  @media (max-width: 900px) {
    .room, .room.reverse { grid-template-columns: 1fr; gap: 32px; }
    .room.reverse .room-media { order: 0; }
    .rooms-list { gap: 80px; }
  }

  /* ------------- Amenities ------------- */
  .amenities { background: var(--bg); }
  .amen-grid {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  .amen-item {
    padding: 36px 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 16px;
    transition: background 0.2s ease;
  }
  .amen-item:hover { background: var(--bg-soft); }
  .amen-icon {
    width: 38px; height: 38px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--accent);
  }
  .amen-icon svg { width: 28px; height: 28px; stroke-width: 1.4; }
  .amen-name { font-size: 16px; font-weight: 500; color: var(--fg); }
  .amen-note { font-size: 13px; color: var(--muted); line-height: 1.5; }

  @media (max-width: 900px) { .amen-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (max-width: 560px) { .amen-grid { grid-template-columns: repeat(2, 1fr); } }

  /* ------------- Gallery ------------- */
  .gallery { background: var(--bg-soft); }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 110px;
    gap: 14px;
  }
  .gallery-cell {
    overflow: hidden; border-radius: 6px;
    position: relative;
  }
  .gallery-cell img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
  }
  .gallery-cell:hover img { transform: scale(1.05); }
  .gallery-cell::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.18) 100%);
    opacity: 0; transition: opacity 0.3s ease;
  }
  .gallery-cell:hover::after { opacity: 1; }

  .gc-a { grid-column: span 5; grid-row: span 4; }
  .gc-b { grid-column: span 4; grid-row: span 4; }
  .gc-c { grid-column: span 3; grid-row: span 2; }
  .gc-d { grid-column: span 3; grid-row: span 2; }
  .gc-e { grid-column: span 4; grid-row: span 3; }
  .gc-f { grid-column: span 8; grid-row: span 3; }

  @media (max-width: 800px) {
    .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 90px; }
    .gc-a { grid-column: span 6; grid-row: span 3; }
    .gc-b { grid-column: span 3; grid-row: span 2; }
    .gc-c { grid-column: span 3; grid-row: span 2; }
    .gc-d { grid-column: span 3; grid-row: span 2; }
    .gc-e { grid-column: span 3; grid-row: span 2; }
    .gc-f { grid-column: span 6; grid-row: span 2; }
  }

  /* ------------- Testimonials ------------- */
  .testimonials { background: var(--bg); }
  .testi-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
  }
  .testi-photo {
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 8px;
  }
  .testi-photo img { width: 100%; height: 100%; object-fit: cover; }
  .testi-quote {
    font-family: "Instrument Serif", serif;
    font-size: clamp(28px, 2.6vw, 38px);
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--fg);
    margin-bottom: 36px;
  }
  .testi-quote::before {
    content: "“";
    display: block;
    font-size: 100px;
    line-height: 0.5;
    color: var(--accent);
    margin-bottom: 18px;
    margin-left: -8px;
  }
  .testi-meta {
    display: flex; align-items: center; gap: 16px;
    padding-top: 28px; border-top: 1px solid var(--line);
  }
  .testi-stars { color: var(--accent); letter-spacing: 2px; font-size: 14px; }
  .testi-name { font-size: 15px; font-weight: 500; color: var(--fg); }
  .testi-place { font-size: 13px; color: var(--muted); }
  .testi-divider { width: 1px; height: 28px; background: var(--line); }
  .testi-nav {
    display: flex; gap: 8px; margin-top: 32px;
    align-items: center;
  }
  .testi-nav button {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line-2);
    display: inline-flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
  }
  .testi-nav button:hover { background: var(--bg-2); border-color: var(--fg); }
  .testi-counter {
    font-family: "JetBrains Mono", monospace;
    font-size: 12px; color: var(--muted); margin-left: 12px;
    letter-spacing: 0.12em;
  }

  @media (max-width: 800px) {
    .testi-wrap { grid-template-columns: 1fr; gap: 36px; }
  }

  /* ------------- Nearby ------------- */
  .nearby { background: var(--bg-soft); }
  .nearby-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .nearby-card {
    position: relative; overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 3/4;
    color: #fff;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 32px;
  }
  .nearby-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
    z-index: 0;
  }
  .nearby-card:hover img { transform: scale(1.05); }
  .nearby-card::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 30%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
  }
  .nearby-card > * { position: relative; z-index: 2; }
  .nearby-distance {
    align-self: flex-start;
    background: rgba(255,255,255,0.94);
    color: var(--fg);
    padding: 8px 14px; border-radius: 999px;
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
    margin-bottom: auto;
  }
  .nearby-name {
    font-family: "Instrument Serif", serif;
    font-size: 30px; line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
  }
  .nearby-desc { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.85); max-width: 32ch; }
  @media (max-width: 800px) { .nearby-grid { grid-template-columns: 1fr; } }

  /* ------------- Contact ------------- */
  .contact { background: var(--bg); }
  .contact-grid {
    display: grid; grid-template-columns: 1fr 1.1fr;
    gap: 80px; align-items: start;
  }
  .contact-info p { color: var(--muted); font-size: 17px; line-height: 1.6; margin-bottom: 36px; max-width: 38ch; }
  .contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 24px; }
  .contact-item {
    display: grid; grid-template-columns: 22px 1fr; gap: 20px;
    padding-bottom: 24px; border-bottom: 1px solid var(--line);
  }
  .contact-item:last-child { border-bottom: none; }
  .contact-item svg { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
  .contact-item .ci-label {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
  }
  .contact-item .ci-value { font-size: 16px; color: var(--fg); line-height: 1.5; }
  .contact-item .ci-value a:hover { color: var(--accent); }

  .contact-form {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 36px;
  }
  .contact-form h3 {
    font-family: "Instrument Serif", serif;
    font-size: 28px;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
  }
  .contact-form .form-lead { color: var(--muted); font-size: 14px; margin-bottom: 28px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
  .form-field { display: flex; flex-direction: column; }
  .form-field.full { grid-column: span 2; }
  .form-field label {
    font-family: "JetBrains Mono", monospace;
    font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 8px;
  }
  .form-field input, .form-field textarea {
    width: 100%;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 14px 16px;
    font: inherit; color: var(--fg);
    transition: border-color 0.2s ease, background 0.2s ease;
  }
  .form-field input:focus, .form-field textarea:focus {
    outline: none; border-color: var(--accent);
    background: var(--bg-soft);
  }
  .form-field textarea { resize: vertical; min-height: 120px; }

  @media (max-width: 800px) {
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .form-row { grid-template-columns: 1fr; }
    .form-field.full { grid-column: span 1; }
  }

  /* ------------- Footer ------------- */
  .site-footer {
    background: var(--fg);
    color: var(--bg-soft);
    padding: 100px 0 40px;
    position: relative;
  }
  html[data-theme="dark"] .site-footer {
    background: #0B0907;
    color: var(--fg-2);
  }
  /* Footer text colors that use --bg-soft resolve to dark in dark mode —
     override them since the footer is always dark-bg and text must stay light. */
  html[data-theme="dark"] .footer-brand,
  html[data-theme="dark"] .footer-tagline {
    color: var(--fg-2);
  }
  .footer-top {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }
  .footer-brand { color: var(--bg-soft); }
  .footer-brand .brand-mark { background: var(--accent); }
  .footer-tagline {
    font-family: "Instrument Serif", serif;
    font-size: 26px; line-height: 1.25; letter-spacing: -0.02em;
    margin-top: 24px; margin-bottom: 28px;
    color: var(--bg-soft);
    max-width: 22ch;
  }
  .footer-tagline em { font-style: italic; color: var(--accent); }
  .footer-col h5 {
    font-family: "JetBrains Mono", monospace;
    font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 22px;
  }
  .footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
  .footer-col a {
    font-size: 14px; color: rgba(255,255,255,0.85);
    transition: color 0.2s ease;
  }
  .footer-col a:hover { color: var(--accent); }
  .footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; flex-wrap: wrap; gap: 16px;
    color: rgba(255,255,255,0.5); font-size: 13px;
  }
  .footer-bottom .social { display: flex; gap: 12px; }
  .footer-bottom .social a {
    width: 36px; height: 36px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  }
  .footer-bottom .social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

  @media (max-width: 900px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  }

  /* ------------- Floating book CTA on scroll ------------- */
  .float-book {
    position: fixed; right: 24px; bottom: 24px; z-index: 40;
    box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .float-book.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

  /* ------------- Reveal on scroll ------------- */
  .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .reveal.in { opacity: 1; transform: translateY(0); }

  /* Mobile nav */
  @media (max-width: 900px) {
    .nav-menu { display: none; }
    .nav-end .btn-ghost { display: none; }
  }

/* ------------- Mini room cards ------------- */
.mini-room {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 28px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.mini-room-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 8px;
}
.mini-room-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2,0.7,0.2,1);
}
.mini-room:hover .mini-room-img img { transform: scale(1.04); }
.mini-room-info { display: flex; flex-direction: column; }
.mini-num { font-size: 16px; margin-bottom: 10px; }
.mini-name { font-size: 24px; margin-bottom: 10px; line-height: 1.05; }
.mini-desc { font-size: 14px; margin-bottom: 14px; color: var(--muted); }
.mini-price { font-size: 24px; margin: 0 0 18px; }
.mini-price .cur { font-size: 0.55em; }
.mini-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.mini-link { font-size: 13px; }

/* Mini CTA — promo card variant. Visually matches regular mini-rooms;
   differentiated only by the "Posebna ponuda" badge on the image and the
   CTA-styled action link in place of price + Detaljnije/Rezerviši pair. */
.mini-cta-img { position: relative; }
.mini-cta-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent);
  color: var(--accent-fg);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 1;
}
.mini-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  align-self: flex-start;
  margin-top: 4px;
  transition: transform 0.15s ease;
}
.mini-cta:hover .mini-cta-link { transform: translateY(-1px); }

@media (max-width: 600px) {
  .mini-room { grid-template-columns: 1fr; gap: 16px; }
}


/* ------------- Contact form status ------------- */
.form-status {
  margin-top: 16px;
  padding: 0;
  font-size: 14px;
  line-height: 1.55;
  border-radius: 10px;
  transition: padding 0.25s ease, max-height 0.3s ease;
  max-height: 0;
  overflow: hidden;
}
.form-status:not(:empty) {
  padding: 14px 18px;
  max-height: 240px;
}
.form-status strong { display: inline-block; margin-right: 4px; }
.form-status code {
  background: rgba(0,0,0,0.08);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
}
.form-status.success {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--fg);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.form-status.error {
  background: color-mix(in srgb, oklch(0.55 0.18 25) 12%, transparent);
  color: var(--fg);
  border: 1px solid color-mix(in srgb, oklch(0.55 0.18 25) 35%, transparent);
}
.form-status.warn {
  background: color-mix(in srgb, oklch(0.7 0.13 80) 18%, transparent);
  color: var(--fg);
  border: 1px solid color-mix(in srgb, oklch(0.7 0.13 80) 35%, transparent);
}

#contactSubmit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* ------------- Booking strip widget ------------- */
.bk-field { position: relative; }
.bk-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
  display: block;
}

/* Date field — native input overlaid invisibly */
.bk-date { cursor: pointer; }
.bk-input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
  border: 0;
  font: inherit;
  z-index: 2;
  /* Make sure the native picker icon area is clickable across the whole field */
}
/* Hide native calendar-icon glyph since we draw our own */
.bk-input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}
.bk-date:hover .bk-value,
.bk-guests-btn:hover {
  color: var(--accent);
}
.bk-value {
  font-size: 16px; font-weight: 500; color: var(--fg);
  display: flex; align-items: center; gap: 10px;
  transition: color 0.2s ease;
  text-align: left;
  width: 100%;
}
.bk-value .bk-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Guests button */
.bk-guests-btn {
  background: none; border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.bk-guests-field { position: relative; }

/* Popover */
.bk-popover {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 320px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  display: none;
  flex-direction: column;
  gap: 6px;
}
.bk-popover.open {
  display: flex;
  animation: bkFadeIn 0.2s ease;
}
@keyframes bkFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.bk-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.bk-row:nth-last-child(2) { border-bottom: none; }
.bk-row-label { font-size: 15px; color: var(--fg); font-weight: 500; }
.bk-row-hint { font-size: 12px; color: var(--muted); margin-top: 2px; }

.bk-stepper {
  display: flex; align-items: center; gap: 6px;
}
.bk-stepper button {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--fg);
  font-size: 18px;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}
.bk-stepper button:hover:not(:disabled) {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
}
.bk-stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.bk-count {
  min-width: 24px; text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  color: var(--fg);
}

.bk-pop-close {
  margin-top: 8px;
  padding: 12px;
  width: 100%;
  background: var(--fg);
  color: var(--bg);
  border: 0; border-radius: 999px;
  font: inherit; font-weight: 500; font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.bk-pop-close:hover { opacity: 0.9; }

@media (max-width: 800px) {
  .bk-popover {
    right: 8px; left: 8px;
    min-width: 0;
  }
}


/* ------------- Dark-mode fix for shared CTA panel ------------- */
/* .cta-panel uses background: var(--fg) which is dark on both themes,
   and color: var(--bg). In dark mode --bg is dark too — text becomes
   unreadable. Force text/button color to a light hue. */
html[data-theme="dark"] .cta-panel,
html[data-theme="dark"] .cta-panel h2,
html[data-theme="dark"] .cta-panel .btn-light {
  color: var(--fg-2);
}
html[data-theme="dark"] .cta-panel h2 em {
  color: var(--accent);
}


/* ------------- Mobile nav drawer ------------- */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center; justify-content: center;
  position: relative;
  color: inherit;
  flex-shrink: 0;
}
.hamburger span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 19px; }
.hamburger span:nth-child(3) { top: 24px; }
.hamburger.is-open span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .hamburger { display: inline-flex; }
  /* Hide just the phone-number ghost button on mobile so the hamburger fits;
     theme toggle stays. Override the existing rule with same selector. */
  .nav-end .btn-ghost { display: none; }
}

.mobile-nav {
  position: fixed; inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-nav.open { visibility: visible; opacity: 1; }
.mobile-nav-backdrop {
  position: absolute; inset: 0;
  background: rgba(15, 12, 10, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.mobile-nav-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(86vw, 380px);
  height: 100dvh;
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 60px -20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  padding: 28px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  overflow-y: auto;
}
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px;
}
.mobile-nav-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mobile-nav-close:hover { background: var(--bg-2); border-color: var(--fg); }
.mobile-nav-list {
  list-style: none; padding: 0; margin: 0 0 28px;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--line);
}
.mobile-nav-list li { border-bottom: 1px solid var(--line); }
.mobile-nav-list a {
  display: block;
  padding: 18px 0;
  font-family: "Instrument Serif", serif;
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--fg);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-nav-list a:hover, .mobile-nav-list a.current {
  color: var(--accent);
  padding-left: 6px;
}
.mobile-nav-list .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-right: 12px;
}
.mobile-nav-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.mobile-nav-foot a.tel {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  color: var(--fg);
  margin-bottom: 6px;
}
.mobile-nav-foot small {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}




/* ------------- Contact map (homepage) ------------- */
.contact-map {
  margin-top: 60px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.contact-map iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
  filter: grayscale(0.25);
}
html[data-theme="dark"] .contact-map iframe {
  filter: grayscale(0.5) invert(0.92);
}
.contact-map-pin {
  position: absolute;
  left: 24px; bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  color: var(--fg);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.contact-map-pin:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}
.contact-map-pin svg:first-of-type { color: var(--accent); }
.contact-map-pin span { color: var(--muted); }

@media (max-width: 600px) {
  .contact-map iframe { height: 320px; }
  .contact-map-pin {
    left: 16px; right: 16px; bottom: 16px;
    justify-content: center;
    font-size: 13px;
  }
}
