:root {
  --bg-page: #faf7f2;
  --bg-surface: #f2ece1;
  --bg-card: #ffffff;
  --bg-dark: #16221c;
  --text-primary: #18221d;
  --text-secondary: #4e5b53;
  --text-muted: #6f7c74;
  --accent-primary: #1b4332;
  --accent-warm: #b45309;
  --accent-warm-soft: #fef3c7;
  --border-subtle: rgba(24, 34, 29, 0.1);
  --border-strong: rgba(24, 34, 29, 0.2);
  --shadow-sm: 0 4px 14px rgba(24, 34, 29, 0.05);
  --shadow-md: 0 14px 34px rgba(24, 34, 29, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 1.5rem;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.brand-dot {
  color: var(--accent-warm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
}

.lang-btn {
  border: none;
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.82rem 1.4rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
}

.btn-primary {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(27, 67, 50, 0.18);
}

.btn-primary:hover {
  background: #143326;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-surface);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-warm);
  border-color: rgba(180, 83, 9, 0.28);
}

.btn-ghost:hover {
  background: rgba(180, 83, 9, 0.08);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* Hero Section — Mobile-First, Full-Bleed Editorial Story Layout, Borderless */
.hero-story {
  position: relative;
  min-height: calc(100svh - 74px);
  display: flex;
  flex-direction: column;
  color: #ffffff;
  overflow: hidden;
  background: #141715;
}

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

.hero-story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  filter: contrast(1.04) saturate(0.92);
}

.hero-story-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 19, 17, 0.72) 0%, rgba(16, 19, 17, 0.48) 42%, rgba(16, 19, 17, 0.78) 100%),
    radial-gradient(circle at 22% 45%, rgba(16, 19, 17, 0.55) 0%, transparent 65%);
}

.hero-story-inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem 0 1.75rem;
  gap: 2.5rem;
}

/* Top Story Mode Bar */
.hero-mode-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 440px;
  width: 100%;
  margin: 0 auto;
}

.hero-mode-item {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.68);
  padding-bottom: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hero-mode-item:hover,
.hero-mode-item.active {
  color: #ffffff;
}

.hero-mode-item.active {
  border-bottom-color: #ffffff;
}

/* Center Editorial Typography (Zero Outlines / Zero Boxes) */
.hero-story-main {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: auto 0;
  padding: 1rem 0;
}

.hero-story-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-story-title {
  font-family: var(--font-sans);
  font-size: clamp(2.15rem, 9vw, 3.85rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-story-role {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.hero-story-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.9rem;
}

.hero-stat-primary {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 4.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.hero-stat-unit {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
}

.hero-stat-day {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 3.8vw, 1.45rem);
  font-weight: 700;
  color: #fbbf24;
  margin-left: 0.25rem;
}

.hero-stat-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-story-tagline {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.hero-story-tagline p {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}

.hero-story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.hero-text-link {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  padding-bottom: 2px;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.hero-text-link:hover {
  opacity: 0.82;
  border-bottom-color: #fbbf24;
}

.hero-story-footer {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}

.hero-story-footer strong {
  color: #ffffff;
  font-weight: 700;
}

/* Mobile-First Breakpoints for Hero Story */
@media (min-width: 768px) {
  .hero-story-inner {
    padding: 2.25rem 0 2.25rem;
  }

  .hero-mode-bar {
    max-width: 520px;
  }

  .hero-mode-item {
    font-size: 0.78rem;
  }

  .hero-story-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 2.5rem;
  }

  .hero-story-role {
    font-size: 1rem;
  }

  .hero-story-main {
    gap: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-story-img {
    object-position: center 30%;
  }

  .hero-story-inner {
    padding: 2.5rem 0 2.5rem;
  }
}

/* Metrics Strip */
.metrics-strip {
  padding: 3rem 0 3.5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.45rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.metric-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--accent-primary);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}

.metric-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.metric-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Section Headers */
.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-warm);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-lead {
  font-size: 1.02rem;
  color: var(--text-secondary);
}

/* About & Pillars */
.about-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.pillar-index {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--accent-warm);
  margin-bottom: 0.85rem;
}

.pillar-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
  flex: 1;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
}

.pillar-tags li {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.28rem 0.65rem;
  background: var(--bg-surface);
  border-radius: 999px;
  color: var(--text-primary);
}

/* Experience Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-right: 1px solid var(--border-subtle);
  padding-right: 1.25rem;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.timeline-loc {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.timeline-head h3 {
  font-size: 1.22rem;
  font-weight: 700;
}

.company-name {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--accent-warm);
}

.impact-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: rgba(27, 67, 50, 0.08);
  color: var(--accent-primary);
  white-space: nowrap;
}

.company-context {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.95rem;
}

.timeline-bullets {
  padding-left: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
}

/* Creative Media Section */
.creative-section {
  background: var(--bg-dark);
  color: #f8fafc;
}

.creative-section .section-tag {
  color: #fbbf24;
}

.creative-section .section-lead {
  color: rgba(248, 250, 252, 0.78);
}

.creative-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.cafe-frame {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cafe-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.photo-caption {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(248, 250, 252, 0.65);
}

.initiative-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.initiative-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.initiative-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.25rem;
}

.initiative-top h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.initiative-date {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #fbbf24;
}

.initiative-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.65rem;
}

.initiative-card p:last-child {
  font-size: 0.92rem;
  color: rgba(248, 250, 252, 0.78);
}

/* Thought Leadership Tabs */
.tabs-bar {
  display: inline-flex;
  gap: 0.5rem;
  background: var(--bg-surface);
  padding: 0.35rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
}

.tab-btn {
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.tab-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.writings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.writing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.writing-card:not(.static-card):hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.writing-source {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent-warm);
}

.writing-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.35;
}

.writing-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent-primary);
}

/* Credentials */
.credentials-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.cred-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cred-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.cred-list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.cred-list strong {
  font-size: 0.94rem;
}

.cred-list span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cred-list em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.76rem;
  color: var(--accent-primary);
}

/* Contact Section */
.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.contact-intro {
  max-width: 680px;
  margin-bottom: 2.25rem;
}

.contact-tracks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.track-card {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.track-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-warm);
  margin-bottom: 0.35rem;
}

.track-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4rem;
}

.track-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.social-links a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Responsive */
@media (max-width: 960px) {
  .hero-grid,
  .creative-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .pillars-grid,
  .credentials-grid {
    grid-template-columns: 1fr;
  }

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

  .timeline-meta {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-right: 0;
    padding-bottom: 0.75rem;
  }

  .floating-card {
    left: 12px;
    bottom: 12px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    display: none;
  }

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

  .menu-toggle {
    display: flex;
  }

  .writings-grid,
  .contact-tracks,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 2rem 1.4rem;
  }
}
