/* roberttorresdp.com — rebuilt from the live Squarespace geometry. */

@font-face {
  font-family: "halyard-display";
  src: url("https://use.typekit.net/af/81b223/00000000000000007761c7e4/31/l?subset_id=2&fvd=n3&v=3") format("woff2"),
       url("https://use.typekit.net/af/81b223/00000000000000007761c7e4/31/d?subset_id=2&fvd=n3&v=3") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: auto;
}

@font-face {
  font-family: "halyard-display";
  src: url("https://use.typekit.net/af/1ce449/00000000000000007761c7e5/31/l?subset_id=2&fvd=i3&v=3") format("woff2"),
       url("https://use.typekit.net/af/1ce449/00000000000000007761c7e5/31/d?subset_id=2&fvd=i3&v=3") format("woff");
  font-style: italic;
  font-weight: 300;
  font-display: auto;
}

:root {
  --ink: #fff;
  --bg: #000;
  --inset: 4vw;
  --header-h: calc(30.78125px + 4.4vw);
  --measure: 46vw;
  --sans: halyard-display, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, h4, h5, h6, p, figure, figcaption, ul, li {
  margin: 0;
  padding: 0;
}
html { background: #000; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 22.4px;
  -webkit-font-smoothing: antialiased;
}

body.theme-white {
  --ink: #000;
  --bg: #fff;
}

a { color: inherit; }
strong, b { font-weight: 700; }
em, i { font-style: italic; }

/* ---------- shared chrome ---------- */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--inset);
  color: var(--ink);
  background: transparent;
}

.site-title {
  color: inherit;
  font-size: calc(16px + 0.6vw);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 22.4px;
  padding: 1.6px 0;
  text-decoration: none;
}

.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.site-nav .social { display: inline-block; margin-left: 19px; line-height: 0; }
.site-nav .social svg { width: 17px; height: 17px; fill: currentColor; }
.site-menu { display: none; }
.menu-overlay { display: none; }

@media (min-width: 768px) {
  html.header-scrolled { --header-h: calc(19.25px + 4.4vw); }
}

main { padding: 0; }
.site-footer { height: 66vh; min-height: 0; background: #000; }
.empty-page main { min-height: 34vh; }

/* ---------- portfolio overlay collections ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1.458333vw;
  row-gap: 10px;
  padding: calc(var(--header-h) + 1vw) var(--inset) 1vw;
}

.tile {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.tile img {
  width: 100%;
  height: calc(18.862847vw - 0.015625px);
  object-fit: cover;
}

.tile figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: calc(16px + 0.6vw);
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tile:hover figcaption,
.tile:focus-visible figcaption { opacity: 1; }

/* ---------- classic blog single-column collection ---------- */

.post-list {
  padding: 4vw var(--inset);
}

.post-list article {
  padding-bottom: 121px;
  text-align: center;
}

.post-list-image {
  position: relative;
  display: block;
  width: 100%;
  height: calc(92vw * 0.5625 + 1.015625px);
  overflow: hidden;
  text-decoration: none;
}

.post-list-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-list-text {
  width: 100%;
  margin-top: 40px;
  text-align: center;
}

.post-list .meta {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 19.2px;
}

.post-list h2 {
  margin-bottom: 30px;
  font-size: calc(16px + 1.8vw);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.post-list h2 a,
.post-list .more { text-decoration: none; }
.post-list p:not(.meta) { margin-bottom: 30px; line-height: 22.4px; }
.post-list .more {
  display: inline-block;
  color: #a8a6a1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- classic blog basic-grid collection ---------- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 50px;
  row-gap: 70px;
  padding: calc(var(--header-h) + 4vw) var(--inset) 4vw;
}

.blog-card-image {
  position: relative;
  display: block;
  width: 100%;
  height: calc((92vw - 50px) / 3 + 1px);
  overflow: visible;
  text-decoration: none;
}

.blog-card-image img {
  position: absolute;
  top: -0.5%;
  left: calc(-0.5% - 0.015625px);
  width: calc(101% + 0.015625px);
  max-width: none;
  height: calc(101% + 0.015625px);
  object-fit: cover;
}

.blog-card-text {
  margin-top: 30px;
  padding-top: 15px;
  padding-bottom: 0.6px;
  text-align: center;
}
.blog-card-text--empty-title { padding-top: 0; }
.blog-card--passthrough .blog-card-text { padding-bottom: 1.6px; }

.blog-card-text h2 {
  margin-bottom: 30px;
  font-size: calc(16px + 0.6vw);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.blog-card-text--empty-title h2 { height: 30px; margin: 0; }

.blog-card-text h2 a,
.blog-card-text .more { text-decoration: none; }
.blog-card-text h2 a[target="_blank"]::after { content: " \2192"; }
.blog-card-text p,
.blog-card-text .more {
  font-size: calc(13px + 0.088333vw);
  line-height: 1.4;
}
.blog-card-text p { margin-bottom: 0; }
.blog-card-text .more {
  display: inline-block;
  padding-top: 15px;
  color: #a8a6a1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- classic blog item ---------- */

.classic-post-section {
  padding: calc(var(--header-h) + 4vw) 0 7vw;
}

.classic-post {
  width: calc(46vw + 0.015625px);
  margin: 0 auto;
}

.classic-post-meta {
  margin-bottom: 32px;
  font-size: 16px;
  line-height: 19.2px;
}

.classic-post-meta a { text-decoration: none; }

.classic-post h1 {
  margin-bottom: 50px;
  font-size: calc(16px + 1.8vw);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.classic-post h1:empty { height: 0.015625px; }

.classic-post-content p {
  margin: 0 0 16px;
  line-height: 22.4px;
}

.classic-post-content p:last-of-type { margin-bottom: 0; }

.classic-post-content > img {
  width: 100%;
  height: auto;
  margin-top: 34px;
}

.classic-author-profile { margin: 3vw 0 0; }
.classic-post-section--media .classic-author-profile { margin-top: 60.203125px; }

.classic-author-profile > a {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 16px;
  text-decoration: none;
}

.classic-author-avatar {
  display: block;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 50%;
}

.classic-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.classic-author-name {
  display: block;
  margin-top: 16px;
  font-size: calc(13px + 0.088333vw);
  line-height: 1.4;
}

/* ---------- classic gallery collections ---------- */

.gallery-section {
  --gallery-gutter: 0;
  --gallery-gutter-mobile: 0;
  width: 100%;
}

.gallery-section--inset,
.gallery-section--full { padding: 4vw; }
.gallery-section--full-bleed { padding: 0; }
main > .gallery-section:first-child { padding-top: var(--header-h); }

.gallery-masonry--desktop {
  display: flex;
  align-items: flex-start;
  gap: var(--gallery-gutter);
}

.gallery-column {
  min-width: 0;
  flex: 1 1 0;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: var(--gallery-gutter);
}
.gallery-masonry--cols-2 .gallery-column {
  flex: 0 0 round(nearest, calc((100% - var(--gallery-gutter)) / 2), 1px);
}
.gallery-masonry--guttered-cols-1 { margin-bottom: 1.25px; }
.gallery-masonry--gutter-30 { margin-bottom: -1px; }
.gallery-masonry--guttered-cols-2 { margin-bottom: 1.75px; }

.gallery-masonry--mobile { display: none; }
.gallery-simple {
  display: grid;
  grid-template-columns: repeat(var(--gallery-columns), minmax(0, 1fr));
  gap: var(--gallery-gutter);
}
.gallery-simple figure {
  position: relative;
  min-width: 0;
  box-sizing: content-box;
  aspect-ratio: var(--gallery-aspect);
  padding-bottom: 1px;
  overflow: hidden;
}
.gallery-simple figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.gallery-section figure,
.gallery-section a,
.gallery-section img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .gallery-masonry--desktop figure {
    height: round(nearest, var(--gallery-item-height), 1px);
  }
  .gallery-masonry--cols-1 figure {
    height: round(
      nearest,
      calc(var(--gallery-item-height) + var(--gallery-overhang-height)),
      1px
    );
    width: round(nearest, 100%, 1px);
  }
  .gallery-masonry--guttered-cols-1 figure {
    height: var(--gallery-item-height);
    transform: translateY(
      calc(
        round(
          nearest,
          calc(var(--gallery-flow-top) + var(--gallery-round-bias)),
          1px
        ) - var(--gallery-flow-top)
      )
    );
  }
  .gallery-masonry--cols-1 img {
    width: calc(100% + 2px);
    max-width: none;
  }
  .gallery-masonry--cols-1.gallery-masonry--no-lightbox img {
    width: calc(100% + 3px);
  }
}

/* ---------- item pagination ---------- */

.item-pagination {
  display: flex;
  justify-content: space-between;
  padding: 3vw var(--inset);
}

.item-pagination a {
  display: flex;
  align-items: center;
  gap: 25px;
  text-decoration: none;
}

.item-pagination .t {
  font-size: calc(16px + 0.6vw);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1;
}

.item-pagination svg {
  width: 18px;
  height: 32px;
  flex: 0 0 18px;
}

.item-pagination svg polyline {
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- fallback/project content ---------- */

.project { padding: calc(var(--header-h) + 4vw) var(--inset) 4vw; }
.project-head { max-width: var(--measure); margin: 0 auto 48px; text-align: center; }
.project-head p { margin-bottom: 24px; line-height: 22.4px; }
.project-head .title { font-weight: 700; }
.project-media { display: grid; row-gap: 10px; }
.project-media img { width: 100%; height: auto; }
.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.measure {
  max-width: 45.63vw;
  margin: 0 auto;
  padding: calc(var(--header-h) + 100px) 0 4vw;
  text-align: center;
}
.measure p { margin-bottom: 16px; line-height: 22.4px; }
.measure p:empty { height: 22.4px; }
.measure--narrow { max-width: 23.01vw; padding-top: calc(var(--header-h) + 90px); }
.measure p.gap { margin-top: 55px; }
.measure a { text-decoration: underline; text-underline-offset: 2px; }
.empty { min-height: 42vh; }

/* ---------- fluid engine ---------- */

.fe {
  --fe-pad: 6.6vmax;
  --fe-pad-top: var(--fe-pad);
  --fe-pad-bottom: var(--fe-pad);
  --fe-gutter: 4vw;
  --fe-gap: 11px;
  --fe-mobile-gap: 11px;
  --fe-cell-max: calc((1500px - var(--fe-gap) * 23) / 24);
  --fe-container: min(1500px, calc(100vw - var(--fe-gutter) * 2));
  --fe-row: calc(var(--fe-container) * 0.0215);
  display: grid;
  grid-template-columns:
    minmax(calc(var(--fe-gutter) - var(--fe-gap)), 1fr)
    repeat(24, minmax(0, var(--fe-cell-max)))
    minmax(calc(var(--fe-gutter) - var(--fe-gap)), 1fr);
  grid-template-rows: repeat(var(--fe-rows, 1), minmax(var(--fe-row), auto));
  grid-auto-rows: minmax(var(--fe-row), auto);
  column-gap: var(--fe-gap);
  row-gap: var(--fe-gap);
  align-content: start;
  padding: var(--fe-pad-top) 0 var(--fe-pad-bottom);
  background-image:
    linear-gradient(var(--fe-bg-overlay, transparent), var(--fe-bg-overlay, transparent)),
    var(--fe-bg, none);
  background-position: var(--fe-bg-position, 50% 50%);
  background-size: cover;
  background-repeat: no-repeat;
}

.fe--valign-middle { align-content: center; }
.fe--theme-black { color: #fff; }
.fe--nogap { --fe-gap: 0px; }
.fe--inset {
  width: calc(100% - var(--fe-gutter) * 2);
  margin: var(--fe-gutter);
  --fe-container: min(1500px, calc(100vw - var(--fe-gutter) * 4));
}

.fe-b {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: var(--fe-v, flex-start);
}

.fe-b p { margin: 0 0 16px; line-height: 22.4px; }
.fe-b p:last-child { margin-bottom: 0; }
.fe-b h2,
.fe-b h3,
.fe-b h4 {
  font-size: calc(16px + 0.84vw);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.215;
}
.fe-b .sqsrte-large {
  font-size: calc(16px + 0.12vw);
  line-height: 1.4;
}
.fe-b .c { text-align: center; }
.fe-b .r { text-align: right; }
.fe-b strong { font-weight: 700; }
.fe-b > img,
.fe-b > a:not(.fe-image) img { width: 100%; height: auto; }
.fe-b .embed { width: 100%; }

.fe-image {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fe-image > .fe-image { position: static; width: 100%; height: 100%; }
.fe-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: var(--fe-image-fit, contain);
  object-position: var(--fe-image-pos, 50% 50%);
}
.fe-b--image-contain .fe-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}

.fe-b--summary {
  gap: calc(var(--fe-list-gap-design, 30) * 0.03935vw);
  align-items: flex-end;
  padding-bottom: 34px;
}
.fe-b--summary > a {
  position: relative;
  display: block;
  flex: 0 0 auto;
  box-sizing: content-box;
  width: calc(var(--fe-list-image-size, 50%) - 20px);
  padding-left: 20px;
  aspect-ratio: var(--fe-list-aspect, 1.5);
  overflow: hidden;
}
.fe-b.fe-b--summary > a img {
  position: absolute;
  top: 50%;
  left: 20px;
  display: block;
  width: round(nearest, calc(100% - 20px), 1px);
  max-width: none;
  height: auto;
  transform: translateY(-50%);
}

.vertical-line {
  width: 1px;
  height: 100%;
  min-height: 100%;
  align-self: center;
  background: currentColor;
}
.fe-social { align-self: center; line-height: 0; }
.fe-social svg { width: 20px; height: 20px; fill: currentColor; }
.fe-button {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border: 1px solid currentColor;
  text-decoration: none;
}

.fe--h-small { --fe-pad: 3.3vmax; min-height: 33vh; }
.fe--h-medium { --fe-pad: 6.6vmax; min-height: 66vh; }
.fe--h-large { --fe-pad: 9.9vmax; min-height: 99vh; }
.fe--h-auto {
  --fe-pad: 4vw;
  --fe-pad-bottom: 0px;
  min-height: 0;
}
.fe--h-custom {
  --fe-pad-top: var(--fe-custom-pad-top, 0px);
  --fe-pad-bottom: var(--fe-custom-pad-bottom, 0px);
}

.page-about .fe {
  min-height: 100vh;
  --fe-pad-top: calc(var(--header-h) + 4vw);
  --fe-pad-bottom: 0px;
}

main > .fe:first-child {
  --fe-pad-top: calc(var(--header-h) + var(--fe-pad));
}
main > .fe--h-custom:first-child {
  --fe-pad-top: calc(var(--header-h) + var(--fe-custom-pad-top, 0px));
}

.page-about main > .fe:first-child {
  --fe-pad-top: calc(var(--header-h) + 4vw);
  --fe-pad-bottom: 0px;
}

/* ---------- mobile ---------- */

@media (max-width: 767px) {
  :root {
    --inset: 6vw;
    --header-h: calc(36.984375px + 12vw);
    --measure: 88vw;
  }
  html.header-scrolled { --header-h: calc(23.953125px + 12vw); }

  html,
  body {
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  html.menu-open,
  html.menu-open body {
    overflow: hidden;
    background-color: #fff;
  }

  .site-header {
    height: var(--header-h);
    padding: 6vw;
    flex-flow: row nowrap;
    align-items: center;
    gap: 0;
  }
  .site-title { font-size: 16px; line-height: 1.2; }
  .site-title {
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .site-nav { display: none; }
  .site-menu {
    display: block;
    position: relative;
    width: 47px;
    height: 37px;
    margin: 0 0 0 auto;
    padding: 1px 6px;
    border: 0;
    background: transparent;
    color: var(--ink);
    appearance: none;
  }
  .burger-box { position: relative; display: block; width: 35px; height: 35px; }
  .burger-line {
    position: absolute;
    top: 16px;
    left: 3.5px;
    width: 28px;
    height: 3px;
    background: currentColor;
    transform-origin: 50% 50%;
    transition:
      transform 0.25s cubic-bezier(0.2, 0.6, 0.3, 1),
      width 0.25s cubic-bezier(0.2, 0.6, 0.3, 1),
      background-color 0.25s cubic-bezier(0.2, 0.6, 0.3, 1);
  }
  .burger-line--top { transform: translateY(-0.5px) rotate(180deg); }
  .burger-line--middle {
    left: 0;
    width: 35px;
    transform: scale(0);
  }
  .burger-line--bottom { transform: rotate(90deg); }

  .menu-overlay {
    position: fixed;
    z-index: 90;
    inset: 0;
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    color: #000;
    background: #fff;
    transition:
      visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .menu-overlay-nav {
    position: absolute;
    top: var(--header-h);
    right: 0;
    bottom: calc(55px + 6vw);
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    transform: translateY(20px);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .menu-overlay-nav a {
    display: flex;
    height: 56.53125px;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 8.5vw;
    font-weight: 300;
    letter-spacing: 0.96px;
    line-height: 1;
    text-decoration: none;
  }
  .menu-overlay-actions {
    position: absolute;
    right: 20px;
    bottom: 6vw;
    left: 20px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(55px);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .menu-overlay-actions a {
    display: block;
    width: 25px;
    height: 25px;
    color: #000;
    line-height: 0;
  }
  .menu-overlay-actions svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
  }
  html.menu-open .menu-overlay {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  html.menu-open .menu-overlay-nav,
  html.menu-open .menu-overlay-actions {
    transform: translateY(0);
  }
  html.menu-open .site-header { color: #000; }
  html.menu-open .site-menu { color: #000; }
  html.menu-open .burger-line--top { transform: rotate(225deg); }
  html.menu-open .burger-line--bottom { transform: rotate(135deg); }

  .grid {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 10px;
    padding: calc(var(--header-h) + 1vw) var(--inset) 1vw;
  }
  .tile img { height: auto; aspect-ratio: 12 / 5; }

  .blog-grid {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    padding: calc(var(--header-h) + 6vw) var(--inset) 6vw;
  }
  .blog-card-image { height: calc(88vw * 2 / 3 + 1px); }

  .post-list { padding: 6vw; }
  .post-list-image { height: calc(88vw * 0.5625 + 1px); }
  .post-list article { padding-bottom: 80px; }
  .post-list h2 { font-size: calc(16px + 3.6vw); }

  .classic-post-section {
    padding: calc(var(--header-h) + 6vw) 0 12vw;
  }
  .classic-post { width: 88vw; }
  .classic-post h1 { font-size: calc(16px + 3.6vw); }
  .classic-author-profile { margin: 6vw 0; }

  .gallery-masonry--desktop { display: none; }
  .gallery-masonry--mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    container-type: inline-size;
  }
  .gallery-masonry--mobile figure {
    width: round(nearest, 100%, 1px);
    height: round(nearest, var(--gallery-item-height), 1px);
    flex: 0 0 auto;
    margin-top: var(--gallery-mobile-gap-before, 0);
    overflow: hidden;
  }
  .gallery-masonry--mobile a,
  .gallery-masonry--mobile img {
    width: 100%;
    height: 100%;
  }
  .gallery-masonry--mobile img {
    max-width: none;
    object-fit: cover;
  }
  .gallery-masonry--mobile.gallery-masonry--no-lightbox figure {
    width: round(nearest, 100%, 1px);
    height: var(--gallery-mobile-cdn-height);
  }
  .gallery-masonry--mobile.gallery-masonry--no-lightbox img {
    width: calc(100% + 3px);
    height: auto;
  }
  .gallery-simple {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--gallery-gutter-mobile);
  }
  .gallery-section--inset,
  .gallery-section--full { padding: 6vw; }

  .item-pagination { padding: 3vw 6vw; }
  .item-pagination > a,
  .item-pagination > span {
    flex: 0 0 50%;
    width: 50%;
    min-width: 0;
  }
  .item-pagination > a:first-child {
    justify-content: flex-start;
    text-align: left;
  }
  .item-pagination > a:last-child {
    justify-content: flex-end;
    text-align: right;
  }
  .item-pagination .t {
    display: block;
    min-width: 0;
    white-space: normal;
    font-size: calc(16px + 1.3vw);
  }

  .measure,
  .measure--narrow {
    max-width: 88vw;
    padding-top: calc(var(--header-h) + 6vw);
  }

  .fe {
    --fe-mobile-gutter: 6vw;
    --fe-mobile-cell-max: calc((1500px - var(--fe-mobile-gap) * 7) / 8);
    grid-template-columns:
      minmax(calc(var(--fe-mobile-gutter) - var(--fe-mobile-gap)), 1fr)
      repeat(8, minmax(0, var(--fe-mobile-cell-max)))
      minmax(calc(var(--fe-mobile-gutter) - var(--fe-mobile-gap)), 1fr);
    grid-template-rows: repeat(var(--fe-mobile-rows, 1), minmax(24px, auto));
    grid-auto-rows: minmax(24px, auto);
    column-gap: var(--fe-mobile-gap);
    row-gap: var(--fe-mobile-gap);
  }
  .fe--inset {
    width: calc(100% - var(--fe-mobile-gutter) * 2);
    margin: var(--fe-mobile-gutter);
    --fe-container: calc(100vw - var(--fe-mobile-gutter) * 4);
  }
  .fe-b {
    grid-area: var(--fe-mobile-area) !important;
    justify-content: var(--fe-v-mobile, var(--fe-v, flex-start));
    margin: 0;
    padding: 0;
  }
  .fe-b h2,
  .fe-b h3,
  .fe-b h4 { font-size: calc(16px + 1.68vw); }
  .fe-b .sqsrte-large { font-size: calc(16px + 0.24vw); }

  .fe--h-custom {
    --fe-pad-top: var(--fe-custom-pad-top-mobile, 0px);
    --fe-pad-bottom: var(--fe-custom-pad-bottom-mobile, 0px);
  }
  main > .fe--h-custom:first-child {
    --fe-pad-top: calc(var(--header-h) + var(--fe-custom-pad-top-mobile, 0px));
  }
  .fe--h-auto {
    min-height: 0;
    grid-template-rows:
      repeat(6, minmax(25px, auto))
      repeat(var(--fe-mobile-rows-tail, 0), minmax(24px, auto));
  }
}
