/* =========================================================
   ThinkFit Studio — design tokens
   Palette: navy, black, white, grey
   ========================================================= */
:root {
  --navy-900: #050d20;
  --navy-800: #0a1a3a;
  --navy-700: #0f2552;
  --navy-500: #1d4ed8;
  --blue-400: #4f8cff;
  --blue-300: #7eaaff;

  --ink: #07101f;
  --ink-2: #0e1a30;

  --grey-900: #1a2235;
  --grey-700: #3a4458;
  --grey-500: #6b7588;
  --grey-300: #c9cfdb;
  --grey-200: #dde2eb;
  --grey-100: #eef1f6;
  --grey-50:  #f6f8fb;

  --white: #ffffff;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px rgba(7,16,31,.06), 0 8px 24px rgba(7,16,31,.06);
  --shadow-2: 0 30px 60px -20px rgba(7,16,31,.35);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Anton', 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-acc: 'Space Grotesk', var(--font-sans);

  /* Hero/mission images — swap these for real ThinkFit photos */
  --hero-img: url('https://images.unsplash.com/photo-1740895307943-7878df384db1?w=1800&q=72&auto=format&fit=crop');
  --mission-img: url('https://images.unsplash.com/photo-1574680096145-d05b474e2155?w=1800&q=70&auto=format&fit=crop');
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy-800); color: #fff; padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; z-index: 999; }

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

/* =================== Typography =================== */
h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0;
  line-height: .92;
  margin: 0 0 .5em;
  font-weight: 400; /* Anton is single weight */
  text-transform: uppercase;
}
h1 { font-size: clamp(3.4rem, 10vw, 8rem); letter-spacing: -.01em; }
h2 { font-size: clamp(2.4rem, 6vw, 5.2rem); letter-spacing: -.005em; }
h3 {
  font-family: var(--font-acc);
  font-size: 1.05rem; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase;
}

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--font-acc);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--blue-300);
  margin: 0 0 1.4rem;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; display: inline-block;
  width: 28px; height: 2px;
  background: currentColor;
}
.eyebrow--dark { color: var(--navy-500); }
.eyebrow--light { color: var(--blue-300); }

.lede { font-size: 1.1rem; color: var(--grey-700); max-width: 60ch; }

.grad {
  background: linear-gradient(90deg, var(--blue-400), var(--blue-300));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.underline {
  background-image: linear-gradient(transparent 64%, rgba(79,140,255,.32) 64%);
  background-repeat: no-repeat;
}

/* =================== Buttons =================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 28px;
  border-radius: 4px;
  font-family: var(--font-acc);
  font-weight: 700; font-size: .88rem;
  letter-spacing: .12em;
  border: 1.5px solid transparent;
  text-transform: uppercase;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  cursor: pointer;
}
.btn--primary {
  background: linear-gradient(180deg, var(--blue-400), var(--navy-500));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(29,78,216,.55);
}
.btn--primary:hover { transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.section--light .btn--ghost { color: var(--ink); border-color: var(--grey-300); }
.section--light .btn--ghost:hover { border-color: var(--ink); }

/* =================== Nav =================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: rgba(5, 13, 32, .72);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav__inner {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0;
}
.nav__brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav__wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .04em;
  color: #fff; font-size: 1.4rem;
}
.nav__wordmark--accent { color: var(--blue-400); }
.nav__links {
  display: flex; align-items: center; gap: 30px;
}
.nav__links a {
  color: rgba(255,255,255,.78);
  font-family: var(--font-acc);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color .15s ease;
}
.nav__links a:hover { color: #fff; }
.nav__cta {
  background: linear-gradient(180deg, var(--blue-400), var(--navy-500));
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 4px;
}
.nav__burger {
  display: none;
  background: transparent; border: 0; padding: 8px;
  cursor: pointer;
}
.nav__burger span {
  display: block; width: 24px; height: 2px; background: #fff;
  margin: 5px 0; border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* IMPORTANT: keep mobile menu hidden by default. Only the .is-open class shows it. */
.nav__mobile {
  display: none;
  flex-direction: column; gap: 0;
  padding: 8px var(--gutter) 18px;
  background: rgba(5,13,32,.96);
  border-top: 1px solid rgba(255,255,255,.06);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
  color: #fff; padding: 14px 4px;
  font-family: var(--font-acc);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav__mobile .nav__cta { text-align: center; margin-top: 12px; border: 0; }

@media (max-width: 880px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
}

/* =================== Hero =================== */
.hero {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center;
  padding: clamp(80px, 10vw, 130px) 0 clamp(80px, 10vw, 130px);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: var(--hero-img);
  background-size: cover; background-position: center;
  filter: saturate(.85) contrast(1.05);
  transform: scale(1.05);
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5,13,32,.55) 0%, rgba(5,13,32,.78) 70%, #050d20 100%),
    radial-gradient(900px 500px at 80% -10%, rgba(79,140,255,.35), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(29,78,216,.35), transparent 55%);
}
.hero__inner {
  position: relative;
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
  max-width: 1100px;
}
.hero__title {
  font-size: clamp(3.4rem, 11vw, 9rem);
  margin-bottom: 28px;
  text-shadow: 0 6px 30px rgba(0,0,0,.35);
}
.hero__sub {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  color: rgba(255,255,255,.82);
  max-width: 60ch;
  margin-bottom: 36px;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__pills {
  list-style: none; margin: 56px 0 0; padding: 0;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.hero__pills li {
  font-family: var(--font-acc);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .14em;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 4px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.04);
}
.hero__scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 2px solid rgba(255,255,255,.5);
  border-radius: 12px;
}
.hero__scroll span {
  display: block; width: 4px; height: 8px;
  background: #fff; border-radius: 2px;
  margin: 6px auto 0;
  animation: scroll 1.6s ease-in-out infinite;
}
@keyframes scroll {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* =================== Marquee =================== */
.marquee {
  background: var(--ink);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden;
  padding: 18px 0;
}
.marquee__track {
  display: flex; gap: 28px;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  letter-spacing: .04em;
  color: rgba(255,255,255,.92);
}
.marquee__track span:nth-child(even) { color: var(--blue-400); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =================== Stats =================== */
.stats {
  background: var(--ink);
  color: #fff;
  padding: clamp(56px, 7vw, 90px) 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 4vw, 60px);
  text-align: center;
}
.stats__grid > div {
  border-left: 1px solid rgba(255,255,255,.1);
  padding-left: clamp(16px, 2vw, 28px);
  text-align: left;
}
.stats__grid > div:first-child { border-left: 0; padding-left: 0; }
.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  color: var(--blue-400);
  margin-bottom: 8px;
}
.stats span {
  font-family: var(--font-acc);
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}
@media (max-width: 720px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stats__grid > div:nth-child(3) { border-left: 0; padding-left: 0; }
}

/* =================== Sections =================== */
.section { padding: clamp(80px, 10vw, 140px) 0; }
.section--light { background: var(--white); color: var(--ink); }
.section--dark { background: var(--ink); color: #fff; position: relative; }
.section--dark::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 90% 0%, rgba(79,140,255,.18), transparent 60%),
    radial-gradient(600px 400px at 10% 100%, rgba(29,78,216,.15), transparent 60%);
  pointer-events: none;
}
.section__head { max-width: 880px; margin-bottom: 64px; position: relative; }
.section--dark .section__head h2,
.section--dark .lede { color: #fff; }
.section--dark .lede { color: rgba(255,255,255,.75); }

/* =================== Who it's for =================== */
.who-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.who-grid li {
  position: relative;
  background: var(--grey-50);
  border: 1px solid var(--grey-100);
  border-radius: var(--radius);
  padding: 30px 28px 26px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  overflow: hidden;
}
.who-grid li::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--blue-400), var(--navy-500));
  transition: width .3s ease;
}
.who-grid li:hover {
  transform: translateY(-3px);
  border-color: var(--grey-200);
  box-shadow: var(--shadow-1);
}
.who-grid li:hover::after { width: 100%; }
.who-grid__num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--blue-400);
  display: inline-block;
  margin-bottom: 14px;
  letter-spacing: .04em;
}
.who-grid h3 { color: var(--navy-800); margin: 0 0 4px; }
.who-grid p { color: var(--grey-700); font-size: .98rem; margin: 0; }

/* =================== Gallery =================== */
.gallery {
  background: var(--ink);
  padding: 0;
  overflow: hidden;
}
.gallery__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
}
.gallery figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease;
}
.gallery figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(5,13,32,.6));
  opacity: .6;
}
.gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 980px) {
  .gallery__track { grid-template-columns: repeat(3, 1fr); }
  .gallery figure:nth-child(n+4) { display: none; }
}
@media (max-width: 600px) {
  .gallery__track { grid-template-columns: repeat(2, 1fr); }
}

/* =================== Offer cards =================== */
.offer-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  position: relative;
  z-index: 1;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--blue-400);
  background: linear-gradient(180deg, rgba(79,140,255,.08), rgba(255,255,255,.02));
}
.card__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--blue-300);
  margin-bottom: 18px;
  letter-spacing: .04em;
}
.card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.card p { color: rgba(255,255,255,.72); margin: 0; font-size: .98rem; }

/* =================== Split layouts =================== */
.split {
  display: grid; gap: clamp(36px, 6vw, 80px);
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
}
.split--reverse .split__media { order: -1; }
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.ticks { list-style: none; padding: 0; margin: 24px 0 0; }
.ticks li {
  position: relative;
  padding: 12px 0 12px 36px;
  border-bottom: 1px solid var(--grey-100);
  color: var(--grey-700);
  font-weight: 500;
}
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: 18px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--navy-500));
}
.ticks li::after {
  content: "";
  position: absolute; left: 6px; top: 23px;
  width: 8px; height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--grey-100);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-2);
}
.media-frame--tall { aspect-ratio: 3 / 4; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: inherit;
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* =================== Mission =================== */
.mission {
  position: relative;
  color: #fff;
  padding: clamp(100px, 12vw, 160px) 0;
  text-align: center;
  overflow: hidden;
}
.mission__bg {
  position: absolute; inset: 0;
  background-image: var(--mission-img);
  background-size: cover; background-position: center;
  filter: brightness(.45) saturate(.9);
}
.mission .container { position: relative; z-index: 1; }
.mission__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -.005em;
  text-transform: uppercase;
  max-width: 26ch;
  margin: 0 auto;
  color: #fff;
}

/* =================== Team =================== */
.team {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 36px;
  max-width: 440px;
}
.team__card {
  background: var(--grey-50);
  border-radius: var(--radius);
  padding: 18px;
  text-align: center;
  border: 1px solid var(--grey-100);
}
.team__avatar {
  width: 96px; height: 96px;
  border-radius: 50%; overflow: hidden;
  margin: 0 auto 14px;
  background: var(--grey-300);
}
.team__avatar img { width: 100%; height: 100%; object-fit: cover; }
.team__card h3 { margin: 0 0 2px; color: var(--navy-800); font-size: 1rem; }
.team__card p {
  margin: 0;
  font-family: var(--font-acc);
  color: var(--grey-500);
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* =================== Testimonials =================== */
.testimonials__source {
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-acc);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}
.testimonials__source a { color: var(--blue-300); }
.testimonials__source a:hover { color: #fff; }

.quotes {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.quote {
  margin: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  transition: border-color .25s ease, transform .25s ease;
}
.quote:hover { border-color: var(--blue-400); transform: translateY(-3px); }
.quote blockquote {
  margin: 0 0 18px;
  font-family: var(--font-acc);
  font-size: 1.06rem;
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
}
.quote figcaption {
  font-family: var(--font-acc);
  color: var(--blue-300);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.quote figcaption span { color: rgba(255,255,255,.5); margin-left: 4px; }

.stars {
  display: inline-flex; gap: 3px;
  margin-bottom: 16px;
}

/* =================== CTA / Contact =================== */
.cta {
  background: linear-gradient(180deg, #fff 0%, var(--grey-50) 100%);
  padding: clamp(80px, 10vw, 140px) 0;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 920px) { .cta__inner { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.contact-list li {
  display: grid; grid-template-columns: 110px 1fr; gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--grey-100);
}
.contact-list strong {
  font-family: var(--font-acc);
  font-size: .76rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--navy-700);
}
.contact-list a:hover { color: var(--navy-500); }
.contact-list span, .contact-list a { line-height: 1.5; }

.form {
  background: #fff;
  border: 1px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid; gap: 14px;
  box-shadow: var(--shadow-1);
}
.form label {
  display: grid; gap: 8px;
  font-family: var(--font-acc);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.form input, .form select, .form textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0;
  text-transform: none;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--grey-200);
  background: var(--grey-50);
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(29,78,216,.12);
}
.form .btn { margin-top: 6px; }
.form__done {
  margin: 0; color: var(--navy-700);
  font-family: var(--font-acc);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* =================== Footer =================== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  padding: 64px 0 36px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: start;
}
.footer__brand p { max-width: 50ch; margin-top: 14px; font-size: .94rem; }
.footer__links {
  display: flex; flex-wrap: wrap; gap: 22px;
  justify-content: flex-end;
}
.footer__links a {
  color: rgba(255,255,255,.78);
  font-family: var(--font-acc);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer__links a:hover { color: #fff; }
.footer__legal {
  grid-column: 1 / -1;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  margin: 14px 0 0;
}
@media (max-width: 760px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-content: flex-start; }
}

/* =================== Reduced motion =================== */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
}
