/* ============================================================
   OLI—GREEN — one-page consultant site
   Visual language: light canvas, ink type, vivid gradient blocks
   ============================================================ */

:root {
  --bg: #f2f2f2;
  --ink: #141414;
  --muted: #6d6d6d;
  --accent-orange: #fa6104;
  --accent-magenta: #cf13ee;
  --grad-sunset: linear-gradient(156.75deg, #ffa24d 1.34%, #ff2d52 120.85%);
  --grad-cosmos: linear-gradient(156.75deg, #3788ff 1.44%, #982ced 94.35%);
  --grad-ember: linear-gradient(90deg, #ed6339, #fa5ca6 42%, #eb7d2e);
  --grad-aurora: linear-gradient(-40deg, #27249c -9.14%, #177aee 46.7%, #4a19d2 86.65%);
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-reveal: cubic-bezier(1, 0, 0.25, 0.995);
  --rail-w: 6.5rem;
}

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

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Switzer", "Helvetica Neue", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.4;
  max-width: 100%;
  overflow-x: clip;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; }

::selection { background-color: #0f0; color: #fff; text-shadow: none; }

a { color: currentColor; text-decoration: none; }
.ttu { text-transform: uppercase; }

/* ============ Header ============ */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 2rem;
  mix-blend-mode: normal;
  transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.header--scrolled {
  background-color: rgba(242, 242, 242, 0.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(20, 20, 20, 0.1);
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo-img {
  height: 1.9rem;
  width: auto;
  display: block;
}

@media (min-width: 600px) {
  .header__logo-img { height: 2.2rem; }
}

@media (min-width: 1024px) {
  .header__logo-img { height: 2.7rem; }
}

/* small phones: just logo + hamburger; the CTA lives in the menu */
@media (max-width: 599px) {
  .header .header__cta { display: none; }
  .header__menu-btn { margin-right: 0; }
}

.header__nav { display: none; }

.header__nav a {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.15;
  transition: opacity 0.3s var(--ease-out);
}

.header__nav a:hover { opacity: 0.45; }

.btn-pill {
  position: relative;
  display: inline-block;
  overflow: hidden;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10rem;
  padding: 1.2rem 2.4rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.btn-pill__label {
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.btn-pill__label--hover {
  position: absolute;
  inset: 1.2rem 2.4rem;
  transform: translateY(160%);
}

.btn-pill:hover .btn-pill__label { transform: translateY(-160%); }
.btn-pill:hover .btn-pill__label--hover { transform: translateY(0); }

/* ============ Mobile menu ============ */

.header__menu-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-left: auto;
  margin-right: 1.6rem;
  min-width: 4.4rem;
  min-height: 4.4rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.header__menu-btn span {
  display: block;
  width: 2.4rem;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease-out);
}

.header__menu-btn.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.header__menu-btn.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem 2rem 5rem;
  opacity: 0;
  visibility: hidden;
  overscroll-behavior: contain;
  transition: opacity 0.4s var(--ease-out), visibility 0s 0.4s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s var(--ease-out), visibility 0s 0s;
}

.mobile-menu__close {
  position: absolute;
  top: 1.6rem;
  right: 1.6rem;
  background: none;
  border: none;
  color: inherit;
  font-size: 2.2rem;
  padding: 1.2rem;
  cursor: pointer;
}

.mobile-menu__kicker {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(242, 242, 242, 0.5);
  margin-bottom: 2.4rem;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.mobile-menu__nav a {
  font-size: clamp(3rem, 8.5vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.mobile-menu__cta {
  align-self: flex-start;
  margin-top: 4.8rem;
  background: var(--bg);
  color: var(--ink);
  border-radius: 10rem;
  padding: 1.5rem 3rem;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mobile-menu__email {
  display: inline-block;
  margin-top: 2.8rem;
  font-size: 1.8rem;
  font-weight: 600;
  background: var(--grad-ember);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 1024px) {
  .header__menu-btn, .mobile-menu { display: none; }
}

/* ============ Side rail ============ */

.side-rail {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: var(--rail-w);
  z-index: 40;
  border-left: 1px solid rgba(20, 20, 20, 0.12);
  background: var(--bg);
}

.side-rail__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
  white-space: nowrap;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.side-rail__square {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1.2rem;
  height: 1.2rem;
  background: var(--grad-cosmos);
}

/* ============ Layout wrapper ============ */

.content-wrapper { position: relative; }

@media (min-width: 1024px) {
  .header { padding: 2rem 3rem; right: var(--rail-w); }
  .header__nav { display: flex; gap: 4.5rem; align-items: center; }
  .side-rail { display: block; }
  .content-wrapper { margin-right: var(--rail-w); }
}

/* ============ Hero ============ */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10rem 2rem 3rem;
  overflow: hidden;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero__meta {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem 6rem;
  margin-bottom: auto;
  padding-top: 4rem;
}

.hero__meta-item {
  font-size: 1.4rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero__title {
  position: relative;
  font-size: 15.2vw;
  line-height: 0.92;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: 4rem 0 5rem;
}

.hero__title-line { display: block; overflow: hidden; }
.hero__title-line--indent { padding-left: 8vw; }

.hero__title-inner {
  display: inline-flex;
  align-items: center;
  gap: 2.2vw;
}

.hero__square {
  display: inline-block;
  width: 9.5vw;
  height: 9.5vw;
  flex: none;
}

.hero__square--sunset { background: var(--grad-sunset); }
.hero__square--cosmos { background: var(--grad-cosmos); }
.hero__square--ink { background: var(--ink); }

.hero__bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3.2rem;
}

.hero__tagline {
  font-size: 1.7rem;
  line-height: 1.4;
  max-width: 34rem;
}

@media (min-width: 1024px) {
  .hero__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
  }
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hero__scroll-arrow {
  display: inline-block;
  animation: bob 1.8s var(--ease-out) infinite;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(0.5rem); }
}

@media (min-width: 1024px) {
  .hero { padding: 12rem 3rem 4rem; }
  .hero__title { font-size: 14vw; }
  .hero__square { width: 8.6vw; height: 8.6vw; }
}

/* ============ Shared section rhythm ============ */

.manifesto, .services, .process, .studio {
  padding: 12rem 2rem;
}

@media (min-width: 1024px) {
  .manifesto, .services, .process, .studio {
    padding: 16rem 3rem;
  }
}

.manifesto__kicker, .services__kicker, .process__kicker, .studio__kicker, .footer__kicker, .clients__kicker {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 3.2rem;
}

/* ============ Manifesto ============ */

.manifesto__title {
  font-size: clamp(3.2rem, 6.2vw, 7.5rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 20ch;
  margin-bottom: 6.4rem;
}

.manifesto__body {
  display: grid;
  gap: 5rem;
  align-items: start;
}

.manifesto__body > p {
  font-size: 1.9rem;
  line-height: 1.55;
  max-width: 56rem;
}

.manifesto__words {
  display: flex;
  flex-direction: column;
  font-size: clamp(4rem, 6.7vw, 8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.manifesto__word { overflow: hidden; display: block; }
.manifesto__word .anim-line { display: block; }

.manifesto__word:nth-child(1) .anim-line {
  background: var(--grad-ember);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.manifesto__word:nth-child(2) .anim-line {
  background: var(--grad-cosmos);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (min-width: 1024px) {
  .manifesto__body { grid-template-columns: 1.2fr 1fr; }
}

/* ============ Statement ============ */

.statement {
  padding: 10rem 2rem;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  border-bottom: 1px solid rgba(20, 20, 20, 0.12);
}

.statement__title {
  font-size: 10.1vw;
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.035em;
}

@media (min-width: 1024px) {
  .statement { padding: 12rem 3rem; }
  .statement__title { font-size: 7.2vw; max-width: 95%; }
}

/* ============ Services ============ */

.services__header { margin-bottom: 8rem; }

.services__title, .process__title, .studio__title {
  font-size: clamp(3.2rem, 5.4vw, 6.6rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 8rem;
}

.service {
  display: grid;
  gap: 3rem;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  padding-top: 4rem;
}

.service__media {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: flex-end;
  padding: 2.4rem;
}

.service__index {
  font-size: 6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.service__name {
  font-size: clamp(2.6rem, 3.4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
}

.service__desc {
  font-size: 1.7rem;
  line-height: 1.55;
  max-width: 50rem;
  margin-bottom: 2.4rem;
}

.service__tags {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

@media (min-width: 1024px) {
  .service {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }
  .service:nth-child(even) .service__media { order: 2; }
}

/* ============ Service photo blocks ============ */

.service__media--photo {
  background-size: cover;
  background-position: center;
}

.service__media--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: multiply;
}

.service__media--photo .service__index {
  position: relative;
  z-index: 1;
}

.service__media--m1 { background-image: url("https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1400&q=70"); }
.service__media--m1::before { background: var(--grad-sunset); }

.service__media--m2 { background-image: url("https://images.unsplash.com/photo-1488646953014-85cb44e25828?auto=format&fit=crop&w=1400&q=70"); }
.service__media--m2::before { background: var(--grad-cosmos); }

.service__media--m3 { background-image: url("https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1400&q=70"); }
.service__media--m3::before { background: var(--grad-ember); }

.service__media--m4 { background-image: url("https://images.unsplash.com/photo-1540575467063-178a50c2df87?auto=format&fit=crop&w=1400&q=70"); }
.service__media--m4::before { background: var(--grad-aurora); }

/* ============ Gradient overlay reveal ============ */

.gradient-overlay { overflow: hidden; position: relative; }

.gradient-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  transition: transform 1s var(--ease-reveal);
  z-index: 2;
  background: var(--ink);
}

.gradient-overlay.is-visible::after {
  transform: translateY(calc(100% + 0.1rem));
}

.gradient-overlay--sunset { background: var(--grad-sunset); }
.gradient-overlay--cosmos { background: var(--grad-cosmos); }
.gradient-overlay--ember { background: var(--grad-ember); }
.gradient-overlay--aurora { background: var(--grad-aurora); }

/* ============ Stats ============ */

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(20, 20, 20, 0.12);
}

.stats__item {
  padding: 5rem 2rem;
  border-bottom: 1px solid rgba(20, 20, 20, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.stats__item:nth-child(odd) { border-right: 1px solid rgba(20, 20, 20, 0.12); }

.stats__value {
  font-size: clamp(5rem, 8vw, 10rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stats__label {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
  color: var(--muted);
}

.stats__item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: none; }

@media (min-width: 1024px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats__item { border-right: 1px solid rgba(20, 20, 20, 0.12); padding: 6rem 3rem; }
  .stats__item:last-child, .stats__item:last-child:nth-child(odd) { grid-column: auto; border-right: none; }
}

/* ============ Clients (infinite marquee) ============ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.clients {
  padding: 7rem 0;
  overflow: hidden;
}

.clients__kicker {
  margin-bottom: 4.5rem;
  padding: 0 2rem;
  text-align: center;
}

.clients__marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.clients__track {
  display: flex;
  width: max-content;
  animation: clients-scroll 40s linear infinite;
  will-change: transform;
}

.clients__name {
  display: inline-flex;
  align-items: center;
  flex: none;
  font-size: clamp(3rem, 5.5vw, 5.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
  color: var(--ink);
}

.clients__name::after {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  margin: 0 clamp(2.8rem, 5vw, 5.5rem);
  background: var(--grad-ember);
  flex: none;
}

@keyframes clients-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.clients__marquee:hover .clients__track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .clients__track { animation: none; }
}

@media (min-width: 1024px) {
  .clients { padding: 9rem 0; }
}

/* ============ References / quotes ============ */

.quotes {
  padding: 12rem 2rem;
}

@media (min-width: 1024px) {
  .quotes { padding: 14rem 3rem; }
}

.quotes__kicker {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 3.2rem;
}

.quotes__title {
  font-size: clamp(3.2rem, 5.4vw, 6.6rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.quotes__grid {
  display: grid;
  gap: 0;
  margin-top: 7rem;
}

.quote {
  margin: 0;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  padding: 4.8rem 0;
  display: grid;
  gap: 2.4rem;
}

.quote__text {
  font-size: clamp(1.9rem, 2.2vw, 2.4rem);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 64rem;
}

.quote__by {
  font-size: 1.4rem;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.quote__by strong {
  color: var(--ink);
  font-weight: 600;
}

.quotes__note {
  margin-top: 4rem;
  font-size: 1.4rem;
  color: var(--muted);
}

.quotes__note a {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

@media (min-width: 1024px) {
  .quote {
    grid-template-columns: 1.6fr 1fr;
    gap: 6rem;
    align-items: baseline;
  }
  .quote__by { text-align: right; }
}

/* ============ Process ============ */

.process__header { margin-bottom: 8rem; }

.process__intro {
  font-size: 1.9rem;
  line-height: 1.55;
  max-width: 56rem;
  margin-top: 4rem;
}

.process__steps {
  list-style: none;
  display: grid;
  gap: 0;
  counter-reset: step;
}

.process__step {
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  padding: 4rem 0;
  display: grid;
  gap: 1.6rem;
}

.process__step-num {
  font-size: 1.4rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.process__step-title {
  font-size: clamp(2.8rem, 4vw, 4.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.process__step-desc {
  font-size: 1.7rem;
  line-height: 1.55;
  max-width: 52rem;
}

@media (min-width: 1024px) {
  .process__step { grid-template-columns: 10rem 1fr 1.4fr; align-items: baseline; gap: 4rem; }
}

/* ============ Marquee ============ */

.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  border-bottom: 1px solid rgba(20, 20, 20, 0.12);
  padding: 2.8rem 0;
  white-space: nowrap;
}

.marquee__track {
  display: inline-flex;
  will-change: transform;
}

.marquee__text {
  font-size: clamp(2.4rem, 3.2vw, 4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  padding-right: 1ch;
}

/* ============ Studio / About ============ */

.studio__intro {
  display: grid;
  gap: 5rem;
  align-items: end;
}

.studio__portrait {
  margin: 0;
  position: relative;
  aspect-ratio: 5 / 4;
  max-width: 52rem;
}

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

.studio__portrait::before {
  content: "";
  position: absolute;
  inset: 55% 0 0 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0), rgba(20, 20, 20, 0.65));
  z-index: 1;
  pointer-events: none;
}

.studio__portrait-caption {
  position: absolute;
  left: 2rem;
  bottom: 1.8rem;
  z-index: 1;
  color: #fff;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
  .studio__intro { grid-template-columns: 1.25fr 1fr; gap: 6rem; }
  .studio__portrait { justify-self: end; width: 100%; }
}

.studio__grid {
  display: grid;
  gap: 2rem;
  margin-top: 7rem;
}

.studio__card {
  padding: 3.2rem 2.8rem 4rem;
  color: #fff;
  min-height: 32rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.6rem;
}

.studio__card--photo {
  background-size: cover;
  background-position: center;
}

.studio__card--operators {
  background-image: linear-gradient(180deg, rgba(20, 20, 20, 0.08), rgba(20, 20, 20, 0.82) 85%), url("https://images.unsplash.com/photo-1539635278303-d4002c07eae3?auto=format&fit=crop&w=1200&q=70");
}

.studio__card--ai {
  background-image: linear-gradient(180deg, rgba(20, 20, 20, 0.08), rgba(20, 20, 20, 0.82) 85%), url("https://images.unsplash.com/photo-1485827404703-89b55fcc595e?auto=format&fit=crop&w=1200&q=70");
}

.studio__card--soul {
  background-image: linear-gradient(180deg, rgba(20, 20, 20, 0.08), rgba(20, 20, 20, 0.82) 85%), url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1200&q=70");
}

.studio__card-title {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.studio__card-desc {
  font-size: 1.6rem;
  line-height: 1.5;
  opacity: 0.92;
}

@media (min-width: 1024px) {
  .studio__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============ Footer ============ */

.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 12rem 2rem 4rem;
  margin-top: 4rem;
}

.footer__kicker { color: rgba(242, 242, 242, 0.72); }

.footer__title {
  font-size: 12.5vw;
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 5rem;
}

.footer__email {
  display: inline-block;
  font-size: clamp(2.2rem, 3.4vw, 4.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--grad-ember);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.3s var(--ease-out);
}

.footer__email:hover { opacity: 0.7; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 10rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(242, 242, 242, 0.18);
}

.footer__nav, .footer__socials {
  display: flex;
  gap: 2.8rem;
  font-size: 1.5rem;
}

.footer__nav a, .footer__socials a {
  display: inline-flex;
  align-items: center;
  min-height: 4.4rem;
  transition: opacity 0.3s var(--ease-out);
}

.footer__socials a { min-width: 2.4rem; justify-content: center; }

.footer__nav a:hover, .footer__socials a:hover { opacity: 0.5; }

.footer__legal {
  font-size: 1.3rem;
  color: rgba(242, 242, 242, 0.68);
}

@media (min-width: 1024px) {
  .footer { padding: 16rem 3rem 4rem; }
  .footer__title { font-size: 9.8vw; }
}

/* ============ Journal ============ */

.journal, .pubs {
  padding: 12rem 2rem;
}

.journal { padding-bottom: 6rem; }
.pubs { padding-top: 6rem; }

@media (min-width: 1024px) {
  .journal, .pubs { padding-left: 3rem; padding-right: 3rem; }
  .journal { padding-top: 16rem; }
  .pubs { padding-bottom: 16rem; }
}

.journal__kicker, .pubs__kicker {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 3.2rem;
}

.journal__title, .pubs__title {
  font-size: clamp(3.2rem, 5.4vw, 6.6rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.journal__list { margin-top: 7rem; display: flex; flex-direction: column; }

.journal__item {
  display: grid;
  gap: 1.2rem;
  padding: 4rem 0;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  transition: opacity 0.3s var(--ease-out);
}

.journal__item:hover { opacity: 0.5; }

.journal__item-meta {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.journal__item-title {
  font-size: clamp(2.4rem, 3.2vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  max-width: 26ch;
}

.journal__item-desc {
  font-size: 1.6rem;
  line-height: 1.5;
  max-width: 44rem;
}

.journal__item-arrow {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.journal__all {
  display: inline-block;
  margin-top: 4rem;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: opacity 0.3s var(--ease-out);
}

.journal__all:hover { opacity: 0.5; }

@media (min-width: 1024px) {
  .journal__item {
    grid-template-columns: 18rem 1.3fr 1fr 8rem;
    align-items: baseline;
    gap: 4rem;
  }
  .journal__item-arrow { text-align: right; }
}

/* ============ Publications ============ */

.pubs__list { list-style: none; margin-top: 7rem; }

.pubs__item a {
  display: grid;
  gap: 1rem;
  padding: 3.2rem 0;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  transition: opacity 0.3s var(--ease-out);
}

.pubs__item a:hover { opacity: 0.5; }

.pubs__outlet {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.pubs__name {
  font-size: clamp(2.2rem, 2.8vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pubs__arrow { font-size: 2rem; }

@media (min-width: 1024px) {
  .pubs__item a {
    grid-template-columns: 28rem 1fr 4rem;
    align-items: baseline;
    gap: 4rem;
  }
  .pubs__arrow { text-align: right; }
}

/* ============ FAQ ============ */

.faq {
  padding: 12rem 2rem;
}

@media (min-width: 1024px) {
  .faq { padding: 12rem 3rem 16rem; }
}

.faq__kicker {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 3.2rem;
}

.faq__title {
  font-size: clamp(3.2rem, 5.4vw, 6.6rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.faq__list { margin-top: 7rem; }

.faq__item {
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  padding: 4rem 0;
  display: grid;
  gap: 1.6rem;
}

.faq__q {
  font-size: clamp(2.2rem, 2.8vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 24ch;
}

.faq__a {
  font-size: 1.7rem;
  line-height: 1.55;
  max-width: 52rem;
}

@media (min-width: 1024px) {
  .faq__item {
    grid-template-columns: 1fr 1.2fr;
    gap: 6rem;
    align-items: baseline;
  }
}

/* ============ Newsletter ============ */

.newsletter {
  padding: 10rem 2rem 12rem;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
}

@media (min-width: 1024px) {
  .newsletter { padding: 12rem 3rem 14rem; }
}

.newsletter__kicker {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 3.2rem;
}

.newsletter__title {
  font-size: clamp(3.2rem, 5.4vw, 6.6rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.newsletter__desc {
  font-size: 1.9rem;
  line-height: 1.55;
  max-width: 52rem;
  margin-top: 3.2rem;
}

.newsletter__cta {
  margin-top: 4rem;
  font-size: 1.6rem;
  padding: 1.6rem 3.2rem;
}

.newsletter__cta .btn-pill__label--hover { inset: 1.6rem 3.2rem; }

/* ============ Blog post / article ============ */

.post {
  padding: 16rem 2rem 8rem;
}

@media (min-width: 1024px) {
  .post { padding: 20rem 3rem 10rem; }
}

.post__kicker {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 3.2rem;
}

.post__title {
  font-size: clamp(3.2rem, 5.4vw, 6.4rem);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.025em;
  max-width: 24ch;
  margin-bottom: 4rem;
}

.post__intro {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 64rem;
  margin-bottom: 8rem;
}

.post__body {
  max-width: 72rem;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.65;
}

.post__body p { margin-bottom: 2.4rem; }

.post__body h2 {
  font-size: clamp(2.4rem, 3vw, 3.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 6rem 0 2.4rem;
}

.post__body ul {
  margin: 0 0 2.4rem 2rem;
}

.post__body li { margin-bottom: 0.8rem; }

.post__body strong { font-weight: 600; }

.post__body em { font-style: italic; }

.post__body a {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 1px;
  transition: opacity 0.3s var(--ease-out);
}

.post__body a:hover { opacity: 0.5; }

.post__footer {
  max-width: 72rem;
  margin-top: 8rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(20, 20, 20, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.post__footer a { display: inline-flex; align-items: center; min-height: 4.4rem; transition: opacity 0.3s var(--ease-out); }
.post__footer a:hover { opacity: 0.5; }

/* ============ Blog index ============ */

.blog-index {
  padding: 16rem 2rem 8rem;
}

@media (min-width: 1024px) {
  .blog-index { padding: 20rem 3rem 12rem; }
}

/* ============ Small-phone tuning ============ */

@media (max-width: 599px) {
  /* tighten section rhythm so the page isn't a scroll marathon */
  .manifesto, .services, .process, .studio { padding: 7rem 2rem; }
  .statement { padding: 6rem 2rem; }
  .statement__title { line-height: 1.06; }
  .quotes { padding: 7rem 2rem; }
  .faq { padding: 7rem 2rem; }
  .journal { padding-top: 7rem; }
  .pubs { padding-bottom: 7rem; }
  .newsletter { padding: 6rem 2rem 7rem; }
  .footer { padding: 6rem 2rem 4rem; }
  .footer__bottom { margin-top: 5rem; }

  /* article + blog index: clear the ~5rem fixed header, not 160px */
  .post, .blog-index { padding: 9rem 2rem 6rem; }

  /* hero: keep the trailing ink square from clipping on narrow phones */
  .hero__title { margin: 3rem 0 3.5rem; }
  .hero__title-line--indent { padding-left: 5vw; }
  .hero__square { width: 7.6vw; height: 7.6vw; }
}

/* ============ Animation primitives ============ */

.anim-line-wrap { overflow: hidden; display: block; }

/* split lines created by JS */
.split-line { display: block; overflow: hidden; }
.split-line__inner { display: block; }

/* prefers-reduced-motion: show everything, kill movement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
