/* Final staging polish: retain the approved typefaces, palette and content. */
:root { --accent-text: #88591f; --focus-ring: #916120; }
h1,h2,h3 { text-wrap: balance; }
p,li,dd { overflow-wrap: anywhere; }
main:focus { outline: none; }
:where(a,button,summary,input,select,textarea):focus-visible {
  outline: 3px solid var(--focus-ring); outline-offset: 4px;
}
.site-header :focus-visible,footer :focus-visible,.gallery-lightbox :focus-visible {
  outline-color: #e2bf7f;
}
.skip-link { position: absolute; top: 8px; left: 12px; z-index: 1000; padding: 12px 18px;
  background: #faf8f2; color: #24170f; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header nav>a,.site-header summary { min-height: 44px; display: flex; align-items: center; }
.site-header nav a[aria-current="page"] { color: #e2bf7f; text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.site-header details>div { border-radius: 4px; padding: 8px; }
.site-header details>div a { min-height: 44px; border-radius: 2px; }
.site-header details>div a:hover,.site-header details>div a:focus-visible { background: #ffffff12; }
.site-header .brand:focus-visible { border-radius: 3px; }
.button,.project-read-more { transition: background-color .18s,color .18s,border-color .18s,box-shadow .18s; }
.button:hover { box-shadow: 0 4px 14px #24170f20; border-color: #b58c4d; }
.case-section>.eyebrow,.project-archive-intro .eyebrow,.about-copy>.eyebrow { color: var(--accent-text); }
.case-section>p:not(.eyebrow),.case-copy p { max-width: 70ch; margin-inline: auto; }
.case-copy h3,.project-overview dd,.steps strong { color: #422b1b; }
.project-overview dl { grid-template-columns: repeat(auto-fit,minmax(145px,1fr)); }
.project-overview dd { font-size: 16px; line-height: 1.55; }
.project-overview dt { font-size: 11px; }
.project-card[hidden] { display: none!important; }
.project-card-title { margin: 0 0 10px; }
.project-filter-group button,.project-filter-group select { min-height: 44px; }
.project-filter-group button.active { color: #24170f; }
.project-card-copy .project-card-meta,.project-card-facts span:last-child { color: var(--accent-text); }
.project-card-facts { color: #583b22; }
.project-card:focus-visible { outline-offset: 6px; }
.project-card-description { line-height: 1.65; }
.related-projects>div { grid-template-columns: repeat(auto-fit,minmax(min(100%,230px),1fr)); max-width: 820px; margin-inline: auto; justify-content: center; }
.related-projects>div a { width: 100%; max-width: 390px; justify-self: center; border: 1px solid #e4dbce; transition: box-shadow .18s; }
.related-projects>div a:hover { box-shadow: 0 8px 22px #3021162b; }
.related-projects>div img { display: block; }
.project-carousel-thumb { min-height: 44px; }
.project-carousel-thumbs { overscroll-behavior-x: contain; }
.project-carousel-prev,.project-carousel-next { border-radius: 3px; }
.sound-demo-video { background: #30261f; border-color: #ab854b; }
.form :is(input,select,textarea) { font: inherit; min-width: 0; }
.form input,.form select { min-height: 46px; }
.form input[type="checkbox"] { min-height: auto; }
.form [aria-busy="true"],.form button:disabled { cursor: progress; }
.form-status:not(:empty) { padding: 12px 14px; border-left: 3px solid #916120; background: #fffaf0; color: #55321d; }
.form-confirmation-dialog { max-height: calc(100dvh - 32px); overflow-y: auto; }
.form-confirmation-dialog h2 { text-wrap: balance; }
.form-confirmation-dialog .eyebrow { color: var(--accent-text); }
.page-jump-controls button { background: #30261f; border-color: #cda45e; }
footer nav {
  display: grid;
  width: min(100%,420px);
  grid-template-columns: repeat(2,minmax(0,1fr));
  align-content: start;
  justify-self: center;
  gap: 10px 52px;
  text-align: left;
}
footer nav a {
  display: flex;
  align-items: center;
  min-height: 34px;
  line-height: 1.35;
  text-decoration: none;
  text-underline-offset: 5px;
}
footer nav a:hover { color: #f0cf92; text-decoration: underline; }
@media(min-width:1281px) and (max-width:1440px) {
  .site-header { gap: 24px; padding-inline: 2.5%; }
  .site-header .brand { width: 280px; margin-left: 0; }
  .site-header .brand .wordmark-logo { width: 280px; }
  .site-header nav { gap: clamp(18px,1.8vw,26px); }
  .site-header nav>a,.site-header summary { font-size: 14px; }
  .site-header .header-cta { padding: 12px 16px; font-size: 14px; }
}
@media(max-width:1280px) {
  .site-header { flex-wrap: wrap; }
  .site-header nav { max-height: calc(100dvh - 112px); overflow-y: auto; overscroll-behavior: contain; padding-inline: 16px; }
  .site-header nav>a,.site-header summary { min-height: 46px; border-radius: 3px; }
  .site-header .nav-toggle { min-height: 44px; }
  .site-header nav .mobile-nav-cta { justify-content: center; }
}
@media(max-width:620px) {
  .case-section>.eyebrow { letter-spacing: .12em; font-size: 12px; }
  .project-case-study .page-head h1 { font-size: clamp(29px,7.7vw,36px); line-height: 1.22; }
  .project-overview dl { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .project-overview dl div { padding: 14px 10px; }
  .project-overview dl div:nth-child(odd) { border-left: 0; }
  .project-overview dl div:only-child { grid-column: 1/-1; }
  .project-carousel-prev,.project-carousel-next { width: 44px; }
  .project-carousel-item figcaption { padding-inline: 16px; }
  .form-confirmation-dialog { padding: 24px 18px; }
  footer nav {
    width: min(100%,340px);
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 10px 30px;
    text-align: center;
  }
  footer nav a { justify-content: center; min-height: 40px; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto!important; }
  *,*::before,*::after { scroll-behavior: auto!important; transition-duration: .01ms!important; animation-duration: .01ms!important; animation-iteration-count: 1!important; }
}

/* Slightly stronger section rhythm while retaining the warm, restrained palette. */
:root { --section-shade: #f1eadf; }
.home-section.alt { background: var(--section-shade); }
main>section:not(.home-section):not(.hero):not(.page-head):nth-of-type(odd),
.project>section:nth-of-type(even) {
  background: var(--section-shade);
  box-shadow: 0 0 0 100vmax var(--section-shade);
  clip-path: inset(0 -100vmax);
}
