* {
  box-sizing: border-box;
}

:root {
  --bg: #eaf1fb;
  --surface: #f5f9ff;
  --surface-rgb: 245, 249, 255;
  --surface-strong: #0a3366;
  --surface-muted: #cfdef3;
  --text: #1a2b42;
  --text-soft: #4a5f7f;
  --line: rgba(26, 43, 66, 0.12);
  --brand: #72c1e0;
  --brand-deep: #0c4387;
  --brand-rgb: 114, 193, 224;
  --brand-deep-rgb: 12, 67, 135;
  --secondary: #2f9e6f;
  --secondary-deep: #0f6b49;
  --secondary-rgb: 47, 158, 111;
  --secondary-deep-rgb: 15, 107, 73;
  --ink: #2f425f;
  --ink-soft: #5b6f8e;
  --sand: #d6c49a;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(26, 43, 66, 0.12);
  --shadow-sm: 0 8px 22px rgba(26, 43, 66, 0.08);
  --shadow-lg: 0 40px 100px rgba(13, 38, 72, 0.16);
  --shadow-glow: 0 0 0 1px rgba(var(--brand-rgb), 0.16), 0 18px 46px rgba(var(--brand-rgb), 0.22);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shape-card: 24px;
  --shape-card-sm: 16px;
  --shell: 1180px;
  --shell-wide: 1440px;
  --header-h: 180px;
  --font-mono: "IBM Plex Mono", "IBM Plex Sans", monospace;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
  --grid-line: rgba(12, 67, 135, 0.1);
  --grid-line-strong: rgba(12, 67, 135, 0.18);
  --grid-dot: rgba(12, 67, 135, 0.2);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #0c1422;
  --surface: #121f34;
  --surface-rgb: 18, 31, 52;
  --surface-strong: #122947;
  --surface-muted: #1f334f;
  --text: #e8eef8;
  --text-soft: #b9c7dd;
  --line: rgba(232, 238, 248, 0.16);
  --brand: #72c1e0;
  --brand-deep: #9bcbff;
  --secondary: #4fd39a;
  --secondary-deep: #7be3b8;
  --secondary-rgb: 79, 211, 154;
  --secondary-deep-rgb: 123, 227, 184;
  --ink: #d7e2f2;
  --ink-soft: #b5c4db;
  --sand: #d6c49a;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(5, 11, 20, 0.42);
  --shadow-sm: 0 8px 22px rgba(2, 6, 12, 0.34);
  --shadow-lg: 0 46px 110px rgba(2, 6, 12, 0.5);
  --shadow-glow: 0 0 0 1px rgba(var(--brand-rgb), 0.22), 0 18px 46px rgba(var(--brand-rgb), 0.16);
  --grid-line: rgba(155, 203, 255, 0.08);
  --grid-line-strong: rgba(155, 203, 255, 0.16);
  --grid-dot: rgba(155, 203, 255, 0.16);
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1422;
    --surface: #121f34;
    --surface-rgb: 18, 31, 52;
    --surface-strong: #122947;
    --surface-muted: #1f334f;
    --text: #e8eef8;
    --text-soft: #b9c7dd;
    --line: rgba(232, 238, 248, 0.16);
    --brand: #72c1e0;
    --brand-deep: #9bcbff;
    --secondary: #4fd39a;
    --secondary-deep: #7be3b8;
    --secondary-rgb: 79, 211, 154;
    --secondary-deep-rgb: 123, 227, 184;
    --ink: #d7e2f2;
    --ink-soft: #b5c4db;
    --sand: #d6c49a;
    --white: #ffffff;
    --shadow: 0 22px 60px rgba(5, 11, 20, 0.42);
    --shadow-sm: 0 8px 22px rgba(2, 6, 12, 0.34);
    --shadow-lg: 0 46px 110px rgba(2, 6, 12, 0.5);
    --shadow-glow: 0 0 0 1px rgba(var(--brand-rgb), 0.22), 0 18px 46px rgba(var(--brand-rgb), 0.16);
    --grid-line: rgba(155, 203, 255, 0.12);
    --grid-line-strong: rgba(155, 203, 255, 0.18);
    --grid-dot: rgba(155, 203, 255, 0.2);
    color-scheme: dark;
  }
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--brand);
  color: var(--white);
}

::-moz-selection {
  background: var(--brand);
  color: var(--white);
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text);
  font-family: "IBM Plex Sans", sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(var(--brand-rgb), 0.16), transparent 30%),
    radial-gradient(circle at 96% 12%, rgba(46, 126, 200, 0.14), transparent 34%),
    linear-gradient(180deg, #eef4ff 0%, #eaf1fb 38%, #f5f9ff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 92% 70% at 50% 0%, black 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 92% 70% at 50% 0%, black 0%, transparent 78%);
  opacity: 0.72;
}

/* Subtle cursor-reactive highlight over the same grid pattern. JS updates
   --grid-spot-x/--grid-spot-y on pointer move (rAF-throttled); the mask
   stays a fixed soft circle so only its position ever needs to change,
   keeping this cheap to animate (no repaint of the gradient itself). */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line-strong) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-strong) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, black 0%, transparent 70%);
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: 460px 460px;
  -webkit-mask-size: 460px 460px;
  mask-position: var(--grid-spot-x, -9999px) var(--grid-spot-y, -9999px);
  -webkit-mask-position: var(--grid-spot-x, -9999px) var(--grid-spot-y, -9999px);
  transition: mask-position 0.15s linear, -webkit-mask-position 0.15s linear;
  opacity: 0.6;
}

@media (hover: none), (prefers-reduced-motion: reduce) {
  body::after {
    display: none;
  }
}

:root[data-theme="dark"] body {
  background:
    radial-gradient(circle at top left, rgba(112, 180, 255, 0.16), transparent 26%),
    radial-gradient(circle at top right, rgba(var(--brand-rgb), 0.12), transparent 32%),
    linear-gradient(180deg, #0a1220 0%, #0c1422 45%, #0f1a2c 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body {
    background:
      radial-gradient(circle at top left, rgba(112, 180, 255, 0.16), transparent 26%),
      radial-gradient(circle at top right, rgba(var(--brand-rgb), 0.12), transparent 32%),
      linear-gradient(180deg, #0a1220 0%, #0c1422 45%, #0f1a2c 100%);
  }
}

main {
  flex: 1 0 auto;
  padding-top: var(--header-h);
}

img {
  display: block;
  max-width: 100%;
}

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

p,
li {
  font-size: 1.08rem;
  line-height: 1.65;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

h1,
h2,
h3,
strong,
.button,
.brand strong {
  font-family: "IBM Plex Sans", sans-serif;
}

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

.shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin: 0 auto;
}

.shell--wide {
  width: min(calc(100% - 2.5rem), var(--shell-wide));
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: transparent;
  transition: background-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

/* On mobile the header stays in normal flow at the top of the page instead
   of following the viewport while scrolling. Since it no longer overlays
   content, the scroll-triggered solid/blurred background swap is disabled
   too (it otherwise still fires off window.scrollY and briefly flashes a
   white bar as the header scrolls back into view). */
@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .site-header--home.is-scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }

  .site-header--home.is-scrolled .site-header__inner {
    gap: 0.85rem;
    padding: 1.35rem 0 1.1rem;
  }

  .site-header--home.is-scrolled .brand__mark--symbol {
    width: 240px;
  }

  main {
    padding-top: 0;
  }

  .hero-full {
    margin-top: 0;
  }

  .hero-full__frame {
    padding-top: clamp(1.5rem, 4vw, 2.5rem);
  }
}

.site-header__inner {
  position: relative;
  z-index: 260;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 1.35rem 0 1.1rem;
  transition: gap 0.4s var(--ease), padding 0.4s var(--ease);
}

.site-header--home {
  background: transparent;
}

.site-header--home.is-scrolled {
  background: rgba(var(--surface-rgb), 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), var(--shadow-sm);
}

.site-header--home.is-scrolled .site-header__inner {
  gap: 0.3rem;
  padding: 0.55rem 0 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 0.9rem;
}

.brand__mark {
  width: 150px;
  height: 60px;
  object-fit: contain;
}

.brand__mark--symbol {
  flex: 0 0 auto;
  width: 240px;
  object-fit: contain;
  transition: width 0.4s var(--ease);
}

.site-header--home.is-scrolled .brand__mark--symbol {
  width: 148px;
}

.brand span {
  display: grid;
  gap: 0.15rem;
}

.brand strong {
  font-size: 1.15rem;
}

.brand small {
  font-size: 0.82rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0.2rem;
  border: none;
  background: none;
  box-shadow: none;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.2s ease;
}

.theme-toggle:hover {
  color: var(--text);
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.theme-toggle__icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-toggle__icon--sun {
  display: none;
}

.theme-toggle[data-theme-current="dark"] .theme-toggle__icon--sun {
  display: block;
}

.theme-toggle[data-theme-current="dark"] .theme-toggle__icon--moon {
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: clamp(1rem, 2.5vw, 1.75rem);
  row-gap: 0.5rem;
}

.site-nav a {
  padding: 0.35rem 0.15rem;
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-soft);
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a[aria-current="page"] {
  color: var(--brand-deep);
  border-bottom-color: var(--brand);
}

.site-nav .theme-toggle {
  width: 40px;
  height: 40px;
  margin-left: 0.4rem;
}

.theme-hint-wrap {
  position: relative;
  display: inline-flex;
}

.theme-hint {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: max-content;
  max-width: min(240px, calc(100vw - 2rem));
  padding: 0.75rem 2rem 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  pointer-events: none;
}

.theme-hint.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.theme-hint::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 14px;
  width: 12px;
  height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}

.theme-hint p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-soft);
}

.theme-hint__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: var(--text-soft);
  cursor: pointer;
}

.theme-hint__close:hover {
  color: var(--text);
}

.theme-hint__close svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

@media (prefers-reduced-motion: reduce) {
  .theme-hint {
    transition: none;
  }
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(135deg, #72c1e0, #2b74cc 62%, #0c4387);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(43, 116, 204, 0.3);
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease);
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.32) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(43, 116, 204, 0.38);
}

.button:hover::before {
  transform: translateX(120%);
}

.button:active {
  transform: translateY(0);
}

.button--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.button--ghost::before {
  display: none;
}

.button--ghost:hover {
  border-color: rgba(var(--brand-rgb), 0.5);
  background: rgba(var(--brand-rgb), 0.08);
  box-shadow: none;
}

.section--split,
.service-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.22);
  transform: rotate(45deg);
}

:root[data-theme="dark"] .eyebrow {
  color: var(--brand);
}

.eyebrow:empty {
  display: none;
}

.lead {
  max-width: 62ch;
  color: var(--text-soft);
  font-size: 1.2rem;
}

h1,
h2,
h3 {
  font-weight: 300;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.35rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.founder-message__card,
.service-detail,
.contact-card,
.innovation-showcase__content,
.innovation-showcase__media {
  border-radius: var(--shape-card);
  overflow: hidden;
}

.band {
  padding: 4.25rem 0;
}

.band--light {
  background: rgba(255, 255, 255, 0.6);
  border-block: 1px solid rgba(26, 43, 66, 0.06);
}

.audience-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audience-grid article {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.section {
  padding: 4.5rem 0;
}

.section-heading {
  margin-bottom: 1.8rem;
}

.section-heading--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading--split .section-heading__text {
  flex: 1 1 320px;
}

.section-heading__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-deep);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: gap 0.25s var(--ease), color 0.25s ease;
}

.section-heading__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s var(--ease);
}

.section-heading__link:hover {
  gap: 0.6rem;
}

.section-heading__link:hover svg {
  transform: translateX(3px);
}

.rich-text {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.75;
  color: var(--ink);
}

.rich-text p {
  margin: 1.2rem 0;
  font-size: 0.95rem;
}

.rich-text h2 {
  margin-top: 2.4rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brand-deep);
}

.rich-text h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-deep);
}

.rich-text ul {
  margin: 1rem 0 1rem 2rem;
  list-style: disc;
}

.rich-text li {
  margin: 0.6rem 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.privacy-page .rich-text p,
.privacy-page .rich-text li {
  font-size: 1.02rem;
}

.rich-text a {
  color: var(--brand-deep);
  text-decoration: underline;
  transition: opacity 180ms ease;
}

.rich-text a:hover {
  opacity: 0.7;
}

.project-area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}


.founder-message__card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.2rem, 2.5vw, 2.8rem);
  align-items: center;
  padding: clamp(1.35rem, 2.4vw, 2.2rem);
  border-radius: var(--shape-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-full__card {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  width: min(calc(100vw - 2.5rem), var(--shell));
  margin-left: calc((100% - min(100vw - 2.5rem, var(--shell))) / 2);
}

@media (max-width: 720px) {
  .hero-full__card {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.founder-message__card h2 {
  margin-bottom: 0;
}

.founder-message__card p {
  max-width: 60ch;
  margin-bottom: 0;
}

.innovation-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.innovation-showcase__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--shape-card);
  box-shadow: 0 24px 70px rgba(13, 38, 72, 0.14);
}

.innovation-showcase__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(10, 51, 102, 0), rgba(10, 51, 102, 0.22));
}

.innovation-showcase__media img {
  width: 100%;
  height: min(540px, 56vw);
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.innovation-showcase:hover .innovation-showcase__media img,
.inner-story-showcase:hover .innovation-showcase__media img {
  transform: scale(1.04);
}

.innovation-showcase__content {
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  border: 1px solid rgba(26, 43, 66, 0.08);
  border-radius: var(--shape-card);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(213, 227, 242, 0.55));
  box-shadow: var(--shadow);
}

.innovation-showcase__points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.innovation-showcase__points span {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-rgb), 0.28);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.12), rgba(var(--brand-rgb), 0.14));
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.innovation-showcase__points span:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.2), rgba(var(--brand-rgb), 0.24));
}

.innovation-showcase__points span:nth-child(2) {
  border-color: rgba(var(--secondary-rgb), 0.3);
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.14), rgba(var(--secondary-rgb), 0.16));
  color: var(--secondary-deep);
}

.innovation-showcase__points span:nth-child(2):hover {
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.22), rgba(var(--secondary-rgb), 0.26));
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.4rem;
  counter-reset: service-index;
}

.service-detail {
  position: relative;
  padding: clamp(1.75rem, 2.6vw, 2.35rem);
  border: 1px solid rgba(26, 43, 66, 0.08);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
  counter-increment: service-index;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

@media (hover: hover) {
  .service-detail:hover {
    border-color: rgba(var(--brand-rgb), 0.3);
    box-shadow: var(--shadow);
  }
}

.service-detail::before {
  content: "0" counter(service-index);
  position: absolute;
  top: clamp(1.4rem, 2.2vw, 1.9rem);
  right: clamp(1.4rem, 2.2vw, 1.9rem);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(var(--brand-rgb), 0.55);
  z-index: 1;
}

[data-spotlight] {
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--brand-rgb), 0.18), transparent 68%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

[data-spotlight]:hover::after {
  opacity: 1;
}

[data-spotlight] > * {
  position: relative;
  z-index: 1;
}

@media (hover: hover) {
  [data-spotlight]:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--brand-rgb), 0.32);
  }
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.project-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.project-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 30, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.project-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  color: var(--text);
  border-radius: var(--shape-card);
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(16px);
  transition: transform 0.32s var(--ease);
}

.project-modal.is-open .project-modal__panel {
  transform: scale(1) translateY(0);
}

.project-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(6, 16, 30, 0.5);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.project-modal__close:hover {
  background: rgba(6, 16, 30, 0.72);
  transform: scale(1.06);
}

.project-modal__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.project-modal__hero {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(114, 193, 224, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(228, 236, 245, 0.72));
}

.project-modal__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(6, 16, 30, 0.12) 100%);
}

.project-modal__hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem 3rem;
  display: block;
}

.project-modal__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.project-modal__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.project-modal__tags:empty {
  display: none;
}

.project-modal__tags span {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-modal__title {
  margin-bottom: 0.4rem;
}

.project-modal__dates {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.project-modal__section-label {
  margin-bottom: 0.5rem;
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-modal__role {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .project-modal {
    padding: 0;
    align-items: flex-end;
  }

  .project-modal__panel {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--shape-card) var(--shape-card) 0 0;
  }

  .project-modal__hero-img {
    padding: 1.25rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-modal,
  .project-modal__panel {
    transition: none;
  }
}
.service-detail ul {
  padding: 0;
  list-style: none;
}

/* Slightly increase gap on projects grid for better spacing */
.projects-grid { gap: 1.6rem; }

.service-detail li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.service-detail li::before {
  content: "\2713";
  position: absolute;
  top: 0.26rem;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--secondary));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.14);
}

.service-detail__heading {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-bottom: 1rem;
}

.service-detail__heading .eyebrow {
  margin-bottom: 0.35rem;
}

.service-detail:hover .service-detail__icon {
  transform: scale(1.06);
}

.service-detail__heading h2 {
  margin-bottom: 0;
  color: var(--brand-deep);
}

.service-detail__icon {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: var(--shape-card-sm);
  border: 1px solid rgba(var(--brand-rgb), 0.28);
  transition: transform 0.35s var(--ease);
  background: linear-gradient(135deg, rgba(114, 193, 224, 0.16), rgba(114, 193, 224, 0.2));
}

.service-detail:nth-child(even) .service-detail__icon {
  border-color: rgba(var(--secondary-rgb), 0.3);
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.16), rgba(var(--secondary-rgb), 0.2));
}

.service-detail:nth-child(even) .service-detail__icon svg {
  stroke: var(--secondary-deep);
}

.service-detail:nth-child(even) .service-detail__heading h2 {
  color: var(--secondary-deep);
}

.service-detail__icon svg {
  width: 25px;
  height: 25px;
  stroke: var(--brand-deep);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.contact-card {
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border: 1px solid rgba(26, 43, 66, 0.1);
  border-radius: var(--shape-card);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.contact-card--featured {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.5rem);
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  border-radius: var(--shape-card);
  background:
    radial-gradient(circle at 88% 12%, rgba(114, 193, 224, 0.14), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(114, 193, 224, 0.14), transparent 46%),
    rgba(255, 255, 255, 0.9);
}


.contact-card__subtitle {
  max-width: 58ch;
  margin-bottom: 1.25rem;
}

.contact-details {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.contact-details li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.85rem;
  border: 1px solid rgba(26, 43, 66, 0.08);
  border-radius: var(--shape-card-sm);
  background: rgba(255, 255, 255, 0.78);
}

.contact-details li:first-child {
  align-items: center;
}

.contact-details li {
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.contact-details li:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--brand-rgb), 0.32);
}

.contact-details__icon {
  transition: transform 0.3s var(--ease);
}

.contact-details li:hover .contact-details__icon {
  transform: scale(1.08);
}

@media (min-width: 640px) {
  .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-details li:first-child {
    grid-column: 1 / -1;
  }
}

.contact-details__icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--shape-card-sm);
  background: linear-gradient(135deg, rgba(114, 193, 224, 0.16), rgba(114, 193, 224, 0.2));
}

.contact-details__icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand-deep);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-details__label {
  margin-bottom: 0.2rem;
  color: var(--brand-deep);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-details li p {
  margin-bottom: 0;
}

.contact-details a {
  color: var(--brand-deep);
  font-weight: 600;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-card__actions {
  margin-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-card h2 {
  margin-bottom: 0.75rem;
}

.contact-card p {
  margin-bottom: 0.6rem;
  color: var(--text-soft);
}

body.has-modal-open {
  overflow: hidden;
}

.projects-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-card--skeleton {
  pointer-events: none;
}

.project-card--skeleton .project-card__body {
  gap: 0.55rem;
}

.project-skeleton__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 0;
}

.project-skeleton__title {
  width: 82%;
  height: 26px;
}

.project-skeleton__meta {
  width: 56%;
  height: 16px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--brand-rgb), 0.3);
}

.project-card:focus-visible {
  outline: 3px solid rgba(114, 193, 224, 0.26);
  outline-offset: 3px;
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(114, 193, 224, 0.08), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(114, 193, 224, 0.08), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(228, 236, 245, 0.72));
}

.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 16, 30, 0.16) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-card__media::after {
  opacity: 1;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 1rem 1.15rem;
  transition: transform 0.4s var(--ease);
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-card__status {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--secondary-deep);
  box-shadow: var(--shadow-sm);
}

.project-card__status--completed {
  color: var(--ink-soft);
}

.project-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.25rem;
}

.project-card__tag {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), 0.14);
  color: var(--brand-deep);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  color: var(--brand-deep);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.project-card__meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 500;
}

@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.news-skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(26, 43, 66, 0.09);
}

.news-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  animation: newsSkeletonShimmer 1.1s ease-in-out infinite;
}

@keyframes newsSkeletonShimmer {
  to {
    transform: translateX(100%);
  }
}

.news-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(var(--brand-rgb), 0.3);
}

.news-card:focus-visible {
  outline: 3px solid rgba(114, 193, 224, 0.26);
  outline-offset: 3px;
}

.news-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(114, 193, 224, 0.08), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(228, 236, 245, 0.72));
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem 1.15rem;
  display: block;
  transition: transform 0.4s var(--ease);
}

.news-card:hover .news-card__media img {
  transform: scale(1.06);
}

.news-card__media--photo img {
  object-fit: cover;
  padding: 0;
}

.news-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-deep);
  box-shadow: var(--shadow-sm);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  padding: 1.25rem;
}

.news-card__meta {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.news-card h3 {
  margin: 0;
  color: var(--brand-deep);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.news-card__description {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

.news-card--skeleton {
  pointer-events: none;
}

.news-card__skeleton-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0;
}

.news-card__skeleton-title {
  width: 82%;
  height: 22px;
  margin-top: 0.3rem;
}

.news-card__skeleton-meta {
  width: 40%;
  height: 14px;
}

@media (max-width: 1100px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.news-filter__chip {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-soft);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-filter__chip:hover {
  border-color: rgba(var(--brand-rgb), 0.4);
  color: var(--text);
}

.news-filter__chip.is-active {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #ffffff;
}

.news-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.news-pagination:empty {
  display: none;
}

.news-pagination__page,
.news-pagination__nav {
  min-width: 40px;
  height: 40px;
  padding: 0 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-soft);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.news-pagination__page:hover,
.news-pagination__nav:hover:not(:disabled) {
  border-color: rgba(var(--brand-rgb), 0.4);
  color: var(--text);
}

.news-pagination__page.is-active {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #ffffff;
}

.news-pagination__nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.news-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
}

.news-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.news-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 30, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.news-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  color: var(--text);
  border-radius: var(--shape-card);
  box-shadow: var(--shadow-lg);
  transform: scale(0.95) translateY(16px);
  transition: transform 0.32s var(--ease);
}

.news-modal.is-open .news-modal__panel {
  transform: scale(1) translateY(0);
}

.news-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(6, 16, 30, 0.5);
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.news-modal__close:hover {
  background: rgba(6, 16, 30, 0.72);
  transform: scale(1.06);
}

.news-modal__close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

.news-modal__hero {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, rgba(114, 193, 224, 0.1), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(228, 236, 245, 0.72));
}

.news-modal__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(6, 16, 30, 0.12) 100%);
}

.news-modal__hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2rem 3rem;
  display: block;
}

.news-modal__hero--photo .news-modal__hero-img {
  object-fit: cover;
  padding: 0;
}

.news-modal__tag {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  z-index: 2;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand-deep);
  box-shadow: var(--shadow-sm);
}

.news-modal__tag[hidden] {
  display: none;
}

.news-modal__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.news-modal__title {
  margin-bottom: 0.4rem;
}

.news-modal__date {
  margin-bottom: 1.5rem;
  color: var(--text-soft);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.news-modal__content p {
  margin: 0 0 1.1rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.news-modal__content p:last-child {
  margin-bottom: 1.5rem;
}

.news-modal__source[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .news-modal {
    padding: 0;
    align-items: flex-end;
  }

  .news-modal__panel {
    width: 100%;
    max-height: 92vh;
    border-radius: var(--shape-card) var(--shape-card) 0 0;
  }

  .news-modal__hero-img {
    padding: 1.25rem 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .news-modal,
  .news-modal__panel {
    transition: none;
  }
}

/* =========================================
   Internal pages base style
   ========================================= */

.inner-page {
  position: relative;
}

.inner-page > * {
  position: relative;
  z-index: 1;
}

.inner-hero {
  position: relative;
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: 2.25rem;
}

.inner-hero::before {
  content: "";
  position: absolute;
  top: -70px;
  left: 50%;
  width: min(920px, 92vw);
  height: 340px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(var(--brand-rgb), 0.18), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.inner-hero__panel {
  max-width: 980px;
  margin: 0 auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.inner-hero__panel h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  margin-bottom: 1rem;
}

.inner-hero--centered .inner-hero__panel {
  max-width: 860px;
  text-align: center;
}

.inner-hero--centered .lead {
  margin-inline: auto;
}

.inner-hero__media {
  position: relative;
  border-radius: var(--shape-card);
  overflow: hidden;
  box-shadow: var(--shadow);
}

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

.inner-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(12, 67, 135, 0.04) 0%, rgba(6, 16, 30, 0.4) 100%);
}

.inner-hero__media--banner {
  aspect-ratio: 21 / 9;
}

@media (max-width: 820px) {
  .inner-hero__media--banner {
    aspect-ratio: 16 / 9;
  }
}

.inner-hero__media--overlay img {
  position: absolute;
  inset: 0;
}

.inner-hero__media--overlay {
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(420px, 46vw, 560px);
  padding: clamp(1.5rem, 4vw, 3rem);
}

.inner-hero__media--overlay::after {
  background: linear-gradient(180deg, rgba(6, 16, 30, 0.32), rgba(6, 16, 30, 0.78));
}

.inner-hero__media-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: center;
  color: #f6faff;
}

.inner-hero__media-content .eyebrow {
  color: #72c1e0;
}

.inner-hero__media-content h2,
.inner-hero__media-content p {
  color: #f6faff;
}

.inner-hero__media-content h2 {
  margin-bottom: 1rem;
}

.inner-hero__media-content p {
  margin-bottom: 0.85rem;
}

.inner-hero__media-content p:last-child {
  margin-bottom: 0;
}

.hero__actions--centered {
  justify-content: center;
}

.inner-page .section {
  opacity: 1;
  transform: none;
  animation: none;
}

.inner-page--animated .section {
  opacity: 0;
  transform: translateY(14px);
  animation: none;
}

.inner-page--animated .inner-hero__panel > * {
  opacity: 0;
  transform: translateY(12px);
  animation: none;
}

.site-ready .inner-page--animated .section {
  animation: pageSectionIn 0.62s ease both;
}

.site-ready .inner-page--animated .section:nth-of-type(1) {
  animation-delay: 0.04s;
}

.site-ready .inner-page--animated .section:nth-of-type(2) {
  animation-delay: 0.1s;
}

.site-ready .inner-page--animated .section:nth-of-type(3) {
  animation-delay: 0.16s;
}

.site-ready .inner-page--animated .section:nth-of-type(4) {
  animation-delay: 0.22s;
}

.site-ready .inner-page--animated .inner-hero__panel > * {
  animation: pageSectionIn 0.56s ease both;
}

.site-ready .inner-page--animated .inner-hero__panel > :nth-child(1) {
  animation-delay: 0.06s;
}

.site-ready .inner-page--animated .inner-hero__panel > :nth-child(2) {
  animation-delay: 0.12s;
}

.site-ready .inner-page--animated .inner-hero__panel > :nth-child(3) {
  animation-delay: 0.18s;
}

.site-ready .inner-page--animated .inner-hero__panel > :nth-child(4) {
  animation-delay: 0.24s;
}

.site-ready .inner-page--animated .inner-hero__panel > :nth-child(5) {
  animation-delay: 0.3s;
}

@keyframes pageSectionIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@keyframes sectionFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-page > .section,
.home-page > .band {
  opacity: 1;
  transform: none;
  animation: none;
}

.home-page > .band--light {
  animation-delay: 0.14s;
}

.home-page > .innovation-showcase {
  animation-delay: 0.2s;
}

.home-page > .section--split {
  animation-delay: 0.32s;
}

.home-page > .shell.section:last-of-type {
  animation-delay: 0.38s;
}

.home-page .founder-message__card {
  opacity: 0;
  transform: translateY(16px);
  animation: sectionFadeUp 0.62s ease 0.08s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .home-page > .section,
  .home-page > .band,
  .home-page .founder-message__card,
  .inner-page .section,
  .site-ready .inner-page--animated .inner-hero__panel > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.inner-story-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.4rem, 3vw, 2.8rem);
  align-items: center;
}

.inner-story-text__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.inner-story-showcase--video-bg {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 44vw, 540px);
  padding: clamp(1.2rem, 2.6vw, 2.4rem);
  border-radius: var(--shape-card-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow);
  margin-top:2rem;
}

/* Full-bleed cinematic homepage hero */
.hero-full {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
}

.hero-full__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(560px, 78vh, 900px);
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vw, 2.5rem));
  padding-bottom: clamp(2rem, 6vw, 3.5rem);
  color: var(--text);
}

/* Full first-viewport hero, only on screens with enough vertical room */
@media (min-height: 720px) and (min-width: 641px) {
  .hero-full__frame {
    min-height: calc(100vh);
  }
}

.hero-full__body {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.hero-full__body > h1,
.hero-full__body > .hero-full__lead,
.hero-full__body > .badge-eyebrow {
  max-width: 720px;
  margin-inline: auto;
}

.hero-full__body h1 {
  font-size: clamp(2.4rem, 4.6vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.hero-full__lead {
  font-size: clamp(1.08rem, 1.3vw, 1.22rem);
  line-height: 1.65;
  color: var(--text-soft);
  margin-bottom: 2rem;
  max-width: 58ch;
}

.hero-full__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  .home-page .badge-eyebrow,
  .home-page .hero-full__body > h1,
  .home-page .hero-full__lead,
  .home-page .hero-full__actions,
  .home-page .hero-full__card {
    animation: hero-fade-up 0.8s var(--ease) both;
  }

  .home-page .badge-eyebrow { animation-delay: 0.05s; }
  .home-page .hero-full__body > h1 { animation-delay: 0.16s; }
  .home-page .hero-full__lead { animation-delay: 0.27s; }
  .home-page .hero-full__actions { animation-delay: 0.38s; }
  .home-page .hero-full__card { animation-delay: 0.49s; }
}

@keyframes hero-fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.badge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deep);
  background: rgba(var(--brand-rgb), 0.12);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-rgb), 0.32);
  margin-bottom: 1.5rem;
}

.badge-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brand-deep);
  box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.3);
}

:root[data-theme="dark"] .badge-eyebrow {
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.18);
}

:root[data-theme="dark"] .badge-eyebrow::before {
  background: var(--brand);
}

.button--lg {
  padding: 1rem 1.8rem;
  font-size: 1.05rem;
}

.inner-story-showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.inner-story-showcase__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-story-showcase--video-bg .inner-story-showcase__content {
  position: relative;
  z-index: 2;
  color: #f6faff;
  background: linear-gradient(150deg, rgba(6, 16, 30, 0.82), rgba(8, 26, 48, 0.68));
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.inner-story-showcase--video-bg .inner-story-showcase__content p,
.inner-story-showcase--video-bg .inner-story-showcase__content h2 {
  color: #f6faff;
}

.inner-story-showcase--video-bg .eyebrow {
  color: #72c1e0;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
}

.inner-story-showcase__content h2 {
  margin-bottom: 1rem;
}

.inner-story-showcase__media {
  position: relative;
}

.inner-story-showcase__media::after {
  content: '';
  position: absolute;
  inset: auto 10% -5% auto;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.2), rgba(var(--brand-rgb), 0.26));
  filter: blur(0.5px);
  z-index: -1;
}

.inner-story-showcase__media img {
  width: 100%;
  height: clamp(320px, 38vw, 460px);
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.inner-story-showcase__media video {
  width: 100%;
  height: clamp(320px, 38vw, 460px);
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.services-audience .audience-grid article {
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(231, 239, 248, 0.5));
  box-shadow: var(--shadow);
}

.services-audience .audience-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-audience .audience-grid article h3 {
  margin-bottom: 0.45rem;
  color: var(--brand-deep);
  font-weight: 600;
}

.services-audience .audience-grid article p {
  margin-bottom: 0;
  color: var(--text-soft);
}

@media (max-width: 640px) {
  .services-audience .audience-grid {
    gap: 0.9rem;
  }

  .services-audience .audience-grid article {
    padding: 1.05rem;
    border-radius: 16px;
  }

  .services-audience .audience-grid article h3 {
    font-size: 1.06rem;
    line-height: 1.25;
  }

  .services-audience .audience-grid article p {
    font-size: 0.98rem;
    line-height: 1.55;
  }
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.1rem;
}

.principles-grid__item {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.principles-grid__item--lg {
  grid-column: 1 / 3;
  grid-row: 1;
  padding: 1.9rem;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  background:
    radial-gradient(circle at 8% 12%, rgba(var(--brand-rgb), 0.16), transparent 46%),
    rgba(255, 255, 255, 0.86);
  border-color: rgba(var(--brand-rgb), 0.4);
}

.principles-grid__item--lg .principles-grid__badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.principles-grid__item--lg .principles-grid__badge svg {
  width: 28px;
  height: 28px;
}

.principles-grid__item--lg > div {
  min-width: 0;
}

.principles-grid__item--wide {
  grid-column: 1 / 3;
  grid-row: 2;
  flex-direction: row;
  align-items: center;
  gap: 1.4rem;
}

.principles-grid__item--wide .principles-grid__badge {
  margin-bottom: 0;
  flex-shrink: 0;
}

.principles-grid__item--wide > div {
  min-width: 0;
}

.principles-grid__item:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.principles-grid__item:nth-child(3) {
  grid-column: 3;
  grid-row: 2;
}

.principles-grid__item--lg h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.principles-grid__item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.principles-grid__item p {
  margin: 0;
  color: var(--text-soft);
}

.principles-grid__item--wide p {
  max-width: 62ch;
}

.principles-grid__badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(var(--brand-rgb), 0.16), rgba(var(--brand-rgb), 0.18));
  color: var(--brand-deep);
  flex-shrink: 0;
}

.principles-grid__item:nth-child(3) .principles-grid__badge,
.principles-grid__item:nth-child(4) .principles-grid__badge {
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.16), rgba(var(--secondary-rgb), 0.18));
  color: var(--secondary-deep);
}

.principles-grid__badge svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .principles-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .principles-grid__item--lg,
  .principles-grid__item--wide,
  .principles-grid__item:nth-child(2),
  .principles-grid__item:nth-child(3) {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .principles-grid__item--lg,
  .principles-grid__item--wide {
    flex-direction: column;
    align-items: flex-start;
  }
}

.site-footer {
  position: relative;
  background: linear-gradient(160deg, #04142b 0%, #072a50 55%, #0d3f74 100%);
  color: var(--white);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand) 20%, var(--brand) 80%, transparent);
  z-index: 2;
}

.site-footer a:not(.brand):hover {
  text-decoration: underline;
  text-decoration-color: rgba(var(--brand-rgb), 0.85);
  text-underline-offset: 3px;
}

.site-footer__content {
  z-index: 1;
}

:root[data-theme="dark"] .principles-grid__item {
  background: rgba(18, 31, 52, 0.86);
  border-color: rgba(232, 238, 248, 0.14);
  box-shadow: 0 22px 52px rgba(4, 9, 16, 0.34);
}

:root[data-theme="dark"] .principles-grid__item--lg {
  border-color: rgba(var(--brand-rgb), 0.4);
  background:
    radial-gradient(circle at 8% 12%, rgba(112, 180, 255, 0.2), transparent 46%),
    rgba(18, 31, 52, 0.92);
}

:root[data-theme="dark"] .service-detail {
  border-color: rgba(232, 238, 248, 0.14);
  background:
    radial-gradient(circle at 8% 0%, rgba(112, 180, 255, 0.14), transparent 40%),
    linear-gradient(150deg, rgba(18, 31, 52, 0.95), rgba(24, 40, 63, 0.86));
}

:root[data-theme="dark"] .innovation-showcase__content {
  border-color: rgba(232, 238, 248, 0.14);
  background: linear-gradient(135deg, rgba(17, 30, 49, 0.95), rgba(21, 37, 60, 0.86));
}

:root[data-theme="dark"] .services-audience .audience-grid article {
  border-color: rgba(232, 238, 248, 0.14);
  background: linear-gradient(160deg, rgba(18, 31, 52, 0.92), rgba(24, 40, 63, 0.84));
}

:root[data-theme="dark"] .service-detail li::before {
  box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.22);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .principles-grid__item {
    background: rgba(18, 31, 52, 0.86);
    border-color: rgba(232, 238, 248, 0.14);
    box-shadow: 0 22px 52px rgba(4, 9, 16, 0.34);
  }

  :root:not([data-theme="light"]) .principles-grid__item--lg {
    border-color: rgba(var(--brand-rgb), 0.3);
    background:
      radial-gradient(circle at 8% 12%, rgba(112, 180, 255, 0.2), transparent 46%),
      linear-gradient(125deg, rgba(18, 31, 52, 0.95), rgba(24, 40, 63, 0.86));
  }

  :root:not([data-theme="light"]) .service-detail {
    border-color: rgba(232, 238, 248, 0.14);
    background:
      radial-gradient(circle at 8% 0%, rgba(112, 180, 255, 0.14), transparent 40%),
      linear-gradient(150deg, rgba(18, 31, 52, 0.95), rgba(24, 40, 63, 0.86));
  }

  :root:not([data-theme="light"]) .innovation-showcase__content {
    border-color: rgba(232, 238, 248, 0.14);
    background: linear-gradient(135deg, rgba(17, 30, 49, 0.95), rgba(21, 37, 60, 0.86));
  }

  :root:not([data-theme="light"]) .services-audience .audience-grid article {
    border-color: rgba(232, 238, 248, 0.14);
    background: linear-gradient(160deg, rgba(18, 31, 52, 0.92), rgba(24, 40, 63, 0.84));
  }

  :root:not([data-theme="light"]) .service-detail li::before {
    box-shadow: 0 0 0 3px rgba(var(--secondary-rgb), 0.22);
  }
}

:root[data-theme="dark"] .site-footer {
  background: linear-gradient(160deg, #030c1a 0%, #071c38 55%, #0c2f56 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-footer {
    background: linear-gradient(160deg, #030c1a 0%, #071c38 55%, #0c2f56 100%);
  }
}

.site-footer__content {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  align-items: center;
  gap: 1.25rem;
  padding: 1.75rem 0;
}

.brand--footer small,
.site-footer p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer p {
  margin: 0 0 0.3rem;
  overflow-wrap: anywhere;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.site-footer a[href^="tel:"] {
  white-space: nowrap;
  display: inline-block;
}

.footer-side {
  display: grid;
  gap: 0.3rem;
  align-self: center;
  align-content: center;
  justify-items: end;
}

.footer-copyright {
  margin: 0.3rem 0 0;
  text-align: right;
  font-size: 0.9rem;
}

@media (max-width: 1040px) {
  .project-area-grid,
  .site-footer__content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .innovation-showcase,
  .contact-page__grid,
  .founder-message__card,
  .inner-story-showcase {
    grid-template-columns: 1fr;
  }

  .service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inner-story-showcase--video-bg {
    min-height: clamp(360px, 68vw, 560px);
  }
}


@media (max-width: 820px) {
  .services-audience .audience-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 0.9rem;
  }

  .services-audience .audience-grid article:last-child {
    grid-column: 1 / -1;
  }

  .inner-story-showcase--video-bg .inner-story-showcase__content {
    margin-inline: 0.65rem;
  }

  .section--split,
  .service-detail-grid,
  .project-area-grid,
  .audience-grid,
  .site-footer__content {
    grid-template-columns: 1fr;
  }

  .service-detail-grid .service-detail:nth-child(3) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .section,
  .band {
    padding: 3.25rem 0;
  }

  .footer-side {
    justify-items: start;
  }

  .footer-copyright {
    text-align: left;
  }
}

:root[data-theme="dark"] .home-page .band--light {
  background: rgba(10, 18, 30, 0.7);
  border-block-color: rgba(232, 238, 248, 0.12);
}

:root[data-theme="dark"] .home-page .innovation-showcase__content {
  border-color: rgba(232, 238, 248, 0.14);
  background: linear-gradient(135deg, rgba(17, 30, 49, 0.95), rgba(21, 37, 60, 0.86));
}

:root[data-theme="dark"] .home-page .innovation-showcase__points span {
  background: linear-gradient(135deg, rgba(112, 180, 255, 0.16), rgba(var(--brand-rgb), 0.18));
  color: var(--text);
}

:root[data-theme="dark"] .home-page .innovation-showcase__points span:nth-child(2) {
  background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.2), rgba(var(--secondary-rgb), 0.24));
  color: var(--text);
}

@media (prefers-color-scheme: dark) {

  :root:not([data-theme="light"]) .home-page .band--light {
    background: rgba(10, 18, 30, 0.7);
    border-block-color: rgba(232, 238, 248, 0.12);
  }

  :root:not([data-theme="light"]) .home-page .innovation-showcase__content {
    border-color: rgba(232, 238, 248, 0.14);
    background: linear-gradient(135deg, rgba(17, 30, 49, 0.95), rgba(21, 37, 60, 0.86));
  }

  :root:not([data-theme="light"]) .home-page .innovation-showcase__points span {
    background: linear-gradient(135deg, rgba(112, 180, 255, 0.16), rgba(var(--brand-rgb), 0.18));
    color: var(--text);
  }

  :root:not([data-theme="light"]) .home-page .innovation-showcase__points span:nth-child(2) {
    background: linear-gradient(135deg, rgba(var(--secondary-rgb), 0.2), rgba(var(--secondary-rgb), 0.24));
    color: var(--text);
  }

}

:root[data-theme="dark"] .news-skeleton {
  background: rgba(232, 238, 248, 0.14);
}

:root[data-theme="dark"] .news-skeleton::after {
  background: linear-gradient(90deg, transparent, rgba(112, 180, 255, 0.3), transparent);
}

@media (prefers-color-scheme: dark) {

  :root:not([data-theme="light"]) .news-skeleton {
    background: rgba(232, 238, 248, 0.14);
  }

  :root:not([data-theme="light"]) .news-skeleton::after {
    background: linear-gradient(90deg, transparent, rgba(112, 180, 255, 0.3), transparent);
  }
}

:root[data-theme="dark"] .contact-card,
:root[data-theme="dark"] .contact-details li {
  border-color: rgba(232, 238, 248, 0.14);
  background: rgba(18, 31, 52, 0.88);
  color: var(--text);
}

:root[data-theme="dark"] .contact-card--featured {
  border-color: rgba(232, 238, 248, 0.14);
  background:
    radial-gradient(circle at 88% 12%, rgba(var(--brand-rgb), 0.14), transparent 38%),
    radial-gradient(circle at 0% 100%, rgba(112, 180, 255, 0.16), transparent 46%),
    rgba(18, 31, 52, 0.93);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .contact-card,
  :root:not([data-theme="light"]) .contact-details li {
    border-color: rgba(232, 238, 248, 0.14);
    background: rgba(18, 31, 52, 0.88);
    color: var(--text);
  }

  :root:not([data-theme="light"]) .contact-card--featured {
    border-color: rgba(232, 238, 248, 0.14);
    background:
      radial-gradient(circle at 88% 12%, rgba(var(--brand-rgb), 0.14), transparent 38%),
      radial-gradient(circle at 0% 100%, rgba(112, 180, 255, 0.16), transparent 46%),
      rgba(18, 31, 52, 0.93);
  }

}

:root[data-theme="dark"] .project-card {
  background: rgba(12, 22, 36, 0.84);
  border-color: rgba(112, 180, 255, 0.26);
  box-shadow: 0 22px 60px rgba(5, 11, 20, 0.42);
}

:root[data-theme="dark"] .project-card__media {
  background:
    radial-gradient(circle at 10% 0%, rgba(114, 193, 224, 0.24), transparent 46%),
    radial-gradient(circle at 100% 100%, rgba(43, 116, 204, 0.16), transparent 46%),
    linear-gradient(135deg, rgba(226, 240, 250, 0.95), rgba(196, 222, 242, 0.88));
}

:root[data-theme="dark"] .project-card__meta {
  color: var(--ink);
}

:root[data-theme="dark"] .project-card__status {
  background: rgba(12, 22, 36, 0.86);
  color: #7be3b8;
}

:root[data-theme="dark"] .news-card {
  background: rgba(12, 22, 36, 0.84);
  border-color: rgba(112, 180, 255, 0.26);
  box-shadow: 0 22px 60px rgba(5, 11, 20, 0.42);
}

:root[data-theme="dark"] .news-card__media {
  background:
    radial-gradient(circle at 10% 0%, rgba(114, 193, 224, 0.24), transparent 46%),
    radial-gradient(circle at 100% 100%, rgba(43, 116, 204, 0.16), transparent 46%),
    linear-gradient(135deg, rgba(226, 240, 250, 0.95), rgba(196, 222, 242, 0.88));
}

:root[data-theme="dark"] .news-card__tag {
  background: rgba(12, 22, 36, 0.86);
  color: #9bcbff;
}

:root[data-theme="dark"] .project-modal__hero,
:root[data-theme="dark"] .news-modal__hero {
  background:
    radial-gradient(circle at 10% 0%, rgba(114, 193, 224, 0.24), transparent 46%),
    radial-gradient(circle at 100% 100%, rgba(43, 116, 204, 0.16), transparent 46%),
    linear-gradient(135deg, rgba(226, 240, 250, 0.95), rgba(196, 222, 242, 0.88));
}

:root[data-theme="dark"] .news-filter__chip {
  border-color: rgba(232, 238, 248, 0.16);
  background: rgba(12, 22, 36, 0.7);
  color: var(--text-soft);
}

:root[data-theme="dark"] .news-filter__chip.is-active {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #0c1422;
}

:root[data-theme="dark"] .news-pagination__page,
:root[data-theme="dark"] .news-pagination__nav {
  border-color: rgba(232, 238, 248, 0.16);
  background: rgba(12, 22, 36, 0.7);
  color: var(--text-soft);
}

:root[data-theme="dark"] .news-pagination__page.is-active {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: #0c1422;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .project-card {
    background: rgba(12, 22, 36, 0.84);
    border-color: rgba(112, 180, 255, 0.26);
    box-shadow: 0 22px 60px rgba(5, 11, 20, 0.42);
  }

  :root:not([data-theme="light"]) .project-card__media {
    background:
      radial-gradient(circle at 10% 0%, rgba(114, 193, 224, 0.24), transparent 46%),
      radial-gradient(circle at 100% 100%, rgba(43, 116, 204, 0.16), transparent 46%),
      linear-gradient(135deg, rgba(226, 240, 250, 0.95), rgba(196, 222, 242, 0.88));
  }

  :root:not([data-theme="light"]) .project-card__meta {
    color: var(--ink);
  }

  :root:not([data-theme="light"]) .project-card__status {
    background: rgba(12, 22, 36, 0.86);
    color: #7be3b8;
  }

  :root:not([data-theme="light"]) .news-card {
    background: rgba(12, 22, 36, 0.84);
    border-color: rgba(112, 180, 255, 0.26);
    box-shadow: 0 22px 60px rgba(5, 11, 20, 0.42);
  }

  :root:not([data-theme="light"]) .news-card__media {
    background:
      radial-gradient(circle at 10% 0%, rgba(114, 193, 224, 0.24), transparent 46%),
      radial-gradient(circle at 100% 100%, rgba(43, 116, 204, 0.16), transparent 46%),
      linear-gradient(135deg, rgba(226, 240, 250, 0.95), rgba(196, 222, 242, 0.88));
  }

  :root:not([data-theme="light"]) .news-card__tag {
    background: rgba(12, 22, 36, 0.86);
    color: #9bcbff;
  }

  :root:not([data-theme="light"]) .project-modal__hero,
  :root:not([data-theme="light"]) .news-modal__hero {
    background:
      radial-gradient(circle at 10% 0%, rgba(114, 193, 224, 0.24), transparent 46%),
      radial-gradient(circle at 100% 100%, rgba(43, 116, 204, 0.16), transparent 46%),
      linear-gradient(135deg, rgba(226, 240, 250, 0.95), rgba(196, 222, 242, 0.88));
  }

  :root:not([data-theme="light"]) .news-filter__chip {
    border-color: rgba(232, 238, 248, 0.16);
    background: rgba(12, 22, 36, 0.7);
    color: var(--text-soft);
  }

  :root:not([data-theme="light"]) .news-filter__chip.is-active {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    color: #0c1422;
  }

  :root:not([data-theme="light"]) .news-pagination__page,
  :root:not([data-theme="light"]) .news-pagination__nav {
    border-color: rgba(232, 238, 248, 0.16);
    background: rgba(12, 22, 36, 0.7);
    color: var(--text-soft);
  }

  :root:not([data-theme="light"]) .news-pagination__page.is-active {
    background: var(--brand-deep);
    border-color: var(--brand-deep);
    color: #0c1422;
  }

}

.publications-loading {
  margin: 0;
  padding: 1rem;
  color: var(--text-soft);
}

:root[data-theme="dark"] .publications-loading {
  color: var(--text-soft);
}

@media (max-width: 640px) {

  .site-footer p a[href^="tel:"] {
    display: block;
    margin-top: 0.2rem;
  }
}



