/* Strì public site: Jungle Neon. Plain CSS, system fonts only.
   Tokens are exact per the supplied design pack; painted artwork has its own shading. */
:root {
  color-scheme: dark;
  --jungle-bg: #0f2418;
  --jungle-surface: #162b20;
  --jungle-ink: #effff5;     /* 14.5:1 on --jungle-surface */
  --jungle-muted: #bdd3c5;   /* 9.5:1 */
  --jungle-mint: #2ee59d;    /* 9.2:1, primary action */
  --jungle-pink: #ff4fa3;    /* 4.9:1, secondary punch; large/short text and accents */
  --jungle-line: #365c47;
  --jungle-radius: 1.5rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--jungle-bg); color: var(--jungle-ink);
  font: 1rem/1.6 var(--font); overflow-wrap: break-word; overflow-x: clip;
}
h1, h2 { line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 .6em; font-weight: 900; overflow-wrap: anywhere; }
p { margin: 0 0 1em; max-width: 62ch; text-wrap: pretty; }
a { color: var(--jungle-mint); text-underline-offset: .2em; -webkit-tap-highlight-color: rgba(46, 229, 157, .22); }
a:focus-visible { outline: 3px solid var(--jungle-pink); outline-offset: 5px; }
a:not(.button):focus-visible { border-radius: .25rem; }
#main:focus { outline: none; }
::selection { background: var(--jungle-mint); color: var(--jungle-bg); }

.container { width: min(70rem, calc(100% - min(2.5rem, 12.5vw))); margin-inline: auto; }

.skip { position: absolute; left: 1.25rem; top: 0; max-width: calc(100% - 2.5rem); transform: translateY(-150%); z-index: 20; background: var(--jungle-mint); color: var(--jungle-bg); padding: .7rem 1rem; font-weight: 800; border-radius: .5rem; }
.skip:focus { top: .75rem; transform: none; }
.skip:focus-visible { box-shadow: 0 0 0 11px var(--jungle-bg); }

/* Header */
.site-header { padding: 1.2rem 0; background: var(--jungle-bg); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark-link { display: block; flex: none; }
.wordmark { display: block; width: clamp(8.5rem, 18vw, 15rem); height: auto; aspect-ratio: 2022 / 778; object-fit: contain; }
.site-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.3rem; }
.site-nav a { display: inline-block; padding: .55rem 0; color: var(--jungle-ink); text-decoration: none; font-weight: 600; }
.site-nav a:hover { color: var(--jungle-mint); text-decoration: underline; text-decoration-thickness: 2px; }

/* Hero (also used by the 404 page). The artwork fades into the page colour at top and bottom. */
.hero {
  position: relative; isolation: isolate;
  background: var(--jungle-bg) url("/assets/jungle/hero-desktop.webp") center / cover no-repeat;
  padding: clamp(3rem, 6.5vw, 7rem) 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, var(--jungle-bg), transparent clamp(2rem, 6vw, 5rem)),
    linear-gradient(0deg, var(--jungle-bg), transparent clamp(2.5rem, 7vw, 6rem)),
    linear-gradient(90deg, rgba(15, 36, 24, .45), transparent 75%);
}
.hero-copy { max-width: 38rem; }
.hero h1 { font-size: clamp(2.7rem, 5.2vw, 5.25rem); margin-bottom: 1.6rem; color: var(--jungle-ink); }
.hero p { font-size: 1.15rem; color: var(--jungle-muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.6rem; margin-top: 2rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .85rem 1.4rem;
  background: var(--jungle-mint); color: var(--jungle-bg); border-radius: .65rem;
  text-decoration: none; font-weight: 800; font-size: 1rem; transition: transform .18s;
}
.button:active { transform: none; filter: brightness(.92); }
.quiet-link { display: inline-block; padding: .75rem 0; color: var(--jungle-ink); font-weight: 600; font-size: 1rem; }
@media (hover: hover) {
  .button:hover { transform: translateY(-2px); }
  .quiet-link:hover, .contact-link:hover { color: var(--jungle-mint); }
}

/* Sections and panels */
.section { position: relative; padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-editorial { padding-bottom: 0; }
#building { scroll-margin-top: calc(-1 * clamp(3.5rem, 7vw, 6rem)); }
.editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; position: relative; z-index: 1; }
.panel {
  padding: min(clamp(1.5rem, 4vw, 3rem), 7.5vw); border: 1px solid var(--jungle-line);
  border-radius: var(--jungle-radius); background: var(--jungle-surface);
}
.panel h2 { font-size: clamp(2rem, 3vw, 3.2rem); }
.panel p { color: var(--jungle-muted); }
.panel.policy h1 { font-size: clamp(2rem, 6vw, 3rem); }
.panel.policy h2 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-top: 2.25rem; }
.policy ul { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--jungle-muted); }
.policy li { margin-bottom: .4rem; }
.eyebrow { margin: 0 0 .75rem; color: var(--jungle-mint); text-transform: uppercase; letter-spacing: .13em; font-size: .8rem; font-weight: 800; }
.panel .eyebrow { color: var(--jungle-mint); }
.panel .eyebrow-pink { color: var(--jungle-pink); }
.panel .founder { color: var(--jungle-ink); font-weight: 600; }

/* Decorative corner foliage, flush to the page's bottom-right corner so its cut edges run off-screen.
   It stays inside the footer plus the empty padding above it, so it never sits under copy. */
.decorative-leaf {
  position: absolute; z-index: 2; right: 0; bottom: 0;
  width: min(clamp(112px, 13vw, 192px), 28vw); height: auto; aspect-ratio: 1283 / 1226;
  pointer-events: none; user-select: none;
}

.product-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; border-color: var(--jungle-pink); }
.product-panel p:last-child { margin-bottom: 0; }
.product-art { display: block; width: 100%; max-width: 28rem; height: auto; aspect-ratio: 1 / 1; border-radius: 1rem; }
/* Shown exactly as written ("Lock In"): no text-transform. */
.panel .product-tag { margin: 0 0 1rem; color: var(--jungle-pink); font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; }

.section-contact { isolation: isolate; background: var(--jungle-bg) url("/assets/jungle/hero-desktop.webp") center / cover no-repeat; }
.section-contact::before, .section-contact::after { content: ""; position: absolute; left: 0; right: 0; z-index: -1; pointer-events: none; height: clamp(3rem, 8vw, 7rem); }
.section-contact::before { top: 0; background: linear-gradient(var(--jungle-bg), transparent); }
.section-contact::after { bottom: 0; background: linear-gradient(transparent, var(--jungle-bg)); }
.section-contact .panel { background: rgba(15, 36, 24, .97); }
.contact-link { display: inline-block; padding: .4rem 0; font-size: clamp(1.2rem, 4vw, 2rem); font-weight: 800; overflow-wrap: anywhere; }

.site-footer { position: relative; padding: 2rem 0 3rem; color: var(--jungle-muted); background: var(--jungle-bg); }
.site-footer p { margin: 0; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; }
.footer-link { display: inline-block; padding: .7rem 0; color: var(--jungle-muted); }
.footer-link:hover { color: var(--jungle-mint); }

/* 404: reuses the hero, centred vertically */
.notfound { min-height: 100vh; min-height: 100dvh; display: grid; align-content: center; }
.notfound .wordmark-link { width: fit-content; margin-bottom: clamp(2rem, 8vw, 4rem); }
.notfound h1 { font-size: clamp(2.2rem, 6vw, 4rem); }

@media (min-width: 701px) {
  .hero-copy { max-width: min(38rem, 56vw); }
  .hero-actions { max-width: min(100%, 48vw); }
  .hero h1 { text-wrap: balance; }
  .contact-link { font-size: clamp(1.2rem, 3.1vw, 2rem); }
}
@media (min-width: 701px) and (max-height: 520px) {
  .hero { padding-block: 2rem; }
  .hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 1rem; }
  .hero-actions { margin-top: 1rem; }
}
@media (max-width: 700px) {
  .site-header .container { align-items: flex-start; flex-direction: column; gap: .75rem; }
  .site-nav { gap: 0 1.2rem; font-size: .95rem; }
  .hero { background-image: url("/assets/jungle/hero-mobile.webp"); padding-block: 4.5rem; }
  .hero::before {
    background:
      linear-gradient(180deg, var(--jungle-bg), transparent 1.5rem),
      linear-gradient(0deg, var(--jungle-bg), transparent 2.5rem),
      rgba(15, 36, 24, .62);
  }
  .hero h1 { font-size: min(2.7rem, 20vw); }
  .panel h2 { font-size: min(clamp(2rem, 3vw, 3.2rem), 14vw); }
  .editorial-grid, .product-panel { grid-template-columns: minmax(0, 1fr); }
  .product-panel { gap: 1.8rem; }
  .product-art { max-width: 20rem; margin: auto; }
  .section-contact { background-image: url("/assets/jungle/hero-mobile.webp"); }
}
@media (max-width: 499px) {
  .site-nav { display: grid; grid-template-columns: repeat(2, minmax(0, auto)); justify-content: start; gap: 0 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .button { border: 2px solid ButtonText; }
  .hero, .section-contact { background-image: none; }
}
@media print {
  html, body { background: #fff !important; color: #000 !important; }
  .site-header, .hero, .section-contact, .site-footer, .panel { background: none !important; }
  .panel, .product-panel { border-color: #000; }
  *, *::before, *::after { color: #000 !important; }
  a { color: #000 !important; text-decoration: underline; }
  .hero::before, .section-contact::before, .section-contact::after, .decorative-leaf, .site-nav, .skip, .button { display: none !important; }
  .panel, .product-panel, .hero-copy { break-inside: avoid; }
}
