/* Black Wood Studio — Dark editorial aesthetic */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  --bg: #0e0e0e;
  --bg-alt: #1a1a1a;
  --bg-card: #161616;
  --text: #d4d0cb;
  --text-muted: #8a8580;
  --accent: #c9a96e;
  --accent-dark: #a07d3f;
  --white: #f0ece6;
  --border: #2a2a2a;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  font-family: var(--font-body);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.25s; }
a:hover { color: var(--white); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 2rem; }

/* ---- NAV ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.brand-icon { width: 24px; height: 24px; flex-shrink: 0; vertical-align: middle; margin-right: 6px; }


.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0.4) 0%, rgba(14,14,14,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 2rem;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  color: var(--accent);
  transition: all 0.3s;
}

.btn:hover {
  background: var(--accent);
  color: var(--bg);
}

.btn-solid {
  background: var(--accent);
  color: var(--bg);
}

.btn-solid:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--bg);
}

/* ---- PAGE HERO (shorter) ---- */
.page-hero {
  padding: 6rem 2rem 4rem;
  text-align: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 550px;
  margin: 0 auto;
}

/* ---- SECTIONS ---- */
section { padding: 5rem 0; }

.section-dark { background: var(--bg-alt); }
.section-border { border-top: 1px solid var(--border); }

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto;
}

h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 1rem;
}

h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

p { margin-bottom: 1rem; }

/* ---- GRID LAYOUTS ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.3s;
}

.card:hover { border-color: var(--accent-dark); }

.card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.5rem; }
.card-body p { color: var(--text-muted); font-size: 0.95rem; }

/* ---- SERVICES / FEATURES ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.feature-item h3 { margin-top: 1rem; }
.feature-item p { color: var(--text-muted); font-size: 0.95rem; }

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
}

/* ---- ARTICLE LAYOUT ---- */
.article-header {
  padding: 6rem 2rem 3rem;
  text-align: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.article-header h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 0.8rem;
}

.article-header .meta {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-body {
  padding: 3rem 0 5rem;
}

.article-body h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  color: var(--text-muted);
  font-style: italic;
  background: var(--bg-alt);
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text);
}

.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }

.article-img {
  margin: 2.5rem 0;
  border: 1px solid var(--border);
}

/* ---- CTA ---- */
.cta {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.cta p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
}

/* ---- FOOTER ---- */
footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--accent); }

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .grid-3, .features { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  .nav-toggle { display: block; }

  .hero-content h1 { font-size: 2.2rem; }
  .page-hero h1 { font-size: 2rem; }
  .article-header h1 { font-size: 1.8rem; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .features { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
