:root {
  --site-bg: #0f1118;
  --site-panel: #171a24;
  --site-panel-soft: #1f2431;
  --site-text: #f8f9fa;
  --site-muted: #adb5bd;
  --site-accent: #ffd54f;
  --site-accent-text: #ffd54f;
  --site-accent-dark: #c99b00;
  --site-gold: #ffd54f;
  --site-link-hover: #ffe082;
  --site-border: rgba(255, 255, 255, 0.08);
  --site-nav-bg: rgba(15, 17, 24, 0.95);
  --site-shadow: rgba(0, 0, 0, 0.2);
  --hero-bg:
    radial-gradient(circle at top right, rgba(186, 104, 200, 0.35), transparent 30%),
    radial-gradient(circle at left center, rgba(255, 213, 79, 0.18), transparent 24%),
    linear-gradient(180deg, #11131c 0%, #0f1118 100%);
}

:root[data-theme="light"] {
  --site-bg: #f7f8fc;
  --site-panel: #ffffff;
  --site-panel-soft: #eef1f7;
  --site-text: #1c2434;
  --site-muted: #5f6b7d;
  --site-accent: #ffd54f;
  --site-accent-text: #8a6d00;
  --site-accent-dark: #8a6d00;
  --site-gold: #8a6d00;
  --site-link-hover: #8a6d00;
  --site-border: rgba(28, 36, 52, 0.13);
  --site-nav-bg: rgba(247, 248, 252, 0.95);
  --site-shadow: rgba(28, 36, 52, 0.1);
  --hero-bg:
    radial-gradient(circle at top right, rgba(186, 104, 200, 0.18), transparent 30%),
    radial-gradient(circle at left center, rgba(255, 213, 79, 0.2), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
}

body {
  background: var(--site-bg);
  color: var(--site-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-announcement {
  background: #e8c978;
  color: #3d2d00;
}

.site-announcement-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.5rem 3rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
}

.site-announcement a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.15em;
}

.site-announcement-close {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  transform: translateY(-50%);
}

.site-announcement-close:hover,
.site-announcement-close:focus-visible {
  background: rgba(61, 45, 0, 0.12);
}

.site-announcement-close svg {
  width: 1.125rem;
  height: 1.125rem;
}

a {
  color: var(--site-gold);
}

a:hover,
a:focus {
  color: var(--site-link-hover);
}

.site-nav,
.site-footer {
  background: var(--site-nav-bg);
  backdrop-filter: blur(10px);
}

.footer-columns {
  display: grid;
  grid-template-columns: 3fr repeat(3, 1fr);
  gap: 1.5rem;
}

.site-nav {
  border-bottom: 1px solid var(--site-border);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.footer-social-link span {
  text-decoration: underline;
}

.footer-social-link .bi {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-grid;
  place-items: center;
  font-size: 1rem;
  text-align: center;
  border-radius: 0.375rem;
  background: var(--site-panel-soft);
}

.navbar-brand,
.navbar-nav .nav-link,
.navbar-nav .dropdown-toggle {
  color: var(--site-text);
}

:root[data-theme="light"] .navbar-brand:hover,
:root[data-theme="light"] .navbar-brand:focus {
  color: var(--site-text);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--site-gold);
}

.navbar-nav .dropdown-toggle {
  border: 0;
  background: transparent;
}

.navbar-nav .dropdown-toggle:hover,
.navbar-nav .dropdown-toggle:focus,
.navbar-nav .dropdown-toggle.active {
  color: var(--site-gold);
}

.dropdown-menu {
  border-color: var(--site-border);
  background: var(--site-panel);
  box-shadow: 0 0.75rem 2rem var(--site-shadow);
}

.dropdown-item {
  color: var(--site-text);
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
  background: var(--site-panel-soft);
  color: var(--site-gold);
}

.navbar-toggler {
  border-color: var(--site-border);
}

.navbar-toggler-icon {
  filter: var(--toggler-filter, none);
}

:root[data-theme="light"] .navbar-toggler-icon {
  --toggler-filter: invert(1);
}

.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--site-border);
  border-radius: 50%;
  background: var(--site-panel-soft);
  color: var(--site-text);
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: var(--site-accent);
  color: var(--site-accent-text);
}

.theme-toggle-icon::before {
  content: "\263E";
  font-size: 1.35rem;
  line-height: 1;
}

:root[data-theme="light"] .theme-toggle-icon::before {
  display: none;
}

.theme-toggle-sun {
  display: none;
  width: 1.35rem;
  height: 1.35rem;
}

:root[data-theme="light"] .theme-toggle-sun {
  display: block;
}

.hero {
  background: var(--hero-bg);
}

.hero-copy {
  max-width: 42rem;
}

.section-label {
  color: var(--site-accent-text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature-card,
.post-card,
.quote-card {
  background: var(--site-panel);
  border: 1px solid var(--site-border);
  border-radius: 1.25rem;
  box-shadow: 0 1rem 3rem var(--site-shadow);
}

.feature-card {
  height: 100%;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(186, 104, 200, 0.14);
  color: var(--site-gold);
  font-size: 1.5rem;
}

.quote-card {
  border-color: rgba(255, 213, 79, 0.2);
}

.quote-mark {
  color: var(--site-accent-text);
  font-size: 4rem;
  line-height: 1;
}

.blog-list article + article {
  margin-top: 1.5rem;
}

.post-card h2 a,
.post-card h3 a {
  color: inherit;
  text-decoration: none;
}

.post-card h2 a:hover,
.post-card h3 a:hover {
  color: var(--site-gold);
}

.post-content iframe,
.post-content img {
  max-width: 100%;
}

.post-content iframe {
  aspect-ratio: 16 / 9;
  height: auto;
}

.post-content p:last-child {
  margin-bottom: 0;
}

.tracking-wide {
  letter-spacing: 0.08em;
}

.text-secondary {
  color: var(--site-muted) !important;
}

.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 7rem 0 7.5rem;
  background: var(--hero-bg);
  text-align: center;
}

.landing-hero-content {
  max-width: 52rem;
  margin: 0 auto;
}

.landing-hero h1 {
  margin: 0;
  color: var(--site-text);
  font-weight: 700;
}

.section-heading h2 {
  margin: 0;
  color: var(--site-text);
  font-weight: 500;
}

.landing-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.04;
}

.landing-hero-summary {
  max-width: 41rem;
  margin: 1.5rem auto 2rem;
  color: var(--site-muted);
  font-size: 1.25rem;
}

.landing-secondary-action {
  border: 1px solid var(--site-border);
  background: var(--site-panel-soft);
  color: var(--site-text);
}

.landing-secondary-action:hover,
.landing-secondary-action:focus {
  border-color: var(--site-accent);
  background: var(--site-panel);
  color: var(--site-text);
}

.featured-strip {
  border-bottom: 1px solid var(--site-border);
}

.testimonials-featured {
  border-bottom: 0;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
}

.testimonials-section .section-heading {
  margin-bottom: 1.5rem;
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}

.client-logos img {
  width: min(180px, 100%);
  height: 48px;
  opacity: 0.7;
  filter: grayscale(1) brightness(0) invert(1);
}

:root[data-theme="light"] .client-logos img {
  filter: grayscale(1) brightness(0);
}

.testimonials-section {
  background: var(--site-panel-soft);
}

.section-heading {
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.testimonial-carousel {
  position: relative;
}

.testimonial-track {
  display: grid;
  grid-auto-columns: calc((100% - 3rem) / 3);
  grid-auto-flow: column;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 0.25rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-slide {
  min-width: 0;
  scroll-snap-align: start;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.testimonial-control {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--site-border);
  border-radius: 50%;
  background: var(--site-panel);
  color: var(--site-text);
  font-size: 2rem;
  line-height: 1;
}

.testimonial-control span {
  display: block;
  line-height: 1;
}

.testimonial-control:hover,
.testimonial-control:focus-visible {
  border-color: var(--site-accent);
  color: var(--site-accent-text);
}

.testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 2rem;
  border: 1px solid var(--site-border);
  border-radius: 0.5rem;
  background: var(--site-panel);
}

.testimonial blockquote {
  margin: 0 0 2rem;
  color: var(--site-text);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.6;
}

.testimonial figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  color: var(--site-muted);
  font-size: 0.875rem;
}

.testimonial figcaption strong {
  color: var(--site-text);
  font-size: 1rem;
}

.latest-posts {
  scroll-margin-top: 5rem;
}

.post-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto 2rem;
}

.post-tab {
  padding: 0.5rem 1rem;
  border: 1px solid var(--site-border);
  border-radius: 999px;
  background: transparent;
  color: var(--site-muted);
  font-weight: 600;
}

.post-tab:hover,
.post-tab:focus-visible,
.post-tab.is-active {
  border-color: var(--site-accent);
  background: var(--site-accent);
  color: #fff;
}

:root[data-theme="dark"] .post-tab:hover,
:root[data-theme="dark"] .post-tab:focus-visible,
:root[data-theme="dark"] .post-tab.is-active {
  color: #000;
}

:root[data-theme="light"] .post-tab:hover,
:root[data-theme="light"] .post-tab:focus-visible,
:root[data-theme="light"] .post-tab.is-active {
  color: #000;
}

.post-entry[hidden] {
  display: none;
}

.post-card {
  display: flex;
  flex-direction: column;
}

.card-with-thumbnail {
  display: grid;
  grid-template-columns: minmax(9rem, 32%) minmax(0, 1fr);
  overflow: hidden;
  padding: 0;
}

.app-card.card-with-thumbnail {
  grid-template-columns: minmax(0, 50%) minmax(0, 1fr);
}

.card-thumbnail {
  display: block;
  min-height: 100%;
  background: var(--site-panel-soft);
}

.card-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-list-card .card-thumbnail {
  align-self: start;
  aspect-ratio: 1;
  min-height: 0;
  overflow: hidden;
}

.project-list-card .card-thumbnail img {
  aspect-ratio: 1;
}

.card-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-content > .btn {
  align-self: flex-start;
  min-width: 8.75rem;
  text-align: center;
}

:root[data-theme="light"] .card-content > .btn.btn-outline-light {
  --bs-btn-color: var(--site-accent-dark);
  --bs-btn-bg: var(--site-panel-soft);
  --bs-btn-border-color: var(--site-accent);
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: var(--site-accent);
  --bs-btn-hover-border-color: var(--site-accent);
  border-color: var(--site-accent);
  background: var(--site-panel-soft);
  color: var(--site-accent-dark);
}

:root[data-theme="light"] .card-content > .btn.btn-outline-light:hover,
:root[data-theme="light"] .card-content > .btn.btn-outline-light:focus-visible {
  background: var(--site-accent);
  color: #000;
}

.recent-projects {
  border-bottom: 1px solid var(--site-border);
}

.post-card h3 {
  font-weight: 700;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  color: var(--site-muted);
  font-size: 0.8125rem;
  font-weight: 600;
}

.post-meta span {
  color: var(--site-accent-text);
}

.post-read-link {
  margin-top: auto;
  color: var(--site-gold);
  font-weight: 700;
  text-decoration: none;
}

.contact-page {
  min-height: 65vh;
}

.contact-intro {
  max-width: 40rem;
  margin: 0 auto;
}

.contact-intro h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
}

.contact-panel {
  border: 1px solid var(--site-border);
  border-radius: 0.5rem;
  background: var(--site-panel);
  box-shadow: 0 1rem 3rem var(--site-shadow);
}

.contact-form .form-label {
  color: var(--site-text);
  font-weight: 600;
}

.contact-form .form-control {
  border-color: var(--site-border);
  background: var(--site-panel-soft);
  color: var(--site-text);
}

.contact-form .form-control:focus {
  border-color: var(--site-accent);
  background: var(--site-panel-soft);
  box-shadow: 0 0 0 0.25rem rgba(186, 104, 200, 0.2);
  color: var(--site-text);
}

.contact-form textarea {
  resize: vertical;
}

.about-hero {
  background: var(--hero-bg);
}

.about-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
}

.about-section h2,
.about-collaboration h2 {
  font-weight: 500;
}

.about-lead {
  max-width: 43rem;
  margin: 1.5rem auto 2rem;
  color: var(--site-muted);
  font-size: 1.25rem;
}

.about-section h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.about-copy {
  color: var(--site-muted);
  font-size: 1.125rem;
  line-height: 1.75;
}

.about-services {
  background: var(--site-panel-soft);
}

.about-service {
  padding: 2rem;
  border: 1px solid var(--site-border);
  border-radius: 0.5rem;
  background: var(--site-panel);
}

.about-service-number {
  margin-bottom: 2rem;
  color: var(--site-accent-text);
  font-size: 0.875rem;
  font-weight: 700;
}

.project-header-thumbnail img {
  display: block;
  width: 100%;
  max-height: 26rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.project-client-logo {
  display: grid;
  width: 8rem;
  max-width: 33%;
  height: 4rem;
  flex: 0 0 8rem;
  min-width: 0;
  place-items: center;
  padding: 0.5rem;
  border: 1px solid var(--site-border);
  border-radius: 0.375rem;
  background: var(--site-panel);
}

.project-client img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 3rem;
  object-fit: contain;
}

.about-service h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.about-collaboration-inner {
  max-width: 44rem;
  margin: 0 auto;
}

.about-collaboration .landing-secondary-action {
  border-color: var(--site-accent);
  background: var(--site-accent);
  color: #000;
}

.about-collaboration .landing-secondary-action:hover,
.about-collaboration .landing-secondary-action:focus-visible {
  border-color: var(--site-gold);
  background: var(--site-gold);
  color: #000;
}

.service-cta-well {
  padding: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid var(--site-border);
  border-radius: 0.5rem;
  background: linear-gradient(135deg, rgba(255, 213, 79, 0.16) 0%, rgba(255, 213, 79, 0.06) 52%, transparent 82%), var(--site-panel);
  box-shadow: 0 1rem 3rem var(--site-shadow);
}

.service-cta-well .landing-secondary-action {
  border-color: var(--site-accent);
  background: var(--site-accent);
  color: #000;
}

.service-cta-well .landing-secondary-action:hover,
.service-cta-well .landing-secondary-action:focus-visible {
  border-color: var(--site-gold);
  background: var(--site-gold);
  color: #000;
}

.about-collaboration h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

@media (max-width: 575.98px) {
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-with-thumbnail {
    grid-template-columns: 1fr;
  }

  .card-thumbnail {
    height: 12rem;
  }

  .about-section .row {
    margin-right: 0;
    margin-left: 0;
  }

  .landing-hero {
    padding: 5rem 0;
  }

  .landing-hero-summary {
    font-size: 1.125rem;
  }

  .client-logos {
    gap: 1.5rem;
  }

  .client-logos img {
    width: 140px;
    height: auto;
  }

  .testimonial-track {
    grid-auto-columns: minmax(17rem, 85%);
  }
}
