/* ================================
   LIGHT THEME — warm & photo-first
================================ */
:root{
  --bg: #f6f3ee;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --text: #1f2937;
  --muted: #6b7280;

  /* from the facade photo */
  --accent: #b4533a;

  --line: rgba(17, 24, 39, 0.10);
  --line-2: rgba(17, 24, 39, 0.06);

  --shadow: 0 18px 50px rgba(17, 24, 39, 0.10);
  --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.08);

  --radius: 20px;
  --gap: clamp(16px, 2.2vw, 28px);
}

*{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  max-width: 100%;
  overflow-x: clip; /* anti horizontal scroll */
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

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

.container{ width:min(1120px, 92vw); margin:0 auto; }

h1{
  margin:10px 0 8px;
  font-size:clamp(20px, 4vw, 40px);
  letter-spacing:-.03em;
}
h2{
  margin:0 0 10px;
  font-size:clamp(22px, 2.4vw, 32px);
  letter-spacing:-.02em;
}
h3{
  margin:0 0 10px;
  font-size:18px;
  letter-spacing:-.01em;
}
p{ margin:0; line-height:1.7; }

p, h1, h2, h3, a, li {
  overflow-wrap: anywhere;
}

.muted{ color: var(--muted); }
.tiny{ font-size: 12px; }

/* ================================
   SECTIONS / LAYOUT
================================ */
.section{ padding:64px 0; }
.section--alt{
  background: rgba(255,255,255,0.55);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  min-width: 0;
}
.grid > * { min-width: 0; }

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

/* ================================
   UI
================================ */
.pill{
  display:inline-block;
  padding:7px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:12px;
  letter-spacing:0.12em;
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(6px);
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,0.75);
  cursor:pointer;
  font-weight:650;
  text-decoration:none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(17,24,39,0.10);
}
.btn--primary{
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}
.btn--ghost{ background: rgba(255,255,255,0.65); }
.btn--ghost:hover{ background: rgba(255,255,255,0.90); }

.cta{ display:flex; gap:12px; flex-wrap:wrap; min-width:0; }
.mini-cta{ margin-top:14px; }

.card{
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  min-width: 0;
}
.card--soft{
  background: var(--surface-2);
  box-shadow:none;
}

.facts, .bullets{
  padding-left: 18px;
  margin: 10px 0 0;
  line-height: 1.9;
}

/* ================================
   HERO FULLSCREEN
================================ */
.hero--fullscreen{
  position: relative;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--line-2);
}

/* media wrapper (desktop overlays fullscreen, mobile becomes normal block) */
.hero__media{
  position:absolute;
  inset:0;
}

.hero__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter: saturate(1.02) contrast(1.02);
}

.hero__overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(246,243,238,0.0) 0%,
    rgba(246,243,238,0.15) 60%,
    rgba(246,243,238,0.75) 90%,
    rgba(246,243,238,0.92) 100%
  );
  pointer-events: none;
}

.hero__content{
  position:relative;
  z-index:2;
  padding: 56px 0;
  padding-bottom: clamp(90px, 14vh, 150px);
  max-width: 760px;
  min-width: 0;

  /* safe-area support */
  padding-left: max(0px, env(safe-area-inset-left));
  padding-right: max(0px, env(safe-area-inset-right));
}
.subtitle{ margin:0 0 18px; color: rgba(31,41,55,0.85); }

/* Mobile hero fix (iPhone 12 Pro etc.) */
@media (max-width: 600px){
  .hero--fullscreen{
    position: relative;
    /*height: auto;*/
    min-height: 0;
    display: block;
    background: var(--bg);
    overflow: visible;
    padding-bottom: 0;
  }

  /* video becomes normal top block */
  .hero__media{
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #00000000;
    /*border-bottom: 1px solid var(--line-2);*/
  }

  .hero__video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero__overlay{
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(
      180deg,
      rgba(246,243,238,0.0) 0%,
      rgba(246,243,238,0.15) 70%,
      rgb(246, 243, 238) 99%,
      rgb(246, 243, 238) 100%
    );
    z-index: 1;
    margin-bottom: -10px;
  }

  /* content becomes centered block under video */
  .hero__content{
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 5px auto 0; /* slightly tucks into fade */
    text-align: center;

    /*background: rgba(255,255,255,0.72);
    border: 1px solid var(--line-2);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);*/

    padding: 16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__content .pill{
    margin-inline: auto;
  }

  .hero__content .subtitle{
    margin: 8px auto 16px;
    max-width: 34ch;
  }

  .hero__content .cta{
    justify-content: center;
    gap: 10px;
  }

  .hero__content .btn{
    width: 100%;
    max-width: 320px;
  }

  /* Scroll indicator not needed on stacked mobile hero */
  .scroll-indicator{
    display: none;
  }
}

/* Extra-small phones */
@media (max-width: 430px){
  .container,
  .story-block {
    width: min(1120px, 94vw);
  }

  h1{
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .hero__content{
    padding-top: 5px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .hero__content h1{
    font-size: clamp(25px, 1vw, 1px);
    line-height: 1.08;
    margin-top: 5px;
  }

  .hero__content .subtitle{
    font-size: 14px;
    line-height: 1.5;
  }

  .hero__content .cta{
    flex-direction: column;
    align-items: center;
  }

  .hero__content .btn{
    padding: 12px 14px;
  }

  .scroll-indicator__text{
    font-size: 11px;
    letter-spacing: 0.10em;
  }

  .story-block__text,
  .card {
    padding-left: 16px;
    padding-right: 16px;
  }

  .carousel__btn--prev { left: 8px; }
  .carousel__btn--next { right: 8px; }

  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

/* Scroll indicator */
.scroll-indicator{
  position:absolute;
  z-index: 3;
  left:50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color: rgba(31,41,55,0.85);
  text-decoration:none;
  font-size:12px;
  letter-spacing:.12em;
  text-transform: uppercase;
  transition: opacity 400ms ease;
}
.scroll-indicator__text{ opacity: .85; }
.scroll-indicator__mouse{
  width:22px;
  height:34px;
  border:1.5px solid rgba(31,41,55,.55);
  border-radius:999px;
  position:relative;
  background: rgba(255,255,255,0.35);
}
.scroll-indicator__dot{
  width:4px; height:4px;
  background: rgba(31,41,55,.9);
  border-radius:50%;
  position:absolute;
  left:50%; top:7px;
  transform:translateX(-50%);
  animation: scroll-dot 1.8s infinite;
}
@keyframes scroll-dot{
  0%   { opacity:0; transform:translate(-50%, 0); }
  30%  { opacity:1; }
  60%  { opacity:1; transform:translate(-50%, 12px); }
  100% { opacity:0; transform:translate(-50%, 18px); }
}

/* ================================
   STORY
================================ */
.story{ padding: 56px 0 22px; }
.story__intro{ padding-bottom: 10px; }
.story__intro p{ margin-top: 6px; }

.story-block{
  width:min(1120px, 92vw);
  margin: 30px auto;
  display:grid;
  grid-template-columns: 1fr minmax(320px, 520px);
  gap: var(--gap);
  align-items:center;
  min-width: 0;
}

.story-block > * { min-width: 0; }

.story-block--reverse{
  grid-template-columns: minmax(320px, 520px) 1fr;
}
.story-block--reverse .story-block__media{ order:2; }
.story-block--reverse .story-block__text{ order:1; }

@media (max-width: 900px){
  .story-block, .story-block--reverse{ grid-template-columns:1fr; }
  .story-block__media, .story-block__text{ order:initial !important; }
}

/* Text card: soft & warm */
.story-block__text{
  background: rgba(255, 249, 246, 0.85);
  border: 1px solid rgba(17,24,39,0.07);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  min-width: 0;
}

.story-block__media{ min-width: 0; }

.story-block__text h3{
  margin: 0 0 .75rem 0;
  position: relative;
  padding-left: 14px;
}
.story-block__text h3::before{
  content:"";
  position:absolute;
  left:0; top:.35em;
  width:4px; height:1.05em;
  border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 75%, #fff 25%);
}

.story-block__text p{
  line-height: 1.85;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: pretty;
}
@media (max-width: 600px){
  .story-block__text p{ text-align:left; }
}

/* ================================
   FADE CAROUSEL
================================ */
.carousel--fade{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(17,24,39,0.07);
  box-shadow: var(--shadow);
  background: #fff;
  min-width: 0;
}

.carousel__stage{
  position: relative;
  width: 100%;
  height: min(520px, 62vh);
  touch-action: pan-y;
}

/* Each slide sits on top of each other */
.carousel__slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 520ms ease;
  will-change: opacity;

  user-select: none;
  -webkit-user-drag: none;
}

/* Active slide fades in */
.carousel__slide.is-active{
  opacity: 1;
}

/* --- Arrows: only on hover/focus-within --- */
.carousel__btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,0.12);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(10px);

  color: rgba(17,24,39,0.9);
  font-size: 26px;
  line-height: 1;

  display: grid;
  place-items: center;
  cursor: pointer;

  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.carousel__btn--prev{ left: 12px; }
.carousel__btn--next{ right: 12px; }

.carousel--fade:hover .carousel__btn,
.carousel--fade:focus-within .carousel__btn{
  opacity: 1;
  pointer-events: auto;
}

.carousel__btn:hover{
  background: rgba(255,255,255,0.92);
  transform: translateY(-50%) scale(1.03);
}
.carousel__btn:active{
  transform: translateY(-50%) scale(0.98);
}

/* Dots */
.carousel__dots{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);

  display: flex;
  gap: 8px;

  padding: 7px 10px;
  border-radius: 999px;

  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(17,24,39,0.08);
  max-width: calc(100% - 16px);
}

.carousel__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(17,24,39,0.25);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}
.carousel__dot:hover{
  transform: scale(1.1);
  background: rgba(17,24,39,0.45);
}
.carousel__dot[aria-current="true"]{
  background: rgba(17,24,39,0.82);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .carousel__slide{ transition: none; }
}

/* ================================
   MAP + BOOKING
================================ */
.map{
  margin-top:12px;
  width:100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16/10;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-soft);
  background: var(--surface);
}
.map iframe{
  width:100%;
  height:100%;
  max-width: 100%;
  border:0;
  display:block;
}

.booking__frame{
  margin-top:12px;
  width:100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 10/12;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid var(--line-2);
  background: var(--surface);
}
.booking__frame iframe{
  width:100%;
  height:100%;
  max-width: 100%;
  border:0;
  display:block;
}

/* ================================
   REVEAL
================================ */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible{
  opacity:1;
  transform: translateY(0);
}

/* ================================
   FOOTER
================================ */
.footer{ padding: 28px 0; }
.footer__row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  border-top: 1px solid var(--line-2);
  padding-top: 18px;
}
.footer__row > * { min-width: 0; }

/* ================================
   LIGHTBOX
================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.is-open { display: block; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox__panel {
  position: relative;
  height: 100%;
  width: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: clamp(12px, 2vw, 20px);
  box-sizing: border-box;
}

.lightbox__figure {
  margin: 0;
  display: grid;
  place-items: center;
  min-height: 0;
}

.lightbox__img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
}

.lightbox__meta {
  margin-top: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(0,0,0,.35);
  color: #fff;
  overflow: auto;
  max-height: 22vh;
}

.lightbox__counter {
  font-size: 14px;
  opacity: .85;
  margin-bottom: 10px;
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: none;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

body.is-locked {
  overflow: hidden;
}