/* The Art of Looking Slowly */

@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dmsans-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/dmsans-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ivory: #F3F0E9;
  --charcoal: #242720;
  --forest: #171D18;
  --olive: #62665C;
  --moss: #66715B;
  --stone: #D8D5CB;
  --mist: #A9AEA0;

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(88px, 13vw, 200px);
  --display: clamp(3.5rem, 11vw, 10rem);
  --page-top: clamp(120px, 15vw, 200px);
  --page-gap: clamp(36px, 5vw, 64px);
  --dur-ui: 240ms;
  --dur-image: 1100ms;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-slow: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-film: cubic-bezier(0.77, 0, 0.175, 1);

  /* The whole site sits on the forest ground set by the landing reel. */
  --ground: var(--forest);
  --ink: var(--ivory);
  --quiet: var(--mist);
  --rule: #333B33;
  --error: #E9A794;
  color-scheme: dark;
}

.tone-forest { --ground: var(--forest); --ink: var(--ivory); --quiet: var(--mist); --rule: #333B33; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 260ms; animation-timing-function: ease; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; scrollbar-color: var(--moss) transparent; scrollbar-width: thin; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.tone-forest { background: var(--forest); }
h1, h2, p, figure, blockquote { margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.02; letter-spacing: -0.02em; text-wrap: balance; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--moss); color: var(--ivory); }
:focus-visible { outline: 2px solid var(--ivory); outline-offset: 3px; }
.tone-forest :focus-visible, .hero :focus-visible, .viewer :focus-visible, .site-foot :focus-visible { outline-color: var(--ivory); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 40; padding: 10px 16px; background: var(--ivory); color: var(--forest); }
.skip:focus { top: 12px; }

.link { display: inline-block; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--mist); padding-block: 10px; transition: text-underline-offset 200ms var(--ease); }
.link--quiet { color: var(--quiet); }
@media (hover: hover) { .link:hover { text-underline-offset: 3px; } }

/* Header */
.site-head { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); color: var(--ink); transition: transform 280ms var(--ease), background-color 200ms ease; }
.admin-bar .site-head { top: 32px; }
.site-head--over { color: var(--ivory); }
.site-head.is-stuck { position: fixed; color: var(--ivory); background: var(--forest); border-bottom: 1px solid var(--rule); padding-block: 8px; }
.site-head.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand__mark { width: 40px; height: 60px; object-fit: contain; }
.is-stuck .brand__mark { width: 30px; height: 44px; }
.brand__mark--paper { display: none; }
.tone-forest .brand__mark--ink, .site-head--over .brand__mark--ink { display: none; }
.tone-forest .brand__mark--paper, .site-head--over .brand__mark--paper { display: block; }
.brand__name { font: 400 1.35rem/1 var(--serif); }
.site-nav { display: flex; gap: clamp(20px, 3vw, 40px); }
.site-nav a { font-size: 15px; text-decoration: none; padding-block: 12px; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 8px) / 0 1px no-repeat; transition: background-size var(--dur-ui) var(--ease); }
.site-nav a[aria-current] { background-size: 100% 1px; }
@media (hover: hover) { .site-nav a:hover { background-size: 100% 1px; } }
.menu-open { display: none; min-height: 44px; padding-inline: 4px; font-size: 16px; }

.menu { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 24px var(--gutter); border: 0; background: var(--forest); color: var(--ivory); }
.menu::backdrop { background: var(--forest); }
.menu__close { display: block; margin-left: auto; min-height: 44px; }
.menu nav { display: flex; flex-direction: column; margin-top: 6vh; }
.menu nav a { font: 400 clamp(2.5rem, 12vw, 3.5rem)/1.25 var(--serif); text-decoration: none; }
.menu nav a[aria-current] { color: var(--mist); }

/* Photographs */
.photo { position: relative; }
.photo__open { display: block; width: 100%; cursor: zoom-in; overflow: hidden; }
.photo__open img { width: 100%; transition: transform 900ms var(--ease-slow); }
.photo figcaption { margin-top: 10px; font-size: 14px; color: var(--quiet); }
@media (hover: hover) and (pointer: fine) { .photo__open:hover img { transform: scale(1.015); } }

.js [data-reveal] > * { clip-path: inset(0 0 6% 0); opacity: 0; translate: 0 20px; transition: clip-path var(--dur-image) var(--ease-slow), opacity 700ms ease, translate var(--dur-image) var(--ease-slow); }
.js [data-reveal].is-in > * { clip-path: inset(0); opacity: 1; translate: none; }

/* Scene 1. The snake, full screen. The name is set in the black field beside it,
   off centre, and the photograph settles as the eye adjusts to the dark. */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; background: #050505; color: var(--ivory); overflow: hidden; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; animation: settle 2400ms var(--ease-slow) both; }
.hero::before { content: ""; position: absolute; z-index: 1; inset: 0 0 auto; height: 160px; background: linear-gradient(to bottom, rgb(5 5 5 / .55), rgb(5 5 5 / 0)); }
.hero__text { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(48px, 7vw, 104px); }
.hero__name { font: 400 clamp(4rem, 9vw, 9.5rem)/.9 var(--serif); letter-spacing: -0.03em; }
.hero__name span { display: block; animation: rise 1200ms var(--ease-slow) both; animation-delay: 500ms; }
.hero__name span + span { padding-left: .42em; animation-delay: 640ms; }
.hero__line { margin-top: clamp(18px, 2vw, 28px); font: italic 400 clamp(1.2rem, 1.6vw, 1.55rem)/1.3 var(--serif); color: rgb(243 240 233 / .82); animation: rise 1200ms 820ms var(--ease-slow) both; }
.home .site-head:not(.is-stuck) { animation: fade 900ms 900ms ease both; }
/* On portrait screens the photograph holds the top and fades into its own black, so the name never covers the head. */
@media (max-aspect-ratio: 1/1) {
  .hero__image { height: 76%; object-position: 50% 50%; -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent); mask-image: linear-gradient(to bottom, #000 78%, transparent); }
  .hero__name { font-size: clamp(4rem, 21vw, 9rem); }
}
.is-settled .hero__image, .is-settled .hero__name span, .is-settled .hero__line, .is-settled .site-head { animation: none; }
@keyframes settle { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scene 1. The reel, the landing. By default a plain grid of the six collections. When motion is
   allowed (.motion, set in the head) it takes its live layout from the first paint: the section
   pins, the two halves of the name pass each other and the photographs ride a ribbon around the
   viewer before landing in the same grid. If WebGL or the module fails it falls back (.reel--static). */
.reel { background: var(--forest); color: var(--ivory); padding: var(--section) var(--gutter); }
.reel__stage { position: relative; }
.reel__head { font: 400 clamp(3rem, 8vw, 8rem)/.96 var(--serif); letter-spacing: -0.03em; }
.reel__line { display: block; }
.reel__line--b { padding-left: .6em; }
.reel__cap { margin-top: 24px; font: italic 400 clamp(1.15rem, 1.5vw, 1.45rem)/1.2 var(--serif); color: var(--mist); }
.reel__canvas { display: none; }
.reel__grid { list-style: none; margin: clamp(48px, 6vw, 88px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(40px, 5vw, 72px) 2%; }
.reel__item { display: block; text-decoration: none; color: inherit; }
.reel__image { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.reel__image img { width: 100%; height: 100%; object-fit: cover; }
.reel__title { display: block; margin-top: 12px; font: 400 clamp(1.15rem, 1.6vw, 1.6rem)/1.1 var(--serif); }
@media (hover: hover) { .reel__item:hover .reel__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--mist); } }

.motion .reel:not(.reel--static) { height: 600vh; padding: 0; }
.motion .reel:not(.reel--static) .reel__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.motion .reel:not(.reel--static) .reel__head { position: absolute; inset: 0; pointer-events: none; }
.motion .reel:not(.reel--static) .reel__stage { --reel-type: clamp(48px, 8.4vw, 160px); --reel-mid: 44%; }
.motion .reel:not(.reel--static) .reel__line { position: absolute; left: 0; right: 0; padding: 0; text-align: center; white-space: nowrap; font-size: var(--reel-type); line-height: 1; will-change: transform; }
.motion .reel:not(.reel--static) .reel__line > span { display: inline-block; }
.motion .reel:not(.reel--static) .reel__line--a { top: calc(var(--reel-mid) - .98em); }
.motion .reel:not(.reel--static) .reel__line--a > span { margin-right: 15vw; }
.motion .reel:not(.reel--static) .reel__line--b { top: calc(var(--reel-mid) + .03em); }
.motion .reel:not(.reel--static) .reel__line--b > span { margin-left: 15vw; }
/* The line sits just beneath "Anand", clear of the descender in "Tanya". */
.motion .reel:not(.reel--static) .reel__cap { position: absolute; left: 50%; top: calc(var(--reel-mid) + var(--reel-type) * 1.18); margin: 0; transform: translateX(-50%); white-space: nowrap; }
.motion .reel:not(.reel--static) .reel__canvas { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.motion .reel:not(.reel--static) .reel__grid { position: absolute; inset: 0; margin: 0; display: block; pointer-events: none; }
.motion .reel:not(.reel--static) .reel__item { position: absolute; opacity: 0; }
.motion .reel:not(.reel--static) .reel__image { visibility: hidden; }
.motion .reel:not(.reel--static) .reel__title { position: absolute; top: 100%; left: 0; margin-top: 12px; white-space: nowrap; }
.motion .reel:not(.reel--static).is-landed .reel__item { opacity: 1; pointer-events: auto; transition: opacity 500ms ease; }
@media (max-width: 899px) {
  .reel__grid { grid-template-columns: repeat(2, 1fr); }
  .motion .reel:not(.reel--static) { height: 500vh; }
  .motion .reel:not(.reel--static) .reel__stage { --reel-type: clamp(56px, 17vw, 120px); --reel-mid: 30%; }
  .motion .reel:not(.reel--static) .reel__title { margin-top: 8px; font-size: 1.05rem; }
}

/* Scene 3. A hung sequence: each picture's scale and position follow its own shape. */
.hang { background: var(--forest); color: var(--ivory); padding: var(--section) var(--gutter); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: clamp(64px, 10vw, 168px); }
.hang__wide { grid-column: 1 / 9; }
.hang__tall { grid-column: 9 / 13; grid-row: 1; align-self: start; }
.hang__quote { grid-column: 2 / 8; grid-row: 1; align-self: center; font: italic 400 clamp(2.5rem, 5.4vw, 5.25rem)/1.04 var(--serif); letter-spacing: -0.015em; }
.hang__pair-a { grid-column: 1 / 5; align-self: start; margin-top: 14vw; }
.hang__pair-b { grid-column: 6 / 13; }
.hang__bleed { grid-column: 1 / -1; margin: 0 calc(var(--gutter) * -1) calc(var(--section) * -1); }

/* Scene 4. Collections as an exhibition index, shared with the Collections page. */
.exhibition-wrap { padding: var(--section) var(--gutter); }
.section-label { font: 500 14px/1.4 var(--sans); letter-spacing: .04em; color: var(--quiet); padding-bottom: 18px; }
.exhibition { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); position: relative; }
.index .exhibition { margin-top: clamp(40px, 6vw, 88px); }
.exhibition__item { border-bottom: 1px solid var(--rule); }
.exhibition__link { display: grid; grid-template-columns: clamp(2.5rem, 5vw, 4.5rem) 1fr; align-items: baseline; padding-block: clamp(18px, 2vw, 28px); text-decoration: none; }
.exhibition__no { font: 400 14px/1 var(--sans); color: var(--quiet); font-variant-numeric: tabular-nums; }
.exhibition__title { font: 400 clamp(2.5rem, 5.4vw, 5.25rem)/1 var(--serif); letter-spacing: -0.025em; transition: color var(--dur-ui) ease, translate 600ms var(--ease); }
.exhibition__meta { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 24px; margin-top: 10px; font-size: 14px; color: var(--quiet); }
.exhibition__image { grid-column: 1 / -1; grid-row: 1; display: block; aspect-ratio: 3 / 2; overflow: hidden; margin-bottom: 18px; }
.exhibition__image img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  .exhibition { padding-right: 56%; border-top: 0; }
  .exhibition__item:first-child { border-top: 1px solid var(--rule); }
  .exhibition__image { position: absolute; top: 0; right: 0; width: 52%; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 800ms var(--ease-film); pointer-events: none; }
  .exhibition__image img { scale: 1.1; transition: scale 1400ms var(--ease-slow); }
  .exhibition__link:is(:hover, :focus-visible) .exhibition__image,
  .exhibition:not(:has(.exhibition__link:is(:hover, :focus-visible))) .exhibition__item:first-child .exhibition__image { z-index: 1; clip-path: inset(0); }
  .exhibition__link:is(:hover, :focus-visible) .exhibition__image img,
  .exhibition:not(:has(.exhibition__link:is(:hover, :focus-visible))) .exhibition__item:first-child .exhibition__image img { scale: 1; }
  .exhibition:has(.exhibition__link:hover) .exhibition__link:not(:hover) .exhibition__title { color: var(--quiet); }
  .exhibition__link:is(:hover, :focus-visible) .exhibition__title { translate: 14px 0; }
  .exhibition__meta { margin-top: 8px; }
}

/* Scene 6. Field Notes by title and opening line. */
.journal { padding: var(--section) var(--gutter); }
.journal__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--rule); }
.journal__item { display: block; padding-top: 22px; text-decoration: none; }
.journal__title { display: block; font: 400 clamp(1.9rem, 2.8vw, 2.75rem)/1.04 var(--serif); letter-spacing: -0.015em; }
.journal__line { display: block; margin-top: 10px; max-width: 34ch; color: var(--quiet); font-size: 15px; }
@media (hover: hover) { .journal__item:hover .journal__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: var(--moss); } }
@media (max-width: 899px) { .journal__list { grid-template-columns: 1fr; } }

/* Scene 5. One paragraph of Tanya's own, beside one photograph. */
.aside { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; padding: 0 var(--gutter) var(--section) 0; }
.aside__image { grid-column: 1 / 7; }
.aside__text { grid-column: 8 / 12; }
.aside__text p { font: 400 clamp(1.6rem, 2.4vw, 2.15rem)/1.3 var(--serif); margin-bottom: 24px; }

/* Closing: the last photograph at full width, its line set beneath it on the page. */
.closing { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding-bottom: var(--section); }
/* The words sit in the dark upper sky of the sunset; a soft fall-off from the top keeps them legible. */
.closing__image { grid-column: 1 / -1; grid-row: 1; width: 100%; }
.closing::after { content: ""; grid-column: 1 / -1; grid-row: 1; pointer-events: none; background: linear-gradient(to bottom, color-mix(in srgb, var(--forest) 70%, transparent), color-mix(in srgb, var(--forest) 48%, transparent) 46%, transparent 74%); }
.closing__text { grid-column: 2 / 10; grid-row: 1; align-self: start; position: relative; z-index: 1; padding-top: clamp(56px, 7vw, 120px); }
.closing p { font: 400 clamp(2.25rem, 4.6vw, 4.5rem)/1.06 var(--serif); letter-spacing: -0.015em; max-width: 17ch; margin-bottom: 20px; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); background: var(--forest); color: var(--ivory); padding: clamp(56px, 8vw, 96px) var(--gutter) 32px; display: grid; grid-template-columns: 1fr 2fr; gap: 28px 24px; align-items: start; }
.site-foot__mark img { width: 56px; height: auto; }
.site-foot__line { font: 400 clamp(1.5rem, 2.6vw, 2.25rem)/1.2 var(--serif); max-width: 24ch; }
.site-foot nav { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 28px; }
.site-foot nav a { text-decoration: none; padding-block: 10px; font-size: 15px; }
@media (hover: hover) { .site-foot nav a:hover { text-decoration: underline; text-underline-offset: 5px; } }
.site-foot__legal { grid-column: 2; font-size: 14px; color: var(--mist); }

/* Viewer */
.viewer { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: #121513; color: var(--ivory); overflow: hidden; }
.viewer[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.viewer::backdrop { background: #121513; }
.viewer__stage { display: grid; place-items: center; min-height: 0; padding: clamp(12px, 3vw, 40px) clamp(0px, 6vw, 88px) 0; touch-action: pan-y pinch-zoom; }
.viewer__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.viewer__caption { min-height: 48px; padding: 12px var(--gutter); text-align: center; font-size: 15px; color: var(--mist); }
.viewer__close { position: absolute; top: 8px; right: var(--gutter); min-width: 44px; min-height: 44px; }
.viewer__nav { position: absolute; top: 50%; translate: 0 -50%; width: 56px; height: 72px; display: grid; place-items: center; color: var(--ivory); }
.viewer__nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.viewer__nav--prev { left: 8px; } .viewer__nav--next { right: 8px; }

/* Index pages */
.page-title, .collection__head h1, .note__head h1, .about__title, .enquiry__intro h1 { font-size: var(--display); line-height: 1; }
.page-title { padding-top: var(--page-top); }
.index, .notes, .plain { padding: 0 var(--gutter) var(--section); }
.plain .prose { margin-top: 40px; }

/* Collection */
.collection { background: var(--ground); color: var(--ink); padding-bottom: var(--section); }
.collection__head { padding: var(--page-top) var(--gutter) clamp(64px, 8vw, 120px); }
.collection__head p { margin-top: 14px; font: italic 400 clamp(1.35rem, 2.2vw, 1.85rem)/1.3 var(--serif); color: var(--quiet); }
.collection__intro { max-width: 62ch; margin: 0 var(--gutter) clamp(64px, 8vw, 120px); }

/* The wall. One photograph to a row, never cropped, never taller than the screen.
   The lead opens wide; the rest alternate sides, portraits on a narrower span. */
.wall { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: clamp(96px, 11vw, 176px); padding: 0 var(--gutter); }
.wall .photo__open { display: flex; }
.wall .photo__open img { width: auto; max-width: 100%; height: auto; max-height: 86svh; }
.wall--right .photo__open { justify-content: flex-end; }
.wall--right figcaption { text-align: right; }
.wall__lead { grid-column: 1 / -1; }
.wall__lead--tall { grid-column: 1 / 7; }
.wall__wide.wall--left { grid-column: 1 / 9; }
.wall__wide.wall--right { grid-column: 5 / 13; }
.wall__tall.wall--left { grid-column: 2 / 7; }
.wall__tall.wall--right { grid-column: 7 / 12; }
.wall .collection__note { grid-column: 3 / 11; }
.collection__note p { font: italic 400 clamp(2.25rem, 5vw, 4.75rem)/1.08 var(--serif); max-width: 22ch; }
.collection__note .link { display: inline-block; margin-top: 20px; }

.next-room { position: relative; display: grid; align-items: end; height: 72svh; overflow: hidden; color: var(--ivory); text-decoration: none; background: var(--forest); }
.next-room img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-image) var(--ease-slow); }
.next-room::after { content: ""; position: absolute; inset: auto 0 0; height: 60%; background: linear-gradient(to top, rgb(23 29 24 / .7), rgb(23 29 24 / 0)); }
.next-room span { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(28px, 4vw, 48px); font: 400 clamp(3rem, 8vw, 7.5rem)/1 var(--serif); }
.next-room small, .note__next small { display: block; font: 400 15px/1.5 var(--sans); margin-bottom: 8px; }

/* Long form */
.prose { font: 500 clamp(1.3rem, 1.7vw, 1.45rem)/1.5 var(--serif); }
.prose p { margin-bottom: 1.1em; max-width: 62ch; }
.prose .lede { font-size: clamp(1.7rem, 2.8vw, 2.35rem); line-height: 1.26; font-weight: 400; max-width: 34ch; margin-bottom: 1.2em; }

/* About */
.about { padding: var(--page-top) var(--gutter) var(--section); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.about__head { grid-column: 1 / 7; grid-row: 1; align-self: end; padding-bottom: 8px; }
.about__byline { margin-top: 22px; font: 400 14px/1.4 var(--sans); color: var(--quiet); }
.about__title { font-size: clamp(3.5rem, 8vw, 8.5rem); max-width: 7ch; }
.about__image { grid-column: 7 / 13; grid-row: 1; margin: 0 calc(var(--gutter) * -1) 0 0; }
.about__prose { grid-column: 3 / 11; margin-top: clamp(64px, 9vw, 136px); }
.about__sign { grid-column: 3 / 11; }
.about__sign img { width: 56px; height: auto; }

/* Field notes */
.notes__list { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--rule); }
.notes__item { display: grid; grid-template-columns: 4fr 5fr 2fr; column-gap: 24px; align-items: start; padding-block: clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--rule); text-decoration: none; }
.notes__title { font: 400 clamp(2.25rem, 4.2vw, 3.75rem)/1.05 var(--serif); letter-spacing: -0.015em; }
.notes__line { max-width: 44ch; color: var(--quiet); padding-top: .4em; }
.notes__image { display: block; aspect-ratio: 3/2; overflow: hidden; }
.notes__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-image) var(--ease-slow); }
.note { padding-bottom: var(--section); }
.note__head { padding: var(--page-top) var(--gutter) var(--page-gap); }
.note__head h1 { margin-top: 12px; }
.note__opening img { width: 100%; }
.note__body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: clamp(56px, 8vw, 112px) var(--gutter) 0; }
.note__body > p { grid-column: 3 / 11; }
.note__photo { margin-block: clamp(32px, 5vw, 72px) clamp(40px, 6vw, 88px); }
.note__photo--right { grid-column: 6 / 13; margin-right: calc(var(--gutter) * -1); }
.note__photo--left { grid-column: 1 / 8; margin-left: calc(var(--gutter) * -1); }
.note__foot { margin: clamp(48px, 7vw, 96px) var(--gutter) 0; padding-top: 28px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.note__next { font: 400 clamp(2rem, 4vw, 3.5rem)/1.05 var(--serif); text-decoration: none; text-align: right; }

/* Enquiries */
.enquiry { min-height: 100svh; padding: var(--page-top) var(--gutter) var(--section); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; align-items: start; }
.enquiry__intro { grid-column: 1 / 7; }
.enquiry__intro h1 { font-size: clamp(3.25rem, 7.2vw, 6.75rem); margin-bottom: 28px; }
.enquiry__intro p { max-width: 44ch; margin-bottom: 16px; }
.enquiry__image { margin-top: 32px; }
.enquiry__form { grid-column: 8 / 13; padding-top: .8rem; scroll-margin-top: 96px; }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 15px; margin-bottom: 4px; }
.field label span { color: var(--quiet); }
.field input, .field textarea, .field select { width: 100%; font: 400 17px/1.5 var(--sans); color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--mist); border-radius: 0; padding: 10px 0; caret-color: var(--ivory); }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-bottom: 2px solid var(--ivory); padding-bottom: 9px; }
.field textarea { resize: vertical; }
.field--error input, .field--error textarea, .field--error select { border-bottom-color: var(--error); }
.field__error { margin-top: 6px; font-size: 15px; color: var(--error); }
.field-trap { position: absolute; left: -9999px; }
.form-errors { margin-bottom: 24px; color: var(--error); }
.form-errors ul { list-style: none; margin: 8px 0 0; padding: 0; }
.form-errors a { color: inherit; text-decoration: underline; text-underline-offset: 4px; display: inline-block; padding-block: 4px; }
.form-sent { font: italic 400 clamp(2rem, 3.4vw, 3rem)/1.15 var(--serif); }
.button { min-height: 48px; padding: 12px 28px; background: var(--ivory); color: var(--forest); font-size: 16px; transition: transform 140ms var(--ease), background-color 200ms ease; }
.button:active { transform: scale(0.97); }
.button[disabled] { opacity: .6; cursor: wait; }
@media (hover: hover) { .button:hover { background: var(--mist); } }
.field select option { background: var(--forest); color: var(--ivory); }

/* Slow drift on the two full-bleed moments, scroll-linked without touching scroll itself */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .next-room img { scale: 1.06; animation: drift linear both; animation-timeline: view(); }
    @keyframes drift { from { translate: 0 -2.5%; } to { translate: 0 2.5%; } }
  }
  /* The menu sets its links one after another; the viewer crossfades between photographs. */
  .menu[open] { animation: fade 280ms ease both; }
  .menu[open] nav a { animation: rise 700ms var(--ease-slow) both; }
  .menu[open] nav a:nth-child(2) { animation-delay: 50ms; } .menu[open] nav a:nth-child(3) { animation-delay: 100ms; }
  .menu[open] nav a:nth-child(4) { animation-delay: 150ms; } .menu[open] nav a:nth-child(5) { animation-delay: 200ms; }
  .menu[open] nav a:nth-child(6) { animation-delay: 250ms; }
  .viewer__stage img { transition: opacity 360ms ease, scale 600ms var(--ease); }
  .viewer__stage img.is-loading { opacity: 0; scale: 0.985; }
  ::view-transition-old(root) { animation: 220ms ease both fade-out; }
  ::view-transition-new(root) { animation: 420ms var(--ease) both page-in; }
  @keyframes fade-out { to { opacity: 0; } }
  @keyframes page-in { from { opacity: 0; translate: 0 10px; } }
}

/* Tablet and phone */
@media (max-width: 899px) {
  .site-nav { display: none; }
  .menu-open { display: block; }
  .brand__mark { width: 34px; height: 51px; }
  .hang, .aside, .closing, .wall, .about, .note__body, .enquiry { display: block; }
  .hang > * { margin: 0 0 56px; }
  .hang__wide, .hang__pair-b { margin-inline: calc(var(--gutter) * -1); }
  .hang__wide figcaption, .hang__pair-b figcaption { padding-inline: var(--gutter); }
  .hang__tall { width: 70%; margin-left: auto; }
  .hang__pair-a { width: 78%; }
  .hang__quote { padding-block: 24px; }
  .hang__bleed { margin: 0 calc(var(--gutter) * -1) calc(var(--section) * -1); }
  .aside { padding-right: 0; }
  .closing { display: grid; }
  .closing__image { aspect-ratio: 4 / 5; height: auto; object-fit: cover; }
  .closing__text { grid-column: 1 / -1; padding: 48px var(--gutter) 0; }
  .aside__text { padding: 36px var(--gutter) 0; }
  .wall > * + * { margin-top: 64px; }
  .wall .photo__open img { max-height: 80svh; }
  .wall__tall { width: 82%; }
  .wall__tall.wall--right { margin-left: auto; }
  .about__image { margin: 40px calc(var(--gutter) * -1) 0; }
  .note__photo { margin-inline: calc(var(--gutter) * -1) !important; }
  .notes__item { grid-template-columns: 1fr; row-gap: 12px; }
  .notes__image { order: -1; }
  .enquiry__form { margin-top: 48px; }
  .note__foot { flex-direction: column; align-items: flex-start; }
  .note__next { text-align: left; }
  .site-foot { grid-template-columns: 1fr; }
  .site-foot nav, .site-foot__legal { grid-column: 1; }
  .viewer__nav { display: none; }
}

@media (max-width: 782px) { .admin-bar .site-head { top: 46px; } }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .js [data-reveal] > * { clip-path: none; opacity: 1; translate: none; }
}

@media print {
  .site-head, .site-foot, .viewer, .menu { display: none; }
  .js [data-reveal] > * { clip-path: none; opacity: 1; translate: none; }
}
