/* sora.garden — styles */

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

:root {
    --burnt-sienna: #c4622a;
    --amber: #d97b2f;
    --amber-light: #e8943d;
    --sand: #d4c8b5;
    --warm-gray: #a89276;
    --charcoal: #1a1714;
    --dark-charcoal: #3a3228;
    --void: #0d0b08;

    --font-display: 'Roboto Slab', serif;
    --font-body: 'IBM Plex Sans', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--void);
    color: var(--sand);
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Scan Line */
#scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--amber);
    opacity: 0.6;
    z-index: 9999;
    transform: translateY(-100%);
    pointer-events: none;
}

#scan-line.sweep {
    animation: scanSweep 1.2s ease-in-out forwards;
}

@keyframes scanSweep {
    0% { transform: translateY(0); opacity: 0.6; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* Boot Sequence */
.section-boot {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.boot-domain {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.05;
    color: var(--burnt-sienna);
    min-height: 1.2em;
}

.boot-domain .cursor {
    display: inline-block;
    width: 0.5em;
    height: 1em;
    background: var(--amber);
    animation: blink 0.6s step-end infinite;
    vertical-align: baseline;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.boot-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--warm-gray);
    margin-top: 2rem;
    opacity: 0;
    transition: opacity 0.5s;
}

.boot-status.visible {
    opacity: 1;
}

/* Section Headers */
.section-header {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--burnt-sienna);
    margin-bottom: 3rem;
}

/* Specimen Section */
.section-specimens {
    padding: 8rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s, transform 0.8s;
}

.section-specimens.visible {
    opacity: 1;
    transform: translateY(0);
}

.specimen-grid {
    display: grid;
    gap: 1px;
    background: var(--dark-charcoal);
    border: 1px solid var(--dark-charcoal);
}

.specimen-card {
    background: var(--void);
    padding: 2rem;
    display: grid;
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem 1.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.specimen-card:hover {
    background: var(--charcoal);
}

.specimen-icon {
    grid-row: 1 / 3;
    width: 48px;
    height: 48px;
    position: relative;
    transform: rotateX(45deg) rotateZ(45deg);
    transform-style: preserve-3d;
}

/* Isometric Icons - CSS Only */
.icon-seed {
    background: var(--amber);
    width: 24px;
    height: 32px;
    transform: rotateX(45deg) rotateZ(45deg) scale(0.8);
}

.icon-seed::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    height: 1px;
    background: var(--void);
    box-shadow: 0 6px 0 var(--void), 0 12px 0 var(--void);
}

.icon-pot {
    width: 30px;
    height: 24px;
    background: var(--burnt-sienna);
    clip-path: polygon(10% 0%, 90% 0%, 100% 100%, 0% 100%);
    transform: rotateX(45deg) rotateZ(45deg) scale(0.8);
}

.icon-pot::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: var(--amber-light);
}

.icon-can {
    width: 28px;
    height: 28px;
    background: var(--warm-gray);
    transform: rotateX(45deg) rotateZ(45deg) scale(0.8);
    border-radius: 2px;
}

.icon-can::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 4px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--warm-gray);
    border-bottom: none;
    border-radius: 4px 4px 0 0;
}

.icon-trowel {
    width: 32px;
    height: 10px;
    background: var(--amber);
    transform: rotateX(45deg) rotateZ(45deg) scale(0.8);
    border-radius: 0 12px 12px 0;
}

.icon-trowel::before {
    content: '';
    position: absolute;
    left: -14px;
    top: 2px;
    width: 14px;
    height: 6px;
    background: var(--dark-charcoal);
    border-radius: 2px;
}

.specimen-data {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.specimen-id {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--warm-gray);
}

.specimen-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--amber);
    letter-spacing: 0.04em;
}

.specimen-status {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--amber-light);
    padding: 2px 6px;
    border: 1px solid var(--dark-charcoal);
}

.specimen-desc {
    font-size: 0.85rem;
    color: var(--warm-gray);
    line-height: 1.5;
}

/* Drift Section */
.section-drift {
    padding: 10rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.drift-block {
    margin: 6rem 0;
    max-width: 500px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s, transform 1s;
}

.drift-block.visible {
    opacity: 1;
    transform: translateY(0);
}

.drift-left {
    margin-left: 0;
    margin-right: auto;
}

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

.drift-right {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.drift-text {
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    color: var(--sand);
    line-height: 1.8;
}

/* Status Section */
.section-status {
    padding: 6rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    transition: opacity 0.8s;
}

.section-status.visible {
    opacity: 1;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.status-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    border: 1px solid var(--dark-charcoal);
}

.status-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--warm-gray);
    letter-spacing: 0.1em;
}

.status-value {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--amber);
}

/* Footer */
.section-footer {
    padding: 4rem 2rem;
    text-align: center;
}

.footer-line {
    width: 60px;
    height: 1px;
    background: var(--dark-charcoal);
    margin: 0 auto 2rem;
}

.footer-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--warm-gray);
    letter-spacing: 0.05em;
}

/* Ambient noise texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
