/* ==========================================================================
   Shivcharan Singh Bhangoo — Waris Punjab De · Kharar
   Shared styles for index.html (entry), form.html (connect), portfolio.html
   ========================================================================== */

:root {
  /* Kesri + deep blue — the colours of Punjab's Sikh and rural heritage */
  --kesri: #f5901e;
  --kesri-500: #ef7d00;
  --kesri-700: #b35300;       /* AA-safe kesri for small text on light */
  --kesri-50: #fff1df;
  --blue: #0f2a6b;
  --blue-700: #183b8c;
  --blue-900: #081b4a;
  --gold: #f7c548;
  --cream: #fff8ec;
  --text: #2e3550;
  --muted: #646c86;
  --line: #e3dccd;
  --paper: #ffffff;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pa: "Baloo Paaji 2", "Mukta Mahee", "Raavi", sans-serif;
  --pa-serif: "Noto Serif Gurmukhi", "Baloo Paaji 2", serif;

  --radius: 20px;
  --shadow: 0 24px 60px -26px rgba(8, 27, 74, 0.35);
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.pa { font-family: var(--pa); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--blue-900);
  padding: 10px 16px; border-radius: 10px; font-weight: 800; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

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

/* ---------- Soft page background ---------- */
.soft-bg {
  background:
    radial-gradient(ellipse 45% 50% at 4% 6%, #fff0d6 0%, transparent 70%),
    radial-gradient(ellipse 40% 45% at 96% 8%, #e6ecfb 0%, transparent 70%),
    linear-gradient(180deg, #ffffff 30%, var(--cream) 100%);
}

/* ---------- Tricolour bar + phulkari band ---------- */
.tricolor {
  height: 4px;
  background: linear-gradient(90deg, var(--kesri-500) 0 33.33%, var(--blue) 33.33% 66.66%, var(--gold) 66.66% 100%);
}
.tricolor--light {
  background: linear-gradient(90deg, var(--kesri-500) 0 33.33%, var(--cream) 33.33% 66.66%, var(--gold) 66.66% 100%);
}

/* Phulkari-inspired diamond embroidery band */
.band {
  height: 22px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='22'%3E%3Cpath d='M12 2l9 9-9 9-9-9z' fill='%23ef7d00'/%3E%3Cpath d='M12 6.5l4.5 4.5-4.5 4.5L7.5 11z' fill='%23f7c548'/%3E%3Cpath d='M36 6.5l4.5 4.5-4.5 4.5-4.5-4.5z' fill='%230f2a6b'/%3E%3Ccircle cx='24' cy='11' r='1.6' fill='%23ef7d00'/%3E%3Ccircle cx='46.5' cy='11' r='1.6' fill='%23ef7d00'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left center;
}
.band--light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='22'%3E%3Cpath d='M12 2l9 9-9 9-9-9z' fill='%23f5901e'/%3E%3Cpath d='M12 6.5l4.5 4.5-4.5 4.5L7.5 11z' fill='%23f7c548'/%3E%3Cpath d='M36 6.5l4.5 4.5-4.5 4.5-4.5-4.5z' fill='%23fff8ec'/%3E%3Ccircle cx='24' cy='11' r='1.6' fill='%23f7c548'/%3E%3Ccircle cx='46.5' cy='11' r='1.6' fill='%23f7c548'/%3E%3C/svg%3E");
}
.band--short { width: 240px; max-width: 100%; }
.band--center { margin-left: auto; margin-right: auto; }

/* ---------- Corner brackets frame ---------- */
.corners {
  --c: var(--blue);
  --l: 22px;
  --t: 2px;
  position: relative;
  padding: 12px;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) top left / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) top right / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / var(--t) var(--l) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) var(--t) no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / var(--t) var(--l) no-repeat;
}
.corners--kesri { --c: var(--kesri-500); }
.corners--gold { --c: var(--gold); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--kesri-700);
  margin: 0 0 14px;
}
.eyebrow .pa { letter-spacing: .03em; font-size: 14px; }

.display {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--blue);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}
.accent { color: var(--kesri-500); }
.accent-gold { color: var(--gold); }

.punjabi-line {
  font-family: var(--pa);
  font-weight: 700;
  color: var(--blue);
  font-size: clamp(20px, 2.3vw, 28px);
  line-height: 1.4;
  margin: 0;
}
.translation { font-style: italic; color: var(--muted); font-size: 14.5px; margin: 6px 0 0; }

/* ---------- Buttons (min 48px tap targets) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--sans); font-weight: 800; font-size: 15.5px; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn--kesri { background: var(--kesri); color: var(--blue-900); box-shadow: 0 14px 28px -14px rgba(239,125,0,.9); }
.btn--kesri:hover { background: var(--gold); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 12px 24px -12px rgba(15,42,107,.8); }
.btn--blue:hover { background: var(--blue-700); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: rgba(255,255,255,.7); }
.btn--outline:hover { background: var(--blue); color: #fff; }
.btn--glass { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.btn--glass:hover { background: #fff; color: var(--blue); border-color: #fff; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.icon-link {
  width: 46px; height: 46px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--blue); background: rgba(255,255,255,.7);
  transition: all .25s var(--ease);
}
.icon-link svg { width: 19px; height: 19px; }
.icon-link:hover { border-color: var(--kesri-500); color: var(--kesri-700); transform: translateY(-2px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}

/* ==========================================================================
   PAGE 1 — ENTRY
   ========================================================================== */
.entry { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.entry main { flex: 1; display: flex; align-items: center; position: relative; }

.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0 8px; }
.brand { text-decoration: none; }
.brand__name { font-family: var(--serif); font-weight: 600; color: var(--blue); font-size: 24px; line-height: 1.1; display: block; }
.brand__sub {
  font-size: 11px; font-weight: 800; letter-spacing: .2em; color: var(--kesri-700);
  text-transform: uppercase; display: block; margin-top: 6px;
}
.brand__sub .pa { letter-spacing: .03em; font-size: 13px; }

.head-actions { display: flex; align-items: center; gap: 12px; }
.text-link {
  color: var(--blue); font-weight: 700; font-size: 15px; text-decoration: none;
  border-bottom: 2px solid var(--kesri-500); padding: 10px 0 2px; display: inline-flex; align-items: center; gap: 6px;
}
.text-link svg { width: 13px; height: 13px; }

.entry-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding: 44px 0 60px; position: relative; z-index: 1; }

.avatar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none;
  border: 4px solid var(--kesri); box-shadow: 0 0 0 2px #fff, 0 8px 20px -8px rgba(8,27,74,.5); background: #fff;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: scale(1.35); transform-origin: 50% 20%; }
.avatar-row .eyebrow { color: var(--blue); margin: 0; }

.entry h1 { font-size: clamp(42px, 6vw, 78px); }
.entry .quote-block { margin: 28px 0 24px; }
.entry .punjabi-line { font-size: clamp(22px, 2.6vw, 30px); }
.lede { font-size: 17px; max-width: 560px; margin: 0 0 32px; }

.qr-zone { position: relative; display: flex; justify-content: center; }
.qr-watermark {
  position: absolute; right: -14vw; top: 50%; transform: translateY(-50%);
  font-family: var(--pa); font-weight: 800; font-size: clamp(160px, 22vw, 340px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(15,42,107,.08);
  pointer-events: none; user-select: none; z-index: -1; white-space: nowrap;
}
.qr-stack { position: relative; width: 100%; max-width: 330px; }
.qr-stack::after { content: ""; position: absolute; inset: 18px -16px -16px 18px; background: var(--blue); border-radius: var(--radius); z-index: -1; }
.qr-card { background: #fff; border-radius: var(--radius); padding: 24px 24px 22px; border: 1px solid var(--line); text-align: center; box-shadow: var(--shadow); }
.qr-card .band { margin-bottom: 14px; }
.qr-card__label {
  display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 800;
  letter-spacing: .22em; color: var(--blue); text-transform: uppercase; margin-bottom: 14px;
}
.qr-card__label svg { width: 16px; height: 16px; color: var(--kesri-500); }
.qr-box { border: 3px solid #ebe4d6; border-radius: 14px; padding: 14px; display: grid; place-items: center; aspect-ratio: 1; background: #fff; text-decoration: none; }
.qr-box canvas, .qr-box img { width: 100% !important; height: auto !important; image-rendering: pixelated; }
.qr-card__note { font-size: 14px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.qr-card__note .pa { display: block; color: var(--blue); font-weight: 700; font-size: 15px; }

.site-foot-mini { border-top: 1px solid var(--line); }
.site-foot-mini .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 18px; font-size: 13px; color: var(--blue); flex-wrap: wrap; }
.site-foot-mini .pa { font-weight: 600; color: var(--kesri-700); }

/* ==========================================================================
   PAGE 2 — FORM
   ========================================================================== */
.form-page { min-height: 100vh; }
.form-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 0 0; gap: 12px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--blue); font-weight: 700; font-size: 15px; min-height: 44px; }
.back-link svg { width: 16px; height: 16px; transition: transform .2s; }
.back-link:hover svg { transform: translateX(-4px); }
.form-head .brand { text-align: right; }
.form-head .brand__name { font-size: 22px; }

.form-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; padding: 36px 0 80px; align-items: start; }
.form-intro { position: sticky; top: 32px; }
.form-intro h1 { font-size: clamp(36px, 4.6vw, 56px); margin-bottom: 20px; }
.form-intro .lede { font-size: 16px; }

.saying { border-radius: var(--radius); padding: 24px; text-align: center; border: 1px solid var(--line); margin-bottom: 20px; }
.saying .punjabi-line { font-size: 24px; }
.saying--blue { background: #eef2fb; border-color: #d6def3; }
.saying--kesri { background: var(--kesri-50); border-color: #f8d6a8; }

.form-card { background: #fff; border-radius: 22px; padding: 34px 38px 34px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card > .band { margin-bottom: 24px; }

.progress { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; font-size: 13px; color: var(--muted); font-weight: 700; }
.progress__bar { flex: 1; height: 6px; border-radius: 99px; background: #f1ece2; overflow: hidden; }
.progress__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--kesri-500), var(--gold)); border-radius: inherit; transition: width .4s var(--ease); }

.field { margin-bottom: 22px; }
.field label, .field .label { display: block; font-size: 15px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.req { color: var(--kesri-500); }

.input, .select {
  width: 100%; height: 52px; padding: 0 16px; font-family: var(--sans); font-size: 16px; color: var(--blue);
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background-color .2s; appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: #a3a8ba; }
.input:hover, .select:hover { border-color: #c9bfa9; }
.input:focus, .select:focus { outline: none; border-color: var(--kesri-500); box-shadow: 0 0 0 4px rgba(239,125,0,.15); }
.select {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230f2a6b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.select:invalid { color: #a3a8ba; }
.select option { color: var(--blue); }

.field.has-error .input, .field.has-error .select { border-color: #d0421b; background-color: #fff6f2; }
.field .error { display: none; font-size: 13px; color: #c0391a; font-weight: 700; margin-top: 6px; }
.field.has-error .error { display: block; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.phone-wrap { position: relative; }
.phone-wrap .prefix { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--blue); font-size: 16px; pointer-events: none; }
.phone-wrap .input { padding-left: 56px; letter-spacing: .04em; }

/* Steppers for adults/children */
.stepper { display: flex; align-items: stretch; height: 52px; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; }
.stepper:focus-within { border-color: var(--kesri-500); box-shadow: 0 0 0 4px rgba(239,125,0,.15); }
.stepper button { width: 52px; border: 0; background: #faf6ee; color: var(--blue); font-size: 22px; font-weight: 700; cursor: pointer; transition: background .2s; }
.stepper button:hover { background: var(--kesri-50); color: var(--kesri-700); }
.stepper .input { border: 0; height: 100%; border-radius: 0; text-align: center; font-weight: 800; box-shadow: none !important; -moz-appearance: textfield; }
.stepper .input::-webkit-outer-spin-button, .stepper .input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.field.has-error .stepper { border-color: #d0421b; }

.reveal-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .4s var(--ease), opacity .4s, margin .4s; }
.reveal-panel > .reveal-inner { overflow: hidden; }
.reveal-panel.open { grid-template-rows: 1fr; opacity: 1; margin-bottom: 22px; }
.relation-box { border: 1.5px solid #f8d6a8; border-radius: 16px; padding: 20px 18px 2px; background: linear-gradient(180deg, #fff 0%, #fffaf2 100%); }
.relation-box .field { margin-bottom: 18px; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  height: 52px; border: 1.5px solid var(--line); border-radius: 12px; margin: 0; display: flex; align-items: center; justify-content: center;
  gap: 10px; font-weight: 800; color: var(--blue); cursor: pointer; transition: all .2s; background: #fff;
}
.seg label .pa { font-weight: 600; color: var(--muted); font-size: 15px; }
.seg label:hover { border-color: #c9bfa9; }
.seg input:focus-visible + label { box-shadow: 0 0 0 4px rgba(239,125,0,.2); }
.seg input:checked + label { border-color: var(--kesri-500); background: var(--kesri-50); color: var(--kesri-700); }
.seg input:checked + label .pa { color: var(--kesri-700); }
.field.has-error .seg label { border-color: #d0421b; }

.consent { font-size: 13px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.btn[disabled] { opacity: .75; pointer-events: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(8,27,74,.25); border-top-color: var(--blue-900); animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading .arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.thanks {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 35%, rgba(239,125,0,.97), rgba(8,27,74,.98) 70%);
  color: #fff; text-align: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.thanks.show { opacity: 1; visibility: visible; }
.thanks .pa { font-size: clamp(42px, 8vw, 72px); font-weight: 800; color: var(--gold); line-height: 1.1; }
.thanks h2 { font-family: var(--serif); font-size: clamp(26px, 4vw, 40px); margin: 8px 0 10px; font-weight: 600; }
.thanks p { margin: 0; opacity: .88; }
.thanks .band { width: 240px; margin: 0 auto 20px; }

/* ==========================================================================
   PAGE 3 — PORTFOLIO
   ========================================================================== */

/* Scroll progress */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 70; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--kesri-500), var(--gold)); }

/* Sticky nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .35s, box-shadow .35s, padding .35s; padding: 18px 0; }
.nav.is-solid { background: rgba(8, 27, 74, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); padding: 10px 0; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav__brand { display: flex; flex-direction: column; text-decoration: none; color: #fff; line-height: 1.1; }
.nav__brand b { font-family: var(--serif); font-weight: 600; font-size: 20px; }
.nav__brand small { font-size: 10.5px; font-weight: 800; letter-spacing: .2em; color: var(--kesri); text-transform: uppercase; margin-top: 4px; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) { color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 14px; border-radius: 999px; opacity: .9; transition: background .2s, opacity .2s; }
.nav__links a:not(.btn):hover, .nav__links a.active { opacity: 1; background: rgba(255,255,255,.1); }
.nav__links .btn { min-height: 44px; padding: 0 20px; margin-left: 8px; font-size: 14px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: #fff; cursor: pointer; place-items: center; }
.menu-btn svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 65; background: var(--blue-900); color: #fff; padding: 90px 24px 32px;
  display: flex; flex-direction: column; gap: 6px; transform: translateY(-100%); transition: transform .45s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: none; visibility: visible; }
.mobile-menu a.m-link { font-family: var(--serif); font-size: 32px; color: #fff; text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; }
.mobile-menu a.m-link .pa { font-size: 16px; color: var(--kesri); font-family: var(--pa); }
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu .socials { display: flex; gap: 12px; margin-top: 16px; }
.mobile-menu .close { position: absolute; right: 20px; top: 18px; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  background:
    radial-gradient(ellipse 55% 60% at 74% 48%, rgba(245,144,30,.38) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 100%, rgba(247,197,72,.12) 0%, transparent 70%),
    linear-gradient(160deg, #0f2a6b 0%, #0a1f55 55%, #071640 100%);
}
.hero__inner { flex: 1; display: flex; align-items: center; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 120px 0 72px; position: relative; z-index: 1; width: 100%; }
.hero .eyebrow { color: var(--kesri); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hero .eyebrow .dot { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); display: inline-block; }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(50px, 7.4vw, 104px); line-height: .96; letter-spacing: -0.03em; margin: 0 0 14px; color: #fff; }
.hero h1 em { font-style: italic; color: var(--kesri); font-weight: 500; }
.hero__pa-name { font-family: var(--pa); font-size: clamp(20px, 2.2vw, 26px); color: var(--gold); font-weight: 600; margin: 0 0 28px; }

.root-quote { position: relative; padding: 4px 0 4px 22px; border-left: 3px solid var(--kesri); margin: 0 0 34px; max-width: 520px; }
.root-quote p { margin: 0; }
.root-quote .pa { font-family: var(--pa-serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; line-height: 1.45; color: #fff; }
.root-quote .en { font-style: italic; color: rgba(255,255,255,.75); font-size: 15.5px; margin-top: 6px; }

.hero-actions { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.social-chip {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 18px 6px 6px; border-radius: 999px;
  text-decoration: none; color: #fff; background: rgba(255,255,255,.07); border: 1.5px solid rgba(255,255,255,.18);
  transition: all .3s var(--ease); backdrop-filter: blur(6px);
}
.social-chip__icon { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.social-chip__icon svg { width: 19px; height: 19px; }
.social-chip--ig .social-chip__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-chip--fb .social-chip__icon { background: #1877f2; }
.social-chip b { display: block; font-size: 14.5px; line-height: 1.15; }
.social-chip small { display: block; font-size: 12px; color: rgba(255,255,255,.65); line-height: 1.2; }
.social-chip:hover { background: #fff; color: var(--blue); border-color: #fff; transform: translateY(-2px); }
.social-chip:hover small { color: var(--muted); }

/* Arch portrait */
.arch-wrap { position: relative; justify-self: center; width: 100%; max-width: 430px; }
.arch-wrap::before {
  content: ""; position: absolute; inset: -18px; border-radius: 999px 999px 34px 34px;
  border: 2px solid rgba(245,144,30,.55);
}
.arch-wrap::after {
  content: ""; position: absolute; inset: -36px; border-radius: 999px 999px 44px 44px;
  border: 1px dashed rgba(247,197,72,.35);
}
.arch {
  position: relative; z-index: 1; border-radius: 999px 999px 26px 26px; overflow: hidden; aspect-ratio: 4 / 5.2;
  background: #fff; box-shadow: 0 50px 90px -30px rgba(0,0,0,.65), 0 0 0 6px var(--kesri);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.arch::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(8,27,74,.45)); }
.hero-badge {
  position: absolute; z-index: 2; left: -30px; bottom: 9%; background: #fff; color: var(--blue); border-radius: 16px;
  padding: 12px 16px; box-shadow: 0 20px 40px -18px rgba(0,0,0,.6); border-left: 4px solid var(--kesri); transform: rotate(-2deg);
}
.hero-badge .pa { display: block; font-weight: 700; font-size: 17px; line-height: 1.2; }
.hero-badge small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .18em; color: var(--kesri-700); text-transform: uppercase; margin-top: 3px; }
.hero-badge--top { left: auto; right: -24px; bottom: auto; top: 14%; background: var(--kesri); border-left: 0; transform: rotate(3deg); }
.hero-badge--top small { color: var(--blue-900); }

.hero-watermark {
  position: absolute; left: -2vw; bottom: -5vw; font-family: var(--pa); font-weight: 800; font-size: clamp(150px, 24vw, 360px);
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.07); pointer-events: none; user-select: none;
}
.scroll-cue {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 2; color: rgba(255,255,255,.7);
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 800; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-cue span { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.5); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 7px; border-radius: 2px; background: var(--kesri); transform: translateX(-50%); animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translate(-50%, 0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* Ribbon marquee */
.ribbon { background: var(--kesri); color: var(--blue-900); overflow: hidden; border-block: 1px solid rgba(8,27,74,.15); }
.ribbon__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ribbon:hover .ribbon__track { animation-play-state: paused; }
.ribbon__group { display: flex; align-items: center; gap: 28px; padding: 16px 14px; white-space: nowrap; }
.ribbon__group span { font-weight: 800; font-size: 15px; letter-spacing: .04em; }
.ribbon__group .pa { font-size: 18px; font-weight: 700; letter-spacing: 0; }
.ribbon__group i { width: 8px; height: 8px; background: var(--blue-900); transform: rotate(45deg); display: inline-block; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Scroll-buffer (words light up as you scroll) */
.buffer { position: relative; background: var(--cream); }
.js .buffer { height: 230vh; }
.buffer__sticky { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 90px 0; }
.js .buffer__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; }
.buffer__bg {
  position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
  font-family: var(--pa); font-weight: 800; font-size: clamp(180px, 30vw, 460px); color: transparent;
  -webkit-text-stroke: 1.5px rgba(239,125,0,.12); line-height: 1; user-select: none;
}
.buffer .wrap { position: relative; text-align: center; max-width: 980px; }
.buffer__text {
  font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 4vw, 52px); line-height: 1.22; letter-spacing: -0.015em;
  color: var(--blue); margin: 0 auto;
}
.js .buffer__text .w { color: rgba(15,42,107,.14); transition: color .35s ease; }
.js .buffer__text .w.on { color: var(--blue); }
.js .buffer__text .w.k.on { color: var(--kesri-500); font-style: italic; }
.buffer__text .k { color: var(--kesri-500); font-style: italic; }
.buffer__pa { margin-top: 44px; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .buffer__pa { opacity: 0; transform: translateY(20px); }
.js .buffer__pa.on { opacity: 1; transform: none; }
.buffer__pa .punjabi-line { font-family: var(--pa-serif); font-size: clamp(24px, 3vw, 36px); font-weight: 600; }
.buffer__pa .translation { font-size: 16px; }

/* Section scaffolding */
.section { padding: 120px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head .display { font-size: clamp(36px, 4.6vw, 58px); }
.section-head p:not(.eyebrow) { margin: 18px 0 0; font-size: 17px; }

/* Photo slot (shows a designed placeholder until the photo file exists) */
.photo-slot {
  position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 6l22 22-22 22L6 28z' fill='none' stroke='%23ef7d00' stroke-opacity='.22' stroke-width='1.5'/%3E%3Cpath d='M28 18l10 10-10 10-10-10z' fill='%23f7c548' fill-opacity='.25'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #fff8ec, #fdebd2);
  display: grid; place-items: center; text-align: center; color: var(--blue);
}
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.photo-slot__ph { padding: 30px; }
.photo-slot__ph svg { width: 54px; height: 54px; margin: 0 auto 14px; color: var(--kesri-500); }
.photo-slot__ph b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.photo-slot__ph .pa { display: block; color: var(--kesri-700); font-size: 18px; font-weight: 700; margin-top: 4px; }
.photo-slot--dark { background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56'%3E%3Cpath d='M28 6l22 22-22 22L6 28z' fill='none' stroke='%23f5901e' stroke-opacity='.3' stroke-width='1.5'/%3E%3Cpath d='M28 18l10 10-10 10-10-10z' fill='%23f7c548' fill-opacity='.18'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #183b8c, #0a1f55); color: #fff; border: 1px solid rgba(255,255,255,.15); }
.photo-slot--dark .photo-slot__ph .pa { color: var(--gold); }
.photo-caption { font-size: 14px; color: var(--muted); margin: 16px 0 0 12px; }

/* Journey */
.journey { background: #fff; }
.journey-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 72px; align-items: start; }
.sticky-col { position: sticky; top: 110px; }

.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--kesri-500), var(--gold) 60%, rgba(247,197,72,.2)); }
.timeline li { position: relative; padding: 0 0 46px 72px; }
.timeline li:last-child { padding-bottom: 0; }
.t-mark {
  position: absolute; left: 4px; top: 2px; width: 36px; height: 36px; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--kesri-500); transform: rotate(45deg); border-radius: 8px;
}
.t-mark span { transform: rotate(-45deg); font-family: var(--serif); font-weight: 700; color: var(--blue); font-size: 14px; }
.timeline .tag-pa { font-family: var(--pa); color: var(--kesri-700); font-weight: 700; font-size: 16px; display: block; }
.timeline h3 { font-family: var(--serif); font-weight: 600; color: var(--blue); font-size: clamp(22px, 2.2vw, 28px); margin: 2px 0 10px; line-height: 1.2; }
.timeline p { margin: 0; max-width: 520px; }

/* Work ahead */
.vision { background: var(--blue); color: #fff; overflow: hidden; }
.vision::before { content: ""; position: absolute; left: -15%; top: -10%; width: 60%; height: 70%; background: radial-gradient(circle, rgba(245,144,30,.18), transparent 65%); pointer-events: none; }
.vision .eyebrow { color: var(--kesri); }
.vision .display { color: #fff; }
.vision .section-head p { color: rgba(255,255,255,.75); }
.vision-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; position: relative; }
.vision-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255,255,255,.14); }
.vision-list li { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.14); transition: background .3s; }
.vision-list .n { font-family: var(--serif); font-size: 42px; color: rgba(255,255,255,.3); line-height: 1; transition: color .3s; }
.vision-list li:hover .n { color: var(--kesri); }
.vision-list h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(21px, 2.1vw, 26px); margin: 0 0 8px; line-height: 1.22; }
.vision-list .pa { display: inline-block; font-size: 14.5px; color: var(--blue-900); background: var(--gold); font-weight: 700; border-radius: 999px; padding: 1px 12px; margin-bottom: 8px; }
.vision-list p { margin: 0; color: rgba(255,255,255,.78); }

.vision .photo-slot { aspect-ratio: 4 / 5; }
.float-tag {
  position: absolute; z-index: 2; border-radius: 14px; padding: 10px 16px; box-shadow: 0 18px 30px -14px rgba(0,0,0,.5); line-height: 1.3;
}
.float-tag .pa { display: block; font-weight: 700; font-size: 16px; }
.float-tag small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; margin-top: 2px; }
.float-tag--kesri { background: var(--kesri); color: var(--blue-900); right: -18px; top: 12%; transform: rotate(3deg); }
.float-tag--white { background: #fff; color: var(--blue); left: -22px; bottom: 12%; transform: rotate(-2deg); border: 2px solid var(--gold); }
.float-tag--white small { color: var(--kesri-700); }

/* Quotes */
.quotes { background: var(--cream); overflow: hidden; }
.quotes .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.quote-card { position: relative; border-radius: 26px; padding: 56px 44px 40px; overflow: hidden; display: flex; flex-direction: column; min-height: 360px; }
.quote-card::before {
  content: "“"; position: absolute; right: 26px; top: -24px; font-family: var(--serif); font-size: 220px; line-height: 1; opacity: .18;
}
.quote-card--blue { background: var(--blue); color: #fff; }
.quote-card--blue::before { color: var(--kesri); opacity: .9; }
.quote-card--kesri { background: linear-gradient(150deg, var(--kesri) 0%, #f7a640 100%); color: var(--blue-900); }
.quote-card--kesri::before { color: #fff; opacity: .45; }
.quote-card .band { margin-bottom: 26px; width: 192px; }
.quote-card .q-pa { font-family: var(--pa-serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; line-height: 1.5; margin: 0 0 16px; }
.quote-card .q-en { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.5; margin: 0; opacity: .88; }
.quote-card .q-by { margin-top: auto; padding-top: 30px; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.quote-card .q-by img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; border: 2px solid currentColor; }

/* Final CTA */
.cta { position: relative; overflow: hidden; padding: 120px 0; color: #fff;
  background: radial-gradient(ellipse 60% 70% at 85% 50%, rgba(245,144,30,.3), transparent 70%), var(--blue-900); }
.cta-watermark { position: absolute; right: -3vw; bottom: -6vw; font-family: var(--pa); font-weight: 800; font-size: clamp(160px, 22vw, 340px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.08); pointer-events: none; user-select: none; }
.cta-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; position: relative; }
.cta h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 5.4vw, 70px); line-height: 1.02; margin: 0 0 22px; letter-spacing: -0.02em; }
.cta h2 em { color: var(--kesri); }
.cta .pa-line { font-family: var(--pa-serif); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; margin: 0 0 6px; color: var(--gold); }
.cta .en-line { font-style: italic; color: rgba(255,255,255,.7); margin: 0 0 36px; }
.cta .socials { margin-top: 18px; }
.cta .qr-mini { justify-self: center; width: 100%; max-width: 250px; }
.cta .qr-card { padding: 18px 18px 14px; border: 0; }
.cta .qr-card__label { margin: 14px 0 0; }

/* Footer */
.footer { background: #050f2e; color: rgba(255,255,255,.8); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 60px 24px 40px; }
.footer h4 { font-family: var(--serif); font-size: 26px; color: #fff; margin: 0 0 6px; font-weight: 600; }
.footer h5 { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--kesri); margin: 6px 0 16px; }
.footer p { margin: 0 0 6px; font-size: 15px; }
.footer .pa { color: var(--gold); font-weight: 600; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a { color: #fff; text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.footer-links a svg { width: 16px; height: 16px; }
.footer-links a:hover { color: var(--kesri); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: rgba(255,255,255,.55); }

/* Mobile dock */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55; display: none; gap: 8px; align-items: center;
  background: rgba(8,27,74,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.6);
  transform: translateY(140%); transition: transform .45s var(--ease);
  padding-bottom: calc(6px + env(safe-area-inset-bottom, 0px) * .5);
}
.dock.show { transform: none; }
.dock .btn { flex: 1; min-height: 48px; padding: 0 16px; font-size: 15px; }
.dock .icon-link { width: 48px; height: 48px; border: 0; color: #fff; background: rgba(255,255,255,.1); }

/* Welcome toast */
.toast {
  position: fixed; left: 50%; top: 84px; transform: translate(-50%, -30px); opacity: 0; visibility: hidden; z-index: 75; background: #fff; color: var(--blue);
  border-radius: 16px; padding: 14px 16px; box-shadow: 0 24px 50px -16px rgba(8,27,74,.5); display: flex; align-items: center; gap: 14px;
  max-width: calc(100% - 32px); width: 460px; border-left: 5px solid var(--kesri); transition: transform .5s var(--ease), opacity .4s, visibility .4s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast__icon { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--kesri); display: grid; place-items: center; color: var(--blue-900); }
.toast__icon svg { width: 20px; height: 20px; }
.toast strong { display: block; font-family: var(--pa); font-size: 17px; }
.toast span { font-size: 13.5px; color: var(--muted); }
.toast button { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 24px; line-height: 1; width: 40px; height: 40px; border-radius: 50%; }
.toast button:hover { background: #f4f1ea; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .entry-grid, .form-grid, .hero-grid, .journey-grid, .vision-grid, .cta-grid { grid-template-columns: 1fr; }
  .entry-grid { gap: 56px; padding-top: 28px; }
  .qr-watermark { right: -30vw; }
  .form-intro { position: static; }
  .form-intro .sayings { display: none; }
  .sticky-col { position: relative; top: 0; }

  .nav__links { display: none; }
  .menu-btn { display: grid; }
  .dock { display: flex; }

  .hero-grid { padding: 104px 0 80px; gap: 64px; }
  .arch-wrap { max-width: 340px; order: -1; margin-top: 10px; }
  .hero-grid { padding-top: 96px; gap: 48px; }
  .hero-badge { left: -14px; }
  .hero-badge--top { right: -14px; left: auto; }
  .scroll-cue { display: none; }

  .journey-grid, .vision-grid { gap: 48px; }
  .journey .photo-slot, .vision .photo-slot { aspect-ratio: 16 / 11; }
  .float-tag--kesri { right: -6px; }
  .float-tag--white { left: -6px; }
  .quote-grid { grid-template-columns: 1fr; }
  .cta .qr-mini { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .section { padding: 88px 0; }
  .footer-bottom .wrap { padding-bottom: 96px; }
}

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .site-head { padding-top: 20px; }
  .brand__name { font-size: 20px; }
  .head-actions .text-link { display: none; }
  .form-head .brand__name { font-size: 17px; }
  .form-card { padding: 26px 18px 26px; border-radius: 18px; }
  .row-2 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .row-2 .field label { font-size: 14px; }
  .btn-row .btn { flex: 1 1 100%; }
  .entry .btn-row .btn--outline { flex: 1 1 40%; }
  .hero-actions, .hero-actions .btn { width: 100%; }
  .arch-wrap { max-width: 230px; }
  .arch-wrap::after { inset: -26px; }
  .hero-badge .pa { font-size: 14px; }
  .hero-badge { padding: 8px 12px; left: -40px; }
  .hero-badge--top { right: -48px; left: auto; }
  .hero h1 { font-size: 46px; }
  .hero__pa-name { margin-bottom: 22px; }
  .root-quote { margin-bottom: 26px; }
  .socials { width: 100%; }
  .social-chip { flex: 1 1 100%; }
  .timeline li { padding-left: 62px; }
  .vision-list li { grid-template-columns: 50px 1fr; }
  .vision-list .n { font-size: 32px; }
  .quote-card { padding: 44px 24px 30px; min-height: 0; }
  .buffer .wrap { text-align: left; }
  .js .buffer { height: 200vh; }
  .footer-grid { padding: 48px 16px 32px; grid-template-columns: 1fr; }
  .cta { padding: 90px 0; }
}
