/* Hilldale Avenue: shared stylesheet for The Garden House (929) and Arbor (917).
   Colors used: #000000, #FFFFFF, #F4F2EE, plus black at partial opacity for the hero shade. */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }

:root {
  --black: #000000;
  --white: #FFFFFF;
  --gray: #F4F2EE;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --space: clamp(2.5rem, 4.5vw, 4rem);
  --bar: 96px;
  --mbar: 56px;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 65px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--sans); font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
img.lz { background: var(--gray); }
html:not(.js) img.lz { display: none; }
picture { display: block; }
a { color: var(--black); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; margin: 0; line-height: 1.08; }
p { margin: 0 0 1.1em; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -10000px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 60; background: var(--white); padding: .6rem 1rem; border: 1px solid var(--black); }
.hidden { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Labels: the only place small tracked uppercase is used */
.label { font-family: var(--sans); font-size: .75rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; line-height: 1.4; margin-bottom: 2.25rem; }

/* Top bar */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--black); padding-top: env(safe-area-inset-top, 0px); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 96px; }
.brand { display: block; flex: none; }
.brand img { height: 72px; width: auto; }
main { padding-top: calc(96px + env(safe-area-inset-top, 0px)); }
.nav { display: none; gap: 2rem; }
.nav a, .menu-btn { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--black); }
.menu-btn { appearance: none; background: none; border: 0; padding: 12px 0; cursor: pointer; font-family: var(--sans); }
@media (min-width: 900px) { .nav { display: flex; } .menu-btn { display: none; } }

/* Underlines that draw in from the left */
.nav a, .footer a, .agent-links a, .plan-download a, .sister-line a, .menu a, .text-btn {
  text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-repeat: no-repeat;
  background-position: 0 100%; background-size: 0% 1px; padding-bottom: 3px; }
.nav a:hover, .nav a:focus-visible, .nav a.is-active, .footer a:hover, .footer a:focus-visible, .agent-links a:hover, .agent-links a:focus-visible,
.plan-download a:hover, .plan-download a:focus-visible, .sister-line a:hover, .sister-line a:focus-visible, .menu a:hover, .menu a:focus-visible,
.text-btn:hover, .text-btn:focus-visible { background-size: 100% 1px; }

/* Mobile menu */
dialog.menu { border: 0; margin: 0; padding: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: var(--white); color: var(--black); }
dialog.menu::backdrop { background: var(--white); }
.menu nav { display: grid; gap: 1.25rem; padding: calc(env(safe-area-inset-top, 0px) + 110px) 28px 40px; }
.menu nav a { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1.2; justify-self: start; }
.menu-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 20px); right: 20px; width: 48px; height: 48px; border: 1px solid var(--black); background: var(--white); color: var(--black); font: 400 24px/1 var(--sans); cursor: pointer; }

/* Hero: full first screen under the bar, title over the image */
.hero { position: relative; height: calc(100svh - 96px - env(safe-area-inset-top, 0px)); min-height: 520px; overflow: hidden; color: var(--white); }
@media (max-width: 767px) { .hero { height: 78svh; min-height: 0; } }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero-shade { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.55)); }
.cue { position: absolute; right: var(--gutter); bottom: clamp(1.75rem, 5vw, 3.5rem); width: 1px; height: 64px; background: rgba(255,255,255,.35); overflow: hidden; }
.cue span { position: absolute; left: 0; top: 0; width: 1px; height: 24px; background: #FFFFFF; }
@media (max-width: 767px) { .cue { display: none; } }
.hero-text { position: absolute; left: 0; right: 0; bottom: 0; margin-inline: auto; padding-bottom: clamp(1.75rem, 5vw, 3.5rem); }
.eyebrow { font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 .9rem; }
.hero h1 { font-size: clamp(40px, 6vw, 88px); font-weight: 300; line-height: 1; letter-spacing: -.005em; margin-bottom: .6rem; }
.hero-city { font-size: 18px; margin: 0 0 1rem; }
.price { font-size: 14px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; margin: 0; }

/* Numbers strip */
.numbers { border-bottom: 1px solid var(--black); }
.numbers-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); }
.numbers-list li { display: grid; gap: .45rem; padding: 1.5rem 0; }
.numbers-list li:first-child { grid-column: span 2; }
.numbers-list li:nth-child(n+2) { border-top: 1px solid var(--black); }
.numbers-list li:nth-child(odd):not(:first-child) { padding-left: 1.25rem; border-left: 1px solid var(--black); }
.num { font-family: var(--serif); font-weight: 300; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; white-space: nowrap; }
.num-label { font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; }
@media (min-width: 768px) {
  .numbers-list { grid-template-columns: repeat(5, 1fr); }
  .numbers-list li, .numbers-list li:first-child, .numbers-list li:nth-child(n+2), .numbers-list li:nth-child(odd):not(:first-child) { grid-column: auto; border-top: 0; border-left: 1px solid var(--black); padding: 2.25rem 1.5rem; }
  .numbers-list { grid-template-columns: 1.5fr 1fr 1fr 1.2fr 1fr; }
  .numbers-list li:first-child { border-left: 0; padding-left: 0; }
  .num { font-size: 56px; }
}

/* Story rows */
.story { padding-top: var(--space); }
.story-row { display: grid; grid-template-columns: 1fr; margin-bottom: var(--space); }
.story-media { overflow: hidden; }
.story-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story-text { padding: 1.5rem 20px 0; max-width: 44rem; }
.story-text h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); margin-bottom: 1rem; }
.story-text p { font-size: 17px; line-height: 1.65; }
.story-text p:last-child { margin-bottom: 0; }
@media (min-width: 768px) { .story-text { padding: 2rem var(--gutter) 0; } }
@media (min-width: 900px) {
  .story-row { grid-template-columns: 5fr 7fr; align-items: center; }
  .story-text { align-self: center; }
  .story-text { padding: 0 clamp(3rem, 6vw, 6rem); }
  .story-text h2 { margin-bottom: 1.5rem; }
  .story-row:nth-of-type(even) { grid-template-columns: 7fr 5fr; }
  .story-row:nth-of-type(even) .story-media { order: 2; }
}

/* Full-bleed image moments */
.bleed { margin: 0 0 var(--space); padding: 0; }
.bleed-media { overflow: hidden; }
.bleed-media img { width: 100%; height: 60vh; object-fit: cover; }
@media (max-width: 767px) { .story-media img { aspect-ratio: 3 / 2; } .bleed-media img { height: 50vh; } }
.pull { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1.25; text-align: center; max-width: 22ch; margin: 1.5rem auto 0; padding-inline: 20px; box-sizing: content-box; text-wrap: balance; }

/* Sections */
.section { padding-block: var(--space); }
.alt { background: var(--gray); }
.two-col { display: grid; gap: .5rem; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 2fr; gap: 4rem; } .two-col > .label { margin-bottom: 0; } }

/* Gallery: wide 2:1 then two squares; mobile is 2-up squares */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 680px; margin-inline: auto; }
.gallery figure { margin: 0; }
.gallery figure[hidden] { display: none; }
.g-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.g-open img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 768px) {
  .gallery { gap: 12px; }
  .g-w { grid-column: span 2; }
  .g-w .g-open img { aspect-ratio: 2 / 1; }
}
.more { margin: 2rem 0 0; text-align: center; }
.text-btn { appearance: none; background: none; border: 0; border-bottom: 1px solid var(--black); padding: .75rem 0 .35rem; font: 400 .9375rem/1 var(--sans); color: var(--black); cursor: pointer; }

/* Lightbox */
dialog.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: var(--black); color: var(--white); overflow: hidden; }
dialog.lb::backdrop { background: var(--black); }
.lb-img { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 64px); left: 72px; width: calc(100% - 144px); height: calc(100% - 64px - 150px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); object-fit: contain; }
@media (max-width: 767px) { .lb-img { left: 0; right: 0; width: 100%; } }
.lb-cap { position: absolute; left: 24px; right: 24px; bottom: calc(env(safe-area-inset-bottom, 0px) + 104px); margin: 0; font-size: 14px; }
.lb-thumbs { position: absolute; left: 0; right: 0; bottom: env(safe-area-inset-bottom, 0px); height: 88px; display: flex; gap: 6px; overflow-x: auto; padding: 12px 24px; scrollbar-width: thin; }
.lb-thumb { flex: none; width: 96px; height: 64px; padding: 0; border: 1px solid var(--black); background: var(--black); cursor: pointer; opacity: .55; }
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lb-thumb.is-current, .lb-thumb:hover { opacity: 1; border-color: var(--white); }
.lb-thumb:focus-visible { outline: 2px solid var(--white); outline-offset: 1px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border: 1px solid var(--white); background: var(--black); color: var(--white); font: 400 22px/1 var(--sans); cursor: pointer; display: grid; place-items: center; padding: 0; }
.lb-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.lb-close { top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
  .lb-prev, .lb-next { top: auto; transform: none; bottom: calc(env(safe-area-inset-bottom, 0px) + 136px); }
  .lb-prev { left: auto; right: 68px; }
  .lb-cap { right: 132px; bottom: calc(env(safe-area-inset-bottom, 0px) + 146px); }
  .lb-img { height: calc(100% - 64px - 200px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); }
}

/* Floor plans */
.plan-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--black); margin-bottom: 2rem; }
.plan-tabs [role="tab"] { appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: .9rem 1.1rem; min-height: 44px; font: 400 .9375rem/1 var(--sans); color: var(--black); cursor: pointer; }
.plan-tabs [role="tab"]:first-child { padding-left: 0; }
.plan-tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--black); }
.plan-panel picture { display: flex; justify-content: center; }
.plan-panel img { height: 54vh; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 767px) { .plan-panel img { height: 44vh; } }
.plan-dims { text-align: center; font-size: 14px; margin: 1.5rem auto .4rem; max-width: 52rem; }
.plan-caption { text-align: center; font-family: var(--serif); font-weight: 300; font-size: 1.35rem; margin: 0; }
.plan-download { text-align: center; margin: 2rem 0 0; }
.plan-download a { display: inline-block; padding: 8px 0; font-weight: 400; }

/* Neighborhood */
.hood { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.45; max-width: 46rem; margin: 0; }
.map { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-top: 3rem; }
.nearby-wrap { margin-top: 3rem; }
.nearby { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--black); max-width: 46rem; }
.nearby li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--black); }

/* Agents */
.agents { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 4vw, 3.5rem); max-width: 720px; }
.agent img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.agent h3 { font-size: 32px; margin: 1.25rem 0 .5rem; }
.agent-links { list-style: none; padding: 0; margin: 0; font-size: 15px; }
.agent-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; overflow-wrap: anywhere; }
.agent-links .dre { padding: 8px 0; }
@media (max-width: 767px) { .agent h3 { font-size: 26px; } .agent-links { font-size: 14px; } }
@media (max-width: 479px) { .agent h3 { font-size: 24px; } .agent-links { font-size: 13px; } }

/* Inquire */
.inq-lede { max-width: 26rem; }
form { display: grid; gap: 1.1rem; max-width: 40rem; position: relative; }
form label { display: grid; gap: .45rem; font-size: .875rem; font-weight: 400; }
input, textarea { min-height: 48px; font: inherit; font-weight: 400; color: var(--black); background: var(--white); border: 1px solid var(--black); border-radius: 0; padding: .8rem 1rem; width: 100%; }
textarea { resize: vertical; min-height: 5rem; }
.row2, .row3 { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.row3 > :first-child { grid-column: span 2; }

@media (min-width: 640px) { .row3 { grid-template-columns: 1fr 1fr 1fr; } .row3 > :first-child { grid-column: auto; } }
select { font: inherit; color: var(--black); background: var(--white); border: 1px solid var(--black); border-radius: 0; padding: .8rem 1rem; width: 100%; appearance: none; }
select:focus { outline: 2px solid var(--black); outline-offset: 0; }
input:focus, textarea:focus { outline: 2px solid var(--black); outline-offset: 0; }
form label.consent { display: flex; gap: .75rem; align-items: flex-start; font-weight: 400; font-size: .9375rem; }
.consent input { width: 20px; height: 20px; min-height: 0; margin: 3px 0 0; flex: none; accent-color: var(--black); padding: 0; }
form button { justify-self: start; appearance: none; background: var(--black); color: var(--white); border: 1px solid var(--black); border-radius: 0; padding: 1.05rem 1.9rem; font: 400 .9375rem/1 var(--sans); cursor: pointer; }
form button:hover { background: var(--white); color: var(--black); }
form button:disabled { opacity: .6; cursor: progress; }
.form-status { min-height: 1.5em; margin: 0; }
.opt { font-weight: 400; opacity: .6; }
.form-note { font-size: .8125rem; margin: -.25rem 0 0; }
.form-note a { text-decoration-thickness: 1px; }
.thanks:focus { outline: none; }
.thanks-h { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1.2; margin: 0 0 .5rem; }
.thanks p:last-child { font-size: 17px; }

/* Also available */
.sister { background: var(--gray); padding-block: var(--space); border-top: 1px solid var(--black); }
.sister-inner { display: grid; gap: 1.5rem; align-items: center; }
.sister-media { display: block; overflow: hidden; }
.sister-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.sister-line { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.3; margin: 0; text-wrap: balance; }
@media (min-width: 900px) { .sister-inner { grid-template-columns: minmax(0, 560px) 1fr; gap: 4rem; } }

/* Footer */
.footer { padding-block: 3rem 3rem; border-top: 1px solid var(--black); font-size: .8125rem; line-height: 1.7; }
.footer .sir-logo { width: 200px; height: auto; margin: 0; }
.footer-top { display: grid; gap: 1.25rem; padding-bottom: 1.75rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--black); }
.about-sir { font-family: var(--serif); font-weight: 300; font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.45; max-width: 46rem; margin: 0; text-wrap: pretty; }
.footer-mid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: 260px 1fr; gap: 4rem; align-items: center; }
  .footer-mid { grid-template-columns: 260px 1fr; gap: 4rem; }
}
.policy-links .sep, .footer-links .sep { white-space: pre; }
.cookie-note { margin-bottom: 0 !important; }
.footer-agents { list-style: none; padding: 0; margin: 0; }
.footer p { max-width: 62rem; }
.footer-links .sep { white-space: pre; }
.legal { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--black); font-size: 11px; line-height: 1.6; }
.legal p { max-width: 960px; }
.pli { white-space: nowrap; }
.legal p { font-size: 11px; line-height: 1.6; }
.legal p { margin: 0 0 .75rem; }
.eho-line { display: flex; align-items: center; gap: .5rem; }
.eho { height: 20px; width: auto; flex: none; }
.footer p:last-child { margin-bottom: 0; }

/* Mobile action bar */
.mbar { display: none; }
@media (max-width: 767px) {
  .mbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; height: calc(var(--mbar) + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--white); border-top: 1px solid var(--black); }
  .mbar a { display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: .8125rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
  .mbar a:first-child { background: var(--black); color: var(--white); }
  .mbar.is-hidden { transform: translateY(100%); }
  .footer { padding-bottom: calc(4rem + var(--mbar) + env(safe-area-inset-bottom, 0px)); }
}

/* Mobile rhythm */
@media (max-width: 767px) {
  :root { --space: 2.5rem; }
  .numbers-list li { padding: 1rem 0; }
  .story-text { padding-top: 1.25rem; }
  .story-text h2 { margin-bottom: .6rem; font-size: 1.75rem; }
  .story-row { margin-bottom: 2rem; }
  .bleed { margin-bottom: 2rem; }
  .pull { margin-top: 1rem; }
  .plan-tabs { margin-bottom: 1.25rem; }
  .plan-dims { margin-top: 1rem; }
  .section { padding-block: 2.25rem; }
  .sister { padding-block: 2.25rem; }
  .label { margin-bottom: 1.1rem; }
  .nearby-wrap { margin-top: 1.75rem; }
  .legal { margin-top: 1.25rem; }
  .hood { font-size: 1.15rem; }
  .nearby li { padding: .6rem 0; font-size: .9375rem; }
  .footer { padding-top: 2.5rem; }
  .label { margin-bottom: 1.5rem; }
  .pull { margin-top: 1.25rem; }
}

/* 404 */
.notfound { padding-block: var(--space); }
.notfound h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: 1.5rem; }

/* Motion: only for visitors who have not asked for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .rv { opacity: 0; transform: translateY(16px); transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1); }
  .rv.in { opacity: 1; transform: none; }
  .rv:nth-child(2) { transition-delay: 80ms; }
  .rv:nth-child(3) { transition-delay: 160ms; }
  .rv:nth-child(4) { transition-delay: 240ms; }
  .rv:nth-child(5) { transition-delay: 320ms; }
  .rv:nth-child(6) { transition-delay: 400ms; }
  .hero-text > .rv:nth-child(1) { transition-delay: 0ms; }
  .hero-text > .rv:nth-child(2) { transition-delay: 120ms; }
  .hero-text > .rv:nth-child(3) { transition-delay: 240ms; }
  .hero-text > .rv:nth-child(4) { transition-delay: 360ms; }
  .hero img { transform: scale(1.04); transition: transform 2400ms cubic-bezier(.2,.7,.2,1); }
  .hero img.in { transform: scale(1); }
  .story img, .gallery img, .sister-media img { transition: transform 600ms ease; }
  .story img:hover, .gallery img:hover, .sister-media img:hover { transform: scale(1.02); }
  .nav a, .footer a, .agent-links a, .plan-download a, .sister-line a, .menu a, .text-btn { transition: background-size 250ms ease; }
  .plan-panel { animation: crossfade 300ms ease; }
  @keyframes crossfade { from { opacity: 0; } to { opacity: 1; } }
  .topbar-inner { height: 96px; transition: height 200ms ease; }
  .brand img { height: 72px; transition: height 200ms ease; }
  body.scrolled .topbar-inner { height: 64px; }
  body.scrolled .brand img { height: 48px; }
  .mbar { transition: transform 250ms ease; }
  /* images: a soft curtain reveal while the photo settles from a slight zoom */
  .rv-img { opacity: 0; clip-path: inset(6% 0 6% 0); transition: opacity 900ms cubic-bezier(.2,.7,.2,1), clip-path 1200ms cubic-bezier(.2,.7,.2,1); }
  .rv-img picture { transform: scale(1.06); transition: transform 1600ms cubic-bezier(.2,.7,.2,1); }
  .rv-img.in { opacity: 1; clip-path: inset(0 0 0 0); }
  .rv-img.in picture { transform: none; }
  .gallery > .rv-img:nth-child(3n+2) { transition-delay: 90ms; }
  .gallery > .rv-img:nth-child(3n+3) { transition-delay: 180ms; }
  .pull.rv { transition-duration: 900ms; }
  /* hero scroll cue: three slow passes, then still */
  .cue span { animation: cue 2400ms cubic-bezier(.6,0,.4,1) 1200ms 3 both; }
  @keyframes cue { 0% { transform: translateY(-24px); } 100% { transform: translateY(64px); } }
  /* lightbox crossfade */
  .lb-img { transition: opacity 350ms ease; }
  .lb-img.is-loading { opacity: 0; }
  /* menu links arrive in sequence */
  dialog.menu[open] nav a { animation: menuIn 600ms cubic-bezier(.2,.7,.2,1) both; }
  dialog.menu[open] nav a:nth-child(2) { animation-delay: 60ms; }
  dialog.menu[open] nav a:nth-child(3) { animation-delay: 120ms; }
  dialog.menu[open] nav a:nth-child(4) { animation-delay: 180ms; }
  dialog.menu[open] nav a:nth-child(5) { animation-delay: 240ms; }
  @keyframes menuIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
  /* buttons invert smoothly */
  form button, .mbar a { transition: background-color 250ms ease, color 250ms ease; }
}
@media (prefers-reduced-motion: reduce) {
  .rv, .rv.in, .rv-img, .rv-img.in { opacity: 1; transform: none; clip-path: none; transition: none; }
  .rv-img picture { transform: none; }
  .cue span { top: 20px; }
  .hero img { transform: none; }
}
