/* ==========================================================================
   Grace Berman - Swiss Editorial Design
   "The Grid" - Stark, asymmetric, publication-quality
   ========================================================================== */

/* ==========================================================================
   Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Bebas+Neue&family=IBM+Plex+Sans:wght@300;400;600;700&display=swap');

/* ==========================================================================
   Reset & Base
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --gray: #e5e5e5;
  --red: #dc2626;
  --blue: #1d4ed8;

  --headline-font: 'Archivo Black', sans-serif;
  --display-font: 'Bebas Neue', sans-serif;
  --body-font: 'IBM Plex Sans', sans-serif;

  --border-thick: 2px;
  --border-thin: 1px;
}

body {
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--red);
}

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

/* ==========================================================================
   Typography Scale
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--headline-font);
  font-weight: 900;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(48px, 8vw, 120px);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(24px, 3vw, 40px);
}

h4 {
  font-size: clamp(20px, 2vw, 28px);
}

.display-text {
  font-family: var(--display-font);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.label {
  font-family: var(--body-font);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* ==========================================================================
   Layout Grid
   ========================================================================== */

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

.grid {
  display: grid;
  gap: 24px;
}

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

.grid-3col {
  grid-template-columns: repeat(3, 1fr);
}

.grid-asymmetric {
  grid-template-columns: 40% 60%;
}

.grid-split {
  grid-template-columns: 1fr 1fr;
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Red Accent Line */
.accent-line {
  width: 100%;
  height: var(--border-thick);
  background: var(--red);
  margin: 48px 0;
}

/* Masthead */
.masthead {
  padding: 48px 0 24px;
  border-bottom: var(--border-thin) solid var(--black);
}

.masthead h1 {
  font-size: clamp(56px, 10vw, 140px);
  line-height: 0.9;
  margin-bottom: 12px;
}

.masthead .label {
  color: var(--black);
  display: block;
  margin-top: 8px;
}

/* Navigation */
.main-nav {
  padding: 24px 0;
  border-bottom: var(--border-thin) solid var(--black);
  margin-bottom: 48px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--black);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  border-bottom-color: var(--red);
  color: var(--black);
}

/* Cards */
.card {
  border: var(--border-thick) solid var(--black);
  padding: 32px;
  transition: all 0.3s ease;
  background: var(--white);
}

.card:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.card:hover h3,
.card:hover h4,
.card:hover a {
  color: var(--white);
}

.card .label {
  color: inherit;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  margin-bottom: 16px;
}

.card p {
  font-size: 15px;
  line-height: 1.5;
}

/* Photo Frame */
.photo-frame {
  border: var(--border-thick) solid var(--black);
  padding: 8px;
  background: var(--white);
}

.photo-frame img {
  width: 100%;
  display: block;
}

/* Credential List */
.credential-list {
  list-style: none;
  margin: 32px 0;
}

.credential-list li {
  padding: 16px 0 16px 24px;
  border-left: 4px solid var(--red);
  margin-bottom: 16px;
  font-weight: 600;
}

/* Pull Quote */
.pull-quote {
  font-family: var(--headline-font);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  padding: 48px 0;
  margin: 48px 0;
  border-top: var(--border-thick) solid var(--black);
  border-bottom: var(--border-thick) solid var(--black);
  text-align: left;
  position: relative;
}

.pull-quote::before {
  content: '"';
  font-size: 120px;
  position: absolute;
  left: -20px;
  top: 20px;
  color: var(--red);
  line-height: 1;
}

/* Button / CTA */
.btn {
  display: inline-block;
  padding: 16px 32px;
  background: var(--black);
  color: var(--white);
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: var(--border-thick) solid var(--black);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.btn-red {
  background: var(--red);
  border-color: var(--red);
}

.btn-red:hover {
  background: var(--black);
  border-color: var(--black);
}

/* Author Box */
.author-box {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 32px;
  background: var(--gray);
  margin: 48px 0;
}

.author-box img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: var(--border-thick) solid var(--black);
}

.author-info h4 {
  margin-bottom: 8px;
}

.author-info .label {
  display: block;
  margin-bottom: 12px;
  color: var(--black);
}

/* Ticker */
.ticker {
  background: var(--black);
  color: var(--white);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  animation: scroll 30s linear infinite;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.ticker-content span {
  padding: 0 48px;
}

.ticker-content span::before {
  content: '•';
  color: var(--red);
  margin-right: 48px;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Video Container */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: var(--border-thick) solid var(--black);
  margin: 32px 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Page-Specific Layouts
   ========================================================================== */

/* Homepage Hero */
.hero-asymmetric {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 48px;
  margin-bottom: 48px;
  min-height: 70vh;
}

.hero-left {
  border-right: var(--border-thick) solid var(--black);
  padding-right: 48px;
}

.hero-right {
  padding-left: 48px;
}

/* Featured Section */
.featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin: 48px 0;
}

.featured-main {
  grid-row: span 2;
}

/* Article Layout */
.article-container {
  max-width: 900px;
  margin: 0 auto;
}

.article-header {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: var(--border-thick) solid var(--black);
}

.article-meta {
  display: flex;
  gap: 24px;
  margin: 24px 0;
  font-size: 14px;
  color: var(--black);
}

.article-meta .label {
  color: var(--red);
}

.article-content {
  column-count: 1;
  column-gap: 48px;
}

.article-content p {
  margin-bottom: 24px;
  line-height: 1.7;
}

.article-content h2 {
  margin: 48px 0 24px;
  column-span: all;
}

.article-content h3 {
  margin: 32px 0 16px;
  font-size: 24px;
}

.article-content ul,
.article-content ol {
  margin: 24px 0 24px 24px;
}

.article-content li {
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Drop Cap */
.drop-cap::first-letter {
  float: left;
  font-family: var(--headline-font);
  font-size: 84px;
  line-height: 0.8;
  margin: 8px 12px 0 0;
  color: var(--black);
}

/* About Page - Split Screen */
.split-screen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
}

.split-left {
  background: var(--gray);
  padding: 48px;
  border-right: var(--border-thick) solid var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-right {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Timeline */
.timeline {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 48px -24px;
  padding: 24px;
}

.timeline-track {
  display: flex;
  gap: 32px;
  min-width: max-content;
}

.timeline-item {
  min-width: 280px;
  padding: 24px;
  border: var(--border-thin) solid var(--black);
  background: var(--white);
}

.timeline-item .label {
  color: var(--red);
  margin-bottom: 12px;
}

.timeline-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* Resources Grid */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin: 48px 0;
}

.filter-tabs {
  display: flex;
  gap: 0;
  margin: 48px 0;
  border: var(--border-thick) solid var(--black);
  width: fit-content;
}

.filter-tab {
  padding: 16px 32px;
  background: var(--white);
  color: var(--black);
  border: none;
  border-right: var(--border-thin) solid var(--black);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:last-child {
  border-right: none;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--black);
  color: var(--white);
}

/* Media Grid - Masonry */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

/* Press Mentions */
.press-ticker {
  background: var(--gray);
  padding: 32px;
  margin: 48px 0;
  border-top: var(--border-thick) solid var(--black);
  border-bottom: var(--border-thick) solid var(--black);
}

.press-list {
  list-style: none;
}

.press-list li {
  padding: 16px 0;
  border-bottom: var(--border-thin) solid var(--black);
  font-weight: 600;
}

.press-list li:last-child {
  border-bottom: none;
}

/* Speaking Topics */
.topics-list {
  list-style: none;
  margin: 48px 0;
}

.topics-list li {
  font-family: var(--display-font);
  font-size: clamp(32px, 4vw, 56px);
  padding: 24px 0;
  border-bottom: var(--border-thin) solid var(--black);
  text-transform: uppercase;
}

/* Footer */
footer {
  margin-top: 96px;
  border-top: var(--border-thick) solid var(--black);
}

.footer-content {
  padding: 48px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.footer-section h4 {
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-section p,
.footer-section a {
  font-size: 15px;
  line-height: 1.8;
}

.footer-bottom {
  background: var(--black);
  color: var(--white);
  padding: 24px;
  text-align: center;
  font-size: 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-asymmetric,
  .featured-grid,
  .split-screen,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero-left {
    border-right: none;
    border-bottom: var(--border-thick) solid var(--black);
    padding-right: 0;
    padding-bottom: 48px;
  }

  .hero-right {
    padding-left: 0;
  }

  .split-left {
    border-right: none;
    border-bottom: var(--border-thick) solid var(--black);
  }

  .article-content {
    column-count: 1;
  }

  .author-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .author-box img {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .main-nav ul {
    gap: 16px;
  }

  .grid-2col,
  .grid-3col,
  .grid-asymmetric,
  .grid-split {
    grid-template-columns: 1fr;
  }

  .resources-grid,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    flex-wrap: wrap;
    width: 100%;
  }

  .filter-tab {
    flex: 1;
    min-width: 120px;
  }

  .masthead h1 {
    font-size: 48px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .pull-quote {
    font-size: 24px;
    padding: 32px 0;
  }

  .pull-quote::before {
    font-size: 80px;
    left: -10px;
  }
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 16px; }
.mt-2 { margin-top: 32px; }
.mt-3 { margin-top: 48px; }
.mt-4 { margin-top: 64px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 16px; }
.mb-2 { margin-bottom: 32px; }
.mb-3 { margin-bottom: 48px; }
.mb-4 { margin-bottom: 64px; }

.color-red { color: var(--red); }
.color-blue { color: var(--blue); }
.bg-gray { background: var(--gray); }
.bg-black { background: var(--black); color: var(--white); }
