:root{color-scheme:dark;--bg:#111013;--surface:#1c191e;--surface-2:#242027;--border:#39323b;--text:#f5f1f3;--muted:#aaa0aa;--accent:#e17491;--accent-dark:#a93455;--shadow:0 0 50px #0006}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:1.5rem}body{margin:0;background:radial-gradient(ellipse at 58% 12%,#362b31 0,transparent 45rem),var(--bg);color:var(--text);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}a{color:inherit}.site-header{max-width:1440px;margin:auto;padding:1.2rem clamp(1rem,4vw,3rem);display:flex;align-items:center;justify-content:space-between;gap:1.5rem;border-bottom:1px solid #ffffff12}.brand{font-size:2.6rem;font-weight:900;letter-spacing:.17em;text-decoration:none;white-space:nowrap}nav{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.25rem .35rem}nav a,nav button{border:0;background:transparent;color:#d8d0d5;padding:.55rem .65rem;border-radius:.55rem;text-decoration:none;font-size:.9rem;cursor:pointer}nav a:hover,nav button:hover{background:#ffffff0c;color:#fff}nav .admin-nav{color:var(--accent)}nav form{margin:0}main{max-width:1440px;margin:0 auto;padding:0 clamp(1rem,4vw,3rem)}.hero{padding:clamp(1.5rem,3vw,2.5rem) 0 3rem}.hero-copy>.eyebrow,.hero-actions{max-width:850px}.eyebrow{color:var(--accent);font-size:.72rem;font-weight:800;letter-spacing:.18em;margin:0 0 .65rem}.hero h1{font-size:clamp(2.8rem,7vw,5.7rem);letter-spacing:-.065em;line-height:.99;margin:0 0 1.2rem}.hero-copy>p:not(.eyebrow){max-width:400px;color:#fff;font-size:clamp(1.05rem,2vw,1.3rem)}.hero-actions{display:flex;flex-wrap:wrap;gap:.65rem;margin-top:1.7rem}.button,button.button{display:inline-flex;align-items:center;justify-content:center;min-height:2.8rem;padding:.7rem 1.15rem;border:1px solid transparent;border-radius:.7rem;background:var(--accent-dark);color:white;font-weight:750;text-decoration:none;cursor:pointer}.button:hover{background:#c54668}.button-quiet{background:var(--surface-2)!important;border-color:var(--border)!important}.content-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,390px);align-items:start;gap:clamp(1.2rem,3vw,2.6rem);padding-bottom:4rem}.gallery-section,.review-column{min-width:0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin:0 0 1rem}.section-heading h2,.section-heading h3{font-size:1.55rem;line-height:1.15;margin:0;letter-spacing:-.035em}.count,.muted{color:var(--muted);font-size:.88rem}.category-chip{display:inline-flex;align-items:center;white-space:nowrap;padding:.45rem .85rem;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:#ddd5da;text-decoration:none;font-size:.86rem}.category-chip:hover,.category-chip.active{border-color:#cc5877;background:#512536;color:#fff}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}.photo-card{min-width:0;overflow:hidden;border:1px solid #ffffff19;border-radius:.9rem;background:var(--surface);box-shadow:var(--shadow)}.photo-open{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;overflow:hidden}.photo-open img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;transition:transform .25s ease}.photo-open:hover img{transform:scale(1.025)}.photo-admin{display:flex;gap:.45rem;padding:.5rem}.photo-admin form{display:flex;min-width:0;flex:1;gap:.35rem}.photo-admin select{min-width:0;flex:1}.small-button{border:1px solid var(--border);background:var(--surface-2);color:var(--text);border-radius:.45rem;padding:.35rem .55rem;font-size:.76rem;cursor:pointer}.small-button.danger{color:#ffc6d0}.empty-gallery{box-shadow:var(--shadow);min-height:22rem;display:grid;place-content:center;text-align:center;border:1px dashed #514651;border-radius:1rem;background:#ffffff04;padding:2rem}.empty-gallery h3{margin:.4rem 0;font-size:1.35rem}.empty-gallery p{margin:0;color:var(--muted)}.empty-mark{color:var(--accent);font-size:2rem}.review-column{display:grid;row-gap:0}.review-card,.visitor-review,.admin-tools,.admin-login{border:1px solid #ffffff18;border-radius:1rem;background:linear-gradient(145deg,#211d23,#19171b);box-shadow:var(--shadow)}.review-card{padding:1.25rem}.review-card h2{font-size:1.7rem;letter-spacing:-.04em;margin:.1rem 0}.review-card>.muted{margin:.3rem 0 1rem}.overall-summary{display:flex;align-items:center;gap:.65rem;padding:.8rem 0 1rem;border-bottom:1px solid #ffffff15}.overall-summary strong{font-size:2.3rem;line-height:1;color:var(--accent)}.overall-summary span{font-size:.78rem;color:var(--muted);line-height:1.35}.no-ratings{padding:.65rem 0;color:var(--muted);border-bottom:1px solid #ffffff15}.rating-form{display:grid;gap:1rem;margin-top:1rem}.score-field{border:0;padding:0;margin:0;min-width:0}.score-field legend{padding:0 0 .45rem;font-size:.84rem;color:#e7dfe4;font-weight:750}.score-scale{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:.2rem}.score-scale label{position:relative;cursor:pointer}.score-scale input{position:absolute;opacity:0;width:1px;height:1px}.score-scale label>span{height:2rem;display:grid;place-items:center;border:1px solid var(--border);border-radius:.45rem;background:#111013;color:#d8cfd6;font-size:.78rem}.score-scale label:hover>span,.score-scale input:checked+span{border-color:var(--accent);background:#59263a;color:white;box-shadow:0 0 0 1px var(--accent)}.score-scale i{display:none;font-style:normal}.score-scale label:hover b,.score-scale input:checked+span b{display:none}.score-scale label:hover i,.score-scale input:checked+span i{display:inline}.score-scale input:focus-visible+span{outline:2px solid white;outline-offset:2px}.parts-details{border-top:1px solid #ffffff13;border-bottom:1px solid #ffffff13;padding:.7rem 0}.parts-details summary{cursor:pointer;font-weight:750;color:#e8dfe5}.parts-grid{display:grid;grid-template-columns:1fr;gap:.85rem;padding-top:1rem}.comment-label{display:grid;gap:.45rem;font-size:.84rem;font-weight:700}textarea,input,select{width:100%;min-width:0;border:1px solid var(--border);border-radius:.55rem;background:#111013;color:var(--text);padding:.65rem .75rem}textarea{resize:vertical;line-height:1.5}input:focus,select:focus,textarea:focus{outline:2px solid #c85a79;outline-offset:1px}.submit-rating{width:100%}.visitor-review{min-width:0;padding:1rem}.review-top{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.review-top strong{color:#ffd3df}.review-top time{color:var(--muted);font-size:.75rem}.visitor-review p{overflow-wrap:anywhere;margin:.55rem 0}.review-tags{display:flex;flex-wrap:wrap;gap:.35rem}.review-tags span{padding:.2rem .5rem;border-radius:999px;background:#ffffff0b;border:1px solid #ffffff12;font-size:.7rem;color:var(--muted)}.review-tags b{color:var(--text);margin-left:.15rem}.text-button{padding:.25rem 0;margin-top:.5rem;background:transparent;border:0;color:#f59baa;font-size:.75rem;cursor:pointer}.admin-tools{padding:1rem;margin:0 0 1rem}.admin-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}.admin-heading h3{margin:0;font-size:1.15rem}.admin-heading>span{font-size:.72rem;color:var(--muted)}.upload-form,.category-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.7rem;align-items:end}.upload-form label,.category-form label{display:grid;gap:.35rem;color:#e8dfe5;font-size:.78rem;font-weight:700}.upload-form .file-picker{grid-column:1/-1}.upload-form button,.category-form button{min-height:2.5rem;border-radius:.55rem;padding:.5rem .75rem;font-size:.8rem}.category-form{margin-top:.75rem;padding-top:.75rem;border-top:1px solid #ffffff13}.category-form label{grid-column:1}.category-form button{grid-column:2}.notice{margin:1rem 0;padding:.8rem 1rem;border:1px solid #bd5a76;border-radius:.65rem;background:#5d2637;color:white}.admin-login{max-width:500px;margin:5rem auto;padding:2rem}.admin-login h1{font-size:2.5rem;margin:0 0 .5rem}.admin-login h2{margin:.2rem 0}.admin-login p:not(.eyebrow){color:var(--muted)}.admin-login form{display:grid;gap:1rem}.admin-login label{display:grid;gap:.4rem;font-weight:700}footer{max-width:1440px;margin:0 auto;padding:1.5rem clamp(1rem,4vw,3rem);border-top:1px solid #ffffff14;display:flex;justify-content:space-between;gap:1rem;color:var(--muted);font-size:.78rem}.modal{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(700px,calc(100vw - 2rem));max-height:min(82dvh,900px);overflow:auto;padding:clamp(1.4rem,4vw,2.3rem);border:1px solid #66525f;border-radius:1rem;background:#1b181e;color:var(--text);box-shadow:0 0 100px #000b}.modal::backdrop{background:#08070ac9;backdrop-filter:blur(5px)}.modal h2{font-size:clamp(1.7rem,4vw,2.3rem);letter-spacing:-.04em;margin:.1rem 2.5rem 1.25rem 0}.modal p:not(.eyebrow){color:#d8d0d5}.modal-close{position:sticky;float:right;top:0;margin:-.3rem -.4rem 0 0;width:2.4rem;height:2.4rem;border:1px solid var(--border);border-radius:50%;background:#29242b;color:#fff;display:grid;place-items:center;padding:0;cursor:pointer}.measurements{margin:0}.measurements div{display:flex;justify-content:space-between;gap:1rem;padding:.85rem 0;border-bottom:1px solid #ffffff15}.measurements dt{color:var(--muted)}.measurements dd{margin:0;text-align:right;font-weight:750}.modal-note{font-size:.85rem}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.content-layout{grid-template-columns:minmax(0,1fr) 340px;gap:1rem}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header{align-items:flex-start;flex-direction:column}.site-header nav{justify-content:flex-start}}
@media(max-width:760px){main{padding-inline:1rem}.site-header{padding:1rem}.site-header nav{display:flex;justify-content:flex-start;gap:.15rem;max-width:100%}nav a,nav button{font-size:.82rem;padding:.48rem .55rem}.content-layout{grid-template-columns:1fr}.review-column{grid-row:2}.hero{padding:1.5rem 0 2.2rem}.hero h1{font-size:clamp(2.8rem,13vw,4.4rem)}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.review-card{padding:1rem}.parts-grid{grid-template-columns:1fr}.score-scale label>span{height:2.25rem}.review-column{max-width:none}footer{flex-direction:column;gap:.3rem}.upload-form,.category-form{grid-template-columns:minmax(0,1fr) auto}}
@media(max-width:420px){.brand{font-size:1.75rem}.site-header nav{column-gap:.1rem}nav a,nav button{padding:.42rem .45rem;font-size:.76rem}.hero{padding-top:1.25rem}.photo-grid{gap:.5rem}.score-scale{gap:.14rem}.score-scale label>span{height:1.9rem;font-size:.72rem}.review-top{align-items:flex-start;flex-direction:column;gap:.1rem}.admin-heading{align-items:flex-start;flex-direction:column}.upload-form{grid-template-columns:1fr}.upload-form .file-picker{grid-column:auto}.upload-form button{width:100%}.modal{padding:1.3rem}.measurements div{font-size:.9rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.body-score-summary{display:grid;grid-template-columns:1fr 1fr;gap:.55rem .85rem;padding:.8rem 0;border-bottom:1px solid #ffffff15}.body-score-summary h3{grid-column:1/-1;margin:0;font-size:.8rem;color:#e7dfe4}.body-score-row{display:grid;grid-template-columns:1fr auto;gap:.15rem .4rem;font-size:.72rem;color:var(--muted)}.body-score-row b{color:var(--text)}.score-bar{grid-column:1/-1;height:3px;border-radius:99px;background:#ffffff14;overflow:hidden}.score-bar span{display:block;height:100%;background:var(--accent);border-radius:inherit}

.modal-close::before, .modal-close::after {
  content: "";
  grid-area: 1 / 1;
  width: 45%;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.modal-close::after { transform: rotate(-45deg); }

/* Keep the comparison chart's proportions inside the site's standard modal. */
#penis-measurements {
  width: min(60rem, calc(100vw - 1.5rem));
  padding: 1.25rem;
}
#penis-measurements > .eyebrow { display: none; }
#penis-measurements h2 { font-size: 1.25rem; margin: 0 2.5rem .75rem 0; letter-spacing: -.025em; }
#penis-measurements .modal-close { width: 2rem; height: 2rem; }
.length-chart {
  margin: 0 0 1rem;
  font-size: .9rem;
  line-height: 1.5;
  overflow-x: auto;
}
.length-chart .chart-bars { height: clamp(14rem, calc(100dvh - 10rem), 26rem); min-width: 33rem; }
.length-husband { --ratio: .2779; }
.length-peter { --ratio: calc(.88 * 18 / 19); }
.length-micro { --ratio: .3242; }
.length-small { --ratio: .4632; }
.length-average { --ratio: .6067; }
.length-large { --ratio: .7411; }
.length-huge { --ratio: .88; }
.length-chart .chart-col { --height: calc(100% * var(--ratio)); }
.chart-bars {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.5rem;
  flex: 1;
  position: relative;
  z-index: 0;
}
.chart-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
  padding-bottom: 5.8px;
  box-sizing: border-box;
}
.chart-bar-area {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
}
.chart-value {
  font-size: 0.75rem;
  color: var(--text);
  margin-bottom: 0.3rem;
  white-space: nowrap;
}
.chart-bar {
  height: var(--height);
  width: 65%;
  background: linear-gradient(to top, var(--border), color-mix(in srgb, var(--muted) 65%, var(--surface-2)));
  border-radius: 3px 3px 0 0;
  position: relative;
  box-shadow: 0 6px 10px #0003;
}
:is(.length-husband, .length-peter) .chart-bar {
  background: linear-gradient(to top, var(--accent-dark), var(--accent));
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent) 22%, transparent);
}

.chart-label {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.5rem;
  text-align: center;
  line-height: 1.3;
  height: 1.65rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.chart-pct {
  min-height: 1.5em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 0.2rem;
}
:is(.length-husband, .length-peter) .chart-pct { color: var(--accent); }

.chart-threshold {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  bottom: calc(58.4px + (100% - 58.4px) * var(--ratio));
  border-top: 1px dashed var(--border);
  z-index: -1;
}
.chart-threshold:is(.length-husband, .length-peter) { border-top-color: var(--accent); }
.chart-baseline {
  position: absolute;
  left: 0;
  right: 0;
  height: 0;
  bottom: 58.4px;
  border-top: 2px solid var(--accent);
  z-index: 1;
}

:root { --card-border: #ffffff18; }
.content-layout { --card-surface: #211d23; }
.card-tabs { flex-wrap: nowrap; gap: .2rem; position: relative; top: 1px; z-index: 1; }
.card-tabs a {
  display: grid;
  place-items: center;
  flex: 1;
  min-height: 2.75rem;
  border: 1px solid var(--card-border);
  border-radius: .7rem .7rem 0 0;
  background: var(--bg);
  color: var(--muted);
  font-weight: 700;
}
.card-tabs a:hover { background: var(--surface-2); color: var(--text); }
.rating-picker a, .category-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35em;
}
.rating-portrait {
  width: 1.6em;
  height: 1.6em;
  flex: none;
}
.card-tabs [aria-current], .card-tabs [aria-current]:hover {
  background: var(--card-surface);
  border-bottom-color: var(--card-surface);
  box-shadow: inset 0 2px var(--accent);
  color: var(--text);
}
.review-card, .gallery-results { border-radius: 0 0 1rem 1rem; background: linear-gradient(var(--card-surface), #19171b); }
.person-ratings { display: grid; gap: 1rem; min-width: 0; }
.recent-ratings-button { gap: .45em; }
.ratings-modal[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 1rem;
  overflow: hidden;
}
.ratings-modal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ratings-modal h2, .ratings-modal .modal-close { margin: 0; }
.ratings-modal .modal-close { position: relative; flex: none; }
.rating-cards {
  display: grid;
  gap: .75rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: .5rem;
  border-radius: 1rem;
}
.rating-cards .visitor-review {
  box-shadow: 0 0 4px #0004;
}
.person-ratings[hidden] { display: none; }
.part-average { grid-column: 1/-1; width: 100%; height: .35rem; accent-color: var(--accent); }

.gallery-admin-form { display: flex; flex-wrap: wrap; align-items: end; gap: .7rem; margin: .8rem 0 0; }
.gallery-admin-form > label:not(.select-photos) { display: grid; flex: 1 1 11rem; min-width: 0; gap: .3rem; }
.gallery-admin-form label, .select-photos { font-size: .85rem; }
.gallery-admin-form [data-upload-status] { flex-basis: 100%; white-space: pre-line; overflow-wrap: anywhere; }
.gallery-admin-form [data-upload-status]:empty { display: none; }
.admin-tag-tools, #photo-tags { border-top: 1px solid var(--border); margin-top: 1rem; padding-top: .85rem; }
.admin-tag-tools summary { cursor: pointer; font-weight: 700; }
.tag-actions, .select-photos { display: flex; align-items: center; gap: .5rem; }
.select-photos { cursor: pointer; min-height: 2.5rem; }
.select-photos[hidden] { display: none; }
.select-photos input { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); }
.gallery-admin-form button:disabled { opacity: .55; cursor: default; }
.photo-admin { align-items: center; flex-wrap: wrap; }
.photo-tag { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.photo-admin form { flex: 0 0 auto; margin-left: auto; }

.measurement-picker { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 2.6rem 1rem 0; }
.measurement-picker button { justify-content: center; min-height: 2.75rem; font: inherit; cursor: pointer; }
.measurement-picker [aria-pressed="true"] { border-color: var(--accent); background: #512536; color: white; }

.category-list {
  justify-content: flex-start;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.category-list a { flex: 1 0 auto; padding-inline: 1.1rem; white-space: nowrap; }
.category-list svg { flex: none; width: auto; height: 1.6em; }
.category-list a:focus-visible { outline-offset: -3px; }
.gallery-results {
  min-width: 0;
  padding: clamp(.65rem, 1.5vw, 1.25rem);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}
.gallery-results > nav { margin-block-start: 1.5rem; }

@media (min-width: 761px) {
  .content-layout { row-gap: 0; }
  .gallery-section, .review-column {
    display: grid;
    grid-row: 1 / span 2;
    grid-template-rows: subgrid;
    align-self: stretch;
    align-items: start;
  }
  .gallery-section { grid-column: 1; }
  .review-column { grid-column: 2; }
  .gallery-intro, .rating-picker { align-self: end; }
}

.image-modal {
  inset: 0;
  transform: none;
  margin: auto;
  width: fit-content;
  height: fit-content;
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  overflow: hidden;
}
.image-modal img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(1200px, calc(100vw - 1.5rem));
  max-height: calc(100dvh - 1.5rem);
}
.image-modal .modal-close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  z-index: 1;
  margin: 0;
}

.image-modal .photo-step {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #ffffff60;
  background: #19171bda;
  color: white;
  cursor: pointer;
}
.photo-step.previous { left: .5rem; }
.photo-step.next { right: .5rem; }
.photo-step svg {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.photo-step.previous svg { transform: scaleX(-1); }
.photo-step:disabled { opacity: .45; cursor: default; }
.image-modal .photo-step[hidden], .photo-step-status:empty { display: none; }
.photo-step-status {
  position: absolute;
  bottom: .5rem;
  inset-inline: .5rem;
  padding: .4rem;
  background: var(--bg);
  color: var(--text);
  text-align: center;
}

.hero > h1 {
  align-self: start;
  max-width: 500px;
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 800px) {
  .hero > h1 {
    translate: 100px 0;
  }
}

.hero > h1,
.hero-copy > p {
  text-shadow: 0 2px 8px #000c, 0 0 2px #000;
}

.hero-actions .button {
  box-shadow: 0 2px 8px #000c;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

@media (hover: hover) {
  .hero-actions .button:hover {
    transform: translateY(-2px);
    filter: brightness(1.16);
    box-shadow: 0 4px 12px #000c;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-actions .button:hover { transform: none; }
}

/* The artwork sits behind the entire introduction, including its buttons. */
.hero {
  z-index: 1;
  --hero-padding: clamp(1.25rem, 2.6vw, 2.5rem);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  aspect-ratio: 7 / 3;
  margin-block: .75rem clamp(1.5rem, 3vw, 2.5rem);
  padding: var(--hero-padding);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  box-shadow: var(--shadow), 0 14px 22px -12px #000c;
  background-color: #20131a;
  background-image: linear-gradient(to right, #20131ab3, transparent 32%, transparent 68%, #20131ab3),
    linear-gradient(to bottom, #20131ad9, transparent 34%, transparent 66%, #20131ad9),
    url("/assets/gallery-introduction.webp?v=a338b1f42d64");
  background-size: 100% 100%, 100% 100%, contain;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  mask-image: linear-gradient(to bottom, #0006, transparent 22%, transparent 66%, #000),
    linear-gradient(to right, #000, transparent 15%, transparent 85%, #000);
}

@media (min-width: 1001px) {
  .hero { grid-template-rows: 1fr; }
  .hero > h1 {
    position: absolute;
    inset-block-start: var(--hero-padding);
    inset-inline: var(--hero-padding);
  }
  .hero > .hero-copy { align-self: end; }
}

.site-header nav :is(a, button) {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  white-space: nowrap;
}
.hero-actions .button, .submit-rating { gap: .45em; }
.menu-icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.blog-page {
  max-width: 48rem;
  margin: clamp(1.5rem, 4vw, 3rem) auto;
  display: grid;
  gap: 1.25rem;
  overflow-wrap: anywhere;
}
.blog-page h1, .blog-page h2 { margin: 0; line-height: 1.15; }
.blog-page h1 { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.045em; }
.blog-card {
  margin: 0;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--card-border);
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.blog-card h2 a { text-decoration: none; }
.blog-card h2 a:hover, .blog-link { color: var(--accent); }
.blog-link { width: fit-content; }
.blog-byline { color: var(--muted); font-size: .875rem; margin: .6rem 0 1rem; }
.blog-text { white-space: pre-wrap; }
.blog-card form, .blog-card label { display: grid; gap: .5rem; }
.blog-card form { margin-top: 1rem; gap: 1rem; }
.blog-card button { justify-self: start; }
.blog-compose summary { cursor: pointer; font-weight: 700; }
.blog-card #likes { display: flex; align-items: center; gap: .7rem; margin-top: 1.5rem; }
.blog-card #likes [aria-pressed="true"] { color: var(--accent); }
.blog-comment { margin-top: 1.25rem; border-top: 1px solid var(--border); }
.blog-pages { justify-content: flex-start; }

.blog-post-tools { display: grid; gap: .75rem; padding-block: 1rem; margin-bottom: 1rem; border-block: 1px solid var(--border); }
.blog-post-tools p { margin: 0; }
.blog-reply { margin: .9rem 0 0 .5rem; padding-inline-start: .9rem; border-inline-start: 2px solid var(--accent); }

.blog-list-grid, .blog-post-grid {
  display: grid;
  gap: 1.25rem;
}
.blog-post-grid { align-items: start; }

@media (min-width: 761px) {
  .blog-page { max-width: 72rem; }
  .blog-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .blog-post-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
}

.hero-accent { color: var(--accent); }
.hero-lover { white-space: nowrap; }
.hero-lover svg {
  width: 1em;
  height: 1em;
  vertical-align: -.14em;
  color: var(--accent);
  filter: drop-shadow(0 1px 3px #000a);
}

.hero-visitor-count {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  justify-self: end;
  min-height: 2.8rem;
  padding: .7rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: .7rem;
  background: var(--surface-2);
  box-shadow: 0 2px 8px #000c;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.hero-actions { max-width: none; }

.hero-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .65rem;
  margin-inline-start: auto;
}
.hero-social form { margin: 0; }
.hero-social [aria-pressed="true"] { color: var(--accent); }
.hero-social [aria-pressed="true"] svg { fill: currentColor; }
.hero:has(.hero-visitor-count) { grid-template-rows: auto 1fr auto; }
.newsletter-form, .newsletter-form label { display: grid; gap: .65rem; }
.newsletter-form { gap: 1rem; }
.newsletter-form button { justify-self: start; }

@media (min-width: 1001px) {
  .hero:has(.hero-visitor-count) { grid-template-rows: 1fr; }
  .hero-visitor-count {
    position: absolute;
    inset-block-start: var(--hero-padding);
    inset-inline-end: var(--hero-padding);
  }
}

.brand { display: inline-flex; align-items: center; }
.brand .brand-mark { width: 66px; height: 66px; flex: none; position: relative;
right: 2px;}

@media (min-width: 1001px) {
  .site-header,
  .site-header nav,
  .site-header nav :is(a, button) {
    align-items: baseline;
  }

  .brand { display: block; }
  .brand .brand-mark { vertical-align: middle; }
  .site-header nav svg { align-self: center; }
}

.site-header { padding-bottom: .5rem; }

.brand-title,
.site-header nav {
  position: relative;
  top: 6px;
}

.image-modal[open] {
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(17rem, 22rem);
  max-width: calc(100vw - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
}
.photo-view-stage { position: relative; align-self: center; min-width: 0; }
.image-modal .photo-view-stage img { max-width: 100%; margin-inline: auto; }
.photo-comments {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-height: 0;
  min-width: 0;
  max-height: calc(100dvh - 1.5rem);
  padding: 1rem;
  background: var(--surface);
}
.image-modal .photo-comments h2 { margin: 0 2.5rem 0 0; font-size: 1.25rem; }
.photo-comment-list {
  flex: 1;
  min-height: 3rem;
  overflow: auto;
  overscroll-behavior: contain;
}
.photo-comment-list article { padding: .55rem 0; border-bottom: 1px solid var(--border); }
.photo-comment-list p { margin: .25rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.photo-comments form, .photo-comments label { display: grid; gap: .4rem; }
.photo-comments textarea { resize: none; }
.photo-comment-status { margin: 0; font-size: .82rem; }
.photo-comment-status:empty { display: none; }
@media (max-width: 760px) {
  .image-modal[open] { grid-template-columns: minmax(0, 1fr); overflow: auto; }
  .image-modal .photo-view-stage img { max-height: 55dvh; }
  .photo-comment-list { max-height: 30dvh; }
}

.photo-open { position: relative; }
.photo-stats {
  position: absolute;
  inset: auto .4rem .4rem;
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .25rem;
  pointer-events: none;
}
.photo-stat {
  display: inline-flex;
  align-items: center;
  gap: .25em;
  padding: .15rem .4rem;
  border: 1px solid #ffffff24;
  border-radius: 999px;
  background: #111013e8;
  color: #fff;
  font-size: .75rem;
  font-variant-numeric: tabular-nums;
}

.hero-quote {
  --quote-overlap: 1rem;
  --quote-gap: 2.625rem;
  position: relative;
  z-index: 0;
  margin: calc(-1 * clamp(1.5rem, 3vw, 2.5rem) - var(--quote-overlap)) 0 0;
  padding: calc(var(--quote-gap) + var(--quote-overlap)) 1rem var(--quote-gap);
  text-align: center;
}
.hero-quote::before {
  content: "";
  position: absolute;
  inset: 0 0 -4rem;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, #e174913a, #e174911c 48%, #e1749107 75%, #e1749100);
  mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
}
.hero-quote + .content-layout {
  position: relative;
}
.hero-quote blockquote, .hero-quote p { margin: 0; }
.hero-quote blockquote {
  text-shadow: 0 2px 8px #000c;
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  font-weight: 750;
  line-height: 1.2;
  text-wrap: balance;
}
.hero-quote figcaption {
  margin-top: .65rem;
  color: var(--accent);
  font-weight: 700;
}

.visitor-table-scroll { overflow-x: auto; }
.visitor-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.visitor-table th,
.visitor-table td { padding: .6rem; text-align: left; vertical-align: top; border-bottom: 1px solid #ffffff22; }
.visitor-table td { min-width: 7rem; overflow-wrap: anywhere; }
.visitor-table td:last-child { min-width: 14rem; }
