@font-face {
  font-family: "DM Sans";
  src: url("assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  --ink: #1b304d;
  --blue: #244d95;
  --cloud: #daeafa;
  --butter: #ffdc77;
  --paper: #fffdf7;
  --line: 2px solid var(--ink);
  --sans: "DM Sans", Arial, sans-serif;
  --mono: ui-monospace, Consolas, "Courier New", monospace;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body, p, h1, h2, h3 { margin: 0; }
img { max-width: 100%; display: block; }
button, select { color: inherit; font: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
button:focus-visible, a:focus-visible, select:focus-visible, video:focus-visible, #chat:focus-visible {
  outline: 3px solid #a04322; outline-offset: 4px;
}
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; margin: -1px;
  white-space: nowrap; clip-path: inset(50%);
}
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 10; background: white; padding: 12px; }
.page { width: min(1320px, calc(100% - clamp(40px, 9vw, 160px))); margin-inline: auto; }
.topbar { border-bottom: var(--line); background: var(--paper); }
.topbar-inner, .footer-inner, nav, .brand, .downloads { display: flex; align-items: center; }
.topbar-inner { min-height: 66px; gap: clamp(22px, 4vw, 64px); }
.brand { gap: 10px; text-decoration: none; font-weight: 900; font-size: 2.04rem; letter-spacing: -.065em; line-height: 1; white-space: nowrap; }
.chat-mark {
  position: relative; width: 30px; height: 23px; flex: none;
  background: #8cb5ee; border: 2px solid var(--ink); border-radius: 8px 8px 8px 3px;
  transform: rotate(-7deg); box-shadow: 2px 2px 0 var(--ink);
}
.chat-mark::before { content: ""; position: absolute; left: 3px; bottom: -5px; width: 6px; height: 6px;
  background: #8cb5ee; border: solid var(--ink); border-width: 0 0 2px 2px; transform: skewY(-31deg); }
.chat-mark i { position: absolute; left: 6px; top: 8px; width: 3px; height: 3px; border-radius: 50%;
  background: var(--ink); box-shadow: 5px 0 var(--ink), 10px 0 var(--ink); }
nav { margin-left: auto; gap: clamp(16px, 3.1vw, 46px); }
nav a, .downloads a { padding-block: 9px; font-weight: 720; text-decoration: none; }
nav a:hover, .downloads a:hover { text-decoration: underline; }
.ticker { background: var(--butter); border: var(--line); padding: 6px 11px; border-radius: 3px;
  transform: rotate(3deg); font: 700 .98rem/1.1 var(--mono); box-shadow: 2px 2px var(--ink); }

.hero {
  position: relative; overflow: hidden; border-bottom: var(--line);
  background-color: var(--cloud);
  background-image: linear-gradient(#779fc522 1px, transparent 1px), linear-gradient(90deg,#779fc51b 1px, transparent 1px);
  background-size: 36px 36px;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.57fr) minmax(320px, 1fr); gap: clamp(12px, 2.4vw, 38px); align-items: center; }
.scene { position: relative; min-width: 0; align-self: stretch; min-height: clamp(505px, 40.5vw, 635px); }
.hero-copy { position: relative; z-index: 2; padding-top: clamp(55px, 5.2vw, 89px); pointer-events: none; }
.hero-copy h1 { width: max-content; margin-left: -.055em; padding-right: .065em;
  font-size: clamp(97px, 11.2vw, 176px); font-weight: 950; letter-spacing: -.075em; line-height: .86;
  color: #182f54; text-shadow: .018em .026em 0 #a9c8ed; }
.hero-copy h1 span { font-size: .54em; font-weight: 690; letter-spacing: -.055em; text-shadow: none; }
.hero-copy p { max-width: 13ch; margin-top: clamp(19px, 2.2vw, 35px);
  font-weight: 710; font-size: clamp(24px, 2.42vw, 38px); line-height: 1.11; letter-spacing: -.052em; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px;
  border: var(--line); border-radius: 5px; box-shadow: 3px 3px 0 var(--ink); text-decoration: none;
  background: var(--butter); font-weight: 800; }
.button:hover { background: #ffe595; box-shadow: 4px 4px 0 var(--ink); }
.hero-cta { margin-top: clamp(22px, 2.2vw, 34px); pointer-events: auto; }
.portrait-wrap { position: absolute; width: 65%; height: 81%; right: -3%; bottom: -2%; display: grid; align-items: end; }
#hero-portrait { width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  transform-origin: 50% 93%; animation: texting 4s ease-in-out both; }
.hero.is-typing #hero-portrait { animation: phone-tap .32s ease-in-out 2; }
@keyframes phone-tap { 50% { transform: rotate(.9deg) translateY(2px); } }
@keyframes texting { 0%,28%,48%,76%,100% {transform: rotate(-1deg)} 33%,66% {transform: rotate(.9deg) translateY(1px)} 40%,70% {transform: rotate(-.6deg)} }
.messenger { position: relative; z-index: 3; margin-block: 40px; overflow: hidden; background: #fff;
  border: var(--line); border-radius: 8px; box-shadow: 7px 7px 0 #7896bb; }
.window-bar { display: flex; align-items: center; gap: 10px; min-height: 43px; padding: 8px 14px;
  background: #2c5699; color: #fff; border-bottom: var(--line); }
.window-bar h2 { flex: none; font: 750 1rem/1.1 var(--mono); letter-spacing: -.04em; }
.window-icon { width: 14px; height: 11px; border: 1.5px solid #fff; border-radius: 3px; position: relative; }
.window-icon::after { content: ""; position: absolute; left: 2px; bottom: -3px; width: 3px; height: 3px;
  background: #2c5699; border: solid #fff; border-width: 0 0 1px 1px; transform: skewY(-26deg); }
.window-grip { height: 10px; margin-left: 7px; flex: 1; opacity: .52;
  background: repeating-linear-gradient(to bottom, #ccdff4 0 1px, transparent 1px 3px); }
.messages { padding: 15px clamp(14px, 1.9vw, 29px) 18px; min-height: 244px; }
.joined { text-align: center; font: 400 .77rem/1.3 var(--mono); color: #53657b; }
.message { display: grid; justify-items: start; margin-top: 12px; }
.from-you { justify-items: end; }
.sender, #prompt-label { font: 700 .76rem/1.3 var(--mono); color: #465b73; }
.sender { margin: 0 6px 4px; }
.message > p, .reply { border: 1.5px solid #8095aa; border-radius: 12px 12px 12px 3px;
  background: #eff3f8; padding: 9px 12px; font-size: clamp(16px, 1.16vw, 18px); line-height: 1.28; font-weight: 580; }
.message > p { background: #daeafc; border-color: #88a9cf; border-radius: 12px 12px 3px 12px; }
.reply { max-width: 87%; }
#wallet-attachment { width: 63px; height: 43px; margin-top: 5px; object-fit: contain; object-position: center left; }
#typing { display: flex; align-items: center; gap: 4px; min-height: 20px; }
#typing i { width: 5px; height: 5px; background: #546a83; border-radius: 50%; animation: dot .8s ease-in-out infinite alternate; }
#typing i:nth-child(2) { animation-delay: .15s; } #typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { to { transform: translateY(-3px); opacity: .48; } }
.prompt-panel { border-top: 1px solid #b6c4d1; background: #f5f7f8; padding: 10px clamp(14px, 1.9vw, 29px) 14px; }
#prompt-label { display: block; margin-bottom: 7px; }
#prompts { display: flex; flex-wrap: wrap; gap: 6px; }
#prompts button { min-height: 31px; padding: 4px 9px; border: 1px solid #8da4bd; border-radius: 5px; background: #fff;
  font-size: .88rem; line-height: 1.15; font-weight: 725; }
#prompts button:hover, #prompts button[aria-pressed=true] { color: white; background: var(--blue); border-color: var(--blue); }

.wardrobe, .film { padding-block: clamp(48px, 6vw, 90px); }
.section-head, .film-head { margin-bottom: 32px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.section-head h2, .film-head h2 { font-size: clamp(42px, 5.45vw, 88px); line-height: .98; font-weight: 900; letter-spacing: -.055em; }
.section-head h2 span { color: #3f69ae; } .film-head h2 span { color: var(--butter); }
.section-head p { max-width: 26ch; font-size: clamp(16px, 1.28vw, 20px); font-weight: 610; line-height: 1.3; }
.wardrobe-layout { display: grid; grid-template-columns: minmax(200px, .8fr) minmax(0, 1.9fr); gap: clamp(28px, 5.4vw, 83px); align-items: start; }
.contact-card { position: relative; display: grid; background: white; border: var(--line); margin: 9px 5px 0;
  box-shadow: 4px 5px 0 #c3d2df; transform: rotate(-2deg); padding: clamp(11px,1.35vw,20px); }
.contact-card::before { content: ""; position: absolute; width: 28%; height: 20px; top: -11px; left: 36%;
  background: #f5e1a7dd; border: 1px solid #c0a96680; transform: rotate(2.5deg); z-index: 1; }
.contact-image { aspect-ratio: 1.12; overflow: hidden; background: #e2ebed; }
#look-preview { width: 100%; height: 100%; object-fit: contain; }
.contact-caption { padding-top: 12px; display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.contact-caption h3 { font-size: clamp(22px, 1.95vw, 32px); line-height: 1.02; letter-spacing: -.065em; }
.contact-caption a, .film-download { flex: none; font-size: .93rem; font-weight: 760; padding-block: 5px; }
.closet-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 13px; }
.choose-collection { position: relative; display: inline-flex; max-width: 74%; }
.choose-collection::after { content: ""; pointer-events: none; position: absolute; right: 12px; top: 40%; width: 7px; height: 7px;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.choose-collection select { appearance: none; width: 100%; background: #e5ecf8; border: var(--line); border-radius: 6px;
  font-size: 1rem; font-weight: 760; padding: 6px 32px 6px 12px; }
.shuffle, #retry { border: 0; background: transparent; text-decoration: underline; text-underline-offset: .22em; font-weight: 700; padding: 7px 0; font-size: .98rem; }
.look-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: clamp(7px, 1vw, 15px); }
.look { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; width: 100%;
  background: #f4f1e9; border: 1px solid #a1acb3; border-radius: 6px; padding: 6px 5px 8px; transition: transform .15s; }
.look:nth-child(4n+2) { background: #e8eff6; } .look:nth-child(4n+3) { background: #f5e9dc; } .look:nth-child(4n) { background: #e8eee2; }
.look img { width: 100%; aspect-ratio: 1.12; object-fit: contain; }
.look span { margin: auto 0 0; color: #24364c; font-size: clamp(13px, 1.02vw, 16px); font-weight: 700; line-height: 1.12; overflow-wrap: anywhere; }
.look:hover { transform: translateY(-2px); }
.look[aria-pressed=true] { outline: 2px solid var(--blue); outline-offset: 1px; }
.look[aria-pressed=true]::after { content: "✓"; position: absolute; top: 3px; right: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--blue); color: white; font-size: 13px; line-height: 18px; }
.look:focus-visible { outline: 3px solid #a04322; outline-offset: 3px; }
.film { background: var(--ink); color: #f7f8ff; }
.film-download { color: #fff; font-size: 1rem; }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16/9; border: 2px solid #afc6ea; border-radius: 6px;
  background: #263d5a; box-shadow: 6px 6px #0f2035; }
.footer-inner { min-height: 80px; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; padding-block: 12px; }
.downloads { gap: clamp(16px, 3vw, 48px); }
@media (min-width: 1600px) { .portrait-wrap { width: 64%; } }
@media (max-width: 1050px) {
  .page { width: calc(100% - 56px); }
  .hero-inner { grid-template-columns: minmax(0, 1.32fr) minmax(305px, 1fr); gap: 12px; }
  .hero-copy h1 { font-size: clamp(95px, 12vw, 126px); }
  .hero-copy p { max-width: 10ch; font-size: clamp(22px, 2.65vw, 28px); }
  .portrait-wrap { width: 69%; right: -3%; height: 73%; }
  .scene { min-height: 475px; }
  .wardrobe-layout { grid-template-columns: minmax(200px,.77fr) minmax(0,1.7fr); gap: 30px; }
  .contact-caption { flex-wrap: wrap; gap: 4px 12px; }
}
@media (max-width: 760px) {
  .page { width: calc(100% - 36px); }
  .topbar-inner { min-height: 57px; gap: 14px; }
  .brand { font-size: 1.68rem; gap: 7px; } .chat-mark { transform: rotate(-7deg) scale(.87); }
  nav { gap: 14px; } nav a { font-size: .91rem; }
  .ticker { font-size: .81rem; padding: 4px 7px; }
  .hero-inner { display: block; padding-bottom: 30px; }
  .scene { min-height: 0; height: clamp(288px, 59vw, 352px); }
  .hero-copy { padding-top: clamp(29px, 5vw, 41px); }
  .hero-copy h1 { font-size: clamp(84px, 16vw, 123px); }
  .hero-copy p { max-width: 13ch; font-size: clamp(21px, 4.3vw, 28px); margin-top: 14px; }
  .hero-cta { margin-top: 17px; font-size: .92rem; padding: 8px 13px; }
  .portrait-wrap { width: 53%; right: -2%; height: 97%; bottom: -1%; }
  .messenger { margin: 0; box-shadow: 4px 5px 0 #7896bb; }
  .messages { min-height: 246px; padding: 11px 16px 14px; }
  .message { margin-top: 8px; }
  .reply { max-width: 85%; }
  .prompt-panel { padding: 9px 16px 13px; }
  .section-head, .film-head { margin-bottom: 25px; }
  .section-head { flex-direction: column; align-items: start; gap: 8px; }
  .section-head p { max-width: none; }
  .wardrobe-layout { display: block; }
  .contact-card { grid-template-columns: minmax(84px, 31%) minmax(0,1fr); align-items: center; gap: 15px;
    max-width: 480px; padding: 8px; margin: 12px 5px 28px; transform: rotate(-1deg); }
  .contact-card::before { width: 17%; height: 14px; top: -8px; left: 9%; }
  .contact-caption { display: block; padding: 0 6px 0 0; }
  .contact-caption h3 { margin-bottom: 3px; }
  .look img { aspect-ratio: 1; }
  .footer-inner { min-height: 67px; } .downloads { gap: 15px; } .downloads a {font-size: .88rem;}
}
@media (max-width: 390px) {
  .page { width: calc(100% - 28px); }
  .topbar-inner { gap: 9px; } .topbar nav { gap: 10px; } nav a { font-size: .83rem; }
  .brand { font-size: 1.5rem; gap: 4px; } .topbar .chat-mark { width: 24px; height: 20px; }
  .topbar .chat-mark i { left: 3px; top: 7px; } .ticker { font-size: .75rem; padding: 4px 5px; }
  .scene { height: 267px; }
  .hero-copy h1 { font-size: clamp(73px, 22vw, 85px); } .hero-copy p { max-width: 11ch; font-size: 20px; }
  .portrait-wrap { width: 53%; }
  .window-bar { min-height: 35px; }
  .look-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .film-head { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .topbar-inner { width: calc(100% - 20px); gap: 6px; }
  .topbar nav { gap: 7px; }
  .topbar .brand { font-size: 1.37rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  #hero-portrait, .hero.is-typing #hero-portrait, #typing i { animation: none; }
  .look { transition: none; }
}
