*,*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{
  background:#fff;
  color:#1a1a1a;
  font:16px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;-webkit-tap-highlight-color:rgba(0,0,0,.04)}
img{max-width:100%;height:auto;display:block}
button{font:inherit}

.site-header{border-bottom:1px solid #eee;background:#fff;position:sticky;top:0;z-index:9}
.site-header .wrap{max-width:1180px;margin:0 auto;padding:12px 14px;display:flex;align-items:center;gap:18px;min-width:0}
.site-header .logo{flex:0 0 auto;font-weight:800;font-size:18px;letter-spacing:.06em;text-transform:uppercase}
.header-nav{min-width:0;flex:1;display:flex;justify-content:flex-end}
.header-nav:empty{display:none}

main{max-width:1180px;margin:0 auto;padding:14px}

.cat-menu{position:relative;margin-left:auto;margin-top:-15px}
.cat-nav-desktop{display:none}
.cat-toggle{display:inline-flex;padding:0 10px;cursor:pointer}
.cat-toggle::-webkit-details-marker{display:none}
.cat-toggle-lines{display:inline-flex;flex-direction:column;gap:4px;width:16px}
.cat-toggle-lines span{display:block;height:2px;border-radius:999px;background:#222}
.cat-nav{position:absolute;right:0;top:calc(100% + 10px);z-index:12;display:none;width:max-content;min-width:220px;max-width:min(78vw,300px);flex-direction:column;gap:2px;margin:0;padding:8px;background:#fff;border:1px solid #eee;border-radius:14px;box-shadow:0 16px 40px rgba(0,0,0,.14);font-size:14px;line-height:1.25;letter-spacing:0;white-space:normal}
.cat-menu[open] .cat-nav{display:flex}
.cat-nav a{display:block;padding:11px 12px;border-radius:10px;color:#333}
.cat-nav a:hover{background:#faf2f2;color:#b98585}

.cat-title{font-size:20px;line-height:1.2;margin-bottom:16px;text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.cat-lede{margin:0 0 18px;color:#888;font-size:13px}

.post-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,1fr);gap:18px 12px}
.post-card{background:#fff}
.post-card a.thumb{display:block;overflow:hidden;background:#f3f3f3;border-radius:6px;aspect-ratio:1/1}
.post-card a.thumb img{width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;object-position:center;transition:transform .35s ease}
.post-card:hover a.thumb img{transform:scale(1.03)}
.post-card h2{font-size:13px;line-height:1.4;margin:8px 0 0;text-transform:uppercase;letter-spacing:.04em;font-weight:700}
.post-card h2 a:hover{color:#b98585}

.post{max-width:min(100%,100%);margin:0 auto}
.crumb{font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#888;margin:0 0 8px}
.crumb a{border-bottom:1px solid #d8d8d8;padding-bottom:2px}
.crumb a:hover{color:#b98585;border-color:#b98585}
.post h1{font-size:28px;line-height:1.12;margin:4px 0 14px;letter-spacing:-.02em;font-weight:800;color:#141414;text-wrap:balance}
.post hr{border:none;border-top:1px solid #eee;margin:14px 0 18px}
.post .intro p{margin:0 0 13px;color:#333;font-size:16px;line-height:1.72;letter-spacing:.005em}

.gallery{margin:20px 0 8px;display:grid;gap:8px}
.gallery figure{margin:0;position:relative}
.gallery figure>img{width:100%;border-radius:8px;background:#f3f3f3}
.pin-save{position:absolute;left:10px;top:10px;z-index:2;display:inline-flex;align-items:center;gap:5px;padding:6px 10px;border-radius:999px;background:#e60023;color:#fff;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;box-shadow:0 4px 14px rgba(0,0,0,.18)}
.pin-save::before{content:'P';display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;border-radius:50%;background:#fff;color:#e60023;font-size:12px;font-family:Georgia,serif}
.pin-save:hover{background:#bd001d;color:#fff}
.gallery .cover{margin-top:0}
.gallery .cover figcaption{text-align:center;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#b98585;margin-top:6px}

.page-bar{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;margin:24px 0 8px}
.page-bar a{min-width:38px;min-height:38px;padding:8px 12px;border:1px solid #e4e4e4;border-radius:3px;text-align:center;font-size:13px;color:#333;background:#fff;display:inline-flex;align-items:center;justify-content:center}
.page-bar a:hover{border-color:#b98585;color:#b98585}
.page-bar a.sel{background:#1a1a1a;color:#fff;border-color:#1a1a1a}

.site-footer{border-top:1px solid #eee;margin-top:32px}
.site-footer .wrap{max-width:1180px;margin:0 auto;padding:18px 14px;font-size:11px;color:#777;text-align:center;letter-spacing:.06em}
.site-footer a{text-decoration:underline}

.sitemap-page h2{font-size:18px;margin:24px 0 10px;letter-spacing:.04em;text-transform:uppercase}
.sitemap-page h3{font-size:14px;margin:18px 0 8px;color:#333;text-transform:uppercase;letter-spacing:.06em}
.sitemap-section ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.sitemap-section li{border-bottom:1px solid #eee;padding:7px 0;line-height:1.45}
.sitemap-section li a{font-weight:700}
.sitemap-section li a:hover{color:#b98585}
.sitemap-section li span{display:block;margin-top:2px;color:#888;font-size:12px}
.sitemap-group{margin-top:8px}

@media (min-width: 640px) {
  .site-header .wrap{padding:14px 18px}
  .site-header .logo{font-size:20px}
  main{padding:22px 18px}
  .cat-menu{display:none}
  .cat-nav-desktop{max-width:100%;display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:14px;margin:0;padding:0;overflow-x:auto;white-space:nowrap;font-size:11px;letter-spacing:.12em;text-transform:uppercase;scrollbar-width:none}
  .cat-nav-desktop::-webkit-scrollbar{display:none}
  .cat-nav-desktop a{flex:0 0 auto;padding:6px 0;border-radius:0;color:#444;font-weight:700}
  .cat-nav-desktop a:hover{background:transparent;color:#b98585}
  .post-list{grid-template-columns:repeat(3,1fr);gap:22px 16px}
  .post-card h2{font-size:14px;margin:10px 0 0}
  .post{max-width:640px}
  .post h1{font-size:30px;line-height:1.1;margin-bottom:16px}
  .post .intro p{font-size:16px;line-height:1.75}
}

@media (min-width: 1024px) {
  .site-header .wrap{padding:18px 20px}
  .site-header .logo{font-size:22px;letter-spacing:.08em}
  .cat-nav-desktop{font-size:13px;gap:18px}
  main{padding:20px}
  .post-list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:28px 22px}
  .post-card h2{font-size:15px;margin:12px 0 0;letter-spacing:.06em}
  .post{max-width:700px}
  .post h1{font-size:36px;margin:4px 0 18px}
  .post hr{margin:16px 0 22px}
}
