:root {
  --kraft: #c9a26b;
  --kraft-light: #dcbd8c;
  --kraft-pale: #ead6b2;
  --kraft-dark: #a87d45;
  --kraft-deep: #7a5426;
  --ink: #2a1d10;
  --ink-soft: #4a3720;
  --stamp: #b3261e;
  --tape: rgba(222, 196, 140, .82);
  --kakao: #fee500;
  --kakao-ink: #191600;
  --paper: #f4ead6;
  --radius: 4px;
  --wrap: 1120px;
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .08 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --fibers: repeating-linear-gradient(97deg, rgba(122, 84, 38, .05) 0 1px, transparent 1px 7px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--kraft);
  background-image: var(--noise), var(--fibers);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
}
img, svg { display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, .logo-text, .stamp, .sec-no, .step-n, .label-k, .tag, .box-label, .mark, .box-code {
  font-family: "Black Han Sans", "Noto Sans KR", sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
}

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px;
  border: 2px solid var(--b); border-radius: var(--radius);
  font: 700 16px/1 "Noto Sans KR", sans-serif;
  text-decoration: none; cursor: pointer;
  box-shadow: 4px 4px 0 var(--b);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--b); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--b); }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--stamp); outline-offset: 2px;
}
.btn-ink { background: var(--ink); color: var(--kraft-pale); box-shadow: 4px 4px 0 var(--kraft-deep); }
.btn-ink:hover { box-shadow: 5px 5px 0 var(--kraft-deep); }
.btn-kakao { background: var(--kakao); color: var(--kakao-ink); }
.btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; box-shadow: 3px 3px 0 var(--b); }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(201, 162, 107, .94);
  background-image: var(--noise);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--ink);
}
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; color: #1b1866; flex: none; }
.logo-foot .logo-mark { color: var(--kraft-light); }
.addr { margin-top: 22px; padding: 18px 22px; font-style: normal; font-weight: 700; background: var(--paper); border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.addr .c-k { font-family: "Black Han Sans", sans-serif; font-size: 20px; font-weight: 400; }
.addr a { margin-left: auto; font-size: 14px; color: var(--ink-soft); }
.logo-cube {
  width: 30px; height: 30px; position: relative;
  background: var(--kraft-light); border: 2px solid var(--ink);
  transform: rotate(-6deg);
}
.logo-cube::before { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 8px; margin-left: -4px; background: var(--tape); border-inline: 1px solid rgba(42,29,16,.25); }
.logo-text { font-size: 22px; line-height: 1; display: flex; flex-direction: column; }
.logo-text small { font: 700 11px/1.2 "Noto Sans KR", sans-serif; letter-spacing: .3em; color: var(--ink-soft); margin-top: 3px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 700; font-size: 15px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 88px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.stamp {
  display: inline-block; margin: 0 0 18px;
  padding: 6px 14px; font-size: 18px; letter-spacing: .12em;
  border: 3px solid currentColor; border-radius: 3px;
  transform: rotate(-4deg);
  opacity: .88;
}
.stamp-red { color: var(--stamp); }
.hero h1 { font-size: clamp(48px, 8vw, 92px); line-height: 1.02; margin: 0 0 22px; color: var(--ink); text-shadow: 2px 2px 0 var(--kraft-light); }
.lead { font-size: clamp(16px, 2vw, 19px); margin: 0 0 32px; color: var(--ink-soft); }
.lead b { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* the box illustration */
.hero-box { display: flex; justify-content: center; perspective: 900px; }
.box {
  position: relative; width: min(100%, 400px); aspect-ratio: 1 / .9;
  background-color: var(--kraft-light);
  background-image: var(--noise), var(--fibers), linear-gradient(160deg, rgba(255,255,255,.18), rgba(0,0,0,.08));
  border: 2px solid var(--kraft-deep);
  box-shadow: 16px 18px 0 rgba(42, 29, 16, .22), inset 0 0 40px rgba(122, 84, 38, .25);
  transform: rotate(3deg);
  animation: settle 1s cubic-bezier(.2, .9, .3, 1.2) both;
}
@keyframes settle { from { transform: translateY(-40px) rotate(-6deg); opacity: 0; } to { transform: rotate(3deg); opacity: 1; } }
.box::after { /* flap crease */
  content: ""; position: absolute; left: 0; right: 0; top: 28%;
  border-top: 2px dashed rgba(122, 84, 38, .35);
}
.tape {
  position: absolute; left: 50%; top: -14px; bottom: -14px; width: 68px; margin-left: -34px;
  background: var(--tape);
  background-image: linear-gradient(90deg, rgba(255,255,255,.25), transparent 30%, transparent 70%, rgba(255,255,255,.18));
  border-inline: 1px solid rgba(122, 84, 38, .3);
  clip-path: polygon(0 2%, 8% 0, 18% 2%, 30% 0, 42% 2%, 55% 0, 68% 2%, 80% 0, 92% 2%, 100% 0, 100% 98%, 90% 100%, 78% 98%, 64% 100%, 50% 98%, 36% 100%, 22% 98%, 10% 100%, 0 98%);
}
.box-label {
  position: absolute; left: 8%; top: 38%;
  display: flex; flex-direction: column; align-items: center;
  color: var(--ink); font-size: 18px; opacity: .82;
}
.box-label .arrows { font-size: 44px; line-height: 1; letter-spacing: -.1em; }
.box-marks { position: absolute; right: 7%; top: 36%; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.mark { border: 2px solid var(--ink); padding: 4px 8px; font-size: 12px; line-height: 1.15; text-align: center; opacity: .78; }
.mark-icon { width: 44px; height: 44px; padding: 5px; }
.mark-icon svg { width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.box-code { position: absolute; left: 0; right: 0; bottom: 8%; text-align: center; font-size: 14px; letter-spacing: .2em; color: var(--stamp); opacity: .75; }

/* corrugated edge divider: liner / flute / liner */
.flute {
  height: 26px;
  background:
    linear-gradient(var(--kraft-deep), var(--kraft-deep)) top / 100% 3px no-repeat,
    linear-gradient(var(--kraft-deep), var(--kraft-deep)) bottom / 100% 3px no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='26' viewBox='0 0 28 26'%3E%3Cpath d='M0 23 C7 23 7 3 14 3 S21 23 28 23' fill='none' stroke='%237a5426' stroke-width='2.5'/%3E%3C/svg%3E") repeat-x center / 28px 26px,
    var(--kraft-dark);
}

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section-dark {
  background-color: var(--kraft-dark);
  background-image: var(--noise), var(--fibers);
  border-block: 2px solid var(--ink);
}
.sec-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 36px; border-bottom: 3px solid var(--ink); padding-bottom: 12px; }
.sec-no { font-size: 18px; color: var(--stamp); }
.sec-head h2 { margin: 0; font-size: clamp(32px, 4.5vw, 48px); line-height: 1; }
.sec-sub { margin: -16px 0 32px; color: var(--ink-soft); font-weight: 500; }

/* about */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.about-text p { margin: 0 0 16px; font-size: 17px; }
.about-text .big { font-size: clamp(24px, 3vw, 32px); font-weight: 900; line-height: 1.35; margin-bottom: 22px; }
.about-text em { font-style: normal; background: linear-gradient(transparent 58%, var(--kraft-pale) 58%); }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.label-card {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 18px; background: var(--paper);
  border: 2px solid var(--ink); border-left-width: 10px;
  box-shadow: 4px 4px 0 rgba(42, 29, 16, .25);
}
.label-card:nth-child(2) { transform: rotate(.6deg); }
.label-card:nth-child(3) { transform: rotate(-.5deg); }
.label-k { font-size: 22px; }
.label-v { color: var(--ink-soft); font-size: 15px; }

/* products */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  position: relative; padding: 24px 20px 22px;
  background-color: var(--kraft-light);
  background-image: var(--noise), var(--fibers);
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.product:hover { transform: translate(-2px, -3px); box-shadow: 8px 9px 0 var(--ink); }
.product h3 { font-size: 22px; margin: 16px 0 8px; }
.product p { margin: 0 0 18px; font-size: 15px; color: var(--ink-soft); flex: 1; }
.tag { align-self: flex-start; font-size: 13px; padding: 3px 10px; border: 2px solid var(--stamp); color: var(--stamp); transform: rotate(-2deg); }
.p-ico { height: 64px; display: flex; align-items: center; }
.ico-box, .ico-die, .ico-pad { position: relative; display: block; width: 64px; height: 52px; border: 2.5px solid var(--ink); background: var(--kraft-pale); }
.ico-box::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 14px; margin-left: -7px; background: var(--tape); border-inline: 1.5px solid var(--kraft-deep); }
.ico-print { display: grid; place-items: center; width: 64px; height: 52px; border: 2.5px solid var(--ink); background: var(--kraft-pale); font: 400 15px "Black Han Sans", sans-serif; color: var(--stamp); }
.ico-die { border-style: dashed; border-radius: 0 18px 0 18px; }
.ico-die::before { content: ""; position: absolute; left: 50%; top: 8px; width: 24px; height: 8px; margin-left: -12px; border: 2.5px solid var(--ink); border-radius: 8px; }
.ico-pad { background:
  linear-gradient(var(--ink), var(--ink)) 50% 0 / 2.5px 100% no-repeat,
  linear-gradient(var(--ink), var(--ink)) 0 50% / 100% 2.5px no-repeat,
  var(--kraft-pale); }

/* process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 22px 0 0; }
.steps li:not(:last-child)::after {
  content: ""; position: absolute; top: 27px; left: 66px; right: 10px;
  border-top: 3px dashed var(--ink); opacity: .5;
}
.step-n {
  display: grid; place-items: center; width: 56px; height: 56px; font-size: 26px;
  background: var(--ink); color: var(--kraft-pale);
  border-radius: 50%; position: relative; z-index: 1;
  box-shadow: 0 0 0 5px var(--kraft);
}
.steps h3 { font-size: 22px; margin: 16px 0 6px; }
.steps p { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* quote form */
.quote {
  position: relative; max-width: 860px; margin: 0 auto;
  padding: 44px 40px 36px;
  background: var(--paper);
  background-image: var(--noise);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 rgba(42, 29, 16, .3);
}
.quote .tape { top: -16px; bottom: auto; height: 34px; width: 120px; margin: 0; clip-path: polygon(3% 0, 97% 4%, 100% 100%, 0 96%); }
.quote .tape-l { left: -20px; transform: rotate(-24deg); }
.quote .tape-r { left: auto; right: -20px; transform: rotate(22deg); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.f { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.f-full { grid-column: 1 / -1; }
.f > span, .f legend { font-weight: 700; font-size: 15px; padding: 0; }
.f i { color: var(--stamp); font-style: normal; }
input, select, textarea {
  width: 100%; font: 500 16px/1.4 "Noto Sans KR", sans-serif; color: var(--ink);
  padding: 12px 14px; background: #fffaf0;
  border: 2px solid var(--ink-soft); border-radius: var(--radius);
}
input::placeholder, textarea::placeholder { color: #9b8565; }
textarea { resize: vertical; }
input[aria-invalid="true"] { border-color: var(--stamp); background: #fff1ee; }
.dims { display: flex; align-items: center; gap: 10px; }
.dims b { font-size: 20px; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 7px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-block; padding: 9px 14px; font-weight: 700; font-size: 14px;
  border: 2px solid var(--ink-soft); border-radius: 999px; background: #fffaf0;
  transition: background .12s, color .12s;
}
.chips input:checked + span { background: var(--ink); color: var(--kraft-pale); border-color: var(--ink); }
.chips input:focus-visible + span { outline: 3px solid var(--stamp); outline-offset: 2px; }
.form-msg { min-height: 1.6em; margin: 18px 0 0; font-weight: 700; }
.form-msg.err { color: var(--stamp); }
.form-msg.ok { color: #2f6b2a; }
.form-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }

/* contact */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.contact {
  display: flex; flex-direction: column; gap: 4px; padding: 24px 22px;
  background: var(--paper); border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink); text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.contact:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.contact-kakao { background: var(--kakao); }
.c-k { font-family: "Black Han Sans", sans-serif; font-size: 24px; }
.c-v { font-weight: 700; font-size: 17px; overflow-wrap: anywhere; }
.c-go { margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.contact[hidden] { display: none; }

/* footer */
.foot { background: var(--ink); color: var(--kraft-light); padding: 36px 0; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.logo-foot .logo-text small { color: var(--kraft); }
.logo-foot .logo-cube { border-color: var(--kraft-light); }
.biz, .copy { margin: 0; font-size: 13px; opacity: .8; }
.copy { margin-left: auto; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 780px) {
  .nav { display: none; }
  .top-in { justify-content: space-between; }
  .hero { padding: 44px 0 64px; }
  .hero-in, .about { grid-template-columns: 1fr; gap: 40px; }
  .hero-box { order: -1; }
  .box { width: min(70%, 250px); }
  .box-marks { top: 32%; gap: 6px; }
  .mark { font-size: 10px; }
  .mark-icon { width: 32px; height: 32px; padding: 4px; }
  .box-label { font-size: 15px; }
  .box-label .arrows { font-size: 34px; }
  .contacts { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .products, .steps, .grid { grid-template-columns: 1fr; }
  .steps li::after { display: none; }
  .quote { padding: 36px 18px 24px; }
  .quote .tape { width: 84px; }
  .hero-cta .btn, .form-cta .btn { width: 100%; }
  .copy { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
