@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap');

html { scroll-padding-top: 120px; }
body { font-family: 'Inter', Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .navlinks, .btn, summary { font-family: 'Outfit', 'Avenir Next', Arial, sans-serif; }
h1, h2 { font-weight: 600; }
h3 { font-weight: 600; letter-spacing: -.01em; }

.site-header { backdrop-filter: blur(14px); }

.hero .cta-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
  font-weight: 700;
}

.navlinks .has-sub {
  position: relative;
}

.service-nav-label {
  display: flex;
  align-items: center;
  gap: 4px;
}

.submenu-toggle {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
}

.submenu-toggle span {
  transform: translateY(-2px);
  transition: transform .2s ease;
}

.has-sub.submenu-open .submenu-toggle span {
  transform: rotate(180deg) translateY(2px);
}

.navlinks .service-menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 16px);
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  width: 500px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  background: #270059;
  box-shadow: 0 22px 45px rgba(14, 0, 38, .32);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.navlinks .service-menu::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 18px;
}

.navlinks .has-sub:hover .service-menu,
.navlinks .has-sub:focus-within .service-menu,
.navlinks .has-sub.submenu-open .service-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.navlinks .service-menu a {
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, .9);
  font-size: .88rem;
  line-height: 1.25;
}

.navlinks .service-menu a:hover,
.navlinks .service-menu a:focus-visible {
  color: #270059;
  background: #f1ca6b;
  outline: none;
}

@media (max-width: 900px) {
  .navlinks .has-sub,
  .service-nav-label {
    width: 100%;
  }

  .service-nav-label {
    justify-content: space-between;
  }

  .submenu-toggle {
    background: rgba(255, 255, 255, .16);
  }

  .navlinks .service-menu {
    position: static;
    grid-template-columns: 1fr;
    width: 100%;
    max-height: 0;
    padding: 0 0 0 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: hidden;
    overflow: hidden;
    transform: none;
    transition: max-height .25s ease, padding .25s ease, visibility .25s ease;
  }

  .navlinks .has-sub:hover .service-menu,
  .navlinks .has-sub:focus-within .service-menu {
    max-height: 0;
    padding-top: 0;
    visibility: hidden;
    transform: none;
  }

  .navlinks .has-sub.submenu-open .service-menu {
    max-height: 620px;
    padding-top: 10px;
    visibility: visible;
    transform: none;
  }
}
.navlinks a:not(.btn) { position: relative; }
.navlinks > a:not(.btn)::after { background: #fff; bottom: -7px; content: ''; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: right; transition: transform .28s ease; width: 100%; }
.navlinks > a:not(.btn):hover::after, .navlinks > a:not(.btn):focus-visible::after { transform: scaleX(1); transform-origin: left; }

.hero, .inner-hero { isolation: isolate; }
.inner-hero { overflow: hidden; position: relative; }
.hero-copy, .inner-hero .wrap { position: relative; }
.hero-copy::before, .inner-hero::before { background: radial-gradient(circle, rgba(223,207,238,.2), transparent 66%); border-radius: 50%; content: ''; height: 330px; pointer-events: none; position: absolute; right: -90px; top: -110px; width: 330px; z-index: -1; }
.hero-copy::after { border: 1px solid rgba(255,255,255,.13); border-radius: 50%; bottom: -110px; content: ''; height: 240px; left: -90px; position: absolute; width: 240px; z-index: -1; }

.eyebrow { align-items: center; display: flex; gap: 10px; }
.eyebrow::before { background: currentColor; content: ''; height: 2px; width: 26px; }
.btn { border-radius: 999px; box-shadow: 0 8px 24px rgba(39,0,89,.14); overflow: hidden; position: relative; transition: box-shadow .25s ease, transform .25s ease, background .25s ease; }
.btn:hover { box-shadow: 0 12px 28px rgba(39,0,89,.22); transform: translateY(-3px); }
.text-link { display: inline-block; transition: transform .25s ease, opacity .25s ease; }
.text-link:hover { opacity: .82; transform: translateX(5px); }
footer a { transition: color .2s ease, transform .2s ease; }
footer a:hover { color: #fff; transform: translateX(3px); }

.hero-visual, .portrait, .founder-portrait, .content-image { overflow: hidden; }
.hero-img, .portrait img, .founder-portrait img, .content-image { transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.hero-visual:hover .hero-img, .portrait:hover img, .founder-portrait:hover img { transform: scale(1.025); }

.service-grid { border-radius: 18px; overflow: hidden; }
.service-icon { align-items: center; background: var(--purple-100); border: 1px solid var(--purple-200); border-radius: 16px; color: var(--purple-700); display: flex; height: 70px; justify-content: center; margin: 24px 24px 0; transition: background .3s ease, color .3s ease, transform .3s ease; width: 70px; }
.service-icon svg { fill: none; height: 36px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; width: 36px; }
.service-grid article:hover .service-icon { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; transform: rotate(-3deg) scale(1.06); }
.service-grid article, .page-service, .feature-card { transition: box-shadow .3s ease, transform .3s ease, background .3s ease; }
.service-grid article:hover, .page-service:hover, .feature-card:hover { box-shadow: 0 18px 42px rgba(39,0,89,.14); transform: translateY(-6px); z-index: 2; }
.page-service, .feature-card, form, .founder-portrait { border-radius: 14px; overflow: hidden; }
.service-image, .page-service img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.service-grid article:hover .service-image, .page-service:hover img { transform: scale(1.045); }
.trust-grid div { transition: transform .25s ease, border-color .25s ease; }
.trust-grid div:hover { border-color: var(--purple-700); transform: translateY(-4px); }
details { transition: background .25s ease, padding .25s ease; }
details[open] { background: var(--purple-50); padding-left: 18px; padding-right: 18px; }
summary::after { transition: transform .25s ease; }
details[open] summary::after { transform: rotate(180deg); }

.reveal-ready { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
.reveal-ready.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) { .navlinks > a:not(.btn)::after { bottom: -3px; } .hero-copy::before { right: -180px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } .reveal-ready { opacity: 1; transform: none; } }

/* 2026 visual refresh: editorial, confident, and distinctly PAK */
:root {
  --pak-violet: #6e35a3;
  --pak-orchid: #b995d4;
  --pak-lilac: #f4eef9;
  --pak-ink: #210044;
  --pak-shadow: 0 24px 70px rgba(39, 0, 89, .16);
}

body {
  background:
    radial-gradient(circle at 8% 18%, rgba(139, 91, 184, .07), transparent 25rem),
    #fff;
}

.site-header {
  background: rgba(39, 0, 89, .94);
  box-shadow: 0 14px 38px rgba(24, 0, 52, .18);
  transition: background .3s ease, box-shadow .3s ease;
}

.site-header.has-scrolled {
  background: rgba(29, 0, 63, .97);
  box-shadow: 0 18px 45px rgba(24, 0, 52, .28);
}

.topbar {
  background: #1d003f;
}

.nav {
  position: relative;
}

.nav::after {
  background: linear-gradient(90deg, transparent, rgba(223, 207, 238, .55), transparent);
  bottom: 0;
  content: '';
  height: 1px;
  left: 0;
  position: absolute;
  right: 0;
}

.brand img {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .2));
  transition: transform .3s ease;
}

.brand:hover img {
  transform: translateY(-2px) scale(1.02);
}

.hero {
  background:
    radial-gradient(circle at 18% 20%, rgba(185, 149, 212, .2), transparent 30rem),
    linear-gradient(145deg, #250052 0%, #3b0870 55%, #24004e 100%);
}

.hero-copy {
  isolation: isolate;
  position: relative;
}

.hero-copy::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 42% 58% 63% 37% / 45% 38% 62% 55%;
  height: 390px;
  left: -210px;
  right: auto;
  top: 50%;
  transform: translateY(-50%) rotate(12deg);
  width: 390px;
}

.hero-copy::after {
  border-color: rgba(223, 207, 238, .28);
  height: 170px;
  left: auto;
  right: 7%;
  top: 12%;
  width: 170px;
}

.hero-content {
  isolation: isolate;
  position: relative;
}

.hero-content::before {
  color: rgba(255, 255, 255, .045);
  content: 'PAK';
  font-family: 'Outfit', Arial, sans-serif;
  font-size: clamp(9rem, 18vw, 17rem);
  font-weight: 700;
  left: -10px;
  letter-spacing: -.08em;
  line-height: .8;
  pointer-events: none;
  position: absolute;
  top: -45px;
  z-index: -1;
}

.hero h1 {
  max-width: 680px;
  text-wrap: balance;
}

.hero-visual {
  clip-path: none;
  position: relative;
}

.hero-visual::after {
  background: linear-gradient(90deg, rgba(39, 0, 89, .55), transparent 34%);
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero .hero-img {
  filter: saturate(.9) contrast(1.04);
}

.intro {
  overflow: hidden;
  position: relative;
}

.intro::after {
  background: var(--pak-lilac);
  border-radius: 50%;
  content: '';
  height: 420px;
  pointer-events: none;
  position: absolute;
  right: -260px;
  top: -210px;
  width: 420px;
}

.intro .split {
  position: relative;
  z-index: 1;
}

.intro .split > div:first-child {
  border-left: 5px solid var(--pak-violet);
  padding-left: 28px;
}

.services {
  background:
    linear-gradient(180deg, #fbf9fd, #f3ecf8);
  overflow: hidden;
  position: relative;
}

.services::before {
  background-image: radial-gradient(rgba(99, 41, 154, .16) 1px, transparent 1px);
  background-size: 18px 18px;
  content: '';
  height: 280px;
  opacity: .6;
  position: absolute;
  right: -40px;
  top: -40px;
  width: 360px;
}

.services .wrap {
  position: relative;
}

.service-grid {
  background: transparent;
  border: 0;
  border-radius: 0;
  gap: 18px;
  overflow: visible;
}

.service-grid article {
  border: 1px solid rgba(99, 41, 154, .13);
  border-radius: 18px;
  box-shadow: 0 12px 38px rgba(39, 0, 89, .07);
  min-height: 275px;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.service-grid article::before {
  background: linear-gradient(90deg, var(--pak-violet), var(--pak-orchid));
  content: '';
  height: 5px;
  left: 0;
  position: absolute;
  top: 0;
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform .35s ease;
  width: 100%;
}

.service-grid article:hover::before {
  transform: scaleX(1);
}

.service-grid article:nth-child(2n) {
  transform: translateY(14px);
}

.service-grid article:nth-child(2n):hover {
  transform: translateY(6px);
}

.service-copy {
  padding: 20px 26px 28px;
}

.service-icon {
  border-radius: 18px 8px 18px 8px;
}

.founder {
  background:
    radial-gradient(circle at 85% 18%, rgba(185, 149, 212, .22), transparent 24rem),
    linear-gradient(140deg, #260050, #4a1280);
  overflow: hidden;
  position: relative;
}

.founder::after {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  content: '';
  height: 420px;
  position: absolute;
  right: -230px;
  top: -210px;
  width: 420px;
}

.portrait {
  filter: drop-shadow(0 26px 50px rgba(16, 0, 35, .3));
  position: relative;
  z-index: 1;
}

.portrait::before {
  border: 2px solid rgba(223, 207, 238, .65);
  border-radius: 18px;
  content: '';
  inset: -14px 14px 14px -14px;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.portrait img {
  border-radius: 18px 4px 18px 4px;
}

.trust {
  background:
    linear-gradient(120deg, #fff 0%, #fff 58%, #faf7fd 58%, #f3eaf8 100%);
}

.trust-grid {
  gap: 16px;
}

.trust-grid div {
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(99, 41, 154, .15);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(39, 0, 89, .07);
  padding: 25px;
}

.trust-grid strong {
  background: linear-gradient(135deg, var(--purple-950), var(--pak-violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq {
  background: #fff;
}

.faq details {
  background: #fff;
  border: 1px solid rgba(99, 41, 154, .14);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(39, 0, 89, .05);
  margin-bottom: 14px;
  padding: 20px 22px;
}

.faq details[open] {
  background: var(--pak-lilac);
  padding-left: 22px;
  padding-right: 22px;
}

.contact {
  background:
    linear-gradient(135deg, rgba(39, 0, 89, .97), rgba(74, 18, 128, .94)),
    var(--purple-950);
  overflow: hidden;
  position: relative;
}

.contact::before {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 36% 64% 43% 57% / 56% 38% 62% 44%;
  content: '';
  height: 520px;
  left: -290px;
  position: absolute;
  top: -250px;
  transform: rotate(18deg);
  width: 520px;
}

.contact-grid {
  align-items: center;
  position: relative;
}

.contact form {
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 22px 6px 22px 6px;
  box-shadow: var(--pak-shadow);
}

.contact input,
.contact textarea {
  border-radius: 8px;
}

footer {
  background:
    radial-gradient(circle at 15% 40%, rgba(139, 91, 184, .22), transparent 22rem),
    #1e003f;
}

.inner-hero {
  background:
    radial-gradient(circle at 80% 10%, rgba(185, 149, 212, .26), transparent 23rem),
    linear-gradient(135deg, #250052, #4a1280);
}

.inner-hero-grid img {
  border-radius: 24px;
  box-shadow: var(--pak-shadow);
  transform: none;
}

.content-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 95% 20%, rgba(139, 91, 184, .08), transparent 18rem),
    #fff;
}

.page-service {
  border: 1px solid rgba(99, 41, 154, .13);
  box-shadow: 0 12px 34px rgba(39, 0, 89, .08);
}

.cta-band {
  background:
    linear-gradient(115deg, #250052, #63299a);
  overflow: hidden;
  position: relative;
}

.cta-band::after {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  content: '';
  height: 260px;
  position: absolute;
  right: -80px;
  top: -130px;
  width: 260px;
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-visual {
    clip-path: none;
  }

  .hero-visual::after {
    background: linear-gradient(180deg, rgba(39, 0, 89, .25), transparent 36%);
  }

  .hero-content::before {
    font-size: 10rem;
  }

  .service-grid article:nth-child(2n),
  .service-grid article:nth-child(2n):hover {
    transform: none;
  }
}

.responder-showcase {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: radial-gradient(circle at 90% 10%, rgba(232, 177, 48, .18), transparent 30%), linear-gradient(135deg, #210047, #360074 58%, #210047);
}

.responder-showcase h2 {
  color: #fff;
}

.responder-showcase .section-head > p {
  color: rgba(255, 255, 255, .8);
}

.footer-flag {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flag-feature {
  position: relative;
  height: clamp(260px, 34vw, 430px);
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(10, 0, 28, .34);
}

.flag-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 0, 58, .88), rgba(24, 0, 58, .2) 62%, transparent);
}

.flag-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flag-feature figcaption {
  position: absolute;
  z-index: 1;
  left: clamp(22px, 5vw, 58px);
  bottom: clamp(22px, 5vw, 52px);
  max-width: 520px;
  color: #fff;
}

.flag-feature figcaption span {
  display: block;
  margin-bottom: 8px;
  color: #f1ca6b;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.flag-feature figcaption strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1.12;
}

footer .footer-flag {
  margin-top: 16px;
  color: rgba(255, 255, 255, .9);
  font-size: .9rem;
  font-weight: 700;
}

footer .footer-flag img {
  width: 56px;
  height: 38px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 5px;
  box-shadow: 0 5px 14px rgba(10, 0, 28, .24);
}

.responder-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.responder-card {
  position: relative;
  min-height: 380px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: #1e003f;
  box-shadow: 0 20px 45px rgba(10, 0, 28, .28);
}

.responder-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform .6s ease;
}

.responder-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(19, 0, 44, .92));
}

.responder-card:hover img {
  transform: scale(1.04);
}

.responder-card figcaption {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 26px;
  color: #fff;
}

.responder-card figcaption span {
  display: block;
  margin-bottom: 6px;
  color: #f1ca6b;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.responder-card figcaption strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.15;
}

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

  .responder-card,
  .responder-card img {
    min-height: 300px;
  }
}

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

  .hero-content::before {
    font-size: 7rem;
    top: -18px;
  }

  .intro .split > div:first-child {
    border-left-width: 4px;
    padding-left: 18px;
  }

  .trust {
    background: #fff;
  }
}
