/* Preserve the exported layout; replace runtime behaviors and add keyboard access. */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 8rem; }
button.burger-menu, button.team-slider-arrow {
  appearance: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
button.burger-menu { box-sizing: content-box; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.burger-menu .bar-1, .burger-menu .bar-2, .burger-menu .bar-3 {
  transition: transform .8s cubic-bezier(.83,0,.17,1), width .5s;
}
.burger-menu[aria-expanded="true"] .bar-1 { transform: translateY(9px) rotate(-45deg); }
.burger-menu[aria-expanded="true"] .bar-2 { width: 0; }
.burger-menu[aria-expanded="true"] .bar-3 { transform: translateY(-9px) rotate(45deg); }
.faq-item-question { cursor: pointer; }
.faq-expand-icon { transition: transform .4s; }
.faq-item-question[aria-expanded="true"] .faq-expand-icon { transform: rotate(45deg); }
.has-js .faq-item-answer { overflow: hidden; }
.w-slider-mask {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.w-slider-mask::-webkit-scrollbar { display: none; }
.w-slide { scroll-snap-align: start; }
.team-slider-arrow:disabled { visibility: hidden; }
.navigation-link .link-text { transition: transform .6s cubic-bezier(.165,.84,.44,1), opacity .6s; }
.navigation-link .cc-hidden { opacity: 0; }
.navigation-link:hover .link-text:not(.cc-hidden), .navigation-link:focus-visible .link-text:not(.cc-hidden) {
  transform: translateY(-100%); opacity: 0;
}
.navigation-link:hover .cc-hidden, .navigation-link:focus-visible .cc-hidden {
  transform: translateY(-100%); opacity: 1; transition-delay: .15s;
}
.button .arrow-icon { transition: transform .4s ease; }
.button:hover .arrow-icon, .button:focus-visible .arrow-icon { transform: translateX(10px); }
.button .arrow-extension { transition: transform .4s ease; }
.button:hover .arrow-extension, .button:focus-visible .arrow-extension { transform: scaleX(1.24); }
.full-project-wrap .open-icon { transition: opacity .5s; }
.full-project-wrap:hover .open-icon { opacity: 1 !important; }
.mouse-inner { animation: scroll-mouse 1.5s ease-in-out infinite; }
@keyframes scroll-mouse { 0% { transform: translateY(0); opacity: 1; } 67% { opacity: 0; } 100% { transform: translateY(15px); opacity: 0; } }
._6-column-grid { animation: client-logos 16s linear infinite; }
@keyframes client-logos { to { transform: translateX(-50%); } }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:not(:empty) { margin-top: 1rem; }
[aria-busy="true"] [type="submit"] { cursor: wait; opacity: .6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (min-width: 992px) { .mobile-menu { display: none !important; } }

/* Two team members, with the existing swipe layout retained on small screens. */
@media (min-width: 768px) {
  .team-slider-wrapper .team-slide-wrapper { width: 47%; margin-right: 6%; }
  .team-slider-wrapper .team-slide-wrapper:last-child { margin-right: 0; }
}
textarea.form-message {
  box-sizing: border-box;
  width: 100%;
  min-height: 10rem;
  height: 12rem;
  max-height: none;
  resize: vertical;
  overflow: auto;
  line-height: 1.5;
}

.publications-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
.publication-card { display: block; min-width: 0; color: inherit; text-decoration: none; }
.publication-visual { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 1rem; background: #efede8; }
.publication-visual > img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.publication-publisher { position: relative; max-width: calc(100% - 3rem); padding: 1rem 2rem; background: #111; color: #fff; font-family: Oswald, sans-serif; font-size: clamp(1.2rem, 2vw, 1.75rem); line-height: 1.3; text-align: center; text-transform: uppercase; }
.publication-caption { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-top: 1rem; }
.publication-title { margin: 0; font-family: inherit; font-size: clamp(.69rem, .96vw, .9rem); line-height: 1.35; }
.publication-arrow { flex-shrink: 0; font-size: 1.75rem; transition: transform .3s ease; }
.publication-card:hover .publication-visual > img, .publication-card:focus-visible .publication-visual > img { transform: scale(1.035); }
.publication-card:hover .publication-arrow, .publication-card:focus-visible .publication-arrow { transform: translate(3px, -3px); }
@media (max-width: 767px) {
  .publications-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .publication-publisher { padding: .85rem 1.5rem; }
}

/* Project hero: the photo remains dominant, with a compact manual picker below. */
.hero-image-wrap.hero-gallery { overflow: visible; }
.hero-photo { position: relative; overflow: hidden; border-radius: 1rem; background: #efede8; }
.hero-photo .hero-image { display: block; width: 100%; height: clamp(20rem, 48vw, 700px); max-height: none; object-fit: cover; }
.hero-photo-link { position: absolute; right: 1.25rem; bottom: 1.25rem; left: 1.25rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: fit-content; max-width: calc(100% - 2.5rem); padding: .75rem 1.25rem; border-radius: 2rem; background: #111; color: #fff; text-decoration: none; font-family: Oswald, sans-serif; }
.hero-carousel { display: flex; justify-content: center; align-items: center; gap: 1.25rem; padding-top: 1.25rem; }
.hero-thumbnails { display: flex; gap: 1rem; min-width: 0; }
.hero-thumbnail { width: clamp(5rem, 13vw, 12rem); flex-shrink: 0; color: #111; text-align: left; text-decoration: none; font-family: Oswald, sans-serif; font-size: .85rem; line-height: 1.4; }
.hero-thumbnail img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .65rem; opacity: .6; outline: 2px solid transparent; outline-offset: 3px; transition: opacity .2s; }
.hero-thumbnail[aria-current="true"] img { opacity: 1; outline-color: #111; }
.hero-thumbnail:hover img { opacity: 1; }
.hero-thumbnail span { display: block; margin-top: .5rem; }
.hero-carousel-arrow { display: none; flex-shrink: 0; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #ddd; border-radius: 50%; background: #fff; color: #111; cursor: pointer; font-size: 1.25rem; }
.has-js .hero-carousel-arrow { display: block; }
.project-heading-layout { display: block; }
@media (max-width: 767px) {
  .hero-carousel { gap: .6rem; }
  .hero-thumbnails { gap: .65rem; flex: 1; }
  .hero-thumbnail { width: calc((100% - 1.3rem) / 3); }
  .hero-carousel-arrow { width: 2rem; height: 2rem; }
  .hero-photo .hero-image { height: clamp(18rem, 65vw, 28rem); }
}

/* Intrinsic image dimensions must scale with the constrained navigation width. */
.navigation-menu .unia-link { flex: 0 0 60px; }
.unia-link > img { display: block; width: 100%; height: auto; }

.ui-arrow { display: block; flex: none; width: 1.5rem; height: 1.5rem; }
.hero-carousel-arrow .ui-arrow { width: 1.25rem; height: 1.25rem; margin: auto; }
.publication-arrow { display: block; }

/* One continuous masonry gallery, without the former narrative-section spacers. */
.section.project-title-section { padding-bottom: 2rem; }
.section.project-cover-section { padding-top: 0; padding-bottom: 0; }
.section.project-gallery-section { padding-top: 1.5rem; padding-bottom: 2rem; }
.project-gallery-section .project-images-grid { display: block; column-count: 2; column-gap: 1.5rem; }
.project-gallery-section .project-image-item { display: inline-block; vertical-align: top; width: 100%; break-inside: avoid; margin: 0 0 1.5rem; }
.project-gallery-section .project-image { display: block; width: 100%; height: auto; margin: 0; }
@media (max-width: 767px) {
  .project-gallery-section .project-images-grid { column-count: 1; }
  .section.project-gallery-section { padding-top: 1rem; }
  .project-gallery-section .project-image-item { margin-bottom: 1rem; }
}

.project-open-icon { flex-shrink: 0; color: #000; opacity: 1; filter: none; transition: transform .3s ease; }
.project-link-wrap:hover .project-open-icon,
.project-link-wrap:focus-visible .project-open-icon { transform: translate(3px, -3px); }

.hero-photo .hero-image { transform-origin: center; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-image { transform: none !important; }
}

.lightbox-trigger { cursor: zoom-in; }
.lightbox-trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
html.lightbox-open { overflow: hidden; }
.project-lightbox { position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; height: 100dvh; max-height: none; margin: 0; padding: 4rem 5rem 2rem; border: 0; background: rgba(15,15,15,.97); color: #fff; box-sizing: border-box; }
.project-lightbox::backdrop { background: #111; }
.project-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.project-lightbox figure { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; width: 100%; height: 100%; margin: 0; pointer-events: none; }
.project-lightbox .lightbox-photo { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100% - 2rem); object-fit: contain; pointer-events: auto; }
.project-lightbox figcaption { font: 14px/1.4 sans-serif; text-align: center; }
.project-lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(20,20,20,.65); color: #fff; cursor: pointer; }
.project-lightbox button:hover { background: #333; }
.project-lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.project-lightbox button[hidden] { display: none; }
.project-lightbox .lightbox-close { top: max(1rem, env(safe-area-inset-top)); right: max(1rem, env(safe-area-inset-right)); }
.project-lightbox .lightbox-prev { left: 1rem; top: calc(50% - 24px); }
.project-lightbox .lightbox-next { right: 1rem; top: calc(50% - 24px); }
@media (max-width: 767px) {
  .project-lightbox { padding: 5rem .75rem 5rem; }
  .project-lightbox .lightbox-prev, .project-lightbox .lightbox-next { top: auto; bottom: max(1rem, env(safe-area-inset-bottom)); }
}

/* 17 November reference: full photographic hero and three project previews. */
.hero-editorial { padding-top: 7rem; padding-bottom: 2rem; }
.hero-editorial .hero-gallery { position: relative; }
.hero-editorial .hero-photo .hero-image { height: clamp(30rem, 38vw, 44rem); }
.hero-editorial .hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,24,13,.48), rgba(35,24,13,.14) 45%, transparent 72%); pointer-events: none; }
.hero-overlay { position: absolute; z-index: 1; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 4% 4.5%; color: #fff; max-width: 49%; }
.hero-kicker { font: 500 .8rem/1.4 Inter,sans-serif; letter-spacing: .2em; margin: 0 0 1.75rem; }
.hero-overlay h1 { color: #fff; font-family: 'Abril Fatface',serif; font-size: clamp(2.8rem, 4.5vw, 5rem); font-weight: 400; line-height: 1.08; margin: 0 0 1.75rem; max-width: 9em; }
.hero-intro { font: 400 clamp(.95rem,1.1vw,1.2rem)/1.6 Inter,sans-serif; margin: 0 0 1.75rem; max-width: 27em; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-actions a { display: inline-flex; gap: 1rem; align-items: center; justify-content: center; border-radius: 3rem; padding: .7rem 1.6rem; font: 400 1rem/1.4 Oswald,sans-serif; text-transform: uppercase; text-decoration: none; }
.hero-primary { background: #fff; color: #111; border: 1px solid #fff; }
.hero-secondary { color: #fff; border: 1px solid #fff; }
.hero-actions a:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hero-editorial .hero-photo-link { display: none; }
.hero-editorial .hero-carousel { padding-top: 1.25rem; }
.hero-editorial .hero-thumbnails { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; width: 100%; }
.hero-editorial .hero-thumbnail { width: auto; min-width: 0; }
.hero-editorial .hero-thumbnail[data-hero-main] { display: none; }
.hero-editorial .hero-thumbnail img { opacity: 1; border-radius: 1rem; aspect-ratio: 2.3; }
.hero-editorial .hero-thumbnail span { display: none; }
.hero-editorial .hero-carousel-arrow { position: absolute; z-index: 2; top: calc(clamp(30rem,38vw,44rem) - 4rem); background: transparent; color: #fff; border-color: rgba(255,255,255,.7); width: 2.5rem; height: 2.5rem; }
.hero-editorial [data-hero-prev] { right: 5rem; }
.hero-editorial [data-hero-next] { right: 1.5rem; }
.hero-slide-count { position: absolute; z-index: 2; top: calc(clamp(30rem,38vw,44rem) - 3.5rem); right: 9rem; color: #fff; font: 400 1rem/1.4 Inter,sans-serif; }
@media(max-width:767px) {
 .hero-editorial { padding-top: 6rem; }
 .hero-overlay { max-width: 100%; padding: 2rem 1.5rem 5rem; justify-content: center; }
 .hero-overlay h1 { font-size: clamp(2.5rem,9vw,3.5rem); }
 .hero-intro { max-width: 24em; font-size: .9rem; }
 .hero-kicker { font-size: .65rem; margin-bottom: 1.25rem; }
 .hero-editorial .hero-photo::after { background: linear-gradient(90deg,rgba(35,24,13,.65),rgba(35,24,13,.18)); }
 .hero-editorial .hero-photo .hero-image { height: 36rem; }
 .hero-editorial .hero-carousel-arrow { top: 32rem; }
 .hero-slide-count { top: 32.5rem; }
 .hero-editorial .hero-thumbnails { gap: .65rem; }
 .hero-editorial .hero-thumbnail img { aspect-ratio: 1.3; border-radius: .65rem; }
}

/* Keep text white over every slide; the outgoing layer produces a true crossfade. */
.hero-overlay h1, .hero-overlay p, .hero-overlay a { color: #fff; }
.hero-overlay .hero-primary { color: #fff; background: rgba(15,15,15,.35); border-color: #fff; }
.hero-overlay .hero-primary:hover, .hero-overlay .hero-secondary:hover { background: rgba(15,15,15,.55); color: #fff; }
.hero-photo .hero-image.hero-outgoing { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.form-status { color: #fff; line-height: 1.5; }
.form-status[data-state="success"] { color: #c8f1ce; }
.form-status[data-state="error"] { color: #ffd0ce; }

.form-privacy { margin: 1.25rem 0 1.5rem; color: #fff; font-family: Inter, Arial, sans-serif; }
.form-privacy-note { margin: 0 0 1rem; color: #d3d3d3; font-size: .8rem; line-height: 1.65; }
.form-privacy a { color: inherit; text-decoration: underline; text-underline-offset: .18em; }
.form-privacy-check { display: flex; align-items: flex-start; gap: .75rem; margin: 0; cursor: pointer; font-size: .875rem; font-weight: 400; line-height: 1.6; }
.form-privacy-check input[type="checkbox"] { appearance: auto; -webkit-appearance: checkbox; flex: 0 0 1.125rem; width: 1.125rem; height: 1.125rem; margin: .15rem 0 0; padding: 0; accent-color: #fff; cursor: pointer; }
.form-privacy-check input:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.footer-privacy-link { display: inline-block; margin: 1.5rem 0 .5rem; color: inherit; font-family: Inter, Arial, sans-serif; font-size: .85rem; text-decoration: underline; text-underline-offset: .2em; }
.privacy-section { padding: 12rem 1.25rem 6rem; background: #f6f5f2; color: #1b1b1b; }
.privacy-document { max-width: 52rem; margin: 0 auto; font-family: Inter, Arial, sans-serif; overflow-wrap: anywhere; }
.privacy-document h1 { margin: 0 0 1rem; font-family: 'Abril Fatface', Georgia, serif; font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
.privacy-document h2 { margin: 0 0 1rem; font-family: Oswald, Arial, sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 400; line-height: 1.35; letter-spacing: 0; }
.privacy-document p, .privacy-document li { font-family: inherit; font-size: .96rem; line-height: 1.85; }
.privacy-document p { margin: 0 0 1rem; }
.privacy-document ul { margin: 0 0 1.25rem; padding-left: 1.4rem; }
.privacy-document li { margin-bottom: .65rem; padding-left: .2rem; }
.privacy-document section { margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid #d8d6d0; }
.privacy-document a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.privacy-document .privacy-eyebrow { margin-bottom: 1.5rem; font-size: .7rem; line-height: 1.5; letter-spacing: .12em; }
.privacy-document .privacy-date { color: #666; font-size: .8rem; }
.privacy-document .privacy-lead { margin-top: 1.5rem; font-size: 1.1rem; }
.privacy-contents { display: grid; gap: .5rem; margin: 2rem 0; padding: 1.5rem; border: 1px solid #d8d6d0; border-radius: 1rem; }
.privacy-contents a { font-size: .875rem; line-height: 1.6; }
.privacy-back { display: inline-block; margin-top: 2rem; font-size: .9rem; }
@media (max-width: 767px) {
  .privacy-section { padding-top: 9rem; padding-bottom: 4rem; }
  .privacy-document p, .privacy-document li { font-size: .9rem; line-height: 1.75; }
  .privacy-contents { padding: 1rem; }
}
