@import url("assets/theme.css");

* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { color-scheme: light; --pink: #ff3470; --ink: #241f21; --paper: #f1eeea; }
body { margin: 0; color: var(--ink); background: var(--paper) url("assets/web/backgrounds/paper.webp") repeat; font: 15px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, input, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .6; }
#share:disabled { cursor: not-allowed; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--pink); outline-offset: 5px; }
.skip-link { position: fixed; z-index: 10; top: -80px; left: 20px; padding: 12px 18px; background: white; }
.skip-link:focus { top: 10px; }
.site-header { min-height: 88px; padding: 24px 5vw; display: flex; align-items: center; gap: 24px; background: #0c0b0c; color: white; border-top: 4px solid var(--pink); }
.brand { width: 198px; flex-shrink: 0; }
.brand img { width: 100%; height: auto; }
.header-note { margin-left: auto; text-transform: uppercase; font-size: 10px; font-weight: 650; letter-spacing: 2.5px; }
.demo-badge { border: 1px solid #75676d; padding: 5px 9px; color: #e4d9dd; font-size: 10px; letter-spacing: .4px; }
.experience { max-width: 1320px; min-height: calc(100svh - 160px); margin: 0 auto; padding: 48px 5vw 42px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 9%; align-content: center; }
.copy { grid-area: 1 / 1; min-width: 0; }
.steps { display: flex; gap: 24px; margin: 0 0 46px; padding: 0; list-style: none; color: #73696e; font-size: 10px; font-weight: 600; }
.steps li { display: flex; gap: 7px; align-items: center; white-space: nowrap; }
.steps span { font-size: 10px; border-bottom: 2px solid #c6bdc1; padding-bottom: 2px; }
.steps [aria-current] { color: var(--ink); }
.steps [aria-current] span { color: #b41445; border-color: var(--pink); }
.eyebrow { margin: 0 0 18px; font-size: 10px; line-height: 1.6; letter-spacing: 2.4px; text-transform: uppercase; font-weight: 800; }
h1 { margin: 0; font-size: clamp(54px, 5.8vw, 84px); font-weight: 950; line-height: .96; letter-spacing: -4.5px; text-transform: uppercase; }
h1:focus { outline: none; }
h1 em { color: #df174f; font-style: normal; }
.description { max-width: 380px; margin: 24px 0 0; font-size: 16px; line-height: 1.7; color: #65585e; }
.controls { grid-area: 2 / 1; margin-top: 30px; max-width: 410px; align-self: start; }
.actions { display: flex; flex-direction: column; gap: 10px; }
.button { min-height: 54px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--ink); border-radius: 0; padding: 14px 20px; text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .2px; transition: background .15s, transform .15s; }
.button img { width: 20px; height: 20px; }
.button > span { font-size: 21px; line-height: 1; margin-left: auto; }
.primary { color: #171014; background: var(--pink); border-color: var(--pink); }
.secondary { color: var(--ink); background: transparent; }
@media (hover: hover) { .primary:hover { background: #ff5588; border-color: #ff5588; transform: translateY(-1px); } .secondary:hover { background: #e4ddd9; } .text-button:hover { text-decoration-thickness: 2px; } }
.hint { margin: 15px 0 20px; color: #75676e; font-size: 11px; line-height: 1.8; }
.text-button { border: 0; padding: 6px 0; background: transparent; color: inherit; font-size: 11px; font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
.text-button span { margin-left: 6px; }
.demo-note { display: flex; align-items: start; gap: 9px; margin: 25px 0 0; padding-top: 15px; border-top: 1px solid #d5cbc9; color: #77656e; font-size: 10px; line-height: 1.7; }
.demo-note > span { color: #bd1949; }
.visual { grid-area: 1 / 2 / 3 / 3; position: relative; margin: 0; align-self: center; padding: 24px 35px 0; isolation: isolate; min-width: 0; }
.visual-backdrop { position: absolute; inset: 8% -5% 9%; background: #20181c url("assets/web/backgrounds/street-grunge.webp") center/cover; transform: rotate(-4deg); z-index: -1; }
.visual-index { position: absolute; top: 0; right: 0; font-size: 9px; font-weight: 800; letter-spacing: 2px; }
.portrait { position: relative; aspect-ratio: 9 / 16; max-height: 590px; max-width: 100%; margin: 0 auto; overflow: hidden; background: #151214; box-shadow: 0 16px 32px #1d0d192b; transform: rotate(3deg); }
.portrait > img { width: 100%; height: 100%; object-fit: cover; }
.image-label { position: absolute; right: 12px; bottom: 12px; padding: 5px 8px; color: #fff; background: #161115df; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }
.visual-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 27px; font-size: 9px; color: #6d5c64; }
.visual-caption > span:last-child { text-transform: uppercase; letter-spacing: 1px; font-size: 8px; }
body:not([data-step="home"]) .portrait { transform: none; }
body:not([data-step="home"]) .visual-backdrop { transform: rotate(-3deg); }
body[data-step="review"] .portrait { background: #231d20; }
.crop-guide { position: absolute; inset: 29% 18% 30%; border: 1px dashed #ffffffbd; border-radius: 45%; pointer-events: none; box-shadow: 0 0 0 250px #0002; }
.crop-guide span { position: absolute; bottom: -55px; width: 160%; left: -30%; padding: 5px; background: #0c0b0cbb; color: white; text-align: center; font-size: 9px; }
.crop-controls { padding-bottom: 20px; }
.crop-controls label { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; }
.crop-controls input { width: 100%; margin: 4px 0 14px; min-height: 26px; accent-color: #d2194e; cursor: pointer; }
.crop-controls output { color: #76636d; font-variant-numeric: tabular-nums; }
.review-links { display: flex; justify-content: space-between; margin-top: 16px; }
.processing-note { color: #76636d; font-size: 13px; line-height: 1.7; }
.processing-visual { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; color: white; background: #161016cc; backdrop-filter: blur(8px); font-size: 11px; }
.spinner { display: inline-block; height: 56px; width: 56px; border: 2px solid #ffffff30; border-top-color: var(--pink); border-right-color: var(--pink); border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.message { margin: 0 0 20px; padding: 12px 14px; background: #e4ded9; font-size: 12px; border-left: 3px solid var(--ink); }
.error { background: #f9dbe2; border-color: #b51542; color: #831136; }
.site-footer { max-width: 1440px; margin: auto; padding: 20px 5vw 26px; display: flex; justify-content: space-between; gap: 16px; color: #76636d; font-size: 9px; border-top: 1px solid #d3c8c9; }
.site-footer > span:last-child { display: flex; gap: 16px; align-items: baseline; }
.site-footer .text-button { font-size: 9px; padding: 0; }
.footer-divider { margin: 0 8px; }
dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100svh - 48px); padding: 36px; border: none; background: var(--paper); color: var(--ink); }
dialog::backdrop { background: #0c0b0ccc; backdrop-filter: blur(4px); }
dialog h2 { font-size: 30px; line-height: 1.1; letter-spacing: -1px; }
dialog p:not(.eyebrow) { font-size: 14px; color: #65585e; margin-bottom: 28px; }
.dialog-close { position: absolute; top: 6px; right: 10px; width: 44px; height: 44px; font-size: 28px; border: 0; background: transparent; }
.noscript { position: fixed; bottom: 0; width: 100%; padding: 20px; background: var(--pink); font-weight: 700; text-align: center; }
@media (min-width: 1500px) { .experience { padding-left: 50px; padding-right: 50px; } }
@media (max-width: 1000px) {
  .experience { column-gap: 6%; padding: 36px 4vw; }
  .steps { gap: 14px; margin-bottom: 32px; }
  .steps li { font-size: 9px; gap: 5px; }
  h1 { font-size: 59px; letter-spacing: -3.5px; }
  .visual { padding: 16px 16px 0; }
  .visual-caption { flex-direction: column; gap: 4px; }
}
@media (max-width: 700px) {
  .site-header { min-height: 69px; padding: 20px 22px; justify-content: space-between; gap: 15px; }
  .brand { width: 163px; }
  .header-note { display: none; }
  .demo-badge { font-size: 8px; padding: 4px 6px; }
  .experience { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; padding: 25px 24px 30px; min-height: 0; max-width: 490px; }
  .copy { grid-area: 1 / 1; }
  .steps { margin: 0 0 25px; gap: 0; justify-content: space-between; }
  .steps li { font-size: 9px; }
  .eyebrow { font-size: 8px; letter-spacing: 1.5px; margin-bottom: 12px; }
  h1 { font-size: clamp(42px, 12.5vw, 63px); letter-spacing: -2.5px; line-height: .97; }
  .description { font-size: 13px; line-height: 1.65; margin: 15px 0 0; max-width: 340px; }
  .visual { grid-area: 2 / 1; width: 100%; max-width: 280px; margin: 23px auto 0; padding: 12px 26px 0; }
  .portrait { max-height: 375px; }
  .visual-backdrop { inset: 12% 0 12%; }
  .visual-index { font-size: 7px; }
  .visual-caption { flex-direction: row; margin-top: 19px; font-size: 8px; }
  .visual-caption > span:last-child { font-size: 7px; letter-spacing: .3px; }
  .controls { grid-area: 3 / 1; margin-top: 25px; max-width: none; }
  .button { min-height: 51px; padding: 13px 18px; font-size: 12px; }
  .hint { margin: 12px 0; font-size: 10px; }
  .demo-note { margin-top: 19px; font-size: 9px; }
  .site-footer { flex-direction: column; padding: 20px 24px; gap: 10px; font-size: 8px; }
  .site-footer > span:last-child { justify-content: space-between; }
  body:not([data-step="home"]) .eyebrow { display: none; }
  body:not([data-step="home"]) h1 { font-size: 41px; }
  body:not([data-step="home"]) .description { font-size: 12px; margin-top: 12px; }
  body:not([data-step="home"]) .steps { margin-bottom: 20px; }
  body:not([data-step="home"]) .visual { max-width: 240px; margin-top: 17px; padding-top: 0; }
  body:not([data-step="home"]) .portrait { max-height: 330px; }
  body:not([data-step="home"]) .visual-index { display: none; }
  .crop-controls { padding-bottom: 7px; }
  .crop-controls input { margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0s !important; transition: none !important; scroll-behavior: auto !important; } }
