:root {
  --ink: #10233c;
  --paper: #fbf7f1;
  --accent: #933d20;
  --line: #d8d1c8;
  font-family: "Malgun Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.65; min-height: 100vh; display: flex; flex-direction: column; }
.shell { width: min(100% - 2rem, 66rem); margin-inline: auto; }
header, footer, .hero { background: var(--ink); color: white; }
.masthead, nav, .account { display: flex; flex-wrap: wrap; gap: .9rem 1.3rem; align-items: center; }
.masthead { min-height: 4.25rem; padding-block: .75rem; justify-content: space-between; }
header a { color: inherit; text-decoration: none; }
.brand { font-family: Georgia, serif; letter-spacing: .1em; font-weight: bold; }
main { flex: 1; padding-block: 1.25rem 4rem; }
footer { padding-block: 1.5rem; }
section { margin-block: 2.1rem; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.25; }
h2 { line-height: 1.35; }
a { color: var(--accent); text-underline-offset: .2em; }
button, .button { color: white; background: var(--accent); border: 0; font: inherit; padding: .65rem 1.2rem; text-decoration: none; display: inline-block; border-radius: .2rem; cursor: pointer; }
.account form { margin: 0; }
.account button { padding: .25rem .6rem; }
form { max-width: 38rem; margin: 1rem 0; }
fieldset { min-width: 0; margin: 0 0 1rem; padding: .5rem 1rem; border: 1px solid var(--line); }
legend { font-weight: bold; }
label { display: block; margin: .75rem 0; }
input:not([type=checkbox]), select, textarea { display: block; width: 100%; background: white; color: var(--ink); border: 1px solid #928a80; border-radius: .2rem; font: inherit; padding: .55rem .7rem; }
textarea { min-height: 8rem; }
:focus-visible { outline: 3px solid #bb571f; outline-offset: 3px; }
.notice { border-left: 3px solid var(--accent); padding: .55rem .9rem; background: #f3e7da; }
.dev-label, .muted { color: #555; font-size: .9rem; }
.amount { font-size: 1.5rem; font-weight: bold; }
.states { display: flex; flex-wrap: wrap; gap: 1rem 2rem; border-block: 1px solid var(--line); padding-block: 1rem; }
dd { font-weight: bold; margin: 0; overflow-wrap: anywhere; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .65rem; border-bottom: 1px solid var(--line); }
.preserve { white-space: pre-wrap; overflow-wrap: anywhere; }
@media(max-width: 42rem) { .masthead { align-items: flex-start; } .masthead nav { width: 100%; order: 3; } .shell { width: calc(100% - 1.5rem); } }

.redesigned {
  --ink: #0c1a2f;
  --paper: #faf5ee;
  --accent: #993610;
  --display: "Noto Serif KR", "Batang", Georgia, serif;
  background: var(--paper);
  color: var(--ink);
}
.redesigned .shell { width: min(100% - 3rem, 72rem); }
.redesigned h1, .redesigned h2 { font-family: var(--display); text-wrap: balance; word-break: keep-all; }
.redesigned .brand { font-size: clamp(1rem, 2vw, 1.4rem); font-weight: 500; }
.redesigned .masthead { min-height: 4.5rem; }
.redesigned .masthead a[aria-current="page"] { color: #ffc083; text-decoration: underline; }
.redesigned button, .redesigned .button { border-radius: .4rem; font-weight: 700; text-align: center; }
.redesigned a:focus-visible, .redesigned button:focus-visible, .mobile-menu summary:focus-visible { outline-offset: 4px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1.25rem; }
.site-footer > :not(.brand) { color: #e2dcd4; font-size: .85rem; }
.mobile-menu { display: none; }
.skip-to-content {
  position: absolute;
  z-index: 10;
  top: .6rem;
  left: .8rem;
  padding: .5rem 1rem;
  transform: translateY(calc(-100% - 1rem));
  color: var(--ink);
  background: var(--paper);
  font-weight: 700;
}
.skip-to-content:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.home-main { padding: 0; }
.home { --paper: #faf6ef; --ink: #122338; }
.home .shell { width: min(93%, 96rem); }
.home > header, .home > footer { color: var(--ink); background: var(--paper); }
.home > header { border-bottom: 1px solid #d8d4cb; }
.home .masthead { justify-content: flex-start; gap: clamp(1rem, 3.5vw, 4rem); }
.home .masthead .brand {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.065em;
  color: #203a52;
}
.home .masthead > nav { border-inline-start: 1px solid #928c85; padding-inline-start: 3vw; }
.home .masthead > nav, .home .masthead > .account { font-weight: 700; gap: clamp(.8rem, 2.25vw, 2.5rem); }
.home .masthead > .account { margin-inline-start: auto; font-size: .92rem; }
.home a { color: inherit; }
.home .masthead a:hover, .company-link-strip a:hover { text-decoration: underline; }
.publishing-hero {
  position: relative;
  isolation: isolate;
  margin: 0;
  background: linear-gradient(155deg, #e3e4e3, #f6f0e9 38%, #e9e8e2 60%, #c1cdd2);
}
.shipyard-panorama {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  width: 100%;
  height: 56%;
  object-fit: cover;
  object-position: center bottom;
  mask-image: linear-gradient(to bottom, transparent, #000 26%);
}
@media (min-width: 48rem) and (max-width: 64rem) {
  .shipyard-panorama { height: 40%; }
}
.publishing-scene {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
  align-items: start;
  gap: 2%;
  padding: clamp(2.5rem, 5.2vw, 5.75rem) 2% clamp(.8rem, 1.6vw, 2rem);
  min-height: clamp(25rem, 48vw, 48rem);
}
.publishing-intro { padding-top: 1.1vw; }
.publishing-intro h1 {
  margin: 0;
  font-size: clamp(2.55rem, 4.65vw, 4.95rem);
  letter-spacing: -.065em;
  line-height: 1.21;
}
.publishing-intro h1 span { display: block; }
.publishing-intro p {
  margin: 1.1em 0 .65em;
  font-size: clamp(1.05rem, 1.72vw, 1.75rem);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: -.055em;
  word-break: keep-all;
}
.featured-book {
  align-self: end;
  justify-self: center;
  width: min(100%, 28vw, 29rem);
  height: auto;
  display: block;
  filter: drop-shadow(.32rem .6rem .45rem rgb(11 26 34 / .22));
}
.editorial-link { display: inline-flex; align-items: center; gap: .7em; padding: .35em 0 .12em; border-bottom: 1px solid; text-decoration: none; font-weight: 700; }
.editorial-link::after { content: "→" / ""; font-family: Arial, sans-serif; font-weight: 400; }
.editorial-link:hover { color: #754029; }
.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: 2.5%;
  margin-block: 0;
  padding-block: clamp(1.35rem, 2.2vw, 2.5rem);
}
.project-caption { display: flex; gap: .85em; align-items: center; margin: 0; font-weight: 700; }
.project-caption::after { content: ""; width: 2.3rem; height: 1px; background: currentColor; }
.project-feature h2 { margin: .45em 0; font-size: clamp(1.7rem, 2.85vw, 3.1rem); line-height: 1.27; letter-spacing: -.065em; }
.project-feature > img { display: block; width: 100%; height: auto; }
.project-contest { margin-top: 1rem; }
.contest-access-link { display: inline-flex; align-items: center; gap: .9rem; max-width: 100%; min-height: 44px; color: inherit; text-decoration: none; }
.contest-access-link img { display: block; width: 120px; height: 120px; flex: none; image-rendering: pixelated; }
.contest-access-link strong { text-decoration: underline; text-underline-offset: .22em; }
.contest-access-link small { display: block; margin-top: .35rem; color: #475462; }
.company-link-strip { background: #142a42; color: white; }
.company-link-strip .shell { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; }
.company-link-strip nav { gap: 0; }
.company-link-strip .editorial-link { border: 0; padding: .5rem 1.5rem; }
.company-link-strip .editorial-link:hover { color: white; }
.company-link-strip .editorial-link + .editorial-link { border-inline-start: 1px solid #6d7c8a; }
.company-link-strip p { display: flex; align-items: center; gap: 1.25rem; margin: 0; }
.company-link-strip strong { font-size: 1.1rem; }
.company-link-strip p span { padding-inline-start: 1.25rem; border-inline-start: 1px solid #6d7c8a; font-size: .85rem; }
.home > footer { padding: .95rem 0; }
.home-colophon { display: flex; align-items: center; gap: 1rem; color: #4f5357; font-size: .78rem; }
.home-colophon span + span { padding-inline-start: 1rem; border-inline-start: 1px solid #aaa8a3; }
.home-colophon small { margin-inline-start: auto; font-size: inherit; }
.hero-content { padding: 2.5rem clamp(0rem, 6vw, 5rem); }
.hero-content p { margin: 0 0 .65rem; font-family: var(--display); }
.hero-content h1 { margin: 0 0 1rem; font-size: clamp(2.15rem, 4.15vw, 3.8rem); text-shadow: 0 2px 10px #09111d; text-wrap: pretty; }
.home-story { padding-block: clamp(2rem, 4vw, 4.25rem); }
.home-story section { display: grid; gap: clamp(1.25rem, 4vw, 4rem); align-items: center; margin: 0 0 clamp(1.75rem, 4vw, 3.5rem); }
.home-story section:last-child { margin-bottom: 0; }
.home-story h2 { font-size: clamp(1.85rem, 3.2vw, 3.15rem); margin: 0 0 .35em; }
.home-story p { margin: 0 0 .65em; }
.home-business { grid-template-columns: 1fr 2.2fr; }
.home-greeting { grid-template-columns: 1.2fr 1fr; }
.home-story img { width: 100%; height: auto; display: block; object-fit: cover; }
.business-line { color: var(--accent); font-size: 1.3rem; font-weight: 700; }

.signup main, .signup-result main, .signup-inbox main, .board-editor main { max-width: 42rem; }
.signup main, .signup-result main, .signup-inbox main, .board-list main, .board-post main, .board-editor main { padding-block: clamp(2rem, 6vw, 5rem); }
.signup h1, .signup-result h1, .board-list h1 { margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); text-align: center; }
.signup form { max-width: none; }
.signup form > label { display: grid; grid-template-columns: 11rem 1fr; align-items: center; gap: .65rem; font-weight: 700; }
.signup input:not([type="checkbox"]), .board-search input, .board-editor input:not([type="hidden"]), .board-editor textarea { background: #fffaf6; border-radius: .45rem; }
.required-mark { color: var(--accent); }
.signup-policy-status { margin: 1.5rem 0 .45rem; color: #554940; font-size: .85rem; }
.signup-agreement { padding-block: .85rem; border-block-start: 1px solid var(--line); }
.signup-agreement summary { cursor: pointer; color: var(--accent); font-weight: 700; }
.signup-policy-content {
  margin: .55rem 0 0;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: .4rem;
  background: #fffaf6;
  font-size: .9rem;
  overflow-wrap: anywhere;
}
.signup-agreement-terms .signup-policy-content { max-block-size: 13rem; overflow-y: auto; }
.signup-policy-content dt { font-weight: 700; }
.signup-policy-content dd { margin: .15rem 0 0; font-weight: 400; }
.signup-policy-content dd + dt { margin-top: .65rem; }
.signup-agreement label { display: flex; align-items: baseline; gap: .45rem; margin: .55rem 0 0; }
.signup button { width: 100%; margin-top: 1.4rem; min-height: 3.2rem; }
.signup-note { text-align: center; }
.signup-result main { text-align: center; }
.signup-result h1 { margin-bottom: 1rem; }
.signup-envelope { display: block; width: 4rem; margin: 0 auto 1.25rem; color: var(--accent); }
.signup-result form { margin: 1.5rem auto; max-width: 25rem; }
.signup-result button { width: 100%; background: transparent; color: var(--accent); border: 1px solid currentColor; }
.local-inbox-link { border-block: 1px solid var(--line); margin-block: 1.4rem; padding: .75rem 0 1rem; }
.local-inbox-link p { margin: 0 0 .55rem; font-size: .9rem; }
.signup-mail { border: 1px solid var(--line); border-radius: .45rem; padding: clamp(1rem, 4vw, 2rem); }
.signup-mail h2 { margin-top: 0; }

.login main, .reset main { max-width: 42rem; padding-block: clamp(2rem, 6vw, 5rem); }
.login-heading, .reset h1 { text-align: center; }
.login-heading h1 { margin: .25rem 0 .85rem; }
.login-heading > p:last-child:not(.eyebrow) { margin: 0 0 1.65rem; font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; }
.login main > form { max-width: none; margin: 1.5rem clamp(0rem, 3vw, 2rem) 1rem; }
.login-field { position: relative; margin: 0 0 .9rem; }
.login-field > svg { position: absolute; inset-inline-start: 1rem; top: 50%; transform: translateY(-50%); width: 1.35rem; pointer-events: none; }
.login-field input { min-height: 3.35rem; padding-inline-start: 3rem; background: #fffaf6; border-radius: .5rem; }
.login-password input { padding-inline-end: 3rem; }
.login-field .password-toggle { position: absolute; inset-inline-end: .3rem; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; background: transparent; color: var(--ink); }
.password-toggle[hidden] { display: none; }
.password-toggle svg { width: 1.35rem; }
.password-toggle[aria-pressed="true"] .password-slash { display: none; }
.login main form > button, .reset main form > button { width: 100%; min-height: 3.15rem; margin-top: .45rem; }
.login-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .5rem 1rem; margin-block: 1.35rem 2rem; }
.login-links a { color: var(--ink); font-weight: 700; }
.login-links a + a { border-inline-start: 1px solid var(--line); padding-inline-start: 1rem; }
.login-return { display: flex; align-items: center; gap: .9rem; margin: 0; padding: 1rem; border: 1px solid #d7a68e; border-radius: .55rem; background: #fff6ec; }
.login-return > :first-child { color: var(--accent); font-size: 1.25rem; }
.login-return > :last-child { padding-inline-start: .9rem; border-inline-start: 1px solid #d7a68e; }
.login-return strong { color: var(--accent); }
.reset main > form { max-width: none; }

.board-search { display: flex; align-items: end; gap: .65rem; margin: 0 auto 1.6rem; }
.board-search label { flex: 1; min-width: 0; margin: 0; font-size: .9rem; font-weight: 700; }
.board-search button { flex: 0 0 auto; }
.board-list .table-wrap { border-top: 1px solid #a4998e; }
.board-list th { background: #efe6dc; }
.board-list th:first-child, .board-list td:first-child { text-align: center; width: 5rem; }
.board-list td:last-child { width: 9rem; }
.board-list td a { display: block; color: var(--ink); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.board-list td a:hover { text-decoration: underline; }
.board-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.board-list .board-actions { justify-content: space-between; }
.board-list .board-actions > .button { margin-inline-start: auto; }
.board-post h1 { margin: .8rem 0; text-wrap: wrap; overflow-wrap: anywhere; }
.board-back, .board-list-link { font-weight: 700; }
.board-list-link { margin-inline-end: auto; }
.board-meta { margin-bottom: 1.1rem; color: #554940; }
.board-body { min-height: 8rem; padding-block: 1.5rem; border-block: 1px solid var(--line); }
.board-actions form { margin: 0; }
.board-editor main { max-width: 63rem; }
.board-editor h1, .admin-login h1 { text-align: center; margin: 0 0 1.25rem; }
.board-editor form, .admin-login form { max-width: none; }
.editor-fields, .admin-login main > form { border: 1px solid var(--line); border-radius: .5rem; padding: 1rem; }
.editor-fields label, .admin-login main form > label { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: .7rem; margin: 0; padding-block: .65rem; font-weight: 700; }
.editor-fields label + label, .admin-login main form > label + label { border-top: 1px solid var(--line); }
.editor-fields textarea { min-height: 12rem; resize: vertical; }
.editor-actions { display: flex; justify-content: center; gap: .75rem; margin-top: 1.4rem; }
.editor-actions > :first-child { min-width: min(15rem, 55%); }
.editor-actions > :last-child { min-width: min(9rem, 35%); }
.admin-login main { max-width: 42rem; padding-block: clamp(2rem, 6vw, 5rem); }
.admin-login-badge { text-align: center; }
.admin-login-badge span { display: inline-block; background: #e3e0e8; padding: .1rem .8rem; border-radius: 2rem; font-weight: 700; }
.admin-login form input { background: #fffaf6; }
.admin-login main form > button { display: block; width: min(100%, 23rem); margin: 1rem auto 0; }
.admin-console > header, .admin-console > footer { grid-column: 1 / -1; }
.admin-console main { min-width: 0; padding-block: 1.75rem 3rem; }
.admin-console h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0 0 1.25rem; }
.admin-sidebar { background: var(--ink); color: white; padding: 1rem .75rem; }
.admin-sidebar nav { display: grid; gap: .35rem; }
.admin-sidebar a { display: block; color: white; text-decoration: none; padding: .6rem .75rem; border-radius: .35rem; }
.admin-sidebar a:hover, .admin-sidebar a[aria-current="page"] { background: var(--accent); }
.admin-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .65rem; margin: 0 0 1.6rem; }
.admin-stats > div { background: #fffaf6; border: 1px solid var(--line); border-radius: .45rem; padding: .65rem .8rem; }
.admin-stats dt { font-weight: 700; }
.admin-stats dd { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 2.35rem); }
.admin-stats small { font-size: .8rem; padding-inline-start: .2rem; }
.admin-dashboard-tabs { margin-bottom: 1rem; }
.admin-search { display: flex; flex: 1; max-width: none; flex-wrap: wrap; align-items: end; gap: .6rem; margin: 0 0 1rem; }
.admin-search label { min-width: 0; margin: 0; }
.admin-search label:first-child { flex: 1 1 12rem; }
.admin-search :is(input,select) { background: #fffaf6; }
.admin-table { border: 1px solid var(--line); border-radius: .45rem; }
.admin-table th { background: #eee5da; }
.admin-table td { overflow-wrap: anywhere; }
.admin-table tbody tr:last-child td { border-bottom: 0; }
.member-verification { display: block; color: #554940; }
.status-badge { display: inline-block; padding: .12rem .55rem; border-radius: 1rem; font-size: .85rem; font-weight: 700; }
.status-badge.is-done, .admin-console .states .is-done dd { color: #254722; background: #deebd5; }
.status-badge.is-pending, .admin-console .states .is-pending dd { color: #7a2918; background: #f7e1d9; }
.admin-console .states dd { display: inline-block; padding: .1rem .55rem; border-radius: 1rem; }
.admin-console .states { gap: .65rem 1rem; }
.admin-price { color: var(--accent); }
.admin-total { font-weight: 700; }
.admin-entry-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: .8rem; align-items: start; }
.admin-entry-item, .admin-entry-detail, .admin-empty { border: 1px solid var(--line); border-radius: .45rem; padding: .75rem; margin: 0 0 .55rem; background: #fffaf6; }
.admin-entry-item.selected { background: #fff1d9; }
.admin-entry-item h2, .admin-entry-detail h2 { font-size: 1.15rem; margin: 0; }
.admin-work { border-top: 1px solid var(--line); padding: .65rem 0; }
.admin-work-preview { display: flex; gap: .8rem; align-items: start; }
.admin-work-preview img { object-fit: contain; background: #eee5da; border: 1px solid var(--line); }
.admin-work-preview p { margin: 0 0 .45rem; }
.admin-board-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; margin-bottom: .75rem; }
.admin-board-toolbar .admin-search { margin: 0; }
.admin-row-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.admin-row-actions form { margin: 0; }
.admin-row-actions :is(button,a), .admin-table .outline-button { padding: .35rem .65rem; font-size: .9rem; }
.admin-row-actions button { background: transparent; border: 1px solid currentColor; color: var(--ink); }
.admin-row-actions form:last-child button { color: #9a2514; }
@media (min-width: 48.01rem) {
  .admin-console { display: grid; grid-template-columns: 13rem minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
}

.company .hero {
  display: grid;
  align-items: center;
  min-height: clamp(17rem, 27vw, 26rem);
  margin: 0;
  background: linear-gradient(90deg, #151d28, rgb(21 29 40 / .8) 24%, rgb(21 29 40 / .15) 68%),
    url("/assets/company-hero.jpg") right center / cover no-repeat #151d28;
}
.company-overview { grid-template-columns: 1fr 1fr; }
.company-overview > :last-child { padding-inline-start: clamp(1rem, 4vw, 4rem); border-inline-start: 1px solid var(--line); }
.company .home-story h3 { margin-bottom: .35rem; }
.company-greeting { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.home-story .company-greeting { align-items: start; }
.home-story .greeting-signature { margin-top: 1.4rem; font-weight: 700; text-align: end; }
.company-history { padding-top: clamp(1.5rem, 4vw, 3.5rem); border-top: 1px solid var(--line); }
.history-list { margin: 1.25rem 0; }
.history-list > div {
  display: grid;
  grid-template-columns: clamp(3.5rem, 12vw, 7rem) minmax(0, 1fr);
  gap: .5rem;
  padding-block: .6rem;
  border-bottom: 1px solid var(--line);
}
.history-list dt { color: var(--accent); font-weight: 700; }
.history-list dd { font-weight: 400; }
.history-list dd p { margin: 0; }

:is(.contest, .apply, .work, .entries, .payment, .payment-result) main { max-width: 65rem; padding-block: clamp(1.75rem, 5vw, 4rem); }
.contest-heading, .flow-heading { text-align: center; }
.contest-heading h1 { margin: .25rem auto .85rem; font-size: clamp(1.45rem, 4vw, 3.3rem); }
.contest-project { margin: .35rem 0 0; font-family: var(--display); font-size: clamp(1.05rem, 2vw, 1.45rem); }
.contest-introduction { margin-block: 0 1.5rem; }
.contest-introduction p { margin: .15rem 0; word-break: keep-all; }
.contest-entry { display: flex; justify-content: center; margin: 0 0 1rem; }
.contest-entry .notice { margin: 0; }
.contest-entry .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.contest-policy { margin-block: 1rem; text-align: start; }
.contest-policy > summary { padding-block: .65rem; cursor: pointer; font-weight: 700; }
.policy-rows { margin-block: .5rem 1rem; }
.policy-rows dt { margin-block-start: .7rem; font-weight: 700; }
.policy-rows dd { margin: .18rem 0 0; line-height: 1.65; overflow-wrap: anywhere; }
.participant-materials ul { padding-inline-start: 1.3rem; }
.participant-materials li a { display: inline-block; padding-block: .5rem; }
.apply [aria-invalid="true"] { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 48rem) {
  .contest-entry .button, .contest-entry .notice { width: 100%; }
}
.eyebrow { color: var(--accent); font-weight: 700; margin: 0 0 .45rem; }
.flow-heading h1 { margin: .25rem 0 .75rem; }
.contest-poster { display: block; width: min(100%, 44rem); margin: 1.5rem auto; color: var(--ink); text-align: end; }
.contest-poster img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.contest-poster span { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: underline; }
.contest-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.contest-facts section { text-align: center; margin: 0; padding: 1rem .7rem; }
.contest-facts section + section { border-inline-start: 1px solid var(--line); }
.contest-facts h2 { font-size: 1.25rem; margin: 0 0 .35rem; }
.contest-facts dl, .contest-facts p { margin: 0; }
.contest-facts dl div { display: flex; justify-content: center; flex-wrap: wrap; gap: .15rem .4rem; font-size: .85rem; }
.contest-facts .amount { color: var(--accent); font-family: var(--display); font-size: 2rem; }
.contest-facts .contest-prizes { max-width: 15rem; margin: .5rem auto 0; }
.contest-facts .contest-prizes div { justify-content: space-between; padding-block: .12rem; text-align: start; }
.contest-rules { max-width: 52rem; margin: 1.6rem auto 0; }
.contest-rules section { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .75rem; margin: 0; padding: .7rem 0; }
.contest-rules h2, .contest-rules p { margin: 0; }
.contest-rules h2 { font-size: 1.25rem; }
.contest-rules h3, .contest-rules h4 { margin: .85rem 0 .25rem; font-size: 1rem; }
.contest-rules h3:first-child { margin-top: 0; }
.contest-rules ul { margin: .35rem 0; padding-inline-start: 1.3rem; }
.contest-contacts { margin: 0; }
.contest-contacts div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .5rem; }
.contest-contacts div + div { margin-top: .35rem; }
.contest-contacts dd { font-weight: 400; }

.flow-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 36rem;
  padding: 0;
  margin: 1.45rem auto 2rem;
  list-style: none;
  text-align: center;
}
.flow-progress li { display: grid; justify-items: center; gap: .28rem; position: relative; font-size: .9rem; }
.flow-progress li:not(:last-child)::after { content: ""; position: absolute; top: 1.05rem; left: 50%; width: 100%; border-top: 1px solid #aa9a8e; }
.step-number {
  z-index: 1;
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--paper);
}
.flow-progress [aria-current="step"] { color: var(--accent); font-weight: 700; }
.flow-progress [aria-current="step"] .step-number, .payment-check { background: var(--accent); color: white; border-color: var(--accent); }
.flow-actions { max-width: 32rem; margin: 1.5rem auto 0; text-align: center; }
.flow-actions form { margin: .75rem 0; }
.flow-actions .button, .flow-actions button { width: 100%; }
.outline-button {
  display: inline-block;
  padding: .6rem 1rem;
  border: 1px solid currentColor;
  border-radius: .4rem;
  color: var(--ink);
  text-align: center;
  text-decoration: none;
}
.outline-button:hover { background: #eee5da; }
.apply main > form, .work-columns form { max-width: none; }
.form-columns, .work-columns, .payment-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
:is(.apply, .work) fieldset { border-radius: .45rem; padding: .6rem 1rem 1rem; }
:is(.apply, .work) legend { padding-inline: .4rem; font-family: var(--display); font-size: 1.2rem; }
:is(.apply, .work) label { font-weight: 700; }
:is(.apply, .work) :is(input:not([type="checkbox"]), select, textarea) { background: #fffaf6; }
:is(.apply, .work) input[type="file"] { font-size: .9rem; }
:is(.apply, .work) main form > button { width: min(100%, 23rem); }
.form-email { overflow-wrap: anywhere; }
.work-columns form, .work-guide { margin: 0; }
.work-categories { margin: 0 0 1rem; }
.work-guide { padding: 1rem 1.15rem; border-block: 1px solid var(--line); align-self: start; }
.work-guide h2 { margin: 0; font-size: 1.3rem; }
.work-guide ul { margin: .6rem 0; padding-inline-start: 1.3rem; }
.work-rights { font-size: .9rem; }

.payment-columns { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.payment-facts, .entry-card { border: 1px solid #cfc3b7; border-radius: .65rem; padding: .8rem 1.25rem; background: #fffaf5; }
.payment-facts { margin: 0; }
.payment-facts div { display: grid; grid-template-columns: minmax(5.8rem, 1fr) minmax(0, 2fr); gap: .65rem; padding-block: .7rem; }
.payment-facts div + div { border-top: 1px solid var(--line); }
.payment-facts dt { font-weight: 700; }
.payment-total { margin: 0; padding: .85rem 1.1rem; border-inline-start: 1px solid var(--line); }
.payment-total h2 { margin: 0; font-size: 1.4rem; }
.payment-total .amount { margin: .1rem 0 .55rem; font: 700 clamp(2rem, 5vw, 3.7rem) var(--display); color: var(--accent); }
.payment-total summary { cursor: pointer; text-decoration: underline; }
.payment-total details p { font-size: .9rem; margin: .45rem 0 0; }
.payment-note { margin: 0; text-align: center; color: #554940; }
.payment-check { display: grid; place-items: center; width: 3rem; height: 3rem; margin: .65rem auto; border-radius: 50%; font-size: 1.65rem; }
.payment-result .payment-facts { max-width: 40rem; margin-inline: auto; }
.payment-result .payment-facts dd { color: var(--accent); }

.entry-card { margin: 1rem auto 0; max-width: 55rem; }
.entry-label { margin: 0; color: #554940; font-size: .9rem; }
.entry-card h2 { margin: 0 0 .8rem; }
.entry-card .states { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; text-align: center; }
.entry-card .states dd { display: inline-block; margin-top: .25rem; border-radius: 2rem; padding: .15rem .75rem; font-size: .92rem; }
.entry-card .is-done dd { color: #254722; background: #deebd5; }
.entry-card .is-pending dd { color: #7a2918; background: #f7e1d9; }
.entry-row { display: grid; grid-template-columns: 9rem minmax(0, 1fr); align-items: baseline; gap: .35rem 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.entry-row h3, .entry-row p { margin: 0; }
.entry-row strong { color: var(--accent); }
.entry-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .65rem; padding-block: 1.05rem .3rem; }
.entry-actions form, .entry-actions .notice { margin: 0; }

@media (max-width: 48rem) {
  .redesigned .shell { width: calc(100% - 2rem); }
  .redesigned .masthead { min-height: 3.5rem; align-items: center; }
  .redesigned .masthead > nav, .redesigned .masthead > .account { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { cursor: pointer; list-style: none; display: grid; place-items: center; width: 2.75rem; min-height: 2.75rem; font-size: 1.35rem; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu[open] { display: contents; }
  .mobile-menu nav, .mobile-menu .account { width: 100%; justify-content: flex-start; }
  .mobile-menu nav { order: 2; }
  .mobile-menu .account { order: 3; padding-bottom: .4rem; }
  .home .masthead { justify-content: space-between; }
  .home .shell { width: calc(100% - 2.5rem); }
  .home .masthead .brand { font-size: 1.55rem; }
  .home .mobile-menu nav, .home .mobile-menu .account { gap: 1rem; }
  .publishing-scene { grid-template-columns: 1fr; gap: 0; min-height: 0; padding: clamp(1.45rem, 5vw, 2.75rem) 0 .8rem; }
  .publishing-intro { padding: 0 .35rem; }
  .publishing-intro h1 { font-size: clamp(1.75rem, 8.2vw, 3.1rem); }
  .publishing-intro p { max-width: 19em; font-size: clamp(1rem, 4.9vw, 1.37rem); margin-block: .65em .3em; }
  .publishing-intro .editorial-link { padding-block: .45rem; }
  .featured-book { justify-self: end; width: clamp(8.4rem, 43vw, 15rem); margin-block-start: .25rem; margin-inline-end: 1.5%; }
  .shipyard-panorama { height: 49%; object-position: center 65%; }
  .project-feature { grid-template-columns: 1fr; gap: 1rem; padding-block: 1.3rem; }
  .project-copy { padding: 0 .35rem; }
  .project-caption { font-size: .88rem; }
  .project-feature h2 { font-size: clamp(1.6rem, 7vw, 2.25rem); margin-block: .35em .15em; }
  .project-feature > img { aspect-ratio: 2.25; object-fit: cover; }
  .company-link-strip .shell { min-height: 3.9rem; }
  .company-link-strip nav { width: 100%; justify-content: space-around; }
  .company-link-strip .editorial-link { justify-content: center; padding-inline: .5rem; flex: 1; }
  .company-link-strip p { display: none; }
  .home-colophon { flex-wrap: wrap; gap: .25rem .75rem; }
  .home-colophon small { width: 100%; }
  .hero-content { padding-inline: .5rem; }
  .hero-content h1 { max-width: 19rem; }
  .home-story section { grid-template-columns: 1fr; }
  .home-story img { aspect-ratio: 2 / 1; }
  .signup form > label { grid-template-columns: 1fr; gap: .25rem; }
  .signup-agreement { font-size: .9rem; }
  .board-list thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .board-list table, .board-list tbody, .board-list td { display: block; }
  .board-list tr { display: block; position: relative; border-bottom: 1px solid var(--line); padding: .7rem 2rem .7rem .15rem; }
  .board-list td { border: 0; padding: 0; }
  .board-list td:first-child { display: none; }
  .board-list td:last-child { width: auto; color: #554940; font-size: .85rem; }
  .board-list td a::after { content: "›"; position: absolute; right: .5rem; top: .65rem; font-size: 1.35rem; }
  .board-list .board-actions > .button { width: 100%; }
  .editor-fields label, .admin-login main form > label { grid-template-columns: 1fr; gap: .25rem; }
  .editor-actions { flex-direction: column; }
  .admin-sidebar { display: none; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-entry-grid { grid-template-columns: 1fr; }
  .admin-table { border: 0; overflow: visible; }
  .admin-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .admin-table table, .admin-table tbody, .admin-table tr { display: block; }
  .admin-table tr { border: 1px solid var(--line); border-radius: .45rem; padding: .45rem; margin-bottom: .55rem; }
  .admin-table td { display: flex; justify-content: space-between; gap: .6rem; padding: .25rem; border: 0; text-align: end; }
  .admin-table td::before { content: attr(data-label); flex: 0 0 auto; font-size: .85rem; font-weight: 700; }
  .admin-board-toolbar > .button { width: 100%; }
  .company .hero { min-height: 14rem; background-position: center, 68% center; }
  .company-overview > :last-child { padding: .7rem 0 0; border: 0; border-top: 1px solid var(--line); }
  .contest-facts, .contest-rules section, .form-columns, .work-columns, .payment-columns, .entry-row { grid-template-columns: 1fr; }
  .contest-facts section + section { border-inline-start: 0; border-top: 1px solid var(--line); }
  .contest-rules section { gap: .3rem; }
  .payment-total { border: 1px solid #cfc3b7; border-radius: .65rem; background: #fffaf5; }
  .entry-card .states { grid-template-columns: 1fr; text-align: start; }
  .entry-card .states div { display: flex; justify-content: space-between; align-items: baseline; gap: .45rem; }
  .entry-card .states dd { margin-top: 0; text-align: center; }
  .entry-actions > *, .entry-actions button { width: 100%; }
}
