@font-face {
  font-family: "Roman Editorial";
  src: url("fonts/RomanEditorial.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "PP Hatton";
  src: url("fonts/PPHatton-Ultralight.otf") format("opentype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/Montserrat-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Glacial Indifference";
  src: url("fonts/GlacialIndifference-Regular.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #ffffff;
  --ink: #171715;
  --line: rgba(23, 23, 21, 0.22);
  --side: clamp(22px, 3vw, 52px);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Glacial Indifference", "Avenir Next", Avenir, Arial, Helvetica, sans-serif;
  font-size: 14px;
  overflow-x: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto 0;
  height: 116px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px var(--side) 16px;
  background: linear-gradient(to bottom, var(--paper) 86%, transparent);
}

.wordmark {
  display: block;
  flex: 0 0 auto;
  width: clamp(270px, 24vw, 380px);
  aspect-ratio: 5 / 1;
  background-image: url("images/logo-ivypresto.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
}

.wordmark span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.eyebrow,
.section-index,
figcaption {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3vw, 58px);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-tools {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 2vw, 34px);
}

.mobile-menu-toggle {
  display: none;
}

.language-switch {
  position: static;
  flex: 0 0 auto;
  display: none;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.language-switch button {
  appearance: none;
  padding: 3px 0 2px;
  border: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
  opacity: 0.42;
}

.language-switch button[aria-pressed="true"] {
  opacity: 1;
}

.language-switch button:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

nav a,
.contact-meta a,
footer a {
  opacity: 0.56;
  transition: opacity 160ms ease;
}

nav a,
.nav-dropdown-toggle { white-space: nowrap; }

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown-toggle {
  appearance: none;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  opacity: 0.56;
  transition: opacity 160ms ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown-toggle[aria-current="page"],
.nav-dropdown.is-open .nav-dropdown-toggle { opacity: 1; }

.nav-dropdown-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 14px);
  left: 50%;
  min-width: 112px;
  display: none;
  flex-direction: column;
  gap: 11px;
  padding: 14px 16px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.nav-dropdown-menu a {
  font-size: 9px;
  letter-spacing: 0.07em;
}

.nav-dropdown.is-open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: flex; }

nav a:hover,
nav a:focus-visible,
nav a[aria-current="page"],
.contact-meta a:hover,
.contact-meta a:focus-visible,
footer a:hover,
footer a:focus-visible {
  opacity: 1;
}

main {
  display: flex;
  width: max-content;
  min-width: 100%;
  min-height: 100vh;
  padding-top: 116px;
}

.panel h2 {
  margin: 22px 0;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.gallery {
  flex: 0 0 auto;
  width: max-content;
  height: calc(100vh - 116px);
  display: flex;
  padding: 0;
}

.gallery-spread {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: calc(100vh - 116px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(30px, 4.3vw, 72px);
  padding: 4vh var(--side) 3vh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.public-empty-state {
  display: grid;
  place-items: center;
}

.public-empty-state p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.frame {
  position: relative;
  flex: 0 0 auto;
  margin: var(--image-offset, 0) 0 0;
}

.frame--high { margin-top: 0; }
.frame--mid { margin-top: 13vh; }
.frame--low { margin-top: 24vh; }

.placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}

.placeholder::before {
  content: none;
}

.placeholder img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.frame--portrait .placeholder { width: min(27vw, 400px); }
.frame--narrow .placeholder { width: min(22vw, 320px); }
.frame--large .placeholder { width: min(31vw, 450px); }
.frame--landscape .placeholder {
  width: min(48vw, 720px);
  aspect-ratio: 3 / 2;
}
.frame--landscape img { object-fit: contain; }

.frame[data-gallery-id] .placeholder {
  width: auto;
  height: var(--render-height, var(--image-height, 60vh));
  max-height: calc(100vh - 150px);
  aspect-ratio: var(--image-ratio, 2 / 3);
}

.spread-editor-bar {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.13);
  white-space: nowrap;
}

.spread-editor-bar span {
  padding: 0 8px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.spread-editor-bar button {
  appearance: none;
  border: 0;
  padding: 8px 10px;
  background: #171715;
  color: #fff;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.image-editor-toolbar {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 22px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px;
  transform: translateX(-50%);
  background: rgba(20, 20, 19, 0.94);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

body.is-editing .image-editor-toolbar { display: flex; }

body.is-editing .site-header,
body.is-editing main,
body.is-editing footer {
  zoom: var(--editor-page-zoom, 1);
}

body.is-editing .site-header {
  right: auto;
  width: 100vw;
}

body.is-editing main,
body.is-editing footer {
  width: 100vw;
  min-width: 100vw;
}

.image-editor-toolbar strong {
  padding: 0 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.image-editor-toolbar button,
.image-editor-toolbar a,
.image-editor-controls button {
  appearance: none;
  border: 0;
  border-radius: 0;
  padding: 9px 12px;
  background: #fff;
  color: #171715;
  font: inherit;
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.image-editor-status {
  min-width: 78px;
  padding: 0 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.layout-editor {
  position: relative;
}

.layout-editor summary {
  padding: 9px 12px;
  background: #fff;
  color: #171715;
  font-size: 11px;
  cursor: pointer;
  list-style: none;
  white-space: nowrap;
}

.layout-editor summary::-webkit-details-marker { display: none; }

.layout-editor-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 14px);
  width: 290px;
  display: grid;
  gap: 15px;
  padding: 17px;
  background: rgba(20, 20, 19, 0.96);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.layout-editor-panel label {
  display: grid;
  grid-template-columns: 110px 1fr 26px;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  white-space: nowrap;
}

.layout-editor-panel input { width: 100%; accent-color: #fff; }
.layout-editor-panel select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0;
  padding: 5px 7px;
  background: #fff;
  color: #171715;
  font: inherit;
}
.layout-editor-panel output { text-align: right; opacity: 0.68; }

.image-editor-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 12px;
  display: none;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.96);
  color: #171715;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.14);
}

body.is-editing .frame:hover .image-editor-controls,
body.is-editing .frame:focus-within .image-editor-controls {
  display: flex;
}

.image-editor-controls label {
  display: grid;
  gap: 3px;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.image-editor-controls input[type="range"] {
  width: 86px;
  accent-color: #171715;
}

.image-look-editor {
  position: relative;
}

.image-look-editor summary {
  min-width: 48px;
  padding: 7px 9px;
  background: #171715;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.08em;
  list-style: none;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.image-look-editor summary::-webkit-details-marker { display: none; }

.image-look-editor[open] summary {
  background: #fff;
  color: #171715;
  box-shadow: inset 0 0 0 1px #171715;
}

.image-look-panel {
  position: absolute;
  z-index: 12;
  right: 0;
  bottom: calc(100% + 10px);
  width: min(258px, calc(100vw - 32px));
  display: grid;
  gap: 13px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.98);
  color: #171715;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}

.image-look-panel label {
  display: grid;
  gap: 6px;
  font-size: 10px;
}

.image-look-panel label > span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.image-look-panel input[type="range"] { width: 100%; }

.image-look-panel .image-look-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.image-look-toggle input { accent-color: #171715; }

.image-look-panel button[data-editor-look-reset] {
  width: 100%;
  background: #fff;
  color: #171715;
  box-shadow: inset 0 0 0 1px #171715;
}

.image-editor-controls button {
  padding: 7px 9px;
  background: #171715;
  color: #fff;
}

.hidden-images-editor {
  position: relative;
}

.hidden-images-editor > summary {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.08em;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
}

.hidden-images-editor > summary::-webkit-details-marker { display: none; }

.hidden-images-panel {
  position: absolute;
  z-index: 70;
  left: 0;
  bottom: calc(100% + 12px);
  width: min(620px, calc(100vw - 32px));
  max-height: min(68vh, 620px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.98);
  color: #171715;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.hidden-image-card {
  display: grid;
  gap: 6px;
}

.hidden-image-card img {
  width: 100%;
  height: 105px;
  object-fit: cover;
}

.hidden-image-card button {
  width: 100%;
  padding: 7px 5px;
  border: 1px solid #171715;
  color: #171715;
  background: #fff;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hidden-images-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px;
  font-size: 12px;
}

@media (max-width: 700px) {
  .hidden-images-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.is-editing .frame {
  cursor: grab;
  outline: 1px solid transparent;
  outline-offset: 7px;
  transition: opacity 140ms ease, outline-color 140ms ease;
}

body.is-editing .frame:hover { outline-color: rgba(0, 0, 0, 0.28); }
body.is-editing .frame.is-dragging { opacity: 0.35; cursor: grabbing; }
body.is-editing .frame.is-drop-target { outline-color: #171715; }
body.is-editing .masonry-column.is-drop-target {
  outline: 1px solid rgba(23, 23, 21, 0.4);
  outline-offset: 7px;
}
body.is-editing .gallery-spread.is-drop-target {
  box-shadow: inset 0 0 0 1px rgba(23, 23, 21, 0.4);
}

.editor-empty-state {
  align-self: center;
  min-width: min(65vw, 700px);
  padding: 12vh 8vw;
  text-align: center;
}

.editor-empty-state p {
  margin: 0 0 22px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6vw, 92px);
  line-height: 0.95;
}

.editor-empty-state button {
  border: 1px solid currentColor;
  padding: 11px 15px;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.tone-1 .placeholder { background: linear-gradient(145deg, #978d83, #34312f); }
.tone-2 .placeholder { background: linear-gradient(145deg, #65706b, #b7a58d); }
.tone-3 .placeholder { background: linear-gradient(145deg, #bcae9e, #65564f); }
.tone-4 .placeholder { background: linear-gradient(145deg, #303436, #8d8880); }
.tone-5 .placeholder { background: linear-gradient(145deg, #a78572, #493d39); }
.tone-6 .placeholder { background: linear-gradient(145deg, #78756e, #c1b7a8); }
.tone-7 .placeholder { background: linear-gradient(145deg, #c0b7ad, #494d50); }
.tone-8 .placeholder { background: linear-gradient(145deg, #586268, #c5bca9); }
.tone-9 .placeholder { background: linear-gradient(145deg, #8c786f, #302e31); }
.tone-10 .placeholder { background: linear-gradient(145deg, #d2c8b9, #716a64); }
.tone-11 .placeholder { background: linear-gradient(145deg, #48524e, #a6937d); }
.tone-12 .placeholder { background: linear-gradient(145deg, #b49989, #4d4543); }
.tone-13 .placeholder { background: linear-gradient(145deg, #77706b, #b9afa5); }
.tone-14 .placeholder { background: linear-gradient(145deg, #b8b1a7, #4d5759); }
.tone-15 .placeholder { background: linear-gradient(145deg, #8b6f63, #373537); }

figcaption {
  display: none;
}

.panel {
  flex: 0 0 min(88vw, 1180px);
  height: calc(100vh - 116px);
  padding: 4vh var(--side);
  border-left: 1px solid var(--line);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 5vw;
  scroll-snap-align: start;
}

.panel-content {
  align-self: center;
}

.panel h2 {
  font-size: clamp(56px, 8vw, 126px);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  margin-top: 5vh;
}

.service-list article {
  min-width: 0;
}

.service-list h3 {
  margin: 18px 0 22px;
  padding-top: 0;
  font-size: 15px;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.services {
  flex-basis: min(125vw, 1450px);
}

.service-slideshow,
.about-image-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 2 / 3;
}

.service-slideshow {
  width: 100%;
  aspect-ratio: 4 / 5;
  isolation: isolate;
  background: #e8e6e2;
}

.service-slide-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 900ms ease, transform 1400ms ease;
}

.service-slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-slide-item.is-active {
  z-index: 1;
  opacity: 1;
  transform: scale(1);
}

.service-slide-remove {
  display: none;
}

.service-image-placeholder--fashion {
  background: linear-gradient(150deg, #d9d5cf, #7e7771);
}

.service-image-placeholder--weddings {
  background: linear-gradient(150deg, #edeae5, #aaa198);
}

.service-image-placeholder--portraits {
  background: linear-gradient(150deg, #c8c6c2, #666967);
}

.service-slideshow span,
.about-image-placeholder span {
  padding: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.service-edit-link,
.service-editor-actions {
  display: none;
}

.service-edit-link {
  margin-top: 14px;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.is-editing .service-edit-link {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  text-align: center;
}

.is-editing .service-editor-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.service-editor-actions button,
.service-editor-actions label,
.service-editor-actions a {
  display: grid;
  min-height: 42px;
  place-items: center;
  margin: 0;
  padding: 8px 10px;
  border: 1px solid var(--ink);
  color: inherit;
  background: var(--paper);
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.service-editor-actions .service-library-link {
  grid-column: 1 / -1;
}

.is-editing .service-slideshow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  overflow: visible;
  aspect-ratio: auto;
  background: transparent;
}

.is-editing .service-slide-item {
  position: relative;
  inset: auto;
  display: block;
  opacity: 1;
  transform: none;
  transition: none;
  cursor: grab;
  outline: 1px solid transparent;
  outline-offset: 3px;
}

.is-editing .service-slide-item.is-dragging {
  opacity: 0.35;
  cursor: grabbing;
}

.is-editing .service-slide-item.is-drop-target {
  outline-color: var(--ink);
}

.is-editing .service-slide-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.is-editing .service-slide-remove {
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 5px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  font: 18px/1 Arial, sans-serif;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .service-slide-item {
    transition: none;
  }
}

.editor-mode-toggle {
  position: fixed;
  z-index: 45;
  right: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-picker-dialog {
  width: min(1180px, calc(100vw - 40px));
  height: min(86vh, 900px);
  padding: 0;
  border: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--paper);
}

.service-picker-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.service-picker-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 24px;
}

.service-picker-shell header,
.service-picker-shell footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.service-picker-shell > header {
  flex: 0 0 auto;
  min-height: 108px;
}

.service-picker-shell header > div {
  position: relative;
  z-index: 1;
  display: block;
  color: #171715;
  opacity: 1;
  visibility: visible;
}

.service-picker-shell header p,
.service-picker-count {
  margin: 0 0 5px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #171715;
}

.service-picker-shell h2 {
  margin: 0;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: clamp(38px, 5vw, 72px);
  font-weight: 700;
  color: #171715;
  line-height: 1;
}

.service-picker-shell button {
  border: 1px solid var(--ink);
  color: inherit;
  background: var(--paper);
  cursor: pointer;
}

.service-picker-shell header > button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
}

.service-picker-count {
  margin: 18px 0 12px;
}

.service-picker-grid {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-auto-rows: 160px;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 2px 4px 16px 2px;
}

.service-picker-item {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  height: 160px;
  padding: 0;
  overflow: hidden;
  opacity: 0.62;
}

.service-picker-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-picker-item.is-selected {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
  opacity: 1;
}

.service-picker-item.is-selected::after {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  content: "✓";
}

.service-picker-shell footer {
  position: static;
  z-index: auto;
  right: auto;
  bottom: auto;
  left: auto;
  flex: 0 0 auto;
  width: auto;
  justify-content: flex-end;
  padding-top: 16px;
  font-size: inherit;
  letter-spacing: normal;
  text-transform: none;
  pointer-events: auto;
}

.service-picker-shell footer button {
  min-height: 42px;
  padding: 9px 16px;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body.is-editing .service-picker-shell footer {
  width: auto;
  min-width: 0;
  zoom: 1;
}

.service-list p,
.about-grid > p,
.about-copy {
  max-width: 40ch;
  line-height: 1.65;
}

.about-grid {
  width: min(100%, 780px);
  margin-right: auto;
  margin-left: auto;
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(250px, 310px);
  grid-template-rows: auto;
  justify-content: start;
  column-gap: clamp(28px, 3vw, 40px);
  align-items: center;
}

.about-grid > h2 {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  align-self: end;
}

.about-grid > p {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  align-self: start;
}

.about-copy {
  grid-column: 1;
  grid-row: 1;
  max-width: 46ch;
}

.about-copy p {
  margin: 0 0 18px;
  line-height: 1.7;
}

.about-copy p:last-child { margin-bottom: 0; }

.about-copy .about-lead {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.4;
}

.about {
  flex-basis: min(145vw, 1600px);
}

.about-image-placeholder {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: min(100%, 310px);
  aspect-ratio: 343 / 432;
  background: #fff;
}

.about-image-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.contact {
  flex-basis: min(78vw, 1050px);
}

.contact-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-link {
  display: inline-block;
  margin: 20px 0 12vh;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: clamp(62px, 9vw, 142px);
  letter-spacing: -0.025em;
  line-height: 0.9;
  border-bottom: 0;
}

.contact-meta {
  display: flex;
  gap: 35px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer {
  position: fixed;
  z-index: 20;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 10px var(--side) 14px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  pointer-events: none;
}

footer a {
  pointer-events: auto;
}

.progress {
  position: fixed;
  z-index: 30;
  left: var(--side);
  right: var(--side);
  bottom: 5px;
  height: 1px;
  background: var(--line);
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ink);
}

/* Vertical three-column portfolio */
.vertical-gallery-page,
.info-page {
  overflow-x: hidden;
}

.vertical-gallery-page {
  --gallery-side-custom: 88px;
  --gallery-top-custom: 60px;
  --masonry-gap-custom: 28px;
}

.info-page {
  --gallery-side-custom: 88px;
}

.vertical-gallery-page .site-header {
  padding-right: var(--gallery-side-custom);
  padding-left: var(--gallery-side-custom);
}

.info-page .site-header {
  padding-right: var(--gallery-side-custom);
  padding-left: var(--gallery-side-custom);
}

.vertical-gallery-page .wordmark {
  margin-left: -8px;
}

.vertical-gallery-page main {
  display: block;
  width: 100%;
  min-height: 100vh;
  padding: calc(116px + var(--gallery-top-custom)) var(--gallery-side-custom) 10vh;
}

.vertical-gallery-page .gallery {
  display: block;
  width: 100%;
  height: auto;
}

.story-switcher {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.2vw, 34px);
  margin: 0 0 clamp(30px, 4vw, 54px);
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.story-switcher a {
  padding: 0;
  opacity: 0.42;
  transition: opacity 180ms ease;
}

.story-switcher a:hover,
.story-switcher a:focus-visible,
.story-switcher a[aria-current="page"] { opacity: 1; }

.vertical-gallery-page .masonry-grid {
  --masonry-gap: var(--masonry-gap-custom);
  display: grid;
  grid-template-columns: repeat(var(--masonry-columns, 3), minmax(0, 1fr));
  align-items: start;
  gap: var(--masonry-gap);
}

.vertical-gallery-page .masonry-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: calc(var(--masonry-gap) + var(--masonry-extra-gap, 0px));
}

.vertical-gallery-page .masonry-column .frame {
  flex: 0 0 auto;
}

.vertical-gallery-page .masonry-empty-state {
  min-height: calc(100vh - 250px);
}

.vertical-gallery-page .masonry-empty-state button {
  margin-top: 20px;
  border: 1px solid currentColor;
  padding: 10px 14px;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.vertical-gallery-page .gallery-spread {
  width: 100%;
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  justify-content: stretch;
  gap: clamp(14px, 1.7vw, 28px);
  margin: 0 0 clamp(14px, 1.7vw, 28px);
  padding: 0;
  overflow: visible;
  scroll-snap-align: none;
}

.vertical-gallery-page .public-empty-state {
  grid-template-columns: 1fr;
  min-height: calc(100vh - 220px);
}

.vertical-gallery-page .frame,
.vertical-gallery-page .frame--high,
.vertical-gallery-page .frame--mid,
.vertical-gallery-page .frame--low {
  width: 100%;
  margin: 0;
}

.vertical-gallery-page .frame[data-gallery-id] .placeholder {
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: var(--image-ratio, 2 / 3);
}

.vertical-gallery-page .spread-editor-bar {
  position: static;
  grid-column: 1 / -1;
  justify-self: center;
  margin: 8px 0 20px;
  transform: none;
}

.vertical-gallery-page .image-editor-controls > label {
  display: none;
}

.vertical-gallery-page footer,
.info-page footer {
  position: static;
  padding: 35px var(--gallery-side-custom);
}

.info-page main {
  display: block;
  width: 100%;
  padding-top: calc(116px + var(--gallery-top-custom));
}

.info-page .panel {
  width: 100%;
  height: auto;
  min-height: calc(100vh - 116px);
  padding: 0 var(--gallery-side-custom) 10vh;
  border-left: 0;
  border-top: 0;
  scroll-snap-align: none;
}

.info-page .contact { padding-top: 10vh; }

.info-page .about {
  border-top: 0;
}

.info-page .about .panel-content {
  width: min(100%, 780px);
  margin-right: auto;
  margin-left: auto;
  grid-column: 1 / -1;
  align-self: start;
  padding-top: clamp(32px, 5vh, 64px);
}

.info-page .contact .panel-content {
  width: 100%;
  grid-column: 1 / -1;
}

.work-page .services {
  border-top: 0;
  min-height: 0;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.work-page .services h2 {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  margin-bottom: 16px;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.035em;
  text-align: center;
}

.work-page .work-intro {
  max-width: 58ch;
  margin: 0 auto clamp(32px, 4vw, 50px);
  text-align: center;
  line-height: 1.65;
}

.work-page .services .panel-content {
  width: 100%;
  margin: 0 auto;
  grid-column: 1 / -1;
  align-self: start;
  padding-top: clamp(20px, 3vh, 38px);
}

.work-page .contact {
  min-height: 0;
  padding-top: 0;
  padding-bottom: clamp(64px, 8vw, 110px);
}

.work-page .contact .panel-content { text-align: center; }
.work-page .contact-meta { justify-content: center; }

.work-page .service-list {
  width: 100%;
  max-width: 1120px;
  margin-top: 0;
  margin-right: auto;
  margin-left: auto;
  gap: clamp(28px, 4vw, 58px);
}

.work-page .service-list article {
  width: 100%;
  max-width: 315px;
  justify-self: center;
}

.info-page .about h2 {
  font-size: clamp(26px, 2.5vw, 36px);
  line-height: 1.08;
}

.info-page .contact-link {
  margin: 14px 0 clamp(42px, 6vw, 78px);
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1.05;
}

.info-page.work-page .contact-kicker {
  margin: 0;
  font-size: 9px;
}

.info-page.work-page .contact-link {
  margin: 8px 0 18px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.2;
}

.info-page.work-page .contact-meta {
  gap: 24px;
  font-size: 9px;
}

.info-page .progress {
  display: none;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .vertical-gallery-page,
  .info-page {
    --responsive-side: min(var(--gallery-side-custom), 4vw);
  }

  .site-header { gap: 20px; }
  .vertical-gallery-page .site-header,
  .info-page .site-header {
    padding-right: var(--responsive-side);
    padding-left: var(--responsive-side);
  }

  .wordmark { width: clamp(210px, 27vw, 260px); }
  nav { gap: 14px; font-size: 9px; letter-spacing: 0.055em; }
  .header-tools { gap: 12px; }

  .vertical-gallery-page main {
    padding-right: var(--responsive-side);
    padding-left: var(--responsive-side);
  }

  .info-page .panel,
  .vertical-gallery-page footer,
  .info-page footer {
    padding-right: var(--responsive-side);
    padding-left: var(--responsive-side);
  }
}

@media (max-width: 760px) {
  html { scroll-snap-type: none; }
  body { overflow-x: hidden; }

  .site-header {
    height: 86px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px var(--side);
    background: rgba(255, 255, 255, 0.97);
  }

  .wordmark {
    width: min(215px, 62vw);
    height: auto;
  }

  .mobile-menu-toggle {
    position: relative;
    z-index: 32;
    width: 34px;
    height: 34px;
    display: grid;
    place-content: center;
    gap: 6px;
    flex: 0 0 auto;
    border: 0;
    padding: 0;
    color: var(--ink);
    background: transparent;
    cursor: pointer;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .mobile-nav-open .mobile-menu-toggle span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .mobile-nav-open .mobile-menu-toggle span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .header-tools {
    position: static;
    width: 0;
    gap: 0;
  }

  .header-tools nav {
    position: absolute;
    z-index: 31;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px var(--side) 30px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.05);
    font-size: 11px;
    letter-spacing: 0.07em;
  }

  .site-header.mobile-nav-open .header-tools nav {
    display: flex;
  }

  .nav-dropdown {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 0;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0 0 16px;
    transform: none;
    box-shadow: none;
    text-align: left;
  }

  main {
    display: block;
    width: 100%;
    padding-top: 86px;
  }

  .gallery {
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
  }

  .gallery-spread {
    width: 100%;
    height: auto;
    min-height: 0;
    display: block;
    padding: 4vh var(--side) 4vh;
    overflow: visible;
  }

  .frame,
  .frame--high,
  .frame--mid,
  .frame--low {
    margin: 0 0 14vh;
  }

  .frame:nth-of-type(even) { margin-left: 16vw; }
  .frame .placeholder { width: 100%; height: auto; aspect-ratio: 2 / 3; }
  .frame--landscape .placeholder { aspect-ratio: 3 / 2; }
  .frame[data-gallery-id] .placeholder {
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: var(--image-ratio, 2 / 3);
  }

  .spread-editor-bar {
    position: static;
    justify-content: center;
    margin: -7vh auto 8vh;
    transform: none;
  }

  .image-editor-toolbar {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: center;
    transform: none;
  }

  .image-editor-toolbar strong,
  .image-editor-status { display: none; }

  .panel {
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 12vh var(--side);
    border-left: 0;
    border-top: 0;
    display: block;
  }

  .panel h2 { font-size: 12vw; }
  .work-page .services h2 { font-size: clamp(25px, 7vw, 34px); }
  .info-page .about h2 { font-size: clamp(25px, 7vw, 34px); }
  .section-index { margin-bottom: 20vh; }

  .service-list,
  .about-grid {
    display: block;
    margin-top: 12vh;
  }

  .info-page .about-grid { margin-top: 0; }

  .service-list article { margin-top: 55px; }
  .service-slideshow { width: min(76vw, 360px); max-height: none; }
  .is-editing .service-slideshow {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .is-editing .service-editor-actions {
    grid-template-columns: 1fr;
  }

  .service-picker-dialog {
    width: calc(100vw - 20px);
    height: calc(100vh - 20px);
  }

  .service-picker-shell {
    padding: 16px;
  }

  .service-picker-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    grid-auto-rows: 125px;
  }

  .service-picker-item {
    height: 125px;
  }
  .about-grid > p { margin-top: 24px; }
  .about-image-placeholder {
    display: grid;
    width: min(72vw, 340px);
    margin: 8vh 0 0 auto;
  }
  .contact-link,
  .info-page .contact-link { font-size: clamp(25px, 8vw, 34px); overflow-wrap: anywhere; }
  .contact-meta { flex-direction: column; gap: 14px; }

  footer { position: static; padding: 35px var(--side); }
  .progress { display: none; }

  .vertical-gallery-page main {
    padding: calc(86px + var(--gallery-top-custom)) min(var(--gallery-side-custom), 8vw) 8vh;
  }

  .vertical-gallery-page .site-header {
    padding-right: min(var(--gallery-side-custom), 8vw);
    padding-left: min(var(--gallery-side-custom), 8vw);
  }

  .info-page .site-header {
    padding-right: min(var(--gallery-side-custom), 8vw);
    padding-left: min(var(--gallery-side-custom), 8vw);
  }

  .info-page main { padding-top: calc(86px + min(var(--gallery-top-custom), 8vw)); }
  .info-page .panel {
    padding-right: min(var(--gallery-side-custom), 8vw);
    padding-left: min(var(--gallery-side-custom), 8vw);
  }
  .info-page footer {
    padding-right: min(var(--gallery-side-custom), 8vw);
    padding-left: min(var(--gallery-side-custom), 8vw);
  }

  .vertical-gallery-page .wordmark { margin-left: -5px; }

  .vertical-gallery-page .masonry-grid {
    --masonry-gap: min(var(--masonry-gap-custom), 5vw);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-switcher {
    gap: 18px;
    margin-bottom: 38px;
    font-size: 11px;
  }

  .story-switcher a { padding: 0; }

  .work-page .service-slideshow { width: 100%; }

  .vertical-gallery-page .gallery-spread {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
    padding: 0;
  }

  .vertical-gallery-page .frame,
  .vertical-gallery-page .frame:nth-of-type(even) {
    width: 100%;
    margin: 0;
  }

  .vertical-gallery-page .spread-editor-bar {
    grid-column: 1 / -1;
    margin: 8px 0 18px;
  }

  .info-page main {
    padding-top: 86px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.image-download-deterrent img {
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

.legal-page {
  min-height: 100vh;
  background: #fff;
}

.legal-content {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding: 190px 0 100px;
}

.legal-kicker {
  margin: 0 0 20px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-content h1 {
  margin: 0 0 70px;
  font-family: "PP Hatton", Georgia, serif;
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 300;
  line-height: 1;
}

.legal-content section {
  margin-top: 42px;
}

.legal-content h2 {
  margin: 0 0 12px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.legal-content p {
  max-width: 68ch;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-updated {
  margin-top: 56px !important;
  color: #666;
  font-size: 12px !important;
}

@media (max-width: 760px) {
  .legal-content {
    width: calc(100% - 40px);
    padding: 125px 0 70px;
  }

  .legal-content h1 {
    margin-bottom: 48px;
  }
}
