@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("https://fonts.gstatic.com/s/geist/v4/gyByhwUxId8gMEwcGFU.woff2") format("woff2");
}

@font-face {
  font-family: "Garet";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("./assets/fonts/Garet-Book.woff2") format("woff2");
}

:root {
  --bg: #FEFBEA;
  --paper: #ffffff;
  --ink: #0c0c0d;
  --muted: #727272;
  --soft: #e9e9e9;
  --dark: #202022;
  --gold: #F1BE49;
  --radius: 16px;
  --container: min(1240px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Garet", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
  overflow-x: clip;
}

.brand-font,
.brand,
h1,
.preloader-title,
.copyright {
  font-family: "Geist", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease-in-out, visibility 0.8s;
}

.preloader-content {
  text-align: center;
  animation: preloaderFadeInUp 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.preloader-logo {
  height: clamp(80px, 12vw, 120px);
  margin: 0 auto 32px;
  object-fit: contain;
}

.preloader-title {
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

@keyframes preloaderFadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

site-header,
site-footer {
  display: contents;
}

.site-header {
  position: relative;
  z-index: 20;
  width: var(--container);
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 18px;
  background: rgba(254, 251, 234, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.main-nav a {
  transition: color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--gold);
}

.main-nav a[aria-current="page"] {
  color: var(--ink);
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 96px 0;
  overflow: clip;
}

.page-shell {
  min-height: 100svh;
}

.viewport-section {
  min-height: 100svh;
  display: grid;
  align-content: center;
}

.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  align-content: center;
  padding-top: 48px;
}

.hero-title {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.hero-lockup {
  display: grid;
  grid-template-columns: minmax(0, auto) auto;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 56px);
  width: min(100%, 1120px);
}

.hero-media {
  display: grid;
  place-items: center;
}

.hero-media img {
  width: auto;
  height: clamp(6.6rem, 19.5vw, 19.6rem);
  object-fit: contain;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.availability span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(237, 193, 81, 0.22);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 7.4ch;
  margin-bottom: 0;
  font-size: clamp(4rem, 12vw, 12rem);
  line-height: 0.82;
  text-align: left;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 100%;
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-copy {
    white-space: normal;
  }
}

.hero-copy strong {
  color: var(--gold);
}

.manifesto {
  padding-top: clamp(104px, 13vw, 168px);
  padding-bottom: clamp(104px, 13vw, 168px);
  overflow: hidden;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 0.9fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
  width: 100%;
}

.manifesto-headline {
  text-align: left;
}

.manifesto-headline .section-kicker {
  margin-bottom: clamp(16px, 2.5vw, 28px);
}

.manifesto-headline h2 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.052em;
}

.manifesto-headline em {
  font-style: italic;
}

.manifesto-headline em>span {
  position: relative;
  display: inline-block;
  isolation: isolate;
  z-index: 0;
}

.manifesto-headline em>span::after {
  content: "";
  position: absolute;
  left: -0.02em;
  right: -0.04em;
  bottom: 0.06em;
  z-index: -1;
  height: 0.16em;
  border-radius: 999px;
  background: rgba(237, 193, 81, 0.38);
  transform: rotate(-0.7deg);
  transform-origin: center;
}

/* GSAP scroll-triggered underline reveal for manifesto highlight words */
@media (prefers-reduced-motion: no-preference) {
  .manifesto-headline em>span::after {
    transform: rotate(-0.7deg) scaleX(0);
    transform-origin: left center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
  }
  .manifesto-headline em>span.highlight-revealed::after {
    transform: rotate(-0.7deg) scaleX(1);
  }
}

.manifesto-portraits {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  pointer-events: none;
}

.manifesto-portrait {
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.16));
}

.manifesto-portrait-ricky {
  width: clamp(130px, 13vw, 190px);
  position: relative;
  z-index: 1;
}

.manifesto-portrait-indra {
  width: clamp(140px, 14vw, 210px);
  margin-left: -15%;
  position: relative;
  z-index: 2;
}

.manifesto-copy {
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  font-weight: 550;
  line-height: 1.52;
}

.manifesto-copy p {
  margin-bottom: 20px;
}

.manifesto-copy p:last-child {
  margin-bottom: 0;
}

.manifesto-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

@media (min-width: 901px) {
  .manifesto-link:hover {
    color: var(--gold);
    text-decoration-color: var(--gold);
  }
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-light {
  border-color: rgba(255, 255, 255, 0.2);
  background: var(--paper);
  color: var(--ink);
}

.button-submit {
  width: 100%;
  border-color: var(--paper);
  background: var(--paper);
  color: var(--gold);
}

.section-kicker {
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.about .section-kicker,
.insight-hero .section-kicker,
.insight-hero .section-kicker a {
  color: var(--muted) !important;
}

.about-shell {
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 48px;
  align-items: start;
}

.about .about-grid {
  grid-template-columns: minmax(300px, 440px) minmax(0, 540px);
  justify-content: space-between;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  width: 100%;
  min-width: 0;
}

.team-carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
  padding-top: 18px;
  /* GPU-side clipping — eliminates the 1px compositor hairline
     that appears between this overflow:hidden layer and the
     will-change:transform child (.team-track) on mobile WebKit */
  transform: translateZ(0);
}

.team-controls {
  position: absolute;
  top: 4px;
  right: 0;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.about .team-controls {
  right: max(0px,
      calc((100% - min(100%, calc(440px + clamp(34px, 6vw, 80px) + 540px))) / 2));
}

.team-track {
  display: flex;
  transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1), height 400ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, height;
}

.team-slide {
  flex: 0 0 100%;
  display: grid;
  align-items: center;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.founder-portrait {
  position: relative !important;
}

.portrait {
  position: sticky;
  top: 112px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
}

.about .portrait {
  position: relative;
  top: auto;
  width: min(100%, 440px);
  height: auto;
  justify-self: end;
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.portrait-link {
  display: block;
  width: 100%;
  height: 100%;
}

.about .portrait-link {
  height: auto;
}

.portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about .portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.84;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius);
}

.founder-portrait::before {
  display: none;
}

.founder-portrait figcaption {
  position: static !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0 0 !important;
  color: var(--ink) !important;
  background: none !important;
  text-shadow: none !important;
}

.founder-portrait figcaption span:first-child {
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--ink);
}

.founder-portrait figcaption span:last-child {
  max-width: 120px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
  color: var(--muted);
}

.about-content {
  width: 100%;
  max-width: 520px;
  min-width: 0;
}

.about-content h2,
.section-heading h2,
.services-hero h2,
.work-hero h2,
.site-footer h2 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 5vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.about-content h2 span,
.section-heading h2 span,
.services-hero h2 span,
.work-hero h2 span {
  color: var(--ink);
}

.about-content h2 {
  font-family: "Geist", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 520px;
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.25 !important;
  overflow-wrap: anywhere;
}

.about-content>p,
.section-heading p,
.service-content p,
.contact-panel p,
.faq p {
  color: var(--muted);
}

.team-role {
  margin-bottom: 10px;
}

.about-content>p {
  max-width: 540px;
  margin-bottom: 0;
}

.founder-summary {
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.mission-block {
  padding: 12px 0 24px;
}

.mission-block .about-content {
  max-width: 680px;
}

.mission-block .about-content h2 {
  max-width: 620px;
}

.mission-block .founder-summary + .founder-summary {
  margin-top: 18px;
}

/* Custom Mission Grid layout (Content Left, Logo Right) */
.about .mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 540px) minmax(300px, 440px);
  justify-content: space-between;
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  width: 100%;
  min-width: 0;
}

/* About Logo Column (Slide 1) */
.about .about-logo-portrait {
  position: relative;
  top: auto;
  width: min(100%, 440px);
  height: auto;
  justify-self: end;
  border: none;
  box-shadow: none;
  background: transparent;
  overflow: visible;
}

.about-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: var(--radius);
  aspect-ratio: 0.84;
  width: 100%;
  padding: clamp(16px, 3vw, 40px);
  border: none;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-logo-container:hover {
  transform: translateY(-6px);
}

.about-logo-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(241, 190, 73, 0.12));
  animation: aboutLogoFloat 8s ease-in-out infinite alternate;
}

@keyframes aboutLogoFloat {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.tag-list li {
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-weight: 600;
}

.tag-list li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--muted);
  font-weight: 400;
}

.about .tag-list {
  gap: 8px;
  margin: 30px 0 0;
}

.about .tag-list li {
  padding: 0;
  font-size: 0.88rem;
}

.carousel-button {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  padding: 0;
  transition: color 180ms ease, transform 180ms ease;
}

.carousel-button:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.carousel-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-shell {
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}

.work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  width: 100%;
}

.work-title {
  font-family: "Geist", Inter, sans-serif;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 500;
  margin: 0;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.work-subtitle {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 8px 0;
  text-align: right;
  max-width: 320px;
  line-height: 1.35;
}

.work-carousel {
  position: relative;
  overflow: visible;
  max-width: 100%;
  min-width: 0;
}

.work-controls {
  display: none;
}

.work-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
}

.work-slide {
  width: 100%;
  display: block;
}

.step-card {
  padding: 0 clamp(24px, 2.5vw, 40px);
  border-left: 1px solid rgba(12, 12, 13, 0.08);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.work-slide:first-child .step-card {
  padding-left: 0;
  border-left: none;
}

.work-slide:last-child .step-card {
  padding-right: 0;
}

.step-number {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--muted);
  margin-bottom: 24px;
  display: block;
}

.step-title {
  font-size: clamp(2rem, 2.5vw, 2.8rem);
  font-weight: 500;
  font-style: italic;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.04em;
}

.step-text {
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--muted);
  margin: 0;
  font-family: "Garet", Inter, sans-serif;
}

@media (prefers-reduced-motion: reduce) {

  .team-track {
    transition: none;
  }
}

.muted {
  color: var(--muted);
}

.services,
.contact {
  width: 100%;
  padding: 96px max(24px, calc((100vw - 1240px) / 2));
  border-radius: 40px;
  background: var(--ink);
  color: var(--paper);
}

.services-hero,
.work-hero {
  min-height: auto;
  align-content: start;
  justify-items: center;
  padding-top: 96px;
  padding-bottom: 72px;
}

.services-hero-heading,
.work-hero-heading {
  gap: clamp(14px, 2vw, 22px);
  width: min(100%, 780px);
  margin-bottom: 0;
}

.services-hero .section-kicker,
.work-hero .section-kicker {
  margin-bottom: 0;
}

.services-hero h2,
.work-hero h2,
.faq .section-heading h2,
.contact h2 {
  font-family: "Geist", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 18px;
}

.services-hero-copy {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.services-hero-copy strong {
  color: var(--gold);
}

.services-detail {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(56px, 8vw, 104px);
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(112px, 12vw, 156px);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 44px;
}

.section-heading>p:not(.section-kicker) {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.55;
  font-weight: 450;
}

.section-heading.light p,
.section-heading.light h2 {
  color: var(--paper);
}

.section-heading.light div>p {
  color: rgba(255, 255, 255, 0.62);
}

.section-heading.light>p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.62);
}

.section-heading.centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.section-heading.centered p {
  max-width: 620px;
}

.contact-intro {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.faq .section-heading {
  gap: clamp(14px, 2vw, 22px);
  margin-bottom: clamp(28px, 4vw, 40px);
  width: min(100%, 780px);
  margin-left: auto;
  margin-right: auto;
}

.faq.viewport-section {
  align-content: start;
  padding-top: 96px;
  padding-bottom: 72px;
}

.faq .section-kicker {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--dark);
}

.service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-content {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.service-content h3,
.contact-panel h3 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-content ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 8px;
  list-style: none;
}

.service-content li {
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  font-weight: 600;
}

.contact-grid {
  align-items: stretch;
}

.contact-page {
  padding-bottom: clamp(160px, 24vh, 280px);
}

.contact-panel,
.contact-form {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--dark);
}

.contact-panel {
  display: grid;
  align-content: start;
  gap: 16px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper);
  font: inherit;
  padding: 12px;
}

select option {
  color: var(--ink);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  outline: none;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.faq-column {
  display: grid;
  gap: 16px;
}

details {
  border-radius: var(--radius);
  background: var(--paper);
}

summary {
  cursor: pointer;
  padding: 22px 24px;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
}

details[open] summary::after {
  content: "-";
}

details p {
  padding: 0 24px 24px;
  margin-bottom: 0;
}

.error-page {
  min-height: auto;
}

.error-hero {
  min-height: calc(100svh - 104px);
  padding-top: clamp(36px, 5vw, 72px);
  padding-bottom: clamp(48px, 6vw, 84px);
}

.error-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.error-code {
  color: var(--gold);
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: clamp(5.5rem, 17vw, 15rem);
  font-weight: 800;
  line-height: 0.82;
  letter-spacing: 0;
}

.error-content {
  max-width: 720px;
}

.error-content .section-kicker {
  color: var(--muted);
}

.error-content h1 {
  max-width: 13.5ch;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 4.8vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: none;
}

.error-copy {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  font-weight: 550;
  line-height: 1.55;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  align-items: center;
}

.error-link {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.error-link:hover,
.error-link:focus-visible {
  color: var(--gold);
}

.site-footer {
  width: var(--container);
  margin: 0 auto 24px;
  padding: 48px;
  border-radius: 40px 40px var(--radius) var(--radius);
  background: var(--ink);
  color: var(--paper);
}

.site-footer>div:first-child {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--paper);
}

.footer-links a[aria-current="page"] {
  color: var(--paper);
}

.copyright {
  margin: 36px 0 0;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 901px) {
  .about.viewport-section {
    min-height: auto !important;
    align-content: start;
    padding-top: 12px !important;
    padding-bottom: 24px !important;
  }

  .about .portrait {
    width: min(100%, 360px) !important;
  }

  .about .mission-grid {
    grid-template-columns: minmax(0, 540px) minmax(300px, 360px) !important;
  }

  .about .about-logo-portrait {
    width: min(100%, 360px) !important;
    transform: translateX(-32px);
  }

  .about .section-kicker {
    margin-bottom: 12px !important;
  }

  .about .tag-list {
    margin-top: 16px !important;
  }

  .about-content h2 {
    margin-bottom: 12px !important;
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 32px, 760px);
  }

  .services-hero-break {
    display: block;
  }

  .site-header {
    flex-wrap: wrap;
    align-items: center;
    transition: background-color 0.3s;
  }

  .site-header.nav-open {
    background: rgba(254, 251, 234, 0.94);
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 12px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 22;
  }

  .nav-toggle .line {
    display: block;
    height: 2px;
    background-color: var(--ink);
    border-radius: 999px;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s, width 0.3s;
  }

  .nav-toggle .line-1 {
    width: 20px;
    transform-origin: left center;
  }

  .nav-toggle .line-2 {
    width: 14px;
    align-self: flex-end;
    transform-origin: left center;
  }

  .site-header.nav-open .nav-toggle .line-1 {
    transform: rotate(45deg) translate(2px, -1px);
    width: 17px;
  }

  .site-header.nav-open .nav-toggle .line-2 {
    transform: rotate(-45deg) translate(2px, 1px);
    width: 17px;
  }

  .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    gap: 0;
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s, margin-top 0.4s;
    margin-top: 0;
  }

  .site-header.nav-open .main-nav {
    max-height: 380px;
    opacity: 1;
    margin-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding-top: 16px;
  }

  .site-header .main-nav a {
    display: block;
    padding: 12px 14px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--muted);
    border-radius: 12px;
    transition: background-color 0.2s, color 0.2s, padding-left 0.2s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-header .main-nav a:hover {
    color: var(--gold);
    padding-left: 20px;
  }

  .site-header .main-nav a[aria-current="page"] {
    color: var(--ink);
    font-weight: 700;
    background: rgba(0, 0, 0, 0.03);
  }

  .site-header .main-nav a[href="/contact"] {
    margin-top: 12px;
    background: var(--ink);
    color: var(--bg);
    text-align: center;
    border-radius: 999px;
    font-weight: 700;
    padding: 12px 0;
  }

  .site-header .main-nav a[href="/contact"]:hover {
    background: var(--gold);
    color: var(--ink);
    padding-left: 0;
  }

  .section {
    padding: 72px 0;
  }

  .hero-lockup {
    gap: 20px;
  }

  .hero-media img {
    height: clamp(6rem, 19.5vw, 11.2rem);
  }

  .manifesto-grid,
  .about .about-grid,
  .about-grid,
  .contact-grid,
  .section-heading,
  .service-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 16px;
  }

  .services-detail .section-heading {
    padding-left: 28px;
    padding-right: 28px;
  }

  .manifesto-headline {
    text-align: center;
    margin-bottom: 32px;
  }

  .manifesto-headline h2 {
    font-size: clamp(2.6rem, 8vw, 4.2rem);
  }

  .manifesto-portraits {
    gap: clamp(24px, 7vw, 56px);
    margin: 8px auto 24px;
  }

  .manifesto-portrait-indra {
    margin-left: 0;
  }

  .portrait {
    position: relative !important;
    justify-self: start;
  }

  .team-slide {
    align-items: start !important;
  }

  .about .about-grid {
    justify-content: stretch;
    gap: 32px;
  }

  .about .portrait {
    position: relative !important;
    justify-self: start;
  }

  .about .mission-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .about .about-logo-portrait {
    display: none !important;
    position: relative !important;
    justify-self: start;
  }

  .founder-portrait figcaption {
    position: static !important;
    z-index: 10 !important;
    padding: 12px 0 0 !important;
    background: none !important;
    text-shadow: none !important;
    color: var(--ink) !important;
  }

  .about .portrait img {
    height: auto;
    aspect-ratio: 0.84;
  }

  .about-content {
    position: static;
    justify-self: start;
  }

  .about-content {
    width: 100%;
    max-width: 100%;
  }

  .services,
  .contact {
    padding: 72px clamp(24px, 5vw, 48px);
    border-radius: 28px;
  }

  .portfolio-section {
    border-radius: 28px;
  }

  .site-footer {
    padding: 32px;
  }

  .error-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .error-code {
    font-size: clamp(5rem, 30vw, 10rem);
  }

  .error-content h1 {
    max-width: 12ch;
  }

  .error-actions {
    justify-content: center;
    text-align: center;
  }

  .site-footer>div:first-child {
    display: grid;
  }

  .about .team-controls {
    right: 0;
  }

  .work-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
  }

  .work-subtitle {
    text-align: left;
    margin: 0;
    max-width: 100%;
  }

  .work-carousel {
    overflow: hidden;
    padding-top: 0px;
  }

  .work-controls {
    position: absolute;
    top: 4px;
    right: 0;
    z-index: 3;
    display: flex;
    gap: 8px;
  }

  .work-track {
    display: flex;
    transition: transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    grid-template-columns: none;
  }

  .work-slide {
    flex: 0 0 100%;
    min-width: 0;
  }

  .step-card {
    padding: 0 16px;
    border-left: none;
  }

  .work-slide:first-child .step-card {
    padding-left: 0;
  }

  .work-slide:last-child .step-card {
    padding-right: 0;
  }

  .step-number {
    margin-bottom: 16px;
  }

  .step-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
  }

  .step-text {
    font-size: 1.05rem;
    line-height: 1.65;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: relative;
    top: auto;
  }

  .section {
    padding: 56px 0;
  }

  .viewport-section {
    min-height: auto;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .hero-lockup {
    gap: clamp(8px, 3vw, 12px);
  }

  .hero-media img {
    height: clamp(4.5rem, 15vw, 6rem);
  }

  .hero {
    min-height: auto;
  }

  .manifesto-headline h2 {
    font-size: clamp(2.35rem, 11vw, 4rem);
    line-height: 0.98;
  }

  .manifesto-portrait-ricky {
    width: min(40vw, 160px);
  }

  .manifesto-portrait-indra {
    width: min(44vw, 180px);
    margin-left: 0;
  }

  .about.viewport-section,
  .faq.viewport-section,
  .contact.viewport-section,
  .services-hero.viewport-section {
    min-height: calc(100svh - 96px);
  }

  .team-controls {
    position: relative !important;
    z-index: 3 !important;
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
    margin: 8px 0 16px !important;
  }

  .services-hero.viewport-section,
  .work-hero.viewport-section {
    min-height: auto;
  }



  .about .portrait {
    width: min(100%, 300px);
  }

  .about .about-logo-portrait {
    width: min(100%, 300px);
  }

  .about .about-grid,
  .about-content,
  .about-content h2,
  .founder-summary,
  .about .tag-list {
    width: 100%;
    max-width: 100%;
  }

  .about-content h2 {
    font-size: clamp(1.7rem, 8vw, 2.05rem);
  }

  .founder-summary {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .founder-portrait figcaption {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    padding: 12px 0 0 !important;
    background: none !important;
    text-shadow: none !important;
    color: var(--ink) !important;
  }

  .service-content,
  .contact-panel,
  .contact-form {
    padding: 22px;
  }

  .error-hero {
    min-height: calc(100svh - 96px);
    padding-top: 56px;
    padding-bottom: 72px;
  }

  .error-content h1 {
    font-size: clamp(2.45rem, 13vw, 4.2rem);
  }

  .error-actions {
    align-items: center;
    flex-direction: column;
  }

  .services-detail .section-heading {
    padding-left: 22px;
    padding-right: 22px;
  }

  .work-controls {
    position: relative !important;
    z-index: 3 !important;
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
    margin: 0 0 12px !important;
  }
}

.work-page {
  background: var(--bg);
  color: var(--ink);
  padding-bottom: clamp(64px, 8vw, 96px);
}

.work-hero {
  width: var(--container);
  min-height: calc(100svh - 64px);
  margin: 0 auto;
  padding: 96px 18px 72px;
  display: grid;
  align-content: start;
  justify-items: stretch;
}

.work-hero-inner {
  width: 100%;
  max-width: 1040px;
}

.work-hero .section-kicker {
  color: var(--muted);
  margin-bottom: clamp(22px, 3vw, 36px);
}

.work-hero h1 {
  max-width: 1080px;
  margin: 0;
  font-size: clamp(4rem, min(9.4vw, 13svh), 9.8rem);
  font-weight: 800;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.portfolio-section {
  padding: clamp(72px, 9vw, 128px) 0 clamp(96px, 11vw, 156px);
  background: var(--ink);
  color: var(--paper);
  border-radius: 40px;
  overflow: hidden;
}

.portfolio-controls-bar {
  width: var(--container);
  margin: 0 auto clamp(44px, 6vw, 72px);
  padding: 20px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.portfolio-controls-bar .section-kicker {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.64);
}

.portfolio-controls-bar h2 {
  margin: 0;
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: clamp(2.4rem, 5.6vw, 6rem);
  line-height: 0.92;
  text-transform: uppercase;
}

.portfolio-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-pill {
  min-height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.74);
  padding: 0 16px;
  border-radius: 999px;
  font-family: "Geist", sans-serif;
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.filter-pill:hover,
.filter-pill.active {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.portfolio-grid {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 2.5vw, 32px);
  align-items: stretch;
}

.portfolio-card {
  grid-column: span 6;
  min-width: 0;
}

.portfolio-card-featured {
  grid-column: span 12;
}

.portfolio-card-tall {
  grid-column: span 6;
}

.portfolio-card-link {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 0;
  overflow: hidden;
  text-align: left;
  color: inherit;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease;
}

.portfolio-card-featured .portfolio-card-link {
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
  grid-template-rows: auto;
  min-height: clamp(460px, 56vw, 690px);
}

.portfolio-card-link:hover,
.portfolio-card-link:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(237, 193, 81, 0.72);
  outline: 0;
}

.portfolio-card-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  min-height: 0;
  overflow: hidden;
  background: #171718;
}

.portfolio-card-featured .portfolio-card-media {
  min-height: 100%;
}

.portfolio-card-tall .portfolio-card-media {
  min-height: 460px;
}

.portfolio-card-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card-link:hover .portfolio-card-media img,
.portfolio-card-link:focus-visible .portfolio-card-media img {
  transform: scale(1.055);
}

.portfolio-card-media-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(237, 193, 81, 0.18), rgba(255, 255, 255, 0.03)),
    #161617;
}

.portfolio-card-media-logo img {
  width: min(52%, 280px);
  height: auto;
  min-height: 0;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(0, 0, 0, 0.28));
}

.portfolio-card-link:hover .portfolio-card-media-logo img,
.portfolio-card-link:focus-visible .portfolio-card-media-logo img {
  transform: scale(1.04);
}

.portfolio-card-content {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px 22px;
  align-content: start;
  padding: clamp(24px, 3vw, 42px);
  background: #111112;
}

.portfolio-card-number {
  grid-row: span 4;
  color: var(--gold);
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  font-weight: 800;
  line-height: 0.9;
}

.portfolio-card-meta,
.portfolio-card-result {
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.portfolio-card-meta {
  color: rgba(255, 255, 255, 0.52);
  font-family: "Garet", Inter, sans-serif;
  font-weight: 400;
}

.portfolio-card-content strong {
  display: block;
  max-width: 780px;
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: clamp(2rem, 4.6vw, 5.8rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.portfolio-card:not(.portfolio-card-featured) .portfolio-card-content strong {
  font-size: clamp(1.2rem, 2vw, 2.2rem);
}

.portfolio-card-copy {
  max-width: 540px;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Garet", Inter, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  font-weight: 400;
  line-height: 1.45;
}

.portfolio-card-result {
  width: fit-content;
  margin-top: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(237, 193, 81, 0.38);
  border-radius: 999px;
  color: var(--gold);
}

.case-study-page {
  background: var(--bg);
  color: var(--ink);
  overflow: hidden;
}

.case-hero,
.case-intro,
.case-metrics,
.case-section,
.case-closing {
  width: var(--container);
  margin: 0 auto;
}

.case-hero {
  min-height: calc(100svh - 82px);
  padding: clamp(52px, 8vw, 104px) 0 clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.case-hero-copy {
  display: grid;
  gap: 22px;
  align-content: start;
}

.case-hero .section-kicker,
.case-intro .section-kicker,
.case-section .section-kicker,
.case-closing .section-kicker {
  margin-bottom: 0;
  color: var(--muted);
}

.case-hero h1 {
  max-width: 100%;
  font-size: clamp(2.5rem, 5.2vw, 5.2rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
}

.case-hero-copy>p:not(.section-kicker) {
  max-width: 620px;
  margin: 0;
  color: #3f3f40;
  font-size: clamp(1.08rem, 1.6vw, 1.42rem);
  line-height: 1.5;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.case-tags span {
  padding: 10px 13px;
  border: 1px solid rgba(12, 12, 13, 0.14);
  border-radius: 999px;
  color: #353536;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.case-hero-media {
  position: relative;
  min-height: clamp(360px, 48vw, 640px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #171718;
}

.case-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 12, 13, 0.42), transparent 48%);
  pointer-events: none;
}

.case-hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.case-intro {
  padding: clamp(72px, 9vw, 132px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 88px);
  border-top: 1px solid rgba(12, 12, 13, 0.12);
}

.case-intro h2,
.case-section-heading h2,
.case-closing h2 {
  margin: 14px 0 0;
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 6rem);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.case-intro>p {
  margin: 0;
  color: #3f3f40;
  font-size: clamp(1.12rem, 1.8vw, 1.6rem);
  line-height: 1.55;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: clamp(76px, 10vw, 132px);
  background: rgba(12, 12, 13, 0.14);
  border: 1px solid rgba(12, 12, 13, 0.14);
  border-radius: 8px;
  overflow: hidden;
}

.case-metrics article {
  container-type: inline-size;
  min-height: 220px;
  padding: clamp(22px, 3vw, 34px);
  display: grid;
  align-content: space-between;
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.case-metrics strong,
.case-proof-grid strong,
.paid-layout strong,
.channel-grid dt {
  font-family: "Geist", Inter, system-ui, sans-serif;
  color: var(--gold);
  font-size: clamp(2.3rem, 4.7vw, 5.1rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.case-metrics span,
.case-proof-grid span,
.paid-layout span,
.channel-grid dd {
  margin: 0;
  color: rgba(12, 12, 13, 0.68);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  text-transform: uppercase;
}

.case-metrics span,
.channel-grid dd {
  color: rgba(255, 255, 255, 0.68);
}

.case-section {
  padding: clamp(72px, 9vw, 128px) clamp(20px, 4vw, 56px);
  border-radius: 8px;
}

.case-section+.case-section,
.case-closing {
  margin-top: clamp(28px, 4vw, 56px);
}

.case-section-light {
  background: var(--paper);
  border: 1px solid rgba(12, 12, 13, 0.1);
}

.case-section-dark,
.case-section-paid {
  background: var(--ink);
  color: var(--paper);
}

.case-section-dark .section-kicker,
.case-section-paid .section-kicker {
  color: rgba(255, 255, 255, 0.58);
}

.case-section-heading {
  max-width: 980px;
}

.case-section-heading>p:not(.section-kicker) {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.62;
}

.case-objective-grid,
.case-proof-grid,
.channel-grid,
.paid-layout {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(38px, 5vw, 64px);
}

.case-objective-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-objective-grid article {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(12, 12, 13, 0.1);
  border-radius: 8px;
  background: #fafafa;
}

.channel-grid article {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: var(--dark);
  color: var(--paper);
}

.channel-grid h3 {
  color: var(--gold);
}

.case-objective-grid h3,
.keyword-panel h3,
.channel-grid h3 {
  margin: 0 0 14px;
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-objective-grid p {
  margin: 0;
  color: rgba(12, 12, 13, 0.68);
  line-height: 1.6;
}

.case-proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-proof-grid article,
.paid-layout div {
  container-type: inline-size;
  min-height: 190px;
  padding: clamp(24px, 3vw, 34px);
  display: grid;
  align-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.case-proof-grid span,
.paid-layout span {
  color: rgba(255, 255, 255, 0.68);
}

.keyword-panel {
  margin-top: clamp(18px, 3vw, 32px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(237, 193, 81, 0.28);
  border-radius: 8px;
  background: rgba(237, 193, 81, 0.08);
}

.keyword-panel h3 {
  color: var(--gold);
}

.keyword-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.keyword-panel li {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.keyword-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: inherit;
  transition: background 0.25s ease, color 0.25s ease;
}

.keyword-panel a:hover,
.keyword-panel a:focus-visible {
  background: rgba(237, 193, 81, 0.16);
  color: var(--paper);
}

.channel-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.channel-grid dl {
  display: grid;
  gap: 18px;
  margin: 22px 0 0;
}

.channel-grid div {
  container-type: inline-size;
  display: grid;
  gap: 6px;
}

.channel-grid dt {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
}

.case-metrics .metric-fit,
.case-proof-grid .metric-fit,
.paid-layout .metric-fit {
  font-size: min(clamp(2.3rem, 4.7vw, 5.1rem), 21cqi);
  white-space: nowrap;
}

.paid-layout strong {
  font-size: min(clamp(2.3rem, 4.7vw, 5.1rem), 21cqi);
  white-space: nowrap;
}

.channel-grid dt {
  font-size: clamp(2rem, 14cqi, 3.6rem);
}

.metric-delta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #4a8c5c;
  margin-left: 0.25em;
}

.paid-layout {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-closing {
  max-width: none;
  padding: clamp(72px, 9vw, 128px) 0 clamp(88px, 10vw, 144px);
  text-align: center;
}

.case-closing .section-kicker {
  justify-content: center;
}

.case-closing h2,
.case-closing p {
  width: min(980px, var(--container));
  margin-left: auto;
  margin-right: auto;
}

.case-closing p:not(.section-kicker) {
  margin-top: 22px;
  margin-bottom: 0;
  color: #3f3f40;
  font-size: clamp(1.04rem, 1.5vw, 1.26rem);
  line-height: 1.6;
}

.portfolio-section {
  position: relative;
}

.portfolio-depth-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  translate: -50% 0;
  width: min(900px, 110vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 193, 81, 0.09) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.portfolio-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

.portfolio-card {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease;
}

.portfolio-card.is-entering {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card.is-hiding {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  pointer-events: none;
}

.portfolio-card-content strong {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card-content strong.title-revealed {
  clip-path: inset(0 0 0% 0);
}

@keyframes float-subtle {

  0%,
  100% {
    transform: scale(1.01) translateY(0);
  }

  50% {
    transform: scale(1.01) translateY(-9px);
  }
}

.portfolio-card-featured .portfolio-card-media img {
  animation: float-subtle 9s ease-in-out infinite;
}

.portfolio-card-link:hover .portfolio-card-media img,
.portfolio-card-link:focus-visible .portfolio-card-media img {
  animation: none;
}

.card-hover-cta {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: clamp(16px, 2.5vw, 28px);
  background: linear-gradient(to top, rgba(12, 12, 13, 0.72) 0%, transparent 55%);
  color: var(--gold);
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: 0.84rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.portfolio-card-link:hover .card-hover-cta,
.portfolio-card-link:focus-visible .card-hover-cta {
  opacity: 1;
}

.portfolio-dialog {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 20, 22, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--paper);
  border-radius: var(--radius);
  max-width: min(800px, 90vw);
  max-height: 85dvh;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);

  opacity: 0;
  transform: translateY(20px) scale(0.98);

  transition-property: opacity, transform, display, overlay;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-behavior: allow-discrete;
}

.portfolio-dialog[open] {
  opacity: 1;
  transform: translateY(0) scale(1);

  @starting-style {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
}

.portfolio-dialog::backdrop {
  background-color: rgba(12, 12, 13, 0);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);

  transition-property: background-color, backdrop-filter, display, overlay;
  transition-duration: 0.4s;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  transition-behavior: allow-discrete;
}

.portfolio-dialog[open]::backdrop {
  background-color: rgba(12, 12, 13, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  @starting-style {
    background-color: rgba(12, 12, 13, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
  }
}

.dialog-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 85dvh;
  position: relative;
  padding: 48px;
  overflow-y: auto;
}

.dialog-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.dialog-close-btn:hover {
  color: var(--gold);
}

.dialog-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 24px;
  margin-bottom: 32px;
}

.dialog-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 24px;
}

.dialog-stats-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: "Geist", monospace;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dialog-body h3 {
  font-family: "Geist", sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 28px;
  margin-bottom: 12px;
}

.dialog-body p {
  line-height: 1.62;
  margin-bottom: 24px;
}

.dialog-body img {
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 32px 0;
}

.portfolio-card {
  container-type: inline-size;
  container-name: pcard;
}

@container pcard (max-width: 400px) {
  .portfolio-card-content {
    grid-template-columns: 1fr;
  }

  .portfolio-card-number {
    grid-row: auto;
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .portfolio-dialog {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    width: 100%;
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
    margin: 0;
    transform: translateY(100%);
  }

  .portfolio-dialog[open] {
    transform: translateY(0);

    @starting-style {
      transform: translateY(100%);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-dialog {
    transform: none !important;
    transition-duration: 0.15s !important;
  }

  @starting-style {
    .portfolio-dialog[open] {
      transform: none !important;
    }
  }

  .portfolio-card,
  .portfolio-card-content strong,
  .portfolio-card-featured .portfolio-card-media img {
    animation: none !important;
    transition-duration: 0.01ms !important;
    clip-path: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .portfolio-card.is-entering {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {

  .case-hero,
  .case-intro {
    grid-template-columns: 1fr;
  }

  .case-hero {
    min-height: auto;
    padding-top: 54px;
  }

  .case-hero h1 {
    font-size: clamp(2.75rem, 12vw, 6rem);
  }

  .case-hero-media {
    min-height: clamp(300px, 68vw, 520px);
  }

  .case-metrics,
  .case-objective-grid,
  .case-proof-grid,
  .channel-grid,
  .paid-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-section {
    width: min(100vw - 24px, 1240px);
  }

  .work-hero {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .work-hero h1 {
    font-size: clamp(1.8rem, 7.5vw, 5rem);
    overflow-wrap: break-word;
  }

  .portfolio-section {
    padding-top: 64px;
  }

  .portfolio-controls-bar {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .portfolio-filters {
    justify-content: flex-start;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card,
  .portfolio-card-featured,
  .portfolio-card-tall {
    grid-column: span 1;
  }

  .portfolio-card-featured .portfolio-card-link {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .portfolio-card-media,
  .portfolio-card-featured .portfolio-card-media,
  .portfolio-card-tall .portfolio-card-media {
    min-height: 280px;
    aspect-ratio: 16 / 10;
  }

  .portfolio-card-content {
    grid-template-columns: 1fr;
  }

  .portfolio-card-number {
    grid-row: auto;
  }

  .dialog-inner {
    padding: 32px 24px;
  }

  .dialog-stats-bar {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 640px) {

  .case-hero,
  .case-intro,
  .case-closing {
    width: min(100vw - 28px, 1240px);
  }

  .case-tags span {
    font-size: 0.72rem;
  }

  .case-metrics,
  .case-objective-grid,
  .case-proof-grid,
  .channel-grid,
  .paid-layout {
    grid-template-columns: 1fr;
  }

  .case-metrics article,
  .case-proof-grid article,
  .paid-layout div {
    min-height: 168px;
  }

  .case-section {
    padding: 54px 18px;
  }

  .keyword-panel ul {
    display: grid;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portfolio-card-featured {
    grid-column: span 2;
  }

  .portfolio-card,
  .portfolio-card-tall {
    grid-column: span 1;
  }

  .portfolio-card-media,
  .portfolio-card-tall .portfolio-card-media {
    min-height: 220px;
    aspect-ratio: 4 / 3;
  }
}

.insight-page {
  background: var(--bg);
  color: var(--ink);
}

.insight-hero {
  position: relative;
  overflow: hidden;
  width: var(--container);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 112px) 18px clamp(32px, 5vw, 48px);
}

.insight-hero-deco {
  position: absolute;
  left: 52%;
  top: 50%;
  transform: translateY(-55%);
  font-family: "Garet", sans-serif;
  font-size: clamp(10rem, 16vw, 20rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
  color: rgba(12, 12, 13, 0.04);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.insight-hero .section-kicker {
  display: inline-block;
  color: var(--muted) !important;
}

.insight-hero .section-kicker a {
  color: inherit;
}

.insight-hero .section-kicker a:hover,
.insight-hero .section-kicker a:focus-visible {
  color: var(--gold);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.insight-title {
  font-family: "Geist", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.05;
  margin-top: 14px;
  margin-bottom: 24px;
  text-transform: capitalize;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-weight: 800;
}

.hero-intro {
  font-family: "Garet", sans-serif;
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  color: var(--muted);
  line-height: 1.54;
  font-weight: 500;
  max-width: 680px;
  margin: 0;
}

.insight-filters-container {
  width: var(--container);
  margin: 0 auto;
  padding: 0 18px 48px;
}

.insight-filters {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid rgba(12, 12, 13, 0.08);
  border-bottom: 1px solid rgba(12, 12, 13, 0.08);
  padding: 20px 0;
}

.filter-label {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.insight-filters .filter-label {
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.filter-group {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  font-family: "Garet", sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid rgba(12, 12, 13, 0.08);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.filter-pill:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.filter-pill.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.insight-filters .filter-pill {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  padding: 6px 4px;
  color: var(--muted);
  transition: color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.insight-filters .filter-pill:hover {
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(12, 12, 13, 0.16);
  color: var(--ink);
}

.insight-filters .filter-pill.active {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--ink);
  color: var(--ink);
}

.articles-section {
  width: var(--container);
  margin: 0 auto;
  padding: 0 18px 120px;
}

.insight-featured {
  margin-bottom: clamp(36px, 6vw, 72px);
}

.insight-empty {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: clamp(34px, 6vw, 64px);
  border: 1px solid rgba(12, 12, 13, 0.08);
  border-radius: var(--radius);
  background: var(--paper);
}

.insight-empty h2 {
  margin: 0;
  max-width: 720px;
  font-family: "Garet", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
  text-transform: none;
}

.insight-featured-link {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.12);
}

.insight-featured-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  min-height: 0;
  overflow: hidden;
  background: #f4f4f2;
}

.insight-featured-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.insight-featured-media.image-fit-cover img {
  object-fit: cover;
}

.insight-featured-link:hover .insight-featured-media img,
.insight-featured-link:focus-visible .insight-featured-media img {
  transform: scale(1.02);
}

.insight-featured-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
  padding: clamp(28px, 4vw, 52px);
}

.insight-featured-content .card-tag {
  position: static;
  width: fit-content;
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}

.insight-featured-content time {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-featured-content strong {
  font-family: "Garet", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  max-width: 9.5ch;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.insight-featured-content>span:not(.card-tag):not(.read-more) {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.56;
}

.insight-featured-content .read-more {
  color: var(--paper);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 36px;
}

.insight-card {
  background: var(--paper);
  border: 1px solid rgba(12, 12, 13, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.insight-card:hover {
  transform: translateY(-8px);
  border-color: rgba(12, 12, 13, 0.12);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.06);
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--soft);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-media-bg {
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.speed-gradient {
  background: linear-gradient(135deg, #0f0c20 0%, #153250 50%, #F1BE49 100%);
}

.brand-gradient {
  background: linear-gradient(135deg, #0c0c0d 0%, #3a3b40 50%, #727272 100%);
}

.seo-gradient {
  background: linear-gradient(135deg, #2a0845 0%, #6441a5 100%);
}

.insight-gradient {
  background:
    radial-gradient(circle at 22% 24%, rgba(237, 193, 81, 0.95), transparent 26%),
    linear-gradient(135deg, #111112 0%, #202022 48%, #6b6b62 100%);
}

.insight-card:hover .card-media-bg,
.insight-card:hover .card-media img {
  transform: scale(1.06);
}

.card-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.card-content {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-content time {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}

.card-title {
  font-family: "Garet", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.28;
  margin: 0 0 14px;
  color: var(--ink);
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.insight-card:hover .card-title {
  color: var(--gold);
}

.card-desc {
  font-family: "Garet", sans-serif;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.56;
  margin: 0 0 24px;
  flex-grow: 1;
}

.read-more {
  font-size: 0.88rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.read-more .arrow {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.insight-card:hover .read-more .arrow {
  transform: translateX(6px);
}

.insight-article-page {
  background: var(--bg);
  color: var(--ink);
}

.insight-article-hero,
.insight-article-layout {
  width: var(--container);
  margin: 0 auto;
}

.insight-article-hero {
  padding: clamp(54px, 8vw, 110px) 0 clamp(48px, 7vw, 86px);
}

.insight-article-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.insight-article-kicker a {
  color: var(--ink);
}

.insight-article-kicker a:hover,
.insight-article-kicker a:focus-visible {
  color: var(--gold);
}

.insight-article-kicker a:not(:first-child)::before,
.insight-article-kicker span::before,
.insight-article-kicker time::before {
  content: "/";
  margin-right: 10px;
  color: rgba(12, 12, 13, 0.28);
}

.insight-article-headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: end;
  margin-top: clamp(20px, 4vw, 42px);
}

.insight-article-headline h1 {
  max-width: 11ch;
  font-family: "Garet", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(3rem, 9vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  text-transform: none;
}

.insight-article-headline p {
  margin: 0 0 0.4em;
  color: #3f3f40;
  font-size: clamp(1.08rem, 1.65vw, 1.42rem);
  font-weight: 600;
  line-height: 1.5;
}

.insight-article-image {
  position: relative;
  margin: clamp(34px, 6vw, 72px) 0 0;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: 720px;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f4f2;
  border: 1px solid rgba(12, 12, 13, 0.08);
}

.insight-article-image::after {
  content: none;
}

.insight-article-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.insight-article-image.image-fit-cover img {
  object-fit: cover;
}

.insight-article-layout {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 0.72fr);
  gap: clamp(34px, 7vw, 110px);
  padding-bottom: clamp(88px, 12vw, 150px);
}

.insight-article-meta {
  position: sticky;
  top: 112px;
  align-self: start;
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(12, 12, 13, 0.1);
  border-radius: 8px;
  background: rgba(12, 12, 13, 0.1);
}

.insight-article-meta div {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--paper);
}

.insight-article-meta span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-article-meta strong {
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.3;
}

.insight-article-meta strong a {
  color: inherit;
}

.insight-article-meta strong a:hover,
.insight-article-meta strong a:focus-visible {
  color: var(--gold);
}

.insight-article-body {
  max-width: 820px;
}

.insight-article-body .article-lede {
  color: var(--ink);
  font-size: clamp(1.32rem, 2.3vw, 2rem);
  font-weight: 650;
  line-height: 1.34;
  letter-spacing: -0.035em;
}

.insight-article-body h2 {
  margin: clamp(48px, 7vw, 80px) 0 18px;
  font-family: "Garet", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.insight-article-body p,
.insight-article-body li {
  color: #3f3f40;
  font-size: clamp(1.04rem, 1.25vw, 1.16rem);
  line-height: 1.76;
  font-weight: 400;
}

.insight-article-body p {
  margin-bottom: 22px;
}

.insight-article-body ol {
  display: grid;
  gap: 14px;
  margin: 0 0 clamp(52px, 7vw, 82px);
  padding-left: 1.2em;
}

.article-takeaways {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(36px, 5vw, 58px) 0;
  overflow: hidden;
  border: 1px solid rgba(12, 12, 13, 0.1);
  border-radius: 8px;
  background: rgba(12, 12, 13, 0.1);
}

.article-takeaways div {
  min-height: 220px;
  padding: clamp(22px, 3vw, 32px);
  display: grid;
  align-content: space-between;
  background: var(--ink);
  color: var(--paper);
}

.article-takeaways span {
  color: var(--gold);
  font-family: "Garet", Inter, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.article-takeaways strong {
  margin-top: auto;
  color: var(--paper);
  font-family: "Garet", Inter, system-ui, sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.article-takeaways p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  line-height: 1.5;
}

.insight-article-body blockquote {
  margin: clamp(42px, 6vw, 72px) 0;
  padding: clamp(26px, 4vw, 44px);
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Garet", Inter, system-ui, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.05em;
}

.article-next-step {
  margin-top: clamp(54px, 8vw, 92px);
  padding: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid rgba(12, 12, 13, 0.08);
}

.article-next-step h2 {
  margin-top: 10px;
}

.insight-cta {
  width: var(--container);
  margin: 0 auto 120px;
  padding: clamp(30px, 5vw, 54px);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(12, 12, 13, 0.08);
}

.insight-cta h2 {
  max-width: 820px;
  margin: 0;
  font-family: "Garet", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.insight-card.is-hiding {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.articles-carousel {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.carousel-counter {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--muted);
  min-width: 40px;
  text-align: center;
}

.carousel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(12, 12, 13, 0.14);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  flex-shrink: 0;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.carousel-btn:disabled {
  opacity: 0.28;
  cursor: default;
}

@media (max-width: 900px) {
  .insight-hero-deco {
    display: none;
  }

  .insight-featured-link {
    grid-template-columns: 1fr;
  }

  .insight-featured-media {
    aspect-ratio: 16 / 10;
  }

  .insight-featured-content strong {
    max-width: 12ch;
  }

  .insight-cta {
    align-items: start;
    flex-direction: column;
  }

  .insight-article-headline,
  .insight-article-layout,
  .article-next-step {
    grid-template-columns: 1fr;
  }

  .insight-article-headline h1 {
    max-width: 12ch;
  }

  .insight-article-meta {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-takeaways {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .insight-hero,
  .insight-filters-container,
  .articles-section {
    padding-left: 0;
    padding-right: 0;
  }

  .insight-filters {
    align-items: flex-start;
    flex-direction: column;
  }

  .insight-featured-link {
    min-height: auto;
  }

  .insight-featured-media {
    aspect-ratio: 4 / 3;
  }

  .insight-featured-content {
    padding: 24px;
  }

  .articles-grid {
    gap: 24px;
  }

  .carousel-nav {
    justify-content: center;
  }

  .insight-cta {
    margin-bottom: 80px;
  }

  .insight-article-hero,
  .insight-article-layout {
    width: min(100% - 32px, 1240px);
  }

  .insight-article-kicker {
    align-items: flex-start;
    flex-direction: column;
  }

  .insight-article-kicker span::before,
  .insight-article-kicker time::before {
    display: none;
  }

  .insight-article-image {
    aspect-ratio: 16 / 10;
  }

  .insight-article-meta {
    grid-template-columns: 1fr;
  }

  .article-takeaways div {
    min-height: 190px;
  }

  .article-next-step {
    padding: 24px;
  }
}

#read-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 3px;
  width: 0%;
  background: var(--gold);
  pointer-events: none;
  transition: width 60ms linear;
}

@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes revealUp {
      from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
      }
      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .scroll-reveal {
      animation: revealUp auto linear backwards;
      animation-timeline: view();
      animation-range: entry 5% entry 48%;
    }

    /* GSAP controls entrance animations for these homepage sections.
       The CSS scroll-driven animation must be disabled here because
       animation-timeline: view() overrides GSAP's inline opacity/transform
       in Chromium/Firefox, causing the elements to flicker (appear ↔
       disappear) as both systems fight over the same properties. */
    .home-problems .scroll-reveal,
    .home-solutions .scroll-reveal,
    .home-service .scroll-reveal {
      animation: none;
    }

    .articles-grid .insight-card {
      animation-delay: calc(var(--stagger, 0) * 80ms);
    }
  }
}

@media (prefers-reduced-motion: no-preference) {
  @supports not ((animation-timeline: view()) and (animation-range: entry)) {
    .scroll-reveal {
      opacity: 0;
      transform: translateY(40px) scale(0.96);
      transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                  transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

.display-title {
  max-width: none;
  margin: 0 0 clamp(40px, 6vw, 64px);
  font-family: "Geist", Inter, system-ui, sans-serif;
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-style: italic;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.triptych-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 48px);
}

.triptych-item {
  padding-top: 24px;
  border-top: 1px solid rgba(12, 12, 13, 0.14);
}

.triptych-number {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 550;
}

.triptych-item h3 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.triptych-item em {
  font-style: italic;
}

.triptych-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.65;
}

.solutions-band {
  width: 100%;
  background: var(--gold);
  border-radius: 40px;
}

.home-solutions .display-title,
.home-solutions .triptych-item h3 {
  color: var(--ink);
}

.home-solutions .triptych-number {
  color: rgba(12, 12, 13, 0.56);
}

.home-solutions .triptych-item {
  border-top-color: rgba(12, 12, 13, 0.2);
}

.home-solutions .triptych-item p {
  color: rgba(12, 12, 13, 0.68);
}

.home-service-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.home-service-header .display-title {
  margin-bottom: 0;
}

.home-service-tagline {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-style: normal;
  font-weight: 450;
  line-height: 1.45;
  text-align: right;
  color: var(--muted);
  white-space: nowrap;
}

.home-solutions .home-service-tagline {
  color: rgba(12, 12, 13, 0.68);
}

.service-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(12, 12, 13, 0.14);
}

.service-split-item {
  padding: 28px clamp(24px, 4vw, 48px) 0 0;
}

.service-split-item + .service-split-item {
  padding-right: 0;
  padding-left: clamp(24px, 4vw, 48px);
  border-left: 1px solid rgba(12, 12, 13, 0.14);
}

.service-split-item h3 {
  margin: 14px 0 18px;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-style: normal;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.service-split-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
  line-height: 1.65;
}

.service-split-item a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

@media (min-width: 901px) {
  .service-split-item a:hover {
    color: var(--gold);
  }
}

@media (max-width: 900px) {
  .solutions-band {
    border-radius: 28px;
  }

  .triptych-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .service-split-item {
    padding-right: 0;
    padding-bottom: 32px;
  }

  .service-split-item + .service-split-item {
    padding-left: 0;
    padding-top: 28px;
    border-left: none;
    border-top: 1px solid rgba(12, 12, 13, 0.14);
  }

  .home-service-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .home-service-tagline {
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 560px) {
  .solutions-band {
    border-radius: 20px;
  }
}
