@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --ember: #e83b20;
  --gold: #ffb000;
  --ink: #11100f;
  --paper: #f6f1e9;
  --white: #fffdf8;
  --muted: #746e66;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.prototype-bar {
  min-height: 42px;
  padding: 8px max(14px, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
  background: #000;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.prototype-bar nav { display: flex; gap: 8px; }
.prototype-bar nav a { min-width: 28px; padding: 4px 8px; text-align: center; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; }
.prototype-bar nav a[aria-current="page"] { color: #000; background: var(--gold); border-color: var(--gold); }
.prototype-bar > a { color: rgba(255,255,255,.64); }
.proto-shell { overflow: hidden; }
.proto-header, .proto-hero, .featured, .collection, .proto-footer { width: min(calc(100% - 40px), 1180px); margin-inline: auto; }
.proto-header { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.proto-brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Manrope", sans-serif; font-weight: 800; letter-spacing: -.045em; }
.proto-brand img { width: 42px; height: 42px; object-fit: contain; }
.proto-nav { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 700; }
.proto-nav a:last-child { padding: 10px 16px; border-radius: 999px; }
.proto-kicker { margin: 0 0 18px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.proto-kicker::before { content: ""; display: inline-block; width: 22px; height: 3px; margin-right: 10px; vertical-align: middle; background: var(--ember); }
.proto-hero { min-height: 620px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; padding-block: 66px 90px; }
.proto-hero h1 { margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(52px, 7.2vw, 94px); line-height: .97; letter-spacing: -.075em; }
.proto-hero h1 em { font-style: normal; }
.proto-hero-copy > p:last-of-type { max-width: 570px; margin: 28px 0 0; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.55; }
.proto-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.proto-button { min-height: 49px; padding: 0 19px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid currentColor; border-radius: 999px; font-size: 13px; font-weight: 800; }
.proto-visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.proto-visual img { position: relative; z-index: 2; width: min(95%, 480px); }
.featured { padding-block: 100px; }
.featured-layout { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 80px; }
.featured-icon { width: min(100%, 390px); border-radius: 25%; box-shadow: 0 25px 70px rgba(0,0,0,.17); }
.featured-label { font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.featured h2 { margin: 12px 0 18px; font-family: "Manrope", sans-serif; font-size: clamp(42px, 6vw, 72px); line-height: .98; letter-spacing: -.065em; }
.featured-copy { max-width: 590px; font-size: 18px; line-height: 1.6; }
.store-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.store-link { padding: 12px 17px; border: 1px solid currentColor; border-radius: 999px; font-size: 13px; font-weight: 800; }
.collection { padding-block: 105px; }
.collection-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.collection-heading h2 { max-width: 680px; margin: 0; font-family: "Manrope", sans-serif; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.06em; }
.collection-heading p { max-width: 340px; margin: 0; }
.proto-app-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.proto-app-card { min-height: 330px; padding: 24px; display: flex; flex-direction: column; }
.proto-app-card img { width: 68px; height: 68px; object-fit: cover; border-radius: 17px; }
.proto-app-card h3 { margin: 25px 0 10px; font-family: "Manrope", sans-serif; font-size: 20px; line-height: 1.06; letter-spacing: -.04em; }
.proto-app-card p { margin: 0; font-size: 13px; line-height: 1.55; }
.proto-app-card a { margin-top: auto; padding-top: 24px; font-size: 12px; font-weight: 800; }
.proto-footer { min-height: 140px; display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 12px; }
.proto-footer nav { display: flex; gap: 22px; }

/* Direction 01: warm editorial */
.editorial { color: var(--ink); background: var(--paper); }
.editorial .proto-header { border-bottom: 1px solid rgba(17,16,15,.15); }
.editorial .proto-nav a:last-child { color: #fff; background: var(--ink); }
.editorial .proto-kicker { color: var(--muted); }
.editorial .proto-hero h1 em { color: var(--ember); }
.editorial .proto-hero-copy > p:last-of-type { color: var(--muted); }
.editorial .proto-button:first-child { color: #fff; background: var(--ink); }
.editorial .proto-visual::before { content: ""; position: absolute; width: 92%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); box-shadow: 25px 27px 0 var(--gold); transform: rotate(4deg); }
.editorial .featured { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - 1180px) / 2)); color: #fff; background: var(--ember); }
.editorial .featured-label { color: rgba(255,255,255,.7); }
.editorial .featured-copy { color: rgba(255,255,255,.78); }
.editorial .proto-app-grid { border-top: 1px solid rgba(17,16,15,.15); }
.editorial .proto-app-card { border-bottom: 1px solid rgba(17,16,15,.15); border-right: 1px solid rgba(17,16,15,.15); }
.editorial .proto-app-card:last-child { border-right: 0; }
.editorial .proto-app-card p, .editorial .collection-heading p { color: var(--muted); }
.editorial .proto-app-card:hover { background: #fff; box-shadow: 0 18px 50px rgba(33,22,12,.11); transform: translateY(-4px); }
.editorial .proto-footer { border-top: 1px solid rgba(17,16,15,.15); color: var(--muted); }

/* Direction 02: dark signal */
.signal { color: #fff; background: #0d0c0b; }
.signal .proto-shell { background: radial-gradient(circle at 78% 18%, rgba(232,59,32,.18), transparent 24%), radial-gradient(circle at 72% 24%, rgba(255,176,0,.08), transparent 39%); }
.signal .proto-header { border-bottom: 1px solid rgba(255,255,255,.12); }
.signal .proto-nav a:last-child { color: #111; background: var(--gold); }
.signal .proto-kicker, .signal .proto-hero-copy > p:last-of-type, .signal .collection-heading p { color: rgba(255,255,255,.56); }
.signal .proto-hero h1 em { color: var(--gold); }
.signal .proto-button:first-child { color: #111; background: var(--gold); border-color: var(--gold); }
.signal .proto-button:last-child { color: rgba(255,255,255,.78); border-color: rgba(255,255,255,.25); }
.signal .proto-visual::before, .signal .proto-visual::after { content: ""; position: absolute; border-radius: 50%; }
.signal .proto-visual::before { width: 92%; aspect-ratio: 1; border: 1px solid rgba(255,176,0,.35); box-shadow: 0 0 120px rgba(232,59,32,.16) inset; }
.signal .proto-visual::after { width: 120%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); transform: scaleY(.55) rotate(17deg); }
.signal .featured { width: min(calc(100% - 40px), 1180px); padding-inline: 55px; border: 1px solid rgba(255,255,255,.12); border-radius: 36px; background: #171513; }
.signal .featured-icon { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 30px 90px rgba(0,0,0,.5); }
.signal .featured-label { color: var(--gold); }
.signal .featured-copy, .signal .proto-app-card p { color: rgba(255,255,255,.55); }
.signal .store-link:first-child { color: #111; background: #fff; }
.signal .proto-app-grid { gap: 12px; }
.signal .proto-app-card { border: 1px solid rgba(255,255,255,.1); border-radius: 20px; background: rgba(255,255,255,.035); }
.signal .proto-app-card:hover { border-color: rgba(255,176,0,.55); background: rgba(255,176,0,.06); }
.signal .proto-app-card a { color: var(--gold); }
.signal .proto-footer { color: rgba(255,255,255,.46); border-top: 1px solid rgba(255,255,255,.1); }

/* Direction 03: modular playground */
.playground { color: var(--ink); background: #fffaf1; font-family: "Space Grotesk", sans-serif; }
.playground .proto-header { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - 1180px) / 2)); border-bottom: 3px solid var(--ink); }
.playground .proto-brand, .playground h1, .playground h2, .playground h3 { font-family: "Space Grotesk", sans-serif; }
.playground .proto-nav a:last-child { border: 2px solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); }
.playground .proto-hero { grid-template-columns: 1.18fr .82fr; }
.playground .proto-hero h1 { font-size: clamp(54px, 8.3vw, 108px); line-height: .88; text-transform: uppercase; }
.playground .proto-hero h1 em { color: var(--ember); }
.playground .proto-hero-copy > p:last-of-type { color: #5e574f; }
.playground .proto-button { border: 2px solid var(--ink); border-radius: 12px; box-shadow: 5px 5px 0 var(--ink); }
.playground .proto-button:first-child { background: var(--gold); }
.playground .proto-visual { min-height: 430px; background: var(--gold); border: 3px solid var(--ink); border-radius: 24px; box-shadow: 15px 15px 0 var(--ember); transform: rotate(2deg); }
.playground .proto-visual img { transform: rotate(-2deg); }
.playground .featured { width: 100%; max-width: none; padding-inline: max(20px, calc((100vw - 1180px) / 2)); border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: var(--ember); }
.playground .featured-icon { border: 3px solid var(--ink); border-radius: 18px; box-shadow: 12px 12px 0 var(--ink); }
.playground .featured-label, .playground .featured-copy { color: rgba(17,16,15,.7); }
.playground .store-link { border: 2px solid var(--ink); border-radius: 10px; background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.playground .proto-app-grid { gap: 14px; }
.playground .proto-app-card { border: 2px solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 6px 6px 0 var(--ink); }
.playground .proto-app-card:nth-child(2n) { background: #fff1c9; }
.playground .proto-app-card p, .playground .collection-heading p { color: #625a51; }
.playground .proto-app-card a { color: #b42a17; text-decoration: underline; text-decoration-thickness: 2px; }
.playground .proto-footer { border-top: 3px solid var(--ink); }

/* Prototype index */
.prototype-index { min-height: 100vh; padding: 70px 20px; color: #fff; background: #0d0c0b; }
.prototype-index main { width: min(100%, 1050px); margin: auto; }
.prototype-index h1 { margin: 0; font: 800 clamp(48px, 8vw, 92px)/.95 "Manrope", sans-serif; letter-spacing: -.07em; }
.prototype-index > main > p { max-width: 600px; color: rgba(255,255,255,.58); font-size: 18px; }
.prototype-list { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.prototype-card { min-height: 320px; padding: 25px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.15); border-radius: 22px; }
.prototype-card:nth-child(1) { background: #e83b20; }
.prototype-card:nth-child(2) { background: #171513; }
.prototype-card:nth-child(3) { color: #111; background: #ffb000; }
.prototype-card span { font-size: 11px; font-weight: 800; letter-spacing: .15em; }
.prototype-card h2 { margin: auto 0 10px; font: 800 30px/1 "Manrope", sans-serif; letter-spacing: -.05em; }
.prototype-card p { margin: 0 0 22px; opacity: .7; }
.prototype-card strong { font-size: 13px; }

@media (max-width: 980px) {
  .proto-hero { grid-template-columns: 1fr; gap: 30px; }
  .proto-visual { width: min(100%, 520px); margin-inline: auto; }
  .featured-layout { grid-template-columns: .8fr 1.2fr; gap: 45px; }
  .proto-app-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .editorial .proto-app-card { border: 1px solid rgba(17,16,15,.15); }
  .collection-heading { align-items: flex-start; flex-direction: column; }
  .prototype-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .prototype-bar { align-items: flex-start; flex-direction: column; gap: 8px; }
  .proto-header, .proto-hero, .featured, .collection, .proto-footer, .signal .featured { width: min(calc(100% - 28px), 1180px); }
  .proto-brand span { display: none; }
  .proto-nav { gap: 15px; }
  .proto-hero { min-height: auto; padding-block: 55px 75px; }
  .proto-hero h1 { font-size: 51px; }
  .proto-visual { min-height: 320px; }
  .featured, .signal .featured { padding-block: 70px; }
  .signal .featured { padding-inline: 24px; border-radius: 22px; }
  .featured-layout { grid-template-columns: 1fr; }
  .featured-icon { width: min(72vw, 320px); }
  .collection { padding-block: 80px; }
  .proto-app-grid { grid-template-columns: 1fr; }
  .proto-app-card { min-height: 290px; }
  .proto-footer .proto-brand { display: none; }
  .playground .proto-hero { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
