/* ---------------------------------------------------
   airstays.co.uk portal: shared by the split-screen home page
   and the AirStays concept page. Same family as AirRooms
   (Libre Bodoni + Inter, cream and ink) with a green palette
   for AirRooms and a red palette for AirStays.
   --------------------------------------------------- */

:root {
  --cream: #f2ede2;
  --bg: #faf8f4;
  --ink: #1f231f;
  --ink-soft: #4a4f49;
  --line: #e4e0d6;

  /* AirRooms: foliage green */
  --green: #2f3b2d;
  --green-deep: #1f2a1f;
  --amber: #b9752f;
  --amber-dark: #8f5a22;

  /* AirStays: brick red */
  --red: #9c2f22;
  --red-deep: #5f1a14;
  --red-bright: #c4472f;
  --red-glow: #f4572a;

  --font-display: "Libre Bodoni", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mark: "Outfit", "Inter", sans-serif;

  --max-width: 1080px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

.eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 16px;
}

/* ---------------- AirStays wordmark (temporary, built from text) ---------------- */

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mark);
  line-height: 1;
  color: inherit;
}
.wordmark img { width: 1.45em; height: 1.45em; }
.wordmark .air { font-weight: 200; }
.wordmark .stays { font-weight: 700; }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: var(--amber-dark); }
.btn-cream { background: var(--cream); color: var(--red-deep); }
.btn-cream:hover { background: #fff; }
.btn-line { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------------- Split-screen home ---------------- */

.split-page { background: var(--ink); }

.split {
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
}

.half {
  position: relative;
  flex: 1 1 50%;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--cream);
  transition: flex-grow 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  isolation: isolate;
}

.half-media,
.half-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.half-media img { transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1); }
.half:hover .half-media img { transform: scale(1.04); }

/* No colour wash over the photos: text sits on solid panels instead. */

.half-inner {
  width: 100%;
  max-width: 560px;
  padding: 0 clamp(28px, 5vw, 72px) clamp(56px, 9vh, 104px);
  margin: 0 auto;
}
.half-rooms .half-inner { margin-right: 0; }
.half-stays .half-inner { margin-left: 0; }

.half .eyebrow { color: rgba(242, 237, 226, 0.78); }
.half-brand { margin-bottom: 26px; font-size: clamp(1.9rem, 3vw, 2.6rem); }
.half-brand img.logo { height: clamp(40px, 4.2vw, 56px); width: auto; }

.half h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  color: var(--cream);
  margin-bottom: 14px;
}
.half p.lead {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: rgba(242, 237, 226, 0.88);
  max-width: 44ch;
  margin-bottom: 28px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.badge-live { background: rgba(242, 237, 226, 0.16); color: var(--cream); border: 1px solid rgba(242, 237, 226, 0.4); }
.badge-soon { background: var(--red-glow); color: #fff; }

.split-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  padding: 26px 24px;
  pointer-events: none;
}
.split-top .pill {
  pointer-events: auto;
  background: var(--cream);
  color: var(--ink);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 1.15rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

@media (hover: hover) and (min-width: 861px) {
  .split:hover .half { flex-grow: 0.82; }
  .split .half:hover { flex-grow: 1.18; }
}

/* ---------------- AirStays concept page ---------------- */

.stays-page { background: var(--bg); }

.section { padding: clamp(60px, 9vw, 110px) 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section .eyebrow { color: var(--red); }
.section h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); color: var(--red-deep); max-width: 22ch; }
.section p.intro { font-size: 1.1rem; max-width: 62ch; color: var(--ink-soft); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px 22px;
}
.card .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--red-bright);
  line-height: 1;
  margin-bottom: 14px;
}
.card h3 { font-size: 1.3rem; color: var(--red-deep); margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }

.band { background: var(--cream); }
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.photo-frame { border-radius: 16px; overflow: hidden; box-shadow: 0 22px 50px rgba(60, 14, 10, 0.18); }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.caption { font-size: 0.82rem; color: var(--ink-soft); margin-top: 10px; }

.steps { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 0; }
.steps li {
  position: relative;
  padding: 0 0 30px 56px;
  border-left: 0;
}
.steps li::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.steps li:last-child::before { display: none; }
.steps .dot {
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red-bright);
  color: #fff;
  font-weight: 600;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}
.steps li.now .dot { background: var(--green); }
.steps h3 { font-size: 1.2rem; color: var(--red-deep); margin: 0 0 6px; }
.steps .tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 8px;
  vertical-align: middle;
  background: var(--cream);
  color: var(--ink-soft);
}
.steps li.now .tag { background: var(--green); color: #fff; }
.steps p { margin: 0; color: var(--ink-soft); }

/* Register interest */
.interest {
  background: linear-gradient(180deg, var(--red-deep), #3e0f0b);
  color: var(--cream);
}
.interest .section-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.interest .eyebrow { color: rgba(242, 237, 226, 0.75); }
.interest h2 { color: var(--cream); }
.interest p { color: rgba(242, 237, 226, 0.88); }

.form { background: var(--cream); color: var(--ink); border-radius: 16px; padding: 28px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--red-deep); }
.field input,
.field select,
.field textarea {
  font: inherit;
  padding: 13px 14px;
  border: 1.5px solid #d9d2c3;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--red-bright); box-shadow: 0 0 0 3px rgba(196, 71, 47, 0.18); }
.field textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-content: center; background: var(--red); color: #fff; }
.form .btn:hover { background: var(--red-deep); }
.form-note { font-size: 0.78rem; color: var(--ink-soft); margin: 0; }
.form-status { margin: 0; font-size: 0.95rem; font-weight: 500; }
.form-status.ok { color: #2d6a3a; }
.form-status.err { color: #a32616; }

.footer {
  background: #2a0b08;
  color: rgba(242, 237, 226, 0.75);
  padding: 34px 24px;
  font-size: 0.86rem;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; align-items: center; }
.footer a { text-decoration: underline; text-underline-offset: 3px; }
.footer .wordmark { font-size: 1.2rem; color: var(--cream); }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .two-col, .interest .section-inner { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .hero { min-height: 86svh; }
  .form { padding: 22px; }
}


/* =====================================================
   v2: untinted photos, Garden rooms / Holiday pods
   ===================================================== */

body.split-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.split { flex: 1 1 auto; min-height: 0; }

.split-foot {
  position: static;
  background: var(--ink);
  display: flex;
  justify-content: center;
  padding: 14px 24px;
  font-size: 0.78rem;
  color: rgba(242, 237, 226, 0.7);
  text-align: center;
}
.split-foot a { text-decoration: underline; text-underline-offset: 3px; }

.chip {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: var(--cream);
  color: var(--red-deep);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
}

/* Solid panel text (shared by both options) */
.half-inner { color: var(--cream); }
.half .eyebrow { color: rgba(242, 237, 226, 0.78); margin-bottom: 10px; }
.half h2 { margin-bottom: 12px; }
.half p.lead { margin-bottom: 22px; }
.half-brand { margin-bottom: 18px; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-top .half-brand { margin: 0; }
.panel-top .badge { margin: 0; }
.btn-green { background: var(--cream); color: var(--green-deep); }
.btn-green:hover { background: #fff; }

/* ---- Option B: photo above, solid colour panel below ---- */
.split-b .half { flex-direction: column; align-items: stretch; }
.split-b .half-rooms { background: var(--green-deep); }
.split-b .half-stays { background: var(--red-deep); }
.split-b .half-media { position: relative; flex: 1 1 auto; min-height: 260px; z-index: 0; overflow: hidden; }
.split-b .half-media img { position: absolute; inset: 0; z-index: 0; }
.split-b .half-inner {
  flex: 0 0 auto;
  max-width: none;
  margin: 0;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 4.5vw, 64px) clamp(28px, 4vw, 48px);
}
.split-b .half h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }

@media (max-width: 860px) {
  .split { flex-direction: column; }
  .half { flex: 1 1 auto; }
  .split-top { padding: 16px; }
  .split-top .pill { font-size: 1rem; padding: 10px 18px; }
}

/* =====================================================
   Holiday pods overview page
   ===================================================== */

.nav {
  background: var(--red-deep);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px clamp(20px, 4vw, 56px);
}
.nav .wordmark { font-size: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.92rem; font-weight: 500; }
.nav-links a { opacity: 0.88; }
.nav-links a:hover { opacity: 1; }
.nav-links .btn { padding: 10px 20px; font-size: 0.9rem; opacity: 1; }

.hero2 { padding: clamp(32px, 6vw, 76px) 24px clamp(36px, 6vw, 80px); background: var(--bg); }
.hero2-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.hero2 .eyebrow { color: var(--red); }
.hero2 h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); color: var(--red-deep); margin-bottom: 18px; }
.hero2 p.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); max-width: 46ch; margin-bottom: 26px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-outline-red { border-color: var(--red); color: var(--red); }
.btn-outline-red:hover { background: var(--red); color: #fff; }
.hero2 .note { font-size: 0.8rem; color: var(--ink-soft); margin: 18px 0 0; max-width: 52ch; }

.render { position: relative; border-radius: 16px; overflow: hidden; box-shadow: 0 22px 50px rgba(60, 14, 10, 0.18); background: var(--cream); }
.render img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.gallery figure { margin: 0; }
.gallery .render { box-shadow: 0 10px 26px rgba(60, 14, 10, 0.12); }
.gallery img { aspect-ratio: 4 / 3; }
.gallery figcaption { font-size: 0.9rem; color: var(--ink-soft); margin-top: 10px; line-height: 1.4; }
.gallery-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 22px; }

@media (max-width: 860px) {
  .cards { grid-template-columns: 1fr; }
  .interest .section-inner { grid-template-columns: 1fr; }
  .hero2-inner { grid-template-columns: 1fr; }
  .hero2-inner .render { order: -1; }
  .nav-links a:not(.btn) { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery figcaption { font-size: 0.8rem; }
  .form { padding: 22px; }
}

@media (min-width: 861px) {
  .split-b .half-inner { min-height: 392px; }
}

/* v3: focal points for the home-page photos */
.pos-rooms { object-position: 40% 50%; }
.pos-stays { object-position: 38% 50%; }
@media (max-width: 860px) { .pos-rooms { object-position: 45% 50%; } .pos-stays { object-position: 40% 50%; } }

/* v4: condensed mobile panels so both options show in one view */
@media (max-width: 860px) {
  .split-b .half-media { flex: 1 1 auto; height: auto; min-height: 150px; }
  .split-b .half-inner { padding: 16px 20px 18px; min-height: 0; }
  .split-b .panel-top { margin-bottom: 10px; }
  .split-b .half-brand img.logo { height: 34px; }
  .split-b .wordmark { font-size: 1.6rem !important; }
  .split-b .panel-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .split-b .half h2 { font-size: 1.45rem; margin: 0; white-space: nowrap; }
  .split-b .half p.lead { display: none; }
  .split-b .btn { padding: 10px 16px; gap: 8px; font-size: 0.88rem; white-space: nowrap; }
  .split-b .half-inner { flex: 0 0 auto; }
  .split-foot { padding: 12px 20px; font-size: 0.74rem; }
  .hide-m { display: none; }
}
@media (min-width: 861px) { .hide-m { display: inline; } }

/* v5: logo + call-to-action only under each photo */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.split-b .half-media { flex: 1 1 auto; }
.split-b .half-inner { min-height: 0; padding: 22px clamp(24px, 4vw, 56px); }
.split-b .panel-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.split-b .half-brand { margin: 0; height: 48px; display: flex; align-items: center; }
.split-b .half-brand img.logo { height: 48px; width: auto; }
.split-b .wordmark { font-size: 27.6px !important; }
.split-b .wordmark > span { letter-spacing: 0.06em; }
.split-b .btn { white-space: nowrap; }
@media (max-width: 860px) {
  .split-b .half-inner { padding: 16px 20px; }
  .split-b .half-brand { height: 36px; }
  .split-b .half-brand img.logo { height: 36px; }
  .split-b .wordmark { font-size: 20.7px !important; }
  .split-b .btn { padding: 10px 16px; font-size: 0.88rem; }
}

.btn .lbl { display: inline-block; }
.btn .lbl::first-letter { text-transform: uppercase; }

/* v6: at-a-glance strip and experience cards */
.glance { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.glance li { background: var(--cream); border-radius: 12px; padding: 16px 14px; text-align: center; }
.glance strong { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--red-deep); line-height: 1.1; }
.glance span { font-size: 0.82rem; color: var(--ink-soft); }
#experience .card .num { font-size: 1.4rem; }
@media (max-width: 860px) { .glance { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 860px) {
  .section { padding: 44px 20px; }
  .cards { gap: 12px; margin-top: 24px; }
  .card { padding: 18px 18px 16px; }
  .card .num { font-size: 1.5rem; margin-bottom: 8px; }
  .card h3 { font-size: 1.15rem; margin-bottom: 6px; }
}

/* v7: AirStays half is light, with the real logo and a four-season accent */
.split-b .half-stays { background: #fbfaf7; }
.split-b .half-stays .half-inner { color: #17181a; position: relative; }
.btn-ink { background: #17181a; color: #fff; }
.btn-ink:hover { background: #000; }
.split-b .half-brand img.logo-stays { height: 36px; width: auto; }
@media (max-width: 860px) { .split-b .half-brand img.logo-stays { height: 27px; } }
