/* Woof Woof Lounge: coming soon home. Tokens come from theme.json presets. */

.wwl {
	--wwl-ink: var(--wp--preset--color--contrast);
	--wwl-ink-soft: var(--wp--preset--color--secondary);
	--wwl-muted: var(--wp--preset--color--neutral-600);
	--wwl-accent: var(--wp--preset--color--primary);
	--wwl-accent-dark: var(--wp--preset--color--primary-dark);
	--wwl-surface: var(--wp--preset--color--surface);
	--wwl-mist: var(--wp--preset--color--mist);
	--wwl-amber: var(--wp--preset--color--accent);
	--wwl-amber-light: var(--wp--preset--color--amber-light);
	--wwl-ease: var(--wp--custom--ease);
	--wwl-gutter: var(--wp--custom--gutter);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	overflow-x: clip;
	color: var(--wwl-ink);
	font-family: var(--wp--preset--font-family--body);
	-webkit-font-smoothing: antialiased;
}

.wwl, .wwl *, .wwl *::before, .wwl *::after { box-sizing: border-box; }
.wwl :where(h1, h2, p) { margin: 0; }

.wwl-container {
	width: 100%;
	max-width: calc(1280px + 2 * var(--wwl-gutter));
	margin-inline: auto;
	padding-inline: var(--wwl-gutter);
}

/* Announcement bar */
.wwl-bar {
	background: var(--wwl-ink);
	color: var(--wp--preset--color--base);
	font-size: 15px;
	line-height: 1.4;
	padding: 11px 20px;
	text-align: center;
}
.wwl-bar b { font-weight: 600; color: var(--wwl-amber-light); }

/* Floating pill navigation */
.wwl-nav-wrap {
	position: sticky;
	top: 12px;
	z-index: 50;
	margin-top: 12px;
	padding-inline: clamp(12px, 3vw, 40px);
}
.wwl-nav {
	max-width: 1280px;
	margin: 0 auto;
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 0 26px 0 18px;
	border-radius: var(--wp--custom--radius--pill);
	background: rgba(255, 255, 255, 0.82);
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
	box-shadow: 0 6px 30px rgba(27, 35, 48, 0.08);
}
.wwl-nav__logo { display: flex; align-items: center; }
.wwl-nav__logo img { height: 62px; width: auto; display: block; }
.wwl .wwl-nav__phone {
	color: var(--wwl-ink);
	font-weight: 600;
	font-size: 16px;
	white-space: nowrap;
	padding: 10px 14px;
	border-radius: var(--wp--custom--radius--pill);
	transition: background-color .25s, color .25s;
}
.wwl .wwl-nav__phone:hover { background: var(--wp--preset--color--primary-tint); color: var(--wwl-accent); }

/* Hero */
.wwl-main { flex: 1; }
.wwl-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 48px;
	align-items: center;
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: 40px;
}
.wwl-hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.wwl-chip {
	display: inline-flex;
	align-items: center;
	height: 36px;
	padding: 0 16px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wp--preset--color--primary-tint);
	color: var(--wwl-accent);
	font-size: 15px;
	font-weight: 600;
}
.wwl .wwl-hero__title {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 800;
	font-size: clamp(46px, 6vw, 88px);
	line-height: 0.98;
	letter-spacing: -0.015em;
	text-wrap: balance;
	color: var(--wwl-ink);
}
.wwl-hero__title span { color: var(--wwl-accent); }
.wwl-hero__lead {
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 1.55;
	color: var(--wwl-ink-soft);
	max-width: 540px;
	text-wrap: pretty;
}
.wwl-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons */
.wwl .wwl-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 58px;
	padding: 0 28px;
	border-radius: var(--wp--custom--radius--pill);
	font-size: 17px;
	font-weight: 600;
	white-space: nowrap;
	transition: transform .4s var(--wwl-ease), box-shadow .4s var(--wwl-ease), background-color .25s, color .25s;
}
.wwl .wwl-btn--primary { background: var(--wwl-accent); color: var(--wwl-surface); padding-inline: 30px; }
.wwl .wwl-btn--primary span { font-size: 20px; }
.wwl .wwl-btn--primary:hover {
	background: var(--wwl-accent-dark);
	color: var(--wwl-surface);
	transform: translateY(-2px);
	box-shadow: var(--wp--preset--shadow--glow);
}
.wwl .wwl-btn--ghost { border: 2px solid var(--wwl-ink); color: var(--wwl-ink); }
.wwl .wwl-btn--ghost:hover { background: var(--wwl-ink); color: var(--wwl-surface); transform: translateY(-2px); }
.wwl .wwl-btn:active { transform: translateY(0) scale(.98); }

/* Hero visual: logo panel with overlapping sticker and card */
.wwl-hero__visual { position: relative; min-height: 540px; }
.wwl-hero__panel {
	position: absolute;
	inset: 0 0 0 6%;
	border-radius: var(--wp--custom--radius--card-lg);
	background:
		radial-gradient(circle at 50% 46%, rgba(255, 255, 255, 0.95) 0 34%, rgba(255, 255, 255, 0) 62%),
		var(--wwl-mist);
	display: flex;
	align-items: center;
	justify-content: center;
	padding-bottom: 64px;
	overflow: hidden;
}
.wwl-hero__logo {
	width: min(78%, 420px);
	height: auto;
	display: block;
	transform: rotate(-2deg);
}
.wwl-sticker {
	position: absolute;
	right: -6px;
	top: 28px;
	z-index: 2;
	padding: 12px 20px;
	border-radius: var(--wp--custom--radius--pill);
	background: var(--wwl-amber);
	color: var(--wwl-ink);
	font-weight: 700;
	font-size: 15px;
	box-shadow: 0 12px 30px rgba(247, 170, 31, 0.35);
	transform: rotate(4deg);
}
.wwl-float {
	position: absolute;
	left: 0;
	bottom: -20px;
	z-index: 2;
	max-width: 290px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 18px 22px;
	border-radius: var(--wp--custom--radius--card-sm);
	background: var(--wwl-surface);
	box-shadow: var(--wp--preset--shadow--float);
}
.wwl-float strong { font-size: 17px; font-weight: 600; }
.wwl-float span { font-size: 15px; line-height: 1.4; color: var(--wwl-muted); }

/* Info strip */
.wwl-info { padding-top: 48px; padding-bottom: clamp(48px, 7vw, 96px); }
.wwl-info__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 8px;
	border-radius: var(--wp--custom--radius--strip);
	background: var(--wwl-surface);
}
.wwl-info__cell { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; }
.wwl .wwl-info__cell h2 {
	font-family: var(--wp--preset--font-family--body);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.3;
	color: var(--wwl-accent);
}
.wwl-info__cell p { font-size: 17px; line-height: 1.55; color: var(--wwl-ink); }
.wwl .wwl-info__cell a { color: var(--wwl-ink); font-weight: 600; }
.wwl .wwl-info__cell a:hover { color: var(--wwl-accent); }

/* Footer */
.wwl-footer { background: var(--wwl-ink); color: var(--wp--preset--color--neutral-500); font-size: 14px; }
.wwl-footer__inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 16px;
	padding-top: 28px;
	padding-bottom: 28px;
}
.wwl-footer__inner span:first-child { color: var(--wp--preset--color--base); }

/* Motion: gentle entrance and float, only when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.wwl-hero__copy > *,
	.wwl-hero__visual,
	.wwl-info__grid { animation: wwl-rise .85s var(--wwl-ease) both; }
	.wwl-hero__copy > :nth-child(2) { animation-delay: .08s; }
	.wwl-hero__copy > :nth-child(3) { animation-delay: .16s; }
	.wwl-hero__copy > :nth-child(4) { animation-delay: .24s; }
	.wwl-hero__visual { animation-delay: .12s; }
	.wwl-info__grid { animation-delay: .32s; }
	.wwl-sticker { animation: wwl-float-tilt 3.2s ease-in-out infinite alternate; }
	.wwl-float { animation: wwl-float 4.1s ease-in-out infinite alternate; }
}
@keyframes wwl-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes wwl-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes wwl-float-tilt { from { transform: rotate(4deg) translateY(0); } to { transform: rotate(4deg) translateY(-10px); } }

/* Tablet */
@media (max-width: 1080px) {
	.wwl-info__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile: stack hero, shrink visual */
@media (max-width: 860px) {
	.wwl-hero { grid-template-columns: 1fr; gap: 36px; }
	.wwl-hero__visual { min-height: 400px; }
	.wwl-hero__panel { inset: 0 0 0 0; }
	.wwl-sticker { right: 10px; top: -14px; }
	.wwl-float { left: 12px; bottom: -24px; }
	.wwl-hero__panel { padding-bottom: 48px; }
	.wwl-info { padding-top: 40px; }
}
@media (max-width: 560px) {
	.wwl-bar { font-size: 14px; }
	.wwl-nav { height: 64px; padding: 0 12px 0 14px; }
	.wwl-nav__logo img { height: 50px; }
	.wwl .wwl-nav__phone { font-size: 15px; padding: 8px 10px; }
	.wwl-hero__actions { width: 100%; }
	.wwl .wwl-btn { width: 100%; justify-content: center; }
	.wwl-hero__visual { min-height: 320px; }
	.wwl-float { max-width: 250px; padding: 14px 18px; }
	.wwl-info__grid { grid-template-columns: 1fr; }
	.wwl-footer__inner { flex-direction: column; }
}

/* Not live yet: disabled controls and coming soon labels */
.wwl .wwl-btn--disabled {
	background: var(--wp--preset--color--neutral-200, #E7EAF0);
	color: var(--wwl-muted);
	cursor: not-allowed;
	user-select: none;
}
.wwl .wwl-nav__phone--soon, .wwl .wwl-nav__phone--soon:hover { background: none; color: var(--wwl-muted); cursor: default; }
.wwl .wwl-soon { color: var(--wwl-muted); font-weight: 600; }

/* Footer links and long contact values */
.wwl-footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.wwl .wwl-footer__links a { color: var(--wp--preset--color--base); text-decoration: underline; text-underline-offset: 3px; }
.wwl .wwl-footer__links a:hover { color: var(--wwl-amber-light); }
.wwl .wwl-info__cell a { overflow-wrap: anywhere; }
