/*
Theme Name: Kokua Pharma
Theme URI: https://kokuapharma.com
Description: Custom theme for Kokua Pharma investor site
Version: 1.6
Last Updated: 2026-03-23
Text Domain: kokua-pharma

TABLE OF CONTENTS
=================
1. CSS Variables & Reset
2. Typography & Base
3. Layout Components
4. Header & Navigation
5. Hero Sections
6. Content Sections
7. Cards & Boxes
8. Pipeline & Tables
9. Key Points Grid
10. Team Sections
11. Contact Sections
12. Forms
13. Science Page & Side Navigation
14. Footer
15. Utility Classes
16. Responsive Styles
17. WordPress Admin Bar Fix
*/


/* =============================================
   1. CSS VARIABLES & RESET
   ============================================= */

:root {
    --color-dark-teal: #1F4D3D;
    --color-orange: #F7941D;
    --color-lime-green: #A4D65E;
    --color-light-gray: #F8F9FA;
    --color-dark-gray: #2C3E50;
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


/* =============================================
   2. TYPOGRAPHY & BASE
   ============================================= */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: var(--color-dark-gray);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Superscript styling for citations */
sup {
    color: var(--color-orange);
    font-weight: 600;
}


/* =============================================
   3. LAYOUT COMPONENTS
   ============================================= */

.site-main {
    padding-top: 64px;
}

.content-section {
    padding: 80px 24px;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-container-narrow {
    max-width: 900px;
    margin: 0 auto;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}


/* =============================================
   4. HEADER & NAVIGATION
   ============================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
    z-index: 1000;
}

.site-header > div {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--color-orange);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.site-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark-teal);
}

.site-title span {
    color: var(--color-orange);
}

.main-navigation ul {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
}

.main-navigation a {
    color: var(--color-dark-gray);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.main-navigation a:hover {
    color: var(--color-orange);
}


/* =============================================
   5. HERO SECTIONS
   ============================================= */

.hero-section {
    background: linear-gradient(135deg, var(--color-dark-teal), #2A5F4D);
    color: white;
    padding: 120px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section .hero-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-lime-green);
    margin-bottom: 16px;
}

.hero-subtitle-large {
    font-size: 20px;
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-lime-green);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-section h1 .highlight {
    color: var(--color-lime-green);
}

.hero-description {
    font-size: 18px;
    opacity: 0.85;
    margin-bottom: 12px;
    line-height: 1.6;
}

.hero-meta {
    font-size: 14px;
    opacity: 0.6;
    margin-bottom: 32px;
}

/* Single Page Hero */
.hero-single-page {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, var(--color-dark-teal), #2A5F4D);
    text-align: center;
    color: white;
}

.hero-single-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Page Header */
.page-header {
    margin-top: 0 !important;
    padding: 100px 24px 60px;
    background: linear-gradient(135deg, var(--color-dark-teal), #2A5F4D);
    color: white;
    text-align: center;
}

.page-hero {
    padding: 80px 24px 60px;
}

.page-intro {
    font-size: 18px;
    opacity: 0.9;
    margin-top: 12px;
}

/* Ensure first section starts correctly */
body > section:first-of-type,
.page-header {
    margin-top: 0 !important;
}


/* =============================================
   6. CONTENT SECTIONS
   ============================================= */

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-orange);
    margin-bottom: 12px;
}

.section-label-light {
    color: var(--color-lime-green);
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-dark-teal);
    margin-bottom: 32px;
}

.subsection-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 24px;
}

.subsection-title-science {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 16px;
}

.text-content {
    color: #555;
    line-height: 1.7;
}

.text-content p {
    margin-bottom: 16px;
}

.about-text {
    color: #555;
    line-height: 1.7;
}

.about-text p {
    margin-bottom: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* About Single */
.about-single {
    padding: 80px 24px;
    background: white;
}

/* Science Single */
.science-single {
    padding: 80px 24px;
    background: #f8f8f8;
}

/* Connector text between sections */
.connector-text {
    font-style: italic;
    color: var(--color-dark-teal);
    font-weight: 500;
    margin-top: 16px;
}


/* =============================================
   7. CARDS & BOXES
   ============================================= */

/* Market Context Box */
.market-context-box {
    background: #f8f8f8;
    padding: 24px;
    border-radius: 12px;
}

.bg-gray .market-context-box {
    background: white;
}

.market-context-box h4 {
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 16px;
}

.market-context-box p {
    font-size: 14px;
    margin-bottom: 12px;
}

.market-context-box p:last-child {
    margin-bottom: 0;
}

.market-list {
    font-size: 14px;
}

.market-list p {
    margin-bottom: 12px;
}

.market-list p:last-child {
    margin-bottom: 0;
}

/* Key Facts Box */
.key-facts-box {
    background: #f8f8f8;
    padding: 32px;
    border-radius: 12px;
}

.key-facts-box h4 {
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 16px;
}

.key-facts-box p {
    margin-bottom: 20px;
}

.key-facts-box p:last-child {
    margin-bottom: 0;
}

/* Callout Box */
.callout-box {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    border-left: 4px solid var(--color-orange);
}

.callout-box p {
    margin: 0;
    line-height: 1.7;
}

/* Contact Card */
.contact-card {
    background: #f8f8f8;
    padding: 32px;
    border-radius: 12px;
}

.contact-card h3 {
    color: var(--color-dark-teal);
    margin-bottom: 16px;
}

.contact-card a {
    color: var(--color-orange);
    font-weight: 600;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Bullets */
.bullet {
    margin-right: 8px;
}

.bullet-orange {
    color: var(--color-orange);
    margin-right: 8px;
}

.bullet-green {
    color: var(--color-lime-green);
    margin-right: 8px;
}

.rezq-text {
    color: var(--color-dark-teal);
}


/* =============================================
   8. PIPELINE & TABLES
   ============================================= */

/* Pipeline Table */
.pipeline-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pipeline-table table {
    width: 100%;
    border-collapse: collapse;
}

.pipeline-table thead {
    background: var(--color-dark-teal);
    color: white;
}

.pipeline-table th {
    padding: 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.pipeline-table th.center {
    text-align: center;
}

.pipeline-table td {
    padding: 20px 16px;
}

.pipeline-table .product-name {
    font-weight: 600;
    color: var(--color-dark-teal);
}

.pipeline-table .indication {
    color: #666;
}

/* Pipeline Chart (alternate style) */
.pipeline-chart {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.pipeline-header {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1fr 1fr;
    background: var(--color-dark-teal);
    color: white;
    padding: 16px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.pipeline-header span:nth-child(n+3) {
    text-align: center;
}

.pipeline-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1fr 1fr;
    padding: 20px 16px;
    align-items: center;
}

.product-name {
    font-weight: 600;
    color: var(--color-dark-teal);
}

.indication-text {
    color: #666;
    font-size: 14px;
}

/* Pipeline Bar */
.pipeline-bar {
    height: 8px;
    border-radius: 4px;
    margin: 0 8px;
}

.pipeline-bar.complete {
    background: var(--color-lime-green);
}

.pipeline-bar.half-complete {
    background: linear-gradient(to right, var(--color-lime-green) 50%, #e0e0e0 50%);
}

.pipeline-bar.incomplete {
    background: #e0e0e0;
}

.pipeline-footnote {
    font-size: 11px;
    color: #888;
    font-style: italic;
    margin-top: 10px;
    margin-bottom: 32px;
    text-align: right;
    line-height: 1.4;
}

/* About page highlight row */
.about-highlight-row {
    background: rgba(164, 214, 94, 0.15);
}

.about-highlight-row td {
    color: var(--color-dark-teal);
    font-weight: 500;
}


/* =============================================
   9. KEY POINTS GRID
   ============================================= */

.key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.key-point-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--color-orange);
}

.key-point-card h4 {
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 8px;
}

.key-point-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.key-points-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.key-point-simple {
    background: white;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--color-orange);
}

.key-point-simple h4 {
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 8px;
}

.key-point-simple p {
    font-size: 14px;
    color: #666;
    margin: 0;
}


/* =============================================
   10. TEAM SECTIONS
   ============================================= */

.team-single {
    padding: 80px 24px;
    background: white;
}

.team-intro {
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

.team-intro-single {
    color: #666;
    margin-bottom: 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.team-grid-single {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Team Member Card */
.team-member-card {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
}

.team-card-single {
    background: #f8f8f8;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
}

.team-member-avatar,
.team-avatar-single {
    width: 56px;
    height: 56px;
    background: var(--color-dark-teal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-weight: 600;
}

.team-member-info h4,
.team-info-single h4 {
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 2px;
}

.team-member-title,
.team-role-single {
    font-size: 14px;
    color: var(--color-orange);
    font-weight: 500;
    margin-bottom: 4px;
}

.team-member-track,
.team-track-single {
    font-size: 12px;
    color: #666;
}

/* Team Page - Full Profiles */
.team-members-full {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.team-member-profile {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 32px;
}

.team-member-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.team-avatar-large {
    width: 72px;
    height: 72px;
    background: var(--color-dark-teal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-weight: 600;
    font-size: 24px;
}

/* Team Photo with B&W + Teal Duotone Treatment */
.team-photo-wrap {
    width: 128px;
    height: 128px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%) contrast(1.15) brightness(1.05);
}

.team-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,92,76,0.08) 0%, rgba(26,92,76,0.03) 100%);
    mix-blend-mode: color;
    pointer-events: none;
}

.team-member-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin: 0 0 4px 0;
}

.team-role {
    font-size: 15px;
    color: var(--color-orange);
    font-weight: 500;
    margin: 0;
}

.team-member-bio {
    color: #555;
    line-height: 1.7;
}

.team-member-bio p {
    margin-bottom: 12px;
}

.team-member-bio p:last-child {
    margin-bottom: 0;
}

/* Team page CTA box */
.team-cta-box {
    margin-top: 48px;
    padding: 32px;
    background: #f8f9fa;
    border-radius: 12px;
    text-align: center;
}

.team-cta-box h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 8px;
}

.team-cta-box p {
    color: #555;
    font-size: 15px;
    margin-bottom: 0;
}


/* =============================================
   11. CONTACT SECTIONS
   ============================================= */

.contact-section {
    padding: 64px 24px;
    background: var(--color-dark-teal);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-orange), var(--color-lime-green));
}

.contact-section .container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.contact-content {
    flex: 1;
}

.contact-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-lime-green);
}

.contact-description {
    font-size: 18px;
    color: rgba(255,255,255,0.95);
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: 20px;
}

.contact-cta {
    flex: 0 0 auto;
    text-align: right;
}

.contact-section .section-label {
    color: var(--color-lime-green);
    margin-bottom: 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-section .btn {
    background: var(--color-orange);
    padding: 16px 40px;
    font-size: 16px;
}

.contact-section .btn:hover {
    background: #e88315;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 148, 29, 0.4);
}

/* Contact Single */
.contact-single {
    padding: 64px 24px;
    background: var(--color-dark-teal);
    text-align: center;
}

.contact-title-single {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
}


/* =============================================
   12. FORMS
   ============================================= */

.contact-form-draft {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group .required {
    color: var(--color-orange);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: white;
    color: var(--color-dark-gray);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact form checkbox */
.contact-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
}

.contact-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-orange);
}

.contact-checkbox label {
    font-size: 14px;
    color: #555;
    cursor: pointer;
}

/* Contact page intro */
.contact-intro {
    max-width: 500px;
    margin-bottom: 40px;
}

.contact-intro p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.contact-intro .contact-email {
    margin-top: 20px;
}

.contact-intro .contact-email a {
    color: var(--color-orange);
    text-decoration: none;
}

.contact-intro .contact-email a:hover {
    text-decoration: underline;
}


/* =============================================
   13. SCIENCE PAGE & SIDE NAVIGATION
   ============================================= */

.science-page-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Sticky nav */
.science-side-nav {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    width: 180px;
    flex-shrink: 0;
    padding: 40px 24px;
    height: fit-content;
}

.science-side-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 2px solid #e0e0e0;
}

.science-side-nav li {
    margin: 0;
    padding: 0;
}

.science-side-nav a {
    display: block;
    padding: 10px 16px;
    margin-left: -2px;
    border-left: 2px solid transparent;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.science-side-nav a:hover {
    color: var(--color-dark-teal);
    border-left-color: var(--color-orange);
}

.science-side-nav a.active {
    color: var(--color-dark-teal);
    border-left-color: var(--color-orange);
    font-weight: 600;
}

/* Main content area */
.science-content {
    flex: 1;
    min-width: 0;
    background: white;
}

/* Section inner container - narrower for readability */
.science-section-inner {
    max-width: 720px;
    padding: 0 40px 0 20px;
}

/* Section label as divider - orange accent line above */
.science-section-inner .section-label {
    font-size: 14px;
    letter-spacing: 2.5px;
    padding-top: 48px;
    margin-top: 0;
    position: relative;
}

.science-section-inner .section-label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-orange);
}

/* First section doesn't need the top accent (hero is right above) */
#rationale .section-label::before,
#biology .section-label::before {
    display: none;
}

#rationale .section-label,
#biology .section-label {
    padding-top: 0;
}

/* Science prose - clean readable text */
.science-prose {
    font-size: 16px;
    line-height: 1.75;
    color: #444;
}

.science-prose p {
    margin-bottom: 16px;
}

.science-prose p:last-child {
    margin-bottom: 0;
}

/* Advantages - 4 column grid */
.science-advantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.science-advantage {
    padding-top: 16px;
    border-top: 2px solid var(--color-orange);
}

.science-advantage h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 8px;
}

.science-advantage p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Clinical observations */
.science-observations {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.science-observation {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
}

.science-observation-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-orange);
    margin-bottom: 12px;
}

.science-observation p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Science callout - the key insight */
.science-callout {
    margin-top: 32px;
    margin-bottom: 32px;
    padding: 24px 32px;
    background: #f0f7f4;
    border-radius: 8px;
    text-align: center;
}

.science-callout p {
    font-size: 17px;
    color: var(--color-dark-teal);
    line-height: 1.6;
    margin: 0;
}

/* Results section */
.science-results {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.science-results h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 20px;
}

.science-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.science-result {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.science-result-icon {
    color: var(--color-lime-green);
    font-size: 10px;
    margin-top: 5px;
    flex-shrink: 0;
}

.science-result p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Product attributes - horizontal 3-col */
.science-attributes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid #eee;
}

.science-attribute h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 6px;
}

.science-attribute p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Evidence grid */
.science-evidence-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.science-evidence-item {
    padding-top: 16px;
    border-top: 2px solid var(--color-dark-teal);
}

.science-evidence-item h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 8px;
}

.science-evidence-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.science-evidence-item a {
    color: var(--color-orange);
    font-weight: 500;
    text-decoration: none;
}

.science-evidence-item a:hover {
    text-decoration: underline;
}

/* References - simple list */
.science-references {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
    padding-left: 20px;
    margin: 0;
}

.science-references li {
    margin-bottom: 12px;
}

.science-references li:last-child {
    margin-bottom: 0;
}

.science-references em {
    font-style: italic;
}

/* Diagram */
.science-diagram {
    margin-top: 48px;
    text-align: center;
}

.science-diagram h4 {
    margin: 0 0 16px 0;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

.science-diagram-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 24px;
}

.science-diagram img {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
}

.science-diagram-caption {
    font-size: 12px;
    color: #888;
    font-style: italic;
    max-width: 500px;
    margin: 0 auto;
}

/* Team callout */
.science-team-callout {
    margin-top: 48px;
    padding: 32px;
    background: #f8f9fa;
    border-left: 4px solid var(--color-dark-teal);
}

.science-team-callout h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 12px;
}

.science-team-callout p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 16px;
}

.science-team-callout .section-link {
    margin-top: 0;
}

/* Section Connectors - Italic transition text between sections */
.section-connector {
    font-style: italic;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
}

/* Key Facts - Horizontal stat display */
.science-key-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
    padding: 32px;
    background: #f8f9fa;
    border-radius: 8px;
}

.science-key-fact {
    text-align: center;
}

.key-fact-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark-teal);
    margin-bottom: 8px;
}

.key-fact-label {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Mast Cell Distribution Table */
.science-data-table {
    margin: 32px 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.science-data-table h4 {
    margin: 0;
    padding: 16px 20px;
    background: var(--color-dark-teal);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.science-data-table table {
    width: 100%;
    border-collapse: collapse;
}

.science-data-table th,
.science-data-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.science-data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.science-data-table tr:last-child td {
    border-bottom: none;
}

.science-data-table .highlight-row {
    background: rgba(31, 77, 61, 0.05);
}

.science-data-table .highlight-row td {
    color: var(--color-dark-teal);
}

/* Featured Quote Callout */
.science-featured-quote {
    margin: 40px 0;
    padding: 32px 40px;
    background: linear-gradient(135deg, var(--color-dark-teal) 0%, #2A5F4D 100%);
    border-radius: 8px;
    position: relative;
}

.science-featured-quote::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 72px;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

.science-featured-quote blockquote {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-style: italic;
    color: #fff;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.science-featured-quote cite {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
}

.science-featured-quote cite em {
    font-style: italic;
}

/* Sulfite Context Box */
.science-sulfite-context {
    margin: 32px 0;
    padding: 24px;
    background: #fff8e6;
    border-left: 4px solid var(--color-orange);
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5a4a00;
}

.science-sulfite-context p {
    margin: 0;
}

/* Team Credentials List */
.team-credentials-list {
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

.team-credentials-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 15px;
    line-height: 1.5;
}

.team-credentials-list li:last-child {
    border-bottom: none;
}

.team-credentials-list strong {
    color: var(--color-dark-teal);
}

/* Diagram Placeholder (fallback if image doesn't load) */
.diagram-placeholder {
    padding: 60px 40px;
    background: #f8f9fa;
    border: 2px dashed #ccc;
    border-radius: 8px;
    text-align: center;
}

.diagram-placeholder p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.diagram-placeholder-note {
    margin-top: 8px !important;
    font-size: 14px !important;
    font-style: italic;
}

/* Section Connectors - Italic transition text between sections */
.section-connector {
    font-style: italic;
    color: #666;
    text-align: center;
    max-width: 600px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
}

/* Key Facts - Horizontal stat display */
.science-key-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 32px 0;
    padding: 32px;
    background: #f8f9fa;
    border-radius: 8px;
}

.science-key-fact {
    text-align: center;
}

.key-fact-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark-teal);
    margin-bottom: 8px;
}

.key-fact-label {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Dual Mechanism boxes */
.science-dual-mechanism {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.science-mechanism {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
}

.mechanism-number {
    width: 36px;
    height: 36px;
    background: var(--color-dark-teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.mechanism-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin: 0 0 4px 0;
}

.mechanism-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Dual Target boxes */
.science-dual-target {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 24px 0 32px;
}

.science-target-box {
    padding: 24px;
    background: var(--color-dark-teal);
    border-radius: 8px;
    text-align: center;
}

.science-target-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-lime-green);
    margin: 0 0 8px 0;
}

.science-target-box p {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    line-height: 1.5;
}

/* Mast Cell Distribution Table */
.science-data-table {
    margin: 32px 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.science-data-table h4 {
    margin: 0;
    padding: 16px 20px;
    background: var(--color-dark-teal);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.science-data-table table {
    width: 100%;
    border-collapse: collapse;
}

.science-data-table th,
.science-data-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.science-data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.science-data-table tr:last-child td {
    border-bottom: none;
}

.science-data-table .highlight-row {
    background: rgba(31, 77, 61, 0.05);
}

.science-data-table .highlight-row td {
    color: var(--color-dark-teal);
}

/* Featured Quote Callout */
.science-featured-quote {
    margin: 32px 0;
    padding: 32px 40px;
    background: linear-gradient(135deg, var(--color-dark-teal) 0%, #2A5F4D 100%);
    border-radius: 8px;
    position: relative;
}

.science-featured-quote::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-size: 72px;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
}

.science-featured-quote blockquote {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-style: italic;
    color: #fff;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.science-featured-quote cite {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-style: normal;
}

.science-featured-quote cite em {
    font-style: italic;
}

/* Sulfite Context Box */
.science-sulfite-context {
    margin: 32px 0;
    padding: 24px;
    background: #fff8e6;
    border-left: 4px solid var(--color-orange);
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5a4a00;
}

.science-sulfite-context p {
    margin: 0;
}

/* Science CTA Box */
.science-cta-box {
    margin-top: 48px;
    padding: 32px;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.science-cta-box p {
    font-size: 17px;
    color: var(--color-dark-teal);
    font-weight: 500;
    margin: 0 0 20px 0;
}

.science-cta-box .section-link-btn {
    margin-top: 0;
}

/* Pipeline Attributes */
.pipeline-attributes {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 24px;
}

/* 505(b)(2) Pathway Visual */
.pathway-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 32px;
    margin: 32px 0;
    border: 1px solid #e0e0e0;
}

.pathway-header {
    text-align: center;
    margin-bottom: 32px;
}

.pathway-label {
    display: inline-block;
    background: var(--color-dark-teal);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pathway-stages {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 32px;
}

.pathway-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 24px;
    background: #fff;
    border-radius: 8px;
    width: 140px;
    border: 2px solid #e0e0e0;
    transition: all 0.2s ease;
}

.pathway-stage.complete {
    border-color: var(--color-dark-teal);
    background: rgba(31, 77, 61, 0.05);
}

.pathway-stage.in-progress {
    border-color: var(--color-orange);
    background: rgba(232, 119, 34, 0.05);
}

.pathway-stage.pending {
    border-color: #d0d0d0;
    background: #fff;
}

.stage-indicator {
    font-size: 28px;
    margin-bottom: 8px;
    line-height: 1;
}

.pathway-stage.complete .stage-indicator {
    color: var(--color-dark-teal);
}

.pathway-stage.in-progress .stage-indicator {
    color: var(--color-orange);
}

.pathway-stage.pending .stage-indicator {
    color: #ccc;
}

.stage-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.stage-status {
    font-size: 12px;
    color: #666;
    min-height: 16px;
}

.pathway-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--color-dark-teal) 0%, #d0d0d0 100%);
    flex-shrink: 0;
}

.pathway-stages .pathway-stage:nth-child(3) ~ .pathway-connector,
.pathway-stages .pathway-connector:last-of-type {
    background: #d0d0d0;
}

.pathway-description {
    text-align: center;
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Pipeline Attributes */

.pipeline-attribute {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
}

.pipeline-attribute-icon {
    width: 48px;
    height: 48px;
    background: var(--color-dark-teal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.pipeline-attribute-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin: 0 0 6px 0;
}

.pipeline-attribute-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Pipeline Team Grid */
.pipeline-team-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.pipeline-team-member {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
}

.pipeline-team-avatar {
    width: 56px;
    height: 56px;
    background: var(--color-dark-teal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.pipeline-team-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin: 0 0 2px 0;
}

.pipeline-team-role {
    font-size: 13px;
    color: var(--color-orange);
    font-weight: 500;
    margin: 0 0 8px 0;
}

.pipeline-team-bio {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}


/* =============================================
   14. FOOTER
   ============================================= */

.site-footer {
    background: #1A3D32;
    color: white;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-weight: 600;
}

.copyright {
    font-size: 14px;
    opacity: 0.5;
}


/* =============================================
   15. UTILITY CLASSES
   ============================================= */

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--color-orange);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.2s;
}

.btn:hover {
    background: #e88315;
}

.btn-hero {
    display: inline-block;
    padding: 14px 32px;
    background: var(--color-orange);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.btn-hero:hover {
    background: #e88315;
}

.btn-contact {
    display: inline-block;
    padding: 14px 32px;
    background: var(--color-orange);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
}

.btn-contact:hover {
    background: #e88315;
}

/* Section Links */
.section-link {
    color: var(--color-orange);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    margin-top: 16px;
    transition: color 0.2s;
}

.section-link:hover {
    color: var(--color-dark-teal);
    text-decoration: underline;
}

/* Section Link Button - solid orange slim style */
.section-link-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-orange);
    border-radius: 5px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 32px;
}

.section-link-btn:hover {
    background: #e88315;
}

/* Background Colors */
.bg-white {
    background: white;
}

.bg-gray {
    background: #f8f8f8;
}

.bg-light {
    background: #f8f8f8;
}

/* Text Utilities */
.text-content-narrow {
    max-width: 700px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}


/* =============================================
   16. RESPONSIVE STYLES
   ============================================= */

@media (max-width: 1024px) {
    /* Science page - hide nav on tablet/mobile */
    .science-side-nav {
        display: none;
    }
    
    .science-page-wrapper {
        display: block;
    }
    
    .science-section-inner {
        max-width: 900px;
        margin: 0 auto;
        padding: 0 24px;
    }
    
    /* Reset the background extension */
    .science-content .content-section::before {
        left: -100vw;
        right: -100vw;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }
    
    .two-column,
    .key-points,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .key-points-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .science-advantages {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .science-observations {
        grid-template-columns: 1fr;
    }
    
    .science-results-grid {
        grid-template-columns: 1fr;
    }
    
    .science-attributes {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .science-evidence-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .team-grid-single {
        grid-template-columns: 1fr;
    }
    
    .contact-section .container {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .contact-cta {
        text-align: center;
    }
    
    /* Form responsive */
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    /* Science page v2 responsive */
    .science-key-facts {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .science-featured-quote {
        padding: 24px;
    }
    
    .science-featured-quote blockquote {
        font-size: 17px;
    }
    
    .science-featured-quote::before {
        font-size: 48px;
        top: 8px;
        left: 16px;
    }
    
    .science-data-table th,
    .science-data-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .key-fact-number {
        font-size: 24px;
    }
    
    .science-dual-mechanism {
        grid-template-columns: 1fr;
    }
    
    .science-dual-target {
        grid-template-columns: 1fr;
    }
    
    .pipeline-team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Pathway responsive */
    .pathway-container {
        padding: 24px 16px;
    }
    
    .pathway-stages {
        flex-direction: column;
        gap: 0;
    }
    
    .pathway-stage {
        min-width: 100%;
        padding: 16px 20px;
    }
    
    .pathway-connector {
        width: 2px;
        height: 24px;
        background: linear-gradient(180deg, var(--color-dark-teal) 0%, #d0d0d0 100%);
    }
}

@media (max-width: 480px) {
    .science-advantages {
        grid-template-columns: 1fr;
    }
    
    .key-points-grid {
        grid-template-columns: 1fr;
    }
}


/* =============================================
   17. WORDPRESS ADMIN BAR FIX
   ============================================= */

.admin-bar .site-header {
    top: 32px;
}

.admin-bar .site-main {
    padding-top: 96px;
}

.admin-bar .science-side-nav {
    top: 132px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
    
    .admin-bar .site-main {
        padding-top: 110px;
    }
}
/* =============================================
   ABOUT PAGE: FOUNDER STORY ADDITIONS
   Extends theme patterns for narrative content
   ============================================= */

.story-text { color: #555; line-height: 1.75; }
.story-text p { margin-bottom: 18px; font-size: 16px; }
.story-text p:last-child { margin-bottom: 0; }

.story-text .story-lead {
    font-size: 19px; line-height: 1.7;
    color: var(--color-dark-teal); font-weight: 500;
    margin-bottom: 24px;
}

/* Pullquote: extends callout-box with italic treatment */
.story-pullquote {
    background: #fff; padding: 28px 32px; border-radius: 12px;
    border-left: 4px solid var(--color-orange);
    margin: 28px 0;
}

.bg-white .story-pullquote { background: var(--color-light-gray); }

.story-pullquote p {
    margin: 0; line-height: 1.7;
    font-style: italic; font-size: 17px;
    color: var(--color-dark-teal);
}

/* Name origin: extends key-facts-box pattern */
.name-origin-box {
    background: #f8f8f8; padding: 32px; border-radius: 12px;
    margin: 32px 0;
}

.name-origin-box .origin-word {
    font-size: 28px; font-weight: 700;
    color: var(--color-dark-teal); margin-bottom: 4px;
}

.name-origin-box .origin-lang {
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--color-orange); margin-bottom: 16px;
}

.name-origin-box .origin-def {
    font-size: 16px; color: #555;
    line-height: 1.7; margin: 0;
}

/* Responsive: Founder Story */
@media (max-width: 768px) {
    .story-pullquote { padding: 22px 24px; }
    .name-origin-box { padding: 24px; }
}




/* =============================================
   ADDITIONS — Feb 28, 2026
   ============================================= */

/* Scientific Publications List */
.science-publications-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 24px;
}

.science-publication {
    padding: 20px 24px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--color-dark-teal);
}

.science-publication h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark-teal);
    margin-bottom: 8px;
    line-height: 1.4;
}

.science-publication p {
    font-size: 13px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.science-publication p em {
    font-style: italic;
}

/* Table cell centering */
.pipeline-table td.center,
.pipeline-table th.center {
    text-align: center;
}

/* Responsive: George's photo stacks on mobile */
@media (max-width: 768px) {
    .story-founder-block {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }
    
    .story-founder-photo img {
        width: 160px !important;
    }
}


/* =============================================
   HOMEPAGE V3 — SCOPED ADDITIONS
   Append to bottom of style.css
   ============================================= */

/* --- Kokua DNA accent block --- */
.home-v3 .v3-kokua-dna {
    border-left: 4px solid var(--color-orange);
    padding: 16px 0 16px 24px;
    margin: 28px 0;
}
.home-v3 .v3-kokua-dna p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-dark-teal);
    font-style: italic;
}

/* --- Conference references line --- */
.home-v3 .v3-conference-refs {
    text-align: center;
    font-size: 13px;
    color: #888;
    margin-top: 12px;
    margin-bottom: 0;
}

/* --- Supporting study block (lower visual weight than stat strip) --- */
.home-v3 .v3-supporting-study {
    margin-top: 28px;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.home-v3 .v3-supporting-study p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin: 0 0 8px 0;
}
.home-v3 .v3-supporting-study p:last-child {
    margin-bottom: 0;
}
.home-v3 .v3-supporting-study .v3-conference-refs {
    text-align: left;
    margin-top: 8px;
}

/* --- Caveat --- */
.home-v3 .v3-caveat {
    margin-top: 20px;
    margin-bottom: 0;
    font-size: 13px;
    color: #999;
    font-style: italic;
    text-align: center;
}

/* --- Product Attributes Bridge (three-across compact strip) --- */
.home-v3 .v3-product-attributes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 32px;
    background: #d0d0d0;
    border-radius: 8px;
    overflow: hidden;
}
.home-v3 .v3-attribute {
    background: var(--color-dark-teal);
    padding: 20px 24px;
    text-align: center;
}
.home-v3 .v3-attribute h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-lime-green);
    margin: 0 0 6px 0;
    letter-spacing: 0.5px;
}
.home-v3 .v3-attribute p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.4;
}

/* Responsive: stack attributes on mobile */
@media (max-width: 768px) {
    .home-v3 .v3-product-attributes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .founder-spotlight-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    .founder-spotlight-grid img {
        margin: 0 auto !important;
    }
}


.logo-image {
    height: 40px;
    width: auto;
}


/* =============================================
   MOBILE HAMBURGER MENU
   ============================================= */

/* Toggle button - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-dark-teal);
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* Animate to X when open */
.menu-open .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-open .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav panel */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 32px 32px;
        overflow-y: auto;
    }

    .menu-open .main-navigation {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li {
        border-bottom: 1px solid #eee;
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
        font-weight: 500;
        color: var(--color-dark-gray);
    }

    .main-navigation a:hover,
    .main-navigation .current-menu-item a {
        color: var(--color-dark-teal);
    }

    /* Overlay behind menu */
    .menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 999;
    }
}


/* =============================================
   PRODUCT RENDERING STYLES
   Add to style.css before the Responsive section
   ============================================= */

/* Homepage: Centered rendering between cards and attributes */
.product-rendering-block {
    text-align: center;
    margin: 32px 0;
}

.product-rendering-block img {
    max-width: 240px;
    height: auto;
    border-radius: 8px;
}

/* Development page: Float rendering right, prose wraps */
.product-rendering-float {
    float: right;
    width: 200px;
    margin: 0 0 16px 24px;
    text-align: center;
}

.product-rendering-float img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Shared caption */
.product-rendering-caption {
    font-size: 11px;
    color: #999;
    font-style: italic;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .product-rendering-block img {
        max-width: 180px;
    }
    
    .product-rendering-float {
        float: none;
        width: 160px;
        margin: 0 auto 20px auto;
    }
}