/* Nighthawk Woodcraft - Light theme styles
   Matches your current index.html class names:
   wrap, topbar, brand, mark, nav, btn, primary, hero, hero-grid,
   card, card-pad, kicker, lead, info-list, section, sub, two-col,
   md, tabs, tab, gallery, gallery-item, footer
*/

:root{
  --bg: #f6f2ea;
  --panel: #ffffff;
  --ink: #1f1f1f;
  --muted: #5d5d5d;
  --line: #e4ddd2;

  --brand: #6b4d2a;
  --brand-2: #2b2b2b;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height:1.45;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.wrap{
  width:min(1100px, 92vw);
  margin:0 auto;
}

/* Header */
header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,242,234,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 220px;
}

.mark{
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(107,77,42,.9), rgba(43,43,43,.9));
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}

.brand-title{
  font-family: Fraunces, serif;
  font-weight: 750;
  letter-spacing: .2px;
  font-size: 16px;
  line-height: 1.1;
}
.brand-sub{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.nav ul{
  display:flex;
  gap: 18px;
  list-style:none;
  padding:0;
  margin:0;
  align-items:center;
}
.nav a{
  font-size: 14px;
  color: var(--muted);
  font-weight: 650;
}
.nav a:hover{
  color: var(--ink);
  text-decoration:none;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
  font-weight: 750;
  font-size: 14px;
  cursor:pointer;
  text-decoration:none !important;
  box-shadow: 0 1px 0 rgba(0,0,0,.02);
}
.btn:hover{ filter: brightness(0.98); }

.btn.primary{
  background: var(--brand-2);
  border-color: var(--brand-2);
  color: #fff;
}

.nav-toggle{
  display:none; /* shown on mobile */
}

/* Hero */
.hero{
  padding: 44px 0 22px;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: stretch;
}

/* Cards */
.card{
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card-pad{
  padding: 18px;
}

.kicker{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 10px;
}

h1,h2,h3{ margin: 0 0 10px; }
h1{
  font-family: Fraunces, serif;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.05;
}
h2{
  font-family: Fraunces, serif;
  font-size: 30px;
}
.lead{
  color: var(--muted);
  max-width: 62ch;
}

.sub{
  margin-top: -2px;
  color: var(--muted);
}

.info-list{
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.info-list li{ margin: 10px 0; }
.info-list strong{ color: var(--ink); }

/* Optional hero image block (if you add it) */
.hero-photo{
  border-radius: calc(var(--radius) - 2px);
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.hero-photo img{
  width:100%;
  height:100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Sections */
.section{
  padding: 54px 0;
  border-top: 1px solid var(--line);
}

/* Two-column section */
.two-col{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Markdown content */
.md :is(p, ul, ol){ margin: 12px 0; }
.md ul{ padding-left: 20px; }
.md h3{ margin-top: 18px; }

/* Tabs */
.tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top: 14px;
  margin-bottom: 12px;
}

.tab{
  border:1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 800;
  font-size: 13px;
}
.tab:hover{ color: var(--ink); }
.tab.active{
  background: var(--brand-2);
  border-color: var(--brand-2);
  color:#fff;
}

/* Gallery grid (small tiles) */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.gallery-item{
  margin: 0;
  display:flex;
  flex-direction:column;
  gap: 8px;
}

.gallery-item a{
  display:block;
  border-radius: 14px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background: #fff;
}

.gallery-item img{
  width:100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .18s ease;
}

.gallery-item a:hover img{
  transform: scale(1.03);
}

.gallery-item figcaption{
  font-size: 13px;
  color: var(--muted);
  line-height: 1.35;
}

/* Footer */
footer{
  padding: 20px 0 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
}

@media (max-width: 880px){
  .nav{ display:none; }
  .nav.open{
    display:block;
    position:absolute;
    right: 4vw;
    top: 64px;
    background: var(--panel);
    border:1px solid var(--line);
    box-shadow: var(--shadow);
    border-radius: 14px;
    padding: 12px;
  }
  .nav ul{ flex-direction:column; align-items:flex-start; gap: 10px; }
  .nav-toggle{ display:inline-flex; }
}

.contact-form{
  display:grid;
  gap:12px;
  margin-top: 14px;
  max-width: 640px;
}

.field label{
  display:block;
  font-weight: 750;
  font-size: 13px;
  margin-bottom: 6px;
}

.field input, .field textarea{
  width:100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  font: inherit;
}

.field input:focus, .field textarea:focus{
  outline: 2px solid rgba(107,77,42,.25);
  border-color: rgba(107,77,42,.55);
}

.honeypot{ display:none; }

.form-status{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}