/* The Snug Nook — component styles and motion. Colors and type come from theme.json. */

:root {
	--sn-pine: var(--wp--preset--color--pine, #1E3A34);
	--sn-pine-soft: var(--wp--preset--color--pine-soft, #2C5047);
	--sn-pine-deep: var(--wp--preset--color--pine-deep, #17302A);
	--sn-cream: var(--wp--preset--color--cream, #FBF8F2);
	--sn-sand: var(--wp--preset--color--sand, #E8E1D4);
	--sn-marigold: var(--wp--preset--color--marigold, #F6C744);
	--sn-coral: var(--wp--preset--color--coral, #E4572E);
	--sn-coral-deep: var(--wp--preset--color--coral-deep, #C8431F);
	--sn-muted: var(--wp--preset--color--muted, #3E4A44);
	--sn-taupe: var(--wp--preset--color--taupe, #5C5345);
	--sn-ease: cubic-bezier(.2, .7, .2, 1);
	--sn-arch: 999px 999px 28px 28px;
}

body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { height: auto; }
:where(a) { text-underline-offset: 4px; text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sn-marigold); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Type helpers ---------- */
.sn-script, .is-style-script { font-family: var(--wp--preset--font-family--script); font-weight: 700; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; color: var(--sn-coral-deep); letter-spacing: 0; }
.sn-kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sn-coral-deep); }
.sn-hero-title em { font-style: normal; position: relative; display: inline-block; color: var(--sn-coral-deep); }
.sn-hero-title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.18em; height: .26em; background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 26' preserveAspectRatio='none'%3E%3Cpath d='M4 18C70 6 160 4 296 14' stroke='%23F6C744' stroke-width='9' stroke-linecap='round' fill='none'/%3E%3C/svg%3E"); animation: sn-wipe 1.1s .7s cubic-bezier(.6, 0, .2, 1) both; }
@keyframes sn-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.sn-picker [hidden] { display: none !important; }
.wp-block-query-pagination { gap: 10px; justify-content: center; margin-top: 40px; }
.wp-block-query-pagination .page-numbers, .wp-block-query-pagination-previous, .wp-block-query-pagination-next { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 52px; padding: 0 18px; box-sizing: border-box; border-radius: 999px 999px 14px 14px; border: 1.5px solid var(--sn-pine); background: #fff; color: var(--sn-pine); text-decoration: none; font-weight: 700; transition: background-color .25s, color .25s; }
.wp-block-query-pagination .page-numbers.current, .wp-block-query-pagination a:hover { background: var(--sn-pine); color: var(--sn-cream); }
.wp-block-query-pagination .page-numbers.dots { border: 0; background: none; }
.has-drop-cap:not(:focus)::first-letter { font-family: var(--wp--preset--font-family--display); font-weight: 800; color: var(--sn-coral-deep); font-size: 4.4em; line-height: .8; margin: .08em .12em 0 0; }

/* ---------- Header ---------- */
.sn-header { padding-block: 18px; }
.sn-header .wp-block-site-title a { color: var(--sn-pine); }
.sn-brand { display: flex; align-items: center; gap: 10px; }
.sn-brand svg { width: 42px; height: 42px; flex-shrink: 0; }
.sn-nav.wp-block-navigation { background: #fff; border: 1px solid var(--sn-sand); border-radius: 999px; padding: 6px; }
.sn-nav .wp-block-navigation-item__content { padding: 10px 16px !important; border-radius: 999px; transition: background-color .25s, color .25s; }
.sn-nav .wp-block-navigation-item__content:hover { background: var(--sn-cream); color: var(--sn-coral-deep); }
.sn-nav .current-menu-item > .wp-block-navigation-item__content,
.sn-nav .wp-block-navigation-item__content[aria-current="page"] { background: var(--sn-pine); color: var(--sn-cream); }
.sn-nav .wp-block-navigation__responsive-container-open { padding: 6px 10px; }
@media (max-width: 781px) {
	.sn-nav.wp-block-navigation { background: transparent; border: 0; padding: 0; order: 3; }
	.sn-header > .wp-block-group { flex-wrap: nowrap !important; gap: 10px; }
	.sn-header .sn-brand { margin-right: auto; }
	.sn-header .wp-block-buttons { display: none; }
	.sn-header .wp-block-site-title { font-size: 22px !important; }
	.sn-brand svg { width: 34px; height: 34px; }
	.sn-chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px !important; padding: 4px 16px; scrollbar-width: none; }
	.sn-chips::-webkit-scrollbar { display: none; }
	.sn-chips .sn-chip { flex-shrink: 0; scroll-snap-align: start; }
}
.sn-icon-btn .wp-block-search__button { width: 48px; height: 48px; min-width: 48px; padding: 0; margin: 0; border-radius: 50%; border: 1px solid var(--sn-sand); background: #fff; color: var(--sn-pine); display: inline-flex; align-items: center; justify-content: center; }
.sn-icon-btn .wp-block-search__button svg { width: 22px; height: 22px; fill: currentColor; min-width: 22px; }
.sn-icon-btn .wp-block-search__button:hover { background: var(--sn-pine); color: var(--sn-cream); }
.sn-icon-btn .wp-block-search__input { border-radius: 999px; border: 1px solid var(--sn-sand); padding: 0 18px; height: 48px; box-sizing: border-box; font: inherit; font-size: 16px; }
.sn-icon-btn.wp-block-search__searchfield-hidden .wp-block-search__inside-wrapper { border: 0; }

/* ---------- Buttons ---------- */
.wp-block-button__link { transition: transform .2s var(--sn-ease), background-color .2s, color .2s; }
.wp-block-button__link:hover { transform: translateY(-2px); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; border: 1.5px solid currentColor; color: var(--sn-pine); padding: 14px 25px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--sn-pine); color: var(--sn-cream); border-color: var(--sn-pine); }
.wp-block-button.is-style-marigold > .wp-block-button__link { background: var(--sn-marigold); color: var(--sn-pine); }
.wp-block-button.is-style-marigold > .wp-block-button__link:hover { background: var(--sn-cream); color: var(--sn-pine); }

/* ---------- Images ---------- */
.is-style-arch img, .wp-block-post-featured-image.is-style-arch img, .sn-arch-img img { border-radius: var(--sn-arch) !important; }
.sn-zoom { overflow: hidden; }
.sn-zoom img { transition: transform .8s var(--sn-ease); }
.sn-zoom:hover img { transform: scale(1.05); }

/* ---------- Chips ---------- */
.sn-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.sn-chip, .sn-chips .wp-block-button__link, .sn-chips a { display: inline-block; background: #fff; color: var(--sn-pine) !important; border: 1.5px solid var(--sn-pine); font-weight: 700; font-size: 16px; padding: 13px 20px; border-radius: 999px; text-decoration: none; transition: background-color .25s, color .25s; cursor: pointer; font-family: inherit; line-height: 1.2; }
.sn-chip:hover, .sn-chips a:hover, .sn-chip[aria-pressed="true"] { background: var(--sn-pine); color: var(--sn-cream) !important; }

/* ---------- Cards (query loops) ---------- */
.sn-cards .wp-block-post { background: #fff; border: 1px solid var(--sn-sand); border-radius: 28px; padding: 14px 14px 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--sn-ease), box-shadow .35s; }
.sn-cards .wp-block-post:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgba(30, 58, 52, .35); }
.sn-cards .wp-block-post-featured-image { margin: 0; overflow: hidden; border-radius: 20px; }
.sn-cards .wp-block-post-featured-image img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; transition: transform .8s var(--sn-ease); }
.sn-cards .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.sn-cards .wp-block-post-terms, .sn-cards .wp-block-post-title { padding-inline: 10px; margin: 0; }
.sn-cards .wp-block-post-title { font-size: clamp(21px, 2vw, 25px); line-height: 1.12; }
.sn-cards .wp-block-post-title a { color: var(--sn-pine); }
.sn-cards.sn-cards--arch .wp-block-post-featured-image img { border-radius: var(--sn-arch); aspect-ratio: 4 / 3.2; }
@media (min-width: 900px) {
	.sn-archive-grid .wp-block-post-template > .wp-block-post:first-child { grid-column: span 2; flex-direction: row; align-items: center; background: var(--sn-pine); border-color: var(--sn-pine); padding: 0; overflow: hidden; }
	.sn-archive-grid .wp-block-post-template > .wp-block-post:first-child .wp-block-post-featured-image { flex: 1 1 55%; border-radius: 0; }
	.sn-archive-grid .wp-block-post-template > .wp-block-post:first-child .wp-block-post-featured-image img { aspect-ratio: 4 / 3; border-radius: 0; height: 100%; }
	.sn-archive-grid .wp-block-post-template > .wp-block-post:first-child .sn-card-body { flex: 1 1 45%; padding: 32px; }
	.sn-archive-grid .wp-block-post-template > .wp-block-post:first-child .wp-block-post-title { font-size: clamp(28px, 3vw, 42px); }
	.sn-archive-grid .wp-block-post-template > .wp-block-post:first-child .wp-block-post-title a { color: var(--sn-cream); }
	.sn-archive-grid .wp-block-post-template > .wp-block-post:first-child .wp-block-post-terms a { color: var(--sn-marigold); }
}
.sn-card-body { display: flex; flex-direction: column; gap: 10px; }
.sn-cards .wp-block-post-excerpt { padding-inline: 10px; margin: 0; color: var(--sn-muted); font-size: 16px; line-height: 1.55; }
.sn-archive-grid .wp-block-post-template > .wp-block-post:first-child .wp-block-post-excerpt { color: #D3DED8; }

/* ---------- Home hero ---------- */
.sn-hero-media { position: relative; min-height: 600px; }
.sn-hero-media .sn-hero-a { position: absolute; left: 4%; top: 0; width: 52%; margin: 0; }
.sn-hero-media .sn-hero-a img { height: 560px; object-fit: cover; border-radius: var(--sn-arch); }
.sn-hero-media .sn-hero-b { position: absolute; right: 0; top: 140px; width: 42%; margin: 0; }
.sn-hero-media .sn-hero-b img { height: 400px; object-fit: cover; border-radius: var(--sn-arch); border: 8px solid var(--sn-cream); }
.sn-sticker { position: absolute; right: 30%; top: 24px; width: 150px; height: 150px; border-radius: 50%; background: var(--sn-marigold); display: flex; align-items: center; justify-content: center; text-align: center; transform: rotate(-12deg); font-family: var(--wp--preset--font-family--script); font-weight: 700; font-size: 30px; line-height: .95; color: var(--sn-pine); margin: 0 !important; z-index: 2; }
@media (max-width: 781px) {
	.sn-hero-media { min-height: 400px; margin-top: 8px; }
	.sn-hero-media .sn-hero-a img { height: 380px; }
	.sn-hero-media .sn-hero-b { top: 120px; }
	.sn-hero-media .sn-hero-b img { height: 280px; }
	.sn-sticker { width: 112px; height: 112px; font-size: 23px; right: 34%; }
}

/* ---------- Marquee ---------- */
.sn-marquee { background: var(--sn-pine); color: var(--sn-cream); overflow: hidden; padding-block: 22px; white-space: nowrap; }
.sn-marquee p { margin: 0; }
.sn-track { display: flex; width: max-content; gap: 28px; font-family: var(--wp--preset--font-family--display); font-weight: 700; font-size: 26px; letter-spacing: .04em; text-transform: uppercase; }
.sn-track .dot { color: var(--sn-marigold); }
.sn-track .hand { font-family: var(--wp--preset--font-family--script); text-transform: none; color: var(--sn-marigold); font-size: 34px; letter-spacing: 0; }

/* ---------- Problem picker ---------- */
.sn-picker [data-sn-panel][hidden] { display: none !important; }

/* ---------- Method ---------- */
.sn-method-step { background: var(--sn-cream); border-radius: 28px; padding: 26px; }
.sn-method-step .sn-num { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 72px; line-height: .85; margin: 0; }

/* ---------- Room tiles (arches) ---------- */
.sn-rooms { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 20px; }
.sn-room { text-align: center; margin: 0 !important; }
.sn-room a { text-decoration: none; color: var(--sn-pine); display: flex; flex-direction: column; align-items: center; gap: 14px; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 26px; }
.sn-room img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--sn-arch); transition: border-radius .5s var(--sn-ease), transform .5s var(--sn-ease); }
.sn-room a:hover img { border-radius: 28px; transform: translateY(-6px); }
.sn-room figcaption { margin: 12px 0 0; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 26px; color: var(--sn-pine); }

.sn-brand-arch { width: 220px; max-width: 100%; aspect-ratio: 220 / 280; border-radius: var(--sn-arch); background: var(--sn-pine); display: flex; align-items: center; justify-content: center; }
.sn-brand-arch svg { width: 58%; height: auto; }

/* ---------- Article components ---------- */
.is-style-disclosure { font-size: 14px !important; line-height: 1.6; color: var(--sn-taupe); background: #fff; border: 1px solid var(--sn-sand); border-radius: 16px; padding: 14px 18px; }
.sn-picks { background: var(--sn-pine); color: var(--sn-cream); border-radius: 36px; padding: clamp(22px, 3vw, 36px) !important; }
.sn-picks h2, .sn-picks h3 { color: var(--sn-cream); margin: 0; }
.sn-picks .sn-script { color: var(--sn-marigold); }
.sn-pick { background: var(--sn-cream); color: var(--wp--preset--color--ink); border-radius: 24px; padding: 16px !important; height: 100%; box-sizing: border-box; transition: transform .35s var(--sn-ease); }
.sn-pick:hover { transform: translateY(-6px); }
.sn-pick .wp-block-image, .sn-product .wp-block-image { width: 100%; margin: 0; }
.sn-pick .wp-block-image img, .sn-product .wp-block-image img { width: 100%; }
.sn-pick .wp-block-image img { border-radius: var(--sn-arch); aspect-ratio: 1 / 1.1; object-fit: cover; background: #fff; }
.sn-pick .sn-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: var(--sn-pine); color: #fff; margin: 0; }
.sn-pick .sn-badge.is-budget { background: var(--sn-marigold); color: var(--sn-pine); }
.sn-pick .sn-badge.is-renter { background: var(--sn-sand); color: var(--sn-pine); }
.sn-pick .wp-block-button, .sn-pick .wp-block-button__link { width: 100%; text-align: center; }
@media (max-width: 600px) {
	.sn-pick { display: grid !important; grid-template-columns: 84px 1fr; column-gap: 14px; row-gap: 4px; align-items: center; height: auto; }
	.sn-pick > .wp-block-image { grid-row: 1 / span 2; width: 84px; }
	.sn-pick > .sn-badge { align-self: end; justify-self: start; }
	.sn-pick > p:not(.sn-badge) { align-self: start; margin: 0; }
	.sn-pick > .wp-block-buttons { grid-column: 1 / -1; margin-top: 10px; }
}
.sn-product { background: #fff; border: 1px solid var(--sn-sand); border-radius: 28px; padding: 22px !important; }
.sn-product .wp-block-image img { border-radius: var(--sn-arch); aspect-ratio: 1 / 1.12; object-fit: cover; }
.sn-product h3 { font-size: 23px; margin: 0; }
.sn-product ul { margin: 0; padding-left: 20px; font-size: 16px; line-height: 1.6; color: var(--sn-muted); }
.sn-product .wp-block-buttons { flex-direction: column; align-items: stretch; }
.sn-product .wp-block-button__link { width: 100%; text-align: center; font-size: 16px; padding-inline: 18px; white-space: nowrap; }
.sn-product .wp-block-button { width: 100%; }
.sn-tip { position: relative; background: var(--sn-marigold); border-radius: 28px; padding: 28px 32px 28px 112px !important; }
.sn-tip::before { content: ""; position: absolute; left: 32px; top: 28px; width: 56px; height: 56px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none'%3E%3Cpath d='M7 35V18a13 13 0 0 1 26 0v17' stroke='%231E3A34' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M13 27h14' stroke='%231E3A34' stroke-width='3.2' stroke-linecap='round'/%3E%3Ccircle cx='17' cy='21.5' r='2.6' fill='%23FBF8F2'/%3E%3Ccircle cx='23.5' cy='21.5' r='2.6' fill='%23E4572E'/%3E%3C/svg%3E"); }
.sn-tip p { margin: 0; color: var(--sn-pine); }
.sn-tip .sn-script { color: var(--sn-pine); }
.sn-tip p:not(.sn-script) { font-weight: 600; font-size: 19px; line-height: 1.55; }
@media (max-width: 600px) { .sn-tip { padding: 22px !important; } .sn-tip::before { display: none; } }

/* Numbered idea headings: 01, 02, 03 … */
.wp-block-post-content { counter-reset: sn-idea; }
h2.is-style-numbered { counter-increment: sn-idea; display: flex; gap: 18px; align-items: baseline; margin-top: 1.6em; }
h2.is-style-numbered::before { content: counter(sn-idea, decimal-leading-zero); font-size: 1.6em; line-height: .8; color: var(--sn-marigold); flex-shrink: 0; }
h2.is-style-numbered:nth-of-type(3n+2)::before { color: var(--sn-coral); }
h2.is-style-numbered:nth-of-type(3n)::before { color: var(--sn-pine); }

/* Post layout */
.sn-entry { max-width: 780px; }
.sn-entry > * + * { margin-top: 26px; }
.sn-entry .wp-block-image img { border-radius: 28px; }
.sn-entry .wp-block-image.is-style-arch img { border-radius: var(--sn-arch); }
.sn-toc { background: #fff; border: 1px solid var(--sn-sand); border-radius: 28px; padding: 26px 28px; }
.sn-toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: toc; }
.sn-toc li { counter-increment: toc; }
.sn-toc a { display: flex; gap: 12px; font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--sn-pine); text-decoration: none; transition: padding-left .25s; }
.sn-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--wp--preset--font-family--display); font-weight: 800; color: #B9AE9B; }
.sn-toc a:hover { padding-left: 8px; color: var(--sn-coral-deep); }
.sn-toc:not(.is-filled) { display: none; }
@media (min-width: 1000px) { .sn-sidebar-sticky { position: sticky; top: 24px; } }

/* ---------- Sign-up with labels ---------- */
.sn-signup { position: relative; overflow: hidden; }
.sn-labels { position: relative; height: 420px; }
.sn-label { position: absolute; width: 270px; height: 120px; border-radius: 18px; display: flex; align-items: center; gap: 18px; padding: 0 26px; box-sizing: border-box; font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: 48px; letter-spacing: .06em; color: var(--sn-pine); transform: rotate(var(--r)); }
.sn-label::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--sn-pine); flex-shrink: 0; }
.sn-label.one { --r: -8deg; left: 6%; top: 30px; background: var(--sn-cream); }
.sn-label.two { --r: 6deg; right: 4%; top: 150px; background: var(--sn-marigold); }
.sn-label.three { --r: -3deg; left: 14%; top: 270px; background: var(--sn-coral); color: #fff; font-family: var(--wp--preset--font-family--script); font-size: 58px; letter-spacing: 0; text-transform: lowercase; }
@media (max-width: 781px) { .sn-labels { height: 300px; } .sn-label { width: 200px; height: 88px; font-size: 34px; } .sn-label.two { top: 110px; } .sn-label.three { top: 200px; font-size: 42px; } }
.sn-form { display: flex; flex-wrap: wrap; gap: 12px; max-width: 560px; }
.sn-form input[type="email"] { flex: 1 1 240px; min-width: 0; height: 60px; box-sizing: border-box; border: 1.5px solid var(--sn-sand); border-radius: 999px; padding: 0 26px; font: inherit; font-size: 17px; color: var(--wp--preset--color--ink); background: #fff; }
.sn-form button { height: 60px; border: 0; border-radius: 999px; padding: 0 32px; background: var(--sn-marigold); color: var(--sn-pine); font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; transition: transform .2s; }
.sn-form button:hover { transform: translateY(-2px) scale(1.03); }

/* ---------- Footer ---------- */
.sn-footer-wrap { padding: 0 16px 16px; }
.sn-footer { background: var(--sn-pine); color: var(--sn-cream); border-radius: 48px; overflow: hidden; }
.sn-footer h2 { color: var(--sn-cream); }
.sn-footer .sn-script { color: var(--sn-marigold); }
.sn-footer .sn-footer-label { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sn-marigold); margin: 0; }
.sn-footer a { color: var(--sn-cream); text-decoration: none; }
.sn-ulink a, a.sn-ulink { background-image: linear-gradient(var(--sn-marigold), var(--sn-marigold)); background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 3px; transition: background-size .35s, color .25s; }
.sn-ulink a:hover, a.sn-ulink:hover { background-size: 100% 2px; color: var(--sn-marigold); }
.sn-footer-links p { margin: 0 0 12px; font-size: 16px; }
.sn-footer-rooms { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 12px; }
.sn-arch-tile { height: 170px; border-radius: 999px 999px 18px 18px; background: var(--sn-pine-soft); display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px; padding-bottom: 20px; color: var(--sn-cream) !important; font-weight: 700; font-size: 15px; transition: background-color .35s, transform .35s var(--sn-ease), border-radius .5s var(--sn-ease); }
.sn-arch-tile svg { width: 30px; height: 30px; stroke: var(--sn-marigold); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sn-arch-tile:hover { background: var(--sn-marigold); color: var(--sn-pine) !important; transform: translateY(-8px); border-radius: 24px; }
.sn-arch-tile:hover svg { stroke: var(--sn-pine); }
.sn-top { width: 64px; height: 64px; border-radius: 50%; background: var(--sn-cream); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s; }
.sn-top:hover { transform: translateY(-3px); }
.sn-wordmark { max-width: 1320px; margin: 0 auto; box-sizing: border-box; padding: 72px 40px 0; height: calc(72px + clamp(66px, 11.4vw, 168px)); overflow: hidden; display: flex; align-items: flex-start; justify-content: center; gap: clamp(12px, 2vw, 28px); white-space: nowrap; }
.sn-wordmark svg { width: clamp(66px, 11.4vw, 168px); height: clamp(66px, 11.4vw, 168px); flex-shrink: 0; }
.sn-wordmark span { font-family: var(--wp--preset--font-family--display); font-weight: 800; font-size: clamp(84px, 15vw, 220px); line-height: .8; letter-spacing: -.06em; color: var(--sn-cream); }
.sn-footer-bottom { background: var(--sn-pine-deep); }
.sn-footer-bottom p { font-size: 13px; line-height: 1.6; color: #B5C4BC; margin: 0; }

/* ---------- Motion ---------- */
@keyframes sn-rise { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: none; } }
@keyframes sn-draw { from { stroke-dashoffset: 320; } to { stroke-dashoffset: 0; } }
@keyframes sn-wobble { 0%, 100% { transform: rotate(-14deg) scale(1); } 50% { transform: rotate(-6deg) scale(1.06); } }
@keyframes sn-pop { from { opacity: 0; transform: scale(.6) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(-12deg); } }
@keyframes sn-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes sn-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sn-drop { 0% { opacity: 0; transform: translateY(-120px) rotate(0deg); } 70% { opacity: 1; transform: translateY(10px) rotate(var(--r)); } 100% { opacity: 1; transform: translateY(0) rotate(var(--r)); } }

.sn-rise { animation: sn-rise .9s var(--sn-ease) both; }
.sn-d1 { animation-delay: .12s; } .sn-d2 { animation-delay: .24s; } .sn-d3 { animation-delay: .36s; } .sn-d4 { animation-delay: .5s; }
.sn-underline path { stroke-dasharray: 320; animation: sn-draw 1.1s .7s cubic-bezier(.6, 0, .2, 1) both; }
.sn-sticker { animation: sn-pop .7s .9s cubic-bezier(.3, 1.6, .5, 1) both, sn-wobble 6s 1.6s ease-in-out infinite; }
.sn-hero-a { animation: sn-rise 1s .2s var(--sn-ease) both, sn-float 7s 1.2s ease-in-out infinite; }
.sn-hero-b { animation: sn-rise 1s .45s var(--sn-ease) both, sn-float 8s 1.5s ease-in-out infinite; }
.sn-track { animation: sn-marquee 32s linear infinite; }
.sn-marquee:hover .sn-track { animation-play-state: paused; }
.sn-label { animation: sn-drop 1s cubic-bezier(.3, 1.3, .5, 1) both; }
.sn-label.two { animation-delay: .2s; } .sn-label.three { animation-delay: .4s; }

@supports (animation-timeline: view()) {
	.sn-reveal { animation: sn-rise linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
	.sn-label { animation-timeline: view(); animation-range: entry 10% cover 40%; }
}

/* The editor shows everything static. */
.editor-styles-wrapper .sn-rise, .editor-styles-wrapper .sn-reveal, .editor-styles-wrapper .sn-label,
.editor-styles-wrapper .sn-hero-a, .editor-styles-wrapper .sn-hero-b, .editor-styles-wrapper .sn-sticker,
.editor-styles-wrapper .sn-track { animation: none !important; opacity: 1 !important; }

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

/* Sign-up result messages */
.sn-form-done { margin: 0; padding: 18px 24px; border-radius: 22px; background: var(--sn-marigold); color: var(--sn-pine); font-weight: 700; font-size: 18px; line-height: 1.45; max-width: 560px; }
.sn-form-err { flex-basis: 100%; margin: 4px 0 0; font-size: 15px; color: #FFD9CC; }
