/* Photo-permission page — extends site.css + legal.css */

.hd-nav{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:8px 14px;
  margin-left:auto;
  margin-right:12px;
}
.hd-nav a{
  font:700 11px "JetBrains Mono",ui-monospace,monospace;
  letter-spacing:1.2px;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--ink);
}
.hd-nav a:hover{color:var(--hot)}

.photos{padding-bottom:48px}
.photos h1{max-width:12ch;font-size:clamp(44px,7.2vw,76px);margin:8px 0 10px}
.photos .lede{max-width:32ch;margin-bottom:22px;font-size:clamp(18px,1.7vw,22px);color:var(--ink);font-weight:500}

.notice{
  background:var(--card);
  border:1px solid rgba(43, 29, 23, 0.12);
  border-radius:0;
  padding:16px 18px;
  box-shadow:none;
  max-width:52ch;
}
.notice p{margin:0;color:var(--mute);font-size:17px}
.notice a{color:var(--sea);font-weight:600}

.photo-card{max-width:720px}

.field{margin:0 0 14px}
.field label,
.upload-label,
.options legend{
  display:block;
  font:700 11px "JetBrains Mono",ui-monospace,monospace;
  letter-spacing:1.4px;
  text-transform:uppercase;
  color:var(--ink);
  margin:0 0 8px;
}
.field .optional{
  font-weight:500;
  letter-spacing:1px;
  text-transform:none;
  color:var(--mute);
}
.field input[type="text"],
.field input[type="email"],
.field input[type="url"]{
  width:100%;
  font:500 16px "Space Grotesk",system-ui,sans-serif;
  color:var(--ink);
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(43, 29, 23, 0.28);
  border-radius:0;
  padding:10px 0;
  box-shadow:none;
}
.field input[readonly]{
  background:transparent;
  color:var(--ink);
  font-weight:600;
  cursor:default;
}
.field input:focus{outline:none}
.field input:focus-visible{
  outline:3px solid var(--gold);
  outline-offset:2px;
}
.field-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.options{
  border:0;
  margin:4px 0 14px;
  padding:0;
}
.options legend{margin-bottom:12px}

.option{
  display:flex;
  gap:14px;
  align-items:center;
  background:var(--bg);
  border:1px solid rgba(43, 29, 23, 0.16);
  border-radius:0;
  padding:12px 14px;
  margin:0 0 8px;
  cursor:pointer;
  box-shadow:none;
}
.option:has(input:checked){
  background:#fff;
  border-color:var(--hot);
  box-shadow:none;
}
.option input{
  flex:none;
  width:20px;
  height:20px;
  margin-top:3px;
  accent-color:var(--hot);
}
.option-title{
  display:block;
  font-weight:700;
  color:var(--ink);
  font-size:16px;
  margin-bottom:2px;
}
.option-copy{
  display:block;
  color:var(--mute);
  font-size:15px;
  line-height:1.45;
}

.upload-panel{
  margin:0 0 14px;
  padding:14px 4px 4px;
  border:0;
  border-top:1px dashed rgba(43, 29, 23, 0.28);
  border-radius:0;
  background:transparent;
}
.upload-block{margin:0 0 16px}
.upload-label span{color:var(--mute);font-weight:500;letter-spacing:1px;text-transform:none}
.upload-label span:before{content:"· ";letter-spacing:0}

.thumbs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.slot{
  position:relative;
  width:96px;
  height:96px;
  border:1px dashed rgba(43, 29, 23, 0.28);
  border-radius:0;
  background:var(--bg);
  color:var(--mute);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  cursor:pointer;
  font:700 11px "JetBrains Mono",ui-monospace,monospace;
  letter-spacing:1px;
  text-transform:uppercase;
  padding:0;
  box-shadow:none;
}
.thumbs-profile .slot{border-radius:50%;width:104px;height:104px}
.slot .plus{font-size:22px;line-height:1;color:var(--ink);font-weight:700}
.thumbs{padding:10px 10px 2px 0}
.slot.filled{
  border-style:solid;
  border-color:var(--line);
  background:#fff;
  overflow:visible;
  padding:0;
}
.slot.filled img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:inherit;
  display:block;
  pointer-events:none;
}
.slot .remove{
  position:absolute;
  top:-8px;
  right:-8px;
  z-index:2;
  width:24px;
  height:24px;
  border-radius:50%;
  border:0;
  background:var(--cream);
  color:var(--ink);
  font:700 16px "JetBrains Mono",ui-monospace,monospace;
  line-height:18px;
  text-align:center;
  cursor:pointer;
  padding:0;
  box-shadow:inset 0 0 0 1px rgba(43, 29, 23, 0.16);
}
.thumbs-profile .slot .remove{top:-4px;right:-4px}

.website-panel{margin:0 0 18px 0;padding-left:2px}

.consent{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin:4px 0 16px;
  cursor:pointer;
}
.consent input{
  flex:none;
  width:20px;
  height:20px;
  margin-top:3px;
  accent-color:var(--hot);
}
.consent span{
  color:var(--ink);
  font-size:16px;
  line-height:1.45;
  max-width:54ch;
}

.form-error{
  background:#fff1e8;
  border:1px solid var(--hot);
  border-radius:0;
  color:var(--ink);
  font-size:15px;
  padding:10px 12px;
  margin:0 0 16px;
  box-shadow:none;
}

.btn-submit{
  min-width:min(100%,260px);
}
.btn-submit[disabled]{opacity:.6;cursor:wait;transform:none;box-shadow:none}

.thanks-card{max-width:720px;padding-top:28px}
.thanks-card h2{
  font-family:"Big Shoulders Display",Impact,sans-serif;
  font-weight:900;
  text-transform:uppercase;
  font-size:clamp(36px,6vw,58px);
  line-height:.92;
  margin:8px 0 16px;
  color:var(--ink);
}
.thanks-lede{font-size:18px;color:var(--mute);max-width:42ch;margin:0 0 12px}
.thanks-lede strong{color:var(--ink)}
.thanks-meta{
  font:700 11px "JetBrains Mono",ui-monospace,monospace;
  letter-spacing:1px;
  text-transform:uppercase;
  color:var(--mute);
  margin:0 0 16px;
}
.thanks-note{color:var(--mute);margin:0 0 22px}
.thanks-note a{color:var(--sea);font-weight:600}
.btn-back{
  text-decoration:none;
}

@media (max-width:700px){
  .hd .wrap{flex-wrap:wrap}
  .hd-nav{
    order:3;
    flex-basis:100%;
    justify-content:flex-start;
    margin:8px 0 0;
  }
  .field-row{grid-template-columns:1fr;gap:0}
  .slot{width:86px;height:86px}
  .thumbs-profile .slot{width:92px;height:92px}
  .photo-card{padding:22px 18px 24px}
}

@media (min-width:860px){
  .photos-page .hd .wrap{align-items:center}
}

.photos-page.is-thanks .photos > .wrap > .eyebrow,
.photos-page.is-thanks .photos > .wrap > h1,
.photos-page.is-thanks .photos > .wrap > .lede{display:none}
.photos-page.is-thanks .photos{padding-top:8px}
.thanks-card a.btn-back{color:var(--ink);text-decoration:none;font-weight:700}

.thumbs-gallery{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 96px));
  gap:12px;
  width:max-content;
  max-width:100%;
}
.upload-label{white-space:nowrap}
@media (max-width:700px){
  .thumbs-gallery{grid-template-columns:repeat(3, 78px);gap:8px}
  .thumbs-gallery .slot{width:78px;height:78px}
}

/* Flatten coming-soon footer social pills on this page only */
.photos-page footer nav a{
  border:0;
  border-radius:0;
  padding:0;
  box-shadow:none;
  font:700 12px "JetBrains Mono",ui-monospace,monospace;
  letter-spacing:1.5px;
  text-transform:uppercase;
  text-decoration:none;
  color:#e0cbbd;
  background:none;
  min-height:0;
}
.photos-page footer nav a:hover{
  border-color:transparent;
  color:var(--gold);
  transform:none;
  box-shadow:none;
}


.visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* Belt-and-braces: flatten any leftover coming-soon chrome on this page,
   including rules that older site.css / legal.css set in media queries. */
.photos-page .badge,
.photos-page .hd .badge{
  border:0;
  box-shadow:none;
  border-radius:999px;
  background:var(--gold);
  color:var(--ink);
}
.photos-page .legal-card,
.photos-page .photo-card,
.photos-page .thanks-card,
.photos-page .notice,
.photos-page .cookie-banner{
  border:1px solid rgba(43, 29, 23, 0.12);
  border-radius:0;
  box-shadow:none;
}
@media (max-width:700px){
  .photos-page .legal-card,
  .photos-page .photo-card,
  .photos-page .thanks-card,
  .photos-page .cookie-banner{
    box-shadow:none;
    border:1px solid rgba(43, 29, 23, 0.12);
    border-radius:0;
  }
}
