:root {
  --head: "Newsreader", Georgia, serif;
  --body: "Atkinson Hyperlegible Next", "Segoe UI", sans-serif;
  --heading-weight: 500;
  --heading-spacing: -.012em;
  --section-space: clamp(38px, 4.8vw, 66px);
}

body { font-size: 1rem; line-height: 1.65; }
h1, h2, h3 { text-wrap: balance; }
h1,
.page-head h1, .page-hero h1 { font-size: clamp(1.75rem, 2.75vw, 2.25rem); font-weight: var(--heading-weight); line-height: 1.22; letter-spacing: var(--heading-spacing); }
h2 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: var(--heading-weight); line-height: 1.31; letter-spacing: var(--heading-spacing); }
h3 { font-size: 1rem; line-height: 1.45; }

.wordmark { font-family: var(--body); }
.tier h2, .tier h3, .path h3, .service-summary h2, .service-summary h3,
.pcard h3, .plan h3, .field label, .home-photo-count, .overview-steps h3 { font-family: var(--body); }
.fine, .fees, .photo-credit, .field .help { font-size: .875rem; line-height: 1.55; }
.directory-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
}
.directory-logo-selection:not(:empty) { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.directory-logo[hidden], .directory-logo-selection [hidden] { display: none; }
.directory-listing-heading { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.directory-listing-heading .directory-logo { flex: 0 0 auto; width: 70px; height: 70px; }
.directory-listing-heading h3 { overflow-wrap: anywhere; }
.page > .section { padding-block: var(--section-space); }
.page > .section + .section { padding-top: clamp(8px, 1.4vw, 18px); }
.page > .homepage-proof { padding-block: 0 24px; }
.page-head .sub { max-width: 52ch; }
.sec-head { margin-bottom: clamp(21px, 3vw, 33px); }
.sec-head p { max-width: 54ch; }
.tier, .path, .service-summary { padding: clamp(20px, 2.25vw, 28px); }
.tier .summary-line, .path > p, .service-summary .summary-line { max-width: 36ch; }

.home-opener .home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 5.2vw, 72px);
  padding-block: clamp(39px, 5vw, 66px);
}
.home-opener h1 {
  font-family: var(--head);
  font-size: clamp(1.9rem, 3.05vw, 2.4rem);
  font-weight: var(--heading-weight);
  line-height: 1.17;
  letter-spacing: var(--heading-spacing);
}
.home-opener .hero-copy > p { max-width: 36ch; margin-top: 15px; }
.home-opener .ctas { margin-top: 27px; }
.home-opener .btn { border-radius: 8px; }
.home-opener .btn-primary { color: var(--terra-ink); }

.home-photos figure { margin: 0; }
.home-photos picture { display: block; }
.home-photos img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 315px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  background: var(--moss);
}
.home-photos [hidden] { display: none; }
.home-photo-caption {
  min-height: 43px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: .8125rem;
  line-height: 1.5;
}
.home-photo-caption a { color: inherit; }
.home-photo-controls { display: flex; flex: none; align-items: center; gap: 8px; }
.home-photo-controls button {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #f4ead7a6;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: 600 1.15rem var(--body);
}
.home-photo-controls button:hover { background-color: #f4ead724; }
.home-photo-controls button:focus-visible { outline-color: #f4ead7; }
.home-photo-count { white-space: nowrap; }

.page > .home-assessment { padding-block: 0 clamp(22px, 3vw, 34px); }
.home-assessment .standalone-callout { margin-top: 0; padding: clamp(18px, 2.2vw, 24px); }
.home-assessment h2 { margin-bottom: 5px; }

.media-wrap .media.dir .directory-storefront {
  aspect-ratio: 3 / 2;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  align-self: center;
}
.media.dir .media-credit a { color: inherit; }
.directory-intro .directory-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(22px, 5vw, 56px);
}
.directory-intro figure { margin: 0; }
.directory-intro .directory-storefront {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.directory-intro figcaption { margin-top: 7px; }
@media (max-width: 700px) {
  .directory-intro .directory-intro-grid { grid-template-columns: minmax(0, 1fr); }
}
.directory-application-intro {
  margin-bottom: 30px;
  color: var(--ink);
}
.directory-application-intro h2 { color: inherit; }
.directory-application-intro p { max-width: 52ch; margin: 7px 0 0; color: var(--muted); }
#advertiser.directory-application {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.directory-application > .form-grid { margin-block-start: 0; }
.directory-application .field label, #quote .field label { font-size: .95rem; line-height: 1.45; }
.directory-application .enquiry-privacy { max-width: 68ch; }
.directory-review-note { margin-top: 12px; color: var(--muted); }
.directory-pricing-note { margin-top: 14px; color: var(--muted); }
.directory-listing-details { margin: 24px 0; }
.directory-listing-details .bullets { max-width: 65ch; }
.directory-listing-details .bullets li + li { margin-top: 7px; }
.directory-application .form-grid, #quote .form-grid { column-gap: 26px; }
.directory-application .field, #quote .field { margin-bottom: 20px; }
.directory-application > .form-grid > .field:has(#adBusiness),
#quote > .form-grid > .field:has(#qType) { grid-column: 1 / -1; }
.form-extras {
  margin: 6px 0 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.form-extras summary {
  min-height: 44px;
  padding: 11px 4px;
  cursor: pointer;
  font-weight: 600;
}
.form-extras summary::marker { color: var(--terra); }
.form-extras-body { padding: 8px 4px 12px; color: var(--muted); }
.form-extras-body > p + .form-grid { margin-top: 15px; }
.form-extras-body .field:has(#qNeed), .form-extras-body .field:has(#adText) { grid-column: 1 / -1; }
.form-extras-body textarea { min-height: 92px; }
.consent-summary { margin: 0 0 12px; }
.listing-terms { margin-top: 22px; }
.overview-steps {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin: 0 0 24px;
  padding-left: 1.4rem;
}
.overview-steps li { padding-left: 5px; }
.overview-steps li::marker { color: var(--terra); font-weight: 700; }
.overview-steps h3 { margin-bottom: 7px; font-weight: 600; }
.overview-steps p { color: var(--muted); max-width: 49ch; }
.about-story .form-extras { margin-top: 25px; }
.foot-photo-links { font-size: .8125rem; margin-top: 14px; }
.foot-photo-links a { color: inherit; }
#photo[hidden] { display: none; }
.resource-help { padding-top: 16px; border-top: 1px solid var(--line); }

@media (max-width: 960px) {
  .header-links { display: none; }
  .site-header .head-row { display: flex; justify-content: space-between; }
}

@media (max-width: 760px) {
  .home-opener .home-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .home-opener h1 { max-width: 13ch; }
  .home-photos img { aspect-ratio: 16 / 9; }
}

@media (max-width: 440px) {
  .home-photo-caption { gap: 8px; }
  .home-photo-controls { gap: 6px; }
  .overview-steps { grid-template-columns: minmax(0, 1fr); gap: 19px; }
}
