/*
Theme Name: RJ Web Solutions
Description: A portfolio for an independent web developer and PPC specialist.
Version: 2.2.1
Requires at least: 6.6
Requires PHP: 7.4
Author: RJ Web Solutions
Text Domain: rj-web-solutions
License: GNU General Public License v2 or later
*/
:root {
  --rj-ink: #172326;
  --rj-muted: #465451;
  --rj-paper: #faf9f4;
  --rj-tint: #f0eee5;
  --rj-green: #d9f67d;
  --rj-line: #d8dcd1;
  --rj-dark: #19292a;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 5.2vw, 5.25rem); line-height: .99; letter-spacing: -.067em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.65rem); line-height: 1.02; letter-spacing: -.052em; }
h3 { font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.13; letter-spacing: -.036em; }
p { line-height: 1.58; }
a:focus-visible, button:focus-visible { outline: 3px solid #4b7014; outline-offset: 4px; }
.rj-wrap { width: min(100% - 5rem, 1240px); margin-inline: auto; }
.rj-prose { max-width: 820px; }
.rj-main, .wp-site-blocks { margin: 0; padding: 0; }
.rj-header { border-bottom: 1px solid var(--rj-line); }
.rj-header-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; min-height: 83px; padding-block: .9rem; }
.rj-brand a { display: inline-flex; align-items: center; gap: .65rem; color: inherit; font-weight: 750; letter-spacing: -.025em; text-decoration: none; }
.rj-mark { display: inline-grid; place-items: center; width: 40px; height: 40px; background: var(--rj-dark); color: var(--rj-green); border-radius: 9px; font-size: 1rem; font-weight: 850; }
.rj-nav { font-size: .94rem; font-weight: 630; --navigation-layout-justification-setting: flex-end; }
.rj-nav .wp-block-navigation__container { gap: .65rem 1.65rem; }
.rj-nav a:hover, .rj-nav .current-menu-item > a { text-decoration: underline; text-underline-offset: .25em; }
.rj-nav .wp-block-navigation-item:last-child > a { border: 1px solid var(--rj-line); padding: .52rem .85rem; border-radius: 999px; }
.rj-band { padding-block: clamp(3.8rem, 8vw, 7.15rem); }
.rj-tint { background: var(--rj-tint); }
.rj-hero { padding-block: clamp(3.5rem, 6.3vw, 6.3rem); }
.rj-hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.rj-hero h1 { text-wrap: initial; }
.rj-eyebrow { font-size: .73rem; letter-spacing: .13em; text-transform: uppercase; font-weight: 780; color: var(--rj-muted); margin-bottom: 1rem; }
.rj-lede { font-size: clamp(1.08rem, 1.75vw, 1.32rem); margin-top: 1.35rem; max-width: 42rem; }
.rj-hero .rj-lede { max-width: 35rem; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.6rem; }
.wp-block-button .wp-block-button__link { border: 1px solid var(--rj-dark); padding: .83rem 1.12rem; border-radius: 8px; background: var(--rj-dark); color: white; font-size: .95rem; font-weight: 700; line-height: 1.3; }
.wp-block-button .wp-block-button__link:hover { background: #354c4b; }
.wp-block-button.is-style-outline > .wp-block-button__link { color: var(--rj-ink); border: 1px solid #9aa6a0; background: transparent; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--rj-tint); }
.rj-project { background: var(--rj-dark); color: #fff; padding: clamp(.85rem, 2.4vw, 1.4rem); border-radius: 20px; box-shadow: 0 22px 40px -26px #19292a9c; }
.rj-project-head { padding: .25rem .2rem .85rem; display: flex; justify-content: space-between; gap: .55rem; align-items: center; }
.rj-project-label, .rj-project-brand { color: var(--rj-green); font-weight: 800; letter-spacing: .105em; font-size: .67rem; }
.rj-project-brand { color: #fff; }
.rj-project-image img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; display: block; border-radius: 10px; }
.rj-project .rj-link { color: #fff; margin: .9rem .2rem .1rem; }
.rj-project .rj-link a:hover { color: var(--rj-green); }
.rj-project a:focus-visible, .rj-contact a:focus-visible { outline-color: var(--rj-green); }
.rj-link { font-weight: 740; font-size: .93rem; }
.rj-link a { color: inherit; text-decoration: underline; text-decoration-color: #818d7b; text-underline-offset: 4px; }
.rj-link a:hover { text-decoration-thickness: 2px; }
.rj-cards, .rj-services-grid { display: grid; gap: 1.15rem; margin-top: 1.75rem; }
.rj-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rj-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rj-card, .rj-service { border: 1px solid var(--rj-line); border-radius: 15px; background: var(--rj-paper); }
.rj-card { overflow: hidden; }
.rj-card-image img { display: block; width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; background: var(--rj-dark); }
.rj-card:nth-child(2) .rj-card-image img { object-position: top center; }
.rj-card-body, .rj-service { padding: clamp(1.2rem, 2.8vw, 2.05rem); }
.rj-card-body .rj-eyebrow { margin-bottom: .55rem; }
.rj-card-body h3 + p, .rj-service h3 + p, .rj-card-body .rj-link, .rj-service .rj-link { margin-top: .8rem; }
.rj-service { display: flex; flex-direction: column; gap: .25rem; }
.rj-service .rj-link { padding-top: .75rem; margin-top: auto; }
.rj-about { background: #e4eddb; }
.rj-about > .rj-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem 4rem; }
.rj-copy p + p { margin-top: 1rem; }
.rj-contact { background: var(--rj-dark); color: #fff; }
.rj-contact-inner { max-width: 780px; }
.rj-contact .rj-eyebrow { color: var(--rj-green); }
.rj-contact h2 + p { max-width: 36rem; margin-top: 1rem; }
.rj-contact .wp-block-button .wp-block-button__link { background: var(--rj-green); color: var(--rj-ink); border-color: var(--rj-green); }
.rj-contact .wp-block-button .wp-block-button__link:hover { background: white; border-color: white; }
.rj-email { margin-top: .8rem; font-size: .94rem; }
.rj-email a { color: inherit; }
.rj-footer { padding-block: 1.7rem; }
.rj-footer-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.7rem; flex-wrap: wrap; }
.rj-muted, .rj-footer-link { color: var(--rj-muted); font-size: .87rem; }
.rj-footer-link a { color: inherit; }
.rj-intro { padding-bottom: clamp(2.75rem, 5vw, 4.5rem); }
.rj-article-band { padding-block: clamp(2.75rem, 5vw, 4.6rem); }
.rj-case-media { padding-block: 0; }
.rj-case-image img { width: min(100%, 960px); max-height: 520px; object-fit: cover; object-position: center; display: block; border-radius: 14px; }
.rj-case-section + .rj-case-section { margin-top: 2.4rem; }
.rj-case-section h2, .rj-article-band h2, .rj-intro + .rj-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.rj-prose h2 + p, .rj-prose p + .rj-link { margin-top: .9rem; }
.rj-case-actions { padding-top: 0; padding-bottom: 3rem; }
.wp-block-quote { margin: 0; padding: 1.1rem 1.4rem; border-left: 4px solid #739732; background: var(--rj-tint); }
.wp-block-quote cite { display: block; margin-top: .4rem; font-size: .88rem; }
.rj-standard { padding-block: clamp(3rem, 7vw, 6rem); min-height: 55vh; }
.rj-standard > * + *, .rj-standard .wp-block-post-content > * + * { margin-top: 1.25rem; }
.rj-standard img { max-width: 100%; height: auto; }
@media (max-width: 900px) {
  .rj-wrap { width: min(100% - 3rem, 1240px); }
  .rj-hero-grid { gap: 1.8rem; }
  h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
  .rj-nav .wp-block-navigation__container { gap: .6rem 1rem; }
}
@media (max-width: 690px) {
  .rj-wrap { width: calc(100% - 2rem); }
  .rj-header-row { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .rj-nav { font-size: .82rem; }
  .rj-nav .wp-block-navigation__container { gap: .25rem .85rem; }
  .rj-nav .wp-block-navigation-item:last-child > a { padding: .27rem .5rem; }
  .rj-hero-grid, .rj-services-grid, .rj-cards, .rj-about > .rj-wrap { grid-template-columns: minmax(0, 1fr); }
  .rj-hero h1 { max-width: 13ch; }
  .rj-project-image img { aspect-ratio: 16 / 10; }
  .rj-card-body, .rj-service { padding: 1.2rem; }
}
.rj-case-secondary { padding-top: 0; padding-bottom: 2rem; }

/* Portfolio art direction */
:root {
  --rj-ink: #191525;
  --rj-muted: #554d66;
  --rj-paper: #f8f5ff;
  --rj-tint: #ede9fb;
  --rj-green: #e4ff91;
  --rj-line: #d6cde7;
  --rj-dark: #161222;
  --rj-purple: #c8adff;
}
.rj-header, .rj-footer { background: var(--rj-dark); color: white; border-color: #383047; }
.rj-header { position: relative; z-index: 1; }
.rj-header-row { min-height: 88px; }
.rj-logo { display: inline-block; vertical-align: middle; line-height: 0; }
.rj-logo img { width: 150px; height: auto; }
.rj-nav a { color: white; }
.rj-nav .wp-block-navigation-item:last-child > a { border-color: #76658c; }
.rj-footer .rj-muted, .rj-footer-link { color: #cfc2e0; }
.rj-header a:focus-visible, .rj-footer a:focus-visible { outline-color: var(--rj-green); }
.rj-hero { background: #191427; color: white; padding-block: clamp(2.75rem, 5vw, 4.9rem); overflow: hidden; }
.rj-hero-grid { grid-template-columns: minmax(0, 1.21fr) minmax(0, .79fr); gap: clamp(1.8rem, 5vw, 5rem); }
.rj-hero h1 { font-size: clamp(3.4rem, 6.4vw, 6.45rem); line-height: .98; }
.rj-hero h1 em { font-style: normal; color: var(--rj-purple); }
.rj-hero .rj-eyebrow { color: var(--rj-green); }
.rj-hero .rj-lede { color: #e5ddf3; font-size: clamp(1rem, 1.35vw, 1.2rem); }
.rj-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link { background: var(--rj-green); color: var(--rj-dark); border-color: var(--rj-green); }
.rj-hero .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover { background: white; }
.rj-hero .is-style-outline > .wp-block-button__link { color: white; border-color: #837691; }
.rj-hero .is-style-outline > .wp-block-button__link:hover { background: #332a47; }
.rj-hero a:focus-visible { outline-color: var(--rj-green); }
.rj-portrait-stage {
  position: relative;
  isolation: isolate;
  aspect-ratio: .91;
  width: 100%;
  max-width: 465px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid #a68be9;
  border-radius: 34px 34px 8px 34px;
  background-color: #a88af1;
  background-image: linear-gradient(#fff3 1px, transparent 1px), linear-gradient(90deg, #fff3 1px, transparent 1px), radial-gradient(ellipse at 55% 25%, #ebd8ff 0%, #ad91f3 58%, #8561d6 100%);
  background-size: 30px 30px, 30px 30px, 100% 100%;
}
.rj-portrait-stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 12% 14% 20%;
  border: 1px solid #fff9;
  border-radius: 50%;
  box-shadow: 0 0 0 13px #fff2, 0 0 0 27px #fff2;
}
.rj-portrait { position: absolute; inset: 7% -1% 0 1%; display: flex; align-items: end; }
.rj-portrait img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; }
.rj-portrait-caption { position: absolute; bottom: 1.1rem; left: 1rem; padding: .62rem 1rem; background: #191427; color: white; border-left: 3px solid var(--rj-green); border-radius: 0 .5rem .5rem 0; }
.rj-portrait-name { font-size: 1rem; font-weight: 800; }
.rj-portrait-role { font-size: .76rem; color: #e5dafb; }
.rj-home-work .rj-cards { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.rj-card { border-radius: 21px; box-shadow: 0 14px 24px -23px #201236; }
.rj-home-work .rj-card:nth-child(2) { margin-top: 2rem; }
.rj-card-image img { aspect-ratio: 16 / 9; }
.rj-card:nth-child(2) .rj-card-image img { object-position: center; }
.rj-capabilities { background: #221b31; color: white; }
.rj-capabilities .rj-eyebrow { color: var(--rj-purple); }
.rj-services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.rj-capabilities .rj-service { background: #2c233e; border: 1px solid #5c4b75; border-radius: 6px 22px 22px 22px; }
.rj-capabilities .rj-service h3 { color: #f4ecff; }
.rj-capabilities .rj-service p { color: #e4d9f3; }
.rj-capabilities .rj-service .rj-link a { color: var(--rj-green); }
.rj-capabilities .rj-service a:focus-visible { outline-color: var(--rj-green); }
.rj-about { background: #cbb5f9; }
.rj-about-heading .rj-link { margin-top: 1rem; }
.rj-copy { font-size: 1.08rem; }
.rj-contact { background: #181321; }
.rj-intro { background: linear-gradient(120deg, #f8f5ff, #ebdefd); }
@media (max-width: 900px) {
  .rj-hero h1 { font-size: clamp(2.85rem, 6.4vw, 4.9rem); }
}
@media (max-width: 690px) {
  .rj-header-row { min-height: auto; }
  .rj-logo img { width: 122px; }
  .rj-nav .wp-block-navigation__container { gap: .3rem .68rem; }
  .rj-hero-grid, .rj-services-grid, .rj-home-work .rj-cards { grid-template-columns: minmax(0,1fr); }
  .rj-hero h1 { max-width: 14ch; }
  .rj-portrait-stage { justify-self: start; max-width: 420px; aspect-ratio: 1; }
  .rj-home-work .rj-card:nth-child(2) { margin-top: 0; }
}

.rj-service-intro {
  background-color: #2c2044;
  background-image: linear-gradient(110deg, #241a39 20%, #422d60 100%);
  color: #fff;
  border-bottom: 4px solid var(--rj-purple);
}
.rj-service-intro .rj-eyebrow { color: var(--rj-green); }
.rj-service-intro .rj-lede { color: #f0e6fd; }
.rj-project-preview {
  display: grid;
  justify-items: start;
  gap: clamp(.75rem, 2vw, 1.35rem);
  padding: clamp(.65rem, 2vw, 1.4rem);
  background: #201930;
  border-radius: 18px;
}
.rj-case-logo {
  padding: .45rem .65rem;
  background: #080608;
  border-radius: 8px;
}
.rj-case-logo img {
  display: block;
  width: auto;
  max-width: min(170px, 52vw);
  height: auto;
  max-height: 68px;
  object-fit: contain;
}
.rj-case-screenshot { width: 100%; }
.rj-case-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.rj-case-screenshot .wp-element-caption {
  margin: .65rem .15rem 0;
  color: #e4d8f2;
  text-align: left;
  font-size: .86rem;
}
.rj-card-image img { aspect-ratio: 2 / 1; }
.rj-testimonial {
  background: #e9defc;
  border-left-color: #6945a2;
  border-radius: 0 14px 14px 0;
  padding: clamp(1.2rem, 3vw, 2.1rem);
}
.rj-testimonial p { font-size: clamp(1.05rem, 1.6vw, 1.23rem); }
.rj-testimonial cite { color: #4d386c; font-weight: 800; margin-top: .8rem; }
@media (prefers-reduced-motion: no-preference) {
  .rj-card-image { overflow: hidden; }
  .rj-card-image img { transition: transform .28s ease-out; }
  .rj-card:is(:hover, :focus-within) .rj-card-image img { transform: scale(1.025); }
}

.rj-showcase { color: #f9efff; background: #191428; }
.rj-showcase .rj-eyebrow { color: var(--rj-green); }
.rj-showcase-intro { margin-top: .9rem; max-width: 40rem; color: #e6dcf5; }
.rj-showcase-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1rem; margin-top: 2rem; }
.rj-lab-form, .rj-lab-output { padding: clamp(1rem, 3vw, 1.8rem); border: 1px solid #625076; background: #241b36; border-radius: 14px; }
.rj-lab-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rj-lab-form legend { font-size: 1.25rem; font-weight: 800; padding: 0; margin-bottom: .8rem; }
.rj-lab-form label { display: block; font-weight: 650; }
.rj-lab-form select { width: 100%; font: inherit; padding: .6rem; margin-block: .35rem .6rem; color: #fff; border: 1px solid #8875a5; background: #352947; border-radius: .45rem; }
.rj-fake-message { padding: .65rem .85rem; border-left: 2px solid var(--rj-purple); background: #191428; color: #e6dbf6; margin-bottom: .85rem; }
.rj-lab-form .rj-toggle { display: flex; gap: .55rem; align-items: center; margin-top: .55rem; }
.rj-toggle input { accent-color: var(--rj-green); inline-size: 1.05rem; block-size: 1.05rem; }
.rj-showcase-buttons { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.rj-showcase-buttons button, .rj-blueprint { cursor: pointer; font: inherit; font-size: .88rem; font-weight: 800; background: var(--rj-green); color: var(--rj-ink); border: 1px solid transparent; border-radius: .5rem; padding: .55rem .85rem; }
.rj-showcase-buttons .rj-quiet-button { background: transparent; color: #fff; border-color: #8875a5; }
.rj-lab-form :is(select,input,button):focus-visible, .rj-blueprint:focus-visible { outline: 2px solid var(--rj-green); outline-offset: 3px; }
.rj-pipeline { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .4rem; }
.rj-pipeline li { padding: .6rem .4rem; text-align: center; font-size: .82rem; border: 1px solid #716186; border-radius: .5rem; }
.rj-pipeline small { display: block; color: #e4d9f3; }
.rj-pipeline li[data-state="Queued"], .rj-pipeline li[data-state="Duplicate"] { border-color: #ffca89; }
.rj-pipeline li:is([data-state="Saved"],[data-state="Prepared"]) { border-color: var(--rj-green); }
.rj-lab-status { font-weight: 800; color: var(--rj-green); margin-top: .9rem; }
.rj-lab-log { padding-left: 1.15rem; margin-bottom: 0; font-size: .9rem; }
.rj-triage { margin-top: 1rem; border-top: 1px solid #716186; padding-top: .9rem; }
.rj-triage h3 { font-size: 1.08rem; }
.rj-triage p { margin-top: .4rem; font-size: .92rem; }
.rj-comparison { padding: clamp(1rem,3vw,2.15rem); margin-top: 2rem; background: var(--rj-paper); border: 1px solid var(--rj-line); border-radius: 18px; }
.rj-comparison > p { margin-top: .55rem; }
.rj-comparison-switches button { color: var(--rj-ink); background: #e8ddfa; border-color: #d0bde9; }
.rj-comparison-switches button[aria-pressed="true"] { color: white; background: #33244b; border-color: #33244b; }
.rj-comparison-panel { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: clamp(.85rem, 2.5vw, 1.6rem); align-items: start; margin-top: 1rem; }
.rj-comparison-panel img { display: block; width: 100%; height: auto; border-radius: 9px; }
.rj-build-notes h4 { margin: 0 0 .4rem; font-size: 1.05rem; }
.rj-build-notes details { border-bottom: 1px solid var(--rj-line); padding: .55rem 0; }
.rj-build-notes summary { cursor: pointer; font-weight: 800; }
.rj-build-notes details p { margin: .45rem 0 .15rem; font-size: .93rem; }
.rj-portrait-stage:has(.rj-blueprint:not([hidden])) { cursor: pointer; }
.rj-blueprint { position: absolute; top: .85rem; right: .85rem; z-index: 2; background: #221937; color: #fff; border-color: #e0d0ff; padding: .42rem .65rem; }
.rj-blueprint-note { position: absolute; z-index: 2; bottom: 4.75rem; left: 1rem; right: 1rem; width: fit-content; max-width: calc(100% - 2rem); padding: .45rem .65rem; background: #10243c; color: #e4f4ff; border: 1px solid #91d6ff; font-size: .86rem; }
.rj-portrait-stage.is-blueprint { background-color: #17466e; background-image: linear-gradient(#c4efff42 1px, transparent 1px), linear-gradient(90deg,#c4efff42 1px, transparent 1px), radial-gradient(ellipse at 45% 30%, #337bb0, #102c49); border-color: #a0dbff; }
.rj-portrait-stage.is-blueprint .rj-portrait img { filter: contrast(1.16) sepia(.25) hue-rotate(145deg); }
.rj-portrait-stage.is-blueprint .rj-blueprint { background: #e3f5ff; color: #10243c; }
[data-rj-switches][hidden], [data-rj-panel][hidden], [data-rj-blueprint][hidden], [data-rj-blueprint-note][hidden], [data-rj-triage][hidden] { display: none; }
@media (max-width: 690px) {
  .rj-showcase-grid, .rj-comparison-panel { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 420px) {
  .rj-pipeline { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
