@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #080808;
  --surface: #101010;
  --surface-2: #161616;
  --text: #f3f1ec;
  --muted: #9a968e;
  --soft: #c8c4bc;
  --accent: #ff5b35;
  --line: rgba(255, 255, 255, .12);
  --line-soft: rgba(255, 255, 255, .07);
  --max: 1500px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 91, 53, .07), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

::selection {
  color: #080808;
  background: var(--accent);
}

img {
  max-width: 100%;
}

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

button {
  font: inherit;
}

.container {
  width: min(calc(100% - 5rem), var(--max));
  margin-inline: auto;
}

/* =========================================================
   TYPE
   ========================================================= */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -.055em;
  font-weight: 600;
}

h2 {
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  line-height: .88;
  margin-bottom: 2rem;
}

h3 {
  line-height: .9;
}

p {
  color: var(--soft);
}

.accent,
.orange {
  color: var(--accent);
}

.eyebrow {
  color: #a8a49c;
  font: 500 .7rem/1.2 "DM Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* =========================================================
   NAVIGATION
   ========================================================= */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  padding: 1.35rem 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, .75),
    transparent
  );
  transition:
    background .4s ease,
    backdrop-filter .4s ease,
    border-color .4s ease;
}

.nav.scrolled {
  background: rgba(8, 8, 8, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
}

.logo img {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  position: relative;
  color: #d6d3cd;
  font-size: .78rem;
  font-weight: 600;
  transition: color .3s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.45rem;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}

.nav-links a:not(.nav-cta):hover {
  color: #fff;
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: .8rem 1.05rem;
  border: 1px solid var(--line);
  transition:
    background .3s ease,
    color .3s ease,
    border-color .3s ease;
}

.nav-cta:hover {
  color: #080808 !important;
  background: var(--text);
  border-color: var(--text);
}

.menu {
  display: none;
  position: relative;
  z-index: 600;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  min-height: 94vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 10rem 0 5.5rem;
}

/* Hero background image */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      90deg,
      rgba(8, 8, 8, .96) 0%,
      rgba(8, 8, 8, .82) 38%,
      rgba(8, 8, 8, .42) 68%,
      rgba(8, 8, 8, .70) 100%
    ),
    linear-gradient(
      180deg,
      rgba(8, 8, 8, .25) 0%,
      rgba(8, 8, 8, .05) 45%,
      rgba(8, 8, 8, .72) 100%
    ),
    url("../images/hero-background.jpg") center center / cover no-repeat;

  filter: saturate(.82);
  transform: scale(1.015);
  pointer-events: none;
}

/* Accent glow */
.hero::after {
  content: "";
  position: absolute;
  width: min(55vw, 800px);
  aspect-ratio: 1;
  right: -18vw;
  top: -28vw;
  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(255, 91, 53, .16),
      transparent 67%
    );

  z-index: -1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(240px, .7fr);

  align-items: end;
  gap: 5vw;
  width: 100%;
}

.hero h1 {
  margin: 0;
  max-width: 1200px;
  font-size: clamp(4.8rem, 10.5vw, 11rem);
  line-height: .79;
  letter-spacing: -.085em;
  font-weight: 600;
}

.hero h1 .accent {
  display: inline-block;
  margin-left: clamp(1rem, 8vw, 8rem);
}

.hero-copy {
  max-width: 440px;
  padding-bottom: .5rem;
  color: #cbc7bf;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.5;
}

.scroll-note {
  margin-top: 5rem;
  color: #77736d;
  font: 500 .68rem/1 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* =========================================================
   MARQUEE
   ========================================================= */

.marquee {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1.2rem 0;
  animation: marquee 28s linear infinite;
}

.marquee span {
  color: #c8c4bc;
  font: 500 .72rem/1 "DM Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee b {
  margin-left: 3rem;
  color: var(--accent);
  font-weight: 400;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* =========================================================
   GENERAL SECTIONS
   ========================================================= */

section {
  position: relative;
}

/* =========================================================
   ABOUT
   ========================================================= */

#about {
  padding: 0;
}

.intro {
  display: grid;
  grid-template-columns: 20% 1fr;
  gap: 5vw;
  padding: 12rem 0;
  border-bottom: 1px solid var(--line);
}

.intro h2 {
  max-width: 1000px;
  margin-bottom: 2.5rem;
}

.intro p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  line-height: 1.7;
}

/* =========================================================
   SERVICES
   ========================================================= */

#services {
  padding: 9rem 0 11rem;
}

.services-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 5rem;
}

.services-head h2 {
  margin-bottom: 0;
}

.services {
  border-top: 1px solid var(--line);
}

.service {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(220px, .4fr);
  align-items: center;
  gap: 2rem;
  padding: 2.3rem 0;
  border-bottom: 1px solid var(--line);

  transition:
    padding .45s var(--ease),
    background .45s ease;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease);
}

.service:hover {
  padding-inline: 2rem;
}

.service:hover::before {
  transform: scaleY(1);
}

.service .num,
.step .num {
  align-self: start;
  color: #6e6a64;
  font: 500 .7rem/1.2 "DM Mono", monospace;
}

.service h3 {
  margin: 0 0 .7rem;
  font-size: clamp(2rem, 4vw, 4.5rem);
}

.service p {
  max-width: 620px;
  margin: 0;
}

.service-tags {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .45rem;
}

.tag {
  padding: .45rem .65rem;
  border: 1px solid var(--line);
  color: #99958d;
  font-size: .62rem;
}

/* =========================================================
   FEATURED CASE
   ========================================================= */

.featured-case {
  padding: 0 0 11rem;
}

.featured-head,
.work-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
}

.featured-head h2,
.work-head h2 {
  margin: .75rem 0 0;
}

.featured-link {
  padding-bottom: .5rem;
  color: #c7c3bc;
  border-bottom: 1px solid var(--line);
  font: 500 .7rem/1 "DM Mono", monospace;
  text-transform: uppercase;

  transition:
    color .3s ease,
    border-color .3s ease;
}

.featured-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.featured-card {
  min-height: 78vh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  background: #141414;
}

.featured-image {
  position: absolute;
  inset: 0;
  z-index: -2;

  background-size: cover;
  background-position: center;

  transform: scale(1.015);

  transition:
    transform 1.1s var(--ease),
    filter .7s ease;
}

.featured-card:hover .featured-image {
  transform: scale(1.07);
  filter: saturate(1.08);
}

.featured-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, .02) 15%,
      rgba(0, 0, 0, .2) 42%,
      rgba(0, 0, 0, .9) 100%
    );
}

.featured-content {
  width: 100%;
  padding: clamp(2rem, 5vw, 5.5rem);
}

.featured-content h3 {
  max-width: 900px;
  margin: .8rem 0 1.5rem;

  font-size: clamp(4.2rem, 9vw, 10rem);
  line-height: .78;
  letter-spacing: -.075em;
}

.featured-content p {
  max-width: 600px;
  margin-bottom: 2rem;
  color: #ddd9d1;
}

.featured-meta,
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  color: #ddd9d1;

  font: 500 .65rem/1.2 "DM Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* =========================================================
   WORK
   ========================================================= */

#work {
  padding: 0 0 11rem;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  grid-template-rows: repeat(2, minmax(330px, 1fr));
  gap: 1rem;
}

.project {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
  background: var(--surface);
}

.project.tall {
  grid-row: span 2;
  min-height: 850px;
}

.project-art {
  position: absolute;
  inset: 0;
  z-index: -2;

  background-size: cover;
  background-position: center;

  transform: scale(1.01);

  transition:
    transform .9s var(--ease),
    filter .7s ease;
}

.project:hover .project-art {
  transform: scale(1.07);
  filter: saturate(1.08);
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background:
    linear-gradient(
      180deg,
      transparent 25%,
      rgba(0, 0, 0, .86) 100%
    );
}

.project-content {
  position: absolute;
  inset: auto 0 0;
  padding: clamp(1.5rem, 3vw, 3rem);
}

.project-meta {
  justify-content: space-between;
  margin-bottom: 4rem;
}

.project h3 {
  margin: 0 0 .7rem;
  font-size: clamp(3rem, 6vw, 6.5rem);
  line-height: .78;
}

.project small {
  color: #d0ccc5;
  font: 500 .65rem/1.2 "DM Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.arrow {
  position: absolute;
  right: clamp(1.5rem, 3vw, 3rem);
  bottom: clamp(1.5rem, 3vw, 3rem);
  font-size: 2rem;

  transition:
    transform .4s var(--ease),
    color .3s ease;
}

.project:hover .arrow {
  color: var(--accent);
  transform: translate(5px, -5px);
}

/* =========================================================
   PROCESS / DISCOVERY
   ========================================================= */

#process {
  position: relative;
  padding: 10rem 0 11rem;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.process {
  display: grid;
  grid-template-columns: minmax(260px, .65fr) minmax(0, 1.35fr);
  gap: clamp(4rem, 9vw, 10rem);
  align-items: start;
}

.process-intro {
  position: sticky;
  top: 8rem;
}

.process-intro .eyebrow {
  display: block;
  margin-bottom: 1rem;
}

.process h2 {
  max-width: 520px;
  margin: .5rem 0 0;
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: .82;
}

/* Process list */

.steps {
  width: 100%;
  border-top: 1px solid var(--line);
}

.step {
  position: relative;

  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);

  column-gap: 1.5rem;

  padding: 3rem 0;

  border-bottom: 1px solid var(--line);

  transition:
    padding .45s var(--ease),
    background .45s ease;
}

.step::before {
  content: "";

  position: absolute;
  inset: 0;

  background: var(--surface);

  transform: scaleY(0);
  transform-origin: bottom;

  transition: transform .45s var(--ease);

  z-index: -1;
}

.step:hover {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.step:hover::before {
  transform: scaleY(1);
}

/* Numbers */

.step .num {
  display: block;

  padding-top: .25rem;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .7rem;
  font-weight: 500;
  line-height: 1;

  letter-spacing: .08em;
}

/* Process title */

.step h3 {
  margin: 0 0 1rem;

  color: var(--text);

  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 5rem);
  font-weight: 600;
  line-height: .85;

  letter-spacing: -.065em;

  transition: color .3s ease;
}

.step:hover h3 {
  color: var(--accent);
}

/* Process description */

.step p {
  max-width: 650px;

  margin: 0;

  color: var(--muted);

  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  line-height: 1.65;
}

/* =========================================================
   DISCOVER EMPHASIS
   ========================================================= */

.step:first-child {
  padding-top: 3.5rem;
}

.step:first-child h3 {
  font-size: clamp(3rem, 5vw, 5.5rem);
}

.step:first-child .num {
  color: var(--accent);
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  #process {
    padding: 8rem 0;
  }

  .process {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .process-intro {
    position: static;
  }

  .process h2 {
    max-width: 700px;
  }

  .step {
    grid-template-columns: 55px minmax(0, 1fr);
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  #process {
    padding: 6rem 0;
  }

  .process {
    display: block;
  }

  .process-intro {
    margin-bottom: 3rem;
  }

  .process h2 {
    font-size: clamp(3.8rem, 17vw, 6rem);
  }

  .step,
  .step:first-child {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: .8rem;

    padding: 2.2rem 0;
  }

  .step:hover {
    padding-left: .8rem;
    padding-right: .8rem;
  }

  .step .num {
    padding-top: .2rem;
    font-size: .62rem;
  }

  .step h3,
  .step:first-child h3 {
    font-size: clamp(2.5rem, 12vw, 4rem);
    line-height: .85;
  }

  .step p {
    font-size: .88rem;
    line-height: 1.6;
  }
}
/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  padding: 12rem 0;

  background:
    radial-gradient(
      circle at 80% 50%,
      rgba(255, 91, 53, .1),
      transparent 32rem
    ),
    #0b0b0b;

  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 8vw;
  align-items: end;
}

.contact h2 {
  max-width: 900px;
  margin: .8rem 0 3rem;
  font-size: clamp(4rem, 9vw, 10rem);
}

.contact-link {
  display: inline-block;
  color: #f5f2eb;
  border-bottom: 1px solid var(--accent);
  padding-bottom: .35rem;

  font: 500 clamp(1rem, 1.7vw, 1.5rem)/1.2 "DM Mono", monospace;

  transition: color .3s ease;
}

.contact-link:hover {
  color: var(--accent);
}

.contact-copy {
  max-width: 460px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

/* =========================================================
   CASE STUDIES
   ========================================================= */

.case-view {
  position: fixed;
  inset: 0;
  z-index: 1000;

  overflow-y: auto;

  background: var(--bg);

  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);

  transition:
    opacity .45s ease,
    transform .65s var(--ease),
    visibility .45s;
}

.case-view.active,
.case-view[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.case-topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1.3rem 2.5rem;

  border-bottom: 1px solid rgba(255,255,255,.08);

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.55),
      transparent
    );
}

.case-back,
.case-close {
  border: 0;
  background: transparent;
  color: #ddd9d1;
  cursor: pointer;

  transition: color .25s ease;
}

.case-back {
  font: 500 .68rem/1 "DM Mono", monospace;
  text-transform: uppercase;
}

.case-back:hover,
.case-close:hover {
  color: var(--accent);
}

.case-close {
  font-size: 2rem;
  line-height: 1;
}

.case-index {
  color: #a7a39b;
  font: 500 .65rem/1 "DM Mono", monospace;
  text-transform: uppercase;
}

.case-hero {
  min-height: 92vh;

  display: flex;
  align-items: flex-end;

  padding: 7rem 5vw 6rem;

  background-size: cover;
  background-position: center;
}

.case-hero-inner {
  max-width: 1050px;
}

.case-title {
  margin: .9rem 0 2rem;

  font-size: clamp(5rem, 11vw, 11rem);
  line-height: .76;
  letter-spacing: -.08em;
}

.case-lead {
  max-width: 680px;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 3rem;
}

.case-meta div {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.case-meta label {
  color: #7c7871;
  font: 500 .62rem/1 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.case-meta strong {
  color: #e4e0d8;
  font-size: .85rem;
}

.case-body {
  width: min(calc(100% - 5rem), 1200px);
  margin-inline: auto;
}

.case-story {
  display: grid;
  grid-template-columns: 20% 1fr;
  gap: 5vw;
  padding: 9rem 0;
}

.case-story h2 {
  font-size: clamp(3rem, 6vw, 6rem);
}

.case-story p {
  max-width: 720px;
  font-size: 1.05rem;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 5rem;
}

.case-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  background: #111;
}

.case-gallery .wide {
  grid-column: 1 / -1;
}

.case-footer {
  padding: 6rem 0 10rem;
  border-top: 1px solid var(--line);
}

.case-next-link {
  position: relative;
  display: block;
  padding: 2rem 0;
}

.case-next-project {
  display: block;
  margin-bottom: .8rem;

  color: #89857e;

  font: 500 .65rem/1 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.case-next-title {
  display: block;
  max-width: 900px;

  font: 600 clamp(3.5rem, 8vw, 8rem)/.8
    "Space Grotesk", sans-serif;

  letter-spacing: -.07em;

  transition: color .3s ease;
}

.case-next-link:hover .case-next-title {
  color: var(--accent);
}

.case-next-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  font-size: 3rem;

  transition: transform .4s var(--ease);
}

.case-next-link:hover .case-next-arrow {
  transform: translate(8px, -8px);
}

/* =========================================================
   FOOTER
   ========================================================= */

footer.container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;

  padding: 2rem 0 2.5rem;

  color: #77736d;

  font: 500 .62rem/1.4 "DM Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .container {
    width: min(calc(100% - 3rem), var(--max));
  }

  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 600px;
  }

  .scroll-note {
    margin-top: 2rem;
  }

  .intro,
  .process,
  .case-story {
    grid-template-columns: 1fr;
  }

  .intro,
  .case-story {
    gap: 2.5rem;
  }

  .process {
    gap: 4rem;
  }

  .service {
    grid-template-columns: 50px 1fr;
  }

  .service-tags {
    grid-column: 2;
    justify-content: flex-start;
  }

  .work-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .project.tall {
    min-height: 650px;
  }

  .project:not(.tall) {
    min-height: 320px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .container {
    width: min(calc(100% - 2rem), var(--max));
  }

  /* Navigation */

  .nav {
    padding: 1rem 0;
  }

  .logo img {
    height: 29px;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    z-index: -1;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 1.3rem;

    padding: 6rem 2rem 3rem;

    background: rgba(8,8,8,.97);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);

    transition:
      opacity .35s ease,
      transform .45s var(--ease),
      visibility .35s;
  }

  .nav-links.open,
  .nav-links.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 2.2rem;
    letter-spacing: -.04em;
  }

  .nav-cta {
    margin-top: 1rem;
    font-size: .75rem !important;
  }

  .menu {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 0;
  }

  .menu span {
    font: 500 .65rem/1 "DM Mono", monospace;
    text-transform: uppercase;
  }

  .menu i {
    color: var(--accent);
    font-style: normal;
    font-size: 1.4rem;
    line-height: .8;

    transition: transform .35s ease;
  }

  .menu.active i,
  .menu[aria-expanded="true"] i {
    transform: rotate(45deg);
  }

  /* Hero */

  .hero {
    min-height: 88vh;
    padding: 8rem 0 3rem;
  }

  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(8,8,8,.72) 0%,
        rgba(8,8,8,.48) 42%,
        rgba(8,8,8,.92) 100%
      ),
      url("../images/kidosho-lifestyle.jpg")
        62% center / cover no-repeat;
  }

  .hero h1 {
    font-size: clamp(4rem, 17vw, 7rem);
    line-height: .78;
  }

  .hero h1 .accent {
    margin-left: 0;
  }

  .hero-copy {
    font-size: .95rem;
    margin-top: 2.5rem;
  }

  .scroll-note {
    margin-top: 3rem;
  }

  /* Marquee */

  .marquee-track {
    gap: 2rem;
    padding: 1rem 0;
  }

  .marquee b {
    margin-left: 2rem;
  }

  /* About */

  .intro {
    padding: 7rem 0;
  }

  /* Services */

  #services,
  #work,
  .featured-case {
    padding-bottom: 7rem;
  }

  #services {
    padding-top: 7rem;
  }

  .services-head,
  .featured-head,
  .work-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 2.5rem;
  }

  .services-head .eyebrow:last-child,
  .work-head .eyebrow:last-child {
    display: none;
  }

  .service {
    grid-template-columns: 35px 1fr;
    gap: 1rem;
    padding: 1.7rem 0;
  }

  .service:hover {
    padding-inline: 1rem;
  }

  .service h3 {
    font-size: 2rem;
  }

  .service p {
    font-size: .9rem;
  }

  .service-tags {
    grid-column: 2;
  }

  /* Featured */

  .featured-card {
    min-height: 72vh;
  }

  .featured-content {
    padding: 1.5rem;
  }

  .featured-content h3 {
    font-size: clamp(4rem, 17vw, 7rem);
  }

  .featured-content p {
    font-size: .85rem;
  }

  /* Work */

  .work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .project.tall,
  .project:not(.tall) {
    min-height: 70vh;
    grid-row: auto;
  }

  .project-content {
    padding: 1.5rem;
  }

  .project-meta {
    margin-bottom: 3rem;
  }

  .project h3 {
    font-size: clamp(3.4rem, 15vw, 6rem);
  }

  /* Process */

  #process {
    padding: 7rem 0;
  }

  .process {
    gap: 3rem;
  }

  .step {
    grid-template-columns: 35px 1fr;
    gap: .8rem;
  }

  .step p {
    font-size: .9rem;
  }

  /* Contact */

  .contact {
    padding: 8rem 0;
  }

  .contact h2 {
    font-size: clamp(4rem, 17vw, 7rem);
  }

  .contact-copy {
    font-size: .9rem;
  }

  /* Case studies */

  .case-topbar {
    padding: 1rem;
  }

  .case-index {
    display: none;
  }

  .case-hero {
    min-height: 88vh;
    padding: 6rem 1rem 3rem;
  }

  .case-title {
    font-size: clamp(4.5rem, 18vw, 8rem);
  }

  .case-lead {
    font-size: .95rem;
  }

  .case-meta {
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .case-body {
    width: min(calc(100% - 2rem), 1200px);
  }

  .case-story {
    padding: 6rem 0;
  }

  .case-gallery {
    grid-template-columns: 1fr;
    margin-top: 3rem;
  }

  .case-gallery .wide {
    grid-column: auto;
  }

  .case-gallery img {
    min-height: 220px;
  }

  .case-footer {
    padding-bottom: 6rem;
  }

  .case-next-title {
    font-size: clamp(3rem, 14vw, 6rem);
  }

  .case-next-arrow {
    right: 0;
    font-size: 2rem;
  }

  /* Footer */

  footer.container {
    flex-direction: column;
    gap: .7rem;
    padding-bottom: 1.5rem;
  }
}

/* =========================================================
   CASE STUDY HERO SLIDER
   Axis Media Solutions
   ========================================================= */

.hero-slider {
  position: relative;
  min-height: 100svh;
  height: 100svh;

  padding: 0 !important;

  overflow: hidden;
  isolation: isolate;

  background: #080808;
}


/* ---------------------------------------------------------
   TRACK
   --------------------------------------------------------- */

.hero-slider-track {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
}


/* ---------------------------------------------------------
   SLIDE
   --------------------------------------------------------- */

.hero-slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  visibility: hidden;

  transform: scale(1.025);

  transition:
    opacity .8s ease,
    visibility .8s ease,
    transform 1.4s cubic-bezier(.2,.7,.2,1);

  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;

  transform: scale(1);

  pointer-events: auto;
}


/* ---------------------------------------------------------
   IMAGE
   --------------------------------------------------------- */

.hero-slide-image {
  position: absolute;
  inset: 0;

  overflow: hidden;

  z-index: -3;
}

.hero-slide-image img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;

  transform: scale(1.08);

  transition:
    opacity .8s ease,
    transform 1.6s cubic-bezier(.2,.7,.2,1);
}

.hero-slide.active .hero-slide-image img {
  opacity: 1;

  transform: scale(1);
}


/* ---------------------------------------------------------
   CINEMATIC OVERLAY
   --------------------------------------------------------- */

.hero-slide-overlay {
  position: absolute;
  inset: 0;

  z-index: -2;

  background:
    linear-gradient(
      90deg,
      rgba(5,5,5,.97) 0%,
      rgba(5,5,5,.86) 27%,
      rgba(5,5,5,.48) 55%,
      rgba(5,5,5,.12) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5,5,5,.25) 0%,
      transparent 45%,
      rgba(5,5,5,.82) 100%
    );
}


/* ---------------------------------------------------------
   CONTENT
   --------------------------------------------------------- */

.hero-slide-inner {
  position: relative;

  height: 100%;

  display: flex;
  align-items: flex-end;

  padding-top: 8rem;
  padding-bottom: 7rem;
}

.hero-slide-copy {
  width: min(720px, 60vw);
}


/* ---------------------------------------------------------
   KICKER
   --------------------------------------------------------- */

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;

  margin-bottom: 1.5rem;

  color: rgba(255,255,255,.6);

  font:
    500 .65rem/1
    "DM Mono",
    monospace;

  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-kicker span:first-child {
  color: var(--accent);
}


/* ---------------------------------------------------------
   CLIENT
   --------------------------------------------------------- */

.hero-client {
  margin-bottom: 1rem;

  color: #fff;

  font:
    500 .75rem/1
    "DM Mono",
    monospace;

  letter-spacing: .1em;
  text-transform: uppercase;
}


/* ---------------------------------------------------------
   MASSIVE TYPOGRAPHY
   --------------------------------------------------------- */

.hero-slide h1 {
  max-width: 1000px;

  margin: 0 0 2rem;

  color: #f4f1eb;

  font-family: "Space Grotesk", sans-serif;

  font-size:
    clamp(
      5rem,
      11vw,
      11rem
    );

  font-weight: 600;

  line-height: .76;

  letter-spacing: -.085em;
}

.hero-slide h1 span {
  color: var(--accent);
}


/* ---------------------------------------------------------
   DESCRIPTION
   --------------------------------------------------------- */

.hero-description {
  max-width: 560px;

  margin: 0 0 2rem;

  color: rgba(255,255,255,.72);

  font-size:
    clamp(
      .9rem,
      1.25vw,
      1.1rem
    );

  line-height: 1.55;
}


/* ---------------------------------------------------------
   RESULT
   --------------------------------------------------------- */

.hero-result {
  display: grid;

  grid-template-columns:
    75px
    minmax(180px, 300px)
    auto;

  align-items: center;

  gap: 1rem;

  max-width: 700px;

  margin-bottom: 2rem;

  padding-top: 1.2rem;

  border-top: 1px solid rgba(255,255,255,.18);
}

.hero-result-label {
  color: var(--accent);

  font:
    500 .6rem/1
    "DM Mono",
    monospace;

  letter-spacing: .08em;

  text-transform: uppercase;
}

.hero-result strong {
  color: #eeeae3;

  font:
    500 .85rem/1.2
    "Manrope",
    sans-serif;
}

.hero-result small {
  color: rgba(255,255,255,.45);

  font:
    500 .58rem/1.2
    "DM Mono",
    monospace;

  text-transform: uppercase;
}


/* ---------------------------------------------------------
   CASE STUDY LINK
   --------------------------------------------------------- */

.hero-case-link {
  display: inline-flex;

  align-items: center;

  gap: .8rem;

  color: #fff;

  font:
    500 .68rem/1
    "DM Mono",
    monospace;

  letter-spacing: .08em;

  text-transform: uppercase;

  border-bottom: 1px solid rgba(255,255,255,.35);

  padding-bottom: .6rem;

  transition:
    color .3s ease,
    border-color .3s ease,
    gap .35s ease;
}

.hero-case-link:hover {
  color: var(--accent);

  border-color: var(--accent);

  gap: 1.3rem;
}


/* ---------------------------------------------------------
   SLIDER NAV
   --------------------------------------------------------- */

.hero-slider-nav {
  position: absolute;

  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(2rem, 5vw, 4rem);

  z-index: 20;

  display: flex;
  align-items: center;

  gap: 1rem;
}


/* arrows */

.hero-arrow {
  display: grid;

  width: 42px;
  height: 42px;

  place-items: center;

  padding: 0;

  border: 1px solid rgba(255,255,255,.25);

  background: rgba(0,0,0,.2);

  color: #fff;

  cursor: pointer;

  font-size: 1rem;

  transition:
    background .3s ease,
    border-color .3s ease,
    color .3s ease;
}

.hero-arrow:hover {
  background: #fff;

  border-color: #fff;

  color: #080808;
}


/* dots */

.hero-dots {
  display: flex;

  align-items: center;

  gap: .4rem;
}

.hero-dot {
  position: relative;

  width: 36px;
  height: 36px;

  padding: 0;

  border: 0;

  background: transparent;

  color: rgba(255,255,255,.35);

  cursor: pointer;

  font:
    500 .6rem/1
    "DM Mono",
    monospace;

  transition:
    color .3s ease;
}

.hero-dot::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 0;

  width: 0;
  height: 1px;

  background: var(--accent);

  transform: translateX(-50%);

  transition: width .4s ease;
}

.hero-dot.active {
  color: #fff;
}

.hero-dot.active::after {
  width: 24px;
}


/* ---------------------------------------------------------
   PROGRESS
   --------------------------------------------------------- */

.hero-progress {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 0;

  z-index: 30;

  height: 2px;

  background: rgba(255,255,255,.1);
}

.hero-progress span {
  display: block;

  width: 33.333%;

  height: 100%;

  background: var(--accent);

  transform-origin: left;

  transition: width .2s linear;
}


/* ---------------------------------------------------------
   SLIDE TEXT ANIMATION
   --------------------------------------------------------- */

.hero-slide-copy > * {
  opacity: 0;

  transform: translateY(35px);

  transition:
    opacity .65s ease,
    transform .75s cubic-bezier(.2,.7,.2,1);
}

.hero-slide.active .hero-slide-copy > * {
  opacity: 1;

  transform: translateY(0);
}

.hero-slide.active .hero-kicker {
  transition-delay: .1s;
}

.hero-slide.active .hero-client {
  transition-delay: .16s;
}

.hero-slide.active h1 {
  transition-delay: .22s;
}

.hero-slide.active .hero-description {
  transition-delay: .3s;
}

.hero-slide.active .hero-result {
  transition-delay: .38s;
}

.hero-slide.active .hero-case-link {
  transition-delay: .46s;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .hero-slide-copy {
    width: min(700px, 80vw);
  }

  .hero-slide h1 {
    font-size: clamp(4.5rem, 13vw, 8rem);
  }

  .hero-result {
    grid-template-columns: 70px 1fr;
  }

  .hero-result small {
    grid-column: 2;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .hero-slider {
    min-height: 100svh;
    height: 100svh;
  }

  .hero-slide-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(5,5,5,.38) 0%,
        rgba(5,5,5,.55) 42%,
        rgba(5,5,5,.96) 100%
      );
  }

  .hero-slide-image img {
    object-position: center;
  }

  .hero-slide-inner {
    padding-top: 7rem;
    padding-bottom: 8rem;
  }

  .hero-slide-copy {
    width: 100%;
  }

  .hero-slide h1 {
    margin-bottom: 1.5rem;

    font-size:
      clamp(
        4rem,
        17vw,
        6.8rem
      );
  }

  .hero-description {
    max-width: 90%;

    font-size: .86rem;
  }

  .hero-result {
    grid-template-columns: 55px 1fr;

    gap: .6rem;

    margin-bottom: 1.5rem;

    padding-top: 1rem;
  }

  .hero-result strong {
    font-size: .75rem;
  }

  .hero-result small {
    grid-column: 2;

    font-size: .53rem;
  }

  .hero-slider-nav {
    right: 1rem;
    bottom: 3rem;

    gap: .35rem;
  }

  .hero-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-dot {
    width: 28px;
    height: 28px;
  }

  .hero-dot.active::after {
    width: 18px;
  }
}
/* =========================================================
   PROCESS ACCORDION
   ========================================================= */

.process-section {
  position: relative;
  padding: 10rem 0 12rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
}


/* HEADER */

.process-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-bottom: 6rem;
}

.process-header h2 {
  margin: .75rem 0 0;
  max-width: 650px;

  font-size: clamp(4rem, 8vw, 8rem);
  line-height: .8;
  letter-spacing: -.075em;
}

.process-intro {
  align-self: end;
  max-width: 430px;
  margin: 0;

  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}


/* ACCORDION */

.process-accordion {
  border-top: 1px solid var(--line);
}

.process-item {
  position: relative;
  border-bottom: 1px solid var(--line);
}


/* TRIGGER */

.process-trigger {
  position: relative;

  display: grid;
  grid-template-columns: 70px 60px 1fr 50px;
  align-items: center;

  width: 100%;
  min-height: 125px;

  padding: 1.5rem 0;

  border: 0;
  background: transparent;

  color: var(--text);

  text-align: left;
  cursor: pointer;
}


/* NUMBER */

.process-number {
  align-self: start;

  padding-top: .5rem;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .7rem;
  letter-spacing: .08em;

  transition: color .4s ease;
}

.process-item.active .process-number {
  color: var(--accent);
}


/* ICON */

.process-icon {
  display: grid;

  width: 44px;
  height: 44px;

  place-items: center;

  border: 1px solid var(--line);
  border-radius: 50%;

  transition:
    background .45s ease,
    border-color .45s ease,
    transform .6s cubic-bezier(.2,.8,.2,1);
}

.process-icon svg {
  width: 19px;
  height: 19px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;

  transition:
    transform .6s cubic-bezier(.2,.8,.2,1);
}

.process-item.active .process-icon {
  background: var(--accent);
  border-color: var(--accent);

  color: #080808;

  transform: rotate(-8deg);
}

.process-item.active .process-icon svg {
  transform: rotate(8deg) scale(1.08);
}


/* TITLE */

.process-title {
  font-family: "Space Grotesk", sans-serif;

  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 600;

  line-height: .85;
  letter-spacing: -.07em;

  transition:
    color .4s ease,
    transform .6s cubic-bezier(.2,.8,.2,1);
}

.process-item.active .process-title {
  color: var(--accent);
  transform: translateX(.4rem);
}


/* PLUS */

.process-plus {
  justify-self: end;

  font-size: 2rem;
  font-weight: 300;

  transition:
    transform .5s cubic-bezier(.2,.8,.2,1),
    color .3s ease;
}

.process-item.active .process-plus {
  color: var(--accent);
  transform: rotate(45deg);
}


/* PANEL */

.process-panel {
  display: grid;

  grid-template-rows: 0fr;

  overflow: hidden;

  transition:
    grid-template-rows .8s cubic-bezier(.2,.8,.2,1);
}

.process-item.active .process-panel {
  grid-template-rows: 1fr;
}

.process-panel-inner {
  min-height: 0;
  overflow: hidden;

  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(3rem, 7vw, 8rem);

  padding:
    0
    70px
    0
    130px;

  opacity: 0;
  transform: translateY(-25px);

  transition:
    opacity .5s ease .15s,
    transform .7s cubic-bezier(.2,.8,.2,1) .1s,
    padding .7s ease;
}

.process-item.active .process-panel-inner {
  padding-top: 1rem;
  padding-bottom: 5rem;

  opacity: 1;
  transform: translateY(0);
}


/* STATEMENT */

.process-statement {
  padding-top: 2rem;
}

.process-statement > span {
  display: block;

  margin-bottom: 1.2rem;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .62rem;
  letter-spacing: .1em;
}

.process-statement h3 {
  max-width: 500px;

  margin: 0 0 1.5rem;

  font-size: clamp(2rem, 3.5vw, 3.7rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.process-statement p {
  max-width: 470px;

  margin: 0;

  color: var(--muted);

  font-size: .95rem;
  line-height: 1.7;
}


/* =========================================================
   INFOGRAPHIC
   ========================================================= */

.process-infographic {
  align-self: center;

  padding-top: 2rem;
}


/* FLOW */

.process-flow {
  display: flex;
  align-items: center;

  width: 100%;
}


/* FLOW ITEM */

.flow-item {
  position: relative;

  flex: 1;

  display: flex;
  flex-direction: column;

  gap: .55rem;
}

.flow-icon {
  display: grid;

  width: 34px;
  height: 34px;

  place-items: center;

  border: 1px solid var(--line);
  border-radius: 50%;

  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;

  background: var(--bg);

  transition:
    transform .5s cubic-bezier(.2,.8,.2,1),
    background .4s ease,
    border-color .4s ease;
}

.process-item.active .flow-item:hover .flow-icon {
  transform: scale(1.15) rotate(-8deg);

  background: var(--accent);
  border-color: var(--accent);

  color: #080808;
}

.flow-item strong {
  font-size: .78rem;
  font-weight: 600;
}

.flow-item small {
  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  line-height: 1.3;
}


/* FLOW LINE */

.flow-line {
  flex: 1;

  height: 1px;

  margin: 0 .5rem;

  background: var(--line);

  transform-origin: left;

  animation: processLine .8s ease both;
}

.process-item.active .flow-line {
  animation:
    processLine .8s cubic-bezier(.2,.8,.2,1) both;
}

.process-item.active .flow-item:nth-child(1) {
  animation: processReveal .45s ease .15s both;
}

.process-item.active .flow-item:nth-child(3) {
  animation: processReveal .45s ease .3s both;
}

.process-item.active .flow-item:nth-child(5) {
  animation: processReveal .45s ease .45s both;
}

.process-item.active .flow-item:nth-child(7) {
  animation: processReveal .45s ease .6s both;
}

@keyframes processReveal {
  from {
    opacity: 0;
    transform: translateY(15px) scale(.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes processLine {
  from {
    opacity: 0;
    transform: scaleX(0);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}


/* OUTPUT */

.process-output {
  display: grid;

  grid-template-columns: 80px 1fr;
  gap: .5rem 1rem;

  margin-top: 3rem;

  padding-top: 1.2rem;

  border-top: 1px solid var(--line);
}

.output-label {
  color: var(--accent);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
  letter-spacing: .08em;
}

.process-output strong {
  font-size: .9rem;
}

.process-output span:last-child {
  grid-column: 2;

  color: var(--muted);

  font-family: "DM Mono", monospace;
  font-size: .55rem;
}


/* =========================================================
   HOVER
   ========================================================= */

.process-trigger::before {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  background: var(--surface);

  transform: scaleY(0);
  transform-origin: bottom;

  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}

.process-trigger:hover::before {
  transform: scaleY(1);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

  .process-section {
    padding: 6rem 0 8rem;
  }

  .process-header {
    display: block;

    margin-bottom: 4rem;
  }

  .process-header h2 {
    font-size: clamp(3.5rem, 16vw, 6rem);
  }

  .process-intro {
    margin-top: 2rem;
  }

  .process-trigger {
    grid-template-columns: 35px 45px 1fr 30px;

    min-height: 95px;

    gap: .5rem;
  }

  .process-icon {
    width: 36px;
    height: 36px;
  }

  .process-title {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
  }

  .process-panel-inner {
    display: block;

    padding-left: 0;
    padding-right: 0;
  }

  .process-item.active .process-panel-inner {
    padding-bottom: 3.5rem;
  }

  .process-statement {
    padding-top: 1rem;
  }

  .process-statement h3 {
    font-size: 2.3rem;
  }

  .process-infographic {
    margin-top: 3rem;
  }

  .process-flow {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1.8rem 1rem;
  }

  .flow-line {
    display: none;
  }

  .flow-item {
    padding-bottom: 1rem;

    border-bottom: 1px solid var(--line);
  }

  .process-output {
    margin-top: 2rem;
  }
}


.studio-meta {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 1px;

  margin-top: 4rem;

  border-top: 1px solid rgba(17,17,15,.18);
  border-bottom: 1px solid rgba(17,17,15,.18);
}

.studio-meta-item {
  padding: 1.5rem 0;
}

.studio-meta-item + .studio-meta-item {
  padding-left: 2rem;

  border-left: 1px solid rgba(17,17,15,.18);
}

.studio-meta-label {
  display: block;

  margin-bottom: .7rem;

  color: #77736b;

  font-family: "DM Mono", monospace;

  font-size: .58rem;

  letter-spacing: .1em;

  text-transform: uppercase;
}

.studio-meta-value {
  display: block;

  color: #11110f;

  font-size: .9rem;

  font-weight: 600;
}


/* ---------------------------------------------------------
   STUDIO LINK
   --------------------------------------------------------- */

#studio a {
  color: #11110f;

  border-color: rgba(17,17,15,.35);
}

#studio a:hover {
  color: var(--accent);

  border-color: var(--accent);
/* =========================================================
   STUDIO — VIDEO BACKGROUND
   ========================================================= */

#studio {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background: #f1eee7 !important;
  color: #11110f !important;

  padding: clamp(7rem, 12vw, 13rem) 0;
}


/* VIDEO */

#studio .studio-video-bg {
  position: absolute;
  inset: 0;

  z-index: -3;

  overflow: hidden;

  pointer-events: none;
}

#studio .studio-video-bg video {
  position: absolute;

  top: 50%;
  left: 50%;

  width: 100%;
  height: 100%;

  min-width: 100%;
  min-height: 100%;

  object-fit: cover;

  transform: translate(-50%, -50%);

  opacity: .90;

  filter:
    saturate(.30)
    contrast(.40);
}


/* LIGHT EDITORIAL OVERLAY */

#studio .studio-video-overlay {
  position: absolute;
  inset: 0;

  z-index: -2;

  pointer-events: none;

  background:
    
}


/* CONTENT ABOVE VIDEO */

#studio .container {
  position: relative;
  z-index: 2;
}


/* TYPOGRAPHY */

#studio h2 {
  color: #11110f !important;
}

#studio p {
  color: #4d4a44 !important;
}

#studio .eyebrow {
  color: #77736b !important;
}


/* MOBILE */

@media (max-width: 700px) {

  #studio .studio-video-bg video {
    width: auto;
    min-width: 100%;
    height: 100%;

    opacity: .90;
  }

  #studio .studio-video-overlay {
    background:
      
  }
}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {

  #studio .studio-video-bg video {
    display: none;
  }

  #studio {
    background: #f1eee7 !important;
  }
}


/* =========================================================
   AXIS MEDIA — STABILITY / RECOVERY OVERRIDES
   Restores the base layout and prevents experimental carousel
   rules from leaking into the rest of the site.
   ========================================================= */

/* Keep the document itself stable */
html,
body {
  width: 100%;
  min-width: 0;
}

body {
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
}

/* ---------------------------------------------------------
   CAPABILITIES
   The live page uses the newer capability presentation.
   These rules are deliberately scoped to #services so they
   cannot alter Work, Process, Studio or Case Studies.
   --------------------------------------------------------- */

#services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#services .services {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  border-top: 1px solid var(--line);
  display: block;
}

/* Restore the original service/card model if the deployed
   HTML still contains .service elements. */
#services .service {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(220px, .4fr);
  align-items: center;
  gap: 2rem;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 2.3rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: transparent;
  transform: none;
  scroll-snap-align: none;
  transition: padding .45s var(--ease), background .45s ease;
}

#services .service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--surface);
  opacity: 1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s var(--ease);
}

#services .service:hover {
  padding-left: 2rem;
  padding-right: 2rem;
  transform: none;
  border-color: var(--line);
}

#services .service:hover::before {
  transform: scaleY(1);
}

#services .service .num {
  position: static;
  align-self: start;
  color: #6e6a64;
  font: 500 .7rem/1.2 "DM Mono", monospace;
  letter-spacing: .08em;
}

#services .service h3 {
  margin: 0 0 .7rem;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: .9;
}

#services .service p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

#services .service-tags {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .45rem;
}

#services .tag {
  display: inline-flex;
  width: auto;
  min-height: 0;
  padding: .45rem .65rem;
  border: 1px solid var(--line);
  background: transparent;
  color: #99958d;
  font-size: .62rem;
}

/* ---------------------------------------------------------
   If the newer capability UI is present, keep it contained
   and readable without depending on experimental selectors.
   --------------------------------------------------------- */

#services [class*="capability"] {
  min-width: 0;
}

#services [class*="capability"] img,
#services [class*="capability"] svg {
  max-width: 100%;
}

#services [class*="capability"] button {
  font: inherit;
}

/* Prevent generic h3/p rules from collapsing the capability
   content into zero-height panels. */
#services [class*="capability"] h3,
#services [class*="capability"] p {
  margin-top: 0;
}

#services [class*="capability"] p {
  line-height: 1.65;
}

/* ---------------------------------------------------------
   HERO — safe image treatment
   --------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
}

.hero::before {
  pointer-events: none;
}

.hero > .container {
  position: relative;
  z-index: 2;
}

/* ---------------------------------------------------------
   STUDIO VIDEO
   --------------------------------------------------------- */

#studio {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#studio .studio-video-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

#studio .studio-video-bg video {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  opacity: .42;
}

#studio .studio-video-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(241,238,231,.96) 0%,
      rgba(241,238,231,.82) 42%,
      rgba(241,238,231,.48) 75%,
      rgba(241,238,231,.68) 100%
    ),
    linear-gradient(
      180deg,
      rgba(241,238,231,.80) 0%,
      rgba(241,238,231,.35) 45%,
      rgba(241,238,231,.88) 100%
    );
}

#studio .container {
  position: relative;
  z-index: 2;
}

#studio h2 {
  color: #11110f !important;
}

#studio p {
  color: #4d4a44 !important;
}

#studio .eyebrow {
  color: #77736b !important;
}

/* ---------------------------------------------------------
   PROCESS — preserve the existing accordion/infographic
   implementation without affecting other sections.
   --------------------------------------------------------- */

#process {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.process-item,
.process-trigger,
.process-panel {
  min-width: 0;
}

/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 900px) {
  #services .service {
    grid-template-columns: 55px minmax(0, 1fr);
  }

  #services .service-tags {
    grid-column: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  #services .service {
    grid-template-columns: 35px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.7rem 0;
  }

  #services .service:hover {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #services .service h3 {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
  }

  #services .service p {
    font-size: .9rem;
  }

  #services .service-tags {
    grid-column: 2;
    justify-content: flex-start;
  }

  #studio .studio-video-bg video {
    width: auto;
    min-width: 100%;
    height: 100%;
    opacity: .38;
  }

  #studio .studio-video-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(241,238,231,.92) 0%,
        rgba(241,238,231,.62) 45%,
        rgba(241,238,231,.94) 100%
      );
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  #studio .studio-video-bg video {
    display: none;
  }

  #studio {
    background: #f1eee7 !important;
  }
}

/* Cache-busting marker: Axis Media CSS recovery 2026-08-12 */
/* =========================================================
   THOUGHTS
   ========================================================= */

.thoughts-section {
  position: relative;
  padding: 10rem 0 12rem;
  background: var(--bg);
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.thoughts-header {
  display: grid;
  grid-template-columns: 1fr .55fr;
  gap: 6vw;
  align-items: end;
  margin-bottom: 5rem;
}

.thoughts-header h2 {
  max-width: 900px;
  margin: .8rem 0 0;
}

.thoughts-intro {
  padding-bottom: .4rem;
}

.thoughts-intro p {
  max-width: 430px;
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.thoughts-note {
  color: #77736d;
  font: 500 .62rem/1 "DM Mono", monospace;
  letter-spacing: .1em;
}


/* =========================================================
   THOUGHT GRID
   ========================================================= */

.thoughts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.thought-card {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: #151515;
  cursor: pointer;
}

.thought-image {
  position: absolute;
  inset: 0;
  z-index: -3;

  background-position: center;
  background-size: cover;

  transform: scale(1.02);

  filter: saturate(.72);

  transition:
    transform 1s var(--ease),
    filter .8s ease;
}

.thought-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;

  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,.08) 10%,
      rgba(0,0,0,.18) 35%,
      rgba(0,0,0,.92) 100%
    );
}

.thought-card:hover .thought-image {
  transform: scale(1.08);
  filter: saturate(1);
}

.thought-content {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.7rem;
}

.thought-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.thought-number,
.thought-category,
.thought-meta {
  color: #d4d0c8;
  font: 500 .6rem/1.2 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.thought-number {
  color: var(--accent);
}

.thought-bottom {
  position: relative;
}

.thought-meta {
  display: block;
  margin-bottom: 1rem;
  color: #aaa69e;
}

.thought-bottom h3 {
  max-width: 520px;
  margin: 0 0 1rem;

  color: #f4f1eb;

  font-size: clamp(2.8rem, 4.2vw, 5rem);
  line-height: .82;
  letter-spacing: -.065em;
}

.thought-bottom p {
  max-width: 430px;
  margin: 0 0 1.7rem;

  color: #d1cdc5;

  font-size: .92rem;
  line-height: 1.55;
}

.thought-read {
  display: inline-flex;
  align-items: center;
  gap: .8rem;

  padding: .75rem 0;

  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.4);

  background: transparent;
  color: #fff;

  cursor: pointer;

  font: 500 .62rem/1 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;

  transition:
    color .3s ease,
    border-color .3s ease,
    gap .3s var(--ease);
}

.thought-read span {
  font-size: 1rem;
}

.thought-read:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 1.2rem;
}


/* =========================================================
   THOUGHT READING OVERLAY
   ========================================================= */

.thought-view {
  position: fixed;
  inset: 0;
  z-index: 1100;

  overflow-y: auto;

  background: var(--bg);

  opacity: 0;
  visibility: hidden;
  transform: translateY(40px);

  transition:
    opacity .45s ease,
    transform .65s var(--ease),
    visibility .45s;
}

.thought-view.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.thought-view-bar {
  position: sticky;
  top: 0;
  z-index: 20;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 1.25rem 2.5rem;

  background: rgba(8,8,8,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border-bottom: 1px solid var(--line-soft);
}

.thought-back {
  border: 0;
  background: transparent;
  color: #d6d2ca;

  cursor: pointer;

  font: 500 .65rem/1 "DM Mono", monospace;
  text-transform: uppercase;

  transition: color .3s ease;
}

.thought-back:hover {
  color: var(--accent);
}

.thought-view-index {
  color: #85817a;

  font: 500 .62rem/1 "DM Mono", monospace;
  letter-spacing: .08em;
}

.thought-view-content {
  width: min(calc(100% - 5rem), 1200px);
  margin: 0 auto;
  padding: 7rem 0 10rem;
}

.thought-view-header {
  max-width: 1000px;
  margin-bottom: 4rem;
}

.thought-view-header h1 {
  margin: 1rem 0 2rem;

  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(4rem, 9vw, 9rem);
  line-height: .78;
  letter-spacing: -.08em;
}

.thought-view-meta {
  display: flex;
  gap: .7rem;

  color: #85817a;

  font: 500 .65rem/1 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.thought-view-hero {
  width: 100%;
  aspect-ratio: 16 / 8;
  margin-bottom: 6rem;
  overflow: hidden;
  background: #151515;
}

.thought-view-hero img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
}

.thought-view-body {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 6vw;
}

.thought-view-lead p {
  margin: 0;

  color: #f1eee7;

  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -.035em;
}

.thought-view-copy {
  max-width: 720px;
}

.thought-view-copy p {
  margin: 0 0 2rem;

  color: #b5b1a9;

  font-size: 1.05rem;
  line-height: 1.85;
}

.thought-view-copy h2 {
  margin: 4rem 0 1.5rem;

  font-size: clamp(2.5rem, 5vw, 5rem);
  line-height: .85;
}

.thought-view-copy strong {
  color: #f3f0e9;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .thoughts-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .thoughts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .thought-card:last-child {
    grid-column: 1 / -1;
    min-height: 600px;
  }

  .thought-card:last-child .thought-content {
    min-height: 600px;
  }

  .thought-view-body {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .thoughts-section {
    padding: 7rem 0 8rem;
  }

  .thoughts-header {
    margin-bottom: 3rem;
  }

  .thoughts-header h2 {
    font-size: clamp(3.8rem, 16vw, 6rem);
  }

  .thoughts-grid {
    display: block;
  }

  .thought-card,
  .thought-card:last-child {
    min-height: 570px;
    margin-bottom: 1rem;
  }

  .thought-content,
  .thought-card:last-child .thought-content {
    min-height: 570px;
    padding: 1.3rem;
  }

  .thought-bottom h3 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .thought-view-bar {
    padding: 1rem 1.2rem;
  }

  .thought-view-content {
    width: min(calc(100% - 2.4rem), 1200px);
    padding: 5rem 0 7rem;
  }

  .thought-view-header h1 {
    font-size: clamp(3.6rem, 15vw, 6rem);
  }

  .thought-view-hero {
    aspect-ratio: 4 / 3;
    margin-bottom: 4rem;
  }

  .thought-view-body {
    display: block;
  }

  .thought-view-lead {
    margin-bottom: 3rem;
  }
  }
