:root {
  --bg-canvas: #ffffff;
  --bg-surface: #fdf2f8; 
  --text-primary: #1c1917;
  --text-muted: #44403c;
  --accent-primary: #9333ea;
  --accent-dark: #7e22ce;
  --shadow-hard: 4px 4px 0 var(--text-primary);
  --shadow-hard-hover: 2px 2px 0 var(--text-primary);
  --shadow-soft: 0 4px 20px rgba(28, 25, 23, 0.08);
  --shadow-soft-hover: 0 12px 32px rgba(147, 51, 234, 0.15);
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* Strict 0px radius enforcement */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.8;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
p { margin-bottom: 1.5rem; color: var(--text-muted); font-size: 1.1rem; max-width: 72ch; }

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover { color: var(--accent-dark); }

ul, ol { margin-bottom: 1.5rem; padding-left: 1.5rem; color: var(--text-muted); }
li { margin-bottom: 0.5rem; }

/* Header & Nav */
.header-wrapper {
  position: static;
  padding: 1.5rem 5%;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  background: var(--bg-canvas);
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border: 1px solid rgba(28, 25, 23, 0.1);
}

.brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--text-primary);
}

.desktop-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.desktop-nav a {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.desktop-nav a:hover, .desktop-nav a.active {
  color: var(--accent-primary);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
  padding: 0.5rem;
  line-height: 1;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-canvas);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 2rem 5%;
  border-bottom: 1px solid rgba(28, 25, 23, 0.1);
  box-shadow: var(--shadow-soft);
  z-index: 100;
}

.mobile-menu.active { display: flex; }
.mobile-menu a {
  padding: 1rem 0;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(28,25,23,0.05);
}

/* UI Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-primary);
  color: #ffffff !important;
  padding: 1rem 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--text-primary);
  box-shadow: var(--shadow-hard);
  transition: all 0.2s ease;
  cursor: pointer;
  margin-top: 1rem;
}
.btn:hover {
  transform: translate(2px, 2px);
  box-shadow: var(--shadow-hard-hover);
  background: var(--accent-dark);
}

.btn-secondary {
  background: var(--bg-canvas);
  color: var(--text-primary) !important;
}
.btn-secondary:hover {
  background: var(--bg-surface);
}

.card {
  background: var(--bg-canvas);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(28, 25, 23, 0.05);
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft-hover);
}

/* Moody Imagery */
.moody-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.25) brightness(0.85) grayscale(10%);
  display: block;
}

/* Layouts */
.main-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

.hero-short {
  padding: 4rem 5% 6rem;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}
.hero-short h1 { margin-bottom: 1rem; }
.hero-short p { margin: 0 auto; text-align: center; font-size: 1.25rem; }

.split-section {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 70vh;
}
.split-section.reverse { flex-direction: row-reverse; }

.split-content, .split-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 5%;
}
.split-image { padding: 0; position: relative; }

/* Backgrounds & Clips */
.bg-surface-angled {
  background-color: var(--bg-surface);
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  padding: 8rem 0;
  margin: -4vw 0;
  position: relative;
  z-index: 1;
}

.bg-canvas-angled {
  background-color: var(--bg-canvas);
  clip-path: polygon(0 0, 100% 4vw, 100% 100%, 0 calc(100% - 4vw));
  padding: 8rem 0;
  position: relative;
  z-index: 2;
}

/* Grid layout for inner pages */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 4rem 0;
}

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; font-weight: 700; margin-bottom: 0.5rem; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 0.05em; }
.form-control { width: 100%; padding: 1rem; border: 1px solid rgba(28,25,23,0.2); background: var(--bg-canvas); font-family: inherit; font-size: 1rem; color: var(--text-primary); transition: border-color 0.3s; }
.form-control:focus { outline: none; border-color: var(--accent-primary); }
.checkbox-group { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; cursor: pointer; color: var(--text-muted); }
.checkbox-label input { width: 1.25rem; height: 1.25rem; accent-color: var(--accent-primary); }

/* Footer */
footer {
  background: var(--text-primary);
  color: var(--bg-surface);
  padding: 6rem 5% 3rem;
  margin-top: 6rem;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-col h4 { color: #ffffff; text-transform: uppercase; font-size: 1rem; letter-spacing: 0.05em; margin-bottom: 1.5rem; }
.footer-col p, .footer-col a { color: #a8a29e; font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent-primary); }
.footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #78716c;
}
.footer-bottom a { color: #78716c; }
.footer-bottom a:hover { color: #ffffff; }

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-kinetic), transform 0.8s var(--ease-kinetic);
}
.reveal.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .desktop-nav { display: none; }
  .mobile-toggle { display: block; }
  .split-section, .split-section.reverse { flex-direction: column; min-height: auto; }
  .split-image { min-height: 400px; }
  .split-content { padding: 4rem 5%; }
  .bg-surface-angled { clip-path: polygon(0 8vw, 100% 0, 100% calc(100% - 8vw), 0 100%); margin: -8vw 0; padding: 6rem 0; }
  .bg-canvas-angled { clip-path: polygon(0 0, 100% 8vw, 100% 100%, 0 calc(100% - 8vw)); }
  h1 { font-size: 2.5rem; }
}

table { width: 100%; border-collapse: collapse; margin: 2rem 0; }
th, td { border: 1px solid rgba(28,25,23,0.1); padding: 1rem; text-align: left; }
th { background: var(--bg-surface); font-weight: 800; text-transform: uppercase; font-size: 0.85rem; }

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