/* ============================================================================
   THINK — A GROUP OF FIRMS (thinkwidme.com)
   Apple.com-Inspired Design System
   ----------------------------------------------------------------------------
   QUICK CUSTOMIZATION:
   Edit the CSS variables inside :root below to instantly adjust colors,
   fonts, spacing, or border radii across the entire website.
   ============================================================================ */

:root {
  /* Brand & Accent Colors */
  --think-crimson: #8b1a1a;
  --think-crimson-soft: rgba(139, 26, 26, 0.08);
  --apple-blue: #0071e3;
  --apple-blue-hover: #0077ed;
  --apple-link: #0066cc;
  --whatsapp-green: #16a34a;

  /* Firm Accent Colors */
  --firm-structures: #0071e3;
  --firm-facts: #8b1a1a;
  --firm-solutions: #0d9488;

  /* Surface & Text Palette (Light Sections) */
  --bg-page: #fbfbfd;
  --bg-alt: #f5f5f7;
  --bg-card: #ffffff;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);

  /* Surface & Text Palette (Dark Sections) */
  --bg-dark: #000000;
  --bg-dark-card: #161617;
  --text-dark-primary: #f5f5f7;
  --text-dark-secondary: #a1a1a6;
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Layout & Radii */
  --nav-height: 48px;
  --container-max: 1120px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-pill: 980px;

  /* Shadows & Motion */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 18px 42px rgba(0, 0, 0, 0.09);
  --shadow-modal: 0 30px 90px rgba(0, 0, 0, 0.25);
  --ease-apple: cubic-bezier(0.28, 0.11, 0.32, 1);
}

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

[hidden] {
  display: none !important;
}

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

/* ============================================================================
   GLOBAL FROSTED-GLASS NAVIGATION
   ============================================================================ */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.nav-logo-img {
  height: 26px;
  width: auto;
  object-fit: contain;
}

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

.nav-link {
  font-size: 12.5px;
  font-weight: 400;
  color: rgba(29, 29, 31, 0.84);
  transition: color 0.2s var(--ease-apple);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  font-weight: 500;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-icon-btn {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s var(--ease-apple);
}

.nav-icon-btn:hover {
  background: rgba(0, 0, 0, 0.06);
}

.bag-badge {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--think-crimson);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn {
  display: none;
}

.mobile-nav-drawer {
  position: absolute;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(251, 251, 253, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  font-size: 17px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
}

/* Announcement Ribbon */
.ribbon-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 20px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.ribbon-bar p {
  margin: 0;
}

.ribbon-link {
  color: var(--apple-link);
  margin-left: 6px;
  font-weight: 500;
}

.ribbon-link:hover {
  text-decoration: underline;
}

/* ============================================================================
   BUTTONS & TYPOGRAPHY HELPERS
   ============================================================================ */
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--think-crimson);
}

.eyebrow-light {
  color: #ff6b6b;
}

.section-band {
  padding: 96px 0;
}

.band-alt {
  background: var(--bg-alt);
}

.band-dark {
  background: var(--bg-dark);
  color: var(--text-dark-primary);
}

.section-header {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}

.section-title {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.section-lead {
  margin: 16px 0 0;
  font-size: 19px;
  line-height: 1.45;
  color: var(--text-secondary);
}

.header-dark .section-lead {
  color: var(--text-dark-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease-apple), background 0.2s var(--ease-apple), border-color 0.2s var(--ease-apple);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--apple-blue);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--apple-blue-hover);
}

.btn-outline {
  background: transparent;
  color: var(--apple-blue);
  border-color: var(--apple-blue);
}

.btn-outline:hover {
  background: rgba(0, 113, 227, 0.08);
}

.btn-dark-pill {
  background: #ffffff;
  color: #1d1d1f;
}

.btn-dark-pill:hover {
  background: #e8e8ed;
}

.btn-dark-outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-dark-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: #15803d;
}

.btn-full {
  width: 100%;
}

.apple-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--apple-link);
  font-size: 15px;
  font-weight: 500;
}

.apple-link.link-light {
  color: #2997ff;
}

.text-btn {
  border: none;
  background: none;
  color: var(--apple-link);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
}

.text-btn:hover {
  text-decoration: underline;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero-section {
  position: relative;
  padding: 76px 0 88px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 70%, #f5f5f7 100%);
}

.hero-ambient {
  position: absolute;
  inset: -120px auto auto 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 420px;
  background: radial-gradient(ellipse at center, rgba(139, 26, 26, 0.08) 0%, rgba(0, 113, 227, 0.05) 45%, transparent 72%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-logo {
  height: 92px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(139, 26, 26, 0.16));
}

.hero-title {
  margin: 0 auto;
  max-width: 860px;
  font-size: clamp(40px, 6.2vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero-subtitle {
  margin: 22px auto 0;
  max-width: 650px;
  font-size: clamp(18px, 2.2vw, 23px);
  line-height: 1.42;
  color: var(--text-secondary);
  font-weight: 400;
}

.hero-cta-group {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* KPI Strip */
.kpi-strip {
  margin: 64px auto 0;
  max-width: 880px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px 20px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.kpi-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.kpi-value {
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.kpi-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ============================================================================
   APPLE-STYLE BENTO OVERVIEW
   ============================================================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s var(--ease-apple), box-shadow 0.35s var(--ease-apple);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.bento-structures {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%);
}

.bento-dark {
  background: linear-gradient(155deg, #161617 0%, #050507 100%);
  color: var(--text-dark-primary);
  border-color: rgba(255, 255, 255, 0.08);
}

.bento-solutions {
  background: linear-gradient(155deg, #ffffff 0%, #eefaf8 100%);
}

.bento-meta {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.bento-card h3 {
  margin: 14px 0 10px;
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.bento-card p {
  margin: 0 0 20px;
  font-size: 16px;
  color: var(--text-secondary);
}

.bento-dark p {
  color: var(--text-dark-secondary);
}

.pill-tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-structures {
  background: rgba(0, 113, 227, 0.12);
  color: #0058b0;
}

.tag-facts {
  background: rgba(255, 92, 92, 0.18);
  color: #ff8585;
}

.tag-solutions {
  background: rgba(13, 148, 136, 0.14);
  color: #0f766e;
}

.bento-visual {
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  pointer-events: none;
}

.visual-structures {
  background: radial-gradient(circle, rgba(0, 113, 227, 0.18), transparent 70%);
}

.visual-facts {
  background: radial-gradient(circle, rgba(139, 26, 26, 0.45), transparent 70%);
}

.visual-solutions {
  background: radial-gradient(circle, rgba(13, 148, 136, 0.2), transparent 70%);
}

/* ============================================================================
   INTERACTIVE 3-FIRM COMMAND DECK
   ============================================================================ */
.segmented-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.segmented-control {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  background: #e8e8ed;
  border-radius: var(--radius-pill);
}

.seg-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.25s var(--ease-apple);
}

.seg-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.firm-banner {
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--border-subtle);
}

.firm-banner.theme-structures {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
  border-color: rgba(0, 113, 227, 0.18);
}

.firm-banner.theme-facts {
  background: linear-gradient(135deg, #1a1112 0%, #09090b 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12);
}

.firm-banner.theme-solutions {
  background: linear-gradient(135deg, #effcf9 0%, #ffffff 100%);
  border-color: rgba(13, 148, 136, 0.2);
}

.firm-banner h3 {
  margin: 6px 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.02em;
}

.firm-banner p {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 660px;
}

.firm-banner.theme-facts p {
  color: var(--text-dark-secondary);
}

.firm-banner-stat {
  text-align: right;
}

.firm-banner-stat strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.firm-banner-stat span {
  font-size: 12.5px;
  opacity: 0.72;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-apple), box-shadow 0.25s var(--ease-apple), border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.service-card.selected {
  border-color: var(--apple-blue);
  box-shadow: 0 0 0 1px var(--apple-blue), var(--shadow-card);
}

.service-num {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
}

.service-card h4 {
  margin: 8px 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.service-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-sublist {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 13.5px;
  color: var(--text-secondary);
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.service-tag {
  font-size: 12px;
  color: var(--text-tertiary);
}

.shortlist-btn {
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s var(--ease-apple);
}

.shortlist-btn:hover {
  border-color: var(--apple-blue);
  color: var(--apple-blue);
}

.shortlist-btn.added {
  background: var(--apple-blue);
  border-color: var(--apple-blue);
  color: #ffffff;
}

/* ============================================================================
   YOUTUBE CHANNELS DARK SHOWCASE
   ============================================================================ */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.channel-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transition: transform 0.3s var(--ease-apple), border-color 0.3s;
}

.channel-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.26);
}

.channel-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
}

.channel-music::before {
  background: radial-gradient(circle, rgba(220, 38, 38, 0.32), transparent 70%);
}

.channel-knowledge::before {
  background: radial-gradient(circle, rgba(0, 113, 227, 0.34), transparent 70%);
}

.channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff6b6b;
}

.channel-knowledge .channel-badge {
  color: #4da6ff;
}

.channel-card h3 {
  margin: 12px 0 6px;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: -0.02em;
  color: #ffffff;
}

.channel-handle {
  display: inline-block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark-secondary);
  margin-bottom: 14px;
}

.channel-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-dark-secondary);
}

.channel-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.channel-chip {
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.08);
  color: #e5e5ea;
}

.channel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================================
   JOURNAL PREVIEW & FULL NEWSROOM BLOG VIEW
   ============================================================================ */
.journal-preview-grid,
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--ease-apple), box-shadow 0.3s var(--ease-apple);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.article-cover {
  height: 170px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.article-cover-cat {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.article-cover-meta {
  font-size: 12.5px;
  opacity: 0.88;
}

.article-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.article-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.article-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Full Blog View */
.journal-view {
  min-height: 75vh;
  background: var(--bg-alt);
  padding-bottom: 96px;
}

.journal-hero {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 44px 0 32px;
}

.back-link {
  border: none;
  background: none;
  color: var(--apple-link);
  font-size: 14.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  margin-bottom: 20px;
}

.journal-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.journal-title {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.journal-toolbar {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.journal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-primary);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-pill.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #ffffff;
}

.journal-search-wrap input {
  width: 260px;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--bg-alt);
  font-size: 14px;
  outline: none;
}

.journal-search-wrap input:focus {
  border-color: var(--apple-blue);
  background: #ffffff;
}

.journal-body {
  padding-top: 40px;
}

.featured-article {
  margin-bottom: 32px;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.3s var(--ease-apple), box-shadow 0.3s;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.featured-visual {
  min-height: 300px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.featured-content h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.featured-content p {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
}

/* ============================================================================
   CREDENTIALS & INTERACTIVE OFFICES PANEL
   ============================================================================ */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.cred-card {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-subtle);
}

.cred-kicker {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--think-crimson);
}

.cred-card h3 {
  margin: 10px 0 8px;
  font-size: 21px;
  letter-spacing: -0.015em;
}

.cred-card p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.offices-panel {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.office-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.office-tab {
  border: 1px solid var(--border-strong);
  background: var(--bg-alt);
  color: var(--text-primary);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.office-tab.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: #ffffff;
}

.office-detail {
  padding-top: 26px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: center;
}

.office-detail h3 {
  margin: 6px 0 10px;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.office-detail p {
  margin: 0 0 10px;
  color: var(--text-secondary);
  font-size: 15.5px;
}

.office-contact-box {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.global-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  padding: 56px 0 36px;
  font-size: 13px;
  color: var(--text-secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-logo-row strong {
  display: block;
  color: var(--text-primary);
  font-size: 14.5px;
}

.footer-logo-row span {
  font-size: 12.5px;
  color: var(--text-secondary);
}

.footer-address {
  margin: 6px 0;
  line-height: 1.5;
}

.footer-col h4 {
  margin: 0 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--text-tertiary);
}

.footer-bottom p {
  margin: 0;
}

/* ============================================================================
   SEARCH OVERLAY, BAG DRAWER & MODALS
   ============================================================================ */
.overlay-backdrop,
.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.search-sheet {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  padding: 28px 0 36px;
  box-shadow: var(--shadow-modal);
  max-height: 85vh;
  overflow-y: auto;
}

.search-input-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.search-input-row input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 20px;
  outline: none;
  color: var(--text-primary);
}

.icon-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  color: var(--text-primary);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.search-quick-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-secondary);
}

.quick-tag {
  border: none;
  background: var(--bg-alt);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  cursor: pointer;
}

.quick-tag:hover {
  background: #e2e2e7;
}

.search-results {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 12px;
}

.search-result-item {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.search-result-item:hover {
  border-color: var(--apple-blue);
  background: #f5f9ff;
}

.search-result-type {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--think-crimson);
}

.search-result-item h4 {
  margin: 4px 0;
  font-size: 15px;
}

.search-result-item p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
}

/* Slide-Over Inquiry Bag Drawer */
.drawer-backdrop {
  display: flex;
  justify-content: flex-end;
}

.bag-drawer {
  width: min(460px, 100%);
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-modal);
}

.drawer-header {
  padding: 22px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header h3 {
  margin: 0;
  font-size: 20px;
}

.drawer-sub {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--text-secondary);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bag-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 10px;
}

.bag-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bag-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  font-size: 13.5px;
}

.bag-item small {
  display: block;
  color: var(--text-secondary);
  font-size: 11.5px;
}

.bag-remove {
  border: none;
  background: transparent;
  color: var(--think-crimson);
  font-size: 18px;
  cursor: pointer;
}

.brief-form,
.composer-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-row label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-row input,
.form-row textarea,
.form-row select {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  font-size: 14px;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  border-color: var(--apple-blue);
}

.brief-preview-box {
  background: #1d1d1f;
  color: #f5f5f7;
  border-radius: var(--radius-sm);
  padding: 14px;
}

.brief-preview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #a1a1a6;
  margin-bottom: 8px;
}

.brief-preview-head .text-btn {
  color: #64b5f6;
}

.brief-preview-box pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.5;
}

.drawer-footer {
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Modals (Article Reader & Composer) */
.modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-modal);
}

.reader-dialog {
  padding: 44px;
}

.modal-close-floating {
  position: sticky;
  top: 0;
  float: right;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-alt);
  font-size: 22px;
  cursor: pointer;
}

.reader-meta {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.reader-title {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.reader-lead {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.reader-body p {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--text-primary);
  margin: 18px 0;
}

.composer-dialog {
  padding: 28px 32px;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.modal-head h3 {
  margin: 0;
  font-size: 22px;
}

.composer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 8px;
}

.composer-hint {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--text-secondary);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  background: #1d1d1f;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease-apple), transform 0.65s var(--ease-apple);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================================
   RESPONSIVE BREAKPOINTS
   ============================================================================ */
@media (max-width: 960px) {
  .bento-grid,
  .channels-grid,
  .journal-preview-grid,
  .articles-grid,
  .credentials-grid,
  .featured-card,
  .office-detail,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .kpi-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .section-band {
    padding: 64px 0;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .firm-banner {
    padding: 26px 22px;
  }

  .firm-banner-stat {
    text-align: left;
  }

  .reader-dialog {
    padding: 26px 20px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
