/* ==========================================================================
   DeepPhenoTech website styles
   --------------------------------------------------------------------------
   HOW THIS FILE IS ORGANIZED (so you can find things fast later):
     1. Design tokens   - colors, fonts, spacing. Change a value here and it
                           updates everywhere on the site.
     2. Base / reset    - default element styling
     3. Layout helpers  - container, section spacing, grids
     4. Components      - header, hero, cards, buttons, footer, etc.
        (components are in the same order they appear on the page)
     5. Responsive      - phone/tablet adjustments at the bottom

   TIP: search this file for a section's comment (e.g. "TEAM") to jump
   straight to the styles for that part of the page.
   ========================================================================== */

/* -------------------------------------------------------------------------
   1. DESIGN TOKENS
   Edit these variables to change colors/fonts across the whole site.
   ------------------------------------------------------------------------- */
:root {
  /* Brand colors — pulled directly from your logo and name lockup.
     Used deliberately, not everywhere: this is a deep-tech company that
     happens to be green-branded, not a "green" agriculture site. */
  --canopy: #385623;       /* deep green — matches "Deep" in your logo, primary brand color */
  --leaf: #538135;         /* medium green — matches "PhenoTech" + tagline, secondary accent */
  --signal: #7bd80a;       /* bright leaf-green from the logo gradient — small accents only (dots, underlines, active states) */
  --signal-dark: #5fae06;

  /* Neutrals — white/off-white is the default; charcoal is the deliberate
     "serious tech" contrast used for a handful of sections (see .dark-section) */
  --canvas: #fbfbfa;
  --canvas-alt: #f2f4ef;   /* quiet warm-gray, not sage-green, for alternating sections */
  --surface: #ffffff;
  --charcoal: #14170f;     /* near-black with a whisper of green undertone */
  --charcoal-soft: #202519;
  --ink: #171d12;          /* body text on light backgrounds */
  --ink-soft: #565f4f;
  --border: rgba(23, 29, 18, 0.12);
  --shadow: 0 8px 24px rgba(20, 23, 15, 0.06);
  --shadow-hover: 0 14px 34px rgba(20, 23, 15, 0.1);

  /* Type */
  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-accent: 'Fraunces', Georgia, serif;
  --font-wordmark: 'Poppins', 'Segoe UI', sans-serif; /* matches your logo's bold wordmark */

  /* Layout — sharper, less "startup template rounded" than a typical site */
  --max-width: 1160px;
  --radius: 6px;
  --radius-sm: 4px;
  --section-pad: clamp(64px, 9vw, 112px);
}

/* -------------------------------------------------------------------------
   2. BASE / RESET
   ------------------------------------------------------------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0 0 0.5em 0;
  font-weight: 700;
  color: var(--canopy);
}

p { margin: 0 0 1em 0; }

ul { margin: 0; padding: 0; list-style: none; }

/* Visible keyboard focus everywhere — accessibility floor */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* -------------------------------------------------------------------------
   3. LAYOUT HELPERS
   ------------------------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: var(--section-pad) 0; }

.section-alt { background: var(--canvas-alt); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 14px;
}

.section-head {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-top: 12px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* reveal-on-scroll utility, toggled by js/script.js.
   Progressive enhancement: content is fully visible by default so it never
   depends on JavaScript running. The "js" class (added by the inline script
   in <head>) opts elements into the fade-in-on-scroll animation instead. */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------------
   BUTTONS
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--canopy);
  color: #fff;
  box-shadow: 0 8px 20px rgba(56, 86, 35, 0.25);
}
.btn-primary:hover { background: #2c4319; box-shadow: 0 12px 26px rgba(56, 86, 35, 0.32); }

.btn-outline {
  background: transparent;
  border-color: var(--canopy);
  color: var(--canopy);
}
.btn-outline:hover { background: var(--canopy); color: #fff; }

.btn-signal {
  background: var(--signal);
  color: var(--canopy);
}
.btn-signal:hover { background: var(--signal-dark); }

/* -------------------------------------------------------------------------
   HEADER / NAV
   ------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 251, 248, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img { height: 48px; width: auto; }

/* Matches the bold, blocky wordmark style from your logo file */
.brand-name {
  font-family: var(--font-wordmark);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.01em;
}
.brand-name .deep { color: var(--canopy); }
.brand-name .pheno { color: var(--leaf); }

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--leaf); }

.nav-cta { display: none; }
@media (min-width: 860px) {
  .nav-cta { display: inline-flex; }
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle svg { width: 26px; height: 26px; color: var(--canopy); }

/* -------------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 96px) 0 clamp(48px, 7vw, 80px);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-network {
  position: absolute;
  top: -60px;
  right: -120px;
  width: 620px;
  height: 620px;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}

.hero-copy { position: relative; z-index: 1; }

.hero-copy .eyebrow { display: flex; align-items: center; gap: 8px; }
.hero-copy .eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--signal);
  display: inline-block;
}

.hero-copy h1 {
  font-size: clamp(36px, 5.4vw, 60px);
  letter-spacing: -0.01em;
}
.hero-copy h1 .accent { color: var(--leaf); }

.hero-mission {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-top: 18px;
}

.hero-ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }

.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-meta div { min-width: 120px; }
.hero-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--canopy);
}
.hero-meta span { font-size: 13px; color: var(--ink-soft); }

.hero-visual {
  position: relative;
  z-index: 1;
}
.hero-visual figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--border);
}
.hero-visual img { width: 100%; height: 420px; object-fit: cover; }
.hero-visual figcaption {
  background: var(--canopy);
  color: #fff;
  font-size: 13px;
  padding: 12px 18px;
  font-family: var(--font-display);
}

/* -------------------------------------------------------------------------
   PROBLEM SECTION
   ------------------------------------------------------------------------- */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.problem-card .photo { height: 130px; overflow: hidden; }
.problem-card .photo img { width: 100%; height: 100%; object-fit: cover; }

.problem-card .body { padding: 20px 20px 24px; }

.problem-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--canvas-alt);
  display: flex; align-items: center; justify-content: center;
  color: var(--leaf);
  margin-bottom: 14px;
}
.problem-card .icon svg { width: 22px; height: 22px; }

.problem-card h3 { font-size: 17px; margin-bottom: 8px; }
.problem-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* -------------------------------------------------------------------------
   SOLUTION SECTION
   ------------------------------------------------------------------------- */
.solution-intro {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  margin-top: 12px;
}

.product-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 44px;
}

.product-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.product-panel .tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.product-panel.scan .tag { background: rgba(83, 129, 53, 0.14); color: var(--leaf); }
.product-panel.radi .tag { background: rgba(123, 216, 10, 0.18); color: var(--canopy); }

.product-panel h3 { font-size: 24px; margin-bottom: 6px; }
.product-panel .role { color: var(--ink-soft); font-size: 15px; margin-bottom: 20px; }

.product-panel ul { display: flex; flex-direction: column; gap: 12px; }
.product-panel li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.product-panel li svg {
  width: 18px; height: 18px;
  color: var(--signal-dark);
  flex-shrink: 0;
  margin-top: 3px;
}

/* -------------------------------------------------------------------------
   MARKET / TAM-SAM-SOM
   ------------------------------------------------------------------------- */
.market-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.funnel-visual { display: flex; justify-content: center; }

/* Concentric-circle TAM / SAM / SOM diagram — plain nested divs, no SVG,
   so the labels are real text you can edit directly in the HTML. */
.funnel {
  position: relative;
  width: 320px;
  height: 320px;
  flex-shrink: 0;
}
.ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  padding-top: 22px;
}
.ring-tam { width: 320px; height: 320px; background: rgba(56, 86, 35, 0.08); border: 1.5px dashed rgba(56, 86, 35, 0.35); }
.ring-sam { width: 216px; height: 216px; background: rgba(83, 129, 53, 0.16); border: 1.5px dashed rgba(83, 129, 53, 0.4); }
.ring-som { width: 118px; height: 118px; background: var(--canopy); box-shadow: 0 8px 24px rgba(56,86,35,0.35); padding-top: 38px; }
.ring-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--canopy);
}
.ring-som .ring-label { color: #fff; }

.market-list { display: flex; flex-direction: column; gap: 22px; }

.market-item {
  border-left: 3px solid var(--border);
  padding-left: 20px;
  position: relative;
}
.market-item::before {
  content: '';
  position: absolute;
  left: -7px; top: 4px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--leaf);
}
.market-item.tam::before { border-color: var(--canopy); }
.market-item.som::before { border-color: var(--signal-dark); }

.market-item h3 {
  font-size: 17px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.market-item h3 .figure {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--leaf);
}
.market-item p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* -------------------------------------------------------------------------
   BUSINESS MODEL
   ------------------------------------------------------------------------- */
.revenue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.revenue-col h3 {
  font-size: 20px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.revenue-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.revenue-item:last-child { border-bottom: none; }

.revenue-item .price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--canopy);
  font-size: 15px;
  white-space: nowrap;
}
.revenue-item h4 { margin: 0 0 4px 0; font-size: 15.5px; color: var(--ink); font-family: var(--font-body); font-weight: 600; }
.revenue-item p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* -------------------------------------------------------------------------
   FINANCIALS
   ------------------------------------------------------------------------- */
.financials-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-card {
  background: var(--canopy);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
}
.stat-card .figure {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  display: block;
}
.stat-card .label { font-size: 15px; opacity: 0.85; margin-top: 6px; }
.stat-card.alt { background: var(--leaf); }

/* -------------------------------------------------------------------------
   IMPACT
   ------------------------------------------------------------------------- */
.impact-tagline {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--leaf);
  margin-top: 10px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}

.impact-item { display: flex; gap: 14px; }
.impact-item .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--canopy);
  flex-shrink: 0;
}
.impact-item .icon svg { width: 22px; height: 22px; }
.impact-item h4 { font-size: 15.5px; margin: 0 0 4px 0; color: var(--canopy); }
.impact-item p { font-size: 14px; color: var(--ink-soft); margin: 0; }

.impact-banner {
  margin-top: 48px;
  background: var(--canvas-alt);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.impact-banner div h5 {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--canopy);
  margin: 0 0 4px 0;
}
.impact-banner div p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* -------------------------------------------------------------------------
   ACHIEVEMENTS
   ------------------------------------------------------------------------- */
.achieve-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.achieve-list { display: flex; flex-direction: column; gap: 20px; }
.achieve-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.achieve-list .icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(123, 216, 10, 0.16);
  color: var(--canopy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.achieve-list .icon svg { width: 20px; height: 20px; }
.achieve-list p { margin: 0; font-size: 15px; }
.achieve-list strong { color: var(--canopy); }

.achieve-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.achieve-photos figure { margin: 0; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.achieve-photos img { width: 100%; height: 190px; object-fit: cover; }
.achieve-photos figcaption { font-size: 12.5px; padding: 10px 12px; color: var(--ink-soft); background: var(--surface); }
.achieve-photos .wide { grid-column: 1 / -1; }
.achieve-photos .wide img { height: 220px; }

.collab-list {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.collab-list li {
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface);
}

/* -------------------------------------------------------------------------
   TEAM
   ------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.team-card .photo { height: 240px; overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }

.team-card .body { padding: 22px; }
.team-card h3 { font-size: 18px; margin-bottom: 2px; }
.team-card .role { color: var(--leaf); font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.team-card .role-sub { color: var(--ink-soft); font-size: 13px; margin-bottom: 12px; }
.team-card .bio { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* -------------------------------------------------------------------------
   CONTACT / FOOTER
   ------------------------------------------------------------------------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-row {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.contact-row:last-child { border-bottom: none; }
.contact-row .icon { color: var(--leaf); flex-shrink: 0; }
.contact-row .icon svg { width: 20px; height: 20px; }
.contact-row strong { display: block; font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.contact-row a, .contact-row span { font-size: 15.5px; text-decoration: none; }
.contact-row a:hover { color: var(--leaf); }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--canopy);
  margin-bottom: 6px;
  display: block;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--leaf);
  outline: none;
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: -4px; }

.site-footer {
  background: var(--canopy);
  color: rgba(255,255,255,0.85);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 38px; filter: brightness(0) invert(1); }
.footer-brand span { font-family: var(--font-wordmark); font-weight: 800; font-size: 19px; color: #fff; }
.site-footer p { margin: 0; font-size: 13.5px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; font-size: 13.5px; color: rgba(255,255,255,0.85); }
.footer-links a:hover { color: var(--signal); }

/* -------------------------------------------------------------------------
   PAGE-INTRO (used at the top of every inner page: Technology, Products,
   Applications, About, Collaborations, Contact)
   ------------------------------------------------------------------------- */
.page-intro {
  padding: clamp(48px, 7vw, 72px) 0 20px;
}
.page-intro .eyebrow { margin-bottom: 10px; }
.page-intro h1 { font-size: clamp(32px, 4.6vw, 48px); max-width: 760px; }
.page-intro .lede { font-size: 18px; color: var(--ink-soft); max-width: 680px; margin-top: 14px; }
.breadcrumb { font-size: 13px; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--leaf); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* -------------------------------------------------------------------------
   DARK SECTION — the "serious deep-tech" contrast band. Used sparingly:
   the inside-canopy diagram, the AI/data pipeline, and the closing
   research statement each use this once. Not the whole site.
   ------------------------------------------------------------------------- */
.dark-section {
  background: var(--charcoal);
  color: rgba(255,255,255,0.86);
}
.dark-section h2, .dark-section h3, .dark-section h4 { color: #ffffff; }
.dark-section .eyebrow { color: var(--signal); }
.dark-section p { color: rgba(255,255,255,0.72); }
.dark-section .section-head p { color: rgba(255,255,255,0.72); }

/* -------------------------------------------------------------------------
   PROCESS FLOW — Sense → Capture → Analyse → Understand → Act
   ------------------------------------------------------------------------- */
.process-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 44px;
  position: relative;
}
.process-step {
  position: relative;
  padding: 0 18px 0 0;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  right: -2px;
  width: 20px;
  height: 1px;
  background: var(--border);
}
.dark-section .process-step:not(:last-child)::after { background: rgba(255,255,255,0.2); }
.process-step .num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--signal-dark);
  display: block;
  margin-bottom: 10px;
}
.dark-section .process-step .num { color: var(--signal); }
.process-step h4 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 13.5px; margin: 0; }

/* -------------------------------------------------------------------------
   TECHNOLOGY / APPLICATION CARD GRIDS
   ------------------------------------------------------------------------- */
.tech-grid, .app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tech-card, .app-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tech-card:hover, .app-card:hover { border-color: var(--leaf); transform: translateY(-3px); }
.tech-card .icon, .app-card .icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  color: var(--canopy);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.tech-card .icon svg, .app-card .icon svg { width: 20px; height: 20px; }
.tech-card h3, .app-card h3 { font-size: 17px; margin-bottom: 8px; }
.tech-card p, .app-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }
.app-card .tag-list { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.app-card .tag-list li { font-size: 12px; color: var(--leaf); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px 9px; }

/* -------------------------------------------------------------------------
   INSIDE-THE-CANOPY: photo + comparison
   ------------------------------------------------------------------------- */
.canopy-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}
.canopy-photo { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.14); }
.canopy-photo img { width: 100%; height: 420px; object-fit: cover; display: block; }
.canopy-photo figcaption { padding: 12px 18px; font-size: 13px; background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.65); }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.compare-card {
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.14);
}
.compare-card.conventional { background: rgba(255,255,255,0.04); }
.compare-card.deeppheno { background: rgba(123,216,10,0.09); border-color: rgba(123,216,10,0.35); }
.compare-card .label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 10px;
  display: block;
}
.compare-card.deeppheno .label { color: var(--signal); }
.compare-card h3 { font-size: 19px; margin-bottom: 8px; }
.compare-card p { margin: 0; font-size: 14px; }


/* -------------------------------------------------------------------------
   PRODUCT DETAIL PAGE (products.html)
   ------------------------------------------------------------------------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
  padding: clamp(56px, 8vw, 88px) 0;
  border-bottom: 1px solid var(--border);
}
.product-detail:last-child { border-bottom: none; }
.product-detail.reverse .visual { order: 2; }
.product-detail .status-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--leaf);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 5px 11px;
  margin-bottom: 16px;
}
.product-detail h2 { font-size: clamp(26px, 3vw, 34px); }
.product-detail .role { font-size: 16px; color: var(--ink-soft); margin-bottom: 18px; }
.capability-list { display: grid; gap: 10px; margin: 22px 0; }
.capability-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14.5px;
}
.capability-list li svg { width: 16px; height: 16px; color: var(--signal-dark); flex-shrink: 0; margin-top: 3px; }
.product-detail .users-note { font-size: 13.5px; color: var(--ink-soft); margin-top: 20px; }
.product-detail .users-note strong { color: var(--canopy); }
.product-detail .visual figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); }
.product-detail .visual img { width: 100%; height: 340px; object-fit: cover; }

/* -------------------------------------------------------------------------
   FOUNDER / TEAM (about.html)
   ------------------------------------------------------------------------- */
.founder-block {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 40px;
  align-items: flex-start;
}
.founder-block .photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.founder-block .photo img { width: 100%; height: 340px; object-fit: cover; }
.founder-block h2 { font-size: 26px; margin-bottom: 4px; }
.founder-block .role { color: var(--leaf); font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.founder-block .role-sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.founder-block p { font-size: 15.5px; color: var(--ink-soft); }

.tech-team-card {
  display: flex; gap: 18px; align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 28px;
}
.tech-team-card .photo { width: 76px; height: 76px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.tech-team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.tech-team-card h4 { font-size: 16px; margin-bottom: 2px; }
.tech-team-card .role { color: var(--leaf); font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.tech-team-card p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* -------------------------------------------------------------------------
   ACHIEVEMENT CARDS (collaborations.html)
   ------------------------------------------------------------------------- */
.achievement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.achievement-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.achievement-card .amount { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--canopy); display: block; margin-bottom: 10px; }
.achievement-card h4 { font-size: 15px; margin-bottom: 4px; }
.achievement-card p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.collab-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 14.5px;
}
.collab-card strong { display: block; color: var(--canopy); font-family: var(--font-display); font-size: 15px; margin-bottom: 4px; }
.collab-card span { color: var(--ink-soft); font-size: 13px; }

/* -------------------------------------------------------------------------
   SELECT (contact form dropdown)
   ------------------------------------------------------------------------- */
.contact-form select {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--surface);
  color: var(--ink);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23565f4f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* -------------------------------------------------------------------------
   CINEMATIC SCROLL — sticky background (image or video) that blurs while
   a text panel is in view, and sharpens again in the gaps between panels.
   No Elementor Pro needed — this is plain CSS + a small IntersectionObserver
   in js/script.js. To swap the still image for a real video later, replace
   the <img> in this block with a <video autoplay muted loop playsinline>
   and keep the same class names — the CSS/JS below works for either.
   ------------------------------------------------------------------------- */
.cinematic { position: relative; background: #000; }

.cinematic-bg-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}
.cinematic-bg-wrap img,
.cinematic-bg-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(0px) brightness(0.85);
  transform: scale(1.08);
  transition: filter 0.7s ease;
  animation: cinematicPan 26s ease-in-out infinite alternate;
}
.cinematic-bg-wrap.is-blurred img,
.cinematic-bg-wrap.is-blurred video {
  filter: blur(7px) brightness(0.5);
}
@keyframes cinematicPan {
  0%   { transform: scale(1.08) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1.5%, -1.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .cinematic-bg-wrap img, .cinematic-bg-wrap video { animation: none; }
}

.cinematic-text {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.cinematic-text-inner {
  max-width: 720px;
  text-align: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 36px);
  line-height: 1.45;
  text-shadow: 0 2px 24px rgba(0,0,0,0.55);
}
.cinematic-text-inner .accent { color: var(--signal); }

.cinematic-gap { min-height: 45vh; position: relative; z-index: 1; }


@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual img { height: 300px; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .product-panels { grid-template-columns: 1fr; }
  .market-wrap { grid-template-columns: 1fr; }
  .funnel-visual { order: -1; }
  .revenue-grid { grid-template-columns: 1fr; }
  .financials-wrap { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-banner { grid-template-columns: repeat(3, 1fr); }
  .achieve-wrap { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .process-flow { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process-step::after { display: none; }
  .tech-grid, .app-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .canopy-wrap { grid-template-columns: 1fr; }
  .canopy-photo img { height: 300px; }
  .product-detail { grid-template-columns: 1fr; }
  .product-detail.reverse .visual { order: 0; }
  .founder-block { grid-template-columns: 1fr; }
  .founder-block .photo img { height: 280px; }
  .achievement-grid { grid-template-columns: 1fr 1fr; }
  .collab-grid { grid-template-columns: 1fr 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 65px; left: 0; right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 26px;
    gap: 18px;
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-meta { gap: 20px; }
  .problem-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .impact-banner { grid-template-columns: 1fr 1fr; }
  .achieve-photos { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .process-flow { grid-template-columns: 1fr; }
  .tech-grid, .app-grid { grid-template-columns: 1fr; }
  .achievement-grid { grid-template-columns: 1fr; }
  .collab-grid { grid-template-columns: 1fr; }
  .tech-team-card { flex-direction: column; text-align: center; }
}
