/* ==========================================================================
   Sol de Grecia 25 — cinematic theme
   ========================================================================== */
:root {
	--ink: #06101d;
	--night: #0a1830;
	--deep: #0f2442;
	--sea: #1b4a7a;
	--aegean: #2f7fc1;
	--sun: #f4b63d;
	--sun-hot: #ff8a3d;
	--marble: #f5efe4;
	--marble-2: #ebe2d2;
	--stone: #8d8579;
	--ice: #9fe6d6;
	--aurora: #5ce1b8;
	--violet: #8a7cff;

	--txt: var(--marble);
	--txt-dim: rgba(245, 239, 228, .68);
	--line: rgba(245, 239, 228, .14);

	--f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
	--f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

	--ease: cubic-bezier(.22, 1, .36, 1);       /* critically damped feel */
	--ease-bounce: cubic-bezier(.34, 1.4, .64, 1);
	--gutter: clamp(1rem, 4vw, 3.5rem);
	--max: 1440px;
	--radius: 22px;
	/* Logo size — set from Customizer → Sol de Grecia → Logo (sliders). Header height follows the logo. */
	--logo-h: 80px;
	--logo-h-m: 56px;
	--logo-scroll: .75;
	--logo-foot: 90px;
	--header-h: max(76px, calc(var(--logo-h) + 28px));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body.sdg {
	margin: 0;
	background: var(--ink);
	color: var(--txt);
	font: 400 1rem/1.65 var(--f-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}
body.sdg img, body.sdg video, body.sdg svg { display: block; max-width: 100%; }
body.sdg img { height: auto; }
body.sdg a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
body.sdg button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
body.sdg :focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--sun); color: var(--ink); }

body.sdg .sdg-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
body.sdg .sdg-sr, body.sdg .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.sdg .sdg-skip { position: fixed; top: -100px; left: 1rem; z-index: 999; background: var(--sun); color: var(--ink); padding: .7rem 1rem; border-radius: 999px; font-weight: 700; }
body.sdg .sdg-skip:focus { top: 1rem; }
body.sdg .sdg-ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Type ---------- */
body.sdg .sdg-display {
	font: 400 clamp(2.1rem, 5vw, 4.4rem)/1.02 var(--f-display);
	font-optical-sizing: auto;
	letter-spacing: -.025em;
	margin: 0;
	text-wrap: balance;
}
body.sdg .sdg-display em, body.sdg .sdg-phero__title em, body.sdg .sdg-hero__title em { font-style: italic; color: var(--sun); }
body.sdg .sdg-display--xl { font-size: clamp(2.6rem, 7vw, 6.4rem); letter-spacing: -.035em; line-height: .98; }
body.sdg .sdg-lede { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.6; color: var(--txt-dim); max-width: 62ch; text-wrap: pretty; }
body.sdg .sdg-eyebrow {
	display: inline-flex; align-items: center; gap: .6rem;
	font: 600 .74rem/1.2 var(--f-body);
	letter-spacing: .22em; text-transform: uppercase;
	color: var(--sun); margin: 0 0 1.4rem;
}
body.sdg .sdg-eyebrow--ice { color: var(--ice); }
body.sdg .sdg-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 22%, transparent); animation: sdgPulse 2.4s var(--ease) infinite; }
@keyframes sdgPulse { 50% { box-shadow: 0 0 0 8px color-mix(in srgb, currentColor 0%, transparent); } }

body.sdg .sdg-link { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--sun); }
body.sdg .sdg-link .sdg-ico { transition: transform .5s var(--ease); }
body.sdg a:hover .sdg-link .sdg-ico, body.sdg .sdg-link:hover .sdg-ico { transform: translateX(5px); }

body.sdg .sdg-tag { display: inline-block; font: 700 .66rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; padding: .45em .8em; border-radius: 999px; background: var(--sun); color: var(--ink); }
body.sdg .sdg-tag--nordic { background: linear-gradient(120deg, var(--aurora), var(--violet)); color: var(--ink); }

/* Split words reveal */
body.sdg [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
html.js [data-split] .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--base, 0ms)); }
html.js [data-split].is-in .w > span { transform: none; }

/* Generic reveal */
html.js [data-reveal] { opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ---------- Buttons (feedback on press) ---------- */
body.sdg .sdg-btn {
	--bg: var(--marble); --fg: var(--ink);
	position: relative; display: inline-flex; align-items: center; gap: .65rem;
	padding: 1rem 1.5rem; min-height: 52px;
	border-radius: 999px; background: var(--bg); color: var(--fg);
	font: 600 .95rem/1 var(--f-body); letter-spacing: .01em;
	transition: transform .5s var(--ease), background .4s var(--ease), box-shadow .5s var(--ease);
	will-change: transform; isolation: isolate; overflow: hidden;
	user-select: none; -webkit-user-select: none;
}
body.sdg .sdg-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120px 120px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 70%); opacity: 0; transition: opacity .4s; }
body.sdg .sdg-btn:hover::before { opacity: 1; }
body.sdg .sdg-btn:active { transform: scale(.97); transition-duration: .1s; }
body.sdg .sdg-btn .sdg-ico { transition: transform .5s var(--ease); }
body.sdg .sdg-btn:hover .sdg-ico { transform: translateX(4px); }
body.sdg .sdg-btn--sun { --bg: var(--sun); --fg: var(--ink); box-shadow: 0 10px 40px -10px rgba(244, 182, 61, .6); }
body.sdg .sdg-btn--sun:hover { box-shadow: 0 18px 50px -12px rgba(255, 138, 61, .7); }
body.sdg .sdg-btn--glass { --bg: rgba(255,255,255,.1); --fg: var(--marble); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border: 1px solid rgba(255,255,255,.25); }
body.sdg .sdg-btn--ghost { --bg: transparent; --fg: var(--marble); border: 1px solid var(--line); }
body.sdg .sdg-btn--sm { padding: .7rem 1.1rem; min-height: 42px; font-size: .85rem; }

/* ---------- Scroll progress ---------- */
body.sdg .sdg-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
body.sdg .sdg-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--sun), var(--sun-hot)); }

/* ---------- Header (translucent material) ---------- */
body.sdg .sdg-header {
	position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
	transition: transform .7s var(--ease), background .5s var(--ease), backdrop-filter .5s;
}
body.sdg .sdg-header::after { content: ""; position: absolute; inset: auto 0 -24px; height: 24px; pointer-events: none; background: linear-gradient(rgba(6,16,29,.35), transparent); opacity: 0; transition: opacity .5s; }
body.sdg .sdg-header.is-scrolled { background: rgba(6, 16, 29, .58); backdrop-filter: blur(22px) saturate(170%); -webkit-backdrop-filter: blur(22px) saturate(170%); }
body.sdg .sdg-header.is-scrolled::after { opacity: 1; }
body.sdg .sdg-header.is-hidden { transform: translateY(-100%); }
body.sdg .sdg-header__inner { height: 100%; max-width: var(--max); margin: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 1.4rem; }
body.sdg .sdg-brand { display: inline-flex; align-items: center; gap: .6rem; margin-right: auto; position: relative; white-space: nowrap; }
body.sdg .sdg-brand__logo { display: block; height: var(--logo-h); width: auto; max-width: min(34vw, 560px); object-fit: contain; object-position: left center; filter: drop-shadow(0 4px 18px rgba(0,0,0,.35)); transition: height .5s var(--ease); }
body.sdg .sdg-header.is-scrolled .sdg-brand__logo { height: calc(var(--logo-h) * var(--logo-scroll)); }
body.sdg .sdg-header { transition: transform .7s var(--ease), background .5s var(--ease), backdrop-filter .5s, height .5s var(--ease); }
body.sdg .sdg-header.is-scrolled { height: max(64px, calc(var(--logo-h) * var(--logo-scroll) + 20px)); }
body.sdg .sdg-brand { flex: none; }
body.sdg .sdg-nav .sdg-menu a { white-space: nowrap; }
body.sdg .sdg-nav { flex: none; }
body.sdg .sdg-header.is-compact .sdg-nav { display: none; }
body.sdg .sdg-header.is-compact .sdg-burger { display: inline-block; }
body.sdg .sdg-header.is-tight .sdg-header__end > .sdg-btn { display: none; }
body.sdg .sdg-btn { white-space: nowrap; }
body.sdg .sdg-brand__fallback { display: inline-flex; align-items: center; gap: .6rem; }
body.sdg .sdg-brand__fallback[hidden] { display: none; }
body.sdg .sdg-sun.sdg-brand__sun { width: 30px; height: 30px; color: var(--sun); }
body.sdg .sdg-brand__sun .sdg-sun__rays { transform-origin: 50% 50%; animation: sdgSpin 30s linear infinite; }
body.sdg .sdg-brand__word { font: 500 1.35rem/1 var(--f-display); letter-spacing: -.02em; }
body.sdg .sdg-brand__word em { font-style: italic; color: var(--sun); }
body.sdg .sdg-brand__years { font: 700 .62rem/1 var(--f-body); letter-spacing: .08em; padding: .35em .55em; border: 1px solid rgba(244,182,61,.6); color: var(--sun); border-radius: 999px; }
body.sdg .sdg-brand__years::after { content: " años"; }
body.sdg.lang-en .sdg-brand__years::after { content: " years"; }
@keyframes sdgSpin { to { transform: rotate(360deg); } }

body.sdg .sdg-nav .sdg-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
body.sdg .sdg-nav .sdg-menu > li { position: relative; }
body.sdg .sdg-nav .sdg-menu a { display: block; padding: .55rem .72rem; border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--txt-dim); transition: color .3s, background .3s; }
body.sdg .sdg-nav .sdg-menu a:hover, body.sdg .sdg-nav .current-menu-item > a { color: var(--marble); background: rgba(255,255,255,.07); }
body.sdg .sdg-nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 240px; list-style: none; padding: .5rem; margin: .4rem 0 0; border-radius: 18px; background: rgba(10, 24, 48, .82); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%); border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: 20% 0; pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
body.sdg .sdg-nav li:hover > .sub-menu, body.sdg .sdg-nav li:focus-within > .sub-menu { opacity: 1; transform: none; pointer-events: auto; }
body.sdg .sdg-nav .sub-menu a { border-radius: 12px; }

body.sdg .sdg-header__end { display: flex; align-items: center; gap: .8rem; }
body.sdg .sdg-lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
body.sdg .sdg-lang a { font: 700 .72rem/1 var(--f-body); letter-spacing: .1em; padding: .55em .75em; border-radius: 999px; color: var(--txt-dim); transition: background .3s, color .3s; }
body.sdg .sdg-lang a.is-current { background: var(--marble); color: var(--ink); }

body.sdg .sdg-burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); position: relative; background: rgba(255,255,255,.05); }
body.sdg .sdg-burger i { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
body.sdg .sdg-burger i:first-of-type { top: 19px; } body.sdg .sdg-burger i:last-of-type { top: 26px; left: 19px; }
body.sdg .sdg-burger:active { transform: scale(.94); }

/* Mobile sheet — enters & exits on the same (right) path */
body.sdg .sdg-sheet { position: fixed; inset: 0; z-index: 200; }
body.sdg .sdg-sheet[hidden] { display: block; visibility: hidden; pointer-events: none; }
body.sdg .sdg-sheet__scrim { position: absolute; inset: 0; background: rgba(3, 8, 16, .55); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s var(--ease); }
body.sdg .sdg-sheet__panel { position: absolute; inset: 0 0 0 auto; width: min(92vw, 440px); background: rgba(10, 24, 48, .92); backdrop-filter: blur(28px) saturate(170%); -webkit-backdrop-filter: blur(28px) saturate(170%); border-left: 1px solid var(--line); padding: calc(var(--header-h) + 1rem) 2rem 2rem; display: flex; flex-direction: column; transform: translateX(104%); transition: transform .65s var(--ease); overflow-y: auto; }
body.sdg .sdg-sheet.is-open .sdg-sheet__scrim { opacity: 1; }
body.sdg .sdg-sheet.is-open .sdg-sheet__panel { transform: none; }
body.sdg .sdg-sheet__close { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
body.sdg .sdg-sheet .sdg-menu { list-style: none; margin: 0; padding: 0; }
body.sdg .sdg-sheet .sdg-menu a { display: block; padding: .55rem 0; font: 400 clamp(1.8rem, 7vw, 2.4rem)/1.15 var(--f-display); letter-spacing: -.02em; opacity: 0; transform: translateX(30px); transition: opacity .6s var(--ease), transform .7s var(--ease), color .3s; }
body.sdg .sdg-sheet .sdg-menu a:hover { color: var(--sun); }
body.sdg .sdg-sheet .sub-menu { list-style: none; padding-left: 1rem; }
body.sdg .sdg-sheet .sub-menu a { font-size: 1.2rem; color: var(--txt-dim); }
body.sdg .sdg-sheet.is-open .sdg-menu a { opacity: 1; transform: none; }
body.sdg .sdg-sheet.is-open .sdg-menu li:nth-child(1) a { transition-delay: .08s } body.sdg .sdg-sheet.is-open .sdg-menu li:nth-child(2) a { transition-delay: .12s }
body.sdg .sdg-sheet.is-open .sdg-menu li:nth-child(3) a { transition-delay: .16s } body.sdg .sdg-sheet.is-open .sdg-menu li:nth-child(4) a { transition-delay: .2s }
body.sdg .sdg-sheet.is-open .sdg-menu li:nth-child(5) a { transition-delay: .24s } body.sdg .sdg-sheet.is-open .sdg-menu li:nth-child(6) a { transition-delay: .28s }
body.sdg .sdg-sheet.is-open .sdg-menu li:nth-child(n+7) a { transition-delay: .32s }
body.sdg .sdg-sheet__foot { margin-top: auto; padding-top: 2rem; display: grid; gap: .8rem; color: var(--txt-dim); font-size: .95rem; }
body.sdg.is-locked { overflow: hidden; }

/* ---------- Sun & seal ---------- */
body.sdg .sdg-sun { width: 1em; height: 1em; }
body.sdg .sdg-seal { --size: clamp(120px, 13vw, 190px); position: relative; width: var(--size); height: var(--size); color: var(--marble); }
body.sdg .sdg-seal svg { width: 100%; height: 100%; animation: sdgSpin 26s linear infinite; }
body.sdg .sdg-seal text { font: 600 13.5px var(--f-body); letter-spacing: .12em; fill: currentColor; text-transform: uppercase; }
body.sdg .sdg-seal__num { position: absolute; inset: 0; display: grid; place-items: center; font: 400 calc(var(--size) * .42)/1 var(--f-display); font-style: italic; letter-spacing: -.04em; color: var(--sun); text-shadow: 0 0 40px rgba(244,182,61,.45); }
body.sdg .sdg-seal--ink { color: var(--ink); }

/* ==========================================================================
   HERO
   ========================================================================== */
body.sdg .sdg-hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; overflow: hidden; isolation: isolate; background: var(--night); }
body.sdg .sdg-hero__media { position: absolute; inset: -6% 0 0; z-index: -3; transform: translate3d(0, calc(var(--hp, 0) * 18vh), 0) scale(calc(1.12 - var(--hp, 0) * .06)); }
body.sdg .sdg-hero__img, body.sdg .sdg-hero__video { width: 100%; height: 100%; object-fit: cover; animation: sdgKen 22s var(--ease) both; }
@keyframes sdgKen { from { transform: scale(1.18); filter: saturate(.6) brightness(.7); } to { transform: scale(1); filter: saturate(1) brightness(1); } }
body.sdg .sdg-hero__grade { position: absolute; inset: 0; z-index: -2; background:
	linear-gradient(180deg, rgba(6,16,29,.55) 0%, rgba(6,16,29,.15) 35%, rgba(6,16,29,.65) 75%, var(--ink) 100%),
	linear-gradient(90deg, rgba(6,16,29,.85) 0%, rgba(6,16,29,.2) 60%, transparent 100%),
	radial-gradient(80% 60% at 80% 20%, rgba(255,138,61,.28), transparent 60%); }
body.sdg .sdg-hero__sun { position: absolute; z-index: -1; width: min(70vw, 900px); aspect-ratio: 1; right: -12vw; top: 8vh; border-radius: 50%; background: radial-gradient(circle, rgba(255,196,90,.55) 0%, rgba(255,138,61,.22) 30%, transparent 62%); mix-blend-mode: screen; transform: translate3d(0, calc(var(--hp, 0) * -20vh), 0); animation: sdgRise 3.2s var(--ease) both .2s; }
@keyframes sdgRise { from { transform: translateY(40vh) scale(.6); opacity: 0; } }
body.sdg .sdg-hero__grain { position: absolute; inset: 0; z-index: -1; opacity: .09; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.sdg .sdg-hero__content { align-self: end; padding-top: calc(var(--header-h) + 8vh); padding-bottom: 6vh; opacity: calc(1 - var(--hp, 0) * 1.4); transform: translateY(calc(var(--hp, 0) * -6vh)); }
body.sdg .sdg-hero__eyebrow { animation: sdgFadeUp 1.2s var(--ease) both .3s; }
body.sdg .sdg-hero__title { font: 300 clamp(3rem, 8.2vw, 8.6rem)/.92 var(--f-display); font-optical-sizing: auto; letter-spacing: -.045em; margin: 0 0 1.8rem; max-width: 11.5em; }
body.sdg .sdg-hero__line2 { display: block; font-style: italic; color: var(--sun); --base: 260ms; }
body.sdg .sdg-hero__line2 .w > span { background: linear-gradient(100deg, var(--sun) 20%, var(--sun-hot) 80%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
body.sdg .sdg-hero__sub { max-width: 52ch; font-size: clamp(1.02rem, 1.4vw, 1.25rem); color: var(--txt-dim); margin: 0 0 2.2rem; animation: sdgFadeUp 1.2s var(--ease) both .9s; }
body.sdg .sdg-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; animation: sdgFadeUp 1.2s var(--ease) both 1.05s; }
@keyframes sdgFadeUp { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } }
body.sdg .sdg-hero__seal { position: absolute; right: calc(var(--gutter) + 20px); bottom: calc(10vh + 90px); animation: sdgFadeUp 1.4s var(--ease) both 1.2s; }
body.sdg .sdg-hero__foot { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1.6rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--txt-dim); }
body.sdg .sdg-scrollcue { display: inline-flex; align-items: center; gap: .8rem; }
body.sdg .sdg-scrollcue i { width: 1px; height: 46px; background: linear-gradient(var(--sun), transparent); position: relative; overflow: hidden; }
body.sdg .sdg-scrollcue i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--marble); animation: sdgCue 2.2s var(--ease) infinite; }
@keyframes sdgCue { to { top: 110%; } }

/* ---------- Marquee ---------- */
body.sdg .sdg-marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1.4rem 0; background: var(--ink); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
body.sdg .sdg-marquee__track { display: flex; align-items: center; gap: 2.4rem; width: max-content; animation: sdgMarq 40s linear infinite; }
body.sdg .sdg-marquee span { font: 300 clamp(1.8rem, 4vw, 3.4rem)/1 var(--f-display); font-style: italic; letter-spacing: -.02em; white-space: nowrap; }
body.sdg .sdg-marquee .sdg-sun { width: 26px; height: 26px; color: var(--sun); flex: none; }
body.sdg .sdg-marquee:hover .sdg-marquee__track { animation-play-state: paused; }
@keyframes sdgMarq { to { transform: translateX(-50%); } }

/* ---------- Manifesto (scrubbed) ---------- */
body.sdg .sdg-manifesto { background: var(--marble); color: var(--ink); padding: clamp(5rem, 14vw, 11rem) 0; }
body.sdg .sdg-manifesto__grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
body.sdg .sdg-manifesto__aside { position: sticky; top: calc(var(--header-h) + 3rem); }
body.sdg .sdg-manifesto__text, body.sdg .sdg-story__lead { margin: 0; font: 400 clamp(1.7rem, 3.6vw, 3.4rem)/1.18 var(--f-display); letter-spacing: -.025em; text-wrap: pretty; }
html.js [data-scrub] .sw { opacity: .14; transition: opacity .25s linear, color .25s; }
html.js [data-scrub] .sw.on { opacity: 1; }

/* ==========================================================================
   EVENTS REEL — pinned horizontal scroll
   ========================================================================== */
body.sdg .sdg-reel { position: relative; background: var(--ink); height: var(--reel-h, auto); }
body.sdg .sdg-reel__sticky { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: calc(var(--header-h) + 2rem) 0 3rem; }
body.sdg .sdg-reel__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(1.6rem, 4vh, 3rem); }
body.sdg .sdg-reel__head .sdg-display { max-width: 14ch; }
body.sdg .sdg-reel__meta { max-width: 340px; color: var(--txt-dim); }
body.sdg .sdg-reel__meta p { margin: 0 0 1.2rem; }
body.sdg .sdg-reel__bar { height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
body.sdg .sdg-reel__bar span { display: block; height: 100%; background: var(--sun); transform-origin: 0 50%; transform: scaleX(var(--rp, 0)); }
body.sdg .sdg-reel__viewport { overflow: visible; }
body.sdg .sdg-reel__track { display: flex; gap: clamp(1rem, 2vw, 1.6rem); padding-inline: var(--gutter); width: max-content; will-change: transform; transform: translate3d(var(--rx, 0px), 0, 0); }
body.sdg .sdg-card--reel { width: clamp(220px, min(23vw, 100svh - 560px), 350px); }

/* ---------- Event card (square poster + caption) ---------- */
body.sdg .sdg-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--deep); isolation: isolate; border: 1px solid rgba(255,255,255,.07); transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx2, 0deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .5s; box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
body.sdg .sdg-card:hover { border-color: rgba(244,182,61,.35); box-shadow: 0 40px 70px -30px rgba(0,0,0,.8), 0 0 50px -20px rgba(244,182,61,.35); }
body.sdg .sdg-card__link { display: flex; flex-direction: column; flex: 1; }
body.sdg .sdg-card__media { position: relative; margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: #fff; flex: none; }
body.sdg .sdg-card__media img, body.sdg .sdg-card__media .sdg-thumb-fallback { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; transform: scale(1.001); transition: transform 1.4s var(--ease), filter 1s var(--ease); }
body.sdg .sdg-thumb-fallback { display: grid; place-items: center; background: radial-gradient(circle at 70% 30%, var(--sea), var(--night)); color: var(--sun); }
body.sdg .sdg-thumb-fallback .sdg-sun { width: 30%; height: auto; opacity: .7; }
body.sdg .sdg-card:hover .sdg-card__media img { transform: scale(1.06); }
body.sdg .sdg-card__shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(260px 260px at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 70%), linear-gradient(180deg, transparent 70%, rgba(6,16,29,.35)); opacity: 0; transition: opacity .5s; }
body.sdg .sdg-card:hover .sdg-card__shade { opacity: 1; }
body.sdg .sdg-card__date { position: absolute; top: 12px; left: 12px; display: flex; align-items: center; gap: .45rem; padding: .45rem .7rem; border-radius: 14px; background: rgba(6,16,29,.72); color: var(--marble); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border: 1px solid rgba(255,255,255,.16); }
body.sdg .sdg-card__date b { font: 400 1.6rem/1 var(--f-display); letter-spacing: -.03em; }
body.sdg .sdg-card__date span { font: 700 .6rem/1.15 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: rgba(245,239,228,.8); }
body.sdg .sdg-card__flag { position: absolute; top: 14px; right: 14px; }
body.sdg .sdg-card__body { flex: 1; display: flex; flex-direction: column; padding: 1.2rem 1.3rem 1.3rem; background: linear-gradient(180deg, var(--deep), var(--night)); }
body.sdg .sdg-card__city { display: flex; align-items: center; gap: .4rem; margin: 0 0 .55rem; font: 700 .68rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sun); }
body.sdg .sdg-card__title { margin: 0 0 .5rem; font: 400 clamp(1.1rem, 1.35vw, 1.3rem)/1.22 var(--f-display); letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.sdg .sdg-card__region { margin: 0; font-size: .82rem; color: var(--txt-dim); }
body.sdg .sdg-card__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .9rem; font-weight: 700; font-size: .82rem; color: var(--sun); }
body.sdg .sdg-card__more .sdg-ico { transition: transform .5s var(--ease); }
body.sdg .sdg-card:hover .sdg-card__more .sdg-ico { transform: translateX(5px); }
body.sdg .sdg-reel__track { align-items: stretch; }
body.sdg .sdg-grid__cell > .sdg-card { height: 100%; }
body.sdg .sdg-card--all { width: clamp(240px, 21vw, 320px); min-height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .6rem; padding: 2rem; border-radius: var(--radius); background: linear-gradient(150deg, var(--sun), var(--sun-hot)); color: var(--ink); }
body.sdg .sdg-card--all .sdg-sun { width: 64px; height: 64px; margin-bottom: auto; animation: sdgSpin 20s linear infinite; }
body.sdg .sdg-card--all__n { font: 300 clamp(4rem, 7vw, 6rem)/1 var(--f-display); letter-spacing: -.05em; }
body.sdg .sdg-card--all__t { display: inline-flex; gap: .5rem; align-items: center; font-weight: 700; }

/* ---------- Stats ---------- */
body.sdg .sdg-stats { background: var(--ink); padding: clamp(4rem, 10vw, 8rem) 0; border-top: 1px solid var(--line); }
body.sdg .sdg-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
body.sdg .sdg-stat { border-top: 1px solid var(--line); padding-top: 1.4rem; }
body.sdg .sdg-stat b { display: block; font: 300 clamp(3.4rem, 7vw, 6.4rem)/1 var(--f-display); letter-spacing: -.05em; color: var(--sun); font-variant-numeric: tabular-nums; }
body.sdg .sdg-stat span { display: block; margin-top: .7rem; color: var(--txt-dim); max-width: 22ch; }

/* ---------- Section heads ---------- */
body.sdg .sdg-split-head { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; margin-bottom: clamp(2.5rem, 6vw, 5rem); }
body.sdg .sdg-split-head .sdg-eyebrow { padding-top: 1rem; }

/* ---------- Services ---------- */
body.sdg .sdg-services { background: var(--marble); color: var(--ink); padding: clamp(5rem, 12vw, 10rem) 0; }
body.sdg .sdg-services .sdg-eyebrow { color: #b37a12; }
body.sdg .sdg-services__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(6,16,29,.14); }
body.sdg .sdg-service { position: relative; padding: 2.2rem 2rem 2.6rem 0; border-bottom: 1px solid rgba(6,16,29,.14); overflow: hidden; }
body.sdg .sdg-service:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid rgba(6,16,29,.14); }
body.sdg .sdg-service::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .7s var(--ease); z-index: 0; }
body.sdg .sdg-service > * { position: relative; z-index: 1; transition: color .5s var(--ease); }
body.sdg .sdg-service:hover::before { transform: none; }
body.sdg .sdg-service:hover > * { color: var(--marble); }
body.sdg .sdg-service:hover .sdg-service__ico { color: var(--sun); }
body.sdg .sdg-service__n { font: 600 .75rem/1 var(--f-body); letter-spacing: .2em; color: var(--stone); }
body.sdg .sdg-service__ico { display: block; margin: 1.6rem 0 1rem; color: #b37a12; }
body.sdg .sdg-service__ico .sdg-ico { width: 36px; height: 36px; stroke-width: 1.2; }
body.sdg .sdg-service h3 { margin: 0 0 .6rem; font: 400 1.6rem/1.15 var(--f-display); letter-spacing: -.02em; }
body.sdg .sdg-service p { margin: 0; color: #4b4a47; }
body.sdg .sdg-service:hover p { color: var(--txt-dim); }

/* ==========================================================================
   NORDIC
   ========================================================================== */
body.sdg .sdg-nordic { position: relative; overflow: hidden; isolation: isolate; padding: clamp(5rem, 13vw, 11rem) 0; background: linear-gradient(180deg, #050b17 0%, #071a2b 60%, var(--ink) 100%); }
body.sdg .sdg-nordic__aurora { position: absolute; inset: -20% -10% auto; height: 80%; z-index: -1; filter: blur(60px); opacity: .7; }
body.sdg .sdg-nordic__aurora i { position: absolute; border-radius: 50%; mix-blend-mode: screen; animation: sdgAurora 18s ease-in-out infinite alternate; }
body.sdg .sdg-nordic__aurora i:nth-child(1) { width: 60%; height: 50%; left: 5%; top: 20%; background: radial-gradient(closest-side, rgba(92,225,184,.55), transparent); }
body.sdg .sdg-nordic__aurora i:nth-child(2) { width: 55%; height: 45%; left: 40%; top: 10%; background: radial-gradient(closest-side, rgba(138,124,255,.45), transparent); animation-duration: 24s; }
body.sdg .sdg-nordic__aurora i:nth-child(3) { width: 40%; height: 40%; right: 0; top: 40%; background: radial-gradient(closest-side, rgba(244,182,61,.28), transparent); animation-duration: 30s; }
@keyframes sdgAurora { to { transform: translate3d(8%, 10%, 0) scale(1.15) rotate(8deg); } }
body.sdg .sdg-nordic__stars { position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: radial-gradient(1px 1px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 72% 12%, #fff, transparent), radial-gradient(1.4px 1.4px at 42% 32%, #fff, transparent), radial-gradient(1px 1px at 88% 44%, #fff, transparent), radial-gradient(1px 1px at 22% 62%, #fff, transparent), radial-gradient(1.2px 1.2px at 58% 8%, #fff, transparent), radial-gradient(1px 1px at 92% 18%, #fff, transparent); }
body.sdg .sdg-nordic__head { max-width: 980px; margin-bottom: clamp(3rem, 7vw, 5rem); }
body.sdg .sdg-nordic__head .sdg-display { margin-bottom: 1.6rem; }
body.sdg .sdg-nordic__head .sdg-display .w:last-child > span { font-style: italic; background: linear-gradient(100deg, var(--aurora), var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.sdg .sdg-nordic__feature { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; min-height: 520px; border-radius: calc(var(--radius) + 8px); overflow: hidden; border: 1px solid rgba(159,230,214,.18); background: #0b1f33; box-shadow: 0 60px 120px -40px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset; }
body.sdg .sdg-nordic__img { position: relative; overflow: hidden; isolation: isolate; display: grid; place-items: center; padding: 2.5rem; background: linear-gradient(135deg, #12324f, #0b1f33 45%, #1d2a5a); }
body.sdg .sdg-nordic__img[style]::before { content: ""; position: absolute; inset: -10%; z-index: -1; background: var(--img) center/cover; filter: blur(40px) brightness(.45) saturate(1.3); }
body.sdg .sdg-nordic__poster { position: relative; z-index: 1; max-width: min(100%, 380px); max-height: 420px; width: auto; height: auto; border-radius: 14px; box-shadow: 0 40px 80px -25px rgba(0,0,0,.8); transform: rotate(-2deg); transition: transform .8s var(--ease); }
body.sdg .sdg-nordic__feature:hover .sdg-nordic__poster { transform: rotate(0) scale(1.02); }
body.sdg .sdg-nordic__img:not([style])::before { content: "Stockholm"; position: absolute; left: 8%; bottom: 10%; font: 300 italic clamp(3rem, 8vw, 7.5rem)/1 var(--f-display); letter-spacing: -.05em; color: rgba(159,230,214,.18); }
body.sdg .sdg-nordic__img::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, transparent 75%, #0b1f33); }
body.sdg .sdg-nordic__card { position: relative; padding: clamp(2rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; }
body.sdg .sdg-nordic__kicker { font: 700 .72rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--ice); margin: 0 0 1.2rem; }
body.sdg .sdg-nordic__kicker span { color: var(--sun); }
body.sdg .sdg-nordic__title { margin: 0 0 2rem; font: 400 clamp(1.8rem, 3vw, 2.8rem)/1.08 var(--f-display); letter-spacing: -.025em; }
body.sdg .sdg-nordic__facts { margin: 0 0 2rem; display: grid; gap: .9rem; }
body.sdg .sdg-nordic__facts div { display: flex; align-items: center; gap: .9rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(159,230,214,.14); }
body.sdg .sdg-nordic__facts dt { color: var(--ice); display: flex; }
body.sdg .sdg-nordic__facts dd { margin: 0; }
body.sdg .sdg-nordic__feature .sdg-link { color: var(--ice); }
body.sdg .sdg-nordic__coords { position: absolute; top: 1.4rem; left: 1.6rem; font: 600 .68rem/1 var(--f-body); letter-spacing: .2em; color: rgba(159,230,214,.7); }
body.sdg .sdg-nordic__feature:hover .sdg-nordic__img { transform: none; }
body.sdg .sdg-nordic__pillars { list-style: none; padding: 0; margin: clamp(3rem, 6vw, 5rem) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
body.sdg .sdg-nordic__pillars li { padding: 1.8rem; border-radius: var(--radius); background: rgba(159,230,214,.05); border: 1px solid rgba(159,230,214,.12); backdrop-filter: blur(10px); }
body.sdg .sdg-nordic__pillars span { font: 600 .75rem/1 var(--f-body); letter-spacing: .2em; color: var(--ice); }
body.sdg .sdg-nordic__pillars h3 { font: 400 1.5rem/1.15 var(--f-display); margin: 1.2rem 0 .5rem; }
body.sdg .sdg-nordic__pillars p { margin: 0; color: var(--txt-dim); }

/* ---------- Clients ---------- */
body.sdg .sdg-clients { padding: clamp(3.5rem, 8vw, 6rem) 0; background: var(--ink); border-top: 1px solid var(--line); }
body.sdg .sdg-clients .sdg-eyebrow { margin-bottom: 2rem; }
body.sdg .sdg-clients__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
body.sdg .sdg-clients__list li { background: var(--ink); padding: 2.2rem 1.6rem; font: 400 clamp(1.2rem, 2vw, 1.6rem)/1.2 var(--f-display); letter-spacing: -.01em; text-align: center; }

/* ---------- Duo (travel + seminars) ---------- */
body.sdg .sdg-duo { padding: clamp(4rem, 9vw, 7rem) 0; background: var(--ink); }
body.sdg .sdg-duo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
body.sdg .sdg-duo__item { display: grid; grid-template-columns: 140px 1fr; gap: 1.4rem; align-items: center; padding: 1.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: background .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease); }
body.sdg .sdg-duo__item:hover { background: rgba(244,182,61,.06); border-color: rgba(244,182,61,.4); }
body.sdg .sdg-duo__item:active { transform: scale(.985); }
body.sdg .sdg-duo__img { aspect-ratio: 1; border-radius: 16px; background: var(--img) center/cover, var(--deep); transition: transform .9s var(--ease); }
body.sdg .sdg-duo__item:hover .sdg-duo__img { transform: scale(1.04) rotate(-1deg); }
body.sdg .sdg-duo__body { display: grid; gap: .45rem; }
body.sdg .sdg-duo__body .sdg-eyebrow { margin: 0; }
body.sdg .sdg-duo__body strong { font: 400 1.4rem/1.15 var(--f-display); letter-spacing: -.015em; }
body.sdg .sdg-duo__body > span:not(.sdg-eyebrow):not(.sdg-link) { color: var(--txt-dim); font-size: .95rem; }

/* ---------- CTA ---------- */
body.sdg .sdg-cta { position: relative; overflow: hidden; isolation: isolate; padding: clamp(6rem, 15vw, 12rem) 0; background: radial-gradient(70% 90% at 50% 120%, rgba(255,138,61,.45), transparent 60%), var(--night); text-align: center; }
body.sdg .sdg-cta__sun { position: absolute; left: 50%; bottom: -38vw; width: 76vw; max-width: 1100px; z-index: -1; color: var(--sun); opacity: .16; translate: -50% 0; }
body.sdg .sdg-cta__sun .sdg-sun { width: 100%; height: auto; }
body.sdg .sdg-cta__sun .sdg-sun__rays { transform-origin: 50% 50%; animation: sdgSpin 80s linear infinite; }
body.sdg .sdg-cta__inner { display: flex; flex-direction: column; align-items: center; }
body.sdg .sdg-cta .sdg-display { max-width: 16ch; margin-bottom: 1.6rem; }
body.sdg .sdg-cta .sdg-lede { margin: 0 auto 2.4rem; }
body.sdg .sdg-cta__actions { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
body.sdg .sdg-footer { position: relative; overflow: hidden; background: #040b15; padding-top: clamp(4rem, 9vw, 7rem); border-top: 1px solid var(--line); }
body.sdg .sdg-footer__glow { position: absolute; top: -200px; left: 50%; width: 900px; height: 400px; translate: -50% 0; background: radial-gradient(closest-side, rgba(244,182,61,.12), transparent); pointer-events: none; }
body.sdg .sdg-footer__top { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
body.sdg .sdg-footer__claim { margin: 0; font: 300 clamp(2.4rem, 5vw, 4.4rem)/1 var(--f-display); letter-spacing: -.035em; }
body.sdg .sdg-footer__claim em { color: var(--sun); }
body.sdg .sdg-footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 3rem 0; }
body.sdg .sdg-footer__h { font: 700 .7rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--sun); margin: 0 0 1.2rem; }
body.sdg .sdg-footer p, body.sdg .sdg-footer address { margin: 0 0 .5rem; color: var(--txt-dim); font-style: normal; }
body.sdg .sdg-footer a:hover { color: var(--marble); }
body.sdg .sdg-footer__menu, body.sdg .sdg-footer .sdg-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; color: var(--txt-dim); }
body.sdg .sdg-footer__base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--line); font-size: .85rem; color: var(--txt-dim); }
body.sdg .sdg-footer__mark { display: inline-flex; align-items: center; gap: .5rem; color: var(--marble); font-family: var(--f-display); font-size: 1.1rem; }
body.sdg .sdg-footer__mark .sdg-sun { color: var(--sun); }
body.sdg .sdg-footer__mark img { height: var(--logo-foot); width: auto; max-width: min(80vw, 600px); object-fit: contain; }
body.sdg .sdg-footer__mark > span { display: inline-flex; align-items: center; gap: .5rem; }
body.sdg .sdg-footer__mark > span[hidden] { display: none; }
body.sdg .sdg-footer__social { display: flex; gap: 1.2rem; }
body.sdg .sdg-footer__giant { font: 300 italic clamp(4rem, 17vw, 17rem)/.8 var(--f-display); letter-spacing: -.06em; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(245,239,228,.1); margin-bottom: -.12em; user-select: none; }

body.sdg .sdg-wa { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 16px 40px -10px rgba(37,211,102,.6); transition: transform .5s var(--ease-bounce); }
body.sdg .sdg-wa .sdg-ico { width: 26px; height: 26px; }
body.sdg .sdg-wa:hover { transform: scale(1.08); }
body.sdg .sdg-wa:active { transform: scale(.94); }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
body.sdg .sdg-phero { position: relative; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--header-h) + 4rem) 0 clamp(3rem, 8vh, 6rem); background: var(--night); }
body.sdg .sdg-phero--plain { min-height: 52svh; background: radial-gradient(60% 80% at 85% 0%, rgba(255,138,61,.22), transparent 60%), var(--night); }
body.sdg .sdg-phero__bg { position: absolute; inset: -10% 0; z-index: -2; background: var(--img, none) center/cover; animation: sdgKenScale 18s var(--ease) both; }
@keyframes sdgKenScale { from { scale: 1.18; filter: saturate(.6) brightness(.7); } to { scale: 1; filter: none; } }
body.sdg .sdg-phero--events .sdg-phero__bg { animation: none; filter: blur(34px) brightness(.5) saturate(1.3); scale: 1.12; }
body.sdg .sdg-phero__grade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,16,29,.5), rgba(6,16,29,.3) 40%, var(--ink) 100%), linear-gradient(90deg, rgba(6,16,29,.8), transparent 70%); }
body.sdg .sdg-phero__title { font: 300 clamp(2.8rem, 8.5vw, 8.2rem)/.94 var(--f-display); letter-spacing: -.045em; margin: 0 0 1.6rem; max-width: 14ch; }
body.sdg .sdg-phero__title--md { font-size: clamp(2.4rem, 6vw, 5rem); max-width: 20ch; }
body.sdg .sdg-phero__title em { display: inline; --base: 200ms; }
body.sdg .sdg-phero__title em .w > span { color: var(--sun); }
body.sdg .sdg-phero__lede { max-width: 56ch; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--txt-dim); margin: 0; animation: sdgFadeUp 1.2s var(--ease) both .7s; }
body.sdg .sdg-phero__seal { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 3rem); }

body.sdg .sdg-crumbs ol { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8rem; color: var(--txt-dim); }
body.sdg .sdg-crumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
body.sdg .sdg-crumbs a:hover { color: var(--sun); }
body.sdg .sdg-crumbs li:last-child span { display: inline-block; max-width: 42ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }
@media (max-width: 600px) { body.sdg .sdg-crumbs li:last-child { display: none; } }

/* Latest event */
body.sdg .sdg-latest { padding: clamp(3rem, 7vw, 5rem) 0 0; background: var(--ink); }
body.sdg .sdg-latest__card { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--deep); border: 1px solid var(--line); min-height: 480px; }
body.sdg .sdg-latest__img { position: relative; overflow: hidden; isolation: isolate; display: grid; place-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--night); }
body.sdg .sdg-latest__img::before { content: ""; position: absolute; inset: -10%; z-index: -1; background: var(--img, none) center/cover; filter: blur(40px) brightness(.5) saturate(1.3); }
body.sdg .sdg-latest__img img { width: auto; max-width: 100%; max-height: 420px; aspect-ratio: auto; object-fit: contain; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transition: transform 1.4s var(--ease); }
body.sdg .sdg-latest__img .sdg-thumb-fallback { position: absolute; inset: 0; }
body.sdg .sdg-latest__card:hover .sdg-latest__img img { transform: scale(1.05); }
body.sdg .sdg-latest__body { padding: clamp(1.8rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.1rem; }
body.sdg .sdg-latest__title { font: 400 clamp(1.7rem, 2.8vw, 2.6rem)/1.08 var(--f-display); letter-spacing: -.025em; }
body.sdg .sdg-latest__meta { display: flex; flex-wrap: wrap; gap: 1.2rem; color: var(--sun); font-size: .9rem; font-weight: 600; }
body.sdg .sdg-latest__meta span { display: inline-flex; gap: .45rem; align-items: center; }
body.sdg .sdg-latest__excerpt { color: var(--txt-dim); }

/* Archive grid + filters */
body.sdg .sdg-archive { background: var(--ink); padding: clamp(4rem, 9vw, 7rem) 0; }
body.sdg .sdg-archive__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
body.sdg .sdg-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
body.sdg .sdg-filters button { padding: .6rem 1rem; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--txt-dim); transition: background .35s var(--ease), color .35s, border-color .35s, transform .2s; }
body.sdg .sdg-filters button:hover { color: var(--marble); border-color: rgba(245,239,228,.35); }
body.sdg .sdg-filters button:active { transform: scale(.95); }
body.sdg .sdg-filters button.is-active { background: var(--sun); border-color: var(--sun); color: var(--ink); }
body.sdg .sdg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
body.sdg .sdg-grid__cell { transition: opacity .5s var(--ease), transform .6s var(--ease); }
body.sdg .sdg-grid__cell.is-out { display: none !important; }

body.sdg .sdg-pager { margin-top: 3rem; display: flex; gap: .4rem; justify-content: center; }
body.sdg .sdg-pager .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); }
body.sdg .sdg-pager .current { background: var(--sun); color: var(--ink); border-color: var(--sun); }

/* Process */
body.sdg .sdg-process { background: var(--marble); color: var(--ink); padding: clamp(5rem, 11vw, 9rem) 0; }
body.sdg .sdg-process .sdg-eyebrow { color: #b37a12; }
body.sdg .sdg-process__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: s; }
body.sdg .sdg-process__steps li { padding: 2rem 1.6rem; border-radius: var(--radius); background: #fff; box-shadow: 0 30px 60px -40px rgba(6,16,29,.35); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
body.sdg .sdg-process__steps li:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(6,16,29,.5); }
body.sdg .sdg-process__n { font: 300 italic 3.4rem/1 var(--f-display); color: #b37a12; }
body.sdg .sdg-process__steps h3 { font: 400 1.6rem/1.1 var(--f-display); margin: 1.4rem 0 .6rem; letter-spacing: -.02em; }
body.sdg .sdg-process__steps p { margin: 0; color: #4b4a47; }

/* About */
body.sdg .sdg-story { background: var(--marble); color: var(--ink); padding: clamp(5rem, 12vw, 10rem) 0; }
body.sdg .sdg-story__grid { margin-bottom: clamp(4rem, 9vw, 7rem); }
body.sdg .sdg-story__lead { max-width: 26ch; }
body.sdg .sdg-timeline { position: relative; list-style: none; margin: 0; padding: 0 0 0 clamp(2rem, 8vw, 9rem); display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
body.sdg .sdg-timeline__line { position: absolute; left: clamp(.5rem, 3vw, 3rem); top: .6rem; bottom: 0; width: 1px; background: rgba(6,16,29,.15); }
body.sdg .sdg-timeline__line i { position: absolute; inset: 0 0 auto; height: 100%; background: linear-gradient(var(--sun), var(--sun-hot)); transform-origin: 0 0; transform: scaleY(var(--tp, 0)); }
body.sdg .sdg-timeline li { position: relative; display: grid; grid-template-columns: minmax(150px, 1fr) 2fr; gap: 2rem; }
body.sdg .sdg-timeline li::before { content: ""; position: absolute; left: calc(clamp(.5rem, 3vw, 3rem) - clamp(2rem, 8vw, 9rem) - 6px); top: .9rem; width: 13px; height: 13px; border-radius: 50%; background: var(--marble); border: 2px solid var(--sun); }
body.sdg .sdg-timeline__year { grid-row: span 2; font: 300 clamp(2.6rem, 5vw, 4.6rem)/1 var(--f-display); letter-spacing: -.04em; color: #b37a12; }
body.sdg .sdg-timeline__year em { font-size: .55em; }
body.sdg .sdg-timeline h3 { margin: 0; font: 400 clamp(1.4rem, 2.2vw, 2rem)/1.1 var(--f-display); letter-spacing: -.02em; }
body.sdg .sdg-timeline p { margin: .2rem 0 0; color: #4b4a47; max-width: 56ch; }

body.sdg .sdg-quote { padding: clamp(5rem, 12vw, 10rem) 0; background: radial-gradient(60% 80% at 20% 0%, rgba(244,182,61,.16), transparent 60%), var(--night); }
body.sdg .sdg-quote blockquote { margin: 0 auto; max-width: 1100px; text-align: center; }
body.sdg .sdg-quote p { margin: 0 0 2rem; font: 300 italic clamp(1.8rem, 4vw, 3.6rem)/1.15 var(--f-display); letter-spacing: -.025em; }
body.sdg .sdg-quote p::before { content: "“"; display: block; font-size: 2.4em; line-height: .6; color: var(--sun); }
body.sdg .sdg-quote footer { font: 700 .75rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--sun); }

body.sdg .sdg-values { background: var(--ink); padding: clamp(5rem, 11vw, 9rem) 0; }
body.sdg .sdg-values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
body.sdg .sdg-values article { padding: 2.2rem; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,.04), transparent); }
body.sdg .sdg-values span { font: 300 italic 3.4rem/1 var(--f-display); color: var(--sun); }
body.sdg .sdg-values h3 { font: 400 1.6rem/1.1 var(--f-display); margin: 1.4rem 0 .6rem; }
body.sdg .sdg-values p { margin: 0; color: var(--txt-dim); }

body.sdg .sdg-team { background: var(--ink); padding: 0 0 clamp(5rem, 11vw, 9rem); }
body.sdg .sdg-team__list { list-style: none; margin: 1rem 0 0; padding: 0; border-top: 1px solid var(--line); }
body.sdg .sdg-team__list li { display: flex; align-items: baseline; gap: 1.4rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); font: 400 clamp(1.6rem, 3.6vw, 3rem)/1.1 var(--f-display); letter-spacing: -.025em; transition: padding .6s var(--ease), color .4s; }
body.sdg .sdg-team__list li:hover { padding-left: 1rem; color: var(--sun); }
body.sdg .sdg-team__i { font: 600 .75rem/1 var(--f-body); letter-spacing: .2em; color: var(--stone); }
body.sdg .sdg-team__list small { font: 600 .72rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--sun); margin-left: auto; }

/* ==========================================================================
   SINGLE EVENT
   ========================================================================== */
body.sdg .sdg-prose { font-size: clamp(1.04rem, 1.2vw, 1.15rem); line-height: 1.8; }
body.sdg .sdg-prose > * + * { margin-top: 1.3em; }
body.sdg .sdg-prose h2, body.sdg .sdg-prose h3 { font-family: var(--f-display); font-weight: 400; letter-spacing: -.02em; line-height: 1.12; margin-top: 2em; }
body.sdg .sdg-prose h2 { font-size: clamp(1.7rem, 2.8vw, 2.4rem); }
body.sdg .sdg-prose h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
body.sdg .sdg-prose a { color: #a96d07; text-decoration: underline; text-underline-offset: 3px; }
body.sdg .sdg-prose img, body.sdg .sdg-prose figure img { border-radius: 16px; }
body.sdg .sdg-prose figure { margin-inline: 0; }
body.sdg .sdg-prose blockquote { margin-inline: 0; padding-left: 1.4rem; border-left: 3px solid var(--sun); font: 300 italic 1.5em/1.35 var(--f-display); }
body.sdg .sdg-prose .wp-block-gallery, body.sdg .sdg-prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .8rem; }
body.sdg .sdg-prose iframe { width: 100%; border-radius: 16px; }
body.sdg .sdg-page, body.sdg .sdg-seo-text { background: var(--marble); color: var(--ink); padding: clamp(4rem, 9vw, 7rem) 0; }
body.sdg .sdg-seo-text .sdg-prose, body.sdg .sdg-page .sdg-prose { max-width: 820px; }


body.sdg .sdg-ev-nav { display: grid; grid-template-columns: 1fr 1fr; }
body.sdg .sdg-ev-nav__item { position: relative; isolation: isolate; overflow: hidden; min-height: 300px; padding: 3rem var(--gutter); display: flex; flex-direction: column; justify-content: flex-end; gap: .8rem; border-top: 1px solid var(--line); }
body.sdg .sdg-ev-nav__item--next { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); }
body.sdg .sdg-ev-nav__item:only-child { grid-column: span 2; }
body.sdg .sdg-ev-nav__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6,16,29,.92), rgba(6,16,29,.55)), var(--img, none) center/cover; transform: scale(1.08); opacity: .5; transition: transform 1.2s var(--ease), opacity .7s var(--ease); }
body.sdg .sdg-ev-nav__item:hover .sdg-ev-nav__bg { transform: scale(1); opacity: 1; }
body.sdg .sdg-ev-nav__label { font: 700 .7rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--sun); }
body.sdg .sdg-ev-nav strong { font: 400 clamp(1.3rem, 2.4vw, 2rem)/1.15 var(--f-display); letter-spacing: -.02em; max-width: 26ch; }

/* 404 */
body.sdg .sdg-404 { min-height: 90svh; display: grid; place-items: center; text-align: center; position: relative; overflow: hidden; padding-top: var(--header-h); }
body.sdg .sdg-404__sun { position: absolute; width: 60vmin; color: var(--sun); opacity: .1; }
body.sdg .sdg-404__sun .sdg-sun { width: 100%; height: auto; animation: sdgSpin 60s linear infinite; }
body.sdg .sdg-404 .sdg-display { margin-bottom: 2rem; }

/* ==========================================================================
   SINGLE EVENT — "dossier" layout
   ========================================================================== */
body.sdg .sdg-evx { position: relative; isolation: isolate; overflow: hidden; background: var(--night); padding: calc(var(--header-h) + clamp(2rem, 6vh, 4rem)) 0 clamp(7rem, 14vh, 9rem); min-height: min(100svh, 980px); display: flex; align-items: center; }
body.sdg .sdg-evx__ambient { position: absolute; inset: -12%; z-index: -3; background: var(--img, none) center/cover, radial-gradient(60% 60% at 70% 40%, var(--sea), var(--night) 70%); filter: blur(70px) saturate(1.5) brightness(.42); transform: translate3d(0, calc(var(--hp, 0) * 10vh), 0) scale(1.15); }
body.sdg .sdg-evx__glow { position: absolute; z-index: -2; right: -10vw; top: -10vh; width: 70vw; max-width: 1000px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,170,80,.32), rgba(255,138,61,.08) 55%, transparent); mix-blend-mode: screen; animation: sdgRise 3s var(--ease) both; }
body.sdg .sdg-evx::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, var(--night)); }
body.sdg .sdg-evx__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
body.sdg .sdg-evx__text { min-width: 0; opacity: calc(1 - var(--hp, 0) * 1.2); }
body.sdg .sdg-evx__title { font: 300 clamp(2.3rem, 4.6vw, 4.9rem)/1.03 var(--f-display); font-optical-sizing: auto; letter-spacing: -.035em; margin: 0 0 2rem; max-width: 19ch; text-wrap: balance; }
body.sdg .sdg-evx__chips { list-style: none; margin: 0 0 2.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; animation: sdgFadeUp 1.2s var(--ease) both .7s; }
body.sdg .sdg-evx__chips li { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 600; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
body.sdg .sdg-evx__chips li .sdg-ico { color: var(--sun); }
body.sdg .sdg-evx__chips li.is-muted { background: transparent; color: var(--txt-dim); font-weight: 500; }
body.sdg .sdg-evx__chips li.is-nordic { background: linear-gradient(120deg, var(--aurora), var(--violet)); color: var(--ink); border: 0; }
body.sdg .sdg-evx__down { display: inline-flex; align-items: center; gap: 1rem; font-weight: 600; animation: sdgFadeUp 1.2s var(--ease) both .9s; }
body.sdg .sdg-evx__down i { position: relative; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); overflow: hidden; transition: background .4s var(--ease), border-color .4s; }
body.sdg .sdg-evx__down i { display: grid; place-items: center; }
body.sdg .sdg-evx__down svg { width: 20px; height: 20px; animation: sdgBob 2.2s var(--ease) infinite; }
@keyframes sdgBob { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(4px); } }
body.sdg .sdg-evx__down:hover i { background: var(--sun); border-color: var(--sun); color: var(--ink); }
body.sdg .sdg-evx__down:active i { transform: scale(.94); }

body.sdg .sdg-evx__poster-wrap { position: relative; justify-self: center; width: min(100%, 470px); perspective: 1200px; animation: sdgPosterIn 1.6s var(--ease) both .35s; }
@keyframes sdgPosterIn { from { opacity: 0; transform: translateY(70px) rotate(5deg) scale(.92); filter: blur(10px); } }
body.sdg .sdg-evx__poster { position: relative; margin: 0; border-radius: 20px; overflow: hidden; cursor: zoom-in; background: var(--deep); transform: rotate(-2.2deg) rotateX(var(--ry, 0deg)) rotateY(var(--rx2, 0deg)); transform-style: preserve-3d; box-shadow: 0 60px 120px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.14), 0 0 80px -10px rgba(244,182,61,.25); transition: box-shadow .6s var(--ease); }
body.sdg .sdg-evx__poster img { width: 100%; height: auto; max-height: 72svh; object-fit: contain; display: block; background: #fff; }
body.sdg .sdg-evx__poster:hover { box-shadow: 0 70px 140px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.22), 0 0 110px -10px rgba(244,182,61,.4); }
body.sdg .sdg-evx__shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.28) 48%, transparent 60%); transform: translateX(-120%); animation: sdgShine 1.6s var(--ease) 1.4s both; }
body.sdg .sdg-evx__poster:hover .sdg-evx__shine { animation: sdgShine 1.1s var(--ease) both; }
@keyframes sdgShine { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
body.sdg .sdg-evx__poster-fallback { aspect-ratio: 4 / 5; display: flex; flex-direction: column; padding: 2rem; color: var(--marble); background: radial-gradient(80% 60% at 70% 20%, rgba(255,138,61,.5), transparent 60%), linear-gradient(160deg, var(--sea), var(--night) 70%); }
body.sdg .sdg-evx__poster-fallback .sdg-sun { width: 72px; height: 72px; color: var(--sun); animation: sdgSpin 30s linear infinite; }
body.sdg .sdg-evx__pf-city { margin-top: auto; font: 300 italic clamp(2.6rem, 5vw, 4.2rem)/.95 var(--f-display); letter-spacing: -.04em; }
body.sdg .sdg-evx__pf-date { margin-top: .8rem; font: 700 .78rem/1 var(--f-body); letter-spacing: .24em; text-transform: uppercase; color: var(--sun); }
body.sdg .sdg-evx__pf-brand { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.2); font: 400 1rem/1 var(--f-display); color: var(--txt-dim); }
body.sdg .sdg-evx__stamp { position: absolute; left: -26px; bottom: 34px; z-index: 2; width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--sun); color: var(--ink); transform: rotate(-10deg); box-shadow: 0 20px 40px -12px rgba(0,0,0,.6), inset 0 0 0 4px var(--sun), inset 0 0 0 5px rgba(6,16,29,.35); animation: sdgStamp .9s var(--ease-bounce) both 1.3s; }
body.sdg .sdg-evx__stamp b { font: 400 2.5rem/.85 var(--f-display); letter-spacing: -.04em; }
body.sdg .sdg-evx__stamp span { font: 800 .62rem/1.2 var(--f-body); letter-spacing: .18em; text-transform: uppercase; }
@keyframes sdgStamp { from { opacity: 0; transform: rotate(-30deg) scale(1.6); } }

/* Ticket — straddles the dark hero and the light story */
body.sdg .sdg-ticket-wrap { position: relative; z-index: 3; margin-top: -4.4rem; }
body.sdg .sdg-ticket-wrap::before { content: ""; position: absolute; inset: 50% 0 -1px; z-index: -1; background: var(--marble); }
body.sdg .sdg-ticket { margin: 0; display: flex; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px rgba(6,16,29,.55), 0 2px 0 rgba(6,16,29,.04); overflow: hidden; }
body.sdg .sdg-ticket__cell { flex: 1 1 0; min-width: 0; padding: 1.5rem 1.6rem; }
body.sdg .sdg-ticket__cell--wide { flex-grow: 1.6; }
body.sdg .sdg-ticket__cell + .sdg-ticket__cell { border-left: 1px dashed rgba(6,16,29,.18); }
body.sdg .sdg-ticket dt { font: 800 .64rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #a46e0c; margin-bottom: .55rem; }
body.sdg .sdg-ticket dd { margin: 0; font: 400 clamp(1.1rem, 1.5vw, 1.35rem)/1.2 var(--f-display); letter-spacing: -.01em; }
body.sdg .sdg-ticket__stub { position: relative; flex: 0 0 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; background: var(--sun); font: 800 .66rem/1 var(--f-body); letter-spacing: .2em; }
body.sdg .sdg-ticket__stub::before, body.sdg .sdg-ticket__stub::after { content: ""; position: absolute; left: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--night); }
body.sdg .sdg-ticket__stub::before { top: -11px; } body.sdg .sdg-ticket__stub::after { bottom: -11px; background: var(--marble); }
body.sdg .sdg-ticket__stub .sdg-sun { width: 34px; height: 34px; animation: sdgSpin 24s linear infinite; }

/* Story */
body.sdg .sdg-evbody { background: var(--marble); color: var(--ink); padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 8rem); }
body.sdg .sdg-evbody__grid { display: grid; grid-template-columns: minmax(0, 720px) 340px; gap: clamp(2.5rem, 6vw, 6rem); justify-content: center; align-items: start; }
body.sdg .sdg-prose--event { min-width: 0; }
body.sdg .sdg-prose--event > p:first-child, body.sdg .sdg-prose--event > p:first-of-type { font: 400 clamp(1.3rem, 1.9vw, 1.6rem)/1.5 var(--f-display); letter-spacing: -.012em; color: var(--ink); }
body.sdg .sdg-prose--event h2 { position: relative; padding-top: 1.4rem; }
body.sdg .sdg-prose--event h2::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 2px; background: linear-gradient(90deg, var(--sun), var(--sun-hot)); }
body.sdg .sdg-prose--event blockquote { position: relative; margin: 2.4em 0; padding: 1.8rem 2rem 1.8rem 2.4rem; border: 0; border-radius: 20px; background: var(--night); color: var(--marble); font-size: 1.6em; line-height: 1.3; }
body.sdg .sdg-prose--event blockquote::before { content: "“"; position: absolute; top: -.25em; left: .4em; font-size: 3em; color: var(--sun); line-height: 1; }
body.sdg .sdg-prose--event img:not(.slider-pro img) { cursor: zoom-in; transition: transform .7s var(--ease), box-shadow .7s var(--ease); box-shadow: 0 30px 60px -35px rgba(6,16,29,.5); }
body.sdg .sdg-prose--event img:not(.slider-pro img):hover { transform: scale(1.012); box-shadow: 0 40px 70px -35px rgba(6,16,29,.6); }
body.sdg .sdg-prose--event figcaption, body.sdg .sdg-prose--event .wp-caption-text { margin-top: .7rem; font-size: .82rem; color: var(--stone); }
body.sdg .sdg-prose--event .wp-block-gallery, body.sdg .sdg-prose--event .gallery { grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr)); }
body.sdg .sdg-prose--event .wp-block-gallery img, body.sdg .sdg-prose--event .gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; }
body.sdg .sdg-prose--event ul li::marker { color: #b37a12; }

body.sdg .sdg-evside { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: 1.2rem; transition: top .7s var(--ease); }
body.sdg.header-hidden .sdg-evside { top: 1.5rem; }
body.sdg .sdg-evside__card { padding: 1.8rem; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -40px rgba(6,16,29,.4); }
body.sdg .sdg-evside__label { margin: 0 0 1rem; font: 800 .64rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #a46e0c; }
body.sdg .sdg-evside__label:not(:first-child) { margin-top: 1.8rem; }
body.sdg .sdg-evside__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
body.sdg .sdg-evside__facts li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.4; font-size: .95rem; }
body.sdg .sdg-evside__facts .sdg-ico { color: #b37a12; margin-top: .1rem; }
body.sdg .sdg-evside__map { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-size: .88rem; font-weight: 700; color: #a46e0c; }
body.sdg .sdg-evside__map .sdg-ico { transition: transform .5s var(--ease); }
body.sdg .sdg-evside__map:hover .sdg-ico { transform: translateX(4px); }
body.sdg .sdg-evside__share { display: flex; flex-wrap: wrap; gap: .5rem; }
body.sdg .sdg-evside__share a, body.sdg .sdg-evside__share button { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(6,16,29,.14); font: 700 .95rem/1 var(--f-body); color: var(--ink); transition: background .35s var(--ease), color .35s, border-color .35s, transform .2s; }
body.sdg .sdg-evside__share a:hover, body.sdg .sdg-evside__share button:hover { background: var(--ink); color: var(--sun); border-color: var(--ink); }
body.sdg .sdg-evside__share a:active, body.sdg .sdg-evside__share button:active { transform: scale(.92); }
body.sdg .sdg-evside__copied { display: block; min-height: 1.2em; margin-top: .5rem; font-size: .8rem; color: #2b8a5e; }
body.sdg .sdg-evside__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; padding-top: 1.2rem; border-top: 1px solid rgba(6,16,29,.08); }
body.sdg .sdg-evside__tags a { padding: .35rem .7rem; border-radius: 999px; background: var(--marble); font-size: .78rem; color: #4b4a47; transition: background .3s, color .3s; }
body.sdg .sdg-evside__tags a:hover { background: var(--sun); color: var(--ink); }
body.sdg .sdg-evside__cta { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 1rem; padding: 1.8rem; border-radius: 22px; background: radial-gradient(90% 90% at 100% 0%, rgba(255,138,61,.45), transparent 60%), var(--night); color: var(--marble); transition: transform .6s var(--ease); }
body.sdg .sdg-evside__cta:hover { transform: translateY(-4px); }
body.sdg .sdg-evside__cta:active { transform: scale(.98); }
body.sdg .sdg-sun.sdg-evside__sun { position: absolute; z-index: -1; right: -40px; top: -40px; width: 150px; height: 150px; color: var(--sun); opacity: .25; animation: sdgSpin 40s linear infinite; }
body.sdg .sdg-evside__cta strong { font: 400 1.4rem/1.15 var(--f-display); letter-spacing: -.015em; max-width: 14ch; }
body.sdg .sdg-evside__cta span { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--sun); }

/* More events */
body.sdg .sdg-evmore { background: var(--ink); padding: clamp(5rem, 10vw, 8rem) 0; }
body.sdg .sdg-evmore__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.6rem; }
body.sdg .sdg-grid--3 .sdg-grid__cell:nth-child(3n+2) { transform: none; }
body.sdg .sdg-grid--3 .sdg-grid__cell[data-reveal].is-in:nth-child(2) { transform: translateY(2.5rem); }

/* Lightbox — materialises (blur + scale), same path in and out */
body.sdg .sdg-lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: max(1rem, env(safe-area-inset-top)) 1rem; background: rgba(3,8,16,.9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); opacity: 0; transition: opacity .45s var(--ease); touch-action: none; }
body.sdg .sdg-lightbox.is-open { opacity: 1; }
body.sdg .sdg-lightbox img { max-width: min(92vw, 1400px); max-height: 86svh; border-radius: 14px; box-shadow: 0 50px 100px -30px rgba(0,0,0,.9); transform: scale(.94); filter: blur(8px); transition: transform .55s var(--ease), filter .5s var(--ease); user-select: none; -webkit-user-drag: none; }
body.sdg .sdg-lightbox.is-open img { transform: translateX(var(--dx, 0px)) scale(1); filter: none; }
body.sdg .sdg-lightbox.is-dragging img { transition: none; }
body.sdg .sdg-lightbox__close, body.sdg .sdg-lightbox__nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--marble); font-size: 1.8rem; line-height: 1; transition: background .3s, transform .2s; }
body.sdg .sdg-lightbox__close:hover, body.sdg .sdg-lightbox__nav:hover { background: rgba(255,255,255,.2); }
body.sdg .sdg-lightbox__close:active, body.sdg .sdg-lightbox__nav:active { transform: scale(.92); }
body.sdg .sdg-lightbox__close { top: calc(1rem + env(safe-area-inset-top, 0px)); right: 1rem; }
body.sdg .sdg-lightbox__nav--prev { left: 1rem; } body.sdg .sdg-lightbox__nav--next { right: 1rem; }
body.sdg .sdg-lightbox__count { position: absolute; bottom: calc(1.2rem + env(safe-area-inset-bottom, 0px)); left: 50%; translate: -50% 0; font: 700 .75rem/1 var(--f-body); letter-spacing: .2em; color: var(--txt-dim); }
body.sdg .sdg-lightbox.is-single .sdg-lightbox__nav, body.sdg .sdg-lightbox.is-single .sdg-lightbox__count { display: none; }

/* ==========================================================================
   ELEMENTOR
   ========================================================================== */
body.sdg .sdg-elementor { min-width: 0; }
body.sdg .sdg-elementor--page { min-height: 40vh; }
body.sdg .sdg-elementor--event { color: var(--ink); }
body.sdg .sdg-el-widget { width: 100%; }
/* Our sections are full-bleed: neutralise Elementor's widget spacing around them */
body.sdg .elementor-widget:has(> .elementor-widget-container > .sdg-el-widget), body.sdg .elementor-widget:has(> .sdg-el-widget) { margin-bottom: 0 !important; }
/* In the editor everything is visible immediately (widgets re-render after our observers run) */
body.sdg.elementor-editor-active [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
body.sdg.elementor-editor-active [data-split] .w > span { transform: none !important; }
body.sdg.elementor-editor-active [data-scrub] .sw { opacity: 1 !important; }
body.sdg.elementor-editor-active .sdg-reel { height: auto !important; }
body.sdg.elementor-editor-active .sdg-reel__sticky { position: relative; }
body.sdg.elementor-editor-active .sdg-reel__viewport { overflow-x: auto; }
body.sdg.elementor-editor-active .sdg-reel__track { transform: none !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
body.sdg @media (max-width: 1180px) {
	.sdg-nav { display: none; }
	.sdg-burger { display: inline-block; }
	.sdg-services__list { grid-template-columns: repeat(2, 1fr); }
	.sdg-service:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
	.sdg-service:nth-child(2n) { padding-left: 2rem; border-left: 1px solid rgba(6,16,29,.14); }
	.sdg-process__steps { grid-template-columns: repeat(2, 1fr); }
	.sdg-stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
	.sdg-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	:root { --header-h: max(64px, calc(var(--logo-h-m) + 20px)); --radius: 18px; }
	body.sdg .sdg-brand__logo { height: var(--logo-h-m); max-width: calc(100vw - 190px); }
	body.sdg .sdg-header.is-scrolled .sdg-brand__logo { height: calc(var(--logo-h-m) * var(--logo-scroll)); }
	body.sdg .sdg-header.is-scrolled { height: max(58px, calc(var(--logo-h-m) * var(--logo-scroll) + 16px)); }
	body.sdg .sdg-hide-sm { display: none !important; }
	body.sdg .sdg-hero__seal { --size: 110px; bottom: auto; top: calc(var(--header-h) + 1.2rem); }
	body.sdg .sdg-hero__coords { display: none; }
	body.sdg .sdg-manifesto__grid { grid-template-columns: 1fr; }
	body.sdg .sdg-manifesto__aside { position: static; }
	body.sdg .sdg-manifesto__aside .sdg-seal { --size: 110px; }
	/* Reel becomes a native swipe carousel */
	body.sdg .sdg-reel { height: auto !important; }
	body.sdg .sdg-reel__sticky { position: relative; min-height: 0; padding: clamp(4rem, 12vw, 6rem) 0; }
	body.sdg .sdg-reel__head { flex-direction: column; align-items: flex-start; }
	body.sdg .sdg-reel__bar { display: none; }
	body.sdg .sdg-reel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	body.sdg .sdg-reel__viewport::-webkit-scrollbar { display: none; }
	body.sdg .sdg-reel__track { transform: none !important; padding-bottom: 1rem; }
	body.sdg .sdg-card--reel, body.sdg .sdg-card--all { width: 78vw; max-width: 360px; scroll-snap-align: center; }
	body.sdg .sdg-split-head { grid-template-columns: 1fr; gap: .5rem; }
	body.sdg .sdg-nordic__feature { grid-template-columns: 1fr; }
	body.sdg .sdg-nordic__img { min-height: 280px; }
	body.sdg .sdg-nordic__img::after { background: linear-gradient(0deg, #0b1f33, transparent 60%); }
	body.sdg .sdg-nordic__pillars, body.sdg .sdg-values__grid { grid-template-columns: 1fr; }
	body.sdg .sdg-clients__list { grid-template-columns: 1fr; }
	body.sdg .sdg-duo__grid { grid-template-columns: 1fr; }
	body.sdg .sdg-latest__card { grid-template-columns: 1fr; }
	body.sdg .sdg-latest__img { aspect-ratio: 16/10; }
	body.sdg .sdg-grid { grid-template-columns: repeat(2, 1fr); }
	body.sdg .sdg-grid__cell:nth-child(3n+2) { transform: none; }
	body.sdg .sdg-phero__seal { --size: 96px; top: calc(var(--header-h) + 1rem); }
	body.sdg .sdg-ev-nav { grid-template-columns: 1fr; }
	body.sdg .sdg-ev-nav__item--next { border-left: 0; }
	body.sdg .sdg-timeline li { grid-template-columns: 1fr; gap: .6rem; }
	body.sdg .sdg-timeline__year { grid-row: auto; }
}
@media (max-width: 600px) {
	body.sdg .sdg-hero__seal { display: none; }
	body.sdg .sdg-brand__years { display: none; }
	body.sdg .sdg-header__end { gap: .5rem; }
	body.sdg .sdg-hero__title { font-size: clamp(2.9rem, 14vw, 4.4rem); }
	body.sdg .sdg-hero__actions .sdg-btn { flex: 1 1 100%; justify-content: center; }
	body.sdg .sdg-services__list, body.sdg .sdg-process__steps, body.sdg .sdg-stats__grid, body.sdg .sdg-footer__grid { grid-template-columns: 1fr; }
	body.sdg .sdg-service:nth-child(2n) { padding-left: 0; border-left: 0; }
	body.sdg .sdg-grid { grid-template-columns: 1fr; }
	body.sdg .sdg-grid__cell:nth-child(2n) { transform: none; }
	body.sdg .sdg-duo__item { grid-template-columns: 96px 1fr; }
	body.sdg .sdg-team__list small { display: block; margin: .4rem 0 0; }
	body.sdg .sdg-team__list li { flex-wrap: wrap; }
	body.sdg .sdg-footer__top { flex-direction: column; align-items: flex-start; }
	body.sdg .sdg-footer__top .sdg-btn { max-width: 100%; }
	body.sdg .sdg-phero { min-height: 78svh; }
	body.sdg .sdg-filters { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	body.sdg .sdg-filters button { flex: none; }
}

/* Hover only on real pointers (no sticky hover on touch) */
body.sdg @media (hover: none) {
	.sdg-card__more { opacity: 1; transform: none; }
	.sdg-service:hover::before { transform: translateY(101%); }
	.sdg-service:hover > * { color: inherit; }
}

/* ==========================================================================
   ACCESSIBILITY PREFERENCES
   ========================================================================== */
body.sdg @media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
	[data-reveal] { transform: none; filter: none; transition: opacity .3s ease; }
	[data-split] .w > span { transform: none; transition: none; }
	.sdg-hero__media, .sdg-ev-hero__media, .sdg-hero__sun, .sdg-hero__content, [data-parallax] { transform: none !important; }
	.sdg-reel { height: auto !important; }
	.sdg-reel__sticky { position: relative; }
	.sdg-reel__viewport { overflow-x: auto; scroll-snap-type: x mandatory; }
	.sdg-reel__track { transform: none !important; }
	.sdg-card { transform: none !important; }
	[data-scrub] .sw { opacity: 1; }
}
@media (prefers-reduced-transparency: reduce) {
	body.sdg .sdg-header.is-scrolled, body.sdg .sdg-sheet__panel, body.sdg .sdg-nav .sub-menu, body.sdg .sdg-ev-meta, body.sdg .sdg-card__date, body.sdg .sdg-btn--glass { background: var(--night); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
	:root { --txt-dim: rgba(245,239,228,.92); --line: rgba(245,239,228,.4); }
}

@media (max-width: 1100px) {
	body.sdg .sdg-evbody__grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; }
	body.sdg .sdg-evside { position: static; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 900px) {
	body.sdg .sdg-evx { min-height: 0; padding-bottom: 6.5rem; }
	body.sdg .sdg-evx__grid { grid-template-columns: 1fr; gap: 3rem; }
	body.sdg .sdg-evx__poster-wrap { width: min(82%, 380px); }
	body.sdg .sdg-evx__stamp { width: 84px; height: 84px; left: -18px; }
	body.sdg .sdg-evx__stamp b { font-size: 2rem; }
	body.sdg .sdg-ticket { flex-wrap: wrap; }
	body.sdg .sdg-ticket__cell { flex: 1 1 45%; }
	body.sdg .sdg-ticket__cell + .sdg-ticket__cell { border-left: 0; }
	body.sdg .sdg-ticket__cell:nth-child(even) { border-left: 1px dashed rgba(6,16,29,.18); }
	body.sdg .sdg-ticket__cell:nth-child(n+3) { border-top: 1px dashed rgba(6,16,29,.18); }
	body.sdg .sdg-ticket__stub { display: none; }
	body.sdg .sdg-lightbox__nav { top: auto; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
	body.sdg .sdg-evside { grid-template-columns: 1fr; }
	body.sdg .sdg-ticket__cell { flex-basis: 100%; }
	body.sdg .sdg-ticket__cell:nth-child(even) { border-left: 0; }
	body.sdg .sdg-ticket__cell:nth-child(n+2) { border-top: 1px dashed rgba(6,16,29,.18); }
	body.sdg .sdg-ticket__cell { padding: 1.1rem 1.3rem; }
	body.sdg .sdg-grid--3 .sdg-grid__cell[data-reveal].is-in:nth-child(2) { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	body.sdg .sdg-evx__ambient, body.sdg .sdg-evx__poster { transform: none !important; }
	body.sdg .sdg-evx__shine { display: none; }
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
body.sdg .sdg-phero--contact { min-height: 64svh; background: radial-gradient(60% 80% at 90% 10%, rgba(255,138,61,.28), transparent 60%), var(--night); }
body.sdg .sdg-contact-sun { position: absolute; right: -8vw; top: 8vh; width: min(46vw, 620px); color: var(--sun); opacity: .1; z-index: -1; }
body.sdg .sdg-contact-sun .sdg-sun { width: 100%; height: auto; }
body.sdg .sdg-contact-sun .sdg-sun__rays { transform-origin: 50% 50%; animation: sdgSpin 90s linear infinite; }
body.sdg .sdg-contact { background: var(--marble); color: var(--ink); padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 8rem); }
body.sdg .sdg-contact__grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
body.sdg .sdg-contact__info { display: grid; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
body.sdg .sdg-contact__card { position: relative; display: grid; gap: .35rem; padding: 1.5rem 1.6rem; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px -36px rgba(6,16,29,.45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
body.sdg a.sdg-contact__card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -34px rgba(6,16,29,.55); }
body.sdg a.sdg-contact__card:active { transform: scale(.985); }
body.sdg .sdg-contact__ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--marble); color: #a46e0c; margin-bottom: .5rem; }
body.sdg .sdg-contact__card--wa .sdg-contact__ico { background: #25d366; color: #fff; }
body.sdg .sdg-contact__label { margin: 0; font: 800 .64rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #a46e0c; }
body.sdg .sdg-contact__value { margin: 0; font: 400 1.25rem/1.3 var(--f-display); word-break: break-word; }
body.sdg .sdg-contact__card .sdg-link { color: #a46e0c; font-size: .88rem; margin-top: .4rem; }
body.sdg .sdg-contact__copy { position: absolute; top: 1.4rem; right: 1.4rem; padding: .45rem .8rem; border-radius: 999px; border: 1px solid rgba(6,16,29,.15); font-size: .78rem; font-weight: 700; transition: background .3s, color .3s; }
body.sdg .sdg-contact__copy:hover { background: var(--ink); color: var(--sun); }
body.sdg .sdg-contact__press { display: flex; gap: 1rem; align-items: center; padding: 1.3rem 1.5rem; border-radius: 20px; background: var(--night); color: var(--marble); }
body.sdg .sdg-contact__press .sdg-ico { width: 28px; height: 28px; color: var(--sun); }
body.sdg .sdg-contact__press span { display: grid; font-size: .9rem; color: var(--txt-dim); }
body.sdg .sdg-contact__press strong { color: var(--marble); font: 400 1.15rem/1.2 var(--f-display); }
body.sdg .sdg-contact__form { padding: clamp(1.6rem, 4vw, 3rem); border-radius: 26px; background: #fff; box-shadow: 0 40px 80px -50px rgba(6,16,29,.5); }
body.sdg .sdg-contact__h { margin: 0 0 1.6rem; font: 400 clamp(1.8rem, 3vw, 2.4rem)/1.1 var(--f-display); letter-spacing: -.02em; }

/* Form */
body.sdg .sdg-form { --f-line: rgba(6,16,29,.18); color: var(--ink); }
body.sdg .sdg-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.sdg .sdg-form__types { border: 0; padding: 0; margin: 0 0 1.6rem; }
body.sdg .sdg-form__types legend { padding: 0; margin-bottom: .8rem; font: 800 .66rem/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #a46e0c; }
body.sdg .sdg-chips { display: flex; flex-wrap: wrap; gap: .45rem; }
body.sdg .sdg-chip { position: relative; cursor: pointer; }
body.sdg .sdg-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
body.sdg .sdg-chip span { display: inline-block; padding: .6rem .95rem; border-radius: 999px; border: 1px solid var(--f-line); font-size: .86rem; font-weight: 600; transition: background .3s var(--ease), color .3s, border-color .3s, transform .2s; }
body.sdg .sdg-chip:hover span { border-color: var(--ink); }
body.sdg .sdg-chip input:checked + span { background: var(--ink); color: var(--sun); border-color: var(--ink); }
body.sdg .sdg-chip input:focus-visible + span { outline: 2px solid var(--sun); outline-offset: 2px; }
body.sdg .sdg-chip:active span { transform: scale(.96); }
body.sdg .sdg-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
body.sdg .sdg-field { position: relative; }
body.sdg .sdg-field--full { grid-column: 1 / -1; }
body.sdg .sdg-field input, body.sdg .sdg-field textarea, body.sdg .sdg-field select { width: 100%; padding: 1.55rem 1rem .6rem; border: 1px solid var(--f-line); border-radius: 14px; background: #fbf8f2; color: var(--ink); font: 500 1rem/1.4 var(--f-body); transition: border-color .3s, background .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
body.sdg .sdg-field textarea { resize: vertical; min-height: 150px; }
body.sdg .sdg-field--select::after { content: ""; position: absolute; right: 1.1rem; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-30%) rotate(45deg); pointer-events: none; }
body.sdg .sdg-field label { position: absolute; left: 1rem; top: 1.05rem; right: 1rem; font-size: 1rem; color: #6f6a62; pointer-events: none; transform-origin: 0 0; transition: transform .35s var(--ease), color .3s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.sdg .sdg-field textarea + label { white-space: normal; }
body.sdg .sdg-field input:focus, body.sdg .sdg-field textarea:focus, body.sdg .sdg-field select:focus { outline: 0; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(244,182,61,.3); }
body.sdg .sdg-field input:focus + label, body.sdg .sdg-field input:not(:placeholder-shown) + label, body.sdg .sdg-field textarea:focus + label, body.sdg .sdg-field textarea:not(:placeholder-shown) + label, body.sdg .sdg-field select + label { transform: translateY(-.62rem) scale(.74); color: #a46e0c; font-weight: 700; letter-spacing: .02em; }
body.sdg .sdg-field.is-invalid input, body.sdg .sdg-field.is-invalid textarea { border-color: #c2412d; background: #fff6f4; }
body.sdg .sdg-field.is-invalid label { color: #c2412d; }
body.sdg .sdg-check { display: flex; gap: .8rem; align-items: flex-start; margin: 1.4rem 0; font-size: .9rem; color: #4b4a47; cursor: pointer; }
body.sdg .sdg-check input { flex: none; width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--ink); }
body.sdg .sdg-check.is-invalid { color: #c2412d; }
body.sdg .sdg-check a { text-decoration: underline; text-underline-offset: 3px; }
body.sdg .sdg-form__foot { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
body.sdg .sdg-form__note { margin: 0; font-size: .85rem; color: #6f6a62; }
body.sdg .sdg-form button.is-sending { opacity: .7; pointer-events: none; }
body.sdg .sdg-form button.is-sending span::after { content: "…"; }
body.sdg .sdg-form__err { margin: 0 0 1.2rem; padding: .9rem 1.1rem; border-radius: 12px; background: #fff1ee; color: #a23421; font-weight: 600; font-size: .92rem; }
body.sdg .sdg-form__ok { display: grid; gap: .6rem; justify-items: start; padding: 2rem; border-radius: 20px; background: var(--night); color: var(--marble); animation: sdgFadeUp .9s var(--ease) both; }
body.sdg .sdg-form__ok .sdg-sun { width: 54px; height: 54px; color: var(--sun); animation: sdgSpin 20s linear infinite; }
body.sdg .sdg-form__ok strong { font: 400 1.8rem/1.1 var(--f-display); }
body.sdg .sdg-form__ok span { color: var(--txt-dim); }
/* Form on dark backgrounds (Elementor widget in a dark section) */
body.sdg .sdg-el-widget .sdg-form { padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 24px; background: #fff; }

/* ==========================================================================
   PRENSA
   ========================================================================== */
body.sdg .sdg-press { background: var(--marble); color: var(--ink); padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(5rem, 10vw, 8rem); }
body.sdg .sdg-press__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
body.sdg .sdg-press__h { margin: 0 0 1.4rem; font: 400 clamp(1.6rem, 2.6vw, 2.2rem)/1.1 var(--f-display); letter-spacing: -.02em; }
body.sdg .sdg-press__h--gap { margin-top: 3.5rem; }
body.sdg .sdg-press__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(6,16,29,.12); }
body.sdg .sdg-press__list li { border-bottom: 1px solid rgba(6,16,29,.12); }
body.sdg .sdg-press__list a { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 1.4rem; align-items: center; padding: 1.3rem .4rem; transition: background .4s var(--ease), padding .5s var(--ease); border-radius: 14px; }
body.sdg .sdg-press__list--media a { grid-template-columns: minmax(0, 1fr) auto; }
body.sdg .sdg-press__list a:hover { background: #fff; padding-inline: 1rem; }
body.sdg .sdg-press__list time { display: grid; text-align: center; padding: .5rem 0; border-radius: 14px; background: var(--night); color: var(--marble); }
body.sdg .sdg-press__list time b { font: 400 1.7rem/1 var(--f-display); }
body.sdg .sdg-press__list time span { font: 700 .58rem/1.4 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--sun); }
body.sdg .sdg-press__t { display: grid; gap: .3rem; min-width: 0; }
body.sdg .sdg-press__t small { font: 700 .68rem/1.3 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #a46e0c; }
body.sdg .sdg-press__t strong { font: 400 1.18rem/1.3 var(--f-display); }
body.sdg .sdg-press__list .sdg-ico { color: #a46e0c; transition: transform .5s var(--ease); }
body.sdg .sdg-press__list a:hover .sdg-ico { transform: translateX(5px); }
body.sdg .sdg-press__extra { margin-top: 3rem; }
body.sdg .sdg-press__side { display: grid; gap: 1.1rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
body.sdg .sdg-press__card { padding: 1.7rem; border-radius: 22px; background: #fff; box-shadow: 0 30px 60px -40px rgba(6,16,29,.4); }
body.sdg .sdg-press__boiler { margin: 0 0 1.2rem; font-size: .95rem; line-height: 1.65; color: #34322e; }
body.sdg .sdg-btn--ink { --bg: var(--ink); --fg: var(--marble); }
body.sdg .sdg-press__facts { margin: 0; display: grid; gap: .8rem; }
body.sdg .sdg-press__facts div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px dashed rgba(6,16,29,.14); font-size: .92rem; }
body.sdg .sdg-press__facts div:last-child { border-bottom: 0; padding-bottom: 0; }
body.sdg .sdg-press__facts dt { color: #6f6a62; }
body.sdg .sdg-press__facts dd { margin: 0; font-weight: 700; text-align: right; }
body.sdg .sdg-press__logos { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
body.sdg .sdg-press__logo { display: grid; gap: .6rem; justify-items: center; padding: 1.2rem .8rem; border-radius: 16px; border: 1px solid rgba(6,16,29,.12); font-size: .78rem; font-weight: 700; text-align: center; transition: border-color .3s, transform .4s var(--ease); }
body.sdg .sdg-press__logo .sdg-sun { width: 36px; height: 36px; color: var(--sun); }
body.sdg .sdg-press__logo--dark { background: var(--night); color: var(--marble); border-color: var(--night); }
body.sdg .sdg-press__logo:hover { transform: translateY(-3px); border-color: var(--sun); }

@media (max-width: 1000px) {
	body.sdg .sdg-contact__grid, body.sdg .sdg-press__grid { grid-template-columns: 1fr; }
	body.sdg .sdg-contact__info, body.sdg .sdg-press__side { position: static; }
	body.sdg .sdg-contact__info { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
	body.sdg .sdg-contact__press { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	body.sdg .sdg-form__grid { grid-template-columns: 1fr; }
	body.sdg .sdg-press__list a { grid-template-columns: 64px minmax(0, 1fr); }
	body.sdg .sdg-press__list a > .sdg-ico { display: none; }
	body.sdg .sdg-press__list--media a { grid-template-columns: 1fr; }
	body.sdg .sdg-contact__form { padding: 1.3rem; border-radius: 20px; }
}

/* ---------- Robustness against page-builder / Elementor Kit global styles ---------- */
body.sdg { color: var(--txt); background: var(--ink); font-family: var(--f-body); }
body.sdg h1, body.sdg h2, body.sdg h3, body.sdg h4, body.sdg h5, body.sdg h6 { color: inherit; }
body.sdg a { color: inherit; }
body.sdg .sdg-evbody, body.sdg .sdg-contact, body.sdg .sdg-press, body.sdg .sdg-story, body.sdg .sdg-services, body.sdg .sdg-process, body.sdg .sdg-page, body.sdg .sdg-seo-text, body.sdg .sdg-manifesto { color: var(--ink); }
body.sdg .sdg-prose a, body.sdg .sdg-press__extra a { color: #a46e0c; }
/* Old builder markup (WPBakery / Bold Builder / Elementor sections) inside event stories: one clean column */
body.sdg .sdg-prose--event [class*="vc_row"]:not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow), body.sdg .sdg-prose--event [class*="bt_bb_row"]:not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow), body.sdg .sdg-prose--event [class*="row"]:not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow), body.sdg .sdg-prose--event .wpb_wrapper:not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow), body.sdg .sdg-prose--event [class*="_inner"]:not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow) { display: block !important; width: 100% !important; max-width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
body.sdg .sdg-prose--event [class*="column"]:not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow), body.sdg .sdg-prose--event [class*="vc_col-"]:not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow), body.sdg .sdg-prose--event [class*="col-sm-"]:not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow), body.sdg .sdg-prose--event [class*="col-md-"]:not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow), body.sdg .sdg-prose--event [class*="col-lg-"]:not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow), body.sdg .sdg-prose--event [class*="bt_bb_column"]:not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow) { float: none !important; width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
body.sdg .sdg-prose--event p, body.sdg .sdg-prose--event li, body.sdg .sdg-prose--event span, body.sdg .sdg-prose--event strong, body.sdg .sdg-prose--event div { word-break: normal; overflow-wrap: break-word; }
body.sdg .sdg-prose--event img:not(.slider-pro img) { max-width: 100%; height: auto; }
body.sdg .sdg-prose--event [style*="width"]:not(img):not(iframe):not(.slider-pro *):not(.slider-pro):not(.sp-arrows):not(.sp-arrow) { max-width: 100% !important; }

body.sdg [hidden] { display: none !important; }

/* ---------- Layout shield: leftover CSS from the old site / snippets (e.g. rules on #main, body, main) can never squeeze the theme ---------- */
html body.sdg { display: block !important; width: auto !important; max-width: none !important; min-width: 0 !important; float: none !important; margin-left: 0 !important; margin-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; columns: auto !important; zoom: normal; }
html body.sdg > main.sdg-main, html body.sdg > footer.sdg-footer { display: block !important; position: relative !important; width: 100% !important; max-width: none !important; min-width: 0 !important; float: none !important; margin: 0 !important; padding: 0 !important; columns: auto !important; transform: none; }
html body.sdg > main.sdg-main > section, html body.sdg > main.sdg-main > article, html body.sdg > main.sdg-main > header, html body.sdg > main.sdg-main > nav, html body.sdg > main.sdg-main > div:not(.sdg-lightbox) { width: auto !important; max-width: none !important; float: none !important; margin-left: 0 !important; margin-right: 0 !important; }
html body.sdg .sdg-event > * { width: auto !important; max-width: none !important; float: none !important; }

/* ---------- Slider Pro (event photo galleries) — keep the plugin's own layout, theme-styled frame ---------- */
html body.sdg .sdg-prose .slider-pro { margin: 2.4rem 0 !important; border-radius: 20px; overflow: hidden; background: var(--night); box-shadow: 0 40px 80px -40px rgba(6,16,29,.55); }
html body.sdg .sdg-prose .slider-pro img { border-radius: 0 !important; box-shadow: none !important; transform: none !important; cursor: pointer; }
html body.sdg .sdg-prose .slider-pro .sp-thumbnails-container { margin-top: 0 !important; padding: 8px 0; background: var(--night); }
html body.sdg .sdg-prose .slider-pro .sp-thumbnail-container { opacity: .5; transition: opacity .35s var(--ease); }
html body.sdg .sdg-prose .slider-pro .sp-selected-thumbnail, html body.sdg .sdg-prose .slider-pro .sp-thumbnail-container:hover { opacity: 1; }
html body.sdg .sdg-prose .slider-pro .sp-arrow { filter: drop-shadow(0 2px 6px rgba(0,0,0,.5)); }
html body.sdg .sdg-prose > .slider-pro + *, html body.sdg .sdg-prose .slider-pro * + * { margin-top: 0; }

/* ---------- Travel grid (Excursiones y cruceros) — replaces the old Blog Filter plugin ---------- */
html body.sdg .sdg-tours { position: relative; left: 50%; width: min(1280px, calc(100vw - 2 * var(--gutter))); transform: translateX(-50%); margin-top: 1rem; }
html body.sdg .sdg-tours__filters { margin-bottom: 2rem; }
html body.sdg .sdg-tours__filters button { border-color: rgba(6,16,29,.16); color: #4b4a47; background: #fff; }
html body.sdg .sdg-tours__filters button:hover { color: var(--ink); border-color: var(--ink); }
html body.sdg .sdg-tours__filters button.is-active { background: var(--ink); border-color: var(--ink); color: var(--sun); }
html body.sdg .sdg-tours__grid .sdg-grid__cell:nth-child(n) { transform: none; }
html body.sdg .sdg-tour { height: 100%; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -40px rgba(6,16,29,.45); transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx2, 0deg)); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
html body.sdg .sdg-tour:hover { box-shadow: 0 40px 70px -40px rgba(6,16,29,.6); }
html body.sdg .sdg-tour .sdg-tour__link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
html body.sdg .sdg-tour__media { position: relative; margin: 0 !important; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night); }
html body.sdg .sdg-tour .sdg-tour__media img, html body.sdg .sdg-tour .sdg-tour__media .sdg-thumb-fallback { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; border-radius: 0; transition: transform 1.2s var(--ease); }
html body.sdg .sdg-tour:hover .sdg-tour__media img { transform: scale(1.06); }
html body.sdg .sdg-tour__tag { position: absolute; left: 12px; top: 12px; padding: .4rem .75rem; border-radius: 999px; background: rgba(6,16,29,.72); color: var(--sun); font: 700 .66rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
html body.sdg .sdg-tour__body { flex: 1; display: flex; flex-direction: column; gap: .6rem; padding: 1.3rem 1.4rem 1.5rem; margin: 0 !important; }
html body.sdg .sdg-tour .sdg-tour__title { margin: 0; padding: 0; font: 400 1.35rem/1.2 var(--f-display); letter-spacing: -.015em; }
html body.sdg .sdg-prose .sdg-tour__title::before { display: none; }
html body.sdg .sdg-tour .sdg-tour__excerpt { margin: 0; font-size: .92rem; line-height: 1.55; color: #5a5650; }
html body.sdg .sdg-tour .sdg-link { margin-top: auto; color: #a46e0c; font-size: .88rem; }
html body.sdg .sdg-prose .sdg-tours .sdg-grid { margin-top: 0; }
html body.sdg .sdg-prose .sdg-tours * + * { margin-top: 0; }

/* ---------- Excursiones y cruceros — destination tiles ---------- */
html body.sdg .sdg-phero--travel .sdg-phero__bg { filter: brightness(.75) saturate(1.15); }
html body.sdg .sdg-travel { background: var(--marble); color: var(--ink); padding: clamp(4rem, 9vw, 7rem) 0 clamp(5rem, 10vw, 8rem); }
html body.sdg .sdg-travel__head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem; }
html body.sdg .sdg-travel__count { margin: 0; font: 600 .78rem/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: #a46e0c; }
html body.sdg .sdg-travel__count [data-filter-count] { font: 400 2.4rem/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); margin-right: .3rem; vertical-align: -0.2em; }
html body.sdg .sdg-dest { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
html body.sdg .sdg-dest__tile { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: flex-end; min-height: clamp(220px, 26vw, 330px); padding: 0; border-radius: 22px; text-align: left; color: var(--marble); background: var(--night); cursor: pointer; box-shadow: 0 30px 60px -38px rgba(6,16,29,.6); transition: transform .6s var(--ease), box-shadow .6s var(--ease), opacity .5s var(--ease), filter .5s var(--ease); }
html body.sdg .sdg-dest__tile:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -36px rgba(6,16,29,.7); }
html body.sdg .sdg-dest__tile:active { transform: scale(.97); transition-duration: .12s; }
html body.sdg .sdg-dest__bg { position: absolute; inset: 0; z-index: -2; background: var(--img, none) center/cover, linear-gradient(150deg, var(--sea), var(--night)); transform: scale(1.04); transition: transform 1.4s var(--ease), filter .6s var(--ease); }
html body.sdg .sdg-dest__tile:hover .sdg-dest__bg { transform: scale(1.12); }
html body.sdg .sdg-dest__bg--all { display: grid; place-items: center; background: radial-gradient(70% 70% at 70% 20%, rgba(255,138,61,.55), transparent 60%), linear-gradient(160deg, var(--sea), var(--night) 75%); color: var(--sun); }
html body.sdg .sdg-dest__bg--all .sdg-sun { width: 46%; height: auto; opacity: .55; animation: sdgSpin 40s linear infinite; }
html body.sdg .sdg-dest__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6,16,29,.05) 25%, rgba(6,16,29,.88) 100%); }
html body.sdg .sdg-dest__body { display: grid; gap: .35rem; width: 100%; padding: 1.3rem 1.4rem 1.4rem; }
html body.sdg .sdg-dest__n { position: absolute; top: 14px; right: 14px; min-width: 42px; height: 42px; padding: 0 .6rem; display: grid; place-items: center; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: 400 1.2rem/1 var(--f-display); }
html body.sdg .sdg-dest__name { font: 400 clamp(1.7rem, 2.6vw, 2.4rem)/1 var(--f-display); letter-spacing: -.03em; }
html body.sdg .sdg-dest__tag { font-size: .85rem; color: rgba(245,239,228,.82); }
html body.sdg .sdg-dest__sub { justify-self: start; margin-top: .3rem; padding: .3rem .65rem; border-radius: 999px; background: rgba(244,182,61,.2); color: var(--sun); font: 700 .64rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
/* Active / inactive states */
html body.sdg .sdg-dest__tile.is-active { box-shadow: 0 0 0 3px var(--sun), 0 40px 70px -36px rgba(6,16,29,.7); }
html body.sdg .sdg-dest__tile.is-active .sdg-dest__n { background: var(--sun); color: var(--ink); border-color: var(--sun); }
html body.sdg .sdg-dest.has-pick .sdg-dest__tile:not(.is-active) { opacity: .62; filter: saturate(.55); }
html body.sdg .sdg-dest.has-pick .sdg-dest__tile:not(.is-active):hover { opacity: 1; filter: none; }
html body.sdg .sdg-dest__tile:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
/* Grid + custom trip banner */
html body.sdg .sdg-travel__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body.sdg .sdg-travel__custom { display: flex; align-items: center; gap: 1.2rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding: 1.4rem 1.6rem; border-radius: 22px; background: var(--night); color: var(--marble); }
html body.sdg .sdg-travel__custom > .sdg-ico { width: 34px; height: 34px; color: var(--sun); flex: none; }
html body.sdg .sdg-travel__custom > span:nth-child(2) { display: grid; gap: .2rem; flex: 1; color: var(--txt-dim); font-size: .92rem; }
html body.sdg .sdg-travel__custom strong { color: var(--marble); font: 400 1.35rem/1.15 var(--f-display); }
@media (max-width: 900px) {
	html body.sdg .sdg-dest { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(64vw, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: .6rem var(--gutter) 1rem; scrollbar-width: none; }
	html body.sdg .sdg-dest::-webkit-scrollbar { display: none; }
	html body.sdg .sdg-dest__tile { scroll-snap-align: start; min-height: 260px; }
	html body.sdg .sdg-travel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	html body.sdg .sdg-travel__custom { flex-wrap: wrap; }
}
@media (max-width: 600px) {
	html body.sdg .sdg-travel__grid { grid-template-columns: 1fr; }
	html body.sdg .sdg-dest { grid-auto-columns: 78vw; }
}

html body.sdg > footer.sdg-footer { overflow: hidden !important; }
html body.sdg .sdg-dest__tile:first-child { margin-left: 2px; }

html body.sdg .sdg-tour .sdg-tour__media img { min-height: 100%; contain-intrinsic-size: none; }
