:root {
  --cream: #f6f1ea;
  --cream-deep: #ece4d7;
  --ink: #2a2724;
  --ink-soft: #5a534c;
  --rust: #b04a2a;
  --rust-deep: #8c3a20;
  --line: rgba(42, 39, 36, 0.12);
  --display: "Archivo", -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(246, 241, 234, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--rust); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.hero-image {
  position: absolute;
  inset: -6% 0 -6% 0;
  background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
  will-change: transform;
  transform: translateY(0) scale(1.05);
  transition: transform 0.1s linear;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 39, 36, 0.35) 0%, rgba(42, 39, 36, 0.55) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 880px;
}
.hero .eyebrow {
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.4);
}
.hero-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 124px);
  line-height: 0.96;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin: 22px 0 24px;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 20px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 140px 0;
}
.section.approach { padding: 160px 0 120px; }
.section.values { background: var(--ink); color: var(--cream); padding: 130px 0; }
.section.values .eyebrow { color: var(--cream); border-color: rgba(246,241,234,0.4); }
.section.values .section-title { color: var(--cream); }
.values-head { margin-bottom: 72px; max-width: 720px; }
.section.values .value { background: rgba(255,255,255,0.04); border-color: rgba(246,241,234,0.12); }
.section.values .value:hover { background: rgba(255,255,255,0.07); }
.section.values .value-title { color: var(--cream); }
.section.values .value-body { color: rgba(246,241,234,0.7); }
.section.values .value-num { color: var(--rust); }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--rust);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rust);
  margin-bottom: 32px;
}
.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 780px;
  margin-bottom: 32px;
}
.lede {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--ink-soft);
  max-width: 620px;
  line-height: 1.7;
  font-weight: 400;
}

/* ---------- STATS STRIP ---------- */
.stats {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- APPROACH ---------- */
.approach-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: center;
}
.approach-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-deep);
}
.approach-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.approach-media:hover img { transform: scale(1.03); }
.approach-content .lede + .lede { margin-top: 18px; }
.approach-content .eyebrow { margin-top: 0; }

/* ---------- PHOTO BREAK ---------- */
.photo-break {
  height: 58vh;
  min-height: 360px;
  overflow: hidden;
  position: relative;
}
.photo-break-image {
  position: absolute;
  inset: -6% 0;
  background-image: url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 8s ease-out;
}
.photo-break.is-visible .photo-break-image { transform: scale(1.08); }

/* ---------- SERVICES ---------- */
.services { background: var(--cream-deep); padding: 130px 0; }
.services-head { margin-bottom: 72px; max-width: 720px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  padding: 44px 32px 52px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream-deep);
  transition: background 0.3s ease;
}
.service:hover { background: var(--cream); }
.service-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--rust);
  margin-bottom: 28px;
}
.service-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.service-body {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------- PROCESS ---------- */
.process { padding: 130px 0; }
.process-head { margin-bottom: 72px; max-width: 720px; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.process-grid::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.step {
  position: relative;
  padding-top: 40px;
}
.step::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 11px;
  height: 11px;
  background: var(--rust);
  border-radius: 50%;
}
.step-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.step-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.step-body {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------- TEAM ---------- */
.team-head { margin-bottom: 24px; max-width: 720px; }
.team-head .lede { margin-top: 8px; }
.team-bio {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 10px;
}
.team-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.team-card {
  text-align: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.team-card:hover { transform: translateY(-6px); }
.team-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, #d9cfc0 0%, #c7b9a5 100%);
  overflow: hidden;
  margin-bottom: 20px;
}
.team-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 40%, rgba(255,255,255,0.35) 0%, transparent 45%),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(42,39,36,0.03) 12px 13px);
  pointer-events: none;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.team-role {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
}

/* ---------- VALUES ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.value {
  padding: 40px 32px;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease;
}
.value:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(42, 39, 36, 0.15);
}
.value-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  color: var(--rust);
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}
.value-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.value-body {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- WORK ---------- */
.work { background: var(--cream-deep); padding: 130px 0; }
.work-head { margin-bottom: 64px; max-width: 720px; }
.work-card {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 56px;
  align-items: center;
  background: var(--cream);
  padding: 24px;
  border: 1px solid var(--line);
  transition: box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.work-card:hover {
  box-shadow: 0 30px 60px -30px rgba(42, 39, 36, 0.25);
  transform: translateY(-4px);
}
.work-media {
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: var(--cream-deep);
}
.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.work-card:hover .work-media img { transform: scale(1.05); }
.work-content { padding-right: 24px; }
.work-meta {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 18px;
}
.work-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.work-body {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}
.work-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
}
.work-tags li {
  font-family: var(--display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--cream);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--cream);
  padding: 140px 0;
  text-align: center;
  border-top: 1px solid var(--line);
}
.cta-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
.cta .eyebrow { margin-bottom: 28px; }
.cta-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}
.cta-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.6;
}
.cta-button {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--rust);
  padding: 20px 44px;
  border: 1px solid var(--rust);
  transition: background 0.2s ease, transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1),
              box-shadow 0.3s ease;
}
.cta-button:hover {
  background: var(--rust-deep);
  border-color: var(--rust-deep);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -16px rgba(176, 74, 42, 0.55);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: rgba(246, 241, 234, 0.7);
  padding: 80px 0 60px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.footer-brand {
  font-family: var(--display);
  color: var(--cream);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-meta {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.team-grid .reveal.is-visible:nth-child(1) { transition-delay: 0ms; }
.team-grid .reveal.is-visible:nth-child(2) { transition-delay: 100ms; }
.team-grid .reveal.is-visible:nth-child(3) { transition-delay: 200ms; }
.team-grid .reveal.is-visible:nth-child(4) { transition-delay: 300ms; }
.team-grid .reveal.is-visible:nth-child(5) { transition-delay: 400ms; }
.values-grid .reveal.is-visible:nth-child(1) { transition-delay: 0ms; }
.values-grid .reveal.is-visible:nth-child(2) { transition-delay: 120ms; }
.values-grid .reveal.is-visible:nth-child(3) { transition-delay: 240ms; }
.services-grid .reveal.is-visible:nth-child(1) { transition-delay: 0ms; }
.services-grid .reveal.is-visible:nth-child(2) { transition-delay: 90ms; }
.services-grid .reveal.is-visible:nth-child(3) { transition-delay: 180ms; }
.services-grid .reveal.is-visible:nth-child(4) { transition-delay: 270ms; }
.process-grid .reveal.is-visible:nth-child(1) { transition-delay: 0ms; }
.process-grid .reveal.is-visible:nth-child(2) { transition-delay: 120ms; }
.process-grid .reveal.is-visible:nth-child(3) { transition-delay: 240ms; }
.process-grid .reveal.is-visible:nth-child(4) { transition-delay: 360ms; }
.hero .reveal { transition-duration: 1.1s; }
.hero .reveal:nth-child(1) { transition-delay: 100ms; }
.hero .reveal:nth-child(2) { transition-delay: 250ms; }
.hero .reveal:nth-child(3) { transition-delay: 450ms; }

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .process-grid::before { display: none; }
  .approach-grid { grid-template-columns: 1fr; gap: 40px; }
  .approach-media { aspect-ratio: 16 / 10; max-height: 400px; }
  .photo-break { height: 44vh; min-height: 280px; }
  .work-card { grid-template-columns: 1fr; gap: 24px; padding: 16px; }
  .work-content { padding: 0 8px 8px; }
  .work, .cta { padding: 96px 0; }
  .stats { padding: 56px 0; }
  .stats-grid { gap: 16px; }
  .section { padding: 96px 0; }
  .services, .process, .section.values { padding: 96px 0; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 11px; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .container { padding: 0 22px; }
  .section { padding: 80px 0; }
  .services, .process, .section.values { padding: 80px 0; }
  .work, .cta { padding: 80px 0; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .stat { border-left: none; border-top: 1px solid var(--line); padding-top: 24px; }
  .stat:first-child { border-top: none; padding-top: 0; }
}
