/* ======================================================================
   style.css  (sections are in page order; search for the heading you need)
   ====================================================================== */

/* ----------------------------------------------------------------------
   THEME: colours, image ratios and sizes live here. Change a value and the whole site follows.
   ---------------------------------------------------------------------- */
:root {
  --ink: #10151c;
  --mu: #566170;
  --line: #e3dcc8;
  --sky1: #2b8cdc;
  --sky2: #8fc8f0;
  --sky3: #e6f4ff;
  --media-ratio: 16/9;
  --snap-ratio: 4/3;
  --photo-max: 300px;
  color-scheme: light;
}

/* ----------------------------------------------------------------------
   BASE STYLES
   ---------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html {
  overflow-x: hidden;
}
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 17px/1.65 Figtree,system-ui,-apple-system,"Segoe UI",sans-serif;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--sky1);
  outline-offset: 3px;
}
.w {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
h1,
h2,
h3 {
  font-family: "Bricolage Grotesque",Figtree,system-ui,sans-serif;
  margin: 0;
  letter-spacing: -.02em;
}
h1 {
  font-size: clamp(3rem,7vw,5.4rem);
  line-height: .98;
  font-weight: 800;
}
h2 {
  font-size: clamp(1.8rem,3.4vw,2.6rem);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* ----------------------------------------------------------------------
   HEADER AND MENU
   ---------------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #dfe5ec;
}
.in {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font: 800 1.35rem "Bricolage Grotesque",sans-serif;
}
.av {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.links {
  display: flex;
  gap: 34px;
}
.links a {
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 600;
  color: #3a4552;
  padding: 6px 0;
  border-bottom: 3px solid transparent;
}
.links a:hover,
.links a[aria-current] {
  color: #000;
  border-color: var(--sky1);
}
.soc {
  display: flex;
  gap: 8px;
}
.soc a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d3dbe4;
  border-radius: 50%;
}
.soc a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
svg.i {
  width: 19px;
  height: 19px;
  fill: currentColor;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid #d3dbe4;
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: auto;
  background: var(--ink);
  box-shadow: 0 6px var(--ink),0 -6px var(--ink);
}

/* ----------------------------------------------------------------------
   HERO AND PAGE BANNERS (blue sky)
   ---------------------------------------------------------------------- */
.sky,
.b-sky {
  background: url(images/hero.jpg) center/cover no-repeat,linear-gradient(180deg,var(--sky1) 0%,var(--sky2) 60%,var(--sky3) 100%);
}
.sky {
  padding: 90px 0 110px;
}
.sky .w {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}
.sky.c {
  padding: 80px 0 70px;
}
.sky.c .w {
  display: block;
}
.sky.c h1 {
  font-size: clamp(2.6rem,6vw,4.4rem);
}
.sub {
  font-size: 1.3rem;
  max-width: 36ch;
  margin: 22px 0 22px;
  color: #0b1b2e;
}
.sky.c .sub {
  max-width: 52ch;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.badges li {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  font-weight: 700;
  font-size: .95rem;
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  font: 700 1rem Figtree,sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover {
  background: #2a3441;
}
.btn.o {
  background: rgba(255,255,255,.85);
  color: var(--ink);
}
.btn.o:hover {
  background: #fff;
}
.ph {
  position: relative;
  justify-self: center;
  width: min(var(--photo-max),72vw);
}
.ph::before {
  content: "";
  position: absolute;
  inset: -14px;
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 50%;
  animation: ring 6s ease-in-out infinite;
}
.oval {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;
  box-shadow: 0 30px 80px rgba(15,50,90,.35);
  background: #cfe3f3;
}
.oval img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
  display: block;
  pointer-events: none;
}

/* ----------------------------------------------------------------------
   COLOURED SECTION BANDS
   ---------------------------------------------------------------------- */
.band {
  padding: 84px 0;
}
.b-cream {
  background: #fbf3df;
}
.b-sage {
  background: #e1eee3;
}
.b-lav {
  background: #e9e7f7;
}
.b-sky {
  padding: 100px 0;
  text-align: center;
}
.b-sky p {
  max-width: 46ch;
  margin: 16px auto 0;
  font-size: 1.15rem;
  color: #0b1b2e;
}
.b-sky h2 {
  text-transform: none;
  font-size: clamp(2.3rem,5vw,3.8rem);
  letter-spacing: -.02em;
}
.sh {
  margin-bottom: 34px;
}
.sep {
  height: 0;
  border: 0;
  border-top: 1.5px solid rgba(16,21,28,.2);
  margin: 72px 0 64px;
}

/* ----------------------------------------------------------------------
   PROJECT CARDS
   ---------------------------------------------------------------------- */
.card {
  display: grid;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  gap: 40px;
  align-items: center;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  margin-bottom: 26px;
}
.media {
  margin: 0;
  aspect-ratio: var(--media-ratio);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0f17;
}
.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card h3 {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.card h4 {
  margin: 0 0 12px;
  font-size: 1.08rem;
}
.card p {
  margin: 0 0 18px;
  color: var(--mu);
}
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffdf7;
  font-size: .88rem;
  font-weight: 700;
}
.chips img {
  width: 16px;
  height: 16px;
}
.chips.big li {
  padding: 9px 16px;
  font-size: 1rem;
  gap: 9px;
}
.chips.big img {
  width: 20px;
  height: 20px;
}
.more {
  display: flex;
  gap: 26px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.more a {
  text-decoration: none;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.more a:hover {
  color: var(--sky1);
}

/* ----------------------------------------------------------------------
   ABOUT ME (home page)
   ---------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: minmax(320px, .75fr) 1.25fr;
  gap: 48px;
  align-items: center;
}
.about p {
  margin: 0 0 16px;
  color: #3f4854;
}

/* ----------------------------------------------------------------------
   SKILLS
   ---------------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.blk {
  padding: 26px;
  background: #fff;
  border: 1px solid rgba(16,21,28,.1);
  border-radius: 18px;
}
.blk h3 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}
.blk>p {
  margin: 0 0 16px;
  color: var(--mu);
  font-size: .95rem;
}

/* ----------------------------------------------------------------------
   ADDITIONAL PROJECTS
   ---------------------------------------------------------------------- */
.rows {
  display: grid;
  gap: 16px;
}
.row {
  display: grid;
  grid-template-columns: 280px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 22px 26px;
  background: #fff;
  border: 1px solid rgba(16,21,28,.1);
  border-radius: 18px;
}
.row h3 {
  font-size: 1.35rem;
}
.row p {
  margin: 0;
  color: var(--mu);
  font-size: .95rem;
}
.row-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  justify-self: end;
}
.row-links a {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.row-links a:hover {
  color: var(--sky1);
}

/* ----------------------------------------------------------------------
   EDUCATION AND PARTICIPATION
   ---------------------------------------------------------------------- */
.edu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.edu h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.edu p,
.part p {
  margin: 0 0 6px;
  color: #3f4854;
  max-width: 62ch;
}
.cg {
  font: 800 3.4rem/1 "Bricolage Grotesque",sans-serif;
  text-align: right;
  white-space: nowrap;
}
.cg span {
  display: block;
  margin-top: 6px;
  font: 700 .8rem Figtree,sans-serif;
  letter-spacing: .14em;
  color: var(--mu);
}
.part h3 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

/* ----------------------------------------------------------------------
   CONTACT FORM
   ---------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 14px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
}
label {
  display: grid;
  gap: 6px;
  color: var(--mu);
  font-size: .9rem;
  font-weight: 600;
}
input,
textarea {
  font: inherit;
  color: var(--ink);
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 11px 13px;
}
.hp {
  position: absolute;
  left: -9999px;
}
.st {
  margin: 0;
  min-height: 1.4em;
  color: var(--mu);
  font-size: .9rem;
}
.two {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: start;
}
.ll {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.ll a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
}
.ll a:hover {
  color: var(--sky1);
}

/* ----------------------------------------------------------------------
   ABOUT PAGE
   ---------------------------------------------------------------------- */
.abt {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 56px;
  align-items: start;
}
.prose h2 {
  font-size: 1.4rem;
  margin: 34px 0 8px;
  text-transform: none;
  letter-spacing: -.01em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose p {
  color: #3f4854;
  margin: 0 0 14px;
  max-width: 62ch;
}
.side {
  position: sticky;
  top: 110px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  text-align: center;
}
.side .ph {
  width: min(240px,100%);
  margin: 10px auto 26px;
}
.side h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px 8px;
}
.logos li {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--mu);
}
.logos img {
  width: 28px;
  height: 28px;
}

/* ----------------------------------------------------------------------
   BLOG PAGE
   ---------------------------------------------------------------------- */
.posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.posts li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.posts h3 {
  font-size: 1.4rem;
  margin-bottom: 2px;
}
.posts p {
  margin: 0;
  color: var(--mu);
}
.soon {
  flex: none;
  padding: 3px 12px;
  border: 1px solid var(--sky1);
  border-radius: 999px;
  color: var(--sky1);
  font-size: .8rem;
  font-weight: 700;
}

/* ----------------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------------- */
footer {
  background: var(--ink);
  color: #cfd6df;
  padding: 40px 0;
  font-size: .92rem;
}
footer .w {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
footer a {
  text-decoration: none;
  margin-left: 18px;
}
footer a:hover {
  color: #fff;
}

/* ----------------------------------------------------------------------
   ICONS
   ---------------------------------------------------------------------- */
.hi {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: 14px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  vertical-align: middle;
}
.hi svg,
.gi {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hi svg {
  width: 22px;
  height: 22px;
}
.gi {
  width: 16px;
  height: 16px;
  color: #3a3f47;
  flex: none;
}
.chips.big .gi {
  width: 20px;
  height: 20px;
}
.cg b {
  font: inherit;
}

/* ----------------------------------------------------------------------
   CODE CARD (About me)
   ---------------------------------------------------------------------- */
.code {
  margin-top: 28px;
  background: var(--ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(16,21,28,.18);
}
.ct {
  padding: 10px 18px;
  font: 600 .8rem ui-monospace,SFMono-Regular,Menlo,monospace;
  color: #8fa3b8;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.code pre {
  margin: 0;
  padding: 18px 20px;
  font: 500 .86rem/1.7 ui-monospace,SFMono-Regular,Menlo,monospace;
  color: #dbe6f1;
  overflow-x: auto;
  white-space: normal;
}
.code .l {
  display: block;
  white-space: pre;
}
.code .k {
  color: #7cc4ff;
}
.code .s {
  color: #9ad98c;
}
.code .f {
  color: #ffd479;
}
.code .d {
  color: #ff9d7a;
}
.car {
  display: inline-block;
  width: 8px;
  height: 1em;
  margin-left: 2px;
  background: #9ad98c;
  vertical-align: -.15em;
  animation: bl 1s steps(1) infinite;
}

/* ----------------------------------------------------------------------
   ANIMATIONS AND SCROLL EFFECTS
   ---------------------------------------------------------------------- */
@keyframes bl {
  50% {
    opacity: 0;
  }
}
@keyframes ring {
  0%,
  100% {
    opacity: .55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.03);
  }
}

.nav {
  transition: box-shadow .25s ease;
}
.nav.sc {
  box-shadow: 0 6px 20px rgba(16,21,28,.08);
}
.links a {
  transition: border-color .2s ease,color .2s ease;
}
.card,
.blk,
.row,
.posts li {
  transition: transform .25s ease,box-shadow .25s ease;
}
.card:hover,
.blk:hover,
.row:hover,
.posts li:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(16,21,28,.1);
}
.js .rv {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease,transform .6s ease;
  transition-delay: calc(var(--i,0)*80ms);
}
.js .rv.on {
  opacity: 1;
  transform: none;
}
.js .code .l {
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity .4s ease,transform .4s ease;
  transition-delay: calc(var(--i)*90ms);
}
.js .code.on .l {
  opacity: 1;
  transform: none;
}

/* ----------------------------------------------------------------------
   SMALL HELPERS
   ---------------------------------------------------------------------- */
.row-chips {
  margin-top: 10px;
}
.snaps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 36px 0 10px;
}
.snap {
  position: relative;
  margin: 0;
  aspect-ratio: var(--snap-ratio);
  border-radius: 16px;
  overflow: hidden;
  background: #0d1117;
  border: 1px solid rgba(16,21,28,.1);
  box-shadow: 0 6px 20px rgba(16,21,28,.08);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: zoom-in;
}
.snap:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(16,21,28,.15);
}
.snap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.snap:hover img {
  transform: scale(1.03);
}

/* Lightbox modal for full-resolution view */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 15, 25, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 70px rgba(0,0,0,.6);
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255,255,255,.16);
  border: 0;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s ease;
}
.lightbox-close:hover {
  background: rgba(255,255,255,.3);
}
.sprite {
  position: absolute;
  width: 0;
  height: 0;
}
.sep--tight {
  margin: 48px 0 44px;
}
.sep--flush {
  margin-top: 0;
}
.band--flush {
  padding-top: 0;
}
.cta--spaced {
  margin-top: 26px;
}
.footer-brand {
  margin: 0;
  font-weight: 700;
}

/* ----------------------------------------------------------------------
   RESPONSIVE: phones and tablets
   ---------------------------------------------------------------------- */
@media (max-width: 900px) {
  .burger {
    display: block;
  }
  .in {
    height: 72px;
    padding: 0 20px;
  }
  .w {
    padding: 0 20px;
  }
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: #fff;
    border-bottom: 1px solid #dfe5ec;
    box-shadow: 0 14px 30px rgba(16,21,28,.1);
  }
  .menu.o {
    display: flex;
  }
  .links {
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }
  .band {
    padding: 56px 0;
  }
  h1 {
    font-size: clamp(2.3rem, 8vw, 3.8rem);
    line-height: 1.04;
  }
  h2 {
    font-size: clamp(1.45rem, 5vw, 2.2rem);
  }
  .sub {
    font-size: 1.12rem;
    margin: 16px 0 20px;
    max-width: 100%;
  }
  .sky {
    padding: 40px 0 60px;
  }
  .sky .w,
  .card,
  .about,
  .two,
  .abt {
    grid-template-columns: 1fr;
  }
  .ph {
    order: -1;
    width: min(190px, 50vw);
    margin: 0 auto 10px;
  }
  .oval {
    border-width: 4px;
  }
  .ph::before {
    inset: -10px;
  }
  .badges {
    gap: 8px;
    margin-bottom: 22px;
  }
  .badges li {
    padding: 6px 14px;
    font-size: .88rem;
  }
  .card {
    padding: 18px;
    gap: 18px;
    border-radius: 16px;
    margin-bottom: 20px;
  }
  .card h3 {
    font-size: 1.55rem;
  }
  .card h4 {
    font-size: .98rem;
    margin-bottom: 10px;
  }
  .card p {
    font-size: .92rem;
    margin-bottom: 14px;
  }
  .about {
    gap: 28px;
  }
  .about > div {
    min-width: 0;
  }
  .code {
    margin-top: 18px;
    border-radius: 14px;
    max-width: 100%;
  }
  .code pre {
    padding: 14px 16px;
    font-size: .8rem;
  }
  .snaps {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 4px 14px;
    margin: 24px 0 10px;
    -webkit-overflow-scrolling: touch;
  }
  .snap {
    flex: 0 0 84%;
    aspect-ratio: 4/3;
    scroll-snap-align: center;
    border-radius: 14px;
  }
  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .blk {
    padding: 20px;
    border-radius: 16px;
  }
  .blk h3 {
    font-size: 1.25rem;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 16px;
  }
  .row h3 {
    font-size: 1.2rem;
  }
  .row-links {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-self: start;
    gap: 14px;
    margin-top: 6px;
  }
  .edu {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .edu h3,
  .part h3 {
    font-size: 1.35rem;
  }
  .cg {
    font-size: 2.5rem;
    text-align: left;
  }
  .sep {
    margin: 44px 0 38px;
  }
  .b-sky {
    padding: 60px 0;
  }
  .b-sky p {
    font-size: 1.05rem;
  }
  .side {
    position: static;
  }
  .posts li {
    flex-direction: column;
    align-items: flex-start;
  }
  footer a {
    margin: 0 18px 0 0;
  }
}
@media (max-width: 480px) {
  .w {
    padding: 0 16px;
  }
  .in {
    padding: 0 16px;
  }
  .ph {
    width: min(160px, 46vw);
  }
  .cta .btn {
    width: 100%;
    justify-content: center;
  }
  .snaps {
    gap: 10px;
  }
  .snap {
    flex: 0 0 88%;
    border-radius: 12px;
  }
}
@media (min-width: 901px) and (max-width: 1060px) {
  .grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none!important;
    transition: none!important;
  }
  .js .rv,
  .js .code .l {
    opacity: 1;
    transform: none;
  }
}
