/* ABOUT PAGE — SINGLE CSS (no dependency on other files) */

/* =========================
   RESET & BASE
========================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html:focus-within { scroll-behavior: smooth; }
body { min-height: 100vh; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:where(p, ul, ol) + :where(p, ul, ol) { margin-top: 1rem; }

/* =========================
   THEME TOKENS
========================= */
:root{
  --brand-700:#236b51; --brand-600:#2b7a5c; --brand-500:#3a8c6c; --brand-400:#5aa184;

  --bg:#ffffff; --surface:#ffffff; --text:#0f172a; --muted:#64748b; --border:#e5e7eb;

  --radius-1:.375rem; --radius-2:.75rem; --radius-3:1.25rem;
  --shadow-1:0 1px 2px rgba(16,24,40,.06),0 1px 3px rgba(16,24,40,.1);
  --shadow-2:0 12px 40px rgba(16,24,40,.12);

  --container-max:1200px;

  --footer-bg:#0b1220; --footer-text:#e5e7eb;
}

/* =========================
   TYPOGRAPHY
========================= */
html { font-size: 100%; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
               "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
}
h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 2.5vw + 1rem, 3rem); }
h2 { font-size: clamp(1.5rem, 1.5vw + 0.75rem, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1vw + 0.5rem, 1.5rem); font-weight: 700; }
p, li { color: var(--muted); }

/* =========================
   UTILITIES
========================= */
.container{ max-width: var(--container-max); margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
.visually-hidden{ position:absolute !important; clip:rect(1px,1px,1px,1px); clip-path:inset(50%); width:1px; height:1px; overflow:hidden; white-space:nowrap; }
.skip-link{ position:absolute; left:-9999px; }
.skip-link:focus{ position:fixed; left:1rem; top:1rem; padding:.5rem .75rem; background:#fff; border:2px solid var(--brand-600); border-radius:.5rem; z-index:9999; }

/* =========================
   HEADER + NAV
========================= */
.site-header{
  position: sticky; top: 0; z-index: 60; background: var(--bg);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 70%, transparent);
  box-shadow: 0 .5px 0 rgba(16,24,40,.04);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:1.5rem; padding-block:.55rem; }
.brand{ display:flex; align-items:center; gap:.75rem; line-height:1; }
.brand-logo{ width: 260px; height:auto; }

.primary-nav{ display:block; }
.nav-list{ display:flex; align-items:center; gap:clamp(.75rem, 2.5vw, 2rem); }
.nav-link{
  display:inline-block; padding:.3rem .25rem; font-weight:500; color:var(--muted);
  border-radius:.5rem; transition:color .2s ease, box-shadow .2s ease;
}
.nav-link:hover{ color:var(--text); }
.nav-link[aria-current="page"]{ color:var(--brand-600); text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:6px; font-weight:600; }

/* Hamburger */
.nav-toggle{
  appearance:none; background:transparent; border:0; padding:.6rem;
  margin-left:auto; width:48px; height:40px; border-radius:12px;
  display:none; align-items:center; justify-content:center; flex-direction: column; gap:6px;
}
.nav-toggle::before, .nav-toggle .nav-toggle-bar, .nav-toggle::after{
  content:""; display:block; width:28px; height:2px; background:#0f172a; border-radius:2px;
}
@media (max-width:900px){
  .nav-toggle{ display:inline-flex; }
  .primary-nav{
    position:fixed; inset:56px 0 auto 0; background:#fff; border-top:1px solid var(--border);
    transform:translateY(-110%); opacity:0; pointer-events:none; transition:transform .25s ease, opacity .25s ease;
  }
  body.nav-open .primary-nav{ transform:translateY(0); opacity:1; pointer-events:auto; }
  .nav-list{ flex-direction:column; align-items:flex-start; gap:0; padding:.5rem clamp(1rem, 3vw, 2rem); }
  .nav-link{ width:100%; padding:.9rem 0; display:block; }
}

/* =========================
   BUTTONS
========================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.875rem 1.25rem; font-weight:600; border-radius:999px; border:1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .05s ease;
  text-align:center;
}
.btn-primary{ background:var(--brand-600); color:#fff; box-shadow:var(--shadow-1); }
.btn-primary:hover{ background:color-mix(in oklab, var(--brand-600) 85%, black); }
.btn-primary:active{ transform:translateY(1px); }
.btn-outline{
  background:#fff; color:var(--brand-600);
  border:1px solid color-mix(in oklab, var(--brand-600) 70%, #fff);
  box-shadow:var(--shadow-1);
}
.btn-outline:hover{ background:color-mix(in oklab, var(--brand-600) 6%, #fff); }
.btn-row{ display:flex; flex-wrap:wrap; gap:.6rem; justify-content:center; }

/* =========================
   HERO (Soft)  — with image band
========================= */
.hero--soft.about-hero{
  /* height token for the image band */
  --hero-h: clamp(260px, 38vh, 420px);

  position: relative;
  padding-block: clamp(2rem, 7vw, 3rem);
  /* reserve space below for the absolutely positioned image */
  padding-bottom: calc(var(--hero-h) + clamp(1rem, 3vw, 1.25rem));

  border: 1px dashed color-mix(in oklab, var(--brand-600) 30%, transparent);
  border-left: none; border-right: none;
  background:#fff;
}
.about-hero .hero-bg{
  position:absolute; left:50%; transform:translateX(-50%);
  top: clamp(36px, 5vh, 72px);
  width: min(92%, var(--container-max));
  height: var(--hero-h);
  border-radius: var(--radius-3);
  box-shadow: var(--shadow-2);
  /* Light overlay keeps text readable */
  background-image:
    linear-gradient(0deg, rgba(255,255,255,.78), rgba(255,255,255,.78)),
    url('../img/Pills.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--soft .hero-inner{ position:relative; z-index:1; text-align:center; max-width:56rem; margin-inline:auto; }
.hero--soft h1{ margin-bottom:.35rem; }
.hero--soft p{ color: var(--muted); }

/* =========================
   STORY
========================= */
.about-story{ padding-block: clamp(1.5rem, 6vw, 2.6rem); }
.story-grid{
  display:grid; gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: 1.25fr 1fr; align-items: center;
}
@media (max-width: 960px){ .story-grid{ grid-template-columns: 1fr; } .story-media{ order: -1; } }
.story-copy h2{ margin-bottom: .5rem; }
.story-copy p{ margin: .5rem 0; }

/* story image (pills) */
.story-photo{
  width:100%; aspect-ratio: 16/9; border-radius: var(--radius-3);
  background-image: url('../img/Pills.jpg');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  box-shadow: var(--shadow-2);
}

/* =========================
   PROMISE CARDS
========================= */
.about-promise{ padding-block: clamp(1.5rem, 6vw, 2.5rem); }
.section-title{ text-align:center; margin-bottom: 1rem; }
.promise-grid{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(.9rem, 2.6vw, 1.2rem);
}
@media (max-width: 980px){ .promise-grid{ grid-template-columns: 1fr; } }
.promise-card{
  display:grid; gap:.6rem; background:#fff;
  border:1px solid color-mix(in oklab, var(--border) 85%, transparent);
  border-radius: var(--radius-3);
  padding: clamp(1rem, 2.6vw, 1.35rem);
  box-shadow: var(--shadow-2);
}
.promise-card h3{ margin:.25rem 0; font-size:1.05rem; }
.promise-card p{ margin:0; color: var(--text); }
.pc-icon{
  width:3rem; height:3rem; display:grid; place-items:center;
  border-radius:1rem; background:color-mix(in oklab, var(--brand-600) 16%, #fff);
  color:color-mix(in oklab, var(--brand-600) 80%, #2a3b2f); box-shadow:var(--shadow-1);
}
.pc-icon--tan{ background:#e9ddcf; color:#6d5a47; }
.icon{ width:1.6rem; height:1.6rem; fill:currentColor; }

/* =========================
   TEAM
========================= */
.about-team{ padding-block: clamp(1.5rem, 6vw, 2.6rem); }
.team-grid{
  display:grid; grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2.6vw, 1.25rem);
}
@media (max-width: 860px){ .team-grid{ grid-template-columns: 1fr; } }

.team-card{
  display:grid; grid-template-columns: 160px 1fr; gap:1rem;
  align-items:start; background:#fff; border:1px solid color-mix(in oklab, var(--border) 85%, transparent);
  border-radius: var(--radius-3); padding: clamp(1rem, 2.5vw, 1.25rem); box-shadow: var(--shadow-2);
}
@media (max-width: 540px){ .team-card{ grid-template-columns: 1fr; } }

.team-media{ width:100%; }
.team-photo{
  width:100%; aspect-ratio: 4/5; border-radius: 1rem;
  background-image: url('../img/Pills.jpg'); /* using pills image */
  background-size: cover; background-position: center; background-repeat: no-repeat;
  box-shadow: var(--shadow-1);
}
.tp--khawaja{} .tp--aleena{}

.team-body{ display:grid; gap:.4rem; }
.team-name{ color:var(--text); }
.team-role{ font-weight:600; color:var(--brand-600); }
.team-list{ margin-top:.25rem; display:grid; gap:.35rem; }
.team-list li{ color:var(--muted); }
.team-list strong{ color:var(--text); }
.link{ color:var(--brand-600); text-decoration: underline; text-underline-offset:2px; }

/* =========================
   CTA
========================= */
.about-cta{
  padding-block: clamp(1.5rem, 6vw, 2.25rem);
  background: color-mix(in oklab, var(--brand-600) 8%, #fff);
  border-top: 1px solid color-mix(in oklab, var(--border) 80%, transparent);
}
.cta-inner{ text-align:center; max-width:48rem; }
.cta-inner p{ color: var(--muted); margin-bottom:.8rem; }

/* =========================
   FOOTER
========================= */
.site-footer{ background:var(--footer-bg); color:var(--footer-text); }
.footer-grid{ display:grid; gap:clamp(1rem, 2.5vw, 2rem); grid-template-columns: repeat(4, 1fr); padding-block: clamp(2rem, 4vw, 3rem); }
.footer-col{ min-width:0; }
.footer-head{ color:#fff; font-size:1.05rem; margin-bottom:.75rem; }
.footer-brand{ font-weight:800; letter-spacing:-.02em; font-size:1.25rem; margin-bottom:.25rem; }
.footer-strong{ color:#fff; } .footer-accent{ color:var(--brand-400); }
.footer-note{ color:color-mix(in oklab, #fff 70%, #000); margin-top:.25rem; }

.social-row{ display:flex; gap:.6rem; margin-top:.75rem; }
.social{
  --icon-size:22px; display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:12px; background:rgba(255,255,255,.04);
  color:color-mix(in oklab, #fff 92%, #000);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: background-color .2s ease, box-shadow .2s ease, transform .06s ease;
}
.social:hover{ background:rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 0 0 3px rgba(255,255,255,.06); }
.social:active{ transform: translateY(1px); }
.social .icon{ width:var(--icon-size); height:var(--icon-size); display:block; }

.footer-links{ display:grid; gap:.5rem; }
.footer-links a{ color:color-mix(in oklab, #fff 85%, #000); }
.footer-links a:hover{ text-decoration:underline; }

.footer-bar{ border-top:1px solid rgba(255,255,255,.08); padding-block:.85rem; color:color-mix(in oklab, #fff 70%, #000); font-size:.925rem; }
@media (max-width:1024px){ .footer-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width:640px){ .footer-grid{ grid-template-columns: 1fr; } }
