/* The website's shared styles, used by both designs: reset, focus, the form's structure, the viewer's structure
   and the reduced-motion rules. Each design (spreads/, strip/) sets type, colour and layout. */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
img[data-fade]{opacity:0;transition:opacity .9s cubic-bezier(.2,.7,.1,1)}
img[data-fade].ok{opacity:1}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
ol,ul{list-style:none}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Focus stays visible on white, on black and on photographs: a ring in the text colour with a halo in the opposite. */
:focus-visible{outline:2px solid var(--focus,currentColor);outline-offset:3px;box-shadow:0 0 0 5px var(--halo,transparent)}
:focus:not(:focus-visible){outline:none}

/* Page changes crossfade where the browser supports it */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.45s}

/* The inquiry form: two columns of fields, labels above lines */
.inq-form{display:grid;grid-template-columns:1fr 1fr;gap:20px 28px}
.inq-form .field{display:grid;gap:2px}
.inq-form .wide{grid-column:1/-1}
.inq-form label{font-size:12px;letter-spacing:.02em;opacity:.75}
.inq-form input,.inq-form select,.inq-form textarea{width:100%;font:inherit;font-size:17px;color:inherit;background:transparent;border:0;border-bottom:1px solid color-mix(in srgb,currentColor 35%,transparent);border-radius:0;padding:8px 0 9px;appearance:none;-webkit-appearance:none}
.inq-form select{background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(-45deg,transparent 50%,currentColor 50%);background-position:calc(100% - 9px) 55%,calc(100% - 4px) 55%;background-size:5px 5px;background-repeat:no-repeat;padding-right:22px}
.inq-form option{color:#111;background:#fff}
.inq-form textarea{resize:vertical;min-height:96px}
.inq-form input:focus,.inq-form select:focus,.inq-form textarea:focus{outline:none;box-shadow:none;border-bottom:2px solid currentColor;padding-bottom:8px}
.inq-form ::-webkit-calendar-picker-indicator{filter:var(--picker,none);opacity:.6}
.inq-form .send{display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-top:10px}
.inq-form button{padding:15px 30px;background:var(--btn,#111);color:var(--btn-ink,#fff)}
.inq-form .sent{font-size:14px;opacity:.8}
.inq-form .sent:empty{display:none}
.inq-form .sent.bad{opacity:1}
.inq-form [aria-invalid="true"]{border-bottom:2px solid currentColor;padding-bottom:8px}
.inq-form button:disabled{opacity:.6;cursor:default}
.inq-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.inq-form .thanks{font-size:20px;line-height:1.45;max-width:34ch}
.inq-form .thanks:focus{outline:none}
.inq-form .cf-turnstile:empty{display:none}

/* Before any photographs are chosen, and without JavaScript */
.empty-site,.noscript{min-height:100svh;max-width:760px;margin:0 auto;padding:12vh 24px 80px;display:grid;align-content:start;gap:14px}
.empty-site h1,.noscript h1{font-size:clamp(44px,8vw,88px);line-height:1;font-weight:500}
.empty-site h2{font-size:24px;font-weight:500;margin-top:8vh}
.noscript ul{display:flex;gap:18px}.noscript a{text-decoration:underline}
@media (max-width:760px){.inq-form{grid-template-columns:1fr}}

/* The viewer: one photograph, as large as the screen allows */
.viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;padding:0;overflow:hidden;background:var(--v-bg,#000);color:var(--v-ink,#fff)}
.viewer::backdrop{background:var(--v-bg,#000)}
.v-stage{position:absolute;inset:var(--v-inset,56px 72px 64px)}
.v-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transition:opacity .5s ease}
.v-img.on{opacity:1}
.v-bar{position:absolute;left:24px;right:24px;bottom:18px;display:flex;justify-content:space-between;gap:20px;font-size:13px}
.v-x{position:absolute;top:16px;right:20px;padding:6px 4px;font-size:13px}
.v-prev,.v-next{position:absolute;top:50%;translate:0 -50%;width:56px;height:96px;display:grid;place-items:center}
.v-prev{left:8px}.v-next{right:8px}
.v-prev svg,.v-next svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.2}
@media (max-width:760px){.v-stage{inset:52px 0 72px}.v-prev,.v-next{top:auto;bottom:6px;translate:none;height:56px}.v-bar{bottom:64px}}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}
