/* =====================================================================
   Dream Punjab
   ===================================================================== */

:root {
  /* Bright, warm neutrals; kesri is the one accent */
  --bg: #FBFAF7;
  --bg-alt: #F3F0EA;
  --surface: #FFFFFF;
  --ink: #121212;
  --muted: #5E5B57;
  --faint: #8C8883;
  --line: rgba(18, 18, 18, .09);
  --line-2: rgba(18, 18, 18, .16);
  --kesri: #FF5A1F;
  --kesri-hi: #FF6E3A;
  --kesri-soft: #FFF0E8;
  --go: #16A34A;
  --grad: linear-gradient(100deg, #FF5A1F 0%, #F2871C 100%);

  /* Dark sections (contact, footer) */
  --night: #0F0F11;
  --night-2: #18181B;
  --on-night: #F4F1EA;
  --on-night-dim: rgba(244, 241, 234, .64);
  --on-night-faint: rgba(244, 241, 234, .42);
  --night-line: rgba(244, 241, 234, .1);
  --night-line-2: rgba(244, 241, 234, .18);

  --f-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --f-pa: "Noto Sans Gurmukhi", "Geist", sans-serif;

  --gutter: clamp(18px, 3.4vw, 52px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(18, 18, 18, .04), 0 12px 32px -12px rgba(18, 18, 18, .12);

  /* Cusped jharokha arch, stretched to any box */
  --arch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 L0,28 C0,24.6 5.84,22.6 9.74,20.6 C5.84,18 11.36,14.9 19.16,14 C17.2,10.7 24.68,8.1 33.1,8.1 C33.77,4.84 42.53,2.1 50,0 C57.47,2.1 66.23,4.84 66.9,8.1 C75.32,8.1 82.8,10.7 80.84,14 C88.64,14.9 94.16,18 90.26,20.6 C94.16,22.6 100,24.6 100,28 L100,100Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
[lang="pa"] { font-family: var(--f-pa); }
[hidden] { display: none !important; }
::selection { background: var(--kesri); color: #fff; }
:focus-visible { outline: 2px solid var(--kesri); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.alt { background: var(--bg-alt); }
.dark { background: var(--night); color: var(--on-night); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--kesri); }
.eyebrow:has(.live)::before { display: none; }
.dark .eyebrow { color: var(--on-night-dim); }

.live { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--kesri); }
.live::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(3); opacity: 0; } }

/* Headlines: Geist with calm tracking; serif italic for one accent word */
.h-xl, .h-xxl, .hero-title, .g-cap h2 { font-weight: 500; letter-spacing: -.035em; word-spacing: .03em; text-wrap: balance; }
.h-xl { font-size: clamp(2.5rem, 5.2vw, 5.2rem); line-height: 1.04; }
.h-xxl { font-size: clamp(2.8rem, 6.4vw, 6.6rem); line-height: 1.02; }
.h-xl em, .h-xxl em, .hero-title em, .g-cap h2 em { font-size: 1.1em; line-height: 0; padding-right: .04em; }
.hero-title em, .contact .h-xxl em {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- Buttons: calm colour changes only ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  height: 50px; padding: 0 1.45em;
  border-radius: 999px; border: 1px solid transparent;
  font-size: .95rem; font-weight: 500; white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn i { font-style: normal; display: inline-block; transition: transform .3s ease; }
.btn:hover i { transform: translateX(3px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2A2A2A; }
.btn-line { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn-line:hover { border-color: var(--ink); }
.btn-kesri { background: var(--kesri); color: #fff; }
.btn-kesri:hover { background: var(--kesri-hi); }
.btn-line-light { border-color: var(--night-line-2); color: var(--on-night); }
.btn-line-light:hover { border-color: var(--on-night); }
.btn-block { display: flex; width: 100%; }

/* ---------- Loader ---------- */
.loader { display: none; }
.is-motion .loader { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--bg); }
.loader-word { font-size: clamp(3.4rem, 12vw, 9rem); line-height: 1; color: var(--ink); }
.loader-meta { position: absolute; left: var(--gutter); bottom: var(--gutter); font-size: .74rem; letter-spacing: .12em; color: var(--faint); }
.loader-count { position: absolute; right: var(--gutter); bottom: calc(var(--gutter) - .1em); font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 300; line-height: .8; letter-spacing: -.04em; font-variant-numeric: tabular-nums; color: var(--faint); }

/* =====================================================================
   NAV: floating pill
   ===================================================================== */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 80;
  display: flex; flex-direction: column; align-items: center;
  padding-inline: var(--gutter);
  pointer-events: none;
  transition: transform .6s var(--ease);
}
.nav.is-hidden:not(.is-open) { transform: translateY(-150%); }
.nav-bar {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; gap: 4px;
  padding: 6px 6px 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.brand { display: inline-flex; align-items: center; gap: 9px; margin-right: 16px; font-size: 1.02rem; line-height: 1; }
.brand em { font-size: 1.18em; margin-right: .04em; }
.brand > span { font-weight: 600; letter-spacing: -.02em; }
.brand-mark { width: 26px; height: 26px; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.brand-dot { fill: var(--kesri); stroke: none; }

.nav-links { position: relative; display: flex; }
.nav-links a { position: relative; z-index: 1; padding: 9px 15px; border-radius: 999px; font-size: .9rem; color: var(--muted); transition: color .25s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-pill {
  position: absolute; left: 0; top: 0; height: 100%; width: 0;
  border-radius: 999px; background: rgba(18, 18, 18, .06);
  opacity: 0;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .25s;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 9px;
  margin-left: 10px; height: 40px; padding: 0 17px 0 15px;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-size: .9rem; font-weight: 500;
  transition: background-color .25s;
}
.nav-cta:hover { background: #2A2A2A; }
.nav-status { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #22C55E; flex: none; }
.nav-status::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.4s var(--ease) infinite; }
.nav-progress { position: absolute; left: 24px; right: 24px; bottom: 0; height: 1.5px; pointer-events: none; }
.nav-progress i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }

.nav-menu { display: none; position: relative; width: 40px; height: 40px; margin-left: auto; border: 0; border-radius: 50%; background: var(--ink); cursor: pointer; }
.nav-menu i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: #fff; transition: transform .45s var(--ease); }
.nav-menu i:first-child { transform: translateY(-3.5px); }
.nav-menu i:last-child { transform: translateY(3.5px); }
.nav.is-open .nav-menu i:first-child { transform: rotate(45deg); }
.nav.is-open .nav-menu i:last-child { transform: rotate(-45deg); }

.nav-sheet { display: none; }

@media (max-width: 899px) {
  .nav { top: 10px; }
  .nav-bar { width: 100%; padding-left: 14px; }
  .nav-links, .nav-cta { display: none; }
  .nav-menu { display: block; }
  .nav-sheet {
    display: block; pointer-events: none;
    width: 100%; margin-top: 8px;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .35s ease, transform .45s var(--ease), visibility 0s .45s;
  }
  .nav.is-open .nav-sheet { pointer-events: auto; opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .45s var(--ease); }
  .nav-sheet-in { padding: 8px 18px 18px; border-radius: 24px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-sheet nav { display: grid; margin-bottom: 18px; }
  .nav-sheet nav a { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.6rem; font-weight: 500; letter-spacing: -.025em; }
  .nav-sheet nav a small { font-size: .72rem; letter-spacing: .08em; color: var(--faint); font-weight: 400; }
  .nav-sheet-foot { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: .82rem; color: var(--muted); }
}

/* =====================================================================
   HERO: the globe
   ===================================================================== */
.globe { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; background: radial-gradient(55% 60% at 68% 50%, #FFF4EC 0%, var(--bg) 70%); }
.globe-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.globe-ui { position: absolute; inset: 0; pointer-events: none; }
.g-caps {
  position: absolute; left: var(--gutter); top: 0; bottom: 0;
  width: min(620px, 44vw);
  display: grid; align-content: center;
}
.g-cap { grid-area: 1 / 1; }
.g-cap h2 { margin-top: 18px; font-size: clamp(2.3rem, 4.2vw, 4.2rem); line-height: 1.04; }
.g-cap > p:last-child { margin-top: 18px; color: var(--muted); max-width: 26rem; font-size: 1.05rem; }
.is-motion .g-cap:not(:first-child) { opacity: 0; visibility: hidden; }

.hero-title { margin-top: 22px; font-size: clamp(2.9rem, 5vw, 5.4rem); line-height: 1.02; letter-spacing: -.04em; }
.line { display: block; overflow: hidden; padding-block: .04em .1em; margin-block: -.04em -.1em; }
.line > span { display: inline-block; }
.hero-sub { margin-top: 24px; max-width: 28rem; font-size: clamp(1.02rem, 1.2vw, 1.14rem); color: var(--muted); }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 10px; pointer-events: auto; }

.g-hud { position: absolute; right: var(--gutter); bottom: var(--gutter); display: flex; align-items: flex-end; gap: 12px; }
.g-hud-num { font-size: clamp(2.8rem, 4.6vw, 4.4rem); font-weight: 300; line-height: .8; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.g-hud-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.scroll-hint i { position: relative; width: 1px; height: 36px; background: var(--line-2); overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 14px; background: var(--kesri); animation: drip 1.8s var(--ease) infinite; }
@keyframes drip { from { transform: translateY(-14px); } to { transform: translateY(36px); } }

.is-static .globe { height: auto; min-height: 100svh; display: flex; flex-direction: column; }
.is-static .globe-canvas { position: relative; height: 70svh; order: 2; }
.is-static .globe-ui { position: relative; padding: 120px var(--gutter) 40px; }
.is-static .g-caps { position: relative; left: auto; width: auto; display: grid; gap: 48px; }
.is-static .g-cap { grid-area: auto; }
.is-static .g-hud, .is-static .scroll-hint { display: none; }

@media (max-width: 899px) {
  .globe { background: radial-gradient(90% 45% at 50% 32%, #FFF4EC 0%, var(--bg) 75%); }
  .g-caps { top: auto; bottom: 26px; right: var(--gutter); width: auto; align-content: end; }
  .g-cap { align-self: end; }
  .hero-title { font-size: clamp(2.5rem, 11vw, 4.2rem); margin-top: 14px; }
  .hero-sub { margin-top: 14px; font-size: .98rem; }
  .hero-ctas { margin-top: 20px; }
  .hero-ctas .btn { height: 48px; padding: 0 1.2em; font-size: .92rem; }
  .g-cap h2 { font-size: clamp(2rem, 9vw, 2.9rem); margin-top: 12px; }
  .g-cap > p:last-child { margin-top: 10px; font-size: .97rem; }
  .g-hud { top: 82px; bottom: auto; }
  .g-hud-num { font-size: 2.3rem; }
  .scroll-hint { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; align-items: center; animation: marquee 55s linear infinite; }
.marquee-track span, .marquee-track i { padding-inline: 24px; }
.marquee-track i { font-style: normal; color: var(--kesri); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =====================================================================
   PLACEHOLDER PHOTOS: real photos go in /assets with these names
   ===================================================================== */
.ph { background-size: cover; background-position: center; background-repeat: no-repeat; }
.ph-hero { background-image: url(../assets/hero.jpg), radial-gradient(120% 70% at 50% 92%, #FFC46B 0%, #F5913E 28%, #D9632C 55%, #9C3B1C 85%, #6E2714 100%); }
.ph-svc1 { background-image: url(../assets/svc-websites.jpg), linear-gradient(140deg, #FFE3D2, #FFB48C 60%, #FF8A55); }
.ph-svc2 { background-image: url(../assets/svc-apps.jpg), linear-gradient(140deg, #FFF1D1, #F6CF7A 60%, #E8A93A); }
.ph-svc3 { background-image: url(../assets/svc-commerce.jpg), linear-gradient(140deg, #F6E6DC, #E2BBA4 60%, #C98E70); }
.ph-svc4 { background-image: url(../assets/svc-network.jpg), linear-gradient(140deg, #E4ECF4, #B7CADD 60%, #8AA5C1); }
.ph-svc5 { background-image: url(../assets/svc-ai.jpg), linear-gradient(140deg, #F1E6FA, #D6C1F0 55%, #FFB48C); }
.ph-for1 { background-image: url(../assets/for-founders.jpg), linear-gradient(160deg, #E9E7E4, #C9C5BF 70%); }
.ph-for2 { background-image: url(../assets/for-punjab.jpg), linear-gradient(160deg, #FBE3A6, #EDB55A 60%, #D98B30); }
.ph-for3 { background-image: url(../assets/for-diaspora.jpg), linear-gradient(160deg, #DDE6F0, #A9BDD3 70%); }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.sec-head { margin-bottom: clamp(44px, 5.5vw, 80px); }
.sec-head .h-xl { margin-top: 20px; }
.sec-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; }
.sec-lead { max-width: 27rem; color: var(--muted); font-size: 1.08rem; }

.is-motion .fade-up { opacity: 0; transform: translateY(40px); }

/* ---------- Manifesto ---------- */
.manifesto { padding-block: clamp(100px, 13vw, 180px); }
.manifesto-grid { display: grid; grid-template-columns: 1fr minmax(240px, 30%); gap: clamp(40px, 6vw, 110px); align-items: end; }
.manifesto-text { margin-top: 28px; font-size: clamp(1.9rem, 3.7vw, 3.9rem); font-weight: 400; line-height: 1.16; letter-spacing: -.03em; word-spacing: .03em; text-wrap: pretty; }
.reveal-words .w { display: inline-block; }
.is-motion .reveal-words .w { opacity: .16; }
.principles { margin-top: clamp(56px, 7vw, 100px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principle { padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; gap: 16px; font-size: 1.02rem; }
.principle span { color: var(--faint); font-variant-numeric: tabular-nums; }
.jharokha { position: relative; aspect-ratio: .74; overflow: hidden; -webkit-mask: var(--arch) center / 100% 100% no-repeat; mask: var(--arch) center / 100% 100% no-repeat; }
.jharokha-img { position: absolute; inset: -10% 0; }
@media (max-width: 899px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .jharokha { width: min(70%, 320px); justify-self: center; }
  .principles { grid-template-columns: 1fr; gap: 0; }
  .principle { padding-block: 18px; }
}

/* ---------- Dream Builder ---------- */
.build { padding-block: clamp(100px, 12vw, 170px); }
.builder { display: grid; grid-template-columns: minmax(300px, 400px) minmax(0, 1fr); gap: clamp(16px, 2vw, 28px); align-items: start; }

.b-panel { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.b-field { display: block; margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.b-label { display: block; padding: 0; margin-bottom: 10px; font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.b-field input[type="text"] {
  width: 100%; height: 50px; padding: 0 16px;
  background: var(--bg); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 12px;
  font: inherit; font-size: 1.02rem;
  transition: border-color .25s, box-shadow .25s;
}
.b-field input[type="text"]::placeholder { color: var(--faint); }
.b-field input[type="text"]:focus { outline: none; border-color: var(--kesri); box-shadow: 0 0 0 4px rgba(255, 90, 31, .14); }

.b-chips, .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.b-chips label, .chips label, .b-styles label { position: relative; cursor: pointer; }
.b-chips input, .chips input, .b-styles input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.b-chips span {
  display: inline-flex; align-items: center;
  padding: .45em .95em; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted); background: var(--surface);
  font-size: .88rem; user-select: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.b-chips label:hover span { border-color: rgba(18, 18, 18, .35); color: var(--ink); }
.b-chips input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.b-chips input:focus-visible + span, .chips input:focus-visible + span, .b-styles input:focus-visible + span { outline: 2px solid var(--kesri); outline-offset: 2px; }

.b-styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.b-styles span { display: flex; flex-direction: column; gap: 9px; padding: 8px 8px 10px; border-radius: 12px; border: 1px solid var(--line-2); font-size: .85rem; color: var(--muted); transition: border-color .2s, color .2s, box-shadow .2s; }
.b-styles label:hover span { border-color: rgba(18, 18, 18, .35); color: var(--ink); }
.b-styles input:checked + span { border-color: var(--ink); color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.sw { display: block; height: 30px; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(18, 18, 18, .08); }
.sw-minimal { background: linear-gradient(90deg, #fff 0 62%, #121212 62%); }
.sw-bold { background: linear-gradient(90deg, #121214 0 62%, #FF5A1F 62%); }
.sw-heritage { background: linear-gradient(90deg, #F4EBDD 0 62%, #7A1F1F 62% 82%, #1F4D3A 82%); }

.b-go { margin-top: 4px; }
.b-go.is-busy { pointer-events: none; opacity: .7; }
.b-note { margin-top: 12px; text-align: center; font-size: .8rem; color: var(--faint); }

.b-stage { min-width: 0; }
.b-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; margin-bottom: 12px; }
.b-log { list-style: none; margin: 0; padding: 0; min-width: 0; font-family: var(--f-mono); font-size: .8rem; color: var(--muted); }
.b-log li { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: logIn .4s var(--ease); }
.b-log b { font-weight: 400; color: var(--faint); }
.b-log .ok { color: var(--go); }
@keyframes logIn { from { opacity: 0; transform: translateY(5px); } }
.b-spin { width: 12px; height: 12px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-2); border-top-color: var(--kesri); animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.b-device { display: inline-flex; flex: none; padding: 3px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.b-device button { border: 0; background: none; padding: 6px 13px; border-radius: 999px; font-size: .8rem; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.b-device button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.b-frame {
  margin-inline: auto; max-width: 100%;
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: 0 2px 4px rgba(18, 18, 18, .04), 0 40px 80px -40px rgba(18, 18, 18, .28);
  transition: max-width .7s var(--ease);
}
.b-frame[data-device="mobile"] { max-width: 360px; }
.b-chrome { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 14px; background: #F2F0EC; border-bottom: 1px solid var(--line); }
.b-dots { display: flex; gap: 6px; flex: none; }
.b-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(18, 18, 18, .14); }
.b-url { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; max-width: 320px; height: 24px; margin-inline: auto; padding: 0 10px; border-radius: 7px; background: var(--surface); font-family: var(--f-mono); font-size: .74rem; color: var(--muted); overflow: hidden; white-space: nowrap; }
.b-url svg { width: 10px; height: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.2; }
.b-frame[data-device="mobile"] .b-dots { display: none; }

/* The generated mini site */
.pv {
  --pv-bg: #FFFFFF; --pv-fg: #111113; --pv-muted: #6B6B70; --pv-accent: #111113; --pv-accent-fg: #fff;
  --pv-card: #F4F4F5; --pv-line: #E7E7EA; --pv-h: var(--f-sans); --pv-hw: 600; --pv-r: 999px; --pv-kicker: #6B6B70;
  position: relative; overflow: hidden;
  container-type: inline-size;
  min-height: 470px;
  padding: 18px 26px 26px;
  background: var(--pv-bg); color: var(--pv-fg);
  transition: background-color .6s, color .6s;
}
.pv-bold { --pv-bg: #111113; --pv-fg: #F5F2EC; --pv-muted: rgba(245, 242, 236, .62); --pv-accent: #FF5A1F; --pv-accent-fg: #fff; --pv-card: #1C1C1F; --pv-line: rgba(255, 255, 255, .1); --pv-kicker: #FF7A45; }
.pv-heritage { --pv-bg: #F4EBDD; --pv-fg: #2A1712; --pv-muted: rgba(42, 23, 18, .66); --pv-accent: #7A1F1F; --pv-accent-fg: #F4EBDD; --pv-card: #EADCC8; --pv-line: rgba(42, 23, 18, .13); --pv-h: var(--f-serif); --pv-hw: 400; --pv-r: 6px; --pv-kicker: #1F4D3A; }

.pv-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; }
.pv-logo { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 600; }
.pv-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-mark { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--pv-accent); color: var(--pv-accent-fg); font-size: 12px; transition: background-color .6s, color .6s; }
.pv-links { display: flex; gap: 14px; }
.pv-links i { width: 34px; height: 6px; border-radius: 3px; background: var(--pv-line); }
.pv-btn { display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: var(--pv-r); background: var(--pv-accent); color: var(--pv-accent-fg); font-size: 12px; font-weight: 500; white-space: nowrap; transition: background-color .6s, color .6s; }
.pv-btn-sm { height: 28px; padding: 0 12px; font-size: 11px; }
.pv-btn-ghost { background: transparent; color: var(--pv-fg); box-shadow: inset 0 0 0 1px var(--pv-line); }
.pv-hero { padding: 52px 0 30px; max-width: 36em; }
.pv-kicker { min-height: 1.4em; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--pv-kicker); }
.pv-h { margin-top: 12px; min-height: 2.16em; font-family: var(--pv-h); font-weight: var(--pv-hw); font-size: clamp(26px, 5.8cqi, 48px); line-height: 1.08; letter-spacing: -.03em; word-spacing: .02em; }
.pv-heritage .pv-h { letter-spacing: 0; font-size: clamp(28px, 6.4cqi, 54px); }
.pv-caret { display: none; width: 2px; height: .85em; margin-left: 3px; vertical-align: -.06em; background: var(--kesri); animation: blink 1s steps(1) infinite; }
.pv.is-typing .pv-caret { display: inline-block; }
@keyframes blink { 50% { opacity: 0; } }
.pv-sub { margin-top: 14px; min-height: 3em; max-width: 30em; font-size: 14px; line-height: 1.55; color: var(--pv-muted); }
.pv-ctas { margin-top: 20px; display: flex; gap: 8px; }
.pv-stats { display: flex; gap: 32px; padding: 16px 0; border-top: 1px solid var(--pv-line); }
.pv-stats b { display: block; font-family: var(--pv-h); font-weight: var(--pv-hw); font-size: 22px; letter-spacing: -.02em; }
.pv-stats span { font-size: 11px; color: var(--pv-muted); }
.pv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 6px; }
.pv-cards > div { padding: 14px; border-radius: 12px; background: var(--pv-card); transition: background-color .6s; }
.pv-cards i { display: block; width: 22px; height: 22px; margin-bottom: 18px; border-radius: 7px; background: var(--pv-accent); transition: background-color .6s; }
.pv-cards b { display: block; font-size: 13px; font-weight: 600; }
.pv-cards span { display: block; margin-top: 8px; height: 6px; width: 78%; border-radius: 3px; background: var(--pv-line); }
.pv-cards span::after { content: ""; display: block; width: 60%; height: 6px; margin-top: 12px; border-radius: 3px; background: inherit; }
@container (max-width: 480px) {
  .pv-links { display: none; }
  .pv-hero { padding-top: 38px; }
  .pv-cards { grid-template-columns: 1fr; }
  .pv-cards > div { display: grid; grid-template-columns: 22px 1fr; column-gap: 12px; align-items: center; }
  .pv-cards i { margin: 0; grid-row: span 2; }
  .pv-cards span::after { display: none; }
}

.pv .pv-hide { opacity: 0; transform: translateY(10px); }
.pv-kicker, .pv-sub, .pv-ctas, .pv-stats, .pv-cards > div { transition: opacity .5s var(--ease), transform .6s var(--ease), background-color .6s; }
.pv-empty { position: absolute; inset: 38px 0 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--pv-muted); font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .4s; }
.pv-empty span { color: var(--kesri); font-size: 1.4rem; }
.pv.is-empty .pv-empty { opacity: 1; }
.pv.is-empty .pv-hero, .pv.is-empty .pv-stats, .pv.is-empty .pv-cards { opacity: 0; }
.pv::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 90, 31, .1) 50%, transparent) no-repeat;
  background-size: 100% 160px; background-position: 0 -160px;
  opacity: 0; transition: opacity .4s;
}
.pv.is-generating::after { opacity: 1; animation: scan 1.6s linear infinite; }
@keyframes scan { to { background-position: 0 calc(100% + 160px); } }

.b-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .5s var(--ease), transform .6s var(--ease); }
.b-result.is-on { opacity: 1; transform: none; pointer-events: auto; }
.b-scores { display: flex; flex-wrap: wrap; gap: 8px; }
.b-scores span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: .8rem; color: var(--muted); }
.b-scores b { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: #E8F7EE; color: var(--go); font-size: .74rem; font-weight: 600; }
.b-scores span:last-child b { background: var(--kesri-soft); color: var(--kesri); }
.b-real { height: 48px; }

@media (max-width: 1023px) { .builder { grid-template-columns: 1fr; } }
@media (max-width: 520px) {
  .b-panel { padding: 18px; }
  .b-device { display: none; }
  .pv { min-height: 420px; padding: 14px 18px 20px; }
  .b-real { width: 100%; }
}

/* ---------- Services ---------- */
.services { padding-block: clamp(100px, 12vw, 170px); border-top: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.svc-card { grid-column: span 2; display: flex; flex-direction: column; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .4s ease, border-color .4s ease; }
.svc-card.svc-lg { grid-column: span 3; }
.svc-card:hover { box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.svc-lg .svc-media { aspect-ratio: 16 / 9; }
.svc-media .ph { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.svc-card:hover .svc-media .ph { transform: scale(1.03); }
.svc-body { padding: 22px 24px 26px; }
.svc-num { font-size: .78rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.svc-body h3 { margin-top: 8px; font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.svc-lg .svc-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.svc-body h3 sup { position: relative; top: -.3em; margin-left: .3em; padding: .3em .65em; border-radius: 999px; background: var(--kesri-soft); color: var(--kesri); font-size: .78rem; font-weight: 500; letter-spacing: 0; vertical-align: top; }
.svc-body p { margin-top: 8px; color: var(--muted); max-width: 30rem; }
@media (max-width: 899px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card, .svc-card.svc-lg { grid-column: auto; }
}

/* ---------- Who it's for ---------- */
.for { padding-block: clamp(100px, 12vw, 170px); }
.for-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.for-card h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); font-weight: 500; letter-spacing: -.025em; line-height: 1.15; }
.for-card > p:last-child { margin-top: 10px; color: var(--muted); max-width: 22rem; }
.for-num { margin: 22px 0 6px; font-family: var(--f-serif); font-style: italic; font-size: 1.35rem; color: var(--kesri); }
.for-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: var(--bg); }
.for-media .ph { position: absolute; inset: -8% 0; }
.for-tag { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ink); font-size: .76rem; }
.for-card:nth-child(2) { margin-top: clamp(0px, 7vw, 100px); }
@media (max-width: 899px) {
  .for-grid { grid-template-columns: 1fr; gap: 56px; }
  .for-card:nth-child(2) { margin-top: 0; }
}

/* ---------- Process ---------- */
.process { padding-top: clamp(100px, 12vw, 170px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.step { display: flex; flex-direction: column; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.step-bar { display: block; height: 2px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.step-bar i { position: absolute; inset: 0; background: var(--grad); transform-origin: left; }
.is-motion .step-bar i { transform: scaleX(0); }
.step-num { display: block; margin: 26px 0 36px; font-family: var(--f-serif); font-style: italic; font-size: clamp(2.8rem, 4vw, 3.8rem); line-height: 1; color: var(--ink); }
.step h3 { font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; }
.step p { margin-top: 8px; color: var(--muted); }
.step-time { align-self: flex-start; margin-top: 24px; padding: 5px 11px; border-radius: 999px; background: var(--bg-alt); font-size: .76rem; color: var(--muted); }
@media (max-width: 1023px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step-num { margin: 20px 0 22px; } }

.city-marquee { margin-top: clamp(100px, 12vw, 170px); padding-block: clamp(20px, 3vw, 36px); border-block: 1px solid var(--line); }
.city-marquee .marquee-track { font-size: clamp(2.8rem, 7vw, 7rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.city-marquee span { color: transparent; -webkit-text-stroke: 1px rgba(18, 18, 18, .3); }
.city-marquee i { font-size: .4em; }

/* ---------- Contact (dark) ---------- */
.contact { position: relative; padding-block: clamp(100px, 12vw, 170px); background: radial-gradient(55% 60% at 0% 100%, rgba(255, 90, 31, .2), transparent 70%), var(--night); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.contact-head .h-xxl { margin-top: 22px; }
.contact-lead { margin-top: 26px; font-size: 1.1rem; max-width: 26rem; color: var(--on-night-dim); }
.contact-facts { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact-facts li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--night-line-2); font-size: .86rem; color: var(--on-night-dim); }
.contact-facts b { font-weight: 500; color: var(--on-night); }

.contact-card { padding: clamp(20px, 2.6vw, 34px); border-radius: 24px; background: var(--night-2); border: 1px solid var(--night-line); }
.form, .form-done { width: 100%; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.f { position: relative; display: block; margin: 0 0 10px; }
.f input, .f select, .f textarea {
  display: block; width: 100%; height: 60px; padding: 24px 16px 8px;
  background: var(--night); color: var(--on-night);
  border: 1px solid var(--night-line-2); border-radius: 12px;
  font: inherit; font-size: 1rem;
  transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.f textarea { height: auto; min-height: 116px; padding-top: 30px; resize: vertical; }
.f select { padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--on-night-dim) 50%), linear-gradient(135deg, var(--on-night-dim) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.f select option { color: #121212; background: #fff; }
.f > span { position: absolute; left: 17px; top: 19px; font-size: 1rem; color: var(--on-night-faint); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.f small { font-size: .8em; }
.f input:focus + span, .f input:not(:placeholder-shown) + span,
.f textarea:focus + span, .f textarea:not(:placeholder-shown) + span,
.f select:focus + span, .f select:valid + span { transform: translateY(-10px) scale(.74); color: var(--on-night-dim); }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--kesri); box-shadow: 0 0 0 4px rgba(255, 90, 31, .18); }
.f .is-invalid { border-color: #FF6B6B; }
.f .is-invalid + span { color: #FF8A8A; }
.shake { animation: shake .4s ease; }
@keyframes shake { 25%, 75% { transform: translateX(-5px); } 50% { transform: translateX(5px); } }

.f-chips { margin: 8px 0 18px; padding: 0; border: 0; min-width: 0; }
.f-chips legend { padding: 0; margin-bottom: 10px; font-size: .74rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-faint); }
.chips span { display: inline-flex; align-items: center; padding: .45em .95em; border-radius: 999px; border: 1px solid var(--night-line-2); color: var(--on-night-dim); font-size: .88rem; user-select: none; transition: background-color .2s, color .2s, border-color .2s; }
.chips label:hover span { border-color: rgba(244, 241, 234, .4); color: var(--on-night); }
.chips span::before { content: "✓"; display: inline-block; width: 0; opacity: 0; overflow: hidden; transition: width .25s ease, margin .25s ease, opacity .2s; }
.chips input:checked + span { background: var(--kesri); border-color: var(--kesri); color: #fff; }
.chips input:checked + span::before { width: .9em; margin-right: .3em; opacity: 1; }
.form-error { margin: 0 0 14px; font-size: .92rem; color: #FF8A8A; }
.f-submit { position: relative; margin-top: 6px; height: 56px; }
.f-submit.is-busy { pointer-events: none; }
.f-submit.is-busy .f-submit-label { opacity: 0; }
.f-submit.is-busy::after { content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }

.form-done { padding: 30px 0; text-align: center; }
.done-check { display: block; width: 64px; height: 64px; margin: 0 auto 18px; }
.done-check svg { width: 100%; height: 100%; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.done-check circle { stroke: rgba(74, 222, 128, .35); stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.done-check path { stroke: #4ADE80; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .45s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done-pa { font-size: 2.2rem; color: var(--kesri); }
.form-done h3 { margin-top: 6px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 500; letter-spacing: -.03em; }
.form-done p:not(.done-pa) { margin: 10px 0 26px; color: var(--on-night-dim); }
@media (max-width: 899px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .f-row { grid-template-columns: 1fr; } }

/* ---------- Footer (dark) ---------- */
.footer { padding-top: clamp(64px, 8vw, 110px); overflow: hidden; border-top: 1px solid var(--night-line); }
.clocks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; padding-bottom: 40px; border-bottom: 1px solid var(--night-line); }
.clock span { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-night-faint); }
.clock b { display: block; margin-top: 6px; font-size: 1.5rem; font-weight: 400; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.clock b i { font-style: normal; animation: blink 2s steps(1) infinite; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; padding-block: 26px; font-size: .9rem; color: var(--on-night-faint); }
.footer-row [lang="pa"] { color: var(--on-night); }
.to-top { color: var(--on-night-dim); transition: color .25s; }
.to-top:hover { color: var(--kesri); }
.footer-mark { white-space: nowrap; font-size: 15.4vw; font-weight: 600; line-height: 1; letter-spacing: -.05em; text-align: center; margin-bottom: -.08em; color: var(--night-2); }
.footer-mark em { font-weight: 400; margin-right: .03em; color: rgba(255, 90, 31, .6); }
@media (max-width: 899px) { .clocks { grid-template-columns: repeat(3, 1fr); row-gap: 26px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
.f-submit-label { display: inline-flex; align-items: center; gap: .55em; transition: opacity .2s; }
