/* John Jackson Design by Pencil */
:root {
	--jjd-bg: #1f1f1d;
	--jjd-ink: #f2f0ea;
	--jjd-dark-ink: #1f1f1d;
	--jjd-muted: #c9c6bd;
	--jjd-soft: #b4b1a8;
	--jjd-faint: #8f8c84;
	--jjd-card: #2a2a28;
	--jjd-card-2: #262624;
	--jjd-line: #353532;
	--jjd-line-2: #4a4944;
	--jjd-purple: #6d45f5;
	--jjd-purple-hover: #7b57f7;
	--jjd-purple-soft: #a48bff;
	--jjd-purple-ink: #4a1fd6;
	--jjd-paper: #f2f0ea;
	--jjd-paper-2: #e3e0d8;
	--jjd-g: #42e568;
	--jjd-g-ink: #0e1f12;
	--jjd-g-tint: rgba(66, 229, 104, 0.12);
	--jjd-coral: #ff9b88;
	--jjd-display: "Bricolage Grotesque", "Arial Black", sans-serif;
	--jjd-body: Figtree, "Helvetica Neue", Helvetica, Arial, sans-serif;
	--jjd-mono: Inconsolata, ui-monospace, Menlo, monospace;
	--jjd-hand: Caveat, "Comic Sans MS", cursive;
	--jjd-gutter: clamp(20px, 5vw, 56px);
	--jjd-gap-xl: clamp(80px, 11vw, 130px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.jjd-body {
	margin: 0;
	background: var(--jjd-bg);
	color: var(--jjd-ink);
	font-family: var(--jjd-body);
	-webkit-font-smoothing: antialiased;
}
:where(.jjd-site) :where(h1, h2, h3, p, ul, ol, figure) { margin: 0; }
:where(.jjd-site) a { color: var(--jjd-purple-soft); text-decoration: none; }
:where(.jjd-site) a:hover { color: var(--jjd-ink); }
.jjd-site { overflow-x: hidden; }
.jjd-site img { max-width: 100%; }

/* Layout */
.jjd-wrap { max-width: 1180px; margin: 0 auto; padding: var(--jjd-gap-xl) var(--jjd-gutter) 0; }
.jjd-wrap--hero { max-width: 980px; padding-top: clamp(40px, 7vw, 80px); }
.jjd-wrap--narrow { max-width: 900px; }
.jjd-wrap--mid { max-width: 1060px; }
.jjd-wrap--compare { max-width: 1000px; }
.jjd-wrap--pricing { max-width: 1100px; }
.jjd-wrap--faq { max-width: 780px; padding-bottom: clamp(72px, 10vw, 110px); }
.jjd-center { text-align: center; }
.jjd-section-head { margin-bottom: 36px; }

/* Type */
.jjd-h2 {
	font-family: var(--jjd-display);
	font-weight: 800;
	font-size: clamp(34px, 5.2vw, 58px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-wrap: balance;
	margin-bottom: 16px;
}
.jjd-h2--sm { font-size: clamp(32px, 4.4vw, 50px); margin: 0; }
.jjd-h2--faq { font-size: clamp(34px, 5.2vw, 52px); margin-bottom: 30px; }
.jjd-lede, .jjd-lede p { font-size: 16px; line-height: 1.65; color: var(--jjd-muted); }
.jjd-lede--narrow { max-width: 520px; margin-inline: auto; }
.jjd-eyebrow {
	font-family: var(--jjd-mono);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--jjd-purple-soft);
}
.jjd-eyebrow--muted { color: var(--jjd-faint); letter-spacing: 0.14em; }
.jjd-hand { font-family: var(--jjd-hand); font-size: 23px; color: var(--jjd-muted); }
.jjd-stars { color: var(--jjd-g); font-size: 14px; letter-spacing: 3px; }
.jjd-stars--sm { font-size: 10px; letter-spacing: 1.5px; flex: none; }

.jjd-mark { padding: 0 10px; border-radius: 7px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.jjd-mark--purple { background: var(--jjd-purple); color: #fff; }
.jjd-mark--green { background: var(--jjd-g); color: var(--jjd-g-ink); }
.jjd-underline {
	text-decoration: underline;
	text-decoration-color: var(--jjd-g);
	text-decoration-thickness: 4px;
	text-underline-offset: 9px;
	text-decoration-skip-ink: none;
}
.jjd-underline--thick { text-decoration-thickness: 6px; text-underline-offset: 12px; }
.jjd-underline--thin { text-decoration-thickness: 3px; text-underline-offset: 6px; }
.jjd-chip { background: var(--jjd-paper); color: var(--jjd-dark-ink); font-weight: 600; padding: 2px 7px; border-radius: 4px; }
.jjd-chip--solid { display: inline-block; font-size: 14px; padding: 4px 10px; }
.jjd-chip--sm { font-size: 13px; padding: 3px 9px; }

/* Header */
.jjd-header {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	max-width: 1180px; margin: 0 auto; padding: 18px var(--jjd-gutter);
}
.jjd-logo { display: block; width: 152px; }
.jjd-logo img, .jjd-footer__logo img { display: block; width: 100%; height: auto; }
.jjd-header__cta {
	color: var(--jjd-ink); border: 1.5px solid var(--jjd-line-2);
	font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 6px;
	transition: border-color 0.2s;
}
.jjd-site .jjd-header__cta:hover { border-color: var(--jjd-purple-soft); color: var(--jjd-ink); }

/* CTA pill with headshot */
.jjd-cta {
	position: relative; display: inline-flex; align-items: center; gap: 11px;
	background: var(--jjd-purple); border-radius: 7px; padding: 7px 24px 7px 7px;
	box-shadow: 0 10px 30px rgba(109, 69, 245, 0.35); transition: background 0.2s;
}
.jjd-cta:hover { background: var(--jjd-purple-hover); }
.jjd-site .jjd-cta__link { color: #fff; font-size: 16px; font-weight: 700; }
.jjd-site .jjd-cta__link:hover { color: #fff; }
.jjd-cta__link::after { content: ""; position: absolute; inset: 0; border-radius: 7px; }
.jjd-face { display: block; flex: none; overflow: hidden; }
.jjd-face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jjd-face--cta { width: 38px; height: 38px; border-radius: 5px; position: relative; z-index: 1; }
.jjd-face--round { width: 42px; height: 42px; border-radius: 50%; }

/* Hero */
.jjd-hero { display: flex; flex-direction: column; align-items: center; text-align: center; }
.jjd-hero__quote { font-size: 13px; font-weight: 500; margin: 6px 0 24px; }
.jjd-hero__source::before { content: ""; display: inline-block; width: 14px; height: 1px; background: currentColor; vertical-align: middle; margin: 0 8px 0 6px; }
.jjd-hero__title {
	font-family: var(--jjd-display); font-weight: 800;
	font-size: clamp(42px, 6.8vw, 78px); line-height: 1; letter-spacing: -0.035em;
	margin-bottom: 24px; text-wrap: balance;
}
.jjd-hero__title .jjd-mark { padding: 0 12px; border-radius: 8px; }
.jjd-hero__lead { font-size: 16.5px; line-height: 1.8; color: var(--jjd-muted); max-width: 580px; margin-bottom: 30px; }
.jjd-hero__price { color: var(--jjd-ink); font-weight: 600; }
.jjd-hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; }
.jjd-hand--note { display: inline-flex; align-items: center; gap: 6px; font-size: 24px; }
.jjd-hero__shot { width: 100%; max-width: 880px; margin-top: 48px; }
.jjd-hero__caption { display: block; text-align: right; margin: 0 10px 6px 0; }

/* Browser frames and fixed image frames */
.jjd-browser { border-radius: 12px; overflow: hidden; background: var(--jjd-paper); }
.jjd-browser--hero { border: 6px solid var(--jjd-purple); }
.jjd-browser--small { border-radius: 10px; }
.jjd-browser__bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--jjd-paper-2); }
.jjd-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9c5bb; }
.jjd-browser--small .jjd-browser__bar { padding: 9px 12px; }
.jjd-browser--small .jjd-browser__bar i { width: 8px; height: 8px; }
.jjd-frame { position: relative; overflow: hidden; }
.jjd-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.jjd-frame--hero { aspect-ratio: 16 / 8.5; }
.jjd-frame--build { aspect-ratio: 3340 / 1862; }
.jjd-frame--portrait { aspect-ratio: 1 / 1; border: 6px solid var(--jjd-purple); border-radius: 12px; }
.jjd-frame--project { aspect-ratio: 16 / 10; border-radius: 7px; background: #141416; }
.jjd-frame__placeholder {
	position: absolute; inset: 0;
	background: repeating-linear-gradient(135deg, rgba(128, 128, 128, 0.15) 0 6px, transparent 6px 12px);
}

/* Intro */
.jjd-intro { display: flex; flex-direction: column; align-items: center; }
.jjd-intro .jjd-lede { max-width: 560px; margin-bottom: 14px; }
.jjd-intro__callout { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 36px; color: var(--jjd-muted); }
.jjd-callout {
	background: var(--jjd-g-tint); border: 1px solid var(--jjd-g); color: var(--jjd-g);
	font-size: 16px; font-weight: 500; line-height: 1.45; padding: 14px 22px; border-radius: 7px;
}

/* Cards */
.jjd-card { background: var(--jjd-card); border: 1px solid var(--jjd-line); border-radius: 12px; padding: clamp(24px, 4vw, 44px); }

/* Process */
.jjd-process { padding-top: clamp(56px, 8vw, 88px); }
.jjd-steps { list-style: none; padding: 0; display: flex; flex-direction: column; align-items: center; }
.jjd-step { width: 100%; display: flex; flex-direction: column; align-items: center; }
.jjd-step__card { width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 32px; }
.jjd-step--flip .jjd-step__card { flex-direction: row-reverse; }
.jjd-step__copy { flex: 1 1 300px; display: flex; flex-direction: column; gap: 12px; }
.jjd-step__visual { flex: 1 1 320px; min-width: 0; }
.jjd-step__title { font-family: var(--jjd-display); font-weight: 700; font-size: clamp(24px, 2.8vw, 30px); line-height: 1.12; letter-spacing: -0.02em; }
.jjd-step__body p { font-size: 15px; line-height: 1.6; color: var(--jjd-muted); }
.jjd-step__arrow { margin: 14px 0; color: #8a877e; }

/* Step mock cards */
.jjd-mock { background: var(--jjd-paper); color: var(--jjd-dark-ink); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.jjd-mock--plan { gap: 10px; }
.jjd-mock--launch { gap: 16px; }
.jjd-mock__person { display: flex; align-items: center; gap: 12px; }
.jjd-mock__name { font-weight: 700; font-size: 15px; }
.jjd-mock--plan .jjd-mock__name { margin-bottom: 4px; }
.jjd-mock__meta { font-size: 12.5px; color: #6c6a63; }
.jjd-mock__times { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.jjd-slot { font-size: 12.5px; font-weight: 600; text-align: center; padding: 9px 4px; border-radius: 5px; border: 1px solid #d9d1f7; color: var(--jjd-purple-ink); }
.jjd-slot--on { background: var(--jjd-purple); border-color: var(--jjd-purple); color: #fff; }
.jjd-mock__done { background: var(--jjd-g); color: var(--jjd-g-ink); font-weight: 700; font-size: 13.5px; padding: 11px; border-radius: 6px; text-align: center; }
.jjd-mock__done--left { display: flex; align-items: center; gap: 8px; text-align: left; font-size: 13px; padding: 9px 12px; }
.jjd-mock__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff; border-radius: 6px; padding: 10px 12px; font-size: 13.5px; }
.jjd-tick { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--jjd-g); color: var(--jjd-g-ink); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.jjd-tick--box { width: 19px; height: 19px; border-radius: 4px; margin-top: 1px; }
.jjd-mock__total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed #cfccc2; padding-top: 12px; margin-top: 4px; font-size: 13px; color: #5d5b54; }
.jjd-mock__total strong { font-family: var(--jjd-display); font-weight: 800; font-size: 22px; color: var(--jjd-dark-ink); }
.jjd-mock__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.jjd-mock__stat { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.jjd-mock__stat strong { font-family: var(--jjd-display); font-weight: 800; font-size: 40px; line-height: 1; }
.jjd-mock__stat span { font-size: 12px; font-weight: 600; color: #17692f; }
.jjd-badge { background: var(--jjd-g); color: var(--jjd-g-ink); font-size: 11.5px; font-weight: 700; padding: 5px 9px; border-radius: 5px; }
.jjd-chart { position: relative; height: 100px; background-image: repeating-linear-gradient(0deg, #e2dfd7 0 1px, transparent 1px 25px); }
.jjd-chart__bars { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 8px; }
.jjd-chart__bar { flex: 1; border-radius: 3px; background: #e3ddf7; }
.jjd-chart__bar--4 { background: #d9d1f7; }
.jjd-chart__bar--5 { background: #c4b6ff; }
.jjd-chart__bar--6 { background: var(--jjd-purple-soft); }
.jjd-chart__bar--7 { background: var(--jjd-purple); }
.jjd-chart__bar--8 { background: var(--jjd-g); }
.jjd-chart__line { position: absolute; left: 37.5%; top: -4px; bottom: 0; border-left: 1.5px dashed var(--jjd-purple); }
.jjd-chart__marker { position: absolute; left: calc(37.5% + 6px); top: -6px; font-size: 10.5px; font-weight: 600; color: var(--jjd-purple-ink); white-space: nowrap; }
.jjd-chart__months { display: flex; gap: 8px; font-size: 10.5px; margin-top: -10px; }
.jjd-chart__months span { flex: 1; text-align: center; color: #8a877e; font-weight: 500; }
.jjd-chart__months .is-current { color: var(--jjd-dark-ink); font-weight: 700; }

/* Work */
.jjd-work__title { margin-bottom: 36px; }
.jjd-projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.jjd-project { background: var(--jjd-card); border: 1px solid var(--jjd-line); border-radius: 12px; padding: 12px 12px 22px; display: flex; flex-direction: column; gap: 12px; }
.jjd-projects:not(.is-expanded) .jjd-project--extra { display: none; }
.jjd-project__body { padding: 0 8px; display: flex; flex-direction: column; gap: 10px; }
.jjd-project__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.jjd-project__name { font-family: var(--jjd-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.jjd-project__quote { font-size: 13.5px; line-height: 1.55; color: var(--jjd-soft); }
.jjd-project__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.jjd-tag { font-size: 12px; font-weight: 700; padding: 6px 10px; border-radius: 5px; }
.jjd-tag--green { background: var(--jjd-g-tint); color: var(--jjd-g); }
.jjd-tag--coral { background: rgba(255, 138, 122, 0.14); color: var(--jjd-coral); }
.jjd-work__more { margin-top: 26px; }
.jjd-toggle, .jjd-outline-link {
	display: inline-block; font: inherit; font-size: 14px; font-weight: 600;
	background: transparent; color: var(--jjd-ink);
	border: 1.5px solid var(--jjd-line-2); padding: 13px 22px; border-radius: 7px; cursor: pointer;
	transition: border-color 0.2s;
}
.jjd-toggle:hover, .jjd-site .jjd-outline-link:hover { border-color: var(--jjd-purple-soft); color: var(--jjd-ink); }
.jjd-toggle__less, .jjd-toggle[aria-expanded="true"] .jjd-toggle__more { display: none; }
.jjd-toggle[aria-expanded="true"] .jjd-toggle__less { display: inline; }

/* About */
.jjd-about__card { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 56px); }
.jjd-about__photo { flex: 0 1 320px; display: flex; flex-direction: column; gap: 8px; }
.jjd-about__note { display: inline-flex; align-items: center; gap: 6px; align-self: flex-end; }
.jjd-scribble--tilt { transform: rotate(35deg); transform-origin: 80% 60%; }
.jjd-about__copy { flex: 1 1 340px; display: flex; flex-direction: column; gap: 16px; }
.jjd-about__body p { font-size: 15.5px; line-height: 1.65; color: var(--jjd-muted); }
.jjd-about__body p + p { margin-top: 16px; }

/* Compare */
.jjd-compare__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 16px; }
.jjd-compare__col { border-radius: 12px; padding: 30px 28px; }
.jjd-compare__col--cons { background: var(--jjd-card-2); border: 1px solid #33332f; }
.jjd-compare__col--pros { background: var(--jjd-card); border: 2px solid var(--jjd-purple); }
.jjd-compare__col .jjd-eyebrow { font-size: 13px; letter-spacing: 0.14em; margin-bottom: 20px; }
.jjd-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 13px; }
.jjd-list li { display: flex; gap: 12px; font-size: 15px; }
.jjd-compare__col--cons li { color: #a3a097; }
.jjd-list__x { color: #ff8a7a; font-weight: 700; }
.jjd-list--sm { gap: 10px; padding: 8px 0 12px; flex: 1; }
.jjd-list--sm li { gap: 10px; font-size: 14px; }
.jjd-list--sm .jjd-tick--box { width: 17px; height: 17px; font-size: 9px; }

/* Pricing */
.jjd-packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 16px; align-items: stretch; margin-top: 40px; }
.jjd-pricing .jjd-section-head { margin-bottom: 0; }
.jjd-package { position: relative; background: var(--jjd-card); border: 1px solid var(--jjd-line); border-radius: 12px; padding: 32px 26px 26px; display: flex; flex-direction: column; gap: 14px; }
.jjd-package--popular { border: 2px solid var(--jjd-purple); }
.jjd-package .jjd-eyebrow { font-size: 13px; letter-spacing: 0.14em; }
.jjd-package__flag {
	position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
	background: var(--jjd-purple); color: #fff; font-family: var(--jjd-mono);
	font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; padding: 5px 10px; border-radius: 5px; white-space: nowrap;
}
.jjd-package__price { display: flex; align-items: baseline; gap: 8px; }
.jjd-package__price strong { font-family: var(--jjd-display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -0.03em; }
.jjd-package__price span { font-size: 13px; color: #a3a097; }
.jjd-package__desc { font-size: 14px; line-height: 1.55; color: var(--jjd-soft); }
.jjd-solid-link { display: block; text-align: center; background: var(--jjd-purple); font-size: 14.5px; font-weight: 700; padding: 13px; border-radius: 7px; transition: background 0.2s; }
.jjd-site .jjd-solid-link, .jjd-site .jjd-solid-link:hover { color: #fff; }
.jjd-solid-link:hover { background: var(--jjd-purple-hover); }

/* Booking */
.jjd-book .jjd-section-head { margin-bottom: 34px; }
.jjd-cal { width: 100%; min-height: 640px; overflow: auto; border-radius: 8px; }

/* FAQ */
.jjd-faq__list { display: flex; flex-direction: column; gap: 10px; }
.jjd-faq__item { background: var(--jjd-card); border: 1px solid var(--jjd-line); border-radius: 10px; }
.jjd-faq__trigger {
	font: inherit; width: 100%; background: transparent; border: 0; padding: 18px 22px;
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	cursor: pointer; text-align: left; color: var(--jjd-ink); font-weight: 700; font-size: 18px;
}
.jjd-faq__sign { width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--jjd-paper); position: relative; }
.jjd-faq__sign::before, .jjd-faq__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2.5px; background: var(--jjd-dark-ink); border-radius: 2px; transform: translate(-50%, -50%); transition: transform 0.3s; }
.jjd-faq__sign::after { transform: translate(-50%, -50%) rotate(90deg); }
.is-open .jjd-faq__sign::after { transform: translate(-50%, -50%) rotate(0deg); }
.jjd-faq__panel { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows 0.4s cubic-bezier(.4, 0, .2, 1), opacity 0.3s ease; }
.is-open .jjd-faq__panel { grid-template-rows: 1fr; opacity: 1; }
.jjd-faq__inner { overflow: hidden; min-height: 0; }
.jjd-faq__a { padding: 0 22px 20px; }
.jjd-faq__a p { font-size: 14.5px; line-height: 1.6; color: var(--jjd-soft); }

/* Footer */
.jjd-footer { border-top: 1px solid #33332f; padding: 30px var(--jjd-gutter); }
.jjd-footer__inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; font-size: 12px; color: var(--jjd-faint); }
.jjd-footer__logo { display: block; width: 127px; }
.jjd-footer__links { display: flex; gap: 18px; }
.jjd-site .jjd-footer__links a { color: var(--jjd-faint); }
.jjd-site .jjd-footer__links a:hover { color: var(--jjd-ink); }

/* Standard pages */
.jjd-page { max-width: 760px; margin: 0 auto; padding: clamp(40px, 7vw, 80px) var(--jjd-gutter) clamp(72px, 10vw, 110px); }
.jjd-page--center { text-align: center; }
.jjd-page__title { font-family: var(--jjd-display); font-weight: 800; font-size: clamp(34px, 5vw, 52px); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 28px; }
.jjd-page__body { color: var(--jjd-muted); line-height: 1.7; }
.jjd-page__body > * + * { margin-top: 1em; }
.jjd-page__body h2, .jjd-page__body h3 { color: var(--jjd-ink); font-family: var(--jjd-display); margin-top: 1.6em; }

@media (max-width: 640px) {
	.jjd-hero__caption { text-align: center; margin-right: 0; }
	.jjd-faq__trigger { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.jjd-faq__panel, .jjd-faq__sign::after { transition: none; }
}
