/* ------------------------------------------------------------------
   pskasare.com — Rev. Prince S.K. Asare
   Faith · Systems · Technology · Impact
   ------------------------------------------------------------------ */

:root{
  /* Ground */
  --ink:        #050c16;
  --ink-2:      #091326;
  --surface:    rgba(255,255,255,.048);
  --surface-2:  rgba(255,255,255,.028);
  --line:       rgba(255,255,255,.105);
  --line-soft:  rgba(255,255,255,.06);

  /* Ink */
  --text:       #f3f7fc;
  --muted:      #9aa9bd;
  --muted-2:    #7a889c;

  /* Accents — matched chroma/lightness, varied hue */
  --gold:       oklch(80% 0.11 78);
  --gold-dim:   oklch(80% 0.11 78 / .28);
  --cyan:       oklch(80% 0.11 220);
  --cyan-dim:   oklch(80% 0.11 220 / .22);
  --green:      oklch(80% 0.11 158);

  --max: 1160px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;

  --sans:  Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(ellipse 60rem 40rem at 88% -6%, oklch(80% 0.11 220 / .13), transparent 70%),
    radial-gradient(ellipse 48rem 34rem at 4% 18%, oklch(80% 0.11 78 / .10), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, #071020 52%, #04090f 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

/* Fine grain — depth without a flat fill */
body::before{
  content:"";
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

a{ color: var(--cyan); text-decoration: none; }
a:hover{ color: var(--gold); }
img{ max-width: 100%; display: block; }

.wrap{ width: min(calc(100% - 44px), var(--max)); margin-inline: auto; position: relative; z-index: 1; }

.skip{
  position: absolute; left: -9999px; top: 0;
  background: var(--text); color: var(--ink);
  padding: 12px 18px; border-radius: 0 0 var(--r-sm) 0; font-weight: 700; z-index: 99;
}
.skip:focus{ left: 0; }

/* ---------- Type ---------- */

.display{
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
}
h1.display{ font-size: clamp(48px, 8vw, 92px); }
h2.display{ font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.05em; line-height: 1; }
h3{ font-size: 26px; letter-spacing: -0.035em; margin: 0 0 8px; font-weight: 700; }

.gilt{
  background: linear-gradient(104deg, #ffffff 4%, #d7ecf6 42%, oklch(80% 0.11 78) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.kicker{
  font-size: 11.5px; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: var(--gold); margin: 0;
}
.lead{
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55; color: #b9c6d6; max-width: 62ch; margin: 0;
  text-wrap: pretty;
}
p{ text-wrap: pretty; }

/* ---------- Header ---------- */

.masthead{
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(20px);
  background: linear-gradient(180deg, rgba(5,12,22,.92), rgba(5,12,22,.62));
  border-bottom: 1px solid var(--line-soft);
}
.masthead-in{
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-block: 15px;
}
.brand{ display: flex; align-items: baseline; gap: 9px; color: var(--text); }
.brand:hover{ color: var(--text); }
.brand .rev{
  font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
}
.brand .nm{ font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }

.nav{ display: flex; align-items: center; gap: 4px; }
.nav a{
  color: #c2cddc; font-size: 14px; font-weight: 500;
  padding: 9px 14px; border-radius: 999px; border: 1px solid transparent;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}
.nav a:hover{ color: #fff; background: var(--surface-2); }
.nav a[aria-current="page"]{
  color: #fff; border-color: var(--line); background: var(--surface);
}

.menu-btn{
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 13px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--text); cursor: pointer;
}

/* ---------- Buttons ---------- */

.actions{ display: flex; flex-wrap: wrap; gap: 12px; }
.btn{
  display: inline-flex; align-items: center; gap: 9px;
  min-height: 46px; padding: 12px 20px;
  border-radius: 14px; border: 1px solid var(--line);
  font-family: var(--sans); font-size: 14.5px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text); background: var(--surface-2);
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover{ transform: translateY(-2px); color: var(--text); border-color: rgba(255,255,255,.2); }
.btn-primary{
  background: linear-gradient(180deg, #ffffff, #e4ecf4);
  color: #06101c; border-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.btn-primary:hover{ color: #06101c; }
.btn-gold{
  background: linear-gradient(180deg, oklch(80% 0.11 78), oklch(72% 0.12 72));
  color: #1a1204; border-color: transparent;
  box-shadow: 0 10px 30px oklch(80% 0.11 78 / .22);
}
.btn-gold:hover{ color: #1a1204; }
.btn svg{ width: 17px; height: 17px; flex: none; }

/* ---------- Sections ---------- */

section{ padding-block: clamp(64px, 9vw, 108px); position: relative; z-index: 1; }
.section-head{
  display: grid; grid-template-columns: 1.25fr .85fr; gap: 34px; align-items: end;
  margin-bottom: 40px;
}
.section-head .lead{ font-size: 16.5px; }

/* ---------- Hero ---------- */

.hero{ padding-block: clamp(76px, 11vw, 132px) clamp(56px, 7vw, 88px); overflow: hidden; }
.hero-in{ display: grid; gap: 26px; justify-items: start; }
.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 15px 7px 11px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: 11.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: #d6e1ee;
}
.pulse{
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 oklch(80% 0.11 158 / .55);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse{
  70%{ box-shadow: 0 0 0 11px oklch(80% 0.11 158 / 0); }
  100%{ box-shadow: 0 0 0 0 oklch(80% 0.11 158 / 0); }
}
h1.display{ max-width: 16ch; }

/* Pillars */
.pillars{
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px;
  width: 100%; margin-top: 18px;
}
.pillar{
  display: grid; gap: 4px; padding: 20px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
}
.pillar b{ font-size: 22px; font-weight: 800; letter-spacing: -0.035em; }
.pillar small{ color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.pillar:nth-child(odd)  b{ color: oklch(80% 0.11 78); }
.pillar:nth-child(even) b{ color: oklch(80% 0.11 220); }

/* ---------- Cards ---------- */

.grid{ display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 16px; }
.card{
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
  padding: 30px;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(155deg, var(--surface), var(--surface-2));
  transition: border-color .22s ease, transform .22s ease;
}
.card:hover{ border-color: rgba(255,255,255,.2); transform: translateY(-3px); }
.card::after{
  content:""; position: absolute; inset: auto -25% -60% 25%; height: 180px;
  background: radial-gradient(circle, oklch(80% 0.11 220 / .10), transparent 66%);
  pointer-events: none;
}
.card > *{ position: relative; z-index: 1; }
.card p{ color: var(--muted); margin: 0; max-width: 58ch; }
.card .spacer{ flex: 1 1 auto; }

.span-4{ grid-column: span 4; }
.span-5{ grid-column: span 5; }
.span-6{ grid-column: span 6; }
.span-7{ grid-column: span 7; }
.span-8{ grid-column: span 8; }
.span-12{ grid-column: span 12; }

.tag{
  align-self: start;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(0,0,0,.2);
  font-size: 11px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: #c6d2e0;
}
.tag-gold{ border-color: var(--gold-dim); color: oklch(84% 0.09 80); }
.tag-cyan{ border-color: var(--cyan-dim); color: oklch(85% 0.08 220); }

.card-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700; color: var(--text);
}
.card-link svg{ width: 16px; height: 16px; transition: transform .2s ease; }
.card-link:hover{ color: var(--gold); }
.card-link:hover svg{ transform: translateX(3px); }

/* Numbered method steps */
.steps{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.step{ padding: 26px; }
.step .num{
  font-size: 11.5px; font-weight: 700; color: var(--gold);
  letter-spacing: .14em; text-transform: uppercase;
}
.step h3{ font-size: 20px; letter-spacing: -0.03em; }
.step p{ font-size: 14.5px; }

/* ---------- Quote ---------- */

.creed{ border-block: 1px solid var(--line); padding-block: clamp(48px, 6vw, 76px); }
.creed blockquote{
  margin: 0; font-weight: 800;
  font-size: clamp(28px, 4vw, 52px); line-height: 1.12; letter-spacing: -0.045em;
  max-width: 24ch; text-wrap: pretty;
}
.creed blockquote span{ color: oklch(80% 0.11 78); }
.creed cite{ display: block; margin-top: 24px; font-style: normal; color: var(--muted-2); font-size: 14px; }

/* ---------- CTA ---------- */

.cta-box{
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center;
  padding: clamp(32px, 4.5vw, 56px);
  border: 1px solid var(--gold-dim); border-radius: 30px;
  background:
    radial-gradient(ellipse 30rem 20rem at 8% 0%, oklch(80% 0.11 78 / .13), transparent 70%),
    radial-gradient(ellipse 28rem 18rem at 96% 100%, oklch(80% 0.11 220 / .10), transparent 70%),
    var(--surface-2);
}
.cta-box h2{ margin-block: 12px 14px; }
.cta-box p{ color: var(--muted); margin: 0; }

/* ---------- Contact form ---------- */

.contact-grid{ display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }

.form{
  display: grid; gap: 18px;
  padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(155deg, var(--surface), var(--surface-2));
}
.field{ display: grid; gap: 8px; }
.field-row{ display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
label{ font-size: 13px; font-weight: 700; letter-spacing: .02em; color: #d3dded; }
label .req{ color: oklch(80% 0.11 78); }
input, select, textarea{
  width: 100%; min-height: 48px; padding: 13px 15px;
  font-family: var(--sans); font-size: 15px; color: var(--text);
  background: rgba(0,0,0,.28);
  border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
textarea{ min-height: 152px; resize: vertical; line-height: 1.6; }
select{ appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239aa9bd' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px;
}
input::placeholder, textarea::placeholder{ color: #66748a; }
input:focus, select:focus, textarea:focus{
  outline: none; background: rgba(0,0,0,.4);
  border-color: oklch(80% 0.11 220 / .6);
  box-shadow: 0 0 0 3px oklch(80% 0.11 220 / .14);
}
input:user-invalid, textarea:user-invalid{ border-color: oklch(70% 0.15 25 / .7); }

.hp{ position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note{ font-size: 12.5px; color: var(--muted-2); margin: 0; }

.alert{
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: var(--surface-2);
  font-size: 14.5px; line-height: 1.55;
}
.alert svg{ width: 19px; height: 19px; flex: none; margin-top: 2px; }
.alert-ok{ border-color: oklch(80% 0.11 158 / .4); background: oklch(80% 0.11 158 / .08); color: #d6f5e7; }
.alert-ok svg{ color: oklch(80% 0.11 158); }
.alert-bad{ border-color: oklch(70% 0.15 25 / .45); background: oklch(70% 0.15 25 / .08); color: #fbdcd7; }
.alert-bad svg{ color: oklch(72% 0.15 25); }

/* Contact detail rail */
.rail{ display: grid; gap: 16px; }
.rail-item{
  display: grid; grid-template-columns: 42px 1fr; gap: 15px; align-items: start;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--surface-2);
}
.rail-ic{
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(0,0,0,.25);
  color: oklch(80% 0.11 78);
}
.rail-ic svg{ width: 19px; height: 19px; }
.rail-item h3{ font-size: 15px; margin: 0 0 3px; }
.rail-item p, .rail-item a{ margin: 0; font-size: 14.5px; color: var(--muted); }
.rail-item a{ color: oklch(85% 0.08 220); word-break: break-word; }
.rail-item a:hover{ color: var(--gold); }

/* ---------- Footer ---------- */

footer{
  border-top: 1px solid var(--line); padding-block: 36px 48px;
  position: relative; z-index: 1;
}
.foot-in{
  display: flex; flex-wrap: wrap; gap: 20px 32px;
  align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--muted-2);
}
.foot-nav{ display: flex; flex-wrap: wrap; gap: 20px; }
.foot-nav a{ color: var(--muted); }
.foot-nav a:hover{ color: var(--gold); }

/* ---------- Motion ---------- */

.rise{ animation: rise .7s cubic-bezier(.2,.7,.25,1) both; }
.rise:nth-child(2){ animation-delay: .07s; }
.rise:nth-child(3){ animation-delay: .14s; }
.rise:nth-child(4){ animation-delay: .21s; }
.rise:nth-child(5){ animation-delay: .28s; }
@keyframes rise{ from{ opacity: 0; transform: translateY(16px); } to{ opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html{ scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px){
  .section-head{ grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .cta-box{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; gap: 28px; }
  .span-4, .span-5, .span-7, .span-8{ grid-column: span 6; }
  .steps{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 760px){
  .wrap{ width: calc(100% - 32px); }
  .nav{
    display: none; position: absolute; top: calc(100% + 10px); right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; min-width: 210px; padding: 9px;
    border: 1px solid var(--line); border-radius: var(--r-md);
    background: rgba(7,15,28,.97); backdrop-filter: blur(20px);
    box-shadow: 0 22px 60px rgba(0,0,0,.5);
  }
  .nav.open{ display: flex; }
  .nav a{ border-radius: 11px; padding: 12px 14px; }
  .menu-btn{ display: inline-flex; }
  .masthead-in{ position: relative; }
  .pillars{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .span-4, .span-5, .span-6, .span-7, .span-8{ grid-column: span 12; }
  .steps{ grid-template-columns: 1fr; }
  .field-row{ grid-template-columns: 1fr; }
  .card{ padding: 24px; }
}
