/* Final compactness pass: preserves the established design while reducing repetition. */
html, body { overflow-x:hidden; }
html { scroll-padding-top:96px; }
body { padding-top:78px; }
section[id] { scroll-margin-top:96px; }

/* Persistent, opaque navigation: it stays readable without covering anchor targets. */
.site-header {
  position:fixed;
  top:0;
  right:0;
  left:0;
  width:100%;
  z-index:100;
  background:#fff;
  backdrop-filter:none;
  border-bottom:1px solid rgba(16,16,16,.08);
  box-shadow:0 2px 9px rgba(16,16,16,.045);
}

/* Hero media keeps the supplied 16:9 frame intact while gaining a little presence. */
.hero-art { height:370px; }
.photo-hero {
  width:99%;
  height:auto;
  aspect-ratio:16 / 9;
  top:12px;
  transform:rotate(1.2deg);
}
.photo-hero.video-ready > video {
  object-fit:contain;
  background:#edf1f5;
}
.hero-art .orbit-a { display:none; }

/* Why NaMagnet: seven supplied event photographs, crossfading without changing the frame. */
.why-slideshow { display:block; }
.why-slideshow .why-slide {
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  opacity:0;
  transition:opacity .7s ease;
  will-change:opacity;
}
.why-slideshow .why-slide.is-active { opacity:1; }
.tilted-note {
  left:0;
  bottom:26px;
  padding:12px 16px;
  font-size:.86rem;
  line-height:1.08;
}

/* Branding: shorter headline area, stronger visual sample grid. */
.branding.section { padding-top:50px; padding-bottom:50px; }
.branding h2 { font-size:clamp(2.15rem,3.1vw,3.1rem); margin-bottom:17px; }
.branding-gallery { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; align-items:start; }
.branding-gallery > .photo-placeholder { transform:none!important; }
.branding-gallery .photo-placeholder { height:230px; }

/* Keep event-size cards compact and the short statement close to the cards. */
.sizes.section { padding-top:38px; padding-bottom:38px; }
.sizes .size-claim { max-width:none; margin:42px auto 0; font-family:var(--body); font-size:.95rem; font-weight:400; line-height:1.5; letter-spacing:0; text-align:center; white-space:nowrap; }
.sizes .size-claim em { font-style:normal; font-weight:600; }

/* The references section becomes the single realisation gallery. */
.references.section { padding-top:40px; padding-bottom:40px; }
.references .reference-grid { margin-top:19px; }
.references .reference-main .photo-placeholder { height:230px; }
.references .reference-mini { margin-top:13px; }
.references .reference-mini .photo-placeholder { height:112px; }
.gallery { display:none!important; }

/* Bridge CTA to the actual form instead of creating a second large destination. */
.final-cta { padding-top:34px; padding-bottom:36px; }
.final-cta h2 { font-size:clamp(1.9rem,2.8vw,2.75rem); margin-bottom:10px; }
.final-cta h2 + p { max-width:640px; margin:0 auto; }
.final-cta .button { margin-top:18px; }
.form-section.section { padding-top:42px; }
.pricing .price-grid { display:none; }

/* Event agencies: concise benefit list with comfortable desktop reading size. */
.agencies-grid > div:last-child { font-size:1rem; line-height:1.45; }
.agencies-grid > div:last-child > p:first-child { max-width:530px; margin-bottom:13px; font-size:1.05rem; }
.agencies ul { columns:1; margin:0; }
.agencies li { padding-top:4px; padding-bottom:4px; font-size:.9rem; }
.agencies .agency-key { margin:17px 0!important; font-size:1rem; }

/* Readability pass for supporting copy; headings and visual hierarchy stay intact. */
.products .product { grid-template-rows:235px 225px auto; }
.products .product-top { height:235px; min-height:0; padding:18px 24px 17px; }
.products .product-top h3 { margin-top:0; }
.products .product-top p { font-size:.94rem; line-height:1.5; margin-bottom:7px; }
.products .product-bottom { padding:17px 24px 20px; }
.products .product-bottom ul { font-size:.875rem; line-height:1.48; }
.products .product-bottom li { padding-top:3px; padding-bottom:3px; }
.products .capacity { margin:13px 0 10px; padding-top:11px; font-size:.875rem; line-height:1.45; }

.references .reference-main p { font-size:.9rem; line-height:1.48; margin-top:5px; }
.references .reference-main small { font-size:.82rem; line-height:1.4; }

.pricing > p { font-size:.94rem; line-height:1.5; }
.service-cards li { font-size:.875rem; line-height:1.48; padding-top:4px; padding-bottom:4px; }
.service-cards p { font-size:.875rem; line-height:1.48; }

.event-form label { font-size:.8125rem; line-height:1.4; }
.event-form .date-unknown { font-size:.8125rem; line-height:1.4; }
.event-form .file-upload { font-size:.8125rem; line-height:1.45; }
.event-form .file-upload small, .event-form .privacy-note { font-size:.8125rem; line-height:1.5; }
.event-form .form-message { font-size:.875rem; line-height:1.5; }

/* Inquiry: a more balanced desktop split while retaining every form control. */
.form-section { grid-template-columns:.9fr 1.1fr; gap:48px; align-items:start; }
.form-heading h2 { max-width:390px; margin:0 0 12px; font-size:clamp(2rem,2.7vw,2.7rem); line-height:1.04; }
.form-heading p:not(.eyebrow) { max-width:370px; margin-bottom:0; font-size:.98rem; line-height:1.5; }
.form-heading .contact-card { margin-top:22px; }

@media (max-width:800px) {
  .products .product { grid-template-rows:none; }
  .products .product-top { height:auto; min-height:0; }
  .form-section { grid-template-columns:1fr; gap:30px; }
}

/* Media-ready placeholders: add .has-media only after a real asset and its factual alt text are supplied. */
.photo-placeholder { position:relative; overflow:hidden; isolation:isolate; }
.photo-placeholder.has-media { background:#e7edf5; }
.photo-placeholder.has-media > :not(img):not(video):not(picture):not(.media-fallback) { display:none; }
.photo-placeholder.has-media > img,
.photo-placeholder.has-media > video,
.photo-placeholder.has-media > picture,
.photo-placeholder.has-media > picture img,
.photo-placeholder.has-media > .media-fallback { display:block; width:100%; height:100%; }
.photo-placeholder.has-media > img,
.photo-placeholder.has-media > video,
.photo-placeholder.has-media > picture,
.photo-placeholder.has-media > .media-fallback { position:absolute; inset:0; }
.photo-placeholder.has-media > img,
.photo-placeholder.has-media > video,
.photo-placeholder.has-media > picture img,
.photo-placeholder.has-media > .media-fallback { object-fit:cover; object-position:var(--media-position, center); }
.photo-hero.video-ready .media-fallback { display:none; }
.photo-hero.video-ready > video { position:absolute; inset:0; z-index:1; display:block; width:100%; height:100%; object-fit:cover; object-position:center; }

@media (prefers-reduced-motion:reduce) {
  .photo-hero.video-ready video { display:none; }
  .photo-hero.video-ready .media-fallback { display:block; }
}

/* Footer links remain inside the design palette. */
.footer>a:last-child, .footer a { color:#fff; }
.footer>a:last-child:hover { color:var(--yellow); }

/* Avoid the desktop navigation CTA being squeezed before the mobile menu takes over. */
@media (min-width:801px) and (max-width:1080px) {
  .nav { width:calc(100% - 48px); }
  .nav-links { gap:13px; }
  .nav-links>a:not(.button) { font-size:.75rem; }
  .nav-links .button { padding:9px 11px; font-size:.6rem; gap:9px; }
}

@media (max-width:800px) {
  html { scroll-padding-top:76px; }
  body { padding-top:65px; }
  section[id] { scroll-margin-top:76px; }
  .hero-art { height:calc((100vw - 48px) * .5625 + 48px); }
  .photo-hero { width:100%; height:auto; top:8px; }
  .tilted-note { left:0; bottom:24px; }
  .branding.section, .sizes.section, .references.section, .form-section.section { padding-top:70px; padding-bottom:70px; }
  .branding h2 { font-size:clamp(2.25rem,8vw,3.6rem); }
  .branding-gallery .photo-placeholder { height:170px; }
  .references .reference-main .photo-placeholder { height:280px; }
  .references .reference-mini { grid-template-columns:1fr 1fr; }
  .references .reference-mini .photo-placeholder { height:130px; }
  .final-cta { padding-top:44px; padding-bottom:46px; }
  .sizes .size-claim { white-space:normal; }
}

@media (max-width:480px) {
  .hero-art { height:calc((100vw - 32px) * .5625 + 60px); }
  .photo-hero { width:100%; top:5px; }
  .tilted-note { left:0; bottom:20px; padding:10px 13px; font-size:.78rem; }
  .references .reference-mini { grid-template-columns:1fr; }
  .references .reference-mini .photo-placeholder { height:175px; }
}

/* Inquiry form: compact, accessible fields prepared for a secure backend. */
.event-form fieldset { margin-bottom:24px; }
.event-form label > span[aria-hidden="true"] { color:var(--yellow); }
.event-form .date-unknown { align-self:end; display:flex; align-items:center; gap:9px; min-height:48px; padding:0 2px; color:var(--ink); font-size:.72rem; letter-spacing:.02em; line-height:1.35; text-transform:none; }
.event-form .date-unknown input { width:16px; height:16px; margin:0; accent-color:var(--blue); }
.event-form .date-unknown span { color:inherit; }
.event-form .file-upload { display:grid; gap:9px; padding:15px; border:1px dashed #a8bed7; background:#f8fbff; color:var(--ink); font-size:.72rem; letter-spacing:.02em; line-height:1.4; text-transform:none; }
.event-form .file-upload input[type="file"] { width:100%; padding:9px; border:1px solid #d5dfeb; background:#fff; color:var(--ink); font:inherit; text-transform:none; }
.event-form .file-upload small { color:#61728a; font-size:.72rem; letter-spacing:0; text-transform:none; }
.event-form .honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.event-form .form-message { min-height:1.5em; margin:13px 0 0; color:var(--blue); font-size:.82rem; line-height:1.45; }
.event-form .privacy-note { margin:12px 0 0; color:#61728a; font-size:.75rem; line-height:1.5; }
.event-form .privacy-note span { color:#7d6330; }

@media (max-width:480px) {
  .event-form .date-unknown { min-height:auto; padding:5px 0 10px; }
  .event-form .file-upload { padding:13px; }
}
