@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap');

:root {
  color-scheme: light;
  --purple: #5033c5;
  --purple-dark: #34209b;
  --purple-soft: #efecfb;
  --ink: #242233;
  --muted: #777584;
  --line: #e7e4ed;
  --charcoal: #373640;
  --surface: #fffefa;
  --paper: #f8f7f4;
  --green: #167a54;
  --danger: #a83739;
  --shadow: 0 20px 50px rgba(41, 33, 74, .11);
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
  --font-editorial: "Playfair Display", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--surface); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(80,51,197,.35); outline-offset: 3px; }
.site-shell { width: 100%; min-height: 100dvh; overflow: clip; background: var(--surface); }
.site-header { position: sticky; z-index: 20; top: 0; display: flex; height: 78px; padding: 0 max(5vw, calc((100vw - 1240px)/2)); align-items: center; justify-content: space-between; background: rgba(255,254,250,.93); border-bottom: 1px solid rgba(231,228,237,.85); backdrop-filter: blur(16px); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-size: 12px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.wordmark b { color: var(--purple); }
.wordmark small { display: block; margin-top: 4px; font-family: var(--font-body); font-size: 8px; font-weight: 700; letter-spacing: .28em; }
.brand-mark { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 9px 2px 9px 2px; color: white; background: var(--purple); font-family: var(--font-display); font-size: 19px; font-weight: 800; }
.brand-logo { display: block; width: 68px; height: 68px; border-radius: 7px; background: white; object-fit: contain; }
.admin-brand .brand-logo { width: 48px; height: 48px; }
.account-card .wordmark .brand-logo { width: 112px; height: 112px; }
.admin-login-logo { display: block; width: 128px; height: 128px; margin: 0 auto 10px; border-radius: 8px; background: white; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; gap: clamp(20px,3vw,42px); }
.desktop-nav a,.account-link { color: #5e5b6a; font-size: 12px; font-weight: 700; }
.desktop-nav a:hover,.account-link:hover { color: var(--purple); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.button { display: inline-flex; min-height: 42px; padding: 0 17px; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 7px; cursor: pointer; font-size: 12px; font-weight: 700; transition: transform .18s ease, color .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--purple); }
.button-primary:hover { background: var(--purple-dark); }
.button-outline { color: var(--purple); border-color: #d8d1f2; background: transparent; }
.button-outline:hover { background: var(--purple-soft); }
.button-large { min-height: 51px; padding: 0 23px; }
.button-small { min-height: 33px; padding: 0 12px; font-size: 11px; }
.button-light { color: var(--purple-dark); background: #fffefa; }
.button-light:hover { background: #f1eefb; }
.mobile-menu-toggle,.mobile-nav { display: none; }

.hero { position: relative; display: grid; min-height: 665px; padding: 68px max(5vw, calc((100vw - 1240px)/2)) 72px; align-items: center; grid-template-columns: 1.04fr .96fr; gap: 5%; color: #fff; background: var(--charcoal); isolation: isolate; }
.hero::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 75% 20%, rgba(105,80,207,.3), transparent 43%), linear-gradient(125deg,transparent 49%,rgba(255,255,255,.025) 49.2%,transparent 49.6%); content: ""; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 26px; animation: rise-in .65s both; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--purple); font-size: 9px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero-copy > .eyebrow { color: #fff; }
.eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: #a98eff; }
.eyebrow-light { color: #c9bfff; }
.hero h1,.affiliate-hero h1 { margin: 23px 0 19px; font-family: var(--font-display); font-size: clamp(48px,6vw,76px); font-weight: 700; line-height: 1.02; letter-spacing: -.075em; }
.hero h1 em,.section h2 em,.growth-band h2 em,.founder-copy h2 em,.contact-intro h2 em,.affiliate-hero h1 em { color: #b9a9ff; font-family: var(--font-editorial); font-weight: 600; letter-spacing: -.06em; }
.hero-lead { max-width: 470px; margin: 0; color: #cfced8; font-size: 15px; line-height: 1.8; }
.hero-buttons { display: flex; margin-top: 27px; align-items: center; flex-wrap: wrap; gap: 24px; }
.quiet-link { color: #e8e5f2; font-size: 11px; font-weight: 700; }
.quiet-link span { margin-left: 5px; color: #b9a9ff; }
.hero-proof { display: flex; margin-top: 47px; align-items: center; gap: 14px; }
.proof-avatars { display: flex; }
.proof-avatars span { display: grid; width: 30px; height: 30px; margin-left: -6px; place-items: center; border: 2px solid var(--charcoal); border-radius: 50%; color: white; background: #735bcf; font-size: 8px; font-weight: 800; }
.proof-avatars span:first-child { margin-left: 0; background: #967ddf; }
.proof-avatars span:last-child { color: #ded7ff; background: #4b4960; }
.hero-proof p { margin: 0; color: #fff; font-size: 10px; line-height: 1.65; }
.hero-proof p span { color: #b9b7c3; }
.hero-portrait-wrap { position: relative; display: flex; min-height: 500px; align-items: center; justify-content: center; animation: rise-in .8s .08s both; }
.hero-frame { position: relative; width: min(100%, 420px); height: 455px; padding: 11px; border: 1px solid rgba(183,166,255,.55); background: #4a4853; box-shadow: 16px 17px 0 var(--purple-dark), 0 22px 60px rgba(0,0,0,.25); transform: rotate(1.2deg); }
.hero-frame::before { position: absolute; z-index: -1; top: 19px; right: -17px; bottom: -18px; left: 19px; border: 1px solid rgba(183,166,255,.28); content: ""; }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; background: #efedf0; }
.portrait-accent { position: absolute; z-index: 2; top: -15px; left: -15px; width: 79px; height: 79px; border-top: 4px solid #9a80ff; border-left: 4px solid #9a80ff; }
.portrait-caption { position: absolute; right: 11px; bottom: 11px; left: 11px; display: flex; padding: 17px 18px; flex-direction: column; gap: 6px; color: #fff; background: linear-gradient(0deg,rgba(31,29,39,.92),rgba(31,29,39,.02)); }
.portrait-caption span { color: #d0c5ff; font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.portrait-caption strong { font-family: var(--font-display); font-size: 17px; }
.hero-stamp { position: absolute; top: 42px; right: -1%; display: grid; width: 80px; height: 80px; place-items: center; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; color: #d8ceff; transform: rotate(12deg); }
.hero-stamp span { font-family: var(--font-display); font-size: 21px; font-weight: 800; }
.hero-stamp small { position: absolute; bottom: -25px; width: 100px; color: #c1bfca; font-size: 7px; font-weight: 700; letter-spacing: .12em; text-align: center; }
.hero-note { position: absolute; right: 0; bottom: 43px; color: #cfced8; font-family: var(--font-editorial); font-size: 14px; font-style: italic; line-height: 1.5; transform: rotate(-5deg); }
.hero-bottomline { position: absolute; right: max(5vw, calc((100vw - 1240px)/2)); bottom: 21px; left: max(5vw, calc((100vw - 1240px)/2)); display: flex; justify-content: space-between; color: #aaa8b5; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.hero-bottomline b { margin-left: 7px; color: #d5caff; font-size: 13px; }
.trust-strip { display: flex; min-height: 77px; padding: 18px 5vw; align-items: center; justify-content: center; gap: clamp(18px,4vw,64px); border-bottom: 1px solid var(--line); color: #676473; background: #fbfaf7; }
.trust-strip span { font-size: 10px; font-weight: 700; }
.trust-strip span::before { display: inline-block; width: 5px; height: 5px; margin: 0 10px 2px 0; border-radius: 50%; background: #9e8ae7; content: ""; }
.section { padding: 100px max(5vw, calc((100vw - 1240px)/2)); }
.section-heading { display: flex; margin-bottom: 38px; align-items: end; justify-content: space-between; gap: 30px; }
.section h2,.founder-copy h2,.contact-intro h2 { margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(36px,4vw,54px); line-height: 1.1; letter-spacing: -.065em; }
.section h2 em,.founder-copy h2 em { color: var(--purple); }
.section-heading > p { max-width: 400px; margin: 0 0 4px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.service-grid { display: grid; gap: 19px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.service-card { overflow: hidden; border: 1.5px solid #644bd0; border-radius: 13px; background: var(--surface); box-shadow: 0 8px 23px rgba(47,36,94,.06); transition: transform .23s ease, box-shadow .23s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 16px 35px rgba(47,36,94,.13); }
.service-image { display: block; height: 180px; overflow: hidden; background: #e9e6f5; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-image img { transform: scale(1.04); }
.service-image-art { display: grid; place-items: center; background: linear-gradient(140deg,#ece8fa,#f3e6e7); }
.service-image-art span { color: rgba(80,51,197,.34); font-family: var(--font-display); font-size: 110px; font-weight: 800; letter-spacing: -.12em; }
.service-card-content { padding: 17px; }
.service-category { color: var(--purple); font-size: 8px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.service-card h3 { margin: 8px 0; font-family: var(--font-display); font-size: 15px; line-height: 1.35; letter-spacing: -.025em; }
.service-card p { min-height: 58px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.service-card-bottom { display: flex; margin-top: 16px; padding-top: 13px; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.service-card-bottom > strong { white-space: nowrap; font-size: 12px; }
.service-actions { display: flex; align-items: center; gap: 9px; }
.service-actions .text-link { font-size: 10px; }
.empty-public { grid-column: 1/-1; padding: 50px 25px; border: 1px dashed #c9c0e8; text-align: center; }
.empty-public p { color: var(--muted); }
.secondary-services { margin-top: 58px; padding-top: 34px; border-top: 1px solid var(--line); }
.secondary-services-heading { margin-bottom: 22px; }
.secondary-services-heading h3 { margin: 8px 0 0; font-family: var(--font-display); font-size: 23px; letter-spacing: -.05em; }
.growth-band { position: relative; display: grid; padding: 76px max(5vw, calc((100vw - 1240px)/2)); align-items: center; gap: 30px; grid-template-columns: .22fr 1.15fr 1fr auto; overflow: hidden; color: white; background: var(--purple-dark); isolation: isolate; }
.growth-band::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg,rgba(33,19,100,.72),transparent 70%); content: ""; }
.growth-number { align-self: start; color: #d3c9ff; font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.growth-number span { color: #a99de0; }
.growth-band h2 { margin: 12px 0 0; font-family: var(--font-display); font-size: clamp(31px,3.3vw,44px); line-height: 1.12; letter-spacing: -.06em; }
.growth-band > p { max-width: 320px; margin: 0; color: #d4cfee; font-size: 12px; line-height: 1.85; }
.growth-orbit { position: absolute; z-index: -1; top: -130px; right: 12%; width: 350px; height: 350px; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; box-shadow: 0 0 0 37px rgba(255,255,255,.025),0 0 0 75px rgba(255,255,255,.02); }
.offers-section { background: var(--paper); }
.offer-grid { display: grid; gap: 18px; grid-template-columns: repeat(3,minmax(0,1fr)); }
.offer-card { display: flex; min-height: 330px; padding: 25px; flex-direction: column; align-items: flex-start; border: 1px solid #dfd9ec; border-radius: 12px; background: #fffefa; }
.offer-card.offer-featured { border: 1px solid var(--purple); background: #f1eefb; box-shadow: 0 13px 33px rgba(60,43,137,.09); }
.offer-card.offer-intro { grid-column: 1/-1; max-width: 640px; }
.offer-index { color: var(--purple); font-size: 8px; font-weight: 800; letter-spacing: .16em; }
.offer-card h3 { margin: 19px 0 9px; font-family: var(--font-display); font-size: 20px; letter-spacing: -.04em; }
.offer-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.offer-price { display: flex; margin-top: auto; padding-top: 20px; align-items: baseline; gap: 9px; }
.offer-price strong { font-family: var(--font-display); font-size: 25px; letter-spacing: -.04em; }
.offer-price del { color: #9996a3; font-size: 11px; }
.offer-service { display: block; margin: 4px 0 17px; color: var(--muted); font-size: 10px; }
.offer-footnote { margin: 19px 0 0; color: var(--muted); font-size: 11px; }
.offer-footnote a { color: var(--purple); font-weight: 700; }
.founder-section { display: grid; padding: 104px max(5vw, calc((100vw - 1120px)/2)); align-items: center; gap: 9%; grid-template-columns: .78fr 1.22fr; }
.founder-image { position: relative; max-width: 365px; height: 430px; padding: 10px; border: 1px solid #826dd9; background: #f0edf4; box-shadow: 15px 15px 0 #ece8f7; }
.founder-image::before { position: absolute; top: -13px; left: -13px; width: 60px; height: 60px; border-top: 3px solid var(--purple); border-left: 3px solid var(--purple); content: ""; }
.founder-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.founder-copy h2 { margin-bottom: 18px; font-size: clamp(34px,3.8vw,48px); }
.founder-copy > p { max-width: 550px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.founder-signoff { display: flex; margin: 28px 0 23px; align-items: center; gap: 12px; color: #4e4a5b; font-family: var(--font-editorial); font-size: 13px; font-style: italic; }
.signoff-rule { width: 38px; height: 1px; background: var(--purple); }
.founder-copy > .text-link { display: block; max-width: 420px; font-size: 11px; line-height: 1.7; }
.contact-section { display: grid; padding: 88px max(5vw, calc((100vw - 1180px)/2)); gap: 8%; grid-template-columns: .85fr 1.15fr; color: white; background: var(--charcoal); }
.contact-intro h2 { margin: 16px 0; font-size: clamp(42px,5vw,60px); }
.contact-intro > p { max-width: 360px; margin: 0 0 30px; color: #ceccd7; font-size: 13px; line-height: 1.8; }
.contact-detail { display: grid; margin-top: 17px; gap: 6px; }
.contact-detail span { color: #aaa6b6; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.contact-detail a { color: #fff; font-size: 12px; font-weight: 600; }
.contact-form-card { padding: clamp(21px,4vw,35px); border-radius: 10px; color: var(--ink); background: var(--surface); }
.contact-form-card h3 { margin: 0; font-family: var(--font-display); font-size: 20px; letter-spacing: -.04em; }
.contact-form-card > p { margin: 6px 0 22px; color: var(--muted); font-size: 11px; }
.enquiry-form { display: grid; gap: 13px; }
.enquiry-form label,.admin-form label { display: grid; gap: 7px; color: #4b4857; font-size: 11px; font-weight: 700; }
.enquiry-form label span { color: var(--muted); font-weight: 400; }
.enquiry-form input,.enquiry-form select,.enquiry-form textarea,.admin-form input,.admin-form select,.admin-form textarea,.filter-form select,.status-form select,.rate-form input { width: 100%; min-height: 42px; padding: 10px 11px; border: 1px solid #dedbe6; border-radius: 6px; outline: none; color: var(--ink); background: #fff; font-size: 12px; font-weight: 400; transition: border-color .15s ease,box-shadow .15s ease; }
.enquiry-form textarea,.admin-form textarea { min-height: 88px; resize: vertical; }
.enquiry-form input:focus,.enquiry-form select:focus,.enquiry-form textarea:focus,.admin-form input:focus,.admin-form select:focus,.admin-form textarea:focus,.filter-form select:focus,.status-form select:focus,.rate-form input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px rgba(80,51,197,.12); }
.enquiry-form .button { width: 100%; }
.form-note { margin: -3px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.trap-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.site-footer { display: grid; padding: 33px max(5vw, calc((100vw - 1240px)/2)); align-items: center; gap: 24px; grid-template-columns: 1fr auto 1fr; border-top: 1px solid var(--line); background: #fbfaf7; }
.footer-brand p { margin: 9px 0 0; color: var(--muted); font-size: 10px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a,.footer-meta { color: #676473; font-size: 10px; font-weight: 600; }
.footer-links a:hover,.footer-meta a:hover { color: var(--purple); }
.footer-meta { display: flex; justify-content: flex-end; gap: 17px; }
.floating-whatsapp { position: fixed; z-index: 18; right: 22px; bottom: 22px; display: grid; width: 49px; height: 49px; place-items: center; border: 3px solid white; border-radius: 50%; color: white; background: #188a58; box-shadow: 0 7px 20px rgba(0,0,0,.18); font-size: 11px; font-weight: 800; }
.enquiry-dialog { width: min(92vw,570px); max-height: min(92dvh,850px); padding: 27px; border: 1px solid #d9d2ed; border-radius: 13px; color: var(--ink); background: var(--surface); box-shadow: 0 30px 100px rgba(21,16,44,.34); }
.enquiry-dialog::backdrop { background: rgba(29,26,39,.69); backdrop-filter: blur(3px); }
.dialog-head { display: flex; justify-content: space-between; gap: 16px; }
.dialog-head h2 { margin: 8px 0 0; font-family: var(--font-display); font-size: 25px; letter-spacing: -.05em; }
.dialog-close { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: white; cursor: pointer; font-size: 21px; }
.dialog-intro { margin: 8px 0 19px; color: var(--muted); font-size: 11px; }
.dialog-form { grid-template-columns: 1fr 1fr; }
.dialog-form label:nth-of-type(4),.dialog-form label:nth-of-type(5),.dialog-form button,.dialog-form .form-note { grid-column: 1/-1; }
.flash { position: fixed; z-index: 100; top: 16px; left: 50%; max-width: min(92vw,520px); padding: 12px 16px; transform: translateX(-50%); border-radius: 10px; color: #165f43; background: #e6f6ee; box-shadow: var(--shadow); font-size: 12px; font-weight: 600; }
.flash-error { color: #89282b; background: #fff0ef; }

/* Account surfaces */
.account-page { display: grid; min-width: 0; min-height: 100dvh; padding: 34px max(6vw,calc((100vw - 1080px)/2)); align-items: center; gap: 7%; grid-template-columns: 1fr .8fr; background: #f7f5f0; }
.account-card { width: 100%; min-width: 0; max-width: 450px; padding: 31px; border: 1px solid #e5e0ef; border-radius: 13px; background: var(--surface); box-shadow: var(--shadow); }
.account-card .wordmark { margin-bottom: 35px; }
.account-card h1 { margin: 10px 0; font-family: var(--font-display); font-size: 34px; letter-spacing: -.06em; }
.account-card > p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.account-card > .text-link { display: inline-block; margin-top: 14px; font-size: 11px; }
.account-aside { min-height: 410px; padding: 50px 40px; display: flex; flex-direction: column; justify-content: flex-end; color: white; background: var(--charcoal); }
.account-aside h2 { margin: 18px 0 9px; font-family: var(--font-display); font-size: 43px; line-height: 1.05; letter-spacing: -.06em; }
.account-aside p { max-width: 290px; color: #c9c6d2; font-size: 12px; line-height: 1.8; }
.login-back { position: absolute; top: 24px; left: 25px; color: var(--muted); font-size: 12px; font-weight: 600; }
.clerk-mount { display: grid; min-height: 220px; margin: 16px 0; place-items: center; }
.clerk-mount > p { color: var(--muted); font-size: 12px; }
.account-auth-form { display: grid; margin: 18px 0 12px; gap: 12px; }
.account-auth-form label { display: grid; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 600; }
.account-auth-form label span { color: var(--muted); font-weight: 400; }
.account-auth-form input { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--ink); font: inherit; }
.account-auth-form input:focus { outline: 2px solid var(--purple); outline-offset: 2px; }
.account-auth-form .button { width: 100%; margin-top: 3px; }
.account-auth-notice { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.account-auth-form + .text-link { display: inline-block; margin-top: 4px; font-size: 11px; }
.login-help { margin: 17px 0 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px !important; }
.account-dashboard { max-width: 1240px; min-height: 100dvh; margin: 0 auto; padding: 28px 5vw 65px; background: var(--paper); }
.account-dash-top { display: flex; align-items: center; justify-content: space-between; }
.dash-welcome { display: flex; margin: 40px 0 20px; padding: 26px; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid #e4dff0; border-radius: 12px; background: linear-gradient(110deg,#efecfb,#fffefa 75%); }
.dash-welcome h1 { margin: 7px 0 3px; font-family: var(--font-display); font-size: 30px; letter-spacing: -.05em; }
.dash-welcome p { margin: 0; color: var(--muted); font-size: 11px; }
.dash-metrics { display: grid; margin-bottom: 20px; gap: 12px; grid-template-columns: repeat(4,1fr); }
.dash-metrics article { padding: 17px; border: 1px solid var(--line); border-radius: 9px; background: white; }
.dash-metrics span { display: block; color: var(--muted); font-size: 10px; }
.dash-metrics strong { display: block; margin-top: 8px; font-family: var(--font-display); font-size: 23px; }
.referral-link { display: flex; max-width: 550px; gap: 9px; }
.referral-link input { min-width: 0; flex: 1; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: white; }

/* Affiliate program */
.affiliate-page { min-height: 100dvh; background: #faf9f6; }
.affiliate-top { display: flex; height: 76px; padding: 0 max(6vw,calc((100vw - 1160px)/2)); align-items: center; justify-content: space-between; background: #fffefa; }
.affiliate-hero { position: relative; min-height: 430px; padding: 80px max(7vw,calc((100vw - 1120px)/2)); overflow: hidden; color: white; background: var(--charcoal); isolation: isolate; }
.affiliate-hero::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 82% 50%,rgba(109,86,197,.44),transparent 34%); content: ""; }
.affiliate-hero h1 { margin: 19px 0; font-size: clamp(43px,6vw,68px); }
.affiliate-hero > p { max-width: 535px; margin: 0 0 25px; color: #d0ced8; font-size: 13px; line-height: 1.8; }
.affiliate-mark { position: absolute; right: 12%; top: 15%; color: rgba(255,255,255,.06); font-family: var(--font-display); font-size: 340px; font-weight: 800; line-height: 1; }
.affiliate-how { max-width: 1180px; margin: 0 auto; padding: 76px 5vw; text-align: center; }
.affiliate-steps { display: grid; margin: 35px 0; gap: 26px; grid-template-columns: repeat(3,1fr); text-align: left; }
.affiliate-steps article { padding: 22px 19px; border-top: 1px solid #cfc8e5; }
.affiliate-steps article > span { color: var(--purple); font-family: var(--font-display); font-size: 12px; font-weight: 800; }
.affiliate-steps h2 { margin: 15px 0 8px; font-family: var(--font-display); font-size: 17px; letter-spacing: -.035em; }
.affiliate-steps p,.affiliate-note { color: var(--muted); font-size: 11px; line-height: 1.8; }
.affiliate-note { margin: 20px 0; }

/* Admin control room */
.admin-body { min-height: 100dvh; background: #f5f4f8; }
.admin-shell { display: grid; min-height: 100dvh; grid-template-columns: 238px minmax(0,1fr); }
.admin-sidebar { display: flex; padding: 22px 15px; flex-direction: column; border-right: 1px solid #e6e3ec; background: #fffefa; }
.admin-brand { display: flex; padding: 2px 8px 24px; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-display); font-size: 11px; font-weight: 800; }
.admin-brand small { display: block; margin-top: 4px; color: var(--muted); font-family: var(--font-body); font-size: 9px; font-weight: 500; }
.admin-nav { display: grid; gap: 5px; }
.admin-nav a { display: flex; min-height: 42px; padding: 0 12px; align-items: center; border-radius: 7px; color: #5c5a67; font-size: 12px; font-weight: 600; transition: background .15s ease,color .15s ease; }
.admin-nav a:hover,.admin-nav a.selected { color: var(--purple); background: var(--purple-soft); }
.admin-back-link { margin: auto 8px 4px; padding-top: 18px; color: var(--muted); font-size: 11px; }
.admin-main { min-width: 0; padding: 28px clamp(18px,4vw,48px) 50px; }
.admin-topbar { display: flex; margin-bottom: 26px; align-items: center; justify-content: space-between; gap: 20px; }
.admin-topbar h1 { margin: 4px 0 0; font-family: var(--font-display); font-size: 27px; letter-spacing: -.04em; }
.admin-user { display: flex; align-items: center; gap: 12px; }
.admin-user > span { max-width: 240px; overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; }
.admin-welcome { display: flex; padding: 25px; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #e3dcf7; border-radius: 12px; background: linear-gradient(120deg,#efecfb,#fffefa 75%); }
.admin-welcome h2 { margin: 8px 0 5px; font-family: var(--font-display); font-size: 21px; }
.admin-welcome p { max-width: 510px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.metric-grid { display: grid; margin: 17px 0; gap: 13px; grid-template-columns: repeat(4,minmax(0,1fr)); }
.metric-card { padding: 16px; border: 1px solid #e8e5ed; border-radius: 9px; background: #fffefa; }
.metric-card span { display: block; color: var(--muted); font-size: 10px; font-weight: 600; text-transform: capitalize; }
.metric-card strong { display: block; margin-top: 8px; font-family: var(--font-display); font-size: 26px; }
.admin-panel { margin-top: 17px; padding: 20px; border: 1px solid #e8e5ed; border-radius: 11px; background: #fffefa; box-shadow: 0 5px 18px rgba(28,27,53,.025); }
.panel-heading { display: flex; margin-bottom: 18px; align-items: center; justify-content: space-between; gap: 16px; }
.panel-heading h2 { margin: 5px 0 0; font-family: var(--font-display); font-size: 17px; letter-spacing: -.025em; }
.panel-heading p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { padding: 10px; color: #807d89; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
td { padding: 13px 10px; border-top: 1px solid #f0eff4; color: #4e4b58; font-size: 11px; vertical-align: top; }
td strong { display: block; color: var(--ink); font-size: 11px; }
td small { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }
td small a:hover { color: var(--purple); }
.status-pill { display: inline-flex; padding: 4px 8px; border-radius: 999px; color: #575462; background: #f1f0f4; font-size: 9px; font-weight: 700; white-space: nowrap; }
.status-new { color: #825111; background: #fff2d8; }
.status-contacted { color: #274d9c; background: #eaf0ff; }
.status-quoted { color: #6536a0; background: #f2eaff; }
.status-won,.status-active { color: #176244; background: #e4f5ec; }
.status-lost,.status-hidden { color: #8f3437; background: #fce9e8; }
.row-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.row-actions form { margin: 0; }
.text-link { color: var(--purple); font-size: 12px; font-weight: 700; }
.text-link:hover { color: var(--purple-dark); text-decoration: underline; }
.text-button { padding: 0; border: 0; background: none; cursor: pointer; font-size: 11px; font-weight: 700; }
.text-danger { color: var(--danger); }
.empty-state { padding: 35px 14px; text-align: center; }
.empty-state strong { color: var(--ink); font-size: 13px; }
.empty-state p { margin: 7px 0 14px; color: var(--muted); font-size: 11px; }
.admin-form { display: grid; gap: 15px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.wide-field { grid-column: 1/-1; }
.admin-form .checkbox-field { display: flex; align-items: center; gap: 8px; }
.checkbox-field input { width: 16px; min-height: 16px; accent-color: var(--purple); }
.form-buttons { display: flex; align-items: center; gap: 9px; }
.filter-form select { width: auto; min-width: 140px; }
.status-form { display: flex; min-width: 160px; align-items: center; gap: 6px; }
.status-form select { min-width: 100px; min-height: 33px; padding: 6px; font-size: 10px; }
.status-form .project-value-input { width: 112px; min-width: 100px; min-height: 33px; padding: 6px; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; }
.message-cell { min-width: 180px; max-width: 280px; line-height: 1.55; }
.rate-form { display: flex; max-width: 450px; align-items: end; gap: 10px; }
.rate-form label { display: grid; flex: 1; gap: 6px; color: #4b4857; font-size: 11px; font-weight: 700; }
.rate-form label span { color: var(--muted); }
.pending-total { display: grid; gap: 4px; color: var(--muted); font-size: 9px; }
.pending-total strong { color: var(--ink); font-family: var(--font-display); font-size: 18px; }
.payment-disclaimer { margin: -5px 0 18px; padding: 12px 14px; border-left: 3px solid var(--purple); color: #575463; background: var(--purple-soft); font-size: 11px; line-height: 1.6; }
.muted-note { color: var(--muted); font-size: 10px; }
.login-page { display: grid; min-height: 100dvh; padding: 28px 18px; align-content: center; justify-items: center; background: radial-gradient(circle at 50% 20%,#eee9ff,#f8f7f4 55%); }
.login-card { width: min(100%,460px); padding: 31px; border: 1px solid #e9e5f6; border-radius: 15px; background: #fffefa; box-shadow: 0 22px 60px rgba(37,29,79,.12); }
.login-card h1 { margin: 8px 0 7px; font-family: var(--font-display); font-size: 23px; letter-spacing: -.04em; }
.login-card > p { color: var(--muted); font-size: 12px; line-height: 1.65; }
.error-text { color: var(--danger) !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 1300px) { .hero { min-height: 720px; } }
@media (max-width: 1050px) {
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-image { height: 210px; }
  .growth-band { grid-template-columns: .2fr 1.2fr 1fr; }
  .growth-band .button { grid-column: 2/-1; width: fit-content; }
  .offer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .offer-card:last-child:nth-child(odd) { grid-column: 1/-1; }
}
@media (max-width: 760px) {
  .site-header { height: 68px; padding: 0 20px; }
  .site-header .brand-logo { width: 56px; height: 56px; }
  .desktop-nav,.header-cta,.header-actions > .account-link { display: none; }
  .mobile-menu-toggle { display: flex; width: 38px; height: 38px; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 7px; background: transparent; }
  .mobile-menu-toggle span { width: 16px; height: 2px; background: var(--ink); }
  .mobile-nav:not([hidden]) { position: absolute; z-index: 21; top: 68px; right: 0; left: 0; display: grid; padding: 8px 20px 16px; gap: 3px; border-bottom: 1px solid var(--line); background: #fffefa; box-shadow: 0 15px 25px rgba(29,24,51,.08); }
  .mobile-nav a { padding: 12px 9px; border-radius: 5px; color: #575463; font-size: 12px; font-weight: 700; }
  .mobile-nav a:hover { color: var(--purple); background: var(--purple-soft); }
  .hero { min-height: unset; padding: 60px 25px 65px; grid-template-columns: 1fr; gap: 30px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(48px,12vw,68px); }
  .hero-lead { max-width: 410px; font-size: 13px; }
  .hero-proof { margin-top: 30px; }
  .hero-portrait-wrap { min-height: unset; padding: 18px 17px 24px 0; }
  .hero-frame { width: min(86%,370px); height: 390px; margin: 0 auto; }
  .hero-stamp { top: 6px; right: 3%; }
  .hero-note { right: 3%; bottom: 4px; }
  .hero-bottomline { right: 25px; left: 25px; font-size: 7px; }
  .trust-strip { display: grid; padding: 19px 25px; gap: 12px 19px; grid-template-columns: 1fr 1fr; }
  .trust-strip span { font-size: 9px; }
  .section { padding: 68px 25px; }
  .section-heading { display: block; margin-bottom: 27px; }
  .section-heading > p { margin-top: 15px; font-size: 12px; }
  .service-grid { gap: 14px; }
  .service-image { height: 170px; }
  .service-card-content { padding: 14px; }
  .service-card h3 { font-size: 13px; }
  .service-card p { min-height: 0; font-size: 10px; }
  .service-card-bottom { align-items: flex-start; flex-direction: column; }
  .growth-band { padding: 55px 25px; gap: 16px; grid-template-columns: 1fr; }
  .growth-number { order: 0; }
  .growth-band h2 { font-size: 38px; }
  .growth-band > p { max-width: 450px; }
  .growth-band .button { grid-column: auto; }
  .growth-orbit { right: -130px; }
  .offers-section { padding-top: 66px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card,.offer-card:last-child:nth-child(odd) { min-height: 285px; grid-column: auto; }
  .founder-section { padding: 70px 25px; gap: 37px; grid-template-columns: 1fr; }
  .founder-image { width: min(80%,360px); height: 380px; margin-left: 15px; }
  .contact-section { padding: 67px 25px; gap: 30px; grid-template-columns: 1fr; }
  .contact-intro h2 { font-size: 49px; }
  .contact-form-card { padding: 22px; }
  .site-footer { padding: 28px 25px 34px; gap: 19px; grid-template-columns: 1fr 1fr; }
  .footer-links { flex-direction: column; gap: 10px; }
  .footer-meta { justify-content: flex-start; grid-column: 1/-1; }
  .floating-whatsapp { right: 14px; bottom: 14px; }
  .account-page { padding: 72px 20px 28px; grid-template-columns: minmax(0,1fr); }
  .account-aside { min-height: 220px; padding: 29px; }
  .account-aside h2 { font-size: 34px; }
  .account-card { margin: 0 auto; }
  .account-dash-top .eyebrow { display: none; }
  .dash-welcome { align-items: flex-start; flex-direction: column; }
  .dash-metrics { grid-template-columns: repeat(2,1fr); }
  .affiliate-hero { min-height: 390px; padding: 66px 25px; }
  .affiliate-mark { top: 50%; right: -30px; font-size: 250px; transform: translateY(-50%); }
  .affiliate-how { padding: 60px 25px; }
  .affiliate-steps { gap: 8px; grid-template-columns: 1fr; }
  .affiliate-steps article { padding: 16px 12px; }
  .admin-shell { display: block; }
  .admin-sidebar { padding: 11px 15px 8px; border-right: 0; border-bottom: 1px solid #eaeaf1; }
  .admin-brand { padding: 1px 3px 9px; }
  .admin-nav { display: flex; overflow-x: auto; gap: 4px; }
  .admin-nav a { min-height: 36px; padding: 0 11px; white-space: nowrap; }
  .admin-back-link { display: inline-block; margin: 9px 3px 3px; padding: 0; }
  .admin-main { padding: 22px 14px 35px; }
  .admin-topbar { align-items: flex-start; }
  .admin-user { align-items: flex-end; flex-direction: column; gap: 6px; }
  .admin-user > span { max-width: 160px; }
  .metric-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .admin-welcome { align-items: flex-start; flex-direction: column; }
  .admin-panel { padding: 15px; }
  .panel-heading { align-items: flex-start; }
}
@media (max-width: 430px) {
  .hero { padding: 47px 20px 61px; }
  .hero h1 { font-size: 47px; }
  .hero-buttons { gap: 15px; }
  .hero-portrait-wrap { padding-right: 10px; }
  .hero-frame { height: 340px; }
  .hero-stamp { width: 65px; height: 65px; }
  .trust-strip { padding-right: 18px; padding-left: 18px; }
  .section { padding-right: 19px; padding-left: 19px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-image { height: 210px; }
  .service-card-bottom { align-items: center; flex-direction: row; }
  .dialog-form { grid-template-columns: 1fr; }
  .dialog-form label,.dialog-form button,.dialog-form .form-note { grid-column: auto; }
  .enquiry-dialog { padding: 20px; }
  .founder-section,.contact-section { padding-right: 20px; padding-left: 20px; }
  .founder-image { width: 87%; height: 340px; }
  .site-footer { padding-right: 20px; padding-left: 20px; }
  .admin-form { grid-template-columns: 1fr; }
  .wide-field { grid-column: auto; }
  .panel-heading { flex-direction: column; }
  .filter-form select { width: 100%; }
  .login-card,.account-card { padding: 23px; }
  .account-card h1 { font-size: 29px; }
  .dash-metrics { gap: 8px; }
  .dash-metrics article { padding: 12px; }
  .dash-metrics strong { font-size: 19px; }
  .rate-form { align-items: stretch; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
