/* Proventa Ventures — simple white agency site.
   Layout: white page, light-grey bands, one accent colour, icon tiles.
   To change the accent colour, set SITE.accent in assets/js/main.js
   (blue | teal | red | violet | orange) or edit --accent below. */
:root {
  --bg: #FFFFFF;
  --band: #F5F7FA;
  --ink: #0F172A;
  --muted: #5B6578;
  --line: #E4E8EF;
  --accent: #1D4ED8;
  --accent-soft: #E8EEFC;
  --on-accent: #FFFFFF;
  --footer: #0F172A;
  --footer-2: #1E293B;
  --footer-line: #334155;
  --footer-ink: #CBD5E1;
  --footer-muted: #94A3B8;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
:root[data-accent="teal"]   { --accent: #0F766E; --accent-soft: #E3F3F1 }
:root[data-accent="red"]    { --accent: #DC2626; --accent-soft: #FDECEC }
:root[data-accent="violet"] { --accent: #6D28D9; --accent-soft: #F0EAFC }
:root[data-accent="orange"] { --accent: #EA580C; --accent-soft: #FDF0E7 }

*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font) }
img { max-width: 100%; display: block }
[hidden] { display: none !important }
a { color: inherit }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.skip { position: absolute; left: -9999px; top: 0; z-index: 50; background: var(--ink); color: #fff; padding: .6rem 1rem }
.skip:focus { left: 1rem; top: 1rem }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }

.wrap {
  max-width: 1200px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 800 }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800 }
h3 { font-size: 1.08rem; font-weight: 700 }
p { margin: 0 }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent) }
.ic { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none }

.btn {
  display: inline-flex; align-items: center; gap: .5rem; font: 700 .92rem/1 var(--font); text-decoration: none;
  padding: .9rem 1.3rem; border-radius: 10px; border: 1.5px solid var(--accent); background: var(--accent); color: var(--on-accent);
  cursor: pointer; transition: filter .2s;
}
.btn:hover { filter: brightness(1.08) }
.btn:disabled { opacity: .6; cursor: wait }
.btn.out { background: transparent; color: var(--accent) }
.btn.out:hover { background: var(--accent-soft); filter: none }
.btn.sm { padding: .6rem .95rem; font-size: .84rem }

/* ---------- Header ---------- */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px) }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; padding-block: .8rem }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none }
.logo .mk { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem }
.logo b { font-weight: 800; font-size: 1.08rem; line-height: 1.05; display: block }
.logo small { display: block; font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase }
nav.main { margin-left: auto; display: flex; align-items: center; gap: .2rem }
nav.main > a, .dd > a { font: 600 .93rem var(--font); text-decoration: none; padding: .55rem .8rem; border-radius: 8px; color: var(--ink); display: flex; align-items: center; gap: .3rem }
nav.main > a:hover, .dd > a:hover { color: var(--accent) }
nav.main a[aria-current="page"] { color: var(--accent) }
.dd { position: relative }
.dd > a::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: .25rem }
.dd .menu { display: none; position: absolute; top: 100%; left: 0; padding-top: .4rem; z-index: 30 }
.dd .menu div { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .4rem; min-width: 230px; box-shadow: 0 18px 40px -20px rgba(15, 23, 42, .35); display: grid }
.dd .menu a { text-decoration: none; padding: .55rem .75rem; border-radius: 8px; font-size: .92rem; font-weight: 500 }
.dd .menu a:hover { background: var(--accent-soft); color: var(--accent) }
.dd:hover .menu, .dd:focus-within .menu { display: block }
.top .btn { margin-left: .6rem }
.menu-btn { display: none; margin-left: auto; background: none; border: 1.5px solid var(--line); border-radius: 8px; padding: .5rem .8rem; font: 700 .85rem var(--font); color: var(--ink); cursor: pointer }
@media (max-width: 980px) {
  .menu-btn { display: block }
  .top .btn { display: none }
  nav.main {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; max-height: 75vh; overflow: auto;
    padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px));
  }
  nav.main.open { display: flex }
  .dd .menu { display: block; position: static; padding: 0 0 .4rem .8rem }
  .dd .menu div { border: 0; box-shadow: none; padding: 0; min-width: 0 }
  .dd > a::after { display: none }
}

/* ---------- Hero ---------- */
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; padding-block: 4rem 4.5rem }
.hero h1 { margin-top: .8rem }
.hero .lede { font-size: 1.12rem; color: var(--muted); margin-top: 1.2rem; max-width: 44ch }
.hero .ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem }
.hero .mini { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--line) }
.hero .mini b { display: block; font-size: 1.5rem; font-weight: 800 }
.hero .mini span { font-size: .86rem; color: var(--muted) }
.collage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px }
.ct { aspect-ratio: 1; max-width: 100%; border-radius: 18px; background: var(--band); border: 1px solid var(--line); display: grid; place-items: center; align-content: center; gap: .5rem; font-size: .82rem; font-weight: 600; color: var(--muted) }
.ct .ic { width: 34px; height: 34px; color: var(--accent) }
.ct.big { grid-column: span 2; aspect-ratio: auto; background: var(--accent); color: var(--on-accent); border-color: var(--accent); text-align: center; padding: 1rem }
.ct.big b { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; line-height: 1 }
.ct.big .ic { color: var(--on-accent) }
.ct.soft { background: var(--accent-soft); border-color: transparent }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 3rem } }

/* ---------- Sections ---------- */
section.sec .wrap { padding-block: 4.5rem }
section.sec.flush .wrap { padding-top: 0 }
section.band { background: var(--band) }
.anchor { scroll-margin-top: 80px }
.sh { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.2rem }
.sh .t { display: grid; gap: .6rem }
.sh p { color: var(--muted); max-width: 48ch }
.sh.center { text-align: center; justify-content: center }
.sh.center .t { justify-items: center }

/* media tiles */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem 1rem; display: grid; justify-items: center; gap: .7rem; text-align: center; text-decoration: none; transition: border-color .2s, transform .2s, box-shadow .2s }
.tile .ib { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center }
.tile b { font-weight: 700; font-size: .96rem }
.tile small { font-size: .76rem; color: var(--muted); font-weight: 600 }
.tile:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 14px 30px -20px rgba(15, 23, 42, .4) }
.tile:hover small { color: var(--accent) }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(3, 1fr) } }
@media (max-width: 420px) { .tile { padding: 1rem .5rem } .tile .ib { width: 46px; height: 46px } .tile b { font-size: .86rem } }

/* activations */
.acts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px }
.act { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; display: grid; gap: .6rem; align-content: start }
.act .ib { width: 48px; height: 48px; border-radius: 12px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center }
.act p { font-size: .9rem; color: var(--muted) }
@media (max-width: 900px) { .acts { grid-template-columns: 1fr 1fr } .act:last-child { grid-column: 1 / -1 } }
@media (max-width: 480px) { .acts { grid-template-columns: 1fr } }

/* branding opportunity decks */
.decks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px }
.deck { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column }
.thumb { aspect-ratio: 16 / 10; max-width: 100%; background: var(--band); position: relative; overflow: hidden; display: grid; place-items: center; color: var(--accent) }
.thumb .ic { width: 44px; height: 44px; position: relative; z-index: 1 }
.thumb::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: var(--accent-soft); right: -15%; top: -25% }
.thumb::after { content: ""; position: absolute; width: 40%; aspect-ratio: 1; border-radius: 50%; border: 10px solid var(--accent-soft); left: -10%; bottom: -20% }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2 }
.deck .bd { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .4rem; flex: 1 }
.deck .tag { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em }
.deck a { margin-top: auto; padding-top: .6rem; font-weight: 700; font-size: .85rem; color: var(--accent); text-decoration: none; letter-spacing: .04em }
@media (max-width: 980px) { .decks { grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 480px) { .decks { grid-template-columns: 1fr } }

/* CTA band */
.cta { background: var(--accent); color: var(--on-accent); border-radius: 20px; padding: clamp(1.8rem, 4vw, 3rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap }
.cta p { opacity: .9; margin-top: .5rem }
.cta .btn { background: #fff; color: var(--accent); border-color: #fff }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px }
.stat { text-align: center; padding: 2rem 1rem; border: 1px solid var(--line); border-radius: 14px; background: #fff }
.stat b { display: block; font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--accent); line-height: 1; font-variant-numeric: tabular-nums }
.stat span { display: block; margin-top: .6rem; font-weight: 600; color: var(--muted) }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr } }

/* testimonials */
.tcar { max-width: 820px; margin: 0 auto; text-align: center }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 2.4rem clamp(1.2rem, 4vw, 3rem) }
.tcard .q { font-size: 3.5rem; line-height: .6; color: var(--accent); font-weight: 800 }
.tcard p { font-size: 1.18rem; margin-top: 1rem }
.tcard cite { display: block; margin-top: 1.2rem; font-style: normal; color: var(--muted); font-size: .92rem }
.tcard cite b { color: var(--ink); display: block }
.tnav { display: flex; justify-content: center; align-items: center; gap: .8rem; margin-top: 1.2rem }
.tnav button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; color: var(--ink) }
.tnav button:hover { border-color: var(--accent); color: var(--accent) }
.dots { display: flex; gap: .4rem }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line) }
.dots i.on { background: var(--accent) }

/* clients */
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px }
.logos span { display: grid; place-items: center; text-align: center; height: 84px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-weight: 800; color: var(--muted); font-size: .95rem; padding: .5rem; letter-spacing: -.01em }
.logos span:nth-child(3n) { font-weight: 600; font-style: italic }
.logos img { max-height: 48px; width: auto; object-fit: contain }
@media (max-width: 900px) { .logos { grid-template-columns: repeat(3, 1fr) } }
@media (max-width: 480px) { .logos { grid-template-columns: repeat(2, 1fr) } }

/* blogs */
.blogs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px }
.post { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; display: flex; flex-direction: column }
.post .thumb { aspect-ratio: 16 / 9 }
.post .bd { padding: 1.2rem; display: grid; gap: .5rem; flex: 1 }
.post .meta { display: flex; gap: .6rem; align-items: center; font-size: .78rem; color: var(--muted); font-weight: 600 }
.pill { background: var(--accent-soft); color: var(--accent); padding: .15rem .55rem; border-radius: 999px; font-weight: 700 }
.post p { color: var(--muted); font-size: .93rem }
.post a { margin-top: auto; font-weight: 700; color: var(--accent); text-decoration: none; font-size: .9rem }
@media (max-width: 860px) { .blogs { grid-template-columns: 1fr } }

/* press */
.press { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px }
.press span { height: 70px; border: 1px dashed var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--muted); font-size: .85rem; font-weight: 600 }
@media (max-width: 640px) { .press { grid-template-columns: 1fr 1fr } }

/* newsletter */
.news { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2.4rem); background: #fff }
.news > div p { color: var(--muted); margin-top: .5rem }
.news form { display: flex; gap: .6rem; flex-wrap: wrap }
.news input { flex: 1; min-width: 0; font: inherit; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px }
.news input:focus { outline: none; border-color: var(--accent) }
.news .msg { flex-basis: 100%; color: var(--accent); font-weight: 600; font-size: .9rem }
@media (max-width: 760px) { .news { grid-template-columns: 1fr } }

/* ---------- Footer ---------- */
footer { background: var(--footer); color: var(--footer-ink) }
footer .wrap { padding-block: 3.5rem 2rem }
.fgrid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.5fr; gap: 2.2rem }
footer h4 { margin: 0 0 1rem; color: #fff; font-size: .95rem }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .92rem }
footer a { text-decoration: none }
footer a:hover { color: #fff }
footer .logo b { color: #fff }
footer .logo small { color: var(--footer-muted) }
.fabout { margin-top: 1rem; font-size: .92rem; max-width: 30ch }
.social { display: flex; gap: .5rem; margin-top: 1.2rem; flex-wrap: wrap }
.social a { border: 1px solid var(--footer-line); border-radius: 8px; padding: .35rem .6rem; font-size: .8rem }
.hire { background: var(--footer-2); border-radius: 14px; padding: 1.3rem; display: grid; gap: .6rem }
.hire .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem }
.hire input, .hire select { font: inherit; font-size: .9rem; padding: .65rem .75rem; border-radius: 8px; border: 1px solid var(--footer-line); background: var(--footer); color: #fff; width: 100%; min-width: 0 }
.hire input::placeholder { color: var(--footer-muted) }
.hire .btn { justify-content: center }
.hire .msg { font-size: .85rem; color: #fff }
.fbase { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid var(--footer-2); font-size: .84rem; color: var(--footer-muted) }
@media (max-width: 980px) { .fgrid { grid-template-columns: 1fr 1fr } .fgrid > div:last-child { grid-column: 1 / -1 } }
@media (max-width: 520px) { .fgrid { grid-template-columns: 1fr } .hire .row2 { grid-template-columns: 1fr } }

/* ---------- Inner pages ---------- */
.ph { background: var(--band); border-bottom: 1px solid var(--line) }
.ph .wrap { padding-block: 3.2rem; display: grid; gap: .7rem }
.crumb { font-size: .85rem; color: var(--muted) }
.crumb a { color: var(--accent); text-decoration: none }
.ph p.l { color: var(--muted); max-width: 60ch; font-size: 1.05rem }

/* about */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start }
.about .txt { display: grid; gap: 1rem; color: var(--muted) }
.about .txt p:first-child { color: var(--ink); font-size: 1.15rem }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.facts div { border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; background: #fff }
.facts b { display: block; font-size: 1.5rem; color: var(--accent); font-weight: 800 }
.facts span { font-size: .88rem; color: var(--muted) }
@media (max-width: 820px) { .about { grid-template-columns: 1fr } }

/* chairman's message */
.chair { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.4rem, 4vw, 3rem) }
.letter { display: grid; gap: 1.1rem; max-width: 860px; margin-inline: auto }
.letter .dear { font-weight: 700; font-size: 1.15rem }
.letter p { color: var(--muted) }
.letter blockquote { margin: 0; padding: 1.1rem 1.3rem; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 12px 12px 0; font-weight: 700; font-size: 1.12rem; color: var(--ink) }
.letter .sign { margin-top: .6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap }
.letter .sign b { display: block }
.letter .sign span { color: var(--muted); font-size: .9rem }

/* services */
.svcs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px }
.svc { border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem; background: #fff; display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; scroll-margin-top: 90px }
.svc .ib { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; grid-row: span 3 }
.svc p { color: var(--muted); font-size: .94rem }
.svc ul { margin: .4rem 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem }
.svc li { font-size: .8rem; font-weight: 600; padding: .25rem .65rem; border-radius: 999px; background: var(--band); border: 1px solid var(--line) }
.svc .go { grid-column: 2; margin-top: .8rem; justify-self: start }
.svc:target { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft) }
@media (max-width: 760px) { .svcs { grid-template-columns: 1fr } }

/* contact */
.cgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: start }
form.cf { border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.2rem, 3vw, 2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; background: #fff }
.f { display: grid; gap: .35rem; min-width: 0 }
.f.full { grid-column: 1 / -1 }
.f label { font-size: .84rem; font-weight: 600 }
.f input, .f select, .f textarea { font: inherit; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100% }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--accent) }
.f .btn { justify-self: start }
form.cf .msg { grid-column: 1 / -1; background: var(--accent-soft); color: var(--accent); border-radius: 10px; padding: .85rem 1rem; font-weight: 600 }
.msg.err { color: #B91C1C !important }
.cinfo { display: grid; gap: 12px }
.ci { border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; display: flex; gap: 1rem; align-items: start; background: #fff }
.ci .ib { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none }
.ci b { display: block }
.ci span { color: var(--muted); font-size: .93rem; user-select: all }
@media (max-width: 860px) { .cgrid { grid-template-columns: 1fr } }
@media (max-width: 520px) { form.cf { grid-template-columns: 1fr } }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth } }
@media (prefers-reduced-motion: reduce) { .tile, .tile:hover { transition: none; transform: none } }
