:root {
  --bg: #f7f4ef;
  --paper: #fffdf9;
  --ink: #2a2622;
  --ink-2: #6b635a;
  --line: #e3ddd3;
  --accent: #8a6f4e;
  --dark: #26221e;
  --serif: "Noto Serif KR", serif;
  --latin: "Cormorant Garamond", "Noto Serif KR", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.75 var(--sans); word-break: keep-all; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.eyebrow { margin: 0 0 12px; font: 500 14px/1 var(--latin); letter-spacing: .28em; color: var(--accent); }
.eyebrow.light { color: rgba(255,255,255,.85); }

/* header */
.hd { position: sticky; top: 0; z-index: 20; background: rgba(247,244,239,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-en { font: 500 21px var(--latin); letter-spacing: .2em; }
.logo-ko { font-size: 11px; letter-spacing: .32em; color: var(--ink-2); }
.gnb { display: flex; gap: 28px; font-size: 15px; }
.gnb a { color: var(--ink-2); padding: 6px 0; border-bottom: 1px solid transparent; }
.gnb a:hover, .gnb a[aria-current] { color: var(--ink); border-color: var(--ink); }

/* buttons */
.btn { display: inline-block; padding: 14px 26px; background: var(--ink); color: #fff; font-size: 15px; border: 1px solid var(--ink); transition: .2s; }
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn.light:hover { background: #fff; color: var(--ink); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* hero */
.hero { position: relative; height: min(86vh, 760px); min-height: 480px; overflow: hidden; background: var(--dark); }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .78; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,16,12,.6), rgba(20,16,12,0) 70%); }
.hero-tx { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; color: #fff; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.2; }
.hero-tx > p:not(.eyebrow) { max-width: 420px; margin: 20px 0 32px; color: rgba(255,255,255,.88); }
.hero .btn { align-self: flex-start; }

/* sections */
.sec { padding: 40px 24px 96px; }
.sec-hd { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 32px; }
.sec-hd h2, .intro h2, .process h2, .about h2 { font-size: clamp(26px, 3.4vw, 36px); }
.more { font-size: 15px; color: var(--ink-2); border-bottom: 1px solid var(--line); }
.more:hover { color: var(--ink); }
.intro { padding: 112px 24px 72px; max-width: 900px; text-align: center; }
.intro > p:not(.eyebrow) { margin: 24px auto 0; color: var(--ink-2); font-size: 17px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px 0 0; border-top: 1px solid var(--line); }
.stats div { padding: 28px 8px 0; }
.stats dt { font: 500 34px var(--latin); }
.stats dd { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }

/* cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-tx { padding-top: 16px; }
.card h3 { font-size: 17px; line-height: 1.45; }
.card p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.card[hidden] { display: none; }

/* process */
.process { background: var(--dark); color: #efe9e1; padding: 96px 0; }
.process .eyebrow { color: #c2a57f; }
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps li { border-top: 1px solid rgba(255,255,255,.2); padding-top: 24px; }
.steps b { font: 500 15px var(--latin); letter-spacing: .2em; color: #c2a57f; }
.steps h3 { margin: 12px 0 8px; font-family: var(--serif); font-size: 20px; }
.steps p { margin: 0; font-size: 15px; color: rgba(239,233,225,.72); }

/* cta */
.cta { padding: 104px 0; text-align: center; background: var(--paper); border-top: 1px solid var(--line); }
.cta h2 { font-size: clamp(24px, 3vw, 32px); }
.cta .wrap > p:not(.eyebrow) { margin: 14px 0 0; color: var(--ink-2); }

/* page header / tabs */
.page-hd { padding: 80px 24px 24px; }
.page-hd h1 { font-size: clamp(32px, 4.6vw, 48px); }
.page-hd > p:not(.eyebrow) { margin: 12px 0 0; color: var(--ink-2); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.tabs button { font: inherit; font-size: 14px; padding: 8px 18px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; border-radius: 999px; }
.tabs button span { color: var(--accent); margin-left: 2px; }
.tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs button[aria-pressed="true"] span { color: #d9c3a3; }

/* detail */
.post-hd { padding: 56px 24px 40px; max-width: 900px; }
.back { display: inline-block; margin-bottom: 32px; font-size: 14px; color: var(--ink-2); }
.back:hover { color: var(--ink); }
.post-hd h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.35; }
.date { margin: 16px 0 0; font-size: 14px; color: var(--ink-2); }
.post-cover { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.post-cover img { width: 100%; max-height: 720px; object-fit: cover; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 56px 0 0; padding: 8px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.specs div { display: flex; gap: 16px; padding: 12px 0; }
.specs dt { flex: none; width: 48px; font-size: 14px; color: var(--accent); }
.specs dd { margin: 0; font-size: 15px; }
.post-body { padding: 48px 0 24px; font-size: 17px; line-height: 1.9; }
.post-body p { margin: 0 0 1.4em; }
.post-body b { font-weight: 600; }
.post-body figure { margin: 32px 0; }
.post-body figure img { width: 100%; }
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0 96px; border-top: 1px solid var(--line); }
.pn a { display: block; font-size: 16px; }
.pn a small { display: block; font-size: 13px; color: var(--accent); margin-bottom: 4px; }
.pn .next { text-align: right; }
.pn a:hover { color: var(--accent); }

/* about */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; padding: 48px 24px 112px; align-items: start; }
.about-tx p { color: var(--ink-2); font-size: 17px; margin: 20px 0 0; }
.about-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-pics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-pics img:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 32px 24px 112px; }
.c-item { display: flex; flex-direction: column; gap: 6px; padding: 32px; background: var(--paper); border: 1px solid var(--line); transition: .2s; }
.c-item:hover { border-color: var(--ink); }
.c-item small { font-size: 13px; color: var(--accent); }
.c-item b { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.45; }
.c-item span { font-size: 14px; color: var(--ink-2); }

/* footer */
.ft { background: var(--dark); color: rgba(239,233,225,.7); font-size: 14px; padding: 64px 0 32px; }
.ft-in { display: flex; justify-content: space-between; gap: 32px; }
.ft-logo { font: 500 22px var(--latin); letter-spacing: .2em; color: #efe9e1; margin: 0 0 6px; }
.ft p { margin: 0 0 4px; }
.ft-info { text-align: right; }
.ft a:hover { color: #fff; }
.ft-copy { margin-top: 40px !important; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

.fab { position: fixed; right: 20px; bottom: 20px; z-index: 30; padding: 14px 22px; background: var(--accent); color: #fff; font-size: 15px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.fab:hover { background: var(--ink); }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .wrap, .sec, .intro, .page-hd, .post-hd, .post-cover, .about, .contact { padding-left: 16px; padding-right: 16px; }
  .hd-in { height: 60px; }
  .logo-en { font-size: 15px; letter-spacing: .14em; white-space: nowrap; }
  .logo-ko { letter-spacing: .24em; }
  .gnb { gap: 14px; font-size: 14px; white-space: nowrap; }
  .grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .stats dt { font-size: 26px; }
  .intro { padding-top: 72px; }
  .process, .cta { padding: 72px 0; }
  .contact { grid-template-columns: 1fr; }
  .c-item { padding: 24px; }
  .ft-in { flex-direction: column; }
  .ft-info { text-align: left; }
  .pn { grid-template-columns: 1fr; }
  .pn .next { text-align: left; }
  .post-body { font-size: 16px; }
}

/* tips */
.tips-grid { grid-template-columns: repeat(4, 1fr); gap: 36px 20px; }
.card.tip .card-img { aspect-ratio: 1 / 1; }
.card .tag { margin: 0 0 4px; font-size: 13px; color: var(--accent); }
.card.tip h3 { font-size: 16px; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 64px; font-size: 15px; }
.pager div { display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; }
.pager div a, .pager div span { min-width: 36px; padding: 6px 8px; text-align: center; color: var(--ink-2); }
.pager div a[aria-current] { background: var(--ink); color: #fff; }
.pager > a { color: var(--ink-2); }
.pager a:hover { color: var(--ink); }
.tip-body h2 { margin: 56px 0 16px; font-size: 22px; line-height: 1.5; }
.post-hd.narrow { max-width: 760px; }
.more-tips { border-top: 1px solid var(--line); padding-top: 72px; }
@media (max-width: 900px) { .tips-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tips-grid { gap: 24px 12px; } .card.tip h3 { font-size: 14px; } .tip-body h2 { font-size: 19px; } }
@media (max-width: 600px) {
  .hd-in { height: auto; flex-wrap: wrap; row-gap: 4px; padding-top: 10px; padding-bottom: 6px; }
  .gnb { width: 100%; justify-content: space-between; }
  .gnb a { padding: 4px 0; }
  /* 블로그 원문의 줄바꿈은 좁은 화면에서 어색하게 꺾이므로 문단만 남긴다 */
  .post-body br { display: none; }
}
.tip-body { padding-top: 8px; }
