@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f3f0ea;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --surface-soft: #e5e2d9;
  --ink: #18221f;
  --muted: #5d6863;
  --line: rgba(24, 34, 31, 0.12);
  --primary: #bb5d40;
  --primary-dark: #9f4e34;
  --forest: #193430;
  --forest-soft: #284944;
  --shadow: 0 26px 60px rgba(18, 28, 26, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(187, 93, 64, 0.08), transparent 28%),
    linear-gradient(180deg, #f6f2eb 0%, #f1eee7 44%, #ede8df 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

section[id] {
  scroll-margin-top: 112px;
}

.site-header,
.hero-grid,
.signal-bar,
.market-band,
.section,
.site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  background: rgba(14, 22, 21, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 44px rgba(10, 18, 17, 0.22);
}

.brand {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.hero {
  position: relative;
  min-height: 95vh;
  padding: 180px 0 116px;
  background:
    linear-gradient(180deg, rgba(16, 25, 24, 0.2) 0%, rgba(16, 25, 24, 0.76) 100%),
    url("https://upload.wikimedia.org/wikipedia/commons/7/73/Toronto_Skyline%2C_Ontario_Canada.jpg") center/cover;
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(180deg, rgba(243, 240, 234, 0), rgba(243, 240, 234, 0.98));
}

.hero-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(92deg, rgba(8, 14, 14, 0.82) 0%, rgba(8, 14, 14, 0.32) 58%, rgba(8, 14, 14, 0.12) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.72fr);
  gap: 28px;
  align-items: end;
}

.hero-copy {
  color: #ffffff;
  max-width: 720px;
}

.hero-copy::after {
  content: "Queen East office | Toronto leasing, buying, selling";
  display: inline-flex;
  margin-top: 34px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-panel {
  position: relative;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
  box-shadow: var(--shadow);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), rgba(187, 93, 64, 0.14));
  border-radius: 8px 0 0 8px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.18;
}

.hero h1 {
  max-width: 10.4ch;
  font-size: clamp(3.6rem, 8vw, 6.2rem);
}

.hero-panel h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.lede,
.panel-copy,
.about-copy p,
.service-card p,
.listing-copy p,
.action-card p,
.contact-card p,
.quick-card p,
.quote-source,
.legal-note,
.mini-note,
.local-grid p {
  color: var(--muted);
}

.lede {
  max-width: 58ch;
  margin: 20px 0 0;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(187, 93, 64, 0.28);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-dark);
}

.button-secondary {
  background: var(--surface-soft);
  color: var(--ink);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.hero-points li {
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.metric-row span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(25, 52, 48, 0.08);
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 800;
}

.mini-note {
  margin: 18px 0 0;
  font-size: 0.88rem;
}

.signal-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: -34px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(24, 34, 31, 0.1);
  box-shadow: var(--shadow);
}

.signal-item {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.94);
}

.signal-item span {
  display: block;
}

.signal-item span:first-child {
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-band {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.market-band p {
  margin: 0;
  padding: 12px 15px;
  border-radius: 999px;
  border: 1px solid rgba(24, 34, 31, 0.08);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.market-band p:nth-child(3n) {
  background: rgba(25, 52, 48, 0.08);
  color: var(--forest);
}

.market-band p:nth-child(2n) {
  background: rgba(187, 93, 64, 0.08);
}

.section {
  padding: 96px 0;
}

.section-alt {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.32)),
    linear-gradient(180deg, #e2e4dc 0%, #dfe3da 100%);
  padding-inline: max(16px, calc((100% - 1180px) / 2));
}

.section-dark {
  width: 100%;
  background:
    radial-gradient(circle at top right, rgba(187, 93, 64, 0.18), transparent 30%),
    linear-gradient(180deg, #173431 0%, #102422 100%);
  padding-inline: max(16px, calc((100% - 1180px) / 2));
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
  padding-left: 20px;
  border-left: 3px solid var(--primary);
}

.section-head h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.section-head-light .eyebrow,
.section-head-light h2,
.section-dark .quick-card h3,
.section-dark .quick-card p {
  color: #ffffff;
}

.service-grid,
.quick-grid,
.contact-grid,
.quote-grid,
.mls-grid,
.pathway-panel,
.about-grid {
  display: grid;
  gap: 22px;
}

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

.service-card {
  position: relative;
  padding: 28px 18px 0 0;
  border-top: 2px solid rgba(187, 93, 64, 0.28);
}

.service-index {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.quick-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.quick-card {
  padding: 26px 0 0;
  border-top: 2px solid rgba(255, 255, 255, 0.24);
}

.quick-card .eyebrow {
  color: rgba(255, 209, 196, 0.96);
}

.pathways {
  overflow: hidden;
  border: 1px solid rgba(24, 34, 31, 0.08);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.86));
  box-shadow: var(--shadow);
}

.pathway-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px;
  border-bottom: 1px solid rgba(24, 34, 31, 0.08);
  background: rgba(255, 255, 255, 0.56);
}

.pathway-tab {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(24, 34, 31, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.pathway-tab:hover,
.pathway-tab:focus-visible {
  transform: translateY(-1px);
}

.pathway-tab.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: #ffffff;
}

.pathway-panel {
  grid-template-columns: minmax(0, 1.3fr) auto;
  align-items: center;
  padding: 28px;
}

.pathway-panel h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.02;
}

.detail-points {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.detail-points li {
  padding: 13px 14px;
  border-radius: 8px;
  background: rgba(25, 52, 48, 0.06);
  color: var(--muted);
}

.mls-grid {
  grid-template-columns: minmax(0, 1.32fr) repeat(2, minmax(0, 0.68fr));
}

.listing-card,
.action-card,
.contact-card,
.quote-card {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.listing-card {
  overflow: hidden;
}

.listing-card-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.listing-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.listing-copy,
.action-card,
.contact-card,
.quote-card {
  padding: 28px;
}

.listing-copy {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.88));
}

.action-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px 30px;
  border: 1px solid rgba(187, 93, 64, 0.22);
  border-radius: 8px;
  z-index: -1;
}

.about-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.about-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.about-grid div {
  padding-top: 14px;
  border-top: 1px solid rgba(24, 34, 31, 0.1);
}

.about-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.local-section {
  padding-inline: max(16px, calc((100% - 1180px) / 2));
}

.local-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 34px;
  align-items: center;
}

.local-visual {
  position: relative;
}

.local-visual::after {
  content: "Queen Street East";
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(14, 22, 21, 0.78);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.local-visual img {
  width: 100%;
  min-height: 430px;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.local-grid {
  display: grid;
  gap: 26px;
}

.local-grid article {
  padding: 0 0 22px;
  border-bottom: 1px solid rgba(24, 34, 31, 0.1);
}

.local-grid article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.local-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 1.1rem;
  font-weight: 800;
}

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

.quote-card {
  position: relative;
  padding-top: 34px;
  border-top: 3px solid rgba(187, 93, 64, 0.34);
}

.quote-card blockquote {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.98;
}

.quote-card blockquote::before {
  content: "“";
  color: var(--primary);
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.contact-card-primary {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 30%),
    linear-gradient(180deg, var(--forest) 0%, #122826 100%);
  color: #ffffff;
}

.contact-card-primary p {
  color: rgba(255, 255, 255, 0.78);
}

.service-card h3,
.listing-copy h3,
.action-card h3,
.quick-card h3,
.contact-card h3 {
  margin-bottom: 14px;
}

.listing-copy .button,
.action-card .button,
.contact-card .button,
.quick-card .button {
  margin-top: auto;
}

.legal-note {
  margin: 20px 0 0;
  max-width: 70ch;
}

.site-footer {
  padding: 28px 0 48px;
  color: var(--muted);
}

.mobile-bar {
  display: none;
}

@media (max-width: 1080px) {
  .hero-grid,
  .signal-bar,
  .service-grid,
  .quick-grid,
  .mls-grid,
  .listing-card-wide,
  .about-section,
  .about-grid,
  .local-layout,
  .quote-grid,
  .contact-grid,
  .pathway-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .signal-bar {
    margin-top: 0;
  }

  .hero-copy::after {
    margin-top: 26px;
  }

  .pathway-panel {
    align-items: start;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: 78px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 156px;
    padding-bottom: 72px;
  }

  .section,
  .section-alt,
  .section-dark {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .mobile-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #112422;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    color: #ffffff;
    font-weight: 800;
  }

  .mobile-bar a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}
