/* FoodGloss v15: upload-first homepage, optional brand step, personal About. Loaded last.
   Same brand: yellow #f1ba43, red-orange #e4472c (actions use --fg-action), cream #f7ebd5, dark green #20352b. */
.start [hidden],.brand-step [hidden]{display:none!important}

/* ---- First screen ---- */
.start{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,480px);gap:clamp(28px,5vw,80px);align-items:center;padding:clamp(36px,6vw,88px) clamp(22px,6vw,110px) clamp(48px,6vw,96px);background:#f7ebd5;border-bottom:2px solid #20352b}
.start-copy h1{margin:0;font-family:var(--sans);font-weight:800;letter-spacing:-.075em;line-height:.92;font-size:clamp(52px,7vw,112px);color:#20352b}
.start-copy h1 em{font-family:var(--serif);font-weight:400;letter-spacing:-.03em;color:#e4472c}
.start-lede{margin:22px 0 0;max-width:30ch;font-size:clamp(18px,1.7vw,23px);line-height:1.35;color:#20352b}
.start-availability{margin:22px 0 0;max-width:46ch;padding:12px 14px;border:2px solid #e0b852;border-radius:12px;background:#fff0b9;color:#20352b;font-size:14px;line-height:1.45}

.start-card{display:grid;gap:14px;padding:20px;background:#fff9ed;border:2px solid #20352b;border-radius:22px;box-shadow:7px 7px 0 #20352b1a;min-width:0}
.start-drop{position:relative;border:2px dashed #d58d3b;border-radius:16px;background:#fff2d7;transition:background .15s,border-color .15s}
.start-drop.drag-over{background:#ffe7b0;border-color:#e4472c}
/* The real file input stays in the page (phones open the photo picker from it) but is visually hidden. */
.start-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip:rect(0 0 0 0)}
.start-drop-face{display:grid;justify-items:center;gap:6px;padding:26px 16px 22px;text-align:center;cursor:pointer;color:#20352b;min-height:200px;align-content:center}
.start-drop-face strong{font-size:19px;font-weight:800;letter-spacing:-.01em}
.start-drop-face span{font-size:14px;color:#33493c;max-width:28ch}
.start-file:focus-visible+.start-drop-face{outline:3px solid #e4472c;outline-offset:3px;border-radius:14px}
.start-file:disabled+.start-drop-face{cursor:default;opacity:.7}
.start-plate{width:96px;height:auto}
.start-drop.has-photos .start-drop-face{min-height:0;padding:14px 12px;grid-template-columns:auto 1fr;justify-items:start;text-align:left;column-gap:12px;row-gap:2px}
.start-drop.has-photos .start-plate{width:52px;grid-row:span 2}
.start-drop.has-photos .start-drop-face strong{font-size:16px}
.start-thumbs{list-style:none;margin:0;padding:0 12px;display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px}
.start-thumbs:not(:empty){padding:0 12px 12px}
.start-thumb{position:relative;display:grid;gap:4px;min-width:0}
.start-thumb img,.start-thumb-wait{width:100%;aspect-ratio:1;object-fit:cover;border-radius:10px;border:2px solid #20352b;background:#f4dfb4;display:grid;place-items:center;color:#e4472c;font-size:22px}
.start-thumb.is-error img,.start-thumb.is-error .start-thumb-wait{border-color:#c43721;opacity:.6}
.start-thumb-status{font-size:11px;line-height:1.3;color:#33493c;overflow-wrap:anywhere}
.start-thumb.is-error .start-thumb-status{color:#8f241d;font-weight:700}
.start-thumb-remove{position:absolute;top:-8px;right:-8px;width:44px;height:44px;display:grid;place-items:center;border:0;background:transparent;cursor:pointer;padding:0;font-size:0}
.start-thumb-remove::before{content:'×';display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:#20352b;color:#fff9ed;font:700 17px/1 var(--sans)}
.start-note{margin:0;font-size:13.5px;line-height:1.45;color:#33493c}
.start-note strong{color:#20352b}
.start-fields{display:grid;gap:6px}
.start-fields label{margin-top:6px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#20352b}
.start-fields input{width:100%;min-height:50px;padding:12px 14px;border:2px solid #20352b;border-radius:12px;background:#fff;color:#20352b;font:500 16px var(--sans)}
.start-fields input:focus-visible{outline:3px solid #e4472c;outline-offset:1px}
.pill-btn.start-go{width:100%;align-self:stretch;min-height:56px;margin-top:6px;font-size:16px;letter-spacing:0;white-space:normal}
.start-card .inline-error{margin:0}
.start-fine{margin:0;font-size:12.5px;color:#4a5a4f;text-align:center}

/* ---- Below the first screen: quieter ---- */
.how-details{background:#fff9ed}
.how-details h3{margin-top:0}
.free-band .text-link.light{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;color:#fff9ed;font-weight:800;text-underline-offset:4px}
.services{padding-top:clamp(64px,7vw,110px);padding-bottom:clamp(64px,7vw,100px)}

/* ---- About (secondary) ---- */
.about{display:grid;grid-template-columns:minmax(0,300px) minmax(0,640px);gap:clamp(28px,5vw,72px);align-items:start;padding:clamp(64px,7vw,110px) clamp(22px,7vw,140px);background:#f7ebd5;border-top:2px solid #20352b}
.about-photo{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border:2px solid #20352b;border-radius:22px;box-shadow:7px 7px 0 #f1ba43}
.about-copy h2{margin:10px 0 6px;font-family:var(--sans);font-weight:800;letter-spacing:-.05em;font-size:clamp(38px,4.4vw,64px);line-height:.98;color:#20352b}
.about-roles{margin:0 0 18px;font-family:var(--serif);font-style:italic;font-size:clamp(20px,2vw,26px);line-height:1.25;color:#c43721}
.about-copy p{font-size:16.5px;line-height:1.6;color:#20352b;max-width:60ch}
.about-sign{margin-top:22px;font-weight:800}

/* ---- Optional brand step (after email is confirmed) ---- */
/* While it is open, the studio's photo instructions wait: one thing at a time. */
.brand-step-open .studio-heading{display:none}
.brand-step{margin:0 0 22px;padding:clamp(20px,3vw,32px);background:#fff9ed;border:2px solid #20352b;border-radius:22px;box-shadow:7px 7px 0 #20352b1a}
.brand-step h2{margin:8px 0 10px;font-family:var(--sans);font-weight:800;letter-spacing:-.05em;font-size:clamp(30px,4vw,48px);line-height:1;color:#20352b}
.brand-step h2:focus{outline:none}
.brand-step-lede{margin:0 0 18px;max-width:60ch;font-size:15.5px;line-height:1.5;color:#33493c}
.brand-step .brand-card{margin-bottom:18px;box-shadow:none}
.brand-step-form{display:grid;gap:14px;max-width:560px}
.brand-step-form h3{margin:4px 0 0;font-size:17px;color:#20352b}
.brand-step-form label{display:grid;gap:6px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:#20352b}
.brand-step-form input[type=text],.brand-step-form input:not([type]),.brand-step-form input[name=palette]{width:100%;min-height:48px;padding:11px 13px;border:2px solid #20352b;border-radius:12px;background:#fff;font:500 16px var(--sans);color:#20352b}
.brand-step-form input[type=file]{min-height:44px;font:500 14px var(--sans);max-width:100%}
.brand-step-form .swatch{display:inline-block;width:22px;height:22px;border-radius:6px;border:2px solid #20352b}
.brand-step-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:4px}
.brand-step-actions .pill-btn{margin:0;min-height:48px}

/* ---- Small screens ---- */
@media(max-width:900px){
 .start{grid-template-columns:1fr;padding:28px 18px 44px;gap:22px}
 .start-copy h1{font-size:clamp(46px,13vw,76px)}
 .start-lede{margin-top:14px}
 .about{grid-template-columns:1fr;padding:64px 22px}
 .about-photo{max-width:220px}
}
@media(max-width:360px){
 .start{padding:22px 14px 40px}
 .start-card{padding:14px;border-radius:18px}
 .start-copy h1{font-size:44px}
 .start-thumbs{grid-template-columns:repeat(auto-fill,minmax(72px,1fr))}
}
