/*
Theme Name: Dane Bliss
Description: Portfolio theme for Dane Bliss — a plain-PHP rebuild of the Bricks design. Content comes from Pages and Portfolio Projects.
Version: 2.0.0
Author: Dane Bliss
Requires PHP: 8.0
*/

:root {
	--blue: #0071bc;
	--blue-hover: #005c99;
	--blue-link-hover: #005a96;
	--warm: #f5f3ef;
	--navy-135: linear-gradient(135deg, #081522 0%, #102c47 58%, #123d60 100%);
	--navy-115: linear-gradient(115deg, #081522 0%, #102c47 58%, #123d60 100%);
	--serif: Georgia, serif;
	--sans: Arial, sans-serif;

	--g: 7vw;                        /* side gutter */
	--v: clamp(40px, 3.4vw, 76px);   /* section top/bottom inset */
	--hv: 24px;                      /* home hero + home footer inset */
}
@media (min-width: 1920px) { :root { --hv: 32px; } }
@media (max-width: 1024px) { :root { --hv: 20px; } }
@media (max-width: 768px)  { :root { --g: 24px; } }
#db-home #db-work-header, #db-home .db-logo-showcase-heading { margin-bottom: clamp(28px, 2.2vw, 44px); }
#db-home #db-work-grid { margin-bottom: clamp(32px, 2.6vw, 52px); }
#db-home .db-ai-head { margin-bottom: clamp(28px, 2.2vw, 44px); }
@media (max-width: 648px)  { :root { --hv: 12px; } }

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #1c1c1c; color: #3a3a3a; font: 400 15px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.025em; }
p { margin: 0; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 10000; padding: 5px 10px; background: #000; color: var(--blue); font-weight: 700; border-radius: 0 0 8px; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */

.db-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 46px; margin: 0; padding: 14px 22px;
	border: 1px solid var(--blue); background: var(--blue); color: #fff;
	font: 500 13px/1.4 var(--sans); letter-spacing: .055em; text-transform: uppercase; text-decoration: none; text-align: center;
	transition: background .2s, border-color .2s; cursor: pointer;
}
.db-btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: #fff; }
.db-btn:focus-visible { outline-color: #fff; box-shadow: 0 0 0 2px var(--blue); }

/* ---------- Header ---------- */

#db-site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; }
.db-header-bar { position: relative; z-index: 999; display: flex; align-items: center; justify-content: space-between; padding: 24px var(--g); }
.db-header-bar::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(18, 20, 22, .78); opacity: 0; transition: opacity .25s; }
#db-site-header.db-mid .db-header-bar::before { opacity: 1; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
#db-site-header.db-mid .db-header-bar { box-shadow: inset 0 -1px rgba(255, 255, 255, .08); }
#db-site-header.db-deep .db-header-bar::before { opacity: 1; background: #0a0c0d; }
#db-site-header.db-deep .db-header-bar { box-shadow: inset 0 -1px rgba(255, 255, 255, .1); }

#db-logo { display: flex; align-items: center; width: 140px; }
.db-logo-wrap { position: relative; display: block; }
.db-logo-wrap img { width: 140px; height: auto; transition: opacity .55s; }
.db-logo-color { position: absolute; inset: 0; opacity: 0; }

#db-nav { display: flex; align-items: center; gap: 24px; }
.db-nav-link { font: 500 11px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--warm); transition: color .2s; }
.db-nav-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.db-nav-link.is-active, .db-nav-link.is-active:hover { color: #0b8fd3; text-decoration: none; }

#db-burger { display: none; flex-direction: column; gap: 5px; padding: 4px; border: 0; background: none; }
#db-burger span { display: block; width: 22px; height: 1.5px; background: var(--warm); transition: .3s; }

#db-mobile-nav { display: none; position: fixed; top: 83px; left: 24px; right: 24px; z-index: 998; flex-direction: column; background: var(--warm); border-bottom: 1px solid #d4d2c8; }
#db-mobile-nav.is-open { display: flex; }
.db-mobile-nav-link { display: block; padding: 16px 20px; text-align: center; border-bottom: 1px solid rgba(28, 28, 28, .06); font: 500 11px/1.7 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #333; }
.db-mobile-nav-link:hover { color: var(--blue-link-hover); }

/* Phones and small tablets: logo + menu button only; the links live in the menu. */
@media (max-width: 768px) {
	.db-header-bar { padding: 16px 24px; }
	#db-nav, #db-header-cta { display: none; }
	#db-burger { display: flex; }
	#db-burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
	#db-burger.is-open span:nth-child(2) { opacity: 0; }
	#db-burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ---------- Home: hero ---------- */

#db-hero { position: relative; z-index: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100svh; padding: calc(124px + var(--g)) 0 var(--hv); background: #071421; overflow: hidden; }
#db-hero::after {
	content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background:
		linear-gradient(rgba(3, 12, 22, .64) 0px, rgba(3, 12, 22, .48) 90px, rgba(3, 12, 22, .22) 210px, rgba(3, 12, 22, .055) 330px, rgba(3, 12, 22, 0) 430px),
		radial-gradient(at 0% 100%, rgba(3, 14, 26, .88) 0%, rgba(4, 18, 32, .63) 28%, rgba(5, 22, 39, .26) 53%, rgba(5, 22, 39, 0) 78%),
		linear-gradient(0deg, rgba(3, 12, 22, .54) 0%, rgba(3, 12, 22, .18) 22%, rgba(3, 12, 22, 0) 48%),
		linear-gradient(rgba(7, 20, 33, .1), rgba(7, 20, 33, .1));
}
.db-hero-video { position: absolute; z-index: 1; top: 50%; left: 50%; width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%); opacity: 0; transition: opacity .55s ease; pointer-events: none; }
.db-hero-video.is-ready { opacity: 1; }

#db-hero-text { position: relative; z-index: 4; padding: 0 var(--g); }
#db-available { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(22px, 2vw, 32px); font-size: clamp(12px, .85vw, 14px); line-height: 1.5; letter-spacing: .08em; }
#db-available span:last-child { font: 500 11px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(245, 243, 238, .6); }
.avail-pulse { flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); animation: db-pulse 2s ease-in-out infinite; }
@keyframes db-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.85); } }

#db-headline { max-width: 880px; margin: 0 0 clamp(24px, 2.4vw, 38px); font-size: clamp(40px, 5.4vw, 92.5px); line-height: .94; letter-spacing: -.035em; color: var(--warm); text-shadow: 0 2px 20px rgba(0, 0, 0, .12); }
#db-headline em { font-style: italic; color: var(--blue); }
.db-dot { color: var(--blue); }
#db-body { max-width: 900px; margin: 0 0 24px; font-size: 16px; line-height: 1.65; color: #e7e7e7; }
#db-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
#db-buttons .db-btn { display: flex; }

.db-hero-play {
	position: absolute; z-index: 5; left: 50%; top: 50%; width: clamp(76px, 7vw, 104px); aspect-ratio: 1; padding: 0;
	display: grid; place-items: center; transform: translate(-50%, -50%);
	border: 1px solid rgba(255, 255, 255, .62); border-radius: 50%; color: #fff; background: rgba(4, 12, 24, .28);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	box-shadow: 0 12px 42px rgba(0, 0, 0, .24), inset 0 0 0 1px rgba(255, 255, 255, .08);
	transition: transform .25s, background-color .25s, border-color .25s;
}
.db-hero-play::before { content: ""; width: 0; height: 0; margin-left: 7%; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 16px solid currentColor; }
.db-hero-play:hover, .db-hero-play:focus-visible { transform: translate(-50%, -50%) scale(1.08); background: rgba(25, 87, 145, .54); border-color: rgba(255, 255, 255, .9); outline: none; }
@media (min-width: 1800px) { .db-hero-play { width: clamp(112px, 6vw, 132px); } }
@media (max-width: 700px) { #db-headline { font-size: 47px; line-height: .96; } }
@media (max-width: 648px) {
	#db-buttons { flex-direction: column; align-items: stretch; }
	.db-hero-play { top: 38%; }
}
@media (prefers-reduced-motion: reduce) { .db-hero-video { display: none; } }

/* ---------- Home: intro strip ---------- */

#db-intro { background: #fff; overflow: hidden; }
#db-intro-inner { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(32px, 4vw, 80px); padding: var(--v) var(--g); }
.db-invitation { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.db-invitation + .db-invitation::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(-.5 * clamp(32px, 4vw, 80px)); width: 1px; background: #e4e4e4; }
.db-invitation-icon { display: block; width: 28px; height: 28px; margin: 0 0 18px; color: var(--blue); }
.db-invitation-icon svg { width: 28px; height: 28px; }
.db-invitation-label { margin: 0 0 16px; font-size: 11px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.db-invitation h2 { margin: 0 0 20px; font-size: clamp(28px, 2vw, 40px); line-height: 1.15; color: #333; }
.db-invitation-body { flex-grow: 1; margin: 0 0 24px; font-size: 16px; line-height: 1.75; color: #636363; }
.db-invitation-link { display: flex; align-items: baseline; gap: 8px; font-size: 16px; line-height: 1.5; color: var(--blue); transition: color .2s; }
.db-invitation-link:hover { color: var(--blue-hover); text-decoration: underline; }
@media (max-width: 800px) {
	#db-intro-inner { grid-template-columns: 1fr; gap: 28px 32px; }
	.db-invitation + .db-invitation { padding-top: 28px; border-top: 1px solid #e4e4e4; }
	.db-invitation + .db-invitation::before { display: none; }
}

/* ---------- Home: selected projects ---------- */

#db-work { background: var(--navy-135); border-top: 1px solid rgba(255, 255, 255, .1); border-bottom: 1px solid rgba(255, 255, 255, .1); }
#db-work-inner { padding: var(--v) var(--g); }
#db-work-header { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 0 0 24px; }
#db-work-headline { font-size: clamp(30px, 2.5vw, 44px); font-weight: 500; line-height: 1.12; color: #fff; }
#db-work-intro { max-width: 65ch; font-size: 16px; line-height: 1.65; color: #c2cfdb; }
#db-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 24px; }
#db-work-footer { display: flex; justify-content: center; }
/* Four featured projects: 2 x 2, then one row of four on wide screens, so none is left alone on a row. */
@media (min-width: 1500px) { #db-work-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 648px)  { #db-work-grid { grid-template-columns: 1fr; } }

.db-card { display: block; overflow: hidden; background: #fff; border: 1px solid #ddd; }
.db-card-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.db-card-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.db-card-thumb { border-bottom: 1px solid #ddd; }
.db-card:hover .db-card-thumb img { transform: scale(1.04); }
/* Plain-words label over card images, shared by the home and Work cards. */
.db-thumb-label { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: rgba(8, 21, 34, .88); font: 500 13px/1.2 var(--sans); color: #fff; }
.db-thumb-label svg { flex: none; width: 11px; height: 11px; color: #8fc3e4; }
.db-card-info { padding: 18px 20px 22px; background: #fff; }

/* Card label + title, shared by the home cards and the Work page cards. */
.db-card-tag, .db-work-card-caption small { display: block; margin: 0 0 8px; font: 500 clamp(12px, .85vw, 14px)/1.5 var(--sans); letter-spacing: .065em; text-transform: uppercase; color: #62676b; }
.db-card-title, .db-work-card-caption h2 { margin: 0 0 6px; font-family: var(--serif); font-size: clamp(22px, 1.5vw, 28px); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; color: #333; }

/* ---------- Home: client logos ---------- */

#db-logo-showcase { padding: var(--v) 0; background: #fff; border-bottom: 1px solid rgba(25, 26, 26, .09); overflow: hidden; }
/* Heading matches the other home sections (see #db-work-header), in dark-on-white. */
.db-logo-showcase-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 0 0 24px; padding: 0 var(--g); }
.db-logo-showcase-heading h2 { font-size: clamp(30px, 2.5vw, 44px); font-weight: 500; line-height: 1.12; color: #333; }
.db-logo-showcase-note { max-width: 65ch; margin: 0; font-size: 16px; line-height: 1.65; color: #606060; }
#db-ai { background: #f5f5f5; border-bottom: 1px solid rgba(25, 26, 26, .09); }
#db-ai-inner { --ai-gap: clamp(28px, 3.2vw, 72px); padding: var(--v) var(--g); }
.db-ai-head { margin-bottom: 28px; }
.db-ai-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto auto; gap: 10px var(--ai-gap); padding-top: 26px; border-top: 1px solid #dddddd; }
.db-ai-col { position: relative; display: grid; grid-row: span 3; grid-template-rows: subgrid; }
.db-ai-col .db-ai-num { margin: 0; font: 500 11px/1.75 var(--sans); letter-spacing: .09em; color: var(--blue); }
.db-ai-col + .db-ai-col::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(-.5 * var(--ai-gap)); width: 1px; background: #dddddd; }
#db-ai .db-invitation-label { margin: 0 0 12px; }
#db-ai h2 { margin: 0; font-size: clamp(28px, 2.3vw, 44px); font-weight: 500; line-height: 1.15; color: #333; }
#db-ai h3 { margin: 0; font-size: clamp(19px, 1.3vw, 22px); font-weight: 500; line-height: 1.25; color: #333; }
.db-ai-col p { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.65; color: #636363; }
@media (max-width: 900px) {
	.db-ai-cols { grid-template-columns: 1fr; gap: 0; padding-top: 0; border-top: 0; }
	.db-ai-col { display: block; padding: 20px 0; border-top: 1px solid #dddddd; }
	.db-ai-col:last-child { padding-bottom: 0; }
	.db-ai-col .db-ai-num { margin-bottom: 8px; }
	.db-ai-col h3 { margin-bottom: 8px; }
	.db-ai-col + .db-ai-col::before { display: none; }
}
/* Desktop: one line, first logo flush with the heading, last flush with the right margin, equal gaps between. */
.db-logo-row { display: flex; justify-content: space-between; align-items: center; gap: 28px 16px; margin: 0; padding: 0 var(--g); list-style: none; }
.db-logo-row li { display: flex; align-items: center; justify-content: flex-start; height: 60px; min-width: 0; }
/* Each logo's width comes from db_logo_size() (equal visual weight); --s scales the whole row down where space is tight. */
.db-logo-row img { width: calc(var(--w) * var(--s, 1)); max-width: 100%; height: auto; opacity: var(--o, .5); filter: grayscale(1); }
@media (min-width: 1101px) and (max-width: 1360px) { .db-logo-row { --s: .8; } }
/* Tablets and phones: a grid, with every logo's left edge on its column line. */
@media (max-width: 1100px) { .db-logo-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 32px; } }
@media (max-width: 520px) { .db-logo-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Home: closing call to action ---------- */

#db-cta { background: var(--navy-135); }
#db-cta-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: var(--v) var(--g); text-align: center; }
#db-cta-headline { font-size: clamp(32px, 3vw, 46px); line-height: 1.12; color: #fff; }
#db-cta-sub { font-size: 16px; line-height: 1.65; color: #c2cfdb; }

/* ---------- Footer ---------- */

#db-site-footer { background: #111; border-top: 1px solid rgba(245, 243, 238, .06); }
#db-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 32px var(--g); }
.home #db-footer-inner { padding-top: var(--hv); padding-bottom: var(--hv); }
#db-footer-logo img { width: 120px; height: auto; opacity: .3; }
#db-footer-right { display: flex; align-items: center; gap: 40px; }
.db-footer-link { font: 500 11px/1.7 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(245, 243, 238, .4); transition: color .2s; }
.db-footer-link:hover { color: var(--warm); }
#db-footer-copy { font-size: 11px; line-height: 1.7; letter-spacing: .1em; color: rgba(245, 243, 238, .2); }
@media (max-width: 768px) {
	#db-footer-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
	#db-footer-right { flex-wrap: wrap; gap: 16px; }
}

/* ---------- Reel lightbox ---------- */

#db-lightbox { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(0, 0, 0, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#db-lightbox[hidden] { display: none; }
#db-lb-inner { position: relative; width: 100%; max-width: calc((100vh - 105px) * 16 / 9); }
#db-lb-bar { display: flex; align-items: center; justify-content: space-between; padding: 0 0 12px; }
#db-lb-title { font: 500 11px/1.7 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(245, 243, 238, .5); }
#db-lb-close { padding: 9px 13px; border: 1px solid rgba(255, 255, 255, .32); border-radius: 999px; background: rgba(7, 12, 22, .72); color: #fff; font: 400 11px/1.15 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
#db-lb-close:hover { color: var(--warm); }
#db-lb-frame { aspect-ratio: 16 / 9; background: #000; box-shadow: 0 30px 90px rgba(0, 0, 0, .65); }
#db-lb-frame iframe { width: 100%; height: 100%; border: 0; }
body.db-reel-open { overflow: hidden; }

/* ---------- Inner pages ---------- */

.db-page { font-family: var(--sans); color: #333; background: #fff; }
.db-page-shell { padding: 0 var(--g); }
.db-page-hero { padding: calc(124px + var(--v)) 0 var(--v); background: var(--navy-115); color: #fff; }
.db-page-body { padding: var(--v) 0; }

.db-kicker { margin: 0 0 22px; font: 500 11px/1.75 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #636568; }
.db-page-hero .db-kicker { color: #75bce6; }

.db-page h1 { font-size: clamp(44px, 5vw, 76px); line-height: 1.08; color: #fff; }
.db-page h1 em, .db-page h2 em { font-style: italic; color: var(--blue); }

.db-page-deck { max-width: 650px; margin: 24px 0 0; font-size: 16px; line-height: 1.75; color: #aaa; }
.db-page-hero .db-page-deck { max-width: min(760px, 55vw); color: #c2cfdb; }
.db-page .db-btn { margin-top: 25px; }
@media (max-width: 900px) { .db-page-hero .db-page-deck { max-width: 100%; } }

/* Work */
.db-work-page .db-page-hero h1 { max-width: 1050px; font-size: clamp(48px, 5.2vw, 80px); line-height: 1.04; letter-spacing: -.035em; }
.db-work-page .db-page-deck { max-width: 650px; margin-top: 28px; font-size: 18px; line-height: 1.65; }
.db-work-page .db-page-body { background: #f5f5f5; }
@media (max-width: 700px) { .db-work-page .db-page-deck { margin-top: 22px; font-size: 16px; } }

.db-filter { display: flex; flex-wrap: wrap; gap: 30px; margin: 0 0 36px; border-bottom: 1px solid #dddddd; }
.db-filter button { padding: 0 0 16px; border: 0; background: transparent; color: #777; font: 400 11px/1.15 var(--sans); letter-spacing: 1.4px; text-transform: uppercase; }
.db-filter button.active { color: #333; border-bottom: 2px solid var(--blue); }

.db-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.db-project-card { overflow: hidden; background: #fff; border: 1px solid #ddd; }
.db-project-card[hidden] { display: none; }
.db-project-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #171921; transition: color .2s; }
.db-project-media { border-bottom: 1px solid #ddd; }
.db-project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.db-project-media:hover img { transform: scale(1.04); }
.db-work-card-caption { padding: 18px 20px 22px; }
.db-work-card-caption h2 a { transition: color .2s; }
.db-work-card-caption h2 a:hover, .db-project-card:has(.db-project-media:hover) h2 a { color: var(--blue); }
@media (min-width: 1500px) { .db-project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 2400px) { .db-project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .db-project-grid { grid-template-columns: 1fr; } }

/* About: one four-column grid. The photo is column one and is exactly as tall as the content beside it;
   the three paragraphs and the three capabilities sit in columns two to four, one above the other. */
.db-page-body { --about-gap: clamp(28px, 3vw, 60px); }
.db-about-grid { display: grid; grid-template-columns: calc((100% - 3 * var(--about-gap)) / 4) minmax(0, 1fr); gap: var(--about-gap); align-items: stretch; }
.db-about-side { position: relative; min-height: 320px; }
.db-about-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.db-about-photo-empty { display: flex; align-items: center; justify-content: center; border: 1px dashed #c8c8c8; background: #f5f5f5; }
.db-about-photo-empty span { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #868686; }
.db-about-copy { display: flex; flex-direction: column; min-width: 0; }
.db-about-grid h2 { margin: -.12em 0 26px; font-size: clamp(34px, 2.6vw, 50px); line-height: 1.05; }
.db-about-text, .db-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--about-gap); }
.db-about-text p { margin: 0; font-size: 16px; line-height: 1.75; color: #636568; }
.db-about-copy .db-btn { display: inline-flex; align-self: flex-start; margin: 32px 0 0; }
.db-capabilities { margin-top: 36px; padding-top: 30px; border-top: 1px solid #dddddd; }
.db-capabilities .db-kicker { color: var(--blue); }
.db-capabilities h3 { margin: 12px 0; font-size: 25px; line-height: 1.1; }
.db-capabilities p:not(.db-kicker) { font-size: 16px; line-height: 1.75; color: #636568; }
@media (max-width: 1499px) {
	.db-about-grid { grid-template-columns: minmax(220px, 1fr) minmax(0, 2.6fr); }
	.db-about-side { align-self: start; aspect-ratio: 4 / 5; min-height: 0; }
	.db-about-text { display: block; columns: 2; column-gap: var(--about-gap); }
	.db-about-text p { margin-bottom: 1.2em; break-inside: avoid; }
}
@media (max-width: 1100px) {
	.db-about-text { columns: 1; }
	.db-capabilities { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 700px) {
	.db-about-grid { grid-template-columns: 1fr; }
	.db-about-grid h2 { margin-top: 0; }
}

/* Contact */
.db-contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 96px); align-items: start; }
.db-contact-layout h2 { margin: -.1em 0 20px; font-size: clamp(36px, 2.8vw, 52px); line-height: 1.05; }
.db-contact-lede { margin: 0 0 28px; font-size: 16px; line-height: 1.75; color: #636568; }
.db-contact-links { border-top: 1px solid #dddddd; }
.db-contact-links a { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; border-bottom: 1px solid #dddddd; font-size: 14px; line-height: 1.7; transition: color .2s; }
.db-contact-links a:hover { color: var(--blue); }
.db-contact-place { margin: 20px 0 0; font-size: 14px; color: #868686; }
.db-contact-form { padding: clamp(24px, 2.6vw, 44px); background: #f5f5f5; }
.db-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.db-field { margin: 0 0 20px; }
.db-field label { display: block; margin-bottom: 8px; font: 500 11px/1.5 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #4a4d50; }
.db-field input, .db-field textarea { display: block; width: 100%; padding: 13px 14px; border: 1px solid #d0d0d0; border-radius: 0; background: #fff; font: 400 16px/1.5 var(--sans); color: #333; transition: border-color .2s, background .2s; }
.db-field textarea { min-height: 170px; resize: vertical; }
.db-field input:hover, .db-field textarea:hover { border-color: #a4a4a4; }
.db-field input:focus, .db-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); background: #fff; }
.db-contact-form .db-btn { margin-top: 4px; }
.db-contact-steps { list-style: none; margin: 0 0 32px; padding: 0; }
.db-contact-steps li { display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 16px 0; border-top: 1px solid #dddddd; }
.db-contact-steps span { font: 500 11px/1.75 var(--sans); letter-spacing: .09em; color: var(--blue); padding-top: 2px; }
.db-contact-steps strong { display: block; font-size: 16px; line-height: 1.4; font-weight: 500; }
.db-contact-steps p { margin: 4px 0 0; font-size: 14px; line-height: 1.6; color: #636568; }
.db-field label em, .db-choices legend em { margin-left: 6px; font-style: normal; letter-spacing: .04em; text-transform: none; color: #8d8d8d; }
.db-choices { border: 0; padding: 0; min-width: 0; }
.db-choices legend { padding: 0; margin-bottom: 8px; font: 500 11px/1.5 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #4a4d50; }
.db-choices > div { display: flex; flex-wrap: wrap; gap: 8px; }
.db-choices label { position: relative; display: block; margin: 0; letter-spacing: 0; text-transform: none; cursor: pointer; }
.db-choices input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.db-choices span { display: block; padding: 10px 16px; border: 1px solid #d0d0d0; background: #fff; font: 400 14px/1.4 var(--sans); color: #333; transition: border-color .2s, background .2s, color .2s; }
.db-choices label:hover span { border-color: #a4a4a4; }
.db-choices input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.db-choices input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.db-field select { display: block; width: 100%; padding: 13px 40px 13px 14px; border: 1px solid #d0d0d0; border-radius: 0; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; font: 400 16px/1.5 var(--sans); color: #333; appearance: none; -webkit-appearance: none; }
.db-field select:hover { border-color: #a4a4a4; }
.db-field select:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.db-field textarea::placeholder { color: #9a9a9a; }
.db-form-fine { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: #868686; }
.db-form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.db-form-note { margin: 0 0 24px; padding: 16px 18px; border-left: 3px solid; font-size: 15px; line-height: 1.6; color: #333; }
.db-form-note strong { display: block; }
.db-form-ok { border-color: #2c8a57; background: #eef7f1; margin-bottom: 0; }
.db-form-bad { border-color: #c0392b; background: #fbefed; }
.db-form-note a { color: var(--blue); text-decoration: underline; }
@media (max-width: 520px) { .db-form-row { grid-template-columns: 1fr; gap: 0; } }

/* Résumé */
.db-resume-block { display: grid; grid-template-columns: 260px 1fr; gap: 45px; padding: 32px 0; border-top: 1px solid #dddddd; }
.db-resume-block h2 { font-size: 28px; line-height: 1.1; }
.db-resume-block p { font-size: 16px; line-height: 1.75; color: #636568; }
.db-resume-block li { font-size: 14px; line-height: 1.75; color: #636568; }
.db-resume-block p + p { margin-top: 1.2em; }
.db-resume-block ul { margin: 15px 0; }
.db-resume-block a { color: var(--blue); }
.db-resume-block a:hover { color: var(--blue-hover); text-decoration: underline; }
.db-resume-block li { padding-left: 4px; }
.db-resume-block ul { padding-left: 18px; }
.db-resume-job + .db-resume-job { margin-top: 28px; padding-top: 28px; border-top: 1px solid #e7e7e7; }
.db-resume-job-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; }
.db-resume-job h3 { margin: 0; font-size: 21px; font-weight: 500; line-height: 1.25; color: #333; }
.db-resume-block .db-resume-dates { margin: 0; font-size: 13px; letter-spacing: .04em; white-space: nowrap; color: #636568; }
.db-resume-block .db-resume-org { margin: 4px 0 0; font-size: 15px; font-weight: 500; color: #333; }
.db-resume-org span { font-weight: 400; color: #636568; }
.db-resume-block .db-resume-note { margin: 4px 0 0; font-size: 13px; line-height: 1.6; }
.db-resume-job ul { margin: 12px 0 0; }
.db-resume-job li { font-size: 15px; line-height: 1.65; }
.db-resume-job li + li { margin-top: 5px; }
.db-resume-block .db-resume-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 26px 0 0; padding: 22px 0 0; border-top: 1px solid #e7e7e7; list-style: none; }
.db-resume-stats li { padding: 0; }
.db-resume-stats strong { display: block; font-family: var(--serif, Georgia, serif); font-size: 34px; font-weight: 500; line-height: 1.1; color: #333; }
.db-resume-stats span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; }
.db-resume-block .db-resume-cols { columns: 2; column-gap: 40px; margin: 0; }
.db-resume-cols li { break-inside: avoid; font-size: 15px; }
.db-resume-tools { display: grid; gap: 12px; margin: 0; }
.db-resume-tools div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.db-resume-tools dt { font-size: 13px; letter-spacing: .04em; line-height: 1.9; color: #333; }
.db-resume-tools dd { margin: 0; font-size: 15px; line-height: 1.65; color: #636568; }
@media (max-width: 700px) {
	.db-resume-block .db-resume-stats { grid-template-columns: 1fr; gap: 16px; }
	.db-resume-block .db-resume-cols { columns: 1; }
	.db-resume-tools div { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 700px) {
	.db-about-grid, .db-capabilities, .db-contact-layout { grid-template-columns: 1fr; }
	.db-about-grid, .db-contact-layout { gap: 32px; }
	.db-about-grid h2, .db-contact-layout h2 { font-size: 39px; }
	.db-filter { gap: 12px 22px; }
	.db-resume-block { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- Project pages ---------- */

.db-film-project { color: #333; background: #fff; }
.db-film-opening { padding: calc(124px + var(--v)) 0 var(--v); background: var(--navy-115); color: #fff; }
.db-back { display: inline-block; margin-bottom: 25px; font-size: 11px; line-height: 1.7; letter-spacing: .07em; text-transform: uppercase; color: #bdcbd7; transition: color .2s; }
.db-back:hover { color: #fff; }
.db-film-title .db-kicker { margin-bottom: 14px; color: #8fc3e4; }
.db-film-deck { margin: 18px 0 0; font-size: 16px; line-height: 1.75; color: #c7d6e0; }

.db-film-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; align-items: start; }
.db-film-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #07111c; }
.db-film-video.db-film-still { height: auto; aspect-ratio: auto; background: none; }
iframe.db-film-video { border: 0; }
.db-film-stat { display: flex; align-items: baseline; gap: 14px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.db-film-stat strong { font-size: clamp(40px, 4.4vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -.02em; color: #fff; }
.db-film-stat span { font-size: 16px; line-height: 1.4; color: #c7d6e0; }
.db-film-facts { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 22px; }
.db-film-facts small, .db-film-summary h3 { display: block; margin: 0 0 7px; font: 500 11px/1.5 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #8fc3e4; }
.db-film-facts span { font-size: 13px; line-height: 1.5; color: #c7d6e0; }
.db-film-summary h2 { margin: 0 0 22px; font-size: clamp(32px, 3vw, 46px); line-height: 1.1; color: #fff; }
.db-film-summary p { margin: 0 0 24px; font-size: 16px; line-height: 1.75; color: #c7d6e0; }
.db-film-summary .db-btn, .db-film-next .db-btn { margin-top: 0; }
.db-film-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.db-film-actions .db-btn span { margin-left: 7px; }
.db-btn.db-btn-quiet { background: transparent; border-color: rgba(255, 255, 255, .45); }
.db-btn.db-btn-quiet:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.db-film-behind { padding: var(--v) 0; background: #fff; }
.db-film-behind .db-kicker { margin-bottom: 14px; color: var(--blue); }
.db-film-behind h2 { margin: 0 0 34px; font-size: clamp(34px, 3.2vw, 50px); line-height: 1.1; color: #333; }
.db-film-process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 80px); }
.db-film-process-grid h3 { margin: 0 0 14px; font-size: 17px; line-height: 1.4; }
.db-film-process-grid p { font-size: 16px; line-height: 1.75; color: #606060; }

.db-film-tools { margin-top: 36px; padding-top: 24px; border-top: 1px solid #e0e0e0; }
.db-film-tools h3 { margin: 0 0 10px; font: 500 11px/1.4 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--blue); }
.db-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.db-tools li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 12px 16px 12px 12px; border: 1px solid #e7e7e7; font: 500 14px/1.4 var(--sans); color: #333; }
.db-tool-icon { display: inline-flex; flex: 0 0 44px; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; font: 700 19px/1 var(--sans); letter-spacing: -.03em; }
.db-tool-icon svg { width: 24px; height: 24px; }
.db-tool-ae, .db-tool-pr, .db-tool-au, .db-tool-me { background: #00005b; color: #9999ff; }
.db-tool-ai { background: #330000; color: #ff9a00; }
.db-tool-ps { background: #001e36; color: #31a8ff; }
.db-tool-id { background: #49021f; color: #ff3366; }
.db-tool-pb { background: #035c55; color: #6ee6d6; }
.db-tool-c4d { background: none; }
.db-tool-visme { background: #2b7de9; color: #fff; }
.db-tool-wp { background: #21759b; color: #fff; }
.db-tool-claude { background: #f0eee6; color: #d97757; }
.db-tool-codex { background: #0d0d0d; color: #fff; }
.db-tool-chatgpt { background: #0d0d0d; color: #fff; }
.db-tool-eleven { background: #0d0d0d; color: #fff; }
.db-tool-html { background: #e34f26; color: #fff; }
.db-tool-css { background: #1572b6; color: #fff; }
.db-tool-claude svg, .db-tool-codex svg, .db-tool-chatgpt svg, .db-tool-html svg, .db-tool-css svg { width: 26px; height: 26px; }
.db-tool-wp svg { width: 26px; height: 26px; }
.db-tool-eleven svg { width: 20px; height: 20px; }
.db-tool-c4d svg { width: 44px; height: 44px; }
.db-tool-skill { background: #f1f1f1; color: var(--blue); }

/* Projects with several films: one player, a playlist underneath swaps what it plays. */
.db-playlist-label { margin: 26px 0 12px; font: 500 11px/1.5 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #8fc3e4; }
.db-playlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.db-playlist li { margin: 0; }
.db-playlist-item { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.db-playlist-item:focus-visible { outline: 2px solid #8fc3e4; outline-offset: 4px; }
.db-playlist-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #07111c; }
.db-playlist-thumb::after { content: ""; position: absolute; inset: 0; border: 2px solid transparent; transition: border-color .2s; }
.db-playlist-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity .2s; }
.db-playlist-item:hover .db-playlist-thumb img, .db-playlist-item.is-active .db-playlist-thumb img { opacity: 1; }
.db-playlist-item.is-active .db-playlist-thumb::after { border-color: #8fc3e4; }
.db-playlist-now { position: absolute; top: 8px; left: 8px; display: none; padding: 3px 7px; background: var(--blue); font: 500 10px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.db-playlist-item.is-active .db-playlist-now { display: block; }
.db-playlist-length { position: absolute; right: 8px; bottom: 8px; padding: 2px 6px; background: rgba(7, 17, 28, .85); font: 500 11px/1.4 var(--sans); color: #fff; }
.db-playlist-text { display: flex; gap: 10px; margin-top: 10px; font-size: 13px; line-height: 1.45; color: #9fb1c0; transition: color .2s; }
.db-playlist-num { flex: none; font: 500 11px/1.75 var(--sans); letter-spacing: .06em; color: #8fc3e4; }
.db-playlist-item:hover .db-playlist-text, .db-playlist-item.is-active .db-playlist-text { color: #fff; }
.db-links { display: grid; gap: 12px; margin: 14px 0 0; padding: 0; list-style: none; }
.db-links li { margin: 0; }
.db-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; border: 1px solid #e7e7e7; font: 500 14px/1.4 var(--sans); color: #333; text-decoration: none; }
.db-links a:hover, .db-links a:focus-visible { border-color: var(--blue); color: var(--blue); }

/* Project gallery: titled sections; every row shares one height, each image keeps its own proportions. */
.db-showcase { padding: var(--v) 0; background: #f6f6f6; }
.db-showcase-process { border-top: 1px solid #e7e7e7; }
.db-showcase .db-kicker { margin-bottom: 14px; color: var(--blue); }
.db-showcase h2 { margin: 0; font-size: clamp(34px, 3.2vw, 50px); line-height: 1.1; color: #333; }
.db-set { margin-top: clamp(40px, 5vw, 72px); }
.db-set:first-of-type { margin-top: 34px; }
.db-set { padding-top: 28px; border-top: 1px solid #d9d9d9; }
.db-set-rows { max-width: 760px; }
/* Titled section: heading and note on the left, images in a narrower column on the right. */
.db-set-titled { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.db-set-titled .db-set-rows { max-width: none; }
.db-set-head { position: sticky; top: 104px; }
.db-set-num { display: block; margin-bottom: 12px; font: 500 11px/1.5 var(--sans); letter-spacing: .09em; color: var(--blue); }
.db-set-head h3 { margin: 0; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: #333; }
.db-set-head p { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: #606060; }
.db-row { display: flex; align-items: flex-start; gap: 16px; }
.db-row + .db-row { margin-top: 16px; }
.db-row figure, .db-row-fill { flex: var(--r) 1 0; min-width: 0; margin: 0; }
.db-row img, .db-row video { display: block; width: 100%; aspect-ratio: var(--r); object-fit: cover; background: #e9e9e9; }
.db-zoom-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #fff; box-shadow: 0 1px 2px rgba(16, 32, 48, .08), 0 8px 24px rgba(16, 32, 48, .06); cursor: pointer; transition: box-shadow .2s, transform .2s; }
.db-zoom-open:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16, 32, 48, .1), 0 14px 34px rgba(16, 32, 48, .14); }
.db-zoom-open:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.db-row figcaption { margin-top: 10px; font-size: 12px; line-height: 1.5; color: #757575; }

/* Spread: a multi-page document shown whole, on a dark panel, with its title alongside. */
.db-set-spread { align-items: center; border: 0; padding: clamp(28px, 4vw, 56px); background: var(--navy-115); color: #fff; }
.db-set.db-set-spread, .db-set-spread:first-of-type { margin-top: 24px; }
.db-showcase h2 + .db-set-spread { margin-top: 34px; }
.db-set-spread .db-set-head { position: static; }
.db-set-spread .db-set-num { color: #8fc3e4; }
.db-set-spread .db-set-head h3 { font-size: clamp(26px, 2.4vw, 36px); line-height: 1.15; color: #fff; }
.db-set-spread .db-set-head p { margin-top: 16px; color: #c7d6e0; }
.db-set-view { margin-top: 26px; padding: 0 0 4px; border: 0; border-bottom: 1px solid #8fc3e4; background: none; font: 500 11px/1.5 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #8fc3e4; cursor: pointer; transition: color .2s, border-color .2s; }
.db-set-view:hover, .db-set-view:focus-visible { color: #fff; border-color: #fff; outline: none; }
/* Wide enough to fill the column, never taller than the screen can show. */
.db-set-spread .db-set-rows { width: 100%; max-width: calc((min(62vh, 540px) * var(--sum)) + 20px); margin: 0 auto; }
.db-set-spread .db-row { gap: 20px; }
.db-set-spread .db-zoom-open { box-shadow: 0 18px 44px rgba(0, 0, 0, .42); }
.db-set-spread .db-row figcaption { color: #9fb1c0; }

/* Enlarged gallery image. */
.db-zoom { position: fixed; inset: 0; z-index: 10001; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: rgba(6, 14, 22, .96); color: #fff; }
.db-zoom[hidden] { display: none; }
.db-zoom-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; font: 500 11px/1.5 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #9fb1c0; }
.db-zoom-stage { overflow: auto; padding: 0 20px; text-align: center; overscroll-behavior: contain; }
.db-zoom-stage img { display: inline-block; max-width: min(100%, 1400px); height: auto; vertical-align: top; background: #fff; }
.db-zoom-stage.is-wide { display: flex; align-items: center; justify-content: center; }
.db-zoom-stage.is-wide img { max-height: 100%; width: auto; object-fit: contain; }
.db-zoom-foot { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 64px; padding: 12px 20px; }
.db-zoom-caption { flex: 0 1 560px; font-size: 13px; line-height: 1.5; text-align: center; color: #c7d6e0; }
.db-zoom button { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255, 255, 255, .28); background: none; color: #fff; font: 400 18px/1 var(--sans); cursor: pointer; transition: background .2s, border-color .2s; }
.db-zoom button:hover, .db-zoom button:focus-visible { background: rgba(255, 255, 255, .14); border-color: #fff; outline: none; }
.db-zoom button[hidden] { display: none; }

.db-film-next { padding: var(--v) 0; background: var(--navy-115); color: #fff; }
.db-film-next > .db-page-shell { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 24px; text-align: center; }
.db-film-next .db-kicker { margin: 0 0 18px; color: #8fc3e4; }
.db-film-next h2 { margin: 0 0 22px; font-size: clamp(32px, 4.5vw, 62px); line-height: 1.1; color: #fff; }
.db-film-next p:not(.db-kicker) { font-size: 15px; line-height: 1.6; color: #c2cfdb; }

@media (max-width: 700px) {
	.db-film-layout, .db-film-process-grid { grid-template-columns: 1fr; }
	.db-set-titled { grid-template-columns: 1fr; gap: 22px; }
	.db-set-head { position: static; }
	.db-set-spread .db-row { flex-wrap: nowrap; gap: 12px; }
	.db-set-spread .db-row figure { flex: var(--r) 1 0; }
	.db-row { flex-wrap: wrap; }
	.db-row figure { flex: 1 1 100%; }
	.db-row-fill { display: none; }
	.db-film-process-grid { gap: 30px; }
	.db-film-summary h2 br { display: none; }
	.db-film-facts { gap: 18px 24px; }
	.db-playlist { grid-template-columns: 1fr; gap: 12px; }
	.db-playlist-item { display: grid; grid-template-columns: 128px 1fr; gap: 14px; align-items: center; }
	.db-playlist-text { margin-top: 0; }
	.db-playlist-now { top: auto; bottom: 6px; left: 6px; padding: 2px 5px; font-size: 9px; }
	.db-playlist-item.is-active .db-playlist-now + .db-playlist-length { display: none; }
}

/* ---------- Print (résumé) ---------- */

@media print {
	#db-site-header, #db-site-footer, #db-lightbox, .db-zoom, .db-page-hero .db-btn { display: none !important; }
	.db-page-hero { padding: 0 0 16px; background: none; color: #000; }
	.db-page h1 { color: #000; }
	.db-page-deck, .db-page-hero .db-page-deck { color: #333; }
	.db-resume-block { padding: 14px 0; grid-template-columns: 150px 1fr; gap: 24px; }
	.db-resume-block h2 { font-size: 18px; }
	.db-resume-job { break-inside: avoid; }
	.db-resume-job + .db-resume-job { margin-top: 12px; padding-top: 12px; }
	.db-resume-block a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
	.db-card-thumb img, .db-project-media img { transition: none; }
	.db-card:hover .db-card-thumb img, .db-project-media:hover img { transform: none; }
}

/* ---------- QA pass: phone tap targets and legibility ---------- */

.db-playlist-now { font-size: 11px; }
@media (max-width: 768px) {
	/* Header stays readable when page text scrolls under it. */
	#db-site-header.db-mid .db-header-bar::before { background: rgba(7, 16, 27, .93); }
	/* Finger-sized targets (44px) for small links and buttons. */
	#db-burger { box-sizing: content-box; width: 22px; padding: 15px 11px; margin: -11px; }
	.db-footer-link { display: inline-block; padding: 12px 0; }
	.db-back { padding: 13px 0; margin-bottom: 12px; }
	.db-invitation-link { padding: 10px 0; }
	.db-filter button { padding-top: 14px; }
	.db-set-view { margin-top: 10px; padding-top: 22px; }
	.db-playlist-now { font-size: 11px; }
}
