/* Aska Overlook — askaoverlook.com
   Layout concept: photo-led and left-aligned on a 1200px frame; the "three levels" section steps right like terraces down the hillside.
   Palette and type follow the Aska Overlook brand standard (forest, cream, sage, burnt orange; Cormorant Garamond + Jost). */
:root {
  --forest: #1E3B2F;
  --forest-deep: #152A21;
  --cream: #F3EEE3;
  --paper: #FAF6EE;
  --sage: #7D9580;
  --sage-soft: #CDD6CA;
  --ember: #B8561F;
  --ember-ink: #A0471A;
  --ink: #1F2B25;
  --muted: #57645B;
  --line: #DCD3C2;
  --on-forest: #F3EEE3;
  --on-forest-muted: #C3CEC2;
  --shade: rgba(16, 32, 25, 0.62);

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  --t-small: 0.875rem;
  --t-body: 1.0625rem;
  --t-lede: 1.25rem;
  --t-h3: 1.65rem;
  --t-h2: clamp(2.1rem, 3.6vw, 3rem);
  --t-h1: clamp(2.6rem, 5.4vw, 4.75rem);

  --wrap: 1200px;
  --gap: clamp(20px, 3vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--ember); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.15; }
p { margin: 0; }
.prose { max-width: 36rem; display: grid; gap: 1em; }
.lede { font-size: var(--t-lede); line-height: 1.55; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--paper); padding: 8px 14px; }

.wrap {
  max-width: calc(var(--wrap) + 2 * 16px);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 700px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
.section { padding-block: var(--section); }
.band-forest { background: var(--forest); color: var(--on-forest); }
.band-forest .muted { color: var(--on-forest-muted); }
.band-paper { background: var(--paper); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px;
  font-family: var(--body); font-weight: 500; font-size: 1rem; letter-spacing: 0.01em;
  text-decoration: none; border-radius: 3px; border: 1px solid transparent;
  cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-ember { background: var(--ember-ink); color: var(--cream); }
.btn-ember:hover { background: var(--ember); text-decoration: none; }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgba(243, 238, 227, 0.12); text-decoration: none; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.95rem; }
.text-link { font-weight: 500; text-decoration: underline; }

/* Header */
.site-header { background: var(--forest); color: var(--on-forest); position: relative; z-index: 20; }
.site-header.overlay { background: transparent; position: absolute; inset: 0 0 auto; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--on-forest); }
.brand img { width: 46px; height: 46px; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.2em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 420px) { .brand { gap: 10px; } .brand img { width: 38px; height: 38px; } .brand-word { font-size: 0.92rem; letter-spacing: 0.16em; } }
.nav { display: none; align-items: center; gap: 28px; font-size: 0.98rem; }
.nav a:not(.btn) { text-decoration: none; color: var(--on-forest); padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--ember); }
.menu { position: relative; }
.menu summary {
  list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 8px;
  padding: 0 14px; border: 1px solid rgba(243, 238, 227, 0.5); border-radius: 3px; font-weight: 500;
}
.menu summary::-webkit-details-marker { display: none; }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px;
  background: var(--paper); color: var(--ink); border-radius: 4px; padding: 10px;
  box-shadow: 0 14px 40px rgba(16, 32, 25, 0.28); display: grid;
}
.menu-panel a { padding: 10px 12px; text-decoration: none; border-radius: 3px; }
.menu-panel a:hover { background: var(--cream); }
.menu-panel .btn { margin-top: 6px; }
@media (min-width: 980px) { .nav { display: flex; } .menu { display: none; } }

/* Hero */
.hero { position: relative; color: var(--on-forest); background: var(--forest-deep); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,32,25,0.55) 0%, rgba(16,32,25,0) 22%),
    linear-gradient(0deg, rgba(16,32,25,0.86) 0%, rgba(16,32,25,0.5) 45%, rgba(16,32,25,0.1) 75%);
}
@media (min-width: 980px) {
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(16,32,25,0.55) 0%, rgba(16,32,25,0) 22%),
      linear-gradient(90deg, rgba(16,32,25,0.7) 0%, rgba(16,32,25,0.25) 50%, rgba(16,32,25,0) 70%),
      linear-gradient(0deg, rgba(16,32,25,0.8) 0%, rgba(16,32,25,0.2) 45%, rgba(16,32,25,0) 70%);
  }
}
.hero-inner {
  position: relative; display: grid; gap: 28px; align-items: end;
  padding-top: clamp(130px, 22vh, 220px); padding-bottom: 32px;
}
.hero-copy { display: grid; gap: 18px; max-width: 40rem; }
.hero-copy h1 { color: var(--cream); }
.hero-copy .lede { color: var(--cream); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr) 360px; min-height: min(88vh, 840px); padding-bottom: 56px; }
}

/* Booking card (the one floating object on the page) */
.book-card {
  background: var(--paper); color: var(--ink); border-radius: 4px;
  padding: 22px 22px 18px; box-shadow: 0 18px 50px rgba(10, 22, 17, 0.35);
  display: grid; gap: 12px; width: 100%; max-width: 420px;
}
.book-card h2 { font-size: 1.85rem; }
.book-card .note { font-size: var(--t-small); color: var(--muted); line-height: 1.5; }
.widget-slot { min-height: 120px; display: grid; }
.widget-slot iframe { max-width: 100%; }
.widget-status { font-size: var(--t-small); color: var(--muted); align-self: center; }
.widget-fallback { display: grid; gap: 12px; align-content: start; }
.widget-fallback p { font-size: var(--t-small); color: var(--muted); }
.book-card .foot { font-size: var(--t-small); color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.book-card .foot a { color: var(--ink); }

/* Facts band */
.facts { padding-block: clamp(40px, 6vw, 72px); }
.facts p {
  font-family: var(--display); font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.32; max-width: 46rem; color: var(--cream);
}

/* Two-column story blocks */
.split { display: grid; gap: var(--gap); align-items: center; }
.split figure { margin: 0; }
.split figcaption, .mosaic figcaption { font-size: var(--t-small); color: var(--muted); margin-top: 10px; line-height: 1.5; }
.band-forest figcaption { color: var(--on-forest-muted); }
.split .prose h2 { margin-bottom: 0.15em; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .split.flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .split.flip > figure { order: -1; }
}
.photo { border-radius: 3px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Three levels — the terrace stack */
.levels-head { display: grid; gap: 14px; max-width: 40rem; margin-bottom: clamp(32px, 5vw, 56px); }
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.level {
  display: grid; gap: 18px 28px; padding: 26px 0 30px 22px;
  border-top: 2px solid var(--sage); border-left: 2px solid var(--sage);
}
.level:last-child { border-bottom: 2px solid var(--sage); }
.level-name { display: grid; gap: 4px; align-content: start; }
.level-name h3 { font-size: 1.9rem; }
.sleeps { font-family: var(--body); font-size: 0.95rem; font-weight: 500; color: var(--ember-ink); font-variant-numeric: tabular-nums; }
.level-body { display: grid; gap: 0.8em; max-width: 34rem; }
.level img { border-radius: 3px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.levels-total { margin-top: 22px; font-family: var(--display); font-size: 1.5rem; font-weight: 600; }
@media (min-width: 900px) {
  .level { grid-template-columns: 200px minmax(0, 1fr) 300px; align-items: start; padding: 30px 0 34px 30px; }
  .level:nth-child(2) { margin-left: 7%; }
  .level:nth-child(3) { margin-left: 14%; }
  .levels-total { margin-left: 14%; }
}

/* Outdoor mosaic */
.mosaic { display: grid; gap: 18px; margin-top: clamp(28px, 4vw, 48px); }
.mosaic figure { margin: 0; display: grid; align-content: start; }
.mosaic img { border-radius: 3px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mosaic .big { grid-column: span 2; grid-row: span 2; }
  .mosaic .big img { aspect-ratio: auto; height: calc(100% - 3.4em); min-height: 420px; }
}
.also { margin-top: 28px; max-width: 46rem; }

/* Location list */
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 22px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: var(--ember); }

/* Photo strip on home */
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.strip img { border-radius: 3px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 800px) { .strip { grid-template-columns: repeat(6, minmax(0, 1fr)); } .strip img { aspect-ratio: 3 / 4; } }
.row-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; }

/* Booking direct */
.direct { display: grid; gap: var(--gap); }
.direct .contact { font-size: var(--t-lede); }
.phone { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) { .direct { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }

/* Inner pages */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 44px); display: grid; gap: 16px; }
.page-head .lede { max-width: 40rem; color: var(--muted); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.jump a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.95rem; background: var(--paper); }
.jump a:hover { border-color: var(--ember); }

.gallery-group { padding-block: 12px 48px; scroll-margin-top: 20px; }
.gallery-group h2 { font-size: 2rem; margin-bottom: 16px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 3px; overflow: hidden; display: block; }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .25s ease; }
.gallery button:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .gallery img { transition: none; } .gallery button:hover img { transform: none; } }

.lightbox { border: 0; padding: 0; margin: auto; width: min(1200px, 100vw); max-width: 100vw; max-height: 100vh; background: transparent; color: var(--cream); }
.lightbox::backdrop { background: rgba(12, 22, 17, 0.92); }
.lightbox figure { margin: 0; display: grid; gap: 10px; padding: 12px max(16px, env(safe-area-inset-left, 0px)); }
.lightbox img { width: 100%; max-height: calc(100vh - 150px); object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 0.95rem; color: var(--on-forest-muted); }
.lb-controls { display: flex; justify-content: center; gap: 10px; padding-bottom: max(12px, env(safe-area-inset-bottom, 0px)); }
.lb-controls button { min-height: 44px; padding: 0 18px; border-radius: 3px; border: 1px solid rgba(243, 238, 227, 0.45); background: transparent; color: var(--cream); font: 500 0.95rem var(--body); cursor: pointer; }
.lb-controls button:hover { background: rgba(243, 238, 227, 0.12); }

.area-group { padding-block: 8px 44px; display: grid; gap: 22px; }
.area-group > h2 { font-size: 2.1rem; }
.places { display: grid; gap: 26px 40px; }
@media (min-width: 800px) { .places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.place { display: grid; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.place h3 { font-size: 1.5rem; }

.info { display: grid; gap: 8px 48px; padding-block: 8px 44px; }
.info > h2 { font-size: 2.1rem; margin-bottom: 8px; }
.info dl { margin: 0; display: grid; gap: 0; }
.info dt { font-weight: 500; padding-top: 16px; border-top: 1px solid var(--line); }
.info dd { margin: 4px 0 16px; color: var(--ink); max-width: 44rem; }
@media (min-width: 860px) {
  .info dl { grid-template-columns: 240px minmax(0, 1fr); }
  .info dt, .info dd { padding-top: 16px; border-top: 1px solid var(--line); margin: 0; padding-bottom: 16px; }
  .info dd { padding-left: 16px; }
}

.book-layout { display: grid; gap: var(--gap); padding-bottom: var(--section); align-items: start; }
.book-layout .book-card { box-shadow: 0 10px 30px rgba(16, 32, 25, 0.14); }
@media (min-width: 900px) { .book-layout { grid-template-columns: 400px minmax(0, 1fr); } }
.terms { display: grid; gap: 16px; max-width: 40rem; }
.terms h2 { font-size: 2rem; }
.terms ul { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }

/* Footer */
.site-footer { background: var(--forest-deep); color: var(--on-forest); padding-block: 56px 40px; }
.foot-grid { display: grid; gap: 28px; }
.foot-logo { width: 150px; }
.site-footer a { color: var(--on-forest); }
.site-footer .muted { color: var(--on-forest-muted); }
.foot-links { display: grid; gap: 6px; }
.foot-small { font-size: var(--t-small); color: var(--on-forest-muted); margin-top: 28px; border-top: 1px solid rgba(243, 238, 227, 0.16); padding-top: 18px; display: grid; gap: 4px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 200px repeat(3, minmax(0, 1fr)); } }

/* Mobile book bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--forest); color: var(--cream);
  padding: 10px max(16px, env(safe-area-inset-right, 0px)) max(10px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  box-shadow: 0 -6px 20px rgba(10, 22, 17, 0.25);
}
.mobile-bar span { font-size: 0.92rem; color: var(--on-forest-muted); line-height: 1.3; }
.mobile-bar .btn { white-space: nowrap; flex: none; }
.has-bar { padding-bottom: 72px; }
@media (min-width: 980px) { .mobile-bar { display: none; } .has-bar { padding-bottom: 0; } }
