/* =========================================================
   櫻井海晴の新時代のブログ — White & Gold
   ========================================================= */
:root {
  --bg: #ffffff;
  --bg-soft: #faf8f3;
  --bg-ivory: #f5f0e6;
  --ink: #1f1d1a;
  --ink-2: #3f3b35;
  --muted: #6b655c;
  --line: #e9e3d7;
  --line-strong: #d9cfbd;
  --gold: #b8975a;        /* 装飾用（線・アクセント） */
  --gold-light: #d8c39a;
  --gold-deep: #8a6a2e;   /* 文字・ボタン用（白背景でコントラスト確保） */
  --gold-deeper: #6f5423;
  --gold-soft: #f4ede0;
  --danger: #9b3b2f;

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
  --latin: "Cormorant Garamond", "Times New Roman", serif;

  --radius: 4px;
  --container: 1120px;
  --narrow: 760px;
  --shadow: 0 1px 2px rgba(60, 45, 20, .04), 0 8px 24px rgba(60, 45, 20, .06);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--ink-2);
  font-family: var(--sans); font-size: 16px; line-height: 1.85; letter-spacing: .02em;
  font-feature-settings: "palt" 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-underline-offset: .2em; }
a:hover { color: var(--gold-deeper); }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 600; line-height: 1.5; letter-spacing: .04em; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { padding: 0; margin: 0; }
[hidden] { display: none !important; }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: #fff; }
.pc-only { display: none; }
@media (min-width: 860px) { .pc-only { display: inline; } }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }
.container--narrow { max-width: var(--narrow); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 2px 14px rgba(60, 45, 20, .05); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 68px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark { width: 22px; height: 22px; border: 1px solid var(--gold); transform: rotate(45deg); position: relative; flex: none; }
.brand__mark::after { content: ""; position: absolute; inset: 4px; background: var(--gold); opacity: .85; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 17px; letter-spacing: .06em; }
.brand__accent { color: var(--gold-deep); }
.gnav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; width: calc(100% + 32px); }
.gnav::-webkit-scrollbar { display: none; }
.gnav ul { display: flex; list-style: none; gap: 2px; white-space: nowrap; justify-content: space-between; }
.gnav a { display: block; padding: 8px 6px; font-size: 13.5px; color: var(--ink-2); text-decoration: none; position: relative; letter-spacing: .02em; }
.gnav a::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.gnav a:hover { color: var(--ink); }
.gnav a:hover::after, .gnav a[aria-current="page"]::after { transform: scaleX(1); }
.gnav a[aria-current="page"] { color: var(--gold-deep); }
@media (min-width: 860px) {
  .site-header__inner { flex-wrap: nowrap; padding-top: 0; padding-bottom: 0; min-height: 76px; }
  .brand__name { font-size: 19px; }
  .gnav { width: auto; margin: 0; padding: 0; overflow: visible; }
  .gnav ul { gap: 8px; }
  .gnav a { padding: 10px 12px; font-size: 14.5px; letter-spacing: .06em; }
  .gnav a::after { left: 12px; right: 12px; }
}

/* ---------- common ---------- */
.eyebrow { font-family: var(--latin); font-style: italic; font-weight: 500; color: var(--gold-deep); letter-spacing: .18em; font-size: 15px; margin: 0 0 6px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.section { padding-block: 64px; }
.section--tight { padding-block: 32px 72px; }
.section--soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .section:not(.section--tight) { padding-block: 96px; } }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px 24px; margin-bottom: 32px; }
.sec-head .eyebrow { width: 100%; }
.sec-title { font-size: 24px; }
@media (min-width: 860px) { .sec-title { font-size: 28px; } }
.sec-more, .text-link { margin-left: auto; font-size: 14px; text-decoration: none; letter-spacing: .06em; border-bottom: 1px solid var(--gold-light); padding-bottom: 2px; }
.text-link { margin-left: 0; }
.small-title { font-size: 18px; margin-bottom: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 28px;
  border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: .1em; text-decoration: none; line-height: 1.4;
  border: 1px solid transparent; cursor: pointer; font-family: var(--sans); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--gold { background: var(--gold-deep); color: #fff; box-shadow: 0 6px 18px rgba(138, 106, 46, .22); }
.btn--gold:hover { background: var(--gold-deeper); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(138, 106, 46, .28); }
.btn--outline { background: #fff; color: var(--gold-deep); border-color: var(--gold); }
.btn--outline:hover { background: var(--gold-soft); color: var(--gold-deeper); }
.btn--disabled { background: #f1eee8; color: var(--muted); border-color: var(--line); cursor: not-allowed; box-shadow: none; }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 14px; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--muted); margin: 0 0 8px; letter-spacing: .04em; }
.meta__cat { color: var(--gold-deep); font-weight: 600; text-decoration: none; }
a.meta__cat:hover { text-decoration: underline; }
.badge { display: inline-block; font-size: 11px; line-height: 1; padding: 4px 7px; border-radius: 2px; letter-spacing: .08em; font-weight: 700; }
.badge--pr { background: var(--ink); color: #fff; }
.badge--sample { background: #fff; color: var(--muted); border: 1px dashed var(--line-strong); }
.todo { display: inline-block; font-size: 12px; line-height: 1.4; color: var(--danger); background: #fbf1ee; border: 1px dashed #e3b9b0; padding: 2px 8px; border-radius: 3px; letter-spacing: .04em; vertical-align: middle; }
.todo-block { color: var(--danger); background: #fbf1ee; border: 1px dashed #e3b9b0; padding: 14px 18px; border-radius: var(--radius); font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 40px 0 56px; background:
  radial-gradient(1200px 500px at 85% -10%, var(--gold-soft), transparent 60%),
  linear-gradient(180deg, #fff, var(--bg-soft)); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; right: -120px; bottom: -160px; width: 420px; height: 420px; border: 1px solid var(--gold-light); border-radius: 50%; opacity: .5; }
.hero__inner { display: grid; gap: 36px; align-items: center; position: relative; }
.hero__title { font-size: clamp(32px, 8.4vw, 54px); line-height: 1.38; letter-spacing: .06em; margin: 8px 0 20px; }
.hero__accent { color: var(--gold-deep); position: relative; }
.hero__accent::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .28em; background: var(--gold-soft); z-index: -1; }
.hero__copy { font-family: var(--serif); font-size: clamp(16px, 4.2vw, 20px); color: var(--ink); line-height: 1.8; margin-bottom: 14px; letter-spacing: .06em; }
.hero__lead { color: var(--muted); font-size: 15px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__visual { position: relative; justify-self: center; width: min(78vw, 440px); }
.hero__frame { position: relative; border-radius: 220px 220px 6px 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-ivory); box-shadow: var(--shadow); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero__visual::before { content: ""; position: absolute; inset: -12px 12px 12px -12px; border: 1px solid var(--gold); border-radius: 228px 228px 8px 8px; pointer-events: none; }
.hero__caption { position: absolute; right: -6px; bottom: 22px; background: #fff; padding: 6px 14px; font-family: var(--serif); font-size: 13px; color: var(--ink); letter-spacing: .16em; border-left: 2px solid var(--gold); box-shadow: var(--shadow); margin: 0; }
@media (max-width: 859px) { .hero__visual { order: -1; width: min(74vw, 340px); } }
@media (min-width: 860px) {
  .hero { padding: 72px 0 96px; }
  .hero__inner { grid-template-columns: 1.1fr .9fr; gap: 56px; }
}

/* ---------- cards ---------- */
.grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold-light); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__link:hover { color: inherit; }
.card__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-ivory); }
.card__media .thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media .thumb { transform: scale(1.03); }
.card__body { padding: 20px 22px 24px; }
.card__title { font-size: 17px; line-height: 1.65; margin-bottom: 10px; }
.card__summary { font-size: 14px; color: var(--muted); line-height: 1.8; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.thumb--placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 100%; height: 100%; position: relative;
  background: linear-gradient(135deg, #fffdf8 0%, var(--bg-ivory) 100%); color: var(--gold-deep); }
.thumb--placeholder::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--gold-light); }
.thumb--placeholder::after { content: ""; position: absolute; width: 56px; height: 1px; background: var(--gold); top: 50%; transform: translateY(-50%); opacity: 0; }
.thumb__en { font-family: var(--latin); font-style: italic; font-size: 14px; letter-spacing: .3em; color: var(--gold-deep); }
.thumb__ja { font-family: var(--serif); font-size: 22px; letter-spacing: .2em; color: var(--ink); }
.thumb--ai { background: linear-gradient(135deg, #fffdf8, #efe7d6); }
.thumb--business { background: linear-gradient(135deg, #fbf8f2, #ece3d1); }
.thumb--money { background: linear-gradient(135deg, #fffaf0, #f1e6cf); }
.thumb--workstyle { background: linear-gradient(135deg, #fdfcf9, #eeeae0); }
.thumb--challenge { background: linear-gradient(135deg, #fffdf6, #f3e9d3); }

/* picks */
.picks { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.pick a { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 24px 4px; border-bottom: 1px solid var(--line-strong); color: inherit; text-decoration: none; transition: background .3s var(--ease); }
.pick a:hover { background: rgba(255, 255, 255, .7); color: inherit; }
.pick__num { font-family: var(--latin); font-size: 38px; line-height: 1; color: var(--gold); font-style: italic; }
.pick__body { display: block; }
.pick__body .meta { margin-bottom: 4px; }
.pick__title { display: block; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 18px; line-height: 1.6; margin-bottom: 6px; }
.pick__summary { display: block; font-size: 14px; color: var(--muted); }
@media (min-width: 860px) { .pick a { grid-template-columns: 88px 1fr; padding: 28px 12px; } .pick__num { font-size: 48px; } .pick__title { font-size: 20px; } }

/* categories */
.cats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 860px) { .cats { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.cat { display: flex; flex-direction: column; gap: 2px; padding: 22px 20px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; height: 100%; position: relative; transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.cat::after { content: "→"; position: absolute; right: 18px; bottom: 18px; color: var(--gold); transition: transform .3s var(--ease); }
.cat:hover { border-color: var(--gold); box-shadow: var(--shadow); color: var(--ink); }
.cat:hover::after { transform: translateX(4px); }
.cat__en { font-family: var(--latin); font-style: italic; font-size: 13px; color: var(--gold-deep); letter-spacing: .2em; }
.cat__name { font-family: var(--serif); font-weight: 600; font-size: 18px; letter-spacing: .08em; }
.cat__desc { font-size: 13.5px; color: var(--muted); margin: 6px 0 10px; line-height: 1.75; }
.cat__count { font-size: 12.5px; color: var(--muted); margin-top: auto; }
.cats--large { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cats--large { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cats--large { grid-template-columns: repeat(3, 1fr); } }

/* premium teaser */
.premium-teaser { display: grid; gap: 24px; align-items: center; padding: 36px 28px; background: #fff; border: 1px solid var(--gold-light); position: relative; }
.premium-teaser::before { content: ""; position: absolute; inset: 6px; border: 1px solid var(--line); pointer-events: none; }
.premium-teaser p:last-child { margin: 12px 0 0; color: var(--muted); }
.premium-teaser .btn { position: relative; justify-self: start; }
@media (min-width: 860px) { .premium-teaser { grid-template-columns: 1fr auto; padding: 48px 56px; } }

/* author */
.author { display: grid; grid-template-columns: 1fr; gap: 20px; padding: 32px 24px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg-soft)); border-top: 2px solid var(--gold); margin: 56px 0 0; }
.author__img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--gold-light); }
.author__name { font-size: 22px; margin-bottom: 2px; }
.author__label { display: block; font-family: var(--sans); font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: .1em; }
.author__role { font-size: 13px; color: var(--gold-deep); margin-bottom: 10px; }
.author__body p:not(.eyebrow):not(.author__role) { font-size: 15px; }
@media (min-width: 640px) { .author { grid-template-columns: 120px 1fr; gap: 28px; padding: 36px; align-items: start; } }
.section .author { margin: 0; }

/* ---------- page heads ---------- */
.page-head { padding: 48px 0 32px; background: linear-gradient(180deg, var(--bg-soft), #fff); border-bottom: 1px solid var(--line); }
.page-title { font-size: clamp(26px, 6vw, 36px); letter-spacing: .06em; }
.page-lead { margin: 14px 0 0; color: var(--muted); }
@media (min-width: 860px) { .page-head { padding: 72px 0 48px; } }

.crumbs { margin: 0 0 24px; font-size: 12.5px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "／"; margin-right: 4px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-deep); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; max-width: 22em; white-space: nowrap; }

/* filter */
.filter { margin-bottom: 32px; }
.search { display: flex; gap: 8px; max-width: 520px; margin-bottom: 20px; }
.search input { flex: 1; min-width: 0; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.search input:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px var(--gold-soft); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; color: var(--ink-2); text-decoration: none; background: #fff; transition: all .25s var(--ease); }
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip[aria-pressed="true"] { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.chip__n { font-size: 12px; opacity: .75; }
.filter__status { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.other-cats { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }

.empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--line-strong); background: var(--bg-soft); border-radius: var(--radius); }
.empty__title { font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 600; }
.empty p { color: var(--muted); }
.empty .btn { margin-top: 8px; }

/* ---------- post ---------- */
.post__head { padding: 36px 0 8px; }
.post__title { font-size: clamp(24px, 5.6vw, 34px); line-height: 1.55; margin: 6px 0 16px; }
.post__summary { color: var(--muted); font-size: 15px; padding-left: 16px; border-left: 2px solid var(--gold); }
.post__eyecatch { margin: 28px 0 36px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-ivory); }
.post__eyecatch .thumb { width: 100%; height: 100%; object-fit: cover; }
.post__eyecatch .thumb__ja { font-size: 30px; }
.pr-notice, .sample-notice { font-size: 13.5px; line-height: 1.8; padding: 12px 16px; background: var(--bg-soft); border: 1px solid var(--line); margin: 20px 0 0; }
.pr-notice .badge { margin-right: 8px; }
.sample-notice { border-style: dashed; color: var(--muted); }

.toc { border: 1px solid var(--line); background: var(--bg-soft); padding: 24px 24px 20px; margin: 0 0 44px; position: relative; }
.toc::before { content: ""; position: absolute; left: 0; top: 0; width: 48px; height: 2px; background: var(--gold); }
.toc__title { font-family: var(--serif); font-weight: 600; color: var(--ink); letter-spacing: .2em; margin-bottom: 10px; }
.toc ol { list-style: none; }
.toc li { font-size: 14.5px; line-height: 1.7; }
.toc a { display: block; padding: 5px 0; color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--gold-deep); text-decoration: underline; }
.toc__l2 > a { padding-left: 14px; position: relative; }
.toc__l2 > a::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 1px; background: var(--gold); }
.toc__l3 { padding-left: 1.9em; font-size: 13.5px !important; }
.toc__l3 > a { color: var(--muted); }

.prose { font-size: 16.5px; line-height: 2; color: var(--ink-2); letter-spacing: .03em; word-break: normal; overflow-wrap: anywhere; }
@media (min-width: 860px) { .prose { font-size: 17px; } }
.prose > * + * { margin-top: 1.4em; }
.prose p { margin: 0; }
.prose h2 { font-size: 22px; margin-top: 2.8em; padding: 0 0 12px; border-bottom: 1px solid var(--line-strong); position: relative; line-height: 1.6; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64px; height: 1px; background: var(--gold); }
.prose h3 { font-size: 18.5px; margin-top: 2.2em; padding-left: 14px; border-left: 3px solid var(--gold); line-height: 1.6; }
.prose h4 { font-size: 16.5px; margin-top: 2em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--gold-deep); }
.prose strong { color: var(--ink); background: linear-gradient(transparent 64%, var(--gold-soft) 64%); font-weight: 700; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 16px 20px; border-left: 3px solid var(--gold-light); background: var(--bg-soft); color: var(--muted); }
.prose img { border-radius: var(--radius); margin: 0 auto; }
.prose hr { border: 0; height: 1px; background: var(--line-strong); margin: 3em 0; }
.prose code { font-size: .9em; background: var(--bg-ivory); padding: .1em .4em; border-radius: 3px; }
.prose pre { overflow-x: auto; background: #f7f5f0; padding: 16px; border: 1px solid var(--line); font-size: 14px; line-height: 1.7; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-soft); color: var(--ink); }
.img-missing { display: flex; align-items: center; justify-content: center; min-height: 160px; background: var(--bg-ivory); border: 1px dashed var(--line-strong); color: var(--muted); font-size: 14px; }

/* affiliate */
.aff { position: relative; border: 1px solid var(--gold-light); background: #fff; padding: 28px 22px 22px; margin: 2.2em 0 !important; box-shadow: 0 6px 22px rgba(60, 45, 20, .05); }
.aff__label { position: absolute; top: -1px; left: -1px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; padding: 4px 10px; line-height: 1.4; }
.aff__inner { display: grid; gap: 18px; }
.aff__inner img { width: 140px; height: 140px; object-fit: contain; margin: 0 auto; }
@media (min-width: 640px) { .aff__inner:has(img) { grid-template-columns: 140px 1fr; } }
.aff__name { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 18px; margin: 0 0 8px !important; line-height: 1.6; }
.aff__desc { font-size: 15px; line-height: 1.85; margin: 0 0 8px !important; }
.aff__exp { font-size: 13px; color: var(--muted); margin: 0 0 16px !important; padding-left: 10px; border-left: 2px solid var(--line-strong); line-height: 1.7; }
.aff__note, .aff__provider { font-size: 12.5px; color: var(--muted); margin: 12px 0 0 !important; line-height: 1.7; }
.aff__provider { margin-top: 4px !important; }
.aff .btn { width: 100%; }
@media (min-width: 640px) { .aff .btn { width: auto; } }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.share__label { font-size: 13px; color: var(--muted); margin-right: 6px; letter-spacing: .08em; }
.share__btn { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 18px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--ink-2); font: inherit; font-size: 13.5px; text-decoration: none; cursor: pointer; }
.share__btn:hover { border-color: var(--gold); color: var(--gold-deep); }

.pager { display: grid; gap: 12px; margin: 40px 0 72px; }
@media (min-width: 640px) { .pager { grid-template-columns: 1fr 1fr; } }
.pager__link { display: block; padding: 18px 20px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .3s var(--ease); }
.pager__link:hover { border-color: var(--gold); color: var(--ink); }
.pager__link--next { text-align: right; }
.pager__dir { display: block; font-size: 12.5px; color: var(--gold-deep); letter-spacing: .1em; margin-bottom: 4px; }
.pager__title { display: block; font-family: var(--serif); font-size: 15px; line-height: 1.6; }

/* ---------- premium ---------- */
.products { display: grid; gap: 28px; }
.product { border: 1px solid var(--gold-light); background: #fff; display: grid; position: relative; }
.product::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.product__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.product__body { padding: 28px 22px; }
.product__title { font-size: 22px; margin: 4px 0 12px; }
.product__cols { display: grid; gap: 20px; margin: 22px 0; }
@media (min-width: 640px) { .product__cols { grid-template-columns: 1fr 1fr; } .product__body { padding: 36px 40px; } }
.product__h { font-size: 15px; letter-spacing: .1em; color: var(--gold-deep); margin-bottom: 8px; }
.checklist { list-style: none; }
.checklist li { position: relative; padding-left: 1.6em; font-size: 15px; margin: 6px 0; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 10px; height: 6px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.product__delivery { font-size: 14px; color: var(--muted); }
.product__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.product__pricebox { margin: 0; }
.product__price { font-family: var(--latin); font-size: 32px; color: var(--ink); font-weight: 500; letter-spacing: .04em; }
.product__price--tbd { font-family: var(--serif); font-size: 18px; color: var(--muted); }
.product__tax { font-size: 13px; color: var(--muted); margin-left: 6px; }
.product__note { width: 100%; font-size: 12.5px; color: var(--muted); margin: 0; }
.info-box { margin-top: 48px; padding: 28px 24px; background: var(--bg-soft); border: 1px solid var(--line); }
.info-box ul { padding-left: 1.2em; font-size: 14.5px; }
.info-box li + li { margin-top: 6px; }
.info-box li::marker { color: var(--gold); }
.contact-box { padding: 36px 24px; text-align: center; border: 1px solid var(--gold-light); background: #fff; }
.contact-box p { margin: 16px 0 0; }

/* ---------- profile ---------- */
.profile-hero { padding: 40px 0 48px; background: linear-gradient(180deg, var(--bg-soft), #fff); border-bottom: 1px solid var(--line); }
.profile-hero__inner { display: grid; gap: 32px; align-items: center; }
.profile-hero__photo { position: relative; width: min(84vw, 420px); justify-self: center; }
.profile-hero__photo img { aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; border-radius: 6px; box-shadow: var(--shadow); position: relative; }
.profile-hero__photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); border-radius: 6px; }
.profile-hero__text .crumbs { margin-bottom: 18px; }
.profile-hero__role { color: var(--gold-deep); font-size: 14.5px; margin: 8px 0 16px; letter-spacing: .06em; }
.profile-links { list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; margin-top: 8px; }
@media (min-width: 860px) { .profile-hero { padding: 72px 0; } .profile-hero__inner { grid-template-columns: 420px 1fr; gap: 72px; } }
.cta-box { margin-top: 64px; padding: 40px 24px; text-align: center; border: 1px solid var(--gold-light); background: var(--bg-soft); }
.cta-box .sec-title { margin-bottom: 8px; font-family: var(--serif); color: var(--ink); font-weight: 600; }
.cta-box p:not(.sec-title) { color: var(--muted); }

/* ---------- legal ---------- */
.def-table { width: 100%; border-collapse: collapse; margin: 0 0 40px; font-size: 15px; }
.def-table th, .def-table td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.8; }
.def-table th { width: 34%; color: var(--ink); font-weight: 600; background: var(--bg-soft); font-size: 14px; }
@media (max-width: 559px) { .def-table th, .def-table td { display: block; width: 100%; } .def-table th { border-bottom: 0; padding-bottom: 6px; } .def-table td { padding-top: 8px; } }
.notfound { padding-block: 96px; text-align: center; }
.notfound .eyebrow { justify-content: center; }
.notfound .hero__cta { justify-content: center; }

/* ---------- footer ---------- */
.site-footer { background: #fdfcf9; border-top: 1px solid var(--line); padding: 56px 0 32px; position: relative; font-size: 14px; }
.site-footer::before { content: ""; position: absolute; top: -1px; left: 50%; width: 80px; height: 2px; margin-left: -40px; background: var(--gold); }
.site-footer__top { display: grid; gap: 28px; }
.site-footer__title { font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 6px; letter-spacing: .06em; }
.site-footer__desc { color: var(--muted); font-size: 13.5px; }
.site-footer__links { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; }
.site-footer__links a { color: var(--ink-2); text-decoration: none; display: inline-block; padding: 6px 0; font-size: 13.5px; }
.site-footer__links a:hover { color: var(--gold-deep); text-decoration: underline; }
.site-footer__notice { margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.site-footer__copy { color: var(--muted); font-family: var(--latin); letter-spacing: .1em; margin: 12px 0 0; }
@media (min-width: 860px) { .site-footer__top { grid-template-columns: 1fr auto; } .site-footer__links { grid-template-columns: repeat(3, auto); } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { animation: rise .9s var(--ease) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
  .hero__text > :nth-child(5) { animation-delay: .32s; }
  .hero__visual { animation: fade 1.2s var(--ease) .1s both; }
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }

@media print { .site-header, .site-footer, .share, .pager, .toc { display: none; } }
