:root {
  --ink: #111111;
  --paper: #f7f5f1;
  --white: #ffffff;
  --muted: #6b6965;
  --line: rgba(17, 17, 17, 0.16);
  --accent: #2fa9ed;
  --accent-soft: #e4f5ff;
  --green: #007c70;
  --blue: #2fa9ed;
  --blue-soft: #e4f5ff;
  --max: 1240px;
  --page-gutter: clamp(16px, 3vw, 32px);
  --section-space: clamp(84px, 9vw, 120px);
  --section-gap: clamp(40px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 88% 7%, rgba(47,169,237,.12), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; -webkit-user-drag: none; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.section-shell { width: min(calc(100% - (var(--page-gutter) * 2)), var(--max)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 max(var(--page-gutter), calc((100vw - var(--max)) / 2));
  background: rgba(247,245,241,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.scroll-progress { position: fixed; inset: 0 auto auto 0; z-index: 40; width: 0; height: 3px; background: linear-gradient(90deg, var(--blue), #87d7ff); pointer-events: none; }
.brand { font: 700 1.35rem/1 "Manrope", sans-serif; letter-spacing: -.06em; }
.brand span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 28px; font-size: .93rem; }
nav a { transition: opacity .2s ease, background .2s ease; }
nav a:hover { opacity: .55; }
.nav-contact { border: 1px solid var(--ink); border-radius: 999px; padding: 9px 16px; }
.nav-contact:hover { background: var(--blue-soft); opacity: 1; }

.hero {
  display: grid;
  grid-template-columns: 1.14fr .86fr;
  gap: clamp(42px, 6vw, 92px);
  align-items: center;
  min-height: calc(100vh - 80px);
  padding-block: clamp(56px, 7vw, 84px);
}
.hero-copy { position: relative; z-index: 2; grid-column: 1; grid-row: 1; }
.hero-copy::after { content: ""; display: block; width: 82px; height: 5px; margin-top: 42px; background: var(--blue); border-radius: 99px; }
.eyebrow {
  margin: 0 0 18px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-name { display: block; }
.hero-location { display: flex; min-height: 1.2em; align-items: center; gap: 8px; margin-top: 8px; color: var(--muted); }
.location-label { display: inline-flex; align-items: center; gap: 7px; }
.location-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #2aa866; box-shadow: 0 0 0 3px rgba(42,168,102,.12); }
.rotating-location {
  display: inline-block;
  transition: opacity .24s ease, transform .24s ease;
}
.rotating-location.is-changing {
  opacity: 0;
  transform: translateY(4px);
}
h1, h2, h3 { margin-top: 0; font-family: "Manrope", sans-serif; letter-spacing: -.045em; }
h1 { max-width: 760px; margin-bottom: 30px; font-size: clamp(3.3rem, 6vw, 6.6rem); line-height: .98; font-weight: 500; }
.hero-summary { max-width: 650px; margin: 0; font-size: clamp(1.08rem, 1.5vw, 1.32rem); color: #343330; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 38px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border-radius: 999px; padding: 0 23px; font-weight: 600; }
.button-dark { background: var(--ink); color: white; box-shadow: 0 12px 28px rgba(17,17,17,.14); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.button-dark:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(17,17,17,.2); background: #287fae; }
.text-link { padding-block: 10px; border-bottom: 1px solid var(--ink); font-weight: 500; transition: color .2s ease, border-color .2s ease; }
.text-link:hover { color: #287fae; border-color: var(--blue); }
.hero-visual { position: relative; isolation: isolate; grid-column: 2; grid-row: 1; width: 100%; max-width: 520px; justify-self: end; margin: 0; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: 9% -7% -7% 11%; background: var(--blue-soft); border: 1px solid rgba(47,169,237,.28); }
.hero-visual picture { display: block; }
.hero-visual img { width: 100%; aspect-ratio: .92; height: auto; object-fit: cover; object-position: center; border-radius: 2px; box-shadow: 0 26px 60px rgba(28,57,72,.17); transition: transform .7s cubic-bezier(.22,1,.36,1); }
.hero-visual:hover img { transform: translate(-7px, -7px); }
.section-label { font-size: .78rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: #287fae; }
.about { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: clamp(48px, 7vw, 96px); align-items: center; padding-block: var(--section-space); background: linear-gradient(112deg, var(--blue-soft), rgba(255,255,255,.7)); box-shadow: 0 0 0 100vmax var(--blue-soft); clip-path: inset(0 -100vmax); }
.about-content { min-width: 0; }
.about-content .section-label { margin-bottom: 28px; }
.about h2, .section-heading h2, .study h2, .contact h2 { font-size: clamp(2.25rem, 4.8vw, 4.8rem); line-height: 1.04; font-weight: 500; }
.about h2 { margin-bottom: 34px; }
.about-copy > p { max-width: 730px; font-size: 1.12rem; color: #393834; }
.about-portrait { width: 100%; max-width: 520px; justify-self: start; margin: 0; }
.portrait-slider { position: relative; aspect-ratio: .88; overflow: hidden; background: var(--ink); box-shadow: 24px 24px 0 rgba(47,169,237,.2), 0 28px 60px rgba(28,57,72,.14); }
.portrait-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: translateX(7%) scale(.985);
  transition: opacity .7s ease, transform .85s cubic-bezier(.22, 1, .36, 1);
}
.portrait-slide:first-child { object-position: center; }
.portrait-slide.is-active { z-index: 1; opacity: 1; transform: translateX(0) scale(1); }

.brands { overflow: hidden; padding-block: clamp(44px, 5vw, 58px); border-block: 1px solid var(--line); }
.brands-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: clamp(30px, 4vw, 44px); }
.brands-heading p { margin-bottom: 0; }
.brands-heading > p:last-child { color: var(--muted); }
.marquee { overflow: hidden; mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 54s linear infinite; }
.brand-logo { display: inline-flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 24px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 8px 22px rgba(17,17,17,.04); white-space: nowrap; transition: transform .25s ease, border-color .25s ease; }
.brand-logo:hover { transform: translateY(-4px); border-color: rgba(47,169,237,.55); }
.brand-logo img { width: 42px; height: 42px; border-radius: 8px; object-fit: contain; }
.brand-logo span { font: 600 .92rem/1.2 "Manrope", sans-serif; letter-spacing: -.025em; }
.brand-logo img.brand-wordmark { width: auto; height: 40px; max-width: 170px; border-radius: 0; }
.brand-logo img.brand-wordmark-tall { height: 52px; }
.brand-logo.has-wordmark span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; gap: 12px; padding-inline: 24px; } .brand-logo[aria-hidden="true"] { display: none; } .rotating-location, .portrait-slide { transition: none; } }

.ecosystem { padding-block: var(--section-space) 32px; }
.ecosystem-controls { display: flex; justify-content: flex-end; gap: 10px; margin: -36px 0 22px; }
.slider-button { width: 48px; height: 48px; border: 1px solid rgba(47, 169, 237, .35); border-radius: 50%; background: var(--blue-soft); color: var(--ink); font: 500 1.3rem/1 "Manrope", sans-serif; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.slider-button:hover, .slider-button:focus-visible { background: var(--blue); color: var(--white); outline: none; }
.slider-button:active { transform: scale(.95); }
.ecosystem-grid { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 16px) / 2); gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.ecosystem-grid::-webkit-scrollbar { display: none; }
.ecosystem-card { display: flex; flex-direction: column; min-height: 430px; padding: 42px; background: var(--white); border: 1px solid var(--line); scroll-snap-align: start; box-shadow: 0 16px 38px rgba(17,17,17,.06); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease; }
.ecosystem-card:hover { transform: translateY(-7px); box-shadow: 0 24px 50px rgba(25,66,88,.12); }
.ecosystem-logo { width: 48px; height: 48px; margin-top: 24px; border-radius: 9px; object-fit: contain; }
.ecosystem-logo-inverse { background: var(--white); }
.ecosystem-card h3 { max-width: 520px; margin: 20px 0 24px; font-size: clamp(2rem, 3.7vw, 3.7rem); line-height: 1.02; font-weight: 500; }
.ecosystem-card > p:not(.ecosystem-tag) { max-width: 560px; color: #484641; font-size: 1.03rem; }
.ecosystem-card > span { margin-top: auto; padding-top: 42px; color: var(--muted); font-size: .85rem; }
.ecosystem-tag { margin: 0; font-size: .77rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.ecosystem-card-dark { background: var(--ink); color: var(--white); }
.ecosystem-card-dark > p:not(.ecosystem-tag), .ecosystem-card-dark > span { color: rgba(255,255,255,.67); }
.ecosystem-card-accent { background: var(--accent-soft); border-color: rgba(47,169,237,.35); }

.work { padding-block: var(--section-space); }
.section-heading { display: grid; grid-template-columns: .5fr 1.5fr; gap: clamp(28px, 5vw, 52px); margin-bottom: var(--section-gap); }
.section-heading h2 { max-width: 900px; margin-bottom: 0; }
.project { border-top: 1px solid var(--line); }
.project-featured { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; padding-top: 24px; }
.project-copy { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding-block: clamp(30px, 5vw, 54px); }
.project-number { margin: 0; color: var(--muted); font: 500 .8rem/1 "Manrope", sans-serif; }
.project h3, .project-card h3 { margin-bottom: 20px; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; font-weight: 500; }
.project-logo { display: block; width: 48px; height: 48px; margin: 24px 0 18px; border-radius: 9px; object-fit: contain; }
.project-logo-straqa { width: 152px; height: auto; margin-block: 28px 22px; border-radius: 0; object-position: left center; }
.project-logo-core100 { width: min(220px, 72%); height: auto; margin-block: 28px 30px; padding: 14px 18px; background: #172820; border-radius: 3px; object-position: left center; box-shadow: 0 12px 28px rgba(23,40,32,.16); }
.project-logo-wide { width: min(290px, 100%); height: 58px; border-radius: 0; object-position: left center; }
.project-logo-inverse { background: var(--white); }
.project-copy p:not(.eyebrow):not(.project-number):not(.project-role), .project-card > p:not(.eyebrow):not(.project-number):not(.project-role) { max-width: 510px; color: #3d3c38; font-size: 1.04rem; }
.project-role { margin-top: 28px; color: var(--muted); font-size: .86rem; }
.project-featured > img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; box-shadow: 0 24px 54px rgba(17,17,17,.12); transition: transform .7s cubic-bezier(.22,1,.36,1); }
.project-featured:hover > img { transform: translateY(-7px); }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 1px; background: var(--line); }
.project-card { min-height: 470px; padding: clamp(34px, 5vw, 56px); background: var(--white); transition: background .3s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.project-card:hover { transform: translateY(-5px); background: #fafdff; }
.project-card-wide { grid-column: 1 / -1; min-height: 390px; }
.project-card-accent { background: var(--accent-soft); }
.project-card-accent:hover { background: #d8f1ff; }
.project-card-image { grid-column: 1 / -1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; padding: 0; }
.project-card-image img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; object-position: top; filter: grayscale(100%); }
.project-card-image > div { padding: 56px 56px 56px 0; }
.project-card-cnpc { grid-column: 1 / -1; display: grid; grid-template-columns: 52px 1fr; gap: 22px; min-height: 0; padding: 56px; background: #edf8ff; }
.project-card-cnpc h3 { max-width: 900px; }
.project-card-cnpc > div > p:not(.eyebrow):not(.project-role) { max-width: 720px; color: #3d3c38; font-size: 1.04rem; }
.antler-feature { display: grid; grid-template-columns: .72fr 1.28fr; margin-top: 1px; background: var(--ink); color: var(--white); }
.antler-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(42px, 5vw, 76px); }
.antler-copy .project-number { margin-bottom: 48px; color: rgba(255,255,255,.44); }
.antler-copy .eyebrow { color: rgba(255,255,255,.62); }
.antler-copy h3 { max-width: 520px; margin: 10px 0 24px; font-size: clamp(2.5rem, 4.8vw, 5rem); line-height: .98; font-weight: 500; letter-spacing: -.055em; }
.antler-copy > p:not(.eyebrow):not(.project-number):not(.project-role) { max-width: 540px; color: rgba(255,255,255,.72); font-size: 1.04rem; }
.antler-copy .project-role { color: rgba(255,255,255,.5); }
.antler-gallery { display: grid; grid-template-columns: 1.35fr .65fr; min-height: 570px; }
.antler-gallery img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); }
.antler-gallery img:first-child { object-position: center; }
.antler-gallery img:last-child { object-position: center top; }

.study { padding-block: var(--section-space); background: var(--ink); color: var(--white); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); }
.study-copy { max-width: 980px; margin-inline: auto; text-align: center; }
.study h2 { margin: 20px 0 28px; }
.study-copy > p { max-width: 720px; margin-inline: auto; color: rgba(255,255,255,.66); font-size: 1.1rem; }
.study ul { list-style: none; margin: 42px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.study li { display: flex; justify-content: space-between; gap: 30px; padding-block: 19px; border-bottom: 1px solid rgba(255,255,255,.18); text-align: left; transition: padding-inline .25s ease, background .25s ease; }
.study li:hover { padding-inline: 16px; background: rgba(47,169,237,.11); }
.study li span { color: rgba(255,255,255,.55); text-align: right; }

.gallery { display: block; padding-block: clamp(64px, 7vw, 88px) var(--section-space); }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.gallery-controls .eyebrow { margin: 0; color: #287fae; }
.gallery-controls > div { display: flex; gap: 10px; }
.gallery-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 18px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-behavior: smooth; scroll-snap-type: inline mandatory; scrollbar-width: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item { margin: 0; scroll-snap-align: start; }
.gallery-media { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1125 / 731; overflow: hidden; background: var(--blue-soft); box-shadow: 0 22px 52px rgba(25,66,88,.12); }
.gallery-item img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-speaking .gallery-media { isolation: isolate; background: #18201d url('/assets/precious-micah-speaking.jpeg') center / cover no-repeat; }
.gallery-speaking .gallery-media::before { content: ""; position: absolute; z-index: 0; inset: -24px; background: inherit; filter: blur(22px) brightness(.45); transform: scale(1.08); }
.gallery-speaking img { width: auto; max-width: 100%; filter: grayscale(100%); }
.gallery-item figcaption { margin-top: 12px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.gallery-quote { padding: clamp(36px, 5vw, 52px) 0; border-bottom: 1px solid var(--line); }
.gallery-quote p { max-width: 900px; margin: 0; font: 500 clamp(2rem, 4vw, 4rem)/1.08 "Manrope", sans-serif; letter-spacing: -.045em; }

.contact { display: grid; grid-template-columns: .4fr 1.25fr .35fr; gap: clamp(30px, 5vw, 48px); padding-block: var(--section-space); }
.contact h2 { margin-bottom: 42px; }
.contact-email { display: inline-block; border-bottom: 1px solid var(--ink); font-size: clamp(1rem, 2vw, 1.4rem); overflow-wrap: anywhere; }
.contact-links { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.contact-links a { border-bottom: 1px solid var(--line); }
footer { display: flex; justify-content: space-between; gap: 30px; padding: 28px max(var(--page-gutter), calc((100vw - var(--max)) / 2)); background: var(--ink); color: rgba(255,255,255,.72); font-size: .82rem; }
footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(34px) scale(.992); transition: opacity .8s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { min-height: 68px; padding-inline: 16px; }
  nav { gap: 16px; }
  nav a:not(.nav-contact):not(.nav-articles) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 48px; min-height: auto; padding-block: 56px 76px; }
  .hero-copy { grid-column: auto; grid-row: auto; }
  .hero-visual { grid-column: auto; grid-row: auto; width: min(100%, 620px); max-width: none; justify-self: start; }
  h1 { font-size: clamp(3.15rem, 13vw, 5.4rem); }
  .hero-visual img { width: 100%; height: auto; object-fit: cover; }
  .hero-visual::before { inset: 7% -3% -4% 7%; }
  .about { grid-template-columns: 1fr; gap: 44px; }
  .about-portrait { max-width: 560px; }
  .about-content .section-label { margin-bottom: 20px; }
  .brands-heading { display: block; }
  .brands-heading > p:last-child { margin-top: 12px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .project-featured { grid-template-columns: 1fr; }
  .project-featured > img { min-height: 0; height: auto; object-fit: contain; }
  .project-grid { grid-template-columns: 1fr; }
  .ecosystem { padding-top: var(--section-space); }
  .ecosystem-controls { margin-top: -42px; }
  .ecosystem-grid { grid-auto-columns: min(88%, 440px); }
  .project-card-image { grid-column: auto; grid-template-columns: 1fr; }
  .project-card-image img { height: auto; max-height: none; object-fit: contain; }
  .project-card-image > div { padding: 0 32px 42px; }
  .antler-feature { grid-template-columns: 1fr; }
  .antler-gallery { grid-template-columns: 1.25fr .75fr; min-height: 0; }
  .antler-gallery img { height: auto; aspect-ratio: 1 / 1; }
  .study-copy { margin-inline: auto; }
  .gallery-item img { min-height: 0; object-fit: contain; }
  .contact { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 560px) {
  :root { --page-gutter: 16px; --section-space: 72px; --section-gap: 36px; }
  nav { gap: 10px; }
  .nav-articles { font-size: .86rem; }
  .nav-contact { padding-inline: 13px; }
  .ecosystem-controls { margin-top: -10px; }
  .ecosystem-card { min-height: 460px; padding: 32px 24px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .project-copy { grid-template-columns: 1fr; }
  .project-card { min-height: auto; padding: 32px 24px; }
  .project-card-cnpc { grid-template-columns: 1fr; }
  .antler-copy { padding: 40px 24px; }
  .antler-copy .project-number { margin-bottom: 32px; }
  .antler-gallery { grid-template-columns: 1fr; }
  .antler-gallery img { aspect-ratio: auto; }
  .study li { flex-direction: column; gap: 3px; }
  .study li, .study li span { text-align: center; }
  footer { flex-direction: column; gap: 7px; }
}
