/* ==========================================================================
   Automation showcase — one page, read top to bottom
   ========================================================================== */
.au{ font-family: Roboto, sans-serif; color: #4F4F4F; background: #fff; }
.au__wrap{ max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---- hero ---- */
.au__hero{ background: #061526; padding: 84px 0 86px; position: relative; overflow: hidden; }
.au__hero::after{
  content: ""; position: absolute; top: -80px; right: -60px; width: 520px; height: 520px;
  background: radial-gradient(circle at 60% 40%, rgba(248,92,112,.22), rgba(248,92,112,0) 62%);
  pointer-events: none;
}
.au__eyebrow{
  font-family: Poppins, sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: 2.4px; text-transform: uppercase; color: #F85C70;
  display: inline-flex; align-items: center; gap: 13px; margin-bottom: 22px;
}
.au__eyebrow::before{ content: ""; width: 34px; height: 3px; background: #F85C70; }
.au__title{
  font-family: Poppins, sans-serif; font-size: 50px; font-weight: 600; line-height: 1.16;
  color: #fff; margin: 0 0 22px; max-width: 840px; position: relative;
}
.au__lede{ margin: 0; font-size: 19px; line-height: 1.66; color: #C6CFDA; max-width: 720px; position: relative; }

/* ---- tools strip ---- */
.au__tools{ background: #F3F3F3; border-bottom: 1px solid #E4E4E4; padding: 26px 0; }
.au__toolsinner{ display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.au__toolslabel{
  font-family: Poppins, sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 1.7px; text-transform: uppercase; color: #767676; white-space: nowrap;
}
.au__toolslist{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; }
.au__toolslist li{
  font-size: 13.5px; font-weight: 500; color: #3B3B3B; background: #fff;
  border: 1px solid #E0E0E0; padding: 7px 14px; border-radius: 4px;
}

/* ---- section heads ---- */
.au__sectionhead{ max-width: 720px; margin: 0 0 44px; }
.au__kicker{
  font-family: Poppins, sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: 2.2px; text-transform: uppercase; color: #D63A4F;
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.au__kicker::before{ content: ""; width: 26px; height: 3px; background: #F85C70; }
.au__h2{ font-family: Poppins, sans-serif; font-size: 36px; font-weight: 600; line-height: 1.24; color: #151515; margin: 0 0 12px; }
.au__sublede{ margin: 0; font-size: 16.5px; line-height: 1.7; color: #4F4F4F; }

/* ---- project blocks ---- */
.au__work{ padding: 78px 0 20px; }
.au__block{
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
  padding: 44px 0; border-top: 1px solid #EDEDED;
}
.au__block:first-of-type{ border-top: none; padding-top: 0; }
.au__block--flip .au__media{ order: 2; }

.au__media{ min-width: 0; }
.au-shot{
  display: block; position: relative; background: #FAFAFA; border: 1px solid #E7E7E7;
  border-radius: 12px; padding: 16px; overflow: hidden; transition: box-shadow .3s ease, border-color .3s ease;
}
.au-shot:hover{ box-shadow: 0 14px 34px rgba(0,0,0,.10); border-color: #DCDCDC; }
.au-shot img{ width: 100%; height: auto; display: block; border-radius: 6px; }
.au-shot__zoom{
  position: absolute; right: 14px; bottom: 14px;
  font-family: Poppins, sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: .3px;
  color: #fff; background: rgba(10,10,15,.82); padding: 6px 12px; border-radius: 999px;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.au-shot:hover .au-shot__zoom{ opacity: 1; transform: translateY(0); }

.au__copy{ min-width: 0; }
.au__num{
  font-family: Poppins, sans-serif; font-size: 13px; font-weight: 600;
  color: #E3B6BD; letter-spacing: 1px; display: block; margin-bottom: 8px;
}
.au__blockkicker{
  font-family: Poppins, sans-serif; font-size: 11.5px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase; color: #D63A4F; display: block; margin-bottom: 10px;
}
.au__h3{ font-family: Poppins, sans-serif; font-size: 26px; font-weight: 600; line-height: 1.28; color: #151515; margin: 0 0 14px; }
.au__text{ margin: 0 0 16px; font-size: 16px; line-height: 1.72; color: #4F4F4F; }
.au__detail{
  padding: 14px 0 14px 17px; border-left: 3px solid #F85C70;
  background: #FDF6F7; border-radius: 0 8px 8px 0;
  font-size: 14.5px; line-height: 1.68; color: #3B3B3B;
}
.au__detail strong{ font-family: Poppins, sans-serif; font-weight: 600; color: #151515; }
.au__chips{ list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.au__chips li{
  font-size: 12.5px; font-weight: 500; color: #5A5A5A;
  background: #F5F5F5; border: 1px solid #E7E7E7; padding: 5px 11px; border-radius: 999px;
}

/* ---- how I work ---- */
.au__how{ background: #F3F3F3; padding: 72px 0; margin-top: 60px; }
.au__howgrid{ display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.au__habit{ background: #fff; border-radius: 10px; padding: 26px 24px; }
.au__habitnum{ font-family: Poppins, sans-serif; font-size: 25px; font-weight: 600; color: #F85C70; display: block; margin-bottom: 10px; }
.au__habit h4{ font-family: Poppins, sans-serif; font-size: 16.5px; font-weight: 600; line-height: 1.34; color: #151515; margin: 0 0 8px; }
.au__habit p{ margin: 0; font-size: 14px; line-height: 1.64; color: #4F4F4F; }

/* ---- contact ---- */
.au__cta{ background: #061526; padding: 60px 0; }
.au__ctainner{ display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.au__ctatitle{ font-family: Poppins, sans-serif; font-size: 30px; font-weight: 600; color: #fff; margin: 0 0 10px; line-height: 1.3; }
.au__ctalede{ margin: 0; font-size: 16.5px; line-height: 1.64; color: #C6CFDA; max-width: 560px; }
.au__ctabtn{
  font-family: Poppins, sans-serif; font-size: 15px; font-weight: 600; color: #fff !important;
  background: #F85C70; padding: 16px 34px; border-radius: 6px; text-decoration: none;
  white-space: nowrap; transition: background .25s ease;
}
.au__ctabtn:hover{ background: #E04256; }

/* ---- tablet ---- */
@media (max-width: 991px){
  .au__title{ font-size: 38px; }
  .au__block{ grid-template-columns: 1fr; gap: 26px; }
  .au__block--flip .au__media{ order: 0; }
  .au__howgrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* ---- phone ---- */
@media (max-width: 575px){
  .au__hero{ padding: 54px 0 56px; }
  .au__title{ font-size: 29px; }
  .au__lede{ font-size: 16px; }
  .au__h2{ font-size: 25px; }
  .au__h3{ font-size: 21px; }
  .au__work{ padding: 50px 0 10px; }
  .au__block{ padding: 32px 0; }
  .au__howgrid{ grid-template-columns: 1fr; }
  .au__how{ padding: 50px 0; margin-top: 40px; }
  .au__ctatitle{ font-size: 23px; }
  .au__ctabtn{ width: 100%; text-align: center; }
  .au-shot__zoom{ opacity: 1; transform: none; }
}

/* ---- section nav chips (links, no counts, no "All") ---- */
.pf__filter--nav{
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 8px; background: #F7F7F7; border: 1px solid #EAEAEA;
  border-radius: 999px; width: fit-content; max-width: 100%;
  margin: -26px auto 0; position: relative; z-index: 2; box-sizing: border-box;
}
.pf__filter--nav .pf__chip{
  font-family: Poppins, sans-serif; font-size: 14px; font-weight: 500;
  color: #3B3B3B !important; background: transparent; border: none;
  padding: 12px 22px; border-radius: 999px; text-decoration: none;
  transition: background .25s ease, color .25s ease; white-space: nowrap;
}
.pf__filter--nav .pf__chip:hover{ background: #EAEAEA; color: #151515 !important; }
.pf__filter--nav .pf__chip.is-active{ background: #151515; color: #fff !important; font-weight: 600; }

/* hero sits tighter so the nav tucks under it */
.au__hero{ padding-bottom: 68px; }
.au__work{ padding-top: 58px; }

@media (max-width: 575px){
  .pf__filter--nav{ width: calc(100% - 48px); border-radius: 16px; }
  .pf__filter--nav .pf__chip{ font-size: 12.5px; padding: 10px 14px; }
}

/* ---- image treatment per section ----
   automation : wide workflow diagrams, shown whole
   creatives  : square social posts, shown whole
   websites   : full-page screenshots, cropped to the hero like a browser window */
.au--automation .au-shot img{
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: center;
}
.au--creatives .au-shot img{
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  max-height: 420px;
}
.au--websites .au-shot img{
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}
.au--websites .au-shot{ padding: 0; }
.au--websites .au-shot img{ border-radius: 11px; }

/* ---- the theme banner repeats the section name; our own hero says it better.
        scoped to the portfolio section pages only. ---- */
.page-template-page-portfolio-section .inner-banner{ display: none !important; }
.page-template-page-portfolio-section .au__hero{ padding-top: 96px; }

/* header is transparent over the banner - it needs a solid ground without it */
.page-template-page-portfolio-section.transparent-header .au__hero{ padding-top: 132px; }

@media (max-width: 575px){
  .page-template-page-portfolio-section .au__hero,
  .page-template-page-portfolio-section.transparent-header .au__hero{ padding-top: 104px; }
}

/* ---- the theme banner repeats the section name and stacks a second dark block
        on top of our hero. Hidden on the portfolio section pages only. ---- */
.page-template-page-portfolio-section .inner-banner{ display: none !important; }
.page-template-page-portfolio-section .au__hero{ padding-top: 150px; }

@media (max-width: 991px){
  .page-template-page-portfolio-section .au__hero{ padding-top: 124px; }
}
@media (max-width: 575px){
  .page-template-page-portfolio-section .au__hero{ padding-top: 108px; }
}

/* ---- more breathing room between the site header and the hero ---- */
.page-template-page-portfolio-section .au__hero{ padding-top: 210px; }
@media (max-width: 991px){
  .page-template-page-portfolio-section .au__hero{ padding-top: 168px; }
}
@media (max-width: 575px){
  .page-template-page-portfolio-section .au__hero{ padding-top: 140px; }
}

/* the .transparent-header rule above outranks the plain one - match it */
.page-template-page-portfolio-section .au__hero,
.page-template-page-portfolio-section.transparent-header .au__hero{ padding-top: 210px; }
@media (max-width: 991px){
  .page-template-page-portfolio-section .au__hero,
  .page-template-page-portfolio-section.transparent-header .au__hero{ padding-top: 168px; }
}
@media (max-width: 575px){
  .page-template-page-portfolio-section .au__hero,
  .page-template-page-portfolio-section.transparent-header .au__hero{ padding-top: 140px; }
}

/* ---- align the page with the header: the theme's .container is
        max-width 1500px with 12px padding. Match it exactly so the
        hero text lines up with the logo. ---- */
.au__wrap{
  max-width: 1500px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}
@media (max-width: 575px){
  .au__wrap{ padding-left: 16px !important; padding-right: 16px !important; }
}

/* ==========================================================================
   Tools strip — refined
   ========================================================================== */
.au__tools{
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0 30px;
  background: #fff !important;
  border: 1px solid #E7E7E7 !important;
  border-radius: 14px !important;
  padding: 26px 30px !important;
  margin-bottom: 30px !important;
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
}

.au__toolslabel{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Poppins, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #8A8A8A;
  white-space: nowrap;
  padding-top: 9px;
  position: relative;
}
.au__toolslabel::after{
  content: "";
  width: 1px;
  height: 22px;
  background: #E7E7E7;
  margin-left: 4px;
}

.au__toolslist{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.au__toolslist li{
  font-family: Roboto, sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #3B3B3B;
  background: #F7F7F7;
  border: 1px solid #EAEAEA;
  padding: 8px 15px;
  border-radius: 7px;
  line-height: 1.4;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.au__toolslist li:hover{
  background: #fff;
  border-color: #F1C9CF;
  color: #151515;
}

@media (max-width: 767px){
  .au__tools{
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px 20px !important;
  }
  .au__toolslabel{ padding-top: 0; }
  .au__toolslabel::after{ display: none; }
  .au__toolslist li{ font-size: 12.5px; padding: 7px 12px; }
}

/* ==========================================================================
   Hero: copy left, tool names right (fills the dead right side)
   ========================================================================== */
.au__heroinner{
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.au__herocopy{ min-width: 0; }

.au__herotools{
  min-width: 0;
  padding: 22px 24px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(2px);
}
.au__herotools .au__toolslabel{
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #8B99A8;
  margin-bottom: 14px;
  padding: 0;
}
.au__herotools .au__toolslabel::after{ display: none; }
.au__herotools .au__toolslist{
  display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none;
}
.au__herotools .au__toolslist li{
  font-family: Roboto, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #DCE4EC;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px 13px;
  border-radius: 7px;
  line-height: 1.4;
  transition: background .22s ease, border-color .22s ease, color .22s ease;
}
.au__herotools .au__toolslist li:hover{
  background: rgba(248,92,112,.16);
  border-color: rgba(248,92,112,.5);
  color: #fff;
}

@media (max-width: 991px){
  .au__heroinner{ grid-template-columns: 1fr; gap: 30px; }
  .au__herotools{ padding: 18px 20px; }
}
@media (max-width: 575px){
  .au__herotools .au__toolslist li{ font-size: 12px; padding: 6px 11px; }
}

/* ==========================================================================
   Motion — page arrives rather than snapping in
   ========================================================================== */

/* cross-fade between the three section pages (progressive enhancement) */
@view-transition { navigation: auto; }

/* hero */
.au__herocopy > *{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1);
}
.au-ready .au__herocopy > *{ opacity: 1; transform: none; }
.au-ready .au__herocopy > *:nth-child(1){ transition-delay: .05s; }
.au-ready .au__herocopy > *:nth-child(2){ transition-delay: .13s; }
.au-ready .au__herocopy > *:nth-child(3){ transition-delay: .21s; }

/* scroll reveals */
.au-reveal{
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .62s cubic-bezier(.2,.7,.3,1), transform .62s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.au-reveal.is-in{ opacity: 1; transform: none; will-change: auto; }

/* tool chips stagger in */
.au__herotools .au__toolslist li{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease, background .22s ease, border-color .22s ease, color .22s ease;
}
.au__herotools.is-in .au__toolslist li{ opacity: 1; transform: none; }
.au__herotools.is-in .au__toolslist li:nth-child(1){ transition-delay: .04s; }
.au__herotools.is-in .au__toolslist li:nth-child(2){ transition-delay: .08s; }
.au__herotools.is-in .au__toolslist li:nth-child(3){ transition-delay: .12s; }
.au__herotools.is-in .au__toolslist li:nth-child(4){ transition-delay: .16s; }
.au__herotools.is-in .au__toolslist li:nth-child(5){ transition-delay: .20s; }
.au__herotools.is-in .au__toolslist li:nth-child(6){ transition-delay: .24s; }
.au__herotools.is-in .au__toolslist li:nth-child(7){ transition-delay: .28s; }
.au__herotools.is-in .au__toolslist li:nth-child(8){ transition-delay: .32s; }
.au__herotools.is-in .au__toolslist li:nth-child(9){ transition-delay: .36s; }
.au__herotools.is-in .au__toolslist li:nth-child(10){ transition-delay: .40s; }

/* nav chips feel like controls, not page links */
.pf__filter--nav .pf__chip{
  transition: background .28s cubic-bezier(.2,.7,.3,1), color .28s ease, transform .2s ease;
}
.pf__filter--nav .pf__chip:active{ transform: scale(.97); }

/* screenshots lift a touch */
.au-shot{ transition: box-shadow .35s ease, border-color .35s ease, transform .35s cubic-bezier(.2,.7,.3,1); }
.au-shot:hover{ transform: translateY(-3px); }

@media (prefers-reduced-motion: reduce){
  .au__herocopy > *,
  .au-reveal,
  .au__herotools .au__toolslist li{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  @view-transition { navigation: none; }
}

/* ---- tools: drop the panel, let them sit on the hero ---- */
.au__herotools{
  padding: 0 !important;
  border: none !important;
  background: none !important;
  backdrop-filter: none !important;
  padding-top: 10px !important;
}
.au__herotools .au__toolslabel{
  color: #6E7E90;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}
.au__herotools .au__toolslabel::before{
  content: "";
  width: 18px;
  height: 2px;
  background: rgba(248,92,112,.7);
  display: inline-block;
}
.au__herotools .au__toolslabel::after{ display: none; }

.au__herotools .au__toolslist{ gap: 7px; }
.au__herotools .au__toolslist li{
  font-size: 13px;
  color: #B8C4D2;
  background: transparent;
  border: 1px solid rgba(255,255,255,.14);
  padding: 7px 14px;
  border-radius: 999px;
}
.au__herotools .au__toolslist li:hover{
  background: transparent;
  border-color: rgba(248,92,112,.65);
  color: #fff;
}

@media (max-width: 991px){
  .au__herotools{ padding-top: 0 !important; }
}

/* ==========================================================================
   Block motion — image and copy arrive from their own side
   ========================================================================== */
.au__block.au-reveal{ opacity: 1; transform: none; }

.au__block.au-reveal .au__media,
.au__block.au-reveal .au__copy{
  opacity: 0;
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.au__block.au-reveal .au__media{ transform: translateX(-26px) scale(.985); }
.au__block.au-reveal .au__copy{ transform: translateX(26px); }

.au__block--flip.au-reveal .au__media{ transform: translateX(26px) scale(.985); }
.au__block--flip.au-reveal .au__copy{ transform: translateX(-26px); }

.au__block.au-reveal.is-in .au__media,
.au__block.au-reveal.is-in .au__copy{ opacity: 1; transform: none; }
.au__block.au-reveal.is-in .au__copy{ transition-delay: .1s; }

/* copy elements cascade */
.au__block.au-reveal .au__copy > *{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}
.au__block.au-reveal.is-in .au__copy > *{ opacity: 1; transform: none; }
.au__block.au-reveal.is-in .au__copy > *:nth-child(1){ transition-delay: .16s; }
.au__block.au-reveal.is-in .au__copy > *:nth-child(2){ transition-delay: .22s; }
.au__block.au-reveal.is-in .au__copy > *:nth-child(3){ transition-delay: .28s; }
.au__block.au-reveal.is-in .au__copy > *:nth-child(4){ transition-delay: .34s; }
.au__block.au-reveal.is-in .au__copy > *:nth-child(5){ transition-delay: .40s; }

/* how-I-work cards stagger */
.au__how.au-reveal .au__habit{
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s ease, transform .55s ease;
}
.au__how.au-reveal.is-in .au__habit{ opacity: 1; transform: none; }
.au__how.au-reveal.is-in .au__habit:nth-child(1){ transition-delay: .06s; }
.au__how.au-reveal.is-in .au__habit:nth-child(2){ transition-delay: .14s; }
.au__how.au-reveal.is-in .au__habit:nth-child(3){ transition-delay: .22s; }
.au__how.au-reveal.is-in .au__habit:nth-child(4){ transition-delay: .30s; }

@media (max-width: 991px){
  .au__block.au-reveal .au__media,
  .au__block.au-reveal .au__copy,
  .au__block--flip.au-reveal .au__media,
  .au__block--flip.au-reveal .au__copy{ transform: translateY(18px); }
}

@media (prefers-reduced-motion: reduce){
  .au__block.au-reveal .au__media,
  .au__block.au-reveal .au__copy,
  .au__block.au-reveal .au__copy > *,
  .au__how.au-reveal .au__habit{
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
}

/* ==========================================================================
   How I work — no nested grey panel, just a clean band
   ========================================================================== */
.au__how{
  background: none !important;
  border: none !important;
  border-top: 1px solid #EDEDED !important;
  border-radius: 0 !important;
  padding: 52px 0 0 !important;
  margin-top: 48px !important;
}
.au__howtitle{
  font-family: Poppins, sans-serif;
  font-size: 24px !important;
  font-weight: 600;
  color: #151515;
  margin: 0 0 6px !important;
}
.au__how::before{
  content: "How I work";
  display: none;
}
.au__howlede{
  margin: 0 0 28px;
  font-size: 15.5px;
  line-height: 1.7;
  color: #6B6B6B;
  max-width: 640px;
}
.au__howgrid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.au__habit{
  background: #fff !important;
  border: 1px solid #E7E7E7;
  border-radius: 12px;
  padding: 26px 24px !important;
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.au__habit:hover{
  border-color: #F1C9CF;
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  transform: translateY(-3px);
}
.au__habitnum{
  font-family: Poppins, sans-serif;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 1.4px;
  color: #E08A96 !important;
  display: block;
  margin-bottom: 12px !important;
}
.au__habit h4, .au__habit h5{
  font-family: Poppins, sans-serif;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.36;
  color: #151515;
  margin: 0 0 8px !important;
}
.au__habit p{
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.66 !important;
  color: #5A5A5A !important;
}

@media (max-width: 991px){
  .au__howgrid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 575px){
  .au__howgrid{ grid-template-columns: 1fr; gap: 14px; }
  .au__how{ padding-top: 38px !important; margin-top: 34px !important; }
  .au__howtitle{ font-size: 20px !important; }
}

/* ==========================================================================
   Coral glow on the habit cards
   ========================================================================== */
.au__habit{
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* soft coral wash that fades up from the bottom on hover */
.au__habit::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 90% at 50% 120%, rgba(248,92,112,.16) 0%, rgba(248,92,112,0) 62%);
  opacity: 0;
  transition: opacity .42s ease;
}
/* thin coral line that draws across the top edge */
.au__habit::after{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(248,92,112,0) 0%, #F85C70 40%, #FF8345 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.2,.7,.3,1);
}

.au__habit:hover{
  border-color: rgba(248,92,112,.45) !important;
  box-shadow:
    0 0 0 3px rgba(248,92,112,.09),
    0 16px 38px rgba(248,92,112,.22),
    0 4px 12px rgba(0,0,0,.05) !important;
  transform: translateY(-4px);
}
.au__habit:hover::before{ opacity: 1; }
.au__habit:hover::after{ transform: scaleX(1); }
.au__habit:hover .au__habitnum{ color: #F85C70 !important; }

/* same treatment on the workflow screenshots */
.au-shot:hover{
  border-color: rgba(248,92,112,.38) !important;
  box-shadow:
    0 0 0 3px rgba(248,92,112,.08),
    0 18px 40px rgba(248,92,112,.18),
    0 4px 12px rgba(0,0,0,.05) !important;
}

@media (prefers-reduced-motion: reduce){
  .au__habit::after{ transition: none; }
  .au__habit:hover{ transform: none; }
}

/* ==========================================================================
   Tool tags under each project — same coral glow on hover
   ========================================================================== */
.au__chips li{
  position: relative;
  cursor: default;
  transition:
    background .26s ease,
    border-color .26s ease,
    color .26s ease,
    box-shadow .26s ease,
    transform .26s cubic-bezier(.2,.7,.3,1);
}
.au__chips li:hover{
  background: #fff;
  border-color: rgba(248,92,112,.45);
  color: #151515;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 3px rgba(248,92,112,.09),
    0 8px 20px rgba(248,92,112,.20);
}

/* hero tool chips get the matching glow on the dark ground */
.au__herotools .au__toolslist li:hover{
  border-color: rgba(248,92,112,.7) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 3px rgba(248,92,112,.12),
    0 8px 22px rgba(248,92,112,.26);
}

@media (prefers-reduced-motion: reduce){
  .au__chips li:hover,
  .au__herotools .au__toolslist li:hover{ transform: none; }
}

/* ==========================================================================
   Cursor-tracking glow — the light follows the pointer across the card
   (--mx / --my are set by portfolio-grid.js)
   ========================================================================== */
.au__habit,
.au-shot{
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
}

/* inner wash that follows the cursor */
.au__habit::before,
.au-shot::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--mx) var(--my),
    rgba(248,92,112,.15) 0%,
    rgba(255,131,69,.07) 34%,
    rgba(248,92,112,0) 62%
  );
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.au__habit:hover::before,
.au-shot:hover::before{ opacity: 1; }

/* border ring that lights up nearest the cursor */
.au__habit::after,
.au-shot::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    240px circle at var(--mx) var(--my),
    rgba(248,92,112,.95) 0%,
    rgba(255,131,69,.55) 26%,
    rgba(248,92,112,0) 58%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transform: none;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 1;
}
.au__habit:hover::after,
.au-shot:hover::after{ opacity: 1; transform: none; }

/* softer outer glow, no longer a hard ring */
.au__habit:hover{
  border-color: #E7E7E7 !important;
  box-shadow: 0 14px 34px rgba(248,92,112,.16), 0 4px 12px rgba(0,0,0,.05) !important;
  transform: translateY(-4px);
}
.au-shot:hover{
  border-color: #E7E7E7 !important;
  box-shadow: 0 16px 38px rgba(248,92,112,.15), 0 4px 12px rgba(0,0,0,.05) !important;
}

@media (prefers-reduced-motion: reduce){
  .au__habit::before, .au__habit::after,
  .au-shot::before, .au-shot::after{ display: none; }
  .au__habit:hover{ transform: none; }
}

/* ==========================================================================
   Mobile — tighten the hero, it was carrying desktop-sized whitespace
   ========================================================================== */
@media (max-width: 767px){
  .page-template-page-portfolio-section .au__hero,
  .page-template-page-portfolio-section.transparent-header .au__hero{
    padding-top: 96px !important;
    padding-bottom: 38px !important;
  }
  .au__heroinner{ gap: 22px; }
  .au__eyebrow{ margin-bottom: 12px; font-size: 11.5px; letter-spacing: 1.9px; }
  .au__title{ font-size: 30px !important; line-height: 1.18 !important; margin-bottom: 14px !important; }
  .au__lede{ font-size: 15px !important; line-height: 1.62 !important; }

  .au__herotools{ padding-top: 4px !important; }
  .au__herotools .au__toolslabel{ margin-bottom: 11px; }
  .au__herotools .au__toolslist{ gap: 6px; }
  .au__herotools .au__toolslist li{ font-size: 12px; padding: 6px 11px; }

  .pf__filter--nav{ margin-top: -22px; }
  .au__work{ padding-top: 40px !important; }
}

@media (max-width: 575px){
  .page-template-page-portfolio-section .au__hero,
  .page-template-page-portfolio-section.transparent-header .au__hero{
    padding-top: 88px !important;
    padding-bottom: 34px !important;
  }
  .au__title{ font-size: 27px !important; }
  .au__block{ padding: 24px 0 !important; }
  .au__work{ padding-top: 34px !important; }
  .au__cta{ margin-top: 34px !important; }
}

/* ---- FIX: an earlier rule pinned ::after to height:2px (the old top line),
        so the ring could only draw along the top. Reset it to a full inset
        box so the glow wraps all four sides. ---- */
.au__habit::after,
.au-shot::after{
  top: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
  transform-origin: center !important;
  padding: 1px !important;
  background: radial-gradient(
    260px circle at var(--mx) var(--my),
    rgba(248,92,112,.95) 0%,
    rgba(255,131,69,.55) 26%,
    rgba(248,92,112,0) 58%
  ) !important;
  border-radius: inherit;
}
.au__habit:hover::after,
.au-shot:hover::after{ transform: none !important; opacity: 1 !important; }

/* ---- tighter glow: smaller radius, less spill ---- */
.au__habit::before,
.au-shot::before{
  background: radial-gradient(
    150px circle at var(--mx) var(--my),
    rgba(248,92,112,.11) 0%,
    rgba(255,131,69,.05) 30%,
    rgba(248,92,112,0) 55%
  ) !important;
}
.au__habit::after,
.au-shot::after{
  background: radial-gradient(
    120px circle at var(--mx) var(--my),
    rgba(248,92,112,.85) 0%,
    rgba(255,131,69,.42) 24%,
    rgba(248,92,112,0) 50%
  ) !important;
}
.au__habit:hover{
  box-shadow: 0 8px 20px rgba(248,92,112,.11), 0 3px 8px rgba(0,0,0,.04) !important;
  transform: translateY(-3px);
}
.au-shot:hover{
  box-shadow: 0 10px 24px rgba(248,92,112,.10), 0 3px 8px rgba(0,0,0,.04) !important;
}

/* ---- glow v2: thicker ring with a real bloom, like the reference ---- */
.au__habit::after,
.au-shot::after{
  padding: 2px !important;
  background: radial-gradient(
    200px circle at var(--mx) var(--my),
    rgba(255,92,112,1) 0%,
    rgba(255,110,90,.92) 14%,
    rgba(255,131,69,.55) 30%,
    rgba(248,92,112,0) 56%
  ) !important;
  filter: drop-shadow(0 0 5px rgba(255,92,112,.75)) drop-shadow(0 0 14px rgba(255,92,112,.4));
}

.au__habit::before,
.au-shot::before{
  background: radial-gradient(
    210px circle at var(--mx) var(--my),
    rgba(255,92,112,.16) 0%,
    rgba(255,131,69,.08) 32%,
    rgba(248,92,112,0) 58%
  ) !important;
}

.au__habit:hover{
  box-shadow: 0 10px 26px rgba(248,92,112,.16), 0 3px 10px rgba(0,0,0,.05) !important;
}
.au-shot:hover{
  box-shadow: 0 12px 30px rgba(248,92,112,.15), 0 3px 10px rgba(0,0,0,.05) !important;
}

@media (prefers-reduced-motion: reduce){
  .au__habit::after, .au-shot::after{ filter: none; }
}

/* ---- image frames: back to the thin, subtle glow (cards keep the thicker one) ---- */
.au-shot::after{
  padding: 1px !important;
  background: radial-gradient(
    120px circle at var(--mx) var(--my),
    rgba(248,92,112,.85) 0%,
    rgba(255,131,69,.42) 24%,
    rgba(248,92,112,0) 50%
  ) !important;
  filter: none !important;
}
.au-shot::before{
  background: radial-gradient(
    150px circle at var(--mx) var(--my),
    rgba(248,92,112,.11) 0%,
    rgba(255,131,69,.05) 30%,
    rgba(248,92,112,0) 55%
  ) !important;
}
.au-shot:hover{
  box-shadow: 0 10px 24px rgba(248,92,112,.10), 0 3px 8px rgba(0,0,0,.04) !important;
}

/* ---- mobile: bring the hero right up under the header ---- */
@media (max-width: 991px){
  .page-template-page-portfolio-section .au__hero,
  .page-template-page-portfolio-section.transparent-header .au__hero{
    padding-top: 34px !important;
    padding-bottom: 30px !important;
  }
}
@media (max-width: 767px){
  .page-template-page-portfolio-section .au__hero,
  .page-template-page-portfolio-section.transparent-header .au__hero{
    padding-top: 30px !important;
    padding-bottom: 28px !important;
  }
  .au__heroinner{ gap: 18px; }
  .au__eyebrow{ margin-bottom: 10px !important; }
  .au__title{ margin-bottom: 12px !important; }
}
@media (max-width: 575px){
  .page-template-page-portfolio-section .au__hero,
  .page-template-page-portfolio-section.transparent-header .au__hero{
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }
}

/* ---- How I work cards: match the image frames' restraint ---- */
.au__habit::after{
  padding: 1px !important;
  background: radial-gradient(
    120px circle at var(--mx) var(--my),
    rgba(248,92,112,.85) 0%,
    rgba(255,131,69,.42) 24%,
    rgba(248,92,112,0) 50%
  ) !important;
  filter: none !important;
}
.au__habit::before{
  background: radial-gradient(
    150px circle at var(--mx) var(--my),
    rgba(248,92,112,.10) 0%,
    rgba(255,131,69,.045) 30%,
    rgba(248,92,112,0) 55%
  ) !important;
}
.au__habit:hover{
  box-shadow: 0 8px 20px rgba(248,92,112,.09), 0 3px 8px rgba(0,0,0,.04) !important;
  transform: translateY(-2px);
}

/* ---- nav chips on phones: short labels, one tidy row ---- */
@media (max-width: 575px){
  .pf__filter--nav{
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 4px !important;
    padding: 5px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    border-radius: 999px !important;
    margin-top: -20px;
  }
  .pf__filter--nav .pf__chip{
    flex: 1 1 0 !important;
    min-width: 0 !important;
    text-align: center;
    padding: 10px 6px !important;
    font-size: 12.5px !important;
    white-space: nowrap;
  }
  /* swap in the short label */
  .pf__filter--nav .pf__chip[data-short] .pf__chiptext{
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .pf__filter--nav .pf__chip[data-short]::after{
    content: attr(data-short);
  }
}

/* ---- image frames are much wider than the habit cards, so the same glow
        radius covers less of their edge. Scale it up to match visually. ---- */
.au-shot::after{
  padding: 1.5px !important;
  background: radial-gradient(
    300px circle at var(--mx) var(--my),
    rgba(248,92,112,.92) 0%,
    rgba(255,131,69,.5) 26%,
    rgba(248,92,112,0) 54%
  ) !important;
}
.au-shot::before{
  background: radial-gradient(
    340px circle at var(--mx) var(--my),
    rgba(248,92,112,.12) 0%,
    rgba(255,131,69,.055) 30%,
    rgba(248,92,112,0) 56%
  ) !important;
}
.au-shot:hover{
  box-shadow: 0 12px 28px rgba(248,92,112,.12), 0 3px 10px rgba(0,0,0,.04) !important;
}

/* ---- mobile: breathing room between the tool chips and the nav pill,
        keeping the nav tucked under the hero edge ---- */
@media (max-width: 767px){
  .page-template-page-portfolio-section .au__hero,
  .page-template-page-portfolio-section.transparent-header .au__hero{
    padding-bottom: 56px !important;
  }
  .au__heroinner{ gap: 26px; }
  .au__herotools .au__toolslist{ gap: 7px; }
  .pf__filter--nav{ margin-top: -22px; }
  .au__work{ padding-top: 46px !important; }
}
@media (max-width: 575px){
  .page-template-page-portfolio-section .au__hero,
  .page-template-page-portfolio-section.transparent-header .au__hero{
    padding-top: 30px !important;
    padding-bottom: 54px !important;
  }
  .pf__filter--nav{ margin-top: -22px; }
  .au__work{ padding-top: 42px !important; }
}

/* ---- image frames: bolder ring, matching the habit-card look ---- */
.au-shot::after{
  padding: 2px !important;
  background: radial-gradient(
    420px circle at var(--mx) var(--my),
    rgba(248,92,112,1) 0%,
    rgba(255,110,90,.85) 18%,
    rgba(255,131,69,.45) 36%,
    rgba(248,92,112,0) 62%
  ) !important;
  filter: none !important;
}
.au-shot::before{
  background: radial-gradient(
    460px circle at var(--mx) var(--my),
    rgba(248,92,112,.15) 0%,
    rgba(255,131,69,.07) 32%,
    rgba(248,92,112,0) 60%
  ) !important;
}
.au-shot:hover{
  box-shadow: 0 14px 32px rgba(248,92,112,.15), 0 3px 10px rgba(0,0,0,.05) !important;
}

/* ---- How I work cards: same 2px ring as the image frames ---- */
.au__habit::after{
  padding: 2px !important;
  background: radial-gradient(
    200px circle at var(--mx) var(--my),
    rgba(248,92,112,1) 0%,
    rgba(255,110,90,.85) 18%,
    rgba(255,131,69,.45) 36%,
    rgba(248,92,112,0) 62%
  ) !important;
  filter: none !important;
}
.au__habit::before{
  background: radial-gradient(
    220px circle at var(--mx) var(--my),
    rgba(248,92,112,.13) 0%,
    rgba(255,131,69,.06) 32%,
    rgba(248,92,112,0) 60%
  ) !important;
}
.au__habit:hover{
  box-shadow: 0 10px 24px rgba(248,92,112,.13), 0 3px 8px rgba(0,0,0,.04) !important;
}
