/*
Theme Name: TSE Night
Theme URI: https://sleepenthusiast.com/
Description: Child theme of Twenty Twenty-Five for The Sleep Enthusiast — calm, cinematic night reading.
Author: The Sleep Enthusiast
Template: twentytwentyfive
Version: 1.3.5
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tse-night
*/

/* ------------------------------------------------------------------
   Base
   Logo sizing lives only on .tse-logo. Do not put width, height,
   or border-radius on headings.
------------------------------------------------------------------ */
:root {
	--tse-ground: #1A1464;
	--tse-raised: #2A1B78;
	--tse-ivory: #F6EFE2;
	--tse-secondary: #E4D7C4;
	--tse-brass: #F6EFE2;
	--tse-mist: #D9CBEA;
	--tse-hair: rgba(246, 239, 226, 0.28);
	--tse-measure: 65ch;
	--tse-pad: clamp(1.25rem, 4vw, 3rem);
	--tse-section: clamp(3.5rem, 9vw, 6.5rem);
	--tse-wrap: 72rem;
}

html {
	scroll-behavior: smooth;
}

body,
.wp-site-blocks {
	background-color: #1A1464;
	background-image: linear-gradient(165deg, #1A2A7A 0%, #2A146E 48%, #4A1D78 100%);
	background-attachment: fixed;
	color: var(--tse-ivory);
}

body {
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.wp-block-site-title,
.wp-block-post-title,
.wp-block-heading,
.tse-wordmark {
	font-family: "Fraunces", Georgia, serif;
	font-optical-sizing: auto;
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.15;
	color: var(--tse-ivory);
	width: auto;
	height: auto;
	max-width: none;
	border-radius: 0;
	object-fit: unset;
}

.tse-logo {
	display: block;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.tse-brand {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

a {
	color: var(--tse-brass);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover,
a:focus-visible {
	color: var(--tse-ivory);
}

:focus-visible {
	outline: 1px solid var(--tse-ivory);
	outline-offset: 3px;
}

p {
	max-width: var(--tse-measure);
}

.tse-prose p,
.entry-content p {
	max-width: var(--tse-measure);
	color: var(--tse-secondary);
	font-size: clamp(1.05rem, 2.2vw, 1.15rem);
}

/* ------------------------------------------------------------------
   Header / nav
------------------------------------------------------------------ */
.tse-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--tse-ground) 88%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--tse-hair);
}

.tse-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	max-width: var(--tse-wrap);
	margin: 0 auto;
	padding: 1rem var(--tse-pad);
}

.tse-wordmark {
	font-size: clamp(1.05rem, 2.5vw, 1.25rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	color: var(--tse-ivory);
	white-space: nowrap;
}

.tse-wordmark:hover,
.tse-wordmark:focus-visible {
	color: var(--tse-brass);
}

.tse-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tse-nav a {
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 0.95rem;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: none;
	text-decoration: none;
	color: var(--tse-mist);
}

.tse-nav a:hover,
.tse-nav a:focus-visible {
	color: var(--tse-ivory);
}

/* ------------------------------------------------------------------
   Front page
------------------------------------------------------------------ */
.tse-home {
	color: var(--tse-ivory);
}

.tse-wrap {
	max-width: var(--tse-wrap);
	margin: 0 auto;
	padding-left: var(--tse-pad);
	padding-right: var(--tse-pad);
}

.tse-textlink {
	display: inline-block;
	font-family: "Source Sans 3", system-ui, sans-serif;
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: var(--tse-ivory);
	text-decoration: none;
	border-bottom: 1px solid var(--tse-hair);
	padding-bottom: 0.15rem;
}

.tse-textlink:hover,
.tse-textlink:focus-visible {
	color: var(--tse-ivory);
	border-bottom-color: var(--tse-ivory);
}

.tse-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(3.25rem, 9vw, 6.5rem) 0 clamp(3rem, 8vw, 5.5rem);
}

.tse-hero__sky {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: linear-gradient(
		120deg,
		#1A2A7A 0%,
		#241668 28%,
		#4A1D78 62%,
		#2A146E 100%
	);
	background-size: 180% 180%;
	background-position: 0% 40%;
	animation: tse-sky 46s ease-in-out infinite;
}

.tse-moon {
	position: absolute;
	top: clamp(1.5rem, 6vw, 3.5rem);
	right: clamp(1.5rem, 10vw, 7rem);
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: transparent;
	box-shadow: inset -0.85rem -0.2rem 0 0 var(--tse-ivory);
	animation: tse-drift 42s ease-in-out infinite;
}

.tse-hero__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(13.5rem, 0.7fr);
	column-gap: clamp(1.5rem, 5vw, 4.5rem);
	row-gap: 2.25rem;
	align-items: end;
	max-width: var(--tse-wrap);
	margin: 0 auto;
	padding: 0 var(--tse-pad);
}

.tse-home h1 {
	font-size: clamp(3.5rem, 8.4vw, 6.85rem);
	font-weight: 500;
	line-height: 0.92;
	letter-spacing: -0.03em;
	max-width: 7.2em;
	margin: 0 0 1.35rem;
	color: var(--tse-ivory);
}

.tse-hero__sub {
	font-size: clamp(1.08rem, 2vw, 1.28rem);
	line-height: 1.55;
	color: var(--tse-secondary);
	max-width: 34ch;
	margin: 0 0 1.6rem;
}

.tse-hero__action {
	margin: 0;
}

.tse-still {
	margin: 0;
	width: min(100%, 26rem);
	justify-self: end;
}

.tse-still__frame {
	aspect-ratio: 4 / 3;
	background-color: var(--tse-raised);
	background-image: url("assets/hero-lovart.jpg");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center 58%;
	border: 1px solid rgba(246, 239, 226, 0.62);
	box-shadow: 0 0 0 0.55rem rgba(26, 20, 100, 0.28);
}

.tse-night,
.tse-journal,
.tse-shop {
	position: relative;
	padding: var(--tse-section) 0;
}

.tse-night {
	background: linear-gradient(180deg, rgba(26, 20, 100, 0.28), rgba(42, 27, 120, 0.18));
	border-top: 1px solid var(--tse-hair);
}

.tse-night__intro {
	max-width: 40rem;
}

.tse-home h2 {
	font-size: clamp(2.35rem, 5vw, 4.15rem);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -0.025em;
	margin: 0 0 1.1rem;
	color: var(--tse-ivory);
}

.tse-night__intro p,
.tse-journal__copy p,
.tse-shop__copy p {
	color: var(--tse-secondary);
	font-size: clamp(1.05rem, 1.6vw, 1.18rem);
	margin: 0;
}

.tse-rhythm {
	display: grid;
	grid-template-columns: 0.82fr 1.22fr 0.96fr;
	list-style: none;
	margin: clamp(2.75rem, 6vw, 4.25rem) 0 0;
	padding: 0;
	border-top: 1px solid var(--tse-hair);
}

.tse-rhythm__phase {
	margin: 0;
	padding: 1.4rem 1.35rem 0 0;
	border-right: 1px solid var(--tse-hair);
}

.tse-rhythm__phase:nth-child(2) {
	--d: 1;
	padding: 4.25rem 1.35rem 0 1.35rem;
}

.tse-rhythm__phase:nth-child(3) {
	--d: 2;
	padding: 7.4rem 0 0 1.35rem;
	border-right: 0;
}

.tse-rhythm__index {
	display: block;
	margin-bottom: 0.85rem;
	font-family: "Fraunces", Georgia, serif;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	color: var(--tse-mist);
}

.tse-home h3 {
	font-size: clamp(1.65rem, 2.6vw, 2.15rem);
	font-weight: 500;
	line-height: 1.1;
	margin: 0 0 0.7rem;
	color: var(--tse-ivory);
}

.tse-rhythm__phase p {
	max-width: 28ch;
	margin: 0;
	color: var(--tse-secondary);
}

.tse-journal {
	border-top: 1px solid var(--tse-hair);
	background: linear-gradient(180deg, rgba(42, 27, 120, 0.42), rgba(26, 20, 100, 0.05));
}

.tse-journal__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: end;
	padding-top: 0.25rem;
}

.tse-journal__layout h2 {
	max-width: 9ch;
	margin-bottom: 0;
}

.tse-journal__copy {
	border-left: 1px solid var(--tse-hair);
	padding-left: clamp(1.25rem, 3vw, 2.25rem);
}

.tse-journal__copy .tse-hero__action {
	margin-top: 1.35rem;
}

.tse-shop {
	border-top: 1px solid var(--tse-hair);
}

.tse-shop__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.15fr);
	gap: clamp(1.25rem, 4vw, 3.5rem);
	align-items: start;
}

.tse-shop__layout h2 {
	max-width: 11ch;
}

.tse-shop__copy .tse-hero__action {
	margin-top: 1.35rem;
}

.tse-still {
	--d: 2;
}

/* Reveals. Content stays visible unless the script opts in. */
html.tse-motion .tse-home [data-reveal]:not(.is-in) {
	opacity: 0;
	transform: translateY(1.05rem);
}

html.tse-motion .tse-home [data-reveal].is-in {
	opacity: 1;
	transform: none;
	transition: opacity 1.05s ease, transform 1.05s ease;
	transition-delay: calc(var(--d, 0) * 120ms);
}

@keyframes tse-sky {
	0%,
	100% {
		background-position: 0% 40%;
	}
	50% {
		background-position: 100% 60%;
	}
}

@keyframes tse-drift {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}
	50% {
		transform: translate3d(-14px, 16px, 0);
	}
}

/* ------------------------------------------------------------------
   Inner pages (index / home / page / single)
------------------------------------------------------------------ */
.tse-main {
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--tse-pad) var(--tse-section);
	max-width: 48rem;
	margin: 0 auto;
	color: var(--tse-secondary);
}

.tse-main h1,
.tse-main h2,
.tse-main h3,
.tse-main h4,
.tse-main h5,
.tse-main h6,
.tse-main .wp-block-post-title,
.tse-main .wp-block-heading,
.tse-main .wp-block-post-title a {
	color: var(--tse-ivory);
}

.tse-main .wp-block-post-title,
.tse-main h1.wp-block-heading,
.tse-main > h1,
.tse-main .wp-block-post-title {
	margin-bottom: 1.5rem;
	font-size: clamp(2rem, 5vw, 3.15rem);
	line-height: 1.08;
}

.tse-main h2,
.tse-main .wp-block-post-content h2 {
	font-size: clamp(1.55rem, 3vw, 2.1rem);
	margin: 2rem 0 0.75rem;
}

.tse-main h3,
.tse-main .wp-block-post-content h3 {
	font-size: clamp(1.25rem, 2.4vw, 1.55rem);
	margin: 1.5rem 0 0.6rem;
}

.tse-main p,
.tse-main li,
.tse-main dd,
.tse-main .wp-block-post-content,
.tse-main .wp-block-post-content p,
.tse-main .wp-block-post-content li,
.tse-main .wp-block-post-excerpt,
.tse-main .wp-block-post-excerpt__excerpt,
.entry-content,
.entry-content p,
.entry-content li {
	color: var(--tse-secondary);
}

.tse-main a,
.tse-main .wp-block-post-content a,
.entry-content a {
	color: var(--tse-ivory);
}

.tse-main .wp-block-group,
.tse-main .wp-block-post-content {
	background: transparent;
	color: inherit;
}

.tse-main ul,
.tse-main ol,
.tse-main .wp-block-post-content ul,
.tse-main .wp-block-post-content ol {
	padding-left: 1.2rem;
	max-width: var(--tse-measure);
}

.tse-main .wp-block-quote {
	margin: 1.5rem 0;
	padding-left: 1rem;
	border-left: 1px solid var(--tse-hair);
	color: var(--tse-ivory);
}

.tse-main .wp-block-post-template {
	gap: 2.5rem;
}

.tse-main .wp-block-post {
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--tse-hair);
}

.tse-main .wp-block-post-date {
	color: var(--tse-mist);
	font-size: 0.9rem;
}

.tse-main .wp-block-query-pagination,
.tse-main .wp-block-post-navigation-link {
	color: var(--tse-mist);
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.tse-footer {
	background: var(--tse-raised);
	border-top: 1px solid var(--tse-hair);
	padding: clamp(2.5rem, 6vw, 4rem) var(--tse-pad);
}

.tse-footer__inner {
	max-width: 48rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.tse-footer__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tse-footer__socials a {
	color: var(--tse-mist);
	text-decoration: none;
	font-size: 0.95rem;
}

.tse-footer__socials a:hover,
.tse-footer__socials a:focus-visible {
	color: var(--tse-ivory);
}

.tse-footer__meta {
	color: var(--tse-mist);
	font-size: 0.9rem;
	line-height: 1.7;
}

.tse-footer__meta a {
	color: var(--tse-secondary);
}

.tse-footer__note {
	color: var(--tse-mist);
	font-size: 0.85rem;
	letter-spacing: 0.01em;
	margin: 0;
}

/* ------------------------------------------------------------------
   Narrow screens
------------------------------------------------------------------ */
@media (max-width: 800px) {
	.tse-hero__grid,
	.tse-journal__layout,
	.tse-shop__layout,
	.tse-rhythm {
		grid-template-columns: 1fr;
	}

	.tse-still {
		width: min(78%, 18rem);
		justify-self: start;
	}

	.tse-rhythm__phase,
	.tse-rhythm__phase:nth-child(2),
	.tse-rhythm__phase:nth-child(3) {
		padding: 1.25rem 0 1.25rem 1rem;
		border-right: 0;
		border-bottom: 1px solid var(--tse-hair);
		border-left: 1px solid var(--tse-hair);
	}

	.tse-journal__copy {
		border-left: 0;
		border-top: 1px solid var(--tse-hair);
		padding-left: 0;
		padding-top: 1.25rem;
	}

	.tse-home h1 {
		font-size: clamp(3rem, 14vw, 4.4rem);
	}
}

@media (max-width: 480px) {
	.tse-header__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.tse-nav {
		gap: 0.5rem 1rem;
	}

	body,
	.wp-site-blocks {
		background-attachment: scroll;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.tse-hero__sky,
	.tse-moon {
		animation: none;
	}

	.tse-home [data-reveal] {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* Fable locked homepage 1.2.0 */

  :root{
    --night:#0b1437;
    --deep:#132052;
    --violet:#3a2a6e;
    --plum:#4b2f78;
    --cream:#f3ead8;
    --cream-soft:#e4dac4;
    --cream-dim:rgba(243,234,216,.62);
    --line:rgba(243,234,216,.16);
    --serif:"Fraunces",Georgia,serif;
    --sans:"Source Sans 3",system-ui,sans-serif;
  }
  .tse-lock,.tse-lock *,.tse-lockbar,.tse-lockbar *,.tse-lockfoot,.tse-lockfoot *{box-sizing:border-box}
  .tse-lock,.tse-lockbar,.tse-lockfoot{margin:0}
  html{scroll-behavior:smooth}
  body.home{
    font-family:var(--sans);
    color:var(--cream);
    background:linear-gradient(180deg,var(--night) 0%,var(--deep) 32%,var(--violet) 72%,var(--plum) 100%);
    background-attachment:fixed;
    min-height:100vh;
    line-height:1.7;
    font-size:17px;
    -webkit-font-smoothing:antialiased;
  }
  .tse-lock a,.tse-lockbar a,.tse-lockfoot a{color:inherit;text-decoration:none}
  .tse-lock a:hover,.tse-lockbar a:hover,.tse-lockfoot a:hover{color:var(--cream-soft)}
  .skip{
    position:absolute;left:1rem;top:-4rem;background:var(--cream);color:var(--night);
    padding:.6rem 1rem;border-radius:4px;z-index:100;font-size:.9rem;
  }
  .skip:focus{top:1rem}
  .wrap{max-width:1040px;margin:0 auto;padding:0 clamp(1.25rem,5vw,3rem)}

  header.tse-lockbar{padding:2rem 0}
  .bar{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
  .brand{display:flex;align-items:center;gap:.85rem;font-family:var(--serif);font-size:1.35rem;letter-spacing:.02em}
  .brand img{width:40px;height:40px;border-radius:50%;object-fit:cover;border:1px solid var(--line)}
  header.tse-lockbar nav ul{list-style:none;display:flex;gap:clamp(1rem,3vw,2.25rem);font-size:.82rem;letter-spacing:.14em;text-transform:uppercase}
  header.tse-lockbar nav a{opacity:.78;padding:.25rem 0;border-bottom:1px solid transparent;transition:opacity .4s,border-color .4s}
  header.tse-lockbar nav a:hover,header.tse-lockbar nav a:focus{opacity:1;border-bottom-color:var(--cream-dim)}

  main.tse-lock .hero{
    padding:clamp(5rem,14vh,10rem) 0 clamp(5rem,12vh,9rem);
    display:grid;grid-template-columns:1fr auto;align-items:center;gap:3rem;
  }
  main.tse-lock .hero h1{
    font-family:var(--serif);font-weight:400;
    font-size:clamp(2.75rem,7vw,5.25rem);line-height:1.05;letter-spacing:-.01em;
    margin-bottom:1.75rem;
  }
  main.tse-lock .hero p{max-width:34em;color:var(--cream-dim);font-size:1.08rem;margin-bottom:2.25rem}
  .cta{
    display:inline-block;font-size:.95rem;letter-spacing:.04em;
    border:1px solid var(--cream-dim);border-radius:999px;padding:.75rem 1.5rem;
    transition:background .5s,color .5s;
  }
  .cta:hover,.cta:focus{background:var(--cream);color:var(--night)}

  .mark{width:clamp(180px,26vw,280px);height:auto;display:block}
  .breathe{animation:breathe 9s ease-in-out infinite;transform-origin:50% 60%}
  .halo{animation:halo 9s ease-in-out infinite}
  @keyframes breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-6px) scale(1.02)}}
  @keyframes halo{0%,100%{opacity:.35}50%{opacity:.6}}

  main.tse-lock > section{padding:clamp(4rem,10vh,7rem) 0;border-top:1px solid var(--line)}
  main.tse-lock h2{
    font-family:var(--serif);font-weight:400;
    font-size:clamp(1.9rem,4vw,2.75rem);line-height:1.15;margin-bottom:1.5rem;
  }
  .two{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(2rem,6vw,5rem);align-items:start}
  main.tse-lock > section p{color:var(--cream-dim);max-width:36em}

  .rhythm{list-style:none;display:grid;gap:1.75rem;margin-top:.5rem}
  .rhythm li{display:grid;grid-template-columns:3rem 1fr;gap:1rem;align-items:baseline;padding-bottom:1.75rem;border-bottom:1px solid var(--line)}
  .rhythm li:last-child{border-bottom:0}
  .num{font-family:var(--serif);font-size:1.6rem;color:var(--cream-dim)}
  .rhythm h3{font-family:var(--serif);font-weight:400;font-size:1.35rem;margin-bottom:.25rem}
  .rhythm p{font-size:.95rem}

  .posts{list-style:none;margin-top:2.5rem;border-top:1px solid var(--line)}
  .posts li{border-bottom:1px solid var(--line)}
  .posts a{
    display:flex;justify-content:space-between;align-items:center;gap:1rem;
    padding:1.35rem 0;font-family:var(--serif);font-size:1.45rem;
    transition:padding-left .5s;
  }
  .posts a:hover,.posts a:focus{padding-left:.6rem}
  .posts a span{font-family:var(--sans);font-size:1rem;color:var(--cream-dim)}
  .more{display:inline-block;margin-top:2.25rem;font-size:.95rem;letter-spacing:.04em;border-bottom:1px solid var(--cream-dim);padding-bottom:.15rem}

  footer.tse-lockfoot{border-top:1px solid var(--line);padding:3.5rem 0 4rem;font-size:.88rem;color:var(--cream-dim)}
  .foot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1.5rem 3rem;align-items:flex-start}
  .foot ul{list-style:none;display:flex;flex-wrap:wrap;gap:1.5rem}
  .foot a:hover{color:var(--cream)}
  .foot .legal{width:100%;display:flex;flex-wrap:wrap;gap:1.5rem;margin-top:1rem;padding-top:1.5rem;border-top:1px solid var(--line)}
  .legal p{margin:0}

  main.tse-lock .reveal{opacity:0;transform:translateY(14px);transition:opacity 1.1s ease,transform 1.1s ease}
  main.tse-lock .reveal.in{opacity:1;transform:none}

  @media (max-width:760px){
    .hero{grid-template-columns:1fr;gap:2.5rem}
    .mark{order:-1;width:150px}
    .two{grid-template-columns:1fr}
    .brand img{width:34px;height:34px}
  }
  @media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    .breathe,.halo{animation:none}
    main.tse-lock .reveal{opacity:1;transform:none;transition:none}
    *{transition:none !important}
  }

header.tse-lockbar{
  position:relative;
  z-index:20;
  padding:1.25rem 0 1.5rem;
}
header.tse-lockbar .brand{gap:1rem}
header.tse-lockbar .brand span{font-size:1.35rem}
header.tse-lockbar .tse-logo{width:72px;height:72px;border-radius:50%;object-fit:cover;border:0}
@media (max-width:760px){
  header.tse-lockbar .tse-logo{width:56px;height:56px}
}

/* cinematic scene full width */
main.tse-lock.wrap{max-width:none;width:100%;padding-left:0;padding-right:0}
main.tse-lock > section{padding-left:clamp(1.25rem,6vw,4rem);padding-right:clamp(1.25rem,6vw,4rem)}
main.tse-lock .hero{
  position:relative;
  width:100%;
  min-height:82vh;
  display:flex;
  align-items:center;
  padding:clamp(3rem,8vh,6rem) clamp(1.5rem,6vw,4rem);
}
.tse-scene{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:0;
  overflow:hidden;
}
.tse-scene canvas {
  display: block;
  width: 100%;
  height: 100%;
}
main.tse-lock .hero > div:not(.tse-scene) {
  position: relative;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .tse-scene,
  .tse-scene canvas {
    animation: none;
  }
}

main.tse-lock .hero > div:not(.tse-scene) { max-width: 34rem; }
main.tse-lock .hero .mark { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* journal images */
.wp-block-post-featured-image{margin:0 0 1.75rem}
.wp-block-post-featured-image img{width:100%;height:auto;border-radius:0;display:block}
