:root {
  --paper: #f7f5ee;
  --ink: #232a23;
  --muted: #62685c;
  --sage: #d4d9cb;
  --line: #cdd0c3;
  --surface: #eeeee5;
  --accent: #596846;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color-scheme: light;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible,
select:focus-visible {
  outline: 3px solid #806444;
  outline-offset: 4px;
}
button,
input,
select {
  border-radius: 0;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
em {
  font-weight: 400;
}
.section-wrap {
  max-width: 1320px;
  padding-left: 52px;
  padding-right: 52px;
  margin: auto;
}
.site-header {
  height: 94px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 52px;
  border-bottom: 1px solid var(--line);
  max-width: 1440px;
  margin: auto;
  gap: 28px;
}
.wordmark {
  font: 600 29px/1 var(--serif);
  letter-spacing: -1px;
  text-decoration: none;
  white-space: nowrap;
}
.aperture {
  font: 28px var(--sans);
  display: inline-block;
  vertical-align: -1px;
  margin-right: 5px;
}
.site-header nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-size: 14px;
}
.site-header nav > a:not(.button) {
  text-decoration: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  border-radius: 5px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button:hover {
  background: #3d4939;
}
.button.small {
  min-height: 44px;
  padding: 10px 17px;
  gap: 20px;
}
.button.secondary {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}
.button.secondary:hover {
  background: var(--surface);
}
.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  gap: 14px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.2px;
  line-height: 1.6;
}
.hero {
  padding-top: 54px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  column-gap: 60px;
}
.hero-copy {
  padding: 32px 0 24px;
}
.hero h1 {
  font: clamp(58px, 6.1vw, 87px)/1.03 var(--serif);
  letter-spacing: -4px;
  margin: 29px 0 26px;
}
.hero h1 em {
  color: var(--accent);
}
.intro {
  font-size: 16px;
  line-height: 1.75;
  max-width: 380px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.quiet-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 20px;
}
.hero-photo {
  position: relative;
  margin: 0;
  align-self: stretch;
  min-height: 560px;
  background: var(--sage);
  overflow: hidden;
  border-radius: 120px 120px 8px 8px;
}
.hero-photo > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 43% center;
  position: absolute;
}
.hero-photo:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(13, 25, 15, 0.55));
  pointer-events: none;
}
.hero-photo figcaption {
  position: absolute;
  left: 25px;
  right: 25px;
  bottom: 20px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 1.6px;
  z-index: 1;
}
.photo-label {
  position: absolute;
  bottom: 60px;
  left: 30px;
  font: 38px/1.05 var(--serif);
  color: #fff;
  z-index: 1;
  letter-spacing: -1px;
}
.hero-footer {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 1.6px;
  gap: 16px;
}
.how {
  padding-top: 100px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 75px;
}
h2 {
  font: clamp(36px, 4.1vw, 54px)/1.09 var(--serif);
  letter-spacing: -1.8px;
  margin-top: 22px;
}
.how h2 em,
.faq h2 em,
.closing h2 em {
  color: var(--accent);
}
.steps {
  display: grid;
  gap: 30px;
}
.steps article {
  padding-left: 50px;
  position: relative;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}
.step-number {
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 11px;
  font-family: monospace;
  color: var(--muted);
}
.steps h3 {
  font: 26px var(--serif);
  margin-bottom: 10px;
}
.steps p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}
.passes-section {
  background: var(--surface);
  padding: 80px 0 90px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 32px;
}
.section-heading > p {
  font-size: 14px;
  line-height: 1.8;
  max-width: 340px;
  color: var(--muted);
}
.preview-notice {
  font-size: 12px;
  line-height: 1.7;
  border-left: 2px solid #7d886e;
  padding: 10px 16px;
  margin: 25px 0 35px;
  max-width: 780px;
  color: var(--muted);
}
.pass-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.pass {
  position: relative;
  padding: 42px 26px 26px;
  border: 1px solid #aeb5a3;
  border-radius: 26px;
  color: var(--ink);
}
.pass.paper {
  background: #eae4d6;
}
.pass.ink {
  background: #242c23;
  color: #f6f3e8;
  border-color: #414d3a;
}
.pass.sage {
  background: #d0d6c7;
}
.pass-slot {
  position: absolute;
  top: 16px;
  left: calc(50% - 25px);
  height: 5px;
  width: 50px;
  background: currentColor;
  opacity: 0.3;
  border-radius: 4px;
}
.pass-brand {
  font: 600 23px var(--serif);
  display: flex;
  justify-content: space-between;
  margin: 0 0 12px;
}
.pass h3 {
  font: 58px/0.98 var(--serif);
  letter-spacing: -2px;
  margin: 30px 0 20px;
}
.pass h3 em {
  font-style: normal;
}
.pass > p:not(.eyebrow):not(.pass-brand) {
  font-size: 12px;
  line-height: 1.7;
}
.pass-price {
  padding: 17px 0;
  margin-top: 24px;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
}
.pass-price strong {
  display: block;
  font: 21px var(--serif);
}
.pass-price span {
  display: block;
  font: 8px/1.7 monospace;
  letter-spacing: 1px;
  margin-top: 8px;
}
.pass ul {
  list-style: none;
  margin: 23px 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 12px;
}
.pass li:before {
  content: "✓";
  margin-right: 9px;
}
.pass .button {
  width: 100%;
  font-size: 12px;
  gap: 10px;
}
.pass-status {
  padding: 15px 0 0;
  border-top: 1px solid currentColor;
  font-size: 11px !important;
}
.faq {
  padding-top: 100px;
  padding-bottom: 100px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 75px;
}
details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  font-size: 15px;
  cursor: pointer;
  min-height: 24px;
  list-style: none;
  padding-right: 30px;
  position: relative;
}
summary:after {
  content: "+";
  position: absolute;
  right: 3px;
  font-size: 20px;
  top: -4px;
}
details[open] summary:after {
  content: "−";
}
details p {
  margin-top: 16px;
  line-height: 1.75;
  font-size: 14px;
  color: var(--muted);
}
.closing {
  padding-top: 60px;
  padding-bottom: 90px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.closing h2 {
  font-size: clamp(45px, 5vw, 70px);
  margin-bottom: 30px;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid var(--line);
}
.site-footer .wordmark {
  font-size: 24px;
}
.site-footer p {
  font: italic 17px var(--serif);
}
.site-footer nav {
  display: flex;
  gap: 22px;
  font-size: 12px;
}
.site-footer > span {
  font-size: 9px;
  letter-spacing: 1px;
}
.skip {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--ink);
  color: var(--paper);
  padding: 15px;
  z-index: 50;
}
.skip:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
body[data-page="app"] #site {
  display: none;
}
.app-wrap {
  padding-top: 48px;
  padding-bottom: 70px;
  min-height: 70vh;
}
.welcome {
  max-width: 520px;
  margin: 30px auto 70px;
}
.welcome h1,
.app-heading h1 {
  font: clamp(38px, 4.5vw, 60px)/1.1 var(--serif);
  letter-spacing: -1.7px;
  margin: 18px 0;
}
.welcome .intro {
  max-width: 480px;
}
.panel {
  padding: 26px;
  border: 1px solid var(--line);
  background: #fffef9;
  border-radius: 13px;
}
.form-stack {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
label.field {
  display: grid;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
}
.field input,
.field select {
  min-height: 48px;
  border: 1px solid #adb5a0;
  border-radius: 5px;
  padding: 12px;
  background: #fffef9;
  color: var(--ink);
  font-size: 16px;
  width: 100%;
}
.field input:disabled {
  background: var(--surface);
}
.field small {
  font-weight: 400;
  color: var(--muted);
  line-height: 1.6;
}
.join-code {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-family: monospace;
}
.tabs {
  display: flex;
  gap: 5px;
  overflow: auto;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
  width: max-content;
  max-width: 100%;
}
.tabs button {
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  white-space: nowrap;
  border-radius: 4px;
}
.tabs button[aria-selected="true"],
.tabs button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.app-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 25px;
  margin-bottom: 32px;
}
.app-heading .eyebrow {
  color: var(--accent);
}
.event-top {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 28px;
}
.event-stats {
  display: flex;
  gap: 26px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.event-stats strong {
  display: block;
  font: 26px var(--serif);
  color: var(--ink);
  margin-bottom: 3px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 30px 0;
  flex-wrap: wrap;
}
.toolbar-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.photo-card {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--ink);
}
.photo-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--surface);
  border-radius: 8px;
}
.photo-card span {
  display: block;
  padding-top: 9px;
  font-size: 12px;
  color: var(--muted);
}
.empty {
  padding: 65px 20px;
  text-align: center;
  border: 1px dashed #aab29f;
  border-radius: 12px;
}
.empty h2 {
  font-size: 33px;
  margin: 15px 0;
}
.empty p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 24px;
}
.empty .aperture {
  font-size: 40px;
  color: var(--accent);
}
.error-banner {
  padding: 16px 20px;
  background: #f0e5dc;
  border: 1px solid #c8b19c;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.7;
  margin: 20px 0;
  color: #683a25;
}
.loading {
  padding: 65px;
  text-align: center;
  color: var(--muted);
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 16px 22px;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid #637156;
  border-radius: 8px;
  max-width: min(90vw, 520px);
  font-size: 14px;
  line-height: 1.6;
  z-index: 60;
  box-shadow: 0 8px 30px #19211522;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.event-card {
  background: #e9eadd;
  border: 1px solid #bac2ad;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
}
.event-card strong {
  font: 30px/1.15 var(--serif);
}
.event-card small {
  color: var(--muted);
  font-size: 12px;
}
.event-card[aria-current="true"] {
  border: 2px solid var(--accent);
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}
.settings-grid h2 {
  font-size: 29px;
  margin: 0 0 12px;
}
.settings-grid p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.settings-grid .button {
  justify-self: start;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  min-height: 44px;
}
.check-field input {
  height: 20px;
  width: 20px;
  accent-color: var(--accent);
}
.danger-zone {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}
.danger {
  color: #783d2b !important;
}
.pending-banner {
  background: #e7eadc;
  border: 1px solid #bcc6ab;
  padding: 14px 18px;
  border-radius: 8px;
  margin: 20px 0;
  font-size: 13px;
  line-height: 1.7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.pending-banner button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  min-height: 44px;
  color: var(--ink);
}
dialog {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  max-width: min(94vw, 640px);
  width: 100%;
  max-height: 92dvh;
  overflow: auto;
  box-shadow: 0 20px 100px #1118;
}
dialog::backdrop {
  background: #142016aa;
  backdrop-filter: blur(4px);
}
.modal-inner {
  padding: 30px;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
.modal-head h2 {
  font: 30px var(--serif);
  margin: 0;
  letter-spacing: -1px;
}
.icon-button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 50%;
  font-size: 23px;
  color: var(--ink);
}
.modal-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 24px;
  flex-wrap: wrap;
}
.detail-image {
  max-height: 65vh;
  object-fit: contain;
  width: 100%;
  background: #161d17;
}
.capture-preview {
  width: 100%;
  max-height: 48vh;
  object-fit: contain;
  background: #182019;
  border-radius: 7px;
}
.camera-video {
  width: 100%;
  max-height: 58vh;
  background: #182019;
  border-radius: 8px;
  object-fit: cover;
}
.filter-options {
  display: flex;
  overflow: auto;
  gap: 8px;
  padding: 18px 0;
}
.filter-options button {
  min-height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  padding: 10px 15px;
  border-radius: 30px;
  font-size: 12px;
  white-space: nowrap;
}
.filter-options button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
.invite-link {
  word-break: break-all;
  line-height: 1.7;
  font-size: 13px;
  padding: 14px;
  background: var(--surface);
  margin: 20px 0;
  border: 1px solid var(--line);
}
.code-display {
  font: 36px monospace;
  letter-spacing: 4px;
  margin: 20px 0;
}
.busy {
  opacity: 0.6;
  pointer-events: none;
}
.load-more {
  display: block;
  margin: 30px auto 0;
}
.offline-pill {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid #bbbca8;
  border-radius: 30px;
  font-size: 11px;
  margin-top: 15px;
}
.switch-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.7;
}
@media (min-width: 1500px) {
  .hero-photo {
    min-height: 610px;
  }
}
@media (max-width: 1050px) {
  .hero {
    gap: 32px;
  }
  .hero h1 {
    font-size: 67px;
  }
  .hero-photo {
    min-height: 540px;
  }
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .how,
  .faq {
    gap: 40px;
    grid-template-columns: 0.9fr 1.1fr;
  }
  .pass {
    padding-left: 20px;
    padding-right: 20px;
  }
  .pass h3 {
    font-size: 52px;
  }
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  .section-wrap {
    padding-left: 24px;
    padding-right: 24px;
  }
  .site-header {
    padding: 0 24px;
    height: 78px;
  }
  .site-header nav {
    gap: 15px;
  }
  .site-header nav > a:not(.button) {
    display: none;
  }
  .wordmark {
    font-size: 27px;
  }
  .site-header .small {
    font-size: 12px;
    gap: 10px;
    padding: 9px 13px;
  }
  .hero {
    padding-top: 20px;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding-top: 24px;
  }
  .hero h1 {
    font-size: 64px;
    letter-spacing: -3px;
    margin: 24px 0;
  }
  .intro {
    font-size: 15px;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 8px 20px;
  }
  .quiet-note {
    margin-top: 10px;
  }
  .hero-photo {
    min-height: 430px;
    border-radius: 95px 95px 6px 6px;
    margin-top: 10px;
  }
  .hero-footer {
    font-size: 8px;
    line-height: 1.7;
    padding: 20px 0;
  }
  .hero-footer span:last-child {
    display: none;
  }
  .how,
  .faq {
    padding-top: 65px;
    padding-bottom: 65px;
    display: block;
  }
  .steps {
    margin-top: 40px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 24px;
    max-width: 100%;
  }
  .passes-section {
    padding: 60px 0;
  }
  .pass-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 430px;
    margin: auto;
  }
  .pass {
    padding: 42px 26px 26px;
  }
  .pass h3 {
    font-size: 64px;
  }
  .pass > p:not(.eyebrow):not(.pass-brand),
  .pass ul {
    font-size: 14px;
  }
  .pass-price span {
    font-size: 10px;
  }
  .pass-price strong {
    font-size: 24px;
  }
  .faq > div:last-child {
    margin-top: 30px;
  }
  .site-footer {
    align-items: flex-start;
    gap: 25px;
  }
  .site-footer p {
    margin-left: auto;
  }
  .site-footer nav {
    width: 100%;
  }
  .site-footer > span {
    display: none;
  }
  .closing {
    padding-top: 50px;
    padding-bottom: 60px;
  }
  .app-wrap {
    padding-top: 30px;
  }
  .app-top {
    display: block;
  }
  .app-top .tabs {
    margin-top: 24px;
    width: 100%;
  }
  .app-top .tabs button {
    flex: 1;
    padding: 10px 15px;
  }
  .app-heading h1 {
    font-size: 42px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }
  .events-grid,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .toolbar .tabs {
    width: 100%;
    justify-content: center;
  }
  .toolbar .tabs button {
    flex: 1;
  }
  .toolbar-actions {
    width: 100%;
  }
  .toolbar-actions .button {
    flex: 1;
    padding: 12px;
    font-size: 12px;
    gap: 8px;
  }
  .modal-inner {
    padding: 22px;
  }
  .modal-actions .button {
    flex: 1;
  }
  .event-stats {
    gap: 20px;
  }
  .event-top {
    align-items: flex-start;
  }
  .pending-banner {
    display: block;
  }
  .pending-banner button {
    display: block;
    margin-top: 4px;
  }
  .welcome {
    margin: 12px auto 40px;
  }
  .form-stack {
    gap: 18px;
  }
  .hero-photo figcaption {
    font-size: 8px;
    left: 20px;
    right: 20px;
  }
  .photo-label {
    left: 25px;
  }
  .toast {
    bottom: 15px;
    width: 90%;
    max-width: 520px;
  }
  .site-header + .app-wrap {
    padding-top: 30px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}

.invite-qr {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}
.invite-qr canvas {
  max-width: 100%;
  height: auto !important;
  border-radius: 6px;
}
.code-display {
  text-align: center;
}

.auth-panel { text-align: left; }
.auth-footnote { display: flex; gap: 18px; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; }
.auth-footnote > span { font: 32px Georgia, serif; }
.auth-footnote p { margin: 0; font-size: 14px; }
.auth-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; }
.auth-links button, .auth-account-action button { cursor: pointer; }
.auth-account-action { margin: 20px 0; }
.auth-reminder { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; margin-bottom: 24px; background: var(--sage); border-radius: 8px; }
.auth-reminder p { margin: 0; max-width: 52ch; }
.auth-reminder button { flex-shrink: 0; }
.sign-in-code { font-family: monospace; font-size: 24px; letter-spacing: .15em; text-transform: uppercase; }
@media(max-width: 600px) { .auth-reminder { align-items: flex-start; flex-direction: column; gap: 10px; } }

.profile-avatar{display:inline-flex;width:36px;height:36px;flex:none;border-radius:50%;overflow:hidden;color:#242826;background:#f3f3f0;align-items:center;justify-content:center}.profile-avatar svg{width:100%;height:100%}.profile-avatar img{width:100%;height:100%;object-fit:cover}.profile-avatar-large{width:88px;height:88px}.profile-photo-editor{display:flex;align-items:center;gap:20px;margin:24px 0}.profile-photo-editor .text-link{display:block;margin-top:12px}.profile-tab{display:inline-flex!important;gap:8px;align-items:center}.profile-tab .profile-avatar{width:28px;height:28px}

/* Nordic White: the same quiet canvas as the iPhone app. */
:root { --paper:#fff; --ink:#252a28; --muted:#626966; --surface:#f7f8f7; --line:#daddda; --accent:#303a35; }
.aperture { display:inline-block; width:20px; height:20px; border-radius:50%; font-size:0; background:conic-gradient(#ff3b30,#ff9500,#fc0,#34c759,#32ade6,#007aff,#af52de,#ff3b30); vertical-align:baseline; }
.pass.clay { background:#af5132; color:#fffaf2; }
.pass.clay .button { background:#fff; color:#252a28; }
.android-note { display:grid; grid-template-columns:10px 1fr; gap:10px; border-top:1px solid var(--line); padding-top:22px; margin-top:26px; max-width:440px; font-size:14px; }
.android-note p { margin:0; line-height:1.6; }
.android-note .text-link { grid-column:2; }
.platform-dot { background:conic-gradient(#ff3b30,#fc0,#34c759,#007aff,#af52de,#ff3b30); width:9px; height:9px; border-radius:50%; margin-top:7px; }
.download-page { display:none; }
body[data-page="download"] #site { display:none; }
body[data-page="download"] .download-page { display:grid; grid-template-columns:1.15fr 1fr; gap:8%; padding-top:70px; padding-bottom:90px; }
.download-copy h1 { font-size:clamp(68px,8vw,116px); line-height:.96; }
.download-copy .text-link { display:block; margin-top:24px; }
.download-brand { display:flex; align-items:center; gap:12px; font-weight:650; font-size:32px; letter-spacing:-1.5px; }
.download-brand img { width:78px; height:78px; border-radius:20px; border:1px solid var(--line); }
.download-options article { border-top:1px solid var(--line); padding:26px 0; }
.download-options h2 { font-size:38px; margin:10px 0; }
.admin-heading { display:flex; flex-wrap:wrap; align-items:center; gap:14px; margin-bottom:24px; }
.admin-heading>div { flex:1 1 500px; }
.admin-heading h2 { font:48px/1.05 var(--serif); margin:12px 0; }
.admin-heading p { color:var(--muted); font-size:14px; }
.admin-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:24px; }
.admin-stats article { border:1px solid var(--line); border-radius:24px; padding:22px; display:flex; flex-direction:column; gap:12px; }
.admin-stats strong { font:46px/1 var(--serif); }
.admin-stats i { font-size:28px; font-style:normal; }
.admin-stats span,.admin-stats small { font-size:12px; color:var(--muted); }
.admin-desk>.panel { margin-bottom:24px; }
.admin-desk h3 { font:32px/1.1 var(--serif); }
.connection-list p { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; border-bottom:1px solid var(--line); padding:15px 0; }
.connection-list span { color:var(--muted); }
.admin-table-wrap { overflow-x:auto; }
.admin-table-wrap table { width:100%; border-collapse:collapse; text-align:left; font-size:13px; }
.admin-table-wrap td,.admin-table-wrap th { padding:14px 12px; border-bottom:1px solid var(--line); white-space:nowrap; }
.feedback-list article { border-top:1px solid var(--line); padding:24px 0; }
.feedback-meta { display:flex; gap:16px; justify-content:space-between; font-size:12px; color:var(--muted); }
.feedback-body { white-space:pre-wrap; overflow-wrap:anywhere; }
.promo-list { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.promo-list article { border:1px solid var(--line); border-radius:18px; padding:20px; display:flex; flex-direction:column; gap:12px; }
.promo-list strong { font-family:Doto,monospace; font-weight:800; font-size:23px; overflow-wrap:anywhere; }
.promo-list small { color:var(--muted); }
.promo-presets { display:flex; flex-wrap:wrap; gap:10px; margin:24px 0; }
.form-columns { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.owner-entry { border-color:#858f88; }
@media(max-width:760px) { .admin-stats { grid-template-columns:1fr 1fr; } .promo-list { grid-template-columns:1fr; } body[data-page="download"] .download-page { grid-template-columns:1fr; gap:50px; padding-top:35px; } .site-header nav { flex-wrap:wrap; gap:12px; } }
@media(max-width:420px) { .admin-stats article { padding:17px; } .admin-stats strong { font-size:37px; } .form-columns { grid-template-columns:1fr; } }
.wordmark { display:inline-flex; align-items:center; font-family:var(--sans); font-weight:650; letter-spacing:-1.4px; }
.wordmark .aperture { flex:0 0 17px; width:17px; height:17px; margin:8px 0 0; line-height:0; overflow:hidden; }
@media(max-width:640px) {
 .site-header { position:relative; flex-wrap:wrap; gap:12px; }
 .site-header nav { width:100%; justify-content:flex-start; gap:20px; }
 .site-header nav>a[href^="/pricing"],.site-header nav>a[href^="/faq"],.site-header nav>a[href="/download"] { display:inline-block; font-size:12px; }
 .site-header nav>.button { position:absolute; top:16px; right:22px; }
}
.download-copy h1 { font-family:var(--serif); font-weight:400; letter-spacing:-2px; }

/* Shared photo meter: quiet stock, clear additions, explicit one-time checkout. */
.topup-meter{padding:24px;border:1px solid #e6e5df;border-radius:22px;background:#faf9f5;margin-bottom:26px}
.topup-meter h3{font:52px/1.05 'Instrument Serif',serif;margin:12px 0 18px;letter-spacing:-1px}
.topup-meter h3 span{font:16px 'DM Sans',sans-serif;letter-spacing:0}
.topup-meter progress{display:block;width:100%;height:7px;accent-color:#9b613e}
.topup-meter p:last-child{font-size:13px;color:#6b6e69;margin-bottom:0}
.topup-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:24px 0}
.topup-pack{display:flex;flex-direction:column;align-items:flex-start;gap:10px;text-align:left;padding:24px 18px;border:1px solid #d5d1c5;border-radius:18px;background:#f0e9dc;color:#252923;cursor:pointer}
.topup-pack-1{background:#252b27;color:#f7f5ed;border-color:#252b27}.topup-pack-2{background:#e1e4dd}
.topup-pack small{font-size:10px;line-height:1.6;letter-spacing:1px;overflow-wrap:anywhere}
.topup-pack strong{font:46px/1 'Instrument Serif',serif;letter-spacing:-1px;margin-top:15px}
.topup-pack b{font-size:15px;border-top:1px solid currentColor;padding-top:14px;margin-top:12px;width:100%}
.topup-pack:disabled{cursor:default;opacity:1}.topup-pack[aria-pressed=true]{outline:2px solid #a86b42;outline-offset:4px}
.topup-confirm{padding:24px;border:1px solid #dddeda;border-radius:22px;margin:22px 0}
.topup-confirm h3{font:34px 'Instrument Serif',serif;margin:0 0 20px}
.topup-confirm dl div{display:flex;justify-content:space-between;gap:20px;margin:14px 0}.topup-confirm dd{margin:0;text-align:right;font-weight:600}.topup-confirm .button{width:100%;margin-top:12px}
@media(max-width:520px){.topup-packs{grid-template-columns:1fr}.topup-pack{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px}.topup-pack small:first-child{grid-column:1/-1}.topup-pack strong{grid-column:1;font-size:44px;margin-top:8px}.topup-pack span{grid-column:1}.topup-pack b{grid-row:2;grid-column:2;align-self:center;margin:0;border:0;padding:0;text-align:right}.topup-pack small:last-child{grid-column:2;text-align:right}.topup-meter h3{font-size:44px}}
.event-rules-fields{border:1px solid #dedfd9;padding:22px;min-width:0}.event-rules-fields legend{font:28px 'Instrument Serif',serif;padding:0 8px}.event-rules-fields .quiet-note{margin:0}.event-rules-fields select{width:100%;min-height:48px;border:1px solid #d9dcd5;border-radius:12px;background:#fff;color:#252923;padding:10px;font:inherit}

/* Session policy v2 keeps the existing paper, ink and sage visual language. */
.session-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;align-items:center;margin:22px 0;padding:28px;border-left:4px solid var(--sage,#697957)}
.session-panel h2{margin:8px 0 12px;font-size:clamp(27px,3.3vw,39px)}
.session-panel p{max-width:70ch;margin-bottom:12px}
.session-panel-actions{max-width:240px;display:grid;gap:12px}
.session-panel-actions p{margin:0}
#session-controls .session-panel{display:block;margin-top:0;padding:20px}
.session-consent,.session-funding,.session-lifecycle,.session-purchases{padding:24px 0;border-top:1px solid var(--line,#cbd0c1)}
.session-consent h3,.session-funding h3,.session-lifecycle h3,.session-purchases h3{font-family:var(--serif,"Instrument Serif",Georgia,serif);font-weight:400;font-size:28px;margin:0 0 14px}
.session-consent .check-field{align-items:flex-start;line-height:1.6;margin:18px 0}
.session-consent input{flex:0 0 auto;margin-top:6px}
.session-purchase{padding:18px 0;border-top:1px dashed var(--line,#cbd0c1)}
.session-purchase p{margin:10px 0}
#session-confirm:empty,#session-error:empty,#topup-error:empty{display:none}
#session-confirm{margin-top:20px}
@media(max-width:700px){.session-panel{grid-template-columns:1fr;padding:22px;gap:12px}.session-panel-actions{max-width:none}.session-panel-actions .button{width:100%}}

/* App promotion leaves the event and its browser workflow in place. */
.app-prompt { display:flex; align-items:center; gap:16px; margin-block:16px 8px; padding:18px 22px; border:1px solid #dce3dc; border-radius:22px; background:#f0f4ef; color:#242b26; }
.app-prompt[hidden] { display:none; }
.app-prompt img { flex:0 0 44px; border-radius:11px; }
.app-prompt>div { min-width:0; }
.app-prompt strong { font-size:15px; }
.app-prompt p { margin:5px 0 0; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.app-prompt-actions { display:flex; flex:0 0 auto; flex-direction:column; align-items:center; gap:10px; margin-left:auto; }
.app-prompt-actions .text-link { font-size:13px; min-height:32px; }
@media(max-width:640px) { .app-prompt { flex-wrap:wrap; margin-inline:22px; } .app-prompt>div:not(.app-prompt-actions) { flex:1; } .app-prompt-actions { width:100%; flex-direction:row; flex-wrap:wrap; justify-content:flex-start; margin-left:0; } }

/* Guest invitations: one clear invitation, one quiet sign-in, then the camera. */
.guest-entry{max-width:900px;margin:40px auto 70px;padding:0 24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:70px;align-items:center}
.guest-invitation{background:linear-gradient(150deg,#eff4ef,#f7f2ed);border:1px solid #e4e8e1;border-radius:30px;padding:34px;overflow:hidden}
.guest-invitation h1{font:clamp(36px,5vw,62px)/1.05 var(--serif);letter-spacing:-1.3px;margin:18px 0}
.guest-invitation>p:last-child{color:var(--muted);font-size:15px;line-height:1.6}
.guest-invitation-art{height:160px;overflow:hidden;position:relative;margin-bottom:28px;border-radius:12px}
.guest-invitation-art .invitation{transform:scale(.6);transform-origin:top center;width:166%;max-width:none;margin-left:-33%;pointer-events:none}
.guest-invitation-art .invite-link,.guest-invitation-art canvas{display:none}
.guest-wheel{display:block;width:46px;height:46px;border-radius:50%;background:conic-gradient(#efb04a,#d86465,#9c92c8,#68aeb0,#93be8e,#efb04a)}
.guest-entry-form h1,.guest-entry-form h2{font:clamp(38px,5vw,56px)/1.06 var(--serif);letter-spacing:-1.3px;margin:18px 0}
.guest-entry-form>p{font-size:15px;line-height:1.65;color:var(--muted)}
.guest-entry-form .field input{min-height:54px;border-radius:15px;background:#fff}
.guest-entry-form .button{width:100%}
.guest-entry-form .auth-links{display:flex;flex-wrap:wrap;gap:24px;margin-top:20px}
.guest-step{display:flex;gap:12px;align-items:center;font-size:11px!important;letter-spacing:1.8px;color:#4b675b!important;text-transform:uppercase}
.guest-step>span{letter-spacing:.8px}
.guest-name-step{display:block;max-width:480px}
.signed-in-note{font-size:13px!important;color:#365c49!important;overflow-wrap:anywhere}
.guest-workspace{max-width:1040px;margin:auto;padding:34px 24px 64px}
.guest-event-heading{display:flex;align-items:flex-start;gap:20px;justify-content:space-between;margin-bottom:26px}
.guest-event-heading h1{font:clamp(36px,5.5vw,62px)/1.05 var(--serif);letter-spacing:-1.2px;margin:10px 0}
.guest-event-heading>div{min-width:0}.guest-event-heading>div>p:last-child{color:var(--muted);font-size:13px}
.guest-account{border:1px solid #dce4dc;border-radius:100px;background:#f4f7f2;color:#385848;padding:10px 14px;font:13px var(--sans);max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:44px;cursor:pointer;flex-shrink:0}
.guest-account-dot{font-size:12px;margin-right:5px}
.guest-share-card{background:linear-gradient(135deg,#eef3ed,#f7f5f0);border:1px solid #e2e7de;border-radius:26px;padding:25px;margin-bottom:34px}
.guest-share-card>p:first-child{margin:0 0 18px;color:#4f6457;line-height:1.5}
.guest-share-actions{display:flex;gap:12px;flex-wrap:wrap}.guest-share-actions .button{gap:10px;flex:1;min-width:190px;min-height:56px;white-space:nowrap}
.guest-share-actions svg{width:22px;height:22px;flex-shrink:0}.guest-library-button{cursor:pointer}.guest-library-button.is-disabled{opacity:.5;cursor:default}
.guest-photo-balance{font-size:12px;color:#687469;margin:16px 0 0}.guest-photo-balance .text-link{font-size:12px}
.guest-gallery-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}.guest-gallery-bar h2{font:32px var(--serif);letter-spacing:-.5px;margin:0}
.guest-gallery-tabs{width:max-content;max-width:100%;margin-bottom:22px}.guest-gallery-tabs button{min-width:90px}
.guest-empty{text-align:center;color:var(--muted);padding:35px 10px;line-height:1.6}
.guest-event-footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid var(--line);padding-top:22px;margin-top:30px;font-size:13px;color:var(--muted)}
.guest-event-footer details{max-width:100%}.guest-event-footer .auth-reminder{margin:16px 0;padding:18px}.guest-event-footer summary{min-height:32px;cursor:pointer}
.library-batch-preview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.library-batch-preview img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
@media(max-width:640px){.guest-entry{grid-template-columns:minmax(0,1fr);gap:26px;margin-top:22px}.guest-invitation{padding:24px;border-radius:24px}.guest-invitation h1{font-size:38px;margin:12px 0}.guest-invitation-art{height:100px;margin-bottom:16px}.guest-invitation>p:last-child{margin-bottom:0}.guest-entry-form h2{font-size:38px;margin:12px 0}.guest-workspace{padding-top:22px}.guest-event-heading{flex-direction:column;gap:8px}.guest-event-heading h1{font-size:40px}.guest-account{max-width:100%;font-size:12px;padding:8px 12px}.guest-share-card{padding:20px;margin-bottom:28px}.guest-share-actions{flex-direction:column}.guest-share-actions .button{width:100%;min-width:0}.guest-gallery-bar h2{font-size:30px}.guest-event-footer .auth-reminder{display:block}}
@media(prefers-reduced-motion:no-preference){.guest-entry-form,.guest-share-card{animation:guest-arrive .24s ease-out both}@keyframes guest-arrive{from{opacity:.6;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}}

/* Continuous camera, with a single capture action and persistent upload queue. */
dialog.quick-camera-dialog{padding:0;margin:0 auto;width:min(100vw,560px);max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:#101211;color:#fff;overflow:hidden}
.quick-camera-dialog #modal-content{height:100%;opacity:1}.quick-camera{height:100%;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);background:#101211;color:#fff}
.quick-camera-header{display:flex;align-items:center;gap:14px;justify-content:space-between;padding:14px 18px;flex-shrink:0}.quick-camera-header>div{min-width:0;text-align:center}.quick-camera-header strong{display:block;font:14px var(--sans);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:260px}.quick-camera-header span{font-size:11px;color:#bdc7bc;display:block;margin-top:4px}
.camera-round-button{width:44px;height:44px;min-width:44px;border-radius:50%;border:1px solid #59605c;background:#282d29;color:#fff;display:inline-flex;align-items:center;justify-content:center;font:26px var(--sans);cursor:pointer}
.quick-viewfinder{position:relative;flex:1;min-height:120px;background:#080a09;overflow:hidden}.quick-viewfinder video{display:block;width:100%;height:100%;object-fit:contain}.quick-shutter-flash{position:absolute;inset:0;pointer-events:none;background:#fff;opacity:0}
.quick-camera-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:24px;text-align:center;background:#141915;color:#e3e9df;font-size:14px;line-height:1.6}.quick-camera-loading p{margin:0}.quick-camera-loading .button{background:#e2e9df;color:#18221a;margin-top:12px}
.quick-camera-look-picker{display:flex;gap:12px;overflow-x:auto;scrollbar-width:none;padding:16px 20px 8px;flex-shrink:0;scroll-snap-type:x proximity}.quick-camera-look-picker::-webkit-scrollbar{display:none}.quick-camera-look-picker button{display:flex;flex-direction:column;gap:7px;align-items:center;border:0;background:none;color:#bcc3bd;font:11px var(--sans);min-width:52px;cursor:pointer;scroll-snap-align:center;padding:2px}.quick-camera-look-picker button>span{display:block;width:39px;height:39px;border-radius:50%;border:2px solid transparent;background:linear-gradient(140deg,#c2d5be,#edd9bf 50%,#b69a8b)}.quick-camera-look-picker button[aria-pressed=true]{color:#fff}.quick-camera-look-picker button[aria-pressed=true]>span{outline:1px solid #d4dfc9;outline-offset:3px}
.quick-camera-dock{display:flex;align-items:center;justify-content:space-around;gap:16px;flex-wrap:wrap;padding:12px 24px 18px;flex-shrink:0}.quick-shutter{width:76px;height:76px;border:2px solid #e6eee2;background:none;border-radius:50%;padding:5px;cursor:pointer;touch-action:manipulation}.quick-shutter>span{display:block;background:#eef3e9;width:100%;height:100%;border-radius:50%;transition:transform .12s}.quick-shutter:active>span{transform:scale(.9)}.quick-shutter:disabled{opacity:.45;cursor:default}.camera-last-shot{width:44px;height:44px;border:1px solid #59605c;border-radius:12px;overflow:hidden}.camera-last-shot img{width:100%;height:100%;object-fit:cover}.quick-camera-dock>p{width:100%;text-align:center;font-size:11px;line-height:1.5;margin:0;color:#bac5b7;min-height:30px}.quick-camera button:focus-visible,.quick-camera label:focus-within{outline:2px solid #fff;outline-offset:4px}
@media(prefers-reduced-motion:reduce){.quick-shutter>span{transition:none}}

body.guest-experience .site-header nav{display:none}body.guest-experience .site-header{padding-block:18px}body.guest-experience .site-footer{padding-block:24px}body.guest-experience .site-footer>p{display:none}
.guest-invitation-art{width:84px;height:84px;border-radius:18px;margin-bottom:22px}.guest-invitation-art>img{width:100%;height:100%;object-fit:cover}

.guest-event-heading h1,.guest-invitation h1,.guest-entry-form h1{overflow-wrap:anywhere}

.camera-round-button svg{width:22px;height:22px;flex-shrink:0}

@font-face {
  font-family: "Instrument Serif";
  src: url("/picture-us/web-assets/fonts/instrumentserif.ttf?v=ddd6d56325cf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
.cover-preview-button {
  display: block; position: relative; width: 100%; padding: 0;
  border: 0; background: transparent; color: inherit; cursor: pointer;
}
.cover-preview-label {
  position: absolute; right: 12px; top: 12px; padding: 10px 14px;
  border-radius: 999px; background: #fffffff0; color: #252925;
  font: 500 12px var(--sans); box-shadow: 0 2px 12px #0001;
}
.cover-preview-button:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@font-face {
  font-family: "DM Sans";
  src: url("/picture-us/web-assets/fonts/dmsans.ttf?v=ddd6d56325cf") format("truetype");
  font-weight: 100 1000;
  font-display: swap;
}
@font-face {
  font-family: Doto;
  font-variation-settings: "ROND" 100;
  src: url("/picture-us/web-assets/fonts/doto.ttf?v=ddd6d56325cf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Caveat;
  src: url("/picture-us/web-assets/fonts/caveat.ttf?v=ddd6d56325cf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
body:not([data-appearance="original"]) {
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "DM Sans", "Avenir Next", sans-serif;
  font-family: var(--sans);
}
.font-editorial {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}
.font-clean {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
}
.font-dotted {
  font-family: Doto, monospace;
  font-weight: 800;
  font-variation-settings: "ROND" 100;
}
.font-hand {
  font-family: Caveat, cursive;
  font-weight: 500;
}
.collection-cover {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 0.79;
  background: var(--paper-cover, #344b3b);
  color: #fff9eb;
  width: 100%;
  container-type: inline-size;
  text-align: left;
  border-radius: 2px;
}
.collection-content {
  position: absolute;
  inset: 0;
  padding: 9%;
  z-index: 2;
}
.collection-kicker {
  font:
    500 8px/1.4 "DM Sans",
    sans-serif;
  font-size: 2.5cqw;
  letter-spacing: 1.8px;
  color: inherit;
  max-width: 100%;
}
.collection-title {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 26%;
  height: 43%;
  display: flex;
  align-items: center;
  font-size: 48px;
  font-size: 16cqw;
  line-height: 0.98;
  letter-spacing: -0.7px;
  overflow-wrap: anywhere;
}
.collection-title.font-clean {
  font-size: 11cqw;
  letter-spacing: -1px;
}
.collection-title.font-dotted {
  font-size: 11cqw;
  line-height: 1.1;
  letter-spacing: -1.2px;
}
.collection-imprint {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 7%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  font:
    500 8px/1.5 "DM Sans",
    sans-serif;
  font-size: 2.6cqw;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.collection-imprint span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.collection-photo,
.paper-cutout-layers,
.collection-red,
.aura-cloud {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.collection-photo {
  overflow: hidden;
  background: #b5b7aa;
}
.collection-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, #ded7bd, #7c8a80);
}
.cover-placeholder span {
  position: absolute;
  width: 140%;
  aspect-ratio: 1;
  border: 1px solid #f6edda99;
  border-radius: 50%;
  top: 40%;
  left: -20%;
  background: #52654f55;
}
.collection-aura {
  background: #d3d3c6;
  color: #28342e;
}
.aura-cloud {
  inset: -8%;
  width: 116%;
  height: 116%;
  filter: blur(16px);
  background:
    radial-gradient(
      ellipse at 28% 71%,
      #f54835 0%,
      #f54835dc 17%,
      transparent 48%
    ),
    radial-gradient(
      ellipse at 68% 26%,
      #234555 0%,
      #426574c9 16%,
      transparent 46%
    ),
    radial-gradient(ellipse at 85% 67%, #3597a2 0%, transparent 49%),
    radial-gradient(ellipse at 16% 87%, #ffb76d 0%, transparent 46%);
}
.collection-afterglow {
  background: #c51a23;
}
.collection-afterglow .collection-photo {
  filter: grayscale(1) contrast(1.6) brightness(0.77);
  mix-blend-mode: multiply;
}
.collection-red {
  background: linear-gradient(180deg, #bd14261a, #0b111260 40%, #091114e8);
}
.collection-afterglow .collection-title {
  text-transform: uppercase;
  text-align: center;
  justify-content: center;
  letter-spacing: 1px;
  text-shadow: 0 2px 18px #0008;
}
.collection-cutout {
  background: #c83d36;
}
.collection-cutout .collection-photo {
  inset: 23% auto auto 17%;
  width: 68%;
  height: 47%;
  transform: rotate(-8deg);
  border: 7px solid #f7f0da;
  filter: grayscale(1);
  box-shadow: 3px 5px 0 #192e532f;
}
.collection-cutout .collection-title {
  top: 67%;
  height: 18%;
  text-shadow: 2px 2px #812322;
  transform: rotate(-4deg);
}
.collection-cutout .collection-imprint {
  color: #202f27;
  background: #f9f1da;
  padding: 4px 6px;
  bottom: 4%;
  font-size: 2.2cqw;
}
.collection-star {
  position: absolute;
  top: 18%;
  left: 7%;
  font-size: 14cqw;
  color: #f4e866;
  z-index: 1;
}
.collection-quiet {
  background: #f0eee5;
  color: #222e28;
}
.collection-quiet .collection-photo {
  inset: 11% 10% auto;
  width: 80%;
  height: 54%;
  filter: grayscale(1);
}
.collection-quiet .collection-title {
  top: 68%;
  height: 18%;
  font-size: 11cqw;
}
.collection-quiet .collection-title.font-clean {
  font-size: 8cqw;
}
.collection-quiet .collection-title.font-dotted {
  font-size: 9cqw;
}
.collection-quiet .collection-imprint {
  font-size: 2.1cqw;
  bottom: 5%;
}
.collection-aura.has-cover-photo .collection-photo,
.collection-original.has-cover-photo .collection-photo {
  inset: 14% 10% auto;
  width: 80%;
  height: 50%;
  border: 0.8cqw solid #ffffff80;
}
.collection-aura.has-cover-photo .collection-title,
.collection-original.has-cover-photo .collection-title {
  top: 66.5%;
  height: 18%;
  font-size: 12.48cqw;
}
.collection-aura.has-cover-photo .collection-title.font-clean,
.collection-original.has-cover-photo .collection-title.font-clean,
.collection-aura.has-cover-photo .collection-title.font-dotted,
.collection-original.has-cover-photo .collection-title.font-dotted {
  font-size: 8.736cqw;
}
.collection-cover:not(.photo-look-template) .collection-photo {
  filter: none;
  mix-blend-mode: normal;
}
.photo-look-mono .collection-photo img { filter: grayscale(1); }
.collection-paper .collection-photo {
  inset: 48% 10% auto;
  width: 80%;
  height: 30%;
}
.collection-paper .collection-title {
  top: 16%;
  height: 28%;
  font-size: 13cqw;
}
.collection-paper.paper-paper {
  color: #344b3b;
}
.collection-paper .collection-imprint {
  bottom: 5%;
  font-size: 2.4cqw;
}
.collection-original {
  background: linear-gradient(135deg, #c35c2b, #b64e2b 70%, #723d2b);
}
.original-orbit {
  position: absolute;
  width: 120%;
  aspect-ratio: 1;
  border: 35px solid #ffd98c70;
  border-radius: 50%;
  left: 25%;
  top: -22%;
}
.designed-album-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 12px 0 28px;
  border: 1px solid var(--line);
  background: #eeece3;
  border-radius: 5px;
  overflow: hidden;
}
.album-cover-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 25px;
  background: #e4e7db;
  min-width: 0;
}
.album-cover-stage .collection-cover {
  width: min(270px, 80%);
  transform: rotate(-6deg);
  box-shadow: 8px 14px 24px #29362d30;
}
.album-hero-copy {
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 18px;
}
.album-hero-copy h2 {
  font-size: 38px;
}
.album-hero-copy .eyebrow {
  margin: 0;
}
.album-hero-copy p {
  font-size: 14px;
}
.album-hero-copy .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.album-hero-copy .button {
  min-height: 44px;
}
.studio-teaser {
  margin: 24px 0;
  padding: 22px;
  border: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.studio-teaser h2 {
  font-size: 28px;
  margin: 5px 0;
}
.studio-teaser p {
  font-size: 13px;
}
.designed-invitation {
  width: min(340px, 100%);
  border-radius: 18px;
  overflow: hidden;
  margin: 24px auto;
  background: #fcfaf4;
  box-shadow: 0 14px 30px #29362d25;
  transform: rotate(-2deg);
}
.invitation-join {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
}
.invitation-join canvas {
  width: 96px !important;
  height: 96px !important;
  background: #fff;
  flex-shrink: 0;
}
.invitation-join p {
  font:
    25px/1.1 "Instrument Serif",
    serif;
  color: #29362d;
  margin: 0 0 8px;
}
.invitation-join small {
  font:
    10px/1.4 "DM Sans",
    sans-serif;
  color: #29362d;
}
.invitation-join strong {
  display: block;
  font:
    500 11px/1.4 "DM Sans",
    sans-serif;
  letter-spacing: 1px;
  margin-top: 7px;
  color: #29362d;
}
.design-editor {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 25px;
}
.design-preview-stage {
  background: #e4e7db;
  border-radius: 4px;
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  align-self: start;
}
.design-preview-stage .collection-cover {
  max-width: 300px;
  box-shadow: 6px 10px 20px #29362d20;
  transform: rotate(-3deg);
}
.design-fields {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.design-fields fieldset {
  padding: 0;
  border: 0;
  min-width: 0;
  margin: 0;
}
.design-fields legend {
  font-size: 12px;
  margin-bottom: 10px;
}
.collection-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.collection-picker button {
  min-width: 0;
  text-align: left;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.collection-sample {
  display: block;
}
.collection-sample > span:last-child {
  position: absolute;
  left: 11%;
  right: 7%;
  top: 35%;
  font-size: 23px;
  font-size: 17cqw;
  line-height: 0.95;
  z-index: 2;
  letter-spacing: -0.5px;
}
.collection-sample.collection-quiet > span:last-child,
.collection-sample.collection-cutout > span:last-child {
  top: auto;
  bottom: 8%;
  font-size: 13cqw;
}
.collection-sample .collection-photo {
  border-width: 3px;
}
.collection-sample .aura-cloud {
  filter: blur(5px);
}
.collection-picker strong {
  display: block;
  font-size: 10px;
  min-height: 44px;
  padding-top: 10px;
  font-weight: 500;
}
.collection-picker small {
  display: none;
}
.collection-picker [aria-pressed="true"] .collection-sample {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.typeface-picker {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.typeface-picker button {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 80px 12px;
  align-items: center;
  gap: 8px;
  padding: 10px;
  min-height: 62px;
  border-radius: 3px;
  color: var(--ink);
  text-align: left;
  background: none;
}
.typeface-picker [aria-pressed="true"] {
  background: #e6ebde;
  border-color: var(--ink);
}
.typeface-picker button > span:first-child {
  font-size: 25px;
  line-height: 1.1;
}
.typeface-picker button > span.font-clean:first-child {
  font-size: 15px;
}
.typeface-picker button > span:nth-child(2) {
  font-size: 10px;
}
.typeface-picker small {
  display: block;
  font-size: 8px;
  margin-top: 4px;
}
.typeface-picker b {
  font-size: 12px;
}
.paper-colors {
  display: flex;
  gap: 10px;
}
.paper-colors button {
  width: 44px;
  height: 44px;
  border: 4px solid #fff;
  background: var(--swatch);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}
.paper-colors [aria-pressed="true"] {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.cover-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 15px 0;
}
.cover-photo-grid button {
  border: 2px solid transparent;
  padding: 0;
  aspect-ratio: 1;
  min-width: 0;
  min-height: 44px;
  overflow: hidden;
  background: var(--surface);
}
.cover-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-photo-grid [aria-pressed="true"] {
  border-color: var(--ink);
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.design-save {
  margin-top: 24px;
}
.event-card .collection-cover {
  width: 100%;
  max-width: 150px;
  align-self: center;
  pointer-events: none;
}
.event-card .collection-title {
  font-size: 14cqw;
}
.event-card .collection-kicker {
  font-size: 2.2cqw;
}
.event-card .collection-imprint {
  font-size: 2.1cqw;
}
.event-card > strong {
  margin-top: 14px;
}
.appearance-select {
  width: 100%;
  padding: 12px;
  min-height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}
body[data-appearance="original"] .designed-album-hero {
  display: none;
}
#modal:has(.design-editor) {
  width: min(1050px, calc(100% - 24px));
  max-width: 1050px;
}
.design-fields [hidden] {
  display: none !important;
}
@media (max-width: 700px) {
  .designed-album-hero,
  .design-editor {
    grid-template-columns: minmax(0, 1fr);
  }
  .album-cover-stage {
    padding: 36px 20px;
  }
  .album-cover-stage .collection-cover {
    width: 225px;
  }
  .album-hero-copy {
    padding: 24px;
  }
  .album-hero-copy h2 {
    font-size: 34px;
  }
  .design-preview-stage {
    padding: 30px 25px;
  }
  .design-preview-stage .collection-cover {
    max-width: 260px;
  }
  .studio-teaser {
    align-items: start;
    flex-direction: column;
  }
  .design-editor {
    gap: 24px;
  }
  .design-fields .field input {
    font-size: 16px;
  }
  .invitation-join {
    padding: 12px;
    gap: 9px;
  }
  .invitation-join canvas {
    width: 83px !important;
    height: 83px !important;
  }
  .invitation-join p {
    font-size: 23px;
  }
  .invitation-join small {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .collection-cover {
    transition: none;
  }
}
#live-design-preview {
  width: 100%;
  max-width: 300px;
}
@media (min-width: 701px) {
  .design-editor > .design-preview-stage {
    position: sticky;
    top: 12px;
  }
}
.cover-unavailable {
  background: linear-gradient(125deg, #ded7bd, #7c8a80);
}

.design-preview-stage#live-design-preview {
  max-width: none;
}

.matched-welcome {
  max-width: 1050px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 60px;
  align-items: center;
}
.invitation-welcome-art {
  width: 100%;
  max-width: 320px;
  margin: auto;
}
.invitation-welcome-art > .collection-cover {
  box-shadow: 5px 12px 25px #29362d22;
  transform: rotate(-3deg);
}
.invitation-welcome-art .quiet-note {
  text-align: center;
  margin: 22px 0 0;
}
@media (max-width: 700px) {
  .matched-welcome {
    display: block;
  }
  .invitation-welcome-art {
    max-width: 230px;
    margin: 10px auto 35px;
  }
}

.collection-cover .aura-cloud, .collection-cover .original-orbit, .collection-cover .paper-cutout-layers, .collection-cover .collection-star, .collection-cover .collection-red { filter: hue-rotate(var(--cover-hue,0deg)); }
.cover-colours { display:grid; gap:14px; }
.colour-well input[type=color] { width:100%; height:48px; border:1px solid #29362d33; border-radius:12px; padding:5px; background:transparent; }
.collection-cover .aura-cloud{filter:blur(16px) hue-rotate(var(--cover-hue,0deg))}

.book-desk {
  padding: 12px 0 70px;
}
.book-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
}
.book-heading h2 {
  font:
    clamp(36px, 5vw, 64px) / 1 "Instrument Serif",
    serif;
  margin: 8px 0 16px;
}
.book-heading p {
  max-width: 420px;
}
.book-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(350px, 1.4fr);
  gap: 50px;
  align-items: start;
}
.book-controls {
  display: grid;
  gap: 24px;
}
.book-controls details {
  border-bottom: 1px solid #a5ad9d;
  padding-bottom: 15px;
}
.book-controls summary {
  cursor: pointer;
  min-height: 44px;
}
.book-controls #saved-books {
  display: grid;
  gap: 8px;
}
.book-controls textarea {
  font: inherit;
  line-height: 1.5;
  width: 100%;
  padding: 12px;
  border: 1px solid #8d9687;
  background: #fcfaf4;
  border-radius: 5px;
  resize: vertical;
}
.book-controls fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.book-controls legend {
  font-size: 14px;
  margin-bottom: 12px;
}
.book-layout-picker {
  display: grid;
  gap: 8px;
}
.book-layout-option {
  display: flex;
  text-align: left;
  gap: 15px;
  align-items: center;
  background: #f7f5ee;
  border: 1px solid #b9c0b0;
  border-radius: 5px;
  padding: 12px;
  min-height: 82px;
  color: #29362d;
  font: inherit;
  cursor: pointer;
}
.book-layout-option[aria-pressed="true"] {
  border: 2px solid #29362d;
  background: #e6ebde;
  padding: 11px;
}
.book-layout-option strong {
  font-size: 14px;
  display: block;
}
.book-layout-option small {
  font-size: 12px;
  line-height: 1.4;
  display: block;
  margin-top: 5px;
}
.layout-symbol {
  flex-shrink: 0;
  width: 40px;
  height: 51px;
  background: #fffdf6;
  padding: 7px;
  display: grid;
  gap: 3px;
  box-shadow: 0 1px 4px #29362d25;
}
.layout-symbol i {
  background: #8d9a84;
}
.layout-contact {
  grid-template-columns: 1fr 1fr;
}
.book-preview-area {
  padding: 20px 28px;
  background: #e3e7db;
  border-radius: 5px;
  min-width: 0;
}
.book-preview-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  margin-bottom: 22px;
}
.book-sheet {
  width: 100%;
  aspect-ratio: 595.28/841.89;
  position: relative;
  background: #f7f5ee;
  box-shadow: 5px 12px 24px #29362d20;
  container-type: inline-size;
  overflow: hidden;
  color: #29362d;
}
.book-sheet .book-running {
  position: absolute;
  left: 8.56%;
  top: 6%;
  font:
    1.5cqw "DM Sans",
    sans-serif;
  margin: 0;
  max-width: 83%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.book-opening {
  position: absolute;
  left: 8.56%;
  right: 8.56%;
  top: 22.5%;
}
.book-opening .eyebrow {
  font-size: 1.5cqw;
}
.book-opening h3 {
  font-size: 7cqw;
  line-height: 1.1;
  overflow-wrap: anywhere;
  max-height: 27cqw;
  margin: 20px 0 10cqw;
}
.book-opening p:not(.eyebrow) {
  font:
    2.35cqw/1.65 "DM Sans",
    sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.book-opening small {
  display: block;
  font:
    1.65cqw/1.8 "DM Sans",
    sans-serif;
  margin-top: 8cqw;
}
.book-cover > .collection-cover {
  position: absolute;
  left: 8.56%;
  top: 11.76%;
  width: 82.8%;
  height: 74.1%;
  aspect-ratio: auto;
}
.book-sheet .book-folio {
  position: absolute;
  left: 8.56%;
  bottom: 5.2%;
  font:
    1.35cqw "DM Sans",
    sans-serif;
  letter-spacing: 0.1em;
}
.book-frame {
  position: absolute;
  margin: 0;
}
.book-frame > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.book-frame figcaption {
  position: absolute;
  top: calc(100% + 1.6cqw);
  left: 0;
  right: 0;
  font:
    1.65cqw/1.3 "DM Sans",
    sans-serif;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
  max-height: 8.3cqw;
  overflow: hidden;
}
.book-frame figcaption small {
  display: block;
  font-size: 1.35cqw;
  margin-top: 1.3cqw;
}
.book-export {
  display: flex;
  align-items: end;
  gap: 12px;
  justify-content: space-between;
  margin-top: 26px;
  flex-wrap: wrap;
}
.book-export .field {
  font-size: 12px;
  gap: 7px;
}
.book-export select {
  font: inherit;
  padding: 10px;
  min-height: 44px;
  background: #fcfaf4;
  border: 1px solid #8d9687;
  border-radius: 5px;
}
.book-preview-area > #book-status {
  font-size: 14px;
  line-height: 1.5;
  min-height: 24px;
}
.book-preview-area #book-result {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.book-photo-section {
  margin-top: 64px;
}
.book-section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
}
.book-section-title h3,
.book-photo-section > h3 {
  font:
    32px "Instrument Serif",
    serif;
  margin: 12px 0;
}
.book-section-title > div:last-child {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 12px;
}
.book-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.book-photo-grid button {
  aspect-ratio: 1;
  position: relative;
  border: 2px solid transparent;
  background: #e3e7db;
  padding: 0;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
}
.book-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-photo-grid button[aria-pressed="true"] {
  border-color: #29362d;
}
.book-photo-grid button > span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  background: #fcfaf4;
  color: #29362d;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  font-size: 17px;
}
.book-photo-grid button[aria-pressed="true"] > span {
  background: #29362d;
  color: #fff;
}
.book-sequence {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}
.book-sequence-item {
  display: grid;
  grid-template-columns: 65px 25px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 15px;
  background: #eeece3;
  border-radius: 5px;
}
.book-sequence-item > img {
  width: 65px;
  height: 65px;
  object-fit: cover;
}
.book-sequence-item .field {
  font-size: 12px;
  gap: 5px;
}
.book-order {
  font:
    21px "Instrument Serif",
    serif;
}
.sequence-actions {
  display: flex;
  gap: 4px;
}
.sequence-actions button {
  background: transparent;
  border: 1px solid #a4ae9b;
  color: #29362d;
  border-radius: 4px;
  min-width: 44px;
  min-height: 44px;
  font-size: 19px;
  cursor: pointer;
}
.sequence-actions button:disabled {
  opacity: 0.35;
}
.book-save {
  border-top: 1px solid #b9c0b0;
  padding-top: 22px;
}
.book-save > .button {
  width: 100%;
}
.book-desk button:focus-visible,
.book-desk input:focus-visible,
.book-desk textarea:focus-visible,
.book-desk select:focus-visible {
  outline: 3px solid #476f51;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .book-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .book-controls {
    gap: 20px;
  }
  .book-preview-area {
    padding: 16px;
  }
  .book-heading {
    align-items: start;
    flex-direction: column;
  }
  .book-layout-picker {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .book-layout-option {
    flex-direction: column;
    gap: 8px;
    padding: 9px;
    align-items: start;
  }
  .book-layout-option[aria-pressed="true"] {
    padding: 8px;
  }
  .book-layout-option small {
    display: none;
  }
  .book-layout-option strong {
    font-size: 12px;
  }
  .book-section-title {
    flex-direction: column;
    align-items: start;
  }
  .book-sequence-item {
    grid-template-columns: 50px 20px 1fr;
    gap: 10px;
    padding: 12px;
  }
  .book-sequence-item > img {
    width: 50px;
    height: 50px;
  }
  .sequence-actions {
    grid-column: 3;
    justify-content: flex-end;
  }
  .book-photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .book-controls details {
    order: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .book-desk * {
    scroll-behavior: auto !important;
  }
}

.book-desk .text-link {
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #29362d;
  font:
    14px "DM Sans",
    sans-serif;
  min-height: 44px;
  padding: 8px 0;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.book-opening h3 {
  margin-top: 3cqw;
  max-height: none;
  height: 25cqw;
  display: flex;
  align-items: start;
}
.book-opening p:not(.eyebrow) {
  max-height: 34cqw;
  overflow: hidden;
}

.book-controls select {
  font:
    14px "DM Sans",
    sans-serif;
  padding: 12px;
  background: #fcfaf4;
  border: 1px solid #8d9687;
  min-height: 44px;
  border-radius: 5px;
  width: 100%;
}
/* The print desk shares the album's paper, ink and local typefaces. */
.book-print-offer {
  border-top: 1px solid #b8c1b0;
  margin-top: 25px;
  padding-top: 25px;
  display: grid;
  gap: 12px;
}
.book-print-offer h3 {
  font:
    34px/1.05 "Instrument Serif",
    serif;
  margin: 0;
}
.book-print-offer p {
  margin: 0;
}
.book-print-offer small {
  font-size: 12px;
}
.print-dialog {
  color: #29362d;
  background: #f7f5ee;
  border: 0;
  padding: 30px;
  width: min(1040px, calc(100% - 24px));
  max-height: calc(100dvh - 36px);
  border-radius: 7px;
  box-shadow: 0 28px 110px #1a281e66;
  font-family: "DM Sans", sans-serif;
}
.print-dialog::backdrop {
  background: #17231ece;
  backdrop-filter: blur(5px);
}
.print-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.print-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}
.print-object {
  padding: 48px 25px 25px;
  background: #e3e7db;
  align-self: start;
  text-align: center;
  position: sticky;
  top: 0;
}
.print-book-art {
  position: relative;
  width: 86%;
  margin: auto;
  aspect-ratio: 210/297;
  transform: perspective(1100px) rotateY(-9deg);
  box-shadow:
    4px 8px 0 #c2c7b5,
    6px 9px 0 #faf8ef,
    9px 18px 20px #27362930;
  border-left: 9px solid #29362d;
}
.print-book-art .collection-cover {
  height: 100%;
  aspect-ratio: auto;
}
.print-object > .quiet-note {
  margin-top: 30px;
}
.print-details h2 {
  font:
    clamp(40px, 5vw, 58px) / 0.96 "Instrument Serif",
    serif;
  letter-spacing: -1px;
  margin: 15px 0 24px;
}
.print-details > p {
  line-height: 1.65;
}
.print-details dl {
  border-top: 1px solid #c9cdbf;
  margin: 26px 0;
}
.print-details dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid #c9cdbf;
  font-size: 13px;
}
.print-details dt {
  color: #64705f;
}
.print-details dd {
  margin: 0;
  text-align: right;
}
.print-details > .button {
  width: 100%;
  margin: 9px 0;
}
.print-note {
  padding: 16px;
  background: #e9e6d9;
  border-left: 2px solid #7e865e;
  font-size: 13px;
}
.print-consent {
  margin-top: 22px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.65;
}
.print-consent input {
  width: 20px;
  min-width: 20px;
  height: 20px;
}
.print-dialog .text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.print-dialog button:disabled {
  opacity: 0.45;
  cursor: default;
}
#print-preview-result {
  display: grid;
  gap: 2px;
  margin: 6px 0 16px;
}
#print-status {
  font-size: 13px;
  line-height: 1.7;
}
.print-history {
  margin-top: 42px;
  border-top: 1px solid #bdc4b5;
  padding-top: 28px;
}
.print-history h3 {
  font:
    36px "Instrument Serif",
    serif;
  margin: 8px 0;
}
.print-order {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #d4d8cb;
  padding: 20px 0;
}
.print-order p {
  margin: 7px 0;
  font-size: 13px;
}
.print-order small {
  color: #64705f;
  font-size: 12px;
}
@media (max-width: 700px) {
  .print-dialog {
    padding: 20px;
  }
  .print-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .print-object {
    position: static;
    max-width: 370px;
    width: 100%;
    margin: auto;
    padding: 32px 25px 15px;
  }
  .print-details h2 {
    font-size: 43px;
  }
  .print-header {
    margin-bottom: 24px;
    gap: 12px;
  }
  .print-header .eyebrow {
    font-size: 9px;
  }
  .print-book-art {
    width: 70%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .print-book-art {
    transform: none;
  }
}

.print-dialog {
  max-width: 1040px;
}
.print-header {
  position: sticky;
  top: -30px;
  z-index: 5;
  background: #f7f5ee;
  padding: 12px 0;
}
.print-details h2 {
  max-width: none;
}
@media (max-width: 700px) {
  .print-header {
    top: -20px;
  }
}

/* Gallery, event setup and album editing share the existing Nordic White direction. */
body[data-page="app"]:not([data-appearance="original"]) {
  --paper: #fff;
  --ink: #242826;
  --muted: #626a65;
  --surface: #fafafa;
  --line: #e7e8e7;
  --accent: #242826;
  background: var(--paper);
  min-height: 100dvh;
}
body[data-page="app"]:not([data-appearance="original"]) .site-header {
  background: #ffffffed;
  border-color: #eee;
}
body[data-page="app"]:not([data-appearance="original"]) .button {
  border-radius: 999px;
  background: #242826;
  color: white;
  border-color: #242826;
  min-height: 48px;
}
body[data-page="app"]:not([data-appearance="original"]) .button.secondary {
  background: linear-gradient(#fff, #fafafa);
  color: #242826;
  border-color: #e1e3e1;
  box-shadow:
    0 5px 15px #24282606,
    inset 0 2px 3px white;
}
body[data-page="app"]:not([data-appearance="original"])
  :is(.panel, .modal-inner, .modal, .print-dialog) {
  background: white;
  border-radius: 26px;
}
body[data-page="app"]:not([data-appearance="original"])
  :is(input, select, textarea) {
  background: #fafafa;
  color: #242826;
  border-color: #dedfdd;
  border-radius: 12px;
}
body[data-page="app"]:not([data-appearance="original"])
  :is(
    .book-preview-area,
    .book-sequence-item,
    .design-preview-stage,
    .print-object,
    .print-note
  ) {
  background: #f7f7f7;
  border-radius: 24px;
  color: #242826;
}
body[data-page="app"]:not([data-appearance="original"]) .print-header {
  background: white;
}
body[data-page="app"]:not([data-appearance="original"]) .book-layout-option {
  background: white;
  border-color: #ddd;
  color: #242826;
  border-radius: 18px;
}
body[data-page="app"]:not([data-appearance="original"])
  .book-layout-option[aria-pressed="true"] {
  background: #f4f5f4;
  border-color: #242826;
}
body[data-page="app"]:not([data-appearance="original"]) .book-desk .text-link {
  color: #242826;
}
.gallery-sections {
  display: flex;
  gap: 5px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  width: fit-content;
  margin: 0 0 30px;
}
.gallery-sections button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 12px 32px;
  min-height: 46px;
  font: 500 15px var(--sans);
  color: var(--muted);
}
.gallery-sections button[aria-pressed="true"] {
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 3px 9px #2428260b;
}
.flow-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 8px 24px #24282605;
}
.album-entry {
  display: flex;
  width: 100%;
  text-align: left;
  align-items: center;
  gap: 22px;
  padding: 26px;
  color: var(--ink);
  font: inherit;
  margin-bottom: 30px;
}
.album-entry strong,
.saved-album strong {
  display: block;
  font-weight: 500;
}
.album-entry small,
.saved-album small {
  display: block;
  color: var(--muted);
  margin-top: 7px;
  line-height: 1.5;
}
.album-entry > :last-child,
.saved-album > :last-child {
  margin-left: auto;
}
.album-entry-icon {
  font-size: 32px;
}
.album-library-hero {
  display: grid;
  grid-template-columns: 155px 1fr;
  align-items: center;
  gap: 48px;
  padding: 38px 48px;
}
.album-library-cover {
  transform: rotate(-5deg);
  box-shadow:
    4px 7px 0 #e7e7e5,
    9px 16px 24px #24282615;
}
.album-library-hero h2,
.setup-heading h2 {
  font: 48px/1.05 var(--serif);
  margin: 12px 0 18px;
  letter-spacing: -0.5px;
}
.album-library-hero > div:last-child > p {
  color: var(--muted);
  line-height: 1.65;
}
.album-library-hero .album-steps {
  font-size: 12px;
  margin: 20px 0;
}
.album-library {
  margin-top: 45px;
}
.album-library > h2 {
  font: 34px var(--serif);
  margin-bottom: 12px;
}
#saved-album-list {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}
.saved-album {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 25px;
  text-align: left;
  font: inherit;
  color: var(--ink);
}
.saved-album > :first-child {
  font-size: 28px;
}
.empty-albums {
  color: var(--muted);
  padding: 24px 0;
}
.setup-heading {
  margin: 0 0 35px;
}
.setup-heading > p {
  color: var(--muted);
  line-height: 1.6;
}
.setup-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}
.setup-card {
  padding: 28px;
  display: grid;
  gap: 20px;
}
.setup-card h3 {
  font: 32px/1.1 var(--serif);
}
.setup-card h4 {
  font-size: 19px;
  margin: 0;
  font-weight: 500;
}
.setup-card > p {
  font-size: 14px;
  line-height: 1.65;
}
.setup-card .eyebrow {
  font-size: 10px;
  letter-spacing: 1.5px;
}
.setup-cover {
  width: 115px;
  margin: 10px auto;
  transform: rotate(-3deg);
}
.setup-card #setup-qr {
  max-width: 100%;
  width: 200px !important;
  height: auto !important;
  margin: 0 auto;
  border-radius: 16px;
}
.setup-code {
  text-align: center;
  font: 18px monospace;
  letter-spacing: 3px;
}
.setup-card .button {
  width: 100%;
  text-align: center;
  justify-content: center;
  font-size: 13px;
}
.setup-card .text-link {
  min-height: 44px;
}
.setup-footer {
  display: flex;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.book-desk .book-heading {
  margin-bottom: 25px;
}
.book-desk .book-layout {
  display: contents;
}
.book-desk [data-book-panel][hidden] {
  display: none !important;
}
.book-desk .book-controls {
  max-width: 650px;
  margin: 30px auto 0;
}
.book-desk .book-preview-area {
  max-width: 650px;
  margin: 30px auto 0;
}
.book-desk .book-photo-section {
  margin-top: 28px;
}
.book-continue {
  margin-top: 28px;
}
.book-steps {
  width: 100%;
}
.book-steps > button {
  flex: 1;
  padding-inline: 12px;
}
@media (max-width: 950px) {
  .setup-grid {
    grid-template-columns: 1fr 1fr;
  }
  .setup-card:last-child {
    grid-column: 1/-1;
  }
}
@media (max-width: 650px) {
  .gallery-sections {
    width: 100%;
  }
  .gallery-sections button {
    flex: 1;
    padding: 11px 15px;
  }
  .album-entry {
    padding: 20px;
    gap: 14px;
  }
  .album-entry strong {
    font-size: 15px;
    line-height: 1.4;
  }
  .album-entry small {
    font-size: 12px;
  }
  .album-library-hero {
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 26px 22px;
  }
  .album-library-hero h2 {
    font-size: 35px;
  }
  .album-library-hero .eyebrow {
    font-size: 9px;
  }
  .album-library-hero > div:last-child > p {
    font-size: 13px;
  }
  .album-library-hero .button {
    margin-top: 6px;
    padding-inline: 15px;
  }
  .setup-grid {
    grid-template-columns: 1fr;
  }
  .setup-card:last-child {
    grid-column: auto;
  }
  .setup-heading h2 {
    font-size: 40px;
  }
  .setup-card {
    padding: 24px;
  }
}
.book-design-cover {
  width: min(300px, 100%);
  margin: 0 auto 15px;
  box-shadow: 4px 9px 18px #24282612;
}
body[data-page="app"]:not([data-appearance="original"]) .tabs {
  border-color: #e7e8e7;
  border-radius: 999px;
  padding: 5px;
}
body[data-page="app"]:not([data-appearance="original"]) .tabs button {
  border-radius: 999px;
}
body[data-page="app"]:not([data-appearance="original"]) .wordmark {
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -1.4px;
}
body[data-page="app"]:not([data-appearance="original"]) .wordmark .aperture {
  color: transparent;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: conic-gradient(
    #ed8b46,
    #ebde45,
    #83b36b,
    #4bafcf,
    #7d68c5,
    #e16d89,
    #ed8b46
  );
  display: inline-block;
}
body[data-page="app"] button.text-link {
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  padding: 8px 0;
}
body[data-page="app"]:not([data-appearance="original"]) .site-header .wordmark {
  display: inline-flex;
  align-items: center;
}
body[data-page="app"]:not([data-appearance="original"])
  .site-header
  .wordmark
  .aperture {
  margin: 0 1px;
  font-size: 0;
  line-height: 0;
  flex-shrink: 0;
}
.chosen-event-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 40px;
  padding: 30px;
  align-items: center;
  margin-bottom: 26px;
}
.chosen-event-art {
  max-width: 250px;
  margin: auto;
  width: 100%;
}
.chosen-event-copy h2 {
  font: 44px/1.08 var(--serif);
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.chosen-event-copy > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 20px;
}
@media (max-width: 650px) {
  .chosen-event-hero {
    gap: 22px;
    padding: 22px;
    grid-template-columns: 100px minmax(0, 1fr);
  }
  .chosen-event-copy h2 {
    font-size: 29px;
  }
  .chosen-event-copy .eyebrow {
    font-size: 9px;
  }
  .chosen-event-copy .button {
    font-size: 12px;
    padding: 10px 15px;
  }
}
.weather-setup {
  padding: 28px;
  margin-top: 26px;
  max-width: 650px;
}
.weather-setup h3 {
  font: 34px var(--serif);
  margin: 12px 0;
}
.weather-setup > p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.weather-setup .form-stack {
  margin-top: 20px;
}

/* The cover is a full page; photographs retain their complete frame. */
.book-cover > .collection-cover { inset: 0; width: 100%; height: 100%; }
.book-photo-page .book-running { left: 7.05%; top: 4.99%; max-width: 85.84%; font-size: 2.52cqw; }
.book-rule { position: absolute; left: 7.05%; right: 7.05%; top: 9.03%; height: 1px; background: #29362d2e; }
.book-sheet .book-folio { left: 7.05%; right: 7.05%; bottom: 5.1%; font-size: 1.51cqw; }
.book-folio b { float: right; font-weight: 400; }
.book-frame figcaption { top: calc(100% + 1.51cqw); font-size: 1.85cqw; line-height: 1.3; max-height: 7.2cqw; }
.book-frame figcaption small { font-size: 1.51cqw; margin-top: .5cqw; color: #677168; }
.book-cover-chooser { padding: 16px; border: 1px solid #24282620; border-radius: 20px; background: #fff; }
.book-cover-chooser summary { cursor: pointer; font-weight: 600; min-height: 44px; align-content: center; }
.book-cover-chooser .book-photo-grid { grid-template-columns: repeat(auto-fill, minmax(80px,1fr)); max-height: 340px; overflow: auto; margin: 12px 0; }
.book-cover-chooser .text-link { margin-right: 18px; }
.book-desk .button:not(.secondary), .book-desk a.button:not(.secondary) { background: #242826; color: #fff; }

.book-design-cover { position: relative; }
.book-cover-trigger { position: absolute; top: 12px; right: 12px; min-height: 44px; padding: 8px 14px; border: 1px solid #24282620; border-radius: 99px; background: #ffffffed; color: #242826; font: 13px "DM Sans", sans-serif; cursor: pointer; }

.book-photo-page .book-running.font-editorial { font-family: "Instrument Serif", serif; }
.book-photo-page .book-running.font-clean { font-family: "DM Sans", sans-serif; }
.book-photo-page .book-running.font-dotted { font-family: "Doto", monospace; font-weight: 800; }
.book-photo-page .book-running.font-hand { font-family: "Caveat", cursive; }
.book-finish-cover {
  display: block; position: relative; width: 100%; padding: 0;
  color: inherit; background: transparent; border: 0; cursor: pointer;
}
.book-finish-cover:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.book-page-heading,.book-page-story{position:absolute;left:7.055%;width:85.84%;margin:0;white-space:normal;overflow-wrap:anywhere;color:#29362d}.book-page-heading{font-size:3.024cqw;line-height:1.222}.book-page-story{font:400 1.848cqw/1.364 "DM Sans"}#book-page-texts fieldset{display:grid;gap:12px;margin-top:18px}
.book-weather {
  position: absolute;
  left: 8.56%;
  top: 74.83%;
  width: 72.23%;
  color: #29362d;
  font: 1.35cqw/1.4 "DM Sans", sans-serif;
}
.book-weather p {
  margin: 1cqw 0 0;
  font-size: 1.85cqw;
  line-height: 1.4;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-sheet:has(.book-weather) .book-opening p:not(.eyebrow) {
  max-height: 28cqw;
}
.book-sheet:has(.book-weather) .book-opening small {
  position: absolute;
  top: 84.5cqw;
  margin-top: 0;
}

.print-estimate { margin: 24px 0; padding: 22px; border: 1px solid #24282620; border-radius: 20px; background: #fff9; }
.print-estimate h3 { margin-top: 0; font: 30px var(--serif); }
.print-estimate .field { margin: 18px 0; }
.print-estimate fieldset { margin: 20px 0; padding: 0; border: 0; }
.print-estimate legend { margin-bottom: 12px; font-weight: 600; }
.print-delivery-option { min-height: 48px; flex-wrap: wrap; padding: 10px 0; }
.print-delivery-option strong { margin-left: auto; font-variant-numeric: tabular-nums; }
.print-estimate dd { font-variant-numeric: tabular-nums; }

.saved-album-row { display:flex; align-items:center; gap:12px; padding:0 18px; }
.saved-album-row .saved-album { flex:1; min-width:0; border:0; background:transparent; box-shadow:none; }
.saved-album-row > span { flex:1; min-width:0; padding:20px 0; }
.saved-album-row > button:last-child { flex-shrink:0; min-height:44px; }

.saved-album-row strong { overflow-wrap:anywhere; }
/* Photo-page ink follows its paper so custom dark colours remain readable. */
.book-photo-page .book-page-heading,
.book-photo-page .book-page-story,
.book-photo-page .book-frame figcaption small { color: inherit; }
.book-photo-page .book-rule { background: currentColor; opacity: .18; }

/* Device capture is the primary guest action; browser capture stays optional. */
.guest-camera-choice{display:flex;align-items:center;justify-content:space-between;gap:10px 18px;flex-wrap:wrap;margin-top:12px}
.guest-camera-choice p{margin:0;font-size:12px;line-height:1.6;color:#536453}
.guest-camera-choice .text-link{font-size:12px;min-height:44px;padding:8px 0;color:#385848}
.guest-camera-choice button:disabled{opacity:.5;cursor:default}
.device-photo-preview{grid-template-columns:minmax(0,1fr);max-height:52dvh;overflow:hidden}
.device-photo-preview img{aspect-ratio:auto;max-height:52dvh;object-fit:contain;background:#f3f4ef}
.device-photo-actions{display:flex;gap:12px;flex-wrap:wrap}.device-photo-actions .button{flex:1;min-width:130px}
.quick-native-camera{border:1px solid #657367;border-radius:100px;padding:11px 20px;background:transparent;color:#f1f5ed;font:13px var(--sans);min-height:44px;cursor:pointer}

/* Password access and profile event navigation. */
@media(max-width:600px){
  .app-top .tabs{overflow:visible}
  .app-top .tabs button{min-width:0;padding:10px 8px;font-size:12px}
  .app-top .profile-tab>span:last-child{display:none}
}
.quick-native-camera{border:1px solid #657367;border-radius:100px;padding:11px 20px;background:transparent;color:#f1f5ed;font:13px var(--sans);min-height:44px;cursor:pointer}
