:root {
  /* Wabi Sabi Sand Palette - Strictly No Blue */
  --bg-canvas: #f3e9d8;
  --bg-surface: #fffaf0;
  --bg-surface-hover: #fdf5e6;
  --text-primary: #262626;
  --text-muted: #525252;
  --accent-primary: #c2410c;
  --accent-secondary: #9a3412;
  --border-subtle: #e5d8c1;
  
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 12px 32px -4px rgba(38, 38, 38, 0.15);
  --glow-accent: 0 0 24px -4px rgba(194, 65, 12, 0.4);
  
  --font-serif: Charter, Cambria, Georgia, serif;
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-serif);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  color: var(--text-primary);
  text-decoration: none;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background-color: var(--bg-canvas);
  position: relative;
  z-index: 100;
}

.brand-logo {
  font-size: 1.25rem;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-variant: small-caps;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-primary);
  transition: width 0.3s var(--ease-kinetic);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-primary);
}

/* Main Layout Elements */
.hero-band {
  background-color: var(--bg-surface);
  padding: 4rem 5% 6rem;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  text-align: center;
}

.hero-band h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: 900px;
  margin: 0 auto;
}

.lead-block {
  max-width: 72ch;
  margin: 4rem auto;
  padding: 0 5%;
  font-size: 1.25rem;
  color: var(--text-muted);
  text-align: center;
}

.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 2rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cards */
.wabi-card {
  background-color: var(--bg-surface);
  padding: 2rem;
  border-radius: 0; /* Forced sharp corners */
  transition: transform 0.4s var(--ease-kinetic), box-shadow 0.4s var(--ease-kinetic);
  display: flex;
  flex-direction: column;
}

.wabi-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevation);
  background-color: var(--bg-surface-hover);
}

.wabi-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 1.5rem;
}

.wabi-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.wabi-card p {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Interactive Elements */
.btn-primary {
  display: inline-block;
  background-color: var(--accent-primary);
  color: var(--bg-surface);
  padding: 0.75rem 2rem;
  font-variant: small-caps;
  font-size: 1.1rem;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-kinetic), transform 0.3s var(--ease-kinetic);
}

.btn-primary:hover {
  background-color: var(--accent-secondary);
  color: var(--bg-surface);
  transform: translateY(-2px);
}

.text-link {
  color: var(--accent-primary);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease-kinetic);
  font-weight: bold;
}

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

/* Sections with diagonal edges */
.section-diagonal {
  background-color: var(--bg-surface);
  padding: 6rem 5%;
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  margin: 4rem 0;
}

/* Forms */
form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

input, textarea {
  width: 100%;
  padding: 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 0;
  font-family: var(--font-serif);
  color: var(--text-primary);
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 1px var(--accent-primary);
}

/* Content Formatting */
.content-body {
  max-width: 72ch;
  margin: 0 auto;
  padding: 2rem 5% 4rem;
}

.content-body h2 {
  margin-top: 3rem;
  font-size: 2rem;
}

.content-body p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.content-body img {
  width: 100%;
  height: auto;
  border-radius: 0;
  margin: 2rem 0;
}

.table-wrapper {
  overflow-x: auto;
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  font-variant: small-caps;
}

/* FAQ Styles */
.faq-item {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item h3 {
  font-size: 1.25rem;
  color: var(--accent-primary);
}

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

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

/* Footer */
.site-footer {
  background-color: var(--bg-surface);
  padding: 4rem 5% 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-variant: small-caps;
  margin-bottom: 1rem;
  color: var(--accent-primary);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-canvas);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.4s var(--ease-kinetic);
  }

  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .mobile-menu-btn {
    display: block;
  }
  
  .hero-band h1 {
    font-size: 2rem;
  }
}

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