:root {
  --bg-canvas: #3b0d1a;
  --bg-surface: #541d2d;
  --bg-surface-hover: #632236;
  --bg-elevated: #441321;
  --text-primary: #fff5e6;
  --text-muted: #d9bfb0;
  --accent-primary: #e8d5a8;
  --accent-secondary: #c9ab6e;
  --border-subtle: #6e273d;
  --border-champagne: #e8d5a8;
  --shadow-soft: 0 14px 34px rgba(24, 4, 10, 0.45);
  --shadow-hover: 0 20px 45px rgba(18, 3, 7, 0.65);
  --max-width: 1200px;
  --font-heading: "Arial Narrow", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-bezier: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--bg-canvas);
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(232, 213, 168, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(232, 213, 168, 0.06) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
}

/* Typography Hierarchy */
h1, h2, h3, h4, .brand-text, .nav-link, .btn, .deco-kicker {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  overflow-wrap: anywhere;
  hyphens: auto;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.25;
  color: var(--accent-primary);
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  max-width: 72ch;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color 0.25s var(--transition-bezier);
}

a:hover, a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-primary);
  color: var(--bg-canvas);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  z-index: 9999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.skip-link:focus {
  top: 1rem;
}

/* Header & Brand - Slim, Simple, Non-sticky (moves up with scroll) */
.site-header {
  position: relative;
  width: 100%;
  background: #2b0813;
  border-bottom: 1px solid rgba(232, 213, 168, 0.2);
  padding: 6px 0;
  z-index: 100;
}

.header-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-primary);
  margin-right: auto;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border: 1px solid var(--accent-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent-primary);
  background: rgba(84, 29, 45, 0.6);
  line-height: 1;
}

.brand-text {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-text span {
  color: var(--accent-primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  align-items: center;
}

.nav-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 0.3rem 0.15rem;
  position: relative;
  display: inline-block;
  letter-spacing: 0.1em;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-primary);
  text-decoration: none;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-primary);
}

.nav-cta {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--accent-primary);
  background: transparent;
  color: var(--accent-primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s var(--transition-bezier);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-primary);
  color: var(--bg-canvas);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(232, 213, 168, 0.4);
  color: var(--accent-primary);
  font-size: 1.25rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: all 0.2s var(--transition-bezier);
}

.menu-toggle:hover, .menu-toggle:focus-visible {
  border-color: var(--accent-primary);
  background: rgba(232, 213, 168, 0.1);
}

/* Common Layout Containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1.5rem;
  width: 100%;
}

.reading-column {
  max-width: 72ch;
  margin: 0 auto;
}

.section-kicker {
  color: var(--accent-primary);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(38, 8, 17, 0.85) 0%, rgba(59, 13, 26, 0.95) 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: clamp(3rem, 7vw, 6rem) 1.5rem;
  text-align: center;
}

.hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.hero p {
  margin: 0 auto 2rem auto;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  color: var(--text-primary);
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.85rem;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--transition-bezier);
  border: 1px solid var(--border-champagne);
  min-height: 44px;
}

.btn-primary {
  background: var(--accent-primary);
  color: var(--bg-canvas);
  border-color: var(--accent-primary);
}

.btn-primary:hover {
  background: #fff;
  border-color: #fff;
  color: var(--bg-canvas);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

.btn-secondary:hover {
  background: rgba(232, 213, 168, 0.12);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

/* Bento & Card Grids */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }

.panel {
  background: var(--bg-surface);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--transition-bezier), box-shadow 0.3s var(--transition-bezier);
  display: flex;
  flex-direction: column;
  position: relative;
  min-width: 0;
}

.panel:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background: var(--bg-surface-hover);
}

.panel-deco-accent {
  border-left: 3px solid var(--accent-primary);
}

.panel-title {
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.panel-figure {
  margin: 1.5rem 0;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #2b0812;
  border: 1px solid var(--border-subtle);
}

.panel-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.aspect-16-9 img {
  aspect-ratio: 16 / 9;
}

.aspect-4-3 img {
  aspect-ratio: 4 / 3;
}

.aspect-1-1 img {
  aspect-ratio: 1 / 1;
}

.card-link-subtle {
  display: inline-block;
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-primary);
}

/* Two-column split layouts */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 3rem 0;
}

/* Sequence & Timeline components */
.sequence-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.sequence-step {
  background: var(--bg-surface);
  padding: 1.75rem;
  border-top: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-soft);
}

.step-number {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  display: block;
}

/* Room and checklist grids */
.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.checklist-card {
  background: var(--bg-surface);
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
}

.checklist-items {
  list-style: none;
  margin-top: 1rem;
}

.checklist-items li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border-subtle);
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.checklist-items li::before {
  content: "—";
  color: var(--accent-primary);
  font-weight: 700;
}

/* Data Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  margin: 2rem 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.data-table th, .data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table th {
  background: #441321;
  color: var(--accent-primary);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.data-table tr:hover {
  background: rgba(232, 213, 168, 0.04);
}

/* FAQ Accordion / Bento */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.faq-item {
  background: var(--bg-surface);
  padding: 1.5rem 2rem;
  border-left: 2px solid var(--accent-primary);
  box-shadow: var(--shadow-soft);
}

.faq-item h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

/* Contact Interactive Planner Tool */
.tool-box {
  background: var(--bg-surface);
  padding: 2.25rem;
  border: 1px solid var(--border-subtle);
  margin: 2rem 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  color: var(--accent-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #2b0812;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.25s var(--transition-bezier);
}

.form-control:focus {
  border-color: var(--accent-primary);
  outline: none;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.tool-output {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #23060e;
  border: 1px dashed var(--accent-primary);
  font-family: monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  color: var(--text-primary);
  display: none;
}

.tool-output.active {
  display: block;
}

.tool-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #280710;
  border-top: 1px solid var(--border-subtle);
  padding: 3.5rem 1.5rem 2.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-brand h4 {
  color: var(--text-primary);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.footer-col h5 {
  color: var(--accent-primary);
  font-family: var(--font-heading);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

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

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

.footer-col ul a {
  color: var(--text-muted);
}

.footer-col ul a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 2.5rem auto 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 213, 168, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Mobile & Tablet Media Queries */
@media (max-width: 1024px) {
  .col-8 { grid-column: span 12; }
  .col-6 { grid-column: span 12; }
  .col-4 { grid-column: span 12; }
  .split-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 840px) {
  .menu-toggle {
    display: inline-flex;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    right: 1.25rem;
    width: calc(100% - 2.5rem);
    max-width: 260px;
    background: #330c18;
    border: 1px solid var(--accent-primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.65);
    flex-direction: column;
    padding: 1rem;
    align-items: stretch;
    z-index: 1000;
    gap: 0.75rem;
  }
  .main-nav.open {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
  }
  .nav-link {
    width: 100%;
    padding: 0.5rem 0.5rem;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(232, 213, 168, 0.08);
  }
  .nav-link.active::after {
    display: none;
  }
  .nav-link.active {
    background: rgba(232, 213, 168, 0.08);
  }
  .nav-cta {
    width: 100%;
    text-align: center;
    padding: 0.5rem 0.75rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}

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