﻿:root {
  --slate: #44525a;
  --slate-dark: #2c363c;
  --slate-light: #e9ecec;
  --olive: #5f6b2e;
  --olive-light: #eef0e2;
  --terracotta: #b5552f;
  --terracotta-dark: #96431f;
  --stone: #f7f3ec;
  --text: #2c363c;
  --muted: #5f6b70;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(38, 50, 56, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--slate); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--slate-dark); font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.nowrap { white-space: nowrap; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--terracotta);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: .75em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--terracotta);
  transition: background .15s, color .15s;
}
.btn:hover { background: var(--terracotta-dark); border-color: var(--terracotta-dark); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--slate-dark); border-color: var(--white); }
.btn-small { padding: .45em 1.1em; }
.btn-block { display: block; text-align: center; margin-top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--slate-light);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--slate); }
.brand-icon { width: 36px; height: 36px; }
.brand-name { font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.brand-small .brand-icon { width: 26px; height: 26px; }
.brand-small .brand-name { font-size: 1rem; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; color: var(--slate); }
.nav a:not(.btn):hover { text-decoration: underline; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--slate); margin: 5px 0; border-radius: 2px; }

/* Hero */
.hero {
  background: #f0ece3;   /* matches the illustration's background */
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 2rem;
  min-height: min(78vh, 620px);
  padding: 3rem 0;
}
.hero-art img { width: 100%; height: auto; transform: scale(1.12); transform-origin: left center; }
.hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); max-width: 14ch; }
.eyebrow { color: var(--terracotta); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; font-weight: 600; margin: 0 0 .75rem; }
.lead { font-size: 1.1rem; max-width: 40ch; margin: 0 0 2rem; color: var(--slate); }
.hero .btn-ghost { color: var(--slate-dark); border-color: var(--slate); }
.hero .btn-ghost:hover { background: var(--slate); color: var(--white); border-color: var(--slate); }
/* Banner "Call" button: tap-to-call on phones, but not clickable on computers (mouse) */
@media (hover: hover) and (pointer: fine) {
  .phone-only-link { pointer-events: none; cursor: default; }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Sections */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--stone); }
.section-dark { background: var(--slate-dark); color: #dfe5e8; }
.section-dark h2 { color: var(--white); }
.section-head { margin-bottom: 1.5rem; }
.location-block + .location-block { margin-top: 3rem; }
.location-feature {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: 2rem;
  background: #f0ece3;   /* matches the drawings' background */
  border-radius: var(--radius); padding: 2rem 2.25rem; margin-bottom: 1.5rem; overflow: hidden;
}
.location-block { --loc-main: var(--olive); --loc-soft: var(--terracotta); }
.location-feature { border-top: 4px solid var(--loc-main); }
.location-text h3 { font-size: 1.6rem; margin-bottom: .2rem; color: var(--loc-main); }
.location-text .location svg { stroke: var(--loc-soft); }
.location-text p:not(.location) { color: var(--slate); margin: .75rem 0 0; }
.location-text p.location-count {
  display: inline-block; font-weight: 700; color: var(--loc-main);
  border-bottom: 3px solid var(--loc-soft); padding-bottom: .15rem;
}
.location-art img { width: 100%; height: auto; }
/* Cards under a location panel use that location's colours */
.location-block { --loc-light: color-mix(in srgb, var(--loc-main) 13%, white); --loc-dark: color-mix(in srgb, var(--loc-main) 80%, black); }
.location-block .badge-available { background: var(--loc-main); }
.location-block .room-img-none { background: var(--loc-light); }
.location-block .specs li { background: var(--loc-light); color: var(--loc-main); }
.location-block .price { color: var(--loc-main); }
/* "Available" badge and Enquire button: the location's light colour with dark text */
.location-block { --loc-accent: var(--loc-main); --loc-accent-hover: color-mix(in srgb, var(--loc-accent) 85%, black); --loc-ink: color-mix(in srgb, var(--loc-main) 70%, black); }
.location-block .badge-available { background: var(--loc-accent); color: var(--loc-ink); }
.location-block .room .btn { background: var(--loc-accent); border-color: var(--loc-accent); color: var(--loc-ink); }
.location-block .room .btn:hover { background: var(--loc-accent-hover); border-color: var(--loc-accent-hover); color: var(--loc-ink); }
/* The strip at the top of each card (behind the badge) uses the location's soft colour */
.location-block .room .room-img-none { background: color-mix(in srgb, var(--loc-soft) 45%, white); }
.location-block .room .location svg { stroke: var(--loc-soft); }
.location-included { margin-top: 2.5rem; background: #f0ece3; border-radius: var(--radius); padding: 2rem 2.25rem; }
.location-included > h3 { font-size: 1.35rem; color: var(--loc-main); margin-bottom: 1.25rem; }
.location-included .features svg { stroke: var(--loc-main); }
.location-included .features li { border-top-color: var(--loc-main); }
.location-included .features { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* always 3 across */
@media (max-width: 760px) {
  .location-included { padding: 1.5rem; }
  .location-included .features { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .location-feature { grid-template-columns: 1fr; padding: 1.5rem; gap: 1rem; }
}
.location { display: flex; align-items: center; gap: .35rem; color: var(--muted); font-size: .9rem; margin: 0 0 .4rem; }
.location svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--terracotta); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.section-head p { margin: 0; }

/* Filter */
.filter { display: flex; gap: .5rem; margin-bottom: 1.75rem; }
.chip {
  font: inherit; font-weight: 600; font-size: .9rem;
  padding: .4em 1em; border-radius: 999px;
  border: 1.5px solid var(--slate); background: var(--white); color: var(--slate); cursor: pointer;
}
.chip.is-active { background: var(--olive); border-color: var(--olive); color: var(--white); }

/* Rooms */
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.room { background: var(--white); border: 1px solid var(--slate-light); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.room.is-let { opacity: .7; }
.room-img { position: relative; aspect-ratio: 4 / 3; background: var(--slate-light); }
.room-img img { width: 100%; height: 100%; object-fit: cover; }
.room-img-none { aspect-ratio: auto; height: 48px; background: var(--olive-light); }
.badge { position: absolute; top: 12px; left: 12px; font-size: .8rem; font-weight: 700; padding: .25em .75em; border-radius: 999px; color: var(--white); }
.badge-available { background: var(--olive); }
.badge-let { background: var(--muted); }
.badge-draft { background: var(--terracotta); }
.room.is-draft { outline: 2px dashed var(--terracotta); outline-offset: -2px; }
.room-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: 1.3rem; margin-bottom: .15rem; }
.room-body > p:last-of-type { flex: 1; }
.room-body .btn-block { margin-top: auto; }
.price { font-weight: 700; color: var(--terracotta); margin: 0 0 .5rem; }
.specs { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.specs li { background: var(--olive-light); color: var(--olive); font-size: .82rem; padding: .2em .7em; border-radius: 6px; }
.empty { grid-column: 1 / -1; background: var(--stone); padding: 1.5rem; border-radius: var(--radius); margin: 0; }
.see-below { display: inline-block; margin-top: .6rem; font-weight: 600; color: var(--terracotta); }

/* Features */
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.features li { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); border-top: 3px solid var(--olive); }
.features svg { width: 34px; height: 34px; fill: none; stroke: var(--olive); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .75rem; }
.features h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.features p { margin: 0; color: var(--muted); }

/* Who's here */
.tenants { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .75rem; }
.tenants li { background: var(--white); border-left: 3px solid var(--terracotta); border-radius: 6px; padding: .9rem 1.1rem; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.tenants li { justify-content: center; min-height: 84px; }
.tenants strong { color: var(--slate-dark); font-weight: 600; }
.tenant-logo { align-self: flex-start; height: 40px; width: auto; max-width: 100%; object-fit: contain; object-position: left; margin-bottom: .3rem; }
.tenant-logo.is-square { height: 96px; border-radius: 6px; }.tenants span { color: var(--muted); font-size: .88rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .9rem; color: var(--white); font-weight: 600; background: linear-gradient(transparent, rgba(0,0,0,.6)); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.contact-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 1.5rem 1.75rem; }
.contact-row { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; margin: 0; padding: .6rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-row:last-child { border-bottom: 0; }
.contact-row strong { color: var(--white); }
.contact-row a { color: #f0c2ab; font-weight: 600; }

/* Footer */
.site-footer { padding: 1.5rem 0; border-top: 1px solid var(--slate-light); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .9rem; }

/* Menu collapses to a button before the links run out of room */
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--slate-light); padding: .5rem 16px 1rem;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: .75rem 0; border-bottom: 1px solid var(--slate-light); }
  .nav .btn { margin-top: .75rem; text-align: center; }
}

/* Mobile */
@media (max-width: 760px) {
  .brand-name { font-size: 1.05rem; }
  .contact { grid-template-columns: 1fr; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; padding: 2.5rem 0 1rem; gap: 1rem; }
  .hero-art img { transform: none; }
  .section { padding: 3rem 0; }
}

/* Contact page */
.contact-page h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: start; }
.enquiry-about { background: var(--olive-light); color: var(--olive); border-radius: 8px; padding: 1rem 1.25rem; margin: 0; }
.contact-card-light { background: var(--stone); border: 0; color: var(--text); }
.contact-card-light .contact-row { border-bottom-color: var(--slate-light); }
.contact-card-light .contact-row strong { color: var(--slate-dark); }
.contact-card-light .contact-row a { color: var(--terracotta); }
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}