/* ──────────────────────────────────────────────────────────
   PVAY · student site (landing, rules, entry form)
   Follows the PVAY competition design: photo hero, GoPro strip,
   photo category cards, numbered rules and a three-step form.
   ────────────────────────────────────────────────────────── */

body {
  background: #fbfcfd;
}

.wide-only {
  display: inline;
}

.closed-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 18px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

.story-copy .closed-note,
.rules-actions .closed-note {
  background: var(--surface-3);
  border-color: var(--line);
  color: var(--text-2);
}

.kicker.red {
  color: var(--cta);
}

.small-rule.dark {
  background: #6f8599;
  opacity: 1;
  margin: 16px 0;
}

.text-link.dark {
  color: var(--navy-900);
}

.text-link.blue {
  color: #0068c9;
}

/* ───────── award strip ───────── */

.award-strip {
  position: relative;
  z-index: 2;
  background: linear-gradient(90deg, #fff 0%, #f7f8f8 58%, #eef1f2 100%);
  border-bottom: 1px solid #e8ecef;
}

.award-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 92px;
  padding: 0 clamp(20px, 4.4vw, 68px);
}

/* The cut-out camera sits on the strip and reaches up into the photo above –
   exactly as far as the hero leaves room under its buttons (--gopro-rise). */
.site-hero.home {
  --gopro-rise: 60px;
}

.site-hero.home .hero-content {
  /* the PNG has ~12px of transparent space above the camera, which leaves a small gap */
  padding-bottom: var(--gopro-rise);
}

.award-camera {
  position: relative;
  flex: none;
  width: 170px;
  align-self: stretch;
}

.award-camera img {
  position: absolute;
  left: 0;
  top: -60px;
  width: 160px;
  height: auto;
  transform: rotate(-3deg);
  filter: drop-shadow(0 12px 16px rgba(4, 22, 36, 0.35));
}

.award-copy {
  flex: 1;
  min-width: 0;
  padding-left: 25px;
  border-left: 2px solid #b9c5d0;
}

.award-copy .kicker {
  margin: 0 0 4px;
  font-size: 13px;
  color: var(--cta);
}

.award-copy p:last-child {
  margin: 0;
  font-size: 18px;
  color: #42566b;
}

.award-copy strong {
  color: var(--navy-900);
}

.award-deadline {
  display: grid;
  justify-items: end;
  gap: 2px;
  flex: none;
}

.award-deadline .kicker {
  margin: 0;
  font-size: 10px;
  color: #62788d;
}

.award-deadline .countdown {
  gap: 12px;
  color: var(--navy-900);
}

.award-deadline .countdown b {
  font-family: var(--font-display);
  font-size: 22px;
}

.award-deadline > small {
  font-size: 12px;
  color: var(--text-3);
}

/* ───────── landing ───────── */

.home-main {
  padding: 0 clamp(16px, 3.4vw, 54px) 40px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1500px;
  margin: 0 auto;
}

.category-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  min-width: 0;
  height: 190px;
  padding: 15px 13px;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid #dce4ea;
  background: #0b2b43;
  color: #fff;
  box-shadow: 0 3px 7px rgba(11, 44, 66, 0.06);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--card-image) center / cover no-repeat;
  transition: transform 0.35s;
}

.category-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(2, 23, 39, 0.94), rgba(3, 27, 44, 0.02) 80%);
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: #8fa9be;
  box-shadow: 0 8px 20px rgba(11, 44, 66, 0.14);
}

.category-card:hover::before {
  transform: scale(1.04);
}

.category-card.active {
  outline: 3px solid var(--accent-blue);
  outline-offset: -3px;
}

.category-icon {
  flex: none;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.category-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.category-text strong {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 700;
  line-height: 1.15;
}

.category-text small {
  font-size: 13px;
  line-height: 1.25;
  color: #f2f5f8;
}

.circle-arrow {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #fff;
  border-radius: 50%;
  font-size: 16px;
}

/* "Your story?" */

.story-cta {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(340px, 1.3fr) minmax(140px, 1fr);
  align-items: center;
  gap: 24px;
  max-width: 1500px;
  min-height: 300px;
  margin: 0 auto;
  padding: 34px 0 30px;
  overflow: hidden;
}

.story-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.story-copy .kicker {
  margin-bottom: 4px;
  color: #62788d;
}

.story-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--navy-900);
}

.story-copy > p:not(.kicker) {
  margin: 8px 0 18px;
  font-size: 16px;
  line-height: 1.45;
  color: #334c66;
}

.story-copy .btn {
  min-width: 230px;
}

.photo-stack {
  position: relative;
  height: 220px;
}

.photo-stack img {
  position: absolute;
  width: 70%;
  height: 150px;
  object-fit: cover;
  padding: 7px;
  background: #fff;
  box-shadow: 0 6px 17px rgba(18, 40, 61, 0.19);
}

.stack-left img:first-child { left: 3%; top: 3px; transform: rotate(-8deg); }
.stack-left img:last-child { right: 2%; bottom: 0; transform: rotate(9deg); }
.stack-right img:first-child { left: 2%; top: 0; transform: rotate(8deg); }
.stack-right img:last-child { right: 0; bottom: 0; transform: rotate(-9deg); }

.mini-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  margin-top: 20px;
}

.mini-steps > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--navy-900);
  font-size: 27px;
}

.mini-steps small {
  font-size: 12px;
  white-space: nowrap;
}

.mini-steps > b {
  font-size: 20px;
  font-weight: 400;
  color: #6b8195;
}

/* FAQ */

.faq {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid #e4eaf0;
}

.faq details {
  border-bottom: 1px solid #e4eaf0;
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}

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

.faq summary .icon {
  flex: none;
  color: var(--text-2);
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary .icon {
  transform: rotate(180deg);
}

.faq p {
  margin: -4px 0 16px;
  padding-right: 32px;
  font-size: 16px;
  line-height: 1.55;
  color: #40566d;
}

/* ───────── rules ───────── */

.rules-main {
  padding: 0 clamp(16px, 3.4vw, 54px) 48px;
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 16px 0 26px;
}

.category-tabs .category-card {
  height: 108px;
  padding: 10px;
  gap: 8px;
}

.category-tabs .category-icon {
  font-size: 23px;
}

.category-tabs .category-text strong {
  font-size: 13px;
}

.category-tabs .category-text small {
  font-size: 11px;
}

.category-tabs .circle-arrow {
  width: 25px;
  height: 25px;
  font-size: 14px;
}

.rules-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 50px;
  max-width: 1320px;
  margin: 0 auto;
}

.rules-intro {
  padding-top: 12px;
}

.rules-intro > .kicker {
  margin-bottom: 8px;
}

.rules-intro h2,
.form-heading h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.045em;
  color: var(--navy-900);
}

.rules-intro .lead {
  max-width: 760px;
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: #334c66;
}

.rule-item {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #e4eaf0;
}

.rule-number {
  padding-top: 3px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-green);
}

.rule-item h3 {
  margin: 0 0 5px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
}

.rule-item p {
  max-width: 900px;
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: #40566d;
}

.rule-points {
  margin: 0;
  padding-left: 18px;
  font-size: 16px;
  line-height: 1.6;
  color: #40566d;
}

.rule-points li::marker {
  color: var(--accent-green);
}

.rules-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
}

.rules-side {
  padding-top: 26px;
}

.rules-side > img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  border: 8px solid #fff;
  box-shadow: 0 5px 18px rgba(18, 40, 61, 0.12);
  transform: rotate(2deg);
}

.side-caption {
  position: sticky;
  top: 20px;
  padding: 28px 4px 0;
}

.side-caption .kicker {
  display: block;
  font-size: 11px;
}

.side-caption p {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-900);
}

.btn.secondary {
  border-color: #b8c8d6;
  color: var(--navy-900);
}

/* ───────── entry form ───────── */

.form-wrap {
  padding: 30px 22px 60px;
}

.form-panel {
  max-width: 990px;
  margin: 0 auto;
  padding: 30px clamp(20px, 3vw, 40px) 28px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #e2e8ee;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(16, 44, 73, 0.05);
}

.stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 560px;
  margin: 0 auto 30px;
  padding: 0;
  list-style: none;
}

.stepper li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #62758b;
  text-align: center;
}

.stepper li + li::before {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(-50% + 22px);
  right: calc(50% + 22px);
  height: 1px;
  background: #ccd7e2;
}

.stepper li.done::before,
.stepper li.current::before {
  background: var(--accent-blue);
}

.stepper .num {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf2f6;
  color: var(--navy-900);
  font-size: 15px;
  font-weight: 600;
}

.stepper li.current .num,
.stepper li.done .num {
  background: var(--accent-blue);
  color: #fff;
}

.stepper small {
  font-size: 13px;
}

.stepper li.current small,
.stepper li.done small {
  color: var(--navy-900);
  font-weight: 600;
}

.form-heading {
  margin-bottom: 22px;
}

.form-heading h2 {
  font-size: 28px;
  margin-bottom: 4px;
}

.form-heading p {
  margin: 0;
  font-size: 16px;
  color: #526980;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
}

.f-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.f-field > span,
.f-field legend {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-900);
}

.f-field legend {
  margin-bottom: 7px;
}

.f-field em,
.check-row em,
.caption-rows em {
  font-style: normal;
  color: var(--cta);
}

.f-field small {
  font-weight: 400;
  color: var(--text-3);
}

.f-field input,
.f-field select,
.f-field textarea,
.caption-row input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 13px;
  border: 1px solid #d6dfe8;
  border-radius: 6px;
  outline: 0;
  background: #fff;
  color: var(--navy-900);
  font-size: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.f-field textarea {
  height: auto;
  min-height: 92px;
  padding: 11px 13px;
  line-height: 1.45;
  resize: vertical;
}

.f-field input::placeholder,
.f-field textarea::placeholder,
.caption-row input::placeholder {
  color: #9aa9b9;
}

.f-field input:focus,
.f-field select:focus,
.f-field textarea:focus,
.caption-row input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(8, 118, 201, 0.14);
}

.f-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23102c49' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

.f-field .count {
  position: absolute;
  right: 2px;
  top: 2px;
  font-size: 12px;
  color: var(--text-3);
}

.f-field.invalid input,
.f-field.invalid select,
.f-field.invalid textarea {
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(237, 10, 59, 0.1);
}

.f-field.invalid > span,
.f-field.invalid legend {
  color: var(--cta);
}

.full-field {
  grid-column: 1 / -1;
}

.category-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.category-option {
  height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #d8e0e8;
  border-radius: 6px;
  background: #fff;
  color: var(--navy-900);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s;
}

.category-option .icon {
  font-size: 23px;
}

.category-option:hover {
  border-color: #9fb4c6;
}

.category-option.selected {
  border-color: var(--accent-blue);
  background: #f1f8ff;
  color: var(--accent-blue);
  box-shadow: inset 0 0 0 1px var(--accent-blue);
}

.chip[aria-pressed='true'] {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
}

.f-field.invalid .chip {
  border-color: var(--cta);
}

.form-error {
  margin: 20px 0 0;
  padding: 11px 13px;
  border-radius: 6px;
  border: 1px solid #ffc7d0;
  background: #fff0f1;
  color: #a31230;
  font-size: 15px;
}

.form-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
}

/* step 2 */

.selected-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid #e0e8ef;
  border-radius: 8px;
}

.selected-category img {
  width: 76px;
  height: 56px;
  flex: none;
  object-fit: cover;
  border-radius: 4px;
}

.selected-category div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.selected-category strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
}

.selected-category span {
  font-size: 14px;
  color: #63768a;
}

.wiz-section + .wiz-section {
  margin-top: 26px;
}

.wiz-section h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
}

.wiz-section h3 small {
  font-weight: 400;
  color: var(--text-3);
}

.wiz-section.invalid .drop-zone {
  border-color: var(--cta);
}

.drop-zone {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 22px;
  border: 1.5px dashed #aebfd0;
  border-radius: 8px;
  background: linear-gradient(135deg, #fbfcfd, #f7f9fb);
  color: var(--navy-900);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: var(--accent-blue);
  background: #f0f7ff;
}

.drop-zone > .icon {
  margin-bottom: 4px;
  font-size: 46px;
  color: #294a68;
  stroke-width: 1.5;
}

.drop-zone strong {
  font-size: 15px;
  font-weight: 600;
}

.drop-zone span {
  font-size: 14px;
  color: #4f657b;
}

.drop-zone small {
  font-size: 12px;
  color: #77899b;
}

.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}

.file-tile {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #e0e8ef;
  background: var(--surface-3);
}

.ft-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ft-media img,
.ft-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ft-icon {
  display: grid;
  justify-items: center;
  gap: 2px;
  font-size: 30px;
  color: #345c7d;
}

.ft-icon b {
  font-size: 11px;
}

.ft-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(9, 36, 58, 0.75);
  color: #fff;
  font-size: 15px;
}

.ft-num {
  position: absolute;
  left: 6px;
  bottom: 6px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--navy-900);
  font-size: 12px;
  font-weight: 700;
}

.file-tile.add {
  display: grid;
  place-items: center;
  border: 1.5px dashed #aebfd0;
  background: #fbfcfd;
  cursor: pointer;
}

.file-tile.add:hover,
.file-tile.add.drag-over {
  border-color: var(--accent-blue);
  background: #f0f7ff;
}

.ft-add {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: var(--navy-900);
  font-weight: 600;
  font-size: 14px;
}

.ft-add .icon {
  font-size: 22px;
}

.ft-add small {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-3);
}

.caption-rows {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.caption-rows h4 {
  margin: 0;
  font-size: 15px;
  color: var(--navy-900);
}

.caption-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.caption-row span {
  font-size: 14px;
  font-weight: 600;
  color: #526980;
}

.wiz-section.invalid .caption-row input:placeholder-shown {
  border-color: var(--cta);
}

.file-preview {
  overflow: hidden;
  border: 1px solid #e1e7ed;
  border-radius: 8px;
}

.fp-media {
  display: grid;
  place-items: center;
  max-height: 380px;
  background: #0d1625;
}

.fp-media img,
.fp-media video {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.fp-media.pdf {
  height: 380px;
  background: var(--surface-3);
}

.fp-media.pdf iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.fp-media.audio {
  padding: 24px;
  background: var(--surface-3);
}

.fp-warn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--warn-soft);
  color: var(--warn);
  font-size: 14px;
  font-weight: 600;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-top: 1px solid #edf0f3;
}

.file-type {
  width: 36px;
  height: 36px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #edf4fb;
  color: #345c7d;
  font-size: 19px;
}

.file-row > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.file-row strong {
  font-size: 14px;
  overflow-wrap: anywhere;
}

.file-row small {
  font-size: 12px;
  color: #77899a;
}

.icon-button {
  padding: 6px;
  color: #64788c;
  font-size: 18px;
}

.info-note {
  display: flex;
  gap: 13px;
  margin-top: 22px;
  padding: 15px 17px;
  border-radius: 8px;
  background: var(--accent-blue-soft);
  color: #124a82;
}

.info-dot {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2485e8;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
}

.info-note strong {
  font-size: 15px;
}

.info-note p {
  margin: 4px 0;
  font-size: 14px;
  color: #456d96;
}

.info-note .text-link {
  font-size: 14px;
}

.ios-note {
  margin: 0 0 22px;
  background: #fff6e6;
  color: #6b4300;
}

.ios-note .info-dot {
  background: #d98a00;
  font-size: 17px;
}

.ios-note p {
  color: #7a5a1e;
}

.ios-note ol {
  margin: 6px 0 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.ios-note li + li {
  margin-top: 4px;
}

/* step 3 */

.review-box {
  overflow: hidden;
  margin: 0 0 18px;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
}

.review-section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5ebf0;
}

.review-section:last-child {
  border-bottom: 0;
}

.review-section > strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
}

.review-section > span:not(.review-label) {
  font-size: 15px;
  color: #536b81;
  overflow-wrap: anywhere;
}

.review-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-green);
}

.review-section > .text-link {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 14px;
}

.review-files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.review-files figure {
  margin: 0;
}

.review-files .ft-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--surface-3);
}

.review-files figcaption {
  margin-top: 4px;
  font-size: 12px;
  color: #536b81;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.45;
  color: #344e67;
  cursor: pointer;
}

.check-row input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent-blue);
}

.check-row.invalid input {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

.inline-link {
  color: #0068c9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* receipt */

.success-panel {
  max-width: 660px;
  text-align: center;
}

.success-panel .check-anim {
  display: block;
  margin: 4px auto 18px;
}

.success-panel h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  color: var(--navy-900);
}

.success-panel > p {
  margin: 0 0 20px;
  line-height: 1.55;
  color: #536b81;
}

.success-panel .review-box {
  text-align: left;
}

.done-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
}

#confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 160;
}

/* ───────── responsive ───────── */

@media (max-width: 1050px) {
  .category-card {
    height: 165px;
    padding: 12px 10px;
    gap: 8px;
  }

  .category-icon {
    font-size: 23px;
  }

  .circle-arrow {
    width: 26px;
    height: 26px;
  }

  .story-cta {
    grid-template-columns: minmax(100px, 0.8fr) minmax(320px, 1.6fr) minmax(100px, 0.8fr);
    gap: 10px;
  }

  .photo-stack img {
    width: 80%;
  }

  .rules-layout {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 28px;
  }

  .rules-side > img {
    height: 180px;
  }

  .award-deadline > small {
    display: none;
  }
}

@media (max-width: 760px) {
  .wide-only {
    display: none;
  }

  .award-inner {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 12px 20px 14px;
  }

  .award-camera {
    width: 100px;
  }

  .award-camera img {
    top: auto;
    width: 104px;
    bottom: -2px;
  }

  .site-hero.home .hero-content {
    padding-bottom: 38px;
  }

  .award-copy {
    padding-left: 14px;
  }

  .award-copy .kicker {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .award-copy p:last-child {
    font-size: 15px;
    line-height: 1.35;
  }

  .award-deadline {
    width: 100%;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: start;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid #e3e9ee;
  }

  .award-deadline .countdown {
    justify-self: end;
  }

  .award-deadline .countdown b {
    font-size: 18px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .category-card {
    height: 150px;
    padding: 10px;
    gap: 6px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .category-text {
    flex: none;
    width: 100%;
  }

  .category-text strong {
    font-size: 13px;
  }

  .category-text small {
    font-size: 11px;
  }

  .category-icon {
    font-size: 21px;
  }

  .circle-arrow {
    display: none;
  }

  .story-cta {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 30px 0 34px;
  }

  .photo-stack {
    display: none;
  }

  .story-copy h2 {
    font-size: 40px;
  }

  .mini-steps {
    gap: 10px;
  }

  .mini-steps > span {
    font-size: 23px;
  }

  .mini-steps small {
    max-width: 90px;
    font-size: 11px;
    white-space: normal;
    text-align: center;
  }

  .mini-steps > b {
    display: none;
  }

  .faq summary {
    font-size: 15px;
  }

  .faq p {
    font-size: 15px;
    padding-right: 0;
  }

  .category-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding-bottom: 18px;
  }

  .category-tabs .category-card {
    height: 86px;
  }

  .category-tabs .category-text strong {
    font-size: 12px;
  }

  .category-tabs .category-text small {
    display: none;
  }

  .rules-layout {
    display: block;
  }

  .rules-side {
    display: none;
  }

  .rules-intro {
    padding-top: 4px;
  }

  .rules-intro h2 {
    font-size: 32px;
  }

  .rules-intro .lead {
    font-size: 17px;
  }

  .rule-item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 14px 0;
  }

  .rule-item h3 {
    font-size: 16px;
  }

  .rule-item p,
  .rule-points {
    font-size: 15px;
  }

  .rules-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .rules-actions .btn {
    width: 100%;
  }

  .rules-actions .text-link {
    align-self: center;
  }

  .form-wrap {
    padding: 16px 10px 36px;
  }

  .form-panel {
    padding: 22px 16px;
    border-radius: 10px;
  }

  .stepper {
    margin-bottom: 24px;
  }

  .stepper small {
    font-size: 11px;
  }

  .form-heading h2 {
    font-size: 24px;
  }

  .form-heading p {
    font-size: 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .full-field {
    grid-column: auto;
  }

  .category-options {
    gap: 6px;
  }

  .category-option {
    height: 66px;
    font-size: 12px;
  }

  .drop-zone {
    min-height: 160px;
    padding: 18px 12px;
  }

  .selected-category {
    flex-wrap: wrap;
    gap: 10px;
  }

  .selected-category img {
    width: 60px;
    height: 48px;
  }

  .file-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .caption-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .form-footer {
    gap: 10px;
  }

  .form-footer .btn {
    padding: 0 14px;
    font-size: 14px;
    gap: 7px;
  }

  .review-section > .text-link {
    top: 10px;
  }
}

@media (max-width: 390px) {
  .site-header .brand-logo {
    width: 136px;
  }

  .category-card {
    height: 140px;
  }

  .category-text strong {
    font-size: 12px;
  }

  .award-copy p:last-child {
    font-size: 14px;
  }
}
