/* JackWagon Surfers site styles (consolidated from inline blocks) */
/* Base reset */html, body { margin: 0; padding: 0; } img { max-width: 100%; height: auto; } /* Theme tokens */:root { --clr-accent: #ef3824; --clr-accent-600: #d22e1d; --clr-accent-700: #b72817; } html { scroll-behavior: smooth; } body { background: #fff; color: #0b0b0b; } /* Typography (keeps existing font includes) */h2 { color: #663c6f; font-size: clamp(28px,3vw,36px); line-height: 1.2; font-weight: 900; letter-spacing: 2px; font-family: 'Lato', sans-serif; margin: 0 0 12px; } h4 { color: #7a6d7a; font-size: 18px; font-family: 'Lato', sans-serif; text-align: left; font-weight: 700; margin: 8px 0; } /* Layout helpers */.section { padding: 64px 0; } @media (max-width:767px){ .section {  padding: 40px 0; } } .container { max-width: 1200px; margin: 0 auto; padding: 0 16px; } .two-col { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; } @media (min-width:900px){ .two-col {  grid-template-columns: 1fr 1fr;  gap: 40px; } } section, header, main { scroll-margin-top: 72px; } /* Accessible focus */:focus-visible { outline: 3px solid var(--clr-accent); outline-offset: 2px; border-radius: 6px; } /* Navigation */.topnav { position: sticky; top: 0; z-index: 1000; background: rgba(0,0,0,.35); color: #fff; backdrop-filter: blur(8px); } .topnav.is-sticky { background: rgba(0,0,0,.7); box-shadow: 0 8px 20px rgba(0,0,0,.25); } .topnav .nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; padding: 12px 16px; } .topnav .brand { font-family: gretoonregular; font-size: 28px; color: #fff; text-decoration: none; letter-spacing: .5px; } .menu-toggle { background: transparent; border: 0; color: #fff; width: 44px; height: 44px; border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; } .menu-toggle .bar, .menu-toggle .bar::before, .menu-toggle .bar::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; border-radius: 2px; transition: transform .25s ease, opacity .25s ease; } .menu-toggle .bar::before, .menu-toggle .bar::after { content: ""; position: absolute; left: 0; } .menu-toggle .bar::before { top: -6px; } .menu-toggle .bar::after { top: 6px; } .open .menu-toggle .bar { background: transparent; } .open .menu-toggle .bar::before { transform: translateY(6px) rotate(45deg); } .open .menu-toggle .bar::after { transform: translateY(-6px) rotate(-45deg); } #primary-menu { list-style: none; margin: 0; padding: 0; } #primary-menu li { display: block; } #primary-menu a { color: #fff; text-decoration: none; padding: 10px 14px; display: block; border-radius: 8px; } #primary-menu a:hover, #primary-menu a:focus { background: rgba(255,255,255,.12); } @media (min-width:768px){ .menu-toggle {  display: none; }  #primary-menu {  display: flex !important;  gap: 8px; } } /* Hero */.hero { position: relative; background-color: #000; min-height: 100vh; height: 100vh; } .hero video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; } .hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35) 40%, rgba(0,0,0,.6)); } .hero-content { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 16px; color: #fff; } .hero-content h1 { font-family: 'Aclonica','Agbalumo', cursive; font-size: clamp(32px,4vw,56px); margin: 0 0 12px; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0,0,0,.45); } .hero-content .tagline { font-family: 'Lato',sans-serif; font-size: clamp(16px,2.2vw,20px); margin: 0 0 24px; opacity: .95; } .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; } .btn { font-family: 'Lato',sans-serif; font-size: 16px; line-height: 1; padding: 12px 18px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease; } .btn.cta { background: var(--clr-accent); color: #fff; } .btn.cta:hover { background: var(--clr-accent-600); transform: translateY(-1px); } .btn.ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.25); } .btn.ghost:hover { background: rgba(255,255,255,.18); } .hero-logo { position: absolute; right: 16px; bottom: 16px; width: 120px; height: auto; z-index: 2; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); } /* Quote under hero */.quote { text-align: center; margin: 24px auto; } .quote p { font-family: 'Lato',sans-serif; color: #111; font-size: 24px; font-weight: 700; margin: 0 0 8px; } .signature { display: block; margin: 0 auto; max-width: 220px; height: auto; opacity: .9; } /* Sections */#About .image img, #Shop .shop-image img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.08); } #About p, #Shop .shop-copy p { font-family: 'Lato',sans-serif; font-size: 18px; line-height: 1.6; color: #333; margin: 0; } /* Riders grid */#Riders h2 { margin-left: 0; } .riders-grid { list-style: none; padding: 0; margin: 16px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; } .rider-card { background: #fff; border-radius: 14px; box-shadow: 0 6px 20px rgba(0,0,0,.08); overflow: hidden; display: flex; flex-direction: column; align-items: center; padding: 16px; } .rider-card img { width: 100%; height: auto; border-radius: 10px; display: block; } .rider-card h3 { font-family: anke_calligraphic_fgregular, 'Lato', serif; font-size: 22px; margin: 12px 0 6px; text-align: center; } .rider-card p { font-family: 'Lato',sans-serif; font-size: 16px; text-align: center; margin: 0 0 4px; color: #444; } /* Reduced motion */@media (prefers-reduced-motion: reduce){ html {  scroll-behavior: auto; }  .btn {  transition: none; } }
/* Riders sizing overrides: make cards/images larger, especially on desktop */#Riders.section.container { max-width: 1280px; } /* give riders a bit more width */.riders-grid { gap: 24px; } @media (min-width:768px){ .riders-grid {  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } } @media (min-width:1100px){ .riders-grid {  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); } } /* Ensure images always occupy full card width */.rider-card img { width: 100%; height: auto; }
/* Riders: make cards larger with exactly 2 per row on >=768px */.riders-grid { grid-template-columns: 1fr; } /* 1 per row on mobile */@media (min-width:768px){ .riders-grid {  grid-template-columns: repeat(2, minmax(0, 1fr));  gap: 28px; } } /* Allow wider section so each card grows more */#Riders.section.container { max-width: 1400px; } /* Ensure images fully span the card */.rider-card img { width: 100%; height: auto; display: block; }
/* Header: fixed (permanent sticky) */.topnav { position: fixed !important; top: 0; left: 0; right: 0; width: 100%; z-index: 1000; } /* Offset page content so header doesn't cover it */body { padding-top: 64px; } @media (max-width:767px){ body {  padding-top: 56px; } } /* Keep hero full height beneath fixed header */.hero { min-height: calc(100vh - 64px); height: calc(100vh - 64px); } @media (max-width:767px){ .hero {  min-height: calc(100vh - 56px);  height: calc(100vh - 56px); } } /* Rider images: bias crop upward so heads stay visible */.rider-card img { object-position: 50% 15%; }
/* Sticky header font fixes: unify and ensure loaded fonts are used */.topnav .brand { font-family: 'Aclonica','Lato',sans-serif;  /* override missing gretoonregular */ font-weight: 700; font-size: 26px; letter-spacing: 0.5px; } @media (min-width:768px){ .topnav .brand {  font-size: 28px; } } #primary-menu a { font-family: 'Lato',sans-serif; font-weight: 600; letter-spacing: 0.2px; } .topnav, .topnav * { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; }
/* Local font faces from fonts/jackwagon */@font-face { font-family: 'Gretoon'; src: url('../wp-content/fonts/gretoon-webfont.woff2') format('woff2'), url('../wp-content/fonts/gretoon-webfont.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: 'Anke Calligraphic FG'; src: url('../wp-content/fonts/ankecallig-fg-webfont.woff2') format('woff2'), url('../wp-content/fonts/ankecallig-fg-webfont.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; } /* Apply correct fonts to sticky header */.topnav .brand { font-family: 'Gretoon','Aclonica','Lato',sans-serif; font-weight: 400; font-size: 26px; letter-spacing: 0.5px; } @media (min-width:768px){ .topnav .brand {  font-size: 28px; } } #primary-menu a { font-family: 'Lato',sans-serif; font-weight: 600; letter-spacing: 0.2px; }
/* Aliases so existing CSS names keep working project-wide */@font-face { font-family: 'gretoonregular'; src: url('../wp-content/fonts/gretoon-webfont.woff2') format('woff2'), url('../wp-content/fonts/gretoon-webfont.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: 'anke_calligraphic_fgregular'; src: url('../wp-content/fonts/ankecallig-fg-webfont.woff2') format('woff2'), url('../wp-content/fonts/ankecallig-fg-webfont.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; } /* Use the real brand font for the main hero title */.hero-content h1 { font-family: 'Gretoon','gretoonregular','Aclonica','Lato',sans-serif; font-weight: 400; } /* Ensure rider names use the Anke script font across the page */.rider-card h3 { font-family: 'Anke Calligraphic FG','anke_calligraphic_fgregular','Lato',serif; font-weight: 400; }
/* Header font fix: enforce correct families with high specificity */.topnav .nav-inner .brand { font-family: 'Gretoon','gretoonregular','Aclonica','Lato',sans-serif !important; font-weight: 400; line-height: 1.1; } .topnav .nav-inner #primary-menu a { font-family: 'Lato',sans-serif !important; font-weight: 600; letter-spacing: 0.2px; }
/* Rider clips (MP4 loops, full frame, no cropping) */
.rider-card .rider-media { width: 100%; height: 380px; object-fit: contain; background: #0f1a24; border-radius: 10px; display: block; cursor: pointer; }
@media (min-width:768px){ .rider-card .rider-media { height: 460px; } }
.rider-card .rider-media:focus-visible { outline: 3px solid var(--clr-accent); outline-offset: 3px; }
.rider-hint { font-family: 'Lato',sans-serif; font-size: 14px; color: #666; margin: 4px 0 0; }

/* About: chapter call to action */
#About a { color: var(--clr-accent-700); font-weight: 700; }

/* Shop section (Etsy) */
#Shop { background: #0f1a24; color: #fff; }
#Shop .shop-panel { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width:900px){ #Shop .shop-panel { grid-template-columns: 3fr 2fr; gap: 48px; } }
#Shop h2 { color: #fff; }
#Shop .shop-eyebrow { font-family: 'Lato',sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #ff6a57; margin: 0 0 8px; }
#Shop .shop-copy p { color: rgba(255,255,255,.88); font-family: 'Lato',sans-serif; font-size: 18px; line-height: 1.6; margin: 0 0 16px; }
#Shop .shop-copy .shop-status { font-size: 16px; color: rgba(255,255,255,.72); }
#Shop .shop-products { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
#Shop .shop-products:empty { display: none; }
#Shop .shop-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
#Shop .shop-ghost { color: #fff; border-color: rgba(255,255,255,.35); background: transparent; }
#Shop .shop-ghost:hover { background: rgba(255,255,255,.12); }
#Shop .shop-video { display: flex; justify-content: center; }
#Shop .shop-ad { width: 100%; max-width: 340px; aspect-ratio: 9 / 16; height: auto; border-radius: 18px; background: #000; box-shadow: 0 18px 40px rgba(0,0,0,.45); display: block; }

/* Footer */
.site-footer { background: #0a1219; color: rgba(255,255,255,.75); font-family: 'Lato',sans-serif; padding: 40px 0; border-top: 1px solid rgba(255,255,255,.08); }
.site-footer .footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.site-footer .footer-brand { font-family: 'Gretoon','gretoonregular','Aclonica',sans-serif; font-size: 24px; color: #fff; text-decoration: none; }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.site-footer a { color: #fff; }
.site-footer small { display: block; width: 100%; font-size: 14px; color: rgba(255,255,255,.55); }

/* Reduced motion: no autoplaying clips */
@media (prefers-reduced-motion: reduce){ .rider-card .rider-media, #Shop .shop-ad { animation: none; } }

/* Mobile header: keep brand on one line */
@media (max-width:767px){ .topnav .nav-inner .brand { font-size: 22px !important; white-space: nowrap; } }
