/* =====================================================
   STYLE.CSS - one stylesheet for every page
   Order: 1 Theme variables | 2 Background glows | 3 Header/nav | 4 Buttons
   5 Home sections | 6 Portfolio page | 7 About page | 8 Services page
   9 Awards page | 10 Contact page | 11 Footer & responsive rules
   Colours come from the variables at the top (they change with the Admin theme).
   ===================================================== */
:root {
  --bg: #1b1c20;
  --bg2: #24262c;
  --tx: #f2f1ee;
  --mut: #a3a6b0;
  --or: #ff6a1a;
  --bl: #1f8bff;
  --ln: rgba(255, 255, 255, .09);
  --fd: 'Bricolage Grotesque', 'Segoe UI', Arial, sans-serif;
  --fb: 'Manrope', 'Segoe UI', Arial, sans-serif
}

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

html {
  scroll-behavior: smooth
}

body {
  background: var(--bg);
  color: var(--tx);
  font: 400 1.05rem/1.65 var(--fb);
  overflow-x: hidden
}

a {
  color: inherit;
  text-decoration: none
}

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

h1,
h2,
h3 {
  font-family: var(--fd);
  line-height: 1.08;
  letter-spacing: -.02em
}

.wrap {
  width: min(1180px, 92%);
  margin: 0 auto
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden
}

.bg i {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .34;
  animation: drift 26s ease-in-out infinite alternate, pulse 9s ease-in-out infinite
}

.b1 {
  width: 520px;
  height: 520px;
  background: var(--or);
  top: -120px;
  left: -140px
}

.b2 {
  width: 600px;
  height: 600px;
  background: var(--bl);
  bottom: -200px;
  right: -160px;
  animation-duration: 32s, 11s
}

.b3 {
  width: 380px;
  height: 380px;
  background: var(--bl);
  top: 45%;
  left: 48%;
  opacity: .16;
  animation-duration: 38s, 13s
}

@keyframes drift {
  to {
    transform: translate(90px, 70px) scale(1.15)
  }
}

@keyframes pulse {
  50% {
    opacity: .18
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem max(4%, calc((100vw - 1180px)/2));
  transition: .35s
}

.nav.solid {
  background: rgba(var(--bgr), .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ln)
}

.logo {
  font: 800 1.5rem var(--fd)
}

.logo span {
  color: var(--or)
}

.nav nav {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  font-weight: 500;
  font-size: .95rem
}

.nav nav a {
  color: var(--mut);
  transition: color .25s
}

.nav nav a:hover,
.nav nav a.on {
  color: var(--tx)
}

.nav .pill {
  background: var(--or);
  color: #141414;
  padding: .5rem 1.2rem;
  border-radius: 99px;
  font-weight: 700
}

.nav .pill:hover {
  color: #141414;
  background: var(--or2)
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer
}

.burger b {
  display: block;
  height: 2px;
  background: var(--tx);
  margin: 7px 8px;
  transition: .3s
}

.btn {
  display: inline-block;
  background: var(--or);
  color: #141414;
  font-weight: 700;
  padding: .95rem 2rem;
  border-radius: 99px;
  box-shadow: 0 10px 30px -8px rgba(var(--orr), .6);
  transition: transform .3s, box-shadow .3s, background .3s
}

.btn:hover {
  transform: translateY(-3px);
  background: var(--or2);
  box-shadow: 0 16px 36px -8px rgba(var(--orr), .7)
}

:focus-visible {
  outline: 2px solid var(--bl);
  outline-offset: 3px
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 0 4rem
}

.kicker {
  color: var(--bl);
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: 1rem
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 800
}

.hero h2 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--mut);
  margin: 1rem 0 1.6rem;
  letter-spacing: 0
}

.tag {
  font: 800 clamp(1.5rem, 3vw, 2.2rem)/1.15 var(--fd);
  background: linear-gradient(90deg, var(--or), var(--or2) 45%, var(--bl));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.2rem
}

.lead {
  color: var(--mut);
  max-width: 34em;
  margin-bottom: 2.2rem
}

.photo {
  position: relative;
  justify-self: center;
  width: min(400px, 100%)
}

.glow {
  position: absolute;
  inset: -5%;
  border-radius: 36px;
  background: linear-gradient(135deg, var(--or), var(--bl));
  filter: blur(46px);
  opacity: .5;
  animation: pulse 7s ease-in-out infinite
}

.frame {
  position: relative;
  padding: 8px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--or), var(--bl));
  clip-path: inset(0 100% 0 0);
  animation: wipe 1.4s .3s cubic-bezier(.7, 0, .2, 1) forwards
}

.frame img {
  border-radius: 23px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--bg2)
}

@keyframes wipe {
  to {
    clip-path: inset(0 0 0 0)
  }
}

.hero-txt>* {
  opacity: 0;
  transform: translateY(24px);
  animation: up .9s cubic-bezier(.2, .7, .2, 1) forwards
}

.hero-txt>*:nth-child(1) {
  animation-delay: .1s
}

.hero-txt>*:nth-child(2) {
  animation-delay: .25s
}

.hero-txt>*:nth-child(3) {
  animation-delay: .4s
}

.hero-txt>*:nth-child(4) {
  animation-delay: .55s
}

.hero-txt>*:nth-child(5) {
  animation-delay: .7s
}

.hero-txt>*:nth-child(6) {
  animation-delay: .85s
}

@keyframes up {
  to {
    opacity: 1;
    transform: none
  }
}

.rv {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0s)
}

.rv.in {
  opacity: 1;
  transform: none
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--ln);
  border-radius: 24px;
  background: rgba(36, 38, 44, .6);
  backdrop-filter: blur(10px);
  padding: 2.4rem 1rem
}

.stat {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid var(--ln)
}

.stat:last-child {
  border: 0
}

.stat b {
  display: block;
  font: 800 clamp(2.4rem, 5vw, 3.8rem)/1 var(--fd);
  color: var(--or)
}

.stat:nth-child(even) b {
  color: var(--bl)
}

.stat span {
  color: var(--mut);
  font-size: .95rem
}

.sec {
  padding: 7rem 0 0
}

.head {
  margin-bottom: 3rem;
  max-width: 36em
}

.head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem)
}

.head p {
  color: var(--mut);
  margin-top: .8rem
}

.svc {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem
}

.svc article {
  padding: 1.8rem;
  border-radius: 20px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  transition: border-color .3s, transform .3s
}

.svc article:hover {
  border-color: rgba(var(--orr), .5);
  transform: translateY(-4px)
}

.ic {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: var(--or);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 1.1rem
}

.svc article:nth-child(even) .ic {
  stroke: var(--bl)
}

.svc h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
  letter-spacing: -.01em
}

.svc p {
  color: var(--mut);
  font-size: .98rem
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 240px;
  gap: 1.2rem
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  display: flex;
  align-items: flex-end;
  isolation: isolate
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--g);
  transition: transform .7s cubic-bezier(.2, .7, .2, 1)
}

.tile:hover::before {
  transform: scale(1.12)
}

.tile:hover {
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .8)
}

.tile span {
  width: 100%;
  padding: 3rem 1.2rem 1.1rem;
  font: 700 1.05rem var(--fd);
  background: linear-gradient(transparent, rgba(0, 0, 0, .72))
}

.t1 {
  grid-row: span 2;
  --g: radial-gradient(circle at 25% 20%, #ff8a3d, transparent 55%), linear-gradient(160deg, #3b2a24, #15161a)
}

.t2 {
  --g: radial-gradient(circle at 80% 30%, #3d9bff, transparent 55%), linear-gradient(160deg, #1f2a3d, #15161a)
}

.t3 {
  --g: radial-gradient(circle at 30% 70%, #ff5a7a, transparent 55%), linear-gradient(160deg, #3a2230, #15161a)
}

.t4 {
  --g: radial-gradient(circle at 70% 70%, #ffb23d, transparent 55%), linear-gradient(160deg, #3a3122, #15161a)
}

.t5 {
  --g: radial-gradient(circle at 20% 30%, #3dc9ff, transparent 55%), linear-gradient(160deg, #1c3238, #15161a)
}

.t6 {
  grid-column: span 3;
  --g: radial-gradient(circle at 60% 40%, #ff6a1a, transparent 45%), radial-gradient(circle at 20% 80%, #1f8bff, transparent 50%), #1a1b20
}

.center {
  text-align: center;
  margin-top: 3rem
}

.slider {
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto
}

.track {
  display: flex;
  transition: transform .8s cubic-bezier(.6, 0, .2, 1)
}

blockquote {
  flex: 0 0 100%;
  padding: 2.6rem;
  border-radius: 24px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  position: relative
}

blockquote::before {
  content: "\201C";
  position: absolute;
  top: .2rem;
  left: 1.6rem;
  font: 800 5rem/1 var(--fd);
  color: var(--or);
  opacity: .5
}

blockquote p {
  font-size: 1.3rem;
  line-height: 1.55;
  padding-top: 1.6rem
}

blockquote footer {
  margin-top: 1.4rem;
  color: var(--bl);
  font-weight: 700;
  font-size: .95rem
}

.dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 1.4rem
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  border: 0;
  background: var(--ln);
  cursor: pointer;
  transition: .3s
}

.dots button.on {
  width: 30px;
  background: var(--or)
}

.brands {
  padding: 7rem 0 0;
  text-align: center
}

.brands p {
  color: var(--mut);
  margin-bottom: 1.6rem
}

.marq {
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent)
}

.mt {
  display: flex;
  width: max-content;
  animation: mq 38s linear infinite
}

.marq:hover .mt {
  animation-play-state: paused
}

.mt span {
  padding: 0 2.6rem;
  font: 800 1.7rem var(--fd);
  color: rgba(242, 241, 238, .32);
  white-space: nowrap;
  transition: color .3s
}

.mt span:hover {
  color: var(--tx)
}

@keyframes mq {
  to {
    transform: translateX(-50%)
  }
}

.cta {
  margin-top: 7rem;
  text-align: center;
  padding: 5rem 1.5rem;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(var(--orr), .2), rgba(var(--bll), .2)), var(--bg2);
  border: 1px solid var(--ln)
}

.cta h2 {
  font-size: clamp(2rem, 4.5vw, 3.6rem)
}

.cta p {
  color: var(--mut);
  margin: 1rem auto 2rem;
  max-width: 32em
}

.foot {
  margin-top: 6rem;
  border-top: 1px solid var(--ln);
  padding: 3.5rem 0 1.5rem
}

.fgrid {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 2rem;
  align-items: start
}

.fgrid p {
  color: var(--mut);
  margin-top: .6rem
}

.fgrid nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem 2rem
}

.fgrid nav a {
  color: var(--mut);
  transition: color .25s
}

.fgrid nav a:hover {
  color: var(--or)
}

.soc {
  display: flex;
  gap: .7rem
}

.soc a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ln);
  display: grid;
  place-items: center;
  transition: .3s
}

.soc a:hover {
  background: var(--or);
  border-color: var(--or);
  transform: translateY(-3px)
}

.soc svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--tx);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.soc a:hover svg {
  stroke: #141414
}

.copy {
  text-align: center;
  font-size: .85rem;
  margin-top: 3rem
}

@media(max-width:900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 7rem;
    gap: 3rem
  }

  .hero-txt .lead {
    margin-inline: auto
  }

  .photo {
    order: -1;
    width: min(300px, 80%)
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    row-gap: 2rem
  }

  .stat:nth-child(2) {
    border: 0
  }

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

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

  .t6 {
    grid-column: span 2
  }

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

  .burger {
    display: block
  }

  .nav nav {
    position: fixed;
    inset: 0 0 0 30%;
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    background: rgba(var(--bgr), .97);
    transform: translateX(100%);
    transition: transform .4s;
    font-size: 1.2rem
  }

  .nav nav.open {
    transform: none
  }

  .nav .burger {
    position: relative;
    z-index: 30
  }
}

@media(max-width:560px) {

  .svc,
  .grid {
    grid-template-columns: 1fr
  }

  .t1,
  .t6 {
    grid-column: auto;
    grid-row: auto
  }

  .stat {
    border: 0
  }

  blockquote {
    padding: 2rem 1.4rem
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    animation-duration: .01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01s !important
  }

  .mt {
    animation: none
  }
}

/* Portfolio page */
.phead {
  padding: 9rem 0 2.5rem
}

.phead h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800
}

.phead p {
  color: var(--mut);
  margin-top: 1rem;
  max-width: 40rem
}

.hin {
  opacity: 0;
  transform: translateY(22px);
  animation: up .9s cubic-bezier(.2, .7, .2, 1) forwards
}

.phead p {
  animation-delay: .15s
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.4rem
}

.tabs button {
  font: 600 .95rem var(--fb);
  color: var(--mut);
  background: var(--bg2);
  border: 1px solid var(--ln);
  padding: .65rem 1.2rem;
  border-radius: 99px;
  cursor: pointer;
  transition: color .35s, background .35s, border-color .35s, box-shadow .35s
}

.tabs button:hover {
  color: var(--tx);
  border-color: rgba(255, 255, 255, .22)
}

.tabs button.on {
  color: #141414;
  background: var(--or);
  border-color: var(--or);
  box-shadow: 0 8px 26px -8px rgba(var(--orr), .75)
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  transition: opacity .32s, filter .32s, transform .32s
}

.pgrid.out {
  opacity: 0;
  filter: blur(8px);
  transform: scale(.985)
}

.pc {
  border-radius: 20px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  overflow: hidden;
  cursor: pointer;
  transition: opacity .8s, transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s, border-color .5s
}

.pc.rv.in:hover,
.pc.rv.in:focus-visible {
  transform: translateY(-8px);
  border-color: rgba(var(--orr), .45);
  box-shadow: 0 22px 50px -18px rgba(var(--orr), .4), 0 0 40px -12px rgba(var(--bll), .35)
}

.th,
.lb-img {
  background: radial-gradient(circle at 25% 25%, hsl(var(--h) 90% 58%), transparent 60%), radial-gradient(circle at 80% 85%, hsl(calc(var(--h) + 150) 85% 55%/.7), transparent 55%), linear-gradient(160deg, #2b2d35, #17181c);
  background-size: cover;
  background-position: center
}

.th.has,
.lb-img.has {
  background-size: cover
}

.th {
  aspect-ratio: 16/10;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1)
}

.pc {
  overflow: hidden
}

.pc:hover .th {
  transform: scale(1.06)
}

.pi {
  position: relative;
  background: var(--bg2);
  padding: 1.3rem 1.4rem 1.5rem
}

.pi small {
  color: var(--bl);
  font-weight: 700;
  font-size: .82rem
}

.pi h3 {
  font-size: 1.25rem;
  margin: .35rem 0 .45rem;
  letter-spacing: -.01em
}

.pi p {
  color: var(--mut);
  font-size: .96rem;
  line-height: 1.5
}

.empty {
  grid-column: 1/-1;
  text-align: center;
  color: var(--mut);
  padding: 4rem 0
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(14, 15, 18, .72);
  backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity .3s
}

.lb[hidden] {
  display: none
}

.lb.show {
  opacity: 1
}

.lb-box {
  position: relative;
  width: min(900px, 100%);
  max-height: 92vh;
  overflow: auto;
  border-radius: 24px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  box-shadow: 0 40px 90px -20px #000, 0 0 80px -30px rgba(var(--orr), .5);
  transform: translateY(24px) scale(.97);
  transition: transform .4s cubic-bezier(.2, .7, .2, 1)
}

.lb.show .lb-box {
  transform: none
}

.lb-img {
  aspect-ratio: 16/9
}

.lb-txt {
  padding: 1.8rem 2rem 2.2rem
}

.lb-txt small {
  color: var(--bl);
  font-weight: 700
}

.lb-txt h3 {
  font-size: 1.9rem;
  margin: .4rem 0 .7rem
}

.lb-txt p {
  color: var(--mut);
  max-width: 38em;
  margin-bottom: 1.6rem
}

.lb-x {
  position: absolute;
  top: .9rem;
  right: .9rem;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--ln);
  background: rgba(20, 21, 25, .7);
  color: var(--tx);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: .3s
}

.lb-x:hover {
  background: var(--or);
  color: #141414;
  border-color: var(--or)
}

@media(max-width:900px) {
  .pgrid {
    grid-template-columns: 1fr 1fr
  }

  .phead {
    padding-top: 7.5rem
  }
}

@media(max-width:560px) {
  .pgrid {
    grid-template-columns: 1fr
  }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .5rem;
    scrollbar-width: none
  }

  .tabs button {
    white-space: nowrap
  }

  .lb-txt {
    padding: 1.4rem
  }
}

/* About page */
.story {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 4rem;
  align-items: start;
  padding-bottom: 1rem
}

.aphoto {
  position: sticky;
  top: 6.5rem;
  width: min(360px, 100%);
  justify-self: center
}

.aphoto .glow {
  opacity: .4
}

.af {
  position: relative;
  padding: 8px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--or), var(--bl))
}

.af img {
  border-radius: 23px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  background: var(--bg2)
}

.prose p {
  color: var(--mut);
  margin-bottom: 1.5rem;
  max-width: 40em
}

.prose .lede {
  color: var(--tx);
  font-size: 1.28rem;
  line-height: 1.6
}

.tline {
  list-style: none;
  position: relative;
  max-width: 900px;
  margin: 0 auto
}

.tline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: .5rem;
  bottom: .5rem;
  width: 2px;
  margin-left: -1px;
  background: linear-gradient(var(--or), var(--bl));
  opacity: .35;
  border-radius: 2px
}

.tli {
  position: relative;
  width: 50%;
  padding: 0 3rem 2.6rem 0
}

.tli:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 2.6rem 3rem
}

.tli:last-child {
  padding-bottom: 0
}

.dot {
  position: absolute;
  top: 1.5rem;
  right: -9px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--or);
  box-shadow: 0 0 0 5px rgba(var(--orr), .18);
  animation: dp 4s ease-in-out infinite
}

.tli:nth-child(even) .dot {
  right: auto;
  left: -9px;
  background: var(--bl);
  box-shadow: 0 0 0 5px rgba(var(--bll), .2)
}

@keyframes dp {
  50% {
    box-shadow: 0 0 0 12px rgba(var(--orr), 0)
  }
}

.tc {
  padding: 1.5rem 1.6rem;
  border-radius: 20px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  transition: border-color .4s, box-shadow .4s
}

.tc:hover {
  border-color: rgba(var(--orr), .4);
  box-shadow: 0 18px 40px -20px rgba(var(--orr), .4)
}

.tc h3 {
  font-size: 1.2rem;
  letter-spacing: -.01em;
  margin-bottom: .4rem
}

.tc p {
  color: var(--mut);
  font-size: .97rem;
  line-height: 1.55
}

.skills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem 3.5rem
}

.sr {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: .6rem
}

.sr b {
  color: var(--or);
  font-family: var(--fd)
}

.bar {
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .07);
  overflow: hidden
}

.fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--or), var(--or2));
  box-shadow: 0 0 16px rgba(var(--orr), .5);
  transition: width 1.6s cubic-bezier(.2, .7, .2, 1)
}

.sk:nth-child(even) .fill {
  background: linear-gradient(90deg, var(--bl), var(--bl2));
  box-shadow: 0 0 16px rgba(var(--bll), .5)
}

.sk:nth-child(even) .sr b {
  color: var(--bl)
}

@media(max-width:900px) {
  .story {
    grid-template-columns: 1fr;
    gap: 2.5rem
  }

  .aphoto {
    position: relative;
    top: 0;
    width: min(280px, 80%)
  }

  .tline::before {
    left: 9px
  }

  .tli,
  .tli:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 0 0 2rem 2.6rem
  }

  .dot,
  .tli:nth-child(even) .dot {
    left: 0;
    right: auto
  }

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

/* Services page */
.sgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch
}

.sv {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.8rem;
  border-radius: 22px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  transition: opacity .8s, transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s, border-color .5s
}

.sv.rv.in:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--orr), .45);
  box-shadow: 0 22px 50px -18px rgba(var(--orr), .4), 0 0 40px -12px rgba(var(--bll), .3)
}

.sv:nth-child(even) .ic {
  stroke: var(--bl)
}

.sv h3 {
  font-size: 1.4rem;
  letter-spacing: -.01em
}

.pr {
  margin: 1rem 0 .9rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .4rem
}

.pr small {
  width: 100%;
  color: var(--mut);
  font-size: .85rem
}

.pr b {
  font: 800 2.5rem/1 var(--fd);
  color: var(--or)
}

.sv:nth-child(even) .pr b {
  color: var(--bl)
}

.pr em {
  font-style: normal;
  color: var(--mut);
  font-weight: 600
}

.sd {
  color: var(--mut);
  font-size: .98rem;
  line-height: 1.55;
  margin-bottom: 1.3rem
}

.sv ul {
  list-style: none;
  border-top: 1px solid var(--ln);
  padding-top: 1.1rem;
  margin-bottom: 1.5rem;
  display: grid;
  gap: .5rem
}

.sv li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .94rem;
  line-height: 1.4
}

.sv li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .32em;
  width: .42rem;
  height: .75rem;
  border: solid var(--or);
  border-width: 0 2px 2px 0;
  transform: rotate(40deg) scale(.85)
}

.sv:nth-child(even) li::before {
  border-color: var(--bl)
}

.ml {
  margin-top: auto;
  font-weight: 700;
  color: var(--tx);
  border-bottom: 2px solid var(--ln);
  align-self: flex-start;
  padding-bottom: .15rem;
  transition: border-color .3s, color .3s
}

.ml:hover {
  color: var(--or);
  border-color: var(--or)
}

.pkgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem
}

.pk {
  padding: 2.2rem 2rem;
  border-radius: 22px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .9rem;
  transition: opacity .8s, transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s
}

.pk h3 {
  font-size: 1.5rem
}

.pp {
  display: flex;
  align-items: baseline;
  gap: .3rem
}

.pp b {
  font: 800 2.8rem/1 var(--fd);
  color: var(--tx)
}

.pp em {
  font-style: normal;
  color: var(--mut)
}

.pk>p:not(.pp) {
  color: var(--mut);
  flex: 1
}

.pk.hot {
  background: linear-gradient(135deg, rgba(var(--orr), .16), rgba(var(--bll), .16)), var(--bg2);
  border-color: rgba(var(--orr), .45);
  box-shadow: 0 0 60px -22px rgba(var(--orr), .6)
}

.pk.rv.in:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px -18px rgba(var(--bll), .45)
}

.note {
  margin-top: 2rem;
  text-align: center;
  color: var(--mut);
  max-width: 44em;
  margin-inline: auto
}

@media(max-width:900px) {

  .sgrid,
  .pkgs {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:600px) {

  .sgrid,
  .pkgs {
    grid-template-columns: 1fr
  }
}

/* Awards page */
.alist {
  display: grid;
  gap: 1.6rem;
  max-width: 960px;
  margin: 0 auto
}

.ac {
  display: grid;
  grid-template-columns: 240px 1fr;
  border-radius: 24px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  overflow: hidden;
  transition: opacity .8s, transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s, border-color .5s
}

.ac.rv.in:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--orr), .45);
  box-shadow: 0 22px 50px -18px rgba(var(--orr), .4), 0 0 40px -12px rgba(var(--bll), .3)
}

.ay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: radial-gradient(circle at 20% 20%, rgba(var(--orr), .28), transparent 65%), radial-gradient(circle at 90% 90%, rgba(var(--bll), .25), transparent 65%), var(--bg2)
}

.ac:nth-child(even) .ay {
  background: radial-gradient(circle at 20% 20%, rgba(var(--bll), .28), transparent 65%), radial-gradient(circle at 90% 90%, rgba(var(--orr), .25), transparent 65%), var(--bg2)
}

.ay .ic {
  width: 44px;
  height: 44px;
  margin: 0
}

.ay b {
  font: 800 2.6rem/1 var(--fd)
}

.ay b.tbd {
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--mut);
  font-weight: 500
}

.ab {
  padding: 2rem 2.2rem
}

.ab h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem
}

.ab p {
  color: var(--mut);
  margin-bottom: .8rem
}

.ab p:last-child {
  margin: 0
}

.ab small {
  display: block;
  color: var(--bl);
  font-weight: 700;
  font-size: .85rem;
  margin-bottom: .15rem
}

.by {
  color: var(--tx) !important
}

@media(max-width:700px) {
  .ac {
    grid-template-columns: 1fr
  }

  .ay {
    flex-direction: row;
    align-items: center;
    padding: 1.3rem 1.6rem
  }

  .ay b {
    font-size: 2rem
  }

  .ab {
    padding: 1.5rem
  }
}

/* Contact page */
.cgrid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2rem;
  align-items: start
}

.cinfo {
  padding: 2rem;
  border-radius: 24px;
  background: var(--bg2);
  border: 1px solid var(--ln);
  display: grid;
  gap: 1.6rem
}

.ci {
  display: flex;
  gap: 1rem;
  align-items: flex-start
}

.ci .ic {
  flex: none;
  width: 28px;
  height: 28px;
  margin: .2rem 0 0
}

.ci:nth-child(2) .ic {
  stroke: var(--bl)
}

.ci small {
  display: block;
  color: var(--mut);
  font-size: .85rem;
  margin-bottom: .2rem
}

.ci a[data-email] {
  font-weight: 700;
  word-break: break-all;
  border-bottom: 2px solid var(--ln);
  transition: .3s
}

.ci a[data-email]:hover {
  color: var(--or);
  border-color: var(--or)
}

.ci span {
  color: var(--tx)
}

.cnote {
  color: var(--mut);
  font-size: .95rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--ln)
}

.cform {
  padding: 2.4rem;
  border-radius: 24px;
  background: var(--bg2);
  border: 1px solid var(--ln)
}

.cform h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem)
}

.fin {
  color: var(--mut);
  margin: .7rem 0 1.8rem
}

.fr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem
}

.fld {
  display: block;
  margin-bottom: 1.2rem
}

.fld span {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: .45rem;
  transition: color .3s
}

.fld:focus-within span {
  color: var(--or)
}

.fld input,
.fld select,
.fld textarea {
  width: 100%;
  font: 400 1rem var(--fb);
  color: var(--tx);
  background: var(--bg);
  border: 1px solid var(--ln);
  border-radius: 14px;
  padding: .9rem 1.1rem;
  transition: border-color .35s, box-shadow .35s, background .35s
}

.fld textarea {
  resize: vertical;
  min-height: 140px
}

.fld ::placeholder {
  color: #6d707b
}

.fld select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23a3a6b0' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.6rem
}

.fld select:invalid {
  color: #6d707b
}

.fld option {
  color: var(--tx);
  background: var(--bg)
}

.fld input:hover,
.fld select:hover,
.fld textarea:hover {
  border-color: rgba(255, 255, 255, .22)
}

.fld input:focus,
.fld select:focus,
.fld textarea:focus {
  outline: 0;
  border-color: var(--or);
  background: var(--bg2);
  box-shadow: 0 0 0 4px rgba(var(--orr), .16), 0 0 30px -6px rgba(var(--bll), .45)
}

.fld.bad input,
.fld.bad select,
.fld.bad textarea {
  border-color: #ff5a6e;
  box-shadow: 0 0 0 4px rgba(255, 90, 110, .14)
}

.sub {
  border: 0;
  cursor: pointer;
  font: 700 1.05rem var(--fb);
  padding: 1rem 2.6rem;
  width: auto
}

.fmsg {
  margin-top: 1.2rem;
  font-weight: 500;
  min-height: 1.5em
}

.fmsg.ok {
  color: #5be3a4
}

.fmsg.err {
  color: #ff8593
}

@media(max-width:900px) {
  .cgrid {
    grid-template-columns: 1fr
  }
}

@media(max-width:560px) {
  .fr {
    grid-template-columns: 1fr;
    gap: 0
  }

  .cform {
    padding: 1.6rem 1.3rem
  }

  .sub {
    width: 100%
  }
}

.tile.hasimg::before {
  background: var(--g) center/cover no-repeat
}

@media(max-width:900px) {
  .nav.solid {
    backdrop-filter: none;
    background: rgba(var(--bgr), .96)
  }

  .t6 {
    grid-column: span 2
  }
}

@media(max-width:560px) {
  .t6 {
    grid-column: auto
  }
}
