@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap');

:root { --ink: #152b30; --coral: #db5b42; --sea: #63aab0; --sand: #f4eee0; --cream: #fffdf7; --line: #c7d6d0; --night: #173d45; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: "DM Mono", monospace; font-size: 14px; line-height: 1.55; }
a { color: inherit; }
.flash-container { width: min(1280px, calc(100% - 64px)); margin: 20px auto 0; }
.wordmark { color: var(--ink); font-size: 19px; font-weight: 500; letter-spacing: 3px; text-decoration: none; }
.public-home { min-height: 100vh; background: var(--cream); }
.public-header, .studio-header { display: flex; align-items: center; justify-content: space-between; width: min(1280px, calc(100% - 64px)); margin: auto; min-height: 82px; }
.archive-link, .text-button { border: 0; background: transparent; font: inherit; font-size: 12px; letter-spacing: .8px; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.archive-link:hover, .text-button:hover, .timeline a:hover { color: var(--coral); }
.vessel-panel { position: relative; display: flex; min-height: calc(50vh - 41px); overflow: hidden; padding: 44px max(32px, calc((100vw - 1160px) / 2)); }
.ancestral-panel { align-items: center; background: #254f56; color: #f4e9d2; }
.prototype-panel { align-items: center; background: #dce9df; }
.panel-copy { position: relative; z-index: 1; width: min(390px, 43%); }
.eyebrow { margin: 0 0 13px; color: var(--coral); font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; }
.ancestral-panel .eyebrow { color: #edbf70; }
h1, h2 { margin: 0; font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: .98; letter-spacing: 0; }
.vessel-panel h1, .vessel-panel h2 { font-size: clamp(44px, 6.5vw, 88px); }
.panel-note { max-width: 330px; margin: 24px 0 0; font-size: 13px; }
.vessel-image { position: absolute; right: max(30px, calc((100vw - 1220px) / 2)); width: min(61vw, 760px); height: 92%; object-fit: contain; }
.classic-image { bottom: -1%; }.modern-image { bottom: 0; }
.auth-page { display: grid; min-height: 100vh; place-items: center; padding: 38px; background: linear-gradient(135deg, #dce9df 0%, #f4eee0 60%, #f9d7ae 100%); }
.auth-page > .wordmark { position: absolute; top: 32px; left: 42px; }
.auth-box { width: min(100%, 430px); padding: 42px; background: var(--cream); border: 1px solid #b4c9c0; box-shadow: 12px 12px 0 rgba(21,43,48,.1); }
.auth-box h1, .studio-intro h1, .detail-entry h1 { font-size: clamp(34px, 5vw, 53px); }.stack-form, .entry-form { display: grid; gap: 8px; margin-top: 32px; }
label { margin-top: 12px; font-size: 12px; }.stack-form input, .stack-form textarea, .entry-form input, .entry-form textarea { width: 100%; border: 1px solid #92aca4; border-radius: 0; padding: 11px; color: var(--ink); background: #fffefa; font: inherit; }
textarea { resize: vertical; }button { border: 1px solid var(--ink); padding: 13px 17px; color: #fffdf7; background: var(--ink); font: inherit; cursor: pointer; }button:hover { color: var(--ink); background: var(--sea); }.stack-form button, .entry-form button { margin-top: 16px; }
.alert { margin: 20px 0; padding: 10px 13px; border-left: 4px solid var(--coral); background: #ffebe6; }.alert.success { border-color: #428460; background: #e2f2e6; }
.studio-page { width: min(1180px, calc(100% - 64px)); margin: auto; padding-bottom: 74px; }.studio-header { width: 100%; border-bottom: 1px solid var(--line); }.studio-intro { max-width: 660px; margin: 76px 0 48px; }.studio-intro > p:last-child { max-width: 520px; margin-top: 20px; }
.entry-layout { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); gap: 70px; align-items: start; }.entry-form { position: sticky; top: 24px; padding: 28px; background: var(--sand); border-top: 5px solid var(--coral); }.entry-form h2, .timeline h2 { font-size: 24px; }.timeline { border-top: 1px solid var(--line); }.post-row { display: grid; grid-template-columns: 84px 1fr; gap: 22px; padding: 27px 0; border-bottom: 1px solid var(--line); }.post-number, .date { margin: 0; font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }.post-number { color: var(--coral); }.date { color: #577171; }.post-row h2 { margin: 8px 0 13px; }.post-row h2 a { text-decoration: none; }.post-row p:last-child { margin: 0; white-space: pre-line; }.attachment-badges { display: flex; gap: 10px; margin: 10px 0 0 !important; font-size: 11px; letter-spacing: .4px; text-transform: uppercase; color: #577171; }.attachment-badges span { padding: 3px 8px; border: 1px solid var(--line); }.detail-entry { max-width: 810px; margin: 80px 0; }.detail-entry h1 { margin-bottom: 32px; }.post-body { max-width: 700px; white-space: pre-line; font-size: 16px; }.post-image { display: block; width: 100%; max-height: 650px; margin: 36px 0; object-fit: contain; background: var(--sand); }.reference-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 35px; }.reference-links a { color: var(--coral); }.attachment-list { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }.attachment-list a { color: var(--coral); word-break: break-all; }.ai-analysis { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }.ai-analysis h2 { font-size: 22px; }.ai-analysis form { margin: 18px 0 30px; }.proposal-card { padding: 20px; margin-bottom: 16px; background: var(--sand); border-left: 4px solid var(--sea); }.proposal-card ul { margin: 12px 0 0; padding-left: 20px; }.proposal-actions { display: flex; gap: 16px; margin-top: 14px; }.proposal-actions form { margin: 0; }.header-links { display: flex; align-items: center; gap: 24px; }
.image-history { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }.image-history .post-image { max-height: 220px; margin: 0 0 12px; }.image-history .proposal-card { margin-bottom: 0; }
@media (max-width: 720px) { .public-header, .studio-header, .studio-page { width: min(100% - 36px, 1180px); }.vessel-panel { min-height: 50vh; padding: 34px 18px; align-items: flex-start; }.panel-copy { width: 70%; }.vessel-image { right: 0; bottom: 4%; width: 91vw; height: 62%; }.classic-image { bottom: 2%; }.panel-note { margin-top: 16px; font-size: 11px; }.auth-page { padding: 22px; }.auth-page > .wordmark { top: 24px; left: 24px; }.auth-box { padding: 30px 24px; }.studio-intro { margin: 55px 0 36px; }.entry-layout { grid-template-columns: 1fr; gap: 42px; }.entry-form { position: static; }.post-row { grid-template-columns: 1fr; gap: 5px; }.detail-entry { margin: 55px 0; } }