/* Business profile v3. Change colours and fonts here; everything else follows. */
:root {
  --paper: #F6F4EF;
  --alt: #ECE8DF;
  --ink: #10151C;
  --muted: #53606D;
  --line: #D6D1C5;
  --navy: #0E2238;
  --navy2: #16314F;
  --brass: #8A5D12;
  --brass-lt: #D9A441;
  --on-dark: #B9C6D4;
  --head: "Newsreader", Georgia, "Times New Roman", serif;
  --body: "Public Sans", system-ui, "Segoe UI", Arial, sans-serif;
  --max: 1180px;
  --gut: clamp(20px, 4vw, 40px);
  --side: 210px
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px
}

body {
  font: 400 1rem/1.65 var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased
}

img {
  display: block;
  max-width: 100%;
  height: auto
}

ul,
ol {
  list-style: none
}

a {
  color: inherit
}

h1,
h2,
h3 {
  font-family: var(--head);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance
}

:focus-visible {
  outline: 3px solid var(--brass-lt);
  outline-offset: 3px
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gut)
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--brass-lt);
  padding: 10px 16px;
  z-index: 100;
  font-weight: 600
}

.skip:focus {
  left: 8px
}

.label {
  font: 600 .75rem var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass)
}

.btn {
  display: inline-block;
  font: 600 .95rem var(--body);
  text-decoration: none;
  padding: 13px 24px;
  border: 1.5px solid var(--navy);
  background: var(--navy);
  color: #fff;
  border-radius: 2px;
  cursor: pointer;
  transition: background .2s, color .2s
}

.btn:hover {
  background: var(--brass);
  border-color: var(--brass)
}

.btn--sm {
  padding: 9px 18px;
  font-size: .9rem
}

.btn--ghost {
  background: none;
  color: var(--navy)
}

.btn--ghost:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff
}

.btn--ghost-dk {
  background: none;
  color: var(--ink);
  border-color: var(--ink)
}

.btn--ghost-dk:hover {
  background: var(--ink);
  border-color: var(--ink)
}

.btn[hidden] {
  display: none
}

.bar {
  background: var(--navy);
  color: var(--on-dark);
  font-size: .82rem
}

.bar__in {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-block: 8px
}

.bar a {
  text-decoration: none;
  margin-left: 20px
}

.bar a:hover {
  color: #fff
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line)
}

.header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px
}

.logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.15
}

.logo b {
  font: 600 1.3rem var(--head)
}

.logo span {
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass)
}

.menu {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  font-size: .95rem;
  font-weight: 500
}

.menu a:not(.btn) {
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent
}

.menu a:not(.btn):hover {
  border-color: var(--brass)
}

.burger {
  display: none;
  font: 600 .9rem var(--body);
  background: none;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  padding: 7px 14px;
  cursor: pointer;
  color: var(--ink)
}

.hero {
  padding: clamp(48px, 7vw, 96px) 0
}

.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 4rem);
  margin: 18px 0 22px
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 30px
}

.hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.fact {
  background: var(--navy);
  color: #fff;
  padding: 28px 28px 12px;
  border-radius: 2px;
  border-top: 4px solid var(--brass-lt)
}

.fact h2 {
  font: 600 .75rem var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-lt);
  margin-bottom: 8px
}

.fact dl>div {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, .16)
}

.fact dl>div:first-child {
  border-top: 0
}

.fact dt {
  font-size: .78rem;
  color: var(--on-dark)
}

.fact dd {
  font-weight: 500
}

.figures {
  border-block: 1px solid var(--line);
  background: #fff
}

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

.figures li {
  padding: 28px 20px;
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.4
}

.figures li+li {
  border-left: 1px solid var(--line)
}

.figures strong {
  display: block;
  font: 500 clamp(2.2rem, 4vw, 3.2rem)/1 var(--head);
  color: var(--navy);
  margin-bottom: 8px
}

.sec {
  padding: clamp(60px, 9vw, 108px) 0
}

.sec--alt {
  background: var(--alt)
}

.sec__in {
  display: grid;
  grid-template-columns: var(--side) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px)
}

.sec__side {
  padding-top: 10px
}

.sec h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  max-width: 20em;
  margin-bottom: 34px
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center
}

.profile img {
  border-radius: 2px;
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%
}

.profile h2 {
  margin-bottom: 20px
}

.profile p {
  margin-bottom: 14px;
  max-width: 34em
}

.note {
  font-size: .88rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 22px
}

.meta {
  font-size: .9rem;
  color: var(--muted)
}

.meta b {
  display: block;
  font: 600 .72rem var(--body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 10px
}

.meta b:first-child {
  margin-top: 0
}

.sectors {
  margin-top: 28px;
  font-size: .95rem;
  color: var(--muted);
  max-width: 52em
}

.sectors b {
  color: var(--ink)
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 26px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line)
}

.tab {
  font: 600 .95rem var(--body);
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 8px 0 12px;
  margin-bottom: -1px;
  cursor: pointer;
  color: var(--brass)
}

.tab:hover {
  color: var(--line)
}

.tab.is-on {
  color: var(--line);
  border-color: var(--brass)
}

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

.work {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  transition: border-color .2s
}

.work:hover {
  border-color: var(--ink)
}

.work.is-new {
  animation: in .4s ease-out both;
  animation-delay: calc(var(--n, 0)*50ms)
}

@keyframes in {
  from {
    opacity: 0;
    transform: translateY(12px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.empty {
  padding: 28px 0;
  color: var(--muted)
}

.more {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 38px
}

.more__status {
  font-size: .92rem;
  color: var(--muted)
}

.sec--dark {
  background: var(--navy);
  color: #fff
}

.sec--dark .label {
  color: var(--brass-lt)
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.6vw, 36px)
}

.steps li {
  border-top: 2px solid var(--brass-lt);
  padding-top: 18px
}

.steps span {
  font: 600 .72rem var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass-lt)
}

.steps h3 {
  font-size: 1.45rem;
  margin: 8px 0
}

.steps p {
  color: var(--on-dark);
  font-size: .95rem
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(22px, 3vw, 40px)
}

.reviews figure {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  border-left: 3px solid var(--brass-lt);
  padding-left: 20px
}

.reviews blockquote {
  font: 400 1.08rem/1.55 var(--head)
}

.reviews figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.35
}

.reviews figcaption b {
  display: block;
  color: var(--ink);
  font-size: .92rem
}

.reviews img {
  width: 44px;
  height: 44px;
  border-radius: 2px;
  object-fit: cover;
  flex: none
}

.contact {
  background: var(--navy2);
  color: #fff;
  padding: clamp(60px, 9vw, 108px) 0
}

.contact .label {
  color: var(--brass-lt)
}

.contact__in {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start
}

.contact h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 16px
}

.contact p {
  color: var(--on-dark);
  max-width: 28em
}

.contact__list li {
  border-top: 1px solid rgba(255, 255, 255, .22)
}

.contact__list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, .22)
}

.contact__list a {
  display: block;
  text-decoration: none;
  padding: 18px 0;
  font: 500 clamp(1.15rem, 2.2vw, 1.6rem)/1.2 var(--head);
  overflow-wrap: anywhere
}

.contact__list a:hover {
  color: var(--brass-lt)
}

.contact__list small {
  display: block;
  font: 600 .72rem var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark);
  margin-bottom: 4px
}

.footer {
  background: var(--ink);
  color: #aab4bf;
  font-size: .88rem
}

.footer__in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-block: 22px
}

.footer a {
  margin-left: 18px;
  text-decoration: none
}

.footer a:hover {
  color: #fff;
  text-decoration: underline
}

@media (max-width:980px) {
  .sec__in {
    grid-template-columns: 1fr;
    gap: 6px
  }

  .sec__side {
    padding: 0
  }

  .works {
    grid-template-columns: repeat(2, 1fr)
  }

  .steps {
    grid-template-columns: repeat(2, 1fr)
  }

  .reviews {
    grid-template-columns: 1fr 1fr
  }

  .figures__in {
    grid-template-columns: 1fr 1fr
  }

  .figures li:nth-child(3) {
    border-left: 0
  }

  .figures li:nth-child(n+3) {
    border-top: 1px solid var(--line)
  }
}

@media (max-width:820px) {

  .hero__in,
  .profile,
  .contact__in {
    grid-template-columns: 1fr
  }

  .burger {
    display: block
  }

  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 6px var(--gut) 20px
  }

  .menu.is-open {
    display: flex
  }

  .menu a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line)
  }

  .menu .btn {
    margin-top: 14px;
    text-align: center
  }

  .bar__in>span:last-child {
    display: none
  }
}

@media (max-width:600px) {

  .works,
  .reviews,
  .steps {
    grid-template-columns: 1fr
  }

  .hero__btns .btn {
    flex: 1 1 100%;
    text-align: center
  }
}

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

  .work.is-new {
    animation: none
  }
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap
}

/* v4: job-search additions */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #58C27D;
  margin-right: 10px;
  vertical-align: 1px
}

.hero__alt {
  margin-top: 20px;
  font-size: .92rem
}

.hero__alt a {
  margin-right: 22px;
  color: var(--muted);
  text-underline-offset: 4px
}

.hero__alt a:hover {
  color: var(--ink)
}

.btn--gold {
  background: var(--brass-lt);
  border-color: var(--brass-lt);
  color: var(--ink)
}

.btn--gold:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink)
}

.contact__cta {
  margin-top: 26px
}

.lead2 {
  color: var(--on-dark);
  max-width: 50em;
  margin: -14px 0 26px;
  font-size: .95rem
}

.lead3 {
  color: #504c4c;
  max-width: 50em;
  margin: -14px 0 26px;
  font-size: .95rem
}

.jobs article {
  display: grid;
  grid-template-columns: minmax(0, .55fr) minmax(0, 2fr);
  gap: clamp(16px, 3vw, 40px);
  padding: 28px 0;
  border-top: 1px solid var(--ink)
}

.jobs article:last-child {
  border-bottom: 1px solid var(--ink)
}

.when {
  font-weight: 600;
  font-size: .95rem
}

.when small {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px
}

.jobs h3 {
  font-size: 1.5rem;
  margin-bottom: 12px
}

.results li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  max-width: 44em
}

.results li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 2px;
  background: var(--brass)
}

.results b {
  font-weight: 700;
  color: var(--navy)
}

.edu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  margin-top: 36px
}

.edu h3 {
  font: 600 .75rem var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px
}

.edu p {
  font-size: .95rem;
  color: var(--muted);
  max-width: 30em
}

@media (max-width:980px) {
  .jobs article {
    grid-template-columns: 1fr;
    gap: 6px
  }

  .edu {
    grid-template-columns: 1fr
  }
}

/* v5: job-search redesign + skills fix.
   Root cause of the old skills bug: a later ".rows article" rule re-set 3 columns and
   overrode the mobile media queries. The new .skills block has no such override. */
.fact h2 {
  display: flex;
  align-items: center
}

.fact .dot {
  margin-right: 10px
}

.fact__cta {
  display: block;
  margin: 6px 0 18px;
  padding: 13px 16px;
  background: var(--brass-lt);
  color: var(--ink);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-radius: 2px;
  text-align: center
}

.fact__cta:hover {
  background: #fff
}

.hero__alt {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px
}

.hero__alt a {
  margin-right: 0
}

.btn--line {
  background: none;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  margin-left: 12px
}

.btn--line:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink)
}

.contact__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px
}

.btn--line {
  margin-left: 0
}

.skills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.skill {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brass-lt);
  padding: 26px 24px;
  min-width: 0
}

.skill h3 {
  font-size: 1.65rem
}

.skill p {
  color: var(--muted);
  font-size: .97rem
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px
}

.chips li {
  font-size: .84rem;
  font-weight: 500;
  line-height: 1.2;
  padding: 7px 11px;
  background: var(--alt);
  border: 1px solid var(--line);
  border-radius: 2px
}

.toolbox {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--ink)
}

.toolbox h3 {
  font: 600 .75rem var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 6px
}

.toolbox p {
  font-size: .95rem;
  color: var(--muted)
}

.dock {
  display: none
}

@media (max-width:980px) {
  .skills {
    grid-template-columns: minmax(0, 1fr)
  }

  .skill {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: 28px;
    row-gap: 10px;
    align-items: start
  }

  .skill h3 {
    grid-column: 1/-1
  }

  .skill p {
    grid-column: 1
  }

  .skill .chips {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    padding-top: 0
  }

  .toolbox {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px
  }
}

@media (max-width:640px) {
  .skill {
    display: flex;
    padding: 22px 18px
  }

  .skill .chips {
    margin-top: 2px
  }

  .hero__btns .btn {
    flex: 1 1 100%;
    text-align: center
  }
}

@media (max-width:820px) {
  body {
    padding-bottom: 72px
  }

  .dock {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px));
    background: var(--navy);
    border-top: 3px solid var(--brass-lt)
  }

  .dock a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font: 600 .9rem var(--body);
    padding: 12px 6px;
    border: 1.5px solid rgba(255, 255, 255, .4);
    border-radius: 2px
  }

  .dock .dock__main {
    flex: 1.4;
    background: var(--brass-lt);
    border-color: var(--brass-lt);
    color: var(--ink)
  }
}

/* v6: client cards with laptop + phone cover, logo and description */
.works {
  gap: 24px
}

.work {
  display: flex;
  flex-direction: column;
  border-radius: 0;
  border-color: var(--line);
  box-shadow: 0 1px 0 rgba(16, 21, 28, .04);
  transition: border-color .2s, box-shadow .2s, transform .2s
}

.work:hover {
  border-color: var(--navy);
  box-shadow: 0 14px 30px -18px rgba(14, 34, 56, .45);
  transform: translateY(-2px)
}

.work:has(a:focus-visible) {
  outline: 3px solid var(--brass-lt);
  outline-offset: 3px
}

.work a:focus-visible {
  outline: 0
}

.work__stage {
  position: relative;
  aspect-ratio: 16/10;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: #E6EFE9
}

.work--wordpress .work__stage {
  background: #E4EAF3
}

.work--frontend .work__stage {
  background: #EFE9DC
}

.work__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  font: 600 .72rem var(--body);
  color: var(--navy);
  background: rgba(255, 255, 255, .92);
  padding: 5px 10px
}

.work__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center
}

.work__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px
}

.work__brand {
  display: flex;
  align-items: center;
  gap: 12px
}

.work__logo {
  flex: none;
  width: 44px;
  height: 44px;
  aspect-ratio: 1;
  border-radius: 0;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  padding: 4px
}

.work__logo--mono {
  border: 0;
  padding: 0;
  object-fit: cover
}

.work__name {
  font: 500 1.3rem/1.15 var(--head)
}

.work__name a {
  text-decoration: none
}

.work__name a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4
}

.work__sector {
  font-size: .88rem;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.3
}

/* v7: description with brass accent bar */
.work__desc {
  position: relative;
  margin-top: 14px;
  padding: 2px 0 2px 13px;
  border-left: 3px solid var(--brass-lt);
  font-size: .93rem;
  line-height: 1.6;
  color: #36424f;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden
}

.work:hover .work__desc {
  border-left-color: var(--brass)
}

/* v7: technology chips with identifying icons */
.work__tech {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line)
}

.work__tech-label {
  display: block;
  margin-bottom: 8px;
  font: 600 .66rem var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted)
}

.tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.tech__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px 10px 3px 3px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  font: 500 .76rem/1 var(--body);
  color: var(--ink);
  transition: border-color .2s, background .2s
}

.work:hover .tech__item {
  border-color: #c4bdab
}

.tech__ic {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 2px;
  color: #fff;
  background: var(--navy)
}

.tech__ic svg {
  width: 15px;
  height: 15px;
  display: block
}

.tech__ic--html {
  background: #E34F26
}

.tech__ic--css {
  background: #1572B6
}

.tech__ic--js {
  background: #F7DF1E;
  color: #111
}

.tech__ic--bootstrap {
  background: #7952B3
}

.tech__ic--tailwind {
  background: #0F172A;
  color: #38BDF8
}

.tech__ic--wp {
  background: #21759B
}

.tech__ic--shopify {
  background: #5E8E3E
}

.tech__ic--api {
  background: #C2410C
}

.tech__ic--backend {
  background: #374151
}

.tech__ic--plain {
  font: 700 .7rem var(--body)
}

.work__ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--tone, var(--navy));
  color: #fff
}

.work__ph span {
  font: 500 clamp(2rem, 6vw, 3rem) var(--head);
  letter-spacing: .04em;
  opacity: .92
}

.work__go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy)
}

.work:hover .work__go {
  color: var(--brass)
}

.work__go span::after {
  content: " \2192"
}

.work__tech+.work__go,
.work__desc+.work__go {
  margin-top: auto
}

@media (max-width:600px) {
  .work__desc {
    font-size: .95rem
  }

  .tech__item {
    font-size: .8rem
  }
}

.empty {
  padding: 28px 0;
  color: var(--muted)
}


/* v8: E-commerce setup section (payments, Shiprocket, full Shopify store set-up) */
.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 36px;
  counter-reset: f
}

.flow li {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brass-lt);
  padding: 16px 18px 18px 14px
}

.flow li:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  right: -13px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  border-radius: 50%
}

.flow span {
  font: 600 .72rem var(--body);
  letter-spacing: .14em;
  color: var(--brass)
}

.flow h3 {
  font-size: 1.15rem;
  margin: 6px 0 6px
}

.flow p {
  font-size: .85rem;
  line-height: 1.45;
  color: var(--muted)
}

.svcs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.svc {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 24px 22px;
  min-width: 0;
  transition: border-color .2s, box-shadow .2s, transform .2s
}

.svc:hover {
  border-color: var(--navy);
  box-shadow: 0 14px 30px -18px rgba(14, 34, 56, .45);
  transform: translateY(-2px)
}

.svc__ic {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: var(--navy);
  color: var(--brass-lt);
  border-radius: 2px;
  margin-bottom: 4px
}

.svc__tag {
  font: 600 .72rem var(--body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass)
}

.svc h3 {
  font-size: 1.4rem
}

.svc>p:not(.svc__tag) {
  color: var(--muted);
  font-size: .95rem
}

.svc .chips {
  margin-top: auto;
  padding-top: 8px
}

.golive {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: start;
  margin-top: 28px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--navy);
  color: #fff;
  border-top: 4px solid var(--brass-lt)
}

.golive h3 {
  font-size: 1.8rem;
  margin-bottom: 10px
}

.golive p {
  color: var(--on-dark);
  margin-bottom: 22px;
  max-width: 26em
}

.golive__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px
}

.golive__list li {
  position: relative;
  padding-left: 30px;
  font-size: .95rem;
  line-height: 1.45
}

.golive__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .1em;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brass-lt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310151C' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat
}

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

  .flow li:nth-child(3)::after {
    display: none
  }
}

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

  .golive {
    grid-template-columns: 1fr
  }
}

@media (max-width:600px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .flow li:not(:last-child)::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -20px;
    transform: translateX(-50%) rotate(90deg)
  }

  .flow li:nth-child(3)::after {
    display: grid
  }

  .svcs,
  .golive__list {
    grid-template-columns: 1fr
  }
}

@media (prefers-reduced-motion:reduce) {
  .svc {
    transition: none
  }

  .svc:hover {
    transform: none
  }
}

.bg-1 {
  background-color: #0e2238;
}
/* v10: accessibility, crawlable project list, no-JavaScript fallback */

/* Focus ring: dark navy on light areas, gold on dark areas (both reach 3:1 contrast) */
:focus-visible {
  outline-color: var(--navy)
}

.bar :focus-visible,
.fact :focus-visible,
.sec--dark :focus-visible,
.contact :focus-visible,
.footer :focus-visible,
.dock :focus-visible,
.golive :focus-visible {
  outline-color: var(--brass-lt)
}

/* Filter tabs and status line sit on the navy section, so they need light text */
.sec--dark .tab {
  color: var(--on-dark)
}

.sec--dark .tab:hover,
.sec--dark .tab.is-on {
  color: #fff
}

.sec--dark .tab.is-on {
  border-color: var(--brass-lt)
}

.sec--dark .more__status {
  color: var(--on-dark)
}

/* Without JavaScript the filter and "Show more" buttons cannot work, so hide them */
.no-js .tabs,
.no-js .more {
  display: none
}

/* Full client list: plain links that search engines and visitors can read */
.allclients {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  padding-top: 14px
}

.allclients summary {
  cursor: pointer;
  display: inline-block;
  padding: 8px 0;
  font: 600 .95rem var(--body);
  color: var(--brass-lt)
}

.allclients summary:hover {
  color: #fff
}

.allclients__list {
  columns: 2 320px;
  column-gap: 40px;
  margin-top: 14px
}

.allclients__list li {
  break-inside: avoid;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12)
}

.allclients__list a {
  color: #fff;
  font-weight: 600;
  text-decoration: none
}

.allclients__list a:hover {
  text-decoration: underline
}

.allclients__meta {
  display: block;
  margin-top: 2px;
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--brass-lt)
}

.allclients__desc {
  display: block;
  margin-top: 2px;
  font-size: .88rem;
  line-height: 1.5;
  color: var(--on-dark)
}

@media (prefers-reduced-motion:reduce) {

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

/* Fix: project cards sit inside the navy section, so their text inherited white
   and the client names were invisible on the white card. */
.work {
  color: var(--ink)
}
