:root {
  --navy: #102a43;
  --navy-deep: #081b2c;
  --blue: #247ba0;
  --gold: #f2b134;
  --green: #3a8d67;
  --ink: #1b2733;
  --muted: #607080;
  --paper: #f6f9fb;
  --white: #ffffff;
  --line: #dce5eb;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(16, 42, 67, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a { color: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 780px; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 100; background: var(--white); padding: 10px 14px; }
.skip-link:focus { left: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 235, 0.8);
  backdrop-filter: blur(12px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { padding: 7px 10px; color: var(--white); background: var(--navy); border-radius: 8px; font-weight: 800; letter-spacing: 0.08em; }
.brand-name { color: var(--navy); font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--blue); }
.site-nav .nav-contact { padding: 9px 17px; color: var(--white); background: var(--navy); border-radius: 999px; }
.site-nav .nav-contact:hover, .site-nav .nav-contact:focus-visible { color: var(--white); background: var(--blue); }
.menu-button { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.menu-button span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.hero { overflow: hidden; padding: 92px 0 96px; background: var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 72px; }
.eyebrow, .section-label { margin: 0 0 14px; color: var(--blue); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--navy); line-height: 1.12; }
h1 { margin-bottom: 24px; font-size: clamp(3.2rem, 7vw, 6rem); letter-spacing: -0.055em; }
h1 span { color: var(--blue); }
h2 { margin-bottom: 20px; font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -0.04em; }
h3 { margin-bottom: 14px; font-size: 1.7rem; }
.intro { max-width: 580px; margin: 0 0 32px; color: var(--muted); font-size: 1.18rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 11px 21px; border: 1px solid var(--navy); border-radius: 999px; text-decoration: none; font-weight: 700; transition: transform 160ms ease, background 160ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--navy); }
.button-secondary { color: var(--navy); background: transparent; }
.hero-panel { position: relative; min-height: 410px; }
.hero-panel::before { content: ""; position: absolute; inset: 35px 38px; border: 1px solid rgba(36, 123, 160, 0.22); border-radius: 48% 52% 56% 44%; transform: rotate(-8deg); }
.focus-card { position: absolute; width: 72%; min-height: 185px; padding: 30px; color: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.focus-card p { max-width: 260px; margin: 32px 0 0; font-size: 1.25rem; font-weight: 700; line-height: 1.35; }
.focus-number { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; opacity: 0.78; }
.focus-learning { top: 0; left: 0; background: var(--navy); }
.focus-care { right: 0; bottom: 0; background: var(--green); }

.section { padding: 96px 0; }
.about-section { text-align: center; }
.about-section p:last-child { margin: 0; color: var(--muted); font-size: 1.14rem; }
.projects-section { background: var(--paper); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 420px; margin: 0; color: var(--muted); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-card { min-height: 330px; padding: 34px; border-radius: var(--radius); box-shadow: var(--shadow); }
.project-card p { max-width: 440px; margin-bottom: 0; }
.project-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 90px; }
.project-index { font-weight: 800; letter-spacing: 0.1em; }
.project-tag { padding: 6px 12px; border: 1px solid currentColor; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.guildvibe { color: rgba(255, 255, 255, 0.82); background: var(--navy); }
.guildvibe h3 { color: var(--white); }
.jayachandram { color: #254836; background: #dcefe4; }

.contact-section { color: var(--white); background: var(--navy-deep); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.section-label.light { color: #76bdd7; }
.contact-section h2 { margin: 0; color: var(--white); }
.contact-links { display: grid; gap: 14px; }
.contact-links a { display: flex; justify-content: space-between; gap: 20px; padding: 20px 22px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 14px; text-decoration: none; }
.contact-links a:hover, .contact-links a:focus-visible { background: rgba(255, 255, 255, 0.08); }
.contact-links span { color: rgba(255, 255, 255, 0.66); }
.contact-links strong { text-align: right; }
.site-footer { padding: 25px 0; background: #06131f; color: rgba(255, 255, 255, 0.7); font-size: 0.88rem; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; }
.footer-wrap p { margin: 0; }

@media (max-width: 800px) {
  .menu-button { display: block; }
  .site-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; padding: 22px 20px 26px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 14px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 8px 0; }
  .site-nav .nav-contact { text-align: center; }
  .hero { padding: 66px 0 72px; }
  .hero-grid, .project-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-panel { min-height: 350px; }
  .focus-card { width: 78%; min-height: 165px; }
  .section { padding: 72px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .project-topline { margin-bottom: 62px; }
  .contact-grid { gap: 42px; }
  .footer-wrap { flex-direction: column; align-items: center; text-align: center; gap: 5px; }
}

@media (max-width: 500px) {
  .container { width: min(100% - 28px, 1120px); }
  h1 { font-size: 3rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-panel { min-height: 320px; }
  .focus-card { width: 86%; padding: 24px; }
  .project-card { min-height: 290px; padding: 26px; }
  .contact-links a { flex-direction: column; gap: 2px; }
  .contact-links strong { text-align: left; }
}

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