/* ============================================================
   Ahoton Website — Main Stylesheet
   Organized by component. No minification — easy to edit.
   ============================================================ */

/* ─── Custom Properties ───────────────────────────────────── */
:root {
    /* Core palette — dark, premium, matches logo */
    --ink:          #0a0a0c;
    --ink-soft:     #111317;
    --ink-mid:      #1a1f26;
    --paper:        #f3f5f2;
    --paper-soft:   #e9ece8;
    --text:         #171b20;
    --muted:        #737b7c;
    --line:         #d5dad5;
    --line-dark:    #252b32;
    --accent:       #a2e8c2;
    --silver:       #c2c8cc;
    --white:        #ffffff;

    /* UI tokens */
    --radius:       3px;
    --container:    1180px;

    /* Glass morphism */
    --glass-bg:     rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.12);

    /* Mouse light position (updated by JS on contact page) */
    --mx: 50%;
    --my: 50%;
}

/* ─── Reset & Base ────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

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

h1, h2, h3, p {
    margin-top: 0;
}

h1, h2, h3 {
    letter-spacing: -0.06em;
    line-height: 1.08;
}

h1 {
    font-size: clamp(48px, 7vw, 92px);
    max-width: 780px;
    margin-bottom: 28px;
    font-weight: 500;
}

h2 {
    font-size: clamp(34px, 4.7vw, 65px);
    font-weight: 500;
}

h3 {
    font-size: 22px;
    font-weight: 600;
}

em {
    font-style: normal;
    color: var(--accent);
}

/* ─── Layout ──────────────────────────────────────────────── */
.container {
    width: min(calc(100% - 64px), var(--container));
    margin: auto;
}

/* ─── Skip Link (Accessibility) ───────────────────────────── */
.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
    z-index: 100;
}

.skip-link:focus {
    left: 20px;
    top: 20px;
    background: var(--accent);
    color: var(--ink);
    padding: 8px 14px;
    border-radius: var(--radius);
}

/* ─── Monospace / Label Typography ────────────────────────── */
.eyebrow,
.section-index,
.solution-tag,
.focus-label,
.aside-label,
.footer-label {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #93a0a1;
    margin: 0 0 25px;
}

.eyebrow span {
    width: 23px;
    height: 1px;
    background: var(--accent);
    display: block;
    flex-shrink: 0;
}

/* ─── Site Header ─────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--ink);
    color: #f5f7f3;
    border-bottom: 1px solid var(--line-dark);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.header-inner {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -0.04em;
    font-size: 18px;
}

.brand-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: var(--radius);
    /* Logo has dark background — blends with dark header naturally */
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 13px;
    color: #b6bdc0;
}

.main-nav a {
    transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #ffffff;
}

.main-nav .nav-cta {
    border: 1px solid #637078;
    border-radius: var(--radius);
    padding: 9px 16px;
    color: #ffffff;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.main-nav .nav-cta:hover {
    background: rgba(162, 232, 194, 0.12);
    border-color: var(--accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid #495258;
    border-radius: var(--radius);
    color: #ffffff;
    padding: 7px 13px;
    font-size: 11px;
    letter-spacing: 0.05em;
}

/* ─── Buttons ─────────────────────────────────────────────── */
.button {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 13px 20px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.button-primary {
    background: var(--accent);
    color: var(--ink);
}

.button-primary:hover {
    background: #b8f0d2;
}

.button-light {
    background: #f4f6f2;
    color: var(--ink);
}

.button-secondary {
    background: transparent;
    color: var(--text);
    border-color: var(--line);
}

.button-secondary:hover {
    background: var(--paper-soft);
}

/* Text link — no arrows, clean underline */
.text-link {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid #9ba4a0;
    padding-bottom: 4px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.text-link:hover {
    border-color: var(--text);
}

/* Button row on hero */
.button-row {
    display: flex;
    gap: 26px;
    align-items: center;
    margin-top: 38px;
}

/* ─── Hero Entrance Animation (pure CSS — no JS dependency) ─
   This is intentionally NOT driven by GSAP. If any script fails
   to load, is blocked, or errors out, this text still appears —
   it only needs the browser's own CSS engine. */
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .hero-lede,
.hero-copy .button-row,
.hero-console {
    opacity: 0;
    animation: heroFadeUp 0.7s ease-out forwards;
}

.hero-copy .eyebrow    { animation-delay: 0.05s; }
.hero-copy h1           { animation-delay: 0.15s; }
.hero-copy .hero-lede   { animation-delay: 0.32s; }
.hero-copy .button-row  { animation-delay: 0.46s; }
.hero-console           { animation-delay: 0.55s; }

/* Absolute safety net: even if a browser somehow never runs the
   keyframe (very old browser, animation disabled at OS level),
   force full visibility after 1.2s regardless. */
@media (prefers-reduced-motion: reduce) {
    .hero-copy .eyebrow,
    .hero-copy h1,
    .hero-copy .hero-lede,
    .hero-copy .button-row,
    .hero-console {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ─── Hero Section (Home) ─────────────────────────────────── */
.hero-section,
.page-hero {
    background: var(--ink);
    color: #f4f6f2;
}

.hero-section {
    position: relative;
    z-index: 0;
    padding: 118px 0 130px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center;
}

.hero-lede {
    font-size: 18px;
    line-height: 1.7;
    color: #aeb7b7;
    max-width: 520px;
}

/* ─── Hero Console / Dashboard Mockup ─────────────────────── */
.hero-console {
    border: 1px solid #3a4448;
    background: #11171a;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 25px 25px 0 rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    /* 3D perspective — GSAP handles mouse-tilt */
    transform-style: preserve-3d;
    will-change: transform;
    transition: box-shadow 0.3s ease;
}

.hero-console:hover {
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 25px 25px 0 rgba(255, 255, 255, 0.04);
}

.console-top {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 15px 18px;
    border-bottom: 1px solid #2b3438;
    font: 11px "DM Mono", monospace;
    color: #849092;
}

.console-menu {
    margin-left: auto;
    letter-spacing: 2px;
}

/* Pulsing live indicator */
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.console-body {
    display: grid;
    grid-template-columns: 140px 1fr;
    min-height: 280px;
}

.console-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-right: 1px solid #2b3438;
    padding: 25px 18px;
    font: 11px "DM Mono", monospace;
    color: #687477;
}

.sidebar-active {
    color: #f2f4f0;
}

.console-content {
    padding: 28px;
}

.console-kicker {
    font: 10px "DM Mono", monospace;
    color: #788486;
    margin-bottom: 10px;
}

.console-content h3 {
    color: #f3f5f0;
    font-size: 21px;
    margin-bottom: 28px;
}

.console-stats {
    display: flex;
    gap: 45px;
}

.console-stats div {
    display: flex;
    flex-direction: column;
}

.console-stats strong {
    font-size: 28px;
    color: #c0ead0;
    font-weight: 500;
    letter-spacing: -0.07em;
}

.console-stats span {
    font: 10px "DM Mono", monospace;
    color: #718080;
    margin-top: 3px;
}

/* Animated mini-bar chart */
.mini-chart {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 75px;
    margin-top: 30px;
    border-bottom: 1px solid #2b3438;
}

.mini-chart span {
    flex: 1;
    background: linear-gradient(180deg, var(--accent) 0%, #5db88a 100%);
    opacity: 0;
    border-radius: 2px 2px 0 0;
    transition: opacity 0.4s ease, height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mini-chart.animated span {
    opacity: 0.75;
}

/* ─── Section Base ────────────────────────────────────────── */
.section {
    padding: 120px 0;
}

.section-border {
    border-bottom: 1px solid var(--line);
}

.muted { color: var(--muted); }
.accent { color: var(--accent); }
.silver { color: var(--silver); }
.section-index, .solution-tag { color: #76817e; }

.large-muted {
    font-size: 19px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 550px;
}

/* ─── Two-column layouts ──────────────────────────────────── */
.split-heading,
.two-column-intro,
.focus-grid,
.integration-row,
.coming-soon {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 70px;
}

.split-heading h2,
.two-column-intro h2 {
    margin-top: 0;
}

/* ─── Feature Grid (Home: Why Ahoton) ─────────────────────── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    margin-top: 75px;
}

.feature-card {
    background: var(--paper);
    padding: 32px 30px 38px;
    min-height: 250px;
    transition: background 0.2s ease;
}

.feature-card:hover {
    background: #edf0ec;
}

.feature-number {
    font: 12px "DM Mono", monospace;
    color: #9aa29f;
}

.feature-card h3 {
    margin-top: 65px;
}

.feature-card p {
    color: var(--muted);
    font-size: 14px;
    max-width: 300px;
}

/* ─── Dark Panel (Home: How we work) ──────────────────────── */
.dark-panel-section,
.cta-section {
    background: var(--ink);
    color: #f3f5f0;
}

.dark-panel-section {
    padding: 120px 0;
}

.dark-panel-section .large-muted {
    color: #aeb7b7;
}

.process-list {
    margin-top: 80px;
    border-top: 1px solid var(--line-dark);
}

.process-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 20px;
    align-items: start;
    padding: 27px 0;
    border-bottom: 1px solid var(--line-dark);
    transition: background 0.2s ease;
}

.process-item:hover {
    background: rgba(162, 232, 194, 0.03);
}

.process-item > span:first-child {
    font: 12px "DM Mono", monospace;
    color: #748085;
}

.process-item h3 {
    margin: 0 0 9px;
    color: #f3f5f0;
}

.process-item p {
    margin: 0;
    color: #8f9a9b;
    font-size: 14px;
}

/* ─── Focus Grid (Home: Current Focus) ────────────────────── */
.focus-grid {
    align-items: end;
}

.focus-label {
    color: #758080;
    margin-bottom: 28px;
}

/* ─── Founder Strip ───────────────────────────────────────── */
.founder-strip {
    background: #edf0ec;
}

.founder-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 80px;
    align-items: center;
}

.founder-avatar {
    width: 180px;
    height: 180px;
    background: #c8d0c8;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #39443f;
    font: 16px "DM Mono", monospace;
}

.founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    loading: lazy;
}

.founder-avatar.large {
    width: 310px;
    height: 370px;
    border-radius: 2px;
}

.founder-grid blockquote {
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.2;
    letter-spacing: -0.04em;
    max-width: 700px;
    margin: 0 0 24px;
}

.founder-grid .muted {
    max-width: 600px;
}

/* ─── CTA Section ─────────────────────────────────────────── */
.cta-section {
    padding: 86px 0;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px;
}

.cta-inner h2 {
    margin: 0;
}

/* ─── Page Hero (Inner Pages) ─────────────────────────────── */
.page-hero {
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding: 110px 0 105px;
}

/* ─── 3D Scene Canvases (Three.js — see three-scenes.js) ──── */
.three-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    display: block;
}

/* Keep hero copy comfortably readable over any 3D background */
.hero-section .hero-copy,
.page-hero .container {
    position: relative;
}

@media (prefers-reduced-motion: reduce) {
    .three-bg { opacity: 0.5; }
}

@media (max-width: 767px) {
    .three-bg { opacity: 0.7; }
}

.narrow {
    max-width: 900px;
}

.page-hero h1 {
    max-width: 900px;
}

/* ─── Platform Page ───────────────────────────────────────── */
.platform-intro,
.solution-heading {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 100px;
    align-items: end;
}

/* BOS Architecture Diagram */
.architecture {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 90px 230px 90px 1fr;
    align-items: center;
    gap: 12px;
    margin-top: 95px;
    min-height: 180px;
}

.arch-node {
    font: 12px "DM Mono", monospace;
    color: #6b7672;
    text-transform: uppercase;
}

.arch-node span {
    display: block;
    font: 11px Arial, sans-serif;
    text-transform: none;
    color: var(--muted);
    margin-top: 9px;
}

.arch-input  { text-align: right; }
.arch-output { text-align: left; }

.arch-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #a7b0aa, transparent);
    position: relative;
    overflow: visible;
}

/* Animated flow line */
.arch-line::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 8px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    animation: flow-dot 2s linear infinite;
    opacity: 0.8;
}

.arch-line:last-of-type::after {
    animation-delay: 1s;
}

@keyframes flow-dot {
    0%   { left: 0%; opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.arch-core {
    height: 180px;
    border: 1px solid #6e8e7c;
    background: linear-gradient(135deg, #d4efe0, #c8e8d8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
    color: #24332a;
    position: relative;
    overflow: hidden;
}

.arch-core::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(162, 232, 194, 0.2), transparent);
    animation: core-pulse 3s ease-in-out infinite;
}

@keyframes core-pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.6; }
}

.arch-core-label {
    font: 10px "DM Mono", monospace;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.arch-core strong {
    font-size: 22px;
    line-height: 1.05;
    letter-spacing: -0.05em;
    position: relative;
    z-index: 1;
}

.arch-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: #a8b4aa;
    pointer-events: none;
}

/* ─── AI Employees Grid (Platform) ────────────────────────── */
.muted-section {
    background: var(--paper-soft);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    margin-top: 70px;
}

.ai-card {
    background: var(--paper-soft);
    padding: 32px;
    min-height: 245px;
    transition: background 0.2s ease;
}

.ai-card:hover {
    background: #e2e6e1;
}

.ai-tag {
    font: 11px "DM Mono", monospace;
    color: #6b8176;
}

.ai-card h3 {
    margin-top: 70px;
}

.ai-card p {
    color: var(--muted);
    font-size: 14px;
}

/* Integrations List */
.integration-list {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-top: 70px;
}

.integration-list span {
    text-align: center;
    padding: 23px 12px;
    font: 11px "DM Mono", monospace;
    color: #68716f;
    border-right: 1px solid var(--line);
    transition: color 0.2s ease, background 0.2s ease;
}

.integration-list span:last-child {
    border: 0;
}

.integration-list span:hover {
    background: #edf0ec;
    color: var(--text);
}

/* ─── Solutions Page ──────────────────────────────────────── */
.solution-heading h2 {
    font-size: clamp(50px, 7vw, 95px);
    margin: 20px 0;
}

/* Animated Workflow Steps */
.workflow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    position: relative;
    margin-top: 90px;
}

/* Static background line */
.workflow-bg-line {
    position: absolute;
    top: 9px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
    z-index: 0;
}

/* Animated progress line */
.workflow-progress-line {
    position: absolute;
    top: 9px;
    left: 0;
    height: 1px;
    background: var(--accent);
    width: 0%;
    z-index: 1;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 8px rgba(162, 232, 194, 0.6);
}

.workflow-step {
    position: relative;
    padding-top: 39px;
    z-index: 2;
}

.workflow-step-number {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 19px;
    height: 19px;
    background: var(--paper);
    border: 1px solid #7c8981;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font: 9px "DM Mono", monospace;
    color: #61726a;
    transition: background 0.4s ease, border-color 0.4s ease,
                color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.workflow-step.is-active .workflow-step-number {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--ink);
    box-shadow: 0 0 16px rgba(162, 232, 194, 0.7), 0 0 32px rgba(162, 232, 194, 0.3);
    transform: scale(1.4);
}

.workflow-step.is-done .workflow-step-number {
    background: #5db88a;
    border-color: #5db88a;
    color: var(--ink);
}

.workflow-step strong {
    font-size: 17px;
    display: block;
}

.workflow-step p {
    font-size: 13px;
    color: var(--muted);
    margin-top: 14px;
    max-width: 150px;
}

/* ─── About Page ──────────────────────────────────────────── */
.story-grid {
    display: grid;
    grid-template-columns: 370px 1fr;
    gap: 120px;
    align-items: start;
}

.founder-photo .founder-avatar {
    margin-bottom: 20px;
}

.photo-caption {
    font: 11px "DM Mono", monospace;
    color: #74807b;
}

.story-copy {
    max-width: 650px;
}

.story-copy h2 {
    font-size: clamp(34px, 4.5vw, 56px);
    margin: 22px 0 35px;
}

.story-copy p {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.8;
}

/* Philosophy List */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
}

.philosophy-list {
    border-top: 1px solid var(--line);
}

.philosophy-list > div {
    display: grid;
    grid-template-columns: 45px 1fr;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.philosophy-list span {
    font: 11px "DM Mono", monospace;
    color: #789085;
}

.philosophy-list h3 {
    margin: 0;
    font-size: 18px;
}

.philosophy-list p {
    grid-column: 2;
    color: var(--muted);
    font-size: 14px;
    margin: 8px 0 0;
}

/* Parallax wireframe background for founder section */
.founder-strip {
    position: relative;
    overflow: hidden;
}

.wireframe-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.06;
    will-change: transform;
}

.wireframe-bg svg {
    width: 100%;
    height: 120%; /* extra height for parallax scroll room */
}

.founder-strip .container {
    position: relative;
    z-index: 1;
}

/* ─── Contact Page — Glass Morphism ───────────────────────── */
.contact-page {
    position: relative;
    background: var(--ink);
    color: #f4f6f2;
    overflow: hidden;
}

/* Floating particles canvas */
#particles-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Mouse light overlay */
.mouse-light {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: radial-gradient(
        700px circle at var(--mx) var(--my),
        rgba(162, 232, 194, 0.07),
        transparent 50%
    );
    transition: background 0.05s;
}

.contact-page .container {
    position: relative;
    z-index: 2;
}

.contact-page.page-hero {
    padding: 110px 0 105px;
}

.contact-heading {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 100px;
}

.contact-aside {
    align-self: end;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 0 2px 28px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    color: #b0b9b7;
    font-size: 14px;
}

.contact-aside a {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 20px;
}

/* Glass card for contact form section */
.contact-glass-section {
    position: relative;
    background: var(--ink);
    overflow: hidden;
}

.contact-glass-section #particles-canvas-form {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
}

.glass-form-wrap {
    position: relative;
    z-index: 2;
    max-width: 850px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 50px;
}

/* ─── Contact Form ────────────────────────────────────────── */
.notice {
    padding: 15px 18px;
    margin-bottom: 28px;
    border: 1px solid #7b9e87;
    font-size: 14px;
    border-radius: var(--radius);
}

.notice.success {
    background: rgba(162, 232, 194, 0.12);
    border-color: var(--accent);
    color: #c0ead0;
}

.notice.error {
    background: rgba(220, 90, 80, 0.1);
    border-color: #c07070;
    color: #f0a0a0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

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

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font: 11px "DM Mono", monospace;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8a9a97;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #3a4a47;
    background: transparent;
    border-radius: 0;
    padding: 10px 0;
    color: #f3f5f0;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #4a5a57;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}

/* Style select options */
.contact-form select option {
    background: var(--ink-soft);
    color: #f3f5f0;
}

.contact-form textarea {
    resize: vertical;
}

.form-field-error {
    color: #f0a0a0;
    font-size: 10px;
    margin-top: 4px;
    display: none;
}

.form-field-error.visible {
    display: block;
}

.form-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    margin-top: 7px;
}

.form-submit p {
    font: 11px Arial, sans-serif;
    text-transform: none;
    letter-spacing: 0;
    color: #4a5a57;
}

.form-submit p a {
    color: var(--accent);
    text-decoration: underline;
}

.honeypot {
    display: none !important;
}

/* ─── Legal Pages ─────────────────────────────────────────── */
.legal-copy {
    max-width: 750px;
}

.legal-copy h2 {
    font-size: 28px;
    margin: 0 0 13px;
}

.legal-copy p {
    color: var(--muted);
    margin: 0 0 44px;
}

.legal-copy a {
    color: #427559;
    text-decoration: underline;
}

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: var(--ink);
    color: #f3f5f0;
    padding: 76px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
}

.footer-brand {
    font-size: 20px;
}

.footer-copy {
    font-size: 13px;
    max-width: 220px;
    margin-top: 24px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-links > div {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-label {
    color: #718078;
    margin-bottom: 10px;
}

.footer-links a {
    color: #a9b2af;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid var(--line-dark);
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    margin-top: 80px;
    color: #687476;
    font-size: 11px;
}

/* ─── Admin Panel ─────────────────────────────────────────── */
.admin-body {
    background: #eef1ed;
    color: var(--text);
}

.admin-header {
    background: var(--ink);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-header-inner {
    height: 76px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-user {
    display: flex;
    gap: 22px;
    align-items: center;
    color: #9ba8a7;
    font: 12px "DM Mono", monospace;
}

.admin-user a {
    color: var(--accent);
    transition: color 0.2s ease;
}

.admin-user a:hover {
    color: #c0ead0;
}

/* Session expiry warning */
.admin-timeout {
    color: var(--muted);
    font-size: 10px;
    min-width: 140px;
    text-align: right;
}

.admin-timeout.expiring {
    color: #f0a060;
    font-weight: 600;
}

.admin-main {
    padding: 70px 0 110px;
}

.admin-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 25px;
}

.admin-title-row h1 {
    font-size: 65px;
    margin: 0 0 8px;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    margin: 55px 0 35px;
}

.admin-stats > div {
    background: #f7f8f5;
    padding: 23px 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-stats span {
    font: 11px "DM Mono", monospace;
    color: #718079;
}

.admin-stats strong {
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -0.06em;
}

/* Toolbar (search + filters) */
.admin-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
    gap: 25px;
}

.search-form {
    display: flex;
    gap: 15px;
    align-items: center;
    width: min(100%, 500px);
}

.search-form input {
    flex: 1;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    padding: 8px 0;
    outline: none;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.search-form input:focus {
    border-color: #4e886a;
}

.filter-links {
    display: flex;
    gap: 17px;
    font: 11px "DM Mono", monospace;
    color: #78827d;
}

.filter-links a {
    color: inherit;
    transition: color 0.2s ease;
}

.filter-links a:hover {
    color: var(--text);
}

.filter-links a.active {
    color: #2d6b4b;
    border-bottom: 1px solid #2d6b4b;
    padding-bottom: 3px;
}

/* Bulk actions bar */
.bulk-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font: 12px "DM Mono", monospace;
    color: #68756e;
}

.bulk-bar.hidden {
    display: none;
}

.bulk-bar button {
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 5px 12px;
    font: 11px "DM Mono", monospace;
    color: #557261;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.bulk-bar button:hover {
    background: #edf0ec;
    border-color: #a0b0a8;
}

.bulk-bar button.danger {
    color: #a06c67;
}

.bulk-bar button.danger:hover {
    background: #f4e0dc;
    border-color: #c09090;
}

/* Inquiry list */
.inquiry-list {
    margin-top: 20px;
}

.inquiry-card {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    border-bottom: 1px solid var(--line);
    padding: 26px 0;
    transition: background 0.2s ease;
}

.inquiry-card:hover {
    background: rgba(162, 232, 194, 0.03);
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
}

.inquiry-card.is-unread {
    background: #f7fbf5;
    margin: 0 -18px;
    padding-left: 18px;
    padding-right: 18px;
}

.inquiry-main {
    max-width: 760px;
}

.inquiry-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #7e8985;
    font: 10px "DM Mono", monospace;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #adb7b0;
}

.status-dot.unread {
    background: #3c9b61;
    box-shadow: 0 0 6px rgba(60, 155, 97, 0.5);
}

.inquiry-industry {
    border-left: 1px solid #c2cbc3;
    padding-left: 10px;
}

.inquiry-card h2 {
    font-size: 24px;
    margin: 13px 0 2px;
}

.inquiry-business {
    font-size: 13px;
    color: #68756e;
}

.inquiry-business a {
    color: #477a5b;
    text-decoration: underline;
}

.inquiry-card .inquiry-main > p:last-child {
    font-size: 14px;
    color: #69746f;
    margin: 17px 0 0;
    white-space: pre-line;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.inquiry-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    flex-shrink: 0;
}

.inquiry-actions form {
    display: flex;
    gap: 12px;
}

.inquiry-actions button {
    background: none;
    border: 0;
    color: #557261;
    font-size: 11px;
    font-family: "DM Mono", monospace;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.inquiry-actions button:hover {
    color: #2d6b4b;
}

.inquiry-actions .danger-link {
    color: #a06c67;
}

.inquiry-actions .danger-link:hover {
    color: #c04040;
}

/* Select checkboxes for bulk actions */
.inquiry-select {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    padding-top: 14px;
}

.inquiry-select input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: #3c9b61;
}

/* Empty state */
.empty-state {
    padding: 70px 0;
    text-align: center;
    color: var(--muted);
}

.empty-state h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 40px 0 0;
    font: 12px "DM Mono", monospace;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: #68756e;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
}

.pagination a:hover {
    background: #edf0ec;
    border-color: #a0b0a8;
    color: var(--text);
}

.pagination .current {
    background: #2d6b4b;
    border-color: #2d6b4b;
    color: #ffffff;
}

.pagination .disabled {
    opacity: 0.3;
    pointer-events: none;
}

.pagination-info {
    text-align: center;
    font: 11px "DM Mono", monospace;
    color: #78827d;
    margin-top: 8px;
}

/* Admin Login */
.login-card {
    width: min(100%, 440px);
    margin: 90px auto;
    background: #f8faf7;
    padding: 50px;
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.login-brand {
    margin-bottom: 70px;
}

.login-card h1 {
    font-size: 50px;
    margin: 0 0 10px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 32px;
}

.login-form label {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font: 11px "DM Mono", monospace;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #5f6c67;
}

.login-form input {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #aeb7b0;
    background: transparent;
    border-radius: 0;
    padding: 10px 0;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s ease;
}

.login-form input:focus {
    border-color: #4e886a;
}

.full-width {
    width: 100%;
    margin-top: 10px;
}

/* Lockout warning */
.lockout-warning {
    background: rgba(220, 90, 80, 0.1);
    border: 1px solid #c07070;
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: 14px;
    color: #b05050;
    margin-bottom: 20px;
}

.attempts-remaining {
    font: 10px "DM Mono", monospace;
    color: #a06c67;
    margin-top: 8px;
}

/* Inquiry Modal */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 12, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    z-index: 100;
    backdrop-filter: blur(4px);
}

.inquiry-modal {
    position: relative;
    background: #f7f9f5;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow: auto;
    padding: 44px;
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

.modal-close {
    position: absolute;
    right: 22px;
    top: 13px;
    font-size: 28px;
    color: #69756e;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text);
}

.inquiry-modal h2 {
    font-size: 38px;
}

.inquiry-modal dl {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 13px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
}

.inquiry-modal dt {
    font: 11px "DM Mono", monospace;
    color: #728079;
    text-transform: uppercase;
}

.inquiry-modal dd {
    margin: 0;
    color: #4f5d57;
    white-space: pre-line;
}

.inquiry-modal dd a {
    color: #437557;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

/* ─── GSAP Animation Initial States ──────────────────────── */
/* GSAP sets these to visible on scroll trigger */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    will-change: opacity, transform;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    will-change: opacity, transform;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    will-change: opacity, transform;
}

.reveal-fade {
    opacity: 0;
    will-change: opacity;
}

/* Stagger children: parent gets .stagger-children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    will-change: opacity, transform;
}

/* ─── Keyframe Animations ─────────────────────────────────── */
@keyframes float-up {
    from { transform: translateY(10px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

/* ─── Responsive — Mobile ─────────────────────────────────── */
@media (max-width: 800px) {

    .container {
        width: min(calc(100% - 38px), var(--container));
    }

    /* Header */
    .header-inner {
        height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--ink);
        padding: 20px 19px 25px;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        z-index: 40;
        border-bottom: 1px solid var(--line-dark);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav .nav-cta {
        text-align: center;
    }

    /* Hero */
    .hero-section {
        padding: 80px 0 90px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .hero-console {
        margin-top: 10px;
    }

    /* Sections */
    .section,
    .dark-panel-section {
        padding: 78px 0;
    }

    /* All two-column grids become single column */
    .split-heading,
    .two-column-intro,
    .focus-grid,
    .integration-row,
    .coming-soon,
    .platform-intro,
    .solution-heading,
    .contact-heading,
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Feature & AI grids */
    .feature-grid,
    .ai-grid {
        grid-template-columns: 1fr;
        margin-top: 45px;
    }

    .feature-card {
        min-height: auto;
    }

    .feature-card h3,
    .ai-card h3 {
        margin-top: 30px;
    }

    /* Process */
    .process-list {
        margin-top: 40px;
    }

    /* Founder */
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .founder-avatar.large {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        max-width: 260px;
    }

    /* CTA */
    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    /* Architecture diagram */
    .architecture {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .arch-input,
    .arch-output {
        text-align: left;
    }

    .arch-core {
        height: auto;
        min-height: 120px;
    }

    .arch-line {
        width: 55px;
        height: 1px;
    }

    .arch-svg {
        display: none;
    }

    .arch-line::after {
        display: none;
    }

    /* Integration list */
    .integration-list {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 40px;
    }

    .integration-list span:nth-child(3n) {
        border-right: 0;
    }

    /* Workflow */
    .workflow {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-top: 55px;
    }

    .workflow-bg-line,
    .workflow-progress-line {
        left: 9px;
        top: 0;
        bottom: 0;
        height: auto;
        width: 1px !important;
    }

    .workflow-step {
        padding: 0 0 0 45px;
    }

    .workflow-step-number {
        top: 0;
        left: 0;
        background: var(--paper);
    }

    /* About story */
    .story-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .story-copy h2 {
        margin-top: 15px;
    }

    /* Contact form */
    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .form-submit {
        align-items: flex-start;
        flex-direction: column;
    }

    .glass-form-wrap {
        padding: 28px 24px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .footer-links {
        gap: 20px;
    }

    .footer-bottom {
        margin-top: 50px;
        flex-direction: column;
        gap: 10px;
    }

    /* Admin */
    .admin-main {
        padding: 40px 0 70px;
    }

    .admin-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-title-row h1 {
        font-size: 50px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
        margin: 36px 0 20px;
    }

    .admin-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 15px;
    }

    .search-form {
        width: 100%;
    }

    .inquiry-card {
        flex-direction: column;
    }

    .inquiry-actions {
        align-items: flex-start;
        gap: 16px;
    }

    /* Admin login */
    .login-card {
        margin: 40px auto;
        padding: 28px;
    }

    .login-brand {
        margin-bottom: 50px;
    }

    /* Modal */
    .inquiry-modal {
        padding: 28px 20px;
    }

    .inquiry-modal dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .inquiry-modal dd {
        margin-bottom: 14px;
    }
}

/* ─── SEO/content additions and mobile polish ───────────────── */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 0;
    color: var(--muted);
    font: 11px "DM Mono", monospace;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.breadcrumbs a { color: #427559; }
.proof-section { background: #edf0ec; }
.proof-grid { align-items: start; }
.proof-copy { max-width: 620px; }
.proof-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.proof-points span {
    border: 1px solid #b7c4ba;
    border-radius: 999px;
    padding: 8px 13px;
    color: #42624e;
    font: 11px "DM Mono", monospace;
}
.faq-section { background: var(--paper-soft); }
.faq-list { border-top: 1px solid var(--line); margin-top: 20px; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-list summary { cursor: pointer; font-size: 17px; font-weight: 700; list-style: none; padding-right: 30px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; color: #477a5b; font: 20px "DM Mono", monospace; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--muted); font-size: 14px; margin: 12px 30px 0 0; max-width: 650px; }
.layer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 58px; }
.layer-card { background: var(--paper); padding: 30px; min-height: 210px; }
.layer-card span, .post-status { color: #477a5b; font: 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.layer-card h3 { margin-top: 50px; font-size: 20px; }
.layer-card p { color: var(--muted); font-size: 14px; }
.contact-plain-hero { background: var(--ink); color: #f4f6f2; }
.contact-form-section { background: var(--paper-soft); }
.contact-form-card {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 70px;
    max-width: 1040px;
    margin: 0 auto;
    padding: 58px;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 20px 60px rgba(17, 30, 22, .08);
}
.form-intro h2 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 18px; }
.form-intro p { color: var(--muted); }
.challenge-field { border-top: 1px solid var(--line); padding-top: 22px; }
.form-help { color: var(--muted); font: 12px Arial, sans-serif; text-transform: none; letter-spacing: 0; }
.contact-form-section .contact-form label { color: #52605a; }
.contact-form-section .contact-form input,
.contact-form-section .contact-form select,
.contact-form-section .contact-form textarea {
    color: var(--text);
    border-bottom-color: #aeb8b0;
}
.contact-form-section .contact-form input::placeholder,
.contact-form-section .contact-form textarea::placeholder { color: #8a9690; }
.contact-form-section .contact-form select option { background: var(--paper); color: var(--text); }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.resource-card { display: flex; flex-direction: column; background: var(--paper); padding: 32px; min-height: 320px; }
.resource-card h2 { font-size: 27px; margin: 42px 0 14px; }
.resource-card p { color: var(--muted); font-size: 14px; }
.resource-card .text-link { margin-top: auto; width: fit-content; }
.post-content { max-width: 760px; padding-top: 96px; padding-bottom: 130px; }
.post-content p { color: var(--muted); font-size: 18px; line-height: 1.85; margin-bottom: 30px; }
.admin-title-actions, .admin-post-actions { display: flex; align-items: center; gap: 15px; }
.admin-editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; margin-top: 60px; }
.admin-post-form { display: flex; flex-direction: column; gap: 22px; }
.admin-post-form label { display: flex; flex-direction: column; gap: 8px; color: #5f6c67; font: 11px "DM Mono", monospace; text-transform: uppercase; letter-spacing: .04em; }
.admin-post-form input, .admin-post-form textarea, .admin-post-form select { width: 100%; border: 1px solid var(--line); background: #f8faf7; padding: 12px; color: var(--text); outline: none; }
.admin-post-form input:focus, .admin-post-form textarea:focus, .admin-post-form select:focus { border-color: #4e886a; }
.admin-post-list { border-top: 1px solid var(--line); }
.admin-post-list > .section-index { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
.admin-post-item { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.admin-post-item h2 { font-size: 21px; margin: 8px 0 4px; }
.admin-post-item p { color: var(--muted); font-size: 13px; margin: 0; max-width: 440px; }
.post-status.draft { color: #8a6c44; }
.admin-post-actions { flex-shrink: 0; align-items: flex-start; }
.admin-post-actions form { display: inline; }
.error-page { min-height: 58vh; display: flex; align-items: center; }
.error-page h1 { max-width: 700px; }

@media (max-width: 800px) {
    .breadcrumbs { width: min(calc(100% - 38px), var(--container)); }
    .layer-grid, .resource-grid, .admin-editor-grid, .contact-form-card { grid-template-columns: 1fr; }
    .contact-form-card { padding: 30px 24px; gap: 35px; }
    .layer-card h3 { margin-top: 28px; }
    .admin-title-actions, .admin-post-item { align-items: flex-start; flex-direction: column; }
    .admin-post-actions { flex-wrap: wrap; }
    .post-content { padding-top: 60px; padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal, .reveal-left, .reveal-right, .reveal-scale, .reveal-fade, .stagger-children > * { opacity: 1 !important; transform: none !important; }
}
