html,
body {
  max-width: 100%;
  overflow-x: clip;
}

img,
video,
iframe {
  max-width: 100%;
}

a,
button,
summary {
  touch-action: manipulation;
}

@media (max-width: 800px) {
  html {
    scroll-padding-top: 88px;
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-header,
  .home-header,
  .top {
    position: sticky;
    z-index: 100;
    top: 0;
    display: flex;
    width: 100%;
    height: 74px;
    min-height: 74px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 7px 5vw;
    border-bottom: 4px solid var(--gold, #ffc72c);
    background: var(--navy, var(--blue, #00053e));
  }

  .top > a,
  .site-header .brand,
  .home-header .brand {
    display: flex;
    position: static;
    width: auto;
    height: 58px;
    align-items: center;
    transform: none;
  }

  .top img,
  .site-header .brand img,
  .home-header .brand img {
    width: 142px;
    height: 58px;
    object-fit: contain;
  }

  .menu,
  .top .menu,
  .site-header .menu,
  .home-header .menu {
    display: inline-flex;
    min-width: 66px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    padding: 9px 14px;
    background: transparent;
    color: #fff;
    font: 800 12px "Barlow Condensed", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .top nav,
  .site-header nav,
  .home-header nav {
    display: none !important;
    position: absolute;
    z-index: 99;
    top: 70px;
    right: 0;
    left: 0;
    width: 100%;
    max-height: calc(100svh - 70px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow-y: auto;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 4px solid var(--gold, #ffc72c);
    padding: 10px 5vw 18px;
    background: var(--navy, var(--blue, #00053e));
    box-shadow: 0 18px 30px rgba(0, 5, 62, 0.22);
  }

  .top.open nav,
  .site-header.open nav,
  .home-header.open nav {
    display: grid !important;
  }

  .top nav a,
  .site-header nav a,
  .home-header nav a,
  .home-header nav a:nth-child(n) {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 10px 8px;
    color: #fff;
    font: 800 16px "Barlow Condensed", sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .top nav a[aria-current="page"] {
    color: var(--gold, #ffc72c);
  }

  .top nav .nav-inquiry,
  .site-header nav .nav-inquiry,
  .home-header nav .nav-inquiry {
    border: 0;
    border-radius: 0;
    padding: 10px 8px;
    color: var(--gold, #ffc72c);
  }

  .top nav a:focus-visible,
  .site-header nav a:focus-visible,
  .menu:focus-visible {
    outline: 3px solid var(--gold, #ffc72c);
    outline-offset: 2px;
  }

  .home-page .utility-bar {
    display: none;
  }

  .hero {
    min-height: calc(100svh - 74px);
    padding: 56px 7vw 62px;
    background-position: 57% 12%;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(50px, 15.5vw, 66px);
    line-height: 0.9;
    overflow-wrap: normal;
  }

  .hero .intro {
    max-width: 34rem;
    margin: 24px auto 28px;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    width: min(100%, 290px);
    gap: 13px;
    margin-inline: auto;
  }

  .hero-actions .button {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 13px 18px;
    text-align: center;
  }

  .home-page .home-section {
    margin: 8px 6px;
    padding: 58px 6vw;
    border-radius: 24px;
  }

  .home-page .home-heading {
    margin-bottom: 30px;
  }

  .home-page .home-heading h2,
  .home-page .director-copy h2,
  .home-page .experience-copy h2 {
    max-width: 100%;
    font-size: clamp(45px, 14vw, 58px);
  }

  .home-page .home-heading > p:last-child,
  .director-copy > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.65;
  }

  .path-card,
  .current-card {
    min-height: 0;
    padding: 25px;
    border-radius: 22px;
  }

  .path-card h3 {
    margin: 60px 0 14px;
    font-size: 38px;
  }

  .current-card {
    min-height: 310px;
  }

  .current-card h3 {
    font-size: clamp(42px, 13vw, 56px);
  }

  .director-profile {
    width: 100%;
    margin: 0;
    padding: 17px;
    border-radius: 22px;
  }

  .experience-item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 14px;
    padding: 18px;
  }

  .experience-item > span {
    width: 38px;
    height: 38px;
  }

  .sponsor {
    padding: 34px 7vw;
  }

  main:not(.home-page main) {
    min-width: 0;
  }

  body:not(.home-page) main:not(.vic-main):not(.projects-main):not(.journal-main):not(.about-main):not(.resources-main) {
    padding: 54px 6vw 76px;
  }

  body:not(.home-page) h1 {
    max-width: 100%;
    font-size: clamp(54px, 17vw, 74px);
    overflow-wrap: anywhere;
  }

  body:not(.home-page) h2 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .lead {
    margin: 23px 0 38px;
    font-size: 16px;
    line-height: 1.65;
  }

  .grid,
  .vic-grid,
  .checklist,
  .two-col,
  .advice-grid,
  .quick-links,
  .submission-list,
  .resource-cards,
  .steps {
    grid-template-columns: 1fr;
  }

  .card,
  .item,
  .checklist,
  .two-col article,
  .faq-group,
  .resource-cards article {
    min-height: 0;
    padding: 24px;
    box-shadow: 6px 7px 0 rgba(0, 5, 62, 0.12);
  }

  .band,
  .question-cta {
    margin-top: 42px;
    border-right-width: 10px;
    padding: 30px 24px;
    box-shadow: 6px 7px 0 rgba(0, 5, 62, 0.14);
    transform: none;
  }

  .content-section,
  .workflow,
  .advice,
  .faq-group {
    margin-top: 54px;
  }

  .advice {
    margin-right: 0;
    margin-left: 0;
    padding: 30px 22px;
  }

  .faq-group summary,
  .tool-card summary {
    min-height: 48px;
    font-size: 22px;
    line-height: 1.08;
  }

  .text-link,
  footer > a,
  .vic-intro-card > a,
  .projects-jump,
  .project-outline summary,
  .projects-cta a,
  .journal-hero-copy > a,
  .journal-close a,
  .about-hero-copy > a,
  .resources-hero-copy > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .vic-intro,
  .projects-hero,
  .resources-hero {
    padding: 58px 6vw 70px;
  }

  .vic-title-block h1,
  .projects-hero h1,
  .resources-hero h1,
  .about-hero h1,
  .journal-hero h1 {
    font-size: clamp(59px, 18vw, 78px);
  }

  .vic-intro-card,
  .projects-hero-card,
  .work-log-card {
    min-height: 0;
    border-radius: 22px;
    padding: 30px 24px;
  }

  .directory-inner,
  .project-archive,
  .journal-content,
  .about-story,
  .resources-content {
    padding: 66px 5vw;
  }

  .contact-row {
    grid-template-columns: 40px 74px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
  }

  .contact-index {
    width: 38px;
    height: 38px;
  }

  .contact-photo {
    width: 72px;
    height: 72px;
  }

  .contact-name h3 {
    font-size: 29px;
    overflow-wrap: normal;
  }

  .contact-row > a {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 46px;
    justify-content: center;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .case-visual,
  .lead-entry-image,
  .director-portrait {
    min-height: 280px;
  }

  .case-copy,
  .lead-entry-copy,
  .director-copy {
    padding: 36px 24px;
  }

  .dispatch-card,
  .dispatch-card:last-child,
  .agency-principles article {
    min-height: 280px;
  }

  .journal-hero,
  .journal-hero > img,
  .about-hero {
    min-height: 620px;
    height: 620px;
  }

  .journal-hero-copy,
  .about-hero-copy {
    left: 6vw;
    width: 88vw;
  }

  .journal-edition {
    right: 6vw;
    width: 88vw;
  }

  .about-stamp {
    right: 6vw;
  }

  .agency-principles,
  .tool-grid,
  .dispatch-grid,
  .framework-grid {
    grid-template-columns: 1fr;
  }

  .resources-heading,
  .hub-links,
  .submit-check,
  .about-heading,
  .director-message,
  .agency-experience,
  .about-sponsor,
  .archive-heading,
  .projects-cta,
  .journal-heading,
  .lead-entry,
  .field-notes,
  .journal-framework header,
  .journal-close {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .tool-card {
    border-radius: 18px;
    padding: 0 20px;
  }

  .tool-card summary {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 22px 42px 22px 0;
  }

  .tool-card h3 {
    font-size: 32px;
  }

  .submit-check,
  .about-sponsor,
  .journal-framework {
    border-radius: 20px;
    padding: 36px 24px;
  }

  footer {
    display: grid;
    justify-items: start;
    gap: 18px;
    padding: 30px 7vw;
  }
}

@media (max-width: 380px) {
  .top nav,
  .site-header nav,
  .home-header nav {
    grid-template-columns: 1fr;
  }

  .top img,
  .site-header .brand img,
  .home-header .brand img {
    width: 126px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .contact-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .contact-photo {
    grid-column: 1 / -1;
    width: 100%;
    height: 190px;
  }

  .contact-name {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
