/* Shared ADS Realty colours and dimensions for public pages. */
:root {
  --editorial-gold: #e2c897;
  --editorial-gold-ink: #805c29;
  --editorial-cream: #f8f2e7;
  --editorial-on-navy: #dce8ef;
  --editorial-content-width: min(88%, 1390px);
  --editorial-gutter: max(6%, calc((100% - 1390px) / 2));
  --editorial-section-space: clamp(2.9rem, 6.7vw, 6.2rem);
  --ads-navy: var(--editorial-navy);
  --ads-sky: var(--editorial-cream);
  --ads-ice: var(--editorial-cream);
  --ads-line: var(--editorial-line);
  --ads-control-radius: 0;
  --ads-card-radius: 0;
  --ads-photo-radius: 0;
  --site-navy: var(--editorial-navy);
  --site-sky: var(--editorial-gold);
  --site-pale: var(--editorial-cream);
}

.editorial-container { width: var(--editorial-content-width); }
.header .desktop-nav a:hover,
.mobile-menu a:hover {
  color: var(--editorial-gold-ink);
}
footer .footer-main .eyebrow,
.contact .eyebrow,
.editorial-hero .eyebrow,
.home-newsletter .eyebrow { color: var(--editorial-gold); }
.home-hero-actions a:first-child,
.contact .contact-buttons .button.primary {
  background: var(--editorial-cream);
  border-color: var(--editorial-gold);
}
.home-hero-actions a:first-child:hover,
.contact .contact-buttons .button.primary:hover { background: var(--editorial-gold); }

/* The same masthead treatment for public pages with custom content. */
main > :is(.page-heading, .property-heading),
.public-intake.section-wrap .intake-hero,
.property-documents.section-wrap .documents-intro,
.appraisal-demo.section-wrap .demo-hero,
.offer-layout.section-wrap .offer-property,
.martin-tour .mt-heading,
.feedback-wrap .feedback-heading {
  border-radius: 0;
  border-bottom: 2px solid var(--editorial-gold);
  background-color: var(--editorial-navy);
  color: #fff;
}

main > .page-heading.section-wrap,
main > .property-heading.section-wrap {
  width: 100%;
  max-width: none;
  padding: var(--editorial-section-space) var(--editorial-gutter);
}
main > .page-heading h1,
main > .property-heading h1,
.public-intake.section-wrap .intake-hero h1,
.appraisal-demo.section-wrap .demo-hero h1,
.property-documents.section-wrap .documents-intro h1,
.offer-layout.section-wrap .offer-property h1,
.martin-tour .mt-heading h1,
.feedback-wrap .feedback-heading h1 {
  color: #fff;
  font-family: Manrope, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: 1.07;
  overflow-wrap: break-word;
  text-transform: none;
}

main > .page-heading h1 { font-size: clamp(2.65rem, 6vw, 5.1rem); }
main > :is(.page-heading, .property-heading) > .eyebrow,
.public-intake.section-wrap .intake-hero .eyebrow,
.public-intake.section-wrap .brief-journey li > span,
.property-documents.section-wrap .documents-intro .eyebrow,
.offer-layout.section-wrap .offer-property .eyebrow,
.appraisal-demo.section-wrap .demo-hero .eyebrow,
.martin-tour .mt-heading .mt-kicker,
.feedback-wrap .feedback-heading .eyebrow { color: var(--editorial-gold); }

main > .page-heading :is(.blue-text, .journal-breadcrumb, .journal-breadcrumb a),
.appraisal-demo.section-wrap .demo-hero .blue-text,
main > .property-heading h1 > span { color: var(--editorial-on-navy); }
main > .page-heading > p:not(.eyebrow),
.property-documents.section-wrap .documents-intro p:not(.eyebrow),
.martin-tour .mt-facts,
.feedback-wrap .feedback-heading > p:last-child { color: var(--editorial-on-navy); }

.public-intake.section-wrap .intake-hero {
  background-image: linear-gradient(90deg, #08283df2 10%, #08283da6 94%), url('/assets/coast-wide.webp');
}
.public-intake.section-wrap .intake-hero h1 { font-size: clamp(2.65rem, 6vw, 5.1rem); }

.property-documents.section-wrap .documents-intro {
  max-width: none;
  padding: clamp(1.6rem, 5vw, 4.4rem);
}
.property-documents.section-wrap .documents-intro > p { max-width: 60ch; }
.offer-layout.section-wrap .offer-property > img { border-radius: 0; }

.martin-tour .mt-heading {
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 4vw, 3.5rem);
}
.martin-tour .mt-heading h1 { font-size: clamp(1.95rem, 5.2vw, 4.35rem); }
.martin-tour .mt-back { color: #fff; }
.martin-tour :is(.mt-tabs, .mt-controls) button { border-radius: 0; }
.martin-tour .mt-tabs button[aria-pressed="true"] { background: var(--editorial-navy); border-color: var(--editorial-navy); }
.martin-tour :is(.mt-kicker, .mt-contact-links a) { color: var(--editorial-gold-ink); }

/* Alex's photo links, supporting guides and follow-up actions. */
.collection-page :is(.start-options, .start-note, .agent-approach, .agent-paths) {
  width: var(--editorial-content-width);
  max-width: none;
}
.collection-page :is(.start-options, .start-note, .agent-approach, .agent-paths) h2,
.property-guide :is(h2, h3) {
  font-family: Manrope, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.045em;
  text-transform: none;
}
.collection-page .start-card,
.collection-page .agent-path-grid > a {
  border: 1px solid var(--editorial-navy);
  border-radius: 0;
  background: var(--editorial-navy);
  color: #fff;
}
.collection-page .agent-path-grid > a { padding: clamp(1rem, 2vw, 1.9rem); }
.collection-page :is(.start-card, .agent-path-grid > a):hover { border-color: var(--editorial-gold-ink); }
.collection-page :is(.start-card, .agent-path-grid > a) :is(span, strong, b) { color: var(--editorial-gold); }
.collection-page :is(.start-card, .agent-path-grid > a) :is(h3, p) { color: var(--editorial-on-navy); }
.collection-page :is(.start-card, .agent-path-grid > a) h3 { color: #fff; }
.collection-page .start-card-photo img { transition: transform .35s ease; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .collection-page .start-card:hover img { transform: scale(1.025); }
}
.start-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  margin-top: 1.2rem;
}
.collection-page .start-note li a {
  border-color: var(--editorial-line);
  border-radius: 0;
  background: var(--editorial-cream);
}
.collection-page .start-note li a:hover { background: var(--editorial-gold); }
/* Use the listing-card palette for both photo and text testimonials. */
.collection-page .start-testimonial,
main .testimonial-collection .testimonial-card {
  border: 1px solid var(--editorial-navy);
  border-radius: 0;
  background: var(--editorial-navy);
  color: #fff;
}

main .testimonial-collection .testimonial-card {
  border-top: 2px solid var(--editorial-gold);
}

.collection-page .start-testimonial-copy .start-testimonial-rating { --testimonial-gold: var(--editorial-gold); }

.collection-page .start-testimonial-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--editorial-gold);
}

.collection-page .start-testimonial-copy .start-testimonial-quote,
main .testimonial-collection .testimonial-card blockquote { color: #fff; }

.collection-page .start-testimonial-copy :is(.start-testimonial-credit, .start-testimonial-rating small),
main .testimonial-collection .testimonial-card :is(p, small) { color: var(--editorial-on-navy); }

.collection-page .start-testimonial-copy .start-testimonial-credit a { color: var(--editorial-gold); }

@media (max-width: 700px) {
  .collection-page .start-testimonial-copy {
    border-left: 0;
    border-top: 1px solid var(--editorial-gold);
  }
}

.property-guide {
  --lp-line: var(--editorial-line);
  color: var(--editorial-ink);
}
.property-guide :is(.lp-value, .lp-faq, .lp-proof, .lp-close) {
  padding: var(--editorial-section-space) var(--editorial-gutter);
}
.property-guide :is(.lp-section-heading, .lp-point-grid, .lp-faq) { max-width: none; }
.property-guide .lp-point-grid { border-block-color: var(--editorial-line); }
.property-guide .lp-kicker { color: var(--editorial-gold-ink); }
.property-guide :is(.lp-proof, .lp-close) { background: var(--editorial-navy); }
.property-guide .lp-proof {
  border-top: 2px solid var(--editorial-gold);
  text-align: left;
}
.property-guide .lp-proof blockquote { font-size: clamp(1.55rem, 3.5vw, 3.5rem); }
.property-guide :is(.lp-proof p, .lp-close .lp-kicker) { color: var(--editorial-gold); }
.property-guide .lp-close > img { max-width: 210px; width: 100%; }
.property-guide .lp-close { grid-template-columns: minmax(0, .48fr) minmax(0, 1.52fr); }
.collection-page > p.collection-related { margin: 1.5rem auto 0; }

@media (max-width: 700px) {
  .property-guide .lp-close { grid-template-columns: 1fr; gap: 1.6rem; }
  .property-guide .lp-close > img { max-width: 125px; justify-self: start; }
}

/* Forms keep their own fields, steps and validation, with shared surfaces. */
.public-intake.section-wrap:not(.buyer-brief-refined) .intake-aside,
.property-documents .documents-card,
.offer-layout .offer-card,
.appraisal-demo :is(.demo-search, .demo-next, .demo-limit) {
  border-radius: 0;
  border-color: var(--editorial-line);
  background: var(--editorial-cream);
  box-shadow: none;
}
.public-intake.section-wrap:not(.buyer-brief-refined) .intake-aside {
  padding: clamp(1.25rem, 3vw, 2.1rem);
  border: 1px solid var(--editorial-line);
}
main :is(.property-documents, .offer-layout, .appraisal-demo, .feedback-wrap) :is(input:not([type="checkbox"]), select, textarea) {
  border-radius: 0;
}
main :is(.public-intake, .property-documents, .offer-layout, .appraisal-demo, .feedback-wrap) input[type="checkbox"] {
  accent-color: var(--editorial-navy);
}
main :is(.public-intake, .property-documents, .offer-layout, .appraisal-demo, .feedback-wrap, .martin-tour)
  :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 2px solid var(--editorial-gold-ink);
  outline-offset: 3px;
}
main :is(.collection-masthead, .property-heading, .offer-property, .mt-heading) :is(a, button):focus-visible {
  outline: 2px solid var(--editorial-gold);
  outline-offset: 3px;
}

.journal-reading-layout .journal-advice,
.property-detail .article-aside {
  border-radius: 0;
  border-top: 2px solid var(--editorial-gold);
  background: var(--editorial-navy);
  color: #fff;
}
.journal-reading-layout .journal-advice .eyebrow,
.property-detail .article-aside .eyebrow { color: var(--editorial-gold); }
.journal-reading-layout .journal-advice .button.primary,
.property-detail .article-aside .button.primary {
  color: var(--editorial-navy);
  background: var(--editorial-cream);
  border-color: var(--editorial-gold);
}

.feedback-wrap .feedback-heading {
  padding: clamp(1.25rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}
.feedback-wrap .feedback-heading h1 { font-size: clamp(2rem, 5.5vw, 4.25rem); }
.feedback-wrap .feedback-heading .blue-text { color: var(--editorial-on-navy); }
.feedback-wrap .feedback-card {
  border-radius: 0;
  border-color: var(--editorial-line);
  background: var(--editorial-cream);
}
