:root {
    --white: #ffffff;
    --off-white: #f8fafc;
    --light: #f1f5f9;
    --border: #e2e8f0;
    --border-mid: #cbd5e1;
    --text: #0f172a;
    --text2: #475569;
    --text3: #94a3b8;
    --teal: #0d9488;
    --teal-dark: #0f766e;
    --teal-light: #14b8a6;
    --teal-pale: #f0fdfa;
    --teal-subtle: #ccfbf1;
    --charcoal: #1e293b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 16px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.09), 0 4px 12px rgba(0,0,0,0.05);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--white);
    color: var(--text);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 64px;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .logo-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--text);
    letter-spacing: -0.01em;
  }

  .logo-name span { color: var(--teal); }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
  }

  .nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text2);
    text-decoration: none;
    transition: color 0.2s;
    letter-spacing: 0.01em;
  }

  .nav-links a:hover { color: var(--teal); }

  .nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--teal);
    text-decoration: none;
    padding: 9px 22px;
    border-radius: 4px;
    transition: background 0.2s, box-shadow 0.2s;
    letter-spacing: 0.01em;
  }

  .nav-cta:hover {
    background: var(--teal-dark);
    box-shadow: 0 4px 12px rgba(13,148,136,0.3);
  }

  /* ── HERO ── */
  #hero {
    padding-top: 70px;
    background: var(--white);
    min-height: 620px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
  }

  #hero::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 42%;
    background: var(--off-white);
    border-left: 1px solid var(--border);
    z-index: 0;
  }

  .hero-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 80px 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-subtle);
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
    margin-bottom: 24px;
  }

  .hero-tag::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--teal);
  }

  .hero-h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(36px, 4.5vw, 58px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 24px;
  }

  .hero-h1 em {
    font-style: italic;
    color: var(--teal);
  }

  .hero-sub {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text2);
    margin-bottom: 40px;
    font-weight: 300;
  }

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

  .btn-primary {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--teal);
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 4px;
    transition: background 0.2s, box-shadow 0.2s;
    letter-spacing: 0.01em;
  }

  .btn-primary:hover {
    background: var(--teal-dark);
    box-shadow: 0 6px 16px rgba(13,148,136,0.28);
  }

  .btn-outline {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 4px;
    border: 1.5px solid var(--border-mid);
    transition: all 0.2s;
    letter-spacing: 0.01em;
  }

  .btn-outline:hover {
    border-color: var(--teal);
    color: var(--teal);
  }

  /* Hero right panel */
  .hero-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .hero-stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    animation: slideIn 0.6s forwards;
  }

  .hero-stat-card:nth-child(1) { animation-delay: 0.3s; }
  .hero-stat-card:nth-child(2) { animation-delay: 0.5s; }
  .hero-stat-card:nth-child(3) { animation-delay: 0.7s; }

  .stat-icon {
    width: 44px;
    height: 44px;
    background: var(--teal-pale);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal);
  }

  .stat-content .num {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 2px;
  }

  .stat-content .lbl {
    font-size: 13px;
    color: var(--text2);
  }

  /* ── LOGOS / TRUST BAR ── */
  .trust-bar {
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    padding: 20px 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }

  .trust-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text3);
    margin-right: 40px;
    white-space: nowrap;
  }

  .trust-logos {
    display: flex;
    gap: 48px;
    align-items: center;
  }

  .trust-logo {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--text3);
    letter-spacing: 0.04em;
    opacity: 0.7;
  }

  /* ── SECTION WRAPPER ── */
  .section-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 96px 64px;
  }

  .section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--text);
    margin-bottom: 18px;
  }

  .section-lead {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text2);
    max-width: 580px;
    font-weight: 300;
  }

  .section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 60px;
  }

  /* ── AI/ML SECTION ── */
  #aiml { background: var(--white); border-top: 1px solid var(--border); }

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

  .service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 36px 32px;
    transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
    cursor: default;
  }

  .service-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--teal-light);
    transform: translateY(-2px);
  }

  .card-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--teal-pale);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--teal);
  }

  .card-number {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text3);
    text-transform: uppercase;
    margin-bottom: 8px;
  }

  .card-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.25;
  }

  .card-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text2);
    font-weight: 300;
  }

  .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 20px;
  }

  .tag {
    font-size: 11px;
    font-weight: 500;
    color: var(--teal-dark);
    background: var(--teal-pale);
    border: 1px solid var(--teal-subtle);
    padding: 3px 9px;
    border-radius: 2px;
    letter-spacing: 0.02em;
  }

  /* ── MANAGED IT ── */
  #managed {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .managed-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }

  .service-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
  }

  .service-row {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    transition: background 0.2s;
    cursor: default;
  }

  .service-row:last-child { border-bottom: none; }
  .service-row:hover { background: var(--teal-pale); }

  .service-row-icon {
    width: 36px;
    height: 36px;
    color: var(--teal);
    flex-shrink: 0;
  }

  .service-row-body { flex: 1; }

  .service-row-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
  }

  .service-row-meta {
    font-size: 12px;
    color: var(--text2);
    line-height: 1.5;
    font-weight: 300;
  }

  .service-row-arrow {
    color: var(--text3);
    font-size: 16px;
    transition: color 0.2s, transform 0.2s;
  }

  .service-row:hover .service-row-arrow {
    color: var(--teal);
    transform: translateX(3px);
  }

  /* Highlight box */
  .highlight-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 40px 36px;
    box-shadow: var(--shadow);
  }

  .highlight-box .hl-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 20px;
  }

  .live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    animation: blink 2s infinite;
  }

  @keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
  }

  .highlight-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
    line-height: 1.25;
  }

  .highlight-box p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text2);
    margin-bottom: 28px;
    font-weight: 300;
  }

  .check-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
  }

  .check-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 14px;
    color: var(--text2);
    line-height: 1.5;
  }

  .check-item svg {
    color: var(--teal);
    flex-shrink: 0;
    margin-top: 1px;
  }

  /* ── ABOUT ── */
  #about { background: var(--white); border-top: 1px solid var(--border); }

  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .about-body p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text2);
    margin-bottom: 18px;
    font-weight: 300;
  }

  .about-body p strong {
    font-weight: 600;
    color: var(--text);
  }

  .about-body blockquote {
    border-left: 3px solid var(--teal);
    padding: 12px 0 12px 20px;
    margin: 28px 0;
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 17px;
    color: var(--charcoal);
    line-height: 1.65;
  }

  .values-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
  }

  .value-item {
    padding: 24px 28px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: background 0.2s;
  }

  .value-item:last-child { border-bottom: none; }
  .value-item:hover { background: var(--off-white); }

  .value-icon {
    font-size: 20px;
    margin-top: 1px;
    flex-shrink: 0;
  }

  .value-text .v-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 4px;
  }

  .value-text .v-desc {
    font-size: 13px;
    color: var(--text2);
    line-height: 1.65;
    font-weight: 300;
  }

  /* TEAM */
  .team-section-head {
    margin-top: 72px;
    margin-bottom: 32px;
    padding-top: 56px;
    border-top: 1px solid var(--border);
  }

  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .team-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s, transform 0.2s;
  }

  .team-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
  }

  .team-avatar {
    width: 52px;
    height: 52px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--teal-pale), var(--teal-subtle));
    border: 1px solid var(--teal-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--teal-dark);
    margin-bottom: 18px;
  }

  .team-name {
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
  }

  .team-role {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 14px;
  }

  .team-bio {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text2);
    font-weight: 300;
  }

  /* ── CONTACT ── */
  #contact {
    background: var(--off-white);
    border-top: 1px solid var(--border);
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
  }

  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 36px;
  }

  .contact-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .contact-row-icon {
    width: 38px;
    height: 38px;
    background: var(--teal-pale);
    border: 1px solid var(--teal-subtle);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    flex-shrink: 0;
  }

  .contact-row-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text3);
    margin-bottom: 3px;
  }

  .contact-row-val {
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
  }

  /* FORM */
  .contact-form-wrap {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 40px;
    box-shadow: var(--shadow);
  }

  .form-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
  }

  .form-subtitle {
    font-size: 13px;
    color: var(--text2);
    margin-bottom: 28px;
    font-weight: 300;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
  }

  .form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 0.02em;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    background: var(--white);
    border: 1.5px solid var(--border);
    color: var(--text);
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    padding: 11px 14px;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
  }

  .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
  }

  .form-group select option { background: var(--white); }

  .form-group textarea {
    resize: vertical;
    min-height: 110px;
    font-weight: 300;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
  }

  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: var(--text3);
    font-weight: 300;
  }

  .submit-btn {
    width: 100%;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    background: var(--teal);
    border: none;
    padding: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    letter-spacing: 0.02em;
    margin-top: 4px;
  }

  .submit-btn:hover {
    background: var(--teal-dark);
    box-shadow: 0 4px 14px rgba(13,148,136,0.3);
  }

  /* ── FOOTER ── */
  footer {
    background: var(--charcoal);
    color: #94a3b8;
    padding: 48px 64px 32px;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .footer-brand .logo-name { color: #fff; }

  .footer-desc {
    font-size: 13px;
    line-height: 1.75;
    color: #64748b;
    margin-top: 14px;
    max-width: 260px;
    font-weight: 300;
  }

  .footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e2e8f0;
    margin-bottom: 16px;
  }

  .footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 300;
  }

  .footer-links a:hover { color: var(--teal-light); }

  .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 28px;
  }

  .footer-copy {
    font-size: 12px;
    color: #475569;
  }

  .footer-legal {
    display: flex;
    gap: 24px;
    list-style: none;
  }

  .footer-legal a {
    font-size: 12px;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
  }

  .footer-legal a:hover { color: var(--teal-light); }

  /* ── DIVIDERS ── */
  hr.section-rule {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes slideIn {
    from { opacity: 0; transform: translateX(16px); }
    to { opacity: 1; transform: translateX(0); }
  }

  .hero-left > * {
    opacity: 0;
    animation: fadeUp 0.7s forwards;
  }

  .hero-left .hero-tag   { animation-delay: 0.1s; }
  .hero-left .hero-h1    { animation-delay: 0.25s; }
  .hero-left .hero-sub   { animation-delay: 0.4s; }
  .hero-left .hero-actions { animation-delay: 0.55s; }

  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s, transform 0.65s;
  }

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

  /* ── RESPONSIVE ── */
  @media (max-width: 960px) {
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .hero-inner { grid-template-columns: 1fr; padding: 60px 24px; }
    #hero::after { display: none; }
    .hero-right { display: none; }
    .section-wrap { padding: 64px 24px; }
    .section-head { grid-template-columns: 1fr; gap: 16px; }
    .services-grid { grid-template-columns: 1fr; }
    .managed-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .team-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
    .trust-bar { padding: 16px 24px; flex-wrap: wrap; gap: 12px; }
    footer { padding: 40px 24px 24px; }
    .footer-bottom { flex-direction: column; gap: 12px; }
  }
