/* Billz Media: white pages with the blue-violet brand gradient, rounded cards, pill buttons. Dark mode on request. */
:root {
  --bg: #ffffff; --bg-alt: #f3f5fb; --text: #0b0d14; --muted: #545b70;
  --accent: #e11d6a; --accent-hover: #6d28d9;
  --accent-ink: #0b7a6b;
  --grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  --rule: color-mix(in srgb, var(--text) 14%, transparent);
  --card: #ffffff;
  --shadow: 0 18px 40px -26px rgba(20, 30, 80, .35);
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --max: 1240px;
  --r: 22px;
}
html[data-theme="dark"] {
  --bg: #05060b; --bg-alt: #0e1119; --text: #f4f6fb; --muted: #a3aabd;
  --accent-ink: #2de0c0;
  --card: #0e1119;
  --shadow: 0 18px 40px -24px rgba(0, 0, 0, .9);
}
/* Colour scheme "Green and blue", chosen under Theme and appearance in the admin. Later in the file and more specific than the saved colours, so it wins while selected. */
html[data-scheme="green_blue"] { --accent: #15803d; --accent-hover: #1d4ed8; --accent-ink: #1d4ed8; --shadow: 0 18px 40px -26px rgba(8, 60, 50, .35); }
html[data-scheme="green_blue"][data-theme="light"] { --bg: #ffffff; --bg-alt: #eff7f4; --text: #0a1512; --muted: #44544f; --card: #ffffff; }
html[data-scheme="green_blue"][data-theme="dark"] { --bg: #04100e; --bg-alt: #0a1b18; --text: #f2f8f6; --muted: #a2b5b0; --accent-ink: #60a5fa; --card: #0a1b18; --shadow: 0 18px 40px -24px rgba(0, 0, 0, .9); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; margin: 0 0 .6em; letter-spacing: -.025em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
.h-sm { font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
p { margin: 0 0 1em; max-width: 68ch; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .24em; font-size: .8rem; font-weight: 600; color: var(--accent-ink); margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--text); color: var(--bg); padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.block { padding-block: clamp(3rem, 7vw, 6rem); }
.split { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.split h2 { margin: 0; }
.link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--accent-ink); }
.link::after { content: "\2192"; transition: transform .2s; }
.link:hover::after { transform: translateX(4px); }

/* buttons: pills with the brand gradient */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .8rem 1.8rem; background: var(--grad); color: #fff; border: 0; border-radius: 999px; font: 700 1rem var(--font-body); cursor: pointer; box-shadow: 0 12px 28px -12px color-mix(in srgb, var(--accent-hover) 80%, transparent); transition: transform .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--rule); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent-ink); color: var(--accent-ink); filter: none; }
.btn-sm { min-height: 42px; padding: .5rem 1.2rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* real social logos */
.social { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; padding: 0; margin: 1.4rem 0 0; }
.social a { display: block; border-radius: 12px; transition: transform .2s; }
.social a:hover { transform: translateY(-3px); }
.social img { border-radius: 12px; box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 18%, transparent); }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--rule); transition: box-shadow .3s; }
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.site-head-in { max-width: var(--max); margin-inline: auto; padding: .6rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.site-logo { display: inline-flex; align-items: center; }
.logo { display: inline-flex; align-items: center; gap: .7rem; color: var(--text); }
.logo-mark { flex: none; border-radius: 12px; box-shadow: 0 8px 18px -10px color-mix(in srgb, var(--accent) 80%, transparent); transition: transform .3s; }
.site-logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-word { display: flex; flex-direction: column; line-height: 1; text-transform: uppercase; }
.logo-word b { font-weight: 800; font-size: 1.3rem; letter-spacing: .16em; }
.logo-word i { font-style: normal; font-weight: 600; font-size: .62rem; letter-spacing: .56em; margin-top: .32rem; color: var(--muted); }
.logo-img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: .3rem; }
.site-nav > a:not(.btn) { color: var(--muted); padding: .45rem .9rem; border-radius: 999px; font-weight: 500; transition: background-color .2s, color .2s; }
.site-nav > a:not(.btn):hover { color: var(--text); background: color-mix(in srgb, var(--text) 8%, transparent); }
.site-nav > a[aria-current="page"] { color: var(--text); background: color-mix(in srgb, var(--accent) 18%, transparent); }
.nav-cta { margin-left: .5rem; }
.theme-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 42px; padding: 0 1rem; margin-left: .4rem; background: transparent; color: var(--text); border: 1.5px solid var(--rule); border-radius: 999px; font: 600 .9rem var(--font-body); cursor: pointer; }
.theme-btn:hover { border-color: var(--accent-ink); }
html[data-theme="dark"] .t-night, html[data-theme="light"] .t-day { display: none; }
.menu-btn { display: none; width: 46px; height: 46px; padding: 0; background: transparent; border: 0; cursor: pointer; color: var(--text); position: relative; }
.menu-btn .bars, .menu-btn .bars::before, .menu-btn .bars::after { position: absolute; left: 10px; right: 10px; height: 2.5px; background: currentColor; border-radius: 2px; transition: transform .25s, top .25s, opacity .2s; content: ""; }
.menu-btn .bars { top: 22px; left: 10px; right: 10px; }
.menu-btn .bars::before { left: 0; right: 0; top: -8px; }
.menu-btn .bars::after { left: 0; right: 0; top: 8px; }
.menu-btn.is-open .bars { background: transparent; }
.menu-btn.is-open .bars::before { top: 0; transform: rotate(45deg); }
.menu-btn.is-open .bars::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .js .menu-btn { display: inline-block; }
  .site-head-in { flex-wrap: wrap; }
  .site-nav { flex-wrap: wrap; order: 3; width: 100%; }
  .js .site-nav { position: fixed; inset: 69px 0 0 0; background: var(--bg); flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; padding: 0 0 2rem; overflow-y: auto; width: auto; z-index: 49; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
  .js .site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease, visibility 0s; }
  .js .site-nav > * { opacity: 0; transform: translateX(-14px); transition: opacity .35s ease, transform .35s ease; }
  .js .site-nav.is-open > * { opacity: 1; transform: none; }
  .js .site-nav.is-open > *:nth-child(1) { transition-delay: .05s; } .js .site-nav.is-open > *:nth-child(2) { transition-delay: .09s; } .js .site-nav.is-open > *:nth-child(3) { transition-delay: .13s; }
  .js .site-nav.is-open > *:nth-child(4) { transition-delay: .17s; } .js .site-nav.is-open > *:nth-child(5) { transition-delay: .21s; } .js .site-nav.is-open > *:nth-child(6) { transition-delay: .25s; }
  .js .site-nav.is-open > *:nth-child(7) { transition-delay: .29s; } .js .site-nav.is-open > *:nth-child(8) { transition-delay: .33s; }
  .js .site-nav > a:not(.btn) { font-size: 1.15rem; padding: 1.15rem var(--gutter); border-radius: 0; border-bottom: 1px solid var(--rule); border-left: 5px solid transparent; color: var(--text); background: transparent; }
  .js .site-nav > a[aria-current="page"] { border-left-color: var(--accent-ink); background: transparent; }
  .js .site-nav .nav-cta { margin: 1.5rem var(--gutter) 0; }
  .js .theme-btn { margin: 1rem var(--gutter) 0; justify-content: center; min-height: 52px; background: var(--grad); color: #fff; border: 0; font-size: 1rem; }
}

/* hero: full width picture or video, centred copy */
.hero { position: relative; display: grid; place-items: center; min-height: min(92svh, 880px); padding-block: clamp(4rem, 10vw, 7rem); background: #05060b; color: #fff; overflow: hidden; text-align: center; isolation: isolate; }
.hero-stage { position: absolute; inset: 0; z-index: -1; }
.hero-stage .player-bg, .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .06);
  background: radial-gradient(60% 55% at 20% 20%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%), radial-gradient(55% 55% at 85% 80%, color-mix(in srgb, var(--accent-hover) 45%, transparent), transparent 70%), #05060b; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(3, 4, 9, .88) 0%, rgba(3, 4, 9, .55) 50%, rgba(3, 4, 9, .45) 100%); }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 16ch; margin-bottom: .3em; }
.hero-sub { font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 600; margin-bottom: .6em; max-width: 40ch; }
.hero-desc { color: rgba(255, 255, 255, .82); max-width: 54ch; }
.hero .actions { justify-content: center; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.hero .btn-ghost:hover { color: #fff; border-color: #fff; }
.hero-now { margin: 1.2rem 0 0; }
.hero-now a { display: inline-block; padding: .4rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: .95rem; font-weight: 600; }
.hero-now a:hover { background: rgba(255, 255, 255, .22); }
.hero .social { justify-content: center; margin-top: 1.8rem; }

.hero-plain { background: var(--bg); color: var(--text); }
.hero-plain .hero-fallback { background: radial-gradient(55% 60% at 15% 15%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), radial-gradient(55% 60% at 90% 85%, color-mix(in srgb, var(--accent-hover) 16%, transparent), transparent 70%), var(--bg); color: color-mix(in srgb, var(--text) 5%, transparent); }
.hero-plain .hero-scrim { display: none; }
.hero-plain .hero-desc { color: var(--muted); }
.hero-plain .btn-ghost { color: var(--text); border-color: var(--rule); }
.hero-plain .btn-ghost:hover { color: var(--accent-ink); border-color: var(--accent-ink); }
.hero-plain .hero-now a { background: color-mix(in srgb, var(--text) 8%, transparent); }

/* player */
.player { position: relative; background: #000; overflow: hidden; border-radius: var(--r); }
.hero .player, .player-bg { border-radius: 0; }
.player-bg { width: 100%; height: 100%; }
.player-video, .player-poster, .player-embed { width: 100%; height: 100%; object-fit: cover; border: 0; }
.player-bg .player-video, .player-bg .player-poster { position: absolute; inset: 0; }
.player-poster-empty { display: grid; place-items: center; background: var(--bg-alt); color: var(--muted); padding: 1rem; text-align: center; }
.player-btn { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--grad); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .7); }
.player-btn:hover { filter: brightness(1.12); }
.player-tri { width: 0; height: 0; border-left: 20px solid #fff; border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.player-toggle { position: absolute; left: 1rem; bottom: 1rem; min-height: 40px; padding: 0 1.1rem; background: rgba(0, 0, 0, .7); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; font: 600 .95rem var(--font-body); cursor: pointer; }

/* cards: one even grid everywhere */
.reel { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.5rem; align-items: stretch; }
.pcard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
.pcard:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, var(--rule)); }
.pcard-media { aspect-ratio: 16 / 10; background: var(--bg-alt); overflow: hidden; position: relative; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard-empty { height: 100%; display: grid; place-items: center; color: var(--muted); padding: 1rem; text-align: center; }
.pcard-play { position: absolute; left: 1rem; bottom: 1rem; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .6); }
.pcard-play::after { content: ""; position: absolute; left: 17px; top: 13px; border-left: 14px solid #fff; border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.pcard-meta { padding: 1.2rem 1.4rem 1.5rem; flex: 1; }
.pcard-kicker { margin: 0 0 .35rem; font-size: .9rem; color: var(--muted); }
.pcard-meta h3 { margin: 0 0 .2em; }
.pcard-meta p { margin: 0; font-size: .95rem; }
.pcard:hover h3 { color: var(--accent-ink); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 2.2rem; }
.filters a { color: var(--muted); padding: .5rem 1.1rem; border: 1px solid var(--rule); border-radius: 999px; font-weight: 500; transition: background-color .2s, color .2s; }
.filters a:hover { color: var(--text); border-color: var(--accent-ink); }
.filters a[aria-current="true"] { color: #fff; background: var(--grad); border-color: transparent; }
.empty { border: 1px solid var(--rule); background: var(--card); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 3rem); max-width: 640px; }

/* services: cards */
.ledger { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.25rem; }
.ledger li { display: flex; }
.ledger a { display: block; width: 100%; padding: 1.6rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .25s, border-color .25s; }
.ledger a:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, var(--rule)); }
.ledger h3 { margin: 0 0 .4em; }
.ledger p { margin: 0; }
.ledger a:hover h3 { color: var(--accent-ink); }

.service-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 1.5rem; margin-top: 2rem; align-items: stretch; }
.service { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow); scroll-margin-top: 90px; }
.service-head h2 { font-size: 1.5rem; margin: 0 0 .2em; }
.service-body { display: flex; flex-direction: column; flex: 1; }
.service-body > p:last-child { margin: auto 0 0; padding-top: .6rem; }
.service-cover { aspect-ratio: 16 / 10; margin: 0 0 1.2rem; overflow: hidden; border-radius: 16px; }
.service-cover img { width: 100%; height: 100%; object-fit: cover; }
.plain { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.plain li { padding: .5rem 0 .5rem 1.5rem; border-bottom: 1px solid var(--rule); position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }

/* packages: equal cards */
.ledger-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1.5rem; margin-top: 2rem; align-items: stretch; }
.pkg { display: flex; flex-direction: column; padding: 1.8rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow); }
.pkg h2 { font-size: 1.6rem; margin-bottom: .3em; }
.pkg-price { font-size: 1.5rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pkg dl { margin: 1rem 0; }
.pkg > p:last-child { margin: auto 0 0; padding-top: 1rem; }
.pkg dl div, .facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--rule); }
dt { color: var(--muted); } dd { margin: 0; text-align: right; }
details summary { cursor: pointer; font-weight: 600; }

/* project page */
.project-media { margin: 1.5rem 0 3rem; background: #000; border-radius: var(--r); overflow: hidden; }
.project-media img { width: 100%; }
.project-media .player { border-radius: 0; }
.project-body { display: grid; gap: 2rem 4rem; margin-bottom: 3rem; }
@media (min-width: 861px) { .project-body { grid-template-columns: 7fr 4fr; } }
.facts { margin: 0; padding: 1.2rem 1.4rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); align-self: start; }
.facts div:last-child { border-bottom: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1rem; margin-bottom: 4rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; border-radius: 16px; }

/* about, quotes, logos, cta */
.about-prev, .about-top { display: grid; gap: 2rem 4rem; align-items: start; }
@media (min-width: 861px) { .about-prev, .about-top { grid-template-columns: 7fr 5fr; } }
.about-photo { overflow: hidden; border-radius: var(--r); } .about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-block { display: grid; gap: .5rem 3rem; padding: 1.8rem; margin-top: 1.25rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); }
@media (min-width: 861px) { .about-block { grid-template-columns: 4fr 8fr; } }
.about-block h2 { font-size: 1.5rem; margin: 0; }
.quote { margin: 0 0 1.5rem; padding: 2rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); }
.quote blockquote { margin: 0 0 1rem; font-size: clamp(1.25rem, 2.6vw, 1.8rem); line-height: 1.3; font-weight: 600; }
.quote figcaption { color: var(--muted); }
.logos { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.logos li { display: grid; place-items: center; height: 90px; padding: 1rem; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; }
.logos img { height: 40px; width: auto; max-width: 100%; object-fit: contain; }
.cta { padding: clamp(2rem, 6vw, 4.5rem); text-align: center; border-radius: calc(var(--r) + 6px); border: 1px solid var(--rule); margin-top: 2rem;
  background: radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), radial-gradient(70% 90% at 100% 100%, color-mix(in srgb, var(--accent-hover) 22%, transparent), transparent 70%), var(--bg-alt); }
.cta h2 { max-width: 20ch; margin-inline: auto; }
.cta p { margin-inline: auto; }
.cta .actions { justify-content: center; }
.cta-lines { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; margin: 1.5rem 0 0; }
.cta-lines a:hover { color: var(--accent-ink); }

/* contact + form */
.contact { display: grid; gap: 3rem 4rem; }
@media (min-width: 961px) { .contact { grid-template-columns: 5fr 7fr; align-items: start; } }
.contact-lines { list-style: none; padding: .5rem 1.4rem; margin: 2rem 0 0; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); }
.contact-lines li { display: grid; grid-template-columns: 7.5rem 1fr; padding: .85rem 0; border-top: 1px solid var(--rule); }
.contact-lines li:first-child { border-top: 0; }
.contact-lines span { color: var(--muted); }
.contact-lines a:hover { color: var(--accent-ink); }
.form fieldset { border: 1px solid var(--rule); background: var(--card); border-radius: var(--r); padding: 1.4rem 1.4rem .6rem; margin: 0 0 1.5rem; }
.form legend { font-weight: 800; font-size: 1.2rem; padding: 0 .6rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted); margin-left: .4rem; }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem 1rem; background: var(--bg); color: var(--text); border: 1.5px solid var(--rule); font: inherit; border-radius: 14px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-ink); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 25%, transparent); }
.field [aria-invalid="true"] { border-color: #e5484d; }
.row2 { display: grid; gap: 0 1.25rem; } @media (min-width: 640px) { .row2 { grid-template-columns: 1fr 1fr; } }
.check { display: flex; gap: .75rem; align-items: flex-start; }
.check input { width: 22px; height: 22px; margin-top: .2rem; accent-color: var(--accent); flex: none; }
.check label { font-weight: 400; margin: 0; }
.check label a, .prose a { color: var(--accent-ink); font-weight: 600; }
.err { color: #ff6b73; margin: .35rem 0 0; font-size: .95rem; }
html[data-theme="light"] .err, html[data-theme="light"] .err-box { color: #c62828; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.notice { border: 1px solid var(--rule); background: var(--card); border-radius: var(--r); padding: 2rem; }
.notice h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.err-box { color: #ff6b73; }

/* footer, floating contact */
.site-foot { background: var(--bg-alt); border-top: 1px solid var(--rule); padding-top: 4rem; }
.foot-grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); padding-bottom: 3rem; }
.foot-brand { grid-column: span 2; }
@media (max-width: 640px) { .foot-brand { grid-column: auto; } }
.foot-name { font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .05em; margin: 0 0 .6rem; }
.foot-h { font: 700 .85rem var(--font-body); margin: 0 0 1rem; color: var(--text); letter-spacing: .14em; text-transform: uppercase; }
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: .55rem; color: var(--text); }
.foot-col a { color: var(--muted); } .foot-col a:hover { color: var(--accent-ink); }
.foot-base { border-top: 1px solid var(--rule); padding-block: 1.5rem 6rem; font-size: .9rem; text-align: center; max-width: none; }
.wa-float { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; display: block; width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 10px 26px -6px rgba(0, 0, 0, .55); transition: transform .2s; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float img { border-radius: 16px; }
.prose p { max-width: 70ch; }

/* agenda: upcoming shoots and achievements as cards */
.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.agenda li { display: grid; gap: .4rem 2rem; padding: 1.5rem 1.6rem; background: var(--card); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow); }
.agenda h2, .agenda h3 { margin: 0 0 .15em; }
.agenda h2 { font-size: 1.5rem; }
.agenda p { margin: 0 0 .6em; }
.agenda-when { font-weight: 800; font-size: 1.1rem; color: var(--accent-ink); }
.agenda-cover { aspect-ratio: 16 / 9; margin-bottom: 1rem; overflow: hidden; max-width: 640px; border-radius: 16px; }
.agenda-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 761px) { .agenda li { grid-template-columns: 4fr 8fr; align-items: baseline; } .agenda-wide li { align-items: start; } }
.player noscript { display: contents; }
.player-embed { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.is-playing .player-video { opacity: 1; }
.player .player-video[controls] { opacity: 1; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }


/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(2%, -2%, 0) scale(1.08); } 100% { transform: translate3d(0, 0, 0) scale(1); } }
@keyframes sheen { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55), 0 10px 26px -6px rgba(0, 0, 0, .55); } 70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0), 0 10px 26px -6px rgba(0, 0, 0, .55); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

body { animation: fadein .5s ease both; }
.site-head.is-scrolled { box-shadow: 0 10px 30px -18px rgba(10, 12, 30, .45); }
.site-logo { transition: transform .25s; } .site-logo:hover { transform: scale(1.03); }

/* hero entrance */
.hero-fallback { animation: drift 16s ease-in-out infinite; }
.hero-poster, .hero-stage .player-bg { animation: fadein 1.2s ease both; }
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .10s; } .hero-copy > *:nth-child(2) { animation-delay: .22s; }
.hero-copy > *:nth-child(3) { animation-delay: .34s; } .hero-copy > *:nth-child(4) { animation-delay: .46s; }
.hero-copy > *:nth-child(5) { animation-delay: .58s; } .hero-copy > *:nth-child(6) { animation-delay: .70s; }
.hero h1 { background: none; }

/* buttons */
.btn { background-size: 160% 160%; position: relative; overflow: hidden; }
.btn:not(.btn-ghost):hover { animation: sheen 1.2s ease infinite alternate; transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.btn:not(.btn-ghost):hover::after { left: 130%; }
.btn-ghost { transition: transform .2s, border-color .2s, color .2s, background-color .2s; } .btn-ghost:hover { transform: translateY(-2px); }

/* floating WhatsApp */
.wa-float { animation: pulse 2.6s ease-out infinite, bob 4s ease-in-out infinite; }
.wa-float:hover { transform: scale(1.08); animation-play-state: paused; }

/* links and cards */
.link::after { display: inline-block; } .link:hover::after { transform: translateX(5px); }
.ledger a:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 55%, var(--rule)); }
.agenda li { transition: background-color .25s, padding-left .25s; } .agenda li:hover { padding-left: .6rem; background: color-mix(in srgb, var(--accent) 5%, transparent); }
.social a:hover { transform: translateY(-3px) scale(1.06); }
.logos img { transition: transform .25s, filter .25s; } .logos li:hover img { transform: scale(1.08); }
.filters a:hover { transform: translateY(-1px); }

/* reveal on scroll (added by site.js, so nothing hides if scripts fail) */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js .reveal.in { opacity: 1; transform: none; will-change: auto; }
.js .reveal.from-left { transform: translateX(-34px); } .js .reveal.from-right { transform: translateX(34px); }
.js .reveal.zoom { transform: scale(.94); }
.js .reveal.in.from-left, .js .reveal.in.from-right, .js .reveal.in.zoom { transform: none; }
.pcard.reveal.in:hover { transform: translateY(-4px); transition-delay: 0s; }
.ledger .reveal.in a:hover { transform: translateY(-4px); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}

/* policy and long text pages */
.prose h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin: 2.2rem 0 .6rem; }
.prose .plain { max-width: 70ch; }
.about-block .plain { margin-bottom: 0; }
.foot-logo { display: inline-block; margin-bottom: 1rem; }

.hero-default { object-position: 72% center; }
@media (max-width: 760px) { .hero-default { object-position: 78% center; } }

/* Back to home link on every page except the homepage */
.back-home { padding-top: 1.25rem; padding-bottom: 0; }
.back-home .link { min-height: 44px; }

/* Homepage photo gallery */
.photo-gallery { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.photo-gallery li { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--bg-alt); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.photo-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-gallery li:hover img { transform: scale(1.04); }
@media (min-width: 900px) { .photo-gallery { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.back-home .link::after { content: none; }
.photo-gallery li { position: relative; }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .9rem; color: #fff; font-weight: 600; font-size: .95rem; background: linear-gradient(to top, rgba(3, 4, 9, .8), transparent); }
.ledger-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--r) - 8px); margin-bottom: 1rem; }


/* Phones: grid columns may shrink below their content, so a long email address or a form field can never push the page wider than the screen. */
.contact, .project-body, .about-prev, .about-top, .about-block, .agenda li { grid-template-columns: minmax(0, 1fr); }
.contact > *, .project-body > *, .about-prev > *, .about-top > *, .about-block > * { min-width: 0; }
@media (min-width: 961px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
@media (min-width: 861px) {
  .project-body { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
  .about-prev, .about-top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .about-block { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}
@media (min-width: 761px) { .agenda li { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.form fieldset { min-width: 0; }
.contact-lines li { grid-template-columns: 6.5rem minmax(0, 1fr); gap: .75rem; }
.contact-lines a, .contact-lines li { overflow-wrap: anywhere; }
