/*
Theme Name: Debesis.lt
Description: Vieša Debesis.lt svetainė. Išvestinė Neve tema.
Template: neve
Version: 2.8.0
Text Domain: debesis-lt
*/

@font-face {
	font-family: Manrope;
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/manrope-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: Manrope;
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/manrope-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/source-sans-3-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Source Sans 3';
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("assets/source-sans-3-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.debesis-site {
	--ink: #fff3f1;
	--quiet: #eeeaf5;
	--amber: #ffdd56;
	--border: #e1d4ff58;
	--beam-x: 69%;
	--beam-y: 31%;
	--reflection-x: 31%;
	--light-rgb: 255, 202, 136;
	--type: Manrope, system-ui, sans-serif;
	--display: Georgia, 'Times New Roman', serif;
	--reading-type: 'Source Sans 3', system-ui, sans-serif;
	--reading-size: 1.1875rem;
	--reading-measure: 55ch;
	--nv-site-bg: #0a0e17;
	--nv-text-color: var(--ink);
	--nv-primary-accent: var(--amber);
	--nv-secondary-accent: #ffdbae;
	--bodyfontfamily: var(--reading-type);
	--headingsfontfamily: var(--type);
	position: relative;
	isolation: isolate;
	background: #09091f;
	color: var(--ink);
	font-family: var(--reading-type);
}

.debesis-site .wrapper,
.debesis-site .neve-main { background: transparent; }
.debesis-site :is(a, button, summary, input):focus-visible {
	outline: 2px solid #fff0c8;
	outline-offset: 4px;
}

.db-world {
	position: fixed;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
	background: #16103e;
}

.db-world :is(img, canvas) {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.db-world img { object-fit: cover; object-position: 58% center; }
.db-world canvas { visibility: hidden; }
.db-world[data-render="webgl"] canvas { visibility: visible; }
.db-world[data-render="webgl"] img { visibility: hidden; }

.db-glass-sheen {
	position: absolute;
	z-index: 1;
	top: -25%;
	left: 42%;
	width: min(81vw, 1250px);
	height: 151%;
	opacity: 0;
	mix-blend-mode: screen;
	background: linear-gradient(90deg, transparent 13%, #597eff00 25%, #176aff65 34%, #b2ecff20 40%, #fff3ae74 47%, #fff5d2af 49%, #ffa1744f 52%, #ff613b31 58%, transparent 76%);
	transform: translate3d(-49%, 8%, 0) rotate(-23deg);
}

.debesis-site[data-glass-pulse="true"] .db-glass-sheen {
	animation: db-glass-sweep var(--glass-sweep-duration, 10.4s) ease-in-out infinite;
}

@keyframes db-glass-sweep {
	0%, 100% { opacity: 0; transform: translate3d(-49%, 8%, 0) rotate(-23deg); }
	28% { opacity: var(--glass-sweep-opacity, .31); }
	55% { opacity: calc(var(--glass-sweep-opacity, .31) * .54); }
	77%, 99% { opacity: 0; transform: translate3d(38%, -7%, 0) rotate(-23deg); }
}

.db-glass-ripple {
	position: absolute;
	z-index: 1;
	width: min(50vw, 730px);
	aspect-ratio: 1.53;
	opacity: 0;
	mix-blend-mode: screen;
	background: radial-gradient(ellipse, #fff5ba85, #ffd45558 16%, #f5a66c29 36%, #7a75f90c 50%, transparent 70%);
	transform: translate(-50%, -50%) rotate(-24deg);
}

.db-world::before,
.db-world::after {
	content: '';
	position: absolute;
	inset: 0;
}

.db-world:not([data-render="webgl"])::before {
	z-index: 1;
	background:
		radial-gradient(ellipse at var(--beam-x) var(--beam-y), rgba(var(--light-rgb), .52), rgba(var(--light-rgb), .14) 21%, transparent 46%),
		radial-gradient(ellipse at var(--reflection-x) 108%, rgba(var(--light-rgb), .26), transparent 49%);
	mix-blend-mode: screen;
}

.db-world::after {
	z-index: 2;
	background:
		linear-gradient(90deg, #0c0a23f4 0%, #0e0a27eb 20%, #120b30b8 39%, #170d3e22 56%, transparent 70%),
		linear-gradient(0deg, #0d0b26d6 0%, #0d0a255c 15%, transparent 39%, transparent 86%, #0b092453 100%);
}

.db-light-target {
	position: absolute;
	z-index: 3;
	top: var(--beam-y);
	left: var(--beam-x);
	display: none;
	width: 28px;
	height: 28px;
	border: 1px solid #fff4a8d1;
	transform: translate(-50%, -50%) rotate(45deg);
	border-radius: 2px;
	box-shadow: 0 0 0 5px #ffeebe25, 0 0 24px #fff091a2;
}

.debesis-site[data-show-light] .db-light-target { display: block; }

.db-exhibition-page .db-world::after {
	background: linear-gradient(90deg, #090d17ed, #090d1799 35%, transparent 66%),
		linear-gradient(0deg, #090d17d9, transparent 32%, transparent 88%, #090d1773);
}

.db-wrap, .db-home-content {
	width: min(1248px, calc(100% - clamp(40px, 9vw, 144px)));
	margin-inline: auto;
}

.db-skip {
	position: fixed;
	top: .5rem;
	left: .75rem;
	z-index: 100000;
	padding: .62rem 1rem;
	background: #fff0cb;
	color: #15151c;
	transform: translateY(-160%);
}
.db-skip:focus { transform: none; }

.db-header {
	border-bottom: 1px solid var(--border);
	background: #0e0b26cf;
}
.db-header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	min-height: 75px;
}
.debesis-site :is(.db-brand, .db-mail, .db-nav a, .db-footer a, .db-button) {
	text-decoration: none;
}
.db-brand {
	font-family: var(--type);
	display: inline-flex;
	width: fit-content;
	align-items: center;
	gap: .6rem;
	color: var(--ink);
	font-weight: 800;
	font-size: 1.69rem;
	white-space: nowrap;
	letter-spacing: -.05em;
}
.db-brand-dot { color: var(--amber); }
.db-mark {
	display: grid;
	place-content: center;
	gap: 2px;
	width: 27px;
	height: 24px;
	transform: skewX(-15deg);
	border: 1.5px solid var(--amber);
}
.db-mark i { height: 1.5px; background: var(--amber); justify-self: center; }
.db-mark i:nth-child(1) { width: 7px; }
.db-mark i:nth-child(2) { width: 12px; }
.db-mark i:nth-child(3) { width: 18px; }

.db-nav { display: flex; gap: clamp(.6rem, 3vw, 2rem); }
.db-nav a, .db-mail {
	color: var(--ink);
	font-size: .86rem;
	font-weight: 700;
	font-family: var(--type);
	white-space: nowrap;
}
.db-mail {
	justify-self: end;
	padding: .56rem .8rem;
	border: 1px solid var(--border);
	background: #171331b3;
}
.db-nav a:hover, .db-mail:hover, .db-brand:hover { color: var(--amber); }

.db-hero {
	position: relative;
	display: grid;
	align-items: center;
	min-height: min(620px, calc(100svh - 75px));
	padding-block: 34px 46px;
}
.db-hero-copy { max-width: min(550px, 65%); }
.db-touch-cue { display: none; }
.db-hero h1, .db-art h1 {
	margin: 0;
	color: var(--ink);
	font: 700 clamp(3rem, 5.2vw, 4.35rem)/1.08 var(--reading-type);
	letter-spacing: -.018em;
	text-wrap: balance;
}
.db-hero h1 { text-wrap: initial; }
.db-hero h1 span { display: block; color: var(--amber); }
.db-hero-copy > p {
	max-width: 47ch;
	margin-block: 1rem 1.45rem;
	color: var(--quiet);
	font-family: var(--reading-type);
	font-size: clamp(1.1875rem, 1.45vw, 1.3125rem);
	font-weight: 400;
	line-height: 1.55;
	text-wrap: pretty;
}
.db-hero-actions { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; align-items: center; }
.db-button {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	gap: .44rem;
	padding: .57rem .88rem;
	border: 1px solid var(--border);
	font-size: .86rem;
	font-weight: 700;
	font-family: var(--type);
}
.db-button-primary { color: #221632; background: var(--amber); border-color: var(--amber); }
.db-button-primary:hover { color: #221632; background: #ffed96; }
.db-button-text { color: var(--ink); background: #10102bcb; }
.db-button-text:hover { color: #fff5e3; background: #292436; }

.db-hero-light {
	position: absolute;
	bottom: 43px;
	right: 0;
	display: flex;
	align-items: center;
	gap: .53rem;
	padding: 8px 12px;
	color: #fff1d2;
	border: 1px solid var(--border);
	border-radius: 0;
	background: #16112ddc;
	font: 750 13px/1.6 var(--type);
}
.db-hero-light::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--amber);
	box-shadow: 0 0 10px #ffc946;
}
.db-hero-light:hover { color: #fff4d5; background: #2e2049; }
.debesis-site:not([data-glass-ready]) .db-hero-light { display: none; }

.db-service-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: clamp(2.4rem, 7vw, 5rem);
	border: 1px solid var(--border);
}
.db-service-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 25px;
	min-height: 100px;
	background: radial-gradient(ellipse at var(--beam-x) var(--beam-y), rgba(var(--light-rgb), .13), transparent 56%), #161438db;
	color: var(--ink);
	text-decoration: none;
}
.db-service-links a + a { border-left: 1px solid var(--border); }
.db-service-links a:hover { background-color: #221d4a; }
.db-service-links a:focus-visible { background-color: #221d4a; }
.db-service-links :is(strong, small) { display: block; }
.db-service-links strong { font-weight: 800; font-size: 18px; }
.db-service-links small { color: var(--quiet); font-size: 13px; }
.db-service-links i { flex: 0 0 auto; color: var(--amber); font-size: 23px; font-style: normal; }

.db-home-content > :is(.db-services, .db-ai),
.db-footer,
.db-art-copy,
.debesis-site :is(.single-page-container, .single-post-container, .archive-container) {
	--panel-color: rgba(13, 19, 34, .94);
	position: relative;
	border: 1px solid var(--border);
	background:
		radial-gradient(ellipse at var(--beam-x) var(--beam-y), rgba(var(--light-rgb), .20), transparent 52%),
		linear-gradient(160deg, var(--panel-color), #0c111dde);
	box-shadow: 0 1.5rem 5rem #05060db0;
}
.db-home-content > :is(.db-services, .db-ai) {
	margin: 0 0 clamp(2.4rem, 9vw, 7rem);
	padding: clamp(1.35rem, 5.3vw, 4.65rem);
	scroll-margin-top: 1.4rem;
}
.db-home-content h2, .db-art-copy h2, .db-footer h2 {
	margin: 0 0 .85rem;
	color: var(--ink);
	font: 650 clamp(2.05rem, 3.5vw, 3rem)/1.13 var(--reading-type);
	letter-spacing: -.012em;
	text-wrap: balance;
}
.db-home-content p, .db-art-copy :is(p, li),
.debesis-site .neve-main :is(.entry-content, .nv-content-wrap) :is(p, li) {
	max-width: var(--reading-measure);
	font-family: var(--reading-type);
	font-size: var(--reading-size);
	font-weight: 400;
	line-height: 1.6;
}
.db-home-content p, .db-art-copy p {
	margin-block: 0 1rem;
	color: var(--quiet);
	text-wrap: pretty;
}
.db-home-content .db-section-intro { margin-block: .9rem 1.85rem; }
.db-home-content .db-ai-grid {
	display: block;
	margin-block: .9rem 1.85rem;
}
.db-home-content .db-ai-grid > .wp-block-column + .wp-block-column { margin: 0; }
.db-home-content .db-service-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: clamp(.7rem, 2vw, 1.45rem);
	margin: 0;
}
.db-card, .db-ai-project-card, .db-example, .db-ai-projects {
	border: 1px solid #9487ad70;
	background: linear-gradient(149deg, #212b4880, #151d33b8);
}
.db-card, .db-ai-project-card {
	height: 100%;
	padding: clamp(1.1rem, 2.6vw, 2.2rem);
}
.db-card-mail { background: linear-gradient(149deg, #46334085, #1c1c2bb8); }
.db-services .db-offerings, .db-services .db-other-projects { margin-top: clamp(.7rem, 2vw, 1.45rem); }
.db-home-content :is(.db-card, .db-ai-project-card, .db-ai-grid, .db-ai-projects) p:last-child { margin-bottom: 0; }
.db-home-content :is(.db-card h3, .db-ai-project-card h4, .db-ai-projects h3) {
	margin: 0 0 .55rem;
	color: var(--ink);
	font: 650 clamp(1.32rem, 1.65vw, 1.55rem)/1.25 var(--reading-type);
}
.db-card summary { border-top: 1px solid var(--border); padding-block: .75rem; font-size: var(--reading-size); }
.db-card summary, .db-inline-link a { cursor: pointer; color: var(--amber); font-weight: 750; }
.db-inline-link a { text-decoration: underline; text-underline-offset: .2em; }
.db-ai-examples-title {
	margin-block: clamp(2rem, 3.8vw, 3.1rem) .8rem;
	color: var(--ink);
	font: 650 clamp(1.45rem, 2.1vw, 1.75rem)/1.25 var(--reading-type);
}
.db-ai-project-list > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(.72rem, 2vw, 1.45rem);
	margin-top: 1.2rem;
}
.db-ai-project-card { margin: 0; }
#di-projektai { scroll-margin-top: 1.25rem; }
.db-ai-examples > .wp-block-group__inner-container {
	display: grid;
	width: min(100%, 55rem);
	gap: .5rem;
}
.db-example { margin: 0; }
.db-example summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .8rem;
	min-height: 55px;
	padding: .7rem 1rem;
	color: var(--ink);
	font-size: var(--reading-size);
	font-weight: 600;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}
.db-example summary::-webkit-details-marker { display: none; }
.db-example summary::after { content: "+"; color: var(--amber); font-size: 1.2em; }
.db-example[open] summary::after { content: "−"; }
.db-example summary:hover { background: #b8b4ef20; }
.db-home-content .db-example p { margin: 0; padding: 0 1rem 1.05rem; }

.db-ai-projects {
	margin-block-start: clamp(1.7rem, 4vw, 3.2rem);
	padding: clamp(1.1rem, 3vw, 2.3rem);
	border-inline-start: 3px solid #a68fc7;
}

.db-footer {
	--panel-color: #111827f2;
	border-width: 1px 0 0;
	padding-bottom: 3.4rem;
}
.db-footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 1.35rem;
	padding-block: clamp(2.3rem, 5vw, 4rem);
}
.db-footer h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); }
.db-footer-email { color: var(--amber); font-size: 1.17rem; font-weight: 750; }
.db-footer-links { display: flex; flex-wrap: wrap; gap: .45rem 1.28rem; }
.db-footer-links a { color: var(--ink); font-size: .85rem; font-weight: 700; }
.db-footer a:hover { color: #ffe2af; text-decoration: underline; }
.db-footer-end { padding-block: .88rem; border-top: 1px solid var(--border); color: var(--quiet); font-size: .79rem; }

.db-art-intro {
	display: flex;
	min-height: min(680px, calc(100svh - 74px));
	flex-direction: column;
	align-items: start;
	justify-content: end;
	padding-block: 4rem;
}
.db-art-label { color: var(--amber); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.db-art-intro > p:not(.db-art-label) { max-width: 31rem; margin-block: .65rem 0; font-size: var(--reading-size); }
.db-art-intro .db-art-cue { color: #f4e1d3; }
.db-art-copy {
	max-width: 47rem;
	margin: 0 0 clamp(3rem, 10vw, 8rem);
	padding: clamp(1.3rem, 5vw, 3.6rem);
}
.db-art-copy h2 { margin-top: 1.4rem; font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.db-art-copy a, .db-entry a { color: var(--amber); }
.db-art-sources { display: flex; flex-wrap: wrap; gap: .45rem 1rem; }

.db-light-dock {
	position: fixed;
	z-index: 10;
	right: clamp(.7rem, 2.3vw, 2.2rem);
	bottom: clamp(.7rem, 2.4vw, 1.7rem);
	width: min(19rem, calc(100vw - 1.4rem));
	color: #f7edda;
	font-family: var(--type);
}
.db-light-dock[hidden] { display: none; }
.debesis-site.home .db-light-dock:not([open]) summary { visibility: hidden; }
.db-light-dock summary {
	width: fit-content;
	margin-left: auto;
	min-height: 44px;
	display: flex;
	gap: .6rem;
	align-items: center;
	padding: .5rem .76rem;
	border-radius: 4px;
	border: 1px solid #c39c7b;
	background: #15151feF;
	color: #ffe0aa;
	list-style: none;
	cursor: pointer;
	font-size: .81rem;
	font-weight: 800;
}
.db-light-dock summary::-webkit-details-marker { display: none; }
.db-light-dock summary::before {
	content: '';
	display: block;
	width: .57rem;
	height: .57rem;
	border-radius: 50%;
	background: #ffd498;
	box-shadow: 0 0 .8rem #ffad53;
}
.db-light-box {
	position: absolute;
	right: 0;
	bottom: calc(100% + .4rem);
	width: 100%;
	display: grid;
	gap: .75rem;
	padding: .92rem;
	border: 1px solid #b09180;
	border-radius: 4px;
	background: #181823;
	box-shadow: 0 .7rem 2rem #000b;
}
.db-light-box label { display: grid; gap: .2rem; font-size: .78rem; font-weight: 750; }
.db-light-box input[type="range"] { width: 100%; min-height: 24px; accent-color: #ffd498; }
.db-light-modes { display: flex; gap: .45rem; }
.db-light-modes button, .db-pulse-toggle {
	min-height: 40px;
	padding: .43rem .62rem;
	border: 1px solid #9b8585;
	border-radius: 3px;
	background: #342d39;
	color: #fff3df;
	font: 700 .83rem var(--type);
}
.db-light-modes button[aria-pressed="true"], .db-pulse-toggle[aria-pressed="true"] { background: #ffd498; color: #261b23; }

.debesis-site :is(.single-page-container, .single-post-container, .archive-container) {
	margin-block: clamp(1rem, 5vw, 4rem);
	padding-block: clamp(1rem, 3vw, 3rem);
	--nv-light-bg: #222738;
	--nv-text-color: #f6f0e8;
}
.debesis-site .neve-main :is(.nv-page-title, .entry-title) { color: #f6f0e8; }
.debesis-site #scroll-to-top { bottom: 5.4rem; }

/* Stock full-width theme blocks use per-block generated backgrounds. */
.db-legacy-layout .single-page-container {
	background: linear-gradient(165deg, #121b2ac7, #10131bd1);
}
.db-legacy-layout .entry-content .wp-block-themeisle-blocks-advanced-columns.alignfull {
	width: auto !important;
	max-width: none !important;
	margin-inline: 0 !important;
	border-bottom: 1px solid var(--border);
	background: transparent !important;
}
.db-legacy-layout .entry-content .wp-block-themeisle-blocks-advanced-columns.alignfull:first-child {
	min-height: clamp(17rem, 45vh, 29rem);
}
.db-legacy-layout .entry-content .wp-block-themeisle-blocks-advanced-columns-overlay {
	background: radial-gradient(ellipse at var(--beam-x) var(--beam-y), rgba(var(--light-rgb), .14), #12192717 72%) !important;
}
.db-legacy-layout .entry-content .wp-block-themeisle-blocks-advanced-column.has-light-bg {
	background-color: #111726ba !important;
}
.db-legacy-layout .entry-content :is(h1, h2) {
	color: var(--ink);
	font-family: var(--display);
}

@media (max-width: 780px), (pointer: coarse) and (max-height: 540px) {
	.db-wrap, .db-home-content {
		width: auto;
		margin-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
	}
	.db-header { padding-top: env(safe-area-inset-top); }
	.db-header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 0 .6rem; padding-top: .2rem; }
	.db-brand { min-height: 44px; font-size: 1.42rem; }
	.db-mail { display: grid; grid-auto-flow: column; align-items: center; gap: .28rem; min-height: 44px; }
	.db-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 0; }
	.db-nav a { display: flex; align-items: center; min-height: 44px; font-size: .81rem; }
	.db-hero {
		min-height: calc(100svh - 93px - env(safe-area-inset-top));
		grid-template-rows: minmax(clamp(7.5rem, 27svh, 15rem), 1fr) auto auto;
		align-items: end;
		padding-block: 0 max(1.45rem, env(safe-area-inset-bottom));
		touch-action: pan-y pinch-zoom;
	}
	.db-touch-cue {
		display: flex;
		align-items: center;
		gap: .42rem;
		justify-self: start;
		margin: 0 0 .9rem;
		padding: .36rem .56rem;
		background: #140f2ad9;
		color: #fff3da;
		border: 1px solid var(--border);
		font-size: .76rem;
		font-weight: 750;
	}
	.db-touch-cue::before {
		content: '';
		width: .42rem;
		height: .42rem;
		transform: rotate(45deg);
		background: var(--amber);
		box-shadow: 0 0 .6rem #ffb85b;
	}
	.debesis-site:not([data-glass-ready]) .db-touch-cue,
	.debesis-site[data-reduced-motion] .db-touch-cue { visibility: hidden; }
	.db-hero-copy { max-width: 100%; }
	.db-hero h1 { font-size: clamp(2.15rem, 9.1vw, 3.75rem); }
	.db-hero-copy > p { margin-block: .85rem 1rem; }
	.db-hero-actions { gap: .52rem; }
	.db-hero-light { position: static; min-height: 44px; justify-self: start; margin-top: .72rem; }
	.db-service-links { grid-template-columns: 1fr; }
	.db-service-links a { min-height: 68px; padding: .8rem .9rem; }
	.db-service-links a + a { border-left: 0; border-top: 1px solid var(--border); }
	.db-home-content .db-service-grid,
	.db-ai-project-list > .wp-block-group__inner-container { grid-template-columns: minmax(0, 1fr); gap: .72rem; }
	.db-home-content > :is(.db-services, .db-ai) { padding: clamp(.85rem, 4vw, 1.45rem); }
	.db-footer-inner { flex-direction: column; align-items: start; }
	.db-footer { padding-bottom: max(3.4rem, env(safe-area-inset-bottom)); }
	.db-art-intro {
		min-height: calc(100svh - 93px - env(safe-area-inset-top));
		padding-block: 6rem 5.2rem;
	}
	.db-art h1 { font-size: clamp(2.45rem, 8.5vw, 3.75rem); }
	.db-light-dock {
		right: max(.75rem, env(safe-area-inset-right));
		bottom: max(.75rem, env(safe-area-inset-bottom));
		width: min(20rem, calc(100% - 2rem - env(safe-area-inset-right)));
	}
	.db-light-box { max-height: max(7rem, calc(100dvh - 5.5rem - env(safe-area-inset-top) - env(safe-area-inset-bottom))); overflow-y: auto; }
	.db-light-modes button, .db-pulse-toggle, .db-light-box input[type="range"] { min-height: 44px; }
	.db-world img { object-position: center; }
	.db-glass-sheen { left: 28%; width: max(108vw, 52svh); }
	.db-glass-ripple { width: min(78vw, 390px); }
	.db-world::after, .db-exhibition-page .db-world::after {
		background: linear-gradient(0deg, #0b0925f0 0%, #0b0925df 26%, #120b309a 46%, #130d3914 64%, transparent 77%, #14103524 100%);
	}
}

@media (pointer: fine) and (hover: hover) {
	.db-touch-cue { visibility: hidden; }
}

@media (max-width: 380px) and (max-height: 640px) {
	.db-world::after {
		background: linear-gradient(0deg, #0b0925f0 0%, #0b0925dc 32%, #0b0925b0 56%, #0c0a231d 64%, transparent 76%, #14103524 100%);
	}
}

@media (orientation: landscape) and (max-height: 540px) and (pointer: coarse) {
	.db-header-inner {
		grid-template-columns: auto 1fr auto;
		column-gap: .9rem;
		min-height: 54px;
	}
	.db-nav { grid-row: 1; grid-column: 2; justify-content: center; gap: clamp(.5rem, 3vw, 1.25rem); }
	.db-hero {
		grid-template-columns: minmax(0, 1fr) minmax(9rem, .45fr);
		grid-template-rows: 1fr auto;
		min-height: calc(100svh - 55px - env(safe-area-inset-top));
		gap: .55rem;
		padding-top: .9rem;
	}
	.db-touch-cue { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
	.db-hero-copy { grid-row: 1 / span 2; }
	.db-hero h1 { font-size: clamp(1.95rem, 5.3vw, 3.05rem); }
	.db-hero-light { grid-column: 2; justify-self: end; margin: 0; }
	.db-world::after, .db-exhibition-page .db-world::after {
		background: linear-gradient(90deg, #0b0925f2, #0b0925c9 36%, #0b09251d 74%, transparent),
			linear-gradient(0deg, #0b09256b, transparent 26%);
	}
}
