/*
Theme Name: Gild Coffee Vantage Child
Theme URI: https://gildcoffee.picell.biz/
Description: Editorial renewal for Gild Coffee, built as a Vantage child theme.
Author: Gild Coffee
Template: vantage
Version: 1.0.24
Text Domain: gildcoffee
*/

:root {
	--gild-ink: #1f1c19;
	--gild-muted: #6f685f;
	--gild-paper: #f7f4ee;
	--gild-white: #fff;
	--gild-cream: #ebe3d6;
	--gild-coffee: #74533b;
	--gild-sage: #67705d;
	--gild-orange: #ffc166;
	--gild-line: rgba(31, 28, 25, 0.14);
	--gild-shadow: 0 20px 60px rgba(36, 28, 20, 0.08);
	--gild-shell: min(1180px, calc(100vw - 48px));
}

html {
	scroll-behavior: smooth;
}

body.gildcoffee-renewed {
	background: var(--gild-paper);
	color: var(--gild-ink);
	font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

body.gild-menu-lock {
	overflow: hidden;
}

/* Vantage uses overflow:hidden here, which prevents the sticky header. */
.gildcoffee-renewed #page-wrapper {
	overflow: visible !important;
}

.gildcoffee-renewed *,
.gildcoffee-renewed *::before,
.gildcoffee-renewed *::after {
	box-sizing: border-box;
}

.gildcoffee-renewed a {
	color: inherit;
}

.gildcoffee-renewed img {
	max-width: 100%;
	height: auto;
}

.gild-shell {
	width: var(--gild-shell);
	margin-inline: auto;
}

/* Header */
.gild-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	width: 100%;
	background: rgba(247, 244, 238, 0.96);
	border-bottom: 1px solid var(--gild-line);
	box-shadow: none;
	backdrop-filter: blur(14px);
}

.admin-bar .gild-header {
	top: 32px;
}

.gild-header__inner {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr) auto;
	align-items: center;
	min-height: 88px;
	gap: 30px;
}

.gild-header__logo {
	display: inline-flex;
	align-items: center;
	width: 202px;
}

.gild-header__logo img,
.gild-footer__logo img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 52px;
}

.gild-header__logo img {
	width: 180px;
	max-height: 62px;
}

.gild-primary-nav {
	justify-self: center;
}

.gild-primary-nav .so-mobilenav-standard,
.gild-primary-nav .so-mobilenav-mobile {
	display: none !important;
}

.gild-primary-nav__list,
.gild-primary-nav > div > ul {
	display: flex !important;
	align-items: center;
	justify-content: center;
	gap: clamp(16px, 2vw, 34px);
	margin: 0;
	padding: 0;
	list-style: none;
	background: transparent !important;
}

.gild-primary-nav li {
	position: relative;
	margin: 0;
}

.gild-primary-nav a {
	display: block;
	padding: 31px 0 29px;
	border-bottom: 2px solid transparent;
	color: var(--gild-ink) !important;
	font-size: 13px;
	font-weight: 650;
	letter-spacing: -0.02em;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.gild-primary-nav a:hover,
.gild-primary-nav .current-menu-item > a,
.gild-primary-nav .current_page_item > a {
	border-bottom-color: var(--gild-ink);
}

.gild-primary-nav .menu-item-has-children > a::after {
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	content: "";
	transform: translateY(-2px) rotate(45deg);
}

/* Keep desktop submenus out of the header layout until they are opened. */
@media (min-width: 961px) {
	.gild-primary-nav .sub-menu {
		position: absolute;
		top: 100%;
		left: -18px;
		z-index: 1001;
		display: block;
		min-width: 190px;
		margin: 0;
		padding: 8px 0;
		border: 1px solid var(--gild-line);
		background: var(--gild-paper);
		box-shadow: var(--gild-shadow);
		list-style: none;
		opacity: 0;
		visibility: hidden;
		transform: translateY(8px);
		pointer-events: none;
		transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
	}

	.gild-primary-nav li:hover > .sub-menu,
	.gild-primary-nav li:focus-within > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}

	.gild-primary-nav .sub-menu li {
		width: 100%;
	}

	.gild-primary-nav .sub-menu a {
		width: 100%;
		padding: 13px 18px;
		border: 0;
		font-size: 12px;
		font-weight: 600;
		line-height: 1.45;
	}

	.gild-primary-nav .sub-menu a:hover,
	.gild-primary-nav .sub-menu a:focus-visible,
	.gild-primary-nav .sub-menu .current-menu-item > a {
		background: var(--gild-white);
	}

	.gild-primary-nav .sub-menu .sub-menu {
		top: -9px;
		left: 100%;
	}
}

.gild-header__shop {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 44px;
	padding: 0 18px;
	background: var(--gild-ink);
	color: var(--gild-white) !important;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-decoration: none;
}

.gild-menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--gild-line);
	background: transparent;
	color: var(--gild-ink);
	cursor: pointer;
}

.gild-menu-toggle__lines {
	display: grid;
	gap: 7px;
	width: 20px;
	margin: auto;
}

.gild-menu-toggle__lines span {
	display: block;
	height: 1px;
	background: currentColor;
	transition: transform 180ms ease;
}

.is-menu-open .gild-menu-toggle__lines span:first-child {
	transform: translateY(4px) rotate(45deg);
}

.is-menu-open .gild-menu-toggle__lines span:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

/* Vantage layout reset */
.gildcoffee-renewed #page-wrapper {
	width: 100%;
	max-width: none;
	background: var(--gild-paper);
	box-shadow: none;
}

.gildcoffee-renewed #main {
	padding: 0;
	background: var(--gild-paper);
}

.gildcoffee-renewed #main > .full-container {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.gildcoffee-renewed #primary {
	float: none;
	width: 100%;
}

.gildcoffee-renewed #secondary {
	display: none;
}

.gildcoffee-renewed article.post,
.gildcoffee-renewed article.page,
.gildcoffee-renewed .entry-main {
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	box-shadow: none;
}

.gildcoffee-renewed .entry-content {
	font-size: 16px;
	color: var(--gild-ink);
}

.gildcoffee-renewed .entry-content::after {
	display: table;
	clear: both;
	content: "";
}

.gildcoffee-renewed .entry-content > *:not(.alignfull) {
	width: min(1180px, calc(100vw - 48px));
	margin-right: auto;
	margin-left: auto;
}

/* Classic Editor pages use the same responsive shell as block-based pages. */
.gildcoffee-renewed .gild-entry--classic .entry-main {
	width: var(--gild-shell);
	max-width: 1180px;
	margin-right: auto;
	margin-left: auto;
}

.gildcoffee-renewed .gild-entry--classic .entry-content > *:not(.alignfull) {
	width: 100%;
	max-width: 100%;
}

.gildcoffee-renewed .gild-entry--classic .entry-content iframe,
.gildcoffee-renewed .gild-entry--classic .entry-content table {
	max-width: 100%;
}

.gildcoffee-renewed .entry-content > p:empty,
.gildcoffee-renewed .entry-content .wp-block-paragraph:empty,
.gildcoffee-renewed .entry-content .wp-block-button:empty,
.gildcoffee-renewed .entry-content .wp-block-buttons:not(:has(a)) {
	display: none !important;
}

.gildcoffee-renewed .entry-content p,
.gildcoffee-renewed .entry-content li {
	font-size: clamp(15px, 1.25vw, 17px);
	line-height: 1.8;
}

.gildcoffee-renewed .entry-content h2 {
	font-size: clamp(28px, 4vw, 48px);
	letter-spacing: -0.045em;
}

.gildcoffee-renewed .entry-content h3 {
	font-size: clamp(20px, 2vw, 27px);
	letter-spacing: -0.035em;
}

/* Single posts: keep legacy full-width blocks inside the shared content shell. */
.gildcoffee-renewed.single-post .gild-entry .entry-main {
	width: var(--gild-shell);
	max-width: 1180px;
	margin-right: auto;
	margin-left: auto;
}

.gildcoffee-renewed.single-post .gild-entry .entry-content > .alignfull {
	width: 100% !important;
	max-width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.gildcoffee-renewed.single-post #nav-below {
	margin: 0;
	padding: 0 0 clamp(70px, 9vw, 120px);
}

.gildcoffee-renewed.single-post .single-nav-wrapper {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: var(--gild-shell);
	max-width: 1180px;
	margin: 0 auto;
	padding-top: 28px;
	border-top: 1px solid var(--gild-line);
}

.gildcoffee-renewed.single-post .single-nav-wrapper::after {
	display: none;
}

.gildcoffee-renewed.single-post .single-nav-wrapper .nav-previous,
.gildcoffee-renewed.single-post .single-nav-wrapper .nav-next {
	float: none;
	width: auto;
	margin: 0;
}

.gildcoffee-renewed.single-post .single-nav-wrapper a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 72px;
	box-sizing: border-box;
	padding: 18px 22px;
	border: 1px solid var(--gild-line);
	background: var(--gild-white);
	color: var(--gild-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.gildcoffee-renewed.single-post .single-nav-wrapper .nav-next a {
	justify-content: flex-end;
	text-align: right;
}

.gildcoffee-renewed.single-post .single-nav-wrapper a:hover,
.gildcoffee-renewed.single-post .single-nav-wrapper a:focus-visible {
	border-color: var(--gild-coffee);
	background: var(--gild-coffee);
	color: var(--gild-white);
}

.gildcoffee-renewed.single-post .single-nav-wrapper .meta-nav {
	font-size: 18px;
	line-height: 1;
}

.gildcoffee-renewed .wp-block-button__link {
	min-height: 48px;
	padding: 14px 24px;
	border: 1px solid var(--gild-ink);
	border-radius: 0;
	background: var(--gild-ink);
	color: var(--gild-white);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-decoration: none;
	transition: background 180ms ease, color 180ms ease;
}

.gildcoffee-renewed .is-style-outline > .wp-block-button__link,
.gildcoffee-renewed .wp-block-button__link.is-style-outline {
	background: transparent;
	color: var(--gild-ink);
}

.gildcoffee-renewed .wp-block-button__link:hover {
	background: var(--gild-coffee);
	border-color: var(--gild-coffee);
	color: var(--gild-white);
}

/* Shared title banner */
.gild-page-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(74px, 10vw, 138px) 0 clamp(64px, 8vw, 108px);
	background:
		radial-gradient(circle at 84% 12%, rgba(116, 83, 59, 0.15), transparent 30%),
		linear-gradient(135deg, #eee6da 0%, #f7f4ee 58%, #e8e0d3 100%);
	border-bottom: 1px solid var(--gild-line);
}

.gild-page-hero::after {
	position: absolute;
	right: -6vw;
	bottom: -150px;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(31, 28, 25, 0.11);
	border-radius: 50%;
	content: "";
}

.gild-eyebrow,
.gild-section-kicker,
.gild-hero__eyebrow {
	margin: 0 0 18px;
	color: var(--gild-coffee);
	font-size: 11px !important;
	font-weight: 750;
	letter-spacing: 0.18em;
	line-height: 1.4 !important;
	text-transform: uppercase;
}

.gild-page-hero h1 {
	max-width: 920px;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(48px, 8vw, 108px);
	font-weight: 400;
	letter-spacing: -0.065em;
	line-height: 0.96;
}

.gild-page-hero__description {
	max-width: 620px;
	margin: 30px 0 0;
	color: var(--gild-muted);
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.7;
}

/* Home hero */
.gild-home-hero {
	position: relative;
	overflow: hidden;
	min-height: min(760px, calc(100vh - 88px));
	display: flex;
	align-items: center;
	padding: clamp(90px, 12vw, 170px) 0;
	background:
		radial-gradient(circle at 78% 20%, rgba(116, 83, 59, 0.22), transparent 28%),
		radial-gradient(circle at 88% 82%, rgba(103, 112, 93, 0.18), transparent 32%),
		var(--gild-cream);
	margin: 0 !important;
}

.gild-home-hero::before,
.gild-home-hero::after {
	position: absolute;
	border: 1px solid rgba(31, 28, 25, 0.12);
	border-radius: 50%;
	content: "";
}

.gild-home-hero::before {
	right: 5vw;
	top: 8%;
	width: min(42vw, 630px);
	height: min(42vw, 630px);
}

.gild-home-hero::after {
	right: -10vw;
	top: 25%;
	width: min(42vw, 630px);
	height: min(42vw, 630px);
}

.gild-home-hero > .wp-block-group__inner-container,
.gild-home-hero > .gild-shell {
	position: relative;
	z-index: 1;
	text-align: center;
}

.gild-home-hero h1 {
	max-width: 900px;
	margin: 0 auto;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(58px, 9vw, 128px);
	font-weight: 400;
	letter-spacing: -0.075em;
	line-height: 0.9;
}

.gild-home-hero__lead {
	max-width: 580px;
	margin: 34px auto 0;
	color: #4c453f;
	font-size: clamp(17px, 2vw, 21px) !important;
	line-height: 1.75 !important;
}

.gild-home-hero .wp-block-buttons {
	justify-content: center;
	margin-top: 36px;
}

/* Sections and cards */
.gild-section {
	padding: clamp(78px, 10vw, 140px) 0;
}

.gild-section--white {
	background: var(--gild-white);
}

.gild-section--ink {
	background: var(--gild-ink);
	color: var(--gild-white);
}

.gild-section--compact {
	padding: clamp(60px, 7vw, 92px) 0;
}

.gild-section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
	align-items: end;
	gap: 44px;
	margin-bottom: clamp(44px, 6vw, 78px) !important;
}

.gild-section-heading h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(38px, 6vw, 66px) !important;
	font-weight: 400;
	line-height: 1 !important;
}

.gild-section-heading p:last-child {
	margin: 0;
	color: var(--gild-muted);
}

.gild-category-grid,
.gild-product-grid,
.gild-value-grid {
	display: grid !important;
	gap: 24px;
}

.gild-category-grid > *,
.gild-product-grid > *,
.gild-value-grid > *,
.gild-brew-grid > * {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}

.gild-category-grid {
	grid-template-columns: repeat(5, minmax(0, 1fr));
	grid-auto-rows: 250px;
}

.gild-category-card {
	position: relative;
	height: 100%;
	min-height: 0;
	display: flex;
	align-items: flex-end;
	box-sizing: border-box;
	padding: 28px;
	background: #e6ded2;
	border: 1px solid transparent;
	transition: transform 180ms ease, border-color 180ms ease, background-color 220ms ease, color 220ms ease;
}

.gild-category-card:nth-child(1) {
	--gild-category-hover: #e97845;
	--gild-category-hover-text: var(--gild-ink);
}

.gild-category-card:nth-child(2n) {
	background: #dadccc;
}

.gild-category-card:nth-child(2) {
	--gild-category-hover: #8fa086;
	--gild-category-hover-text: var(--gild-ink);
}

.gild-category-card:nth-child(3n) {
	background: #d9caba;
}

.gild-category-card:nth-child(3) {
	--gild-category-hover: #8b6047;
	--gild-category-hover-text: var(--gild-white);
}

.gild-category-card:nth-child(4) {
	--gild-category-hover: #263b36;
	--gild-category-hover-text: var(--gild-white);
}

.gild-category-card:nth-child(5) {
	--gild-category-hover: #d6bd58;
	--gild-category-hover-text: var(--gild-ink);
}

.gild-category-card h3 {
	margin: 0 0 8px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 28px;
	font-weight: 400;
}

.gild-category-card p {
	margin: 0;
	color: var(--gild-muted);
	font-size: 13px !important;
}

.gild-category-card a::after {
	position: absolute;
	inset: 0;
	content: "";
}

@media (hover: hover) and (pointer: fine) {
	.gild-category-card:hover,
	.gild-category-card:focus-within {
		transform: translateY(-5px);
		border-color: rgba(31, 28, 25, 0.2);
		background: var(--gild-category-hover);
		color: var(--gild-category-hover-text);
	}

	.gild-category-card:hover h3,
	.gild-category-card:hover a,
	.gild-category-card:hover p,
	.gild-category-card:focus-within h3,
	.gild-category-card:focus-within a,
	.gild-category-card:focus-within p {
		color: var(--gild-category-hover-text);
	}
}

.gild-product-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	width: var(--gild-shell);
	max-width: 1180px;
	margin-right: auto !important;
	margin-left: auto !important;
}

.gild-product-card {
	overflow: hidden;
	margin: 0 !important;
	background: var(--gild-white);
	border: 1px solid var(--gild-line);
	box-shadow: none;
	display: flex !important;
	flex-direction: column !important;
	height: 100% !important;
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.gild-product-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--gild-shadow);
}

.gild-product-card > .wp-block-group__inner-container {
	height: 100%;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.gild-product-card .wp-block-image {
	overflow: hidden;
	margin: 0;
	aspect-ratio: 1 / 1;
	background: #eee8df;
	flex-shrink: 0;
}

.gild-product-card .wp-block-image a,
.gild-product-card .wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
}

.gild-product-card .wp-block-image img {
	object-fit: cover;
	transition: transform 400ms ease;
}

.gild-product-card:hover .wp-block-image img {
	transform: scale(1.025);
}

.gild-product-card__body {
	flex: 1 1 auto;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start;
	width: 100%;
	padding: 26px !important;
}

.gild-product-card__body h3 {
	margin: 0 !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(21px, 2vw, 29px) !important;
	font-weight: 400;
	line-height: 1.25 !important;
	min-height: 2.5em;
	display: flex;
	align-items: flex-start;
}

.gild-product-card__meta {
	margin: 10px 0 0 !important;
	color: var(--gild-muted);
	font-size: 13px !important;
	line-height: 1.65 !important;
	min-height: 3.3em;
}

.gild-card-actions {
	margin-top: auto !important;
	padding-top: 22px;
	width: 100%;
}

.gild-card-actions .wp-block-button__link {
	min-height: 42px;
	padding: 11px 16px;
	font-size: 10px;
}

.gild-lineup-heading {
	margin-top: clamp(60px, 8vw, 100px) !important;
	margin-bottom: 26px !important;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--gild-line);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(27px, 4vw, 44px) !important;
	font-weight: 400;
}

.gild-section-heading--secondary,
.gild-product-grid + .gild-section-heading {
	margin-top: clamp(70px, 9vw, 115px) !important;
	padding-top: clamp(48px, 6vw, 76px);
	border-top: 1px solid var(--gild-line);
}

.gild-value-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gild-brew-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.gild-brew-step {
	padding: 0 0 28px !important;
	background: var(--gild-white);
	border: 1px solid var(--gild-line);
}

.gild-brew-step .wp-block-image {
	margin: 0 0 26px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.gild-brew-step .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gild-brew-step > p,
.gild-brew-step > h3,
.gild-brew-step > .wp-block-group__inner-container > p,
.gild-brew-step > .wp-block-group__inner-container > h3 {
	margin-right: 26px;
	margin-left: 26px;
}

.gild-brew-step h3 {
	margin-top: 0;
	margin-bottom: 12px;
}

/* Brew guide */
.gild-guide-intro__grid,
.gild-guide-heading,
.gild-guide-method-head,
.gild-guide-hero,
.gild-guide-specs,
.gild-guide-steps,
.gild-guide-note,
.gild-guide-filter-hero,
.gild-guide-filter-vars,
.gild-guide-drip-layout,
.gild-guide-infographic {
	width: var(--gild-shell);
	max-width: 1180px;
	margin-right: auto !important;
	margin-left: auto !important;
}

.gild-guide-intro__grid,
.gild-guide-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
	gap: clamp(48px, 8vw, 120px);
	align-items: end;
}

.gild-guide-intro__grid h2,
.gild-guide-heading h2,
.gild-guide-method-head h2,
.gild-guide-drip__copy h2,
.gild-guide-infographic__heading h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(42px, 5.6vw, 66px) !important;
	font-weight: 400;
	line-height: 1.02 !important;
}

.gild-guide-intro__copy p,
.gild-guide-heading > p,
.gild-guide-drip__copy > p,
.gild-guide-infographic__heading > p:last-child {
	margin-top: 0;
	color: var(--gild-muted);
	font-size: clamp(16px, 1.5vw, 19px) !important;
	line-height: 1.85 !important;
}

.gild-guide-hero {
	margin-top: clamp(50px, 8vw, 100px) !important;
}

.gild-guide-photo {
	margin: 0 !important;
	overflow: hidden;
	background: #d8cec0;
}

.gild-guide-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gild-guide-photo--hero {
	aspect-ratio: 16 / 7;
}

.gild-guide-caption {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 14px;
	border-top: 1px solid var(--gild-line);
	color: var(--gild-muted);
	font-size: 12px;
	letter-spacing: 0.1em;
}

.gild-guide-espresso {
	background: #171717;
	color: #f7f4ee;
}

.gild-guide-heading--light h2 {
	color: #f7f4ee;
}

.gild-guide-heading--light > p {
	color: rgba(247, 244, 238, 0.68);
}

.gild-guide-espresso .gild-section-kicker {
	color: var(--gild-orange);
}

.gild-guide-specs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1px;
	margin-top: clamp(50px, 7vw, 86px) !important;
	background: rgba(255, 255, 255, 0.18);
}

.gild-guide-spec {
	padding: 28px 26px 30px !important;
	background: #222;
}

.gild-guide-spec p {
	margin: 0;
	color: rgba(247, 244, 238, 0.58);
	font-size: 14px !important;
}

.gild-guide-spec__label {
	margin-bottom: 18px !important;
	color: var(--gild-orange) !important;
	font-size: 11px !important;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.gild-guide-spec__value {
	margin-bottom: 8px !important;
	color: #fff !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(27px, 3vw, 38px) !important;
	line-height: 1.1 !important;
}

.gild-guide-method-head {
	margin-bottom: clamp(60px, 9vw, 110px) !important;
}

.gild-guide-method-head h2 {
	max-width: 800px;
}

.gild-guide-steps {
	display: grid;
	gap: clamp(80px, 12vw, 150px);
}

.gild-guide-step {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
	gap: clamp(42px, 7vw, 90px);
	align-items: center;
}

.gild-guide-step--reverse {
	grid-template-columns: minmax(300px, 0.75fr) minmax(0, 1.25fr);
}

.gild-guide-step--reverse .gild-guide-step__media {
	order: 2;
}

.gild-guide-step__media > .gild-guide-photo {
	aspect-ratio: 3 / 2;
}

.gild-guide-media-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.gild-guide-media-grid .gild-guide-photo {
	aspect-ratio: 1 / 1;
}

.gild-guide-media-grid--three .gild-guide-photo:first-child {
	grid-column: 1 / -1;
	aspect-ratio: 2 / 1;
}

.gild-guide-step__number {
	margin: 0 0 22px;
	color: var(--gild-orange);
	font-size: 12px !important;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.gild-guide-step__copy h3 {
	margin: 0 0 22px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 3.8vw, 48px) !important;
	font-weight: 400;
	line-height: 1.08 !important;
}

.gild-guide-step__copy > p:last-child {
	margin: 0;
	color: var(--gild-muted);
	font-size: 17px !important;
	line-height: 1.85 !important;
}

.gild-guide-note {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
	margin-top: clamp(80px, 12vw, 150px) !important;
	padding: clamp(30px, 5vw, 58px) !important;
	background: var(--gild-orange);
}

.gild-guide-note__mark {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 32px !important;
}

.gild-guide-note h3 {
	margin: 0 0 12px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(27px, 3vw, 38px) !important;
	font-weight: 400;
}

.gild-guide-note div p {
	max-width: 760px;
	margin: 0;
	color: rgba(31, 28, 25, 0.76);
}

.gild-guide-filter {
	background: #eee7db;
}

.gild-guide-filter-hero {
	margin-top: clamp(52px, 8vw, 96px) !important;
}

.gild-guide-photo--filter {
	aspect-ratio: 16 / 8;
}

.gild-guide-filter-vars {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 32px !important;
	border-top: 1px solid rgba(31, 28, 25, 0.28);
}

.gild-guide-filter-vars > div {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
	padding: 24px 18px 0;
	border-left: 1px solid rgba(31, 28, 25, 0.18);
}

.gild-guide-filter-vars > div:first-child {
	padding-left: 0;
	border-left: 0;
}

.gild-guide-filter-vars span {
	color: var(--gild-muted);
	font-size: 11px;
}

.gild-guide-filter-vars h3 {
	margin: 10px 0 3px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 25px !important;
	font-weight: 400;
}

.gild-guide-filter-vars p {
	margin: 0;
	color: var(--gild-muted);
	font-size: 14px !important;
}

.gild-guide-drip-layout,
.gild-guide-infographic {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: clamp(46px, 8vw, 108px);
	align-items: center;
}

.gild-guide-drip__media .gild-guide-photo {
	aspect-ratio: 3 / 2;
}

.gild-guide-drip__copy h2 {
	margin-bottom: 28px;
}

.gild-guide-infographic {
	grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1.38fr);
	margin-top: clamp(90px, 13vw, 170px) !important;
	padding-top: clamp(60px, 8vw, 100px);
	border-top: 1px solid var(--gild-line);
}

.gild-guide-infographic__heading h2 {
	margin-bottom: 24px;
}

.gild-guide-quick-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--gild-line);
	border: 1px solid var(--gild-line);
}

.gild-guide-quick-step {
	padding: 30px 28px;
	background: #f7f4ee;
}

.gild-guide-quick-step span {
	color: var(--gild-orange-deep);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.gild-guide-quick-step h3 {
	margin: 14px 0 9px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 27px !important;
	font-weight: 400;
}

.gild-guide-quick-step p {
	margin: 0;
	color: var(--gild-muted);
	font-size: 15px !important;
}

.gild-value-card {
	min-height: 260px;
	padding: 32px !important;
	border-top: 1px solid var(--gild-ink);
	background: transparent;
}

.gild-value-card h3 {
	margin: 0 0 60px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 30px !important;
	font-weight: 400;
}

.gild-value-card p {
	margin: 0;
	color: var(--gild-muted);
}

.gild-about-intro {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(44px, 8vw, 120px);
	align-items: start;
}

.gild-about-intro h2 {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(44px, 6vw, 78px) !important;
	font-weight: 400;
	line-height: 1 !important;
}

.gild-about-intro__copy p {
	margin-top: 0;
	font-size: clamp(17px, 2vw, 21px) !important;
	line-height: 1.85 !important;
}

.gild-about-photo {
	margin: 0;
	overflow: hidden;
	background: #d8cec0;
}

.gild-about-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gild-about-origin {
	margin-top: clamp(52px, 8vw, 110px) !important;
}

.gild-about-origin .gild-about-photo {
	aspect-ratio: 3 / 2;
}

.gild-about-caption {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-top: 16px;
	padding-top: 14px;
	border-top: 1px solid var(--gild-line);
	color: var(--gild-muted);
	font-size: 13px !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gild-about-proof {
	background: #171717;
	color: #f7f4ee;
}

.gild-about-proof__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
	gap: clamp(42px, 7vw, 96px);
	align-items: center;
}

.gild-about-proof .gild-about-photo {
	aspect-ratio: 3 / 2;
	background: #050505;
}

.gild-about-proof__copy h2,
.gild-about-process h2,
.gild-about-place__copy h2 {
	margin: 0 0 26px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(40px, 5.6vw, 66px) !important;
	font-weight: 400;
	line-height: 1.02 !important;
}

.gild-about-proof__copy h2 {
	color: #f7f4ee;
}

.gild-about-place__copy h2 {
	color: #fff;
}

.gild-about-proof__copy p {
	color: rgba(247, 244, 238, 0.72);
	font-size: clamp(16px, 1.8vw, 20px) !important;
	line-height: 1.8 !important;
}

.gild-about-proof .gild-section-kicker {
	color: var(--gild-orange);
}

.gild-about-process__heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
	gap: 40px;
	align-items: end;
	margin-bottom: clamp(42px, 7vw, 80px) !important;
}

.gild-about-process__heading > p:last-child {
	margin: 0 0 8px;
	color: var(--gild-muted);
	font-size: 17px !important;
	line-height: 1.75 !important;
}

.gild-about-process-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
	gap: 24px;
	align-items: stretch;
}

.gild-about-process-card {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.gild-about-process-card .gild-about-photo {
	aspect-ratio: 3 / 2;
}

.gild-about-process-card__body {
	flex: 1;
	padding: 26px 0 0 !important;
}

.gild-about-process-card__body h3 {
	margin: 0 0 10px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(28px, 3vw, 40px) !important;
	font-weight: 400;
}

.gild-about-process-card__body p {
	margin: 0;
	color: var(--gild-muted);
}

.gild-about-place {
	position: relative;
	min-height: min(72vw, 760px);
	padding: 0 !important;
	overflow: hidden;
	background: #222;
}

.gild-about-place > .wp-block-image,
.gild-about-place > .wp-block-group__inner-container > .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
}

.gild-about-place .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gild-about-place::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(10, 9, 8, 0.78), rgba(10, 9, 8, 0.12) 70%);
	content: "";
}

.gild-about-place__copy {
	position: relative;
	z-index: 1;
	display: flex;
	min-height: min(72vw, 760px);
	flex-direction: column;
	justify-content: flex-end;
	padding-top: 90px !important;
	padding-bottom: 90px !important;
	color: #fff;
}

.gild-about-place__copy h2 {
	max-width: 720px;
}

.gild-about-place__copy p:last-child {
	max-width: 520px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 18px !important;
	line-height: 1.7 !important;
}

.gild-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 40px;
	padding: clamp(46px, 7vw, 86px) !important;
	background: var(--gild-sage);
	color: var(--gild-white);
}

.gild-cta h2 {
	max-width: 720px;
	margin: 0;
	color: var(--gild-orange);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(34px, 5vw, 64px) !important;
	font-weight: 400;
	line-height: 1.05;
}

.gild-cta p {
	margin: 18px 0 0;
	color: rgba(255, 255, 255, 0.76);
}

.gild-cta .wp-block-button__link {
	border-color: var(--gild-white);
	background: var(--gild-white);
	color: var(--gild-ink);
}

/* Legacy Gutenberg pages receive modern spacing without destroying editability. */
.gildcoffee-renewed:not(.home) .entry-content > .wp-block-group:first-child,
.gildcoffee-renewed:not(.home) .entry-content > .wp-block-columns:first-child,
.gildcoffee-renewed:not(.home) .entry-content > .wp-block-image:first-child,
.gildcoffee-renewed:not(.home) .entry-content > p:first-child {
	margin-top: 0;
}

.gildcoffee-renewed:not(.home) .entry-content > .wp-block-group:last-child,
.gildcoffee-renewed:not(.home) .entry-content > .wp-block-columns:last-child,
.gildcoffee-renewed:not(.home) .entry-content > .wp-block-image:last-child,
.gildcoffee-renewed:not(.home) .entry-content > p:last-child {
	margin-bottom: clamp(70px, 9vw, 120px);
}

.gildcoffee-renewed .entry-content .wp-block-columns {
	gap: 24px;
}

.gildcoffee-renewed .entry-content .wp-block-image img {
	vertical-align: middle;
}

.gildcoffee-renewed .entry-content .wp-block-separator {
	border-color: var(--gild-line);
	opacity: 1;
}

/* Footer */
.gild-footer {
	padding: clamp(70px, 9vw, 120px) 0 28px;
	background: #171513;
	color: rgba(255, 255, 255, 0.78);
}

.gild-footer__inner {
	display: grid;
	grid-template-columns: minmax(300px, 1.3fr) minmax(150px, 0.55fr) minmax(260px, 0.8fr);
	gap: clamp(40px, 7vw, 100px);
}

.gild-footer__logo {
	display: inline-block;
	width: 190px;
	line-height: 0;
}

.gild-footer__logo img {
	display: block;
	width: 180px;
	height: auto;
	max-height: 54px;
	border-radius: 0;
}

.gild-footer__brand p {
	margin: 28px 0 0;
	color: rgba(255, 255, 255, 0.58);
	font-size: 14px;
	line-height: 1.8;
}

.gild-footer h2 {
	margin: 0 0 24px;
	color: var(--gild-white);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.gild-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.gild-footer li {
	margin: 0 0 9px;
	font-size: 14px;
	line-height: 1.65;
}

.gild-footer a {
	color: inherit;
	text-decoration: none;
}

.gild-footer a:hover {
	color: var(--gild-white);
}

.gild-footer__store {
	display: inline-flex;
	gap: 10px;
	margin-top: 20px;
	padding-bottom: 4px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.42);
	font-size: 13px;
	font-weight: 700;
}

.gild-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-top: 72px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.gild-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.42);
	font-size: 11px;
	line-height: 1.6;
}

@media (max-width: 1100px) {
	.gild-header__inner {
		grid-template-columns: 180px minmax(0, 1fr) auto;
		gap: 20px;
	}

	.gild-header__logo {
		width: 174px;
	}

	.gild-primary-nav__list,
	.gild-primary-nav > div > ul {
		gap: 15px;
	}

	.gild-primary-nav a {
		font-size: 12px;
	}

	.gild-header__shop span:first-child {
		display: none;
	}

	.gild-header__shop {
		width: 44px;
		padding: 0;
	}

	.gild-category-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.gild-header__inner {
		grid-template-columns: 1fr auto auto;
		min-height: 76px;
	}

	.gild-header__logo {
		width: 180px;
	}

	.gild-menu-toggle {
		display: block;
		grid-column: 3;
	}

	.gild-header__shop {
		grid-column: 2;
		grid-row: 1;
	}

	.gild-primary-nav {
		position: absolute;
		top: 100%;
		right: 0;
		bottom: auto;
		left: 0;
		display: none;
		width: 100vw;
		height: calc(100vh - 76px);
		height: calc(100dvh - 76px);
		padding: 28px 24px 50px;
		background: var(--gild-paper);
		overflow-y: auto;
	}

	.is-menu-open .gild-primary-nav {
		display: block;
	}

	.gild-primary-nav__list,
	.gild-primary-nav > div > ul {
		display: block !important;
		width: var(--gild-shell);
		margin: 0 auto;
	}

	.gild-primary-nav li {
		border-bottom: 1px solid var(--gild-line);
	}

	.gild-primary-nav a {
		padding: 20px 0;
		border: 0;
		font-family: Georgia, "Times New Roman", serif;
		font-size: clamp(24px, 5vw, 38px);
		font-weight: 400;
		letter-spacing: -0.04em;
	}

	.gild-primary-nav .menu-item-has-children > a::after {
		float: right;
		width: 9px;
		height: 9px;
		margin-top: 8px;
		margin-left: 16px;
	}

	.gild-primary-nav .sub-menu {
		margin: 0;
		padding: 0 0 10px 18px;
		list-style: none;
	}

	.gild-primary-nav .sub-menu li:last-child {
		border-bottom: 0;
	}

	.gild-primary-nav .sub-menu a {
		padding: 13px 0;
		font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
		font-size: 15px;
		font-weight: 600;
		letter-spacing: -0.02em;
	}

	.gild-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gild-brew-grid {
		grid-template-columns: 1fr;
	}

	.gild-section-heading,
	.gild-about-intro,
	.gild-about-proof__grid,
	.gild-about-process__heading,
	.gild-about-process-grid,
	.gild-guide-intro__grid,
	.gild-guide-heading,
	.gild-guide-step,
	.gild-guide-step--reverse,
	.gild-guide-drip-layout,
	.gild-guide-infographic {
		grid-template-columns: 1fr;
	}

	.gild-guide-step--reverse .gild-guide-step__media {
		order: 0;
	}

	.gild-guide-specs,
	.gild-guide-filter-vars {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gild-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.gild-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 782px) {
	.admin-bar .gild-header {
		top: 46px;
	}

}

@media (max-width: 680px) {
	:root {
		--gild-shell: min(100% - 32px, 1180px);
	}

	.gildcoffee-renewed .entry-content > *:not(.alignfull) {
		width: min(100% - 32px, 1180px);
	}

	.gild-header__inner {
		gap: 10px;
	}

	.gild-header__logo {
		width: 154px;
	}

	.gild-header__shop {
		display: none;
	}

	.gild-menu-toggle {
		grid-column: 3;
	}

	.gild-home-hero {
		min-height: 660px;
	}

	.gild-home-hero h1 {
		font-size: clamp(54px, 17vw, 84px);
	}

	.gild-home-hero::before {
		right: -35vw;
		top: 12%;
		width: 100vw;
		height: 100vw;
	}

	.gild-page-hero h1 {
		font-size: clamp(44px, 14vw, 68px);
	}

	.gild-section {
		padding: 70px 0;
	}

	.gild-category-grid,
	.gild-product-grid,
	.gild-value-grid,
	.gild-brew-grid {
		grid-template-columns: 1fr;
	}

	.gild-about-caption {
		flex-direction: column;
		gap: 4px;
	}

	.gild-guide-caption {
		flex-direction: column;
		gap: 4px;
	}

	.gild-guide-photo--hero,
	.gild-guide-photo--filter {
		aspect-ratio: 4 / 3;
	}

	.gild-guide-specs,
	.gild-guide-filter-vars {
		grid-template-columns: 1fr;
	}

	.gild-guide-spec {
		padding: 24px 20px 26px !important;
	}

	.gild-guide-step,
	.gild-guide-step--reverse {
		gap: 30px;
	}

	.gild-guide-step__copy,
	.gild-guide-drip__copy,
	.gild-guide-infographic__heading {
		padding-right: 20px;
		padding-left: 20px;
	}

	.gild-guide-note {
		grid-template-columns: 1fr;
		gap: 12px;
		padding: 30px 24px !important;
	}

	.gild-guide-quick-grid {
		grid-template-columns: 1fr;
	}

	.gild-guide-quick-step {
		padding: 26px 22px;
	}

	.gild-guide-filter-vars > div,
	.gild-guide-filter-vars > div:first-child {
		padding: 18px 0;
		border-top: 1px solid rgba(31, 28, 25, 0.18);
		border-left: 0;
	}

	.gild-guide-filter-vars > div:first-child {
		border-top: 0;
	}

	/* Keep About copy comfortably away from the mobile viewport edges. */
	.gild-about-intro,
	.gild-about-caption,
	.gild-about-proof__copy,
	.gild-about-process__heading,
	.gild-about-process-card__body,
	.gild-value-grid,
	.gild-about-place__copy {
		box-sizing: border-box;
		padding-right: 20px !important;
		padding-left: 20px !important;
	}

	.gild-about-origin .gild-about-photo,
	.gild-about-proof .gild-about-photo,
	.gild-about-process-card .gild-about-photo {
		aspect-ratio: auto;
	}

	.gild-about-place,
	.gild-about-place__copy {
		min-height: 620px;
	}

	.gild-about-place::after {
		background: linear-gradient(0deg, rgba(10, 9, 8, 0.86), rgba(10, 9, 8, 0.08) 78%);
	}

	.gild-about-place__copy {
		padding-top: 70px !important;
		padding-bottom: 54px !important;
	}

	.gild-category-card {
		min-height: 0;
	}

	.gild-category-grid {
		grid-auto-rows: 190px;
	}

	.gildcoffee-renewed.single-post .single-nav-wrapper {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.gildcoffee-renewed.single-post .single-nav-wrapper .nav-next a {
		justify-content: flex-start;
		text-align: left;
	}

	.gild-product-card__body {
		padding: 22px !important;
	}

	.gild-cta {
		grid-template-columns: 1fr;
		padding: 38px 24px !important;
	}

	.gild-footer__inner {
		grid-template-columns: 1fr;
	}

	.gild-footer__brand {
		grid-column: auto;
	}

	.gild-footer__bottom {
		flex-direction: column;
		margin-top: 54px;
	}
}

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