/* ==========================================================================
   Khan Creative Studio - Public Website - Base styles
   Brand: deep purple (#4B2290 family) + mint (#6FDCB7) from the official logo.
   ========================================================================== */

:root {
  --purple-950: #1a0a2e;
  --purple-900: #2a1250;
  --purple-800: #3a1a6b;
  --purple-700: #4b2290;
  --purple-600: #5f32b3;
  --purple-500: #7b4fd1;
  --purple-200: #d9ccf5;
  --purple-100: #efe9fb;
  --purple-50: #f8f5fe;

  --mint-500: #6fdcb7;
  --mint-600: #3fc69a;
  --mint-700: #1fa984;
  --mint-100: #e4faf3;

  --ink: #17121f;
  --text: #4a4458;
  --muted: #7a7489;
  --line: #e7e3ef;
  --bg: #fbfaff;
  --white: #ffffff;
  --danger: #d6336c;
  --warning: #e8a317;
  --success: #1fa984;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(26, 10, 46, 0.06);
  --shadow: 0 12px 32px rgba(26, 10, 46, 0.09);
  --shadow-lg: 0 30px 70px rgba(42, 18, 80, 0.18);
  --gradient-brand: linear-gradient(135deg, var(--purple-700) 0%, var(--purple-500) 55%, var(--mint-600) 130%);
  --gradient-soft: linear-gradient(180deg, #ffffff 0%, var(--purple-50) 100%);

  --font-display: "Sora", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

img {
  font-style: italic;
}

a {
  color: var(--purple-700);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--purple-500);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.9rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

ul {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--mint-500);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--purple-200);
  color: var(--ink);
}

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

.section-alt {
  background: var(--gradient-soft);
}

.section-dark {
  background: radial-gradient(1200px 500px at 90% -10%, rgba(111, 220, 183, 0.18), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(123, 79, 209, 0.35), transparent 60%),
    var(--purple-900);
  color: rgba(255, 255, 255, 0.82);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 64px);
}

.section-head p {
  font-size: 1.05rem;
  color: var(--muted);
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint-700);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
}

.section-dark .eyebrow {
  color: var(--mint-500);
}

.text-gradient {
  background: linear-gradient(120deg, var(--purple-600), var(--mint-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--text);
}

.muted {
  color: var(--muted);
}

.center {
  text-align: center;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), height 0.3s var(--ease);
  background: transparent;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(26, 10, 46, 0.06);
}

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  min-width: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand img {
  height: 52px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.1;
  color: var(--purple-900);
}

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

.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  border-radius: 999px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--purple-700);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--white);
  color: var(--purple-900);
  box-shadow: var(--shadow-sm);
  font-size: 1.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-drawer-head,
.nav-drawer-foot {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-h) + 56px) 0 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(900px 560px at 85% 10%, rgba(111, 220, 183, 0.28), transparent 60%),
    radial-gradient(800px 600px at 0% 0%, rgba(123, 79, 209, 0.18), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--purple-50) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.hero-title {
  margin-bottom: 22px;
}

.hero-desc {
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  color: var(--text);
  max-width: 580px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 36px;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badges i {
  color: var(--mint-700);
}

/* Creative workspace visual (pure CSS composition) */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  width: 100%;
  justify-self: end;
}

.visual-canvas {
  position: absolute;
  inset: 8% 6% 14% 6%;
  border-radius: 28px;
  background: linear-gradient(160deg, #ffffff 0%, #f3eefe 100%);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(123, 79, 209, 0.12);
  overflow: hidden;
}

.visual-topbar {
  display: flex;
  gap: 7px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.visual-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--purple-200);
}

.visual-topbar span:nth-child(2) {
  background: var(--mint-500);
}

.visual-body {
  padding: 22px;
  display: grid;
  gap: 16px;
}

.visual-art {
  height: 170px;
  border-radius: 18px;
  background: var(--gradient-brand);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.visual-art i {
  font-size: 4.4rem;
  color: rgba(255, 255, 255, 0.92);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.18));
}

.visual-art::before,
.visual-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.visual-art::before {
  width: 240px;
  height: 240px;
  top: -90px;
  right: -60px;
}

.visual-art::after {
  width: 130px;
  height: 130px;
  bottom: -40px;
  left: 20px;
}

.visual-lines {
  display: grid;
  gap: 10px;
}

.visual-lines span {
  height: 10px;
  border-radius: 10px;
  background: var(--purple-100);
}

.visual-lines span:nth-child(2) {
  width: 72%;
  background: var(--mint-100);
}

.visual-lines span:nth-child(3) {
  width: 46%;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink);
  white-space: nowrap;
  z-index: 2;
}

.float-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.float-card small {
  color: var(--muted);
}

.float-card .icon-pill {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mint-100);
  color: var(--mint-700);
  font-size: 1rem;
}

.float-card.card-a {
  top: 2%;
  left: -4%;
}

.float-card.card-b {
  bottom: 4%;
  right: -2%;
}

.float-card.card-c {
  top: 46%;
  right: -8%;
}

.float-card .icon-pill.purple {
  background: var(--purple-100);
  color: var(--purple-700);
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid rgba(74, 68, 88, 0.35);
  border-radius: 20px;
  display: none;
}

.scroll-cue::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--purple-700);
  animation: cue 1.8s var(--ease) infinite;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 clamp(56px, 7vw, 88px);
  background:
    radial-gradient(800px 420px at 90% 0%, rgba(111, 220, 183, 0.25), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, var(--purple-50) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: var(--text);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--purple-700);
}

/* ---------- Feature / value blocks ---------- */
.feature-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(123, 79, 209, 0.25);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  margin-bottom: 20px;
  background: var(--gradient-brand);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(75, 34, 144, 0.25);
}

.feature-icon.mint {
  background: linear-gradient(135deg, var(--mint-500), var(--mint-700));
  box-shadow: 0 10px 24px rgba(31, 169, 132, 0.25);
}

.feature-card h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.97rem;
}

/* ---------- About split ---------- */
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  background: var(--gradient-brand);
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
  color: var(--white);
}

.about-visual .big-mark {
  font-family: var(--font-display);
  font-size: clamp(6rem, 14vw, 10rem);
  font-weight: 700;
  line-height: 1;
  opacity: 0.95;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.about-visual .mark-caption {
  position: absolute;
  bottom: 26px;
  left: 26px;
  right: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-visual .mark-caption span {
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  backdrop-filter: blur(6px);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list i {
  margin-top: 5px;
  color: var(--mint-700);
  flex-shrink: 0;
}

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  counter-reset: step;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-200), var(--mint-500), var(--purple-200));
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 6px;
}

.step-num {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 2px solid var(--purple-200);
  color: var(--purple-700);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.process-step:nth-child(even) .step-num {
  border-color: var(--mint-500);
  color: var(--mint-700);
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  background: var(--gradient-brand);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  top: -180px;
  right: -120px;
}

.cta-band h2 {
  color: var(--white);
  position: relative;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.08rem;
  position: relative;
}

.cta-band .btn {
  position: relative;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 80px 0 0;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 56px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--mint-500);
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-brand img {
  height: 60px;
  width: auto;
  background: var(--white);
  border-radius: 14px;
  padding: 6px 10px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.66);
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  word-break: break-word;
}

.footer-contact i {
  color: var(--mint-500);
  margin-top: 6px;
  width: 16px;
  flex-shrink: 0;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.socials a:hover {
  background: var(--mint-500);
  color: var(--purple-950);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.56);
}

.footer-bottom a {
  color: var(--mint-500);
}

/* ---------- Misc ---------- */
.notice-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--purple-50);
  border: 1px solid var(--purple-200);
  color: var(--purple-900);
  font-size: 0.95rem;
}

.notice-box i {
  margin-top: 4px;
  color: var(--purple-700);
}

.map-frame {
  width: 100%;
  height: 340px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
