/* HYUNJOON YOO + PARTNERS — design tokens and component styles.
   Layout and copy live in Elementor; every class below is set in a widget's
   Advanced > CSS Classes field. */

:root {
	--hy-bg: #F3F2EC;
	--hy-paper: #FAF9F5;
	--hy-ink: #222220;
	--hy-ink-2: #45443F;
	--hy-mute: #7A7972;
	--hy-line: #CBC9C0;
	--hy-dark: #1B1B19;
	--hy-on-dark: #EDECE6;
	--hy-accent: #EE3D0C;
	--hy-gutter: clamp(20px, 5vw, 64px);
	--hy-side: max(var(--hy-gutter), calc((100% - var(--hy-max)) / 2));
	--hy-max: 1300px;
	--hy-head: 128px;
	--hy-sec: clamp(88px, 12vw, 180px);
	--hy-ease: cubic-bezier(.2, .7, .1, 1);
}

/* ---------- Base ---------- */
html { background: var(--hy-bg); }
/* Fonts, sizes and text colours come from Elementor Site Settings > Typography.
   These shortcuts read the same Global Fonts for component text the editor can't reach. */
body.hy {
	--hy-sans: var(--e-global-typography-text-font-family, "Geist"), "Pretendard Variable", Pretendard, sans-serif;
	--hy-mono: var(--e-global-typography-secondary-font-family, "Geist Mono"), "Pretendard Variable", monospace;
	--hy-fs-label: var(--e-global-typography-hylabel-font-size, .875rem);
	/* text colours follow Site Settings > Global Colors (small-text safe variants) */
	--hy-mute: var(--e-global-color-secondary, #6B6A63);
	--hy-mute-dark: var(--e-global-color-hymd001, #9C9B93);
	--hy-accent-text: var(--e-global-color-hyat001, #C8330A);
	--hy-accent-dark: var(--e-global-color-hyad001, #FF5A2C);
	--hy-fs-btn: var(--e-global-typography-accent-font-size, .9375rem);
	--hy-fs-small: var(--e-global-typography-hysmall-font-size, 1.0625rem);
	--hy-fs-body: var(--e-global-typography-text-font-size, 1.125rem);
	--hy-fs-h4: var(--e-global-typography-hyh4-font-size, 1.375rem);
	--hy-fs-h3: var(--e-global-typography-hyh3-font-size, 1.875rem);
	--hy-fs-lead: var(--e-global-typography-hylead-font-size, 1.5rem);
	--hy-fs-display: var(--e-global-typography-hydisp-font-size, 7rem);
	background: var(--hy-bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.hy a { text-decoration: none; }
.hy .hy-dark a:not(:hover):not(.elementor-button), .hy .hy-footer a:not(:hover):not(.elementor-button) { color: inherit; }
.hy .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.hy ::selection { background: var(--hy-accent); color: #fff; }
.hy img { display: block; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.hy :focus-visible { outline: 2px solid var(--hy-accent); outline-offset: 3px; }

/* ---------- Layout primitives ---------- */
.hy .e-con.hy-dark { background: var(--hy-dark); color: var(--hy-on-dark); }

/* ---------- Type: Site Settings. Only raw-HTML labels and rich-text inner elements here ---------- */
.hy span.hy-label { font-family: var(--hy-mono); font-size: var(--hy-fs-label); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; color: var(--hy-mute); }
.hy .hy-prose h3 { font-size: var(--hy-fs-h4); font-weight: 500; color: var(--hy-ink); margin: 2em 0 .6em; letter-spacing: -.01em; }
.hy .hy-prose ul { margin: 0 0 1.2em; padding: 0; list-style: none; }
.hy .hy-prose li { padding: 10px 0; border-top: 1px solid var(--hy-line); }
.hy .hy-prose li:last-child { border-bottom: 1px solid var(--hy-line); }
.hy .hy-ko, .hy .hy-ko p { font-family: "Pretendard Variable", Pretendard, var(--hy-sans); word-break: keep-all; }

/* ---------- Buttons / links ---------- */
.hy .hy-btn .elementor-button {
	background: var(--hy-ink);
	color: var(--hy-bg);
	transition: background .3s var(--hy-ease), transform .3s var(--hy-ease);
}
.hy .hy-btn .elementor-button:hover { background: var(--hy-accent); color: #fff; }
.hy .hy-btn .elementor-button:active { transform: scale(.97); }
.hy .hy-btn--line .elementor-button { background: transparent; color: var(--hy-ink); box-shadow: inset 0 0 0 1px var(--hy-ink); }
.hy .hy-btn--line .elementor-button:hover { background: var(--hy-ink); color: var(--hy-bg); }
.hy .hy-dark .hy-btn--line .elementor-button { color: var(--hy-on-dark); box-shadow: inset 0 0 0 1px var(--hy-on-dark); }
.hy .hy-dark .hy-btn--line .elementor-button:hover { background: var(--hy-on-dark); color: var(--hy-dark); }
.hy .hy-arrow-link a, .hy a.hy-arrow-link {
	font-family: var(--hy-mono); font-size: var(--hy-fs-btn); letter-spacing: .06em; text-transform: uppercase;
	display: inline-flex; gap: 10px; align-items: center; border-bottom: 1px solid currentColor; padding-bottom: 4px;
	transition: color .25s;
}
.hy .hy-arrow-link a:hover, .hy a.hy-arrow-link:hover { color: var(--hy-accent-text); }
.hy .hy-dark .hy-arrow-link a:hover, .hy .hy-dark a.hy-arrow-link:hover { color: var(--hy-accent-dark); }

/* ---------- Header ---------- */
.hy .jet-theme-core-location--header-location, .hy .elementor-location-header { position: relative; z-index: 50; }
.hy .e-con.hy-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 60;
	background: color-mix(in srgb, var(--hy-bg) 88%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid transparent;
	transition: transform .45s var(--hy-ease), border-color .3s;
}
.hy.hy-scrolled .e-con.hy-header { border-bottom-color: var(--hy-line); }
.hy.hy-head-hidden .e-con.hy-header { transform: translateY(-101%); }
.hy .hy-logo .elementor-heading-title { font-family: var(--hy-sans); font-size: 17px; font-weight: 600; letter-spacing: .01em; color: var(--hy-ink); white-space: nowrap; }
.hy .hy-logo .elementor-heading-title span { color: var(--hy-accent); }
.hy .hy-coords { font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .06em; color: var(--hy-mute); font-variant-numeric: tabular-nums; }
.hy .hy-nav .elementor-nav-menu--main .elementor-item {
	font-family: var(--hy-mono); font-size: var(--hy-fs-btn); font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
	color: var(--hy-ink); padding: 6px 0; margin: 0 14px;
}
.hy .hy-nav .elementor-nav-menu--main .elementor-item:hover,
.hy .hy-nav .elementor-nav-menu--main .elementor-item.elementor-item-active { color: var(--hy-accent-text); }
.hy .hy-nav .elementor-nav-menu--main .elementor-item::after { background-color: var(--hy-accent) !important; height: 1px !important; }
.hy .hy-nav .elementor-menu-toggle { background: transparent; color: var(--hy-ink); font-size: 22px; }
.hy .hy-nav .elementor-nav-menu--dropdown { background: var(--hy-bg); border-top: 1px solid var(--hy-line); }
.hy .hy-nav .elementor-nav-menu--dropdown .elementor-item { font-family: var(--hy-sans); font-size: 32px; font-weight: 500; letter-spacing: -.02em; color: var(--hy-ink); padding: 14px var(--hy-gutter); }
.hy .hy-nav .elementor-nav-menu--dropdown .elementor-item:hover { background: transparent; color: var(--hy-accent); }
.hy main, .hy .page-content, .hy .site-main { padding-top: 0; }

/* ---------- Hero ---------- */
.hy .hy-frame { position: relative; }
.hy .hy-frame .elementor-widget-container, .hy .hy-frame a { display: block; overflow: hidden; }
.hy .hy-frame img {
	width: 100%; height: calc(100svh - var(--hy-head) - 96px); min-height: 380px; object-fit: cover;
}
.hy .hy-frame::before, .hy .hy-frame::after {
	content: ""; position: absolute; width: 22px; height: 22px; z-index: 2; pointer-events: none;
	border: 1px solid var(--hy-ink);
}
.hy .hy-frame::before { top: -8px; left: -8px; border-right: 0; border-bottom: 0; }
.hy .hy-frame::after { bottom: -8px; right: -8px; border-left: 0; border-top: 0; }
.hy .hy-caption { display: flex; justify-content: space-between; gap: 16px; font-family: var(--hy-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--hy-mute); margin-top: 14px; }
.hy .hy-caption a:hover { color: var(--hy-accent); }

/* ---------- Statement (word reveal) ---------- */
.hy .hy-statement .hy-w { opacity: .14; transition: opacity .2s linear; }
.hy .hy-statement .hy-w.is-on { opacity: 1; }
html:not(.hy-js) .hy .hy-statement .hy-w { opacity: 1; }
.hy .hy-quote-row { --flex-direction: row; --flex-wrap: wrap; --justify-content: space-between; --align-items: flex-start; --gap: 40px; margin-top: clamp(40px, 5vw, 80px); }
.hy .hy-quote-row > * { flex: 1 1 280px; max-width: 520px; }

/* ---------- Section heads ---------- */
.hy .e-con.hy-head {
	border-bottom: 1px solid var(--hy-line);
}
.hy .hy-dark .e-con.hy-head { border-bottom-color: #3A3A36; }

/* ---------- Project cards (listing item "프로젝트 카드") ---------- */
.hy .hy-grid .jet-listing-grid__items { counter-reset: hy-card; row-gap: clamp(40px, 4vw, 64px); }
.hy .hy-grid .jet-listing-grid__item { counter-increment: hy-card; }
.hy .e-con.hy-card { position: relative; }
.hy .hy-card__img { overflow: hidden; position: relative; background: #E4E2DA; }
.hy .hy-card__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s var(--hy-ease), filter .6s; }
.hy .hy-card:hover .hy-card__img img { transform: scale(1.045); }
.hy .hy-card__img::after {
	content: ""; position: absolute; inset: 10px; pointer-events: none;
	border: 1px solid var(--hy-accent); opacity: 0; transform: scale(1.03);
	transition: opacity .35s, transform .5s var(--hy-ease);
}
.hy .hy-card:hover .hy-card__img::after { opacity: 1; transform: none; }
.hy .hy-card__title .jet-listing-dynamic-link__link,
.hy .hy-card__title .jet-listing-dynamic-field__content { font-size: var(--hy-fs-h4); font-weight: 500; letter-spacing: -.01em; line-height: 1.25; color: var(--hy-ink); transition: color .25s; }
.hy .hy-card:hover .hy-card__title .jet-listing-dynamic-link__link { color: var(--hy-accent); }
.hy .hy-card__no::before {
	content: counter(hy-card, decimal-leading-zero);
	font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .06em; color: var(--hy-mute);
}
.hy .hy-card__tag .jet-listing-dynamic-field__content { font-family: "Pretendard Variable", Pretendard, var(--hy-sans); font-size: var(--hy-fs-small); color: var(--hy-mute); line-height: 1.45; word-break: keep-all; }

/* Home: featured grid with a varied rhythm */
@media (min-width: 1025px) {
	.hy .hy-grid--feature .jet-listing-grid__items { display: grid !important; grid-template-columns: repeat(12, 1fr); column-gap: var(--hy-gutter); margin: 0 !important; width: 100% !important; }
	.hy .hy-grid--feature .jet-listing-grid__item { width: auto !important; max-width: none !important; padding: 0 !important; }
	.hy .hy-grid--feature .jet-listing-grid__item:nth-child(6n+1) { grid-column: 1 / span 7; }
	.hy .hy-grid--feature .jet-listing-grid__item:nth-child(6n+2) { grid-column: 9 / span 4; margin-top: 8rem; }
	.hy .hy-grid--feature .jet-listing-grid__item:nth-child(6n+3) { grid-column: 2 / span 4; }
	.hy .hy-grid--feature .jet-listing-grid__item:nth-child(6n+4) { grid-column: 7 / span 6; margin-top: 6rem; }
	.hy .hy-grid--feature .jet-listing-grid__item:nth-child(6n+5) { grid-column: 1 / span 6; }
	.hy .hy-grid--feature .jet-listing-grid__item:nth-child(6n+6) { grid-column: 8 / span 5; margin-top: 8rem; }
	.hy .hy-grid--feature .jet-listing-grid__item:nth-child(6n+1) .hy-card__img img,
	.hy .hy-grid--feature .jet-listing-grid__item:nth-child(6n+4) .hy-card__img img { aspect-ratio: 3 / 2; }
	.hy .hy-grid--feature .jet-listing-grid__item:nth-child(6n+2) .hy-card__img img,
	.hy .hy-grid--feature .jet-listing-grid__item:nth-child(6n+3) .hy-card__img img { aspect-ratio: 4 / 5; }
}

/* ---------- Stats band ---------- */
.hy .e-con.hy-stats { border-top: 1px solid #3A3A36; }
.hy .e-con.hy-stat { border-right: 1px solid #3A3A36; }
.hy .e-con.hy-stat:last-child { border-right: 0; }
.hy .hy-count .elementor-heading-title sup { font-size: .32em; color: var(--hy-accent); vertical-align: top; position: relative; top: .35em; margin-left: .1em; }

/* ---------- Data rows (awards / publications / exhibitions / media) ---------- */
.hy .hy-rows .jet-listing-grid__items { display: block !important; margin: 0 !important; width: 100% !important; }
.hy .hy-rows .jet-listing-grid__item { width: 100% !important; max-width: none !important; padding: 0 !important; }
.hy .e-con.hy-row {
	border-top: 1px solid var(--hy-line);
	transition: background .25s, padding .35s var(--hy-ease);
}
.hy .hy-rows .jet-listing-grid__item:last-child .hy-row { border-bottom: 1px solid var(--hy-line); }
.hy .e-con.hy-row:hover { background: var(--hy-paper); --padding-left: 12px; --padding-right: 12px; }
.hy .hy-row .jet-listing-dynamic-field__content { line-height: 1.4; }
.hy .hy-row__year { flex: 0 0 110px; }
.hy .hy-row__year .jet-listing-dynamic-field__content { font-family: var(--hy-mono); font-size: var(--hy-fs-label); color: var(--hy-mute); font-variant-numeric: tabular-nums; }
.hy .hy-row__title { flex: 1 1 48%; }
.hy .hy-row__title .jet-listing-dynamic-field__content { font-size: var(--hy-fs-h4); font-weight: 500; color: var(--hy-ink); letter-spacing: -.005em; }
.hy .hy-row__sub { flex: 1 1 26%; }
.hy .hy-row__sub .jet-listing-dynamic-field__content { font-size: var(--hy-fs-small); color: var(--hy-ink-2); }
.hy .hy-row__tag { flex: 0 0 150px; text-align: right; }
.hy .hy-row__tag .jet-listing-dynamic-field__content { font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .05em; text-transform: uppercase; color: var(--hy-accent-text); }
.hy .hy-dark .hy-row__tag .jet-listing-dynamic-field__content { color: var(--hy-accent-dark); }
.hy .hy-dark .hy-row__year .jet-listing-dynamic-field__content, .hy .hy-dark span.hy-label { color: var(--hy-mute-dark); }
.hy .hy-row .jet-listing-dynamic-field__content:empty { display: none; }
.hy .hy-dark .e-con.hy-row { border-top-color: #3A3A36; }
.hy .hy-dark .hy-rows .jet-listing-grid__item:last-child .hy-row { border-bottom-color: #3A3A36; }
.hy .hy-dark .e-con.hy-row:hover { background: #24241F; }
.hy .hy-dark .hy-row__title .jet-listing-dynamic-field__content { color: var(--hy-on-dark); }
.hy .hy-dark .hy-row__sub .jet-listing-dynamic-field__content { color: #B5B4AC; }

/* Load more */
.hy .jet-listing-grid__loader, .hy .jet-listing-grid__load-more { font-family: var(--hy-mono); }
.hy .jet-listing-grid__more {
	display: inline-flex; margin-top: 40px; background: transparent; color: var(--hy-ink); box-shadow: inset 0 0 0 1px var(--hy-ink);
	border-radius: 999px; padding: 14px 24px; font-family: var(--hy-mono); font-size: var(--hy-fs-btn); letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
	transition: background .25s, color .25s;
}
.hy .jet-listing-grid__more:hover { background: var(--hy-ink); color: var(--hy-bg); }

/* ---------- Books ---------- */
.hy .hy-books .jet-listing-grid__items { row-gap: 40px; }
.hy .hy-book__cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: 0 1px 0 rgba(34,34,32,.08), 0 18px 30px -18px rgba(60,55,40,.45); transition: transform .6s var(--hy-ease); }
.hy .hy-book:hover .hy-book__cover img { transform: translateY(-6px) rotate(-1deg); }
.hy .hy-book__title .jet-listing-dynamic-field__content { font-size: var(--hy-fs-small); font-weight: 500; line-height: 1.3; color: var(--hy-ink); }
.hy .hy-book__meta .jet-listing-dynamic-field__content { font-family: var(--hy-mono); font-size: var(--hy-fs-label); color: var(--hy-mute); letter-spacing: .03em; }

/* ---------- Sub navigation (Office) ---------- */
.hy .e-con.hy-subnav {
	position: sticky; top: var(--hy-head); z-index: 30;
	background: color-mix(in srgb, var(--hy-bg) 92%, transparent); backdrop-filter: blur(8px);
	border-top: 1px solid var(--hy-line); border-bottom: 1px solid var(--hy-line);
}
.hy .hy-chip .elementor-button {
	background: transparent; color: var(--hy-ink); box-shadow: inset 0 0 0 1px var(--hy-line);
	border-radius: 999px; padding: 9px 16px; font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .06em; text-transform: uppercase;
	transition: box-shadow .25s, color .25s;
}
.hy .hy-chip .elementor-button:hover, .hy .hy-chip.is-active .elementor-button { box-shadow: inset 0 0 0 1px var(--hy-accent); color: var(--hy-accent-text); }
.hy [id] { scroll-margin-top: calc(var(--hy-head) + 72px); }

/* ---------- Toggle (Korean essay) ---------- */
.hy .hy-toggle .elementor-tab-title { border: 0 !important; border-top: 1px solid var(--hy-line) !important; padding: 20px 0 !important; font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .06em; text-transform: uppercase; }
.hy .hy-toggle .elementor-tab-title a, .hy .hy-toggle .elementor-toggle-icon { color: var(--hy-ink) !important; }
.hy .hy-toggle .elementor-tab-title.elementor-active a, .hy .hy-toggle .elementor-tab-title:hover a { color: var(--hy-accent) !important; }
.hy .hy-toggle .elementor-tab-content { border: 0 !important; padding: 8px 0 32px !important; max-width: 40em; color: var(--hy-ink-2); font-family: "Pretendard Variable", Pretendard, var(--hy-sans); word-break: keep-all; }
.hy .hy-toggle .elementor-tab-content p { margin: 0 0 1.1em; }

/* ---------- Project single ---------- */
.hy .hy-single-title .jet-listing-dynamic-field__content, .hy .hy-single-title .elementor-heading-title {
	font-family: var(--hy-sans); font-weight: 500; font-size: var(--hy-fs-display); line-height: .98; letter-spacing: -.035em; color: var(--hy-ink);
}
.hy .hy-single-tag .jet-listing-dynamic-field__content { font-family: "Pretendard Variable", Pretendard, var(--hy-sans); font-size: var(--hy-fs-lead); color: var(--hy-ink-2); word-break: keep-all; }
.hy .e-con.hy-meta { border-top: 1px solid var(--hy-line); }
.hy .hy-meta > .elementor-widget { flex: 1 1 160px; padding: 14px 20px 0 0; }
.hy .hy-meta .jet-listing-dynamic-field__content { font-size: var(--hy-fs-small); color: var(--hy-ink); }
.hy .hy-meta .jet-listing-dynamic-field__content span { display: block; font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .08em; text-transform: uppercase; color: var(--hy-mute); margin-bottom: 4px; }
.hy .hy-single-hero img { width: 100%; height: min(86vh, 1000px); object-fit: cover; }
.hy .hy-gallery .jet-engine-gallery-grid { --columns: 2; margin: 0 calc(var(--hy-gutter) / -2) !important; }
.hy .hy-gallery .jet-engine-gallery-grid__item { padding: calc(var(--hy-gutter) / 2) !important; }
.hy .hy-gallery .jet-engine-gallery-grid__item:nth-child(5n+1) { flex: 0 0 100% !important; max-width: 100% !important; }
.hy .hy-gallery .jet-engine-gallery-item-wrap img, .hy .hy-gallery img { width: 100%; height: auto; }
.hy .hy-gallery .jet-engine-gallery-item-wrap { cursor: zoom-in; display: block; overflow: hidden; }
.hy .hy-postnav .elementor-post-navigation { border-top: 1px solid var(--hy-line); padding-top: 28px; }
.hy .hy-postnav .post-navigation__prev--label, .hy .hy-postnav .post-navigation__next--label { font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .06em; text-transform: uppercase; color: var(--hy-mute); }
.hy .hy-postnav .post-navigation__prev--title, .hy .hy-postnav .post-navigation__next--title { font-size: var(--hy-fs-h3); font-weight: 500; letter-spacing: -.02em; color: var(--hy-ink); text-transform: none; }
.hy .hy-postnav a:hover .post-navigation__prev--title, .hy .hy-postnav a:hover .post-navigation__next--title { color: var(--hy-accent); }
.hy .hy-postnav .elementor-post-navigation__separator { background: var(--hy-line); }

/* ---------- People ---------- */
.hy .e-con.hy-person > .e-con:first-child { position: sticky; top: calc(var(--hy-head) + 40px); }
.hy .hy-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.hy .hy-portrait:hover img, .hy .hy-portrait.is-color img { filter: none; } /* is-color: added by site.js at the sticky point */
.hy .hy-cv { display: grid; grid-template-columns: 160px 1fr; gap: 0; border-top: 1px solid var(--hy-line); }
.hy .hy-cv dt, .hy .hy-cv dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--hy-line); }
.hy .hy-cv dt { font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .06em; text-transform: uppercase; color: var(--hy-mute); padding-top: 19px; }
.hy .hy-cv dd { color: var(--hy-ink); }
.hy .hy-cv dd p { margin: 0 0 4px; }
.hy .hy-social { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Contact / CTA / footer ---------- */
.hy .hy-mail a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--hy-ease), color .3s; }
.hy .hy-mail a:hover { color: var(--hy-accent); background-size: 100% 2px; }
.hy .e-con.hy-info { border-top: 1px solid var(--hy-line); }
.hy .hy-dark .e-con.hy-info { border-top-color: #3A3A36; }
.hy .hy-info .jet-listing-dynamic-field__content, .hy .hy-info .elementor-widget-text-editor { font-size: var(--hy-fs-body); line-height: 1.55; white-space: pre-line; }
.hy .hy-info a:hover { color: var(--hy-accent); }
.hy .hy-map iframe { filter: grayscale(1) contrast(.95); height: clamp(320px, 42vw, 560px); }
.hy .e-con.hy-footer { background: var(--hy-dark); color: var(--hy-on-dark); }
.hy .hy-footer .elementor-heading-title span { color: var(--hy-accent-dark); }
.hy .e-con.hy-footer-base { border-top: 1px solid #3A3A36; }

/* ---------- Motion (progressive; content stays visible without JS) ---------- */
.hy-js .hy-reveal { opacity: 0; transform: translateY(28px); }
.hy-js .hy-clip img { clip-path: inset(0 0 100% 0); }
.hy-js.hy-ready .hy-reveal, .hy-js.hy-ready .hy-clip img { will-change: transform, opacity, clip-path; }
@media (prefers-reduced-motion: reduce) {
	.hy-js .hy-reveal { opacity: 1; transform: none; }
	.hy-js .hy-clip img { clip-path: none; }
	.hy .hy-statement .hy-w { opacity: 1; }
}
.elementor-editor-active .hy-reveal, .elementor-editor-active .hy-clip img { opacity: 1 !important; transform: none !important; clip-path: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hy .hy-coords { display: none; }
	.hy .hy-row__tag { flex-basis: 110px; }
}
@media (max-width: 767px) {
	.hy .hy-row__year { flex: 0 0 auto; }
	.hy .hy-row__title { flex: 1 1 100%; order: 2; }
	.hy .hy-row__sub { flex: 1 1 100%; order: 3; }
	.hy .hy-row__tag { flex: 1 1 auto; text-align: left; order: 1; }
	.hy .e-con.hy-stat { border-right: 0; border-bottom: 1px solid #3A3A36; }
	.hy .hy-gallery .jet-engine-gallery-grid__item { flex: 0 0 100% !important; max-width: 100% !important; }
	.hy .e-con.hy-person > .e-con:first-child { position: static; }
	.hy .hy-cv { grid-template-columns: 1fr; }
	.hy .hy-cv dt { padding-bottom: 0; border-bottom: 0; }
	.hy .hy-frame img { height: 56vh; }
	.hy .e-con.hy-subnav { top: var(--hy-head); }
}

/* ---------- Fixes after first review ---------- */
.hy .e-con.hy-head + .hy-rows .jet-listing-grid__item:first-child .hy-row { border-top: 0; }
.hy.hy-head-hidden .e-con.hy-subnav { top: 0; }
.hy .e-con.hy-subnav { transition: top .45s var(--hy-ease); }
@media (max-width: 767px) {
}

/* =========================================================
   Heron-style layer: blueprint grid, HUD, loader, sequence
   ========================================================= */

/* Blueprint column grid behind the page */
body.hy::before {
	content: ""; position: fixed; inset: 0 max(var(--hy-gutter), calc((100vw - var(--hy-max)) / 2)); z-index: -1; pointer-events: none;
	background-image: repeating-linear-gradient(to right,
		rgba(34, 34, 32, .055) 0 1px, transparent 1px calc(100% / 12));
	border-right: 1px solid rgba(34, 34, 32, .055);
}

/* Section heads with a bracketed index */
.hy .hy-label .elementor-heading-title { white-space: nowrap; }

/* Project cards: bracketed number, HUD on hover */
.hy .hy-card__no::before { content: "[" counter(hy-card, decimal-leading-zero) "]"; }
.hy .hy-card__img::before {
	content: "View project →"; position: absolute; left: 18px; bottom: 16px; z-index: 2;
	font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .08em; text-transform: uppercase;
	color: #fff; background: var(--hy-accent); padding: 6px 9px;
	opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--hy-ease);
	pointer-events: none;
}
.hy .hy-card:hover .hy-card__img::before { opacity: 1; transform: none; }
.hy .hy-card__img::after { border-style: solid; border-width: 0; inset: 10px;
	background:
		linear-gradient(var(--hy-accent), var(--hy-accent)) top left / 18px 1px no-repeat,
		linear-gradient(var(--hy-accent), var(--hy-accent)) top left / 1px 18px no-repeat,
		linear-gradient(var(--hy-accent), var(--hy-accent)) top right / 18px 1px no-repeat,
		linear-gradient(var(--hy-accent), var(--hy-accent)) top right / 1px 18px no-repeat,
		linear-gradient(var(--hy-accent), var(--hy-accent)) bottom left / 18px 1px no-repeat,
		linear-gradient(var(--hy-accent), var(--hy-accent)) bottom left / 1px 18px no-repeat,
		linear-gradient(var(--hy-accent), var(--hy-accent)) bottom right / 18px 1px no-repeat,
		linear-gradient(var(--hy-accent), var(--hy-accent)) bottom right / 1px 18px no-repeat;
}

/* ---------- Intro loader (once per session) ---------- */
.hy .hy-loader-wrap { position: absolute !important; margin: 0 !important; width: 0; height: 0; }
.hy-loader {
	position: fixed; inset: 0; z-index: 200; background: var(--hy-bg); color: var(--hy-ink);
	display: flex; padding: var(--hy-gutter);
	animation: hyLoaderFailsafe .6s ease 4.2s forwards;
}
html:not(.hy-js) .hy-loader, .hy-intro-done .hy-loader, .elementor-editor-active .hy-loader { display: none !important; }
.hy-loader.is-out { transform: translateY(-100%); transition: transform .9s cubic-bezier(.76, 0, .24, 1); }
@keyframes hyLoaderFailsafe { to { opacity: 0; visibility: hidden; } }
.hy-loader__in { flex: 1; display: flex; flex-direction: column; justify-content: space-between; font-family: var(--hy-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.hy-loader__top { display: flex; justify-content: space-between; color: var(--hy-mute); }
.hy-loader__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hy-loader__list li { display: flex; gap: 24px; opacity: .18; transition: opacity .2s, color .2s; }
.hy-loader__list li.is-on { opacity: 1; }
.hy-loader__list li.is-now { color: var(--hy-accent); }
.hy-loader__list span { color: var(--hy-mute); }
.hy-loader__foot { display: flex; align-items: flex-end; gap: 24px; }
.hy-loader__bar { flex: 1; height: 1px; background: var(--hy-line); position: relative; overflow: hidden; }
.hy-loader__bar i { position: absolute; inset: 0; background: var(--hy-accent); transform-origin: left; transform: scaleX(0); }
.hy-loader__pct { font-family: var(--hy-sans); font-size: clamp(56px, 9vw, 140px); line-height: .8; letter-spacing: -.05em; font-variant-numeric: tabular-nums; text-transform: none; }

/* ---------- Hero HUD ---------- */
.hy .e-con.hy-hero-media { position: relative; }
.hy .hy-hud-wrap { position: absolute !important; inset: 0; margin: 0 !important; width: 100% !important; max-width: none !important; z-index: 3; pointer-events: none; }
.hy .hy-hud-wrap > .elementor-widget-container { height: 100%; }
.hy-hud { position: absolute; inset: 0; font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .07em; text-transform: uppercase; color: #fff; overflow: hidden; }
.hy-hud__x, .hy-hud__y { position: absolute; background: rgba(255, 255, 255, .7); opacity: 0; transition: opacity .3s; pointer-events: none; }
.hy-hud__x { left: 0; right: 0; height: 1px; top: var(--cy, 50%); }
.hy-hud__y { top: 0; bottom: 0; width: 1px; left: var(--cx, 50%); }
.hy-hud.is-tracking .hy-hud__x, .hy-hud.is-tracking .hy-hud__y { opacity: 1; }
.hy-hud__readout { position: absolute; top: 14px; right: 16px; background: rgba(27, 27, 25, .72); padding: 6px 9px; font-variant-numeric: tabular-nums; backdrop-filter: blur(6px); }
.hy-hud__hint { position: absolute; top: 14px; left: 16px; background: rgba(27, 27, 25, .72); padding: 6px 9px; transition: opacity .3s; }
.hy-hud.is-tracking .hy-hud__hint { opacity: 0; }
.hy-pin { position: absolute; left: var(--x); top: var(--y); transition: left .7s var(--hy-ease), top .7s var(--hy-ease); }
.hy-pin i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border: 1px solid #fff; border-radius: 50%; background: rgba(238, 61, 12, .9); box-shadow: 0 0 0 6px rgba(238, 61, 12, .22); }
.hy-pin i::after { content: ""; position: absolute; inset: -12px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; animation: hyPing 2.4s var(--hy-ease) infinite; }
.hy-pin b { position: absolute; left: 18px; top: -12px; white-space: nowrap; font-weight: 500; background: var(--hy-accent); color: #fff; padding: 5px 8px; }
.hy-pin b::before { content: ""; position: absolute; right: 100%; top: 50%; width: 11px; height: 1px; background: var(--hy-accent); }
@keyframes hyPing { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.hy-js .hy-hud .hy-pin { opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .6s var(--hy-ease), left .7s var(--hy-ease), top .7s var(--hy-ease); }
.hy-js .hy-hud.is-in .hy-pin { opacity: 1; transform: none; }
.hy-hud.is-in .hy-pin:nth-of-type(2) { transition-delay: .15s; }
.hy-hud.is-in .hy-pin:nth-of-type(3) { transition-delay: .3s; }
.hy-hud__panel {
	position: absolute; left: 16px; bottom: 16px; pointer-events: auto;
	background: rgba(243, 242, 236, .94); color: var(--hy-ink); backdrop-filter: blur(8px);
	padding: 14px 16px 12px; min-width: 240px;
}
.hy-hud__panel dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0 0 12px; }
.hy-hud__panel dt { color: var(--hy-mute); }
.hy-hud__panel dd { margin: 0; color: var(--hy-ink); }
.hy-hud__panel a { display: block; border-top: 1px solid var(--hy-line); padding-top: 10px; color: var(--hy-ink); transition: color .2s; }
.hy-hud__panel a:hover { color: var(--hy-accent); }
.hy-scrollcue { font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .06em; text-transform: uppercase; color: var(--hy-mute); animation: hyBlink 1.6s steps(2, start) infinite; }
@keyframes hyBlink { to { visibility: hidden; } }

/* ---------- Relationship sequence (sticky image + steps) ---------- */
.hy .e-con.hy-seq__media {
	position: sticky; top: calc(var(--hy-head) + 32px); aspect-ratio: 4 / 3;
	background: var(--hy-dark); overflow: hidden;
}
.hy .hy-seq__media > .elementor-widget { position: absolute !important; inset: 0; margin: 0 !important; width: 100% !important; max-width: none !important; }
.hy .hy-seq__img img { width: 100%; height: 100%; object-fit: cover; }
.hy .hy-seq__img .elementor-widget-container { height: 100%; }
.hy .hy-seq__img { opacity: 0; transform: scale(1.04); transition: opacity .8s var(--hy-ease), transform 1.4s var(--hy-ease); }
.hy .hy-seq__img.is-active { opacity: 1; transform: none; }
.hy-seq__hud { position: absolute; inset: 0; pointer-events: none; font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .07em; text-transform: uppercase; color: #fff; }
.hy-seq__hud::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .35); }
.hy-seq__count { position: absolute; left: 16px; bottom: 16px; background: rgba(27, 27, 25, .72); padding: 6px 9px; }
.hy .hy-seq__media .elementor-widget-html { z-index: 3; }
.hy .e-con.hy-step {
	border-top: 1px solid var(--hy-line);
	opacity: .32; transition: opacity .5s;
}
.hy .e-con.hy-step.is-active { opacity: 1; }
.hy .hy-step__meta { display: flex; gap: 14px; margin: 0; font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .07em; text-transform: uppercase; }
.hy .hy-step__no { color: var(--hy-mute); }
.hy .hy-step__rel { color: var(--hy-accent-text); }
.hy .hy-step .hy-h3 a:hover { color: var(--hy-accent); }
.hy .hy-seq .hy-arrow-link { margin-top: 28px; }

@media (max-width: 767px) {
	.hy .e-con.hy-seq__media { top: 60px; aspect-ratio: 4 / 3; z-index: 5; }
	.hy-hud__panel { left: 10px; bottom: 10px; min-width: 0; padding: 10px 12px; }
	.hy-hud__panel dl { margin-bottom: 8px; }
	.hy-hud__hint { display: none; }
	.hy-pin b { font-size: var(--hy-fs-label); }
}
/* Hero photo: keep the baked-in caption of the source image out of frame */
.hy .hy-hero-media .hy-frame img { object-position: 78% 50%; }
/* Sequence images always fill the frame, portrait or landscape */
.hy .hy-seq__media .hy-seq__img .elementor-widget-container,
.hy .hy-seq__media .hy-seq__img a { display: block; height: 100% !important; }
.hy .hy-seq__media .hy-seq__img img { width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; }

/* ---------- Projects: building-type filter (JetSmartFilters radio) ---------- */
.hy .e-con.hy-filterbar {
	border-top: 1px solid var(--hy-line); border-bottom: 1px solid var(--hy-line);
}
.hy .hy-filterbar__label { flex: 0 0 auto; }
.hy .hy-typefilter { flex: 1 1 auto; min-width: 0; }
.hy .hy-typefilter .jet-radio-list-wrapper { margin: 0 !important; }
.hy .hy-typefilter fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.hy .hy-typefilter .jet-radio-list__row { margin: 0; }
.hy .hy-typefilter .jet-radio-list__item { display: block; cursor: pointer; margin: 0; }
.hy .hy-typefilter .jet-radio-list__input { position: absolute; opacity: 0; pointer-events: none; }
.hy .hy-typefilter .jet-radio-list__decorator { display: none; }
.hy .hy-typefilter .jet-radio-list__button {
	display: inline-flex; align-items: center; margin: 0;
	padding: 9px 16px; border-radius: 999px; background: transparent; border: 0;
	box-shadow: inset 0 0 0 1px var(--hy-line); color: var(--hy-ink);
	font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .06em; text-transform: uppercase; line-height: 1;
	transition: box-shadow .25s, color .25s, background-color .25s;
}
.hy .hy-typefilter .jet-radio-list__label { font: inherit; color: inherit; }
.hy .hy-typefilter .jet-radio-list__item:hover .jet-radio-list__button { box-shadow: inset 0 0 0 1px var(--hy-accent); color: var(--hy-accent-text); }
.hy .hy-typefilter .jet-radio-list__input:checked + .jet-radio-list__button { background: var(--hy-ink); color: var(--hy-bg); box-shadow: inset 0 0 0 1px var(--hy-ink); }
.hy .hy-typefilter .jet-radio-list__input:focus-visible + .jet-radio-list__button { outline: 2px solid var(--hy-accent); outline-offset: 3px; }
/* grid fades while the filter is fetching */
.hy .hy-grid { transition: opacity .3s; }
.hy .hy-grid.jet-listing-grid-loading, .hy .hy-grid .jet-listing-grid-loading { opacity: .35; }

/* card: building type above the title */
.hy .hy-card__type { margin-top: 14px; }
.hy .hy-card__type .jet-listing-dynamic-terms__link { font-family: var(--hy-mono); font-size: var(--hy-fs-label); letter-spacing: .06em; text-transform: uppercase; color: var(--hy-mute); }

@media (max-width: 767px) {
	.hy .hy-typefilter fieldset { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: -1.25rem; padding-right: 1.25rem; }
	.hy .hy-typefilter .jet-radio-list__button { white-space: nowrap; }
}

/* ---------- Brand logo (original HY+P monogram) ---------- */
.hy .hy-logo--img { width: auto; flex: 0 0 auto; }
.hy .hy-logo--img img { display: block; height: 64px; width: auto; max-width: none; }
.hy .hy-logo--img a { display: block; }
.hy .hy-footer .hy-footer-logo img { height: 88px; width: auto; filter: invert(1) brightness(.93); }
@media (max-width: 767px) {
	.hy { --hy-head: 96px; }
	.hy .hy-logo--img img { height: 52px; }
	.hy .hy-footer .hy-footer-logo img { height: 64px; }
	.hy .hy-label .elementor-heading-title { white-space: normal; }
}
.hy .e-con.hy-head + .e-con.hy-filterbar { border-top: 0; }

/* ---------- Philosophy: statement + photo stay pinned, steps 1-4 scroll past (desktop) ---------- */
@media (min-width: 1025px) {
	/* pin line: under the header, or the very top while the header is hidden */
	body.hy { --hy-pin-top: var(--hy-head); --hy-stmt-pad-b: 4.5rem; }
	body.hy.hy-head-hidden { --hy-pin-top: 0px; }
	/* padding-bottom is the gap above the photo (kept opaque so passing steps never show);
	   margin-bottom = photo height, cancelled by the row's negative margin, so both un-pin together */
	.hy .hy-words.hy-statement {
		position: sticky; top: var(--hy-pin-top); z-index: 6; background: var(--hy-bg);
		padding: 1rem 0 var(--hy-stmt-pad-b); margin-bottom: var(--hy-media-h, 0px);
		transition: top .45s var(--hy-ease);
	}
	.hy .hy-words.hy-statement.is-pinned { box-shadow: 0 calc(var(--hy-pin-top) * -1) 0 0 var(--hy-bg); }
	.hy .e-con.hy-seq { margin-block-start: calc(var(--margin-block-start, 0px) - var(--hy-media-h, 0px) - var(--hy-stmt-pad-b) + 1.5rem); }
	.hy .e-con.hy-seq__media {
		top: calc(var(--hy-pin-top) + var(--hy-stmt-h, 0px));
		max-height: calc(100vh - var(--hy-head) - var(--hy-stmt-h, 0px) - 1.5rem);
		transition: top .45s var(--hy-ease);
	}
}


/* ---------- Contact: Kakao map (same embed and tweaks as the original site) ---------- */
.hy .hy-map .root_daum_roughmap { width: 100% !important; border: 1px solid var(--hy-line); }
.hy .hy-map .root_daum_roughmap .wrap_map { width: 100% !important; }
.hy .hy-map .root_daum_roughmap .cont { display: none; }

/* Site Settings paragraph spacing is meant for body text; headings set to the <p> tag keep no bottom margin */
.hy .elementor-widget-heading .elementor-heading-title { margin-block-end: 0; }
