.nav-wrap { min-height: 92px; }
.desktop-nav { white-space: nowrap; }
.mobile-nav[hidden] { display: none; }

.hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-actions {
  flex-wrap: wrap;
  align-items: center;
}

.hero-copy, .story-copy, .detail-copy, .contact-options,
.admin-sidebar, .editor-panel, .post-card, .service-card {
  min-width: 0;
}

@media (min-width: 961px) {
  .mobile-nav { display: none; }
}

@media (max-width: 960px) {
  .container, .nav-wrap {
    width: calc(100% - clamp(36px, 8vw, 76px));
  }

  .nav-wrap { min-height: 80px; gap: 14px; }
  .desktop-nav { display: none; }
  .header-cta.button.small { min-height: 44px; margin-left: auto; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    padding: 0;
    margin-right: -5px;
  }
  .menu-toggle svg { display: block; }
  .mobile-nav {
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    padding-inline: clamp(18px, 4vw, 38px);
  }
  .mobile-nav a { align-items: center; min-height: 48px; padding-block: 10px; }

  .hero {
    min-height: auto;
    gap: clamp(25px, 4.7vw, 44px);
    padding-block: 40px 52px;
  }
  .hero-copy h1 { font-size: clamp(49px, 7vw, 70px); margin-block: 21px; }
  .hero-copy > p { font-size: 14px; line-height: 1.7; }
  .hero-actions { flex-direction: row; gap: 10px 20px; margin-top: 22px; }
  .hero-text-link { min-height: 44px; font-size: 12px; }
  .hero-bottom { margin-top: 24px; font-size: 10px; }
  .hero-visual { height: clamp(365px, 49vw, 460px); margin: 0 12px; }
  .hero-image, .hero-visual::before { border-top-left-radius: clamp(110px, 18vw, 156px); }
  .hero-visual::before { inset: -8px -8px 7px 8px; }
  .hero-side-note { right: -23px; }

  .services-grid, .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px clamp(18px, 4vw, 32px);
  }
  .service-image, .post-image { height: auto; aspect-ratio: 4 / 3; }
  .post-card h3 { min-height: 0; }
  .section-heading { flex-wrap: wrap; gap: 15px 24px; }
  .service-card > p, .post-card > p,
  .story-copy > p:not(.eyebrow), .contact-options > p:not(.eyebrow),
  .about-story p:not(.eyebrow), .faqs details p {
    font-size: 14px;
    line-height: 1.65;
  }
  .faqs summary { font-size: 13px; min-height: 48px; }
  .filter-row .filter { min-height: 41px; font-size: 12px; }
  .search-field input, .contact-options select { font-size: 16px; }
  .page-heading h1, .article-header h1, .detail-copy h1 {
    font-size: clamp(43px, 8vw, 65px);
    overflow-wrap: anywhere;
  }
  .page-heading > p:not(.eyebrow), .article-header > p:not(.eyebrow),
  .detail-copy > p:not(.eyebrow):not(.detail-lead):not(.soft-note) {
    font-size: 14px;
    line-height: 1.65;
  }

  .story-grid, .service-detail, .about-story, .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(25px, 5vw, 46px);
  }
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(18px, 4vw, 32px); }
  .footer-note { display: none; }
  .footer-top > div:not(:first-child) > a, .footer-location { font-size: 12px; }
}

@media (max-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 29px;
    padding-block: 28px 39px;
  }
  .hero-copy { padding: 0; }
  .hero-copy h1 { font-size: clamp(45px, 14.5vw, 78px); }
  .hero-copy > p { max-width: 430px; }
  .hero-visual {
    width: calc(100% - 8px);
    height: clamp(292px, 89vw, 435px);
    margin: 0 8px 0 0;
  }
  .hero-image, .hero-visual::before { border-top-left-radius: clamp(100px, 31vw, 140px); }
  .hero-visual::before { inset: -7px -6px 7px 6px; }
  .hero-side-note { right: -18px; }
  .hero-mini { left: -8px; }
  .hero-stamp { right: -13px; }
  .hero-image-caption { left: auto; right: 18px; bottom: 20px; }
  .hero-image-caption p { font-size: clamp(22px, 6vw, 29px); }

  .story-grid, .service-detail, .about-story, .contact-grid, .faq-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .detail-image, .about-story > img, .story-visual {
    height: clamp(280px, 78vw, 410px);
  }
  .contact-image { min-height: clamp(300px, 78vw, 420px); }
  .article-cover { height: clamp(245px, 61vw, 380px); }
  .article-body { font-size: 15px; }
  .admin-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .nav-wrap { min-height: 72px; gap: 10px; }
  .hero { display: grid; align-items: stretch; }
  .hero-actions .button { gap: 12px; }
  .hero-text-link { font-size: 11px; }
  .services-grid, .posts-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .page-heading { padding-block: 34px 27px; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; }
}

@media (max-width: 420px) {
  .header-cta.button { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes page-entrance {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hero-copy > .eyebrow, .hero-copy > h1, .hero-copy > p,
  .hero-actions, .hero-bottom, .hero-visual,
  .page-heading, .article-header, .article-cover,
  .service-detail .detail-image, .service-detail .detail-copy {
    animation: page-entrance 480ms cubic-bezier(.2, .7, .25, 1) both;
  }
  .hero-copy > h1 { animation-delay: 35ms; }
  .hero-copy > p, .service-detail .detail-copy { animation-delay: 75ms; }
  .hero-actions { animation-delay: 115ms; }
  .hero-bottom { animation-delay: 145ms; }
  .hero-visual, .article-cover { animation-duration: 600ms; animation-delay: 65ms; }

  @keyframes menu-entrance {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .mobile-nav:not([hidden]) { animation: menu-entrance 180ms ease-out both; }
}
