/* ==========================================================================
   Beeldwerk – main stylesheet
   ========================================================================== */

/* ---- Fonts ---------------------------------------------------------- */
@font-face { font-family: 'Cukier'; font-style: normal; font-weight: 200; font-display: swap; unicode-range: U+0020-0025, U+0027, U+002A, U+002C, U+002E-0033, U+0035-003B, U+003F, U+0041-005A, U+005F, U+0061-007A, U+00C0-00FF; src: url('../fonts/fonnts.com-cukier-extralight.woff') format('woff'); }
@font-face { font-family: 'Cukier'; font-style: italic; font-weight: 200; font-display: swap; unicode-range: U+0020-0025, U+0027, U+002A, U+002C, U+002E-0033, U+0035-003B, U+003F, U+0041-005A, U+005F, U+0061-007A, U+00C0-00FF; src: url('../fonts/fonnts.com-cukier-extralightitalic.woff') format('woff'); }
@font-face { font-family: 'Cukier'; font-style: normal; font-weight: 300; font-display: swap; unicode-range: U+0020-0025, U+0027, U+002A, U+002C, U+002E-0033, U+0035-003B, U+003F, U+0041-005A, U+005F, U+0061-007A, U+00C0-00FF; src: url('../fonts/fonnts.com-cukier-light.woff') format('woff'); }
@font-face { font-family: 'Cukier'; font-style: italic; font-weight: 300; font-display: swap; unicode-range: U+0020-0025, U+0027, U+002A, U+002C, U+002E-0033, U+0035-003B, U+003F, U+0041-005A, U+005F, U+0061-007A, U+00C0-00FF; src: url('../fonts/fonnts.com-cukier-lightitalic.woff') format('woff'); }
@font-face { font-family: 'Cukier'; font-style: normal; font-weight: 400; font-display: swap; unicode-range: U+0020-0025, U+0027, U+002A, U+002C, U+002E-0033, U+0035-003B, U+003F, U+0041-005A, U+005F, U+0061-007A, U+00C0-00FF; src: url('../fonts/fonnts.com-cukier-regular.woff') format('woff'); }
@font-face { font-family: 'Cukier'; font-style: italic; font-weight: 400; font-display: swap; unicode-range: U+0020-0025, U+0027, U+002A, U+002C, U+002E-0033, U+0035-003B, U+003F, U+0041-005A, U+005F, U+0061-007A, U+00C0-00FF; src: url('../fonts/fonnts.com-cukier-italic.woff') format('woff'); }
@font-face { font-family: 'Cukier'; font-style: normal; font-weight: 500; font-display: swap; unicode-range: U+0020-0025, U+0027, U+002A, U+002C, U+002E-0033, U+0035-003B, U+003F, U+0041-005A, U+005F, U+0061-007A, U+00C0-00FF; src: url('../fonts/fonnts.com-cukier-medium.woff') format('woff'); }
@font-face { font-family: 'Cukier'; font-style: italic; font-weight: 500; font-display: swap; unicode-range: U+0020-0025, U+0027, U+002A, U+002C, U+002E-0033, U+0035-003B, U+003F, U+0041-005A, U+005F, U+0061-007A, U+00C0-00FF; src: url('../fonts/fonnts.com-cukier-mediumitalic.woff') format('woff'); }
@font-face { font-family: 'Cukier'; font-style: normal; font-weight: 700; font-display: swap; unicode-range: U+0020-0025, U+0027, U+002A, U+002C, U+002E-0033, U+0035-003B, U+003F, U+0041-005A, U+005F, U+0061-007A, U+00C0-00FF; src: url('../fonts/fonnts.com-cukier-bold.woff') format('woff'); }
@font-face { font-family: 'Cukier'; font-style: italic; font-weight: 700; font-display: swap; unicode-range: U+0020-0025, U+0027, U+002A, U+002C, U+002E-0033, U+0035-003B, U+003F, U+0041-005A, U+005F, U+0061-007A, U+00C0-00FF; src: url('../fonts/fonnts.com-cukier-bolditalic.woff') format('woff'); }
@font-face { font-family: 'Impact'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/impact.ttf') format('truetype'); }

/* ---- Tokens --------------------------------------------------------- */
:root {
	--c-bg:     #151515;
	--c-white:  #FFFEFB;
	--c-grey:   #DBD8D2;
	--c-black:  #151515;
	--c-accent: #F79A49;
	--c-footer: #F9F5EC;

	--f-head: 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
	--f-body: 'Cukier', 'Helvetica Neue', Arial, sans-serif;

	--container: 100%;     /* full-bleed layout; --gutter is the edge margin */
	--gutter: 16px;

	--h1: 96px; --h1-md: 64px; --h2: 28px; --h3: 20px; --cta: 50px;
}
@media (max-width: 1024px) { :root { --h1: 45px; --h1-md: 40px; --h2: 36px; --h3: 26px; } }
@media (max-width: 767px)  { :root { --h1: 32px; --h1-md: 30px; --h2: 24px; --h3: 22px; --cta: 19px; } }

/* ---- Reset / base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; } /* on html, not body: body overflow would break the sticky footer reveal */
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-white);
	font-family: var(--f-body);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.5;
	display: flex; flex-direction: column; min-height: 100vh;
}
/* Page sits above the footer; footer sticks to the viewport bottom and is revealed as the page scrolls past. */
.bw-main { flex: 1 0 auto; position: relative; z-index: 2; background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; }

h1, h2, h3, .bw-h1, .bw-h2, .bw-h3 {
	font-family: var(--f-head);
	font-weight: 400;
	line-height: 1.2;
	margin: 0;
	color: var(--c-white);
}
h1, .bw-h1 { font-size: var(--h1); text-transform: uppercase; }
.bw-h1--md { font-size: var(--h1-md); }
h2, .bw-h2 { font-size: var(--h2); text-transform: uppercase; }
h3, .bw-h3 { font-size: var(--h3); }
.bw-h1--hero { line-height: 1.05; }

.bw-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.bw-section { padding-block: 100px 50px; }
.bw-page-offset { padding-top: 140px; }
.bw-prose p { color: var(--c-white); }
.bw-prose a { text-decoration: underline; }
.bw-label {
	font-family: var(--f-head); font-size: var(--h3); text-transform: uppercase;
	letter-spacing: .05em; color: var(--c-grey); margin: 0 0 4px;
}

/* ---- Legal / text pages --------------------------------------------- */
.bw-legal { padding-bottom: 120px; }
.bw-legal__head { max-width: 860px; margin: 0 auto 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.14); text-align: center; }
.bw-legal__head .bw-h1 { font-size: var(--h1-md); }
.bw-legal__meta { color: var(--c-grey); margin: 16px 0 0; font-size: 14px; }
.bw-legal__body { max-width: 860px; margin-inline: auto; }
.bw-legal__body h2 { font-size: var(--h2); margin: 56px 0 16px; }
.bw-legal__body h2:first-child { margin-top: 0; }
.bw-legal__body h3 { font-size: var(--h3); margin: 32px 0 12px; }
.bw-legal__body p, .bw-legal__body li { color: var(--c-grey); line-height: 1.7; }
.bw-legal__body p { margin: 0 0 16px; }
.bw-legal__body strong { color: var(--c-white); font-weight: 500; }
.bw-legal__body ol, .bw-legal__body ul { padding-left: 24px; margin: 0 0 20px; }
.bw-legal__body li { margin-bottom: 10px; }
.bw-legal__body ol ol { list-style: lower-alpha; margin-top: 8px; }
.bw-legal__body .bw-legal__updated { margin-top: 48px; font-weight: 500; color: var(--c-white); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.bw-header-wrap {
	position: absolute; top: 0; left: 0; right: 0;
	width: 100%;
	z-index: 999;
	padding: var(--gutter) var(--edge) 0;   /* --edge = same side margin as the cases grid */
}
:root { --edge: 64px; }
@media (max-width: 1024px) { :root { --edge: 24px; } }
@media (max-width: 767px)  { :root { --edge: 16px; } }
.bw-header {
	width: 100%;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 24px;
	border: 1px solid rgba(255,255,255,.14);
	background: transparent;
}
.bw-header.sticky {
	position: fixed;
	top: var(--gutter);
	left: var(--edge); right: var(--edge);
	width: auto;
	z-index: 9999;
	background: rgba(21,21,21,.6);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid rgba(255,255,255,.18);
}
.bw-logo img { height: 22px; width: auto; }

.bw-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; transition: opacity .25s ease; }
.bw-header.sticky .bw-nav { opacity: 0; pointer-events: none; }
.bw-nav a {
	color: #fff;
	font-family: var(--f-head);
	font-size: 16px;
	line-height: 24px;
	letter-spacing: .05em;
	text-transform: uppercase;
	opacity: .65;
	transition: opacity .2s ease;
}
.bw-nav a:hover, .bw-nav a.is-active { opacity: 1; }

.bw-hamburger {
	display: flex; flex-direction: column; gap: 5px; justify-content: center;
	width: 28px; height: 28px;
	background: none; border: 0; padding: 0; cursor: pointer;
	opacity: 0; pointer-events: none;
	transition: opacity .25s ease;
}
.bw-header.sticky .bw-hamburger { opacity: 1; pointer-events: all; }
.bw-hamburger span { display: block; width: 100%; height: 1.5px; background: #fff; transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .25s ease; }
.bw-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.bw-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.bw-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 767px) {
	.bw-header { height: 56px; padding: 0 16px; }
	.bw-nav { display: none; }
	.bw-hamburger { opacity: 1; pointer-events: all; }
}

/* ---- Overlay menu ---------------------------------------------------- */
.bw-overlay {
	position: fixed; inset: 0; z-index: 99999;
	background: radial-gradient(ellipse 80% 70% at 30% 20%, #262626 0%, #151515 55%, #0c0c0c 100%);
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	opacity: 0; pointer-events: none;
	transition: opacity .45s cubic-bezier(.16,1,.3,1);
}
.bw-overlay.open { opacity: 1; pointer-events: all; }
.bw-overlay-logo {
	width: calc(100% - 200px);
	margin-bottom: 16px;
	opacity: 0; transform: translateY(-8px);
	transition: opacity .4s ease .1s, transform .4s ease .1s;
}
.bw-overlay.open .bw-overlay-logo { opacity: 1; transform: none; }
.bw-overlay-logo img { height: 26px; width: auto; }

.bw-modal {
	width: calc(100% - 200px);
	height: calc(100vh - 200px);
	border: 1px solid rgba(255,255,255,.18);
	background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,0) 60%), #1a1a1a;
	box-shadow: 0 40px 120px rgba(0,0,0,.6);
	display: flex;
	position: relative;
	opacity: 0; transform: scale(.98);
	transition: opacity .45s ease .05s, transform .45s cubic-bezier(.16,1,.3,1) .05s;
}
.bw-overlay.open .bw-modal { opacity: 1; transform: scale(1); }
.bw-close {
	position: absolute; top: 20px; right: 24px; z-index: 10;
	background: none; border: 0; padding: 0;
	color: #fff; font-size: 18px; line-height: 1; cursor: pointer; opacity: .4;
	transition: opacity .2s;
}
.bw-close:hover { opacity: 1; }
.bw-modal-left { flex: 0 0 48%; display: flex; flex-direction: column; justify-content: center; padding: 60px 56px 60px 96px; }
.bw-modal-nav a {
	display: block;
	font-family: var(--f-head);
	font-size: 72px; line-height: 96px;
	letter-spacing: .04em; text-transform: uppercase;
	color: rgba(255,255,255,.32);
	transform: translateX(-16px); opacity: 0;
	transition: color .2s ease, transform .5s cubic-bezier(.16,1,.3,1), opacity .5s ease;
}
.bw-overlay.open .bw-modal-nav a { transform: none; opacity: 1; }
.bw-overlay.open .bw-modal-nav a:nth-child(1) { transition-delay: .12s; }
.bw-overlay.open .bw-modal-nav a:nth-child(2) { transition-delay: .18s; }
.bw-overlay.open .bw-modal-nav a:nth-child(3) { transition-delay: .24s; }
.bw-overlay.open .bw-modal-nav a:nth-child(4) { transition-delay: .30s; }
.bw-modal-nav a:hover, .bw-modal-nav a:focus-visible { color: rgba(255,255,255,.9); outline: none; }
.bw-modal-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 60px 48px; }
.bw-video-frame {
	position: relative;
	width: 100%; aspect-ratio: 16/10;
	background: #111; border: 1px solid rgba(255,255,255,.14); overflow: hidden;
	opacity: 0; transform: scale(.95);
	transition: opacity .5s ease .3s, transform .5s cubic-bezier(.16,1,.3,1) .3s;
}
.bw-overlay.open .bw-video-frame { opacity: 1; transform: scale(1); }
.bw-video-frame iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }
.bw-video-frame::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 80px rgba(0,0,0,.45); pointer-events: none; }
.bw-menu-visual__poster, .bw-menu-visual__img, .bw-menu-visual__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.bw-menu-visual__poster { z-index: 0; filter: grayscale(1) brightness(.7); }
.bw-video-frame iframe, .bw-menu-visual__img, .bw-menu-visual__video { position: relative; z-index: 1; }
.bw-menu-visual__img, .bw-menu-visual__video { position: absolute; }
.bw-menu-visual__img { animation: bwFade .4s ease; }
@keyframes bwFade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 1024px) {
	.bw-overlay-logo, .bw-modal { width: calc(100% - 40px); }
	.bw-modal { height: calc(100vh - 120px); flex-direction: column; }
	.bw-modal-left { flex: 1; padding: 40px 28px; }
	.bw-modal-nav a { font-size: 48px; line-height: 64px; }
	.bw-modal-right { display: none; }
}

/* ==========================================================================
   HERO (home + case)
   ========================================================================== */
.bw-hero {
	position: relative;
	min-height: 975px;
	z-index: 1;
	overflow: hidden;
	background: var(--c-bg);
}
.bw-hero--full { min-height: 0; height: 80vh; height: 80svh; }
/* Home: rounded, inset video frame (gutter all round) with a feathered bottom edge. */
.bw-hero--home {
	height: calc(100vh - 2 * var(--gutter)); height: calc(100svh - 2 * var(--gutter));
	margin: var(--gutter);
	border-radius: 40px;
	overflow: hidden;
	isolation: isolate;
}
.bw-hero--home::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: 0;
	height: 28%;
	background: linear-gradient(180deg, rgba(21,21,21,0) 0%, rgba(21,21,21,.55) 55%, #151515 100%);
	pointer-events: none;
	z-index: 2;
}
.bw-hero--home .bw-hero__overlay { background: radial-gradient(circle at center, rgba(2,1,1,0) 0%, rgba(21,21,21,.85) 85%); }
/* Header sits inside the rounded frame on the home page. */
body.home .bw-header-wrap { padding: calc(var(--gutter) * 2) var(--edge) 0; }
@media (max-width: 767px) { .bw-hero--home { border-radius: 20px; } body.home .bw-header-wrap { padding: 28px 28px 0; } }

/* ---- Light colour scheme (single case, optional) ------------------- */
body.bw-light .bw-main { background: var(--c-footer); color: var(--c-black); }
body.bw-light .bw-main h1, body.bw-light .bw-main h2, body.bw-light .bw-main h3,
body.bw-light .bw-main .bw-h1, body.bw-light .bw-main .bw-h2 { color: var(--c-black); }
body.bw-light .bw-main .bw-prose p, body.bw-light .bw-main .bw-prose li { color: #2a2a2a; }
body.bw-light .bw-main .bw-label { color: #6b6862; }
body.bw-light .bw-header { border-color: rgba(21,21,21,.16); }
body.bw-light .bw-header.sticky { background: rgba(249,245,236,.7); border-color: rgba(21,21,21,.16); }
body.bw-light .bw-nav a { color: var(--c-black); }
body.bw-light .bw-logo img { filter: invert(1) brightness(.2); }
body.bw-light .bw-hamburger span { background: var(--c-black); }
body.bw-light .bw-totop-btn { border-color: rgba(21,21,21,.4); }
body.bw-light .bw-totop-btn svg { stroke: rgba(21,21,21,.7); }
body.bw-light .bw-totop-btn:hover { border-color: var(--c-black); }
body.bw-light .bw-totop-btn:hover svg { stroke: var(--c-black); }
body.bw-light .bw-footer { border-top: 1px solid rgba(21,21,21,.1); }
.bw-hero__media { position: absolute; inset: 0; }
.bw-hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bw-hero__video {
	position: absolute; top: 50%; left: 50%;
	width: 100vw; height: 56.25vw;
	min-height: 100%; min-width: 177.78vh;
	transform: translate(-50%, -50%);
	border: 0; pointer-events: none;
}
.bw-hero__overlay {
	position: absolute; inset: 0;
	background: radial-gradient(circle at center, rgba(2,1,1,0) 0%, #151515 74%);
}
.bw-hero__content {
	position: absolute; left: 50%; bottom: 10vh; transform: translateX(-50%);
	z-index: 2;
	display: flex; flex-direction: column; gap: 16px;
}
.bw-hero__meta { display: flex; flex-direction: column; gap: 2px; }
.bw-hero__label { margin: 0; }
.bw-hero__client { font-weight: 500; font-size: 18px; margin: 0 0 10px; }
.bw-hero__desc { font-weight: 300; margin: 0; color: var(--c-grey); max-width: 560px; }

@media (max-width: 1024px) { .bw-hero:not(.bw-hero--full) { min-height: 70vh; } }
@media (max-width: 767px)  { .bw-hero:not(.bw-hero--full) { min-height: 60vh; } .bw-hero__video { display: none; } .bw-hero__content { bottom: 6vh; } }

/* ==========================================================================
   HOME sections
   ========================================================================== */
.bw-home-cases { padding: 100px var(--gutter) 40px; }
.bw-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 40px; }
.bw-link { font-family: var(--f-head); font-size: var(--h3); text-transform: uppercase; letter-spacing: .05em; opacity: .65; transition: opacity .2s; white-space: nowrap; padding-bottom: .5em; }
.bw-link:hover { opacity: 1; }
.bw-cta { padding: 100px var(--gutter) 140px; display: flex; flex-direction: column; align-items: flex-start; gap: 36px; }
.bw-cta__title { line-height: 1; }
.bw-btn {
	display: inline-block;
	padding: 14px 36px;
	border: 1px solid rgba(255,255,255,.6); border-radius: 3px;
	font-size: 15px; letter-spacing: .3px;
	transition: background .2s ease, color .2s ease;
}
.bw-btn:hover { background: #fff; color: #111; }
@media (max-width: 767px) {
	.bw-home-cases { padding-top: 60px; }
	.bw-section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
	.bw-cta { padding: 60px var(--gutter) 90px; }
}

/* ==========================================================================
   CASES OVERVIEW
   ========================================================================== */
.bw-cases-page { padding: 110px 64px 60px; }
.bw-case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.bw-case-card {
	position: relative;
	display: flex; align-items: center; justify-content: center;
	aspect-ratio: 16/9;
	padding: 30px;
	border-radius: 4px;
	background: var(--c-bg) center/cover no-repeat;
	overflow: hidden;
}
.bw-case-card::before {
	content: '';
	position: absolute; inset: 0;
	background: rgba(21,21,21,0);
	transition: background .35s ease;
}
.bw-case-card:hover::before { background: rgba(21,21,21,.3); }
.bw-case-card__title {
	position: relative;
	font-family: var(--f-head);
	font-size: var(--h2);
	text-transform: uppercase;
	text-align: center;
	color: var(--c-white);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .35s ease, transform .35s cubic-bezier(.16,1,.3,1);
}
.bw-case-card:hover .bw-case-card__title,
.bw-case-card:focus-visible .bw-case-card__title { opacity: 1; transform: none; }
@media (hover: none) {
	.bw-case-card__title { opacity: 1; transform: none; }
	.bw-case-card::before { background: rgba(21,21,21,.55); }
}
@media (max-width: 1024px) { .bw-case-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } .bw-cases-page { padding-inline: 24px; } }
@media (max-width: 767px)  { .bw-case-grid { grid-template-columns: 1fr; gap: 16px; } .bw-cases-page { padding: 88px 16px 40px; } }

/* ==========================================================================
   SINGLE CASE
   ========================================================================== */
/* Case column: centred, sized so the 16:9 player is fully visible below the header on landing. */
:root {
	--case-w: min(1400px, calc((100vh - 180px) * 1.7778), 100% - 2 * var(--gutter)); /* player */
	--case-text-w: min(1160px, calc(var(--case-w) - 120px));                         /* text + stills, inset from player */
}
.bw-player { padding: 110px var(--gutter) 0; }
.bw-player__frame { position: relative; aspect-ratio: 16/9; background: #000; border-radius: 4px; overflow: hidden; width: var(--case-w); margin: 0 auto; }
.bw-player__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.bw-project { width: var(--case-text-w); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 64px 0 100px; align-items: start; }
.bw-project__block { margin-bottom: 48px; }
.bw-project__block:last-child { margin-bottom: 0; }
.bw-project .bw-h2 { padding-bottom: 16px; }
.bw-project__title { font-size: var(--h1-md); }
.bw-project__lines p { margin: 0 0 4px; }

/* Stills: uniform size, 2 per row. */
.bw-project__stills { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.bw-project__still { position: relative; aspect-ratio: 16/9; overflow: hidden; border-radius: 4px; background: #000; }
.bw-project__still img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Social videos: vertical 9:16 Vimeo players. */
.bw-social { padding: 0 var(--gutter) 80px; }
/* Mixed ratios (9:16 next to 16:9): each item keeps its own ratio (--r from Vimeo), rows share one height.
   JS (mosaic.js) scales each row to fill the width exactly; CSS below is the no-JS fallback. */
.bw-social__grid { width: var(--case-text-w); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 20px; --row-h: 420px; }
.bw-social__item { position: relative; height: var(--row-h); width: calc(var(--row-h) * var(--r, 0.5625)); max-width: 100%; background: #000; border-radius: 4px; overflow: hidden; }
.is-mosaic > * { margin: 0 !important; }
.bw-social__item iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.bw-totop { display: flex; justify-content: center; padding: 20px 0 60px; }
.bw-totop-btn {
	width: 42px; height: 42px;
	border: 1px solid rgba(255,255,255,.5); border-radius: 6px;
	background: transparent; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: border-color .2s ease;
}
.bw-totop-btn:hover { border-color: rgba(255,255,255,.9); }
.bw-totop-btn svg { width: 16px; height: 16px; stroke: rgba(255,255,255,.7); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: stroke .2s; }
.bw-totop-btn:hover svg { stroke: #fff; }

@media (max-width: 1024px) {
	:root { --case-w: calc(100% - 2 * var(--gutter)); --case-text-w: var(--case-w); }
	.bw-project { grid-template-columns: 1fr; gap: 40px; padding: 48px 0 60px; }
	.bw-social__grid { --row-h: 360px; }
}
@media (max-width: 767px) {
	.bw-player { padding-top: 80px; }
	.bw-social__grid { --row-h: 300px; gap: 12px; }
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.bw-team { padding-top: 160px; max-width: 1100px; margin-inline: auto; }
.bw-team .bw-h1 { padding-bottom: 40px; }
.bw-team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.bw-team-card { border: 0; padding: 0; }
.bw-team-card__inner {
	position: relative;
	aspect-ratio: 3/4;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 24px;
	border-radius: 7px;
	background: var(--c-bg) top center/cover no-repeat;
	overflow: hidden;
	transition: transform .3s ease;
}
.bw-team-card__inner::before {
	content: '';
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(21,21,21,0) 38%, #151515 100%);
}
.bw-team-card__inner:hover { transform: scale(1.02); }
.bw-team-card__inner > * { position: relative; }
.bw-team-card__meta { display: flex; justify-content: space-between; align-items: flex-end; }
.bw-team-card__role { margin: 0; }
.bw-team-card__socials { display: flex; gap: 10px; }
.bw-team-card__socials svg { width: 30px; height: 30px; fill: var(--c-grey); }

.bw-logos { padding: 120px var(--gutter) 100px; overflow: hidden; --per-view: 6; --logo-gap: 45px; }
.bw-logos__head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.bw-logos__title { padding-bottom: 20px; }
.bw-logos__intro { color: var(--c-grey); font-size: 17px; line-height: 1.65; }
.bw-logos__track {
	display: flex; gap: var(--logo-gap);
	width: max-content;
	animation: bwMarquee 40s linear infinite;
	will-change: transform;
}
.bw-logos:hover .bw-logos__track { animation-play-state: paused; }
.bw-logos__item {
	flex: 0 0 calc((min(100vw, var(--container)) - 2 * var(--gutter) - (var(--per-view) - 1) * var(--logo-gap)) / var(--per-view));
	display: flex; align-items: center; justify-content: center;
	height: 64px;
}
.bw-logos__item img { max-height: 44px; max-width: 70%; width: auto; object-fit: contain; opacity: .55; filter: grayscale(1); transition: opacity .2s; }
.bw-logos__item:hover img { opacity: 1; }
/* Track holds two identical sets; moving exactly half its width = one seamless loop. */
@keyframes bwMarquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--logo-gap) / 2)); } }
@media (prefers-reduced-motion: reduce) { .bw-logos__track { animation: none; } }

@media (max-width: 1024px) {
	.bw-team { padding-top: 120px; }
	.bw-team__grid { grid-template-columns: repeat(2, 1fr); }
	.bw-team-card__meta { flex-direction: column; align-items: flex-start; gap: 9px; }
}
@media (max-width: 767px) {
	.bw-team { padding-top: 140px; }
	.bw-team__grid { grid-template-columns: 1fr; gap: 16px; }
	.bw-team-card__inner { aspect-ratio: 4/5; }
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.otrc {
	position: relative;
	width: 100%;
	height: 100vh; height: 100svh; min-height: 0;
	display: flex; align-items: center;
	overflow: hidden;
	background: #000;
	color: #E8E6E0;
	padding: 120px 6vw 40px;
}
.otrc__bg { position: absolute; inset: 0; background: center/cover no-repeat; z-index: 0; }
.otrc__overlay {
	position: absolute; inset: 0; z-index: 1;
	background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0,0,0,.25) 0%, rgba(0,0,0,.7) 50%, rgba(0,0,0,.97) 100%);
}
.otrc__inner {
	position: relative; z-index: 2;
	width: 100%; max-width: var(--container); margin: 0 auto;
	display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.otrc__title {
	font-family: var(--f-head);
	color: #E8E6E0;
	font-size: clamp(48px, 7vw, 110px);
	line-height: .9;
	letter-spacing: .5px;
	text-transform: uppercase;
}
.otrc__intro { margin-top: 34px; max-width: 460px; font-size: 17px; line-height: 1.65; color: #D7D5CF; }
.otrc__card {
	border: 1px solid rgba(255,255,255,.35);
	border-radius: 4px;
	padding: 48px 44px;
	background: rgba(0,0,0,.15);
	backdrop-filter: blur(1px);
}
.otrc__cardgrid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; }
.otrc__getintouch { font-family: var(--f-head); color: #fff; font-size: 30px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 30px; }
.otrc__infoblock { margin-bottom: 26px; display: flex; flex-direction: column; gap: 4px; }
.otrc__label { font-family: var(--f-head); color: #fff; font-size: 19px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 4px; }
.otrc__line { font-size: 15.5px; color: #CFCDC7; }
a.otrc__line:hover { color: #fff; }
.otrc__socials { display: flex; gap: 14px; margin-top: 6px; }
.otrc__socials a { color: #CFCDC7; display: flex; transition: color .2s; }
.otrc__socials a:hover { color: #fff; }
.otrc__socials svg { width: 20px; height: 20px; fill: currentColor; }
.otrc__form { display: flex; flex-direction: column; gap: 14px; }
.otrc__hp { position: absolute; left: -9999px; }
.otrc__field {
	width: 100%;
	border: 0; border-radius: 3px;
	background: #D9D7D1; color: #2a2a2a;
	font: inherit; font-size: 15px;
	padding: 13px 16px; outline: none;
}
.otrc__field::placeholder { color: #8a8880; }
.otrc__field:focus { box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.otrc__field--area { min-height: 120px; resize: vertical; }
.otrc__btn {
	align-self: flex-start;
	margin-top: 6px;
	padding: 12px 34px;
	background: transparent;
	border: 1px solid rgba(255,255,255,.6); border-radius: 3px;
	color: #fff; font-size: 15px; letter-spacing: .3px;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.otrc__btn:hover { background: #fff; color: #111; }
.otrc__error { color: var(--c-accent); margin: 0; }
.otrc__success { color: #fff; }
@media (max-width: 1024px) {
	.otrc { height: auto; min-height: 100svh; padding: 160px 6vw 48px; }
	.otrc__inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 640px) {
	.otrc { padding-top: 120px; }
	.otrc__cardgrid { grid-template-columns: 1fr; gap: 28px; }
	.otrc__card { padding: 32px 24px; }
	.otrc__title { font-size: clamp(48px, 16vw, 90px); }
}

/* ==========================================================================
   FOOTER (light)
   ========================================================================== */
.bw-footer {
	position: sticky; bottom: 0; z-index: 1;
	width: 100%;
	flex-shrink: 0;
	background: var(--c-footer) !important;
	color: var(--c-black) !important;
	padding: 60px 40px 32px;
}
.bw-footer-top { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 48px; align-items: start; }
.bw-footer-logo img { height: 28px; width: auto; filter: invert(1) brightness(.2); }
.bw-footer-col-title {
	display: block;
	font-family: var(--f-head); font-size: 20px; letter-spacing: .05em; text-transform: uppercase;
	color: var(--c-black); margin-bottom: 16px;
}
.bw-footer-links { display: flex; flex-direction: column; }
.bw-footer-col a, .bw-footer-col p {
	display: block; font-size: 14px; font-weight: 400; line-height: 1.8;
	color: rgba(21,21,21,.65); margin: 0;
	transition: color .2s ease;
}
.bw-footer-col a:hover { color: var(--c-black); }
.bw-footer-addr { margin-top: 8px !important; }
.bw-footer-socials { display: flex; gap: 16px; margin-top: 16px; align-items: center; }
.bw-footer-socials a { display: flex; color: rgba(21,21,21,.65); transition: color .2s; }
.bw-footer-socials a:hover { color: var(--c-black); }
.bw-footer-socials svg { width: 20px; height: 20px; fill: currentColor; }
.bw-footer-bottom {
	position: relative;
	display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
	border-top: 1px solid rgba(21,21,21,.12);
	padding-top: 24px;
}
.bw-footer-bottom a, .bw-footer-bottom span { font-size: 12px; font-weight: 400; color: rgba(21,21,21,.4); transition: color .2s; }
.bw-footer-bottom a:hover { color: rgba(21,21,21,.8); }
.bw-footer-bottom-left { display: flex; gap: 24px; align-items: center; }
.bw-footer-bottom-center { position: absolute; left: 50%; transform: translateX(-50%); }
@media (max-width: 1024px) {
	.bw-footer-top { grid-template-columns: 1fr 1fr; }
	.bw-footer-bottom-center { position: static; transform: none; width: 100%; order: 3; }
}
@media (max-width: 640px) {
	.bw-footer { padding: 40px 20px 24px; }
	.bw-footer-top { grid-template-columns: 1fr; gap: 28px; }
}
