/* A 余白 — white paper, one large photo first, mincho titles, generous space. */
@import url("base.css");
:root { --bg: #ffffff; --ink: #1d1d20; --muted: #7a7a80; --line: #e6e6ea; --accent: #1d1d20; }

.home { max-width: 1240px; margin: 0 auto; padding: 8px max(24px, env(safe-area-inset-left, 0px)) 0; }
.lead { display: block; }
.lead-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lead-text { max-width: 36em; margin: 40px 0 0; }
.lead .title { width: min(18em, 100%); font-family: "YS Mincho", "Yu Mincho", serif; font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.5; letter-spacing: .05em; margin: 0 0 14px; font-feature-settings: "palt"; }
.excerpt { margin: 18px 0 0; color: var(--muted); font-size: 14.5px; line-height: 2; }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 88px 56px; margin-top: 120px; }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: opacity .25s; }
.card:hover img { opacity: .9; }
.card .title { font-family: "YS Mincho", "Yu Mincho", serif; font-weight: 600; font-size: 20px; line-height: 1.6; letter-spacing: .05em; margin: 22px 0 8px; font-feature-settings: "palt"; text-wrap: balance; }

.post .hero img { width: 100%; max-height: 84vh; object-fit: cover; }

@media (max-width: 640px) {
  .home { padding: 0 16px; }
  .lead-img { aspect-ratio: 4 / 3; }
  .lead-text { margin-top: 24px; }
  .grid { grid-template-columns: 1fr; gap: 56px; margin-top: 72px; }
  .card .title { font-size: 18px; margin-top: 16px; }
}

/* SNS — loaded only when the reader comes near; quiet frames so the timeline sits in the page */
.sns { margin-top: 168px; padding-top: 72px; border-top: 1px solid var(--line); }
.sns-title { font-family: "YS Mincho", "Yu Mincho", serif; font-weight: 600; font-size: 24px; letter-spacing: .12em; margin: 0 0 48px; font-feature-settings: "palt"; }
.sns-cols { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.sns-name { display: flex; align-items: baseline; gap: 14px; margin: 0 0 18px; font-size: 13px; font-weight: 500; letter-spacing: .16em; }
.sns-name span { color: var(--muted); font-weight: 400; letter-spacing: .06em; }
.x-frame { min-height: 680px; border-top: 1px solid var(--line); padding-top: 8px; }
.x-frame > a.twitter-timeline { display: block; padding: 48px 0; color: var(--muted); font-size: 14px; letter-spacing: .08em; }
.ig-frame, .x-fallback { border-top: 1px solid var(--line); padding-top: 8px; }
.ig-card { min-height: 188px; }
.ig-card { display: flex; flex-direction: column; justify-content: space-between; gap: 64px; padding: 36px 32px 30px; border: 1px solid var(--line); margin-top: 16px; transition: border-color .2s; }
.ig-card:hover { border-color: var(--muted); }
.ig-handle { font-family: "YS Mincho", "Yu Mincho", serif; font-weight: 600; font-size: 24px; letter-spacing: .06em; }
.ig-go { font-size: 13px; letter-spacing: .12em; color: var(--muted); }
.ig-go::after { content: "  →"; }
.instagram-media { margin: 16px 0 0 !important; min-width: 0 !important; max-width: 100% !important; }

@media (max-width: 640px) {
  .sns { margin-top: 104px; padding-top: 48px; }
  .sns-title { font-size: 21px; margin-bottom: 32px; }
  .sns-cols { grid-template-columns: 1fr; gap: 56px; }
  .x-frame { min-height: 560px; }
}
