@font-face {
  font-family: Manrope;
  src: url("fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/nunito-sans.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("fonts/nunito-sans-italic.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #f9f5e7;
  --light: #ebeaeb;
  --ink: #000;
  --header-height: calc(91.296px + 1.654vw);
  color: var(--ink);
  background: var(--cream);
  font: 400 16px/1.5 "Nunito Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p { margin: 0; }
body { overflow-anchor: none; --header-shift: 0px; }
img { display: block; }
a { color: inherit; text-underline-offset: .18em; }
button { color: inherit; font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
html.has-overlay { overflow: hidden; }

.skip-link {
  position: fixed;
  z-index: 30;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  transform: translateY(-150%);
  color: var(--cream);
  background: var(--ink);
}
.skip-link:focus { transform: none; }
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  height: var(--header-height);
  align-items: center;
  padding-inline: 6vw;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.brand { position: absolute; }
.brand img { width: 144.36px; height: 61px; }
.site-header > .instagram, .desktop-nav { display: none; }
.menu-toggle {
  position: relative;
  display: block;
  width: 47px;
  height: 44px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.menu-toggle span { position: absolute; left: 6px; top: calc(50% - .5px); width: 35px; height: 1px; background: currentColor; }
.menu-toggle span:first-child { transform: translateY(-5.5px); }
.menu-toggle span:last-child { transform: translateY(5.5px); }
.menu-toggle[aria-expanded="true"] span { width: 28px; left: 9.5px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.site-header:has(.menu-toggle[aria-expanded="true"]) { background: transparent; box-shadow: none; }
.mobile-menu {
  --menu-type: 8.5vmin;
  --menu-row: calc(var(--menu-type) + 7.4vw);
  position: fixed;
  z-index: 9;
  inset: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--header-height) 6vw calc(6vw + 15px);
  background: var(--light);
  text-align: center;
}
.mobile-menu div {
  display: grid;
  grid-template-rows: repeat(4, var(--menu-row));
  justify-items: center;
  align-items: center;
  margin: auto 0;
}
.mobile-menu div a { font-size: var(--menu-type); line-height: 1; text-decoration: none; }
.instagram { display: inline-grid; place-items: center; width: 32px; height: 32px; }
.mobile-menu .instagram { flex: none; width: 25px; height: 25px; margin-top: 15px; }
.mobile-menu .instagram img { width: 25px; height: 25px; }

@media (min-width: 576px) { .mobile-menu { --menu-type: 6.6vmin; } }
@media (min-width: 768px) { .mobile-menu { --menu-type: 6vmin; } }
@media (min-width: 800px) {
  .site-header { padding-inline: 3vw; justify-content: space-between; }
  .brand { line-height: 0; }
  .brand img { width: 161.609375px; height: 79.984375px; }
  .menu-toggle, .mobile-menu { display: none; }
  .desktop-nav { display: flex; flex-wrap: wrap; width: 31.176vw; column-gap: .8vw; }
  .desktop-nav a { position: relative; display: inline-block; padding-block: 1.6px; text-decoration: none; white-space: nowrap; }
  .desktop-nav a[aria-current="page"]::after { content: ''; position: absolute; inset: auto 0 .1em; height: 1px; background: currentColor; }
  .site-header > .instagram { display: inline-grid; margin-left: auto; }
}

.measured-section { position: relative; isolation: isolate; }
.home-hero, .about-biography, .collection-intro { height: calc(var(--lead-height) + var(--header-shift)); }
.home-hero > .home-hero-1 { height: 100%; }
.home-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: var(--cream); opacity: .01; }
.about-biography .measured-element, .collection-intro .measured-element { transform: translateY(var(--header-shift)); }
[data-content-block], .source-quote { display: contents; }
.source-blank { position: absolute; inline-size: 0; block-size: 0; overflow: hidden; }
.measured-element { position: absolute; }
.measured-text { overflow-wrap: break-word; }
.measured-text a { text-underline-offset: .2em; }
.measured-photo picture, .measured-photo img { width: 100%; height: 100%; }
.measured-photo img { object-fit: var(--fit, cover); object-position: var(--position, 50% 50%); }
.measured-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink);
  color: var(--cream);
  text-transform: uppercase;
  text-decoration: none;
  padding-inline: 1.3rem;
  transition: opacity .1s linear;
}
.measured-button:hover { opacity: .8; }
.gallery-thumb { display: block; overflow: hidden; }
.gallery-thumb img {
  max-width: none;
  position: absolute;
  left: var(--image-x);
  top: var(--image-y);
  width: var(--image-w);
  height: var(--image-h);
}

.commission-notice {
  position: absolute;
  bottom: 2rem;
  left: 6%;
  width: 88%;
  text-align: center;
  color: var(--cream);
}
@media (min-width: 768px) {
  .commission-notice { left: 3%; width: 35%; bottom: 14%; }
}
@media (min-width: 1600px) {
  .commission-notice { left: 11%; width: 29%; }
}
.portfolio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  padding-bottom: 10vw;
  background: var(--light);
}
@media (min-width: 768px) {
  .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.portfolio-tile {
  display: grid;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 1;
  text-decoration: none;
  scroll-margin-top: calc(var(--header-height) + .8rem);
  background: var(--light);
}
.portfolio-tile picture, .portfolio-tile img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-overlay, .tile-text {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .2s ease;
}
.tile-overlay { background: var(--light); }
.tile-text {
  display: grid;
  place-items: center;
  padding-inline: 7%;
}
.tile-name {
  width: 100%;
  text-align: center;
  color: var(--ink);
  font: 500 var(--tile-title-size, 2rem)/1.2 Manrope, sans-serif;
  letter-spacing: -.02em;
}
.portfolio-tile:focus-visible .tile-text { opacity: 1; }
.portfolio-tile:focus-visible .tile-overlay { opacity: .85; }
@media (hover: hover) {
  .portfolio-tile:hover .tile-text { opacity: 1; }
  .portfolio-tile:hover .tile-overlay { opacity: .85; }
}
@media (min-width: 1500px) { .tile-name { min-block-size: 45.125px; } }
@media (min-width: 1920px) { .home-collection-10 img { width: 466.609375px; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.piece-intro { position: relative; min-height: calc(var(--lead-height) + var(--header-shift)); }
.piece-copy { position: absolute; transform: translateY(var(--header-shift)); }
.piece-heading { font: inherit; }
.piece-heading:focus { outline: none; }
.piece-commission-notice {
  position: absolute;
  inset-block-start: calc(100% + 6px);
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 88vw;
  color: var(--ink);
  font: 400 16px/1.3 "Nunito Sans", sans-serif;
  letter-spacing: normal;
  text-align: center;
  white-space: normal;
}
@media (min-width: 768px) {
  .piece-commission-notice { inset-block: auto calc(100% + 6px); }
}
.piece-reel {
  --reel-inset: 0px;
  position: relative;
  height: 75vh;
  padding: var(--reel-inset);
}
.piece-reel-images {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}
.piece-reel-images:active { cursor: grabbing; }
.piece-reel-track { position: absolute; inset: 0; }
.piece-reel-images img { position: absolute; inset: 0 auto auto 0; height: 100%; object-fit: cover; user-select: none; }
.piece-arrow {
  position: absolute;
  top: calc(50% - 22px);
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 2.4px;
  background: #fff;
  color: #000;
  opacity: .75;
  cursor: pointer;
  transition: opacity 600ms cubic-bezier(.4,0,.2,1);
}
.piece-arrow:focus-visible, .piece-arrow:hover { opacity: 1; }
.piece-arrow-prev { left: calc(var(--reel-inset) + 15px); }
.piece-arrow-next { right: calc(var(--reel-inset) + 15px); }
.reel-arrow { display: block; width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 4px; }
.piece-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3vw 6vw;
  font: 500 clamp(24px, calc(16px + 1.44vw), 37.6px)/1 Manrope, sans-serif;
  letter-spacing: -.02em;
}
.piece-neighbour { display: inline-flex; align-items: center; gap: 25px; min-height: 32px; text-decoration: none; }
.piece-neighbour h2 { font: inherit; }
.piece-neighbour svg { height: 32px; width: 18px; flex: none; stroke: currentColor; stroke-width: 1; fill: none; }
.piece-next { flex-direction: row-reverse; margin-left: auto; }
@media (width < 768px) { .piece-pagination { font-size: 28.1536px; } }
@media (min-width: 768px) {
  .piece-reel { --reel-inset: 3vw; }
  .piece-pagination { padding-inline: 3vw; }
}
@media (width < 380px) {
  .piece-intro { display: grid; align-content: start; gap: 16px; min-height: 0 !important; padding: calc(var(--header-height) + 40px) 6vw 50px; }
  .piece-copy { position: static; width: auto !important; }
  .piece-intro .piece-copy.piece-title-block { position: relative; inset: auto; margin-bottom: 32px; }
}
.simple-page {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.25rem;
  min-height: max(530px,calc(100svh - 107px));
  padding: calc(var(--header-height) + 2rem) 6vw 3rem;
  text-align: center;
}
.simple-page h1 { font: 500 clamp(2rem, 3vw, 3.4rem)/1.2 Manrope, sans-serif; letter-spacing: -.02em; }
.contact-page { width: min(88%, 560px); margin-inline: auto; padding-block: calc(var(--header-height) + 3.3vw) 3.3vw; }
.contact-page h1 { font: 500 clamp(28.1536px, calc(16px + 1.44vw), 37.6px)/1.2 Manrope, sans-serif; letter-spacing: -.02em; }
.contact-page > p { margin-top: .75rem; }
.contact-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-form label { display: grid; gap: .35rem; }
.contact-form input:not([hidden]):not([type="hidden"]), .contact-form textarea {
  width: 100%; min-height: 44px; border: 0; border-bottom: 1px solid var(--ink);
  border-radius: 0; background: transparent; color: inherit; font: inherit; padding: .5rem .65rem;
}
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; min-height: 44px; border: 0; padding: .75rem 1.3rem; background: var(--ink); color: var(--cream); }
.contact-form button:enabled { cursor: pointer; }
.contact-form button:enabled:hover { opacity: .8; }
.contact-status:empty { display: none; }

.photo-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  color: #ccc;
  background: transparent;
}
.photo-dialog::backdrop { background: rgb(0 0 0 / 95%); }
.gallery-close, .gallery-previous, .gallery-next {
  position: absolute;
  z-index: 1;
  cursor: pointer;
  border: 0;
  padding: 0;
  display: grid;
  place-items: center;
  background: transparent;
}
.photo-dialog button svg { height: 20px; width: 20px; stroke: currentColor; stroke-width: 2.5px; fill: none; }
.gallery-close { top: 2%; right: 2%; width: 24px; height: 24px; }
.gallery-close svg { color: #cacaca; stroke-width: 2px; transform: translateX(.5px); }
.gallery-close:focus:not(:focus-visible) { outline: none; }
.gallery-previous, .gallery-next { top: calc(50% - 22px); width: 44px; height: 44px; opacity: 0; transition: opacity .2s; }
.gallery-previous { left: 2%; }
.gallery-next { right: 2%; }
.gallery-previous:hover, .gallery-next:hover, .gallery-previous:focus-visible, .gallery-next:focus-visible { opacity: 1; }
.gallery-stage {
  position: absolute;
  margin: 0;
  top: 50%;
  left: 50%;
  width: min(96vw, calc(96dvh * var(--gallery-ratio, 1)));
  aspect-ratio: var(--gallery-ratio, 1);
  transform: translate(-50%,-50%);
  touch-action: pan-y;
}
.gallery-full { width: 100%; height: 100%; object-fit: contain; }
.gallery-copy {
  position: absolute;
  inset: auto -1px -1px 0;
  max-height: 100%;
  overflow: auto;
  background: rgb(0 0 0 / 70%);
  color: white;
  opacity: 0;
  padding: 20px;
  font: 400 16px/normal sans-serif;
  transition: opacity .2s ease-out;
}
.gallery-stage:hover .gallery-copy, .gallery-stage:focus-within .gallery-copy, .gallery-stage.show-caption .gallery-copy { opacity: 1; }

@property --mobile-header-delta {
  syntax: '<length>';
  inherits: true;
  initial-value: 0px;
}
@media (width < 800px) {
  body { --header-shift: var(--mobile-header-delta); transition: --mobile-header-delta 140ms ease-in-out; }
  body.header-compact:not(:has(.menu-toggle[aria-expanded="true"])) { --mobile-header-delta: calc(64px + 2 * min(6vw, 2vmax) - var(--header-height)); }
  .site-header { height: calc(var(--header-height) + var(--header-shift)); }
  .brand { transform: translateY(calc(var(--header-shift) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
  .measured-button, .tile-overlay, .tile-text, .piece-arrow, .gallery-previous, .gallery-next, .gallery-copy, body { transition: none; }
}
@media (min-width: 1921px) {
  .measured-section { max-width: 1920px; margin-inline: auto; }
}
