:root {
  --bg: #fff8ef;
  --bg-soft: #fff1df;
  --surface: #ffffff;
  --text: #171717;
  --muted: #625c55;
  --primary: #1f2937;
  --primary-2: #374151;
  --accent: #f97316;
  --accent-2: #ea580c;
  --accent-soft: #ffedd5;
  --line: #ead7c3;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.13);
  --radius: 24px;
  --container: 1180px;
}

/* =========================================================
   Base Reset
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(49, 95, 143, 0.14), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 45%, #ffffff 100%);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  width: 100%;
}

::selection {
  background: rgba(245, 158, 11, 0.28);
}

/* =========================================================
   Accessibility
========================================================= */

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--text);
  color: #ffffff;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(245, 158, 11, 0.62);
  outline-offset: 3px;
}

/* =========================================================
   Layout Utilities
========================================================= */

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section-pad {
  padding: 96px 0;
}

.section-pad-sm {
  padding: 72px 0;
}

.center-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.center-heading p {
  margin-left: auto;
  margin-right: auto;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.card-grid {
  display: grid;
  gap: 28px;
  margin-top: 44px;
}

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

/* =========================================================
   Typography
========================================================= */

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  
  
}

h1 {
  max-width: 740px;
  
}





p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

li {
  position: relative;
  margin-top: 10px;
  padding-left: 24px;
  color: var(--muted);
}

li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
}

/* =========================================================
   Header
========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.88);
  border-bottom: 1px solid rgba(222, 215, 206, 0.9);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 900;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  color: #ffffff;
  background:
    linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: 0 16px 36px rgba(31, 58, 95, 0.24);
  font-size: 0.9rem;
  letter-spacing: -0.04em;
}

.brand-text {
  display: grid;
  line-height: 1.02;
}

.brand-text strong,
.brand-text span {
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 850;
}

.site-nav a {
  color: #253041;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary-2);
  transform: translateY(-1px);
}

.nav-cta {
  padding: 14px 22px;
  border-radius: 999px;
  color: #ffffff !important;
  background: var(--primary);
  box-shadow: 0 16px 35px rgba(31, 58, 95, 0.22);
}

.nav-cta:hover {
  background: var(--primary-2);
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
}

/* =========================================================
   Buttons & Pills
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 18px 42px rgba(31, 58, 95, 0.24);
}

.btn-primary:hover {
  background: var(--primary-2);
}

.btn-secondary {
  color: var(--primary);
  background: #ffffff;
  border-color: var(--line);
}

.btn-secondary:hover {
  border-color: rgba(49, 95, 143, 0.4);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.08);
}

.pill-row,
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pill-row span,
.trust-row span {
  display: inline-flex;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 850;
}

/* =========================================================
   Hero
========================================================= */

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -8rem;
  right: -10rem;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.13);
  filter: blur(8px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  gap: 70px;
  align-items: center;
}

.hero-lede {
  max-width: 690px;
  margin-top: 28px;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
}

.trust-row {
  margin-top: 26px;
}

.hero-card {
  padding: 22px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(222, 215, 206, 0.9);
  box-shadow: var(--shadow);
}

.mock-window {
  padding: 28px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 18rem),
    linear-gradient(145deg, #0f172a, #1f3a5f);
}

.window-dots {
  display: flex;
  gap: 9px;
}

.window-dots span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.system-panel-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  margin: 18px 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.system-panel-header strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 2px;
}

.system-panel-header p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.status-dot {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(245, 158, 11, 0.16);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric-grid div {
  min-height: 120px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.metric-grid strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
}

.metric-grid p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.progress-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.progress-card span {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.progress-track {
  height: 11px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.19);
}

.progress-fill {
  width: 78%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #fef3c7, var(--primary-2));
}

/* =========================================================
   Problem / Who
========================================================= */

.problem,
.who {
  background: rgba(238, 242, 248, 0.62);
  border-top: 1px solid rgba(222, 215, 206, 0.9);
  border-bottom: 1px solid rgba(222, 215, 206, 0.9);
}

.problem p,
.who p {
  max-width: 670px;
  margin-bottom: 26px;
}

/* =========================================================
   Security Strip
========================================================= */

.security-strip {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 242, 248, 0.92)),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 28rem);
  border-top: 1px solid rgba(222, 215, 206, 0.9);
  border-bottom: 1px solid rgba(222, 215, 206, 0.9);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.security-card {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(222, 215, 206, 0.95);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.84));
  box-shadow: 0 16px 45px rgba(17, 24, 39, 0.07);
  overflow: hidden;
}

.security-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0.9;
}

.security-card h3 {
  margin-bottom: 10px;
}

.security-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.security-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-weight: 900;
  font-size: 0.82rem;
}

/* =========================================================
   Service / Portfolio Cards
========================================================= */

.service-card,
.portfolio-card,
.price-card {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

.service-card.featured,
.price-card.highlighted {
  border-color: rgba(245, 158, 11, 0.58);
  background:
    linear-gradient(180deg, #ffffff, #fffaf0);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 38px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 900;
}

.service-card h3,
.portfolio-card h3,
.price-card h3 {
  margin-bottom: 16px;
}

.portfolio-card span {
  display: inline-flex;
  margin-top: 24px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--bg-soft);
  font-weight: 900;
  font-size: 0.88rem;
}

/* =========================================================
   Client Fit
========================================================= */

.client-fit {
  background:
    linear-gradient(180deg, #ffffff, rgba(247, 244, 239, 0.95));
  border-top: 1px solid rgba(222, 215, 206, 0.9);
  border-bottom: 1px solid rgba(222, 215, 206, 0.9);
}

.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 44px;
}

.fit-card {
  padding: 34px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

.fit-card.good {
  border-color: rgba(49, 95, 143, 0.28);
}

.fit-card.careful {
  border-color: rgba(245, 158, 11, 0.42);
}

.fit-card h3 {
  margin-bottom: 8px;
}

/* =========================================================
   About
========================================================= */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: stretch;
}

.about-panel,
.principles {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

.about-panel p {
  margin-top: 22px;
}

.principles {
  display: grid;
  gap: 18px;
}

.principles article {
  padding: 22px;
  border-radius: 20px;
  background: var(--bg-soft);
}

.principles strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  letter-spacing: 0.12em;
}

.principles h3 {
  margin-bottom: 8px;
}

/* =========================================================
   Process Timeline
========================================================= */

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.timeline-item {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
}

.timeline-item span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 950;
  letter-spacing: 0.12em;
}

.timeline-item h3 {
  margin-bottom: 10px;
}

/* =========================================================
   Pricing
========================================================= */

.pricing {
  background: rgba(238, 242, 248, 0.58);
  border-top: 1px solid rgba(222, 215, 206, 0.9);
  border-bottom: 1px solid rgba(222, 215, 206, 0.9);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.price {
  margin: 12px 0 14px;
  color: var(--primary);
  font-weight: 800;
}

.price strong {
  display: block;
  margin-top: 4px;
  color: var(--text);
  font-size: 2rem;
  letter-spacing: -0.06em;
}


/* =========================================================
   Website Review
========================================================= */

.website-review {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 244, 239, 0.86));
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.review-card {
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

.review-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent);
  font-weight: 950;
  letter-spacing: 0.12em;
}

.review-card h3 {
  margin-bottom: 10px;
}

.review-card p {
  margin: 0;
}

/* =========================================================
   Contact Form
========================================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-copy p {
  margin-top: 24px;
}

.contact-note {
  margin-top: 28px;
  padding: 20px;
  border-radius: 18px;
  color: var(--primary);
  background: var(--accent-soft);
  border: 1px solid rgba(245, 158, 11, 0.26);
}

.contact-form {
  position: relative;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 16px;
}

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

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-field label {
  font-weight: 850;
  color: var(--text);
}

.form-field label span {
  color: #b45309;
}

input,
select,
textarea {
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  background: #ffffff;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(49, 95, 143, 0.55);
  box-shadow: 0 0 0 4px rgba(49, 95, 143, 0.12);
}

.form-help,
.privacy-note {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.privacy-note {
  margin: 14px 0 0;
}

.checkbox-field {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 8px 0 4px;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
  accent-color: var(--primary);
}

.checkbox-field label {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.field-error {
  min-height: 1.1rem;
  color: #b42318;
  font-weight: 750;
  font-size: 0.84rem;
}

.checkbox-error {
  display: block;
  margin-bottom: 14px;
}

input.input-error,
select.input-error,
textarea.input-error {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

/* Honeypot field must remain hidden from users but available in markup. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Confirmation/error message styling */
.form-message {
  margin: 16px 0 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 850;
  display: none;
}

.form-message.show {
  display: block;
}

.form-message.error {
  background: #fff1f0;
  color: #b42318;
}

/* =========================================================
   Footer
========================================================= */

.site-footer {
  background: #101827;
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.7fr 0.7fr 0.9fr;
  gap: 34px;
  padding: 56px 0 38px;
}

.footer-brand {
  margin-bottom: 20px;
}

.site-footer .brand-text strong,
.site-footer .brand-text span,
.site-footer h2 {
  color: #ffffff;
}

.site-footer h2 {
  margin-bottom: 16px;
  font-size: 1rem;
  letter-spacing: 0;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer a {
  font-weight: 800;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-contact-links {
  display: grid;
  gap: 12px;
}

.footer-contact-links a {
  display: block;
  width: fit-content;
  color: inherit;
  text-decoration: none;
}

.footer-contact-links a:hover,
.footer-contact-links a:focus {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* =========================================================
   Reveal Animation
========================================================= */

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

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

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1180px) {
  .site-nav {
    gap: 18px;
    font-size: 0.95rem;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 640px;
  }

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

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
    border-radius: 12px;
  }

  .site-nav a:hover,
  .site-nav a.active {
    background: var(--bg-soft);
    transform: none;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .card-grid.three,
  .timeline,
  .security-grid,
  .fit-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-pad {
    padding: 76px 0;
  }

  .section-pad-sm {
    padding: 58px 0;
  }
}

@media (max-width: 700px) {
  .header-inner {
    min-height: 78px;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  

  

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .metric-grid,
  .card-grid.three,
  .timeline,
  .pricing-grid,
  .security-grid,
  .fit-grid,
  .review-grid,
  .footer-grid,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .contact-form,
  .service-card,
  .portfolio-card,
  .price-card,
  .security-card,
  .fit-card,
  .review-card,
  .about-panel,
  .principles {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* =========================================================
   Reduced Motion Preference
========================================================= */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

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

/* =========================================================
   v0.5.0 Polish Pass
========================================================= */

.build-bar {
  position: relative;
  z-index: 20;
  background: #101827;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.build-bar-inner {
  min-height: 44px;
  display: flex;
  justify-content: center;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.build-bar span {
  position: relative;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.84rem;
  font-weight: 850;
}

.build-bar span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -16px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateY(-50%);
}

.service-card,
.portfolio-card,
.price-card,
.security-card,
.fit-card,
.review-card,
.timeline-item,
.about-panel,
.principles {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-card:hover,
.portfolio-card:hover,
.price-card:hover,
.security-card:hover,
.fit-card:hover,
.review-card:hover,
.timeline-item:hover,
.about-panel:hover,
.principles:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 56px rgba(17, 24, 39, 0.11);
}

.readiness {
  background:
    radial-gradient(circle at top left, rgba(49, 95, 143, 0.12), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 242, 248, 0.86));
  border-top: 1px solid rgba(222, 215, 206, 0.9);
  border-bottom: 1px solid rgba(222, 215, 206, 0.9);
}

.readiness-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 56px;
  align-items: center;
}

.readiness-grid p {
  margin-top: 22px;
}

.readiness-list {
  display: grid;
  gap: 14px;
}

.readiness-list div {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
}

.readiness-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 36px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.86rem;
}

.readiness-list span {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .readiness-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .build-bar-inner {
    justify-content: flex-start;
    gap: 18px;
    padding: 10px 0;
  }

  .build-bar span:not(:last-child)::after {
    display: none;
  }

  .readiness-list div {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   v0.5.1 Visual QA Polish
========================================================= */

/* Reduce the oversized desktop hero headline slightly. */


/* Make the header feel less crowded on desktop. */
.header-inner {
  min-height: 82px;
}

.site-nav {
  gap: 22px;
  font-size: 0.94rem;
}

.nav-cta {
  padding: 13px 20px;
}

/* Tighten the hero so the first screen feels more balanced. */
.hero.section-pad {
  padding-top: 84px;
  padding-bottom: 88px;
}

.hero-grid {
  gap: 58px;
}

.hero-lede {
  max-width: 640px;
}

/* Keep the hero mockup from visually overpowering the text. */
.hero-card {
  max-width: 560px;
  justify-self: end;
}

/* Improve section rhythm after the screenshots showed a few large gaps. */
.portfolio.section-pad,
.process.section-pad,
.website-review.section-pad,
.pricing.section-pad {
  padding-top: 82px;
  padding-bottom: 82px;
}

/* Make About + principles read better on narrower desktop widths. */
.about-grid {
  align-items: start;
}

.principles article {
  border: 1px solid rgba(222, 215, 206, 0.72);
}

/* Give the Website Review section a subtle visual separation now that it sits before pricing. */
.website-review {
  border-top: 1px solid rgba(222, 215, 206, 0.9);
  border-bottom: 1px solid rgba(222, 215, 206, 0.9);
}

/* Make the contact form feel slightly less oversized. */
.contact-form {
  padding: 30px;
}

.form-row.two {
  gap: 18px;
}

/* Footer cleanup for medium screens. */
.footer-grid {
  align-items: start;
}

.footer-grid > div:first-child p {
  max-width: 430px;
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 16px;
    font-size: 0.88rem;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 1100px) {
  .hero-card {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  

  .hero.section-pad {
    padding-top: 62px;
    padding-bottom: 68px;
  }

  .site-nav {
    font-size: 1rem;
  }

  .contact-form {
    padding: 24px;
  }
}

/* =========================================================
   v0.5.2 Hero Simplification
========================================================= */

/* The previous hero headline was too large and visually overwhelming.
   This version keeps the message strong but makes the first screen calmer. */
.hero-copy {
  max-width: 660px;
}

.hero h1 {
  max-width: 650px;
  
  
  
}

.hero-lede {
  max-width: 610px;
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
}

.hero.section-pad {
  padding-top: 76px;
  padding-bottom: 82px;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: 54px;
}

.hero-card {
  max-width: 520px;
}

.mock-window {
  padding: 24px;
}

.metric-grid div {
  min-height: 108px;
  padding: 18px;
}

.hero-actions {
  margin-top: 30px;
}

.trust-row {
  margin-top: 24px;
}

/* Keep the supporting hero card slightly smaller on desktop. */
.system-panel-header {
  padding: 16px;
}

.progress-card {
  padding: 16px;
}

@media (max-width: 1100px) {
  .hero-copy,
  .hero h1,
  .hero-lede {
    max-width: 760px;
  }

  .hero-card {
    max-width: 620px;
  }
}

@media (max-width: 700px) {
  

  .hero.section-pad {
    padding-top: 56px;
    padding-bottom: 64px;
  }
}

/* =========================================================
   v0.5.3 Orange Palette Refresh
========================================================= */

/*
  Palette direction:
  - Charcoal/navy foundation for trust and professionalism.
  - Burnt orange accent for energy, visibility, and action.
  - Warm cream background to separate this brand from the mint/green sites.
*/

body {
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.12), transparent 30rem),
    radial-gradient(circle at top right, rgba(234, 88, 12, 0.12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #ffffff 100%);
}

.site-header {
  background: rgba(255, 248, 239, 0.9);
  border-bottom-color: rgba(234, 215, 195, 0.92);
}

.brand-mark,
.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #111827);
  box-shadow: 0 16px 35px rgba(17, 24, 39, 0.2);
}

.nav-cta:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

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

.build-bar {
  background: #171717;
}

.build-bar span:not(:last-child)::after {
  background: var(--accent);
}

.hero::before {
  background: rgba(249, 115, 22, 0.16);
}

.mock-window {
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.26), transparent 18rem),
    linear-gradient(145deg, #111827, #2f241d);
}

.status-dot {
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(249, 115, 22, 0.18);
}

.progress-fill {
  background: linear-gradient(90deg, var(--accent-2), var(--accent), #fed7aa);
}

.security-strip,
.readiness {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 241, 223, 0.88)),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.15), transparent 28rem);
}

.problem,
.who,
.pricing {
  background: rgba(255, 241, 223, 0.48);
}

.service-card.featured,
.price-card.highlighted {
  border-color: rgba(249, 115, 22, 0.62);
  background:
    linear-gradient(180deg, #ffffff, #fff7ed);
}

.security-card::before {
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.card-number,
.security-icon,
.readiness-list strong {
  background: var(--accent-soft);
  color: #9a3412;
}

li::before {
  background: var(--accent);
}

.portfolio-card span,
.pill-row span,
.trust-row span {
  background: #fff7ed;
  color: #7c2d12;
  border-color: rgba(234, 88, 12, 0.22);
}

.fit-card.good {
  border-color: rgba(31, 41, 55, 0.26);
}

.fit-card.careful,
.review-card,
.contact-note {
  border-color: rgba(249, 115, 22, 0.38);
}

.contact-note {
  background: #fff7ed;
  color: #7c2d12;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(249, 115, 22, 0.65);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

.checkbox-field input {
  accent-color: var(--accent-2);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: rgba(249, 115, 22, 0.66);
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.14), transparent 26rem),
    #171717;
}

.site-footer .brand-mark {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

@media (max-width: 700px) {
  .brand-mark {
    box-shadow: 0 12px 26px rgba(17, 24, 39, 0.16);
  }
}


/* =========================================================
   v0.6.0 Multi-Page Static Structure
========================================================= */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 70px;
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 30rem),
    linear-gradient(180deg, #ffffff, var(--bg));
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  max-width: 980px;
}

.page-hero h1 {
  max-width: 880px;
  
}

.page-hero p {
  max-width: 760px;
  margin-top: 22px;
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
}

.page-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 42px;
}

.summary-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

.summary-card h3 {
  margin-bottom: 12px;
}

.summary-card p {
  margin-bottom: 22px;
}

.summary-card a {
  color: #9a3412;
  font-weight: 900;
}

.page-cta {
  padding: 86px 0;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.14), transparent 28rem),
    linear-gradient(180deg, var(--bg), #ffffff);
  border-top: 1px solid var(--line);
}

.page-cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.page-cta p {
  margin-top: 14px;
  max-width: 720px;
}

.site-nav a[aria-current="page"] {
  color: var(--accent-2);
}

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

  .page-cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .page-hero {
    padding: 58px 0 54px;
  }

  .page-summary-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   v0.6.1 Softer Orange Pass
========================================================= */

/*
  Keep orange as the brand accent, but reduce its visual weight.
  The site should feel warm, professional, and technical — not overly orange.
*/

:root {
  --bg: #fffaf3;
  --bg-soft: #f7f1e8;
  --surface: #ffffff;
  --text: #171717;
  --muted: #625c55;
  --primary: #1f2937;
  --primary-2: #374151;
  --accent: #d97706;
  --accent-2: #b45309;
  --accent-soft: #f8ead9;
  --line: #e6d8c9;
  --shadow: 0 24px 70px rgba(23, 23, 23, 0.12);
  --radius: 24px;
  --container: 1180px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.055), transparent 32rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #ffffff 100%);
}

.site-header {
  background: rgba(255, 250, 243, 0.92);
  border-bottom-color: rgba(230, 216, 201, 0.92);
}

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.055), transparent 30rem),
    linear-gradient(180deg, #ffffff, var(--bg));
}

.hero::before {
  background: rgba(217, 119, 6, 0.07);
}

.build-bar {
  background: #171717;
}

.build-bar span:not(:last-child)::after {
  background: rgba(217, 119, 6, 0.95);
}

.mock-window {
  background:
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.14), transparent 18rem),
    linear-gradient(145deg, #111827, #24211f);
}

.status-dot {
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(217, 119, 6, 0.14);
}

.progress-fill {
  background: linear-gradient(90deg, var(--primary), var(--accent), #f3d7b8);
}

.security-strip,
.readiness {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 241, 232, 0.78)),
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.06), transparent 28rem);
}

.problem,
.who,
.pricing {
  background: rgba(247, 241, 232, 0.52);
}

.website-review {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 243, 0.88));
}

.page-cta {
  background:
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.065), transparent 28rem),
    linear-gradient(180deg, var(--bg), #ffffff);
}

.service-card.featured,
.price-card.highlighted {
  border-color: rgba(217, 119, 6, 0.34);
  background:
    linear-gradient(180deg, #ffffff, #fffaf3);
}

.fit-card.careful,
.review-card,
.contact-note {
  border-color: rgba(217, 119, 6, 0.24);
}

.contact-note {
  background: #fffaf3;
  color: var(--primary);
}

.card-number,
.security-icon,
.readiness-list strong {
  background: #f5eee5;
  color: var(--primary);
}

.portfolio-card span,
.pill-row span,
.trust-row span {
  background: #fffaf3;
  color: var(--primary);
  border-color: rgba(230, 216, 201, 0.95);
}

.eyebrow {
  color: #8a4b0f;
}

li::before {
  background: var(--accent);
}

.security-card::before {
  background: linear-gradient(180deg, var(--primary), rgba(217, 119, 6, 0.74));
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(217, 119, 6, 0.48);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.095);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: rgba(217, 119, 6, 0.52);
}

.nav-cta:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(217, 119, 6, 0.08), transparent 26rem),
    #171717;
}

.site-footer .brand-mark {
  background: linear-gradient(135deg, #78350f, var(--accent));
}

/* Reduce orange border dominance on large card sections. */
.review-card,
.service-card.featured,
.price-card.highlighted,
.fit-card.careful {
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.065);
}

/* Make the orange visible mainly on interaction instead of everywhere. */
.summary-card a:hover,
.site-footer a:hover,
.site-nav a:hover,
.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: var(--accent-2);
}


/* =========================================================
   v0.6.2 Pricing Page Redesign
========================================================= */

/* Softer pricing heading: no oversized, heavy block headline. */
.pricing-page .pricing-heading {
  max-width: 820px;
}

.pricing-page .pricing-heading h2 {
  max-width: 760px;
  margin: 0 auto;
  
  
  
}

.pricing-page .pricing-heading p {
  max-width: 760px;
  margin-top: 16px;
}

/* Five-card layout that feels like a professional package matrix. */
.pricing-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.package-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  min-height: 420px;
  border-color: rgba(230, 216, 201, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
}

/* Remove the previous highlighted-card feel from pricing packages. */
.pricing-page .price-card.highlighted,
.pricing-page .price-card {
  border-color: rgba(230, 216, 201, 0.95);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.package-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(230, 216, 201, 0.95);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.package-card h3 {
  margin-bottom: 14px;
  font-size: 1.32rem;
  letter-spacing: -0.035em;
}

.package-card .price {
  margin: 0 0 16px;
}

.package-card .price strong {
  font-size: 1.9rem;
}

.package-card p:not(.price) {
  font-size: 0.98rem;
}

/* Dropdown/details styling for package inclusions. */
.package-card details {
  margin-top: 24px;
  border-top: 1px solid rgba(230, 216, 201, 0.95);
  padding-top: 18px;
}

.package-card summary {
  cursor: pointer;
  color: var(--primary);
  font-weight: 900;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.package-card summary::-webkit-details-marker {
  display: none;
}

.package-card summary::after {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--primary);
  font-weight: 900;
  line-height: 1;
}

.package-card details[open] summary::after {
  content: "−";
}

.package-card details ul {
  margin-top: 16px;
}

.package-card details li {
  font-size: 0.94rem;
  line-height: 1.45;
}

/* Better responsive behavior for five pricing cards. */
@media (max-width: 1250px) {
  .pricing-grid-five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .package-card {
    min-height: 0;
  }
}

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

  
}

@media (max-width: 620px) {
  .pricing-grid-five {
    grid-template-columns: 1fr;
  }

  .package-card {
    padding: 24px;
  }
}


/* =========================================================
   v0.6.3 Pricing Simplification
========================================================= */

/* Replace the large duplicate pricing hero with a tighter intro. */
.pricing-intro {
  padding: 64px 0 46px;
  background:
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.045), transparent 28rem),
    linear-gradient(180deg, #ffffff, var(--bg));
  border-bottom: 1px solid var(--line);
}

.pricing-intro .container {
  max-width: 980px;
}

.pricing-intro h1 {
  max-width: 780px;
  
  
  
}

.pricing-intro p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
}

/* Remove the second oversized pricing heading and replace it with a subtle label row. */
.pricing-page.section-pad {
  padding-top: 48px;
}

.pricing-note {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  max-width: 100%;
  margin: 0 0 26px;
  padding: 16px 18px;
  border: 1px solid rgba(230, 216, 201, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.pricing-note strong {
  color: var(--primary);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-note span {
  color: var(--muted);
  text-align: right;
}

/* Make cards cleaner and less tall. */
.pricing-grid-clean {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.package-card {
  min-height: 365px;
  padding: 24px;
}

.package-label {
  margin-bottom: 16px;
  background: transparent;
}

.package-card h3 {
  font-size: 1.2rem;
}

.package-card .price strong {
  font-size: 1.7rem;
}

.package-card p:not(.price) {
  font-size: 0.94rem;
  line-height: 1.55;
}

.package-card details {
  margin-top: 20px;
  padding-top: 16px;
}

.package-card summary {
  font-size: 0.94rem;
}

/* Make package layout responsive but not crowded. */
@media (max-width: 1350px) {
  .pricing-grid-clean {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .package-card {
    min-height: 0;
  }
}

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

  .pricing-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-note span {
    text-align: left;
  }
}

@media (max-width: 620px) {
  .pricing-intro {
    padding: 52px 0 38px;
  }

  

  .pricing-grid-clean {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   v0.6.4 Internal Page Header Cleanup
========================================================= */

/*
  Internal pages now use the centered section heading as the main page header.
  The large duplicate page-hero blocks were removed from Services, Portfolio,
  Process, Pricing, About, and Contact.
*/

main > section:first-child.section-pad,
main > section:first-child.section-pad-sm,
main > section:first-child.pricing {
  padding-top: 76px;
}

/* Keep first-section headings visually strong but less overwhelming than page heroes. */
main > section:first-child .center-heading h2 {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  
  
}

/* Contact page starts with the contact section, which uses a left column heading. */
main > section:first-child.contact {
  padding-top: 76px;
}

/* About page starts with a card layout; give it clean breathing room without a duplicate hero. */
main > section:first-child.about {
  padding-top: 76px;
}


/* =========================================================
   v0.6.5 Site-Wide Typography Softening
========================================================= */

/*
  The previous typography was visually too heavy.
  This pass reduces the bold/black feel across headings, cards,
  buttons, navigation, labels, and CTA sections while preserving hierarchy.
*/

body {
  font-weight: 400;
}

/* Headings: keep them strong enough to guide the page, but no longer black-heavy. */








/* Internal page first headings should feel refined, not oversized. */


/* Hero: still prominent, but calmer and less dense. */


/* Eyebrows and small labels should be crisp, not overly loud. */
.eyebrow,
.package-label,
.card-number,
.security-icon,
.readiness-list strong,
.timeline-item span,
.review-card span,
.principles strong {
  font-weight: 700;
  letter-spacing: 0.11em;
}

/* Brand and navigation: reduce heavy bold feel. */
.brand,
.footer-brand,
.site-nav,
.nav-cta,
.btn {
  font-weight: 700;
}

.brand-text strong,
.brand-text span {
  font-weight: 700;
}

.brand-mark {
  font-weight: 700;
}

.site-nav a {
  font-weight: 700;
}

/* Buttons: still clear, but less visually heavy. */
.btn,
.nav-cta {
  font-weight: 700;
}

/* Cards and body content: reduce strong bold blocks. */


.service-card,
.portfolio-card,
.price-card,
.security-card,
.fit-card,
.review-card,
.timeline-item,
.about-panel,
.principles,
.contact-form {
  font-weight: 400;
}

/* Pricing and amounts: keep readable, but remove the extra-heavy look. */
.price {
  font-weight: 600;
}

.price strong,
.package-card .price strong {
  font-weight: 650;
  letter-spacing: -0.035em;
}

/* Lists and tags. */
li,
.pill-row span,
.trust-row span,
.portfolio-card span,
.readiness-list span,
.package-card summary,
.site-footer a {
  font-weight: 600;
}

/* Form labels should not overpower the form. */
.form-field label,
.checkbox-field label {
  font-weight: 600;
}

.field-error,
.form-message {
  font-weight: 600;
}

/* CTA block from screenshot: reduce its visual weight. */


/* Footer. */
.site-footer h2 {
  font-weight: 650;
}

.site-footer p,
.site-footer a {
  font-weight: 400;
}

/* Preserve accessible contrast but reduce loudness on active nav. */
.site-nav a[aria-current="page"],
.site-nav a.active {
  font-weight: 700;
}

/* Mobile: keep headings comfortable. */
@media (max-width: 700px) {
  

  

  
}


/* =========================================================
   v0.6.6 Alternate Palette + Smaller Typography
========================================================= */

/*
  Alternate visual direction:
  - Cooler slate/teal foundation
  - Muted sand accent
  - Soft stone background
  - Less orange, less visual heat
  - Smaller type scale site-wide
*/

:root {
  --bg: #f6f4ef;
  --bg-soft: #ece7dc;
  --surface: #ffffff;
  --text: #1b1f23;
  --muted: #626a70;
  --primary: #25333a;
  --primary-2: #34515a;
  --accent: #8a6a3f;
  --accent-2: #6f5331;
  --accent-soft: #eee4d3;
  --line: #ded8cd;
  --shadow: 0 22px 60px rgba(27, 31, 35, 0.11);
  --radius: 22px;
  --container: 1180px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(52, 81, 90, 0.085), transparent 30rem),
    radial-gradient(circle at top right, rgba(138, 106, 63, 0.055), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #ffffff 100%);
  color: var(--text);
}

.site-header {
  background: rgba(246, 244, 239, 0.94);
  border-bottom-color: rgba(222, 216, 205, 0.95);
}

.brand-mark,
.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, #1f2930, var(--primary-2));
  box-shadow: 0 14px 32px rgba(31, 41, 48, 0.18);
}

.nav-cta:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-2), #2f6f73);
}

.build-bar {
  background: #1f2930;
}

.build-bar span:not(:last-child)::after {
  background: var(--accent);
}

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

.hero::before {
  background: rgba(52, 81, 90, 0.075);
}

.mock-window {
  background:
    radial-gradient(circle at top right, rgba(138, 106, 63, 0.14), transparent 18rem),
    linear-gradient(145deg, #111827, #25333a);
}

.status-dot {
  background: #7aa6a5;
  box-shadow: 0 0 0 7px rgba(122, 166, 165, 0.15);
}

.progress-fill {
  background: linear-gradient(90deg, #2f6f73, #7aa6a5, #d9c7a2);
}

.security-strip,
.readiness,
.page-hero,
.page-cta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(236, 231, 220, 0.72)),
    radial-gradient(circle at top right, rgba(52, 81, 90, 0.06), transparent 28rem);
}

.problem,
.who,
.pricing {
  background: rgba(236, 231, 220, 0.5);
}

.website-review {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 244, 239, 0.9));
}

.service-card.featured,
.price-card.highlighted,
.pricing-page .price-card,
.package-card {
  border-color: rgba(222, 216, 205, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.91));
}

.card-number,
.security-icon,
.readiness-list strong,
.package-card summary::after,
.package-label {
  background: var(--accent-soft);
  color: var(--primary);
}

.portfolio-card span,
.pill-row span,
.trust-row span {
  background: #f7f3eb;
  color: var(--primary);
  border-color: rgba(222, 216, 205, 0.96);
}

.contact-note {
  background: #f7f3eb;
  border-color: rgba(138, 106, 63, 0.22);
  color: var(--primary);
}

.security-card::before {
  background: linear-gradient(180deg, var(--primary-2), var(--accent));
}

li::before {
  background: #2f6f73;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(47, 111, 115, 0.5);
  box-shadow: 0 0 0 4px rgba(47, 111, 115, 0.1);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: rgba(47, 111, 115, 0.55);
}

.site-nav a[aria-current="page"],
.site-nav a.active,
.site-nav a:hover {
  color: #2f6f73;
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(122, 166, 165, 0.09), transparent 26rem),
    #1f2930;
}

.site-footer .brand-mark {
  background: linear-gradient(135deg, #2f6f73, var(--primary-2));
}

/* Smaller, calmer type scale site-wide. */






p {
  font-size: 1rem;
  line-height: 1.65;
}

.hero-lede {
  max-width: 590px;
  font-size: clamp(1rem, 1.18vw, 1.08rem);
}

.center-heading {
  max-width: 720px;
}

.center-heading p {
  font-size: 0.98rem;
}







.package-card h3 {
  font-size: 1.12rem;
}

.package-card .price strong,
.price strong {
  font-size: 1.55rem;
  font-weight: 620;
}

.package-card p:not(.price),
.package-card details li,
.service-card p,
.portfolio-card p,
.price-card p,
.security-card p,
.fit-card p,
.review-card p,
.timeline-item p {
  font-size: 0.94rem;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
}

.btn {
  min-height: 48px;
  padding: 12px 21px;
  font-size: 0.94rem;
}

.nav-cta {
  padding: 12px 19px;
}

.site-nav {
  font-size: 0.9rem;
}

.brand-text {
  font-size: 0.95rem;
}

.brand-mark {
  width: 52px;
  height: 52px;
}

.section-pad {
  padding: 82px 0;
}

.section-pad-sm {
  padding: 62px 0;
}

.hero.section-pad {
  padding-top: 68px;
  padding-bottom: 72px;
}

main > section:first-child.section-pad,
main > section:first-child.section-pad-sm,
main > section:first-child.pricing,
main > section:first-child.contact,
main > section:first-child.about {
  padding-top: 64px;
}

@media (max-width: 700px) {
  

  

  p {
    font-size: 0.96rem;
  }

  .section-pad {
    padding: 64px 0;
  }

  .section-pad-sm {
    padding: 50px 0;
  }
}


/* =========================================================
   v0.6.7 Palette Shift + Button Glow + Pricing Fix
========================================================= */

/*
  New visual direction:
  - Deep ink / blue-black foundation
  - Soft ivory page background
  - Muted electric blue accent
  - Small champagne highlights
  - Less earthy/teal, more modern technical studio
*/

:root {
  --bg: #f8f7f2;
  --bg-soft: #eef3f8;
  --surface: #ffffff;
  --text: #111827;
  --muted: #5f6673;
  --primary: #111827;
  --primary-2: #1e3a5f;
  --accent: #2f7dd3;
  --accent-2: #1f5fa8;
  --accent-soft: #e8f2ff;
  --champagne: #e8d6a8;
  --line: #dfe4ea;
  --shadow: 0 22px 60px rgba(17, 24, 39, 0.12);
  --radius: 22px;
  --container: 1180px;
}

body {
  background:
    radial-gradient(circle at top left, rgba(47, 125, 211, 0.08), transparent 30rem),
    radial-gradient(circle at top right, rgba(232, 214, 168, 0.14), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 52%, #ffffff 100%);
  color: var(--text);
}

.site-header {
  background: rgba(248, 247, 242, 0.94);
  border-bottom-color: rgba(223, 228, 234, 0.95);
}

.brand-mark,
.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, #111827, #1e3a5f);
}

.build-bar {
  background: #111827;
}

.build-bar span:not(:last-child)::after {
  background: var(--accent);
}

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

.hero::before {
  background: rgba(47, 125, 211, 0.08);
}

.mock-window {
  background:
    radial-gradient(circle at top right, rgba(47, 125, 211, 0.18), transparent 18rem),
    linear-gradient(145deg, #0b1220, #1e3a5f);
}

.status-dot {
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(47, 125, 211, 0.15);
}

.progress-fill {
  background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--champagne));
}

.security-strip,
.readiness,
.page-hero,
.page-cta {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 243, 248, 0.72)),
    radial-gradient(circle at top right, rgba(47, 125, 211, 0.055), transparent 28rem);
}

.problem,
.who,
.pricing {
  background: rgba(238, 243, 248, 0.52);
}

.website-review {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.9));
}

.service-card.featured,
.price-card.highlighted,
.pricing-page .price-card,
.package-card,
.review-card,
.security-card,
.portfolio-card,
.fit-card,
.timeline-item,
.about-panel,
.principles,
.contact-form,
.summary-card {
  border-color: rgba(223, 228, 234, 0.98);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
}

.card-number,
.security-icon,
.readiness-list strong,
.package-card summary::after,
.package-label {
  background: var(--accent-soft);
  color: var(--primary-2);
}

.portfolio-card span,
.pill-row span,
.trust-row span {
  background: #f7fbff;
  color: var(--primary-2);
  border-color: rgba(223, 228, 234, 0.98);
}

.contact-note {
  background: #f7fbff;
  border-color: rgba(47, 125, 211, 0.18);
  color: var(--primary-2);
}

.security-card::before {
  background: linear-gradient(180deg, var(--primary-2), var(--accent));
}

li::before {
  background: var(--accent);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(47, 125, 211, 0.52);
  box-shadow: 0 0 0 4px rgba(47, 125, 211, 0.1);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline-color: rgba(47, 125, 211, 0.58);
}

.site-nav a[aria-current="page"],
.site-nav a.active,
.site-nav a:hover {
  color: var(--accent-2);
}

.site-footer {
  background:
    radial-gradient(circle at top left, rgba(47, 125, 211, 0.12), transparent 26rem),
    #111827;
}

.site-footer .brand-mark {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

/* Button glow: applied to clickable button-style actions only. */
.btn,
.nav-cta,
.page-cta .btn,
.contact-form button[type="submit"] {
  box-shadow:
    0 14px 34px rgba(47, 125, 211, 0.18),
    0 0 0 0 rgba(47, 125, 211, 0);
}

.btn-primary,
.nav-cta,
.contact-form button[type="submit"] {
  box-shadow:
    0 16px 38px rgba(47, 125, 211, 0.23),
    0 0 22px rgba(47, 125, 211, 0.16);
}

.btn:hover,
.nav-cta:hover,
.page-cta .btn:hover,
.contact-form button[type="submit"]:hover {
  box-shadow:
    0 18px 44px rgba(47, 125, 211, 0.28),
    0 0 30px rgba(47, 125, 211, 0.22);
}

.nav-cta:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
}

/* =========================================================
   Pricing page fix
========================================================= */

/*
  Fix: pricing cards were stretching too tall and pushing the collapsed
  dropdown controls to the bottom, creating a large empty space.
*/

.pricing-page .pricing-grid-five,
.pricing-grid-clean {
  align-items: start;
}

.pricing-grid-five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: start;
}

.package-card {
  display: block;
  min-height: 0;
  height: auto;
  padding: 24px;
}

.package-top {
  min-height: 0;
}

.package-card details {
  margin-top: 18px;
  padding-top: 15px;
}

.package-card details[open] {
  padding-bottom: 4px;
}

.package-card details ul {
  margin-bottom: 0;
}

/* Let the opened card grow naturally without forcing the other cards to match. */
.package-card:has(details[open]) {
  height: auto;
}

/* Make five cards easier to read on wide screens. */
@media (max-width: 1450px) {
  .pricing-grid-five,
  .pricing-grid-clean {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .pricing-grid-five,
  .pricing-grid-clean {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .pricing-grid-five,
  .pricing-grid-clean {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   v0.7.0 Homepage Refinement
========================================================= */

.home-hero .hero-copy {
  max-width: 620px;
}

.home-hero h1 {
  max-width: 620px;
}

.home-intro {
  background: rgba(238, 243, 248, 0.52);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-intro p + p {
  margin-top: 18px;
}

.why-cws {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 247, 242, 0.9));
}

.home-services {
  background:
    radial-gradient(circle at top right, rgba(47, 125, 211, 0.055), transparent 28rem),
    rgba(238, 243, 248, 0.54);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.home-service-list {
  display: grid;
  gap: 16px;
  margin-top: 42px;
}

.home-service-row {
  display: grid;
  grid-template-columns: 0.8fr 1.15fr auto;
  gap: 28px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.home-service-row:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 125, 211, 0.22);
  box-shadow:
    0 20px 50px rgba(17, 24, 39, 0.09),
    0 0 24px rgba(47, 125, 211, 0.08);
}

.home-service-row div span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.home-service-row h3 {
  margin: 0;
}

.home-service-row p {
  margin: 0;
  max-width: 560px;
}

.home-service-row a {
  justify-self: end;
  color: var(--accent-2);
  font-weight: 700;
  white-space: nowrap;
}

.home-services-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.home-workflow {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 247, 242, 0.86));
}

.home-portfolio {
  background: rgba(238, 243, 248, 0.48);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 960px) {
  .home-service-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-service-row a {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .home-service-row {
    padding: 22px;
  }
}


/* =========================================================
   v0.7.1 Services Page Refinement
========================================================= */

.services-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.9));
}

.service-detail-stack {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1.05fr 0.78fr 0.82fr auto;
  gap: 26px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-detail:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 125, 211, 0.22);
  box-shadow:
    0 20px 50px rgba(17, 24, 39, 0.09),
    0 0 24px rgba(47, 125, 211, 0.08);
}

.service-detail-main h3 {
  margin: 14px 0 12px;
}

.service-detail-main p,
.service-detail-list p {
  margin: 0;
}

.service-detail-list h4 {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-detail-list ul {
  margin-top: 0;
}

.service-detail-list li {
  font-size: 0.92rem;
  line-height: 1.45;
}

.service-link {
  justify-self: end;
  align-self: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow:
    0 10px 26px rgba(47, 125, 211, 0.12),
    0 0 18px rgba(47, 125, 211, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.service-link:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 125, 211, 0.3);
  box-shadow:
    0 14px 34px rgba(47, 125, 211, 0.2),
    0 0 24px rgba(47, 125, 211, 0.14);
}

.service-fit {
  background: rgba(238, 243, 248, 0.52);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-process {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 247, 242, 0.86));
}

@media (max-width: 1180px) {
  .service-detail {
    grid-template-columns: 1fr 1fr;
  }

  .service-link {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .service-detail {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}


/* =========================================================
   v0.7.2 Pricing Page Refinement
========================================================= */

.pricing-refined {
  background:
    radial-gradient(circle at top right, rgba(47, 125, 211, 0.045), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.9));
}

.pricing-refined .pricing-heading {
  max-width: 760px;
}

.pricing-refined .pricing-heading h2 {
  max-width: 720px;
  margin: 0 auto;
  
  
}

.pricing-helper {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  margin: 36px 0 24px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.055);
}

.pricing-helper div {
  display: grid;
  gap: 4px;
}

.pricing-helper strong {
  color: var(--primary);
  font-weight: 650;
}

.pricing-helper span {
  color: var(--muted);
  font-size: 0.96rem;
}

.pricing-helper a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(47, 125, 211, 0.22);
  border-radius: 999px;
  color: var(--accent-2);
  background: #ffffff;
  font-weight: 700;
  box-shadow:
    0 12px 26px rgba(47, 125, 211, 0.12),
    0 0 18px rgba(47, 125, 211, 0.08);
}

.pricing-helper a:hover {
  box-shadow:
    0 16px 34px rgba(47, 125, 211, 0.2),
    0 0 24px rgba(47, 125, 211, 0.14);
}

.pricing-refined .package-card {
  padding: 24px;
  min-height: 0;
  height: auto;
}

.pricing-refined .package-card h3 {
  font-size: 1.12rem;
}

.pricing-refined .package-card .price strong {
  font-size: 1.55rem;
}

.pricing-refined .package-card p:not(.price) {
  font-size: 0.93rem;
}

.pricing-notes {
  background: rgba(238, 243, 248, 0.52);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.pricing-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

@media (max-width: 900px) {
  .pricing-helper {
    align-items: flex-start;
    flex-direction: column;
  }

  .pricing-note-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   v0.7.3 Link / CTA Audit
========================================================= */

/* Keep button-style links visibly clickable and consistent after link cleanup. */
.service-link,
.pricing-helper a,
.summary-card a {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.service-link:hover,
.pricing-helper a:hover,
.summary-card a:hover {
  transform: translateY(-2px);
}


/* =========================================================
   v0.7.4 Portfolio Refinement
========================================================= */

.portfolio-page {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.9));
}

.portfolio-showcase {
  display: grid;
  gap: 20px;
  margin-top: 44px;
}

.portfolio-feature {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.portfolio-feature:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 125, 211, 0.22);
  box-shadow:
    0 20px 50px rgba(17, 24, 39, 0.09),
    0 0 24px rgba(47, 125, 211, 0.08);
}

.portfolio-type {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-feature h3 {
  margin-bottom: 12px;
}

.portfolio-feature p {
  max-width: 760px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.portfolio-tags span,
.portfolio-chip-link {
  display: inline-flex;
  width: fit-content;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f7fbff;
  color: var(--primary-2);
  font-size: 0.86rem;
  font-weight: 600;
}

.portfolio-chip-link {
  margin-top: 24px;
  box-shadow:
    0 12px 26px rgba(47, 125, 211, 0.12),
    0 0 18px rgba(47, 125, 211, 0.08);
}

.portfolio-chip-link:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px rgba(47, 125, 211, 0.2),
    0 0 24px rgba(47, 125, 211, 0.14);
}

.portfolio-actions {
  justify-self: end;
}

.portfolio-note {
  background: rgba(238, 243, 248, 0.52);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-detail {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.9));
}

.project-detail-hero {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.project-detail-hero h1 {
  max-width: 760px;
  margin: 0 auto;
}

.project-detail-hero p:not(.eyebrow) {
  max-width: 780px;
  margin: 18px auto 0;
}

.project-detail-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 46px;
}

.project-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
}

.project-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

@media (max-width: 900px) {
  .portfolio-feature {
    grid-template-columns: 1fr;
  }

  .portfolio-actions {
    justify-self: start;
  }

  .project-detail-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   v0.7.5 Site-Wide Button Color + Lift
========================================================= */

/*
  Approved button direction:
  - Deep navy pill buttons
  - White text
  - Subtle shadow/glow
  - Lift on hover
  Applied to button-style clickable elements site-wide.
*/

:root {
  --button-navy: #172743;
  --button-navy-2: #21385e;
  --button-text: #ffffff;
  --button-shadow: 0 14px 32px rgba(23, 39, 67, 0.22);
  --button-shadow-hover: 0 20px 40px rgba(23, 39, 67, 0.28);
  --button-glow: 0 0 20px rgba(47, 125, 211, 0.14);
  --button-glow-hover: 0 0 28px rgba(47, 125, 211, 0.18);
}

/* Core button family */
.btn,
.nav-cta,
.service-link,
.pricing-helper a,
.portfolio-chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, var(--button-navy), var(--button-navy-2));
  color: var(--button-text);
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--button-shadow), var(--button-glow);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    filter 180ms ease;
}

/* Keep text readable inside button-style links */
.btn:hover,
.btn:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.service-link:hover,
.service-link:focus-visible,
.pricing-helper a:hover,
.pricing-helper a:focus-visible,
.portfolio-chip-link:hover,
.portfolio-chip-link:focus-visible {
  color: var(--button-text);
}

.btn:hover,
.nav-cta:hover,
.service-link:hover,
.pricing-helper a:hover,
.portfolio-chip-link:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #1b3154, #29456f);
  box-shadow: var(--button-shadow-hover), var(--button-glow-hover);
  filter: brightness(1.03);
}

.btn:active,
.nav-cta:active,
.service-link:active,
.pricing-helper a:active,
.portfolio-chip-link:active {
  transform: translateY(-1px);
}

.btn:focus-visible,
.nav-cta:focus-visible,
.service-link:focus-visible,
.pricing-helper a:focus-visible,
.portfolio-chip-link:focus-visible {
  outline: 3px solid rgba(47, 125, 211, 0.32);
  outline-offset: 3px;
}

/* Standard secondary buttons now match the approved navy treatment. */
.btn-secondary {
  background: linear-gradient(135deg, var(--button-navy), var(--button-navy-2));
  color: var(--button-text);
  border-color: rgba(255, 255, 255, 0.06);
}

/* Primary buttons stay in the same approved family. */
.btn-primary {
  background: linear-gradient(135deg, var(--button-navy), var(--button-navy-2));
  color: var(--button-text);
}

/* Pricing helper and service link should no longer look like light pills. */
.pricing-helper a,
.service-link,
.portfolio-chip-link {
  border-color: rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, var(--button-navy), var(--button-navy-2));
  color: var(--button-text);
}

/* Portfolio preview links on the homepage should feel like real buttons. */
.portfolio-chip-link {
  margin-top: 20px;
}

/* Keep nav CTA slightly larger for prominence. */
.nav-cta {
  min-height: 50px;
  padding: 13px 23px;
}

/* Small-screen comfort */
@media (max-width: 700px) {
  .btn,
  .nav-cta,
  .service-link,
  .pricing-helper a,
  .portfolio-chip-link {
    min-height: 46px;
    padding: 11px 18px;
  }
}


/* =========================================================
   v0.7.6 Contact Page Refinement
========================================================= */

.contact-page {
  background:
    radial-gradient(circle at top right, rgba(47, 125, 211, 0.045), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.9));
}

.contact-page .contact-copy {
  position: sticky;
  top: 128px;
}

.contact-steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-steps article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 30px rgba(17, 24, 39, 0.055);
}

.contact-steps span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.contact-steps strong {
  display: block;
  margin-bottom: 5px;
  color: var(--primary);
  font-weight: 650;
}

.contact-steps p {
  margin: 0;
  font-size: 0.94rem;
}

.contact-form-refined {
  padding: 30px;
}

.form-section-title {
  display: grid;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.form-section-title strong {
  color: var(--primary);
  font-size: 1.06rem;
  font-weight: 650;
}

.form-section-title span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-support {
  background: rgba(238, 243, 248, 0.52);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 1100px) {
  .contact-page .contact-copy {
    position: static;
  }
}

@media (max-width: 700px) {
  .contact-form-refined {
    padding: 24px;
  }
}


/* =========================================================
   v0.7.7 About Page Refinement
========================================================= */

.about-page {
  background:
    radial-gradient(circle at top right, rgba(47, 125, 211, 0.045), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.9));
}

.about-page .about-panel {
  display: grid;
  align-content: center;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.about-profile {
  display: grid;
}

.profile-card {
  min-height: 100%;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at top right, rgba(47, 125, 211, 0.09), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  box-shadow: var(--shadow);
}

.profile-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #111827, #1e3a5f);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.03em;
  box-shadow:
    0 16px 38px rgba(47, 125, 211, 0.23),
    0 0 22px rgba(47, 125, 211, 0.16);
}

.profile-card h3 {
  margin-bottom: 14px;
  max-width: 420px;
}

.about-principles {
  background: rgba(238, 243, 248, 0.52);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 38px;
}

.about-who {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 247, 242, 0.86));
}

.about-capabilities {
  background: rgba(238, 243, 248, 0.48);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

@media (max-width: 700px) {
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .profile-card {
    padding: 26px;
  }
}


/* =========================================================
   v0.7.8 Process Page Refinement
========================================================= */

.process-page {
  background:
    radial-gradient(circle at top right, rgba(47, 125, 211, 0.045), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.9));
}

.process-lane {
  position: relative;
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 44px auto 0;
}

.process-step {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.process-step:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 125, 211, 0.22);
  box-shadow:
    0 20px 50px rgba(17, 24, 39, 0.09),
    0 0 24px rgba(47, 125, 211, 0.08);
}

.process-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 44px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary-2);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.process-step h3 {
  margin-bottom: 8px;
}

.process-step p {
  max-width: 760px;
}

.process-readiness {
  background: rgba(238, 243, 248, 0.52);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-deliverables {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 247, 242, 0.86));
}

.process-rules {
  background: rgba(238, 243, 248, 0.48);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

@media (max-width: 700px) {
  .process-step {
    grid-template-columns: 1fr;
    padding: 24px;
  }
}


/* =========================================================
   v0.7.9 Full-Site QA + Consistency Pass
========================================================= */

/* Keep page sections consistent after individual page refinements. */
main > section:first-child {
  scroll-margin-top: 120px;
}

section[id],
article[id] {
  scroll-margin-top: 120px;
}

/* Prevent long labels/URLs/text from breaking layouts. */
h1,
h2,
h3,
p,
li,
a,
span,
strong {
  overflow-wrap: anywhere;
}

/* Button consistency and touch comfort. */
.btn,
.nav-cta,
.service-link,
.pricing-helper a,
.portfolio-chip-link,
button[type="submit"] {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Make CTA rows wrap gracefully on tablets and phones. */
.hero-actions,
.about-actions,
.project-detail-actions {
  align-items: center;
}

/* More consistent cards across pages. */
.summary-card,
.service-detail,
.portfolio-feature,
.process-step,
.project-panel,
.contact-steps article {
  will-change: transform;
}

/* Make project detail and CTA sections breathe evenly. */
.project-detail,
.contact-page,
.about-page,
.process-page,
.services-page,
.portfolio-page,
.pricing-refined {
  padding-top: 70px;
}

/* Keep footer links clear but not too loud. */
.site-footer nav a {
  width: fit-content;
}

/* Better mobile navigation tap targets. */
@media (max-width: 960px) {
  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .nav-cta {
    justify-content: center;
  }
}

/* Mobile spacing consistency. */
@media (max-width: 700px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero-actions,
  .about-actions,
  .project-detail-actions {
    align-items: stretch;
  }

  .hero-actions .btn,
  .about-actions .btn,
  .project-detail-actions .btn,
  .page-cta .btn {
    width: 100%;
  }

  .page-cta-inner {
    padding: 26px;
  }

  .pricing-helper a,
  .service-link,
  .portfolio-chip-link {
    width: 100%;
  }
}

/* Print fallback: keep content readable if printed for client review. */
@media print {
  .site-header,
  .build-bar,
  .site-footer,
  .nav-toggle,
  .page-cta {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #111827 !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  a {
    color: #111827 !important;
    text-decoration: underline;
  }
}


/* =========================================================
   v0.8.0 Backend Readiness Page
========================================================= */

.backend-readiness {
  background:
    radial-gradient(circle at top right, rgba(47, 125, 211, 0.045), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.9));
}

.backend-readiness h1 {
  max-width: 760px;
  margin: 0 auto;
  
  
}

.backend-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 42px;
}

.backend-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.backend-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 125, 211, 0.22);
  box-shadow:
    0 20px 50px rgba(17, 24, 39, 0.09),
    0 0 24px rgba(47, 125, 211, 0.08);
}

.backend-card h2 {
  margin: 14px 0 10px;
  font-size: 1.18rem;
}

.backend-rules {
  background: rgba(238, 243, 248, 0.52);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.implementation-options {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 247, 242, 0.86));
}

.site-footer nav + div a[href="backend-readiness.html"],
.site-footer div a[href="backend-readiness.html"] {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.site-footer div a[href="backend-readiness.html"]:hover {
  color: #ffffff;
}

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

@media (max-width: 620px) {
  .backend-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   v0.8.1 Privacy + Terms Pages
========================================================= */

.legal-page {
  background:
    radial-gradient(circle at top right, rgba(47, 125, 211, 0.045), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.9));
}

.legal-header {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.legal-header h1 {
  max-width: 760px;
  margin: 0 auto;
  
  
}

.legal-header p:not(.eyebrow) {
  max-width: 780px;
  margin: 18px auto 0;
}

.legal-disclaimer {
  padding: 14px 16px;
  border: 1px solid rgba(47, 125, 211, 0.18);
  border-radius: 16px;
  background: #f7fbff;
  color: var(--primary-2);
  font-size: 0.94rem;
}

.legal-stack {
  display: grid;
  gap: 18px;
  max-width: 920px;
  margin: 42px auto 0;
}

.legal-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
}

.legal-card h2 {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.legal-card p + p {
  margin-top: 12px;
}

.site-footer div a[href="backend-readiness.html"],
.site-footer div a[href="privacy.html"],
.site-footer div a[href="terms.html"] {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.site-footer div a[href="backend-readiness.html"]:hover,
.site-footer div a[href="privacy.html"]:hover,
.site-footer div a[href="terms.html"]:hover {
  color: #ffffff;
}


/* =========================================================
   v0.8.2 SEO / Launch Discovery Prep
========================================================= */

/* No major visual changes in this version.
   This section intentionally reserved for future SEO/launch-related visual assets,
   such as favicon previews, social-card mockups, or launch notice components. */


/* =========================================================
   v0.8.3 Accessibility Pass
========================================================= */

/* Make skip link more visible and reliable. */
.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  transform: translateY(-120px);
  z-index: 9999;
  padding: 12px 16px;
  border-radius: 14px;
  background: #111827;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.28);
  transition: transform 160ms ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 14px;
  transform: translateY(0);
}

/* Stronger keyboard focus while preserving the visual style. */
:focus-visible {
  outline: 3px solid rgba(47, 125, 211, 0.72);
  outline-offset: 4px;
}

.btn:focus-visible,
.nav-cta:focus-visible,
.service-link:focus-visible,
.pricing-helper a:focus-visible,
.portfolio-chip-link:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 125, 211, 0.72);
  outline-offset: 4px;
}

/* Do not remove outlines from form fields. */
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(47, 125, 211, 0.58);
  outline-offset: 2px;
}

/* Better form error visibility. */
.field-error:not(:empty) {
  display: block;
  padding-top: 2px;
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

/* Ensure hidden honeypot field stays out of visual and keyboard flow. */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Improve details/summary accessibility and keyboard visibility. */
summary {
  border-radius: 12px;
}

summary:focus-visible {
  outline: 3px solid rgba(47, 125, 211, 0.72);
  outline-offset: 4px;
}

/* Improve contrast for muted text in small UI labels. */
.package-label,
.portfolio-type,
.card-number,
.security-icon,
.readiness-list strong,
.process-step > span,
.contact-steps span {
  color: #172743;
}

/* Ensure touch targets are comfortable. */
.site-nav a,
.footer-bottom a,
.site-footer a,
summary,
.checkbox-field label {
  min-height: 36px;
}

/* Make checkbox target easier to use. */
.checkbox-field {
  align-items: start;
}

.checkbox-field input {
  width: 20px;
  min-width: 20px;
  height: 20px;
}

/* Add fallback for users who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .btn:hover,
  .nav-cta:hover,
  .service-link:hover,
  .pricing-helper a:hover,
  .portfolio-chip-link:hover,
  .summary-card:hover,
  .service-detail:hover,
  .portfolio-feature:hover,
  .process-step:hover,
  .backend-card:hover {
    transform: none !important;
  }
}

/* High contrast user preference support where available. */
@media (prefers-contrast: more) {
  :root {
    --line: #9aa6b2;
    --muted: #374151;
  }

  .btn,
  .nav-cta,
  .service-link,
  .pricing-helper a,
  .portfolio-chip-link {
    border: 2px solid #ffffff;
  }

  .summary-card,
  .service-detail,
  .portfolio-feature,
  .process-step,
  .project-panel,
  .contact-form,
  .legal-card,
  .backend-card {
    border-color: #6b7280;
  }
}

/* Keep main focus from causing unwanted visible outline after skip link target. */
main:focus {
  outline: none;
}

main:focus-visible {
  outline: none;
}


/* =========================================================
   v0.8.4 Contact Form Completion Gate
========================================================= */

.contact-form button[type="submit"]:disabled,
.contact-form button[type="submit"].is-disabled {
  cursor: not-allowed;
  transform: none;
  background: linear-gradient(135deg, #9aa6b2, #7b8794);
  color: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  opacity: 0.68;
  filter: grayscale(0.15);
}

.contact-form button[type="submit"]:disabled:hover,
.contact-form button[type="submit"].is-disabled:hover {
  transform: none;
  box-shadow: none;
  filter: grayscale(0.15);
}

.contact-form button[type="submit"].is-ready {
  opacity: 1;
}

.submit-status {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.submit-status.is-ready {
  color: var(--primary-2);
  font-weight: 600;
}

.form-field label span[aria-hidden="true"] {
  color: #b42318;
  font-weight: 700;
}


/* =========================================================
   v0.8.5 Performance + Rendering Cleanup
========================================================= */

/*
  This pass avoids risky visual rewrites and adds safe performance-minded CSS:
  - content-visibility for off-screen sections
  - intrinsic size hints to reduce layout work
  - consolidated image/media defaults for future assets
  - safer rendering behavior for long pages
*/

section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 820px;
}

/* Keep above-the-fold and interactive sections immediately available. */
.site-header,
.build-bar,
.hero,
.home-hero,
.contact-page,
.pricing-refined,
.page-cta,
.site-footer {
  content-visibility: visible;
  contain-intrinsic-size: auto;
}

/* Future image/media defaults. */
img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

img {
  display: block;
}

/* Avoid expensive paint overflow where possible. */
.summary-card,
.service-detail,
.portfolio-feature,
.process-step,
.project-panel,
.contact-form,
.legal-card,
.backend-card,
.package-card {
  contain: layout paint;
}

/* Keep hover effects smooth without animating expensive properties beyond transform/shadow. */
.btn,
.nav-cta,
.service-link,
.pricing-helper a,
.portfolio-chip-link,
.summary-card,
.service-detail,
.portfolio-feature,
.process-step,
.backend-card {
  backface-visibility: hidden;
}

/* Reduce mobile layout work by simplifying shadows on smaller screens. */
@media (max-width: 700px) {
  .summary-card,
  .service-detail,
  .portfolio-feature,
  .process-step,
  .project-panel,
  .contact-form,
  .legal-card,
  .backend-card,
  .package-card {
    box-shadow: 0 10px 26px rgba(17, 24, 39, 0.06);
  }
}

/* =========================================================
   v1.0.8f - Full Hero Background Video + Refined Glass Card
   Goal:
   - Fill the hero area with the video
   - Keep wording intact and readable
   - Reduce video restart glitch visually
   - Make the right-side card smaller, cleaner, and less boxy
   - Preserve Campbell Web Systems navy/ivory/blue aesthetic
   ========================================================= */

.hero-video-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 680px;
  display: flex;
  align-items: center;
  padding-top: 92px;
  padding-bottom: 92px;
  background: #0b1220;
}

.hero-background-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.04);
  animation: heroVideoSoftFade 16s linear infinite;
}

/* Softens the moment the video loops.
   The true fix is a seamless/crossfaded MP4, but this helps hide the restart. */
@keyframes heroVideoSoftFade {
  0% {
    opacity: 0.9;
  }

  4% {
    opacity: 1;
  }

  96% {
    opacity: 1;
  }

  100% {
    opacity: 0.9;
  }
}

.hero-background-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 42%, rgba(47, 125, 211, 0.24), transparent 30rem),
    linear-gradient(
      90deg,
      rgba(248, 247, 242, 0.97) 0%,
      rgba(248, 247, 242, 0.92) 34%,
      rgba(248, 247, 242, 0.62) 58%,
      rgba(17, 24, 39, 0.34) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(248, 247, 242, 0.64) 48%,
      rgba(17, 24, 39, 0.4) 100%
    );
}

.hero-video-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.48fr);
  gap: 64px;
  align-items: center;
}

.hero-copy-panel {
  max-width: 650px;
}

.hero-video-hero .hero-copy h1,
.hero-video-hero .hero-copy p,
.hero-video-hero .eyebrow {
  text-shadow: 0 2px 18px rgba(255, 255, 255, 0.55);
}

.hero-video-hero .hero-copy h1 {
  max-width: 650px;
}

.hero-video-hero .hero-lede {
  max-width: 630px;
  color: #374151;
}

.hero-video-hero .trust-row span {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
}

/* =========================================================
   Refined right-side glass card
   Smaller, lighter, cleaner, less boxed-in
   ========================================================= */

.hero-glass-card {
  position: relative;
  align-self: center;
  justify-self: end;
  display: grid;
  gap: 18px;
  width: min(100%, 430px);
  min-height: auto;
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(15, 29, 51, 0.56),
      rgba(15, 29, 51, 0.74)
    );
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 24px 70px rgba(17, 24, 39, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.hero-glass-card::before {
  display: none;
}

.hero-glass-card .status-dot {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  box-shadow: 0 0 0 8px rgba(47, 125, 211, 0.13);
}

.hero-glass-card > div {
  position: relative;
  z-index: 1;
}

.hero-glass-card .eyebrow {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: none;
}

.hero-glass-card h2 {
  max-width: 390px;
  color: #ffffff;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.15;
}

.hero-glass-card p {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}

.hero-glass-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-glass-list span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 600;
}

/* Make the following section connect cleanly to the video hero */
.home-intro {
  border-top: 1px solid var(--line);
}

/* Tablet */
@media (max-width: 1100px) {
  .hero-video-hero {
    min-height: auto;
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .hero-video-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-glass-card {
    justify-self: start;
    width: min(100%, 620px);
  }

  .hero-background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(248, 247, 242, 0.96) 0%,
        rgba(248, 247, 242, 0.88) 45%,
        rgba(17, 24, 39, 0.54) 100%
      );
  }
}

/* Mobile */
@media (max-width: 700px) {
  .hero-video-hero {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero-background-video {
    object-position: 62% center;
  }

  .hero-copy-panel {
    max-width: 100%;
  }

  .hero-video-hero .hero-lede {
    color: #374151;
  }

  .hero-glass-card {
    width: 100%;
    padding: 24px;
    border-radius: 24px;
  }

  .hero-glass-card h2 {
    font-size: 1.55rem;
  }

  .hero-glass-list {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero-background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(248, 247, 242, 0.97) 0%,
        rgba(248, 247, 242, 0.92) 50%,
        rgba(17, 24, 39, 0.68) 100%
      );
  }

  .hero-glass-card h2 {
    font-size: 1.5rem;
  }
}
/* =========================================================
   v1.0.8g - Replace Hero Glass Box With Floating Proof Stack
   ========================================================= */

.hero-glass-card {
  display: none !important;
}

.hero-proof-stack {
  position: relative;
  justify-self: end;
  width: min(100%, 430px);
  padding: 0;
  color: #ffffff;
}

.hero-proof-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 29, 51, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.18);
}

.hero-proof-kicker span:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-proof-stack h2 {
  max-width: 420px;
  color: #ffffff;
  font-size: clamp(2rem, 3vw, 3.05rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.hero-proof-stack p {
  max-width: 410px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.02rem;
  line-height: 1.75;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof-list span {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 29, 51, 0.44);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.86rem;
  font-weight: 700;
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.16);
}

/* Give the right side more visual room now that the box is gone */
.hero-video-layout {
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.52fr) !important;
  gap: 70px !important;
}

/* Slightly improve background contrast behind the floating proof stack */
.hero-background-overlay {
  background:
    radial-gradient(circle at 78% 42%, rgba(47, 125, 211, 0.22), transparent 30rem),
    linear-gradient(
      90deg,
      rgba(248, 247, 242, 0.97) 0%,
      rgba(248, 247, 242, 0.9) 35%,
      rgba(248, 247, 242, 0.5) 58%,
      rgba(17, 24, 39, 0.48) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(248, 247, 242, 0.56) 48%,
      rgba(17, 24, 39, 0.48) 100%
    ) !important;
}

/* Tablet */
@media (max-width: 1100px) {
  .hero-video-layout {
    grid-template-columns: 1fr !important;
    gap: 44px !important;
  }

  .hero-proof-stack {
    justify-self: start;
    width: min(100%, 660px);
  }

  .hero-proof-stack h2,
  .hero-proof-stack p {
    max-width: 660px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .hero-proof-stack {
    width: 100%;
  }

  .hero-proof-stack h2 {
    font-size: 1.85rem;
  }

  .hero-proof-stack p {
    font-size: 0.96rem;
  }

  .hero-proof-list {
    display: grid;
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   v1.0.8g-mobile-fix-1
   Mobile rendering + cache-busted deployment fix
   Goal:
   - Keep full video hero on desktop
   - Make the hero readable and clean on phones
   - Prevent the right-side panel from crowding mobile
   ========================================================= */

/* Make desktop/video hero stable */
.hero-video-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Make sure the video always fills the hero correctly */
.hero-background-video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Desktop/tablet layout stays two-column unless smaller */
.hero-video-layout {
  position: relative;
  z-index: 1;
}

/* =========================================================
   Tablet and small laptop behavior
   ========================================================= */

@media (max-width: 1100px) {
  .hero-video-hero {
    min-height: auto;
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero-video-layout {
    grid-template-columns: 1fr !important;
    gap: 42px !important;
  }

  .hero-copy-panel {
    max-width: 720px;
  }

  .hero-glass-card,
  .hero-proof-stack {
    justify-self: start;
    width: min(100%, 680px);
  }

  .hero-background-video {
    object-position: 62% center;
  }

  .hero-background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(248, 247, 242, 0.97) 0%,
        rgba(248, 247, 242, 0.9) 48%,
        rgba(17, 24, 39, 0.56) 100%
      ) !important;
  }
}

/* =========================================================
   Phone behavior
   ========================================================= */

@media (max-width: 700px) {
  .hero-video-hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .hero-video-layout {
    display: block !important;
  }

  .hero-copy-panel {
    max-width: 100%;
  }

  .hero-video-hero .eyebrow {
    font-size: 0.72rem;
    line-height: 1.6;
    letter-spacing: 0.13em;
  }

  .hero-video-hero .hero-copy h1 {
    max-width: 100%;
    
    
    
  }

  .hero-video-hero .hero-lede {
    max-width: 100%;
    color: #374151;
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-video-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 28px;
  }

  .hero-video-hero .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-video-hero .trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .hero-video-hero .trust-row span {
    justify-content: center;
    text-align: center;
    padding: 10px 12px;
    font-size: 0.88rem;
    background: rgba(255, 255, 255, 0.86);
  }

  /* On phones, the right-side card crowds the hero.
     Hide it so the video becomes atmosphere and the wording stays clean. */
  .hero-glass-card,
  .hero-proof-stack {
    display: none !important;
  }

  .hero-background-video {
    object-position: 64% center;
    opacity: 0.42;
  }

  .hero-background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(248, 247, 242, 0.98) 0%,
        rgba(248, 247, 242, 0.94) 42%,
        rgba(248, 247, 242, 0.84) 72%,
        rgba(17, 24, 39, 0.34) 100%
      ) !important;
  }

  .home-intro {
    border-top: 1px solid var(--line);
  }
}

/* =========================================================
   Small phones
   ========================================================= */

@media (max-width: 480px) {
  .hero-video-hero {
    padding-top: 42px;
    padding-bottom: 48px;
  }

  

  .hero-video-hero .hero-lede {
    font-size: 0.96rem;
  }

  .hero-video-hero .trust-row {
    grid-template-columns: 1fr;
  }

  .hero-background-video {
    object-position: 68% center;
    opacity: 0.34;
  }

  .hero-background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(248, 247, 242, 0.99) 0%,
        rgba(248, 247, 242, 0.96) 52%,
        rgba(248, 247, 242, 0.88) 76%,
        rgba(17, 24, 39, 0.36) 100%
      ) !important;
  }
}
/* =========================================================
   v1.0.8h - Bring Hero Video More Into Spotlight
   Goal:
   - Make the video/person more visible
   - Keep left-side copy readable
   - Preserve clean professional overlay
   ========================================================= */

.hero-background-video {
  opacity: 1;
  filter: saturate(0.95) contrast(1.08);
}

/* Lighter overlay on the right so the video shows more */
.hero-background-overlay {
  background:
    radial-gradient(circle at 76% 42%, rgba(47, 125, 211, 0.12), transparent 28rem),
    linear-gradient(
      90deg,
      rgba(248, 247, 242, 0.98) 0%,
      rgba(248, 247, 242, 0.92) 32%,
      rgba(248, 247, 242, 0.48) 52%,
      rgba(17, 24, 39, 0.18) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(248, 247, 242, 0.52) 48%,
      rgba(17, 24, 39, 0.24) 100%
    ) !important;
}

/* Keep the right-side text readable without hiding too much video */
.hero-proof-stack,
.hero-glass-card {
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
}

/* Make the right-side floating text feel lighter */
.hero-proof-kicker,
.hero-proof-list span {
  background: rgba(15, 29, 51, 0.32);
  border-color: rgba(255, 255, 255, 0.18);
}

/* Mobile: keep video subtle enough for readability */
@media (max-width: 700px) {
  .hero-background-video {
    opacity: 0.48;
  }

  .hero-background-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(248, 247, 242, 0.98) 0%,
        rgba(248, 247, 242, 0.94) 44%,
        rgba(248, 247, 242, 0.82) 72%,
        rgba(17, 24, 39, 0.26) 100%
      ) !important;
  }
}
/* =========================================================
   v1.0.8i - Lift Left Hero Content + Preserve Readability
   Goal:
   - Bring the left-side content up slightly
   - Keep the main headline readable over the video
   - Preserve the stronger video spotlight
   ========================================================= */

.hero-video-layout {
  align-items: start !important;
}

.hero-copy-panel {
  padding-top: 12px;
}

/* Add a subtle readability wash behind the left copy without making it look boxed */
.hero-video-hero::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 58%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 34% 42%,
      rgba(255, 255, 255, 0.72),
      rgba(255, 255, 255, 0.38) 34%,
      rgba(255, 255, 255, 0) 68%
    );
}

/* Keep the main headline crisp */
.hero-video-hero .hero-copy h1 {
  color: #0f172a;
  text-shadow:
    0 2px 18px rgba(255, 255, 255, 0.72),
    0 1px 0 rgba(255, 255, 255, 0.42);
}

.hero-video-hero .hero-lede {
  color: #334155;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.6);
}

/* Desktop: move the left content up a touch more */
@media (min-width: 901px) {
  .hero-copy-panel {
    transform: translateY(-24px);
  }
}

/* Tablet/mobile: avoid pushing content too high */
@media (max-width: 900px) {
  .hero-copy-panel {
    transform: none;
    padding-top: 0;
  }

  .hero-video-hero::after {
    width: 100%;
    background:
      radial-gradient(
        circle at 36% 28%,
        rgba(255, 255, 255, 0.82),
        rgba(255, 255, 255, 0.5) 42%,
        rgba(255, 255, 255, 0) 78%
      );
  }
}
/* =========================================================
   v1.0.8j - Stronger Left Hero Lift
   Goal:
   - Move the left-side hero copy higher
   - Keep the headline readable
   - Avoid affecting tablet/mobile layout
   ========================================================= */

@media (min-width: 901px) {
  .hero-video-layout {
    align-items: start !important;
  }

  .hero-copy-panel {
    transform: translateY(-56px) !important;
  }

  .hero-proof-stack,
  .hero-glass-card {
    transform: translateY(-28px);
  }
}

/* Slightly reduce vertical hero padding so the whole hero feels tighter */
@media (min-width: 901px) {
  .hero-video-hero {
    padding-top: 72px;
    padding-bottom: 76px;
    min-height: 620px;
  }
}

/* Keep mobile untouched */
@media (max-width: 900px) {
  .hero-copy-panel,
  .hero-proof-stack,
  .hero-glass-card {
    transform: none !important;
  }
}
/* =========================================================
   v1.1.8 - Privacy Mobile Visibility Fix
   Goal:
   - Keep long privacy policy content visible on phones
   - Prevent reveal animation from hiding legal content
   ========================================================= */

.privacy-policy-section {
  overflow: visible;
}

.privacy-policy-content {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: none;
  overflow: visible;
  height: auto;
  max-height: none;
}

.privacy-policy-content * {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 700px) {
  .privacy-policy-section {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .privacy-policy-content {
    padding: 24px;
    border-radius: 22px;
  }

  .privacy-policy-content h2 {
    font-size: 1.25rem;
    line-height: 1.25;
  }

  .privacy-policy-content p,
  .privacy-policy-content li {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .privacy-policy-content ul {
    padding-left: 20px;
  }
}
/* =========================================================
   v1.1.9 - Professional Project Request Acknowledgments
   Goal:
   - Make Privacy / Terms / sensitive-info confirmations cleaner
   - Keep submit button disabled until all required boxes are checked
   ========================================================= */

.form-acknowledgments {
  display: grid;
  gap: 0;
  margin: 24px 0 22px;
  padding: 18px;
  border: 1px solid rgba(23, 39, 67, 0.14);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.92));
  box-shadow: 0 18px 45px rgba(23, 39, 67, 0.08);
}

.acknowledgment-header {
  display: grid;
  gap: 4px;
  padding: 0 0 14px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(23, 39, 67, 0.1);
}

.acknowledgment-header strong {
  color: var(--primary);
  font-size: 0.98rem;
  font-weight: 900;
}

.acknowledgment-header span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.acknowledgment-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  line-height: 1.55;
  cursor: pointer;
}

.acknowledgment-item + .checkbox-error + .acknowledgment-item {
  border-top: 1px solid rgba(23, 39, 67, 0.08);
}

.acknowledgment-item input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

.acknowledgment-item a {
  color: var(--primary);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.acknowledgment-item a:hover,
.acknowledgment-item a:focus {
  color: var(--primary-2);
}

.form-acknowledgments .checkbox-error {
  margin: -6px 0 4px 34px;
}

.request-submit-btn:disabled,
.request-submit-btn[aria-disabled="true"] {
  opacity: 0.46;
  cursor: not-allowed;
  box-shadow: none;
  filter: grayscale(0.2);
}


/* =========================================================
   v1.1.10 - Privacy / Terms Legal Card Fix
   Goal:
   - Make Privacy cards match Terms cards
   - Fix bullet overlap inside legal cards
   - Keep Privacy and Terms spacing consistent
   ========================================================= */

.privacy-policy-section,
.legal-page + .section-pad-sm {
  overflow: visible;
  padding-top: 88px;
  padding-bottom: 88px;
}

.legal-stack {
  display: grid;
  gap: 26px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

.legal-card {
  padding: 34px 36px;
  border: 1px solid rgba(23, 39, 67, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 55px rgba(23, 39, 67, 0.08);
}

.legal-card h2 {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
}

.legal-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

/* Fix bullet alignment inside Privacy / Terms cards */
.legal-card ul {
  list-style: disc;
  list-style-position: outside;
  display: grid;
  gap: 12px;
  margin: 18px 0 18px;
  padding-left: 30px;
}

.legal-card li {
  position: relative;
  padding-left: 8px;
  color: var(--muted);
  line-height: 1.65;
}

/* Use normal browser bullets and remove older custom bullet dots */
.legal-card li::before {
  content: none !important;
  display: none !important;
}

.legal-card li::marker {
  color: var(--accent);
  font-size: 0.85em;
}

/* Make the Privacy content always visible on mobile */
.privacy-policy-content {
  display: grid;
  opacity: 1;
  visibility: visible;
  transform: none;
  overflow: visible;
  height: auto;
  max-height: none;
}

.privacy-policy-content * {
  opacity: 1;
  visibility: visible;
}

/* Mobile polish */
@media (max-width: 700px) {
  .privacy-policy-section,
  .legal-page + .section-pad-sm {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  .legal-stack {
    gap: 18px;
  }

  .legal-card {
    padding: 24px;
    border-radius: 20px;
  }

  .legal-card h2 {
    font-size: 1.12rem;
  }

  .legal-card p,
  .legal-card li {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  .legal-card ul {
    padding-left: 28px;
    gap: 10px;
  }

  .legal-card li {
    padding-left: 6px;
  }
}
/* =========================================================
   v1.1.10 - Legal Contact Actions
   Goal:
   - Make Privacy / Terms contact options clean and professional
   ========================================================= */

.legal-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.legal-contact-actions .btn {
  width: fit-content;
}

@media (max-width: 560px) {
  .legal-contact-actions {
    display: grid;
  }

  .legal-contact-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* =========================================================
   v1.1.10 - Privacy Page Hard Visibility Fix
   Goal:
   - Force the entire Privacy Policy content to load on mobile
   - Override reveal/animation rules that may hide legal content
   ========================================================= */

body.privacy-page .privacy-policy-section,
body.privacy-page .privacy-policy-content,
body.privacy-page .privacy-policy-content .legal-card,
body.privacy-page .privacy-policy-content .legal-card * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  filter: none !important;
  pointer-events: auto !important;
}

body.privacy-page .privacy-policy-section {
  display: block !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding-top: 88px;
  padding-bottom: 88px;
}

body.privacy-page .privacy-policy-content {
  display: grid !important;
  gap: 26px;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

body.privacy-page .privacy-policy-content .legal-card {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 34px 36px;
  border: 1px solid rgba(23, 39, 67, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 55px rgba(23, 39, 67, 0.08);
}

body.privacy-page .privacy-policy-content .legal-card h2 {
  margin: 0 0 16px;
  color: var(--primary);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.25;
}

body.privacy-page .privacy-policy-content .legal-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.75;
}

body.privacy-page .privacy-policy-content .legal-card p:last-child {
  margin-bottom: 0;
}

body.privacy-page .privacy-policy-content .legal-card ul {
  list-style: disc !important;
  list-style-position: outside !important;
  display: grid !important;
  gap: 12px;
  margin: 18px 0;
  padding-left: 30px;
}

body.privacy-page .privacy-policy-content .legal-card li {
  display: list-item !important;
  position: relative;
  padding-left: 8px;
  color: var(--muted);
  line-height: 1.65;
}

body.privacy-page .privacy-policy-content .legal-card li::before {
  content: none !important;
  display: none !important;
}

body.privacy-page .privacy-policy-content .legal-card li::marker {
  color: var(--accent);
  font-size: 0.85em;
}

body.privacy-page .legal-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

body.privacy-page .legal-contact-actions .btn {
  width: fit-content;
}

@media (max-width: 700px) {
  body.privacy-page .privacy-policy-section {
    padding-top: 52px;
    padding-bottom: 58px;
  }

  body.privacy-page .privacy-policy-content {
    gap: 18px;
  }

  body.privacy-page .privacy-policy-content .legal-card {
    padding: 24px;
    border-radius: 20px;
  }

  body.privacy-page .privacy-policy-content .legal-card h2 {
    font-size: 1.12rem;
  }

  body.privacy-page .privacy-policy-content .legal-card p,
  body.privacy-page .privacy-policy-content .legal-card li {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  body.privacy-page .privacy-policy-content .legal-card ul {
    padding-left: 28px;
    gap: 10px;
  }

  body.privacy-page .privacy-policy-content .legal-card li {
    padding-left: 6px;
  }

  body.privacy-page .legal-contact-actions {
    display: grid;
  }

  body.privacy-page .legal-contact-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
/* =========================================================
   v1.1.12 - Summary Card Badge Fix
   Goal:
   - Prevent short labels like Success / Updated from wrapping
   - Keep payment, privacy, and terms summary badges polished
   ========================================================= */

.summary-card .card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 86px;
  max-width: max-content;
  padding: 10px 16px;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1;
  border-radius: 999px;
  text-align: center;
}
/* =========================================================
   v1.1.15 - Pricing Anchor Scroll Offset
   Goal:
   - Let Services page links jump to the exact pricing package
   - Prevent sticky header/build bar from covering the target package
   ========================================================= */

.pricing-flow-item {
  scroll-margin-top: 150px;
}

@media (max-width: 700px) {
  .pricing-flow-item {
    scroll-margin-top: 115px;
  }
}
/* =========================================================
   v1.1.16 - Optional Form Label Helper
   Goal:
   - Style optional labels without changing form structure
   ========================================================= */

.optional-label {
  color: var(--muted);
  font-size: 0.86em;
  font-weight: 700;
}
/* =========================================================
   v1.1.19 - Animated Payment Success Confetti
   Goal:
   - Add a more celebratory success animation
   - Uses brand colors and lightweight CSS/JS only
   - Respects reduced-motion accessibility settings
   ========================================================= */

.success-confetti {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
}

/* Individual falling pieces */
.success-confetti-piece {
  position: absolute;
  top: -24px;
  width: 10px;
  height: 16px;
  opacity: 0.95;
  transform-origin: center;
  animation-name: successConfettiFall;
  animation-timing-function: cubic-bezier(0.16, 0.85, 0.35, 1);
  animation-fill-mode: forwards;
}

/* Shape variations */
.success-confetti-piece.is-circle {
  border-radius: 999px;
}

.success-confetti-piece.is-strip {
  border-radius: 999px;
  height: 22px;
}

.success-confetti-piece.is-square {
  border-radius: 4px;
}

.success-confetti-piece.is-triangle {
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 14px solid var(--confetti-color);
}

/* Falling animation with side drift and spin */
@keyframes successConfettiFall {
  0% {
    transform:
      translate3d(0, -30px, 0)
      rotate(0deg)
      scale(0.9);
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  45% {
    transform:
      translate3d(calc(var(--confetti-drift) * 0.45), 45vh, 0)
      rotate(var(--confetti-spin-half))
      scale(1);
  }

  80% {
    opacity: 1;
  }

  100% {
    transform:
      translate3d(var(--confetti-drift), 112vh, 0)
      rotate(var(--confetti-spin))
      scale(0.88);
    opacity: 0;
  }
}

/* Soft success glow near the top confirmation card */
.success-celebration-glow {
  position: fixed;
  left: 50%;
  top: 170px;
  z-index: 1;
  width: min(520px, 80vw);
  height: min(520px, 80vw);
  border-radius: 999px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(247, 201, 72, 0.18), rgba(255, 248, 239, 0) 68%);
  transform: translate(-50%, -50%) scale(0.65);
  opacity: 0;
  animation: successGlowPulse 2200ms ease-out forwards;
}

@keyframes successGlowPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45);
  }

  35% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.25);
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .success-confetti,
  .success-celebration-glow {
    display: none;
  }

  .success-confetti-piece {
    animation: none;
  }
}

/* =========================================================
   v1.3.63 Portfolio + Case Study Buildout
   Scoped to public portfolio pages to avoid site-wide regressions.
========================================================= */

/* Portfolio and case-study pages inherit the authoritative site-wide font stack. */


.portfolio-v2-page button,
.portfolio-v2-page input,
.portfolio-v2-page select,
.portfolio-v2-page textarea,
.case-study-page button,
.case-study-page input,
.case-study-page select,
.case-study-page textarea {
  font: inherit;
}

.portfolio-v2-page main,
.case-study-page main {
  overflow: clip;
}

.portfolio-v2-page .portfolio-v2-hero,
.case-study-page .case-study-hero {
  position: relative;
  background:
    radial-gradient(circle at 82% 12%, rgba(47, 125, 211, 0.16), transparent 26rem),
    radial-gradient(circle at 8% 92%, rgba(232, 214, 168, 0.22), transparent 24rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 247, 242, 0.96));
  border-bottom: 1px solid var(--line);
}

.portfolio-v2-page .portfolio-v2-hero::after,
.case-study-page .case-study-hero::after {
  content: "";
  position: absolute;
  inset: auto -12% -120px 48%;
  height: 240px;
  border-radius: 50%;
  background: rgba(47, 125, 211, 0.05);
  filter: blur(2px);
  pointer-events: none;
}

.portfolio-v2-hero-grid,
.case-study-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
}

.portfolio-v2-hero-copy h1,
.case-study-hero-copy h1 {
  max-width: 740px;
  
  
  
  
  
}

.portfolio-v2-lead,
.case-study-intro {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

.portfolio-v2-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.portfolio-v2-overview {
  padding: 28px;
  border: 1px solid rgba(223, 228, 234, 0.95);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 243, 248, 0.92));
  box-shadow:
    0 26px 64px rgba(17, 24, 39, 0.11),
    0 0 34px rgba(47, 125, 211, 0.08);
}

.portfolio-v2-overview-label {
  margin-bottom: 16px;
  color: var(--primary-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portfolio-v2-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.portfolio-v2-overview-grid div {
  min-height: 118px;
  padding: 20px;
  border: 1px solid rgba(223, 228, 234, 0.95);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
}

.portfolio-v2-overview-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-size: clamp(1.5rem, 2.7vw, 2.25rem);
  letter-spacing: -0.045em;
}

.portfolio-v2-overview-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.portfolio-v2-work {
  background: #ffffff;
}

.portfolio-v2-section-heading,
.case-study-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.68fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 34px;
}



.portfolio-v2-section-heading > p {
  max-width: 620px;
  justify-self: end;
  padding-bottom: 6px;
}

.portfolio-v2-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    linear-gradient(145deg, #ffffff 0%, rgba(238, 243, 248, 0.68) 100%);
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.09);
}

.portfolio-v2-featured-copy h3 {
  margin-top: 12px;
  
}

.portfolio-v2-featured-copy > p {
  margin-top: 20px;
  line-height: 1.75;
}

.portfolio-v2-kicker {
  display: inline-flex;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.portfolio-v2-outcomes {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
}

.portfolio-v2-outcomes div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.portfolio-v2-outcomes strong {
  color: var(--primary);
  font-size: 0.87rem;
}

.portfolio-v2-outcomes span {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.55;
}

.portfolio-v2-featured-copy .btn {
  margin-top: 26px;
}

.portfolio-v2-secondary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 26px;
}

.portfolio-v2-project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 20px 52px rgba(17, 24, 39, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.portfolio-v2-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 125, 211, 0.28);
  box-shadow:
    0 28px 66px rgba(17, 24, 39, 0.11),
    0 0 30px rgba(47, 125, 211, 0.08);
}

.portfolio-v2-project-visual {
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(238, 243, 248, 0.74), rgba(248, 247, 242, 0.72));
  border-bottom: 1px solid var(--line);
}

.portfolio-v2-project-copy {
  padding: 28px;
}

.portfolio-v2-project-copy h3 {
  margin-top: 10px;
  
}

.portfolio-v2-project-copy > p {
  margin-top: 16px;
  line-height: 1.7;
}

.portfolio-v2-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  color: var(--primary-2);
  font-weight: 800;
}

.portfolio-v2-text-link span {
  transition: transform 180ms ease;
}

.portfolio-v2-text-link:hover span,
.portfolio-v2-text-link:focus-visible span {
  transform: translateX(4px);
}

.portfolio-v2-capabilities {
  background:
    linear-gradient(180deg, rgba(238, 243, 248, 0.72), rgba(248, 247, 242, 0.66));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portfolio-v2-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.portfolio-v2-capability-grid article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 36px rgba(17, 24, 39, 0.05);
}

.portfolio-v2-capability-grid article > span,
.case-study-capability > span,
.case-study-story-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--primary-2);
  font-size: 0.78rem;
  font-weight: 900;
}

.portfolio-v2-capability-grid h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
}

.portfolio-v2-capability-grid p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Decorative browser previews */
.portfolio-browser {
  overflow: hidden;
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.13);
  border-radius: 22px;
  background: #ffffff;
  box-shadow:
    0 24px 58px rgba(17, 24, 39, 0.16),
    0 0 36px rgba(47, 125, 211, 0.08);
}

.portfolio-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 10px 14px;
  background: #eef3f8;
  border-bottom: 1px solid rgba(223, 228, 234, 0.95);
}

.portfolio-browser-bar > span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #9aa6b2;
}

.portfolio-browser-bar > span:nth-child(1) {
  background: #d97777;
}

.portfolio-browser-bar > span:nth-child(2) {
  background: #d9af63;
}

.portfolio-browser-bar > span:nth-child(3) {
  background: #72a981;
}

.portfolio-browser-bar i {
  flex: 1;
  overflow: hidden;
  margin-left: 6px;
  padding: 5px 10px;
  border: 1px solid rgba(223, 228, 234, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #77808c;
  font-size: 0.68rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portfolio-browser-screen {
  min-height: 360px;
}

/* ReNu preview */
.portfolio-browser-renu .portfolio-browser-screen {
  padding: 18px;
  background:
    radial-gradient(circle at 72% 18%, rgba(168, 223, 211, 0.38), transparent 13rem),
    linear-gradient(145deg, #f7fffd, #e9f7f4);
}

.renu-preview-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
}

.renu-preview-nav b {
  margin-right: auto;
  color: #315f59;
  font-size: 0.82rem;
}

.renu-preview-nav span {
  color: #66807c;
  font-size: 0.58rem;
}

.renu-preview-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: center;
  padding: 34px 14px 26px;
}

.renu-preview-hero > div:first-child {
  display: grid;
  gap: 9px;
}

.renu-preview-hero small {
  color: #4f827a;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.renu-preview-hero strong {
  max-width: 250px;
  color: #24413d;
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.renu-preview-hero > div:first-child > span {
  color: #66807c;
  font-size: 0.65rem;
}

.renu-preview-hero em {
  width: fit-content;
  margin-top: 4px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #315f59;
  color: #ffffff;
  font-size: 0.58rem;
  font-style: normal;
  font-weight: 800;
}

.renu-preview-profile {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 20px 12px;
  border: 1px solid rgba(86, 151, 140, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 34px rgba(49, 95, 89, 0.12);
}

.renu-preview-profile > span {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b9ddd6, #eef9f7);
  color: #315f59;
  font-weight: 900;
}

.renu-preview-profile b {
  color: #315f59;
  font-size: 0.72rem;
}

.renu-preview-profile small {
  color: #66807c;
  font-size: 0.5rem;
}

.renu-preview-insurance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.renu-preview-insurance span {
  padding: 9px 5px;
  border: 1px solid rgba(86, 151, 140, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #66807c;
  font-size: 0.52rem;
  font-weight: 800;
  text-align: center;
}

/* Highwayads preview */
.dashboard-preview {
  display: grid;
  grid-template-columns: 58px 1fr;
  background: #f4f7fb;
}

.dashboard-preview-sidebar {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
  padding: 18px 10px;
  background: #172743;
}

.dashboard-preview-sidebar b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #ffffff;
  color: #172743;
  font-size: 0.68rem;
}

.dashboard-preview-sidebar span {
  width: 24px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.24);
}

.dashboard-preview-sidebar span.is-active {
  background: #73aef0;
}

.dashboard-preview-main {
  padding: 22px;
}

.dashboard-preview-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-preview-heading div {
  display: grid;
  gap: 3px;
}

.dashboard-preview-heading small {
  color: #7a8491;
  font-size: 0.54rem;
}

.dashboard-preview-heading strong {
  color: #172743;
  font-size: 1rem;
}

.dashboard-preview-heading em {
  padding: 7px 10px;
  border-radius: 8px;
  background: #2f7dd3;
  color: #ffffff;
  font-size: 0.55rem;
  font-style: normal;
  font-weight: 800;
}

.dashboard-preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 18px;
}

.dashboard-preview-metrics div {
  padding: 12px;
  border: 1px solid #e1e7ee;
  border-radius: 12px;
  background: #ffffff;
}

.dashboard-preview-metrics small {
  display: block;
  color: #7a8491;
  font-size: 0.5rem;
}

.dashboard-preview-metrics strong {
  color: #172743;
  font-size: 1.15rem;
}

.dashboard-preview-grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: 10px;
  margin-top: 12px;
}

.dashboard-preview-chart,
.dashboard-preview-list {
  min-height: 155px;
  padding: 14px;
  border: 1px solid #e1e7ee;
  border-radius: 12px;
  background: #ffffff;
}

.dashboard-preview-chart {
  display: flex;
  align-items: end;
  gap: 9px;
}

.dashboard-preview-chart span {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, #73aef0, #2f7dd3);
}

.dashboard-preview-chart span:nth-child(1) { height: 36%; }
.dashboard-preview-chart span:nth-child(2) { height: 58%; }
.dashboard-preview-chart span:nth-child(3) { height: 45%; }
.dashboard-preview-chart span:nth-child(4) { height: 78%; }
.dashboard-preview-chart span:nth-child(5) { height: 66%; }

.dashboard-preview-list {
  display: grid;
  align-content: start;
  gap: 13px;
}

.dashboard-preview-list span {
  height: 18px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, #d8e4f2 0 28%, #eef2f7 28% 100%);
}

/* PHP preview */
.portfolio-browser-php .portfolio-browser-screen {
  background: #f7f9fc;
}

.php-preview {
  padding: 20px;
}

.php-preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.php-preview-toolbar b {
  color: #172743;
  font-size: 0.86rem;
}

.php-preview-toolbar em {
  padding: 7px 10px;
  border-radius: 8px;
  background: #172743;
  color: #ffffff;
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 800;
}

.php-preview-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 12px;
  margin-top: 18px;
}

.php-preview-form,
.php-preview-table {
  border: 1px solid #e0e6ee;
  border-radius: 12px;
  background: #ffffff;
}

.php-preview-form {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.php-preview-form small {
  color: #596575;
  font-size: 0.56rem;
  font-weight: 800;
}

.php-preview-form span {
  height: 20px;
  border: 1px solid #e0e6ee;
  border-radius: 6px;
  background: #f7f9fc;
}

.php-preview-form span.wide {
  height: 48px;
}

.php-preview-form i {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 7px;
  background: #2f7dd3;
  color: #ffffff;
  font-size: 0.5rem;
  font-style: normal;
  font-weight: 800;
}

.php-preview-table {
  overflow: hidden;
}

.php-preview-table div {
  display: grid;
  grid-template-columns: 0.55fr 1fr 0.75fr;
  gap: 6px;
  padding: 11px 12px;
  border-bottom: 1px solid #edf0f4;
  font-size: 0.5rem;
}

.php-preview-table div:first-child {
  background: #eef3f8;
  color: #455163;
}

.php-preview-table div:last-child {
  border-bottom: 0;
}

.php-preview-table span {
  color: #657181;
}

.php-preview-table em {
  width: fit-content;
  padding: 3px 6px;
  border-radius: 99px;
  background: #e8f2ff;
  color: #1f5fa8;
  font-style: normal;
  font-weight: 800;
}

.php-preview-security {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.php-preview-security span {
  padding: 7px 9px;
  border: 1px solid #dfe4ea;
  border-radius: 999px;
  background: #ffffff;
  color: #596575;
  font-size: 0.5rem;
  font-weight: 800;
}

/* Case study pages */
.case-study-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 0.86rem;
}

.case-study-breadcrumb a {
  color: var(--primary-2);
  font-weight: 800;
}

.case-study-hero-visual .portfolio-browser {
  transform: perspective(1200px) rotateY(-2.5deg) rotateX(1.5deg);
}

.case-study-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

.case-study-meta div {
  min-width: 0;
  padding: 22px;
  border-right: 1px solid var(--line);
}

.case-study-meta div:last-child {
  border-right: 0;
}

.case-study-meta span,
.case-study-navigation a > span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-study-meta strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
}

.case-study-story {
  background: #ffffff;
}

.case-study-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-study-story-card,
.case-study-capability {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.06);
}

.case-study-story-card h3,
.case-study-capability h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.case-study-story-card p,
.case-study-capability p {
  font-size: 0.96rem;
  line-height: 1.7;
}

.case-study-capabilities-section {
  background:
    linear-gradient(180deg, rgba(238, 243, 248, 0.72), rgba(248, 247, 242, 0.72));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-study-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.case-study-capability {
  box-shadow: none;
}

.case-study-technical {
  background: #ffffff;
}

.case-study-technical-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.9fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: start;
}

.case-study-technical h2 {
  max-width: 600px;
  
}

.case-study-technical-copy {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 248, 0.7));
  box-shadow: 0 20px 50px rgba(17, 24, 39, 0.07);
}

.case-study-technical-copy p + p {
  margin-top: 18px;
}

.case-study-navigation {
  padding: 30px 0;
  background: #111827;
}

.case-study-navigation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.case-study-navigation a {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.case-study-navigation a:last-child {
  text-align: right;
}

.case-study-navigation a:hover,
.case-study-navigation a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(115, 174, 240, 0.52);
  background: rgba(47, 125, 211, 0.12);
}

.case-study-navigation a > span {
  color: rgba(255, 255, 255, 0.62);
}

.case-study-navigation strong {
  color: #ffffff;
  font-size: 1.05rem;
}

@media (max-width: 1050px) {
  .portfolio-v2-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .portfolio-v2-hero-grid,
  .case-study-hero-grid,
  .portfolio-v2-featured-card,
  .portfolio-v2-section-heading,
  .case-study-section-heading,
  .case-study-technical-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-v2-section-heading > p {
    justify-self: start;
  }

  .portfolio-v2-secondary-grid,
  .case-study-story-grid {
    grid-template-columns: 1fr;
  }

  .case-study-meta {
    grid-template-columns: 1fr 1fr;
  }

  .case-study-meta div:nth-child(2) {
    border-right: 0;
  }

  .case-study-meta div:nth-child(-n/**/+2) {
    border-bottom: 1px solid var(--line);
  }

  .case-study-hero-visual .portfolio-browser {
    transform: none;
  }
}

@media (max-width: 700px) {
  .portfolio-v2-hero-actions {
    align-items: stretch;
  }

  .portfolio-v2-hero-actions .btn {
    width: 100%;
  }

  .portfolio-v2-overview {
    padding: 18px;
  }

  .portfolio-v2-overview-grid,
  .portfolio-v2-capability-grid,
  .case-study-capability-grid,
  .case-study-meta,
  .case-study-navigation-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-v2-overview-grid div {
    min-height: auto;
  }

  .portfolio-v2-featured-card {
    padding: 20px;
    border-radius: 24px;
  }

  .portfolio-v2-project-visual,
  .portfolio-v2-project-copy {
    padding: 18px;
  }

  .portfolio-v2-outcomes div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .portfolio-browser-screen {
    min-height: 300px;
  }

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

  .renu-preview-profile {
    display: none;
  }

  .renu-preview-insurance {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-preview {
    grid-template-columns: 44px 1fr;
  }

  .dashboard-preview-main {
    padding: 14px;
  }

  .dashboard-preview-metrics {
    grid-template-columns: 1fr;
  }

  .dashboard-preview-grid,
  .php-preview-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-preview-grid {
    display: none;
  }

  .php-preview-table div {
    grid-template-columns: 0.5fr 1fr 0.75fr;
  }

  .case-study-meta {
    margin-top: 36px;
  }

  .case-study-meta div,
  .case-study-meta div:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .case-study-meta div:last-child {
    border-bottom: 0;
  }

  .case-study-navigation a:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-v2-project-card:hover,
  .case-study-navigation a:hover,
  .case-study-navigation a:focus-visible,
  .portfolio-v2-text-link:hover span,
  .portfolio-v2-text-link:focus-visible span {
    transform: none;
  }
}

/* =========================================================
   v1.3.66 - Portfolio Project Showcase
   Goal:
   - Create stronger visual separation between projects
   - Give each project its own visual identity
   - Preserve the approved site-wide font stack and navigation
   ========================================================= */

.portfolio-v3-page main {
  overflow: clip;
}

.portfolio-v3-hero {
  position: relative;
  padding-bottom: 56px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 15%, rgba(47, 125, 211, 0.19), transparent 27rem),
    radial-gradient(circle at 8% 92%, rgba(232, 214, 168, 0.26), transparent 25rem),
    linear-gradient(180deg, #ffffff 0%, #f8f7f2 100%);
  border-bottom: 1px solid var(--line);
}

.portfolio-v3-hero::before,
.portfolio-v3-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.portfolio-v3-hero::before {
  width: 460px;
  height: 460px;
  right: -210px;
  top: -150px;
  border: 1px solid rgba(47, 125, 211, 0.15);
  border-radius: 50%;
  box-shadow:
    0 0 0 64px rgba(47, 125, 211, 0.035),
    0 0 0 128px rgba(47, 125, 211, 0.025);
}

.portfolio-v3-hero::after {
  inset: auto -4% -105px 38%;
  height: 210px;
  border-radius: 50%;
  background: rgba(47, 125, 211, 0.055);
  transform: rotate(-4deg);
}

.portfolio-v3-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.72fr);
  gap: clamp(44px, 7vw, 90px);
  align-items: center;
}

.portfolio-v3-hero-copy h1 {
  max-width: 770px;
  
  
  
}

.portfolio-v3-lead {
  max-width: 730px;
  margin-top: 24px;
  font-size: clamp(1.04rem, 1.55vw, 1.2rem);
  line-height: 1.75;
}

.portfolio-v3-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.portfolio-v3-hero-panel {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(223, 228, 234, 0.95);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 243, 248, 0.92));
  box-shadow:
    0 30px 72px rgba(17, 24, 39, 0.12),
    0 0 42px rgba(47, 125, 211, 0.09);
}

.portfolio-v3-hero-panel::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  bottom: -100px;
  border-radius: 50%;
  background: rgba(47, 125, 211, 0.13);
  filter: blur(2px);
}

.portfolio-v3-panel-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-2);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-v3-hero-panel > strong {
  display: block;
  max-width: 420px;
  color: var(--primary);
  font-size: clamp(1.7rem, 2.8vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.portfolio-v3-hero-panel > p {
  margin-top: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.portfolio-v3-panel-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}

.portfolio-v3-panel-metrics div {
  padding: 17px;
  border: 1px solid rgba(223, 228, 234, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.portfolio-v3-panel-metrics b,
.portfolio-v3-panel-metrics span {
  display: block;
}

.portfolio-v3-panel-metrics b {
  margin-bottom: 3px;
  color: var(--primary);
  font-size: 1.55rem;
  letter-spacing: -0.04em;
}

.portfolio-v3-panel-metrics span {
  color: var(--muted);
  font-size: 0.82rem;
}

.portfolio-v3-project-nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 72px;
}

.portfolio-v3-project-nav a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: center;
  min-height: 104px;
  padding: 20px 22px;
  border: 1px solid rgba(223, 228, 234, 0.96);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(17, 24, 39, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.portfolio-v3-project-nav a:hover,
.portfolio-v3-project-nav a:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(47, 125, 211, 0.38);
  box-shadow:
    0 24px 48px rgba(17, 24, 39, 0.1),
    0 0 28px rgba(47, 125, 211, 0.09);
}

.portfolio-v3-project-nav span {
  grid-row: 1 / 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--primary-2);
  font-size: 0.8rem;
  font-weight: 900;
}

.portfolio-v3-project-nav strong {
  color: var(--primary);
  font-size: 1rem;
}

.portfolio-v3-project-nav small {
  color: var(--muted);
  font-size: 0.8rem;
}

.portfolio-v3-project {
  position: relative;
  isolation: isolate;
  padding: clamp(82px, 9vw, 126px) 0;
  overflow: hidden;
  scroll-margin-top: 126px;
  border-top: 1px solid var(--line);
}

.portfolio-v3-project::before,
.portfolio-v3-project::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.portfolio-v3-project::before {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(0.5px);
}

.portfolio-v3-project::after {
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(47, 125, 211, 0.4), transparent);
}

.portfolio-v3-project--renu {
  background:
    radial-gradient(circle at 12% 18%, rgba(232, 214, 168, 0.18), transparent 27rem),
    linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
}

.portfolio-v3-project--renu::before {
  top: -230px;
  right: -190px;
  background: rgba(47, 125, 211, 0.07);
  box-shadow: 0 0 0 80px rgba(47, 125, 211, 0.025);
}

.portfolio-v3-project--highwayads {
  background:
    radial-gradient(circle at 86% 24%, rgba(47, 125, 211, 0.23), transparent 30rem),
    radial-gradient(circle at 8% 82%, rgba(232, 214, 168, 0.08), transparent 24rem),
    linear-gradient(145deg, #0d1729 0%, #172743 52%, #101c31 100%);
}

.portfolio-v3-project--highwayads::before {
  left: -250px;
  bottom: -280px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
}

.portfolio-v3-project--php {
  background:
    linear-gradient(rgba(47, 125, 211, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 125, 211, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 10% 78%, rgba(232, 214, 168, 0.2), transparent 27rem),
    linear-gradient(180deg, #eef3f8 0%, #f8f7f2 100%);
  background-size: 42px 42px, 42px 42px, auto, auto;
}

.portfolio-v3-project--php::before {
  right: -230px;
  top: -230px;
  background: rgba(47, 125, 211, 0.08);
  box-shadow: 0 0 0 76px rgba(47, 125, 211, 0.025);
}

.portfolio-v3-project-number {
  position: absolute;
  top: clamp(38px, 6vw, 82px);
  right: max(24px, calc((100vw - var(--container)) / 2));
  z-index: -1;
  color: rgba(30, 58, 95, 0.055);
  font-size: clamp(7rem, 18vw, 16rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.09em;
  user-select: none;
}

.portfolio-v3-project--dark .portfolio-v3-project-number {
  color: rgba(255, 255, 255, 0.055);
}

.portfolio-v3-project-heading {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: 44px;
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 70px);
}



.portfolio-v3-project-heading > p {
  max-width: 600px;
  justify-self: end;
  padding-bottom: 7px;
  line-height: 1.75;
}

.portfolio-v3-project--dark .portfolio-v3-project-heading h2,
.portfolio-v3-project--dark .portfolio-v3-project-heading > p,
.portfolio-v3-project--dark .portfolio-v3-project-copy h3,
.portfolio-v3-project--dark .portfolio-v3-project-copy > p {
  color: #ffffff;
}

.portfolio-v3-project--dark .eyebrow {
  color: #8bc0f6;
}

.portfolio-v3-project--dark .portfolio-v3-project-heading > p,
.portfolio-v3-project--dark .portfolio-v3-project-copy > p {
  color: rgba(255, 255, 255, 0.72);
}

.portfolio-v3-project-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}

.portfolio-v3-project-layout--reverse .portfolio-v3-visual-shell {
  order: 2;
}

.portfolio-v3-project-layout--reverse .portfolio-v3-project-copy {
  order: 1;
}

.portfolio-v3-visual-shell {
  position: relative;
  padding: clamp(20px, 3vw, 34px);
  border-radius: 34px;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease;
}

.portfolio-v3-visual-shell::before {
  content: "";
  position: absolute;
  inset: 10% 6% -8% 10%;
  z-index: -1;
  border-radius: 36px;
  filter: blur(34px);
  opacity: 0.55;
}

.portfolio-v3-visual-shell--renu {
  background: linear-gradient(145deg, #e9f5f4, #f7fbfb 58%, #fff7ea);
  border: 1px solid rgba(57, 132, 130, 0.17);
  box-shadow: 0 34px 84px rgba(17, 24, 39, 0.14);
}

.portfolio-v3-visual-shell--renu::before {
  background: rgba(57, 132, 130, 0.28);
}

.portfolio-v3-visual-shell--highwayads {
  background: linear-gradient(145deg, rgba(62, 113, 176, 0.34), rgba(12, 25, 45, 0.72));
  border: 1px solid rgba(139, 192, 246, 0.24);
  box-shadow: 0 38px 92px rgba(0, 0, 0, 0.38);
}

.portfolio-v3-visual-shell--highwayads::before {
  background: rgba(47, 125, 211, 0.52);
}

.portfolio-v3-visual-shell--php {
  background: linear-gradient(145deg, #ffffff, #e8f2ff 58%, #f6eedc);
  border: 1px solid rgba(47, 125, 211, 0.19);
  box-shadow: 0 34px 84px rgba(17, 24, 39, 0.15);
}

.portfolio-v3-visual-shell--php::before {
  background: rgba(47, 125, 211, 0.3);
}

.portfolio-v3-visual-label,
.portfolio-v3-visual-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.portfolio-v3-visual-label {
  margin-bottom: 18px;
}

.portfolio-v3-visual-label span {
  color: var(--accent-2);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portfolio-v3-visual-label strong {
  color: var(--primary);
  font-size: 0.9rem;
}

.portfolio-v3-visual-shell--highwayads .portfolio-v3-visual-label span {
  color: #8bc0f6;
}

.portfolio-v3-visual-shell--highwayads .portfolio-v3-visual-label strong {
  color: #ffffff;
}

.portfolio-v3-visual-caption {
  justify-content: flex-start;
  margin-top: 17px;
}

.portfolio-v3-visual-caption span {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(17, 24, 39, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--primary-2);
  font-size: 0.76rem;
  font-weight: 750;
}

.portfolio-v3-visual-shell--highwayads .portfolio-v3-visual-caption span {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
}

.portfolio-v3-project-copy {
  position: relative;
}

.portfolio-v3-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(47, 125, 211, 0.18);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary-2);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.portfolio-v3-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(47, 125, 211, 0.1);
}

.portfolio-v3-project--dark .portfolio-v3-status {
  border-color: rgba(139, 192, 246, 0.28);
  background: rgba(47, 125, 211, 0.16);
  color: #cfe6ff;
}

.portfolio-v3-project-copy h3 {
  margin-top: 18px;
  
  
}

.portfolio-v3-project-copy > p {
  margin-top: 20px;
  line-height: 1.78;
}

.portfolio-v3-story-grid {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.portfolio-v3-story-grid article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.portfolio-v3-story-grid span {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 850;
}

.portfolio-v3-story-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.58;
}

.portfolio-v3-project--dark .portfolio-v3-story-grid article {
  border-color: rgba(255, 255, 255, 0.14);
}

.portfolio-v3-project--dark .portfolio-v3-story-grid span {
  color: #ffffff;
}

.portfolio-v3-project--dark .portfolio-v3-story-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.portfolio-v3-project-copy .portfolio-tags {
  margin-top: 23px;
}

.portfolio-v3-project--dark .portfolio-tags span {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 255, 255, 0.82);
}

.portfolio-v3-project-copy > .btn {
  margin-top: 28px;
}

.portfolio-v3-light-button {
  border-color: rgba(255, 255, 255, 0.28);
  background: #ffffff;
  color: #172743;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(139, 192, 246, 0.12);
}

.portfolio-v3-light-button:hover,
.portfolio-v3-light-button:focus-visible {
  background: #e8f2ff;
  color: #172743;
}

.portfolio-v3-capabilities {
  position: relative;
  background:
    radial-gradient(circle at 80% 20%, rgba(47, 125, 211, 0.11), transparent 26rem),
    linear-gradient(180deg, #ffffff, #f8f7f2);
  border-top: 1px solid var(--line);
}

.portfolio-v3-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 40px;
}

.portfolio-v3-capability-grid article {
  position: relative;
  min-height: 245px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 45px rgba(17, 24, 39, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.portfolio-v3-capability-grid article::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  right: -54px;
  bottom: -58px;
  border-radius: 50%;
  background: rgba(47, 125, 211, 0.08);
}

.portfolio-v3-capability-grid article:hover {
  transform: translateY(-5px);
  border-color: rgba(47, 125, 211, 0.3);
  box-shadow:
    0 28px 58px rgba(17, 24, 39, 0.1),
    0 0 28px rgba(47, 125, 211, 0.07);
}

.portfolio-v3-capability-grid article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--primary-2);
  font-size: 0.79rem;
  font-weight: 900;
}

.portfolio-v3-capability-grid h3 {
  margin-bottom: 12px;
  font-size: 1.24rem;
}

.portfolio-v3-capability-grid p {
  font-size: 0.94rem;
  line-height: 1.68;
}

@media (hover: hover) and (pointer: fine) {
  .portfolio-v3-visual-shell:hover {
    transform: translateY(-8px) rotate(-0.35deg);
  }

  .portfolio-v3-project-layout--reverse .portfolio-v3-visual-shell:hover {
    transform: translateY(-8px) rotate(0.35deg);
  }
}

@media (max-width: 1050px) {
  .portfolio-v3-capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .portfolio-v3-hero-grid,
  .portfolio-v3-project-heading,
  .portfolio-v3-project-layout {
    grid-template-columns: 1fr;
  }

  .portfolio-v3-project-heading > p {
    justify-self: start;
  }

  .portfolio-v3-project-layout--reverse .portfolio-v3-visual-shell,
  .portfolio-v3-project-layout--reverse .portfolio-v3-project-copy {
    order: initial;
  }

  .portfolio-v3-project-layout--reverse .portfolio-v3-project-copy {
    order: 2;
  }

  .portfolio-v3-project-nav {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .portfolio-v3-project-nav a {
    min-height: 86px;
  }

  .portfolio-v3-project-number {
    right: 22px;
  }
}

@media (max-width: 700px) {
  .portfolio-v3-hero {
    padding-bottom: 42px;
  }

  .portfolio-v3-hero-actions {
    display: grid;
  }

  .portfolio-v3-hero-actions .btn {
    width: 100%;
  }

  .portfolio-v3-hero-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .portfolio-v3-panel-metrics,
  .portfolio-v3-capability-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-v3-project {
    padding: 70px 0;
    scroll-margin-top: 100px;
  }

  .portfolio-v3-project-heading {
    gap: 18px;
    margin-bottom: 34px;
  }

  .portfolio-v3-project-number {
    top: 30px;
    font-size: 7rem;
  }

  .portfolio-v3-visual-shell {
    padding: 16px;
    border-radius: 25px;
  }

  .portfolio-v3-visual-label {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-v3-story-grid article {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .portfolio-v3-project-copy > .btn {
    width: 100%;
  }

  .portfolio-v3-capability-grid article {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-v3-project-nav a,
  .portfolio-v3-visual-shell,
  .portfolio-v3-capability-grid article {
    transition: none;
  }

  .portfolio-v3-project-nav a:hover,
  .portfolio-v3-visual-shell:hover,
  .portfolio-v3-capability-grid article:hover {
    transform: none;
  }
}

/* =========================================================
   v1.3.67 About Page Modernization
   Scoped to .about-v2-page to protect the rest of the site.
========================================================= */

.about-v2-page {
  background:
    radial-gradient(circle at 10% 8%, rgba(47, 125, 211, 0.12), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f8f7f2 48%, #ffffff 100%);
}

.about-v2-page .about-v2-hero {
  position: relative;
  overflow: hidden;
  padding-top: 82px;
  padding-bottom: 86px;
}

.about-v2-page .about-v2-hero::before,
.about-v2-page .about-v2-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(4px);
}

.about-v2-page .about-v2-hero::before {
  width: 420px;
  height: 420px;
  top: -210px;
  right: -120px;
  background: rgba(47, 125, 211, 0.11);
}

.about-v2-page .about-v2-hero::after {
  width: 250px;
  height: 250px;
  left: -150px;
  bottom: -140px;
  background: rgba(232, 214, 168, 0.28);
}

.about-v2-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 72px;
  align-items: center;
}

.about-v2-hero-copy h1 {
  max-width: 820px;
  
  
}

.about-v2-lead {
  max-width: 730px;
  margin-top: 26px;
  font-size: clamp(1.08rem, 1.35vw, 1.22rem);
  line-height: 1.75;
}

.about-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.about-v2-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.about-v2-trust-row span,
.about-v2-system-tags span,
.about-v2-sector-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--primary-2);
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.01em;
}

.about-v2-hero-visual {
  position: relative;
}

.about-v2-hero-visual::before {
  content: "";
  position: absolute;
  inset: 8% -5% -8% 8%;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(47, 125, 211, 0.18), rgba(232, 214, 168, 0.24));
  filter: blur(34px);
  opacity: 0.8;
}

.about-v2-system-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  background:
    radial-gradient(circle at 85% 12%, rgba(47, 125, 211, 0.36), transparent 17rem),
    linear-gradient(145deg, #111827 0%, #172743 54%, #1e3a5f 100%);
  color: #ffffff;
  box-shadow:
    0 30px 80px rgba(17, 24, 39, 0.28),
    0 0 42px rgba(47, 125, 211, 0.13);
}

.about-v2-system-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -105px;
  bottom: -115px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
}

.about-v2-system-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.about-v2-monogram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.03em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.about-v2-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.about-v2-live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9fdbb7;
  box-shadow: 0 0 0 6px rgba(159, 219, 183, 0.12);
}

.about-v2-system-copy {
  margin-top: 40px;
}

.about-v2-system-copy .eyebrow {
  color: #e8d6a8;
}

.about-v2-system-copy h2 {
  max-width: 520px;
  color: #ffffff;
  
  
}

.about-v2-system-flow {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.about-v2-system-flow article {
  display: grid;
  grid-template-columns: 42px minmax(0, 0.58fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.about-v2-system-flow article > span {
  color: #8bc0f6;
  font-size: 0.76rem;
  font-weight: 900;
}

.about-v2-system-flow strong {
  color: #ffffff;
  font-size: 0.92rem;
}

.about-v2-system-flow small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.78rem;
}

.about-v2-system-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.about-v2-system-tags span {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
}

.about-v2-story {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(248, 247, 242, 0.92));
}

.about-v2-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  gap: 62px;
  align-items: center;
}

.about-v2-story-copy h2,
.about-v2-capabilities-copy h2,
.about-v2-who-card h2 {
  max-width: 780px;
}

.about-v2-story-copy > p:not(.eyebrow),
.about-v2-capabilities-copy > p:not(.eyebrow) {
  margin-top: 20px;
  line-height: 1.75;
}

.about-v2-owner-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.about-v2-owner-row article {
  display: flex;
  gap: 13px;
  align-items: center;
  min-height: 82px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.05);
}

.about-v2-owner-row article > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, #111827, #1e3a5f);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
}

.about-v2-owner-row strong,
.about-v2-owner-row small {
  display: block;
}

.about-v2-owner-row strong {
  color: var(--text);
  font-size: 0.95rem;
}

.about-v2-owner-row small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.about-v2-story-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(47, 125, 211, 0.1), transparent 18rem),
    #ffffff;
  box-shadow: 0 24px 64px rgba(17, 24, 39, 0.09);
}

.about-v2-story-steps {
  display: grid;
  gap: 6px;
  margin-top: 16px;
}

.about-v2-story-steps article {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 19px 0;
  border-top: 1px solid var(--line);
}

.about-v2-story-steps article:first-child {
  border-top: 0;
}

.about-v2-story-steps article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--primary-2);
  font-size: 0.78rem;
  font-weight: 900;
}

.about-v2-story-steps h3 {
  margin-bottom: 7px;
  font-size: 1.06rem;
  letter-spacing: -0.025em;
}

.about-v2-story-steps p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.about-v2-principles {
  background:
    radial-gradient(circle at 82% 24%, rgba(47, 125, 211, 0.08), transparent 24rem),
    linear-gradient(180deg, #ffffff 0%, #f8f7f2 100%);
}

.about-v2-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 70px;
  align-items: end;
}

.about-v2-section-heading > p {
  line-height: 1.7;
}

.about-v2-principle-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.about-v2-principle {
  position: relative;
  min-height: 270px;
  padding: 27px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.06);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.about-v2-principle::after {
  content: "";
  position: absolute;
  width: 135px;
  height: 135px;
  right: -75px;
  bottom: -80px;
  border-radius: 50%;
  background: rgba(47, 125, 211, 0.08);
}

.about-v2-principle > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 25px;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--primary-2);
  font-size: 0.8rem;
  font-weight: 900;
}

.about-v2-principle h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.about-v2-principle p {
  font-size: 0.94rem;
  line-height: 1.68;
}

.about-v2-capabilities {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, #111827 0%, #172743 56%, #1e3a5f 100%);
}

.about-v2-capabilities::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -220px;
  top: -260px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.about-v2-capabilities-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(430px, 1.12fr);
  gap: 70px;
  align-items: center;
}

.about-v2-capabilities-copy .eyebrow {
  color: #e8d6a8;
}

.about-v2-capabilities-copy h2,
.about-v2-capabilities-copy p {
  color: #ffffff;
}

.about-v2-capabilities-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.about-v2-text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  color: #ffffff;
  font-weight: 800;
}

.about-v2-text-link span {
  transition: transform 160ms ease;
}

.about-v2-text-link:hover span,
.about-v2-text-link:focus-visible span {
  transform: translateX(4px);
}

.about-v2-capability-stack {
  display: grid;
  gap: 10px;
}

.about-v2-capability-stack article {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 16px;
  align-items: center;
  padding: 19px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(10px);
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.about-v2-capability-stack article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.09);
  color: #8bc0f6;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.about-v2-capability-stack h3 {
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 1.06rem;
  letter-spacing: -0.025em;
}

.about-v2-capability-stack p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.86rem;
  line-height: 1.58;
}

.about-v2-who {
  background:
    radial-gradient(circle at 12% 80%, rgba(232, 214, 168, 0.2), transparent 22rem),
    #ffffff;
}

.about-v2-who-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 60px;
  align-items: center;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.08);
}

.about-v2-who-card > div:first-child > p:not(.eyebrow) {
  margin-top: 18px;
  line-height: 1.7;
}

.about-v2-sector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-v2-sector-grid span {
  justify-content: center;
  min-height: 50px;
  border-radius: 16px;
  background: var(--bg-soft);
  text-align: center;
}

@media (hover: hover) and (pointer: fine) {
  .about-v2-principle:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 125, 211, 0.28);
    box-shadow: 0 28px 62px rgba(17, 24, 39, 0.1);
  }

  .about-v2-capability-stack article:hover {
    transform: translateX(6px);
    border-color: rgba(139, 192, 246, 0.28);
    background: rgba(255, 255, 255, 0.085);
  }
}

@media (max-width: 1080px) {
  .about-v2-hero-grid,
  .about-v2-story-grid,
  .about-v2-capabilities-grid,
  .about-v2-who-card {
    grid-template-columns: 1fr;
  }

  .about-v2-hero-grid,
  .about-v2-story-grid,
  .about-v2-capabilities-grid {
    gap: 46px;
  }

  .about-v2-hero-visual,
  .about-v2-story-panel,
  .about-v2-capability-stack {
    max-width: 760px;
  }

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

@media (max-width: 760px) {
  .about-v2-page .about-v2-hero {
    padding-top: 62px;
    padding-bottom: 66px;
  }

  

  .about-v2-actions {
    display: grid;
  }

  .about-v2-actions .btn {
    width: 100%;
  }

  .about-v2-system-card,
  .about-v2-story-panel,
  .about-v2-who-card {
    padding: 23px;
    border-radius: 25px;
  }

  .about-v2-system-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .about-v2-system-flow article {
    grid-template-columns: 36px 1fr;
  }

  .about-v2-system-flow small {
    grid-column: 2;
  }

  .about-v2-owner-row,
  .about-v2-section-heading,
  .about-v2-principle-grid,
  .about-v2-sector-grid {
    grid-template-columns: 1fr;
  }

  .about-v2-section-heading {
    gap: 18px;
  }

  .about-v2-principle {
    min-height: 0;
  }

  .about-v2-capability-stack article {
    grid-template-columns: 58px 1fr;
    padding: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-v2-principle,
  .about-v2-capability-stack article,
  .about-v2-text-link span {
    transition: none;
  }

  .about-v2-principle:hover,
  .about-v2-capability-stack article:hover,
  .about-v2-text-link:hover span,
  .about-v2-text-link:focus-visible span {
    transform: none;
  }
}

/* =========================================================
   v1.3.68 - Authoritative Site-Wide Typography System

   This is the single source of truth for public-site fonts and
   major heading hierarchy. Historical page-specific font patches
   above have had their conflicting typography declarations removed.
   Component-specific headings (cards, footer, legal sections, etc.)
   retain their intentionally smaller local styles.
========================================================= */

:root {
  --cws-font-sans:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;

  --cws-type-page-title: clamp(2.25rem, 3.95vw, 3.85rem);
  --cws-type-section-title: clamp(1.8rem, 3vw, 2.85rem);
  --cws-type-feature-title: clamp(1.65rem, 2.65vw, 2.45rem);
  --cws-type-project-display: clamp(2.35rem, 4.6vw, 4.45rem);
  --cws-type-card-title: 1.16rem;

  --cws-heading-weight: 620;
  --cws-heading-line: 1.12;
  --cws-heading-tracking: -0.032em;
  --cws-section-tracking: -0.028em;
  --cws-card-tracking: -0.018em;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--cws-font-sans);
}

body {
  font-weight: 400;
}

h1,
h2,
h3 {
  font-family: var(--cws-font-sans);
  font-weight: var(--cws-heading-weight);
}

/* Page titles: one consistent display scale across the public site. */
h1,
.hero h1,
.home-hero h1,
.page-hero h1,
.pricing-intro h1,
.project-detail-hero h1,
.backend-readiness h1,
.legal-header h1,
.hero-video-hero .hero-copy h1,
.portfolio-v2-hero-copy h1,
.case-study-hero-copy h1,
.portfolio-v3-hero-copy h1,
.about-v2-hero-copy h1 {
  font-size: var(--cws-type-page-title);
  font-weight: var(--cws-heading-weight);
  line-height: var(--cws-heading-line);
  letter-spacing: var(--cws-heading-tracking);
}

/* Primary section titles: shared scale and rhythm across every page. */
h2,
main > section:first-child .center-heading h2,
.pricing-page .pricing-heading h2,
.pricing-refined .pricing-heading h2,
.portfolio-v2-section-heading h2,
.case-study-section-heading h2,
.case-study-technical h2,
.about-v2-story-copy h2,
.about-v2-capabilities-copy h2,
.about-v2-who-card h2,
.page-cta-inner h2,
.page-cta h2,
.contact-copy h2,
.about-panel h2 {
  font-size: var(--cws-type-section-title);
  font-weight: var(--cws-heading-weight);
  line-height: 1.16;
  letter-spacing: var(--cws-section-tracking);
}

/* Standard card and supporting headings. */
h3 {
  font-size: var(--cws-type-card-title);
  font-weight: var(--cws-heading-weight);
  line-height: 1.24;
  letter-spacing: var(--cws-card-tracking);
}

/* Feature headings keep visual emphasis while staying in the same system. */
.about-v2-system-copy h2,
.portfolio-v2-featured-copy h3 {
  font-size: var(--cws-type-feature-title);
  font-weight: var(--cws-heading-weight);
  line-height: 1.12;
  letter-spacing: var(--cws-heading-tracking);
}

.portfolio-v2-project-copy h3,
.portfolio-v3-project-copy h3 {
  font-size: clamp(1.55rem, 2.35vw, 2.25rem);
  font-weight: var(--cws-heading-weight);
  line-height: 1.14;
  letter-spacing: var(--cws-section-tracking);
}

/* Portfolio showcase names may remain dramatic, but use the same face,
   weight, spacing logic, and responsive rhythm as the rest of the site. */
.portfolio-v3-project-heading h2 {
  font-size: var(--cws-type-project-display);
  font-weight: var(--cws-heading-weight);
  line-height: 1.06;
  letter-spacing: -0.038em;
}

@media (max-width: 700px) {
  :root {
    --cws-type-page-title: clamp(2rem, 9vw, 3rem);
    --cws-type-section-title: clamp(1.7rem, 7vw, 2.35rem);
    --cws-type-feature-title: clamp(1.5rem, 6.5vw, 2.1rem);
    --cws-type-project-display: clamp(2.15rem, 10vw, 3.25rem);
  }
}

/* =========================================================
   v1.3.71 - Authoritative Site-Wide Mobile Stability Layer

   Purpose:
   - Prevent horizontal overflow on every public page
   - Normalize shared responsive grids and action rows
   - Improve mobile navigation, forms, cards, tables, and footers
   - Preserve all desktop layouts, URLs, forms, analytics, and workflows
========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}

body,
main,
main > *,
section,
article,
.container,
.header-inner,
.footer-grid,
.page-cta-inner,
.hero-grid,
.split-grid,
.readiness-grid,
.contact-grid,
.about-grid,
.project-detail-grid,
.portfolio-v3-hero-grid,
.portfolio-v3-project-layout,
.case-study-hero-grid,
.case-study-technical-grid,
.about-v2-hero-grid,
.about-v2-story-grid,
.about-v2-capabilities-grid {
  min-width: 0;
}

img,
picture,
video,
canvas {
  max-width: 100%;
  height: auto;
}

iframe,
embed,
object {
  max-width: 100%;
}

pre,
code {
  max-width: 100%;
}

pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  max-width: 100%;
}

input,
select,
textarea,
button {
  max-width: 100%;
}

/* Avoid flex/grid children forcing the viewport wider than the device. */
.hero-copy,
.hero-card,
.home-service-row > *,
.service-detail > *,
.pricing-flow-item > *,
.portfolio-feature > *,
.process-step > *,
.project-panel,
.contact-form,
.contact-copy,
.portfolio-v3-project-copy,
.portfolio-v3-visual-shell,
.case-study-hero-copy,
.case-study-hero-visual,
.about-v2-hero-copy,
.about-v2-hero-visual {
  min-width: 0;
}

/* Reliable touch targets without changing desktop proportions. */
.nav-toggle,
.site-nav a,
.btn,
.nav-cta,
.service-link,
.pricing-helper a,
.portfolio-chip-link,
.checkout-primary,
.checkout-secondary,
button[type="submit"] {
  touch-action: manipulation;
}

@media (max-width: 960px) {
  .header-inner {
    position: relative;
  }

  .site-nav {
    z-index: 1000;
    max-height: min(72dvh, 580px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .build-bar-inner {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 8px;
  }

  .page-cta-inner,
  .hero-grid,
  .split-grid,
  .readiness-grid,
  .contact-grid,
  .about-grid,
  .project-detail-grid,
  .portfolio-v3-hero-grid,
  .portfolio-v3-project-heading,
  .portfolio-v3-project-layout,
  .case-study-hero-grid,
  .case-study-section-heading,
  .case-study-technical-grid,
  .about-v2-hero-grid,
  .about-v2-story-grid,
  .about-v2-capabilities-grid,
  .about-v2-who-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-v3-project-layout--reverse .portfolio-v3-visual-shell,
  .portfolio-v3-project-layout--reverse .portfolio-v3-project-copy {
    order: initial;
  }

  .portfolio-v3-project-layout--reverse .portfolio-v3-project-copy {
    order: 2;
  }

  .hero-card,
  .about-v2-hero-visual,
  .about-v2-story-panel,
  .about-v2-capability-stack,
  .case-study-hero-visual {
    width: 100%;
    max-width: 760px;
  }
}

@media (max-width: 760px) {
  :root {
    --cws-mobile-gutter: 14px;
  }

  .container {
    width: min(calc(100% - (var(--cws-mobile-gutter) * 2)), var(--container));
  }

  .section-pad {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .section-pad-sm {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .header-inner {
    min-height: 72px;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }

  .brand-text {
    min-width: 0;
    font-size: 0.9rem;
    line-height: 1.05;
  }

  .nav-toggle {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
  }

  .site-nav {
    top: calc(100% + 6px);
    right: 0;
    left: 0;
    padding: 12px;
    border-radius: 18px;
  }

  .site-nav a {
    min-height: 48px;
    padding: 13px 14px;
  }

  .build-bar-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
    padding-block: 10px;
  }

  .build-bar span {
    justify-content: center;
    text-align: center;
    line-height: 1.35;
  }

  .build-bar span:not(:last-child)::after {
    display: none;
  }

  .hero-actions,
  .about-actions,
  .project-detail-actions,
  .portfolio-v2-hero-actions,
  .portfolio-v3-hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
  }

  .hero-actions .btn,
  .about-actions .btn,
  .project-detail-actions .btn,
  .portfolio-v2-hero-actions .btn,
  .portfolio-v3-hero-actions .btn,
  .page-cta .btn {
    width: 100%;
    min-height: 48px;
  }

  .home-service-row,
  .service-detail,
  .portfolio-feature,
  .process-step,
  .project-detail-grid,
  .payment-grid,
  .pricing-note-grid,
  .principle-grid,
  .contact-steps,
  .case-study-story-grid,
  .case-study-capability-grid,
  .case-study-meta,
  .case-study-navigation-grid,
  .portfolio-v2-secondary-grid,
  .portfolio-v2-capability-grid,
  .portfolio-v2-overview-grid,
  .portfolio-v3-panel-metrics,
  .portfolio-v3-capability-grid,
  .portfolio-v3-project-nav,
  .about-v2-owner-row,
  .about-v2-principle-grid,
  .about-v2-sector-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-service-row,
  .service-detail,
  .portfolio-feature,
  .process-step,
  .project-panel,
  .summary-card,
  .contact-steps article,
  .legal-card {
    padding: 22px;
    border-radius: 22px;
  }

  .home-service-row a,
  .service-link,
  .portfolio-chip-link,
  .pricing-helper a {
    justify-self: stretch;
    width: 100%;
    min-height: 46px;
    text-align: center;
  }

  .contact-form,
  .contact-form-refined {
    width: 100%;
    padding: 22px;
    border-radius: 22px;
  }

  .form-row.two {
    grid-template-columns: minmax(0, 1fr);
  }

  input,
  select,
  textarea {
    min-width: 0;
    font-size: 16px;
  }

  textarea {
    min-height: 132px;
  }

  .form-acknowledgments {
    padding: 16px;
    border-radius: 18px;
  }

  .acknowledgment-item,
  .checkbox-field {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .page-cta-inner {
    gap: 24px;
    padding: 24px;
    border-radius: 24px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .site-footer nav a,
  .footer-contact-links a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .legal-header {
    text-align: left;
  }

  .legal-stack {
    gap: 16px;
  }

  .legal-contact-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-contact-actions .btn {
    width: 100%;
  }

  .case-study-meta div {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .case-study-meta div:last-child {
    border-bottom: 0;
  }

  .case-study-navigation a:last-child {
    text-align: left;
  }

  .portfolio-v3-project-number {
    position: static;
    display: block;
    margin-bottom: 14px;
    font-size: 3.4rem;
    line-height: 1;
  }

  .portfolio-v3-project {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .portfolio-v3-visual-shell,
  .portfolio-v2-featured-card,
  .portfolio-v2-project-visual,
  .portfolio-v2-project-copy,
  .case-study-hero-visual,
  .about-v2-system-card,
  .about-v2-story-panel,
  .about-v2-who-card {
    padding: 20px;
    border-radius: 22px;
  }

  .portfolio-browser,
  .portfolio-browser-screen {
    width: 100%;
    min-width: 0;
  }

  .portfolio-browser-screen {
    min-height: 280px;
  }

  .portfolio-v3-project-layout--reverse .portfolio-v3-project-copy {
    order: 2;
  }

  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 520px) {
  :root {
    --cws-mobile-gutter: 11px;
  }

  .section-pad {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .section-pad-sm {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .brand-mark {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .brand-text {
    font-size: 0.84rem;
  }

  .build-bar-inner {
    gap: 7px;
  }

  .build-bar span {
    font-size: 0.72rem;
  }

  .home-service-row,
  .service-detail,
  .portfolio-feature,
  .process-step,
  .project-panel,
  .summary-card,
  .contact-steps article,
  .legal-card,
  .contact-form,
  .contact-form-refined,
  .page-cta-inner {
    padding: 19px;
    border-radius: 20px;
  }

  .portfolio-v3-hero-panel,
  .portfolio-v3-visual-shell,
  .about-v2-system-card,
  .about-v2-story-panel,
  .about-v2-who-card,
  .portfolio-v2-featured-card,
  .case-study-hero-visual {
    padding: 18px;
    border-radius: 20px;
  }

  .portfolio-browser-screen {
    min-height: 240px;
  }

  .portfolio-v3-project-number {
    font-size: 2.8rem;
  }

  .form-acknowledgments {
    margin-inline: 0;
    padding: 14px;
  }

  .acknowledgment-item {
    gap: 10px;
    font-size: 0.9rem;
  }
}

@media (hover: none), (pointer: coarse) {
  .summary-card:hover,
  .home-service-row:hover,
  .service-detail:hover,
  .portfolio-feature:hover,
  .process-step:hover,
  .project-panel:hover,
  .portfolio-v3-visual-shell:hover,
  .about-v2-principle:hover,
  .about-v2-capability-stack article:hover {
    transform: none;
  }
}
