/* KajaxCodeLab — ReaTech-inspired visual language, implemented with original brand assets/content. */
:root {
  --canvas: #f5f6f9;
  --surface: #ffffff;
  --surface-soft: #eef0f5;
  --ink: #111827;
  --muted: #697386;
  --line: rgba(24, 37, 57, 0.1);
  --accent: #1976c9;
  --accent-deep: #0f5fa9;
  --night: #0b1728;
  --night-soft: #142238;
  --radius-panel: 44px;
  --radius-card: 28px;
  --shadow-soft: 0 16px 44px rgba(16, 27, 46, 0.08);
  --shadow-card: 0 20px 52px rgba(12, 24, 43, 0.12);
}
html[data-theme="dark"] {
  --canvas: #0d1520;
  --surface: #151f2d;
  --surface-soft: #1b2737;
  --ink: #f4f6fb;
  --muted: #a7b2c3;
  --line: rgba(235, 241, 250, 0.12);
  --accent: #70b8f5;
  --accent-deep: #4099e1;
  --night: #081321;
  --night-soft: #101d2d;
  --shadow-soft: 0 16px 44px rgba(0, 0, 0, 0.22);
  --shadow-card: 0 20px 52px rgba(0, 0, 0, 0.28);
}
html {
  scroll-padding-top: 112px;
}
body {
  background: var(--canvas);
  color: var(--ink);
  transition:
    background-color 0.25s,
    color 0.25s;
}
html[data-theme="light"] body,
html[data-theme="dark"] body {
  background: var(--canvas);
  color: var(--ink);
}
.container {
  width: min(1260px, calc(100% - 64px));
}
::selection {
  background: rgba(25, 118, 201, 0.2);
}
.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;
}

/* Shared pill header and icon-label navigation. */
.site-header {
  position: sticky;
  top: 10px;
  width: min(1420px, calc(100% - 28px));
  margin: 12px auto 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}
.header-inner {
  position: relative;
  width: 100%;
  max-width: none;
  height: 74px;
  gap: 14px;
  padding: 8px 12px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 8px 28px rgba(25, 36, 55, 0.08);
  backdrop-filter: blur(20px);
}
html[data-theme="dark"] .header-inner {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(21, 31, 45, 0.9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}
.brand {
  gap: 9px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  background: var(--night);
  box-shadow: none;
}
.brand-name {
  font-size: 18px;
  letter-spacing: -0.65px;
  color: var(--ink);
}
.brand-name span {
  color: var(--accent);
}
.site-nav {
  gap: 3px;
}
.site-nav > a:not(.button) {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  color: #50596a;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    color 0.2s,
    background-color 0.2s,
    transform 0.2s;
}
html[data-theme="dark"] .site-nav > a:not(.button) {
  color: #c2cada;
}
.site-nav > a:not(.button)::before {
  content: "";
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eef0f5;
  color: #4b5566;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.site-nav > a:nth-child(1)::before {
  content: "⌂";
}
.site-nav > a:nth-child(2)::before {
  content: "i";
}
.site-nav > a:nth-child(3)::before {
  content: "▤";
}
.site-nav > a:nth-child(4)::before {
  content: "▱";
}
.site-nav > a:nth-child(5)::before {
  content: "▣";
}
.site-nav > a:nth-child(6)::before {
  content: "◉";
}
.site-nav > a[aria-current="page"] {
  color: var(--accent);
  background: var(--surface);
  box-shadow: 0 3px 12px rgba(20, 35, 56, 0.08);
}
.site-nav > a[aria-current="page"]::before {
  color: #fff;
  background: var(--accent);
}
.site-nav > a:not(.button):hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.72);
}
.site-nav .nav-cta {
  min-height: 48px;
  margin-left: 5px;
  padding-inline: 20px 10px;
  border-radius: 999px;
  background: var(--night);
  color: #fff;
  font-size: 13px;
  box-shadow: none;
}
.site-nav .nav-cta:hover {
  background: #20314a;
}
.site-nav .nav-cta span[aria-hidden="true"] {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--night);
  font-size: 16px;
}
.theme-toggle {
  width: 48px;
  min-width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #eef0f5;
  color: var(--ink);
  box-shadow: none;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
.theme-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 13px;
  border-radius: 50%;
  background: #eef0f5;
}
.menu-toggle span {
  height: 1.7px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--ink);
}

/* Universal capsule actions, section labels and card geometry. */
.button {
  min-height: 52px;
  padding-inline: 22px;
  border-radius: 999px;
  font-weight: 700;
}
.button-primary {
  background: var(--accent);
  box-shadow: 0 8px 22px rgba(25, 118, 201, 0.2);
}
.button-primary:hover {
  background: var(--accent-deep);
}
.button-light {
  border-radius: 999px;
}
.button-quiet {
  border-radius: 999px;
}
.round-arrow {
  border-radius: 50%;
}
.eyebrow {
  letter-spacing: 1.2px;
}
.text-accent {
  color: var(--accent);
}
.section-heading h2,
.intro-heading h2,
.solutions-intro h2,
.process-heading h2,
.audience-copy h2,
.difference-heading h2,
.conversation-layout h2,
.contact-copy h2 {
  letter-spacing: -2.4px;
}
.section-space {
  padding-block: 88px;
}
.service-card,
.solution-card,
.work-card,
.insight-card,
.process-step,
.value-card,
.offering-card,
.portfolio-card,
.blog-article,
.blog-card {
  border-radius: var(--radius-card);
}

/* Home: cinematic KajaxCodeLab hero, original photo, and paired work previews. */
.page-home .home-hero {
  position: relative;
  isolation: isolate;
  min-height: min(860px, calc(100vh - 112px));
  margin: 14px 12px 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-panel);
  color: #fff;
  background: var(--night) url("/assets/images/kajax-home-hero.webp") center
    48% / cover no-repeat;
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 13, 24, 0.38) 0%,
      rgba(5, 13, 24, 0.28) 30%,
      rgba(5, 13, 24, 0.42) 58%,
      rgba(5, 13, 24, 0.9) 100%
    ),
    linear-gradient(90deg, rgba(5, 13, 24, 0.36), transparent 78%);
}
.page-home .hero-grid {
  min-height: inherit;
  display: block;
}
.page-home .hero-copy {
  position: static;
  width: min(940px, calc(100% - 48px));
  margin-inline: auto;
  padding-top: clamp(132px, 19vh, 190px);
  text-align: center;
}
.page-home .hero-copy .eyebrow {
  justify-content: center;
  color: #d7eaff;
}
.page-home .hero-copy h1 {
  max-width: 950px;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(54px, 7.6vw, 108px);
  line-height: 0.99;
  letter-spacing: -5px;
}
.page-home .hero-copy .text-accent {
  color: #b8dcff;
}
.page-home .hero-lede {
  max-width: 670px;
  margin: 25px auto 0;
  color: rgba(244, 247, 252, 0.82);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}
.page-home .hero-actions {
  position: absolute;
  z-index: 4;
  top: 18px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  pointer-events: none;
}
.page-home .hero-actions .button {
  min-height: 52px;
  padding-inline: 25px;
  pointer-events: auto;
  color: #101827;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(14px);
}
.page-home .hero-actions .button:hover {
  background: #fff;
}
.page-home .hero-actions .button-quiet {
  color: #101827;
}
.page-home .hero-actions .round-arrow {
  display: none;
}
.page-home .hero-proof,
.page-home .hero-bottom {
  display: none;
}
.page-home .hero-visual {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  width: min(43%, 510px);
  height: 260px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 27px;
  background: rgba(10, 20, 34, 0.85);
  box-shadow: var(--shadow-card);
}
.page-home .hero-visual::before {
  display: none;
}
.page-home .hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0.75;
}
.page-home .visual-note {
  left: 16px;
  right: 16px;
  bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(8, 18, 31, 0.78);
  color: #fff;
  backdrop-filter: blur(12px);
}
.page-home .visual-note strong {
  color: #fff;
}
.page-home .visual-note small {
  color: rgba(241, 245, 251, 0.72);
}
.page-home .visual-index {
  top: 14px;
  left: 17px;
  color: rgba(255, 255, 255, 0.82);
}
.hero-project-card {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  width: min(43%, 510px);
  height: 260px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 27px;
  background: var(--night-soft);
  box-shadow: var(--shadow-card);
}
.hero-project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.hero-project-card:hover img {
  transform: scale(1.04);
}
.hero-project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(7, 15, 27, 0.86));
}
.hero-project-card-copy {
  position: absolute;
  z-index: 1;
  left: 23px;
  right: 23px;
  bottom: 18px;
  color: #fff;
}
.hero-project-card-copy small {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-project-card-copy strong {
  font: 700 20px/1.2 var(--font-head);
}
.home-intro,
.conversation-band,
.contact-bottom-band {
  border-radius: var(--radius-panel);
  margin: 14px 12px;
}
.page-home .services-section,
.page-home .work-section,
.page-home .process-section,
.page-home .difference-section,
.page-home .insights-section {
  padding-block: 94px;
}

/* About: full-width photo introduction and spacious story panels. */
.page-about .page-hero {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  margin: 14px 12px 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-panel);
  color: #fff;
  background: var(--night) url("/assets/images/kajax-about-hero.webp") center
    46% / cover no-repeat;
}
.page-about .page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(6, 15, 28, 0.78),
      rgba(6, 15, 28, 0.45) 55%,
      rgba(6, 15, 28, 0.36)
    ),
    linear-gradient(0deg, rgba(6, 15, 28, 0.35), transparent 55%);
}
.page-about .page-hero-grid {
  width: min(1040px, calc(100% - 64px));
  min-height: 610px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding-block: 100px;
  text-align: center;
}
.page-about .page-hero-grid > div {
  max-width: 900px;
}
.page-about .page-hero .eyebrow {
  justify-content: center;
  color: #d7eaff;
}
.page-about .page-hero h1 {
  max-width: 900px;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(48px, 6.6vw, 86px);
  line-height: 1.03;
  letter-spacing: -4px;
}
.page-about .page-hero .text-accent {
  color: #c2e1ff;
}
.page-about .page-lede {
  max-width: 710px;
  margin: 22px auto 27px;
  color: rgba(244, 247, 252, 0.82);
  font-size: 18px;
}
.page-about .page-hero .hero-actions {
  justify-content: center;
}
.page-about .page-hero .button-primary {
  background: #fff;
  color: #101827;
  box-shadow: none;
}
.page-about .page-hero .button-quiet {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding-inline: 22px;
}
.page-about .about-highlight {
  max-width: 520px;
  padding: 19px 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background: rgba(9, 20, 34, 0.42);
  color: #fff;
  text-align: left;
  backdrop-filter: blur(12px);
}
.page-about .about-highlight p {
  margin: 5px 0 9px;
  color: rgba(255, 255, 255, 0.84);
}
.page-about .about-highlight p strong {
  color: #fff;
}
.page-about .about-highlight-kicker,
.page-about .about-highlight-foot {
  color: rgba(255, 255, 255, 0.7);
}
.page-about .about-story,
.page-products .about-story {
  margin: 14px 12px;
  padding-block: 95px;
  border-radius: var(--radius-panel);
  background: var(--surface-soft);
  color: var(--ink);
}
.page-about .about-story .eyebrow-light,
.page-products .about-story .eyebrow-light {
  color: var(--accent);
}
.page-about .about-story h2,
.page-products .about-story h2 {
  color: var(--ink);
}
.page-about .about-story h2 span,
.page-products .about-story h2 span {
  color: var(--accent);
}
.page-about .about-story-copy p,
.page-products .about-story-copy p {
  color: var(--muted);
}
.page-about .about-story .text-link-light,
.page-products .about-story .text-link-light {
  color: var(--accent);
}
.page-about .about-values,
.page-about .about-process {
  padding-block: 82px;
}
.page-about .about-values .value-card,
.page-about .about-process .page-process-grid li {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.page-about .about-audience {
  margin: 14px 12px;
  border-radius: var(--radius-panel);
}

/* Products & services: photographic banner and substantial, rounded service cards. */
.page-products .page-hero {
  position: relative;
  isolation: isolate;
  min-height: 490px;
  margin: 14px 12px 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-panel);
  color: #fff;
  background: var(--night) url("/assets/images/kajax-services-hero.webp") center
    48% / cover no-repeat;
}
.page-products .page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 14, 27, 0.76),
      rgba(5, 14, 27, 0.42) 62%,
      rgba(5, 14, 27, 0.3)
    ),
    linear-gradient(0deg, rgba(5, 14, 27, 0.45), transparent 70%);
}
.page-products .page-hero-grid {
  width: min(1240px, calc(100% - 72px));
  min-height: 490px;
  grid-template-columns: 1fr;
  align-content: center;
  text-align: center;
}
.page-products .page-hero-grid > div {
  max-width: 890px;
  margin-inline: auto;
}
.page-products .page-hero .eyebrow {
  justify-content: center;
  color: #d8eaff;
}
.page-products .page-hero h1 {
  max-width: 850px;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(48px, 6.1vw, 78px);
  line-height: 1.03;
  letter-spacing: -3.8px;
}
.page-products .page-hero .text-accent {
  color: #c6e3ff;
}
.page-products .page-lede {
  max-width: 690px;
  margin: 20px auto 26px;
  color: rgba(244, 247, 252, 0.83);
  font-size: 17px;
}
.page-products .page-hero .hero-actions {
  justify-content: center;
}
.page-products .page-hero .button-primary {
  background: #fff;
  color: #101827;
  box-shadow: none;
}
.page-products .page-hero .button-quiet {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding-inline: 20px;
}
.page-products .offer-note {
  max-width: 560px;
  margin: 12px auto 0;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(8, 18, 31, 0.48);
  color: #fff;
  backdrop-filter: blur(12px);
}
.page-products .offer-note-label {
  color: rgba(255, 255, 255, 0.7);
}
.page-products .offer-note strong {
  color: #fff;
}
.page-products .offer-note p {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.75);
}
.page-products .offerings-page {
  margin: 14px 12px;
  padding-block: 96px;
  border-radius: var(--radius-panel);
  background: var(--surface-soft);
}
.page-products .offerings-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.page-products .offering-card {
  position: relative;
  min-height: 290px;
  padding: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.page-products .offering-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.page-products .offering-index {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.page-products .offering-card h3 {
  margin: 24px 0 10px;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.18;
}
.page-products .offering-card p {
  max-width: 430px;
  color: var(--muted);
}
.page-products .offering-card .text-link {
  margin-top: auto;
}

/* Portfolio: inset pale panel, floating page label, featured image and quick filtering. */
.page-portfolio .page-hero {
  padding-block: 42px 18px;
}
.page-portfolio .page-hero-grid {
  display: block;
  text-align: center;
}
.page-portfolio .page-hero-grid > div {
  max-width: 820px;
  margin-inline: auto;
}
.page-portfolio .page-hero .eyebrow {
  justify-content: center;
}
.page-portfolio .page-hero h1 {
  margin-inline: auto;
  font-size: clamp(42px, 5.7vw, 76px);
  line-height: 1.04;
}
.page-portfolio .page-lede {
  max-width: 700px;
  margin: 20px auto 0;
}
.page-portfolio .page-hero .button {
  margin-top: 22px;
}
.page-portfolio .offer-note {
  display: none;
}
.page-portfolio .portfolio-page,
.page-blog .blog-page {
  position: relative;
  margin: 14px 12px;
  padding: 116px 0 100px;
  border-radius: var(--radius-panel);
  background: var(--surface-soft);
}
.page-portfolio .portfolio-page::before,
.page-blog .blog-page::before {
  content: "Portfolio";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 30px 14px;
  border-radius: 0 0 22px 22px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.page-portfolio .portfolio-page .section-heading {
  align-items: end;
}
.portfolio-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 34px;
}
.search-box {
  position: relative;
  flex: 0 1 450px;
}
.search-box::before {
  content: "⌕";
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-53%);
  color: var(--muted);
  font-size: 22px;
}
.search-box input {
  width: 100%;
  min-height: 54px;
  padding: 0 20px 0 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}
.search-box input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(25, 118, 201, 0.12);
}
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.filter-chips button,
.blog-filter-list button {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font: 600 12px var(--font-body);
  cursor: pointer;
  transition:
    color 0.2s,
    background-color 0.2s,
    border-color 0.2s;
}
.filter-chips button:hover,
.blog-filter-list button:hover,
.filter-chips button[aria-pressed="true"],
.blog-filter-list button[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.portfolio-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.portfolio-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.portfolio-card:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
}
.portfolio-image {
  min-height: 300px;
  overflow: hidden;
}
.portfolio-card:first-child .portfolio-image {
  min-height: 430px;
}
.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.portfolio-image:hover img {
  transform: scale(1.04);
}
.portfolio-card-copy {
  padding: 29px 30px 31px;
}
.portfolio-card:first-child .portfolio-card-copy {
  align-self: center;
  padding: 42px;
}
.portfolio-image-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--night);
}
.filter-status {
  min-height: 22px;
  margin: -16px 0 18px;
  color: var(--muted);
  font-size: 12px;
}

/* Blog: split introduction, search/tag sidebar and image-led cards. */
.page-blog .page-hero {
  padding-block: 62px 38px;
}
.page-blog .page-hero-grid {
  grid-template-columns: 1fr 0.75fr;
  align-items: end;
}
.page-blog .page-hero h1 {
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.02;
}
.page-blog .page-hero .offer-note {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.page-blog .blog-page::before {
  content: "Blog";
}
.page-blog .blog-page > .container > .section-heading {
  display: none;
}
.blog-listing-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  align-items: start;
  gap: 30px;
}
.blog-sidebar {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 16px;
}
.blog-filter-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.blog-filter-box h2 {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-filter-list {
  display: grid;
  gap: 6px;
}
.blog-filter-list button {
  justify-content: flex-start;
  width: 100%;
  border-color: transparent;
  border-radius: 12px;
  text-align: left;
}
.blog-index-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.blog-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  padding: 0 24px 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}
.blog-card-media {
  width: calc(100% + 48px);
  max-width: none;
  height: 205px;
  margin: 0 -24px 20px;
  object-fit: cover;
}
.blog-category {
  align-self: flex-start;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.blog-card-number {
  position: absolute;
  top: 222px;
  right: 23px;
  color: var(--muted);
  font-size: 12px;
}
.blog-card h3 {
  margin: 17px 0 10px;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.5px;
}
.blog-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}
.blog-card .text-link {
  margin-top: auto;
  padding-top: 18px;
  color: var(--accent);
}
.blog-articles {
  display: grid;
  gap: 18px;
  max-width: 970px;
  margin: 72px auto 0;
}
.blog-article {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.blog-article h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: -1.4px;
}
.blog-article h3 {
  margin-top: 26px;
  font-size: 18px;
}
.blog-article p {
  color: var(--muted);
}
.filter-empty {
  display: none;
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
}
.filter-empty.is-visible {
  display: block;
}
.is-filtered-out {
  display: none !important;
}

/* Contact: one large dark panel, shortcuts and a comfortable enquiry form. */
.page-contact .contact-page-hero {
  display: none;
}
.page-contact .contact-page-section {
  position: relative;
  margin: 14px 12px;
  padding: 110px 0 86px;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--night);
  color: #f5f7fb;
}
.page-contact .contact-page-section::before {
  content: "Contact";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 13px 30px 14px;
  border-radius: 0 0 22px 22px;
  background: var(--canvas);
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}
.page-contact .contact-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: center;
}
.page-contact .contact-copy h1 {
  max-width: 620px;
  color: #fff;
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 1.05;
}
.page-contact .contact-copy h1 span {
  color: #b9ddff;
}
.page-contact .contact-copy > p:not(.eyebrow) {
  color: rgba(236, 241, 249, 0.68);
}
.page-contact .contact-copy .eyebrow {
  color: #8ecaff;
}
.page-contact .contact-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 25px;
}
.page-contact .contact-method {
  min-height: 74px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.page-contact .contact-method:hover {
  background: rgba(255, 255, 255, 0.13);
}
.page-contact .contact-method-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.page-contact .contact-method small {
  color: rgba(240, 244, 250, 0.62);
}
.page-contact .contact-method strong {
  color: #fff;
  font-size: 13px;
}
.page-contact .contact-note {
  margin-top: 22px;
  padding: 17px 19px;
  border-left: 2px solid #54aef1;
  border-radius: 0 15px 15px 0;
  background: rgba(255, 255, 255, 0.05);
}
.page-contact .contact-note p {
  margin-bottom: 0;
  color: rgba(236, 241, 249, 0.66);
  font-size: 13px;
}
.page-contact .contact-form {
  padding: clamp(25px, 3.5vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: #121f31;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}
.page-contact .form-heading {
  color: #f5f7fb;
}
.page-contact .form-heading p {
  color: rgba(236, 241, 249, 0.58);
}
.page-contact .form-field {
  color: rgba(236, 241, 249, 0.7);
}
.page-contact .form-field input,
.page-contact .form-field select,
.page-contact .form-field textarea {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #1b2a3d;
  color: #fff;
}
.page-contact .form-field input::placeholder,
.page-contact .form-field textarea::placeholder {
  color: #8e9aad;
}
.page-contact .form-field input:focus,
.page-contact .form-field select:focus,
.page-contact .form-field textarea:focus {
  border-color: #69b8f3;
  box-shadow: 0 0 0 3px rgba(105, 184, 243, 0.14);
}
.page-contact .form-privacy {
  color: rgba(236, 241, 249, 0.58);
}
.page-contact .form-submit {
  background: #fff;
  color: var(--night);
  box-shadow: none;
}
.page-contact .contact-bottom-band {
  margin: 14px 12px;
  border-radius: var(--radius-panel);
}

/* Footer and utility pages. */
.site-footer {
  margin: 14px 12px;
  padding: 60px 0 25px;
  border-radius: var(--radius-panel);
  background: var(--surface-soft);
}
.site-footer .footer-main,
.site-footer .footer-bottom {
  width: min(1260px, calc(100% - 64px));
}
.footer-brand p,
.footer-column > a,
.footer-column > span,
.footer-bottom {
  color: var(--muted);
}
.footer-column h2 {
  color: var(--ink);
}
.footer-column > a:hover,
.footer-bottom a:hover {
  color: var(--accent);
}
.brand-footer .brand-mark {
  background: var(--night);
}
.utility-page {
  min-height: calc(100vh - 110px);
  padding: 84px 24px;
}
.utility-card {
  max-width: 960px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow-card);
}
.utility-document-frame {
  border-radius: 20px;
}

/* Theme-specific contrast for panels and cards. */
html[data-theme="dark"] .site-nav > a:not(.button)::before,
html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .menu-toggle {
  background: #253246;
  color: #dce5f2;
}
html[data-theme="dark"] .site-nav > a[aria-current="page"] {
  background: #202e41;
}
html[data-theme="dark"] .site-nav > a:not(.button):hover {
  background: #202e41;
}
html[data-theme="dark"] .site-nav .nav-cta {
  background: #eaf3fd;
  color: #0b1728;
}
html[data-theme="dark"] .site-nav .nav-cta span[aria-hidden="true"] {
  background: #0b1728;
  color: #fff;
}
html[data-theme="dark"] .page-portfolio .portfolio-page,
html[data-theme="dark"] .page-blog .blog-page,
html[data-theme="dark"] .page-products .offerings-page,
html[data-theme="dark"] .page-about .about-story,
html[data-theme="dark"] .site-footer {
  background: #141e2c;
}
html[data-theme="dark"] .page-about .about-values .value-card,
html[data-theme="dark"] .page-about .about-process .page-process-grid li,
html[data-theme="dark"] .page-products .offering-card,
html[data-theme="dark"] .portfolio-card,
html[data-theme="dark"] .blog-card,
html[data-theme="dark"] .blog-filter-box,
html[data-theme="dark"] .blog-article,
html[data-theme="dark"] .utility-card {
  border-color: var(--line);
  background: #1b2839;
  color: var(--ink);
}
html[data-theme="dark"] .page-about .about-story h2,
html[data-theme="dark"] .page-products .about-story h2,
html[data-theme="dark"] .footer-column h2 {
  color: var(--ink);
}
html[data-theme="dark"] .page-about .about-story .eyebrow-light,
html[data-theme="dark"] .page-products .about-story .eyebrow-light {
  color: #80c2ff;
}
html[data-theme="dark"] .page-contact .contact-page-section {
  background: #07111f;
}
html[data-theme="dark"] .site-footer {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
html[data-theme="dark"] .search-box input {
  border-color: var(--line);
  background: #1b2839;
  color: var(--ink);
}
html[data-theme="dark"] .blog-category,
html[data-theme="dark"] .page-products .offering-index {
  background: #27364b;
  color: #c4d1e3;
}
html[data-theme="dark"] .button-quiet {
  color: var(--ink);
}
html[data-theme="dark"] .skip-link {
  background: var(--surface);
  color: var(--ink);
}

/* Responsive behavior: nav dropdown, stacked panels, touch-friendly filters. */
@media (max-width: 1280px) {
  .site-header {
    width: min(1100px, calc(100% - 28px));
  }
  .header-inner {
    height: 70px;
  }
  .menu-toggle {
    display: block;
    flex: 0 0 48px;
  }
  .site-nav {
    display: none;
    position: absolute;
    z-index: 20;
    top: calc(100% + 10px);
    right: 0;
    width: min(360px, calc(100vw - 36px));
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-card);
    align-items: stretch;
    flex-direction: column;
    gap: 4px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav > a:not(.button) {
    justify-content: flex-start;
    min-height: 46px;
    padding-inline: 9px;
  }
  .site-nav .nav-cta {
    justify-content: space-between;
    margin: 8px 0 0;
  }
}
@media (max-width: 900px) {
  .container {
    width: min(100% - 42px, 760px);
  }
  .page-home .home-hero {
    min-height: 900px;
  }
  .page-home .hero-copy {
    padding-top: 150px;
  }
  .page-home .hero-copy h1 {
    font-size: clamp(48px, 9vw, 78px);
    letter-spacing: -3px;
  }
  .page-home .hero-visual,
  .hero-project-card {
    width: calc(50% - 36px);
    height: 218px;
  }
  .page-about .page-hero,
  .page-about .page-hero-grid {
    min-height: 580px;
  }
  .page-about .page-hero-grid {
    width: min(100% - 42px, 760px);
  }
  .page-products .offerings-grid {
    gap: 14px;
  }
  .page-portfolio .portfolio-grid {
    gap: 17px;
  }
  .blog-listing-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
    grid-template-columns: minmax(0, 1fr) 2fr;
    align-items: start;
  }
  .blog-filter-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .page-contact .contact-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .page-contact .contact-copy {
    max-width: 700px;
  }
}
@media (max-width: 640px) {
  .site-header {
    top: 7px;
    width: calc(100% - 18px);
    margin-top: 8px;
  }
  .header-inner {
    height: 62px;
    gap: 7px;
    padding: 6px 7px 6px 12px;
  }
  .brand {
    gap: 7px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 13px;
  }
  .brand-name {
    font-size: 16px;
  }
  .theme-toggle,
  .menu-toggle {
    width: 43px;
    min-width: 43px;
    height: 43px;
  }
  .menu-toggle {
    padding: 11px;
    flex-basis: 43px;
  }
  .site-nav {
    top: calc(100% + 7px);
  }
  .container {
    width: calc(100% - 34px);
  }
  .section-space {
    padding-block: 64px;
  }
  .page-home .home-hero {
    min-height: 760px;
    margin: 9px 8px 0;
    border-radius: 30px;
    background-position: 56% center;
  }
  .page-home .home-hero::before {
    background: linear-gradient(
      180deg,
      rgba(5, 13, 24, 0.32),
      rgba(5, 13, 24, 0.5) 40%,
      rgba(5, 13, 24, 0.95)
    );
  }
  .page-home .hero-copy {
    width: calc(100% - 34px);
    padding-top: 127px;
  }
  .page-home .hero-copy .eyebrow {
    margin-bottom: 15px;
    font-size: 9px;
  }
  .page-home .hero-copy h1 {
    font-size: clamp(42px, 11.6vw, 61px);
    letter-spacing: -2.4px;
  }
  .page-home .hero-lede {
    max-width: 430px;
    margin-top: 15px;
    font-size: 15px;
  }
  .page-home .hero-actions {
    top: 12px;
    left: 12px;
    right: 12px;
    gap: 8px;
  }
  .page-home .hero-actions .button {
    min-height: 43px;
    padding-inline: 13px;
    font-size: 11px;
  }
  .page-home .hero-visual,
  .hero-project-card {
    bottom: 14px;
    width: calc(50% - 21px);
    height: 205px;
    border-radius: 20px;
  }
  .page-home .hero-visual {
    right: 14px;
  }
  .hero-project-card {
    left: 14px;
  }
  .hero-project-card-copy {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .hero-project-card-copy small {
    font-size: 9px;
  }
  .hero-project-card-copy strong {
    font-size: 15px;
  }
  .page-home .visual-note {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 8px;
    border-radius: 13px;
  }
  .page-home .visual-note-icon {
    display: none;
  }
  .page-home .visual-note strong {
    font-size: 11px;
  }
  .page-home .visual-note small {
    font-size: 9px;
  }
  .page-home .visual-index {
    top: 9px;
    left: 10px;
    font-size: 8px;
  }
  .home-intro,
  .conversation-band,
  .contact-bottom-band,
  .site-footer,
  .page-about .about-story,
  .page-about .about-audience,
  .page-products .about-story {
    margin: 9px 8px;
    border-radius: 30px;
  }
  .page-about .page-hero,
  .page-products .page-hero {
    margin: 9px 8px 0;
    border-radius: 30px;
  }
  .page-about .page-hero,
  .page-about .page-hero-grid {
    min-height: 620px;
  }
  .page-about .page-hero-grid {
    width: calc(100% - 34px);
    padding-block: 92px 72px;
  }
  .page-about .page-hero h1,
  .page-products .page-hero h1 {
    font-size: clamp(40px, 10.5vw, 58px);
    letter-spacing: -2.6px;
  }
  .page-about .page-lede,
  .page-products .page-lede {
    font-size: 15px;
  }
  .page-about .about-highlight {
    padding: 14px 17px;
  }
  .page-products .page-hero,
  .page-products .page-hero-grid {
    min-height: 590px;
  }
  .page-products .page-hero-grid {
    width: calc(100% - 34px);
    align-content: center;
  }
  .page-products .offer-note {
    padding: 12px 14px;
  }
  .page-products .offerings-page,
  .page-portfolio .portfolio-page,
  .page-blog .blog-page,
  .page-contact .contact-page-section {
    margin: 9px 8px;
    padding-block: 86px 66px;
    border-radius: 30px;
  }
  .page-products .offerings-grid,
  .page-portfolio .portfolio-grid,
  .blog-index-grid {
    grid-template-columns: 1fr;
  }
  .page-products .offering-card {
    min-height: auto;
    padding: 25px;
  }
  .page-portfolio .page-hero {
    padding-block: 42px 12px;
  }
  .page-portfolio .page-hero h1,
  .page-blog .page-hero h1 {
    font-size: clamp(39px, 10vw, 57px);
    letter-spacing: -2.5px;
  }
  .page-portfolio .portfolio-page::before,
  .page-blog .blog-page::before,
  .page-contact .contact-page-section::before {
    padding: 11px 22px 12px;
  }
  .portfolio-tools {
    align-items: stretch;
    flex-direction: column;
    margin-top: 24px;
  }
  .search-box {
    flex-basis: auto;
  }
  .filter-chips {
    gap: 6px;
  }
  .filter-chips button {
    min-height: 37px;
    padding-inline: 12px;
    font-size: 11px;
  }
  .portfolio-card:first-child {
    grid-column: auto;
    display: block;
  }
  .portfolio-image,
  .portfolio-card:first-child .portfolio-image {
    min-height: 240px;
    height: 240px;
  }
  .portfolio-card-copy,
  .portfolio-card:first-child .portfolio-card-copy {
    padding: 24px;
  }
  .page-blog .page-hero {
    padding-block: 50px 24px;
  }
  .page-blog .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .blog-sidebar {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .blog-filter-box {
    padding: 16px;
  }
  .blog-filter-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .blog-index-grid {
    gap: 14px;
  }
  .blog-card {
    min-height: 420px;
  }
  .blog-card-media {
    height: 190px;
  }
  .blog-card-number {
    top: 207px;
  }
  .blog-articles {
    margin-top: 44px;
  }
  .page-contact .contact-page-section {
    padding: 82px 0 50px;
  }
  .page-contact .contact-copy h1 {
    font-size: clamp(38px, 9vw, 56px);
    letter-spacing: -2px;
  }
  .page-contact .contact-methods {
    grid-template-columns: 1fr;
  }
  .page-contact .contact-form {
    padding: 21px;
    border-radius: 23px;
  }
  .page-contact .form-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .form-field-wide {
    grid-column: auto;
  }
  .page-contact .contact-bottom-band {
    padding-block: 52px;
  }
  .site-footer {
    padding: 45px 0 20px;
  }
  .site-footer .footer-main,
  .site-footer .footer-bottom {
    width: calc(100% - 38px);
  }
  .utility-page {
    padding: 54px 16px;
  }
  .utility-card {
    padding: 22px;
    border-radius: 24px;
  }
}
@media (max-width: 390px) {
  .brand-name {
    font-size: 14px;
  }
  .brand-mark {
    width: 33px;
    height: 33px;
  }
  .theme-toggle,
  .menu-toggle {
    width: 40px;
    min-width: 40px;
    height: 40px;
  }
  .menu-toggle {
    flex-basis: 40px;
  }
  .page-home .hero-actions .button {
    padding-inline: 10px;
    font-size: 10px;
  }
  .page-home .hero-visual,
  .hero-project-card {
    width: calc(50% - 17px);
    height: 180px;
  }
  .page-home .hero-visual {
    right: 11px;
  }
  .hero-project-card {
    left: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
