/* =========================================================
   KaVi Curate – Experience Curation & Strategy
   Brand: Deep Navy · Vibrant Orange · Lilac · Off-white
   Display: Fraunces · Body: Inter
   Readability rule: every text/background pair is >= WCAG AA
   (navy/ivory text on light, ivory/lilac on navy, navy text on orange).
   ========================================================= */
:root {
  --navy: #0B1F44;
  --navy-2: #12306A;
  --navy-3: #071533;
  --orange: #FF7A00;
  --orange-d: #E36C00;
  --orange-ink: #B34A00;      /* orange used for small text on light backgrounds */
  --orange-big: #C95500;      /* orange used for large italic headings on light */
  --lilac: #B388FF;
  --lilac-l: #EFE7FF;
  --purple: #5B35B8;          /* lilac family, readable on light backgrounds */
  --ivory: #F8F6F2;
  --stone: #E6E2DC;
  --charcoal: #2B2B2B;
  --muted: #565e72;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
  --pad: clamp(80px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.7; color: var(--charcoal); background: var(--ivory); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.015em; color: var(--navy); }
h2 em, h1 em { font-style: italic; font-weight: 300; color: var(--orange-big); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1160px, 100% - 56px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--navy); padding: 8px 14px; z-index: 300; border-radius: 6px; font-weight: 600; }
.skip:focus { left: 8px; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--orange), var(--lilac)); z-index: 200; }

/* Dark surfaces: all text switches to ivory/lilac */
.dark { background: var(--navy); color: rgba(248, 246, 242, .82); }
.dark h1, .dark h2, .dark h3 { color: var(--ivory); }
.dark h1 em, .dark h2 em { color: var(--orange); }
.dark .eyebrow { color: var(--orange); }
.dark .idx { color: var(--lilac); }

/* Eyebrow + section head */
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--orange-ink); }
.eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .6; }
.idx { font-family: var(--serif); font-style: italic; font-weight: 300; letter-spacing: 0; font-size: .95rem; text-transform: none; color: var(--purple); padding-right: 12px; border-right: 1px solid currentColor; }

.section { padding: var(--pad) 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(1.95rem, 3.6vw, 2.9rem); }
.section-head .sub { margin-top: 16px; color: var(--muted); }
.dark .section-head .sub { color: rgba(248, 246, 242, .75); }
.body { color: #3a4256; max-width: 52ch; }

/* Buttons (text colours chosen against their own fill) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 999px; font-weight: 500; font-size: .92rem; letter-spacing: .01em; border: 1px solid transparent; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s; }
.btn:hover { transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-primary { background: var(--orange); color: var(--navy); }              /* navy on orange: 6.3:1 */
.btn-primary:hover { background: #ff8e26; }
.btn-ghost { border-color: rgba(248, 246, 242, .45); color: var(--ivory); }   /* ivory on navy */
.btn-ghost:hover { background: rgba(248, 246, 242, .1); border-color: var(--ivory); }
.btn-ghost-dark { border-color: rgba(11, 31, 68, .3); color: var(--navy); background: transparent; }
.btn-ghost-dark:hover { border-color: var(--navy); background: rgba(11, 31, 68, .05); }
.btn-navy { background: var(--navy); color: var(--ivory); }
.btn-navy:hover { background: var(--navy-2); }
.btn-whatsapp { background: #0F7A3F; color: #fff; }                           /* white on green: 5.4:1 */
.btn-whatsapp:hover { background: #0c6633; }
.btn-lg { padding: 17px 36px; font-size: .98rem; }

/* ===== Logo (from supplied logo pack) ===== */
.logo { display: inline-flex; align-items: center; gap: 14px; color: #fff; line-height: 1; white-space: nowrap; }
.logo-icon { width: 44px; height: 44px; flex: none; }
.logo-word { font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-weight: 600; font-size: 1.7rem; letter-spacing: -.01em; }
.logo-lg .logo-icon { width: 64px; height: 64px; }
.logo-lg .logo-word { font-size: clamp(1.9rem, 4vw, 2.6rem); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 100; display: flex; align-items: center; color: var(--ivory); transition: background .4s, box-shadow .4s; }
.site-header.scrolled { background: rgba(11, 31, 68, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.nav ul { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: .86rem; letter-spacing: .03em; position: relative; padding: 6px 0; color: rgba(248, 246, 242, .85); transition: color .3s; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .nav-cta { background: var(--orange); color: var(--navy); font-weight: 600; padding: 9px 22px; border-radius: 999px; transition: background .3s, transform .3s; }
.nav .nav-cta:hover { background: #ff8e26; color: var(--navy); transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; z-index: 110; color: var(--ivory); }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .4s var(--ease), opacity .3s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 104px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(248,246,242,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(248,246,242,.035) 1px, transparent 1px); background-size: 72px 72px; mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 75%); }
.swoosh { position: absolute; right: 0; bottom: 0; width: 100%; height: 56%; animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-24px, -10px) scale(1.03); } }
.glow { position: absolute; border-radius: 50%; filter: blur(110px); }
.glow-a { width: 480px; height: 480px; background: var(--orange); opacity: .18; top: -180px; right: 8%; }
.glow-b { width: 520px; height: 520px; background: var(--purple); opacity: .45; top: 10%; left: -220px; }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 300; letter-spacing: -.025em; margin-bottom: 26px; }
.hero h1 em { display: block; }
.lead { font-size: clamp(1rem, 1.35vw, 1.15rem); font-weight: 300; color: rgba(248, 246, 242, .85); max-width: 46ch; margin-bottom: 36px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 500px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.system { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit { transform-origin: 300px 300px; }
.orbit-a { animation: spin 16s linear infinite; }
.orbit-b { animation: spin 24s linear infinite reverse; }
.orbit-c { animation: spin 34s linear infinite; }
.orbit-d { animation: spin 42s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.visual-core { width: 30%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--navy-3); border: 1px solid rgba(255, 122, 0, .55); box-shadow: 0 0 80px rgba(255, 122, 0, .35), inset 0 0 30px rgba(255, 122, 0, .12); animation: breathe 6s ease-in-out infinite; }
.core-icon { width: 62%; height: 62%; color: var(--ivory); }
@keyframes breathe { 50% { transform: scale(1.05); } }
.pill { position: absolute; padding: 8px 16px; border-radius: 999px; background: rgba(7, 21, 51, .78); border: 1px solid rgba(248, 246, 242, .22); color: var(--ivory); font-size: .74rem; letter-spacing: .08em; white-space: nowrap; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); animation: bob 7s ease-in-out infinite; }
.pill-1 { top: 6%; left: -2%; }
.pill-2 { bottom: 8%; right: -2%; animation-delay: -3s; }
.pill-3 { top: 48%; right: -8%; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-9px); } }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; width: 24px; height: 40px; border: 1px solid rgba(248, 246, 242, .45); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--orange); border-radius: 2px; animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.portrait { position: relative; max-width: 420px; width: 100%; }
.portrait-ring { position: absolute; inset: -18px -18px 18px 18px; border: 1px solid var(--purple); border-radius: 220px 220px var(--radius) var(--radius); opacity: .45; }
.portrait-frame { position: relative; border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--stone); box-shadow: 0 40px 80px -40px rgba(11, 31, 68, .55); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.portrait-badge { position: absolute; right: -22px; bottom: 32px; background: var(--navy); color: var(--ivory); padding: 16px 22px; border-radius: 16px; display: flex; align-items: center; gap: 14px; box-shadow: 0 24px 50px -20px rgba(11, 31, 68, .6); }
.portrait-badge b { font-family: var(--serif); font-weight: 300; font-size: 2.6rem; color: var(--orange); line-height: 1; }
.portrait-badge span { font-size: .78rem; line-height: 1.45; color: rgba(248, 246, 242, .88); }
.about-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 20px; }
.who { font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; font-weight: 500; }
.about-copy .body { margin-bottom: 14px; }
.industries { display: grid; grid-template-columns: 1fr 1fr; margin: 32px 0; border-top: 1px solid var(--stone); }
.industries li { display: flex; align-items: baseline; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--stone); font-family: var(--serif); font-size: 1.12rem; color: var(--navy); transition: padding-left .4s var(--ease); }
.industries li:nth-child(odd) { padding-right: 16px; }
.industries li:hover { padding-left: 8px; }
.industries span { font-family: var(--sans); font-size: .72rem; letter-spacing: .12em; color: var(--purple); font-weight: 600; }
.about-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; }
.note { font-size: .82rem; color: var(--muted); }

/* ===== Services ===== */
.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.service { grid-column: span 2; position: relative; background: var(--ivory); border: 1px solid var(--stone); border-radius: var(--radius); padding: 28px 28px 32px; overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), background .4s, box-shadow .5s, border-color .4s; }
.service:nth-child(4), .service:nth-child(5) { grid-column: span 3; }
.service::before { content: ""; position: absolute; inset: auto -30% -50% auto; width: 300px; height: 300px; background: radial-gradient(circle, rgba(255, 122, 0, .25), transparent 65%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.service .num { position: absolute; top: 24px; right: 26px; font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--purple); font-size: 1rem; transition: color .4s; }
.service h3 { font-size: 1.28rem; margin-bottom: 10px; max-width: 24ch; transition: color .4s; }
.service p { color: var(--muted); font-size: .94rem; transition: color .4s; }
.service:hover { transform: translateY(-6px); background: var(--navy); border-color: var(--navy); box-shadow: 0 36px 60px -34px rgba(11, 31, 68, .75); }
.service:hover::before { opacity: 1; }
.service:hover h3 { color: var(--ivory); }
.service:hover p { color: rgba(248, 246, 242, .82); }
.service:hover .num { color: var(--lilac); }
.link-arrow { margin-top: auto; padding-top: 18px; font-weight: 500; font-size: .92rem; color: var(--orange-ink); display: inline-flex; gap: 8px; transition: gap .3s, color .4s; }
.link-arrow:hover { gap: 14px; }
.service:hover .link-arrow { color: var(--orange); }

/* Service doodles */
.doodle { width: 128px; height: 110px; margin: 0 0 16px -4px; fill: none; stroke: var(--navy); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; transition: stroke .4s, transform .6s var(--ease); }
.doodle .blob { fill: var(--lilac-l); stroke: none; transition: fill .4s, transform .8s var(--ease); transform-origin: 70px 60px; }
.doodle .o { stroke: var(--orange); }
.doodle .l { stroke: var(--purple); transition: stroke .4s; }
.doodle .of { fill: var(--orange); stroke: none; }
.service:hover .doodle { stroke: var(--ivory); transform: rotate(-3deg) scale(1.05); }
.service:hover .doodle .blob { fill: rgba(179, 136, 255, .2); transform: rotate(18deg); }
.service:hover .doodle .l { stroke: var(--lilac); }
.js .doodle .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease) .2s, stroke .4s; }
.js .doodle .draw[style*="dasharray"] { stroke-dashoffset: 0; }
.js .service.in .doodle .draw { stroke-dashoffset: 0; }

/* ===== Approach ===== */
.approach { overflow: hidden; isolation: isolate; }
.approach::before { content: ""; position: absolute; z-index: -1; bottom: -260px; left: -160px; width: 680px; height: 680px; background: radial-gradient(circle, rgba(91, 53, 184, .5), transparent 65%); }
.approach-orbits { position: absolute; z-index: -1; top: -140px; right: -180px; width: 620px; height: 620px; animation: spin 90s linear infinite; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(248, 246, 242, .14); border: 1px solid rgba(248, 246, 242, .14); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--navy); padding: 36px 30px 40px; transition: background .4s; }
.step:hover { background: var(--navy-2); }
.letter { font-family: var(--serif); font-weight: 300; font-size: 3.4rem; line-height: 1; color: var(--orange); display: block; margin-bottom: 18px; transition: transform .5s var(--ease); }
.step:hover .letter { transform: translateX(8px); }
.step h3 { font-size: 1.35rem; margin-bottom: 8px; }
.step p { color: rgba(248, 246, 242, .8); font-size: .94rem; }

/* ===== Portfolio ===== */
.portfolio { background: var(--ivory); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip-btn { padding: 8px 20px; border-radius: 999px; border: 1px solid rgba(11, 31, 68, .25); background: transparent; color: var(--navy); font-size: .84rem; transition: all .3s; }
.chip-btn:hover { border-color: var(--navy); }
.chip-btn.is-active { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work { display: flex; flex-direction: column; padding: 0; text-align: left; background: #fff; border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; position: relative; }
.work.hide { display: none; }
.wk-doodle { --k-main: var(--navy); --k-o: var(--orange); --k-l: var(--purple); width: 100%; height: 100%; fill: none; stroke: var(--k-main); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.wk-doodle .k-o, .k-o { stroke: var(--k-o); }
.k-l { stroke: var(--k-l); }
.k-f { fill: var(--k-o); stroke: none; }
.work .wk-doodle { aspect-ratio: 5 / 4; height: auto; padding: 26px 34px; background: var(--lilac-l); transition: background .5s, transform .8s var(--ease); }
.work-meta { display: grid; gap: 4px; padding: 20px 24px 24px; }
.work-meta small { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--purple); font-weight: 600; }
.work-meta b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--navy); }
.work:hover { transform: translateY(-6px); border-color: var(--navy); box-shadow: 0 30px 50px -34px rgba(11, 31, 68, .6); }
.work:hover .wk-doodle { --k-main: var(--ivory); --k-l: var(--lilac); background: var(--navy); }
.work:nth-child(3n+2) .wk-doodle { background: #EFEAE0; }
.work:nth-child(3n+2):hover .wk-doodle { background: var(--navy); }

/* Modal */
dialog { border: 0; padding: 0; width: min(900px, calc(100% - 32px)); max-height: calc(100svh - 32px); border-radius: 22px; overflow: hidden; background: var(--ivory); color: var(--charcoal); margin: auto; }
dialog[open] { display: grid; grid-template-columns: 1fr 1.1fr; animation: pop .5s var(--ease); }
dialog::backdrop { background: rgba(7, 21, 51, .8); backdrop-filter: blur(6px); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ivory); color: var(--navy); font-size: 1.5rem; line-height: 1; z-index: 3; transition: transform .3s; }
.modal-close:hover { transform: rotate(90deg); }
.modal-art { min-height: 420px; background: var(--navy); display: grid; place-items: center; padding: 40px; }
.modal-art .wk-doodle { --k-main: var(--ivory); --k-l: var(--lilac); max-width: 340px; height: auto; aspect-ratio: 5/4; }
.modal-body { padding: 44px 40px; overflow-y: auto; }
.modal-body small { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--orange-ink); font-weight: 600; }
.modal-body h3 { font-size: 2rem; margin: 8px 0 14px; }
.modal-body > p { color: var(--muted); margin-bottom: 22px; }
.modal-body dl { margin: 0 0 26px; display: grid; gap: 10px; }
.modal-body dl div { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--stone); font-size: .9rem; }
.modal-body dt { color: var(--muted); }
.modal-body dd { color: var(--navy); }
.modal-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.modal-actions .btn { padding: 11px 20px; font-size: .84rem; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--navy-3), var(--navy) 55%, #2a1a6b); padding: clamp(72px, 9vw, 112px) 0; text-align: center; }
.cta-orbits { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; animation: spin 120s linear infinite; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 300; margin-bottom: 30px; }

/* ===== Contact ===== */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 7vw, 100px); align-items: start; }
.contact-info h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 18px; }
.contact-info .body { margin-bottom: 32px; }
.contact-list { display: grid; gap: 18px; margin-bottom: 32px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.ico { width: 46px; height: 46px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; flex: none; }
.ico svg { width: 20px; height: 20px; fill: none; stroke: var(--ivory); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-list small { display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.contact-list a, .contact-list li > div > span { color: var(--navy); font-weight: 500; word-break: break-word; }
.contact-list a:hover { color: var(--orange-ink); }
.contact-actions { display: flex; align-items: center; gap: 12px; }
.social { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(11, 31, 68, .3); color: var(--navy); display: grid; place-items: center; transition: all .3s; }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); transform: translateY(-3px); }

.enquiry { background: var(--ivory); border: 1px solid var(--stone); border-radius: 24px; padding: clamp(26px, 4vw, 44px); position: relative; overflow: hidden; }
.enquiry::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--orange), var(--lilac)); }
.enquiry h3 { font-size: 1.6rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: .78rem; font-weight: 500; margin-bottom: 6px; color: var(--navy); }
label span { color: var(--orange-ink); }
input, select, textarea { width: 100%; font: inherit; color: var(--charcoal); padding: 13px 15px; background: #fff; border: 1px solid var(--stone); border-radius: 12px; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
::placeholder { color: #6a7184; opacity: 1; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230B1F44' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 122, 0, .15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #b3123f; background: #fff5f8; }
.error { color: #b3123f; font-size: .78rem; margin-top: 4px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.form-status { margin-top: 14px; font-size: .9rem; min-height: 1.4em; color: var(--muted); }
.form-status.ok { color: #0F6B38; }
.form-status.err { color: #b3123f; }

/* ===== Footer ===== */
.site-footer { background: var(--navy-3); color: rgba(248, 246, 242, .82); padding: 72px 0 30px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; right: -120px; bottom: -200px; width: 540px; height: 540px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 53, 184, .4), transparent 65%); }
.footer-inner { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; }
.lockup { display: grid; gap: 16px; justify-items: start; }
.tagline { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.1rem; color: var(--lilac); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 26px; font-size: .88rem; justify-content: flex-end; }
.site-footer nav a { color: rgba(248, 246, 242, .85); transition: color .3s; }
.site-footer nav a:hover { color: var(--orange); }
.copy { grid-column: 1 / -1; font-size: .78rem; color: rgba(248, 246, 242, .65); padding-top: 24px; border-top: 1px solid rgba(248, 246, 242, .12); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 54px; height: 54px; border-radius: 50%; background: #0F7A3F; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -8px rgba(15, 122, 63, .7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #0F7A3F; animation: ping 2.4s infinite; }
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }

/* Reveal (only hidden when JS is running) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease), background .4s, box-shadow .5s, border-color .4s; }
.js .reveal.in { opacity: 1; transform: none; }
.js .service.reveal.in:hover { transform: translateY(-6px); }
.js .work.reveal.in:hover { transform: translateY(-6px); }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service, .service:nth-child(4), .service:nth-child(5) { grid-column: span 1; }
  .service:nth-child(5) { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .pill-3 { right: -2%; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0; background: var(--navy); display: grid; place-items: center; transform: translateY(-100%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; z-index: 105; }
  .nav.open { transform: none; visibility: visible; transition: transform .6s var(--ease); }
  .nav ul { flex-direction: column; gap: 22px; text-align: center; }
  .nav a { font-family: var(--serif); font-weight: 300; font-size: 1.9rem; color: var(--ivory); }
  .nav .nav-cta { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-top: 8px; display: inline-block; }
  body.menu-open { overflow: hidden; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 340px; }
  .hero { padding-bottom: 80px; }
  .pill-1 { left: 0; } .pill-2 { right: 0; } .pill-3 { display: none; }
  .portrait { margin-inline: auto; }
  .portrait-ring { inset: -14px -14px 14px 14px; }
  .portrait-badge { right: 0; }
  dialog[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-art { min-height: 220px; padding: 28px; }
  .modal-art .wk-doodle { max-width: 220px; }
  .modal-body { padding: 28px 24px; overflow: visible; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .site-footer nav { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 36px); }
  .logo-word { font-size: 1.4rem; } .logo-icon { width: 38px; height: 38px; }
  .service-grid, .steps, .work-grid, .field-row, .industries { grid-template-columns: 1fr; }
  .service:nth-child(5) { grid-column: auto; }
  .industries li:nth-child(odd) { padding-right: 0; }
  .cta-row .btn, .form-actions .btn { width: 100%; }
  .scroll-hint { display: none; }
  .pill { font-size: .68rem; padding: 6px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .doodle .draw { stroke-dashoffset: 0; }
}
