/*
Theme Name: Sunny Window Coverings
Theme URI: https://sunnywindowcoverings.com
Author: Sunny Window Coverings
Description: Custom block theme for Sunny Window Coverings — zebra blinds across the GTA. Scroll-driven hero animation.
Version: 2.2.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sunny
*/

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.wp-site-blocks { padding-top: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
main.wp-block-group { margin-top: 0 !important; }
main.wp-block-group > .alignfull { margin-top: 0 !important; margin-bottom: 0 !important; }
img { max-width: 100%; height: auto; }

.sw-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.78rem !important;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sun);
	margin-bottom: 0.75rem !important;
}

/* ---------- Header ---------- */
.wp-site-blocks > .wp-block-template-part:first-child,
.wp-site-blocks > div:first-child:has(.sw-header) {
	position: sticky;
	top: 0;
	z-index: 50;
}
.admin-bar .wp-site-blocks > .wp-block-template-part:first-child,
.admin-bar .wp-site-blocks > div:first-child:has(.sw-header) { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .wp-site-blocks > .wp-block-template-part:first-child,
	.admin-bar .wp-site-blocks > div:first-child:has(.sw-header) { top: 46px; }
}
.sw-header {
	background: rgba(255, 253, 249, 0.82);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(22, 41, 77, 0.08);
}
.sw-header-inner {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0.7rem clamp(1rem, 4vw, 2rem);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
.sw-logo { margin: 0 !important; }
.sw-logo img { width: 170px; height: auto; display: block; }
.sw-header .wp-block-navigation { font-weight: 600; font-size: 0.95rem; gap: 1.75rem; }
.sw-header .wp-block-navigation a:hover { color: var(--wp--preset--color--sun); }
.sw-header-call .wp-block-button__link { padding: 0.65rem 1.2rem !important; font-size: 0.92rem !important; }
.sw-header-right { display: flex; align-items: center; gap: 1.5rem; }
@media (max-width: 700px) {
	.sw-logo img { width: 130px; }
	.sw-header-call { display: none; }
}

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(224, 137, 43, .7); }
.is-style-outline > .wp-block-button__link { border-width: 1.5px; }
.sw-btn-ghost .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--navy) !important;
	border: 1.5px solid rgba(22, 41, 77, .25) !important;
}
.sw-btn-ghost .wp-block-button__link:hover { border-color: var(--wp--preset--color--navy) !important; box-shadow: none; }

/* ---------- Scroll hero ---------- */
.sw-scrolly { position: relative; height: 320vh; background: #efe9df; }
.sw-scrolly > *, .sw-scrolly__sticky { max-width: none !important; width: 100%; margin: 0 !important; }
.sw-scrolly__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sw-scrolly canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sw-scrolly__dim { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(120% 90% at 75% 45%, rgba(60, 35, 15, .35), rgba(25, 15, 8, .85)); mix-blend-mode: multiply; }
.sw-scrolly__shade {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(250, 246, 239, .92) 0%, rgba(250, 246, 239, .72) 30%, rgba(250, 246, 239, 0) 58%);
}
.sw-scrolly__copy {
	position: absolute; left: 0; right: 0; top: 50%;
	transform: translateY(-46%);
	max-width: 1240px; margin: 0 auto;
	padding: 0 clamp(1.25rem, 5vw, 2.5rem);
	pointer-events: none;
}
.sw-scrolly__copy { display: grid; }
.sw-stage { grid-area: 1 / 1; align-self: center; position: relative; max-width: 560px; opacity: 0; transform: translateY(30px); transition: none; will-change: opacity, transform; }
.sw-stage * { pointer-events: auto; }
.sw-stage h1, .sw-stage h2 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	color: var(--wp--preset--color--navy);
	font-size: clamp(2.6rem, 6.2vw, 5.4rem);
	line-height: .98;
	letter-spacing: -0.035em;
	margin: 0 0 1.1rem;
}
.sw-stage h1 span, .sw-stage h2 span { color: var(--wp--preset--color--sun); }
.sw-stage p { font-size: clamp(1.02rem, 1.4vw, 1.2rem); line-height: 1.6; color: #3d4a63; margin: 0 0 1.6rem; max-width: 460px; }
.sw-stage .sw-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.sw-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: .95rem 1.5rem; border-radius: 999px;
	font-weight: 700; font-size: 1rem; text-decoration: none;
	transition: transform .25s ease, box-shadow .25s ease;
}
.sw-btn:hover { transform: translateY(-2px); }
.sw-btn--sun { background: var(--wp--preset--color--sun); color: #fff; box-shadow: 0 14px 30px -14px rgba(224, 137, 43, .9); }
.sw-btn--line { background: rgba(255, 255, 255, .7); color: var(--wp--preset--color--navy); border: 1.5px solid rgba(22, 41, 77, .2); }
.sw-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.sw-chips li { background: rgba(255, 255, 255, .78); border: 1px solid rgba(22, 41, 77, .12); padding: .55rem 1rem; border-radius: 999px; font-weight: 600; color: var(--wp--preset--color--navy); font-size: .95rem; }
.sw-scrolly__progress { position: absolute; left: max(clamp(1.25rem, 5vw, 2.5rem), calc((100% - 1240px) / 2 + clamp(1.25rem, 5vw, 2.5rem))); bottom: 2.2rem; display: flex; align-items: center; gap: .8rem; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--navy); }
.sw-scrolly__bar { width: 140px; height: 3px; background: rgba(22, 41, 77, .15); border-radius: 3px; overflow: hidden; }
.sw-scrolly__bar i { display: block; height: 100%; width: 0; background: var(--wp--preset--color--sun); }
.sw-scrolly__loader { position: absolute; inset: 0; display: grid; place-items: center; background: #efe9df; transition: opacity .6s ease; z-index: 2; }
.sw-scrolly__loader.is-done { opacity: 0; pointer-events: none; }
.sw-scrolly__loader span { width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(22, 41, 77, .12); border-top-color: var(--wp--preset--color--sun); animation: swspin 1s linear infinite; }
@keyframes swspin { to { transform: rotate(360deg); } }

@media (max-width: 760px) {
	.sw-scrolly { height: 280vh; }
	.sw-scrolly__shade { background: linear-gradient(180deg, rgba(250, 246, 239, .95) 0%, rgba(250, 246, 239, .8) 38%, rgba(250, 246, 239, 0) 62%); }
	.sw-scrolly__copy { top: 6.5rem; transform: none; }
	.sw-stage { max-width: 100%; align-self: start; }
	.sw-stage p { margin-bottom: 1.1rem; }
	.sw-btn { padding: .8rem 1.2rem; font-size: .95rem; }
}

/* ---------- Lenis ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* ---------- Shared ---------- */
:root { --sw-ease: cubic-bezier(.2,.7,.1,1); --sw-pad: clamp(1.25rem, 5vw, 2.5rem); }
.sw-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--sw-pad); }
main.wp-block-group > .alignfull, main.wp-block-group > .wp-block-html > .alignfull { max-width: none !important; }
.sw-accent { font-style: normal !important; color: var(--wp--preset--color--sun); }
.sw-h2 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800; letter-spacing: -0.04em; line-height: .98;
	font-size: clamp(2.4rem, 6vw, 5.2rem);
	color: var(--wp--preset--color--navy); margin: 0;
}
.sw-h2--light { color: #fff; }
body::after { /* film grain */
	content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 100; opacity: .05;
	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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Reveal helpers */
.sw-js .rv { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--sw-ease), transform 1s var(--sw-ease); }
.sw-js .rv.is-in { opacity: 1; transform: none; }
.sw-js .rv-img { clip-path: inset(12% 6% 12% 6% round 28px); transition: clip-path 1.4s var(--sw-ease); }
.sw-js .rv-img.is-in { clip-path: inset(0 0 0 0 round 28px); }
.rv-lines .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rv-lines .w > span { display: inline-block; }
.sw-js .rv-lines .w > span { transform: translateY(110%); transition: transform 1s var(--sw-ease); transition-delay: calc(var(--i) * 45ms); }
.sw-js .rv-lines.is-in .w > span { transform: none; }

/* ---------- Marquee ---------- */
.sw-marquee { background: var(--wp--preset--color--navy); color: #fff; overflow: hidden; padding: 1.4rem 0; position: relative; z-index: 2; }
.sw-marquee__track { display: flex; width: max-content; gap: 2.2rem; align-items: center; animation: swmarq 38s linear infinite; }
.sw-marquee span { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; white-space: nowrap; }
.sw-marquee i { font-style: normal; color: var(--wp--preset--color--sun); font-size: 1.1rem; }
@keyframes swmarq { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.sw-statement { padding: clamp(6rem, 14vw, 12rem) 0 clamp(4rem, 8vw, 7rem); }
.sw-statement__text {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 600; letter-spacing: -0.03em; line-height: 1.12;
	font-size: clamp(1.9rem, 4.4vw, 4rem); color: var(--wp--preset--color--navy);
	max-width: 1100px; margin: 0;
}
.sw-statement__text .sw-word { opacity: .14; transition: opacity .25s linear; }
.sw-statement__text .sw-word.on { opacity: 1; }

/* ---------- Light lab ---------- */
.sw-lab { padding-bottom: clamp(5rem, 10vw, 9rem); }
.sw-lab__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.sw-lab__note { max-width: 340px; color: #56627a; margin: 0; }
.sw-lab__stage { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 9; background: #e9e2d6; box-shadow: 0 60px 120px -60px rgba(22,41,77,.55); }
.sw-lab__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sw-lab__closed { opacity: 0; }
.sw-lab__ui {
	position: absolute; left: 50%; bottom: clamp(1rem, 3vw, 2rem); transform: translateX(-50%);
	display: flex; align-items: center; gap: 1rem; padding: .8rem 1.2rem; border-radius: 999px;
	background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
	box-shadow: 0 20px 40px -20px rgba(22,41,77,.5); width: min(560px, 88%);
}
.sw-lab__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--navy); white-space: nowrap; }
.sw-lab__val { font-family: var(--wp--preset--font-family--display); font-weight: 800; color: var(--wp--preset--color--sun); min-width: 3.2ch; text-align: right; }
.sw-lab__range { -webkit-appearance: none; appearance: none; flex: 1; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--wp--preset--color--sun) var(--p, 0%), rgba(22,41,77,.18) var(--p, 0%)); outline: none; cursor: grab; }
.sw-lab__range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--wp--preset--color--sun); box-shadow: 0 6px 16px rgba(0,0,0,.25); }
.sw-lab__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 6px solid var(--wp--preset--color--sun); }
@media (max-width: 640px) { .sw-lab__stage { aspect-ratio: 4 / 5; } .sw-lab__label { display: none; } }

/* ---------- Real footage ---------- */
.sw-real { padding: clamp(5rem, 10vw, 9rem) 0; background: linear-gradient(180deg, var(--wp--preset--color--cream), var(--wp--preset--color--sand)); overflow: hidden; }
.sw-real__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.sw-real__lead { color: #4a5670; font-size: 1.1rem; max-width: 480px; margin: 1.5rem 0; }
.sw-real__ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.sw-real__ticks li { display: flex; align-items: center; gap: .8rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.sw-real__ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--wp--preset--color--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.sw-real__phones { display: flex; gap: clamp(1rem, 2vw, 1.75rem); justify-content: center; align-items: flex-start; }
.sw-phone-card { margin: 0; width: min(46%, 280px); position: relative; }
.sw-phone-card--offset { margin-top: 4.5rem; }
.sw-phone-card video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 30px; background: #ddd4c6; border: 6px solid #fff; box-shadow: 0 50px 90px -40px rgba(22,41,77,.6), 0 0 0 1px rgba(22,41,77,.08); }
.sw-phone-card figcaption { position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); white-space: nowrap; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border-radius: 999px; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: .8rem; font-weight: 700; color: var(--wp--preset--color--navy); }
.sw-dot { width: 8px; height: 8px; border-radius: 50%; background: #e5483d; animation: swpulse 1.6s ease-in-out infinite; }
@keyframes swpulse { 50% { opacity: .3; } }
@media (max-width: 860px) { .sw-real__grid { grid-template-columns: 1fr; } .sw-phone-card--offset { margin-top: 2.5rem; } }

/* ---------- Rows ---------- */
.sw-rows { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.sw-rows__head { margin-bottom: 3rem; }
.sw-rows__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(22,41,77,.15); }
.sw-row {
	display: grid; grid-template-columns: 5rem 1.2fr 1fr; align-items: center; gap: 1.5rem;
	padding: clamp(1.6rem, 3vw, 2.6rem) 0; border-bottom: 1px solid rgba(22,41,77,.15);
	cursor: default; position: relative; transition: padding .5s var(--sw-ease);
}
.sw-row::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--wp--preset--color--sun); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--sw-ease); }
.sw-row:hover::before { transform: scaleX(1); }
.sw-row__num { font-family: var(--wp--preset--font-family--display); font-weight: 700; color: var(--wp--preset--color--sun); font-size: 1rem; }
.sw-row__title { margin: 0; font-family: var(--wp--preset--font-family--display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1; color: var(--wp--preset--color--navy); transition: transform .6s var(--sw-ease); }
.sw-row:hover .sw-row__title { transform: translateX(14px); }
.sw-row__desc { margin: 0; color: #56627a; max-width: 380px; justify-self: end; }
.sw-row__thumb { display: none; }
.sw-cursor-img { position: fixed; top: 0; left: 0; width: 300px; aspect-ratio: 4 / 5; pointer-events: none; z-index: 40; border-radius: 18px; overflow: hidden; opacity: 0; transform: translate(-50%, -50%) scale(.85); transition: opacity .35s ease, transform .5s var(--sw-ease); box-shadow: 0 40px 80px -30px rgba(22,41,77,.6); }
.sw-cursor-img.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.sw-cursor-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px), (hover: none) {
	.sw-row { grid-template-columns: 3rem 1fr; }
	.sw-row__desc { grid-column: 2; justify-self: start; }
	.sw-row__thumb { display: block; grid-column: 1 / -1; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; margin-top: .5rem; }
	.sw-cursor-img { display: none; }
}

/* ---------- Horizontal gallery ---------- */
.sw-hscroll { position: relative; background: var(--wp--preset--color--sand); }
.sw-hscroll__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.sw-hscroll__intro { flex: none; width: clamp(300px, 34vw, 500px); align-self: center; margin-right: clamp(1rem, 4vw, 4rem); }
.sw-hscroll__intro .sw-h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
.sw-hscroll__hint { margin-top: 1.2rem; font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--navy); }
.sw-hscroll__hint span { display: inline-block; animation: swnudge 1.6s ease-in-out infinite; color: var(--wp--preset--color--sun); }
@keyframes swnudge { 50% { transform: translateX(8px); } }
.sw-hscroll__track { display: flex; gap: clamp(1rem, 2vw, 2rem); align-items: flex-end; padding-left: var(--sw-pad); padding-right: 8vw; will-change: transform; }
.sw-card { margin: 0; flex: none; }
.sw-card__media { overflow: hidden; border-radius: 22px; background: #ddd4c6; }
.sw-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.sw-card--tall { width: clamp(240px, 24vw, 360px); }
.sw-card--tall .sw-card__media { aspect-ratio: 4 / 5; }
.sw-card--wide { width: clamp(340px, 44vw, 660px); }
.sw-card--wide .sw-card__media { aspect-ratio: 16 / 10; }
.sw-card figcaption { padding-top: 1rem; color: #56627a; font-size: .95rem; max-width: 360px; }
.sw-card figcaption span { display: block; font-family: var(--wp--preset--font-family--display); font-weight: 700; color: var(--wp--preset--color--sun); font-size: .85rem; margin-bottom: .3rem; }
.sw-card figcaption strong { display: block; font-family: var(--wp--preset--font-family--display); color: var(--wp--preset--color--navy); font-size: 1.25rem; letter-spacing: -0.02em; margin-bottom: .2rem; }
.sw-hscroll__bar { position: absolute; left: var(--sw-pad); right: var(--sw-pad); bottom: 2rem; height: 2px; background: rgba(22,41,77,.12); }
.sw-hscroll__bar i { display: block; height: 100%; width: 0; background: var(--wp--preset--color--sun); }
@media (max-width: 760px) {
	.sw-hscroll__intro { width: 78vw; }
	.sw-card--tall { width: 64vw; } .sw-card--wide { width: 82vw; }
	.sw-card figcaption { font-size: .88rem; }
}

/* ---------- Process ---------- */
.sw-process { background: var(--wp--preset--color--navy); color: #fff; padding: clamp(6rem, 12vw, 10rem) 0; }
.sw-process__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.sw-process__side { position: sticky; top: 8rem; align-self: start; }
.sw-process__side .sw-btn { margin-top: 2rem; }
.sw-steps { list-style: none; margin: 0; padding: 0 0 0 3.2rem; position: relative; }
.sw-steps__line { position: absolute; left: .7rem; top: .6rem; bottom: .6rem; width: 2px; background: rgba(255,255,255,.14); }
.sw-steps__line i { display: block; width: 100%; height: 0; background: var(--wp--preset--color--sun); box-shadow: 0 0 18px rgba(224,137,43,.7); }
.sw-step2 { position: relative; padding: 0 0 clamp(4rem, 10vh, 7rem); opacity: .35; transition: opacity .6s ease; }
.sw-step2.on { opacity: 1; }
.sw-step2::before { content: ""; position: absolute; left: -3.2rem; top: .45rem; width: 1.4rem; height: 1.4rem; margin-left: .05rem; border-radius: 50%; background: var(--wp--preset--color--navy); border: 2px solid rgba(255,255,255,.3); transition: all .5s var(--sw-ease); }
.sw-step2.on::before { background: var(--wp--preset--color--sun); border-color: var(--wp--preset--color--sun); box-shadow: 0 0 0 8px rgba(224,137,43,.18); }
.sw-step2__num { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.5); display: block; margin-bottom: .8rem; }
.sw-step2.on .sw-step2__num { -webkit-text-stroke-color: var(--wp--preset--color--sun); }
.sw-step2 h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 .6rem; letter-spacing: -0.02em; }
.sw-step2 p { color: rgba(255,255,255,.72); max-width: 420px; margin: 0; font-size: 1.05rem; }
@media (max-width: 860px) { .sw-process__grid { grid-template-columns: 1fr; } .sw-process__side { position: relative; top: 0; } }

/* ---------- Find us (map in a window) ---------- */
.sw-find { padding: clamp(5rem, 10vw, 9rem) 0; background: var(--wp--preset--color--cream); overflow: hidden; }
.sw-find__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.sw-find__addr { font-style: normal; font-family: var(--wp--preset--font-family--display); font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.2rem); letter-spacing: -0.02em; line-height: 1.2; color: var(--wp--preset--color--navy); margin: 1.5rem 0 2rem; }
.sw-find__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.sw-mapwin { position: relative; }
.sw-mapwin__frame { position: relative; aspect-ratio: 4 / 3.2; border-radius: 6px; overflow: hidden; background: #e8e1d5; border: 14px solid #fff; box-shadow: inset 0 0 0 1px rgba(22,41,77,.08), 0 50px 100px -50px rgba(22,41,77,.6); }
.sw-mapwin iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.25) saturate(1.1) contrast(1.02); }
.sw-mapwin.is-open .sw-mapwin__pin { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -150%); opacity: 0; transition: opacity .5s ease .3s, transform .8s cubic-bezier(.3,1.6,.5,1) .3s; pointer-events: none; }
.sw-mapwin.is-open .sw-mapwin__pin { opacity: 1; transform: translate(-50%, -195%); }
.sw-mapwin__pin span { display: inline-block; background: var(--wp--preset--color--navy); color: #fff; font-weight: 700; font-size: .78rem; letter-spacing: .06em; padding: .45rem .8rem; border-radius: 999px; box-shadow: 0 10px 20px -6px rgba(22,41,77,.6); white-space: nowrap; }
.sw-mapwin__pin span::before { content: "☀ "; color: var(--wp--preset--color--gold); }
.sw-mapwin__sill { height: 16px; margin: 0 -10px; background: linear-gradient(180deg, #fff, #e9e2d6); border-radius: 0 0 6px 6px; box-shadow: 0 14px 24px -14px rgba(22,41,77,.45); }
@media (max-width: 860px) { .sw-find__grid { grid-template-columns: 1fr; } .sw-mapwin__frame { aspect-ratio: 4 / 4.4; } }

/* ---------- CTA ---------- */
.sw-cta { position: relative; overflow: hidden; background: #0f1d38; color: #fff; padding: clamp(7rem, 14vw, 12rem) 0; }
.sw-cta__glow { position: absolute; width: 900px; height: 900px; left: var(--mx, 70%); top: var(--my, 40%); transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(242,181,68,.55), rgba(224,137,43,.18) 40%, transparent 70%); filter: blur(20px); pointer-events: none; transition: left .8s var(--sw-ease), top .8s var(--sw-ease); }
.sw-cta__inner { position: relative; }
.sw-cta__title { font-family: var(--wp--preset--font-family--display); font-weight: 800; letter-spacing: -0.045em; line-height: .92; font-size: clamp(3rem, 9vw, 8.5rem); margin: 0 0 3rem; color: #fff; }
.sw-cta__phones { display: flex; flex-wrap: wrap; gap: 1rem 3rem; margin-bottom: 2.5rem; }
.sw-cta__phones a { font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 3.2rem); color: #fff; text-decoration: none; letter-spacing: -0.03em; border-bottom: 2px solid rgba(255,255,255,.2); padding-bottom: .3rem; transition: color .3s, border-color .3s; display: inline-block; }
.sw-cta__phones a:hover { color: var(--wp--preset--color--gold); border-color: var(--wp--preset--color--sun); }
.sw-cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; color: rgba(255,255,255,.7); }
.sw-cta .sw-eyebrow { color: var(--wp--preset--color--gold); }
.sw-magnetic { will-change: transform; transition: transform .4s var(--sw-ease); }

/* ---------- Footer ---------- */
.sw-foot { background: #0b1630; color: rgba(255,255,255,.7); padding: 5rem 0 2rem; overflow: hidden; font-size: .95rem; }
.sw-foot a { color: #fff; text-decoration: none; transition: color .3s; }
.sw-foot a:hover { color: var(--wp--preset--color--gold); }
.sw-foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.sw-foot__grid p { margin: 0; line-height: 1.8; }
.sw-foot__lead { color: #fff; font-family: var(--wp--preset--font-family--display); font-size: 1.4rem; line-height: 1.3 !important; letter-spacing: -0.02em; max-width: 340px; }
.sw-foot__label { font-size: .72rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--sun); margin-bottom: .5rem !important; }
.sw-foot__word { font-family: var(--wp--preset--font-family--display); font-weight: 800; letter-spacing: -0.06em; line-height: .8; font-size: clamp(6rem, 26vw, 24rem); margin: 3rem 0 1.5rem; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); white-space: nowrap; }
.sw-foot__word span { color: var(--wp--preset--color--sun); -webkit-text-stroke: 0; font-size: .55em; }
.sw-foot__note { opacity: .55; font-size: .78rem; }
.sw-foot__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; font-size: .85rem; }
@media (max-width: 760px) { .sw-foot__grid { grid-template-columns: 1fr 1fr; } .sw-foot__grid > div:first-child { grid-column: 1 / -1; } }

/* Template pages */
.sw-section { padding-top: clamp(4.5rem, 9vw, 8rem) !important; padding-bottom: clamp(4.5rem, 9vw, 8rem) !important; }
.sw-section-title { font-family: var(--wp--preset--font-family--display); font-weight: 800 !important; letter-spacing: -0.03em; line-height: 1.02 !important; font-size: clamp(2.1rem, 4.6vw, 3.6rem) !important; }

@media (prefers-reduced-motion: reduce) {
	.sw-js .rv, .sw-js .rv-img, .sw-js .rv-lines .w > span { opacity: 1; transform: none; clip-path: none; transition: none; }
	.sw-marquee__track { animation: none; }
	.sw-statement__text .sw-word { opacity: 1; }
}

/* Policy / basic pages */
.sw-page { max-width: 760px; margin: 0 auto; }
.sw-page h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 2.5rem; }
.sw-page p, .sw-page li { color: #3d4a63; line-height: 1.75; }
.sw-page a { color: var(--wp--preset--color--sun); }
.sw-page .sw-eyebrow { margin-bottom: 2rem !important; }
