/* Technology page (technology.html). Loaded after site.css and theme.css. */

/* ---------- Section heads ---------- */
.tech-principles .section-head .lead, .tech-stack .section-head .lead, .tech-arch .section-head .lead { margin-inline: auto; }

/* ---------- Principles ---------- */
.tech-principles .grid { gap: 24px; }
.tech-principles .card { padding: 32px; }
.tech-principles .card-icon { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 24px; }
.tech-principles .card h3 { font-size: 1.25rem; letter-spacing: -.015em; }

/* ---------- Technology groups ---------- */
.tech-stack .grid { gap: 24px; }
.tech-group { padding: 28px; border-radius: var(--card-radius); box-shadow: var(--card-shadow); }
.tech-group h3 { gap: 12px; font-size: 1.1rem; margin-bottom: 20px; }
.tech-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-soft); border: 1px solid var(--blue-100); }
.tech-icon .icon { width: 20px; height: 20px; }
.tech-group .chip { background: var(--surface); }

/* ---------- Architecture diagram ---------- */
.tech-arch .arch { margin: 0; padding: 3px; border: 0; border-radius: 26px; background: var(--grad); box-shadow: 0 40px 80px -44px rgba(11, 45, 90, .4); overflow: visible; }
.tech-arch .arch svg { display: block; min-width: 680px; }
.tech-arch .arch-scroll { overflow-x: auto; padding: clamp(16px, 3vw, 32px); border-radius: 23px 23px 0 0; background: #fff; }
.tech-arch .arch-scroll:focus-visible { outline: 3px solid var(--blue-400); outline-offset: -3px; }
.tech-arch .media-caption { margin: 0; padding: 16px 24px; border-top: 1px solid var(--line); border-radius: 0 0 23px 23px; background: #fff; }

/* ---------- Practical AI ---------- */
.tech-ai-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.tech-ai h2 { letter-spacing: -.025em; }
.tech-ai-list { gap: 16px; padding: clamp(24px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--card-radius); background: #fff; box-shadow: var(--card-shadow); }
@media (max-width: 860px) { .tech-ai-grid { grid-template-columns: 1fr; } }

/* ---------- Security ---------- */
.tech-security .grid { gap: 24px; }
.tech-security .feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--card-radius); background: #fff; box-shadow: var(--card-shadow); }


/* One image fills the whole page: fixed behind everything, under a navy veil.
   The header text sits straight on it; every later section is a frosted panel
   so its dark text stays readable. */
.tech-hero-bg { position: fixed; inset: 0; z-index: -1; background: #071d38; }
.tech-hero-bg picture, .tech-hero-bg img { display: block; width: 100%; height: 100%; }
.tech-hero-bg img { object-fit: cover; object-position: 62% 40%; }
.tech-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 29, 56, .92) 0%, rgba(7, 29, 56, .8) 36%, rgba(7, 29, 56, .46) 66%, rgba(7, 29, 56, .3) 100%), linear-gradient(180deg, rgba(7, 29, 56, .5) 0%, transparent 26%); }
body.tech-page { background: #071d38; }
body.tech-page #main > section { background: transparent; border: 0; }
.page-head.page-head-dark.tech-hero { display: grid; align-items: center; min-height: min(84vh, 780px); padding-bottom: clamp(56px, 7vw, 96px); color: #dbe9fb; }
.page-head.page-head-dark.tech-hero h1 { color: #fff; max-width: 16ch; }
.page-head.page-head-dark.tech-hero .lead { color: #d3e3f8; max-width: 34rem; }
.page-head.page-head-dark.tech-hero .eyebrow { color: #7fe0ae; }
.page-head.page-head-dark.tech-hero .breadcrumbs, .page-head.page-head-dark.tech-hero .breadcrumbs a { color: #c4d8f3; }
.page-head.page-head-dark.tech-hero .breadcrumbs a:hover { color: #fff; }
.page-head.page-head-dark.tech-hero :focus-visible { outline-color: #fff; }
.tech-hero-note { position: absolute; right: 16px; bottom: 10px; margin: 0; padding: 4px 10px; border-radius: 999px; background: rgba(7, 29, 56, .62); color: #d3e3f8; font-size: .72rem; }
.page-head.tech-hero { position: relative; }

/* Sections after the header: frosted panels over the image. */
body.tech-page #main > section:not(.page-head) { padding-block: clamp(16px, 2.4vw, 32px); }
body.tech-page #main > section.section:not(.page-head) > .container { padding-block: clamp(32px, 5vw, 64px); border: 1px solid rgba(255, 255, 255, .6); border-radius: 28px; background: rgba(255, 255, 255, .9); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .6); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
body.tech-page #main > section:last-of-type { padding-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 761px) { body.tech-page #main > section.section:not(.page-head) > .container { width: calc(100% - 48px); padding-inline: clamp(24px, 4vw, 56px); } }
@media (max-width: 760px) {
  .page-head.page-head-dark.tech-hero { min-height: 0; }
  .tech-hero-bg img { object-position: 58% 30%; }
  .tech-hero-bg::after { background: linear-gradient(180deg, rgba(7, 29, 56, .9) 0%, rgba(7, 29, 56, .78) 60%, rgba(7, 29, 56, .7) 100%); }
  body.tech-page #main > section.section:not(.page-head) > .container { width: calc(100% - 24px); border-radius: 20px; }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) { body.tech-page #main > section.section:not(.page-head) > .container { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* The real technology marks, under the grouped stack list. */
.tech-logos-label { margin: 36px 0 14px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.tech-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.tech-logos li { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font-size: .95rem; font-weight: 700; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.tech-logos li:hover { transform: translateY(-3px); border-color: var(--blue-200); box-shadow: var(--card-shadow-hover); }
.tech-logos img { width: 28px; height: 28px; object-fit: contain; }
.tech-logo-ico { display: grid; place-items: center; width: 28px; height: 28px; color: var(--blue-700); }
.tech-logo-ico .icon { width: 22px; height: 22px; }
@media (max-width: 480px) { .tech-logos li { padding: 10px 14px; font-size: .88rem; } }