/* Accelevate UK — Light Editorial Theme */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #FAFAF9;
  --bg-warm: #F5F4F1;
  --surface: #FFFFFF;
  --surface-alt: #F0EFEC;
  --ink: #1A1A1A;
  --ink-sec: #5C5C5C;
  --ink-dim: #9A9A9A;
  --red: #D41920;
  --red-bright: #E82028;
  --red-bg: rgba(212,25,32,0.05);
  --red-border: rgba(212,25,32,0.15);
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.14);
  --font-h: 'Space Grotesk', system-ui, sans-serif;
  --font-b: 'Outfit', system-ui, sans-serif;
  --font-mono: 'Space Mono', monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-b); background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 3rem; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 58px;
  background: rgba(250,250,249,0.85); backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { font-family: var(--font-h); font-size: 0.9rem; font-weight: 700; letter-spacing: 0.2em; color: var(--ink); }
.nav-logo img { height: 22px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-dim); letter-spacing: 0.04em; transition: color 200ms; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--ink) !important; color: white !important;
  padding: 6px 16px; border-radius: 6px; font-weight: 700;
  transition: background 150ms, transform 150ms var(--ease);
}
.nav-cta:hover { background: var(--red) !important; transform: translateY(-1px); }
.nav-cta:active { transform: scale(0.97); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform 200ms var(--ease), opacity 150ms; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  display: flex; flex-direction: column;
  justify-content: center; padding: 10rem 0 5rem;
  position: relative; overflow: hidden;
  background: var(--surface);
}
.hero-accent {
  position: absolute; top: 58px; left: 50%; width: 2px; height: 14vh;
  background: linear-gradient(to bottom, var(--red), transparent);
}
.hero .container { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--red);
  letter-spacing: 0.12em; margin-bottom: 2rem;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow .bar { width: 24px; height: 2px; background: var(--red); border-radius: 1px; }
.hero h1 {
  font-family: var(--font-h); font-size: clamp(3rem, 6.5vw, 6.5rem);
  font-weight: 700; line-height: 0.95; letter-spacing: -0.045em;
  margin-bottom: 2.5rem; color: var(--ink);
}
.hero h1 .red { color: var(--red); }
.hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 4rem; }
.hero-desc { max-width: 46ch; font-size: 1.05rem; color: var(--ink-sec); line-height: 1.8; }
.hero-actions { display: flex; gap: 0.75rem; margin-top: 2rem; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-h); font-weight: 600; font-size: 0.82rem;
  padding: 10px 22px; border-radius: 7px; border: none; cursor: pointer;
  transition: transform 150ms var(--ease), box-shadow 250ms var(--ease), background 150ms;
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--ink); color: white; }
.btn-dark:hover { background: var(--red); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,25,32,0.2); }
.btn-outline { background: transparent; color: var(--ink-sec); border: 1px solid var(--border-strong); }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.hero-scroll { font-family: var(--font-mono); font-size: 0.62rem; color: var(--ink-dim); letter-spacing: 0.12em; writing-mode: vertical-rl; }

/* DIVIDER */
.divider { border: none; height: 1px; margin: 0; background: var(--border); }
.divider--red { border: none; height: 1px; margin: 0; background: linear-gradient(to right, transparent, var(--red-border), var(--border), transparent); }

/* ABOUT */
.about { padding: 6rem 0; background: var(--bg); }
.about-layout { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; }
.side-label {
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--red);
  letter-spacing: 0.14em; text-transform: uppercase; padding-top: 0.5rem;
  border-right: 1px solid var(--red-border);
}
.about-content h2 {
  font-family: var(--font-h); font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 1.5rem;
}
.about-content p { margin-bottom: 1rem; max-width: 55ch; font-size: 0.95rem; color: var(--ink-sec); }
.strong-line { color: var(--ink) !important; font-weight: 600; }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 3rem; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-strong);
}
.stat-cell { padding: 1.75rem 1.5rem; border-right: 1px solid var(--border); background: var(--surface); }
.stat-cell:last-child { border-right: none; }
.stat-val { font-family: var(--font-h); font-size: 2.4rem; font-weight: 700; line-height: 1; margin-bottom: 0.4rem; color: var(--red); }
.stat-lbl { font-family: var(--font-mono); font-size: 0.6rem; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.1em; }

/* BRANDS */
.brands { padding: 6rem 0; background: var(--surface); }
.brands-head { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; margin-bottom: 4rem; }
.brands-head-text h2 { font-family: var(--font-h); font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 0.75rem; }

.brand-entry {
  display: grid; grid-template-columns: 80px 1.1fr 1fr;
  padding: 4rem 2rem; margin: 0 -2rem; position: relative;
  border-top: 1px solid var(--border); border-radius: 12px;
  transition: background 400ms var(--ease);
}
.brand-entry:last-child { border-bottom: 1px solid var(--border); }
.brand-entry--red:hover { background: rgba(212,25,32,0.02); }
.brand-entry--blue:hover { background: rgba(59,130,246,0.02); }
.brand-entry--orange:hover { background: rgba(234,128,40,0.02); }
.brand-entry--green:hover { background: rgba(22,163,74,0.02); }

.brand-entry::before {
  content: ''; position: absolute; left: 0; top: 4rem; bottom: 4rem;
  width: 3px; border-radius: 2px; opacity: 0; transition: opacity 300ms var(--ease);
}
.brand-entry:hover::before { opacity: 1; }
.brand-entry--red::before { background: var(--red); }
.brand-entry--blue::before { background: #2563EB; }
.brand-entry--orange::before { background: #EA8028; }
.brand-entry--green::before { background: #16A34A; }

.brand-num { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-dim); padding-top: 0.3rem; }
.brand-text { padding-right: 4rem; }
.brand-tags-row { display: flex; gap: 6px; margin-bottom: 1rem; }
.btag { font-family: var(--font-mono); font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 4px; }
.btag-red { background: rgba(212,25,32,0.08); color: var(--red); border: 1px solid rgba(212,25,32,0.18); }
.btag-gray { background: var(--surface-alt); color: var(--ink-dim); border: 1px solid var(--border); }
.btag-blue { background: rgba(37,99,235,0.06); color: #2563EB; border: 1px solid rgba(37,99,235,0.15); }
.btag-orange { background: rgba(234,128,40,0.06); color: #C06A1A; border: 1px solid rgba(234,128,40,0.15); }
.btag-green { background: rgba(22,163,74,0.06); color: #16A34A; border: 1px solid rgba(22,163,74,0.15); }

.brand-text h3 { font-family: var(--font-h); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 0.85rem; }
.brand-text p { font-size: 0.92rem; line-height: 1.8; max-width: 48ch; margin-bottom: 1rem; color: var(--ink-sec); }
.brand-feats { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-bottom: 1rem; }
.brand-f { font-size: 0.78rem; color: var(--ink-sec); display: flex; align-items: center; gap: 5px; }
.brand-f svg { flex-shrink: 0; }
.brand-f--red svg { color: var(--red); }
.brand-f--blue svg { color: #2563EB; }
.brand-f--orange svg { color: #EA8028; }
.brand-f--green svg { color: #16A34A; }
.brand-go { font-family: var(--font-h); font-size: 0.82rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; transition: gap 200ms var(--ease); }
.brand-go:hover { gap: 10px; }
.brand-go--red { color: var(--red); }
.brand-go--blue { color: #2563EB; }
.brand-go--orange { color: #C06A1A; }
.brand-go--green { color: #16A34A; }
.brand-go--dim { color: var(--ink-dim); }

.brand-visual-col { display: flex; align-items: center; justify-content: center; position: relative; }
.brand-img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 12px;
  transition: transform 400ms var(--ease);
}
.brand-entry:hover .brand-img { transform: scale(1.02); }

/* EXPERTISE */
.expertise { padding: 6rem 0; background: var(--bg-warm); border-top: 1px solid var(--border); }
.expertise-layout { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; }
.expertise-right h2 { font-family: var(--font-h); font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 0.75rem; }
.expertise-right > p { color: var(--ink-sec); margin-bottom: 2.5rem; max-width: 50ch; }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: 12px; overflow: hidden; }
.exp-card {
  background: var(--surface); padding: 2rem; position: relative;
  border-left: 2px solid transparent;
  transition: border-color 300ms var(--ease);
}
.exp-card:hover { border-left-color: var(--red); }
.exp-card-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--red-bg); border: 1px solid var(--red-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--red); margin-bottom: 1rem;
}
.exp-card h3 { font-family: var(--font-h); font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; }
.exp-card p { font-size: 0.82rem; line-height: 1.75; color: var(--ink-sec); }

/* TEAM */
.team { padding: 6rem 0; background: var(--surface); border-top: 1px solid var(--border); }
.team-layout { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; }
.team-right h2 { font-family: var(--font-h); font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 0.5rem; }
.team-right > p { color: var(--ink-sec); margin-bottom: 3rem; max-width: 46ch; }
.team-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; max-width: 700px; }
.person { text-align: center; }
.person-photo {
  width: 140px; height: 140px; border-radius: 50%; overflow: hidden;
  margin: 0 auto 1.5rem; border: 3px solid var(--border);
  transition: border-color 300ms var(--ease);
}
.person:hover .person-photo { border-color: var(--red); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.person-info { padding: 0; display: flex; flex-direction: column; align-items: center; }
.person-name { font-family: var(--font-h); font-size: 1.15rem; font-weight: 600; margin-bottom: 2px; }
.person-role { font-size: 0.75rem; color: var(--red); font-weight: 600; letter-spacing: 0.03em; margin-bottom: 1rem; }
.person-pts { text-align: left; display: inline-block; }
.person-pts li { font-size: 0.82rem; color: var(--ink-sec); padding: 3px 0 3px 16px; position: relative; }
.person-pts li::before { content: ''; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; background: var(--red); border-radius: 50%; transform: translateY(-50%); }
.person-social {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 1.25rem;
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--ink-dim);
  padding: 6px 14px; border-radius: 5px; border: 1px solid var(--border);
  transition: color 200ms, border-color 200ms, background 200ms;
  text-align: center;
}
.person-info .person-social { display: inline-flex; }
.person-social:hover { color: #0A66C2; border-color: rgba(10,102,194,0.3); background: rgba(10,102,194,0.04); }

/* CONTACT */
.contact { padding: 6rem 0; background: var(--bg-warm); border-top: 1px solid var(--border); }
.contact-layout { display: grid; grid-template-columns: 280px 1fr 1.2fr; gap: 4rem; }
.contact-info h2 { font-family: var(--font-h); font-size: clamp(1.6rem, 2.5vw, 2.2rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 1rem; }
.contact-info p { margin-bottom: 1.5rem; max-width: 38ch; font-size: 0.92rem; color: var(--ink-sec); }
.contact-item { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--ink-sec); margin-bottom: 0.6rem; }
.contact-item svg { color: var(--red); flex-shrink: 0; }
.contact-embed {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1.5rem;
  overflow: hidden;
}
.contact-embed [data-fillout-id] { width: 100%; }

/* FOOTER */
.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 2.5rem 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: var(--font-h); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; color: white; }
.footer-logo img { height: 18px; width: auto; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a { font-family: var(--font-mono); font-size: 0.62rem; color: rgba(255,255,255,0.4); transition: color 150ms; }
.footer-nav a:hover { color: rgba(255,255,255,0.8); }
.footer-copy { width: 100%; text-align: center; font-family: var(--font-mono); font-size: 0.62rem; color: rgba(255,255,255,0.3); padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 1rem; }

/* SCROLL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .brand-entry { grid-template-columns: 60px 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr 1fr; }
  .contact-layout .side-label { display: none; }
}
@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }

  /* Nav: hamburger + dropdown */
  .nav-toggle { display: flex; position: relative; z-index: 1002; }
  .nav-inner { position: relative; }
  .nav-links {
    position: absolute; top: 100%; right: 0;
    flex-direction: column; align-items: stretch;
    gap: 0; width: 220px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { display: block; }
  .nav-links a {
    display: block; padding: 0.75rem 1.25rem;
    font-size: 0.85rem; color: var(--ink-sec);
    font-family: var(--font-b); font-weight: 500;
    transition: background 150ms, color 150ms;
  }
  .nav-links a:hover { background: var(--bg); color: var(--ink); }
  .nav-links .nav-cta {
    margin: 0.5rem 1rem; padding: 0.6rem 1rem;
    text-align: center; border-radius: 6px;
  }

  /* Hero */
  .hero { justify-content: center; padding: 6rem 0 3rem; min-height: auto; }
  .hero h1 { font-size: 2.6rem; }
  .hero-accent { display: none; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }
  .hero-scroll { display: none; }

  /* Sections */
  .about-layout, .brands-head, .expertise-layout, .team-layout { grid-template-columns: 1fr; gap: 2rem; }
  .side-label { display: none; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(2) { border-right: none; }
  .brand-entry { grid-template-columns: 1fr; padding: 2rem 1rem; margin: 0; border-radius: 0; }
  .brand-entry::before { display: none; }
  .brand-num { display: none; }
  .brand-text { padding-right: 0; }
  .brand-visual-col { margin-top: 1.5rem; }
  .brand-img { max-height: 240px; width: 100%; }
  .exp-grid { grid-template-columns: 1fr; }
  .team-duo { grid-template-columns: 1fr; max-width: 100%; }
  .person { max-width: 320px; margin: 0 auto; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .footer-row { flex-direction: column; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
}
