:root {
  --bg: #f5efe6;
  --bg-soft: #fbf7f1;
  --bg-dark: #120e0c;
  --bg-dark-soft: #1a1411;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: #fffdf8;
  --surface-dark: rgba(255, 255, 255, 0.05);
  --surface-dark-strong: #1e1815;
  --ink: #171412;
  --ink-soft: #5f584f;
  --ink-muted: #8d8479;
  --ink-dark: #fcfaf8;
  --ink-dark-soft: #c4b5ac;
  --line: rgba(23, 20, 18, 0.08);
  --line-strong: rgba(255, 255, 255, 0.15);
  --line-dark: rgba(255, 255, 255, 0.08);
  --accent: #b56a3b;
  --accent-deep: #8f4e26;
  --accent-soft: #f2ddce;
  --shadow: 0 20px 50px rgba(44, 31, 21, 0.08);
  --shadow-dark: 0 25px 60px rgba(0, 0, 0, 0.3);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --container: 1240px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(181, 106, 59, 0.14), transparent 28%),
    linear-gradient(180deg, #fcfaf6 0%, var(--bg) 45%, #f2ece3 100%);
  line-height: 1.75;
  overflow-x: hidden;
  width: 100%;
}

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

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

.container {
  max-width: var(--container);
}

.flash-wrap {
  padding-top: 6rem;
  position: relative;
  z-index: 4;
}

.alert {
  border: 0;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.site-navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  padding: 1.1rem 0;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.site-navbar.is-scrolled {
  padding: 0.85rem 0;
  background: rgba(17, 14, 12, 0.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.navbar-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  color: #fff;
}

.brand-mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0.03em;
}

.brand-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.72);
}

.navbar-toggler {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: invert(1);
}

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus {
  color: #fff;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.9rem 1.4rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
}

.btn-accent {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  border: 0;
  box-shadow: 0 16px 35px rgba(181, 106, 59, 0.28);
}

.btn-accent:hover,
.btn-accent:focus {
  color: #fff;
  box-shadow: 0 20px 42px rgba(181, 106, 59, 0.34);
}

.btn-outline-light {
  border-width: 1px;
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 8.5rem 0 5.5rem;
  background:
    linear-gradient(115deg, rgba(10, 8, 7, 0.86), rgba(28, 22, 18, 0.7)),
    radial-gradient(circle at top right, rgba(181, 106, 59, 0.45), transparent 32%),
    #16110e;
  color: #fff;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.45;
}

.hero-orb-one {
  width: 22rem;
  height: 22rem;
  left: -6rem;
  top: 6rem;
  background: rgba(181, 106, 59, 0.22);
}

.hero-orb-two {
  width: 18rem;
  height: 18rem;
  right: 5%;
  bottom: 2rem;
  background: rgba(255, 255, 255, 0.08);
}

.hero-shell {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-title,
.section-heading {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-title {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  line-height: 1.1;
}

.hero-copy {
  max-width: 65ch;
  margin: 1.5rem 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.hero-stat,
.hero-visual-card,
.service-card,
.portfolio-card,
.testimonial-card,
.contact-card,
.about-quote {
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.hero-stat {
  padding: 1.3rem 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.hero-stat-value {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.hero-stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  min-height: 36rem;
}

.hero-visual-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.hero-visual-primary {
  inset: 0 2.5rem 5.5rem 0;
  padding: 1.25rem;
}

.hero-visual-primary img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 8px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
}

.hero-visual-secondary {
  right: 0;
  bottom: -20%;
  width: 80%;
  padding: 1.5rem;
}

.mini-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-visual-secondary h3 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.hero-visual-secondary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.section-block {
  padding: 7.5rem 0;
}

.section-intro {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
  margin-bottom: 4rem;
}

.section-heading {
  margin: 0;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--ink);
  max-width: 20ch;
}

.section-copy {
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
  max-width: 65ch;
}

.section-copy.narrow {
  max-width: 60ch;
}

.about-section {
  background: transparent;
  overflow: hidden;
}

.about-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.about-highlight {
  padding: 1.2rem 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--line);
}

.about-highlight span,
.contact-label,
.footer-label,
.portfolio-kicker {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.about-highlight span,
.contact-label,
.footer-label,
.portfolio-kicker {
  color: var(--accent-deep);
}

.about-highlight p,
.contact-info p,
.footer-copy {
  margin: 0;
  color: var(--ink-soft);
}

.about-visual {
  position: relative;
  padding-left: 3rem;
}

.about-visual-frame {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(181, 106, 59, 0.18), rgba(255, 255, 255, 0.54));
  box-shadow: var(--shadow);
}

.about-visual-frame img {
  width: 100%;
  min-height: 28rem;
  object-fit: cover;
  padding: 2rem;
}

.about-quote {
  position: absolute;
  left: 0;
  bottom: -27%;
  max-width: 100%;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(23, 20, 18, 0.9);
}

.about-quote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

.services-section {
  background: var(--bg-soft);
}

.service-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.62));
  border: 1px solid var(--line);
}

.service-index {
  margin-bottom: 1rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.service-card h3,
.portfolio-content h3 {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 3vw, 1.65rem);
  line-height: 1.25;
}

.service-card p,
.portfolio-content p {
  margin: 0;
  color: var(--ink-soft);
}

.service-link {
  display: inline-block;
  margin-top: 1.3rem;
  color: var(--accent-deep);
  font-weight: 700;
}

.portfolio-section {
  background: transparent;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.78rem 1.15rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink);
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus {
  color: #fff;
  background: var(--ink);
  border-color: var(--ink);
}

.portfolio-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

.portfolio-media {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(181, 106, 59, 0.18), rgba(255, 255, 255, 0.08));
}

.portfolio-media img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.portfolio-card:hover .portfolio-media img {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 1.5rem 1.5rem 1.7rem;
}

.testimonials-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(181, 106, 59, 0.28), transparent 24%),
    linear-gradient(135deg, #16110e 0%, #241814 100%);
}

.text-light {
  color: #fff !important;
}

.testimonials-slider {
  overflow: visible;
}

.testimonial-card {
  height: 100%;
  padding: 2.2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.testimonial-mark {
  margin-bottom: 0.75rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  line-height: 0.7;
  color: var(--accent);
}

.blockquote {
  margin: 0;
}

.blockquote p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.blockquote footer {
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 700;
}

.testimonial-pagination {
  position: static;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.6rem;
}

.testimonial-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.28);
  opacity: 1;
}

.testimonial-pagination .swiper-pagination-bullet-active {
  background: var(--accent);
}

.contact-section {
  background: transparent;
}

.contact-shell {
  padding: 3rem;
  border-radius: calc(var(--radius-xl) + 4px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.52));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-info {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.contact-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid rgba(23, 20, 18, 0.08);
}

.form-label {
  font-weight: 700;
  color: var(--ink);
}

.form-control {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(23, 20, 18, 0.12);
  background: #fff;
  color: var(--ink);
}

.form-control:focus {
  border-color: rgba(181, 106, 59, 0.4);
  box-shadow: 0 0 0 0.2rem rgba(181, 106, 59, 0.12);
}

.site-footer {
  padding: 0 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(23, 20, 18, 0.09);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

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

.footer-links a:hover,
.footer-links a:focus {
  color: var(--ink);
}

.footer-bottom {
  padding-top: 1.35rem;
  border-top: 1px solid rgba(23, 20, 18, 0.09);
  color: var(--ink-muted);
  font-size: 0.92rem;
}

@media (max-width: 991.98px) {
  .site-navbar {
    background: rgba(17, 14, 12, 0.78);
    backdrop-filter: blur(14px);
  }

  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
  }

  .hero-section {
    padding-top: 7.5rem;
  }

  .hero-stats,
  .section-intro,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    display: grid;
  }

  .hero-visual {
    min-height: auto;
    padding-top: 1rem;
  }

  .hero-visual-card {
    position: relative;
  }

  .hero-visual-primary {
    inset: auto;
    margin-bottom: 1rem;
  }

  .hero-visual-secondary {
    width: 100%;
  }

  .about-visual {
    padding-left: 0;
  }

  .about-quote {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin-top: 1rem;
  }

  .contact-shell {
    padding: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    max-width: none;
    font-size: clamp(2.6rem, 11vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
  }

  .hero-section .btn {
    padding: 0.6rem 1.15rem !important;
    font-size: 0.88rem !important;
  }

  .hero-section .d-flex {
    flex-wrap: nowrap !important;
    gap: 0.75rem !important;
  }

  .hero-copy,
  .section-copy {
    font-size: 0.98rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-block {
    padding: 5rem 0;
  }

  .contact-shell,
  .contact-card,
  .service-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .testimonials-slider {
    overflow: hidden !important;
  }

  .hero-visual-primary img {
    height: auto !important;
  }
}

/* Checkmate Pictures Additional Styles */
.founder-section {
  position: relative;
  overflow: hidden;
}
.founder-bio p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
.badge-accolade {
  transition: transform 0.25s ease, background-color 0.25s ease;
  cursor: default;
}
.badge-accolade:hover {
  transform: translateY(-2px);
  background-color: rgba(181, 106, 59, 0.12) !important;
}
.awards-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.awards-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 30px 70px rgba(18, 12, 9, 0.3);
}
.navbar-logo {
  transition: transform 0.3s ease;
}
.navbar-brand:hover .navbar-logo {
  transform: rotate(-6deg) scale(1.06);
}
@media (max-width: 991.98px) {
  .awards-card {
    position: static !important;
    margin-top: 2rem;
  }
}

/* Premium Visual Rhythm: Alternating Section Layouts */
.bg-dark-section {
  background: 
    radial-gradient(circle at bottom right, rgba(181, 106, 59, 0.15), transparent 30%),
    linear-gradient(135deg, var(--bg-dark-soft) 0%, var(--bg-dark) 100%) !important;
  color: var(--ink-dark) !important;
}

.bg-dark-section .section-heading {
  color: var(--ink-dark) !important;
}

.bg-dark-section .section-copy {
  color: var(--ink-dark-soft) !important;
}

/* Card adjustments in dark sections for visual coherence */
.bg-dark-section .service-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: var(--shadow-dark) !important;
}

.bg-dark-section .service-card h3 {
  color: var(--ink-dark) !important;
}

.bg-dark-section .service-card p {
  color: var(--ink-dark-soft) !important;
}

.bg-dark-section .service-index {
  color: rgba(255, 255, 255, 0.15) !important;
}

.bg-dark-section .portfolio-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: var(--shadow-dark) !important;
}

.bg-dark-section .portfolio-card h3 {
  color: var(--ink-dark) !important;
}

.bg-dark-section .portfolio-card p {
  color: var(--ink-dark-soft) !important;
}

.bg-dark-section .filter-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--ink-dark-soft) !important;
}

.bg-dark-section .filter-btn:hover,
.bg-dark-section .filter-btn.active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

/* Eyebrow and card kicker contrast fix on dark backgrounds */
.bg-dark-section .eyebrow,
.hero-section .eyebrow,
.testimonials-section .eyebrow {
  color: var(--accent-soft) !important;
}

.bg-dark-section .portfolio-kicker {
  color: var(--accent-soft) !important;
}
