/**
 * WPNfinite.com child-theme visual system
 * Inspired by the high-contrast orange / warm-neutral retail palette in the supplied reference.
 */
:root {
  --wpnfinite-primary: #F96302;
  --wpnfinite-primary-dark: #D94F00;
  --wpnfinite-accent: #EEE1D4;
  --wpnfinite-dark: #111111;
  --wpnfinite-surface: #FFFFFF;
  --wpnfinite-surface-alt: #F5F2EE;
  --wpnfinite-text: #242424;
  --wpnfinite-muted: #666666;
  --wpnfinite-border: #D9D5D0;
  --wpnfinite-shadow: 0 8px 24px rgba(17, 17, 17, .10);
  --wpnfinite-radius: 8px;
  --wpnfinite-container: 1280px;
  --wpnf-orange-soft: #FFF1E8;
  --wpnf-sand: #EEE1D4;
  --wpnf-ink: #111111;
}

html, body { background: #fff; }
body {
  color: var(--wpnfinite-text);
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}
a { color: #C94600; }
a:hover { color: #8F3300; }
h1,h2,h3,h4,h5,h6 { color: #111; font-weight: 800; letter-spacing: -.025em; }
p { color: #333; }

/* Header: compact white retail navigation with an orange brand cue. */
.wpnfinite-header {
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid #ddd8d2;
  box-shadow: 0 2px 12px rgba(17,17,17,.07);
  backdrop-filter: blur(14px);
}
.wpnfinite-header-inner { min-height: 70px; }
.wpnfinite-brand,
.wpnfinite-logo a { color: #111; }
.wpnfinite-brand-mark {
  border-radius: 4px;
  background: var(--wpnfinite-primary);
  color: #fff;
}
.wpnfinite-brand-title { color: #111; }
.wpnfinite-brand-subtitle { color: #666; }
.wpnfinite-menu > li > a { color: #222; border-radius: 4px; }
.wpnfinite-menu > li > a:hover,
.wpnfinite-menu > li.current-menu-item > a,
.wpnfinite-menu > li.current-menu-ancestor > a {
  color: #111;
  background: var(--wpnf-orange-soft);
}
.wpnfinite-menu .sub-menu {
  background: #fff;
  border-color: #ddd8d2;
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(17,17,17,.14);
}
.wpnfinite-menu .sub-menu a { color: #222; border-radius: 4px; }
.wpnfinite-menu .sub-menu a:hover { color: #111; background: #f7f3ef; }
.wpnfinite-search-link {
  color: #111;
  background: #fff;
  border-color: #cfc9c3;
  border-radius: 4px;
}
.wpnfinite-search-link:hover { color: #111; background: #f5f2ee; }
.wpnfinite-topics-bar { background: #111; border-top: 0; }
.wpnfinite-topics-label { color: #ff8a3d; }
.wpnfinite-topics-menu a { color: #f2f2f2; }
.wpnfinite-topics-menu a:hover { color: #fff; text-decoration: underline; }

/* Buttons: square-ish, bold and direct. */
.wpnfinite-btn,
button,
input[type="submit"],
.wp-element-button,
.wp-block-button__link {
  border-radius: 4px !important;
  font-weight: 800;
}
.wpnfinite-btn {
  color: #fff;
  background: var(--wpnfinite-primary);
  border-color: var(--wpnfinite-primary);
  box-shadow: none;
}
.wpnfinite-btn:hover { color: #fff; background: #d94f00; border-color: #d94f00; transform: none; }

/* Core editorial shell. */
.wpnfinite-content-area { padding-top: 48px; }
.wpnfinite-entry-title { color: #111; }
.wpnfinite-entry-meta,.wpnfinite-meta-item { color: #6b6864; }
.wpnfinite-featured-image img { border-radius: 8px; box-shadow: none; }

/* Media homepage: bright cards and warm merchandise-style feature sections. */
.wpnfinite-media-home { background: #fff; }
.wpnfinite-media-masthead { border-bottom-color: #ded9d4; padding-top: 42px; }
.wpnfinite-media-masthead__eyebrow,
.wpnfinite-media-kicker,
.wpnfinite-media-section__head span { color: #b64000; }
.wpnfinite-media-masthead h1 { color: #111; letter-spacing: -.06em; }
.wpnfinite-media-masthead p { color: #5f5b57; }

.wpnfinite-media-lead,
.wpnfinite-media-card,
.wpnfinite-media-mini {
  background: #fff;
  border-color: #ded9d4;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(17,17,17,.05);
}
.wpnfinite-media-lead__media,
.wpnfinite-media-card__media,
.wpnfinite-media-mini__media { background: #eee9e3; }
.wpnfinite-media-card__placeholder { background: linear-gradient(135deg,#f0e8df,#e4d5c7); }
.wpnfinite-media-badge {
  background: #111;
  border: 0;
  color: #fff;
  border-radius: 4px;
}
.wpnfinite-media-lead__body h2,
.wpnfinite-media-card__title,
.wpnfinite-media-mini h3 { color: #111; }
.wpnfinite-media-lead__body p,
.wpnfinite-media-card__body p,
.wpnfinite-media-meta { color: #666; }

.wpnfinite-media-section__head { border-bottom-color: #ded9d4; }
.wpnfinite-media-section__head a { color: #111; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.wpnfinite-media-section__head a:hover { color: var(--wpnfinite-primary-dark); }

/* The parent uses this for Collections. On wpnfinite.com it becomes a bold orange showcase band. */
.wpnfinite-media-section--collection {
  background: var(--wpnfinite-primary);
  border: 0;
  border-radius: 10px;
  padding: 30px;
}
.wpnfinite-media-section--collection .wpnfinite-media-section__head { border-bottom-color: rgba(255,255,255,.42); }
.wpnfinite-media-section--collection .wpnfinite-media-section__head h2,
.wpnfinite-media-section--collection .wpnfinite-media-section__head span,
.wpnfinite-media-section--collection .wpnfinite-media-section__head a { color: #fff; }
.wpnfinite-media-section--collection .wpnfinite-media-card {
  background: var(--wpnf-sand);
  border: 0;
  box-shadow: none;
}
.wpnfinite-media-section--collection .wpnfinite-media-card__title,
.wpnfinite-media-section--collection .wpnfinite-media-card__title a { color: #111; }
.wpnfinite-media-section--collection .wpnfinite-media-card__body p,
.wpnfinite-media-section--collection .wpnfinite-media-meta { color: #4d4843; }
.wpnfinite-media-section--collection .wpnfinite-media-badge {
  background: #111;
  border: 0;
  color: #fff;
}
.wpnfinite-media-section--blogs::before { background: #f7f3ef; }

.wpnfinite-media-cta {
  background: #f3e8dd;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}
.wpnfinite-media-cta h2 { color: #111; }
.wpnfinite-media-cta p { color: #58534e; }
.wpnfinite-media-cta__action input[type="email"] {
  background: #fff;
  color: #222;
  border-color: #c9c2bb;
  border-radius: 4px;
}
.wpnfinite-media-empty { background: #fff7f0; border-color: #f4a36c; border-radius: 8px; }

/* Services / productized offering cards. */
.wpnf-services,
.wpnf-service-page { color: #242424; }
.wpnf-services__eyebrow,
.wpnf-service-kicker,
.wpnf-service-page__eyebrow { color: #b64000 !important; }
.wpnf-service-card,
.wpnf-service-page__summary,
.wpnf-service-page__form {
  background: #fff !important;
  border-color: #ded9d4 !important;
  color: #242424 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
.wpnf-service-card h2,
.wpnf-service-card h3,
.wpnf-service-page h1,
.wpnf-service-page h2,
.wpnf-service-page h3 { color: #111 !important; }
.wpnf-service-card p,
.wpnf-service-page p { color: #55514d; }
.wpnf-service-card__index { color: var(--wpnfinite-primary) !important; }
.wpnf-service-button { border-radius: 4px !important; }

/* WooCommerce / generic forms inherit the brighter visual language. */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="number"], input[type="password"], textarea, select {
  color: #222;
  background: #fff;
  border: 1px solid #cfc9c3;
  border-radius: 4px;
}
input:focus, textarea:focus, select:focus { outline: 2px solid rgba(249,99,2,.25); border-color: var(--wpnfinite-primary); }

/* Footer flips back to black for a strong finish. */
.wpnfinite-footer { background: #111 !important; border-top-color: #2d2d2d !important; color: #eee; }
.wpnfinite-footer h2,.wpnfinite-footer h3,.wpnfinite-footer h4 { color: #fff; }
.wpnfinite-footer p,.wpnfinite-footer li,.wpnfinite-footer-bottom { color: #c9c9c9; }
.wpnfinite-footer a { color: #fff; }
.wpnfinite-footer a:hover { color: #ff8a3d; }

/* Mobile header remains white instead of falling back to the parent's dark nav. */
@media (max-width:1100px) {
  .wpnfinite-navigation { background: #fff; border-bottom-color: #ddd8d2; box-shadow: 0 16px 30px rgba(17,17,17,.10); }
  .wpnfinite-nav-toggle { border-color: #bbb4ad; border-radius: 4px; }
  .wpnfinite-nav-toggle > span:not(.screen-reader-text) { background: #111; }
  .wpnfinite-menu .sub-menu { background: #f7f3ef; }
}
@media (max-width:700px) {
  .wpnfinite-media-section--collection { padding: 20px 14px; }
}

/* =========================================================
   WPNFINITE HOMEPAGE
   Home Depot-inspired brand direction
   ========================================================= */

:root {
  --wpnf-orange: #f96302;
  --wpnf-orange-dark: #dc4f00;
  --wpnf-orange-soft: #ff7a24;

  --wpnf-black: #111111;
  --wpnf-charcoal: #242424;
  --wpnf-gray: #606060;
  --wpnf-gray-light: #ece9e4;

  --wpnf-cream: #eee1d3;
  --wpnf-cream-light: #f7f1ea;

  --wpnf-white: #ffffff;

  --wpnf-border: #d8d2ca;

  --wpnf-radius: 10px;
  --wpnf-radius-lg: 16px;

  --wpnf-shadow:
    0 14px 34px rgba(0, 0, 0, 0.08);

  --wpnf-shell: 1240px;
}


/* RESET */

.wpnf-home,
.wpnf-home * {
  box-sizing: border-box;
}

.wpnf-home {
  background: var(--wpnf-white);
  color: var(--wpnf-black);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

.wpnf-home h1,
.wpnf-home h2,
.wpnf-home h3,
.wpnf-home p {
  margin-top: 0;
}

.wpnf-home a {
  text-decoration: none;
}

.wpnf-shell {
  width: min(calc(100% - 40px), var(--wpnf-shell));
  margin-inline: auto;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

.wpnf-kicker,
.wpnf-eyebrow,
.wpnf-card-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.wpnf-kicker,
.wpnf-eyebrow {
  color: var(--wpnf-orange);
}

.wpnf-card-label {
  color: var(--wpnf-orange-dark);
  margin-bottom: 10px;
}

.wpnf-section h2,
.wpnf-final-cta h2,
.wpnf-demo-section h2 {
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 900;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.wpnf-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wpnf-btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

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

.wpnf-btn-primary {
  background: var(--wpnf-orange);
  color: var(--wpnf-white);
}

.wpnf-btn-primary:hover {
  background: var(--wpnf-orange-dark);
}

.wpnf-btn-dark {
  background: var(--wpnf-black);
  color: var(--wpnf-white);
}

.wpnf-btn-light {
  background: var(--wpnf-white);
  color: var(--wpnf-black);
}

.wpnf-btn-outline {
  border: 2px solid var(--wpnf-black);
  color: var(--wpnf-black);
}


/* =========================================================
   IMAGE PLACEHOLDERS
   ========================================================= */

.wpnf-image-placeholder {
  min-height: 260px;
  width: 100%;
  border-radius: var(--wpnf-radius);
  border: 2px dashed #b9afa4;
  background:
    linear-gradient(
      135deg,
      #e8dfd5,
      #f8f3ed
    );
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  color: #786d62;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wpnf-image-placeholder-hero {
  min-height: 500px;
}

.wpnf-placeholder-landscape {
  min-height: 360px;
}

.wpnf-placeholder-card {
  min-height: 225px;
  border-radius: 8px 8px 0 0;
}

.wpnf-resource-image {
  min-height: 220px;
}


/* =========================================================
   HERO
   ========================================================= */

.wpnf-hero {
  background:
    linear-gradient(
      100deg,
      #f7f1ea 0%,
      #f7f1ea 58%,
      #eee1d3 58%,
      #eee1d3 100%
    );
  padding: 82px 0;
  overflow: hidden;
}

.wpnf-hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.wpnf-hero h1 {
  font-size: clamp(52px, 6.5vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.06em;
  font-weight: 950;
  margin: 18px 0 28px;
}

.wpnf-hero h1 span {
  color: var(--wpnf-orange);
}

.wpnf-hero-text {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--wpnf-gray);
  margin-bottom: 32px;
}

.wpnf-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 28px;
  font-size: 13px;
  font-weight: 800;
}

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

.wpnf-floating-card {
  position: absolute;
  left: -30px;
  bottom: 34px;
  background: var(--wpnf-orange);
  color: var(--wpnf-white);
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: var(--wpnf-shadow);
}

.wpnf-floating-card strong,
.wpnf-floating-card span {
  display: block;
}

.wpnf-floating-card strong {
  font-size: 17px;
}

.wpnf-floating-card span {
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.9;
}


/* =========================================================
   INTRO STRIP
   ========================================================= */

.wpnf-intro-strip {
  background: var(--wpnf-black);
  color: var(--wpnf-white);
  padding: 34px 0;
}

.wpnf-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.wpnf-intro-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 0 28px;
  border-right: 1px solid #444;
}

.wpnf-intro-item:first-child {
  padding-left: 0;
}

.wpnf-intro-item:last-child {
  border-right: 0;
}

.wpnf-stat {
  color: var(--wpnf-orange);
  font-size: 13px;
  font-weight: 900;
}

.wpnf-intro-item strong {
  display: block;
  font-size: 17px;
  margin-bottom: 6px;
}

.wpnf-intro-item p {
  margin-bottom: 0;
  color: #c9c9c9;
  font-size: 13px;
  line-height: 1.55;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.wpnf-section {
  padding: 100px 0;
}

.wpnf-section-heading {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 52px;
}

.wpnf-section-heading h2 {
  margin: 12px 0 0;
  max-width: 850px;
}

.wpnf-section-heading > p {
  color: var(--wpnf-gray);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 4px;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.wpnf-product-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.wpnf-product-card {
  border-radius: var(--wpnf-radius);
  overflow: hidden;
  border: 1px solid var(--wpnf-border);
  background: var(--wpnf-cream-light);
}

.wpnf-product-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  background: var(--wpnf-orange);
  color: var(--wpnf-white);
  border: 0;
}

.wpnf-product-featured .wpnf-card-label,
.wpnf-product-featured .wpnf-text-link {
  color: var(--wpnf-white);
}

.wpnf-product-content {
  padding: 32px;
}

.wpnf-product-featured .wpnf-product-content {
  padding: 48px;
  align-self: center;
}

.wpnf-product-card h3 {
  font-size: 29px;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.wpnf-product-card p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--wpnf-gray);
}

.wpnf-product-featured p {
  color: rgba(255,255,255,0.86);
}

.wpnf-text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--wpnf-black);
  font-weight: 900;
  border-bottom: 2px solid currentColor;
  padding-bottom: 3px;
}


/* =========================================================
   ORANGE BENEFITS
   ========================================================= */

.wpnf-section-orange {
  background: var(--wpnf-orange);
}

.wpnf-heading-light,
.wpnf-heading-light .wpnf-kicker,
.wpnf-heading-light > p {
  color: var(--wpnf-white);
}

.wpnf-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.wpnf-benefit-card {
  min-height: 290px;
  background: var(--wpnf-cream);
  border-radius: var(--wpnf-radius);
  padding: 30px;
}

.wpnf-benefit-number {
  display: block;
  color: var(--wpnf-orange);
  font-size: 13px;
  font-weight: 950;
  margin-bottom: 60px;
}

.wpnf-benefit-card h3 {
  font-size: 25px;
  margin-bottom: 12px;
}

.wpnf-benefit-card p {
  color: var(--wpnf-gray);
  line-height: 1.6;
  font-size: 14px;
}


/* =========================================================
   USE CASES
   ========================================================= */

.wpnf-use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.wpnf-use-card {
  background: var(--wpnf-cream);
  padding: 18px;
  border-radius: var(--wpnf-radius);
  display: grid;
  gap: 20px;
}

.wpnf-use-card-wide {
  grid-column: 1 / -1;
  grid-template-columns: 0.7fr 1.3fr;
}

.wpnf-use-content {
  padding: 24px;
}

.wpnf-use-content > span {
  color: var(--wpnf-orange);
  font-weight: 950;
  font-size: 13px;
}

.wpnf-use-card h3 {
  font-size: 30px;
  margin: 20px 0 12px;
}

.wpnf-use-card p {
  color: var(--wpnf-gray);
  line-height: 1.65;
}


/* =========================================================
   DEMO
   ========================================================= */

.wpnf-demo-section {
  padding: 100px 0;
  background: var(--wpnf-cream-light);
}

.wpnf-demo-panel {
  background: var(--wpnf-black);
  color: var(--wpnf-white);
  padding: 60px;
  border-radius: var(--wpnf-radius-lg);
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.wpnf-demo-copy p {
  color: #bfbfbf;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.wpnf-demo-browser {
  background: #262626;
  border-radius: 10px;
  padding: 12px;
}

.wpnf-browser-bar {
  height: 34px;
  display: flex;
  gap: 7px;
  align-items: center;
}

.wpnf-browser-bar span {
  width: 9px;
  height: 9px;
  background: #777;
  border-radius: 50%;
}

.wpnf-demo-placeholder {
  min-height: 420px;
  border-color: #5f5f5f;
  background: #333;
  color: #aaa;
}


/* =========================================================
   DEVELOPER
   ========================================================= */

.wpnf-developer-section {
  background: var(--wpnf-white);
}

.wpnf-developer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.wpnf-developer-grid h2 {
  margin: 14px 0 24px;
}

.wpnf-developer-grid p {
  color: var(--wpnf-gray);
  font-size: 17px;
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 30px;
}

.wpnf-code-card {
  background: var(--wpnf-black);
  color: #f6f6f6;
  border-radius: var(--wpnf-radius);
  padding: 34px;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.wpnf-code-card pre {
  margin: 0;
  white-space: pre-wrap;
  font-family: "Courier New", monospace;
  font-size: 15px;
  line-height: 1.8;
}


/* =========================================================
   RESOURCES
   ========================================================= */

.wpnf-resource-section {
  background: var(--wpnf-cream);
}

.wpnf-resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wpnf-resource-card {
  background: var(--wpnf-white);
  border-radius: var(--wpnf-radius);
  overflow: hidden;
}

.wpnf-resource-content {
  padding: 26px;
}

.wpnf-resource-content > span {
  color: var(--wpnf-orange);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.wpnf-resource-content h3 {
  font-size: 23px;
  line-height: 1.15;
  margin: 14px 0 22px;
}

.wpnf-resource-content a {
  color: var(--wpnf-black);
  font-weight: 900;
}


/* =========================================================
   FINAL CTA
   ========================================================= */

.wpnf-final-cta {
  background: var(--wpnf-black);
  color: var(--wpnf-white);
  padding: 90px 0;
}

.wpnf-cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 80px;
  align-items: end;
}

.wpnf-final-cta h2 {
  margin: 14px 0 0;
}

.wpnf-final-cta p {
  color: #c8c8c8;
  line-height: 1.7;
  margin-bottom: 28px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

  .wpnf-hero-grid,
  .wpnf-product-featured,
  .wpnf-section-heading,
  .wpnf-demo-panel,
  .wpnf-developer-grid,
  .wpnf-cta-inner {
    grid-template-columns: 1fr;
  }

  .wpnf-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wpnf-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .wpnf-intro-item,
  .wpnf-intro-item:first-child {
    padding: 0 0 24px;
    border-right: 0;
    border-bottom: 1px solid #444;
  }

  .wpnf-intro-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .wpnf-use-card-wide {
    grid-template-columns: 1fr;
  }

  .wpnf-floating-card {
    left: 20px;
  }

}


@media (max-width: 700px) {

  .wpnf-shell {
    width: min(calc(100% - 28px), var(--wpnf-shell));
  }

  .wpnf-hero,
  .wpnf-section,
  .wpnf-demo-section,
  .wpnf-final-cta {
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .wpnf-hero {
    background: var(--wpnf-cream-light);
  }

  .wpnf-hero-grid {
    gap: 40px;
  }

  .wpnf-hero h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .wpnf-image-placeholder-hero {
    min-height: 340px;
  }

  .wpnf-product-layout,
  .wpnf-use-grid,
  .wpnf-resource-grid,
  .wpnf-benefit-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-use-card-wide {
    grid-column: auto;
  }

  .wpnf-section-heading {
    gap: 24px;
    margin-bottom: 34px;
  }

  .wpnf-section h2,
  .wpnf-final-cta h2,
  .wpnf-demo-section h2 {
    font-size: 42px;
  }

  .wpnf-product-featured .wpnf-product-content,
  .wpnf-product-content {
    padding: 26px;
  }

  .wpnf-benefit-card {
    min-height: auto;
  }

  .wpnf-benefit-number {
    margin-bottom: 38px;
  }

  .wpnf-demo-panel {
    padding: 26px;
    gap: 34px;
  }

  .wpnf-demo-placeholder {
    min-height: 270px;
  }

  .wpnf-floating-card {
    position: static;
    margin-top: 12px;
  }

}

/* ==========================================================
   WPNFINITE HOMEPAGE — V2 VISUAL REFINEMENT
   Add AFTER the existing homepage CSS.
   ========================================================== */

:root {
  --wpnf-orange: #f96302;
  --wpnf-orange-dark: #d94f00;
  --wpnf-orange-light: #ff7b29;

  --wpnf-black: #111111;
  --wpnf-ink: #1c1c1c;
  --wpnf-gray: #5f5b57;
  --wpnf-muted: #817a73;

  --wpnf-cream: #eee1d3;
  --wpnf-cream-light: #f8f3ed;
  --wpnf-sand: #e5d5c4;

  --wpnf-white: #ffffff;
  --wpnf-border: #ded7cf;

  --wpnf-shell: 1380px;

  --wpnf-radius-sm: 7px;
  --wpnf-radius: 12px;
  --wpnf-radius-lg: 18px;

  --wpnf-shadow-sm:
    0 4px 14px rgba(20, 15, 10, 0.06);

  --wpnf-shadow:
    0 15px 45px rgba(20, 15, 10, 0.09);

  --wpnf-shadow-hover:
    0 24px 60px rgba(20, 15, 10, 0.14);
}


/* ==========================================================
   GLOBAL
   ========================================================== */

.wpnf-home {
  overflow: hidden;
}

.wpnf-shell {
  width: min(calc(100% - 64px), var(--wpnf-shell));
}

.wpnf-home h1,
.wpnf-home h2,
.wpnf-home h3 {
  text-wrap: balance;
}

.wpnf-home p {
  text-wrap: pretty;
}

.wpnf-section {
  padding: 112px 0;
}


/* ==========================================================
   TYPOGRAPHY
   ========================================================== */

.wpnf-kicker,
.wpnf-eyebrow,
.wpnf-card-label {
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0.16em;
  font-weight: 900;
}

.wpnf-section h2,
.wpnf-final-cta h2,
.wpnf-demo-section h2 {
  font-size: clamp(42px, 4.2vw, 68px);
  line-height: 0.96;
  letter-spacing: -0.052em;
  font-weight: 900;
}


/* ==========================================================
   BUTTONS
   ========================================================== */

.wpnf-btn {
  min-height: 56px;
  padding: 0 28px;
  border-radius: var(--wpnf-radius-sm);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.01em;

  box-shadow:
    inset 0 -1px 0 rgba(0,0,0,0.16);

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    background-color .18s ease;
}

.wpnf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 20px rgba(0,0,0,0.14);
}


/* ==========================================================
   HERO
   ========================================================== */

.wpnf-hero {
  position: relative;
  padding: 105px 0 110px;

  background:
    linear-gradient(
      104deg,
      var(--wpnf-cream-light) 0%,
      var(--wpnf-cream-light) 55%,
      #eadccc 55%,
      #eadccc 100%
    );
}

.wpnf-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 100%;
  background: var(--wpnf-orange);
}

.wpnf-hero-grid {
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(60px, 7vw, 115px);
}

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

.wpnf-hero h1 {
  max-width: 680px;

  margin: 20px 0 30px;

  font-size: clamp(60px, 6.2vw, 100px);
  line-height: .87;
  letter-spacing: -.067em;
}

.wpnf-hero h1 span {
  display: inline-block;
}

.wpnf-hero-text {
  max-width: 600px;
  margin-bottom: 35px;

  font-size: 18px;
  line-height: 1.67;
}

.wpnf-hero-points {
  margin-top: 30px;
  gap: 10px;
}

.wpnf-hero-points span {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0,0,0,.08);

  padding: 8px 11px;
  border-radius: 5px;

  font-size: 11px;
}


/* Hero visual */

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

.wpnf-image-placeholder-hero {
  min-height: 565px;

  border: 0;
  border-radius: 14px;

  box-shadow: var(--wpnf-shadow);

  background:
    linear-gradient(
      145deg,
      #f5eee6 0%,
      #e7d8c8 100%
    );
}

.wpnf-floating-card {
  left: -42px;
  bottom: 40px;

  min-width: 230px;

  padding: 24px 28px;

  border-radius: 9px;
  box-shadow: 0 18px 40px rgba(0,0,0,.16);
}


/* ==========================================================
   DARK VALUE STRIP
   ========================================================== */

.wpnf-intro-strip {
  padding: 42px 0;

  background:
    linear-gradient(
      90deg,
      #0d0d0d,
      #171717
    );
}

.wpnf-intro-grid {
  gap: 0;
}

.wpnf-intro-item {
  padding: 2px 42px;
  align-items: start;
}

.wpnf-intro-item strong {
  font-size: 18px;
  letter-spacing: -.02em;
}

.wpnf-intro-item p {
  max-width: 310px;
  font-size: 13px;
  line-height: 1.6;
}


/* ==========================================================
   SECTION HEADERS
   ========================================================== */

.wpnf-section-heading {
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);

  gap: 90px;

  margin-bottom: 62px;
}

.wpnf-section-heading h2 {
  max-width: 890px;
}

.wpnf-section-heading > p {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.72;
}


/* ==========================================================
   PRODUCT ECOSYSTEM
   ========================================================== */

#products {
  background: #fff;
}

.wpnf-product-layout {
  gap: 22px;
}

.wpnf-product-card {
  position: relative;

  border: 1px solid var(--wpnf-border);
  border-radius: 12px;

  background: var(--wpnf-cream-light);

  box-shadow: var(--wpnf-shadow-sm);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.wpnf-product-card:hover {
  transform: translateY(-4px);
  border-color: #cfc3b7;
  box-shadow: var(--wpnf-shadow-hover);
}


/* Featured platform */

.wpnf-product-featured {
  min-height: 450px;

  grid-template-columns: .78fr 1.22fr;

  background: var(--wpnf-orange);
}

.wpnf-product-featured .wpnf-product-content {
  padding: 54px;
}

.wpnf-product-featured h3 {
  font-size: clamp(34px, 3vw, 48px);
}

.wpnf-product-featured .wpnf-placeholder-landscape {
  min-height: 100%;
  border-radius: 0 12px 12px 0;
}


/* Smaller products */

.wpnf-product-card:not(.wpnf-product-featured) {
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  min-height: 300px;
}

.wpnf-product-card:not(.wpnf-product-featured)
.wpnf-placeholder-card {
  height: 100%;
  min-height: 100%;

  border-radius: 11px 0 0 11px;
}

.wpnf-product-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 34px;
}

.wpnf-product-card h3 {
  margin-bottom: 14px;

  font-size: clamp(25px, 2vw, 32px);
  line-height: 1;
}

.wpnf-product-card p {
  margin-bottom: 18px;
}

.wpnf-product-card .wpnf-text-link {
  margin-top: auto;
}


/* ==========================================================
   IMAGE PLACEHOLDERS
   ========================================================== */

.wpnf-image-placeholder {
  position: relative;
  overflow: hidden;

  border-color: #cbbdb0;

  background:
    linear-gradient(135deg, #eee4da, #faf7f3);
}

.wpnf-image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      115deg,
      transparent 30%,
      rgba(255,255,255,.35) 50%,
      transparent 70%
    );

  transform: translateX(-110%);
}

.wpnf-image-placeholder:hover::before {
  animation: wpnf-placeholder-shine 1.4s ease;
}

@keyframes wpnf-placeholder-shine {
  to {
    transform: translateX(110%);
  }
}

.wpnf-image-placeholder span {
  position: relative;
  z-index: 2;
}


/* ==========================================================
   WHY WPNFINITE
   ========================================================== */

.wpnf-section-orange {
  position: relative;

  padding: 105px 0 115px;

  background:
    linear-gradient(
      115deg,
      #f96302,
      #f25a00
    );
}

.wpnf-section-orange::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -220px;

  width: 600px;
  height: 600px;

  border-radius: 50%;
  background: rgba(255,255,255,.055);

  pointer-events: none;
}

.wpnf-benefit-grid {
  position: relative;
  z-index: 2;

  gap: 18px;
}

.wpnf-benefit-card {
  min-height: 325px;

  padding: 34px;

  border: 1px solid rgba(0,0,0,.06);

  box-shadow:
    0 8px 18px rgba(117,47,0,.08);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.wpnf-benefit-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 18px 35px rgba(117,47,0,.17);
}

.wpnf-benefit-number {
  margin-bottom: 76px;

  font-size: 12px;
}

.wpnf-benefit-card h3 {
  font-size: 27px;
  line-height: 1.02;
}


/* ==========================================================
   USE CASES
   ========================================================== */

.wpnf-use-grid {
  gap: 18px;
}

.wpnf-use-card {
  padding: 0;

  overflow: hidden;

  background: var(--wpnf-cream);

  border: 1px solid #dfd1c2;

  box-shadow: var(--wpnf-shadow-sm);
}

.wpnf-use-card-wide {
  min-height: 390px;

  grid-template-columns: .72fr 1.28fr;
}

.wpnf-use-content {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 44px;
}

.wpnf-use-content > span {
  margin-bottom: 6px;
}

.wpnf-use-card h3 {
  margin: 14px 0 15px;

  font-size: 31px;
  letter-spacing: -.035em;
}

.wpnf-use-card .wpnf-image-placeholder {
  height: 100%;
  min-height: 310px;

  border: 0;
  border-left: 1px solid #d7c8b9;
  border-radius: 0;
}

.wpnf-use-card:not(.wpnf-use-card-wide) {
  grid-template-columns: 1fr;
}

.wpnf-use-card:not(.wpnf-use-card-wide)
.wpnf-image-placeholder {
  min-height: 285px;

  border-left: 0;
  border-top: 1px solid #d7c8b9;
}


/* ==========================================================
   DEMO / SHOWCASE
   ========================================================== */

.wpnf-demo-section {
  padding: 120px 0;

  background:
    linear-gradient(
      180deg,
      #f7f1ea,
      #efe2d4
    );
}

.wpnf-demo-panel {
  position: relative;
  overflow: hidden;

  min-height: 570px;

  padding: 72px;

  grid-template-columns: .68fr 1.32fr;

  border-radius: 18px;

  background:
    radial-gradient(
      circle at 90% 0%,
      #292929 0,
      #121212 52%
    );

  box-shadow:
    0 28px 70px rgba(0,0,0,.17);
}

.wpnf-demo-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 7px;
  height: 100%;

  background: var(--wpnf-orange);
}

.wpnf-demo-copy {
  position: relative;
  z-index: 2;
}

.wpnf-demo-copy h2 {
  font-size: clamp(40px, 4vw, 64px);
}

.wpnf-demo-browser {
  position: relative;

  padding: 10px;

  border: 1px solid #373737;
  border-radius: 12px;

  background: #222;

  box-shadow:
    0 30px 50px rgba(0,0,0,.28);

  transform: perspective(1200px) rotateY(-2deg);
}

.wpnf-demo-placeholder {
  min-height: 455px;

  border: 0;
}


/* ==========================================================
   DEVELOPER SECTION
   ========================================================== */

.wpnf-developer-section {
  padding: 125px 0;
}

.wpnf-developer-grid {
  gap: 110px;
}

.wpnf-developer-grid h2 {
  max-width: 650px;

  font-size: clamp(42px, 4vw, 68px);
}

.wpnf-code-card {
  position: relative;

  min-height: 440px;

  padding: 48px;

  border-radius: 14px;

  box-shadow:
    0 24px 60px rgba(0,0,0,.16);

  background:
    linear-gradient(
      145deg,
      #0e0e0e,
      #191919
    );
}

.wpnf-code-card::before {
  content: "WPNFINITE / API";
  position: absolute;
  top: 20px;
  right: 22px;

  color: #737373;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.wpnf-code-card code {
  color: #f3ede6;
}


/* ==========================================================
   RESOURCES
   ========================================================== */

.wpnf-resource-section {
  padding: 115px 0;

  background:
    linear-gradient(
      180deg,
      #eee1d3,
      #e8d8c7
    );
}

.wpnf-resource-grid {
  gap: 20px;
}

.wpnf-resource-card {
  border: 1px solid rgba(0,0,0,.07);

  box-shadow: var(--wpnf-shadow-sm);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.wpnf-resource-card:hover {
  transform: translateY(-4px);

  box-shadow: var(--wpnf-shadow);
}

.wpnf-resource-image {
  min-height: 255px;

  border: 0;
  border-radius: 0;
}

.wpnf-resource-content {
  min-height: 205px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 30px;
}

.wpnf-resource-content h3 {
  font-size: 25px;
  line-height: 1.08;
}

.wpnf-resource-content a {
  margin-top: auto;

  padding-bottom: 3px;

  border-bottom: 2px solid var(--wpnf-orange);
}


/* ==========================================================
   FINAL CTA
   ========================================================== */

.wpnf-final-cta {
  position: relative;

  padding: 105px 0;

  background:
    linear-gradient(
      108deg,
      #101010,
      #171717
    );
}

.wpnf-final-cta::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;

  width: 34%;
  height: 6px;

  background: var(--wpnf-orange);
}

.wpnf-cta-inner {
  grid-template-columns: 1.22fr .78fr;

  gap: 120px;
}

.wpnf-final-cta h2 {
  max-width: 780px;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1080px) {

  .wpnf-shell {
    width: min(calc(100% - 44px), var(--wpnf-shell));
  }

  .wpnf-product-card:not(.wpnf-product-featured) {
    grid-template-columns: 1fr;
  }

  .wpnf-product-card:not(.wpnf-product-featured)
  .wpnf-placeholder-card {
    min-height: 260px;
    border-radius: 11px 11px 0 0;
  }

  .wpnf-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


@media (max-width: 900px) {

  .wpnf-hero-grid,
  .wpnf-section-heading,
  .wpnf-product-featured,
  .wpnf-demo-panel,
  .wpnf-developer-grid,
  .wpnf-cta-inner {
    grid-template-columns: 1fr;
  }

  .wpnf-hero {
    background: var(--wpnf-cream-light);
  }

  .wpnf-product-featured .wpnf-placeholder-landscape {
    min-height: 380px;
    border-radius: 0 0 12px 12px;
  }

  .wpnf-section-heading {
    gap: 25px;
  }

  .wpnf-section-heading > p {
    max-width: 650px;
  }

  .wpnf-use-card-wide {
    grid-template-columns: 1fr;
  }

  .wpnf-use-card .wpnf-image-placeholder {
    border-left: 0;
    border-top: 1px solid #d7c8b9;
  }

  .wpnf-demo-panel {
    padding: 50px;
  }

}


@media (max-width: 700px) {

  .wpnf-shell {
    width: min(calc(100% - 30px), var(--wpnf-shell));
  }

  .wpnf-section,
  .wpnf-developer-section,
  .wpnf-resource-section {
    padding: 75px 0;
  }

  .wpnf-hero {
    padding: 70px 0 75px;
  }

  .wpnf-hero h1 {
    font-size: clamp(50px, 14vw, 72px);
  }

  .wpnf-hero-text {
    font-size: 16px;
  }

  .wpnf-image-placeholder-hero {
    min-height: 360px;
  }

  .wpnf-product-layout,
  .wpnf-use-grid,
  .wpnf-resource-grid,
  .wpnf-benefit-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-product-featured .wpnf-product-content {
    padding: 34px 28px;
  }

  .wpnf-benefit-card {
    min-height: 250px;
  }

  .wpnf-benefit-number {
    margin-bottom: 48px;
  }

  .wpnf-use-content {
    padding: 30px;
  }

  .wpnf-demo-section {
    padding: 75px 0;
  }

  .wpnf-demo-panel {
    min-height: auto;

    padding: 34px 26px;
  }

  .wpnf-demo-placeholder {
    min-height: 300px;
  }

  .wpnf-code-card {
    min-height: 330px;

    padding: 34px 25px;
  }

}

/* =========================================================
   WPNFINITE BUTTON REFINEMENT
   ========================================================= */

.wpnf-btn {
  min-height: 46px;
  padding: 0 22px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 5px;

  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.01em;

  box-shadow: none;

  transition:
    background-color .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.wpnf-btn:hover {
  transform: translateY(-1px);
  box-shadow: none;
}


/* Orange primary */

.wpnf-btn-primary {
  background: var(--wpnf-orange);
  color: #fff;
  border: 2px solid var(--wpnf-orange);
}

.wpnf-btn-primary:hover {
  background: var(--wpnf-orange-dark);
  border-color: var(--wpnf-orange-dark);
  color: #fff;
}


/* Black button */

.wpnf-btn-dark {
  background: var(--wpnf-black);
  color: #fff;
  border: 2px solid var(--wpnf-black);
}

.wpnf-btn-dark:hover {
  background: #292929;
  border-color: #292929;
  color: #fff;
}


/* White button */

.wpnf-btn-light {
  background: #fff;
  color: var(--wpnf-black);
  border: 2px solid #fff;
}

.wpnf-btn-light:hover {
  background: var(--wpnf-cream-light);
  border-color: var(--wpnf-cream-light);
  color: var(--wpnf-black);
}


/* Outline button */

.wpnf-btn-outline {
  background: transparent;
  color: var(--wpnf-black);
  border: 2px solid var(--wpnf-black);
}

.wpnf-btn-outline:hover {
  background: var(--wpnf-black);
  color: #fff;
}


/* Keep grouped buttons tight */

.wpnf-button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}


/* Hero buttons can be slightly stronger */

.wpnf-hero .wpnf-btn {
  min-height: 48px;
  padding-inline: 24px;
}


/* Final CTA buttons */

.wpnf-final-cta .wpnf-btn {
  min-height: 48px;
  padding-inline: 24px;
}


/* Section header action buttons should not be oversized */

.wpnf-section-heading .wpnf-btn {
  min-height: 44px;
  padding-inline: 20px;
  font-size: 12px;
}


/* Mobile */

@media (max-width: 700px) {

  .wpnf-button-row {
    gap: 10px;
  }

  .wpnf-btn {
    min-height: 44px;
    padding: 0 18px;
  }

}

.wpnf-btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.65);
}

.wpnf-btn-outline-light:hover {
  background: #fff;
  color: var(--wpnf-black);
  border-color: #fff;
}

.wpnf-resource-section .wpnf-section-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
}

.wpnf-resource-section .wpnf-section-heading .wpnf-btn {
  white-space: nowrap;
}

/* =========================================================
   WPNFINITE ABOUT PAGE
   ========================================================= */

.wpnf-about {
  background: #fff;
  color: var(--wpnf-black);
  overflow: hidden;
}


/* HERO */

.wpnf-about-hero {
  position: relative;
  padding: 110px 0 120px;

  background:
    linear-gradient(
      105deg,
      var(--wpnf-cream-light) 0%,
      var(--wpnf-cream-light) 56%,
      #eadccc 56%,
      #eadccc 100%
    );
}

.wpnf-about-hero::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;

  width: 9px;
  height: 100%;

  background: var(--wpnf-orange);
}

.wpnf-about-hero-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 100px;
  align-items: center;
}

.wpnf-about-hero h1 {
  max-width: 760px;

  margin: 18px 0 30px;

  font-size: clamp(58px, 6.3vw, 100px);
  line-height: .89;
  letter-spacing: -.065em;
  font-weight: 900;
}

.wpnf-about-hero h1 span {
  color: var(--wpnf-orange);
}

.wpnf-about-lead {
  max-width: 650px;

  margin-bottom: 34px;

  color: var(--wpnf-gray);

  font-size: 18px;
  line-height: 1.68;
}

.wpnf-about-hero-visual {
  position: relative;
}

.wpnf-about-hero-image {
  min-height: 570px;

  border: 0;

  box-shadow: var(--wpnf-shadow);
}

.wpnf-about-hero-badge {
  position: absolute;
  left: -38px;
  bottom: 38px;

  width: 240px;

  padding: 26px;

  background: var(--wpnf-orange);
  color: #fff;

  border-radius: 9px;

  box-shadow:
    0 20px 45px rgba(0,0,0,.18);
}

.wpnf-about-hero-badge span,
.wpnf-about-hero-badge strong,
.wpnf-about-hero-badge small {
  display: block;
}

.wpnf-about-hero-badge span {
  margin-bottom: 10px;

  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.wpnf-about-hero-badge strong {
  font-size: 25px;
  line-height: 1;
}

.wpnf-about-hero-badge small {
  margin-top: 9px;
  opacity: .82;
}


/* STATEMENT */

.wpnf-about-statement {
  padding: 90px 0;

  background: var(--wpnf-black);
  color: #fff;
}

.wpnf-about-statement-grid {
  display: grid;
  grid-template-columns: 80px 1.15fr .85fr;

  gap: 55px;
  align-items: start;
}

.wpnf-about-number {
  color: var(--wpnf-orange);

  font-size: 14px;
  font-weight: 900;
}

.wpnf-about-statement h2 {
  max-width: 780px;

  margin: 13px 0 0;

  font-size: clamp(40px, 4.3vw, 67px);
  line-height: .98;
  letter-spacing: -.05em;
}

.wpnf-about-statement-copy p {
  color: #bdbdbd;

  font-size: 16px;
  line-height: 1.75;
}


/* PRINCIPLES */

.wpnf-about-philosophy {
  background: #fff;
}

.wpnf-about-principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.wpnf-about-principle {
  min-height: 340px;

  display: flex;
  flex-direction: column;

  padding: 34px;

  background: var(--wpnf-cream);

  border: 1px solid #ded0c1;
  border-radius: 11px;

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.wpnf-about-principle:hover {
  transform: translateY(-5px);
  box-shadow: var(--wpnf-shadow);
}

.wpnf-about-principle-number {
  margin-bottom: auto;

  color: var(--wpnf-orange);

  font-size: 12px;
  font-weight: 900;
}

.wpnf-about-principle h3 {
  margin: 55px 0 14px;

  font-size: 26px;
  line-height: 1.02;
}

.wpnf-about-principle p {
  margin-bottom: 0;

  color: var(--wpnf-gray);

  font-size: 14px;
  line-height: 1.65;
}


/* ECOSYSTEM */

.wpnf-about-ecosystem {
  padding: 120px 0;

  background:
    linear-gradient(
      120deg,
      var(--wpnf-orange),
      #f15600
    );

  color: #fff;
}

.wpnf-about-ecosystem-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;

  gap: 100px;
  align-items: center;
}

.wpnf-about-ecosystem-copy h2 {
  max-width: 650px;

  margin: 15px 0 25px;

  font-size: clamp(45px, 4.8vw, 74px);
  line-height: .94;
  letter-spacing: -.055em;
}

.wpnf-about-ecosystem-copy p {
  max-width: 590px;

  margin-bottom: 30px;

  color: rgba(255,255,255,.86);

  font-size: 17px;
  line-height: 1.7;
}

.wpnf-about-ecosystem .wpnf-kicker {
  color: #fff;
}

.wpnf-about-ecosystem-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 14px;
}

.wpnf-ecosystem-core,
.wpnf-ecosystem-item {
  min-height: 180px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 28px;

  border-radius: 10px;
}

.wpnf-ecosystem-core {
  grid-column: 1 / -1;

  min-height: 220px;

  background: var(--wpnf-black);
}

.wpnf-ecosystem-item {
  background: var(--wpnf-cream);
  color: var(--wpnf-black);
}

.wpnf-ecosystem-core span,
.wpnf-ecosystem-item span {
  margin-bottom: auto;

  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;

  color: var(--wpnf-orange);
}

.wpnf-ecosystem-core span {
  color: #fff;
}

.wpnf-ecosystem-core strong,
.wpnf-ecosystem-item strong {
  font-size: 28px;
  line-height: 1;
}

.wpnf-ecosystem-core small {
  margin-top: 7px;

  color: #aaa;
}


/* BUILDS */

.wpnf-about-builds {
  background: #fff;
}

.wpnf-about-build-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

.wpnf-about-build-card {
  overflow: hidden;

  background: var(--wpnf-cream);

  border: 1px solid #dfd2c4;
  border-radius: 12px;
}

.wpnf-about-build-featured {
  grid-column: 1 / -1;

  display: grid;
  grid-template-columns: .68fr 1.32fr;

  min-height: 430px;
}

.wpnf-about-build-content {
  padding: 40px;
}

.wpnf-about-build-content > span {
  color: var(--wpnf-orange);

  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
}

.wpnf-about-build-content h3 {
  margin: 14px 0;

  font-size: 30px;
  line-height: 1.05;
}

.wpnf-about-build-featured h3 {
  font-size: clamp(34px, 3.4vw, 52px);
}

.wpnf-about-build-content p {
  color: var(--wpnf-gray);

  line-height: 1.65;
}

.wpnf-about-build-card > .wpnf-image-placeholder {
  min-height: 300px;

  border: 0;
  border-radius: 0;
}


/* WORDPRESS */

.wpnf-about-wordpress {
  padding: 125px 0;

  background: var(--wpnf-cream-light);
}

.wpnf-about-wordpress-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 100px;
  align-items: center;
}

.wpnf-about-wordpress h2 {
  max-width: 700px;

  margin: 15px 0 25px;

  font-size: clamp(44px, 4.5vw, 70px);
  line-height: .96;
  letter-spacing: -.055em;
}

.wpnf-about-wordpress-copy p {
  max-width: 650px;

  color: var(--wpnf-gray);

  font-size: 16px;
  line-height: 1.75;
}


/* AUDIENCE */

.wpnf-about-audience {
  background: #fff;
}

.wpnf-about-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.wpnf-about-audience-grid article {
  min-height: 270px;

  padding: 31px;

  background: var(--wpnf-cream-light);

  border: 1px solid var(--wpnf-border);
  border-radius: 10px;
}

.wpnf-about-audience-grid article > span {
  display: block;

  margin-bottom: 70px;

  color: var(--wpnf-orange);

  font-size: 11px;
  font-weight: 900;
}

.wpnf-about-audience-grid h3 {
  margin-bottom: 12px;

  font-size: 27px;
}

.wpnf-about-audience-grid p {
  color: var(--wpnf-gray);

  font-size: 14px;
  line-height: 1.65;
}


/* FUTURE */

.wpnf-about-future {
  padding: 105px 0;

  background: var(--wpnf-cream);
}

.wpnf-about-future-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;

  gap: 100px;
  align-items: start;
}

.wpnf-about-future h2 {
  max-width: 720px;

  margin: 14px 0 0;

  font-size: clamp(44px, 4.6vw, 72px);
  line-height: .96;
  letter-spacing: -.055em;
}

.wpnf-about-future p {
  color: var(--wpnf-gray);

  font-size: 17px;
  line-height: 1.75;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

  .wpnf-about-hero-grid,
  .wpnf-about-ecosystem-grid,
  .wpnf-about-wordpress-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-about-statement-grid {
    grid-template-columns: 50px 1fr;
  }

  .wpnf-about-statement-copy {
    grid-column: 2;
  }

  .wpnf-about-principles {
    grid-template-columns: repeat(2, 1fr);
  }

  .wpnf-about-hero-badge {
    left: 25px;
  }

}


@media (max-width: 800px) {

  .wpnf-about-build-featured,
  .wpnf-about-future-inner {
    grid-template-columns: 1fr;
  }

  .wpnf-about-audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wpnf-about-build-featured {
    grid-column: auto;
  }

}


@media (max-width: 700px) {

  .wpnf-about-hero,
  .wpnf-about-ecosystem,
  .wpnf-about-wordpress,
  .wpnf-about-future {
    padding: 75px 0;
  }

  .wpnf-about-hero {
    background: var(--wpnf-cream-light);
  }

  .wpnf-about-hero h1 {
    font-size: clamp(50px, 14vw, 72px);
  }

  .wpnf-about-hero-image {
    min-height: 360px;
  }

  .wpnf-about-hero-badge {
    position: static;

    width: 100%;

    margin-top: 12px;
  }

  .wpnf-about-statement-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-about-statement-copy {
    grid-column: auto;
  }

  .wpnf-about-principles,
  .wpnf-about-audience-grid,
  .wpnf-about-ecosystem-map,
  .wpnf-about-build-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-ecosystem-core {
    grid-column: auto;
  }

  .wpnf-about-principle {
    min-height: 260px;
  }

  .wpnf-about-audience-grid article {
    min-height: 230px;
  }

}

/* =========================================================
   WPNFINITE SERVICES PAGE
   ========================================================= */

.wpnf-services {
  background: #fff;
  color: var(--wpnf-black);
  overflow: hidden;
}


/* HERO */

.wpnf-services-hero {
  position: relative;

  padding: 110px 0 120px;

  background:
    linear-gradient(
      105deg,
      var(--wpnf-cream-light) 0%,
      var(--wpnf-cream-light) 57%,
      #eadccc 57%,
      #eadccc 100%
    );
}

.wpnf-services-hero::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;

  width: 9px;
  height: 100%;

  background: var(--wpnf-orange);
}

.wpnf-services-hero-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;

  gap: 100px;

  align-items: center;
}

.wpnf-services-hero h1 {
  max-width: 800px;

  margin: 18px 0 30px;

  font-size: clamp(58px, 6.2vw, 98px);
  line-height: .89;
  letter-spacing: -.065em;
  font-weight: 900;
}

.wpnf-services-hero h1 span {
  color: var(--wpnf-orange);
}

.wpnf-services-lead {
  max-width: 650px;

  margin-bottom: 35px;

  color: var(--wpnf-gray);

  font-size: 18px;
  line-height: 1.68;
}

.wpnf-services-hero-visual {
  position: relative;
}

.wpnf-services-hero-image {
  min-height: 570px;

  border: 0;

  box-shadow: var(--wpnf-shadow);
}

.wpnf-services-hero-card {
  position: absolute;

  left: -40px;
  bottom: 38px;

  width: 270px;

  padding: 27px;

  background: var(--wpnf-orange);
  color: #fff;

  border-radius: 9px;

  box-shadow:
    0 20px 45px rgba(0,0,0,.18);
}

.wpnf-services-hero-card span,
.wpnf-services-hero-card strong,
.wpnf-services-hero-card small {
  display: block;
}

.wpnf-services-hero-card span {
  margin-bottom: 12px;

  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.wpnf-services-hero-card strong {
  font-size: 21px;
  line-height: 1.08;
}

.wpnf-services-hero-card small {
  margin-top: 10px;

  opacity: .82;
}


/* SERVICE STRIP */

.wpnf-services-strip {
  padding: 42px 0;

  background: var(--wpnf-black);
  color: #fff;
}

.wpnf-services-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.wpnf-services-strip-grid > div {
  padding: 3px 34px;

  border-right: 1px solid #3b3b3b;
}

.wpnf-services-strip-grid > div:first-child {
  padding-left: 0;
}

.wpnf-services-strip-grid > div:last-child {
  border-right: 0;
}

.wpnf-services-strip-grid span {
  display: block;

  margin-bottom: 11px;

  color: var(--wpnf-orange);

  font-size: 11px;
  font-weight: 900;
}

.wpnf-services-strip-grid strong {
  display: block;

  margin-bottom: 8px;

  font-size: 18px;
}

.wpnf-services-strip-grid p {
  max-width: 280px;

  margin: 0;

  color: #aaa;

  font-size: 13px;
  line-height: 1.6;
}


/* MAIN SERVICES */

.wpnf-services-main {
  background: #fff;
}

.wpnf-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 22px;
}

.wpnf-service-card {
  overflow: hidden;

  display: grid;
  grid-template-columns: 1fr;

  background: var(--wpnf-cream-light);

  border: 1px solid var(--wpnf-border);
  border-radius: 12px;

  box-shadow: var(--wpnf-shadow-sm);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.wpnf-service-card:hover {
  transform: translateY(-4px);

  box-shadow: var(--wpnf-shadow-hover);
}

.wpnf-service-card > .wpnf-image-placeholder {
  min-height: 300px;

  border: 0;
  border-radius: 0;
}

.wpnf-service-featured {
  grid-column: 1 / -1;

  grid-template-columns: .78fr 1.22fr;

  min-height: 500px;

  background: var(--wpnf-orange);
  color: #fff;

  border: 0;
}

.wpnf-service-featured > .wpnf-image-placeholder {
  height: 100%;
  min-height: 100%;
}

.wpnf-service-card-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 38px;
}

.wpnf-service-featured .wpnf-service-card-copy {
  padding: 54px;
}

.wpnf-service-number {
  display: block;

  margin-bottom: 30px;

  color: var(--wpnf-orange);

  font-size: 11px;
  font-weight: 900;
}

.wpnf-service-featured .wpnf-service-number,
.wpnf-service-featured .wpnf-card-label {
  color: #fff;
}

.wpnf-service-card h3 {
  margin: 0 0 16px;

  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1;
  letter-spacing: -.035em;
}

.wpnf-service-featured h3 {
  font-size: clamp(39px, 4vw, 60px);
}

.wpnf-service-card p {
  color: var(--wpnf-gray);

  font-size: 15px;
  line-height: 1.68;
}

.wpnf-service-featured p {
  color: rgba(255,255,255,.85);
}

.wpnf-service-card ul {
  width: 100%;

  margin: 5px 0 25px;
  padding: 0;

  list-style: none;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 9px 20px;
}

.wpnf-service-card li {
  position: relative;

  padding-left: 16px;

  color: #544f4a;

  font-size: 13px;
  line-height: 1.45;
}

.wpnf-service-card li::before {
  content: "";

  position: absolute;
  left: 0;
  top: .6em;

  width: 6px;
  height: 6px;

  background: var(--wpnf-orange);
}

.wpnf-service-featured li {
  color: rgba(255,255,255,.88);
}

.wpnf-service-featured li::before {
  background: #fff;
}

.wpnf-service-card .wpnf-text-link {
  margin-top: auto;
}

.wpnf-service-featured .wpnf-text-link {
  color: #fff;
}


/* ECOSYSTEM */

.wpnf-services-ecosystem {
  padding: 115px 0;

  background: var(--wpnf-orange);
  color: #fff;
}

.wpnf-services-ecosystem-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;

  gap: 100px;

  align-items: center;
}

.wpnf-services-ecosystem .wpnf-kicker {
  color: #fff;
}

.wpnf-services-ecosystem-copy h2 {
  max-width: 690px;

  margin: 14px 0 25px;

  font-size: clamp(44px, 4.8vw, 72px);
  line-height: .94;
  letter-spacing: -.055em;
}

.wpnf-services-ecosystem-copy p {
  max-width: 590px;

  margin-bottom: 30px;

  color: rgba(255,255,255,.86);

  font-size: 17px;
  line-height: 1.7;
}

.wpnf-services-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 14px;
}

.wpnf-services-product-grid > div {
  min-height: 190px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 28px;

  background: var(--wpnf-cream);
  color: var(--wpnf-black);

  border-radius: 10px;
}

.wpnf-services-product-grid > div:first-child {
  background: var(--wpnf-black);
  color: #fff;
}

.wpnf-services-product-grid span {
  margin-bottom: auto;

  color: var(--wpnf-orange);

  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.wpnf-services-product-grid > div:first-child span {
  color: #fff;
}

.wpnf-services-product-grid strong {
  display: block;

  font-size: 27px;
  line-height: 1;
}

.wpnf-services-product-grid small {
  display: block;

  margin-top: 7px;

  color: #716a64;
}

.wpnf-services-product-grid > div:first-child small {
  color: #aaa;
}


/* PROCESS */

.wpnf-services-process {
  background: #fff;
}

.wpnf-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.wpnf-process-grid article {
  min-height: 290px;

  display: flex;
  flex-direction: column;

  padding: 32px;

  background: var(--wpnf-cream);

  border: 1px solid #dfd1c2;
  border-radius: 10px;
}

.wpnf-process-grid article > span {
  margin-bottom: auto;

  color: var(--wpnf-orange);

  font-size: 11px;
  font-weight: 900;
}

.wpnf-process-grid h3 {
  margin: 60px 0 12px;

  font-size: 28px;
  line-height: 1;
}

.wpnf-process-grid p {
  margin: 0;

  color: var(--wpnf-gray);

  font-size: 14px;
  line-height: 1.65;
}


/* ENGAGEMENT TYPES */

.wpnf-services-engagements {
  padding: 115px 0;

  background: var(--wpnf-cream-light);
}

.wpnf-engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 18px;
}

.wpnf-engagement-grid article {
  min-height: 310px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 38px;

  background: #fff;

  border: 1px solid var(--wpnf-border);
  border-radius: 11px;

  box-shadow: var(--wpnf-shadow-sm);
}

.wpnf-engagement-label {
  margin-bottom: auto;

  color: var(--wpnf-orange);

  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

.wpnf-engagement-grid h3 {
  margin: 60px 0 13px;

  font-size: 29px;
  line-height: 1;
}

.wpnf-engagement-grid p {
  color: var(--wpnf-gray);

  font-size: 14px;
  line-height: 1.65;
}

.wpnf-engagement-grid .wpnf-text-link {
  margin-top: auto;
}


/* SHOWCASE */

.wpnf-services-showcase {
  padding: 120px 0;

  background: #fff;
}

.wpnf-services-showcase-panel {
  min-height: 570px;

  display: grid;
  grid-template-columns: .68fr 1.32fr;

  gap: 70px;

  align-items: center;

  padding: 70px;

  background:
    radial-gradient(
      circle at 90% 0%,
      #292929 0,
      #121212 55%
    );

  color: #fff;

  border-radius: 18px;

  box-shadow:
    0 28px 70px rgba(0,0,0,.17);
}

.wpnf-services-showcase-copy h2 {
  margin: 14px 0 24px;

  font-size: clamp(42px, 4.4vw, 67px);
  line-height: .95;
  letter-spacing: -.055em;
}

.wpnf-services-showcase-copy p {
  max-width: 560px;

  margin-bottom: 28px;

  color: #bbb;

  font-size: 16px;
  line-height: 1.7;
}

.wpnf-services-browser {
  padding: 10px;

  background: #222;

  border: 1px solid #383838;
  border-radius: 12px;

  box-shadow:
    0 30px 50px rgba(0,0,0,.28);
}

.wpnf-services-browser .wpnf-image-placeholder {
  min-height: 430px;

  border: 0;

  background: #323232;
  color: #aaa;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

  .wpnf-services-hero-grid,
  .wpnf-services-ecosystem-grid,
  .wpnf-services-showcase-panel {
    grid-template-columns: 1fr;
  }

  .wpnf-services-strip-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 30px 0;
  }

  .wpnf-services-strip-grid > div:nth-child(2) {
    border-right: 0;
  }

  .wpnf-service-featured {
    grid-template-columns: 1fr;
  }

  .wpnf-service-featured > .wpnf-image-placeholder {
    min-height: 380px;
  }

  .wpnf-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wpnf-services-hero-card {
    left: 25px;
  }

}


@media (max-width: 800px) {

  .wpnf-services-grid,
  .wpnf-engagement-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-service-featured {
    grid-column: auto;
  }

}


@media (max-width: 700px) {

  .wpnf-services-hero,
  .wpnf-services-ecosystem,
  .wpnf-services-engagements,
  .wpnf-services-showcase {
    padding: 75px 0;
  }

  .wpnf-services-hero {
    background: var(--wpnf-cream-light);
  }

  .wpnf-services-hero h1 {
    font-size: clamp(49px, 14vw, 72px);
  }

  .wpnf-services-hero-image {
    min-height: 360px;
  }

  .wpnf-services-hero-card {
    position: static;

    width: 100%;

    margin-top: 12px;
  }

  .wpnf-services-strip-grid,
  .wpnf-process-grid,
  .wpnf-services-product-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-services-strip-grid > div {
    padding: 0 0 25px;

    border-right: 0;
    border-bottom: 1px solid #3b3b3b;
  }

  .wpnf-services-strip-grid > div:last-child {
    padding-bottom: 0;

    border-bottom: 0;
  }

  .wpnf-service-card-copy,
  .wpnf-service-featured .wpnf-service-card-copy {
    padding: 30px;
  }

  .wpnf-service-card ul {
    grid-template-columns: 1fr;
  }

  .wpnf-process-grid article {
    min-height: 250px;
  }

  .wpnf-services-showcase-panel {
    min-height: auto;

    padding: 34px 26px;
  }

  .wpnf-services-browser .wpnf-image-placeholder {
    min-height: 300px;
  }

}

/* =========================================================
   SERVICES PAGE — FULL WIDTH FIX
   Break page out of inherited WPNfinite content container
   ========================================================= */

/*
 * Break the actual Services application out of any
 * parent theme max-width wrapper.
 */
.wpnf-services {
  width: 100vw;
  max-width: none;

  position: relative;
  left: 50%;

  margin-left: -50vw;
  margin-right: -50vw;

  overflow: hidden;
}


/*
 * Remove Gutenberg / theme spacing around the services page
 * when the browser supports :has().
 */
.entry-content:has(.wpnf-services),
.wp-block-post-content:has(.wpnf-services),
.wpnfinite-content:has(.wpnf-services),
.site-main:has(.wpnf-services) {
  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;
}


/*
 * If the theme wraps pages in its standard container,
 * don't let that constrain this page.
 */
.wpnfinite-container:has(.wpnf-services) {
  width: 100%;
  max-width: none;

  margin: 0;
  padding-left: 0;
  padding-right: 0;
}


/* Kill first/last child margins Gutenberg may introduce */

.entry-content:has(.wpnf-services) > .wpnf-services {
  margin-top: 0;
  margin-bottom: 0;
}


/* =========================================================
   INNER CONTENT WIDTH
   Sections stay full-bleed, content stays organized
   ========================================================= */

.wpnf-services .wpnf-shell {
  width: min(calc(100% - 64px), 1380px);
  max-width: 1380px;

  margin-left: auto;
  margin-right: auto;
}


/* Large desktop — give the design more breathing room */

@media (min-width: 1500px) {

  .wpnf-services .wpnf-shell {
    max-width: 1420px;
  }

}


/* Tablet */

@media (max-width: 900px) {

  .wpnf-services .wpnf-shell {
    width: min(calc(100% - 44px), 1380px);
  }

}


/* Mobile */

@media (max-width: 700px) {

  .wpnf-services .wpnf-shell {
    width: calc(100% - 30px);
  }

}

/* Remove inherited page spacing on custom WPNfinite landing pages */

body:has(.wpnf-services) main,
body:has(.wpnf-services) .site-main,
body:has(.wpnf-services) article,
body:has(.wpnf-services) .entry-content {
  margin-top: 0;
  margin-bottom: 0;
}

body:has(.wpnf-services) .entry-content {
  padding-top: 0;
  padding-bottom: 0;
}

:is(.wpnf-about, .wpnf-services, .wpnf-portfolio) {
  width: 100vw;
  max-width: none;

  position: relative;
  left: 50%;

  margin-left: -50vw;
  margin-right: -50vw;
}

/* =========================================================
   WPNFINITE PORTFOLIO PAGE
   ========================================================= */

.wpnf-portfolio {
  background: #fff;
  color: var(--wpnf-black);
  overflow: hidden;
}


/* HERO */

.wpnf-portfolio-hero {
  position: relative;

  padding: 110px 0 120px;

  background:
    linear-gradient(
      105deg,
      var(--wpnf-cream-light) 0%,
      var(--wpnf-cream-light) 56%,
      #eadccc 56%,
      #eadccc 100%
    );
}

.wpnf-portfolio-hero::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;

  width: 9px;
  height: 100%;

  background: var(--wpnf-orange);
}

.wpnf-portfolio-hero-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;

  gap: 100px;

  align-items: center;
}

.wpnf-portfolio-hero h1 {
  max-width: 820px;

  margin: 18px 0 30px;

  font-size: clamp(58px, 6.2vw, 98px);
  line-height: .89;
  letter-spacing: -.065em;
  font-weight: 900;
}

.wpnf-portfolio-hero h1 span {
  color: var(--wpnf-orange);
}

.wpnf-portfolio-lead {
  max-width: 650px;

  margin-bottom: 35px;

  color: var(--wpnf-gray);

  font-size: 18px;
  line-height: 1.68;
}

.wpnf-portfolio-hero-visual {
  position: relative;
}

.wpnf-portfolio-hero-image {
  min-height: 580px;

  border: 0;

  box-shadow: var(--wpnf-shadow);
}

.wpnf-portfolio-hero-card {
  position: absolute;

  left: -40px;
  bottom: 38px;

  width: 270px;

  padding: 27px;

  background: var(--wpnf-orange);
  color: #fff;

  border-radius: 9px;

  box-shadow:
    0 20px 45px rgba(0,0,0,.18);
}

.wpnf-portfolio-hero-card span,
.wpnf-portfolio-hero-card strong,
.wpnf-portfolio-hero-card small {
  display: block;
}

.wpnf-portfolio-hero-card span {
  margin-bottom: 12px;

  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.wpnf-portfolio-hero-card strong {
  font-size: 21px;
  line-height: 1.08;
}

.wpnf-portfolio-hero-card small {
  margin-top: 9px;
  opacity: .82;
}


/* STRIP */

.wpnf-portfolio-strip {
  padding: 42px 0;

  background: var(--wpnf-black);
  color: #fff;
}

.wpnf-portfolio-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.wpnf-portfolio-strip-grid > div {
  padding: 2px 34px;

  border-right: 1px solid #3b3b3b;
}

.wpnf-portfolio-strip-grid > div:first-child {
  padding-left: 0;
}

.wpnf-portfolio-strip-grid > div:last-child {
  border-right: 0;
}

.wpnf-portfolio-strip-grid span {
  display: block;

  margin-bottom: 10px;

  color: var(--wpnf-orange);

  font-size: 11px;
  font-weight: 900;
}

.wpnf-portfolio-strip-grid strong {
  display: block;

  margin-bottom: 7px;

  font-size: 18px;
}

.wpnf-portfolio-strip-grid p {
  max-width: 280px;

  margin: 0;

  color: #aaa;

  font-size: 13px;
  line-height: 1.6;
}


/* PROJECT GRID */

.wpnf-portfolio-work {
  background: #fff;
}

.wpnf-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 22px;
}

.wpnf-project-card {
  overflow: hidden;

  background: var(--wpnf-cream-light);

  border: 1px solid var(--wpnf-border);
  border-radius: 12px;

  box-shadow: var(--wpnf-shadow-sm);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.wpnf-project-card:hover {
  transform: translateY(-4px);

  box-shadow: var(--wpnf-shadow-hover);
}

.wpnf-project-featured {
  grid-column: 1 / -1;

  display: grid;
  grid-template-columns: .74fr 1.26fr;

  min-height: 520px;

  background: var(--wpnf-orange);
  color: #fff;

  border: 0;
}

.wpnf-project-card > .wpnf-image-placeholder {
  min-height: 320px;

  border: 0;
  border-radius: 0;
}

.wpnf-project-featured > .wpnf-image-placeholder {
  height: 100%;
  min-height: 100%;
}

.wpnf-project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  padding: 38px;
}

.wpnf-project-featured .wpnf-project-copy {
  padding: 56px;
}

.wpnf-project-number {
  display: block;

  margin-bottom: 30px;

  color: var(--wpnf-orange);

  font-size: 11px;
  font-weight: 900;
}

.wpnf-project-featured .wpnf-project-number,
.wpnf-project-featured .wpnf-card-label {
  color: #fff;
}

.wpnf-project-card h3 {
  margin: 0 0 16px;

  font-size: clamp(28px, 2.5vw, 38px);
  line-height: 1;
  letter-spacing: -.035em;
}

.wpnf-project-featured h3 {
  font-size: clamp(40px, 4vw, 62px);
}

.wpnf-project-card p {
  color: var(--wpnf-gray);

  font-size: 15px;
  line-height: 1.68;
}

.wpnf-project-featured p {
  color: rgba(255,255,255,.85);
}

.wpnf-project-meta {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin: 7px 0 25px;
}

.wpnf-project-meta span {
  padding: 7px 9px;

  background: #fff;

  border: 1px solid #ddd3ca;
  border-radius: 5px;

  color: #413d39;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: .03em;
}

.wpnf-project-featured .wpnf-project-meta span {
  background: rgba(255,255,255,.13);

  border-color: rgba(255,255,255,.25);

  color: #fff;
}

.wpnf-project-card .wpnf-text-link {
  margin-top: auto;
}

.wpnf-project-featured .wpnf-text-link {
  color: #fff;
}


/* RANGE */

.wpnf-portfolio-range {
  padding: 115px 0;

  background: var(--wpnf-orange);
  color: #fff;
}

.wpnf-portfolio-range-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;

  gap: 100px;

  align-items: center;
}

.wpnf-portfolio-range .wpnf-kicker {
  color: #fff;
}

.wpnf-portfolio-range-copy h2 {
  max-width: 720px;

  margin: 14px 0 25px;

  font-size: clamp(44px, 4.8vw, 74px);
  line-height: .94;
  letter-spacing: -.055em;
}

.wpnf-portfolio-range-copy p {
  max-width: 620px;

  color: rgba(255,255,255,.86);

  font-size: 17px;
  line-height: 1.7;
}

.wpnf-portfolio-range-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 14px;
}

.wpnf-portfolio-range-cards article {
  min-height: 190px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: 28px;

  background: var(--wpnf-cream);
  color: var(--wpnf-black);

  border-radius: 10px;
}

.wpnf-portfolio-range-cards article:first-child {
  background: var(--wpnf-black);
  color: #fff;
}

.wpnf-portfolio-range-cards span {
  margin-bottom: auto;

  color: var(--wpnf-orange);

  font-size: 11px;
  font-weight: 900;
}

.wpnf-portfolio-range-cards article:first-child span {
  color: #fff;
}

.wpnf-portfolio-range-cards strong {
  font-size: 27px;
  line-height: 1;
}

.wpnf-portfolio-range-cards small {
  margin-top: 7px;

  color: #746d66;
}

.wpnf-portfolio-range-cards article:first-child small {
  color: #aaa;
}


/* CASE STUDY */

.wpnf-case-study {
  background: var(--wpnf-cream-light);
}

.wpnf-case-study-panel {
  min-height: 620px;

  display: grid;
  grid-template-columns: .72fr 1.28fr;

  gap: 75px;

  align-items: center;

  padding: 72px;

  background:
    radial-gradient(
      circle at 90% 0%,
      #292929 0,
      #121212 55%
    );

  color: #fff;

  border-radius: 18px;

  box-shadow:
    0 28px 70px rgba(0,0,0,.17);
}

.wpnf-case-study-copy h2 {
  margin: 14px 0 24px;

  font-size: clamp(44px, 4.5vw, 70px);
  line-height: .95;
  letter-spacing: -.055em;
}

.wpnf-case-study-copy > p {
  max-width: 580px;

  color: #bbb;

  font-size: 16px;
  line-height: 1.7;
}

.wpnf-case-study-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 10px;

  margin: 30px 0;
}

.wpnf-case-study-stats > div {
  padding: 15px;

  border: 1px solid #363636;
  border-radius: 7px;
}

.wpnf-case-study-stats strong,
.wpnf-case-study-stats span {
  display: block;
}

.wpnf-case-study-stats strong {
  color: var(--wpnf-orange);

  font-size: 11px;
}

.wpnf-case-study-stats span {
  margin-top: 5px;

  font-size: 13px;
  font-weight: 800;
}

.wpnf-case-study-browser {
  padding: 10px;

  background: #222;

  border: 1px solid #383838;
  border-radius: 12px;

  box-shadow:
    0 30px 50px rgba(0,0,0,.28);
}

.wpnf-case-study-browser .wpnf-image-placeholder {
  min-height: 460px;

  border: 0;

  background: #323232;
  color: #aaa;
}


/* CAPABILITIES */

.wpnf-portfolio-capabilities {
  background: #fff;
}

.wpnf-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  gap: 18px;
}

.wpnf-capability-grid article {
  min-height: 320px;

  display: flex;
  flex-direction: column;

  padding: 34px;

  background: var(--wpnf-cream);

  border: 1px solid #dfd1c2;
  border-radius: 10px;
}

.wpnf-capability-grid article > span {
  margin-bottom: auto;

  color: var(--wpnf-orange);

  font-size: 11px;
  font-weight: 900;
}

.wpnf-capability-grid h3 {
  margin: 65px 0 12px;

  font-size: 28px;
  line-height: 1;
}

.wpnf-capability-grid p {
  margin: 0;

  color: var(--wpnf-gray);

  font-size: 14px;
  line-height: 1.65;
}


/* GALLERY */

.wpnf-portfolio-gallery {
  padding: 115px 0;

  background: var(--wpnf-cream-light);
}

.wpnf-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 20px;
}

.wpnf-gallery-item {
  overflow: hidden;

  display: block;

  background: #fff;

  border: 1px solid var(--wpnf-border);
  border-radius: 11px;

  color: var(--wpnf-black);

  box-shadow: var(--wpnf-shadow-sm);

  transition:
    transform .2s ease,
    box-shadow .2s ease;
}

.wpnf-gallery-item:hover {
  transform: translateY(-4px);

  box-shadow: var(--wpnf-shadow);
}

.wpnf-gallery-large {
  grid-column: 1 / -1;
}

.wpnf-gallery-item .wpnf-image-placeholder {
  min-height: 340px;

  border: 0;
  border-radius: 0;
}

.wpnf-gallery-large .wpnf-image-placeholder {
  min-height: 520px;
}

.wpnf-gallery-caption {
  padding: 24px;
}

.wpnf-gallery-caption span,
.wpnf-gallery-caption strong {
  display: block;
}

.wpnf-gallery-caption span {
  margin-bottom: 8px;

  color: var(--wpnf-orange);

  font-size: 10px;
  font-weight: 900;
  letter-spacing: .13em;
}

.wpnf-gallery-caption strong {
  font-size: 23px;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

  .wpnf-portfolio-hero-grid,
  .wpnf-portfolio-range-grid,
  .wpnf-case-study-panel {
    grid-template-columns: 1fr;
  }

  .wpnf-portfolio-strip-grid {
    grid-template-columns: repeat(2, 1fr);

    gap: 30px 0;
  }

  .wpnf-portfolio-strip-grid > div:nth-child(2) {
    border-right: 0;
  }

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

  .wpnf-project-featured > .wpnf-image-placeholder {
    min-height: 390px;
  }

  .wpnf-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .wpnf-portfolio-hero-card {
    left: 25px;
  }

}


@media (max-width: 800px) {

  .wpnf-portfolio-grid,
  .wpnf-gallery-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-project-featured,
  .wpnf-gallery-large {
    grid-column: auto;
  }

}


@media (max-width: 700px) {

  .wpnf-portfolio-hero,
  .wpnf-portfolio-range,
  .wpnf-portfolio-gallery {
    padding: 75px 0;
  }

  .wpnf-portfolio-hero {
    background: var(--wpnf-cream-light);
  }

  .wpnf-portfolio-hero h1 {
    font-size: clamp(49px, 14vw, 72px);
  }

  .wpnf-portfolio-hero-image {
    min-height: 360px;
  }

  .wpnf-portfolio-hero-card {
    position: static;

    width: 100%;

    margin-top: 12px;
  }

  .wpnf-portfolio-strip-grid,
  .wpnf-portfolio-range-cards,
  .wpnf-capability-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-portfolio-strip-grid > div {
    padding: 0 0 25px;

    border-right: 0;
    border-bottom: 1px solid #3b3b3b;
  }

  .wpnf-portfolio-strip-grid > div:last-child {
    padding-bottom: 0;

    border-bottom: 0;
  }

  .wpnf-project-copy,
  .wpnf-project-featured .wpnf-project-copy {
    padding: 30px;
  }

  .wpnf-case-study-panel {
    min-height: auto;

    padding: 34px 26px;
  }

  .wpnf-case-study-browser .wpnf-image-placeholder {
    min-height: 300px;
  }

  .wpnf-gallery-item .wpnf-image-placeholder,
  .wpnf-gallery-large .wpnf-image-placeholder {
    min-height: 300px;
  }

}

/* =========================================================
   PORTFOLIO PROJECT GRID — REFINED LAYOUT
   ========================================================= */

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


/* FEATURED PROJECT */

.wpnf-project-featured {
  grid-column: 1 / -1;

  display: grid;
  grid-template-columns: 0.82fr 1.18fr;

  min-height: 500px;

  overflow: hidden;

  background: var(--wpnf-orange);
  color: #fff;

  border: 0;
  border-radius: 12px;
}

.wpnf-project-featured .wpnf-project-copy {
  padding: 52px;
}

.wpnf-project-featured > .wpnf-image-placeholder {
  min-height: 500px;
  height: 100%;
}


/* STANDARD PROJECT CARDS */

.wpnf-project-card:not(.wpnf-project-featured) {
  display: grid;
  grid-template-columns: 1fr;

  min-height: 0;

  background: var(--wpnf-cream-light);

  border: 1px solid var(--wpnf-border);
  border-radius: 12px;

  overflow: hidden;
}

.wpnf-project-card:not(.wpnf-project-featured) > .wpnf-image-placeholder {
  min-height: 260px;
  height: 260px;

  border: 0;
  border-radius: 0;
}

.wpnf-project-card:not(.wpnf-project-featured) .wpnf-project-copy {
  min-height: 300px;

  padding: 32px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}


/* COPY */

.wpnf-project-card h3 {
  margin: 0 0 14px;

  font-size: clamp(26px, 2vw, 34px);
  line-height: 1.03;
  letter-spacing: -.035em;
}

.wpnf-project-featured h3 {
  font-size: clamp(40px, 4vw, 60px);
}

.wpnf-project-card p {
  margin-bottom: 18px;

  color: var(--wpnf-gray);

  font-size: 14px;
  line-height: 1.65;
}

.wpnf-project-featured p {
  color: rgba(255,255,255,.86);
}


/* META TAGS */

.wpnf-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;

  margin: 4px 0 22px;
}

.wpnf-project-meta span {
  padding: 6px 9px;

  background: #fff;

  border: 1px solid #ddd3ca;
  border-radius: 4px;

  color: #45413d;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
}

.wpnf-project-featured .wpnf-project-meta span {
  background: rgba(255,255,255,.14);

  border-color: rgba(255,255,255,.28);

  color: #fff;
}


/* KEEP LINKS AT BOTTOM */

.wpnf-project-card .wpnf-text-link {
  margin-top: auto;
}


/* =========================================================
   DESKTOP VARIATION
   Slight stagger without stacking everything vertically
   ========================================================= */

@media (min-width: 1100px) {

  .wpnf-project-card:nth-child(2),
  .wpnf-project-card:nth-child(5) {
    transform: translateY(0);
  }

  .wpnf-project-card:nth-child(3),
  .wpnf-project-card:nth-child(4) {
    transform: translateY(0);
  }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

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

  .wpnf-project-featured > .wpnf-image-placeholder {
    min-height: 360px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

  .wpnf-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-project-featured {
    grid-column: auto;
  }

  .wpnf-project-featured .wpnf-project-copy,
  .wpnf-project-card:not(.wpnf-project-featured) .wpnf-project-copy {
    padding: 28px;
  }

  .wpnf-project-card:not(.wpnf-project-featured) > .wpnf-image-placeholder {
    min-height: 240px;
    height: 240px;
  }

}

/* =========================================================
   WPNFINITE CONTACT PAGE
   ========================================================= */

.wpnf-contact {
  width: 100vw;
  max-width: none;

  position: relative;
  left: 50%;

  margin-left: -50vw;
  margin-right: -50vw;

  background: #fff;
  color: var(--wpnf-black);

  overflow: hidden;
}


/* =========================================================
   HERO
   ========================================================= */

.wpnf-contact-hero {
  position: relative;

  padding: 110px 0 120px;

  background:
    linear-gradient(
      105deg,
      var(--wpnf-cream-light) 0%,
      var(--wpnf-cream-light) 51%,
      #eadccc 51%,
      #eadccc 100%
    );
}

.wpnf-contact-hero::before {
  content: "";

  position: absolute;
  left: 0;
  top: 0;

  width: 9px;
  height: 100%;

  background: var(--wpnf-orange);
}


.wpnf-contact-hero-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;

  gap: 90px;

  align-items: start;
}


/* HERO COPY */

.wpnf-contact-intro {
  padding-top: 35px;
}

.wpnf-contact-intro h1 {
  max-width: 700px;

  margin: 18px 0 28px;

  font-size: clamp(58px, 6vw, 94px);
  line-height: .89;
  letter-spacing: -.065em;
  font-weight: 900;
}

.wpnf-contact-intro h1 span {
  display: block;

  color: var(--wpnf-orange);
}

.wpnf-contact-lead {
  max-width: 620px;

  margin: 0 0 45px;

  color: var(--wpnf-gray);

  font-size: 18px;
  line-height: 1.7;
}


/* CONTACT POINTS */

.wpnf-contact-points {
  max-width: 650px;

  border-top: 1px solid #d9cec3;
}

.wpnf-contact-points > div {
  display: grid;
  grid-template-columns: 45px 1fr;

  gap: 15px;

  padding: 19px 0;

  border-bottom: 1px solid #d9cec3;
}

.wpnf-contact-points > div > span {
  padding-top: 3px;

  color: var(--wpnf-orange);

  font-size: 10px;
  font-weight: 900;
}

.wpnf-contact-points strong {
  display: block;

  margin-bottom: 4px;

  font-size: 16px;
}

.wpnf-contact-points p {
  margin: 0;

  color: var(--wpnf-gray);

  font-size: 13px;
  line-height: 1.55;
}


/* =========================================================
   FORM PANEL
   ========================================================= */

.wpnf-contact-form-wrap {
  position: relative;

  padding: 48px 50px 52px;

  background: #fff;

  border-radius: 12px;

  box-shadow:
    0 30px 70px rgba(40, 28, 18, .14);
}

.wpnf-contact-form-wrap::before {
  content: "";

  position: absolute;

  left: 0;
  top: 0;

  width: 100%;
  height: 7px;

  background: var(--wpnf-orange);

  border-radius: 12px 12px 0 0;
}


.wpnf-contact-form-header {
  max-width: 650px;

  margin-bottom: 32px;
}

.wpnf-contact-form-header > span {
  display: block;

  margin-bottom: 13px;

  color: var(--wpnf-orange);

  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
}

.wpnf-contact-form-header h2 {
  margin: 0 0 13px;

  font-size: clamp(32px, 3vw, 47px);
  line-height: .98;
  letter-spacing: -.045em;
}

.wpnf-contact-form-header p {
  max-width: 600px;

  margin: 0;

  color: var(--wpnf-gray);

  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================
   WPFORMS
   ========================================================= */

.wpnf-contact-form .wpforms-container {
  margin: 0 !important;
}

.wpnf-contact-form .wpforms-field {
  padding: 0 0 20px !important;
}

.wpnf-contact-form .wpforms-field-label {
  margin-bottom: 8px !important;

  color: var(--wpnf-black) !important;

  font-size: 12px !important;
  font-weight: 800 !important;
}


/* INPUTS */

.wpnf-contact-form input[type="text"],
.wpnf-contact-form input[type="email"],
.wpnf-contact-form input[type="tel"],
.wpnf-contact-form input[type="url"],
.wpnf-contact-form input[type="number"],
.wpnf-contact-form select,
.wpnf-contact-form textarea {

  width: 100% !important;
  max-width: none !important;

  min-height: 54px !important;

  padding: 13px 15px !important;

  background: var(--wpnf-cream-light) !important;

  border: 1px solid #d9cec3 !important;
  border-radius: 5px !important;

  color: var(--wpnf-black) !important;

  font-family: inherit !important;
  font-size: 15px !important;

  box-shadow: none !important;

  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
}


.wpnf-contact-form textarea {
  min-height: 150px !important;

  resize: vertical;
}


.wpnf-contact-form input:focus,
.wpnf-contact-form select:focus,
.wpnf-contact-form textarea:focus {

  outline: none !important;

  background: #fff !important;

  border-color: var(--wpnf-orange) !important;

  box-shadow:
    0 0 0 3px rgba(255, 102, 0, .12) !important;
}


/* DESCRIPTION / HELP TEXT */

.wpnf-contact-form .wpforms-field-description {
  margin-top: 6px !important;

  color: #777 !important;

  font-size: 11px !important;
}


/* CHECKBOXES + RADIO */

.wpnf-contact-form input[type="checkbox"],
.wpnf-contact-form input[type="radio"] {
  accent-color: var(--wpnf-orange);
}

.wpnf-contact-form .wpforms-field-checkbox li,
.wpnf-contact-form .wpforms-field-radio li {
  margin-bottom: 8px !important;
}


/* SUBMIT */

.wpnf-contact-form .wpforms-submit-container {
  padding-top: 8px !important;
}

.wpnf-contact-form button[type="submit"],
.wpnf-contact-form .wpforms-submit {

  width: auto !important;

  min-height: 54px !important;

  padding: 0 28px !important;

  background: var(--wpnf-orange) !important;
  color: #fff !important;

  border: 2px solid var(--wpnf-orange) !important;
  border-radius: 5px !important;

  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 900 !important;

  cursor: pointer;

  box-shadow: none !important;

  transition:
    background .18s ease,
    border-color .18s ease,
    transform .18s ease;
}


.wpnf-contact-form button[type="submit"]:hover,
.wpnf-contact-form .wpforms-submit:hover {

  background: var(--wpnf-black) !important;

  border-color: var(--wpnf-black) !important;

  transform: translateY(-2px);
}


/* ERRORS */

.wpnf-contact-form .wpforms-error {
  color: #b42318 !important;

  font-size: 11px !important;
}

.wpnf-contact-form input.wpforms-error,
.wpnf-contact-form textarea.wpforms-error,
.wpnf-contact-form select.wpforms-error {
  border-color: #b42318 !important;
}


/* =========================================================
   WHAT HAPPENS NEXT
   ========================================================= */

.wpnf-contact-next {
  padding: 120px 0;

  background: #fff;
}

.wpnf-contact-next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 18px;
}

.wpnf-contact-next-grid article {
  min-height: 330px;

  display: flex;
  flex-direction: column;

  padding: 34px;

  background: var(--wpnf-cream);

  border: 1px solid #ded0c1;
  border-radius: 10px;
}

.wpnf-contact-next-grid article > span {
  margin-bottom: auto;

  color: var(--wpnf-orange);

  font-size: 11px;
  font-weight: 900;
}

.wpnf-contact-next-grid h3 {
  margin: 65px 0 12px;

  font-size: 28px;
  line-height: 1.02;
}

.wpnf-contact-next-grid p {
  margin: 0;

  color: var(--wpnf-gray);

  font-size: 14px;
  line-height: 1.65;
}


/* =========================================================
   CAPABILITIES
   ========================================================= */

.wpnf-contact-capabilities {
  padding: 120px 0;

  background: var(--wpnf-orange);
  color: #fff;
}

.wpnf-contact-capabilities-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;

  gap: 100px;

  align-items: start;
}

.wpnf-contact-capabilities .wpnf-kicker {
  color: #fff;
}

.wpnf-contact-capabilities h2 {
  max-width: 650px;

  margin: 15px 0 0;

  font-size: clamp(43px, 4.5vw, 70px);
  line-height: .95;
  letter-spacing: -.055em;
}


.wpnf-contact-capability-list {
  border-top: 1px solid rgba(255,255,255,.35);
}

.wpnf-contact-capability-list a {
  display: grid;
  grid-template-columns: 50px 1fr 30px;

  gap: 10px;

  align-items: center;

  padding: 25px 5px;

  color: #fff;

  border-bottom: 1px solid rgba(255,255,255,.35);

  text-decoration: none;

  transition:
    padding-left .18s ease,
    background .18s ease;
}

.wpnf-contact-capability-list a:hover {
  padding-left: 14px;

  background: rgba(255,255,255,.08);
}

.wpnf-contact-capability-list span {
  font-size: 10px;
  font-weight: 900;
}

.wpnf-contact-capability-list strong {
  font-size: 19px;
}

.wpnf-contact-capability-list i {
  font-style: normal;

  font-size: 20px;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.wpnf-contact-bottom {
  padding: 105px 0;

  background: var(--wpnf-black);
  color: #fff;
}

.wpnf-contact-bottom-inner {
  display: grid;
  grid-template-columns: 1fr .8fr;

  gap: 100px;

  align-items: center;
}

.wpnf-contact-bottom h2 {
  max-width: 700px;

  margin: 13px 0 0;

  font-size: clamp(42px, 4.5vw, 68px);
  line-height: .95;
  letter-spacing: -.055em;
}

.wpnf-contact-bottom-inner > div:last-child > p {
  max-width: 570px;

  margin-bottom: 25px;

  color: #aaa;

  font-size: 16px;
  line-height: 1.7;
}


/* =========================================================
   FULL WIDTH PAGE TEMPLATE FIX
   ========================================================= */

.entry-content:has(.wpnf-contact),
.wp-block-post-content:has(.wpnf-contact),
.wpnfinite-content:has(.wpnf-contact) {

  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;
}


body:has(.wpnf-contact) main,
body:has(.wpnf-contact) .site-main,
body:has(.wpnf-contact) article,
body:has(.wpnf-contact) .entry-content {

  margin-top: 0;
  margin-bottom: 0;
}


body:has(.wpnf-contact) .entry-content {
  padding-top: 0;
  padding-bottom: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1050px) {

  .wpnf-contact-hero-grid,
  .wpnf-contact-capabilities-grid,
  .wpnf-contact-bottom-inner {
    grid-template-columns: 1fr;
  }

  .wpnf-contact-hero-grid {
    gap: 60px;
  }

  .wpnf-contact-intro {
    padding-top: 0;
  }

}


@media (max-width: 800px) {

  .wpnf-contact-next-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-contact-next-grid article {
    min-height: 250px;
  }

}


@media (max-width: 700px) {

  .wpnf-contact-hero,
  .wpnf-contact-next,
  .wpnf-contact-capabilities,
  .wpnf-contact-bottom {
    padding: 75px 0;
  }

  .wpnf-contact-hero {
    background: var(--wpnf-cream-light);
  }

  .wpnf-contact-intro h1 {
    font-size: clamp(49px, 14vw, 72px);
  }

  .wpnf-contact-form-wrap {
    padding: 38px 24px;
  }

  .wpnf-contact-capabilities-grid {
    gap: 55px;
  }

  .wpnf-contact-capability-list a {
    grid-template-columns: 38px 1fr 20px;
  }

  .wpnf-contact-capability-list strong {
    font-size: 16px;
  }

}

/* =========================================================
   WPNFINITE FINAL STABILIZATION LAYER
   Consolidated full-width, responsive, button, portfolio,
   services, and contact fixes.
   ========================================================= */

/* ---------- Shared sizing ---------- */

.wpnf-home,
.wpnf-about,
.wpnf-services,
.wpnf-portfolio,
.wpnf-contact,
.wpnf-home *,
.wpnf-about *,
.wpnf-services *,
.wpnf-portfolio *,
.wpnf-contact * {
  box-sizing: border-box;
}

.wpnf-shell {
  width: min(calc(100% - 64px), 1380px);
  max-width: 1380px;
  margin-inline: auto;
}

/* Custom marketing pages should always break out of the parent theme's
   editorial content container while their inner .wpnf-shell stays controlled. */
:is(.wpnf-about, .wpnf-services, .wpnf-portfolio, .wpnf-contact) {
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

:is(.entry-content, .wp-block-post-content, .wpnfinite-content, .site-main):has(
  :is(.wpnf-about, .wpnf-services, .wpnf-portfolio, .wpnf-contact)
) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.wpnfinite-container:has(
  :is(.wpnf-about, .wpnf-services, .wpnf-portfolio, .wpnf-contact)
) {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

body:has(:is(.wpnf-about, .wpnf-services, .wpnf-portfolio, .wpnf-contact)) main,
body:has(:is(.wpnf-about, .wpnf-services, .wpnf-portfolio, .wpnf-contact)) .site-main,
body:has(:is(.wpnf-about, .wpnf-services, .wpnf-portfolio, .wpnf-contact)) .entry-content {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* ---------- Buttons: one authoritative treatment ---------- */

.wpnf-btn {
  min-height: 46px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.01em;
  text-decoration: none;
  box-shadow: none;
  transition:
    background-color .18s ease,
    color .18s ease,
    border-color .18s ease,
    transform .18s ease;
}

.wpnf-btn:hover {
  transform: translateY(-1px);
  box-shadow: none;
}

.wpnf-btn-primary {
  background: var(--wpnf-orange);
  color: #fff;
  border: 2px solid var(--wpnf-orange);
}

.wpnf-btn-primary:hover {
  background: var(--wpnf-orange-dark);
  border-color: var(--wpnf-orange-dark);
  color: #fff;
}

.wpnf-btn-dark {
  background: var(--wpnf-black);
  color: #fff;
  border: 2px solid var(--wpnf-black);
}

.wpnf-btn-dark:hover {
  background: #292929;
  border-color: #292929;
  color: #fff;
}

.wpnf-btn-outline {
  background: transparent;
  color: var(--wpnf-black);
  border: 2px solid var(--wpnf-black);
}

.wpnf-btn-outline:hover {
  background: var(--wpnf-black);
  color: #fff;
}

.wpnf-btn-outline-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.68);
}

.wpnf-btn-outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--wpnf-black);
}

/* ---------- Services width and section cleanup ---------- */

.wpnf-services .wpnf-shell {
  width: min(calc(100% - 64px), 1380px);
  max-width: 1380px;
}

.wpnf-services-hero,
.wpnf-services-strip,
.wpnf-services-main,
.wpnf-services-ecosystem,
.wpnf-services-process,
.wpnf-services-engagements,
.wpnf-services-showcase,
.wpnf-final-cta {
  width: 100%;
}

/* ---------- Portfolio project grid ---------- */

.wpnf-portfolio .wpnf-shell {
  width: min(calc(100% - 64px), 1380px);
  max-width: 1380px;
}

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

.wpnf-project-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  min-height: 500px;
}

.wpnf-project-card:not(.wpnf-project-featured) {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 0;
}

.wpnf-project-card:not(.wpnf-project-featured) > .wpnf-image-placeholder {
  height: 280px;
  min-height: 280px;
}

.wpnf-project-card:not(.wpnf-project-featured) .wpnf-project-copy {
  min-height: 300px;
  padding: 32px;
}

/* ---------- Contact desktop ---------- */

.wpnf-contact .wpnf-shell {
  width: min(calc(100% - 64px), 1380px);
  max-width: 1380px;
}

.wpnf-contact-hero-grid {
  grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
}

.wpnf-contact-form-wrap {
  width: 100%;
  min-width: 0;
}

.wpnf-contact-form .wpforms-container,
.wpnf-contact-form .wpforms-form,
.wpnf-contact-form .wpforms-field-container {
  width: 100% !important;
  max-width: none !important;
}

.wpnf-contact-form .wpforms-field-row {
  max-width: none !important;
}

/* Keep WPForms from inheriting narrow parent-theme input widths. */
.wpnf-contact-form input[type="text"],
.wpnf-contact-form input[type="email"],
.wpnf-contact-form input[type="tel"],
.wpnf-contact-form input[type="url"],
.wpnf-contact-form input[type="number"],
.wpnf-contact-form select,
.wpnf-contact-form textarea {
  width: 100% !important;
  max-width: none !important;
}

/* ---------- Tablet ---------- */

@media (max-width: 1050px) {

  .wpnf-shell,
  .wpnf-services .wpnf-shell,
  .wpnf-portfolio .wpnf-shell,
  .wpnf-contact .wpnf-shell {
    width: min(calc(100% - 44px), 1380px);
  }

  /* About */
  .wpnf-about-hero-grid,
  .wpnf-about-ecosystem-grid,
  .wpnf-about-wordpress-grid {
    grid-template-columns: 1fr;
  }

  /* Services */
  .wpnf-services-hero-grid,
  .wpnf-services-ecosystem-grid,
  .wpnf-services-showcase-panel {
    grid-template-columns: 1fr;
  }

  /* Portfolio */
  .wpnf-portfolio-hero-grid,
  .wpnf-portfolio-range-grid,
  .wpnf-case-study-panel {
    grid-template-columns: 1fr;
  }

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

  .wpnf-project-featured > .wpnf-image-placeholder {
    min-height: 360px;
  }

  /* Contact: switch to a deliberate stacked layout before things get cramped. */
  .wpnf-contact-hero {
    padding: 80px 0;
    background: var(--wpnf-cream-light);
  }

  .wpnf-contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 46px;
    max-width: 860px;
    margin-inline: auto;
  }

  .wpnf-contact-intro {
    padding-top: 0;
  }

  .wpnf-contact-intro h1,
  .wpnf-contact-lead {
    max-width: 760px;
  }

  .wpnf-contact-points {
    max-width: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    border-top: 0;
  }

  .wpnf-contact-points > div {
    display: block;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--wpnf-border);
    border-radius: 8px;
  }

  .wpnf-contact-points > div > span {
    display: block;
    margin-bottom: 28px;
    padding: 0;
  }

  .wpnf-contact-form-wrap {
    padding: 42px;
    box-shadow: 0 18px 45px rgba(40,28,18,.12);
  }

  .wpnf-contact-capabilities {
    padding: 90px 0;
  }

  .wpnf-contact-capabilities-grid,
  .wpnf-contact-bottom-inner {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .wpnf-contact-capability-list {
    width: 100%;
  }

  .wpnf-contact-capability-list a {
    grid-template-columns: 48px 1fr 32px;
    min-height: 74px;
    padding: 18px 4px;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 700px) {

  .wpnf-shell,
  .wpnf-services .wpnf-shell,
  .wpnf-portfolio .wpnf-shell,
  .wpnf-contact .wpnf-shell {
    width: calc(100% - 30px);
  }

  .wpnf-section {
    padding: 72px 0;
  }

  /* Buttons */
  .wpnf-button-row {
    gap: 10px;
  }

  .wpnf-btn {
    min-height: 44px;
    padding: 0 18px;
  }

  /* Portfolio */
  .wpnf-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .wpnf-project-featured {
    grid-column: auto;
  }

  .wpnf-project-featured .wpnf-project-copy,
  .wpnf-project-card:not(.wpnf-project-featured) .wpnf-project-copy {
    padding: 28px;
  }

  .wpnf-project-card:not(.wpnf-project-featured) > .wpnf-image-placeholder {
    height: 240px;
    min-height: 240px;
  }

  /* Contact hero */
  .wpnf-contact-hero {
    padding: 62px 0 68px;
    background: var(--wpnf-cream-light);
  }

  .wpnf-contact-hero::before {
    width: 6px;
  }

  .wpnf-contact-hero-grid {
    gap: 36px;
  }

  .wpnf-contact-intro h1 {
    margin: 14px 0 22px;
    font-size: clamp(47px, 14vw, 67px);
    line-height: .9;
  }

  .wpnf-contact-lead {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.65;
  }

  .wpnf-contact-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .wpnf-contact-points > div {
    min-height: 150px;
    padding: 17px;
  }

  .wpnf-contact-points > div > span {
    margin-bottom: 22px;
  }

  .wpnf-contact-points strong {
    font-size: 15px;
    line-height: 1.1;
  }

  .wpnf-contact-points p {
    margin-top: 6px;
    font-size: 11px;
    line-height: 1.45;
  }

  /* Contact form */
  .wpnf-contact-form-wrap {
    padding: 32px 20px 26px;
    border-radius: 9px;
  }

  .wpnf-contact-form-header {
    margin-bottom: 26px;
  }

  .wpnf-contact-form-header h2 {
    font-size: 32px;
  }

  .wpnf-contact-form .wpforms-field,
  .wpnf-contact-form .wpforms-field-row,
  .wpnf-contact-form .wpforms-field-row-block {
    width: 100% !important;
    max-width: none !important;
  }

  .wpnf-contact-form .wpforms-field-row {
    display: block !important;
  }

  .wpnf-contact-form .wpforms-field-row-block {
    display: block !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
  }

  .wpnf-contact-form input[type="text"],
  .wpnf-contact-form input[type="email"],
  .wpnf-contact-form input[type="tel"],
  .wpnf-contact-form input[type="url"],
  .wpnf-contact-form input[type="number"],
  .wpnf-contact-form select,
  .wpnf-contact-form textarea {
    font-size: 16px !important;
  }

  .wpnf-contact-form button[type="submit"],
  .wpnf-contact-form .wpforms-submit {
    width: 100% !important;
    min-height: 50px !important;
  }

  /* Contact next steps */
  .wpnf-contact-next {
    padding: 68px 0;
  }

  .wpnf-contact-next .wpnf-section-heading {
    margin-bottom: 34px;
  }

  .wpnf-contact-next .wpnf-section-heading h2 {
    font-size: 38px;
  }

  .wpnf-contact-next-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wpnf-contact-next-grid article {
    min-height: auto;
    padding: 25px;
  }

  .wpnf-contact-next-grid article > span {
    margin-bottom: 40px;
  }

  .wpnf-contact-next-grid h3 {
    margin: 0 0 10px;
    font-size: 24px;
  }

  /* Orange capabilities */
  .wpnf-contact-capabilities {
    padding: 70px 0;
  }

  .wpnf-contact-capabilities-grid {
    gap: 36px;
  }

  .wpnf-contact-capabilities h2 {
    margin-top: 12px;
    font-size: 42px;
    line-height: .94;
  }

  .wpnf-contact-capability-list a {
    grid-template-columns: 34px 1fr 24px;
    min-height: 68px;
    padding: 17px 0;
  }

  .wpnf-contact-capability-list strong {
    font-size: 16px;
    line-height: 1.2;
  }

  .wpnf-contact-capability-list i {
    text-align: right;
    font-size: 17px;
  }

  /* Bottom CTA */
  .wpnf-contact-bottom {
    padding: 65px 0;
  }

  .wpnf-contact-bottom-inner {
    gap: 24px;
  }

  .wpnf-contact-bottom h2 {
    font-size: 39px;
  }
}

@media (max-width: 480px) {

  .wpnf-contact-points {
    grid-template-columns: 1fr;
  }

  .wpnf-contact-points > div {
    min-height: auto;
  }

  .wpnf-contact-points > div > span {
    margin-bottom: 18px;
  }

  .wpnf-contact-intro h1 {
    font-size: 48px;
  }

  .wpnf-contact-capabilities h2 {
    font-size: 38px;
  }
}
