/* Mark M Hood Photography. Mobile first: base styles are for phones,
   then min-width queries add the tablet (640px) and desktop (1024px) layouts. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 200 600;
  font-stretch: 100% 125%;
  font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --ground: #fbfbfa;
  --ink: #141414;
  --muted: #55595c;
  --rule: rgba(20, 20, 20, .85);
  --dusk: #34475c;
  --sage: #51603f;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --nav-h: 64px;
  --measure: 56ch;
  --space: 64px;
}
@media (min-width: 640px) { :root { --gutter: 28px; --nav-h: 72px; --space: 96px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; --nav-h: 80px; --space: 140px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 1rem; line-height: 1.6; font-weight: 400; font-stretch: 100%; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; max-width: var(--measure); }
h1, h2, h3 { margin: 0; font-weight: 300; font-stretch: 118%; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.wrap { padding-inline: var(--gutter); max-width: 1480px; margin-inline: auto; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 60; }
.skip-link:focus { top: 8px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; font: 600 1rem/1 var(--font); font-stretch: 104%; text-decoration: none; cursor: pointer; white-space: nowrap; background: var(--ink); color: #fff; border: 2px solid var(--ink); border-radius: 0; transition: background-color .15s, color .15s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 640px) { .btn { min-height: 50px; padding: 0 28px; font-stretch: 108%; } }

/* nav: translucent over the hero, solid once the page scrolls */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--nav-h); color: #fff; background: rgba(12, 12, 12, .3); transition: background-color .35s, color .35s, box-shadow .35s; }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .nav { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
}
.nav.is-solid, .nav.is-open { color: var(--ink); background: var(--ground); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 1px 0 rgba(20, 20, 20, .1); }
.nav__bar { height: 100%; display: flex; align-items: center; gap: 10px; }
.nav__logo { margin-right: auto; display: block; text-decoration: none; line-height: 0; }
.nav__logo img { height: 34px; width: auto; }
.nav:not(.is-solid):not(.is-open) .nav__logo img { filter: brightness(0) invert(1); }
.nav__logo--light img { height: 54px; filter: brightness(0) invert(1); }
.nav .btn { min-height: 40px; padding: 0 14px; font-size: .85rem; font-stretch: 100%; background: #fff; color: var(--ink); border-color: #fff; }
.nav .btn:hover { background: transparent; color: #fff; }
.nav.is-solid .btn, .nav.is-open .btn { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav.is-solid .btn:hover, .nav.is-open .btn:hover { background: transparent; color: var(--ink); }
.nav__toggle { flex: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; display: grid; place-items: center; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .25s, background-color .2s; }
.nav__toggle span { position: relative; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -7px; }
.nav__toggle span::after { top: 7px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span::after { transform: translateY(-7px) rotate(-45deg); }
.nav__links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; background: var(--ground); color: var(--ink); padding: 6px var(--gutter) 20px; box-shadow: 0 12px 24px rgba(0, 0, 0, .12); }
.nav.is-open .nav__links { display: flex; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 1.1rem; padding: 14px 0; border-bottom: 1px solid rgba(20, 20, 20, .12); }
@media (min-width: 640px) {
  .nav__bar { gap: 14px; }
  .nav__logo img { height: 48px; }
  .nav .btn { min-height: 42px; padding: 0 20px; font-size: .95rem; font-stretch: 104%; }
}
@media (min-width: 1024px) {
  .nav__bar { gap: 36px; }
  .nav__logo img { height: 60px; }
  .nav__toggle { display: none; }
  .nav__links { display: flex; position: static; flex-direction: row; gap: 30px; background: none; color: inherit; padding: 0; box-shadow: none; order: 1; }
  .nav .btn { order: 2; }
  .nav__links a { font-size: .98rem; padding: 6px 0; border: 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .18s; }
  .nav__links a:hover { background-size: 100% 2px; }
}

/* hero: a full-bleed photograph, with the words set below it, never on it */
.hero { position: relative; height: 78svh; min-height: 520px; max-height: 980px; background: #1a1a1a; color: #fff; overflow: hidden; }
.hero__stage { position: absolute; inset: 0; cursor: pointer; }
.hslide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1s ease; }
.hslide.is-active { opacity: 1; z-index: 1; }
.hslide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pm, 50% 40%); }
.hslide--tri { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; background: var(--ground); }
.hslide--tri > * { min-width: 0; }
.hslide--tri picture { display: none; height: 100%; }
.hero__stage::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 140px; z-index: 2; pointer-events: none; background: linear-gradient(to bottom, rgba(10,10,10,.4), rgba(10,10,10,0)); }
.hero__half { position: absolute; top: 0; bottom: 0; width: 50%; z-index: 3; border: 0; background: none; padding: 0; cursor: pointer; }
.hero__half--prev { left: 0; cursor: w-resize; }
.hero__half--next { right: 0; cursor: e-resize; }
.hero__strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; background: rgba(12,12,12,.5); display: grid; gap: 16px; padding-block: 20px 22px; }
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
  .hero__strip { background: rgba(12,12,12,.34); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.hero h1 { font-size: clamp(1.55rem, 7vw, 2.1rem); line-height: 1.1; font-stretch: 112%; letter-spacing: -.01em; max-width: 18ch; }
.hero__lead { display: none; font-size: 1rem; line-height: 1.55; max-width: 46ch; color: rgba(255,255,255,.9); }
.hero__links { margin-top: 16px; display: flex; gap: 10px; flex-wrap: nowrap; }
.hero__links .btn { min-height: 46px; padding: 0 12px; font-size: .88rem; font-stretch: 100%; flex: 1 1 auto; }
.hero .btn { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn:hover { background: transparent; color: #fff; }
.hero .btn--line { background: rgba(12,12,12,.35); color: #fff; border-color: #fff; }
.hero .btn--line:hover { background: #fff; color: var(--ink); }
.hero :focus-visible { outline-color: #fff; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__cap { font-size: .92rem; line-height: 1.45; }
.hero__cap b { display: block; font-weight: 600; font-stretch: 108%; }
.hero__cap span { color: rgba(255,255,255,.78); }
.hero__time { display: block; height: 2px; margin-top: 12px; width: 100%; background: rgba(255,255,255,.28); position: relative; }
.hero__time i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero.is-playing .hero__time i { animation: fill 6s linear forwards; }
.hero.is-hold .hero__time i, .hero.is-off .hero__time i { animation-play-state: paused; }
@media (min-width: 640px) {
  .hero { height: 100svh; min-height: 560px; }
  .hslide img { object-position: var(--pd, var(--pm, 50% 40%)); }
  .hero__strip { padding-block: 24px 28px; }
  .hero__lead { display: block; }
  .hero__links .btn { flex: none; padding: 0 20px; font-size: .95rem; font-stretch: 104%; }
  .hslide--tri { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hslide--tri picture { display: block; }
}
@media (min-width: 1024px) {
  .hero { min-height: 620px; }
  .hero__strip { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 40px; align-items: start; padding-block: 26px 34px; }
  .hero h1 { font-size: clamp(1.5rem, 2.3vw, 2.3rem); }
  .hero__links { margin-top: 18px; }
  .hero__cap { text-align: right; font-size: .95rem; }
  .hero__time { margin-left: auto; }
}

/* sections */
.section { padding-block: var(--space) 0; }
.head { margin-bottom: 32px; }
.head h2 { font-size: clamp(2rem, 8vw, 3.5rem); line-height: 1.04; }
.head p { margin-top: 14px; color: var(--muted); }
@media (min-width: 1024px) {
  .head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-bottom: 56px; align-items: end; }
  .head h2 { grid-column: 1 / span 8; font-size: clamp(2.4rem, 4vw, 3.5rem); }
  .head p { grid-column: 9 / span 4; margin-top: 0; }
}

/* galleries: a typographic index, the photograph follows the pointer's row */
.idx { display: grid; gap: 32px; }
.idx__list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.idx__list li { border-bottom: 1px solid rgba(20,20,20,.18); }
.idx__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; color: var(--ink); text-decoration: none; }
.idx__name { font-size: clamp(1.5rem, 6.2vw, 2.2rem); font-weight: 500; font-stretch: 112%; line-height: 1.08; letter-spacing: -.015em; }
.idx__thumb { flex: none; width: 84px; height: 84px; object-fit: cover; background: #d9d9d6; }
.idx__go, .idx__stage { display: none; }
@media (min-width: 1024px) {
  .idx { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .idx__row { padding: clamp(14px, 1.6vw, 22px) 0; color: #9a9a96; transition: color .25s, padding .35s cubic-bezier(.2,.7,.2,1); }
  .idx__name { font-size: clamp(1.9rem, 3.7vw, 3.4rem); font-stretch: 114%; line-height: 1.05; }
  .idx__thumb { display: none; }
  .idx__go { display: block; flex: none; font-weight: 600; font-stretch: 108%; opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .3s; }
  .idx__row.is-on, .idx__row:focus-visible { color: var(--ink); padding-left: 14px; }
  .idx__row.is-on .idx__go, .idx__row:focus-visible .idx__go { opacity: 1; transform: none; }
  .idx__stage { display: block; position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; max-height: calc(100svh - var(--nav-h) - 48px); width: 100%; background: #d9d9d6; overflow: hidden; }
  .idx__img { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .45s ease; }
  .idx__img.is-on { opacity: 1; }
  .idx__img img { width: 100%; height: 100%; object-fit: cover; }
  .idx__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(255,255,255,.94); }
  .idx__play::before { content: ""; position: absolute; left: 29px; top: 23px; border-style: solid; border-width: 13px 0 13px 20px; border-color: transparent transparent transparent var(--ink); }
}

/* price list */
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.row { display: grid; row-gap: 6px; padding-block: 22px; border-bottom: 1px solid var(--rule); }
.row h3 { font-size: clamp(1.5rem, 6vw, 2.2rem); line-height: 1.1; }
.row p { color: var(--muted); }
.row__price { font-size: 1.3rem; font-weight: 300; font-stretch: 118%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.extras { margin-top: 24px; display: grid; gap: 8px; }
.extras p { max-width: none; font-size: .98rem; }
.extras strong { font-weight: 600; }
@media (min-width: 1024px) {
  .row { grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: baseline; padding-block: 26px; }
  .row h3 { grid-column: 1 / span 5; font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
  .row p { grid-column: 6 / span 4; }
  .row__price { grid-column: 10 / span 3; justify-self: end; font-size: clamp(1.3rem, 2vw, 1.7rem); }
  .extras { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 44px; }
}

/* about, and the coloured contact blocks */
.block { margin-top: var(--space); padding-block: clamp(48px, 8vw, 120px); color: #fff; }
.block--dusk { background: var(--dusk); }
.block--sage { background: var(--sage); }
.block .btn { background: #fff; color: var(--ink); border-color: #fff; }
.block .btn:hover { background: transparent; color: #fff; }
.about__photo { margin: 0; }
.about__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 38% 50%; }
.about__text { margin-top: 32px; }
.about h2 { font-size: clamp(2rem, 8vw, 3.5rem); line-height: 1.04; }
.about__text > p { margin-top: 20px; opacity: .92; }
.credits { list-style: none; margin: 28px 0 0; padding: 0; font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 300; font-stretch: 118%; line-height: 1.2; letter-spacing: -.02em; }
.credits li { padding-block: 10px; border-top: 1px solid rgba(255,255,255,.4); }
.credits li:last-child { border-bottom: 1px solid rgba(255,255,255,.4); }
.about .btn-row { margin-top: 28px; }
@media (min-width: 1024px) {
  .about { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
  .about__photo { grid-column: 1 / span 5; }
  .about__photo img { aspect-ratio: 4 / 5; }
  .about__text { grid-column: 7 / span 6; margin-top: 0; }
  .about h2 { font-size: clamp(2.4rem, 4vw, 3.5rem); }
}

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before { content: counter(s); display: block; font-size: 3.4rem; line-height: 1; font-weight: 200; font-stretch: 125%; margin-bottom: 18px; }
.steps h3 { font-size: 1.3rem; font-weight: 500; font-stretch: 112%; line-height: 1.25; }
.steps p { margin-top: 8px; color: var(--muted); }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .steps li::before { font-size: 4rem; margin-bottom: 36px; }
}

/* book */
.book h2 { font-size: clamp(2rem, 8.5vw, 3.9rem); line-height: 1.02; }
.book__text p { margin-top: 18px; }
.book__contact { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.book__contact a { display: flex; align-items: center; gap: 16px; color: #fff; text-decoration: none; }
.book__ic { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); display: grid; place-items: center; transition: background-color .2s, color .2s; }
.book__ic svg { width: 22px; height: 22px; }
.book__contact a:hover .book__ic { background: #fff; color: var(--sage); }
.book__small { display: block; font-size: .9rem; opacity: .85; }
.book__val { display: block; font-size: clamp(1.05rem, 5.2vw, 1.5rem); font-weight: 400; font-stretch: 108%; line-height: 1.2; overflow-wrap: anywhere; }
.form { margin-top: 36px; display: grid; gap: 20px; }
.field { display: grid; gap: 4px; }
.field label { font-size: .92rem; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 0; font: inherit; font-size: 1rem; color: #fff; background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,.7); border-radius: 0; color-scheme: dark; }
.field select option { color: #111; background: #fff; }
.field textarea { min-height: 84px; resize: vertical; }
.field input::placeholder { color: rgba(255,255,255,.7); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 0; border-bottom-color: #fff; box-shadow: 0 3px 0 0 #fff; }
.form__status { min-height: 1.5em; font-weight: 600; }
@media (min-width: 640px) {
  .form { grid-template-columns: 1fr 1fr; gap: 22px 20px; }
  .field--full, .form .btn-row, .form__status { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .book { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
  .book__text { grid-column: 1 / span 5; }
  .book h2 { font-size: clamp(2.2rem, 4.4vw, 3.9rem); }
  .book__val { font-size: clamp(1.15rem, 1.9vw, 1.5rem); }
  .form { grid-column: 7 / span 6; margin-top: 0; }
}

/* footer */
.footer { background: var(--ink); color: #c9cbcc; }
.footer__in { padding-block: 48px 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand .nav__logo--light img { height: 56px; }
.footer__brand p { margin-top: 18px; max-width: 32ch; line-height: 1.55; }
.footer h2 { font-size: .95rem; font-weight: 600; font-stretch: 108%; color: #fff; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer a { color: #c9cbcc; text-decoration: none; display: inline-block; padding-block: 5px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__line { display: flex; align-items: center; gap: 10px; }
.footer__line svg { flex: none; width: 18px; height: 18px; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; display: grid; place-items: center; color: #fff; transition: background-color .2s, color .2s; }
.footer__social a:hover { background: #fff; color: var(--ink); text-decoration: none; }
.footer__social svg { width: 18px; height: 18px; }
.footer__base { border-top: 1px solid rgba(255,255,255,.16); }
.footer__base .wrap { padding-block: 20px 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: .9rem; color: #9a9d9f; }
@media (min-width: 1024px) {
  .footer__in { padding-block: clamp(56px, 6vw, 88px) 36px; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2fr)); gap: 40px clamp(24px, 4vw, 64px); }
  .footer__brand { grid-column: auto; }
  .footer__brand .nav__logo--light img { height: 64px; }
  .footer ul { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hslide, .idx__img, .idx__row { transition: none; }
}
