/* ==========================================================================
   Living Art Studio — pagina „În curând”
   O pictură care se pictează, îmbătrânește și se restaurează în buclă (assets/js/soon.js).
   ========================================================================== */

:root {
	--night: #15120F;
	--night-2: #1F1B17;
	--linen: #F3EDE2;
	--paper: #FAF7F1;
	--ink: #1B1814;
	--gold: #B08D57;
	--gold-light: #D9BC85;
	--gold-ink: #8A6A35;
	--muted: #B9AD9B;
	--soft: #D8CEBF;
	--line: rgba(243, 237, 226, .14);
	--gilt: linear-gradient(135deg, #7A5A2A 0%, #E2C78E 22%, #A37B3F 40%, #F1DFAC 56%, #8F6A34 76%, #D4B57A 100%);
	--f-display: "Cormorant Garamond", "Cormorant", "EB Garamond", Garamond, "Times New Roman", serif;
	--f-ui: "Jost", "Futura", "Century Gothic", "Avenir Next", system-ui, sans-serif;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--gutter: clamp(20px, 4.4vw, 68px);
	--noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .85 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after { box-sizing: border-box; }

html { background: var(--night); overflow-x: hidden; overflow-x: clip; }

body.soon-page {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	background: var(--night);
	color: var(--linen);
	font-family: var(--f-ui);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

a { color: inherit; }

:focus-visible {
	outline: 2px solid var(--gold-light);
	outline-offset: 3px;
}

/* ---------- cadrul paginii ---------- */
.soon {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	grid-template-rows: auto 1fr auto;
	padding: clamp(18px, 3vw, 40px) var(--gutter) clamp(16px, 2.4vw, 28px);
	isolation: isolate;
}

.soon::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(120% 90% at 78% 46%, rgba(70, 52, 32, .55) 0%, rgba(21, 18, 15, 0) 62%),
		radial-gradient(90% 70% at 12% 100%, rgba(110, 31, 28, .16) 0%, rgba(21, 18, 15, 0) 60%),
		var(--night);
}

.soon::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	background-image: var(--noise);
	opacity: .07;
	pointer-events: none;
}

.soon__glow {
	position: absolute;
	z-index: -1;
	top: 50%;
	right: clamp(-10%, 4vw, 12%);
	width: min(92vmin, 980px);
	aspect-ratio: 1;
	transform: translateY(-50%);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(233, 190, 120, .24), rgba(233, 190, 120, .08) 52%, rgba(233, 190, 120, 0) 72%);
	animation: soon-breathe 9s ease-in-out infinite alternate;
	pointer-events: none;
}

/* ---------- antet ---------- */
.soon__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.soon__logo {
	display: block;
	width: clamp(108px, 9.5vw, 148px);
	height: auto;
	opacity: 0;
	animation: soon-fade 1.2s var(--ease) .15s forwards;
}

.soon__place {
	margin: 0;
	font-size: .66rem;
	letter-spacing: .32em;
	text-transform: uppercase;
	color: var(--muted);
	opacity: 0;
	animation: soon-fade 1.2s var(--ease) .5s forwards;
}

/* ---------- conținut ---------- */
.soon__main {
	display: grid;
	grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(36px, 6vw, 112px);
	padding: clamp(18px, 3.4vh, 48px) 0;
}

.soon__copy { max-width: 590px; }

.soon__eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 clamp(18px, 2.6vh, 28px);
	font-size: .7rem;
	font-weight: 400;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--gold-light);
	opacity: 0;
	animation: soon-fade 1s var(--ease) .45s forwards;
}

.soon__rule {
	flex: 0 0 auto;
	width: 46px;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left;
	animation: soon-rule 1.2s var(--ease) .6s forwards;
}

.soon__title {
	margin: 0;
	font-family: var(--f-display);
	font-weight: 400;
	font-size: clamp(3rem, 6.2vw, 6.1rem);
	line-height: .96;
	letter-spacing: -.012em;
	opacity: 0;
	animation: soon-rise 1.5s var(--ease) .55s forwards;
}

.soon__title em {
	font-style: italic;
	color: var(--gold-light);
}

.soon__lead {
	margin: clamp(20px, 3vh, 30px) 0 0;
	max-width: 46ch;
	font-size: clamp(1rem, 1.15vw, 1.1rem);
	line-height: 1.8;
	color: var(--soft);
	opacity: 0;
	animation: soon-rise 1.4s var(--ease) .8s forwards;
}

/* numărătoarea inversă */
.soon__count {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: clamp(24px, 3.6vh, 36px);
	opacity: 0;
	animation: soon-rise 1.4s var(--ease) .95s forwards;
}

.soon__count[hidden] { display: none; }

.soon__count div {
	min-width: 76px;
	padding: 12px 12px 10px;
	border: 1px solid var(--line);
	background: rgba(243, 237, 226, .03);
	text-align: center;
}

.soon__count b {
	display: block;
	font-family: var(--f-display);
	font-size: 2.3rem;
	font-weight: 400;
	line-height: 1;
	font-variant-numeric: lining-nums tabular-nums;
}

.soon__count span {
	display: block;
	margin-top: 6px;
	font-size: .6rem;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--muted);
}

/* „Anunță-mă la lansare” */
.soon-news {
	margin-top: clamp(26px, 4vh, 40px);
	max-width: 470px;
	opacity: 0;
	animation: soon-rise 1.4s var(--ease) 1.05s forwards;
}

.soon-news__title {
	margin: 0 0 4px;
	font-family: var(--f-display);
	font-size: 1.5rem;
	font-weight: 400;
	font-style: italic;
	color: var(--linen);
}

.soon-news__row {
	display: flex;
	align-items: stretch;
	border-bottom: 1px solid rgba(243, 237, 226, .32);
	transition: border-color .4s;
}

.soon-news__row:focus-within { border-bottom-color: var(--gold-light); }

.soon-news input[type="email"] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 52px;
	padding: 12px 0;
	border: 0;
	background: transparent;
	color: var(--linen);
	font: inherit;
	font-size: 1rem;
	outline: none;
}

.soon-news input[type="email"]::placeholder { color: rgba(243, 237, 226, .42); }

.soon-news button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	min-height: 52px;
	padding: 0 0 0 18px;
	border: 0;
	background: transparent;
	color: var(--gold-light);
	font: inherit;
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .24em;
	text-transform: uppercase;
	cursor: pointer;
	transition: color .3s, gap .4s var(--ease);
}

.soon-news button:hover { color: var(--paper); gap: 16px; }

.soon-news button svg,
.soon__contact svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.3;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.soon-news__note {
	margin: 12px 0 0;
	font-size: .78rem;
	line-height: 1.6;
	color: var(--muted);
}

.soon-news__note a { color: var(--soft); }
.soon-news__note.is-ok { color: var(--gold-light); font-size: .9rem; }
.soon-news__note.is-error { color: #E7A08F; }

.hp-field {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* contact */
.soon__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 26px;
	margin: clamp(22px, 3.4vh, 34px) 0 0;
	padding: 0;
	list-style: none;
	font-size: .92rem;
	opacity: 0;
	animation: soon-fade 1.4s var(--ease) 1.25s forwards;
}

.soon__contact a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	text-decoration: none;
	color: var(--linen);
	transition: color .3s;
}

.soon__contact a svg { color: var(--gold); }
.soon__contact a:hover { color: var(--gold-light); }

/* ---------- tabloul ---------- */
.soon__art {
	margin: 0;
	justify-self: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	opacity: 0;
	animation: soon-art 1.8s var(--ease) .3s forwards;
}

.soon__frame {
	position: relative;
	height: min(57vh, 660px);
	aspect-ratio: 4 / 5;
	padding: clamp(9px, 1vw, 14px);
	border-radius: 50% 50% 4px 4px / 40% 40% 4px 4px;
	background: var(--gilt);
	box-shadow:
		0 70px 120px -50px rgba(0, 0, 0, .85),
		0 30px 60px -30px rgba(0, 0, 0, .6),
		inset 0 0 0 1px rgba(255, 236, 196, .35);
}

/* reflexul de lumină care trece peste rama aurită */
.soon__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	padding: inherit;
	border-radius: inherit;
	background: linear-gradient(115deg, rgba(255, 244, 214, 0) 34%, rgba(255, 244, 214, .7) 46%, rgba(255, 244, 214, 0) 58%) 0 0 / 260% 100% no-repeat;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	mix-blend-mode: soft-light;
	animation: soon-sheen 7.5s ease-in-out 2s infinite;
	pointer-events: none;
}

.soon__canvas {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 50% 50% 2px 2px / 40% 40% 2px 2px;
	background: #3A2C1E;
	box-shadow: inset 0 0 40px rgba(0, 0, 0, .45);
}

.soon__canvas canvas {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.soon__aged { opacity: 0; }

/* bețișorul de restaurator: un băț de frigărui cu un tampon mic de vată în vârf */
.soon__swab {
	--tip: clamp(17px, 2.5vmin, 26px);
	--len: clamp(190px, 30vmin, 330px);
	--dirt: 0;
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	z-index: 3;
	opacity: 0;
	transform: translate(-400px, -400px);
	transition: opacity .5s ease;
	will-change: transform;
	pointer-events: none;
}
.soon__swab.is-on { opacity: 1; }

.soon__swab-hand {
	position: absolute;
	left: 0;
	top: 0;
	transform-origin: 0 0;
	animation: soon-roll 1.1s ease-in-out infinite alternate;
	filter: drop-shadow(0 10px 8px rgba(0, 0, 0, .38));
}
@keyframes soon-roll { from { transform: rotate(-4deg); } to { transform: rotate(5deg); } }

/* bățul de lemn: subțire, lung, cu fibra lemnului și vârful ascuțit ascuns în vată */
.soon__stick {
	position: absolute;
	left: calc(var(--tip) * -.12);
	top: calc(var(--tip) * .1);
	width: calc(var(--tip) * .22);
	min-width: 4px;
	height: var(--len);
	border-radius: 0 0 3px 3px;
	background:
		repeating-linear-gradient(180deg, rgba(120, 82, 40, .18) 0 7px, transparent 7px 19px),
		linear-gradient(90deg, #9C7243 0%, #D9B783 38%, #EBD3A6 52%, #C79D63 74%, #8E6638 100%);
	clip-path: polygon(50% 0, 100% 5%, 100% 100%, 0 100%, 0 5%);
	transform-origin: 50% 0;
	transform: rotate(-33deg);
}

/* tamponul de vată: mic, neregulat, pufos; se murdărește pe măsură ce curăță */
.soon__cotton {
	position: absolute;
	left: calc(var(--tip) * -.5);
	top: calc(var(--tip) * -.78);
	width: var(--tip);
	height: calc(var(--tip) * 1.55);
	border-radius: 46% 54% 50% 50% / 58% 60% 42% 44%;
	transform: rotate(-33deg);
	transform-origin: 50% 50%;
	background:
		radial-gradient(circle at 40% 32%, rgba(255, 255, 255, .85) 0, rgba(255, 255, 255, .5) 22%, transparent 48%),
		radial-gradient(circle at 64% 68%, color-mix(in srgb, #EFE6D6, #A8834E calc(var(--dirt) * 70%)) 0, transparent 62%),
		radial-gradient(ellipse at 50% 55%, color-mix(in srgb, #FBF7EF, #C29B60 calc(var(--dirt) * 55%)) 0, color-mix(in srgb, #E9DFCD, #9E7A44 calc(var(--dirt) * 60%)) 74%, color-mix(in srgb, #D8CBB2, #8A6634 calc(var(--dirt) * 60%)) 100%);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, .22),
		0 0 4px 2px rgba(245, 238, 224, .55),
		0 0 9px 3px rgba(245, 238, 224, .18),
		inset -2px -3px 5px rgba(140, 110, 70, .28);
}
/* fire de vată care ies din tampon */
.soon__cotton::before,
.soon__cotton::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 253, 246, .75);
	filter: blur(.6px);
}
.soon__cotton::before { width: 46%; height: 30%; left: -14%; top: 18%; transform: rotate(-20deg); }
.soon__cotton::after { width: 34%; height: 24%; right: -12%; top: 6%; transform: rotate(25deg); background: rgba(255, 253, 246, .55); }

@media (prefers-reduced-motion: reduce) {
	.soon__swab-hand { animation: none; }
}

/* eticheta de muzeu */
.soon__label {
	position: relative;
	display: grid;
	gap: 3px;
	width: min(100%, 380px);
	margin-top: clamp(14px, 2.2vh, 22px);
	padding: 12px 18px 11px;
	background: var(--paper);
	color: var(--ink);
	box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .7);
	font-size: .8rem;
	line-height: 1.5;
}

.soon__phase {
	font-family: var(--f-display);
	font-size: 1.22rem;
	font-style: italic;
	line-height: 1.2;
}

.soon__phase b {
	margin-right: 4px;
	font-weight: 400;
	color: var(--gold-ink);
}

.soon__phase-text { color: #5B4A3A; }

.soon__phase,
.soon__phase-text { transition: opacity .35s ease, transform .5s var(--ease); }

.soon__label.is-swap .soon__phase,
.soon__label.is-swap .soon__phase-text {
	opacity: 0;
	transform: translateY(6px);
}

.soon__steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	margin: 8px 0 4px;
}

.soon__steps i {
	position: relative;
	height: 2px;
	overflow: hidden;
	background: rgba(27, 24, 20, .12);
}

.soon__steps i::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--gold);
	transform: scaleX(var(--p, 0));
	transform-origin: left;
}

.soon__scene {
	font-size: .6rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: #8A7A68;
}

/* ---------- subsol ---------- */
.soon__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 24px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: .72rem;
	letter-spacing: .04em;
	color: var(--muted);
	opacity: 0;
	animation: soon-fade 1.4s var(--ease) 1.4s forwards;
}

.soon__foot p { margin: 0; }

.soon__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}

.soon__legal a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	color: var(--muted);
	text-decoration: none;
	transition: color .3s;
}

.soon__legal a:hover { color: var(--linen); }

/* ---------- animații ---------- */
@keyframes soon-fade { to { opacity: 1; } }
@keyframes soon-rule { to { transform: scaleX(1); } }
@keyframes soon-rise {
	from { opacity: 0; transform: translateY(26px); }
	to { opacity: 1; transform: none; }
}
@keyframes soon-art {
	from { opacity: 0; transform: translateY(34px) scale(.965); }
	to { opacity: 1; transform: none; }
}
@keyframes soon-breathe {
	from { opacity: .7; transform: translateY(-50%) scale(.96); }
	to { opacity: 1; transform: translateY(-50%) scale(1.04); }
}
@keyframes soon-sheen {
	0%, 62% { background-position: 130% 0; }
	100% { background-position: -40% 0; }
}

/* ---------- ecrane mici ---------- */
@media (max-width: 960px) {
	.soon__main {
		grid-template-columns: 1fr;
		gap: clamp(26px, 5vh, 40px);
		padding: clamp(20px, 3vh, 32px) 0 clamp(28px, 4vh, 40px);
		text-align: center;
	}

	.soon__art { order: -1; }

	.soon__frame {
		height: auto;
		width: min(68vw, 360px);
	}

	.soon__copy { margin: 0 auto; }
	.soon__eyebrow { justify-content: center; }
	.soon__lead { margin-left: auto; margin-right: auto; }
	.soon__count { justify-content: center; }
	.soon-news { margin-left: auto; margin-right: auto; text-align: left; }
	.soon-news__title { text-align: center; }
	.soon-news__note { text-align: center; }
	.soon__contact { justify-content: center; }
	.soon__glow { right: 50%; top: 30%; transform: translate(50%, -50%); animation: none; }
	.soon__foot { justify-content: center; text-align: center; }
	.soon__legal { justify-content: center; }
}

@media (max-width: 520px) {
	.soon__top { justify-content: center; }
	.soon__place { display: none; }
	.soon__title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
	.soon__eyebrow { font-size: .62rem; letter-spacing: .22em; }
	.soon__eyebrow .soon__rule { display: none; }
	.soon__frame { width: min(74vw, 320px); }
	.soon__count div { min-width: 64px; padding: 10px 6px 8px; }
	.soon__count b { font-size: 1.9rem; }
	.soon-news button { padding-left: 12px; letter-spacing: .18em; }
	.soon__contact { gap: 0 18px; font-size: .88rem; }
}

@media (max-height: 760px) and (min-width: 961px) {
	.soon__frame { height: 52vh; }
	.soon__title { font-size: clamp(2.6rem, 5vw, 4.6rem); }
	.soon__lead { margin-top: 16px; line-height: 1.7; }
	.soon-news { margin-top: 22px; }
	.soon__contact { margin-top: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.soon *,
	.soon *::before,
	.soon *::after,
	.soon::before,
	.soon::after {
		animation: none !important;
		transition: none !important;
	}

	.soon__logo,
	.soon__place,
	.soon__eyebrow,
	.soon__title,
	.soon__lead,
	.soon__count,
	.soon-news,
	.soon__contact,
	.soon__art,
	.soon__foot { opacity: 1; }

	.soon__rule { transform: none; }
}

/* Safari / iPhone: pânzele animate rămân în arcul ramei */
.soon__canvas {
	clip-path: inset(0 round 50% 50% 2px 2px / 40% 40% 2px 2px);
	-webkit-mask-image: -webkit-radial-gradient(white, black);
	isolation: isolate;
}