/* =========================================================
   Brand @ IDEO — site styles
   Swiss minimal · ABC Diatype · thin hairlines
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

@font-face {
  font-family: 'ABC Diatype';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ABCDiatype-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'ABC Diatype';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('fonts/ABCDiatype-RegularItalic.woff2') format('woff2');
}
@font-face {
  font-family: 'ABC Diatype';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ABCDiatype-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'ABC Diatype';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ABCDiatype-Medium.woff2') format('woff2');
}
/* 600 aliased to Medium so anywhere we wrote font-weight:600 still
   resolves to a real file instead of synthesizing. */
@font-face {
  font-family: 'ABC Diatype';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ABCDiatype-Medium.woff2') format('woff2');
}

:root {
  --font-sans: 'ABC Diatype', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Type scale */
  --fs-body: 18px;
  --fs-small: 14px;
  --fs-h2: 30px;
  --fs-h1: 64px;
  --fs-h0: 105px;

  --ink: #111111;
  --ink-soft: #3d3d3d;
  --muted: #8a8a8a;
  --rule: #dcdcdc;
  --rule-soft: #ececec;
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --accent: #d4ff4a;            /* lime squiggle accent used on footer */

  /* Capability ring colors, sampled from screenshots */
  --cap-1: #1f5f6a;             /* teal — Strategic Brand Foundation */
  --cap-2: #f25c3b;             /* coral — Brand Identity */
  --cap-3: #5a1523;             /* maroon — Brand Expression & Experience */

  --foundations-accent: #c94536;
  --practice-accent:    #111111;
  --growth-accent:      #1f5f6a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  font-size: var(--fs-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

/* ============== Shared layout ============== */
.site-wrap { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.rule { height: 1px; background: var(--rule); border: 0; }

/* ============== Header ============== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  max-width: 1240px; margin: 0 auto; padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px;
}
.brandmark {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
  text-decoration: none;
}
.brandmark__at {
  display: inline-block; padding-right: 2px; color: var(--ink);
}
.brandmark__logo-img {
  height: 18px; width: auto; display: block;
}
.site-nav {
  display: flex; align-items: center; gap: 44px;
}
.site-nav__home { display: none; }
.site-nav a {
  font-size: var(--fs-body); font-weight: 400; color: var(--ink);
  position: relative;
  text-decoration: none;
}
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -19px;
  height: 1px; background: var(--ink);
}
.site-nav__star {
  display: none;
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
  padding: 0; margin: 0; border: 0; background: transparent;
  cursor: default;
  pointer-events: none;
}
.site-nav__star img { width: 100%; height: 100%; object-fit: contain; display: block; }
.site-nav__star img.site-nav__star-open { display: none; }
.site-nav__star.is-open img.site-nav__star-closed { display: none; }
.site-nav__star.is-open img.site-nav__star-open { display: block; }
@media (max-width: 600px) {
  .site-nav__star { display: inline-flex; cursor: pointer; pointer-events: auto; }
}

/* ============== Page openers ============== */
.page-title {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-h0);
  line-height: 1; letter-spacing: -0.022em;
  margin: 0;
}
.page-kicker {
  display: grid; grid-template-columns: 1fr minmax(320px, 1fr);
  gap: 48px; padding: 96px 0 64px; align-items: start;
}
.page-kicker p {
  font-size: var(--fs-body); line-height: 1.45; color: var(--ink); margin: 0;
  max-width: 48ch;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  display: inline-block; margin-bottom: 14px;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--rule);
}
.section--plain { border-top: 0; }

/* ============== Home ============== */
.home-welcome {
  padding: 96px 0 24px;
}
.home-welcome h1 {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.1; letter-spacing: -0.015em;
  max-width: 20ch;
  margin: 0;
}

/* Home showcase frame — autoplaying looped MP4. */
.home-showcase {
  margin: 140px 0 40px;
}
.home-showcase__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #ddd;
  overflow: hidden;
}
.home-showcase__video,
.home-showcase__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(220px, 300px) 1fr;
  gap: 80px;
  padding: 40px 0 120px;
  align-items: start;
}
.home-intro__blurb {
  font-size: var(--fs-h2);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  max-width: 24ch;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.home-sections { display: flex; flex-direction: column; }

.home-section-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 40px;
  padding: 32px 0 40px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: padding 260ms cubic-bezier(.2,.8,.2,1);
}
.home-section-link:first-child { border-top: 1px solid var(--rule); }
.home-section-link:hover {
  padding-left: 8px;
}
.home-section-link__body {
  display: flex; flex-direction: column; gap: 10px;
}
.home-section-link__hed {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
}
.home-section-link__sub {
  font-size: var(--fs-body); color: var(--ink); margin: 0;
  line-height: 1.45;
}
.home-section-link__arrow {
  align-self: start;
  width: 48px; height: 48px;
  color: var(--ink);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1);
}
.home-section-link__arrow svg { width: 100%; height: 100%; display: block; }
.home-section-link:hover .home-section-link__arrow { transform: translate(4px, -4px); }

/* ============== Footer ============== */
.site-footer {
  background: #0a0a0a; color: #fff;
  padding: 48px 0 0;
  margin-top: 120px;
}
.site-footer__inner {
  max-width: 1240px; margin: 0 auto; padding: 0 40px;
}
.site-footer__top {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 48px;
  font-size: var(--fs-body); line-height: 1.45;
}
.site-footer__ideoly {
  position: relative; width: 60px; height: 60px;
  animation: ideo-only-spin 22s linear infinite;
}
.site-footer__ideoly img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  /* Source is black artwork — recolor to accent neon green */
  filter: brightness(0) saturate(100%) invert(95%) sepia(55%) saturate(1200%) hue-rotate(15deg) brightness(1.05) contrast(1.05);
}
@keyframes ideo-only-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.site-footer__block h5 {
  color: var(--accent);
  font-weight: 400;
  font-size: var(--fs-body);
  margin: 0 0 4px;
  letter-spacing: 0;
}
.site-footer__block a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; font-size: var(--fs-body); }
.site-footer__locations {
  color: var(--accent);
  font-weight: 400;
  font-size: var(--fs-body);
  font-family: var(--font-sans);
  letter-spacing: 0;
  line-height: 1.45;
  text-align: right;
}
.site-footer__ideo {
  padding: 0 0 40px;
  padding-top: 16px;
}
.site-footer__ideo img {
  display: block;
  width: 100%;
  max-width: 1160px;
  height: auto;
  margin: 0 auto;
}
.site-footer__ideo img.site-footer__ideo--horizontal { display: block; }
.site-footer__ideo img.site-footer__ideo--square { display: none; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 80px;
  transform: translateX(-50%) translateY(12px);
  background: var(--ink); color: #fff;
  padding: 10px 16px;
  font-size: 13px;
  z-index: 80;
  opacity: 0; pointer-events: none;
  transition: opacity 200ms, transform 200ms;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============== Utility buttons ============== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  font-family: var(--font-sans); font-size: 13px; font-weight: 500;
  border: 1px solid var(--ink);
  background: #fff; color: var(--ink);
  cursor: pointer;
  transition: background 160ms, color 160ms;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn.is-ink { background: var(--ink); color: #fff; }
.btn.is-ink:hover { background: #fff; color: var(--ink); }
.btn__arrow { font-size: 14px; }

/* ============== Responsive ============== */
@media (max-width: 900px) {
  .site-wrap { padding: 0 20px; }
  .site-header__inner { padding: 14px 20px; }
  .site-nav a[aria-current="page"]::after { bottom: -15px; }
  .site-nav { gap: 18px; }
  .page-kicker { grid-template-columns: 1fr; gap: 20px; padding: 60px 0 40px; }
  .home-intro { grid-template-columns: 1fr; gap: 20px; }
  .site-footer__inner { padding: 0 20px; }
  .site-footer__top { grid-template-columns: auto 1fr auto; gap: 24px; }
  .site-footer__locations { text-align: right; }
  .home-section-link { grid-template-columns: 1fr auto; gap: 24px; }
  :root {
    --fs-h0: 72px;
    --fs-h1: 48px;
    --fs-h2: 24px;
  }
}
@media (max-width: 600px) {
  :root {
    --fs-h0: 56px;
    --fs-h1: 40px;
    --fs-h2: 22px;
  }
  .site-nav a { display: none; }
  .site-footer__ideo img.site-footer__ideo--horizontal { display: none; }
  .site-footer__ideo img.site-footer__ideo--square { display: block; max-width: 420px; margin: 0 auto; }
  .site-nav.is-open a { display: block; }
  .site-nav {
    gap: 0;
  }
  .site-nav.is-open {
    position: fixed; inset: 47px 0 0 0;
    background: var(--bg);
    z-index: 49;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding: 40px 20px;
  }
  .site-nav.is-open a {
    font-size: 40px;
    line-height: 1.1;
  }
  .site-nav.is-open a[aria-current="page"]::after { display: none; }
  .site-nav__star { z-index: 51; position: relative; }
  .site-nav.is-open .site-nav__star {
    position: fixed;
    top: 14px;
    right: 20px;
  }
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__locations { text-align: left; }
}
