.commission-page { --green: #205512; --soft-green: #f2f5ef; line-height: 1.55; }
.commission-page [hidden] { display: none !important; }
.commission-page button, .commission-page input, .commission-page select, .commission-page textarea { font: inherit; }
.commission-page button { cursor: pointer; }
.commission-page :focus-visible { outline: 3px solid var(--green); outline-offset: 5px; }
.commission-page .nav a { display: inline-flex; align-items: center; min-height: 44px; }
.commission-page .nav a[aria-current] { color: var(--green); text-decoration: underline; text-underline-offset: 6px; }
.commission-page .logo img { height: auto; }
.sr-only, .honeypot { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 2000; background: white; padding: 12px; }
.skip-link:focus { top: 12px; }
.commission-shell { width: min(calc(100% - 48px), 1040px); margin: 0 auto; }
.commission-intro { padding: 52px 0 0; }
.eyebrow { color: var(--green); font-size: .75rem; letter-spacing: .16em; font-weight: 700; margin-bottom: 22px; }
.commission-intro h1 { font-size: clamp(3.1rem, 7.5vw, 6.3rem); letter-spacing: -.065em; line-height: 1.02; font-weight: 800; }
.commission-intro h1 span { color: var(--green); }
.intro-copy { margin-top: 18px; color: #595959; font-size: 1rem; }
.form-controls { border: 0; min-width: 0; }
.form-section { padding: 44px 0; border-bottom: 1px solid #deded8; }
.section-heading { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.section-number { font-size: .8rem; font-weight: 700; color: var(--green); border: 1px solid #cdd7c8; border-radius: 50%; min-width: 36px; height: 36px; display: grid; place-items: center; margin-top: 4px; }
.section-heading h2 { font-size: clamp(1.65rem, 3vw, 2.2rem); letter-spacing: -.04em; line-height: 1.25; }
.section-heading p { color: #606060; margin-top: 6px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 650; min-width: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 54px; border: 1px solid #a9afa5; border-radius: 12px; background: #fff; padding: 13px 16px; font-weight: 400; color: #111; }
.field textarea { resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--green); }
.optional { color: #616161; font-weight: 400; font-size: .85rem; }
.full-width { grid-column: 1 / -1; }
.field-note { margin-top: 16px; color: #606060; font-size: .9rem; }
.garment-group, .choice-group { border: 0; min-width: 0; }
.garment-group { margin-bottom: 28px; }
.garment-group legend, .choice-group legend { font-size: 1.05rem; font-weight: 700; margin-bottom: 14px; }
.choice-group legend span { margin-left: 12px; font-size: .85rem; color: #646464; font-weight: 400; }
.garment-choice { display: inline-flex; gap: 10px; align-items: center; min-height: 48px; padding: 10px 22px; border: 1px solid var(--green); border-radius: 99px; background: var(--soft-green); }
input[type=radio], input[type=checkbox] { accent-color: var(--green); width: 20px; height: 20px; flex-shrink: 0; }
.image-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.choice-wrap { min-width: 0; }
.image-choice { display: block; position: relative; cursor: pointer; }
.image-choice > input { position: absolute; top: 20px; left: 20px; width: 22px; height: 22px; z-index: 1; }
.choice-surface { display: flex; flex-direction: column; border: 2px solid #d8dcd4; background: #fafbf9; border-radius: 20px; overflow: hidden; height: 100%; }
.choice-image { display: block; padding: 24px; }
.choice-image img { display: block; width: 100%; height: 360px; object-fit: contain; }
.embroidery-choices .choice-image { padding: 12px; padding-top: 52px; }
.embroidery-choices .choice-image img { height: auto; aspect-ratio: 3 / 2; object-fit: contain; border-radius: 8px; }
.choice-title { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 0; font-size: 1.2rem; font-weight: 750; letter-spacing: -.02em; }
.selection-check { display: grid; place-items: center; width: 26px; height: 26px; color: transparent; border: 1px solid #bcc7b5; border-radius: 50%; font-size: .95rem; }
.choice-caption { display: block; padding: 6px 22px 22px; font-size: .9rem; color: #606060; min-height: 68px; }
.image-choice > input:checked + .choice-surface { border-color: var(--green); background: var(--soft-green); box-shadow: 0 0 0 1px var(--green); }
.image-choice > input:checked + .choice-surface .selection-check { background: var(--green); border-color: var(--green); color: white; }
.image-choice > input:focus-visible { outline: none; }
.image-choice > input:focus-visible + .choice-surface { outline: 3px solid var(--green); outline-offset: 5px; }
.image-choice:hover .choice-surface { border-color: #6d8960; }
.view-larger { display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 8px 2px; margin: 6px 2px 0; border: 0; background: transparent; color: var(--green); text-decoration: underline; text-underline-offset: 4px; font-size: .9rem; }
.design-guidance { color: #606060; max-width: 74ch; margin: 0 0 24px; }
.measurement-guidance { padding: 22px 24px; background: var(--soft-green); border-left: 3px solid var(--green); border-radius: 0 12px 12px 0; }
.measurement-guidance p + p { margin-top: 10px; font-size: .9rem; color: #52604c; }
.measurement { margin-top: 36px; padding: 28px; border: 1px solid #d8dcd4; border-radius: 20px; }
.measurement-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.measurement-heading label { font-size: 1.25rem; font-weight: 700; }
.flat-note { font-size: .85rem; font-weight: 400; display: inline-block; }
.measurement-heading output { color: var(--green); font-size: 2rem; letter-spacing: -.04em; font-weight: 750; }
.measurement-heading output span { font-size: .9rem; letter-spacing: 0; font-weight: 500; }
.measurement > p { color: #606060; font-size: .95rem; max-width: 78ch; }
.slider-wrap { margin-top: 18px; position: relative; height: 56px; touch-action: pan-y; cursor: pointer; }
.slider-rail { position: absolute; inset: 0 24px; pointer-events: none; }
.slider-rail::before { content: ''; position: absolute; top: 26px; left: 0; right: 0; height: 4px; background: #c9d3c3; border-radius: 8px; }
.slider-note { position: absolute; left: var(--position, 50%); top: 4px; width: 48px; height: 48px; transform: translateX(-50%); background: transparent; border: 0; object-fit: contain; pointer-events: none; }
.slider-wrap.is-snapping .slider-note { transition: left 140ms ease-out; }
.slider-wrap.is-dragging { cursor: grabbing; }
.note-slider { position: absolute; inset: 0; width: 100%; height: 56px; margin: 0; opacity: 0; pointer-events: none; }
.slider-wrap:has(.note-slider:focus-visible) { outline: 3px solid var(--green); outline-offset: 5px; border-radius: 6px; }
.slider-wrap:has(.note-slider:disabled) { opacity: .65; cursor: wait; }
.measurement-options { display: flex; justify-content: space-between; }
.measurement-options button { min-width: 44px; min-height: 44px; border: 1px solid transparent; border-radius: 50%; background: transparent; color: #595959; }
.measurement-options button[aria-pressed=true] { color: var(--green); font-weight: 750; background: var(--soft-green); border-color: #c8d4c0; }
.confirm-measurement { display: flex; align-items: center; gap: 12px; min-height: 48px; font-size: .9rem; margin-top: 16px; cursor: pointer; }
.outside-options { margin-top: 24px; color: #606060; font-size: .95rem; }
.submit-area { padding: 32px 0 52px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.submit-area p { max-width: 38ch; color: #606060; font-size: .9rem; }
.submit-button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 58px; padding: 16px 26px; border: 0; border-radius: 99px; background: var(--green); color: white; font-weight: 700 !important; }
.submit-button:hover { background: #163d0c; }
button:disabled { opacity: .65; cursor: wait; }
#form-status { padding: 22px; border: 1px solid #9d3730; border-radius: 14px; margin: 0 0 40px; color: #842c25; background: #fff8f7; }
#form-status[data-kind=loading], #form-status[data-kind=success] { border-color: #bacfb0; color: var(--green); background: var(--soft-green); }
#form-status[data-kind=success] { margin: 40px 0 70px; padding: 32px; font-size: 1.2rem; }
#retry-request { min-height: 44px; padding: 8px 16px; background: white; color: inherit; border: 1px solid currentColor; border-radius: 99px; margin-top: 14px; }
[aria-invalid=true] { outline: 2px solid #9d3730; outline-offset: 3px; }
.notice { padding: 24px; border: 1px solid #9d3730; margin-top: 24px; }
.footer-note { float: right; color: var(--green); }
#image-dialog { margin: auto; width: min(1100px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 20px; border: 1px solid #b7c4af; border-radius: 18px; }
#image-dialog::backdrop { background: #111b; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; top: -20px; background: white; padding: 10px 0 16px; }
.dialog-header h2 { font-size: 1.2rem; }
#close-dialog { min-width: 90px; min-height: 44px; border: 1px solid #bbc5b5; border-radius: 99px; background: white; }
#dialog-image { width: 100%; height: auto; max-height: 75dvh; object-fit: contain; }
#image-dialog > p { margin-top: 16px; font-size: .85rem; color: #606060; }
@media (max-width: 640px) {
 .commission-shell { width: calc(100% - 32px); }
 .commission-intro { padding-top: 40px; }
 .intro-copy { font-size: 1rem; }
 .contact-grid, .image-choices { grid-template-columns: 1fr; }
 .form-section { padding: 32px 0; }
 .section-heading { gap: 12px; }
 .choice-image img { height: 330px; }
 .measurement { padding: 20px 16px; }
 .measurement-heading { align-items: baseline; }
 .measurement-guidance { padding: 18px; }
 .submit-button { width: 100%; gap: 16px; }
 .commission-page .site-header { position: static; }
 .commission-page .nav { gap: 0 16px; }
 .footer-note { float: none; display: block; margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .slider-wrap.is-snapping .slider-note { transition: none; } }
@media (forced-colors: active) {
 .image-choice > input:checked + .choice-surface { border: 4px solid Highlight; }
 .slider-rail::before { background: CanvasText; }
 .slider-note { filter: drop-shadow(0 0 1px Canvas); }
}

@media (min-width: 960px) {
 .embroidery-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .embroidery-choices .choice-title { font-size: 1.1rem; }
}
.embroidery-choices .choice-image img { aspect-ratio: auto; height: 240px; }
.embroidery-choices .choice-caption { min-height: 94px; }
@media (max-width: 640px) {
 .embroidery-choices .choice-image img { height: 280px; }
 .embroidery-choices .choice-caption { min-height: 68px; }
}
