/* Keep the original logo proportions at each size. The same header height also
   sets the menu position and the offset for section links. */
:root {
  --header-height: 218px;
  --logo-width: 300px;
}
html { scroll-padding-top: calc(var(--header-height) + 12px); }
body { font-size: 16px; }
.site-header { height: var(--header-height); gap: clamp(18px, 2vw, 32px); }
.site-header .brand-logo { width: var(--logo-width); height: auto; }
.site-header .brand, .site-footer .brand { gap: 18px; }
.brand-location, .site-footer .brand-location {
  font-size: 10px;
  letter-spacing: 1.4px;
  color: #d1dacb;
}
.desktop-nav { gap: clamp(16px, 1.8vw, 32px); }
.desktop-nav a { font-size: 16px; white-space: nowrap; }
.nav-cta { white-space: nowrap; }
.button, .text-link, .audience-copy .text-link, .hero-explore { font-size: 15px; }
.mobile-nav {
  top: var(--header-height);
  max-height: calc(100dvh - var(--header-height));
  overflow-y: auto;
}
.site-footer .brand-logo { width: min(320px, 55vw); height: auto; }
.footer-top { flex-wrap: wrap; }
.footer-top > p, .back-top { font-size: 14px; }
.footer-bottom { flex-wrap: wrap; align-items: baseline; font-size: 13px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.large-brand-mark { width: min(360px, 84%); max-width: 100%; }

.intro-copy, .intro-copy > p:not(:first-child), .audience-copy > p:not(.eyebrow),
.services-heading > p:not(.eyebrow), .service-list details p, .standards-grid p,
.about-copy > p:not(.eyebrow), .areas p:not(.eyebrow), .contact-heading > p:not(.eyebrow),
.form-intro, dialog > p { font-size: 16px; }
.intro-copy p:first-child, .hero-description { font-size: clamp(17px, 1.3vw, 20px); }
.form-grid label, .audience-select, .audience-select legend, .form-note { font-size: 14px; }
.form-grid input, .form-grid textarea, .form-grid select { font-size: 16px; }
.founders > span, .service-visual figcaption { font-size: 14px; }
.eyebrow, .hero-content .eyebrow, .intro .eyebrow, .audiences-header .eyebrow,
.audience-copy .eyebrow, .standards-title .eyebrow, .interlude-copy .eyebrow,
.form-kicker, .contact-links a small, .founders small { font-size: 12px; }
.hero-bottom .image-disclosure, .imagery-note, .interlude-caption { font-size: 12px; }
.service-list details a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

/* Service and photography pages share the colors and typography of the home page. */
.detail-page { background: var(--ivory); color: var(--ink); }
.detail-page .site-header, .detail-page .mobile-nav, .detail-page .site-footer { color: var(--ivory); }
.detail-main { max-width: 1120px; margin-inline: auto; padding: 0 clamp(22px, 6vw, 72px) clamp(60px, 8vw, 104px); }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px;
  padding: 23px 0; border-bottom: 1px solid #c6cbb9;
  color: #4b5c47; font-size: 14px; line-height: 1.5;
}
.breadcrumb a, .detail-body a:not(.button), .related-links a:not(.button) {
  color: #304b3a; text-decoration: underline; text-underline-offset: 4px;
}
.detail-heading { padding: clamp(40px, 7vw, 88px) 0 clamp(25px, 4vw, 48px); }
.detail-heading .eyebrow { margin: 0 0 16px; color: #586447; }
.detail-heading h1 {
  max-width: 18ch; font-size: clamp(36px, 5.5vw, 72px); line-height: 1.06;
  letter-spacing: -.035em; text-wrap: balance;
}
.detail-intro { margin: 24px 0 0; max-width: 66ch; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.6; }
.detail-photo { display: block; width: 100%; max-width: 100%; margin: 24px 0 0; }
img.detail-photo, .detail-photo img { width: 100%; height: auto; max-height: 460px; object-fit: cover; }
.detail-body { max-width: 75ch; }
.detail-body section { padding: 26px 0 4px; }
.detail-body h2 { font-size: clamp(26px, 3.1vw, 37px); margin: 0 0 14px; letter-spacing: -.025em; }
.detail-body p, .detail-body li { font-size: 17px; line-height: 1.75; }
.detail-body p + p { margin-top: 12px; }
.detail-body a { overflow-wrap: anywhere; }
.detail-main .button { margin-top: 28px; }
.related-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 24px; margin: 38px 0 0; padding: 24px 0 0; border-top: 1px solid #c6cbb9; }
.related-links a { font-size: 16px; }
.detail-page .detail-main :focus-visible { outline-color: #6a552e; }

@media (min-width: 1101px) and (max-width: 1260px) {
  .site-header .brand-location { display: none; }
  .site-header { padding-inline: 3vw; }
}
@media (max-width: 1100px) {
  :root { --header-height: 168px; --logo-width: 220px; }
  .site-header { padding-inline: clamp(20px, 4.5vw, 42px); }
  .desktop-nav, .nav-cta { display: none; }
  .menu-toggle { display: block; min-height: 48px; min-width: 48px; }
}
@media (max-width: 580px) {
  :root { --header-height: 158px; --logo-width: clamp(194px, 54vw, 218px); }
  .site-header .brand-location, .site-footer .brand-location { display: none; }
  .footer-top { gap: 18px; }
  .footer-bottom { align-items: flex-start; }
  .audiences-header .eyebrow { max-width: none; }
  .hero { height: auto; min-height: 620px; }
  .hero-inset { display: none; }
  .hero-content { padding-top: 70px; padding-bottom: 140px; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 53px); }
  .hero-bottom { flex-wrap: wrap; row-gap: 3px; }
  .hero-bottom > span:first-child { font-size: 9px; letter-spacing: .8px; }
  .hero-explore { max-width: 100%; }
  .detail-body p, .detail-body li { font-size: 16px; }
}
/* Free vertical space on phones, short laptops, and landscape displays. */
@media (max-height: 850px) {
  html { scroll-padding-top: 12px; }
  .site-header { position: relative; top: auto; }
  .mobile-nav { position: relative; top: auto; max-height: none; }
}

.hero-description { max-width: 39ch; }
@media (min-width:581px) and (max-width:780px) { .hero-inset { width:106px; bottom:65px; } }

/* Keep the flowering median in view as the palm-lined entrance changes shape. */
.hero-image img { object-position: 50% 85%; }
@media (max-width: 580px) {
  .hero-image img { object-position: 35% 64%; }
}
