/*
Theme Name: Borrowdale Pearls
Theme URI: https://borrowdalepearls.co.zw/
Author: Borrowdale Pearls
Description: Bespoke, responsive WordPress theme for the Borrowdale Pearls open-air lifestyle centre, destination film and leasing enquiries.
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: borrowdale-pearls
*/

:root {
  --ink: #1e2723;
  --ink-2: #28332d;
  --pearl: #f5f0e8;
  --paper: #fbf8f2;
  --greige: #efe7da;
  --gold: #b59a5e;
  --gold-2: #cbb37a;
  --sage: #767c5f;
  --clay: #b0623e;
  --line: rgba(181, 154, 94, 0.34);
  --soft: rgba(30, 39, 35, 0.66);
  --serif: 'Cormorant Garamond', 'Hoefler Text', Georgia, serif;
  --sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--pearl);
  font-family: var(--sans);
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
}
body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background: var(--pearl) var(--texture) center / cover;
  opacity: 0.2;
  content: '';
  pointer-events: none;
}
body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 240, 232, 0.97), rgba(245, 240, 232, 0.91));
  content: '';
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
figure { margin: 0; }
.wrap { width: min(100%, 1296px); margin: 0 auto; padding-inline: 28px; }
.kicker {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}
.title {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 0.98;
}
.copy { max-width: 650px; color: var(--soft); font-size: 16px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.2s ease;
}
.btn.gold { background: var(--gold); color: var(--ink); }
.btn.gold:hover { background: var(--gold-2); transform: translateY(-1px); }
.btn.ghost { border: 1px solid var(--line); background: transparent; color: var(--ink); }
.btn.ghost:hover { border-color: var(--gold); background: rgba(181, 154, 94, 0.1); }
.btn.ghost.light { border-color: rgba(245, 240, 232, 0.42); color: var(--pearl); }
.btn.ghost.light:hover { border-color: var(--gold-2); background: rgba(245, 240, 232, 0.08); }
.btn:disabled { opacity: 0.62; cursor: wait; transform: none; }

.nav {
  position: fixed;
  z-index: 90;
  top: 0;
  right: 0;
  left: 0;
  height: 78px;
  border-bottom: 1px solid rgba(181, 154, 94, 0.24);
  background: linear-gradient(90deg, rgba(30, 39, 35, 0.94), rgba(30, 39, 35, 0.76));
  color: var(--pearl);
  backdrop-filter: blur(16px);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 100%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand > span { display: block; }
.bp-mark { flex: none; width: 34px; height: 45px; color: var(--gold-2); }
.brand-title { display: block; color: var(--pearl); font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1; }
.brand-title em { color: var(--gold-2); font-style: italic; }
.brand-sub { display: block; margin-top: 4px; color: rgba(245, 240, 232, 0.56); font-size: 8px; letter-spacing: 0.34em; text-transform: uppercase; }
.navlinks { display: flex; gap: 28px; margin-left: auto; }
.navlinks a { color: rgba(245, 240, 232, 0.74); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.navlinks a:hover { color: var(--gold-2); }
.hamb { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid rgba(245, 240, 232, 0.28); border-radius: 50%; background: none; color: var(--pearl); cursor: pointer; }

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink);
  color: var(--pearl);
}
.hero-img {
  position: absolute;
  inset: 0;
}
.hero-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero-img::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 20, 17, 0.82), rgba(14, 20, 17, 0.28) 55%, rgba(14, 20, 17, 0.08)), linear-gradient(0deg, rgba(14, 20, 17, 0.74), transparent 52%);
  content: '';
}
.hero .wrap { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 78px; }
.hero h1 { max-width: 1000px; margin: 18px 0 0; font-family: var(--serif); font-size: clamp(56px, 9vw, 126px); font-weight: 500; line-height: 0.9; }
.hero h1 em { color: var(--gold-2); font-style: italic; }
.hero .lede { max-width: 680px; margin: 24px 0 0; color: rgba(245, 240, 232, 0.86); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stat {
  position: absolute;
  z-index: 3;
  right: 38px;
  bottom: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 520px;
  border: 1px solid rgba(245, 240, 232, 0.18);
  background: rgba(245, 240, 232, 0.13);
  backdrop-filter: blur(10px);
}
.hero-stat div { padding: 18px 22px; }
.hero-stat b { display: block; color: var(--gold-2); font-family: var(--serif); font-size: 29px; font-weight: 500; line-height: 1; }
.hero-stat span { color: rgba(245, 240, 232, 0.66); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; }

.video-section { padding: 98px 0 110px; background: linear-gradient(180deg, rgba(30, 39, 35, 0.08), rgba(30, 39, 35, 0.03)); }
.video-head, .section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.video-head .copy, .section-head .copy { max-width: 540px; margin: 0; }
.video-embed { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 24px; background: var(--ink); box-shadow: 0 28px 90px rgba(30, 39, 35, 0.16); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.section { padding: 104px 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.image-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.image-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--greige); box-shadow: 0 24px 60px rgba(30, 39, 35, 0.14); }
.image-grid .image-card { height: 320px; }
.image-card.tall { height: 640px; }
.image-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.caption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 14px 16px; border: 1px solid rgba(245, 240, 232, 0.2); border-radius: 14px; background: linear-gradient(0deg, rgba(30, 39, 35, 0.88), rgba(30, 39, 35, 0.56)); color: var(--pearl); backdrop-filter: blur(10px); }
.caption b { display: block; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.caption span { color: var(--gold-2); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.feature-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 34px; }
.feature { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: rgba(251, 248, 242, 0.72); }
.feature b { display: block; font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1; }
.feature span { color: var(--soft); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }

.highlights { padding: 108px 0; background: rgba(30, 39, 35, 0.05); }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.highlight-card { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--paper); box-shadow: 0 15px 40px rgba(30, 39, 35, 0.08); }
.highlight-card img { display: block; width: 100%; height: 230px; object-fit: cover; }
.highlight-card > div { padding: 22px; }
.tag { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.highlight-card h3 { margin: 8px 0 10px; font-family: var(--serif); font-size: 31px; font-weight: 500; line-height: 1; }
.highlight-card p { margin: 0; color: var(--soft); font-size: 14px; }

.lifestyle { background: var(--paper); }
.moment-list { display: grid; gap: 12px; margin-top: 28px; }
.moment-list div { padding: 18px 20px; border-left: 2px solid var(--gold); background: rgba(239, 231, 218, 0.48); }
.moment-list b { display: block; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.moment-list span { color: var(--soft); font-size: 13px; }

.leasing { padding: 108px 0; }
.lease-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.lease-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); box-shadow: 0 18px 50px rgba(30, 39, 35, 0.08); }
.intro-card { display: flex; flex-direction: column; justify-content: center; background: var(--ink); color: var(--pearl); }
.intro-card .title { color: var(--pearl); }
.intro-card p { max-width: 560px; color: rgba(245, 240, 232, 0.72); }
.lease-points { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.lease-points span { padding: 8px 12px; border: 1px solid rgba(245, 240, 232, 0.18); border-radius: 999px; color: var(--gold-2); font-size: 10px; letter-spacing: 0.11em; text-transform: uppercase; }
.lease-form { display: grid; gap: 12px; }
.lease-form input, .lease-form textarea, .lease-form select { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.lease-form textarea { min-height: 120px; resize: vertical; }
.lease-form input:focus, .lease-form textarea:focus, .lease-form select:focus { outline: 2px solid rgba(181, 154, 94, 0.55); outline-offset: 1px; }

.footer { padding: 50px 0; background: var(--ink); color: rgba(245, 240, 232, 0.7); }
.footer .wrap { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; }
.footer .brand-title { font-size: 28px; }
.footer p { max-width: 440px; margin: 8px 0 0; color: rgba(245, 240, 232, 0.58); }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-links a { color: rgba(245, 240, 232, 0.64); font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.foot-links a:hover { color: var(--gold-2); }
.footer .footer-credit { justify-content: flex-end; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(245, 240, 232, 0.12); }
.footer .footer-credit p { max-width: none; margin: 0; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; }
.footer .footer-credit a { color: var(--gold-2); font-weight: 600; }
.footer .footer-credit a:hover { color: var(--pearl); }
.toast { position: fixed; z-index: 200; bottom: 28px; left: 50%; padding: 13px 24px; border: 1px solid var(--gold); border-radius: 999px; background: var(--ink); color: var(--pearl); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0; transform: translate(-50%, 20px); transition: 0.24s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; border: 0; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.screen-reader-text:focus { position: fixed !important; z-index: 9999; top: 12px; left: 12px; width: auto; height: auto; padding: 12px 16px; border: 1px solid var(--gold); border-radius: 8px; background: var(--paper); color: var(--ink); clip: auto; }
.bp-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.admin-bar .nav { top: 32px; }

@media (max-width: 1050px) {
  .split, .lease-grid { grid-template-columns: 1fr; }
  .hero-stat { display: none; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .image-grid .image-card { height: 390px; }
}

@media (max-width: 820px) {
  .navlinks { position: absolute; top: 78px; right: 18px; display: none; width: min(300px, calc(100vw - 36px)); padding: 14px; border: 1px solid rgba(245, 240, 232, 0.16); border-radius: 14px; background: rgba(30, 39, 35, 0.97); box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24); }
  .navlinks.open { display: grid; }
  .navlinks a { padding: 12px 10px; border-bottom: 1px solid rgba(245, 240, 232, 0.1); }
  .hamb { display: block; }
  .video-head, .section-head { display: block; }
  .video-head .copy, .section-head .copy { margin-top: 20px; }
  .image-grid { grid-template-columns: 1fr; }
  .image-grid .image-card { height: 360px; }
  .footer .wrap { flex-direction: column; }
}

@media (max-width: 650px) {
  .wrap { padding-inline: 18px; }
  .nav { height: 70px; }
  .navlinks { top: 70px; }
  .brand-title { font-size: 21px; }
  .brand-sub { display: none; }
  .hero h1 { font-size: 53px; }
  .hero .wrap { padding-bottom: 58px; }
  .hero .lede { font-size: 16px; }
  .section, .highlights, .leasing, .video-section { padding: 74px 0; }
  .highlight-grid, .feature-row { grid-template-columns: 1fr; }
  .highlight-card img { height: 215px; }
  .image-card.tall { height: 480px; }
  .video-embed { border-radius: 16px; }
  .lease-card { padding: 24px; }
}

@media (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}
