/* Markick static site. Fonts as on the Wix site (Signika / Open Sans); colours approximate. */
:root {
  --c-dark: #1b1d24;
  --c-header: #2f2e2e;      /* top bar (Wix used #2f2e2e) — the logo is white */
  --c-heading: #606060;     /* section headings on light backgrounds, as on Wix */
  --c-services: #42484d;    /* services band, as on Wix */
  --c-bullet: #77d7ef;      /* services bullets, as on Wix */
  --c-text: #3a3d45;
  --c-muted: #6b6f78;
  --c-light: #f4f5f7;
  --c-white: #ffffff;
  --c-accent: #0a66c2;      /* LinkedIn-ish blue — change to brand colour */
  --c-accent-dark: #084d93;
  --font-head: "Signika", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  --header-h: 72px;
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--c-text); background: var(--c-white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-accent); }
h1, h2, h3 { font-family: var(--font-head); color: var(--c-heading); text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; }
.mt { margin-top: 72px; }
.strong { font-weight: 600; color: var(--c-dark); }

.btn { display: inline-block; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; background: var(--c-accent); color: #fff; border: 0; padding: 14px 34px; border-radius: 2px; text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: var(--c-accent-dark); }
.btn:disabled { opacity: .6; cursor: wait; }

/* Grid children must be allowed to shrink below image intrinsic widths */
.objectives-grid > *, .contact-grid > *, .quotes > * { min-width: 0; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); background: var(--c-header); box-shadow: none; z-index: 100; transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { height: 34px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.site-nav a { font-family: var(--font-head); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a.active { border-color: var(--c-accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }

/* Hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 40px); background: #222; overflow: hidden; color: #fff; }
/* Wix shows the photos without any darkening; keep only a light gradient behind the text */
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.08) 55%, rgba(0,0,0,0) 100%); }
.hero-content { position: relative; max-width: var(--maxw); width: 100%; }
.hero h1 { color: #fff; max-width: 14ch; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero-sub { font-size: 1.15rem; max-width: 46ch; color: #fff; margin-bottom: 2em; text-shadow: 0 1px 10px rgba(0,0,0,.45); }

/* Section heads with big numbers */
.section-head { display: flex; align-items: center; gap: 24px; margin-bottom: 56px; }
.section-head h2 { margin: 0; max-width: 22ch; }
.big-number { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 9vw, 7rem); line-height: 1; color: var(--c-accent); }
.section-head.light h2 { color: #fff; }

/* Services: grey band, round light-blue bullets, centred white text (as on Wix) */
.services { background: var(--c-services); color: #fff; padding-bottom: 120px; }
.services .section-head { margin-bottom: 88px; }
.services .big-number { color: #fff; font-size: clamp(6rem, 15vw, 13rem); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 88px 48px; }
.service { text-align: center; padding: 0 8px; }
.service-dot { display: block; width: 32px; height: 32px; margin: 0 auto 26px; border-radius: 50%; background: var(--c-bullet); }
.service h3 { font-family: var(--font-body); color: #fff; letter-spacing: .05em; line-height: 1.3; margin: 0 0 18px; }
.service-light { display: block; font-weight: 400; font-size: 1.35rem; }
.service-bold { display: block; font-weight: 700; font-size: 1.65rem; }
.service p { color: #fff; text-transform: uppercase; font-size: .95rem; letter-spacing: .1em; line-height: 1.6; margin: 0 auto; max-width: 24ch; }

/* Who we are */
.who { position: relative; background: #fff url("/images/london.jpg") center / cover no-repeat; padding: 110px 0; }
/* The image's white band runs from 19.6% to 79.9% of its width. The image is always at least as
   wide as the section (cover), so that band is never narrower than 60% of the section and stays
   centred; keep the text 40px inside it on each side. */
.who-inner { width: calc(60% - 80px); margin: 0 auto; }
.who-text p { color: #111; }
/* Content scrolls over a fixed image on desktop; touch devices ignore "fixed", so only use it on wide screens */
@media (min-width: 961px) and (hover: hover) { .who { background-attachment: fixed; } }

/* Objectives */
.objectives { background: var(--c-dark); color: rgba(255,255,255,.85); }
.objectives h2 { color: #fff; }
.objectives .strong { color: #fff; }
.objectives-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
.objectives-figure { margin: 0; }
.objectives-figure img { box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.objectives-figure figcaption { font-size: .85rem; color: rgba(255,255,255,.6); margin-top: 14px; font-style: italic; }

/* Clients & testimonials */
.clients { text-align: center; }
.clients .lead { max-width: 820px; margin: 0 auto 40px; color: var(--c-muted); }
.logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; align-items: center; justify-items: center; }
.logo-grid img { max-width: 200px; filter: grayscale(1); opacity: .85; transition: opacity .2s, filter .2s; }
.logo-grid img:hover { filter: none; opacity: 1; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: left; }
blockquote { margin: 0; background: var(--c-light); padding: 36px 32px; border-left: 4px solid var(--c-accent); }
blockquote p { font-style: italic; font-size: 1.05rem; }
blockquote cite { font-style: normal; font-weight: 600; font-family: var(--font-head); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-dark); }
blockquote cite::before { content: "— "; }

/* Facts */
.facts { position: relative; overflow: hidden; background: #42484d; color: #fff; }
.facts-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.30); }
.facts-content { position: relative; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fact { text-align: center; border-top: 2px solid rgba(255,255,255,.3); padding-top: 24px; }
.fact-num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.1; }
.fact-num small { font-size: .4em; display: block; letter-spacing: .1em; text-transform: uppercase; }
.fact-label { display: block; margin-top: 10px; text-transform: uppercase; font-size: .82rem; letter-spacing: .08em; color: rgba(255,255,255,.85); }

/* Contact */
.contact { background: var(--c-light); }
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; }
.contact-logo { margin: 28px 0 14px; height: 30px; width: auto; }
address { font-style: normal; margin-bottom: 1em; }
.contact-form { background: #fff; padding: 36px; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--c-dark); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #cfd3da; border-radius: 2px; background: #fff; color: var(--c-dark); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(10,102,194,.15); }
.field.invalid input, .field.invalid textarea { border-color: #c0392b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin: 6px 0 20px; min-height: 65px; }
.form-status { margin: 16px 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: #1e7d45; }
.form-status.err { color: #c0392b; }

/* Footer */
.site-footer { background: var(--c-dark); color: rgba(255,255,255,.7); padding: 28px 0; font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.site-footer p { margin: 0; }
.follow { display: flex; align-items: center; gap: 10px; }
.follow a { color: #fff; display: inline-flex; }
.follow a:hover { color: var(--c-accent); }

/* Parallax backgrounds: the image layer moves slower than the page (js/main.js
   sizes and moves it). Without JS, or with reduced motion, it simply covers the section. */
.parallax { position: relative; overflow: hidden; }
.parallax-bg { position: absolute; left: 0; right: 0; top: 0; height: 100%; background-position: center; background-size: cover; background-repeat: no-repeat; will-change: transform; }
.bg-hero { background-image: url("/images/hero-martial-arts.jpg"); }
.bg-facts { background-image: url("/images/facts-bg.jpg"); }

/* Blog (Learn) */
.page-main { padding-top: var(--header-h); }
.blog-head { padding: 80px 0 24px; }
.blog-head p { color: var(--c-muted); max-width: 60ch; }
.blog-list { padding: 24px 0 96px; }
.post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.post-card { background: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.07); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 8px 26px rgba(0,0,0,.12); }
.post-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-card-body { padding: 22px 24px 28px; }
.post-card h2 { font-size: 1.3rem; margin: .3em 0 .5em; color: var(--c-dark); text-transform: none; letter-spacing: 0; }
.post-card p { color: var(--c-muted); font-size: .95rem; margin: 0; }
.post-meta { font-size: .82rem; color: var(--c-muted); text-transform: uppercase; letter-spacing: .06em; }
.post { padding: 72px 0 96px; }
.post .container { max-width: 800px; }
.post-back { display: inline-block; margin-bottom: 28px; font-size: .9rem; text-decoration: none; }
.post h1 { font-size: clamp(2rem, 4.5vw, 3rem); color: var(--c-dark); text-transform: none; letter-spacing: 0; }
.post .post-meta { margin-bottom: 36px; }
.post-cover { margin: 0 0 36px; }
.post-body { font-size: 1.05rem; }
.post-body h2, .post-body h3, .post-body h4, .post-body h5, .post-body h6 { font-family: var(--font-head); color: var(--c-dark); text-transform: none; letter-spacing: 0; margin: 1.6em 0 .6em; line-height: 1.3; }
.post-body h2 { font-size: 1.7rem; } .post-body h3 { font-size: 1.4rem; } .post-body h4, .post-body h5, .post-body h6 { font-size: 1.15rem; }
.post-body figure { margin: 2em 0; }
.post-body figure img { margin: 0 auto; }
.post-body figcaption { text-align: center; font-size: .88rem; color: var(--c-muted); margin-top: 8px; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.post-body li { margin-bottom: .4em; }
.post-body blockquote { margin: 1.6em 0; }
.post-body table { border-collapse: collapse; width: 100%; margin: 1.6em 0; }
.post-body td, .post-body th { border: 1px solid #dde0e5; padding: 10px; vertical-align: top; }
.post-body td figure { margin: 0; }
.post-cta { margin-top: 56px; padding: 36px; background: var(--c-light); border-left: 4px solid var(--c-accent); }
.post-cta h2 { font-size: 1.4rem; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 64px 32px; }
  .objectives-grid, .contact-grid, .quotes { grid-template-columns: 1fr; gap: 40px; }
  .facts-grid, .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .post-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--c-header); box-shadow: 0 8px 16px rgba(0,0,0,.3); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .site-nav.open { max-height: 320px; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .site-nav a { display: block; padding: 12px 0; }
  .services-grid, .post-cards { grid-template-columns: 1fr; }
  .who { padding: 64px 0; }
  .who-inner { width: auto; margin: 0 16px; padding: 28px 20px; background: rgba(255,255,255,.92); }
  .section-head { gap: 16px; margin-bottom: 36px; }
  .contact-form { padding: 24px; }
}
