/* Accessibility and responsive corrections layered over the existing design. */
html { scroll-padding-top: 108px; }
body, body * { cursor: auto !important; letter-spacing: 0; }
body * { -webkit-user-select: auto; user-select: auto; }
a, button, select, summary, [role="button"] { cursor: pointer !important; }
input, textarea { cursor: text !important; }
.cursor-inner, .cursor-outer { display: none !important; }
:focus-visible { outline: 2px solid #fff !important; outline-offset: 5px; }
.audit-sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10001; padding: 14px 18px; background: #fff; color: #111; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.main-header { background: #090909 !important; }
.main-header .brand { font-size: 32px; letter-spacing: 0; }
.main-header .brand { text-decoration: none; }
.hero-brief { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: 15px; text-decoration: underline; text-underline-offset: 5px; }
.hero-support { display: block; }
.hero-next { position: fixed; z-index: 40; left: 32px; bottom: 16px; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: #fff; font-size: 13px; text-decoration: none; text-shadow: 0 1px 4px #000; }
.hero-next[hidden] { display: none !important; }
@media (max-width: 767px) and (max-height: 720px) { .hero-support { display: none; } }
.header-nav { gap: 24px; }
.home-nav-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-size: 13px; letter-spacing: 0; }
.header-actions { flex-direction: row !important; gap: 10px !important; transform: none !important; }
.contact-btn { min-height: 44px; justify-content: center; font-size: 12px; line-height: 1.2; letter-spacing: 0; }
.home-command, .footer-bottom a { min-height: 44px; align-items: center; }
.home-command { letter-spacing: 0; }
.main-header a, .hero-enquiry { transform: none !important; }
.slide-title { font-size: 52px !important; letter-spacing: 0; }
.slide-desc { font-size: 15px; line-height: 1.6; letter-spacing: 0; text-transform: none; }
#slide-1 { width: min(42%, 510px); top: 51% !important; }
#slide-1 .desc-row { gap: 16px; }
.hero-enquiry { width: fit-content; margin-top: 26px; padding: 14px 22px; }
.home-section h2 { font-size: 64px; }
.home-lede, .section-heading--split > p, .fit-copy > p { font-size: 21px; }
.home-section h2, .home-section h3, .home-lede { overflow-wrap: anywhere; }
.reveal-item-text { color: #d7d7d7; font-size: 48px; line-height: 1.2; letter-spacing: 0; }
.hover-reveal-list:hover .reveal-item-text { color: #d7d7d7; }
.reveal-item-text-clone { visibility: hidden; }
.reveal-item:hover .reveal-item-inner { transform: none; }
.hover-reveal-image-box { border-radius: 8px; }
.marquee-card { border-radius: 8px; }
.marquee-card h3 { font-size: 20px; letter-spacing: 0; }
.footer-email { font-size: 52px; overflow-wrap: anywhere; text-align: center; }
#footer-section { height: auto !important; min-height: 85svh !important; padding: 80px 32px !important; }
.footer-bottom { flex-wrap: wrap; gap: 12px 28px; }
.footer-bottom a { display: inline-flex; color: #dfd9cf; font-size: 13px; letter-spacing: 0; }
.footer-ownership { font-size: 12px; line-height: 1.7; letter-spacing: 0; }

#gallery-section { z-index: 200; }
.gallery-close { position: absolute; top: max(20px, env(safe-area-inset-top)); right: 20px; z-index: 60; width: 48px; height: 48px; border: 1px solid #a1a1a1; border-radius: 50%; background: #111; color: #fff; font: 400 30px/1 Arial, sans-serif; }
.gallery-image-links { position: absolute; right: 80px; bottom: max(20px, env(safe-area-inset-bottom)); left: 20px; display: flex; gap: 8px; overflow-x: auto; z-index: 20; padding: 5px; }
.gallery-image-links a { display: flex; flex: 0 0 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid #8c8c8c; border-radius: 4px; color: #fff; background: #111; text-decoration: none; font: 400 14px/1 Outfit, sans-serif; }
#gallery-section .lightbox-close { top: max(20px, env(safe-area-inset-top)) !important; right: 20px !important; }
.gallery-open:has(#lightbox.active) > .gallery-close, .gallery-open:has(#lightbox.active) > .gallery-image-links { visibility: hidden; }
#lightbox:not(.active) { visibility: hidden; }
.lightbox-close, .lightbox-prev, .lightbox-next { min-width: 48px; min-height: 48px; }
.lightbox-prev, .lightbox-next { background: rgba(0, 0, 0, .72); border-radius: 50%; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
#contact-section { background: #111514 !important; }
.enquiry-form { min-width: 0; color: #f5f1e8; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.enquiry-form label { display: grid; gap: 9px; font-size: 14px; line-height: 1.5; }
.enquiry-form input, .enquiry-form textarea, .enquiry-form select { width: 100%; min-width: 0; min-height: 48px; padding: 12px; border: 1px solid #858a84; border-radius: 4px; color: #fff; background: #111514; font: 400 16px/1.5 Outfit, sans-serif; }
.enquiry-form textarea { resize: vertical; min-height: 148px; }
.enquiry-form .form-full { grid-column: 1 / -1; }
.enquiry-form input::placeholder, .enquiry-form textarea::placeholder { color: #afb2ad; }
.enquiry-form input[type="checkbox"] { width: 20px; min-height: 20px; accent-color: #e5bd72; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 24px; }
.form-actions button { min-height: 48px; border: 0; border-radius: 4px; padding: 14px 24px; font: 600 15px/1.3 Outfit, sans-serif; }
.form-status { min-height: 24px; margin-top: 16px; font-size: 15px; line-height: 1.5; }
.enquiry-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 1100px) and (min-width: 768px) {
  .main-header { padding: 16px 24px; }
  .header-nav { gap: 14px; }
  .contact-btn { padding: 12px 14px; }
  .slide-title { font-size: 42px !important; }
  .home-section h2 { font-size: 52px; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 128px; }
  .main-header { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px !important; padding: 10px 16px 4px !important; background: #090909 !important; }
  .main-header .brand { font-size: 28px !important; line-height: 1.2 !important; }
  .hero-next { left: 24px; }
  .header-right { grid-column: 2; grid-row: 1; gap: 0; }
  .header-actions { flex-direction: row !important; gap: 8px !important; }
  .header-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; display: flex !important; justify-content: space-between; gap: 8px !important; }
  .home-nav-link { min-height: 44px; padding: 0 6px; font-size: 13px !important; line-height: 1.2 !important; }
  .contact-btn { min-height: 44px; padding: 10px 12px !important; font-size: 11px !important; line-height: 1.2 !important; gap: 5px !important; }
  .contact-btn .arrow { font-size: 16px !important; }
  #webgl { transform: translateY(120px); }
  #slide-1, #slide-2, #slide-3, #slide-4 { top: 138px !important; left: 24px !important; right: 24px !important; width: auto !important; max-width: none !important; transform: none !important; }
  .slide-title, #slide-1 .slide-title { font-size: 38px !important; line-height: 1.08; margin-bottom: 14px; padding-bottom: 14px; }
  .slide-desc, .desc-row p { max-width: 350px; padding-left: 0; font-size: 14px !important; line-height: 1.5 !important; letter-spacing: 0 !important; }
  .slide-desc::before { display: none; }
  #slide-1 .desc-row { gap: 10px; }
  .hero-enquiry { margin-top: 18px; min-height: 46px; font-size: 13px !important; padding: 12px 18px !important; }
  .home-section__inner, .home-intro { padding-left: 24px !important; padding-right: 24px !important; }
  .home-section__inner.home-intro { padding-left: 24px !important; padding-right: 24px !important; }
  .home-section h2 { font-size: 38px; line-height: 1.15; }
  .home-lede, .section-heading--split > p, .fit-copy > p { font-size: 18px; }
  .discipline-item h3, .process-list h3 { font-size: 28px; }
  .agency-tagline-text { font-size: 13px; line-height: 1.6; letter-spacing: 0; }
  .reveal-item-text { font-size: 28px; white-space: normal; }
  .hover-reveal-container { padding: 40px 0; }
  .hover-reveal-image-box { display: none; }
  .footer-email { font-size: 26px; }
  .footer-tagline { font-size: 22px; }
  .footer-ownership { font-size: 12px; }
  #footer-section { padding: 64px 24px !important; }
  .footer-bottom { flex-direction: row !important; gap: 6px 20px !important; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .contact-layout, .form-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 359px) {
  .main-header { padding-left: 12px !important; padding-right: 12px !important; }
  .main-header .brand { font-size: 25px !important; }
  .contact-btn { padding-left: 10px !important; padding-right: 10px !important; font-size: 10px !important; }
  #slide-1, #slide-2, #slide-3, #slide-4 { left: 20px !important; right: 20px !important; }
  .slide-title, #slide-1 .slide-title { font-size: 34px !important; }
  .home-section h2 { font-size: 32px; }
  .reveal-item-text { font-size: 25px; }
  .footer-email { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-char, .reveal-word, .slide-title .char, .slide-desc, .anim-letter { opacity: 1 !important; transform: none !important; filter: none !important; }
  .home-intro, .video-3d-element, .footer-video-element, .flip-tilt-wrapper, .tilted-card { transform: none !important; }
  .marquee-container { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .marquee-track { transform: none !important; }
  .ambient-sheen, .sheen-line, body::after { display: none !important; }
}
