:root {
  --ink: #141414;
  --muted: #666;
  --light: #999;
  --line: #e6e6e2;
  --soft: #fafaf7;
  --sun: #f2a900;
  --blue: #1d7fd1;
  --coral: #ee5140;
  --green: #12a177;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  color: var(--ink);
  background: #fff;
  margin: 0;
  font-family:
    Arial,
    Pretendard,
    Noto Sans KR,
    sans-serif;
  font-size: 15px;
  line-height: 1.6;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 2px;
}
.wrap {
  max-width: 1240px;
  margin: auto;
  padding-left: 28px;
  padding-right: 28px;
}
.topbar {
  z-index: 40;
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #fffc;
  position: sticky;
  top: 0;
}
.topbar-inner {
  align-items: center;
  gap: 24px;
  height: 74px;
  display: flex;
}
.logo {
  background: 0 0;
  border: 0;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-size: 20px;
  font-weight: 800;
  display: flex;
}
.logo i {
  background: var(--sun);
  border-radius: 50%;
  width: 11px;
  height: 11px;
  box-shadow: 0 0 0 4px #f2a9002d;
}
.logo b {
  font-weight: 400;
}
.logo small {
  color: var(--light);
  letter-spacing: 0.08em;
  margin-top: -5px;
  font-size: 10px;
  display: block;
}
.topbar nav {
  gap: 30px;
  margin-left: auto;
  display: flex;
}
.topbar nav button {
  letter-spacing: 0.06em;
  color: var(--muted);
  background: 0 0;
  border: 0;
  border-bottom: 2px solid #0000;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 700;
}
.topbar nav button.on {
  color: var(--ink);
  border-color: var(--sun);
}
.utils {
  border-left: 1px solid var(--line);
  gap: 7px;
  margin-left: 22px;
  padding-left: 22px;
  display: flex;
}
.utils button {
  border: 1px solid var(--line);
  background: #fff;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
}
.burger {
  background: 0 0;
  border: 0;
  margin-left: auto;
  font-size: 22px;
  display: none;
}
.slider {
  height: min(72vh, 640px);
  min-height: 520px;
  position: relative;
  overflow: hidden;
}
.slide {
  text-align: center;
  opacity: 0;
  pointer-events: none;
  place-items: center;
  transition: opacity 0.65s;
  display: grid;
  position: absolute;
  inset: 0;
}
.slide.on {
  opacity: 1;
  pointer-events: auto;
}
.slide div {
  padding: 40px;
}
.slide p {
  letter-spacing: 0.26em;
  font-size: 11px;
  font-weight: 700;
}
.slide h1 {
  letter-spacing: -0.075em;
  margin: 36px 0 18px;
  font-size: clamp(64px, 10vw, 145px);
  line-height: 0.8;
}
.slide h2 {
  margin: 0;
  font-size: 18px;
}
.slide button {
  letter-spacing: 0.12em;
  background: 0 0;
  border: 1px solid;
  border-radius: 50px;
  margin-top: 34px;
  padding: 11px 22px;
  font-size: 11px;
  font-weight: 700;
}
.slide-arrow {
  background: #fffd;
  border: 0;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 24px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 2px 14px #0002;
}
.slide-arrow.left {
  left: 26px;
}
.slide-arrow.right {
  right: 26px;
}
.slide-dots {
  justify-content: center;
  gap: 7px;
  display: flex;
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
}
.slide-dots button {
  background: #14141433;
  border: 0;
  width: 28px;
  height: 3px;
  padding: 0;
}
.slide-dots button.on {
  background: #141414;
}
.recent-block {
  border-bottom: 1px solid var(--line);
  padding: 52px 0 58px;
}
.section-head {
  align-items: center;
  margin-bottom: 26px;
  display: flex;
}
.section-head h2 {
  margin: 0;
  font-size: 22px;
}
.section-head button {
  letter-spacing: 0.1em;
  color: var(--light);
  background: 0 0;
  border: 0;
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
}
.recent-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  display: grid;
}
.work-card {
  text-align: left;
  background: 0 0;
  border: 0;
  width: 100%;
  padding: 0;
  display: block;
}
.work-thumb {
  aspect-ratio: 4/5;
  place-items: center;
  padding: 28px;
  display: grid;
  position: relative;
  overflow: hidden;
}
.compact .work-thumb {
  aspect-ratio: 16/10;
}
.work-thumb > span {
  letter-spacing: -0.045em;
  text-align: center;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 900;
  line-height: 0.9;
}
.work-thumb small {
  letter-spacing: 0.13em;
  opacity: 0.55;
  font-size: 9px;
  font-weight: 700;
  position: absolute;
  top: 15px;
  left: 16px;
}
.work-thumb i {
  color: #fff;
  letter-spacing: 0.13em;
  opacity: 0;
  background: #111d;
  place-items: center;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  transition: all 0.25s;
  display: grid;
  position: absolute;
  inset: 0;
}
.work-card:hover .work-thumb i {
  opacity: 1;
}
.work-card > div:last-child {
  border-top: 1px solid var(--line);
  margin-top: 13px;
  padding-top: 13px;
}
.work-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
}
.work-card p {
  color: var(--light);
  margin: 0;
  font-size: 11px;
}
.page-kicker,
.page-head > p,
.modal-form > p,
.work-modal-head > p,
.detail-head p {
  letter-spacing: 0.25em;
  color: #bb8100;
  margin: 0;
  font-size: 10px;
  font-weight: 800;
}
.page-title {
  letter-spacing: -0.05em;
  margin: 8px 0 30px;
  font-size: 48px;
}
.filters {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  display: flex;
}
.filters button,
.status-filters button {
  color: var(--light);
  background: 0 0;
  border: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
}
.filters button.on,
.status-filters button.on {
  color: var(--ink);
}
.filters button.on:before,
.status-filters button.on:before {
  content: "●";
  color: var(--sun);
  vertical-align: 2px;
  margin-right: 6px;
  font-size: 7px;
}
.filters span {
  color: var(--light);
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
}
.works-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 55px 30px;
  padding-top: 46px;
  display: grid;
}
.pager {
  justify-content: center;
  gap: 4px;
  padding: 62px 0 0;
  display: flex;
}
.pager button {
  border: 1px solid var(--line);
  background: #fff;
  min-width: 34px;
  height: 34px;
  font-size: 12px;
}
.pager button.on {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pager button:disabled {
  opacity: 0.3;
}
.subpage {
  min-height: 75vh;
  padding-top: 58px;
  padding-bottom: 100px;
}
.page-head {
  border-bottom: 1px solid var(--line);
  padding-bottom: 34px;
}
.page-head h1 {
  letter-spacing: -0.055em;
  margin: 12px 0 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
}
.page-head > span {
  color: var(--muted);
  max-width: 650px;
  margin-top: 12px;
  display: block;
}
.statement {
  letter-spacing: -0.05em;
  margin: 55px 0 22px;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.35;
}
.statement mark {
  background: linear-gradient(#0000 65%, #f2a90066 65%);
}
.lead {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}
.methods {
  border-top: 2px solid var(--ink);
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
  display: grid;
}
.methods article {
  border-right: 1px solid var(--line);
  padding: 28px 22px;
}
.methods article:last-child {
  border: 0;
}
.methods article > b {
  color: var(--sun);
  font-size: 34px;
}
.methods h3 {
  margin: 16px 0 8px;
  font-size: 17px;
}
.methods p {
  color: var(--muted);
  min-height: 64px;
  font-size: 13px;
}
.methods span {
  letter-spacing: 0.1em;
  color: var(--light);
  font-size: 9px;
}
.about-numbers {
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
  padding-top: 40px;
  display: grid;
}
.about-numbers b {
  letter-spacing: -0.04em;
  font-size: 34px;
  display: block;
}
.about-numbers span {
  color: var(--light);
  font-size: 12px;
}
.order-callout {
  color: #725400;
  background: #fff8e4;
  border: 1px solid #f0d99d;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 28px 0 14px;
  padding: 18px 20px;
  display: flex;
}
.order-callout p {
  margin: 3px 0 0;
  font-size: 13px;
}
.order-callout > div:last-child {
  gap: 6px;
  display: flex;
}
.order-callout button {
  background: #fff;
  border: 1px solid #e5c878;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
}
.order-notice {
  border: 1px solid var(--line);
  margin-bottom: 28px;
}
.order-notice summary {
  cursor: pointer;
  padding: 14px 17px;
  font-weight: 700;
  list-style: none;
}
.order-notice summary:after {
  content: "+";
  float: right;
}
.order-notice[open] summary:after {
  content: "−";
}
.order-notice > div {
  color: var(--muted);
  padding: 0 18px 15px;
  font-size: 13px;
}
.order-notice p {
  margin: 7px 0;
}
.order-toolbar {
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  display: flex;
}
.status-filters {
  flex-wrap: wrap;
  gap: 18px;
  display: flex;
}
.search {
  border: 1px solid var(--line);
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  display: flex;
}
.search input {
  border: 0;
  outline: 0;
  min-width: 190px;
}
.order-table {
  border-top: 2px solid var(--ink);
}
.order-row {
  border: 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  background: #fff;
  grid-template-columns: 80px 110px 2fr 1.2fr 0.8fr 0.8fr 70px;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 10px;
  font-size: 12px;
  display: grid;
}
.order-row:not(.order-head):hover {
  background: var(--soft);
}
.order-head {
  letter-spacing: 0.12em;
  color: var(--light);
  font-size: 9px;
  font-weight: 800;
}
.due {
  font-size: 15px;
}
.due.urgent {
  color: var(--coral);
  border-left: 3px solid var(--coral);
  padding-left: 8px;
}
.order-main > b {
  font-size: 13px;
  display: block;
}
.order-main small {
  color: var(--light);
  margin-top: 4px;
  display: block;
}
.status {
  white-space: nowrap;
  font-size: 11px;
}
.status:before {
  content: "";
  background: #999;
  border-radius: 50%;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  display: inline-block;
}
.status-시안작업 {
  color: var(--blue);
}
.status-시안작업:before {
  background: var(--blue);
}
.status-수정중 {
  color: var(--coral);
}
.status-수정중:before {
  background: var(--coral);
}
.status-제작중 {
  color: #b77f00;
}
.status-제작중:before {
  background: var(--sun);
}
.status-완료 {
  color: var(--green);
}
.status-완료:before {
  background: var(--green);
}
.order-bottom {
  align-items: center;
  padding: 25px 0;
  display: flex;
}
.order-bottom > span {
  color: var(--light);
  font-size: 10px;
  font-weight: 700;
}
.order-bottom > button {
  margin-left: auto;
}
.primary,
.outline {
  border: 1px solid var(--ink);
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 700;
}
.primary {
  background: var(--ink);
  color: #fff;
}
.primary:hover {
  background: var(--sun);
  color: var(--ink);
  border-color: var(--sun);
}
.outline {
  background: #fff;
}
.contact-grid {
  border-top: 2px solid var(--ink);
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: 40px;
  display: grid;
}
.contact-grid > form,
.studio-info {
  padding: 38px 0;
}
.contact-grid > form {
  border-right: 1px solid var(--line);
  gap: 21px;
  padding-right: 52px;
  display: grid;
}
.studio-info {
  padding-left: 52px;
}
.contact-grid h3 {
  letter-spacing: 0.08em;
  margin: 0 0 6px;
  font-size: 14px;
}
.contact-grid label,
.modal-form label {
  letter-spacing: 0.1em;
  color: var(--light);
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
  display: grid;
}
.contact-grid input,
.contact-grid select,
.contact-grid textarea,
.modal-form input,
.modal-form select,
.modal-form textarea,
.comment-input textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  letter-spacing: 0;
  background: 0 0;
  outline: 0;
  padding: 10px 0;
}
.contact-grid textarea,
.modal-form textarea {
  resize: vertical;
}
.form-two {
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  display: grid;
}
.agree {
  letter-spacing: 0 !important;
  grid-template-columns: auto 1fr !important;
  align-items: center !important;
  font-size: 12px !important;
  display: flex !important;
}
.studio-info dl {
  grid-template-columns: 70px 1fr;
  gap: 16px;
  margin: 26px 0;
  font-size: 13px;
  display: grid;
}
.studio-info dt {
  letter-spacing: 0.12em;
  color: var(--light);
  font-size: 9px;
  font-weight: 800;
}
.studio-info p {
  color: var(--muted);
  margin-top: 50px;
  font-size: 13px;
}
footer {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding-top: 54px;
}
.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  display: grid;
}
.footer-grid h2 {
  margin: 0 0 12px;
  font-size: 23px;
}
.footer-grid h3 {
  letter-spacing: 0.15em;
  color: var(--light);
  margin: 0 0 16px;
  font-size: 10px;
}
.footer-grid p {
  color: var(--muted);
  font-size: 12px;
}
.footer-grid section:last-child {
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}
.footer-grid button {
  background: 0 0;
  border: 0;
  padding: 3px 0;
  font-size: 12px;
}
.copyright {
  border-top: 1px solid var(--line);
  letter-spacing: 0.08em;
  color: var(--light);
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 9px;
  display: flex;
}
.notice-popup {
  z-index: 80;
  background: var(--sun);
  flex-direction: column;
  width: min(500px, 92vw);
  height: 500px;
  padding: 38px;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 12px 12px #111;
}
.notice-popup > button {
  background: 0 0;
  border: 0;
  font-size: 28px;
  position: absolute;
  top: 12px;
  right: 18px;
}
.notice-popup small {
  letter-spacing: 0.15em;
  font-weight: 800;
}
.notice-popup h2 {
  letter-spacing: -0.06em;
  margin: 58px 0 24px;
  font-size: 51px;
  line-height: 0.95;
}
.notice-popup p {
  font-size: 13px;
}
.notice-popup label {
  margin-top: auto;
  font-size: 11px;
}
.overlay {
  z-index: 100;
  background: #111b;
  place-items: center;
  padding: 20px;
  display: grid;
  position: fixed;
  inset: 0;
  overflow: auto;
}
.dialog {
  background: #fff;
  width: min(480px, 100%);
  max-height: 94vh;
  padding: 32px;
  position: relative;
  overflow: auto;
}
.dialog.wide {
  width: min(920px, 100%);
  padding: 0;
}
.dialog-close {
  z-index: 3;
  background: #fff;
  border: 0;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  position: absolute;
  top: 12px;
  right: 17px;
}
.work-modal-head,
.detail-head {
  border-bottom: 1px solid var(--line);
  padding: 25px 28px;
}
.work-modal-head h2,
.detail-head h2 {
  margin: 5px 0;
  font-size: 24px;
}
.work-modal-head > span,
.detail-head > div > span {
  color: var(--light);
  font-size: 11px;
}
.project-stage {
  aspect-ratio: 4/5;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: min(480px, 80%);
  margin: 30px auto;
  display: flex;
  position: relative;
  box-shadow: 0 20px 45px #0002;
}
.project-stage strong {
  letter-spacing: -0.05em;
  font-size: 48px;
  line-height: 0.9;
}
.project-stage p {
  font-weight: 700;
}
.project-stage small {
  font-size: 9px;
  position: absolute;
  top: 18px;
  left: 18px;
}
.project-stage > span {
  font-size: 9px;
  position: absolute;
  bottom: 16px;
}
.thumb-strip {
  border-top: 1px solid var(--line);
  justify-content: center;
  gap: 8px;
  padding: 18px;
  display: flex;
}
.thumb-strip button {
  aspect-ratio: 4/5;
  border: 1px solid #0000;
  width: 45px;
  font-size: 9px;
}
.thumb-strip button.on {
  border-color: var(--ink);
}
.detail-head {
  align-items: center;
  display: flex;
}
.detail-head > .status {
  margin-left: auto;
  margin-right: 50px;
}
.locked {
  text-align: center;
  padding: 75px 25px;
}
.locked > i {
  font-size: 35px;
  font-style: normal;
}
.locked h3 {
  margin: 15px 0 8px;
  font-size: 22px;
}
.locked p {
  color: var(--muted);
  font-size: 13px;
}
.locked > div {
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
  display: flex;
}
.order-detail {
  background: var(--soft);
  padding: 26px;
}
.order-summary {
  border: 1px solid var(--line);
  background: #fff;
  grid-template-columns: repeat(4, 1fr);
  display: grid;
}
.order-summary > div {
  border-right: 1px solid var(--line);
  padding: 17px;
}
.order-summary > div:last-child {
  border: 0;
}
.order-summary span {
  color: var(--light);
  margin-bottom: 5px;
  font-size: 9px;
  display: block;
}
.request-body,
.comment-thread {
  border: 1px solid var(--line);
  background: #fff;
  margin-top: 12px;
  padding: 24px;
}
.request-body h3,
.thread-head h3 {
  margin: 0 0 12px;
  font-size: 15px;
}
.request-body p {
  color: var(--muted);
  font-size: 13px;
}
.file-pill {
  background: var(--soft);
  gap: 12px;
  margin-top: 14px;
  padding: 11px 13px;
  font-size: 12px;
  display: flex;
}
.file-pill span {
  color: var(--light);
  margin-left: auto;
}
.thread-head {
  border-bottom: 1px solid var(--line);
  align-items: center;
  padding-bottom: 14px;
  display: flex;
}
.thread-head h3 {
  margin: 0;
}
.thread-head h3 b {
  color: var(--sun);
}
.thread-head span {
  color: var(--light);
  margin-left: auto;
  font-size: 10px;
}
.comment {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.comment header {
  align-items: center;
  gap: 8px;
  font-size: 11px;
  display: flex;
}
.comment header span {
  color: #7a5700;
  background: #f7e7ba;
  padding: 2px 6px;
  font-size: 9px;
}
.comment time {
  color: var(--light);
  margin-left: auto;
}
.comment p {
  font-size: 13px;
}
.proof-image {
  aspect-ratio: 16/10;
  color: #fff;
  background: #2762d2;
  flex-direction: column;
  justify-content: center;
  width: 270px;
  margin-top: 12px;
  padding: 18px;
  display: flex;
  position: relative;
}
.proof-image span,
.proof-image small {
  letter-spacing: 0.1em;
  font-size: 8px;
  position: absolute;
}
.proof-image span {
  top: 12px;
}
.proof-image small {
  bottom: 12px;
}
.proof-image strong {
  font-size: 28px;
  line-height: 0.9;
}
.comment-input {
  gap: 8px;
  margin-top: 18px;
  display: flex;
}
.comment-input textarea {
  background: var(--soft);
  border: 1px solid var(--line);
  flex: 1;
  padding: 12px;
}
.comment-input button {
  background: var(--ink);
  color: #fff;
  border: 0;
  padding: 0 18px;
  font-size: 11px;
  font-weight: 700;
}
.modal-form {
  gap: 18px;
  display: grid;
}
.dialog.wide > .modal-form {
  padding: 34px;
}
.modal-form h2 {
  margin: 0;
  font-size: 26px;
}
.modal-form > span {
  color: var(--muted);
  margin-top: -12px;
  font-size: 12px;
}
.file-drop {
  text-align: center;
  cursor: pointer;
  border: 1px dashed var(--line) !important;
  padding: 23px !important;
}
.file-drop input {
  display: none;
}
.file-drop small {
  letter-spacing: 0;
  margin-top: 5px;
  font-weight: 400;
  display: block;
}
.modal-actions {
  justify-content: flex-end;
  gap: 7px;
  display: flex;
}
.full {
  width: 100%;
}
.tabs {
  border-bottom: 1px solid var(--line);
  gap: 25px;
  display: flex;
}
.tabs button {
  color: var(--light);
  background: 0 0;
  border: 0;
  border-bottom: 2px solid #0000;
  padding: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
}
.tabs button.on {
  color: var(--ink);
  border-color: var(--sun);
}
.or,
.center {
  text-align: center;
  color: var(--light);
  font-size: 10px;
}
@media (width<=900px) {
  .works-grid,
  .methods {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-row {
    grid-template-columns: 75px 100px 2fr 0.8fr;
  }
  .order-row > span:nth-child(4),
  .order-row > span:nth-child(5),
  .order-row > span:nth-child(7) {
    display: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid > form {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
  }
  .studio-info {
    padding-left: 0;
  }
  .order-summary {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-summary > div:nth-child(2) {
    border-right: 0;
  }
  .order-summary > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}
@media (width<=700px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .topbar nav {
    border-bottom: 1px solid var(--line);
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 10px 20px 18px;
    display: none;
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
  }
  .topbar nav.open {
    display: flex;
  }
  .topbar nav button {
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding: 13px 0;
  }
  .utils {
    display: none;
  }
  .burger {
    display: block;
  }
  .slider {
    height: 500px;
    min-height: 0;
  }
  .slide h1 {
    font-size: 58px;
  }
  .slide-arrow {
    width: 38px;
    height: 38px;
  }
  .slide-arrow.left {
    left: 10px;
  }
  .slide-arrow.right {
    right: 10px;
  }
  .recent-grid {
    grid-template-columns: 1fr;
  }
  .works-grid {
    gap: 38px 16px;
  }
  .methods {
    grid-template-columns: 1fr;
  }
  .methods article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .about-numbers {
    grid-template-columns: 1fr;
  }
  .order-callout {
    flex-direction: column;
    align-items: flex-start;
  }
  .order-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .search {
    margin: 0;
  }
  .search input {
    width: 100%;
    min-width: 0;
  }
  .order-row {
    grid-template-columns: 65px 90px 1fr;
  }
  .order-row > span:nth-child(6) {
    display: none;
  }
  .order-head span:nth-child(3) {
    display: block;
  }
  .order-main small {
    font-size: 9px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid section:first-child {
    grid-column: 1/-1;
  }
  .notice-popup {
    height: 390px;
    box-shadow: none;
    top: auto;
    bottom: 0;
  }
  .notice-popup h2 {
    margin-top: 34px;
    font-size: 41px;
  }
  .dialog.wide {
    max-height: 96vh;
  }
  .project-stage {
    width: 80%;
    margin-top: 65px;
  }
  .detail-head {
    align-items: flex-start;
  }
  .detail-head > .status {
    margin: 4px 35px 0 auto;
  }
  .order-detail {
    padding: 12px;
  }
  .request-body,
  .comment-thread {
    padding: 16px;
  }
  .form-two {
    grid-template-columns: 1fr;
  }
  .locked > div {
    flex-direction: column;
  }
  .thread-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .thread-head span {
    margin: 0;
  }
  .proof-image {
    width: 100%;
  }
  .comment-input {
    flex-direction: column;
  }
  .comment-input button {
    padding: 12px;
  }
  .copyright {
    flex-direction: column;
    gap: 10px;
  }
}
@media (width<=470px) {
  .works-grid {
    grid-template-columns: 1fr;
  }
  .page-title {
    font-size: 42px;
  }
  .statement {
    font-size: 27px;
  }
  .status-filters {
    gap: 11px;
  }
  .order-row {
    grid-template-columns: 58px 80px 1fr;
    gap: 7px;
    padding-left: 2px;
    padding-right: 2px;
  }
  .status {
    font-size: 9px;
  }
  .order-main > b {
    font-size: 12px;
  }
  .order-summary {
    grid-template-columns: 1fr;
  }
  .order-summary > div {
    border-bottom: 1px solid var(--line);
    border-right: 0 !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
.section-page {
  padding-top: 64px;
  padding-bottom: 90px;
  scroll-margin-top: 74px;
}
.section-divider {
  border-top: 1px solid var(--line);
  scroll-margin-top: 74px;
}
.works-block {
  padding-top: 64px;
  padding-bottom: 90px;
  scroll-margin-top: 74px;
}
.work-thumb {
  aspect-ratio: 210/297;
}
.order-bottom {
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  display: grid;
}
.order-bottom > .pager {
  padding: 0;
}
.order-bottom > .primary {
  justify-self: end;
  margin-left: 0;
}
@media (width<=900px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (width<=700px) {
  .section-page,
  .works-block {
    padding-top: 48px;
    padding-bottom: 70px;
  }
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 14px;
  }
  .order-bottom {
    grid-template-columns: 1fr auto;
    gap: 18px;
  }
  .order-bottom > .pager {
    grid-area: 2/1 / auto/-1;
  }
  .order-bottom > .primary {
    grid-column: 2;
  }
  .work-card h3 {
    font-size: 13px;
  }
  .work-card p {
    font-size: 10px;
  }
}
@media (width<=470px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 12px;
  }
  .work-thumb {
    padding: 14px;
  }
  .work-thumb > span {
    font-size: 21px;
  }
  .work-thumb small {
    font-size: 7px;
    top: 9px;
    left: 10px;
  }
  .filters {
    gap: 14px;
  }
  .filters span {
    width: 100%;
    margin-left: 0;
  }
  .order-bottom {
    grid-template-columns: 1fr;
  }
  .order-bottom > .primary {
    grid-column: 1;
    justify-self: stretch;
  }
  .order-bottom > .pager {
    grid-row: auto;
  }
}
.member-chip {
  color: #fff;
  background: #111;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 800;
}
.member-order-note {
  border: 1px solid var(--line);
  background: #f7f7f3;
  align-items: center;
  min-height: 44px;
  margin-top: 8px;
  padding: 0 12px;
  font-weight: 700;
  display: flex;
}
.work-thumb.has-image {
  background-position: 50%;
  background-size: cover;
}
.work-thumb.has-image:after {
  content: "";
  opacity: 0;
  background: linear-gradient(#0000 55%, #000000b8);
  transition: all 0.2s;
  position: absolute;
  inset: 0;
}
.work-thumb.has-image:hover:after {
  opacity: 1;
}
.work-thumb.has-image i {
  z-index: 2;
}
.project-stage.has-image {
  background-color: #eee;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
  min-height: min(70vh, 760px);
}
.comment-input {
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 10px;
  display: grid;
}
.comment-input textarea {
  grid-column: 1/-1;
}
.comment-attach {
  border: 1px solid var(--line);
  cursor: pointer;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}
.comment-attach input {
  display: none;
}
.selected-files {
  color: #777;
  overflow-wrap: anywhere;
  grid-column: 1/-1;
  font-size: 11px;
}
.comment-files {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
  display: grid;
}
.comment-files > a {
  color: inherit;
  border: 1px solid var(--line);
  background: #fff;
  flex-direction: column;
  gap: 5px;
  padding: 7px;
  text-decoration: none;
  display: flex;
}
.comment-files img {
  object-fit: contain;
  background: #f4f4f0;
  width: 100%;
  max-height: 360px;
  display: block;
}
.comment-files span {
  overflow-wrap: anywhere;
  font-size: 11px;
}
.comment-files .pdf-file {
  justify-content: center;
  min-height: 92px;
  font-size: 25px;
}
.comment-files .pdf-file b {
  font-size: 13px;
}
.comment-files .pdf-file small {
  color: #777;
  font-size: 11px;
}
.site-popup {
  z-index: 90;
  background: #fff;
  border: 1px solid #222;
  position: fixed;
  overflow: auto;
  box-shadow: 0 20px 70px #0003;
}
.site-popup > img {
  width: 100%;
  height: auto;
  display: block;
}
.site-popup > div {
  padding: 24px;
}
.site-popup b {
  font-size: 22px;
}
.site-popup p {
  white-space: pre-line;
}
.site-popup a {
  color: #111;
  font-weight: 800;
  display: inline-block;
}
.site-popup-close {
  color: #fff;
  z-index: 1;
  background: #111;
  border: 0;
  width: 34px;
  height: 34px;
  font-size: 23px;
  position: absolute;
  top: 8px;
  right: 8px;
}
.site-popup-today {
  border: 0;
  border-top: 1px solid var(--line);
  background: #f7f7f3;
  width: 100%;
  padding: 10px;
}
@media (width<=700px) {
  .utils .member-chip {
    display: none;
  }
  .comment-files {
    grid-template-columns: 1fr;
  }
  .site-popup {
    right: 12px;
    width: auto !important;
    max-height: 70vh !important;
    top: 84px !important;
    left: 12px !important;
  }
  .project-stage.has-image {
    min-height: 52vh;
  }
  .comment-input {
    grid-template-columns: 1fr;
  }
  .comment-input > * {
    grid-column: 1 !important;
  }
}
.works-block {
  max-width: 1320px;
}
.work-filters {
  border: 0;
  gap: 7px;
  padding: 0 0 22px;
}
.work-filters button {
  border: 1px solid var(--line);
  color: #666;
  background: #fff;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 11px;
  line-height: 1;
  transition: all 0.18s;
}
.work-filters button.on,
.work-filters button:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.work-filters button.on:before {
  display: none;
}
.works-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px 10px;
  padding-top: 14px;
}
.work-thumb {
  aspect-ratio: 16/9;
  padding: 20px;
}
.work-thumb > small {
  letter-spacing: 0.13em;
  opacity: 0.55;
  font-size: 9px;
  font-weight: 700;
  position: absolute;
  top: 15px;
  left: 16px;
}
.work-thumb i {
  text-align: left;
  opacity: 0;
  background: #111e;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px;
  display: flex;
  inset: 0;
}
.work-thumb i b {
  letter-spacing: -0.04em;
  font-size: 18px;
  line-height: 1.25;
}
.work-thumb i em {
  opacity: 0.8;
  margin-top: 7px;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
}
.work-thumb i small {
  letter-spacing: 0.08em;
  opacity: 0.65;
  margin-top: 3px;
  font-size: 10px;
  position: static;
}
.order-page .page-head {
  padding-bottom: 20px;
}
.order-page .page-head h1 {
  margin-top: 7px;
  font-size: clamp(30px, 3vw, 38px);
}
.order-page .page-head > p {
  font-size: 9px;
}
.order-search-only {
  justify-content: flex-end;
  margin-bottom: 15px;
}
.form-routing {
  color: var(--muted);
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
}
.about-kicker {
  letter-spacing: 0.25em;
  color: #bb8100;
  margin: 0;
  font-size: 10px;
  font-weight: 800;
}
@media (width<=900px) {
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }
}
@media (width<=700px) {
  .work-filters {
    gap: 6px;
  }
  .work-filters button {
    padding: 6px 9px;
    font-size: 10px;
  }
  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 8px;
  }
  .work-thumb {
    padding: 12px;
  }
  .work-thumb > span {
    font-size: clamp(18px, 5vw, 28px);
  }
  .work-thumb > small {
    font-size: 7px;
    top: 9px;
    left: 10px;
  }
  .work-thumb i {
    padding: 12px;
  }
  .work-thumb i b {
    font-size: 13px;
  }
  .work-thumb i em,
  .work-thumb i small {
    font-size: 9px;
  }
}
.topbar .wrap {
  max-width: 1320px;
}
.topbar-inner {
  gap: 18px;
}
.logo {
  letter-spacing: -0.055em;
  font-size: 20px;
  font-weight: 800;
}
.order-callout {
  margin-top: 0;
}
.order-support-row {
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: start;
  gap: 12px;
  margin-bottom: 15px;
  display: grid;
}
.order-support-row .order-notice {
  margin: 0;
}
.order-support-row .order-toolbar {
  min-width: 0;
  margin: 0;
}
.order-support-row .search {
  width: 100%;
  min-height: 46px;
  margin: 0;
}
.order-support-row .search input {
  width: 100%;
  min-width: 0;
}
#about {
  background: #f2eee4;
  border-top-color: #e5dece;
}
#about .section-page {
  padding-top: 72px;
  padding-bottom: 92px;
}
#about .lead {
  color: #504c44;
  max-width: 760px;
}
#contact .page-head h1 {
  letter-spacing: -0.05em;
  margin: 32px 0 0;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.35;
}
@media (width<=700px) {
  .works-block {
    padding-top: 24px;
    padding-bottom: 30px;
  }
  .works-block .pager {
    padding-top: 26px;
  }
  .order-page {
    padding-top: 36px;
  }
  .order-support-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .order-support-row .search {
    min-height: 42px;
  }
  #about .section-page {
    padding-top: 54px;
    padding-bottom: 64px;
  }
  #contact .page-head h1 {
    margin-top: 24px;
  }
}
.logo {
  letter-spacing: -0.075em;
  font-size: 27px;
}
.works-block .pager,
.order-page {
  padding-top: 18px;
}
@media (width<=700px) {
  .logo {
    font-size: 23px;
  }
  .works-block {
    padding-top: 16px;
    padding-bottom: 10px;
  }
  .work-filters {
    padding-bottom: 10px;
  }
  .works-grid {
    gap: 8px;
    padding-top: 6px;
  }
  .works-block .pager,
  .order-page {
    padding-top: 16px;
  }
}
.order-page,
.contact-page {
  max-width: 1320px;
}
.logo {
  align-items: baseline;
  gap: 7px;
}
.logo-title {
  letter-spacing: -0.085em;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.logo-tagline {
  letter-spacing: 0.02em;
  color: #969696;
  white-space: nowrap;
  font-size: 6px;
  font-weight: 700;
}
@media (width<=700px) {
  .logo {
    gap: 5px;
  }
  .logo-title {
    font-size: 25px;
  }
  .logo-tagline {
    font-size: 5px;
  }
}
.logo-title {
  font-size: 36px;
}
.logo-tagline {
  letter-spacing: -0.02em;
  font-size: 12px;
}
#contact .page-head h1 {
  letter-spacing: -0.07em;
  white-space: nowrap;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.2;
}
#contact .page-head h1 mark {
  color: inherit;
  background: linear-gradient(#0000 70%, #f2a90082 70%);
  padding: 0 0.015em;
}
@media (width<=700px) {
  .logo-title {
    font-size: 28px;
  }
  .logo-tagline {
    font-size: 9px;
  }
  #contact .page-head h1 {
    letter-spacing: -0.1em;
    white-space: nowrap;
    font-size: 20px;
  }
}
.works-block {
  padding-top: 28px;
  padding-bottom: 0;
}
.work-filters {
  padding-bottom: 0;
}
.works-grid {
  gap: 4px 10px;
  padding-top: 8px;
}
.works-block .pager {
  padding-top: 14px;
}
#about .section-page {
  padding-top: 48px;
}
.order-page {
  padding-top: 8px;
}
@media (width<=700px) {
  .works-block {
    padding-top: 20px;
    padding-bottom: 0;
  }
  .works-grid {
    gap: 4px 8px;
    padding-top: 8px;
  }
  .works-block .pager {
    padding-top: 12px;
  }
  .order-page {
    padding-top: 8px;
  }
  #about .section-page {
    padding-top: 44px;
  }
}
.order-state {
  border-bottom: 1px solid var(--line);
  text-align: center;
  color: var(--light);
  padding: 34px 16px;
  font-size: 12px;
}
.order-state.error {
  color: var(--coral);
}
.file-button {
  text-align: left;
  cursor: pointer;
  border: 0;
  width: 100%;
}
.file-button:hover {
  background: #ece8df;
}
.empty-thread {
  color: var(--light);
  text-align: center;
  padding: 24px 0;
  font-size: 12px;
}
.form-status {
  background: #f7f3e9;
  padding: 10px 12px;
  color: #6f5200 !important;
  margin: 0 !important;
  font-size: 12px !important;
}
.form-status.error,
.form-error {
  color: #b13b2e !important;
}
.modal-form button:disabled,
.comment-input button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.filter-groups {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 8px;
}
.filter-group > span {
  display: block;
  color: var(--light);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.filter-group .work-filters {
  border: 0;
  padding: 0;
}
.filter-reset {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.filter-reset.on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.detail-head-actions {
  margin-left: auto;
  margin-right: 44px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.detail-head-actions .outline,
.detail-head-actions .danger-button {
  padding: 7px 10px;
  font-size: 11px;
}
.danger-button {
  background: #fff;
  color: #b42318;
  border: 1px solid #d8aaa6;
  font-weight: 700;
}
.edit-order-form {
  border: 1px solid #d9d3c3;
  background: #fff8e4;
  padding: 22px;
  margin-bottom: 12px;
  display: grid;
  gap: 16px;
}
.edit-order-form h3 {
  margin: 0;
  font-size: 17px;
}
.edit-order-form label {
  letter-spacing: 0.08em;
  color: var(--light);
  gap: 6px;
  font-size: 9px;
  font-weight: 800;
  display: grid;
}
.edit-order-form input,
.edit-order-form textarea {
  border: 0;
  border-bottom: 1px solid #d9d3c3;
  background: transparent;
  padding: 9px 0;
  color: var(--ink);
  letter-spacing: 0;
}
.edit-order-form textarea {
  resize: vertical;
}
.edit-order-form > .primary {
  justify-self: end;
}
@media (width <= 900px) {
  .filter-groups {
    grid-template-columns: 1fr;
  }
  .filter-reset {
    justify-self: start;
  }
  .detail-head {
    gap: 10px;
  }
  .detail-head-actions {
    margin-left: auto;
    margin-right: 32px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .detail-head-actions > .status {
    width: 100%;
    text-align: right;
  }
}
@media (width <= 700px) {
  .filter-groups {
    margin-bottom: 4px;
  }
  .filter-group > span {
    margin-top: 4px;
  }
  .detail-head {
    display: block;
    padding-right: 52px;
  }
  .detail-head-actions {
    margin: 12px 0 0;
    justify-content: flex-start;
  }
  .detail-head-actions > .status {
    width: auto;
    text-align: left;
  }
  .edit-order-form {
    padding: 15px;
  }
  .edit-order-form > .primary {
    width: 100%;
    justify-self: stretch;
  }
}

/* v7 final precedence */
#contact .page-head {
  border-bottom: 0;
}
#contact select,
#contact input[type="date"] {
  font-weight: 300;
}
.messenger-links a:first-child {
  background: #fff6cc;
  border-color: #eadc93;
}
.messenger-links a:last-child {
  background: #e5f5ff;
  border-color: #b9ddef;
}
.form-status.success {
  color: #146b86 !important;
  background: #e8f7ff;
  border-left: 4px solid #42a9cc;
}
.form-status.error {
  color: #b42318 !important;
  background: #fff0ed;
  border-left: 4px solid #d92d20;
  padding: 12px 14px;
  font-weight: 800;
}
.site-popup {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
}
.site-popup-media {
  display: flex;
  min-height: 0;
  background: #fff;
  text-decoration: none;
}
.site-popup-media img,
.site-popup > img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 70px);
  object-fit: contain;
  display: block;
}
.site-popup > div.site-popup-actions {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  flex: 0 0 auto;
  padding: 0;
  border-top: 1px solid var(--line);
}
.site-popup-actions button {
  border: 0;
  background: #f7f7f3;
  padding: 11px 8px;
  font-size: 11px;
  font-weight: 700;
}
.site-popup-actions button + button {
  border-left: 1px solid var(--line);
}
footer {
  padding: 42px 0 28px;
}
.footer-story,
.footer-rights {
  margin-top: 0;
  margin-bottom: 0;
}
.footer-story {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}
.footer-rights {
  color: var(--light);
  margin-top: 9px;
  font-size: 10px;
  letter-spacing: 0.04em;
}
@media (width <= 700px) {
  .site-popup {
    top: 78px !important;
    right: 12px;
    left: 12px !important;
    width: auto !important;
    max-height: calc(100vh - 90px) !important;
  }
  .site-popup-media img,
  .site-popup > img {
    max-height: calc(100vh - 136px);
  }
  footer {
    padding: 34px 0 24px;
  }
}

/* v7 popup, contact and footer refinements */
#contact .page-head {
  border-bottom: 0;
}
#contact select,
#contact input[type="date"] {
  font-weight: 300;
}
.messenger-links a:first-child {
  background: #fff6cc;
  border-color: #eadc93;
}
.messenger-links a:last-child {
  background: #e5f5ff;
  border-color: #b9ddef;
}
.messenger-links a:hover {
  color: #111;
  filter: brightness(0.97);
}
.form-status.success {
  color: #146b86 !important;
  background: #e8f7ff;
  border-left-color: #42a9cc;
}
.form-status.error {
  color: #b42318 !important;
  background: #fff0ed;
  border-left: 4px solid #d92d20;
  padding: 12px 14px;
  font-weight: 800;
}
.site-popup {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
}
.site-popup-media {
  display: flex;
  min-height: 0;
  background: #fff;
  text-decoration: none;
}
.site-popup-media img,
.site-popup > img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 70px);
  object-fit: contain;
  display: block;
}
.site-popup > div.site-popup-actions {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  flex: 0 0 auto;
  padding: 0;
  border-top: 1px solid var(--line);
}
.site-popup-actions button {
  border: 0;
  background: #f7f7f3;
  padding: 11px 8px;
  font-size: 11px;
  font-weight: 700;
}
.site-popup-actions button + button {
  border-left: 1px solid var(--line);
}
footer {
  padding: 42px 0 28px;
}
.footer-story,
.footer-rights {
  margin-top: 0;
  margin-bottom: 0;
}
.footer-story {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}
.footer-rights {
  color: var(--light);
  margin-top: 9px;
  font-size: 10px;
  letter-spacing: 0.04em;
}
@media (width <= 700px) {
  .site-popup {
    top: 78px !important;
    right: 12px;
    left: 12px !important;
    width: auto !important;
    max-height: calc(100vh - 90px) !important;
  }
  .site-popup-media img,
  .site-popup > img {
    max-height: calc(100vh - 136px);
  }
  footer {
    padding: 34px 0 24px;
  }
}

/* v6 operator login, filters, contact and image fitting */
.utils button.admin-active {
  color: #fff;
  background: #111;
  border-color: #111;
}
.filter-groups {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.filter-groups > .work-filters {
  display: flex;
  flex: 1 1 720px;
  flex-wrap: wrap;
  gap: 6px;
  border: 0;
  padding: 0;
}
.filter-reset {
  flex: 0 0 auto;
}
#contact input::placeholder,
#contact textarea::placeholder {
  color: #b9b9b5;
  font-weight: 300;
  opacity: 1;
}
.messenger-note {
  display: inline-block;
  margin-top: 8px;
  color: #777;
  font-size: 12px;
  font-weight: 400;
}
.messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 13px 0 9px;
}
.messenger-links a {
  color: #222;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}
.messenger-links a:hover {
  color: #111;
  filter: brightness(0.97);
}
.form-status.success {
  color: #146b86 !important;
  background: #e8f7ff;
  border-left: 4px solid #42a9cc;
  padding: 12px 14px;
  font-weight: 800;
}
.work-thumb.has-image,
.project-stage.has-image,
.portfolio-thumbs button {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

/* v5 spacing, order list and membership refinements */
.site-shell {
  padding-top: 12px;
}
#order {
  border-top: 0;
}
.works-block {
  padding-bottom: 32px;
}
.order-page {
  padding-top: 34px;
  padding-bottom: 34px;
}
.order-callout {
  color: #454545;
  background: #f5f5f3;
  border-color: #e5e5e1;
  margin-top: 0;
}
.order-callout button {
  border-color: #d8d8d4;
}
#about .section-page {
  padding-top: 38px;
  padding-bottom: 36px;
}
.order-row {
  grid-template-columns: 78px 98px minmax(260px, 2.5fr) 1.2fr 0.85fr 72px;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  font-weight: 400;
}
.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: #b9b9b5;
  font-weight: 300;
}
.member-help {
  line-height: 1.65;
}
@media (width <= 900px) {
  .order-row {
    grid-template-columns: 64px 84px minmax(0, 1fr);
  }
  .order-row > span:nth-child(4),
  .order-row > span:nth-child(5),
  .order-row > span:nth-child(6) {
    display: none;
  }
}
@media (width <= 700px) {
  .site-shell {
    padding-top: 8px;
  }
  .works-block {
    padding-bottom: 28px;
  }
  .order-page {
    padding-top: 30px;
    padding-bottom: 28px;
  }
  #about .section-page {
    padding-top: 34px;
    padding-bottom: 30px;
  }
}

/* 2026-07 final layout and form refinements */
.works-grid {
  gap: 4px;
}
.works-block {
  padding-bottom: 26px;
}
.works-block .pager {
  padding-top: 18px;
}
.order-page {
  padding-top: 30px;
}
#about .section-page {
  padding-bottom: 58px;
}
.order-row {
  font-size: 13px;
}
.order-main > b {
  font-size: 14px;
}
.order-main .comment-count {
  color: #d3342a;
  margin-left: 6px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}
.due,
.due.urgent {
  font-size: 13px;
}
.due.urgent {
  border-left-width: 2px;
  padding-left: 6px;
}
.field-label {
  align-items: baseline;
  gap: 4px;
  display: flex;
}
.required-star {
  color: #d3342a;
  font-size: 13px;
  font-style: normal;
}
.field-help {
  color: #777;
  margin: -8px 0 0;
  font-size: 12px;
}
.modal-form label {
  font-size: 11px;
}
.modal-form input,
.modal-form select,
.modal-form textarea,
.modal-form .file-drop {
  font-size: 14px;
}
.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: #b7b3aa;
  opacity: 1;
}
#contact .contact-grid,
#contact .contact-grid input,
#contact .contact-grid select,
#contact .contact-grid textarea,
#contact .studio-info dl,
#contact .studio-info p {
  font-size: 14px;
}
.project-arrows {
  pointer-events: none;
  justify-content: space-between;
  width: 100%;
  padding: 0 14px;
  display: flex;
  position: absolute;
  left: 0;
}
.project-arrows button {
  pointer-events: auto;
  color: #fff;
  border: 0;
  border-radius: 50%;
  background: #0009;
  width: 38px;
  height: 38px;
  font-size: 25px;
}
.portfolio-thumbs button {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (width <= 700px) {
  .works-grid {
    gap: 4px;
  }
  .works-block {
    padding-bottom: 22px;
  }
  .order-page {
    padding-top: 26px;
  }
  #about .section-page {
    padding-bottom: 46px;
  }
}

/* v5 final precedence */
.site-shell {
  padding-top: 12px;
}
#order {
  border-top: 0;
}
.works-block {
  padding-bottom: 32px;
}
.order-page {
  padding-top: 34px;
  padding-bottom: 34px;
}
.order-callout {
  color: #454545;
  background: #f5f5f3;
  border-color: #e5e5e1;
  margin-top: 0;
}
.order-callout button {
  border-color: #d8d8d4;
}
#about .section-page {
  padding-top: 38px;
  padding-bottom: 36px;
}
.order-row {
  grid-template-columns: 78px 98px minmax(260px, 2.5fr) 1.2fr 0.85fr 72px;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  font-weight: 400;
}
.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: #b9b9b5;
  font-weight: 300;
}
.member-help {
  line-height: 1.65;
}
@media (width <= 900px) {
  .order-row {
    grid-template-columns: 64px 84px minmax(0, 1fr);
  }
  .order-row > span:nth-child(4),
  .order-row > span:nth-child(5),
  .order-row > span:nth-child(6) {
    display: none;
  }
}
@media (width <= 700px) {
  .site-shell {
    padding-top: 8px;
  }
  .works-block {
    padding-bottom: 28px;
  }
  .order-page {
    padding-top: 30px;
    padding-bottom: 28px;
  }
  #about .section-page {
    padding-top: 34px;
    padding-bottom: 30px;
  }
}

/* ═══ v8 수정 ══════════════════════════════════════════════ */

/* 1. 하단 문구를 위 본문과 같은 폭으로 맞춰 왼쪽 정렬 */
.footer-story,
.footer-rights {
  max-width: 1320px;
}
.footer-story {
  font-size: 13px;
}

/* 2. 포트폴리오 이미지가 잘리지 않도록 (cover → contain) */
.work-thumb.has-image {
  background-color: #f4f4f1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
.portfolio-thumbs button {
  background-color: #f4f4f1;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
/* 3. 팝업 버튼 — 하루 동안 보지 않기(넓게) | 닫기(좁게) */
.site-popup > div.site-popup-actions {
  grid-template-columns: 1.3fr 0.7fr;
}

/* ═══ v8-3: 포트폴리오 뷰어 ═══════════════════════════════
   칸 크기는 사진 방향과 상관없이 항상 같습니다.
   사진은 칸 안에 통째로 들어가며 잘리거나 반복되지 않습니다.
   전체가 한 화면에 들어가 스크롤이 생기지 않습니다.            */

.dialog.wide {
  max-height: 94vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.work-modal-head {
  flex: 0 0 auto;
}

/* 고정 크기 무대 */
.project-stage.has-image {
  aspect-ratio: auto;
  width: 100%;
  max-width: none;
  height: clamp(320px, 58vh, 620px);
  margin: 22px 0 6px;
  padding: 0 24px;
  background: none;
  box-shadow: none;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* 사진은 칸 안에 통째로 */
.project-stage-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
}

/* 장수 표시는 사진을 가리지 않게 아래로 */
.project-stage.has-image > span {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--light);
}
.project-stage.has-image {
  position: relative;
}

.thumb-strip {
  flex: 0 0 auto;
}

/* ─── 썸네일은 칸에 맞게, 확대·잘림 없음 ─── */
.work-thumb.has-image,
.portfolio-thumbs button,
.thumb-strip button {
  background-color: #f4f4f1;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 720px) {
  .project-stage.has-image {
    height: clamp(260px, 46vh, 420px);
    padding: 0 14px;
    margin: 16px 0 4px;
  }
  .thumb-strip {
    padding: 12px;
  }
}

/* ═══ v8-4: 목록 썸네일 — 칸에 맞게, 확대·잘림 없음 ═══════ */
.work-thumb.has-image {
  background: #f4f4f1;
  padding: 0;
}
.work-thumb-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: #f4f4f1;
}
/* 연도 표기와 설명 덮개가 사진 위에 오도록 */
.work-thumb > small,
.work-thumb > i,
.work-thumb::after {
  z-index: 2;
}

/* ═══ v9: 함정 입력칸 — 사람 눈에는 보이지 않음 ═══════════ */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ═══ v9: CONTACT 제목·설명을 ABOUT과 같은 크기·간격으로 ═══ */
#contact .page-head h1 {
  letter-spacing: -0.05em;
  margin: 55px 0 22px;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 800;
  line-height: 1.35;
}
#contact .page-head span {
  display: block;
  max-width: 720px;
  color: #504c44;
  font-size: 16px;
  line-height: 1.9;
}
@media (max-width: 720px) {
  #contact .page-head h1 {
    margin: 34px 0 16px;
    font-size: 27px;
  }
  #contact .page-head span {
    font-size: 15px;
    line-height: 1.8;
  }
}
