@import url('https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@400;500;700&family=Quicksand:wght@400;500;600;700&display=swap');

/* ════════════════════════════════════════════
   TYPOGRAPHY SYSTEM
   - Page/section titles:  M PLUS Rounded 1c 700
   - Body text:            Quicksand 400
   - Emphasis / subheads:  Quicksand 500
   - 1rem = 24px (set on html)
   ════════════════════════════════════════════ */

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

:root {
  --green-header: #6C7044;
  --green-btn:    #C5D886;
  --green-section:#FAFBF5;
  --pink-pin:     #F2D9E2;
  --pink-icon:    #DD9CB4;
  --black:        #1a1a1a;
  --gray:         #666;
  --white:        #fff;
}

html {
  font-size: 16px; /* 1rem = 24px everywhere */
  overflow-x: hidden;
}

body {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  font-size: 1rem;
  line-height: 1.6;
}


/* ════════════════════════════════════════════
   NAV — shared
   ════════════════════════════════════════════ */

nav {
  background: var(--white);
  border-bottom: 1px solid #eee;
  padding: 24px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* case study pages */
.nav-back {
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-back:hover { border-color: #aaa; }

.nav-title {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--black);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 16px;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-title--visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-cta {
  background: var(--green-btn);
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Quicksand', sans-serif;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover { background: #b8cc72; }

.nav-icon {
  display: none;
}

/* Scroll lock when menu is open */
body.menu-open { overflow: hidden; }
html:has(body.menu-open) { overflow: hidden; }

/* home page */
.nav-logo {
  color: var(--black);
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: inline-grid;
}

.nav-logo-short,
.nav-logo-full {
  grid-area: 1 / 1;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-logo-full {
  opacity: 0;
  transform: translateY(5px);
}

.nav-logo--expanded .nav-logo-short {
  opacity: 0;
  transform: translateY(-5px);
}

.nav-logo--expanded .nav-logo-full {
  opacity: 1;
  transform: translateY(0);
}

/* case study page title in nav */
.nav-page-title {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60%;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  color: var(--black);
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 1rem;
}
.nav-links a:hover { opacity: 1; }

.nav-links .nav-cta {
  background: var(--green-btn);
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.nav-links .nav-cta.nav-cta--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-links .nav-cta:hover {
  background: #b8cc72;
}

.nav-menu-toggle {
  display: none;
  border: none;
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
}

.nav-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}

.nav-menu-toggle span + span {
  margin-top: 6px;
}

.nav-menu-close {
  display: none;
  border: none;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: var(--black);
  cursor: pointer;
}


/* ════════════════════════════════════════════
   FOOTER — shared
   ════════════════════════════════════════════ */

footer {
  background: white;
  border-top: 1px solid #eee;
  padding: 24px 0;
  display: flex;
  justify-content: center;
}
.footer-inner {
  width: min(1200px, 90%);
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 0.54rem;
  color: var(--gray);
  white-space: nowrap;
}
footer a {
  color: var(--black);
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 0.54rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
footer a:hover { text-decoration: underline; }
footer svg { flex-shrink: 0; }


/* ════════════════════════════════════════════
   IMAGE PLACEHOLDERS — shared
   ════════════════════════════════════════════ */

.img-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #ede9e4;
  border: 2px dashed #c8bfb7;
  gap: 8px; padding: 16px;
  text-align: center;
  border-radius: 12px;
}
.ph-icon  { font-size: 1.1rem; opacity: 0.45; }
.ph-label { font-size: 0.46rem; font-weight: 500; color: #888; line-height: 1.4; font-family: 'Quicksand', sans-serif; }
.ph-hint  { font-size: 0.42rem; color: #aaa;  line-height: 1.3; font-family: 'Quicksand', sans-serif; }


/* ════════════════════════════════════════════
   HOME PAGE  (index.html)
   ════════════════════════════════════════════ */

/* HERO */
.hero {
  width: min(1200px, 90%);
  margin: 0 auto;
  padding: 80px 0 0;
}

.hero-icon {
  width: 46px; height: 46px;
  background: var(--pink-icon);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.hero-top {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 24px;
}

.hero h1 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 2.25rem;
  line-height: 1.08;
  font-weight: 700;
  flex-shrink: 0;
}

.hero-role {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  flex-shrink: 0;
  padding-bottom: 6px;
  color: #333;
}

.hero-spacer { flex: 1; min-width: 0; }

.hero-location {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 6px;
}

.hero-bio {
  margin-top: 80px;
  /* max-width: 760px; */
  width: min(900px, 90%);
}

.hero-bio p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: #333;
  line-height: 1.75;
}
.hero-bio p + p { margin-top: 12px; }

.hero-carousel {
  margin-top: 40px;
  width: 100%;
  position: relative;
  height: 340px;
  overflow: hidden;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 31%;
  height: 100%;
  opacity: 0;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
  transition: transform 0.65s ease, opacity 0.65s ease, filter 0.65s ease;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-slide.is-prev {
  opacity: 0.82;
  transform: translateX(-165%) scale(0.86);
  filter: saturate(0.85);
  z-index: 2;
}

.carousel-slide.is-center {
  opacity: 1;
  transform: translateX(-50%) scale(1.08);
  z-index: 3;
}

.carousel-slide.is-next {
  opacity: 0.82;
  transform: translateX(65%) scale(0.86);
  filter: saturate(0.85);
  z-index: 2;
}

.carousel-slide.is-hidden {
  opacity: 0;
  transform: translateX(-50%) scale(0.72);
  z-index: 1;
}

/* CONTACT PILLS */
.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.pill {
  background: var(--pink-pin);
  border-radius: 20px;
  padding: 8px 16px;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 0.65rem;
  color: var(--black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
}
.pill:hover { background: #eac9d4; }
.pill svg { width: 0.65rem; height: 0.65rem; flex-shrink: 0; }

/* HERO MOBILE CAROUSEL */
.hero-mobile-carousel {
  display: none;
  margin-top: 20px;
  position: relative;
  height: 260px;
  overflow: hidden;
}

.hero-mobile-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-mobile-slide {
  position: absolute;
  top: 0;
  left: 50%;
  width: 82%;
  height: 100%;
  opacity: 0;
  border-radius: 16px;
  overflow: hidden;
  pointer-events: none;
  transition: transform 0.55s ease, opacity 0.55s ease, filter 0.55s ease;
}

.hero-mobile-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-mobile-slide.is-center {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  z-index: 2;
  pointer-events: auto;
}

.hero-mobile-slide.is-prev {
  opacity: 0.45;
  transform: translateX(-143%) scale(0.84);
  filter: brightness(0.75);
  z-index: 1;
}

.hero-mobile-slide.is-next {
  opacity: 0.45;
  transform: translateX(43%) scale(0.84);
  filter: brightness(0.75);
  z-index: 1;
}

.hero-mobile-slide.is-hidden {
  opacity: 0;
  transform: translateX(150%) scale(0.84);
  z-index: 0;
  transition: none;
}

/* HERO GRID */
.hero-grid {
  margin-top: 32px;
  display: flex;
  gap: 12px;
}

.hero-grid-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-grid-col:first-child { flex: 3; }
.hero-grid-col:last-child  { flex: 2; }

.hero-grid-img {
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-grid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-a { height: 300px; }
.hero-img-b { height: 200px; }

/* HERO CONTACT BAR */
.hero-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 0;
  padding: 20px 0 0 ;
  border-top: 1px solid #e8e8e8;
}

.hero-contact-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-contact-link {
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 400;
  font-family: 'Quicksand', sans-serif;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hero-contact-link:hover { border-color: #aaa; }

.hero-contact-links a {
  color: var(--black);
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.hero-contact-links a:hover { opacity: 0.7; }

.hero-cta {
  background: var(--green-btn);
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: 'Quicksand', sans-serif;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.hero-cta:hover { background: #b8cc72; }

/* DIVIDER */
.divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  width: min(1200px, 90%);
  margin: 80px auto;
}

/* SECTIONS */
.section {
  width: min(1200px, 90%);
  margin: 0 auto;
  padding: 0;
  scroll-margin-top: 90px;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 40px;
}

.section-icon {
  width: 42px; height: 42px;
  background: var(--pink-icon);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.section h2 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

/* CASE CARDS */
.case-card {
  display: flex;
  gap: 32px;
  margin-bottom: 56px;
  align-items: stretch;
}
.case-card:last-child { margin-bottom: 0; }

/* 2x larger thumbnails on large screens */
.case-img {
  width: 440px;
  min-width: 440px;
  height: 15rem;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
}
.case-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.case-content {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.case-content h3 {
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.35;
  margin-bottom: 12px;
}

.case-content p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #444;
  line-height: 1.7;
  margin-bottom: 20px;
}

.btn-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-btn);
  color: var(--black);
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  padding: 10px 20px;
  border-radius: 20px;
  white-space: nowrap;
}
.btn-read:hover { background: #b8cc72; }
.btn-read svg { width: 0.75rem; height: 0.75rem; }
.case-content .btn-read { margin-top: auto; align-self: flex-start; }

/* TESTIMONIAL */
.testimonial {
  background: var(--green-section);
  padding: 56px 0;
  display: flex;
  justify-content: center;
  margin-top:80px;
}

.testimonial-inner {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.quote-mark {
  font-size: 2.5rem;
  color: var(--green-header);
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial p {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 14px;
  max-width: 720px;
}
.testimonial p:last-of-type { margin-bottom: 20px; }

.attribution {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 0.7rem;
  color: var(--gray);
  font-style: italic;
}


/* ════════════════════════════════════════════
   CASE STUDY PAGES  (autoselectr, jet, vota, vrm, mr-children, etc.)
   ════════════════════════════════════════════ */

/* HERO BANNER */
.case-hero {
  position: relative;
  background: #2a2a2a;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 56px 40px 48px;
  overflow: hidden;
}
.case-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center top;
  opacity: 0.45;
}

.hero-ph-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; text-align: center; padding: 20px;
  border: 2px dashed rgba(255,255,255,0.15);
  margin: 16px;
  border-radius: 8px;
  pointer-events: none;
}
.hero-ph-inner .ph-icon  { font-size: 2rem; opacity: 0.3; }
.hero-ph-inner .ph-label { font-size: 0.5rem; color: rgba(255,255,255,0.35); line-height: 1.4; }

.case-hero-content {
  position: relative; z-index: 1;
  width: min(1200px, 90%);
  text-align: left;
}

.case-hero h1 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 80px;
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 76%;
}

/* TAGS */
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  background: var(--pink-pin);
  border: none;
  color: var(--black);
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
}
.tag strong { font-weight: 500; }

/* CASE BODY */
.case-body {
  width: min(1200px, 90%);
  margin: 0 auto;
  padding: 56px 0 0;
}
.case-section { margin-bottom: 80px; }
.case-section:last-child { margin-bottom: 0; }
.case-section:last-child .img-band:last-child { margin-bottom: 0; }

.section-label {
  display: flex; flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.section-label .icon {
  display: none;
}
.section-label h2 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}

h3 {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 10px;
  margin-top: 28px;
  color: var(--black);
}
h3:first-child { margin-top: 0; }

p {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
  margin-bottom: 16px;
}
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 24px; margin-bottom: 16px; }
li {
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #333;
  line-height: 1.8;
  margin-bottom: 6px;
}

/* CASE IMAGE BLOCKS */
.case-img-block { margin: 32px 0; border-radius: 14px; overflow: hidden; }
.case-img-block img { width: 100%; display: block; }
.case-img-block .img-placeholder { min-height: 260px; }
.img-caption {
  font-family: 'Quicksand', sans-serif;
  font-weight: 400;
  font-size: 0.6rem;
  color: #888;
  text-align: center;
  margin-top: 10px;
  font-style: italic;
  line-height: 1.5;
}

/* SIDE BY SIDE IMAGES */
.img-row { display: grid; gap: 20px; margin: 32px 0; }
.img-row.two   { grid-template-columns: 1fr 1fr; }
.img-row.three { grid-template-columns: 1fr 1fr 1fr; }
.img-row .case-img-block { margin: 0; }

/* HIGHLIGHT BOX */
.highlight-box {
  background: var(--green-section);
  border-left: 4px solid var(--green-btn);
  border-radius: 0 10px 10px 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.highlight-box p { color: #333; margin: 0; }

/* TWO-COL GRID */
.two-col { display: flex; flex-wrap: wrap; gap: 16px; margin: 24px 0; }
.two-col .col {
  flex: 1 1 calc(50% - 8px);
  min-width: 220px;
  background: var(--green-section);
  border-radius: 12px;
  padding: 20px 22px;
}
.two-col .col h4 {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--black);
}
.two-col .col p,
.two-col .col li {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.7;
}

/* FULL-WIDTH IMAGE BAND */
.img-band {
  background: var(--green-section);
  width: 100vw;
  position: relative;
  left: 50%;
  margin: clamp(80px, 6vw, 72px) 0;
  margin-left: -50vw;
  padding: 48px 0;
  box-sizing: border-box;
}
.img-band-inner {
  width: min(1200px, 90%);
  margin: 0 auto;
}
.img-band .case-img-block { margin: 0; }
.img-band .img-caption    { margin-top: 12px; }
.img-band .img-row        { margin: 0; }


/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */

@media (max-width: 1100px) {
  /* Scale back the 2x thumbnails a bit on mid screens */
  .case-img {
    width: 340px;
    min-width: 340px;
    height: 230px;
  }
}

@media (max-width: 768px) {
  nav { padding: 0 24px; }

  .site-nav {
    min-height: 64px;
    justify-content: center;
    position: sticky;
  }

  .site-nav .nav-logo {
    font-size: 1rem;
    text-align: center;
  }

  .site-nav .nav-menu-toggle {
    display: inline-block;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
  }

  .site-nav .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 18px;
    background: var(--white);
    padding: 88px 24px 24px;
    z-index: 120;
    overflow-y: auto;
    opacity: 1;
    visibility: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: visibility 0s 0.2s, transform 0.2s ease;
  }

  .site-nav.nav-open .nav-links {
    visibility: visible;
    transform: translateY(0);
    transition: visibility 0s 0s, transform 0.2s ease;
    pointer-events: auto;
  }

  .site-nav .nav-links .nav-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 24px;
    width: 40px;
    height: 40px;
  }

  .site-nav .nav-links a {
    font-size: 1.1rem;
    line-height: 1.3;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav.nav-open .nav-links a {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav.nav-open .nav-links a:nth-child(1) { transition-delay: 0.05s; }
  .site-nav.nav-open .nav-links a:nth-child(2) { transition-delay: 0.10s; }
  .site-nav.nav-open .nav-links a:nth-child(3) { transition-delay: 0.15s; }
  .site-nav.nav-open .nav-links a:nth-child(4) { transition-delay: 0.20s; }
  .site-nav.nav-open .nav-links a:nth-child(5) { transition-delay: 0.25s; }

  .site-nav .nav-links .nav-cta {
    justify-content: center;
    margin-top: 8px;
  }

  .site-nav.nav-open .nav-menu-toggle {
    visibility: hidden;
  }

  /* home */
  .hero { padding: 44px 0 36px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-role { font-size: 1.1rem; }
  .hero-img-a { height: 240px; }
  .hero-img-b { height: 160px; }
  .hero-carousel { height: 260px; }
  .carousel-slide { width: 35%; }
  .carousel-slide.is-prev { transform: translateX(-160%) scale(0.86); }
  .carousel-slide.is-next { transform: translateX(60%) scale(0.86); }
  .section { padding: 44px 0; }
  .section h2 { font-size: 1.5rem; }
  .testimonial { padding: 44px 0; }
  .divider { margin: 40px auto; }
  .case-img {
    width: 260px;
    min-width: 260px;
    height: 180px;
  }

  /* case studies */
  .case-hero { padding: 40px 24px 36px; min-height: 300px; }
  .case-hero h1 { font-size: 52px; max-width: 90%; }
  .case-body { padding: 44px 0 0; }
  .section-label h2 { font-size: 1.5rem; }
  .img-band { padding: 36px 0; }
}

@media (max-width: 600px) {
  /* stack case cards on smaller screens */
  .case-card {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 44px;
  }
  .case-img {
    width: 100%;
    min-width: unset;
    height: 220px;
  }
}

@media (max-width: 480px) {
  nav { padding: 0 16px; }

  .site-nav .nav-menu-toggle {
    right: 16px;
  }

  .site-nav .nav-links {
    padding: 88px 16px 24px;
  }

  .site-nav .nav-links .nav-menu-close {
    right: 16px;
  }

  /* home */
  .hero { padding: 28px 0 0; }
  .hero-icon { width: 38px; height: 38px; margin-bottom: 14px; }
  .hero h1 { font-size: 1.17rem; width: 100%; }
  .hero-role { font-size: 0.83rem; }
  .hero-grid { display: none; }
  .hero-mobile-carousel { display: block; }
  .hero-contact-bar { gap: 10px; padding: 16px 0 0; }
  .hero-contact-links { gap: 14px; }
  .hero-contact-links a { font-size: 0.52rem; }
  .hero-carousel { height: 190px; margin-top: 28px; }
  .carousel-slide { width: 39%; border-radius: 12px; }
  .carousel-slide.is-prev { transform: translateX(-152%) scale(0.88); }
  .carousel-slide.is-next { transform: translateX(52%) scale(0.88); }
  .carousel-slide.is-center { transform: translateX(-50%) scale(1.05); }
  .hero-spacer { display: none; }
  .hero-location { padding-bottom: 0; font-size: 0.7rem; }
  .contact-pills { gap: 8px; }
  .pill { font-size: 0.55rem; padding: 6px 12px; }
  .section { padding: 0; }
  .section h2 { font-size: 1.1rem; }
  .case-content h3 { font-size: 0.9rem; }
  .testimonial { padding: 32px 0; margin: 40px 0 0; }
  .quote-mark { font-size: 1.67rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-copy { width: 100%; text-align: center; }

  /* case studies */
  .case-hero { padding: 28px 16px 24px; min-height: 240px; }
  .case-hero h1 { font-size: 32px; max-width: 100%; margin-bottom: 16px; }
  .tag { font-size: 0.52rem; padding: 6px 12px; }
  .case-body { padding: 32px 0 0; }
  .section-label h2 { font-size: 1.1rem; }
  .case-section { margin-bottom: 40px; }
  .two-col .col { flex: 1 1 100%; }
  .img-row.two   { grid-template-columns: 1fr; }
  .img-row.three { grid-template-columns: 1fr; }
  .img-band { padding: 28px 0; }
}