@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Newsreader:opsz,wght@6..72,300;6..72,400;6..72,500&display=swap");

:root {
  --ink: #0d0d0d;
  --muted: #6d6a64;
  --line: #d9d4cb;
  --paper: #f6f2ea;
  --soft: #ece5da;
  --white: #ffffff;
  --accent: #a7864f;
  --header-h: 78px;
  --body-font: "Inter", "Helvetica Neue", Arial, sans-serif;
  --display-font: "Newsreader", "Cormorant Garamond", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  font-size: 15px;
  font-weight: 400;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 4vw, 54px);
  color: var(--white);
  background: rgba(8, 8, 8, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 180ms ease, color 180ms ease, border 180ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(246, 242, 234, 0.94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(92px, 9vw, 124px);
  height: 48px;
  overflow: hidden;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.primary-nav {
  display: flex;
  gap: clamp(18px, 3vw, 44px);
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding: 8px 0;
}

.primary-nav a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 18px;
  height: 1px;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: calc(var(--header-h) + 48px) clamp(20px, 5vw, 76px) 116px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.08) 58%);
}

.hero-content {
  position: relative;
  max-width: 960px;
}

.eyebrow,
.section-kicker,
.property-card p,
.journal-grid span,
.agent-card p {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 300;
  line-height: 1.03;
}

h1 {
  max-width: 900px;
  font-size: clamp(52px, 8.5vw, 116px);
}

h2 {
  font-size: clamp(34px, 4.5vw, 66px);
}

h3 {
  font-size: clamp(24px, 2.6vw, 36px);
}

p {
  line-height: 1.65;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 1.7vw, 24px);
}

.hero-actions,
.contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid currentColor;
  border-radius: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border 180ms ease;
}

.button-light {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: transparent;
}

.button-dark:hover {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.button-ghost {
  color: var(--white);
}

.button-ghost:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}

.button-dark {
  width: 100%;
  color: var(--white);
  background: var(--ink);
}

.button-ghost-dark {
  color: var(--ink);
  background: transparent;
}

.button-ghost-dark:hover {
  color: var(--white);
  background: var(--ink);
}

.hidden,
.is-hidden {
  display: none !important;
}

.hero-footer {
  position: absolute;
  right: clamp(20px, 5vw, 76px);
  bottom: 26px;
  left: clamp(20px, 5vw, 76px);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--white);
}

.ticker p {
  min-height: 96px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-section,
.sales-section,
.reviews-section,
.contact-section,
.editorial-band {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 76px);
}

.intro-grid,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(36px, 8vw, 112px);
  align-items: start;
}

.intro-copy {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.feature-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  min-height: 760px;
  background: var(--ink);
  color: var(--white);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 50%;
}

.feature-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 92px);
}

.feature-panel p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 24px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 850px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.property-card {
  min-width: 0;
  background: var(--paper);
}

.property-card img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  filter: saturate(0.9);
}

.property-card div {
  min-height: 170px;
  padding: 24px;
}

.property-card h3 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3vw, 40px);
}

.property-card p,
.property-card span,
.agent-card p {
  color: var(--muted);
}

.editorial-band {
  background: var(--soft);
}

.editorial-band > div:first-child {
  max-width: 920px;
  margin-bottom: 54px;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.journal-grid article {
  min-height: 350px;
  padding: 34px;
  background: var(--soft);
}

.journal-grid p {
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

figure {
  margin: 0;
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

blockquote {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.18;
}

figcaption {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.agent-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.agent-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) minmax(0, 0.45fr);
  align-items: end;
  min-height: 560px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.agent-card + .agent-card {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.agent-card img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: contain;
  object-position: bottom center;
}

.agent-card div {
  padding: 32px;
}

.agent-card h3 {
  margin-bottom: 16px;
}

.contact-section {
  background: var(--paper);
}

.contact-section > div > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.contact-list a {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--white);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

input {
  width: 100%;
  height: 52px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  outline: none;
}

input:focus {
  border-bottom-color: var(--ink);
}

.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(36px, 8vw, 120px);
  padding: clamp(56px, 8vw, 92px) clamp(20px, 8vw, 160px);
}

.footer-left h3 {
  margin: 0 0 10px;
  font-family: var(--body-font);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
}

.footer-left p {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 18px;
}

.footer-diamond-logo {
  width: 170px;
  margin-bottom: 28px;
}

.footer-exp-logo {
  width: 96px;
}

.footer-right {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 28px;
}

.footer-buttons {
  display: grid;
  justify-items: center;
  gap: 18px;
}

.footer-appraisal,
.footer-subscribe {
  display: inline-flex;
  min-width: 248px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-appraisal {
  color: var(--ink);
  background: var(--white);
}

.footer-subscribe {
  border: 1px solid var(--white);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px 32px;
}

.footer-legal-links a {
  font-size: 15px;
}

.footer-bottom {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 0 clamp(20px, 5vw, 76px) 42px;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.footer-bottom img {
  width: min(190px, 52vw);
}

.footer-developer {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-developer span {
  font-weight: 600;
}

.page-hero {
  min-height: 58vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 84px) clamp(20px, 5vw, 76px) 74px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.36)),
    var(--page-image, url("assets/images/13e3fa7f34ef6e8477c6594f99ef77c8.jpg")) center / cover;
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(48px, 7vw, 104px);
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(16px, 1.4vw, 21px);
}

.interior-section {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 76px);
}

.tight-heading {
  max-width: 960px;
  margin-bottom: 42px;
}

.listing-grid-large {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.listing-card {
  min-width: 0;
  background: var(--paper);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.listing-card.sold-card {
  cursor: default;
}

.card-link {
  display: block;
  height: 100%;
}

.listing-card.sold-card:hover {
  transform: none;
  box-shadow: none;
}

.listing-image-wrap {
  position: relative;
  overflow: hidden;
}

.listing-card img {
  width: 100%;
  aspect-ratio: 1.24 / 1;
  object-fit: cover;
}

.sold-card img {
  filter: grayscale(1);
}

.listing-card > div:not(.listing-image-wrap),
.listing-card .card-link > div:not(.listing-image-wrap) {
  min-height: 184px;
  padding: 24px;
}

.listing-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.listing-card h2 {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.3vw, 34px);
}

.listing-card span {
  color: var(--muted);
  line-height: 1.5;
}

.listing-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 8px;
  margin-top: 20px;
}

.listing-features span,
.pill-row span,
.sold-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.sold-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  background: var(--white);
  text-transform: uppercase;
}

.sales-toggle {
  width: fit-content;
  min-width: 180px;
  margin: 34px auto 0;
}

.see-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

#show-sales:not(:checked) + #sales-grid .listing-card:nth-child(n + 7),
#show-sold:not(:checked) + #sold-grid .listing-card:nth-child(n + 7) {
  display: none;
}

.sold-section {
  padding-top: 0;
}

.property-modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.64);
}

.property-modal.is-open,
.lightbox.is-open,
.css-modal:target {
  display: flex;
}

.css-modal.is-closed {
  display: none;
}

.property-modal-panel {
  position: relative;
  width: min(1040px, 100%);
  max-height: min(86vh, 940px);
  overflow: auto;
  padding: clamp(28px, 5vw, 54px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.26);
}

.modal-close,
.close-lightbox,
.lightbox-nav {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 34px;
  line-height: 1;
}

.modal-date,
.modal-sale-info,
.modal-section-title {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.property-modal-panel h2 {
  max-width: 820px;
  margin-bottom: 10px;
  font-size: clamp(34px, 4vw, 58px);
}

.modal-address {
  max-width: 820px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 19px;
}

.pill-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, max-content));
  gap: 10px;
  margin-bottom: 28px;
}

.muted-pill {
  color: var(--muted) !important;
}

.info-table {
  width: 100%;
  margin-bottom: 28px;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.44);
}

.info-table th,
.info-table td {
  width: 50%;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.info-table th {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.modal-description {
  max-width: 880px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  white-space: pre-line;
}

.show-more {
  margin: 0 0 24px;
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 0 0 5px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.native-more {
  margin-bottom: 24px;
}

.native-more summary {
  width: fit-content;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  font-weight: 800;
  cursor: pointer;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 30px;
}

.modal-gallery button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.modal-gallery img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.modal-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.modal-actions .button {
  min-width: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.enquire-form {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.enquire-form input,
.enquire-form textarea {
  border: 1px solid var(--line);
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.62);
}

.enquire-form textarea {
  min-height: 92px;
}

.lightbox {
  z-index: 60;
  background: rgba(0, 0, 0, 0.86);
}

.lightbox img {
  max-width: min(1100px, 82vw);
  max-height: 84vh;
  object-fit: contain;
}

.close-lightbox {
  position: absolute;
  top: 24px;
  right: 28px;
  color: var(--white);
  font-size: 38px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: clamp(54px, 8vw, 92px);
}

.lightbox-nav.prev {
  left: 24px;
}

.lightbox-nav.next {
  right: 24px;
}

.two-column-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 98px);
  align-items: center;
}

.two-column-story img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.story-copy p {
  color: var(--muted);
  font-size: 18px;
}

.team-hero {
  background-position: center 54%;
}

.team-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(34px, 7vw, 98px);
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.team-intro-copy h2 {
  max-width: 700px;
}

.team-intro-text {
  max-width: 780px;
}

.team-intro-text p,
.profile-copy p:not(.section-kicker),
.team-cta p:not(.section-kicker) {
  color: var(--muted);
  font-size: 17px;
}

.team-wide-image {
  padding: clamp(44px, 6vw, 78px) clamp(20px, 5vw, 76px) 0;
}

.team-wide-image img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  object-position: center top;
  background: var(--ink);
}

.team-profile-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  padding: clamp(56px, 8vw, 112px) clamp(20px, 5vw, 76px);
  background: var(--line);
}

.team-profile {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr);
  min-height: 0;
  background: var(--paper);
}

.profile-media {
  display: flex;
  min-height: 780px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink);
}

.profile-media img {
  width: 100%;
  height: 100%;
  max-height: 720px;
  object-fit: contain;
  object-position: bottom center;
}

.profile-copy {
  display: flex;
  flex-direction: column;
  justify-content: start;
  padding: clamp(28px, 4.4vw, 58px);
}

.profile-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(36px, 4.4vw, 70px);
}

.profile-copy h3 {
  margin: 26px 0 10px;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-quote {
  margin: 26px 0 0;
  padding-left: 20px;
  border-left: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--display-font);
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.2;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 28px;
}

.profile-links a {
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-cta {
  border-top: 1px solid var(--line);
  text-align: center;
}

.team-cta h2 {
  max-width: 820px;
  margin: 0 auto;
}

.team-cta .text-link {
  margin-inline: auto;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.service-grid article {
  min-height: 290px;
  padding: 30px;
  background: var(--paper);
}

.service-grid h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 3.3vw, 48px);
}

.service-grid p {
  color: var(--muted);
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.reviews-list figure {
  background: var(--paper);
}

.review-card {
  margin: 0;
}

.review-toggle {
  display: grid;
  width: 100%;
  gap: 18px;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-align: left;
}

.review-stars {
  color: var(--accent);
  font-family: var(--body-font);
  font-size: 18px;
  letter-spacing: 0.16em;
  line-height: 1;
}

.review-title {
  max-width: 820px;
  font-family: var(--display-font);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.12;
}

.review-panel {
  margin-top: 20px;
}

.review-panel p {
  max-width: 780px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(32px, 7vw, 96px);
}

.agent-contact-list {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.agent-contact-list article {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.agent-contact-list h2 {
  margin-bottom: 12px;
  font-size: 40px;
}

.agent-contact-list a,
.contact-list a {
  display: inline-flex;
  margin-right: 18px;
  margin-top: 6px;
}

.appraisal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.appraisal-form label:nth-last-of-type(-n + 2),
.appraisal-form button {
  grid-column: 1 / -1;
}

.compact-form {
  max-width: 720px;
  margin: 0 auto;
}

.appraisal-form.compact-form {
  grid-template-columns: 1fr;
}

.appraisal-form.compact-form label,
.appraisal-form.compact-form button {
  grid-column: 1;
}

textarea,
select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  outline: none;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

select {
  height: 52px;
}

@media (max-width: 1100px) {
  .property-grid,
  .ticker,
  .modal-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-split,
  .agent-section,
  .intro-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .feature-split {
    min-height: auto;
  }

  .feature-image img {
    max-height: 680px;
  }

  .review-grid,
  .journal-grid,
  .listing-grid-large,
  .service-grid,
  .reviews-list,
  .contact-panel,
  .two-column-story,
  .team-intro,
  .team-profile-grid,
  .team-profile {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-right {
    justify-items: start;
  }

  .footer-buttons {
    justify-items: start;
  }

  .footer-legal-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    padding: 12px 18px;
  }

  .brand {
    width: 88px;
    height: 44px;
  }

  .menu-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 0;
    padding: 10px 18px 22px;
    color: var(--ink);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 180ms ease;
  }

  .primary-nav.is-open {
    transform: translateY(0);
  }

  .primary-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav a::after {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding: calc(var(--header-h) + 36px) 18px 108px;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.78));
  }

  h1 {
    font-size: clamp(42px, 14vw, 76px);
  }

  .hero-footer,
  .section-heading {
    display: grid;
  }

  .ticker,
  .property-grid {
    grid-template-columns: 1fr;
  }

  .intro-section,
  .sales-section,
  .reviews-section,
  .contact-section,
  .editorial-band,
  .interior-section {
    padding: 68px 18px;
  }

  .page-hero {
    min-height: 56vh;
    padding: calc(var(--header-h) + 56px) 18px 52px;
  }

  .appraisal-form {
    grid-template-columns: 1fr;
  }

  .property-modal,
  .lightbox {
    padding: 12px;
  }

  .property-modal-panel {
    max-height: 88vh;
    padding: 26px 18px;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }

  .modal-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-toggle {
    position: relative;
    padding-right: 34px;
    cursor: pointer;
  }

  .review-toggle::after {
    position: absolute;
    content: "+";
    top: 26px;
    right: 0;
    color: var(--ink);
    font-family: var(--body-font);
    font-size: 24px;
    font-weight: 400;
  }

  .review-card.is-open .review-toggle::after {
    content: "-";
  }

  .review-title {
    font-size: 24px;
  }

  .review-panel {
    display: none;
    margin-top: 18px;
  }

  .review-card.is-open .review-panel {
    display: block;
  }

  .review-panel p {
    font-size: 16px;
  }

  .listing-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-features span,
  .pill-row span {
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
  }

  .pill-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column-story img {
    min-height: 360px;
  }

  .team-profile-grid {
    padding: 1px;
  }

  .team-profile {
    min-height: auto;
  }

  .profile-media {
    min-height: 430px;
  }

  .profile-media img {
    height: 520px;
  }

  .feature-panel,
  .journal-grid article,
  figure,
  .contact-form {
    padding: 26px;
  }

  .editorial-band > div:first-child {
    margin-bottom: 30px;
  }

  .journal-grid article {
    min-height: auto;
  }

  .journal-grid p {
    margin-bottom: 0;
  }

  .agent-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .agent-card img {
    height: 520px;
  }

  .footer-main {
    padding: 52px 18px;
  }

  .footer-appraisal,
  .footer-subscribe {
    width: min(100%, 310px);
    min-width: 0;
    font-size: 15px;
  }

  .footer-legal-links {
    display: grid;
    gap: 14px;
  }

  .footer-bottom {
    padding: 0 18px 34px;
  }

  .footer-bottom img {
    width: min(160px, 44vw);
  }
}
