:root {
  --maroon: #7A1F2B;
  --maroon-deep: #5C141E;
  --maroon-soft: #9A3340;
  --cream: #F5EEDF;
  --cream-deep: #EDE3CE;
  --ink: #1F1A14;
  --ink-soft: #4C4438;
  --gold: #B0863A;
  --gold-deep: #8A6724;
  --rule: rgba(31, 26, 20, 0.12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--cream); color: var(--ink); font-family: "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
html { scroll-padding-top: 84px; }
body { overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 64px; }

/* ——— Nav ——— */
.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--cream) 88%, transparent); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--rule); }
.nav { padding: 20px 0; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-family: "Suez One", serif; font-size: 22px; color: var(--maroon); letter-spacing: -0.01em; }
.brand .brain-coin { width: 38px; height: 38px; border-radius: 50%; background: var(--maroon); display: flex; align-items: center; justify-content: center; }
.brand .brain-coin img { width: 24px; height: 24px; }
.nav-links { display: flex; gap: 36px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.nav-links a:hover { color: var(--maroon); }
.nav-cta { font-size: 14px; font-weight: 600; color: var(--maroon); border-bottom: 1.5px solid var(--maroon); padding-bottom: 2px; }

/* ——— Hero ——— */
.hero { padding-top: 88px; padding-bottom: 96px; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 32px; height: 1.5px; background: var(--gold-deep); display: inline-block; }
h1 { font-family: "Suez One", serif; font-size: 78px; line-height: 0.98; letter-spacing: -0.02em; color: var(--maroon); margin-bottom: 32px; }
h1 em { font-style: italic; font-family: "Suez One", serif; color: var(--gold-deep); }
.lede { font-size: 21px; line-height: 1.5; color: var(--ink-soft); max-width: 520px; font-weight: 400; }
.lede strong { color: var(--ink); font-weight: 600; }
.hero-meta { margin-top: 44px; display: flex; gap: 32px; font-size: 13px; color: var(--ink-soft); }
.hero-meta span { display: flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-art { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-art .brain { width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 24px 48px rgba(122, 31, 43, 0.18)); }
.hero-art::before {
  content: ""; position: absolute; inset: 12% 8% 12% 8%;
  background: radial-gradient(circle at 50% 50%, var(--cream-deep) 0%, transparent 65%);
  z-index: 0;
}
.hero-art img { position: relative; z-index: 1; }

/* ——— Section header ——— */
.section-head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 28px; border-bottom: 1px solid var(--rule); margin-bottom: 56px; }
.section-head h2 { font-family: "Suez One", serif; font-size: 38px; letter-spacing: -0.01em; color: var(--ink); }
.section-head .label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }

/* ——— What We Do ——— */
.what { padding-top: 24px; padding-bottom: 96px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.card { padding: 40px 36px 40px; border-right: 1px solid var(--rule); position: relative; display: flex; flex-direction: column; }
.card:last-child { border-right: none; }
.card-icon { height: 96px; display: flex; align-items: flex-end; margin-bottom: 28px; }
.card-icon img { display: block; }
.card-icon.brain { background: var(--maroon); border-radius: 50%; width: 96px; height: 96px; align-items: center; justify-content: center; padding: 18px; }
.card-icon.brain img { height: auto; width: 100%; max-width: 60px; }
.card-icon.book img { height: 96px; width: auto; box-shadow: 0 6px 18px rgba(31, 26, 20, 0.18), 0 1px 0 rgba(31, 26, 20, 0.08); border-radius: 1px; }
.card-icon.app img { height: 96px; width: 96px; border-radius: 22px; box-shadow: 0 4px 14px rgba(31, 26, 20, 0.14); }
.card-num { font-family: "Suez One", serif; font-size: 14px; color: var(--gold-deep); margin-bottom: 14px; letter-spacing: 0.05em; }
.card h3 { font-family: "Suez One", serif; font-size: 26px; color: var(--maroon); margin-bottom: 16px; line-height: 1.1; }
.card-icon-link { display: block; text-decoration: none; align-self: flex-start; }
.card h3 a { color: inherit; text-decoration: none; transition: color 0.15s ease; }
.card h3 a:hover { color: var(--gold-deep); }
.card p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin-bottom: 28px; flex-grow: 1; }
.card .link { font-size: 14px; font-weight: 600; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; border-bottom: 1.5px solid var(--maroon); padding-bottom: 3px; }
.card .link:hover { color: var(--maroon); }
.card .link svg { width: 14px; height: 14px; }

/* ——— IoT Featured ——— */
.iot { margin-top: 56px; background: var(--maroon); color: var(--cream); border-radius: 4px; padding: 56px 56px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: center; position: relative; overflow: hidden; }
.iot::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  border-radius: 50%; border: 1px solid rgba(245, 238, 223, 0.12);
}
.iot::before {
  content: ""; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px;
  border-radius: 50%; border: 1px solid rgba(245, 238, 223, 0.08);
}
.iot-tag { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 16px; }
.iot h3 { font-family: "Suez One", serif; font-size: 36px; line-height: 1.05; margin-bottom: 0; }
.iot p { font-size: 17px; line-height: 1.55; opacity: 0.85; max-width: 480px; }
.iot .pill { display: inline-block; margin-top: 24px; padding: 6px 14px; border: 1px solid rgba(245, 238, 223, 0.3); border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--cream); }

/* ——— About ——— */
.about { padding: 120px 0; background: var(--cream-deep); position: relative; }
.about .wrap { display: grid; grid-template-columns: 0.95fr 1fr; gap: 72px; align-items: center; }
.about-image { position: relative; }
.about-image img { width: 100%; height: auto; display: block; border-radius: 2px; box-shadow: 0 24px 60px rgba(31, 26, 20, 0.18); }
.about-image .caption { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.about-image .caption::before { content: ""; width: 28px; height: 1.5px; background: var(--gold-deep); }
.about .label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 28px; display: block; }
.about-body { font-family: "Inter", system-ui, sans-serif; font-weight: 400; font-size: 26px; line-height: 1.45; color: var(--maroon); letter-spacing: -0.005em; }
.about-body em { font-style: italic; }

/* ——— People ——— */
.people { padding-top: 120px; padding-bottom: 120px; }
.people .label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 28px; display: block; }
.people h2 { font-family: "Suez One", serif; font-size: 44px; line-height: 1.05; letter-spacing: -0.015em; color: var(--maroon); margin-bottom: 56px; max-width: 16ch; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.person figure { margin: 0 auto; max-width: 250px; }
.person .portrait { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; border-radius: 3px; box-shadow: 0 18px 48px rgba(31, 26, 20, 0.18); }
.person figcaption { margin-top: 24px; }
.person .name { font-family: "Suez One", serif; font-size: 26px; color: var(--maroon); line-height: 1.1; }
.person .role { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-top: 10px; display: flex; align-items: center; gap: 12px; }
.person .role::before { content: ""; width: 28px; height: 1.5px; background: var(--gold-deep); }
.about-body span { color: var(--ink); }

/* ——— Footer CTA ——— */
.cta { padding-top: 120px; padding-bottom: 80px; text-align: center; border-top: 1px solid var(--rule); }
.cta-eyebrow { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 24px; }
.cta h2 { font-family: "Suez One", serif; font-size: 60px; line-height: 1.05; color: var(--maroon); margin-bottom: 40px; letter-spacing: -0.015em; max-width: 800px; margin-inline: auto; }
.cta-btn { display: inline-flex; align-items: center; gap: 14px; padding: 18px 32px; background: var(--maroon); color: var(--cream); border-radius: 2px; font-size: 15px; font-weight: 600; letter-spacing: 0.02em; transition: background 0.18s; }
.cta-btn:hover { background: var(--maroon-deep); }
.cta-btn svg { width: 16px; height: 16px; }

/* ——— Footer ——— */
footer.wrap { border-top: 1px solid var(--rule); padding-top: 20px; padding-bottom: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-soft); }
footer .left { display: flex; align-items: center; gap: 16px; }
footer .left img { width: 24px; height: 24px; opacity: 0.85; }
footer .brain-coin { width: 28px; height: 28px; border-radius: 50%; background: var(--maroon); display: inline-flex; align-items: center; justify-content: center; }
footer .brain-coin img { width: 18px; height: 18px; opacity: 1; }
footer .right { display: flex; gap: 28px; }

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .wrap { padding: 0 40px; }
  .nav { padding-top: 24px; }
  .nav-links { gap: 28px; }

  .hero { padding-top: 56px; padding-bottom: 64px; grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; max-width: 360px; margin: 0 auto; }
  .hero-art .brain { max-width: 320px; }
  h1 { font-size: 56px; }
  .lede { font-size: 18px; }
  .hero-meta { gap: 20px; flex-wrap: wrap; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 40px; }
  .section-head h2 { font-size: 32px; }

  .what { padding-top: 16px; padding-bottom: 72px; }
  .cards { grid-template-columns: 1fr; }
  .card { border-right: none; border-bottom: 1px solid var(--rule); padding: 36px 0; }
  .card:last-child { border-bottom: none; }
  .card-icon { height: auto; margin-bottom: 22px; }
  .card-icon.brain { width: 80px; height: 80px; padding: 16px; }
  .card-icon.book img { height: 80px; }
  .card-icon.app img { height: 80px; width: 80px; border-radius: 18px; }

  .iot { margin-top: 40px; grid-template-columns: 1fr; gap: 24px; padding: 40px 32px; }
  .iot h3 { font-size: 30px; }
  .iot p { font-size: 16px; }

  .about { padding: 80px 0; }
  .about .wrap { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { max-width: 460px; }
  .about-body { font-size: 26px; }

  .people-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }

  .cta { padding-top: 80px; padding-bottom: 64px; }
  .cta h2 { font-size: 44px; }

  footer.wrap { flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 24px; padding-bottom: 24px; }
  footer .left { flex-wrap: wrap; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 134px; }
  .nav { flex-wrap: wrap; gap: 14px; padding-bottom: 20px; }
  .nav-links { order: 3; width: 100%; justify-content: flex-start; gap: 24px; padding-top: 6px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 120px; }
  .wrap { padding: 0 24px; }
  .nav { padding-top: 20px; }
  .brand { font-size: 19px; }
  .nav-cta { font-size: 13px; }
  .nav-links { gap: 18px; font-size: 13px; }

  .hero { padding-top: 40px; padding-bottom: 48px; gap: 32px; }
  .hero-art { max-width: 240px; }
  .hero-art .brain { max-width: 220px; }
  h1 { font-size: 42px; line-height: 1; margin-bottom: 24px; }
  .lede { font-size: 17px; }
  .eyebrow { margin-bottom: 20px; font-size: 11px; }
  .hero-meta { margin-top: 32px; gap: 14px; font-size: 12px; }

  .section-head h2 { font-size: 26px; }
  .section-head .label { font-size: 11px; }

  .card { padding: 32px 0; }
  .card h3 { font-size: 22px; }
  .card p { font-size: 14px; margin-bottom: 22px; }

  .iot { padding: 32px 24px; gap: 18px; }
  .iot h3 { font-size: 26px; }
  .iot p { font-size: 15px; }
  .iot-tag { margin-bottom: 12px; }

  .about { padding: 64px 0; }
  .about-body { font-size: 22px; line-height: 1.3; }

  .people-grid { grid-template-columns: 1fr; gap: 40px; }

  .cta { padding-top: 64px; padding-bottom: 48px; }
  .cta h2 { font-size: 34px; margin-bottom: 32px; }
  .cta-btn { padding: 16px 22px; font-size: 14px; gap: 10px; }

  footer.wrap { font-size: 12px; gap: 12px; }
  footer .right { width: 100%; }
}
