:root {
  --paper: #fbfbfa;
  --ink: #161616;
  --muted: #777771;
  --faint: #a9a9a3;
  --line: #e7e7e3;
  --panel: #f2f2ef;
  --lime: #dfff73;
  --mint: #c9f2e6;
  --blue: #dbe5ff;
  --dark: #16342a;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); font: 15px/1.55 var(--sans); scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover, a:focus-visible { color: #4d5bcc; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 8px 11px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.shell { width: min(100% - 40px, 680px); margin-inline: auto; }

.site-header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.identity { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.identity strong { font-size: .94rem; letter-spacing: -.025em; }
.identity strong::before {
  content: "SA";
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 10px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font: 600 .68rem var(--sans);
}
.identity span, .eyebrow, .project-number, .meta, .fact dt, .availability {
  color: var(--muted);
  font: .72rem/1.4 var(--sans);
}
.site-header nav { display: flex; gap: 17px; font-size: .78rem; }
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--ink); }

.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  min-height: 0;
  padding: 52px 0 64px;
}
.hero h1, .page-hero h1, .project-hero h1, .contact-hero h1 {
  margin: 12px 0 0;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}
.hero h1 { max-width: 18ch; font-size: clamp(2.35rem, 7vw, 4.1rem); }
.hero h1 em, .page-hero h1 em, .contact-hero h1 em { font-family: var(--serif); font-weight: 400; }
.hero-side { max-width: 530px; padding: 0; }
.hero-side p { margin: 0 0 22px; color: #4e4e49; font-size: .94rem; }
.availability { display: flex; gap: 8px; align-items: center; color: var(--ink); }
.availability::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #39a764; }
.primary-link { display: inline-block; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: white; font-size: .78rem; text-decoration: none; }
.primary-link:hover, .primary-link:focus-visible { background: #333; color: white; }

.section { border: 0; padding: 0 0 68px; }
.section-label { margin: 0 0 16px; color: var(--muted); }
.project-list { list-style: none; margin: 0; padding: 0; }
.project-row {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  gap: 13px;
  align-items: center;
  padding: 8px 0;
  border: 0;
  text-decoration: none;
}
.project-number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 600;
}
.project-list li:nth-child(2) .project-number { background: var(--mint); }
.project-list li:nth-child(3) .project-number { background: var(--blue); }
.project-row h2 { margin: 0 0 2px; font-size: .92rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.project-row p { grid-column: 2; grid-row: 2; margin: -20px 0 0; color: var(--muted); font-size: .78rem; }
.project-row .arrow { grid-column: 3; grid-row: 1; color: var(--faint); font-size: .9rem; }
.project-row:hover { padding-left: 4px; }
.project-row:hover .arrow { color: var(--ink); }

.impact-band {
  width: min(100% - 40px, 680px);
  margin: 8px auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.impact { min-height: 0; padding: 18px 14px 18px 0; border-bottom: 1px solid var(--line); }
.impact:nth-child(odd) { border-right: 1px solid var(--line); }
.impact:nth-child(even) { padding-left: 18px; }
.impact strong { display: block; color: var(--ink); font: 500 1.35rem/1.1 var(--sans); }
.impact span { display: block; max-width: 26ch; margin-top: 5px; color: var(--muted); font-size: .72rem; }

.statement { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 0 0 88px; }
.statement p { max-width: 24ch; margin: 0; font: 400 clamp(1.7rem, 5vw, 2.7rem)/1.08 var(--serif); letter-spacing: -.025em; }
.statement .eyebrow { font: .72rem/1.4 var(--sans); color: var(--muted); }
.quiet-link { display: inline-block; margin-top: 20px; color: var(--muted); font-size: .74rem; text-decoration: none; }

.page-hero, .project-hero { padding: 62px 0 58px; }
.page-hero h1 { max-width: 15ch; font-size: clamp(2.7rem, 8vw, 4.8rem); }
.page-lede { max-width: 540px; margin: 28px 0 0; color: #4e4e49; font-size: .94rem; line-height: 1.55; }
.about-banner {
  position: relative;
  width: min(100% - 40px, 980px);
  margin: 0 auto 74px;
  overflow: hidden;
  border-radius: 14px;
  background: #111;
}
.about-banner img { display: block; width: 100%; aspect-ratio: 16 / 8.2; object-fit: cover; }
.about-banner figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 7px;
  padding: 8px;
  border-radius: 9px;
  background: rgba(10, 12, 10, .58);
  backdrop-filter: blur(12px);
}
.about-banner figcaption span { padding: 5px 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.9); font-size: .63rem; }
.narrow { max-width: 580px; }
.breadcrumbs { display: flex; gap: 8px; padding-top: 52px; color: var(--muted); font-size: .72rem; }
.breadcrumbs a { text-decoration: none; }
.compact-hero { padding: 14px 0 44px; }
.page-icon { display: grid; place-items: center; width: 25px; height: 25px; margin-bottom: 12px; border-radius: 50%; background: var(--panel); font-size: .68rem; }
.compact-hero h1 { margin: 0 0 2px; font-size: .94rem; font-weight: 600; letter-spacing: -.015em; }
.compact-subtitle { margin: 0 0 22px !important; color: var(--muted) !important; font-size: .8rem !important; }
.compact-hero > p:last-child { max-width: 530px; margin: 0; color: #565651; font-size: .82rem; }
.milestone-list { margin: 0 0 76px; padding: 0; list-style: none; }
.milestone-list li { display: grid; grid-template-columns: 78px 1fr; gap: 13px; padding: 0 0 25px; }
.milestone-list time { padding-top: 2px; font-size: .72rem; font-weight: 500; }
.milestone-list h2 { margin: 0 0 7px; font-size: .8rem; font-weight: 500; line-height: 1.4; }
.milestone-list p { margin: 0 0 5px; color: #555550; font-size: .76rem; line-height: 1.55; }
.milestone-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 5px; border-radius: 6px; background: var(--lime); font-size: .58rem; font-weight: 600; vertical-align: -2px; }
.mark-n { background: var(--blue); color: #24408d; }
.mark-s { background: #202020; color: white; }
.mark-i { background: var(--mint); }
.mark-c { background: #ffe2d2; }
.milestone-tag { color: var(--faint); font-size: .64rem; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 92px 180px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.timeline h2, .timeline h3, .timeline p { margin: 0; }
.timeline h2 { font-size: .88rem; }
.timeline h3 { color: var(--muted); font-size: .76rem; font-weight: 400; }
.timeline p { color: #585853; font-size: .78rem; }

.two-column { display: grid; grid-template-columns: 110px 1fr; gap: 28px; }
.two-column > h2 { margin: 0; font-size: .75rem; font-weight: 400; color: var(--muted); }
.rich-copy { max-width: 540px; }
.rich-copy > p:first-child { margin-top: 0; font: 400 1.65rem/1.18 var(--serif); letter-spacing: -.015em; }
.rich-copy p { color: #50504b; font-size: .88rem; }
.tag-grid { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; padding: 0; list-style: none; }
.tag-grid li { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; color: #555550; font-size: .72rem; }

.project-hero { display: grid; grid-template-columns: 1fr; gap: 20px; padding-bottom: 32px; }
.project-hero h1 { max-width: 18ch; font-size: clamp(2.35rem, 7vw, 4.2rem); }
.project-summary { max-width: 540px; margin: 0; color: #555550; font-size: .92rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 13px 12px 13px 0; border: 0; }
.fact dt { margin-bottom: 4px; }
.fact dd { margin: 0; font-size: .72rem; line-height: 1.4; }

.case-cover {
  display: grid;
  place-items: center;
  min-height: 330px;
  margin-bottom: 58px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--dark);
  color: var(--lime);
}
.case-cover span { font: 500 clamp(3rem, 10vw, 6.5rem)/1 var(--sans); letter-spacing: -.08em; }
.case-cover.netsol { background: #e7ecff; color: #233d91; }
.case-cover.systems { background: #1a1a1a; color: #f7f7f2; }
.case-cover.systems span { font-family: var(--serif); font-weight: 400; letter-spacing: -.04em; }

.case-section { display: grid; grid-template-columns: 110px 1fr; gap: 28px; padding: 0 0 54px; border: 0; }
.case-section h2 { margin: 2px 0 0; color: var(--muted); font-size: .74rem; font-weight: 400; }
.case-section p { max-width: 540px; margin-top: 0; color: #4f4f4a; font-size: .86rem; }
.case-section ul { max-width: 540px; margin: 18px 0 0; padding-left: 1.1rem; color: #4f4f4a; font-size: .84rem; }
.case-section li { margin-bottom: 9px; }
.quote { color: var(--ink) !important; font: 400 1.7rem/1.18 var(--serif) !important; letter-spacing: -.015em; }
.case-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 30px 0 72px; padding-top: 22px; border-top: 1px solid var(--line); background: none; }
.case-nav a { padding: 0; background: none; color: var(--muted); font-size: .75rem; text-decoration: none; }
.case-nav a:last-child { text-align: right; }

.contact-hero { min-height: 67vh; padding: 72px 0 60px; }
.contact-hero h1 { max-width: 13ch; font-size: clamp(2.8rem, 8vw, 5rem); }
.contact-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 44px; background: none; border: 0; }
.contact-links a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 16px; border-radius: 8px; background: var(--panel); font-size: .83rem; text-decoration: none; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; min-height: 120px; padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .7rem; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 15px; }

@media (max-width: 640px) {
  html { font-size: 16px; }
  .shell, .impact-band { width: min(100% - 32px, 680px); }
  .site-header { grid-template-columns: 1fr; gap: 10px; padding: 17px 0; }
  .identity span { display: none; }
  .site-header nav { gap: 15px; }
  .hero { padding-top: 46px; }
  .timeline li { grid-template-columns: 82px 1fr; gap: 12px; }
  .timeline li > p:last-child { grid-column: 2; }
  .two-column, .case-section, .statement { grid-template-columns: 1fr; gap: 15px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .case-cover { min-height: 240px; }
  .breadcrumbs { padding-top: 38px; }
  .about-banner { width: calc(100% - 20px); margin-bottom: 56px; border-radius: 10px; }
  .about-banner img { aspect-ratio: 4 / 3; object-position: 62% center; }
  .about-banner figcaption { right: 10px; bottom: 10px; }
  .about-banner figcaption span { font-size: .58rem; }
}
@media (max-width: 420px) {
  .impact-band, .contact-links, .case-nav, .site-footer { grid-template-columns: 1fr; }
  .impact:nth-child(odd) { border-right: 0; }
  .impact:nth-child(even) { padding-left: 0; }
  .case-nav a:last-child { text-align: left; }
  .site-footer { gap: 18px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
