/* Photo & video: the dark studio.
   Black, ivory and one thread of gold. A marble photographer in sunglasses sits in the dark
   with his camera; the things he shoots are marble too, each lit like a portrait. Everything
   moves slowly and eases out: the hero settles as it loads, pictures grow a little under the
   pointer while their neighbours dim, rows take a faint light. Nothing snaps. */

body.w-noir { background: #0a0908; }

/* ================= Hero ================= */

.nr-hero { position: relative; isolation: isolate; display: grid; align-items: center; min-height: max(100svh, 720px); padding: calc(var(--nav-h) + 20px) max(var(--gutter), (100vw - var(--wrap)) / 2) clamp(80px, 12svh, 130px); overflow: clip; }
/* The picture stands at the right under the bar. Its file keeps only the figure's light
   (tools/art.py, "dark"), so the dark around him is the page itself and the picture has no
   edge. It settles into place as the page arrives, then drifts against the scroll. */
.nr-hero__pic { position: absolute; z-index: -2; right: 0; top: calc(var(--nav-h) - 8px); bottom: 0; aspect-ratio: 3 / 2; }
.nr-hero__pic img { width: 100%; height: 100%; object-fit: cover; transform-origin: 80% 40%; transform: translate3d(0, calc((var(--p, .5) - .5) * 6%), 0); animation: nr-settle 2.8s var(--ease) both; }
@keyframes nr-settle { from { transform: translate3d(0, 0, 0) scale(1.07); opacity: 0; } }
.nr-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(10, 9, 8, 0) 70%, #0a0908); }
.nr-hero__copy { max-width: 44rem; }
.nr-hero__copy .label { margin-bottom: clamp(20px, 3svh, 36px); }
/* The title has the sheen of silk: a soft band of light that crosses it and comes back. */
.nr-title {
  margin: 0; font: italic 400 clamp(3.8rem, 9.2vw, 11.6rem)/.9 var(--bodoni); font-optical-sizing: none; font-variation-settings: "opsz" 20; letter-spacing: -.028em;
  background: linear-gradient(100deg, #f7f1e4 0%, #d9ccb0 30%, #fffaf0 48%, #c9b68c 70%, #f2ecdf 100%) 0 0 / 240% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: nr-sheen 11s ease-in-out infinite alternate; padding-bottom: .08em;
}
.nr-title i { font-style: italic; -webkit-text-fill-color: var(--accent); }
@keyframes nr-sheen { to { background-position: 100% 0; } }
.nr-hero .lede { margin-top: clamp(20px, 3svh, 36px); max-width: 24em; }
.nr-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(26px, 4svh, 46px); }
.nr-hero__base { position: absolute; left: max(var(--gutter), (100vw - var(--wrap)) / 2); right: max(var(--gutter), (100vw - var(--wrap)) / 2); bottom: 28px; display: flex; justify-content: space-between; margin: 0; padding-top: 18px; border-top: 1px solid var(--line); max-width: none; font: 500 .6875rem/1 var(--mono); letter-spacing: .24em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 900px) {
  .nr-hero { align-items: end; min-height: max(100svh, 680px); }
  .nr-hero__pic { left: 0; bottom: auto; height: 62svh; aspect-ratio: auto; }
  .nr-hero__pic img { object-position: 82% 0; }
  .nr-hero::before { background: linear-gradient(rgba(10, 9, 8, 0) 26%, rgba(10, 9, 8, .92) 54%, #0a0908 66%); }
  .nr-hero__base span:last-child { display: none; }
}
@media (prefers-reduced-motion: reduce) { .nr-hero__pic img, .nr-title { animation: none; } }

/* ================= Section heads ================= */

.nr-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 16px clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(40px, 4.6vw, 76px); }
.nr-head .lede { justify-self: end; max-width: 28em; }
@media (max-width: 900px) { .nr-head { grid-template-columns: 1fr; } .nr-head .lede { justify-self: start; } }
.w-noir main > section + section { border-top: 1px solid var(--line); }
/* Bodoni italic keeps its hairlines at these sizes only at a low optical size. */
.w-noir :is(.t-h2, .shot h3, .pack h3, .prints h3, .takes h3, .card-label h2) { font-optical-sizing: none; font-variation-settings: "opsz" 20; }

/* ================= What we shoot ================= */

.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 24px); margin: 0; padding: 0; list-style: none; }
.shot { position: relative; margin: 0; aspect-ratio: 2 / 3; overflow: hidden; border-radius: 12px; background: var(--ground-2); transition: opacity .7s var(--ease), box-shadow .7s var(--ease); }
.shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 2.4s var(--ease); }
.shot figcaption { position: absolute; inset: auto 0 0 0; padding: clamp(60px, 7vw, 120px) clamp(18px, 1.8vw, 32px) clamp(20px, 1.9vw, 32px); background: linear-gradient(rgba(10, 9, 8, 0), rgba(10, 9, 8, .82) 58%, rgba(10, 9, 8, .94)); }
.shot__n { display: block; margin-bottom: 12px; font: 500 .75rem/1 var(--mono); letter-spacing: .2em; color: var(--accent); }
.shot h3 { margin-bottom: 8px; font: italic 400 clamp(1.5rem, 1vw + 1.15rem, 2.3rem)/1.06 var(--bodoni); letter-spacing: -.014em; color: var(--ink); }
.shot p { font-size: 1.06rem; line-height: 1.48; max-width: 30ch; color: rgba(242, 236, 223, .9); }
@media (hover: hover) {
  .shot:hover img { transform: scale(1.06); }
  .shot:hover { box-shadow: 0 0 0 1px rgba(227, 201, 143, .5), 0 30px 70px rgba(0, 0, 0, .6); }
  .shots:has(.shot:hover) .shot:not(:hover) { opacity: .46; }
}
@media (max-width: 900px) { .shots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .shots { grid-template-columns: 1fr; } .shot { aspect-ratio: 4 / 5; } }

/* ================= Packages ================= */

/* Each cell lies on three rows shared across its line of cells (number, name, what it includes),
   so the names stand on one line however long the descriptions run. */
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line); }
.pack { display: grid; grid-row: span 3; grid-template-rows: subgrid; padding: clamp(22px, 2.2vw, 36px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pack__n { padding-bottom: clamp(72px, 7.4vw, 124px); font: 500 .75rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.pack h3 { margin: 0 0 10px; font: italic 400 clamp(1.5rem, 1vw + 1.15rem, 2.2rem)/1.08 var(--bodoni); letter-spacing: -.014em; color: var(--ink); }
.pack p { max-width: 34ch; font-size: 1.04rem; line-height: 1.5; }
/* The gold cell is how they are priced: by quote. It is the one cell that is a link. */
.pack--quote { padding: 0; background: var(--accent); border-color: var(--accent); }
.pack--quote a { grid-row: 1 / -1; display: flex; flex-direction: column; padding: clamp(22px, 2.2vw, 36px); color: var(--on-accent); text-decoration: none; }
.pack--quote .pack__n { padding-bottom: 0; margin-bottom: auto; }
.pack--quote h3 { margin-top: 30px; }
.pack--quote .pack__n, .pack--quote h3 { color: var(--on-accent); }
.pack--quote p { color: rgba(10, 9, 8, .82); }
.pack--quote b { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font: 500 .75rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.pack--quote i { font-style: normal; transition: translate .5s var(--ease); }
.pack--quote a:hover i, .pack--quote a:focus-visible i { translate: 6px 0; }
.pack--quote a:focus-visible { outline: 2px solid var(--ink); outline-offset: -8px; }
@media (max-width: 900px) { .packs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .packs { grid-template-columns: 1fr; }
  .pack__n { padding-bottom: 16px; }
  .pack--quote h3 { margin-top: 16px; }
}

/* ================= What you receive ================= */

.prints { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(30px, 4vw, 70px) clamp(22px, 3vw, 56px); align-items: end; margin: 0; padding: 0; list-style: none; }
.print { display: block; height: clamp(130px, 13vw, 220px); max-width: 100%; aspect-ratio: var(--ar); margin-bottom: 26px; border-radius: 8px; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 24px 50px rgba(0, 0, 0, .55); }
.print img { width: 100%; height: 100%; object-fit: cover; object-position: var(--op, 50% 50%); transition: transform 2.4s var(--ease); }
.prints li:hover .print img { transform: scale(1.05); }
.prints b { display: block; margin-bottom: 10px; font: 500 .75rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.prints h3 { margin-bottom: 8px; font: italic 400 clamp(1.5rem, .9vw + 1.2rem, 2.1rem)/1.08 var(--bodoni); letter-spacing: -.014em; color: var(--ink); }
.prints p { font-size: 1.04rem; line-height: 1.5; }
@media (max-width: 900px) { .prints { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .prints { grid-template-columns: 1fr; } .print { height: 180px; } }

/* ================= How a shoot works ================= */

.takes { counter-reset: take; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(22px, 3vw, 56px); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.takes li { counter-increment: take; position: relative; padding-top: 58px; }
.takes li::before { content: counter(take); position: absolute; left: 0; top: -24px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--accent); background: var(--ground); font: italic 400 1.5rem/1 var(--bodoni); color: var(--accent-hi); transition: background-color .6s var(--ease), color .6s var(--ease); }
.takes li:hover::before { background: var(--accent); color: var(--on-accent); }
.takes h3 { margin-bottom: 8px; font: italic 400 clamp(1.5rem, .9vw + 1.2rem, 2.1rem)/1.08 var(--bodoni); letter-spacing: -.014em; color: var(--ink); }
.takes p { font-size: 1.04rem; line-height: 1.5; max-width: 30ch; }
@media (max-width: 860px) { .takes { grid-template-columns: 1fr 1fr; row-gap: 64px; } }
@media (max-width: 520px) { .takes { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); row-gap: 34px; margin-left: 24px; } .takes li { padding: 0 0 0 46px; } .takes li::before { left: -24px; top: -8px; } }

/* ================= For your website ================= */

.nr-web { background: linear-gradient(#11100e, #0a0908); }
.nr-web__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 20px clamp(24px, 5vw, 96px); align-items: start; }
.nr-web p { max-width: 34em; font-size: 1.08rem; }
.nr-web p + p { margin-top: 1em; }
.nr-web .link { margin-top: 26px; }
@media (max-width: 900px) { .nr-web__in { grid-template-columns: 1fr; } }

/* ================= Contact ================= */

.contact--noir .card-label { --ground: #13110f; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-2), 0 40px 90px rgba(0, 0, 0, .7); }
.contact--noir .card-label::before { display: none; }
