/*
Theme Name: Focus Jumps
Theme URI: https://focusjumps.com
Author: Focus Jumps
Description: Clean, airy theme for the Focus Jumps jump rope community.
Version: 1.2.3
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: focusjumps
*/

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --red: #e10600;
  --red-dark: #c20500;
  --ink: #111111;
  --grey: #595959;
  --light: #f5f5f5;
  --line: #e5e5e5;
  --radius: 10px;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.5rem; }
body { margin: 0; background: #fff; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; border-radius: 3px; }
p, h1, h2, h3, figure { margin: 0; }
.container { width: min(100% - 6rem, 1200px); margin-inline: auto; }
.skip-link { position: absolute; z-index: 100; inset: .7rem auto auto .7rem; padding: .9rem 1.2rem; background: var(--ink); color: #fff; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.icon { flex: none; width: 1.2rem; height: 1.2rem; }
::selection { background: var(--red); color: #fff; }
/* On red surfaces a red highlight would vanish, so use ink there. */
.join-panel:not(.newsletter-panel) ::selection, .button-red::selection, .button-red ::selection, .check ::selection { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 60; background: #fff; border-bottom: 1px solid transparent; transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-color .25s, border-color .25s; }
.site-header.is-scrolled { background: #ffffffd9; border-bottom-color: #0000000f; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  /* A light frosted glass: a small blur radius keeps it cheap to paint. */
  .site-header.is-scrolled { background: #ffffffb8; -webkit-backdrop-filter: saturate(170%) blur(12px); backdrop-filter: saturate(170%) blur(12px); }
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: block; flex: none; width: 190px; }
.main-nav { display: flex; align-items: center; gap: 2.2rem; font-size: .875rem; font-weight: 600; }
.main-nav ul { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { position: relative; display: inline-block; padding-block: .4rem; color: var(--ink); transition: color .2s; }
.main-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.main-nav ul a:hover::after, .main-nav ul a:focus-visible::after { transform: scaleX(1); }
.main-nav .current-menu-item > a, .main-nav .current_page_parent > a { color: var(--red); }
.main-nav .current-menu-item > a::after, .main-nav .current_page_parent > a::after { transform: scaleX(1); }
.nav-instagram { display: inline-flex; align-items: center; gap: .8rem; padding: .75rem 1.1rem; border: 1px solid #d7d7d7; border-radius: 6px; background: #fff; transition: border-color .2s, color .2s; }
.nav-instagram:hover { border-color: var(--red); color: var(--red); }
.nav-toggle { display: none; }
.site-header:not(.is-scrolled) .header-inner { box-shadow: inset 0 -1px var(--line); }

/* ---------- Type & shared ---------- */
.eyebrow { display: flex; align-items: center; gap: .7rem; text-transform: uppercase; font-size: .75rem; line-height: 1.55; letter-spacing: .14em; font-weight: 700; }
.eyebrow-red { color: var(--red); }
.red-rule { height: 2px; width: 25px; flex: none; background: var(--red); }
h1 { font-size: clamp(3.4rem, 7vw, 6.4rem); line-height: .99; font-weight: 800; letter-spacing: -.065em; }
h1 span, h2 span { color: var(--red); }
h2 { font-size: clamp(2rem, 3.1vw, 2.7rem); line-height: 1.13; font-weight: 700; letter-spacing: -.055em; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.4; letter-spacing: -.035em; }
.lead { font-size: 1rem; line-height: 1.8; color: var(--grey); max-width: 460px; }
.section { padding-block: 5.5rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.6rem; }
.section-head h2 { margin-top: 1.1rem; }
.text-link { display: inline-flex; align-items: center; gap: .55rem; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.text-link:hover { color: var(--red); }
.text-link .icon { width: 1rem; height: 1rem; }

.button { display: inline-flex; justify-content: center; align-items: center; gap: .75rem; min-height: 54px; padding: 1rem 1.25rem; font-size: .9375rem; line-height: 1.4; font-weight: 600; border-radius: 6px; border: 0; cursor: pointer; transition: background .18s ease, transform .18s ease, border-color .18s; }
.button-red { background: var(--red); color: #fff; box-shadow: 0 4px 14px #e1060014; }
.button-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.button-white { color: var(--ink); background: #fff; }
.button-white:hover { background: #f3f3f3; transform: translateY(-2px); }
.button-outline { border: 1px solid #d7d7d7; background: #fff; }
.button-outline:hover { border-color: var(--red); color: var(--red); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3.4rem; align-items: center; padding-block: 3.3rem 3.5rem; }
.hero h1 { margin-top: 1.7rem; }
.hero-subhead { font-weight: 600; font-size: clamp(1.3rem, 2.1vw, 1.85rem); letter-spacing: -.045em; line-height: 1.3; margin-top: 1.2rem; }
.hero .lead { margin-top: 1.4rem; max-width: 420px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero-footnote { display: flex; align-items: center; gap: .85rem; margin-top: 2rem; }
.hero-footnote p { font-size: .75rem; line-height: 1.5; color: var(--grey); }
.region-tags { display: inline-flex; gap: .3rem; }
.region-tags span { font-size: .75rem; letter-spacing: .03em; font-weight: 600; padding: .35rem .4rem; background: var(--light); border-radius: 3px; }
.hero-visual { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--light); aspect-ratio: 4 / 5; max-height: 640px; width: 100%; justify-self: end; }
.hero-visual picture { display: block; height: 100%; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.image-topline { position: absolute; inset: 1.5rem 1.55rem auto; display: flex; justify-content: space-between; color: #444; font-size: .75rem; font-weight: 600; letter-spacing: .12em; }
.image-caption { position: absolute; inset: auto 1.55rem 1.5rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.image-caption > span { background: #ffffffea; border-radius: 5px; padding: .75rem 1rem; font-size: .875rem; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
.image-caption img { width: 42px; height: 42px; }

.community-band { background: var(--light); border-block: 1px solid #ededed; }
.band-inner { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.band-inner p { font-weight: 600; letter-spacing: -.02em; }
.band-inner > span { font-size: .75rem; color: var(--grey); text-transform: uppercase; letter-spacing: .12em; }

/* ---------- Instagram ---------- */
.ig-profile { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.ig-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.6rem; padding: 1.6rem 1.8rem; }
.ig-avatar { display: block; width: 84px; height: 84px; padding: 3px; border-radius: 50%; background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75); }
.ig-avatar img { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; background: #fff; object-fit: cover; }
.ig-handle { font-size: 1.15rem; font-weight: 700; letter-spacing: -.02em; }
.ig-handle:hover { text-decoration: underline; }
.ig-name { margin-top: .15rem; font-size: .875rem; font-weight: 600; }
.ig-bio { margin-top: .35rem; font-size: .875rem; line-height: 1.5; color: var(--grey); }
.ig-actions { display: flex; gap: .5rem; }
.ig-actions a { display: inline-flex; align-items: center; min-height: 38px; padding: .45rem 1.2rem; border-radius: 8px; font-size: .875rem; font-weight: 600; transition: background .18s; }
.ig-follow { background: #0095f6; color: #fff; }
.ig-follow:hover { background: #1877f2; }
.ig-message { background: #efefef; }
.ig-message:hover { background: #dbdbdb; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ig-grid a { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--light); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.ig-grid a::after { content: ""; position: absolute; inset: 0; background: #0000 center / 30px no-repeat; transition: background-color .2s; }
.ig-grid a:hover::after { background-color: #00000059; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='.6' fill='white'/%3E%3C/svg%3E"); }
.ig-more { display: flex; justify-content: center; align-items: center; gap: .6rem; padding: 1.05rem; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 600; transition: color .18s, background .18s; }
.ig-more:hover { color: var(--red); background: #fafafa; }

/* ---------- Brand marquee ---------- */
.brands { padding-block: 4rem; border-block: 1px solid var(--line); }
.brands .eyebrow { justify-content: center; color: var(--grey); }
.marquee { position: relative; overflow: hidden; margin-top: 2.2rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-list { display: flex; align-items: center; gap: 4.5rem; padding-right: 4.5rem; margin: 0; list-style: none; }
.marquee-list li { flex: none; }
.brand-logo { display: flex; align-items: center; justify-content: center; gap: .6rem; height: 56px; color: var(--ink); opacity: .55; transition: opacity .25s; }
.brand-logo:hover, .brand-logo:focus-visible { opacity: 1; }
/* Partner logos come in many colours (some white-only); show them all as solid ink. */
.brand-logo img { max-height: 40px; max-width: 170px; width: auto; object-fit: contain; filter: brightness(0); }
.brand-wordmark { font-weight: 800; font-size: 1.15rem; letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 5.5rem; align-items: start; }
.about h2 { margin-top: 1.3rem; }
.about-text p { font-size: 1.125rem; line-height: 1.8; color: #333; }
.about-text p + p { margin-top: 1.3rem; }
.about-text strong { color: var(--ink); }
.about-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.about-pillars span { display: block; font-size: .75rem; font-weight: 600; color: var(--red); }
.about-pillars strong { display: block; margin-top: .4rem; font-size: .95rem; letter-spacing: -.02em; }

/* ---------- Benefits ---------- */
.benefits { background: var(--light); }
.benefits-grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: 3.5rem; align-items: start; }
.benefits-grid .lead { margin-top: 1.3rem; }
.benefits-grid .button { margin-top: 1.8rem; }
.benefits-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 2.4rem; }
.benefits-card h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.045em; margin-bottom: 1.2rem; }
.benefit-row { display: grid; grid-template-columns: minmax(150px, .8fr) 1.4fr; gap: 1.5rem; padding-block: 1.05rem; border-top: 1px solid var(--line); }
.benefit-row dt { font-weight: 700; font-size: 1rem; letter-spacing: -.02em; }
.benefit-row dd { margin: 0; display: flex; gap: .75rem; align-items: flex-start; color: #333; line-height: 1.6; }
.check { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin-top: .05rem; }
.check svg { width: 14px; height: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; counter-reset: step; }
.step { padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.step::before { counter-increment: step; content: "0" counter(step); font-size: .75rem; font-weight: 700; color: var(--red); }
.step strong { display: block; margin-top: .5rem; font-size: .95rem; }
.step p { margin-top: .3rem; font-size: .875rem; line-height: 1.55; color: var(--grey); }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.6rem; }
.post-card { display: flex; flex-direction: column; }
.post-card-media { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--light); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-media img { transform: scale(1.03); }
.post-meta { display: flex; gap: .7rem; align-items: center; margin-top: 1.1rem; font-size: .75rem; color: var(--grey); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.post-meta a { color: var(--red); }
.post-card h3 { margin-top: .55rem; font-size: 1.2rem; }
.post-card h3 a:hover { color: var(--red); }
.post-card p { margin-top: .5rem; font-size: .9375rem; line-height: 1.65; color: var(--grey); }

/* ---------- Join ---------- */
.join-panel { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 3rem; padding: 3.15rem 3.5rem; color: #fff; background: var(--red); border-radius: var(--radius); }
.join-copy, .join-action { position: relative; z-index: 1; }
.join-copy h2 { margin-top: 1.1rem; font-size: clamp(2rem, 3.5vw, 3rem); }
.join-action > p { margin-top: 1rem; font-size: .75rem; line-height: 1.5; }
.orbit { position: absolute; width: 460px; height: 460px; right: -90px; top: -220px; border: 1px solid #ffffff20; border-radius: 50%; pointer-events: none; }
.orbit-two { width: 550px; height: 550px; right: -135px; top: -265px; }
.orbit-three { width: 640px; height: 640px; right: -180px; top: -310px; }
/* Animated ring pattern: the rings breathe, and two "handles" swing along the visible arc
   (lower-left quarter), so they are always on screen. Transform/opacity only, cheap to animate. */
.join-panel { --orbit-line: #ffffff40; --dot: #fff; --dot-glow: #ffffffaa; --glow: #ffffff26; }
.join-panel .orbit { border-color: var(--orbit-line); animation: orbit-breathe 7s ease-in-out infinite; }
.join-panel .orbit-two { opacity: .8; animation: orbit-swing-a 4.8s ease-in-out infinite alternate; }
.join-panel .orbit-three { opacity: .6; animation: orbit-swing-b 6.4s ease-in-out -2s infinite alternate; }
.join-panel .orbit-two::after, .join-panel .orbit-three::after { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--dot); box-shadow: 0 0 0 5px color-mix(in srgb, var(--dot) 18%, transparent), 0 0 16px var(--dot-glow); }
.join-panel .orbit-three::after { left: -4px; width: 8px; height: 8px; margin-top: -4px; }
.orbit-glow { position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); pointer-events: none; animation: orbit-breathe 7s ease-in-out infinite; }
.newsletter-panel { --orbit-line: #ffffff3d; --dot: var(--red); --dot-glow: #e10600cc; --glow: #e1060040; }
@keyframes orbit-breathe { 0%, 100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.045); opacity: 1; } }
@keyframes orbit-swing-a { from { transform: rotate(-6deg); } to { transform: rotate(-50deg); } }
@keyframes orbit-swing-b { from { transform: rotate(-4deg); } to { transform: rotate(-40deg); } }

.join { margin-bottom: 5.5rem; }

/* ---------- Newsletter ---------- */
.newsletter-panel { background: var(--ink); align-items: flex-end; }
.newsletter-panel .eyebrow { color: #ff5a55; }
.newsletter-panel h2 span { color: #fff; opacity: .55; }
.newsletter-sub { margin-top: 1rem; max-width: 440px; font-size: .9375rem; line-height: 1.7; color: #ffffffb3; }
.newsletter-form { position: relative; z-index: 1; flex: 0 1 460px; }
.newsletter-field { display: flex; gap: .5rem; padding: .4rem; background: #fff; border-radius: 8px; }
.newsletter-field input { flex: 1; min-width: 0; border: 0; padding: 0 .8rem; font: inherit; font-size: 1rem; color: var(--ink); background: transparent; }
.newsletter-field input:focus { outline: none; }
.newsletter-field:focus-within { box-shadow: 0 0 0 3px #ff5a5580; }
.newsletter-field .button { min-height: 48px; padding-block: .8rem; box-shadow: none; }
.newsletter-field .button:disabled { opacity: .6; cursor: progress; }
.newsletter-note { margin-top: .8rem; min-height: 1.3em; font-size: .8125rem; line-height: 1.5; color: #ffffff99; }
.newsletter-note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.newsletter-note[data-state="ok"] { color: #7ee2a8; font-weight: 600; }
.newsletter-note[data-state="error"] { color: #ff8a86; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Page / blog ---------- */
.page-hero { padding-block: 4rem 2.5rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-top: 1.2rem; }
.page-hero .lead { margin-top: 1rem; }
.blog-list { padding-block: 3.5rem 5rem; }
.pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3.5rem; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding-inline: .8rem; border: 1px solid var(--line); border-radius: 6px; font-weight: 600; font-size: .875rem; }
.pagination .current, .pagination a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.category-filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.category-filter a { padding: .5rem .9rem; border: 1px solid var(--line); border-radius: 99px; font-size: .8125rem; font-weight: 600; }
.category-filter a:hover, .category-filter a.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

.entry { width: min(100% - 3rem, 760px); margin-inline: auto; padding-block: 3.5rem 5rem; }
.entry-header h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.05; margin-top: 1rem; }
.entry-header .post-meta { margin-top: 1.2rem; }
.entry-media { margin-top: 2.2rem; border-radius: var(--radius); overflow: hidden; }
.entry-content { margin-top: 2.2rem; font-size: 1.0625rem; line-height: 1.85; color: #222; }
.entry-content > * + * { margin-top: 1.3rem; }
.entry-content h2 { font-size: 1.8rem; margin-top: 2.5rem; }
.entry-content h3 { margin-top: 2rem; }
.entry-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; }
.entry-content li + li { margin-top: .4rem; }
.entry-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.legal .entry-content h2 { font-size: 1.4rem; }
.legal .entry-content { font-size: 1rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 5.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 3.5rem 2.5rem; font-size: .875rem; line-height: 1.7; }
.footer-brand { width: 170px; }
.footer-grid .tagline { margin-top: 1rem; color: var(--grey); max-width: 260px; }
.footer-grid h2 { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: .9rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: .35rem; }
.footer-grid a:hover { color: var(--red); }
.footer-grid address { font-style: normal; color: var(--grey); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 1.6rem 2.2rem; border-top: 1px solid var(--line); font-size: .75rem; color: var(--grey); line-height: 1.6; }
.footer-bottom p { max-width: 640px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .container { width: calc(100% - 4rem); }
  .hero { gap: 2rem; }
  .about, .benefits-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .join-panel { padding: 2.5rem; gap: 2rem; }
  .newsletter-panel { flex-direction: column; align-items: stretch; }
  .newsletter-form { flex: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid #d7d7d7; border-radius: 6px; padding: .6rem .8rem; font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 50; flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1.25rem 1.5rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px #0000000d; }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav ul a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .main-nav ul a::after { display: none; }
  .nav-instagram { margin-top: 1rem; justify-content: center; }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 72px; }
  .brand { width: 165px; }
  .section { padding-block: 3.5rem; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .hero { grid-template-columns: 1fr; padding-block: 2.6rem 2rem; }
  .hero h1 { font-size: clamp(3.6rem, 15vw, 5.2rem); }
  .band-inner { flex-direction: column; align-items: flex-start; justify-content: center; gap: .4rem; padding-block: 1rem; }
  .ig-head { grid-template-columns: auto 1fr; gap: 1rem 1.1rem; padding: 1.25rem; }
  .ig-avatar { width: 68px; height: 68px; }
  .ig-actions { grid-column: 1 / -1; }
  .ig-actions a { flex: 1; justify-content: center; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-grid li:nth-child(n+7) { display: none; }
  .marquee-list { gap: 3rem; padding-right: 3rem; }
  .about-text p { font-size: 1.0625rem; }
  .about-pillars, .steps { grid-template-columns: 1fr; }
  .benefits-card { padding: 1.5rem 1.25rem; }
  .benefit-row { grid-template-columns: 1fr; gap: .5rem; }
  .post-grid { grid-template-columns: 1fr; }
  .join-panel { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
  .join { margin-bottom: 3.5rem; }
  /* Smaller rings on phones so the swinging handles stay inside the panel. */
  .orbit { width: 240px; height: 240px; right: -40px; top: -110px; }
  .orbit-two { width: 300px; height: 300px; right: -70px; top: -140px; }
  .orbit-three { width: 360px; height: 360px; right: -100px; top: -170px; }
  .orbit-glow { width: 280px; height: 280px; right: -60px; top: -130px; }
  .newsletter-form { flex: none; width: 100%; }
  .newsletter-field { flex-direction: column; }
  .newsletter-field input { min-height: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .site-header { transition: none; }
  .join-panel .orbit, .orbit-glow { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .marquee-list[aria-hidden="true"] { display: none; }
  .marquee-list { flex-wrap: wrap; justify-content: center; row-gap: 1.5rem; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}
