@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap");

:root {
  --ink: #222222;
  --deep: #181818;
  --white: #ffffff;
  --muted: #737373;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: #333;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; }

.site-splash {
  align-items: center;
  background: #2be4fc;
  display: flex;
  inset: 0;
  justify-content: center;
  overflow: hidden;
  position: fixed;
  transform: translate3d(0,0,0);
  transition: transform 1s cubic-bezier(.7,0,.3,1);
  z-index: 2000;
}
.site-splash--leaving { transform: translate3d(0,-100%,0); }
.site-splash-vignette { background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,.8) 100%); inset: 0; position: absolute; }
.site-splash-logo { animation: splash-logo-in .85s cubic-bezier(.22,1,.36,1) both; position: relative; width: clamp(145px,18vw,224px); z-index: 1; }
.site-splash-logo img { height: auto; width: 100%; }
.site-splash--leaving .site-splash-logo { animation: splash-logo-out 1s cubic-bezier(.7,0,.3,1) both; }
@keyframes splash-logo-in {
  from { opacity: 0; transform: translate3d(0,180px,0) scale(.86); }
  to { opacity: 1; transform: translate3d(0,0,0) scale(1); }
}
@keyframes splash-logo-out {
  to { opacity: 0; transform: translate3d(0,120px,0) scale(.72); }
}

.site-header {
  align-items: center;
  background: transparent;
  color: #fff;
  display: flex;
  height: 110px;
  justify-content: space-between;
  left: 0;
  padding: 0 5.15%;
  position: fixed;
  right: 0;
  top: 0;
  transition: background .35s ease, height .35s ease;
  z-index: 100;
}
.site-header--solid { background: rgba(31,31,31,.98); height: 72px; }
.brand {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .3px;
}
.site-header nav { display: flex; gap: 34px; }
.site-header nav a {
  font-family: "Montserrat", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 5px;
  opacity: .55;
  text-transform: uppercase;
  transition: opacity .2s;
}
.site-header nav a:hover, .site-header nav a:focus { opacity: 1; }
.menu-toggle { display: none; }

.hero { background: #101010 url("assets/don-shal-muskoka-poster.jpg") center/cover no-repeat; height: 100vh; min-height: 620px; overflow: hidden; position: relative; }
.hero-video {
  border: 0;
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transform: scale(1.025);
  transition: opacity .8s ease;
  width: 100%;
}
.hero-video--ready { opacity: 1; }
.hero-overlay { background: linear-gradient(to bottom, rgba(0,0,0,.66) 0%, rgba(0,0,0,.08) 23%, transparent 40%), radial-gradient(circle, transparent 20%, rgba(0,0,0,.78) 100%); inset: 0; position: absolute; }
.hero-logo {
  left: 50%;
  max-width: 980px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(76vw, 980px);
}
.scroll-mark { align-items: center; bottom: 8.5%; display: flex; gap: 12px; left: 50%; position: absolute; transform: translateX(-50%); }
.scroll-mark span { background: #fff; display: block; height: 2px; width: 48px; }
.scroll-mark b { color: #fff; font-size: 26px; font-weight: 300; transform: translateY(-5px); }

.studio-intro { background: #1b1b1b; color: #c7c7c7; min-height: 465px; overflow: hidden; padding: 82px 55% 70px 3%; position: relative; }
.studio-copy { max-width: 570px; position: relative; z-index: 2; }
.studio-copy h1 {
  color: #f2f2f2;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  letter-spacing: 15px;
  line-height: 1.25;
  margin: 0 0 35px;
}
.separator { height: auto; margin: 0 auto 34px; width: 85px; }
.studio-copy .separator { margin-left: 0; opacity: .82; }
.studio-copy p { color: #c7c7c7; font-size: 14px; line-height: 1.65; margin: 0 0 10px; }
.studio-mark { filter: brightness(.24); max-height: 600px; opacity: .5; position: absolute; right: 2%; top: -45px; transform: rotate(-8deg); width: 45%; }

.about-section { background: #fff; display: grid; grid-template-columns: 1fr 1fr; min-height: 505px; }
.about-image { background: linear-gradient(90deg, rgba(255,255,255,0) 65%, #fff 100%), url("assets/Don-Shal-Studio-One-Doors.png") center/cover no-repeat; }
.about-copy { align-items: center; display: flex; flex-direction: column; justify-content: center; padding: 70px 11%; text-align: center; }
.about-copy h2, .services-intro h2 {
  color: #5e5e5e;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  letter-spacing: 15px;
  margin: 0 0 35px;
}
.about-copy p { color: #777; font-size: 15px; line-height: 1.7; margin: 0 0 42px; max-width: 520px; }
.outline-button { border-left: 2px solid #333; border-right: 2px solid #333; font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 4px; padding: 13px 46px; }

.portfolio-section { background: #171717; color: #fff; padding-top: 56px; }
.portfolio-heading { border: 8px solid #fff; margin: 0 auto 65px; padding: 26px 50px; width: max-content; }
.portfolio-heading h2, .boxed-title h2 { font-family: "Montserrat", sans-serif; font-size: 30px; letter-spacing: 15px; margin: 0; }
.filters { display: flex; gap: 7px; justify-content: center; margin-bottom: 45px; }
.filters button { background: transparent; border: 0; color: #777; cursor: pointer; font-family: "Montserrat", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 3px; min-width: 100px; padding: 18px 20px; text-transform: uppercase; }
.filters button.active, .filters button:hover { background: #282828; color: #aaa; }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
.portfolio-card { aspect-ratio: 16 / 9; background: #111; border: 0; color: #fff; cursor: pointer; display: block; overflow: hidden; padding: 0; position: relative; text-align: inherit; width: 100%; }
.portfolio-card img { height: 100%; object-fit: cover; transition: transform .5s ease; width: 100%; }
.portfolio-overlay { align-items: center; background: rgba(18,18,18,.88); display: flex; flex-direction: column; inset: 0; justify-content: center; opacity: 0; padding: 22px; position: absolute; text-align: center; transition: opacity .35s; }
.portfolio-overlay small { font-size: 11px; letter-spacing: 3px; margin-bottom: 8px; text-transform: uppercase; }
.portfolio-overlay strong { font-family: "Montserrat", sans-serif; font-size: clamp(14px,1.25vw,20px); letter-spacing: 4px; text-transform: uppercase; }
.portfolio-overlay em { border-bottom: 1px solid #fff; font-size: 9px; font-style: normal; letter-spacing: 3px; margin-top: 16px; padding-bottom: 4px; }
.portfolio-card:hover img { transform: scale(1.04); }
.portfolio-card:hover .portfolio-overlay, .portfolio-card:focus .portfolio-overlay { opacity: 1; }
.stats { background: #1a1a1a; display: grid; grid-template-columns: repeat(4, 1fr); padding: 72px 5%; text-align: center; }
.stats div { border-right: 1px solid #333; display: flex; flex-direction: column; gap: 8px; }
.stats div:last-child { border-right: 0; }
.stats strong { font-family: "Montserrat", sans-serif; font-size: 42px; letter-spacing: 6px; }
.stats span { color: #777; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; }

.clients-section { background: #181818; color: #fff; overflow: hidden; padding: 55px 0 43px; }
.boxed-title { border: 8px solid #333; margin: 0 auto 45px; padding: 25px 48px; width: max-content; }
.boxed-title h2 { color: #383838; }
.clients-section .boxed-title { border-color: #f2f2f2; }
.clients-section .boxed-title h2 { color: #fff; }
.logo-marquee { overflow: hidden; width: 100%; }
.logo-track { align-items: center; animation: marquee 36s linear infinite; display: flex; width: max-content; }
.logo-track img { filter: grayscale(1); height: 130px; margin: 0 56px; object-fit: contain; opacity: .9; width: 190px; }
.clients-section .separator { margin-bottom: 0; margin-top: 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.services-section { background: #fff; }
.services-lead { display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; }
.services-image { align-items: center; display: flex; justify-content: center; overflow: hidden; position: relative; }
.services-image::before { background: linear-gradient(rgba(255,255,255,.12), rgba(255,255,255,.12)), url("assets/Don-Shal-Toronto-Skyline-Services.jpg") center/cover no-repeat; content: ""; filter: grayscale(1) contrast(1.08); inset: 0; position: absolute; transform: scale(1.01); }
.service-box-title { border: 8px solid #111; color: #111; font-family: "Montserrat", sans-serif; font-size: 30px; font-weight: 700; letter-spacing: 15px; padding: 28px 52px; position: relative; z-index: 1; }
.services-intro { align-items: center; display: flex; flex-direction: column; justify-content: center; padding: 60px; text-align: center; }
.services-intro h2 { font-size: 20px; letter-spacing: 10px; }
.services-intro p { color: #777; font-size: 14px; }
.service-row { display: grid; grid-template-columns: 1fr 1fr; min-height: 400px; }
.service-row--reverse .service-copy { order: 2; }
.service-row--reverse .service-icon { order: 1; }
.service-copy { align-items: center; background: #fff; display: flex; flex-direction: column; justify-content: center; padding: 65px 8%; text-align: center; }
.service-copy h3 { font-family: "Montserrat", sans-serif; font-size: 20px; letter-spacing: 10px; margin: 0 0 28px; }
.service-copy p { color: #666; font-size: 14px; line-height: 1.65; margin: 0; max-width: 620px; }
.service-icon { align-items: center; background: #222; color: #5d5d5d; display: flex; font-family: Arial, sans-serif; font-size: 108px; font-weight: 700; justify-content: center; }
.camera-icon { font-size: 0; }
.photo-camera-symbol { background: #5d5d5d; border-radius: 12px; display: block; height: 94px; position: relative; transform: translateY(8px); width: 148px; }
.photo-camera-symbol::before { background: #5d5d5d; border-radius: 7px 7px 0 0; content: ""; height: 24px; left: 20px; position: absolute; top: -20px; width: 55px; }
.photo-camera-symbol::after { background: #222; border-radius: 50%; content: ""; height: 10px; position: absolute; right: 18px; top: 15px; width: 10px; }
.camera-lens { background: #5d5d5d; border: 12px solid #222; border-radius: 50%; height: 58px; left: 50%; position: absolute; top: 50%; transform: translate(-50%,-50%); width: 58px; }
.play-icon { font-size: 0; }
.play-symbol { border-bottom: 48px solid transparent; border-left: 78px solid #5d5d5d; border-top: 48px solid transparent; display: block; height: 0; transform: translateX(8px); width: 0; }

[data-reveal] { opacity: 0; transform: translate3d(0,46px,0); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.7,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translate3d(0,0,0); }

.contact-section { align-items: center; background: #f7f7f5; color: #373737; display: flex; flex-direction: column; min-height: 720px; overflow: hidden; padding: 110px 5% 75px; position: relative; text-align: center; }
.contact-section::before { content: none; }
.boxed-title--dark { border-color: #444; margin-bottom: 48px; position: relative; z-index: 1; }
.boxed-title--dark h2 { color: #3b3b3b; }
.contact-section > .separator { position: relative; z-index: 1; }
.contact-lead { color: #444; font-size: 15px; font-weight: 700; margin: 15px 0 55px; position: relative; z-index: 1; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 960px; position: relative; width: 100%; z-index: 1; }
.contact-grid > * { align-items: flex-start; color: #4c4c4c; display: flex; font-size: 13px; gap: 12px; justify-content: center; line-height: 1.8; padding: 0 10px; }
.contact-grid b { font-size: 18px; }
.contact-grid address { font-style: normal; text-align: left; }
.socials { display: flex; margin-top: 55px; position: relative; z-index: 1; }
.socials a { align-items: center; background: #080808; border-right: 1px solid #333; color: #fff; display: flex; font-family: "Montserrat", sans-serif; font-size: 16px; height: 50px; justify-content: center; width: 52px; }
.socials a:hover { background: #3b3b3b; }
.youtube-play-symbol { border-bottom: 6px solid transparent; border-left: 10px solid currentColor; border-top: 6px solid transparent; display: block; height: 0; transform: translateX(1px); width: 0; }
.instagram-icon { border: 2px solid currentColor; border-radius: 5px; display: block; height: 18px; position: relative; width: 18px; }
.instagram-icon::before { border: 2px solid currentColor; border-radius: 50%; content: ""; height: 6px; left: 50%; position: absolute; top: 50%; transform: translate(-50%,-50%); width: 6px; }
.instagram-icon::after { background: currentColor; border-radius: 50%; content: ""; height: 3px; position: absolute; right: 2px; top: 2px; width: 3px; }

.footer-mark { align-items: center; background: #101010; display: flex; justify-content: center; min-height: 470px; }
.footer-mark img { height: 300px; object-fit: contain; width: 224px; }
footer { align-items: center; background: #090909; color: #777; display: flex; flex-direction: column; min-height: 260px; padding: 48px 20px 32px; text-align: center; }
.back-to-top { color: #fff; display: flex; flex-direction: column; font-family: "Montserrat", sans-serif; font-size: 14px; font-weight: 700; gap: 7px; letter-spacing: 4px; }
.footer-socials { display: flex; gap: 24px; margin: 25px 0; }
.footer-socials a { align-items: center; display: flex; font-family: "Montserrat", sans-serif; font-weight: 700; }
footer p { font-size: 12px; font-weight: 600; }

.project-lightbox { align-items: center; animation: lightbox-in .22s ease both; background: rgba(8,8,8,.94); display: flex; inset: 0; justify-content: center; padding: 34px; position: fixed; z-index: 500; }
.project-lightbox[hidden] { display: none; }
.project-modal { background: #fff; box-shadow: 0 30px 90px rgba(0,0,0,.55); display: grid; grid-template-columns: minmax(0,1.55fr) minmax(330px,.75fr); max-height: calc(100vh - 68px); max-width: 1280px; overflow: auto; position: relative; width: 100%; }
.project-modal-body { display: contents; }
.project-close { align-items: center; background: #1d1d1d; border: 0; color: #fff; cursor: pointer; display: flex; font-size: 34px; height: 52px; justify-content: center; line-height: 1; position: absolute; right: 0; top: 0; width: 52px; z-index: 3; }
.project-close:hover, .project-close:focus { background: #555; }
.project-media { align-items: center; background: #111; display: flex; justify-content: center; min-height: 520px; overflow: hidden; }
.project-media iframe { aspect-ratio: 16 / 9; border: 0; height: auto; width: 100%; }
.project-media img { height: 100%; max-height: calc(100vh - 68px); object-fit: contain; width: 100%; }
.project-info { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 72px 52px 42px; }
.project-category { color: #999; font-family: "Montserrat", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 4px; margin: 0 0 14px; text-transform: uppercase; }
.project-info h2 { color: #222; font-family: "Montserrat", sans-serif; font-size: clamp(24px,2.2vw,38px); letter-spacing: 4px; line-height: 1.15; margin: 0 0 28px; text-transform: uppercase; }
.project-info .separator { margin-left: 0; width: 85px; }
.project-info ul { color: #666; font-size: 14px; line-height: 1.6; list-style: none; margin: 0 0 28px; padding: 0; }
.project-info li { border-bottom: 1px solid #eee; padding: 10px 0; }
.project-info li::before { color: #222; content: "•"; margin-right: 10px; }
.project-external { border-left: 2px solid #222; border-right: 2px solid #222; font-family: "Montserrat", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; margin-bottom: 28px; padding: 12px 18px; text-align: center; }
.project-navigation { align-items: center; border-top: 1px solid #ddd; display: flex; justify-content: space-between; margin-top: auto; padding-top: 26px; }
.project-navigation button { background: transparent; border: 0; color: #333; cursor: pointer; font-family: "Montserrat", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 2px; padding: 8px 0; }
.project-navigation span { color: #aaa; font-size: 11px; letter-spacing: 2px; }
@keyframes lightbox-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1000px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .site-header nav { gap: 20px; }
  .site-header nav a { letter-spacing: 3px; }
  .studio-intro { padding-right: 45%; }
  .studio-mark { width: 48%; }
  .about-copy h2, .services-intro h2 { letter-spacing: 10px; }
  .service-box-title { font-size: 24px; letter-spacing: 10px; padding: 25px 34px; }
}

@media (max-width: 760px) {
  .site-header, .site-header--solid { background: #1e1e1e; height: 72px; padding: 0 24px; }
  .menu-toggle { background: transparent; border: 0; cursor: pointer; display: flex; flex-direction: column; gap: 5px; padding: 10px; }
  .menu-toggle span { background: #fff; height: 2px; width: 25px; }
  .site-header nav { background: #1e1e1e; display: none; flex-direction: column; gap: 0; left: 0; padding: 10px 24px 24px; position: absolute; right: 0; top: 72px; }
  .site-header nav.nav-open { display: flex; }
  .site-header nav a { border-top: 1px solid #333; padding: 17px 0; }
  .hero { height: 78vh; min-height: 520px; }
  .hero-logo { width: 90vw; }
  .scroll-mark { bottom: 7%; }
  .studio-intro { min-height: 560px; padding: 80px 30px; text-align: center; }
  .studio-copy { margin: auto; }
  .studio-copy h1 { font-size: 23px; letter-spacing: 9px; }
  .studio-copy .separator { margin-left: auto; }
  .studio-mark { opacity: .15; right: -20%; top: 0; width: 85%; }
  .about-section, .services-lead, .service-row { grid-template-columns: 1fr; }
  .about-image { min-height: 390px; }
  .about-copy { min-height: 470px; padding: 70px 24px; }
  .about-copy h2 { font-size: 24px; letter-spacing: 9px; }
  .portfolio-heading, .boxed-title { border-width: 6px; padding: 20px 28px; }
  .portfolio-heading h2, .boxed-title h2 { font-size: 22px; letter-spacing: 9px; }
  .filters { flex-wrap: wrap; padding: 0 20px; }
  .filters button { min-width: 90px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-overlay strong { font-size: 13px; letter-spacing: 2px; }
  .stats { grid-template-columns: repeat(2, 1fr); padding: 30px 15px; row-gap: 40px; }
  .stats div:nth-child(2) { border-right: 0; }
  .stats strong { font-size: 30px; }
  .logo-track img { height: 100px; margin: 0 28px; width: 145px; }
  .services-image { min-height: 360px; }
  .services-intro { min-height: 340px; padding: 55px 24px; }
  .service-row { min-height: 0; }
  .service-copy { min-height: 390px; order: 1 !important; padding: 60px 28px; }
  .service-icon { min-height: 300px; order: 2 !important; }
  .contact-section { min-height: 900px; padding: 90px 24px 60px; }
  .contact-grid { gap: 30px; grid-template-columns: 1fr 1fr; }
  .contact-lead { margin-bottom: 45px; }
  .footer-mark { min-height: 410px; }
  .project-lightbox { align-items: flex-start; padding: 18px; }
  .project-modal { display: block; max-height: calc(100vh - 36px); }
  .project-media { min-height: 0; }
  .project-media img { aspect-ratio: 16/9; height: auto; object-fit: cover; }
  .project-info { padding: 42px 28px 28px; }
  .project-info h2 { font-size: 25px; letter-spacing: 3px; padding-right: 20px; }
}

@media (max-width: 480px) {
  .hero { height: 72vh; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card { aspect-ratio: 16/9; }
  .stats { grid-template-columns: 1fr; }
  .stats div { border-bottom: 1px solid #333; border-right: 0; padding-bottom: 30px; }
  .stats div:last-child { border-bottom: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > * { justify-content: flex-start; text-align: left; }
  .service-box-title { font-size: 21px; letter-spacing: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-track { animation: none; }
  .hero-video { transition: none; }
  .site-splash { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
