:root {
  --ink: #fff9f0;
  --subtle: rgba(255, 249, 240, .76);
  --cream: #f5e6d2;
  --cream-dark: #261f1b;
  --accent: #e9c49c;
  --font-serif: 'Iowan Old Style', 'Baskerville', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: #171e22;
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cream); outline-offset: 5px; }

.page-shell {
  isolation: isolate;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}
.background-photo, .background-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.background-photo {
  display: block;
  overflow: hidden;
  transform: scale(1.008);
}
.background-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}
.background-shade {
  background: linear-gradient(180deg,
    rgba(18, 25, 29, .52) 0%,
    rgba(14, 21, 25, .49) 34%,
    rgba(19, 21, 22, .54) 60%,
    rgba(10, 14, 14, .77) 100%);
}

.site-header {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 35px clamp(24px, 4.7vw, 78px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.header-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff8ee;
  letter-spacing: .14em;
  font: 500 clamp(17px, 1.6vw, 25px) / 1 var(--font-serif);
  white-space: nowrap;
  padding: 10px 16px 11px;
  border: 1.5px solid rgba(255, 248, 238, .92);
  border-radius: 16px;
  background: rgba(15, 16, 18, .68);
  box-shadow: 0 6px 22px rgba(0,0,0,.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.top-enquiry {
  display: inline-block;
  text-decoration: none;
  padding: 4px 1px 8px;
  border-bottom: 1px solid rgba(255, 249, 240, .9);
  background: transparent;
  color: #fff8ee;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: clamp(16px, 1.3vw, 20px);
  transition: opacity .2s ease;
}
.top-enquiry span { padding-left: 8px; font-size: .75em; }
.top-enquiry:hover { opacity: .72; }

.main-content {
  width: min(100% - 48px, 1200px);
  margin: auto;
  padding: clamp(20px, 4vh, 52px) 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.identity { display: flex; flex-direction: column; align-items: center; }
.roof-mark { width: clamp(53px, 6.1vw, 86px); height: auto; color: var(--accent); margin-bottom: 0; }
.hero-wordmark {
  font-family: var(--font-serif);
  font-size: clamp(56px, 7.8vw, 113px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.065em;
  margin: 2px 0 19px;
  text-shadow: 0 2px 32px rgba(0,0,0,.13);
}
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 30px);
  color: #f8f1e9;
  letter-spacing: .31em;
  font-size: clamp(9px, .9vw, 12px);
  font-weight: 500;
  white-space: nowrap;
}
.eyebrow span { display: block; width: clamp(25px, 5vw, 90px); height: 1px; background: rgba(255,249,240,.61); }

h1 {
  margin: clamp(22px, 3.7vh, 44px) 0 clamp(20px, 3.7vh, 42px);
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(33px, 4.3vw, 62px);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 2px 22px rgba(0,0,0,.2);
}
.announcement {
  max-width: 720px;
  margin: 0;
  padding: 17px 38px 18px;
  border: 1px solid rgba(255,255,255,.63);
  border-radius: 50px;
  background: rgba(247, 235, 218, .92);
  color: #2a2722;
  box-shadow: 0 12px 48px rgba(0,0,0,.13);
  font-size: clamp(15px, 1.5vw, 21px);
  line-height: 1.45;
  font-weight: 400;
}
.announcement strong { font-weight: 650; }

.housing { margin-top: clamp(28px, 5vh, 60px); width: min(100%, 870px); }
.housing-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px; min-width: 0; padding: 0 15px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.7); }
.stat-value { font: 400 clamp(29px, 4vw, 55px) / 1 var(--font-serif); letter-spacing: -.032em; font-variant-numeric: tabular-nums; }
.stat-label { text-transform: uppercase; color: var(--subtle); font-size: clamp(10px, 1vw, 13px); letter-spacing: .11em; line-height: 1.45; }
.data-source { margin: 24px auto 0; color: rgba(255,249,240,.78); font-size: clamp(11px, .95vw, 13px); line-height: 1.65; font-style: italic; }
.data-source a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.data-source a:hover { color: #fff; }

.actions { margin-top: clamp(20px, 3.5vh, 36px); display: flex; flex-direction: column; align-items: center; gap: 13px; }
.primary-button {
  display: inline-flex;
  text-decoration: none;
  min-height: 60px;
  min-width: 255px;
  align-items: center;
  justify-content: center;
  gap: 19px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 100px;
  background: var(--cream);
  box-shadow: 0 6px 30px rgba(0,0,0,.12);
  color: var(--cream-dark);
  padding: 16px 30px;
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.primary-button:hover { transform: translateY(-2px); background: #fff5e5; box-shadow: 0 10px 33px rgba(0,0,0,.18); }
.primary-button:active { transform: translateY(0); }
.copy-email { border: 0; border-bottom: 1px solid rgba(255,255,255,.54); background: transparent; color: rgba(255,249,240,.83); cursor: pointer; font-size: 12px; padding: 4px 1px; }
.copy-email:hover { color: #fff; border-color: #fff; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 18px clamp(24px, 4.7vw, 78px) 22px;
  color: rgba(255,249,240,.59);
  font-size: 11px;
  letter-spacing: .08em;
}
.toast {
  position: fixed;
  left: 50%; bottom: max(28px, env(safe-area-inset-bottom));
  transform: translate(-50%, 14px);
  z-index: 5;
  pointer-events: none;
  padding: 11px 19px;
  border-radius: 50px;
  background: #f7eee3;
  color: #241c17;
  opacity: 0;
  font-size: 13px;
  box-shadow: 0 6px 24px #0004;
  transition: transform .2s ease, opacity .2s ease;
}
.toast.visible { transform: translate(-50%, 0); opacity: 1; }
.noscript-message { padding: 12px 24px; color: white; text-align: center; background: #171e22; font-size: 12px; }

/* Keep the entire composition comfortably in view on laptop-height screens. */
@media (min-width: 901px) and (max-height: 950px) {
  .site-header { padding-top: 24px; padding-bottom: 22px; }
  .main-content { padding-top: 16px; padding-bottom: 16px; }
  .roof-mark { width: 69px; }
  .hero-wordmark { font-size: clamp(72px, 6.6vw, 98px); margin-bottom: 15px; }
  h1 { font-size: clamp(37px, 3.65vw, 54px); margin-top: 24px; margin-bottom: 22px; }
  .announcement { padding-top: 13px; padding-bottom: 14px; font-size: clamp(16px, 1.3vw, 19px); }
  .housing { margin-top: 28px; }
  .stat-value { font-size: clamp(32px, 3.1vw, 45px); }
  .data-source { margin-top: 17px; }
  .actions { margin-top: 20px; gap: 9px; }
  .primary-button { min-height: 55px; }
  .site-footer { padding-top: 10px; padding-bottom: 14px; }
}

@media (min-width: 1500px) and (min-height: 950px) {
  .main-content { padding-bottom: 48px; }
}

@media (max-width: 900px) {
  .site-header { padding-top: 26px; padding-bottom: 20px; }
  .hero-wordmark { font-size: clamp(60px, 10vw, 90px); }
  .main-content { padding-top: 32px; padding-bottom: 34px; }
  h1 { font-size: clamp(36px, 5.3vw, 51px); }
  .housing { margin-top: 38px; }
}

@media (max-width: 620px) {
  .background-photo img { object-position: center center; }
  .background-shade { background: linear-gradient(180deg,
    rgba(12, 21, 26, .54) 0%,
    rgba(16, 21, 22, .57) 36%,
    rgba(13, 16, 17, .71) 71%,
    rgba(10, 12, 14, .86) 100%);
  }
  .page-shell { min-height: 100svh; }
  .site-header { padding: 24px 22px 6px; }
  .header-brand { font-size: 17px; letter-spacing: .105em; padding: 8px 14px 9px; border-radius: 14px; }
  .top-enquiry { font-size: 16px; }
  .main-content { width: min(100% - 34px, 500px); padding: 44px 0 31px; }
  .roof-mark { width: 51px; }
  .hero-wordmark { margin: 0 0 17px; font-size: clamp(56px, 12.5vw, 76px); }
  .eyebrow { gap: 10px; font-size: 9px; letter-spacing: .2em; }
  .eyebrow span { width: 19px; }
  h1 { font-size: clamp(34px, 8vw, 45px); line-height: 1.07; margin: 33px 0 29px; }
  .desktop-only { display: none; }
  .announcement { width: min(100%, 445px); padding: 16px 17px 17px; font-size: clamp(15px, 3.9vw, 18px); }
  .housing { margin-top: 40px; }
  .housing-stats { grid-template-columns: 1fr 1fr 1.15fr; }
  .stat { padding: 0 5px; gap: 7px; }
  .stat-value { font-size: clamp(23px, 6vw, 34px); }
  .stat-label { max-width: 100px; font-size: 9px; letter-spacing: .02em; line-height: 1.35; }
  .data-source { max-width: 360px; font-size: 11px; margin: 22px auto 0; }
  .actions { margin-top: 25px; gap: 12px; }
  .primary-button { min-width: 240px; min-height: 57px; font-size: 16px; }
  .site-footer { padding: 12px 20px 20px; font-size: 10px; letter-spacing: .01em; }
}

@media (max-width: 380px) {
  .main-content { width: calc(100% - 30px); padding-top: 30px; }
  .header-brand { font-size: 16px; }
  h1 { margin-top: 26px; font-size: clamp(31px, 8vw, 36px); }
  .eyebrow { letter-spacing: .13em; font-size: 8px; }
  .eyebrow span { width: 12px; }
  .housing { margin-top: 29px; }
  .stat-value { font-size: 22px; }
  .stat-label { font-size: 8px; }
  .announcement { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
