:root {
  --base: #1a1c1a;
  --surface: #282b28;
  --text: #eef2e1;
  --text-muted: #b0b5a1;
  --accent: #ff6f59;
  --radius: 20px;
  --font-main: 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
  --nav-height: 80px;
}

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

html {
  font-family: var(--font-main);
  background-color: var(--base);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

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

a:hover, a:focus-visible {
  text-decoration: underline;
  outline-offset: 4px;
}

/* Header & Navigation */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  background: transparent;
  transition: background 0.3s ease;
}

.site-header.solid {
  position: fixed;
  background: var(--surface);
  border-bottom: 1px solid rgba(255, 111, 89, 0.2);
}

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none !important;
}

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

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--accent);
}

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

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  width: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--accent);
  flex-direction: column;
  padding: 1rem 2rem;
  z-index: 99;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 0.75rem 0;
  color: var(--text);
  font-weight: 600;
  border-bottom: 1px solid rgba(238, 242, 225, 0.1);
}

/* Layout Spine */
.content-spine {
  max-width: 72ch;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.page-wrapper {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
}

/* Hero Section */
.hero-minimal {
  position: relative;
  padding: calc(var(--nav-height) + 4rem) 1.5rem 4rem;
  text-align: center;
  border-bottom: 1px solid rgba(238, 242, 225, 0.1);
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(238, 242, 225, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(238, 242, 225, 0.04) 1px, transparent 1px);
}

.hero-minimal h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text);
  max-width: 20ch;
  margin-left: auto;
  margin-right: auto;
}

.hero-minimal p.subhead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 auto 2rem;
}

/* Breakout Graphics */
.full-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--surface);
  padding: 4rem 1.5rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  text-align: center;
}

.full-bleed img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 111, 89, 0.3);
  object-fit: cover;
  max-height: 60vh;
}

.full-bleed-caption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Typography elements */
h2 {
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--text);
  line-height: 1.3;
}

h3 {
  font-size: 1.35rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Components */
.flat-card {
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
  background: transparent;
  margin-bottom: 2rem;
}

.flat-card h3 {
  margin-top: 0;
}

.btn {
  display: inline-block;
  background-color: var(--accent);
  color: var(--base);
  font-weight: 700;
  text-decoration: none !important;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  box-shadow: 4px 4px 0px var(--text);
  transform: translate(0, 0);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
  font-family: inherit;
  font-size: 1rem;
}

.btn:active {
  transform: translate(4px, 4px);
  box-shadow: 0px 0px 0px var(--text);
}

/* Numbered Timeline */
.lease-timeline {
  list-style: none;
  padding: 0;
  margin: 3rem 0;
}

.lease-timeline li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.lease-timeline li::before {
  content: counter(timeline-step);
  counter-increment: timeline-step;
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent);
  background: var(--base);
}

.lease-timeline {
  counter-reset: timeline-step;
}

/* Definition List */
dl.definition-card {
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem;
}

dl.definition-card dt {
  font-weight: 700;
  color: var(--accent);
  margin-top: 1rem;
}

dl.definition-card dt:first-child {
  margin-top: 0;
}

dl.definition-card dd {
  margin-left: 0;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  background: var(--surface);
  padding: 4rem 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(238, 242, 225, 0.1);
}

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

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

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

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

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(238, 242, 225, 0.1);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Forms & Tools */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid rgba(255, 111, 89, 0.3);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius);
  display: none;
  margin-top: 1rem;
  border: 1px solid var(--accent);
}

/* Image blocks */
.image-block {
  margin: 2rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(238, 242, 225, 0.1);
}

.image-block img {
  display: block;
  width: 100%;
  height: auto;
}

/* Utilities */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(238, 242, 225, 0.1);
}

th {
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-minimal h1 {
    font-size: 2rem;
  }
  .full-bleed {
    padding: 2rem 1rem;
  }
}

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