/* The paper, type and margins carry the homepage into the printed albums. */
html body:has(.pe-book,.weddings-index-hero) {
  --pe-paper:#f4f0e8;
  --pe-ink:#29251f;
  --pe-muted:#61594f;
  --pe-rule:#c7beb0;
  --pe-serif:"Sorts Mill Goudy",Baskerville,"Iowan Old Style",Georgia,serif;
  --pe-sans:"Helvetica Neue",Helvetica,Arial,sans-serif;
  --pe-edge:clamp(20px,5.6vw,100px);
}
html body:has(.pe-book,.weddings-index-hero) #headerAnnouncementWrapper {
  position:relative !important; inset:auto !important; height:auto !important; min-height:0 !important; padding:0 !important;
}
html body:has(.pe-book,.weddings-index-hero) #header {
  position:relative !important; inset:auto !important; height:84px !important; min-height:84px !important;
  padding:0 var(--pe-edge) !important; background:var(--pe-paper) !important; color:var(--pe-ink) !important;
  --masthead-link-ink:var(--pe-ink);
}
html body:has(.pe-book,.weddings-index-hero) #header :is(.stories-header-enquire,#navToggle) { color:var(--pe-ink) !important; }
html body:has(.pe-book,.weddings-index-hero) #header :is(.logo-wrapper,.logo-image,.logo-image img,.header-special) { filter:none !important; mix-blend-mode:normal !important; }
html body:has(.pe-book,.weddings-index-hero) #site { background:var(--pe-paper) !important; }
html body:has(.pe-book,.weddings-index-hero) #page {
  box-sizing:border-box; width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important;
  background:var(--pe-paper) !important; color:var(--pe-ink) !important;
}
html body #page :is(.sqs-layout,.sqs-row,.sqs-col-12,.sqs-block-html,.sqs-block-content,.sqs-html-content):has(.pe-book,.weddings-index-hero) {
  display:block !important; width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; background:transparent !important;
}
html body #page .pe-book { display:flow-root; overflow-wrap:break-word; background:var(--pe-paper); color:var(--pe-ink); font:400 17px/1.6 var(--pe-sans); }
html body #page .pe-book *, html body #page .pe-book *::before, html body #page .pe-book *::after { box-sizing:border-box; }
html body #page .pe-book :is(header,section,figure,div,li) { min-width:0; }
html body #page .pe-book :is(h1,h2,h3,p,ul,li,figure) { margin:0; padding:0; color:inherit !important; text-align:left; letter-spacing:normal; text-transform:none; }
html body #page .pe-book :is(h1,h2,h3,.pe-next-title,.pe-subtitle) { font-family:var(--pe-serif) !important; font-weight:400 !important; line-height:1.03 !important; letter-spacing:-.035em !important; text-wrap:balance; }
html body #page .pe-book h1 { font-size:clamp(58px,7.5vw,126px) !important; }
html body #page .pe-book h2 { font-size:clamp(35px,4.4vw,72px) !important; }
html body #page .pe-book h3 { font-size:clamp(30px,3.4vw,54px) !important; }
html body #page .pe-book p { font:400 clamp(16px,1.12vw,19px)/1.53 var(--pe-sans) !important; }
html body #page .pe-book a { color:inherit !important; border:0; background:transparent; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.25em; }
html body #page .pe-book a:hover { text-decoration-thickness:2px; }
html body #page .pe-book :is(a,button,summary):focus-visible { outline:2px solid currentColor !important; outline-offset:4px; }
html body #page .pe-book :is(.pe-small-link,.pe-inline,.pe-label,.pe-place,.pe-ending p,.pe-route,.director-instagram,.pe-related li span) {
  color:var(--pe-muted) !important; font:400 clamp(13px,.95vw,16px)/1.5 var(--pe-sans) !important;
}
html body #page .pe-book .pe-inline { display:flex; flex-wrap:wrap; gap:8px 24px; align-items:center; }
html body #page .pe-book .pe-inline a, html body #page .pe-book .pe-ending a { display:inline-flex; align-items:center; min-height:44px; }
html body #page .pe-book .pe-cover {
  display:grid; grid-template-columns:minmax(0,.72fr) minmax(0,1.28fr); align-items:center; gap:clamp(24px,4vw,64px);
  max-width:1800px; padding:clamp(16px,3.5vw,56px) var(--pe-edge) 0; margin:0 auto; background:transparent;
}
html body #page .pe-book .pe-cover-type h1 { margin:.24em 0 .12em; }
html body #page .pe-book .pe-subtitle { font:italic 400 clamp(25px,2.9vw,48px)/1.2 var(--pe-serif) !important; margin:.9em 0 .55em; }
html body #page .pe-book .pe-print { position:relative; margin:0; padding:0; aspect-ratio:auto; overflow:visible; background:transparent; }
html body #page .pe-book :is(.pe-print,.pe-directory-print) :is(a,picture,img), html body #page .pe-book a.pe-directory-print { display:block; width:100%; max-width:100%; margin:0; border:0; text-decoration:none; }
html body #page .pe-book :is(.pe-print,.pe-directory-print) img { height:auto !important; max-height:none; object-fit:contain !important; border-radius:0; }
html body #page .pe-book .pe-cover-print { justify-self:center; width:100%; }
html body #page .pe-book .pe-cover-print img { max-height:clamp(400px,76svh,850px); width:100%; max-width:100%; margin-inline:auto; }
html body #page .pe-book a[data-portfolio-frame] { cursor:zoom-in; }
html body #page .pe-book .pe-gallery { padding:0; margin:0; background:transparent; }
html body #page .pe-book .pe-note { max-width:830px; margin:auto; padding:clamp(48px,8vw,134px) var(--pe-edge); }
html body #page .pe-book .pe-note p { font:400 clamp(25px,2.65vw,43px)/1.26 var(--pe-serif) !important; text-wrap:pretty; }
html body #page .pe-book .pe-row { margin:0 auto clamp(42px,7.4vw,132px); }
html body #page .pe-book .pe-spread { width:min(94%,1560px); }
html body #page .pe-book .pe-single { width:min(75%,1140px); }
html body #page .pe-book .pe-portrait { width:min(54%,700px); }
html body #page .pe-book .pe-pair { width:min(89%,1460px); display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:clamp(16px,3.2vw,54px); align-items:center; }
html body #page .pe-book .pe-pair .pe-print:nth-child(2) { margin-top:clamp(28px,4.8vw,80px); }
html body #page .pe-book :is(.wedding-credits,.pe-related,.pe-archive-note) { margin:0 auto; padding:clamp(44px,6.6vw,108px) var(--pe-edge); max-width:1480px; background:transparent !important; color:var(--pe-ink) !important; }
html body #page .pe-book .wedding-credits { border-top:1px solid var(--pe-rule); }
html body #page .pe-book .wedding-credits ul { list-style:none; display:flex; flex-wrap:wrap; gap:8px 22px; max-width:1050px; margin:22px 0; }
html body #page .pe-book .wedding-credits li { font:400 clamp(18px,1.65vw,27px)/1.45 var(--pe-serif); }
html body #page .pe-book .pe-ending {
  margin:0; padding:clamp(38px,5.5vw,90px) var(--pe-edge); border-top:1px solid var(--pe-rule); display:flex;
  align-items:end; justify-content:space-between; gap:25px; background:var(--pe-paper); color:var(--pe-ink);
}
html body #page .pe-book .pe-ending>div { display:flex; flex-direction:column; align-items:flex-start; }
html body #page .pe-book .pe-next-title { margin:.18em 0; text-decoration:none; font-size:clamp(34px,4.75vw,80px) !important; }
html body #page .pe-book .pe-next-title:hover { text-decoration:underline; }
html body #page .pe-book .pe-index-head { padding:clamp(28px,5vw,88px) var(--pe-edge) clamp(26px,4vw,70px); }
html body #page .pe-book .pe-index-head p { max-width:40em; margin-top:15px; }
html body #page .pe-book .pe-directory-entry { display:grid; grid-template-columns:1.55fr 1fr; align-items:center; gap:clamp(24px,7vw,128px); padding:0 var(--pe-edge); max-width:1760px; margin:0 auto clamp(62px,9vw,148px); }
html body #page .pe-book .pe-directory-entry:nth-child(even) { grid-template-columns:1fr 1.55fr; }
html body #page .pe-book .pe-directory-entry:nth-child(even)>a { grid-column:2; grid-row:1; }
html body #page .pe-book .pe-directory-entry:nth-child(even)>article { grid-column:1; grid-row:1; }
html body #page .pe-book .pe-directory-entry article { display:block; max-width:41ch; background:transparent; }
html body #page .pe-book .pe-directory-entry article h2 { margin:.12em 0 .27em; }
html body #page .pe-book .pe-directory-entry h2 a { text-decoration:none; }
html body #page .pe-book .pe-directory-entry article p:not(.pe-label) { margin:0 0 18px; }
html body #page .pe-book .pe-directory-entry article :is(.pe-route,.director-instagram) { display:inline-flex; align-items:center; min-height:44px; margin-right:20px; }
html body #page .pe-book .pe-mini-portrait, html body #page .pe-book .pe-artist-portrait { width:64px !important; height:64px !important; max-width:none !important; object-fit:cover; object-position:center 30%; }
html body #page .pe-book .pe-directory-entry .pe-mini-portrait { margin:0 0 15px; }
html body #page .pe-book .pe-artist-head {
  display:grid !important; grid-template-columns:minmax(0,1.15fr) minmax(0,.8fr) auto !important; align-items:start;
  gap:clamp(18px,4.5vw,72px) !important; padding:clamp(24px,4vw,67px) var(--pe-edge) clamp(24px,3.5vw,55px) !important;
  width:100% !important; max-width:1800px !important; min-height:0 !important; margin:0 auto !important;
  background:var(--pe-paper) !important; color:var(--pe-ink) !important;
}
html body #page .pe-book .pe-artist-head h1 { font-size:clamp(48px,6vw,104px) !important; margin:.19em 0 .1em; }
html body #page .pe-book .pe-artist-about>p { max-width:45ch; }
html body #page .pe-book .pe-artist-about details { font:400 14px/1.45 var(--pe-sans); margin-top:3px; }
html body #page .pe-book .pe-artist-about summary::after { content:" +"; }
html body #page .pe-book .pe-artist-about details[open] summary::after { content:" −"; }
html body #page .pe-book .pe-cover-print img.stories-image-reveal, html body #page .pe-book .pe-artist-work .pe-row:first-child img.stories-image-reveal { opacity:1 !important; transform:none !important; transition:none !important; }
html body #page .pe-book .pe-artist-about summary { width:fit-content; cursor:pointer; padding:9px 0; }
html body #page .pe-book .director-credentials { display:block; border:0; padding:0 0 0 17px; margin:0; list-style:disc; }
html body #page .pe-book .director-credentials li { font:inherit; padding:5px 0; }
html body #page .pe-book .pe-artist-work { background:transparent; padding:0; margin:0; }
html body #page .pe-book .pe-projects { padding:0 var(--pe-edge); display:grid; grid-template-columns:1.5fr 1fr; gap:clamp(20px,5vw,100px); align-items:center; }
html body #page .pe-book .pe-projects :is(img,picture) { display:block; width:100%; height:auto; }
html body #page .pe-book .pe-projects h3 { margin:16px 0 8px; }
html body #page .pe-book .pe-projects+.pe-inline { margin:28px var(--pe-edge) 48px; }
html body #page .pe-book .pe-related ul { list-style:none; margin-top:18px; }
html body #page .pe-book .pe-related li a { display:flex; justify-content:space-between; align-items:baseline; padding:14px 0; border-bottom:1px solid var(--pe-rule); text-decoration:none; font:400 clamp(23px,2.5vw,40px)/1.25 var(--pe-serif); }
html body #page .pe-book .pe-archive-note { max-width:880px; }
html body #page .pe-book .pe-archive-note p+p { margin-top:18px; }
html body #page .pe-book :is(#photographs,#photographers,#portfolio,#journal-note) { scroll-margin-top:24px; }
html body #page .pe-viewer:not([open]) { display:none !important; }
html:has(dialog.pe-viewer[open]) { overflow:hidden !important; }
html body #page .pe-viewer[open] {
  position:fixed; inset:0; width:100%; max-width:none; height:100%; height:100dvh; max-height:none; padding:0; margin:0;
  display:grid; grid-template-rows:auto minmax(0,1fr) auto; border:0; background:#181713; color:#fffaf1;
}
.pe-viewer::backdrop { background:#181713; }
html body #page .pe-viewer .pe-viewer-top, html body #page .pe-viewer .pe-viewer-controls {
  display:flex; justify-content:space-between; align-items:center; gap:10px; padding:6px max(18px,env(safe-area-inset-right)) 6px max(18px,env(safe-area-inset-left));
  color:#fffaf1; font:400 15px/1.35 var(--pe-sans);
}
html body #page .pe-viewer .pe-viewer-top { padding-top:max(6px,env(safe-area-inset-top)); }
html body #page .pe-viewer .pe-viewer-controls { padding-bottom:max(6px,env(safe-area-inset-bottom)); font-variant-numeric:tabular-nums; }
html body #page .pe-viewer button { min-height:44px; padding:8px 6px; border:0; border-radius:0; background:transparent; color:#fffaf1 !important; font:inherit; cursor:pointer; text-transform:none; }
html body #page .pe-viewer button:disabled { color:#a19a8e !important; cursor:default; }
html body #page .pe-viewer .pe-viewer-stage { min-height:0; width:100%; display:grid; place-items:center; }
html body #page .pe-viewer .pe-viewer-stage img { width:100%; height:100%; max-height:100%; min-height:0; object-fit:contain; }
@media (max-width:760px) {
  html body:has(.pe-book,.weddings-index-hero) #header { height:72px !important; min-height:72px !important; }
  html body #page .pe-book .pe-cover { display:flex; flex-direction:column; align-items:stretch; gap:18px; padding:20px 0 0; }
  html body #page .pe-book .pe-cover-type { padding:0 var(--pe-edge); }
  html body #page .pe-book .pe-cover-type h1 { font-size:clamp(51px,10.5vw,78px) !important; margin:.12em 0; }
  html body #page .pe-book .pe-subtitle { display:inline-block; margin:6px 0 0; }
  html body #page .pe-book .pe-cover-type .pe-inline { margin-top:4px; }
  html body #page .pe-book .pe-cover-print img { max-height:72svh; }
  html body #page .pe-book .pe-artist-head { grid-template-columns:minmax(0,1fr) 52px !important; gap:12px 16px !important; }
  html body #page .pe-book .pe-artist-id { grid-column:1; grid-row:1; }
  html body #page .pe-book .pe-artist-about { grid-column:1/-1; grid-row:2; }
  html body #page .pe-book .pe-artist-portrait { grid-column:2; grid-row:1; width:52px !important; height:62px !important; }
}
@media (max-width:660px) {
  html body #page .pe-book .pe-row { margin-bottom:38px; }
  html body #page .pe-book .pe-spread { width:100%; }
  html body #page .pe-book .pe-single { width:94%; }
  html body #page .pe-book .pe-portrait { width:85%; }
  html body #page .pe-book .pe-pair { width:100%; display:block; }
  html body #page .pe-book .pe-pair .pe-print { width:94%; margin:0 0 22px; }
  html body #page .pe-book .pe-pair .pe-print:nth-child(2) { margin:0 0 0 auto; }
  html body #page .pe-book .pe-directory-entry, html body #page .pe-book .pe-directory-entry:nth-child(even) { display:flex; flex-direction:column; align-items:stretch; gap:18px; padding:0; }
  html body #page .pe-book .pe-directory-entry article { max-width:100%; margin:0 var(--pe-edge); }
  html body #page .pe-book .pe-directory-entry .pe-mini-portrait { float:right; margin:0 0 8px 12px; width:48px !important; height:56px !important; }
  html body #page .pe-book .pe-ending { flex-direction:column; align-items:start; }
  html body #page .pe-book .pe-projects { grid-template-columns:1fr; gap:42px; }
  html body #page .pe-book .pe-related li a { display:block; }
  html body #page .pe-book .pe-related li span { display:block; margin-top:4px; }
}
@media(prefers-reduced-motion:reduce) {
  html body #page .pe-book *, html body #page .pe-book *::before, html body #page .pe-book *::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}
/* The wedding directory pairs its six complete stories at different scales. */
html body #page:has(.weddings-index-hero) .weddings-index-hero {
  display:block !important; padding:clamp(26px,4.8vw,80px) var(--pe-edge) clamp(28px,4vw,64px) !important;
  min-height:0 !important; background:var(--pe-paper) !important; color:var(--pe-ink) !important;
}
html body #page:has(.weddings-index-hero) .weddings-index-hero .bride-kicker { display:none; }
html body #page:has(.weddings-index-hero) .weddings-index-hero h1 {
  font:400 clamp(58px,8.2vw,142px)/1.03 var(--pe-serif) !important; letter-spacing:-.04em !important; color:var(--pe-ink) !important;
}
html body #page:has(.weddings-index-hero) .weddings-index-hero .bride-deck { margin-top:12px; max-width:40em; color:var(--pe-muted) !important; font:400 clamp(16px,1.25vw,20px)/1.5 var(--pe-sans) !important; }
html body #page:has(.weddings-index-hero) .weddings-index-grid {
  display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:clamp(42px,7vw,108px) clamp(10px,1.6vw,28px);
  align-items:center; padding:0 var(--pe-edge) clamp(56px,8vw,126px); max-width:1760px; margin:auto; background:var(--pe-paper) !important;
}
html body #page:has(.weddings-index-hero) .weddings-index-story {
  display:block; padding:0; background:transparent !important; color:var(--pe-ink) !important; border:0 !important; text-decoration:none;
}
html body #page:has(.weddings-index-hero) .weddings-index-story:nth-child(4n+1) { grid-column:1/8; }
html body #page:has(.weddings-index-hero) .weddings-index-story:nth-child(4n+2) { grid-column:9/13; }
html body #page:has(.weddings-index-hero) .weddings-index-story:nth-child(4n+3) { grid-column:1/5; }
html body #page:has(.weddings-index-hero) .weddings-index-story:nth-child(4n) { grid-column:6/13; }
html body #page:has(.weddings-index-hero) .weddings-index-story figure { display:block; width:100%; height:auto !important; aspect-ratio:auto; margin:0; background:transparent; }
html body #page:has(.weddings-index-hero) .weddings-index-story :is(img,picture) { display:block; width:100%; height:auto !important; max-height:none; object-fit:contain; }
html body #page:has(.weddings-index-hero) .weddings-index-story small { color:var(--pe-muted) !important; font:400 14px/1.5 var(--pe-sans) !important; }
html body #page:has(.weddings-index-hero) .weddings-index-story h3 { margin:4px 0 0; color:var(--pe-ink) !important; font:400 clamp(30px,3.6vw,59px)/1.07 var(--pe-serif) !important; letter-spacing:-.035em; }
html body #page:has(.weddings-index-hero) .bride-section { background:var(--pe-paper) !important; color:var(--pe-ink) !important; padding:clamp(35px,5vw,85px) var(--pe-edge) !important; border-top:1px solid var(--pe-rule); }
html body #page:has(.weddings-index-hero) .bride-section h2 { color:var(--pe-ink) !important; font:400 clamp(34px,4vw,60px)/1.15 var(--pe-serif) !important; }
html body #page:has(.weddings-index-hero) .bride-section a { color:var(--pe-ink) !important; }
html body.stories-internal-page:has(.pe-book,.weddings-index-hero):not(.nav-open) #header { background:var(--pe-paper) !important; color:var(--pe-ink) !important; }
html body.stories-internal-page:has(.pe-book,.weddings-index-hero):not(.nav-open) #header :is(.stories-header-enquire,#navToggle) { color:var(--pe-ink) !important; }
html body #page .pe-book.pe-journal .pe-journal-body { float:none !important; display:flow-root; width:100% !important; max-width:none !important; margin:0 !important; padding:0 !important; background:transparent !important; }
html body #page .pe-book .pe-archive-note :is(blockquote,h2,h3,p,em,strong) { background:transparent; color:var(--pe-ink) !important; text-transform:none; }
html body #page .pe-book .pe-archive-note blockquote { border-left:0; margin:0 0 1em; padding:0; }
html body #page .pe-book .pe-archive-note blockquote p { font:400 clamp(22px,2.6vw,38px)/1.25 var(--pe-serif) !important; }
@media(max-width:660px) {
  html body #page:has(.weddings-index-hero) .weddings-index-grid { display:flex; flex-direction:column; align-items:stretch; gap:42px; padding-inline:0; }
  html body #page:has(.weddings-index-hero) .weddings-index-story>div { padding-inline:20px; }
  html body #page:has(.weddings-index-hero) .weddings-index-story:nth-child(even) { margin-inline:7%; }
  html body #page:has(.weddings-index-hero) .weddings-index-story:nth-child(even)>div { padding-inline:0; }
}
/* The archived profile shell flattens header divs on phones. Keep the name
   and biography together and position the generated picture, which owns the grid cell. */
html body #page .pe-book .pe-artist-head > :is(.pe-artist-id,.pe-artist-about) { display:block !important; }
html body #page .pe-book .pe-artist-head > picture { display:block; grid-column:3; grid-row:1; width:64px; }
@media(max-width:760px) {
  html body #page .pe-book .pe-artist-head > picture { grid-column:2; grid-row:1; width:52px; }
}
