:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), white 20%);
  outline-offset: 3px;
}

.eyebrow {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: .75rem;
  text-transform: uppercase;
}

.section-soft { background: color-mix(in srgb, var(--accent-color), transparent 96%); }
.text-link { align-items: center; color: var(--accent-color); display: inline-flex; font-weight: 700; gap: .4rem; }
.text-link:hover { gap: .65rem; }

.header .site-brand {
  display: flex;
  flex-direction: column;
  left: .75rem;
  line-height: 1;
  position: absolute;
  text-align: left;
  z-index: 2;
}
.site-brand__name {
  color: white;
  font-family: var(--heading-font);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: .015em;
}
.site-brand__tagline {
  color: #52c7ff;
  font-family: var(--heading-font);
  font-size: .57rem;
  font-weight: 700;
  letter-spacing: .07em;
  margin-top: .32rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.carousel-hero { min-height: auto; padding: 22px 0 0; }
.home-hero--viewport {
  --home-header-height: 64px;
  --home-content-max: 1720px;
  min-height: calc(100vh - var(--home-header-height) + 4px);
  min-height: calc(100svh - var(--home-header-height) + 4px);
  padding: 0;
  width: 100%;
}
.home-hero--viewport > .container {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}
.home-hero--viewport .hero-carousel-card {
  aspect-ratio: auto;
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  max-height: none;
  min-height: max(680px, calc(100vh - var(--home-header-height) + 4px));
  min-height: max(680px, calc(100svh - var(--home-header-height) + 4px));
}
.hero-carousel-card {
  aspect-ratio: 16 / 7;
  background: #031118;
  border: 1px solid color-mix(in srgb, white, transparent 86%);
  border-radius: 1.75rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .3);
  isolation: isolate;
  max-height: 700px;
  min-height: clamp(680px, 45vw, 700px);
  overflow: hidden;
  position: relative;
  width: 100%;
}
.hero-carousel-slides { inset: 0; position: absolute; }
.hero-carousel-slide {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 650ms ease;
  visibility: hidden;
  width: 100%;
  z-index: 0;
}
.hero-carousel-slide.is-active { opacity: 1; pointer-events: auto; visibility: visible; z-index: 2; }
.hero-slide-media {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: var(--slide-position, center center);
  position: absolute;
  transform: scale(var(--slide-scale, 1));
  transform-origin: center;
  width: 100%;
  z-index: 0;
}
.hero-carousel-slide::after {
  background:
    linear-gradient(90deg, rgba(4, 17, 23, .94) 0%, rgba(4, 17, 23, .78) 38%, rgba(4, 17, 23, .36) 72%, rgba(4, 17, 23, .55) 100%),
    linear-gradient(0deg, rgba(5, 18, 24, .92) 0%, rgba(5, 18, 24, .05) 45%, rgba(5, 18, 24, .12) 100%),
    rgb(5 18 24 / var(--slide-overlay, .12));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.hero-carousel-static {
  color: color-mix(in srgb, white, transparent 8%);
  left: clamp(48px, 5.2vw, 88px);
  max-width: 800px;
  pointer-events: none;
  position: absolute;
  top: clamp(48px, 5vw, 72px);
  width: min(68%, 800px);
  z-index: 4;
}
.home-hero--viewport .hero-carousel-static {
  left: max(clamp(48px, 5.2vw, 88px), calc((100% - var(--home-content-max)) / 2 + 48px));
}
.hero-carousel-static > * { pointer-events: auto; }
.hero-carousel-static h1 { color: white; font-size: clamp(2.3rem, 3.45vw, 3.45rem); line-height: 1.08; margin-bottom: 1.2rem; max-width: 23ch; text-wrap: balance; }
.hero-carousel-static .hero-lead { color: color-mix(in srgb, white, transparent 13%); font-size: clamp(1.02rem, 1.3vw, 1.18rem); line-height: 1.65; margin-bottom: 1.55rem; max-width: 670px; }
.hero-carousel-static .hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-carousel-static .btn { padding: .75rem 1.1rem; }
.hero-carousel-static .btn-outline-primary { background: rgba(3, 17, 24, .28); border-color: color-mix(in srgb, #63c9ff, transparent 18%); color: white; }
.hero-carousel-static .btn-outline-primary:hover { background: var(--accent-color); border-color: var(--accent-color); color: white; }
.hero-slide-panel {
  align-items: end;
  bottom: 38px;
  color: white;
  display: grid;
  gap: 1.35rem;
  grid-template-columns: auto minmax(320px, 650px) minmax(160px, 1fr);
  left: clamp(72px, 6.2vw, 104px);
  position: absolute;
  right: clamp(72px, 6.2vw, 104px);
  z-index: 3;
}
.home-hero--viewport .hero-slide-panel {
  left: max(clamp(72px, 6.2vw, 104px), calc((100% - var(--home-content-max)) / 2 + 64px));
  right: max(clamp(72px, 6.2vw, 104px), calc((100% - var(--home-content-max)) / 2 + 64px));
}
.hero-slide-count { color: color-mix(in srgb, white, transparent 18%); font-family: var(--heading-font); font-size: .85rem; font-weight: 700; letter-spacing: .08em; padding-bottom: .1rem; white-space: nowrap; }
.hero-slide-copy { border-left: 3px solid #39b9f5; padding-left: 1.4rem; }
.hero-slide-copy h2 { color: white; font-size: clamp(1.35rem, 2vw, 1.8rem); margin: 0 0 .35rem; }
.hero-slide-copy p { color: color-mix(in srgb, white, transparent 15%); line-height: 1.5; margin: 0; max-width: 640px; }
.hero-slide-tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .7rem; }
.hero-slide-tags span { backdrop-filter: blur(10px); background: rgba(3, 17, 24, .55); border: 1px solid color-mix(in srgb, #63c9ff, transparent 55%); border-radius: 999px; color: color-mix(in srgb, white, transparent 10%); font-size: .72rem; padding: .32rem .65rem; }
.hero-slide-link { align-items: center; color: #63c9ff; display: inline-flex; font-weight: 700; gap: .45rem; justify-self: end; padding-bottom: .1rem; }
.hero-slide-link:hover { color: white; gap: .7rem; }
.hero-carousel-control { align-items: center; background: rgba(3, 17, 24, .68); border: 1px solid color-mix(in srgb, white, transparent 84%); border-radius: 50%; color: white; display: flex; height: 48px; justify-content: center; padding: 0; position: absolute; top: 50%; transform: translateY(-50%); transition: background-color .2s ease, border-color .2s ease; width: 48px; z-index: 6; }
.hero-carousel-prev { left: 12px; }
.hero-carousel-next { right: 12px; }
.home-hero--viewport .hero-carousel-prev { left: max(12px, calc((100% - var(--home-content-max)) / 2 + 12px)); }
.home-hero--viewport .hero-carousel-next { right: max(12px, calc((100% - var(--home-content-max)) / 2 + 12px)); }
.hero-carousel-prev:hover, .hero-carousel-next:hover { background: var(--accent-color); border-color: var(--accent-color); }
.hero-carousel-control i { font-size: 1.25rem; line-height: 1; }
.hero-carousel-pagination { bottom: 16px; display: flex; gap: 8px; justify-content: center; left: 50%; position: absolute; transform: translateX(-50%); z-index: 6; }
.hero-carousel-dot { background: white; border: 0; border-radius: 999px; height: 4px; opacity: .4; padding: 0; transition: opacity .2s ease, width .2s ease; width: 28px; }
.hero-carousel-dot.is-active { background: #39b9f5; opacity: 1; width: 42px; }
.hero-carousel-toggle {
  align-items: center;
  background: rgba(3, 17, 24, .7);
  border: 1px solid color-mix(in srgb, white, transparent 76%);
  border-radius: 50%;
  bottom: 10px;
  color: white;
  display: flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: max(20px, calc((100% - var(--home-content-max)) / 2 + 20px));
  width: 36px;
  z-index: 6;
}
.hero-carousel-toggle:hover { background: var(--accent-color); border-color: var(--accent-color); }
.hero-carousel-toggle i { font-size: 1rem; line-height: 1; }

.credibility-strip { background: #071820; color: #fff; }
.evidence-stat { border-bottom: 1px solid color-mix(in srgb, white, transparent 84%); padding: 1.5rem; }
.evidence-stat strong, .evidence-stat span { display: block; }
.evidence-stat strong { color: white; font-family: var(--heading-font); font-size: 1.25rem; margin-bottom: .35rem; }
.evidence-stat span { color: color-mix(in srgb, white, transparent 20%); font-size: .85rem; line-height: 1.55; }

.support-card, .service-offer, .info-panel, .detail-grid article, .case-study-grid section {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 1rem;
  box-shadow: 0 10px 35px rgba(19, 34, 44, .055);
  padding: 1.75rem;
  position: relative;
}

.support-card > i, .service-offer > i {
  align-items: center;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: .8rem;
  color: var(--accent-color);
  display: inline-flex;
  font-size: 1.6rem;
  height: 3.2rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  width: 3.2rem;
}

.support-card h2, .support-card h3, .service-offer h2, .info-panel h2 { font-size: 1.25rem; line-height: 1.35; }
.support-card p, .service-offer p, .info-panel li, .detail-grid li, .case-study-grid li { line-height: 1.7; }
.support-card a { color: var(--accent-color); font-weight: 700; }

.evidence-card {
  background: var(--surface-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
  border-radius: 1rem;
  display: grid;
  grid-template-columns: minmax(170px, 40%) 1fr;
  height: 100%;
  overflow: hidden;
}

.evidence-card img { height: 100%; min-height: 280px; object-fit: cover; width: 100%; }
.evidence-card > div { padding: 1.6rem; }
.evidence-card span { color: var(--accent-color); display: block; font-size: .75rem; font-weight: 700; letter-spacing: .04em; margin-bottom: .65rem; text-transform: uppercase; }
.evidence-card h3 { font-size: 1.4rem; }
.evidence-card a { color: var(--accent-color); font-weight: 700; }

.section-actions, .download-actions, .cta-panel-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.section-actions { justify-content: center; margin-top: 2.5rem; }

.check-list, .timeline-list, .publication-list, .detail-section ul, .detail-grid ul, .case-study-content ul, .case-study-grid ul, .contact-context ul { list-style: none; padding: 0; }
.check-list li, .detail-section li, .detail-grid li, .case-study-content li, .case-study-grid li, .contact-context li { margin-bottom: .75rem; padding-left: 1.75rem; position: relative; }
.check-list li::before, .detail-section li::before, .detail-grid li::before, .case-study-content li::before, .case-study-grid li::before, .contact-context li::before { color: var(--accent-color); content: "\F26E"; font-family: bootstrap-icons; left: 0; position: absolute; }

.field-perspective-image, .about-portrait, .service-evidence-image, .case-study-primary { box-shadow: 0 20px 55px rgba(19, 34, 44, .12); width: 100%; }
.closing-cta { padding-top: 30px; }

.cta-panel {
  align-items: center;
  background: #071820;
  border-radius: 1.25rem;
  color: color-mix(in srgb, white, transparent 15%);
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 4rem);
}

.cta-panel h2 { color: white; margin-bottom: .75rem; }
.cta-panel p:last-child { margin-bottom: 0; max-width: 760px; }
.cta-panel-actions { flex: 0 0 auto; }
.cta-panel .btn-outline-primary { border-color: color-mix(in srgb, white, transparent 35%); color: white; }
.about-page .download-actions { margin-top: 1.75rem; }
.info-panel ul, .timeline-list, .publication-list { margin: 0; }
.info-panel li, .publication-list li { border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%); line-height: 1.65; padding: .7rem 0; }
.timeline-list li { border-left: 2px solid color-mix(in srgb, var(--accent-color), transparent 55%); margin-left: .4rem; padding: 0 0 1.5rem 1.25rem; }
.timeline-list strong, .timeline-list span { display: block; }
.timeline-list span { line-height: 1.65; margin-top: .3rem; }

.service-offer h3 { font-size: .8rem; letter-spacing: .08em; margin-top: 1.5rem; text-transform: uppercase; }
.service-boundary, .boundary-panel, .scope-note, .sensitive-data-notice { background: color-mix(in srgb, var(--accent-color), transparent 93%); border-left: 4px solid var(--accent-color); margin-top: 2.5rem; padding: 1.5rem; }
.service-boundary h2, .boundary-panel h2, .scope-note h2, .sensitive-data-notice h2 { font-size: 1.15rem; }
.service-context { padding-bottom: 0; }
.service-detail-page .section-title { padding-top: 35px; }
.detail-section + .detail-section, .case-study-content section + section { border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 88%); margin-top: 2rem; padding-top: 2rem; }
.detail-grid, .case-study-grid { margin-top: 3rem; }

.case-studies-page .isotope-container { align-items: stretch; }
.case-studies-page .portfolio-item { display: flex; }
.case-studies-page .portfolio-card { display: flex; flex: 1; flex-direction: column; width: 100%; }
.case-studies-page .portfolio-img { display: block; flex: 0 0 auto; overflow: hidden; }
.case-studies-page .portfolio-img img { aspect-ratio: 16 / 9; display: block; object-fit: cover; width: 100%; }
.case-studies-page .portfolio-info { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; position: static; }
.case-studies-page .portfolio-info > p:first-child { color: var(--accent-color); font-size: .75rem; font-weight: 700; letter-spacing: .06em; margin-bottom: .4rem; text-transform: uppercase; }
.case-studies-page .portfolio-info h2 { font-size: 1.3rem; min-height: 3.15rem; }
.case-studies-page .portfolio-status-badge { align-items: center; align-self: flex-start; display: inline-flex; min-height: 2.35rem; }
.case-studies-page .portfolio-summary { display: -webkit-box; line-height: 1.65; min-height: 4.95em; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.case-studies-page .portfolio-info .text-link { margin-top: auto; }

.case-study-thumbnails { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); margin-top: .75rem; }
.case-study-thumbnails img { aspect-ratio: 4 / 3; border-radius: .6rem; object-fit: cover; width: 100%; }
.case-study-thumbnails img:only-child { aspect-ratio: 16 / 9; grid-column: 1 / -1; }
.case-study-media-contain .case-study-primary { aspect-ratio: 16 / 9; background: #f5f5f2; object-fit: contain; }
.case-study-media-contain .case-study-thumbnails img { aspect-ratio: 16 / 10; background: #f5f5f2; object-fit: contain; }
.case-study-detail .js-case-media { cursor: zoom-in; }
.case-study-detail .js-case-media:focus-visible { border-radius: .6rem; outline-offset: 5px; }
.case-status { background: #071820; border-radius: .8rem; color: white; margin-top: 1rem; padding: 1rem 1.2rem; }
.case-status span, .case-status strong { display: block; }
.case-status span { font-size: .7rem; letter-spacing: .1em; margin-bottom: .25rem; text-transform: uppercase; }
.case-study-content h2, .case-study-grid h2 { font-size: 1.4rem; }
.case-study-top-links { align-items: center; background: var(--surface-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 84%); border-radius: .85rem; display: inline-flex; flex-wrap: wrap; gap: .75rem 1rem; justify-content: center; margin-top: 1.15rem; padding: .8rem 1rem; }
.case-study-top-links > span { color: color-mix(in srgb, var(--default-color), transparent 18%); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.case-study-top-links > div { display: flex; flex-wrap: wrap; gap: .65rem; }
.case-study-top-links .btn { padding: .55rem .85rem; }
.case-study-grid { align-items: stretch; }
.case-study-grid > [class*="col-"] { display: flex; }
.case-study-grid section { display: flex; flex-direction: column; min-height: 100%; width: 100%; }
.case-study-grid section > :last-child { margin-bottom: 0; }

.media-lightbox {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
  position: fixed;
  z-index: 10000;
}
.media-lightbox[hidden] { display: none; }
.media-lightbox__backdrop { background: rgba(2, 10, 15, .84); inset: 0; position: absolute; }
.media-lightbox__dialog {
  align-items: center;
  background: #071820;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 1rem;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .55);
  display: flex;
  justify-content: center;
  max-height: 82vh;
  max-width: 88vw;
  padding: .75rem;
  position: relative;
  z-index: 1;
}
.media-lightbox__image { border-radius: .65rem; display: block; max-height: calc(82vh - 1.5rem); max-width: calc(88vw - 1.5rem); object-fit: contain; }
.media-lightbox__close {
  align-items: center;
  background: #071820;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  color: white;
  display: flex;
  font-size: 1.45rem;
  height: 2.65rem;
  justify-content: center;
  line-height: 1;
  padding: 0 0 .15rem;
  position: absolute;
  right: -.9rem;
  top: -.9rem;
  width: 2.65rem;
  z-index: 2;
}
.media-lightbox__close:hover { background: var(--accent-color); border-color: var(--accent-color); }
body.media-lightbox-open { overflow: hidden; }

.collaboration-types .support-card h2 { font-size: 1.15rem; }
.delivery-process { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.delivery-process li { background: var(--surface-color); border-radius: 1rem; padding: 1.5rem; }
.delivery-process li > span { color: var(--accent-color); display: block; font-family: var(--heading-font); font-size: 1.7rem; font-weight: 700; margin-bottom: 1.5rem; }
.delivery-process h3 { font-size: 1.15rem; }
.quality-standard { align-items: flex-start; border: 1px solid color-mix(in srgb, var(--accent-color), transparent 60%); border-radius: 1rem; display: flex; gap: 1.25rem; padding: 2rem; }
.quality-standard > i { color: var(--accent-color); font-size: 2.2rem; }
.quality-standard p:last-child, .sensitive-data-notice p:last-child { margin-bottom: 0; }

.faq-list { margin-inline: auto; max-width: 960px; }
.faq-list .accordion-item { background: var(--surface-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 78%); border-radius: .65rem; margin-bottom: .8rem; overflow: hidden; }
.faq-list .accordion-button { background: #101a20; box-shadow: none; color: var(--heading-color); font-family: var(--heading-font); font-weight: 600; }
.faq-list .accordion-button:not(.collapsed) { background: #0b1419; box-shadow: inset 4px 0 0 var(--accent-color); color: var(--heading-color); }
.faq-list .accordion-button:hover { background: #192832; }
.faq-list .accordion-button:focus-visible { box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent-color), white 25%); outline: 0; z-index: 2; }
.faq-list .accordion-button::after { filter: brightness(0) invert(1); opacity: .85; }
.faq-list .accordion-body { background: var(--surface-color); border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 84%); color: var(--default-color); }
.faq-list .accordion-body p:last-child { margin-bottom: 0; }

.contact-context, .contact-form { background: var(--surface-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 86%); border-radius: 1rem; padding: 1.75rem; }
.contact-context h2, .contact-form h2 { font-size: 1.4rem; }
.contact-address { border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 86%); margin-top: 1.5rem; padding-top: 1.5rem; }
.contact-address a, .contact-address span { display: block; margin-bottom: .5rem; }
.contact-address span { color: color-mix(in srgb, var(--default-color), transparent 30%); font-size: .85rem; margin-top: 1rem; }
.contact-page .sensitive-data-notice { margin: 0 0 1rem; }
.contact-page .form-control, .contact-page .form-select { border-color: color-mix(in srgb, var(--default-color), transparent 75%); min-height: 48px; }
.contact-page textarea.form-control { min-height: 170px; }

.thanks-page { min-height: 62vh; }
.thanks-panel { margin-inline: auto; max-width: 760px; text-align: center; }
.thanks-panel > i { color: var(--accent-color); font-size: 4rem; }
.thanks-panel > div { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-top: 1.5rem; }

.experience-image-grid { display: grid; gap: .8rem; grid-template-columns: 2fr 1fr; }
.experience-image-grid img { aspect-ratio: 4 / 3; border-radius: .8rem; height: 100%; object-fit: cover; width: 100%; }
.experience-image-grid img:first-child { grid-row: span 2; }
.field-note-reflection, .field-note-lesson { margin: 3rem auto 0; max-width: 900px; }
.field-note-reflection h2, .field-note-lesson h2 { font-size: 1.55rem; }
.field-note-observations { margin: 3rem auto 0; max-width: 1100px; }
.field-note-observations > header { margin-bottom: 1.35rem; text-align: center; }
.field-note-observations > header h2 { font-size: 1.7rem; }
.field-note-card-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.field-note-card { background: var(--surface-color); border: 1px solid color-mix(in srgb, var(--default-color), transparent 86%); border-radius: .85rem; padding: 1.4rem; }
.field-note-card h3 { color: var(--accent-color); font-size: 1rem; margin-bottom: .65rem; }
.field-note-card p, .field-note-lesson p { line-height: 1.7; margin-bottom: 0; }
.field-note-lesson { border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 85%); padding-top: 2rem; }

@media (min-width: 576px) { .evidence-stat { border-right: 1px solid color-mix(in srgb, white, transparent 84%); } }
@media (min-width: 1200px) {
  .navmenu > ul > li { padding-right: 18px; }
  .navmenu a, .navmenu a:focus { font-size: 14px; }
}

@media (max-width: 991px) {
  .hero-carousel-card { aspect-ratio: auto; max-height: none; min-height: 780px; }
  .hero-carousel-static { left: 52px; max-width: 690px; right: 52px; top: 44px; width: auto; }
  .hero-carousel-static h1 { font-size: clamp(2.15rem, 5vw, 2.7rem); }
  .hero-carousel-static .hero-lead { font-size: 1rem; line-height: 1.55; }
  .hero-slide-panel { grid-template-columns: auto minmax(0, 1fr); left: 52px; right: 52px; }
  .hero-slide-link { grid-column: 2; justify-self: start; }
  .evidence-card { grid-template-columns: 1fr; }
  .evidence-card img { min-height: 220px; }
  .cta-panel { align-items: flex-start; flex-direction: column; }
  .delivery-process { grid-template-columns: repeat(2, 1fr); }
  .field-note-card-grid { grid-template-columns: repeat(2, 1fr); }
  .field-note-card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 575px) {
  .carousel-hero { padding-top: 12px; }
  .home-hero--viewport { padding-top: 0; }
  .header .site-brand { left: .75rem; max-width: calc(100% - 4.5rem); }
  .site-brand__name { font-size: 1rem; }
  .site-brand__tagline { font-size: .48rem; letter-spacing: .045em; }
  .hero-carousel-card { border-radius: 1.15rem; min-height: 980px; }
  .home-hero--viewport .hero-carousel-card {
    border-radius: 0;
    min-height: max(1020px, calc(100dvh - var(--home-header-height)));
    min-height: max(1020px, calc(100svh - var(--home-header-height)));
  }
  .hero-carousel-static { left: 24px; right: 24px; top: 30px; }
  .hero-carousel-static h1 { font-size: clamp(1.95rem, 9vw, 2.3rem); line-height: 1.1; margin-bottom: 1rem; }
  .hero-carousel-static .hero-lead { font-size: .94rem; line-height: 1.55; }
  .hero-carousel-static .hero-actions, .section-actions, .download-actions, .cta-panel-actions, .case-study-top-links > div { align-items: stretch; flex-direction: column; }
  .hero-carousel-static .hero-actions .btn, .section-actions .btn, .download-actions .btn, .cta-panel-actions .btn, .case-study-top-links .btn { justify-content: center; width: 100%; }
  .hero-slide-panel { bottom: 52px; gap: .75rem 1rem; left: 24px; right: 24px; }
  .hero-slide-copy { padding-left: 1rem; }
  .hero-slide-copy h2 { font-size: 1.25rem; }
  .hero-slide-copy p { font-size: .88rem; }
  .hero-slide-tags { display: none; }
  .hero-carousel-control { display: none; }
  .hero-carousel-toggle { bottom: 12px; height: 34px; right: 18px; width: 34px; }
  .hero-carousel-dot { width: 22px; }
  .hero-carousel-dot.is-active { width: 34px; }
  .case-study-top-links { align-items: stretch; display: flex; text-align: left; width: 100%; }
  .case-studies-page .portfolio-info h2, .case-studies-page .portfolio-summary { min-height: 0; }
  .delivery-process, .field-note-card-grid, .experience-image-grid { grid-template-columns: 1fr; }
  .field-note-card:last-child { grid-column: auto; }
  .experience-image-grid img:first-child { grid-row: auto; }
  .quality-standard { flex-direction: column; }
  .media-lightbox { padding: 1.25rem; }
  .media-lightbox__dialog { max-height: 80vh; max-width: 92vw; padding: .5rem; }
  .media-lightbox__image { max-height: calc(80vh - 1rem); max-width: calc(92vw - 1rem); }
  .media-lightbox__close { right: -.5rem; top: -.8rem; }
}

@media (max-width: 1199px) {
  .header .navmenu { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel-slide, .hero-slide-link, .hero-carousel-dot { transition: none; }
}
