/* TS MGMT LLC — Apple-style minimal design system */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');

:root {
  --white: #FFFFFF;
  --gray-50: #FBFBFD;
  --gray-100: #F5F5F7;
  --gray-200: #E8E8ED;
  --gray-400: #86868B;
  --gray-600: #6E6E73;
  --gray-900: #1D1D1F;
  --black: #000000;

  --ink: #1D1D1F;
  --ink-muted: #6E6E73;
  --light: #F5F5F7;
  --light-muted: #86868B;
  --accent: #A855F7;

  --sans: "Geist", -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui, sans-serif;

  --nav-h: 48px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.47;
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 22px;
}

.container-wide {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav-inner {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-size: 14px;
  font-weight: 600;
  color: var(--light);
  letter-spacing: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.wordmark::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 12px;
  font-weight: 400;
  color: var(--light);
  opacity: 0.85;
  letter-spacing: -0.01em;
  transition: opacity 0.2s ease;
}

.nav-links a:hover { opacity: 1; }

@media (max-width: 833px) {
  .nav-links { display: none; }
  .nav-menu-btn { display: inline-flex !important; }
}

.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.08);
  align-items: center;
  gap: 6px;
}

.nav-mobile {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.96);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  display: none;
  flex-direction: column;
  padding: 12px 0;
  z-index: 99;
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 17px;
  color: var(--light);
  padding: 14px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-weight: 400;
}

.nav-mobile a:last-child { border-bottom: none; }

/* ===== PANELS ===== */
.panel {
  padding: clamp(80px, 12vw, 140px) 0;
  position: relative;
}

.panel-light { background: var(--white); color: var(--ink); }
.panel-gray { background: var(--gray-100); color: var(--ink); }
.panel-dark { background: var(--black); color: var(--light); }

/* ===== UNIVERSAL TEXT BLOCKS (the Apple panel pattern) ===== */
.panel-eyebrow {
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 400;
  letter-spacing: 0;
  color: inherit;
  opacity: 1;
  margin-bottom: 6px;
  display: block;
}

.panel-title {
  font-family: var(--sans);
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  max-width: 16ch;
}

.panel-title.center { margin-left: auto; margin-right: auto; }

.panel-subtitle {
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: inherit;
  margin-bottom: 28px;
  max-width: 48ch;
}

.panel-subtitle.center { margin-left: auto; margin-right: auto; }

.panel-dark .panel-subtitle { color: var(--light-muted); }
.panel-light .panel-subtitle,
.panel-gray .panel-subtitle { color: var(--ink-muted); }

.panel-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}

.panel-links.center { justify-content: center; }

.link {
  font-size: 17px;
  font-weight: 400;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s ease;
  letter-spacing: -0.01em;
}

.link::after {
  content: "›";
  font-size: 22px;
  line-height: 1;
  margin-top: -2px;
  transition: transform 0.3s var(--ease);
}

.link:hover { opacity: 0.85; }
.link:hover::after { transform: translateX(3px); }

.link-light { color: var(--accent); }
.panel-dark .link { color: var(--accent); }

.panel-content {
  text-align: left;
}

.panel-content.center {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

/* ===== HERO (special - larger, centered) ===== */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(80px, 14vw, 160px) 22px 0;
  background: var(--white);
  position: relative;
}

.hero-eyebrow {
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 6px;
}

.hero-title {
  font-family: var(--sans);
  font-size: clamp(56px, 12vw, 128px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin-bottom: 14px;
  max-width: 14ch;
}

.hero-subtitle {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 32px;
  max-width: 28ch;
}

.hero-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ===== GRID OF TILES (divisions) ===== */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: clamp(40px, 6vw, 56px);
}

@media (max-width: 640px) {
  .tile-grid { grid-template-columns: 1fr; }
}

.tile {
  background: var(--gray-100);
  border-radius: 22px;
  padding: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 44px);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 380px;
  transition: transform 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}

.tile:nth-child(even) { background: var(--black); color: var(--light); }
.tile:nth-child(even) .tile-eyebrow { color: var(--light-muted); }
.tile:nth-child(even) .tile-subtitle { color: var(--light-muted); }

.tile:hover { transform: translateY(-4px); }

.tile-top {
  display: flex;
  flex-direction: column;
}

.tile-eyebrow {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 6px;
  letter-spacing: 0;
}

.tile-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  max-width: 14ch;
}

.tile-subtitle {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink-muted);
  max-width: 32ch;
}

.tile-bottom {
  margin-top: 32px;
}

/* ===== PRINCIPLES LIST ===== */
.principles-list {
  margin-top: clamp(40px, 6vw, 56px);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.principle {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
  align-items: baseline;
}

.principle:last-child { border-bottom: 1px solid var(--gray-200); }

.principle-num {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  letter-spacing: 0;
}

.principle-text {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

/* ===== WIRE & UPCOMING (simple 3-col grid) ===== */
.simple-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: clamp(40px, 6vw, 56px);
}

@media (max-width: 833px) {
  .simple-grid { grid-template-columns: 1fr; }
}

.simple-card {
  background: var(--gray-50);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.panel-dark .simple-card {
  background: rgba(255, 255, 255, 0.04);
}

.simple-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
}

.panel-dark .simple-card-meta { color: var(--light-muted); }

.simple-card-tag {
  color: var(--accent);
}

.simple-card-title {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
  color: var(--ink);
}

.panel-dark .simple-card-title { color: var(--light); }

.simple-card-body {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-muted);
  flex: 1;
}

.panel-dark .simple-card-body { color: var(--light-muted); }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-100);
  padding: 40px 0 32px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.5;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--ink); }

/* ===== DIVISION PAGES ===== */
.division-hero {
  padding: clamp(100px, 16vw, 180px) 22px clamp(60px, 10vw, 100px);
  background: var(--white);
  text-align: center;
}

.division-hero .panel-eyebrow {
  color: var(--accent);
  font-weight: 500;
  font-size: 17px;
}

.division-hero-title {
  font-size: clamp(48px, 9vw, 96px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin: 6px auto 14px;
  max-width: 16ch;
}

.division-hero-subtitle {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink-muted);
  margin: 0 auto 28px;
  max-width: 56ch;
}

/* Division content blocks - clean two-column */
.division-section {
  padding: clamp(60px, 10vw, 120px) 0;
  border-top: 1px solid var(--gray-200);
}

.division-section:first-of-type { border-top: none; }

.division-block {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 80px);
  max-width: 1080px;
  margin: 0 auto;
}

@media (max-width: 833px) {
  .division-block { grid-template-columns: 1fr; gap: 24px; }
}

.block-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 10px;
  letter-spacing: 0;
}

.block-title {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.block-body p {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 60ch;
}

.block-body p + p { margin-top: 16px; }

.cap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.cap-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 8px;
  align-items: baseline;
}

.cap-list li:first-child { border-top: 1px solid var(--gray-200); }

.cap-list li::before {
  content: counter(cap-counter, decimal-leading-zero);
  counter-increment: cap-counter;
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
}

.cap-list { counter-reset: cap-counter; }

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 600px) {
  .spec-grid { grid-template-columns: 1fr; }
}

.spec {
  padding: 22px 24px;
  background: var(--gray-100);
  border-radius: 14px;
}

.spec-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.spec-value {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

/* CTA panel on division pages */
.division-cta {
  padding: clamp(80px, 12vw, 140px) 22px;
  background: var(--black);
  color: var(--light);
  text-align: center;
}

.division-cta .panel-title { color: var(--light); margin-left: auto; margin-right: auto; }
.division-cta .panel-subtitle { color: var(--light-muted); margin-left: auto; margin-right: auto; }

.division-cta-email {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.division-cta-email::after {
  content: "›";
  font-size: 1.2em;
}

.division-cta-email:hover { opacity: 0.85; }

/* Other divisions strip */
.other-divisions {
  padding: clamp(60px, 10vw, 100px) 22px;
  background: var(--gray-100);
}

.other-divisions-label {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: 24px;
  letter-spacing: 0;
}

.other-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 833px) {
  .other-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .other-grid { grid-template-columns: 1fr; }
}

.other-card {
  padding: 22px 20px;
  background: var(--white);
  border-radius: 14px;
  text-align: center;
  transition: background 0.3s ease;
}

.other-card:hover { background: var(--gray-50); }

.other-card-num {
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px;
}

.other-card-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .tile:hover, .link:hover::after { transform: none; }
}
