:root {
  --bg-canvas: #211d19;
  --bg-surface: #302a23;
  --bg-surface-alt: #28231d;
  --bg-surface-hover: #3a332b;
  --text-primary: #f4f1ea;
  --text-muted: #c4baa9;
  --accent-primary: #d4a84b;
  --accent-secondary: #e6c374;
  --accent-deep: #9e7526;
  --border-subtle: #453c32;
  --border-strong: #615446;
  --font-serif: Georgia, "Times New Roman", Times, serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-card: 20px;
  --ease-kinetic: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-elevation: 0 14px 34px -6px rgba(0, 0, 0, 0.45);
  --shadow-hover: 0 20px 42px -6px rgba(0, 0, 0, 0.65), 0 0 20px -8px rgba(212, 168, 75, 0.35);
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
  hyphens: auto;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-card);
}

a {
  color: var(--accent-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

a:hover, a:focus-visible {
  color: var(--text-primary);
}

/* Header & Practical Tagline */
.site-header {
  position: relative;
  width: 100%;
  background: #1c1814;
  border-bottom: 1px solid var(--border-subtle);
  z-index: 100;
}

.top-bar-tagline {
  background: #14110e;
  color: var(--text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1.5rem;
  border-bottom: 1px solid rgba(212, 168, 75, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-tagline span {
  color: var(--accent-primary);
  font-weight: 600;
}

.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.brand-link {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
}

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

.brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: none;
}

@media (min-width: 640px) {
  .brand-sub {
    display: inline-block;
  }
}

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

.desktop-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  padding: 0.3rem 0.2rem;
  position: relative;
  transition: color 0.25s ease;
}

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

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

.nav-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--accent-primary);
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle-btn:hover {
  background: var(--bg-surface);
  border-color: var(--accent-primary);
}

.mobile-menu-drawer {
  display: none;
  background: var(--bg-surface);
  border-bottom: 2px solid var(--accent-primary);
  padding: 1.25rem 1.5rem;
}

.mobile-menu-drawer.is-open {
  display: block;
}

.mobile-menu-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-menu-drawer a {
  font-size: 1.05rem;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-menu-drawer a:hover,
.mobile-menu-drawer a.active {
  color: var(--accent-primary);
  padding-left: 0.5rem;
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }
  .nav-toggle-btn {
    display: block;
  }
}

/* Typography & Layout Foundation */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: 1.95rem;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

h4 {
  font-size: 1.15rem;
  color: var(--accent-secondary);
  margin-bottom: 0.4rem;
}

p {
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}

.lead-text {
  font-size: 1.18rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.content-narrow {
  max-width: 72ch;
  margin-left: auto;
  margin-right: auto;
}

.section-spacing {
  padding: 4.5rem 0;
}

.section-spacing-sm {
  padding: 2.5rem 0;
}

/* Gold Band Separator */
.gold-band {
  background: var(--accent-primary);
  color: #1a150e;
  padding: 2rem 1.5rem;
  margin: 2rem 0;
}

.gold-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.gold-band h3 {
  font-family: var(--font-serif);
  color: #1a150e;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.gold-band p {
  color: #2b2317;
  margin: 0;
  max-width: 60ch;
  font-weight: 500;
}

/* Button & Action Components */
.btn {
  display: inline-block;
  padding: 0.95rem 1.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0; /* outlined square-ended buttons */
  transition: all 0.25s var(--ease-kinetic);
  line-height: 1;
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent-primary);
  border: 2px solid var(--accent-primary);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus-visible {
  background: var(--accent-primary);
  color: #191510;
  box-shadow: 0 0 18px rgba(212, 168, 75, 0.4);
}

.btn-solid-dark {
  background: #191510;
  color: var(--accent-primary);
  border: 2px solid #191510;
}

.btn-solid-dark:hover,
.btn-solid-dark:focus-visible {
  background: transparent;
  color: #191510;
}

/* Cards & Surfaces */
.card-panel {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  padding: 2.2rem;
  box-shadow: var(--shadow-elevation);
  transition: transform 0.3s var(--ease-kinetic), box-shadow 0.3s var(--ease-kinetic);
  border: none;
}

.card-panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

/* Hero Section */
.hero-stage {
  position: relative;
  margin: 1.5rem auto 3rem;
  max-width: 1200px;
  padding: 0 1.5rem;
}

.hero-media-wrapper {
  position: relative;
  border-radius: var(--radius-card);
  overflow: visible;
}

.hero-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  filter: contrast(1.05) brightness(0.85);
  box-shadow: var(--shadow-elevation);
}

.hero-floating-facts {
  position: relative;
  background: rgba(48, 42, 35, 0.94);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-card);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow-hover);
  margin-top: -80px;
  margin-left: 2rem;
  margin-right: 2rem;
  border: 1px solid var(--border-subtle);
}

@media (min-width: 900px) {
  .hero-floating-facts {
    position: absolute;
    bottom: -30px;
    right: 40px;
    margin: 0;
    max-width: 480px;
  }
}

.fact-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-primary);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.facts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.facts-list li {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-primary);
  padding-left: 1.3rem;
  position: relative;
}

.facts-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent-primary);
  font-weight: bold;
}

.facts-list strong {
  color: var(--accent-secondary);
}

/* Pull Quotes & Wide Imagery */
.editorial-quote {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--accent-secondary);
  border-left: 3px solid var(--accent-primary);
  padding: 1rem 0 1rem 1.8rem;
  margin: 2.5rem 0;
}

.quote-author {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

.image-full-breakout {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 2.5rem 1.5rem;
}

.breakout-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.breakout-inner img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-elevation);
}

.caption {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-style: italic;
}

/* Floor Plan Annotated Deck */
.diagram-box {
  background: var(--bg-surface-alt);
  border-radius: var(--radius-card);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  margin: 2.5rem 0;
}

.diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.8rem;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.spec-item {
  background: var(--bg-surface);
  padding: 1.2rem;
  border-radius: 12px;
}

.spec-item h5 {
  color: var(--accent-primary);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.spec-item p {
  font-size: 0.92rem;
  margin: 0;
  color: var(--text-primary);
}

/* Responsive Table Wrapper */
.table-wrapper {
  overflow-x: auto;
  margin: 2.2rem 0;
  border-radius: var(--radius-card);
  background: var(--bg-surface);
  box-shadow: var(--shadow-elevation);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
  min-width: 620px;
}

th, td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
}

th {
  background: #25201a;
  color: var(--accent-primary);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

tr:hover td {
  background: rgba(212, 168, 75, 0.04);
}

/* Electrical Safety Notice Component */
.safety-alert-panel {
  background: #2a2014;
  border-left: 4px solid var(--accent-primary);
  padding: 1.8rem 2rem;
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  margin: 2.5rem 0;
}

.safety-alert-panel h4 {
  color: var(--accent-secondary);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.safety-alert-panel p {
  font-size: 0.94rem;
  color: #ded6c9;
  margin-bottom: 0.5rem;
}

.safety-alert-panel p:last-child {
  margin-bottom: 0;
}

/* Interactive Accordion for FAQ */
.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}

.faq-card {
  background: var(--bg-surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-elevation);
  transition: border-color 0.25s ease;
}

.faq-card summary {
  padding: 1.4rem 1.8rem;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  font-family: var(--font-sans);
  font-size: 1.4rem;
  color: var(--accent-primary);
  transition: transform 0.2s ease;
}

.faq-card[open] summary::after {
  transform: rotate(45deg);
}

.faq-body {
  padding: 0 1.8rem 1.6rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.1rem;
}

/* Contact Composer Form & Preview Box */
.composer-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .composer-form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-secondary);
  letter-spacing: 0.04em;
}

input, select, textarea {
  background: #25201a;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, outline 0.2s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 2px rgba(212, 168, 75, 0.25);
}

.preview-output-box {
  background: #171411;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 1.2rem;
  font-family: "Courier New", Courier, monospace;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #dfd8cb;
  white-space: pre-wrap;
  min-height: 140px;
  margin-top: 1.5rem;
}

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

.toast-message {
  padding: 0.8rem 1.2rem;
  background: var(--bg-surface);
  border-left: 3px solid var(--accent-primary);
  color: var(--text-primary);
  font-size: 0.88rem;
  margin-top: 0.8rem;
  display: none;
}

/* Scroll reveal helper */
.reveal-item {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-kinetic), transform 0.7s var(--ease-kinetic);
}

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

/* Footer (strictly standardized) */
.site-footer {
  background: #17130f;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2.5rem;
  margin-top: 5rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

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

.footer-legal-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 44ch;
  margin-bottom: 1.2rem;
}

.footer-links-col h5 {
  color: var(--accent-primary);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links-col a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links-col a:hover {
  color: var(--accent-secondary);
}

.footer-bottom-bar {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 1.8rem 1.5rem 0;
  border-top: 1px solid #29231c;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #9c9181;
}

.footer-bottom-bar a {
  color: #9c9181;
  text-decoration: none;
}

.footer-bottom-bar a:hover {
  color: var(--accent-primary);
}

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