/* MARU — magazine styles (2026-10-01, 시안_매거진 기준) */
:root {
  --paper: #F5F1EA; --paper2: #ECE6DC; --ink: #121212; --ink2: #3A3A3A; --muted: #6E6A63; --rule: #CFC7BA; --accent: #B3322A; --night: #15171C;
  --serif: "Fraunces", "Noto Serif KR", Georgia, serif; --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --kr: "Noto Serif KR", serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #141412; --paper2: #1D1C19; --ink: #F1ECE3; --ink2: #D2CCC1; --muted: #9C968B; --rule: #3A3732; --accent: #E0574D; --night: #0B0C0E; }
}
:root[data-theme="dark"] { --paper: #141412; --paper2: #1D1C19; --ink: #F1ECE3; --ink2: #D2CCC1; --muted: #9C968B; --rule: #3A3732; --accent: #E0574D; --night: #0B0C0E; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }
.kick { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.by { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* 머리 */
.util { border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); }
.util .wrap { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 12px; }
.langs { display: flex; align-items: center; gap: 2px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.langs .globe { width: 17px; height: 17px; flex: none; margin-right: 4px; color: var(--ink2); }
.langs a { font-weight: 600; font-size: 13px; color: var(--ink2); padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.langs a:hover { background: var(--paper2); }
.langs a[aria-current] { color: var(--paper); background: var(--ink); }
@media (max-width: 600px) { .util .date { display: none; } .util .wrap { justify-content: flex-start; } .langs a { padding: 4px 7px; font-size: 12.5px; } }
/* 브라우저 언어 안내 띠 */
.langhint { background: var(--ink); color: var(--paper); font-size: 14px; }
.langhint .wrap { display: flex; align-items: center; gap: 10px; justify-content: center; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.langhint a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.langhint button { background: transparent; border: 0; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; opacity: .7; }
.mast { text-align: center; padding: 22px 0 0; }
.mast .logo { font-family: var(--serif); font-weight: 800; font-size: clamp(52px, 9vw, 104px); letter-spacing: .02em; line-height: .95; font-variation-settings: "opsz" 144; display: inline-block; }
.mast .krm { font-family: var(--kr); font-weight: 700; font-size: .22em; letter-spacing: 0; color: var(--accent); vertical-align: super; margin-left: .25em; }
.mast .tag { font-family: var(--serif); font-style: italic; font-size: clamp(15px, 2vw, 19px); color: var(--ink2); margin: 10px 16px 18px; }
.mast .tag b { font-weight: 600; color: var(--accent); }
nav.sec { border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); }
nav.sec .wrap { display: flex; justify-content: center; gap: 4px 26px; flex-wrap: wrap; padding: 10px 20px; }
nav.sec a { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
nav.sec a[aria-current] { color: var(--accent); }
nav.sec a.ask { color: var(--accent); }
@media (max-width: 760px) { nav.sec .wrap { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; } }

/* 표지 */
.cover { position: relative; display: block; margin-top: 26px; height: min(76vh, 700px); min-height: 440px; overflow: hidden; background: #222; }
.cover img { position: absolute; inset: 0; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 28%, rgba(0,0,0,.74) 100%); }
.cover .txt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; color: #fff; padding-bottom: 44px; }
.cover .kick { color: #F2B8B3; }
.cover h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(36px, 6vw, 76px); line-height: 1.03; letter-spacing: -.03em; margin: 10px 0 14px; max-width: 920px; font-variation-settings: "opsz" 144; }
.cover .dek { font-family: var(--serif); font-size: clamp(17px, 2.1vw, 22px); line-height: 1.45; max-width: 660px; margin: 0 0 14px; color: #F3EEE6; }
.cover .by { color: #DDD5C8; }

/* 목록 */
.issue { padding: 44px 0 10px; }
.sechead { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--ink); padding-bottom: 8px; margin: 0 0 22px; gap: 12px; }
.sechead h2 { font-family: var(--serif); font-size: clamp(26px, 3vw, 34px); margin: 0; letter-spacing: -.02em; font-weight: 700; }
.grid { display: grid; grid-template-columns: 1.55fr 1fr 300px; gap: 30px; }
@media (max-width: 1050px) { .grid { grid-template-columns: 1fr 1fr; } .mostread { grid-column: 1 / -1; } }
@media (max-width: 700px) { .grid { grid-template-columns: 1fr; } }
.story { display: block; }
.story .ph { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper2); margin-bottom: 12px; }
.story.big .ph { aspect-ratio: 5 / 4; }
.story h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -.02em; line-height: 1.14; margin: 8px 0 8px; font-size: 22px; }
.story.big h3 { font-size: clamp(27px, 3.1vw, 36px); }
.story p { margin: 0 0 10px; color: var(--ink2); font-family: var(--serif); font-size: 16.5px; line-height: 1.5; }
.story:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.stack { display: flex; flex-direction: column; gap: 26px; }
.mostread { border-left: 1px solid var(--rule); padding-left: 26px; }
@media (max-width: 1050px) { .mostread { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 18px; } }
.mostread h4 { margin: 0 0 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mostread ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.mostread li { counter-increment: n; display: grid; grid-template-columns: 38px 1fr; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.mostread li::before { content: counter(n); font-family: var(--serif); font-weight: 800; font-size: 28px; line-height: 1; color: var(--accent); grid-row: span 2; }
.mostread li a { font-family: var(--serif); font-weight: 600; font-size: 17px; line-height: 1.3; }
.mostread li small { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
main section { margin-bottom: 48px; }

/* 인용 */
.quote { background: var(--paper2); margin: 40px 0 54px; padding: 66px 0; text-align: center; }
.quote .kr { font-family: var(--kr); font-weight: 900; font-size: clamp(52px, 9vw, 108px); line-height: 1; color: var(--accent); }
.quote blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 3vw, 32px); line-height: 1.3; max-width: 860px; margin: 22px auto 12px; }
.quote cite { font-style: normal; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }

/* 글 */
.ahead { padding: 40px 0 26px; }
.ahead h1 { font-family: var(--serif); font-size: clamp(34px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.03em; margin: 12px 0 14px; font-weight: 700; font-variation-settings: "opsz" 144; }
.ahead .dek { font-family: var(--serif); font-size: clamp(18px, 2.3vw, 23px); line-height: 1.45; color: var(--ink2); margin: 0 0 14px; }
.readin { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 16px; font-size: 13px; }
.readin span { color: var(--muted); margin-right: 4px; }
.readin a { border: 1px solid var(--rule); border-radius: 999px; padding: 3px 11px; font-weight: 600; }
.readin a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.hero { margin: 0 auto 34px; max-width: 1240px; }
.hero img { aspect-ratio: 16 / 9; height: auto; }
.hero figcaption { font-size: 12px; color: var(--muted); padding: 8px 20px 0; text-align: right; }
.hero figcaption a { text-decoration: underline; }
.body { font-family: var(--serif); font-size: 19.5px; line-height: 1.68; color: var(--ink); padding-bottom: 20px; }
.body p { margin: 0 0 1.15em; }
.body > p:first-of-type::first-letter { float: left; font-size: 3.4em; line-height: .86; font-weight: 800; color: var(--accent); margin: .06em .1em 0 0; }
.body h2 { font-family: var(--serif); font-size: 29px; line-height: 1.2; letter-spacing: -.02em; margin: 1.6em 0 .55em; font-weight: 700; }
.body h3 { font-size: 21px; margin: 1.3em 0 .4em; font-weight: 700; }
.body ul, .body ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.body li { margin: .3em 0; }
.body blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); font-style: italic; color: var(--ink2); }
.body a { text-decoration: underline; text-underline-offset: 3px; }
.body .ko { font-family: var(--kr); font-weight: 700; font-size: .95em; }
@media (max-width: 600px) { .body { font-size: 18px; } .body h2 { font-size: 25px; } }
.phrase { border-left: 3px solid var(--accent); background: var(--paper2); padding: 18px 20px; margin: 30px 0; font-family: var(--sans); }
.phrase .k { font-family: var(--kr); font-weight: 700; font-size: 26px; margin: 6px 0 4px; }
.phrase .r { font-size: 15px; color: var(--muted); }
.sources { border-top: 1px solid var(--rule); margin-top: 34px; padding-top: 8px; font-family: var(--sans); font-size: 14px; }
.sources h2 { font-family: var(--sans); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin: 12px 0 8px; }
.sources a { color: var(--muted); }

/* 질문·뉴스레터 */
.askbox { border: 1px solid var(--ink); padding: 36px; margin-top: 30px; }
@media (max-width: 600px) { .askbox { padding: 24px 18px; } }
.askin { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; }
@media (max-width: 860px) { .askin { grid-template-columns: 1fr; gap: 16px; } }
.askin h2 { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); margin: 8px 0 10px; letter-spacing: -.02em; line-height: 1.1; }
.askin p { font-family: var(--serif); color: var(--ink2); font-size: 17.5px; margin: 0; }
.askform textarea, .askform input, .subform input { width: 100%; border: 1px solid var(--ink); background: transparent; color: inherit; font: inherit; padding: 12px 14px; border-radius: 0; }
.askform textarea { resize: vertical; min-height: 96px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0; }
.btn { display: inline-block; background: var(--ink); color: var(--paper); font: inherit; font-weight: 700; font-size: 14px; letter-spacing: .04em; padding: 13px 20px; border: 0; cursor: pointer; }
.btn.red { background: var(--accent); color: #fff; }
.askform .note { font-family: var(--sans) !important; font-size: 12.5px !important; color: var(--muted) !important; margin-top: 10px !important; }
.msg { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--accent); min-height: 1.2em; margin: 8px 0 0; }
.letter { text-align: center; border-top: 3px double var(--ink); border-bottom: 1px solid var(--ink); margin: 56px 0 0; padding: 46px 0; }
.letter h2 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); margin: 0 0 8px; letter-spacing: -.02em; }
.letter > p { font-family: var(--serif); font-style: italic; color: var(--ink2); font-size: 19px; margin: 0 16px 20px; }
.subform { display: flex; max-width: 480px; margin: 0 auto; }
.subform input[type=email] { border-right: 0; }
footer { padding: 34px 0 50px; font-size: 13px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 30px; justify-content: space-between; align-items: flex-start; }
footer .logo { font-family: var(--serif); font-weight: 800; font-size: 24px; color: var(--ink); letter-spacing: .02em; }
footer p { max-width: 520px; margin: 6px 0 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; }
