@charset "utf-8";

/* ==========================================================================
   CamTalk / service/camtalker.php - 캠톡커, the wide window (ctd1).

   SCOPE. Every rule is inside `@media only screen and (min-width: 1001px)`,
   the other side of the project's breakpoint (css/camtalk-camtalker-
   mobile.css is `max-width: 1000px` from its first rule to its last), and
   under `.ctm-page`, the class only this page puts on <body>. The phone is
   not touched by a line of this file. It is linked from camtalker.php itself.

   ONE PAGE FOR BOTH WIDTHS. The wide window lays out the phone's own
   markup - the same strings, icons, artwork, lane and links.

   THE LAYOUT, top to bottom:
     hero      the wide still under the site's transparent bar, words at the
               lower left on the container line (as vod.php and creator.php)
     ACTIVITY  the heading on top, the three cards in one row (ctd2)
     DOES      words left (45%), the phone and hand right (55%)
     FLOW      four cards in one row under a numbered line; 2 x 2 below 1180
     closing   one compact band: heart, words, red button on the right
   then the shared footer.

   SCALE at 1440: container 1200 (gutters 120), 1280 from 1680; section
   headings 40, body copy 18-19, step titles 22 and copy 17; sections 104
   apart. Type is the site's Paperozi.

   STACKING. .gnb is z-index 1; every section here is its own stacking
   context at z-index 0.
   ========================================================================== */

@media only screen and (min-width: 1001px) {

	.ctm-page {
		--cd-max: 1200px;
		--cd-gutter: clamp(40px, 6vw, 120px);
		--cd-w: min(var(--cd-max), calc(100% - 2 * var(--cd-gutter)));
		--cd-side: calc((100% - var(--cd-w)) / 2);
		--cd-air: clamp(88px, 7.2vw, 108px);
		--cd-gap: 24px;

		--cm-tint: #fdf5f6;
		--cm-blush: #fff3f6;
		--cm-ink: #17171d;
		--cm-ink-2: #43434d;
		--cm-muted: #7f7f8a;
		--cm-red: #e8253f;
		--cm-red-deep: #cf1b33;
		--cd-header: 96px;               /* .gnb on a wide window (camtalk-header.css) */
	}

	.ctm, .ctm *, .ctm *::before, .ctm *::after { box-sizing: border-box; }
	.ctm-page .ctm[hidden] { display: flex; }
	/* column flex for the reason the phone file gives: it drops the
	   whitespace between sections instead of giving it a line box */
	.ctm { display: flex; flex-direction: column; background: #fff; color: var(--cm-ink); }
	.ctm img { display: block; max-width: 100%; }
	.ctm a { text-decoration: none; }
	.ctm ul, .ctm ol { list-style: none; margin: 0; padding: 0; }
	:where(.ctm) :where(h1, h2, h3, p) { margin: 0; }
	.ctm a:focus-visible { outline: 3px solid var(--cm-red); outline-offset: 3px; }

	/* the phone's line breaks, dropped (the script has put a space before
	   each, so no two words are glued) */
	.ctm [data-ctm-flow]:not(.ctm-hero__title) br { display: none; }
	/* the hero heading: Korean keeps its three phrases, English is balanced */
	html[lang="en"] .ctm-hero__title br { display: none; }
	html[lang="en"] .ctm-hero__title { text-wrap: balance; }
	/* no one-word last line where the browser can avoid it */
	.ctm-lede, .ctm-act__desc, .ctm-step__desc, .ctm-cta__desc { text-wrap: pretty; }
	/* three lines in a 600px block: pretty left "수 있습니다." alone */
	.ctm-hero__desc { text-wrap: balance; }
	.ctm-title, .ctm-act__title, .ctm-step__title, .ctm-cta__title { text-wrap: balance; }

	/* the bar's hairline would be ruled across the photograph; it returns
	   when js/common.js turns the bar white past 150px */
	.ctm-page .gnb:not(.gnb_invert) { border-bottom-color: transparent; }

	/* ======================================================================
	   SHARED PARTS
	   ====================================================================== */

	.ctm-eyebrow {
		font-size: 14px;
		font-weight: 700;
		letter-spacing: .18em;
		color: var(--cm-red);
	}
	.ctm-eyebrow--light { color: #ff8b9c; }

	.ctm-title {
		margin-top: 14px;
		font-size: clamp(36px, 2.8vw, 42px);   /* 40 at 1440 */
		font-weight: 800;
		line-height: 1.24;
		letter-spacing: -.03em;
		color: var(--cm-ink);
		word-break: keep-all;
	}

	.ctm-lede {
		margin-top: 22px;
		font-size: clamp(18px, 1.3vw, 19px);
		line-height: 1.78;
		letter-spacing: -.015em;
		color: var(--cm-ink-2);
		word-break: keep-all;
	}
	html[lang="en"] .ctm-title,
	html[lang="en"] .ctm-lede,
	html[lang="en"] .ctm-hero__title,
	html[lang="en"] .ctm-hero__desc,
	html[lang="en"] .ctm-act__title,
	html[lang="en"] .ctm-act__desc,
	html[lang="en"] .ctm-step__title,
	html[lang="en"] .ctm-step__desc,
	html[lang="en"] .ctm-cta__title,
	html[lang="en"] .ctm-cta__desc { word-break: normal; overflow-wrap: break-word; }

	.ctm-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		min-height: 56px;
		padding: 0 30px;
		border-radius: 999px;
		font-size: 17px;
		font-weight: 700;
		letter-spacing: -.01em;
		white-space: nowrap;
		transition: background-color .2s, transform .2s, box-shadow .2s;
	}
	.ctm-btn--red {
		background: var(--cm-red);
		color: #fff;
		box-shadow: 0 0 0 1px rgba(232, 37, 63, .22), 0 12px 28px -12px rgba(232, 37, 63, .7);
	}
	.ctm-btn--red span { color: #fff; }
	.ctm-btn--red:hover { background: var(--cm-red-deep); transform: translateY(-1px); }
	.ctm-btn__arrow svg {
		display: block;
		width: 18px;
		height: 18px;
		fill: none;
		stroke: currentColor;
		stroke-width: 2;
		stroke-linecap: round;
		stroke-linejoin: round;
	}

	.ctm-sec {
		position: relative;
		z-index: 0;
		isolation: isolate;
		padding: var(--cd-air) var(--cd-side);
		background: #fff;
	}
	.ctm-sec--tint { background: var(--cm-tint); }
	.ctm-sec--blush { background: var(--cm-blush); }

	/* ======================================================================
	   1. HERO - one screen with the bar lying over its top
	   ====================================================================== */

	.ctm-hero {
		position: relative;
		z-index: 0;
		isolation: isolate;
		display: flex;
		flex-direction: column;
		min-height: 100vh;
		min-height: 100svh;
		overflow: hidden;
		background: #05060a;
	}

	/* The still is 1672 x 941 (16 : 9). Her face is at 64-75% across and
	   20-35% down, the phone and its CamTalk screen at 53-61% / 30-51%. Held
	   at 70% / 35%: a 16 : 10 window spends its crop on the dark lounge at
	   the left, a wide one a little of the ceiling and the floor, and the
	   face, the hand and the screen stay whole from 1001 x 700 to 1920 x 900. */
	.ctm-hero__img {
		position: absolute;
		inset: 0;
		width: 100%;
		height: 100%;
		max-width: none;
		object-fit: cover;
		object-position: 70% 35%;
	}

	/* Local, not a veil: a short band under the bar (the spotlight flares
	   behind the logo), a pool at the lower left where the words are - the
	   gold glints on the counter are the bright spots there - and a low ramp
	   along the foot. Face, phone and dress are outside all three. */
	.ctm-hero__shade {
		position: absolute;
		inset: 0;
		z-index: 1;
		pointer-events: none;
		background:
			linear-gradient(to bottom, rgba(4, 5, 10, .55) 0, rgba(4, 5, 10, .28) 110px, rgba(4, 5, 10, 0) 200px),
			radial-gradient(62% 70% at 0% 100%, rgba(4, 5, 10, .80) 0%, rgba(4, 5, 10, .64) 36%, rgba(4, 5, 10, .30) 64%, rgba(4, 5, 10, 0) 100%),
			linear-gradient(to top, rgba(4, 5, 10, .55) 0%, rgba(4, 5, 10, .28) 16%, rgba(4, 5, 10, .06) 30%, rgba(4, 5, 10, 0) 40%);
	}

	.ctm-hero__body {
		position: relative;
		z-index: 2;
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		width: var(--cd-w);
		margin: 0 auto;
		padding: calc(var(--cd-header) + 26px) 0 clamp(56px, 7.2vh, 72px);
		color: #fff;
	}

	.ctm-crumb {
		margin-bottom: auto;
		padding-bottom: 32px;
		font-size: 14px;
		font-weight: 600;
		letter-spacing: .01em;
		color: rgba(255, 255, 255, .78);
	}
	.ctm-crumb b { color: #fff; font-weight: 700; }
	.ctm-crumb span { margin: 0 8px; opacity: .6; }

	/* 600px at most, and never wider than 44% of the window: at 1280 the
	   phone in her hand starts at 52% of the screen. */
	.ctm-hero__copy { max-width: min(600px, 44vw); }

	.ctm-hero__title {
		margin-top: 16px;
		font-size: clamp(54px, min(4.3vw, 7.2vh), 66px);  /* 62 at 1440 x 900 */
		font-weight: 800;
		line-height: 1.14;
		letter-spacing: -.035em;
		color: #fff;
		word-break: keep-all;
		text-shadow: 0 2px 20px rgba(0, 0, 0, .3);
	}

	/* English phrases are longer: "who connect with fans" has to stay one
	   line inside the 600px block, or "fans" ends up alone on a fourth. */
	html[lang="en"] .ctm-hero__title { font-size: clamp(46px, min(3.6vw, 6.2vh), 54px); }

	.ctm-hero__desc {
		margin-top: 22px;
		font-size: clamp(18px, 1.32vw, 20px);
		line-height: 1.66;
		letter-spacing: -.015em;
		color: rgba(255, 255, 255, .84);
		word-break: keep-all;
	}

	.ctm-hero__copy .ctm-btn { margin-top: 32px; }
	.ctm-hero__copy .ctm-btn:focus-visible { outline-color: #fff; }

	/* ======================================================================
	   2. CAMTALKER ACTIVITY - the heading on top, the three cards in a row
	   (ctd2, 2026-10-21)

	   On the phone the three cards are a lane, one at a time. Here all three
	   stand side by side: the track is a three-column grid, every card is
	   lit and as tall as the tallest, and there are no dots. The script
	   runs the lane only below 1000px (no timer, no swipe, no inline
	   transform here); `transform: none` below is the belt to that brace.
	   ====================================================================== */

	/* THE SEAMS. ACTIVITY, DOES and FLOW are three pink fields in a row, so
	   a full measure of air on both sides of each join read as ~240px of
	   empty pink. Each join is one total split across its two sides:
	   cards -> DOES ~120, phone -> FLOW ~130, last card -> closing ~130. */
	.ctm-hero + .ctm-sec { padding-bottom: 64px; }
	.ctm-hero + .ctm-sec .ctm-head { margin: 0 0 32px; }
	.ctm-acts { min-width: 0; }

	.ctm-acts__view {
		overflow: visible;
		touch-action: auto;
		padding: 0;
		margin: 0;
	}
	.ctm-acts__track,
	.ctm-acts__track.is-animated {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		align-items: stretch;
		gap: 24px;
		transform: none !important;
		transition: none;
		will-change: auto;
	}
	.ctm-acts__track > .ctm-act,
	.ctm-acts__track > .ctm-act.is-on {
		flex: none;
		max-width: none;
		min-width: 0;
		opacity: 1;
		transition: none;
		box-shadow:
			inset 0 1px 0 rgba(255, 255, 255, .9),
			0 18px 28px -22px rgba(214, 38, 72, .38);
	}
	.ctm-dots { display: none; }

	/* THE CARD: the icon on its round base on top, then the heading and the
	   paragraph, all from the left edge - the phone's rose-to-white panel,
	   the colour running from the top. */
	.ctm-act {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		padding: 30px 30px 34px;
		border: 1px solid rgba(232, 37, 63, .10);
		border-radius: 24px;
		background:
			radial-gradient(90% 46% at 18% 0%, rgba(255, 206, 219, .55) 0%, rgba(255, 206, 219, 0) 72%),
			linear-gradient(180deg, #ffe9ef 0%, #fff6f8 42%, #ffffff 100%);
		text-align: left;
	}
	.ctm-act__media {
		flex: 0 0 auto;
		display: block;
		width: 92px;
		height: 92px;
		border-radius: 50%;
		background: radial-gradient(circle at 34% 26%, #ffffff 0%, #fff4f6 46%, #ffe0e8 100%);
		box-shadow:
			inset 0 0 0 1px rgba(255, 255, 255, .95),
			0 12px 22px -14px rgba(214, 38, 72, .36);
	}
	.ctm-act__icon { display: block; width: 100%; height: 100%; overflow: visible; }
	.ctm-act__body { min-width: 0; margin-top: 22px; }
	.ctm-act__title {
		font-size: clamp(21px, 1.65vw, 24px);
		font-weight: 800;
		line-height: 1.32;
		letter-spacing: -.035em;
		color: var(--cm-ink);
		word-break: keep-all;
	}
	.ctm-act__desc {
		margin-top: 12px;
		font-size: 17px;
		line-height: 1.7;
		letter-spacing: -.015em;
		color: #5c4a51;
		word-break: keep-all;
	}

	/* ======================================================================
	   3. WHAT A CAMTALKER DOES - words 45%, the phone 55%
	   ====================================================================== */

	.ctm-does {
		position: relative;
		z-index: 0;
		isolation: isolate;
		display: grid;
		grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
		column-gap: 48px;
		align-items: center;
		padding: 56px var(--cd-side) 40px;
		background:
			radial-gradient(34% 46% at 72% 58%, rgba(255, 176, 198, .55) 0%, rgba(255, 176, 198, 0) 70%),
			radial-gradient(60% 50% at 24% 30%, rgba(255, 224, 232, .70) 0%, rgba(255, 224, 232, 0) 74%),
			linear-gradient(to bottom, var(--cm-blush) 0%, #fff7f9 22%, #ffeff3 64%, var(--cm-tint) 100%);
	}
	/* the bloom the phone rises out of, centred under the right column */
	.ctm-does__glow {
		position: absolute;
		z-index: 0;
		left: 0;
		right: 0;
		bottom: 0;
		top: 0;
		pointer-events: none;
		/* full width and shaped by the gradient alone, and gone before the
		   section's foot: a box that starts mid-section drew its own left
		   edge across the field, and a bloom centred ON the foot was cut
		   straight by the next section */
		background: radial-gradient(36% 40% at 72% 62%, rgba(255, 138, 168, .40) 0%, rgba(255, 138, 168, .16) 46%, rgba(255, 138, 168, 0) 80%);
	}
	.ctm-does__copy { position: relative; z-index: 1; max-width: 540px; text-align: left; }
	.ctm-does__stage {
		position: relative;
		z-index: 1;
		display: flex;
		justify-content: center;
	}
	/* The artwork is 880 x 1564 with real alpha, shown whole at its own
	   proportion. 420px wide at most - the file is 2.1x that, so it holds on
	   a 2x screen; nothing larger is claimed. */
	.ctm-does__phone {
		display: block;
		width: clamp(330px, 29vw, 420px);
		max-width: 100%;
		height: auto;
	}

	/* ======================================================================
	   4. CAMTALKER FLOW - a numbered line, four cards under it
	   ====================================================================== */

	.ctm-does + .ctm-sec { padding-top: 88px; padding-bottom: 72px; }
	.ctm-does + .ctm-sec .ctm-head { margin-bottom: 48px; }

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

	/* Each step is a column: its number on the line above, then a white
	   card (the ::before, so the line can run between the numbers without
	   crossing a card) holding the icon, the title and the paragraph. All
	   four stretch to the tallest. */
	.ctm-step {
		position: relative;
		z-index: 0;
		isolation: isolate;
		display: flex;
		flex-direction: column;
		padding: calc(62px + 32px) 28px 34px;
	}
	.ctm-step::before {
		content: "";
		position: absolute;
		inset: 62px 0 0 0;
		z-index: -1;
		border-radius: 22px;
		background: #fff;
		box-shadow:
			0 1px 0 rgba(23, 23, 29, .04),
			0 14px 34px -16px rgba(84, 30, 40, .16);
	}
	.ctm-step__rail {
		position: absolute;
		top: 0;
		left: 28px;
		display: block;
		width: 40px;
		height: 40px;
	}
	.ctm-step__num {
		position: relative;
		z-index: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 999px;
		background: var(--cm-red);
		color: #fff;
		font-size: 14px;
		font-weight: 800;
		letter-spacing: .01em;
		box-shadow: 0 8px 16px -8px rgba(232, 37, 63, .7);
	}
	/* The phone's vertical rail, laid on its side: from just past this
	   number to just short of the next, behind both and above the cards. */
	.ctm-step::after {
		content: "";
		position: absolute;
		z-index: 0;
		top: 19px;
		left: calc(28px + 40px + 12px);
		right: calc(-1 * (var(--cd-gap) + 28px - 12px));
		height: 2px;
		border-radius: 1px;
		background: linear-gradient(to right, rgba(232, 37, 63, .34) 0%, rgba(232, 37, 63, .12) 100%);
	}
	.ctm-step--last::after { display: none; }

	.ctm-step__icon { display: block; width: 88px; height: 88px; }
	.ctm-step__icon img { width: 100%; height: 100%; object-fit: contain; }
	.ctm-step__body { margin-top: 22px; }
	.ctm-step__title {
		font-size: clamp(21px, 1.6vw, 23px);
		font-weight: 800;
		line-height: 1.34;
		letter-spacing: -.03em;
		color: var(--cm-ink);
		word-break: keep-all;
	}
	.ctm-step__desc {
		margin-top: 10px;
		font-size: 17px;
		line-height: 1.68;
		letter-spacing: -.015em;
		color: var(--cm-muted);
		word-break: keep-all;
	}

	/* ======================================================================
	   5. THE CLOSING BAND - heart, words, button, one row
	   ====================================================================== */

	.ctm-cta {
		position: relative;
		z-index: 0;
		isolation: isolate;
		padding: 56px var(--cd-side) 88px;
		background: var(--cm-blush);
	}
	.ctm-cta__box {
		position: relative;
		display: grid;
		grid-template-columns: auto minmax(0, 1fr) auto;
		grid-template-areas: "heart title btn" "heart desc btn";
		column-gap: 28px;
		align-items: center;
	}
	.ctm-cta__heart {
		grid-area: heart;
		align-self: start;
		position: static;
		width: 52px;
		height: 52px;
	}
	.ctm-cta__title {
		grid-area: title;
		padding-right: 0;
		font-size: clamp(32px, 2.5vw, 38px);
		font-weight: 800;
		line-height: 1.3;
		letter-spacing: -.035em;
		color: var(--cm-ink);
		word-break: keep-all;
	}
	.ctm-cta__title em { font-style: normal; color: var(--cm-red); }
	.ctm-cta__desc {
		grid-area: desc;
		margin-top: 12px;
		font-size: 18px;
		line-height: 1.68;
		letter-spacing: -.015em;
		color: #8a6570;
		word-break: keep-all;
	}
	.ctm-cta__btn {
		grid-area: btn;
		min-height: 60px;
		padding: 0 36px;
		font-size: 18px;
		box-shadow: 0 0 0 1px rgba(232, 37, 63, .18), 0 12px 24px -12px rgba(232, 37, 63, .6);
	}

	/* ======================================================================
	   THE REVEAL - the phone's: one-shot, armed by the script only on what
	   was below the fold, never under reduced motion
	   ====================================================================== */

	.ctm [data-ctm-reveal].is-armed {
		opacity: 0;
		transform: translateY(12px);
		transition: opacity .5s ease, transform .5s cubic-bezier(.22, .61, .36, 1);
	}
	.ctm [data-ctm-reveal].is-armed.is-in { opacity: 1; transform: none; }

	/* ======================================================================
	   NARROW AND WIDE
	   ====================================================================== */

	@media (max-width: 1179px) {
		.ctm-page { --cd-gap: 20px; }
		/* two by two: the line joins 01-02 and 03-04, the pairs on one row */
		.ctm-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
		.ctm-step:nth-child(2n)::after { display: none; }
		/* still three across: tighter cards and a smaller icon */
		.ctm-acts__track, .ctm-acts__track.is-animated { gap: 20px; }
		.ctm-act { padding: 24px 22px 28px; border-radius: 22px; }
		.ctm-act__media { width: 76px; height: 76px; }
		.ctm-act__body { margin-top: 18px; }
		.ctm-act__title { font-size: 20px; }
		.ctm-act__desc { font-size: 16px; }
		/* the button goes under the words */
		.ctm-cta__box {
			grid-template-columns: auto minmax(0, 1fr);
			grid-template-areas: "heart title" "heart desc" "heart btn";
		}
		.ctm-cta__btn { justify-self: start; margin-top: 28px; }
	}

	@media (min-width: 1680px) {
		.ctm-page { --cd-max: 1280px; }
	}

	@media (prefers-reduced-motion: reduce) {
		.ctm [data-ctm-reveal].is-armed { opacity: 1; transform: none; transition: none; }
		.ctm-btn { transition: none; }
		.ctm-btn--red:hover { transform: none; }
	}
}
