/* ============================================================
   rsribeiro.site — /hire and /work centered redesign
   Hand-shipped: not built by Encore. The versioned copy lives in
   assets/hand-shipped/ and is uploaded to public/build on deploy.
   Self-contained stylesheet loaded only on /hire and /work,
   after the main bundle. Centered compositions throughout.
   Palette and type follow the site (DM Sans / DM Serif Display,
   navy #2c3e50, turquoise #40e0d0, mint page background).
   ============================================================ */
:root{
  --rx-ink:#1f2a38;
  --rx-navy:#2c3e50;
  --rx-turquoise:#40e0d0;
  --rx-turquoise-dark:#14706b;
  --rx-surface:#ffffff;
  --rx-border:#e2e8f0;
  --rx-text:#334155;
  --rx-muted:#475569;
  --rx-radius-card:1rem;
  --rx-shadow-card:0 10px 30px -12px rgba(31,42,56,.18);
  --rx-shadow-lift:0 18px 38px -16px rgba(31,42,56,.28);
}

/* ---------- Shared page frame — centered column ---------- */
.hire-page,
.work-page{
  box-sizing:border-box;
  max-width:66rem;
  margin:0 auto;
  padding:4.25rem 1.25rem 3rem;
  color:var(--rx-text);
  font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-size:1rem;
  line-height:1.7;
  text-align:center;
}
.hire-page *,
.work-page *{box-sizing:border-box}
.hire-page h1,
.work-page h1{
  font-family:'DM Serif Display',Georgia,'Times New Roman',serif;
  font-weight:400;
  color:var(--rx-navy);
  font-size:clamp(2.1rem,4.5vw,3.35rem);
  line-height:1.12;
  margin:0 auto;
  max-width:22ch;
  text-wrap:balance;
}
.hire-page h2,
.hire-page h3,
.work-page h2{
  font-family:'DM Serif Display',Georgia,'Times New Roman',serif;
  font-weight:400;
  color:var(--rx-navy);
}
/* Resets written with zero specificity (:where) so every rule below wins. */
:where(.hire-page, .work-page) p{margin:0;text-wrap:pretty}
:where(.hire-page, .work-page) a{color:var(--rx-turquoise-dark)}
.hire-page :focus-visible,
.work-page :focus-visible{outline:3px solid var(--rx-turquoise-dark);outline-offset:2px;border-radius:4px}

/* ---------- Eyebrow ---------- */
.hire-eyebrow,
.work-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  color:var(--rx-turquoise-dark);
  font-size:.8125rem;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin:0 0 .9rem;
}
.hire-eyebrow .hire-dot,
.hire-cta-kicker .hire-dot{
  width:.55rem;
  height:.55rem;
  border-radius:50%;
  background:#12b886;
  box-shadow:0 0 0 4px rgba(18,184,134,.18);
  display:inline-block;
}
.hire-eyebrow{display:inline-flex}
.work-eyebrow::before,
.work-eyebrow::after{
  content:"";
  width:1.6rem;
  height:2px;
  background:var(--rx-turquoise);
  display:inline-block;
}

/* ---------- Primary button (pill) ---------- */
.hire-cta-btn{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  background:var(--rx-turquoise);
  color:var(--rx-ink);
  font-weight:700;
  font-size:1.05rem;
  text-decoration:none;
  border-radius:.75rem;
  padding:.9rem 1.6rem;
  min-height:44px;
  transition:background-color .15s ease,color .15s ease,transform .15s ease;
}
.hire-cta-btn:hover,
.hire-cta-btn:focus-visible{background:var(--rx-turquoise-dark);color:#fff;transform:translateY(-1px)}
.hire-cta-btn .hire-arr{transition:transform .15s ease}
.hire-cta-btn:hover .hire-arr{transform:translateX(3px)}

/* Secondary (email) button inside the navy closing block: outline on navy so
   the two paths (Upwork / email) read as one row without competing. */
.hire-cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem;
  justify-content:center;
  align-items:center;
}
.hire-cta-btn--email{
  background:transparent;
  color:#fff;
  border:2px solid rgba(64,224,208,.65);
}
.hire-cta-btn--email:hover,
.hire-cta-btn--email:focus-visible{
  background:rgba(64,224,208,.16);
  color:#fff;
  border-color:var(--rx-turquoise);
}

/* FAQ block: the visible counterpart of the FAQPage structured data in the
   head (Google requires marked-up content to be visible on the page). Native
   <details> so it works without JavaScript. */
.hire-faq{margin-top:3.25rem}
.hire-faq h2{
  font-size:clamp(1.5rem,2.6vw,2rem);
  margin:0 0 1.5rem;
  text-align:center;
}
.hire-faq-list{max-width:48rem;margin:0 auto;text-align:left}
.hire-faq-item{
  background:var(--rx-surface);
  border:1px solid var(--rx-border);
  border-radius:.9rem;
  box-shadow:var(--rx-shadow-card);
  padding:1rem 1.25rem;
  margin-bottom:.8rem;
}
.hire-faq-item summary{
  cursor:pointer;
  font-weight:600;
  color:var(--rx-text);
  font-size:1.02rem;
  list-style:none;
  position:relative;
  padding-right:1.75rem;
}
.hire-faq-item summary::-webkit-details-marker{display:none}
.hire-faq-item summary::after{
  content:'+';
  position:absolute;
  right:.15rem;
  top:-.15rem;
  font-family:'DM Serif Display',Georgia,serif;
  font-size:1.35rem;
  line-height:1.2;
  color:var(--rx-turquoise-dark);
}
.hire-faq-item[open] summary::after{content:'−'}
.hire-faq-item p{color:var(--rx-muted);margin:.65rem 0 0;font-size:.98rem;line-height:1.65}

/* ============================================================
   /hire
   ============================================================ */
.hire-hero{padding:0 0 0}
.hire-lede{
  font-size:1.1rem;
  line-height:1.65;
  max-width:44rem;
  margin:1.3rem auto 1.9rem;
  color:var(--rx-text);
}

/* Credential card */
.hire-cred-card{
  background:var(--rx-surface);
  border:1px solid var(--rx-border);
  border-radius:var(--rx-radius-card);
  box-shadow:var(--rx-shadow-card);
  padding:1.6rem 1.6rem 1.35rem;
  max-width:28rem;
  margin:2.4rem auto 0;
  text-align:left;
}
.hire-cred-head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.75rem;
  padding-bottom:1rem;
  border-bottom:1px solid var(--rx-border);
  text-align:center;
}
.hire-cred-title{font-weight:700;color:var(--rx-navy);font-size:.95rem;letter-spacing:.02em}
.hire-badge{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  background:rgba(64,224,208,.16);
  border:1px solid rgba(20,112,107,.45);
  color:var(--rx-turquoise-dark);
  font-weight:700;
  font-size:.85rem;
  border-radius:9999px;
  padding:.35rem .8rem;
  white-space:nowrap;
}
.hire-cred-rows{margin:.4rem 0 0}
.hire-cred-rows>div{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:1rem;
  padding:.7rem 0;
  border-bottom:1px solid #eef2f6;
}
.hire-cred-rows>div:last-child{border-bottom:none}
.hire-cred-rows dt{color:var(--rx-muted);font-size:.9rem}
.hire-cred-rows dd{
  margin:0;
  font-family:'DM Serif Display',Georgia,serif;
  font-size:1.5rem;
  line-height:1;
  color:var(--rx-navy);
}
.hire-stars{font-size:.72rem;letter-spacing:.15em;color:#f0a500;font-family:'DM Sans',sans-serif;vertical-align:.18em;margin-left:.35rem}
.hire-cred-foot{
  font-size:.87rem;
  color:#5b6b7e;
  margin:.9rem 0 0;
  padding-top:.9rem;
  border-top:1px dashed var(--rx-border);
  text-align:center;
}

/* ---------- Testimonials — feedback written by clients on Upwork ----------
   Sits under the track record card and is left aligned on purpose: these
   paragraphs are too long to read well centered. */
.hire-testi{margin-top:3.25rem}
.hire-testi h2{font-size:clamp(1.5rem,2.6vw,2rem);margin:0 0 .8rem}
.hire-testi-lede{color:var(--rx-muted);max-width:48rem;margin:0 auto 1.5rem}
.hire-testi-chips{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.45rem;
  max-width:44rem;
  margin:0 auto 2.1rem;
}
.hire-testi-chips span{
  font-size:.78rem;
  font-weight:600;
  color:var(--rx-turquoise-dark);
  background:rgba(64,224,208,.13);
  border-radius:9999px;
  padding:.28rem .72rem;
}
.hire-testi-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.25rem;
  text-align:left;
}
.hire-quote{
  margin:0;
  display:flex;
  flex-direction:column;
  gap:1rem;
  background:var(--rx-surface);
  border:1px solid var(--rx-border);
  border-radius:var(--rx-radius-card);
  box-shadow:var(--rx-shadow-card);
  padding:1.6rem 1.6rem 1.35rem;
}
.hire-quote blockquote{margin:0}
.hire-quote blockquote p{
  font-size:1.02rem;
  line-height:1.65;
  color:var(--rx-ink);
  text-wrap:pretty;
}
.hire-quote-meta{
  margin-top:auto;
  padding-top:.95rem;
  border-top:1px dashed var(--rx-border);
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.5rem;
  font-size:.86rem;
  color:var(--rx-muted);
}
.hire-quote-stars{color:#f0a500;font-size:.78rem;letter-spacing:.12em}
.hire-quote-rating{font-weight:700;color:var(--rx-navy);font-size:.9rem}
.hire-quote-scope{flex:1 1 100%;font-weight:500}
.hire-testi-note{
  font-size:.88rem;
  color:var(--rx-muted);
  max-width:44rem;
  margin:1.7rem auto 0;
}

/* Services */
.hire-sec{margin-top:3.25rem}
.hire-sec-intro{
  font-family:'DM Serif Display',Georgia,serif;
  font-size:clamp(1.5rem,2.6vw,2rem);
  color:var(--rx-navy);
  max-width:30ch;
  line-height:1.25;
  margin:0 auto 2.4rem;
  text-wrap:balance;
}
.hire-cards{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.25rem;
}
.hire-card{
  background:var(--rx-surface);
  border:1px solid var(--rx-border);
  border-radius:var(--rx-radius-card);
  padding:1.7rem 1.7rem 1.55rem;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:.15rem;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.hire-card:hover{
  transform:translateY(-3px);
  box-shadow:var(--rx-shadow-lift);
  border-color:rgba(64,224,208,.7);
}
.hire-card-no{
  font-family:'DM Serif Display',Georgia,serif;
  font-size:1.05rem;
  color:var(--rx-turquoise-dark);
  margin-bottom:.35rem;
}
.hire-card h2{font-size:1.32rem;line-height:1.25;margin:0 0 .5rem;text-wrap:balance}
.hire-card p{margin:0 0 1rem;font-size:.98rem;max-width:50ch}
.hire-tags{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.4rem;
  margin-top:auto;
}
.hire-tags span{
  font-size:.76rem;
  font-weight:500;
  color:var(--rx-muted);
  border:1px solid var(--rx-border);
  border-radius:9999px;
  padding:.22rem .6rem;
  background:#f7faf9;
}

/* How I work */
.hire-how{margin-top:3.25rem}
.hire-how h2{font-size:clamp(1.5rem,2.6vw,2rem);margin:0 0 1.6rem}
.hire-how-list{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:2rem;
  list-style:none;
  padding:0;
  margin:0;
}
.hire-how-list li{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:.85rem;
}
.hire-how-list li+li{margin-top:0}
.hire-tick{
  flex:none;
  width:1.75rem;
  height:1.75rem;
  border-radius:50%;
  background:rgba(20,112,107,.12);
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.hire-tick svg{display:block}
.hire-how-list li>span:last-child{font-size:1.06rem;font-weight:500;max-width:22rem}

/* Closing CTA */
.hire-cta{
  background:var(--rx-navy);
  border-radius:1.25rem;
  padding:2.9rem 2rem 2.5rem;
  margin-top:3.25rem;
  text-align:center;
}
.hire-cta-kicker{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  color:#9fe8de;
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.07em;
  text-transform:uppercase;
  margin:0 0 1.35rem;
}
.hire-cta-note{
  color:rgba(255,255,255,.82);
  font-size:.95rem;
  max-width:36rem;
  margin:1.15rem auto 0;
}

/* Foot nav — these pages are server-rendered without the Vue chrome,
   so the small nav line at the end is the only way back into the site. */
.hire-foot,
.work-foot{
  margin:2.6rem auto 0;
  font-size:.92rem;
  color:var(--rx-muted);
  max-width:46rem;
  line-height:1.9;
}
.hire-foot a,
.work-foot a{font-weight:500}
.hire-foot a:hover,
.work-foot a:hover{text-decoration:underline}

/* ============================================================
   /work
   ============================================================ */
.work-head{padding:0}
.work-lede{
  font-size:1.1rem;
  line-height:1.65;
  max-width:50rem;
  margin:1.3rem auto 0;
  color:var(--rx-text);
}
.work-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1.25rem;
  margin-top:2rem;
}
.work-case{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:.15rem;
  background:var(--rx-surface);
  border:1px solid var(--rx-border);
  border-radius:var(--rx-radius-card);
  padding:1.8rem 1.8rem 1.6rem;
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.work-case:hover,
.work-case:focus-visible{
  transform:translateY(-3px);
  box-shadow:var(--rx-shadow-lift);
  border-color:rgba(64,224,208,.7);
}
.work-case-caps{
  font-size:.75rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--rx-turquoise-dark);
  opacity:.85;
  margin:0 0 .6rem;
}
.work-case h2{font-size:1.5rem;line-height:1.22;margin:0 0 .6rem;transition:color .15s ease;text-wrap:balance}
.work-case:hover h2{color:var(--rx-turquoise-dark)}
.work-case p{margin:0 0 1rem;max-width:48ch}
.work-case-stats{
  display:flex;
  flex-wrap:wrap;
  gap:.45rem;
  justify-content:center;
  margin-top:auto;
  margin-bottom:.5rem;
}
.work-case-stats>span{
  font-size:.78rem;
  font-weight:500;
  color:var(--rx-turquoise-dark);
  background:rgba(64,224,208,.13);
  border-radius:9999px;
  padding:.24rem .68rem;
}
.work-case-more{
  margin-top:0;
  padding-top:.5rem;
  font-weight:600;
  color:var(--rx-turquoise-dark);
  display:inline-flex;
  align-items:center;
  gap:.4rem;
}
.work-case-more>span{transition:transform .15s ease}
.work-case:hover .work-case-more>span{transform:translateX(4px)}

.work-pending{
  margin:2rem 0 0;
  font-size:.95rem;
  font-style:italic;
  color:var(--rx-muted);
}

/* Hire strip */
.work-strip{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:1.2rem;
  background:var(--rx-navy);
  border-radius:1.15rem;
  padding:2.1rem 1.9rem;
  margin-top:3.25rem;
  text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease;
}
.work-strip:hover{transform:translateY(-2px);box-shadow:0 18px 40px -14px rgba(31,42,56,.45)}
.work-strip-title{
  font-family:'DM Serif Display',Georgia,serif;
  font-size:clamp(1.25rem,2.2vw,1.6rem);
  color:#fff;
  line-height:1.2;
}
.work-strip-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--rx-turquoise);
  color:var(--rx-ink);
  font-weight:700;
  font-size:1rem;
  border-radius:.75rem;
  padding:.7rem 1.45rem;
  min-height:44px;
  white-space:nowrap;
  transition:background-color .15s ease,color .15s ease;
}
.work-strip:hover .work-strip-btn{background:var(--rx-turquoise-dark);color:#fff}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width:820px){
  .hire-cards{grid-template-columns:1fr}
  .hire-testi-grid{grid-template-columns:1fr}
  .hire-how-list{grid-template-columns:1fr;gap:1.1rem}
  .work-grid{grid-template-columns:1fr}
}
@media (max-width:640px){
  .hire-page,
  .work-page{padding:3.25rem 1.1rem 2.5rem}
  .hire-hero h1,
  .work-page h1{font-size:clamp(1.9rem,7.5vw,2.4rem)}
  .hire-cta{padding:2.2rem 1.25rem 2rem}
}
@media (prefers-reduced-motion:reduce){
  .hire-page *,
  .work-page *{transition:none!important}
}
