:root {
  /* ComeSwinging: bold light theme. Deep navy + raspberry/crimson (from the navy/raspberry logo + dark studio hero). */
  --navy: #12234f;        /* deep navy, dark anchor (logo "Come") */
  --navy-deep: #0c1738;   /* darker navy for footer / scrim */
  --red: #b0224b;         /* raspberry/crimson, primary accent (logo "Swinging") */
  --red-deep: #8c163a;    /* deeper raspberry, hover */
  --red-bright: #e0466f;  /* bright raspberry, hero accent / hover glow */

  --ink: #12234f;         /* navy headings */
  --body: #414c66;        /* navy-grey body text */
  --muted: #7c8399;

  --bg: #ffffff;
  --bg-soft: #f3f5fa;     /* cool light grey */
  --line: #e4e7f0;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 999; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.14; color: var(--ink); letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
p { color: var(--body); }
.red { color: var(--red); font-style: normal; }

.eyebrow {
  display: inline-block; font-family: var(--head);
  font-size: .8rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.eyebrow.light { color: #fff; opacity: .95; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--head); font-weight: 700; font-size: .98rem;
  padding: 15px 32px; border: 2px solid transparent; border-radius: 999px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-join {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-deep) 100%);
  color: #fff; box-shadow: 0 8px 20px -8px rgba(176, 34, 75, 0.55);
}
.btn-join:hover { background: linear-gradient(120deg, var(--red-bright) 0%, var(--red) 100%); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(176, 34, 75, 0.6); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-lg { padding: 17px 40px; font-size: 1.05rem; }

/* Header */
.site-header {
  position: relative; z-index: 40; background: #ffffff;
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 16px -8px rgba(18, 35, 79, 0.25);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px var(--gutter); }
.brand img { width: clamp(170px, 22vw, 280px); height: auto; max-width: 100%; }
.header-right { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 18px); }
.login-link { font-family: var(--head); font-size: .92rem; font-weight: 600; color: var(--navy); }
.login-link:hover { color: var(--red); }
.header-right .btn { padding: 11px 24px; font-size: .92rem; }

/* Geo selector */
.geo-select { position: relative; display: inline-flex; align-items: center; }
.geo-select .geo-current {
  position: absolute; left: 14px; font-family: var(--head); font-size: .86rem; font-weight: 600;
  color: var(--navy); pointer-events: none; white-space: nowrap; max-width: 130px; overflow: hidden; text-overflow: ellipsis;
}
.country-select {
  font-family: var(--head); font-size: .86rem; font-weight: 600; color: transparent;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 34px 9px 14px; cursor: pointer; appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2312234f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.country-select:hover { border-color: var(--red); }
.country-select option { color: var(--navy); }

/* Category nav */
.cat-nav { background: var(--navy); border-bottom: 3px solid var(--red); }
.cat-nav .container { display: flex; flex-wrap: wrap; gap: 6px 28px; padding-top: 12px; padding-bottom: 12px; }
.cat-nav a {
  font-family: var(--head); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  color: rgba(255,255,255,0.86); text-transform: uppercase;
}
.cat-nav a:hover, .cat-nav a.active { color: #fff; }
.cat-nav a.active { border-bottom: 2px solid var(--red-bright); padding-bottom: 2px; }

/* Hamburger (mobile only) + slide-in menu drawer */
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 40px; padding: 0 10px; border-radius: 8px; background: var(--navy); }
.menu-toggle span { display: block; height: 2.5px; width: 100%; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.menu-overlay { position: fixed; inset: 0; background: rgba(12,23,56,0.55); z-index: 60; opacity: 0; transition: opacity .25s ease; }
.menu-overlay.show { opacity: 1; }
.site-menu {
  position: fixed; top: 0; right: 0; height: 100%; width: min(330px, 87vw); background: #fff;
  z-index: 70; box-shadow: -10px 0 44px -14px rgba(12,23,56,0.55);
  transform: translateX(100%); transition: transform .28s ease; overflow-y: auto;
  display: flex; flex-direction: column; padding-bottom: 28px;
}
.site-menu.open { transform: translateX(0); }
.site-menu-top { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.site-menu-title { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); font-size: .9rem; }
.menu-close { font-size: 2rem; line-height: 1; color: var(--navy); padding: 0 4px; }
.menu-close:hover { color: var(--red); }
.site-menu-links { display: flex; flex-direction: column; padding: 6px 0; }
.site-menu-links a { font-family: var(--head); font-weight: 600; font-size: 1rem; color: var(--navy); padding: 13px 22px; border-left: 3px solid transparent; }
.site-menu-links a:hover { background: var(--bg-soft); border-left-color: var(--red); color: var(--red); }
.site-menu-links a.active { border-left-color: var(--red); color: var(--red); }
.site-menu-sub { display: block; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--muted); padding: 18px 22px 8px; }
.site-menu-geo { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 6px; }
.site-menu-geo a { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--navy); padding: 6px 13px; border: 1.5px solid var(--line); border-radius: 20px; }
.site-menu-geo a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.site-menu-cta { display: flex; flex-direction: column; gap: 10px; padding: 16px 22px 0; margin-top: 10px; border-top: 1px solid var(--line); }
.site-menu-cta .login-link { padding: 6px 0; }
.site-menu-cta .btn-join { text-align: center; }
body.menu-open { overflow: hidden; }

/* Below 760px: geo picker, login, and category bar collapse into the hamburger */
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .header-right > .geo-select,
  .header-right > .login-link { display: none; }
  .cat-nav { display: none; }
}

/* Hero (dark studio portrait on the right, navy scrim on the left for white text) */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(72vh, 620px); padding: clamp(48px, 8vw, 92px) 0;
  background:
    linear-gradient(95deg, rgba(9,17,42,0.95) 0%, rgba(12,23,56,0.82) 40%, rgba(12,23,56,0.34) 66%, rgba(12,23,56,0.05) 100%),
    url('/images/hero-desktop.jpg?v=2') right center / cover no-repeat,
    var(--navy-deep);
}
.hero-inner { max-width: 600px; }
.hero .eyebrow { color: var(--red-bright); }
.hero .hero-heading { font-family: var(--head); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; color: #fff; font-size: clamp(2.4rem, 5.6vw, 4rem); margin-bottom: 16px; text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.hero .hero-heading .accent { color: var(--red-bright); }
.hero-sub { color: rgba(255,255,255,0.96); font-size: 1.2rem; margin-bottom: 28px; max-width: 46ch; text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Trustbar */
.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.trustbar ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 20px var(--gutter); margin: 0; max-width: var(--maxw); margin: 0 auto; }
.trustbar li { font-family: var(--head); font-weight: 600; font-size: .96rem; color: var(--navy); display: inline-flex; align-items: center; gap: 9px; }
.trustbar .t-ico { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: var(--red); color: #fff; font-size: .8rem; }

/* Feature trio */
.features { padding: clamp(44px, 7vw, 76px) 0; background: var(--bg); border-bottom: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 28px; box-shadow: 0 14px 40px -26px rgba(18,35,79,0.4); }
.feature-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); color: #fff;
}
.feature-card h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 1rem; line-height: 1.65; color: var(--body); margin: 0; }

/* Editorial long-form */
.editorial { padding: clamp(56px, 8vw, 100px) 0 clamp(34px, 5vw, 56px); background: var(--bg); }
.editorial .container { max-width: 900px; }
.prose-block { margin-bottom: clamp(30px, 4vw, 44px); }
.prose-block:last-child { margin-bottom: 0; }
.prose-block h1 { color: var(--ink); margin-bottom: 16px; }
.prose-block h2 { color: var(--ink); margin-bottom: 14px; font-size: clamp(1.5rem, 3vw, 2.05rem); }
.prose-block p { font-size: 1.13rem; line-height: 1.9; color: var(--body); margin-bottom: 16px; }
.prose-block p:last-child { margin-bottom: 0; }
.prose-block.alt { background: var(--bg-soft); border-left: 4px solid var(--red); border-radius: 0 14px 14px 0; padding: 28px clamp(22px, 3vw, 36px); }
.prose-block ul { margin: 0 0 4px; padding-left: 1.25em; }
.prose-block li { font-size: 1.1rem; line-height: 1.8; color: var(--body); margin-bottom: 8px; }
.prose-block strong { color: var(--ink); font-weight: 700; }

.cta-band {
  text-align: center; padding: clamp(56px, 8vw, 100px) 0;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); color: #fff;
}
.cta-band .eyebrow { color: #fff; opacity: .95; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.94); max-width: 48ch; margin: 0 auto 28px; font-size: 1.12rem; }
.cta-band .btn-join { background: #fff; color: var(--red-deep); border-color: #fff; box-shadow: 0 10px 24px -10px rgba(0,0,0,0.3); }
.cta-band .btn-join:hover { background: #fff; color: var(--red-deep); transform: translateY(-2px); }

/* Footer */
.site-footer { background: var(--navy-deep); color: #fff; padding: 48px 0 34px; text-align: center; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 20px; border-radius: 12px; margin-bottom: 22px; }
.footer-logo img { width: clamp(190px, 26vw, 260px); height: auto; max-width: 100%; display: block; }
.footer-regions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-bottom: 22px; }
.footer-regions a { font-family: var(--head); font-weight: 600; font-size: .9rem; color: rgba(255,255,255,0.82); }
.footer-regions a:hover { color: var(--red-bright); }
.footer-disclaimer { max-width: 720px; margin: 0 auto 24px; font-size: .86rem; line-height: 1.7; color: rgba(255,255,255,0.72); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-links a { color: rgba(255,255,255,0.82); text-decoration: underline; font-size: .9rem; }
.footer-links a:hover { color: var(--red-bright); }
.footer-copy { margin-top: 18px; font-size: .85rem; color: rgba(255,255,255,0.6); }

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--navy-deep); color: #fff; padding: 16px var(--gutter);
  transform: translateY(120%); transition: transform .4s ease;
}
.cookie.show { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie p { font-size: .95rem; color: rgba(255,255,255,0.92); margin: 0; flex: 1; min-width: 240px; }
.cookie a { color: var(--red-bright); text-decoration: underline; }
.cookie .btn { padding: 11px 26px; background: var(--red); color: #fff; border-color: var(--red); }

/* Reveal-on-scroll: visible by default; only hidden/animated when JS is active. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: 0; background: var(--navy-deep); }
  .hero::before {
    content: ''; display: block; width: 100%; aspect-ratio: 767 / 710;
    background: url('/images/hero-mobile.jpg?v=2') center top / cover no-repeat;
  }
  .hero .container { padding-top: 30px; padding-bottom: 36px; }
  .hero-inner { max-width: 100%; }
  .hero .hero-heading { font-size: clamp(2rem, 8.5vw, 2.7rem); margin-bottom: 14px; }
  .hero-sub { font-size: 1.06rem; margin-bottom: 22px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1; padding: 14px 12px; font-size: .9rem; }
  .header-right { gap: 12px; }
  .geo-select .geo-current { font-size: .8rem; max-width: 96px; }
  .country-select { padding: 8px 30px 8px 12px; }
  .brand img { width: clamp(140px, 42vw, 190px); }
  .header-right .btn { padding: 10px 16px; font-size: .85rem; }
  .login-link { font-size: .85rem; }
  .cat-nav .container { gap: 6px 20px; }
  .cat-nav a { font-size: .84rem; }
}
@media (max-width: 480px) {
  .geo-select .geo-current { max-width: 20px; }
  .country-select { padding-left: 24px; }
}
@media (max-width: 400px) {
  .brand img { width: 148px; }
  .header-right { gap: 8px; }
  .header-right .btn { padding: 9px 13px; font-size: .8rem; }
  .login-link { font-size: .8rem; }
}
