@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=DotGothic16&family=Shippori+Mincho:wght@400;500;600;700&family=Zen+Kaku+Gothic+New:wght@400;500;700&display=swap');

/* ---------- tokens ---------- */
:root {
  --paper: #f6f2ea;
  --paper-deep: #ebe4d7;
  --card: #fffdf9;
  --ink: #1b1f2a;
  --ink-soft: #3a3f4c;
  --muted: #7a746b;
  --line: #d8d0c2;
  --accent: #a4472f;
  --accent-soft: #f0ddd3;
  --serif-en: 'Cormorant Garamond', 'Shippori Mincho', serif;
  --serif-jp: 'Shippori Mincho', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif;
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--serif-jp); font-weight: 500; }
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 64px)); margin-inline: auto; }

.eyebrow {
  margin: 0 0 18px;
  font-family: var(--serif-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
}
.fine { font-size: 12px; line-height: 1.8; color: var(--muted); }

.button {
  min-height: 54px;
  padding: 14px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  transition: background .2s, color .2s, transform .2s;
}
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: #fff; }
.button.primary:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); }
.button.outline:hover:not(:disabled) { background: var(--ink); color: #fff; }
.button.full { width: 100%; }
.text-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
}
.text-link:hover { color: var(--accent); }

/* ---------- storefront header ---------- */
.announce {
  padding: 9px 16px;
  background: var(--ink);
  color: #f3ede2;
  text-align: center;
  font-size: 12px;
  letter-spacing: .12em;
}
.shop-header {
  padding: 34px 24px 0;
  text-align: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-block;
  font-family: var(--serif-jp);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
}
.logo small {
  display: block;
  margin-top: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .36em;
  color: var(--muted);
}
.shop-nav {
  display: flex;
  justify-content: center;
  gap: 38px;
  margin-top: 26px;
  overflow-x: auto;
  scrollbar-width: none;
}
.shop-nav::-webkit-scrollbar { display: none; }
.shop-nav a {
  flex: none;
  padding: 14px 0 16px;
  font-family: var(--serif-en);
  font-size: 16px;
  letter-spacing: .14em;
  border-bottom: 2px solid transparent;
}
.shop-nav a:hover { border-color: var(--accent); color: var(--accent); }
.shop-nav a.nav-jp { font-family: var(--sans); font-size: 12px; font-weight: 700; padding-top: 17px; }

/* ---------- compact header (tracker / policy / admin) ---------- */
.site-header {
  height: 76px;
  padding: 0 max(32px, calc((100vw - 1120px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--serif-jp);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1;
}
.brand span { margin-left: 10px; font-size: 10px; font-weight: 600; letter-spacing: .2em; color: var(--muted); }
.site-header nav { display: flex; gap: 28px; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.site-header nav a:hover, .card-links a:hover { color: var(--accent); }

/* ---------- hero ---------- */
.hero { background: var(--paper-deep); overflow: hidden; }
.hero-inner {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:28px;
  padding-block:70px 80px;
}
.hero-title { width:100%; text-align:center; }
.hero h1 {
  margin: 0;
  font-size: clamp(27px, 3.5vw, 46px);
  line-height: 1.6;
  letter-spacing: .02em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { max-width: 30em; margin: 0; color: var(--ink-soft); line-height: 2.1; }
.hero-actions, .action-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin: 36px 0 22px; }
.hero-explanations { width:min(100%,700px); }
.hero-explanations > div:not(.hero-actions) { padding:18px 0; border-top:1px solid var(--line); }
.hero-explanations h2 { margin:0 0 8px; font-size:16px; font-weight:700; }
.hero-explanations p:not(.fine) { margin:0; color:var(--ink-soft); font-size:13px; line-height:2; }
.hero-explanations .hero-semi-link { display:inline-flex; margin-top:20px; }
.hero-explanations .hero-full-link { display:inline-block; margin-top:17px; }

.hero-book-pair { position:relative; display:flex; align-items:center; justify-content:center; width:min(100%,680px); min-height:500px; padding:24px 28px; }
.hero-book-pair img { display:block; width:48%; height:auto; aspect-ratio: 3 / 4.24; object-fit:cover; box-shadow:10px 16px 28px #1b1f2a38,2px 3px 6px #1b1f2a26; }
.hero-book-pair img:first-child { transform:translate(6%,1%) rotate(-6deg); }
.hero-book-pair img:last-child { transform:translate(-6%,-1%) rotate(6deg); }
.cover {
  display: block;
  aspect-ratio: 3 / 4;
  background: #fff;
  box-shadow: 0 1px 0 #ffffff80 inset, 10px 14px 28px #1b1f2a38, 2px 3px 6px #1b1f2a26;
}
.cover svg { display: block; width: 100%; height: 100%; }

/* ---------- generic sections ---------- */
.section { padding-block: 110px; }
.section.tint { background: var(--paper-deep); }
.section.dark { background: var(--ink); color: #f3ede2; }
.section-head { margin-bottom: 56px; text-align: center; }
.section-head .en {
  margin: 0;
  font-family: var(--serif-en);
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.1;
}
.section-head .jp { margin: 10px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--muted); }
.section.dark .section-head .jp { color: #b5ad9f; }
.section-head .desc { max-width: 40em; margin: 22px auto 0; font-size: 14px; color: var(--ink-soft); }
.section.dark .section-head .desc { color: #cfc8bb; }

/* concept */
.concept { text-align: center; }
.concept h2 { margin: 0 0 30px; font-size: clamp(24px, 3vw, 34px); line-height: 1.8; letter-spacing: .08em; }
.concept p { margin: 0 0 1.4em; color: var(--ink-soft); line-height: 2.3; }

/* gallery */
.works-section { background: var(--paper); }
.semi-order-page .section-head h1 { margin:10px 0 0; font-size:clamp(24px,3vw,36px); font-weight:500; }
.semi-order-next { display:flex; flex-wrap:wrap; gap:14px 28px; justify-content:center; margin-top:48px; font-size:13px; font-weight:700; }
.semi-order-next a { border-bottom:1px solid currentColor; padding-bottom:5px; }
.work-card { display: grid; grid-template-columns: minmax(240px, 400px) 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 1000px; margin: auto; color: inherit; text-decoration: none; }
.work-cover { display: block; background: #0b0b0b; box-shadow: 16px 20px 42px #1b1f2a30; transition: transform .3s; }
.work-card:hover .work-cover { transform: translateY(-6px); }
.work-cover img { display: block; width: 100%; height: auto; }
.work-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.work-tag { color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.work-copy strong { font-family: var(--serif-en); font-size: clamp(38px, 6vw, 72px); line-height: 1; letter-spacing: .03em; }
.work-copy > span:nth-child(3) { font-size: 18px; font-weight: 700; }
.work-description { max-width: 30em; color: var(--ink-soft); line-height: 2; font-size: 14px; }
.work-link { margin-top: 10px; border-bottom: 1px solid currentColor; padding-bottom: 6px; font-size: 13px; font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px 40px; }
.gallery figure { margin: 0; }
.gallery .cover { transition: transform .35s; }
.gallery figure:hover .cover { transform: translateY(-6px); }
.gallery figcaption { margin-top: 22px; text-align: center; }
.gallery figcaption b { display: block; font-family: var(--serif-en); font-size: 22px; font-weight: 500; letter-spacing: .1em; }
.gallery figcaption span { font-size: 12px; color: var(--muted); letter-spacing: .08em; }
.note-center { margin: 50px auto 0; text-align: center; }

/* template catalogue */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; }
.product-card { min-width: 0; }
.product-image { position: relative; display: block; aspect-ratio: 1 / 1.02; overflow: hidden; background: linear-gradient(145deg, #bcb8b4 0%, #e5e1dd 53%, #aca9a6 100%); isolation: isolate; }
.product-image::before { content: ''; position: absolute; width: 74%; aspect-ratio: 1; top: 20%; left: 14%; border-radius: 50%; background: #f4f0e9; box-shadow: inset 0 0 0 12px #ffffff70, 0 12px 35px #0002; }
.product-image::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 45px #15151524; }
.product-image-label { position: absolute; z-index: 4; top: 18px; left: 18px; color: #24211f; font-family: var(--serif-en); font-size: 12px; letter-spacing: .18em; }
.product-palette { position: absolute; z-index: 4; top: 19px; right: 18px; display: flex; gap: 4px; }
.product-palette i { width: 17px; height: 17px; border: 1px solid #ffffffa8; background: #f5f2ed; }
.product-palette i:nth-child(2) { background: #a8a3a1; }
.product-palette i:nth-child(3) { background: #171719; }
.product-palette i:nth-child(4) { background: #e63844; }
.product-sheet { position: absolute; display: block; width: 46%; height: auto; box-shadow: 8px 12px 26px #0006; transition: transform .35s; }
.sheet-back { top: 13%; right: 8%; transform: rotate(5deg); }
.sheet-front { z-index: 2; width: 48%; top: 12%; left: 11%; transform: rotate(-4deg); }
.product-image:hover .sheet-front, .product-image:focus-visible .sheet-front { transform: translateY(-10px) rotate(0); }
.product-image-edition { position: absolute; z-index: 4; left: 18px; bottom: 17px; color: #24211f; font-family: var(--serif-en); font-size: 11px; font-weight: 600; letter-spacing: .16em; line-height: 1.3; }
.product-image-cta { position: absolute; z-index: 4; bottom: 16px; right: 17px; padding: 6px 12px; background: #fff; font-family: var(--serif-en); font-size: 15px; }
.product-meta { display: flex; justify-content: space-between; margin-top: 20px; color: var(--accent); font-family: var(--serif-en); font-size: 12px; font-weight: 600; letter-spacing: .16em; }
.product-card h3 { margin: 4px 0 2px; font-family: var(--serif-en); font-size: 30px; line-height: 1.2; letter-spacing: .03em; }
.product-card h3 a:hover { color: var(--accent); }
.product-card p { margin: 4px 0; font-size: 13px; color: var(--ink-soft); }
.product-card .product-status { margin-top: 11px; color: var(--muted); font-size: 11px; }
.product-order-link { display:inline-block; margin-top:12px; border-bottom:1px solid currentColor; font-size:12px; font-weight:700; }
.semiorder-layout { display:grid; grid-template-columns:1fr 1fr; gap:clamp(36px,7vw,100px); align-items:center; }
.semiorder-art { position:relative; min-height:470px; overflow:hidden; background:#e7dfd2; }
.semiorder-art img { position:absolute; top:13%; width:42%; height:auto; box-shadow:8px 13px 26px #1b1f2a38; }
.semiorder-art img:first-child { left:18%; transform:rotate(-10deg); }
.semiorder-art img:last-child { left:43%; transform:rotate(7deg); }
.semiorder-copy h2 { margin:0 0 20px; font-size:clamp(26px,3vw,38px); line-height:1.6; }
.semiorder-copy > p:not(.eyebrow) { color:var(--ink-soft); font-size:14px; line-height:2.1; }
.semiorder-copy .semiorder-price { margin:20px 0 25px; font-family:var(--serif-en); font-size:28px !important; line-height:1.4 !important; color:var(--ink) !important; }
.semiorder-price span { display:block; font-family:var(--sans); font-size:11px; color:var(--muted); }
.fullorder-price { margin: 18px 0 0; font-family: var(--serif-en); font-size: 28px !important; line-height: 1.4 !important; color: var(--ink) !important; }
.fullorder-price span { display: block; font-family: var(--sans); font-size: 11px; color: var(--muted); }

/* full-order editorial panel */
.fullorder-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.fullorder-art { position: relative; min-height: 500px; background: #d2c4af; overflow: hidden; }
.fullorder-art::before { content: ''; position: absolute; inset: 28px; border: 1px solid #fff8; }
.fullorder-art .cover { position: absolute; width: 41%; top: 17%; left: 17%; transform: rotate(-11deg); }
.fullorder-art .cover:nth-child(2) { left: 47%; top: 24%; transform: rotate(9deg); }
.fullorder-art-note { position: absolute; bottom: 16px; left: 22px; font-family: var(--serif-en); font-size: 14px; letter-spacing: .18em; color: #40392f; }
.fullorder-copy h2 { margin: 0 0 22px; font-size: clamp(26px, 3vw, 38px); line-height: 1.6; }
.fullorder-copy > p:not(.eyebrow):not(.fine) { color: var(--ink-soft); font-size: 14px; line-height: 2.1; }
.fullorder-highlights { margin: 24px 0 20px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fullorder-highlights li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.8; }
.fullorder-highlights li::before { content: '✓'; position: absolute; left: 2px; color: var(--accent); }
.fullorder-copy .fine a { text-decoration: underline; text-underline-offset: 3px; }
.fullorder-copy .fullorder-terms { margin-top: 17px; }
.fullorder-copy .button { margin-top: 18px; }

/* what we can do */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 70px; }
.features article { display: grid; grid-template-columns: 64px 1fr; gap: 6px 10px; padding: 34px 0; border-top: 1px solid var(--line); }
.features article:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.features .num { grid-row: span 2; font-family: var(--serif-en); font-size: 34px; font-style: italic; line-height: 1.2; color: var(--accent); }
.features h3 { margin: 0; font-size: 19px; letter-spacing: .06em; }
.features p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* flow */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; }
.flow li {
  counter-increment: flow;
  display: grid;
  grid-template-columns: 70px 92px 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.flow li:last-child { border-bottom: 1px solid var(--line); }
.flow li::before {
  content: counter(flow, decimal-leading-zero);
  font-family: var(--serif-en);
  font-size: 32px;
  line-height: 1.15;
  color: var(--accent);
}
.who {
  justify-self: start;
  margin-top: 6px;
  padding: 3px 10px;
  border: 1px solid var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.6;
  white-space: nowrap;
}
.who.studio { background: var(--ink); color: #fff; }
.flow h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: .06em; }
.flow p { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* tracking demo */
.demo-card { max-width: 900px; margin-inline: auto; padding: 44px 44px 36px; background: var(--card); color: var(--ink); }

/* item / price */
.item { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; }
.item-visual { padding: 12% 22%; background: var(--paper-deep); }
.item h2 span { display: inline-block; }
.item h2 { margin: 0 0 6px; font-size: clamp(24px, 2.8vw, 32px); letter-spacing: .06em; line-height: 1.6; }
.price { margin: 14px 0 4px; font-family: var(--serif-en); font-size: 46px; font-weight: 500; letter-spacing: .02em; line-height: 1.2; }
.price span { font-family: var(--sans); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.check-list { list-style: none; margin: 26px 0 30px; padding: 0; }
.check-list li { padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); font-size: 13.5px; position: relative; }
.check-list li::before { content: ''; position: absolute; left: 4px; top: 21px; width: 9px; height: 5px; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.price-card .fine { margin: 0 0 20px; }
.price-card .button + .button { margin-top: 12px; }
.card-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 20px; font-size: 11.5px; color: var(--muted); }
.card-links a { border-bottom: 1px solid var(--line); }
.pricing-guide { margin-top: 0; }
.pricing-guide-head { max-width: 650px; margin-bottom: 35px; }
.pricing-guide-head h3 { margin: 0 0 12px; font-size: clamp(22px, 3vw, 32px); font-weight: 500; }
.pricing-guide-head > p:last-child, .pricing-extras > p { color: var(--ink-soft); font-size: 13px; line-height: 2; }
.pricing-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.pricing-guide-grid article { padding: 30px; background: var(--paper); }
.pricing-guide-grid article > span { color: var(--accent); font-family: var(--serif-en); font-size: 12px; letter-spacing: .14em; }
.pricing-guide-grid h4 { margin: 8px 0 4px; font-size: 18px; }
.pricing-guide-grid strong { font-family: var(--serif-en); font-size: 36px; font-weight: 500; }
.pricing-guide-grid p { min-height: 3.5em; margin: 7px 0 13px; color: var(--ink-soft); font-size: 13px; }
.pricing-guide-grid a { border-bottom: 1px solid; font-size: 12px; font-weight: 700; }
.pricing-guide-grid article { scroll-margin-top:24px; }
.checkout-form { display:grid; gap:13px; margin-top:20px; }
.checkout-form label { display:grid; gap:6px; font-size:12px; font-weight:700; }
.checkout-form select { width:100%; min-height:44px; padding:9px 12px; border:1px solid var(--line); background:#fff; color:var(--ink); font:inherit; }
.page-choices { display:grid; gap:10px; min-width:0; padding:0; margin:0; border:0; }
.page-choices legend { padding:0 0 9px; font-size:12px; font-weight:700; }
.checkout-form .page-choice { display:flex; align-items:center; gap:10px; min-height:66px; padding:10px 12px; border:1px solid var(--line); background:#fff; cursor:pointer; }
.checkout-form .page-choice:has(input:checked) { border-color:var(--accent); background:#faf6ee; box-shadow:inset 0 0 0 1px var(--accent); }
.page-choice input { width:17px; height:17px; margin:0; flex:none; accent-color:var(--accent); }
.page-choice span { display:grid; gap:3px; min-width:0; }
.page-choice b { font-size:14px; }
.page-choice small { font-size:10px; font-weight:400; color:var(--ink-soft); }
.page-choice em { margin-left:auto; white-space:nowrap; font-size:12px; font-style:normal; }
.checkout-form .copies-choice { margin-top:4px; }
.pricing-guide-grid .checkout-total { min-height:0; margin:5px 0; font-size:12px; }
.pricing-guide-grid .checkout-total strong { display:block; font-size:25px; line-height:1.4; }
.checkout-form .button { width:100%; white-space:normal; }
.checkout-form .form-message { min-height:1.5em; margin:0; font-size:11px; }
.customer-order-list { display:grid; gap:10px; margin:20px 0; }
.customer-order-list button { display:grid; gap:5px; width:100%; padding:16px; border:1px solid var(--line); background:var(--paper); color:var(--ink); text-align:left; font:inherit; cursor:pointer; }
.customer-order-list button:hover, .customer-order-list button:focus-visible { border-color:var(--accent); }
.customer-order-list span { color:var(--ink-soft); font-size:12px; }
.backup-settings { margin-top:28px; padding-top:25px; border-top:1px solid var(--line); }
.backup-settings form, #login-email, #login-code { display:grid; gap:12px; margin-top:15px; }
.backup-settings label, #login-email label, #login-code label { display:grid; gap:7px; }
.backup-settings input, #login-email input, #login-code input { min-height:44px; padding:9px 12px; border:1px solid var(--line); font:inherit; }
.pricing-extras { margin-top: 30px; padding: 30px; border: 1px solid var(--line); }
.pricing-extras h4 { margin: 0 0 15px; font-size: 18px; }
.pricing-extras dl { margin: 0 0 18px; }
.pricing-extras dl > div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 13px; }
.pricing-extras dd { margin: 0; text-align: right; font-weight: 700; }
.pricing-extras small { font-size: 10px; font-weight: 400; }
.pricing-extras > p { margin: 10px 0 0; }

/* information */
.info-list { margin: 0; border-top: 1px solid var(--line); }
.info-list div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px 4px; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-list dt { font-family: var(--serif-en); font-size: 17px; letter-spacing: .08em; color: var(--muted); }
.info-list dd { margin: 0; }

/* faq */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  cursor: pointer;
  font-family: var(--serif-jp);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--serif-en); font-size: 24px; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0; padding: 0 4px 24px; font-size: 13.5px; color: var(--ink-soft); }

/* closing */
.closing { text-align: center; }
.closing h2 { margin: 0 0 14px; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.7; letter-spacing: .08em; }
.closing p:not(.eyebrow) { margin: 0 0 30px; color: var(--ink-soft); font-size: 14px; }
.closing .hero-actions { justify-content: center; margin: 0; }

/* footer */
footer { background: var(--ink); color: #cfc8bb; padding: 60px 0 34px; }
.footer-top { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid #ffffff22; }
.footer-top .logo { color: #f3ede2; font-size: 30px; text-align: left; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-family: var(--serif-en); font-size: 15px; letter-spacing: .12em; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 11px; letter-spacing: .08em; }
.footer-top + .footer-inner { padding-top: 26px; }
.footer-inner div { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a:hover { color: #fff; }
.footer-inner small { color: #8f897e; }

/* ---------- order tracker ---------- */
.tracker-page, .admin-page, .policy-page { padding-top: 70px; padding-bottom: 110px; min-height: 75vh; }
.section-top { margin-bottom: 44px; }
.section-top h1, .section-top h2 { margin: 0 0 10px; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: .06em; line-height: 1.5; }
.section-top p:last-child { margin: 0; font-size: 14px; color: var(--muted); }
.tracker-shell { max-width: 900px; }
.order-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.order-heading .eyebrow { margin-bottom: 8px; }
.order-heading h2 { margin: 0; font-size: 28px; letter-spacing: .06em; }
.order-heading p:last-child { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.status-pill { padding: 7px 16px; border-radius: 100px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; white-space: nowrap; }
.progress-track { height: 3px; margin: 26px 0 38px; background: var(--line); }
.progress-track > div { height: 100%; background: var(--accent); transition: width .4s; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, 1fr); }
.timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: #a9a296;
}
.timeline li::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline li.done::before, .timeline li.active::before { background: var(--ink); }
.timeline-dot {
  position: relative;
  z-index: 1;
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  font-family: var(--serif-en);
  font-size: 13px;
  font-weight: 600;
}
.timeline li.done { color: var(--ink-soft); }
.timeline li.done .timeline-dot { border-color: var(--ink); background: var(--ink); color: #fff; font-family: var(--sans); font-size: 12px; }
.timeline li.active { color: var(--ink); font-weight: 700; }
.timeline li.active .timeline-dot { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--accent-soft); }

.action-card, .empty-state, .login-card, .admin-card { padding: 36px; border: 1px solid var(--line); background: var(--card); }
.action-card { margin-top: 40px; }
.action-card h2, .empty-state h2 { margin: 0 0 8px; font-size: 22px; letter-spacing: .04em; }
.action-card > p:not(.eyebrow), .empty-state p { font-size: 13px; color: var(--muted); }
.action-card > .button { margin-bottom: 22px; }
.empty-state { text-align: center; padding: 76px 30px; }
.small-icon { font-size: 30px; color: var(--accent); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .wide { grid-column: 1 / -1; }
label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
input, textarea, select {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--ink); box-shadow: 0 0 0 2px #1b1f2a1a; }
textarea { resize: vertical; }
.form-message { font-size: 12px; color: #a3372c; }
.notice { margin: 24px 0; padding: 18px 22px; background: var(--paper-deep); font-size: 13px; }
.notice p { margin: 4px 0; }
.tracker-foot { margin-top: 30px; font-size: 11px; color: var(--muted); }

/* ---------- admin ---------- */
.login-card { max-width: 480px; display: flex; align-items: end; gap: 12px; }
.login-card label { flex: 1; }
.admin-orders { display: grid; gap: 22px; margin-top: 30px; }
.admin-card-head { display: flex; justify-content: space-between; align-items: start; }
.admin-card h2 { margin: 0; font-size: 22px; }
.admin-card-head p:not(.eyebrow) { font-size: 12px; color: var(--muted); }
.admin-card details { padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
.admin-card dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px; font-size: 12px; }
.admin-card dt { color: var(--muted); }
.admin-card dd { margin: 0; white-space: pre-wrap; }
.admin-link-label { margin: 25px 0 0; font-size: 11px; color: var(--muted); }
.status-form { display: grid; gap: 10px; max-width: 500px; margin-top: 25px; }

/* ---------- policy ---------- */
.policy-layout { display: grid; grid-template-columns: 235px 1fr; gap: 70px; }
.policy-layout aside { position: sticky; top: 20px; align-self: start; display: flex; flex-direction: column; gap: 12px; font-size: 12px; }
.policy-layout aside a { padding: 8px 0; border-bottom: 1px solid var(--line); }
.policy-content section { margin-bottom: 60px; padding-bottom: 70px; border-bottom: 1px solid var(--line); scroll-margin-top: 30px; }
.policy-content h2 { font-size: 28px; letter-spacing: .04em; }
.policy-content h3 { margin-top: 30px; font-size: 17px; }
.policy-content p, .policy-content dl { font-size: 13px; line-height: 2; color: var(--ink-soft); }
.policy-content dl { display: grid; grid-template-columns: 180px 1fr; gap: 0; }
.policy-content dt, .policy-content dd { padding: 15px 0; border-bottom: 1px solid var(--line); }
.policy-content dt { font-weight: 700; }
.policy-content dd { margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .wrap, .narrow { width: min(100% - 40px, 640px); }
  .section { padding-block: 76px; }
  .section-head { margin-bottom: 40px; }
  .shop-header { padding-top: 26px; }
  .logo { font-size: 30px; }
  .shop-nav { justify-content: flex-start; gap: 26px; margin-top: 18px; padding-inline: 4px; }
  .shop-nav a { font-size: 15px; }
  .site-header { height: 64px; padding: 0 20px; }
  .site-header nav { gap: 16px; font-size: 11px; }
  .brand { font-size: 22px; }
  .brand span { display: none; }
  .hero-inner { gap:16px; padding-block:54px 40px; }
  .hero-book-pair { min-height:0; padding:30px 14px; }
  .work-card { grid-template-columns: 1fr; max-width: 440px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .semiorder-layout { grid-template-columns:1fr; }
  .semiorder-art { min-height:420px; }
  .fullorder-layout { grid-template-columns: 1fr; }
  .fullorder-art { min-height: 460px; }
  .work-copy { gap: 12px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 38px 22px; }
  .gallery figcaption b { font-size: 19px; }
  .features { grid-template-columns: 1fr; }
  .features article:nth-last-child(2) { border-bottom: 0; }
  .flow li { grid-template-columns: 46px 1fr; gap: 6px 14px; }
  .flow li::before { grid-row: span 2; font-size: 26px; }
  .who { margin-top: 0; }
  .flow li > div { grid-column: 2; }
  .demo-card { padding: 28px 22px; }
  .item { grid-template-columns: 1fr; gap: 36px; }
  .info-list div { grid-template-columns: 80px 1fr; gap: 12px; }
  .policy-layout { grid-template-columns: 1fr; gap: 25px; }
  .policy-layout aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .policy-content dl { grid-template-columns: 1fr; }
  .policy-content dt { border: 0; padding-bottom: 0; }
  .policy-content dd { padding-top: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .login-card { display: block; }
  .login-card .button { margin-top: 15px; }
  .footer-top { align-items: start; flex-direction: column; }

  /* stepper turns vertical */
  .timeline { grid-template-columns: 1fr; }
  .timeline li { flex-direction: row; gap: 16px; padding: 9px 0; text-align: left; font-size: 13px; }
  .timeline li::before { top: -50%; left: 15px; width: 2px; height: 100%; }
}
@media (max-width: 520px) {
  body { font-size: 14px; }
  .hero-actions { gap: 18px; }
  .hero-actions .button { width: 100%; }
  .order-heading, .admin-card-head { display: block; }
  .status-pill { display: inline-block; margin-top: 12px; }
  .action-card, .admin-card { padding: 24px 20px; }
  .item-visual { padding: 10% 18%; }
  .price { font-size: 40px; }
  .product-grid { grid-template-columns: 1fr; }
  .pricing-guide-grid { grid-template-columns: 1fr; }
  .pricing-extras dl > div { display: block; }
  .pricing-extras dd { margin-top: 5px; text-align: left; }
  .fullorder-art { min-height: 380px; }
  .semiorder-art { min-height:340px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
/* Studio dashboard */
.admin-intro{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:30px}.admin-intro h1{font-size:clamp(34px,4vw,48px);font-weight:500;letter-spacing:-.05em;margin:0}.admin-intro p:last-child{margin:6px 0 0;color:var(--muted);font-size:13px}.admin-intro #admin-actions{white-space:nowrap}.admin-intro #admin-actions .button{min-height:42px;padding:8px 18px}.admin-logout{border:0;background:transparent;color:var(--muted);font-size:12px;margin-left:15px}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin:32px 0}.admin-stats>div{background:#f1f5ed;border:1px solid #dfe8da;padding:23px 25px;min-height:122px}.admin-stats span{display:block;font-size:11px;color:#6a806f;margin-bottom:8px}.admin-stats strong{font-size:36px;line-height:1;font-weight:500;letter-spacing:-.05em}.admin-stats small{font-size:11px;color:var(--muted);margin-left:5px}.admin-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line);padding-bottom:14px}.admin-tabs{display:flex;gap:5px;flex-wrap:wrap}.admin-tabs button{background:transparent;border:0;padding:9px 13px;color:var(--muted);font-size:12px}.admin-tabs button.selected{background:var(--dark);color:#fff}.admin-toolbar input{width:min(290px,100%);margin:0;font-size:12px}.admin-card{padding:32px 36px}.admin-card-info{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;background:#f8faf6;padding:16px 20px;margin:20px 0}.admin-card-info span{display:block;font-size:10px;color:var(--muted)}.admin-card-info strong{display:block;font-size:12px;margin-top:3px;font-weight:600}.admin-customer-link{display:flex;gap:12px;align-items:center;margin:20px 0;font-size:11px;color:var(--muted)}.copy-link{border:1px solid #b7cab7;background:white;color:var(--dark);padding:6px 12px;font-size:11px;font-weight:600}.admin-preview a{font-size:12px;color:#406d56;text-decoration:underline}.status-form{border-top:1px solid var(--line);padding-top:22px;max-width:none;grid-template-columns:1fr 1fr;align-items:end}.status-form>strong{grid-column:1/-1;font-size:13px}.status-form label{font-weight:500;color:var(--muted)}.status-form .button{justify-self:start}.status-form .form-message{align-self:center}.admin-page .login-card{max-width:560px}.admin-page .login-card .button{white-space:nowrap}
@media(max-width:800px){.admin-intro{display:block}.admin-intro #admin-actions{margin-top:20px}.admin-stats{grid-template-columns:1fr 1fr}.admin-toolbar{display:block}.admin-toolbar input{width:100%;margin-top:14px}.admin-card-info{grid-template-columns:1fr 1fr}.status-form{grid-template-columns:1fr}.status-form>strong{grid-column:auto}}
@media(max-width:500px){.admin-stats{gap:8px}.admin-stats>div{padding:15px;min-height:95px}.admin-stats strong{font-size:28px}.admin-card{padding:20px}.admin-card-info{grid-template-columns:1fr}.admin-customer-link{flex-wrap:wrap}}
.guide-teaser { background:#f0e9df; text-align:center; }
.guide-teaser h2 { margin:0 0 10px; font-family:var(--serif-jp); font-size:clamp(26px,3vw,36px); font-weight:500; }
.guide-teaser p:not(.eyebrow) { margin:0 auto 23px; max-width:42em; font-size:14px; }
