:root {
  --background: #151715;
  --panel: #222622;
  --panel-edge: #3d423b;
  --cream: #f1e9d6;
  --muted: #bbb8a9;
  --orange: #d98242;
  --light: #e9e4d8;
  --ink: #282b25;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--cream);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

.shell {
  width: min(1120px, calc(100% - 44px));
  margin: auto;
}

.narrow { max-width: 820px; }

.site-header {
  background: #121411;
  border-bottom: 1px solid var(--panel-edge);
}

.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.header-inner { min-height: 88px; }

.wordmark { display: flex; align-items: center; gap: 14px; }
.mark { font-size: 30px; font-weight: 900; letter-spacing: -2px; }
.accent { color: var(--orange); }
.wordmark-sub {
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 700;
}

nav { display: flex; gap: 26px; }
nav a { color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--orange); }

.hero {
  background:
    radial-gradient(circle at 82% 22%, #423024 0%, transparent 45%),
    linear-gradient(135deg, #1b201b, #111411);
  border-bottom: 4px solid var(--orange);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 58px;
  padding: 90px 0;
}

.eyebrow {
  color: var(--orange);
  font-size: 12px;
  letter-spacing: 2.5px;
  font-weight: 800;
  text-transform: uppercase;
}

h1, h2, h3 {
  line-height: 1.13;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(44px, 6vw, 76px); margin: 22px 0; }
h2 { font-size: clamp(32px, 4vw, 45px); margin: 14px 0 28px; }
h3 { font-size: 22px; margin: 15px 0; }

.lead { font-size: 19px; color: #d3d1c7; max-width: 640px; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 35px;
}

.button {
  padding: 13px 22px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
}

.primary { background: var(--orange); color: #1a1815; }
.secondary { border: 1px solid #8a8a7b; color: var(--cream); }
.button:hover { filter: brightness(1.13); }

.hero-note { color: #9b9e91; font-size: 13px; margin-top: 32px; }

.logo-panel {
  padding: 16px;
  background: #101310;
  border: 1px solid #575246;
  border-radius: 12px;
  box-shadow: 0 24px 60px #0009;
}

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

.section { padding: 82px 0; }
.section p { font-size: 17px; }
.section .narrow > p:not(.eyebrow) { color: #c7c6bd; }

.section-dark { background: #20241f; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.project-card, .feature {
  background: #181c18;
  border: 1px solid #424840;
  border-top: 3px solid var(--orange);
  padding: 28px;
  border-radius: 5px;
}

.project-card p, .feature p {
  color: #bcbfb5;
  font-size: 15px;
}

.card-tag {
  font-size: 11px;
  color: var(--orange);
  font-weight: 800;
  letter-spacing: 1.6px;
}

.feature { margin-top: 28px; }
.feature-status { font-size: 13px; color: var(--orange); }
.closing { background: #292b22; }

.site-footer {
  background: #101310;
  border-top: 1px solid #3a4039;
  padding: 28px 0;
  color: #a7aca1;
  font-size: 12px;
}

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; padding: 55px 0; }
  .logo-panel { max-width: 480px; }
  .card-grid { grid-template-columns: 1fr; }
  .header-inner { flex-wrap: wrap; padding: 20px 0; }
  nav { gap: 18px; flex-wrap: wrap; }
  .footer-inner { flex-wrap: wrap; }
  .section { padding: 58px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* DRL HERO TEST v01 â€” remove by Restore-DRL-HeroTest.ps1 */
.hero.hero-photo {
  background-image: linear-gradient(90deg, rgba(10,15,12,.91) 0%, rgba(10,15,12,.81) 24%, rgba(10,15,12,.40) 47%, rgba(10,15,12,.04) 75%), url('/images/hero-barn.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-bottom: 4px solid var(--orange);
}
.hero-photo-inner {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 70px 0;
}
.hero-photo-copy {
  max-width: 565px;
  padding: 28px 30px;
  margin-left: -30px;
  background: rgba(12,16,13,.28);
  border-radius: 8px;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
}
.hero-photo-copy .lead { color: #f0e9d8; }
.hero-photo-copy .hero-note { color: #d2c7b5; }
@media (max-width: 800px) {
  .hero.hero-photo {
    background-image: linear-gradient(90deg, rgba(10,15,12,.91), rgba(10,15,12,.66)), url('/images/hero-barn.webp');
    background-position: 62% center;
  }
  .hero-photo-inner { min-height: 530px; padding: 44px 0; }
  .hero-photo-copy { margin-left: 0; padding: 20px 10px; }
}
/* DRL Hero Typography v1: responsive homepage-only headline */
/* Wider hero text area and calmer headline size without changing global h1 rules. */
@media (min-width: 801px) {
  .hero-photo-copy { max-width: 700px; }
  .hero-photo-copy h1 { font-size: clamp(44px, 4.3vw, 64px); }
  .hero-photo-copy h1 .accent { display: block; }
}
@media (max-width: 800px) {
  .hero-photo-copy h1 { font-size: clamp(38px, 8vw, 56px); }
  .hero-photo-copy h1 .accent { display: inline; }
}
