/* Single owner of the shared header, brand lockup and home hero.
   The artwork keeps its intrinsic 1672:941 ratio at every viewport. */
:root { --header-height: 94px; --page-gutter: clamp(24px, 4vw, 64px); }
html { scroll-padding-top: calc(var(--header-height) + 16px); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-height); padding: 0 var(--page-gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: #fffffff5; backdrop-filter: blur(8px); border: 0;
}
.wordmark {
  display: inline-flex; align-items: center; flex-shrink: 0; gap: 4px;
  font: 600 32px/1.1 Arial, sans-serif; letter-spacing: -.8px;
  white-space: nowrap; color: #242629;
}
.wordmark .brand-icon { display: block; width: 50px; height: 50px; object-fit: contain; flex: none; }
.site-header nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(24px, 3vw, 48px); }
.site-header nav a {
  position: relative; padding: 12px 0; font-size: 15px; line-height: 1.7;
  font-weight: 700; letter-spacing: .04em; white-space: nowrap;
}
.site-header nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 5px;
  height: 2px; background: var(--blue); transform: scaleX(0);
  transform-origin: left; transition: transform .25s;
}
.site-header nav a:hover::after, .site-header nav a[aria-current]::after { transform: scaleX(1); }
.nav-contact { border: 0; background: none; color: var(--ink); }
.nav-contact span { display: none; }
.menu-toggle { display: none; }
.kinetic-hero {
  position: relative; isolation: isolate; overflow: hidden; background: white;
  height: clamp(460px, 48vw, 680px);
}
.kinetic-copy {
  position: relative; z-index: 2; margin-left: clamp(32px, 10vw, 160px);
  padding-top: clamp(65px, 7vw, 100px); pointer-events: none;
}
.kinetic-copy h1 {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
  font-size: clamp(34px, 3.4vw, 52px); line-height: 1.35; letter-spacing: .025em;
}
.kinetic-copy h1 > span { display: block; }
.kinetic-copy h1 b {
  display: block; padding: 7px 16px 9px; background: #252525; color: white;
  font-weight: 700; animation: headline-enter .7s var(--ease) both;
}
.kinetic-copy h1 > span:nth-child(2) b { animation-delay: .12s; }
.kinetic-copy h1 > span:nth-child(3) b { animation-delay: .24s; }
.kinetic-summary { display: table; margin-top: 28px; padding: 2px 10px 2px 0; background: #fffffff2; font-size: 17px; line-height: 1.9; letter-spacing: .03em; color: #444; }
.hero-geometry { position: absolute; inset: 0; z-index: 0; pointer-events: none; transform: translateY(var(--hero-y, 0px)); }
.geometry-field { position: absolute; inset: 0; transform: translate(var(--pointer-x, 0px), var(--pointer-y, 0px)); transition: transform 1.4s var(--ease); }
.hero-reference-art {
  position: absolute; right: -3%; top: 50%; width: max(100%, 1050px); height: auto;
  max-width: none; aspect-ratio: 1672 / 941; display: block;
  clip-path: inset(0 0 0 38%);
  animation: artwork-drift 14s ease-in-out infinite alternate;
}
@keyframes headline-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes artwork-drift { from { transform: translate(0, -50%); } to { transform: translate(8px, calc(-50% + 10px)); } }
@media (max-width: 1100px) {
  .site-header { gap: 24px; }
  .site-header nav { gap: 24px; }
  .wordmark { font-size: 29px; }
  .site-header nav a { font-size: 14px; }
}
@media (max-width: 960px) {
  :root { --header-height: 80px; }
  .site-header nav { display: none; position: absolute; top: var(--header-height); left: 0; right: 0; padding: 12px var(--page-gutter) 28px; background: white; max-height: calc(100dvh - var(--header-height)); overflow: auto; box-shadow: 0 14px 20px #0000000a; }
  .site-header nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .site-header nav a { padding: 16px 0; font-size: 16px; border-bottom: 1px solid #eee; }
  .site-header nav a::after { display: none; }
  .menu-toggle { display: flex; align-items: center; gap: 12px; padding: 12px 0 12px 12px; border: 0; background: none; color: var(--ink); font-size: 14px; }
  .menu-toggle i { display: block; width: 24px; height: 12px; border-block: 2px solid var(--blue); transition: transform .2s; }
  .menu-toggle[aria-expanded=true] i { transform: rotate(-45deg); }
  .kinetic-copy { margin-left: 8%; padding-top: 68px; }
  .kinetic-copy h1 { font-size: 36px; gap: 16px; }
  .kinetic-summary { font-size: 16px; }
}
@media (max-width: 600px) {
  :root { --header-height: 76px; --page-gutter: 22px; }
  .wordmark { font-size: 28px; gap: 2px; }
  .wordmark .brand-icon { width: 44px; height: 44px; }
  .kinetic-hero { height: 510px; }
  .kinetic-copy { margin-left: 28px; padding-top: 60px; }
  .kinetic-copy h1 { font-size: clamp(29px, 7.8vw, 36px); gap: 16px; }
  .kinetic-copy h1 b { padding: 7px 12px 9px; }
  .kinetic-summary { margin-top: 26px; font-size: 15px; max-width: 275px; text-wrap: pretty; }
  .hero-reference-art { width: 900px; right: -100px; }
  .hero-geometry::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #ffffffed 48%, #ffffff00 82%); }
}
@media (max-width: 360px) {
  :root { --page-gutter: 16px; }
  .wordmark { font-size: 25px; }
  .wordmark .brand-icon { width: 40px; height: 40px; }
  .kinetic-copy { margin-left: 24px; }
  .kinetic-summary { max-width: 235px; }
}
@media (prefers-reduced-motion: reduce) {
  .kinetic-copy h1 b { animation: none; }
  .hero-reference-art { animation: none; transform: translateY(-50%); }
  .hero-geometry, .geometry-field { transform: none; transition: none; }
}
