/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
	scroll-behavior: smooth;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-size: 16px;
	-webkit-text-size-adjust: 100%;
}

body {
	background: #fff;
	color: #111;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

/* ─── Layout ────────────────────────────────────────────────── */
.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ─── Header ────────────────────────────────────────────────── */
.site-header {
	padding: 22px 0;
	border-bottom: 1px solid #e8e8e8;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-name {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: #111;
}

.site-name span {
	color: #999;
	font-weight: 400;
}

.site-nav ul.nav-links {
	display: flex;
	gap: 28px;
	list-style: none;
}

.site-nav ul.nav-links a {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: #111;
	transition: color 0.15s;
}

.site-nav ul.nav-links a:hover { color: #555; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
	padding: 60px 0 72px;
	border-bottom: 1px solid #e8e8e8;
}

.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 56px;
	align-items: start;
}

/* Avatar */
.hero-avatar {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	overflow: hidden;
	margin-bottom: 24px;
}

.hero-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avatar-placeholder {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: #e8e8e8;
}

/* Headline */
.hero-headline {
	font-size: 38px;
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin-bottom: 20px;
}

.accent-orange { color: #e8470a; }
.accent-blue   { color: #2d7dd2; }

/* Bio */
.hero-bio {
	font-size: 15px;
	line-height: 1.7;
	color: #444;
	max-width: 400px;
	margin-bottom: 28px;
}

/* Newsletter toggle */
.nl-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #111;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	padding: 11px 22px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	letter-spacing: 0.01em;
	transition: background 0.15s;
}

.nl-btn:hover { background: #2a2a2a; }

/* Newsletter inline form (hidden until toggled) */
.nl-inline-form {
	display: none;
	margin-top: 4px;
}

.nl-inline-form.is-open { display: block; }

.nl-fields {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nl-fields input[type="text"],
.nl-fields input[type="email"] {
	width: 100%;
	padding: 11px 14px;
	font-family: inherit;
	font-size: 14px;
	color: #111;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 5px;
	outline: none;
	box-sizing: border-box;
	transition: border-color 0.15s;
}

.nl-fields input[type="text"]:focus,
.nl-fields input[type="email"]:focus { border-color: #111; }

.nl-fields button[type="submit"] {
	padding: 11px 22px;
	background: #111;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background 0.15s;
}

.nl-fields button[type="submit"]:hover { background: #2a2a2a; }
.nl-fields button[type="submit"]:disabled { opacity: 0.55; cursor: not-allowed; }

.nl-error {
	font-size: 13px;
	color: #c0392b;
	margin-top: 8px;
	min-height: 1em;
}

.nl-success {
	font-size: 14px;
	color: #111;
	padding: 12px 0;
	margin: 0;
}

/* Photo grid */
.hero-photo-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 8px;
	height: 100%;
	min-height: 320px;
}

.photo-slot {
	border-radius: 8px;
	overflow: hidden;
	background: #f0ede8;
}

.photo-slot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.photo-slot.photo-1 { background: #e8ede8; }
.photo-slot.photo-2 { background: #e8eaf0; }
.photo-slot.photo-3 { background: #f0e8e8; }
.photo-slot.photo-4 { background: #f0ede8; }

/* ─── Sections (shared) ─────────────────────────────────────── */
.section {
	padding: 64px 0;
	border-bottom: 1px solid #e8e8e8;
}

.section-inner {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 48px;
	align-items: start;
}

.section-label {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
	letter-spacing: -0.01em;
}

.section-desc {
	font-size: 14px;
	color: #666;
	line-height: 1.65;
}

/* ─── Latest Posts ──────────────────────────────────────────── */
.post-list {
	list-style: none;
}

.post-list li:first-child .post-list-item {
	border-top: 1px solid #e8e8e8;
}

.post-list-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 0;
	border-bottom: 1px solid #e8e8e8;
	text-decoration: none;
	color: #111;
	gap: 16px;
}

.post-list-item:hover .post-title { color: #555; text-decoration: underline; text-underline-offset: 2px; }

.post-title {
	font-size: 15px;
	font-weight: 500;
	transition: color 0.15s;
}

.post-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.post-tag {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	background: #f2f2f2;
	padding: 3px 8px;
	border-radius: 3px;
	color: #555;
}

.post-placeholder { cursor: default; color: #999; }
.post-placeholder:hover .post-title { color: #999; }

.view-all-link {
	display: inline-block;
	margin-top: 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #111;
	text-decoration: none;
	background: #f2f2f2;
	padding: 8px 18px;
	border-radius: 5px;
	transition: background 0.15s;
}

.view-all-link:hover { background: #e5e5e5; }

/* ─── Services ──────────────────────────────────────────────── */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 32px 24px;
}

.service-name {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 8px;
}

.service-desc {
	font-size: 14px;
	color: #555;
	line-height: 1.65;
}

/* ─── Work ──────────────────────────────────────────────────── */
.work-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 24px;
}

.work-item-title {
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 8px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.work-item-desc {
	font-size: 14px;
	color: #555;
	line-height: 1.65;
}

/* ─── Contact ───────────────────────────────────────────────── */
.contact-text {
	font-size: 15px;
	line-height: 1.7;
	color: #444;
	max-width: 460px;
	margin-bottom: 20px;
}

.contact-links {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.contact-sep {
	color: #ccc;
	font-size: 14px;
}

.contact-link {
	font-size: 14px;
	color: #111;
	text-decoration: none;
	border-bottom: 1px solid #111;
	padding-bottom: 1px;
	transition: opacity 0.15s;
}

.contact-link:hover { opacity: 0.6; }

/* ─── Footer ────────────────────────────────────────────────── */
.site-footer {
	padding: 40px 0 48px;
}

.footer-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.footer-meta {
	font-size: 12px;
	color: #bbb;
	letter-spacing: 0.04em;
}

.footer-copy {
	font-size: 12px;
	color: #bbb;
	letter-spacing: 0.04em;
}

.footer-social {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: center;
}

.footer-social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: rgba(255,255,255,0.06);
	color: #aaa;
	text-decoration: none;
	transition: background 0.18s, color 0.18s;
}

.footer-social-link:hover {
	background: rgba(255,255,255,0.12);
	color: #fff;
}

/* ─── Pixel Art Sprites ─────────────────────────────────────── */
/*
 * CSS box-shadow pixel art. Each sprite is a 6px element (= one pixel unit).
 * box-shadow draws the remaining pixels: x=col*6px, y=row*6px.
 * margin-bottom creates visual space for the shadow pixels below the element.
 */

.footer-sprites {
	display: flex;
	gap: 28px;
	justify-content: center;
	align-items: flex-start;
	margin-bottom: 16px;
}

@keyframes px-float {
	0%, 100% { transform: translateY(0); }
	50%       { transform: translateY(-8px); }
}

.px-sprite {
	display: inline-block;
	width: 6px;
	height: 6px;
	background: transparent;
	margin-top: 10px;
	margin-bottom: 36px; /* room for box-shadow pixels that extend below */
	animation: px-float 1.6s ease-in-out infinite;
	image-rendering: pixelated;
}

/* Bot — orange robot face (5 cols × 6 rows)
 * .###.
 * #####
 * #.#.#   eyes = spaces at col 1 & 3
 * #####
 * .###.
 * #...#   legs
 */
.px-bot {
	animation-delay: 0s;
	box-shadow:
		6px  0   0 0 #FF8C00,  12px  0   0 0 #FF8C00,  18px  0   0 0 #FF8C00,
		0    6px  0 0 #FF8C00,  6px  6px  0 0 #FF8C00,  12px  6px  0 0 #FF8C00,  18px  6px  0 0 #FF8C00,  24px  6px  0 0 #FF8C00,
		0    12px 0 0 #FF8C00,                          12px  12px 0 0 #FF8C00,                           24px  12px 0 0 #FF8C00,
		0    18px 0 0 #FF8C00,  6px  18px 0 0 #FF8C00,  12px  18px 0 0 #FF8C00,  18px  18px 0 0 #FF8C00,  24px  18px 0 0 #FF8C00,
		6px  24px 0 0 #FF8C00,  12px 24px 0 0 #FF8C00,  18px  24px 0 0 #FF8C00,
		0    30px 0 0 #FF8C00,                                                                             24px  30px 0 0 #FF8C00;
}

/* Chart — green growth staircase (5 cols × 5 rows)
 * ....#
 * ...##
 * ..###
 * .####
 * #####
 */
.px-chart {
	animation-delay: 0.3s;
	box-shadow:
		                                                                          24px  0   0 0 #16A34A,
		                                                 18px  6px  0 0 #16A34A,  24px  6px  0 0 #16A34A,
		                          12px  12px 0 0 #16A34A, 18px  12px 0 0 #16A34A,  24px  12px 0 0 #16A34A,
		6px  18px 0 0 #16A34A,    12px  18px 0 0 #16A34A, 18px  18px 0 0 #16A34A,  24px  18px 0 0 #16A34A,
		0    24px 0 0 #16A34A,    6px  24px  0 0 #16A34A, 12px  24px 0 0 #16A34A,  18px  24px 0 0 #16A34A,  24px 24px 0 0 #16A34A;
}

/* Target — red bullseye (5 cols × 5 rows)
 * .###.
 * #...#
 * #.#.#   centre dot
 * #...#
 * .###.
 */
.px-target {
	animation-delay: 0.6s;
	box-shadow:
		6px  0   0 0 #DC2626,  12px  0   0 0 #DC2626,  18px  0   0 0 #DC2626,
		0    6px  0 0 #DC2626,                                                    24px  6px  0 0 #DC2626,
		0    12px 0 0 #DC2626,                          12px  12px 0 0 #DC2626,   24px  12px 0 0 #DC2626,
		0    18px 0 0 #DC2626,                                                    24px  18px 0 0 #DC2626,
		6px  24px 0 0 #DC2626,  12px 24px 0 0 #DC2626,  18px  24px 0 0 #DC2626;
}

/* Rocket — purple (5 cols × 6 rows)
 * ..#..   nose
 * .###.
 * #####   body
 * .###.
 * ..#..   base
 * #...#   fins
 */
.px-rocket {
	animation-delay: 0.9s;
	box-shadow:
		                          12px  0   0 0 #7C3AED,
		6px  6px  0 0 #7C3AED,    12px  6px  0 0 #7C3AED,  18px  6px  0 0 #7C3AED,
		0    12px 0 0 #7C3AED,    6px   12px 0 0 #7C3AED,   12px  12px 0 0 #7C3AED,  18px  12px 0 0 #7C3AED,  24px 12px 0 0 #7C3AED,
		6px  18px 0 0 #7C3AED,    12px  18px 0 0 #7C3AED,  18px  18px 0 0 #7C3AED,
		                          12px  24px 0 0 #7C3AED,
		0    30px 0 0 #7C3AED,                                                                                 24px 30px 0 0 #7C3AED;
}

/* ─── Mobile Nav Toggle ─────────────────────────────────────── */
.nav-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
	flex-direction: column;
	gap: 5px;
	flex-shrink: 0;
}

.nav-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	background: #111;
	transition: transform 0.2s, opacity 0.2s;
}

/* ─── Notes Archive Page ────────────────────────────────────── */
.notes-page-header {
	padding: 60px 0 40px;
	border-bottom: 1px solid #e8e8e8;
}

.notes-page-title {
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
}

.notes-page-desc {
	font-size: 15px;
	color: #444;
	line-height: 1.7;
	max-width: 520px;
	margin-bottom: 20px;
}

.notes-subscribe-line {
	font-size: 14px;
	color: #777;
}

.notes-subscribe-link {
	color: #111;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.notes-list-section {
	padding: 48px 0 80px;
}

.notes-section-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #aaa;
	margin-bottom: 20px;
}

.notes-list { list-style: none; }

.notes-list li:first-child .notes-item {
	border-top: 1px solid #e8e8e8;
}

.notes-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 13px 0;
	border-bottom: 1px solid #e8e8e8;
	text-decoration: none;
	color: #111;
	gap: 20px;
}

.notes-item:hover .notes-item-title { color: #555; text-decoration: underline; text-underline-offset: 2px; }

.notes-item-title {
	font-size: 15px;
	font-weight: 500;
	transition: color 0.15s;
}

.notes-item-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.notes-cat {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 3px 7px;
	border-radius: 3px;
}

.notes-cat-seo        { background: #e8f4fd; color: #1565c0; }
.notes-cat-geo        { background: #f3e8fd; color: #6a1b9a; }
.notes-cat-aeo        { background: #fff3e8; color: #bf360c; }
.notes-cat-ppc        { background: #e8fdf0; color: #1b5e20; }
.notes-cat-meta-ads   { background: #fde8e8; color: #b71c1c; }
.notes-cat-google-ads { background: #e8eef8; color: #1a237e; }
.notes-cat-ai         { background: #f0f4e8; color: #33691e; }
.notes-cat-default    { background: #f2f2f2; color: #555; }

/* ─── Single Post ───────────────────────────────────────────── */
article.single-post {
	padding: 48px 0 80px;
}

.single-post-container {
	max-width: 680px;
}

.post-breadcrumb {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #aaa;
	margin-bottom: 32px;
	flex-wrap: wrap;
}

.post-breadcrumb a {
	color: #aaa;
	text-decoration: none;
	transition: color 0.15s;
}

.post-breadcrumb a:hover { color: #111; }

.breadcrumb-sep {
	color: #ccc;
	font-size: 14px;
}

.breadcrumb-current {
	color: #111;
	font-weight: 500;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 300px;
	white-space: nowrap;
}

.post-header-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 18px;
}

.post-date-label {
	font-size: 13px;
	color: #aaa;
}

.single-post-title {
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.2;
	margin-bottom: 40px;
}

.post-content {
	font-size: 16px;
	line-height: 1.8;
	color: #222;
}

.post-content h2 {
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin: 40px 0 14px;
	color: #111;
}

.post-content h3 {
	font-size: 17px;
	font-weight: 600;
	margin: 30px 0 10px;
	color: #111;
}

.post-content p { margin-bottom: 22px; }

.post-content ul,
.post-content ol {
	margin: 0 0 22px 24px;
}

.post-content li { margin-bottom: 10px; }

.post-content strong {
	font-weight: 600;
	color: #111;
}

.post-content a {
	color: #111;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: opacity 0.15s;
}

.post-content a:hover { opacity: 0.6; }

.post-footer {
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid #e8e8e8;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.post-back-link {
	font-size: 13px;
	font-weight: 500;
	color: #111;
	text-decoration: none;
	border-bottom: 1px solid #111;
	padding-bottom: 1px;
	transition: opacity 0.15s;
}

.post-back-link:hover { opacity: 0.6; }

.post-footer-nl {
	font-size: 13px;
	color: #777;
}

/* ─── Bolt counter (archive + home lists) ───────────────────── */
.notes-bolt {
	display: flex;
	align-items: center;
	gap: 3px;
	position: relative;
	flex-shrink: 0;
}

.bolt-icon {
	font-size: 13px;
	color: #f59e0b;
	line-height: 1;
}

.bolt-count {
	font-size: 13px;
	font-weight: 500;
	color: #888;
	min-width: 22px;
}

.bolt-tip {
	display: none;
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.03em;
	padding: 4px 10px;
	border-radius: 4px;
	white-space: nowrap;
	pointer-events: none;
	z-index: 10;
}

.notes-bolt:hover .bolt-tip { display: block; }

/* ─── Post TLDR ─────────────────────────────────────────────── */
.post-tldr {
	background: #f7f7f7;
	border-left: 3px solid #111;
	padding: 14px 18px;
	margin-bottom: 32px;
	font-size: 14px;
	line-height: 1.7;
	color: #444;
	border-radius: 0 4px 4px 0;
}

.post-tldr strong {
	color: #111;
	font-weight: 600;
}

/* ─── Post Reactions (sticky) ───────────────────────────────── */
.post-reactions {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(16px);
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2px;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 40px;
	padding: 8px 14px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.13);
	flex-wrap: nowrap;
	opacity: 0;
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
}

.post-reactions.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
	pointer-events: all;
}

.reaction-btn {
	display: flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px 10px;
	border-radius: 30px;
	transition: background 0.15s;
	font-family: inherit;
	-webkit-tap-highlight-color: transparent;
}

.reaction-btn:hover  { background: #f5f5f5; }
.reaction-btn.is-voted { background: #f0f0f0; }

.reaction-emoji { font-size: 18px; line-height: 1; }

.reaction-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #888;
	white-space: nowrap;
}

.reaction-count {
	font-size: 12px;
	font-weight: 500;
	color: #bbb;
	min-width: 10px;
}

@keyframes rx-float {
	0%   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
	100% { opacity: 0; transform: translateX(-50%) translateY(-36px) scale(1.05); }
}

.rx-popup {
	position: absolute;
	bottom: calc(100% + 6px);
	left: 50%;
	transform: translateX(-50%);
	background: #111;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 4px 10px;
	border-radius: 20px;
	pointer-events: none;
	white-space: nowrap;
	animation: rx-float 1.3s ease-out forwards;
	z-index: 300;
}

.rx-win-banner {
	position: fixed;
	top: 20px;
	left: 50%;
	transform: translateX(-50%);
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 8px 20px;
	border-radius: 30px;
	z-index: 400;
	opacity: 0;
	transition: opacity 0.3s;
	pointer-events: none;
}

.rx-win-banner.show { opacity: 1; }

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 800px) {
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.hero-photo-grid {
		min-height: 220px;
	}

	.hero-headline {
		font-size: 28px;
	}

	.section-inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.work-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.services-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 640px) {
	.reaction-label  { display: none; }
	.reaction-btn    { padding: 8px; }
	.reaction-emoji  { font-size: 20px; }
	.post-reactions  { bottom: 16px; padding: 6px 10px; }
	.nav-toggle { display: flex; }

	.site-header { position: relative; }

	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-top: 1px solid #e8e8e8;
		border-bottom: 1px solid #e8e8e8;
		z-index: 100;
		padding: 20px 24px;
	}

	.site-nav.is-open { display: block; }

	.site-nav ul.nav-links {
		flex-direction: column;
		gap: 18px;
	}

	.site-nav ul.nav-links a { font-size: 13px; }

	.notes-page-title { font-size: 26px; }

	.single-post-title { font-size: 24px; }

	.post-footer {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 480px) {
	.site-name { font-size: 12px; }

	.hero-headline { font-size: 26px; }

	.services-grid { grid-template-columns: 1fr; }

	.hero-photo-grid {
		grid-template-columns: 1fr 1fr;
		min-height: 180px;
	}

	.notes-item-title { font-size: 14px; }
}

/* ─── Contact Page ──────────────────────────────────────────── */
.contact-page {
	padding: 60px 0 80px;
}

.contact-page-header {
	padding-bottom: 40px;
	border-bottom: 1px solid #e8e8e8;
	margin-bottom: 56px;
	max-width: 560px;
}

.contact-page-title {
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
}

.contact-page-desc {
	font-size: 15px;
	color: #444;
	line-height: 1.7;
}

.contact-page-body {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 64px;
	align-items: start;
}

.contact-info-block {
	margin-bottom: 32px;
}

.contact-info-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #aaa;
	margin-bottom: 7px;
}

.contact-info-link {
	font-size: 14px;
	color: #111;
	text-decoration: none;
	border-bottom: 1px solid #111;
	padding-bottom: 1px;
	transition: opacity 0.15s;
	display: inline-block;
}

.contact-info-link:hover { opacity: 0.6; }

.contact-info-note {
	font-size: 14px;
	color: #555;
}

/* ─── Contact Form ──────────────────────────────────────────── */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cf-row-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.cf-field {
	display: flex;
	flex-direction: column;
	gap: 7px;
}

.cf-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #777;
}

.cf-input {
	padding: 11px 14px;
	font-family: inherit;
	font-size: 14px;
	color: #111;
	background: #fff;
	border: 1px solid #d5d5d5;
	border-radius: 5px;
	outline: none;
	transition: border-color 0.15s;
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
}

.cf-input:focus { border-color: #111; }

.cf-input::placeholder { color: #bbb; }

.cf-select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
	cursor: pointer;
}

.cf-textarea {
	resize: vertical;
	min-height: 130px;
	line-height: 1.6;
}

.cf-footer {
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.cf-submit {
	display: inline-flex;
	align-items: center;
	background: #111;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	padding: 11px 24px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	letter-spacing: 0.01em;
	transition: background 0.15s;
}

.cf-submit:hover    { background: #2a2a2a; }
.cf-submit:disabled { opacity: 0.55; cursor: not-allowed; }

.cf-error {
	font-size: 13px;
	color: #c0392b;
	min-height: 1em;
	flex: 1;
}

.cf-success {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 24px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

.cf-success[hidden] { display: none; }

.cf-success__icon {
	width: 44px;
	height: 44px;
	background: #111;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.cf-success__title {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: #111;
	margin: 0 0 4px;
}

.cf-success__text {
	font-size: 14px;
	color: #666;
	margin: 0;
	line-height: 1.6;
}

@media (max-width: 800px) {
	.contact-page-body {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

@media (max-width: 540px) {
	.cf-row-2          { grid-template-columns: 1fr; }
	.contact-page-title { font-size: 26px; }
}

/* ── Shortcode forms [uh_form] ────────────────────────────────────────────── */

.uh-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
	max-width: 600px;
}

.uh-form__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.uh-form__label {
	font-size: 13px;
	font-weight: 500;
	color: #111;
}

.uh-form__label span {
	color: #c0392b;
}

.uh-form__input {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid #d5d5d5;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	color: #111;
	background: #fff;
	box-sizing: border-box;
	transition: border-color .15s;
	-webkit-appearance: none;
}

.uh-form__input:focus {
	outline: none;
	border-color: #111;
}

textarea.uh-form__input {
	min-height: 120px;
	resize: vertical;
}

select.uh-form__input {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23555' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	padding-right: 36px;
}

.uh-form__radio-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.uh-form__radio-label,
.uh-form__check-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}

.uh-form__submit {
	align-self: flex-start;
	padding: 12px 28px;
	background: #111;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-size: 14px;
	font-family: inherit;
	font-weight: 500;
	cursor: pointer;
	transition: background .15s;
}

.uh-form__submit:hover  { background: #2a2a2a; }
.uh-form__submit:disabled { opacity: .55; cursor: default; }

.uh-form__error {
	color: #c0392b;
	font-size: 14px;
	margin: 0;
}

.uh-form__success {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 24px;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

.uh-form__success-icon {
	width: 44px;
	height: 44px;
	background: #111;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.uh-form__success-title {
	display: block;
	font-size: 16px;
	font-weight: 600;
	color: #111;
	margin: 0 0 4px;
}

.uh-form__success-body {
	font-size: 14px;
	color: #666;
	margin: 0;
	line-height: 1.6;
}
