/*
Theme Name: Digimaji Editorial
Theme URI: https://www.digimaji.com
Author: Digimaji
Author URI: https://www.digimaji.com
Description: Theme editorial untuk Digimaji — cream & ink, Cormorant Garamond + DM Sans. Homepage dinamis dengan kurva pertumbuhan yang tergambar saat dimuat, layanan, portofolio, testimoni, paket, blog dan form kontak AJAX (lead tersimpan di dashboard). Kompatibel Elementor & Baliratio SEO.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: digimaji
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--paper: #FAF7F0;
	--paper-2: #F1ECE0;
	--ink: #1C1A16;
	--ink-2: #26231D;
	--ink-3: #2F2B24;
	--ink-soft: #5C574C;
	--gold: #C9A227;
	--gold-hi: #DDB743;
	--gold-deep: #7A5F0E;
	--cream-70: rgba(250, 247, 240, .72);
	--cream-50: rgba(250, 247, 240, .5);
	--rule: rgba(28, 26, 22, .14);
	--rule-dark: rgba(250, 247, 240, .14);

	--serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
	--sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1320px;
	--gutter: clamp(20px, 4vw, 48px);
	--section: clamp(88px, 12vw, 168px);
	--ease: cubic-bezier(.2, .7, .1, 1);
	--header-h: 84px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.65 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-feature-settings: "kern", "liga";
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: .7rem 1rem; background: var(--gold); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap-text { width: 100%; max-width: calc(720px + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-tight { padding-block: clamp(56px, 7vw, 104px); }

.amp { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold); padding-inline: .02em; }

/* Type scale */
.h-section { font: 500 clamp(2.5rem, 5.2vw, 4.6rem)/1 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.h-page { font: 500 clamp(3rem, 7.4vw, 6.6rem)/.96 var(--serif); letter-spacing: -.015em; max-width: 16ch; }
.h-small { font: 500 clamp(1.5rem, 2.2vw, 1.9rem)/1.15 var(--serif); }
.lede { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); line-height: 1.6; color: var(--ink-soft); max-width: 46ch; }

/* Buttons & links */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 52px; padding: .85rem 1.65rem; border-radius: 999px; border: 1px solid transparent;
	font: 500 .9375rem/1 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer;
	transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { border-color: rgba(250, 247, 240, .35); color: var(--paper); }
.btn-line:hover { border-color: var(--paper); }
.btn-ghost { border-color: currentColor; min-height: 44px; padding: .7rem 1.25rem; }
.text-link { display: inline-block; font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .35em; transition: text-underline-offset .25s var(--ease); }
.text-link:hover { text-underline-offset: .5em; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
	color: var(--paper); background: rgba(28, 26, 22, .94);
	-webkit-backdrop-filter: saturate(1.2) blur(14px); backdrop-filter: saturate(1.2) blur(14px);
	border-bottom: 1px solid var(--rule-dark);
	transition: transform .45s var(--ease), background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.has-dark-top .site-header:not(.is-scrolled) { background: transparent; color: var(--paper); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.brand { margin-right: auto; }
.wordmark { font: 600 1.75rem/1 var(--serif); letter-spacing: -.01em; text-decoration: none; }
.brand .custom-logo { max-height: 40px; width: auto; }
/* Header selalu gelap: logo dipaksa putih agar terbaca di semua kondisi */
.site-header .custom-logo { filter: brightness(0) invert(1); }
.site-header .header-cta:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.site-nav .menu { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { font-size: .9375rem; font-weight: 500; text-decoration: none; position: relative; padding-block: .4rem; }
.site-nav .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.site-nav .menu a:hover::after, .site-nav .menu .current-menu-item > a::after { transform: scaleX(1); }
.site-nav-extra { display: none; }
.menu-toggle { display: none; background: none; border: 0; padding: .5rem 0; font-weight: 500; cursor: pointer; }
.menu-toggle-close { display: none; }

@media (max-width: 960px) {
	.header-cta { display: none; }
	.menu-toggle { display: block; position: relative; z-index: 2; }
	.site-nav {
		position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center;
		padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem; background: var(--ink); color: var(--paper);
		opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
	}
	.site-nav .menu { flex-direction: column; gap: .2rem; }
	.site-nav .menu a { font: 500 clamp(2.4rem, 10vw, 3.6rem)/1.15 var(--serif); }
	.site-nav-extra { display: flex; flex-direction: column; gap: .4rem; margin-top: 2.5rem; color: var(--cream-70); }
	.site-nav-extra a { text-decoration: none; }
	.menu-open .site-nav { opacity: 1; visibility: visible; }
	.menu-open .site-header { color: var(--paper) !important; background: transparent !important; border-color: transparent !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
	.menu-open .menu-toggle-open { display: none; }
	.menu-open .menu-toggle-close { display: inline; }
	.menu-open .brand { position: relative; z-index: 2; }
	.menu-open { overflow: hidden; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between;
	color: var(--paper);
	background:
		radial-gradient(55% 60% at 88% 8%, rgba(201, 162, 39, .2), transparent 70%),
		radial-gradient(40% 50% at 10% 100%, rgba(201, 162, 39, .07), transparent 70%),
		linear-gradient(170deg, #1C1A16 0%, #221E17 60%, #1A1813 100%);
}
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-chart {
	position: absolute; left: 0; right: 0; bottom: 6%; height: 60%; z-index: -1;
	background-image: radial-gradient(rgba(250, 247, 240, .16) 1px, transparent 1.3px);
	background-size: 34px 34px; background-position: -1px -1px;
	-webkit-mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 85%, transparent);
	mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 85%, transparent);
}
.hero-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero-line { stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 8px rgba(201, 162, 39, .5)); stroke-linecap: round; }
.hero-point { position: absolute; left: var(--x); top: var(--y); }
.hero-dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); box-shadow: 0 0 0 6px rgba(201, 162, 39, .12); }
.hero-note {
	position: absolute; left: 18px; bottom: 14px; white-space: nowrap;
	font-size: .875rem; color: var(--cream-70); padding-left: 12px; border-left: 1px solid rgba(201, 162, 39, .5);
}
.hero-note strong { display: block; font: 500 2rem/1 var(--serif); color: var(--paper); margin-bottom: .2rem; font-variant-numeric: lining-nums; }
.hero-point-4 .hero-note { left: auto; right: 18px; padding-left: 0; padding-right: 12px; border-left: 0; border-right: 1px solid rgba(201, 162, 39, .5); text-align: right; }

.hero-inner { padding-top: calc(var(--header-h) + clamp(48px, 12vh, 140px)); display: grid; gap: clamp(28px, 4vw, 44px); }
.hero-title { font: 500 clamp(3.4rem, 9.6vw, 9.4rem)/.9 var(--serif); letter-spacing: -.02em; max-width: 12.5ch; text-wrap: balance; }
.hero-title .amp { font-size: 1.04em; }
.hero-aside { max-width: 30rem; }
.hero-text { font-size: clamp(1.0625rem, 1.35vw, 1.1875rem); color: var(--cream-70); margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-stats-mobile { display: none; }
.hero-place { position: relative; padding-bottom: 1.75rem; margin: 0; font-size: .875rem; color: var(--cream-50); }

/* Load sequence: headline → line draws → points arrive along it */
.js .hero-title, .js .hero-aside { animation: dgm-rise 1.1s var(--ease) both; }
.js .hero-aside { animation-delay: .18s; }
.js .hero-line { stroke-dashoffset: 1; animation: dgm-draw 2.6s cubic-bezier(.6, .05, .2, 1) .45s forwards; }
.js .hero-area { opacity: 0; animation: dgm-fade 1.6s ease 1.6s forwards; }
.js .hero-point { opacity: 0; animation: dgm-point .7s var(--ease) calc(var(--d) + .45s) forwards; }
@keyframes dgm-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes dgm-draw { to { stroke-dashoffset: 0; } }
@keyframes dgm-fade { to { opacity: 1; } }
@keyframes dgm-point { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1180px) { .hero-point-1 { display: none; } }
@media (max-width: 820px) {
	.hero-point { display: none; }
	.hero-chart { height: 42%; bottom: 0; opacity: .8; }
	.hero-stats-mobile { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; list-style: none; margin: .5rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid var(--rule-dark); font-size: .875rem; color: var(--cream-70); }
	.hero-stats-mobile strong { display: block; font: 500 1.9rem/1 var(--serif); color: var(--paper); }
	.hero-place { padding-top: 2rem; }
}

/* ==========================================================================
   Clients & manifesto
   ========================================================================== */
.clients { border-bottom: 1px solid var(--rule); }
.clients-inner { display: flex; align-items: baseline; gap: 1.5rem 3rem; padding-block: 2.25rem; flex-wrap: wrap; }
.clients-title { margin: 0; font-size: .875rem; color: var(--ink-soft); flex: 0 0 auto; }
.clients-list { display: flex; flex-wrap: wrap; gap: .5rem 2.75rem; list-style: none; margin: 0; padding: 0; flex: 1; justify-content: space-between; }
.clients-list li { font: italic 500 clamp(1.25rem, 1.8vw, 1.6rem)/1.2 var(--serif); color: var(--ink); opacity: .78; }

.manifesto { padding-block: clamp(96px, 13vw, 184px) 0; }
.manifesto-text { font: 400 clamp(2rem, 4.1vw, 3.6rem)/1.16 var(--serif); letter-spacing: -.008em; max-width: 25ch; margin: 0 0 0 calc(41.666% + clamp(32px, 6vw, 96px) * .5833); }
.manifesto-text .w { transition: color .3s linear; }
.js .manifesto-text .w { color: rgba(28, 26, 22, .18); }
.js .manifesto-text .w.is-inked { color: var(--ink); }

/* ==========================================================================
   Split layout + Services
   ========================================================================== */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-head { display: grid; gap: 1.5rem; }
.services .split-head { position: sticky; top: calc(var(--header-h) + 40px); }

.service-list { border-bottom: 1px solid var(--rule); }
.service { border-top: 1px solid var(--rule); }
.service-toggle { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.6rem 0; background: none; border: 0; cursor: pointer; text-align: left; }
.service-title { font: 500 clamp(1.9rem, 3.4vw, 3rem)/1.05 var(--serif); letter-spacing: -.01em; transition: color .3s var(--ease), transform .45s var(--ease); }
.service-toggle:hover .service-title { color: var(--gold-deep); }
.service-state { position: relative; flex: 0 0 22px; height: 22px; }
.service-state::before, .service-state::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .45s var(--ease); }
.service-state::after { transform: rotate(90deg); }
.service.is-open .service-state::after { transform: rotate(0deg); }
.service-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.service.is-open .service-body { grid-template-rows: 1fr; }
.service-body-inner { overflow: hidden; }
.service-body-inner > :first-child { margin-top: 0; }
.service-body-inner > :last-child { margin-bottom: 2rem; }
.service-body p { max-width: 52ch; color: var(--ink-soft); }
.service-includes { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem 2rem; font-size: .9375rem; }
.service-includes li { padding-left: 1.25rem; position: relative; }
.service-includes li::before { content: "–"; position: absolute; left: 0; color: var(--gold-deep); }

/* ==========================================================================
   Work
   ========================================================================== */
.work-section { background: var(--paper-2); }
.work-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.work-head .lede { margin-bottom: 1.25rem; }
.work-totals { display: flex; flex-wrap: wrap; gap: .25rem 2.5rem; margin: 0; font: italic 500 clamp(1.3rem, 1.8vw, 1.6rem)/1.3 var(--serif); color: var(--gold-deep); }

.work-link { display: block; text-decoration: none; color: inherit; }
.work-img { display: block; overflow: hidden; border-radius: 3px; background: var(--ink-3); aspect-ratio: 4 / 5; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.work-link:hover .work-img img { transform: scale(1.035); }
.work-text { display: grid; gap: .4rem; padding-top: 1.25rem; }
.work-sector { font-size: .875rem; color: var(--ink-soft); }
.work-title { font: 500 clamp(1.75rem, 2.6vw, 2.35rem)/1.08 var(--serif); }
a.work-link:hover .work-title { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.work-desc { color: var(--ink-soft); max-width: 46ch; }

.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.5rem 0 0; border-top: 1px solid var(--rule); }
.ledger > div { display: flex; flex-direction: column-reverse; padding: 1rem 1rem 0 0; }
.ledger > div + div { padding-left: 1rem; border-left: 1px solid var(--rule); }
.ledger dt { font-size: .8125rem; color: var(--ink-soft); line-height: 1.35; }
.ledger dd { margin: 0 0 .25rem; font: 500 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--serif); font-variant-numeric: lining-nums; }
.work-totals, .plan-price, .step-n, .hero-stats-mobile strong, .next-case strong { font-variant-numeric: lining-nums; }
.ledger-lg dd { font-size: clamp(2.2rem, 4vw, 3.4rem); }

.work-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: end; margin-bottom: clamp(64px, 8vw, 120px); }
.work-lead .work-link { display: contents; }
.work-lead .work-img { aspect-ratio: 16 / 11; grid-row: span 2; }
.work-lead .work-text { padding-top: 0; align-self: end; }
.work-lead .work-title { font-size: clamp(2.2rem, 3.8vw, 3.4rem); }
.work-lead .ledger { grid-column: 2; }

.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 6vw, 88px) clamp(28px, 5vw, 80px); align-items: start; }
.work-grid > .work:nth-child(even) { margin-top: clamp(0px, 9vw, 140px); }
.work-grid > .work:nth-child(4n+1) .work-img, .work-grid > .work:nth-child(4n+4) .work-img { aspect-ratio: 5 / 6; }
.work-grid > .work:nth-child(4n+2) .work-img, .work-grid > .work:nth-child(4n+3) .work-img { aspect-ratio: 5 / 4; }
.work-grid-archive > .work:nth-child(even) { margin-top: 0; }
.section-foot { margin: clamp(56px, 7vw, 96px) 0 0; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { background: var(--ink); color: var(--paper); }
.process .h-section { max-width: 14ch; margin-bottom: clamp(48px, 6vw, 88px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); counter-reset: none; }
.step { border-top: 1px solid var(--gold); padding-top: 1.5rem; }
.step-n { display: block; font: 400 clamp(3.2rem, 5vw, 4.6rem)/1 var(--serif); color: var(--gold); margin-bottom: 1.5rem; }
.step-title { font: 500 1.65rem/1.15 var(--serif); margin-bottom: .75rem; }
.step p { color: var(--cream-70); font-size: .9875rem; margin: 0; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testi-top { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: clamp(40px, 5vw, 72px); flex-wrap: wrap; }
.testi-nav { display: flex; align-items: center; gap: 1.25rem; font-size: .9375rem; }
.testi-btn { background: none; border: 0; padding: .4rem 0; cursor: pointer; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: .35em; transition: text-decoration-color .25s; }
.testi-btn:hover { text-decoration-color: var(--gold); }
.testi-count { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.testi-stage { display: grid; }
.testi { grid-area: 1 / 1; margin: 0; }
.testi[hidden] { display: block; visibility: hidden; opacity: 0; }
.testi.is-active { visibility: visible; opacity: 1; transition: opacity .6s var(--ease); }
.testi:not(.is-active) { opacity: 0; }
.testi blockquote { margin: 0 0 2rem; }
.testi blockquote p { font: 400 clamp(2rem, 4.2vw, 3.6rem)/1.14 var(--serif); letter-spacing: -.01em; max-width: 30ch; margin: 0; text-indent: -.42em; }
.testi blockquote p::before { content: "“"; color: var(--gold); }
.testi blockquote p::after { content: "”"; color: var(--gold); }
.testi figcaption { display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .9375rem; }
.testi figcaption span { color: var(--ink-soft); }

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing { background: var(--paper-2); }
.pricing-head { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); display: grid; gap: clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.plan { background: var(--paper); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; }
.plan.is-featured { background: var(--ink); color: var(--paper); }
.plan-name { font: 500 1rem/1.4 var(--sans); display: flex; justify-content: space-between; gap: 1rem; }
.plan-flag { font-weight: 400; font-size: .8125rem; color: var(--gold); }
.plan-price { font: 500 clamp(2.8rem, 4.2vw, 3.8rem)/1 var(--serif); margin: 1.5rem 0 .3rem; }
.plan.is-featured .plan-price { color: var(--gold); }
.plan-period { font-size: .875rem; color: var(--ink-soft); }
.plan.is-featured .plan-period, .plan.is-featured .plan-text, .plan.is-featured .plan-features { color: var(--cream-70); }
.plan-text { color: var(--ink-soft); padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.5rem; }
.plan.is-featured .plan-text { border-color: var(--rule-dark); }
.plan-features { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .55rem; font-size: .9375rem; flex: 1; }
.plan-features li { padding-left: 1.25rem; position: relative; }
.plan-features li::before { content: "–"; position: absolute; left: 0; color: var(--gold-deep); }
.plan.is-featured .plan-features li::before { color: var(--gold); }
.plan .btn { align-self: flex-start; }

/* ==========================================================================
   Journal & post rows
   ========================================================================== */
.journal-head { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; margin-bottom: clamp(32px, 4vw, 56px); }
.post-rows { border-bottom: 1px solid var(--rule); }
.post-row { border-top: 1px solid var(--rule); }
.post-row-link {
	display: grid; grid-template-columns: 200px minmax(0, 1fr) 180px; grid-template-areas: "meta title img" "meta excerpt img";
	gap: .5rem clamp(20px, 3vw, 48px); padding-block: 1.75rem; text-decoration: none; align-items: start;
}
.post-row-meta { grid-area: meta; display: flex; flex-direction: column; gap: .15rem; font-size: .875rem; color: var(--ink-soft); padding-top: .4rem; }
.post-row-title { grid-area: title; font: 500 clamp(1.6rem, 2.6vw, 2.3rem)/1.12 var(--serif); text-wrap: balance; transition: color .25s var(--ease); }
.post-row-link:hover .post-row-title { color: var(--gold-deep); }
.post-row-excerpt { grid-area: excerpt; color: var(--ink-soft); max-width: 60ch; }
.post-row-img { grid-area: img; overflow: hidden; border-radius: 3px; aspect-ratio: 3 / 2; }
.post-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-row-link:hover .post-row-img img { transform: scale(1.04); }
.post-row:not(:has(.post-row-img)) .post-row-link { grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "meta title" "meta excerpt"; }

.post-feature { margin-bottom: clamp(48px, 6vw, 88px); }
.post-feature-link { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: end; text-decoration: none; }
.post-feature-img { overflow: hidden; border-radius: 3px; aspect-ratio: 16 / 10; }
.post-feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post-feature-link:hover .post-feature-img img { transform: scale(1.03); }
.post-feature-text { display: grid; gap: 1rem; }
.post-feature-text > * { grid-area: auto; }
.post-feature:not(:has(.post-feature-img)) .post-feature-link { grid-template-columns: minmax(0, 1fr); max-width: 52rem; }
.post-feature-text .post-row-meta { flex-direction: row; gap: 1rem; padding: 0; }
.post-feature-title { font: 500 clamp(2.2rem, 3.8vw, 3.4rem)/1.04 var(--serif); }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--ink); color: var(--paper); padding-block: var(--section) calc(var(--section) * .8); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); }
.contact .h-section { max-width: 13ch; margin-bottom: 1.5rem; }
.contact .lede { color: var(--cream-70); }
.contact-dl { margin: 2.5rem 0 0; display: grid; gap: 0; border-top: 1px solid var(--rule-dark); }
.contact-dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--rule-dark); }
.contact-dl dt { color: var(--cream-50); font-size: .875rem; padding-top: .15rem; }
.contact-dl dd { margin: 0; }
.contact-dl a { text-decoration-color: rgba(201, 162, 39, .6); }

.contact-form { display: grid; gap: 1.75rem; align-content: start; padding-top: .5rem; }
.field { position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.field input, .field textarea, .field select {
	width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(250, 247, 240, .3); border-radius: 0;
	color: var(--paper); font: 400 1.125rem/1.4 var(--sans); padding: 1.6rem 0 .6rem; outline: none;
	transition: border-color .25s var(--ease); -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; padding-right: 1.5rem; }
.field select option { color: var(--ink); }
.field-select::after { content: ""; position: absolute; right: 4px; bottom: 1.15rem; width: 7px; height: 7px; border-right: 1px solid var(--cream-70); border-bottom: 1px solid var(--cream-70); transform: rotate(45deg); pointer-events: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field label { position: absolute; left: 0; top: 1.6rem; color: var(--cream-50); font-size: 1.125rem; pointer-events: none; transform-origin: left top; transition: transform .25s var(--ease), color .25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field-select label { transform: translateY(-1.35rem) scale(.78); color: var(--cream-70); }
.opt { color: var(--cream-50); }
.field.has-error input, .field.has-error textarea { border-color: #E8A39B; }
.field-error { display: block; min-height: 0; font-size: .8125rem; color: #EDB1A9; margin-top: .4rem; }
.field-error:empty { display: none; }
.form-foot { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form-status { margin: 0; color: var(--cream-70); font-size: .9375rem; max-width: 40ch; }
.form-status.is-ok { color: var(--gold); }
.form-status.is-error { color: #EDB1A9; }
.contact-form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--cream-70); padding-top: clamp(56px, 7vw, 96px); font-size: .9375rem; }
.contact + .site-footer, .site-main:has(> .contact:last-child) + .site-footer { padding-top: 0; }
.site-footer a { color: var(--paper); text-decoration-color: rgba(250, 247, 240, .3); }
.site-footer a:hover { text-decoration-color: var(--gold); }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; padding-bottom: clamp(48px, 6vw, 80px); }
.footer-cta-title { margin: 0; font: 500 clamp(2rem, 4vw, 3.4rem)/1.05 var(--serif); color: var(--paper); max-width: 18ch; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem clamp(24px, 4vw, 64px); padding-top: 2.5rem; border-top: 1px solid var(--rule-dark); }
.footer-about p { max-width: 36ch; }
.footer-h { font: 500 .875rem/1.4 var(--sans); color: var(--cream-50); margin-bottom: .75rem; }
.footer-grid p { margin-bottom: .4rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer-mark { margin: clamp(40px, 6vw, 80px) 0 0; padding-bottom: .04em; font: 500 min(29.5vw, 25.5rem)/.82 var(--serif); letter-spacing: -.04em; color: var(--ink-3); white-space: nowrap; overflow: hidden; user-select: none; }
.footer-legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.5rem 0 2rem; font-size: .8125rem; color: var(--cream-50); border-top: 1px solid var(--rule-dark); }
.legal-menu { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }

/* ==========================================================================
   Inner pages, articles, prose
   ========================================================================== */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 120px)) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--rule); }
.page-hero .lede { margin-top: 1.5rem; }
.brseo-breadcrumbs, .crumbs { font-size: .875rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.brseo-breadcrumbs a, .crumbs a { text-decoration: none; }
.brseo-breadcrumbs a:hover, .crumbs a:hover { text-decoration: underline; }
.cat-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.cat-nav a { padding: .45rem 1rem; border: 1px solid var(--rule); border-radius: 999px; font-size: .875rem; text-decoration: none; transition: border-color .2s, background-color .2s; }
.cat-nav a:hover { border-color: var(--ink); }
.cat-nav a[aria-current] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.article-head { padding: calc(var(--header-h) + clamp(48px, 7vw, 104px)) var(--gutter) clamp(32px, 4vw, 56px); max-width: calc(720px + var(--gutter) * 2); }
.article-meta { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .875rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.article-meta a { text-decoration: none; color: var(--gold-deep); font-weight: 500; }
.h-article { font: 500 clamp(2.6rem, 5.4vw, 4.4rem)/1.02 var(--serif); letter-spacing: -.015em; text-wrap: balance; }
.article-dek { font: 400 clamp(1.35rem, 2vw, 1.7rem)/1.35 var(--serif); color: var(--ink-soft); max-width: 40ch; margin: 1.5rem 0 0; }
.article-by { margin: 1.75rem 0 0; font-size: .9375rem; }
.article-cover { margin: 0 auto clamp(40px, 5vw, 72px); max-width: calc(1100px + var(--gutter) * 2); }
.article-cover img { width: 100%; border-radius: 3px; aspect-ratio: 16 / 9; object-fit: cover; }
.article-foot { padding-bottom: clamp(56px, 7vw, 96px); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags a { font-size: .8125rem; padding: .35rem .85rem; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; }
.article-cta { margin-top: 3rem; padding: 2rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.article-cta p { margin: 0; font: 500 1.6rem/1.2 var(--serif); }
.related .h-small { margin-bottom: 1.5rem; }

.prose { font-size: 1.125rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.35em; }
.prose p { margin-bottom: 0; }
.prose h2 { font: 500 clamp(1.9rem, 3vw, 2.5rem)/1.12 var(--serif); margin-top: 2.2em; }
.prose h3 { font: 500 clamp(1.5rem, 2.2vw, 1.85rem)/1.2 var(--serif); margin-top: 1.8em; }
.prose h4 { font: 600 1.0625rem/1.4 var(--sans); margin-top: 1.6em; }
.prose a { color: var(--gold-deep); text-decoration-color: rgba(122, 95, 14, .45); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose ul li::marker { content: "–  "; color: var(--gold-deep); }
.prose blockquote { margin-inline: 0; padding-left: 1.5rem; border-left: 1px solid var(--gold); font: 400 1.6rem/1.35 var(--serif); }
.prose img, .prose figure img { border-radius: 3px; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: .875rem; color: var(--ink-soft); margin-top: .6rem; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: .7rem .8rem; border-bottom: 1px solid var(--rule); text-align: left; }
.prose th { font-weight: 600; }
.prose code { font-size: .9em; background: var(--paper-2); padding: .1em .35em; border-radius: 3px; }
.prose pre { background: var(--ink); color: var(--paper); padding: 1.25rem; border-radius: 3px; overflow-x: auto; font-size: .875rem; }
.prose pre code { background: none; padding: 0; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin-block: 3em; }
.prose .alignwide { width: min(1100px, 92vw); max-width: none; margin-inline: calc(50% - min(550px, 46vw)); }
.prose .alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.prose .wp-block-button__link { border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; padding: .85rem 1.6rem; }

.next-case { display: flex; flex-direction: column; gap: .5rem; padding-block: clamp(56px, 8vw, 120px); border-top: 1px solid var(--rule); text-decoration: none; }
.next-case span { font-size: .875rem; color: var(--ink-soft); }
.next-case strong { font: 500 clamp(2.4rem, 6vw, 5rem)/1 var(--serif); transition: color .25s; }
.next-case:hover strong { color: var(--gold-deep); }

.pagination .nav-links, .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 3rem; }
.page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 .9rem; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-size: .9375rem; }
.page-numbers.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.search-form { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.search-field { flex: 1 1 240px; min-height: 52px; padding: 0 1.25rem; border: 1px solid var(--rule); border-radius: 999px; background: transparent; font: inherit; color: inherit; }
.hero .search-field { border-color: var(--rule-dark); color: var(--paper); }
.hero .search-form .btn-ink { background: var(--paper); color: var(--ink); }
.hero-404 .hero-inner { padding-bottom: 6rem; }
.empty { padding-block: 2rem; }

.comments { padding-top: 2rem; border-top: 1px solid var(--rule); }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.comment-form input:not([type=submit]):not([type=checkbox]), .comment-form textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--rule); border-radius: 3px; background: #fff; font: inherit; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.post-row-link { grid-template-columns: 160px minmax(0, 1fr) 140px; }
}
@media (max-width: 820px) {
	.split, .work-head, .pricing-head, .contact-grid, .work-lead, .post-feature-link { grid-template-columns: 1fr; }
	.services .split-head { position: static; }
	.work-lead .work-link { display: block; }
	.work-lead .ledger { grid-column: auto; }
	.work-lead .work-text { padding-top: 1.25rem; }
	.work-grid { grid-template-columns: 1fr; }
	.work-grid > .work:nth-child(even) { margin-top: 0; }
	.plans { grid-template-columns: 1fr; }
	.service-includes { grid-template-columns: 1fr; }
	.post-row-link, .post-row:not(:has(.post-row-img)) .post-row-link { grid-template-columns: 1fr; grid-template-areas: "meta" "title" "excerpt"; }
	.post-row-img { display: none; }
	.post-row-meta { flex-direction: row; gap: 1rem; padding-top: 0; }
	.clients-list { justify-content: flex-start; }
	.manifesto-text { text-indent: 0; margin-left: 0; }
}
@media (max-width: 560px) {
	.steps { grid-template-columns: 1fr; }
	.field-row { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; }
	.ledger > div { padding-right: .5rem; }
	.ledger > div + div { padding-left: .6rem; }
	.contact-dl > div { grid-template-columns: 90px 1fr; }
	.hero-actions .btn { flex: 1 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
	.js .hero-line { stroke-dashoffset: 0; }
	.js .hero-area, .js .hero-point { opacity: 1; }
	.js .manifesto-text .w { color: var(--ink); }
}

/* ==========================================================================
   Service pages
   ========================================================================== */
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.svc-hero .h-page { max-width: 14ch; }
.svc-lede { font-size: clamp(1.2rem, 1.8vw, 1.5rem); max-width: 40ch; color: var(--ink); }
.svc-actions { margin-top: 2rem; }
.svc-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(48px, 6vw, 80px) 0 0; border-top: 1px solid var(--rule); }
.svc-facts > div { padding: 1.1rem 1.5rem 0 0; }
.svc-facts > div + div { padding-left: 1.5rem; border-left: 1px solid var(--rule); }
.svc-facts dt { font-size: .8125rem; color: var(--ink-soft); }
.svc-facts dd { margin: .3rem 0 0; font: 500 clamp(1.25rem, 1.8vw, 1.55rem)/1.25 var(--serif); font-variant-numeric: lining-nums; }

.outcome-list { border-bottom: 1px solid var(--rule); }
.outcome { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1rem clamp(24px, 3vw, 48px); padding: 1.75rem 0; border-top: 1px solid var(--rule); }
.outcome-title { font: 500 clamp(1.5rem, 2.2vw, 1.9rem)/1.15 var(--serif); }
.outcome p { margin: 0; color: var(--ink-soft); }

.svc-includes { background: var(--paper-2); }
.inc-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.inc-title { font: 500 1rem/1.4 var(--sans); padding-bottom: .9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--gold); }
.inc-list { grid-template-columns: 1fr; gap: .6rem; }

.svc-steps .h-section { margin-bottom: 0; }
.svc-steps .split-head { position: sticky; top: calc(var(--header-h) + 40px); }
.step-rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule-dark); }
.step-row { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--rule-dark); }
.step-row .step-n { font-size: clamp(2.6rem, 3.6vw, 3.4rem); margin: 0; }
.step-row p { color: var(--cream-70); margin: 0; max-width: 50ch; }

.svc-work-grid > .work:nth-child(even) { margin-top: clamp(0px, 6vw, 96px); }
.svc-work .h-section { margin-bottom: clamp(40px, 5vw, 72px); }

.faq-q { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; }
.faq .service-body p { max-width: 60ch; }

.svc-others { padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--rule); }
.svc-others .h-small { margin-bottom: 1.25rem; }
.svc-others ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; }
.svc-others a { font: 500 clamp(1.4rem, 2.2vw, 1.9rem)/1.3 var(--serif); text-decoration: none; transition: color .25s; }
.svc-others a:hover { color: var(--gold-deep); }

.svc-index { border-bottom: 1px solid var(--rule); }
.svc-index-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) minmax(0, 2fr); gap: 1rem clamp(24px, 3vw, 48px); align-items: baseline; padding: 2rem 0; border-top: 1px solid var(--rule); text-decoration: none; }
.svc-index-title { font: 500 clamp(2rem, 3.6vw, 3.2rem)/1.05 var(--serif); transition: color .25s var(--ease); }
.svc-index-row:hover .svc-index-title { color: var(--gold-deep); }
.svc-index-text { color: var(--ink-soft); }
.svc-index-more { font-size: .875rem; font-weight: 500; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .35em; justify-self: end; }

@media (max-width: 820px) {
	.svc-facts, .inc-groups { grid-template-columns: 1fr; }
	.svc-facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); padding-bottom: 1rem; }
	.svc-facts > div { padding-bottom: 1rem; }
	.outcome, .svc-index-row { grid-template-columns: 1fr; }
	.svc-index-more { justify-self: start; }
	.svc-steps .split-head { position: static; margin-bottom: 1rem; }
	.step-row { grid-template-columns: 3.5rem minmax(0, 1fr); }
	.svc-work-grid > .work:nth-child(even) { margin-top: 0; }
}

/* Lining figures for numerals in Cormorant (declared last: `font` shorthand resets it) */
.step-n, .plan-price, .work-totals, .ledger dd, .hero-note strong, .hero-stats-mobile strong, .svc-facts dd, .next-case strong { font-variant-numeric: lining-nums; }
