/* =============================================================================
   CPL MAGAZINE — Light Editorial
   Mobile-first. Cormorant (display) + Montserrat (UI). Warm paper, champagne gold.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------- */
:root {
	--paper:      #F4F1EA;   /* warm cream */
	--paper-2:    #FBF9F4;   /* lifted surface */
	--paper-3:    #ECE7DC;   /* recessed / placeholders */
	--ink:        #1A1714;   /* warm near-black */
	--ink-soft:   #5C544A;   /* muted copy */
	--ink-faint:  #8B8073;
	--gold:       #A8884C;   /* champagne gold (rules, eyebrows) */
	--gold-deep:  #836634;
	--line:       rgba(26, 23, 20, 0.12);
	--line-soft:  rgba(26, 23, 20, 0.07);

	--serif: "Cormorant", "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--sans:  "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--maxw: 1320px;
	--gutter: 20px;

	--e-out:  cubic-bezier(0.22, 1, 0.36, 1);
	--e-soft: cubic-bezier(0.4, 0, 0.2, 1);
	--t-fast: 200ms;
	--t-med:  320ms;

	--z-header: 100;
	--z-drawer: 200;
}

@media (min-width: 768px)  { :root { --gutter: 40px; } }
@media (min-width: 1024px) { :root { --gutter: 56px; } }

/* ---- Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	font-family: var(--sans);
	font-weight: 400;
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.cpl-skip-link {
	position: absolute; left: -999px; top: 0; z-index: 1000;
	background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 0 0 6px 0;
}
.cpl-skip-link:focus { left: 0; }

/* ---- Type scale ---------------------------------------------------------- */
.cpl-eyebrow {
	font-family: var(--sans);
	font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--gold-deep);
}
.cpl-eyebrow--light { color: var(--gold); }

/* =============================================================================
   Scroll progress
   ========================================================================== */
.cpl-scprogress {
	position: fixed; inset: 0 0 auto 0; height: 2px; z-index: var(--z-header);
	background: transparent; pointer-events: none;
}
.cpl-scprogress__bar {
	display: block; height: 100%; width: 100%;
	background: linear-gradient(90deg, var(--gold), var(--gold-deep));
	transform: scaleX(0); transform-origin: 0 50%;
}

/* =============================================================================
   Layout helpers
   ========================================================================== */
.cpl-main { display: block; }
.cpl-selector, .cpl-latest, .cpl-news, .cpl-archive, .cpl-article, .cpl-related {
	padding-inline: var(--gutter);
	max-width: var(--maxw); margin-inline: auto;
}
.cpl-selector, .cpl-latest, .cpl-news, .cpl-philos { padding-block: clamp(56px, 11vw, 130px); }

.cpl-section__head { margin-bottom: clamp(28px, 5vw, 52px); }
.cpl-section__head--row {
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.cpl-section__title {
	font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -0.01em;
	font-size: clamp(28px, 6.5vw, 52px); color: var(--ink);
}
.cpl-section__title--display { font-size: clamp(32px, 9vw, 88px); font-weight: 400; }
.cpl-section__sub { margin-top: 12px; color: var(--ink-soft); max-width: 46ch; font-size: 15px; }

.cpl-link {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
}
.cpl-link .cpl-icon { transition: transform var(--t-fast) var(--e-out); }
.cpl-link:hover .cpl-icon { transform: translateX(5px); }

/* =============================================================================
   Buttons
   ========================================================================== */
.cpl-btn {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 48px; padding: 0 26px; border-radius: 100px;
	font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
	transition: transform var(--t-fast) var(--e-out), background var(--t-med) var(--e-soft),
	            color var(--t-med) var(--e-soft), border-color var(--t-med) var(--e-soft);
	will-change: transform;
}
.cpl-btn .cpl-icon { transition: transform var(--t-fast) var(--e-out); }
.cpl-btn:hover .cpl-icon { transform: translateX(5px); }
.cpl-btn--solid { background: var(--ink); color: var(--paper); }
.cpl-btn--solid:hover { background: var(--gold-deep); }
.cpl-btn--ghost { border: 1px solid var(--line); color: var(--ink); background: rgba(255,255,255,0.4); backdrop-filter: blur(6px); }
.cpl-btn--ghost:hover { border-color: var(--ink); }

/* =============================================================================
   Header + nav
   ========================================================================== */
.cpl-header {
	position: sticky; top: 0; z-index: var(--z-header);
	transition: background var(--t-med) var(--e-soft), border-color var(--t-med) var(--e-soft),
	            backdrop-filter var(--t-med) var(--e-soft);
	border-bottom: 1px solid transparent;
}
.cpl-header.is-scrolled {
	background: rgba(244, 241, 234, 0.82);
	backdrop-filter: saturate(140%) blur(14px);
	border-bottom-color: var(--line-soft);
}
.cpl-header__inner {
	max-width: var(--maxw); margin-inline: auto; padding: 16px var(--gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.cpl-logo { display: inline-flex; align-items: baseline; gap: 8px; }
.cpl-logo__mark {
	font-family: var(--serif); font-weight: 600; font-size: 26px; letter-spacing: 0.04em; line-height: 1;
}
.cpl-logo__sub {
	font-size: 10px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--ink-soft);
}
.custom-logo-link { display: inline-block; }
.custom-logo { height: 40px; width: auto; }

.cpl-nav { display: none; }
@media (min-width: 1024px) {
	.cpl-nav { display: block; }
	.cpl-nav__list { display: flex; gap: 30px; }
	.cpl-nav__link, .cpl-nav__list a {
		position: relative; font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
		text-transform: uppercase; color: var(--ink); padding: 6px 0;
	}
	.cpl-nav__list a::after {
		content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
		background: var(--ink); transform: scaleX(0); transform-origin: 0 50%;
		transition: transform var(--t-med) var(--e-out);
	}
	.cpl-nav__list a:hover::after, .cpl-nav__list .current-menu-item > a::after { transform: scaleX(1); }
}

.cpl-header__actions { display: flex; align-items: center; gap: 6px; }
.cpl-iconbtn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	color: var(--ink); transition: background var(--t-fast) var(--e-soft);
}
.cpl-iconbtn:hover { background: rgba(26,23,20,0.06); }

.cpl-burger {
	display: inline-grid; place-content: center; gap: 5px; width: 44px; height: 44px;
}
.cpl-burger span {
	display: block; width: 22px; height: 1.5px; background: var(--ink);
	transition: transform var(--t-med) var(--e-out), opacity var(--t-fast);
}
.cpl-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.cpl-burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }
@media (min-width: 1024px) { .cpl-burger { display: none; } }

/* ---- Drawer (mobile menu) ------------------------------------------------ */
.cpl-drawer {
	position: fixed; inset: 0; z-index: var(--z-drawer);
	background: rgba(26,23,20,0.45); opacity: 0; pointer-events: none;
	transition: opacity var(--t-med) var(--e-soft);
}
.cpl-drawer.is-open { opacity: 1; pointer-events: auto; }
.cpl-drawer__panel {
	position: absolute; inset: 0 0 0 auto; width: min(86vw, 420px);
	background: var(--paper-2); padding: calc(env(safe-area-inset-top) + 84px) var(--gutter) 40px;
	display: flex; flex-direction: column; justify-content: space-between;
	transform: translateX(100%); transition: transform var(--t-med) var(--e-out);
	box-shadow: -30px 0 60px rgba(0,0,0,0.12);
}
.cpl-drawer.is-open .cpl-drawer__panel { transform: translateX(0); }
.cpl-drawer__list { display: flex; flex-direction: column; gap: 6px; }
.cpl-drawer__list a {
	font-family: var(--serif); font-size: 32px; font-weight: 500; color: var(--ink);
	padding: 10px 0; display: inline-block;
	transition: color var(--t-fast), transform var(--t-fast) var(--e-out);
}
.cpl-drawer__list a:hover { color: var(--gold-deep); transform: translateX(6px); }
.cpl-drawer__meta { font-size: 12px; color: var(--ink-soft); letter-spacing: 0.04em; line-height: 1.7; }
.cpl-drawer__meta a { color: var(--gold-deep); }

/* =============================================================================
   Hero
   ========================================================================== */
.cpl-hero {
	position: relative; min-height: 92svh; display: flex; align-items: flex-end;
	overflow: hidden; isolation: isolate; padding: var(--gutter);
	padding-bottom: clamp(48px, 9vw, 96px);
}
.cpl-hero__media { position: absolute; inset: 0; z-index: -1; display: block; }
.cpl-hero__img {
	width: 100%; height: 116%; object-fit: cover; will-change: transform;
}
.cpl-hero__img--placeholder {
	height: 100%;
	background:
		radial-gradient(120% 80% at 70% 20%, rgba(168,136,76,0.35), transparent 60%),
		linear-gradient(160deg, #2a2520, #100e0c 70%);
}
.cpl-hero__veil {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(16,14,12,0.82) 4%, rgba(16,14,12,0.25) 42%, rgba(16,14,12,0.1) 100%);
}
.cpl-hero__inner { position: relative; max-width: var(--maxw); margin-inline: auto; width: 100%; color: #fff; }
.cpl-hero__inner--empty { color: var(--ink); }
.cpl-hero__kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.cpl-hero__issue { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }
.cpl-hero__title {
	font-family: var(--serif); font-weight: 500; line-height: 0.98; letter-spacing: -0.015em;
	font-size: clamp(40px, 12vw, 124px); max-width: 16ch;
}
.cpl-hero__inner:not(.cpl-hero__inner--empty) .cpl-hero__title { text-shadow: 0 2px 40px rgba(0,0,0,0.25); }
.cpl-hero__dek { margin-top: 20px; max-width: 52ch; font-size: clamp(15px, 2.2vw, 18px); opacity: 0.92; }
.cpl-hero__cta { margin-top: 30px; }
.cpl-hero__inner:not(.cpl-hero__inner--empty) .cpl-btn--ghost {
	border-color: rgba(255,255,255,0.45); color: #fff; background: rgba(255,255,255,0.06);
}
.cpl-hero__inner:not(.cpl-hero__inner--empty) .cpl-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.14); }

.cpl-hero__scrollcue {
	position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 8px;
	color: rgba(255,255,255,0.7); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
}
.cpl-hero__scrollcue-line { width: 1px; height: 46px; background: rgba(255,255,255,0.5); transform-origin: top; animation: cpl-scrollcue 2.2s var(--e-soft) infinite; }
@keyframes cpl-scrollcue { 0%,100% { transform: scaleY(0.35); opacity: 0.4; } 50% { transform: scaleY(1); opacity: 1; } }

/* =============================================================================
   Collection selector
   ========================================================================== */
.cpl-selector__tabs {
	position: relative; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
	border-bottom: 1px solid var(--line); margin-bottom: clamp(28px, 5vw, 48px);
	-webkit-overflow-scrolling: touch;
}
.cpl-selector__tabs::-webkit-scrollbar { display: none; }
.cpl-selector__ink {
	position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
	background: var(--gold-deep); transition: transform var(--t-med) var(--e-out), width var(--t-med) var(--e-out);
}
.cpl-selector__tab {
	display: flex; align-items: baseline; gap: 8px; padding: 14px 18px 16px; white-space: nowrap;
	color: var(--ink-faint); transition: color var(--t-med) var(--e-soft);
}
.cpl-selector__tab.is-active { color: var(--ink); }
.cpl-selector__num { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; opacity: 0.7; }
.cpl-selector__name { font-family: var(--serif); font-size: clamp(20px, 5vw, 30px); font-weight: 500; }

.cpl-selector__stage { position: relative; }
.cpl-selector__panel { display: none; }
.cpl-selector__panel.is-active { display: block; animation: cpl-fadeup var(--t-med) var(--e-out) both; }
@keyframes cpl-fadeup { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* feature card (used in selector) */
.cpl-feature { display: grid; gap: 22px; }
.cpl-feature__media { overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; background: var(--paper-3); }
.cpl-feature__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--e-out); }
.cpl-feature:hover .cpl-feature__img { transform: scale(1.04); }
.cpl-feature__img--placeholder { display: block; }
.cpl-feature__body { max-width: 60ch; }
.cpl-feature__title { font-family: var(--serif); font-weight: 500; line-height: 1.08; font-size: clamp(26px, 5.4vw, 44px); margin: 12px 0 14px; }
.cpl-feature__dek { color: var(--ink-soft); margin-bottom: 18px; }

@media (min-width: 900px) {
	.cpl-feature { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 48px; }
	.cpl-feature__media { aspect-ratio: 4 / 3; }
}

/* gradient placeholders per collection */
.cpl-feature__img--placeholder,
.cpl-card__img--placeholder { background: linear-gradient(150deg, #cdbfa6, #9d8c6f); }
.cpl-feature__img--news      { background: linear-gradient(150deg, #3a3833, #14110d); }
.cpl-feature__img--design    { background: linear-gradient(150deg, #d9d3c6, #a39a85); }
/* legacy demo tones (kept for flexibility) */
.cpl-feature__img--watches   { background: linear-gradient(150deg, #3a3833, #14110d); }
.cpl-feature__img--jewellery { background: linear-gradient(150deg, #b89a73, #6c4f33); }
.cpl-feature__img--heritage  { background: linear-gradient(150deg, #8a7a5c, #3f3526); }

/* =============================================================================
   Latest grid + cards
   ========================================================================== */
.cpl-grid { display: grid; grid-template-columns: 1fr; gap: clamp(30px, 5vw, 48px); }
@media (min-width: 640px) { .cpl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cpl-grid { grid-template-columns: repeat(3, 1fr); } }

.cpl-card__link { display: block; }
.cpl-card__media {
	position: relative; overflow: hidden; border-radius: 4px; background: var(--paper-3);
	aspect-ratio: 4 / 5;
}
.cpl-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--e-out); }
.cpl-card__img--placeholder { display: block; }
.cpl-card:hover .cpl-card__img { transform: scale(1.045); }
.cpl-card__shade {
	position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.16), transparent 40%);
	opacity: 0; transition: opacity var(--t-med); pointer-events: none;
}
.cpl-card:hover .cpl-card__shade { opacity: 1; }

.cpl-card__body { padding-top: 18px; }
.cpl-card__eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cpl-card__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); }
.cpl-card__meta { font-size: 11px; letter-spacing: 0.08em; color: var(--ink-faint); text-transform: uppercase; }
.cpl-card__title {
	font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.005em;
	font-size: clamp(21px, 3vw, 27px);
	transition: color var(--t-fast);
}
.cpl-card:hover .cpl-card__title { color: var(--gold-deep); }
.cpl-card__excerpt { margin-top: 8px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.cpl-card__cue {
	display: inline-flex; align-items: center; gap: 7px; margin-top: 14px;
	font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
}
.cpl-card__cue .cpl-icon { transition: transform var(--t-fast) var(--e-out); }
.cpl-card:hover .cpl-card__cue .cpl-icon { transform: translateX(5px); }

/* Wide lead card spans the row */
.cpl-card--wide { grid-column: 1 / -1; }
@media (min-width: 640px) {
	.cpl-card--wide .cpl-card__link { display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: clamp(24px, 4vw, 48px); }
	.cpl-card--wide .cpl-card__media { aspect-ratio: 16 / 10; }
	.cpl-card--wide .cpl-card__body { padding-top: 0; }
	.cpl-card--wide .cpl-card__title { font-size: clamp(26px, 4vw, 40px); }
	.cpl-card--wide .cpl-card__excerpt { font-size: 16px; }
}

.cpl-emptygrid { padding: 60px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }

/* =============================================================================
   Philosophy gallery (immersive horizontal scroll)
   ========================================================================== */
.cpl-philos { max-width: none; padding-inline: 0; position: relative; }
.cpl-philos .cpl-section__head { padding-inline: var(--gutter); max-width: var(--maxw); margin-inline: auto; }
.cpl-philos__track {
	display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory;
	padding-inline: var(--gutter); padding-bottom: 8px;
	scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab;
}
.cpl-philos__track::-webkit-scrollbar { display: none; }
.cpl-philos__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.cpl-philos__panel {
	position: relative; flex: 0 0 82%; scroll-snap-align: center;
	aspect-ratio: 3 / 4; border-radius: 6px; overflow: hidden; isolation: isolate;
	display: flex; align-items: flex-end;
}
@media (min-width: 768px)  { .cpl-philos__panel { flex-basis: 46%; } }
@media (min-width: 1200px) { .cpl-philos__panel { flex-basis: 31%; aspect-ratio: 4 / 5; } }
.cpl-philos__img {
	position: absolute; inset: -8% -12%; z-index: -2; display: block; will-change: transform;
}
.cpl-philos__img--01 { background: linear-gradient(155deg, #2c2823, #100e0b); }
.cpl-philos__img--02 { background: linear-gradient(155deg, #b59667, #6f5026); }
.cpl-philos__img--03 { background: linear-gradient(155deg, #41423f, #16140f); }
.cpl-philos__img--04 { background: linear-gradient(155deg, #9c8a66, #43381f); }
.cpl-philos__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,8,6,0.85), rgba(10,8,6,0.15) 60%); }
.cpl-philos__content { padding: clamp(22px, 4vw, 40px); color: #fff; }
.cpl-philos__no { font-size: 11px; letter-spacing: 0.3em; color: rgba(255,255,255,0.6); }
.cpl-philos__word { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 6vw, 56px); line-height: 1; margin: 8px 0 12px; }
.cpl-philos__line { font-size: 15px; line-height: 1.6; max-width: 34ch; opacity: 0.9; }

.cpl-philos__progress {
	max-width: var(--maxw); margin: 26px auto 0; padding-inline: var(--gutter); height: 2px;
}
.cpl-philos__progress span {
	display: block; height: 100%; width: 24%; background: var(--gold-deep); transform-origin: left;
	background: linear-gradient(90deg, var(--gold-deep), var(--gold)); border-radius: 2px;
	position: relative; transform: translateX(0);
}
.cpl-philos__progress { background: var(--line); border-radius: 2px; position: relative; }
.cpl-philos__hint {
	text-align: center; margin-top: 14px; font-size: 10px; letter-spacing: 0.24em;
	text-transform: uppercase; color: var(--ink-faint);
}

/* =============================================================================
   Newsletter
   ========================================================================== */
.cpl-news { text-align: center; }
.cpl-news__inner {
	max-width: 720px; margin-inline: auto; padding: clamp(40px, 7vw, 80px) clamp(24px, 5vw, 64px);
	border: 1px solid var(--line); border-radius: 8px; background: var(--paper-2);
	position: relative; overflow: hidden;
}
.cpl-news__inner::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(80% 120% at 50% -10%, rgba(168,136,76,0.12), transparent 60%);
}
.cpl-news__title { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 6vw, 52px); line-height: 1.05; }
.cpl-news__sub { margin: 16px auto 0; max-width: 48ch; color: var(--ink-soft); }
.cpl-news__form {
	display: flex; flex-direction: column; gap: 12px; margin: 28px auto 0; max-width: 460px;
}
.cpl-news__field { flex: 1; }
.cpl-news__field input {
	width: 100%; min-height: 52px; padding: 0 20px; border: 1px solid var(--line);
	border-radius: 100px; background: var(--paper); font: inherit; color: var(--ink);
	transition: border-color var(--t-fast);
}
.cpl-news__field input:focus { outline: none; border-color: var(--gold-deep); }
.cpl-news__form .cpl-btn { justify-content: center; }
.cpl-news__fine { margin-top: 16px; font-size: 12px; color: var(--ink-faint); }
@media (min-width: 560px) {
	.cpl-news__form { flex-direction: row; }
	.cpl-news__form .cpl-btn { flex: 0 0 auto; }
}

/* =============================================================================
   Footer
   ========================================================================== */
.cpl-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.cpl-footer__inner {
	max-width: var(--maxw); margin-inline: auto; padding: clamp(48px, 8vw, 90px) var(--gutter) 40px;
	display: grid; gap: 36px;
}
.cpl-footer__tag { margin-top: 14px; max-width: 34ch; color: var(--ink-soft); font-size: 15px; }
.cpl-footer__list { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.cpl-footer__list a { font-size: 13px; letter-spacing: 0.06em; color: var(--ink-soft); transition: color var(--t-fast); }
.cpl-footer__list a:hover { color: var(--ink); }
.cpl-footer__studio a { font-family: var(--serif); font-size: 22px; color: var(--gold-deep); }
.cpl-footer__base {
	border-top: 1px solid var(--line-soft); padding: 20px var(--gutter);
	max-width: var(--maxw); margin-inline: auto;
}
.cpl-footer__base p { font-size: 12px; color: var(--ink-faint); }
@media (min-width: 768px) {
	.cpl-footer__inner { grid-template-columns: 1.5fr 1fr auto; align-items: start; }
}

/* =============================================================================
   Article (single) + prose
   ========================================================================== */
.cpl-article { padding-top: clamp(40px, 7vw, 90px); }
.cpl-article__head { max-width: 820px; margin-inline: auto; text-align: center; }
.cpl-article__meta {
	display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px;
	font-size: 12px; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 22px;
}
.cpl-article__title { font-family: var(--serif); font-weight: 500; line-height: 1.04; font-size: clamp(34px, 7vw, 76px); letter-spacing: -0.01em; }
.cpl-article__dek { margin-top: 22px; font-size: clamp(17px, 2.6vw, 21px); color: var(--ink-soft); max-width: 60ch; margin-inline: auto; font-family: var(--serif); font-style: italic; }
.cpl-article__hero {
	margin: clamp(36px, 6vw, 72px) 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 6px;
	max-width: var(--maxw); margin-inline: auto;
}
.cpl-article__heroimg { width: 100%; height: 112%; object-fit: cover; will-change: transform; }

.cpl-prose { max-width: 720px; margin-inline: auto; font-size: 18px; line-height: 1.8; color: #2a2620; }
.cpl-prose p { margin-bottom: 1.4em; }
.cpl-prose h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 4vw, 38px); margin: 1.6em 0 0.5em; line-height: 1.15; }
.cpl-prose h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(22px, 3vw, 28px); margin: 1.4em 0 0.5em; }
.cpl-prose a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cpl-prose blockquote {
	margin: 1.6em 0; padding-left: 24px; border-left: 2px solid var(--gold);
	font-family: var(--serif); font-style: italic; font-size: 1.25em; color: var(--ink);
}
.cpl-prose img { border-radius: 6px; margin: 1.5em 0; }
.cpl-prose ul, .cpl-prose ol { margin: 0 0 1.4em 1.2em; }
.cpl-prose li { margin-bottom: 0.5em; }
.cpl-prose ul { list-style: disc; }
.cpl-prose ol { list-style: decimal; }

.cpl-article__foot { max-width: 720px; margin: clamp(40px, 6vw, 72px) auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 26px; border-top: 1px solid var(--line); }
.cpl-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cpl-tags li a, .cpl-tags li { font-size: 12px; }
.cpl-tags li { border: 1px solid var(--line); border-radius: 100px; padding: 5px 13px; color: var(--ink-soft); }
.cpl-related { padding-top: clamp(56px, 9vw, 120px); }

/* ---- Pagination ---------------------------------------------------------- */
.cpl-pagination { margin-top: clamp(40px, 6vw, 72px); }
.cpl-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cpl-pagination a, .cpl-pagination span {
	display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 10px;
	border: 1px solid var(--line); border-radius: 100px; font-size: 13px; color: var(--ink);
	transition: background var(--t-fast), border-color var(--t-fast);
}
.cpl-pagination a:hover { border-color: var(--ink); }
.cpl-pagination .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* =============================================================================
   Reveal animation (progressive enhancement — only when JS is on)
   ========================================================================== */
.cpl-js [data-reveal] {
	opacity: 0; transform: translateY(26px);
	transition: opacity 0.8s var(--e-out), transform 0.8s var(--e-out);
	transition-delay: var(--reveal-delay, 0ms);
}
.cpl-js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* split title: each word wrapped by JS */
.cpl-word { display: inline-block; overflow: hidden; vertical-align: top; }
.cpl-word > span {
	display: inline-block; transform: translateY(110%);
	transition: transform 0.9s var(--e-out); transition-delay: var(--word-delay, 0ms);
}
.cpl-js [data-reveal-split].is-revealed .cpl-word > span { transform: translateY(0); }

/* =============================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important; scroll-behavior: auto !important;
	}
	.cpl-js [data-reveal] { opacity: 1 !important; transform: none !important; }
	.cpl-word > span { transform: none !important; }
	.cpl-hero__img, .cpl-article__heroimg, .cpl-philos__img { transform: none !important; }
}
