/* Luminesca main site - light blue theme, prism brand */
:root {
  --bg: #f6f8fb;
  --card: #ffffff;
  --ink: #16233b;
  --muted: #5d6b85;
  --line: #e3e9f2;
  --blue: #185FA5;
  --blue-dark: #0f4c9e;
  --blue-light: #E6F1FB;
  --blue-mid: #B5D4F4;
  --amber: #EF9F27;
  --teal: #1D9E75;
  --coral: #D85A30;
  --radius: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1060px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .name { font-size: 19px; font-weight: 600; letter-spacing: .2px; }
.brand .name em { font-style: normal; color: var(--blue); }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  font-size: 14px; color: var(--muted); padding: 7px 14px;
  border-radius: 999px; transition: all .18s;
}
.nav a:hover { color: var(--ink); background: var(--blue-light); text-decoration: none; }
.nav a.active { color: #fff; background: var(--blue); font-weight: 500; }
.nav .sep { width: 1px; height: 18px; background: var(--line); margin: 0 6px; }
.nav .sub-link { font-size: 13px; color: var(--blue); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1060px; margin: 0 auto; padding: 72px 24px 56px;
  text-align: center;
}
.hero .kicker {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 3px;
  text-transform: uppercase; color: var(--blue);
  background: var(--blue-light); padding: 6px 18px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: 44px; line-height: 1.2; font-weight: 700; letter-spacing: -.5px;
  max-width: 760px; margin: 0 auto 18px;
}
.hero h1 .accent { color: var(--blue); }
.hero .sub {
  font-size: 17px; color: var(--muted); max-width: 640px; margin: 0 auto 34px;
}
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500; transition: all .18s;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue-mid); color: var(--blue); text-decoration: none; transform: translateY(-1px); }

/* prism spectrum divider */
.spectrum {
  display: flex; justify-content: center; gap: 6px; margin: 34px auto 0;
}
.spectrum span { width: 46px; height: 4px; border-radius: 999px; }

/* ---------- Section ---------- */
.section { max-width: 1060px; margin: 0 auto; padding: 56px 24px; }
.section-head { text-align: center; margin-bottom: 38px; }
.section-head h2 { font-size: 28px; font-weight: 700; letter-spacing: -.3px; }
.section-head p { color: var(--muted); margin-top: 8px; font-size: 15px; }

/* project cards */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .18s, box-shadow .18s;
}
.proj-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(20,40,80,.10); }
.proj-card .p-icon {
  width: 48px; height: 48px; border-radius: 13px; display: flex;
  align-items: center; justify-content: center; color: #fff;
}
.p-icon.blue { background: linear-gradient(135deg, #378ADD, #185FA5); }
.p-icon.purple { background: linear-gradient(135deg, #7F77DD, #534AB7); }
.p-icon.amber { background: linear-gradient(135deg, #EF9F27, #BA7517); }
.proj-card h3 { font-size: 18px; font-weight: 600; }
.proj-card .p-domain { font-size: 13px; color: var(--blue); font-weight: 500; }
.proj-card p { font-size: 14px; color: var(--muted); flex: 1; }
.proj-card .go { font-size: 14px; font-weight: 500; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.proj-card .go:hover { text-decoration: none; color: var(--blue-dark); }

/* pillars */
.pill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pill-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 20px;
}
.pill-card .k { font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--blue); }
.pill-card h4 { font-size: 16px; font-weight: 600; margin: 8px 0 6px; }
.pill-card p { font-size: 13.5px; color: var(--muted); }

/* about teaser */
.about-teaser {
  background: linear-gradient(135deg, var(--blue-light), #f3f8ff);
  border: 1px solid var(--blue-mid); border-radius: var(--radius);
  padding: 40px 36px; display: flex; align-items: center; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.about-teaser h2 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.about-teaser p { color: var(--muted); font-size: 15px; max-width: 560px; }
.about-teaser .btn { flex-shrink: 0; }

/* ---------- Page (inner) ---------- */
.page { max-width: 860px; margin: 0 auto; padding: 56px 24px 80px; }
.page h1 { font-size: 34px; font-weight: 700; letter-spacing: -.4px; margin-bottom: 10px; }
.page .lead { font-size: 17px; color: var(--muted); margin-bottom: 34px; max-width: 680px; }
.page h2 { font-size: 22px; font-weight: 700; margin: 38px 0 14px; }
.page h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.page p { font-size: 15px; color: #2a3a5c; margin-bottom: 14px; }
.page ul { margin: 0 0 18px 22px; }
.page li { font-size: 15px; color: #2a3a5c; margin-bottom: 8px; }
.page .card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 22px 24px; margin-bottom: 16px;
}

/* timeline */
.timeline { border-left: 2px solid var(--blue-mid); margin: 22px 0 0 6px; padding-left: 24px; }
.timeline .t-item { position: relative; margin-bottom: 26px; }
.timeline .t-item::before {
  content: ""; position: absolute; left: -31px; top: 6px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--blue-mid);
}
.timeline .t-year { font-size: 13px; font-weight: 600; color: var(--blue); letter-spacing: 1px; }
.timeline .t-item h4 { font-size: 16px; font-weight: 600; margin: 4px 0 4px; }
.timeline .t-item p { font-size: 14px; color: var(--muted); margin: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; text-align: center;
}
.contact-card .c-icon {
  width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.contact-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.contact-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.contact-card a.mail { font-size: 15px; font-weight: 500; }

/* future domains */
.future-list { display: grid; gap: 12px; }
.future-item {
  background: var(--card); border: 1px dashed var(--blue-mid); border-radius: 12px;
  padding: 18px 22px; display: flex; align-items: center; gap: 16px;
}
.future-item .f-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--amber); flex-shrink: 0;
}
.future-item h4 { font-size: 15px; font-weight: 600; }
.future-item p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: var(--card); }
.footer-inner {
  max-width: 1060px; margin: 0 auto; padding: 28px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
}
.footer-inner .copy { font-size: 13px; color: var(--muted); }
.footer-inner .links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-inner .links a { font-size: 13px; color: var(--muted); }
.footer-inner .links a:hover { color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .proj-grid, .pill-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
}
@media (max-width: 560px) {
  .proj-grid, .pill-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 20px 40px; }
  .hero h1 { font-size: 28px; }
  .section { padding: 40px 20px; }
  .header-inner { flex-direction: column; gap: 10px; padding: 12px 20px; }
  .nav a { padding: 6px 11px; font-size: 13px; }
}
