:root {
  --color-navy: #0b1f3a;
  --color-navy-soft: #123154;
  --color-red: #d9222a;
  --color-red-dark: #b9161f;
  --color-text: #172033;
  --color-muted: #5f6c80;
  --color-line: #dde4ee;
  --color-soft: #f5f7fb;
  --color-white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(11, 31, 58, 0.08);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--color-white);
  background: var(--color-navy);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: hidden;
  background: #07101c;
  border-bottom: 0;
  backdrop-filter: blur(14px);
}

.header-rays {
  position: absolute;
  top: 0;
  width: 130px;
  height: 76px;
  pointer-events: none;
}

.header-rays-left {
  left: 0;
}

.header-rays-right {
  right: 0;
}

.header-rays span {
  position: absolute;
  bottom: -1px;
  width: 1px;
  height: 92px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 16px rgba(0, 111, 255, 0.12);
  transform-origin: bottom center;
}

.header-rays-right span {
  transform: rotate(-15deg);
}

.header-rays-left span {
  transform: rotate(15deg);
}

.header-rays-right span:nth-child(1) {
  right: 75px;
}

.header-rays-right span:nth-child(2) {
  right: 54px;
}

.header-rays-right span:nth-child(3) {
  right: 36px;
}

.header-rays-left span:nth-child(1) {
  left: 75px;
}

.header-rays-left span:nth-child(2) {
  left: 54px;
}

.header-rays-left span:nth-child(3) {
  left: 36px;
}

.header-rays span:nth-child(2) {
  background: rgba(87, 166, 255, 0.3);
  box-shadow: 0 0 24px rgba(0, 111, 255, 0.28);
}

.header-rays span:nth-child(3) {
  background: rgba(255, 255, 255, 0.18);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  position: relative;
  display: block;
  flex: 0 0 240px;
  width: 240px;
  height: 76px;
  overflow: hidden;
}

.brand::before,
.brand::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}

.brand::before {
  left: 0;
  width: 18px;
  background: linear-gradient(90deg, #07101c, transparent);
}

.brand::after {
  right: 0;
  width: 34px;
  background: linear-gradient(270deg, #07101c, transparent);
}

.brand img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 380px;
  max-width: none;
  height: auto;
  filter: brightness(0.68) contrast(2.15) saturate(1.3);
  mix-blend-mode: lighten;
  transform: translate(-50%, -50%);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
  font-weight: 650;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-white);
}

.language-toggle {
  min-width: 48px;
  min-height: 38px;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
}

.language-toggle:hover,
.language-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.54);
}

.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-white);
  position: relative;
}

.mobile-toggle span::before,
.mobile-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--color-white);
}

.mobile-toggle span::before {
  top: -7px;
}

.mobile-toggle span::after {
  top: 7px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--color-white);
  background: var(--color-red);
  border-color: var(--color-red);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--color-red-dark);
  border-color: var(--color-red-dark);
}

.button-secondary {
  color: var(--color-navy);
  background: var(--color-white);
  border-color: var(--color-line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--color-navy);
}

.ai-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  color: var(--color-white);
  background: #0d1118;
}

.ai-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ai-hero-bg::before {
  content: "";
  position: absolute;
  inset: auto -20% -48% -20%;
  height: 90%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 111, 255, 0.42), rgba(0, 111, 255, 0.08) 36%, transparent 66%),
    radial-gradient(ellipse at 50% 12%, rgba(255, 255, 255, 0.22), transparent 42%);
  filter: blur(6px);
}

.ray {
  position: absolute;
  left: 50%;
  bottom: -58%;
  width: 170vw;
  max-width: 2600px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  transform: translateX(-50%);
}

.ray-one {
  box-shadow: 0 0 38px rgba(0, 111, 255, 0.34);
}

.ray-two {
  bottom: -54%;
  width: 148vw;
  border-color: rgba(87, 166, 255, 0.3);
}

.ray-three {
  bottom: -50%;
  width: 126vw;
  border-color: rgba(255, 255, 255, 0.18);
}

.ai-hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 76px);
  width: min(calc(100% - 64px), 1440px);
  padding: 48px 0 38px;
}

.ai-hero-copy {
  width: 100%;
  max-width: 1380px;
  max-height: 240px;
  margin: 34px auto 0;
  overflow: hidden;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 700ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1),
    max-height 650ms ease 280ms,
    margin 650ms ease 280ms;
}

.ai-hero-copy h1 {
  max-width: none;
  color: var(--color-white);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.ai-hero-copy p {
  max-width: 1180px;
  margin: 18px auto 0;
  color: rgba(231, 237, 247, 0.74);
  font-size: 1.13rem;
}

.chat-shell {
  width: min(100%, 760px);
  margin-top: 0;
}

.ai-hero.is-chat-active .ai-hero-copy {
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  transform: translateY(84px);
}

.ai-hero.is-chat-active {
  height: calc(100vh - 76px);
  min-height: 620px;
}

.ai-hero.is-chat-active .ai-hero-inner {
  justify-content: flex-start;
  height: 100%;
  min-height: 0;
  padding: 0;
}

.ai-hero.is-chat-active .chat-shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: min(100%, 900px);
  min-height: 0;
}

.ai-hero.is-chat-active .chat-thread {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding: 42px 0 24px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: none;
}

.ai-hero.is-chat-active .chat-thread::-webkit-scrollbar {
  display: none;
}

.ai-hero.is-chat-active .chat-message {
  width: 100%;
}

.ai-hero.is-chat-active .message-avatar,
.ai-hero.is-chat-active .message-bubble strong {
  display: none;
}

.ai-hero.is-chat-active .assistant-message .message-bubble {
  max-width: 760px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.ai-hero.is-chat-active .user-message .message-bubble {
  max-width: min(76%, 620px);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.ai-hero.is-chat-active .chat-input-card {
  flex: 0 0 auto;
  margin: 0 0 18px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.32);
}

.ai-hero.is-chat-active .chat-input-card textarea {
  min-height: 72px;
  max-height: 150px;
}

.ai-hero.is-chat-active .prompt-row {
  display: none;
}

.chat-thread {
  display: grid;
  gap: 12px;
  max-height: 230px;
  margin-bottom: 14px;
  overflow: auto;
  scrollbar-width: thin;
}

.chat-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.chat-message.user-message {
  flex-direction: row-reverse;
}

.message-avatar {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--color-white);
  background: var(--color-red);
  border-radius: 50%;
  font-size: 0.84rem;
  font-weight: 850;
}

.user-message .message-avatar {
  background: #1d8bff;
}

.message-bubble {
  max-width: min(100%, 960px);
  padding: 14px 16px;
  color: rgba(245, 248, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.user-message .message-bubble {
  background: rgba(29, 139, 255, 0.17);
  border-color: rgba(29, 139, 255, 0.26);
}

.message-bubble strong {
  display: block;
  color: var(--color-white);
  margin-bottom: 4px;
}

.message-bubble p {
  margin: 0;
}

.typing .message-bubble p::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 8px;
  margin-left: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.25));
}

.chat-input-card {
  position: relative;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border-radius: 18px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.35);
}

.chat-input-card textarea {
  display: block;
  width: 100%;
  min-height: 112px;
  max-height: 220px;
  padding: 20px 20px 12px;
  color: var(--color-white);
  background: #1b1f28;
  border: 0;
  border-radius: 18px 18px 0 0;
  outline: none;
  resize: none;
}

.chat-input-card textarea::placeholder {
  color: rgba(231, 237, 247, 0.38);
}

.chat-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px 10px;
  background: #1b1f28;
  border-radius: 0 0 18px 18px;
}

.chat-tools {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button,
.model-pill,
.chat-submit,
.prompt-row button,
.attachment-menu button,
.model-menu button {
  border: 0;
  cursor: pointer;
}

.icon-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
}

.model-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 750;
}

.model-pill:hover,
.icon-button:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
}

.model-dot {
  width: 8px;
  height: 8px;
  background: #1d8bff;
  border-radius: 50%;
}

.attachment-menu,
.model-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  z-index: 5;
  width: 190px;
  padding: 7px;
  background: rgba(21, 24, 31, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.38);
}

.model-menu {
  left: 44px;
  width: 210px;
}

.attachment-menu button,
.model-menu button {
  width: 100%;
  padding: 10px 11px;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border-radius: 8px;
  text-align: left;
}

.attachment-menu button:hover,
.model-menu button:hover {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
}

.chat-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  color: var(--color-white);
  background: #1686f8;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 0 28px rgba(22, 134, 248, 0.28);
}

.chat-submit:hover {
  background: #2a95ff;
}

.chat-input-card[aria-busy="true"] {
  opacity: 0.82;
}

.chat-submit:disabled,
.chat-input-card textarea:disabled {
  cursor: wait;
}

.chat-submit:disabled {
  background: #356da7;
  box-shadow: none;
}

.error-message .message-bubble {
  color: #ffd7d9;
  border-color: rgba(217, 34, 42, 0.42);
}

.prompt-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.prompt-row button {
  min-height: 34px;
  padding: 0 13px;
  color: rgba(255, 255, 255, 0.68);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  font-size: 0.86rem;
}

.prompt-row button:hover {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.24);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--color-red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-navy);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.55rem, 7vw, 4.75rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.15rem;
}

.showcase-about {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 96px 16px;
  color: #f4f6f8;
  background: #000;
}

.showcase-about-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 1152px);
  margin: 0 auto;
}

.showcase-about-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.showcase-about-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #88734c;
  font-weight: 600;
}

.showcase-about-kicker svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.showcase-about-header h1 {
  max-width: none;
  color: #fff;
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 300;
  text-align: center;
}

.showcase-about-rule {
  width: 96px;
  height: 4px;
  margin-top: 16px;
  background: #88734c;
  animation: showcase-rule-in 1s ease 0.5s both;
}

@keyframes showcase-rule-in {
  from { width: 0; }
  to { width: 96px; }
}

.showcase-about-intro {
  max-width: 672px;
  margin: 0 auto 64px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.showcase-services {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.showcase-service-column {
  display: grid;
  align-content: space-between;
  gap: 64px;
}

.showcase-service {
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease;
}

.showcase-service:hover {
  transform: translateY(-5px);
}

.showcase-service-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.showcase-service-heading h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
  transition: color 300ms ease;
}

.showcase-service:hover h2 {
  color: #88734c;
}

.showcase-service-icon {
  position: relative;
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #88734c;
  background: rgba(136, 115, 76, 0.1);
  border-radius: 8px;
  transition: background 300ms ease;
}

.showcase-service:hover .showcase-service-icon {
  background: rgba(136, 115, 76, 0.2);
  animation: showcase-icon-shake 500ms ease;
}

@keyframes showcase-icon-shake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-5deg); }
}

.showcase-service-icon > svg:first-child {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.showcase-service-icon .mini-icon {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  fill: none;
  color: #a9bbc8;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.showcase-service p {
  margin: 0;
  padding-left: 48px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.875rem;
  line-height: 1.65;
}

.showcase-service > a {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding-left: 48px;
  color: #88734c;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 300ms ease;
}

.showcase-service:hover > a {
  opacity: 1;
}

.showcase-image {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  align-items: center;
}

.showcase-image-media {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  background: #050505;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(32, 46, 68, 0.22);
  transition: transform 300ms ease;
}

.showcase-image-media:hover {
  transform: scale(1.03);
}

.showcase-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.showcase-image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(to top, rgba(32, 46, 68, 0.5), transparent 55%);
}

.showcase-image-overlay a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  color: #202e44;
  background: #fff;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: transform 200ms ease;
}

.showcase-image-overlay a:hover {
  transform: scale(1.05);
}

.showcase-image-frame {
  position: absolute;
  inset: -12px;
  border: 4px solid #a9bbc8;
  border-radius: 8px;
}

.showcase-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 96px;
}

.showcase-stats article {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform 200ms ease, background 300ms ease;
}

.showcase-stats article:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.09);
}

.showcase-stat-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  place-items: center;
  color: #88734c;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  transition: transform 800ms ease, background 300ms ease;
}

.showcase-stats article:hover .showcase-stat-icon {
  background: rgba(136, 115, 76, 0.1);
  transform: rotate(360deg);
}

.showcase-stat-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.showcase-stats strong {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 1.875rem;
}

.showcase-stats p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
}

.showcase-stats i {
  width: 40px;
  height: 2px;
  margin-top: 12px;
  background: #88734c;
  transition: width 300ms ease;
}

.showcase-stats article:hover i {
  width: 64px;
}

.team-showcase {
  width: 100%;
  margin-top: 112px;
  padding: 0 16px 24px;
}

.team-showcase-header {
  max-width: 768px;
  margin: 0 auto 104px;
  text-align: center;
}

.team-showcase-header h2 {
  margin-bottom: 24px;
  color: #f8fafc;
  font-size: clamp(1.875rem, 4vw, 2.25rem);
  font-weight: 700;
}

.team-showcase-header p {
  margin: 0;
  color: #a3a3a3;
  font-size: 1rem;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 96px 24px;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.team-card {
  position: relative;
  min-width: 0;
  padding-top: 64px;
  color: #f8fafc;
  background: #262626;
  border: 1px solid #404040;
  border-radius: 8px;
  text-align: center;
}

.team-card > img {
  position: absolute;
  top: -64px;
  left: 50%;
  width: 128px;
  height: 128px;
  object-fit: cover;
  background: #404040;
  border: 1px solid #404040;
  border-radius: 50%;
  transform: translateX(-50%);
}

.team-card > div {
  padding: 16px 16px 20px;
}

.team-card h3 {
  margin: 0;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
}

.team-card p {
  margin: 4px 0 0;
  color: #a3a3a3;
  font-size: 0.875rem;
}

.team-card nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.team-card nav a {
  display: grid;
  width: 32px;
  height: 32px;
  padding: 8px;
  place-items: center;
  color: #f8fafc;
  background: #404040;
  border: 1px solid #525252;
  border-radius: 50%;
  transition: border-color 180ms ease, background 180ms ease;
}

.team-card nav a:hover,
.team-card nav a:focus-visible {
  background: #525252;
  border-color: #64748b;
  outline: none;
}

.team-card nav svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.showcase-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  padding: 32px;
  color: #fff;
  background: #202e44;
  border-radius: 8px;
}

.showcase-cta h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
}

.showcase-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.showcase-cta > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 12px 24px;
  color: #fff;
  background: #88734c;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 200ms ease, background 200ms ease;
}

.showcase-cta > a:hover {
  background: #796542;
  transform: scale(1.05);
}

.about-story {
  overflow: hidden;
  padding: 96px 0;
  background: #f6f8fb;
}

.about-story-inner {
  width: min(100% - 40px, 1240px);
}

.about-story-header {
  max-width: 900px;
  margin: 0 auto 72px;
  text-align: center;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #1478dc;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-kicker svg,
.about-cta svg,
.about-showcase figcaption svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.about-story-header h1 {
  max-width: none;
  color: var(--color-navy);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.about-title-rule {
  display: block;
  width: 92px;
  height: 3px;
  margin: 24px auto;
  background: var(--color-red);
}

.about-story-header > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.about-capabilities {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.about-capability-column {
  display: grid;
  gap: 54px;
}

.about-capability {
  transition: transform 220ms ease;
}

.about-capability:hover {
  transform: translateY(-4px);
}

.about-capability-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.about-capability-heading h2 {
  font-size: 1.25rem;
}

.about-icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  color: #1478dc;
  background: #e7f2ff;
  border: 1px solid #cfe4fb;
  border-radius: 8px;
}

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

.about-capability p {
  margin: 0 0 0 62px;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.about-showcase {
  position: relative;
  width: 100%;
  margin: 0;
}

.about-showcase-media {
  position: relative;
  z-index: 1;
  display: flex;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  background: #07101c;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(7, 16, 28, 0.2);
}

.about-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.about-showcase figcaption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  color: #fff;
  background: rgba(7, 16, 28, 0.9);
}

.about-showcase figcaption > span {
  font-size: 0.88rem;
  font-weight: 750;
}

.about-showcase figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.about-showcase-frame {
  position: absolute;
  inset: 10px -10px -10px 10px;
  border: 2px solid #68aef5;
  border-radius: 8px;
}

.about-identity {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-top: 96px;
  padding: 42px;
  color: #fff;
  background: #07101c;
}

.about-identity .eyebrow {
  margin-bottom: 10px;
}

.about-identity h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.about-identity dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin: 0;
}

.about-identity dl div {
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.about-identity dt {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  font-weight: 750;
  text-transform: uppercase;
}

.about-identity dd {
  margin: 5px 0 0;
  color: #fff;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.about-values {
  margin-top: 96px;
}

.about-values > header {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 1fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.about-values > header .eyebrow {
  margin: 0;
}

.about-values > header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.about-value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.about-value-grid article {
  min-width: 0;
  padding: 28px 24px;
  border-right: 1px solid var(--color-line);
}

.about-value-grid article:last-child {
  border-right: 0;
}

.about-value-grid article > span {
  display: block;
  margin-bottom: 18px;
  color: var(--color-red);
  font-size: 0.8rem;
  font-weight: 850;
}

.about-value-grid h3 {
  font-size: 1.08rem;
}

.about-value-grid p {
  margin: 10px 0 0;
  color: var(--color-muted);
  font-size: 0.91rem;
}

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 80px;
  padding: 34px 38px;
  color: #fff;
  background: var(--color-navy-soft);
}

.about-cta h2 {
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.about-cta p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.about-cta .button {
  flex: 0 0 auto;
}

.about-cta .button svg {
  margin-left: 8px;
}

.reveal-pending {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-pending.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--color-soft);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 1fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 42px;
}

.section-header p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.04rem;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: 48px;
  align-items: start;
}

.lead {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.14rem;
}

.info-panel {
  padding: 28px;
  background: var(--color-soft);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.info-panel dl {
  margin: 0;
}

.info-panel dt {
  color: var(--color-muted);
  font-size: 0.85rem;
  font-weight: 750;
}

.info-panel dd {
  margin: 4px 0 18px;
  color: var(--color-navy);
  font-weight: 750;
}

.info-panel dd:last-child {
  margin-bottom: 0;
}

.services-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.feature {
  min-height: 100%;
  padding: 26px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.section-soft .card,
.section-soft .feature {
  background: var(--color-white);
}

.card-icon,
.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  color: var(--color-white);
  background: var(--color-navy);
  border-radius: 6px;
  font-weight: 800;
}

.card p,
.feature p {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.contact-item {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-line);
}

.contact-item span {
  display: block;
  color: var(--color-muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.contact-item a,
.contact-item strong {
  display: inline-block;
  margin-top: 4px;
  color: var(--color-navy);
  font-size: 1.02rem;
}

.contact-form {
  padding: 30px;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  color: var(--color-navy);
  font-weight: 750;
}

.field input,
.field textarea {
  width: 100%;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 6px;
  outline: none;
}

.field input {
  min-height: 48px;
  padding: 0 14px;
}

.field textarea {
  min-height: 150px;
  padding: 12px 14px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.1);
}

.form-note {
  margin: 0 0 18px;
  color: var(--color-muted);
  font-size: 0.93rem;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--color-navy);
  font-weight: 700;
}

.privacy-article {
  max-width: 820px;
  padding: 72px 0 96px;
}

.privacy-article h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}

.privacy-article h2 {
  margin-top: 38px;
  font-size: 1.45rem;
}

.privacy-article p,
.privacy-article li {
  color: var(--color-muted);
}

.privacy-article ul {
  padding-left: 22px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.84);
  background: var(--color-navy);
}

.about-page,
.about-page .site-footer {
  background: #000;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 32px;
  padding: 48px 0;
}

.footer-brand {
  color: var(--color-white);
  font-size: 1.25rem;
  font-weight: 850;
}

.footer-grid p {
  margin: 10px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  align-content: start;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-white);
}

.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

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

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

@media (max-width: 920px) {
  .site-header {
    overflow: visible;
  }

  .header-rays {
    display: none;
  }

  .nav-actions {
    gap: 10px;
  }

  .mobile-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    background: #07101c;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .header-cta {
    display: none;
  }

  .about-layout,
  .contact-layout,
  .section-header {
    grid-template-columns: 1fr;
  }

  .ai-hero,
  .ai-hero-inner {
    min-height: auto;
  }

  .ai-hero-inner {
    width: min(100% - 40px, 1120px);
    padding: 42px 0;
  }

  .ai-hero.is-chat-active {
    height: calc(100dvh - 76px);
    min-height: 520px;
  }

  .ai-hero.is-chat-active .ai-hero-inner {
    width: min(100% - 40px, 900px);
    height: 100%;
    min-height: 0;
    padding: 0;
  }

  .section-header {
    gap: 18px;
    margin-bottom: 32px;
  }

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

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

  .about-capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
  }

  .about-showcase {
    grid-column: 1 / -1;
    order: -1;
    width: min(100%, 420px);
    justify-self: center;
  }

  .about-identity,
  .about-values > header {
    grid-template-columns: 1fr;
  }

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

  .about-value-grid article:nth-child(2) {
    border-right: 0;
  }

  .about-value-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--color-line);
  }

  .showcase-services {
    grid-template-columns: 1fr;
  }

  .showcase-image {
    order: -1;
    margin-bottom: 32px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    min-height: 70px;
  }

  .brand img {
    width: 300px;
  }

  .brand {
    flex-basis: 190px;
    width: 190px;
    height: 70px;
  }

  .brand::before {
    width: 12px;
  }

  .brand::after {
    width: 26px;
  }

  .site-nav {
    top: 70px;
  }

  .ai-hero-inner {
    width: min(100% - 28px, 1120px);
    padding: 34px 0;
  }

  .ai-hero.is-chat-active {
    height: calc(100dvh - 70px);
    min-height: 480px;
  }

  .ai-hero.is-chat-active .ai-hero-inner {
    width: min(100% - 28px, 900px);
    padding: 0;
  }

  .ai-hero.is-chat-active .chat-thread {
    gap: 22px;
    padding: 24px 0 18px;
  }

  .ai-hero.is-chat-active .chat-toolbar {
    align-items: center;
    flex-direction: row;
  }

  .ai-hero.is-chat-active .chat-submit {
    flex: 0 0 40px;
    width: 40px;
    padding: 0;
  }

  .ai-hero.is-chat-active .chat-submit span {
    display: none;
  }

  .ai-hero.is-chat-active .user-message .message-bubble {
    max-width: 86%;
  }

  .ai-hero-copy h1 {
    font-size: 2.1rem;
  }

  .ai-hero-copy p {
    font-size: 1rem;
  }

  .chat-thread {
    max-height: 210px;
  }

  .chat-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .chat-tools {
    justify-content: space-between;
  }

  .model-menu {
    left: 0;
  }

  .chat-submit {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .services-grid,
  .feature-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 22px;
  }

  .button {
    width: 100%;
  }

  .nav-actions .button {
    width: auto;
  }

  .about-story {
    padding: 68px 0;
  }

  .about-story-inner {
    width: min(100% - 28px, 1240px);
  }

  .about-story-header {
    margin-bottom: 52px;
  }

  .about-story-header h1 {
    font-size: 2.35rem;
  }

  .about-capabilities {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-showcase {
    grid-column: auto;
    width: min(100% - 12px, 380px);
  }

  .about-capability-column {
    gap: 38px;
  }

  .about-capability p {
    margin-left: 0;
  }

  .about-identity {
    margin-top: 72px;
    padding: 28px 22px;
  }

  .about-identity dl,
  .about-value-grid {
    grid-template-columns: 1fr;
  }

  .about-value-grid article,
  .about-value-grid article:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .about-value-grid article:last-child {
    border-bottom: 0;
  }

  .about-values {
    margin-top: 72px;
  }

  .about-cta {
    align-items: stretch;
    flex-direction: column;
    margin-top: 64px;
    padding: 28px 22px;
  }

  .about-cta .button {
    width: 100%;
  }

  .showcase-about {
    padding: 72px 16px;
  }

  .showcase-about-intro {
    margin-bottom: 48px;
  }

  .showcase-service-column {
    gap: 48px;
  }

  .showcase-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 72px;
  }

  .showcase-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .showcase-cta > a {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .team-showcase {
    margin-top: 88px;
    padding-inline: 0;
  }

  .team-showcase-header {
    margin-bottom: 96px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 384px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}
