/* ============================================================
   theme-v2 — Daniel Sun-inspired redesign layer
   Loaded AFTER styles.css so it can override selectively.
   Remove this <link> to fully revert to the previous theme.
   ============================================================ */

:root {
  --ink: #17140f;
  --dark: #121212;
  --dark-soft: #262420;
  --accent: #d9a441;
  --accent-soft: rgba(217, 164, 65, 0.16);
  --paper: #ffffff;
  --muted: #6b6459;
  --border: #e7e2d8;
  --radius: 16px;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
}

/* ---------- Serif headline system ---------- */
.serif,
.hero h1,
.section-head h2,
.work-head h2,
.cta-band h2,
h1.page-title {
  font-family: "Playfair Display", "Poppins", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ---------- Dot-grid texture ---------- */
.dot-grid {
  background-image: radial-gradient(circle, rgba(23, 20, 15, 0.14) 1px, transparent 1.6px);
  background-size: 24px 24px;
}
.dot-grid--dark {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.14) 1px, transparent 1.6px);
  background-size: 24px 24px;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--border);
}
.brand-mark {
  background: linear-gradient(135deg, #0b3d36 0%, #1a1a1a 48%, #d9a441 100%);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow:
    -1px -1px 1px rgba(0, 0, 0, 0.55),
    1px 1px 1px rgba(255, 255, 255, 0.4);
}
.nav-links a.is-active,
.nav-cta.btn-primary,
.btn-accent {
  background: var(--dark);
  color: #fff;
}
.nav-cta.btn-primary:hover,
.btn-accent:hover {
  background: #000;
}
.nav-links a:hover,
.nav-dropdown-toggle:hover {
  background: var(--accent-soft);
}

/* ---------- Buttons ---------- */
.btn-outline {
  color: var(--dark);
  border-color: var(--dark);
  background: transparent;
}
.btn-outline:hover {
  background: var(--dark);
  color: #fff;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  background: var(--paper);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(23, 20, 15, 0.10) 1px, transparent 1.6px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 92%);
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(217, 164, 65, 0.55), rgba(217, 164, 65, 0.12) 55%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

.hero-eyebrow-line {
  font-style: italic;
  color: var(--muted);
  font-size: 0.98rem;
  margin: 18px 0 0;
}
.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--ink);
}
.hero h1 .accent { color: var(--accent); font-style: italic; }
.hero .btn-accent { border-radius: 999px; }

.hero-card {
  background: #fff;
  border: 1px solid var(--border);
}
.hero-card::before { background: var(--accent); }
.check { background: var(--accent-soft); color: var(--dark); }

/* ---------- Recent Work ---------- */
.work-section {
  padding: 100px 0;
  position: relative;
}
.work-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}
.work-head .eyebrow { color: var(--accent); }
.work-head p { color: var(--muted); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}
.work-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 40px -20px rgba(23, 20, 15, 0.35);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.5s ease;
}
.work-card:hover img { transform: scale(1.04); }
.work-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
  pointer-events: none;
}
.work-tags {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
}
.work-tags span {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.work-tags span.name { background: #fff; color: var(--ink); }

.work-more {
  text-align: center;
  margin-top: 40px;
}

/* ---------- Platforms row ---------- */
.platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.platform-row span {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  padding: 6px 4px;
}

/* ---------- Services as list ---------- */
.service-list {
  max-width: 920px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}
.service-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px;
  align-items: flex-start;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.service-row .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin: 0;
}
.service-row h3 { font-family: "Playfair Display", serif; font-weight: 600; margin-bottom: 6px; }
.service-row p { margin: 0; max-width: 60ch; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--dark);
  border-radius: 24px;
}
.cta-band .btn-accent {
  background: #fff;
  color: var(--dark);
}
.cta-band .btn-accent:hover {
  background: var(--accent);
  color: #171410;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); }
.footer-cta-line {
  font-family: "Playfair Display", serif;
  font-style: italic;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 14px;
}
.footer-email-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 10px 18px;
  color: #fff;
  font-size: 0.92rem;
  margin-bottom: 28px;
}

/* ---------- Page header band (About/Contact) ---------- */
.page-hero {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(23, 20, 15, 0.10) 1px, transparent 1.6px);
  background-size: 24px 24px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: "Playfair Display", "Poppins", Georgia, serif;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .work-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 44px 1fr; padding: 24px 0; }
}
