/* ===================================================================
   WBIC -- Washagamis Bay Investment Corporation
   =================================================================== */

:root {
  --bg: #0a0a0a;
  --bg-panel: #111111;
  --line: rgba(255,255,255,0.1);
  --text: #f5f4f1;
  --text-muted: #9a9994;
  --text-faint: #5c5b57;
  --accent-green: #3ecf8e;
  --tag-green: #2e6b52;
  --tag-blue: #2e4a7a;
  --tag-teal: #1f6b6b;
  --tag-orange: #7a5a2e;

  --font-display: "Archivo", sans-serif;
  --font-serif: "Fraunces", serif;
  --font-mono: "JetBrains Mono", monospace;

  --container: 1400px;
  --gutter: clamp(24px, 5vw, 80px);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-display);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 3px;
}

/* ---------- Shared type ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow-index {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text);
  font-size: 14px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  display: inline-block;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-faint);
}

/* ---------- Layout helpers ---------- */

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px var(--gutter) 70px;
}

/* ---------- Nav ---------- */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-nav.scrolled {
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

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

.nav-logo {
  font-weight: 800;
  letter-spacing: 0.05em;
  font-size: 15px;
}

.nav-links {
  display: flex;
  gap: 40px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
  color: var(--text);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent-green);
  transition: width 0.25s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

@media (max-width: 640px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 11px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 55%, rgba(10,10,10,0.96) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  will-change: opacity, transform;
}

.hero-title {
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 40px;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: rgba(245,244,241,0.75);
}

.hero-subrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 720px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  color: var(--text-muted);
  font-size: 15px;
}

@media (max-width: 640px) {
  .hero-subrow { grid-template-columns: 1fr; gap: 16px; }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.4);
  overflow: hidden;
  position: relative;
}

.scroll-line::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  animation: scrollDrop 1.8s ease-in-out infinite;
}

@keyframes scrollDrop {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  margin-top: 40px;
  align-items: start;
}

.about-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

.about-copy-col p + p { margin-top: 20px; }

.about-image {
  position: relative;
}

.about-image-frame {
  overflow: hidden;
  border-radius: 2px;
}

.about-image-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1.0);
  transition: filter 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: filter, transform;
}

.about-image:hover .about-image-frame img {
  filter: grayscale(0) contrast(1.05);
  transform: scale(1.045) translateY(-4px);
}

@media (hover: none) {
  /* Touch devices: skip the hover-only interaction, keep it static. */
  .about-image:hover .about-image-frame img { filter: grayscale(1) contrast(1.05); transform: none; }
}

.about-badge {
  position: absolute;
  bottom: -36px;
  right: -36px;
  width: 172px;
  height: 172px;
  background: rgba(20,20,20,0.35);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 22s linear infinite;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.about-badge::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
}

.badge-ring {
  width: 142px;
  height: 142px;
}

.badge-ring path { fill: none; }

.badge-ring text {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.15em;
  fill: rgba(255,255,255,0.85);
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { grid-template-columns: 1fr; }
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.stat-num {
  display: block;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .stats-row { grid-template-columns: 1fr; gap: 28px; }
}

.partners-row {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.partners-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 22px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 44px;
  color: var(--text-muted);
  font-size: 17px;
}

.partners-grid span {
  position: relative;
  padding-bottom: 3px;
  cursor: default;
  transition: color 0.25s ease;
}

.partners-grid span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent-green);
  transition: width 0.3s ease;
}

.partners-grid span:hover {
  color: var(--text);
}

.partners-grid span:hover::after {
  width: 100%;
}

/* ---------- Repeating feed card (shared by Projects + Activity) ---------- */

.feed-card {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.feed-card:last-child { border-bottom: 1px solid var(--line); }

.feed-card-media {
  overflow: hidden;
}

.feed-card-media img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.feed-card-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.feed-card-title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.feed-card-desc {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 50ch;
}

.feed-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

.feed-card-cta-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.feed-card-cta:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  gap: 16px;
}

.feed-card-cta:hover .feed-card-cta-arrow {
  transform: translateX(4px);
}

/* ---------- Project detail page ---------- */

.project-hero {
  position: relative;
  height: 78vh;
  min-height: 560px;
  overflow: hidden;
}

.project-hero-media {
  position: absolute;
  inset: 0;
}

.project-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 55%, rgba(10,10,10,0.96) 100%);
}

.project-hero-content {
  position: absolute;
  inset: 0;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 130px var(--gutter) 70px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.3s ease, color 0.3s ease, gap 0.3s ease;
}

.project-back-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-back:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  gap: 16px;
}

.project-back:hover .project-back-arrow {
  transform: translateX(-4px);
}

.project-hero-title {
  font-size: clamp(48px, 8vw, 104px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin-top: 18px;
  max-width: 16ch;
}

.project-body-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 80px;
}

.project-body-copy p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.8;
  max-width: 65ch;
}

.project-body-copy p + p {
  margin-top: 24px;
}

.project-facts {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,0.02);
  padding: 32px;
  position: sticky;
  top: 120px;
  align-self: start;
}

.project-facts-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 24px;
}

.project-fact {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.project-fact:first-child {
  padding-top: 0;
  border-top: none;
}

.project-fact-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.project-fact-value {
  font-size: 15px;
  font-weight: 600;
}

.project-body-footer {
  margin-top: 70px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .project-body-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-facts { position: static; }
}

@media (max-width: 640px) {
  .project-hero { height: 64vh; min-height: 460px; }
  .project-hero-content { padding: 110px var(--gutter) 48px; }
}

.feed-card:nth-child(even) { grid-template-columns: 0.95fr 1.05fr; }
.feed-card:nth-child(even) .feed-card-media { order: 2; }
.feed-card:nth-child(even) .feed-card-copy { order: 1; }

@media (max-width: 800px) {
  .feed-card,
  .feed-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feed-card:nth-child(even) .feed-card-media,
  .feed-card:nth-child(even) .feed-card-copy {
    order: initial;
  }
}

/* Activity feed cards additionally carry a date + status pill --
   and run about half the rectangle/image size of Projects, while
   every font-size here stays inherited from the shared .feed-card-*
   rules above (untouched on purpose). */

.section-activity .feed-card {
  grid-template-columns: 0.55fr 1.45fr;
  gap: 40px;
  padding: 32px 0;
}

.section-activity .feed-card:nth-child(even) {
  grid-template-columns: 1.45fr 0.55fr;
}

.section-activity .feed-card-media img {
  aspect-ratio: 16/11;
}

@media (max-width: 800px) {
  .section-activity .feed-card,
  .section-activity .feed-card:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 0;
  }
}

.activity-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.activity-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.06em;
}

.activity-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.tag-green  { color: #7fe0b0; background: rgba(62,207,142,0.08); border-color: rgba(62,207,142,0.3); }
.tag-blue   { color: #8fb4f0; background: rgba(90,130,220,0.08); border-color: rgba(90,130,220,0.3); }
.tag-teal   { color: #6fd6d6; background: rgba(40,150,150,0.08); border-color: rgba(40,150,150,0.3); }
.tag-orange { color: #f0b96f; background: rgba(200,140,50,0.08); border-color: rgba(200,140,50,0.3); }

/* ---------- Focus areas ---------- */

.focus-header {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}

.focus-intro {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}

@media (max-width: 800px) {
  .focus-header { grid-template-columns: 1fr; }
  .focus-intro { border-left: none; padding-left: 0; }
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-bottom: 64px; /* room for the staggered cards, plus the downward hover drop */
}

.focus-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 26px;
  position: relative;
  transition: background 0.35s ease, border-color 0.35s ease,
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.focus-card:nth-child(2n) {
  transform: translateY(48px);
}

.focus-grid .focus-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.22);
  transform: translateY(56px);
}

.focus-grid .focus-card:nth-child(2n):hover {
  transform: translateY(56px); /* keep the 48px stagger, drop 8px further on hover */
}

/* Spotlight: once you're hovering the grid, the card you're not on dims slightly */
.focus-grid:hover .focus-card:not(:hover) {
  opacity: 0.6;
}

.focus-card::before,
.focus-card::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--text-faint);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.focus-card::before {
  top: 10px; left: 10px;
  border-top: 1px solid; border-left: 1px solid;
}

.focus-card::after {
  bottom: 10px; right: 10px;
  border-bottom: 1px solid; border-right: 1px solid;
}

.focus-card:hover::before,
.focus-card:hover::after {
  opacity: 1;
}

.focus-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  background: transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.focus-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.3s ease;
}

.focus-card:hover .focus-icon {
  background: var(--text);
  border-color: var(--text);
}

.focus-card:hover .focus-icon svg {
  stroke: var(--bg);
}

.focus-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.focus-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .focus-grid { grid-template-columns: repeat(2, 1fr); padding-bottom: 0; }
  .focus-card:nth-child(2n) { transform: none; }
  .focus-grid .focus-card:nth-child(2n):hover { transform: translateY(8px); }
}

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

/* ---------- News ---------- */

.section-news {
  position: relative;
}

.section-news::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 15% 0%, rgba(62,207,142,0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.section-news .eyebrow-index {
  color: var(--accent-green);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-top: 20px;
}

.news-tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.news-tag-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-green);
  background: rgba(62,207,142,0.1);
  border: 1px solid rgba(62,207,142,0.3);
  padding: 5px 10px;
  border-radius: 4px;
}

.news-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

/* Featured story */

.news-featured {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease;
}

.news-featured:hover {
  border-color: rgba(62,207,142,0.35);
}

.news-featured-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.news-featured-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: var(--accent-green);
  color: #06120c;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.news-featured-copy {
  padding: 32px 32px 34px;
}

.news-featured-title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

.news-excerpt {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 56ch;
  margin-bottom: 26px;
}

.news-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-green);
  color: #06120c;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 999px;
  transition: gap 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.news-cta:hover {
  background: #5eeaa8;
  gap: 16px;
  transform: translateY(-2px);
}

.news-cta-arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.news-cta:hover .news-cta-arrow {
  transform: translateX(4px);
}

/* Secondary stories */

.news-secondary-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-secondary {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.news-secondary:hover {
  border-color: rgba(62,207,142,0.35);
  background: rgba(255,255,255,0.045);
  transform: translateX(4px);
}

.news-secondary-media {
  width: 108px;
  aspect-ratio: 1/1;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.news-secondary-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.news-secondary-copy {
  flex: 1;
  min-width: 0;
}

.news-secondary-copy .news-tag {
  margin-bottom: 10px;
}

.news-secondary-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}

.news-cta-small {
  background: none;
  color: var(--accent-green);
  padding: 0;
  border-radius: 0;
  font-size: 11px;
}

.news-cta-small:hover {
  background: none;
  transform: none;
  color: #5eeaa8;
}

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

@media (max-width: 480px) {
  .news-secondary { flex-direction: column; }
  .news-secondary-media { width: 100%; aspect-ratio: 16/9; }
}

/* ---------- News article page ---------- */

.news-article-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.news-article-copy {
  max-width: 720px;
}

.news-byline {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  padding-bottom: 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.news-pullquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.5;
  color: var(--text);
  border-left: 3px solid var(--accent-green);
  padding-left: 28px;
  margin: 40px 0;
}

.news-more {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.news-more-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 24px;
}

.news-more-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

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

/* ---------- Team ---------- */

.team-header {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 70px;
}

.team-intro {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  text-align: right;
}

@media (max-width: 800px) {
  .team-header { grid-template-columns: 1fr; }
  .team-intro { text-align: left; }
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.team-card {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px;
  transition: background 0.3s ease;
}

.team-card:hover {
  background: var(--bg-panel);
}

.team-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  margin-bottom: 20px;
}

.team-name {
  font-size: 17px;
  font-weight: 700;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 4px;
  margin-bottom: 20px;
}

.team-contact {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.team-contact a { transition: color 0.2s ease; }
.team-contact a:hover { color: var(--text); }

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

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

/* ---------- Footer ---------- */

.footer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--gutter) 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-size: 15px;
  color: var(--text-muted);
}

.footer-partnership {
  display: flex;
  align-items: center;
  gap: 32px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}

.partnership-arrow {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.footer-partnership:hover .partnership-arrow {
  transform: rotate(45deg);
  background: var(--accent-green);
}

.partnership-copy {
  display: flex;
  flex-direction: column;
}

.partnership-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.partnership-sub {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .partnership-arrow { width: 110px; height: 110px; font-size: 42px; }
  .partnership-title { font-size: 22px; }
}

.footer-cols {
  display: flex;
  gap: 60px;
  justify-content: flex-end;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.footer-col a {
  position: relative;
  display: inline-block;
  width: fit-content;
  color: var(--text-muted);
  font-size: 19px;
  font-weight: 500;
  padding-bottom: 2px;
  transition: color 0.25s ease;
}

.footer-col a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent-green);
  transition: width 0.3s ease;
}

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

.footer-col a:hover::after {
  width: 100%;
}

@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols { justify-content: flex-start; }
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
}

@media (max-width: 560px) {
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ---------- Scroll-reveal base state (animations.js toggles .is-visible) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Partnership drawer ---------- */

.partnership-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 200;
}

.partnership-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.partnership-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(520px, 92vw);
  background: #0d0d0d;
  border-left: 1px solid var(--line);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  padding: 70px 44px 48px;
}

.partnership-drawer.is-open {
  transform: translateX(0);
}

.partnership-drawer-close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.partnership-drawer-close:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}

.partnership-drawer-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 24px;
}

.partnership-drawer-title {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.partnership-drawer-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--text-faint);
}

.partnership-drawer-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-width: 40ch;
  margin-bottom: 44px;
}

.partnership-field {
  margin-bottom: 30px;
}

.partnership-field input,
.partnership-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 16px;
  padding: 10px 0;
  outline: none;
  resize: none;
  transition: border-color 0.25s ease;
}

.partnership-field textarea {
  min-height: 90px;
}

.partnership-field input::placeholder,
.partnership-field textarea::placeholder {
  color: var(--text-faint);
}

.partnership-field input:focus,
.partnership-field textarea:focus {
  border-color: var(--accent-green);
}

.partnership-budget-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.partnership-budget-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.partnership-budget-pill {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.partnership-budget-pill:hover {
  border-color: rgba(255,255,255,0.35);
  color: var(--text);
}

.partnership-budget-pill.is-selected {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.partnership-submit {
  width: 100%;
  padding: 18px;
  border-radius: 999px;
  border: none;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.partnership-submit:hover {
  background: var(--accent-green);
  transform: translateY(-2px);
}

@media (max-width: 560px) {
  .partnership-drawer { width: 100vw; padding: 64px 26px 36px; }
}
