@font-face {
  font-family: "Droid Serif";
  src: url("./public/fonts/DroidSerif-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Paragraph";
  src: url("./public/fonts/CormorantGaramond-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Paragraph";
  src: url("./public/fonts/CormorantGaramond-Italic-Variable.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: #171717;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #171717;
  --muted: #626262;
  --line: #d6d6d6;
  --soft: #f5f5f3;
  --content: 1200px;
}

* { box-sizing: border-box; }
body { margin: 0; font-size: 18px; line-height: 1.55; }
a { color: inherit; text-underline-offset: .22em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid #171717; outline-offset: 4px; }

.site-header { position: relative; max-width: 1680px; min-height: 150px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: minmax(140px, 1fr) 210px minmax(140px, 1fr); align-items: center; }
.header-rule { position: absolute; top: 55%; height: 1px; background: var(--ink); }
.site-header > .header-rule:first-of-type { left: 48px; right: calc(50% + 117px); }
.site-header > .header-rule:last-of-type { left: calc(50% + 117px); right: 48px; }
.brand { grid-column: 2; justify-self: center; position: relative; z-index: 1; display: block; width: 210px; line-height: 0; }
.brand img { display: block; width: 100%; height: auto; }
.desktop-nav, .mobile-menu, .footer-nav { font-family: "Cormorant Paragraph", Georgia, serif; font-weight: 300; }
.desktop-nav { position: absolute; top: 28%; right: 48px; z-index: 2; display: flex; align-items: center; gap: 17px; padding: 0 10px; background: #fff; white-space: nowrap; font-size: 17px; }
.desktop-nav a { position: relative; text-decoration: none; padding: 4px 0; border-bottom: 1px solid transparent; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; }
@media (hover: hover) {
  .desktop-nav a:hover::after { transform: scaleX(1); }
}
.nav-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1px;
  height: 1px;
  background: var(--ink);
  transform: translateX(var(--underline-offset, 0px)) scaleX(var(--underline-width, 0));
  transform-origin: left;
}
.home-nav-item { position: relative; display: flex; align-items: center; }
.home-menu > summary { display: grid; place-items: center; width: 24px; height: 34px; list-style: none; cursor: pointer; }
.home-menu > summary::-webkit-details-marker { display: none; }
.home-menu > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.home-menu > summary::before { content: ""; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); }
.home-menu[open] > summary::before { transform: translateY(2px) rotate(225deg); }
.home-submenu, .services-submenu { list-style: none; margin: 0; }
.desktop-nav :is(.home-submenu, .services-submenu) { position: absolute; top: 100%; left: 0; min-width: 138px; padding: 4px; background: white; border: 1px solid var(--line); box-shadow: 0 8px 24px #00000012; }
.desktop-nav :is(.home-submenu, .services-submenu) a { display: block; padding: 7px 12px; border: 0; }
.desktop-nav :is(.home-submenu, .services-submenu) a::after { display: none; }
.desktop-nav :is(.home-submenu, .services-submenu) a:is(:hover, :focus-visible, [aria-current]) { background: var(--soft); }
.services-menu { position: relative; }
.services-menu > summary { display: flex; align-items: center; gap: 8px; padding: 4px 0 5px; list-style: none; cursor: pointer; }
.services-menu > summary::-webkit-details-marker { display: none; }
.services-menu > summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.services-menu > summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); }
.services-menu[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.desktop-nav .services-submenu { right: 0; left: auto; width: max-content; max-width: 300px; white-space: normal; }
.mobile-menu { display: none; }
.page-stage { position: relative; isolation: isolate; overflow-x: clip; }
.site-main { min-height: 55vh; }
.wrap { width: min(var(--content), calc(100% - 64px)); margin: 0 auto; }
h1, h2, h3, p { margin-top: 0; }
p, .service-action { font-family: "Cormorant Paragraph", Georgia, serif; font-weight: 300; }
h1, h2 { font-weight: 400; line-height: 1.08; }
h1 { font-size: clamp(42px, 6vw, 72px); font-style: italic; }
h2 { font-size: clamp(34px, 4vw, 52px); font-style: italic; }
h3 { font-size: 27px; font-weight: 500; line-height: 1.15; }
.page-heading { text-align: center; padding: 70px 0 44px; }
.primary-page-title { font-family: "Cormorant Paragraph", Georgia, serif; font-weight: 400; font-style: italic; }
.page-heading p:last-child { color: var(--muted); max-width: 650px; margin: 0 auto; }
.text-link { display: inline-block; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.button-link, .submit-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 9px 22px; border: 1px solid var(--ink); background: var(--ink); color: white; text-decoration: none; cursor: pointer; }
.button-link:hover, .submit-button:hover { background: white; color: var(--ink); }
.button-link.secondary { background: white; color: var(--ink); }

.hero { text-align: center; }
.hero-image-frame { overflow: hidden; }
.image-placeholder { background: linear-gradient(135deg, #d9d6d0, #aaa69d 48%, #e7e5e0); color: #353330; display: grid; place-items: center; text-align: center; padding: 25px; min-height: 250px; }
.image-slot-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-placeholder span { max-width: 250px; padding: 10px 14px; background: rgba(255,255,255,.82); border: 1px dashed rgba(0,0,0,.45); font-size: 16px; }
.hero-placeholder { width: 100%; min-height: 250px; }
.hero-placeholder.image-filled { padding: 0; background: none; }
.hero-placeholder .image-slot-image { height: auto; max-height: 60vh; max-height: 60svh; }
.hero-content { width: min(1100px, calc(100% - 36px)); margin: 0 auto; padding: 55px 0; }
.hero h1 { margin-bottom: 15px; font-family: "Cormorant Paragraph", Georgia, serif; font-size: 24px; font-style: normal; font-weight: 700; line-height: 1.5; }
.hero p { max-width: 1000px; margin: 0 auto; font-size: 22px; }
.section { padding: 68px 0; }
.section-heading { margin-bottom: 30px; text-align: center; }
.section-heading h2 { margin-bottom: 8px; }
.section-heading p { color: var(--muted); margin-bottom: 0; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); column-gap: 34px; row-gap: 42px; }
.project-card { min-width: 0; }
.project-cover { aspect-ratio: 3 / 2; width: 100%; min-height: 0; padding: 0; }
.project-title { margin: 12px 0 0; font-size: 25px; line-height: 1.2; font-weight: 500; }
.project-link { display: block; text-decoration: none; }
.project-link:hover .project-title { text-decoration: underline; text-underline-offset: 4px; }
.coming-soon { display: inline-block; margin-top: 8px; border: 1px solid #777; padding: 2px 9px; font-size: 15px; line-height: 1.5; }
.project-grid-empty { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 20px; text-align: center; color: var(--muted); }
.contact-invitation { background: var(--soft); text-align: center; padding: 58px 24px; }
.contact-invitation h2 { margin-bottom: 22px; }
.contact-invitation h2, .contact-invitation .button-link, .work-link { font-family: "Cormorant Paragraph", Georgia, serif; font-style: normal; font-weight: 300; }

.split-layout { display: grid; grid-template-columns: minmax(0, 36fr) minmax(0, 64fr); gap: clamp(16px, 1.6vw, 24px); align-items: center; padding: clamp(42px, 5vw, 70px) 0 88px; }
#about { border-top: 1px solid var(--line); }
.portrait-placeholder { aspect-ratio: 5 / 6; min-height: 0; }
.portrait-placeholder > .image-placeholder, .contact-photo > .image-placeholder { height: 100%; min-height: inherit; }
.portrait-placeholder > .image-filled { padding: 0; background: none; overflow: hidden; }
.portrait-placeholder .image-slot-image { object-position: 12% center; transform: scale(1.2); transform-origin: left 10%; }
.contact-photo > .image-filled { padding: 0; background: none; }
.prose { max-width: 650px; }
.prose p { margin-bottom: 18px; }
.about-introduction { max-width: 760px; }
.about-introduction h2 { font-family: "Droid Serif", Georgia, serif; font-size: clamp(42px, 5vw, 60px); font-weight: 400; font-style: italic; margin-bottom: 18px; }
.about-introduction p:last-child { margin-bottom: 0; }
.prose .placeholder-note { padding: 16px 18px; border-left: 2px solid var(--line); color: var(--muted); background: var(--soft); }
.testimonials { max-width: 1120px; margin-bottom: clamp(48px, 6vw, 80px); }
.testimonials h2 { font-family: "Cormorant Paragraph", Georgia, serif; font-weight: 400; font-style: italic; }
.home-work { max-width: 940px; margin-bottom: clamp(48px, 6vw, 80px); text-align: center; }
[data-home-work] { position: relative; }
.work-track { display: flex; height: clamp(230px, 52vw, 485px); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.work-track::-webkit-scrollbar { display: none; }
.work-track:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.work-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.work-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.work-arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 48px; height: 52px; padding: 0; border: 0; background: transparent; color: white; cursor: pointer; }
.work-arrow:focus-visible { outline-color: white; box-shadow: 0 0 0 3px #000b; }
.work-arrow::before { content: ""; width: 15px; height: 15px; border-top: 1.5px solid; border-right: 1.5px solid; filter: drop-shadow(0 1px 1px #000) drop-shadow(0 1px 2px #000b); }
.work-previous { left: clamp(3px, 1.6vw, 18px); }
.work-next { right: clamp(3px, 1.6vw, 18px); }
.work-previous::before { transform: translateX(2px) rotate(-135deg); }
.work-next::before { transform: translateX(-2px) rotate(45deg); }
.work-link { margin-top: 22px; }
[data-home-work]:empty + .work-link { margin-top: 0; }
.testimonial-carousel { text-align: center; }
.testimonial-frame {
  --testimonial-gutter: clamp(52px, 9vw, 112px);
  position: relative;
  margin-inline: var(--testimonial-gutter);
  border: 1px solid var(--line);
}
.testimonial-slide {
  display: grid;
  align-items: center;
  min-height: 230px;
  padding: 32px clamp(24px, 6vw, 78px) 16px;
}
.testimonial-slide > .testimonial { grid-area: 1 / 1; min-width: 0; }
.testimonial-slide > [aria-hidden="true"] { opacity: 0; visibility: hidden; pointer-events: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.testimonial, .testimonial blockquote, .testimonial p { margin: 0; overflow-wrap: anywhere; }
.testimonial blockquote p { text-align: left; white-space: pre-line; }
.testimonial .testimonial-name { margin-top: 20px; color: var(--muted); font-size: 16px; }
.testimonial-placeholder { color: var(--muted); }
.testimonial-nav { margin: 0 12px 8px; }
.testimonial-markers { display: flex; flex-wrap: wrap; justify-content: center; }
.testimonial-arrow, .testimonial-marker {
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.testimonial-arrow, .testimonial-marker { display: grid; place-items: center; padding: 0; }
.testimonial-arrow { position: absolute; top: 50%; width: 44px; height: 44px; }
.testimonial-previous { left: calc(var(--testimonial-gutter) / -2); transform: translate(-50%, -50%); }
.testimonial-next { right: calc(var(--testimonial-gutter) / -2); transform: translate(50%, -50%); }
.testimonial-arrow::before {
  content: "";
  width: 15px;
  height: 15px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateX(-3px) rotate(45deg);
}
.testimonial-previous::before { transform: translateX(3px) rotate(-135deg); }
.testimonial-arrow:hover { background: var(--soft); }
.testimonial-marker { width: 30px; height: 36px; }
.testimonial-marker::before { content: ""; width: 6px; height: 6px; box-sizing: border-box; border: 1px solid var(--muted); }
.testimonial-marker[aria-current="true"]::before, .testimonial-marker:hover::before { border-color: var(--ink); background: var(--ink); }
@media (max-width: 640px) {
  .testimonial-frame { margin-inline: 0; }
  .testimonial-slide { min-height: 175px; padding: 24px 20px 12px; }
  .testimonial-nav { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; }
  .testimonial-arrow { position: static; transform: none; }
}
.service-index, .service-details { max-width: 650px; margin: 0 auto 72px; padding-top: 30px; border-top: 1px solid var(--line); }
.service-index ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; text-align: center; font-family: "Cormorant Paragraph", Georgia, serif; }
.service-index a { display: inline-block; padding: 8px 0; }
.service-action { margin-top: 18px; }
.service-includes-introduction { font-weight: 700; text-decoration: underline; }
.service-details ul { margin: 0 0 1em; padding-left: 1.2em; font-family: "Cormorant Paragraph", Georgia, serif; font-weight: 300; }
.service-details li { margin-bottom: .35em; padding-left: .15em; }
.project-detail { max-width: 1000px; padding-bottom: 72px; }
.project-description { max-width: 760px; margin: 0 auto 38px; text-align: center; font-size: 20px; white-space: pre-line; }
.gallery-back { margin-bottom: 20px; }
.portfolio-gallery { width: min(1440px, calc(100% - clamp(32px, 6.5vw, 96px))); margin: 0 auto; padding-bottom: clamp(56px, 7vw, 96px); }
.gallery { display: grid; gap: 8px; }
.gallery-row { display: flex; align-items: flex-start; justify-content: center; gap: 8px; }
.gallery-photo {
  --photo-ratio: 1.333333;
  position: relative;
  flex: var(--photo-ratio) 1 0;
  min-width: 0;
  aspect-ratio: var(--photo-ratio);
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: none;
}
.gallery-photo:only-child { max-width: calc(700px * var(--photo-ratio)); }
.gallery-photo .image-placeholder { position: absolute; inset: 0; padding: 0; min-height: 0; }
.gallery-photo .image-filled { padding: 0; background: none; }
.gallery-photo .image-filled img { object-fit: contain; }
.gallery-navigation { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); margin-top: 45px; padding-top: 20px; }

.contact-layout { --content: 1320px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px); align-items: stretch; padding-bottom: 75px; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; font-family: "Cormorant Paragraph", Georgia, serif; font-weight: 300; }
.contact-form > * { grid-column: 1 / -1; }
.contact-form > .field:nth-child(-n + 4) { grid-column: auto; }
.field { display: grid; min-width: 0; gap: 5px; }
.field label { font-size: 18px; }
.field input, .field textarea { width: 100%; border: 1px solid #8a8a8a; background: white; padding: 11px 13px; border-radius: 0; }
.field textarea { min-height: 145px; resize: vertical; }
.service-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; min-width: 0; margin: 0; padding: 0; border: 0; }
.service-choices legend { padding: 0 0 5px; font-size: 18px; }
.service-choices label { display: flex; align-items: baseline; gap: 9px; }
.service-choices input { flex: none; accent-color: var(--ink); }
.form-note { color: var(--muted); font-size: 16px; }
.form-status { margin: 0; padding: 12px 14px; border-left: 2px solid var(--ink); background: var(--soft); }
.contact-photo { position: relative; width: 100%; min-width: 0; min-height: 500px; overflow: hidden; }
.contact-photo > .image-placeholder { position: absolute; inset: 0; min-height: 0; }
.contact-photo .image-slot-image { object-position: right center; }
.social-links { display: flex; justify-content: center; gap: 8px; }
.social-links a { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: inherit; }
.social-links a:hover { opacity: .65; }
.social-links svg { width: 23px; height: 23px; fill: currentColor; }
.contact-social p { margin: 0 0 4px; }
.contact-social .social-links { justify-content: flex-start; margin-left: -10px; }
.site-footer { margin-top: 25px; padding: 23px 32px 35px; border-top: 1px solid var(--line); text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 10px; }
.footer-nav a { font-size: 16px; text-decoration: none; }
.site-footer p { color: var(--muted); font-size: 15px; margin: 0; }
.back-to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 4; display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--ink); background: #fff; color: var(--ink); cursor: pointer; }
.back-to-top svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.back-to-top:hover { background: var(--ink); color: #fff; }

dialog#photo-viewer { width: min(96vw, 1100px); max-width: none; max-height: 92vh; padding: 58px 68px 48px; border: 0; background: #111; color: white; }
dialog#photo-viewer::backdrop { background: rgba(0,0,0,.9); }
.viewer-content { position: relative; }
.viewer-photo-outgoing { position: absolute; inset: 0; pointer-events: none; }
.viewer-content .image-placeholder { min-height: min(70vh, 700px); }
.viewer-close, .viewer-prev, .viewer-next { position: absolute; z-index: 1; color: white; background: transparent; border: 0; cursor: pointer; font-family: Georgia, serif; }
.viewer-close { top: 10px; right: 19px; font-size: 34px; }
.viewer-prev, .viewer-next { top: 50%; transform: translateY(-50%); font-size: 50px; padding: 10px; }
.viewer-prev { left: 10px; }.viewer-next { right: 10px; }
.viewer-count { text-align: center; margin: 12px 0 0; font-size: 15px; }

@media (max-width: 1100px) {
  .site-header { min-height: 0; grid-template-columns: minmax(0, 1fr) 166px minmax(0, 1fr); padding: 15px 22px; gap: 8px; }
  .brand { grid-column: 2; grid-row: 1; width: 166px; }
  .header-rule { display: none; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; grid-column: 3; grid-row: 1; justify-self: end; position: relative; z-index: 5; }
  .mobile-menu > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; }
  .mobile-menu > summary::-webkit-details-marker { display: none; }
  .menu-icon { display: grid; gap: 5px; }
  .menu-icon span { display: block; width: 24px; height: 1px; background: var(--ink); }
  .mobile-menu nav { position: absolute; z-index: 5; top: calc(100% + 11px); right: -5px; min-width: 190px; max-height: calc(100dvh - 100px); overflow-y: auto; padding: 10px 16px; background: white; border: 1px solid var(--line); box-shadow: 0 8px 24px #00000012; }
  .mobile-menu nav a { display: block; padding: 8px 0; text-decoration: none; }
  .mobile-menu nav a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
  .mobile-menu .home-nav-item { display: block; }
  .mobile-menu .home-nav-item > a { min-height: 44px; padding: 8px 44px 8px 0; }
  .mobile-menu .home-menu > summary { position: absolute; top: 0; right: 0; width: 44px; height: 44px; }
  .mobile-menu :is(.home-submenu, .services-submenu) { padding: 0 0 4px 12px; border-left: 1px solid var(--line); }
  .mobile-menu .services-menu > summary { min-height: 44px; justify-content: space-between; }
  .mobile-menu .services-submenu a { min-height: 44px; }
}
@media (max-width: 850px) {
  .wrap { width: min(var(--content), calc(100% - 44px)); }
  .split-layout, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .split-layout { padding-bottom: 64px; }
  .contact-photo { grid-row: 2; min-height: 0; }
  .contact-photo > .image-placeholder { position: static; height: auto; min-height: 0; }
  .contact-photo > .image-placeholder:not(.image-filled) { aspect-ratio: 3 / 2; }
  .contact-photo .image-slot-image { height: auto; }
  .page-heading { padding: 54px 0 34px; }
  .section { padding: 54px 0; }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .service-choices { grid-template-columns: minmax(0, 1fr); }
  .project-grid { grid-template-columns: 1fr; row-gap: 30px; }
  .project-title { font-size: 23px; }
  .hero p { font-size: 19px; }
  .hero h1 { font-size: 21px; }
  .page-heading { padding-top: 42px; }
  .page-heading h1 { font-size: 47px; }
  .wrap { width: calc(100% - 36px); }
  dialog#photo-viewer { width: 100vw; height: 100vh; height: 100dvh; max-height: none; padding: 58px 0 48px; }
  .viewer-content { height: 100%; }
  .viewer-content .image-placeholder { width: 100%; height: 100%; min-height: 0; padding: 0; background: none; }
  .viewer-content .image-slot-image { object-fit: contain; }
  .viewer-count { position: absolute; bottom: 12px; left: 0; right: 0; margin: 0; }
  .viewer-prev { left: 0; }.viewer-next { right: 0; }
  .site-footer { padding-left: 18px; padding-right: 18px; }
}

@media (prefers-reduced-motion: no-preference) {
  .desktop-nav a::after { transition: transform 220ms ease-out; }
  .hero-placeholder .image-slot-image { animation: hero-zoom 18s linear forwards; }
  :root { --page-transition-duration: 360ms; }
  .nav-underline { transition: transform var(--page-transition-duration) ease; }
  .page-enter { animation: page-enter var(--page-transition-duration) ease-out; }
  .page-fade-out { animation: page-fade-out 180ms ease-in both; }
  .page-fade-in { animation: page-fade-in 180ms ease-out both; }
  .photo-enter { animation: photo-enter 400ms ease-out; }
  .button-link, .submit-button { transition: background 200ms, color 200ms; }
  .testimonial-slide > .testimonial {
    --testimonial-fade-out: 140ms;
    transition: opacity 260ms ease-out var(--testimonial-fade-out),
      transform 260ms ease-out var(--testimonial-fade-out);
  }
  .testimonial-slide > [aria-hidden="true"] {
    transform: translateY(5px);
    transition: opacity var(--testimonial-fade-out) ease-in,
      visibility 0s var(--testimonial-fade-out), transform 0s var(--testimonial-fade-out);
  }
  dialog#photo-viewer[open] { animation: page-enter 300ms ease-out; }

  @supports selector(details::details-content) and (transition-behavior: allow-discrete) {
    .mobile-menu { --menu-transition-duration: 260ms; }
    .mobile-menu::details-content {
      opacity: 0;
      transition: opacity var(--menu-transition-duration) ease, content-visibility var(--menu-transition-duration);
      transition-behavior: allow-discrete;
    }
    .mobile-menu[open]::details-content { opacity: 1; }
    .mobile-menu nav { transform: translateY(-5px); transition: transform var(--menu-transition-duration) ease-out; }
    .mobile-menu[open] nav { transform: translateY(0); }
    .mobile-menu:not([open]) nav { pointer-events: none; }
  }
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .viewer-photo-outgoing { display: none; }
}

@keyframes page-enter {
  from { opacity: .76; }
  to { opacity: 1; }
}

@keyframes page-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes photo-enter {
  from { opacity: .86; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
