:root {
  color-scheme: light;
  --cream: #F0EEDC;
  --burgundy: #71353B;
  --teal: #244D50;
  --paper: #faf9f3;
  --ink: #323b37;
  --muted: #5e6258;
  --line: #d9d8c7;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--teal); text-underline-offset: 4px; }
p { line-height: 1.65; }
.skip-link { position: absolute; left: 16px; top: -120px; padding: 14px; z-index: 10; background: white; }
.skip-link:focus { top: 12px; }
.preview-banner { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; padding: 10px 22px; background: var(--teal); color: white; font-size: 12px; line-height: 1.6; text-align: center; }
.preview-banner strong { letter-spacing: .09em; text-transform: uppercase; }
.page-shell { width: min(1140px, 100%); margin: auto; padding: 0 46px; }
.customer-shell { width: min(820px, 100%); margin: 0 auto; padding: 32px 28px 56px; overflow-wrap: anywhere; }
.customer-shell > .preview-banner { margin: 0 0 32px; }
.customer-shell > h1 { font-size: clamp(35px, 6vw, 52px); margin: 22px 0; }
.customer-shell > p { font-size: 14px; }
.customer-shell .form-section { padding: 24px 28px; margin: 28px 0; border: 1px solid var(--line); border-radius: 3px; background: var(--cream); }
.customer-shell .form-section h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; color: var(--burgundy); margin: 0 0 18px; }
.customer-shell .form-section p, .customer-shell .form-section li { font-size: 14px; line-height: 1.7; }
.customer-shell .form-section ol { padding-left: 22px; margin-bottom: 22px; }
.customer-shell .form-section li + li { margin-top: 10px; }
.brand-header { text-align: center; padding: 36px 0 32px; }
.brand-name { font-family: Georgia, 'Times New Roman', serif; color: var(--burgundy); font-size: 29px; margin: 0 0 6px; line-height: 1.3; }
.brand-subtitle { font-size: 10px; text-transform: uppercase; letter-spacing: .16em; margin: 0; color: var(--muted); }
.brand-rule { display: block; width: 36px; height: 1px; background: var(--burgundy); margin: 21px auto 0; }
.introduction { padding: 24px 0 38px; text-align: center; }
.eyebrow { font-size: 10px; line-height: 1.7; letter-spacing: .17em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
h1, h2, h3 { font-weight: 400; }
h1 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(40px, 5.2vw, 61px); letter-spacing: -1.8px; line-height: 1.08; color: var(--burgundy); margin: 15px 0 20px; }
h1 em { font-weight: 400; }
.intro-text { max-width: 410px; margin: 0 auto; font-size: 15px; color: var(--muted); }
.steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 25px; list-style: none; margin: 30px 0 0; padding: 0; font-size: 11px; color: var(--muted); }
.steps li { display: flex; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); }
.steps [aria-current] { color: var(--teal); font-weight: 600; border-bottom-color: var(--teal); }
.sample-note { max-width: 470px; margin: 24px auto 0; padding: 14px 20px; background: var(--cream); border: 1px solid var(--line); border-radius: 3px; color: var(--burgundy); font-size: 12px; line-height: 1.7; }
.request-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); align-items: start; gap: 48px; padding: 20px 0 56px; }
.keepsake-summary { background: var(--cream); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; position: sticky; top: 24px; }
.wedding-photo { margin: 0; }
.wedding-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.wedding-photo figcaption { padding: 12px 23px 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.summary-heading { padding: 32px 26px 4px; }
.summary-heading .eyebrow { margin: 0 0 13px; }
.summary-phrase { font-family: Georgia, 'Times New Roman', serif; font-size: 34px; font-style: italic; line-height: 1.18; letter-spacing: -.8px; color: var(--burgundy); margin: 0; }
.summary-content { padding: 23px 26px 26px; }
.summary-content > .eyebrow { margin: 0 0 12px; }
.summary-content h2 { font-family: Georgia, 'Times New Roman', serif; color: var(--burgundy); font-size: 24px; line-height: 1.2; margin: 0 0 17px; letter-spacing: -.3px; }
.product-specs { font-size: 12px; line-height: 1.8; color: var(--muted); margin: 0 0 22px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price { font-family: Georgia, 'Times New Roman', serif; font-size: 35px; color: var(--teal); line-height: 1; }
.price span { font-family: Arial, Helvetica, sans-serif; font-size: 10px; }
.price-unit { font-size: 11px; line-height: 1.5; color: var(--muted); }
.price-status { font-size: 12px; line-height: 1.65; color: var(--burgundy); margin: 14px 0 0; }
.price-note { font-size: 11px; color: var(--muted); margin: 10px 0 24px; }
.order-facts { border-top: 1px solid #d1cfba; margin: 0; }
.order-facts > div { padding: 14px 0; border-bottom: 1px solid #d1cfba; }
.order-facts dt { font-size: 10px; font-weight: 600; color: var(--teal); margin-bottom: 5px; }
.order-facts dd { font-size: 12px; line-height: 1.5; margin: 0; }
.before-payment { padding-top: 22px; }
.before-payment h3 { font-family: Georgia, 'Times New Roman', serif; font-size: 19px; color: var(--burgundy); margin: 0 0 8px; }
.before-payment p, .summary-preview { font-size: 11px; margin: 0; }
.summary-preview { border-top: 1px solid #d1cfba; padding-top: 15px; margin-top: 18px; color: var(--muted); }
form { min-width: 0; }
.required-note { color: var(--muted); font-size: 11px; margin: 0 0 27px; }
.form-section { padding: 0 0 28px; margin: 0 0 30px; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
legend { font-family: Georgia, 'Times New Roman', serif; color: var(--burgundy); font-size: 26px; line-height: 1.3; padding: 0; width: 100%; display: flex; align-items: baseline; gap: 12px; letter-spacing: -.4px; }
.section-intro { color: var(--muted); font-size: 12px; margin: 10px 0 22px; }
.field { margin-top: 18px; min-width: 0; }
.field label { display: block; font-size: 12px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.field label > span { font-weight: 400; color: var(--muted); }
input, textarea, button { font: inherit; }
input:not([type='checkbox']):not([type='radio']):not([type='hidden']), textarea { width: 100%; min-width: 0; max-width: 100%; min-height: 46px; padding: 12px 13px; background: #fffefb; border: 1px solid #a5a99b; border-radius: 2px; color: var(--ink); font-size: 16px; line-height: 1.4; }
textarea { display: block; resize: vertical; min-height: 110px; }
input::placeholder, textarea::placeholder { color: #74776d; opacity: 1; font-size: 13px; }
input[readonly] { background: #eeeee5 !important; color: var(--muted) !important; }
.field-help { font-size: 11px; line-height: 1.65; margin: 7px 0 0; color: var(--muted); }
.field-error { display: block; margin: 7px 0 0; font-size: 12px; line-height: 1.55; font-weight: 600; color: var(--burgundy); overflow-wrap: anywhere; }
.field-error:empty { margin: 0; }
input[aria-invalid='true'], textarea[aria-invalid='true'] { border-color: var(--burgundy); box-shadow: 0 0 0 1px var(--burgundy); }
.form-errors { padding: 16px 18px; border: 1px solid var(--burgundy); border-left-width: 3px; border-radius: 2px; background: #f8eeee; color: var(--burgundy); margin: 0 0 24px; font-size: 13px; line-height: 1.65; }
.form-errors[hidden] { display: none; }
.form-errors:focus { outline: 3px solid var(--burgundy); outline-offset: 3px; }
.form-errors p { margin: 0; }
.form-errors ul { padding-left: 20px; margin-bottom: 0; }
.field-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.date-quantity { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.photo-choice, .stand-choice { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 2px; margin-top: 10px; cursor: pointer; }
.photo-choice:has(input:checked), .stand-choice:has(input:checked) { border-color: var(--teal); background: #f0f3ed; }
.photo-choice strong, .stand-choice strong { font-size: 12px; font-weight: 600; line-height: 1.5; display: block; }
.stand-options { min-width: 0; border: 0; padding: 0; margin: 23px 0 0; }
.stand-options legend { font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: 600; color: var(--ink); letter-spacing: normal; }
.stand-lighting-note { font-size: 12px; line-height: 1.65; color: var(--burgundy); border-left: 2px solid var(--burgundy); padding-left: 13px; margin: 13px 0 0; }
.choice-help { display: block; margin-top: 4px; font-size: 11px; line-height: 1.55; color: var(--muted); }
input[type='radio'], input[type='checkbox'] { accent-color: var(--teal); width: 19px; height: 19px; flex: 0 0 19px; margin: 1px 0 0; cursor: pointer; }
input[type='file'] { font-size: 12px !important; padding: 11px !important; overflow: hidden; }
input::file-selector-button { font: inherit; font-size: 12px; background: var(--cream); color: var(--teal); border: 1px solid #a5a99b; border-radius: 2px; padding: 9px 12px; margin-right: 10px; cursor: pointer; }
.permission-note { border-left: 2px solid var(--burgundy); padding: 0 0 0 13px; margin: 23px 0 18px; }
.permission-note strong { font-size: 11px; color: var(--burgundy); }
.permission-note p { font-size: 11px; color: var(--muted); margin: 6px 0 0; }
.check-row { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 12px; line-height: 1.65; min-height: 44px; padding: 6px 0; }
.address-preview { font-size: 11px; color: var(--burgundy); margin: -10px 0 20px; }
.form-finish .check-row { margin-bottom: 18px; }
button { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; border: 1px solid var(--teal); border-radius: 2px; background: var(--teal); color: white; padding: 18px 22px; min-height: 56px; cursor: pointer; font-size: 14px; text-align: left; }
button > span { font-size: 20px; line-height: 1; }
button:hover { background: #193a3d; }
button[hidden], #resume-pending-source[hidden] { display: none; }
button:disabled { cursor: not-allowed; opacity: .65; }
.submit-help { font-size: 11px; color: var(--muted); text-align: center; margin: 12px 0 20px; }
.privacy-note { font-size: 10px; color: var(--muted); text-align: center; max-width: 420px; margin: auto; }
.site-footer { border-top: 1px solid var(--line); text-align: center; padding: 26px 0 30px; font-size: 11px; color: var(--muted); }
.site-footer p { margin: 0 0 5px; }
.site-footer strong { color: var(--teal); font-weight: 400; }
.site-footer p + p { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 13px; }
a:focus-visible, input:focus-visible, textarea:focus-visible, button:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; }
@media (max-width: 850px) {
  .page-shell { padding: 0 28px; }
  .request-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 28px; }
  .summary-content { padding: 22px 20px; }
  .summary-heading { padding: 27px 20px 0; }
  .summary-content h2 { font-size: 22px; }
  legend { font-size: 24px; }
}
@media (max-width: 660px) {
  .customer-shell { padding: 20px 22px 40px; }
  .customer-shell .form-section { padding: 21px; }
  .page-shell { padding: 0 22px; }
  .preview-banner { font-size: 11px; gap: 2px 12px; padding: 9px 18px; }
  .brand-header { padding: 29px 0 20px; }
  .brand-name { font-size: 27px; }
  .brand-subtitle { line-height: 1.7; letter-spacing: .1em; }
  .brand-rule { margin-top: 17px; }
  .introduction { padding: 18px 0 27px; }
  h1 { font-size: clamp(39px, 10vw, 53px); letter-spacing: -1.4px; }
  .intro-text { font-size: 14px; max-width: 340px; }
  .steps { gap: 10px 15px; margin-top: 25px; font-size: 10px; }
  .request-layout { display: flex; flex-direction: column; gap: 32px; padding-top: 7px; padding-bottom: 38px; }
  .keepsake-summary { position: static; width: 100%; }
  .wedding-photo img { max-height: 360px; background: var(--cream); }
  .summary-heading { padding-top: 24px; }
  .summary-phrase { font-size: 32px; }
  .summary-content { padding: 23px; }
  .summary-content h2 { font-size: 25px; }
  .order-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
  .order-facts > div { border-bottom: 0; }
  .order-facts dd { font-size: 11px; }
  .before-payment { border-top: 1px solid #d1cfba; padding-top: 18px; }
  form { width: 100%; }
  .required-note { margin-bottom: 24px; }
  .form-section { margin-bottom: 26px; padding-bottom: 25px; }
  legend { font-size: 25px; }
  .section-intro { margin-bottom: 19px; }
}
@media (max-width: 360px) {
  .customer-shell { padding-left: 16px; padding-right: 16px; }
  .customer-shell .form-section { padding: 18px; }
  .page-shell { padding: 0 16px; }
  .steps { gap: 10px; }
  .steps li { gap: 5px; }
  .field-grid { gap: 10px; }
  .order-facts { grid-template-columns: 1fr; gap: 0; }
  .order-facts > div { border-bottom: 1px solid #d1cfba; padding: 11px 0; }
  .before-payment { border-top: 0; }
  button { padding: 17px 16px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
@media print {
  .skip-link, button { display: none; }
  .keepsake-summary { position: static; }
  .page-shell { padding: 0 12px; }
  .request-layout { gap: 24px; }
  .preview-banner { background: white; color: var(--teal); border-bottom: 2px solid var(--teal); }
  .form-section { break-inside: avoid; }
}

.webpage-links legend { display: block; }
.webpage-links legend > span { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: var(--muted); letter-spacing: normal; }

#date-needed-field[hidden] { display: none; }
.request-estimate { border-top: 1px solid #d1cfba; font-size: 12px; line-height: 1.5; }
.request-estimate > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.request-estimate dd { margin: 0; white-space: nowrap; }
/* Universal session chooser uses the existing form scale and palette. */
#occasion { width:100%; min-height:48px; padding:12px; border:1px solid #aaa99a; background:#fff; color:#244D50; font:inherit; margin:8px 0 16px; }
#occasion:focus-visible { outline:2px solid #244D50; outline-offset:2px; }
