/* ============================================================
   The Fortune 5 Agency — brand tokens and site styles.
   Colours are taken straight from the F5 logo files:
     blue   #2297F9   the block behind the "5"
     silver #ABB0B4   the "5" itself
   The site leans corporate: ink hero and CTA bands, cool white
   body sections, and the blue used sparingly for accent and CTAs.
   The signature move is a hard blue-offset drop shadow on primary
   buttons and key cards, echoing the block behind the "5" mark.
   ============================================================ */

/* Self-hosted so the page makes no third-party requests. */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/montserrat-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/montserrat-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/montserrat-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/montserrat-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/montserrat-latin-800-normal.woff2') format('woff2'); }

:root {
  --ink: #161B26;
  --ink-2: #1E2331;
  --paper: #F4F6F8;
  --white: #FFFFFF;
  --silver: #ABB0B4;
  --steel: #4C5566;
  --line: #E1E5EB;
  --blue: #2297F9;
  --blue-deep: #0A6DC9;
  --blue-tint: #E4F2FE;

  --font-body: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --shadow-hard: 6px 6px 0 var(--blue);
  --radius: 10px;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-deep); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue-deep);
  padding: 0; margin: 0;
}
.eyebrow::before { content: '— '; color: var(--blue); }

h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0 0 1em; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-size: 16px; font-weight: 700; line-height: 1;
  padding: 16px 22px; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--white); color: var(--ink); border-color: var(--white);
  box-shadow: var(--shadow-hard);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--blue); }
.btn-primary:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--blue); }

.btn-solid {
  background: var(--ink); color: var(--white); border-color: var(--ink);
  box-shadow: var(--shadow-hard);
}
.btn-solid:hover { background: #000; transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--blue); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost.on-dark { color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost.on-dark:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------------- header ---------------- */

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(22, 27, 38, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; }
.brand .tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--silver); border-left: 2px solid var(--blue); padding-left: 12px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-weight: 600; color: var(--white); }
.nav a:hover { color: var(--blue); text-decoration: none; }
.header-cta { display: none; }
@media (min-width: 900px) { .header-cta { display: inline-flex; } }
@media (max-width: 820px) { .nav { display: none; } .brand .tag { display: none; } }

/* ---------------- hero ---------------- */

.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: var(--white);
  padding: 96px 0 112px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1000px 500px at 110% 0%, rgba(34,151,249,.22), transparent 60%),
    radial-gradient(700px 400px at -5% 110%, rgba(34,151,249,.10), transparent 60%);
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--blue); }
.hero .lede { font-size: clamp(17px, 1.5vw, 20px); color: #C6CBD6; max-width: 46ch; margin-top: 24px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero .under { font-size: 14px; color: #8B93A4; margin-top: 18px; }
.hero-eyebrow { color: var(--blue); }

.hero-art {
  position: relative; width: 100%; max-width: 460px; aspect-ratio: 1 / 1;
  margin-left: auto; justify-self: end;
}
.hero-art .plate {
  position: absolute; inset: 8% 12% 8% 8%; border: 2px solid var(--blue);
  border-radius: 24px; background: rgba(34,151,249,.06);
}
.hero-art .mark {
  position: absolute; inset: 0; margin: auto; width: 82%; height: 82%; z-index: 2;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.35));
}
@media (max-width: 900px) {
  .hero { padding: 56px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 320px; margin: 0 auto; }
}

/* ---------------- section shared ---------------- */

section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }
.section-head { max-width: 820px; margin: 0 auto 56px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { color: var(--steel); font-size: 18px; margin-top: 18px; max-width: 60ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------------- approach (three pillars) ---------------- */

.approach { background: var(--paper); }
.approach .cards {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
}
.pillar {
  background: var(--white); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--line); position: relative;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pillar:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--blue); border-color: var(--ink); }
.pillar .glyph {
  width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--blue);
  display: grid; place-items: center; font-weight: 800; font-size: 20px; margin-bottom: 20px;
  border-bottom: 4px solid var(--blue);
}
.pillar h3 { margin-bottom: 10px; }
.pillar p { color: var(--steel); font-size: 15.5px; margin: 0; }
@media (max-width: 900px) { .approach .cards { grid-template-columns: 1fr; } }

/* ---------------- team mix ---------------- */

.team {
  background: var(--ink);
  color: var(--white);
  position: relative; overflow: hidden;
}
.team::before {
  /* A big translucent "5" bleeding off the right edge as a background motif. */
  content: ''; position: absolute; top: 0; right: -8vw; width: 60vw; height: 100%;
  background: url('../assets/mark.svg') no-repeat right center / contain;
  opacity: .06;
  pointer-events: none;
}
.team .wrap { position: relative; z-index: 1; }
.team h2 { color: var(--white); }
.team .section-head p { color: #C6CBD6; }
.team-cols {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px;
}
.role {
  border-top: 3px solid var(--blue);
  padding-top: 24px;
}
.role h3 { color: var(--white); font-size: 24px; margin-bottom: 12px; }
.role p { color: #C6CBD6; font-size: 15.5px; margin: 0; }
.role .kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--blue); text-transform: uppercase; margin-bottom: 6px; }
@media (max-width: 900px) { .team-cols { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------- capabilities ---------------- */

.capabilities .grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start;
}
.capabilities .grid > div p { color: var(--steel); font-size: 17px; }
.cap-list {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 12px;
}
.cap-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); font-weight: 600; color: var(--ink); font-size: 16px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.cap-list li:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--blue-tint); border-color: var(--ink); }
.cap-list li::before {
  content: ''; flex: 0 0 12px; width: 12px; height: 12px; border-radius: 3px;
  background: var(--blue);
}
@media (max-width: 900px) { .capabilities .grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------------- manifesto ---------------- */

.manifesto {
  background: var(--paper);
  padding: 96px 0;
}
.manifesto .wrap { max-width: 900px; text-align: center; }
.manifesto blockquote {
  margin: 0; font-family: var(--font-body); font-weight: 700;
  font-size: clamp(24px, 3vw, 34px); line-height: 1.3; letter-spacing: -0.01em;
  color: var(--ink);
}
.manifesto blockquote .accent { color: var(--blue-deep); }
.manifesto .kicker { color: var(--blue-deep); font-weight: 800; letter-spacing: .14em; font-size: 12px; text-transform: uppercase; margin-bottom: 16px; }
.manifesto p.sub { color: var(--steel); font-size: 18px; margin-top: 20px; }

/* ---------------- CTA band ---------------- */

.cta-band {
  background: var(--ink); color: var(--white);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 350px at 100% 0%, rgba(34,151,249,.30), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(255,255,255,.05), transparent 60%);
}
.cta-band .wrap { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: #C6CBD6; font-size: 18px; margin-top: 14px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.cta-band .under { color: #8B93A4; font-size: 14px; margin-top: 14px; }
.cta-band .stat {
  border-left: 4px solid var(--blue); padding: 8px 0 8px 20px;
  color: var(--white); font-weight: 800; font-size: 22px;
}
.cta-band .stat small { display: block; color: #C6CBD6; font-weight: 500; font-size: 14px; margin-top: 6px; }
@media (max-width: 820px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* ---------------- footer ---------------- */

.site-footer { background: #0F1420; color: #A9AFBD; padding: 56px 0 40px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 32px; }
.site-footer h4 { color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 12px; font-weight: 800; }
.site-footer a { color: #A9AFBD; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer .brand img { height: 34px; }
.site-footer p { font-size: 14px; margin-top: 16px; max-width: 46ch; }
.site-footer .parent { font-size: 12px; letter-spacing: .1em; color: #6B7180; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); text-transform: uppercase; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr; } }

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