:root {
  --chalk-white: #f9f9f2;
  --chalk-muted: #d0d0c7;
  --chalk-accent: #ffda79;
  --chalk-pink: #ff8ba7;
  --chalk-blue: #7fd1ff;
  --chalk-green: #b5ff7f;
  --board-dark: #111213;
  --board-mid: #181a1c;
  --max-width: 1100px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.65);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: var(--board-dark);
  color: var(--chalk-white);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Chalkboard background */
body::before {
  content: "";
  position: fixed;
  inset: -40px;
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 255, 255, 0.03) 0, transparent 55%),
    radial-gradient(circle at 90% 100%, rgba(255, 255, 255, 0.03) 0, transparent 55%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 1px,
      transparent 2px,
      transparent 4px
    ),
    radial-gradient(circle at center, #1a1d20, #050507 70%);
  opacity: 0.9;
  z-index: -2;
}

body::after {
  /* chalk dust */
  content: "";
  position: fixed;
  inset: -40px;
  background-image: url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.23'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

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

img {
  max-width: 100%;
  display: block;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.chalk-panel {
  background: radial-gradient(circle at top left, #262a2f, #111215 60%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.75rem 2rem;
  position: relative;
  overflow: hidden;
}

.chalk-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.03), transparent 35%, transparent 65%, rgba(255, 255, 255, 0.04));
  mix-blend-mode: screen;
  pointer-events: none;
}

.section-title {
  font-family: "Gloria Hallelujah", system-ui;
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
  position: relative;
  display: inline-block;
  letter-spacing: 0.03em;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--chalk-pink),
    var(--chalk-accent),
    var(--chalk-blue),
    var(--chalk-green)
  );
  border-radius: 999px;
}

.section-subtitle {
  color: var(--chalk-muted);
  font-size: 0.95rem;
  max-width: 30rem;
  margin-top: 0.75rem;
}

/* Header / Nav */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 8, 0.92),
    rgba(5, 5, 8, 0.65),
    transparent
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-top: 2px; /* spacing tweak */
}

.brand-name {
  font-family: "Gloria Hallelujah", system-ui;
  font-size: 1.25rem;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--chalk-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 4px; /* bring second line down */
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.15rem;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.1rem;
  width: 0;
  height: 2px;
  background: var(--chalk-accent);
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: var(--chalk-white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

.nav-links-mobile {
  display: none;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.75rem 1.5rem 1.25rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 5, 8, 0.98);
}

.nav-links-mobile a {
  opacity: 0.9;
}

/* Hero */
.hero {
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  margin-bottom: 0.65rem;
  background: rgba(0, 0, 0, 0.35);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--chalk-green);
  box-shadow: 0 0 10px var(--chalk-green);
}



.hero-title span {
  display: inline-block;
  padding: 0.05em 0.4em;
  transform: rotate(-1deg);
  background: radial-gradient(circle at 10% 0, #2a3038, transparent 40%);
  border-radius: 12px;
  border: none; /* remove dotted outline */
}

.hero-subtitle {
  color: var(--chalk-muted);
  font-size: 0.98rem;
  max-width: 32rem;
  margin-bottom: 1.4rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.6rem;
}

.hero-tag {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
  color: var(--chalk-white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.btn-primary {
  background: radial-gradient(circle at top left, #ffda79, #ff8ba7);
  color: #111;
  border-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.hero-note {
  font-size: 0.8rem;
  color: var(--chalk-muted);
  margin-top: 0.6rem;
}

.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(circle at top, #303643, #17181b 55%),
    url("images/MainScreenshot.jpg") center/cover;
  box-shadow: var(--shadow-soft);
}

.hero-art-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at bottom, rgba(0, 0, 0, 0.6), transparent 40%);
  mix-blend-mode: multiply;
}

.hero-sketch {
  position: absolute;
  inset: 10%;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  mix-blend-mode: screen;
  opacity: 0.65;
}

.hero-label {
  position: absolute;
  bottom: 1.1rem;
  left: 1.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(5, 5, 8, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-label-swatch {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: conic-gradient(
    from 220deg,
    var(--chalk-pink),
    var(--chalk-accent),
    var(--chalk-blue),
    var(--chalk-green),
    var(--chalk-pink)
  );
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-badge-corner {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: zoom-in;
  background: #181b1f;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
  padding: 1.5rem;
}

.lightbox-inner {
  max-width: 90vw;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-wrap {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #000;
  max-height: 90vh;
  max-width: 90vw;
}

.lightbox-img-wrap img {
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -2.4rem;
  right: 0;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.9);
  font-size: 0.8rem;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.lightbox-caption {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--chalk-muted);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 2rem;
}

.service-card {
  padding: 1.3rem 1.2rem 1.4rem;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at top, rgba(255, 218, 121, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(127, 209, 255, 0.08), transparent 55%);
  opacity: 0.78;
  mix-blend-mode: screen;
  pointer-events: none;
}

.service-title {
  font-family: "Gloria Hallelujah", system-ui;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.service-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--chalk-muted);
  margin-bottom: 0.6rem;
}

.service-body {
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.75rem;
  position: relative;
  z-index: 1;
}

.service-tag {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.45);
}

/* About */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.2rem;
  margin-top: 1.7rem;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--chalk-muted);
  margin-bottom: 0.75rem;
}

.about-list {
  list-style: none;
  margin-top: 0.7rem;
}

.about-list li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.1rem;
}

.about-list li::before {
  content: "✻";
  position: absolute;
  left: 0;
  top: 0.05rem;
  font-size: 0.8rem;
  color: var(--chalk-accent);
}

.about-card {
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.55);
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.about-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--chalk-muted);
}

.about-keyline {
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  margin: 0.3rem 0;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.75rem;
}

.badge {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.5);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  margin-top: 1.8rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.85rem;
}

.field label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.field span {
  font-size: 0.7rem;
  color: var(--chalk-muted);
}

input,
select,
textarea {
  font: inherit;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.55);
  color: var(--chalk-white);
  outline: none;
  resize: vertical;
  min-height: 0;
}

textarea {
  min-height: 120px;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--chalk-accent);
  box-shadow: 0 0 0 1px rgba(255, 218, 121, 0.6);
}

.contact-side {
  font-size: 0.9rem;
  color: var(--chalk-muted);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-highlight {
  padding: 0.9rem 0.9rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px dashed rgba(255, 255, 255, 0.4);
}

.contact-methods {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.contact-methods a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Footer */
footer {
  margin-top: 3rem;
  padding: 1.8rem 0 2.2rem;
  font-size: 0.8rem;
  color: var(--chalk-muted);
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.03), transparent 55%);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

  .hero-art {
    order: -1;
    max-width: 360px;
    margin: 0 auto 1.8rem;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chalk-panel {
    padding-inline: 1.4rem;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links-mobile.open {
    display: flex;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* === MERGED OVERRIDES === */

/* --- GLOBAL HEADING STYLE UPDATE (SERIF HEADING FIX) --- */
h1, .section-title {
  font-family: "Playfair Display", serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
}

h2, .service-title {
  font-family: "Playfair Display", serif !important;
  font-weight: 700 !important;
}

h3 {
  font-family: "Playfair Display", serif !important;
  font-weight: 600 !important;
  font-style: italic !important;
}



.hero-subline {
  font-family: 'Playfair Display', serif !important;
  font-style: italic !important;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem) !important;
  margin-bottom: 1.9rem !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}

.hero-subtitle { margin-bottom: 1.9rem !important; }
.hero-tags { margin-bottom: 2rem !important; }
.hero-actions { margin-bottom: 1.9rem !important; }

/* Contact page list indentation fix */
.chalk-panel ul {
  padding-left: 1.4rem !important;
  margin-left: 0.4rem !important;
}

.chalk-panel ul li {
  margin-left: 0.2rem !important;
}


.hero-title {
  font-family: 'Playfair Display', serif !important;
  font-size: clamp(1.7rem, 3vw, 2.2rem) !important;
  line-height: 1.1 !important;
  margin-bottom: 0.6rem !important;
  display: block !important;
}