@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400;1,9..40,500&family=Google+Sans+Flex:wght@400..700&display=swap');

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

:root{
  --bg: #FFFFFF;
  --bg-alt: #F2F2F2;
  --card: #FAFAFA;
  --ink: #111111;
  --ink-soft: #5C5C5C;
  --ink-faint: #9A9A9A;
  --accent: #111111;
  --accent-deep: #000000;
  --accent-tint: #D6D6D6;
  --line: rgba(0,0,0,0.14);
  --line-soft: rgba(0,0,0,0.08);
  --serif: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --sans: 'Google Sans Flex', 'Google Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1180px;
}

html { scroll-behavior: smooth; }

body{
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img { display: block; width: 100%; height: auto; object-fit: cover; }

.wrap{ max-width: var(--max); margin: 0 auto; padding: 0 40px; }

.eyebrow{
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

/* ---------- MOTION ---------- */
:root{ --ease-rise: cubic-bezier(.2,.7,.2,1); }

/* scroll reveal — whole block */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-rise), transform .7s var(--ease-rise); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }

/* scroll reveal — staggered pieces inside a case study */
.work-feature__row.reveal{ opacity: 1; transform: none; transition: none; }
.work-feature__row.reveal .work-feature__title,
.work-feature__row.reveal .work-feature__desc,
.work-feature__row.reveal .link-arrow,
.work-feature__row.reveal .work-feature__image{
  opacity: 0; transform: translateY(20px);
  transition: opacity .75s var(--ease-rise) var(--d, 0s),
              transform .75s var(--ease-rise) var(--d, 0s);
}
.work-feature__row.reveal .work-feature__desc{ --d: .09s; }
.work-feature__row.reveal .work-feature__image{ --d: .14s; }
.work-feature__row.reveal .link-arrow{ --d: .2s; }
.work-feature__row.reveal.is-visible .work-feature__title,
.work-feature__row.reveal.is-visible .work-feature__desc,
.work-feature__row.reveal.is-visible .link-arrow,
.work-feature__row.reveal.is-visible .work-feature__image{
  opacity: 1; transform: translateY(0);
}

/* page load — hero enters in sequence */
@keyframes rise{
  from{ opacity: 0; transform: translateY(20px); }
  to{ opacity: 1; transform: translateY(0); }
}
.hero__title,
.hero__sub,
.hero__intro .link-arrow,
.hero__fact{
  animation: rise .85s var(--ease-rise) backwards;
}
.hero__title{ animation-delay: .06s; }
.hero__sub{ animation-delay: .2s; }
.hero__intro .link-arrow{ animation-delay: .3s; }
.hero__fact:nth-child(1){ animation-delay: .34s; }
.hero__fact:nth-child(2){ animation-delay: .42s; }
.hero__fact:nth-child(3){ animation-delay: .5s; }

/* page load — about + case study headers */
.about-hero > *,
.cs-hero > *{ animation: rise .85s var(--ease-rise) backwards; }
.about-hero > *:nth-child(1){ animation-delay: .06s; }
.about-hero > *:nth-child(2){ animation-delay: .16s; }
.cs-hero > *:nth-child(1){ animation-delay: .04s; }
.cs-hero > *:nth-child(2){ animation-delay: .12s; }
.cs-hero > *:nth-child(3){ animation-delay: .2s; }
.cs-hero > *:nth-child(4){ animation-delay: .28s; }
.cs-hero > *:nth-child(5){ animation-delay: .36s; }

/* ---------- NAV ---------- */
.nav{
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
}
.nav.is-scrolled{
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line-soft);
}
.nav .wrap{
  height: 84px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo{
  display: block; width: 39px; height: 39px; flex: none;
  transition: transform .25s ease;
}
.nav__logo img{ width: 100%; height: 100%; display: block; }
.nav__logo:hover{ transform: scale(1.06); }
.nav__links{ display: flex; align-items: center; gap: 40px; }
.nav__links a,
.nav__links button{
  font-family: var(--sans);
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0;
  background: none; border: none; cursor: pointer;
}
.nav__links a:not(.nav__cta)::after{
  content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
}
.nav__links a:not(.nav__cta):hover::after,
.nav__links a.is-active::after{ transform: scaleX(1); transform-origin: left; }
.nav__links a:hover{ color: var(--ink); }
.nav__links a.is-active{ color: var(--ink); }
.nav__cta{
  border: 1px solid var(--ink) !important; border-radius: 100px;
  padding: 9px 20px !important; font-size: 13px !important;
  color: var(--ink) !important;
  transition: background .25s ease, color .25s ease;
}
.nav__cta:hover{ background: var(--ink); color: var(--bg) !important; }
.nav__cta.is-copied{ background: var(--ink); color: var(--bg) !important; }

/* ---------- HERO ---------- */
.hero{
  margin-top: -85px; /* nav wrap is 84px + its 1px bottom border */
  padding: 195px 0 120px;
  position: relative; overflow: hidden;
  background: #E9E5F2;
}
.hero::after{
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #FFFFFF 100%);
  pointer-events: none;
  z-index: 2;
}
.hero .wrap{ position: relative; z-index: 3; }

/* ---------- ATMOSPHERE: colorways + travelling light ---------- */
.color-field{
  position: absolute; inset: -35% -25%;
  pointer-events: none; z-index: 0;
  will-change: transform, opacity;
}
/* three colorways cross-fading on a long, offset cycle */
.color-field--a{
  background:
    radial-gradient(closest-side at 18% 28%, #D8CFEF 0%, rgba(216,207,239,0) 100%),
    radial-gradient(closest-side at 78% 22%, #CFE0EF 0%, rgba(207,224,239,0) 100%),
    radial-gradient(closest-side at 62% 74%, #F2E2D8 0%, rgba(242,226,216,0) 100%),
    radial-gradient(closest-side at 28% 82%, #D6E7DC 0%, rgba(214,231,220,0) 100%),
    linear-gradient(115deg, #EDE8F7 0%, #E3ECF4 35%, #F8F0E9 65%, #E8F0EA 100%);
  animation: drift 32s ease-in-out infinite,
             cycle 78s linear 0s infinite;
}
.color-field--b{
  background:
    radial-gradient(closest-side at 24% 22%, #E9D4E6 0%, rgba(233,212,230,0) 100%),
    radial-gradient(closest-side at 72% 30%, #D0E4E7 0%, rgba(208,228,231,0) 100%),
    radial-gradient(closest-side at 54% 80%, #F1E5D2 0%, rgba(241,229,210,0) 100%),
    radial-gradient(closest-side at 22% 74%, #D6D3EC 0%, rgba(214,211,236,0) 100%),
    linear-gradient(115deg, #F2E8F2 0%, #E4EFF0 35%, #F9F3E7 65%, #E9E6F4 100%);
  animation: drift 32s ease-in-out infinite,
             cycle 78s linear -26s infinite;
}
.color-field--c{
  background:
    radial-gradient(closest-side at 30% 26%, #D5E3DC 0%, rgba(213,227,220,0) 100%),
    radial-gradient(closest-side at 70% 26%, #DCD9EE 0%, rgba(220,217,238,0) 100%),
    radial-gradient(closest-side at 58% 78%, #F0E6DA 0%, rgba(240,230,218,0) 100%),
    radial-gradient(closest-side at 26% 78%, #CFE1E9 0%, rgba(207,225,233,0) 100%),
    linear-gradient(115deg, #EAF1EC 0%, #E9E7F5 35%, #F7F1E8 65%, #E4EDF2 100%);
  animation: drift 32s ease-in-out infinite,
             cycle 78s linear -52s infinite;
}
@keyframes drift{
  0%, 100%{ transform: translate3d(-6%, 0, 0) scale(1.12); }
  50%{ transform: translate3d(6%, 2%, 0) scale(1.2); }
}
@keyframes cycle{
  0%,  20%{ opacity: 1; }
  46%, 87%{ opacity: 0; }
  100%    { opacity: 1; }
}

.light-sweep{
  position: absolute; top: -45%; bottom: -45%; left: -30%; right: -30%;
  pointer-events: none; z-index: 1;
  background: radial-gradient(38% 58% at 50% 50%,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.48) 34%,
    rgba(255,255,255,0.16) 56%,
    rgba(255,255,255,0) 74%);
  will-change: transform;
  animation: sweep 18s ease-in-out 1.2s infinite;
}
@keyframes sweep{
  0%{ transform: translate3d(-26%, 0, 0); }
  50%{ transform: translate3d(26%, 0, 0); }
  100%{ transform: translate3d(-26%, 0, 0); }
}
.hero__eyebrow{ margin-bottom: 26px; }
.hero__title{
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.13;
  letter-spacing: -0.015em;
  max-width: 26ch;
  text-wrap: balance;
}
.hero__title-name{ font-weight: 700; }

/* extremely subtle shimmer across the hero headline */
@supports (background-clip: text) or (-webkit-background-clip: text){
  .hero__title{
    background-image: linear-gradient(
      100deg,
      var(--ink) 0%,
      var(--ink) 42%,
      #423d52 47%,
      #4d4760 50%,
      #423d52 53%,
      var(--ink) 58%,
      var(--ink) 100%
    );
    background-size: 300% 100%;
    background-repeat: repeat;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: rise .85s var(--ease-rise) backwards,
               shimmer 18s ease-in-out 1.2s infinite;
  }
}
@keyframes shimmer{
  0%{ background-position: 100% 0; }
  50%{ background-position: 0% 0; }
  100%{ background-position: 100% 0; }
}
.hero__row{
  margin-top: 44px;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px;
  align-items: start;
}
.hero__sub{
  font-size: 18px; line-height: 1.65; color: var(--ink-soft); max-width: 46ch;
  margin-bottom: 24px;
}
.hero__facts{ display: flex; flex-direction: column; gap: 14px; }
.hero__fact{
  display: flex; justify-content: space-between; gap: 20px;
  font-size: 13.5px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.hero__fact span:first-child{ color: var(--ink-faint); }
.hero__fact span:last-child{ font-weight: 500; text-align: right; }

/* ---------- SECTION HEADS ---------- */
.section-head{
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 70px 0 36px; gap: 24px;
}
.section-head h2{
  font-family: var(--serif); font-weight: 500; font-size: clamp(22px,2.56vw,32px);
}
.section-head p{ color: var(--ink-faint); font-size: 14px; max-width: 32ch; text-align: right; }

/* ---------- FEATURED WORK ---------- */
.work-feature{ padding: 40px 0 30px; }
.work-feature__row{
  padding: 60px 0;
  scroll-margin-top: 110px;
}
.work-feature{ scroll-margin-top: 110px; }
.work-feature__image{
  border-radius: 16px; overflow: hidden;
  background: var(--card);
  margin-top: 48px;
  transition: box-shadow .5s ease;
}
.work-feature__image a{ display: block; }
.work-feature__image img{
  aspect-ratio: 16/9.5;
  transition: transform .7s ease;
}
.work-feature__row:hover .work-feature__image{
  box-shadow: 0 24px 48px rgba(0,0,0,0.14);
}
.work-feature__row:hover .work-feature__image img{
  transform: scale(1.025);
}
.work-feature__content{
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
}
.work-feature__title{
  font-family: var(--serif); font-weight: 700; font-size: clamp(30px,3vw,39px);
  margin-bottom: 14px; line-height: 1.15;
}
.work-feature__desc{ color: var(--ink-soft); font-size: 15.5px; max-width: 70ch; }
.tag{
  font-size: 12px; font-weight: 500; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px;
}
.link-arrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--ink); padding-bottom: 2px;
}
.link-arrow span{ transition: transform .25s ease; }
.link-arrow:hover span{ transform: translateX(4px); }

/* ---------- FOOTER ---------- */
.footer{
  position: relative; overflow: hidden;
  padding: 150px 0 48px;
  background: #E9E5F2;
}
.footer::before{
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 180px;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
  z-index: 2;
}
.footer .wrap{ position: relative; z-index: 3; }
.footer__cta{
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 5vw, 56px); line-height: 1.1; margin-bottom: 18px; max-width: 14ch;
}
.footer__reach{
  font-size: 16.5px; color: var(--ink-soft);
}
.footer__reach a{ color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 1px; transition: border-color .25s ease; }
.footer__reach a:hover{ border-bottom-color: var(--ink); }
.footer__row{ display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 16px 40px; }
.footer__copy{ font-size: 13px; color: var(--ink-faint); text-align: right; }

/* ---------- CASE STUDY PAGE ---------- */
.cs-hero{ padding: 60px 0 40px; }
.cs-back{ display:inline-flex; align-items:center; gap:8px; font-size:13.5px; color: var(--ink-soft); margin-bottom: 40px; }
.cs-back:hover{ color: var(--ink); }
.cs-title{ font-family: var(--serif); font-weight: 700; font-size: clamp(42px,6.4vw,72px); margin-bottom: 28px; line-height: 1.06; letter-spacing: -0.015em; }
.cs-summary{ font-size: 21px; line-height: 1.55; color: var(--ink-soft); margin-bottom: 44px; }
.cs-meta{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 50px; }
.cs-meta div span{ display: block; }
.cs-meta .label{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 8px; }
.cs-meta .value{ font-size: 16.5px; font-weight: 400; line-height: 1.55; color: var(--ink-soft); }
.cs-meta .value em{ font-style: normal; color: var(--accent); font-size: 14px; }
.cs-image{ border-radius: 16px; overflow: hidden; margin-bottom: 70px; }
.cs-section{ display: grid; grid-template-columns: 0.7fr 1fr; gap: 60px; padding-bottom: 70px; }
.cs-section h2{ font-family: var(--serif); font-weight: 700; font-size: 28px; position: sticky; top: 120px; align-self: start; }
.cs-section p{ color: var(--ink-soft); font-size: 18px; line-height: 1.65; max-width: 62ch; margin-bottom: 24px; }
.cs-section img{ border-radius: 12px; margin-top: 8px; }
.cs-quote{ font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.4; max-width: 30ch; color: var(--ink); }

/* one shared treatment for every attribution — quote names, publications, captions */
.cs-quote cite,
.cs-quotes cite,
.cs-press cite,
.cs-section > div > cite{
  display: block;
  font-family: var(--sans); font-style: normal;
  font-size: 15px; line-height: 1.5;
  color: var(--ink-faint);
  margin-top: 16px;
}
/* full-width figure between sections */
.cs-figure{ margin: 0 0 70px; }
.cs-figure img{
  display: block; width: 100%; height: auto;
  border-radius: 16px;
}
.cs-figure figcaption{ margin-top: 14px; font-size: 14.5px; color: var(--ink-faint); }

/* impact stats */
.cs-stats{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px;
  padding: 0 0 70px;
}
.cs-stat__num{
  display: block; font-family: var(--serif); font-weight: 700;
  font-size: clamp(34px, 4vw, 52px); line-height: 1.03;
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.cs-stat__label{ display: block; font-size: 14.5px; color: var(--ink-soft); }

/* press list */
.cs-press{ list-style: none; margin: 0; padding: 0; }
.cs-press li{ padding-bottom: 26px; margin-bottom: 26px; }
.cs-press li:last-child{ padding-bottom: 0; margin-bottom: 0; }
.cs-press__title{
  display: inline; font-family: var(--serif); font-weight: 500;
  font-size: 20px; line-height: 1.35;
  text-decoration: underline; text-underline-offset: 4px;
}
a.cs-press__title:hover{ font-weight: 700; }
.cs-press cite{ margin-top: 8px; }
.cs-press blockquote{
  font-family: var(--serif); font-size: 18px; line-height: 1.5;
  color: var(--ink); margin: 14px 0 0; max-width: 60ch;
}

/* testimonials / research quotes */
.cs-quotes{ display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding-bottom: 70px; }
.cs-quotes blockquote{
  font-family: var(--serif); font-size: 19px; line-height: 1.45; margin-bottom: 16px;
}
.cs-quotes cite{ margin-top: 0; }

.cs-nav{ display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.cs-nav a{ padding: 40px 0; display: block; transition: opacity .25s ease; }
.cs-nav a:hover{ opacity: 0.6; }
.cs-nav a:first-child{ border-right: 1px solid var(--line); padding-right: 40px; }
.cs-nav a:last-child{ padding-left: 40px; text-align: right; }
.cs-nav .label{ font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 10px; }
.cs-nav .title{ font-family: var(--serif); font-size: 24px; }

/* ---------- ABOUT PAGE ---------- */
.about-hero{ padding: 70px 0 0; display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 70px; align-items: stretch; }
.about-hero__photo{ border-radius: 16px; overflow: hidden; height: 100%; }
.about-hero__photo img{ width: 100%; height: 100%; object-fit: cover; object-position: center; }
.about-hero h1{ font-family: var(--serif); font-weight: 500; font-size: clamp(32px,4.4vw,50px); margin-bottom: 22px; line-height: 1.14; }
.about-hero p{ font-size: 16.5px; color: var(--ink-soft); margin-bottom: 18px; max-width: 56ch; }
.about-hero p:last-of-type{ margin-bottom: 0; }
.about-hero h1 strong{ font-weight: 700; }
.about-skills{
  display: flex; flex-wrap: wrap; gap: 12px;
  padding: 48px 0;
}
.about-skills .tag{
  font-size: 15px; padding: 10px 20px;
  flex: 1 1 auto; text-align: center; white-space: nowrap;
}
.about-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 46px 0 70px; }
.about-grid h3{ font-family: var(--serif); font-weight: 700; font-size: 30px; letter-spacing: -0.01em; margin-bottom: 32px; }
.about-block + .about-block{ margin-top: 52px; }
.timeline-item{ margin-bottom: 26px; }
.timeline-item:last-child{ margin-bottom: 0; }
.timeline-item .role{ font-weight: 600; font-size: 17.5px; line-height: 1.4; }
.timeline-item .org{ font-size: 15px; color: var(--ink-soft); }
.timeline-item .dates{ font-size: 13px; color: var(--ink-faint); margin-top: 4px; }

@media (max-width: 900px){
  .wrap{ padding: 0 24px; }
  .hero{ padding: 150px 0 52px; }
  .hero__title{ font-size: 28px; }
  .hero__row{ grid-template-columns: 1fr; gap: 30px; }
  .hero__facts{ display: none; }
  .work-feature{ padding: 40px 0 22px; }
  .work-feature__row{ padding: 44px 0; }
  .work-feature__image img{ aspect-ratio: 4/3; }
  .work-feature__content{ flex-direction: column; align-items: flex-start; gap: 20px; }
  .about-hero{ grid-template-columns: 1fr; padding-top: 42px; gap: 42px; }
  .about-hero__photo{ height: auto; }
  .about-hero__photo img{ height: auto; }
  .about-skills{ display: none; }
  .about-grid{ grid-template-columns: 1fr; gap: 36px; padding-top: 60px; }
  .cs-meta{ grid-template-columns: 1fr; gap: 16px; }
  .cs-stats{ grid-template-columns: 1fr; gap: 28px; padding-bottom: 44px; }
  .cs-quotes{ grid-template-columns: 1fr; gap: 28px; padding-bottom: 44px; }
  .cs-figure{ margin-bottom: 44px; }
  .cs-section{ grid-template-columns: 1fr; gap: 16px; }
  .cs-section h2{ position: static; }
  .cs-nav{ grid-template-columns: 1fr; }
  .cs-nav a:first-child{ border-right: none; border-bottom: 1px solid var(--line); padding-right: 0; }
  .cs-nav a:last-child{ padding-left: 0; text-align: left; }
  .footer{ padding: 90px 0 48px; }
  .footer::before{ height: 100px; }
  .footer__row{ flex-direction: column; align-items: flex-start; }
  .nav__links{ gap: 20px; }
}

@media (prefers-reduced-motion: reduce){
  .reveal,
  .work-feature__row.reveal .work-feature__title,
  .work-feature__row.reveal .work-feature__desc,
  .work-feature__row.reveal .link-arrow,
  .work-feature__row.reveal .work-feature__image{
    opacity: 1; transform: none; transition: none;
  }
  .hero__sub, .hero__intro .link-arrow, .hero__fact,
  .about-hero > *, .cs-hero > *{ animation: none; }
  .hero__title{
    animation: none;
    background-image: none;
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
  }
  .color-field, .light-sweep{ animation: none; }
  .color-field--b, .color-field--c{ opacity: .45; }
}
