/* ==========================================================================
   Splashpoint — Sheringham
   A cottage on Lifeboat Plain. Design system.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Work+Sans:wght@300;400;500;600&family=Caveat:wght@500;600&display=swap');

:root{
  /* palette — backgrounds now tinted from the sea colour, not magnolia */
  --warm-white:  #F2F8FA;
  --paper:       #E5F1F4;
  --cream:       #D6E7EC;
  --stone:       #C4D9DE;
  --sand:        #C7B896;
  --wood:        #7C6A52;
  --wood-dark:   #5A4A38;
  --slate:       #4B5A5A;
  --navy:        #2E3D45;
  --navy-deep:   #1E2A30;
  --sea-glass:   #8CA79A;
  --warm-grey:   #6E6759;
  --ink:         #2A2620;
  --ink-soft:    #4B453C;
  --rust:        #A8593E;

  /* sea colours — revolving around #44A7C4 */
  --teal-deep:   #123642;
  --teal:        #1F6C86;
  --teal-mid:    #44A7C4;
  --teal-bright: #7FCBE0;
  --foam:        #EAF5F8;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hand: 'Caveat', cursive;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* paper grain — fixed, subtle, over everything */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

h1, h2, h3, h4{
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy-deep);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1{ font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.05; font-weight: 400; }
h2{ font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }
h3{ font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.3; }

p{ margin: 0 0 1.2em; }
.lede{ font-size: 1.2rem; color: var(--ink-soft); font-weight: 300; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* wavy underline link, hand-drawn feel */
.link-wave{
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: none;
}
.link-wave::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 6px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='6'><path d='M0 3 Q5 0 10 3 T20 3 T30 3 T40 3' fill='none' stroke='%2344A7C4' stroke-width='1.4'/></svg>") repeat-x;
  background-size: 20px 6px;
  opacity: 0.6;
  animation: wave-swim 0.7s linear infinite;
  animation-play-state: paused;
}
.link-wave:hover::after{ animation-play-state: running; }

@keyframes wave-swim{
  from{ background-position-x: 0; }
  to{ background-position-x: -20px; }
}

@media (prefers-reduced-motion: reduce){
  .link-wave::after{ animation: none; }
}

.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--warm-white);
  background: var(--teal-deep);
  padding: 0.85em 1.7em;
  border-radius: var(--radius);
  border: 1px solid var(--teal-deep);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn:hover{ background: var(--navy-deep); border-color: var(--navy-deep); }
.btn.btn-outline{
  background: transparent;
  color: var(--teal-deep);
}
.btn.btn-outline:hover{ background: var(--teal-deep); color: var(--warm-white); }

.eyebrow{
  font-family: var(--sans);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 0.9em;
  display: inline-block;
}

/* ---------------- header ---------------- */
.header-bar{
  background: var(--teal-deep);
  color: rgba(231,241,238,0.88);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}
.header-bar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}
.header-bar a{ color: rgba(231,241,238,0.88); }
.header-bar a:hover{ color: var(--warm-white); }
.header-bar-contacts{ display: flex; gap: 1.6rem; }
.header-bar-tag{ font-family: var(--hand); font-size: 1.05rem; color: var(--foam); }

.site-header{
  position: relative;
  z-index: 50;
  padding: 1.3rem 0;
  background: var(--warm-white);
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand{
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--navy-deep);
}
.brand-mark{
  width: 44px;
  height: 44px;
  color: var(--teal);
  flex-shrink: 0;
}
.brand-word{
  font-family: var(--serif);
  font-size: 1.5rem;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand small{
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-grey);
  font-weight: 500;
  margin-top: 0.35em;
  white-space: nowrap;
}
.main-nav{
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 1.6vw, 1.9rem);
}
.main-nav a{
  font-size: 0.94rem;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active{ color: var(--teal); }
.nav-toggle{
  display: none;
  background: none; border: none;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--navy-deep);
  cursor: pointer;
}

.header-wave{
  display: block;
  width: 100%;
  height: 10px;
  color: var(--teal-mid);
  opacity: 0.5;
}

/* ---------------- hero ---------------- */
.hero{
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero::before{
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,28,32,0.1) 0%, rgba(14,20,24,0.78) 88%),
    linear-gradient(90deg, rgba(14,20,24,0.55) 0%, rgba(14,20,24,0.05) 55%);
}
.hero-content{
  position: relative;
  z-index: 2;
  color: var(--warm-white);
  padding: 3.5rem var(--gutter) 3.2rem;
  max-width: 760px;
}
.hero-content .eyebrow{
  color: var(--foam);
  text-shadow: none;
  background: rgba(10,16,18,0.4);
  padding: 0.4em 0.7em;
  border-radius: 2px;
  backdrop-filter: blur(2px);
}
.hero-content h1{ color: var(--warm-white); text-shadow: 0 2px 20px rgba(0,0,0,0.35); }
.hero-content p{ color: rgba(250,246,238,0.92); max-width: 46ch; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }

.hero-small{ min-height: 46vh; }

/* ---------------- hero intro — text beside real photos, not over or under them ---------------- */
.hero-intro{
  padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  background: var(--warm-white);
}
.hero-intro-grid{
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1.3fr;
  gap: clamp(2.5rem, 5.5vw, 5rem);
  align-items: center;
}
.hero-intro-text{ max-width: 40ch; }
.hero-intro-text p{ color: var(--ink-soft); font-size: 1.08rem; }

.hero-photos{
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(0.7rem, 1.4vw, 1.1rem);
  height: clamp(340px, 50vh, 520px);
}
.hero-photos.single{ grid-template-columns: 1fr; }
.hc-main, .hc-top, .hc-bottom{ position: relative; overflow: hidden; border-radius: var(--radius); height: 100%; }
.hc-main img, .hc-top img, .hc-bottom img{ width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
.hc-stack{ display: flex; flex-direction: column; gap: clamp(0.7rem, 1.4vw, 1.1rem); height: 100%; }
.hc-top, .hc-bottom{ flex: 1 1 0; }
.hc-tag{
  position: absolute;
  left: 0.9rem; bottom: 0.75rem;
  font-family: var(--hand);
  font-size: 1.15rem;
  color: var(--warm-white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  z-index: 1;
}
.hc-main::after, .hc-top::after, .hc-bottom::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,16,18,0.42) 0%, transparent 32%);
  pointer-events: none;
}

/* ---------------- amenity hexagons ---------------- */
.amenity-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem clamp(2rem, 5vw, 4.5rem);
}
.amenity{
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.amenity-badge{
  flex-shrink: 0;
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%);
  background: var(--navy-deep);
  box-shadow: 0 6px 16px rgba(18,54,66,0.18);
}
.amenity-badge svg{ width: 28px; height: 28px; stroke: var(--warm-white); color: var(--warm-white); fill: none; }
.amenity h4{
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--navy-deep);
  margin: 0;
}

/* ---------------- sections ---------------- */
section{ padding: clamp(2.75rem, 5vw, 5rem) 0; }
.section-tight{ padding: clamp(1.75rem, 3vw, 2.75rem) 0; }
.bg-paper{ background: var(--paper); }
.bg-cream{ background: var(--cream); }
.bg-navy{ background: var(--navy-deep); color: var(--warm-white); }
.bg-navy h2, .bg-navy h3{ color: var(--warm-white); }
.bg-navy blockquote.pull{ color: var(--warm-white); }
.bg-navy blockquote.pull cite{ color: var(--stone); }

.rule{
  border: none;
  height: 1px;
  background: rgba(42,38,32,0.12);
  margin: 0;
}

/* asymmetric two-column */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.align-start{ align-items: start; }
.split.reverse .split-media{ order: 2; }
.split.reverse .split-text{ order: 1; }
.split-text{ max-width: 46ch; }
.split.wide-text .split-text{ max-width: 52ch; }

.split-media{ position: relative; }
.split-media img{
  width: 100%;
  border-radius: var(--radius);
}
.split-media img:not(.overlap){ will-change: transform; }
.split-media .overlap{
  position: absolute;
  width: 46%;
  bottom: -10%;
  left: -12%;
  border: 8px solid var(--warm-white);
  box-shadow: 0 18px 40px rgba(20,25,25,0.22);
  transform: rotate(-3deg);
}
.split-media .caption-tag{
  position: absolute;
  bottom: -2.6rem;
  right: 4%;
  font-family: var(--hand);
  font-size: 1.5rem;
  color: var(--rust);
  transform: rotate(-2deg);
}

blockquote.pull{
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.4;
  color: var(--navy-deep);
  margin: 0;
  padding-left: 1.4rem;
  border-left: 3px solid var(--teal-mid);
}
blockquote.pull cite{
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--warm-grey);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}

/* visitors' book — real, scanned notes from guests */
.guestbook-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
}
.guestbook-entry img{
  width: 100%;
  max-width: 230px;
  border: 8px solid var(--warm-white);
  box-shadow: 0 16px 34px rgba(20,25,25,0.2);
  border-radius: 2px;
  transform: rotate(-2deg);
  margin-bottom: 1.6rem;
}
.guestbook-entry:nth-child(2) img{ transform: rotate(2deg); }
.guestbook-entry blockquote{
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--navy-deep);
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--teal-mid);
}
.guestbook-entry cite{
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  color: var(--warm-grey);
  margin-top: 0.7rem;
  letter-spacing: 0.02em;
}

/* teaser cards row — equal columns, aligned rhythm */
.teaser-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.teaser-card{
  position: relative;
  display: flex;
  flex-direction: column;
}
.teaser-card img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  will-change: transform;
}
.teaser-card .eyebrow{ margin-top: 1.4rem; margin-bottom: 0.6em; }
.teaser-card h3{ margin-top: 0; }
.teaser-card p{ color: var(--ink-soft); flex-grow: 1; }

.two-up{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.three-up{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

/* gallery — tidy, uniform grid */
.gallery-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.gallery-grid figure{
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}
.gallery-grid img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-grid figure:hover img{ transform: scale(1.04); }
.gallery-grid figcaption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(0deg, rgba(20,28,32,0.75), transparent);
  color: var(--warm-white);
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-grid figure:hover figcaption{ opacity: 1; }

/* room list (the cottage page) */
.room{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  align-items: start;
}
.room + .room{ border-top: 1px solid rgba(42,38,32,0.1); }
.room-icon{ padding-top: 0.3rem; }
.room-icon svg{ width: 64px; height: 64px; stroke: var(--teal-deep); }
.room h3{ margin-bottom: 0.4rem; }
.room .room-name-hand{
  font-family: var(--hand);
  color: var(--teal);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.15rem;
}
.room.has-photo{ grid-template-columns: 120px 1fr 190px; }
.room-photo{ border-radius: var(--radius); overflow: hidden; align-self: stretch; }
.room-photo img{ width: 100%; height: 100%; min-height: 140px; object-fit: cover; display: block; }

/* price table */
.price-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.price-table th, .price-table td{
  text-align: left;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(42,38,32,0.12);
}
.price-table th{
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy-deep);
  font-size: 1.05rem;
}
.price-table td.price{ font-family: var(--serif); font-size: 1.1rem; color: var(--teal-deep); text-align: right; }
.price-table tr:last-child td{ border-bottom: none; }

/* contact / form */
.field{ margin-bottom: 1.4rem; }
.field label{
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warm-grey);
  margin-bottom: 0.5rem;
}
.field input, .field textarea{
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--sand);
  background: var(--warm-white);
  border-radius: var(--radius);
  color: var(--ink);
}
.field input:focus, .field textarea:focus{
  outline: none;
  border-color: var(--teal-mid);
}
.field textarea{ min-height: 130px; resize: vertical; }

/* footer */
.site-footer{
  background: var(--navy-deep);
  color: var(--stone);
  padding: 3.5rem 0 2rem;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.site-footer h4{ color: var(--warm-white); font-size: 1rem; letter-spacing: 0.02em; }
.site-footer a:hover{ color: var(--warm-white); }
.site-footer .brand-foot{
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--warm-white);
  margin-bottom: 0.6rem;
}
.footer-bottom{
  border-top: 1px solid rgba(250,246,238,0.12);
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: rgba(217,207,187,0.65);
}
.footer-nav{ list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a{ color: var(--stone); font-size: 0.94rem; }

/* weather strip — small decorative editorial detail */
.weather-note{
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--hand);
  font-size: 1.4rem;
  color: var(--slate);
}
.weather-note svg{ width: 30px; height: 30px; stroke: var(--slate); flex-shrink: 0; }

/* ---------------- lightbox ---------------- */
img.lightbox-img{ cursor: zoom-in; }

.lightbox-overlay{
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14,22,26,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox-overlay.is-open{ opacity: 1; pointer-events: auto; }
.lightbox-figure{
  position: relative;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.97);
  transition: transform 0.3s ease;
}
.lightbox-overlay.is-open .lightbox-figure{ transform: scale(1); }
.lightbox-figure img{
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.lightbox-caption{
  color: var(--foam);
  font-family: var(--hand);
  font-size: 1.3rem;
  margin-top: 1rem;
  text-align: center;
}
.lightbox-close, .lightbox-prev, .lightbox-next{
  position: fixed;
  background: rgba(242,248,250,0.1);
  border: 1px solid rgba(242,248,250,0.3);
  color: var(--warm-white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.3rem;
  font-family: var(--serif);
  transition: background 0.2s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ background: rgba(242,248,250,0.22); }
.lightbox-close{ top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox-prev{ left: clamp(0.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox-next{ right: clamp(0.75rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }

@media (max-width: 640px){
  .lightbox-prev, .lightbox-next{ width: 38px; height: 38px; }
}

/* ---------------- themed section motifs — pebbles, boats, sandcastles, fish ---------------- */
.section-motif{
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
  color: var(--teal-deep);
  z-index: 0;
}
.has-motif{ position: relative; overflow: hidden; }
.has-motif > .container{ position: relative; z-index: 1; }

@media (max-width: 700px){
  .section-motif{ opacity: 0.12; transform: scale(0.6); }
}

/* reveal on scroll — only hides content once JS confirms it can reveal it again */
.js .reveal{ opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js .reveal.is-visible{ opacity: 1; transform: none; }

/* reveal-stagger — same idea, but children cascade in one after another */
.js .reveal-stagger > *{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.js .reveal-stagger.is-visible > *{ opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1){ transition-delay: 0.02s; }
.reveal-stagger.is-visible > *:nth-child(2){ transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3){ transition-delay: 0.14s; }
.reveal-stagger.is-visible > *:nth-child(4){ transition-delay: 0.2s; }
.reveal-stagger.is-visible > *:nth-child(5){ transition-delay: 0.26s; }
.reveal-stagger.is-visible > *:nth-child(6){ transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(7){ transition-delay: 0.38s; }
.reveal-stagger.is-visible > *:nth-child(8){ transition-delay: 0.44s; }

@media (prefers-reduced-motion: reduce){
  .js .reveal, .js .reveal-stagger > *{ transition: none; opacity: 1; transform: none; }
}

/* ============ responsive ============ */
@media (max-width: 900px){
  .main-nav{
    position: fixed; inset: 0 0 0 auto;
    width: min(78vw, 320px);
    background: var(--warm-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.6rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.12);
    z-index: 60;
  }
  .main-nav.open{ transform: translateX(0); }
  .nav-toggle{ display: block; z-index: 61; }
  .split, .teaser-row, .two-up, .three-up, .guestbook-row{ grid-template-columns: 1fr; }
  .split.reverse .split-media, .split.reverse .split-text{ order: initial; }
  .split-media .overlap{ position: static; width: 70%; margin: 1.2rem auto 0; transform: rotate(-2deg); }
  .room, .room.has-photo{ grid-template-columns: 1fr; }
  .room-photo{ max-width: 280px; }
  .room-photo img{ min-height: 180px; }
  .footer-grid{ grid-template-columns: 1fr; gap: 2rem; }
  .gallery-grid{ grid-template-columns: repeat(3, 1fr); }
  .hero{ min-height: 92vh; }

  .header-bar-tag{ display: none; }
  .hero-intro-grid{ grid-template-columns: 1fr; }
  .hero-intro-text{ max-width: none; }
  .hero-photos{ height: auto; grid-template-columns: 1fr 1fr; }
  .hero-photos.single{ grid-template-columns: 1fr; }
  .hc-main{ min-height: 46vh; }
  .hc-stack{ flex-direction: column; }
  .hc-top, .hc-bottom{ min-height: 20vh; }
  .amenity-grid{ grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 640px){
  .header-bar-contacts{ gap: 1rem; font-size: 0.78rem; }
  .hero-photos{ grid-template-columns: 1fr; }
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px){
  body{ font-size: 16px; }
  .price-table th, .price-table td{ padding: 0.8rem 0.6rem; font-size: 0.9rem; }
}
