/* ==========================================================
   LFX components
   ========================================================== */

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; }
.sec { padding: clamp(80px, 11vw, 160px) var(--gutter); }
.sec--tight { padding-top: 0; }
.sec--ink { background: var(--ink); color: var(--stone); }
.sec--ink h2, .sec--ink h3 { color: var(--white); }

/* ---------- Type ---------- */
.display {
	font-weight: 300;
	font-variation-settings: 'wdth' 118;
	font-size: clamp(30px, 3.6vw, 52px);
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--ink);
}
.display--xl { font-size: clamp(40px, 6.4vw, 96px); line-height: 1.02; letter-spacing: -0.02em; }
.display--l { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -0.02em; }
.lead { font-weight: 300; font-variation-settings: 'wdth' 112; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.kicker { display: block; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-ink); }
.sec--ink .kicker, .kicker--light { color: var(--sky); }
.body-l { font-size: 18px; line-height: 1.7; color: var(--muted); }
.body { font-size: 17px; line-height: 1.7; color: var(--muted); }
.sec--ink .body, .sec--ink .body-l { color: var(--mist); }

/* ---------- Buttons and links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 52px; padding: 0 30px;
	font: 500 15px/1 var(--font); letter-spacing: .03em;
	text-decoration: none; cursor: pointer;
	border: 1px solid var(--ink); background: var(--ink); color: var(--white);
	transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { background: var(--blue-ink); border-color: var(--blue-ink); color: #fff; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: transparent; color: var(--white); border-color: rgba(243, 244, 241, .6); }
.btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.link-line { display: inline-block; padding: 10px 0; border-bottom: 1px solid currentColor; text-decoration: none; font-size: 15px; color: var(--ink); }
.link-line:hover { color: var(--blue-ink); }

/* ---------- Header ---------- */
#brx-header {
	position: fixed; top: var(--wp-admin--admin-bar--height, 0px); left: 0; right: 0; z-index: 100;
	transition: background-color .5s var(--ease), box-shadow .5s var(--ease);
}
#brx-header .lfx-head { padding: 24px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 32px; transition: padding .5s var(--ease); }
#brx-header .lfx-logo img { height: 40px; width: auto; }
#brx-header .lfx-logo .logo-dark { display: none; }
#brx-header .bricks-nav-menu > li > a,
#brx-header .bricks-nav-menu > li > .brx-submenu-toggle > a { color: var(--white); font-size: 15px; letter-spacing: .02em; text-decoration: none; }
#brx-header .bricks-nav-menu > li > a:hover { color: var(--sky); }
#brx-header .bricks-nav-menu { gap: 36px; }
#brx-header .bricks-mobile-menu-toggle { color: var(--white); }

body.lfx-scrolled #brx-header,
body.lfx-solid-head #brx-header { background: rgba(231, 233, 228, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
body.lfx-scrolled #brx-header .lfx-head { padding-top: 14px; padding-bottom: 14px; }
body.lfx-scrolled #brx-header .lfx-logo .logo-light,
body.lfx-solid-head #brx-header .lfx-logo .logo-light { display: none; }
body.lfx-scrolled #brx-header .lfx-logo .logo-dark,
body.lfx-solid-head #brx-header .lfx-logo .logo-dark { display: block; }
body.lfx-scrolled #brx-header .bricks-nav-menu > li > a,
body.lfx-solid-head #brx-header .bricks-nav-menu > li > a,
body.lfx-scrolled #brx-header .bricks-mobile-menu-toggle,
body.lfx-solid-head #brx-header .bricks-mobile-menu-toggle { color: var(--ink); }
body.lfx-scrolled #brx-header .btn--light,
body.lfx-solid-head #brx-header .btn--light { color: var(--ink); border-color: var(--ink); }
body.lfx-scrolled #brx-header .btn--light:hover,
body.lfx-solid-head #brx-header .btn--light:hover { background: var(--ink); color: var(--white); }
#brx-header .bricks-mobile-menu-wrapper { background: var(--ink); }
#brx-header .bricks-mobile-menu-wrapper a { color: var(--white) !important; font-size: 22px; font-weight: 300; font-variation-settings: 'wdth' 115; }
@media (max-width: 767px) {
	#brx-header .lfx-head { padding: 18px var(--gutter); }
	#brx-header .lfx-logo img { height: 34px; }
	#brx-header .lfx-head-cta { display: none; }
}

/* ---------- Hero (water) ---------- */
.lfx-hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: var(--ink); color: var(--white); }
.lfx-hero > .brxe-image, .lfx-hero .lfx-hero-photo { position: absolute !important; inset: 0; width: 100%; height: 100%; margin: 0; }
.lfx-hero .lfx-hero-photo img, .lfx-hero img.lfx-hero-photo { width: 100%; height: 100%; object-fit: cover; }
.lfx-water-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.lfx-water.is-live .lfx-water-canvas { opacity: 1; }
.lfx-water { cursor: crosshair; }
.lfx-hero-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 34, 44, .45) 0%, rgba(6, 34, 44, 0) 28%, rgba(6, 34, 44, 0) 48%, rgba(6, 34, 44, .72) 100%); }
.lfx-hero-main {
	position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(40px, 8vh, 88px);
	display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap;
	pointer-events: none;
}
.lfx-hero-main a, .lfx-hero-main button { pointer-events: auto; }
.lfx-hero-copy { max-width: 900px; display: flex; flex-direction: column; gap: 26px; }
.lfx-hero h1 { color: var(--white); text-shadow: 0 2px 40px rgba(4, 30, 40, .35); }
.lfx-hero .lfx-hero-sub { color: #E4F3F5; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; max-width: 520px; text-shadow: 0 1px 20px rgba(4, 30, 40, .4); }
.lfx-hero .kicker { color: #BFEAF0; }
.lfx-touch-hint {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	margin: 0; color: rgba(240, 252, 253, .85); font-size: 13px; letter-spacing: .24em; text-transform: uppercase;
	pointer-events: none; opacity: 0;
}
.lfx-water.is-live .lfx-touch-hint { animation: lfxHint 4.5s 2.2s ease both; }
.lfx-water.is-touched .lfx-touch-hint { opacity: 0 !important; animation: none; }
@keyframes lfxHint { 0%, 100% { opacity: 0; } 25%, 70% { opacity: 1; } }
.lfx-slash { display: flex; gap: 10px; align-items: flex-end; height: 120px; transform-origin: bottom left; animation: lfxSlash 1.1s .5s var(--ease) both; }
.lfx-slash span { display: block; height: 100%; transform: skewX(-32deg); }
.lfx-slash span:first-child { width: 7px; background: var(--white); }
.lfx-slash span:last-child { width: 3px; background: var(--blue); }
@keyframes lfxSlash { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.lfx-rise { animation: lfxRise 1.4s var(--ease) both; }
.lfx-rise-2 { animation: lfxRise 1.4s .25s var(--ease) both; }
.lfx-rise-3 { animation: lfxRise 1.4s .45s var(--ease) both; }
@keyframes lfxRise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Short hero for inner pages */
.lfx-hero--short { height: auto; min-height: 0; padding: clamp(170px, 22vw, 260px) var(--gutter) clamp(64px, 8vw, 110px); }
.lfx-hero--short .lfx-hero-main { position: relative; left: auto; right: auto; bottom: auto; max-width: var(--max); margin: 0 auto; }

/* ---------- Reveal ---------- */
.lfx-rv-on .rv { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.lfx-rv-on .rv.in { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .1s; } .rv.d2 { transition-delay: .2s; } .rv.d3 { transition-delay: .3s; }

/* ---------- Two-column intro ---------- */
.lfx-intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.lfx-intro-side { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

/* ---------- Section head ---------- */
.lfx-head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.lfx-head-row h2 { font-weight: 400; font-variation-settings: 'wdth' 118; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.01em; }
.lfx-head-row .note { font-size: 14px; color: var(--muted); }

/* ---------- Project tiles ---------- */
.lfx-projects { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 120px); }
.lfx-tile { display: flex; flex-direction: column; gap: 18px; text-decoration: none; color: inherit; }
.lfx-tile-media { overflow: hidden; background: var(--stone-2); position: relative; }
.lfx-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.lfx-tile:hover .lfx-tile-media img { transform: scale(1.035); }
.lfx-tile-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; flex-wrap: wrap; }
.lfx-tile-title { font-size: clamp(20px, 1.8vw, 26px); font-variation-settings: 'wdth' 112; color: var(--ink); line-height: 1.3; }
.lfx-tile-sub { font-size: 15px; color: var(--muted); }
.lfx-tile:hover .lfx-tile-title { color: var(--blue-ink); }
.ar-wide { aspect-ratio: 21 / 9; } .ar-portrait { aspect-ratio: 4 / 5; } .ar-square { aspect-ratio: 1 / 1; } .ar-land { aspect-ratio: 16 / 10; }
.lfx-pair { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.lfx-pair .offset { margin-top: clamp(80px, 14vw, 220px); }
.lfx-right { width: min(100%, 980px); align-self: flex-end; margin-left: auto; }

/* ---------- Film band ---------- */
.lfx-film { position: relative; min-height: 88vh; overflow: hidden; background: var(--ink); display: flex; align-items: flex-end; }
.lfx-film video, .lfx-film .lfx-film-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lfx-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 38, 45, .86) 0%, rgba(22, 38, 45, .5) 45%, rgba(22, 38, 45, 0) 75%); pointer-events: none; }
.lfx-film-copy { position: relative; z-index: 1; width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: clamp(64px, 9vw, 120px) var(--gutter); display: flex; flex-direction: column; gap: 26px; color: var(--stone); }
.lfx-film-copy h2 { color: var(--white); max-width: 640px; }
.lfx-film-copy p { max-width: 480px; color: #CDD4D5; }
.lfx-facts { display: flex; flex-wrap: wrap; gap: 20px 48px; font-size: 15px; border-top: 1px solid rgba(231, 233, 228, .25); padding-top: 22px; max-width: 640px; }
.lfx-facts div { display: flex; flex-direction: column; gap: 4px; }
.lfx-facts span:first-child { color: #9FA9AB; }
.lfx-facts span:last-child { color: var(--white); }

/* ---------- Capabilities ---------- */
.lfx-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 64px); }
.lfx-cap { display: flex; flex-direction: column; gap: 10px; padding: 28px 0; border-top: 1px solid var(--line); }
.lfx-cap h3 { font-weight: 500; font-size: 20px; line-height: 1.3; }
.lfx-cap p { font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---------- Materials ---------- */
.lfx-mats { display: flex; flex-direction: column; margin: 0; }
.lfx-mats > div { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.lfx-mats > div:last-child { border-bottom: 1px solid var(--line); }
.lfx-mats dt { font-weight: 500; color: var(--ink); }
.lfx-mats dd { margin: 0; color: var(--muted); text-align: right; }

/* ---------- Process ---------- */
.lfx-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.lfx-step { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid rgba(231, 233, 228, .25); padding-top: 22px; }
.lfx-step .num { font-size: 14px; color: var(--sky); }
.lfx-step h3 { font-weight: 500; font-size: 20px; color: var(--white); }
.lfx-step p { font-size: 16px; line-height: 1.65; color: var(--mist); }

/* ---------- Quote ---------- */
.lfx-quote { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.lfx-quote blockquote { margin: 0; padding: 0; border: 0; font-weight: 300; font-variation-settings: 'wdth' 112; font-size: clamp(26px, 3vw, 42px); line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.lfx-quote figcaption, .lfx-quote .cite { font-size: 15px; color: var(--muted); }
.lfx-mark { display: flex; gap: 8px; height: 56px; }
.lfx-mark span { display: block; height: 100%; transform: skewX(-32deg); }
.lfx-mark span:first-child { width: 5px; background: var(--ink); }
.lfx-mark span:last-child { width: 2px; background: var(--blue); }

/* ---------- FAQ (details/summary) ---------- */
.lfx-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.lfx-faq-list { border-bottom: 1px solid var(--line); }
.lfx-faq-item { border-top: 1px solid var(--line); }
.lfx-faq-item summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; color: var(--ink); font-size: 19px; font-weight: 500; line-height: 1.4; }
.lfx-faq-item summary::-webkit-details-marker { display: none; }
.lfx-faq-item summary::after { content: "+"; flex: 0 0 auto; font-size: 24px; font-weight: 300; color: var(--blue); transition: transform .4s var(--ease); }
.lfx-faq-item[open] summary::after { transform: rotate(45deg); }
.lfx-faq-item .lfx-faq-a { padding: 0 0 24px; max-width: 620px; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* ---------- Enquire ---------- */
.lfx-enquire { text-align: center; }
.lfx-enquire .wrap { max-width: 820px; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.lfx-enquire .body-l { max-width: 560px; }

/* ---------- Gallery page ---------- */
.lfx-proj { padding: clamp(72px, 9vw, 130px) var(--gutter); border-top: 1px solid var(--line); }
.lfx-proj:first-of-type { border-top: 0; }
.lfx-proj-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.lfx-proj-head .num { font-size: 14px; color: var(--blue-ink); letter-spacing: .12em; }
.lfx-proj-video { position: relative; margin-bottom: clamp(16px, 2vw, 24px); background: var(--ink); aspect-ratio: 16 / 9; overflow: hidden; }
.lfx-proj-video video { width: 100%; height: 100%; object-fit: cover; }
.lfx-filter { display: flex; flex-wrap: wrap; gap: 10px; }
.lfx-filter a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; color: var(--ink); transition: background-color .3s, border-color .3s, color .3s; }
.lfx-filter a:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }

/* Bricks image gallery: masonry-like rhythm, hover zoom */
.lfx-gal.brxe-image-gallery { --gap: clamp(8px, 1.2vw, 16px); }
.lfx-gal .bricks-layout-item { overflow: hidden; }
.lfx-gal .bricks-layout-item img { transition: transform 1.2s var(--ease), opacity .6s; }
.lfx-gal .bricks-layout-item:hover img { transform: scale(1.03); }

/* Lightbox (PhotoSwipe, used by Bricks) */
.pswp { --pswp-bg: #0C1418; }

/* ---------- Footer ---------- */
.lfx-foot { background: var(--ink); color: var(--mist); padding: 72px var(--gutter) 40px; }
.lfx-foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; font-size: 15px; line-height: 1.7; }
.lfx-foot img { height: 36px; width: auto; }
.lfx-foot h4 { color: var(--white); font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.lfx-foot a { color: var(--mist); text-decoration: none; }
.lfx-foot a:hover { color: var(--sky); }
.lfx-foot-list { display: flex; flex-direction: column; gap: 6px; }
.lfx-foot-base { margin-top: 56px; padding-top: 20px; border-top: 1px solid rgba(231, 233, 228, .18); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: #8F9A9D; }

/* ---------- Forms (Bricks form) ---------- */
.lfx-form .form-group label { font-size: 14px; color: var(--ink); font-weight: 500; }
.lfx-form input, .lfx-form textarea, .lfx-form select {
	background: transparent !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; border-radius: 0 !important;
	padding: 12px 0 !important; font: 400 17px/1.5 var(--font) !important; color: var(--ink) !important;
}
.lfx-form input:focus, .lfx-form textarea:focus, .lfx-form select:focus { border-bottom-color: var(--ink) !important; outline: none; }
.lfx-form .bricks-button { min-height: 52px; padding: 0 34px; background: var(--ink); color: var(--white); border-radius: 0; font: 500 15px/1 var(--font); letter-spacing: .03em; }
.lfx-form .bricks-button:hover { background: var(--blue-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.lfx-intro, .lfx-pair, .lfx-faq, .lfx-proj-head { grid-template-columns: minmax(0, 1fr); }
	.lfx-steps, .lfx-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lfx-foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.lfx-pair .offset { margin-top: 0; }
	.lfx-slash { display: none; }
}
@media (max-width: 520px) {
	.lfx-steps, .lfx-caps, .lfx-foot-grid { grid-template-columns: minmax(0, 1fr); }
	.ar-wide { aspect-ratio: 4 / 3; }
}
