/* =============================================
   RickarsRockar — pages.css
   About / Contact / Works 専用スタイル
   ============================================= */

/* ─── ページ共通ヘッダー ─── */
.page-header {
  border-bottom: 1px solid var(--bd);
  background: var(--sf);
}
.page-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 2.5rem;
}
.page-eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: .6rem;
}
.page-title {
  font-family: var(--ft);
  font-size: clamp(2.5rem, 6vw, 5rem);
  letter-spacing: .03em;
  line-height: 1;
  color: var(--wh);
}
.page-title .ac { color: var(--or); }

/* ─── ページ本体ラッパー ─── */
.page-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* ─── セクション ─── */
.page-section {
  margin-bottom: 4rem;
}

/* ─── ABOUT: プロフィール ─── */
.about-profile {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 1rem;
}
.about-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--or);
  overflow: hidden;
  flex-shrink: 0;
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-placeholder {
  width: 100%;
  height: 100%;
  background: var(--sf2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ft);
  font-size: 1.6rem;
  letter-spacing: .05em;
  color: var(--or);
}
.about-lead {
  font-family: var(--ft);
  font-size: 1.3rem;
  letter-spacing: .04em;
  color: var(--wh);
  margin-bottom: 1rem;
}
.about-text p {
  font-size: 14px;
  line-height: 1.9;
  color: rgba(240,240,240,.75);
  margin-bottom: .9rem;
}

/* ─── ABOUT: リンク集 ─── */
.links-note {
  font-size: 13px;
  color: var(--mu);
  margin-bottom: 1.2rem;
  letter-spacing: .04em;
}
.links-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--bd);
  border: 1px solid var(--bd);
}
.link-item {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.4rem;
  transition: background .2s;
}
.link-item:hover { background: var(--sf); }
.link-info {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
}
.link-name {
  font-family: var(--ft);
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--wh);
}
.link-desc {
  font-size: 12px;
  color: var(--mu);
  line-height: 1.6;
}
.link-btn {
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--or);
  text-decoration: none;
  border: 1px solid var(--or);
  padding: 5px 14px;
  white-space: nowrap;
  transition: all .2s;
}
.link-btn:hover {
  background: var(--or);
  color: var(--bg);
}

/* ─── CONTACT ─── */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--bd);
  border: 1px solid var(--bd);
  margin-bottom: 0;
}
.contact-item {
  background: var(--bg);
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 1.3rem 1.4rem;
  transition: background .2s;
}
.contact-item:hover { background: var(--sf); }
.contact-label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or);
  flex-shrink: 0;
}
.contact-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.contact-handle {
  font-family: var(--ft);
  font-size: 1.15rem;
  letter-spacing: .04em;
  color: var(--wh);
}
.contact-note {
  padding: 1.4rem;
  background: var(--sf);
  border-left: 2px solid var(--or);
  border-radius: 0;
}
.contact-note p {
  font-size: 13px;
  color: rgba(240,240,240,.7);
  line-height: 1.85;
  margin-bottom: .5rem;
}
.contact-note p:last-child { margin-bottom: 0; }

/* ─── WORKS: フィルターバー ─── */
.works-filter-bar {
  border-bottom: 1px solid var(--bd);
  background: var(--sf);
}
.works-filter-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.filter-label {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mu);
  flex-shrink: 0;
}
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
.filter-tag {
  font-size: 11px;
  letter-spacing: .1em;
  padding: 4px 12px;
  background: var(--bg);
  color: var(--mu);
  text-decoration: none;
  border: 1px solid var(--bd);
  transition: all .2s;
}
.filter-tag:hover { border-color: var(--or); color: var(--wh); }
.filter-tag.active { background: var(--or); color: var(--bg); border-color: var(--or); }

/* ─── WORKS: グリッド ─── */
.works-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bd);
  border: 1px solid var(--bd);
  margin-bottom: .5rem;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .about-profile { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-avatar { margin: 0 auto; }
  .contact-item { grid-template-columns: 1fr; gap: .5rem; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .page-wrap { padding: 2rem 1.5rem 4rem; }
}
@media (max-width: 480px) {
  .works-grid { grid-template-columns: 1fr; }
  .link-item { flex-direction: column; align-items: flex-start; }
  .contact-body { flex-direction: column; align-items: flex-start; }
}
