/* ---- Reset & base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Raleway", Arial, Helvetica, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
  background: transparent;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: #1a1a1a; color: #fff; }
.btn-dark { background: #1a1a1a; color: #fff; }
.btn-dark:hover { background: #3a3a3a; }
.btn-lg { padding: 16px 34px; font-size: 0.95rem; }

/* ---- Header ---- */
.site-header {
  border-bottom: 1px solid #e0e4e6;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 100;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 1.1rem;
}
.site-nav {
  display: flex;
  gap: 28px;
}
.site-nav a {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.site-nav a:hover { color: #5c747f; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: #1a1a1a;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: #222 url("/assets/images/hero.jpg") center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 18, 0.48);
}
.hero .wrap {
  position: relative;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 600;
  margin: 0 0 18px;
  max-width: 760px;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.hero p {
  font-size: 1.4rem;
  font-weight: 500;
  max-width: 620px;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* ---- Section basics ---- */
section {
  padding: 48px 0;
}
h2.section-title {
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  margin: 0 0 24px;
}

/* ---- About ---- */
.about {
  background: #e0e4e6;
}
.about .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.about h2 {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 20px;
}
.about p { margin: 0 0 14px; }
.about .headshot img {
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* ---- Services ---- */
.services { background: #fff; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.service-card {
  border: 1px solid #d4dadd;
  border-radius: 6px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 10px;
}
.service-card p.desc {
  flex-grow: 1;
  color: #314149;
  font-size: 0.95rem;
}
.service-card .price {
  font-weight: 600;
  margin: 12px 0;
  color: #1a1a1a;
}
.service-card a.btn {
  align-self: flex-start;
  padding: 10px 20px;
}
.services-links {
  text-align: center;
  margin-top: 24px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Contact CTA ---- */
.contact-cta {
  background: #1a1a1a;
  color: #fff;
  text-align: center;
}
.contact-cta h2 { color: #fff; }
.contact-cta p {
  max-width: 560px;
  margin: 0 auto 20px;
  color: #cbd3d8;
  font-size: 1.05rem;
}
.contact-cta .email-link {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid #fff;
  padding-bottom: 4px;
}
.contact-cta .email-link:hover { color: #cbd3d8; }

/* ---- Footer ---- */
.site-footer {
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid #e0e4e6;
}
.footer-email {
  display: inline-block;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-email:hover { color: #5c747f; }
.social-bar {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 0;
  margin: 0 0 16px;
}
.social-bar a { color: #1a1a1a; }
.social-bar a:hover { color: #5c747f; }
.footer-meta {
  font-size: 0.85rem;
  color: #5c747f;
  margin: 0;
}
.footer-meta a { text-decoration: underline; text-underline-offset: 2px; }
.footer-meta a:hover { color: #1a1a1a; }

/* ---- Generic content page ---- */
.page-hero {
  background: #e0e4e6;
  padding: 32px 0 28px;
  text-align: center;
}
.page-hero h1 {
  font-size: 2.4rem;
  font-weight: 500;
  margin: 0 0 8px;
}
.page-hero p.subtitle {
  color: #314149;
  font-size: 1.05rem;
  margin: 0;
}
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 24px;
}
.page-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 2px solid #e0e4e6;
  padding-bottom: 10px;
  margin: 28px 0 14px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p { margin: 0 0 14px; }
.page-content ul { margin: 0 0 14px; padding-left: 22px; }
.page-content li { margin-bottom: 6px; }
.page-content a:not(.btn) {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content a:not(.btn):hover { color: #5c747f; }
.page-content .examples {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
}
.page-content .pricing-box {
  background: #f4f5f6;
  border-left: 4px solid #1a1a1a;
  padding: 18px 22px;
  margin: 20px 0;
  border-radius: 0 6px 6px 0;
}
.page-content .book-cta {
  text-align: center;
  background: #1a1a1a;
  color: #fff;
  padding: 28px 24px;
  border-radius: 6px;
  margin-top: 28px;
}
.page-content .book-cta h2 {
  color: #fff;
  border-bottom: none;
  padding-bottom: 0;
  margin-top: 0;
}
.page-content .book-cta a { color: #fff; text-decoration: underline; }

/* ---- Portfolio ---- */
.portfolio-section { padding: 20px 0 32px; }
.portfolio-section h2.category-heading {
  font-size: 1.4rem;
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid #e0e4e6;
  padding-bottom: 10px;
  margin: 0 0 16px;
}
.portfolio-section h2.category-heading:not(:first-of-type) {
  margin-top: 32px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.portfolio-grid a {
  display: block;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.portfolio-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}
.portfolio-grid img { width: 100%; height: auto; display: block; }
.portfolio-grid .cover-caption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px 12px;
  background: linear-gradient(to top, rgba(26,26,26,0.88), rgba(26,26,26,0.15) 65%, rgba(26,26,26,0) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.portfolio-grid a:hover .cover-caption,
.portfolio-grid a:focus-visible .cover-caption {
  opacity: 1;
}
.cover-caption-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  line-height: 1.25;
}
.cover-caption-author {
  color: #cbd3d8;
  font-size: 0.75rem;
}

/* ---- FAQ ---- */
.faq-section { max-width: 760px; margin: 0 auto; padding: 32px 24px; }
.faq-category { margin-bottom: 28px; }
.faq-category h2 {
  font-size: 1.4rem;
  font-weight: 600;
  border-bottom: 2px solid #e0e4e6;
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.faq-item { margin-bottom: 14px; }
.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 6px;
}
.faq-item p { margin: 0 0 8px; color: #243138; }
.faq-item p:last-child { margin-bottom: 0; }
.faq-item a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-item a:hover { color: #5c747f; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about .wrap { grid-template-columns: 1fr; }
  .about .headshot { order: -1; max-width: 280px; margin: 0 auto; }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
    border-bottom: 1px solid #e0e4e6;
    display: none;
  }
  .site-nav.open { display: flex; box-shadow: 0 8px 16px rgba(0,0,0,0.12); }
  .hero h1 { font-size: 2.3rem; }
  .hero p { font-size: 1.15rem; }
  section { padding: 32px 0; }
  .service-grid { grid-template-columns: 1fr; }
  h2.section-title { font-size: 1.5rem; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
