:root {
  color-scheme: light;
  --ink: #111;
  --paper: #f5f4ef;
  --white: #fff;
  --yellow: #ffdc39;
  --line: rgba(17, 17, 17, .18);
  font-family: Pretendard Variable, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
a { color: inherit; }

.blog-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.blog-header { display: flex; align-items: center; justify-content: space-between; min-height: 84px; border-bottom: 1px solid var(--line); }
.blog-logo { width: 42px; height: 42px; overflow: hidden; background: url('/hypeup-logo.svg') center / contain no-repeat; font-size: 0; line-height: 0; text-decoration: none; }
.blog-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; }

.blog-hero { padding: clamp(80px, 12vw, 150px) 0 72px; }
.blog-eyebrow { margin: 0 0 24px; color: #816c00; font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.blog-hero h1 { max-width: 920px; margin: 0; font-size: clamp(54px, 9vw, 120px); line-height: .82; letter-spacing: -.085em; }
.blog-hero p { max-width: 650px; margin: 34px 0 0; font-size: clamp(17px, 2vw, 22px); line-height: 1.65; letter-spacing: -.025em; }

.post-list { padding: 0 0 120px; border-top: 1px solid var(--ink); }
.post-card { display: grid; grid-template-columns: 90px minmax(0, 1fr) 180px; gap: 28px; align-items: start; padding: 34px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.post-card small, .post-card time { padding-top: 7px; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.post-card h2 { margin: 0; font-size: clamp(27px, 3.5vw, 47px); line-height: 1.08; letter-spacing: -.055em; }
.post-card p { margin: 13px 0 0; color: rgba(17,17,17,.62); font-size: 15px; line-height: 1.65; }
.post-card time { text-align: right; }
.post-card:hover h2 { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

.article-header { padding: clamp(72px, 10vw, 130px) 0 62px; border-bottom: 1px solid var(--ink); }
.article-header h1 { max-width: 1000px; margin: 18px 0 28px; font-size: clamp(43px, 7.5vw, 92px); line-height: .98; letter-spacing: -.07em; word-break: keep-all; overflow-wrap: anywhere; }
.article-lead { max-width: 760px; margin: 0; font-size: clamp(18px, 2.2vw, 24px); line-height: 1.65; letter-spacing: -.025em; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 32px; color: rgba(17,17,17,.58); font-size: 12px; font-weight: 700; }

.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 220px; gap: clamp(50px, 9vw, 130px); align-items: start; padding: 72px 0 120px; }
.article-body { font-size: 18px; line-height: 1.9; letter-spacing: -.02em; word-break: keep-all; }
.article-body h2 { margin: 72px 0 20px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; letter-spacing: -.055em; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin: 42px 0 12px; font-size: 23px; line-height: 1.35; letter-spacing: -.04em; }
.article-body p { margin: 0 0 22px; }
.article-body ul, .article-body ol { margin: 0 0 28px; padding-left: 1.35em; }
.article-body li { margin: 8px 0; }
.article-body strong { font-weight: 850; }
.article-callout { margin: 42px 0; padding: 28px; border: 1px solid var(--ink); background: var(--yellow); font-size: 17px; font-weight: 750; line-height: 1.7; }
.article-aside { position: sticky; top: 28px; padding-top: 4px; }
.article-aside strong { display: block; margin-bottom: 17px; font-size: 11px; letter-spacing: .1em; }
.article-aside a { display: block; padding: 13px 0; border-top: 1px solid var(--line); font-size: 13px; font-weight: 750; line-height: 1.45; text-decoration: none; }
.article-aside a:last-child { border-bottom: 1px solid var(--line); }
.article-aside a:hover { color: #866f00; }

.article-body { min-width: 0; }
.article-body code { font-size: .9em; white-space: normal; overflow-wrap: anywhere; }
.article-table-wrap { max-width: 100%; margin: 30px 0; overflow-x: auto; border: 1px solid var(--line); }
.article-table-wrap:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.article-table-wrap table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; line-height: 1.7; letter-spacing: -.01em; }
.article-table-wrap caption { padding: 16px 18px; background: var(--paper); text-align: left; font-weight: 850; }
.article-table-wrap th, .article-table-wrap td { padding: 16px 18px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-table-wrap thead th { background: var(--yellow); color: var(--ink); font-weight: 850; }
.article-table-wrap tbody tr:nth-child(even) { background: rgba(255, 255, 255, .55); }
.article-table-wrap tbody th { font-weight: 750; }
.article-table-wrap p { margin: 0; }
.article-download { display: inline-block; padding: 12px 18px; border: 1px solid var(--ink); background: var(--yellow); font-weight: 850; line-height: 1.5; text-decoration: none; }
.article-download:hover { background: var(--ink); color: var(--yellow); }
.article-download:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.blog-footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding: 45px 0; border-top: 1px solid var(--ink); }
.blog-footer strong { font-size: 26px; letter-spacing: -.06em; }
.blog-footer p { margin: 8px 0 0; color: rgba(17,17,17,.56); font-size: 11px; line-height: 1.5; }
.blog-footer a { padding: 13px 18px; border: 1px solid var(--ink); border-radius: 999px; font-size: 11px; font-weight: 850; text-decoration: none; }

@media (max-width: 760px) {
  .blog-shell { width: min(100% - 32px, 1180px); }
  .blog-header { min-height: 70px; }
  .blog-hero { padding: 72px 0 48px; }
  .blog-hero h1 { font-size: clamp(48px, 18vw, 80px); }
  .post-list { padding-bottom: 80px; }
  .post-card { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 28px 0; }
  .post-card time { grid-column: 2; text-align: left; padding-top: 0; }
  .article-header { padding: 70px 0 46px; }
  .article-layout { grid-template-columns: 1fr; padding: 50px 0 80px; }
  .article-body { font-size: 16px; line-height: 1.85; word-break: normal; }
  .article-body h2 { margin-top: 58px; }
  .article-aside { position: static; order: -1; }
  .blog-footer { grid-template-columns: 1fr; }
  .blog-footer a { justify-self: start; }
}


/* Editorial index */
.blog-index { background: #f2f1ec; }
.blog-index .blog-header { position: relative; z-index: 5; min-height: 92px; }
.blog-nav { display: flex; align-items: center; gap: 28px; }
.blog-nav a { font-size: 11px; font-weight: 850; letter-spacing: .08em; text-decoration: none; }
.blog-nav a span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 5px; border: 1px solid var(--ink); border-radius: 50%; font-size: 9px; }
.blog-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.blog-index .blog-hero { min-height: min(760px, calc(100svh - 92px)); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(56px, 8vw, 100px) 0 clamp(46px, 6vw, 72px); }
.blog-hero-meta { display: flex; justify-content: space-between; align-items: center; }
.blog-hero-meta .blog-eyebrow { margin: 0; }
.blog-hero-meta > span { font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.blog-index .blog-hero h1 { max-width: none; margin: clamp(42px, 7vw, 80px) 0; font-size: clamp(74px, 12.2vw, 174px); line-height: .72; letter-spacing: -.09em; }
.blog-index .blog-hero h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--ink); text-stroke: 1.5px var(--ink); }
.blog-hero-bottom { display: grid; grid-template-columns: minmax(0, 620px) auto; justify-content: space-between; align-items: end; gap: 40px; }
.blog-index .blog-hero-bottom > p { margin: 0; font-size: clamp(16px, 1.7vw, 21px); line-height: 1.65; }
.blog-hero-bottom > a { display: flex; align-items: flex-end; gap: 22px; padding: 16px 0 5px; border-bottom: 2px solid var(--ink); font-size: 11px; font-weight: 900; line-height: 1.25; letter-spacing: .08em; text-decoration: none; }
.blog-hero-bottom > a b { font-size: 25px; line-height: 1; transition: transform .2s ease; }
.blog-hero-bottom > a:hover b { transform: translateY(5px); }

.featured-wrap { padding: clamp(66px, 8vw, 110px) 0; background: #111; color: #fff; }
.section-label { display: flex; justify-content: space-between; margin: 0 0 26px; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.featured-post { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); min-height: 610px; overflow: hidden; border: 1px solid rgba(255,255,255,.35); color: #fff; text-decoration: none; }
.featured-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(34px, 5vw, 68px); }
.post-kicker { margin: 0; font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.featured-copy h2 { margin: clamp(48px, 6vw, 82px) 0 28px; font-size: clamp(42px, 5vw, 70px); line-height: .98; letter-spacing: -.065em; }
.featured-copy > p:not(.post-kicker) { max-width: 510px; margin: 0; color: rgba(255,255,255,.66); font-size: 16px; line-height: 1.75; }
.read-link { display: flex; justify-content: space-between; width: min(100%, 230px); margin-top: auto; padding-bottom: 11px; border-bottom: 1px solid rgba(255,255,255,.55); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.read-link b { font-size: 16px; transition: transform .2s ease; }
.featured-post:hover .read-link b { transform: translate(4px,-4px); }
.featured-art { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 100%; background: var(--yellow); color: #111; }
.art-index { position: absolute; top: 28px; right: 32px; font-size: 12px; font-weight: 900; }
.featured-art > strong { position: relative; z-index: 2; font-size: clamp(60px, 8vw, 116px); font-weight: 950; line-height: .72; letter-spacing: -.09em; text-align: center; transform: rotate(-7deg); }
.art-orbit { position: absolute; width: min(78%, 430px); aspect-ratio: 1; border: 1px solid rgba(17,17,17,.42); border-radius: 50%; animation: orbit-spin 22s linear infinite; }
.art-orbit::before, .art-orbit::after { position: absolute; inset: 13%; border: 1px solid rgba(17,17,17,.28); border-radius: 50%; content: ''; }
.art-orbit::after { inset: 30%; }
.art-orbit i { position: absolute; padding: 5px 8px; background: var(--yellow); font-size: 9px; font-style: normal; font-weight: 900; letter-spacing: .08em; }
.art-orbit i:nth-child(1) { top: -11px; left: 46%; }
.art-orbit i:nth-child(2) { right: -20px; top: 48%; }
.art-orbit i:nth-child(3) { bottom: -11px; left: 42%; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.article-archive { padding: clamp(80px, 10vw, 140px) 0 120px; }
.archive-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-bottom: 56px; }
.archive-head .blog-eyebrow { margin-bottom: 20px; }
.archive-head h2 { margin: 0; font-size: clamp(56px, 8.5vw, 118px); line-height: .78; letter-spacing: -.085em; }
.archive-head > p { margin: 0 0 4px; color: rgba(17,17,17,.58); font-size: 13px; line-height: 1.7; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.post-tile { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: 28px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); color: #111; text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.post-tile:hover { z-index: 2; transform: translate(-7px,-7px); box-shadow: 7px 7px 0 #111; }
.post-tile .tile-number { position: absolute; top: 25px; right: 26px; font-size: 11px; font-weight: 900; }
.post-tile h3 { margin: 76px 0 20px; font-size: clamp(25px, 2.25vw, 34px); line-height: 1.12; letter-spacing: -.05em; word-break: keep-all; }
.post-tile > p:not(.post-kicker) { margin: 0; color: rgba(17,17,17,.62); font-size: 14px; line-height: 1.65; }
.tile-foot { display: flex; justify-content: space-between; align-items: end; margin-top: auto; padding-top: 35px; font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.tile-foot b { font-size: 22px; transition: transform .2s ease; }
.post-tile:hover .tile-foot b { transform: translate(4px,-4px); }
.tile-yellow { background: var(--yellow); }
.tile-white { background: #fff; }
.tile-dark { background: #111; color: #fff; }
.tile-dark > p:not(.post-kicker) { color: rgba(255,255,255,.58); }
.tile-outline { background: #e6e4de; }
.tile-wide { grid-column: span 2; min-height: 390px; }
.tile-wide h3 { max-width: 700px; font-size: clamp(35px, 4vw, 58px); }

.blog-index .blog-footer { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .art-orbit { animation: none; }
  .post-tile, .tile-foot b, .read-link b, .blog-hero-bottom > a b { transition: none; }
}

@media (max-width: 900px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-art { min-height: 470px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-wide { grid-column: span 2; }
}

@media (max-width: 760px) {
  .blog-index .blog-header { min-height: 70px; }
  .blog-nav { gap: 14px; }
  .blog-nav a:first-child { display: none; }
  .blog-index .blog-hero { min-height: calc(100svh - 70px); padding: 45px 0 36px; }
  .blog-hero-meta > span { display: none; }
  .blog-index .blog-hero h1 { margin: auto 0; font-size: clamp(58px, 19vw, 88px); line-height: .78; }
  .blog-hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .blog-index .blog-hero-bottom > p { font-size: 15px; line-height: 1.65; }
  .blog-hero-bottom > a { width: 150px; }
  .featured-wrap { padding: 64px 0; }
  .featured-post { min-height: 0; }
  .featured-copy { min-height: 520px; padding: 28px; }
  .featured-copy h2 { margin-top: 55px; font-size: clamp(38px, 11vw, 52px); }
  .featured-copy > p:not(.post-kicker) { font-size: 14px; }
  .featured-art { min-height: 400px; }
  .archive-head { grid-template-columns: 1fr; margin-bottom: 38px; }
  .archive-head h2 { font-size: clamp(52px, 17vw, 78px); }
  .archive-head > p { display: none; }
  .post-grid { grid-template-columns: 1fr; }
  .post-tile, .tile-wide { grid-column: auto; min-height: 390px; }
  .post-tile h3, .tile-wide h3 { font-size: clamp(28px, 8.4vw, 38px); }
  .post-tile:hover { transform: none; box-shadow: none; }
}
