.headline {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: var(--space-base);
  text-transform: lowercase;
  color: #111;
}

.opener {
  font-size: 0.9rem;
  margin-bottom: var(--section-spacing);
  color: #1a1a1a;
  line-height: 1.6;
  max-width: 700px;
}

.section {
  margin-bottom: var(--space-xxxl);
}

.me-bits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.me-bits li {
  font-size: 0.9rem;
  margin-bottom: var(--space-base);
  padding-left: 0;
  position: relative;
  color: #222;
}

.me-bits li::before {
  display: none;
}

.me-bits a {
  color: #a1582b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease-in-out;
}

.me-bits a:hover {
  border-color: #a1582b;
}

.contact-minimal {
  border-top: 1px solid #e2e2e2;
  padding-top: var(--space-xl);
  margin-top: var(--space-xxxl);
}

.contact-minimal p {
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: var(--element-spacing);
  color: var(--text-primary);
}

.contact-minimal a {
  color: #a1582b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.contact-minimal a:hover {
  border-color: #a1582b;
}

.contact-extended .contact-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-bottom: 1.4rem;
}

.contact-extended .bullet-clean.mini li {
  font-size: 1rem;
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}

.contact-extended .label {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding-top: 2px;
}

.contact-extended .note {
  font-size: 1rem;
  color: var(--text-primary);
  max-width: 560px;
}

@media (max-width: 640px) {
  .contact-extended .bullet-clean.mini li {
    font-size: 0.95rem;
  }
}

@media (max-width: 1024px) {
  .section {
    margin-bottom: 4rem;
  }

  .opener {
    margin-bottom: 3rem;
  }

  .contact-minimal {
    margin-top: 4rem;
    padding-top: 2rem;
  }

  .project-grid {
    gap: 0.8rem;
  }

  .project-grid img {
    border-radius: 6px;
  }

  .stack-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.8rem;
  }

  .stack-grid li {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .headline {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    margin-top: 0; /* Ensure no top spacing that could get cut off */
  }

  .opener {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    margin-top: 0; /* Ensure text isn't cut off from top */
  }

  .section {
    margin-bottom: 3rem;
  }

  .me-bits li {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }

  .contact-minimal {
    margin-top: 3rem;
    padding-top: 1.5rem;
  }

  .contact-minimal p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-grid img {
    max-height: 200px;
    border-radius: 8px;
  }

  .stack-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 0.6rem;
  }

  .stack-grid li {
    padding: 6px 10px;
    font-size: 0.8rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .headline {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    margin-top: 0; /* Prevent text being cut off from top */
  }

  .opener {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    margin-top: 0; /* Prevent text being cut off from top */
  }

  .section {
    margin-bottom: 2.5rem;
  }

  .me-bits li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
  }

  .contact-minimal {
    margin-top: 2.5rem;
    padding-top: 1.2rem;
  }

  .contact-minimal p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }

  .project-grid {
    gap: 0.8rem;
  }

  .project-grid img {
    max-height: 180px;
    border-radius: 6px;
  }

  .stack-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.5rem;
  }

  .stack-grid li {
    padding: 5px 8px;
    font-size: 0.95rem;
    border-radius: 12px;
  }
}

@media (max-width: 360px) {
  .headline {
    font-size: 1.2rem;
    margin-top: 0; /* Prevent text being cut off from top */
  }

  .opener {
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    margin-top: 0; /* Prevent text being cut off from top */
  }

  .section {
    margin-bottom: 2rem;
  }

  .me-bits li {
    font-size: 0.85rem;
  }

  .contact-minimal p {
    font-size: 0.9rem;
  }

  .project-grid img {
    max-height: 160px;
  }
}

/* Project grid for detail page */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.project-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
}

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

/* Stack grid styles moved to components/grids.css */

/* Lightbox styles moved to components/modal.css */

/* Lightbox image styles moved to components/modal.css */
/* Project grid image styles moved to components/grids.css */

/* Professional about page styling */
.about-text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 700px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.skill-category {
  margin-bottom: 1rem;
}

.skill-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #a1582b;
  text-transform: lowercase;
  letter-spacing: 0.01em;
}

/* Skill list styles moved to components/lists.css */

@media (max-width: 700px) {
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text {
    font-size: 0.95rem;
  }
}

/* Revamped about layout */
.about-new {
  padding-top: 3rem;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  margin: 0 0 1rem;
}

.about-lead {
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 52ch;
  margin: 0 0 1.4rem;
  color: var(--text-secondary);
}

/* Removed about-facts, pill-list specific styling now handled by .chip-list/.chip in main.css */

.about-section {
  margin: 0 0 4.5rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
}

.bullet-clean {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.bullet-clean li {
  font-size: var(--fz-base);
  line-height: 1.5;
  color: #222;
}

.bullet-clean a {
  color: #a1582b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.bullet-clean a:hover {
  border-color: #a1582b;
}

.contact-block {
  border-top: 1px solid #0000004b;
  padding-top: 2.5rem;
  margin-top: 1rem;
}

.contact-inline {
  font-size: 1.15rem;
  line-height: 1.5;
}

.contact-inline a {
  color: #a1582b;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.contact-inline a:hover {
  border-color: #a1582b;
}

@media (max-width: 820px) {
  .about-title {
    font-size: 2rem;
  }

  .two-col {
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .about-title {
    font-size: 1.8rem;
  }

  .about-lead {
    font-size: 0.9rem;
  }

  .about-section {
    margin-bottom: 3.5rem;
  }
}

@media (max-width: 430px) {
  .about-title {
    font-size: 1.65rem;
  }

  .bullet-clean li {
    font-size: 0.8rem;
  }
}

.about-name {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.8rem;
  color: var(--text-secondary);
}

.about-hero-wrap {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  flex-wrap: wrap;
}

/* about.css minimized: styles migrated to main.css */

/* About photo styling for two-col grid */
.about-photo {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4/3;
  background: transparent;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-photo {
    max-width: 200px;
    margin: 0 auto;
  }
}

/* What feeds the work section */
.inspiration-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stack-photo {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f4f4;
  aspect-ratio: 4/3;
}

.stack-photo.wide {
  aspect-ratio: 16/10;
}

.stack-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: saturate(85%) contrast(95%) brightness(95%);
}

.stack-photo:hover img {
  transform: scale(1.02);
  filter: saturate(100%) contrast(100%) brightness(100%);
}

/* Fragments section */
.fragments-section {
  margin-top: 3rem;
}

.fragments-section h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #000;
  text-transform: lowercase;
}

.fragments-section p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.fragments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.fragment-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  border-radius: 6px;
  background: #f4f4f4;
  margin: 0;
}

.fragment-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(80%) contrast(95%) brightness(92%);
  transition: all 0.4s ease;
  cursor: pointer;
}

.fragment-item:hover img {
  filter: saturate(100%) contrast(102%) brightness(100%);
  transform: scale(1.02);
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
  .inspiration-images {
    margin-top: 2rem;
  }

  .fragments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .fragments-section {
    margin-top: 2rem;
  }
}

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

  .stack-photo {
    aspect-ratio: 16/10;
  }
}

/* ====== NEW "WHAT FEEDS THE WORK" SECTION STYLING ====== */

.feeds-section {
  margin-top: 5rem;
  margin-bottom: 2rem;
}

/* Section divider with lines */
.section-divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.section-divider h2 {
  white-space: nowrap;
  margin: 0;
  font-size: 1.8rem;
  font-weight: 400;
  text-transform: lowercase;
  color: #000;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #a1582b 20%,
    #a1582b 80%,
    transparent 100%
  );
  opacity: 0.6;
}

/* Tags layout - left aligned */
.feeds-tags {
  margin-bottom: 3rem;
  justify-content: flex-start;
}

/* Quote section */
.feeds-quote {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(161, 88, 43, 0.04);
  border-left: 3px solid #a1582b;
  border-radius: 0 8px 8px 0;
  max-width: 60ch;
}

.feeds-quote blockquote {
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  margin: 0 0 1rem 0;
  color: #333;
}

.feeds-quote cite {
  font-size: 0.9rem;
  color: #666;
  font-style: normal;
}

/* Currently section */
.feeds-currently {
  margin-top: 3rem;
}

.feeds-currently h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0 0 1.5rem 0;
  color: #a1582b;
  text-transform: lowercase;
}

.feeds-now-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 70ch;
}

.feeds-now-list li {
  font-size: 1rem;
  line-height: 1.5;
  color: #333;
  padding-left: 1.5rem;
  position: relative;
}

.feeds-now-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #a1582b;
  font-weight: 500;
}

.feeds-now-list strong {
  color: #a1582b;
  font-weight: 600;
}

/* Responsive design */
@media (max-width: 1024px) {
  .section-divider {
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .section-divider h2 {
    font-size: 1.6rem;
  }

  .feeds-tags {
    gap: 0.8rem;
  }
}

@media (max-width: 768px) {
  .feeds-section {
    margin-top: 3rem;
  }

  .section-divider {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .divider-line {
    width: 60%;
    align-self: center;
  }

  .feeds-tags {
    margin-bottom: 2.5rem;
  }

  .feeds-quote {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .feeds-quote blockquote {
    font-size: 1.1rem;
  }

  .feeds-now-list {
    gap: 1rem;
  }

  .feeds-now-list li {
    font-size: 0.95rem;
    padding-left: 1.2rem;
  }
}

@media (max-width: 480px) {
  .section-divider h2 {
    font-size: 1.4rem;
  }

  .feeds-tags {
    margin-bottom: 2rem;
  }

  .feeds-quote {
    padding: 1.2rem;
    margin: 1.5rem 0;
  }

  .feeds-quote blockquote {
    font-size: 1rem;
  }

  .feeds-quote cite {
    font-size: 0.85rem;
  }

  .feeds-currently h3 {
    font-size: 1.1rem;
  }

  .feeds-now-list li {
    font-size: 0.9rem;
    padding-left: 1rem;
  }
}

/* === Feeds (What feeds the work) – revamped === */
.feeds-header-simple {
  margin: -0.5rem 0 2.5rem;
}

.feeds-lead {
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: #444;
  max-width: 52ch;
}

.feeds-layout {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: start;
  margin-top: 1rem;
}

.feeds-column {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.feeds-sub {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  color: #000;
  position: relative;
  padding-left: 18px;
}

.feeds-sub:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1px;
  background: #000;
  transform: translateY(-50%);
  opacity: 0.5;
}

/* Key/value vertical list */
.feeds-pairs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.feeds-pairs li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.feeds-pairs .k {
  text-transform: lowercase;
  letter-spacing: 0.05em;
  color: #000;
  font-weight: 500;
}

.feeds-pairs .v {
  color: #222;
}

.feeds-pairs.cycle .k {
  color: #a1582b;
}

.mt {
  margin-top: 1.2rem;
}

/* Tags reuse chip-list, adjust alignment */
.feeds-tags.left {
  justify-content: flex-start !important;
  max-width: 500px;
}

.feeds-tags.left .chip {
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

/* Group highlighting */
#coreTags .chip[data-group] {
  position: relative;
}

#coreTags .chip[data-group]:hover {
  background: rgba(161, 88, 43, 0.18);
}

#coreTags .chip[data-group].dim {
  opacity: 0.35;
  filter: grayscale(0.4);
}

/* Micro note */
.micro-note {
  margin: 0.4rem 0 0;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #777;
}

/* Signal metrics */
.feed-metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.feed-metric {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: lowercase;
}

.feed-metric .label {
  min-width: 140px;
  flex: 0 0 auto;
  color: #111;
  font-weight: 500;
}

.feed-metric .bars {
  display: inline-flex;
  gap: 4px;
}

.feed-metric .bars i {
  display: block;
  width: 10px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  position: relative;
  background: rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.feed-metric[data-level="5"] .bars i:nth-child(-n + 5),
.feed-metric[data-level="4"] .bars i:nth-child(-n + 4),
.feed-metric[data-level="3"] .bars i:nth-child(-n + 3),
.feed-metric[data-level="2"] .bars i:nth-child(-n + 2),
.feed-metric[data-level="1"] .bars i:nth-child(-n + 1) {
  background: #a1582b;
  border-color: #a1582b;
}

.feed-metric .bars i:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.15),
    rgba(255, 255, 255, 0.2)
  );
  mix-blend-mode: overlay;
  opacity: 0.4;
}

.feed-metric:hover .bars i {
  transform: translateY(-2px);
  transition: transform 0.25s ease;
}

/* Density note */
.feed-metrics + .micro-note {
  margin-top: 0.6rem;
}

/* Interactions: hovering a metric highlights matching tag if text matches start */
.feed-metric {
  cursor: default;
}

.feed-metric.highlight .label {
  color: #a1582b;
}

.feed-metric.highlight .bars i {
  box-shadow: 0 0 0 1px rgba(161, 88, 43, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
  .feeds-layout {
    gap: 2.2rem;
  }

  .feeds-pairs li {
    grid-template-columns: 90px 1fr;
    font-size: 0.85rem;
  }

  .feed-metric .label {
    min-width: 120px;
  }
}

@media (max-width: 640px) {
  .feeds-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .feeds-tags.left {
    max-width: 100%;
  }

  .feeds-pairs li {
    grid-template-columns: 80px 1fr;
  }
}

@media (max-width: 420px) {
  .feeds-pairs li {
    grid-template-columns: 70px 1fr;
    font-size: 0.8rem;
  }

  .feed-metric {
    font-size: 0.7rem;
  }

  .feed-metric .label {
    min-width: 100px;
  }
}

/* === Modern Feeds Section (cards + layers + ticker) === */
.feeds-intro-modern {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #555;
  margin: -0.5rem 0 2.2rem;
}

.influence-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.influence-layers {
  position: sticky;
  top: 120px;
  align-self: start;
}

.layers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.layers li {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666;
  position: relative;
  padding-left: 14px;
  cursor: default;
  transition: color 0.3s ease;
}

.layers li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 1px;
  background: #a1582b;
  transform: translateY(-50%);
  opacity: 0.35;
  transition: width 0.4s ease, opacity 0.4s ease;
}

.layers li:hover {
  color: #000;
}

.layers li:hover:before {
  width: 20px;
  opacity: 0.7;
}

.influence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.influence-card {
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  padding: 1.2rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease, transform 0.35s ease,
    border-color 0.35s ease;
}

.influence-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 20%,
    rgba(161, 88, 43, 0.18),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.influence-card h3 {
  font-size: 0.95rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #000;
}

.influence-card p {
  font-size: 0.75rem;
  line-height: 1.35;
  color: #222;
  margin: 0;
  letter-spacing: 0.015em;
}

.influence-card:hover {
  transform: translateY(-4px);
  background: rgba(161, 88, 43, 0.06);
  border-color: rgba(161, 88, 43, 0.25);
}

.influence-card:hover:before {
  opacity: 1;
}

/* Subtle group hover (same data-group) */
.influence-card[data-group] {
  will-change: transform;
}

.influence-card[data-group].dim {
  opacity: 0.28;
  filter: grayscale(0.4);
}

/* Ticker */
.influence-ticker {
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  margin-top: 0.5rem;
}

.ticker-track {
  display: inline-flex;
  gap: 3rem;
  animation: ticker linear 32s infinite;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #444;
}

.ticker-track span {
  white-space: nowrap;
}

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

/* Interaction script hook */
:root {
  --feed-focus-scale: 1.06;
}

/* Responsive */
@media (max-width: 900px) {
  .influence-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .influence-layers {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .layers {
    flex-direction: row;
    gap: 1.4rem;
  }

  .layers li {
    padding-left: 0;
  }

  .layers li:before {
    display: none;
  }
}

@media (max-width: 560px) {
  .influence-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
  }

  .influence-card {
    padding: 1rem 0.9rem;
  }

  .influence-card h3 {
    font-size: 0.85rem;
  }

  .influence-card p {
    font-size: 0.68rem;
  }

  .feeds-intro-modern {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
  }

  .ticker-track {
    animation-duration: 40s;
    gap: 2rem;
  }
}

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

/* === Dossier Style Feed Section === */
.dossier {
  margin-top: 5rem;
}

.dossier-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 0 1.6rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  padding: 0 0 0.6rem;
}

.dossier-title {
  font: 600 1rem/1.2 "Cormorant Garamond", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
  color: #000;
}

.dossier-date {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555;
}

.dossier-grid {
  display: grid;
  gap: 1.8rem 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dossier-block {
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(2px);
  padding: 1rem 1.1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
}

.dossier-block.wide {
  grid-column: 1 / -1;
}

.split-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.d-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin: 0;
  color: #000;
  font-weight: 600;
}

.d-label.subtle {
  letter-spacing: 0.18em;
}

.d-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.d-list li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 0.6rem;
  font-size: 0.75rem;
  line-height: 1.3;
  color: #222;
}

.d-list .k {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: #000;
}

.d-list .v {
  letter-spacing: 0.02em;
}

.tag-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-strip li {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.04);
  transition: background 0.3s ease, transform 0.3s ease;
}

.tag-strip li:hover {
  background: rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.mini-note {
  margin: -0.4rem 0 0;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
}

.fp-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  background: rgba(0, 0, 0, 0.08);
  padding: 4px;
  border-radius: 4px;
}

.fp-cell {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.15));
  position: relative;
  filter: contrast(120%) saturate(0);
  mix-blend-mode: multiply;
  opacity: 0.85;
}

.fp-cell:nth-child(odd) {
  filter: contrast(140%) brightness(0.9);
}

.bullet-mini {
  list-style: none;
  margin: 0.2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bullet-mini li {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: #222;
  position: relative;
  padding-left: 10px;
}

.bullet-mini li:before {
  content: "–";
  position: absolute;
  left: 0;
  top: 0;
  color: #a1582b;
  font-weight: 600;
}

.signal-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.signal-rows li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #222;
}

.s-name {
  min-width: 130px;
  font-weight: 600;
}

.s-bar {
  display: inline-flex;
  gap: 3px;
}

.s-bar i {
  width: 10px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.1);
  display: block;
  border-radius: 2px;
}

.signal-rows li[data-level] .s-bar i:nth-child(-n + 5) {
  background: rgba(161, 88, 43, 0.15);
  border-color: rgba(161, 88, 43, 0.5);
}

.signal-rows li[data-level="4"] .s-bar i:nth-child(5),
.signal-rows li[data-level="3"] .s-bar i:nth-child(n + 4),
.signal-rows li[data-level="2"] .s-bar i:nth-child(n + 3),
.signal-rows li[data-level="1"] .s-bar i:nth-child(n + 2) {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.3);
}

.note-par {
  font-size: 0.7rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #111;
  margin: 0;
  max-width: 70ch;
}

.dossier-block:after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  pointer-events: none;
  border-radius: inherit;
  mix-blend-mode: overlay;
}

/* Hover emphasis for rows */
.d-list li:hover,
.signal-rows li:hover {
  background: rgba(161, 88, 43, 0.05);
}

/* Responsive adjustments */
@media (max-width: 760px) {
  .d-list li {
    grid-template-columns: 90px 1fr;
    font-size: 0.7rem;
  }

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

  .dossier-grid {
    gap: 1.2rem;
  }

  .tag-strip li {
    font-size: 0.6rem;
  }
}

@media (max-width: 480px) {
  .dossier-title {
    font-size: 0.85rem;
  }

  .d-list li {
    grid-template-columns: 80px 1fr;
  }

  .s-name {
    min-width: 110px;
  }

  .note-par {
    font-size: 0.65rem;
  }
}

/* ...existing code... */
.influences {
  margin-top: 4rem;
}
.influences h2 {
  margin-bottom: 1.2rem;
}
.influences .chip-list {
  margin: 0 0 1.4rem;
  gap: 0.6rem;
}
.influences .chip {
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  text-transform: lowercase;
}
.influences .bullet-clean.mini {
  max-width: 640px;
  gap: 0.7rem;
}
.influences .bullet-clean.mini li {
  font-size: 0.85rem;
  line-height: 1.4;
  color: #222;
}
.influences .label {
  color: #a1582b;
  font-weight: 600;
  letter-spacing: 0.05em;
}
/* Suppress old dossier visuals if any remain */
.dossier-head,
.dossier-grid,
.dossier-title,
.dossier-date {
  display: none !important;
}
