:root {
  --ink: #12131A;
  --frost: #F7F8FA;
  --white: #FFFFFF;
  --line: #E3E5EB;
  --body: #3D4150;
  --slate: #5A5F6E;
  --mist: #C9CCD6;
  --saffron: #F4C64E;
  --amber: #D08A12;
  --cobalt: #2440B3;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--frost); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--cobalt); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--slate); }
h1, h2, h3 { margin: 0; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.01em; line-height: 1.1; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { width: 22px; height: 33px; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; }
.brand-labs { font-family: var(--mono); font-size: 11px; letter-spacing: 0.4em; color: var(--slate); margin-left: 8px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 28px; font-weight: 500; }
.nav-links a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Buttons */
.btn { display: inline-block; font-weight: 600; font-size: 17px; text-decoration: none; padding: 14px 26px; border-radius: 999px; border: 1.5px solid var(--ink); }
.btn-dark { background: var(--ink); color: var(--frost); }
.btn-dark:hover { background: #2B2D3A; color: var(--frost); }
.btn-line { color: var(--ink); }
.btn-line:hover { background: var(--white); color: var(--ink); }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 96px; }
.hero-copy { flex: 3 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(42px, 6vw, 76px); line-height: 1.0; letter-spacing: -0.02em; }
.hero p { margin: 0; font-size: 20px; color: var(--body); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { flex: 2 1 320px; min-width: 0; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 420px; height: auto; }

/* Work */
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 36px; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.product { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; background: var(--frost); }
.product-tile { height: 220px; display: flex; align-items: center; justify-content: center; }
.product-tile.shiftgram { background: #D8F1E6; }
.product-tile.shiftgram img { width: 148px; height: 148px; border-radius: 32px; box-shadow: 0 10px 24px rgba(35, 49, 74, 0.18); }
.product-tile.next { background: var(--white); border-bottom: 1px solid var(--line); }
.product-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.product-meta .eyebrow { letter-spacing: 0.1em; }
.status { font-size: 13px; font-weight: 600; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.product h3 { font-family: var(--display); font-weight: 700; font-size: 28px; }
.product p { margin: 0; color: var(--body); flex: 1; }
.platforms { font-size: 15px; color: var(--slate); }
.wordmark-shift { color: #E0503B; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.principle { border-top: 3px solid var(--ink); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.principle .num { font-family: var(--mono); font-size: 13px; color: var(--slate); }
.principle h3 { font-size: 22px; font-weight: 600; }
.principle p { margin: 0; color: var(--body); }

/* About */
.about { background: var(--ink); color: var(--frost); }
.about .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 96px; padding-bottom: 96px; }
.about-art { flex: 1 1 240px; min-width: 0; display: flex; justify-content: center; }
.about-copy { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about .eyebrow { color: var(--saffron); }
.about p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--mist); }

/* Contact */
.contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 72px; padding-bottom: 72px; }
.contact p { margin: 8px 0 0; color: var(--body); font-size: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 28px; padding-bottom: 28px; font-size: 15px; color: var(--slate); }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a { color: var(--body); padding: 8px 0; }

/* Legal / text pages */
.page { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.page h1 { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 5vw, 52px); letter-spacing: -0.01em; line-height: 1.05; margin-bottom: 8px; }
.page .updated { color: var(--slate); font-size: 15px; margin: 0 0 40px; }
.page h2 { font-size: 26px; margin: 40px 0 12px; }
.page p, .page li { color: var(--body); }
.page ul { padding-left: 22px; }
.page li { margin-bottom: 6px; }
.callout { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px 24px; margin: 24px 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 18px; min-height: 28px; }
.faq details p { margin: 12px 0 0; }

@media (max-width: 560px) {
  .hero { padding-top: 56px; padding-bottom: 64px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
