/* mechanic.monster — Neubrutalist Garage Aesthetic */
/* Colors: #f5f0e8, #e8e0d4, #1a1a1a, #d62828, #f77f00, #457b9d, #2a9d8f */
/* Fonts: Playfair Display (900, italic), Space Mono (400, 700), Inter (400, 600, 700) */

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Space Mono', monospace;
    background-color: #e8e0d4;
    color: #1a1a1a;
    overflow-x: hidden;
    cursor: crosshair;
}

/* Utility classes */
.text-red { color: #d62828; }
.text-orange { color: #f77f00; }
.text-blue { color: #457b9d; }
.text-teal { color: #2a9d8f; }

/* ========== SECTION 1: THE OVERHEAD DOOR ========== */
.section--door {
    min-height: 100vh;
    background-color: #1a1a1a;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.door-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
}

.door-panel--top.is-open {
    transform: translateY(-100%);
}

.door-slat {
    height: 15vh;
    background: repeating-linear-gradient(
        90deg,
        #3a3a3a 0px,
        #3a3a3a 2px,
        #2a2a2a 2px,
        #2a2a2a 60px
    );
    border-bottom: 4px solid #1a1a1a;
    position: relative;
}

.door-slat::after {
    content: '';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #555;
    background: #333;
}

.door-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.door-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 1;
    color: #f5f0e8;
    text-transform: lowercase;
}

.door-title__line {
    display: block;
}

.door-title__dot {
    color: #d62828;
    font-size: 1.2em;
}

.door-title__line--monster {
    color: #d62828;
}

.door-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    color: #e8e0d4;
    margin-top: 1.5rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.7;
}

.door-warning {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    height: 40px;
    z-index: 3;
}

.warning-chevron {
    width: 100%;
    height: 40px;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 4;
    animation: pulse-scroll 2s ease-in-out infinite;
}

.scroll-indicator__bolt {
    width: 16px;
    height: 16px;
    background: #f77f00;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.scroll-indicator__text {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #f77f00;
    letter-spacing: 0.2em;
}

@keyframes pulse-scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

/* ========== SECTION 2: THE TOOL WALL ========== */
.section--tools {
    min-height: 100vh;
    background-color: #e8e0d4;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.section-label {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.section-label__number {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #d62828;
    line-height: 1;
}

.section-label__text {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #1a1a1a;
}

.pegboard {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 100px 40px 40px;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.pegboard-holes {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(circle, #c8bfae 2px, transparent 2px);
    background-size: 40px 40px;
    background-position: 20px 20px;
    opacity: 0.4;
}

.tool-card {
    background: #f5f0e8;
    border: 4px solid #1a1a1a;
    box-shadow: 8px 8px 0 #1a1a1a;
    padding: 0;
    width: clamp(280px, 30vw, 400px);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-card:hover {
    box-shadow: 12px 12px 0 #d62828;
}

.tool-card--rotate-left {
    transform: rotate(-2deg);
    margin-top: 40px;
}

.tool-card--rotate-right {
    transform: rotate(1.5deg);
    margin-top: 80px;
}

.tool-card--overlap {
    transform: rotate(-1deg);
    margin-top: 20px;
    margin-left: -20px;
}

.tool-card__header {
    background: #1a1a1a;
    color: #f5f0e8;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tool-card__header h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: 1.5rem;
}

.bolt-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: #f77f00;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    flex-shrink: 0;
}

.tool-card__body {
    padding: 20px;
}

.tool-svg {
    width: 100%;
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto 16px;
}

.tool-card__text {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #1a1a1a;
}

/* ========== SECTION 3: THE LIFT BAY ========== */
.section--lift {
    min-height: 100vh;
    background-color: #f5f0e8;
    position: relative;
    padding: 0;
    overflow: hidden;
}

.lift-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 40px 40px;
    position: relative;
}

.lift-posts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.lift-post {
    position: absolute;
    top: 10%;
    width: 24px;
    height: 80%;
    background: linear-gradient(90deg, #457b9d, #3a6b8a, #457b9d);
    border: 3px solid #1a1a1a;
}

.lift-post--left { left: 12%; }
.lift-post--right { right: 12%; }

.lift-post::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -10px;
    right: -10px;
    height: 20px;
    background: #1a1a1a;
}

.lift-post::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -20px;
    right: -20px;
    height: 30px;
    background: #1a1a1a;
}

.lift-platform {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    margin-bottom: 40px;
}

.car-svg {
    width: 100%;
    height: auto;
}

.lift-narrative {
    display: flex;
    gap: 30px;
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    flex-wrap: wrap;
}

.lift-narrative__block {
    flex: 1;
    min-width: 280px;
    background: #f5f0e8;
    border: 4px solid #1a1a1a;
    box-shadow: 6px 6px 0 #1a1a1a;
    padding: 24px;
}

.lift-narrative__block--left {
    transform: rotate(-1deg);
}

.lift-narrative__block--right {
    transform: rotate(1deg);
}

.lift-narrative__block h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    margin-bottom: 12px;
    color: #1a1a1a;
}

.lift-narrative__block p {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.7;
    color: #1a1a1a;
}

/* ========== SECTION 4: THE PARTS COUNTER ========== */
.section--parts {
    min-height: 100vh;
    background-color: #e8e0d4;
    position: relative;
    padding: 100px 40px 60px;
    overflow: hidden;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.parts-bin {
    background: #f5f0e8;
    border: 4px solid #1a1a1a;
    box-shadow: 6px 6px 0 #1a1a1a;
    padding: 16px;
    position: relative;
}

.parts-bin--large {
    grid-column: span 2;
}

.parts-bin--wide {
    grid-column: 1 / -1;
}

.parts-bin__label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #1a1a1a;
}

.parts-bin__code {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #d62828;
    letter-spacing: 0.1em;
}

.parts-bin__name {
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: #1a1a1a;
}

.parts-svg {
    width: 100%;
    height: auto;
    max-height: 150px;
    display: block;
    margin: 0 auto;
}

.parts-narrative {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 24px;
    background: #1a1a1a;
    border: 4px solid #1a1a1a;
    transform: rotate(-0.5deg);
}

.parts-narrative p {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.7;
    color: #f5f0e8;
}

/* ========== SECTION 5: THE SERVICE MANUAL ========== */
.section--manual {
    min-height: 100vh;
    background-color: #f5f0e8;
    position: relative;
    padding: 100px 20px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.manual-spread {
    display: flex;
    gap: 0;
    max-width: 1000px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
}

.manual-page {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    background: #f5f0e8;
    border: 3px solid #1a1a1a;
    padding: 30px 24px;
    position: relative;
}

.manual-page--left {
    border-right: 1px solid #1a1a1a;
    box-shadow: -4px 4px 0 #1a1a1a;
}

.manual-page--right {
    border-left: 1px solid #1a1a1a;
    box-shadow: 4px 4px 0 #1a1a1a;
}

.manual-page__header {
    display: flex;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 0.6rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #457b9d;
    border-bottom: 1px solid #457b9d;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.manual-page__content h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.manual-page__content p {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.manual-diagram {
    background: #e8e0d4;
    border: 2px solid #1a1a1a;
    padding: 16px;
    margin: 16px 0;
}

.manual-diagram svg {
    width: 100%;
    height: auto;
    max-height: 200px;
}

.manual-caption {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    color: #457b9d;
    font-style: italic;
    margin-top: 8px;
}

.manual-page__footer {
    text-align: center;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    color: #1a1a1a;
    margin-top: 20px;
    padding-top: 12px;
    border-top: 1px solid #1a1a1a;
}

.spec-table {
    border: 2px solid #1a1a1a;
    margin: 16px 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid #e8e0d4;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
}

.spec-row:nth-child(even) {
    background: #e8e0d4;
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: #1a1a1a;
}

.spec-value {
    color: #d62828;
    font-weight: 700;
}

/* ========== SECTION 6: THE GREASE PIT ========== */
.section--pit {
    min-height: 100vh;
    background-color: #1a1a1a;
    position: relative;
    padding: 100px 0 60px;
    overflow: hidden;
}

.section--pit .section-label {
    color: #f5f0e8;
}

.section--pit .section-label__text {
    color: #f5f0e8;
}

.pit-container {
    display: flex;
    align-items: stretch;
    min-height: 60vh;
    position: relative;
}

.pit-edge {
    width: 15%;
    background: #e8e0d4;
    border-bottom: 8px solid #1a1a1a;
    position: relative;
}

.pit-edge::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(26, 26, 26, 0.1) 10px,
        rgba(26, 26, 26, 0.1) 11px
    );
}

.pit-edge--left {
    border-right: 6px solid #d62828;
}

.pit-edge--right {
    border-left: 6px solid #d62828;
}

.pit-well {
    flex: 1;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 30%, #0f0f0f 100%);
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pit-content {
    max-width: 600px;
    text-align: center;
    position: relative;
}

.pit-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(2rem, 5vw, 4rem);
    color: #f5f0e8;
    margin-bottom: 20px;
}

.pit-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #e8e0d4;
    opacity: 0.8;
}

.oil-drips {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: calc(100% + 120px);
    pointer-events: none;
    overflow: hidden;
}

.oil-drip {
    position: absolute;
    width: 4px;
    height: 30px;
    background: linear-gradient(180deg, transparent, #2a9d8f, transparent);
    border-radius: 2px;
    animation: drip 3s ease-in infinite;
}

.oil-drip--1 { left: 10%; animation-delay: 0s; }
.oil-drip--2 { left: 30%; animation-delay: 0.7s; }
.oil-drip--3 { left: 50%; animation-delay: 1.4s; }
.oil-drip--4 { left: 70%; animation-delay: 2.1s; }
.oil-drip--5 { left: 90%; animation-delay: 0.3s; }

@keyframes drip {
    0% { top: -30px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

.pit-diagram {
    margin-top: 40px;
    padding: 20px;
    border: 2px solid #d62828;
    max-width: 500px;
    width: 100%;
}

.pit-diagram svg {
    width: 100%;
    height: auto;
}

.pit-diagram svg path,
.pit-diagram svg line,
.pit-diagram svg rect,
.pit-diagram svg circle {
    stroke: #f5f0e8;
}

.pit-diagram svg .exhaust-smoke {
    stroke: #d62828;
}

.pit-diagram svg text {
    fill: #d62828;
}

/* ========== SECTION 7: THE BACK LOT ========== */
.section--lot {
    min-height: 100vh;
    background-color: #e8e0d4;
    position: relative;
    padding: 100px 40px 60px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lot-content {
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.lot-block {
    width: 100%;
}

.lot-block--main {
    background: #f5f0e8;
    border: 4px solid #1a1a1a;
    box-shadow: 8px 8px 0 #1a1a1a;
    padding: 40px;
    transform: rotate(-0.5deg);
}

.lot-title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-style: italic;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #1a1a1a;
    margin-bottom: 16px;
}

.lot-text {
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #1a1a1a;
}

.lot-block--signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.monster-mark {
    width: 120px;
    height: 120px;
}

.monster-mark svg {
    width: 100%;
    height: 100%;
}

.lot-footer {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #1a1a1a;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.6;
}

.lot-rust-marks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.rust-mark {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(247, 127, 0, 0.15), transparent 70%);
}

.rust-mark--1 {
    width: 300px;
    height: 200px;
    top: 10%;
    right: 5%;
}

.rust-mark--2 {
    width: 200px;
    height: 300px;
    bottom: 15%;
    left: 8%;
}

.rust-mark--3 {
    width: 250px;
    height: 250px;
    top: 50%;
    left: 40%;
}

/* ========== SCROLL ANIMATIONS ========== */
.section {
    position: relative;
}

.section.is-visible .tool-card,
.section.is-visible .lift-narrative__block,
.section.is-visible .parts-bin,
.section.is-visible .lot-block {
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
    }
}

.tool-card,
.lift-narrative__block,
.parts-bin,
.lot-block {
    opacity: 0;
}

.section.is-visible .tool-card--rotate-left { animation-delay: 0.1s; }
.section.is-visible .tool-card--rotate-right { animation-delay: 0.3s; }
.section.is-visible .tool-card--overlap { animation-delay: 0.5s; }

.section.is-visible .tool-card--rotate-left {
    animation: slideUpRotateLeft 0.6s ease-out 0.1s forwards;
}
.section.is-visible .tool-card--rotate-right {
    animation: slideUpRotateRight 0.6s ease-out 0.3s forwards;
}
.section.is-visible .tool-card--overlap {
    animation: slideUpRotateOverlap 0.6s ease-out 0.5s forwards;
}

@keyframes slideUpRotateLeft {
    from { opacity: 0; transform: translateY(40px) rotate(-6deg); }
    to { opacity: 1; transform: rotate(-2deg); }
}

@keyframes slideUpRotateRight {
    from { opacity: 0; transform: translateY(40px) rotate(6deg); }
    to { opacity: 1; transform: rotate(1.5deg); }
}

@keyframes slideUpRotateOverlap {
    from { opacity: 0; transform: translateY(40px) rotate(-5deg); }
    to { opacity: 1; transform: rotate(-1deg); }
}

.section.is-visible .lift-narrative__block--left {
    animation: slideUpRotateNarrLeft 0.6s ease-out 0.2s forwards;
}
.section.is-visible .lift-narrative__block--right {
    animation: slideUpRotateNarrRight 0.6s ease-out 0.4s forwards;
}

@keyframes slideUpRotateNarrLeft {
    from { opacity: 0; transform: translateY(40px) rotate(-4deg); }
    to { opacity: 1; transform: rotate(-1deg); }
}

@keyframes slideUpRotateNarrRight {
    from { opacity: 0; transform: translateY(40px) rotate(4deg); }
    to { opacity: 1; transform: rotate(1deg); }
}

.section.is-visible .parts-bin:nth-child(1) { animation-delay: 0.1s; }
.section.is-visible .parts-bin:nth-child(2) { animation-delay: 0.2s; }
.section.is-visible .parts-bin:nth-child(3) { animation-delay: 0.3s; }
.section.is-visible .parts-bin:nth-child(4) { animation-delay: 0.4s; }

.section.is-visible .lot-block--main {
    animation: slideUpLot 0.8s ease-out 0.1s forwards;
}

@keyframes slideUpLot {
    from { opacity: 0; transform: translateY(40px) rotate(-2deg); }
    to { opacity: 1; transform: rotate(-0.5deg); }
}

.section.is-visible .lot-block--signature {
    animation: fadeIn 1s ease-out 0.6s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* SVG line-draw animation */
.car-body-line,
.car-roof-line,
.car-window,
.car-wheel,
.exhaust-pipe {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    transition: stroke-dashoffset 2s ease-out;
}

.section--lift.is-visible .car-body-line,
.section--lift.is-visible .car-roof-line,
.section--lift.is-visible .car-window,
.section--lift.is-visible .car-wheel,
.section--lift.is-visible .exhaust-pipe {
    stroke-dashoffset: 0;
}

.section--lift.is-visible .car-roof-line { transition-delay: 0.3s; }
.section--lift.is-visible .car-window { transition-delay: 0.6s; }
.section--lift.is-visible .car-wheel { transition-delay: 0.9s; }

/* Gear rotation animation */
.gear-group {
    animation: rotate-gear 8s linear infinite;
    transform-origin: center center;
}

@keyframes rotate-gear {
    from { transform: translate(100px, 100px) rotate(0deg); }
    to { transform: translate(100px, 100px) rotate(360deg); }
}

/* Gauge needle animation */
.gauge-needle {
    transform-origin: 100px 100px;
    animation: gauge-sweep 4s ease-in-out infinite alternate;
}

@keyframes gauge-sweep {
    from { transform: rotate(-45deg); }
    to { transform: rotate(45deg); }
}

/* Exhaust smoke animation */
.exhaust-smoke {
    animation: smoke-float 2s ease-out infinite;
}

.exhaust-smoke:nth-child(8) { animation-delay: 0s; }
.exhaust-smoke:nth-child(9) { animation-delay: 0.5s; }
.exhaust-smoke:nth-child(10) { animation-delay: 1s; }

@keyframes smoke-float {
    0% { opacity: 0.8; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(-20px) scale(1.5); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .pegboard {
        padding: 80px 16px 16px;
        flex-direction: column;
        align-items: center;
    }

    .tool-card {
        width: 100%;
        max-width: 360px;
    }

    .tool-card--rotate-left,
    .tool-card--rotate-right,
    .tool-card--overlap {
        margin-top: 20px;
        margin-left: 0;
    }

    .lift-narrative {
        flex-direction: column;
    }

    .manual-spread {
        flex-direction: column;
        align-items: center;
    }

    .manual-page {
        max-width: 100%;
    }

    .manual-page--left {
        border-right: 3px solid #1a1a1a;
        box-shadow: 0 4px 0 #1a1a1a;
    }

    .manual-page--right {
        border-left: 3px solid #1a1a1a;
        box-shadow: 0 4px 0 #1a1a1a;
    }

    .parts-grid {
        grid-template-columns: 1fr;
    }

    .parts-bin--large,
    .parts-bin--wide {
        grid-column: 1;
    }

    .pit-edge {
        width: 8%;
    }

    .pit-well {
        padding: 40px 20px;
    }

    .lift-post--left { left: 4%; }
    .lift-post--right { right: 4%; }

    .lot-block--main {
        padding: 24px;
    }

    .section-label {
        top: 12px;
        left: 12px;
    }
}

@media (max-width: 480px) {
    .door-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .section--parts,
    .section--manual,
    .section--lot {
        padding: 80px 16px 40px;
    }
}