:root {
  --bg: #fffbf4;
  --surface: #d8cfbc;
  --surface-strong: #565449;
  --ink: #11120d;
  --ink-soft: rgba(17, 18, 13, 0.72);
  --text: var(--ink);
  --text-in-light-box: var(--ink);
  --text-on-dark: #fffbf4;
  --muted: rgba(17, 18, 13, 0.68);
  --accent: #e62815;
  --accent-dark: #b41f11;
  --border: rgba(17, 18, 13, 0.14);
  --success: #2e6b40;
  --error: #9c2f23;
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow-soft: 0 24px 60px rgba(17, 18, 13, 0.1);
  --container: min(1180px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
  font-family: "PT Serif", Georgia, serif;
  margin: 0 0 0.9rem;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.9rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4.8vw, 3.7rem);
}

h3 {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

small,
.meta {
  color: var(--muted);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 251, 244, 0.08);
  background: rgba(17, 18, 13, 0.95);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--text-on-dark);
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.brand span {
  max-width: 11ch;
}

.mobile-menu-btn {
  border: 1px solid rgba(255, 251, 244, 0.18);
  background: transparent;
  border-radius: 999px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
  cursor: pointer;
}

.mobile-menu-btn span {
  height: 2px;
  background: var(--text-on-dark);
  border-radius: 999px;
}

.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(17, 18, 13, 0.98);
  border-bottom: 1px solid rgba(255, 251, 244, 0.08);
  padding: 1rem 1.25rem 1.25rem;
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  display: block;
  padding: 0.55rem 0;
  color: rgba(255, 251, 244, 0.84);
  font-size: 0.98rem;
  font-weight: 500;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--text-on-dark);
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.82rem 1.35rem;
  font-weight: 600;
  font-size: 0.96rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 251, 244, 0.3);
  color: var(--text-on-dark);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
}

.btn-secondary-dark {
  border-color: rgba(17, 18, 13, 0.18);
  color: var(--ink);
}

.btn-secondary-dark:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--text-on-dark);
}

.blog-card .btn-secondary {
  border-color: rgba(17, 18, 13, 0.18);
  color: var(--ink);
}

.blog-card .btn-secondary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-on-dark);
}

.header-cta {
  display: none;
}

.section {
  padding: clamp(4rem, 9vw, 7rem) 0;
}

.section-light {
  background: var(--surface);
}

.section-contrast {
  background: var(--surface-strong);
  color: var(--text-on-dark);
}

.section-contrast h2,
.section-contrast h3,
.section-contrast .eyebrow {
  color: var(--text-on-dark);
}

.section-editorial-light {
  background: rgba(216, 207, 188, 0.35);
}

.hero {
  padding-top: clamp(3.8rem, 8vw, 6.5rem);
}

.hero-home {
  background:
    radial-gradient(circle at top left, rgba(230, 40, 21, 0.12), transparent 28%),
    linear-gradient(180deg, #11120d 0%, #171812 100%);
  color: var(--text-on-dark);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.hero-home-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.hero-copy,
.hero-visual {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--accent);
}

.hero-kicker {
  margin-bottom: 1rem;
  color: rgba(255, 251, 244, 0.78);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-home h1 {
  color: var(--text-on-dark);
  max-width: 10ch;
}

body[data-page="about"] .hero h1 {
  font-size: clamp(2.32rem, 5.6vw, 4.72rem);
}

.hero-lead,
.hero-support {
  max-width: 62ch;
  color: rgba(255, 251, 244, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 2rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.proof-item {
  border: 1px solid rgba(255, 251, 244, 0.12);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  background: rgba(255, 251, 244, 0.03);
}

.proof-item strong {
  display: block;
  color: var(--text-on-dark);
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.15rem;
}

.proof-item span {
  color: rgba(255, 251, 244, 0.72);
  font-size: 0.94rem;
}

.hero-image-frame {
  overflow: hidden;
  border-radius: calc(var(--radius-lg) + 8px);
  background: rgba(255, 251, 244, 0.06);
  border: 1px solid rgba(255, 251, 244, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.hero-image-frame img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.hero-meta {
  margin-top: 1rem;
  color: rgba(255, 251, 244, 0.72);
  font-size: 0.94rem;
}

.hero-service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-service-card {
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 251, 244, 0.06);
  border: 1px solid rgba(255, 251, 244, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 251, 244, 0.04);
}

.hero-service-card p {
  color: rgba(255, 251, 244, 0.75);
}

.hero-service-card .service-label {
  margin-bottom: 0.65rem;
  color: var(--text-on-dark);
  font-family: "PT Serif", Georgia, serif;
  font-size: 1.4rem;
}

.hero-service-card a {
  display: inline-flex;
  margin-top: 0.8rem;
  color: var(--accent);
  font-weight: 600;
}

.section-intro {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-intro p {
  max-width: 68ch;
  color: var(--muted);
}

.section-contrast .section-intro p {
  color: rgba(255, 251, 244, 0.74);
}

.philosophy-grid,
.cards,
.service-grid,
.testimonial-grid,
.blog-grid,
.pricing-grid,
.faq-grid,
.faq-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.feature-panel,
.card,
.pricing-tier,
.testimonial-card,
.service-card,
.blog-card,
.faq-item,
.contact-box,
form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.hero-card {
  background: #f3ead9;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-soft);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.6rem;
}

.section-head p {
  max-width: 65ch;
  color: var(--muted);
}

.feature-panel {
  background: rgba(255, 251, 244, 0.52);
}

.feature-panel p,
.card p,
.pricing-tier p,
.testimonial-card p,
.service-card p,
.blog-card p,
.faq-item p,
.contact-box p,
.cta-band p,
.cred-item span {
  color: var(--ink-soft);
}

.card ul,
.service-card ul,
.pricing-tier ul {
  margin: 0.6rem 0 0;
  padding-left: 1rem;
  color: var(--muted);
}

.card li,
.service-card li,
.pricing-tier li {
  margin: 0.45rem 0;
}

.editorial-stack {
  display: grid;
  gap: 1.5rem;
}

.editorial-panel {
  display: grid;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.editorial-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.editorial-copy {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.editorial-copy p {
  color: var(--ink-soft);
}

.editorial-note {
  font-weight: 500;
}

.pricing-showcase {
  background: linear-gradient(180deg, rgba(17, 18, 13, 0.97), rgba(32, 31, 27, 0.97));
  color: var(--text-on-dark);
}

.pricing-showcase h2,
.pricing-showcase h3,
.pricing-showcase .eyebrow {
  color: var(--text-on-dark);
}

.pricing-showcase .section-intro p {
  color: rgba(255, 251, 244, 0.75);
}

.pricing-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.pricing-tier {
  background: rgba(255, 251, 244, 0.06);
  border-color: rgba(255, 251, 244, 0.12);
  color: var(--text-on-dark);
  box-shadow: none;
}

.pricing-tier h2,
.pricing-tier h3,
.pricing-tier p,
.pricing-tier li,
.pricing-tier .meta {
  color: rgba(255, 251, 244, 0.82);
}

.pricing-tier.highlight {
  background: var(--surface);
  border-color: rgba(230, 40, 21, 0.26);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.pricing-tier.highlight h2,
.pricing-tier.highlight h3,
.pricing-tier.highlight p,
.pricing-tier.highlight li,
.pricing-tier.highlight .meta {
  color: var(--ink);
}

.plan-tag {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent) !important;
  font-weight: 600;
}

.price {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-family: "PT Serif", Georgia, serif;
  color: inherit;
}

.pricing-aside {
  margin-top: 1.2rem;
}

.pricing-aside-card {
  background: rgba(255, 251, 244, 0.08);
  border: 1px solid rgba(255, 251, 244, 0.12);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.pricing-aside-card h3,
.pricing-aside-card p {
  color: rgba(255, 251, 244, 0.82);
}

.testimonial-card {
  background: #f4ecdd;
}

.testimonial-card .meta,
.pricing-tier .meta,
.service-card .meta,
.card .meta,
.contact-box .meta,
.cta-band .meta {
  color: var(--muted);
}

.quote {
  color: var(--ink);
  font-style: italic;
  font-size: 1.04rem;
}

.insights-grid {
  display: grid;
  gap: 1.4rem;
}

.blog-grid-home {
  display: grid;
  gap: 1rem;
}

.blog-card {
  background: #fff9ef;
}

.snapshot-grid,
.services-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.snapshot-card,
.services-photo-card {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.snapshot-card img,
.services-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
  font-weight: 500;
}

.faq-preview {
  background: #efe5d2;
}

.cta-home {
  padding-top: 0;
}

.cta-band {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  color: var(--text);
}

.cta-band h2,
.cta-band h3 {
  color: var(--ink);
}

.split {
  display: grid;
  gap: 1rem;
}

.pricing-page-intro {
  margin-bottom: 1.1rem;
}

.pricing-group {
  background: #f3ead9;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}

.pricing-grid-grouped .pricing-tier {
  box-shadow: none;
}

.pricing-grid-grouped .pricing-tier-plain {
  background: transparent;
  border: none;
  box-shadow: none;
}

.pricing-stack {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.pricing-section-stack {
  padding-bottom: 1rem;
}

.pricing-section-tight {
  padding-top: 0;
}

.stat-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  margin: 0.4rem 0;
}

.icon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.faq-question {
  width: 100%;
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  padding: 0;
}

.faq-answer {
  margin-top: 0.7rem;
  color: var(--muted);
}

.faq-answer[hidden] {
  display: none;
}

.contact-layout {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.field label {
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  border-radius: 12px;
  border: 1px solid rgba(17, 18, 13, 0.18);
  padding: 0.76rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: #fffdf8;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid rgba(230, 40, 21, 0.25);
  border-color: var(--accent);
}

.field .help {
  font-size: 0.9rem;
  color: var(--muted);
}

.inline-group {
  display: grid;
  gap: 0.6rem;
}

.inline-check {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.inline-check input {
  margin-top: 0.2rem;
}

.field-error {
  color: var(--error);
  font-size: 0.9rem;
  min-height: 1.1rem;
}

.form-banner {
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  margin-bottom: 0.9rem;
}

.form-banner.error {
  border: 1px solid rgba(156, 47, 35, 0.22);
  color: var(--error);
  background: rgba(156, 47, 35, 0.08);
}

.form-banner.success {
  border: 1px solid rgba(46, 107, 64, 0.2);
  color: var(--success);
  background: rgba(46, 107, 64, 0.08);
}

.hidden-honeypot {
  position: absolute;
  left: -5000px;
  opacity: 0;
}

.site-footer {
  border-top: 1px solid rgba(17, 18, 13, 0.08);
  padding: 2.2rem 0 2.8rem;
  background: #f1e8d8;
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

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

.footer-nav a {
  color: var(--ink);
}

.footer-nav a:hover {
  color: var(--accent);
}

.site-footer p,
.site-footer strong {
  color: var(--ink);
}

body[data-page="pricing"] .pricing-tier:not(.highlight),
body[data-page="pricing"] .pricing-tier:not(.highlight) h2,
body[data-page="pricing"] .pricing-tier:not(.highlight) h3,
body[data-page="pricing"] .pricing-tier:not(.highlight) p,
body[data-page="pricing"] .pricing-tier:not(.highlight) li,
body[data-page="pricing"] .pricing-tier:not(.highlight) .meta,
body[data-page="pricing"] .pricing-tier:not(.highlight) .price {
  color: #11120d;
}

body[data-page="pricing"] .pricing-group,
body[data-page="pricing"] .pricing-tier,
body[data-page="pricing"] .pricing-tier.highlight,
body[data-page="pricing"] .card,
body[data-page="pricing"] .cta-band {
  background: transparent;
  border: none;
  box-shadow: none;
}

body[data-page="pricing"] .pricing-group {
  padding: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(50%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn-primary,
  .btn-secondary {
    transition: none;
  }
}

@media (min-width: 769px) {
  .mobile-menu-btn {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    border-bottom: none;
    background: transparent;
    padding: 0;
    gap: clamp(0.35rem, 1vw, 1rem);
  }

  .site-nav a {
    padding: 0.2rem;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .header-cta {
    display: inline-flex;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .hero-home-grid,
  .insights-grid,
  .split,
  .contact-layout,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-service-grid,
  .philosophy-grid,
  .pricing-showcase-grid,
  .testimonial-grid-home,
  .faq-preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .editorial-panel {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }

  .editorial-panel-reverse .editorial-image {
    order: 2;
  }

  .editorial-panel-reverse .editorial-copy {
    order: 1;
  }

  .blog-grid-home {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1025px) {
  .hero-home-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hero-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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