/* ============================================================
   MOOSES DESIGN — Minecraft thumbnail portfolio
   ============================================================ */

:root{
  --bg: #0b0f0b;
  --bg-2: #0f150f;
  --surface: #131a12;
  --surface-2: #182018;
  --border: #263524;
  --border-soft: #1b271a;

  --grass: #58d84c;
  --grass-dark: #2f9c3a;
  --grass-light: #8af07e;
  --diamond: #4be6f0;
  --diamond-dark: #24a3ad;
  --gold: #ffd23f;
  --gold-dark: #d9a418;
  --redstone: #ff5b4d;

  --text: #eef4ea;
  --text-2: #a7b8a1;
  --text-3: #6c7c67;

  --font-display: 'Press Start 2P', monospace;   /* accents only: buttons, labels, logo */
  --font-heading: 'Outfit', 'Inter', -apple-system, sans-serif;  /* all headlines */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1160px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

body{
  margin:0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;  /* stop iOS inflating text in landscape */
  text-size-adjust: 100%;
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; }
::selection{ background: var(--gold); color:#14210f; }
:focus-visible{ outline:2px solid var(--gold); outline-offset:3px; }

.wrap{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow{
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--diamond);
  display:flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:"";
  width:16px; height:8px;
  background: var(--diamond);
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.35), inset -2px -2px 0 rgba(0,0,0,.35);
  display:inline-block;
}

/* ---------- background texture ---------- */
.bg-noise{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(88,216,76,.022) 0px, rgba(88,216,76,.022) 1px, transparent 1px, transparent 64px),
    repeating-linear-gradient(90deg, rgba(88,216,76,.022) 0px, rgba(88,216,76,.022) 1px, transparent 1px, transparent 64px);
}

/* ---------- scroll progress bar ---------- */
#scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--grass), var(--diamond), var(--gold));
  z-index: 200;
  transition: width .08s linear;
}

/* ---------- voxel block (pure CSS pixel block) ---------- */
.voxel{
  width: 44px; height: 44px;
  position: relative;
  box-shadow:
    inset 6px 6px 0 rgba(255,255,255,.28),
    inset -6px -6px 0 rgba(0,0,0,.32);
  flex: none;
}
.voxel--grass{ background: var(--grass); }
.voxel--diamond{ background: var(--diamond); }
.voxel--gold{ background: var(--gold); }
.voxel--redstone{ background: var(--redstone); }
.voxel--emerald{ background: var(--grass-dark); }

/* ---------- floating parallax blocks ---------- */
.float-blocks{
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.float-blocks .voxel{
  position: absolute;
  opacity: .32;
  width: 34px;
  height: 34px;
  box-shadow:
    inset 5px 5px 0 rgba(255,255,255,.28),
    inset -5px -5px 0 rgba(0,0,0,.32);
  will-change: transform;
}

/* ---------- header / nav ---------- */
header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11,15,11,.55);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
header.scrolled{
  background: rgba(11,15,11,.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
nav.wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 76px;
  gap: 20px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.brand .voxel{ width:28px; height:28px; box-shadow: inset 4px 4px 0 rgba(255,255,255,.28), inset -4px -4px 0 rgba(0,0,0,.32); }
.brand-text{
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--text);
  line-height: 1.4;
}
.brand-text small{
  display:block;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: .12em;
  color: var(--text-3);
  font-weight: 600;
  margin-top: 3px;
}

.navlinks{
  display:flex;
  align-items:center;
  gap: 28px;
  font-weight: 600;
  font-size: 14px;
}
.navlinks a{
  text-decoration:none;
  color: var(--text-2);
  transition: color .15s ease;
  padding: 6px 2px;
  position: relative;
}
.navlinks a:hover{ color: var(--text); }
.navlinks a.active{ color: var(--grass-light); }
.navlinks a.active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-4px;
  height:3px;
  background: var(--grass);
}
@media (max-width: 640px){
  .navlinks a:not(.btn){ font-size:13px; }
}

/* ---------- chunky Minecraft-style buttons ---------- */
.btn{
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  color: #12210f;
  background: var(--text-2);
  box-shadow:
    inset 3px 3px 0 rgba(255,255,255,.35),
    inset -3px -3px 0 rgba(0,0,0,.35);
  transition: transform .08s ease, filter .15s ease;
  line-height: 1;
}
.btn:hover{ filter: brightness(1.08); }
.btn:active{
  transform: translateY(2px);
  box-shadow:
    inset -3px -3px 0 rgba(255,255,255,.2),
    inset 3px 3px 0 rgba(0,0,0,.3);
}
.btn.primary{ background: var(--grass); color: #0c1a0a; }
.btn.accent{ background: var(--gold); color: #241a00; }
.btn.ghost{
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 2px var(--border);
}
.btn.ghost:hover{ box-shadow: inset 0 0 0 2px var(--diamond); color: var(--diamond); }
.btn.small{ padding: 10px 16px; font-size: 10.5px; }

/* ---------- hero ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex;
  align-items:center;
  padding: 130px 0 90px;
  overflow: hidden;
  z-index: 1;
}
.hero-inner{
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-title{
  font-family: var(--font-heading);
  font-size: clamp(44px, 8vw, 86px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 26px 0 28px;
  color: var(--text);
}
.hero-title .hl-grass{ color: var(--grass-light); }
.hero-title .hl-gold{ color: var(--gold); }
.hero-sub{
  color: var(--text-2);
  font-size: 19.5px;
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 38px;
}
.cta-row{ display:flex; gap:16px; flex-wrap:wrap; }

.scroll-cue{
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 2;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  color: var(--text-3);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: .08em;
}
.scroll-cue .arrow{
  width: 10px; height: 10px;
  border-right: 2px solid var(--grass-light);
  border-bottom: 2px solid var(--grass-light);
  transform: rotate(45deg);
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob{
  0%,100%{ transform: rotate(45deg) translate(0,0); opacity:.5; }
  50%{ transform: rotate(45deg) translate(6px,6px); opacity:1; }
}

/* ---------- section shared ---------- */
section{
  position: relative;
  z-index: 1;
  padding: 96px 0;
  border-top: 1px solid var(--border-soft);
}
.section-head{
  margin-bottom: 48px;
}
.section-head h2{
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 16px 0 0;
  color: var(--text);
}

.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s cubic-bezier(.2,.8,.2,1), transform .65s cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view{ opacity: 1; transform: translateY(0); }

/* ---------- stats ---------- */
.stats{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
@media (max-width: 720px){ .stats{ grid-template-columns:1fr; } }
.stat{
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  padding: 26px 22px;
  text-align:center;
}
.stat .num{
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
}
.stat .label{
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: .02em;
}

/* ---------- about ---------- */
.about-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px){ .about-grid{ grid-template-columns:1fr; gap:40px; } }
.about-grid p{ color: var(--text-2); font-size: 17.5px; max-width: 56ch; }
.about-grid p + p{ margin-top: 14px; }
.about-card{
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  padding: 30px;
}
.about-card .voxel-row{ display:flex; gap:10px; margin-bottom:18px; }
.about-card ul{ margin:0; padding:0; list-style:none; display:flex; flex-direction:column; gap:12px; }
.about-card li{ display:flex; align-items:center; gap:12px; font-size:15.5px; color: var(--text-2); }
.about-card li::before{
  content:"";
  width:8px; height:8px;
  background: var(--grass);
  flex: none;
}

/* ---------- services / feature cards ---------- */
.feature-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
@media (max-width: 900px){ .feature-grid{ grid-template-columns: 1fr; } }
.feature-card{
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  padding: 32px 28px;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}
.feature-card:hover{ border-color: var(--diamond); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.36); }
.feature-card .voxel{ margin-bottom: 20px; }
.feature-card h3{
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  line-height: 1.3;
}
.feature-card p{ color: var(--text-2); font-size: 15.5px; margin:0; }

/* ---------- thumbnail grid (shared: home + work) ---------- */
.thumb-grid{
  display:grid;
  grid-template-columns: repeat(3,1fr);
  gap: 26px;
}
@media (max-width: 960px){ .thumb-grid{ grid-template-columns: repeat(2,1fr); gap:20px; } }
@media (max-width: 600px){ .thumb-grid{ grid-template-columns: 1fr; } }

.thumb-card{
  /* rendered as a <button> so zoom works by keyboard as well as mouse */
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  text-align: center;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  overflow: hidden;
  transition: transform .28s cubic-bezier(.2,.8,.2,1),
              border-color .28s ease,
              box-shadow .28s ease;
}
.thumb-card:hover{
  transform: translateY(-6px);
  border-color: var(--grass);
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.thumb-card--empty{ cursor: default; }

.thumb-art{
  display: block;
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.thumb-art img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
}
/* the "bounce" — image eases up and in behind a fixed frame */
.thumb-card:hover .thumb-art img{ transform: scale(1.07) translateY(-4px); }

.thumb-zoom{
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d1a0b;
  background: var(--grass);
  border-radius: 3px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}
.thumb-card:hover .thumb-zoom,
.thumb-card:focus-visible .thumb-zoom{ opacity: 1; transform: translateY(0); }

.thumb-art .tag{
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 40% auto 0;
  font-family: var(--font-display);
  font-size: 11px;
  color: rgba(0,0,0,.55);
  background: rgba(255,255,255,.35);
  padding: 6px 10px;
}

.thumb-body{
  display: block;
  padding: 16px 18px 18px;
  border-top: 1px solid var(--border-soft);
}
.thumb-title{
  display: block;
  text-align: center;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  transition: color .2s ease;
}
.thumb-card:hover .thumb-title{ color: var(--grass-light); }

/* ---------- zoom overlay (lightbox) ---------- */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  background: rgba(6,9,6,.94);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.lightbox.open{ opacity: 1; visibility: visible; }
.lightbox img{
  max-width: min(1280px, 92vw);
  max-height: 74vh;
  width: auto;
  border-radius: 4px;
  /* no border here — a visible edge reads as a stray outline against the backdrop */
  box-shadow:
    0 24px 70px rgba(0,0,0,.72),
    0 6px 20px rgba(0,0,0,.5);
  transform: scale(.96);
  transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.lightbox.open img{ transform: scale(1); }
.lightbox-caption{
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}
.lightbox-count{
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: .08em;
}
.lb-btn{
  position: absolute;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 3px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.lb-btn:hover{ background: var(--grass); border-color: var(--grass); color: #0d1a0b; }
.lb-close{ top: 22px; right: 22px; }
.lb-prev{ left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 22px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px){
  .lb-prev{ left: 12px; }
  .lb-next{ right: 12px; }
  .lightbox img{ max-height: 62vh; }
}

/* palette combos for placeholder thumb art */
.art-grass{ background: linear-gradient(135deg, var(--grass), #1c6b26); }
.art-diamond{ background: linear-gradient(135deg, var(--diamond), #0f6b73); }
.art-gold{ background: linear-gradient(135deg, var(--gold), #a9740c); }
.art-redstone{ background: linear-gradient(135deg, var(--redstone), #7a1c12); }
.art-emerald{ background: linear-gradient(135deg, #3ddc84, #146b3c); }
.art-lapis{ background: linear-gradient(135deg, #4a7bd6, #17306b); }
.art-nether{ background: linear-gradient(135deg, #7a2b2b, #2a0d0d); }
.art-end{ background: linear-gradient(135deg, #c9b6e0, #4f3a6b); }

/* ---------- CTA band ---------- */
.cta-band{
  border-top: 1px solid var(--border-soft);
  padding: 100px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}
.cta-band h2{
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 32px;
}
.cta-band .cta-row{ justify-content: center; }

/* ---------- contact detail strip ---------- */
.contact-details{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap: 14px;
  margin-top: 34px;
}
.contact-detail{
  display:flex;
  align-items:center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-2);
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.contact-detail:hover{ border-color: var(--diamond); color: var(--text); }
.contact-detail .voxel{
  width: 14px; height: 14px;
  box-shadow: inset 2px 2px 0 rgba(255,255,255,.28), inset -2px -2px 0 rgba(0,0,0,.32);
}
.contact-detail .k{
  font-family: var(--font-display);
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: .04em;
}
.contact-detail .v{ color: var(--text); font-weight: 600; }

/* ---------- page hero (work page) ---------- */
.page-hero{
  padding: 150px 0 70px;
  position: relative;
  z-index: 1;
  border-top: none;
}
.page-hero h1{
  font-family: var(--font-heading);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 22px 0 20px;
}
.page-hero p{
  color: var(--text-2);
  font-size: 18.5px;
  line-height: 1.6;
  max-width: 56ch;
}

/* ---------- footer ---------- */
footer{
  border-top: 1px solid var(--border-soft);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}
footer .wrap{
  display:flex;
  justify-content: space-between;
  align-items:center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-3);
}
.footer-brand .voxel{ width:18px; height:18px; box-shadow: inset 2px 2px 0 rgba(255,255,255,.28), inset -2px -2px 0 rgba(0,0,0,.32); }
footer .foot-links{ display:flex; gap:20px; font-size:13px; }
footer .foot-links a{ text-decoration:none; color:var(--text-2); }
footer .foot-links a:hover{ color: var(--grass-light); }

/* ============================================================
   MOBILE / TABLET
   Everything below lives inside media queries, so the desktop
   layout above is untouched.
   ============================================================ */

/* ---------- tablet ---------- */
@media (max-width: 900px){
  .wrap{ padding: 0 24px; }
  section{ padding: 78px 0; }
  .hero{ padding: 112px 0 72px; }
  .cta-band{ padding: 78px 0; }
  .page-hero{ padding: 128px 0 56px; }
}

/* ---------- phones ---------- */
@media (max-width: 640px){
  .wrap{ padding: 0 18px; }

  /* nav: drop the tagline and tighten so it fits one row */
  nav.wrap{ height: 62px; gap: 12px; }
  .brand{ gap: 9px; }
  .brand .voxel{ width: 22px; height: 22px;
    box-shadow: inset 3px 3px 0 rgba(255,255,255,.28), inset -3px -3px 0 rgba(0,0,0,.32); }
  .brand-text{ font-size: 10px; line-height: 1.3; }
  .brand-text small{ display: none; }
  .navlinks{ gap: 16px; font-size: 13.5px; }
  .btn.small{ padding: 9px 12px; font-size: 9px; }

  /* hero: size the headline to the viewport, not to desktop */
  .hero{ min-height: auto; padding: 96px 0 64px; }
  .hero-title{ font-size: clamp(30px, 8.6vw, 40px); line-height: 1.14; margin: 18px 0 20px; }
  .hero-sub{ font-size: 16.5px; margin-bottom: 28px; max-width: none; }
  .eyebrow{ font-size: 9px; gap: 8px; }
  .eyebrow::before{ width: 12px; height: 6px; }

  /* full-width stacked buttons — far easier to tap than side-by-side */
  .cta-row{ gap: 10px; }
  .cta-row .btn{ flex: 1 1 100%; justify-content: center; padding: 15px 18px; font-size: 11px; }

  /* decoration that only adds noise on a small screen */
  .float-blocks{ display: none; }
  .scroll-cue{ display: none; }

  section{ padding: 58px 0; }
  .section-head{ margin-bottom: 30px; }
  .section-head h2{ font-size: clamp(24px, 7vw, 30px); line-height: 1.2; }

  .about-grid{ gap: 26px; }
  .about-grid p{ font-size: 16.5px; }
  .about-card{ padding: 22px; }
  .about-card li{ font-size: 15px; align-items: flex-start; }
  .about-card li::before{ margin-top: 8px; }

  .feature-card{ padding: 24px 20px; }
  .feature-card h3{ font-size: 19px; }
  .feature-card .voxel{ width: 34px; height: 34px; margin-bottom: 14px;
    box-shadow: inset 5px 5px 0 rgba(255,255,255,.28), inset -5px -5px 0 rgba(0,0,0,.32); }

  .thumb-grid{ gap: 16px; }
  .thumb-body{ padding: 13px 14px 15px; }
  .thumb-title{ font-size: 15px; }

  .page-hero{ padding: 96px 0 40px; }
  .page-hero h1{ font-size: clamp(30px, 8.6vw, 40px); line-height: 1.14; margin: 16px 0 16px; }
  .page-hero p{ font-size: 16.5px; max-width: none; }

  .cta-band{ padding: 62px 0; }
  .cta-band h2{ font-size: clamp(24px, 7vw, 30px); line-height: 1.2; }

  /* contact chips stack full-width instead of wrapping raggedly */
  .contact-details{ flex-direction: column; gap: 10px; margin-top: 26px; }
  .contact-detail{ justify-content: center; flex-wrap: wrap; font-size: 13.5px; padding: 13px 14px; }

  footer{ padding: 26px 0; }
  footer .wrap{ flex-direction: column; text-align: center; gap: 14px; }
  footer .foot-links{ justify-content: center; flex-wrap: wrap; gap: 18px; }

  /* lightbox: leave room for the image, keep controls thumb-reachable */
  .lightbox{ padding: 16px; gap: 14px; }
  .lightbox img{ max-width: 100%; max-height: 58vh; }
  .lightbox-caption{ font-size: 14px; }
  .lb-btn{ width: 42px; height: 42px; }
  .lb-close{ top: 14px; right: 14px; }
  .lb-prev{ left: 8px; }
  .lb-next{ right: 8px; }
}

/* ---------- very small phones (below iPhone SE's 375px) ---------- */
@media (max-width: 360px){
  .navlinks{ gap: 12px; font-size: 12.5px; }
  .brand-text{ font-size: 9px; }
  .hero-title{ font-size: 27px; }
  .page-hero h1{ font-size: 27px; }
  .btn.small{ padding: 8px 10px; font-size: 8.5px; }
  .cta-row .btn{ font-size: 10px; padding: 14px 14px; }
}

/* ---------- touch devices ---------- */
@media (hover: none){
  /* Hover states never fire on touch, so surface the zoom cue permanently
     and drop the lift effect that would otherwise stick after a tap. */
  .thumb-zoom{ opacity: 1; transform: none; }
  .thumb-card:hover{ transform: none; box-shadow: none; border-color: var(--border); }
  .thumb-card:hover .thumb-art img{ transform: none; }
  .thumb-card:active{ transform: scale(.985); border-color: var(--grass); }
  .feature-card:hover{ transform: none; box-shadow: none; }
}
