/* Cassius + Q — rebuilt from the Wix site (Oct 2026). Desktop layout matches the Wix page at 1440px:
   a 980px column whose left edge sits at 230px. */
:root {
  --ink: #313131;
  --black: #000;
  --grey-text: #dddcda;
  --nav-bg: rgba(221, 220, 218, .45);
  --content-bg: #f0f0f0;
  --sidebar-bg: #dddcda;
  --reel-dark: #616161;
  --reel-light: #fafafa;
  --footer-bg: #adadad;
  --logo: #4a5779;
  --thin: 300;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: Roboto, Arial, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
.wrap { width: 980px; max-width: calc(100% - 32px); margin: 0 auto; position: relative; }

/* ---------- top menu ---------- */
.nav {
  position: absolute; top: 12px; left: 50%; margin-left: -487px; z-index: 20;
  display: flex; height: 40px; background: var(--nav-bg);
  font-size: 17px; line-height: 40px;
}
.nav > a, .nav > .drop > button {
  display: block; padding: 0 15px; color: var(--grey-text); text-decoration: none;
  font: inherit; background: none; border: 0; cursor: pointer;
}
.nav > a:hover, .nav > .drop > button:hover, .nav > .drop:focus-within > button { color: #fff; }
.drop { position: relative; }
.drop ul {
  list-style: none; margin: 0; padding: 0; position: absolute; top: 47px; left: -6px; min-width: 116px;
  background: var(--nav-bg); display: none;
}
.drop:hover ul, .drop.open ul, .drop:focus-within ul { display: block; }
.drop ul a { display: block; padding: 0 8px; line-height: 33px; font-size: 17px; color: var(--grey-text); text-decoration: none; white-space: nowrap; }
.drop ul a:hover, .drop ul a:focus { color: #fff; }
/* On the white home page the light-grey menu was nearly invisible; give it darker text there. */
.home .nav { background: #f4f4f4; }
.home .nav > a, .home .nav > .drop > button, .home .drop ul a { color: #9b9b9b; }
.home .drop ul { background: #f4f4f4; }
.home .nav > a:hover, .home .nav > .drop > button:hover, .home .drop ul a:hover { color: var(--ink); }

/* ---------- home ---------- */
.home-head { padding-top: 72px; text-align: center; }
.logo { width: 520px; max-width: 100%; height: auto; margin: 0 auto; color: var(--logo); }
.tagline {
  margin-top: 10px; font-family: "American Typewriter", Cutive, "Courier New", serif;
  font-size: 15px; line-height: 20px; color: #000; font-weight: 400;
}
.intro {
  width: 520px; max-width: 100%; margin: 41px auto 0; text-align: center;
  font-family: Montserrat, Arial, sans-serif; font-size: 17px; line-height: 22.1px; color: var(--ink);
}
.intro p + p { margin-top: 22.1px; }
.duo { display: grid; grid-template-columns: 418px 418px; justify-content: space-between; width: 902px; max-width: 100%; margin: 39px auto 0; }
.portrait { border: 5px solid #0a0a0a; border-radius: 6px; overflow: hidden; aspect-ratio: 1; background: #0a0a0a; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio { margin-top: 16px; font-size: 16px; line-height: 28.8px; font-weight: var(--thin); color: var(--ink); letter-spacing: -.012em; }
.bio b { font-weight: 700; }
.projects { background: var(--reel-light); margin-top: 58px; padding: 41px 0 68px; }
.section-title { margin: 0; text-align: center; font-weight: 100; font-size: 45px; line-height: 54px; color: var(--ink); }
.cards { display: grid; grid-template-columns: 418px 418px; justify-content: space-between; row-gap: 60px; width: 902px; max-width: 100%; margin: 29px auto 0; }
.card { display: block; position: relative; aspect-ratio: 418 / 235; transition: transform .35s ease; z-index: 1; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
.card .title-img, .card .card-logo { opacity: 0; }
.card .card-logo { inset: auto; left: 39.7%; top: 11%; width: 43%; height: auto; object-fit: contain; }
.card:hover, .card:focus-visible { transform: translateY(-10px) scale(1.16); z-index: 2; }
.card:hover .title-img, .card:focus-visible .title-img, .card:hover .card-logo, .card:focus-visible .card-logo { opacity: 1; }
.card:focus-visible { outline: 2px solid var(--logo); outline-offset: 4px; }
.card-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- footer ---------- */
.footer { padding: 40px 0 72px; font-size: 16px; font-weight: var(--thin); color: var(--ink); line-height: 19px; letter-spacing: .06em; }
.home .footer { padding-bottom: 103px; }
.project-page .footer { background: var(--footer-bg); }
.footer .wrap { display: flex; justify-content: space-between; padding: 0 35px; }
.footer b { font-weight: 400; }
.footer .right { text-align: right; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }

/* ---------- project pages ---------- */
.hero { position: relative; height: 582px; overflow: hidden; background: #111; }
.hero .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero .slide.on { opacity: 1; }
.hero .overlay { position: absolute; left: 50%; transform: translateX(-50%); height: auto; pointer-events: none; }
.detail { background: var(--content-bg); }
.detail .wrap { display: grid; grid-template-columns: 270px 611px; column-gap: 58px; align-items: start; padding-bottom: 37px; }
.sidebar { background: var(--sidebar-bg); padding: 20px 13px 19px; color: #000; }
.prevnext { display: flex; justify-content: space-between; font-size: 19px; font-style: italic; }
.prevnext a { color: #000; }
.sidebar h1 { margin: 19px 0 0; text-align: center; font-size: 25px; font-weight: 700; }
.details-head { display: flex; align-items: center; gap: 9px; margin: 26px 0 0 23px; }
.details-head .i { font-family: "Abril Fatface", "Bodoni 72", Didot, serif; font-size: 33px; line-height: 42.9px; }
.details-head h2, .docs h2 { margin: 0; font-size: 21px; line-height: 32px; font-weight: var(--thin); color: #111; }
.sidebar ul { margin: 20px 0 0 23px; padding: 0 0 0 20px; font-size: 18px; line-height: 32px; letter-spacing: .04em; }
.sidebar hr { border: 0; border-top: 3px solid #424242; width: 209px; margin: 13px auto 0; }
.docs { text-align: center; margin-top: 35px; }
.docs h2 { text-decoration: underline; text-underline-offset: 3px; }
.docs .pdf { display: block; width: 45px; margin: 13px auto 0; color: #4c5e65; }
.docs .pdf svg { width: 45px; height: 63px; display: block; }
.docs .pdf:hover { color: #000; }
.docs .soon { margin-top: 12px; font-size: 21px; font-style: italic; font-weight: 400; color: #313131; }
.synopsis { padding-top: 27px; font-size: 17px; line-height: 20px; font-weight: var(--thin); color: #000; letter-spacing: .022em; }
.synopsis.loose { line-height: 22.1px; }
.synopsis.loose p + p { margin-top: 22.1px; }
.animus .synopsis .logline { line-height: 20.8px; }
.willimax .synopsis { padding-bottom: 0; }
.animus .detail .wrap { padding-bottom: 27px; }
.project-page .footer { padding-bottom: 59px; }
@media (min-width: 1001px) {
.animus .detail .wrap { grid-template-columns: 270px 626px; column-gap: 44px; }
.willimax .detail .wrap { grid-template-columns: 270px 626px; column-gap: 38px; }
.insolar .detail .wrap { grid-template-columns: 270px 626px; column-gap: 34px; }
}
.synopsis p + p { margin-top: 1.15em; }
.synopsis .logline { font-style: italic; font-weight: 400; letter-spacing: .02em; }
.synopsis em { font-style: italic; }
.synopsis .justify { text-align: justify; }
.synopsis .caps { font-weight: 400; font-style: normal; }
.reel { padding: 26px 0 93px; }
.reel.dark { background: var(--reel-dark); }
.reel.light { background: var(--reel-light); }
.reel h2 { margin: 0; text-align: center; font-weight: 100; font-size: 45px; line-height: 54px; color: #e2e2e2; }
.reel.light h2 { color: var(--ink); }
.reel .frame { width: 977px; max-width: 100%; margin: 33px auto 0; aspect-ratio: 977 / 406; background: #000; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.reel .frame iframe, .reel .frame video { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.reel .frame { position: relative; }
.reel .frame video { object-fit: cover; }
.reel .play {
  position: absolute; left: 50%; top: 50%; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%;
  border: 2px solid rgba(214,222,232,.8); background: transparent; cursor: pointer; transition: background .2s, transform .2s;
}
.reel .play::after {
  content: ""; position: absolute; left: 40px; top: 33px; width: 30px; height: 34px;
  background: rgba(214,222,232,.85); clip-path: polygon(0 0, 100% 50%, 0 100%, 0 0, 2px 4px, 2px calc(100% - 4px), calc(100% - 4px) 50%, 2px 4px);
}
.reel .play:hover, .reel .play:focus-visible { background: rgba(0,0,0,.18); transform: scale(1.05); }
@media (max-width: 600px) { .reel .play { transform: scale(.7); } .reel .play:hover { transform: scale(.74); } }
.reel .frame.playing .play { display: none; }
.reel .still { position: relative; overflow: hidden; }
.reel .still img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.reel.light .frame { box-shadow: none; }
.willimax .reel { padding: 41px 0 88px; }
.willimax .reel .frame { margin-top: 55px; width: 978px; aspect-ratio: 978 / 416; }
.animus .reel { padding: 45px 0 65px; }
.animus .reel .frame { width: 981px; aspect-ratio: 981 / 419; }
.insolar .hero .slide { height: 154.6%; object-position: 50% 0; }
.reel .still span {
  position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255,255,255,.85);
  font-size: 15px; letter-spacing: .3em; font-weight: 400; text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.after-reel { height: 102px; background: var(--content-bg); }
.insolar .detail { min-height: 1271px; }
.insolar .footer { background: #8d8d8d; }

/* ---------- contact popup ---------- */
dialog.contact {
  width: 466px; max-width: calc(100% - 24px); padding: 40px 20px 20px; border: 0; border-radius: 0;
  background: rgba(255,255,255,.55); color: var(--ink); text-align: center;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
dialog.contact::backdrop { background: rgba(0,0,0,.72); }
.contact .close { position: absolute; top: 12px; right: 12px; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; padding: 6px; color: #222; }
.contact .close svg { width: 100%; height: 100%; }
.contact .plogo { width: 410px; max-width: 100%; margin: 46px auto 0; color: #111; }
.contact h2 { margin: 18px 0 0; font-size: 17px; font-weight: 400; letter-spacing: .12em; }
.contact .lines { margin-top: 15px; font-size: 17px; line-height: 20px; }
.contact .lines a { text-decoration: none; }
.contact form { display: grid; grid-template-columns: 187px 166px; justify-content: center; column-gap: 4px; margin-top: 34px; text-align: left; }
.contact input, .contact textarea {
  font: 14px/1.3 Roboto, Arial, sans-serif; font-weight: 300; color: #000; background: transparent;
  border: 1px solid #000; padding: 6px 10px; width: 100%;
}
.contact .fields { display: grid; gap: 5px; align-content: start; }
.contact textarea { height: 131px; resize: vertical; }
.contact input::placeholder, .contact textarea::placeholder { color: #222; }
.contact button[type=submit] {
  grid-column: 2; justify-self: end; margin-top: 14px; width: 95px; height: 31px; border: 0; cursor: pointer;
  background: #454545; color: #c8c8c8; font: 14px Roboto, Arial, sans-serif; font-weight: 300;
}
.contact button[type=submit]:hover { background: #2e2e2e; color: #fff; }
.contact .note { margin-top: 10px; font-size: 12px; color: #222; }
.contact .addr { margin-top: 26px; font-size: 12px; font-weight: var(--thin); color: #000; }

/* ---------- documents popups (same look as the Wix ones) ---------- */
.docs .link { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.docs .pdf { background: none; border: 0; padding: 0; cursor: pointer; }
dialog.docs-dlg {
  width: 466px; max-width: calc(100% - 24px); min-height: min(641px, calc(100vh - 24px)); padding: 60px 40px 22px; border: 0; border-radius: 0;
  background: #fff; color: #3a3a3a; text-align: center; flex-direction: column;
}
dialog.docs-dlg[open] { display: flex; }
.docs-dlg .addr { margin-top: auto !important; padding-top: 32px; }
dialog.docs-dlg::backdrop { background: rgba(0,0,0,.81); }
.docs-dlg .close { position: absolute; top: 12px; right: 20px; width: 42px; height: 42px; background: none; border: 0; cursor: pointer; padding: 6px; color: #000; }
.docs-dlg .close svg { width: 100%; height: 100%; }
.docs-dlg .plogo { width: 400px; max-width: 100%; margin: 0 auto; color: #000; }
.docs-dlg h2 { margin: 16px 0 0; font-size: 17px; font-weight: 700; letter-spacing: .1em; color: #313131; }
.docs-dlg .terms {
  margin: 14px auto 0; width: 336px; max-width: 100%; padding: 9px 17px; background: var(--sidebar-bg);
  font-size: 14px; line-height: 18px; font-weight: var(--thin); text-align: justify; letter-spacing: .03em;
}
.docs-dlg .terms a { text-decoration: underline; }
.doclist { list-style: none; margin: 16px auto 14px; padding: 14px 24px 12px; width: 256px; max-width: 100%; background: var(--sidebar-bg); text-align: left; }
.doclist a { display: flex; align-items: center; gap: 12px; padding: 4px 0; text-decoration: none; color: #3a3a3a; }
.doclist .doc-icon { display: flex; flex-direction: column; align-items: center; width: 36px; flex: none; color: #8a8a8a; }
.doclist .doc-icon svg { width: 36px; height: 48px; }
.doclist .doc-icon small { font-size: 9px; color: #8a8a8a; margin-top: -2px; }
.doclist .doc-name { font-size: 17px; font-weight: var(--thin); text-decoration: underline; text-underline-offset: 3px; letter-spacing: .04em; }
.doclist a:hover .doc-name { color: var(--logo); }
.docs-dlg .addr { margin-top: 32px; font-size: 12px; font-weight: var(--thin); }

/* ---------- phones and narrow windows ---------- */
@media (max-width: 1000px) {
  .nav { left: 12px; margin-left: 0; }
  .duo, .cards { grid-template-columns: minmax(0, 418px); justify-content: center; row-gap: 32px; }
  .intro, .duo, .cards { width: auto; margin-left: 16px; margin-right: 16px; }
  .willimax .overlay { top: 34% !important; }
  .home-head { padding-top: 76px; }
  .logo { width: min(520px, 86vw); }
  .bio { margin-bottom: 8px; }
  .hero { height: clamp(230px, 46vw, 582px); }
  .detail .wrap { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .sidebar { max-width: 420px; width: 100%; justify-self: center; }
  .synopsis { padding-top: 16px; }
  .reel h2 { font-size: 30px; line-height: 38px; padding: 0 12px; }
  .reel { padding-bottom: 48px; }
  .insolar .detail { min-height: 0; padding-bottom: 60px; }
  .footer .wrap { padding: 0; flex-direction: column; gap: 22px; }
  .footer .right { text-align: left; }
  .after-reel { height: 40px; }
}
@media (max-width: 480px) {
  .nav { font-size: 15px; }
  .nav > a, .nav > .drop > button { padding: 0 11px; }
  .intro { font-size: 16px; }
  .contact form { grid-template-columns: minmax(0, 1fr); row-gap: 6px; }
  .contact button[type=submit] { grid-column: 1; }
  .contact .plogo { margin-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
