/* ==========================================================================
   CGF Studio – main stylesheet
   ========================================================================== */

:root {
	--cgf-accent: #1f2bff;
	--ink: #0b0b10;
	--ink-2: #2b2b33;
	--muted: #5d5d68;
	--line: #e4e1de;
	--paper: #ffffff;
	--bg: #f5f3f1;
	--radius: 18px;
	--font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	color: var(--ink);
	background: var(--bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cgf-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #000; color: #fff; padding: 10px 16px; border-radius: 99px; }
.cgf-skip:focus { left: 16px; }
:focus-visible { outline: 2px solid var(--cgf-accent); outline-offset: 3px; }

.cgf-container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 24px; }
.cgf-eyebrow { margin: 0 0 14px; font-size: 12px; font-weight: 600; letter-spacing: .42em; text-transform: uppercase; color: var(--muted); }
.cgf-hl { font-style: italic; font-weight: 800; color: var(--cgf-accent); }

/* ---------- Buttons ---------- */
.cgf-btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 12px 24px; border-radius: 999px; border: 1.5px solid transparent;
	font-size: 14px; font-weight: 700; text-decoration: none; line-height: 1.1;
	cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s;
}
.cgf-btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.cgf-btn:hover { transform: translateY(-2px); }
.cgf-btn:hover svg { transform: translateX(3px); }
.cgf-btn--primary { background: var(--cgf-accent); color: #fff; box-shadow: 0 10px 24px -10px var(--cgf-accent); }
.cgf-btn--primary:hover { box-shadow: 0 14px 30px -10px var(--cgf-accent); }
.cgf-btn--ghost { background: rgba(255,255,255,.7); border-color: var(--ink); color: var(--ink); backdrop-filter: blur(6px); }
.cgf-btn--ghost:hover { background: var(--ink); color: #fff; }

/* ==========================================================================
   Header – floating pill
   ========================================================================== */
.cgf-header {
	position: fixed; z-index: 50; top: 18px; left: 50%; transform: translateX(-50%);
	width: max-content; max-width: calc(100vw - 24px);
}
/* Logged-in admin bar */
.admin-bar .cgf-header { top: 48px; }
@media (max-width: 782px) {
	.admin-bar .cgf-header { top: 58px; }
}
.cgf-nav {
	position: relative; display: flex; align-items: center; gap: 22px;
	height: 64px; padding: 0 14px 0 30px; border-radius: 999px;
	background: #050507; color: #fff;
	box-shadow: 0 18px 40px -18px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.06);
}
.cgf-logo, .cgf-nav .custom-logo-link {
	font-size: 36px; font-weight: 800; letter-spacing: -.06em; line-height: 1; color: #fff; text-decoration: none;
	display: inline-flex; align-items: center; margin-top: -4px;
}
.cgf-nav .custom-logo { max-height: 34px; width: auto; }
.cgf-nav__divider { width: 1px; height: 30px; background: rgba(255,255,255,.22); }
.cgf-nav__menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.cgf-nav__menu a {
	position: relative; display: block; padding: 10px 14px; font-size: 15px; font-weight: 600;
	text-decoration: none; color: rgba(255,255,255,.86); transition: color .2s;
}
.cgf-nav__menu a::after {
	content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
	background: var(--cgf-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.cgf-nav__menu a:hover { color: #fff; }
.cgf-nav__menu a:hover::after,
.cgf-nav__menu .current-menu-item > a::after,
.cgf-nav__menu .current_page_item > a::after { transform: scaleX(1); }
.cgf-nav__menu .current-menu-item > a, .cgf-nav__menu .current_page_item > a { color: #fff; }
.cgf-nav__toggle { display: none; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.cgf-page { padding: 140px 0 80px; min-height: 70vh; }
.cgf-page__head { margin-bottom: 40px; }
.cgf-page__title { margin: 0; font-size: clamp(40px, 6vw, 84px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.cgf-page__lede { max-width: 40em; margin: 20px 0 0; font-size: clamp(17px, 1.4vw, 21px); color: var(--ink-2); }
.cgf-page__hero { margin-block: 0 48px; }
.cgf-page__hero img { display: block; width: 100%; border-radius: var(--radius); }

.cgf-prose { font-size: 17px; }
.cgf-prose > * { max-width: 760px; }
.cgf-prose > .alignwide { max-width: 1132px; }
.cgf-prose > .alignfull { max-width: none; }
.cgf-prose h2 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; line-height: 1.15; margin: 1.8em 0 .5em; }
.cgf-prose h3 { font-size: 22px; margin: 1.6em 0 .4em; }
.cgf-prose img { border-radius: 12px; }
.cgf-prose a { color: var(--cgf-accent); }

.cgf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.cgf-card__link { display: block; text-decoration: none; }
.cgf-card__media { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #e6e2df; }
.cgf-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cgf-card__link:hover .cgf-card__media img { transform: scale(1.04); }
.cgf-card__body { display: grid; gap: 4px; padding: 16px 4px 0; }
.cgf-card__tag { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cgf-accent); }
.cgf-card__title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.cgf-card__meta { color: var(--muted); font-size: 14px; }

.cgf-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cgf-filters a { padding: 8px 16px; border-radius: 99px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600; background: #fff; }
.cgf-filters a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.cgf-case__meta { display: flex; flex-wrap: wrap; gap: 18px 48px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.cgf-case__meta dt { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cgf-case__meta dd { margin: 4px 0 0; font-weight: 600; }
.cgf-postnav { display: flex; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); }
.cgf-postnav a { text-decoration: none; font-weight: 700; }

/* Contact form */
.cgf-form { display: grid; gap: 16px; max-width: 680px; }
.cgf-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cgf-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.cgf-form input, .cgf-form textarea { width: 100%; padding: 14px 16px; border: 1px solid #d6d2ce; border-radius: 12px; background: #fff; font: inherit; font-weight: 400; }
.cgf-form input:focus, .cgf-form textarea:focus { outline: none; border-color: var(--cgf-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--cgf-accent) 20%, transparent); }
.cgf-form button { justify-self: start; border: 0; }
.cgf-form__notice { padding: 12px 16px; border-radius: 12px; }
.cgf-form__notice.is-ok { background: #e7f8ef; color: #0d6b3d; }
.cgf-form__notice.is-error { background: #fdecec; color: #9b1c1c; }
.cgf-hp { position: absolute !important; left: -9999px; }

/* ==========================================================================
   Inner pages v2 – gradient hero + rounded sheet
   ========================================================================== */
body.cgf-inner { background: var(--cream); }
:root { --cream: #fcfbf9; --peach: #dfe4ff; --tint-mid: #eef0fd; --mist: #f3f4f7; --soft: #f1efec; --muted-2: #8e8c95; }

.cgf-hero2 {
	position: relative; padding: 150px 0 118px; text-align: center; overflow: hidden;
	background: linear-gradient(180deg, var(--mist) 0%, var(--tint-mid) 52%, var(--peach) 100%);
}
.cgf-hero2::after {
	content: ""; position: absolute; left: 50%; bottom: -40%; width: 120%; height: 80%; transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(150,162,255,.42), rgba(150,162,255,0)); pointer-events: none;
}
.cgf-hero2__inner { position: relative; z-index: 1; }
.cgf-hero2--small { padding-bottom: 96px; }
.cgf-hero2__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 18px; background: #fff; box-shadow: 0 14px 30px -16px rgba(0,0,0,.35); overflow: hidden; }
.cgf-hero2__icon img { width: 100%; height: 100%; object-fit: cover; }
.cgf-hero2__eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--muted-2); }
.cgf-hero2__title { max-width: 15em; margin: 0 auto; font-size: clamp(38px, 6.2vw, 82px); font-weight: 600; letter-spacing: -.048em; line-height: 1.02; color: var(--ink); text-wrap: balance; }
.cgf-hero2--small .cgf-hero2__title { max-width: 18em; font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -.04em; line-height: 1.08; }
.cgf-hero2__sub { max-width: 34em; margin: 18px auto 0; font-size: clamp(16px, 1.35vw, 19px); color: #6b6a72; text-wrap: balance; }
.cgf-hero2__actions { margin: 28px 0 0; }

.cgf-sheet { position: relative; z-index: 2; margin-top: -48px; padding: 64px 0 24px; border-radius: 44px 44px 0 0; background: var(--cream); }
.cgf-sheet::before { content: ""; position: absolute; top: 16px; left: 50%; width: 44px; height: 4px; margin-left: -22px; border-radius: 4px; background: #dedad5; }

.cgf-section { padding-top: clamp(64px, 8vw, 110px); }
.cgf-section--first { padding-top: 10px; }
.cgf-section--tight { padding-bottom: 36px; }
.cgf-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.cgf-h2 { margin: 0 0 28px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.cgf-label { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--case-accent, var(--cgf-accent)); }
.cgf-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; }
.cgf-link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.cgf-link:hover svg { transform: translateX(3px); }
.cgf-prose--lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-2); }
.cgf-prose--lead > :first-child { margin-top: 0; }
.cgf-prose--page { padding-top: 10px; padding-bottom: 40px; }
.cgf-prose--page > * { margin-inline: auto; }

/* Buttons v2 */
.cgf-btn--dark { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -14px rgba(0,0,0,.6); }
.cgf-btn--dark:hover { background: #24242c; }
.cgf-btn--light { background: #fff; color: var(--ink); }
.cgf-btn--soft { background: var(--soft); color: var(--ink); }
.cgf-btn--soft:hover { background: #e7e4e0; }
.cgf-btn--sm { padding: 9px 16px; font-size: 13px; }
.cgf-btn--block { width: 100%; justify-content: center; padding-block: 16px; }
.cgf-btn__cal { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -10px; border-radius: 50%; background: var(--cgf-accent); }
.cgf-btn__cal svg { width: 15px; height: 15px; }
.cgf-btn:hover .cgf-btn__cal svg { transform: none; }
.cgf-btn.is-busy { opacity: .7; pointer-events: none; }
.cgf-btn.is-busy::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: cgf-spin .7s linear infinite; }
@keyframes cgf-spin { to { transform: rotate(360deg); } }
.cgf-linkbtn { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }

/* Header CTA */
.cgf-nav__cta { flex: none; padding: 11px 20px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .25s, color .25s, transform .25s var(--ease); }
.cgf-nav__cta:hover, .cgf-nav__cta.is-current { background: var(--cgf-accent); color: #fff; }
.cgf-nav__cta:hover { transform: translateY(-1px); }
.cgf-header.is-scrolled .cgf-nav { box-shadow: 0 18px 40px -16px rgba(0,0,0,.6), inset 0 0 0 1px rgba(255,255,255,.06); }

/* Reveal */
.cgf-js-reveal .cgf-reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.cgf-js-reveal .cgf-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Work filter (sliding pill) ---------- */
.cgf-filter { display: inline-flex; max-width: 100%; margin-top: 34px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.75); box-shadow: 0 10px 30px -18px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.04); backdrop-filter: blur(8px); }
.cgf-filter__track { position: relative; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; }
.cgf-filter__track::-webkit-scrollbar { display: none; }
.cgf-filter__track a { position: relative; z-index: 1; flex: none; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #6b6a72; text-decoration: none; white-space: nowrap; transition: color .3s; }
.cgf-filter__track a:hover { color: var(--ink); }
.cgf-filter__track a[aria-selected="true"] { color: #fff; }
.cgf-filter__thumb { position: absolute; z-index: 0; top: 0; bottom: 0; left: 0; width: 0; border-radius: 999px; background: var(--ink); box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); transition: transform .45s var(--ease), width .45s var(--ease); }
.cgf-filter:not(.is-ready) a[aria-selected="true"] { background: var(--ink); }

/* ---------- Work grid ---------- */
.cgf-wgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cgf-wgrid > [hidden], .cgf-projs > [hidden] { display: none; }
.cgf-wgrid__empty { padding: 40px 0; text-align: center; color: var(--muted); }
.cgf-wcard { position: relative; display: block; aspect-ratio: 4 / 4.55; border-radius: 26px; overflow: hidden; background: var(--tile, #efebe6); color: #fff; text-decoration: none; isolation: isolate; box-shadow: 0 1px 0 rgba(0,0,0,.04); transition: box-shadow .4s var(--ease); }
.cgf-wcard[hidden] { display: none; }
.cgf-wcard:hover { box-shadow: 0 30px 60px -34px rgba(0,0,0,.55); }
.cgf-wcard__media { position: absolute; inset: 0; }
.cgf-wcard__media img, .cgf-wcard__media video { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1s var(--ease); }
.cgf-wcard:hover .cgf-wcard__media img, .cgf-wcard:hover .cgf-wcard__media video { transform: scale(1.045); }
.cgf-wcard__empty { position: absolute; inset: 0; display: grid; place-items: center; padding: 30px; font-size: clamp(28px, 3vw, 44px); font-weight: 700; letter-spacing: -.04em; color: rgba(0,0,0,.18); text-align: center; }
.cgf-wcard__shade { position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,0)); pointer-events: none; }
.cgf-wcard__label { position: absolute; left: 20px; right: 70px; bottom: 20px; display: flex; align-items: center; gap: 12px; }
.cgf-wcard__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 10px; background: #fff; color: var(--ink); font-weight: 800; font-size: 16px; overflow: hidden; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.cgf-wcard__icon img { width: 100%; height: 100%; object-fit: cover; }
.cgf-wcard__name { font-size: 19px; font-weight: 600; letter-spacing: -.02em; text-shadow: 0 1px 12px rgba(0,0,0,.35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cgf-wcard__go { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); opacity: 0; transform: scale(.7) rotate(-20deg); transition: opacity .35s, transform .45s var(--ease); }
.cgf-wcard__go svg { width: 18px; height: 18px; }
.cgf-wcard:hover .cgf-wcard__go, .cgf-wcard:focus-visible .cgf-wcard__go { opacity: 1; transform: none; }

/* Industries / small tiles */
.cgf-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.cgf-tile { padding: 22px 24px 26px; border-radius: 20px; background: #f2f1ef; }
.cgf-tile__eyebrow { margin: 0 0 22px; font-size: 12.5px; color: var(--muted-2); }
.cgf-tile__title { margin: 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.cgf-tile__text { margin: 0; font-size: 14.5px; color: #6b6a72; line-height: 1.5; }

/* ---------- Book-a-call band ---------- */
.cgf-cta { position: relative; padding: clamp(36px, 6vw, 72px); border-radius: 34px; overflow: hidden; background: linear-gradient(180deg, var(--mist) 0%, var(--tint-mid) 60%, var(--peach) 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.03); }
.cgf-cta__status { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 6px 8px 6px 14px; border-radius: 999px; background: #fff; font-size: 13px; color: #55545c; box-shadow: 0 6px 16px -10px rgba(0,0,0,.25); }
.cgf-cta__status img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.cgf-cta__status.is-light { background: rgba(255,255,255,.1); color: rgba(255,255,255,.8); box-shadow: none; }
.cgf-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: cgf-ping 2s infinite; }
@keyframes cgf-ping { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); } 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.cgf-cta__title { margin: 0; font-size: clamp(38px, 5.4vw, 68px); font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.cgf-cta__text { margin: 18px 0 30px; font-size: clamp(16px, 1.4vw, 20px); color: #6b6a72; }

/* ---------- Case study ---------- */
.cgf-shot { position: relative; display: block; padding: 12px; border-radius: 22px; background: var(--tile, #efebe6); overflow: hidden; }
.cgf-shot img, .cgf-shot video { display: block; width: 100%; height: auto; max-width: none; border-radius: 12px; box-shadow: 0 30px 60px -34px rgba(0,0,0,.45); }
.cgf-shot--hero { width: 100%; margin-inline: auto; padding: clamp(10px, 1.4vw, 18px); border-radius: 26px; }
.cgf-case2__hero { display: flex; justify-content: center; margin: 0 auto; }

/* Hero: the full homepage scrolls inside a browser-sized window once it's on screen. */
.cgf-scroll { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 30px 60px -34px rgba(0,0,0,.45); }
.cgf-shot .cgf-scroll img { position: absolute; top: 0; left: 0; width: 100%; height: auto; border-radius: 0; box-shadow: none; transform: translate3d(0,0,0); will-change: transform; }

/* Project story blocks between the screenshots */
.cgf-story { padding-top: clamp(64px, 8vw, 110px); }
.cgf-story__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 30px; margin-bottom: 30px; }
.cgf-story__lead { margin: 0; font-size: clamp(22px, 2.3vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.25; color: var(--ink); }
.cgf-story__prose p { margin: 0 0 1em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--ink-2); }
.cgf-story__prose p:last-child { margin-bottom: 0; }
.cgf-goals { margin: 0; padding: 0; list-style: none; counter-reset: goal; border-bottom: 1px solid var(--line); }
.cgf-goals li { counter-increment: goal; display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px 30px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); }
.cgf-goals li::before { content: counter(goal, decimal-leading-zero); font-size: 13px; font-weight: 600; color: var(--case-accent, var(--cgf-accent)); }
.cgf-goals h3 { margin: 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.cgf-goals p { margin: 0; font-size: clamp(15px, 1.2vw, 17px); line-height: 1.55; color: var(--ink-2); }
.cgf-story--outcome .cgf-story__card { padding: clamp(28px, 4.5vw, 60px); border-radius: 30px; background: linear-gradient(180deg, var(--mist) 0%, var(--tint-mid) 100%); }
.cgf-story--outcome .cgf-story__lead { max-width: 30em; }
.cgf-case2__intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 90px); padding-top: clamp(56px, 7vw, 96px); align-items: start; }
.cgf-facts { margin: 0; padding: 6px 24px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cgf-facts div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid #eeebe7; font-size: 14.5px; }
.cgf-facts div:last-child { border-bottom: 0; }
.cgf-facts dt { color: var(--muted-2); }
.cgf-facts dd { margin: 0; font-weight: 600; text-align: right; }
.cgf-facts a { color: var(--case-accent, var(--cgf-accent)); text-decoration: none; }
.cgf-case2__section { padding-top: clamp(64px, 8vw, 110px); }
.cgf-case2__caption { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 30px; margin-bottom: 26px; }
.cgf-case2__text { margin: 0; font-size: clamp(16px, 1.3vw, 19px); color: var(--ink-2); max-width: 34em; }
.cgf-shots { display: grid; gap: 20px; }
.cgf-shots--two, .cgf-shots--feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cgf-shots--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cgf-shots--feature > :first-child { grid-column: 1 / -1; }
.cgf-shots.is-bare .cgf-shot { padding: 0; background: none; }
.cgf-shots.is-bare .cgf-shot img, .cgf-shots.is-bare .cgf-shot video { border-radius: 22px; }

/* ---------- About ---------- */
.cgf-services { display: grid; gap: 22px; }
.cgf-services--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cgf-services--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cgf-service { display: block; padding: 10px; border-radius: 28px; background: #fff; color: inherit; text-decoration: none; box-shadow: inset 0 0 0 1px #eeebe7, 0 1px 2px rgba(0,0,0,.03); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
a.cgf-service:hover { box-shadow: inset 0 0 0 1px #e4e0db, 0 30px 50px -36px rgba(0,0,0,.4); }
.cgf-service__media { position: relative; display: block; aspect-ratio: 16 / 11; border-radius: 20px; overflow: hidden; background: #ecebe8; }
.cgf-service__media img, .cgf-service__media video { width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1s var(--ease); }
.cgf-service:hover .cgf-service__media img, .cgf-service:hover .cgf-service__media video { transform: scale(1.04); }
.cgf-service__placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(40px, 5vw, 72px); font-weight: 700; letter-spacing: -.05em; color: rgba(0,0,0,.12); background: linear-gradient(135deg, var(--mist), var(--peach)); }
.cgf-service__body { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; padding: 18px 14px 14px; }
.cgf-service__title { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.cgf-service__num { font-size: 12px; color: var(--muted-2); padding-top: 4px; }
.cgf-service__text { grid-column: 1 / -1; font-size: 14.5px; color: #6b6a72; line-height: 1.5; }

.cgf-awards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.cgf-award { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 9 / 10; padding: 22px; border-radius: 24px; overflow: hidden; background: #17171c; color: #fff; text-decoration: none; isolation: isolate; }
.cgf-award__bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: brightness(.55) saturate(.9); transition: transform 1.2s var(--ease); }
.cgf-award:hover .cgf-award__bg { transform: scale(1.05); }
.cgf-award__label { text-align: center; font-size: 13px; font-weight: 600; opacity: .9; }
.cgf-award__big { text-align: center; font-size: clamp(72px, 9vw, 130px); font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.cgf-award__foot { display: grid; gap: 2px; font-size: 13px; }
.cgf-award__foot strong { font-size: 15px; }
.cgf-award__foot span { opacity: .75; }

/* ---------- Contact ---------- */
.cgf-contact { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.cgf-contact__side { display: grid; gap: 22px; }
.cgf-panel { padding: clamp(24px, 3.4vw, 44px); border-radius: 30px; background: #fff; box-shadow: inset 0 0 0 1px #eeebe7, 0 30px 60px -50px rgba(0,0,0,.35); }
.cgf-panel--dark { background: var(--ink); color: #fff; box-shadow: 0 30px 60px -40px rgba(0,0,0,.6); }
.cgf-panel__title { margin: 0 0 8px; font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.cgf-panel__text { margin: 0 0 24px; color: #6b6a72; }
.cgf-panel--dark .cgf-panel__text { color: rgba(255,255,255,.7); }
.cgf-ticks { margin: 0 0 26px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.cgf-ticks li { display: flex; gap: 10px; align-items: center; }
.cgf-ticks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: rgba(34,197,94,.18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2322c55e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.cgf-details { margin: 0; display: grid; gap: 16px; }
.cgf-details dt { font-size: 12.5px; color: var(--muted-2); }
.cgf-details dd { margin: 2px 0 0; font-size: 17px; font-weight: 600; }
.cgf-details a { text-decoration: none; }
.cgf-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid #eeebe7; }
.cgf-socials a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--soft); font-size: 13.5px; font-weight: 600; text-decoration: none; transition: background .25s; }
.cgf-socials a:hover { background: #e7e4e0; }
.cgf-socials svg { width: 14px; height: 14px; }

/* Form v2 */
.cgf-form { max-width: none; }
.cgf-form label > span, .cgf-chips legend { font-size: 14px; font-weight: 600; }
.cgf-form b { color: #d4380d; font-weight: 600; }
.cgf-form input, .cgf-form textarea, .cgf-form select { width: 100%; padding: 14px 16px; border: 1px solid #e3e0dc; border-radius: 14px; background: #fbfaf8; font: inherit; font-weight: 400; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; }
.cgf-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.cgf-form input:focus, .cgf-form textarea:focus, .cgf-form select:focus { outline: none; background: #fff; border-color: var(--cgf-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cgf-accent) 14%, transparent); }
.cgf-form small { color: var(--muted-2); font-size: 12.5px; font-weight: 400; }
.cgf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.cgf-chips legend { width: 100%; margin-bottom: 10px; padding: 0; }
.cgf-chip { position: relative; display: inline-flex !important; cursor: pointer; }
.cgf-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cgf-chip span { padding: 9px 16px; border-radius: 999px; border: 1px solid #e3e0dc; background: #fbfaf8; font-size: 14px; font-weight: 500; transition: background .2s, color .2s, border-color .2s; }
.cgf-chip:hover span { border-color: #c9c5c0; }
.cgf-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.cgf-chip input:focus-visible + span { outline: 2px solid var(--cgf-accent); outline-offset: 2px; }
.cgf-err { display: block; min-height: 0; color: #c4320a; font-size: 12.5px; font-style: normal; font-weight: 500; }
.cgf-err:empty { display: none; }
.is-invalid input, .is-invalid textarea { border-color: #e5484d !important; }
.cgf-chips .cgf-err { width: 100%; }

/* ---------- Booking ---------- */
.cgf-bk { display: grid; grid-template-columns: minmax(260px, 310px) minmax(0, 1fr); max-width: 1060px; margin-inline: auto; min-height: 560px; border-radius: 32px; background: #fff; box-shadow: inset 0 0 0 1px #eeebe7, 0 40px 80px -60px rgba(0,0,0,.45); overflow: hidden; }
.cgf-bk--single { display: block; min-height: 0; max-width: 640px; margin: 0 auto; }
.cgf-bk--embed { display: block; min-height: 0; padding: 0; }
.cgf-bk--embed iframe { display: block; width: 100%; height: 760px; border: 0; }
.cgf-bk__info { padding: 36px 32px; border-right: 1px solid #eeebe7; }
.cgf-bk__host { display: flex; align-items: center; gap: 12px; color: var(--muted-2); font-weight: 600; font-size: 15px; }
.cgf-bk__host img, .cgf-bk__mono { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.cgf-bk__mono { display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 800; font-size: 20px; }
.cgf-bk__title { margin: 18px 0 18px; font-size: 28px; font-weight: 600; letter-spacing: -.035em; line-height: 1.1; }
.cgf-bk__meta { display: grid; gap: 14px; margin: 0 0 22px; padding: 0; list-style: none; color: #5d5c64; font-size: 15px; font-weight: 500; }
.cgf-bk__meta li { display: flex; gap: 10px; align-items: flex-start; }
.cgf-bk__meta svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--muted-2); }
.cgf-bk__meta .is-when { color: var(--ink); font-weight: 600; }
.cgf-bk__meta .is-when svg { color: #16a34a; }
.cgf-bk__desc { margin: 0; padding-top: 20px; border-top: 1px solid #eeebe7; font-size: 14.5px; color: #6b6a72; }
.cgf-bk__main { padding: 36px 40px 40px; }
.cgf-bk__h { margin: 0 0 20px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.cgf-bk__sub { margin: -14px 0 16px; font-size: 14px; color: var(--muted-2); }
.cgf-bk__pick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; }
.cgf-bk__pick.has-times { grid-template-columns: minmax(0, 1fr) minmax(200px, 250px); }
.cgf-bk__cal { max-width: 440px; width: 100%; margin-inline: auto; }
.cgf-bk__pick.has-times .cgf-bk__cal { margin-inline: 0; }
.cgf-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.cgf-cal__month { font-size: 16px; font-weight: 600; }
.cgf-cal__nav { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--cgf-accent) 8%, #fff); color: var(--cgf-accent); cursor: pointer; transition: background .2s; }
.cgf-cal__nav svg { width: 18px; height: 18px; }
.cgf-cal__nav:hover { background: color-mix(in srgb, var(--cgf-accent) 16%, #fff); }
.cgf-cal__nav:disabled { background: transparent; color: #c9c6c1; cursor: default; }
.cgf-cal__dow, .cgf-cal__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cgf-cal__dow span { padding: 6px 0; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted-2); text-transform: uppercase; letter-spacing: .04em; }
.cgf-cal__day { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-height: 54px; width: 100%; margin: 0 auto; border: 0; border-radius: 50%; background: transparent; font-size: 15px; color: #b5b2ad; cursor: default; transition: background .2s, color .2s, transform .2s var(--ease); }
.cgf-cal__day.is-open { background: color-mix(in srgb, var(--cgf-accent) 9%, #fff); color: var(--cgf-accent); font-weight: 700; cursor: pointer; }
.cgf-cal__day.is-open:hover { background: color-mix(in srgb, var(--cgf-accent) 18%, #fff); }
.cgf-cal__day.is-selected { background: var(--cgf-accent) !important; color: #fff !important; transform: scale(1.04); }
.cgf-cal__day.is-today::after { content: ""; position: absolute; bottom: 7px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; }
.cgf-cal__grid.is-loading .cgf-cal__days { opacity: .45; }
.cgf-cal__grid.is-loading .cgf-cal__day { animation: cgf-shimmer 1.2s ease-in-out infinite alternate; }
@keyframes cgf-shimmer { from { background: transparent; } to { background: #f3f1ee; } }
.cgf-cal__status { min-height: 1em; margin: 12px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.cgf-cal__status:empty { display: none; }
.cgf-bk__tz { display: grid; gap: 6px; margin-top: 24px; font-size: 14px; font-weight: 600; }
.cgf-bk__tz select { width: 100%; padding: 11px 38px 11px 14px; border: 1px solid #e3e0dc; border-radius: 12px; background: #fbfaf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; appearance: none; font: inherit; font-weight: 500; font-size: 14px; }
.cgf-bk__times { animation: cgf-slidein .45s var(--ease); }
@keyframes cgf-slidein { from { opacity: 0; transform: translateX(16px); } }
.cgf-times { display: grid; gap: 10px; max-height: 470px; overflow-y: auto; padding: 2px 6px 2px 2px; scrollbar-width: thin; }
.cgf-time { display: flex; }
.cgf-time button { height: 52px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all .3s var(--ease); }
.cgf-time__pick { flex: 1 1 auto; min-width: 0; border: 1.5px solid color-mix(in srgb, var(--cgf-accent) 40%, #fff); background: #fff; color: var(--cgf-accent); }
.cgf-time__pick:hover { border-color: var(--cgf-accent); }
.cgf-time__next { flex: 0 0 0; width: 0; padding: 0; margin-left: 0; border: 0; background: var(--ink); color: #fff; opacity: 0; overflow: hidden; }
.cgf-time.is-selected .cgf-time__pick { flex-basis: 50%; border-color: #6b6a72; background: #6b6a72; color: #fff; }
.cgf-time.is-selected .cgf-time__next { flex: 1 1 50%; margin-left: 8px; opacity: 1; }
.cgf-bk__form { max-width: 640px; animation: cgf-slidein .45s var(--ease); }
.cgf-back { display: inline-flex; align-items: center; gap: 8px; margin: -6px 0 16px; padding: 8px 14px 8px 10px; border: 0; border-radius: 999px; background: var(--soft); font-weight: 600; font-size: 14px; cursor: pointer; }
.cgf-back svg { width: 16px; height: 16px; }
.cgf-guests { display: grid; gap: 12px; justify-items: start; }
.cgf-guests label { width: 100%; }
.cgf-bk__fine { margin: 0; font-size: 12.5px; color: var(--muted-2); text-align: center; }
.cgf-bk__fine a { color: inherit; }
.cgf-bk__done { display: grid; justify-items: center; gap: 4px; padding: clamp(30px, 6vw, 70px) 20px; text-align: center; outline: none; animation: cgf-slidein .45s var(--ease); }
.cgf-bk__done h2 { margin: 6px 0 0; font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -.035em; }
.cgf-bk__done p { margin: 4px 0 0; color: #6b6a72; }
.cgf-bk__check { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: #16a34a; }
.cgf-bk__check svg { width: 30px; height: 30px; }
.cgf-bk__summary { margin-top: 14px !important; padding: 12px 18px; border-radius: 14px; background: var(--soft); color: var(--ink) !important; font-weight: 600; }
.cgf-bk__summary:empty { display: none; }
.cgf-bk__msg:empty { display: none; }
.cgf-bk__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

/* ---------- Cookie notice ---------- */
.cgf-consent {
	position: fixed; z-index: 70; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
	display: flex; align-items: center; gap: 22px; width: min(780px, calc(100vw - 24px)); padding: 14px 14px 14px 26px;
	border-radius: 22px; background: #fff; color: var(--ink-2); box-shadow: 0 24px 60px -24px rgba(0,0,0,.35), inset 0 0 0 1px rgba(0,0,0,.05);
	opacity: 0; transform: translate(-50%, 24px); transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.cgf-consent.is-open { opacity: 1; transform: translate(-50%, 0); }
.cgf-consent p { margin: 0; font-size: 14px; line-height: 1.5; }
.cgf-consent a { color: var(--ink); font-weight: 600; }
.cgf-consent__actions { display: flex; gap: 8px; flex: none; }
.cgf-consent .cgf-btn { padding: 12px 22px; }
.cgf-consent .cgf-btn:hover { transform: none; }

/* ---------- Footer ---------- */
.cgf-footer { padding: clamp(70px, 9vw, 120px) 0 28px; background: var(--cream); }
.cgf-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 60px; }
.cgf-footer__say { max-width: 22em; margin: 0; font-size: clamp(21px, 2.1vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.25; }
.cgf-footer__say span { display: block; color: #9c9aa2; }
.cgf-footer__cols { display: flex; gap: clamp(32px, 5vw, 70px); }
.cgf-footer__cols h2 { margin: 0 0 12px; font-size: 13px; font-weight: 700; }
.cgf-footer__cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.cgf-footer__cols a, .cgf-footer__cols .cgf-linkbtn { font-size: 14px; color: #6b6a72; text-decoration: none; transition: color .2s; }
.cgf-footer__cols a:hover, .cgf-footer__cols .cgf-linkbtn:hover { color: var(--ink); }
.cgf-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: clamp(50px, 7vw, 90px); padding-top: 22px; border-top: 1px solid #ebe8e4; }
.cgf-footer .cgf-logo { color: var(--ink); font-size: 28px; }
.cgf-footer .custom-logo { max-height: 30px; width: auto; filter: invert(1); }
.cgf-footer__copy { margin: 0; color: var(--muted-2); font-size: 13px; }

@media (max-width: 1024px) {
	.cgf-wgrid, .cgf-awards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cgf-services--three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cgf-bk { grid-template-columns: 1fr; }
	.cgf-bk__info { border-right: 0; border-bottom: 1px solid #eeebe7; }
}
@media (max-width: 900px) {
	.cgf-contact, .cgf-case2__intro, .cgf-case2__caption, .cgf-story__head { grid-template-columns: 1fr; }
	.cgf-story__head { gap: 6px; }
	.cgf-goals li { grid-template-columns: 40px minmax(0, 1fr); }
	.cgf-goals li p { grid-column: 2; }
	.cgf-case2__caption { gap: 4px; }
	.cgf-bk__pick.has-times { grid-template-columns: 1fr; }
	.cgf-bk__pick.has-times .cgf-bk__cal { margin-inline: auto; }
	.cgf-times { max-height: none; overflow: visible; }
	.cgf-tiles { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.cgf-hero2 { padding: 118px 0 92px; }
	.cgf-hero2--small { padding-bottom: 80px; }
	.cgf-sheet { margin-top: -36px; padding-top: 48px; border-radius: 30px 30px 0 0; }
	.cgf-wgrid, .cgf-awards, .cgf-services--two, .cgf-services--three, .cgf-tiles { grid-template-columns: 1fr; }
	.cgf-wcard { aspect-ratio: 4 / 4.4; border-radius: 22px; }
	.cgf-wcard__go { opacity: 1; transform: none; width: 36px; height: 36px; }
	.cgf-shots--two, .cgf-shots--three, .cgf-shots--feature { grid-template-columns: 1fr; }
	.cgf-shots { gap: 14px; }
	.cgf-shot { border-radius: 20px; }
	.cgf-filter { margin-top: 26px; }
	.cgf-filter__track a { padding: 9px 16px; }
	.cgf-bk { border-radius: 24px; }
	.cgf-bk__info { padding: 24px 22px; }
	.cgf-bk__main { padding: 24px 18px 28px; }
	.cgf-bk__desc { display: none; }
	.cgf-cal__dow, .cgf-cal__days { gap: 4px; }
	.cgf-consent { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
	.cgf-consent__actions .cgf-btn { flex: 1; justify-content: center; }
	.cgf-footer__cols { width: 100%; justify-content: space-between; gap: 20px; }
	.cgf-cta { border-radius: 26px; }
}

/* ==========================================================================
   Mobile & tablet
   ========================================================================== */
@media (max-width: 860px) {
	.cgf-header { top: 12px; left: 12px; right: 12px; transform: none; max-width: none; }
	.cgf-nav { height: 56px; gap: 12px; padding: 0 8px 0 22px; }
	.cgf-logo { font-size: 30px; }
	.cgf-nav__divider { display: none; }
	.cgf-nav__toggle { order: 3; display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255,255,255,.08); cursor: pointer; }
	.cgf-burger { display: grid; gap: 6px; }
	.cgf-burger i { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
	.cgf-nav__toggle[aria-expanded="true"] .cgf-burger i:first-child { transform: translateY(4px) rotate(45deg); }
	.cgf-nav__toggle[aria-expanded="true"] .cgf-burger i:last-child { transform: translateY(-4px) rotate(-45deg); }
	.cgf-nav__panel { position: absolute; left: 0; right: 0; top: calc(100% + 8px); padding: 10px; border-radius: 24px; background: #050507; box-shadow: 0 24px 40px -20px rgba(0,0,0,.6); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
	.cgf-nav__panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
	.cgf-nav__menu { flex-direction: column; }
	.cgf-nav__menu a { padding: 14px 16px; font-size: 18px; border-radius: 14px; }
	.cgf-nav__menu a::after { left: 16px; right: auto; width: 24px; bottom: 8px; }
	.cgf-header .cgf-nav .cgf-nav__toggle { margin-left: auto; }
	.cgf-nav__cta { order: 2; margin-left: auto; padding: 9px 15px; font-size: 13px; }
	.cgf-nav:has(.cgf-nav__cta) .cgf-nav__toggle { margin-left: 0; }

	.cgf-page { padding-top: 110px; }
	.cgf-grid { grid-template-columns: 1fr; }
	.cgf-form__row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ==========================================================================
   About v2: hero with a creative portrait, intro card, roles, skills & experience
   ========================================================================== */
.cgf-about { --acc-soft: color-mix(in srgb, var(--cgf-accent) 62%, #fff); }
.cgf-ring { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1.5px solid currentColor; border-radius: 50%; }
.cgf-ring svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
a:hover > .cgf-ring svg, button:hover > .cgf-ring svg, a:hover .cgf-do__go svg { transform: translateX(2px); }
.cgf-btn__dot { display: inline-grid; place-items: center; width: 26px; height: 26px; margin: -6px -14px -6px 2px; border-radius: 50%; background: var(--cgf-accent); color: #fff; }
.cgf-btn__dot svg { width: 14px; height: 14px; }

/* Hero */
.cgf-ahero { position: relative; padding: 138px 0 112px; overflow: hidden; background: linear-gradient(180deg, var(--mist) 0%, var(--tint-mid) 55%, var(--peach) 100%); }
.cgf-ahero::after { content: ""; position: absolute; right: -10%; bottom: -30%; width: 70%; height: 80%; background: radial-gradient(closest-side, rgba(150,162,255,.4), rgba(150,162,255,0)); pointer-events: none; }
.cgf-ahero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.cgf-ahero__eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.65); box-shadow: inset 0 0 0 1px rgba(11,11,16,.12); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.cgf-ahero__eyebrow svg { width: 12px; height: 12px; color: var(--cgf-accent); }
.cgf-ahero__title { margin: 0; font-size: clamp(42px, 5.6vw, 80px); font-weight: 700; letter-spacing: -.05em; line-height: .98; color: var(--ink); text-wrap: balance; }
.cgf-ahero__intro { max-width: 31em; margin: 24px 0 0; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: #5f5e68; }
.cgf-ahero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin: 32px 0 0; }
.cgf-ahero__link { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink); }
.cgf-ahero__trust { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 7px 20px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.7); box-shadow: inset 0 0 0 1px rgba(11,11,16,.06), 0 14px 30px -24px rgba(0,0,0,.4); }
.cgf-ahero__logos { display: flex; }
.cgf-ahero__logos a { display: block; width: 40px; height: 40px; margin-left: -10px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 2.5px #fff; transition: transform .3s var(--ease); }
.cgf-ahero__logos a:first-child { margin-left: 0; }
.cgf-ahero__logos a:hover { transform: translateY(-3px); }
.cgf-ahero__logos img { width: 100%; height: 100%; object-fit: cover; }
.cgf-ahero__trusttext { max-width: 15em; font-size: 12.5px; font-weight: 600; line-height: 1.35; color: var(--ink-2); }

.cgf-ahero__art { position: relative; justify-self: end; width: 100%; max-width: 540px; aspect-ratio: 1 / 1.08; }
.cgf-ahero__orbitwrap { position: absolute; inset: 2% -6% auto -4%; width: 110%; pointer-events: none; transform-origin: 50% 50%; }
.cgf-ahero__orbit { display: block; width: 100%; height: auto; overflow: visible; color: rgba(11,11,16,.22); pointer-events: none; }
.cgf-ahero__orb { position: absolute; inset: 12% 4% 6% 10%; border-radius: 50%; background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--cgf-accent) 55%, #fff) 0%, var(--cgf-accent) 58%, color-mix(in srgb, var(--cgf-accent) 70%, #000) 100%); box-shadow: 0 50px 90px -50px var(--cgf-accent); }
.cgf-ahero__frame { position: absolute; inset: 3% 13% 0 19%; display: block; overflow: hidden; border-radius: 999px 999px 34px 34px; box-shadow: 0 40px 70px -40px rgba(0,0,0,.5); }
.cgf-ahero__frame img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top center; }
.cgf-ahero__frame.is-empty { inset: 12% 4% 6% 10%; display: grid; place-items: center; border-radius: 50%; }
.cgf-ahero__initials { font-size: clamp(80px, 11vw, 150px); font-weight: 800; letter-spacing: -.06em; color: rgba(255,255,255,.9); }
.cgf-ahero__mono { position: absolute; top: 9%; left: 0; display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 17px; font-weight: 800; letter-spacing: .04em; box-shadow: 0 18px 30px -16px rgba(0,0,0,.6); }
.cgf-ahero__note { position: absolute; left: -4%; bottom: 12%; display: flex; align-items: flex-start; gap: 10px; max-width: 210px; padding: 16px 18px; border-radius: 22px; background: rgba(255,255,255,.82); backdrop-filter: blur(10px); box-shadow: 0 24px 40px -26px rgba(0,0,0,.45); font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.cgf-ahero__note svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--cgf-accent); }
.cgf-ahero__spark { position: absolute; color: var(--cgf-accent); animation: cgf-twinkle 3.6s ease-in-out infinite; }
.cgf-ahero__spark svg { display: block; width: 100%; height: 100%; }
.cgf-ahero__spark--a { top: 0; right: 4%; width: 30px; height: 30px; }
.cgf-ahero__spark--b { right: -2%; bottom: 26%; width: 16px; height: 16px; color: var(--ink); animation-delay: 1.4s; }
/* With a photo: the portrait fills the art area and fades softly into the hero background. */
.cgf-ahero__art.has-photo .cgf-ahero__orb { inset: 14% 2% 8% 6%; filter: blur(46px); opacity: .55; box-shadow: none; }
.cgf-ahero__art.has-photo { container-type: inline-size; }
/* Move and size act on the whole frame (photo + soft edge), and the photo is shown whole (contain),
   so nudging or zooming never crops it. */
.cgf-ahero__art.has-photo .cgf-ahero__frame { inset: 0; overflow: visible; border-radius: 0; box-shadow: none; transform-origin: 50% 50%; transform: translate(calc(var(--img-x, 0) * 100cqw / 540), calc(var(--img-y, 0) * 100cqw / 540)) scale(var(--img-s, 1)); }
.cgf-ahero__art.has-photo .cgf-ahero__fade { overflow: visible; }
.cgf-ahero__art.has-photo .cgf-ahero__frame img { object-fit: contain; object-position: 50% 50%; }
.cgf-ahero__art.fade-soft .cgf-ahero__frame { -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 50%, rgba(0,0,0,.55) 74%, transparent 98%); mask-image: radial-gradient(ellipse 50% 50% at 50% 48%, #000 50%, rgba(0,0,0,.55) 74%, transparent 98%); }
.cgf-ahero__fade { display: block; width: 100%; height: 100%; overflow: hidden; }
.cgf-ahero__art.fade-sides .cgf-ahero__frame { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 16%, #000 84%, transparent 100%); }
.cgf-ahero__art.fade-sides .cgf-ahero__fade, .cgf-ahero__art.fade-bottom .cgf-ahero__fade { -webkit-mask-image: linear-gradient(to bottom, #000 66%, transparent 99%); mask-image: linear-gradient(to bottom, #000 66%, transparent 99%); }
.cgf-ahero__art.has-photo .cgf-ahero__orbit { color: rgba(11,11,16,.14); }
.cgf-ahero__art.has-photo .cgf-ahero__mono { display: none; }
.cgf-ahero__art.has-photo .cgf-ahero__note { left: -8%; bottom: 3%; }
/* Note corner + nudge (About page box). Pixels are at the 540px desktop size and scale with the image. */
.cgf-ahero__note { max-width: none; z-index: 2; translate: calc(var(--note-x, 0) * 100cqw / 540) calc(var(--note-y, 0) * 100cqw / 540); }
.cgf-ahero__notetext { white-space: nowrap; }
.cgf-ahero__art .cgf-ahero__note.is-br { left: auto; right: -2%; }
.cgf-ahero__art .cgf-ahero__note.is-tl { bottom: auto; top: 8%; }
.cgf-ahero__art .cgf-ahero__note.is-tr { left: auto; right: -2%; bottom: auto; top: 8%; }
@keyframes cgf-twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(.72) rotate(20deg); opacity: .6; } }

/* Section label: outlined pill + hairline */
.cgf-kicker { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; }
.cgf-kicker__pill { flex: none; margin: 0; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11,11,16,.14); font-size: 12px; font-weight: 700; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; color: var(--ink); }
.cgf-kicker__line { flex: 1; height: 1px; background: var(--line); }
.cgf-kicker__link { display: inline-flex; flex: none; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; text-decoration: none; color: var(--ink); }

/* Intro card */
.cgf-hi { display: grid; grid-template-columns: 250px minmax(0, 1fr) 270px; gap: clamp(24px, 3.4vw, 44px); align-items: center; padding: 20px clamp(20px, 3vw, 40px) 20px 20px; border-radius: 34px; background: var(--ink); color: #fff; box-shadow: 0 40px 70px -50px rgba(0,0,0,.7); }
.cgf-hi__photo { position: relative; display: block; aspect-ratio: 4 / 4.7; border-radius: 24px; overflow: hidden; background: #24242c; }
.cgf-hi__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.cgf-hi__photo video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.cgf-hi__photo.is-live video { opacity: 1; }
.cgf-hi__photo.is-empty { display: grid; place-items: center; background: linear-gradient(160deg, color-mix(in srgb, var(--cgf-accent) 50%, #fff), var(--cgf-accent)); font-size: 64px; font-weight: 800; letter-spacing: -.05em; color: rgba(255,255,255,.9); }
.cgf-hi__title { margin: 0 0 14px; font-size: clamp(28px, 3vw, 42px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.cgf-hi__text { max-width: 36em; margin: 0 0 12px; font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.72); }
.cgf-hi__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin: 22px 0 0; }
.cgf-hi__more { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.cgf-hi__more { text-decoration: none; }
.cgf-hi__more .cgf-ring svg { transform: rotate(90deg); }
.cgf-hi__sig { height: 44px; width: auto; filter: invert(1) brightness(1.4); opacity: .85; }
.cgf-hi__facts { display: grid; gap: 18px; margin: 0; padding: 6px 0 6px clamp(22px, 2.6vw, 34px); list-style: none; border-left: 1px solid rgba(255,255,255,.12); }
.cgf-hi__facts li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.cgf-hi__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--acc-soft); }
.cgf-hi__icon svg { width: 17px; height: 17px; }

/* Full story (opens under the card) */
.cgf-more { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .7s var(--ease), opacity .5s; }
.cgf-more.is-collapsed { grid-template-rows: 0fr; opacity: 0; }
.cgf-more__inner { min-height: 0; overflow: hidden; }
.cgf-more .cgf-story__lead { font-size: clamp(19px, 1.8vw, 24px); line-height: 1.4; }
.cgf-more { scroll-margin-top: 110px; }
@media (prefers-reduced-motion: no-preference) { html:has(.cgf-about) { scroll-behavior: smooth; } }
.cgf-more__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 30px; padding: clamp(40px, 5vw, 64px) 0 8px; }

/* Ways to work together */
.cgf-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cgf-role { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3.4vw, 44px); border-radius: 30px; background: #fff; box-shadow: inset 0 0 0 1px #eeebe7, 0 30px 60px -50px rgba(0,0,0,.35); }
.cgf-role--dark { background: linear-gradient(160deg, color-mix(in srgb, var(--cgf-accent) 88%, #fff) 0%, var(--cgf-accent) 45%, color-mix(in srgb, var(--cgf-accent) 72%, #000) 100%); color: #fff; box-shadow: 0 40px 70px -46px var(--cgf-accent); }
.cgf-role__top { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.cgf-role--dark .cgf-role__top { color: rgba(255,255,255,.7); }
.cgf-role__num { color: var(--cgf-accent); }
.cgf-role--dark .cgf-role__num { color: #fff; }
.cgf-role__title { margin: 16px 0 10px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.cgf-role__text { margin: 0; font-size: 15.5px; line-height: 1.6; color: #6b6a72; }
.cgf-role--dark .cgf-role__text { color: rgba(255,255,255,.8); }
.cgf-role .cgf-ticks { margin: 24px 0 30px; }
.cgf-role--dark .cgf-ticks li::before { background-color: rgba(255,255,255,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cgf-role .cgf-btn { margin-top: auto; }

/* What I do */
.cgf-dos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.cgf-dos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cgf-dos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cgf-dos--1 { grid-template-columns: minmax(0, 1fr); }
.cgf-do { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 22px 22px; border-radius: 24px; background: #fff; color: inherit; text-decoration: none; box-shadow: inset 0 0 0 1px #eeebe7; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
a.cgf-do:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #e4e0db, 0 30px 50px -36px rgba(0,0,0,.4); }
.cgf-do__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 10px; border-radius: 50%; background: var(--cgf-accent); color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 12px 24px -12px var(--cgf-accent); overflow: hidden; }
.cgf-do__icon.has-img { background: var(--soft); box-shadow: none; }
.cgf-do__icon img { width: 100%; height: 100%; object-fit: cover; }
.cgf-do__title { font-size: 17px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.cgf-do__text { font-size: 14px; line-height: 1.55; color: #6b6a72; }
.cgf-do__go { margin-top: auto; color: var(--ink); }
.cgf-do__text + .cgf-do__go, .cgf-do__title + .cgf-do__go { margin-top: 14px; }

/* Skills & experience */
.cgf-skx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); padding: clamp(28px, 4vw, 56px); border-radius: 34px; background: var(--ink); color: #fff; box-shadow: 0 40px 70px -50px rgba(0,0,0,.7); }
.cgf-skx.is-single { grid-template-columns: minmax(0, 1fr); }
.cgf-skx__col:first-child { padding-right: clamp(24px, 3.5vw, 52px); }
.cgf-skx__col + .cgf-skx__col { padding-left: clamp(24px, 3.5vw, 52px); border-left: 1px solid rgba(255,255,255,.12); }
.cgf-skx__label { margin: 0 0 22px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.cgf-skx__group { margin: 22px 0 6px; font-size: 13px; font-weight: 700; color: var(--acc-soft); }
.cgf-skx__label + .cgf-skx__group { margin-top: 0; }
.cgf-skills { margin: 0; padding: 0; list-style: none; }
.cgf-skills li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.cgf-skills__name { font-size: 14.5px; color: rgba(255,255,255,.9); }
.cgf-skills__dots { display: inline-flex; flex: none; gap: 6px; }
.cgf-skills__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.cgf-skills__dots i.is-on { background: var(--acc-soft); box-shadow: 0 0 10px -2px var(--acc-soft); }
.cgf-xp { position: relative; margin: 0; padding: 0 0 0 28px; list-style: none; }
.cgf-xp::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: rgba(255,255,255,.16); }
.cgf-xp li { position: relative; display: grid; gap: 2px; padding-bottom: 28px; }
.cgf-xp li:last-child { padding-bottom: 0; }
.cgf-xp li::before { content: ""; position: absolute; left: -28px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 2px var(--acc-soft), 0 0 0 4px var(--ink); }
.cgf-xp__dates { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--acc-soft); }
.cgf-xp__role { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.cgf-xp__where { font-size: 14px; color: rgba(255,255,255,.6); }
.cgf-xp__text { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.75); }
/* 1.12.0: photo sitting on the panel's top edge. The seat line (--seat, % from the photo's top) meets the edge, then --sx/--sy nudge it. */
.cgf-section.cgf-sit-sec { padding-top: var(--sgap, 146px); }
@media (max-width: 767px) { .cgf-section.cgf-sit-sec { padding-top: var(--sgapm, 74px); } }
.cgf-skx.has-sit { position: relative; z-index: 3; padding-top: calc(clamp(28px, 4vw, 56px) + var(--spad, 0px)); }
.cgf-sit { position: absolute; z-index: 5; top: 0; left: 50%; width: var(--sw, 220px); max-width: none; pointer-events: none; transform: translate(calc(-50% + var(--sx, 0px)), calc(var(--seat, 61%) * -1 + var(--sy, 0px))); }
.cgf-sit picture, .cgf-sit img { display: block; width: 100%; height: auto; }
.cgf-sit img { filter: drop-shadow(0 16px 18px rgba(0,0,0,.28)); }
@media (max-width: 767px) {
	.cgf-skx.has-sit { padding-top: calc(clamp(28px, 4vw, 56px) + var(--spadm, 0px)); }
	.cgf-sit { width: var(--swm, 150px); transform: translate(calc(-50% + var(--sxm, 0px)), calc(var(--seat, 61%) * -1 + var(--sym, 0px))); }
}
.cgf-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 22px; }
.cgf-tools__label { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.cgf-tools ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.cgf-tools li { padding: 7px 14px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #eeebe7; font-size: 13.5px; font-weight: 600; }
/* 1.11.0: tools marquee. Pills use margin (not gap) so the two halves of a track are exactly equal and the loop never jumps. */
.cgf-tools--marquee { display: block; }
.cgf-tools-sec .cgf-tools { margin-top: 0; }
.cgf-tools--marquee .cgf-tools__label { margin-bottom: 12px; }
.cgf-mq { display: grid; gap: calc(6px * var(--pill, 1)); }
.cgf-mq__row { overflow: hidden; padding: calc(5px * var(--pill, 1)) 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade, 12%), #000 calc(100% - var(--fade, 12%)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--fade, 12%), #000 calc(100% - var(--fade, 12%)), transparent); }
.cgf-mq__track { display: flex; flex-wrap: nowrap; align-items: center; width: max-content; margin: 0; padding: 0; list-style: none; }
.cgf-tools .cgf-mq__track li { flex: none; margin-inline-end: calc(8px * var(--pill, 1)); padding: calc(7px * var(--pill, 1) * var(--s, 1)) calc(14px * var(--pill, 1) * var(--s, 1)); font-size: calc(13.5px * var(--pill, 1) * var(--s, 1)); line-height: 1.25; white-space: nowrap; transform: rotate(var(--r, 0deg)); }
.cgf-mq.is-on .cgf-mq__track { animation: cgf-mq var(--dur, 40s) linear infinite; animation-delay: var(--delay, 0s); will-change: transform; }
.cgf-mq.is-on .cgf-mq__row[data-dir="right"] .cgf-mq__track { animation-direction: reverse; }
.cgf-mq.is-paused .cgf-mq__track, .cgf-mq[data-hover] .cgf-mq__row:hover .cgf-mq__track { animation-play-state: paused; }
@keyframes cgf-mq { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-1px * var(--shift, 0)), 0, 0); } }
@media (prefers-reduced-motion: reduce) {
	.cgf-mq { display: flex; flex-wrap: wrap; gap: 8px; }
	.cgf-mq__row { display: contents; }
	.cgf-mq__track { display: contents; }
	.cgf-tools .cgf-mq__track li { margin: 0; transform: none; }
}

/* Kind words */
.cgf-words { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.cgf-word { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; margin: 0; padding: 26px; border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px #eeebe7; }
.cgf-word blockquote { margin: 0; }
.cgf-word blockquote::before { content: "\201C"; display: block; height: 30px; font-size: 60px; font-weight: 800; line-height: 1; color: var(--cgf-accent); }
.cgf-word p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.cgf-word figcaption { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted-2); }
.cgf-word figcaption strong { display: block; font-size: 14.5px; color: var(--ink); }
.cgf-word__face { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--soft); font-weight: 800; color: var(--ink); }
.cgf-word__face img { width: 100%; height: 100%; object-fit: cover; }

/* Let's work together */
.cgf-together { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .85fr); gap: clamp(24px, 3.5vw, 44px); align-items: center; padding: clamp(32px, 4.6vw, 60px); border-radius: 34px; overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--cgf-accent) 90%, #fff) 0%, var(--cgf-accent) 40%, color-mix(in srgb, var(--cgf-accent) 70%, #000) 100%); color: #fff; isolation: isolate; box-shadow: 0 40px 80px -50px var(--cgf-accent); }
.cgf-together__eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.cgf-together__title { margin: 0; font-size: clamp(40px, 5.2vw, 70px); font-weight: 700; letter-spacing: -.055em; line-height: .95; }
.cgf-together__mid p { margin: 0 0 22px; font-size: 16.5px; line-height: 1.6; color: rgba(255,255,255,.82); }
.cgf-together__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 0 !important; }
.cgf-together__book { font-size: 14px; font-weight: 700; color: #fff; text-underline-offset: 4px; }
.cgf-together__details { display: grid; gap: 14px; margin: 0; padding-left: clamp(22px, 2.6vw, 34px); border-left: 1px solid rgba(255,255,255,.22); }
.cgf-together__details dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.cgf-together__details dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.cgf-together__details a { color: #fff; text-decoration: none; }
.cgf-together__details a:hover { text-decoration: underline; text-underline-offset: 3px; }
.cgf-together__social { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.cgf-together__deco { position: absolute; z-index: -1; right: -70px; bottom: -110px; width: 300px; height: 300px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 0 0 40px rgba(255,255,255,.04); pointer-events: none; }
.cgf-together__deco svg { position: absolute; top: -8px; right: 96px; width: 26px; height: 26px; color: rgba(255,255,255,.9); }

@media (max-width: 1024px) {
	.cgf-hi { grid-template-columns: 210px minmax(0, 1fr); }
	.cgf-hi__facts { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start; gap: 14px 28px; padding: 18px 4px 4px; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
	.cgf-dos--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cgf-together { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.cgf-together__details { grid-column: 1 / -1; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
}
@media (max-width: 860px) {
	.cgf-ahero { padding: 118px 0 92px; }
	.cgf-ahero__grid { grid-template-columns: minmax(0, 1fr); }
	.cgf-ahero__art { justify-self: center; max-width: 420px; margin-top: 10px; }
	.cgf-roles, .cgf-more__grid { grid-template-columns: minmax(0, 1fr); }
	.cgf-skx { grid-template-columns: minmax(0, 1fr); }
	.cgf-skx__col:first-child { padding-right: 0; }
	.cgf-skx__col + .cgf-skx__col { margin-top: 30px; padding: 30px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
	.cgf-dos--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.cgf-ahero__trust { border-radius: 22px; }
	.cgf-ahero__note { left: 0; padding: 12px 14px; font-size: 12px; }
	.cgf-ahero__art .cgf-ahero__note.is-br, .cgf-ahero__art .cgf-ahero__note.is-tr { left: auto; right: 0; }
	.cgf-ahero__mono { width: 58px; height: 58px; font-size: 14px; }
	.cgf-hi { grid-template-columns: minmax(0, 1fr); padding: 16px 16px 26px; }
	.cgf-hi__photo { width: 100%; max-width: 100%; aspect-ratio: 1 / 1; }
	.cgf-hi__body, .cgf-hi__facts { padding-inline: 8px; }
	.cgf-hi__facts { grid-template-columns: minmax(0, 1fr); }
	.cgf-dos, .cgf-dos--3, .cgf-dos--4, .cgf-together { grid-template-columns: minmax(0, 1fr); }
	.cgf-kicker__line { min-width: 12px; }
	.cgf-skills__name { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.cgf-ahero__spark { animation: none; }
	.cgf-more { transition: none; }
}

/* ==========================================================================
   Employment update (1.5.0): employer homepage, Hire Me, hiring band, case-study write-up
   ========================================================================== */
.cgf-ahero__title--home { font-size: clamp(38px, 4.7vw, 66px); line-height: 1.02; }
.cgf-avail { display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0; padding: 8px 16px 8px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(11,11,16,.08); font-size: 14px; font-weight: 600; color: var(--ink); }
.cgf-btn--outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.cgf-btn--outline:hover { background: var(--ink); color: #fff; }

/* Experience strip */
.cgf-cred { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .cgf-cred { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cgf-cred li { display: grid; gap: 2px; padding: 18px 20px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px #eeebe7; }
.cgf-cred strong { font-size: 16px; letter-spacing: -.01em; color: var(--ink); }
.cgf-cred span { font-size: 14px; color: #5f5e68; }
.cgf-cred small { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--cgf-accent); }

/* Tags */
.cgf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; padding: 0; list-style: none; }
.cgf-tags li { padding: 4px 10px; border-radius: 999px; background: var(--soft); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.cgf-do h3.cgf-do__title, .cgf-do p.cgf-do__text { margin: 0; }

/* Selected work */
.cgf-projs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cgf-proj { display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px #eeebe7; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.cgf-proj:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px #e4e0db, 0 30px 50px -36px rgba(0,0,0,.4); }
.cgf-proj__media { position: relative; display: block; aspect-ratio: 16 / 10; margin: 10px 10px 0; border-radius: 20px; overflow: hidden; background: var(--tile, #efebe6); }
.cgf-proj__media img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top center; transition: transform 1s var(--ease); }
.cgf-proj:hover .cgf-proj__media img { transform: scale(1.03); }
.cgf-proj__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 22px 22px; }
.cgf-proj__title { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.2; }
.cgf-proj__title a { color: inherit; text-decoration: none; }
.cgf-proj__title a:hover { color: var(--cgf-accent); }
.cgf-proj__draft { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #fff4d6; font-size: 11px; font-style: normal; font-weight: 700; color: #8a5a00; vertical-align: middle; }
.cgf-proj__line { margin: 0; font-size: 14.5px; line-height: 1.55; color: #5f5e68; }
.cgf-proj__go { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; }

/* Engineering spotlight */
.cgf-spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 3.5vw, 48px); align-items: center; padding: clamp(26px, 3.6vw, 48px); border-radius: 34px; color: #fff; background: linear-gradient(160deg, color-mix(in srgb, var(--cgf-accent) 88%, #fff) 0%, var(--cgf-accent) 45%, color-mix(in srgb, var(--cgf-accent) 72%, #000) 100%); box-shadow: 0 40px 70px -46px var(--cgf-accent); }
.cgf-spot .cgf-role__top { color: rgba(255,255,255,.75); }
.cgf-spot .cgf-role__num { display: inline-grid; color: #fff; }
.cgf-spot .cgf-role__num svg { width: 14px; height: 14px; }
.cgf-spot .cgf-role__text { color: rgba(255,255,255,.85); }
.cgf-spot .cgf-ticks { margin: 22px 0 28px; }
.cgf-spot .cgf-ticks li::before { background-color: rgba(255,255,255,.2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cgf-spot__media { display: block; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.12); box-shadow: 0 30px 60px -30px rgba(0,0,0,.55); }
.cgf-spot__media img { display: block; width: 100%; height: auto; }

/* Experience grid (dark panel) */
.cgf-xp--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
.cgf-xp--grid::before { display: none; }
.cgf-xp--grid li { padding-bottom: 28px; }
.cgf-xp--grid li:last-child { padding-bottom: 28px; }
.cgf-xp--grid li::before { box-shadow: inset 0 0 0 2px var(--acc-soft); }
.cgf-skx__note { margin: 0 0 18px; font-size: 14px; color: rgba(255,255,255,.65); }
.cgf-skx__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 6px 0 0; }
.cgf-ehome .cgf-skx__actions { justify-content: center; }
.cgf-skx__link { font-size: 14px; font-weight: 700; color: #fff; text-underline-offset: 4px; }

/* Hiring band */
.cgf-together__title--sm { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.045em; line-height: 1.04; }
.cgf-together__small { margin: 16px 0 0 !important; font-size: 13.5px !important; }
.cgf-together__small a { color: rgba(255,255,255,.85); text-underline-offset: 3px; }
.cgf-together__actions .cgf-together__book { white-space: nowrap; }

/* Contact: employer shortcut */
.cgf-hirecard { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "tag title go" "tag text go"; gap: 2px 18px; align-items: center; padding: 20px 24px; border-radius: 24px; background: var(--ink); color: #fff; text-decoration: none; box-shadow: 0 30px 50px -40px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.cgf-hirecard:hover { transform: translateY(-2px); }
.cgf-hirecard__tag { grid-area: tag; padding: 6px 12px; border-radius: 999px; background: var(--cgf-accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cgf-hirecard strong { grid-area: title; font-size: 19px; letter-spacing: -.02em; }
.cgf-hirecard > span:not(.cgf-hirecard__tag):not(.cgf-ring) { grid-area: text; font-size: 14.5px; color: rgba(255,255,255,.72); }
.cgf-hirecard .cgf-ring { grid-area: go; }
.cgf-page-template-contact .cgf-contact, .page-template-page-templatescontact-php .cgf-contact { margin-top: 22px; }

/* Hire Me page */
.cgf-hire { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 22px; align-items: start; }
.cgf-hire__side { display: grid; gap: 22px; }
.cgf-hire__email { display: grid; gap: 2px; margin: 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.cgf-hire__email span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.cgf-hire__email a { font-size: 19px; font-weight: 700; color: #fff; text-decoration: none; overflow-wrap: anywhere; user-select: all; }
.cgf-hire__email a:hover { text-decoration: underline; text-underline-offset: 4px; }
.cgf-hire .cgf-details dd { font-size: 15.5px; }
.cgf-hire__consult { margin: 26px 0 0; text-align: center; font-size: 14.5px; color: #6b6a72; }
.cgf-hire__consult a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.cgf-consent-line { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px !important; font-weight: 500 !important; font-size: 13.5px !important; color: #5f5e68; }
.cgf-consent-line input { width: auto !important; margin-top: 3px; padding: 0 !important; }

/* Work cards: focus / stack line */
.cgf-wcard__txt { display: grid; min-width: 0; }
.cgf-wcard__meta { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.85); text-shadow: 0 1px 10px rgba(0,0,0,.4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Footer email */
.cgf-footer__lead { display: grid; gap: 18px; }
.cgf-footer__email { display: grid; gap: 2px; margin: 0; }
.cgf-footer__email span { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.cgf-footer__email a { font-size: 17px; font-weight: 600; color: var(--ink); text-decoration: none; user-select: all; }
.cgf-footer__email a:hover { color: var(--cgf-accent); }

/* Case-study technical write-up */
.cgf-writeup__body { max-width: 860px; }
.cgf-writeup__body > :first-child { margin-top: 0; }
.cgf-writeup__body h2 { font-size: clamp(22px, 2.2vw, 30px); }
.cgf-writeup__body ul, .cgf-writeup__body ol { padding-left: 1.2em; }
.cgf-writeup__body li { margin: .35em 0; }
.cgf-writeup__body code { padding: 1px 6px; border-radius: 6px; background: var(--soft); font-size: .88em; }
.cgf-writeup__body pre { overflow-x: auto; padding: 18px 20px; border-radius: 16px; background: var(--ink); color: #e9e9f1; font-size: 13.5px; line-height: 1.6; }
.cgf-writeup__body pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.cgf-flow { counter-reset: flow; list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.cgf-flow li { counter-increment: flow; position: relative; margin: 0 !important; padding: 16px 18px 16px 62px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px #eeebe7; }
.cgf-flow li::before { content: counter(flow); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--case-accent, var(--cgf-accent)); color: #fff; font-size: 13px; font-weight: 800; }
.cgf-flow li + li::after { content: ""; position: absolute; left: 30px; top: -10px; width: 2px; height: 10px; background: #dcd8d3; }

@media (max-width: 1024px) {
	.cgf-xp--grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
	.cgf-projs, .cgf-spot, .cgf-hire { grid-template-columns: minmax(0, 1fr); }
	.cgf-hirecard { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "tag go" "title go" "text go"; gap: 8px 16px; }
	.cgf-hirecard__tag { justify-self: start; }
}
@media (max-width: 400px) {
	.cgf-ahero__actions .cgf-btn { width: 100%; justify-content: center; }
	.cgf-avail { font-size: 13px; }
}
.cgf-kicker__pill { flex: 0 1 auto; min-width: 0; }
@media (max-width: 640px) { .cgf-kicker { flex-wrap: wrap; } .cgf-kicker__pill { font-size: 11px; letter-spacing: .1em; } }

/* ---------- cgf circle cursor (CGF Studio → Settings → Site & footer → Brand touches) ---------- */
.cgf-cursor { position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none; opacity: 0; transition: opacity .3s; will-change: transform; }
.cgf-cursor.is-on { opacity: 1; }
.cgf-cursor[data-mode="native"] { opacity: 0; }
.cgf-cursor__ball {
	--s: 42px; --bg: #000; --fg: #fff;
	position: absolute; left: 0; top: 0; display: grid; place-items: center;
	width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border-radius: 50%;
	background: var(--bg); color: var(--fg); box-shadow: 0 0 0 1px rgba(127,127,127,.18), 0 10px 24px -12px rgba(0,0,0,.45);
	transition: width .35s cubic-bezier(.2,.8,.2,1), height .35s cubic-bezier(.2,.8,.2,1), margin .35s cubic-bezier(.2,.8,.2,1), background-color .35s, color .35s;
}
.cgf-cursor__logo { font-family: var(--font); font-size: 14px; font-weight: 800; letter-spacing: -.06em; line-height: 1; margin-top: -2px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.cgf-cursor[data-theme="dark"] .cgf-cursor__ball { --bg: #fff; --fg: #000; }
.cgf-cursor[data-theme="blue"] .cgf-cursor__ball { --bg: #fff; --fg: #1f2bff; }
.cgf-cursor[data-mode="link"] .cgf-cursor__ball { --s: 64px; --bg: #1f2bff; --fg: #fff; }
.cgf-cursor[data-mode="link"][data-theme="blue"] .cgf-cursor__ball { --bg: #000; --fg: #fff; }
.cgf-cursor[data-mode="link"] .cgf-cursor__logo { transform: scale(1.3); }
.cgf-cursor.is-down .cgf-cursor__ball { --s: 34px; }
.cgf-cursor.is-down[data-mode="link"] .cgf-cursor__ball { --s: 52px; }
html.has-cgf-cursor, html.has-cgf-cursor * { cursor: none !important; }
html.has-cgf-cursor :is(input:not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), textarea, select, [contenteditable], iframe) { cursor: auto !important; }
@media (prefers-reduced-motion: reduce) { .cgf-cursor__ball, .cgf-cursor__logo { transition: background-color .2s, color .2s; } }
@media print { .cgf-cursor { display: none; } }
/* ==========================================================================
   Hero photo animation (1.7.0): orbit, floating stars and note, coffee steam.
   Moves (nudges) and animations use different properties, so they always combine:
   photo nudge = frame transform, steam = its own layer inside the frame,
   note nudge = `translate`, note float = `transform`, star float = `translate`, twinkle = `transform`.
   ========================================================================== */
.cgf-ahero__dot.is-orbiting { display: none; }
.cgf-ahero__steam { position: absolute; z-index: 1; left: var(--steam-x, 58%); top: var(--steam-y, 64%); width: calc(17% * var(--steam-s, 1)); aspect-ratio: 120 / 200; transform: translate(-50%, -100%); pointer-events: none; filter: blur(2.6px); }
.cgf-ahero__steam svg { display: block; width: 100%; height: 100%; overflow: visible; }
.cgf-ahero__wisp { fill: none; stroke: rgba(255,255,255,.7); stroke-width: 7; stroke-linecap: round; opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; }

@media (prefers-reduced-motion: no-preference) {
	.cgf-ahero__art.is-moving .cgf-ahero__dot.is-orbiting { display: inline; }
	.cgf-ahero__art.is-moving .cgf-ahero__dot.is-still { display: none; }
	.cgf-ahero__art.is-moving .cgf-ahero__orbitwrap { animation: cgf-orbit-sway 16s ease-in-out infinite; }
	.cgf-ahero__art.is-moving.has-photo .cgf-ahero__orb { animation: cgf-orb-breathe 9s ease-in-out infinite; }
	.cgf-ahero__art.is-moving .cgf-ahero__spark--a { animation: cgf-twinkle 3.6s ease-in-out infinite, cgf-float-a 8s ease-in-out infinite; }
	.cgf-ahero__art.is-moving .cgf-ahero__spark--b { animation: cgf-twinkle 3.6s ease-in-out 1.4s infinite, cgf-float-b 10s ease-in-out infinite; }
	.cgf-ahero__art.is-moving .cgf-ahero__note { animation: cgf-note-float 7s ease-in-out infinite; }
	.cgf-ahero__wisp { animation: cgf-steam 4.8s ease-out infinite; }
	.cgf-ahero__wisp.w2 { animation-delay: 1.6s; animation-duration: 5.4s; }
	.cgf-ahero__wisp.w3 { animation-delay: 3.1s; animation-duration: 5s; }
}
@media (prefers-reduced-motion: reduce) {
	.cgf-ahero__steam { display: none; } /* The photo's own steam stays. */
}
/* Scrolled out of view: everything in the hero art holds still (site.js sets .is-off). */
.cgf-ahero__art.is-off, .cgf-ahero__art.is-off * { animation-play-state: paused !important; }
@keyframes cgf-orbit-sway {
	0%, 100% { transform: rotate(0deg) translateY(0); }
	30% { transform: rotate(2.4deg) translateY(-7px); }
	65% { transform: rotate(-1.6deg) translateY(5px); }
}
@keyframes cgf-orb-breathe {
	0%, 100% { transform: scale(1); opacity: .55; }
	50% { transform: scale(1.05); opacity: .68; }
}
@keyframes cgf-float-a {
	0%, 100% { translate: 0 0; }
	25% { translate: 7px -6px; }
	50% { translate: 0 -12px; }
	75% { translate: -7px -6px; }
}
@keyframes cgf-float-b {
	0%, 100% { translate: 0 0; }
	25% { translate: -6px 5px; }
	50% { translate: 0 10px; }
	75% { translate: 6px 5px; }
}
@keyframes cgf-note-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}
@keyframes cgf-steam {
	0% { opacity: 0; stroke-dasharray: 34 100; stroke-dashoffset: 34; transform: translateY(6px) scaleX(.85); }
	20% { opacity: .75; }
	70% { opacity: .35; }
	100% { opacity: 0; stroke-dasharray: 34 100; stroke-dashoffset: -66; transform: translateY(-10px) scaleX(1.15); }
}

/* ---------- 1.7.1: case study pages ---------- */
/* Section labels beside text (Creative Direction, Inside the site, ...) read as titles, so the left column is never an empty gap. */
.cgf-story__head > .cgf-label,
.cgf-case2__caption > .cgf-label { position: sticky; top: 110px; align-self: start; margin: 0; padding-top: 18px; font-size: clamp(24px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.cgf-story__head > .cgf-label::before,
.cgf-case2__caption > .cgf-label::before { content: ""; position: absolute; top: 0; left: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--case-accent, var(--cgf-accent)); }
.cgf-case2__caption > .cgf-label:empty { visibility: hidden; }
.cgf-case2__caption { align-items: start; }
.cgf-story__head > div { min-width: 0; }

/* The closing card takes on the project's own accent instead of the site's lavender. */
@supports (background: color-mix(in srgb, red 50%, blue)) {
	.cgf-case2 .cgf-story--outcome .cgf-story__card { background: linear-gradient(180deg, color-mix(in srgb, var(--case-accent, var(--cgf-accent)) 5%, #fff) 0%, color-mix(in srgb, var(--case-accent, var(--cgf-accent)) 14%, #fff) 100%); }
}

/* Write-up: text on the left, a sticky side panel on the right. */
.cgf-wu { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.cgf-writeup.has-rail .cgf-wu { grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); }
.cgf-wu .cgf-writeup__body { max-width: 780px; }
.cgf-writeup__body h2 { scroll-margin-top: 110px; }
.cgf-writeup__body > h2:not(:first-child) { margin-top: 1.9em; }
.cgf-wu__rail { position: sticky; top: 110px; display: grid; gap: 14px; }
.cgf-wu__card { margin: 0; padding: 20px 22px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.cgf-wu__title { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cgf-wu__toc { position: relative; }
.cgf-wu__toc ol { margin: 0; padding: 0; list-style: none; }
.cgf-wu__toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--line); color: var(--muted); font-size: 14.5px; font-weight: 500; line-height: 1.35; text-decoration: none; transition: color .2s, border-color .2s; }
.cgf-wu__toc a:hover, .cgf-wu__toc a:focus-visible, .cgf-wu__toc a.is-current { color: var(--ink); border-left-color: var(--case-accent, var(--cgf-accent)); }
.cgf-wu__progress { display: block; height: 3px; margin-top: 16px; border-radius: 3px; background: var(--line); overflow: hidden; }
.cgf-wu__progress span { display: block; width: 100%; height: 100%; background: var(--case-accent, var(--cgf-accent)); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.cgf-wu__nums { display: grid; gap: 0; }
.cgf-wu__nums div { padding: 14px 0; border-bottom: 1px solid #eeebe7; }
.cgf-wu__nums div:first-child { padding-top: 2px; }
.cgf-wu__nums div:last-child { padding-bottom: 2px; border-bottom: 0; }
.cgf-wu__nums dt { font-size: clamp(30px, 2.6vw, 40px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--case-accent, var(--cgf-accent)); }
.cgf-wu__nums dd { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.cgf-wu__live { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14.5px; font-weight: 600; text-decoration: none; transition: transform .3s var(--ease); }
.cgf-wu__live:hover { transform: translateY(-2px); }
.cgf-wu__live svg { width: 14px; height: 14px; }
.cgf-wu__media { margin: 2.2em 0; }
.cgf-wu__media.is-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cgf-wu__media figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
@media (max-width: 1000px) {
	.cgf-writeup.has-rail .cgf-wu { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.cgf-wu__rail { position: static; }
	.cgf-wu__toc { display: none; }
	.cgf-wu__live { justify-self: start; }
	.cgf-story__head > .cgf-label, .cgf-case2__caption > .cgf-label { position: relative; top: 0; margin-bottom: 10px; }
}
@media (max-width: 560px) {
	.cgf-wu__media.is-pair { grid-template-columns: 1fr; }
}

/* ---------- 1.8.0: phone header and hero ---------- */
.cgf-nav__quick { display: none; }
.cgf-ahero__tp { display: none; }
@media (max-width: 860px) {
	/* Centered pill: logo, Work, Résumé, Hire Me, menu. */
	.cgf-header { left: 50%; right: auto; transform: translateX(-50%); width: max-content; max-width: calc(100vw - 16px); }
	.cgf-nav { gap: 4px; padding: 0 7px 0 18px; }
	.cgf-nav__quick { display: flex; order: 1; margin: 0 2px 0 6px; padding: 0; list-style: none; }
	.cgf-nav__quick a { display: block; padding: 9px 9px; border-radius: 999px; color: rgba(255,255,255,.86); font-size: 14px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: color .2s, background .2s; }
	.cgf-nav__quick a:hover, .cgf-nav__quick a[aria-current] { color: #fff; background: rgba(255,255,255,.1); }
	.cgf-header .cgf-nav__cta { margin-left: 4px; white-space: nowrap; }
	.cgf-header .cgf-nav__toggle { margin-left: 4px; }
	/* Drop-down: centered under the pill, links centered. */
	.cgf-nav__panel { left: 50%; right: auto; width: max(100%, 260px); transform: translate(-50%, -8px); }
	.cgf-nav__panel.is-open { transform: translate(-50%, 0); }
	.cgf-nav__menu a { text-align: center; }
	.cgf-nav__menu a::after { left: 50%; right: auto; width: 24px; margin-left: -12px; transform-origin: center; }
}
@media (max-width: 370px) {
	.cgf-nav { padding-left: 14px; }
	.cgf-logo { font-size: 26px; }
	.cgf-nav__quick { margin-left: 2px; }
	.cgf-nav__quick a { padding: 9px 6px; font-size: 13px; }
	.cgf-header .cgf-nav__cta { padding: 8px 12px; font-size: 12.5px; }
	.cgf-header .cgf-nav__toggle { width: 38px; height: 38px; }
}

/* Phone hero (Home and About): photo on the left, a tall stacked heading beside it (about the photo's height), the rest centered below. */
@media (max-width: 640px) {
	.cgf-ahero { padding: 92px 0 64px; }
	.cgf-ahero__grid { grid-template-columns: minmax(0, 1fr) auto; column-gap: 14px; row-gap: 0; align-items: center; }
	.cgf-ahero__copy { display: contents; }
	.cgf-ahero__eyebrow { grid-column: 1 / -1; grid-row: 1; justify-self: center; max-width: 100%; margin: 0 0 6px; padding: 7px 14px; font-size: 10.5px; letter-spacing: .1em; text-align: center; text-wrap: balance; }
	.cgf-ahero .cgf-ahero__art { grid-column: 1; grid-row: 2; justify-self: stretch; width: 100%; max-width: none; margin: 0; z-index: 0; }
	.cgf-ahero__title { position: relative; z-index: 2; grid-column: 2; grid-row: 2; margin: 0; font-size: calc(8.0vw - 5px); line-height: 1; letter-spacing: -.045em; white-space: nowrap; }
	.cgf-ahero__title .cgf-ahero__tw { display: none; }
	.cgf-ahero__title .cgf-ahero__tp { display: inline; }
	.cgf-ahero__intro, .cgf-ahero__copy > .cgf-avail, .cgf-ahero__actions, .cgf-ahero__trust { grid-column: 1 / -1; }
	.cgf-ahero__intro { margin: 18px auto 0; text-align: center; font-size: 16px; }
	.cgf-ahero__copy > .cgf-avail { justify-self: center; max-width: 100%; margin-top: 18px; padding: 8px 14px 8px 12px; font-size: 13px; line-height: 1.35; text-align: center; text-wrap: balance; }
	.cgf-ahero__actions { justify-content: center; margin-top: 24px; }
	.cgf-ahero__trust { justify-self: center; margin-top: 26px; }
	.cgf-ahero .cgf-ahero__note { display: none; }
	.cgf-ahero__art.has-photo .cgf-ahero__frame { transform: translate(calc(var(--img-xm, 0) * 100cqw / 540), calc(var(--img-ym, 0) * 100cqw / 540)) scale(var(--img-s, 1)); }
	.cgf-ahero .cgf-ahero__spark--a { top: -2%; right: 4%; width: 22px; height: 22px; }
	.cgf-ahero .cgf-ahero__spark--b { right: auto; left: 4%; bottom: 6%; width: 13px; height: 13px; }
}
/* ---------- 1.9.0: phone "Show more" for the experience list ---------- */
.cgf-more-btn { display: none; margin: 16px 0 0; text-align: center; }
@media (max-width: 640px) {
	.cgf-more-btn { display: block; }
	[data-cgf-more] { position: relative; overflow: hidden; transition: max-height .5s var(--ease); }
	[data-cgf-more].is-collapsed { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 110px), transparent 100%); mask-image: linear-gradient(to bottom, #000 calc(100% - 110px), transparent 100%); }
	.cgf-more-btn .cgf-btn { min-width: 150px; justify-content: center; }
	/* Experience: two columns on phones; the first row shows, the second peeks and fades. */
	.cgf-cred { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cgf-cred li { padding: 16px 14px; border-radius: 18px; align-content: start; }
	.cgf-cred strong { font-size: 15px; overflow-wrap: break-word; }
	.cgf-cred span { font-size: 13px; line-height: 1.45; }
	.cgf-cred small { font-size: 11px; letter-spacing: .05em; line-height: 1.45; }
}
@media (prefers-reduced-motion: reduce) { [data-cgf-more] { transition: none; } }
/* ---------- 1.9.0: 404 with next steps and recent projects ---------- */
.cgf-404 { padding-bottom: clamp(48px, 7vw, 90px); }
.cgf-404 .cgf-page__head { margin-bottom: 30px; }
.cgf-404__paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cgf-404__path { display: grid; align-content: start; gap: 8px; padding: 22px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px #eeebe7; color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s; }
.cgf-404__path:hover, .cgf-404__path:focus-visible { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--cgf-accent), 0 22px 40px -28px rgba(0,0,0,.35); }
.cgf-404__tag { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cgf-accent); }
.cgf-404__title { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 21px; letter-spacing: -.02em; }
.cgf-404__text { font-size: 14.5px; line-height: 1.5; color: #5f5e68; }
.cgf-404__recent { margin-top: clamp(48px, 6vw, 80px); }
.cgf-404__recent .cgf-section__head { margin-bottom: 22px; }
.cgf-404__projs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cgf-404__home { margin-top: 40px; text-align: center; }
@media (max-width: 1024px) {
	.cgf-404__paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cgf-404__projs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cgf-404__projs > :nth-child(3) { display: none; }
}
@media (max-width: 640px) {
	.cgf-404__paths, .cgf-404__projs { grid-template-columns: minmax(0, 1fr); }
	.cgf-404__projs > :nth-child(3) { display: flex; }
	.cgf-404__path { padding: 18px 20px; }
}