@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;1,500&display=swap");

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f1efe9;
  color: #111;
  font-family: "DM Sans", sans-serif;
}

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


/* ======================================
   HEADER
====================================== */

.about-header {
  height: 90px;
  padding: 0 4vw;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;

  background: #0c0c0c;
  color: white;
}

.about-brand {
  display: flex;
  flex-direction: column;
}

.about-brand span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.13em;
}

.about-brand small {
  margin-top: 5px;
  font-size: 7px;
  letter-spacing: 0.25em;
  opacity: 0.6;
}

.about-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.about-header nav a,
.about-account {
  font-size: 9px;
  letter-spacing: 0.13em;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.about-header nav a:hover,
.about-header nav a.active,
.about-account:hover {
  opacity: 1;
}

.about-account {
  justify-self: end;
}


/* ======================================
   HERO
====================================== */

.about-hero {
  min-height: 780px;
  padding: 105px 7vw 95px;

  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 8vw;
  align-items: end;

  background: #111;
  color: white;
}

.about-eyebrow {
  display: block;
  margin-bottom: 24px;

  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
}

.about-hero h1 {
  max-width: 920px;
  margin: 0;

  font-size: clamp(68px, 9vw, 142px);
  font-weight: 300;
  line-height: 0.82;
  letter-spacing: -0.06em;
}

.about-hero h1 em {
  display: block;

  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.about-hero-copy > p {
  max-width: 620px;
  margin: 40px 0 0;

  color: #c5c5c5;

  font-family: "Playfair Display", serif;
  font-size: 20px;
  line-height: 1.65;
}

.about-hero-panel {
  padding: 35px 0 8px;
  border-top: 1px solid #3b3b3b;
}

.about-hero-panel span {
  color: #777;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.about-hero-panel strong {
  display: block;
  margin-top: 30px;

  font-size: 19px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.04em;
}


/* ======================================
   PHILOSOPHY
====================================== */

.about-philosophy,
.about-platform,
.about-homeowner {
  padding: 120px 7vw;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 9vw;
  align-items: end;
}

.about-philosophy h2,
.about-section-heading h2,
.about-platform h2,
.about-homeowner h2,
.about-contact h2 {
  margin: 0;

  font-size: clamp(55px, 7vw, 105px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.055em;
}

.about-philosophy h2 em,
.about-section-heading h2 em,
.about-platform h2 em,
.about-homeowner h2 em,
.about-contact h2 em {
  display: block;

  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.about-philosophy-copy p,
.about-platform-copy > p,
.about-homeowner > div:last-child p {
  margin: 0 0 26px;

  font-family: "Playfair Display", serif;
  font-size: 20px;
  line-height: 1.65;
}


/* ======================================
   PRINCIPLES
====================================== */

.about-principles {
  padding: 110px 7vw;
  background: #dedbd4;
}

.principles-grid {
  margin-top: 75px;

  display: grid;
  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid #bbb7ae;
}

.principles-grid article {
  min-height: 330px;
  padding: 30px;

  display: flex;
  flex-direction: column;

  border-right: 1px solid #bbb7ae;
  border-bottom: 1px solid #bbb7ae;
}

.principles-grid article:last-child {
  border-right: 0;
}

.principles-grid article > span {
  color: #777;
  font-size: 9px;
  letter-spacing: 0.15em;
}

.principles-grid h3 {
  margin-top: auto;
  margin-bottom: 15px;

  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.12em;
}

.principles-grid p {
  margin: 0;

  color: #555;

  font-size: 13px;
  line-height: 1.7;
}


/* ======================================
   PLATFORM
====================================== */

.about-platform {
  background: #f1efe9;
}

.about-platform-links {
  margin-top: 40px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 18px;
}

.about-platform-links a,
.about-homeowner a,
.about-contact > a {
  padding-bottom: 5px;
  border-bottom: 1px solid;

  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.13em;
}


/* ======================================
   SERVICES
====================================== */

.about-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-service-card {
  min-height: 560px;
  padding: 70px 7vw;

  display: flex;
  flex-direction: column;

  background: #111;
  color: white;

  border-right: 1px solid #333;
}

.about-service-card:last-child {
  border-right: 0;
  background: #1a1a1a;
}

.about-service-card > span {
  color: #777;

  font-size: 9px;
  letter-spacing: 0.17em;
}

.about-service-card h3 {
  max-width: 700px;
  margin: auto 0 25px;

  font-size: clamp(48px, 5vw, 80px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.about-service-card h3 em {
  display: block;

  font-family: "Playfair Display", serif;
  font-weight: 500;
}

.about-service-card p {
  max-width: 520px;
  margin: 0;

  color: #aaa;

  font-size: 14px;
  line-height: 1.7;
}

.about-service-card strong {
  margin-top: 35px;

  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.13em;
}


/* ======================================
   HOMEOWNER
====================================== */

.about-homeowner {
  background: #c9c5bc;
}


/* ======================================
   CONTACT
====================================== */

.about-contact {
  padding: 130px 7vw;

  background: #0d0d0d;
  color: white;
}

.about-contact > span {
  color: #888;

  font-size: 9px;
  letter-spacing: 0.2em;
}

.about-contact h2 {
  max-width: 1000px;
  margin-top: 25px;
}

.about-contact p {
  max-width: 600px;

  margin: 35px 0 0;

  color: #aaa;

  font-family: "Playfair Display", serif;
  font-size: 19px;
  line-height: 1.65;
}

.about-contact > a {
  display: inline-block;
  margin-top: 38px;
}


/* ======================================
   FOOTER
====================================== */

.about-footer {
  padding: 58px 4vw 36px;

  background: #090909;
  color: white;
}

.about-footer-name {
  font-size: clamp(70px, 10.5vw, 190px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.07em;
  white-space: nowrap;
}

.about-footer-bottom {
  margin-top: 58px;
  padding-top: 22px;

  display: flex;
  justify-content: space-between;
  gap: 40px;

  border-top: 1px solid rgba(255,255,255,0.15);

  font-size: 9px;
  letter-spacing: 0.09em;
}

.about-footer-bottom > span {
  letter-spacing: 0.2em;
}

.about-footer-bottom > div {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;

  color: #777;
}

.about-footer-bottom a {
  color: #999;
}


/* ======================================
   TABLET
====================================== */

@media (max-width: 900px) {

  .about-header {
    grid-template-columns: 1fr auto;
  }

  .about-header nav {
    display: none;
  }

  .about-hero,
  .about-philosophy,
  .about-platform,
  .about-homeowner {
    grid-template-columns: 1fr;
  }

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

  .about-services {
    grid-template-columns: 1fr;
  }

  .about-service-card {
    border-right: 0;
    border-bottom: 1px solid #333;
  }

  .about-footer-name {
    white-space: normal;
  }

  .about-footer-bottom {
    flex-direction: column;
  }
}


/* ======================================
   MOBILE
====================================== */

@media (max-width: 600px) {

  .about-header {
    height: 75px;
    padding: 0 22px;
  }

  .about-hero,
  .about-philosophy,
  .about-principles,
  .about-platform,
  .about-homeowner,
  .about-contact {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-hero {
    min-height: 680px;
  }

  .about-hero h1 {
    font-size: 58px;
  }

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

  .principles-grid article {
    border-right: 0;
  }

  .about-service-card {
    min-height: 480px;
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .about-footer-name {
    font-size: 18vw;
    line-height: 0.85;
  }
}
/* Stellar MLS compliance: brokerage must be readily visible with site branding. */
.brand-brokerage {
  display: block;
  margin-top: 5px;
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.25;
  opacity: 0.9;
}

@media (max-width: 700px) {
  .brand-brokerage {
    margin-top: 3px;
    font-size: 5px;
    letter-spacing: 0.08em;
  }
}
/* =========================================
   FINAL STELLAR / YELLOWTAIL ABOUT PAGE
========================================= */


/* =========================================
   HEADER BROKERAGE IDENTITY
========================================= */

.about-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-brand .brokerage-name {
  display: block;

  color: #fff;

  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-brand .agent-name {
  display: block;

  margin-top: 4px;

  color: rgba(255, 255, 255, 0.82);

  font-size: 7px;
  font-weight: 500;
  line-height: 1.3;

  letter-spacing: 0.07em;
  text-transform: uppercase;
}


/* =========================================
   BROKERAGE DISCLOSURE
========================================= */

.stellar-brokerage-disclosure {
  position: relative;
  z-index: 95;

  width: 100%;

  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 24px;

  padding:
    15px
    4vw;

  border-bottom:
    1px solid
    rgba(
      17,
      17,
      17,
      0.14
    );

  background: #fff;

  color: #111;
}

.stellar-brokerage-logo {
  display: block;

  width: 145px;

  max-width: 100%;

  height: auto;
}

.stellar-brokerage-identity {
  display: flex;

  flex-direction: column;

  gap: 3px;

  min-width: 0;
}

.stellar-brokerage-identity strong {
  color: #111;

  font-size: 12px;

  font-weight: 600;

  line-height: 1.35;
}

.stellar-brokerage-identity span {
  color:
    rgba(
      17,
      17,
      17,
      0.68
    );

  font-size: 9px;

  line-height: 1.45;
}

.stellar-brokerage-contact {
  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 3px;

  text-align: right;
}

.stellar-brokerage-contact a,
.stellar-brokerage-contact span {
  color: #111;

  font-size: 9px;

  line-height: 1.45;
}

.stellar-brokerage-contact a {
  text-decoration: underline;

  text-underline-offset: 2px;
}


/* =========================================
   FOOTER BROKERAGE
========================================= */

.about-footer-bottom {
  align-items: flex-start;
}

.about-footer-brokerage {
  display: flex;

  flex-direction: column;

  align-items: flex-end;

  gap: 5px;

  text-align: right;

  color: #777;
}

.about-footer-brokerage strong {
  color: #fff;

  font-size: 11px;

  font-weight: 600;

  line-height: 1.35;

  letter-spacing: 0.04em;
}

.about-footer-brokerage span,
.about-footer-brokerage a {
  color: #999;

  font-size: 8px;

  line-height: 1.45;

  letter-spacing: 0.04em;
}

.about-footer-brokerage a:hover {
  color: #fff;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

  .stellar-brokerage-disclosure {
    grid-template-columns:
      auto
      1fr;

    gap: 16px;
  }

  .stellar-brokerage-contact {
    grid-column:
      1
      /
      -1;

    flex-direction: row;

    flex-wrap: wrap;

    align-items: flex-start;

    gap:
      6px
      18px;

    text-align: left;
  }

  .about-footer-brokerage {
    align-items: flex-start;

    text-align: left;
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

  .about-brand .brokerage-name {
    font-size: 7px;

    letter-spacing: 0.055em;
  }

  .about-brand .agent-name {
    font-size: 6px;

    letter-spacing: 0.045em;
  }

  .stellar-brokerage-disclosure {
    grid-template-columns: 1fr;

    gap: 10px;

    padding:
      14px
      22px;
  }

  .stellar-brokerage-logo {
    width: 125px;
  }

  .stellar-brokerage-contact {
    grid-column: auto;

    flex-direction: column;

    align-items: flex-start;

    gap: 3px;

    text-align: left;
  }

  .stellar-brokerage-identity strong {
    font-size: 11px;
  }

  .stellar-brokerage-identity span,
  .stellar-brokerage-contact a,
  .stellar-brokerage-contact span {
    font-size: 8px;
  }

  .about-footer-bottom {
    align-items: flex-start;
  }

  .about-footer-brokerage {
    width: 100%;

    align-items: flex-start;

    text-align: left;
  }

}