:root {
  --bg-canvas: #2b211a;
  --bg-surface: #3d2f25;
  --text-primary: #eef7f2;
  --text-muted: #a6b5ad;
  --accent-primary: #ff6f59;
  --accent-hover: #e05b46;
  --border-subtle: rgba(238, 247, 242, 0.08);
  --border-radius: 4px;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-deep: 0 20px 40px -10px rgba(0,0,0,0.5);
}
*, *::before, *::after { box-sizing: border-box; }
html { font-family: 'Trebuchet MS', 'Segoe UI', sans-serif; line-height: 1.8; color: var(--text-primary); background-color: var(--bg-canvas); scroll-behavior: smooth; }
body { margin: 0; padding: 0; overflow-x: hidden; overflow-wrap: anywhere; hyphens: auto; }
h1, h2, h3, h4 { margin: 0 0 1rem 0; font-weight: 700; line-height: 1.2; text-transform: uppercase; letter-spacing: 1px; }
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
p { margin: 0 0 1.5rem 0; color: var(--text-muted); }
a { color: var(--text-primary); text-decoration: none; transition: color 0.3s var(--ease-kinetic); }
a:hover { color: var(--accent-primary); }
img { max-width: 100%; display: block; object-fit: cover; border-radius: var(--border-radius); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Header & Nav */
header { position: absolute; top: 0; left: 0; width: 100%; padding: 2rem 0; z-index: 100; background: transparent; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.brand { font-size: 1.25rem; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: var(--text-primary); }
.desktop-nav { display: none; }
.desktop-nav ul { list-style: none; display: flex; gap: 2rem; margin: 0; padding: 0; }
.desktop-nav a { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.mobile-toggle { background: transparent; border: none; color: var(--text-primary); font-size: 1.5rem; cursor: pointer; padding: 0.5rem; display: block; }
.mobile-menu { position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-surface); padding: 2rem; display: none; flex-direction: column; gap: 1rem; border-bottom: 1px solid var(--border-subtle); box-shadow: var(--shadow-deep); }
.mobile-menu.active { display: flex; }
.mobile-menu a { font-size: 1.1rem; text-transform: uppercase; font-weight: bold; }
@media (min-width: 769px) {
  .desktop-nav { display: block; }
  .mobile-toggle { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2.5rem; background: var(--accent-primary); color: #fff; border-radius: 9999px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s var(--ease-kinetic); border: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 20px -5px rgba(255, 111, 89, 0.4); color: #fff; }

/* Hero Section */
.hero { position: relative; min-height: 100vh; padding: 10rem 0 6rem; display: flex; align-items: center; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: center; }
.hero-content { z-index: 2; }
.hero-overlap-images { position: relative; height: 500px; width: 100%; display: none; }
.hero-overlap-images img { position: absolute; box-shadow: var(--shadow-deep); }
.img-1 { width: 60%; height: auto; top: 0; right: 0; z-index: 1; }
.img-2 { width: 50%; height: auto; bottom: 10%; left: 0; z-index: 2; border: 4px solid var(--bg-canvas); }
.img-3 { width: 45%; height: auto; top: 20%; left: 10%; z-index: 3; border: 4px solid var(--bg-canvas); }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-overlap-images { display: block; }
}

/* Layout Transitions & Sections */
.section { padding: 6rem 0; position: relative; }
.section-diagonal { background: var(--bg-surface); clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%); padding: 10vw 0; margin: -4vw 0; z-index: 2; }
.section-diagonal-alt { background: var(--bg-canvas); clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 calc(100% - 4vw)); padding: 10vw 0; margin: -4vw 0; z-index: 3; }

/* Bento Grid */
.bento-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; auto-rows: 250px; }
.bento-tile { position: relative; background: var(--bg-surface); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-deep); }
.bento-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-kinetic); }
.bento-tile:hover img { transform: scale(1.05); }
.bento-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5rem; background: linear-gradient(to top, rgba(43,33,26,0.9), transparent); }
.bento-title { margin: 0; font-size: 1.25rem; }
@media (min-width: 769px) {
  .bento-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; }
  .bento-large { grid-column: span 2; grid-row: span 2; }
  .bento-wide { grid-column: span 2; grid-row: span 1; }
}

/* List Rows (No Cards) */
.list-rows { list-style: none; padding: 0; margin: 2rem 0; }
.list-rows li { display: flex; align-items: flex-start; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border-subtle); transition: background 0.3s; }
.list-rows li:hover { background: rgba(238, 247, 242, 0.02); }
.list-rows li:last-child { border-bottom: none; }
.list-icon { color: var(--accent-primary); font-size: 1.5rem; line-height: 1; margin-top: 0.25rem; font-weight: bold; }
.list-content h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.list-content p { margin: 0; font-size: 0.95rem; }

/* Configurator Tool */
.configurator-panel { background: var(--bg-canvas); padding: 3rem; border-radius: var(--border-radius); border: 1px solid var(--border-subtle); margin-top: 2rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: bold; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; color: var(--text-primary); }
.form-control { width: 100%; padding: 1rem; background: var(--bg-surface); border: 1px solid var(--border-subtle); color: var(--text-primary); border-radius: var(--border-radius); font-family: inherit; font-size: 1rem; transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--accent-primary); }
select.form-control { appearance: none; cursor: pointer; }
.tool-feedback { margin-top: 1rem; font-size: 0.9rem; color: var(--accent-primary); display: none; }

/* Page Specific & General Content */
.page-header { padding: 12rem 0 6rem; background: var(--bg-surface); text-align: center; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 4vw), 0 100%); margin-bottom: 4rem; }
.content-wrapper { max-width: 800px; margin: 0 auto; padding: 0 2rem; }
.content-wrapper img { margin: 3rem 0; box-shadow: var(--shadow-deep); }
.content-wrapper h2 { margin-top: 3rem; }

/* Tables for Specs */
.table-responsive { overflow-x: auto; margin: 2rem 0; border-radius: var(--border-radius); }
table { width: 100%; border-collapse: collapse; text-align: left; background: var(--bg-surface); }
th, td { padding: 1rem; border-bottom: 1px solid var(--border-subtle); }
th { text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; color: var(--accent-primary); }

/* Footer */
footer { background: var(--bg-surface); clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%); padding: 8rem 0 4rem; margin-top: 4rem; border-top: 1px solid var(--border-subtle); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 4rem; }
.footer-col h4 { color: var(--accent-primary); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col a { color: var(--text-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent-primary); }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); text-decoration: underline; }

/* Scroll Reveals */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s var(--ease-kinetic); }
.reveal.reveal-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
