/* =========================================================
   EDIT HERE: colors. Change --accent to restyle the whole site.
   ========================================================= */
:root {
  --bg: #201F1D;
  --bg-2: #2B2A27;
  --line: #3A3834;
  --text: #F3F0E2;
  --muted: #9a9aa3;
  --accent: #4169e1;
  --btn: #FFCB31;      /* the main buttons (and selected tabs): Jude's yellow, with dark text. EDIT: the colour */
  --btn-ink: #201F1D;
  --radius: 14px;
  --max: 1180px;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.eyebrow { color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
section { padding: 100px 0; border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; }
.section-head p { color: var(--muted); max-width: 420px; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid var(--line); transition: .2s; cursor: pointer; font-size: 15px; background: none; color: var(--text); font-family: inherit; }
.btn:hover { border-color: var(--text); }
.btn-primary { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); position: relative; overflow: hidden; }
.btn-primary:hover { filter: brightness(1.06); border-color: var(--btn); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(243,240,226,.35) 50%, transparent 70%); transform: translateX(-100%); transition: transform .6s; }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-lg { padding: 18px 32px; font-size: 17px; }

/* Nav */
nav { position: sticky; top: 0; z-index: 10; background: rgba(32,31,29,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: var(--font); font-weight: 800; font-size: 22px; text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 8px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; padding: 8px 16px; border-radius: 10px; border: 1px solid transparent; transition: .2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.current { color: var(--text); border-color: var(--line); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 100px; border-top: 0; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(46px, 8.5vw, 104px); font-weight: 800; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 580px; margin: 24px 0 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Video frame (YouTube/Vimeo embed or placeholder) */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .ph { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px; padding: 20px;
  background: radial-gradient(circle at 30% 20%, #2B2A27, transparent 60%), repeating-linear-gradient(45deg, transparent 0 14px, rgba(243,240,226,.015) 14px 28px); }
.video .ph b { display: block; color: var(--text); font-size: 18px; margin-bottom: 4px; }
.play { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); margin: 0 auto 14px; display: grid; place-items: center; animation: pulse 2.2s ease-out infinite; }
.play::after { content: ""; border-left: 18px solid #F3F0E2; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }

/* ---------- Shop page ---------- */
/* Shop: the preview, with the price, Purchase button and file details in a strip underneath */
.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 56px; }
.buy-box { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px 48px; background: var(--bg-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: 28px 32px; }
.buy-main { display: flex; align-items: center; gap: 28px; }
.buy-box .amount { font-family: var(--font); font-size: 52px; font-weight: 800; line-height: 1; }
.buy-box .amount small { font-size: 16px; color: var(--muted); font-family: var(--font); font-weight: 500; margin-left: 6px; }
.buy-box .btn { justify-content: center; padding-left: 44px; padding-right: 44px; }
.specs { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 14px 28px; padding-left: 48px; border-left: 1px solid var(--line); font-size: 15px; }
@media (max-width: 860px) {   /* phones and small tablets: the price and button on top, the details in two columns below */
  .buy-box { grid-template-columns: 1fr; }
  .buy-main { justify-content: space-between; }
  .specs { grid-template-columns: 1fr 1fr; justify-content: stretch; padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 440px) {
  .buy-main { gap: 16px; }
  .buy-box .amount { font-size: 44px; }
  .buy-box .btn { padding-left: 26px; padding-right: 26px; }
}
.specs div span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; }

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 16px; }
.cta-band p { color: var(--muted); font-size: 18px; margin-bottom: 30px; }

/* Shared cards */
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease; }
.card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 20px 50px -20px rgba(65,105,225,.35); }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--muted); }
.card .num { font-family: var(--font); font-weight: 800; color: var(--accent); font-size: 14px; margin-bottom: 18px; display: block; }
.card ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.card li { padding-left: 22px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.price { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.price strong { color: var(--text); font-size: 20px; }

/* ---------- Hire page ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.contact h2 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 18px; }
.contact > div > p { color: var(--muted); font-size: 18px; }
.direct { margin-top: 30px; display: grid; gap: 8px; }
.direct a { font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.steps { margin-top: 34px; display: grid; gap: 16px; }
.steps div { display: flex; gap: 14px; color: var(--muted); }
.steps b { color: var(--accent); font-family: var(--font); }
form { display: grid; gap: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: 30px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } form, .buy-box { padding: 22px; } }
label { font-size: 13px; color: var(--muted); display: grid; gap: 6px; }
input, select, textarea { width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; color: var(--text); font: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 140px; resize: vertical; }

footer { border-top: 1px solid var(--line); padding: 36px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { text-decoration: none; margin-left: 18px; }
footer a:hover { color: var(--text); }

/* =========================================================
   MOTION
   ========================================================= */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; pointer-events: none; }
.glow.g1 { width: 520px; height: 520px; background: var(--accent); top: -160px; right: -120px; animation: drift1 16s ease-in-out infinite alternate; }
.glow.g2 { width: 420px; height: 420px; background: #1e3a9e; top: 260px; left: -180px; opacity: .22; animation: drift2 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-180px, 140px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(220px, -90px) scale(.9); } }

.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes rise { to { transform: none; } }
.hero .intro { opacity: 0; animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: scroll 32s linear infinite; }
.marquee span { font-family: var(--font); font-weight: 800; font-size: clamp(24px, 3.4vw, 40px); padding: 0 28px; text-transform: uppercase; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--muted); }
.marquee i { color: var(--accent); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(65,105,225,.6); } 100% { box-shadow: 0 0 0 22px rgba(65,105,225,0); } }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero .intro { opacity: 1; transform: none; }
  .hero h1 .w > span { transform: none; }
}

/* "Get a quote" links and "Coming soon" state */
.price .quote { color: var(--accent); font-weight: 600; font-size: 16px; text-decoration: none; display: inline-block; transition: transform .25s; }
.price .quote:hover { transform: translateX(4px); }
.soon-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 8px; vertical-align: 1px; animation: pulse 2.2s ease-out infinite; }

/* ---------- Design page: project gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
@media (max-width: 420px) { .gallery { grid-template-columns: 1fr; } }
.shot { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2) center / cover no-repeat; overflow: hidden; position: relative; transition: transform .35s ease, border-color .35s ease; }
.shot:hover { transform: scale(1.02); border-color: #3a3a44; }
.shot.empty { display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px;
  background-image: radial-gradient(circle at 30% 20%, #2B2A27, transparent 60%), repeating-linear-gradient(45deg, transparent 0 14px, rgba(243,240,226,.015) 14px 28px); }
.shot.empty b { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.gallery figcaption h3 { font-size: 20px; margin-top: 16px; }
.gallery figcaption p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-top: 14px; }

/* ---------- Video background in a hero ---------- */
.hero-video-wrap { min-height: 70vh; display: flex; align-items: center; }
.hero-video-wrap .wrap { width: 100%; }
/* The brightness boost is baked into the video file itself (no browser filter), so it looks the same in every browser */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
/* Soft, feathered fade where the video meets the page below.
   The fade eases in and out (flat at both ends), so there's no visible edge where it starts or where it meets the page. */
.hero-shade { position: absolute; left: 0; right: 0; bottom: -4px; height: calc(58% + 4px); z-index: 0; pointer-events: none;
  background: linear-gradient(to top,
    rgba(32,31,29,1) 0%,
    rgba(32,31,29,1) 4px,
    rgba(32,31,29,0.9987) 2.08%,
    rgba(32,31,29,0.9949) 4.17%,
    rgba(32,31,29,0.9888) 6.25%,
    rgba(32,31,29,0.9803) 8.33%,
    rgba(32,31,29,0.9697) 10.42%,
    rgba(32,31,29,0.957) 12.5%,
    rgba(32,31,29,0.9424) 14.58%,
    rgba(32,31,29,0.9259) 16.67%,
    rgba(32,31,29,0.9077) 18.75%,
    rgba(32,31,29,0.8879) 20.83%,
    rgba(32,31,29,0.8665) 22.92%,
    rgba(32,31,29,0.8438) 25.0%,
    rgba(32,31,29,0.8197) 27.08%,
    rgba(32,31,29,0.7944) 29.17%,
    rgba(32,31,29,0.7681) 31.25%,
    rgba(32,31,29,0.7407) 33.33%,
    rgba(32,31,29,0.7125) 35.42%,
    rgba(32,31,29,0.6836) 37.5%,
    rgba(32,31,29,0.654) 39.58%,
    rgba(32,31,29,0.6238) 41.67%,
    rgba(32,31,29,0.5933) 43.75%,
    rgba(32,31,29,0.5624) 45.83%,
    rgba(32,31,29,0.5312) 47.92%,
    rgba(32,31,29,0.5) 50.0%,
    rgba(32,31,29,0.4688) 52.08%,
    rgba(32,31,29,0.4376) 54.17%,
    rgba(32,31,29,0.4067) 56.25%,
    rgba(32,31,29,0.3762) 58.33%,
    rgba(32,31,29,0.346) 60.42%,
    rgba(32,31,29,0.3164) 62.5%,
    rgba(32,31,29,0.2875) 64.58%,
    rgba(32,31,29,0.2593) 66.67%,
    rgba(32,31,29,0.2319) 68.75%,
    rgba(32,31,29,0.2056) 70.83%,
    rgba(32,31,29,0.1803) 72.92%,
    rgba(32,31,29,0.1562) 75.0%,
    rgba(32,31,29,0.1335) 77.08%,
    rgba(32,31,29,0.1121) 79.17%,
    rgba(32,31,29,0.0923) 81.25%,
    rgba(32,31,29,0.0741) 83.33%,
    rgba(32,31,29,0.0576) 85.42%,
    rgba(32,31,29,0.043) 87.5%,
    rgba(32,31,29,0.0303) 89.58%,
    rgba(32,31,29,0.0197) 91.67%,
    rgba(32,31,29,0.0112) 93.75%,
    rgba(32,31,29,0.0051) 95.83%,
    rgba(32,31,29,0.0013) 97.92%,
    rgba(32,31,29,0.0) 100.0%); }
/* A soft dark pool that sits right behind the text and follows it at any screen size.
   The video stays bright above, below and to the right of the text. */
.hero-video-wrap .wrap::before { content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: -32%; bottom: -32%; width: min(1150px, 135%); transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(32,31,29,.78) 0%, rgba(32,31,29,.6) 40%, rgba(32,31,29,.25) 72%, rgba(32,31,29,0) 100%); }
.hero-video-wrap h1, .hero-video-wrap .hero-sub { text-shadow: 0 2px 24px rgba(32,31,29,.45); }
.hero-video-wrap .eyebrow { color: #F3F0E2; text-shadow: 0 1px 14px rgba(32,31,29,.7); }
.hero-video-wrap .btn:not(.btn-primary) { background: rgba(32,31,29,.45); border-color: rgba(243,240,226,.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }

/* Phones: keep the logo and menu on one line */
@media (max-width: 520px) {
  .logo { font-size: 17px; white-space: nowrap; }
  .nav-links { gap: 2px; }
  .nav-links a { padding: 6px 10px; font-size: 14px; }
}
/* Fine moving film grain over the video section. It breaks up the visible "steps" (banding)
   screens show in slow dark fades, so the blend reads as smooth. Drawn as a plain layer so every browser shows it the same. */
.hero-video-wrap::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 22%); mask-image: linear-gradient(to top, transparent 0%, #000 22%);
  animation: grain 1s steps(6) infinite; }
@keyframes grain {
  0% { background-position: 0 0; } 20% { background-position: -37px 23px; } 40% { background-position: 29px -41px; }
  60% { background-position: -19px -11px; } 80% { background-position: 43px 37px; } 100% { background-position: 0 0; } }
/* No divider line between the video and the scrolling strip, so they blend together */
.hero-video-wrap + .marquee { border-top-color: transparent; }

/* Divider between titles in a label, e.g. Video Editor | Filmmaker | Graphic Designer */
.eyebrow .sep { color: var(--accent); margin: 0 .4em; font-weight: 400; }

/* YouTube thumbnails project: a 2x2 grid of 16:9 thumbnails inside the project tile */
.shot.thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 7%; align-content: center;
  background-image: radial-gradient(circle at 30% 20%, #2B2A27, transparent 60%); }
.thumb { aspect-ratio: 16 / 9; border-radius: 8px; border: 1px solid var(--line); background: #252421 center / cover no-repeat; position: relative; overflow: hidden;
  box-shadow: 0 10px 24px -12px rgba(32,31,29,.6); transition: transform .35s ease; }
.shot.thumbs:hover .thumb:nth-child(odd) { transform: translateY(-3px); }
.shot.thumbs:hover .thumb:nth-child(even) { transform: translateY(3px); }
/* Placeholder look until an image is added: a small play badge */
.thumb:not([style])::after { content: ""; position: absolute; left: 50%; top: 50%; width: 28px; height: 20px; margin: -10px 0 0 -14px; border-radius: 6px; background: var(--accent); opacity: .85; }
.thumb:not([style])::before { content: ""; position: absolute; left: 50%; top: 50%; z-index: 1; margin: -5px 0 0 -3px; border-left: 9px solid #F3F0E2; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }

/* ---------- Photo page: gallery ---------- */
/* Masonry-style columns so tall and wide photos fit together naturally */
.photo-grid { columns: 3 280px; column-gap: 18px; }
.photo { break-inside: avoid; margin-bottom: 18px; aspect-ratio: 1 / 1; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg-2) center / cover no-repeat; position: relative; overflow: hidden; transition: opacity .9s ease, transform .35s ease, border-color .35s ease, filter .35s ease; }
.photo.tall { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 3 / 2; }
.photo.has-img { cursor: zoom-in; }
.photo.has-img:hover { transform: scale(1.015); border-color: #3a3a44; filter: brightness(1.06); }
.photo.empty { display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px;
  background-image: radial-gradient(circle at 30% 20%, #2B2A27, transparent 60%), repeating-linear-gradient(45deg, transparent 0 14px, rgba(243,240,226,.015) 14px 28px); }
.photo.empty b { display: block; color: var(--text); font-size: 16px; margin-bottom: 2px; }

/* Full-size photo viewer */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(32,31,29,.94); display: grid; place-items: center; padding: 40px 70px; animation: lbIn .25s ease; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 30px 80px rgba(32,31,29,.6); }
.lightbox button { position: absolute; background: rgba(243,240,226,.08); border: 1px solid rgba(243,240,226,.15); color: #F3F0E2; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(243,240,226,.18); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; margin-top: -24px; }
.lb-next { right: 14px; top: 50%; margin-top: -24px; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) { .lightbox { padding: 70px 12px; } .lb-prev, .lb-next { top: auto; bottom: 14px; margin: 0; } }

/* ---------- Video page: social reels (vertical videos side by side) ---------- */
.reels { aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2); display: flex; justify-content: center; align-items: center; gap: 10px; padding: 12px; }
.reels .video { aspect-ratio: 9 / 16; height: 100%; width: auto; border-radius: 10px; flex: 0 0 auto; }
.reels .video .ph { font-size: 11px; padding: 8px; }
.reels .video .ph b { font-size: 13px; }
.reels .video .play { width: 34px; height: 34px; margin-bottom: 8px; }
.reels .video .play::after { border-left-width: 11px; border-top-width: 7px; border-bottom-width: 7px; margin-left: 3px; }

/* Shared project gallery on Video page */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 28px; }
@media (max-width: 420px) { .projects { grid-template-columns: 1fr; } }
.projects h3 { font-size: 20px; margin-top: 8px; }
.projects figcaption p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* Phones: four menu links + logo need a little less room */
@media (max-width: 440px) {
  nav .wrap { padding: 0 14px; }
  .logo { font-size: 15px; }
  .nav-links a { padding: 6px 7px; font-size: 13px; }
}
.eyebrow .t { white-space: nowrap; }

/* A section that starts a page (no hero above it) */
section.page-top { border-top: 0; padding-top: 70px; }

/* Video files played directly on the site */
.video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #201F1D; }

/* Buttons under a player that switch between videos (e.g. Day 1 / Day 2 / Day 3) */
.set-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.set-tabs button { font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 7px 14px; cursor: pointer; transition: .2s; }
.set-tabs button:hover { color: var(--text); border-color: #3a3a44; }
.set-tabs button.active { color: var(--btn-ink); background: var(--btn); border-color: var(--btn); }

/* A project that takes a full row, with large side-by-side vertical (phone-shaped) videos */
.projects .span-all { grid-column: 1 / -1; }
.reels.tall { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 20px; padding: 24px; }
.reels.tall .video { height: auto; width: 100%; aspect-ratio: 9 / 16; border-radius: 12px; }
@media (max-width: 520px) { .reels.tall { gap: 12px; padding: 14px; } }

/* Home page: centered title line, headline, bio and buttons */
.hero-video-wrap .wrap { text-align: center; }
.hero-video-wrap h1 { margin-left: auto; margin-right: auto; }
.hero-video-wrap .hero-sub { margin-left: auto; margin-right: auto; }
.hero-video-wrap .hero-actions { justify-content: center; }
@media (max-width: 520px) { .hero-video-wrap .eyebrow { font-size: 11px; letter-spacing: .1em; line-height: 2; } }

/* Menu: blue bar under the page you're on (the logo counts as Home); a faint one on hover */
.logo, .nav-links a { position: relative; }
.logo::after, .nav-links a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 1px; height: 3px; border-radius: 3px;
  background: var(--accent); transform: scaleX(0); opacity: 0; transition: transform .3s ease, opacity .3s ease; }
.logo::after { left: 0; right: 0; bottom: -9px; }
.logo:hover::after, .nav-links a:hover::after { transform: scaleX(1); opacity: .4; }
.logo.current::after, .nav-links a.current::after { transform: scaleX(1); opacity: 1; }
.nav-links a.current { color: var(--text); border-color: transparent; }
@media (max-width: 440px) {
  .nav-links a::after { left: 7px; right: 7px; bottom: 0; }
  .logo::after { bottom: -8px; }
}

/* Menu: items grow a little on hover */
.logo, .nav-links a { transition: transform .25s ease, color .2s ease, border-color .2s ease; }
.nav-links a:hover { transform: scale(1.12); }
.logo:hover { transform: scale(1.06); }

/* ---------- Page transitions: motion blur between pages ----------
   The new page slides in blurred and sharpens over the dark background. The menu bar stays put.
   Direction follows the menu order (see transitions.js). */
@view-transition { navigation: auto; }
nav { view-transition-name: site-nav; }
/* Menu bar: switch straight to the new page's menu (no captured copy of the old one) */
::view-transition-old(site-nav) { animation: none; opacity: 0; }
::view-transition-new(site-nav) { animation: none; }
/* The old page is never shown: browsers can fail to capture it (it then appears white), so it simply gives way to the dark background */
::view-transition-old(root) { animation: none; opacity: 0; }
::view-transition-new(root) { animation: pt-in .45s cubic-bezier(0, 0, .2, 1) both; }
html:active-view-transition-type(back)::view-transition-new(root) { animation-name: pt-in-back; }
@keyframes pt-out      { to   { opacity: 0; transform: translateX(-90px); filter: blur(18px); } }
@keyframes pt-in       { from { opacity: .3; transform: translateX(70px);  filter: blur(16px); } }
@keyframes pt-out-back { to   { opacity: 0; transform: translateX(90px);  filter: blur(18px); } }
@keyframes pt-in-back  { from { opacity: .3; transform: translateX(-70px); filter: blur(16px); } }
/* Browsers without built-in page transitions (e.g. Firefox) */
html.page-leaving body { animation: pt-out .28s cubic-bezier(.4, 0, 1, 1) forwards; }
html.page-leaving.pt-back body { animation-name: pt-out-back; }
html.page-enter body { animation: pt-in .45s cubic-bezier(0, 0, .2, 1) backwards; }
html.page-enter.pt-back body { animation-name: pt-in-back; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Scrolling strip: small and decorative (spaced-out light text, tiny dots, soft fade at the edges) */
.marquee { padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { animation-duration: 40s; }
.marquee span { font-family: var(--font); font-weight: 500; font-size: 12px; letter-spacing: .3em; color: var(--muted); padding: 0 16px; }
.marquee span:nth-child(even) { color: inherit; -webkit-text-stroke: 0; }
.marquee i { font-size: 6px; vertical-align: 2px; opacity: .9; }
/* Scrolling strip: a bit bolder, a bit slimmer */
.marquee { padding: 8px 0; }
.marquee span { font-weight: 600; line-height: 1.4; color: #b4b4bc; }
/* No flash between pages: the browser normally ADDS the two pages' brightness together while they cross-fade
   (bright areas flare up). Blend them normally instead, over the site's dark background. */
html { background: var(--bg); }
/* The layer the browser builds for page transitions is white by default; make it the site's dark color */
::view-transition { background: #201F1D; }
::view-transition-old(root), ::view-transition-new(root) { mix-blend-mode: normal; }
::view-transition-image-pair(root) { isolation: auto; }

/* Arriving from another tab: the motion-blur transition is the entrance, so the headline and intro are already in place
   (they still animate in on a direct visit) */
html.from-transition .hero .intro { animation: none; opacity: 1; }
html.from-transition .hero h1 .w > span { animation: none; transform: none; }
/* The Video tab starts with its projects instead of a header: the top of it slides in with the page too, without rising */
html.from-transition .page-top .section-head.reveal, html.from-transition .page-top .projects > figure:nth-child(-n+3).reveal { opacity: 1; transform: none; transition: none; }
/* Home headline sets its own line break ("Good stories." / "Well told.") */
.hero-video-wrap h1 { max-width: none; }

/* ---------- About Me page ---------- */
.about { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 36px; } }
.portrait { aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2) center / cover no-repeat; }
.portrait.empty { display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px;
  background-image: radial-gradient(circle at 30% 20%, #2B2A27, transparent 60%), repeating-linear-gradient(45deg, transparent 0 14px, rgba(243,240,226,.015) 14px 28px); }
.portrait.empty b { display: block; color: var(--text); font-size: 17px; margin-bottom: 4px; }
.about-text h2 { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 20px; }
.about-text > p:not(.eyebrow) { color: var(--muted); font-size: 18px; margin-bottom: 16px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin: 30px 0 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 2px; }
.facts a { text-decoration: none; }
.facts a:hover { color: var(--accent); }
.tools { display: flex; gap: 8px; flex-wrap: wrap; }
.tools span { border: 1px solid var(--line); border-radius: 8px; padding: 6px 14px; font-size: 14px; }
a.card-link { text-decoration: none; display: block; }

/* Menu: when the window is too narrow for the name and all seven tabs on one line, the tabs go on their own row under the name */
@media (max-width: 860px) {
  nav .wrap { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 6px; row-gap: 4px; }
  .logo { font-size: 17px; }
  .logo::after { bottom: -6px; }
  .nav-links { width: 100%; justify-content: space-between; gap: 0; margin: 0 -7px; width: calc(100% + 14px); }
  .nav-links a { padding: 8px 7px; font-size: 14px; }
  .nav-links a::after { left: 7px; right: 7px; bottom: 2px; }
}
/* Home headline in all caps (a touch smaller and tighter so it fits the same space) */
.hero-video-wrap h1 { text-transform: uppercase; font-size: clamp(40px, 8vw, 96px); letter-spacing: -0.02em; }

/* Design page: a featured project that spans the full row (e.g. a 16:9 brand sheet) */
.gallery .feature { grid-column: 1 / -1; }
.gallery .feature .shot { aspect-ratio: 16 / 9; background-size: contain; background-color: #F3F0E2; cursor: zoom-in; }
.gallery .feature figcaption p { max-width: 760px; }
.photo.portrait { aspect-ratio: 2 / 3; }

/* Design page: a collage of graphics that keeps each one's own shape */
.collage { columns: 4 200px; column-gap: 12px; padding: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
.collage img { display: block; width: 100%; height: auto; margin-bottom: 12px; break-inside: avoid; border-radius: 8px; cursor: zoom-in; transition: transform .3s ease, filter .3s ease; }
.collage img:hover { transform: scale(1.02); filter: brightness(1.08); }
/* Collage with a "Show all" button: extra items stay hidden until opened */
.collage .more { display: none; }
.collage.open .more { display: block; }
.show-more { margin: 14px auto 0; display: flex; }

/* Design page: YouTube thumbnails in a widescreen grid */
.yt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 700px) { .yt-grid { grid-template-columns: repeat(2, 1fr); } }
.yt-grid img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; cursor: zoom-in; transition: transform .3s ease, filter .3s ease; }
.yt-grid img:hover { transform: scale(1.03); filter: brightness(1.08); }
.yt-grid.two { grid-template-columns: repeat(2, 1fr); }
.yt-grid + .sub-label { margin-top: 22px; }
.sub-label { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px 2px; }
.yt-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) { .yt-grid.four { grid-template-columns: repeat(2, 1fr); } }
/* A project whose title sits above its images (used for YouTube Thumbnails, which has several groups) */
.gallery figcaption.top { margin-bottom: 22px; }
.gallery figcaption.top .tag { margin-top: 0; }

/* Projects: tag + title above the work, description below it */
.proj-head { margin-bottom: 14px; }
.proj-head .tag { margin-top: 0; }
.proj-head h3 { font-size: 22px; margin-top: 4px; }
.gallery figcaption p, .projects figcaption p { margin-top: 12px; }
.gallery figure + figure, .projects figure + figure { margin-top: 0; }
.gallery .feature { margin-top: 18px; }
/* Collage in rows (set up by main.js); without it, the plain column layout above still works */
.collage.masonry { columns: auto; display: flex; align-items: flex-start; gap: 12px; }
.collage.masonry .col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.collage.masonry img { margin-bottom: 0; }

/* ---------- Design page: more breathing room ---------- */
.gallery { row-gap: 110px; column-gap: 32px; }
.proj-head { margin-bottom: 20px; }
.proj-head h3 { font-size: 26px; }
.gallery figcaption p { margin-top: 18px; font-size: 15px; line-height: 1.65; }
/* Each project starts with a line across the page and its number (01, 02 …, counted automatically), and the last one
   closes with a line, so it's clear where one project ends and the next begins. EDIT: the line colour, the space */
section:has(> .wrap > .gallery.split) { border-top: 0; }
.gallery.split { counter-reset: proj; row-gap: 0; }
.gallery.split .feature { counter-increment: proj; margin-top: 0; padding: 36px 0 100px; border-top: 1px solid rgba(243,240,226,.2); }
.gallery.split .feature:last-child { padding-bottom: 64px; border-bottom: 1px solid rgba(243,240,226,.2); }
.gallery.split .feature::before { content: counter(proj, decimal-leading-zero); display: block; margin-bottom: 18px;
  font: 600 13px/1 var(--font); letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .gallery.split .feature { padding: 28px 0 72px; } .gallery.split .feature:last-child { padding-bottom: 48px; } }
/* Collages and thumbnail grids sit directly on the page (no box), with wider gaps */
.collage, .yt-grid { background: none; border: 0; padding: 0; }
.collage.masonry, .collage.masonry .col { gap: 20px; }
.collage img, .yt-grid img { border-radius: 10px; }
.yt-grid { gap: 20px; }
/* YouTube Thumbnails tabs */
.yt-tabs { margin: 0 0 22px; }
.tabbed .yt-group .sub-label { display: none; }
.yt-group + .yt-group { margin-top: 28px; }
.tabbed .yt-group + .yt-group { margin-top: 0; }
.show-more { margin-top: 26px; }

/* ---------- Slideshow view (default) with a Slideshow / Grid switch ---------- */
.has-viewer:not(.grid-view) .collage,
.has-viewer:not(.grid-view) .yt-grid,
.has-viewer:not(.grid-view) .photo-grid,
.has-viewer:not(.grid-view) .show-more { display: none; }
.has-viewer.grid-view .viewer { display: none; }
.viewer { outline: none; }
.viewer-stage { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); }
.viewer.tall .viewer-stage { height: clamp(380px, 72vh, 700px); }
.viewer.wide .viewer-stage { aspect-ratio: 16 / 9; }
/* soft blurred copy of the image fills the space around portrait graphics */
.viewer-bg { position: absolute; inset: -40px; background: center / cover no-repeat; filter: blur(40px) saturate(1.1); opacity: .35; transition: background-image .3s; }
.viewer-img { position: relative; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: opacity .2s ease, transform .2s ease; }
.viewer.tall .viewer-img { height: calc(100% - 40px); width: auto; border-radius: 8px; box-shadow: 0 20px 50px -20px rgba(32,31,29,.7); }
.viewer.wide .viewer-img { width: 100%; height: 100%; object-fit: cover; }
.viewer-img.out { opacity: 0; transform: translateX(var(--dir, 0px)); }
.viewer-prev, .viewer-next { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; cursor: pointer;
  background: rgba(32,31,29,.55); border: 1px solid rgba(243,240,226,.18); color: #F3F0E2; font-size: 30px; line-height: 1;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.viewer-prev { left: 16px; } .viewer-next { right: 16px; }
.viewer-prev:hover, .viewer-next:hover { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); transform: scale(1.06); }
.viewer-bar { display: flex; justify-content: space-between; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 14px; }
.viewer-count { font-variant-numeric: tabular-nums; margin-left: auto; }
@media (max-width: 600px) { .viewer-prev, .viewer-next { width: 42px; height: 42px; margin-top: -21px; font-size: 24px; } .viewer-prev { left: 8px; } .viewer-next { right: 8px; } }

/* The switch */
.proj-head { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: end; }
.proj-head .tag, .proj-head h3 { grid-column: 1; }
.view-toggle { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-2); }
.proj-head .view-toggle { grid-column: 2; grid-row: 1 / span 2; }
.view-toggle button { font: inherit; font-size: 13px; font-weight: 600; color: var(--muted); background: none; border: 0; border-radius: 8px; padding: 7px 14px; cursor: pointer; transition: .2s; }
.view-toggle button:hover { color: var(--text); }
.view-toggle button.active { background: var(--btn); color: var(--btn-ink); }
.view-toggle.section-toggle { display: flex; width: max-content; margin: -18px 0 22px auto; }

/* ---------- Page headers centered on every page (matches the home page) ---------- */
.hero .wrap { text-align: center; }
.hero h1, .hero .hero-sub { margin-left: auto; margin-right: auto; }
.hero .hero-actions { justify-content: center; }
.hero .product { text-align: left; }   /* Shop: the preview + buy box below the header stay as they are */
/* Video tab starts with its projects heading instead of a big header: center that too */
section.page-top .section-head { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
section.page-top .section-head p { max-width: 560px; }

/* ---------- Compact page headers on every tab except Home, so visitors get straight to the work ---------- */
.hero:not(.hero-video-wrap) { padding: 40px 0 36px; }
.hero:not(.hero-video-wrap) .eyebrow { margin-bottom: 10px; }
.hero:not(.hero-video-wrap) h1 { font-size: clamp(32px, 5vw, 56px); max-width: none; }
.hero:not(.hero-video-wrap) .hero-sub { font-size: 16px; line-height: 1.6; max-width: 640px; margin: 12px auto 18px; }
.hero:not(.hero-video-wrap) .hero-actions .btn-lg { padding: 11px 22px; font-size: 15px; }
.hero:not(.hero-video-wrap) .product { margin-top: 30px; }
.hero:not(.hero-video-wrap) .glow { opacity: .22; }
/* Less space before the first section of work */
.hero:not(.hero-video-wrap) + .marquee + section, .hero:not(.hero-video-wrap) + section { padding-top: 56px; }
section.page-top { padding-top: 44px; }
@media (max-width: 600px) {
  .hero:not(.hero-video-wrap) { padding: 28px 0 26px; }
  .hero:not(.hero-video-wrap) + .marquee + section, .hero:not(.hero-video-wrap) + section { padding-top: 44px; }
}

/* Contact form: message after sending */
.form-note { font-size: 15px; margin: 2px 0 0; min-height: 1px; }
.form-note.ok { color: #7fd6a4; }
.form-note.err { color: #ff8a80; }
.form-note a { color: inherit; }
button[type="submit"][disabled] { opacity: .7; cursor: wait; }

/* Video tab: Sports / Movement (one widescreen video, then a row of vertical reels) */
.reels-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 14px; }
.reels-row .video { aspect-ratio: 9 / 16; }
@media (max-width: 760px) { .reels-row { grid-template-columns: repeat(2, 1fr); } }

/* Tracking (Adobe units / 1000 = em): body text -25, headers -40.
   Set on each element so it scales with that element's own size. The spaced-out uppercase labels keep their wide spacing. */
:where(body, body *) { letter-spacing: -0.025em; }
h1, h2, h3, .hero h1, .hero-video-wrap h1 { letter-spacing: -0.04em; }
/* Photo page: set tabs */
.photo-tabs { margin: 0 0 22px; }
.photo-group[hidden] { display: none; }
/* Photo grid in rows (set up by main.js); without it, the column layout above still works */
.photo-grid.masonry { columns: auto; display: flex; align-items: flex-start; gap: 18px; }
.photo-grid.masonry .col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.photo-grid.masonry .photo { margin-bottom: 0; }

/* Design page: a brand style guide shown as a large cover with the other pages underneath */
.brand-book .cover { display: block; width: 100%; height: auto; border-radius: var(--radius); cursor: zoom-in; }
.brand-book .pages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 12px; }
@media (max-width: 700px) { .brand-book .pages { grid-template-columns: repeat(2, 1fr); } }
.brand-book .pages img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; cursor: zoom-in; transition: transform .3s ease, filter .3s ease; }
.brand-book img:hover { filter: brightness(1.05); }
.brand-book .pages img:hover { transform: scale(1.03); }
/* A labeled part inside a brand project (e.g. Live Sent: Application) */
.sub-label.brand-part { margin-top: 28px; }
/* Live Sent applications: widescreen video + letter-size print, sized so both are the same height */
.brand-apps { display: grid; grid-template-columns: 1.778fr 0.773fr; gap: 14px; align-items: start; }
.brand-apps img { display: block; width: 100%; height: auto; border-radius: 8px; cursor: zoom-in; transition: filter .3s ease; }
.brand-apps img:hover { filter: brightness(1.05); }
/* Live Sent applications: three pieces at the same height (widths follow each piece's shape), small label under each */
/* Row 1: Motion + Print. Row 2: Screens (portrait 2:3 + landscape 3:2). Column widths follow each piece's shape so both pieces in a row are the same height. */
.brand-apps { grid-template-columns: 1.778fr 0.773fr; }
.brand-apps.screens { grid-template-columns: 0.6665fr 1.5fr; margin-top: 22px; }
.brand-apps.screens .app-label { grid-column: 1 / -1; margin-bottom: -6px; }
.brand-apps .app { min-width: 0; }
.app-label { display: block; margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) { .brand-apps, .brand-apps.screens { gap: 10px; } .brand-apps img { max-width: none; } .brand-apps .app-label { font-size: 11px; } }
/* Live Sent: Socials: the widescreen graphics side by side, then the portrait posts side by side */
.brand-apps.socials { grid-template-columns: 1fr 1fr; margin-top: 22px; }
.brand-apps.socials.posts { grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.brand-apps.socials .app-label { grid-column: 1 / -1; margin-bottom: -6px; }

/* Christmas at Saddleback: Application (three 4:5 posts, then the 9:16 video + three stories) */
.brand-apps > .app-label { grid-column: 1 / -1; margin-bottom: -6px; }
.brand-apps.xmas-posts { grid-template-columns: repeat(3, 1fr); margin-top: 6px; }
.brand-apps.xmas-stories { grid-template-columns: repeat(4, 1fr); margin-top: 22px; }
.brand-apps.xmas-stories .video { aspect-ratio: 9 / 16; }
.gallery .feature .shot + .sub-label.brand-part { margin-top: 26px; }
@media (max-width: 700px) { .brand-apps.xmas-stories { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   DAY GRADIENT THEME
   Home page gradient: the landing opens on night rising to a light horizon blue; below it, the same colours
   flipped, from steel blue back down to night.
   EDIT the colors here.
   ========================================================= */
:root {
  /* Below the landing: the landing's own colours, flipped. The landing's light horizon blends briefly into steel blue
     right at the top of Video, then it grows darker the way the landing grows lighter, down to night at the bottom.
     On computers it's one gradient over the sections (--below); on phones each card gets its own slice (--s0 to --s7).
     EDIT: each --below entry is a colour and how far down the sections it sits. */
  --below: #4F718E 0%, #24426A 64%, #13233A 100%;
  --s0: #4F718E;  /* steel blue (Video) */
  --s1: #456686;  /* steel blue, a little deeper (Design) */
  --s2: #3C5C7E;  /* slate blue (Website) */
  --s3: #325176;  /* deep slate blue (Photo) */
  --s4: #29476E;  /* dark blue (Shop) */
  --s5: #203C60;  /* navy (About Me) */
  --sky: #1A2F4D; /* deep navy (bottom of About Me) */
  --s6: #1A2F4D;  /* deep navy (Inquire) */
  --s7: #13233A;  /* night (bottom) */
  --deck-bg: #091732; /* phones: the dark navy behind the stack of cards */
  /* The landing screen: night, through dark blue and steel blue, up to a cool horizon glow that fades into the blues below */
  --o0: #13233A;  /* deep navy (top of the page) */
  --o1: #24426A;  /* dark blue */
  --o2: #557392;  /* steel blue (behind the headline) */
  --o3: #8FA9BC;  /* light horizon blue (the lightest point on the page) */
  --cream: #F3F0E2; /* off-white: all light text and lines */
  --ink: #201F1D;   /* the site's black: dark text on off-white (e.g. the active dial label) */
}
/* Text colors that follow the background */
.ink-dark { --text: var(--ink); --muted: rgba(32,31,29,.72); --line: rgba(32,31,29,.2); --bg-2: rgba(243,240,226,.22); --bg: rgba(243,240,226,.4); --accent-text: #1E3A9E; color: var(--text); }
.ink-light { --text: var(--cream); --muted: rgba(243,240,226,.72); --line: rgba(243,240,226,.28); --bg-2: rgba(243,240,226,.07); --bg: rgba(32,31,29,.3); --accent-text: #A3C3E6; color: var(--text); }
.eyebrow, .eyebrow .sep, .hero h1 em, .pv h1 em, .steps b, .tag, .price .quote, .card .num, .faq summary::after, .logo span, .marquee i, .facts a:hover { color: var(--accent-text, var(--accent)); }
.btn-primary, .set-tabs button.active, .view-toggle button.active { color: var(--btn-ink); }
.play::after { border-left-color: var(--cream); }
.marquee span { color: var(--muted); }
.glow { display: none; }
.ink-dark .form-note.ok { color: #1d7a4a; }
.ink-dark .form-note.err { color: #b3261e; }
.ink-dark .pv-tile { box-shadow: 0 20px 40px -26px rgba(32,31,29,.6); }
/* Placeholders: soft, see-through panels instead of dark ones */
.video .ph, .shot.empty, .photo.empty, .portrait.empty, .shot.thumbs { background-image: none; background-color: var(--bg-2); }
.thumb { background-color: var(--bg-2); }
.shot:hover, .photo.has-img:hover, .set-tabs button:hover { border-color: var(--line); }
.video { background: var(--bg-2); }

/* Menu bar floats over the gradient (blurs what scrolls under it) */
nav { background: transparent; border-bottom: 0; backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); color: var(--text); transition: color .5s ease; }
.logo { font-size: 19px; }
.nav-links a { font-size: 14px; }

/* Every tab except Home: the same dark blue gradient, fixed behind the page.
   EDIT the three colors here (top, middle, bottom). */
html.pg { --t1: #1A3A5E; --t2: #0F2038; --t3: #0B0F1A; --g1: var(--t1); background: var(--t1); }
html.pg body { background: transparent; }
html.pg body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--t1), var(--t2) 55%, var(--t3)); }
html.home       { --g1: var(--o0); }
/* Page transitions slide in over the new page's own top color (no dark or white flash) */
::view-transition { background: var(--g1, #201F1D); }

/* ---------- Home page ---------- */
html.home body { background: var(--o0); }
.day { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
  /* main.js lines these colors up with the sections; this is the starting version */
  background: linear-gradient(180deg, var(--s7), var(--s0) 12%, var(--s1) 24%, var(--s2) 36%, var(--s3) 48%, var(--s4) 60%, var(--s5) 72%, var(--s6) 86%, var(--s7)); }
.day > .pv { grid-column: 2; }
.pv { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: 110px clamp(20px, 6vw, 110px) 110px 0; max-width: 800px; border-top: 0; scroll-margin-top: 0; }
.pv-intro { min-height: calc(100vh - 68px); padding-top: 40px; }
.pv .eyebrow { font-size: 12px; letter-spacing: .14em; margin-bottom: 18px; }
.pv h1 { font-size: clamp(40px, 4.6vw, 70px); font-weight: 800; line-height: 1.02; text-transform: uppercase; }
.pv h1 em { font-style: normal; }
.pv h2 { font-size: clamp(32px, 3.2vw, 48px); font-weight: 700; line-height: 1.05; margin-bottom: 14px; }
.pv-sub { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.55; max-width: 520px; opacity: .86; margin: 0 0 30px; }
.pv-intro .pv-sub { margin-top: 22px; }
.pv .hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Preview tiles: one wide piece, three below. The whole set links to the tab. */
.pv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; text-decoration: none; }
.pv-tile { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--bg-2) center / cover no-repeat;
  box-shadow: 0 20px 40px -26px rgba(32,31,29,.6); transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .3s ease; }
.pv-tile.wide { grid-column: 1 / -1; }
.pv-tile:hover { transform: translateY(-4px); filter: brightness(1.05); }
.play-tile::before { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%;
  background: rgba(65,105,225,.92); box-shadow: 0 6px 20px rgba(32,31,29,.25); }
.play-tile::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -4px; border-left: 13px solid var(--cream); border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.pv-tile:not(.wide).play-tile::before { width: 34px; height: 34px; margin: -17px 0 0 -17px; }
.pv-tile:not(.wide).play-tile::after { margin: -6px 0 0 -3px; border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; }
.pv-more { margin-top: 26px; font-size: 15px; font-weight: 600; text-decoration: none; padding-bottom: 5px; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.pv-more span { display: inline-block; color: var(--accent-text); transition: transform .3s ease; }
.pv-more:hover { border-color: var(--text); }
.pv-more:hover span { transform: translateX(5px); }
/* Website: three services as a list */
.pv-list { width: 100%; border-bottom: 1px solid var(--line); }
.pv-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; border-top: 1px solid var(--line); text-decoration: none; transition: padding .3s ease; }
.pv-list a:hover { padding-left: 8px; }
.pv-list b { font-size: clamp(19px, 1.6vw, 24px); font-weight: 700; letter-spacing: -0.04em; white-space: nowrap; }
.pv-list span { color: var(--muted); font-size: 15px; text-align: right; }
/* Shop: the price */
.pv-shop { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; text-decoration: none; padding: 22px 26px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); transition: border-color .3s; }
.pv-shop:hover { border-color: var(--text); }
.pv-shop-info { display: grid; gap: 4px; }
.pv-shop-info b { font-size: 30px; font-weight: 800; line-height: 1; }
.pv-shop-info span { color: var(--muted); font-size: 14px; }
.pv .facts { width: 100%; max-width: 520px; margin: 0; }
/* Contact: heading and steps, then the form */
.pv-contact { padding-bottom: 130px; }
.pv-contact .contact { grid-template-columns: 1fr; gap: 40px; width: 100%; }
.pv-contact h2 { font-size: clamp(32px, 3.2vw, 48px); }
.pv-contact form { background: var(--bg-2); }

/* The dial */
.dial-col { grid-column: 1; grid-row: 1 / span 8; position: relative; transition: color .5s ease; }
.dial { position: sticky; top: calc(50vh - 116px); margin: calc(50vh - 184px) auto 0; width: 300px; height: 300px; }
.dial svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial-track { fill: none; stroke: currentColor; stroke-width: 2.5; opacity: .2; }
/* The arc and the dot are placed by main.js on every frame (no CSS easing), so the dot always rides exactly on the ring */
.dial-arc { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; transform: rotate(180deg); transform-origin: 150px 150px; }
.dial-tick { fill: currentColor; opacity: .45; }
.dial-head { fill: var(--accent); stroke: var(--cream); stroke-width: 2; }
.dial a { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 6px 13px; border-radius: 10px; transition: color .3s ease, background-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.dial a:hover { color: var(--text); transform: translate(-50%, -50%) scale(1.08); }
.dial a.active { background: var(--accent); color: var(--cream); box-shadow: 0 8px 24px -8px rgba(65,105,225,.7); }

/* Phones and touch tablets (or any window narrower than 640px): the sections become stacked cards (like tabs in a wallet).
   A desktop browser at any normal width keeps the dial layout. This same rule is used in main.js.
   Each card has its section's own gradient. Scrolling slides the next card up over the last one,
   and the earlier cards' titles stay stacked at the top. Tap a title to go back to that card. */
@media (max-width: 640px), (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .day { display: block; background: var(--deck-bg) !important; }
  .dial-col { display: none; }
  .pv { min-height: 0; max-width: none; padding: 72px 20px; }
  .pv-intro { min-height: 72vh; padding-top: 40px; }
  .day > section.pv { position: sticky; top: var(--stick, 84px); margin: 0 8px; padding: 16px 20px 44px; justify-content: flex-start;
    border-radius: 24px; background: linear-gradient(180deg, var(--c1), var(--c2)); box-shadow: 0 -10px 28px -14px rgba(32,31,29,.45); }
  .day > section.pv > h2 { font-size: 30px; line-height: 1.1; margin-bottom: 14px; cursor: pointer; }
  .day > section.pv .pv-sub { margin-bottom: 24px; }
  #video   { --c1: var(--s0); --c2: var(--s1); }
  #design  { --c1: var(--s1); --c2: var(--s2); }
  #website { --c1: var(--s2); --c2: var(--s3); }
  #photo   { --c1: var(--s3); --c2: var(--s4); }
  #shop    { --c1: var(--s4); --c2: var(--s5); }
  #about   { --c1: var(--s5); --c2: var(--sky); }
  #contact { --c1: var(--s6); --c2: var(--s7); }
  .pv-contact .contact h2 { font-size: 30px; line-height: 1.1; cursor: pointer; }
  .pv-contact { padding-bottom: 60px; }
  .day > section#contact { position: relative; top: auto; }
  .pv-list a { flex-direction: column; gap: 4px; }
  .pv-list span { text-align: left; }
}
/* Footer links wrap onto more lines on small screens instead of running off the edge */
footer .wrap > span:has(> a) { display: flex; flex-wrap: wrap; gap: 6px 18px; }   /* a row of footer links (none at the moment) */
footer a { margin-left: 0; }

/* ---------- Home page: the opening sunrise ----------
   The page opens on night glowing into sunrise (the colors are lined up by main.js). */
:root { --sunrise: linear-gradient(180deg, var(--o0), var(--o1) 15%, var(--o2) 42%, var(--o3) 85%, var(--s0)); }
/* Same space above and below the intro text, so it centers on the same line as the dial */
.pv-intro { padding-top: 40px; padding-bottom: 40px; }
.pv-intro h1 em { color: #B4D0EE; }
.dawn-foot { width: 100%; margin-top: 70px; display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.dawn-foot a { text-decoration: none; }
.dawn-foot a:hover { color: var(--text); }
@media (max-width: 640px), (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .pv-intro { min-height: 88vh; padding-bottom: 16vh; background: var(--sunrise); }
}

/* Dial over the blue sections: the arc, dot and active label switch to off-white so they stand out from the blue */
.dial-col.ink-light { --arc: var(--cream); --arc-edge: var(--accent); }
.dial-col.ink-light .dial a.active { background: var(--cream); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(32,31,29,.6); }

/* ---------- Dial details: lens bezel, turning focus ring, comet arc, pulsing dot, center readout ---------- */
.dial { transform: scale(var(--dial-scale, 1)); }
.dial-col { --arc: var(--accent); --arc-edge: var(--cream); }
.dial-arc { stroke: var(--arc); }
.dial-trail { fill: none; stroke: var(--arc); stroke-width: 4; stroke-linecap: round; transform: rotate(180deg); transform-origin: 150px 150px; }
.dial-head { fill: var(--arc); stroke: var(--arc-edge); stroke-width: 2; }
.dial-halo { fill: none; stroke: var(--arc); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: dial-halo 2.2s ease-out infinite; }
@keyframes dial-halo { from { transform: scale(1); opacity: .8; } to { transform: scale(3.4); opacity: 0; } }
.dial-bezel line { stroke: currentColor; stroke-width: 1; opacity: .3; stroke-linecap: round; }
.dial-bezel line.major { stroke-width: 2; opacity: .55; transition: stroke .4s ease, opacity .4s ease; }
.dial-bezel line.major.on { stroke: var(--arc); opacity: 1; }
.dial-spin { transform-origin: 150px 150px; }
.dial-spin line { stroke: currentColor; stroke-width: 1; opacity: .16; }
.dial-tick { transition: fill .4s ease, opacity .4s ease; }
.dial-tick.on { fill: var(--arc); opacity: 1; }
/* Center readout: the section's name, large */
.dial-readout { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; white-space: nowrap; }
.dial-readout em { display: block; font-style: normal; font-size: 40px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.dial-readout.swap { animation: dial-swap .55s cubic-bezier(.2,.8,.2,1); }
@keyframes dial-swap { from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)); filter: blur(4px); } }
/* On the landing screen: a small "Scroll" cue with a line that runs downward */
.dial-readout.cue em { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; opacity: .7; }
.dial-readout.cue::after { content: ""; display: block; width: 1px; height: 34px; margin: 12px auto 0; background: currentColor; opacity: .7;
  transform-origin: top; animation: dial-cue 1.8s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes dial-cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Subtle moving film grain over the gradient backgrounds (Home and every tab).
   EDIT: raise or lower the opacity to make the grain stronger or softer. */
body::after { content: ""; position: fixed; inset: -50%; z-index: 40; pointer-events: none; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px; animation: grain-move .9s steps(6) infinite; }
@keyframes grain-move {
  0% { transform: translate(0, 0); } 17% { transform: translate(-3%, 2%); } 33% { transform: translate(2%, -3%); }
  50% { transform: translate(-2%, -1%); } 67% { transform: translate(3%, 3%); } 83% { transform: translate(-1%, 3%); } 100% { transform: translate(0, 0); } }

/* The home page is the plain gradient (no clouds), with the film grain over it */
.day { position: relative; overflow-x: clip; }  /* overflow-x: never let anything make the page scroll sideways */
.pv > * { position: relative; }

/* =========================================================
   Home sections: more character
   ========================================================= */

/* Small kicker above each title: "01 — Film & Edit", with a line that draws in */
.pv-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.pv-kicker b { font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--accent-text); }
.pv-kicker::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: .5; transform: scaleX(0); transform-origin: left; transition: transform 1.1s cubic-bezier(.2,.8,.2,1) .35s; }
.pv-kicker.in::after, .pv-kicker:not(.reveal)::after { transform: scaleX(1); }

/* Giant outlined section number on the title's row, at the right; it drifts a little as you scroll (main.js sets --ny) */
.pv h2 { position: relative; align-self: stretch; }
.pv h2 > .pv-num { position: absolute; right: 0; top: 50%; translate: 0 calc(-50% + var(--ny, 0px)); pointer-events: none; user-select: none;
  font-size: clamp(110px, 11vw, 190px); font-weight: 800; line-height: .8; letter-spacing: -0.05em; font-variant-numeric: tabular-nums;
  -webkit-text-fill-color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, currentColor 26%, transparent); }

/* Preview tiles: the image sits on its own layer so it can zoom on hover and drift with the scroll (--py) */
.pv-tile { overflow: hidden; background: var(--bg-2); isolation: isolate; }
/* Each tile takes its image's own shape (set in index.html), so the whole piece shows with nothing cut off */
.pv-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--img) center / cover no-repeat;
  scale: var(--zoom, 1); transition: scale 1.4s cubic-bezier(.2,.8,.2,1); }
.pv-tile::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 45%, rgba(32,31,29,.7)); opacity: 0; transition: opacity .45s ease; }
.pv-tile:hover { transform: none; filter: none; }
.pv-tile:hover::before { --zoom: 1.05; }
.pv-tile:has(.pv-cap):hover::after { opacity: 1; }
.pv-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; font-style: normal; font-size: 13px; font-weight: 600; color: var(--cream);
  opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.pv-tile.wide .pv-cap, .pv-browser-view .pv-cap { font-size: 16px; left: 20px; bottom: 16px; }
.pv-cap span { display: inline-block; margin-left: 4px; transition: transform .3s ease; }
.pv-tile:hover .pv-cap { opacity: 1; transform: none; }
.pv-tile:hover .pv-cap span { transform: translateX(4px); }
/* Play button on video tiles */
.pv-play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: rgba(65,105,225,.92); box-shadow: 0 6px 20px rgba(32,31,29,.25); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.pv-play::after { content: ""; position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -3px; border-left: 10px solid var(--cream); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.pv-tile.wide .pv-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
.pv-tile.wide .pv-play::after { margin: -8px 0 0 -4px; border-left-width: 14px; border-top-width: 8px; border-bottom-width: 8px; }
.pv-tile:hover .pv-play { transform: scale(1.12); }

/* Cinematic reveal: each tile wipes up into view, one after another, while its image settles from a slight zoom */
.pv-grid.reveal { opacity: 1; transform: none; }
.pv-grid.reveal .pv-tile { clip-path: inset(0 round 12px); transition: clip-path 1.15s cubic-bezier(.7,0,.15,1) var(--td, 0s), box-shadow .4s ease; }
.pv-grid.reveal:not(.in) .pv-tile { clip-path: inset(100% 0 0 0 round 12px); --zoom: 1.15; }
.pv-grid .pv-tile:nth-child(2) { --td: .12s; } .pv-grid .pv-tile:nth-child(3) { --td: .22s; } .pv-grid .pv-tile:nth-child(4) { --td: .32s; }

/* Website: a browser window showing this site */
.pv-browser { display: block; width: 100%; margin-bottom: 26px; text-decoration: none; border-radius: 12px; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(32,31,29,.7); border: 1px solid var(--line); }
.pv-browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.pv-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; opacity: .3; }
.pv-browser-bar em { flex: 1; text-align: center; margin-right: 39px; font-style: normal; font-size: 11px; letter-spacing: .04em; opacity: .7; }
.pv-tile.pv-browser-view { display: block; aspect-ratio: 16 / 10; border-radius: 0; box-shadow: none; }
.pv-browser-view::before { background-position: center top; }

/* Phones and tablets: captions always show (no hover); the big number becomes the card's index in the top corner */
@media (hover: none) {
  .pv-cap { opacity: 1; transform: none; font-size: 12px; }
  .pv-tile:has(.pv-cap)::after { opacity: 1; }
  /* small tiles are too small for a caption on a phone: only the large ones keep theirs */
  .pv-grid .pv-tile:not(.wide) .pv-cap { display: none; }
  .pv-grid .pv-tile:not(.wide)::after { opacity: 0; }
}
@media (max-width: 640px), (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .pv-kicker { display: none; }
  /* Website card: services become a compact row of names so the card fits the phone screen */
  .pv-list { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 0; }
  .pv-list a { flex-direction: row; padding: 7px 13px; border: 1px solid var(--line); border-radius: 10px; }
  .pv-list a:hover { padding-left: 13px; }
  .pv-list b { font-size: 13px; letter-spacing: -0.025em; }
  .pv-list span { display: none; }
  .pv-browser { margin-bottom: 16px; }
  .pv h2 > .pv-num { font-size: 46px; -webkit-text-stroke-width: 1px; translate: 0 -50%; }
  .pv-contact h2 > .pv-num { display: none; }  /* the Inquire title is long; its number would sit on top of it */
}

/* ---------- Phones: the cards as a deck (main.js positions them) ---------- */
.deck-track, .deck-hint { display: none; }
@media (max-width: 640px), (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  html.home.deck { scroll-snap-type: y proximity; }
  .deck-track { display: block; position: relative; transition: height .6s cubic-bezier(.2,.9,.25,1); }
  .deck.deck-follow .deck-track { transition: none; }
  /* Inquire under the closed tabs: a bigger, full card */
  .deck #contact { margin: 0 8px; border-radius: 24px; box-shadow: 0 -14px 34px -14px rgba(32,31,29,.55); overflow: hidden; }
  .deck #contact .contact h2 { font-size: 34px; }
  .deck-snap { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; }
  .deck .day > section.pv:not(#contact) { position: fixed; top: 0; left: 8px; right: 8px; margin: 0; overflow: hidden; opacity: 0;
    transform: translateY(var(--y, 120vh)) scale(var(--s, 1)); transform-origin: top center;
    transition: transform .6s cubic-bezier(.2,.9,.25,1), opacity .55s ease, box-shadow .6s ease; will-change: transform; }
  .deck.deck-in .day > section.pv:not(#contact) { opacity: 1; }
  .deck.deck-follow .day > section.pv:not(#contact) { transition: opacity .55s ease; }
  .deck .day > section.pv.deck-open { box-shadow: 0 -14px 34px -14px rgba(32,31,29,.55); }
  .deck .day > section.pv:not(#contact) > h2 { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  /* All closed: each card shows only its tab, like a closed wallet */
  .deck .day > section.pv:not(#contact) { clip-path: inset(0 0 0 0 round 24px); }
  .deck.deck-closed .day > section.pv:not(#contact) { clip-path: inset(0 0 calc(100% - 66px) 0 round 24px); }
  .deck .day > section.pv:not(#contact) { transition: transform .6s cubic-bezier(.2,.9,.25,1), opacity .55s ease, box-shadow .6s ease, clip-path .55s cubic-bezier(.2,.9,.25,1); }
  .deck-hint { display: block; position: fixed; left: 0; right: 0; z-index: 25; margin: 0; text-align: center; pointer-events: none;
    font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cream); opacity: 0; transition: opacity .4s ease; }
  .deck.deck-in.deck-closed .deck-hint { opacity: .6; transition-delay: .25s; }
  .deck #contact { position: relative; z-index: 30; }
  .deck .day > section.pv:not(#contact) { padding-bottom: 20px; }
  .deck .day > section.pv .pv-sub { margin-bottom: 18px; }
  .deck .day > section.pv .pv-more { margin-top: 18px; }
}


/* Inquire tab: the inquiry form lands just below the menu bar */
#contact { scroll-margin-top: 84px; }
@media (max-width: 860px) { #contact { scroll-margin-top: 112px; } }

/* Phones: seven menu tabs (with Inquire) on one row */
@media (max-width: 640px) {
  .nav-links { margin: 0 -4px; width: calc(100% + 8px); }
  .nav-links a { padding: 8px 4px; font-size: 13px; }
  .nav-links a::after { left: 4px; right: 4px; }
}
@media (max-width: 380px) { .nav-links a { font-size: 12px; padding: 8px 3px; } }

/* Video tab: rows of vertical videos, five across (partial rows are centered); two across on phones */
.reels-row.wrap { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 0; }
.reels-row.wrap .video { width: calc((100% - 4 * 14px) / 5); flex: 0 0 auto; }
@media (max-width: 760px) { .reels-row.wrap .video { width: calc((100% - 14px) / 2); } }

/* About Me: organizations worked with, a full-width row under the photo and story.
   Each logo sits centered above its name; the names line up along the bottom. */
.worked-with { margin-top: 64px; padding-top: 34px; border-top: 1px solid var(--line); text-align: center; }
.worked-with > span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 26px; }
.worked-with ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 32px 56px; }
.worked-with li { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.worked-with li > span { font-size: 17px; font-weight: 600; }
@media (max-width: 600px) { .worked-with ul { gap: 28px 32px; } .worked-with li > span { font-size: 15px; } }
.ww-logo { display: block; height: auto; opacity: .92; }  /* each logo keeps its own shape; the Hillsong circle is the same size in all three */
/* Worked with: names that link to the organization's website */
.worked-with li > a { display: flex; flex-direction: column; align-items: center; gap: 14px; color: inherit; text-decoration: none; transition: opacity .25s ease, transform .25s ease; }
.worked-with li > a > span { font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .25s ease; }
.worked-with li > a:hover { transform: translateY(-2px); }
.worked-with li > a:hover > span { border-color: var(--text); }
@media (max-width: 600px) { .worked-with li > a > span { font-size: 15px; } }
.worked-with li > span { padding-bottom: 2px; border-bottom: 1px solid transparent; }  /* names without a link line up with the linked ones */

/* Video tab: rows of vertical videos as one sideways-scrolling strip (five in view, arrows to see more; swipe on phones) */
.strip-wrap { position: relative; }
.reels-row.strip { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 14px; margin-top: 0; scrollbar-width: none; }
.reels-row.strip::-webkit-scrollbar { display: none; }
.reels-row.strip .video { flex: 0 0 calc((100% - 4 * 14px) / 5); width: auto; scroll-snap-align: start; }
@media (max-width: 760px) { .reels-row.strip .video { flex-basis: calc((100% - 14px) / 2.3); } }
.strip-btn { position: absolute; top: 50%; z-index: 2; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%; cursor: pointer;
  background: rgba(32,31,29,.62); border: 1px solid rgba(243,240,226,.28); color: var(--cream); font: 600 26px/1 var(--font); padding-bottom: 3px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: opacity .25s ease, background .2s ease, transform .2s ease; }
.strip-btn:hover { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); transform: scale(1.06); }
.strip-btn.prev { left: -20px; } .strip-btn.next { right: -20px; }
.strip-btn.off { opacity: 0; pointer-events: none; }
@media (max-width: 760px) { .strip-btn { display: none; } }   /* phones: swipe */

/* Video tab: Travel, Recap Reels and Interviews side by side on one line; the full-width sections below are unchanged.
   Phones: one per row. */
.projects { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.projects .set-tabs button { padding: 6px 12px; }
@media (max-width: 700px) { .projects { grid-template-columns: minmax(0, 1fr); } }
.sports-reel .strip-wrap { margin-top: 14px; }  /* space between the widescreen sports video and its row of reels */

/* ---------- Rings: the Shop download screen and the inquiry forms ----------
   A full-size ring, a small ring inside it that grows until it fills it, a green glow that gets
   brighter as it goes, and a ripple off the outer ring at the end. The rings are drawn by main.js.
   EDIT: --glow is the glow colour. */
.rg { --glow: #22C55E; }
.rg circle { fill: none; stroke: currentColor; stroke-width: 1; }
.rg stop { stop-color: var(--glow); }
.rg .rg-glow { stroke: none; opacity: 0; }
.rg .rg-ripple { stroke: var(--glow); }
.rg-outer { opacity: .5; }
.rg-inner { opacity: .95; }
.rg-ripple { opacity: 0; transform-box: fill-box; transform-origin: center; }
.rg-ripple.go { animation: rg-ripple 1.8s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes rg-ripple { from { opacity: .8; transform: scale(1); } to { opacity: 0; transform: scale(1.3); } }
/* The big counter (↓ 46%) and the two lines of text beside it */
.rg-pct { font-weight: 300; line-height: .8; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rg-pct i { font-style: normal; font-weight: 200; margin-right: .06em; opacity: .75; }
.rg-pct b { font-weight: inherit; }
.rg-msg { display: grid; font-size: 13px; line-height: 1.45; }
.rg-msg b { font-weight: 600; }
.rg-msg span { opacity: .6; }

/* Shop: download screen. The film grain (z-index 40) stays on top of it, like the rest of the site. */
.dl { position: fixed; inset: 0; z-index: 35; color: var(--cream); background: linear-gradient(180deg, #13284A, #0B0F1A 85%);
  opacity: 0; transition: opacity .5s ease; overflow: hidden; }
.dl.show { opacity: 1; }
.dl[hidden] { display: none; }
html.dl-open { overflow: hidden; }
.dl-head { position: absolute; left: clamp(20px, 4vw, 56px); right: 20px; top: clamp(22px, 4vw, 48px); display: flex; align-items: flex-start; gap: 14px clamp(18px, 3vw, 40px); flex-wrap: wrap; }
.dl-pct { font-size: clamp(64px, 10vw, 150px); }
.dl-msg { padding-top: .35em; }
.dl-note { opacity: .6; }
.dl-rings { position: absolute; inset: 0; width: 100%; height: 100%; }
.dl-label { position: absolute; left: 0; top: 0; display: grid; font-size: 11px; line-height: 1.35; white-space: nowrap; transition: opacity .4s ease; will-change: transform; }
.dl-label b { font-weight: 600; }
.dl-label span { opacity: .6; font-variant-numeric: tabular-nums; }
.dl-label span:empty { display: none; }
.dl-foot { position: absolute; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); bottom: clamp(22px, 4vw, 44px); display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; }
.dl-close { background: none; border: 1px solid transparent; color: inherit; font: inherit; font-size: 13px; cursor: pointer; padding: 10px 2px; opacity: .7;
  text-decoration: underline; text-underline-offset: 4px; transition: opacity .3s, background .3s, border-color .3s, padding .3s; }
.dl-close:hover { opacity: 1; }
/* Finished: the Cancel link becomes a Done button */
.dl.done .dl-close { opacity: 1; text-decoration: none; font-weight: 600; padding: 12px 26px; border-radius: 12px; background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }

/* Inquiry forms: while a message sends, the card's fields fade out and the rings take over the card
   (it keeps its size, so nothing on the page jumps) */
form { position: relative; }
form > :not(.fs) { transition: opacity .4s ease .15s; }
form.sending > :not(.fs) { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s .3s; }
form.sending { overflow: hidden; }
form.fs-short { transition: height .5s cubic-bezier(.2,.8,.2,1); }   /* phones: the card shrinks to fit the screen while it sends */
.fs { position: absolute; inset: 0; padding: inherit; color: var(--text); opacity: 0; transition: opacity .4s ease; }
.fs.show { opacity: 1; }
.fs[hidden] { display: none; }
.fs-head { position: relative; z-index: 1; display: flex; align-items: flex-start; gap: 10px 22px; flex-wrap: wrap; }
.fs-pct { font-size: clamp(52px, 5.5vw, 80px); }
.fs-msg { padding-top: .25em; }
.fs-rings { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.fs-again { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .5s ease .4s; }
.fs.done .fs-again { opacity: 1; pointer-events: auto; }
@media (max-width: 520px) { .fs-again { bottom: 22px; } }

/* Inquire page: the form sits right under the header */
.pg-inquire #contact { padding-top: 24px; border-top: 0; }
.pg-inquire .steps { margin-top: 4px; }   /* no heading above them on this page */

/* Home page on a computer: the previews follow the scroll (main.js "Flying previews"), so they move without easing */
.fly .pv-tile, .fly .pv-browser { transition: box-shadow .4s ease; }

/* ---------- Body text: Inter Medium ----------
   Paragraphs, descriptions, captions and lists, the same on every device (loaded from Google Fonts in each page's head).
   Tracking -60 with the font's own kerning ("Metrics"): design apps count tracking in thousandths of an em, so -60 is
   -0.06em. Headlines, the menu, buttons, small labels and form fields stay Helvetica Neue.
   EDIT: --body changes the body font, --body-weight its weight (500 = Medium), --body-tracking its letter spacing. */
:root { --body: "Inter", var(--font); --body-weight: 500; --body-tracking: -0.06em; }
:is(p, li, figcaption, .steps > div):not(.eyebrow, .pv-kicker, .sun-kicker, .rg-pct, .rg-msg, .dl-label, .deck-hint) { font-family: var(--body); letter-spacing: var(--body-tracking); font-kerning: normal; }
/* the weight never outranks a rule that sets its own, so bold words, labels and captions keep theirs */
:where(:is(p, li, figcaption, .steps > div):not(.eyebrow, .pv-kicker, .sun-kicker, .rg-pct, .rg-msg, .dl-label, .deck-hint)) { font-weight: var(--body-weight); }
.steps b { font-family: var(--font); }   /* the 01 / 02 / 03 step numbers stay in Helvetica */

/* Home landing, second version ("aura": index.html?landing=aura). The canvas covers the landing, full width, and fades
   out at the bottom into the page gradient so it carries straight into Video (main.js draws it) */
.aura { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }

/* Home landing, sunrise version (the main landing: data-landing="sunrise" on <html> in index.html). main.js draws the sky, the sun and the fog on the canvas;
   these colours are the fallback without it, and the dark text and sunrise-red accents that read on gold and orange */
html.landing-sunrise, html[data-landing="sunrise"] { --o0: #5E230C; --o1: #A8461A; --o2: #CF6A22; --o3: #E59A55; }
.sunrise-sky { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, #000 88%, transparent 100%); }
html.landing-sunrise .pv-intro h1 em, html.landing-sunrise .pv-intro .eyebrow, html.landing-sunrise .pv-intro .eyebrow .sep { color: #4A1606; }

/* =========================================================
   MOCKUP: the one-screen sunrise home page (sunrise.html; sun.js draws the sun and moves it)
   ========================================================= */
html.sunpage, html.sunpage body { height: 100%; overflow: hidden; }
html.sunpage body { background: #1C0A05; }
.sunpage nav { position: fixed; left: 0; right: 0; top: 0; }
.sun-stage { position: fixed; inset: 0; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }   /* taps respond right away, with no grey flash */
.sun-sky { position: absolute; inset: 0; width: 100%; height: 100%; }
/* The dial: a straight line, a circle for each section. On computers it's on the bright sun, so it's drawn in dark ink
   like the welcome (phones: below) */
.sun-dial { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sun-arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sun-track { fill: none; stroke: rgba(32,31,29,.4); stroke-width: 1.5; }
.sun-progress { fill: none; stroke: #FFCB31; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255,203,49,.7)); }
.sun-dot { position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; color: #201F1D; font: inherit; cursor: pointer; pointer-events: auto; }
.sun-dot i { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #201F1D; background: rgba(255,250,240,.55);
  transition: background .4s ease, transform .4s ease, box-shadow .4s ease; }
.sun-dot i::before { content: ""; position: absolute; inset: -12px; }   /* a bigger area to click */
@media (hover: hover) { .sun-dot:hover i { transform: scale(1.15); } .sun-dot:hover span { opacity: 1; } }   /* mouse only, so a tapped circle doesn't stay enlarged on phones */
.sun-dot.done i { background: rgba(255,203,49,.55); }
.sun-dot.on i { background: #FFCB31; transform: scale(1.3); box-shadow: 0 0 0 6px rgba(255,203,49,.22), 0 0 20px 4px rgba(255,203,49,.6); }
.sun-dot span { position: absolute; left: 0; top: 0; white-space: nowrap; font-size: 14px; font-weight: 600; opacity: .85; transition: opacity .3s ease; }
.sun-dot.on span { opacity: 1; }
/* The panels: the welcome, then each section's preview on frosted glass */
.sun-panel { position: absolute; left: 50%; z-index: 3; width: min(720px, calc(100vw - 32px)); transform: translateX(-50%); padding: 24px 28px 26px; border-radius: 22px;
  color: var(--cream); background: rgba(30,11,5,.58); -webkit-backdrop-filter: blur(16px) saturate(1.1); backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(243,240,226,.14); overflow: auto; opacity: 0; transition: opacity .55s ease; }
.sun-panel.in { opacity: 1; }
/* every section's preview box is the same height (home-sunrise.js sets it, so the dial above it stays put), with what's
   in it centred top to bottom (the auto margins collapse when it's too tall, so it still scrolls from the top) */
.sun-panel:not(.sun-open, [data-step="7"]) { display: flex; flex-direction: column; }
.sun-panel:not(.sun-open) > * { flex-shrink: 0; }
.sun-panel:not(.sun-open, [data-step="7"]) > :first-child { margin-top: auto; }
.sun-panel:not(.sun-open, [data-step="7"]) > :last-child { margin-bottom: auto; }
.sun-panel .sun-more { align-self: flex-start; }
/* a closed panel is gone completely (!important: the Inquire panel's own display: grid / block below would otherwise
   keep it on the page, invisible, on top of the circles), and a panel that's fading in or out can't be clicked */
.sun-panel[hidden] { display: none !important; }
.sun-panel:not(.in) { pointer-events: none; }
/* the welcome sits on the sun, so it reads dark */
.sun-open { width: min(880px, calc(100vw - 32px)); padding: 0; text-align: center; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; color: #201F1D; }
.sun-open h1 { font-size: clamp(42px, 5.6vw, 84px); font-weight: 800; line-height: 1; text-transform: uppercase; letter-spacing: -0.04em; }
.sun-open h1 em { font-style: normal; color: #C2470F; }
.sun-sub { font-size: 17px; line-height: 1.55; opacity: .9; margin: 14px auto 0; max-width: 600px; }
.sun-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sun-actions .btn:not(.btn-primary) { color: #201F1D; border-color: rgba(32,31,29,.35); }
.sun-actions .btn:not(.btn-primary):hover { border-color: #201F1D; }
.sun-kicker { display: flex; gap: 10px; margin: 0 0 8px; font-family: var(--font); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .85; }
.sun-kicker b { color: #FFCB31; letter-spacing: .04em; }
.sun-panel h2 { font-size: clamp(28px, 2.8vw, 40px); font-weight: 700; letter-spacing: -0.04em; }
.sun-panel .sun-sub { margin: 8px 0 0; max-width: none; }
.sun-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 16px; }
.sun-thumbs a, .sun-shot, .sun-product-img { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; text-decoration: none;
  background: rgba(243,240,226,.08) var(--img) center / cover no-repeat; }
.sun-thumbs a::after, .sun-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10,4,2,.72)); opacity: 0; transition: opacity .3s ease; }
.sun-thumbs a span, .sun-shot span { position: absolute; left: 8px; right: 8px; bottom: 6px; z-index: 1; font-size: 11px; font-weight: 600; color: var(--cream); opacity: 0; transition: opacity .3s ease; }
.sun-thumbs a:hover::after, .sun-shot:hover::after, .sun-thumbs a:hover span, .sun-shot:hover span { opacity: 1; }
.sun-more { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 600; text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid rgba(243,240,226,.4); }
.sun-more span { display: inline-block; transition: transform .3s ease; }
.sun-more:hover span { transform: translateX(4px); }
.sun-site { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: center; margin-top: 16px; }
.sun-shot { aspect-ratio: 16 / 10; background-position: center top; }
.sun-list { list-style: none; display: grid; gap: 10px; }
.sun-list li { font-size: 14px; line-height: 1.4; opacity: .9; }
.sun-list b { display: block; font-family: var(--font); font-size: 15px; }
.sun-product { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 10px; border-radius: 14px; border: 1px solid rgba(243,240,226,.2); text-decoration: none; }
.sun-product-img { width: 46%; flex: none; aspect-ratio: 1920 / 696; }
.sun-product-info { display: grid; gap: 4px; }
.sun-product-info b { font-size: 30px; font-weight: 800; line-height: 1; }
.sun-product-info span { font-size: 14px; opacity: .8; }
.sun-facts { display: flex; gap: 32px; margin-top: 14px; }
.sun-facts span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.sun-panel form { margin-top: 14px; padding: 18px; background: rgba(243,240,226,.06); }
.sun-panel textarea { min-height: 70px; }
/* Inquire: the heading on the left and the form beside it, so it fits in the sky above the sun */
.sun-panel[data-step="7"] { width: min(960px, calc(100vw - 32px)); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 0 28px; align-content: center; }
.sun-panel[data-step="7"] > :not(form) { grid-column: 1; }
.sun-panel[data-step="7"] form { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; gap: 8px; padding: 12px 14px; }
.sun-panel[data-step="7"] { padding: 18px 22px; }
.sun-panel[data-step="7"] label { gap: 4px; }
.sun-panel[data-step="7"] input, .sun-panel[data-step="7"] select, .sun-panel[data-step="7"] textarea { padding: 9px 12px; }
.sun-panel[data-step="7"] textarea { min-height: 48px; }
.sun-panel[data-step="7"] .btn-lg { padding: 11px 22px; }
@media (max-width: 640px) {
  .sun-thumbs { grid-template-columns: repeat(2, 1fr); }
  .sun-site { grid-template-columns: 1fr; }
  .sun-panel[data-step="7"] { display: block; }
  .sun-panel[data-step="7"] form { margin-top: 14px; }
  .sun-panel { padding: 18px; }
  .sun-open h1 { font-size: 40px; }
}
/* Phones: the dial sits on the sky under the menu, so it's drawn in light ink */
.sun-dial.on-sky .sun-track { stroke: rgba(243,240,226,.5); }
.sun-dial.on-sky .sun-dot { color: var(--cream); }
.sun-dial.on-sky .sun-dot i { border-color: var(--cream); }
.sun-dial.on-sky .sun-dot:not(.on, .done, .hint) i { background: rgba(40,14,6,.4); }
/* Phones: every name shows on the dial, a little smaller */
@media (max-width: 640px), (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .sun-dot span { font-size: 12px; }
  .sun-dot i { left: -8px; top: -8px; width: 16px; height: 16px; }
  .sun-dot i::before { inset: -14px; }   /* a fingertip-sized area to tap (44px) */
}

/* MOCKUP, lens version (sunrise.html): the home page's sunrise as one screen. The dial on the left picks a section;
   the text on the sun (right) changes to that section's preview. Text reads dark on the bright sun. */
html.sun-lens .sun-left { position: absolute; left: 0; top: 0; bottom: 0; width: 46%; z-index: 2; grid-column: auto; grid-row: auto; }
html.sun-lens .sun-left .dial { position: absolute; left: 50%; top: 50%; margin: -150px 0 0 -150px; }
html.sun-lens .sun-right { position: absolute; left: 46%; right: 0; top: 0; bottom: 0; z-index: 3; display: grid; align-items: center;
  padding: 84px clamp(20px, 6vw, 110px) 70px 0; pointer-events: none; }
html.sun-lens .sun-panel { position: relative; left: auto; transform: none; grid-area: 1 / 1; width: auto; max-width: 600px; max-height: calc(100vh - 160px);
  padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--text); overflow: auto;
  pointer-events: auto; opacity: 0; translate: 0 14px; transition: opacity .45s ease, translate .6s cubic-bezier(.2,.8,.2,1); }
html.sun-lens .sun-panel.in { opacity: 1; translate: 0 0; }
html.sun-lens .sun-open { text-align: left; }
html.sun-lens .sun-open .eyebrow, html.sun-lens .sun-open .eyebrow .sep, html.sun-lens .sun-kicker b, html.sun-lens .sun-open h1 em { color: #4A1606; }
html.sun-lens .sun-open h1 { font-size: clamp(40px, 4.6vw, 70px); }
html.sun-lens .sun-sub { margin-left: 0; opacity: .92; }
html.sun-lens .sun-actions { justify-content: flex-start; }
html.sun-lens .sun-actions .btn:not(.btn-primary), html.sun-lens .sun-more, html.sun-lens .sun-product { border-color: var(--line); }
html.sun-lens .sun-thumbs a, html.sun-lens .sun-shot, html.sun-lens .sun-product-img { background-color: rgba(32,31,29,.08); box-shadow: 0 16px 30px -20px rgba(60,20,5,.7); }
html.sun-lens .sun-panel h2 { font-size: clamp(32px, 3.2vw, 48px); }
/* the dial's labels: dark the whole time, like the headline */
html.sun-lens .dial a:not(.active) { color: var(--ink); }
/* Inquire: the form under its heading in this column */
html.sun-lens .sun-panel[data-step="7"] { display: block; width: auto; padding: 0; }
html.sun-lens .sun-panel[data-step="7"] form { margin-top: 14px; }
.sun-chips { display: none; }
/* Phones: the dial is replaced by a row of section buttons along the bottom; the text sits on a light frosted card */
@media (max-width: 640px), (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  html.sun-lens .sun-left { display: none; }
  html.sun-lens .sun-right { left: 0; padding: 92px 14px 84px; align-items: start; }
  html.sun-lens .sun-panel { max-width: none; max-height: calc(100vh - 186px); padding: 18px; border-radius: 18px;
    background: rgba(255,236,214,.62); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
  html.sun-lens .sun-chips { display: flex; position: absolute; left: 0; right: 0; bottom: 18px; z-index: 4; gap: 8px; overflow-x: auto; padding: 0 14px; scrollbar-width: none; }
  html.sun-lens .sun-chips::-webkit-scrollbar { display: none; }
  html.sun-lens .sun-chips button { flex: none; padding: 9px 14px; border-radius: 10px; border: 1px solid rgba(32,31,29,.22); background: rgba(255,236,214,.6);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); font: 600 13px var(--font); cursor: pointer; }
  html.sun-lens .sun-chips button.on { background: var(--accent); border-color: var(--accent); color: var(--cream); }
}

/* MOCKUP, lens version (sunrise.html): the menu's section links are dark; the JUDE ENDSLEY. logo stays white.
   (The arc version, sunrise-arc.html, keeps white links.) */
html.sun-lens nav .nav-links a { color: var(--ink); }
html.sun-lens nav .nav-links a:hover { color: var(--ink); opacity: .7; }
/* MOCKUPS: a little more film grain over the sunrise (the rest of the site stays at .22). EDIT: the opacity */
html.sunpage body::after { opacity: .42; }

/* =========================================================
   Every tab (Video, Design, Website, Photo, Shop, About Me, Inquire): a solid background in the brand black, with
   warm gold accents and the same film grain as the home page. (The home page keeps its sunrise sky.)
   EDIT: --page-bg (also in each tab page's <head>, so there's no flash of another colour while it loads)
   ========================================================= */
html.pg { --page-bg: #1C0A05; --g1: var(--page-bg); background: var(--page-bg); }   /* the sky's darkest colour, shown behind the sky while it loads */
html.pg.ink-light { --accent-text: #FFCB31; --bg: rgba(243,240,226,.06); }
html.pg body::before { background: var(--page-bg); }
html.pg body::after { opacity: .42; }
/* Video tab: the arrows on the sideways rows, in a warm dark instead of navy */
html.pg .strip-btn { background: rgba(30,10,4,.62); }
html.pg .strip-btn:hover { background: var(--btn); }
/* Shop: the download screen in the same warm sky */
html.pg .dl { background: linear-gradient(180deg, #5E230C, #1C0A05 85%); }

/* Home: the intro sentence. Computers: two lines, breaking after "photography,". Phones: smaller, so it fits on three lines */
.sun-open .sun-sub { max-width: 640px; margin-left: auto; margin-right: auto; }
@media (max-width: 640px), (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .sun-br { display: none; }
  .sun-open .sun-sub { font-size: clamp(13px, 4vw, 15px); line-height: 1.5; }   /* scales with the phone's width, so it stays on three lines */
}


/* Website tab: "Like this website?" A live copy of the home page in a computer window and on a phone
   (main.js loads and scales them; the screenshots show until they're ready). Narrow windows show just the computer,
   phones just the phone. */
.this-site h2 em { display: block; font-style: normal; color: var(--accent-text); }
.this-site .section-head .btn { margin-top: 18px; }
.live-site { display: grid; grid-template-columns: 1fr 23%; gap: 28px; align-items: end; }
.live-screen { position: relative; overflow: hidden; background: #2B0F06 center top / cover no-repeat; }
.live-screen iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.live-screen iframe.ready { opacity: 1; }
.live-browser { border-radius: var(--radius); border: 1px solid var(--line); background: rgba(20,7,3,.72); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(32,31,29,.85); }
.live-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.live-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(243,240,226,.22); }
.live-bar span { flex: 1; text-align: center; margin-right: 51px; font-size: 12px; color: var(--muted); }
.live-browser .live-screen { aspect-ratio: 1440 / 900; }
.live-phone { padding: 8px; border-radius: 34px; background: #140704; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(32,31,29,.85); }
.live-phone .live-screen { aspect-ratio: 390 / 844; border-radius: 26px; }
.live-hint { margin-top: 22px; text-align: center; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .live-site { grid-template-columns: 1fr; } .live-phone { display: none; } }
@media (max-width: 640px), (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .live-site { grid-template-columns: 1fr; justify-items: center; }
  .live-browser { display: none; }
  .live-phone { display: block; width: min(300px, 80vw); }
}

/* Home, Website preview: this site on a computer with a phone in front of it (pictures; the Website tab has the live
   versions). The phone overlaps the computer's bottom-right corner. */
.sun-devices { display: block; text-decoration: none; }
.sun-devices-art { position: relative; display: block; padding: 0 10% 6% 0; transition: transform .35s ease; }
.sun-devices:hover .sun-devices-art { transform: translateY(-3px); }
.sun-laptop { display: block; border-radius: 8px; overflow: hidden; border: 1px solid rgba(243,240,226,.22); background: rgba(20,7,3,.8);
  box-shadow: 0 18px 36px -18px rgba(32,31,29,.8); }
.sun-laptop::before { content: ""; display: block; height: 12px; border-bottom: 1px solid rgba(243,240,226,.14);   /* the window's bar, with its three dots */
  background: radial-gradient(circle 2.5px at 9px 50%, rgba(243,240,226,.4) 95%, transparent),
              radial-gradient(circle 2.5px at 17px 50%, rgba(243,240,226,.4) 95%, transparent),
              radial-gradient(circle 2.5px at 25px 50%, rgba(243,240,226,.4) 95%, transparent); }
.sun-laptop::after { content: ""; display: block; aspect-ratio: 1440 / 900; background: #2B0F06 var(--img) center top / cover no-repeat; }
.sun-phone { position: absolute; right: 0; bottom: 0; width: 24%; aspect-ratio: 390 / 844; border-radius: 13px; border: 3px solid #140704;
  outline: 1px solid rgba(243,240,226,.22); background: #2B0F06 var(--img) center top / cover no-repeat; box-shadow: -10px 16px 30px -12px rgba(32,31,29,.8); }
.sun-devices-cap { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; opacity: .85; }


/* About Me: with no photo, the story runs in one column at a comfortable reading width */
.about:not(:has(.portrait)) { grid-template-columns: 1fr; }
.about:not(:has(.portrait)) .about-text { max-width: 780px; }
/* About Me with a photo: the heading ("My story" and the headline) on its own row, the photo beside the story, and the
   details (based in, email, programs) below the story. On computers the photo runs exactly from the top of the
   letters in the story's first line to the baseline of its last line, so the two start and end together; its shape
   follows the text, and the text grows with the window to keep that close to 4:5.
   Phones: the photo (4:5) first, then the heading, the story and the details. */
.about { row-gap: 0; --story-size: clamp(15px, 1.7vw, 20px); }   /* EDIT: the story's text size on computers */
.about:has(.portrait) { grid-template-areas: ". head" "photo story" ". details"; align-items: start; }
.about:has(.portrait) .about-head { grid-area: head; }
.about:has(.portrait) .portrait { grid-area: photo; }
.about:has(.portrait) .about-story { grid-area: story; }
.about:has(.portrait) .about-details { grid-area: details; }
@media (min-width: 861px) {
  .about:has(.portrait) .about-story > p { font-size: var(--story-size); }
  .about:has(.portrait) .about-story > p:last-child { margin-bottom: 0; }
  .about:has(.portrait) .about-details .facts { margin-top: 46px; }
  /* em here = the story's text size, so the nudges stay right as it grows: the space above the first line's letters,
     and below the last line's baseline (measured for Inter; a new body font needs new numbers) */
  .about:has(.portrait) .portrait { font-size: var(--story-size); align-self: stretch; aspect-ratio: auto; margin: calc(.342em - .55px) 0 calc(.381em + .55px);
    background-position: center 30%; }
}
@media (max-width: 860px) {
  .about:has(.portrait) { grid-template-areas: "photo" "head" "story" "details"; }
  .about:has(.portrait) .portrait { margin: 0 0 36px; }
}
/* About Me: the label above the programs, styled like the "Based in" / "Travel" labels */
.tools-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
/* About Me: the story's lines a little closer together (EDIT: 1.45; the site's usual spacing is 1.6) */
.about-text > p:not(.eyebrow) { line-height: 1.45; }

/* About Me, "Worked with" on phones: two even columns, every logo and name centred in its column (so each column
   shares one centre line), rows lined up along the bottom */
@media (max-width: 600px) {
  .worked-with ul { display: grid; grid-template-columns: 1fr 1fr; align-items: end; justify-items: center; gap: 32px 16px; }
  .worked-with li, .worked-with li > a { align-items: center; text-align: center; }
  .worked-with .ww-logo { max-width: 100%; }
}

/* Home on phones: "Start a project" and "See work" side by side, with "Countdown Opener Video" centred below them,
   so the welcome is shorter and stays clear of the dial */
@media (max-width: 640px), (max-width: 1024px) and (hover: none) and (pointer: coarse) {
  .sun-open .sun-actions { display: grid; grid-template-columns: auto auto; justify-content: center; gap: 10px; }
  .sun-open .sun-actions .btn-primary { order: 1; }
  .sun-open .sun-actions [data-go="1"] { order: 2; }
  .sun-open .sun-actions a[href="shop.html"] { order: 3; grid-column: 1 / -1; justify-self: center; }
}
/* ...and on shorter phone screens, slimmer buttons and spacing (the welcome shrinks a little more only if it must) */
@media (max-width: 640px) and (max-height: 760px), (max-width: 1024px) and (hover: none) and (pointer: coarse) and (max-height: 760px) {
  .sun-open .sun-actions { margin-top: 18px; }
  .sun-open .sun-actions .btn { padding: 11px 20px; }
}
.sun-open { transform-origin: 50% 0; }

/* =========================================================
   Brand colours. EDIT HERE to change them site-wide:
   black #201F1D (text on light, overlays, shadows), white #F3F0E2 (light text, icons),
   yellow #FFCB31 (gold highlights: small labels, "Well told.", numbers, the lit-up dial)
   ========================================================= */
html.sunpage.ink-light { --accent-text: #FFCB31; }

/* ---------- Menu bar: the cream Moments wordmark ----------
   The menu stays see-through on every page (it blurs what's behind it). EDIT: the logo's height, for computers here
   and for phones below */
nav .logo { display: block; line-height: 0; }
nav .logo img { display: block; height: 17px; width: auto; }
nav .logo::after { display: none; }   /* the logo is a picture now, so no bar under it */
@media (max-width: 860px) { nav .logo img { height: 15px; } }
@media (max-width: 440px) { nav .logo img { height: 14px; } }

/* Footer: the cream Moments wordmark on its own line above the copyright and links. EDIT: its height */
.foot-logo { flex-basis: 100%; display: block; line-height: 0; margin-bottom: 6px; }
.foot-logo img { display: block; height: 24px; width: auto; }


/* Home: the hint that the circles can be clicked. The Video circle turns yellow and
   sends out a soft glow: solid yellow in the middle, fading to nothing at its edge, and fading away as it spreads.
   EDIT: the colour, the speed (1.8s) and how far it spreads (scale(4)) */
.sun-dot i::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: radial-gradient(circle closest-side, #FFCB31 0%, #FFCB31 30%, rgba(255,203,49,.45) 65%, rgba(255,203,49,0) 100%); }
.sun-dot.hint i { background: #FFCB31; box-shadow: 0 0 16px 3px rgba(255,203,49,.55); }
.sun-dot.hint i::after { animation: dot-echo 1.8s ease-out infinite; }
.sun-dot.hint span { opacity: 1; }
@keyframes dot-echo { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .sun-dot.hint i { animation: none; box-shadow: 0 0 0 6px rgba(255,203,49,.25), 0 0 18px 4px rgba(255,203,49,.6); }
  .sun-dot.hint i::after { animation: none; }
}

/* Swiping photos (main.js "fluid"): the full-size viewer and the Photo slideshow are each a strip of three photos that
   follows the finger */
.lightbox { touch-action: none; overflow: hidden; }
.lb-track, .viewer-track { position: absolute; left: 0; top: 0; width: 300%; height: 100%; display: flex; will-change: transform; }
.lb-slide { width: calc(100% / 3); height: 100%; display: grid; place-items: center; padding: 40px 70px; box-sizing: border-box; }
.lb-slide img, .viewer-img { -webkit-user-drag: none; -webkit-user-select: none; user-select: none; }
.lightbox button { z-index: 2; }
@media (max-width: 600px) { .lb-slide { padding: 70px 12px; } }
.viewer-stage { touch-action: pan-y; }
.viewer-track { z-index: 1; }
.viewer-slide { width: calc(100% / 3); height: 100%; display: flex; align-items: center; justify-content: center; }
.viewer-prev, .viewer-next { z-index: 3; }

/* Inquire: the form on its own, centred */
.contact:not(:has(> div)) { grid-template-columns: minmax(0, 760px); justify-content: center; }

/* =========================================================
   SITE DESIGN (2026-10-28): one brand, each page designed for its work
   One palette (brand black, cream, Jude's yellow), one type system (Helvetica Neue headlines, Inter body), 12px
   corners, the same buttons and motion everywhere; what changes from page to page is the composition.
   ========================================================= */
:root { --accent: #FFCB31; --wide: 1320px; }
/* the menu: Inquire is the one action, so it's a button; the others are plain links */
.nav-links a.nav-cta { color: var(--btn); border: 1px solid rgba(255,203,49,.65); padding: 7px 16px; margin-left: 6px; }
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover, .nav-links a.nav-cta.current { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); transform: none; }
@media (max-width: 860px) { .nav-links a.nav-cta { padding: 6px 10px; margin-left: 0; } }
/* a quiet text link, for the second choice next to a button */
.text-link { display: inline-flex; gap: 8px; align-items: baseline; font-weight: 600; font-size: 15px; text-decoration: none; padding-bottom: 3px;
  border-bottom: 1px solid rgba(243,240,226,.4); transition: border-color .2s ease; }
.text-link:hover { border-color: currentColor; }
.text-link span { transition: transform .25s ease; }
.text-link:hover span { transform: translateX(3px); }
.card:hover { box-shadow: 0 20px 50px -20px rgba(255,203,49,.25); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,203,49,.6); } 100% { box-shadow: 0 0 0 22px rgba(255,203,49,0); } }

/* ---------- HOME: the opening screen ----------
   The headline centred at the top, the preview window in the middle (16:9; each page's work in its own shape), the dial
   under it, and the sun rising at the bottom of the screen (home-sunrise.js draws it where .moment-sun sits).
   EDIT: --dome (how much of the sun shows), --sun-d (how big it is) */
html.home body { background: var(--bg); }
html.home body::after { opacity: .42; }
html.home nav { position: fixed; left: 0; right: 0; top: 0; }
.home-hero { --dome: clamp(104px, 17vh, 200px); --sun-d: min(66vw, 980px);
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  padding: 104px 0 calc(var(--dome) + 6px); overflow: hidden; background: #1C0A05; border: 0; }
.home-hero .sun-sky { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.moment-sun { position: absolute; left: 50%; top: calc(100% - var(--dome)); width: var(--sun-d); aspect-ratio: 1; transform: translateX(-50%);
  visibility: hidden; pointer-events: none; }
.home-stack { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 30px; text-align: center; }
.home-kicker { font: 600 12px/1.5 var(--font); letter-spacing: .16em; text-transform: uppercase; color: rgba(243,240,226,.8); margin-bottom: 16px; }
.home-kicker span { color: var(--btn); margin: 0 .45em; }
.home-intro h1 { font-size: clamp(40px, 4.8vw, 76px); font-weight: 800; line-height: .95; letter-spacing: -0.045em; text-transform: uppercase; }
.home-intro h1 em { font-style: normal; color: var(--btn); }
.home-offer { margin: 14px auto 0; max-width: 54em; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.5; color: rgba(243,240,226,.9); }
.home-actions { display: flex; align-items: center; justify-content: center; gap: 14px 24px; margin-top: 22px; flex-wrap: wrap; }
.home-avail { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; color: rgba(243,240,226,.75); }
.home-avail i { width: 7px; height: 7px; border-radius: 50%; background: var(--btn); box-shadow: 0 0 0 4px rgba(255,203,49,.18); }
/* the preview window: as big as fits between the headline and the dial (EDIT: its widest, 760px) */
.moments { display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; }
.moment-window { position: relative; width: min(100%, 760px, max(440px, calc((100svh - var(--dome) - 420px) * 16 / 9))); }
.moment-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #170A05; container-type: inline-size;
  border: 1px solid rgba(243,240,226,.12); box-shadow: 0 40px 90px -40px rgba(8,2,1,.95), 0 0 70px -20px rgba(255,190,110,.25); }
.moment { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #170A05 center / cover no-repeat; opacity: 0;
  transition: opacity .8s ease; }
.moment.fit-contain { object-fit: contain; background-color: #0B0705; }   /* a wide clip, shown whole */
.moment.on { opacity: 1; z-index: 1; }
div.moment.on:not(.moment-card) { animation: moment-push 7s ease-out both; }   /* a picture drifts in slowly */
@keyframes moment-push { from { transform: scale(1.04); } to { transform: scale(1); } }
/* the little About Me and Inquire pages (sized to the window, so they fit at any size) */
.moment-card { display: grid; background: #201F1D; text-align: left; }
.mc-about { display: grid; grid-template-columns: 38% 1fr; height: 100%; }
.mc-photo { background: var(--bg-2) center 25% / cover no-repeat; }
.mc-text { display: flex; flex-direction: column; justify-content: center; gap: 2.4cqw; padding: 0 7cqw; }
.mc-text b { font-size: 6.4cqw; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.mc-text b em, .mc-inquire b em { font-style: normal; color: var(--btn); }
.mc-text > span { font-family: var(--body); letter-spacing: var(--body-tracking); font-weight: 500; font-size: max(12px, 2.4cqw); line-height: 1.5; color: rgba(243,240,226,.85); }
.mc-text .text-link { align-self: flex-start; font-size: max(12px, 2.2cqw); }
.mc-inquire { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.6cqw; height: 100%; padding: 0 8cqw; text-align: center;
  background: radial-gradient(120% 90% at 50% 110%, rgba(255,170,80,.28), rgba(32,31,29,0) 60%), #201F1D; }
.mc-inquire b { font-size: 7.4cqw; font-weight: 800; letter-spacing: -0.045em; line-height: 1; text-transform: uppercase; }
.mc-inquire > span { font-family: var(--body); letter-spacing: var(--body-tracking); font-weight: 500; font-size: max(12px, 2.3cqw); color: rgba(243,240,226,.85); }
/* what's showing, and a link to that page (over the corner of the window) */
.moment-cap { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: baseline; gap: 4px 10px; flex-wrap: wrap; max-width: calc(100% - 24px);
  padding: 8px 13px; border-radius: 10px; background: rgba(20,10,6,.64); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  text-decoration: none; font-size: 13px; text-align: left; transition: opacity .3s ease; }
.moment-cap b { font-weight: 700; }
.moment-cap span { color: rgba(243,240,226,.75); font-family: var(--body); letter-spacing: var(--body-tracking); font-weight: 500; }
.moment-cap i { font-style: normal; color: var(--btn); transition: transform .25s ease; }
.moment-cap:hover i { transform: translateX(4px); }
.moment-cap.swap { animation: cap-in .6s ease both; }
.moment-window.is-card .moment-cap { opacity: 0; pointer-events: none; }
@keyframes cap-in { from { opacity: 0; transform: translateY(6px); } }
/* the dial: one circle per page, named like the menu; the yellow line fills to the one that's showing and on to the next */
.moment-dial { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); width: min(100%, 680px); height: 18px; margin-bottom: 26px; }
.md-track { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 8.25px; height: 1.5px; background: rgba(243,240,226,.38); }
.md-fill { position: absolute; inset: 0; background: var(--btn); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 8px rgba(255,203,49,.6); }
.md-dot { position: relative; display: flex; justify-content: center; height: 18px; padding: 0; border: 0; background: none; color: var(--text);
  font: 600 13px/1 var(--font); cursor: pointer; }
.md-dot i { position: relative; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--text); background: rgba(40,14,6,.6);
  transition: background .4s ease, border-color .4s ease, transform .4s ease, box-shadow .4s ease; }
.md-dot i::before { content: ""; position: absolute; inset: -12px; }   /* a bigger area to click */
.md-dot span { position: absolute; left: 50%; top: 30px; transform: translateX(-50%); white-space: nowrap; opacity: .8; transition: opacity .3s ease; }
.md-dot.done i { background: rgba(255,203,49,.6); }
.md-dot.on i { background: var(--btn); border-color: var(--btn); transform: scale(1.25); box-shadow: 0 0 0 5px rgba(255,203,49,.2), 0 0 18px 3px rgba(255,203,49,.55); }
.md-dot.on span, .md-dot:hover span { opacity: 1; }
@media (hover: hover) { .md-dot:hover i { transform: scale(1.15); } .md-dot.on:hover i { transform: scale(1.25); } }
.md-dot:focus-visible { outline: none; }
.md-dot:focus-visible i { outline: 2px solid var(--btn); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { div.moment.on, .moment-cap.swap { animation: none; } .moment { transition: none; } }
/* phones: the headline on two lines, the window the full width, every other name above the dial so they all fit */
@media (max-width: 640px) {
  .home-hero { --dome: clamp(90px, 15vh, 130px); --sun-d: 112vw; padding-top: 112px; }
  .home-stack { gap: 26px; }
  .home-kicker { font-size: 11px; letter-spacing: .12em; }
  .home-intro h1 { font-size: clamp(40px, 11.5vw, 56px); }
  .home-offer { font-size: 15px; }
  .moment-window { width: 100%; }
  .moment-dial { margin-top: 24px; }
  .md-dot { font-size: 11px; }
  .md-dot i { width: 16px; height: 16px; }
  .md-dot:nth-of-type(even) span { top: -22px; }
  .md-track { top: 7.25px; }
  .moment-cap { font-size: 12px; padding: 6px 10px; left: 8px; bottom: 8px; }
}
/* ---------- HOME: below the sunrise ---------- */
.home-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 52px; }
.home-head h2 { font-size: clamp(38px, 4.8vw, 68px); font-weight: 800; letter-spacing: -0.04em; }
.home-head-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; font-weight: 600; }
.home-head-links a { text-decoration: none; color: var(--muted); transition: color .2s ease; }
.home-head-links a:hover { color: var(--text); }
/* selected work: two staggered columns, each piece at the size and shape that suits it */
.selected { border-top: 0; padding: 120px 0 72px; }
.sel-cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(24px, 4vw, 56px); align-items: start; }
.sel-col { display: flex; flex-direction: column; gap: 76px; }
.sel-col + .sel-col { padding-top: 170px; }
.sel { display: block; text-decoration: none; color: inherit; }
.sel-media { position: relative; display: block; overflow: hidden; border-radius: 12px; background: var(--bg-2); }
.sel-media > img, .sel-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.sel:hover .sel-media > img, .sel:hover .sel-media > video { transform: scale(1.03); }
.r169 { aspect-ratio: 16 / 9; } .r43 { aspect-ratio: 4 / 3; } .r45 { aspect-ratio: 4 / 5; } .r11 { aspect-ratio: 1; } .r1610 { aspect-ratio: 16 / 10; }
/* this website, in a browser window */
.sel-browser { background: #141311; border: 1px solid rgba(243,240,226,.14); }
.sel-browser .sb-bar { position: absolute; left: 0; right: 0; top: 0; z-index: 1; height: 26px; display: flex; gap: 6px; align-items: center; padding: 0 12px;
  background: #1A1917; border-bottom: 1px solid rgba(243,240,226,.1); }
.sel-browser .sb-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(243,240,226,.22); }
.sel-browser > img { top: 26px; height: calc(100% - 26px); object-position: top; }
.sel-cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-top: 18px; }
.sel-cap b { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.sel-cap span { color: var(--muted); font-size: 14px; font-family: var(--body); letter-spacing: var(--body-tracking); font-weight: 500; }
.sel:hover .sel-cap b { color: var(--btn); }
@media (max-width: 760px) {
  .selected { padding: 88px 0 48px; }
  .sel-cols { display: flex; flex-direction: column; gap: 52px; }
  .sel-col { display: contents; }
  .s1 { order: 1; } .s2 { order: 2; } .s3 { order: 3; } .s4 { order: 4; } .s5 { order: 5; } .s6 { order: 6; }
  .s2 .sel-media { aspect-ratio: 4 / 4.6; }
}
/* what I do: four lines, one per service, each leading to its work */
.home-services { padding: 88px 0 96px; border-top: 0; }
.svc { list-style: none; border-top: 1px solid var(--line); }
.svc li { border-bottom: 1px solid var(--line); font-family: var(--font); letter-spacing: 0; }
.svc a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; align-items: center; gap: 12px 32px; padding: 32px 0; text-decoration: none; }
.svc b { font-size: clamp(26px, 3.1vw, 44px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; transition: color .25s ease; }
.svc span { color: var(--muted); font-size: 16px; line-height: 1.5; font-family: var(--body); letter-spacing: var(--body-tracking); font-weight: 500; }
.svc i { font-style: normal; font-size: 26px; color: var(--btn); transition: transform .3s ease; }
.svc a:hover b { color: var(--btn); }
.svc a:hover i { transform: translateX(6px); }
.svc-shop { margin-top: 30px; color: var(--muted); font-size: 15px; }
.svc-shop a { color: var(--text); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(243,240,226,.4); padding-bottom: 2px; }
.svc-shop a:hover { border-color: currentColor; }
@media (max-width: 760px) {
  .svc a { grid-template-columns: minmax(0, 1fr) auto; padding: 24px 0; }
  .svc span { grid-column: 1; grid-row: 2; font-size: 15px; }
  .svc i { grid-column: 2; grid-row: 1 / span 2; }
}
/* a little about me */
.home-about { padding: 40px 0 96px; border-top: 0; }
.home-about .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.ha-photo { aspect-ratio: 4 / 5; border-radius: 12px; background: var(--bg-2) center / cover no-repeat; width: 100%; max-width: 440px; }
.ha-text h2 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; letter-spacing: -0.04em; }
.ha-text p { margin: 24px 0 28px; color: rgba(243,240,226,.86); font-size: 18px; line-height: 1.6; max-width: 32em; }
@media (max-width: 760px) {
  .home-about .wrap { grid-template-columns: 1fr; }
  .ha-photo { max-width: 340px; }
}
/* the last word: start a project */
.home-cta { padding: 96px 0 132px; }
.home-cta .wrap { display: grid; justify-items: start; }
.home-cta h2 { font-size: clamp(46px, 7.4vw, 112px); font-weight: 800; letter-spacing: -0.045em; line-height: .95; text-transform: uppercase; }
.home-cta p { color: rgba(243,240,226,.8); font-size: 18px; margin: 22px 0 32px; }
/* the headline's words rise in one by one, as on the other pages (main.js wraps them) */
.home-intro h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.home-intro h1 .w > span { display: inline-block; transform: translateY(105%); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
html.from-transition .home-intro h1 .w > span { animation: none; transform: none; }
@media (prefers-reduced-motion: reduce) { .home-intro h1 .w > span { transform: none; animation: none; } }
/* the sunrise fades into the brand black below it */
.home-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 48px; pointer-events: none;
  background: linear-gradient(rgba(32,31,29,0), var(--bg)); }

/* ---------- TAB PAGES: the header ----------
   Each page opens with its headline, big and on the left, then goes straight to the work (no centred titles, glows or
   scrolling marquees). What follows the headline is designed for that page's work. */
.hero.ph { padding: 76px 0 52px; border: 0; }
.hero.ph .wrap { text-align: left; }
.hero.ph h1 { margin: 0; max-width: 13ch; font-size: clamp(46px, 7.4vw, 116px); font-weight: 800; letter-spacing: -0.045em; line-height: .95; }
.hero.ph h1 em { font-style: normal; color: var(--btn); }
.hero.ph + section, .hero.ph + section.page-top { border-top: 0; padding-top: 8px; }
@media (max-width: 640px) { .hero.ph { padding: 44px 0 32px; } }

/* VIDEO: the films lead at full width, then pairs of projects at different widths, then the vertical reels */
.film-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 80px 32px; }
.film-grid > .p-lead, .film-grid > .span-all { grid-column: 1 / -1; }
.film-grid > .p-7 { grid-column: span 7; } .film-grid > .p-5 { grid-column: span 5; } .film-grid > .p-6 { grid-column: span 6; }
.film-grid > .p-4 { grid-column: span 4; }   /* three films in a row: same size, so the row has no gaps */
.film-grid > .p-lead .proj-head h3 { font-size: clamp(30px, 3.4vw, 46px); }
.film-grid > .p-lead .set-tabs { margin-top: 18px; }
.film-grid .proj-head h3 { font-size: clamp(22px, 2vw, 28px); }
.film-grid > .span-all .proj-head h3 { font-size: clamp(24px, 2.4vw, 32px); }
@media (max-width: 900px) { .film-grid { gap: 56px 24px; } .film-grid > * { grid-column: 1 / -1 !important; } }

/* DESIGN: the headline is the biggest type on the site; the two brand identities run full width, and the three
   collections (thumbnails, social graphics, sports) sit beside their titles, which stay in view as you scroll */
.hero.ph-design h1 { font-size: clamp(52px, 9vw, 144px); max-width: 10ch; }
.gallery.split .feature::before { content: none; }
.gallery.split .feature:not(.collection) .proj-head h3 { font-size: clamp(30px, 3.6vw, 48px); }
.gallery.split .feature.collection { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); column-gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery.split .feature.collection > * { grid-column: 2; }
.gallery.split .feature.collection > .proj-head { grid-column: 1; grid-row: 1 / span 30; position: sticky; top: 96px; margin-bottom: 0; }
.gallery.split .feature.collection .proj-head h3 { font-size: clamp(24px, 2.4vw, 32px); }
@media (max-width: 900px) {
  .gallery.split .feature.collection { display: block; }
  .gallery.split .feature.collection > .proj-head { position: static; margin-bottom: 20px; }
}

/* WEBSITE: the finished website comes first, as large as it goes, then what it is and the button */
.ph-website + .this-site { padding-top: 8px; }
.this-site .live-site { margin-bottom: 88px; }
.this-site .section-head { align-items: start; margin-bottom: 0; }

/* PHOTO: the header is a photograph, full width; the sets and the slideshow follow */
.hero.ph-photo { position: relative; display: flex; align-items: flex-end; min-height: min(78vh, 820px); padding: 0 0 60px; background: var(--bg-2); }
.hero.ph-photo::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;   /* the photo, a little brighter (EDIT: brightness) */
  background: var(--img) center 40% / cover no-repeat; filter: brightness(1.1); }   /* EDIT: the 40% moves the photo up or down in the frame */
.hero.ph-photo::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;   /* a soft fade only along the bottom, behind the title */
  background: linear-gradient(180deg, rgba(32,31,29,0) 0%, rgba(32,31,29,0) 58%, rgba(32,31,29,.55) 100%); }
.hero.ph-photo .wrap { position: relative; z-index: 2; width: 100%; }
.hero.ph-photo h1 { text-shadow: none; }
.ph-photo + #gallery { padding-top: 40px; }
#gallery > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 20px; align-items: center; }
#gallery > .wrap > * { grid-column: 1 / -1; }
#gallery > .wrap > .photo-head { grid-column: 1; margin: 0 0 28px; }
#gallery > .wrap > .view-toggle.section-toggle { grid-column: 2; margin: 0 0 28px; }
#gallery .photo-head .set-tabs { margin: 0; }
@media (max-width: 640px) { .hero.ph-photo { min-height: 62vh; padding-bottom: 36px; } }

/* SHOP: the product, its price and the Purchase button first; the questions beside their heading; one way to ask
   for something custom */
.hero.ph-shop h1 { max-width: 16ch; }
.faq-split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 28px clamp(24px, 5vw, 72px); align-items: start; }
.faq-split .section-head { margin: 0; }
@media (max-width: 760px) { .faq-split { grid-template-columns: 1fr; } }
.cta-band .hero-actions { justify-content: center; gap: 24px; }

/* ABOUT: the page opens on who I am, then my portrait beside my story */
.about-top { padding-top: 76px; border-top: 0; }
.about-hi { grid-area: hi; font-size: clamp(46px, 7.4vw, 116px); font-weight: 800; letter-spacing: -0.045em; line-height: .95; margin-bottom: 44px; }
.about-hi em { font-style: normal; color: var(--btn); }
.about:has(.portrait) { grid-template-areas: "hi hi" "photo story" ". details"; }
@media (max-width: 860px) { .about:has(.portrait) { grid-template-areas: "hi" "photo" "story" "details"; } .about-hi { margin-bottom: 28px; } }
@media (max-width: 640px) { .about-top { padding-top: 44px; } }
.about-services { padding: 96px 0 72px; }

/* INQUIRE: the headline and the form, on the left */
.pg-inquire .contact:not(:has(> div)) { justify-content: start; }
/* INQUIRE: the headline beside the form */
.pg-inquire #contact.inquire-top { padding-top: 76px; }
.pg-inquire .contact.contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; justify-content: stretch; gap: 32px clamp(32px, 6vw, 88px); }
.pg-inquire .contact h1 { position: sticky; top: 110px; font-size: clamp(46px, 6.4vw, 104px); font-weight: 800; letter-spacing: -0.045em; line-height: .95; }
.pg-inquire .contact h1 em { font-style: normal; color: var(--btn); }
@media (max-width: 860px) { .pg-inquire .contact.contact { grid-template-columns: 1fr; } .pg-inquire .contact h1 { position: static; } }
@media (max-width: 640px) { .pg-inquire #contact.inquire-top { padding-top: 44px; } }
/* the home page is just the opening screen: no fade into a section below it */
.home-hero::after { content: none; }
/* the preview's label: just says what's showing (it isn't a link) */
.moment-cap { pointer-events: none; margin: 0; }
.moment-window.is-card .moment-cap { opacity: 0; }
/* ABOUT: the film grain doesn't go over my portrait. The portrait sits just above the grain layer (z-index 40), and
   the menu just above the portrait so it still covers it when you scroll */
.pg-about .portrait { position: relative; z-index: 41; }
.pg-about nav { z-index: 42; }

/* =========================================================
   HEADINGS: Fira Sans (loaded from Google Fonts in each page's head). Every heading, the page titles included, and
   the headings in the home page's previews. Body text stays Inter; the menu, buttons and small labels stay
   Helvetica Neue. EDIT: --head (set it to var(--font) to go back to Helvetica Neue)
   ========================================================= */
:root { --head: "Fira Sans", var(--font); }
h1, h2, h3, h4, .mc-text b, .mc-inquire b { font-family: var(--head); }
/* headings: -20 tracking (-0.02em, as design apps count it) and one weight lighter than before:
   ExtraBold (800) → Bold (700), Bold (700) → SemiBold (600). The small uppercase labels (h4) keep their own spacing */
:is(h1, h2, h3, .mc-text b, .mc-inquire b) { letter-spacing: 0 !important; }   /* EDIT: headings' tracking (0; Jude, 2026-10-29) */
:is(.home-intro h1, .hero.ph h1, .about-hi, .pg-inquire .contact h1, .section-head h2, .mc-text b, .mc-inquire b) { font-weight: 700 !important; }
:is(.proj-head h3, .contact h2, .cta-band h2, .about-text h2) { font-weight: 600 !important; }
.moment-window.no-cap .moment-cap { opacity: 0; }   /* the Video reel plays without a label */
/* the Inquire preview is the one that links: the whole little page goes to the Inquire page */
a.mc-inquire { color: inherit; text-decoration: none; }
.mc-inquire .mc-go { font-style: normal; color: var(--btn); font-size: max(12px, 2.2cqw); border-color: rgba(255,203,49,.45); }
.mc-inquire:hover .mc-go, .mc-inquire:focus-visible .mc-go { border-color: currentColor; }
.mc-inquire:hover .mc-go span, .mc-inquire:focus-visible .mc-go span { transform: translateX(3px); }
.mc-inquire:focus-visible { outline: 2px solid var(--btn); outline-offset: -4px; border-radius: 12px; }
/* PAGE TITLES: all caps on one line, the same size on every page; the size is set so the longest title
   ("Brands people remember.", about 12.6 times its font size wide at -10 tracking) fits the page width at any screen size */
:is(.hero.ph h1, .about-hi, .pg-inquire .contact h1) { max-width: none; white-space: nowrap; text-transform: uppercase; line-height: .95;
  font-size: min(88px, calc((min(100vw, var(--max)) - 40px) / 13)); }
.pg-inquire .contact.contact { grid-template-columns: minmax(0, 1fr); }   /* the title across the top, the form under it */
.pg-inquire .contact > form { max-width: 760px; width: 100%; justify-self: center; }
.pg-inquire .contact h1 { text-align: center; }   /* Inquire is centred: the title over the form (Jude, 2026-10-29) */
.pg-inquire .contact h1 { position: static; }
/* the Website preview: a laptop and a phone drawn like a product mockup (aluminium laptop, titanium phone), sized from
   the window's width (cqw) so both always fit in frame */
.mc-website { position: relative; height: 100%; overflow: hidden;
  background: radial-gradient(90% 80% at 50% 105%, rgba(255,170,80,.24), rgba(32,31,29,0) 65%), #201F1D; }
.mc-website .mc-screen { position: absolute; background: #170A05 center top / cover no-repeat; overflow: hidden; }
.mc-website .mc-screen::after { content: ""; position: absolute; inset: 0;   /* a faint reflection across the glass */
  background: linear-gradient(118deg, rgba(255,255,255,.13) 0%, rgba(255,255,255,.04) 34%, rgba(255,255,255,0) 34.5%); }
.mc-shadow { position: absolute; left: 6cqw; top: 45.6cqw; width: 86cqw; height: 4.4cqw;   /* the soft shadow both stand on */
  background: radial-gradient(closest-side, rgba(0,0,0,.7), rgba(0,0,0,0)); }
/* laptop: the lid (black glass bezel inside an aluminium rim, with the camera) on top of the base */
.mc-laptop { position: absolute; left: 15cqw; top: 6.6cqw; width: 60cqw; height: 39.4cqw; border-radius: 2.2cqw 2.2cqw .4cqw .4cqw;
  background: linear-gradient(to top, #1C1C1E, #0A0A0B 1.2cqw);
  box-shadow: 0 0 0 .26cqw #A9ACB2, 0 0 0 .36cqw #6E7176, 0 1.6cqw 3cqw -1cqw rgba(0,0,0,.6); }
.mc-laptop .mc-screen { left: 1.3cqw; right: 1.3cqw; top: 1.3cqw; bottom: 1.9cqw; border-radius: .25cqw; }
.mc-cam { position: absolute; left: 50%; top: .42cqw; width: .5cqw; height: .5cqw; margin-left: -.25cqw; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3A4A5C, #0B0F14 70%); }
.mc-base { position: absolute; left: 9cqw; top: 45.9cqw; width: 72cqw; height: 1.7cqw; border-radius: .2cqw .2cqw 3.2cqw 3.2cqw / .2cqw .2cqw 1.7cqw 1.7cqw;
  background: linear-gradient(180deg, #E4E6EA 0%, #C3C6CB 30%, #9A9DA3 70%, #6A6D72 100%);
  box-shadow: inset 0 .1cqw 0 rgba(255,255,255,.75), inset 0 -.25cqw .3cqw rgba(0,0,0,.25); }
.mc-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 10cqw; height: .7cqw; margin-left: -5cqw;   /* the notch for lifting the lid */
  border-radius: 0 0 1cqw 1cqw / 0 0 .7cqw .7cqw; background: linear-gradient(180deg, #8E9197, #B9BCC1); }
/* phone: a titanium band round black glass, the Dynamic Island, and the side buttons */
.mc-phone { position: absolute; left: 72.5cqw; top: 15cqw; width: 16.6cqw; height: 34.2cqw; border-radius: 2.8cqw; background: #0A0A0B;
  box-shadow: 0 0 0 .3cqw #9C9EA3, 0 0 0 .42cqw #4A4B4F, 0 2cqw 3.5cqw -1cqw rgba(0,0,0,.75); }
/* like a real phone, the site starts below the status bar, so the Dynamic Island never covers its menu */
.mc-phone .mc-screen { inset: .6cqw; border-radius: 2.25cqw; background-color: #250E07; background-position: center 3cqw; background-size: 100% auto; }
.mc-island { position: absolute; z-index: 2; left: 50%; top: 1.4cqw; width: 4.8cqw; height: 1.35cqw; margin-left: -2.4cqw; border-radius: 1cqw; background: #000; }
.mc-status { position: absolute; z-index: 1; left: .6cqw; right: .6cqw; top: .6cqw; height: 3cqw; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.7cqw 0 2.3cqw; pointer-events: none; }
.mc-status b { font: 600 1.05cqw/1 -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: 0; color: #F3F0E2; }
.mc-status i { position: relative; display: block; width: 1.9cqw; height: .95cqw; border: .1cqw solid rgba(243,240,226,.55); border-radius: .32cqw; }   /* the battery */
.mc-status i::before { content: ""; position: absolute; top: .1cqw; bottom: .1cqw; left: .1cqw; right: .5cqw; border-radius: .14cqw; background: #F3F0E2; }
.mc-status i::after { content: ""; position: absolute; right: -.3cqw; top: .25cqw; width: .16cqw; height: .32cqw; border-radius: 0 .1cqw .1cqw 0; background: rgba(243,240,226,.55); }
.mc-phone::before, .mc-phone::after { content: ""; position: absolute; width: .3cqw; border-radius: .15cqw; background: linear-gradient(90deg, #6E7075, #A3A5AA); }
.mc-phone::before { right: -.66cqw; top: 9cqw; height: 4.6cqw; }   /* the side button */
.mc-phone::after { left: -.66cqw; top: 7.2cqw; height: 2.8cqw; box-shadow: 0 3.6cqw 0 #8A8C91; }   /* the volume buttons */
/* play/pause for the clips in the preview window: appears when hovering over a clip (on phones, tapping the clip pauses and plays it) */
.moment-window.has-clip .moment-frame { cursor: pointer; }
.moment-play { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 36px; height: 36px; padding: 0; border-radius: 50%; cursor: pointer;
  background: rgba(23,10,5,.55); border: 1px solid rgba(243,240,226,.28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity .3s ease, background-color .2s ease; }
.moment-window.has-clip .moment-play { pointer-events: auto; }
@media (hover: hover) { .moment-window.has-clip:hover .moment-play { opacity: 1; } }   /* shown only while the pointer is over the clip */
.moment-window.has-clip .moment-play:focus-visible { opacity: 1; }                   /* and when reached with the keyboard */
.moment-play:hover { background: rgba(23,10,5,.8); }
.moment-play:focus-visible { outline: 2px solid var(--btn); outline-offset: 2px; }
.moment-play::before, .moment-play::after { content: ""; position: absolute; top: 50%; width: 4px; height: 13px; margin-top: -6.5px; border-radius: 1px; background: #F3F0E2; }
.moment-play::before { left: 12px; } .moment-play::after { right: 12px; }   /* pause: two bars */
.moment-play.is-paused::before { left: 14px; width: 0; height: 0; margin-top: -7px; border-radius: 0; background: none;
  border-left: 12px solid #F3F0E2; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }   /* play: a triangle */
.moment-play.is-paused::after { content: none; }
@media (max-width: 640px) { .moment-play { right: 8px; bottom: 8px; width: 32px; height: 32px; } .moment-play::before { left: 10px; } .moment-play::after { right: 10px; } .moment-play.is-paused::before { left: 12px; } }
/* the dial's line runs between the circles, never behind them: it's cut away round each one (EDIT: --gap).
   The dial has 6 circles while the Shop is hidden (2026-11-15). With 7 again: repeat(7, …) above, the line's ends at 100% / 14,
   and the cut-aways at sixths (100% * 1 / 6 … 5 / 6) instead of fifths */
.moment-dial .md-track { --gap: 12px; top: calc(8.25px - 10px); height: 21.5px; background: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0 var(--gap), #000 var(--gap) calc(calc(100% * 1 / 5) - var(--gap)), transparent calc(calc(100% * 1 / 5) - var(--gap)) calc(calc(100% * 1 / 5) + var(--gap)), #000 calc(100% * 1 / 5 + var(--gap)) calc(calc(100% * 2 / 5) - var(--gap)), transparent calc(calc(100% * 2 / 5) - var(--gap)) calc(calc(100% * 2 / 5) + var(--gap)), #000 calc(100% * 2 / 5 + var(--gap)) calc(calc(100% * 3 / 5) - var(--gap)), transparent calc(calc(100% * 3 / 5) - var(--gap)) calc(calc(100% * 3 / 5) + var(--gap)), #000 calc(100% * 3 / 5 + var(--gap)) calc(calc(100% * 4 / 5) - var(--gap)), transparent calc(calc(100% * 4 / 5) - var(--gap)) calc(calc(100% * 4 / 5) + var(--gap)), #000 calc(100% * 4 / 5 + var(--gap)) calc(100% - var(--gap)), transparent calc(100% - var(--gap)) 100%);
  mask-image: linear-gradient(90deg, transparent 0 var(--gap), #000 var(--gap) calc(calc(100% * 1 / 5) - var(--gap)), transparent calc(calc(100% * 1 / 5) - var(--gap)) calc(calc(100% * 1 / 5) + var(--gap)), #000 calc(100% * 1 / 5 + var(--gap)) calc(calc(100% * 2 / 5) - var(--gap)), transparent calc(calc(100% * 2 / 5) - var(--gap)) calc(calc(100% * 2 / 5) + var(--gap)), #000 calc(100% * 2 / 5 + var(--gap)) calc(calc(100% * 3 / 5) - var(--gap)), transparent calc(calc(100% * 3 / 5) - var(--gap)) calc(calc(100% * 3 / 5) + var(--gap)), #000 calc(100% * 3 / 5 + var(--gap)) calc(calc(100% * 4 / 5) - var(--gap)), transparent calc(calc(100% * 4 / 5) - var(--gap)) calc(calc(100% * 4 / 5) + var(--gap)), #000 calc(100% * 4 / 5 + var(--gap)) calc(100% - var(--gap)), transparent calc(100% - var(--gap)) 100%); }
.moment-dial .md-track::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1.5px; background: rgba(243,240,226,.38); }
.moment-dial .md-fill { inset: auto 0; top: 10px; height: 1.5px; }
@media (max-width: 640px) { .moment-dial .md-track { top: calc(7.25px - 10px); } }
/* no film grain over the preview window: it sits above the grain layer (body::after, z-index 40). The stack around it
   must not form its own layer, or the window couldn't rise above the grain */
.home-stack { z-index: auto; }
.home-stack .moment-window { z-index: 41; }
/* the pulse that shows a first-time visitor the circles can be clicked: a soft yellow glow, brightest at the Design
   circle and fading out like a gradient, that swells and fades (EDIT: the 2.4s for its pace, the 70px for how far it reaches) */
.md-dot.nudge { isolation: isolate; }   /* so the glow sits behind the circle, not behind the sky */
.md-dot.nudge::after { content: ""; position: absolute; left: 50%; top: 9px; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%;
  z-index: -1; pointer-events: none; opacity: 0;
  background: radial-gradient(closest-side, rgba(255,210,70,.95), rgba(255,203,49,.5) 35%, rgba(255,203,49,.16) 65%, rgba(255,203,49,0));
  animation: dial-breathe 2.4s ease-in-out 1.2s infinite; }
.md-dot.nudge i { border-color: var(--btn); }
.md-dot.nudge span { opacity: 1; }
@keyframes dial-breathe { 0% { transform: scale(.4); opacity: 0; } 40% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.1); opacity: 0; } }
@media (max-width: 640px) { .md-dot.nudge::after { top: 8px; } }
@media (prefers-reduced-motion: reduce) { .md-dot.nudge::after { animation: none; opacity: .7; transform: scale(.8); } }
/* the arrow buttons (photo slideshow, video strips, full-size viewer): a drawn chevron, centred in its circle, instead of
   the ‹ › characters, which sit low and off to one side (EDIT: --chev for its size) */
.viewer-prev, .viewer-next, .strip-btn, .lightbox .lb-prev, .lightbox .lb-next { --chev: 13px; font-size: 0; padding: 0; }
.strip-btn { --chev: 12px; }
:is(.viewer-prev, .viewer-next, .strip-btn, .lightbox .lb-prev, .lightbox .lb-next)::before { content: ""; position: absolute; left: 50%; top: 50%;
  width: var(--chev); height: var(--chev); box-sizing: border-box; border: solid currentColor; border-width: 0 0 2.5px 2.5px; border-radius: 1px; }
:is(.viewer-prev, .strip-btn.prev, .lightbox .lb-prev)::before { transform: translate(-22%, -50%) rotate(45deg); }    /* ‹ (nudged so it looks centred) */
:is(.viewer-next, .strip-btn.next, .lightbox .lb-next)::before { transform: translate(-78%, -50%) rotate(225deg); }   /* › */
@media (max-width: 600px) { .viewer-prev, .viewer-next { --chev: 11px; } }
/* GRAIN RULE (Jude, 2026-10-28): the film grain sits behind pictures and videos, never on top of them. On the tab pages it
   lies just above the page colour (body::before) and under all the content; on the home page it covers the sky, while the
   preview window sits above it */
html.pg body::after { z-index: -1; }
/* LETTER SPACING: the nearest the web has to "optical" kerning. Every font's own kerning is on everywhere, and Inter
   (body text) uses its optical-size axis, which fine-tunes its spacing for the size it's shown at. Tracking stays as set:
   -10 on headings, --body-tracking on body text */
html { font-optical-sizing: auto; text-rendering: optimizeLegibility; }
*, *::before, *::after { font-kerning: normal; }   /* (on every element: the font shorthand would otherwise reset it) */
/* ALL-CAPS TITLES (the home headline, each page's title, the preview cards' titles): evenly spaced so no two letters touch.
   The font's kerning pairs (L–A, A–T…) pull capitals together, so kerning is off here and the tracking opened a little
   (EDIT: 0.035em). Mixed-case headings keep -10 tracking and kerning */
:is(.home-intro h1, .hero.ph h1, .about-hi, .pg-inquire .contact h1, .mc-text b, .mc-inquire b) { letter-spacing: 0 !important; font-kerning: none; }
/* Design: no line between the page title and the first project */
.gallery.split .feature:first-child { border-top: 0; padding-top: 8px; }
/* PREVIEW SWITCHING (the slide-and-focus panel effect): the preview that's picked slides up, fades in and comes into focus;
   the one leaving fades and blurs out where it is (if it slid away too, a dark strip would show at the top of the window),
   then drops back into place unseen. EDIT the five settings below */
.moment { --panel-translate-y: 20px; --panel-blur: 12px; --panel-open-dur: .75s; --panel-close-dur: .6s; --panel-ease: cubic-bezier(.22, .8, .24, 1);
  translate: 0 var(--panel-translate-y); opacity: 0; filter: blur(var(--panel-blur)); pointer-events: none;
  transition: opacity var(--panel-close-dur) var(--panel-ease), filter var(--panel-close-dur) var(--panel-ease), translate 0s linear var(--panel-close-dur);
  will-change: translate, opacity, filter; }
.moment.on { translate: 0 0; opacity: 1; filter: blur(0); pointer-events: auto;
  transition: translate var(--panel-open-dur) var(--panel-ease), opacity var(--panel-open-dur) var(--panel-ease), filter var(--panel-open-dur) var(--panel-ease); }
@media (prefers-reduced-motion: reduce) { .moment, .moment.on { transition: none !important; translate: none; filter: none; } }
/* SMOOTH RESIZE (width and height ease to a new size; EDIT --resize-dur and --resize-ease) */
:root { --resize-dur: .7s; --resize-ease: cubic-bezier(.22, .8, .24, 1); }
/* home: the window keeps a 16:9 space (so nothing around it moves) and the frame inside eases to each preview's shape */
.moment-window { aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; }
.moment-frame { flex: none; width: var(--fw, 100%); height: var(--fh, 100%); aspect-ratio: auto;
  transition: width var(--resize-dur) var(--resize-ease), height var(--resize-dur) var(--resize-ease); will-change: width, height; }
.moment-frame > .moment-play { z-index: 3; }
@media (prefers-reduced-motion: reduce) { .moment-frame { transition: none !important; } }
/* the dial's hover spring (home-sunrise.js sets --shift, --scale-active and --tf). EDIT: how far the hovered circle lifts,
   how much less each neighbour lifts, how much it grows, the two timings, and the speed */
.moment-dial { --avatar-lift: 0px; --avatar-falloff: 0; --avatar-scale: 1.15; --avatar-dur: .45s;   /* only the hovered circle reacts: it grows; nothing lifts */
  --avatar-ease-in: cubic-bezier(0.22, 1, 0.36, 1); --avatar-ease-out: cubic-bezier(0.34, 3.85, 0.64, 1); }
.md-dot { transform: translateY(var(--shift, 0px)); transition: transform var(--avatar-dur) var(--tf, ease); }
.md-dot i { scale: var(--scale-active, 1);
  transition: background .4s ease, border-color .4s ease, transform .4s ease, box-shadow .4s ease, scale var(--avatar-dur) var(--tf, ease); }
@media (hover: hover) { .md-dot:not(.on):hover i { transform: none; } .md-dot.on:hover i { transform: scale(1.25); } }   /* the spring does the hover growth now */
@media (prefers-reduced-motion: reduce) { .md-dot { transform: none; transition: none; } .md-dot i { scale: none; } }
/* the preview window has no outline (Jude, 2026-10-29) */
.moment-frame { border: 0; }
/* TAB PAGES: boxes and containers keep their size and place. No growing, shrinking or lifting on hover (Jude, 2026-10-29);
   brightness and border changes on hover stay */
html.pg :is(.shot, .photo.has-img, .collage img, .yt-grid img, .brand-book .pages img, .card, .worked-with li > a, .pv-tile,
  .strip-btn, .viewer-prev, .viewer-next):hover { transform: none; }
html.pg .shot.thumbs:hover .thumb, html.pg .sel:hover .sel-media > img, html.pg .sel:hover .sel-media > video { transform: none; }
/* the buttons under a player: on phones, an even two-column grid (equal widths; an odd last one spans the row) instead
   of uneven stacks. Nothing slides */
@media (max-width: 640px) {
  .set-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .set-tabs button { width: 100%; text-align: center; white-space: nowrap; }
  .set-tabs button:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
/* the "Go to …" button in the preview's bottom-left corner: opens the page being previewed */
.moment-go { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px;
  border-radius: 10px; background: rgba(23,10,5,.58); border: 1px solid rgba(243,240,226,.28); color: #F3F0E2; text-decoration: none;
  font: 500 13px/1 var(--font); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.moment-go b { font-weight: 700; }
.moment-go span { transition: transform .25s ease; }
.moment-go:hover, .moment-go:focus-visible { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.moment-go:hover span { transform: translateX(3px); }
.moment-go:focus-visible { outline: 2px solid var(--btn); outline-offset: 2px; }
.moment-go[hidden] { display: none; }
@media (max-width: 640px) { .moment-go { left: 8px; bottom: 8px; padding: 6px 10px; font-size: 12px; } }
html.pg::view-transition { background: var(--page-bg); }   /* the colour behind a page change, matching the tab pages */
/* HEADLINE ENTRANCE: "rise and ignite" (Jude, 2026-10-29). Each word fades up in turn (main.js sets the delays), then
   the key words (the <em> in each headline) fade from white into yellow (no glow). Arriving from another page, the page transition is
   the entrance, so the words are already in place and only the ignite plays */
h1.h-rise .w { overflow: visible; }
h1.h-rise .w > span { opacity: 0; transform: translateY(.35em); animation: h-rise .7s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes h-rise { to { opacity: 1; transform: none; } }
h1.h-rise em { animation: h-ignite .7s ease var(--ignite, .55s) both; }   /* the key words: white as they rise, then they fade into yellow. No glow */
@keyframes h-ignite { from { color: #F3F0E2; } to { color: var(--btn); } }
html.from-transition h1.h-rise .w > span { animation: none; opacity: 1; transform: none; }
html.from-transition h1.h-rise em { animation-delay: .25s; }
@media (prefers-reduced-motion: reduce) {
  h1.h-rise .w > span { animation: none; opacity: 1; transform: none; }
  h1.h-rise em { animation: none; color: var(--btn); }
}
:is(h1, h2, h3, .mc-text b, .mc-inquire b) * { letter-spacing: inherit !important; }   /* words inside a heading follow its tracking (0) */
/* TAB PAGES' BACKGROUND (Jude, 2026-10-29): the home page's sunrise sky, without the sun, drawn by pg-sky.js into a
   fixed canvas. It sits above the page colour and below the grain, and stays put as the page scrolls */
.pg-sky { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none; display: block; }
/* boxes over the sky (form, fields, panels, buttons): a dark tint, about 15% more opaque than before, so the text on
   them reads easily (EDIT the two alphas) */
html.pg.ink-light { --bg-2: rgba(20,8,4,.22); --bg: rgba(20,8,4,.21); }
/* SHOP is centred (Jude, 2026-10-29): the title, the price and details strip, and the questions in one column under it */
.pg-shop .hero.ph h1 { text-align: center; }
@media (min-width: 861px) { .pg-shop .buy-box { grid-template-columns: auto auto; justify-content: center; } }   /* phones keep the stacked strip */
.pg-shop .faq-split { display: block; }
.pg-shop .faq { max-width: none; }   /* the questions are as wide as the price strip */
.pg-shop .faq summary { position: relative; justify-content: center; text-align: center; padding: 0 34px; }   /* question text centred, the + kept at the right */
.pg-shop .faq summary::after { position: absolute; right: 0; top: 50%; translate: 0 -50%; }
.pg-shop .faq details p { text-align: center; }   /* and the answers centred under them */
/* Design: the line under each brand's main image */
.brand-note { margin: 14px 0 28px; color: var(--muted); font-size: 15px; }

/* Shop price: the same gap (0.06em, about 3px) between every figure (Jude, 2026-10-31). The font's own pair spacing is
   off, because it pulled "10" together, and each figure gets the margin that brings its gap to 0.06em. Measured in
   Chrome and Safari. EDIT the margins to adjust: kd after the $, k1 after a 1, k0 after a 0 */
.buy-box .amount, .buy-box .amount * { font-kerning: none; }
.buy-box .amount { font-variant-numeric: proportional-nums; letter-spacing: 0; }
.buy-box .amount .kd { margin-right: .04em; }
.buy-box .amount .k1 { margin-right: -.04em; }
.buy-box .amount .k0 { margin-right: .02em; }

/* the speaker button for the home preview's clip with sound (the Shop opener): beside play/pause, always shown while
   that clip is on so its sound can be muted straight away */
.moment-sound { position: absolute; right: 56px; bottom: 12px; z-index: 3; width: 36px; height: 36px; padding: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: #F3F0E2; background: rgba(23,10,5,.55); border: 1px solid rgba(243,240,226,.28);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background-color .2s ease; }
.moment-sound[hidden] { display: none; }
.moment-sound:hover { background: rgba(23,10,5,.8); }
.moment-sound:focus-visible { outline: 2px solid var(--btn); outline-offset: 2px; }
.moment-sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.moment-sound .spk { fill: currentColor; stroke: none; }
.moment-sound .off { display: none; }
.moment-sound.is-muted .waves { display: none; }
.moment-sound.is-muted .off { display: inline; }
@media (max-width: 640px) { .moment-sound { right: 48px; bottom: 8px; width: 32px; height: 32px; } .moment-sound svg { width: 16px; height: 16px; } }

/* VIDEO: the header is the home page's video reel playing behind the title, laid out like the Photo header
   (the title at the bottom over a soft fade). Jude, 2026-11-01: the reel always shows whole, never cropped or zoomed,
   and always runs the full width of the page, edge to edge: the header takes the reel's own 16:9 shape */
.hero.ph-reel { overflow: hidden; min-height: 0; aspect-ratio: 16 / 9; width: 100%; }
.hero.ph-reel::after { content: none; }   /* no photo layer; the reel takes its place */
.hero.ph-reel .hero-reel { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; background: #170A05; }
.ph-reel + #work { padding-top: 40px; }
/* on phones the reel shows full width at 16:9 and the title sits underneath it */
@media (max-width: 640px) {
  .hero.ph-reel { display: block; aspect-ratio: auto; width: 100%; padding: 0 0 8px; background: none; }
  .hero.ph-reel::before { content: none; }   /* no fade: nothing sits over the picture */
  .hero.ph-reel .hero-reel { position: relative; inset: auto; display: block; height: auto; aspect-ratio: 16 / 9; }
  .hero.ph-reel .wrap { padding-top: 26px; }
  .ph-reel + #work { padding-top: 28px; }
}
}

/* ABOUT, "Worked with": logos only (no names or links), centred on one line (Jude, 2026-11-13) */
.worked-with ul { align-items: center; }
.worked-with li { gap: 0; }

/* "Book a 15-minute call" beside "Send inquiry" under each inquiry form; stacked on phones */
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.form-actions .btn { flex: 1 1 200px; justify-content: center; }

