@font-face {
  font-family: Bookmark Batang;
  src: url("fonts/GowunBatang-Regular.ttf") format("truetype");
  font-display: swap;
}
.bookmark-page { background: #fbf9f3; color: #354538; }
.bm-wrap { max-width: 1190px; margin: auto; padding: 0 clamp(18px, 4vw, 55px) 80px; word-break: keep-all; overflow-wrap: anywhere; }
.bm-wrap h1, .bm-wrap h2, .bm-proof h3 { font-family: "Bookmark Batang", var(--serif); font-weight: 400; }
.bm-hero { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(40px, 6vw, 86px) 0; }
.bm-eyebrow { font-size: .84rem; font-weight: 650; letter-spacing: .08em; color: #6c5945; margin: 0 0 17px; }
.bm-hero h1 { font-size: clamp(40px, 4.1vw, 64px); letter-spacing: -.065em; line-height: 1.23; margin: 0 0 22px; }
.bm-hero h1 em { font-style: normal; color: #647657; }
.bm-lead { max-width: 29em; color: #515b50; font-size: 1.03rem; line-height: 1.95; margin: 0 0 27px; }
.bm-hero figure { margin: 0; }
.bm-hero-price { color:#65533c; margin:0 0 18px; font-size:.88rem; }
.bm-hero-price strong { font-size:1.15rem; color:#374c3d; }
.bm-display { position:relative; isolation:isolate; overflow:hidden; aspect-ratio:1.46; border-radius:18px;
  background: url("paper-grain.svg"), linear-gradient(125deg,#e8dbc3 0%,#d9c7a8 62%,#c4b28e); }
.bm-display > div { position:absolute; width:79%; filter:drop-shadow(2px 8px 6px #40362248); }
.bm-display-back { top:15%; left:8%; transform:rotate(-8deg); }
.bm-display-front { top:43%; right:6%; transform:rotate(4deg); }
.bm-display figcaption { position:absolute; bottom:5%; left:6%; right:6%; display:flex; justify-content:space-between; color:#45392a; font-size:.78rem; }
.bm-hero img { display: block; width: 100%; height: auto; }
.bm-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.bm-sample-link { padding: 7px 0; color: #56664f; font-size: .89rem; text-decoration: underline; text-underline-offset: 4px; }
.bm-button { display: inline-flex; gap: 16px; align-items: center; justify-content: center; padding: 11px 21px; min-height: 44px; border: 1px solid #455f4b; border-radius: 30px; background: #455f4b; color: #fff; font-size: .93rem; font-weight: 600; text-decoration: none; }
.bm-button:hover { background: #354d3b; color: #fff; }
.bm-secondary { color: #455f4b; background: transparent; border-color: #a5ad9e; }
.bm-secondary:hover { background: #edf0e7; color: #354d3b; }
.bm-story { border-block: 1px solid #d9d7c8; display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(24px, 5vw, 80px); align-items: center; padding: clamp(30px, 4vw, 55px) 0; }
.bm-story h2 { margin: 0; line-height: 1.45; letter-spacing: -.045em; font-size: clamp(26px, 2.7vw, 38px); }
.bm-story div > p:not(.bm-eyebrow) { font-size: 1rem; line-height: 1.95; color: #52594e; margin: 0; }
.bm-story div > p + p { padding-top: 12px; }
.bm-maker { padding-top: clamp(44px, 5vw, 76px); scroll-margin-top: 24px; }
.bm-maker header h2 { margin: 0 0 8px; font-size: clamp(30px, 3vw, 43px); letter-spacing: -.055em; }
.bm-maker header p { color: #60675a; }
.bm-workspace { display: grid; grid-template-columns: minmax(270px, .85fr) minmax(0, 1.15fr); gap: clamp(22px, 4.5vw, 65px); align-items: start; margin-top: 32px; }
.bm-fields { min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.bm-fields > label, .bm-papers legend { margin: 20px 0 7px; font-weight: 650; }
.bm-fields > label:first-child { margin-top: 0; }
.bm-fields > label { display: block; }
.bm-fields label small { display: inline; color: #687063; font-weight: 400; padding-left: 5px; }
.bm-fields > input, .bm-fields textarea { width: 100%; border: 1px solid #bfc4b7; border-radius: 9px; background: #fffdf8; padding: 10px 12px; color: #344034; font-size: 16px; }
.bm-fields textarea { resize: vertical; line-height: 1.65; min-height: 98px; }
.bm-fields > small, .bm-private { color: #626b5c; font-size: .82rem; margin-top: 5px; }
.bm-prompts, .bm-actions, .bm-papers { display: flex; flex-wrap: wrap; gap: 7px; }
.bm-prompts { margin: 0 0 9px; }
.bm-prompts button { padding: 6px 10px; border: 1px solid #c9cdbf; border-radius: 18px; color: #4b5848; background: transparent; font-size: .8rem; }
.bm-prompts button[aria-pressed="true"] { background: #e7ecdf; border-color: #829177; }
.bm-papers { border: 0; margin: 20px 0 0; padding: 0; gap: 16px; }
.bm-papers legend { padding: 0; }
.bm-papers label { display: inline-flex; gap: 5px; align-items: center; cursor: pointer; }
.bm-papers input { width: auto; accent-color: #455f4b; }
.bm-swatch { height: 15px; width: 15px; border-radius: 50%; border: 1px solid #a8aa98; }
.bm-cream { background: #faf2e0; } .bm-sage { background: #e6edde; }
.bm-fields input[type=file] { font-size: .85rem; }
.bm-fields input::file-selector-button { padding: 5px 12px; border: 1px solid #c7cdbf; background: #f0f1e9; border-radius: 5px; color: #405240; margin-right: 8px; }
.bm-text-button { align-self: start; padding: 5px 0; border: 0; background: none; color: #4b5e47; text-decoration: underline; }
.bm-proof { position: sticky; top: 100px; padding: clamp(16px, 2vw, 32px); background: #f1f0e6; border: 1px solid #dcded1; border-radius: 16px; }
.bm-workspace:has(#bm-review[aria-expanded=true]) .bm-proof { position:static; }
.bm-proof h3 { font-size: 1.45rem; margin: 0 0 17px; }
.bm-proof-head, .bm-total { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.bm-proof-head h3 { margin:0; }
.bm-face-switch { display:inline-flex; padding:3px; background:#e2e4d6; border-radius:24px; }
.bm-face-switch button { color:#425145; background:transparent; padding:6px 12px; border:0; border-radius:20px; font-size:.8rem; }
.bm-face-switch button[aria-pressed=true] { background:#fffdf5; box-shadow:0 1px 4px #31422f25; }
.bm-mat { padding:clamp(16px,2.5vw,35px) 0 16px; }
.bm-mat canvas { width:100%; height:auto; display:block; filter:drop-shadow(0 5px 5px #53492b35); }
.bm-spec { display: flex; justify-content: space-between; border-bottom: 1px solid #cfd1c2; padding: 5px 0 14px; margin-bottom: 16px; color: #596551; font-size: .8rem; }
.bm-note { margin: 14px 0 0; line-height: 1.75; font-size: .9rem; }
.bm-private { margin-bottom: 0; }
.bm-choices { margin:24px 0 0; border:0; padding:0; min-width:0; }
.bm-choices legend, .bm-address legend { margin-bottom:9px; padding:0; font-weight:650; }
.bm-choices legend small { font-size:.78rem; font-weight:400; }
.bm-pack-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; }
.bm-pack-grid label,.bm-option { display:flex; align-items:center; gap:9px; padding:10px; border:1px solid #c9cdbf; border-radius:8px; color:#344b3c; background:#fffcf5; cursor:pointer; }
.bm-pack-grid label:has(:checked), .bm-option:has(:checked) { border-color:#55725b; background:#e9eee3; }
.bm-pack-grid strong,.bm-option small { display:block; font-size:.78rem; font-weight:400; }
.bm-choices input,.bm-agree input { width:auto; margin:0; flex:none; accent-color:#365a46; }
.bm-option + .bm-option { margin-top:6px; }
.bm-option b { margin-left:auto; font-size:.8rem; white-space:nowrap; }
.bm-wrap .bm-option small { display:block; padding:0; }
.bm-at-home { margin:14px 0; color:#4c594c; font-size:.83rem; }
.bm-at-home summary { cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.bm-at-home p { margin:8px 0; line-height:1.7; }
.bm-quote { border-top:1px solid #cdd0bf; margin-top:18px; padding-top:18px; border-radius:0; }
.bm-quote h3 { margin-bottom:9px; }
.bm-quote dl { margin:0; }
.bm-quote dl div { display:flex; justify-content:space-between; gap:8px; margin:4px 0; font-size:.88rem; }
.bm-quote dd { margin:0; font-variant-numeric:tabular-nums; }
.bm-total { border-top:1px solid #cdd0bf; margin-top:12px; padding:12px 0; border-radius:0; }
.bm-total strong { font-size:1.4rem; letter-spacing:-.04em; }
.bm-buy { width:100%; background:#2d513f; }
.bm-buy:disabled { opacity:.65; }
.bm-delivery { grid-column:1/-1; border:1px solid #cdd1c3; padding:clamp(18px,3vw,38px); border-radius:14px; background:#fffdf7; scroll-margin-top:85px; }
.bm-delivery h2 { margin:0; font-size:clamp(1.6rem,3vw,2.2rem); }
.bm-delivery h3 { margin:0; font-size:1.05rem; }
.bm-delivery-grid { display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,4vw,64px); margin:20px 0; }
.bm-address { min-width:0; margin:0; padding:0; border:0; }
.bm-address label { display:block; margin:7px 0 0; font-size:.85rem; }
.bm-address input { box-sizing:border-box; display:block; width:100%; margin-top:3px; padding:8px; border:1px solid #bdc5b7; border-radius:6px; font-size:16px; }
.bm-address input[readonly] { background:#f3f2ea; }
.bm-address p, .bm-order-policy p { font-size:.9rem; margin:6px 0 12px; line-height:1.7; }
.bm-order-policy a,.bm-delivery a { color:#3e604b; text-decoration:underline; }
.bm-agree { display:flex; gap:8px; align-items:center; margin:16px 0; font-size:.9rem; }
.bm-proof [role=status], #bm-photo-status { color: #485c46; font-size: .89rem; margin: 8px 0; }
.bm-wrap [role=status]:empty, .bm-wrap [hidden], #bm-print-sheet { display: none; }
.bm-wrap :focus-visible { outline: 3px solid #7a684b; outline-offset: 3px; }
@media (max-width: 760px) {
  .bm-hero, .bm-story, .bm-workspace, .bm-delivery-grid { grid-template-columns: 1fr; }
  .bm-hero { gap: 23px; padding: 32px 0; }
  .bm-hero h1 { font-size: 43px; }
  .bm-hero figure { max-width: 550px; }
  .bm-lead { font-size: 1rem; margin-bottom: 18px; }
  .bm-story { gap: 18px; }
  .bm-proof { position: static; }
  .bm-actions .bm-button { padding-inline: 15px; }
}
@page { size: A4 portrait; margin: 12mm; }
@media print {
  body.bookmark-page { display: block !important; margin: 0 !important; padding: 0 !important; background: white !important; }
  .bookmark-page > :not(main), .bookmark-page #main > :not(#bm-print-sheet) { display: none !important; }
  .bookmark-page #main { display: block !important; width: auto !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
  #bm-print-sheet { display:grid; justify-items:center; gap:9mm; padding:3mm 0; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  #bm-print-sheet p { margin:0; font:9pt/1.4 "Bookmark Batang",serif; color:#374638; text-align:center; }
  #bm-print-sheet p span { display:block; }
  .bm-print-pair { position:relative; width:150mm; height:100mm; break-inside:avoid; }
  #bm-print-sheet canvas { display:block; width:150mm; height:50mm; max-width:none; }
  .bm-trim,.bm-fold { position:absolute; pointer-events:none; }
  .bm-trim { width:0; height:0; }
  .bm-trim::before,.bm-trim::after,.bm-fold::before,.bm-fold::after { content:""; position:absolute; }
  .bm-trim::before { width:3mm; right:1mm; border-top:.18mm solid #555; }
  .bm-trim::after { height:3mm; bottom:1mm; border-left:.18mm solid #555; }
  .bm-trim.tl { top:0; left:0; }.bm-trim.tr { top:0; right:0; transform:scaleX(-1); }
  .bm-trim.bl { bottom:0; left:0; transform:scaleY(-1); }.bm-trim.br { bottom:0; right:0; transform:scale(-1); }
  .bm-fold { top:50%; left:0; right:0; }.bm-fold::before,.bm-fold::after { width:5mm; border-top:.2mm dashed #57695a; }
  .bm-fold::before { right:calc(100% + 1mm); }.bm-fold::after { left:calc(100% + 1mm); }
}
