/* Homepage portrait fades into the navigation and the next section. */
/* This header scrolls with the page, so section links need no sticky-header offset. */
html.photo-page { scroll-padding-top: 0; }
.photo-home .site-header {
  position: relative;
  z-index: 3;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(246,243,237,.65), rgba(246,243,237,.18) 65%, rgba(246,243,237,0));
}
.photo-home .site-header.is-scrolled { box-shadow: none; }
.hero.photo-hero {
  max-width: none;
  min-height: 836px;
  margin-top: -84px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 168px 7% 110px;
  background: var(--paper);
}
.photo-hero .photo-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, #000 20%, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.3) 0%, #000 20%, #000 70%, transparent 100%);
}
.photo-hero .photo-backdrop img {
  position: absolute;
  right: 0;
  top: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%);
  mask-image: linear-gradient(90deg, transparent, #000 20%);
}
.photo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 22%, rgba(246,243,237,.96) 34%, rgba(246,243,237,.72) 45%, rgba(246,243,237,.12) 66%, transparent 80%);
}
.photo-hero::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px;
  height: 150px;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 72%);
  mask-image: linear-gradient(to bottom, transparent, #000 72%);
  background: linear-gradient(to bottom, transparent, var(--paper));
}
.photo-hero .hero-content {
  width: min(750px, 64%);
  padding: 0;
  align-items: flex-start;
}
.photo-hero .eyebrow { font-size: 9px; letter-spacing: 2px; }
.photo-hero h1 {
  font-size: clamp(62px, 7.2vw, 108px);
  line-height: .99;
  letter-spacing: -3.6px;
  white-space: normal;
  margin: 29px 0 0;
}
.photo-hero h1 em { color: var(--accent); }
.photo-hero .hero-description { font-size: 14px; line-height: 1.9; margin-top: 26px; }
.photo-hero .hero-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 26px;
  margin-top: 32px;
}
.photo-hero .hero-actions > .button { min-height: 48px; padding: 14px 23px; font-size: 12px; gap: 25px; }
.photo-hero .hero-actions > .text-link { font-size: 12px; gap: 16px; }
.photo-hero .hero-note { display: block; padding: 0; margin-top: 26px; }
.photo-hero .hero-note p { font-size: 10px; letter-spacing: .6px; }
.photo-home .services-section { padding-top: 55px; }
.service-specialties { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 48px; margin-top: 45px; }
.service-specialties p { border-bottom: 1px solid var(--line); padding: 20px 0; font-family: var(--serif); font-size: clamp(23px,2.3vw,34px); line-height: 1.2; letter-spacing: -.5px; }
@media (min-width: 1700px) {
  .hero.photo-hero { min-height: 900px; }
  .photo-hero .photo-backdrop img { object-position: 50% 0%; }
}
@media (max-width: 1000px) and (min-width: 581px) {
  .hero.photo-hero { min-height: 750px; padding: 150px 5% 95px; }
  .photo-hero .hero-content { width: 73%; }
  .photo-hero h1 { font-size: clamp(57px, 7.2vw, 72px); letter-spacing: -2px; }
  .photo-hero .photo-backdrop img { width: 70%; object-position: 56% 0%; }
  .photo-hero::before { background: linear-gradient(90deg, var(--paper) 0%, rgba(246,243,237,.97) 27%, rgba(246,243,237,.85) 43%, rgba(246,243,237,.15) 75%, transparent); }
}
@media (max-width: 580px) {
  .hero.photo-hero { min-height: 0; display: block; margin-top: -66px; padding: 375px 6% 42px; text-align: center; }
  .photo-hero .photo-backdrop { height: 625px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, #000 24%, #000 42%, transparent 94%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, #000 24%, #000 42%, transparent 94%); }
  .photo-hero .photo-backdrop img { top: 36px; width: 100%; height: calc(100% - 36px); object-position: center 0%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 32px); mask-image: linear-gradient(to bottom, transparent, #000 32px); }
  .photo-hero::before { height: 625px; background: linear-gradient(to bottom, transparent 24%, rgba(246,243,237,.12) 43%, rgba(246,243,237,.9) 72%, var(--paper) 97%); }
  .photo-hero::after { height: 100px; top: 500px; bottom: auto; }
  .photo-hero .hero-content { width: 100%; align-items: center; padding: 0; }
  .photo-hero .eyebrow { justify-content: center; font-size: 7px; letter-spacing: 1.5px; }
  .photo-hero h1 { font-size: clamp(47px, 13.5vw, 72px); line-height: .99; letter-spacing: -1.8px; margin: 17px 0 0; }
  .photo-hero .hero-description { font-size: 11px; line-height: 1.8; margin-top: 21px; max-width: 290px; }
  .photo-hero .hero-actions { margin-top: 23px; gap: 17px; justify-content: center; flex-direction: column; }
  .photo-hero .hero-actions > .button { font-size: 11px; padding: 13px 21px; }
  .photo-hero .hero-actions > .text-link { font-size: 10px; }
  .photo-hero .hero-note { margin-top: 20px; }
  .photo-hero .hero-note p { font-size: 8px; }
  .photo-home .services-section { padding-top: 32px; }
  .service-specialties { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .service-specialties p { font-size: 25px; padding: 18px 0; }
}
@media (max-width: 900px) and (min-width: 581px) { .hero.photo-hero { margin-top: -84px; } }
@media (prefers-reduced-motion: no-preference) {
  .photo-hero .photo-backdrop { animation: backdrop-arrive 1.2s ease both; }
  @keyframes backdrop-arrive { from { opacity: 0; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
}
