/* Use the installed Helvetica Neue Medium face when available. */
@font-face {
  font-family: GBHelveticaNeueMedium;
  src: local("Helvetica Neue Medium"), local("HelveticaNeue-Medium");
  font-weight: 500; font-style: normal; font-display: swap;
}
/* Shared navigation updates; loaded after the existing responsive styles. */
.logo, .logo *, .navigatore_destra, .navigatore_destra *,
.navigatore_sinistra, .navigatore_sinistra *,
.foot_navigatore_destra, .foot_navigatore_destra *,
.foot_navigatore_sinistra, .foot_navigatore_sinistra * {
  font-family: GBHelveticaNeueMedium, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
}
.navigatore_destra { width: 310px; }
.navigatore_destra ul { white-space: nowrap; }
.about-page .captionnew h5 { font-family: GBHelveticaNeueMedium, "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 500; }
@media (max-width: 915px) {
  .navigatore_destra { width: 100%; left: 0; right: auto; }
  .portfolio-home .thumbhp img, .portfolio-home .thumbhp video { opacity: 1; }
}
@media (min-width: 916px) {
  .navigatore_destra { width: 310px; }
  .navigatore_sinistra { width: calc(100% - 650px); margin-left: 0; left: 325px; }
  .portfolio-home .thumbhp { position: relative; }
  .portfolio-home .thumbhp > a { display: block; position: relative; }
  .portfolio-home .thumbhp .image img, .portfolio-home .thumbhp video { opacity: 1; transition: opacity .3s ease; }
  .portfolio-home .thumbhp .caption {
    position: absolute; inset: 0; padding: 0 15px; box-sizing: border-box;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; pointer-events: none; transform: none !important;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .portfolio-home .thumbhp:hover .caption, .portfolio-home .thumbhp:focus-within .caption { opacity: 1; visibility: visible; }
  .portfolio-home .thumbhp:hover .image img, .portfolio-home .thumbhp:hover video,
  .portfolio-home .thumbhp:focus-within .image img, .portfolio-home .thumbhp:focus-within video { opacity: .05; }
}

/* Project descriptions and credits retain their existing size and styling. */
.project-page p, .project-page .captionnew, .project-page .captionnew *,
.project-page .description, .project-page .description *,
.project-page .paragrafo, .project-page .paragrafo * {
  font-family: GBHelveticaNeueMedium, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}
.contact-page, .contact-page h4, .contact-page p,
.contact-page a, .contact-page label, .contact-page input,
.contact-page textarea, .contact-page button,
.contact-page input::placeholder, .contact-page textarea::placeholder {
  font-family: GBHelveticaNeueMedium, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  text-transform: uppercase;
}
.about-page .captionnew h5 { letter-spacing: -1px; }
@media (min-width: 916px) {
  .portfolio-home .thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, 340px);
    gap: 120px;
    justify-content: center;
    align-items: start;
    box-sizing: border-box;
    padding: 0 30px 60px;
  }
  .portfolio-home .thumbnails .thumbhp {
    width: 340px; margin: 0; padding: 0;
    display: block; align-self: start;
  }
  .portfolio-home .thumbhp .image { line-height: 0; }
  .portfolio-home .thumbhp .image img,
  .portfolio-home .thumbhp .image video { display: block; width: 100%; height: auto; }
  .portfolio-home .thumbhp .caption {
    height: auto; width: auto;
    text-align: center; text-transform: uppercase;
  }
  .portfolio-home .thumbhp .caption * { text-transform: uppercase; }
}

/* Shared capitalization and restored portfolio filters. */
.portfolio-home .thumbhp .caption,
.portfolio-home .thumbhp .caption * { text-transform: uppercase; }
.about-page .client-list { text-transform: uppercase; }
@media (min-width: 916px) {
  .portfolio-home .navigatore_sinistra {
    left: 50%; width: 360px; margin-left: -180px;
  }
}

/* Font rendering uses live text at every display density. */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; font-kerning: normal; }
.portfolio-home .filter-link { color: #000; opacity: 1; transition: opacity .2s ease; }
.portfolio-home .filter-link:hover,
.portfolio-home .filter-link:focus-visible,
.portfolio-home .filter-link.selected { color: #000; opacity: .55; }
@media (min-width: 916px) {
  .portfolio-home .container { left: 0; margin-left: 0; width: 100%; }
  .portfolio-home .thumbnails {
    --grid-side-margin: clamp(30px, calc((100vw - 1000px) / 2), 250px);
    width: calc(100% - 2 * var(--grid-side-margin));
    max-width: none; margin: 0 auto; padding: 0 0 120px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .portfolio-home .thumbnails .thumbhp { width: 100%; min-width: 0; }
}
@media (min-width: 1600px) {
  .portfolio-home .thumbnails { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 916px) and (max-width: 1199px) {
  .portfolio-home .navigatore_sinistra { top: 58px; }
  .portfolio-home .bgbar { height: 98px; }
}

.portfolio-home .thumbhp .caption, .portfolio-home .thumbhp .caption * { font-family: GBHelveticaNeueMedium, "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 500; }

/* Keep geometry still while scrolling, resizing and switching categories. */
.portfolio-home .thumbhp { opacity: 1; transition: none; }
.portfolio-home .thumbhp .image img,
.portfolio-home .thumbhp .image_mobile img,
.portfolio-home .thumbhp video { transform: none; will-change: auto; }
@media (prefers-reduced-motion: reduce) {
  .portfolio-home .thumbhp .caption,
  .portfolio-home .thumbhp img, .portfolio-home .thumbhp video { transition: none; }
}

/* Keep selected navigation legible and match it to hover. */
.selected, .selected a,
.logo a:hover, .navigatore_destra a:hover, .navigatore_sinistra a:hover,
.foot_navigatore_destra a:hover, .foot_navigatore_sinistra a:hover {
  color: #737373;
}
.portfolio-home .filter-link:hover,
.portfolio-home .filter-link:focus-visible,
.portfolio-home .filter-link.selected { color: #000; opacity: .55; }
.portfolio-home .navigatore_sinistra ul { white-space: nowrap; }

/* Slightly tighter biography leading; preserve font size and tracking. */
.about-page .captionnew h5 { line-height: 1.2; }
/* Mobile header: name, navigation, filters or project title. */
@media (max-width: 915px) {
  .bgbar { top: 0; height: 128px; }
  .logo, .navigatore_destra, .navigatore_sinistra {
    left: 0; right: auto; width: 100%; height: 21px;
    margin: 0; padding: 0; text-align: center;
  }
  .logo { top: 32px; }
  .navigatore_destra { top: 54px; }
  .navigatore_sinistra { top: 75px; }
  .logo h2, .logo h4, .logo p,
  .navigatore_destra h4, .navigatore_sinistra h4 { line-height: 21px; padding: 0; margin: 0; }
  .navigatore_destra ul, .navigatore_sinistra ul { margin: 0; padding: 0 10px; box-sizing: border-box; }
  .navigatore_destra ul li, .navigatore_sinistra ul li { padding: 0 5px; }
  .portfolio-home .container, .project-page .container,
  .project-page .containerintro, .project-page .container_singleimage,
  .about-page .container, .contact-page .container { top: 128px; }
}

.services-block h4 {
  font-family: GBHelveticaNeueMedium, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500; font-size: 15px; line-height: 21px;
  letter-spacing: 0; text-transform: uppercase;
}
/* Small mobile copy is 2px smaller; retain the large biography size. */
@media (max-width: 915px) {
  .logo, .logo h2, .logo h4, .logo a,
  .navigatore_destra, .navigatore_destra *,
  .navigatore_sinistra, .navigatore_sinistra *,
  .foot_navigatore_destra, .foot_navigatore_destra *,
  .foot_navigatore_sinistra, .foot_navigatore_sinistra * { font-size: 13px; }
  .logo p { font-size: 13.5px; }
  .thumbhp .caption h4,
  .project-page .captionnew h4,
  .contact-page h4,
  .about-page .client-list,
  .services-block h4 { font-size: 13px; }
  .project-page .captionnew p,
  .project-page .description p,
  .project-page .paragrafo p { font-size: 13.5px; }
  .contact-page input, .contact-page textarea, .contact-page button { font-size: 13px; }
}

/* About project index; names are maintained in js/projects-data.js. */
.project-list-section { margin-top: 42px; }
.project-list-section h4 { margin-bottom: 18px; text-transform: uppercase; }
.project-list { margin: 0; padding: 0; list-style: none; }
.project-list li { margin: 0; padding: 0; }
.project-list a {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px;
  padding: 9px 0; text-align: left;
  font-family: GBHelveticaNeueMedium, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500; font-size: 15px; line-height: 21px;
  letter-spacing: 0; text-transform: uppercase;
}
.project-list a:hover, .project-list a:focus-visible { color: #737373; }
.project-list span { min-width: 0; overflow-wrap: anywhere; }
.project-hover-preview {
  position: fixed; z-index: 1000; pointer-events: none;
  /* Exactly half one thumbnail in the current three-column desktop grid. */
  width: calc((100vw - 2 * clamp(30px, (100vw - 1000px) / 2, 250px) - 240px) / 6);
}
.project-hover-preview[hidden] { display: none; }
.project-hover-preview img, .project-hover-preview video {
  display: block; width: 100%; height: auto; max-height: calc(100vh - 24px);
  object-fit: contain;
}
@media (max-width: 915px) {
  .project-list-section h4, .project-list a { font-size: 13px; }
  .project-list a { grid-template-columns: 1fr 1.25fr; gap: 14px; }
  .project-hover-preview { display: none; }
  .project-page .navigatore_sinistra { height: auto; }
  .project-page .navigatore_sinistra ul { white-space: normal; }
}

/* Equal spacing between the four About content blocks. */
.about-page .services-block,
.about-page .client-list,
.about-page .project-list-section { margin: 160px 0 0; }
.about-page .services-block h4 { margin: 0; }
.project-list a { grid-template-columns: 1fr 1.5fr 1fr; }
.project-list .project-client { text-align: left; }
.project-list .project-name { text-align: center; }
.project-list .project-type { text-align: right; }
.project-list li + li { border-top: 1px solid #d9d9d9; }
@media (max-width: 915px) {
  .project-list a { grid-template-columns: 1fr 1.25fr .85fr; gap: 10px; }
}

.project-list-controls {
  display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 24px;
  margin-bottom: 8px;
}
.project-sort-button {
  grid-column: 3; justify-self: end;
  padding: 0; border: 0; background: transparent; cursor: pointer;
  font-family: GBHelveticaNeueMedium, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500; font-size: 15px; line-height: 21px;
  letter-spacing: 0; color: #000; text-align: right;
}
.project-sort-button[hidden] { display: none; }
.project-sort-button:hover, .project-sort-button[aria-pressed="true"] { color: #737373; }
.project-sort-button:focus-visible { outline: 1px solid #737373; outline-offset: 4px; }
@media (max-width: 915px) {
  .project-list-controls { grid-template-columns: 1fr 1.25fr .85fr; gap: 10px; }
  .project-sort-button { font-size: 13px; }
}

/* Heading and sort control share one line, with room above the list. */
.project-list-header {
  display: grid; grid-template-columns: 1fr 1.5fr 1fr;
  gap: 24px; align-items: center; margin-bottom: 80px;
}
.project-list-header #project-list-heading { grid-column: 2; margin: 0; text-align: center; }
.project-list-header .project-list-controls { grid-column: 3; display: block; margin: 0; text-align: right; }
@media (max-width: 915px) {
  .project-list-header { grid-template-columns: 1fr 1.25fr .85fr; gap: 10px; }
}

/* Fixed sort labels and mutually exclusive selection states. */
.project-sort-client { grid-column: 1; justify-self: start; text-align: left; }
.project-sort-type { grid-column: 3; justify-self: end; text-align: right; }
.project-sort-button, .project-sort-button:hover { color: #000; }
.project-sort-button[aria-pressed="true"],
.project-sort-button[aria-pressed="true"]:hover { color: #737373; }
.about-section-label, .project-list-header #project-list-heading,
.project-sort-button { font-size: 12px; }
@media (max-width: 915px) {
  .about-section-label, .project-list-header #project-list-heading,
  .project-sort-button { font-size: 10px; }
}


/* White About and Contact backgrounds, including fixed headers. */
.about-page, .contact-page, .about-page .bgbar, .contact-page .bgbar { background-color: #ffffff; }

/* Contact form and photograph share one centered content width. */
.contact-page .captionnew,
.contact-page .container_static,
.contact-page .container_static_mobile {
  position: relative;
  left: auto;
  top: auto;
  width: calc(100% - 100px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.contact-page .captionnew .one_img { padding: 0 !important; }
.contact-page .ug-simple-contact .ug-form { max-width: none; padding: 0; }
.contact-page .container_static img,
.contact-page .container_static_mobile img { display: block; width: 100%; height: auto; }
@media (max-width: 915px) {
  .contact-page .container { width: 100%; left: 0; margin-left: 0; margin-right: 0; }
}

/* Desktop project stage; original project flow remains available on mobile. */
.project-pagination { display: flex; justify-content: space-between; gap: 24px; padding: 30px 40px; background: #fff; box-sizing: border-box; }
.project-pagination a, .stage-credits-button { font-family: GBHelveticaNeueMedium, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 12px; font-weight: 500; line-height: 1.4; letter-spacing: 0; text-transform: uppercase; color: #000; }
.project-pagination a { max-width: 44%; text-decoration: none; }
.project-pagination .project-next { text-align: right; margin-left: auto; }
.project-pagination a:hover, .stage-credits-button:hover { color: #737373; }
.stage-credits-button { display: none; border: 0; padding: 0; background: none; cursor: pointer; }
.stage-credits[hidden] { display: none !important; }
.stage-credits { position: fixed; z-index: 120; width: max-content; max-width: min(440px, calc(100vw - 48px)); max-height: calc(100dvh - 110px); overflow: auto; box-sizing: border-box; padding: 22px; background: #fff; color: #000; pointer-events: none; text-align: left; }
.stage-credits .captionnew { position: static; width: auto; margin: 0; padding: 0; text-align: left; }
.stage-credits .captionnew + .captionnew { margin-top: 18px; }
.stage-credits .captionnew * { font-size: 12px; line-height: 1.5; letter-spacing: 0; }
@media (min-width: 916px) {
  .stage-enabled { overflow: hidden; }
  .stage-enabled .stage-original { display: none !important; }
  .project-stage { position: fixed; inset: 72px 0 64px; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 5vh, 80px) clamp(60px, 6vw, 160px); box-sizing: border-box; }
  .stage-slide { display: flex; align-items: center; justify-content: center; max-width: 100%; max-height: 100%; }
  .project-stage .stage-slide > img, .project-stage .stage-slide > video, .project-stage .stage-slide > iframe { display: block; object-fit: contain; min-width: 0; min-height: 0; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; cursor: pointer; }
  .stage-enabled .project-pagination { position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; height: 64px; align-items: center; padding: 16px 40px; }
  .stage-enabled .stage-credits-button { display: block; position: absolute; left: 50%; transform: translateX(-50%); }
  .stage-enabled .project-pagination a { max-width: calc(50% - 80px); }
  .stage-back, .stage-forward { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #000; font: 24px Arial, sans-serif; padding: 12px; cursor: pointer; }
  .stage-back { left: 16px; } .stage-forward { right: 16px; }
  .stage-counter { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); font-size: 12px; line-height: 1; }
  .stage-full-video { padding: 0; background: #000; }
  .stage-full-video .stage-slide { width: 100%; height: 100%; }
  .stage-full-video .stage-slide > video { width: 100% !important; height: 100% !important; object-fit: cover; cursor: auto; }
  .stage-full-video .stage-back, .stage-full-video .stage-forward, .stage-full-video .stage-counter { display: none; }
}
@media (max-width: 915px) {
  .project-page .project-pagination { position: relative; margin-top: 128px; padding: 30px 50px 50px; }
  .project-pagination a { font-size: 10px; }
}

@media (max-width: 915px) {
  /* Let the bottom links follow the full media stack on legacy fixed-height pages. */
  .project-page .stage-original { height: auto !important; position: relative !important; }
}
.stage-back[hidden], .stage-forward[hidden], .stage-counter[hidden] { display: none; }

/* Small labels are one pixel smaller throughout the site. */
.about-section-label, .project-list-header #project-list-heading,
.project-sort-button, .project-pagination a, .stage-credits-button,
.stage-counter, .stage-credits .captionnew * { font-size: 11px; }
.project-direction { color: #737373; }
@media (max-width: 915px) {
  .about-section-label, .project-list-header #project-list-heading,
  .project-sort-button, .project-pagination a { font-size: 9px; }
  .project-pagination .stage-counter { display: none; }
}
@media (min-width: 916px) {
  .project-stage { overflow: hidden; }
  .project-pagination .stage-counter { display: block; position: absolute; bottom: auto; left: 50%; transform: translateX(-50%); }
  .stage-enabled .project-stage .stage-credits-button { bottom: 8px; }
  .stage-back, .stage-forward { opacity: 0; pointer-events: none; transition: opacity 100ms ease-out; }
  .project-stage:hover .stage-back, .project-stage:hover .stage-forward,
  .project-stage:focus-within .stage-back, .project-stage:focus-within .stage-forward { opacity: 1; pointer-events: auto; }
  .stage-full-video .stage-back, .stage-full-video .stage-forward { display: block; color: #fff; }
  .stage-transition-overlay { z-index: 90; background-color: #fff; pointer-events: none; }
  .stage-transition-overlay.stage-full-video { background-color: #000; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-back, .stage-forward { transition: none; }
}

/* Keep the viewport width stable when moving between scrolling and stage pages. */
html { scrollbar-gutter: stable; }
html:has(body.project-page) { overflow-y: scroll; }
.project-direction { white-space: pre; }
@media (min-width: 916px) {
  /* Explicitly sized, overlapping layers prevent flex layout from resizing a slide. */
  .project-stage .stage-slide { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: none; max-height: none; }
  .project-stage .stage-slide > img, .project-stage .stage-slide > video,
  .project-stage .stage-slide > iframe { flex: none; max-width: none; max-height: none; }
  .stage-full-video .stage-slide { width: 100% !important; height: 100% !important; }
  .stage-enabled .navigatore_sinistra .stage-credits-button { display: block; position: absolute; left: 50%; top: 24px; bottom: auto; transform: translateX(-50%); font-size: 11px; line-height: 12px; }
  .project-stage:hover .stage-back, .project-stage:hover .stage-forward,
  .project-stage:focus-within .stage-back, .project-stage:focus-within .stage-forward { opacity: 0; pointer-events: none; }
  .project-stage.pointer-left .stage-back,
  .project-stage.pointer-right .stage-forward,
  .project-stage .stage-back:focus-visible,
  .project-stage .stage-forward:focus-visible { opacity: 1; pointer-events: auto; }
}
/* Data-driven project content uses the same sequential mobile presentation. */
.project-content-slide { display: flex; justify-content: center; gap: 40px; margin-bottom: 90px; }
.project-content-slide figure { margin: 0; flex: 1; min-width: 0; }
.project-content-slide img, .project-content-slide video { display: block; width: 100%; height: auto; }
.project-content-slide figcaption { font-family: GBHelveticaNeueMedium, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 13px; margin-top: 12px; }
@media (max-width: 915px) {
  .project-content-slide { display: block; margin-bottom: 0; }
  .project-content-slide figure { margin-bottom: 90px; }
}
.stage-image-caption { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); margin: 0; max-width: 80%; font-size: 11px; text-align: center; line-height: 1.4; }
.stage-full-video .stage-image-caption { color: #fff; }
.contact-email { display: block; margin-top: 20px; }
/* Desktop template controls never alter the mobile stack. */
@media (min-width: 916px) {
  .portfolio-home .thumbnails[data-layout="grid"] { --grid-side-margin:clamp(min(30px,var(--home-max-margin,250px)),calc((100vw - 1000px)/2),var(--home-max-margin,250px));gap:var(--home-gap,120px); }
  .portfolio-home .thumbnails[data-layout="masonry"] { display:block;position:relative;width:calc(100% - 2 * min(var(--masonry-margin,60px),40vw));padding:0;margin:var(--masonry-margin,60px) auto var(--masonry-margin,60px); }
  .portfolio-home .thumbnails[data-layout="masonry"] .thumbhp { margin:0;padding:0; }
  .portfolio-home .thumbnails[data-layout="masonry"] .thumbhp:hover .image img,
  .portfolio-home .thumbnails[data-layout="masonry"] .thumbhp:hover video { opacity:.1; }
  .portfolio-home .thumbnails[data-layout="stack"] { display:flex;flex-direction:column;gap:var(--stack-gap,120px);width:100%;margin:0;padding:0 0 120px; }
  .portfolio-home .thumbnails[data-layout="stack"] .thumbhp { width:var(--stack-item-width,100%);margin:0 auto; }
  .portfolio-home .thumbnails[data-layout="stack"] .image { aspect-ratio:var(--stack-ratio,auto);overflow:hidden; }
  .portfolio-home .thumbnails[data-layout="stack"] .image img,
  .portfolio-home .thumbnails[data-layout="stack"] .image video { width:100%;height:100%;object-fit:var(--stack-fit,cover); }
}

/* Cropped uploads and display ratios are desktop-only. */
@media (min-width:916px) {
 .portfolio-home .thumbnails[data-layout="grid"] .image {aspect-ratio:var(--grid-ratio,4 / 5);overflow:hidden;}
 .portfolio-home .thumbnails[data-layout="masonry"] .image {aspect-ratio:var(--masonry-ratio,auto);overflow:hidden;}
 .portfolio-home .thumbnails[data-layout="grid"] .image img,
 .portfolio-home .thumbnails[data-layout="grid"] .image video {width:100%;height:100%;object-fit:cover;}
 .portfolio-home .thumbnails[data-layout="masonry"] .image img,
 .portfolio-home .thumbnails[data-layout="masonry"] .image video {width:100%;height:100%;object-fit:var(--masonry-fit,cover);}
 .portfolio-home .thumbnails .image img,
 .portfolio-home .thumbnails .image video {object-position:var(--home-position,50% 50%);}
}

@media (min-width:916px) {
 .portfolio-home .thumbnails[data-layout] {margin-top:var(--home-top,0px);}
}

/* Reserve thumbnail footprints before deferred media arrives. */
@media (min-width:916px) {
 .portfolio-home .thumbnails[data-layout="masonry"] .thumbhp[data-natural-ratio="true"] .image,
 .portfolio-home .thumbnails[data-layout="stack"] .thumbhp[data-natural-ratio="true"] .image {aspect-ratio:var(--media-ratio,4 / 5);}
}
@media (max-width:915px) {
 .portfolio-home .image_mobile {aspect-ratio:var(--media-ratio,4 / 5);}
 .portfolio-home .image_mobile img,.portfolio-home .image_mobile video {width:100%;height:100%;object-fit:cover;}
}

/* Consistent project titles and optional Photography navigation. */
.navigatore_destra ul { margin: 0; padding: 0; }
.navigatore_destra li { font-size: 15px; line-height: 21px; }
.navigatore_destra li + li { margin-left: 8px; }
.project-page .navigatore_sinistra .project-title {
  font-family: GBHelveticaNeueMedium, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px; font-weight: 500; line-height: 21px; letter-spacing: 0;
  text-transform: uppercase; text-align: center; margin: 0; padding: 0;
}
.project-pagination a { display: flex; align-items: baseline; gap: 16px; }
.project-pagination .project-next { justify-content: flex-end; }
.project-direction { flex: none; white-space: nowrap; }
.project-page .project-tags p, .stage-credits .project-tags p {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 11px;
  font-weight: 400; line-height: 1.5; text-transform: uppercase; letter-spacing: 0; margin: 0;
}
@media (min-width:916px) {
  .has-photography-nav .navigatore_destra { width: 435px; }
  .has-photography-nav.project-page .navigatore_sinistra { left: 285px; width: calc(100% - 760px); }
}
@media (max-width:915px) {
  .navigatore_destra li, .project-page .navigatore_sinistra .project-title { font-size:13px; }
  .navigatore_destra ul { padding:0 10px; }
  .navigatore_destra li + li { margin-left:4px; }
  .project-pagination a { gap:8px; }
}

/* Three shared type scales. Mobile reductions stay linked to desktop settings. */
:root { --gb-navigation-size:15px; --gb-large-size:36px; --gb-small-size:11px;
  --gb-nav:var(--gb-navigation-size); --gb-large:var(--gb-large-size); --gb-small:var(--gb-small-size); }
.logo, .logo *, .navigatore_destra, .navigatore_destra *,
.navigatore_sinistra .project-title,
.portfolio-home .caption, .portfolio-home .caption *,
.services-block h4, .about-page .client-list, .project-list a, .project-list a *,
.contact-page h4, .contact-page p, .contact-page a, .contact-page label,
.contact-page input, .contact-page textarea, .contact-page button {
  font-size:var(--gb-nav) !important; line-height:1.4 !important;
}
.about-page .captionnew h5, .about-page .captionnew h5 * {
  font-size:var(--gb-large) !important; line-height:1.2 !important;
}
.project-page .captionnew, .project-page .captionnew *,
.project-page .description, .project-page .description *,
.project-page .paragrafo, .project-page .paragrafo *,
.stage-credits .captionnew, .stage-credits .captionnew *,
.about-section-label, .project-list-header #project-list-heading,
.project-sort-button, .project-pagination, .project-pagination *,
.stage-credits-button, .stage-counter, .stage-image-caption,
.project-content-slide figcaption {
  font-size:var(--gb-small) !important; line-height:1.5 !important;
}
.stage-enabled .navigatore_sinistra .stage-credits-button { top:calc(var(--gb-nav) * 1.4 + 3px); }
@media (min-width:916px) {
  .navigatore_destra, .has-photography-nav .navigatore_destra { width:max-content; max-width:calc(100vw - 48px); }
}
@media (max-width:915px) {
  :root { --gb-nav:max(8px, calc(var(--gb-navigation-size) - 2px)); --gb-small:max(8px, calc(var(--gb-small-size) - 2px)); --gb-large:min(var(--gb-large-size), 9.2vw); }
  .navigatore_destra { top:calc(32px + var(--gb-nav) * 1.4 + 4px); height:auto; }
  .project-page .navigatore_sinistra { top:calc(32px + var(--gb-nav) * 2.8 + 8px); }
  .navigatore_destra ul { display:flex; flex-wrap:wrap; justify-content:center; }
}
/* A transparent header lets content pass underneath without a white mask. */
body { background-color:#fff; }
.header-overlay .bgbar { display:none !important; }
.header-overlay .logo, .header-overlay .navigatore_destra,
.header-overlay .navigatore_sinistra, .header-overlay .project-pagination { background:transparent !important; }
@media (min-width:916px) {
  .header-overlay .project-stage { inset:0; }
  .header-overlay .project-pagination { background:transparent; }
}
/* Blend whole fixed text groups against the underlying page, never the Info panel. */
.adaptive-header .logo, .adaptive-header .navigatore_destra,
.adaptive-header .navigatore_sinistra, .adaptive-header .project-pagination {
  mix-blend-mode:difference; color:#fff !important;
}
.adaptive-header .logo *, .adaptive-header .navigatore_destra *,
.adaptive-header .navigatore_sinistra *, .adaptive-header .project-pagination * {
  color:#fff !important;
}
.adaptive-header .logo a:hover, .adaptive-header .navigatore_destra a:hover,
.adaptive-header .project-pagination a:hover { opacity:.65; }

/* Identical text boxes align the name and menu, without legacy heading offsets. */

.logo > a { display:block; padding:0; margin:0; }
.logo, .navigatore_destra { padding:0; }
.navigatore_destra ul { display:flex; align-items:baseline; justify-content:flex-end; gap:8px; }
.navigatore_destra ul li { display:block; margin:0 !important; padding:0; }
.navigatore_destra a { display:block; }
@media (min-width:916px) {
  .logo, .navigatore_destra { top:24px; height:auto; }
  html:has(body.project-page) { overflow-y:hidden; scrollbar-gutter:stable; }
  .project-page .project-stage { inset:0 !important; padding:0 !important; }
  .project-page .navigatore_sinistra { top:24px; height:auto; }
  .project-page .logo, .project-page .navigatore_destra { top:24px; }
  .project-page .project-pagination { height:50px; padding:12px 24px; }
  .align-content-top .container { z-index:51; }
  .align-content-top .one_img > br { display:none; }
  .align-content-top .captionnew h5 { margin-top:0; }
}
.home-start-top .container { top:0 !important; padding-top:0 !important; margin-top:0 !important; }
.home-start-top .thumbnails { margin-top:0 !important; }
@media (hover:hover) and (pointer:fine) and (min-width:916px) {
  .edge-navigation .logo, .edge-navigation .navigatore_destra,
  .edge-navigation .navigatore_sinistra, .edge-navigation .project-pagination,
  .edge-navigation .bgbar, .edge-navigation .stage-back, .edge-navigation .stage-forward {
    opacity:0; pointer-events:none; transition:opacity 140ms ease;
  }
  .edge-navigation.edge-nav-visible .logo, .edge-navigation.edge-nav-visible .navigatore_destra,
  .edge-navigation.edge-nav-visible .navigatore_sinistra, .edge-navigation.edge-nav-visible .project-pagination,
  .edge-navigation.edge-nav-visible .bgbar,
  .edge-navigation.edge-nav-visible .stage-back, .edge-navigation.edge-nav-visible .stage-forward,
  .edge-navigation:has(:focus-visible) .logo, .edge-navigation:has(:focus-visible) .navigatore_destra,
  .edge-navigation:has(:focus-visible) .navigatore_sinistra, .edge-navigation:has(:focus-visible) .project-pagination {
    opacity:1; pointer-events:auto;
  }
}
@media(max-width:915px) {
  .navigatore_destra ul { justify-content:center; }
}
@media(prefers-reduced-motion:reduce) {
  .edge-navigation .logo,.edge-navigation .navigatore_destra,.edge-navigation .navigatore_sinistra,.edge-navigation .project-pagination {transition:none;}
}
@media(min-width:916px) {
  .about-page.align-content-top .container { width:calc(100% - 500px); left:250px; margin-left:0; }
  .about-page.align-content-top .one_img { padding-left:0 !important; padding-right:0 !important; }
}
@media(min-width:916px) {
 .about-page.align-content-top .container > .captionnew { width:100%; left:0; margin-left:0; }
}

/* Project chrome: persistent name/menu; independent edge controls. */
.project-page .bgbar { display:none !important; }
.project-page .logo, .project-page .navigatore_destra,
.project-page .navigatore_sinistra, .project-page .project-pagination {
 background:transparent !important; mix-blend-mode:difference; color:#fff !important;
}
.project-page .logo *, .project-page .navigatore_destra *,
.project-page .navigatore_sinistra *, .project-page .project-pagination * {color:#fff !important;}
.project-page .logo, .project-page .navigatore_destra {opacity:1 !important;pointer-events:auto !important;}
.project-title-trigger {font:inherit;line-height:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;border:0;padding:0;margin:0;background:transparent;cursor:pointer;}
.project-page .project-stage {background:#fff;}
.stage-transition-overlay {z-index:10 !important;background:#fff;}
.project-page .stage-back,.project-page .stage-forward {mix-blend-mode:difference;color:#fff;background:transparent;}
@media(min-width:916px) and (hover:hover) and (pointer:fine) {
 .project-page .navigatore_sinistra,.project-page .project-pagination,
 .project-page .project-stage .stage-back,.project-page .project-stage .stage-forward {
  opacity:0;pointer-events:none;transition:opacity 140ms ease;
 }
 .project-page.near-top .navigatore_sinistra,.project-page .navigatore_sinistra:focus-within,
 .project-page.near-bottom .project-pagination,.project-page .project-pagination:focus-within,
 .project-page.near-left .project-stage .stage-back,.project-page .project-stage .stage-back:focus-visible,
 .project-page.near-right .project-stage .stage-forward,.project-page .project-stage .stage-forward:focus-visible {
  opacity:1;pointer-events:auto;
 }
}
/* Outgoing layer keeps the exact viewport geometry outside the replaced body. */
.stage-transition-overlay {inset:0 !important;padding:0 !important;}
/* White bar is off by default, including the first paint; the global toggle remains. */
html.gb-white-bar-off .bgbar {display:none !important;}
.project-page:not(.header-overlay) .bgbar {display:block !important;}
.project-page:not(.header-overlay) .logo,
.project-page:not(.header-overlay) .navigatore_destra,
.project-page:not(.header-overlay) .navigatore_sinistra {mix-blend-mode:normal;color:#000 !important;}
.project-page:not(.header-overlay) .logo *,
.project-page:not(.header-overlay) .navigatore_destra *,
.project-page:not(.header-overlay) .navigatore_sinistra * {color:#000 !important;}
@media(max-width:915px) {
 .project-page .project-content-slide {padding:0;box-sizing:border-box;}
}

/* Pointer arrows replace the cursor across both halves, leaving 50px edge bands. */
.stage-arrow-cursor {display:none;}
@media(min-width:916px) and (hover:hover) and (pointer:fine) {
 .project-page .project-stage .stage-back,
 .project-page .project-stage .stage-forward {
  position:fixed;top:50px;bottom:50px;width:50%;height:auto;transform:none;
  margin:0;padding:0;border:0;font-size:29px;line-height:1;
  opacity:1;pointer-events:auto;color:transparent;background:transparent;
  cursor:none;transition:none;mix-blend-mode:normal;
 }
 .project-page .project-stage .stage-back {left:0;right:auto;}
 .project-page .project-stage .stage-forward {right:0;left:auto;}
 .project-page .project-stage .stage-back:focus-visible,
 .project-page .project-stage .stage-forward:focus-visible {
  color:#fff;mix-blend-mode:difference;outline:1px solid #fff;outline-offset:-3px;
 }
 .project-page .stage-arrow-cursor {
  position:fixed;z-index:3;pointer-events:none;transform:translate(-50%,-50%);
  font:29px/1 Arial,sans-serif;color:#fff;mix-blend-mode:difference;
 }
 .project-page .arrow-cursor-active .stage-arrow-cursor {display:block;}
 .project-page .project-stage .stage-slide > img {cursor:auto;}
 .stage-transition-overlay .stage-arrow-cursor {display:none !important;}
}

/* Mobile inset header and centered project footer. */
@media(max-width:915px) {
 :root {--mobile-panel-height:calc(var(--gb-nav) * 2.8 + var(--gb-small) * 4.2 + 40px);}
 html body[class] .bgbar {
  display:block !important;position:fixed;left:50px;right:50px;top:50px;
  width:auto;height:var(--mobile-panel-height);margin:0;padding:0;
  background:#fff !important;opacity:1;z-index:90;pointer-events:none;
 }
 html body .logo,html body .navigatore_destra,html body .navigatore_sinistra {
  position:fixed;left:60px;right:60px;width:auto;max-width:none;margin:0;padding:0;
  height:auto;text-align:center;z-index:100;mix-blend-mode:normal !important;
  background:transparent !important;color:#000 !important;
 }
 html body .logo *,html body .navigatore_destra *,html body .navigatore_sinistra * {color:#000 !important;}
 html body .logo {top:66px;}
 html body .navigatore_destra {top:calc(70px + var(--gb-nav) * 1.4);}
 html body .navigatore_destra ul {padding:0;justify-content:center;}
 html body.project-page .navigatore_sinistra {top:calc(74px + var(--gb-nav) * 2.8);}
 html body.project-page .navigatore_sinistra .project-title,html body .project-title-trigger {
  font-size:var(--gb-small);line-height:1.4;white-space:normal;overflow-wrap:anywhere;
 }
 .project-page .container > .captionnew,
 .project-page .containerintro > .captionnew,
 .project-page .container_singleimage > .captionnew {
  left:0;width:100%;margin:0;padding:30px 30px 0;box-sizing:border-box;text-align:center;
 }
 .project-page .captionnew h4,.project-page .captionnew p {text-align:center;}
 html body.project-page .project-pagination {
  display:flex;flex-direction:column;align-items:center;gap:36px;
  height:auto;margin:128px 0 0;padding:36px 30px 50px;
  text-align:center;mix-blend-mode:normal;color:#000 !important;
 }
 html body.project-page .project-pagination a {
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;width:100%;max-width:none;text-align:center;color:#000 !important;
 }
 html body.project-page .project-pagination * {color:#000 !important;}
 .project-pagination .project-direction {order:0;}
 .project-pagination .project-pagination-name {order:1;}
 .about-page .container {top:calc(50px + var(--mobile-panel-height) + 24px);height:auto;}
 .about-page .container > .captionnew {left:0;margin:0;width:100%;}
 .about-page .one_img > br {display:none;}
 .about-page .captionnew h5 {margin-top:0;padding-top:0;}
}

/* Mobile text must paint black above its white panel, independent of blending. */
@media(max-width:915px) {
 html body[class] .logo,html body[class] .navigatore_destra,html body[class] .navigatore_sinistra {
  z-index:101 !important;mix-blend-mode:normal !important;color:#000 !important;opacity:1 !important;
 }
 html body[class] .logo *,html body[class] .navigatore_destra *,html body[class] .navigatore_sinistra * {color:#000 !important;}
 html body.project-page .captionnew,html body.project-page .captionnew *,
 html body.project-page .project-pagination,html body.project-page .project-pagination *,
 html body.project-page .project-content-slide figcaption {
  font-size:var(--gb-nav) !important;line-height:1.4 !important;letter-spacing:0;
 }
 html body.project-page .captionnew h4,html body.project-page .captionnew p {margin:0;padding:0;}

 html body.project-page .project-pagination a {gap:0;}
 html body.project-page .project-content-slide {margin-bottom:0;}
 html body.project-page .project-content-slide figure {margin-bottom:var(--mobile-projectGap,30px);}
 html body.portfolio-home .thumbnails .thumbhp {margin-bottom:var(--mobile-homeGap,30px);padding-bottom:0;}
}
/* One permanent desktop scrollbar track on every page. */
@media(min-width:916px) {
 html,html:has(body.project-page) {overflow-y:scroll !important;scrollbar-gutter:auto;}
 body {overflow:visible;}
}

/* Match project text to the navigation face and weight. */
.project-page .project-tags p,
.project-page .project-title-trigger,
.project-page .navigatore_sinistra .project-title {
 font-family:GBHelveticaNeueMedium,"Helvetica Neue",Helvetica,Arial,sans-serif !important;
 font-weight:500 !important;font-size:var(--gb-nav) !important;line-height:1.4 !important;letter-spacing:0;
}
.mobile-nav-toggle {display:none;}
@media(max-width:915px) {
 html body:not(.mobile-nav-open) .navigatore_destra,
 html body:not(.mobile-nav-open) .navigatore_sinistra {visibility:hidden !important;pointer-events:none !important;}
 .mobile-nav-toggle {
  display:flex;position:fixed;top:var(--mobile-toggle-top,88px);left:50%;transform:translateX(-50%);
  width:36px;height:36px;align-items:center;justify-content:center;padding:0;border:0;
  background:transparent;z-index:102;cursor:pointer;touch-action:manipulation;
 }
 .mobile-nav-toggle::before {content:"";display:block;width:12px;height:12px;border-radius:50%;background:#f7b180;}
 .mobile-nav-toggle:focus-visible {outline:1px solid #000;outline-offset:0;}
 .about-page .container {top:calc(50px + var(--gb-nav) * 1.4 + 88px);}
}
@media(min-width:916px) {
 .project-page .captionnew,.project-page .captionnew *,
 .project-page .project-content-slide figcaption,.stage-image-caption {
  font-family:GBHelveticaNeueMedium,"Helvetica Neue",Helvetica,Arial,sans-serif !important;
  font-weight:500 !important;font-size:var(--gb-nav) !important;line-height:1.4 !important;letter-spacing:0;
 }
 .project-pagination .stage-counter {display:none !important;}
 .project-page .project-stage .stage-back,.project-page .project-stage .stage-forward {font-size:32px;}
 .project-page .stage-arrow-cursor {font-size:32px;transform:translate(-50%,-16px);text-align:center;}
 .stage-arrow-glyph {display:block;font:32px/1 Arial,sans-serif;}
 .stage-cursor-counter {
  display:block;margin-top:4px;white-space:nowrap;
  font:500 var(--gb-nav)/1.4 GBHelveticaNeueMedium,"Helvetica Neue",Helvetica,Arial,sans-serif;letter-spacing:0;
 }
}

@media(max-width:915px) {
 .portfolio-home .container,.project-page .container,
 .project-page .containerintro,.project-page .container_singleimage {top:145px;}
}

@media(max-width:915px) {
 ::-webkit-scrollbar {height:14px;width:12px;}
 ::-webkit-scrollbar-track {background-color:#fafafa;}
 ::-webkit-scrollbar-thumb {background-color:#333;}
}

/* Current-page labels are selected text, with no self-navigation. */
html body .navigatore_destra .selected a {opacity:.55;cursor:default;}
html body .logo a:not([href]),html body .logo a:not([href]):hover {opacity:1;cursor:default;}

/* Only the document scrolls. Horizontal clipping on body would turn its
   visible vertical overflow into auto and create a second scrolling area. */
html {overflow-x:hidden;}
body {overflow:visible !important;}

/* Header chrome is never part of a load animation. */
.logo,.navigatore_destra,.bgbar,.mobile-nav-toggle {animation:none !important;transition:none !important;}
@media(max-width:915px) {
 body {--mobile-panel-height:calc(var(--gb-nav) * 1.4 + 64px);}
 .mobile-nav-toggle {top:var(--mobile-toggle-top,calc(70px + var(--gb-nav) * 1.4));}
}
html.gb-white-bar-off body .logo,
html.gb-white-bar-off body .navigatore_destra {background:transparent !important;}
@media(min-width:916px) {
 html.gb-adaptive-header .logo,html.gb-adaptive-header .navigatore_destra {mix-blend-mode:difference;color:#fff !important;}
 html.gb-adaptive-header .logo *,html.gb-adaptive-header .navigatore_destra * {color:#fff !important;}
}

/* Contact is a single bordered stack, with a matching Instagram/image block. */
.contact-page .ug-simple-contact .ug-field,
.contact-page .ug-simple-contact .ug-button {margin:0;border-radius:0;}
.contact-page .ug-label:empty {display:none;}
.contact-page .ug-field + .ug-label + .ug-field,
.contact-page .ug-field + .ug-button {border-top:0;}
.contact-page .contact-instagram {width:calc(100% - 100px);max-width:800px;margin:30px auto 80px;box-sizing:border-box;}
.contact-page .contact-instagram-link {display:flex;align-items:center;justify-content:center;width:100%;height:70px;border:1px solid #000;box-sizing:border-box;color:#000;background:#fff;text-decoration:none;}
.contact-page .contact-feed-frame {display:block;width:100%;padding:0;margin:0;border:1px solid #000;border-top:0;border-radius:0;box-sizing:border-box;background:#fff;cursor:pointer;overflow:hidden;aspect-ratio:4/5;}
.contact-page .contact-feed-frame img {display:block;width:100%;height:100%;object-fit:cover;}
.contact-page .contact-instagram-link:hover,
.contact-page .ug-simple-contact .ug-button:hover {background:#eee;}
.contact-page .contact-feed-frame:focus-visible {outline:2px solid #000;outline-offset:3px;}
.contact-page .captionnew .one_img > br {display:none;}
@media(min-width:916px) {.contact-page .container {top:24px;}}

/* Contact spacing is controlled directly, independent of header alignment. */
.contact-page .container {height:auto;min-height:0;margin-top:0;padding-top:0;}
.contact-page .container > .captionnew {margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;}
.contact-page .ug-simple-contact,.contact-page .ug-simple-contact > h4,
.contact-page .ug-simple-contact .ug-form {margin-top:0;margin-bottom:0;padding-top:0;padding-bottom:0;}
.contact-page .contact-intro:empty {display:none;}
.contact-page .contact-instagram {margin-top:var(--contact-instagramGap,120px);}
@media(min-width:916px) {
 .contact-page .container {top:var(--contact-desktopTop,30px);}
}
@media(max-width:915px) {
 .contact-page .container {top:var(--contact-mobileTop,180px);}
 html body[class] .bgbar {background:var(--mobile-nav-boxColor,#fff) !important;border:var(--mobile-nav-borderWidth,0px) solid var(--mobile-nav-borderColor,#000);box-sizing:border-box;}
 .mobile-nav-toggle::before {background:var(--mobile-nav-dotColor,#f7b180);}
 html body .logo,html body .navigatore_destra,html body .navigatore_sinistra,
 html body .logo *,html body .navigatore_destra *,html body .navigatore_sinistra * {color:var(--mobile-nav-textColor,#000) !important;}
}

/* Mobile menu outer offsets and independent inner paddings. */
@media(max-width:915px) {
 html body[class] .bgbar {
  top:var(--mobile-nav-edgeTop,0px);left:var(--mobile-nav-edgeLeft,0px);right:var(--mobile-nav-edgeRight,0px);
 }
 html body .logo,html body .navigatore_destra,html body .navigatore_sinistra {
  left:calc(var(--mobile-nav-edgeLeft,0px) + var(--mobile-nav-borderWidth,0px) + var(--mobile-nav-paddingLeft,10px));
  right:calc(var(--mobile-nav-edgeRight,0px) + var(--mobile-nav-borderWidth,0px) + var(--mobile-nav-paddingRight,10px));
 }
 html body .logo {top:calc(var(--mobile-nav-edgeTop,0px) + var(--mobile-nav-borderWidth,0px) + var(--mobile-nav-paddingTop,16px));}
 html body .navigatore_destra {top:var(--mobile-main-top,66px);}
 html body .navigatore_sinistra,html body.project-page .navigatore_sinistra {top:var(--mobile-project-top,90px);}
 .mobile-nav-toggle {
  left:calc((100% + var(--mobile-nav-edgeLeft,0px) + var(--mobile-nav-paddingLeft,10px) - var(--mobile-nav-edgeRight,0px) - var(--mobile-nav-paddingRight,10px)) / 2);
 }
 .mobile-nav-toggle::before {border-radius:50%;}
}

/* Start mobile media immediately below the measured navigation box. */
@media(max-width:915px) {
 html body.portfolio-home .container,
 html body.project-page .container,
 html body.project-page .containerintro,
 html body.project-page .container_singleimage {
  top:var(--mobile-content-top,83px) !important;margin-top:0 !important;padding-top:0 !important;
 }
 html body.portfolio-home .thumbnails {margin-top:0 !important;padding-top:0 !important;}
 html body.project-page .project-content-slide {padding:0;width:100%;}
 html body.project-page .project-content-slide figure {margin-left:0;margin-right:0;width:100%;}
 html body.project-page .project-content-slide img,
 html body.project-page .project-content-slide video {display:block;width:100%;max-width:none;height:auto;}
}
/* One joined contact block: equal desktop halves, a continuous mobile stack. */
.contact-page .contact-combined {--contact-scale:1.654411765;}
.contact-page .contact-combined > .captionnew,
.contact-page .contact-combined > .contact-instagram {
 position:relative;top:auto;left:auto;width:100%;max-width:none;
 margin:0;padding:0;box-sizing:border-box;
}
@media(min-width:916px) {
 .contact-page .container {
  position:relative;top:0;left:0;width:100%;height:auto;min-height:100vh;min-height:100dvh;
  margin:0;padding:70px 50px;box-sizing:border-box;
  display:flex;align-items:center;justify-content:center;
 }
 .contact-page .contact-combined {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;align-items:start;
  width:900px;max-width:100%;
 }
 .contact-page .contact-combined > .contact-instagram {
  display:flex;flex-direction:column;
 }
 .contact-page .contact-combined .contact-instagram-link {
  order:1;flex:none;height:calc(70px * var(--contact-scale));min-height:0;
 }
 .contact-page .contact-combined .contact-feed-frame {
  order:0;flex:none;height:auto;min-height:0;aspect-ratio:4/5;
  border-top:1px solid #000;border-bottom:0;
 }
 .contact-page .contact-combined .ug-simple-contact .ug-field,
 .contact-page .contact-combined .ug-simple-contact .ug-button {
  border-right:0;height:calc(70px * var(--contact-scale));
  padding:0 calc(12px * var(--contact-scale));
 }
 .contact-page .contact-combined .ug-simple-contact .ug-textarea {
  height:calc(200px * var(--contact-scale)) !important;
  padding:calc(12px * var(--contact-scale));resize:none;
 }
}
@media(max-width:915px) {
 .contact-page .contact-combined {width:calc(100% - 100px);max-width:800px;margin:0 auto 80px;}
 .contact-page .contact-combined .contact-instagram-link {border-top:0;}
}
