html { scroll-behavior: smooth; }
body { margin: 0; }
.brand-logo {
  display: block;
  width: clamp(9.5rem, 21vw, 12.5rem);
  aspect-ratio: 1675 / 505;
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
}
.brand-logo img { display: block; width: 143.284%; max-width: none; height: auto; }
footer .brand-logo { width: 10rem; }
main, footer, form, form select, form input, form textarea { min-width: 0; }
form select, form input, form textarea { max-width: 100%; }
h1, h2, h3, footer a { overflow-wrap: break-word; }
.home-hero { min-height: 100vh; min-height: 100svh; padding-block: 7rem 3rem; }
.home-hero h1 { font-size: clamp(2.15rem, 9vw, 6rem); }
.interior-hero h1 { font-size: clamp(2.1rem, 7vw, 4.5rem); }
.hero-actions a { display: inline-flex; align-items: center; justify-content: center; text-align: center; }
header button[aria-controls="mobile-navigation"] { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
#mobile-navigation { visibility: hidden; }
#mobile-navigation.mobile-open { visibility: visible; }
#mobile-navigation a { min-height: 44px; display: flex; align-items: center; }
#mobile-navigation a:last-child { justify-content: center; }
.project-card:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: -2px; }
.project-card:focus-visible .project-description { opacity: 1; transform: none; }
.project-card:focus-visible .project-caption { visibility: hidden; }
#home-header.scrolled {
  background: hsl(var(--background) / 0.97);
  box-shadow: 0 4px 12px #0004;
}
.about-section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.about-muted { background: hsl(var(--muted) / 0.3); }
.about-wrap { width: min(calc(100% - 3rem), 74rem); margin-inline: auto; }
.about-story, .about-grid { display: grid; gap: 2rem; }
.about-story { align-items: center; }
.about-story img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-wrap h2 { font-family: Oswald, sans-serif; font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.1; margin-bottom: 1.25rem; }
.about-wrap p { margin-bottom: 0.85rem; color: hsl(var(--muted-foreground)); line-height: 1.7; }
.about-wrap .about-kicker { color: hsl(var(--primary)); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.about-grid { gap: 1rem; margin-top: 2rem; }
.about-grid article { padding: 1.5rem; border-top: 2px solid hsl(var(--primary)); background: hsl(var(--card)); }
.about-grid h3 { font-family: Oswald, sans-serif; font-size: 1.45rem; margin-bottom: 0.65rem; }
.about-grid p { margin: 0; }
@media (min-width: 768px) {
  .about-story, .about-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .about-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  #mobile-navigation.mobile-open { max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); opacity: 1; overflow-y: auto; overscroll-behavior: contain; }
  #home-header:has(#mobile-navigation.mobile-open) { background: hsl(var(--background) / 0.97); }
  .home-hero p { font-size: 1rem; }
  .home-hero .hero-actions { gap: 0.75rem; }
  .home-hero .hero-actions a { min-height: 48px; padding: 0.75rem 1rem; }
  .site-stats .grid { gap: 1.5rem 1rem; }
  .site-stats .font-heading { font-size: clamp(2.15rem, 9vw, 3rem); }
  .site-stats .tracking-widest { font-size: 0.75rem; }
  form input, form select, form textarea { font-size: 16px; }
}
@media (max-width: 380px) {
  .home-hero .hero-actions a { flex: 1 1 100%; }
}
@media (hover: none), (pointer: coarse) {
  .project-card, .project-card > div.h-80 { height: auto; aspect-ratio: auto; }
  .project-card img { display: block; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
  .project-description { position: relative; opacity: 1; transform: none; padding: 1rem; }
  .project-caption { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
