@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: #f2f4f1;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: #dce6e1;
  --ink: #162120;
  --muted: #5b6764;
  --line: rgba(22, 33, 32, 0.11);
  --primary: #165857;
  --primary-dark: #0f4544;
  --accent: #d06947;
  --deep: #112b29;
  --shadow: 0 24px 56px rgba(17, 28, 27, 0.13);
}

* {
  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 right, rgba(208, 105, 71, 0.08), transparent 26%),
    linear-gradient(180deg, #f7f8f5 0%, #f0f3ef 40%, #edf1ec 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,
.top-bar,
.coverage-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(15, 31, 30, 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, 20, 19, 0.2);
}

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

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

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

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

.hero {
  position: relative;
  min-height: 94vh;
  padding: 180px 0 118px;
  background:
    linear-gradient(180deg, rgba(11, 24, 24, 0.16) 0%, rgba(11, 24, 24, 0.76) 100%),
    url("https://upload.wikimedia.org/wikipedia/commons/8/83/St._Lawrence_Market_-_Downtown_Toronto.jpg") center/cover;
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 170px;
  background: linear-gradient(180deg, rgba(242, 244, 241, 0), rgba(242, 244, 241, 0.98));
}

.hero-layer {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 15, 15, 0.84) 0%, rgba(8, 15, 15, 0.36) 58%, rgba(8, 15, 15, 0.14) 100%);
}

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

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

.hero-copy::after {
  content: "Toronto team | buyers, sellers, pricing, next-step clarity";
  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-quote {
  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-quote::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), rgba(208, 105, 71, 0.16));
  border-radius: 8px 0 0 8px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  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;
  text-wrap: balance;
}

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

.hero h1 {
  max-width: 10.2ch;
  font-size: clamp(3.5rem, 8vw, 6rem);
}

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

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

.lede,
.quote-note,
.section-note,
.listing-meta,
.listing-body,
.service-card p,
.contact-card p,
.team-copy p,
.legal-note,
.process-track p,
.resource-card 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,
.quote-actions,
.cta-stack {
  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(--accent);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(208, 105, 71, 0.26);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #b95a3a;
}

.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;
}

.top-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(22, 33, 32, 0.1);
  box-shadow: var(--shadow);
}

.top-bar div {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.94);
}

.top-bar span {
  display: block;
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.coverage-band p {
  margin: 0;
  padding: 12px 15px;
  border-radius: 999px;
  border: 1px solid rgba(22, 33, 32, 0.08);
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.coverage-band p:nth-child(2n) {
  background: rgba(22, 88, 87, 0.08);
  color: var(--primary);
}

.coverage-band p:nth-child(3n) {
  background: rgba(208, 105, 71, 0.08);
}

.section {
  padding: 96px 0;
}

.section-alt {
  width: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.34)),
    linear-gradient(180deg, #e0e7e2 0%, #dde5e0 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(--accent);
}

.team-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 34px;
  align-items: center;
}

.team-photo {
  position: relative;
}

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

.team-photo::after {
  content: "";
  position: absolute;
  inset: auto -18px -18px 30px;
  border: 1px solid rgba(208, 105, 71, 0.2);
  border-radius: 8px;
  z-index: -1;
}

.team-grid,
.listing-grid,
.service-grid,
.contact-grid,
.resource-grid,
.pathway-panel,
.process-track {
  display: grid;
  gap: 22px;
}

.team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.team-grid article {
  padding-top: 14px;
  border-top: 1px solid rgba(22, 33, 32, 0.1);
}

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

.team-grid h3 {
  margin-bottom: 8px;
}

.team-grid p {
  margin: 0;
}

.listing-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

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

.listing-card,
.resource-card,
.contact-card,
.service-card {
  display: flex;
  flex-direction: column;
}

.listing-featured {
  position: relative;
  grid-column: span 2;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(17, 43, 41, 0.14), rgba(17, 43, 41, 0.14)),
    linear-gradient(180deg, #163634 0%, #102a28 100%);
  color: #ffffff;
}

.listing-featured::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)),
    url("https://upload.wikimedia.org/wikipedia/commons/thumb/0/0f/Toronto_skyline_from_Polson_Pier.jpg/1280px-Toronto_skyline_from_Polson_Pier.jpg") center/cover;
  opacity: 0.22;
  pointer-events: none;
}

.listing-featured .listing-meta,
.listing-featured .listing-body {
  color: rgba(255, 255, 255, 0.76);
}

.listing-card:nth-child(2) {
  background: linear-gradient(180deg, rgba(22, 88, 87, 0.08), rgba(255, 255, 255, 0.92));
}

.listing-card:nth-child(3) {
  background: linear-gradient(180deg, rgba(208, 105, 71, 0.08), rgba(255, 255, 255, 0.92));
}

.listing-card:nth-child(4) {
  background: linear-gradient(180deg, rgba(17, 43, 41, 0.08), rgba(255, 255, 255, 0.92));
}

.listing-body {
  margin: 0 0 20px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.pill-row span {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(22, 33, 32, 0.06);
  font-size: 0.9rem;
  font-weight: 800;
}

.listing-featured .pill-row span {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

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

.service-card {
  padding: 28px 18px 0 0;
  border-top: 2px solid rgba(208, 105, 71, 0.26);
}

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

.process-section {
  width: 100%;
  background:
    radial-gradient(circle at top right, rgba(208, 105, 71, 0.16), transparent 28%),
    linear-gradient(180deg, #112b29 0%, #0d2220 100%);
  padding-inline: max(16px, calc((100% - 1180px) / 2));
}

.process-section .section-head h2,
.process-section .section-head .eyebrow {
  color: #ffffff;
}

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

.process-track article {
  padding: 26px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.process-track span {
  display: inline-flex;
  margin-bottom: 14px;
  color: #ffb39b;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.process-track h3 {
  margin-bottom: 12px;
  color: #ffffff;
}

.process-track p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.pathways {
  overflow: hidden;
  border: 1px solid rgba(22, 33, 32, 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(22, 33, 32, 0.08);
  background: rgba(255, 255, 255, 0.56);
}

.pathway-tab {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(22, 33, 32, 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(--primary);
  border-color: var(--primary);
  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(22, 88, 87, 0.06);
  color: var(--muted);
}

.resource-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.resource-card:first-child {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 32%),
    linear-gradient(180deg, var(--deep) 0%, #102927 100%);
  color: #ffffff;
}

.resource-card:first-child p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-card-accent {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.06)),
    linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
}

.contact-card-accent p {
  color: rgba(255, 255, 255, 0.8);
}

.listing-card .button,
.resource-card .button,
.contact-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,
  .top-bar,
  .team-section,
  .team-grid,
  .listing-grid,
  .service-grid,
  .contact-grid,
  .resource-grid,
  .pathway-panel,
  .process-track {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .listing-featured {
    grid-column: auto;
  }
}

@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,
  .process-section {
    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: #102927;
    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);
  }
}
