/* Layout: live voxvalley.com brand — white paper, ink type, violet signal LED, mono spec labels */
:root {
  /* Logo blue & white: --accent is the Voxvalley wordmark blue, --accent-2 the V-mark light blue */
  --paper: #ffffff;
  --paper-2: #edf4fb;
  --ink: #2b2f36;
  --heading: #0a3566;
  --ink-2: #0a3566;
  --muted: #5b6270;
  --line: rgba(15,81,153,.16);
  --accent: #0f5199;
  --accent-ink: #ffffff;
  --accent-2: #2a7fc1;
  /* Action colours: main buttons, key numbers, badges (logo blue). */
  --cta: #0f5199;
  --cta-ink: #ffffff;
  --cta-hover: #0b4280;
  --hl: #0f5199;
  --amber: #f5a524;
  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --maxw: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--maxw); 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 { color: var(--heading); font-family: var(--display); line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.1rem, 5.6vw, 3.7rem); font-weight: 800; font-stretch: 112%; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.35rem); font-weight: 750; font-stretch: 108%; }
h3 { font-size: 1.12rem; font-weight: 650; }
p { margin: 0; }
.lede { color: var(--muted); font-size: 1.12rem; max-width: 64ch; }
.eyebrow { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); display: flex; align-items: center; gap: 8px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--paper); padding: 8px 12px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); }
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 16px; padding-block: 10px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.nav-toggle { margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 7px 12px; font: 500 .95rem var(--body); cursor: pointer; }
.nav { display: none; }
.nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); max-height: 75vh; overflow-y: auto; }
.nav a { text-decoration: none; padding: 10px 0; color: var(--muted); border-bottom: 1px solid var(--line); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; border-radius: 10px; padding: 12px 20px; border: 1px solid transparent; cursor: pointer; font: 600 1rem var(--body); transition: transform .15s, border-color .15s; }
.btn-primary { background: var(--cta); color: var(--cta-ink); }
.btn-primary:hover { transform: translateY(-1px); background: var(--cta-hover); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.head-cta { display: none; }
@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .nav, .nav.open { display: flex; flex-direction: row; position: static; background: none; border: 0; padding: 0; gap: 20px; margin-left: auto; max-height: none; }
  .nav a { border: 0; padding: 0; font-size: .93rem; }
  .head-cta { display: inline-flex; padding: 9px 16px; }
}

/* Sections */
section { padding-block: 64px; }
.hero { padding-block: 56px 44px; }
.hero .wrap, .stack { display: grid; gap: 24px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.section-head { display: grid; gap: 12px; margin-bottom: 30px; }
.band { background: var(--paper-2); border-block: 1px solid var(--line); }
.dark { background: var(--ink-2); color: #fff; --heading: #fff; --muted: rgba(255,255,255,.66); --line: rgba(255,255,255,.16); }
.crumbs { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* Spec plates */
.plates { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (min-width: 760px) { .plates { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.plate { background: var(--paper); padding: 18px; display: grid; gap: 4px; min-width: 0; }
.plate b { font-family: var(--mono); font-size: 1.4rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.plate span { color: var(--muted); font-size: .86rem; }

/* Grids and cards */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 980px) { .grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); } .grid.four { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: grid; gap: 10px; align-content: start; min-width: 0; text-decoration: none; transition: border-color .15s, transform .15s; }
.band .card { background: var(--paper); }
a.card:hover { border-color: var(--accent); transform: translateY(-2px); }
.card p, .card li { color: var(--muted); }
.card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.tag { font-family: var(--mono); font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.go { color: var(--accent); font-weight: 600; }
.wl-badge { width: fit-content; font-family: var(--mono); font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--hl); border: 1px solid var(--hl); border-radius: 999px; padding: 3px 10px; }

/* Feature rows */
.features { display: grid; border-top: 1px solid var(--line); }
.feature { display: grid; gap: 6px; padding-block: 18px; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .feature { grid-template-columns: 280px 1fr; gap: 24px; } }
.feature p { color: var(--muted); }

/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); background: var(--paper-2); font-weight: 500; }
tr:last-child td { border-bottom: 0; }
td.ok::before { content: "✓ "; color: var(--hl); font-weight: 700; }

/* FAQ (AEO) */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: var(--paper); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--display); font-size: 1.05rem; }
.faq details p { color: var(--muted); margin-top: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; color: var(--muted); }

/* Prose (legal, blog) */
.prose { max-width: 72ch; display: grid; gap: 16px; }
.prose h2 { font-size: 1.35rem; margin-top: 12px; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.prose p, .prose li { color: var(--muted); }
.share { display: flex; flex-wrap: wrap; gap: 10px; }

/* Quotes */
blockquote { margin: 0; }
.quote p { font-family: var(--display); font-size: 1.12rem; color: var(--heading); font-weight: 500; }
.quote cite { font-style: normal; font-size: .9rem; color: var(--muted); }

/* Forms */
.contact { display: grid; gap: 32px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.1fr; } }
form { display: grid; gap: 12px; }
label { font-size: .86rem; color: var(--muted); display: grid; gap: 6px; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { width: auto; margin-top: 4px; }
.err input, .err select, .err textarea { border-color: #d64545; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .92rem; color: var(--accent); min-height: 1.4em; }
.lines { display: grid; gap: 14px; }
.lines div { display: grid; gap: 2px; }
.lines span { font-family: var(--mono); font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.lines b { font-weight: 500; user-select: all; }

/* Footer */
footer { background: var(--ink-2); color: rgba(255,255,255,.66); padding-block: 48px 56px; font-size: .92rem; }
footer .wrap { display: grid; gap: 28px; }
@media (min-width: 760px) { footer .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; } }
footer .cols { display: grid; gap: 24px; }
footer a { text-decoration: none; display: block; padding: 3px 0; }
footer a:hover { color: #fff; }
footer h2 { font-family: var(--mono); font-size: .72rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 8px; color: #fff; font-weight: 500; }
footer .brand img { background: #fff; border-radius: 8px; padding: 4px 8px; height: 44px; }
.socials { display: flex; flex-wrap: wrap; gap: 14px; }
.legal-row { display: flex; flex-wrap: wrap; gap: 16px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 20px; }
.legal-row a, .legal-row button { display: inline; padding: 0; background: none; border: 0; color: inherit; font: inherit; cursor: pointer; }

/* Consent + WhatsApp */
.vv-consent { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40; max-width: 520px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.18); display: none; gap: 12px; }
.vv-consent.show { display: grid; }
.vv-consent p { font-size: .92rem; color: var(--muted); }
.vv-consent .actions .btn { padding: 8px 16px; }
.wa { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 35; background: #25d366; color: #fff; border-radius: 999px; padding: 12px 16px; font-weight: 600; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.map iframe { width: 100%; height: 200px; border: 0; border-radius: 10px; }

/* Field errors and hints */
.field-err { color: #d64545; font-size: .82rem; min-height: 0; }
.field-err:empty { display: none; }
.hint { color: var(--muted); font-size: .82rem; }
.hint:empty { display: none; }
.err .field-err { display: block; }
.fs { border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 0; display: grid; gap: 12px; min-width: 0; }
.fs legend { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 0 6px; }
.fs.err { border-color: #d64545; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.radios { display: grid; gap: 8px; }
.lbl { font-size: .86rem; color: var(--muted); }
.row2 { display: grid; gap: 12px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1.2fr; } }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #d64545; }

/* Events gallery */
.gal-tabs .chip { text-decoration: none; cursor: pointer; }
.gal-tabs .chip.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.gal-sec { padding-block: 40px; }
.gal-sec + .gal-sec { border-top: 1px solid var(--line); }
.album { display: grid; gap: 14px; margin-bottom: 36px; }
.album-head { display: grid; gap: 4px; }
.album-head p:not(.tag) { color: var(--muted); max-width: 70ch; }
.ph-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0,1fr)); }
@media (min-width: 760px) { .ph-grid { grid-template-columns: repeat(4, minmax(0,1fr)); } }
.ph { margin: 0; display: grid; gap: 6px; min-width: 0; }
.ph-btn { padding: 0; border: 0; background: var(--paper-2); border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; max-width: 100%; }
.ph-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.ph-btn:hover img { transform: scale(1.04); }
.ph figcaption { font-size: .82rem; color: var(--muted); }
.card.empty { border-style: dashed; background: var(--paper-2); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(10,10,14,.92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: 10px; justify-items: center; padding: 56px max(16px, env(safe-area-inset-right, 0px)) 24px max(16px, env(safe-area-inset-left, 0px)); }
.lightbox img { max-width: min(1600px, 100%); max-height: 78vh; border-radius: 8px; object-fit: contain; }
.lightbox figcaption { color: #fff; font-size: .9rem; text-align: center; }
.lb-x, .lb-nav { position: fixed; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 44px; height: 44px; font-size: 1.6rem; cursor: pointer; }
.lb-x { top: calc(12px + env(safe-area-inset-top, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); }
.lb-prev { left: max(12px, env(safe-area-inset-left, 0px)); top: 50%; }
.lb-next { right: max(12px, env(safe-area-inset-right, 0px)); top: 50%; }
.ph-btn.vid { position: relative; }
.ph-btn .play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(23,25,35,.72); color: #fff; display: grid; place-items: center; font-size: 1.3rem; padding-left: 4px; }
#lb-media:empty { display: none; }
#lb-media video, #lb-media iframe { width: min(1280px, 92vw); aspect-ratio: 16 / 9; max-height: 78vh; border: 0; border-radius: 8px; background: #000; }

/* Blue accents */
.hero { background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%); }
.plate b { color: var(--hl); }
.wa { background: #0e7c4a; }
.wa:hover { background: #0b6a3f; }

/* Diwali diyas (homepage; hidden by site.js after the data-until date) */
.diyas { display: flex; align-items: flex-end; gap: 10px; pointer-events: none; }
.diya { width: 60px; height: 60px; overflow: visible; flex: none; filter: drop-shadow(0 0 10px rgba(255,170,60,.55)); }
.diya .dy-flame { transform-origin: 32px 26px; animation: dy-flicker 1.4s ease-in-out infinite alternate; }
.diya .dy-glow { transform-origin: 32px 22px; animation: dy-glow 2.2s ease-in-out infinite alternate; }
.diya:nth-child(2n) .dy-flame { animation-duration: 1.1s; animation-delay: -.4s; }
.diya:nth-child(3n) .dy-flame { animation-duration: 1.7s; animation-delay: -.9s; }
.diya:nth-child(2n) .dy-glow { animation-delay: -1s; }
@keyframes dy-flicker { 0% { transform: scale(1, 1) rotate(-2deg); } 50% { transform: scale(.93, 1.06) rotate(1.5deg); } 100% { transform: scale(1.04, .95) rotate(-1deg); } }
@keyframes dy-glow { from { opacity: .7; transform: scale(.94); } to { opacity: 1; transform: scale(1.06); } }
.diwali-greet { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.diwali-greet p { font-family: var(--display); font-weight: 650; font-size: 1.1rem; color: #b5531a; }
.diya-cta { position: relative; }
.diyas-side { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; gap: 6px; }
.diyas-side .diya { width: 54px; height: 54px; }
.diyas-left { left: max(16px, calc((100vw - var(--maxw)) / 2 - 150px)); }
.diyas-right { right: max(16px, calc((100vw - var(--maxw)) / 2 - 150px)); }
@media (max-width: 1500px) { .diyas-side { display: none; } }
.diyas-garland { justify-content: center; gap: clamp(8px, 3vw, 34px); padding: 22px max(16px, env(safe-area-inset-right, 0px)) 6px max(16px, env(safe-area-inset-left, 0px)); background: linear-gradient(180deg, var(--paper) 0%, #fff4e4 100%); overflow: hidden; }
@media (max-width: 640px) { .diyas-garland .diya:nth-child(n+7) { display: none; } .diya { width: 46px; height: 46px; } }
@media (prefers-reduced-motion: reduce) { .diya .dy-flame, .diya .dy-glow { animation: none; } }

.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; }

/* Company facts table */
.facts-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: .97rem; }
.facts-table th, .facts-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.facts-table th { width: 32%; color: var(--heading); font-weight: 600; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.note { color: var(--muted); font-size: .92rem; margin-top: 14px; }
@media (max-width: 640px) { .facts-table, .facts-table tbody, .facts-table tr { display: block; width: 100%; } .facts-table th, .facts-table td { display: block; width: 100%; padding: 6px 4px; } .facts-table th { padding-top: 14px; border-bottom: 0; } }
