/* julieloomer.com static build */

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Forum"; src: url("../fonts/forum-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/cinzel-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/jost-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --pink: #fff0ec;
  --slate: #556b8d;
  --navy: #282936;
  --steel: #b4c8dc;
  --white: #ffffff;
  --sans: "Avenir", "Avenir LT Std", "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --display: "Forum", Georgia, serif;
  --caps: "Cinzel", "Forum", Georgia, serif;
  --geo: "Futura", "Futura PT", "Jost", "Century Gothic", sans-serif;
  --header-h: 73px;
  --gutter: 90px;
  --wrap: 1280px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pink);
  color: var(--slate);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 19px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; }
strong, b { font-weight: 800; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--white); color: var(--navy); padding: 10px 18px; border-radius: 24px; font-size: 14px;
}
.skip:focus { left: 12px; }

.h-heavy {
  font-family: var(--sans); font-weight: 800; font-size: 42px; line-height: 1.2;
  letter-spacing: -0.03em; color: var(--slate);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 160px; height: 40px; padding: 0 22px;
  background: var(--navy); color: var(--white);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1;
  text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { background: var(--slate); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--white);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
  background: rgba(180, 200, 220, .88);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(40, 41, 54, .22);
}
.site-header .bar {
  height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 79px;
}
.brand { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; justify-self: start; }
.brand img { width: 53px; height: 53px; border-radius: 50%; }
.brand span {
  font-family: var(--display); font-size: 31px; line-height: 1.3; letter-spacing: -0.03em; color: var(--slate);
  white-space: nowrap;
}
.menu-toggle {
  width: 54px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.menu-toggle span { display: block; width: 34px; height: 2px; background: var(--navy); transition: transform .3s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--white); border-top: 1px solid rgba(40, 41, 54, .12);
  box-shadow: 0 14px 24px rgba(40, 41, 54, .18);
  padding: 22px 0 28px;
}
.menu[hidden] { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu a {
  display: inline-block; padding: 8px 20px; text-decoration: none;
  font-family: var(--display); font-size: 26px; letter-spacing: -0.03em; color: var(--slate);
}
.menu a:hover { color: var(--navy); }

/* Shimmer strip (CSS replacement for the Wix stock video strip) */
.shimmer {
  height: 11px;
  background: linear-gradient(100deg, #1b2a4a, #2f5d8a, #7fd0d6, #3b3f8f, #c9a25a, #24365f, #5fa9c9, #1b2a4a, #2f5d8a, #7fd0d6, #3b3f8f);
  background-size: 300% 100%;
  animation: shimmer 16s linear infinite;
}
.shimmer.tall { height: 20px; }
@keyframes shimmer { from { background-position: 0 0; } to { background-position: 150% 0; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--navy); color: var(--white);
  min-height: clamp(620px, 83vw, 1050px);
  display: flex; align-items: flex-end;
}
.hero > picture, .hero > picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero > picture img { object-fit: cover; object-position: 50% 50%; }
.hero .inner { position: relative; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 37px; }
.hero h1 {
  font-size: 84px; line-height: 1; letter-spacing: -0.035em; color: var(--white);
  max-width: 890px; margin-bottom: 26px; padding-bottom: 6px;
}
.welcome {
  max-width: 890px; background: rgba(255, 255, 255, .52);
  padding: 22px 40px 38px 26px;
  display: grid; grid-template-columns: minmax(0, 617px) auto; column-gap: 46px; align-items: start;
}
.welcome h2 {
  grid-column: 1 / -1; font-family: var(--caps); font-weight: 400; font-size: 31px; line-height: 1.3;
  letter-spacing: -0.03em; color: var(--white); margin-bottom: 11px;
}
.welcome p { color: var(--white); }
.welcome .btn { margin-top: 25px; }

/* ---------- About ---------- */
.about-head { padding-top: 33px; }
.about-head .row {
  display: grid; grid-template-columns: 296px 1fr auto; align-items: end; column-gap: 0;
}
.about-head .tagline { font-family: var(--sans); font-weight: 300; font-size: 19px; line-height: 1.5; letter-spacing: 0; color: var(--navy); padding-bottom: 7px; }
.about-head .btn { margin-bottom: 2px; }
.rule { height: 2px; background: var(--navy); margin: 30px 0 0 calc(-1 * var(--gutter)); width: 0; transition: width 1.2s ease; }
.rule.is-in { width: 307px; }
.about-head .lead { max-width: 890px; margin-top: 22px; padding-bottom: 46px; }

.split { display: grid; grid-template-columns: 1fr 1fr; }
.split + .split { margin-top: 38px; }
.split .media { position: relative; min-height: 459px; background: var(--navy); overflow: hidden; }
.split .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split .media figcaption {
  position: absolute; right: 0; bottom: 14px; width: 222px;
  font-family: var(--geo); font-weight: 700; font-size: 11px; line-height: 1.3; letter-spacing: .03em; color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
}
.split figure { margin: 0; }
.split .copy { padding: 23px 40px 40px 86px; }
.split .copy h3 { max-width: 345px; margin-bottom: 27px; }
.split .copy p { max-width: 390px; }
.split.flip .copy { padding: 30px 40px 40px 81px; }
.split.flip .copy h3 { max-width: 401px; margin-bottom: 16px; }
.split.flip .copy p { max-width: 401px; }

/* ---------- Selected work ---------- */
.work-head { background: var(--steel); padding: 37px 0 38px; }
.work-head .inner { max-width: var(--wrap); margin: 0 auto; padding: 0 142px; }
.work-head h2 { padding-left: 27px; margin-bottom: 18px; }
.work-head p { max-width: 890px; }
.work { background: var(--white); padding: 61px 64px 32px; }
.work-grid {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1137px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 49px 24px;
}
.card { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: var(--navy); cursor: pointer; text-decoration: none; font: inherit; }
.card .thumb { position: relative; aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .thumb img { transform: scale(1.03); }
.card .play {
  position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; color: var(--white);
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .5)); transition: transform .25s ease;
}
.card:hover .play { transform: scale(1.12); }
.card .dur {
  position: absolute; left: 12px; bottom: 10px; font-family: var(--geo); font-size: 13px; line-height: 1; color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7);
}
.card .meta { display: block; padding: 24px 20px 0; }
.card .title, .card .desc {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  font-family: var(--geo); color: var(--navy);
}
.card .title { font-weight: 700; font-size: 18px; line-height: 22px; letter-spacing: 0; }
.card .desc { font-weight: 400; font-size: 14px; line-height: 17px; margin-top: 9px; }

/* ---------- Credentials ---------- */
.creds { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); }
.creds .copy { padding: 43px 40px 32px 127px; }
.creds h2 { margin-bottom: 16px; }
.creds .list { max-width: 401px; }
.creds .list p + p { margin-top: 28px; }
.creds blockquote {
  margin: 47px 0 0; max-width: 304px;
  font-family: var(--sans); font-weight: 800; font-style: italic; font-size: 16px; line-height: 1.3; color: var(--navy);
}
.creds .media { position: relative; min-height: 882px; background: var(--pink); }
.creds .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--steel); }
.site-footer .cols {
  max-width: var(--wrap); margin: 0 auto; padding: 69px 90px 39px 95px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 441px); column-gap: 60px; align-items: start;
}
.f-brand { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; }
.f-brand img { width: 53px; height: 53px; border-radius: 50%; }
.f-brand span { font-family: var(--display); font-size: 42px; line-height: 1.2; letter-spacing: -0.04em; color: var(--slate); }
.f-contact { margin: 8px 0 0 9px; max-width: 253px; }
.f-contact a { text-decoration: none; }
.f-contact a:hover { text-decoration: underline; }
.f-contact .cta { margin-top: 66px; }
.signup h2 { font-family: var(--display); font-weight: 400; font-size: 31px; line-height: 1.3; letter-spacing: -0.03em; color: var(--slate); margin: 5px 0 27px; }
.signup label { display: block; color: var(--navy); }
.signup input[type="email"] {
  display: block; width: 100%; height: 47px; margin-top: 8px; padding: 0 14px;
  background: transparent; border: 1px solid var(--navy); border-radius: 0;
  font-family: var(--sans); font-weight: 300; font-size: 16px; color: var(--navy);
}
.signup input[type="email"]::placeholder { color: rgba(40, 41, 54, .6); }
.signup .check { display: flex; align-items: flex-start; gap: 12px; margin-top: 23px; cursor: pointer; }
.signup .check input { appearance: none; -webkit-appearance: none; flex: none; width: 16px; height: 16px; margin: 7px 0 0; border: 1px solid var(--navy); background: transparent; cursor: pointer; }
.signup .check input:checked { background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E") center / 14px no-repeat; }
.signup .btn { width: 100%; height: 43px; margin-top: 24px; }
.signup .note { margin-top: 12px; font-size: 14px; line-height: 1.4; color: var(--navy); min-height: 1.4em; }
.f-bottom {
  max-width: var(--wrap); margin: 0 auto; padding: 6px 90px 11px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
}
.f-bottom .copyright { font-size: 16px; line-height: 1.3; color: var(--navy); }
.f-bottom a { font-size: 12px; line-height: 1.5; text-decoration: none; margin-right: 12%; }
.f-bottom a:hover { text-decoration: underline; }

/* ---------- Video lightbox ---------- */
.lightbox {
  width: min(1000px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0;
  background: var(--navy); color: var(--white); overflow: auto;
}
.lightbox::backdrop { background: rgba(20, 21, 30, .86); }
.lightbox .frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.lightbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lightbox .info { padding: 20px 24px 26px; }
.lightbox h2 { font-family: var(--geo); font-weight: 700; font-size: 20px; line-height: 1.25; margin: 0 44px 10px 0; }
.lightbox p { font-family: var(--geo); font-weight: 400; font-size: 15px; line-height: 1.45; white-space: pre-line; color: rgba(255, 255, 255, .86); }
.lightbox .yt { display: inline-block; margin-top: 14px; font-family: var(--geo); font-size: 14px; color: var(--steel); }
.lightbox .close {
  position: absolute; right: 10px; top: 10px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(40, 41, 54, .8); color: var(--white); font-size: 24px; line-height: 1; cursor: pointer;
}
.lightbox .close:hover { background: var(--slate); }

/* ---------- Privacy page ---------- */
.policy { max-width: 980px; margin: 0 auto; padding: 60px 90px 90px; }
.policy h1 { font-family: var(--display); font-weight: 400; font-size: 42px; line-height: 1.2; letter-spacing: -0.04em; color: var(--slate); margin-bottom: 10px; }
.policy h2 { font-family: var(--sans); font-weight: 800; font-size: 19px; line-height: 1.5; color: var(--slate); margin: 28px 0 0; }
.policy p + p { margin-top: 14px; }
.policy a { text-underline-offset: 3px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
.no-js .rule { width: 307px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 48px; }
  .site-header .bar { padding: 0 32px; }
  .work-head .inner { padding: 0 var(--gutter); }
  .work-head h2 { padding-left: 0; }
  .work { padding: 48px 32px 32px; }
  .split .copy, .split.flip .copy { padding: 28px 32px 40px 48px; }
  .creds .copy { padding: 43px 32px 32px 48px; }
  .site-footer .cols { padding: 56px 48px 36px; }
  .f-bottom { padding: 6px 48px 11px; }
  .policy { padding: 48px 48px 72px; }
  .hero h1 { font-size: 68px; }
}
@media (max-width: 860px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-head .row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .about-head .row h2 { grid-column: 1 / -1; }
  .split, .creds { grid-template-columns: 1fr; }
  .split .media { min-height: 0; aspect-ratio: 4 / 3; }
  .split.flip .media { order: -1; }
  .creds .media { min-height: 0; aspect-ratio: 4 / 5; order: -1; }
  .split .copy h3, .split .copy p, .split.flip .copy h3, .split.flip .copy p, .creds .list, .creds blockquote { max-width: none; }
  .welcome { grid-template-columns: 1fr; }
  .welcome .btn { justify-self: start; }
  .site-footer .cols { grid-template-columns: 1fr; row-gap: 44px; }
  .f-contact .cta { margin-top: 28px; }
  .f-contact { max-width: none; }
}
@media (max-width: 600px) {
  :root { --gutter: 20px; --header-h: 64px; }
  body { font-size: 17px; }
  .site-header .bar { padding: 0 16px; grid-template-columns: 1fr auto; }
  .brand { gap: 12px; }
  .brand img { width: 44px; height: 44px; }
  .brand span { font-size: 25px; }
  .hero { min-height: 560px; }
  .hero .inner { padding-bottom: 24px; }
  .hero h1 { font-size: 46px; margin-bottom: 18px; }
  .welcome { padding: 18px 18px 24px; }
  .welcome h2 { font-size: 24px; }
  .h-heavy { font-size: 34px; }
  .work { padding: 36px 16px 24px; }
  .work-grid { grid-template-columns: 1fr; gap: 36px; }
  .card .meta { padding: 16px 4px 0; }
  .split .copy, .split.flip .copy, .creds .copy { padding: 28px 20px 36px; }
  .split .media figcaption { right: 12px; left: 12px; width: auto; text-align: right; }
  .site-footer .cols { padding: 44px 20px 28px; }
  .f-brand span { font-size: 34px; }
  .f-bottom { padding: 6px 20px 14px; flex-direction: column; gap: 6px; }
  .f-bottom a { margin-right: 0; }
  .policy { padding: 36px 20px 56px; }
  .policy h1 { font-size: 34px; }
  .menu a { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shimmer { animation: none; }
  .reveal, .rule, .card .thumb img, .card .play { transition: none; }
  .reveal { opacity: 1; transform: none; }
}
