/* =========================================================
   Glasshouse Collective — Modern Minimal Luxury
   Black & white system, full-color photography
   Compass brand typography
   ========================================================= */

@font-face { font-family: "Compass Serif"; src: url("fonts/CompassSerif-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Compass Serif"; src: url("fonts/CompassSerif-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Compass Sans"; src: url("fonts/CompassSans-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Compass Sans"; src: url("fonts/CompassSans-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Compass Sans"; src: url("fonts/CompassSans-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #0a0a0a;
  --ink-80: #1c1c1c;
  --ink-60: #4a4a4a;
  --ink-40: #8a8a8a;
  --line: #e6e6e6;
  --line-strong: #cfcfcf;
  --paper: #ffffff;
  --paper-2: #f6f5f3;
  --accent: #37a0c5;        /* Glasshouse brand blue */
  --accent-deep: #287590;   /* same hue, deeper, for small text on light backgrounds */
  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --sans: "Compass Sans", "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Compass Serif", "Cormorant Garamond", "Times New Roman", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Typography ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-40);
  font-weight: 500;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.02; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.1vw, 1.7rem); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-60); font-weight: 300; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 1.05rem 2.1rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ink); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  border-bottom: 1px solid var(--ink); padding-bottom: .35rem;
  transition: gap .35s var(--ease);
}
.link-arrow:hover { gap: 1.1em; }
.section--ink .link-arrow { border-bottom-color: rgba(255,255,255,.55); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255,255,255,0.12);
  padding-block: .85rem;
}

/* Brand lockup: Glasshouse logo | hairline | Compass logo */
.brand-lockup { display: flex; align-items: center; gap: 1rem; }
.brand-lockup .gh-logo { height: 34px; width: auto; display: block; }
.brand-lockup .hairline { width: 1px; height: 30px; background: rgba(255,255,255,0.42); display: block; }
.brand-lockup .compass-logo { height: 17px; width: auto; display: block; opacity: .95; }
.site-header.scrolled .brand-lockup .gh-logo { height: 30px; }

/* Nav + toggle are white over hero and on the dark scrolled bar */
.site-header .nav a,
.site-header .nav-toggle span { color: var(--paper); }

.nav { display: flex; align-items: center; gap: clamp(1rem, 1.7vw, 1.9rem); }
.nav a {
  font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 500;
  position: relative; padding-bottom: 3px;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: currentColor;
  transition: width .35s var(--ease);
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav .nav-cta { border: 1px solid currentColor; padding: .6rem 1.2rem; }
.nav .nav-cta::after { display: none; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { width: 26px; height: 1.5px; background: var(--ink); transition: .3s; }

@media (max-width: 1080px) {
  .nav {
    position: fixed; inset: 0; background: var(--ink); color: var(--paper);
    flex-direction: column; justify-content: center; gap: 2rem;
    transform: translateX(100%); transition: transform .5s var(--ease);
  }
  .nav.open { transform: translateX(0); }
  .nav a { color: var(--paper); font-size: 1rem; }
  .nav .nav-cta { border-color: var(--paper); }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.open span { background: var(--paper); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: flex-end; color: var(--paper); }
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.08) 38%, rgba(0,0,0,.72) 100%); }
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(3rem, 8vh, 7rem); }
.hero h1 { color: var(--paper); max-width: 16ch; }
.hero .eyebrow { color: rgba(255,255,255,.82); margin-bottom: 1.6rem; }
.hero__sub { max-width: 46ch; color: rgba(255,255,255,.9); font-weight: 300; font-size: clamp(1rem,1.5vw,1.25rem); margin-top: 1.6rem; }
.hero__cta { margin-top: 2.4rem; display: flex; gap: 1rem; flex-wrap: wrap; }
/* Deepen overlay so hero headline always reads on any photo */
.hero__media::after { background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.78) 100%); }

/* Page hero (interior pages) */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: var(--paper); }
.page-hero__media { position: absolute; inset: 0; overflow: hidden; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,.6)); }
.page-hero__inner { position: relative; z-index: 2; padding-bottom: clamp(2.5rem, 6vh, 5rem); }
.page-hero h1 { color: var(--paper); }
.page-hero .eyebrow { color: rgba(255,255,255,.82); margin-bottom: 1.2rem; }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(4.5rem, 11vh, 9rem); }
.section--tight { padding-block: clamp(3rem, 7vh, 5.5rem); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow { color: var(--ink-40); }
.section--ink .lede { color: rgba(255,255,255,.72); }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .eyebrow { margin-bottom: 1.1rem; display: block; }
.section-head h2, .page-hero h1, .hero h1 { text-wrap: balance; }
.section-head.center { margin-inline: auto; text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }
.split__media { position: relative; overflow: hidden; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
/* For panels fed by wide listing photography: match the source shape so the
   browser never has to upscale a landscape crop into a portrait box. */
.split__media--wide img { aspect-ratio: 16/10; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem,2.5vw,2rem); margin-top: 2.5rem; }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr 1fr; } }
.stat .num { font-family: var(--serif); font-size: clamp(1.9rem,3.2vw,2.8rem); line-height: 1; }
.stat .label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-40); margin-top: .6rem; line-height: 1.45; }
.section--ink .stat .label { color: rgba(255,255,255,.6); }

/* ---------- Featured listings ---------- */
.listings { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 960px) { .listings { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .listings { grid-template-columns: 1fr; } }
.card { position: relative; overflow: hidden; background: var(--paper); }
.card__media { overflow: hidden; aspect-ratio: 3/4; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; background: var(--paper); color: var(--ink); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; padding: .45rem .8rem; font-weight: 600; }
.card__body { padding: 1.4rem .2rem 0; }
.card__price { font-family: var(--serif); font-size: 1.7rem; }
.card__addr-lg { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.card__addr { font-size: .95rem; color: var(--ink-80); margin-top: .25rem; }
.card__sub { font-size: .9rem; color: var(--ink-60); margin-top: .35rem; font-weight: 300; }
.card__meta { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-40); margin-top: .85rem; display: flex; gap: 1.1rem; flex-wrap: wrap; }

/* ---------- Sold gallery (uniform grid) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem,2vw,1.4rem); }
@media (max-width: 900px){ .gallery{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .gallery{ grid-template-columns: 1fr; } }
.gallery figure { position: relative; overflow: hidden; margin: 0; aspect-ratio: 4 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
/* Permanent legibility gradient so the address always reads */
.gallery figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.66) 100%); transition: background .45s var(--ease); }
.gallery figure:hover::after { background: linear-gradient(180deg, rgba(0,0,0,.05) 30%, rgba(0,0,0,.78) 100%); }
.sold-tag { position: absolute; top: 1rem; left: 1rem; z-index: 3; background: var(--paper); color: var(--ink); font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; padding: .45rem .8rem; }
.gallery figcaption { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; z-index: 3; color: var(--paper); font-size: .8rem; letter-spacing: .06em; line-height: 1.35; text-shadow: 0 1px 12px rgba(0,0,0,.6); transition: transform .45s var(--ease); }
.gallery figure:hover figcaption { transform: translateY(-2px); }
/* Whole sold tile is clickable through to the Compass listing */
.gallery .tile-link { position: absolute; inset: 0; z-index: 4; }
.gallery figure:has(.tile-link) { cursor: pointer; }

/* ---------- Quote / review ---------- */
.quote { max-width: 30ch; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.review-grid > * { min-width: 0; }
@media (max-width: 780px){ .review-grid{ grid-template-columns: 1fr; } }
.review { border: 1px solid var(--line); padding: clamp(1.8rem,3vw,2.6rem); background: var(--paper); display: flex; flex-direction: column; min-width: 0; }
.review h4, .review p { overflow-wrap: anywhere; }
.section--ink .review { border-color: rgba(255,255,255,.16); background: transparent; }
.review .stars { font-family: Arial, "Helvetica Neue", sans-serif; letter-spacing: .25em; font-size: .9rem; color: var(--ink); margin-bottom: 1.1rem; }
.section--ink .review .stars { color: var(--paper); }
.review h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; margin-bottom: .8rem; }
.review p { color: var(--ink-60); font-weight: 300; }
.section--ink .review p { color: rgba(255,255,255,.72); }
.review .by { margin-top: auto; padding-top: 1.4rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-40); }
.section--ink .review .by { color: rgba(255,255,255,.55); }

/* ---------- Big pull quote ---------- */
.pull { text-align: center; max-width: 60rem; margin-inline: auto; }
.pull blockquote { max-width: 18em; margin-inline: auto; }
.pull blockquote { font-family: var(--serif); font-size: clamp(1.6rem,3.2vw,2.6rem); line-height: 1.12; font-weight: 500; }
.pull cite { display: block; font-style: normal; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40); margin-top: 2rem; }
.section--ink .pull cite { color: rgba(255,255,255,.55); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem,3vw,3rem); }
@media (max-width: 820px){ .steps{ grid-template-columns:1fr; } }
.step { border-top: 1px solid var(--ink); padding-top: 1.6rem; }
.section--ink .step { border-top-color: rgba(255,255,255,.3); }
.step .n { font-family: var(--serif); font-size: 1.1rem; color: var(--ink-40); margin-bottom: 1rem; }
.step h3 { margin-bottom: .8rem; }
.step p { color: var(--ink-60); font-weight: 300; }
.section--ink .step p { color: rgba(255,255,255,.7); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.2rem,2.5vw,2.2rem); }
@media (max-width: 900px){ .team-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 560px){ .team-grid{ grid-template-columns:1fr; } }
.member__media { overflow: hidden; aspect-ratio: 1/1; }
.member__media img { width:100%; height:100%; object-fit: cover; filter: grayscale(100%); transition: filter .6s var(--ease), transform 1s var(--ease); }
.member:hover .member__media img { filter: grayscale(100%); transform: scale(1.04); }
.member__name { font-family: var(--serif); font-size: 1.45rem; margin-top: 1.1rem; }
.member__role { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); margin-top: .35rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: var(--paper); }
.cta-band__media { position:absolute; inset:0; }
.cta-band__media img { width:100%; height:100%; object-fit: cover; }
.cta-band__media::after { content:""; position:absolute; inset:0; background: rgba(0,0,0,.6); }
.cta-band__inner { position: relative; z-index:2; text-align:center; padding-block: clamp(5rem,12vh,8rem); }
.cta-band h2 { color: var(--paper); max-width: 18ch; margin-inline:auto; }
.cta-band .lede { color: rgba(255,255,255,.8); max-width: 50ch; margin: 1.4rem auto 2.4rem; }

/* ---------- Newsletter ---------- */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,5rem); align-items: center; }
@media (max-width: 780px){ .newsletter{ grid-template-columns:1fr; } }
.news-form { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.news-form input { flex: 1 1 200px; border: 0; border-bottom: 1px solid var(--line-strong); padding: .9rem .2rem; font-size: 1rem; font-family: var(--sans); background: transparent; }
.news-form input:focus { outline: 0; border-bottom-color: var(--ink); }
.section--ink .news-form input { color: var(--paper); border-bottom-color: rgba(255,255,255,.3); }
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-message { margin-top: 1.6rem; font-size: 1rem; color: var(--ink); }
.form-message--error { color: #9b2c2c; }
.section--ink .form-message { color: var(--paper); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-block: clamp(3.5rem,7vh,5.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2.5rem; }
@media (max-width: 820px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 480px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand .mark { font-family: var(--serif); font-size: 1.7rem; }
.footer-lockup { display: flex; align-items: center; gap: 1rem; }
.footer-lockup .gh-logo { height: 32px; width: auto; }
.footer-lockup .hairline { width: 1px; height: 30px; background: rgba(255,255,255,0.3); }
.footer-lockup .compass-logo { height: 22px; width: auto; opacity: .9; }
.footer-brand p { color: rgba(255,255,255,.6); font-weight: 300; margin-top: 1.4rem; max-width: 32ch; font-size: .92rem; }
.footer-col h5 { font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 1.2rem; }
.footer-col a, .footer-col p { display: block; color: rgba(255,255,255,.82); font-size: .92rem; margin-bottom: .7rem; transition: color .3s; font-weight: 300; }
.footer-col a:hover { color: var(--paper); }
.footer-col .footer-contact-gap { margin-top: 1.6rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.6rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 1.6rem; font-size: .72rem; letter-spacing: .08em; color: rgba(255,255,255,.45); }
.footer-legal { display: flex; align-items: center; gap: 1rem; }
.footer-legal img { height: 34px; width: auto; opacity: .9; }
.footer-legal .disc { max-width: 40ch; line-height: 1.5; }

/* ---------- Team roster (bios) ---------- */
.roster { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4.5rem); }
.member-row { display: grid; grid-template-columns: 210px 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.member-row + .member-row { border-top: 1px solid var(--line); padding-top: clamp(2.5rem, 5vw, 4.5rem); }
@media (max-width: 720px){ .member-row{ grid-template-columns: 1fr; gap: 1.4rem; } }
.member-row__media { aspect-ratio: 1/1; overflow: hidden; border-radius: 50%; background: var(--paper-2); }
.member-row__media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .6s var(--ease), transform 1s var(--ease); }
.member-row:hover .member-row__media img { filter: grayscale(100%); transform: scale(1.03); }
/* Photos supplied with the circle already cut out sit slightly inside the frame; enlarge them to fill it. */
.member-row__media--inset img { transform: scale(1.07); }
.member-row:hover .member-row__media--inset img { transform: scale(1.11); }
.member-row__media--inset-ring img { transform: scale(1.14); }
.member-row:hover .member-row__media--inset-ring img { transform: scale(1.17); }
.member-row__name { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.05; }
.member-row__role { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); margin-top: .6rem; }
.member-row__bio { color: var(--ink-60); font-weight: 300; margin-top: 1.3rem; }
.member-row__bio p { margin-bottom: .8rem; }
.member-row__contact { display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 1.4rem; font-size: .78rem; letter-spacing: .04em; }
.member-row__contact a { border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; transition: border-color .3s; }
.member-row__contact a:hover { border-color: var(--ink); }

/* ---------- Reveal animation ----------
   Fail-safe: hidden state only applies when JS is active (.js on <html>).
   Without JS, or if the observer never fires, content stays fully visible. */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .js .reveal{ opacity:1; transform:none; transition:none; } html{ scroll-behavior:auto; } }

/* ---------- FAQ (AEO) ---------- */
.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.6rem 0; display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; font-family: var(--serif); font-size: clamp(1.2rem, 2.1vw, 1.55rem); line-height: 1.2; transition: color .3s var(--ease); }
.faq summary:hover { color: var(--ink-60); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.6rem; line-height: 1; color: var(--ink-40); flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary::after { content: "\2013"; }
.faq__a { padding: 0 0 1.7rem; color: var(--ink-60); font-weight: 300; max-width: 72ch; }
.faq__a p { margin-bottom: .9rem; }
.faq__a p:last-child { margin-bottom: 0; }
.section--ink .faq details, .section--ink .faq details:first-child { border-color: rgba(255,255,255,.16); }
.section--ink .faq summary { color: var(--paper); }
.section--ink .faq__a { color: rgba(255,255,255,.72); }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-s { margin-top: 1.2rem; } .mt-m { margin-top: 2rem; } .mt-l { margin-top: 3rem; }
.divider { height:1px; background: var(--line); border:0; }

/* ---------- Mobile polish ---------- */
@media (max-width: 600px) {
  .site-header { padding-inline: 1.1rem; }
  .brand-lockup { gap: .7rem; }
  .brand-lockup .gh-logo { height: 24px; }
  .brand-lockup .hairline { height: 20px; }
  .brand-lockup .compass-logo { height: 12px; }
  .hero { min-height: 88svh; }
  .hero__cta { gap: .7rem; }
  .hero__cta .btn { flex: 1 1 auto; justify-content: center; }
  .member-row__media { max-width: 200px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .brand-lockup .compass-logo, .brand-lockup .hairline { display: none; }
}


/* Consistent black & white treatment for team photography */
.split__media img.bw { filter: grayscale(100%); }


/* =========================================================
   Areas, Properties and Insights
   ========================================================= */

/* ---------- Areas ---------- */
.area-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.6rem, 3.5vw, 3rem); }
@media (max-width: 820px) { .area-grid { grid-template-columns: 1fr; } }
.area-card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.area-card__media { overflow: hidden; aspect-ratio: 16 / 10; }
.area-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.area-card:hover .area-card__media img { transform: scale(1.04); }
.area-card__body { padding: clamp(1.5rem, 2.6vw, 2.2rem); }
.area-card__body h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); }
.area-card__stat { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); margin: .8rem 0 1.1rem; font-weight: 500; }
.area-card__body p { color: var(--ink-60); font-weight: 300; font-size: .95rem; }

/* ---------- Sales table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); }
.sales-table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .92rem; }
.sales-table th, .sales-table td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.sales-table th { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-40); font-weight: 600; background: var(--paper-2); }
.sales-table td { color: var(--ink-60); font-weight: 300; }
.sales-table td:first-child { color: var(--ink); font-weight: 400; }
.sales-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.sales-table tbody tr:last-child td { border-bottom: 0; }
.sales-table tbody tr:hover td { background: var(--paper-2); }
@media (max-width: 720px) { .sales-table .hide-sm { display: none; } .sales-table { min-width: 0; } }
.table-note { font-size: .72rem; color: var(--ink-40); margin-top: 1rem; letter-spacing: .04em; }

/* ---------- Insights: categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2.2rem); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }
.cat { border-top: 1px solid var(--line-strong); padding-top: 1.2rem; min-width: 0; }
.cat h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.cat p { color: var(--ink-60); font-weight: 300; font-size: .88rem; margin-top: .6rem; }

/* ---------- Insights: feature ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.feature__media { overflow: hidden; }
.feature__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1.1s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__body { min-width: 0; }
.feature h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }

/* ---------- Insights: post grid ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 3vw, 2.4rem); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
.post-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--paper); display: flex; flex-direction: column; min-width: 0; }
.post-card__media { overflow: hidden; aspect-ratio: 3 / 2; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 1.3rem .2rem 0; }
.post-card__cat { font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-40); font-weight: 600; }
.post-card__body h3 { font-size: clamp(1.15rem, 1.7vw, 1.4rem); margin-top: .7rem; }
.post-card__body p { color: var(--ink-60); font-weight: 300; font-size: .88rem; margin-top: .7rem; }
.post-card__meta { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-40); margin-top: 1rem; }

/* ---------- Article ---------- */
.article-hero { position: relative; min-height: 58vh; display: flex; align-items: flex-end; color: var(--paper); }
.article-hero__media { position: absolute; inset: 0; overflow: hidden; }
.article-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.72)); }
.article-hero__inner { position: relative; z-index: 2; padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.article-hero h1 { color: var(--paper); font-size: clamp(1.9rem, 3.8vw, 3.1rem); max-width: 20ch; }
.article-hero .eyebrow { color: rgba(255,255,255,.82); margin-bottom: 1.1rem; display: block; }

.article-meta { display: flex; flex-wrap: wrap; gap: 1.6rem; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-40); padding-bottom: 1.4rem; border-bottom: 1px solid var(--line); max-width: 68ch; }
.article { max-width: 68ch; padding-top: 2.2rem; }
.article-lede { font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.55; font-weight: 300; color: var(--ink-80); }
.article h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: clamp(2.4rem, 4vw, 3.2rem); }
.article p { color: var(--ink-60); font-weight: 300; margin-top: 1.1rem; }
.article h2 + p { margin-top: 1.2rem; }
.article-disclaimer { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-40); }

/* ---------- Related posts ---------- */
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 2rem); }
@media (max-width: 820px) { .mini-grid { grid-template-columns: 1fr; } }
.mini-card { display: flex; gap: 1.1rem; align-items: center; min-width: 0; }
.mini-card__media { flex: 0 0 92px; overflow: hidden; aspect-ratio: 1 / 1; }
.mini-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.mini-card:hover .mini-card__media img { transform: scale(1.06); }
.mini-card__body { min-width: 0; }
.mini-card__cat { font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-40); font-weight: 600; }
.mini-card__body h3 { font-size: 1rem; line-height: 1.25; margin-top: .45rem; }

/* ---------- Testimonials (full client reviews) ---------- */
.testimonials { columns: 2; column-gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (max-width: 780px) { .testimonials { columns: 1; } }
.testimonial { break-inside: avoid; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--line); background: var(--paper); padding: clamp(1.8rem, 3vw, 2.6rem); position: relative; }
.testimonial::before { content: "\201C"; display: block; font-family: var(--serif); font-size: 3.2rem; line-height: 1; height: 1.6rem; overflow: hidden; color: var(--ink-40); margin-bottom: .4rem; }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { color: var(--ink-60); font-weight: 300; line-height: 1.7; overflow-wrap: anywhere; }
.testimonial figcaption { margin-top: 1.4rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: .3rem; }
.testimonial__name { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.testimonial__detail { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-40); }

.article-source { margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--ink-40); font-weight: 300; }
.article-source a { border-bottom: 1px solid var(--line-strong); }

/* ---------- Brand accent (#37a0c5) ---------- */
::selection { background: var(--accent); color: #fff; }
.eyebrow, .post-card__cat, .mini-card__cat, .area-card__stat { color: var(--accent-deep); }
.section--ink .eyebrow { color: var(--accent); }
.hero .eyebrow, .page-hero .eyebrow, .article-hero .eyebrow { color: rgba(255,255,255,.85); }
.nav a::after { background: var(--accent) !important; }
.link-arrow { border-bottom-color: var(--accent); }
.link-arrow:hover { color: var(--accent-deep); }
.section--ink .link-arrow { border-bottom-color: var(--accent); }
.step { border-top-color: var(--accent); }
.section--ink .step { border-top-color: var(--accent); }
.step .n { color: var(--accent); }
.testimonial::before { color: var(--accent); }
.pull cite { color: var(--accent-deep); }
.section--ink .pull cite { color: var(--accent); }
.article h2::after { content: ""; display: block; width: 2.4rem; height: 2px; background: var(--accent); margin-top: .7rem; }
.article a { color: var(--accent-deep); }
.faq summary:hover { color: var(--accent-deep); }
.member-row__contact a { border-bottom-color: var(--accent); }
.footer-col a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.news-form input:focus { border-bottom-color: var(--accent); }

/* ---------- Lighter photo overlays: shade only where text sits ---------- */
.hero__media::after { background:
  linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.2) 45%, rgba(0,0,0,0) 72%),
  linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.04) 22%, rgba(0,0,0,.05) 42%, rgba(0,0,0,.62) 100%); }
@media (max-width: 720px) { .hero__media::after { background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.18) 25%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.72) 100%); } }
.page-hero__media::after, .article-hero__media::after { background:
  linear-gradient(90deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,.08) 55%, rgba(0,0,0,0) 80%),
  linear-gradient(180deg, rgba(0,0,0,.36) 0%, rgba(0,0,0,.04) 24%, rgba(0,0,0,.08) 50%, rgba(0,0,0,.62) 100%); }
.site-header:not(.scrolled) .nav a, .site-header:not(.scrolled) .nav-cta { text-shadow: 0 1px 10px rgba(0,0,0,.35); }
.cta-band__media::after { background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,.5)); }
.hero h1, .page-hero h1, .article-hero h1, .cta-band h2 { text-shadow: 0 2px 28px rgba(0,0,0,.28); }
.hero__sub, .hero .eyebrow, .page-hero .eyebrow, .article-hero .eyebrow, .cta-band .lede { text-shadow: 0 1px 14px rgba(0,0,0,.35); }

/* ---------- Softer cards: no outlines, gentle tonal panels ---------- */
.review, .area-card, .testimonial { border: 0; background: var(--paper-2); }
.section--paper2 .review, .section--paper2 .area-card, .section--paper2 .testimonial { background: var(--paper); }
/* ---------- Color & type polish ---------- */
:root { --navy: #2b2c2c; --navy-2: #232424; --accent-light: #37a0c5; --paper-2: #f2f6f7; --ink-60: #3f4a4f; }
.section--ink, .site-footer { background: var(--navy); }
.site-footer .footer-bottom { border-top-color: rgba(255,255,255,.12); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.site-header.scrolled { background: rgba(43,44,44,.95); }
h1, h2, h3, .pull blockquote, .member-row__name { font-weight: 400; letter-spacing: -0.018em; }
h1 { line-height: 1.04; }
h2 { line-height: 1.08; }
.lede { color: var(--ink-60); line-height: 1.6; }
p { line-height: 1.75; }
.eyebrow { letter-spacing: .28em; }

/* Small accent text on the charcoal sections uses a lighter tint of the brand blue for legibility */
.section--ink .eyebrow, .section--ink .step .n, .section--ink .pull cite, .site-footer .footer-col a:hover { color: var(--accent-light); }
/* Bright interior photos need a slightly deeper overlay for legible white text */
.cta-band--bright .cta-band__media::after { background: linear-gradient(180deg, rgba(0,0,0,.5), rgba(0,0,0,.6)); }
/* Lighter overlay for photos that are already dark (e.g. dusk scenes) */
.cta-band--light .cta-band__media::after { background: linear-gradient(180deg, rgba(0,0,0,.12), rgba(0,0,0,.32)); }
.cta-band--light h2, .cta-band--light .lede, .cta-band--light .eyebrow { text-shadow: 0 2px 18px rgba(0,0,0,.55); }
/* Group team photo on the About page */
.team-photo { margin: 0 0 clamp(2.5rem,5vw,4rem); max-width: 760px; }
.team-photo img { display:block; width:100%; aspect-ratio: 3/2; object-fit: cover; object-position: center 40%; }
/* Two buttons side by side in a banner */
.cta-actions { display:flex; flex-wrap:wrap; gap: .9rem; justify-content:center; }
.btn--outline-light { background: transparent; color: var(--paper); border-color: rgba(255,255,255,.85); }
.btn--outline-light:hover { background: var(--accent); border-color: var(--accent); color:#fff; }
.faq__a a { color: var(--accent-deep, #2a7f9e); text-decoration: underline; text-underline-offset: 3px; }
.card__tag--sold { background: var(--accent); color: #fff; }
