@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/dm-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/dm-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b0811;
  --ink-soft: #191126;
  --paper: #f8f6fc;
  --paper-2: #eeeaf8;
  --white: #ffffff;
  --muted: #6f6979;
  --line: rgba(11, 8, 17, 0.14);
  --line-light: rgba(255, 255, 255, 0.17);
  --brand: #6732d1;
  --brand-dark: #3f168c;
  --coral: #9a73ff;
  --lilac: #ddd3f8;
  --lime: #eae6f3;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 64px);
  --header: 86px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .75, .25, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol { margin-top: 0; }
::selection { color: var(--white); background: var(--brand); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--brand);
  border-radius: 999px;
  transform: translateY(-180%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.container { width: min(calc(100% - (2 * var(--gutter))), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 150px); }
.section-sm { padding-block: clamp(56px, 7vw, 100px); }
.section-dark { color: var(--white); background: var(--ink); }
.section-brand { color: var(--white); background: var(--brand); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.eyebrow::before { width: 26px; height: 1px; content: ""; background: currentColor; }
.display, .section-title, .page-title, .card-title {
  font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}
.display { max-width: 1040px; margin-bottom: 36px; font-size: clamp(52px, 8.5vw, 132px); }
.display .accent, .page-title .accent, .section-title .accent {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.07em;
}
.section-title { max-width: 900px; margin-bottom: 30px; font-size: clamp(40px, 6vw, 84px); }
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: end;
  margin-bottom: clamp(48px, 7vw, 92px);
}
.section-intro .section-title { margin-bottom: 0; }
.section-copy { max-width: 580px; margin-bottom: 0; color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); }
.section-dark .section-copy, .section-brand .section-copy { color: rgba(255, 255, 255, .68); }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
  line-height: 1;
  transition: color 240ms var(--ease), background 240ms var(--ease), border-color 240ms var(--ease), transform 240ms var(--ease);
}
/* Decorative vector arrows do not use a platform emoji font. */
.grimor-icon-arrow, .button:not(.directory-toggle)::after, .text-link::after, .nav-overview::after {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  vertical-align: -.1em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M5 5h14v14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 19 19 5M5 5h14v14' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.button:not(.directory-toggle)::after, .text-link::after, .nav-overview::after { content: ""; }
@media (forced-colors: active) {
  .grimor-icon-arrow, .button:not(.directory-toggle)::after, .text-link::after, .nav-overview::after {
    color: inherit;
    forced-color-adjust: preserve-parent-color;
  }
  /* Give vector icons the system canvas behind them, including over hero images. */
  .button:not(.directory-toggle), .text-link, .nav-overview, :has(> .grimor-icon-arrow) {
    background-color: Canvas;
  }
}
.button::after { font-size: 17px; transition: transform 240ms var(--ease); }
.button:hover { transform: translateY(-2px); }
.button:hover::after { transform: translate(3px, -3px); }
.button-primary { color: var(--white); background: var(--brand); }
.button-primary:hover { background: var(--brand-dark); }
.button-light { color: var(--ink); background: var(--white); }
.button-ghost { color: inherit; border-color: currentColor; background: transparent; }
.button-ghost:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-weight: 600; }
.text-link::after { transition: transform 200ms ease; }
.text-link:hover::after { transform: translate(3px, -3px); }

/* Header */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header);
  color: var(--ink);
  transition: background 260ms ease, color 260ms ease, box-shadow 260ms ease;
}
.site-header.on-dark:not(.is-scrolled) { color: var(--white); }
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(248, 246, 252, .92);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex;
  width: min(calc(100% - (2 * var(--gutter))), 1440px);
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin-inline: auto;
}
.brand-logo {
  position: relative;
  z-index: 1002;
  display: block;
  width: clamp(126px, 11vw, 158px);
  line-height: 0;
}
.brand-logo img { width: 100%; height: auto; }
.site-header.on-dark:not(.is-scrolled) .brand-logo img,
.site-footer .brand-logo img,
.page-hero-dark .brand-logo img,
.menu-open .brand-logo img { filter: brightness(0) saturate(100%) invert(76%) sepia(27%) saturate(2866%) hue-rotate(201deg) brightness(104%) contrast(101%); }
.site-header.is-scrolled .brand-logo img { filter: none; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 40px); }
.site-nav > a { position: relative; padding-block: 10px; font-size: 14px; font-weight: 500; }
.site-nav > a:not(.nav-cta)::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}
.site-nav > a:hover::after, .site-nav > a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 12px 18px !important; color: var(--white); background: var(--brand); border-radius: 999px; }
.nav-cta:hover { background: var(--brand-dark); }
.menu-toggle {
  position: relative;
  z-index: 1002;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  cursor: pointer;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 1px;
  content: "";
  background: currentColor;
  transition: transform 220ms ease, opacity 220ms ease;
}
.menu-toggle::before { top: 17px; }
.menu-toggle span { top: 23px; }
.menu-toggle::after { top: 29px; }
.menu-open .menu-toggle span { opacity: 0; }
.menu-open .menu-toggle::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle::after { transform: translateY(-6px) rotate(-45deg); }

/* Home hero */
.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: #08060d;
}
.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 6, 13, .98) 0%, rgba(15, 9, 25, .78) 42%, rgba(20, 8, 40, .08) 75%),
    linear-gradient(0deg, rgba(8, 6, 13, .88) 0%, transparent 45%),
    linear-gradient(135deg, rgba(103, 50, 209, .10), rgba(8, 6, 13, .03)),
    url("../images/grimor-hero-purple.jpg") center / cover no-repeat;
  transform: scale(1.02);
  animation: hero-in 1.6s var(--ease) both;
}
.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: .25;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  pointer-events: none;
}
@keyframes hero-in { from { opacity: .2; transform: scale(1.1); } }
.hero-inner { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--header) + 72px); padding-bottom: clamp(50px, 7vh, 90px); }
.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(38px, 8vh, 90px);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-kicker span:last-child { display: flex; align-items: center; gap: 9px; }
.hero-kicker span:last-child::before { width: 7px; height: 7px; content: ""; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 6px rgba(154, 115, 255, .14); }
.hero .display { max-width: 940px; margin-bottom: 38px; font-size: clamp(54px, 8vw, 122px); }
.hero-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr); gap: 40px; align-items: end; }
.hero-copy { max-width: 570px; margin-bottom: 0; color: rgba(255, 255, 255, .66); font-size: clamp(17px, 1.6vw, 21px); }
.hero-actions { justify-content: flex-end; }
.client-strip { overflow: hidden; padding-block: 22px; color: var(--ink); background: var(--coral); border-top: 1px solid rgba(0, 0, 0, .15); border-bottom: 1px solid rgba(0, 0, 0, .15); }
.marquee { display: flex; width: max-content; align-items: center; animation: marquee 30s linear infinite; }
.marquee span { display: flex; align-items: center; gap: 28px; padding-right: 28px; font-family: "Manrope", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.marquee span::after { content: "✳"; font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.service-card {
  position: relative;
  display: flex;
  min-height: 390px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 300ms var(--ease), color 300ms ease, background 300ms ease;
}
.service-card:nth-child(1), .service-card:nth-child(4) { grid-column: span 7; }
.service-card:nth-child(2), .service-card:nth-child(3) { grid-column: span 5; }
.service-card:nth-child(1) { color: var(--white); background: var(--brand); border-color: var(--brand); }
.service-card:nth-child(2) { background: var(--lilac); }
.service-card:nth-child(3) { background: var(--lime); }
.service-card:nth-child(4) { color: var(--white); background: var(--ink); }
.service-card::after { position: absolute; right: -80px; bottom: -80px; width: 220px; height: 220px; content: ""; border: 1px solid currentColor; border-radius: 50%; opacity: .24; transition: transform 600ms var(--ease); }
.service-card:hover { transform: translateY(-7px); }
.service-card:hover::after { transform: scale(1.35); }
.service-number { font-size: 13px; letter-spacing: .12em; }
.service-card h3 { max-width: 520px; margin-bottom: 16px; font-family: "Manrope", sans-serif; font-size: clamp(32px, 4vw, 58px); font-weight: 500; letter-spacing: -.055em; line-height: 1; }
.service-card p { max-width: 460px; margin-bottom: 0; opacity: .72; }
.service-card .card-arrow { position: absolute; top: 30px; right: 30px; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid currentColor; border-radius: 50%; transition: transform 260ms var(--ease), background 260ms ease; }
.service-card:hover .card-arrow { transform: rotate(45deg); background: rgba(255, 255, 255, .15); }

/* Work */
.work-list { border-top: 1px solid var(--line-light); }
.work-card { display: grid; grid-template-columns: minmax(0, .58fr) minmax(420px, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; padding-block: clamp(38px, 6vw, 74px); border-bottom: 1px solid var(--line-light); }
.work-meta { display: flex; min-height: 250px; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.work-index { color: rgba(255, 255, 255, .48); font-size: 12px; letter-spacing: .14em; }
.work-card h3 { margin-bottom: 18px; font-family: "Manrope", sans-serif; font-size: clamp(36px, 4.8vw, 68px); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.work-card p { margin-bottom: 28px; color: rgba(255, 255, 255, .58); }
.work-visual { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink-soft); border-radius: var(--radius); }
.work-visual img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.88); transform: scale(1.02); transition: transform 700ms var(--ease), filter 400ms ease; }
.work-card:hover img, .portfolio-card:hover img { filter: saturate(1.06); transform: scale(1.07); }
.work-visual::after { position: absolute; inset: 0; content: ""; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); border-radius: inherit; pointer-events: none; }

/* Process + stats */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.process-item { min-height: 310px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-item span { display: block; margin-bottom: 90px; color: var(--brand); font-size: 12px; letter-spacing: .12em; }
.process-item h3 { margin-bottom: 14px; font-size: 22px; }
.process-item p { margin-bottom: 0; color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.stat { min-height: 230px; padding: 32px; background: var(--ink); }
.stat strong { display: block; margin-bottom: 48px; color: var(--coral); font-family: "Manrope", sans-serif; font-size: clamp(48px, 6vw, 80px); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.stat span { color: rgba(255, 255, 255, .62); }

/* Insights */
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.insight-card { display: flex; min-height: 390px; flex-direction: column; justify-content: space-between; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 280ms var(--ease), box-shadow 280ms ease; }
.insight-card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(34, 25, 30, .1); }
.insight-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.insight-card:nth-child(2) { background: var(--lilac); }
.insight-card:nth-child(3) { background: var(--lime); }
.insight-card h3 { margin-bottom: 22px; font-family: "Manrope", sans-serif; font-size: clamp(26px, 3vw, 38px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; }

/* CTA */
.cta-panel { position: relative; overflow: hidden; padding: clamp(50px, 8vw, 110px); border-radius: clamp(24px, 4vw, 48px); }
.cta-panel::after { position: absolute; top: 50%; right: -6%; width: min(34vw, 460px); aspect-ratio: 1; content: ""; border: 1px solid rgba(255, 255, 255, .34); border-radius: 50%; transform: translateY(-50%); }
.cta-panel h2 { position: relative; z-index: 1; max-width: 830px; margin-bottom: 35px; font-family: "Manrope", sans-serif; font-size: clamp(44px, 7vw, 92px); font-weight: 500; letter-spacing: -.06em; line-height: .98; }

/* Inner pages */
.page-hero { position: relative; display: flex; min-height: min(760px, 88svh); align-items: flex-end; padding-top: calc(var(--header) + 90px); padding-bottom: clamp(66px, 9vw, 126px); overflow: hidden; }
.page-hero-dark { color: var(--white); background: var(--ink); }
.page-hero-brand { color: var(--white); background: var(--brand); }
.page-hero::after { position: absolute; top: 18%; right: -7vw; width: min(42vw, 600px); aspect-ratio: 1; content: ""; border: 1px solid currentColor; border-radius: 50%; opacity: .14; }
.page-hero .container { position: relative; z-index: 1; }
.page-title { max-width: 1060px; margin-bottom: 36px; font-size: clamp(54px, 9.2vw, 138px); }
.page-lead { max-width: 690px; margin-bottom: 0; color: var(--muted); font-size: clamp(18px, 2vw, 24px); }
.page-hero-dark .page-lead, .page-hero-brand .page-lead { color: rgba(255, 255, 255, .68); }
.page-count { position: absolute; right: var(--gutter); bottom: 34px; color: rgba(255, 255, 255, .52); font-size: 12px; letter-spacing: .14em; }
.split-content { display: grid; grid-template-columns: minmax(240px, .55fr) minmax(0, 1fr); gap: clamp(48px, 10vw, 160px); }
.split-label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.rich-text { max-width: 790px; }
.rich-text .large-copy { margin-bottom: 46px; font-family: "Manrope", sans-serif; font-size: clamp(30px, 4vw, 54px); font-weight: 500; letter-spacing: -.045em; line-height: 1.12; }
.rich-text p { color: var(--muted); font-size: 18px; }
.rich-text h2, .rich-text h3 { margin-top: 55px; margin-bottom: 18px; font-family: "Manrope", sans-serif; letter-spacing: -.035em; }
.rich-text h2 { font-size: clamp(32px, 4vw, 48px); }
.rich-text h3 { font-size: 26px; }
.rich-text ul, .rich-text ol { display: grid; gap: 13px; padding-left: 22px; color: var(--muted); font-size: 18px; }
.value-grid, .service-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.value-card, .service-list-card { min-height: 300px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); }
.value-card:nth-child(2n) { background: var(--white); }
.value-card span, .service-list-card span { display: block; margin-bottom: 80px; color: var(--brand); font-size: 12px; letter-spacing: .12em; }
.value-card h3, .service-list-card h2, .service-list-card h3 { margin-bottom: 15px; font-family: "Manrope", sans-serif; font-size: 30px; font-weight: 500; letter-spacing: -.04em; line-height: 1.08; }
.value-card p, .service-list-card p { margin-bottom: 0; color: var(--muted); }
.service-list-card { display: flex; min-height: 390px; flex-direction: column; transition: transform 260ms var(--ease), background 260ms ease; }
.service-list-card:hover { color: var(--white); background: var(--brand); border-color: var(--brand); transform: translateY(-5px); }
.service-list-card:hover p, .service-list-card:hover span { color: rgba(255, 255, 255, .7); }
.service-list-card .text-link { margin-top: auto; align-self: flex-start; }
.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line-light); }
.deliverable { display: grid; min-height: 150px; grid-template-columns: 60px 1fr; gap: 18px; align-items: center; border-bottom: 1px solid var(--line-light); }
.deliverable:nth-child(odd) { border-right: 1px solid var(--line-light); }
.deliverable span { color: var(--coral); font-size: 12px; }
.deliverable h3 { margin: 0; font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; }

/* Portfolio */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 46px; }
.filter-button { padding: 10px 16px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 14px; }
.filter-button:hover, .filter-button.is-active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.portfolio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 58px) 18px; }
.portfolio-card[hidden] { display: none; }
.portfolio-image { overflow: hidden; aspect-ratio: 16 / 11; margin-bottom: 21px; background: var(--paper-2); border-radius: var(--radius); }
.portfolio-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease), filter 400ms ease; }
.portfolio-card:nth-child(3n + 1) .portfolio-image { background: var(--lilac); }
.portfolio-card:nth-child(3n + 2) .portfolio-image { background: var(--lime); }
.portfolio-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.portfolio-meta h2 { margin-bottom: 5px; font-family: "Manrope", sans-serif; font-size: clamp(24px, 3vw, 36px); font-weight: 500; letter-spacing: -.04em; }
.portfolio-meta p { margin: 0; color: var(--muted); }
.portfolio-meta span { font-size: 20px; }

/* Blog */
.blog-featured { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 520px; margin-bottom: 70px; overflow: hidden; color: var(--white); background: var(--brand); border-radius: var(--radius); }
.blog-featured-visual { position: relative; min-height: 440px; background: radial-gradient(circle at 30% 35%, rgba(255,255,255,.3) 0 2%, transparent 3%), repeating-linear-gradient(120deg, transparent 0 42px, rgba(255,255,255,.09) 43px 44px), linear-gradient(135deg, var(--brand-dark), var(--coral)); }
.blog-featured-visual::before, .blog-featured-visual::after { position: absolute; content: ""; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }
.blog-featured-visual::before { inset: 16% 23% 16% 23%; }
.blog-featured-visual::after { inset: 32% 8% 4% 40%; }
.blog-featured-content { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(32px, 5vw, 68px); }
.blog-featured-content h2 { margin-bottom: 24px; font-family: "Manrope", sans-serif; font-size: clamp(34px, 4vw, 58px); font-weight: 500; letter-spacing: -.05em; line-height: 1.02; }
.blog-featured-content p { color: rgba(255,255,255,.7); }
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card { min-height: 360px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform 260ms var(--ease); }
.article-card:hover { transform: translateY(-5px); }
.article-card:nth-child(4n + 2) { background: var(--lilac); }
.article-card:nth-child(4n + 3) { background: var(--lime); }
.article-card:nth-child(4n + 4) { color: var(--white); background: var(--ink); }
.article-card .article-meta { display: flex; justify-content: space-between; margin-bottom: 95px; color: var(--muted); font-size: 12px; text-transform: uppercase; }
.article-card:nth-child(4n + 4) .article-meta { color: rgba(255,255,255,.56); }
.article-card h2 { margin-bottom: 24px; font-family: "Manrope", sans-serif; font-size: 28px; font-weight: 500; letter-spacing: -.04em; line-height: 1.12; }
.article-hero { min-height: 600px; }
.article-shell { display: grid; grid-template-columns: minmax(180px, .35fr) minmax(0, 760px) minmax(180px, .35fr); gap: 40px; }
.article-aside { position: sticky; top: 120px; align-self: start; color: var(--muted); font-size: 13px; }
.article-aside strong { display: block; margin-bottom: 8px; color: var(--ink); }
.article-body { font-size: 19px; }
.article-body > p:first-child { color: var(--ink); font-family: "Manrope", sans-serif; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; line-height: 1.3; }
.article-body p { color: #4d474e; }
.article-body h2 { margin: 64px 0 20px; font-size: 36px; letter-spacing: -.04em; line-height: 1.15; }
.article-body h3 { margin: 44px 0 16px; font-size: 25px; }
.article-body blockquote { margin: 55px 0; padding: 35px 0 35px 32px; color: var(--brand); border-left: 3px solid var(--brand); font-size: 27px; line-height: 1.35; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(260px, .48fr) minmax(0, 1fr); gap: clamp(48px, 9vw, 130px); }
.form-side h2 { margin-bottom: 25px; font-family: "Manrope", sans-serif; font-size: clamp(34px, 4vw, 56px); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; }
.form-side p { color: var(--muted); }
.form-side address { margin-top: 42px; font-style: normal; }
.form-side address a { display: block; margin-bottom: 7px; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label, .fieldset-title { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; padding: 15px 16px; color: var(--ink); background: rgba(255,255,255,.55); border: 1px solid var(--line); border-radius: 10px; outline: none; transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: var(--white); border-color: var(--brand); box-shadow: 0 0 0 3px rgba(103, 50, 209, .13); }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice label { display: block; padding: 13px 15px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px; }
.choice input:checked + label { color: var(--white); background: var(--brand); border-color: var(--brand); }
.form-note { color: var(--muted); font-size: 12px; }
.form-status { display: none; grid-column: 1 / -1; padding: 16px; color: #2e653f; background: #e0f3e5; border: 1px solid #b8d9c0; border-radius: 10px; }
.form-status.is-visible { display: block; }
.map-card { position: relative; min-height: 520px; overflow: hidden; background: linear-gradient(rgba(197,179,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(197,179,255,.1) 1px, transparent 1px), var(--ink-soft); background-size: 44px 44px; border-radius: var(--radius); }
.map-card::before { position: absolute; top: 50%; left: 52%; width: 26px; height: 26px; content: ""; background: var(--coral); border: 7px solid var(--white); border-radius: 50% 50% 50% 0; box-shadow: 0 10px 30px rgba(0,0,0,.34); transform: translate(-50%, -50%) rotate(-45deg); }
.map-card-content { position: absolute; right: 24px; bottom: 24px; left: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; color: var(--ink); background: var(--white); border-radius: 14px; }
.map-card-content p { margin: 0; }

/* Footer */
.site-footer { padding-top: clamp(70px, 9vw, 130px); color: var(--white); background: #08060d; }
.footer-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; padding-bottom: clamp(70px, 8vw, 110px); }
.footer-title { max-width: 730px; margin-bottom: 36px; font-family: "Manrope", sans-serif; font-size: clamp(45px, 7vw, 96px); font-weight: 500; letter-spacing: -.06em; line-height: .98; }
.footer-title span { color: var(--coral); font-family: Georgia, serif; font-style: italic; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 35px; align-content: end; }
.footer-links h3 { margin-bottom: 18px; color: rgba(255,255,255,.4); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.footer-links a { display: block; margin-bottom: 9px; color: rgba(255,255,255,.74); }
.footer-links a:hover { color: var(--coral); }
.footer-bottom { display: flex; min-height: 84px; align-items: center; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.42); border-top: 1px solid var(--line-light); font-size: 12px; }
.footer-bottom-links { display: flex; gap: 20px; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  :root { --header: 74px; }
  .site-nav { position: fixed; z-index: 1001; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 90px var(--gutter) 50px; color: var(--white); background: var(--ink); opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-14px); transition: opacity 260ms ease, transform 260ms var(--ease), visibility 0s linear 260ms; }
  .menu-open .site-nav { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
  .site-nav > a { font-family: "Manrope", sans-serif; font-size: clamp(32px, 7vw, 64px); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; }
  .site-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 18px; padding: 16px 22px !important; font-size: 18px !important; letter-spacing: 0 !important; }
  .menu-toggle { display: block; }
  .menu-open .menu-toggle { color: var(--white); }
  .hero-bottom, .section-intro, .footer-top, .form-layout, .split-content { grid-template-columns: 1fr; }
  .hero-actions { justify-content: flex-start; }
  .section-intro { align-items: start; }
  .service-card:nth-child(n) { grid-column: span 6; }
  .work-card { grid-template-columns: .7fr 1fr; }
  .process-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .service-list-grid, .insights-grid, .article-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-featured { grid-template-columns: 1fr; }
  .article-shell { grid-template-columns: minmax(150px, .25fr) minmax(0, 1fr); }
  .article-shell > :last-child { display: none; }
}

@media (max-width: 700px) {
  :root { --gutter: 20px; }
  .section { padding-block: 76px; }
  .section-sm { padding-block: 58px; }
  .hero { min-height: 820px; }
  .hero::before { background-position: 63% center; }
  .hero-kicker span:first-child { display: none; }
  .hero-kicker { justify-content: flex-end; margin-bottom: 52px; }
  .hero .display { font-size: clamp(50px, 15vw, 76px); }
  .hero-bottom { gap: 28px; }
  .button-row { align-items: stretch; }
  .button-row .button { flex: 1 1 auto; }
  .service-card:nth-child(n), .value-grid, .service-list-grid, .insights-grid, .article-grid, .portfolio-grid, .process-grid, .stats-grid, .deliverables { grid-template-columns: 1fr; }
  .service-card:nth-child(n) { grid-column: 1 / -1; min-height: 330px; }
  .work-card { grid-template-columns: 1fr; gap: 28px; }
  .work-meta { min-height: 0; }
  .work-index { margin-bottom: 55px; }
  .process-item { min-height: 240px; }
  .process-item span { margin-bottom: 48px; }
  .deliverable:nth-child(odd) { border-right: 0; }
  .blog-featured { min-height: 0; }
  .blog-featured-visual { min-height: 300px; }
  .article-shell { grid-template-columns: 1fr; }
  .article-aside { position: static; }
  .form { grid-template-columns: 1fr; }
  .field-full { grid-column: 1; }
  .choice-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 430px; }
  .map-card-content { align-items: flex-start; flex-direction: column; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; }
  .page-hero { min-height: 680px; }
  .page-title { font-size: clamp(52px, 15vw, 84px); }
  .page-count { display: none; }
  .cta-panel::after { display: none; }
}

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