/* HERO */
.hero { padding: 6.5rem 0 5rem; }
.hero h1 {
  font-family: var(--sans);
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 600; line-height: 1.08;
  color: var(--ink); max-width: 760px; margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size: 17px; line-height: 1.8;
  color: var(--ink-2); max-width: 500px;
  margin-bottom: 2.75rem; font-weight: 300;
}
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: #fff;
  border-radius: var(--radius); padding: 11px 24px;
  font-size: 14px; font-weight: 500;
  transition: opacity 0.15s; display: inline-flex;
  align-items: center; gap: 6px;
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost {
  font-size: 14px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 5px;
  transition: color 0.15s;
}
.btn-ghost:hover { color: var(--ink); }

/* SKILL TAGS */
.tag-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 2.5rem 0; border-bottom: 0.5px solid var(--border);
}
.tag {
  font-size: 12px; padding: 5px 13px;
  border-radius: 100px; border: 0.5px solid var(--border);
  color: var(--ink-2);
}
.tag.green {
  background: rgba(29,111,90,0.09);
  color: var(--accent); border-color: rgba(29,111,90,0.2);
}

/* SECTIONS */
.section {
  padding: 5rem 0; border-bottom: 0.5px solid var(--border);
  display: grid; grid-template-columns: 140px 1fr; gap: 0 2.5rem;
  align-items: start;
}
.section-label {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 0; padding-top: 0.3rem;
}

/* POV MANIFESTO */
.manifesto { display: flex; flex-direction: column; }
.manifesto-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 2rem;
  padding: 2rem 0;
  border-bottom: 0.5px solid var(--border);
  align-items: start;
}
.manifesto-item:first-child { border-top: 0.5px solid var(--border); }
.manifesto-num {
  font-family: var(--serif);
  font-size: 38px; font-weight: 400;
  color: var(--accent); line-height: 1;
  padding-top: 3px;
  opacity: 0.3;
}
.manifesto-body h3 {
  font-size: 16px; font-weight: 500;
  color: var(--ink); margin-bottom: 0.5rem; line-height: 1.35;
}
.manifesto-body p {
  font-size: 14px; color: var(--ink-2);
  line-height: 1.75; font-weight: 300; max-width: 580px;
}

/* WORK DIVIDER */
.work-divider {
  padding: 2rem 0 1rem;
  display: flex; align-items: center; gap: 1rem;
}
.work-divider-label {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-2);
  white-space: nowrap;
}
.work-divider-line {
  flex: 1; height: 0.5px; background: var(--border);
}
.work-divider:first-child { padding-top: 0; }

/* IMPACT CARD — EXPANDO */
.impact-stack { display: flex; flex-direction: column; }
.impact-card {
  border-top: 0.5px solid var(--border);
  padding: 2.5rem 0;
}
.impact-co {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 0.75rem;
  display: flex; align-items: center; gap: 8px;
}
.impact-co-tag {
  background: rgba(29,111,90,0.09);
  color: var(--accent); border-radius: 100px;
  padding: 2px 9px; font-size: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
  border: 0.5px solid rgba(29,111,90,0.2);
}
.impact-card h3 {
  font-size: 18px; font-weight: 500;
  color: var(--ink); margin-bottom: 0.85rem; line-height: 1.3;
}
.case-study-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 1.25rem;
  font-size: 13px; font-weight: 500;
  color: var(--accent);
  border-bottom: 1px solid rgba(29,111,90,0.3);
  padding-bottom: 1px;
  transition: border-color 0.15s, gap 0.15s;
}
.case-study-cta:hover { border-color: var(--accent); gap: 9px; }
.impact-stats {
  display: flex; flex-direction: row;
  flex-wrap: wrap; gap: 1.5rem;
  margin-top: 1.5rem;
}
.stat { min-width: 80px; }
.stat-num {
  font-size: 24px; font-weight: 500;
  color: var(--ink); line-height: 1;
}
.stat-num.small { font-size: 13px; line-height: 1.5; font-weight: 400; }
.stat-label {
  font-size: 11px; color: var(--ink-2);
  margin-top: 4px; line-height: 1.4; font-weight: 300;
}

/* IMPACT TAGS */
.impact-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 0.75rem;
}
.impact-tag {
  font-size: 11px; letter-spacing: 0.05em;
  color: var(--ink-2);
  border: 0.5px solid var(--border);
  border-radius: 100px;
  padding: 2px 10px;
  font-weight: 400;
}

/* CARD HEADER — clickable row */
.impact-card-header {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 1.5rem;
  cursor: pointer;
  user-select: none;
}
.impact-card-header .impact-co   { grid-column: 1; }
.impact-card-header h3           { grid-column: 1; }
.impact-card-header .impact-tags { grid-column: 1; }
.impact-card-header .expando-trigger {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: center;
}

/* EXPANDO TRIGGER */
.expando-trigger {
  display: inline-flex; align-items: center;
  background: none; border: none; cursor: pointer;
  font-size: 20px;
  color: var(--ink-2); font-family: var(--sans);
  padding: 0; flex-shrink: 0;
  transition: color 0.15s;
}
.expando-trigger:hover { color: var(--ink); }
.expando-trigger .ti-chevron-down {
  transition: transform 0.2s;
}
.impact-card.open .expando-trigger .ti-chevron-down {
  transform: rotate(180deg);
}

/* EXPANDO BODY */
.impact-card-body {
  display: none;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 0.5px solid var(--border);
}
.impact-card.open .impact-card-body {
  display: block;
}

/* EXPANDO LAYOUT */
.expando-cols {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
}
.expando-left {
  padding-right: 3rem;
  border-right: 0.5px solid var(--border);
}
.expando-right {
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.expando-section { margin-bottom: 1.75rem; }
.expando-section:last-child { margin-bottom: 0; }
.expando-col-label {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 0.75rem;
}
.expando-col ul {
  list-style: none; padding: 0; margin: 0;
}
.expando-col ul li {
  font-size: 13px; color: var(--ink-2);
  font-weight: 300; line-height: 1.6;
  padding: 6px 0;
  border-top: 0.5px solid var(--border);
  display: flex; align-items: baseline; gap: 8px;
}
.expando-col ul li::before {
  content: '▪';
  font-size: 8px;
  color: var(--ink-2);
  opacity: 0.4;
  flex-shrink: 0;
}
.expando-col ul li:first-child { border-top: none; }

/* RIGHT PANEL */
.expando-stats {
  display: flex; flex-direction: column; gap: 1.1rem;
  margin-bottom: auto;
}
.expando-cta-btn {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 2rem;
  background: var(--ink); color: var(--bg);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: opacity 0.15s;
}
.expando-cta-btn:hover { opacity: 0.85; }

/* BUILDER */
.builder-box {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.builder-header { margin-bottom: 2.5rem; }
.ai-badge {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(29,111,90,0.25); color: #7DD4BA;
  border-radius: 100px; padding: 4px 12px;
  font-size: 11px; font-weight: 500; margin-bottom: 1.25rem;
  border: 0.5px solid rgba(29,111,90,0.35);
}
.builder-box h2 {
  font-size: 20px; font-weight: 500;
  color: #F5F2EC; line-height: 1.35; max-width: 480px;
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 0.5px solid rgba(245,242,236,0.1);
  border-radius: var(--radius);
  overflow: hidden;
}
.stack-item {
  padding: 1.5rem;
  border-right: 0.5px solid rgba(245,242,236,0.1);
  border-bottom: 0.5px solid rgba(245,242,236,0.1);
  transition: background 0.15s;
}
.stack-item:hover { background: rgba(245,242,236,0.04); }
.stack-item:nth-child(2n) { border-right: none; }
.stack-item:nth-last-child(-n+2) { border-bottom: none; }
.stack-name { font-size: 13px; font-weight: 500; color: #F5F2EC; margin-bottom: 6px; }
.stack-desc { font-size: 12px; color: rgba(245,242,236,0.75); line-height: 1.6; font-weight: 300; }

/* CONTACT */
.contact-section { padding: 6rem 0 5rem; }
.contact-section h2 {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 42px); font-weight: 600;
  color: var(--ink); margin-bottom: 1.25rem; line-height: 1.1;
  letter-spacing: -0.02em;
}
.contact-section h2 em { font-style: normal; color: var(--accent); }
.contact-section p {
  font-size: 15px; color: var(--ink-2);
  max-width: 400px; margin-bottom: 2.5rem;
  line-height: 1.8; font-weight: 300;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}
.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-size: 12px; color: var(--ink-2);
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.about-body h2 {
  font-size: clamp(22px, 3vw, 28px); font-weight: 600;
  color: var(--ink); line-height: 1.2; letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}
.about-body p {
  font-size: 15px; color: var(--ink-2);
  line-height: 1.8; font-weight: 300;
  max-width: 560px; margin-bottom: 1.5rem;
}
.about-list { list-style: none; padding: 0; margin: 0; max-width: 560px; }
.about-list li {
  font-size: 14px; color: var(--ink-2);
  font-weight: 300; line-height: 1.6;
  padding: 0.65rem 0 0.65rem 1.5rem;
  border-top: 0.5px solid var(--border);
  position: relative;
}
.about-list li:first-child { border-top: none; }
.about-list li::before {
  content: ''; position: absolute;
  left: 0; top: 1.05rem;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); opacity: 0.5;
}

/* APPROACH */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 2.5rem;
}
.approach-item {}
.approach-num {
  font-family: var(--serif);
  font-size: 13px; font-weight: 400;
  color: var(--accent); letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.approach-item h3 {
  font-size: 15px; font-weight: 600;
  color: var(--ink); line-height: 1.3;
  margin-bottom: 0.6rem;
}
.approach-item p {
  font-size: 13.5px; color: var(--ink-2);
  line-height: 1.7; font-weight: 300;
}

/* TESTIMONIALS */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.testimonials-more {
  display: inline-flex; align-items: center; gap: 5px;
  margin-top: 1.5rem;
  font-size: 13px; font-weight: 500; color: var(--accent);
  transition: gap 0.15s;
}
.testimonials-more:hover { gap: 8px; }
.testimonial {
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column;
  background: rgba(28,26,22,0.02);
}
.testimonial p {
  font-size: 14px; color: var(--ink);
  line-height: 1.7; font-weight: 300;
  margin-bottom: 1.5rem; flex: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 11px; }
.testimonial-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; flex-shrink: 0;
}
.testimonial-name { font-size: 13px; font-weight: 500; color: var(--ink); }
.testimonial-role { font-size: 11px; color: var(--ink-2); margin-top: 1px; }

/* CAPABILITIES */
.capability-row { display: flex; gap: 10px; flex-wrap: wrap; }
.capability {
  font-size: 13px; padding: 8px 16px;
  border-radius: 100px; border: 0.5px solid var(--border);
  color: var(--ink); background: rgba(28,26,22,0.02);
  transition: border-color 0.15s, background 0.15s;
}
.capability:hover { border-color: var(--accent); background: rgba(29,111,90,0.05); }

/* ANIMATION */
.fade-in { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

@media (max-width: 680px) {
  .expando-cols { grid-template-columns: 1fr; }
  .expando-left { padding-right: 0; border-right: none; border-bottom: 0.5px solid var(--border); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
  .expando-right { padding-left: 0; }
  .manifesto-item { grid-template-columns: 40px 1fr; gap: 0 1.25rem; }
  .manifesto-num { font-size: 28px; }
  .stack-grid { grid-template-columns: 1fr; }
  .stack-item:nth-child(2n) { border-right: none; }
  .stack-item { border-bottom: 0.5px solid rgba(245,242,236,0.1); }
  .stack-item:last-child { border-bottom: none; }
  .section { grid-template-columns: 1fr; gap: 0; }
  .section-label { margin-bottom: 1.5rem; padding-top: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-photo { max-width: 220px; }
  .approach-grid { grid-template-columns: 1fr; gap: 2rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
}

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