/* ==========================================================================
   Great Work OS waitlist (v3.6.7): /great-work-os/ and /great-work-os/thank-you/.
   Copy from the Rainmaker funnel, typeset in the KE obsidian-gold language:
   Cormorant Garamond headlines, Archivo UI, foil eyebrow and gold button,
   same treatments as the home v37 and Great Work heroes. The hand photo
   stays on the left (the approved composition); text sits in the dark right.
   Loads after architecture.css on these two pages only.
   ========================================================================== */
@font-face{font-family:'Cormorant Garamond';font-style:normal;font-weight:500 700;font-display:swap;src:url('../fonts/CormorantGaramond-normal-500-700.woff2') format('woff2')}
@font-face{font-family:'Cormorant Garamond';font-style:italic;font-weight:500 700;font-display:swap;src:url('../fonts/CormorantGaramond-italic-500-700.woff2') format('woff2')}

.ke-page-gwos {
	--gw-serif: "Cormorant Garamond", "Literata", Georgia, serif;
	--gw-ui: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--gw-left: max(var(--ke-gutter), calc((100vw - var(--ke-max)) / 2));
	--gw-shine: linear-gradient(100deg, rgba(255, 252, 238, 0) 0%, rgba(255, 252, 238, 0) 44%, rgba(255, 252, 238, .95) 50%, rgba(255, 252, 238, 0) 56%, rgba(255, 252, 238, 0) 100%);
	--gw-grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	--gw-brush: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, rgba(0, 0, 0, .035) 1px 2px, transparent 2px 4px);
	--gw-foil: linear-gradient(112deg, #7E5B1F 0%, #C9A24E 10%, #F3DC98 19%, #FFF6D2 23%, #D7B160 30%, #8E6826 41%, #B58C3D 49%, #EED596 58%, #FFF4CC 62%, #CDA552 70%, #86621F 82%, #C9A455 92%, #EBD28E 100%);
	background: #0B0A09;
	color: #F4EFE6;
}

/* ---------- Hero: hand on the left, copy on the right ---------- */
.gwos-hero {
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; align-items: center;
	min-height: clamp(560px, 78vh, 760px);
	background: #0B0A09; color: #F4EFE6;
	border-bottom: 1px solid rgba(214, 178, 96, .38);
}
.gwos-hero::before {
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 5;
	background: linear-gradient(90deg, rgba(214,178,96,0) 0%, rgba(214,178,96,.55) 30%, rgba(243,220,152,.8) 60%, rgba(214,178,96,.35) 100%);
}

.gwos-hero__portrait {
	position: absolute; left: 0; top: 0; bottom: 0; width: 64%; z-index: 1; margin: 0;
}
.gwos-hero__img, .gwos-hero__img img { display: block; width: 100%; height: 100%; }
.gwos-hero__img img {
	object-fit: cover;
	object-position: 30% 45%;
	-webkit-mask-image: linear-gradient(90deg, #000 72%, transparent);
	mask-image: linear-gradient(90deg, #000 72%, transparent);
}

.gwos-hero__shade {
	position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(11,10,9,0) 0%, rgba(11,10,9,0) 48%, rgba(11,10,9,.55) 62%, rgba(11,10,9,.96) 78%, #0B0A09 100%),
		linear-gradient(0deg, rgba(11,10,9,.55) 0%, rgba(11,10,9,0) 22%);
}

.gwos-hero__copy {
	position: relative; z-index: 3;
	margin-left: 56%;
	padding: 64px max(var(--ke-gutter), 4vw) 64px 0;
	max-width: 620px;
	display: flex; flex-direction: column; align-items: flex-start;
}

.gwos-hero__eyebrow {
	display: flex; align-items: center; gap: .8em;
	margin: 0 0 1.1em; max-width: 100%;
	font-family: var(--gw-serif); font-weight: 600; font-size: clamp(11px, 1vw, 14px);
	letter-spacing: .12em; text-transform: uppercase; line-height: 1.35;
}
.gwos-hero__eyebrow::before {
	content: ""; flex: 0 0 auto; width: 1.8em; height: 1px;
	background: linear-gradient(90deg, rgba(214,178,96,0), #D9B766 40%, #F3DC98);
}
.gwos-hero__eyebrow span {
	color: #E2C27A;
	background-image: var(--gw-shine), var(--gw-grain), var(--gw-brush), var(--gw-foil);
	background-size: 260% 100%, 180px 180px, auto, 100% 100%;
	background-repeat: no-repeat, repeat, repeat, no-repeat;
	background-position: 100% 0, 0 0, 0 0, 0 0;
	background-blend-mode: normal, overlay, soft-light, normal;
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	animation: gwos-sheen 8s cubic-bezier(.45, 0, .2, 1) 1.2s infinite;
}

.gwos-hero__title {
	margin: 0;
	font-family: var(--gw-serif); font-weight: 600;
	font-size: clamp(36px, 4.3vw, 66px); line-height: 1.04; letter-spacing: -0.01em;
	color: #FBF8F2; text-shadow: 0 2px 18px rgba(0,0,0,.55);
	text-transform: none;
}
.gwos-hero__gold {
	font-style: italic; font-weight: 700;
	color: #E2C27A;
	background-image: var(--gw-shine), var(--gw-grain), var(--gw-brush), var(--gw-foil);
	background-size: 260% 100%, 180px 180px, auto, 100% 100%;
	background-repeat: no-repeat, repeat, repeat, no-repeat;
	background-position: 100% 0, 0 0, 0 0, 0 0;
	background-blend-mode: normal, overlay, soft-light, normal;
	-webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
	animation: gwos-sheen 8s cubic-bezier(.45, 0, .2, 1) 1.2s infinite;
	padding-right: .06em; filter: drop-shadow(0 2px 10px rgba(0,0,0,.55));
}

.gwos-hero__sub {
	margin: 1.05em 0 0; max-width: 18em;
	font-family: var(--gw-serif); font-style: italic; font-weight: 600;
	font-size: clamp(20px, 1.9vw, 28px); line-height: 1.25;
	color: #F7F3EC; text-shadow: 0 2px 14px rgba(0,0,0,.6);
}

.gwos-hero__ctas { margin-top: 1.6em; }
.gwos-hero__btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .7em;
	padding: 0 1.7em; min-height: 2.85em;
	font-family: var(--gw-ui); font-weight: 700; font-size: clamp(13px, 1.15vw, 17px);
	letter-spacing: .1em; text-transform: uppercase; color: #1A1206;
	border-radius: 3px;
	background-image: var(--gw-shine), var(--gw-grain), linear-gradient(180deg, #F4D98F 0%, #E2B95E 38%, #C99536 70%, #A9771F 100%);
	background-size: 260% 100%, 180px 180px, 100% 100%;
	background-repeat: no-repeat, repeat, no-repeat; background-position: 100% 0, 0 0, 0 0;
	background-blend-mode: normal, overlay, normal;
	box-shadow: inset 0 1px 0 rgba(255,246,214,.85), inset 0 -1px 0 rgba(90,60,12,.5), 0 10px 28px rgba(0,0,0,.5), 0 0 22px rgba(214,170,80,.22);
	animation: gwos-sheen 8s cubic-bezier(.45, 0, .2, 1) 3s infinite;
	transition: transform .25s ease, box-shadow .25s;
	text-align: center;
}
.gwos-hero__btn svg { width: .5em; height: .8em; flex: 0 0 auto; }
.gwos-hero__btn:hover, .gwos-hero__btn:focus-visible {
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 rgba(255,246,214,.9), inset 0 -1px 0 rgba(90,60,12,.5), 0 14px 34px rgba(0,0,0,.55), 0 0 30px rgba(230,190,100,.38);
}
.gwos-hero__btn:focus-visible { outline: 2px solid #F3DC98; outline-offset: 3px; }

@keyframes gwos-sheen {
	0% { background-position: 100% 0, 0 0, 0 0, 0 0; }
	26%, 100% { background-position: 0% 0, 0 0, 0 0, 0 0; }
}

/* ---------- Body copy ---------- */
.gwos-body {
	padding: 56px var(--ke-gutter) 20px;
}
.gwos-body__in {
	max-width: 680px; margin: 0 auto;
	font-family: var(--gw-serif);
	font-size: clamp(19px, 1.45vw, 22px);
	line-height: 1.7;
	color: #E8E2D6;
}
.gwos-body__in p { margin: 0 0 1.15em; }
.gwos-body__in em { font-style: italic; }
.gwos-lead {
	font-size: clamp(23px, 2vw, 30px);
	line-height: 1.4;
	font-weight: 500;
	color: #F7F3EC;
}
.gwos-body__in h2 {
	font-family: var(--gw-serif); font-weight: 600;
	font-size: clamp(26px, 2.5vw, 36px); line-height: 1.18;
	color: #FBF8F2;
	margin: 1.6em 0 .8em;
}

/* ---------- Join / form ---------- */
.gwos-join { padding: 10px var(--ke-gutter) 96px; }
.gwos-join__in { max-width: 680px; margin: 0 auto; }

/* ---------- Thank-you ---------- */
.gwos-ty {
	min-height: calc(100vh - var(--ke-header-h));
	display: flex; align-items: center;
	padding: 80px var(--ke-gutter) 100px;
	background: #0B0A09; color: #F4EFE6;
}
.gwos-ty__in { max-width: 640px; margin: 0 auto; }
.gwos-ty__title {
	margin: 0 0 28px;
	font-family: var(--gw-serif); font-weight: 600;
	font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05;
	color: #FBF8F2;
}
.gwos-ty__in p {
	font-family: var(--gw-serif);
	font-size: 20px; line-height: 1.7;
	color: #E8E2D6;
	margin: 0 0 1.1em;
}
.gwos-ty__q {
	font-size: clamp(22px, 2vw, 27px) !important;
	line-height: 1.45 !important;
	color: #F7F3EC !important;
	margin: 1.6em 0 !important;
	border-left: 1px solid rgba(214, 178, 96, .7);
	padding-left: 24px;
}
.gwos-ty__q em { font-style: italic; }
.gwos-ty__home a {
	font-family: var(--gw-ui); font-size: 16px; font-weight: 500;
	color: #F4EFE6; text-decoration: none;
	border-bottom: 1px solid #F4EFE6; padding-bottom: 3px;
}
.gwos-ty__home a:hover, .gwos-ty__home a:focus-visible { color: #F3EAD8; border-color: #D9B766; }
.gwos-ty__sig {
	font-family: var(--gw-serif) !important;
	font-style: italic; font-size: 22px !important;
	color: #E2C27A !important;
	margin-top: 44px !important;
}

@media (max-width: 1100px) {
	.gwos-hero__copy { margin-left: 52%; max-width: 540px; }
	.gwos-hero__portrait { width: 62%; }
}

/* mobile: photo on top, text below, fade into the type */
@media (max-width: 860px) {
	.gwos-hero { display: block; min-height: 0; }
	.gwos-hero__portrait {
		position: relative; inset: auto; width: 100%; height: auto;
		aspect-ratio: 4 / 3.4; max-height: 520px;
	}
	.gwos-hero__img img {
		object-position: 28% 50%;
		-webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 28%, #000 100%);
		mask-image: linear-gradient(0deg, transparent 0%, #000 28%, #000 100%);
	}
	.gwos-hero__shade { display: none; }
	.gwos-hero__copy {
		margin: -90px 0 0;
		padding: 70px var(--ke-gutter) 48px;
		max-width: none;
		background: linear-gradient(180deg, rgba(11,10,9,0), #0B0A09 70px);
	}
	.gwos-hero__title { font-size: clamp(32px, 9vw, 48px); }
	.gwos-hero__sub { font-size: clamp(20px, 5.6vw, 28px); max-width: 18em; }
	.gwos-hero__btn { width: 100%; max-width: 520px; min-height: 58px; font-size: 13px; letter-spacing: .08em; }
	.gwos-body { padding: 20px var(--ke-gutter) 10px; }
	.gwos-body__in { font-size: 19px; }
	.gwos-join { padding: 10px var(--ke-gutter) 72px; }
	.gwos-ty { padding: 56px var(--ke-gutter) 80px; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
	.gwos-hero__eyebrow span, .gwos-hero__gold, .gwos-hero__btn { animation: none; }
}
