/* The approved dark direction is scoped to the homepage and portfolio.
   Existing articles, apps, and their shared tokens retain their own styling. */
.brand-page {
  --paper: #09110f;
  --card: #101b18;
  --ink: #f5f3ef;
  --ink2: #d1d4ce;
  --muted: #aab3aa;
  --amber: #dbb977;
  --amber-d: #ebcd94;
  --border: #2a3730;
  --border2: #4a5548;
  --burgundy: #301218;
  background: var(--paper);
  color: var(--ink2);
  font-weight: 400;
  overflow-x: clip;
}
.brand-page .wrap { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.brand-page h1, .brand-page h2, .brand-page h3 { font-weight: 400; }
.brand-page h1 { font-size: clamp(3.4rem, 6.4vw, 5.8rem); line-height: 1.08; letter-spacing: -.035em; }
.brand-page h2 { font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.18; letter-spacing: -.025em; }
.brand-page h3 { font-size: 1.6rem; line-height: 1.25; }
.brand-page p { line-height: 1.8; }
.brand-page .gold, .brand-page .text-link { color: var(--amber); }
.brand-page .eyebrow { display: block; font-size: .69rem; letter-spacing: .18em; margin-bottom: 1rem; }
.brand-page a { text-underline-offset: 5px; }
.brand-page a:focus-visible, .brand-page button:focus-visible { outline: 2px solid var(--amber); outline-offset: 6px; }
.brand-page .skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 200; padding: .8rem 1.2rem; background: var(--amber); color: var(--paper); }
.brand-page .skip-link:focus { top: 1rem; }
.brand-page nav { position: relative; padding: 25px max(48px, calc((100vw - 1180px) / 2)); background: var(--paper); border-bottom: 1px solid var(--border); gap: 30px; }
.brand-page nav.scrolled { padding: 25px max(48px, calc((100vw - 1180px) / 2)); background: var(--paper); }
.brand-page .brand-logo { color: var(--ink); font-weight: 700; font-size: 1.6rem; letter-spacing: -.065em; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.brand-page .brand-logo span { display: block; font: .52rem var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .14em; margin-top: 10px; }
.brand-page .brand-logo img { display: block; width: 235px; height: auto; }
.brand-page .nav-links { gap: 30px; flex-wrap: wrap; }
.brand-page .nav-links a { color: var(--ink2); font-size: .8rem; }
.brand-page .nav-links a[aria-current] { color: var(--amber); }
.brand-page .btn-primary, .brand-page .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 49px; padding: 12px 24px; border: 1px solid var(--amber); border-radius: 4px; font: 600 .81rem var(--sans); text-decoration: none; line-height: 1.5; }
.brand-page .btn-primary { background: var(--amber); color: var(--paper); }
.brand-page .btn-primary:hover { background: var(--amber-d); }
.brand-page .btn-ghost { color: var(--ink); background: transparent; }
.brand-page .btn-ghost:hover { background: var(--card); }
.brand-page .nav-contact { min-height: 44px; padding: 10px 20px; font-size: .75rem; }
.brand-page .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.brand-page .text-link { display: inline-flex; gap: 10px; align-items: center; font-size: .82rem; text-decoration: none; font-weight: 500; line-height: 1.6; }
.brand-page .text-link:hover { text-decoration: underline; }
.home-hero { position: relative; isolation: isolate; background: var(--paper); border-bottom: 1px solid var(--border); }
.hero-background { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(9,17,15,.78), rgba(9,17,15,.45) 45%, rgba(9,17,15,.03) 75%); }
.brand-page .hero-inner { padding-top: 95px; padding-bottom: 70px; }
.home-hero h1 { max-width: 850px; }
.brand-page .lede { font-size: 1.1rem; line-height: 1.8; max-width: 600px; margin-top: 25px; }
.hero-principles { display: flex; flex-wrap: wrap; gap: 14px 40px; margin-top: 55px; font-size: .76rem; color: var(--muted); }
.hero-principles span::before { content: '—'; margin-right: 12px; color: var(--amber); }
.audience-section { padding: 68px 0 76px; background: linear-gradient(#09110f55, #09110f99), url('/assets/brand/burgundy-left.webp') center/cover; }
.section-intro { max-width: 790px; margin-top: 20px; font-size: .95rem; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.audience-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border2); border-radius: 4px; overflow: hidden; }
.audience-image { width: 100%; height: 170px; object-fit: cover; }
.audience-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.audience-number { font: .8rem var(--mono); color: var(--amber); border-bottom: 1px solid var(--border); padding-bottom: 22px; margin-bottom: 24px; }
.audience-card .card-lead { color: var(--ink); font-size: .95rem; margin: 18px 0 12px; }
.audience-card p { font-size: .85rem; }
.audience-card .text-link { margin-top: auto; padding-top: 26px; }
.about-section { padding-block: 88px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.about-copy p { font-size: .95rem; margin-top: 22px; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.about-copy blockquote { border-left: 1px solid var(--amber); padding-left: 22px; margin: 30px 0; font: italic 1.6rem/1.45 var(--serif); color: var(--amber); }
.about-portrait { margin-top: 5px; }
.about-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 18%; border-radius: 3px; }
.about-portrait figcaption { padding-top: 22px; color: var(--ink); font: 1.3rem var(--serif); }
.about-portrait figcaption span { display: block; color: var(--muted); font: .68rem var(--mono); margin-top: 10px; line-height: 1.8; }
.business-section { padding: 76px 0; background: var(--card); border-block: 1px solid var(--border); scroll-margin-top: 25px; }
.business-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.business-grid p { font-size: .94rem; margin-top: 20px; }
.business-grid .btn-primary { margin-top: 26px; }
.journey-panel { padding: 42px 30px; border: 1px solid var(--border2); text-align: center; }
.botanical-mark { display: block; background: var(--amber); width: 100px; height: 115px; -webkit-mask: url('/assets/olive-branch.png') center/contain no-repeat; mask: url('/assets/olive-branch.png') center/contain no-repeat; }
.journey-panel .botanical-mark { margin: 0 auto 24px; }
.journey-panel h3 { font-size: 2.1rem; }
.customer-journey { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin-top: 30px; font-size: .73rem; }
.customer-journey li:not(:last-child)::after { content: '→'; color: var(--amber); margin-left: 8px; }
.resources-section { padding-block: 76px 86px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 32px; }
.section-heading > .text-link { flex-shrink: 0; margin-bottom: 7px; }
.resource-grid, .project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.resource-card, .project-card { border: 1px solid var(--border2); background: var(--card); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.resource-image, .project-image { display: block; overflow: hidden; background: var(--paper); }
.resource-image img, .project-image img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.project-body { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.project-body .eyebrow { font-size: .6rem; margin-bottom: 12px; }
.project-body h3 { font-size: 1.4rem; }
.project-body h3 a { color: inherit; text-decoration: none; }
.project-body h3 a:hover { color: var(--amber); }
.project-body p { font-size: .85rem; margin: 15px 0 24px; }
.project-body .text-link { margin-top: auto; }
.brand-page .subscribe-strip { padding: 58px 0; background: linear-gradient(#16070c55, #16070c55), url('/assets/brand/burgundy-right.webp') center/cover; border-block: 1px solid var(--border2); }
.newsletter-inner { display: grid; grid-template-columns: 160px 1fr; gap: 55px; align-items: center; }
.newsletter-inner > .botanical-mark { width: 150px; height: 180px; }
.newsletter-inner h2 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); }
.newsletter-inner p { margin-top: 14px; font-size: .9rem; }
.brand-page .ss-form { padding: 0; border: 0; border-radius: 0; background: none; max-width: 640px; margin-top: 24px; gap: 12px; }
.brand-page .ss-form input { border: 1px solid var(--border2); border-radius: 4px; min-width: 0; padding: 15px 18px; background: var(--paper); color: var(--ink); }
.brand-page .ss-form button { border-radius: 4px; background: var(--amber); color: var(--paper); padding: 15px 26px; }
.brand-page .ss-form :disabled { opacity: .65; cursor: not-allowed; }
.brand-page .newsletter-status { font-size: .75rem; color: var(--ink2); }
.newsletter-status a { color: var(--amber); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.brand-page .brand-footer { padding: 38px max(48px, calc((100vw - 1180px) / 2)); grid-template-columns: 1fr auto; background: var(--paper); gap: 26px; }
.brand-page .brand-footer .copy { grid-column: 1/-1; justify-self: end; font-size: .6rem; }
.brand-page .brand-footer .links { flex-wrap: wrap; gap: 20px; font-size: .75rem; }
.portfolio-hero { padding-block: 80px 68px; }
.portfolio-hero h1 { font-size: clamp(3rem, 5.2vw, 4.7rem); }
.portfolio-hero .lede { max-width: 735px; }
.portfolio-section { padding-block: 42px 58px; border-top: 1px solid var(--border); scroll-margin-top: 30px; }
.portfolio-section .section-heading .eyebrow { margin-bottom: 5px; }
.project-grid-featured { grid-template-columns: 1fr; }
.project-grid-featured .project-card { display: grid; grid-template-columns: 1.35fr 1fr; }
.project-grid-featured .project-body { padding: 40px; justify-content: center; }
.project-grid-featured .project-body h3 { font-size: 2rem; }
.project-grid-featured .project-body .text-link { margin-top: 0; }
.project-grid-featured .project-image img { height: 100%; object-fit: contain; }
.closing-cta { padding: 65px 0 75px; margin-top: 25px; background: var(--burgundy); }
.closing-cta p { margin: 20px 0 28px; }
@media (min-width: 1500px) { .home-hero .hero-inner { padding-block: 110px 85px; } }
@media (max-width: 1000px) {
  .brand-page .wrap { width: calc(100% - 56px); }
  .brand-page nav, .brand-page nav.scrolled { padding: 22px 28px; gap: 20px; }
  .brand-page .nav-links { gap: 22px; }
  .about-section, .business-grid { gap: 40px; }
  .audience-grid, .resource-grid, .project-grid { gap: 16px; }
  .audience-body, .project-body { padding: 22px; }
  .brand-page .brand-footer { padding-inline: 28px; }
  .section-heading { align-items: start; }
  .resources-section .section-heading { flex-direction: column; gap: 20px; }
  .project-grid-featured .project-body { padding: 26px; }
}
@media (max-width: 760px) {
  .hero-background { object-position: 65% center; }
  .home-hero::before { background: rgba(9,17,15,.78); }
  .brand-page nav { flex-wrap: wrap; justify-content: space-between; }
  .brand-page .nav-links { order: 3; width: 100%; justify-content: space-between; gap: 12px; }
  .brand-page .brand-logo { font-size: 1.4rem; }
  .brand-page .brand-logo span { font-size: .45rem; }
  .brand-page .nav-contact { font-size: .68rem; padding: 9px 12px; gap: 10px; }
  .brand-page .hero-inner { padding-block: 62px 44px; }
  .brand-page h1 { font-size: clamp(3rem, 10vw, 4.5rem); }
  .hero-principles { gap: 12px 20px; margin-top: 38px; }
  .audience-section, .business-section { padding-block: 52px; }
  .audience-grid, .resource-grid, .project-grid { grid-template-columns: 1fr; gap: 22px; }
  .audience-body { padding: 28px; }
  .brand-page .brand-logo img { width: 185px; }
  .about-section, .business-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-section, .resources-section { padding-block: 55px; }
  .about-portrait { max-width: 440px; }
  .about-portrait img { aspect-ratio: 4/4.5; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 25px; }
  .newsletter-inner > .botanical-mark { width: 65px; height: 75px; }
  .brand-page .brand-footer { grid-template-columns: 1fr; }
  .brand-page .brand-footer .copy, .brand-page .brand-footer .links { justify-self: start; }
  .portfolio-hero { padding-block: 55px; }
  .portfolio-section .section-heading { flex-direction: column; gap: 14px; }
  .project-grid-featured .project-card { grid-template-columns: 1fr; }
  .project-grid-featured .project-image img { height: auto; }
  .brand-page .ss-form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-page *, .brand-page *::before, .brand-page *::after { transition: none !important; animation: none !important; }
}
/* Exact photo windows from the supplied mockup; no generated replacements.
   Equal 516 × 254 windows preserve the subjects and realtor notification. */
.audience-photo { position: relative; overflow: hidden; aspect-ratio: 516 / 254; width: 100%; }
.audience-photo img { position: absolute; width: 342.248062%; height: auto; max-width: none; top: -105.11811%; }
.audience-photo-business img { left: -13.372093%; }
.audience-photo-organization img { left: -121.124031%; }
.audience-photo-individual img { left: -229.069767%; }
.audience-card .destination-pending { cursor: default; }
.audience-card .destination-pending:hover { text-decoration: none; }

@media (min-width:761px) and (max-width:1100px) { .brand-page nav { flex-wrap:wrap; justify-content:space-between; } .brand-page .nav-links { order:3; width:100%; justify-content:center; } }
/* Homepage business feature: approved photography replaces the diagram panel. */
.business-section { position:relative; isolation:isolate; overflow:hidden; background:#09110f; }
.business-section .home-business-photo { position:absolute; z-index:-2; right:0; top:0; width:65%; height:100%; object-fit:cover; object-position:center; }
.business-section::before { content:''; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#09110f 0%,#09110ff5 25%,#09110fd9 38%,#09110f28 58%,transparent 75%); }
.business-section .business-grid { display:block; }
.business-section .business-grid>div { max-width:46%; }
@media(max-width:1000px) {
  .business-section { padding-bottom:0; }
  .business-section .business-grid>div { max-width:680px; }
  .business-section .home-business-photo { position:relative; width:100%; height:auto; display:block; margin-top:35px; z-index:0; }
  .business-section { display:flex; flex-direction:column; }
  .business-section .business-grid { order:-1; }
  .business-section::before { display:none; }
}
@media(min-width:1001px) {
  .business-section .home-business-photo { -webkit-mask-image:linear-gradient(90deg,transparent,#000 20%); mask-image:linear-gradient(90deg,transparent,#000 20%); }
  .business-section .business-grid>div { max-width:40%; }
}
.newsletter-status.is-error { color: #8a2f1a; }

/* Legal pages (privacy, terms) */
.legal-page { padding: 140px 0 96px; background: var(--paper); }
.legal-page .legal-wrap { max-width: 760px; }
.legal-page h1 { margin: 10px 0 8px; }
.legal-page h2 { font-size: 1.35rem; margin: 40px 0 10px; }
.legal-page p, .legal-page li { line-height: 1.75; color: var(--ink); }
.legal-page ul { padding-left: 1.2em; margin: 10px 0; }
.legal-page li { margin: 6px 0; }
.legal-page a { color: var(--amber); }
.legal-page .legal-updated { font-family: 'JetBrains Mono', monospace; font-size: .72rem; color: var(--muted); margin: 0 0 28px; }
