/*
Theme Name: Oriolehyuk Studio
Theme URI: https://oriolehyuk.kr/
Author: Oriolehyuk
Description: A calm editorial theme for HR notes, albums, reviews, and personal archives.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: oriolehyuk-studio
*/

:root {
  --ink: #172033;
  --muted: #647087;
  --paper: #f8f7f3;
  --surface: #ffffff;
  --line: #e7e8ec;
  --accent: #5c4bdb;
  --accent-dark: #4031a9;
  --mint: #dff4ec;
  --max: 1180px;
  --radius: 22px;
  --shadow: 0 18px 55px rgba(32, 37, 61, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.78;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248,247,243,.92);
  border-bottom: 1px solid rgba(231,232,236,.85);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 13px; height: 13px; border-radius: 50%; background: var(--accent); box-shadow: 10px 0 0 #a79ff5; }
.brand-name { font-size: 1.16rem; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; list-style: none; padding: 0; margin: 0; }
.site-nav a { display: block; padding: 7px 13px; color: var(--muted); font-size: .92rem; font-weight: 650; border-radius: 999px; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--ink); background: #eceafc; }
.hero { padding: 92px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 48px; align-items: end; }
.eyebrow { margin: 0 0 15px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1.03; letter-spacing: -.07em; }
.hero-copy { max-width: 520px; margin: 22px 0 0; color: var(--muted); font-size: 1.08rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .92rem; font-weight: 750; }
.button:hover { color: #fff; background: var(--accent); }
.button.secondary { background: #eceafc; color: var(--accent-dark); }
.hero-note { padding: 28px; background: var(--mint); border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-note strong { display: block; margin-bottom: 9px; font-size: 1.18rem; }
.hero-note p { margin: 0; color: #3d5f57; font-size: .94rem; }
.section { padding: 30px 0 84px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.055em; line-height: 1.15; }
.section-heading a { color: var(--muted); font-size: .9rem; font-weight: 700; }
.category-row { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 30px; }
.category-pill { display: inline-flex; padding: 6px 12px; color: var(--accent-dark); background: #eceafc; border-radius: 999px; font-size: .8rem; font-weight: 750; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; min-height: 100%; padding: 25px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 10px 35px rgba(32,37,61,.035); transition: transform .2s ease, box-shadow .2s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card-image { aspect-ratio: 16 / 10; overflow: hidden; margin: -25px -25px 20px; border-radius: var(--radius) var(--radius) 0 0; background: #e9e9f5; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; }
.post-card-meta, .entry-meta { color: var(--muted); font-size: .8rem; font-weight: 700; }
.post-card h3 { margin: 9px 0 10px; font-size: 1.28rem; letter-spacing: -.04em; line-height: 1.35; }
.post-card-excerpt { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }
.post-card-link { margin-top: auto; padding-top: 20px; color: var(--accent); font-size: .87rem; font-weight: 800; }
.archive-wrap, .entry-wrap { padding: 74px 0 100px; }
.archive-header { max-width: 780px; margin-bottom: 34px; }
.archive-header h1, .entry-title { margin: 0 0 12px; font-size: clamp(2.25rem, 5vw, 4.4rem); line-height: 1.08; letter-spacing: -.065em; }
.archive-description { margin: 0; color: var(--muted); }
.entry { max-width: 820px; margin: 0 auto; }
.entry-header { margin-bottom: 36px; }
.entry-content { font-size: 1.08rem; }
.entry-content h2, .entry-content h3 { margin-top: 2em; line-height: 1.25; letter-spacing: -.04em; }
.entry-content blockquote { margin: 2em 0; padding: 18px 24px; border-left: 4px solid var(--accent); background: #efeffb; border-radius: 0 14px 14px 0; }
.entry-content a { color: var(--accent-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content figure { margin: 2em 0; }
.entry-content figcaption { color: var(--muted); font-size: .85rem; text-align: center; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.tag { padding: 5px 10px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 54px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav a { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.post-nav small { display: block; color: var(--muted); font-size: .74rem; }
.site-footer { margin-top: auto; padding: 38px 0; color: var(--muted); border-top: 1px solid var(--line); font-size: .84rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-inner p { margin: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.pagination { margin-top: 35px; }
.pagination .nav-links { display: flex; gap: 7px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .86rem; }
.pagination .current { color: #fff; background: var(--accent); border-color: var(--accent); }
@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { align-items: flex-start; flex-direction: column; padding: 17px 0; gap: 10px; }
  .site-nav { width: 100%; overflow-x: auto; }
  .site-nav ul { flex-wrap: nowrap; width: max-content; }
  .hero { padding: 66px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card { min-height: 0; }
  .footer-inner { flex-direction: column; }
}
