/* ==========================================================================
   Base: fonts, reset, typography, layout primitives, motion primitives.
   Bootstrap 5.3 is loaded as grid only (bootstrap-grid.min.css); everything
   visual below is ours.
   ========================================================================== */
@font-face { font-family: "Open Sauce Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/open-sauce-sans-light-latin.8fdbb887a207.woff2") format("woff2"); }
@font-face { font-family: "Open Sauce Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sauce-sans-regular-latin.944130c571df.woff2") format("woff2"); }
@font-face { font-family: "Open Sauce Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/open-sauce-sans-medium-latin.5a920515a26b.woff2") format("woff2"); }
@font-face { font-family: "Open Sauce Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/open-sauce-sans-semibold-latin.e879f8f043db.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--gs-header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; background: var(--gs-color-bg); color: var(--gs-color-text);
  font-family: var(--gs-font-sans); font-size: var(--gs-fs-body); line-height: var(--gs-lh-body); font-weight: var(--gs-fw-regular);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: "liga" 1, "case" 0; overflow-x: clip;
}
body.is-locked { overflow: hidden; }
img, svg, video, canvas, picture { display: block; max-width: 100%; }
img, video { height: auto; }
picture > img { width: 100%; }
.xcards__img picture, .fcarousel__bg picture, .cta-band__media picture, .page-hero__media picture, .ratio-box picture, .album-card__stack picture,
.prog-card__media picture, .project-card__media picture, .collage__card picture, .hero__media picture, .mega__feature picture { display: block; width: 100%; height: 100%; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: var(--gs-color-link); text-decoration-thickness: 1px; text-underline-offset: .2em; }
p, ul, ol, dl, figure, blockquote, h1, h2, h3, h4, h5, h6 { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--gs-color-border); margin: var(--gs-space-8) 0; }
::selection { background: var(--gs-spark-400); color: var(--gs-ink-900); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--gs-color-focus); outline-offset: 3px; border-radius: var(--gs-radius-xs); }
[hidden] { display: none !important; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---- Typography ------------------------------------------------------ */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .display {
  font-weight: var(--gs-fw-regular); line-height: var(--gs-lh-snug); letter-spacing: var(--gs-ls-tight); text-wrap: balance; color: inherit;
}
.display { font-size: var(--gs-fs-display); line-height: var(--gs-lh-tight); letter-spacing: -.035em; font-weight: var(--gs-fw-light); }
h1, .h1 { font-size: var(--gs-fs-h1); line-height: var(--gs-lh-tight); letter-spacing: -.03em; }
h2, .h2 { font-size: var(--gs-fs-h2); line-height: 1.14; }
h3, .h3 { font-size: var(--gs-fs-h3); }
h4, .h4 { font-size: var(--gs-fs-h4); font-weight: var(--gs-fw-medium); letter-spacing: -.01em; }
.lead { font-size: var(--gs-fs-lead); line-height: 1.5; color: var(--gs-color-text-muted); text-wrap: pretty; }
.small, small { font-size: var(--gs-fs-small); }
.text-muted-gs { color: var(--gs-color-text-muted); }
.tnum { font-variant-numeric: tabular-nums; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em; font-size: var(--gs-fs-small); font-weight: var(--gs-fw-medium);
  letter-spacing: .01em; color: var(--gs-color-text-muted);
}
.eyebrow::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: var(--gs-color-brand); flex: none; }
.theme-dark .eyebrow::before { background: var(--gs-spark-400); }
.prose { max-width: var(--gs-container-text); }
.prose > * + * { margin-top: 1.1em; }
.prose > h2 { margin-top: 2.2em; font-size: var(--gs-fs-h3); }
.prose > h3 { margin-top: 1.8em; font-size: var(--gs-fs-h4); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--gs-color-link); }

/* ---- Layout -------------------------------------------------------------- */
.container-gs { width: 100%; max-width: var(--gs-container); margin-inline: auto; padding-inline: var(--gs-gutter); }
.container-gs .row { --bs-gutter-x: var(--gs-gutter); }
.section { padding-block: var(--gs-section-y); position: relative; }
.section--tight { padding-block: calc(var(--gs-section-y) * .6); }
.section--flush-top { padding-top: 0; }
.section--surface { background: var(--gs-color-surface); }
.section--alt { background: var(--gs-color-surface-alt); }
.theme-dark { background: var(--gs-color-bg); color: var(--gs-color-text); }
.stack > * + * { margin-top: var(--gs-stack, 1.25rem); }
.stack-lg > * + * { margin-top: 2rem; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gs-space-3); }
.cluster--lg { gap: var(--gs-space-4); }
.divider { height: 1px; background: var(--gs-color-border); border: 0; margin: 0; }
.ratio-box { position: relative; overflow: hidden; border-radius: var(--gs-radius-sm); background: var(--gs-color-surface-alt); }
.ratio-box > picture, .ratio-box > img, .ratio-box > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ratio-4x3 { aspect-ratio: 4 / 3; } .ratio-3x4 { aspect-ratio: 3 / 4; } .ratio-16x9 { aspect-ratio: 16 / 9; } .ratio-1x1 { aspect-ratio: 1; } .ratio-3x2 { aspect-ratio: 3 / 2; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* ---- Accessibility -------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: calc(var(--gs-z-ribbon) + 1); background: var(--gs-spark-400); color: var(--gs-ink-900); padding: .75rem 1rem; border-radius: var(--gs-radius-sm); font-weight: var(--gs-fw-medium); text-decoration: none; transition: top var(--gs-dur-fast); }
.skip-link:focus { top: 1rem; }

/* ---- Icons ---------------------------------------------------------------- */
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
/* Hand-drawn icon set: a second, lighter "retrace" stroke gives the marker feel of the logo */
.icon__echo { stroke-width: .85; opacity: .8; }
/* Content icons take the logo green; icons inside buttons and controls keep currentColor */
.attr-card__icon, .impact-grid__icon, .mega__icon, .key-details .icon, .process__title .icon, .asof .icon,
.event-card__meta .icon, .contact-details__links .icon, .doc-item__icon, .empty-state__icon, .upload__icon,
.mobile-menu__sub .icon, .site-topbar .icon { color: var(--gs-leaf-500); }
.icon--sm { width: 1em; height: 1em; } .icon--lg { width: 1.75rem; height: 1.75rem; } .icon--xl { width: 2.5rem; height: 2.5rem; stroke-width: 1.25; }

/* ---- Grain overlay used over illustrations ------------------------------- */
.grain::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: url("../img/illustrations/grain.12985b9f9093.webp") repeat; background-size: 128px; opacity: .22; mix-blend-mode: overlay; z-index: 1; }

/* ---- Motion primitives (activated by assets/js/components/reveal.js) ----- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity var(--gs-dur-slow) var(--gs-ease-out), transform var(--gs-dur-slow) var(--gs-ease-out); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal="clip"] { opacity: 1; transform: none; }
.js [data-reveal="clip"] > * { clip-path: inset(0 0 100% 0 round var(--gs-radius-sm)); transition: clip-path 1.1s var(--gs-ease); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-revealed > * { clip-path: inset(0 0 0 0 round var(--gs-radius-sm)); }
.reveal-d1 { transition-delay: .08s !important; } .reveal-d2 { transition-delay: .16s !important; } .reveal-d3 { transition-delay: .24s !important; }
.reveal-d4 { transition-delay: .32s !important; } .reveal-d5 { transition-delay: .4s !important; } .reveal-d6 { transition-delay: .48s !important; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-reveal="clip"] > * { opacity: 1; transform: none; clip-path: none; transition: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ---- Design preview ribbon (body.is-preview) — switch off in production -- */
.preview-ribbon { display: none; }
.is-preview .preview-ribbon {
  display: flex; align-items: center; gap: .5rem; position: fixed; left: 0; top: 62%; z-index: var(--gs-z-ribbon); transform: rotate(-90deg) translateX(-50%); transform-origin: 0 0; white-space: nowrap;
  background: var(--gs-ink-900); color: var(--gs-spark-400); border: 1px solid rgba(196, 238, 90, .45); border-top: 0; border-radius: 0 0 8px 8px;
  padding: .4rem .85rem .4rem .6rem; font-size: var(--gs-fs-xs); font-weight: var(--gs-fw-medium); letter-spacing: .04em; box-shadow: var(--gs-shadow-md);
}
.is-preview .preview-ribbon .logo-mark { width: 1rem; height: 1rem; fill: var(--gs-leaf-500); }
.is-preview .preview-ribbon span { color: var(--gs-color-inverse-muted); font-weight: var(--gs-fw-regular); }
.is-locked .preview-ribbon { display: none; }
