/* Shared responsive finishing: readable copy, touch controls and fluid media. */
html { scroll-padding-top: 112px; -webkit-text-size-adjust: 100%; }
body { overflow-wrap: break-word; }
img, video, iframe { max-width: 100%; }
.hero-artwork img { max-width: none; }
.hero-grid > *, .about-grid > *, .contact-grid > *, .footer-top > *,
.section-heading > *, .segment-layout > *, .form-row > * { min-width: 0; }
.desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-header .menu-toggle, .about-play { min-width: 44px; min-height: 44px; }
.filter-button { min-height: 44px; font-size: 14px; }
.service-card p, .segment-panel-copy > p:not(.eyebrow),
.value-principles p, .about-copy p:not(.eyebrow),
.contact-grid > div > p:not(.eyebrow) { font-size: 16px; }
.contact-form input, .contact-form select, .contact-form textarea,
.message-label textarea { font-size: 16px; min-height: 48px; max-width: 100%; }
.contact-form label, .contact-form > p, .contact-form .form-note,
.contact-details a span, .form-privacy, .message-label { font-size: 14px; }
.contact-details a { overflow-wrap: anywhere; }
.footer-column { gap: 4px; }
.footer-column h3, .footer-brand > p { font-size: 14px; }
.footer-column a, .privacy-links a, .privacy-links button {
  display: inline-flex; align-items: center; min-height: 44px; font-size: 14px;
}
.privacy-links { gap: 4px 22px; }
.footer-bottom { flex-wrap: wrap; }
.footer-bottom > p, .footer-bottom .prototype-note { font-size: 12px; }
.hero-assurances > a { min-height: 44px; font-size: 12px; }
.site-dialog, .video-dialog, .bio-dialog {
  max-width: calc(100% - 32px); max-height: calc(100dvh - 32px);
  overflow-y: auto; overscroll-behavior: contain;
}
.site-dialog p, .site-dialog ul, .message-label textarea { font-size: 16px; }
.dialog-close, .close-dialog { min-width: 44px; min-height: 44px; }
.site-dialog .button, .site-dialog #email-send { font-size: 14px; min-height: 44px; }
.publication-card, .media-feature-copy { min-width: 0; }
.legal-table-wrap { max-width: 100%; }

/* The link-in-bio is a narrow layout on desktop as well as on phones. */
.bio-header > p { font-size: 16px; }
.identity-tags { font-size: 11px; letter-spacing: 1px; flex-wrap: wrap; }
.section-label { font-size: 12px; letter-spacing: 1px; }
.link-copy strong { font-size: 16px; }
.link-copy small, .information-grid small, .client-support small { font-size: 14px; }
.quick-links > a { font-size: 14px; min-width: 0; }
.information-grid strong, .client-support strong { font-size: 16px; }
.bio-rating strong, .bio-rating > span:last-child, .bio-social > a,
.bio-footer > p { font-size: 14px; }
.bio-social { flex-wrap: wrap; gap: 8px 24px; }
.bio-social > a { min-height: 44px; }
.bio-footer-line { font-size: 11px; flex-wrap: wrap; justify-content: center; }
.external-video { font-size: 14px; width: fit-content; max-width: 100%; min-height: 44px; }
.support-dialog > p:not(.dialog-label), .support-dialog strong { font-size: 16px; }
.support-dialog small { font-size: 12px; }

@media (min-width: 1101px) { .mobile-nav { display: none; } }
@media (min-width: 701px) and (max-width: 1050px) {
  /* Stack before the narrow columns would crop the reception sign. */
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 24px; padding-top: 144px; padding-bottom: 36px; }
  .hero-copy { max-width: 660px; }
  .hero h1 { font-size: clamp(40px, 5.2vw, 54px); }
  .hero-description, .hero-personalized { max-width: 640px; }
  .hero-reception-group { padding-bottom: 0; }
  .hero-artwork, :root[data-theme=dark] .hero-artwork {
    position: relative; inset: auto; z-index: 0;
    width: calc(100% + 64px); height: clamp(320px, 46vw, 450px);
    margin-left: -32px; overflow: hidden;
    mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  }
  .hero-artwork img {
    width: 200%; height: 100%; margin-left: -100%;
    object-fit: cover; object-position: center 53%;
  }
  :root[data-theme=dark] .hero-artwork img { mask-image: none; }
  .hero-assurances { justify-content: center; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { width: min(100%, 600px); margin-inline: auto; }
  .founders-photo { height: auto; aspect-ratio: 1.32; }
  .contact-grid > div > p:not(.eyebrow) { max-width: 640px; }
  .contact-section h2 { font-size: clamp(40px, 5vw, 54px); }
  .contact-form .form-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .segment-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .segment-panel { padding: 28px; }
}
@media (max-width: 700px) {
  html { scroll-padding-top: 100px; }
  .site-header { top: max(12px, env(safe-area-inset-top)); }
  .mobile-nav { max-height: calc(100dvh - 112px - env(safe-area-inset-top)); }
  .hero-actions .button, .segment-panel .button { font-size: 14px; min-height: 50px; }
  .hero-artwork { width: calc(100% + 40px); }
  .hero h1 br { display: none; }
  .hero h1 { line-height: 1.16; }
  .hero-personalized { line-height: 1.8; }
  .eyebrow, .segment-panel .eyebrow { font-size: 11px; letter-spacing: 1px; }
  .section-heading h2, .about-copy h2 { font-size: clamp(30px, 7.5vw, 38px); }
  .segment-tabs button, .segment-tabs button:first-child {
    flex-shrink: 1; max-width: 100%; white-space: normal; font-size: 14px;
  }
  .segment-panel { padding: 24px; }
  .segment-panel h3 { font-size: clamp(25px, 6.5vw, 30px); }
  .contact-section h2 { font-size: clamp(34px, 8.5vw, 50px); letter-spacing: -1.5px; }
  .contact-form { padding: 26px 20px; }
  .contact-form .button { font-size: 14px; }
  .contact-form .form-row { grid-template-columns: minmax(0, 1fr); }
  .footer-column:nth-child(3) { grid-column: 1 / -1; }
  .editorial-hero h1 { font-size: clamp(34px, 8vw, 50px); }
  .publication-card { padding: 24px; }
  .media-feature h2 { font-size: clamp(25px, 6.5vw, 32px); }
  .cookie-banner { bottom: max(10px, env(safe-area-inset-bottom)); }
  .floating-contact { bottom: max(17px, env(safe-area-inset-bottom)); }
}
@media (max-width: 380px) {
  .hero-artwork { width: calc(100% + 34px); margin-left: -17px; }
  .hero h1 { font-size: clamp(30px, 9.5vw, 35px); letter-spacing: -1.2px; }
  .header-brand { gap: 8px; }
  .quick-links { grid-template-columns: minmax(0, 1fr); }
  .link-card { padding: 17px 14px; gap: 10px; }
  .information-grid { grid-template-columns: minmax(0, 1fr); }
  .information-grid > a, .information-grid > button { min-height: 0; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .site-header { top: 6px; }
  .mobile-nav { top: 70px; max-height: calc(100dvh - 90px); }
  .cookie-banner { max-height: 45dvh; }
}
