:root {
  --paper:#f1eadc;
  --ink:#282720;
  --orange:#c8542b;
  --line:#c9c0ad;
  --muted:#797264;
  font-family:
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 150 150' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' opacity='.045' filter='url(%23n)'/%3E%3C/svg%3E");
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-underline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: .5;
  cursor: wait;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
header {
  max-width: 1200px;
  margin: auto;
  padding: 27px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: "Yu Mincho", serif;
  font-size: 29px;
  letter-spacing: .12em;
  text-decoration: none;
  font-weight: 900;
}
.brand small {
  font: 10px monospace;
  letter-spacing: .12em;
  margin-left: 15px;
}
header span {
  font: 11px monospace;
  color: var(--muted);
}
main {
  max-width: 1100px;
  padding: 60px 5% 80px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 65px;
  align-items: center;
  padding-bottom: 60px;
}
.eyebrow {
  font: 12px monospace;
  letter-spacing: .15em;
  color: var(--orange);
  text-transform: uppercase;
}
.hero h1 {
  font-family:
    "Yu Mincho",
    "Hiragino Mincho ProN",
    serif;
  font-size: clamp(32px, 4.2vw, 57px);
  letter-spacing: .015em;
  line-height: 1.55;
  font-weight: 800;
  margin: 25px 0;
}
.hero p {
  line-height: 1.9;
}
.primary,
.secondary,
.danger {
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 16px 25px;
  text-decoration: none;
  display: inline-block;
  font-weight: 700;
}
.primary {
  background: var(--ink);
  color: var(--paper);
}
.primary:hover {
  background: #464339;
}
.secondary {
  background: transparent;
}
.danger {
  color: #a62c1e;
  border-color: #a62c1e;
  background: transparent;
  padding: 8px 12px;
}
.hero .primary {
  margin-top: 17px;
}
.fine {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.camera-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1.1;
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
}
.camera-body {
  position: relative;
  background: #272821;
  border: 10px solid #272821;
  width: 100%;
  height: 210px;
  border-radius: 12px;
  box-shadow: 18px 22px 0 #d8d0bf;
  overflow: visible;
}
.camera-stripe {
  position: absolute;
  inset: 38px 0 20px;
  background: #c7aa65;
  display: flex;
  align-items: center;
  padding: 10px;
  color: #272821;
  font: 900 23px serif;
  letter-spacing: .12em;
}
.lens {
  position: absolute;
  right: 35px;
  top: 49px;
  width: 112px;
  height: 112px;
  border-radius: 100%;
  border: 10px solid #3d3e34;
  background:
    radial-gradient(
      circle,
      #111a18 0 25%,
      #566257 27% 31%,
      #171b17 34% 55%,
      #45453b 56% 65%,
      #1e211b 66%);
  box-shadow: 0 0 0 4px #191b16;
}
.flash {
  position: absolute;
  right: 22px;
  top: 3px;
  width: 58px;
  height: 28px;
  background:
    repeating-linear-gradient(
      90deg,
      #e5dfc6 0 3px,
      #b7b39f 4px 5px);
  border: 4px solid #4c4c40;
}
.shutter-art {
  position: absolute;
  top: -22px;
  left: 38px;
  background: var(--orange);
  width: 48px;
  height: 19px;
  border-radius: 4px 4px 0 0;
}
.camera-caption {
  position: absolute;
  bottom: 30px;
  font: 11px monospace;
  letter-spacing: .1em;
}
.steps {
  display: flex;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.steps b {
  font: 24px serif;
  color: var(--orange);
  margin-right: 10px;
}
.sample {
  padding-top: 48px;
}
.sample-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.sample h2 {
  font: 26px "Yu Mincho", serif;
}
.film {
  background: #25251f;
  padding: 15px 23px;
  position: relative;
  margin-top: 22px;
}
.film:before,
.film:after {
  content: "";
  display: block;
  height: 10px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--paper) 0 10px,
      transparent 10px 23px);
}
.film-preview {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.empty-frame {
  height: 160px;
  background: #e4dac3;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 25px;
  color: #665e4e;
  font-size: 12px;
}
.sample-note {
  font-size: 12px;
  color: var(--muted);
}
footer {
  max-width: 1100px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 24px 5% 35px;
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--muted);
}
.narrow {
  max-width: 660px;
}
.page-title {
  font: 35px "Yu Mincho", serif;
  line-height: 1.6;
  margin: 15px 0 28px;
}
.form-paper {
  background: #f9f5eb;
  padding: 30px;
  border: 1px solid var(--line);
  box-shadow: 6px 6px 0 #ded5c3;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 20px 0 8px;
}
input,
select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px;
  background: transparent;
  border-radius: 0;
  color: var(--ink);
}
input[type=checkbox] {
  width: auto;
  vertical-align: middle;
}
.agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.7;
  font-weight: 400;
  margin: 22px 0;
}
.form-paper .primary {
  width: 100%;
  margin-top: 15px;
}
.error {
  color: #b33323;
  font-size: 13px;
  line-height: 1.7;
}
.ticket {
  background: #faf7ef;
  border: 1px solid var(--line);
  padding: 25px;
  text-align: center;
}
.ticket img {
  display: block;
  margin: 20px auto;
  max-width: 200px;
  width: 60%;
}
.ticket h2 {
  font: 27px serif;
}
.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.secret-warning {
  background: #e7dcc3;
  border-left: 3px solid var(--orange);
  padding: 16px;
  font-size: 13px;
  line-height: 1.8;
}
.stats {
  display: flex;
  gap: 40px;
  border-block: 1px solid var(--line);
  padding: 23px 0;
  margin: 28px 0;
}
.stats strong {
  font: 36px monospace;
  display: block;
}
.stats span {
  font-size: 12px;
  color: var(--muted);
}
.waiting {
  max-width: 620px;
  margin: 20px auto;
  text-align: center;
  padding: 50px 20px;
  border: 1px solid var(--line);
}
.waiting .stamp {
  font: 60px serif;
  color: var(--orange);
  padding: 25px 0;
}
.waiting h2 {
  font: 30px serif;
}
.wait-time {
  font: 22px monospace;
  color: var(--orange);
}
.guest-cta {
  text-align: center;
  font-size: 13px;
  padding: 35px 10px;
}
.guest-cta a {
  display: inline-block;
  padding: 10px;
}
.camera-page {
  background: #20221d;
  color: #f1eadc;
  min-height: 100vh;
  padding-bottom: env(safe-area-inset-bottom);
}
.camera-page header {
  border-color: #45463c;
}
.camera-page .brand {
  font-size: 22px;
}
.camera-page main {
  padding: 20px;
  max-width: 540px;
}
.viewfinder {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  background: #0f120f;
  overflow: hidden;
  border: 1px solid #545549;
}
.viewfinder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.finder-corner {
  position: absolute;
  inset: 20px;
  border: 1px solid #ffffff50;
  pointer-events: none;
}
.finder-label {
  position: absolute;
  bottom: 25px;
  left: 30px;
  font: 14px monospace;
  color: #ed8b4e;
  pointer-events: none;
}
.camera-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 15px;
}
.remaining {
  border: 1px dashed #c4bba1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  text-align: center;
  font: 26px monospace;
}
.remaining small {
  font: 9px sans-serif;
}
.shutter {
  width: 84px;
  height: 84px;
  border: 4px solid #f1eadc;
  border-radius: 50%;
  background: #f1eadc;
  box-shadow: inset 0 0 0 6px #292a23;
  outline-offset: 7px;
}
.camera-controls .flip {
  font-size: 12px;
  color: inherit;
  background: transparent;
  border: 1px solid #666758;
  padding: 12px;
}
.camera-page .fine {
  color: #b2aa96;
}
.camera-page .guest-cta {
  padding: 15px 0;
}
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.photo {
  background: #faf7ef;
  padding: 9px;
  border: 1px solid var(--line);
  min-width: 0;
}
.photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: #dcd4c3;
}
.photo .date {
  font: 11px monospace;
  color: var(--orange);
  margin: 11px 0 5px;
}
.photo .nickname {
  font-size: 12px;
  overflow-wrap: anywhere;
}
.photo-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
  font-size: 12px;
}
.photo-actions button {
  font-size: 11px;
  padding: 7px;
  background: transparent;
  border: 1px solid var(--line);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin: 20px 0;
}
td,
th {
  padding: 12px 7px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.legal {
  font-size: 14px;
  line-height: 2;
}
.legal h2 {
  font: 23px serif;
  margin-top: 30px;
}
#notice {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 20px;
  max-width: 90vw;
  z-index: 5;
  display: none;
  font-size: 13px;
}
.request-list {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.album-badge {
  font: 12px monospace;
  color: var(--orange);
}
@media (max-width: 700px) {
  header {
    padding: 20px 6%;
  }
  .brand small {
    display: none;
  }
  main {
    padding: 35px 6% 60px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-bottom: 30px;
  }
  .hero h1 {
    font-size: 35px;
    margin: 20px 0;
  }
  .camera-art {
    max-width: 330px;
    margin: auto;
    height: 240px;
    aspect-ratio: auto;
  }
  .camera-caption {
    bottom: -6px;
  }
  .camera-body {
    height: 180px;
  }
  .camera-stripe {
    font-size: 20px;
  }
  .lens {
    width: 100px;
    height: 100px;
    right: 20px;
    top: 44px;
  }
  .steps {
    font-size: 10px;
  }
  .steps b {
    display: block;
    font-size: 22px;
    margin-bottom: 5px;
  }
  .film-preview {
    gap: 10px;
  }
  .empty-frame {
    height: 130px;
    font-size: 11px;
    padding: 12px;
  }
  .form-paper {
    padding: 20px;
  }
  .album-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .page-title {
    font-size: 29px;
  }
  .stats {
    gap: 25px;
  }
  .stats strong {
    font-size: 28px;
  }
  footer {
    gap: 15px;
  }
  .sample-head {
    display: block;
  }
  .camera-page main {
    padding-top: 12px;
  }
}
