:root {
	--bg: #f8f5ef;
	--ink: #1a1f2a;
	--muted: #4b5a67;
	--panel: #fffefc;
	--line: #d9d0c4;
	--accent: #0d9488;
	--accent-2: #c2410c;
	--shadow: 0 12px 30px rgba(13, 23, 33, 0.12);
	--radius: 16px;
	--max-width: 1120px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Space Grotesk", "Segoe UI", sans-serif;
	color: var(--ink);
	background:
		radial-gradient(circle at 8% 12%, rgba(13, 148, 136, 0.14), transparent 30%),
		radial-gradient(circle at 90% 5%, rgba(194, 65, 12, 0.12), transparent 35%),
		radial-gradient(circle at 12% 88%, rgba(17, 94, 89, 0.09), transparent 30%),
		var(--bg);
	line-height: 1.65;
}

a {
	color: var(--accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.container {
	width: min(92vw, var(--max-width));
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(8px);
	background: rgba(248, 245, 239, 0.8);
	border-bottom: 1px solid rgba(26, 31, 42, 0.08);
}

.site-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.9rem 0;
	gap: 1rem;
}

.brand {
	font-family: "Fraunces", serif;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
	align-items: center;
  gap: 0.5rem;
}

.nav-links li + li {
	margin-top: 0;
}

.nav-links a {
  display: inline-block;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  transition: all 0.25s ease;
  background: rgba(255, 255, 255, 0.5);
}

.nav-links a:hover {
	border-color: var(--accent);
	color: var(--accent);
	transform: translateY(-1px);
}

.hero {
	padding: 5rem 0 2.2rem;
}

h1, h2, h3 {
	font-family: "Fraunces", serif;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

h1 {
	font-size: clamp(2rem, 4.7vw, 3.6rem);
	max-width: 15ch;
}

.hero-lead {
	margin-top: 1rem;
	max-width: 70ch;
	color: var(--muted);
	font-size: 1.05rem;
}

.hero-meta {
	margin-top: 1.4rem;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 0.8rem;
}

.hero-meta p + p {
	margin-top: 0;
}

.meta-chip {
	background: linear-gradient(120deg, rgba(13, 148, 136, 0.12), rgba(194, 65, 12, 0.1));
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 0.5rem 0.9rem;
	font-size: 0.9rem;
}

.quick-nav {
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

.quick-nav a {
	text-decoration: none;
	color: #fff;
	background: var(--ink);
	border-radius: 10px;
	padding: 0.45rem 0.75rem;
	font-size: 0.9rem;
	transition: transform 0.2s ease, background 0.25s ease;
}

.quick-nav a:hover {
	transform: translateY(-2px);
	background: var(--accent);
}

section {
	padding: 2.25rem 0;
	border-top: 1px dashed rgba(75, 90, 103, 0.25);
	animation: fadeInUp 0.65s ease both;
	animation-timeline: view();
	animation-range: entry 5% cover 28%;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.section-heading {
	margin-bottom: 0.8rem;
	font-size: clamp(1.4rem, 3vw, 2rem);
}

.section-kicker {
	font-size: 0.92rem;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--accent-2);
	margin-bottom: 0.35rem;
	font-weight: 700;
}

p + p {
	margin-top: 0.75rem;
}

.grid-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.1rem;
	margin-top: 1rem;
}

.overview-lead {
	font-size: 1.03rem;
	color: var(--muted);
	max-width: 76ch;
}

.overview-grid {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1rem;
}

.overview-card,
.overview-problem {
	background: linear-gradient(165deg, #fffefb, #f7f2e8);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1rem 1.05rem;
	box-shadow: var(--shadow);
}

.overview-card h3,
.overview-problem h3 {
	font-size: 1.12rem;
	margin-bottom: 0.45rem;
}

.overview-problem {
	margin-top: 1rem;
	background: linear-gradient(165deg, #fffaf3, #f8ebdb);
	border-left: 4px solid var(--accent-2);
}

.card {
	background: var(--panel);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1rem 1.05rem;
	box-shadow: var(--shadow);
}

.card h3 {
	font-size: 1.15rem;
	margin-bottom: 0.45rem;
}

ul {
	margin: 0.5rem 0 0 1.1rem;
}

li + li {
	margin-top: 0.3rem;
}

.figure-block {
	margin-top: 1rem;
	padding: 0.9rem;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: #fdfbf7;
}

.lowfi-figure {
	margin: 0;
}

.lowfi-figure img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	border: 1px solid rgba(26, 31, 42, 0.12);
}

.figure-block iframe {
	width: 100%;
	min-height: 420px;
	border: 1px solid rgba(26, 31, 42, 0.12);
	border-radius: 12px;
	background: #fff;
}

.figure-meta {
	margin-top: 0.7rem;
	display: flex;
	justify-content: space-between;
	gap: 0.8rem;
	flex-wrap: wrap;
	font-size: 0.92rem;
	color: var(--muted);
}

.findings-subsection {
	margin-top: 1.1rem;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(170deg, #fffdf9, #f6efe2);
}

.findings-subsection h3 {
	font-size: 1.15rem;
	margin-bottom: 0.35rem;
}

.findings-intro {
	color: var(--muted);
	font-size: 0.95rem;
	margin-bottom: 0.8rem;
}

ol.finding-cards {
	list-style: none;
	counter-reset: finding-card;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.8rem;
}

ol.finding-cards li + li {
	margin-top: 0;
}

.finding-card {
	counter-increment: finding-card;
	position: relative;
	padding: 0.85rem 0.9rem 0.85rem 2.9rem;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(26, 31, 42, 0.14);
	border-radius: 12px;
}

.finding-card::before {
	content: counter(finding-card);
	position: absolute;
	left: 0.8rem;
	top: 0.86rem;
	width: 1.5rem;
	height: 1.5rem;
	display: grid;
	place-items: center;
	font-size: 0.84rem;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, var(--accent), #0f766e);
	border-radius: 50%;
}

.finding-card h4 {
	font-family: "Fraunces", serif;
	font-size: 1.02rem;
	margin-bottom: 0.25rem;
}

.design-decision {
	margin-top: 0.55rem;
	padding: 0.5rem 0.6rem;
	border-radius: 8px;
	background: rgba(194, 65, 12, 0.18);
	border: 1px solid rgba(194, 65, 12, 0.35);
	color: #4e250f;
	font-weight: 500;
}

.persona-subsection {
	margin-top: 1.1rem;
	padding: 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: linear-gradient(170deg, #fffdf9, #f2ebe0);
}

.persona-subsection h3 {
	font-size: 1.15rem;
	margin-bottom: 0.8rem;
}

.persona-layout {
	display: grid;
	grid-template-columns: minmax(220px, 320px) 1fr;
	gap: 1rem;
	align-items: start;
}

.persona-figure {
	margin: 0;
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid rgba(26, 31, 42, 0.14);
	border-radius: 12px;
	padding: 0.65rem;
}

.persona-figure img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	border: 1px solid rgba(26, 31, 42, 0.14);
}

.persona-figure figcaption {
	margin-top: 0.5rem;
	font-size: 0.86rem;
	color: var(--muted);
}

.persona-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 0.7rem;
	margin-bottom: 0.7rem;
}

.persona-header h4 {
	font-family: "Fraunces", serif;
	font-size: 1.2rem;
}

.persona-age {
	font-weight: 700;
	font-size: 0.94rem;
	color: var(--accent-2);
}

.persona-grid {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	margin-top: 0.8rem;
}

.persona-card {
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(26, 31, 42, 0.14);
	border-radius: 12px;
	padding: 0.8rem;
}

.persona-card h5 {
	font-family: "Fraunces", serif;
	font-size: 1rem;
	margin-bottom: 0.35rem;
}

.persona-services {
	background: rgba(194, 65, 12, 0.12);
	border-color: rgba(194, 65, 12, 0.35);
	width: 100%;
}

.persona-services p + p {
	margin-top: 0.25rem;
}

.task-flow-grid {
	display: flex;
	flex-direction: column;
	gap: 1.2rem;
	margin-top: 1rem;
}

.stacked-cards {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	margin-top: 1rem;
}

.stacked-cards .card {
	margin: 0;
}

.task-flow-card {
	background: linear-gradient(160deg, #fffefb, #f8f3ea);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.1rem;
	box-shadow: var(--shadow);
}

.task-flow-card h3 {
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
}

.task-goal {
	margin-bottom: 0.8rem;
	padding: 0.65rem 0.75rem;
	border-radius: 10px;
	background: rgba(13, 148, 136, 0.11);
	border: 1px solid rgba(13, 148, 136, 0.25);
	font-size: 0.96rem;
}

.task-meta-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 0.8rem;
	margin: 0 0 0.85rem;
}

.task-meta-item {
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(26, 31, 42, 0.12);
	border-radius: 12px;
	padding: 0.75rem;
}

.task-meta-item h4 {
	font-family: "Fraunces", serif;
	font-size: 1rem;
	margin-bottom: 0.3rem;
}

.task-meta-item ul {
	margin-top: 0.35rem;
}

.task-quote-block {
	padding: 0.6rem 0.75rem;
	margin-bottom: 0.75rem;
	border-left: 4px solid var(--accent-2);
	border-radius: 10px;
	background: rgba(194, 65, 12, 0.12);
	color: #47230f;
}

.task-quote-block p {
	margin: 0;
}

.task-quote-block .task-quote-label {
	font-weight: 700;
	font-size: 0.9rem;
	color: #3f1f0c;
	margin-bottom: 0.35rem;
}

.task-quote-block p + p {
	margin-top: 0.35rem;
}

ol.task-steps {
	list-style: none;
	counter-reset: task-step;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

ol.task-steps li {
	counter-increment: task-step;
	position: relative;
	padding: 0.62rem 0.7rem 0.62rem 2.5rem;
	background: rgba(255, 255, 255, 0.75);
	border: 1px solid rgba(26, 31, 42, 0.12);
	border-radius: 12px;
	font-size: 0.95rem;
	line-height: 1.5;
}

ol.task-steps li::before {
	content: counter(task-step);
	position: absolute;
	left: 0.6rem;
	top: 0.52rem;
	width: 1.4rem;
	height: 1.4rem;
	display: grid;
	place-items: center;
	font-size: 0.82rem;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, var(--accent), #0f766e);
	border-radius: 50%;
}

.step-note {
	margin-top: 0.7rem;
	font-size: 0.9rem;
	color: var(--muted);
}

.timeline {
	margin-top: 1rem;
	border-left: 3px solid var(--accent);
	padding-left: 1rem;
}

.timeline-item + .timeline-item {
	margin-top: 1rem;
}

.quote {
	margin-top: 0.85rem;
	padding: 0.85rem;
	background: rgba(13, 148, 136, 0.1);
	border-left: 4px solid var(--accent);
	border-radius: 10px;
	font-size: 0.94rem;
}

.footer {
	padding: 2.4rem 0 3rem;
	color: var(--muted);
	font-size: 0.92rem;
}

.back-top {
	margin-top: 1rem;
	display: inline-block;
	font-size: 0.9rem;
}

@media (max-width: 700px) {
	.site-header .container {
		flex-direction: column;
		align-items: flex-start;
	}

	.figure-block iframe {
		min-height: 320px;
	}

	.task-meta-grid {
		grid-template-columns: 1fr;
	}

	.persona-layout {
		grid-template-columns: 1fr;
	}
}
