:root {
  --ink: #0a0d12;
  --navy: #111923;
  --charcoal: #171b20;
  --paper: #f7f4ef;
  --white: #ffffff;
  --muted: #c9c2b7;
  --soft: #e9e3d8;
  --gold: #d5ae63;
  --red: #c61820;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--charcoal);
  background: var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 82px;
  padding: 16px clamp(20px, 5vw, 76px);
  color: var(--white);
  background: rgba(10, 13, 18, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: min(255px, 100%);
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 34px);
  align-items: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  opacity: 0.88;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--gold);
}

.connect-menu {
  position: relative;
}

.connect-menu summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--white);
  background: var(--red);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.connect-menu summary::-webkit-details-marker {
  display: none;
}

.connect-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(340px, calc(100vw - 32px));
  padding: 18px;
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid #d9d2c6;
  box-shadow: var(--shadow);
}

.connect-panel section + section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e5ded2;
}

.connect-panel strong,
.connect-panel span {
  display: block;
}

.connect-panel strong {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.connect-panel span {
  margin-top: 4px;
  color: #695f51;
}

.quick-links,
.contact-row,
.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links {
  margin-top: 12px;
}

.quick-links a,
.contact-row a {
  min-height: 38px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 82px));
  display: grid;
  align-items: center;
  padding: clamp(72px, 12vw, 140px) clamp(24px, 7vw, 92px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.92) 0%, rgba(8, 10, 14, 0.78) 39%, rgba(8, 10, 14, 0.34) 100%),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2200&q=80") center / cover;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 88px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 58px);
}

h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.1;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 34px;
  color: #f1ece4;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.56;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.button.primary {
  color: var(--white);
  background: var(--red);
  border-color: var(--red);
}

.button.secondary {
  color: var(--white);
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.62);
}

.button:hover,
.button:focus-visible,
.quick-links a:hover,
.quick-links a:focus-visible,
.contact-row a:hover,
.contact-row a:focus-visible {
  transform: translateY(-1px);
}

.section {
  padding: clamp(62px, 8vw, 104px) clamp(24px, 7vw, 92px);
}

.principles {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1.6fr;
  gap: clamp(34px, 6vw, 80px);
  align-items: start;
  background: var(--paper);
}

.section-intro p:not(.eyebrow),
.center-heading + p,
.service-card p,
.broker-card p,
.curator-band p,
.site-footer p {
  color: #5f574d;
  line-height: 1.7;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid #d8d0c3;
}

.principle-grid article {
  min-height: 250px;
  padding: 30px clamp(18px, 2vw, 30px);
  border-right: 1px solid #d8d0c3;
  text-align: center;
}

.line-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  color: var(--red);
  border: 1px solid rgba(198, 24, 32, 0.36);
  border-radius: 50%;
  font-size: 30px;
}

.center-heading {
  max-width: 840px;
  margin: 0 auto 42px;
  text-align: center;
}

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

.service-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  color: var(--white);
  background-color: var(--ink);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.06), rgba(5, 7, 10, 0.88));
}

.service-card p {
  color: rgba(255, 255, 255, 0.84);
}

.commercial {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80");
}

.residential {
  background-image: url("https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=900&q=80");
}

.investment {
  background-image: url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?auto=format&fit=crop&w=900&q=80");
}

.assets {
  background-image: url("https://images.unsplash.com/photo-1494526585095-c41746248156?auto=format&fit=crop&w=900&q=80");
}

.curator-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  padding: clamp(70px, 9vw, 120px) clamp(24px, 7vw, 92px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.96), rgba(8, 10, 14, 0.82)),
    url("https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.curator-band h2 {
  color: var(--white);
}

.curator-band h2::after {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin-top: 22px;
  background: var(--red);
}

.curator-band p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.device-card {
  min-height: 360px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.device-top {
  height: 42px;
  margin-bottom: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.device-grid span {
  min-height: 78px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
}

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

.broker-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  background: var(--white);
  border: 1px solid #ded6ca;
  box-shadow: 0 12px 38px rgba(17, 25, 35, 0.08);
}

.broker-card img,
.placeholder-photo {
  width: 210px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #ece7df;
}

.placeholder-photo {
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 13, 18, 0.18), rgba(10, 13, 18, 0.54)),
    radial-gradient(circle at 50% 34%, #aeb4bc 0 18%, transparent 19%),
    radial-gradient(ellipse at 50% 78%, #7c858f 0 34%, transparent 35%),
    #d8dce0;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.broker-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 500;
}

.contact-row {
  margin-top: 22px;
}

.contact-row a {
  background: transparent;
  color: var(--ink);
  border: 1px solid #cfc5b8;
}

.cta {
  padding: clamp(74px, 9vw, 122px) clamp(24px, 7vw, 92px);
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(8, 10, 14, 0.82), rgba(8, 10, 14, 0.88)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1900&q=80") center / cover;
}

.cta h2 {
  max-width: 900px;
  margin-inline: auto;
}

.cta-actions {
  justify-content: center;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: clamp(28px, 6vw, 80px);
  padding: 52px clamp(24px, 7vw, 92px) 30px;
  color: rgba(255, 255, 255, 0.82);
  background: var(--ink);
}

.site-footer img {
  width: 265px;
  margin-bottom: 18px;
}

.site-footer nav,
.site-footer address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold);
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 6px;
  }

  .principles,
  .curator-band {
    grid-template-columns: 1fr;
  }

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

  .broker-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    min-height: auto;
    padding: 16px;
    gap: 14px;
  }

  .brand img {
    width: 210px;
  }

  .connect-menu summary {
    min-height: 40px;
    padding-inline: 12px;
  }

  .hero {
    min-height: auto;
    padding: 78px 22px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-actions,
  .cta-actions,
  .quick-links {
    flex-direction: column;
  }

  .button,
  .quick-links a,
  .contact-row a {
    width: 100%;
  }

  .section {
    padding: 56px 20px;
  }

  .principle-grid,
  .service-grid,
  .broker-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .principle-grid {
    border-left: 0;
    gap: 12px;
  }

  .principle-grid article {
    min-height: auto;
    border: 1px solid #d8d0c3;
  }

  .broker-card {
    grid-template-columns: 1fr;
  }

  .broker-card img,
  .placeholder-photo {
    width: 100%;
    max-height: 430px;
  }

  .site-footer {
    padding: 44px 20px 26px;
  }
}
