/* First Things First: ink on warm paper, one marigold accent (shared with Presente). */

:root {
	color-scheme: light;
	--paper: #f7f5f0;
	--paper-2: #efebe2;
	--card: #fffdf9;
	--ink: #14120f;
	--ink-2: #47433c;
	--ink-3: #6b665d;
	--line: rgba(20, 18, 15, 0.1);
	--line-2: rgba(20, 18, 15, 0.18);
	--gold: #f2a900;
	--gold-soft: rgba(242, 169, 0, 0.28);
	--night: #0b0e14;
	--night-2: #151a24;
	--night-text: #f3f1ec;
	--night-muted: #a9aebb;
	--shadow: 0 1px 2px rgba(20, 18, 15, 0.05), 0 18px 40px -22px rgba(20, 18, 15, 0.3);
	--font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI Variable Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Consolas, monospace;
	--ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 76px;
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img,
svg {
	display: block;
	max-width: 100%;
}
h1,
h2,
h3,
p,
ol,
ul {
	margin: 0;
}
ol,
ul {
	padding: 0;
	list-style: none;
}
a {
	color: inherit;
}
:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
	border-radius: 6px;
}
.mono {
	font-family: var(--mono);
	letter-spacing: 0;
}
.wrap {
	width: min(1160px, 100% - 48px);
	margin-inline: auto;
}
.narrow {
	width: min(760px, 100% - 48px);
}
.center {
	text-align: center;
}
.skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 50;
	background: var(--ink);
	color: #fff;
	padding: 10px 14px;
	border-radius: 10px;
	text-decoration: none;
}
.skip:focus {
	top: 12px;
}

/* buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	border: 1px solid transparent;
	font: 600 15px/1 var(--font);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active {
	transform: scale(0.98);
}
.btn-sm {
	min-height: 40px;
	padding: 0 16px;
	font-size: 14px;
}
.btn-lg {
	min-height: 52px;
	padding: 0 26px;
	font-size: 16px;
}
.btn-ink {
	background: var(--ink);
	color: #fff;
}
.btn-ink:hover {
	background: #2b2822;
}
.btn-line {
	border-color: var(--line-2);
	color: var(--ink);
	background: transparent;
}
.btn-line:hover {
	border-color: var(--ink);
	background: rgba(20, 18, 15, 0.03);
}
.btn-white {
	background: #fff;
	color: var(--night);
}
.btn-white:hover {
	background: #ece9e2;
}

/* type */
.eyebrow {
	font: 600 13px/1.4 var(--font);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-3);
}
.eyebrow.light {
	color: var(--night-muted);
}
h1,
h2 {
	font-family: var(--display);
	font-weight: 700;
	letter-spacing: -0.035em;
	text-wrap: balance;
}
h1 {
	font-size: clamp(2.6rem, 6.2vw, 5rem);
	line-height: 1.02;
}
h2 {
	font-size: clamp(2rem, 4.2vw, 3.2rem);
	line-height: 1.06;
}
h3 {
	font: 650 21px/1.3 var(--display);
	letter-spacing: -0.015em;
}
.hl {
	background: linear-gradient(transparent 62%, var(--gold-soft) 62%, var(--gold-soft) 92%, transparent 92%);
	padding-inline: 0.04em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.lead {
	font-size: clamp(17px, 1.6vw, 19px);
	color: var(--ink-2);
	max-width: 34em;
}
.sub {
	color: var(--ink-2);
	font-size: 18px;
	max-width: 36em;
}

/* header */
.top {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(247, 245, 240, 0.84);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
}
.topin {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font: 700 17px/1 var(--display);
	letter-spacing: -0.02em;
	min-height: 44px;
}
.brand .mark {
	width: 30px;
	height: 30px;
}
.nav {
	display: flex;
	align-items: center;
	gap: 6px;
}
.nav a:not(.btn) {
	padding: 10px 12px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink-2);
	text-decoration: none;
	transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.nav a:not(.btn):hover {
	color: var(--ink);
	background: rgba(20, 18, 15, 0.05);
}

/* hero */
.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 9vw, 120px) 0 clamp(64px, 9vw, 120px);
	background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
	background-size: 64px 64px;
	background-position: center top;
}
.hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(120% 80% at 30% 40%, transparent 30%, var(--paper) 78%);
	pointer-events: none;
}
.heroin {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 56px;
	align-items: center;
}
.herotext .eyebrow {
	margin-bottom: 22px;
}
.herotext .lead {
	margin-top: 26px;
}
.cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 36px;
}

/* the to-do sheet */
.listart {
	position: relative;
	width: min(420px, 100%);
	justify-self: center;
}
.sheet {
	position: relative;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 20px;
	padding: 22px 22px 14px;
	box-shadow: var(--shadow);
	transform: rotate(-1.6deg);
}
.sheet.back {
	position: absolute;
	inset: 10px -10px -12px 12px;
	background: var(--paper-2);
	transform: rotate(2.4deg);
	box-shadow: none;
}
.sheethead {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	padding-bottom: 14px;
	border-bottom: 1px dashed var(--line-2);
	font-size: 13px;
	color: var(--ink-3);
}
.sheethead .count b {
	color: var(--ink);
	font-weight: 600;
}
.todo li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 15px 2px;
	font: 550 17px/1.35 var(--display);
	letter-spacing: -0.01em;
	color: var(--ink);
	border-bottom: 1px solid var(--line);
}
.todo li:last-child {
	border-bottom: 0;
}
.todo .n {
	font-size: 12px;
	color: var(--ink-3);
	width: 1.6em;
}
.box {
	flex: none;
	width: 24px;
	height: 24px;
	border-radius: 7px;
	border: 1.5px solid var(--line-2);
	display: grid;
	place-items: center;
	background: var(--gold);
	border-color: var(--gold);
}
.box svg,
.chip svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: var(--ink);
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (prefers-reduced-motion: no-preference) {
	.box {
		animation: boxfill 0.35s var(--ease) both;
	}
	.box path {
		stroke-dasharray: 16;
		animation: tick 0.35s var(--ease) both;
	}
	.todo li:nth-child(1) .box,
	.todo li:nth-child(1) .box path {
		animation-delay: 0.5s;
	}
	.todo li:nth-child(2) .box,
	.todo li:nth-child(2) .box path {
		animation-delay: 1s;
	}
	.todo li:nth-child(3) .box,
	.todo li:nth-child(3) .box path {
		animation-delay: 1.5s;
	}
	.todo li:nth-child(4) .box,
	.todo li:nth-child(4) .box path {
		animation-delay: 2s;
	}
	.todo li:nth-child(1) .box path,
	.todo li:nth-child(2) .box path,
	.todo li:nth-child(3) .box path,
	.todo li:nth-child(4) .box path {
		animation-delay: calc(var(--d, 0s));
	}
	.todo li:nth-child(1) {
		--d: 0.62s;
	}
	.todo li:nth-child(2) {
		--d: 1.12s;
	}
	.todo li:nth-child(3) {
		--d: 1.62s;
	}
	.todo li:nth-child(4) {
		--d: 2.12s;
	}
	.sheet:not(.back) {
		animation: rise 0.7s var(--ease) both;
	}
	.herotext > * {
		animation: rise 0.7s var(--ease) both;
	}
	.herotext > :nth-child(2) {
		animation-delay: 0.06s;
	}
	.herotext > :nth-child(3) {
		animation-delay: 0.12s;
	}
	.herotext > :nth-child(4) {
		animation-delay: 0.18s;
	}
}
@keyframes boxfill {
	from {
		background: transparent;
		border-color: var(--line-2);
	}
}
@keyframes tick {
	from {
		stroke-dashoffset: 16;
	}
	to {
		stroke-dashoffset: 0;
	}
}
@keyframes rise {
	from {
		opacity: 0;
		translate: 0 14px;
	}
}

/* what we do */
.work {
	padding: clamp(72px, 10vw, 128px) 0;
	border-top: 1px solid var(--line);
}
.shead h2 {
	margin-top: 14px;
	max-width: 15em;
}
.shead .sub {
	margin-top: 18px;
}
.center .sub {
	margin-inline: auto;
}
.areas {
	display: grid;
	gap: 0 48px;
	margin-top: 56px;
}
.areas li {
	padding: 28px 0 34px;
	border-top: 1px solid var(--line-2);
}
.arow {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 26px;
}
.num {
	font-size: 13px;
	color: var(--ink-3);
}
.ico {
	width: 26px;
	height: 26px;
	fill: none;
	stroke: var(--ink);
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.areas p {
	margin-top: 10px;
	color: var(--ink-2);
	max-width: 30em;
}

/* presente */
.presente {
	position: relative;
	overflow: hidden;
	background: var(--night);
	color: var(--night-text);
	padding: clamp(72px, 10vw, 128px) 0;
}
.presente::before {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 70% at 88% 10%, rgba(143, 132, 255, 0.2), transparent 70%), radial-gradient(50% 60% at 5% 100%, rgba(46, 230, 201, 0.1), transparent 70%);
	pointer-events: none;
}
.pin {
	position: relative;
	display: grid;
	gap: 64px;
	align-items: center;
}
.plogo {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
	font: 700 26px/1 var(--display);
	letter-spacing: -0.03em;
}
.plogo img {
	border-radius: 11px;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.presente h2 {
	margin-top: 26px;
	max-width: 13em;
}
.plead {
	margin-top: 20px;
	color: var(--night-muted);
	font-size: 18px;
	max-width: 32em;
}
.feats {
	margin: 30px 0 38px;
	display: grid;
	gap: 12px;
}
.feats li {
	position: relative;
	padding-left: 30px;
	color: var(--night-text);
}
.feats li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.52em;
	width: 14px;
	height: 14px;
	border-radius: 4px;
	background: var(--gold);
}

/* the sample pass */
.passart {
	position: relative;
	width: min(340px, 100%);
	justify-self: center;
	padding-bottom: 28px;
}
.pass {
	background: #fff;
	color: var(--night);
	border-radius: 22px;
	overflow: hidden;
	box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
	transform: rotate(2deg);
}
.passtop {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 18px 20px;
	background: #f4f2ee;
}
.passtop img {
	border-radius: 7px;
}
.pk {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b665d;
}
.pe {
	font-weight: 650;
	font-size: 15px;
	line-height: 1.3;
}
.passmid {
	padding: 20px 20px 16px;
}
.pname {
	font: 700 24px/1.15 var(--display);
	letter-spacing: -0.02em;
}
.ptype {
	margin-top: 4px;
	color: #6b665d;
	font-size: 14px;
}
.cut {
	position: relative;
	height: 0;
	border-top: 2px dashed #e3dfd7;
	margin: 0 18px;
}
.cut::before,
.cut::after {
	content: '';
	position: absolute;
	top: -12px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--night);
}
.cut::before {
	left: -30px;
}
.cut::after {
	right: -30px;
}
.passqr {
	padding: 22px 20px 20px;
	display: grid;
	justify-items: center;
	gap: 10px;
}
.passqr svg {
	width: 168px;
	height: 168px;
}
.pno {
	font-size: 12px;
	color: #6b665d;
}
.chip {
	position: absolute;
	left: -14px;
	bottom: 0;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px 10px 10px;
	border-radius: 999px;
	background: var(--gold);
	color: var(--night);
	font-weight: 650;
	font-size: 14px;
	box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
}
.chip svg {
	width: 22px;
	height: 22px;
	padding: 3px;
	border-radius: 50%;
	background: var(--night);
	stroke: var(--gold);
}

/* contact */
.contact {
	padding: clamp(80px, 11vw, 140px) 0;
}
.contact h2 {
	margin-top: 14px;
}
.contact .sub {
	margin-top: 18px;
}
.mail {
	display: inline-block;
	margin-top: 34px;
	font: 700 clamp(1.4rem, 3.6vw, 2.4rem) / 1.2 var(--display);
	letter-spacing: -0.025em;
	text-decoration: none;
	overflow-wrap: anywhere;
	background: linear-gradient(transparent 70%, var(--gold-soft) 70%);
	padding: 4px 6px;
	transition: background-size 0.3s var(--ease);
}
.mail:hover {
	background: linear-gradient(transparent 0%, var(--gold-soft) 0%);
}

/* footer */
.foot {
	border-top: 1px solid var(--line);
	padding: 36px 0 calc(36px + env(safe-area-inset-bottom));
}
.footin {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
}
.foot nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}
.foot nav a {
	color: var(--ink-2);
	font-size: 15px;
	text-decoration: none;
	padding: 10px 0;
}
.foot nav a:hover {
	color: var(--ink);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.small {
	font-size: 14px;
	color: var(--ink-3);
}

/* layout */
@media (min-width: 760px) {
	.areas {
		grid-template-columns: 1fr 1fr;
	}
}
@media (min-width: 960px) {
	.heroin {
		grid-template-columns: 1.25fr 0.85fr;
		gap: 64px;
	}
	.pin {
		grid-template-columns: 1.1fr 0.9fr;
		gap: 80px;
	}
}
@media (max-width: 640px) {
	body {
		font-size: 16px;
	}
	.wrap,
	.narrow {
		width: calc(100% - 40px);
	}
	.hide-sm {
		display: none;
	}
	.brand {
		font-size: 16px;
	}
	.cta .btn {
		flex: 1 1 100%;
	}
	.sheet {
		padding: 18px 18px 10px;
	}
	.todo li {
		font-size: 16px;
		padding: 13px 2px;
	}
	.chip {
		left: 0;
	}
}
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.btn,
	.nav a,
	.mail {
		transition: none;
	}
}
.center .cta {
	justify-content: center;
}
