/* ===========================================================
   OASISGATE KONSULT LIMITED — site stylesheet
   Design system: architectural drawing / title-block motif
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --ink: #0F2A43;
  --ink-70: rgba(15,42,67,.7);
  --ink-45: rgba(15,42,67,.45);
  --blueprint: #1C6FB0;
  --blueprint-dim: #3d84bb;
  --steel: #5C6B7A;
  --concrete: #EFEDE7;
  --concrete-dark: #E3E0D6;
  --amber: #D98E1F;
  --white: #FFFFFF;
  --line: rgba(15,42,67,.16);
  --grid-size: 44px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--concrete);
  color:var(--ink);
  font-family:'IBM Plex Sans', system-ui, sans-serif;
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3,h4{
  font-family:'Space Grotesk', sans-serif;
  font-weight:600;
  letter-spacing:-0.01em;
  margin:0;
  color:var(--ink);
}

a{ color:inherit; text-decoration:none; }

.mono{ font-family:'IBM Plex Mono', monospace; }

.eyebrow{
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--blueprint);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:18px; height:1px;
  background:var(--blueprint);
  display:inline-block;
}

.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 32px;
}

/* blueprint grid background */
.grid-bg{
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

.crosshair{
  position:relative;
}
.crosshair::before, .crosshair::after{
  content:"";
  position:absolute;
  background:var(--blueprint-dim);
  opacity:.55;
}
.crosshair::before{ width:15px; height:1px; }
.crosshair::after{ width:1px; height:15px; }

/* ---------- header / nav ---------- */
header.site{
  position:sticky; top:0; z-index:50;
  background:rgba(239,237,231,.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 32px;
  max-width:1180px; margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand img{ width:36px; height:36px; display:block; }
.brand-text{ line-height:1.1; }
.brand-text .name{
  font-family:'Space Grotesk', sans-serif;
  font-weight:700; font-size:15.5px; letter-spacing:.01em;
}
.brand-text .tag{
  font-family:'IBM Plex Mono', monospace;
  font-size:10.5px; letter-spacing:.09em; color:var(--steel);
  text-transform:uppercase;
}
nav.links{ display:flex; gap:2px; align-items:center; }
nav.links a{
  font-family:'IBM Plex Mono', monospace;
  font-size:12.5px;
  letter-spacing:.04em;
  padding:9px 16px;
  color:var(--ink-70);
  border-radius:2px;
  transition:color .15s ease, background .15s ease;
}
nav.links a:hover{ color:var(--ink); background:var(--concrete-dark); }
nav.links a.active{ color:var(--white); background:var(--ink); }
nav.links a:focus-visible, a:focus-visible, button:focus-visible{
  outline:2px solid var(--amber); outline-offset:2px;
}
.nav-cta{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px; letter-spacing:.05em;
  padding:9px 16px;
  background:var(--blueprint); color:var(--white);
  border-radius:2px;
  margin-left:8px;
  white-space:nowrap;
}
.nav-cta:hover{ background:var(--ink); }

.menu-toggle{ display:none; }

/* ---------- title block (signature element) ---------- */
.titleblock{
  border:1px solid var(--ink);
  background:var(--white);
  display:grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  font-family:'IBM Plex Mono', monospace;
  font-size:11.5px;
  color:var(--ink-70);
}
.titleblock > div{
  padding:10px 14px;
  border-right:1px solid var(--line);
}
.titleblock > div:last-child{ border-right:none; }
.titleblock .label{
  display:block; color:var(--steel); font-size:9.5px;
  letter-spacing:.08em; text-transform:uppercase; margin-bottom:3px;
}
.titleblock .val{ color:var(--ink); font-weight:500; }

/* ---------- hero ---------- */
.hero{
  padding:64px 0 40px;
  position:relative;
}
.hero-sheet{
  border:1px solid var(--ink);
  background:var(--white);
  padding:56px 56px 0;
  position:relative;
}
.hero-sheet::before{
  content:"";
  position:absolute; inset:10px;
  border:1px solid var(--line);
  pointer-events:none;
}
.hero h1{
  font-size:clamp(34px, 5vw, 58px);
  line-height:1.06;
  max-width:820px;
  margin-top:18px;
}
.hero h1 em{
  font-style:normal;
  color:var(--blueprint);
}
.hero p.lede{
  max-width:560px;
  font-size:17px;
  color:var(--ink-70);
  margin-top:20px;
}
.hero-actions{
  display:flex; gap:14px; margin-top:32px; flex-wrap:wrap;
}
.btn{
  font-family:'IBM Plex Mono', monospace;
  font-size:13px; letter-spacing:.04em;
  padding:13px 22px;
  border-radius:2px;
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid var(--ink);
}
.btn-primary{ background:var(--ink); color:var(--white); }
.btn-primary:hover{ background:var(--blueprint); border-color:var(--blueprint); }
.btn-ghost{ background:transparent; color:var(--ink); }
.btn-ghost:hover{ background:var(--concrete); }

.hero .titleblock{ margin-top:48px; border-top:1px solid var(--ink); border-left:none; border-right:none; border-bottom:none; border-radius:0; }
.hero .titleblock > div:first-child{ padding-left:0; }
.hero .titleblock > div:last-child{ padding-right:0; }

/* ---------- section scaffolding ---------- */
section{ padding:76px 0; }
section.tight{ padding:52px 0; }
.section-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:40px; flex-wrap:wrap; }
.section-head h2{ font-size:clamp(26px,3.4vw,36px); margin-top:10px; max-width:560px; }
.section-head .meta{ font-family:'IBM Plex Mono',monospace; font-size:12px; color:var(--steel); text-align:right; }

/* stat strip */
.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--ink);
  border-bottom:1px solid var(--ink);
}
.stat{
  padding:26px 24px;
  border-right:1px solid var(--line);
}
.stat:last-child{ border-right:none; }
.stat .num{
  font-family:'IBM Plex Mono', monospace;
  font-size:30px; font-weight:500; color:var(--blueprint);
}
.stat .label{
  font-size:12.5px; color:var(--ink-70); margin-top:6px; max-width:20ch;
}

/* ---------- sheet cards (services) ---------- */
.sheets{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:1px;
  background:var(--ink);
  border:1px solid var(--ink);
}
.sheet{
  background:var(--white);
  padding:30px 26px 26px;
  position:relative;
}
.sheet .sheet-no{
  font-family:'IBM Plex Mono', monospace;
  font-size:12px; color:var(--amber); letter-spacing:.05em;
}
.sheet h3{ font-size:19px; margin-top:14px; }
.sheet p{ font-size:14.5px; color:var(--ink-70); margin-top:10px; }
.sheet ul{ margin:14px 0 0; padding-left:18px; font-size:13.5px; color:var(--ink-70); }
.sheet li{ margin-bottom:6px; }

/* ---------- portfolio / schedule table ---------- */
.schedule{ width:100%; border-collapse:collapse; font-size:14px; }
.schedule thead th{
  font-family:'IBM Plex Mono', monospace;
  font-size:11px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--steel); text-align:left; padding:10px 14px;
  border-bottom:1px solid var(--ink);
}
.schedule thead th.num{ text-align:right; }
.schedule tbody td{
  padding:16px 14px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
}
.schedule tbody tr:hover{ background:var(--white); }
.schedule .sn{ font-family:'IBM Plex Mono', monospace; color:var(--steel); }
.schedule .title{ font-weight:500; max-width:340px; }
.schedule .role{ color:var(--ink-70); font-size:13px; }
.schedule .value{ font-family:'IBM Plex Mono', monospace; text-align:right; white-space:nowrap; }
.status{
  font-family:'IBM Plex Mono', monospace;
  font-size:10.5px; letter-spacing:.06em;
  padding:3px 8px; border-radius:2px;
  display:inline-block;
}
.status.completed{ background:rgba(28,111,176,.1); color:var(--blueprint); }
.status.ongoing{ background:rgba(217,142,31,.14); color:var(--amber); }

/* ---------- team ---------- */
.team-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--ink); border:1px solid var(--ink); }
.team-card{ background:var(--white); padding:24px; }
.team-card .role{ font-family:'IBM Plex Mono', monospace; font-size:11px; color:var(--amber); text-transform:uppercase; letter-spacing:.06em; }
.team-card h4{ font-size:16.5px; margin-top:10px; }
.team-card .cred{ font-size:12.5px; color:var(--ink-70); margin-top:6px; }
.team-card .exp{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--steel); margin-top:12px; padding-top:12px; border-top:1px solid var(--line); }

/* ---------- panel / dark band ---------- */
.panel-dark{ background:var(--ink); color:var(--concrete); }
.panel-dark .eyebrow{ color:var(--amber); }
.panel-dark .eyebrow::before{ background:var(--amber); }
.panel-dark h2{ color:var(--white); }
.panel-dark p{ color:rgba(239,237,231,.72); }

/* ---------- contact ---------- */
.contact-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:1px; background:var(--ink); border:1px solid var(--ink); }
.contact-panel{ background:var(--white); padding:40px; }
.contact-panel.dark{ background:var(--ink); color:var(--concrete); }
.field{ margin-bottom:18px; }
.field label{ display:block; font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--steel); margin-bottom:7px; }
.field input, .field textarea{
  width:100%; padding:12px 14px; font-family:'IBM Plex Sans',sans-serif; font-size:14.5px;
  border:1px solid var(--line); background:var(--concrete); border-radius:2px; color:var(--ink);
}
.field textarea{ min-height:110px; resize:vertical; }
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--blueprint); background:var(--white); }
.info-row{ display:flex; gap:14px; padding:16px 0; border-bottom:1px solid rgba(239,237,231,.15); }
.info-row:last-child{ border-bottom:none; }
.info-row .k{ font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--amber); width:110px; flex-shrink:0; padding-top:2px; }
.info-row .v{ font-size:14px; color:rgba(239,237,231,.9); line-height:1.5; }
.info-row a.v:hover{ color:var(--white); }

/* ---------- footer ---------- */
footer.site{
  background:var(--ink); color:rgba(239,237,231,.6);
  padding:36px 0; font-size:12.5px;
}
footer.site .wrap{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; }
footer.site .mono{ letter-spacing:.03em; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ transition:none !important; }
}

/* ---------- responsive ---------- */
@media (max-width: 880px){
  .stats{ grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(2){ border-right:none; }
  .sheets{ grid-template-columns:1fr; }
  .team-grid{ grid-template-columns:1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .titleblock{ grid-template-columns:1fr 1fr; }
  .titleblock > div:nth-child(2n){ border-right:none; }
  .hero-sheet{ padding:36px 22px 0; }
  nav.links{ display:none; }
  .menu-toggle{ display:block; }
}
@media (max-width: 600px){
  .schedule .role{ display:none; }
  .schedule thead th:nth-child(3){ display:none; }
}
