*{box-sizing:border-box}html,body{margin:0;min-height:100%;width:100%}body{font-family:Inter,Arial,sans-serif;font-weight:300;color:#171717;background:#fff}a{color:inherit;text-decoration:none}.header{position:fixed;z-index:30;top:0;left:0;width:100%;height:57px;background:#fff;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 28px;font-size:18px;font-weight:300}.header .right{justify-self:end}.wordmark{display:block;width:235px;max-width:32vw}.wordmark img{display:block;width:100%;height:auto}.nav-link{width:max-content}.nav-link:hover{text-decoration:underline}.page{position:fixed;inset:57px 0 0;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .35s ease,visibility .35s}.page.active,.page:target{visibility:visible;opacity:1;pointer-events:auto}/* Route visibility is managed by JavaScript; keep the home slideshow visible behind About. */.home{background:#161616}.slides,.slide,.slide img,.slide video{position:absolute;inset:0;width:100%;height:100%}.slide{opacity:0;visibility:hidden;transition:opacity .65s ease,visibility .65s;overflow:hidden}.slide.active{opacity:1;visibility:visible}.slide img,.slide video{object-fit:cover;object-position:center}.next{position:absolute;right:16px;top:50%;transform:translateY(-50%);border:0;border-radius:50%;background:#2229;color:#fff;width:35px;height:35px;cursor:pointer;font-size:17px;display:grid;place-items:center;z-index:3}.next:hover{background:#111}.slide-counter{position:absolute;bottom:12px;left:16px;font-size:11px;color:#fff8;letter-spacing:.03em}.about{background:#bba777}.about-background{position:absolute;inset:0;background:url("assets/reference-2.jpg") center/cover no-repeat;filter:brightness(.84)}.about-copy{position:relative;color:#fff;font-size:clamp(14px,1.25vw,19px);line-height:1.4;max-width:620px;padding:34px 28px}.about-copy p{margin:0 0 23px}.contact{background:#ed6b1b;color:#fff}.contact-links{position:absolute;right:28px;top:24px;display:flex;flex-direction:column;align-items:flex-end;font-size:18px;line-height:1.5}.contact-links a:hover{text-decoration:underline}.legal{position:absolute;bottom:22px;left:28px;font-size:13px;line-height:1.3}@media(max-width:700px){.header{height:52px;padding:0 12px;font-size:12px}.wordmark{width:180px;max-width:48vw}.page{inset:52px 0 0}.about-copy{padding:20px 15px;font-size:13px;max-width:95%}.contact-links{right:14px;font-size:13px}.legal{left:14px}}@media(prefers-reduced-motion:reduce){.page,.slide{transition:none}}
/* V3: About readability and full black Contact theme */
.about-copy{background:#fff;color:#000;padding:16px;max-width:620px;margin:16px 28px 0;box-shadow:none}
.about-copy p:last-child{margin-bottom:0}
.contact{background:#000;color:#fff}
body:has(#contact.active){background:#000;color:#fff}
body:has(#contact.active) .header{background:#000;color:#fff}
@media(max-width:700px){.about-copy{margin:16px 15px 0;padding:16px}}

/* V4: flush About panel, consistent 16px type and inset */
.header{padding-left:16px;padding-right:16px}
.about-copy{position:absolute;top:0;left:0;margin:0;padding:16px;width:min(620px,100%);max-width:100%;background:#fff;color:#000;font-size:16px;font-weight:300;line-height:1.45;max-height:100%;overflow-y:auto}
.about-copy p{margin:0 0 20px}
.about-copy p:last-child{margin-bottom:0}
.contact-links{font-size:16px}
@media(max-width:700px){.header{padding-left:16px;padding-right:16px}.about-copy{margin:0;padding:16px;font-size:16px}.contact-links{font-size:16px}}

/* V5: balance About paragraphs and prevent one/two-word last lines */
.about-copy p{text-wrap:pretty;orphans:3;widows:3}

/* V6 — editorial, left-aligned paragraph wrapping as in supplied reference */
.about-copy { width: min(620px, 100%); text-align: left; }
.about-copy p { text-align: left; text-wrap: pretty; hyphens: none; overflow-wrap: normal; orphans: 3; widows: 3; }
/* Mobile: show each entire image/video, centered within a white canvas */
@media (max-width: 700px) {
  .home, .slides, .slide { background: #fff; }
  .slide img, .slide video { object-fit: contain; object-position: center center; }
  .next { background: rgba(0,0,0,.48); }
  .slide-counter { color: #555; }
}

/* V8: mobile media occupies the horizontal band between the reference guides.
   The screenshot shows a landscape frame: width:height = 7:5. */
@media (max-width:700px) {
  .home, .slides { background:#fff; }
  .slides { position:absolute; inset:0; }
  .slide { position:absolute; inset:0; width:100%; height:100%; background:transparent; }
  .slide img, .slide video {
    position:absolute; inset:50% auto auto 50%;
    transform:translate(-50%,-50%);
    width:100%; height:auto; aspect-ratio:7 / 5;
    object-fit:cover; object-position:center;
  }
}

/* V9: About is a dropdown panel over the continuously playing slideshow. */
.about {
  z-index: 12;
  background: transparent;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
  transition: none !important;
}
.about-background { display: none; }
.about-copy {
  transform: translateY(-105%);
  transition: transform 420ms linear;
  pointer-events: none;
  will-change: transform;
}
.about.active .about-copy {
  transform: translateY(0);
  pointer-events: auto;
}
.about.active { pointer-events: none !important; }
.about.active .about-copy { pointer-events: auto; }
.home { z-index: 1; }
.contact { z-index: 15; }
@media (prefers-reduced-motion: reduce) {
  .about-copy { transition-duration: 0ms; }
}

/* V10: Ensure the About panel never hides the slideshow behind it. */
.page.home.active { visibility:visible; opacity:1; pointer-events:auto; }
.page.about { background:transparent; width:100%; overflow:visible; }
.page.about .about-copy { z-index:1; }

/* V11: persistent sound toggle on the slideshow, separate from the next button. */
.sound-toggle{position:fixed;right:16px;bottom:16px;z-index:25;background:transparent;border:0;color:#fff;font:300 16px Inter,Arial,sans-serif;cursor:pointer;padding:4px 0;text-shadow:0 1px 5px #000a}
.sound-toggle:hover{text-decoration:underline}
.sound-toggle[hidden]{display:none}
@media(max-width:700px){.sound-toggle{color:#111;text-shadow:none;bottom:16px;right:16px}}

/* V12: media begins directly beneath the header; remove the arrow UI. */
.next { display:none !important; }
@media (max-width:700px) {
  .slide img, .slide video {
    top:0; left:50%;
    transform:translateX(-50%);
  }
}

/* V14: restore vertical centering of the 7:5 slideshow on mobile. */
@media (max-width:700px) {
  .slide img, .slide video {
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
  }
  .sound-toggle {
    font-size:12px;
    line-height:normal;
    font-weight:300;
  }
}

/* V15 — portrait centred on black Contact page */
.contact-portrait {
  position:absolute;
  top:50%; left:50%;
  transform:translate(-50%,-50%);
  display:block;
  height:44%;
  width:auto;
  max-width:75%;
  object-fit:contain;
  pointer-events:none;
}
@media(max-width:700px){
  .contact-portrait {
    height:auto;
    width:min(52vw, 280px);
    max-height:48%;
    object-fit:contain;
  }
}
