/* ==========================================================================
   Rhine Bird — homepage
   Editorial studio system: cream ground, charcoal type, plum + lime accents,
   Instrument Sans for reading, Instrument Serif italic as the display voice.
   ========================================================================== */

:root {
	--bg: #f6f2ea;
	--bg-deep: #ede6d6;
	--ink: #221d1a;
	--ink-2: #5c554f;
	--ink-3: #857c73;
	--line: rgba(34, 29, 26, 0.14);
	--line-strong: rgba(34, 29, 26, 0.32);
	--plum: #3d1a4a;
	--plum-deep: #1c0f26;
	--lime: #aeec1d;
	--yellow: #ffd60a;
	--cream: #f6f2ea;
	--cream-2: rgba(246, 242, 234, 0.72);
	--cream-line: rgba(246, 242, 234, 0.18);

	--font-sans:
		"Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;
	--font-serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;

	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 24px;
	--r-xl: 36px;
	--r-pill: 999px;

	--container: 1240px;
	--gutter: clamp(20px, 5vw, 64px);
	--section: clamp(88px, 11vw, 160px);
	--header-h: 76px;

	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--shadow-card: 0 1px 2px rgba(34, 29, 26, 0.06), 0 12px 32px -12px rgba(34, 29, 26, 0.22);
	--shadow-float: 0 30px 60px -24px rgba(34, 29, 26, 0.45);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-padding-top: calc(var(--header-h) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

a {
	color: inherit;
	text-decoration-color: var(--line-strong);
	text-underline-offset: 0.18em;
	transition:
		color 0.2s var(--ease),
		text-decoration-color 0.2s var(--ease);
}

a:hover {
	text-decoration-color: currentColor;
}

button {
	font: inherit;
	color: inherit;
}

::selection {
	background: var(--lime);
	color: var(--ink);
}

:focus-visible {
	outline: 3px solid var(--plum);
	outline-offset: 3px;
	border-radius: var(--r-sm);
}

.serif {
	font-family: var(--font-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -0.01em;
}

.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: var(--cream);
	border-radius: var(--r-pill);
	font-weight: 600;
	text-decoration: none;
	transform: translateY(-200%);
}

.skip-link:focus-visible {
	transform: none;
	outline-color: var(--lime);
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 24px;
	border: 1.5px solid transparent;
	border-radius: var(--r-pill);
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: -0.005em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition:
		background-color 0.25s var(--ease),
		color 0.25s var(--ease),
		border-color 0.25s var(--ease),
		transform 0.25s var(--ease),
		box-shadow 0.25s var(--ease);
}

.btn:hover {
	transform: translateY(-1px);
}

.btn:active {
	transform: translateY(0);
}

.btn-icon {
	width: 16px;
	height: 16px;
	flex: none;
	transition: transform 0.25s var(--ease);
}

.btn:hover .btn-icon {
	transform: translate(2px, -2px);
}

.btn-primary {
	background: var(--ink);
	color: var(--cream);
}

.btn-primary:hover {
	background: var(--plum);
	box-shadow: 0 10px 24px -12px rgba(61, 26, 74, 0.6);
}

.btn-ghost {
	background: transparent;
	color: var(--ink);
	border-color: var(--line-strong);
}

.btn-ghost:hover {
	border-color: var(--ink);
	background: rgba(34, 29, 26, 0.04);
}

.btn-yellow {
	background: var(--yellow);
	color: #1a1500;
}

.btn-yellow:hover {
	background: #ffe14d;
	box-shadow: 0 12px 28px -12px rgba(255, 214, 10, 0.55);
}

.btn-cream {
	background: var(--cream);
	color: var(--plum-deep);
}

.btn-cream:hover {
	background: #fff;
	box-shadow: 0 12px 28px -12px rgba(246, 242, 234, 0.5);
}

.btn-small {
	min-height: 42px;
	padding: 0 18px;
	font-size: 0.9375rem;
}

.link-arrow {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	text-decoration: none;
	padding-block: 6px;
}

.link-arrow::after {
	content: "\2192";
	font-weight: 500;
	transition: transform 0.25s var(--ease);
}

.link-arrow::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1.5px;
	background: currentColor;
	transform: scaleX(0.35);
	transform-origin: left;
	opacity: 0.4;
	transition:
		transform 0.35s var(--ease),
		opacity 0.35s var(--ease);
}

.link-arrow:hover::before {
	transform: scaleX(1);
	opacity: 1;
}

.link-arrow:hover::after {
	transform: translateX(4px);
}

.link-on-dark {
	color: var(--cream);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(246, 242, 234, 0.82);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	border-radius: var(--r-sm);
}

.brand img {
	width: auto;
	height: 34px;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 36px;
}

.site-nav ul {
	display: flex;
	align-items: center;
	gap: 28px;
}

.site-nav ul a {
	position: relative;
	display: inline-block;
	padding-block: 6px;
	font-weight: 500;
	font-size: 0.9875rem;
	color: var(--ink-2);
	text-decoration: none;
}

.site-nav ul a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: var(--lime);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.3s var(--ease);
}

.site-nav ul a:hover {
	color: var(--ink);
}

.site-nav ul a:hover::after {
	transform: scaleX(1);
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 10px;
	min-height: 42px;
	padding: 0 14px 0 12px;
	background: transparent;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--r-pill);
	cursor: pointer;
}

.nav-toggle-bar {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
	transition: transform 0.3s var(--ease);
}

.nav-toggle-bar + .nav-toggle-bar {
	margin-top: -2px;
	transform: translateY(6px);
}

.nav-toggle-bar:first-child {
	transform: translateY(-2px);
}

.nav-toggle-label {
	font-weight: 600;
	font-size: 0.9375rem;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child {
	transform: translateY(1px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar + .nav-toggle-bar {
	transform: translateY(-1px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 104px);
	min-height: calc(100svh - var(--header-h));
	display: flex;
	align-items: center;
}

.hero-mark {
	position: absolute;
	right: -4vw;
	top: -4vw;
	width: clamp(360px, 44vw, 640px);
	aspect-ratio: 640 / 728;
	background: var(--plum);
	opacity: 0.05;
	-webkit-mask: url("assets/images/rhinebird-mark.png") center / contain no-repeat;
	mask: url("assets/images/rhinebird-mark.png") center / contain no-repeat;
	pointer-events: none;
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: clamp(32px, 6vw, 88px);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
	padding: 8px 14px 8px 10px;
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	background: rgba(255, 255, 255, 0.45);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--ink-2);
}

.eyebrow-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 3px rgba(174, 236, 29, 0.28);
}

h1 {
	font-size: clamp(2.75rem, 6.6vw, 6.25rem);
	line-height: 0.98;
	letter-spacing: -0.035em;
	font-weight: 700;
	text-wrap: balance;
	max-width: 12ch;
}

h1 .serif {
	display: inline-block;
	color: var(--plum);
	font-size: 1.06em;
	line-height: 0.9;
}

.lede {
	max-width: 54ch;
	margin-top: 28px;
	font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
	line-height: 1.55;
	color: var(--ink-2);
	text-wrap: pretty;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 36px;
}

.hero-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 0;
	margin-top: 44px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--ink-3);
}

.hero-facts li {
	display: inline-flex;
	align-items: center;
}

.hero-facts li + li::before {
	content: "";
	width: 4px;
	height: 4px;
	margin-inline: 14px;
	border-radius: 50%;
	background: var(--line-strong);
}

.hero-visual {
	position: relative;
}

.phone-fan {
	position: relative;
	aspect-ratio: 1 / 1.02;
	max-height: 640px;
	margin-inline: auto;
}

.phone {
	position: absolute;
	top: 0;
	width: 50%;
	filter: drop-shadow(0 24px 40px rgba(34, 29, 26, 0.28));
	transition: transform 0.6s var(--ease);
}

.phone-back {
	left: 3%;
	top: 8%;
	transform: rotate(-11deg);
	z-index: 1;
}

.phone-mid {
	right: 3%;
	top: 6%;
	transform: rotate(10deg);
	z-index: 2;
}

.phone-front {
	left: 50%;
	top: 0;
	transform: translateX(-50%) scale(1.06);
	z-index: 3;
	filter: drop-shadow(0 34px 50px rgba(34, 29, 26, 0.36));
}

.hero-visual:hover .phone-back {
	transform: rotate(-14deg) translate(-4%, 1%);
}

.hero-visual:hover .phone-mid {
	transform: rotate(13deg) translate(4%, 1%);
}

.sticker {
	position: absolute;
	left: clamp(-8px, -1vw, 0px);
	bottom: 8%;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 10px 18px 10px 10px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-card);
	text-decoration: none;
	transform: rotate(-3deg);
	transition:
		transform 0.3s var(--ease),
		box-shadow 0.3s var(--ease);
}

.sticker:hover {
	transform: rotate(-1deg) translateY(-2px);
	box-shadow: var(--shadow-float);
}

.sticker img {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: var(--ink);
	padding: 4px;
}

.sticker span {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.sticker strong {
	font-size: 0.9375rem;
	font-weight: 700;
}

.sticker small {
	font-size: 0.75rem;
	color: var(--ink-2);
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   Section scaffolding
   -------------------------------------------------------------------------- */

.section {
	padding-block: var(--section);
}

.section-head {
	display: flex;
	align-items: baseline;
	gap: 18px;
	padding-top: 22px;
	margin-bottom: clamp(40px, 5vw, 64px);
	border-top: 1.5px solid var(--ink);
}

.section-num {
	font-size: 2rem;
	line-height: 1;
	color: var(--plum);
}

.section-label {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-2);
}

.waves {
	width: 56px;
	height: 21px;
	margin-left: auto;
	color: var(--plum);
	align-self: center;
	opacity: 0.85;
}

.section-title {
	font-size: clamp(2.125rem, 4.6vw, 4rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	font-weight: 700;
	text-wrap: balance;
	max-width: 18ch;
}

.section-title .serif {
	color: var(--plum);
	font-size: 1.05em;
}

/* --------------------------------------------------------------------------
   Studio
   -------------------------------------------------------------------------- */

.studio-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.statement {
	grid-column: 1 / -1;
	font-size: clamp(2.125rem, 4.8vw, 4.25rem);
	line-height: 1.02;
	letter-spacing: -0.03em;
	font-weight: 700;
	text-wrap: balance;
	max-width: 20ch;
	margin-bottom: clamp(8px, 2vw, 24px);
}

.statement .serif {
	color: var(--plum);
	font-size: 1.05em;
}

.studio-body {
	display: grid;
	gap: 22px;
	max-width: 62ch;
	font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
	line-height: 1.6;
	color: var(--ink-2);
	text-wrap: pretty;
}

.studio-body p:first-child::first-letter {
	font-family: var(--font-serif);
	font-style: italic;
	font-size: 3.3em;
	line-height: 0.8;
	float: left;
	margin: 0.06em 0.12em 0 0;
	color: var(--plum);
}

.studio-aside {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	padding: 28px 28px 8px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-card);
}

.glance > div {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 16px;
	padding-block: 16px;
	border-bottom: 1px solid var(--line);
	font-size: 0.9375rem;
	line-height: 1.45;
}

.glance > div:last-child {
	border-bottom: 0;
	padding-bottom: 20px;
}

.glance dt {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink-3);
	padding-top: 3px;
}

.glance dd {
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   Apps
   -------------------------------------------------------------------------- */

.apps {
	padding-top: 0;
}

.apps .section-title {
	margin-bottom: clamp(36px, 4vw, 56px);
}

.app-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
	overflow: hidden;
	padding: clamp(32px, 5vw, 72px);
	border-radius: var(--r-xl);
	isolation: isolate;
}

.app-panel + .app-panel {
	margin-top: 24px;
}

.app-copy {
	position: relative;
	z-index: 2;
}

.app-meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 28px;
}

.app-icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	flex: none;
}

.app-icon-tonight {
	display: block;
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--cream-line);
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	padding: 0 14px;
	border-radius: var(--r-pill);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.pill-live {
	background: var(--lime);
	color: #17200a;
}

.pill-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #17200a;
}

.pill-soon {
	border: 1px solid rgba(246, 242, 234, 0.35);
	color: var(--cream);
}

.app-title {
	font-size: clamp(2.25rem, 4.2vw, 3.5rem);
	line-height: 1;
	letter-spacing: -0.03em;
	font-weight: 700;
}

.app-kicker {
	margin-top: 10px;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.7;
}

.app-lede {
	margin-top: 24px;
	max-width: 46ch;
	font-size: clamp(1.125rem, 1.6vw, 1.375rem);
	line-height: 1.45;
	text-wrap: pretty;
}

.app-lede .serif {
	font-size: 1.08em;
}

.feature-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 24px;
	margin-top: 28px;
	font-size: 0.9375rem;
	line-height: 1.4;
}

.feature-list li {
	position: relative;
	padding-left: 20px;
}

.feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dot, currentColor);
}

.app-privacy {
	margin-top: 26px;
	padding-top: 20px;
	border-top: 1px solid var(--cream-line);
	font-size: 0.9375rem;
	opacity: 0.8;
	max-width: 50ch;
}

.app-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 28px;
	margin-top: 30px;
}

.app-note {
	font-size: 0.8125rem;
	opacity: 0.65;
}

.app-visual {
	position: relative;
	z-index: 1;
	min-height: 320px;
}

/* Basket Case: the app's own near-black and yellow */
.app-basketcase {
	background: #141210;
	color: var(--cream);
	--dot: var(--yellow);
}

.app-basketcase::before {
	content: "";
	position: absolute;
	right: -10%;
	top: -20%;
	width: 70%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(255, 214, 10, 0.22), rgba(255, 214, 10, 0));
	pointer-events: none;
}

.app-basketcase :focus-visible,
.app-tonight :focus-visible {
	outline-color: var(--lime);
}

.app-visual-bc {
	align-self: stretch;
	min-height: 520px;
}

.app-visual-bc img {
	position: absolute;
	right: -14%;
	bottom: -26%;
	width: 108%;
	max-width: none;
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.5));
	transition: transform 0.7s var(--ease);
}

.app-basketcase:hover .app-visual-bc img {
	transform: translateY(-10px);
}

/* Tonight: dusk */
.app-tonight {
	background: linear-gradient(160deg, #2a1236 0%, var(--plum-deep) 60%, #170b1f 100%);
	color: var(--cream);
	--dot: #f2a14a;
}

.app-tonight .app-kicker {
	color: #f2a14a;
	opacity: 1;
}

.app-visual-tn {
	display: flex;
	justify-content: center;
}

.tonight-art {
	width: min(100%, 500px);
	height: auto;
	border-radius: 28px;
	box-shadow:
		0 0 0 1px rgba(246, 242, 234, 0.12),
		0 40px 80px -30px rgba(0, 0, 0, 0.7);
	transition: transform 0.7s var(--ease);
}

.app-tonight:hover .tonight-art {
	transform: translateY(-6px) rotate(-0.5deg);
}

/* --------------------------------------------------------------------------
   Principles
   -------------------------------------------------------------------------- */

.principles {
	background: var(--bg-deep);
}

.principles-head {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 32px 64px;
	align-items: end;
	margin-bottom: clamp(40px, 5vw, 64px);
}

.principles-intro {
	max-width: 40ch;
	padding-bottom: 0.5em;
	font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
	line-height: 1.55;
	color: var(--ink-2);
	text-wrap: pretty;
}

.principle-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px;
}

.principle {
	position: relative;
	padding-top: 24px;
	border-top: 1px solid var(--line-strong);
}

.principle-num {
	position: absolute;
	right: 0;
	top: 18px;
	font-size: 2.75rem;
	line-height: 1;
	color: var(--plum);
	opacity: 0.35;
}

.principle-icon {
	width: 32px;
	height: 32px;
	color: var(--plum);
	margin-bottom: 40px;
}

.principle h3 {
	font-size: 1.3125rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-weight: 700;
	text-wrap: balance;
}

.principle p {
	margin-top: 14px;
	font-size: 0.9875rem;
	line-height: 1.55;
	color: var(--ink-2);
	text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
	gap: clamp(40px, 6vw, 96px);
	align-items: start;
}

.contact-copy p {
	margin-top: 24px;
	max-width: 46ch;
	font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
	line-height: 1.6;
	color: var(--ink-2);
	text-wrap: pretty;
}

.contact-email {
	display: inline-block;
	margin-top: 36px;
	font-family: var(--font-serif);
	font-style: italic;
	font-size: clamp(1.75rem, 4.2vw, 3.5rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--plum);
	text-decoration: none;
	background-image: linear-gradient(var(--lime), var(--lime));
	background-repeat: no-repeat;
	background-size: 100% 0.28em;
	background-position: 0 92%;
	transition: background-size 0.35s var(--ease);
	overflow-wrap: anywhere;
}

.contact-email:hover {
	background-size: 100% 0.6em;
}

.contact-list {
	border-top: 1.5px solid var(--ink);
}

.contact-card {
	display: grid;
	grid-template-columns: 28px 1fr 16px;
	align-items: center;
	gap: 18px;
	padding: 22px 4px;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	transition:
		padding-left 0.3s var(--ease),
		background-color 0.3s var(--ease);
}

.contact-card:hover {
	padding-left: 12px;
}

.contact-icon {
	width: 28px;
	height: 28px;
	color: var(--plum);
}

.contact-card-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	line-height: 1.25;
}

.contact-card-body strong {
	font-size: 1.0625rem;
	font-weight: 700;
}

.contact-card-body small {
	font-size: 0.875rem;
	color: var(--ink-2);
}

.contact-arrow {
	width: 16px;
	height: 16px;
	color: var(--ink-3);
	transition:
		transform 0.3s var(--ease),
		color 0.3s var(--ease);
}

.contact-card:hover .contact-arrow {
	color: var(--plum);
	transform: translate(3px, -3px);
}

.contact-card:hover .contact-arrow:last-child {
	transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
	background: #1a1613;
	color: var(--cream);
	padding-block: clamp(56px, 7vw, 96px) 36px;
}

.site-footer :focus-visible {
	outline-color: var(--lime);
}

.footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid var(--cream-line);
}

.footer-brand img {
	width: auto;
	height: 36px;
}

.footer-tagline {
	margin-top: 24px;
	max-width: 30ch;
	font-size: 1.0625rem;
	line-height: 1.5;
	color: var(--cream-2);
}

.footer-tagline .serif {
	color: var(--cream);
	font-size: 1.1em;
}

.footer-social {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 28px;
	padding: 10px 16px 10px 12px;
	border: 1px solid var(--cream-line);
	border-radius: var(--r-pill);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
	transition:
		border-color 0.25s var(--ease),
		background-color 0.25s var(--ease);
}

.footer-social:hover {
	border-color: var(--lime);
	background: rgba(174, 236, 29, 0.08);
}

.footer-social svg {
	width: 20px;
	height: 20px;
}

.footer-col h2 {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(246, 242, 234, 0.5);
	margin-bottom: 18px;
}

.footer-col ul {
	display: grid;
	gap: 12px;
}

.footer-col a {
	color: var(--cream-2);
	text-decoration: none;
	font-size: 0.9875rem;
}

.footer-col a:hover {
	color: var(--cream);
	text-decoration: underline;
	text-decoration-color: var(--lime);
	text-decoration-thickness: 2px;
}

.footer-tag {
	display: inline-block;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: var(--r-pill);
	border: 1px solid var(--cream-line);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	vertical-align: 2px;
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 28px;
	font-size: 0.8125rem;
	color: rgba(246, 242, 234, 0.55);
}

/* --------------------------------------------------------------------------
   Motion (only when the visitor is fine with it)
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}

	.js .reveal {
		opacity: 0;
		transform: translateY(22px);
		transition:
			opacity 0.8s var(--ease),
			transform 0.8s var(--ease);
	}

	.js .reveal.is-visible {
		opacity: 1;
		transform: none;
	}

	.js .principle.reveal:nth-child(2) {
		transition-delay: 0.08s;
	}

	.js .principle.reveal:nth-child(3) {
		transition-delay: 0.16s;
	}

	.js .principle.reveal:nth-child(4) {
		transition-delay: 0.24s;
	}

	.phone-fan .phone {
		animation: phone-rise 1.1s var(--ease) both;
	}

	.phone-fan .phone-mid {
		animation-delay: 0.1s;
	}

	.phone-fan .phone-front {
		animation-delay: 0.05s;
	}

	.sticker {
		animation: sticker-in 0.9s var(--ease) 0.5s both;
	}

	.hero-copy > * {
		animation: fade-up 0.9s var(--ease) both;
	}

	.hero-copy > :nth-child(2) {
		animation-delay: 0.06s;
	}

	.hero-copy > :nth-child(3) {
		animation-delay: 0.12s;
	}

	.hero-copy > :nth-child(4) {
		animation-delay: 0.18s;
	}

	.hero-copy > :nth-child(5) {
		animation-delay: 0.24s;
	}
}

@keyframes phone-rise {
	from {
		opacity: 0;
		translate: 0 40px;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}

@keyframes sticker-in {
	from {
		opacity: 0;
		translate: 0 12px;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}

@keyframes fade-up {
	from {
		opacity: 0;
		translate: 0 16px;
	}
	to {
		opacity: 1;
		translate: 0 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation: none !important;
		transition: none !important;
	}
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
	.principle-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 40px 32px;
	}
}

@media (max-width: 960px) {
	.hero {
		min-height: 0;
		display: block;
	}

	.hero-grid {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	.hero-copy {
		max-width: 640px;
	}

	.phone-fan {
		max-width: 560px;
	}

	.hero-mark {
		left: auto;
		right: -18vw;
		bottom: auto;
		top: -8vw;
		width: clamp(300px, 50vw, 460px);
	}

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

	.studio-aside {
		position: static;
		max-width: 560px;
	}

	.app-panel {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.app-visual-bc {
		min-height: 0;
		height: clamp(360px, 70vw, 560px);
		margin-inline: calc(-1 * clamp(32px, 5vw, 72px));
		margin-bottom: calc(-1 * clamp(32px, 5vw, 72px));
	}

	.app-visual-bc img {
		top: -4%;
		bottom: auto;
		left: 50%;
		right: auto;
		width: min(78%, 480px);
		max-width: none;
		margin-left: min(-39%, -240px);
		filter: none;
	}

	.app-basketcase:hover .app-visual-bc img {
		transform: none;
	}

	.app-visual-tn {
		justify-content: flex-start;
	}

	.principles-head {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.principles-intro {
		padding-bottom: 0;
	}

	.contact-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.footer-top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 840px) {
	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px var(--gutter) 24px;
		background: var(--bg);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 40px -24px rgba(34, 29, 26, 0.3);
	}

	.nav-open .site-nav {
		display: flex;
	}

	.site-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav ul a {
		display: block;
		padding: 16px 0;
		font-size: 1.25rem;
		font-weight: 600;
		color: var(--ink);
		border-bottom: 1px solid var(--line);
	}

	.site-nav ul a::after {
		display: none;
	}

	.nav-cta {
		margin-top: 20px;
		justify-content: center;
		min-height: 50px;
	}
}

@media (max-width: 640px) {
	:root {
		--header-h: 66px;
	}

	body {
		font-size: 1rem;
	}

	.brand img {
		height: 28px;
	}

	.hero {
		padding-top: 40px;
	}

	h1 {
		max-width: none;
	}

	.hero-actions .btn {
		flex: 1 1 auto;
		justify-content: center;
	}

	.hero-facts {
		flex-direction: column;
		gap: 10px;
	}

	.hero-facts li::before,
	.hero-facts li + li::before {
		content: "";
		width: 6px;
		height: 6px;
		margin: 0 12px 0 0;
		border-radius: 50%;
		background: var(--lime);
		box-shadow: 0 0 0 2px rgba(174, 236, 29, 0.3);
	}

	.phone-fan {
		aspect-ratio: 1 / 1.12;
	}

	.phone {
		width: 54%;
	}

	.sticker {
		left: 0;
		bottom: 0;
	}

	.section-head {
		gap: 14px;
	}

	.section-num {
		font-size: 1.75rem;
	}

	.studio-body p:first-child::first-letter {
		font-size: 3em;
	}

	.studio-aside {
		padding: 20px 20px 4px;
	}

	.glance > div {
		grid-template-columns: 1fr;
		gap: 4px;
	}

	.app-panel {
		border-radius: var(--r-lg);
	}

	.feature-list {
		grid-template-columns: 1fr;
	}

	.app-actions .btn {
		width: 100%;
		justify-content: center;
	}

	.app-visual-bc {
		height: clamp(300px, 85vw, 440px);
	}

	.app-visual-bc img {
		top: -6%;
		width: 92%;
		margin-left: -44%;
	}

	.principle-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.principle-icon {
		margin-bottom: 24px;
	}

	.contact-card {
		grid-template-columns: 24px 1fr 16px;
		gap: 14px;
	}

	.footer-top {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.footer-bottom {
		flex-direction: column;
	}
}
