/* The Key: monochrome, editorial look inspired by La Collectionist */

:root {
  --ink: #202020;
  --grey: #4c4c4c;
  --muted: #757575;
  --paper: #ffffff;
  --sand: #f7f7f7;
  --line: #e5e5e5;
  --photo-placeholder: #ececec;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: inherit;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 { font-size: clamp(1.8rem, 4.5vw, 3rem); letter-spacing: 0.06em; line-height: 1.15; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
h3 { font-size: 14px; }

p { margin: 0 0 0.75rem; }
a { color: inherit; }
img { max-width: 100%; }

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  min-height: 72px;
  padding: 1rem max(16px, 5vw);
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--paper);
}

.logo {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.site-header nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.site-header nav a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}

.site-header nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero: full-bleed photo with a light overlay */
.hero {
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem max(16px, 5vw) 4rem;
  color: var(--paper);
  background:
    linear-gradient(180deg, rgba(32, 32, 32, 0.15) 0%, rgba(32, 32, 32, 0.6) 100%),
    url("images/hero-cover.jpg") center / cover no-repeat,
    var(--ink);
}

.hero-content { max-width: 720px; }

.hero p {
  font-size: 1.05rem;
  max-width: 560px;
  opacity: 0.95;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

/* Buttons: square, uppercase, thin border */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--grey); border-color: var(--grey); }

.btn-light {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.btn-light:hover { background: var(--paper); color: var(--ink); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); }

.btn-small {
  padding: 0.6rem 1rem;
  font-size: 11px;
}

/* Sections */
.section { padding: 64px max(16px, 5vw); }
.section-alt { background: var(--sand); }
.section-dark { background: var(--ink); color: var(--paper); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head a {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-underline-offset: 4px;
}

.page-head { padding: 56px max(16px, 5vw) 16px; }
.page-head p { color: var(--muted); max-width: 600px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.steps p { color: var(--grey); }

/* Property grid and cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.card-img {
  aspect-ratio: 3 / 4;
  background-color: var(--photo-placeholder);
  background-size: cover;
  background-position: center;
}

/* Shared edit on every listing's first photo so the set looks consistent */
.card-img:not(.card-img-placeholder) {
  position: relative;
  filter: saturate(0.82) contrast(0.95) brightness(1.03);
}

.card-img:not(.card-img-placeholder)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(246, 236, 220, 0.24), rgba(92, 70, 48, 0.18));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.card-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  padding: 1rem 0 0;
}

.badge {
  align-self: flex-start;
  padding: 0;
  background: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h3 {
  margin: 0;
  font-size: 15px;
  letter-spacing: 1px;
}

.location,
.specs,
.reg,
.min-stay {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.price {
  margin: 0.25rem 0 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.description {
  margin: 0.25rem 0 0;
  font-size: 14px;
  color: var(--grey);
  line-height: 1.55;
}

/* Rates (View all rates) */
.rates-toggle { margin-top: 0.25rem; }
.rates-toggle summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 0.35rem 0;
}
.rates-toggle .rates { margin-top: 0.4rem; }

.rates {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.rates li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.rates li span small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.rates li strong {
  font-weight: 400;
  white-space: nowrap;
}

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}

.features li {
  font-size: 12px;
  color: var(--grey);
}

.features li:not(:last-child)::after {
  content: "·";
  margin-left: 0.75rem;
  color: var(--muted);
}

.card-actions {
  margin-top: auto;
  padding-top: 1rem;
}

.empty {
  color: var(--muted);
  font-style: italic;
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--ink);
  color: var(--paper);
}

/* Contact */
.section-dark h2 { color: var(--paper); }
.section-dark p { opacity: 0.85; }

.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.75rem 0;
}

.contact-card {
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  background: transparent;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.contact-card:hover { background: var(--paper); color: var(--ink); }

/* Enquiry form (contact section) */
.enquiry-form {
  max-width: 760px;
  margin: 1.5rem 0 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-full { grid-column: 1 / -1; }

.field > span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  background: transparent;
  color: var(--paper);
  font-family: inherit;
  font-size: 15px;
  font-weight: 300;
}

.field select option { color: var(--ink); }

.field textarea { resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 1px solid var(--paper);
  outline-offset: 2px;
}

.enquiry-form .btn {
  margin-top: 1.5rem;
}

.form-status {
  min-height: 1.4em;
  margin: 1rem 0 0;
  font-size: 14px;
}

.form-or {
  margin: 2rem 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.address {
  opacity: 0.7;
  font-size: 14px;
}

/* Interiors: photo carousel */
.section-intro {
  max-width: 640px;
  color: var(--grey);
  margin-bottom: 2rem;
}

.carousel-track {
  position: relative;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-track:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.carousel-track figure {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: start;
}

.carousel-track img {
  display: block;
  height: 460px;
  width: auto;
  max-width: none;
  background: var(--photo-placeholder);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.carousel-btn:hover { background: var(--ink); color: var(--paper); }

.carousel-count {
  min-width: 4.5em;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 2rem max(16px, 5vw);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .hero { min-height: 70vh; padding: 5rem 16px 3rem; }
  .section { padding: 48px 16px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .carousel-track img { height: 300px; }
  .form-grid { grid-template-columns: 1fr; }
}

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

/* Credit line under the interiors carousel */
.image-credit {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--grey);
}
.image-credit a {
  color: inherit;
}

/* Legal pages */
.legal-prose { max-width: 720px; }
.legal-prose h2 { margin-top: 2.5rem; font-size: 1.25rem; }
.legal-prose ul { padding-left: 1.25rem; margin: 0 0 1rem; }
.legal-prose li { margin-bottom: 0.5rem; }
.legal-prose mark { background: #f3e3b0; padding: 0 0.2em; }
.legal-updated { margin-top: 3rem; color: var(--muted); font-size: 0.9rem; }

/* Enquiry form privacy line */
.form-privacy { margin-top: 1rem; font-size: 0.8rem; opacity: 0.85; }
.form-privacy a { color: inherit; }

/* Newsletter band (light background, sits between Contact and the footer) */
.newsletter { max-width: none; }
.newsletter h2 { margin-bottom: 0.5rem; }
.newsletter .section-intro { margin-bottom: 1.5rem; }
.newsletter-form { max-width: 560px; }
.newsletter .field > span { color: var(--ink); }
.newsletter .field input { border-color: var(--ink); color: var(--ink); }
.newsletter .field input:focus { outline-color: var(--ink); }
.newsletter .form-status { color: var(--ink); }
.newsletter-form .btn { margin-top: 1.25rem; }
.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1.25rem;
  font-size: 14px;
  line-height: 1.5;
}
.consent input { margin-top: 0.3rem; flex: 0 0 auto; }
.consent a { color: inherit; }

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.5rem 2rem;
}
.blog-card-link { display: block; color: inherit; text-decoration: none; }
.blog-card-link:hover h3 { text-decoration: underline; }
.blog-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
}
.blog-date {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
.blog-card-link h3 { margin-bottom: 0.5rem; }
.blog-excerpt { color: var(--grey); }
.post-title { margin: 0.5rem 0 1.5rem; }
.post-img {
  height: 360px;
  background-size: cover;
  background-position: center;
  margin: 1.5rem 0 2rem;
}
.post-missing { color: var(--grey); }


/* Listing cards open the property page */
.card[data-href] { cursor: pointer; }
.card-media { display: block; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Property page */
.property-back { font-size: 13px; letter-spacing: 0.06em; margin: 0 0 1.5rem; }
.property-detail .carousel-track { margin-top: 0; }
.property-layout {
  display: grid;
  gap: 2.5rem;
  margin-top: 3rem;
}
.property-main h1 { margin: 0.5rem 0; }
.property-main .description {
  color: var(--grey);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 640px;
}
.property-subhead {
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin: 2rem 0 0.75rem;
}
.property-side {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.property-side .btn {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
}
@media (min-width: 900px) {
  .property-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
    gap: 4rem;
    align-items: start;
  }
  .property-side {
    position: sticky;
    top: 110px;
    border-top: 0;
    padding-top: 0;
  }
}
