/* Scope Construction: rebuilt from the original Divi design */
@font-face { font-family: "Copperplate"; src: url("/fonts/CopperplateGothicBold.woff2") format("woff2"), url("/fonts/CopperplateGothicBold.woff") format("woff"); font-display: swap; }
@font-face { font-family: "Calibri"; src: url("/fonts/Calibri.woff2") format("woff2"), url("/fonts/Calibri.woff") format("woff"); font-display: swap; }

:root {
  --black: #000;
  --header: rgba(20, 20, 20, .85);
  --footer: #141414;
  --footer-bottom: #0c0c0c;
  --text: #fff;
  --heading-font: "Copperplate", "Copperplate Gothic Bold", Georgia, serif;
  --body-font: "Calibri", "Carlito", "Segoe UI", Arial, sans-serif;
  --container: min(80%, 1080px);
  --header-h: 90px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font: 17px/1.7 var(--body-font); color: var(--text); background: var(--black); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { font-family: var(--heading-font); font-weight: normal; line-height: 1.3; }
p + p { margin-top: 1em; }
.container { width: var(--container); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---- Header ---- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; background: var(--header); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); position: relative; }
.site-header__logo img { height: 72px; width: auto; }
.menu-toggle { background: none; border: 0; cursor: pointer; padding: 10px; display: flex; flex-direction: column; gap: 4px; order: 3; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; }
.site-nav { display: none; }
.site-nav ul { list-style: none; }
.site-nav a { text-decoration: none; text-transform: uppercase; font-size: 15px; letter-spacing: .02em; }
.site-nav a:hover, .site-nav a[aria-current] { opacity: .7; }
.nav-open .site-nav { display: block; }
@media (min-width: 981px) {
  /* original: menu opens as a single row beside the logo */
  .site-nav { margin-left: auto; margin-right: 24px; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: 6px 36px; justify-content: flex-end; }
}
@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .site-header__logo img { height: 58px; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: #222; padding: 12px 20px; }
  .site-nav li a { display: block; padding: 10px 0; border-bottom: 1px solid #333; }
}

/* ---- Banner (top of each page) ---- */
.banner { position: relative; min-height: 100vh; background: #222 center / cover no-repeat; display: flex; align-items: flex-end; }
.banner--short { min-height: 60vh; }
.banner__caption { padding-bottom: 36px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.banner__caption h1 { font-size: 36px; text-transform: uppercase; }
.banner__caption p { font-family: var(--heading-font); font-size: 17px; text-transform: uppercase; }

/* ---- Content blocks ---- */
.content { background: var(--black); padding: 60px 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; margin-bottom: 60px; }
.split__img img { width: 100%; }
.split__text { padding-right: max(20px, calc((100vw - 1080px) / 2)); font-size: 16px; }
.split--img-right .split__img { order: 2; }
.split--img-right .split__text { padding-right: 0; padding-left: max(20px, calc((100vw - 1080px) / 2)); }
.split__text h2, .text-block h2 { font-size: 17px; text-transform: uppercase; margin-bottom: .4em; }
.split__text h2 ~ h2, .text-block h2 ~ h2 { margin-top: 1.6em; }
.split__text h5, .text-block h5 { font-size: 14px; margin: 1.4em 0 .5em; }
.split__text h5:first-child { margin-top: 0; }
.text-block { width: var(--container); margin: 0 auto 60px; font-size: 16px; }
.text-block--center { text-align: center; max-width: 760px; }
.text-block--center h2 { font-size: 22px; margin-bottom: 1em; }
@media (max-width: 980px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .banner__caption h1, .contact__details h1 { font-size: 26px; }
  .banner__caption p { font-size: 14px; }
  .split--img-right .split__img { order: 0; }
  .split__text, .split--img-right .split__text { padding: 0 20px; }
}

.button { display: inline-block; border: 2px solid #fff; color: #fff; text-decoration: none; padding: 6px 18px; font-size: 15px; transition: background .2s; }
.button:hover { background: rgba(255,255,255,.15); }
.button--large { font-family: var(--heading-font); font-size: 20px; padding: 14px 40px; margin-top: 1.5em; }

/* ---- Home ---- */
.intro-video { background: #333; padding-top: var(--header-h); }
.intro-video video { display: block; width: 100%; height: auto; max-height: calc(100vh - var(--header-h)); object-fit: cover; }
.intro-video { position: relative; }
.sound-toggle { position: absolute; right: 20px; bottom: 20px; font: 14px var(--heading-font); color: #fff; background: rgba(0,0,0,.55); border: 1px solid #fff; padding: 8px 16px; cursor: pointer; }
.sound-toggle:hover { background: rgba(0,0,0,.8); }
.portal-frame { width: 100%; scroll-margin-top: var(--header-h); }
.portal-frame iframe { width: 100%; height: calc(100vh - var(--header-h)); min-height: 600px; border: 0; background: #1c1917; display: block; }
.portal-frame p { text-align: center; font-size: 14px; margin-top: 12px; }
.portal-frame .button { background: none; font: 15px var(--heading-font); cursor: pointer; }
.welcome { background: #fff; color: #000; padding: 120px 20px; }
.welcome__inner { max-width: 640px; margin: 0 auto; font-size: 16px; }
.welcome h1 { text-align: center; font-size: 26px; margin-bottom: 20px; color: #333; }

/* ---- Slider ---- */
.slider { position: relative; height: 100vh; min-height: 480px; overflow: hidden; background: #111; }
.slide { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity .8s; display: flex; align-items: center; justify-content: center; text-align: center; }
.slide::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); }
.slide.is-active { opacity: 1; z-index: 1; }
.slide__caption { position: relative; padding: 0 60px; }
.slide__caption h2 { font-size: 46px; text-transform: uppercase; }
.slide__caption h2 a { text-decoration: none; }
.slide__caption p { font-size: 16px; }
.slide__caption .button { margin-top: 16px; }
.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: none; border: 0; color: #fff; font-size: 56px; cursor: pointer; padding: 0 18px; opacity: .6; }
.slider__arrow:hover { opacity: 1; }
.slider__arrow--prev { left: 0; } .slider__arrow--next { right: 0; }
.slider__dots { position: absolute; bottom: 16px; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.slider__dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.slider__dots button.is-active { background: #fff; }
.slider__heading { position: absolute; bottom: 30px; left: 0; right: 0; z-index: 2; pointer-events: none; }
@media (max-width: 767px) { .slide__caption h2 { font-size: 26px; } .slider { height: 70vh; } }

/* ---- Project galleries ---- */
.video { width: var(--container); margin: 0 auto 40px; aspect-ratio: 16 / 9; }
.video iframe { width: 100%; height: 100%; border: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 4px; }
.photo-grid a { display: block; overflow: hidden; aspect-ratio: 3 / 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.photo-grid a:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 90vh; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font-size: 48px; cursor: pointer; padding: 10px 20px; }
.lightbox__close { top: 10px; right: 10px; font-size: 36px !important; }
.lightbox__prev { left: 0; } .lightbox__next { right: 0; }

/* ---- Contact ---- */
.banner--contact::before { content: ""; position: absolute; inset: 0; background: rgba(0, 12, 40, .45); }
.banner--contact .contact { position: relative; }
.banner--contact { align-items: center; padding: calc(var(--header-h) + 50px) 0 50px; }
.contact { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 60px; align-items: start; }
.contact__details h1 { font-size: 36px; }
.contact__sub { font-family: var(--heading-font); text-transform: uppercase; margin-bottom: 70px; }
.contact__info { font-family: var(--heading-font); font-size: 15px; line-height: 2; }
.contact__info a { text-decoration: none; }
.contact-form { background: #000; padding: 26px 16px 20px; display: grid; gap: 12px; font-family: var(--heading-font); font-size: 13px; }
.contact-form input, .contact-form textarea { width: 100%; font: 13px var(--heading-font); padding: 8px; border: 0; background: #fff; color: #000; }
.contact-form__file { border: 1px solid #fff; padding: 8px; display: grid; gap: 6px; }
.contact-form__file input { background: none; color: #fff; padding: 0; }
.contact-form__file small { font-size: 10px; }
.contact-form__hp { position: absolute; left: -9999px; }
.contact-form button { justify-self: start; font: 13px var(--heading-font); background: #fff; color: #000; border: 0; padding: 8px 30px; cursor: pointer; }
.contact-form button[disabled] { opacity: .5; cursor: wait; }
.contact-form__status { font-family: var(--body-font); font-size: 15px; }
@media (max-width: 980px) { .contact { grid-template-columns: minmax(0, 1fr); gap: 30px; } .contact__sub { margin-bottom: 24px; } .contact__details h1 { font-size: 26px; } .contact__info { font-size: 13px; overflow-wrap: anywhere; } }

/* ---- Footer ---- */
.site-footer { background: var(--footer); font-size: 13px; line-height: 1.6; }
.site-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.site-footer h4 { font-size: 15px; margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__links { list-style: none; text-transform: uppercase; font-size: 12px; }
.site-footer__links li::before { content: "•"; margin-right: 8px; }
.site-footer__bottom { background: var(--footer-bottom); text-align: center; font-size: 12px; padding: 16px; }
@media (max-width: 767px) { .site-footer__cols { grid-template-columns: 1fr; gap: 24px; } }
