/* ==========================================================
   Gratus | InkSoft stores and product data for apparel shops
   Edit colors and fonts in :root below.
   ========================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}

:root {
  --butter: #FFF3A6;
  --peach: #FFD3C4;
  --orchid: #FFA9F5;
  --grad: linear-gradient(100deg, #FFF3A6 0%, #FFD3C4 48%, #FFA9F5 100%);
  --grad-soft: linear-gradient(100deg, #FFFAD6 0%, #FFEDE6 48%, #FFE1FB 100%);
  --ink: #1B1D1E;
  --ink-2: #4A4D50;
  --ink-3: #74777B;
  --paper: #FFFFFF;
  --mist: #FBF8FB;
  --line: #ECE6EE;
  --plum: #9C1A8A;

  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section--mist { background: var(--mist); }
.kicker {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: .95rem; color: var(--ink-2);
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: ""; width: 22px; height: 10px; border-radius: 6px;
  background: var(--grad); border: 1.5px solid var(--ink);
}
.lede { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--f-body); font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid var(--ink);
  cursor: pointer;
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--grad);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}
.btn:hover { color: var(--ink); }
.btn:hover::before { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: var(--ink); }
.btn--small { padding: .65em 1.2em; font-size: .95rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) {
  display: block; padding: .5em .9em; border-radius: 999px;
  text-decoration: none; font-weight: 600; color: var(--ink-2);
  transition: background .25s, color .25s;
}
.nav-links a:not(.btn):hover { background: var(--mist); color: var(--ink); }
.nav-links a[aria-current="page"]:not(.btn) { color: var(--ink); background: var(--grad-soft); }
.nav-links .btn { margin-left: 10px; }
.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; padding: 16px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease), opacity .25s, visibility .35s;
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { padding: .85em 1em; font-size: 1.1rem; }
  .nav-links .btn { margin: 10px 0 0; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1;
  width: 900px; height: 900px; right: -320px; top: -360px;
  background: radial-gradient(closest-side, rgba(255,169,245,.35), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 700px; height: 700px; left: -300px; bottom: -380px;
  background: radial-gradient(closest-side, rgba(255,243,166,.55), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.hero .lede { margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 1.6rem; font-size: .95rem; color: var(--ink-3); display: flex; align-items: center; gap: .6em; }
.hero-note .dot { width: 9px; height: 9px; border-radius: 50%; background: #3BB273; box-shadow: 0 0 0 4px rgba(59,178,115,.18); }

/* The hang tag: Gratus' signature shape */
.tag-wrap { position: relative; justify-self: center; width: min(100%, 440px); padding-top: 70px; }
.hangtag {
  position: relative;
  transform-origin: 50% 7.5%;
  aspect-ratio: 4 / 5;
}
.hangtag-body {
  position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible;
}
.hangtag-body .fill { fill: url(#tagGrad); }
.hangtag-body .edge { fill: none; stroke: var(--ink); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.hangtag-body .stitch { fill: none; stroke: var(--ink); stroke-width: 1.2px; stroke-dasharray: 6 6; opacity: .35; vector-effect: non-scaling-stroke; }
.hangtag-hole {
  position: absolute; left: 50%; top: 5.5%;
  width: 26px; height: 26px; margin-left: -13px;
  border-radius: 50%; background: #fff; border: 2px solid var(--ink);
  z-index: 3;
}
.hangtag-string {
  position: absolute; left: 50%; top: calc(5.5% + 13px - 110px);
  width: 140px; height: 110px;
  overflow: visible; z-index: 2; pointer-events: none;
}
.hangtag-string path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.hangtag-photo {
  position: absolute; left: 1px; right: 1px; bottom: 1px;
  width: calc(100% - 2px); height: auto;
  border-radius: 0 0 26px 26px;
  z-index: 2;
}
.hangtag-label {
  position: absolute; left: 50%; top: 13%; transform: translateX(-50%);
  font-family: var(--f-display); font-weight: 700; font-size: .9rem;
  letter-spacing: .02em; color: var(--ink); z-index: 1; white-space: nowrap; opacity: .75;
}
.chip-float {
  position: absolute; z-index: 4;
  background: #fff; border: 2px solid var(--ink);
  border-radius: 10px; padding: .45em .85em;
  font-weight: 700; font-size: .9rem; white-space: nowrap;
  box-shadow: 4px 4px 0 var(--ink);
}
.chip-float small { display: block; font-weight: 500; font-size: .75rem; color: var(--ink-3); line-height: 1.2; }
.chip-float.c1 { left: -14%; top: 34%; rotate: -5deg; }
.chip-float.c2 { right: -12%; top: 54%; rotate: 4deg; }
.chip-float.c3 { left: -6%; bottom: 7%; rotate: 3deg; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .tag-wrap { width: min(86%, 380px); margin-top: 8px; }
  .chip-float.c1 { left: -10%; }
  .chip-float.c2 { right: -8%; }
}
@media (max-width: 480px) {
  .chip-float { font-size: .8rem; }
  .chip-float.c1 { left: -6%; }
  .chip-float.c2 { right: -6%; }
  .chip-float.c3 { left: -4%; }
}

/* ---------- Marquee ribbons ---------- */
.ribbon { overflow: hidden; padding: 0 0 clamp(64px, 8vw, 104px); }
.ribbon-track {
  display: flex; gap: 22px; width: max-content;
  animation: marquee var(--speed, 60s) linear infinite;
}
.ribbon:hover .ribbon-track { animation-play-state: paused; }
.ribbon figure {
  margin: 0; width: clamp(260px, 30vw, 420px); flex: none;
  border-radius: var(--r-md); overflow: hidden;
  border: 1.5px solid var(--line); background: #fff;
}
.ribbon figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.ribbon figcaption { padding: .7em 1em; font-weight: 600; font-size: .92rem; color: var(--ink-2); border-top: 1px solid var(--line); }
@keyframes marquee { to { transform: translateX(-50%); } }

.toolbelt { border-block: 2px solid var(--ink); background: var(--grad); overflow: hidden; padding: 18px 0; }
.toolbelt .ribbon-track { --speed: 38s; gap: 0; }
.toolbelt span {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  letter-spacing: -0.01em; white-space: nowrap; padding: 0 28px;
  display: inline-flex; align-items: center; gap: 56px;
}
.toolbelt span::after { content: ""; width: 12px; height: 12px; border: 2px solid var(--ink); border-radius: 50%; margin-left: 0; }

/* ---------- Client logos ---------- */
.clients {
  overflow: hidden; background: var(--mist);
  border-block: 1px solid var(--line);
  padding-block: 30px 36px;
}
.clients-title {
  text-align: center; font-weight: 600; color: var(--ink-2);
  margin: 0 0 24px; padding-inline: max(16px, var(--gutter));
}
.clients .ribbon-track { --speed: 50s; gap: clamp(40px, 6vw, 72px); align-items: center; padding-right: clamp(40px, 6vw, 72px); }
.client-logo { flex: none; display: grid; place-items: center; height: 88px; }
.client-logo img {
  height: 54px; width: auto; max-width: 230px; object-fit: contain;
  filter: grayscale(1); opacity: .72;
  transition: filter .4s, opacity .4s;
}
.client-logo.is-tall img { height: 84px; }
.client-logo:hover img { filter: none; opacity: 1; }
.facts-wrap { margin-top: clamp(48px, 7vw, 80px); }

/* ---------- Platforms (About) ---------- */
.platforms {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
}
.platform {
  width: 168px; min-height: 112px; padding: 18px 14px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  text-align: center; background: #fff;
  border: 1.5px solid var(--line); border-radius: var(--r-md);
  transition: border-color .3s, transform .4s var(--ease);
}
.platform:hover { border-color: var(--ink); transform: translateY(-4px); }
.platform-name { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.015em; line-height: 1.15; }
.platform img { max-height: 44px; width: auto; max-width: 130px; object-fit: contain; }
.platform small { font-size: .8rem; color: var(--ink-3); }
.platform.is-main { background: var(--grad); border: 2px solid var(--ink); }
.platform.is-main small { color: var(--ink); }
@media (max-width: 520px) {
  .platform { width: calc(50% - 7px); }
}

/* ---------- Facts ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--ink); border-radius: var(--r-md); overflow: hidden; background: #fff;
}
.fact { padding: 26px 26px 24px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--f-display); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: .2em; }
.fact span { color: var(--ink-2); font-size: .98rem; line-height: 1.45; display: block; }
@media (max-width: 860px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .fact { padding: 20px 16px; }
  .fact strong { font-size: 1.55rem; white-space: nowrap; }
  .fact span { font-size: .9rem; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.service {
  padding: 34px 30px 38px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px;
  display: grid; place-items: center;
  background: var(--grad-soft); border: 1.5px solid var(--ink);
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.service:hover .service-icon { background: var(--grad); transform: rotate(-6deg); }
.service-icon svg { width: 26px; height: 26px; }
.service p { color: var(--ink-2); margin-bottom: 1.1em; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.pills li { font-size: .82rem; font-weight: 600; padding: .3em .75em; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); color: var(--ink-2); }
@media (max-width: 960px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:not(:nth-child(3n+1)) { padding: 30px 24px 32px 0; border-left: 0; }
  .service:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 620px) {
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(2n) { padding: 28px 0; border-left: 0; }
}

/* ---------- Why me ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.portrait {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 2px solid var(--ink); background: var(--grad);
  aspect-ratio: 4 / 5;
}
.portrait img { position: absolute; bottom: 0; left: 0; width: 100%; height: auto; }
.portrait-wrap { position: relative; }
.portrait-wrap::after {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1;
  border-radius: var(--r-lg); background: var(--ink);
}
.reasons { list-style: none; padding: 0; margin: 2rem 0 2.2rem; display: grid; gap: 22px; }
.reasons li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.reasons .tick {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); border: 1.5px solid var(--ink);
}
.reasons .tick svg { width: 18px; height: 18px; }
.reasons strong { display: block; font-family: var(--f-display); font-size: 1.15rem; margin-bottom: .15em; }
.reasons p { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 420px; }
}

/* ---------- Work cards ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.work-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.work-thumb {
  border-radius: var(--r-md); overflow: hidden; border: 1.5px solid var(--line);
  background: var(--mist); margin-bottom: 18px; position: relative;
  transition: transform .5s var(--ease), border-color .3s;
}
.work-thumb img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.work-card:hover .work-thumb { transform: translateY(-6px); border-color: var(--ink); }
.work-card:hover .work-thumb img { transform: scale(1.04); }
.work-meta { font-size: .88rem; font-weight: 600; color: var(--plum); margin-bottom: .35em; }
.work-card h3 { margin-bottom: .35em; }
.work-card p { color: var(--ink-2); margin: 0; }
.section-foot { margin-top: clamp(36px, 5vw, 56px); display: flex; justify-content: center; }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .work-grid { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button {
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: .55em 1.1em; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-2);
  transition: background .25s, border-color .25s, color .25s;
}
.filters button:hover { border-color: var(--ink); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.work-card.is-hidden { display: none; }

/* ---------- Testimonials ---------- */
.quotes { position: relative; }
.quote-viewport { overflow: hidden; border-radius: var(--r-lg); border: 2px solid var(--ink); background: #fff; }
.quote-track { display: flex; transition: transform .7s var(--ease); }
.quote {
  flex: 0 0 100%; padding: clamp(32px, 6vw, 72px) clamp(24px, 7vw, 96px);
  margin: 0;
}
.quote blockquote {
  margin: 0 0 1.6rem;
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.85rem); line-height: 1.35; letter-spacing: -0.015em;
}
.quote blockquote::before {
  content: ""; display: block; width: 46px; height: 34px; margin-bottom: 22px;
  background: var(--grad); border: 1.5px solid var(--ink); border-radius: 8px 8px 8px 0;
}
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote figcaption .avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--grad-soft); border: 1.5px solid var(--ink);
  display: grid; place-items: center; font-weight: 800; font-family: var(--f-display);
}
.quote figcaption strong { display: block; }
.quote figcaption span { color: var(--ink-3); font-size: .95rem; }
.quote-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; gap: 16px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 28px; height: 8px; border-radius: 6px; border: 1.5px solid var(--ink); background: #fff; padding: 0; cursor: pointer; transition: background .3s, width .3s var(--ease); }
.dots button[aria-current="true"] { background: var(--ink); width: 44px; }
.arrows { display: flex; gap: 10px; }
.arrows button {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: #fff;
  display: grid; place-items: center; cursor: pointer; transition: background .3s;
}
.arrows button:hover { background: var(--grad); }
.arrows svg { width: 20px; height: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border: 2px solid var(--ink); border-radius: var(--r-lg);
  background: var(--grad);
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 80px);
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: center;
}
.cta-band h2 { max-width: 16ch; }
.cta-band p { color: var(--ink); max-width: 52ch; font-size: 1.1rem; }
.cta-band .hero-ctas { margin-top: 1.8rem; }
.cta-band .btn--ghost { background: rgba(255,255,255,.55); }
.cta-mark { width: 100%; max-width: 240px; justify-self: end; opacity: .9; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } .cta-mark { display: none; } }

/* ---------- Page heads (inner pages) ---------- */
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; z-index: -1; inset: auto -10% 0 -10%; height: 70%;
  background: var(--grad-soft); clip-path: ellipse(70% 100% at 50% 100%);
}
.page-head h1 { max-width: 18ch; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.prose p { color: var(--ink-2); font-size: 1.1rem; }
.prose p:first-child { color: var(--ink); font-size: 1.25rem; font-family: var(--f-display); font-weight: 500; line-height: 1.45; letter-spacing: -0.01em; }
.about-photo { position: sticky; top: 110px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { position: static; max-width: 420px; } }

.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--ink); }
.timeline li { position: relative; padding: 0 0 34px 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 6px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad); border: 2px solid var(--ink);
}
.timeline time { font-weight: 700; font-size: .92rem; color: var(--plum); }
.timeline h3 { margin: .2em 0 .3em; }
.timeline p { color: var(--ink-2); margin: 0; }

.tool-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tool-group { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 26px; background: #fff; }
.tool-group h3 { font-size: 1.1rem; }
.tool-group .pills li { font-size: .9rem; }
.tool-group.is-main { border: 2px solid var(--ink); background: var(--grad-soft); grid-row: span 2; }
.tool-group.is-main .pills li { background: #fff; }
@media (max-width: 760px) { .tool-groups { grid-template-columns: 1fr; } .tool-group.is-main { grid-row: auto; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 22px; border-top: 2px solid var(--ink); }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; margin-bottom: 16px;
  background: var(--grad); border: 1.5px solid var(--ink);
  font-family: var(--f-display); font-weight: 800;
}
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.panel { border: 2px solid var(--ink); border-radius: var(--r-lg); background: #fff; padding: clamp(24px, 4vw, 40px); }
.panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.calendly-inline-widget { min-width: 280px; height: 680px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8em 1em; border-radius: 12px;
  border: 1.5px solid #D9D2DC; background: #fff;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,169,245,.45); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hidden-field { display: none; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.contact-list a {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line);
  transition: border-color .25s, background .25s;
}
.contact-list a:hover { border-color: var(--ink); background: var(--grad-soft); }
.contact-list small { display: block; color: var(--ink-3); font-size: .85rem; line-height: 1.3; }
.contact-list strong { display: block; line-height: 1.3; word-break: break-word; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Social icons ---------- */
.ico {
  width: 42px; height: 42px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid currentColor;
}
.ico svg { width: 20px; height: 20px; }
.ico-text { font-family: var(--f-display); font-weight: 800; font-size: .95rem; letter-spacing: -0.02em; line-height: 1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 88px) 0 28px; margin-top: clamp(72px, 10vw, 128px); }
.site-footer.flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-grid img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-grid p { color: rgba(255,255,255,.7); max-width: 40ch; }
.footer-grid h4 { font-family: var(--f-body); font-size: .95rem; font-weight: 700; color: rgba(255,255,255,.6); margin-bottom: 14px; letter-spacing: 0; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid ul a { text-decoration: none; color: #fff; opacity: .9; }
.footer-grid ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a { color: #fff; text-decoration: none; transition: background .3s, color .3s, border-color .3s; border-radius: 50%; }
.socials a:hover .ico { background: var(--grad); color: var(--ink); border-color: transparent; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: .9rem; color: rgba(255,255,255,.55); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Motion ---------- */
/* Page-load hero sequence */
.js .hero h1 .line > span { transform: translateY(105%); }
.js .hero .lede, .js .hero-ctas, .js .hero-note { opacity: 0; transform: translateY(16px); }
.js .hangtag { opacity: 0; }
.js .chip-float { opacity: 0; scale: .8; }
.is-loaded .hero h1 .line > span { transform: none; transition: transform 1s var(--ease); }
.is-loaded .hero h1 .line:nth-child(2) > span { transition-delay: .08s; }
.is-loaded .hero h1 .line:nth-child(3) > span { transition-delay: .16s; }
.is-loaded .hero .lede { opacity: 1; transform: none; transition: opacity .8s .35s, transform .8s .35s var(--ease); }
.is-loaded .hero-ctas { opacity: 1; transform: none; transition: opacity .8s .45s, transform .8s .45s var(--ease); }
.is-loaded .hero-note { opacity: 1; transform: none; transition: opacity .8s .55s, transform .8s .55s var(--ease); }
.is-loaded .hangtag { opacity: 1; animation: swing 2.2s .15s var(--ease) both; }
.is-loaded .chip-float { opacity: 1; scale: 1; transition: opacity .5s, scale .6s cubic-bezier(.34,1.56,.64,1); }
.is-loaded .chip-float.c1 { transition-delay: 1s; }
.is-loaded .chip-float.c2 { transition-delay: 1.15s; }
.is-loaded .chip-float.c3 { transition-delay: 1.3s; }
.tag-wrap:hover .hangtag { animation: sway 1.6s var(--ease); }

@keyframes swing {
  0% { transform: rotate(-14deg); opacity: 0; }
  15% { opacity: 1; }
  40% { transform: rotate(7deg); }
  62% { transform: rotate(-3.5deg); }
  80% { transform: rotate(1.5deg); }
  100% { transform: rotate(0); opacity: 1; }
}
@keyframes sway {
  0%, 100% { transform: rotate(0); }
  30% { transform: rotate(3deg); }
  60% { transform: rotate(-2deg); }
  80% { transform: rotate(.8deg); }
}

/* Scroll reveals */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-group] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal-group].is-in > * { opacity: 1; transform: none; }
.js [data-reveal-group].is-in > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal-group].is-in > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal-group].is-in > *:nth-child(4) { transition-delay: .24s; }
.js [data-reveal-group].is-in > *:nth-child(5) { transition-delay: .32s; }
.js [data-reveal-group].is-in > *:nth-child(6) { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ribbon-track { animation: none !important; }
  .ribbon, .toolbelt { overflow-x: auto; }
}

/* ---------- Nav dropdown ---------- */
.has-sub { position: relative; }
.has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; vertical-align: 3px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.sub {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; left: 0; top: calc(100% + 6px); min-width: 180px;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 14px;
  box-shadow: 4px 4px 0 var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .25s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav-links .sub a { border-radius: 8px; }
@media (max-width: 860px) {
  .has-sub > a::after { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .nav-links .sub a { font-size: 1rem; color: var(--ink-3); }
  .nav-links { max-height: calc(100vh - 76px); overflow-y: auto; }
}

/* ---------- Work card links ---------- */
.work-link { margin-top: .9em; font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: .5em; }
.work-link::after { content: ""; width: 18px; height: 2px; background: currentColor; transition: width .35s var(--ease); }
.work-card:hover .work-link::after { width: 30px; }
.work-card:focus-visible { outline-offset: 6px; }

/* ---------- Reviews ---------- */
.stars { color: #E2A100; letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.stars span { color: var(--ink-3); letter-spacing: 0; font-size: .88rem; font-weight: 600; }
.quote .stars { margin-bottom: 18px; }
.quote blockquote { font-size: clamp(1.15rem, 2vw, 1.55rem); }
.videos-title { margin: clamp(48px, 6vw, 72px) 0 20px; font-size: 1.4rem; }
.videos { display: grid; grid-template-columns: .55fr 1fr; gap: 20px; align-items: stretch; }
.vid {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  border: 2px solid var(--ink); background: var(--grad);
  aspect-ratio: 16 / 9; display: grid; place-items: center;
}
.vid.is-short { aspect-ratio: auto; min-height: 100%; }
.vid-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid-thumb + .vid-play { background: rgba(27,29,30,.35); }
.vid-play {
  position: absolute; inset: 0; border: 0; cursor: pointer; background: transparent;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  font: inherit; color: var(--ink);
}
.vid-thumb + .vid-play { color: #fff; }
.vid-icon {
  width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--ink); border: 2px solid var(--ink);
  transition: transform .35s var(--ease);
}
.vid-icon svg { width: 30px; height: 30px; margin-left: 4px; }
.vid:hover .vid-icon { transform: scale(1.08); }
.vid-label { text-align: center; line-height: 1.3; }
.vid-label strong { display: block; font-family: var(--f-display); font-size: 1.3rem; }
.vid-label span { font-size: .92rem; font-weight: 600; }
.vid-out {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  background: #fff; border: 1.5px solid var(--ink); border-radius: 999px;
  padding: .35em .9em; font-size: .85rem; font-weight: 700; text-decoration: none;
}
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.vid.is-playing .vid-play, .vid.is-playing .vid-thumb { display: none; }
@media (max-width: 760px) {
  .videos { grid-template-columns: 1fr; }
  .vid.is-short { aspect-ratio: 9 / 12; }
}

/* ---------- Case studies ---------- */
[id] { scroll-margin-top: 100px; }
.case-head h1 { max-width: 24ch; font-size: clamp(2.1rem, 4.4vw, 3.6rem); }
.back-link { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--ink-2); text-decoration: none; margin-bottom: 22px; }
.back-link::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.back-link:hover { color: var(--ink); }
.case-hero { margin-top: clamp(8px, 2vw, 24px); }
.case-section { padding-top: clamp(48px, 7vw, 88px); }
.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.case-body { min-width: 0; max-width: 760px; }
.case-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.2em; }
.case-body h2:first-child { margin-top: 0; }
.case-body h3 { margin-top: 1.6em; }
.case-body p, .case-body li { color: var(--ink-2); font-size: 1.08rem; }
.case-body strong { color: var(--ink); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%;
  background: var(--grad); border: 1.5px solid var(--ink);
}
.case-aside { position: sticky; top: 100px; }
.case-facts { border: 2px solid var(--ink); border-radius: var(--r-md); padding: 24px; background: var(--grad-soft); display: grid; gap: 14px; }
.case-facts dl { margin: 0 0 6px; display: grid; gap: 4px; }
.case-facts dt { font-size: .85rem; font-weight: 700; color: var(--ink-3); margin-top: 10px; }
.case-facts dt:first-child { margin-top: 0; }
.case-facts dd { margin: 0; font-weight: 600; }
.case-facts .pills { margin-top: 4px; }
.case-facts .pills li { background: #fff; }
.case-facts h3 { margin: 0; }
.case-facts p { margin: 0; color: var(--ink-2); }
.case-quote { margin: 0; border: 2px solid var(--ink); border-radius: var(--r-md); padding: clamp(22px, 4vw, 36px); background: #fff; }
.case-quote blockquote { margin: 0 0 1.2rem; font-family: var(--f-display); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; color: var(--ink); }
.case-quote figcaption, .quote figcaption { display: flex; align-items: center; gap: 14px; }
.case-quote .avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--grad-soft); border: 1.5px solid var(--ink); display: grid; place-items: center; font-weight: 800; font-family: var(--f-display); }
.case-quote figcaption strong { display: block; }
.case-quote figcaption span span { color: var(--ink-3); font-size: .95rem; }
.next-project { margin-top: clamp(24px, 4vw, 40px); }
.next-project a {
  display: flex; flex-direction: column; gap: 4px; text-decoration: none;
  border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); padding: 28px 0;
}
.next-project small { font-weight: 600; color: var(--ink-3); font-size: .95rem; }
.next-project strong { font-family: var(--f-display); font-size: clamp(1.4rem, 3vw, 2.2rem); letter-spacing: -0.02em; transition: color .3s; }
.next-project a:hover strong { color: var(--plum); }
@media (max-width: 960px) {
  .case-grid { grid-template-columns: 1fr; }
  .case-aside { position: static; order: -1; }
}

/* Browser frame for screenshots and videos */
.browser { margin: 28px 0; min-width: 0; }
.browser-bar {
  display: flex; align-items: center; gap: 14px;
  background: #EEE9F0; border: 1.5px solid var(--ink); border-bottom: 0;
  border-radius: 14px 14px 0 0; padding: 10px 14px;
}
.dots { display: flex; gap: 6px; flex: none; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #FF8A80; }
.dots i:nth-child(2) { background: #FFD166; }
.dots i:nth-child(3) { background: #7BD389; }
.browser-url {
  flex: 1; min-width: 0; background: #fff; border-radius: 999px; padding: 3px 12px;
  font-size: .8rem; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-view, .browser-video {
  display: block; width: 100%; border: 1.5px solid var(--ink); border-radius: 0 0 14px 14px;
  overflow: hidden; background: #fff;
}
.browser-view img { width: 100%; }
.browser-view.is-scroll { max-height: min(640px, 75vh); overflow-y: auto; overscroll-behavior: contain; }
.browser-video { aspect-ratio: 16 / 9; height: auto; background: var(--ink); }
.browser figcaption { margin-top: 10px; font-size: .92rem; color: var(--ink-3); }
.case-hero .browser { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
.gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery .browser { margin: 0; }
.gallery .browser-bar { padding: 7px 10px; gap: 8px; }
.gallery .dots i { width: 7px; height: 7px; }
.gallery .browser-url { font-size: .7rem; }
.before-after { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.before-after .browser { margin: 0; }
.before-after .browser-view.is-scroll { max-height: 520px; }
@media (max-width: 760px) {
  .gallery, .gallery--2, .before-after { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { border-top: 2px solid var(--ink); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.3rem); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative;
  transition: background .3s, transform .35s var(--ease);
}
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq[open] .faq-icon { background: var(--grad); }
.faq[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq summary:hover .faq-icon { background: var(--grad-soft); }
.faq-answer { padding: 0 56px 24px 0; }
.faq-answer p { margin: 0; color: var(--ink-2); font-size: 1.07rem; max-width: 62ch; }
.faq-aside { position: sticky; top: 100px; }
.faq-aside .case-facts .btn { width: 100%; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .faq-answer { padding-right: 0; }
}
.lede a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.quote blockquote::before { display: none; }
.back-link { display: flex; width: max-content; }

/* Text thumbnail for projects without screenshots */
.work-thumb--text {
  aspect-ratio: 3 / 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  padding: 24px; background: var(--grad);
}
.work-thumb--text span { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); letter-spacing: -0.03em; line-height: 1; }
.work-thumb--text small { font-weight: 600; color: var(--ink-2); }

/* Fiverr rating summary */
.rating {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 6px;
  text-decoration: none; padding: 10px 18px; border: 1.5px solid var(--ink); border-radius: 999px; background: #fff;
  transition: background .3s;
}
.rating:hover { background: var(--grad-soft); }
.rating .stars { margin: 0; }
.rating-score { font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; line-height: 1; }
.rating > span:last-child { font-weight: 600; color: var(--ink-2); font-size: .95rem; }

/* YouTube embeds on the live site */
.videos:has(.vid--embed) { grid-template-columns: minmax(0, .316fr) minmax(0, 1fr); align-items: start; }
.vid--embed {
  aspect-ratio: auto; display: flex; flex-direction: column; place-items: initial;
  background: #fff; margin: 0;
}
.vid--embed iframe, .vid--embed video { position: static; object-fit: cover; width: 100%; aspect-ratio: 16 / 9; height: auto; display: block; background: var(--ink); }
.vid--embed.is-short { min-height: 0; }
.vid--embed.is-short iframe, .vid--embed.is-short video { aspect-ratio: 9 / 16; }
.vid--embed figcaption {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 16px;
  border-top: 2px solid var(--ink); background: var(--grad-soft);
}
.vid--embed figcaption strong { font-family: var(--f-display); font-size: 1.1rem; }
.vid--embed figcaption span { color: var(--ink-3); font-size: .9rem; font-weight: 600; }
.vid--embed figcaption a { margin-left: auto; font-size: .88rem; font-weight: 700; color: var(--ink); }
@media (max-width: 760px) {
  .videos:has(.vid--embed) { grid-template-columns: 1fr; }
  .vid--embed.is-short { max-width: 340px; width: 100%; justify-self: center; }
  .vid--embed.is-short { aspect-ratio: auto; }
}

/* Platform logo tiles */
.platform { width: 184px; min-height: 124px; gap: 10px; }
.platform img { height: 46px; width: auto; max-width: 140px; object-fit: contain; }
.platform.is-main img { height: 56px; }
@media (max-width: 520px) { .platform img { height: 38px; max-width: 120px; } }

/* Scrollable project carousel */
.ribbon {
  overflow-x: auto; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding-bottom: 18px; cursor: grab;
}
.ribbon::-webkit-scrollbar { display: none; }
.ribbon .ribbon-track { animation: none; }
.ribbon:focus-visible { outline-offset: -3px; }
.ribbon-nav { display: flex; justify-content: flex-end; gap: 10px; padding-bottom: clamp(64px, 8vw, 104px); }

/* Platform grid: two columns on phones */
@media (max-width: 600px) {
  .platforms { gap: 12px; }
  .platform { width: calc(50% - 6px); min-height: 112px; padding: 16px 10px; }
  .platform img { height: 36px; max-width: 120px; }
  .platform small { font-size: .78rem; }
}

/* Keep the photo's shadow attached to the photo on phones */
@media (max-width: 860px) {
  .about-photo { position: relative; top: auto; }
}
