/* The public portfolio: a quiet gallery, with photographs carrying the colour. */
:root {
  --home-paper: #fafafa;
  --home-ink: #1d1d1f;
  --home-muted: #68686d;
  --home-line: #dedee2;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-gutter: stable; scroll-padding-top: 110px; }
body.home { background: var(--home-paper); color: var(--home-ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, .home .work:focus-visible { outline: 3px solid #8b6a32; outline-offset: 6px; }
h1, h2, h3 { text-wrap: balance; }
.page-width { width: min(1400px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10000; padding: 14px 22px; border-radius: 24px; background: var(--home-ink); color: var(--home-paper); }
.skip-link:focus { top: 16px; }
.home .nav, .home .nav-menu {
  --lg-tint: rgba(255,255,255,.72);
  --lg-tint-hover: rgba(255,255,255,.9);
  --lg-text: #1d1d1f;
  --lg-text-dim: #5b5b62;
  --lg-rim: rgba(255,255,255,.95);
  --lg-rim-base: rgba(255,255,255,.5);
  --lg-edge: rgba(29,29,31,.12);
  --lg-fill-selected: rgba(29,29,31,.07);
  --lg-shadow: 0 4px 18px -10px #0003, 0 1px 3px #00000008;
}
.home .nav { padding: 20px clamp(24px, 4vw, 60px); }
.home .nav-brand { color: var(--home-ink); font-family: var(--sans); font-size: 24px; font-weight: 600; letter-spacing: -.06em; text-shadow: none; }
.home .nav-links { text-transform: none; font-size: 13px; letter-spacing: -.01em; }
.home .nav-links a { min-height: 40px; padding-inline: 21px; }
.home .nav-auth { text-transform: none; font-size: 12px; letter-spacing: 0; }
.home .nav::before { background: linear-gradient(#fafafaf5, #fafafa99 60%, transparent); }
.home .nav-hamburger span { background: var(--lg-text); }
.home .nav-menu a { color: var(--lg-text); font-family: var(--sans); }
.home .nav[data-tone="dark"] {
  --lg-tint: rgba(28,28,31,.7);
  --lg-tint-hover: rgba(42,42,47,.85);
  --lg-text: #f5f5f7;
  --lg-text-dim: #c0c0c5;
  --lg-rim: rgba(255,255,255,.5);
  --lg-edge: rgba(0,0,0,.3);
  --lg-fill-selected: rgba(255,255,255,.12);
}
.home .nav[data-tone="dark"] .nav-brand { color: #f5f5f7; }
.home .nav[data-tone="dark"]::before { background: linear-gradient(#000e, #0008 60%, transparent); }
.home-hero { padding-top: 155px; }
.hero-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.eyebrow { font-size: 14px; font-weight: 500; letter-spacing: -.01em; }
.hero-intro h1 { font-size: clamp(64px, 8vw, 112px); letter-spacing: -.065em; font-weight: 600; line-height: 1.05; margin-top: 18px; }
.hero-note { padding-bottom: 6px; }
.hero-note p { color: var(--home-muted); font-size: 17px; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 500; min-height: 44px; margin-top: 16px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.cover-frame { position: relative; height: clamp(370px, 39vw, 610px); border-radius: 24px; overflow: hidden; background: #29363d; isolation: isolate; }
.cover-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }
.cover-frame::after { content: ""; position: absolute; inset: 65% 0 0; background: linear-gradient(transparent, #0007); z-index: 0; pointer-events: none; }
.cover-frame figcaption { position: absolute; inset: auto 34px 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; z-index: 1; color: #f5f5f7; font-size: 13px; }
.cover-frame figcaption span:first-child { font-size: 24px; letter-spacing: -.03em; font-weight: 500; }
.hero-foot { display: flex; justify-content: space-between; padding-block: 21px; font-size: 11px; color: var(--home-muted); }
.hero-foot span span { margin-left: 20px; }
.work-section { padding-block: 105px 90px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-bottom: 58px; }
h2 { font-size: clamp(40px, 4.7vw, 64px); line-height: 1.08; font-weight: 600; letter-spacing: -.05em; }
.section-head h2 { margin-top: 18px; }
.section-head > p { color: var(--home-muted); font-size: 16px; line-height: 1.6; padding-bottom: 5px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; row-gap: 54px; align-items: start; }
.home .work { border: 0; border-radius: 0; box-shadow: none; overflow: visible; background: none; }
.home .work:hover { transform: none; box-shadow: none; }
.home .work-img { position: relative; inset: auto; aspect-ratio: 3 / 2; border-radius: 18px; overflow: hidden; background: #e8e8eb; }
.home .work-img img { width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.home .work-wide { grid-column: 1 / -1; }
.home .work-wide .work-img { aspect-ratio: 2 / 1; }
.home .work-wide img { object-position: 50% 60%; }
.home .work-info { position: static; inset: auto; padding: 19px 1px 0; background: none; display: flex; flex-direction: row; align-items: baseline; justify-content: space-between; gap: 15px; }
.home .work:hover .work-info, .home .work:focus-visible .work-info { background: none; }
.home .work-text { display: flex; align-items: baseline; gap: 14px; }
.home .work-name { font-family: var(--sans); font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--home-ink); text-shadow: none; transform: none; }
.home .work:hover .work-name, .home .work:focus-visible .work-name { color: var(--home-ink); transform: none; }
.home .work-cat { margin: 0; font-size: 12px; color: var(--home-muted); opacity: 1; transform: none; text-transform: none; letter-spacing: 0; }
.work-index { color: var(--home-muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.photo-open { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #1d1d1f; background: #fffffff0; font-size: 20px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; }
.work:hover .photo-open, .work:focus-visible .photo-open { opacity: 1; transform: none; }
/* Images stay visible without a JS reveal, and don't shift on scroll. */
.home .work.reveal-init, .home .work.reveal-in { opacity: 1; transform: none; }
.archive-invite { margin-top: 70px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--home-line); padding-top: 35px; }
.archive-invite p { font-size: 23px; letter-spacing: -.03em; font-weight: 500; }
.pill-button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 16px 25px; border-radius: 999px; background: var(--home-ink); color: #f5f5f7; font-size: 14px; font-weight: 500; min-height: 48px; }
.pill-button:hover { background: #3b3b3e; }
.artist-section { padding-block: 100px; background: #ededef; }
.artist-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; }
.artist-layout > .eyebrow { padding-top: 12px; }
.artist-copy { font-size: clamp(21px, 2.3vw, 28px); line-height: 1.45; color: var(--home-muted); max-width: 33ch; margin-top: 32px; letter-spacing: -.025em; }
.artist-layout .text-link { margin-top: 25px; }
.dark-section { background: #000; color: #f5f5f7; }
.contact-section { padding-block: 100px 80px; }
.contact-layout { display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; }
.contact-layout .eyebrow { color: #a1a1a6; margin-bottom: 25px; }
.contact-links { padding-bottom: 5px; display: flex; flex-direction: column; align-items: flex-start; }
.contact-email { display: inline-flex; align-items: center; gap: 34px; min-height: 44px; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -.035em; border-bottom: 1px solid #55555b; padding-bottom: 14px; }
.contact-email:hover { border-color: #f5f5f7; }
.contact-links .text-link { color: #a1a1a6; }
.home-footer { padding-bottom: 30px; }
.footer-wordmark { display: block; overflow: hidden; font-size: clamp(100px, 19vw, 290px); font-weight: 600; line-height: 1.12; letter-spacing: -.08em; padding-bottom: 45px; }
.footer-wordmark span { color: #77777d; }
.footer-bottom { border-top: 1px solid #303033; padding-top: 26px; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; color: #a1a1a6; }
.footer-bottom nav { display: flex; gap: 30px; }
.footer-bottom a { display: inline-flex; min-height: 44px; align-items: center; margin-top: -15px; }
.footer-bottom a:hover { color: #f5f5f7; }
.footer-legal { font-size: 11px; color: #a1a1a6; max-width: 75ch; margin-top: 18px; line-height: 1.7; }
.home .lightbox-title { font-family: var(--sans); font-style: normal; font-size: 14px; font-weight: 400; }
@media (max-width: 1000px) {
  .page-width { width: calc(100% - 64px); }
  .hero-intro { gap: 24px; }
  .hero-intro h1 { font-size: 76px; }
  .hero-note p { font-size: 15px; }
  .artist-layout { grid-template-columns: .8fr 1.5fr; gap: 40px; }
  .gallery-grid { column-gap: 22px; }
}
@media (max-width: 733px) {
  html { scroll-padding-top: 95px; }
  .page-width { width: calc(100% - 40px); }
  .home .nav { padding: 16px 20px; }
  .home .nav-brand { font-size: 23px; }
  .home-hero { padding-top: 120px; }
  .hero-intro { display: block; margin-bottom: 30px; }
  .hero-intro h1 { font-size: clamp(52px, 10vw, 74px); margin-top: 16px; letter-spacing: -.055em; }
  .hero-note { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-top: 24px; }
  .hero-note p { font-size: 14px; }
  .hero-note .text-link { font-size: 12px; gap: 12px; margin-top: 0; white-space: nowrap; }
  .cover-frame { height: 440px; border-radius: 18px; }
  .cover-frame > img { object-position: 55% 50%; }
  .cover-frame figcaption { inset: auto 24px 24px; }
  .cover-frame figcaption span:first-child { font-size: 20px; }
  .cover-frame figcaption span:last-child { display: none; }
  .hero-foot { font-size: 10px; }
  .hero-foot span span { margin-left: 8px; }
  .work-section { padding-block: 60px; }
  .section-head { display: block; margin-bottom: 32px; }
  h2 { font-size: 42px; }
  .section-head > p { margin-top: 24px; font-size: 15px; }
  .gallery-grid { grid-template-columns: 1fr; row-gap: 32px; }
  .home .work-wide .work-img { aspect-ratio: 3 / 2; }
  .home .work-img { border-radius: 14px; }
  .home .work-info { padding-top: 14px; }
  .home .work-name { font-size: 14px; }
  .home .work-cat { font-size: 11px; }
  .photo-open { opacity: 1; transform: none; width: 32px; height: 32px; bottom: 13px; right: 13px; font-size: 16px; }
  .archive-invite { flex-direction: column; align-items: flex-start; margin-top: 40px; gap: 22px; }
  .archive-invite p { font-size: 22px; }
  .artist-section, .contact-section { padding-block: 65px; }
  .artist-layout { grid-template-columns: 1fr; gap: 28px; }
  .artist-layout > .eyebrow { padding: 0; }
  .artist-copy { font-size: 23px; margin-top: 25px; }
  .contact-layout { flex-direction: column; align-items: flex-start; gap: 36px; }
  .contact-email { font-size: 24px; }
  .footer-wordmark { font-size: 23vw; padding-bottom: 30px; }
  .footer-bottom { flex-direction: column; gap: 24px; }
  .footer-bottom nav { flex-wrap: wrap; gap: 25px; }
  .footer-legal { font-size: 10px; margin-top: 6px; }
}
@media (max-width: 380px) {
  .hero-note { display: block; }
  .hero-note .text-link { margin-top: 10px; }
  .home .work-text { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .home .work:hover img { transform: none; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   Liquid Glass — the grand edition.
   The photographs become the world the glass floats in: the one you are
   looking at tints the page, a lens of glass rests on the cover, and the
   glass everywhere else picks up their colour. Behaviour: assets/home-glass.js.
   ───────────────────────────────────────────────────────────────────────────── */

/* Light glass for the page; the dark sections and the viewer redefine it */
body.home {
  --lg-tint: rgba(255,255,255,.42);
  --lg-tint-hover: rgba(255,255,255,.6);
  --lg-text: #1d1d1f;
  --lg-text-dim: #5b5b62;
  --lg-rim: rgba(255,255,255,.98);
  --lg-rim-base: rgba(255,255,255,.55);
  --lg-edge: rgba(29,29,31,.1);
  --lg-fill-selected: rgba(29,29,31,.07);
  --lg-shadow: 0 18px 40px -22px rgba(30,40,60,.35), 0 2px 6px rgba(0,0,0,.05);
  --lg-blur: 22px;
}

/* Ambient: the photograph in view, dissolved behind everything */
.home .ambient { position: fixed; inset: -12%; z-index: -1; pointer-events: none; overflow: hidden; }
.home .ambient-layer {
  /* Blurred small, then scaled up: the same wash of colour at a fraction of
     the GPU cost of blurring a viewport-sized layer (heavy on Retina screens) */
  position: absolute; left: 30%; top: 30%; width: 40%; height: 40%;
  background-size: cover; background-position: center;
  filter: blur(30px) saturate(1.9) brightness(1.15);
  transform: scale(2.9);
  opacity: 0; transition: opacity 1.4s ease;
}
.home .ambient-layer.is-on { opacity: .8; }
.home .ambient::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(250,250,250,.72) 0%, rgba(250,250,250,.46) 45%, rgba(250,250,250,.6) 100%);
}

/* Hero: a thick glass bezel holds the cover; its corner is concentric (36 − 12 = 24) */
.cover-glass {
  padding: 12px; border-radius: 36px;
  /* No backdrop filter here: the ambient behind is already a blur, and a
     backdrop-filtered parent around the moving lens flickers in Safari */
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(150deg, rgba(255,255,255,.7), rgba(255,255,255,.3) 55%, rgba(255,255,255,.5));
}
.cover-glass .cover-frame { border-radius: 24px; cursor: crosshair; }
.cover-frame::after { content: none; }   /* no caption on the cover, so no shade for one */
.cover-frame .cover-caption {
  inset: auto 16px 16px; z-index: 3; padding: 13px 22px; border-radius: 999px;
  --lg-text: #fff; color: #fff;
}

/* The lens: "A little closer." — it magnifies the photograph beneath it */
.hero-lens {
  position: absolute; left: 0; top: 0; z-index: 2;
  width: clamp(150px, 17vw, 250px); aspect-ratio: 1; border-radius: 50%;
  touch-action: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  --lg-lx: 28%; --lg-ly: 6%;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.35), 0 28px 50px -18px rgba(0,0,0,.55), 0 6px 14px rgba(0,0,0,.18);
  opacity: 0; scale: .3;
  transition: opacity .5s ease, scale .9s var(--lg-spring);
  will-change: translate, transform;
}
.hero-lens.is-landed { opacity: 1; scale: 1; }
.hero-lens.is-held { scale: 1.08; }
.hero-lens::before, .hero-lens::after { z-index: 3; }        /* rim over the magnified view */
.hero-lens-view {
  position: absolute; inset: 0; border-radius: 50%; background-color: #29363d; background-repeat: no-repeat;
  /* glass thickness, a faint prismatic fringe at the edge, and shade at the base */
  box-shadow:
    inset 0 0 0 1.5px rgba(255,255,255,.55),
    inset 0 0 18px rgba(255,255,255,.16),
    inset 5px 0 10px -5px rgba(255,70,130,.38),
    inset -5px 0 10px -5px rgba(40,170,255,.38),
    inset 0 -18px 28px -12px rgba(0,0,0,.36);
}
.hero-lens-shine {
  position: absolute; inset: 0; z-index: 2; border-radius: 50%; pointer-events: none;
  background:
    radial-gradient(54% 32% at 32% 16%, rgba(255,255,255,.4), rgba(255,255,255,0) 72%),
    radial-gradient(38% 22% at 70% 90%, rgba(255,255,255,.22), rgba(255,255,255,0) 72%);
}
.hero-ripple {
  position: absolute; z-index: 1; border-radius: 50%; pointer-events: none; translate: -50% -50%;
  border: 1.5px solid rgba(255,255,255,.75);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), inset 0 0 26px rgba(255,255,255,.25);
  animation: hero-ripple 1.5s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes hero-ripple { from { scale: .6; opacity: .95; } to { scale: 2.7; opacity: 0; } }

/* "Explore the work" becomes a glass capsule */
.text-link.capsule-link { padding: 0 22px; min-height: 46px; gap: 14px; border-radius: 999px; }
.text-link.capsule-link:hover { text-decoration: none; }

/* Gallery: a clear glass button on each photograph — no light effects on the photographs themselves */
.home .photo-open.glass {
  z-index: 2; width: 44px; height: 44px; color: #fff; --lg-text: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 50%), rgba(0,0,0,.28);
  transition: opacity .3s ease, transform .5s var(--lg-spring), background .3s ease;
}
.home .work:hover .photo-open.glass { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0) 50%), rgba(0,0,0,.18); }

/* The one prominent action: dark, tinted glass */
.pill-button.glass {
  --lg-tint: rgba(29,29,31,.84); --lg-tint-hover: rgba(29,29,31,.94);
  --lg-text: #f5f5f7; --lg-rim: rgba(255,255,255,.55); --lg-edge: rgba(0,0,0,.25);
  color: #f5f5f7;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 50%), var(--lg-tint);
}
.pill-button.glass:hover { background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,0) 50%), var(--lg-tint-hover); }

/* "Behind the photographs": one great slab of glass over the ambient colour */
.home .artist-section { background: transparent; padding-block: clamp(60px, 9vw, 110px); }
.artist-glass { padding: clamp(36px, 6vw, 84px); border-radius: 44px; --lg-tint: rgba(255,255,255,.46); --lg-blur: 34px; }

/* Dark sections: dark glass, lit from behind by the photograph's colour */
.home .dark-section {
  --lg-tint: rgba(255,255,255,.07); --lg-tint-hover: rgba(255,255,255,.13);
  --lg-text: #f5f5f7; --lg-text-dim: #c0c0c5;
  --lg-rim: rgba(255,255,255,.6); --lg-rim-base: rgba(255,255,255,.14); --lg-edge: rgba(0,0,0,.5);
  --lg-shadow: 0 18px 40px -20px rgba(0,0,0,.8);
}
.home .contact-section { position: relative; isolation: isolate; overflow: hidden; }
.home .contact-section::before {
  content: ''; position: absolute; inset: 25%; z-index: -1; pointer-events: none;
  background: var(--ambient-img, url('../cover.jpeg')) center / cover no-repeat;
  filter: blur(36px) saturate(1.8); transform: scale(2.4); opacity: .38;
}
.home .contact-email.glass { border-bottom: 0; padding: 16px 30px; gap: 26px; border-radius: 999px; }

/* Finale: the wordmark is glass, filled with the photograph's colour, slowly flowing */
.home .footer-wordmark {
  /* No filter on this element: WebKit stops clipping the background to the
     text when a filter is present — the brightening is a layer instead */
  color: transparent; -webkit-text-fill-color: transparent;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.08) 34%, rgba(255,255,255,0) 52%, rgba(255,255,255,.16) 100%),
    linear-gradient(rgba(255,255,255,.2), rgba(255,255,255,.2)),
    var(--ambient-img, url('../cover.jpeg'));
  background-size: 100% 100%, 100% 100%, 160% auto;
  background-position: 0 0, 0 0, 30% 45%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-stroke: 1px rgba(255,255,255,.32);
  animation: wordmark-flow 26s ease-in-out infinite alternate;
}
.home .footer-wordmark span { color: transparent; -webkit-text-fill-color: transparent; }
@keyframes wordmark-flow { to { background-position: 0 0, 0 0, 70% 62%; } }

/* The photo viewer keeps dark glass */
.home .lightbox {
  --lg-tint: rgba(30,30,33,.6); --lg-tint-hover: rgba(46,46,52,.7);
  --lg-text: #f5f5f7; --lg-text-dim: #c0c0c5;
  --lg-rim: rgba(255,255,255,.7); --lg-rim-base: rgba(255,255,255,.12); --lg-edge: rgba(0,0,0,.4);
}

@media (max-width: 733px) {
  .cover-glass { padding: 8px; border-radius: 26px; }
  .cover-glass .cover-frame { border-radius: 18px; }
  .cover-frame .cover-caption { inset: auto 12px 12px; padding: 11px 18px; }
  .text-link.capsule-link { padding: 0 16px; min-height: 44px; }
  .artist-glass { border-radius: 32px; padding: 34px 26px; }
  .home .contact-email.glass { padding: 14px 22px; gap: 18px; }
}

/* Solid, legible surfaces when transparency is reduced, contrast raised, or blur unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home .photo-open.glass, .cover-frame .cover-caption { background: rgba(20,22,26,.8); }
}
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .home .ambient, .home .contact-section::before { display: none; }
  .home .photo-open.glass, .cover-frame .cover-caption { background: rgba(20,22,26,.92); }
  .cover-glass, .artist-glass { background: #fff; }
  .home .footer-wordmark { color: #f5f5f7; -webkit-text-fill-color: #f5f5f7; background: none; -webkit-text-stroke: 0; animation: none; }
  .home .footer-wordmark span { color: #77777d; -webkit-text-fill-color: #77777d; }
}

/* Headline: the photographs travel through the letters of "A little closer."
   (built by assets/home-glass.js — without it, the headline is plain type).
   Tuned for a light page: a dark hairline edge and a slightly deepened photo. */
.photo-type .pt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.photo-type .pt-mark { display: block; width: auto; max-width: 100%; overflow: visible; }
.pt-text { font-family: var(--sans); font-size: 200px; font-weight: 600; }
.pt-base { fill: #2b3238; }
.pt-veil { fill: #000; opacity: .08; }
.pt-outline { fill: #000; }
.pt-photo { opacity: 0; transition: opacity 2.2s ease; }
.pt-photo.is-on { opacity: 1; }
.pt-photo.pan { animation: pt-pan var(--dur, 14s) linear forwards; }
@keyframes pt-pan {
  from { transform: translate(0px, var(--sy0, 0px)); }
  to   { transform: translate(var(--sx, 0px), var(--sy1, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .pt-photo.pan { animation: none; } }

/* Hero spacing, now that the eyebrow and the note are gone */
.hero-intro h1 { margin-top: 0; }
.hero-note .text-link { margin-top: 0; }

/* "A little closer." — on hover the headline draws nearer, and the photograph
   inside the letters moves in toward the pointer (origin set by home-glass.js) */
@media (hover: hover) and (pointer: fine) {
  .photo-type .pt-mark { transition: scale .7s var(--lg-spring); }
  .photo-type:hover .pt-mark { scale: 1.07; }
  .pt-zoom { transform-box: view-box; transition: scale 1s cubic-bezier(.22,1,.36,1); }
  .photo-type:hover .pt-zoom { scale: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-type:hover .pt-mark, .photo-type:hover .pt-zoom { scale: none; }
}
