:root {
  color-scheme: light;
  --forest: #14271d;
  --ink: #283a2d;
  --gold: #9a7742;
  --cream: #f6f1e7;
  --line: #d9cfbb;
  --muted: #666a5d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--forest);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

body:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1800px;
  z-index: -1;
  background: linear-gradient(180deg,rgba(13,32,21,.12),rgba(13,32,21,.05) 60%,var(--forest)),url('assets/wine-backdrop.png') center top/cover no-repeat;
}

.brand {
  padding: 34px 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #c1a16b;
  font-family: Georgia,serif;
  letter-spacing: 2px;
  font-size: 16px;
}

.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 3px;
  text-align: center;
  margin-top: 2px;
}

.brand-mark {
  font-size: 20px;
  border: 1px solid #9a7742;
  padding: 4px 6px;
  letter-spacing: -2px;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 0 24px;
}

.intro {
  text-align: center;
  color: var(--cream);
  padding: 26px 0 36px;
}

.eyebrow {
  letter-spacing: 2.7px;
  font-size: 10px;
  font-weight: 600;
  color: #c7ac7b;
}

.intro h1 {
  font: normal clamp(45px,7vw,76px)/1.15 Georgia,serif;
  letter-spacing: -2px;
  margin: 14px 0 8px;
}

.intro h1 i {
  font-size: .66em;
  color: #c7ac7b;
}

.ornament {
  color: #b39764;
  font-size: 13px;
  letter-spacing: 5px;
  margin: 10px 0 22px;
}

.intro h2 {
  font: normal 28px Georgia,serif;
  margin: 0 0 12px;
}

.intro>p:last-child {
  color: #d4d8cd;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 0;
}

.card {
  max-width: 740px;
  margin: auto;
  background: var(--cream);
  padding: 30px 48px 36px;
  border: 1px solid #c4ae80;
  border-radius: 5px;
  box-shadow: 0 24px 90px #06150db3;
  position: relative;
}

.card:before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid #ddd2bc;
  pointer-events: none;
  border-radius: 2px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  color: var(--gold);
  font-size: 9px;
  letter-spacing: 1.7px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

section,fieldset {
  margin: 0;
  padding: 27px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}

fieldset {
  padding-top: 24px;
}

legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0;
}

.section-title,legend {
  font: normal 22px/1.3 Georgia,serif;
  display: block;
}

.number {
  font: 10px Arial,sans-serif;
  color: var(--gold);
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  border: 1px solid #c6b58e;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  text-align: center;
  line-height: 24px;
  letter-spacing: 1px;
}

.hint {
  clear: both;
  color: var(--muted);
  font-size: 12px;
  margin: 9px 0 17px;
}

.optional {
  font-size: 10px;
  color: var(--muted);
  margin-left: 5px;
}

.required-mark {
  color: #a51f18;
}

input:not([type=radio]):not([type=checkbox]):not([type=file]),textarea {
  width: 100%;
  font: 13px/1.5 Arial,sans-serif;
  border: 1px solid #cfc7b6;
  border-radius: 3px;
  background: #fffcf5;
  padding: 13px 14px;
  color: var(--ink);
  outline: none;
}

input:focus,textarea:focus {
  border-color: var(--gold)!important;
  box-shadow: 0 0 0 3px #b18c4933;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

::placeholder {
  color: #87887c;
}

.choices {
  display: grid;
  gap: 10px;
}

.seating {
  grid-template-columns: repeat(2,1fr);
}

.five {
  grid-template-columns: repeat(5,1fr);
}

.choice {
  position: relative;
  border: 1px solid #d0c7b5;
  background: #fbf8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 16px 5px 13px;
  border-radius: 4px;
  min-height: 100px;
  transition: background .15s,border-color .15s;
}

.choice:hover {
  border-color: var(--gold);
  background: #efe9db;
}

.choice:has(input:checked) {
  background: #e8e9dc;
  border-color: #69774d;
  box-shadow: inset 0 0 0 1px #69774d;
}

.choice:has(input:focus-visible) {
  outline: 3px solid #b18c4980;
  outline-offset: 3px;
}

.choice input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.choice strong {
  font-size: 11px;
  font-weight: 500;
  text-align: center;
}

.choice small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}

.choice-icon {
  font: 30px/1.4 Georgia,serif;
  color: #977348;
  display: block;
  pointer-events: none;
}

.check {
  position: absolute;
  right: 7px;
  top: 4px;
  font-size: 10px;
  color: #53623b;
  opacity: 0;
}

.choice:has(input:checked) .check {
  opacity: 1;
}

.seating .choice strong {
  font-size: 13px;
}

#group-details {
  padding-top: 18px;
}

#group-details>label {
  display: block;
  font-size: 12px;
  margin-bottom: 7px;
}

.dropzone {
  position: relative;
  border: 1px dashed #b5a37c;
  border-radius: 4px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 4px;
  padding: 20px 12px;
  background: #eeeadd;
  text-align: center;
}

.dropzone.dragging {
  background: #e1e5d4;
  border-color: var(--forest);
}

.dropzone:focus-within {
  outline: 3px solid #b18c4980;
}

.dropzone input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.dropzone strong {
  font-size: 12px;
  font-weight: 500;
}

.dropzone>span:not(.upload-icon) {
  font-size: 11px;
  color: var(--muted);
}

.dropzone small {
  font-size: 10px;
  color: var(--muted);
  margin-top: 3px;
}

.upload-icon {
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.previews {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.previews:empty {
  display: none;
}

.previews li {
  width: 90px;
  position: relative;
}

.previews img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 3px;
}

.previews button {
  position: absolute;
  right: 2px;
  top: 2px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.previews small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
}

.counter {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}

.submit-area {
  text-align: center;
  padding-top: 20px;
}

.submit-area>p:first-child {
  font-size: 11px;
  color: var(--muted);
  max-width: 420px;
  margin: 0 auto 16px;
}

.submit {
  width: 100%;
  border: 1px solid #324830;
  border-radius: 3px;
  background: #253d2c;
  color: #f5eedf;
  padding: 16px 22px;
  font: 14px Georgia,serif;
  cursor: pointer;
  text-align: left;
}

.submit span {
  float: right;
  color: #dcc89e;
}

.submit:hover {
  background: #354f35;
}

.submit:disabled {
  opacity: .6;
  cursor: wait;
}

.closing {
  display: block;
  font-size: 8px;
  letter-spacing: 1.7px;
  color: var(--gold);
  margin-top: 18px;
}

.error {
  font-size: 12px;
  color: #9a2927;
}

.error:empty {
  display: none;
}

footer {
  text-align: center;
  padding: 34px 0 36px;
  color: #b79a66;
  letter-spacing: 2px;
  font-size: 10px;
}

footer span {
  margin: 0 14px;
}

footer p {
  color: #bac5b7;
  font: italic 13px Georgia,serif;
  letter-spacing: 0;
  margin-top: 9px;
}

.success {
  text-align: center;
  padding: 50px 0 20px;
}

.success h2 {
  font: 32px Georgia,serif;
}

.success-icon {
  display: inline-block;
  border: 1px solid #a68c58;
  border-radius: 50%;
  padding: 10px 19px;
  font-size: 28px;
  color: #6c773f;
}

.success>p {
  color: var(--muted);
}

#summary {
  margin: 25px 0;
  text-align: left;
  background: #eae6d9;
  padding: 18px;
  font-size: 12px;
}

#summary p {
  margin: 6px 0;
}

.text-button {
  border: 0;
  background: none;
  color: var(--ink);
  text-decoration: underline;
  padding: 18px;
  cursor: pointer;
}

[hidden] {
  display: none!important;
}

@media(min-width:1300px) {
  body: before {;
    background-size: 100% auto;
  }
}

@media(max-width:640px) {
  main {
    padding: 0 16px;
  }
  .brand {
    padding-top: 24px;
  }
  .intro {
    padding-top: 18px;
  }
  .intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.7px;
  }
  .intro h2 {
    font-size: 24px;
  }
  .card {
    padding: 24px 25px;
  }
  .section-title,legend {
    font-size: 20px;
  }
  .five {
    grid-template-columns: repeat(3,1fr);
  }
  .five .choice {
    min-height: 92px;
  }
  .card-top {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .choice small {
    font-size: 9px;
  }
  .number {
    margin-right: 6px;
  }
  body: before {;
    height: 1200px;
    background-position: 40% top;
  }
  .closing {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .seating .choice {
    padding-inline: 7px;
  }
  .seating .choice strong {
    font-size: 12px;
  }
}

@media(prefers-reduced-motion:reduce) {
  * {
    transition: none!important;
  }
}

/* Approved questionnaire composition */
:root {
  --forest: #06120c;
  --ink: #161a13;
  --gold: #89622b;
  --cream: #f1e2cd;
  --line: #b9a78e;
  --muted: #393a2d;
}

body {
  font-family: Georgia,'Times New Roman',serif;
  background: #06120c;
}

body:before {
  height: 100%;
  min-height: 1650px;
  background: linear-gradient(0deg,#06120c22,#06120c00),url('assets/wine-bg-updated.png') center top/100% 100% no-repeat;
  position: absolute;
  z-index: -1;
}

body {
  position: relative;
  isolation: isolate;
}

.brand {
  width: 230px;
  height: 90px;
  padding: 0;
  margin: 0 auto;
  background: url('assets/approved-reference.png') center -5px/980px auto no-repeat;
  display: block;
}

.event-logo {
  width: 240px;
  height: 145px;
  margin: 4px auto 24px;
  background: url('assets/approved-reference.png') center -96px/980px auto no-repeat;
}

main {
  max-width: 1000px;
  padding: 0 36px;
}

.card {
  max-width: 830px;
  padding: 50px;
  background-color: #f1e2cd;
  background-image: repeating-radial-gradient(ellipse at 50% 50%,#a3855410 0 1px,transparent 1px 6px),linear-gradient(110deg,#fffaef80,#ead5bd44 50%,#fff9ef55);
  background-size: 19px 27px,100% 100%;
  border-radius: 17px;
  border: 1px solid #f7e4cb;
  box-shadow: 0 18px 80px #0009;
}

.card:before {
  display: none;
}

.welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  color: #fff;
  margin: 75px auto 0;
  padding: 50px;
}

.welcome > .event-logo {
  order: -1;
  flex: 0 0 auto;
  width: 160px;
  margin: 0;
}

@media (max-width: 700px) {
  .welcome > .event-logo {
    width: 160px;
  }
  .welcome-copy {
    min-width: 0;
  }
}

.welcome h1 {
  font: italic 145px/1.02 Georgia, serif;
  letter-spacing: -4px;
  margin: 4px 0 0;
}

.brush {
  display: block;
  width: 365px;
  max-width: 82%;
  height: 17px;
  margin: 2px auto 12px;
  border-top: 4px solid #947039;
  border-radius: 50%;
  transform: rotate(-2deg);
  position: relative;
}

.brush:after {
  content: "";
  display: block;
  position: absolute;
  inset: 3px 15px auto 35px;
  border-top: 2px solid #a8864c;
  transform: rotate(1deg);
}

.welcome p {
  text-align: center;
  font-size: 14px;
  letter-spacing: 5.5px;
  font-weight: bold;
  line-height: 1.25;
  margin: 8px 0 0;
}

.name-section {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  border: 1px solid #43473a;
  border-radius: 16px;
  box-shadow: 0 0 0 3px #fff9;
  gap: 18px;
  margin: 8px 8px 12px;
}

.name-section label {
  white-space: nowrap;
  font-weight: bold;
  font-size: 16px;
  border-right: 1px solid #a6916b;
  padding-right: 25px;
}

.name-section label span {
  font-size: 27px;
  vertical-align: middle;
  margin-right: 14px;
  font-weight: normal;
}

.name-section b {
  color: #ac1e16;
}

.name-section input {
  border: 0!important;
  background: transparent!important;
  padding: 6px 2px!important;
  font: bold italic 16px Georgia,serif!important;
  border-radius: 0!important;
}

section,fieldset {
  padding: 16px 12px 15px;
  border-bottom: 1px solid var(--line);
}

fieldset {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  padding: 12px 12px 15px;
  position: relative;
}

legend {
  float: left;
  padding-left: 72px;
  text-transform: uppercase;
  font: bold 25px/1.04 Georgia,serif;
  margin: 0;
}

.number {
  position: absolute;
  left: 0;
  top: 10px;
  border: 1.3px solid #1e241a;
  font: italic 32px/53px Georgia,serif;
  width: 57px;
  height: 57px;
  color: #161a13;
  background: transparent;
}

.hint {
  font: bold italic 14px/1.25 Georgia,serif;
  color: #171b13;
  margin: 5px 0 13px;
}

fieldset>.hint {
  padding-left: 72px;
  padding-top: 4px;
}

.choices {
  gap: 12px;
}

.choice {
  border: 1px solid #bda88c;
  border-radius: 15px;
  background: #fff8ed20;
  padding: 8px 7px 9px;
  min-height: 137px;
  justify-content: flex-start;
  gap: 2px;
  color: #191c15;
}

.choice:hover {
  background: #ead6b45c;
  border-color: #705a36;
}

.choice:has(input:checked) {
  background: #062313;
  color: #fff7e9;
  border-color: #04180c;
  box-shadow: inset 0 0 30px #020d08;
}

.choice strong {
  font: bold 12px/1.08 Georgia,serif;
  text-transform: uppercase;
  letter-spacing: .5px;
  min-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.choice-icon {
  height: 73px;
  width: 65px;
  color: inherit;
  line-height: 1;
  display: block;
}

.choice-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.check {
  position: static;
  display: block;
  opacity: 1;
  color: transparent;
  border: 1px solid #383e30;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  font: 12px/17px Arial;
  margin-top: auto;
  background: #fff7e880;
}

.choice:has(input:checked) .check {
  color: transparent;
  border-color: #f6eed8;
  background: radial-gradient(circle,#fff8e8 0 5px,transparent 6px);
}

.seating .choice {
  min-height: 143px;
  padding: 8px;
}

.seating .choice strong {
  font-size: 20px;
  letter-spacing: 1px;
  min-height: 20px;
}

.seating .choice small {
  text-align: center;
  font: 10px/1.2 Arial,sans-serif;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: inherit;
  min-height: 24px;
  margin: 2px 0;
}

.seating .choice-icon {
  width: 87px;
  height: 70px;
}

.seating .check {
  position: absolute;
  right: 15px;
  top: 10px;
  margin: 0;
}

.five .choice-icon {
  height: 76px;
}

.upload-section {
  display: flex;
  gap: 30px;
  padding: 16px 14px;
  border-top: 1px solid var(--line);
}

.upload-art {
  width: 140px;
  flex-shrink: 0;
  border-right: 1px solid #71634f;
  font-size: 95px;
  line-height: 1.2;
  padding-right: 24px;
  color: #7a6036;
}

.upload-content {
  flex: 1;
  min-width: 0;
}

.section-title {
  font: bold 21px/1.1 Georgia,serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.upload-section .hint {
  font-size: 13px;
  margin: 5px 0 10px;
}

.dropzone {
  border: 1.5px dashed #383b2d;
  background: transparent;
  border-radius: 15px;
  padding: 12px 12px 10px;
  gap: 1px;
  min-height: 79px;
}

.dropzone strong {
  font: bold 14px Georgia,serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dropzone>span:not(.upload-icon) {
  font: bold 12px Georgia,serif;
  text-transform: uppercase;
  color: #88612a;
  letter-spacing: .5px;
}

.dropzone small {
  font: 9px Arial,sans-serif;
  margin-top: 5px;
}

.upload-icon {
  position: absolute;
  left: 17px;
  top: 8px;
  font-size: 40px;
  color: #303b2e;
}

.notes-section {
  border-bottom: 0;
  padding: 11px 24px 2px;
}

.notes-section .hint {
  font-size: 13px;
  margin: 3px 0 8px;
}

.notes-section textarea {
  min-height: 57px;
  max-height: 240px;
  border: 1px solid #777c69;
  border-radius: 14px;
  background: #fff9ee30;
  padding: 11px 16px;
  font: 14px Georgia,serif;
}

.counter {
  font-size: 9px;
  margin: 0;
}

.submit-area {
  padding: 8px 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.submit {
  border: 1px solid #fff6dc;
  background: linear-gradient(110deg,#8b612c,#a37d3d,#7c5e2e);
  border-radius: 35px;
  font: bold 18px Georgia,serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  width: auto;
  min-width: 420px;
  padding: 15px 28px;
  color: #fff8e7;
  box-shadow: inset 0 1px 4px #f3d8a54d;
}

.submit span {
  float: none;
  display: inline-block;
  margin-left: 12px;
  font-size: 24px;
  line-height: 14px;
}

.submit:hover {
  background: #795b2c;
}

.submit-area>p:first-child {
  order: 2;
  font: 10px/1.3 Arial,sans-serif;
  margin: 10px auto 0;
  max-width: 450px;
  color: #535345;
}

footer {
  padding: 18px 0;
  color: #c1a16a;
}

footer p {
  font-size: 12px;
}

#group-details label {
  font: italic 14px Georgia,serif;
}

.success .submit {
  font-size: 14px;
  min-width: 250px;
}

.success h2 {
  font-style: italic;
}

.error {
  font-family: Arial,sans-serif;
}

input:not([type=radio]):not([type=checkbox]):not([type=file]) {
  font-family: Georgia,serif;
}

::placeholder {
  color: #33382d;
  opacity: 1;
}

@media(min-width:1300px) {
  body: before {;
    background-size: 100% 100%;
  }
}

@media(max-width:700px) {
  main {
    padding: 0 18px;
  }
  .brand {
    height: 85px;
  }
  .event-logo {
    margin: 0 auto 20px;
  }
  .card {
    padding: 0 24px 22px;
    border-radius: 15px;
  }
  .welcome h1 {
    font-size: 76px;
  }
  .welcome p {
    font-size: 15px;
    letter-spacing: 3px;
  }
  .name-section {
    margin: 10px 0 15px;
    gap: 12px;
    padding: 10px;
  }
  .name-section label {
    font-size: 12px;
    padding-right: 12px;
  }
  .name-section label span {
    font-size: 22px;
    margin-right: 5px;
  }
  .name-section input {
    font-size: 13px!important;
    min-width: 0;
  }
  .number {
    width: 44px;
    height: 44px;
    line-height: 42px;
    font-size: 26px;
    left: 0;
    top: 12px;
  }
  legend {
    font-size: 21px;
    padding-left: 57px;
  }
  fieldset>.hint {
    padding-left: 57px;
    font-size: 12px;
  }
  .five {
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 7px;
  }
  .choice {
    min-height: 122px;
    border-radius: 12px;
    padding: 6px 3px;
  }
  .five .choice-icon {
    width: 48px;
    height: 61px;
    max-width: 100%;
  }
  .choice strong {
    font-size: 10px;
    letter-spacing: 0;
    min-height: 30px;
  }
  .seating .choice strong {
    font-size: 17px;
  }
  .seating .choice small {
    font-size: 9px;
    letter-spacing: 1.5px;
  }
  .upload-art {
    width: 75px;
    font-size: 65px;
    padding-right: 14px;
  }
  .upload-section {
    gap: 18px;
    padding: 15px 0;
  }
  .section-title {
    font-size: 18px;
  }
  .upload-icon {
    display: none;
  }
  .upload-section .hint {
    font-size: 12px;
  }
  .dropzone strong {
    font-size: 11px;
  }
  .dropzone>span:not(.upload-icon) {
    font-size: 10px;
  }
  .submit {
    min-width: 0;
    width: 100%;
    font-size: 14px;
    letter-spacing: 1.4px;
    padding: 14px 10px;
  }
  .notes-section {
    padding: 12px 0 2px;
  }
  .notes-section .hint {
    font-size: 12px;
  }
  body: before {;
    background-size: auto 100%;
    background-position: center top;
  }
}

@media(max-width:420px) {
  main {
    padding: 0 12px;
  }
  .card {
    padding-inline: 17px;
  }
  .welcome h1 {
    font-size: 66px;
  }
  .welcome p {
    font-size: 13px;
  }
  .name-section label {
    font-size: 10px;
  }
  .name-section label span {
    display: none;
  }
  .name-section input {
    font-size: 12px!important;
  }
  legend {
    font-size: 18px;
  }
  .five {
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 9px;
  }
  .five .choice {
    min-height: 122px;
  }
  .five .choice-icon {
    width: 55px;
  }
  .choice strong {
    font-size: 11px;
  }
  .upload-art {
    display: none;
  }
  .seating .choice strong {
    font-size: 15px;
  }
  .seating .choice small {
    font-size: 8px;
  }
  .section-title {
    font-size: 17px;
  }
  .submit {
    font-size: 12px;
  }
}

/* Preserve the supplied photograph’s aspect ratio at every viewport. */
body:before {
  background-size: auto 100%;
  background-position: center top;
  background-repeat: no-repeat;
}

/* Decorative cork overlaps the card corner without intercepting form controls. */
.corner-cork {
  position: absolute;
  width: 250px;
  height: auto;
  left: -115px;
  bottom: -60px;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 8px #0005);
}

@media(max-width:700px) {
  .corner-cork {
    width: 175px;
    left: -62px;
    bottom: -43px;
  }
}

@media(max-width:420px) {
  .corner-cork {
    width: 130px;
    left: -39px;
    bottom: -34px;
  }
}

/* Grapes frame the opposite corner, above the card and outside the controls. */
.corner-grapes {
  position: absolute;
  width: 330px;
  height: auto;
  right: -165px;
  bottom: -58px;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 10px #0006);
}

@media(max-width:700px) {
  .corner-grapes {
    width: 180px;
    right: -83px;
    bottom: -35px;
  }
}

@media(max-width:420px) {
  .corner-grapes {
    width: 110px;
    right: -42px;
    bottom: -26px;
  }
}

body {
  overflow-x: clip;
}

/* Anchor the photograph to the page bottom at its natural aspect ratio. */
body:before {
  background-size: 3000px auto;
  background-position: left top;
  background-repeat: no-repeat;
  left: 0;
  right: 0;
  top: auto;
  bottom: 0;
  height: 1080px;
  min-height: 0;
  pointer-events: none;
}

/* Center the full-width photograph while keeping it anchored to the page bottom. */
body:before {
  left: 0;
  right: 0;
  background-position: center bottom;
}

/* Official single logo replaces the two cropped mockup logos. */
.event-logo {
  display: block;
  width: 200px;
  height: auto;
  background: none;
  margin: 75px auto;
  filter: invert(1);
}

.name-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin: 8px 8px 12px;
}

.name-row .name-section {
  align-self: stretch;
  margin: 0;
}

.name-row > .event-logo {
  flex: 0 0 auto;
  width: 200px;
  margin: 0;
  filter: none;
}

@media (max-width: 700px) {
  .name-row {
    gap: 10px;
    margin: 10px 0 15px;
  }

  .name-row > .event-logo {
    width: 80px;
    margin: 0;
  }
}

/* Illustrations cropped from the supplied transparent sprite sheet. */
.choice-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.choice-icon .sprite-icon {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.five .choice-icon {
  width: 80px;
  height: 86px;
}
#tattoo-choices .choice-icon {
  height: 70px;
}
.icon-ellipsis {
  font: bold 30px Georgia, serif;
  letter-spacing: 5px;
}
@media (max-width: 700px) {
  .five .choice-icon {
    width: 100%;
    height: 73px;
  }
  #tattoo-choices .choice-icon {
    height: 63px;
  }
}

/* Keep the welcome heading balanced on smaller cards. */
@media (max-width: 700px) {
  .welcome {
    padding: 50px 24px;
  }
  .welcome h1 {
    font-size: 75px;
    letter-spacing: -3px;
  }
  .welcome p {
    font-size: 14px;
    letter-spacing: 3px;
  }
  .brush {
    width: 78%;
    margin: 4px auto 12px;
  }
}

/* Supplied decorative icon replaces the gold headline underline. */
.welcome-icon {
  display: block;
  width: 100px;
  max-width: 70%;
  height: auto;
  margin: 20px auto;
}

/* Keep a consistent vertical rhythm throughout the form. */
@media (max-width: 420px) {
  .welcome {
    padding-inline: 17px;
  }
}

.name-section,
fieldset,
.upload-section,
.notes-section,
.submit-area {
  padding-top: 24px;
  padding-bottom: 24px;
}
