/*
 * SUNDAY SECOND - site stylesheet (20 Nov 2026).
 * Colours, fonts, button shape and colour, link colour and page layout are KADENCE settings (Customizer + Global
 * Palette, written by setup.php). This file only does what Kadence free cannot, each with its reason:
 *   - layout of the one-page sections (hero split, cards grid, nav pill)  -> no Kadence free setting for core blocks
 *   - the "glass plate in a tray" shells, grain, hairlines                 -> design system (high-end-visual-design)
 *   - scroll reveal (transform + opacity only, reduced-motion respected)   -> no Kadence free setting
 *   - press download list, credits list, details, /links + 404 layout     -> raw HTML blocks need their own rules
 * Colours come from Kadence's palette variables (--global-palette1..9), never hard-coded.
 */
:root {
	--ss-ease: cubic-bezier(0.32, 0.72, 0, 1);
	--ss-gold: var(--global-palette1);
	--ss-head: var(--global-palette3);
	--ss-body: var(--global-palette4);
	--ss-muted: var(--global-palette5);
	--ss-quiet: var(--global-palette6);
	--ss-line: rgba(255, 255, 255, 0.08);
	--ss-base: var(--global-palette9);
	--ss-pad: clamp(96px, 14vw, 176px);
	--ss-gutter: clamp(20px, 5vw, 48px);
}

/* the Kadence header and footer rows are emptied in settings; the site draws its own nav + footer */
.ss-site #masthead { display: none; }
.ss-site .site-footer { border-top: 1px solid var(--ss-line); }
.ss-site .site-footer .site-bottom-footer-wrap { color: var(--ss-quiet); font-size: 13px; }

/* film grain: fixed, pointer-events off, never on a scrolling layer */
.ss-site::after {
	content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: 0.045;
	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='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ss-site .entry-content > * { margin-top: 0; margin-bottom: 0; }
/* WordPress wraps group blocks in an inner container under classic themes like Kadence: let the grid see through it */
.ss-site .wp-block-group__inner-container { display: contents; }
.ss-site figure { margin: 0; }
.ss-site .wp-block-buttons { gap: 12px; }

/* ---------- nav: a floating glass pill, detached from the top ------------------------------------------- */
.ss-nav-wrap { position: fixed; top: 18px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; pointer-events: none; }
.ss-nav {
	pointer-events: auto; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 10px; border-radius: 999px;
	background: rgba(10, 9, 8, 0.62); border: 1px solid var(--ss-line);
	backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 40px -24px rgba(0, 0, 0, 0.9);
	font-size: 14px; font-weight: 600;
}
.ss-nav a { color: var(--ss-body); text-decoration: none; padding: 8px 14px; border-radius: 999px; transition: color 0.5s var(--ss-ease), background-color 0.5s var(--ss-ease); }
.ss-nav a:hover, .ss-nav a:focus-visible { color: var(--ss-head); background: rgba(255, 255, 255, 0.06); }
.ss-nav__mark { padding: 4px 8px 4px 4px !important; display: inline-flex; }
.ss-nav__mark img { width: 28px; height: 28px; display: block; }
.ss-nav .ss-nav__cta { background: var(--ss-gold); color: var(--ss-base); }
.ss-nav .ss-nav__cta:hover { background: var(--global-palette2); color: var(--ss-base); }
@media (max-width: 520px) {
	.ss-nav a[href="#about"] { display: none; }
	.ss-nav a { padding: 8px 11px; }
}

/* ---------- hero ------------------------------------------------------------------------------------------ */
.ss-hero {
	position: relative; min-height: 100dvh; display: grid; align-items: center; overflow: hidden;
	padding: 112px var(--ss-gutter) 48px; max-width: 1360px; margin: 0 auto;
	grid-template-columns: 1fr;
}
.ss-hero::before { /* one quiet glow behind the face: the brass bell, not a light show */
	content: ""; position: absolute; width: 70vmax; height: 70vmax; right: -20vmax; top: -10vmax; z-index: 0; pointer-events: none;
	background: radial-gradient(closest-side, rgba(236, 176, 74, 0.13), rgba(236, 176, 74, 0) 70%);
}
.ss-hero > * { position: relative; z-index: 1; }
.ss-hero__text { order: 2; padding-top: 8px; }
.ss-hero__art { order: 1; display: flex; flex-direction: column; align-items: center; }
.ss-hero__face img { width: min(78vw, 420px); height: auto; display: block; }
.ss-hero__caption { font-size: 12px; line-height: 1.5; color: var(--ss-quiet); max-width: 34ch; text-align: center; margin: 10px auto 0; }
.ss-hero__name img { width: min(100%, 560px); height: auto; display: block; margin: 18px 0 14px; }
.ss-hero__hook { font-size: clamp(18px, 2.2vw, 22px); color: var(--ss-head); margin: 0 0 32px; letter-spacing: 0.01em; }
@media (min-width: 900px) {
	.ss-hero { grid-template-columns: 1.05fr 0.95fr; gap: 24px; padding-bottom: 0; }
	.ss-hero__text { order: 1; padding-bottom: 6vh; }
	.ss-hero__art { order: 2; align-self: end; }
	.ss-hero__face img { width: min(42vw, 600px); }
	.ss-hero__caption { margin-bottom: 28px; }
}

/* eyebrow: a microscopic pill above each heading */
.ss-eyebrow {
	display: inline-block; margin: 0 0 22px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--ss-line);
	background: rgba(255, 255, 255, 0.03); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ss-gold);
}

/* buttons: Kadence draws the pill + colours; this adds the arrow in its own circle ("button in button") */
.ss-btn .wp-block-button__link { display: inline-flex; align-items: center; gap: 14px; transition: transform 0.6s var(--ss-ease), background-color 0.5s var(--ss-ease), color 0.5s var(--ss-ease), border-color 0.5s var(--ss-ease); }
.ss-btn .wp-block-button__link::after {
	content: "\2192"; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -6px -14px -6px 0;
	border-radius: 999px; background: rgba(0, 0, 0, 0.14); font-size: 14px; transition: transform 0.6s var(--ss-ease);
}
.ss-btn.is-style-outline .wp-block-button__link::after { background: rgba(255, 255, 255, 0.07); }
.ss-btn .wp-block-button__link[href^="#"]::after { content: "\2193"; }
.ss-btn .wp-block-button__link:hover::after { transform: translateX(3px); }
.ss-btn .wp-block-button__link[href^="#"]:hover::after { transform: translateY(2px); }
.ss-btn .wp-block-button__link:active { transform: scale(0.98); }
.ss-btn.is-style-outline .wp-block-button__link { border-width: 1px; }

/* ---------- sections ---------------------------------------------------------------------------------------- */
.ss-section { max-width: 1240px; margin: 0 auto; padding: var(--ss-pad) var(--ss-gutter) 0; }
.ss-h2 { margin: 0 0 20px; max-width: 18ch; }
.ss-lede { font-size: clamp(17px, 1.6vw, 19px); color: var(--ss-body); max-width: 58ch; margin: 0 0 40px; }
.ss-bio { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.75; color: var(--ss-body); max-width: 62ch; }
.ss-about { display: grid; }
@media (min-width: 900px) {
	.ss-about { grid-template-columns: 0.8fr 1.2fr; column-gap: 64px; }
	.ss-about .ss-eyebrow { grid-column: 1; justify-self: start; }
	.ss-about .ss-h2 { grid-column: 1; }
	.ss-about .ss-bio { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

/* the double-bezel shell: a glass plate sitting in a tray */
.ss-shell {
	padding: 7px; border-radius: 32px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--ss-line);
}
.ss-shell__core {
	border-radius: 25px; background: linear-gradient(180deg, #121010 0%, #0b0a09 100%);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.07); padding: 18px; height: 100%;
}
.ss-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .ss-cards { grid-template-columns: 1fr 1fr; gap: 28px; } }
.ss-card__cover img { width: 100%; height: auto; display: block; border-radius: 18px; aspect-ratio: 1; object-fit: cover; }
.ss-card__title { margin: 22px 4px 4px; }
.ss-card__meta { margin: 0 4px 6px; color: var(--ss-muted); font-size: 15px; }
.ss-card .wp-block-buttons { margin: 16px 4px 4px; }

/* sign-up */
.ss-signup__core { padding: clamp(28px, 6vw, 72px); text-align: left; }
.ss-signup .ss-lede { margin-bottom: 28px; }
.ss-soon { display: inline-block; padding: 12px 20px; border-radius: 999px; border: 1px dashed var(--ss-quiet); color: var(--ss-head); font-size: 15px; margin: 0 0 18px; }
.ss-privacy { font-size: 13px; color: var(--ss-muted); max-width: 52ch; margin: 0; }
.ss-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 18px; max-width: 520px; }
.ss-form input[type="email"] {
	flex: 1 1 220px; min-height: 52px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ss-quiet);
	background: rgba(255, 255, 255, 0.03); color: var(--ss-head); font: inherit;
}
.ss-form input[type="email"]:focus { outline: 2px solid var(--ss-gold); outline-offset: 2px; }
.ss-form__go { min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--ss-gold); color: var(--ss-base); font: inherit; font-weight: 600; cursor: pointer; }

/* watch */
.ss-videos { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.ss-video { aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; border: 1px solid var(--ss-line); }
.ss-video iframe { width: 100%; height: 100%; border: 0; }

/* press */
.ss-details { border-top: 1px solid var(--ss-line); border-bottom: 1px solid var(--ss-line); padding: 18px 0; margin: 0 0 40px; max-width: 72ch; }
.ss-details summary { cursor: pointer; color: var(--ss-head); font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.ss-details summary::-webkit-details-marker { display: none; }
.ss-details summary::after { content: "+"; color: var(--ss-gold); font-size: 22px; line-height: 1; transition: transform 0.5s var(--ss-ease); }
.ss-details[open] summary::after { transform: rotate(45deg); }
.ss-details p { margin: 16px 0 0; }
.ss-dl { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; max-width: 900px; }
@media (min-width: 720px) { .ss-dl { grid-template-columns: 1fr 1fr; } }
.ss-dl a {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px;
	border: 1px solid var(--ss-line); background: rgba(255, 255, 255, 0.02); color: var(--ss-head); text-decoration: none; font-size: 15px;
	transition: border-color 0.5s var(--ss-ease), transform 0.6s var(--ss-ease);
}
.ss-dl a:hover { border-color: var(--ss-gold); transform: translateY(-2px); }
.ss-dl__fmt { font-size: 11px; letter-spacing: 0.18em; color: var(--ss-gold); font-weight: 600; }
.ss-contact { margin: 28px 0 0; color: var(--ss-muted); }

/* credits */
.ss-credits { margin: 0; display: grid; gap: 0; max-width: 900px; }
.ss-credits > div { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 18px 0; border-top: 1px solid var(--ss-line); }
@media (min-width: 720px) { .ss-credits > div { grid-template-columns: 260px 1fr; gap: 32px; } }
.ss-credits dt { color: var(--ss-muted); font-size: 14px; }
.ss-credits dd { margin: 0; color: var(--ss-head); }

/* footer */
.ss-foot { max-width: 1240px; margin: 0 auto; padding: var(--ss-pad) var(--ss-gutter) 48px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.ss-foot__mark img { width: 56px; height: 56px; }
.ss-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.ss-social a, .ss-foot__links a { color: var(--ss-body); text-decoration: none; font-size: 14px; }
.ss-social a:hover, .ss-foot__links a:hover { color: var(--ss-gold); }
.ss-foot__links { margin: 0; }

/* ---------- /links and 404: one column, thumb-sized ------------------------------------------------------- */
.ss-links-page .site-footer { display: none; }
.ss-links { min-height: 100dvh; max-width: 440px; margin: 0 auto; padding: 56px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ss-links__mark img { width: 88px; height: 88px; display: block; }
.ss-links__name { margin: 18px 0 6px; font-size: clamp(34px, 9vw, 44px); }
.ss-links__hook { margin: 0 0 4px; color: var(--ss-head); }
.ss-links__date { margin: 0 0 28px; color: var(--ss-muted); font-size: 14px; }
.ss-links__list { width: 100%; flex-direction: column; align-items: stretch; }
.ss-links__list .wp-block-button { width: 100%; }
.ss-links__list .wp-block-button__link { width: 100%; justify-content: space-between; padding-left: 26px; }

/* ---------- motion: elements arrive with a heavy fade-up; nothing moves for reduced-motion users -------- */
.ss-js .ss-reveal { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity 0.9s var(--ss-ease), transform 1.1s var(--ss-ease); }
.ss-js .ss-reveal.is-in { opacity: 1; transform: none; }
.ss-js .ss-cards .ss-reveal:nth-child(2) { transition-delay: 0.12s; }
@media (prefers-reduced-motion: reduce) {
	.ss-js .ss-reveal { opacity: 1; transform: none; transition: none; }
	.ss-btn .wp-block-button__link, .ss-btn .wp-block-button__link::after, .ss-dl a { transition: none; }
}
.ss-site a:focus-visible, .ss-site summary:focus-visible { outline: 2px solid var(--ss-gold); outline-offset: 3px; }
