.section {
  padding: 60px 0;
}

.content-wrapper {
  min-height: 55vh;
}

.hero-visual {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  background-color: #1a1a24;
  background-size: cover;
  background-position: 22% 42%;
  color: #fff;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 48px;
}

.hero-content h1 {
  font-size: 52px;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.hero-lead {
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0;
  opacity: 0.92;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.tempus-intro h2 {
  margin-bottom: 18px;
}

.tempus-cta-box {
  background: #f8f8f8;
  border: 1px solid #e9e9e9;
  padding: 24px;
}

.sample-masonry-grid {
  margin-top: 24px;
}

.sample-grid-item {
  width: 100%;
  margin-bottom: clamp(10px, 1.2vw, 20px);
  opacity: 1;
}

.sample-grid-item img {
  display: block;
  width: 100%;
  height: auto;
}

.portfolio-header-block {
  display: flow-root;
  position: relative;
  z-index: 3;
  background: #fff;
}

.portfolio-shell {
  transition: all 0.2s ease;
  clear: both;
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

.portfolio-fluid.container {
  width: min(96vw, 1840px);
  max-width: min(96vw, 1840px);
  padding-left: clamp(8px, 1.2vw, 22px);
  padding-right: clamp(8px, 1.2vw, 22px);
}

.portfolio-shell.is-full-width {
  width: 99vw;
  max-width: 99vw;
}

.sample-masonry-grid.masonry-cols-1 .sample-grid-item {
  width: 100%;
}

.sample-masonry-grid.masonry-cols-2 .sample-grid-item {
  width: calc(50% - clamp(6px, 0.8vw, 12px));
}

.sample-masonry-grid.masonry-cols-3 .sample-grid-item {
  width: calc(33.333% - clamp(7px, 0.9vw, 14px));
}

.sample-masonry-grid.masonry-cols-5 .sample-grid-item {
  width: calc(20% - clamp(8px, 1vw, 15px));
}

.portfolio-gallery-item a.no-caption::after {
  content: none;
  display: none;
}

.tempus-intro .container::after {
  content: "";
  display: table;
  clear: both;
}

.home-work {
  padding-top: 28px;
}

.portfolio-preview-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}

.home-work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

a.preview-card {
  position: relative;
  display: block;
  width: 100%;
  height: 280px;
  min-height: 280px;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
}

.home-work-grid a.preview-card {
  height: 58vh;
  min-height: 340px;
}

.preview-card span {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.series-index-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.series-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: #1a1a1a;
}

.series-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.series-card-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 18px 16px 14px;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08));
}

.series-card-label small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.9;
}

.series-date {
  margin-bottom: 12px;
  color: #666;
}

.lang-switcher {
  opacity: 0.85;
}

.nav_container #site-navigation {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav_container #site-navigation .three.columns,
.nav_container #site-navigation .thirteen.columns {
  float: none;
  margin-left: 0;
  margin-right: 0;
}

.nav_container #site-navigation .three.columns {
  width: auto;
  flex: 0 1 auto;
}

#logo {
  padding: 0;
}

#logo a {
  display: flex;
  align-items: center;
  line-height: 0;
}

#site-navigation #logo img.site-logo {
  display: block;
  height: clamp(40px, 5.2vw, 80px);
  width: auto;
  max-width: none;
  max-height: 80px;
}

@media (min-width: 1400px) {
  #site-navigation #logo img.site-logo {
    height: clamp(80px, 6.5vw, 120px);
    max-height: 120px;
  }
}

.nav_container #site-navigation .thirteen.columns {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.site-social {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  margin: 0;
}

.site-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  color: #272b2f;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.site-social-link i {
  font-size: 15px;
}

.site-social-link:hover,
.site-social-link:focus-visible {
  color: #33b996;
}

.btn-primary {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  background: #111;
  color: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #2b6df6;
  outline-offset: 2px;
}

@media (max-width: 959px) {
  .nav_container.container {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  #site-navigation {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
  }

  #site-navigation .three.columns,
  #site-navigation .thirteen.columns {
    float: none;
    margin: 0;
  }

  #site-navigation .three.columns {
    width: auto;
    flex: 1 1 auto;
  }

  #site-navigation #logo img.site-logo {
    height: clamp(36px, 10vw, 48px);
    max-height: 48px;
  }

  .menu-dropdown {
    display: block;
    order: 3;
    flex: 0 0 auto;
    position: relative;
    top: auto;
    right: auto;
    transform: none;
  }

  .site-social {
    order: 2;
  }

  #site-navigation .thirteen.columns {
    order: 4;
    flex: 1 1 100%;
    width: 100%;
  }

  #navigation {
    display: block;
    width: 100%;
    text-align: right;
  }

  #navigation .nav-menu {
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    box-sizing: border-box;
  }

  #navigation .nav-menu.toggled-on {
    opacity: 1;
    visibility: visible;
    display: block;
  }

  #navigation .nav-menu.toggled-on a {
    color: #272b2f;
  }
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(22rem, 1.2fr) minmax(0, 1fr);
  grid-template-areas:
    "portrait copy"
    "portrait meta";
  gap: 28px 56px;
  align-items: start;
}

.about-portrait {
  grid-area: portrait;
  margin: 0;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(92vh, 1100px);
  object-fit: contain;
  object-position: center top;
}

.about-copy {
  grid-area: copy;
  max-width: 42rem;
  font-size: 17px;
  line-height: 1.7;
}

.about-bio {
  font-size: 18px;
}

.about-copy h2,
.about-meta h2 {
  margin: 0 0 12px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy h2:not(:first-child),
.about-meta h2:not(:first-child) {
  margin-top: 32px;
}

.about-meta {
  grid-area: meta;
}

.about-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.about-list li {
  margin: 0 0 10px;
  line-height: 1.5;
}

.about-meta p {
  margin: 0 0 8px;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
    grid-template-areas:
      "portrait"
      "copy"
      "meta";
  }

  .about-portrait img {
    max-height: none;
  }

  .about-meta h2:not(:first-child) {
    margin-top: 32px;
  }

  .home-work-grid a.preview-card {
    height: 46vh;
    min-height: 260px;
  }

  .portfolio-preview-grid,
  .series-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sample-masonry-grid.masonry-cols-2 .sample-grid-item,
  .sample-masonry-grid.masonry-cols-3 .sample-grid-item,
  .sample-masonry-grid.masonry-cols-5 .sample-grid-item {
    width: calc(50% - 8px);
  }

  .portfolio-fluid.container {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .portfolio-preview-grid,
  .home-work-grid,
  .series-index-grid {
    grid-template-columns: 1fr;
  }

  .sample-grid-item {
    width: 100%;
  }

  .site-social-link span {
    display: none;
  }

  .site-social-link {
    padding: 8px;
  }
}
