@font-face {
  font-family: Instrument;
  src: url("/assets/instrument-variable.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Editorial;
  src: url("/assets/editorial.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  --paper: #f0ece5;
  --ink: #2c2923;
  --coffee: #4c3a2d;
  --gold: #b99c72;
  --muted: #6c6256;
  --line: #d6cfc3;
  --light: #f8f5ef;
  --error: #932f2b;
  font-family: Instrument, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
label,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a,
input,
textarea,
summary {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--coffee);
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
button,
a {
  touch-action: manipulation;
}
p {
  line-height: 1.6;
}
h1,
h2,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font-weight: 400;
}
em {
  font-family: Editorial, Georgia, serif;
  font-weight: 400;
}
h1 {
  font-size: clamp(40px, 4.2vw, 62px);
  line-height: 1.05;
  letter-spacing: -2.6px;
}
h1:focus {
  outline: none;
}
h2 {
  font-size: 26px;
  letter-spacing: -0.6px;
  line-height: 1.2;
}
a {
  color: inherit;
}
input[type="checkbox"] {
  accent-color: var(--coffee);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 2px 0 0;
}
button {
  border: 0;
  background: none;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.2px;
}
small {
  font-size: 12px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: absolute;
  top: -100px;
  background: var(--ink);
  color: var(--paper);
  padding: 15px;
  z-index: 10;
}
.skip-link:focus {
  top: 10px;
}
.masthead {
  height: 100px;
  border-bottom: 1px solid var(--line);
  margin: 0 clamp(24px, 5.2vw, 86px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 33px;
  letter-spacing: -1.5px;
}
.brand i {
  font-family: Editorial, Georgia, serif;
  font-weight: 400;
}
.brand-flower {
  display: block;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.doctor {
  text-align: right;
  font-size: 11px;
  letter-spacing: 1.6px;
}
.doctor span {
  display: block;
  font-size: 8px;
  letter-spacing: 1.4px;
  margin-top: 7px;
  color: var(--muted);
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 32px 42px 0;
}
.form-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--coffee);
}
.time-note {
  font-size: 12px;
  color: var(--muted);
}
.stepper {
  margin-top: 24px;
  border-bottom: 1px solid var(--line);
}
.stepper ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.stepper li {
  position: relative;
  padding: 0 0 18px;
  font-size: 13px;
  color: var(--muted);
}
.stepper li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin-right: 10px;
  font-size: 10px;
}
.stepper li[aria-current] {
  color: var(--coffee);
}
.stepper li[aria-current]:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: calc(100% - 25px);
  height: 2px;
  background: var(--coffee);
}
.stepper li[aria-current] span,
.stepper li.complete span {
  background: var(--coffee);
  color: var(--paper);
  border-color: var(--coffee);
}
.stepper small {
  margin-left: 4px;
  font-size: 10px;
}
.intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 35px 0 30px;
}
.intro > div > p:not(.eyebrow) {
  max-width: 440px;
  margin-top: 17px;
  font-size: 14px;
  color: var(--muted);
}
.intro .eyebrow {
  margin-bottom: 17px;
}
.section-index {
  font-size: 11px;
  color: var(--muted);
  padding-top: 10px;
  letter-spacing: 2px;
}
.selection-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: clamp(35px, 6vw, 80px);
}
.face-figure {
  max-width: 430px;
}
.face-stage {
  aspect-ratio: 4/5;
  position: relative;
  background: #e1d7c9;
  overflow: hidden;
  border-radius: 180px 180px 8px 8px;
}
.face-stage > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.65);
}
.face-markers {
  position: absolute;
  inset: 0;
}
.face-marker {
  position: absolute;
  left: var(--marker-x);
  top: var(--marker-y);
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border: 1px solid #fff7e9aa;
  border-radius: 50%;
  background: #f5ecdddc;
  box-shadow: 0 0 0 6px #f5ecdd2b;
  color: var(--coffee);
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  font-size: 25px;
  line-height: 1;
}
.face-marker:hover {
  box-shadow: 0 0 0 9px #f5ecdd4b;
}
.face-marker small {
  position: absolute;
  top: -5px;
  right: -3px;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  background: var(--coffee);
  color: var(--paper);
  font-size: 9px;
}
.face-marker[aria-pressed="true"] {
  background: var(--coffee);
  color: var(--paper);
  border-color: var(--paper);
  box-shadow: 0 0 0 6px #4c3a2d2b;
}
.image-label {
  position: absolute;
  bottom: 20px;
  left: 24px;
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--ink);
  background: #f0ece5de;
  padding: 7px 10px;
}
.image-corner {
  position: absolute;
  bottom: 22px;
  right: 26px;
  color: var(--paper);
  font-size: 25px;
}
.face-figure figcaption {
  font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.5;
}
.tiny-number {
  display: inline-flex;
  margin-right: 10px;
  border-bottom: 1px solid var(--gold);
  font-size: 10px;
  vertical-align: middle;
  padding-bottom: 4px;
  color: var(--muted);
}
.field-hint {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
}
.choices fieldset > .field-hint {
  margin: 8px 0 13px;
}
.region-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.region-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  padding: 8px 10px;
  font-size: 11px;
  cursor: pointer;
  position: relative;
  transition: background 0.2s;
}
.region-choice input,
.concern-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.region-choice:has(input:focus-visible),
.concern-choice:has(input:focus-visible) {
  outline: 2px solid var(--coffee);
  outline-offset: 3px;
}
.region-choice:has(input:checked) {
  background: var(--coffee);
  color: var(--paper);
  border-color: var(--coffee);
}
.region-number {
  font-size: 9px;
  opacity: 0.75;
}
.choice-tick {
  margin-left: auto;
  opacity: 0;
}
.region-choice:has(input:checked) .choice-tick {
  opacity: 1;
}
.concern-fieldset {
  margin-top: 29px;
}
.concern-options {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.concern-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  border: 1px solid var(--line);
  padding: 10px 13px;
  min-height: 42px;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.2s;
}
.concern-choice > span:last-child {
  font-size: 17px;
  line-height: 1;
  color: var(--muted);
}
.concern-choice:has(input:checked) {
  background: #dfd4c3;
  border-color: #9a805b;
  color: var(--coffee);
}
.concern-choice:has(input:checked) > span:last-child {
  transform: rotate(45deg);
  color: var(--coffee);
}
.notes-field {
  margin-top: 26px;
}
.notes-field label {
  display: block;
  font-size: 12px;
  margin-bottom: 10px;
}
.notes-field label span {
  font-size: 10px;
  color: var(--muted);
  margin-left: 6px;
}
textarea,
input:not([type="checkbox"]) {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 2px;
  width: 100%;
  padding: 13px 14px;
  font-size: 13px;
}
textarea {
  resize: vertical;
  min-height: 73px;
}
.notes-field > .field-hint {
  display: block;
  font-size: 10px;
  margin-top: 5px;
}
::placeholder {
  color: #797063;
}
.step-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 22px 0 30px;
  gap: 20px;
}
.selection-status {
  font-size: 11px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-height: 49px;
  padding: 14px 24px;
  font-size: 12px;
  line-height: 1.4;
  border-radius: 2px;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.button > span {
  font-size: 20px;
}
.primary {
  background: var(--coffee);
  color: var(--paper);
  border: 1px solid var(--coffee);
}
.primary:hover {
  background: var(--ink);
}
.outline {
  border: 1px solid #b3a695;
}
.outline:hover {
  background: #e4dbce;
}
.text-button {
  font-size: 12px;
  min-height: 44px;
  padding: 10px 0;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.error {
  color: var(--error);
  background: #f3e1d7;
  border: 1px solid #cfada0;
  padding: 13px 16px;
  font-size: 13px;
  line-height: 1.6;
}
.form-error {
  margin: 0 0 25px;
}
.photo-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  margin: 8px 0 35px;
}
.photo-guide {
  padding: 30px 40px;
  text-align: center;
  background: #e8e1d6;
  border: 1px solid #d9cebc;
  border-radius: 150px 150px 3px 3px;
}
.portrait-outline {
  width: 160px;
  margin: 0 auto 25px;
}
.portrait-outline svg {
  stroke: #8f7657;
  stroke-width: 1.2;
  display: block;
}
.portrait-outline .frame-line {
  stroke: #b7a487;
  stroke-dasharray: 3 3;
}
.photo-guide h2 {
  font-size: 24px;
}
.photo-guide p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 15px;
}
.photo-guide p.field-hint {
  font-size: 10px;
}
.check-line {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  line-height: 1.65;
  cursor: pointer;
}
.upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 23px 0 12px;
}
.upload-actions .button {
  gap: 12px;
}
.privacy-note {
  display: flex;
  gap: 15px;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 22px;
  color: var(--muted);
}
.privacy-note > span {
  font-size: 25px;
  color: var(--gold);
}
.privacy-note p {
  font-size: 11px;
}
.photo-controls .error {
  margin-top: 16px;
}
#preview-image {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  background: #e8e1d6;
  margin-top: 25px;
}
#camera-video {
  display: block;
  width: 100%;
  max-height: 330px;
  background: var(--ink);
  margin-top: 20px;
  transform: scaleX(-1);
}
.preview-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  color: var(--muted);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  gap: 80px;
  padding: 10px 0 25px;
}
.input-field {
  margin-bottom: 25px;
}
.input-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 11px;
}
.input-field input {
  font-size: 15px;
  padding: 15px;
}
.input-field p {
  margin-top: 9px;
}
.contact-fields > .check-line {
  margin-top: 18px;
}
.privacy-details {
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
  margin-top: 22px;
  color: var(--muted);
}
.privacy-details summary {
  cursor: pointer;
  min-height: 28px;
  color: var(--coffee);
}
.privacy-details p {
  margin: 12px 0;
}
.review-summary {
  background: #e6ded1;
  padding: 35px;
  align-self: start;
}
.review-summary h2 {
  font-size: 33px;
  margin-top: 20px;
  line-height: 1.12;
}
.review-summary dl {
  font-size: 12px;
  margin-top: 27px;
}
.review-summary dt {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-top: 20px;
}
.review-summary dd {
  margin: 7px 0 0;
  line-height: 1.65;
}
.summary-note {
  border-top: 1px solid #cbbca8;
  margin-top: 26px;
  padding-top: 20px;
  display: flex;
  gap: 15px;
}
.summary-note > span {
  font-size: 29px;
  color: #8c704b;
}
.summary-note p {
  font-size: 11px;
}
.loading-state {
  text-align: center;
  padding: 70px 15px 100px;
}
.loading-state .eyebrow {
  margin: 25px 0;
}
.loading-state p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin-top: 25px;
}
.loading-flower {
  font-size: 75px;
  color: var(--gold);
  animation: rotate 8s linear infinite;
}
.result-heading {
  padding: 38px 0 35px;
}
.result-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 1.2px;
  border: 1px solid #b2a58d;
  padding: 9px 13px;
  color: var(--coffee);
  margin-bottom: 22px;
}
.result-heading > p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 20px;
  max-width: 540px;
}
.result-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 65px;
}
.result-summary {
  font-size: 18px;
  line-height: 1.7;
  margin: 18px 0 30px;
  overflow-wrap: anywhere;
}
.result-grid h2 {
  font-size: 24px;
}
.result-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 30px;
}
.result-list li {
  border-top: 1px solid var(--line);
  padding: 15px 0;
  font-size: 13px;
  line-height: 1.7;
}
.photo-result {
  border-left: 2px solid var(--gold);
  padding-left: 18px;
}
.photo-result > p:last-child {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}
.result-aside {
  padding: 30px;
  background: #e6ded1;
  align-self: start;
}
.result-aside ol {
  padding: 0;
  list-style-position: inside;
  counter-reset: questions;
}
.result-aside li {
  font-size: 13px;
  line-height: 1.7;
  padding: 14px 0;
  border-bottom: 1px solid #cfc2ae;
}
.professional-note {
  padding-top: 20px;
}
.professional-note strong {
  font-size: 14px;
  font-weight: 500;
}
.professional-note p {
  font-size: 12px;
  margin: 12px 0 23px;
  color: var(--coffee);
}
.whatsapp {
  gap: 12px;
  width: 100%;
  font-size: 11px;
}
.professional-note small {
  display: block;
  font-size: 10px;
  color: var(--coffee);
  line-height: 1.7;
  margin-top: 13px;
}
footer {
  border-top: 1px solid var(--line);
  margin: 0 clamp(24px, 5.2vw, 86px);
  padding: 25px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
}
footer p span {
  display: block;
  font-size: 9px;
  margin-top: 3px;
}
.footer-mark {
  font-family: Editorial, Georgia, serif;
  font-style: italic;
  font-size: 19px;
  color: var(--coffee);
}
.step:not([hidden]),
#result:not([hidden]) {
  animation: appear 0.35s ease-out;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1500px) {
  main {
    padding-top: 40px;
  }
  .intro {
    padding-top: 42px;
    padding-bottom: 35px;
  }
  .selection-layout {
    gap: 80px;
  }
}
@media (max-width: 800px) {
  .masthead {
    height: 85px;
  }
  .brand {
    font-size: 28px;
  }
  .brand-flower {
    width: 30px;
    height: 30px;
  }
  .doctor {
    font-size: 9px;
  }
  .doctor span {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  main {
    padding: 26px 26px 0;
  }
  .selection-layout {
    gap: 28px;
    grid-template-columns: 0.9fr 1.1fr;
  }
  .region-options {
    grid-template-columns: 1fr;
  }
  .region-choice {
    font-size: 12px;
  }
  .face-figure {
    align-self: start;
    position: sticky;
    top: 20px;
  }
  .face-marker {
    width: 40px;
    height: 40px;
  }
  .concern-fieldset {
    margin-top: 24px;
  }
  .photo-layout {
    gap: 30px;
  }
  .photo-guide {
    padding: 30px 20px;
  }
  .contact-layout {
    gap: 30px;
  }
  .review-summary {
    padding: 25px;
  }
  .result-grid {
    gap: 30px;
  }
  .result-aside {
    padding: 24px;
  }
}
@media (max-width: 600px) {
  .masthead {
    margin: 0 22px;
    height: 78px;
  }
  .brand {
    font-size: 26px;
    gap: 8px;
  }
  .brand-flower {
    width: 28px;
    height: 28px;
  }
  .doctor {
    font-size: 8px;
    letter-spacing: 0.7px;
  }
  .doctor span {
    font-size: 6px;
    letter-spacing: 0.2px;
    max-width: 130px;
    margin-top: 5px;
  }
  main {
    padding: 23px 22px 0;
  }
  .form-top {
    align-items: flex-start;
    gap: 10px;
  }
  .time-note {
    font-size: 9px;
    max-width: 145px;
    text-align: right;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
  .stepper {
    margin-top: 23px;
  }
  .stepper li {
    font-size: 10px;
    padding-bottom: 14px;
    line-height: 1.8;
  }
  .stepper li span {
    width: 21px;
    height: 21px;
    font-size: 8px;
    margin-right: 5px;
  }
  .stepper small {
    display: block;
    font-size: 8px;
    margin-left: 29px;
    line-height: 1;
  }
  .stepper li[aria-current]:after {
    width: calc(100% - 15px);
  }
  .intro {
    padding: 29px 0 25px;
  }
  .intro > div > p:not(.eyebrow) {
    font-size: 12px;
    margin-top: 15px;
    max-width: 290px;
  }
  h1 {
    font-size: 44px;
    letter-spacing: -1.9px;
  }
  .section-index {
    font-size: 8px;
    letter-spacing: 1px;
    padding-top: 7px;
    margin-left: 8px;
    white-space: nowrap;
  }
  .selection-layout {
    grid-template-columns: 1fr;
    gap: 27px;
  }
  .face-figure {
    max-width: 310px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    top: auto;
  }
  .face-stage {
    aspect-ratio: 4/4.7;
    border-radius: 150px 150px 4px 4px;
  }
  .face-stage > img {
    object-fit: fill;
  }
  .face-marker {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
  .face-figure figcaption {
    font-size: 9px;
    text-align: center;
  }
  .region-options {
    grid-template-columns: 1fr 1fr;
  }
  .region-choice {
    font-size: 10px;
    padding: 10px 8px;
    gap: 7px;
    min-height: 46px;
  }
  legend {
    font-size: 14px;
  }
  .concern-fieldset {
    margin-top: 27px;
  }
  .concern-choice {
    font-size: 11px;
    min-height: 44px;
  }
  .notes-field label {
    font-size: 12px;
  }
  .step-bottom {
    margin-top: 25px;
    padding: 20px 0 25px;
    gap: 12px;
  }
  .selection-status {
    font-size: 10px;
    max-width: 150px;
    line-height: 1.6;
  }
  .button {
    padding: 13px 18px;
    gap: 22px;
    min-height: 49px;
    font-size: 11px;
  }
  .photo-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 20px;
  }
  .photo-guide {
    border-radius: 120px 120px 3px 3px;
    max-width: 300px;
    margin: auto;
    padding: 25px 25px;
    width: 100%;
  }
  .portrait-outline {
    width: 100px;
    margin-bottom: 15px;
  }
  .photo-guide h2 {
    font-size: 23px;
  }
  .photo-guide p {
    font-size: 12px;
  }
  .upload-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .upload-actions > .button {
    padding: 12px 10px;
    gap: 8px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .review-summary h2 {
    font-size: 29px;
  }
  .review-summary {
    padding: 25px;
  }
  .contact-fields .check-line {
    font-size: 12px;
  }
  .contact-layout .review-summary {
    order: -1;
  }
  .review-summary h2 {
    display: none;
  }
  .review-summary dl {
    margin-top: 16px;
  }
  .review-summary dt {
    margin-top: 15px;
  }
  .summary-note {
    margin-top: 18px;
    padding-top: 15px;
  }
  .summary-note p {
    font-size: 10px;
  }
  .review-summary .eyebrow {
    font-size: 9px;
  }
  .result-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .result-heading {
    padding: 30px 0;
  }
  .result-heading > p {
    font-size: 13px;
  }
  .result-summary {
    font-size: 17px;
  }
  .result-aside {
    padding: 25px;
  }
  .result-badge {
    font-size: 8px;
  }
  .loading-state {
    padding: 60px 0 90px;
  }
  footer {
    margin: 0 22px;
    flex-wrap: wrap;
    gap: 15px;
    padding: 22px 0;
    font-size: 9px;
  }
  footer p:first-child {
    flex: 1 1 60%;
  }
  .footer-mark {
    font-size: 17px;
  }
  footer p:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
  .privacy-details {
    font-size: 11px;
  }
  .error {
    font-size: 12px;
  }
  .result-grid li {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* Intake starts with contact details; delivery is intentionally pending. */
.first-step-note > p:not(.eyebrow) {
  font-size: 13px;
  color: var(--coffee);
  margin-top: 20px;
}
.contact-fields > .error,
.choices > .error {
  margin-top: 20px;
}
.final-data {
  margin: 20px 0 30px;
}
.final-data dt {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-top: 23px;
}
.final-data dd {
  margin: 7px 0 0;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.pending-note {
  border: 1px solid #c9b99f;
  background: #e6ded1;
  padding: 22px;
  margin-top: 25px;
}
.pending-note strong {
  font-size: 14px;
  font-weight: 500;
}
.pending-note p {
  font-size: 12px;
  margin-top: 10px;
  color: var(--coffee);
}
.final-photo {
  margin: 0;
  align-self: start;
}
.final-photo img {
  width: 100%;
  display: block;
  max-height: 450px;
  object-fit: contain;
  background: #e6ded1;
}
.final-photo p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 12px;
}
input[aria-invalid="true"] {
  border-color: var(--error);
}
@media (max-width: 600px) {
  .contact-layout .first-step-note {
    order: 0;
    padding: 20px;
    background: transparent;
    border: 1px solid var(--line);
  }
  .first-step-note > p:not(.eyebrow) {
    font-size: 12px;
    margin-top: 12px;
  }
  .first-step-note .summary-note {
    margin-top: 15px;
    padding-top: 15px;
  }
  .first-step-note .summary-note > span {
    font-size: 22px;
  }
  .contact-layout {
    padding-top: 0;
    gap: 20px;
  }
  #step-1 .step-bottom {
    margin-top: 10px;
  }
  #step-2 .step-bottom {
    flex-wrap: wrap;
  }
  #selection-status {
    order: 3;
    flex-basis: 100%;
    max-width: none;
    text-align: center;
  }
  .final-data dd {
    font-size: 15px;
  }
  .final-photo {
    max-width: 320px;
    width: 100%;
    margin: auto;
  }
  .face-stage {
    aspect-ratio: 4/5;
  }
  .face-stage > img {
    object-fit: cover;
  }
}

/* Keep the face selector usable within a phone viewport, including Safari's browser bars. */
@media (max-width: 700px) {
  #step-2 {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    animation: none;
  }
  #step-2 .intro {
    padding: 18px 0 16px;
  }
  #step-2 .intro > div {
    min-width: 0;
  }
  #step-2 h1 {
    font-size: clamp(28px, 7.5vw, 34px);
    line-height: 1.08;
    letter-spacing: -1.1px;
  }
  #step-2 .intro > div > p {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.5;
    max-width: 360px;
  }
  #step-2 .section-index {
    display: none;
  }
  #step-2 .selection-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  #step-2 .face-figure {
    position: static;
    width: min(100%, 232px);
    max-width: none;
    margin: 0 auto;
  }
  #step-2 .face-stage {
    border-radius: 120px 120px 4px 4px;
    aspect-ratio: 4 / 5;
  }
  #step-2 .face-marker {
    width: 44px;
    height: 44px;
    font-size: 22px;
    box-shadow: 0 0 0 3px #f5ecdd2b;
  }
  #step-2 .face-marker[data-region="mouth"] {
    left: 57%;
    top: 61%;
  }
  #step-2 .face-marker[data-region="jaw"] {
    left: 79%;
    top: 70%;
  }
  #step-2 .face-marker[data-region="chin"] {
    left: 50%;
    top: 76%;
  }
  #step-2 .image-label {
    left: 12px;
    bottom: 10px;
    padding: 5px 7px;
    letter-spacing: 1.2px;
    font-size: 7px;
  }
  #step-2 .image-corner {
    right: 12px;
    bottom: 10px;
    font-size: 20px;
  }
  #step-2 .face-figure figcaption {
    margin-top: 8px;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
  }
  #step-2 .region-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  #step-2 .region-choice {
    min-height: 48px;
    font-size: 12px;
    line-height: 1.4;
    padding: 9px;
    gap: 7px;
  }
  #step-2 .concern-choice {
    min-height: 44px;
    font-size: 12px;
  }
  #step-2 .step-bottom {
    position: fixed;
    z-index: 5;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--paper);
    border-top: 1px solid var(--line);
  }
  #step-2 #selection-status {
    order: 0;
    font-size: 11px;
    max-width: none;
    text-align: center;
  }
  #step-2 .step-bottom .button {
    min-height: 48px;
    padding: 12px 16px;
    gap: 12px;
  }
  #step-2 textarea {
    scroll-margin-block: 100px;
  }
}
