:root {
  --bg: #fcf7f2;
  --surface: #ffffff;
  --surface-2: #f8d9e6;
  --surface-3: #fff0e2;
  --text: #2d241f;
  --muted: #75665d;
  --line: #ead6ca;
  --brand: #f47c20;
  --brand-dark: #b84b05;
  --green: #2fa66a;
  --green-dark: #1f6e4a;
  --accent: #e8a0bc;
  --max: 1160px;
  --radius: 22px;
  --shadow: 0 12px 36px rgba(118, 76, 48, 0.08);
  --warm-panel:
    linear-gradient(180deg, rgba(244,124,32,.08), rgba(232,160,188,.18)),
    linear-gradient(135deg, #fff1dd, #f6c6d6 62%, #cde9d5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin-top: 0; }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(252, 247, 242, 0.94);
  border-bottom: 1px solid rgba(234, 214, 202, 0.9);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.16rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: .95rem;
  font-weight: 650;
}
.nav-links a { color: #5a463b; }
.nav-links a:hover,
.nav-links a.active { color: var(--brand-dark); }
.nav-links a:not(.nav-cta).active { text-decoration: underline; text-underline-offset: 6px; }
.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--brand-dark);
  color: white !important;
}
.nav-cta.active { box-shadow: 0 0 0 3px rgba(31, 110, 74, .28); }

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 9px 12px;
  border-radius: 12px;
  font: inherit;
  cursor: pointer;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 92px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  right: -190px;
  top: -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,160,188,.28), rgba(244,124,32,.08) 52%, transparent 72%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -230px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47,166,106,.16), transparent 68%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(47,166,106,.14), rgba(232,160,188,.22));
  color: var(--green-dark);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1, h2, h3 {
  line-height: 1.11;
  letter-spacing: -0.035em;
  margin-top: 0;
}
h1 {
  font-size: clamp(3.25rem, 7vw, 6.4rem);
  max-width: 1020px;
  margin: 20px 0 24px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin-bottom: 18px;
}
h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.lead {
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  color: var(--muted);
  max-width: 780px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}
.btn-primary { background: var(--brand-dark); color: white; }
.btn-primary:hover { background: #913a04; }
.btn-secondary { background: rgba(255,255,255,.64); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface-3); }
.btn-light {
  background: white;
  color: var(--green-dark);
  border-color: rgba(255,255,255,.35);
}
.btn-light:hover { background: var(--surface-3); }

section { padding: 82px 0; }
.section-soft {
  background: linear-gradient(180deg, rgba(248,217,230,.38), rgba(255,240,226,.62));
}
.section-head {
  max-width: 760px;
  margin-bottom: 38px;
}
.section-head p { color: var(--muted); margin-bottom: 0; }
.page-hero { padding: 78px 0 44px; }
.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  max-width: 980px;
  margin-bottom: 18px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card p,
.card li { color: var(--muted); }
.card p:last-child { margin-bottom: 0; }

.card-kicker {
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 12px;
}

.number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(244,124,32,.13), rgba(47,166,106,.15));
  color: var(--green-dark);
  font-weight: 900;
}

.text-split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.text-split > :first-child { position: sticky; top: 112px; }

.story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.story-copy {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 760px;
}
.story-copy p { margin-bottom: 18px; }
.story-copy p:last-child { margin-bottom: 0; }

.research-list {
  border-top: 1px solid var(--line);
}
.research-item {
  display: grid;
  grid-template-columns: minmax(190px, .68fr) minmax(0, 1.32fr);
  gap: 48px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.research-item h3 {
  margin: 3px 0 0;
  color: var(--green-dark);
}
.research-item p,
.research-item li { color: var(--muted); }
.research-item p:last-child { margin-bottom: 0; }

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.feature {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.feature strong { color: var(--green-dark); }
.feature p { color: var(--muted); margin: 0; }

.callout {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.82), rgba(255,240,226,.86));
}
.callout p:last-child { margin-bottom: 0; }

.tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(232,160,188,.22);
  color: var(--green-dark);
  font-weight: 800;
  font-size: .76rem;
  margin-bottom: 14px;
}

.list-clean { padding-left: 18px; margin: 12px 0 0; }

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.metric {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: 0; }
.metric strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green-dark);
}
.metric span { color: var(--muted); font-size: .93rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.team-card {
  position: relative;
  padding-top: 32px;
}
.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  width: 46px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--green));
  border-radius: 999px;
}
.role {
  color: var(--green-dark);
  font-size: .9rem;
  font-weight: 800;
  margin: -3px 0 14px;
}

.project-card {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
}
.project-stack { display: grid; gap: 26px; }
.project-meta {
  padding: 34px;
  background: var(--warm-panel);
  color: var(--text);
}
.project-meta h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
.project-meta p { color: var(--muted); }
.project-meta .tag {
  background: rgba(255,255,255,.62);
  color: var(--green-dark);
}
.project-copy { padding: 36px; }
.project-copy p { color: var(--muted); }

.contact-layout {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 24px;
}
.contact-box {
  background: var(--warm-panel);
  color: var(--text);
  border: 1px solid rgba(234,214,202,.9);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.contact-box p,
.contact-box a,
.contact-box span { color: var(--muted); }
.contact-box .btn-primary { color: white; }
.contact-list { display: grid; gap: 18px; margin-top: 24px; }
.contact-item strong { display: block; color: var(--green-dark); margin-bottom: 2px; }
.contact-item a:hover { color: var(--brand-dark); text-decoration: underline; }

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.contact-info-grid .callout { height: 100%; }

.link-list { display: grid; gap: 14px; }
.link-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.link-row:last-child { border-bottom: 0; padding-bottom: 0; }
.link-row strong { min-width: 145px; }
.link-row a { color: var(--brand-dark); overflow-wrap: anywhere; }
.link-row a:hover { text-decoration: underline; }

.site-footer {
  padding: 52px 0 28px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}
.footer-links { display: grid; gap: 8px; color: var(--muted); }
.footer-links a:hover { color: var(--brand-dark); text-decoration: underline; }
.footer-bottom {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .text-split,
  .story-grid,
  .research-item,
  .project-card,
  .contact-layout { grid-template-columns: 1fr; }
  .text-split > :first-child { position: static; }
  .research-item { gap: 12px; }
  .feature { grid-template-columns: 140px 1fr; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    padding: 20px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 660px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 72px 0 64px; }
  section { padding: 62px 0; }
  .grid-2,
  .grid-3,
  .grid-4,
  .team-grid,
  .metric-strip,
  .contact-info-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: 0; }
  .feature { grid-template-columns: 1fr; gap: 6px; }
  .card, .callout { padding: 22px; }
  .project-meta, .project-copy, .contact-box { padding: 26px; }
  .link-row { flex-direction: column; gap: 4px; }
  h1 { font-size: clamp(2.7rem, 14vw, 4.35rem); }
}

/* v4 content/layout refinements */
.story-title {
  font-size: clamp(3rem, 6vw, 5.2rem);
  margin: 0;
}

.collaboration-grid .card {
  height: 100%;
}

.work-mode-card h3 {
  color: var(--green-dark);
}

/* Editorial principle list: keeps longer rationale readable without stretching cards. */
.principles-list {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: 54px;
  align-items: start;
  padding: 28px 0 30px;
  border-top: 2px solid rgba(47, 166, 106, .72);
}

.principle-heading {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.principle-number {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(244,124,32,.10), rgba(47,166,106,.13));
  color: var(--green-dark);
  font-weight: 900;
  line-height: 1;
}

.principle h3 {
  margin: 5px 0 0;
}

.principle > p {
  margin: 1px 0 0;
  color: var(--muted);
  max-width: 780px;
}

@media (max-width: 760px) {
  .principle {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0 26px;
  }

  .principle > p {
    padding-left: 60px;
  }
}

@media (max-width: 520px) {
  .principle > p {
    padding-left: 0;
  }
}
