/* ============================================================
   M S Irfan Kiani — Business Website
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-alt: #fafaf9;
  --border: #e5e5e3;
  --border-strong: #d0d0ce;
  --text: #111111;
  --text-muted: #5a5a5a;
  --accent: #111111;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--text); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

img { max-width: 100%; display: block; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  gap: 2rem;
}

.brand {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.brand .brand-light { font-weight: 400; color: var(--text-muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
  justify-content: center;
}

.nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav a:hover, .nav a.active { color: var(--text); text-decoration: none; }

.header-cta {
  background: var(--accent);
  color: #ffffff;
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--accent);
}

.header-cta:hover { background: #000; text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--border);
}

.hero-location {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 760px;
  color: var(--text);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 2.25rem;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--accent);
  color: #ffffff;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid var(--accent);
  text-decoration: none;
  transition: background 0.15s ease;
}

.btn:hover { background: #000; text-decoration: none; }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-outline:hover { background: var(--bg-alt); border-color: var(--text); text-decoration: none; }

/* ---------- Sections ---------- */
section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

section:last-of-type { border-bottom: none; }

.section-head {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

/* ---------- Two-column layout ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
}

.service-item {
  padding: 2rem 1.75rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.service-item:last-child { border-right: none; }

@media (max-width: 768px) {
  .service-item { border-right: none; }
}

.service-num {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.85rem;
  letter-spacing: 0.04em;
}

.service-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.service-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ---------- Quick facts / credentials ---------- */
.facts-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.facts-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.facts-list .fact-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.facts-list .fact-value {
  font-size: 0.92rem;
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

/* ---------- Releases list ---------- */
.releases-list {
  list-style: none;
  border-top: 1px solid var(--border);
}

.releases-list li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
}

.releases-list .release-year {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.releases-list .release-title {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text);
}

.releases-list .release-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 540px) {
  .releases-list li { grid-template-columns: 70px 1fr; }
  .releases-list .release-meta { grid-column: 2; padding-top: 0.2rem; }
}

/* ---------- Contact section ---------- */
.contact-info {
  list-style: none;
}

.contact-info li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  align-items: baseline;
}

.contact-info li:first-child { border-top: 1px solid var(--border); }

.contact-info .ci-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.contact-info .ci-value {
  font-size: 0.98rem;
  color: var(--text);
}

.contact-info .ci-value a { color: var(--text); text-decoration: underline; }
.contact-info .ci-value a:hover { color: #000; }

.contact-cta-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 2rem;
}

.contact-cta-box h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.contact-cta-box p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-alt);
  padding: 3rem 0 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col p,
.footer-col a {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.footer-col p { color: var(--text-muted); margin-bottom: 0.75rem; }

.footer-col a:hover { color: var(--text); text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ---------- Legal pages ---------- */
.legal-content {
  padding: 4rem 0 5rem;
}

.legal-content h1 {
  font-size: clamp(1.75rem, 3.6vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.legal-content p, .legal-content li {
  color: #2a2a2a;
  margin-bottom: 0.9rem;
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal-content ul { padding-left: 1.25rem; margin-bottom: 1rem; }
.legal-content ul li { margin-bottom: 0.4rem; }
.legal-content a { color: var(--text); text-decoration: underline; }

/* ---------- Page-specific: About ---------- */
.about-bio p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .nav { display: none; }
  .site-header .container { padding-top: 0.85rem; padding-bottom: 0.85rem; }
  .hero { padding: 3.5rem 0 3rem; }
  section { padding: 3rem 0; }
}

@media (max-width: 540px) {
  .header-cta { padding: 0.5rem 0.85rem; font-size: 0.82rem; }
  .btn { padding: 0.7rem 1.2rem; font-size: 0.88rem; }
}
