:root {
    --bg: #f8f5ef;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-solid: #ffffff;
    --text: #2f312d;
    --muted: #6a7164;
    --accent: #303b23;
    --accent-2: #c8b896;
    --border: rgba(48, 59, 35, 0.12);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius: 24px;
    --radius-sm: 16px;
    --max: 1120px;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, Arial, sans-serif;
    line-height: 1.6;
  }
  
  h1, h2, h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.15;
    margin-top: 0;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  .container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto;
  }
  
  .site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(248, 245, 239, 0.82);
    border-bottom: 1px solid var(--border);
  }
  
  .nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  
  .nav nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
  }
  
  .nav nav a {
    font-size: 0.96rem;
    color: var(--muted);
  }
  
  .nav nav a.active,
  .nav nav a:hover {
    color: var(--accent);
  }
  
  .brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    color: var(--accent);
    font-weight: 700;
  }
  
  .hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    background:
      linear-gradient(rgba(24, 29, 18, 0.30), rgba(24, 29, 18, 0.30)),
      url("https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
  }
  
  .hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: var(--shadow);
    border-radius: 32px;
    padding: 56px 32px;
    max-width: 760px;
  }
  
  .eyebrow,
  .section-label {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 12px;
  }
  
  .hero h1,
  .page-hero h1 {
    font-size: clamp(2.6rem, 6vw, 5.4rem);
    margin-bottom: 14px;
  }
  
  .hero-subtitle,
  .lead,
  .lead-small {
    color: var(--muted);
  }
  
  .hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 28px;
  }
  
  .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
  }
  
  .btn-primary {
    background: var(--accent);
    color: white;
  }
  
  .btn-primary:hover {
    opacity: 0.95;
  }
  
  .btn-secondary {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
  }
  
  .btn-full {
    width: 100%;
  }
  
  .section {
    padding: 88px 0;
  }
  
  .section-soft {
    background: rgba(255,255,255,0.35);
  }
  
  .page-main {
    min-height: 100vh;
  }
  
  .page-hero {
    padding: 90px 0 24px;
  }
  
  .intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 28px;
  }
  
  .cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  
  .cards-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .narrow {
    max-width: 760px;
  }
  
  .card {
    background: var(--surface-solid);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
  }
  
  .clean-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .clean-list li + li {
    margin-top: 10px;
  }
  
  .text-link {
    color: var(--accent);
    font-weight: 600;
  }
  
  .timeline {
    display: grid;
    gap: 18px;
  }
  
  .timeline-time {
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 6px;
  }
  
  .prose p + p {
    margin-top: 16px;
  }
  
  .site-footer {
    border-top: 1px solid var(--border);
    padding: 26px 0 42px;
  }
  
  .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .muted {
    color: var(--muted);
  }
  
  .login-body {
    min-height: 100vh;
    background:
      linear-gradient(rgba(24, 29, 18, 0.25), rgba(24, 29, 18, 0.25)),
      url("https://images.unsplash.com/photo-1520854221256-17451cc331bf?auto=format&fit=crop&w=1600&q=80")
      center / cover no-repeat;
  }
  
  .login-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
  }
  
  .login-card {
    width: min(460px, 100%);
    background: rgba(255,255,255,0.90);
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 16px 50px rgba(0,0,0,0.12);
    padding: 36px 28px;
    text-align: center;
  }
  
  .login-form {
    margin-top: 24px;
  }
  
  .login-form input {
    width: 100%;
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid #d8ddd3;
    padding: 0 16px;
    margin-bottom: 14px;
    font-size: 1rem;
    background: white;
  }
  
  @media (max-width: 900px) {
    .intro-grid,
    .cards-3,
    .cards-2 {
      grid-template-columns: 1fr;
    }
  
    .nav {
      padding: 14px 0;
      align-items: flex-start;
      flex-direction: column;
    }
  }