/* ===========================================================================
   Page compositions, one block per section. Ported from the approved C2
   boards: C2Home, C2Work, C2CaseStudy, C2Experience, C2About, C2Contact.
   =========================================================================== */

/* ===== Shared: page intro (Work, Experience, Contact, deep links) ======== */
.c2-intro { padding: 36px var(--c2-gutter) 72px; }
.c2-intro-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.c2-intro-copy { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.c2-intro-stickers { display: flex; gap: 14px; flex-wrap: wrap; }
.c2-intro-stickers .c2-sticker { font-size: 20px; }
.c2-intro.is-yellow { padding-top: 28px; padding-bottom: 0; }
.c2-intro.is-yellow .c2-intro-inner {
	position: relative; background: var(--c2-yellow); border-radius: 36px; padding: 64px 48px 150px;
	box-shadow: var(--c2-outline); align-items: flex-start; flex-direction: column; gap: 18px;
}
.c2-intro.is-yellow .c2-lede { color: var(--c2-ink); }
.c2-avail { margin: 6px 0 0; align-self: flex-start; font-weight: 800; background: var(--c2-ink); color: var(--c2-yellow); padding: 12px 18px; border-radius: 14px; }
.c2-intro-pin { position: absolute; right: 48px; top: 56px; }
@media (max-width: 900px) {
	.c2-intro.is-yellow .c2-intro-inner { padding: 40px 24px 130px; }
	.c2-intro-pin { position: static; }
}

/* ===== Home: hero ====================================================== */
.c2-hero { padding: 40px var(--c2-gutter) 100px; }
.c2-hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.c2-hero-copy { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.c2-hero-name { font-size: clamp(4rem, 9vw, 7.75rem); line-height: .88; margin-top: -4px; }
.c2-beats { margin: 26px 0 0; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.125rem); letter-spacing: -0.03em; display: flex; gap: 12px; flex-wrap: wrap; }
.c2-beat { padding: 2px 12px; border-radius: 10px; background-repeat: no-repeat; background-size: 0% 100%; animation: c2-mark .5s ease-out both; }
.c2-beat:nth-child(1) { background-image: linear-gradient(var(--c2-cream), var(--c2-cream)); animation-delay: .4s; }
.c2-beat:nth-child(2) { background-image: linear-gradient(var(--c2-lilac), var(--c2-lilac)); animation-delay: .8s; }
.c2-beat:nth-child(3) { background-image: linear-gradient(var(--c2-blush), var(--c2-blush)); animation-delay: 1.2s; }
@keyframes c2-mark { to { background-size: 100% 100%; } }
.c2-hero .c2-lede { margin-top: 18px; max-width: 560px; }
.c2-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.c2-portrait { position: relative; width: 100%; max-width: 480px; justify-self: end; aspect-ratio: 10 / 11; }
.c2-portrait-panel {
	position: absolute; inset: 0; border-radius: 32px; overflow: hidden;
	background-color: var(--c2-yellow); box-shadow: var(--c2-raised);
	background-image: radial-gradient(rgba(22, 22, 29, .16) 1.6px, transparent 1.8px); background-size: 22px 22px;
	transform: rotate(var(--panel-r, -2deg));
}
.c2-portrait-panel.is-mint { background-color: var(--c2-mint); }
.c2-me {
	position: absolute; left: 50%; bottom: 0; height: 94%; width: auto; max-width: none;
	transform: translateX(-50%) rotate(calc(var(--panel-r, -2deg) * -1));
	animation: c2-meup .9s cubic-bezier(.2, .7, .2, 1) .2s both;
}
@keyframes c2-meup { from { opacity: 0; translate: 0 48px; } to { opacity: 1; translate: 0 0; } }
.c2-pb { position: absolute; animation: c2-slapin .5s cubic-bezier(.3, 1.6, .5, 1) both; }
@keyframes c2-slapin { from { opacity: 0; scale: 1.6; } to { opacity: 1; scale: 1; } }
.c2-pb:nth-of-type(1) { top: 8%; left: -12%; animation-delay: 1s; }
.c2-pb:nth-of-type(2) { top: 30%; right: -12%; animation-delay: 1.15s; }
.c2-pb:nth-of-type(3) { bottom: 26%; left: -14%; animation-delay: 1.3s; }
.c2-pb:nth-of-type(4) { bottom: 8%; right: -8%; animation-delay: 1.45s; }
.c2-pb:nth-of-type(5) { top: -5%; right: 8%; animation-delay: 1.6s; }
.c2-pb:nth-of-type(6) { bottom: -6%; left: 6%; animation-delay: 1.75s; }
@media (max-width: 900px) {
	.c2-hero-grid { grid-template-columns: minmax(0, 1fr); }
	.c2-portrait { justify-self: center; max-width: 340px; margin: 24px 0 32px; }
	.c2-pb { font-size: 13px; padding: 8px 11px; }
	.c2-pb:nth-of-type(1), .c2-pb:nth-of-type(3) { left: -4%; }
	.c2-pb:nth-of-type(2), .c2-pb:nth-of-type(4) { right: -4%; }
}

/* ===== Home: planner and builder ======================================== */
.c2-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; position: relative; }
.c2-side { border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--c2-outline); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.c2-side h2 { margin: 0; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.02; letter-spacing: -0.035em; }
.c2-side p { margin: 0; color: var(--c2-muted); font-size: 17px; line-height: 1.55; }
.c2-side .c2-hand { font-size: 30px; }
.js-motion .c2-two:not([data-seen]) .c2-side:first-child { transform: translateX(-40px); }
.js-motion .c2-two:not([data-seen]) .c2-side:last-child { transform: translateX(40px); }
.c2-same {
	position: absolute; left: 50%; top: 50%; z-index: 2; font-size: 15px;
	transform: translate(-50%, -50%) rotate(-8deg); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) .7s;
	box-shadow: 0 0 0 var(--c2-line) var(--c2-ink), 0 5px 0 var(--c2-yellow);
}
.js-motion .c2-two:not([data-seen]) .c2-same { transform: translate(-50%, -50%) rotate(-30deg) scale(0); }
@media (max-width: 900px) { .c2-two { grid-template-columns: minmax(0, 1fr); gap: 56px; } }

/* ===== Polaroids (home, case study, about) ============================== */
.c2-polas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.c2-pola {
	position: relative; display: flex; flex-direction: column; gap: 10px;
	text-decoration: none; color: var(--c2-ink); border-radius: 18px; padding: 12px 12px 20px;
	box-shadow: var(--c2-raised); transform: rotate(var(--r, 0deg));
	transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
a.c2-pola:hover { transform: rotate(0deg) translateY(-6px); color: var(--c2-ink); }
.c2-pola img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; }
.c2-pola-title { margin: 0; font-weight: 800; font-size: 19px; line-height: 1.2; }
.c2-pola-line { margin: 0; color: var(--c2-muted); font-size: 14px; line-height: 1.45; }
.c2-pola-more { font-weight: 800; font-size: 14px; margin-top: auto; }
.c2-stamp {
	position: absolute; right: -12px; top: -16px; font-weight: 800; font-size: 20px;
	padding: 10px 14px; border-radius: 999px; box-shadow: var(--c2-outline);
	transform: rotate(var(--sr, 6deg)); white-space: nowrap;
}
.c2-shelf { background: var(--c2-paper); border-radius: 28px; padding: 32px; box-shadow: var(--c2-outline); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.c2-shelf-tags { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 12px; }
.c2-credit { margin: 0; font-size: 12px; color: var(--c2-muted); }
@media (max-width: 1000px) { .c2-polas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .c2-polas { grid-template-columns: minmax(0, 1fr); } }

/* ===== Scoreboard ======================================================= */
.c2-nums { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.c2-num-card { border-radius: 28px; background: var(--c2-ink); color: #fff; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.c2-num-card .c2-num { margin: 0; font-weight: 800; font-size: 56px; letter-spacing: -0.04em; line-height: 1.05; }
.c2-num-card p { margin: 0; font-size: 15px; line-height: 1.4; }
.c2-num-card .c2-src { font-size: 13px; color: #c4c4d2; }
.c2-num-card:nth-child(4n+1) .c2-num { color: var(--c2-yellow); }
.c2-num-card:nth-child(4n+2) .c2-num { color: var(--c2-mint); }
.c2-num-card:nth-child(4n+3) .c2-num { color: #b4bcff; }
.c2-num-card:nth-child(4n+4) .c2-num { color: #ff9a8b; }
@media (max-width: 1000px) { .c2-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .c2-nums { grid-template-columns: minmax(0, 1fr); } }

/* ===== The sticker trail (home path) =====================================
   site.js sets --p (0 to 1) as the trail scrolls through the viewport. */
.c2-trail { --p: 1; position: relative; display: grid; grid-template-columns: repeat(var(--stops, 7), minmax(0, 1fr)); gap: 12px; }
.c2-trail-track, .c2-trail-drawn {
	position: absolute; left: 4%; top: 46px; height: 4px;
	background-image: linear-gradient(90deg, var(--c2-ink) 50%, transparent 50%); background-size: 16px 4px;
}
.c2-trail-track { right: 4%; opacity: .18; }
.c2-trail-drawn { width: calc(var(--p) * 92%); }
.c2-stop { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; position: relative; transition: opacity .4s; }
.c2-stop-year { font-weight: 800; font-size: 14px; color: var(--c2-muted); }
.c2-stop-dot { width: 24px; height: 24px; border-radius: 50%; box-shadow: 0 0 0 4px var(--c2-ink); flex: none; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.c2-stop p { margin: 0; }
.c2-stop-title { font-weight: 800; font-size: 16px; }
.c2-stop-sub { font-size: 14px; color: var(--c2-muted); }
.c2-stop.is-off { opacity: .35; }
.c2-stop.is-off .c2-stop-dot { transform: scale(.5); }
@media (max-width: 900px) {
	.c2-trail { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-left: 36px; }
	.c2-trail-track, .c2-trail-drawn { left: 12px; top: 8px; width: 4px; background-image: linear-gradient(180deg, var(--c2-ink) 50%, transparent 50%); background-size: 4px 16px; }
	.c2-trail-track { right: auto; bottom: 8px; height: auto; }
	.c2-trail-drawn { height: calc(var(--p) * (100% - 16px)); }
	.c2-stop { flex-direction: row; text-align: left; align-items: center; }
}

/* ===== Sticker sheet (credentials) ====================================== */
.c2-sheet { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; }
.c2-cert { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--c2-raised); }
.c2-cert-name { margin: 0; font-weight: 800; font-size: 44px; letter-spacing: -0.04em; line-height: 1.02; }
.c2-cert-name.is-long { font-size: 24px; letter-spacing: -0.02em; }
.c2-cert p { margin: 0; }
.c2-cert-id { font-weight: 800; font-size: 14px; }
@media (max-width: 1000px) { .c2-sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .c2-sheet { grid-template-columns: minmax(0, 1fr); } }

/* ===== Call to action =================================================== */
.c2-cta {
	background: var(--c2-yellow); border-radius: 36px; padding: 72px 40px;
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px;
	box-shadow: 0 0 0 var(--c2-line) var(--c2-ink), 0 10px 0 var(--c2-ink);
}
.c2-cta h2 { margin: 0; font-weight: 800; font-size: clamp(2.5rem, 5vw, 4rem); line-height: .98; letter-spacing: -0.045em; max-width: 760px; }
.c2-cta.is-row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; text-align: left; padding: 56px 40px; }
.c2-cta.is-row h2 { font-size: clamp(2rem, 4vw, 2.75rem); max-width: 640px; }

/* ===== Work: the browser ================================================= */
.c2-browser { padding: 40px var(--c2-gutter) 100px; background: var(--c2-paper); border-top: var(--c2-line) solid var(--c2-ink); overflow-x: clip; }
.c2-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
.c2-fside { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 14px; z-index: 6; }
.c2-sbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.c2-fbtn {
	display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: 16px; border: 0;
	background: #fff; color: var(--c2-ink); font-family: inherit; font-weight: 800; font-size: 17px; cursor: pointer;
	box-shadow: 0 0 0 var(--c2-line) var(--c2-ink), 0 5px 0 var(--c2-ink); transition: transform .08s, box-shadow .08s, background-color .15s;
}
.c2-fbtn:active { transform: translateY(5px); box-shadow: var(--c2-outline); }
.c2-fbtn[aria-expanded="true"] { background: var(--c2-yellow); }
.c2-fbtn b { font-size: 13px; background: var(--c2-ink); color: var(--c2-yellow); border-radius: 999px; padding: 2px 8px; }
.c2-fbtn b[hidden] { display: none; }
.c2-chev { display: inline-block; transition: transform .2s; }
[aria-expanded="true"] .c2-chev { transform: rotate(180deg); }
.c2-cnt { margin: 0; font-weight: 800; font-size: 15px; color: var(--c2-muted); }
.c2-actives { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.c2-actives[hidden] { display: none; }
.c2-achip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 0;
	background: var(--c2-mint); color: var(--c2-ink); font-family: inherit; font-weight: 800; font-size: 14px; cursor: pointer;
	box-shadow: 0 0 0 2px var(--c2-ink); transform: rotate(-1.5deg);
}
.c2-achip:nth-child(2n) { transform: rotate(1.5deg); background: var(--c2-lilac); }
.c2-achip:hover { background: var(--c2-yellow); }
.c2-aclear { border: 0; background: none; font-family: inherit; font-weight: 800; font-size: 14px; color: var(--c2-note-blue); text-decoration: underline; cursor: pointer; min-height: 36px; padding: 0 4px; }
.c2-panel {
	display: flex; flex-direction: column; background: #fff; border-radius: 24px; box-shadow: var(--c2-raised);
	max-height: calc(100vh - 140px); overflow: auto;
}
.c2-panel[hidden] { display: none; }
.c2-grp { border-bottom: 2px dashed #d6d6de; }
.c2-ghead {
	display: flex; align-items: center; gap: 8px; width: 100%; min-height: 52px; padding: 6px 18px; border: 0; background: none;
	font-family: inherit; color: var(--c2-ink); cursor: pointer; text-align: left;
}
.c2-ghead .c2-hand { font-size: 26px; flex: 1; }
.c2-gsum { font-size: 13px; font-weight: 800; background: var(--c2-yellow); border-radius: 999px; padding: 2px 9px; }
.c2-gsum:empty { display: none; }
.c2-gbody { padding: 0 12px 14px; }
.c2-gbody[hidden] { display: none; }
.c2-opt {
	display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 8px; border: 0; border-radius: 12px; background: none;
	font-family: inherit; font-weight: 700; font-size: 15px; color: var(--c2-ink); cursor: pointer; text-align: left;
}
.c2-opt:hover { background: var(--c2-cream); }
.c2-opt .c2-box { width: 20px; height: 20px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--c2-ink); flex: none; display: grid; place-items: center; font-size: 13px; }
.c2-opt .c2-n { margin-left: auto; font-size: 12px; background: #f0f0ea; border-radius: 999px; padding: 2px 8px; }
.c2-opt[aria-pressed="true"] { background: var(--c2-yellow); }
.c2-opt[aria-pressed="true"] .c2-box { background: var(--c2-ink); color: var(--c2-yellow); }
.c2-opt[aria-pressed="true"] .c2-box::after { content: "✓"; }
.c2-opt.is-zero, .c2-tchip.is-zero { opacity: .4; }
.c2-tchips { display: flex; flex-wrap: wrap; gap: 8px; padding: 2px 6px; }
.c2-tchip { min-height: 36px; padding: 0 11px; border: 0; border-radius: 10px; background: #fff; font-family: inherit; font-weight: 700; font-size: 13px; color: var(--c2-ink); cursor: pointer; box-shadow: 0 0 0 2px var(--c2-ink); }
.c2-tchip:hover { background: var(--c2-cream); }
.c2-tchip[aria-pressed="true"] { background: var(--c2-mint); transform: rotate(-2deg); }
.c2-pfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; position: sticky; bottom: 0; background: #fff; border-top: var(--c2-line) solid var(--c2-ink); }
.c2-pfoot .c2-btn { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
/* Collapsed: a sticky bar across the top, filters drop down from it. */
.c2-layout.is-bar { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.c2-layout.is-bar .c2-fside { top: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 12px 0; }
.c2-layout.is-bar .c2-fside::before { content: ""; position: absolute; z-index: -1; left: calc(50% - 50vw); width: 100vw; top: 0; bottom: 0; background: var(--c2-paper); border-bottom: var(--c2-line) solid var(--c2-ink); }
.c2-layout.is-bar .c2-panel { position: absolute; left: 0; top: calc(100% + 8px); width: 340px; max-width: 100%; max-height: 70vh; animation: c2-panelin .22s cubic-bezier(.3, 1.4, .5, 1); }
.c2-layout:not(.is-bar) .c2-cnt { display: none; }
@keyframes c2-panelin { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .c2-layout.is-bar .c2-panel { right: 0; width: auto; } }

.c2-results { display: flex; flex-direction: column; gap: 32px; min-width: 0; }
.c2-results-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.c2-results-head > p { margin: 0; font-weight: 800; font-size: 20px; }
.c2-share { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; }
.c2-share .c2-hand { font-size: 24px; }
.c2-share-url { background: #fff; color: var(--c2-ink); padding: 7px 12px; border-radius: 10px; box-shadow: 0 0 0 2px var(--c2-ink); font-weight: 700; word-break: break-all; }
.c2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 24px; }
.c2-wcard { animation: c2-dropin .55s cubic-bezier(.3, 1.4, .5, 1) backwards; }
.c2-wcard[hidden] { display: none; }
@keyframes c2-dropin { from { opacity: 0; translate: 0 -24px; } to { opacity: 1; translate: 0 0; } }
.c2-cover {
	position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden;
	display: flex; align-items: flex-end; padding: 20px; box-shadow: inset 0 0 0 2px var(--c2-ink);
}
.c2-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; border-radius: 0; }
.c2-cover-tile { position: relative; font-weight: 800; font-size: 34px; letter-spacing: -0.035em; line-height: 1; }
.c2-flag { position: absolute; left: 14px; top: 14px; background: #fff; font-size: 13px; font-weight: 800; padding: 6px 10px; border-radius: 999px; box-shadow: 0 0 0 2px var(--c2-ink); transform: rotate(-3deg); }
.c2-wcard h3 { margin: 0; font-weight: 800; font-size: 21px; line-height: 1.2; letter-spacing: -0.01em; }
.c2-wcard-foot { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 4px; }
.c2-wcard-foot p { margin: 0; font-size: 13px; }
.c2-empty { flex-direction: column; align-items: center; gap: 14px; padding: 56px 24px; text-align: center; background: #fff; border-radius: 28px; box-shadow: var(--c2-outline); display: flex; }
.c2-empty[hidden] { display: none; }
@media (max-width: 1240px) { .c2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .c2-grid { grid-template-columns: minmax(0, 1fr); } }

/* ===== Case study ======================================================== */
.c2-case { padding: 24px var(--c2-gutter) 72px; }
.c2-case-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.c2-crumbs { margin: 0; font-size: 15px; font-weight: 600; color: var(--c2-muted); }
.c2-case-photo { position: relative; padding: 14px 14px 20px; border-radius: 22px; }
.c2-case-photo img { aspect-ratio: 4 / 3; border-radius: 12px; }
.c2-case-photo .c2-big-stamp { position: absolute; left: -28px; top: -24px; font-size: 46px; letter-spacing: -0.045em; padding: 12px 20px; border-radius: 999px; }
.c2-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.c2-facts > div { background: #fff; border-radius: 18px; padding: 18px 20px; box-shadow: var(--c2-outline); display: flex; flex-direction: column; gap: 6px; }
.c2-facts .c2-hand { font-size: 22px; color: var(--c2-note-brown); }
.c2-story-wrap { padding: 80px var(--c2-gutter) 40px; background: var(--c2-paper); border-top: var(--c2-line) solid var(--c2-ink); border-bottom: var(--c2-line) solid var(--c2-ink); }
.c2-story { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 72px; align-items: start; }
.c2-rail { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 10px; }
.c2-rail:empty { display: none; }
.c2-rail a, .c2-xrail a {
	display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px; border-radius: 12px; text-decoration: none;
	color: var(--c2-ink); font-weight: 800; background: #fff; box-shadow: 0 0 0 2px var(--c2-ink);
	transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background-color .2s;
}
.c2-rail a span { font-size: 13px; color: var(--c2-muted); }
.c2-rail a.is-on, .c2-xrail a.is-on { background: var(--c2-yellow); transform: rotate(-2deg) translateX(6px); box-shadow: 0 0 0 2px var(--c2-ink), 0 4px 0 var(--c2-ink); }
.c2-story .c2-prose h2 { scroll-margin-top: 24px; }
.c2-story .c2-prose h2:first-child { margin-top: 0; }
.c2-outs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.c2-outs .c2-num-card { border-radius: 24px; }
.c2-outs-note { margin: 16px 0 0; font-size: 15px; color: var(--c2-muted); }
.c2-next-wrap { padding: 80px var(--c2-gutter) 90px; }
.c2-next {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: center;
	text-decoration: none; color: var(--c2-ink); background: var(--c2-lilac); border-radius: 32px; padding: 28px;
	box-shadow: 0 0 0 var(--c2-line) var(--c2-ink), 0 10px 0 var(--c2-ink); transform: rotate(-0.8deg); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1);
}
.c2-next:hover { transform: rotate(0) translateY(-6px); color: var(--c2-ink); }
.c2-next h2 { margin: 0; font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -0.035em; }
.c2-next .c2-cover { aspect-ratio: 4 / 3; border-radius: 16px; box-shadow: var(--c2-outline); }
@media (max-width: 900px) {
	.c2-case-grid, .c2-story, .c2-next { grid-template-columns: minmax(0, 1fr); }
	.c2-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.c2-rail { position: static; flex-direction: row; overflow-x: auto; padding: 6px; }
	.c2-rail a { flex: 0 0 auto; }
	.c2-story { gap: 24px; }
	.c2-outs { grid-template-columns: minmax(0, 1fr); }
	.c2-case-photo .c2-big-stamp { left: -8px; font-size: 34px; }
}
@media (max-width: 520px) { .c2-facts { grid-template-columns: minmax(0, 1fr); } }

/* ===== Experience ======================================================== */
.c2-xgrid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 64px; align-items: start; padding-top: 20px; }
.c2-xrail { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 10px; }
.c2-xrail a { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 12px 16px; border-radius: 14px; }
.c2-xrail a b { font-size: 15px; }
.c2-xrail a span { font-size: 12px; color: var(--c2-muted); font-weight: 600; }
.c2-post { position: relative; border-radius: 32px; padding: 40px; margin-bottom: 40px; display: flex; flex-direction: column; gap: 18px; box-shadow: var(--c2-raised); scroll-margin-top: 24px; }
.c2-post h2 { margin: 0; font-weight: 800; font-size: clamp(2rem, 4vw, 2.75rem); letter-spacing: -0.04em; line-height: 1; }
.c2-post ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 17px; line-height: 1.55; }
.c2-post .c2-role { margin: 0; font-size: 19px; font-weight: 800; }
.c2-post .c2-hand { font-size: 28px; }
.c2-when { position: absolute; right: 28px; top: -18px; font-size: 14px; }
.c2-mrow { display: flex; flex-wrap: wrap; gap: 14px; }
.c2-mstk { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 18px; box-shadow: var(--c2-outline); max-width: 230px; }
.c2-mstk b { font-size: 34px; letter-spacing: -0.04em; line-height: 1; }
.c2-mstk span { font-size: 13px; line-height: 1.35; }
.c2-pending { font-size: 12px; padding: 5px 10px; margin-left: 8px; vertical-align: middle; box-shadow: 0 0 0 2px var(--c2-ink); }
.c2-dark { background: var(--c2-ink); color: #fff; border-radius: 32px; padding: 40px; margin-bottom: 40px; box-shadow: 0 8px 0 var(--c2-blue); }
.c2-dark .c2-post { box-shadow: none; background: transparent; padding: 28px 0; margin: 0; border-top: 2px dashed #3a3a48; border-radius: 0; }
.c2-dark ul { color: #d8d8e2; }
.c2-dark .c2-dates { font-weight: 700; color: var(--c2-yellow); }
.c2-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.c2-roles > div { border-radius: 14px; padding: 16px; background: #22222b; display: flex; flex-direction: column; gap: 4px; }
.c2-roles span { font-size: 13px; color: var(--c2-mint); }
.c2-post-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px; }
.c2-quiet2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.c2-quiet2 .c2-pola { padding: 28px; border-radius: 28px; gap: 8px; }
.c2-quiet2 .c2-pola b { font-size: 22px; }
@media (max-width: 900px) {
	.c2-xgrid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.c2-xrail { position: static; flex-direction: row; overflow-x: auto; padding: 8px; }
	.c2-xrail a { flex: 0 0 auto; }
	.c2-post { padding: 28px 22px; }
	.c2-roles, .c2-quiet2 { grid-template-columns: minmax(0, 1fr); }
	.c2-dark { padding: 28px 22px; }
	.c2-when { position: static; align-self: flex-start; }
}

/* ===== About ============================================================= */
.c2-trip { --p: 1; position: relative; padding-top: 8px; }
.c2-trip-track, .c2-trip-drawn { position: absolute; left: 12.5%; top: 30px; height: 4px; background-image: linear-gradient(90deg, var(--c2-ink) 50%, transparent 50%); background-size: 16px 4px; }
.c2-trip-track { right: 12.5%; opacity: .18; }
.c2-trip-drawn { width: calc(var(--p) * 75%); }
.c2-trip-me {
	position: absolute; top: 8px; left: calc(12.5% + var(--p) * 75%); width: 48px; height: 48px; margin-left: -24px; border-radius: 50%;
	background: var(--c2-yellow); box-shadow: 0 0 0 var(--c2-line) var(--c2-ink), 0 4px 0 var(--c2-ink);
	display: grid; place-items: center; font-weight: 800; font-size: 16px; z-index: 2;
}
.c2-trip-stops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.c2-trip-stop { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.c2-pin { width: 44px; height: 44px; border-radius: 50%; box-shadow: var(--c2-outline); display: grid; place-items: center; font-weight: 800; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.c2-trip-card { width: 100%; box-sizing: border-box; border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--c2-raised-sm); transform: rotate(var(--r, 0deg)); transition: opacity .4s, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.c2-trip-card h3 { margin: 0; font-weight: 800; font-size: 26px; letter-spacing: -0.025em; }
.c2-trip-card p { margin: 0; font-size: 15px; line-height: 1.55; color: #3d3d4d; }
.c2-trip-card .c2-when-sm { font-size: 13px; font-weight: 800; color: var(--c2-muted); }
.c2-trip-stop.is-off .c2-pin { transform: scale(.6); }
.c2-trip-stop.is-off .c2-trip-card { opacity: .4; transform: rotate(0deg) translateY(10px); }
.c2-edu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.c2-edu > div { border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--c2-raised); }
.c2-edu h3 { margin: 0; font-weight: 800; font-size: 28px; letter-spacing: -0.025em; line-height: 1.1; }
.c2-edu p { margin: 0; }
.c2-edu .c2-hand { font-size: 26px; }
.c2-edu .c2-tag { font-size: 12px; }
.c2-papers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.c2-paper {
	position: relative; background: #fff; border-radius: 6px 22px 22px 6px; padding: 26px 22px 22px 30px; display: flex; flex-direction: column; gap: 10px;
	box-shadow: var(--c2-raised); background-image: repeating-linear-gradient(#fff 0 27px, var(--c2-lilac) 27px 29px);
}
.c2-paper::before { content: ""; position: absolute; left: 14px; top: 0; bottom: 0; border-left: 2px solid var(--c2-coral); }
.c2-paper h3 { margin: 0; font-weight: 800; font-size: 18px; line-height: 1.25; letter-spacing: -0.01em; }
.c2-paper p { margin: 0; color: var(--c2-muted); font-size: 14px; line-height: 1.5; }
.c2-paper .c2-hand { font-size: 24px; }
.c2-placeholder { border: 3px dashed var(--c2-ink); border-radius: 32px; padding: 36px; display: flex; flex-direction: column; gap: 10px; }
.c2-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .c2-papers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
	.c2-trip { padding-top: 0; padding-left: 64px; }
	.c2-trip-track, .c2-trip-drawn { left: 22px; top: 22px; width: 4px; background-image: linear-gradient(180deg, var(--c2-ink) 50%, transparent 50%); background-size: 4px 16px; }
	.c2-trip-track { right: auto; bottom: 22px; height: auto; }
	.c2-trip-drawn { height: calc(var(--p) * (100% - 44px)); }
	.c2-trip-me { left: 24px; top: calc(var(--p) * (100% - 48px)); }
	.c2-trip-stops { grid-template-columns: minmax(0, 1fr); }
	.c2-trip-stop { flex-direction: row; align-items: flex-start; position: relative; }
	.c2-pin { position: absolute; left: -64px; }
	.c2-edu { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) { .c2-papers { grid-template-columns: minmax(0, 1fr); } }

/* ===== Contact =========================================================== */
.c2-contact { padding: 0 var(--c2-gutter) 90px; }
.c2-cgrid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; margin-top: -100px; position: relative; }
.c2-form { background: #fff; border-radius: 32px; padding: 40px; display: flex; flex-direction: column; gap: 22px; box-shadow: 0 0 0 var(--c2-line) var(--c2-ink), 0 10px 0 var(--c2-ink); }
.c2-form h2 { margin: 0; font-weight: 800; font-size: 34px; letter-spacing: -0.03em; }
.c2-field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.c2-field label, .c2-field legend { font-weight: 800; font-size: 15px; padding: 0; }
.c2-field input:not([type="radio"]), .c2-field textarea {
	font-family: inherit; font-size: 17px; padding: 14px 16px; border-radius: 14px; border: 0; box-shadow: var(--c2-outline);
	background: #fff; color: var(--c2-ink); min-height: 54px; box-sizing: border-box; width: 100%;
}
.c2-field textarea { min-height: 160px; resize: vertical; }
.c2-field input:not([type="radio"]):focus, .c2-field textarea:focus { box-shadow: 0 0 0 var(--c2-line) var(--c2-ink), 0 0 0 6px var(--c2-yellow); outline: none; }
.c2-field .is-invalid { box-shadow: 0 0 0 var(--c2-line) var(--c2-note-red), 0 0 0 6px var(--c2-blush); }
.c2-two-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.c2-topics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.c2-topics label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 12px; box-shadow: 0 0 0 2px var(--c2-ink), 0 4px 0 var(--c2-ink); font-weight: 800; cursor: pointer; background: #fff; }
.c2-topics label:has(input:checked) { background: var(--c2-yellow); transform: rotate(-2deg); }
.c2-topics label:has(input:focus-visible) { outline: 3px solid var(--c2-blue); outline-offset: 3px; }
.c2-topics input { accent-color: var(--c2-ink); width: 18px; height: 18px; margin: 0; }
.c2-form-status { margin: 0; font-weight: 700; }
.c2-form-status.is-error { color: var(--c2-note-red); }
.c2-form-done { margin: 0; font-size: 19px; font-weight: 700; }
.c2-hp { position: absolute; left: -9999px; }
.c2-chans { display: flex; flex-direction: column; gap: 18px; padding-top: 120px; }
.c2-chan { display: flex; gap: 16px; align-items: center; padding: 20px; text-decoration: none; color: var(--c2-ink); border-radius: 22px; box-shadow: var(--c2-raised-sm); transform: rotate(var(--r, 0deg)); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
a.c2-chan:hover { transform: rotate(0) translateY(-4px); color: var(--c2-ink); }
.c2-chan-ic { width: 48px; height: 48px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 2px var(--c2-ink); display: grid; place-items: center; flex: 0 0 auto; }
.c2-chan span span { display: block; }
.c2-looking { background: var(--c2-ink); color: #fff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 6px 0 var(--c2-blue); }
.c2-looking p { margin: 0; font-size: 17px; line-height: 1.55; color: #e4e4ec; }
.c2-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.c2-steps > div { border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--c2-raised-sm); }
.c2-steps b.c2-step-n { font-size: 34px; }
@media (max-width: 900px) {
	.c2-cgrid, .c2-steps { grid-template-columns: minmax(0, 1fr); }
	.c2-chans { padding-top: 0; }
	.c2-form { padding: 28px 22px; }
}

/* ===== Section rhythm ==================================================== */
.c2-block { padding: 0 var(--c2-gutter) 110px; }
.c2-block > .c2-wrap { display: flex; flex-direction: column; gap: 40px; }
.c2-block.is-paper { background: var(--c2-paper); border-top: var(--c2-line) solid var(--c2-ink); border-bottom: var(--c2-line) solid var(--c2-ink); padding-top: 100px; padding-bottom: 100px; margin-bottom: 100px; }
.c2-polas .c2-cover { aspect-ratio: 1 / 1; }

.c2-pola:not([class*="bg-"]), .c2-pin:not([class*="bg-"]) { background: #fff; }
.c2-block > .c2-wrap.c2-xgrid { display: grid; }
.c2-cta .c2-avail { align-self: center; margin: 0; }
.c2-cta.is-row > div { display: flex; flex-direction: column; gap: 8px; }
.admin-bar .c2-fside, .admin-bar .c2-rail, .admin-bar .c2-xrail { top: 52px; }
.admin-bar .c2-layout.is-bar .c2-fside { top: 32px; }

/* Touch targets: everything you can tap is at least 44px tall (CLAUDE.md QA). */
a.c2-tag, .c2-achip, .c2-aclear, .c2-tchip { min-height: 44px; }
a.c2-tag { display: inline-flex; align-items: center; }

/* Plain section notes and labels (Oct 2026 copy pass: handwriting is kept for
   the two greetings only). */
.c2-head-note { margin: 0; font-size: 17px; line-height: 1.5; color: var(--c2-muted); max-width: 440px; }
a.c2-head-note { font-weight: 700; color: var(--c2-ink); text-decoration: underline; text-underline-offset: 3px; }
.c2-label { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c2-muted); }
.c2-dark .c2-label, .bg-ink .c2-label { color: var(--c2-yellow); }
.c2-beats.is-line { display: block; font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.3; max-width: 640px; }
.c2-beats.is-line .c2-beat { display: inline; padding: 2px 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.c2-ghead-label { flex: 1; font-weight: 800; font-size: 16px; }
.c2-cta h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.04; }
.c2-cta-sub { margin: 0; font-size: 20px; line-height: 1.5; max-width: 640px; }

/* ===== Navigation and wayfinding (Oct 2026 layout pass) ================== */
/* The header stays reachable while scrolling; it tightens once stuck. */
/* WordPress wraps the header part in its own div, so that wrapper is what sticks. */
.wp-block-template-part:has(> .c2-header) { position: sticky; top: var(--c2-bar-h, 0px); z-index: 30; }
.c2-header { background: #fff; transition: box-shadow .2s; }
.c2-header.is-stuck { box-shadow: 0 var(--c2-line) 0 var(--c2-ink); }
.c2-header.is-stuck .c2-header-row { padding: 12px 0; }
.c2-header-row { transition: padding .2s; }
/* Everything else that sticks sits under the header. */
.c2-fside, .c2-rail, .c2-xrail { top: calc(var(--c2-head-h, 0px) + 20px); }
.c2-layout.is-bar .c2-fside { top: var(--c2-head-h, 0px); }
.admin-bar .c2-fside, .admin-bar .c2-rail, .admin-bar .c2-xrail { top: calc(var(--c2-head-h, 0px) + 20px); }
.admin-bar .c2-layout.is-bar .c2-fside { top: var(--c2-head-h, 0px); }
[id] { scroll-margin-top: calc(var(--c2-head-h, 0px) + 16px); }

/* Back to top: a yellow sticker in the corner, shown once you've scrolled. */
.c2-totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 52px; height: 52px; border-radius: 16px;
	display: grid; place-items: center; background: var(--c2-yellow); color: var(--c2-ink); text-decoration: none;
	box-shadow: 0 0 0 var(--c2-line) var(--c2-ink), 0 5px 0 var(--c2-ink);
	opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .2s, transform .2s;
}
.c2-totop.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.c2-totop:hover { color: var(--c2-ink); transform: translateY(-2px); }
.c2-totop:active { transform: translateY(4px); box-shadow: var(--c2-outline); }

/* Work: sections, each with its own heading. */
.c2-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.c2-jump [hidden] { display: none; }
.c2-wgroup { display: flex; flex-direction: column; gap: 24px; padding-top: 16px; }
.c2-wgroup[hidden] { display: none; }
.c2-wgroup + .c2-wgroup { border-top: 2px dashed #c9c9d4; padding-top: 40px; margin-top: 8px; }
.c2-wgroup-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 24px; }
.c2-wgroup-head h2 { margin: 0; font-weight: 800; font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; }
.c2-wgroup-n { font-size: 14px; letter-spacing: 0; background: var(--c2-ink); color: var(--c2-yellow); border-radius: 999px; padding: 3px 10px; }
.c2-grid .c2-paper { text-decoration: none; color: var(--c2-ink); min-height: 280px; transform: rotate(var(--r, 0deg)); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.c2-grid .c2-paper:hover { transform: rotate(0) translateY(-6px); color: var(--c2-ink); }
.c2-grid .c2-paper h3 { font-size: 21px; }

/* Phones: the page at rest. Nothing pops, drops or slides in. */
@media (max-width: 900px) {
	.c2-pb, .c2-me, .c2-wcard, .c2-beat { animation: none !important; }
	.c2-beat { background-size: 100% 100% !important; }
	.c2-same { transition: none; }
	.c2-totop { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}
.c2-flatgrid[hidden], .c2-jump[hidden] { display: none; }
