/* Vriksh 3.9 theme — soft glass panels, Inter + Geist Mono, warm orange accent. Loaded after site.css. */
:root {
  --bg: #e2e6e9; --bg-deep: #d3d9dd; --heading: #13171b; --text: #596168; --text-muted: #868e94;
  --accent: #f7770f; --accent-dark: #d9600a; --accent-glow: #ff7a1a73;
  --panel: #ffffff4d; --panel-border: #fffc; --card: #ffffff94; --card-strong: #ffffffe6;
  --line-soft: #14202817; --shadow-c: #26343e2e;
  --r-sm: .5rem; --r-md: .75rem; --r-lg: 1.125rem; --r-xl: 1.75rem;
  --shadow-raised: 0 10px 24px -12px var(--shadow-c), 0 2px 6px -2px var(--shadow-c);
  --shadow-soft: 0 18px 40px -26px var(--shadow-c);
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ink: var(--heading); --muted: var(--text); --green: var(--accent); --green-dark: var(--accent-dark);
  --paper: var(--card-strong); --surface: #ffffff73; --line: var(--line-soft); --radius: var(--r-lg);
  --shadow: var(--shadow-raised);
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  color: var(--text); background: var(--bg); color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181b; --bg-deep: #0e1113; --heading: #eef1f3; --text: #a2a9af; --text-muted: #737b82;
    --accent: #ff8a2b; --accent-dark: #ff9d4d; --panel: #1e22268c; --panel-border: #ffffff14;
    --card: #2c31368c; --card-strong: #2a2f34; --line-soft: #ffffff14; --shadow-c: #0000008c;
    --surface: #ffffff0f; color-scheme: dark;
  }
}
html { background: var(--bg-deep); }
body {
  background:
    radial-gradient(420px 420px at -4% 9%, #ff8a2b33, transparent 70%),
    radial-gradient(380px 380px at 104% 34%, #ff8a2b26, transparent 70%),
    linear-gradient(var(--bg), var(--bg-deep));
  background-repeat: no-repeat; color: var(--text); font-size: 15px;
}
h1, h2, h3 { color: var(--heading); font-weight: 650; letter-spacing: -.04em; }
a:hover { color: var(--accent); }
::selection { background: #ffd8b8; color: #13171b; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.lede { color: var(--text); }

/* Header: floating glass bar with a pill navigation */
.site-header {
  width: min(1180px, calc(100% - 32px)); min-height: 64px; margin: 14px auto 0; padding: 8px 10px 8px 16px;
  border: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border); border-radius: var(--r-xl);
  background: var(--panel); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-soft); position: sticky; top: 10px; z-index: 20;
}
.brand b { font-family: var(--mono); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: var(--heading); }
.brand-logo { width: 36px; height: 36px; padding: 3px; border-radius: 50%; background: var(--card-strong); box-shadow: var(--shadow-raised); }
.site-nav { gap: 2px; padding: 4px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-soft); }
.site-nav a { padding: 8px 16px; border-radius: 999px; font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text); transition: background .18s, color .18s; }
.site-nav a:hover { background: var(--card-strong); color: var(--heading); }
.site-nav a[aria-current], .site-nav a.section-active { text-decoration: none; background: var(--card-strong); color: var(--accent); box-shadow: var(--shadow-raised); }

/* Buttons: pills with an orange arrow disc */
.button, button { border-radius: 999px; background: var(--card-strong); color: var(--heading); border: 1px solid var(--panel-border); box-shadow: var(--shadow-raised); font-weight: 600; gap: 10px; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover, button:hover { background: var(--card-strong); color: var(--heading); transform: translateY(-1px); box-shadow: 0 14px 28px -14px var(--shadow-c), 0 2px 6px -2px var(--shadow-c); }
.button-secondary, .button-quiet { background: var(--card); }
.pill-button { padding: 6px 20px 6px 6px; min-height: 46px; }
.pill-button.plain { padding-left: 20px; }
.pill-arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .95rem; box-shadow: 0 6px 16px -4px var(--accent-glow); transition: transform .2s; }
.pill-button:hover .pill-arrow { transform: translateX(2px); }
.pill-link { display: inline-flex; align-items: center; gap: 12px; padding: 6px 6px 6px 18px; border-radius: 999px; background: var(--card-strong); box-shadow: var(--shadow-raised); font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--heading); white-space: nowrap; }
.pill-link span, .card-arrow { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--accent); background: var(--card-strong); border: 1px solid var(--line-soft); font-size: .85rem; transition: background .18s, color .18s; }

/* Panels */
.panel { position: relative; margin-top: 22px; padding: 36px clamp(18px, 3vw, 36px); border: 1px solid var(--panel-border); border-radius: var(--r-xl); background: var(--panel); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow-soft); width: min(1180px, calc(100% - 32px)); }
.panel + .panel::before { content: ""; position: absolute; top: -14px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px !important; }
.section-heading h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.section-heading p { margin-top: 6px; font-size: .92rem; color: var(--text); }

/* Hero */
.home-page .hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: clamp(32px, 5vw, 56px); background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 28px 28px; background-color: var(--panel); }
.home-page .hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.05; }
.home-page .hero .lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 440px; margin-top: 18px; color: var(--text-muted); }
.home-page .hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-visual { width: min(100%, 400px); justify-self: center; }
.hero-tree { display: block; width: 100%; height: auto; overflow: visible; }
.tree-ground { fill: #26343e14; }
.tree-root, .tree-trunk, .tree-branch { fill: none; stroke: url(#bark); stroke-linecap: round; }
.tree-trunk { stroke-width: 11; }
.tree-root { stroke-width: 4; opacity: .7; }
.tree-branch { stroke-width: 4; }
.leaf-frame { fill: var(--card-strong); stroke: var(--panel-border); filter: drop-shadow(0 6px 8px #26343e33); }
.leaf-glow { fill: none; stroke: var(--accent); stroke-width: 2.5; opacity: 0; filter: drop-shadow(0 0 6px var(--accent-glow)); }
.pulse { fill: var(--accent); filter: drop-shadow(0 0 4px var(--accent)); }
.leaf-sway { transform-box: fill-box; transform-origin: 50% 100%; animation: leaf-sway 7s ease-in-out infinite; animation-delay: calc(var(--i) * -0.8s); }
@media (prefers-reduced-motion: no-preference) {
  .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: grow 1.1s cubic-bezier(.4,0,.2,1) forwards; }
  .tree-root { animation-duration: .6s; }
  .tree-trunk { animation-delay: .3s; }
  .tree-branch { animation-delay: calc(1.1s + var(--i) * .09s); animation-duration: .7s; }
  .leaf { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; animation: bud .5s cubic-bezier(.3,1.4,.5,1) forwards; animation-delay: calc(1.6s + var(--i) * .09s); }
}
@keyframes grow { to { stroke-dashoffset: 0; } }
@keyframes bud { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
@keyframes leaf-sway { 0%, 100% { transform: rotate(-1.4deg); } 50% { transform: rotate(1.4deg) translateY(-1.5px); } }
@media (prefers-color-scheme: dark) { .tree-ground { fill: #0006; } }

/* App cards */
.home-page #selected-work { padding-block: 36px; }
.home-showcase { gap: 16px; }
.home-product { padding: 10px; border: 1px solid var(--panel-border); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-raised); }
.home-product .image-stage { height: auto; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border-radius: var(--r-md); background: var(--bg-deep); }
.home-product .capture-link { display: block; width: 100%; height: 100%; }
.home-product .capture-link img, .home-product .cardstacks .capture-link img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: top; border-radius: 0; transition: transform .4s ease; }
.home-product-copy { padding: 14px 52px 10px 10px; }
.home-product h2, .home-product h3 { font-size: 1rem; letter-spacing: -.02em; }
.home-product-copy > p:last-of-type { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }
.home-product .card-arrow { position: absolute; right: 14px; bottom: 14px; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-product:hover { transform: translateY(-4px) scale(1.015); box-shadow: 0 22px 40px -18px var(--shadow-c), 0 4px 10px -4px var(--shadow-c); }
  .home-product:hover img { transform: scale(1.03); }
}
.home-product:hover .card-arrow, .service-card:hover .card-arrow { background: var(--accent); color: #fff; }

/* Services and contact */
.service-cards, .talk-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.talk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card, .talk-card { position: relative; padding: 22px 22px 56px; border: 1px solid var(--panel-border); border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-raised); text-decoration: none; color: var(--text); transition: transform .18s; }
.talk-card { padding-bottom: 26px; }
.talk-card.warm { background: linear-gradient(135deg, var(--card) 55%, #ffb27a40); }
.service-card h3, .talk-card h3 { font-size: 1.2rem; letter-spacing: -.03em; }
.service-card p, .talk-card p { margin-top: 10px; font-size: .9rem; line-height: 1.6; }
.service-card .card-arrow { position: absolute; right: 16px; bottom: 16px; }
.service-card:hover { color: var(--text); transform: translateY(-2px); }
.actions.centered { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

/* Shared pages, footer, consent */
.choice-list a { max-width: 100%; border-radius: var(--r-lg); background: var(--card); border-color: var(--panel-border); }
.choice-list a[aria-current="true"] { color: var(--heading); background: var(--card-strong); border-color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent), var(--shadow-raised); }
main > .page-hero, main > section:not(.panel) { position: relative; }
.site-footer { width: min(1180px, calc(100% - 32px)); margin: 28px auto 16px; padding: 14px 22px !important; border: 1px solid var(--panel-border); border-radius: var(--r-xl); background: var(--panel); backdrop-filter: blur(14px); box-shadow: var(--shadow-soft); color: var(--text-muted); }
.site-footer nav a { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.site-footer .copyright { font-size: .8rem; }
.consent, .image-preview { border-radius: var(--r-lg); border-color: var(--panel-border); background: var(--card-strong); box-shadow: var(--shadow-raised); }
.image-preview img { border-radius: var(--r-md); }
.work-media img, .founder-photo img, .artifact, input, select, textarea { border-radius: var(--r-md); }
input, select, textarea { background: var(--card-strong); color: var(--heading); border-color: var(--line-soft); }

@media (max-width: 900px) {
  .service-cards { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .site-header { width: calc(100% - 24px); border-radius: var(--r-lg); }
  .site-nav { border-radius: var(--r-lg); margin-top: 6px; }
  .site-nav a { text-align: center; }
  .nav-toggle { border-radius: 999px; background: var(--card-strong); color: var(--heading); border: 1px solid var(--line-soft); font-weight: 600; box-shadow: var(--shadow-raised); }
  .panel { width: calc(100% - 24px); margin-top: 16px; padding: 24px 16px; }
  .home-page .hero { grid-template-columns: 1fr; gap: 8px; padding: 28px 18px; }
  .home-page .hero h1 { font-size: 1.9rem; }
  .home-page .hero .lede { font-size: .92rem; }
  .home-page .hero .actions { margin-top: 20px; }
  .hero-visual { width: min(100%, 300px); margin-top: 8px; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .talk-cards { grid-template-columns: 1fr; }
  .site-footer { width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .leaf-sway { animation: none; }
  .tree-pulses, .leaf-glow { display: none; }
}
