  :root {
    /* base colors */
    --white: #F7FAF7;
    --off-white: #EEF5EF;
    --pure-white: #FFFFFF;
    --black: #000000;
    --green-deep: #002D07;
    --green-mid: #006610;
    --green-accent: #00C825;
    --green-light: #C8F0CF;
    --green-xlight: #EAF9ED;
    --line: #C0DEC5;
    --line-dark: #5A9965;
    --text-muted: #3D5E42;
    --text-dim: #7A9E80;
    /* contextual darks */
    --modal-overlay: #001404;
    --modal-dark: #001B05;
    --overlay-dark: #000F03;
    --footer-muted: #A0C8A5;
    /* fonts */
    --font-display: 'Syne', sans-serif;
    --font-mono: 'DM Mono', monospace;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--white);
    color: var(--green-deep);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    background: color-mix(in srgb, var(--white) 90%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    height: 52px;
  }
  .nav-logo {
    display: flex;
    align-items: center;
    padding: 0 28px;
    text-decoration: none;
  }
  /* full brand logo — symbol + wordmark */
  .logo-full {
    height: 38px;
    width: auto;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 0 6px color-mix(in srgb, var(--green-accent) 35%, transparent));
  }
  .nav-logo:hover .logo-full {
    transform: scale(1.03);
    filter: drop-shadow(0 0 8px color-mix(in srgb, var(--green-accent) 55%, transparent)) drop-shadow(0 0 16px color-mix(in srgb, var(--green-accent) 25%, transparent));
  }
  .nav-links {
    display: flex;
    align-items: stretch;
    list-style: none;
    margin-left: auto;
  }
  .nav-links li { display: flex; }
  .nav-links a {
    display: flex;
    align-items: center;
    padding: 0 24px;
    font-size: 11px;
    font-weight: normal;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--green-mid);
    transition: background 0.15s, color 0.15s;
  }
  .nav-links a:hover { background: var(--green-xlight); color: var(--green-mid); }
  .nav-cta {
    background: var(--green-mid) !important;
    color: var(--green-light) !important;
    border-left: none !important;
  }
  .nav-cta:hover { background: var(--green-accent) !important; color: var(--white) !important; }

  /* ── HERO ── */
  .hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding-top: 52px;
    background: var(--green-deep);
  }
  .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  .hero-center {
    position: absolute;
    inset: 52px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
    padding: 24px;
    z-index: 3;
  }
  .hero-center .btn { margin: 0; }
  .hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(48px, 5vw, 80px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: var(--white);
    text-shadow: 0 2px 24px color-mix(in srgb, var(--overlay-dark) 55%, transparent);
  }
  .hero-tagline em {
    font-style: italic;
    font-family: inherit;
    font-weight: 500;
    color: var(--green-accent);
  }

  /* ── SHARED ── */
  .wrap { max-width: 1100px; margin: 0 auto; padding: 0 48px; }
  section { border-top: 1px solid var(--line); padding: 80px 0; }

  .section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
  }
  .section-code {
    font-size: 9px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--text-dim);
  }

  /* ── INTRO ── */
  .intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .intro-headline {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 42px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 0;
  }
  .intro-body { color: var(--text-muted); line-height: 1.9; margin-bottom: 28px; }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-mid);
    color: var(--green-light);
    padding: 13px 26px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    /* leaf / drop shape — rounded with one pointed corner */
    border-radius: 22px 22px 22px 2px;
    border: none;
    cursor: pointer;
    transition: background 0.15s, border-radius 0.3s cubic-bezier(0.16,1,0.3,1);
    margin-right: 16px;
  }
  .btn:hover {
    background: var(--green-accent);
    border-radius: 2px 22px 22px 22px;
  }

  .no-scroll { overflow: hidden; }

  .film-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: color-mix(in srgb, var(--modal-overlay) 86%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .film-modal.open { display: flex; }
  .film-modal-dialog {
    display: flex;
    flex-direction: column;
    width: min(1000px, 100%);
    background: var(--modal-dark);
    border: 1px solid color-mix(in srgb, var(--green-light) 20%, transparent);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 24px 60px color-mix(in srgb, var(--black) 50%, transparent);
  }
  .film-modal-close {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    background: var(--green-mid);
    border: none;
    color: var(--green-light);
    padding: 8px 16px;
    font-family: var(--font-mono);
    font-size: 9px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 16px 16px 16px 2px;
    transition: background 0.15s, border-radius 0.3s cubic-bezier(0.16,1,0.3,1);
  }
  .film-modal-close:hover {
    background: var(--green-accent);
    color: var(--white);
    border-radius: 2px 16px 16px 16px;
  }
  #film-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    max-height: 78vh;
    display: block;
    background: var(--black);
    border: 0;
    border-radius: 12px;
  }

  /* ── MARQUEE STRIP ── */
  .marquee-strip {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    background: var(--green-deep);
  }
  .marquee-inner {
    display: flex;
    width: max-content;
    animation: marquee 24s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
  }
  .marquee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 5px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--white) 50%, transparent);
    flex-shrink: 0;
  }
  .marquee-item span {
    display: inline-block;
    width: 14px;
    height: 14px;
    font-size: 0;
    line-height: 0;
    flex-shrink: 0;
    background: url(img/brand/leaf.svg) center / contain no-repeat;
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }

  /* ── PERSONNEL ── */
  #personnel { background: var(--green-deep); }
  .personnel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 10px; background: var(--green-deep); }
  .personnel-card { position: relative; overflow: hidden; aspect-ratio: 3/4; background: var(--green-deep); }
  .personnel-card img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    filter: none;
    transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  }
  .personnel-card:hover img { transform: scale(1.03); }
  .personnel-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 32px 14px 14px;
    background: linear-gradient(transparent, color-mix(in srgb, var(--overlay-dark) 82%, transparent));
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  .personnel-card:hover .personnel-overlay,
  .personnel-card:focus-within .personnel-overlay { opacity: 1; }
  .personnel-name {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    color: var(--pure-white);
    letter-spacing: 0.01em;
    transform: translateY(8px);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  }
  .personnel-card:hover .personnel-name,
  .personnel-card:focus-within .personnel-name { transform: translateY(0); }
  .personnel-role {
    margin-top: 4px;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--pure-white) 72%, transparent);
    transform: translateY(8px);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1) 0.06s;
  }
  .personnel-card:hover .personnel-role,
  .personnel-card:focus-within .personnel-role { transform: translateY(0); }
  .personnel-badge {
    position: absolute;
    top: 0; left: 0; right: 0;
    background: var(--green-deep);
    height: 3px;
  }

  /* ── PROTOCOLS (missions) ── */
  .protocols-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .protocol {
    padding: 44px;
    transition: background 0.2s;
    position: relative;
  }
  .protocol-code {
    font-size: 17px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--green-accent);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .protocol-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 16px;
  }
  .protocol-text { font-size: 14px; color: var(--text-muted); line-height: 1.85; }
  .protocol-text strong { color: var(--green-deep); font-weight: 400; }

  /* ── FAQ / DOCUMENTATION ── */
  .doc-content { padding: 0; }

  .faq-item { border-bottom: 1px solid var(--line); }
  .faq-q {
    width: 100%; background: none; border: none; cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    text-align: left;
    gap: 16px;
    border-left: 3px solid transparent;
    transition: border-color 0.2s, background 0.15s;
  }
  .faq-q:hover { background: var(--green-xlight); }
  .faq-item.open .faq-q { background: var(--green-xlight); }
  .faq-num { display: none; }
  .faq-q-text { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--green-deep); }
  .faq-icon { font-size: 16px; color: var(--text-dim); transition: transform 0.3s, color 0.2s; font-weight: 300; text-align: right; }
  .faq-item.open .faq-icon { transform: rotate(45deg); color: var(--green-accent); }

  .faq-body { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1); }
  .faq-item.open .faq-body { max-height: 900px; }
  .faq-body-inner {
    padding: 10px 28px 32px 28px;
    display: flex; flex-direction: column; gap: 14px;
  }
  .faq-body-inner p { font-size: 13px; color: var(--text-muted); line-height: 1.95; }
  .faq-body-inner strong { color: var(--green-deep); font-weight: 400; }

  /* ── VISUAL SECTION (brand transformation) ── */
  .brand-interstitial {
    background: var(--green-deep);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: clamp(16px, 4vw, 56px);
    padding: clamp(64px, 9vw, 110px) 24px;
  }
  .transform-step {
    margin: 0;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .transform-mark {
    width: clamp(84px, 11vw, 148px);
    height: auto;
    display: block;
  }
  .transform-step figcaption {
    font-family: var(--font-mono);
    font-style: italic;
    font-size: clamp(12px, 1.3vw, 15px);
    line-height: 1.45;
    text-align: center;
    color: var(--white);
  }
  .transform-arrow {
    flex: 0 0 auto;
    width: clamp(40px, 6vw, 88px);
    height: 16px;
    color: var(--white);
    margin-top: calc(clamp(84px, 11vw, 148px) / 2 - 8px);
  }

  /* ── TESTIMONIALS ── */
  .testimonial-track-wrapper { overflow: hidden; width: 100%; }
  .testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
  }
  .testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 24px 8px;
  }
  .feedback-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2.5vw, 34px);
    max-width: 820px;
    height: clamp(80px, 11vw, 115px);
    margin: 0 auto;
    text-align: center;
    font-family: var(--font-mono);
    font-style: italic;
    font-weight: 500;
    font-size: 25px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--green-deep);
  }
  .feedback-quote-text {
    display: block;
    max-height: 100%;
    overflow: hidden;
  }
  .feedback-quote::before,
  .feedback-quote::after {
    content: "";
    flex: 0 0 auto;
    width: clamp(34px, 4vw, 52px);
    aspect-ratio: 313.25 / 198.56;
    background: url(img/brand/double_leaf.svg) center / contain no-repeat;
  }
  .feedback-quote::before { align-self: flex-start; }
  .feedback-quote::after { align-self: flex-end; transform: rotate(180deg); }
  .feedback-entry-header {
    margin: 26px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  .feedback-entry-header span + span::before {
    content: "—";
    margin-right: 12px;
    color: var(--line-dark);
  }
  .feedback-line { display: none; }
  .testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding-top: 32px;
  }
  .testimonial-btn {
    background: none;
    border: none;
    color: var(--text-dim);
    padding: 4px 6px;
    font-family: var(--font-mono);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.15s;
  }
  .testimonial-btn:hover { color: var(--green-accent); }
  .testimonial-counter {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
  }

  /* ── TESTIMONIAL SUBMISSION ── */
  .testimonial-submit {
    text-align: center;
    margin-top: 40px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
  }
  .testimonial-submit .btn { margin: 0; }
  .testimonial-form-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.16,1,0.3,1);
  }
  .testimonial-form-panel.open { grid-template-rows: 1fr; }
  .testimonial-form-inner {
    overflow: hidden;
    min-height: 0;
  }
  #testimonial-form {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px 8px 8px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: left;
  }
  .tf-botcheck { display: none; }
  .tf-field { display: flex; flex-direction: column; gap: 7px; flex: 1; }
  .tf-label {
    font-size: 9px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
  }
  .tf-label em { font-style: italic; text-transform: none; letter-spacing: 0.08em; }
  .tf-field input,
  .tf-field textarea {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--green-deep);
    background: var(--pure-white);
    border: 1px solid var(--line);
    border-radius: 2px;
    padding: 11px 14px;
    transition: border-color 0.15s, background 0.15s;
  }
  .tf-field textarea { resize: vertical; min-height: 96px; }
  .tf-field input::placeholder,
  .tf-field textarea::placeholder { color: var(--text-dim); font-style: italic; }
  .tf-field input:focus,
  .tf-field textarea:focus {
    outline: none;
    border-color: var(--green-accent);
    background: var(--green-xlight);
  }
  .tf-row { display: flex; gap: 18px; }
  .tf-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--text-muted);
    cursor: pointer;
  }
  .tf-consent input {
    appearance: none;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    border: 1px solid var(--line-dark);
    border-radius: 4px 4px 4px 1px;
    background: var(--pure-white);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
  }
  .tf-consent input:checked {
    background: var(--green-accent) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12"><path d="M2.5 6.5l2.5 2.5 4.5-5" fill="none" stroke="white" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / 10px no-repeat;
    border-color: var(--green-accent);
  }
  .tf-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
  }
  .tf-actions .btn:disabled { opacity: 0.6; cursor: wait; }
  .tf-status { font-size: 11px; color: var(--text-muted); }
  .tf-status.error { color: var(--green-mid); }
  .tf-status a { color: var(--green-mid); }
  .tf-success {
    max-width: 640px;
    margin: 0 auto;
    padding: 32px 8px 8px;
    font-style: italic;
    color: var(--text-muted);
  }

  /* ── FOOTER ── */
  footer {
    border-top: 2px solid var(--green-deep);
    background: var(--green-deep);
    padding: 48px 0 0;
    color: var(--green-light);
  }
  .footer-top {
    display: flex; justify-content: space-between; align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid color-mix(in srgb, var(--pure-white) 8%, transparent);
  }
  .footer-logo { display: flex; align-items: center; }
  .footer-logo-img { height: 40px; }
  .footer-logo:hover .footer-logo-img { transform: scale(1.03); }
  .footer-links { display: flex; gap: 56px; font-size: 9px; }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; text-align: right; }
  .footer-col a { font-size: 11px; color: var(--line-dark); text-decoration: none; transition: color 0.2s; }
  .footer-col a:hover { color: var(--white); }
  .footer-bottom {
    padding: 16px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    border-top: 1px solid color-mix(in srgb, var(--pure-white) 7%, transparent);
  }
  .footer-copy { font-size: 10px; color: var(--line-dark); letter-spacing: 0.05em; }
  .footer-disc { font-size: 9px; color: color-mix(in srgb, var(--footer-muted) 50%, transparent); font-style: italic; font-family: var(--font-display); }

  /* ── REVEAL ── */
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.visible { opacity: 1; transform: none; }
  .d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }

  /* ── RESPONSIVE ── */
  @media (max-width: 860px) {
    nav { padding: 0; }
    .nav-logo { padding: 0 16px; }
    .nav-logo .logo-full { height: 32px; }
    .nav-links { display: none; }
    .wrap { padding: 0 20px; }
    section { padding: 52px 0; }
    .intro-grid, .protocols-grid { grid-template-columns: 1fr; }
    .personnel-grid { grid-template-columns: 1fr 1fr; }
    .brand-interstitial { flex-direction: column; align-items: center; gap: 6px; padding: 64px 24px; }
    .transform-arrow { margin-top: 0; transform: rotate(90deg); margin: 6px 0; }
    .faq-body-inner { padding-left: 28px; }

    /* Let text wrap naturally on mobile instead of using desktop line breaks */
    .br-desktop { display: none; }
    .hero-tagline { font-size: clamp(34px, 9vw, 52px); }

    /* Centered footer on mobile */
    .footer-logo-img { height: 32px; }
    .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 24px; }
    .footer-links { justify-content: center; }
    .footer-col ul { text-align: center; align-items: center; }
    .footer-bottom { flex-direction: column; align-items: center; text-align: center; }

    .film-modal { padding: 12px; }
    .film-modal-dialog { padding: 10px; }
    #film-player { max-height: 70vh; }

    .tf-row { flex-direction: column; }
    .tf-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  }

  /* ── REDUCED MOTION ── */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .marquee-inner { animation: none; }
    .logo-full,
    .reveal,
    .personnel-overlay,
    .personnel-name,
    .personnel-role,
    .personnel-card img { transition: none; }
    .personnel-name,
    .personnel-role { transform: none; }
    .testimonial-form-panel { transition: none; }
  }
