/* ──────────────────────────────────────────────
   KUNALDEEP KALITA — MAIN SITE STYLES
   ────────────────────────────────────────────── */

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

:root {
  --cream:          #F7F3EE;
  --warm-white:     #FDFAF6;
  --terracotta:     #C2604B;
  --terracotta-lt:  #E8A492;
  --forest:         #2E5C45;
  --sand:           #D9C9B3;
  --sand-dark:      #B9A58D;
  --ink:            #1C1C1A;
  --ink-mid:        #4A4845;
  --ink-soft:       #7A7672;
  --border:         #E2D9CE;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(253,250,246,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}
.nav-logo em { color: var(--terracotta); font-style: italic; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--ink-mid);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.nav-links a:hover { color: var(--terracotta); }
.nav-cta {
  background: var(--terracotta);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--forest) !important; }
.nav-hamburger {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 16px;
  cursor: pointer;
  color: var(--ink-mid);
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  padding: 80px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(194,96,75,.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 30%;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(46,92,69,.10) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-text { z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--terracotta);
}
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
h1 em { font-style: italic; color: var(--terracotta); }
.hero-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink-mid);
  margin-bottom: 28px;
}
.hero-desc {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 440px;
  line-height: 1.75;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--forest);
  color: #fff;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn-secondary {
  border: 1.5px solid var(--sand-dark);
  color: var(--ink-mid);
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s;
  background: transparent;
}
.btn-secondary:hover { border-color: var(--terracotta); color: var(--terracotta); }

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-photo-frame {
  width: 360px; height: 440px;
  border-radius: 200px 200px 160px 160px;
  background: linear-gradient(145deg, var(--sand), var(--sand-dark));
  position: relative;
  overflow: visible;
  box-shadow: 0 40px 80px rgba(28,28,26,.15);
}
.hero-photo-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
}
.hero-photo-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  color: var(--ink-soft);
  border-radius: inherit;
  overflow: hidden;
}
.hero-photo-placeholder .icon { font-size: 64px; opacity: .35; }
.hero-photo-placeholder p { font-size: 13px; font-weight: 500; opacity: .5; }
.floating-badge {
  position: absolute;
  background: white;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(28,28,26,.12);
  display: flex; align-items: center; gap: 12px;
  z-index: 2;
}
.badge-top { top: 40px; right: -24px; }
.badge-bottom { bottom: 56px; left: -24px; }
.badge-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.badge-icon.green { background: rgba(46,92,69,.12); }
.badge-icon.orange { background: rgba(194,96,75,.12); }
.badge-label { font-size: 11px; color: var(--ink-soft); }
.badge-value { font-size: 14px; font-weight: 700; color: var(--ink); }

/* ── MARQUEE ── */
.marquee-strip {
  background: var(--forest);
  color: rgba(255,255,255,.7);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 30s linear infinite;
  font-size: 13px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase;
}
.marquee-inner span { margin: 0 24px; color: var(--terracotta-lt); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SECTIONS ── */
.section { padding: 100px 80px; }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--sand-dark);
}
h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
h2 em { font-style: italic; color: var(--terracotta); }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 48px;
}
.about-body p {
  font-size: 17px; line-height: 1.8;
  color: var(--ink-mid); margin-bottom: 20px;
}
.about-body p strong { color: var(--ink); font-weight: 600; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stat-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  transition: border-color .2s, transform .2s;
}
.stat-card:hover { border-color: var(--terracotta); transform: translateY(-3px); }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 40px; font-weight: 700;
  color: var(--terracotta); line-height: 1; margin-bottom: 6px;
}
.stat-desc { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.competencies-grid { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.comp-tag {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-mid);
  transition: all .2s;
}
.comp-tag:hover { border-color: var(--forest); color: var(--forest); background: rgba(46,92,69,.05); }
.comp-tag.highlight { background: var(--forest); color: white; border-color: var(--forest); }

.divider { height: 1px; background: var(--border); margin: 0 80px; }

/* ── EXPERIENCE ── */
.experience-section { background: var(--cream); }
.experience-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 64px; flex-wrap: wrap; gap: 24px;
}

.timeline {
  position: relative; padding-left: 28px;
  display: flex; flex-direction: column; gap: 48px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 12px; bottom: 12px; width: 2px;
  background: linear-gradient(to bottom, var(--terracotta), var(--forest));
  border-radius: 2px;
}
.company-block { position: relative; }
.company-dot {
  position: absolute; left: -28px; top: 14px;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--cream);
  background: var(--terracotta);
  box-shadow: 0 0 0 2.5px var(--terracotta);
  z-index: 1;
}
.company-dot.alt { background: var(--forest); box-shadow: 0 0 0 2.5px var(--forest); }
.company-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(28,28,26,.05);
  transition: box-shadow .25s;
}
.company-card:hover { box-shadow: 0 12px 48px rgba(28,28,26,.10); }
.company-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1.5px solid var(--border);
  gap: 16px; flex-wrap: wrap;
}
.company-header-left { display: flex; align-items: center; gap: 16px; }
.company-logo-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 1.5px solid var(--border);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0;
}
.company-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--ink); line-height: 1.1;
}
.company-tenure { font-size: 13px; color: var(--ink-soft); font-weight: 400; margin-top: 2px; }
.company-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  background: rgba(194,96,75,.10);
  color: var(--terracotta);
  border: 1px solid rgba(194,96,75,.20);
}
.company-badge.green {
  background: rgba(46,92,69,.10); color: var(--forest);
  border-color: rgba(46,92,69,.20);
}

.roles-list {
  padding: 0 32px 8px;
  position: relative;
}
.roles-list::before {
  content: '';
  position: absolute;
  left: 56px; top: 0; bottom: 0;
  width: 1.5px; background: var(--border);
}

.role-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 20px;
  padding: 28px 0;
  border-bottom: 1px dashed var(--border);
}
.role-item:last-child { border-bottom: none; }
.role-step {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  padding-top: 4px; width: 24px; flex-shrink: 0;
}
.role-step-dot {
  width: 12px; height: 12px;
  border-radius: 50%; background: white;
  border: 2px solid var(--sand-dark);
  flex-shrink: 0; position: relative; z-index: 1;
}
.role-step-dot.current { border-color: var(--terracotta); background: var(--terracotta); }
.role-content { min-width: 0; }
.role-meta {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.role-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px; font-weight: 600;
  color: var(--ink); line-height: 1.2;
}
.role-date {
  font-size: 12px; font-weight: 500;
  color: var(--ink-soft); white-space: nowrap;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 100px; padding: 4px 12px; flex-shrink: 0;
}
.role-bullets { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.role-bullets li {
  font-size: 14px; color: var(--ink-mid); line-height: 1.65;
  padding-left: 18px; position: relative;
}
.role-bullets li::before {
  content: '—'; position: absolute; left: 0;
  color: var(--terracotta-lt); font-weight: 700;
}
.role-bullets li strong { color: var(--ink); font-weight: 600; }
.role-tags { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.role-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(46,92,69,.10); color: var(--forest);
}

/* ── WRITING SECTION ── */
.tl-section {
  background: var(--ink);
  color: white;
  padding: 100px 80px;
}
.tl-desc {
  font-size: 17px; color: rgba(255,255,255,.6);
  max-width: 560px; line-height: 1.75; margin-bottom: 48px;
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-bottom: 48px;
}

/* Loading skeletons */
.article-skeleton {
  height: 200px;
  background: var(--border);
  border-radius: 20px;
  animation: shimmer 1.5s ease-in-out infinite alternate;
}
@keyframes shimmer {
  from { opacity: .4; }
  to   { opacity: .8; }
}

/* Article cards */
.article-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.article-card:hover {
  background: var(--warm-white);
  border-color: var(--terracotta);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(194,96,75,.12);
}
.article-topic {
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 14px;
}
.article-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 600;
  color: var(--ink); line-height: 1.35; margin-bottom: 10px;
  flex: 1;
}
.article-subtitle {
  font-size: 13px; color: var(--ink-soft);
  line-height: 1.5; margin-bottom: 16px;
}
.article-meta {
  font-size: 12px; color: var(--ink-soft);
  font-weight: 500; margin-top: auto;
}
.no-articles {
  text-align: center; padding: 48px 0;
  color: var(--ink-soft); font-size: 15px;
}

/* ── ARTICLE MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex; align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
}
.modal-card {
  background: var(--warm-white);
  border-radius: 28px;
  width: 100%; max-width: 760px;
  padding: 56px 60px;
  position: relative;
  margin: auto;
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.modal-close {
  position: absolute; top: 20px; right: 20px;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 50%; width: 36px; height: 36px;
  font-size: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-mid); transition: all .15s;
}
.modal-close:hover { background: var(--terracotta); color: white; border-color: var(--terracotta); }
.modal-topic {
  font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: 14px;
}
.modal-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700; line-height: 1.2;
  color: var(--ink); margin-bottom: 12px;
}
.modal-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-style: italic;
  color: var(--ink-soft); margin-bottom: 20px;
}
.modal-date {
  font-size: 13px; color: var(--ink-soft);
  margin-bottom: 32px; padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.modal-body {
  font-size: 16px; line-height: 1.85; color: var(--ink-mid);
}
.modal-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700;
  color: var(--ink); margin: 32px 0 12px;
}
.modal-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 600;
  color: var(--ink); margin: 24px 0 10px;
}
.modal-body p { margin-bottom: 16px; }
.modal-body strong { color: var(--ink); font-weight: 600; }
.modal-body em { font-style: italic; }
.modal-body blockquote {
  border-left: 3px solid var(--terracotta);
  padding-left: 20px;
  color: var(--ink-soft);
  font-style: italic;
  margin: 24px 0;
}
.modal-body ul, .modal-body ol {
  padding-left: 24px; margin-bottom: 16px;
}
.modal-body li { margin-bottom: 8px; }

/* ── ARTICLE CARD FOOTER ── */
.article-footer {
  display: flex; align-items: center;
  justify-content: space-between; margin-top: auto; padding-top: 12px;
}
.article-reactions-mini {
  display: flex; gap: 10px;
  font-size: 12px; color: var(--ink-soft);
}

/* ── REACTIONS ── */
.modal-reactions {
  display: flex; align-items: center; gap: 12px;
  padding: 20px 0; margin: 8px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.reaction-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 20px; border-radius: 100px;
  border: 1.5px solid var(--border);
  background: white; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink-mid);
  transition: all .2s; font-family: 'DM Sans', sans-serif;
}
.reaction-btn:hover { border-color: var(--forest); color: var(--forest); }
.reaction-btn.active.like-btn { background: rgba(46,92,69,.10); border-color: var(--forest); color: var(--forest); font-weight: 600; }
.reaction-btn.active.dislike-btn { background: rgba(194,96,75,.10); border-color: var(--terracotta); color: var(--terracotta); font-weight: 600; }
.reaction-count { font-weight: 700; }
.reaction-hint { font-size: 12px; color: var(--ink-soft); margin-left: 4px; }

/* ── COMMENTS ── */
.modal-comments-section { margin-top: 40px; }
.comments-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 24px;
}
.comments-count {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 100px; font-size: 12px; font-weight: 700;
  color: var(--ink-soft); padding: 2px 10px; margin-left: 8px;
  font-family: 'DM Sans', sans-serif; vertical-align: middle;
}
.no-comments { font-size: 14px; color: var(--ink-soft); margin-bottom: 28px; }
.comment-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px 22px; margin-bottom: 14px;
}
.comment-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.comment-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--forest));
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: white; flex-shrink: 0;
}
.comment-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.comment-date { font-size: 12px; color: var(--ink-soft); }
.comment-body { font-size: 14px; color: var(--ink-mid); line-height: 1.7; }

/* Comment form */
.comment-form-wrap { margin-top: 32px; }
.comment-form-title {
  font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 18px;
}
.comment-form { display: flex; flex-direction: column; gap: 14px; }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.comment-field-group { display: flex; flex-direction: column; gap: 6px; }
.comment-field-group label { font-size: 12px; font-weight: 600; color: var(--ink-mid); }
.req { font-size: 11px; color: var(--ink-soft); font-weight: 400; }
.comment-field-group input,
.comment-field-group textarea {
  background: var(--cream); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 10px 14px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--ink);
  outline: none; transition: border-color .2s; resize: vertical;
}
.comment-field-group input:focus,
.comment-field-group textarea:focus { border-color: var(--terracotta); }
.comment-submit {
  align-self: flex-start;
  background: var(--forest); color: white;
  border: none; border-radius: 100px;
  padding: 11px 28px; font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .2s;
}
.comment-submit:hover { background: var(--ink); }
.comment-submit:disabled { opacity: .6; cursor: not-allowed; }
.comment-msg {
  font-size: 13px; font-weight: 500; padding: 10px 14px;
  border-radius: 10px; margin-top: 4px;
}
.comment-msg.success { background: rgba(46,92,69,.10); color: var(--forest); border: 1px solid rgba(46,92,69,.2); }
.comment-msg.error   { background: rgba(194,96,75,.10); color: var(--terracotta); border: 1px solid rgba(194,96,75,.2); }
.modal-loading { text-align: center; padding: 60px; color: var(--ink-soft); }

/* ── SUBSCRIPTION BLOCK ── */
.subscribe-block {
  background: var(--ink);
  padding: 64px 80px;
}
.subscribe-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.subscribe-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--terracotta-lt); margin-bottom: 8px;
}
.subscribe-heading {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700; color: white; margin-bottom: 6px;
}
.subscribe-sub { font-size: 13px; color: rgba(255,255,255,.5); }
.subscribe-form { flex-shrink: 0; }
.subscribe-inputs { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-input {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 10px; padding: 11px 18px;
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: white;
  outline: none; width: 260px;
  transition: border-color .2s;
}
.subscribe-input::placeholder { color: rgba(255,255,255,.35); }
.subscribe-input:focus { border-color: rgba(255,255,255,.4); }
.subscribe-btn {
  background: var(--terracotta); color: white;
  border: none; border-radius: 10px;
  padding: 11px 24px; font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: background .2s; white-space: nowrap;
}
.subscribe-btn:hover { background: var(--forest); }
.subscribe-btn:disabled { opacity: .7; cursor: not-allowed; }
.sub-msg {
  font-size: 13px; font-weight: 500; margin-top: 10px; padding: 8px 14px;
  border-radius: 8px;
}
.sub-msg.success { background: rgba(46,92,69,.25); color: #7fcfaa; }
.sub-msg.error   { background: rgba(194,96,75,.25); color: var(--terracotta-lt); }
.sub-msg.info    { background: rgba(255,255,255,.08); color: rgba(255,255,255,.6); }

/* ── FOOTER ── */
footer {
  background: var(--cream);
  border-top: 1px solid var(--border);
  padding: 60px 80px;
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 32px;
}
.footer-brand { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; }
.footer-brand em { color: var(--terracotta); font-style: italic; }
.footer-tagline { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  text-decoration: none; font-size: 14px;
  color: var(--ink-mid); font-weight: 500; transition: color .2s;
}
.footer-links a:hover { color: var(--terracotta); }
.footer-copy { font-size: 12px; color: var(--ink-soft); }

/* ── NAV LOGO AS LINK ── */
a.nav-logo { text-decoration: none; }
.nav-active { color: var(--terracotta) !important; font-weight: 600; }

/* ── STORIES PAGE ── */
.stories-header {
  background: var(--ink);
  padding: 80px 80px 72px;
  border-bottom: 3px solid var(--terracotta);
}
.stories-header-inner { max-width: 720px; }
.stories-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin: 8px 0 16px;
}
.stories-title em { color: var(--terracotta-lt); }
.stories-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 560px;
}

.stories-grid-section {
  background: var(--cream);
  padding: 56px 80px 72px;
  min-height: 320px;
}
.stories-grid-section .articles-grid { background: transparent; }
.stories-grid-section .no-articles   { background: transparent; }

.stories-subscribe { margin: 0; }

/* ── SHOW MORE (stories) ── */
.show-more-wrap {
  display: flex; justify-content: center;
  padding: 8px 0 48px;
}
.show-more-btn {
  background: white; color: var(--ink-mid);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 12px 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.show-more-btn:hover {
  border-color: var(--terracotta); color: var(--terracotta);
  box-shadow: 0 4px 16px rgba(194,96,75,.12);
}

/* ── EXPERIENCE COLLAPSE (homepage) ── */
.role-hidden { display: none !important; }
.company-block-hidden { display: none !important; }

.experience-toggle-wrap {
  display: flex; justify-content: center;
  padding: 8px 0 16px;
}
.experience-toggle-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--ink-mid);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  padding: 11px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}
.experience-toggle-btn:hover {
  border-color: var(--forest); color: var(--forest);
  background: rgba(46,92,69,.05);
}
.exp-toggle-arrow { font-size: 13px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; top: 57px;
    background: var(--warm-white);
    padding: 32px 24px; gap: 20px;
    z-index: 800; align-items: flex-start;
  }
  .nav-links.open a { font-size: 18px; }

  .hero { grid-template-columns: 1fr; padding: 60px 24px; min-height: auto; gap: 48px; }
  .hero-visual { order: -1; }
  .hero-photo-frame { width: 280px; height: 340px; }

  .section { padding: 60px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: 1fr 1fr; }

  .divider { margin: 0 24px; }

  .timeline { padding-left: 20px; }
  .company-dot { left: -22px; }
  .company-header { padding: 16px 20px; }
  .roles-list { padding: 0 20px 8px; }
  .roles-list::before { left: 44px; }

  .tl-section { padding: 60px 24px; }
  .articles-grid { grid-template-columns: 1fr; }

  footer { padding: 40px 24px; flex-direction: column; gap: 20px; }

  .modal-card { padding: 36px 24px; }

  .stories-header { padding: 60px 24px 48px; }
  .stories-grid-section { padding: 40px 24px 56px; }
}
