/*
Theme Name: Things by Pearl
Theme URI: https://thingsbypearl.com
Author: Peter Kim & Rebekah
Author URI: https://thingsbypearl.com
Description: A cute, fast, block-free classic theme for Things by Pearl, a Korean-products affiliate site (K-beauty first, then snacks, stationery and home). Illustrated with Pearl & Bear, characters by Rebekah ("by pearl"). Includes an "Our pick" affiliate product box shortcode, Article schema, a clear affiliate disclosure and a newsletter placeholder.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: things-by-pearl
Tags: blog, custom-logo, one-column, accessibility-ready, translation-ready, threaded-comments

Illustrations of Pearl, Bear and the street scene are (c) Rebekah ("by pearl"); all rights reserved. The code is GPL.
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--cream: #FCF5E8;
	--warm: #FFFDF8;
	--coral: #EF6A4F;       /* decorative / illustrations */
	--coral-deep: #C8452D;  /* text-safe coral: white on it = 4.8:1 */
	--blush: #F6B8B0;
	--sky: #D6EDF1;
	--brown: #6B5232;       /* secondary text (6.7:1 on cream) */
	--ink: #3A2B1B;         /* main text (12.5:1 on cream) */
	--marigold: #F5A93A;
	--sage: #7A9A8A;
	--sage-deep: #4E6B5C;
	--jade: #A8D5C2;        /* celadon */
	--rose: #E8B4BC;        /* hanbok dusty rose */
	--indigo: #3B4C7A;      /* links (7.7:1 on cream) */

	--butter: #FBE3B3;
	--jade-soft: #D3EADF;
	--rose-soft: #F4D3D8;
	--sky-soft: #EAF6F8;
	--blush-soft: #FCE3DE;

	--font-display: "Jua", "Gaegu", "Noto Sans KR", "Nunito", system-ui, sans-serif;
	--font-hand: "Gaegu", "Nanum Pen Script", "Noto Sans KR", cursive;
	--font-body: "Nunito", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--radius: 22px;
	--radius-lg: 32px;
	--line: 2.5px;
	--shadow: 6px 6px 0 var(--blush);
	--wrap: 1180px;
	--wrap-narrow: 780px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
img { border-style: none; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 .5em;
	color: var(--ink);
	letter-spacing: .005em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1.1em; }

a { color: var(--indigo); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--coral-deep); }

:focus-visible {
	outline: 3px solid var(--indigo);
	outline-offset: 3px;
	border-radius: 6px;
}

::selection { background: var(--blush); color: var(--ink); }

[lang="ko"], .kicker [lang="ko"] { font-family: var(--font-hand), var(--font-body); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus, .skip-link:focus {
	background: var(--ink); color: var(--cream); clip: auto; clip-path: none; display: block;
	height: auto; width: auto; left: 12px; top: 12px; padding: 12px 18px; z-index: 100000;
	border-radius: 12px; font-weight: 800; text-decoration: none;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.wrap--narrow { max-width: calc(var(--wrap-narrow) + 40px); }
@media (min-width: 700px) { .wrap { padding-inline: 32px; } }

.icon { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -0.15em; flex: none; }

/* hanbok "saekdong" stripe: used sparingly (top of page + footer) */
.saekdong {
	height: 10px;
	background: linear-gradient(to bottom,
		var(--coral) 0 2px, var(--marigold) 2px 4px, var(--warm) 4px 6px,
		var(--jade) 6px 8px, var(--indigo) 8px 10px);
}

/* ==========================================================================
   3. Buttons, chips, labels
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .72em 1.45em;
	border: var(--line) solid var(--ink);
	border-radius: 999px;
	font: 800 1rem/1.2 var(--font-body);
	text-decoration: none;
	color: var(--ink);
	background: var(--warm);
	box-shadow: 0 4px 0 var(--ink);
	transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
	cursor: pointer;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--ink); }
.btn--primary { background: var(--coral-deep); color: #fff; }
.btn--primary:hover { background: #AF3822; color: #fff; }
.btn--ghost { background: var(--warm); }
.btn--ghost:hover { background: var(--sky); }
.btn--pick { background: var(--marigold); }
.btn--pick:hover { background: #F7B857; }
.btn.is-disabled, .btn[disabled] {
	background: #EDE3CF; color: var(--brown); box-shadow: 0 4px 0 #B9A98A; border-color: #B9A98A;
	cursor: not-allowed; transform: none;
}

.chip {
	display: inline-block; padding: .18em .8em; border-radius: 999px;
	border: 2px solid var(--ink); background: var(--blush);
	font: 800 .8rem/1.5 var(--font-body); text-decoration: none; color: var(--ink);
	letter-spacing: .02em;
}
a.chip:hover { color: var(--ink); background: var(--marigold); }
.chip--blush { background: var(--blush); }
.chip--butter { background: var(--butter); }
.chip--sky { background: var(--sky); }
.chip--jade { background: var(--jade-soft); }
.chip--rose { background: var(--rose-soft); }
.chip-row { list-style: none; padding: 0; margin: 1.2em 0; display: flex; flex-wrap: wrap; gap: 8px; }

.status {
	display: inline-flex; align-items: center; gap: .35em; padding: .12em .75em;
	border-radius: 999px; border: 2px solid var(--ink);
	font: 800 .8rem/1.5 var(--font-body); color: var(--ink);
}
.status--tested { background: var(--jade); }
.status--research { background: var(--sky); }

.kicker {
	font-family: var(--font-hand); font-weight: 700; font-size: 2rem; line-height: 1.15;
	color: var(--brown); margin: 0 0 .35em; display: block;
	transform: rotate(-1.2deg); transform-origin: left center;
}
.kicker span[lang="en"], .kicker > span:last-child { font-family: var(--font-body); font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--brown); }
.kicker [lang="ko"], .kicker[lang="ko"] { color: var(--coral-deep); }

/* ==========================================================================
   4. Header
   ========================================================================== */
.site-header {
	background: var(--cream);
	border-bottom: 2.5px dashed var(--blush);
	position: relative; z-index: 20;
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding-block: 12px; flex-wrap: wrap;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
	width: 54px; height: 54px; flex: none; border-radius: 50%;
	background: var(--blush); border: var(--line) solid var(--ink); overflow: hidden;
	display: grid; place-items: end center; box-shadow: 3px 3px 0 var(--marigold);
}
.brand__mark img { width: 118%; max-width: none; height: auto; transform: translateY(8%); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: .01em; }
.brand__sub { font-family: var(--font-hand); font-weight: 700; font-size: 1.1rem; color: var(--brown); margin-top: 2px; margin-left: 2px; }

.nav-toggle {
	display: none; background: var(--warm); border: var(--line) solid var(--ink); border-radius: 14px;
	width: 48px; height: 48px; padding: 0; color: var(--ink); cursor: pointer; place-items: center;
	box-shadow: 0 3px 0 var(--ink);
}
.nav-toggle .icon { width: 26px; height: 26px; }

.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-grid; }
.nav-toggle__open, .nav-toggle__close { display: inline-grid; place-items: center; }
.nav-toggle__close { display: none; }

.site-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; width: 100%; }
.nav-list, .footer-list { list-style: none; margin: 0; padding: 0; }
.nav-list { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.nav-list a {
	display: block; padding: .45em .95em; border-radius: 999px; text-decoration: none; color: var(--ink);
	font-weight: 800; font-size: .98rem; border: 2px solid transparent;
}
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .current-cat > a {
	background: var(--warm); border-color: var(--ink); color: var(--ink);
}
.nav-search { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); border: 2px solid transparent; }
.nav-search:hover { background: var(--warm); border-color: var(--ink); color: var(--ink); }

@media (min-width: 900px) {
	.site-nav { width: auto; flex-wrap: nowrap; }
}
@media (max-width: 899px) {
	.js .nav-toggle { display: inline-grid; }
	.js .site-nav {
		display: none; width: 100%; flex-direction: column; align-items: stretch; padding: 8px 0 14px;
	}
	.js .site-nav.is-open { display: flex; }
	.js .nav-list { flex-direction: column; }
	.js .nav-list a { padding: .8em 1em; background: var(--warm); border: 2px solid var(--ink); border-radius: 16px; }
	.js .nav-search { width: 100%; border-radius: 16px; height: 48px; background: var(--warm); border-color: var(--ink); }
}

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(circle at 2% 30%, rgba(255,253,248,.95) 0 60px, transparent 61px),
		radial-gradient(circle at 7% 24%, rgba(255,253,248,.95) 0 38px, transparent 39px),
		radial-gradient(circle at 90% 12%, rgba(255,253,248,.8) 0 50px, transparent 51px),
		radial-gradient(circle at 84% 8%, rgba(255,253,248,.8) 0 32px, transparent 33px),
		var(--sky);
	padding-top: clamp(28px, 5vw, 56px);
}
.hero__inner { display: grid; gap: 28px; align-items: center; padding-bottom: 28px; }
.hero__title { font-size: clamp(2.5rem, 6.4vw, 4.4rem); line-height: 1.08; margin-bottom: .4em; }
.hero__title-accent {
	display: inline; color: var(--coral-deep);
	background: linear-gradient(transparent 80%, rgba(255,253,248,.9) 80%);
}
.hero__lede { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 34em; color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.6em 0 1.2em; }
.hero__fine { display: flex; gap: .5em; align-items: flex-start; font-size: .9rem; max-width: 36em; color: var(--brown); margin: 0; font-weight: 600; }
.hero__fine .icon { color: var(--coral-deep); margin-top: .3em; }

.hero__stage { display: grid; place-items: center; }
.stage { position: relative; width: min(100%, 500px); aspect-ratio: 1 / 1; }
.stage__ring {
	position: absolute; inset: 6% 3% 3% 3%; border-radius: 50%;
	background: var(--warm); border: 3px solid var(--ink); box-shadow: 9px 9px 0 var(--blush);
}
.stage__ring::after {
	content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 2.5px dashed var(--blush);
}
.stage__pearl { position: absolute; left: 7%; bottom: 8%; height: 70%; width: auto; }
.stage__bear { position: absolute; right: 7%; bottom: 8%; height: 60%; width: auto; }
.stage__sprout { position: absolute; width: 11%; height: auto; }
.stage__sprout--a { left: 3%; bottom: 10%; transform: rotate(-12deg); }
.stage__sprout--b { right: 2%; bottom: 14%; transform: rotate(10deg) scaleX(-1); width: 9%; }
.stage__heart { position: absolute; width: 8%; height: auto; }
.stage__heart--a { left: 12%; top: 11%; transform: rotate(-14deg); animation: tbp-bob 4.5s ease-in-out infinite; }
.stage__heart--b { right: 15%; top: 8%; width: 6%; transform: rotate(12deg); animation: tbp-bob 5.2s ease-in-out -2s infinite; }
.stage__sparkle { position: absolute; width: 7%; height: auto; }
.stage__sparkle--a { right: 6%; top: 36%; animation: tbp-twinkle 3.6s ease-in-out infinite; }
.stage__sparkle--b { left: 2%; top: 42%; width: 5%; animation: tbp-twinkle 4.2s ease-in-out -1.5s infinite; }

@keyframes tbp-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes tbp-twinkle { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: .8; opacity: .75; } }

.wave { height: 40px; background-repeat: repeat-x; background-size: 160px 40px; background-position: bottom; margin-top: -1px; }
.wave--cream {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 24c20 0 20-14 40-14s20 14 40 14 20-14 40-14 20 14 40 14v16H0z' fill='%23FCF5E8'/%3E%3C/svg%3E");
}
.wave--white {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 40' preserveAspectRatio='none'%3E%3Cpath d='M0 24c20 0 20-14 40-14s20 14 40 14 20-14 40-14 20 14 40 14v16H0z' fill='%23FFFDF8'/%3E%3C/svg%3E");
}

@media (min-width: 900px) {
	.hero__inner { grid-template-columns: 1.05fr .95fr; gap: 40px; padding-bottom: 36px; }
}
@media (max-width: 899px) {
	.hero__stage { order: -1; }
	.stage { width: min(100%, 360px); }
	.hero__copy { text-align: center; }
	.hero__lede, .hero__fine { margin-inline: auto; text-align: left; }
	.hero__actions { justify-content: center; }
	.kicker { transform-origin: center; }
}

/* ==========================================================================
   6. Sections
   ========================================================================== */
.section { padding-block: clamp(44px, 7vw, 84px); position: relative; }
.section-head { margin-bottom: clamp(24px, 4vw, 40px); max-width: 44rem; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section-head h2 { margin-bottom: .2em; }
.section-lede { color: var(--brown); font-size: 1.1rem; margin: 0; }

.more-link { font-weight: 800; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; color: var(--indigo); }
.more-link:hover { color: var(--coral-deep); }

/* Start here cards */
.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(2, 1fr); }
.cat-grid__item:last-child { grid-column: 1 / -1; }
@media (min-width: 700px) {
	.cat-grid { grid-template-columns: repeat(6, 1fr); gap: 22px; }
	.cat-grid__item { grid-column: span 2; }
	.cat-grid__item:last-child { grid-column: span 2; }
	.cat-grid__item:nth-child(4) { grid-column: 2 / span 2; }
	.cat-grid__item:nth-child(5) { grid-column: 4 / span 2; }
}
@media (min-width: 1100px) {
	.cat-grid { grid-template-columns: repeat(5, 1fr); }
	.cat-grid__item, .cat-grid__item:nth-child(4), .cat-grid__item:nth-child(5) { grid-column: auto; }
}

.cat-card {
	position: relative; display: flex; flex-direction: column; height: 100%;
	padding: 18px 18px 16px; border: var(--line) solid var(--ink); border-radius: var(--radius);
	text-decoration: none; color: var(--ink); box-shadow: 5px 5px 0 var(--ink);
	transition: transform .15s ease, box-shadow .15s ease;
	background: var(--blush);
}
.cat-card:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 8px 8px 0 var(--ink); color: var(--ink); }
.cat-card--blush { background: var(--blush); }
.cat-card--butter { background: var(--butter); }
.cat-card--sky { background: var(--sky); }
.cat-card--jade { background: var(--jade-soft); }
.cat-card--rose { background: var(--rose-soft); }
.cat-card__art { display: grid; place-items: center; height: 108px; margin-bottom: 10px; }
.cat-card__art img { height: 108px; width: auto; max-width: 90%; object-fit: contain; filter: drop-shadow(0 3px 0 rgba(58,43,27,.12)); }
.cat-card__hangul { position: absolute; top: 12px; right: 16px; font-family: var(--font-hand); font-weight: 700; font-size: 1.35rem; line-height: 1; color: var(--ink); opacity: .85; }
.cat-card__name { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.15; margin-bottom: .25em; }
.cat-card__desc { font-size: .93rem; line-height: 1.45; margin-bottom: .9em; flex: 1; font-weight: 600; }
.cat-card__go {
	align-self: flex-start; display: inline-flex; gap: .35em; align-items: center;
	font-weight: 800; font-size: .88rem; padding: .2em .8em; background: var(--warm);
	border: 2px solid var(--ink); border-radius: 999px;
}
.cat-card:hover .cat-card__go { background: var(--ink); color: var(--cream); }

/* Latest */
.section--latest {
	background-color: var(--warm);
	background-image: radial-gradient(circle, rgba(246,184,176,.55) 1.4px, transparent 1.6px);
	background-size: 24px 24px;
	border-block: 2.5px dashed var(--blush);
}

.card-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid { grid-template-columns: repeat(3, 1fr); } .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
	display: flex; flex-direction: column; background: var(--warm);
	border: var(--line) solid var(--ink); border-radius: var(--radius); overflow: hidden;
	box-shadow: var(--shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--marigold); }
.card__media { display: grid; place-items: center; aspect-ratio: 3 / 2; border-bottom: var(--line) solid var(--ink); background: var(--blush); overflow: hidden; }
.card__media--blush { background: var(--blush); }
.card__media--butter { background: var(--butter); }
.card__media--sky { background: var(--sky); }
.card__media--jade { background: var(--jade-soft); }
.card__media--rose { background: var(--rose-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media img.card__art { width: auto; height: 72%; object-fit: contain; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card__chips { margin: 0 0 .6em; }
.card__title { font-size: 1.35rem; margin-bottom: .4em; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--coral-deep); text-decoration: underline; text-decoration-thickness: .08em; }
.card__excerpt { color: var(--ink); font-size: .98rem; line-height: 1.55; flex: 1; }
.card__meta { font-size: .84rem; color: var(--brown); font-weight: 700; margin: .4em 0 0; }

.empty-state {
	display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
	background: var(--warm); border: var(--line) solid var(--ink); border-radius: var(--radius-lg);
	padding: 24px 28px; box-shadow: var(--shadow); max-width: 760px;
}
.empty-state__img { width: 110px; height: auto; flex: none; }
.empty-state h2, .empty-state h3 { margin-bottom: .25em; }
.empty-state p { margin-bottom: .6em; }

/* Promises */
.promise-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
@media (min-width: 800px) { .promise-grid { grid-template-columns: repeat(3, 1fr); } }
.promise {
	background: var(--warm); border: var(--line) solid var(--ink); border-radius: var(--radius);
	padding: 26px 24px 20px; position: relative;
}
.promise:nth-child(1) { transform: rotate(-.8deg); }
.promise:nth-child(2) { transform: rotate(.6deg); }
.promise:nth-child(3) { transform: rotate(-.4deg); }
.promise__icon {
	width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
	border: var(--line) solid var(--ink); margin-bottom: 12px; color: var(--ink);
}
.promise__icon .icon { width: 26px; height: 26px; }
.promise--a .promise__icon { background: var(--blush); }
.promise--a .promise__icon .icon { color: var(--coral-deep); }
.promise--b .promise__icon { background: var(--jade); }
.promise--c .promise__icon { background: var(--butter); }
.promise h3 { margin-bottom: .3em; }
.promise p { margin: 0; font-size: .98rem; }

/* About */
.section--about { background: var(--blush-soft); border-top: 2.5px dashed var(--blush); }
.about { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.about__art { position: relative; margin: 0; padding: 14px 14px 10px; background: var(--warm); border: var(--line) solid var(--ink); border-radius: 12px; transform: rotate(-1.4deg); box-shadow: 8px 8px 0 var(--sky); }
.about__art img { border-radius: 6px; border: 2px solid var(--ink); width: 100%; }
.about__art figcaption { font-family: var(--font-hand); font-weight: 700; font-size: 1.15rem; text-align: center; padding-top: 8px; color: var(--brown); }
.tape { position: absolute; top: -14px; width: 92px; height: 28px; background: rgba(245,169,58,.75); border: 2px solid rgba(58,43,27,.25); z-index: 2; }
.tape--l { left: 22px; transform: rotate(-8deg); }
.tape--r { right: 22px; transform: rotate(7deg); background: rgba(168,213,194,.85); }
.about__copy h2 { margin-bottom: .45em; }
.meet { list-style: none; padding: 0; margin: 1.4em 0; display: grid; gap: 14px; }
@media (min-width: 560px) { .meet { grid-template-columns: 1fr 1fr; } }
.meet__item { display: flex; gap: 14px; align-items: center; background: var(--warm); border: var(--line) solid var(--ink); border-radius: 18px; padding: 12px 16px; font-size: .95rem; line-height: 1.4; }
.meet__pic { width: 62px; height: 62px; flex: none; border-radius: 50%; border: var(--line) solid var(--ink); overflow: hidden; display: grid; place-items: end center; }
.meet__pic img { width: 120%; max-width: none; transform: translateY(6%); }
.meet__pic--pearl { background: var(--blush); }
.meet__pic--bear { background: var(--sky); place-items: center; }
.meet__pic--bear img { width: 135%; transform: translateY(14%); }
.about__sig { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 0; }
.about__sigimg { width: 130px; height: auto; }

/* Newsletter */
.newsletter { background: var(--sky); border-top: 2.5px dashed var(--ink); padding-block: clamp(40px, 6vw, 72px); }
.newsletter__inner { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .newsletter__inner { grid-template-columns: .8fr 1.2fr; gap: 48px; } }
.newsletter__art img { width: min(100%, 420px); margin-inline: auto; transform: rotate(-3deg); filter: drop-shadow(5px 5px 0 rgba(58,43,27,.18)); }
.newsletter__copy { background: var(--warm); border: var(--line) solid var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); box-shadow: 8px 8px 0 var(--blush); }
.newsletter__copy h2 { margin-bottom: .3em; }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 1em; }
.newsletter__form input[type="email"] { flex: 1 1 220px; }
.newsletter__note { margin: .9em 0 0; font-size: .92rem; color: var(--brown); font-weight: 600; }
input[type="email"], input[type="search"], input[type="text"] {
	font: 600 1rem var(--font-body); padding: .75em 1.1em; border: var(--line) solid var(--ink);
	border-radius: 999px; background: #fff; color: var(--ink); min-width: 0;
}
input:disabled { background: #F3EBDA; color: var(--brown); cursor: not-allowed; }
input::placeholder { color: #7A6A54; opacity: 1; }

/* ==========================================================================
   7. Inner pages: page head, breadcrumbs, entries
   ========================================================================== */
.breadcrumbs { padding-top: 20px; font-size: .88rem; font-weight: 700; color: var(--brown); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs li + li::before { content: "›"; margin-inline: .6em; color: var(--coral-deep); font-weight: 800; }
.breadcrumbs a { color: var(--indigo); }
.breadcrumbs [aria-current] span { color: var(--brown); }

.page-head {
	position: relative; margin: 20px 0 36px; padding: 28px clamp(20px, 4vw, 40px); border: var(--line) solid var(--ink);
	border-radius: var(--radius-lg); background: var(--blush-soft); box-shadow: var(--shadow); overflow: hidden;
}
.page-head--blush { background: var(--blush); }
.page-head--butter { background: var(--butter); }
.page-head--sky { background: var(--sky); }
.page-head--jade { background: var(--jade-soft); }
.page-head--rose { background: var(--rose-soft); }
.page-head__title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .2em; }
.page-head__title span { color: var(--coral-deep); }
.page-head__lede { max-width: 36em; margin: 0; font-size: 1.1rem; font-weight: 600; }
.page-head__lede p:last-child { margin-bottom: 0; }
.page-head__art { position: absolute; right: clamp(16px, 4vw, 48px); top: 50%; translate: 0 -50%; width: clamp(80px, 16vw, 150px); opacity: .98; }
.page-head .search-form { margin-top: 1em; max-width: 480px; }
.page-head .kicker { color: var(--ink); }

.entry { padding-block: 12px 24px; }
.entry-header { margin-bottom: 20px; }
.entry-chips { margin: 20px 0 .6em; display: flex; gap: 8px; flex-wrap: wrap; }
.entry-title { font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.12; margin-bottom: .35em; }
.entry-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--brown); font-size: .92rem; font-weight: 700; margin: 0; }
.entry-lede { font-size: 1.2rem; color: var(--brown); font-weight: 600; }
.entry--page .entry-title { margin-top: 18px; }

.disclosure, .footer-disclosure {
	display: flex; gap: 12px; align-items: flex-start;
	background: var(--sky-soft); border: 2px dashed var(--indigo); border-radius: 18px; padding: 14px 18px; margin: 0 0 28px;
	font-size: .95rem; line-height: 1.55;
}
.disclosure .icon { color: var(--coral-deep); width: 1.4em; height: 1.4em; margin-top: .15em; }
.disclosure p, .footer-disclosure p { margin: 0; }

.entry-thumb { margin: 0 0 28px; border: var(--line) solid var(--ink); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.entry-thumb img { width: 100%; }
.entry-thumb figcaption { padding: 8px 14px; font-size: .88rem; color: var(--brown); background: var(--warm); }

.entry-content { font-size: 1.1rem; line-height: 1.8; overflow-wrap: break-word; }
.entry-content > * { max-width: 100%; }
.entry-content h2 {
	margin-top: 1.9em;
	text-decoration: underline; text-decoration-color: rgba(246,184,176,.95);
	text-decoration-thickness: .26em; text-underline-offset: -.1em; text-decoration-skip-ink: none;
}
.entry-content > h2:first-child { margin-top: 0; }
.entry-content h3 { margin-top: 1.6em; color: var(--indigo); }
.entry-content h4 { font-family: var(--font-body); font-weight: 800; font-size: 1.05rem; margin-top: 1.4em; text-transform: uppercase; letter-spacing: .05em; color: var(--brown); }
.entry-content ul, .entry-content ol { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.entry-content ul li { position: relative; padding-left: 1.9em; margin-bottom: .5em; }
.entry-content ul li::before {
	content: ""; position: absolute; left: 0; top: .5em; width: 1.1em; height: 1em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 22'%3E%3Cpath d='M12 20C5 15.5 2 11.3 2.6 7.2 3.2 3.6 7.2 2.4 10 4.6c.8.7 1.5 1.5 2 2.5.5-1 1.2-1.8 2-2.5 2.8-2.2 6.8-1 7.4 2.6C22 11.3 19 15.5 12 20z' fill='%23EF6A4F' stroke='%233A2B1B' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.entry-content ol { counter-reset: tbp; }
.entry-content ol li { counter-increment: tbp; position: relative; padding-left: 2.6em; margin-bottom: .7em; }
.entry-content ol li::before {
	content: counter(tbp); position: absolute; left: 0; top: .1em; width: 1.9em; height: 1.9em; border-radius: 50%;
	display: grid; place-items: center; background: var(--marigold); border: 2px solid var(--ink);
	font: 800 .85rem/1 var(--font-body);
}
.entry-content li > ul, .entry-content li > ol { margin-top: .5em; margin-bottom: 0; }
.entry-content a { font-weight: 700; }
.entry-content blockquote {
	margin: 1.6em 0; padding: 18px 22px 18px 26px; background: var(--butter); border: var(--line) solid var(--ink);
	border-radius: var(--radius); box-shadow: 5px 5px 0 var(--marigold); font-weight: 600;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content hr { border: 0; height: 14px; margin: 2.2em 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 14'%3E%3Cpath d='M0 7c5 0 5-5 10-5s5 10 10 10 5-10 10-10 5 5 10 5' fill='none' stroke='%23F6B8B0' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x center / 40px 14px; }
.entry-content figure { margin: 1.6em 0; }
.entry-content img { border-radius: 14px; }
.entry-content figcaption, .wp-caption-text { font-size: .9rem; color: var(--brown); text-align: center; padding-top: .5em; }
.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.6em 0; font-size: .98rem; border: var(--line) solid var(--ink); border-radius: 16px; overflow: hidden; }
.entry-content th { background: var(--blush); text-align: left; font-weight: 800; }
.entry-content th, .entry-content td { padding: .65em .9em; border-bottom: 1.5px solid rgba(58,43,27,.2); vertical-align: top; }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content code, .entry-content kbd { background: var(--sky-soft); padding: .1em .4em; border-radius: 6px; font-size: .92em; }
.entry-content pre { background: var(--ink); color: var(--cream); padding: 16px 18px; border-radius: 14px; overflow-x: auto; }
.entry-content details { background: var(--warm); border: 2px solid var(--ink); border-radius: 16px; padding: .6em 1em; margin: 1em 0; }
.entry-content summary { cursor: pointer; font-weight: 800; }
.alignleft { float: left; margin: .4em 1.4em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.page-links { margin: 1.4em 0; font-weight: 800; }

.tbp-todo { background: #FFEFA8; border: 2px dashed var(--ink); border-radius: 8px; padding: .1em .5em; color: var(--ink); font-weight: 700; }
.tbp-editor-note { background: var(--sky-soft); border: 2px dashed var(--indigo); border-radius: 14px; padding: 12px 16px; margin: 1.2em 0; font-size: .95rem; line-height: 1.55; }

/* "Our pick" box */
.tbp-pick {
	position: relative; display: grid; gap: 18px; margin: 2.6em 0 2em; padding: 34px 24px 24px;
	background: var(--warm); border: var(--line) solid var(--ink); border-radius: var(--radius);
	box-shadow: 7px 7px 0 var(--marigold); font-size: 1rem; line-height: 1.6;
}
@media (min-width: 640px) { .tbp-pick { padding: 34px 30px 26px; } .tbp-pick:has(.tbp-pick__media) { grid-template-columns: 170px 1fr; } }
.tbp-pick__ribbon {
	position: absolute; top: -18px; left: 22px; display: inline-flex; align-items: center; gap: .4em;
	background: var(--coral-deep); color: #fff; border: var(--line) solid var(--ink); border-radius: 999px;
	padding: .2em 1em .2em .8em; font: 800 .95rem/1.5 var(--font-body); transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink);
}
.tbp-pick__ribbon .icon { color: var(--blush); }
.tbp-pick__media { display: grid; place-items: center; background: var(--blush-soft); border: 2px solid var(--ink); border-radius: 16px; overflow: hidden; align-self: start; }
.tbp-pick__media img { width: 100%; border-radius: 0; }
.tbp-pick__brand { font: 800 .82rem/1.3 var(--font-body); text-transform: uppercase; letter-spacing: .09em; color: var(--brown); margin: 0 0 .15em; }
.tbp-pick__title { font: 400 1.55rem/1.2 var(--font-display); margin: 0 0 .5em; }
.tbp-pick__status { margin: 0 0 .7em; }
.tbp-pick__why > :last-child { margin-bottom: .6em; }
.tbp-pick__price { font-size: .9rem; color: var(--brown); font-weight: 700; margin: 0 0 .9em; }
.tbp-pick__action { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.entry-content .tbp-pick a.btn { text-decoration: none; font-weight: 800; }
.tbp-pick__aff { font-size: .84rem; color: var(--brown); font-weight: 700; }

/* Sign-off + related */
.signoff { display: flex; gap: 22px; align-items: center; margin: 40px 0 8px; padding: 22px 24px; background: var(--blush-soft); border: var(--line) solid var(--ink); border-radius: var(--radius); flex-wrap: wrap; }
.signoff__pics { display: flex; }
.signoff__avatar { width: 76px; height: 76px; border-radius: 50%; border: var(--line) solid var(--ink); overflow: hidden; display: grid; place-items: end center; background: var(--blush); }
.signoff__avatar img { width: 120%; max-width: none; transform: translateY(6%); }
.signoff__avatar--bear { background: var(--sky); margin-left: -16px; place-items: center; }
.signoff__avatar--bear img { width: 135%; transform: translateY(14%); }
.signoff__text { flex: 1 1 280px; }
.signoff__title { font-size: 1.3rem; margin-bottom: .2em; }
.signoff p { margin: 0; font-size: .98rem; }
.related { margin: 56px 0 24px; }
.related h2 { margin-bottom: .8em; }

/* Pagination */
.pagination { margin: 40px 0 8px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; gap: .4em; min-width: 46px; height: 46px; padding-inline: 16px;
	justify-content: center; border: var(--line) solid var(--ink); border-radius: 999px; background: var(--warm);
	font-weight: 800; text-decoration: none; color: var(--ink);
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--marigold); }

/* Search form */
.search-form { display: flex; gap: 8px; }
.search-form .search-field { flex: 1; }
.search-submit { padding: .6em 1em; box-shadow: 0 3px 0 var(--ink); }

/* 404 */
.notfound { display: grid; gap: 28px; align-items: center; padding-block: clamp(36px, 6vw, 72px); }
@media (min-width: 800px) { .notfound { grid-template-columns: 280px 1fr; gap: 56px; } }
.notfound__art img { width: min(60%, 260px); margin-inline: auto; }
.notfound h1 { margin-bottom: .3em; }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.site-footer { position: relative; margin-top: 0; background: var(--ink); color: var(--cream); padding: 64px 0 28px; border-top: 6px solid var(--blush); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; }
.site-footer__bear { position: absolute; top: -66px; right: clamp(24px, 8vw, 120px); width: 112px; pointer-events: none; }
.site-footer a { color: var(--cream); text-decoration-color: var(--blush); }
.site-footer a:hover { color: var(--blush); }
.footer-grid { display: grid; gap: 28px; margin-bottom: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; } }
.footer-brand { font-family: var(--font-display); font-size: 1.9rem; margin: 0 0 .1em; }
.footer-hangul { font-family: var(--font-hand); font-weight: 700; font-size: 1.5rem; color: var(--blush); margin: 0 0 .5em; }
.footer-note { color: #E6D9C2; font-size: .98rem; max-width: 26em; margin: 0; }
.footer-title { font-family: var(--font-body); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; color: var(--blush); margin-bottom: .8em; }
.footer-list li { margin-bottom: .45em; }
.footer-list a { font-weight: 700; }
.footer-social { margin-top: 1em; }
.footer-email { margin-top: 1em; }
.footer-disclosure { background: var(--cream); color: var(--ink); border-color: var(--blush); margin: 0 0 18px; }
.footer-disclosure .icon { color: var(--coral-deep); width: 1.4em; height: 1.4em; margin-top: .15em; }
.site-footer .footer-disclosure a { color: var(--indigo); }
.site-footer .footer-disclosure a:hover { color: var(--coral-deep); }
.footer-copy { font-size: .85rem; color: #E6D9C2; margin: 0; }

/* ==========================================================================
   9. Motion + print
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.saekdong, .site-header, .site-footer__bear, .newsletter, .hero__stage, .nav-toggle { display: none !important; }
	body { background: #fff; }
}

.hangul-line { font-family: var(--font-hand); font-weight: 700; font-size: 1.7rem; line-height: 1.3; color: var(--coral-deep); margin: 0 0 .1em; }
.by-pearl { display: inline-block; vertical-align: middle; margin-left: .4em; }
.by-pearl__img { width: 110px; height: auto; display: inline-block; }

.entry-content p:empty { display: none; }

/* page header with Pearl & Bear peeking in */
.entry--page .entry-header { position: relative; }
.page-art { display: none; }
@media (min-width: 760px) {
	.entry--page .entry-header { padding-right: 190px; min-height: 150px; }
	.page-art { display: flex; align-items: flex-end; gap: 6px; position: absolute; right: 0; bottom: -6px; }
	.page-art img { height: auto; }
	.page-art__pearl { width: 98px; }
	.page-art__bear { width: 86px; }
}
@media (max-width: 699px) {
	.single-post .breadcrumbs li:last-child { display: none; }
}
