/*
Theme Name: Grubby Garms
Theme URI: https://grubbygarms.com
Author: Featherbelly / Komoko Ltd
Author URI: https://grubbygarms.com
Description: Custom FSE block theme for Grubby Garms — independent streetwear label. "Psych Surf" colourway.
Version: 0.2.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grubby-garms
Tags: full-site-editing, block-theme, e-commerce, woocommerce
*/

/* =============================================================================
   TOKENS — convenience aliases over the theme.json presets
   (theme.json is the source of truth; these just shorten the variable names
   used throughout this stylesheet)
   ============================================================================= */
:root {
	--gg-paper: var(--wp--preset--color--paper);
	--gg-ink:   var(--wp--preset--color--ink);
	--gg-cream: var(--wp--preset--color--cream);
	--gg-hot:   var(--wp--preset--color--hot);
	--gg-cool:  var(--wp--preset--color--cool);
	--gg-sun:   var(--wp--preset--color--sun);
	--gg-display: var(--wp--preset--font-family--display);
	--gg-body:    var(--wp--preset--font-family--body);
	--gg-mono:    var(--wp--preset--font-family--mono);
	--gg-pad:     var(--wp--preset--spacing--60); /* 48px page side padding */
	--gg-border:  2px solid var(--gg-ink);
}

/* =============================================================================
   BASE
   ============================================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

/* Hard corners are the brand — kill stray radii on common interactive bits. */
.wp-block-button__link,
.wp-block-search__button,
input,
select,
textarea { border-radius: 0 !important; }

/* =============================================================================
   UTILITIES — type treatments reused across patterns/templates
   ============================================================================= */
.gg-kicker {
	font-family: var(--gg-mono);
	font-size: var(--wp--preset--font-size--kicker);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.7;
	margin: 0;
}

.gg-mono-label {
	font-family: var(--gg-mono);
	font-size: var(--wp--preset--font-size--mono-xs);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin: 0;
}

/* Stroke-outline wordmark ("GRUBBY" breaking the hero edge). */
.gg-stroke {
	font-family: var(--gg-display);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	line-height: 0.84;
	color: transparent;
	-webkit-text-stroke: 3px currentColor;
}

/* Headline drop-shadow accent (hot offset) used on info / collab headlines. */
.gg-shadow-hot { text-shadow: 4px 5px 0 var(--gg-hot); }

/* =============================================================================
   HEADER
   ============================================================================= */
.gg-header { position: relative; z-index: 20; }

.gg-header .gg-wordmark a { text-decoration: none; }

.gg-header .gg-nav .wp-block-navigation-item__content {
	padding: 6px 13px;
	text-decoration: none;
}

/* Active nav item = filled ink block. */
.gg-header .gg-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.gg-header .gg-nav .wp-block-navigation-item[aria-current] > .wp-block-navigation-item__content,
.gg-header .gg-nav .wp-block-navigation-item .wp-block-navigation-item__content[aria-current] {
	background: var(--gg-ink);
	color: var(--gg-paper);
}

.gg-header__actions .gg-header__link { margin: 0; }
.gg-header__actions .gg-header__link a { text-decoration: none; }

/* Bag = ink pill. */
.gg-header__actions .gg-bag .wc-block-mini-cart__button {
	background: var(--gg-ink);
	color: var(--gg-paper);
	padding: 9px 15px;
	font-family: var(--gg-mono);
	font-size: var(--wp--preset--font-size--kicker);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.gg-header__actions .gg-bag .wc-block-mini-cart__amount { color: var(--gg-paper); }

/* =============================================================================
   FOOTER
   ============================================================================= */
.gg-footer__brand .gg-footer__tagline { opacity: 0.75; max-width: 320px; }

.gg-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.gg-footer__list a,
.gg-footer__bar a {
	color: var(--gg-cream);
	opacity: 0.82;
	text-decoration: none;
}
.gg-footer__list a:hover,
.gg-footer__bar a:hover { opacity: 1; color: var(--gg-sun); }

.gg-footer__bar { opacity: 0.62; gap: 1.5rem; }
.gg-footer__bar a { opacity: 0.85; }

/* =============================================================================
   WOOCOMMERCE — re-base on the Psych Surf tokens (hard corners, ink borders)
   ============================================================================= */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .cart .button,
.woocommerce .checkout-button,
.wc-block-components-button:not(.is-link) {
	background: var(--gg-hot);
	color: var(--gg-cream);
	border: var(--gg-border);
	border-radius: 0;
	font-family: var(--gg-display);
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .checkout-button:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--gg-ink);
	color: var(--gg-cream);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .select2-container .select2-selection,
.woocommerce-page table.cart input {
	border: var(--gg-border);
	border-radius: 0;
	background: var(--gg-cream);
	color: var(--gg-ink);
}

/* =============================================================================
   COMPONENTS — block patterns
   ============================================================================= */

/* Headline band ------------------------------------------------------------ */
.gg-headline-band .gg-kicker { opacity: 0.65; }
.gg-headline-band .gg-lead { opacity: 0.92; max-width: 760px; }

/* Info / legal page layout ------------------------------------------------- */
.gg-info-layout {
	display: grid;
	grid-template-columns: 260px 1fr;
	gap: 4rem;
	align-items: start;
}
.gg-info-body { max-width: 640px; }
.gg-info-body :where(h2) { margin-top: 2.5rem; }
.gg-info-body :where(h2):first-child { margin-top: 0; }

.gg-legal-banner {
	font-family: var(--gg-mono);
	font-size: var(--wp--preset--font-size--kicker);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.85;
	padding-bottom: 1rem;
	margin-bottom: 1.75rem;
	border-bottom: var(--gg-border);
}

/* Help & Info sidebar ------------------------------------------------------ */
.gg-info-sidebar { position: sticky; top: 24px; }
.gg-info-sidebar__label { opacity: 0.55; }
.gg-info-nav .wp-block-navigation-item__content {
	display: block;
	padding: 9px 12px;
	border-left: 3px solid transparent;
	text-decoration: none;
	color: var(--gg-ink);
}
.gg-info-nav .wp-block-navigation-item[aria-current] > .wp-block-navigation-item__content,
.gg-info-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content {
	background: var(--gg-ink);
	color: var(--gg-paper);
	border-left-color: var(--gg-hot);
	font-weight: 900;
}

/* Drop card (3-up grid on drops archive + artist page) --------------------- */
.gg-drops-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.gg-drops-grid > li { margin: 0; }
.gg-drop-card {
	display: flex;
	flex-direction: column;
	min-height: 520px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
}
.gg-drop-card__media {
	height: 300px;
	overflow: hidden;
	border-bottom: var(--gg-border);
	background: var(--gg-ink);
}
.gg-drop-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gg-drop-card__media .wp-block-post-featured-image,
.gg-drop-card__media .wp-block-post-featured-image img { height: 100%; margin: 0; }
.gg-drop-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	padding: 1.875rem 1.875rem 2.125rem;
}
.gg-drop-card__num {
	font-weight: 900;
	font-size: clamp(4rem, 6vw, 6.25rem);
	line-height: 0.8;
	letter-spacing: -0.03em;
	opacity: 0.9;
	margin: 0;
}
.gg-drop-card__meta { margin-top: auto; }
.gg-drop-card__name {
	font-weight: 900;
	font-size: clamp(2rem, 3.4vw, 3.125rem);
	line-height: 0.9;
	letter-spacing: -0.01em;
}
/* Rotating grounds (hot / cool / sun) by grid position, or forced modifier. */
.gg-drops-grid > :nth-child(3n+1) .gg-drop-card,
.gg-drop-card.is-band-hot { background: var(--gg-hot); color: var(--gg-cream); }
.gg-drops-grid > :nth-child(3n+2) .gg-drop-card,
.gg-drop-card.is-band-cool { background: var(--gg-cool); color: var(--gg-cream); }
.gg-drops-grid > :nth-child(3n+3) .gg-drop-card,
.gg-drop-card.is-band-sun { background: var(--gg-sun); color: var(--gg-ink); }

/* Product card (shop grid, drop products, rails) --------------------------- */
.gg-products-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.gg-products-grid > li { margin: 0; }
.gg-product-card { color: var(--gg-ink); }
.gg-product-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--gg-cream);
}
.gg-product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gg-product-card__media .wc-block-components-product-image,
.gg-product-card__media .wp-block-woocommerce-product-image { margin: 0; height: 100%; }
.gg-product-card__tag {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 4px 7px;
	background: var(--gg-ink);
	color: var(--gg-paper);
	margin: 0;
}
.gg-product-card__tag a { color: inherit; text-decoration: none; }
.gg-product-card__name a { text-decoration: none; color: var(--gg-ink); }
.gg-product-card__price { white-space: nowrap; }
.gg-product-card__price .woocommerce-Price-amount,
.gg-product-card__price ins,
.gg-product-card__price del { color: var(--gg-hot); text-decoration: none; }
.gg-product-card__meta { opacity: 0.62; }
.gg-product-card__meta a { color: inherit; text-decoration: none; }

/* Link-through CTA --------------------------------------------------------- */
.gg-link-through { text-decoration: none; }
.gg-link-through:hover .gg-link-through__arrow { transform: translateX(8px); }
.gg-link-through__arrow { transition: transform 0.18s ease; }
.gg-link-through .gg-kicker { opacity: 0.7; }

/* Accordion (native <details>) -------------------------------------------- */
.gg-accordion { padding: 0; }
.gg-accordion > summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 18px 0;
	font-family: var(--gg-display);
	font-weight: 800;
	font-size: 1.1875rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.gg-accordion > summary::-webkit-details-marker { display: none; }
.gg-accordion > summary::after {
	content: "+";
	font-size: 1.5rem;
	line-height: 1;
	color: var(--gg-hot);
}
.gg-accordion[open] > summary::after { content: "\2013"; }
.gg-accordion__body { padding: 0 0 20px; max-width: 460px; opacity: 0.85; line-height: 1.55; }

/* Contact form ------------------------------------------------------------- */
.gg-contact__form { display: flex; flex-direction: column; gap: 1.125rem; }
.gg-contact__form .gg-field { margin: 0; display: flex; flex-direction: column; }
.gg-contact__form label {
	font-family: var(--gg-display);
	font-weight: 800;
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}
.gg-contact__form input,
.gg-contact__form select,
.gg-contact__form textarea {
	font-family: var(--gg-body);
	font-size: 1rem;
	padding: 13px 14px;
	border: var(--gg-border);
	background: var(--gg-cream);
	color: var(--gg-ink);
	width: 100%;
}
.gg-contact__form textarea { min-height: 130px; resize: vertical; }
.gg-contact__submit {
	align-self: flex-start;
	background: var(--gg-hot);
	color: var(--gg-cream);
	border: var(--gg-border);
	cursor: pointer;
	font-family: var(--gg-display);
	font-weight: 900;
	font-size: 1.25rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 15px 30px;
}
.gg-contact__submit:hover { background: var(--gg-ink); }
.gg-email-panel a { color: var(--gg-ink); text-decoration: none; word-break: break-word; }

/* Measurements table ------------------------------------------------------- */
.gg-measure-table { width: 100%; }
.gg-measure-table table { border-collapse: collapse; width: 100%; }
.gg-measure-table th,
.gg-measure-table td {
	border: 1px solid var(--gg-ink);
	padding: 12px 16px;
	text-align: left;
}
.gg-measure-table thead th {
	font-family: var(--gg-display);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	background: var(--gg-ink);
	color: var(--gg-cream);
}
.gg-measure-list { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.gg-measure-list li::before { content: "\2014"; color: var(--gg-hot); font-weight: 900; margin-right: 0.75rem; }

/* =============================================================================
   RESPONSIVE — base reflow (component-specific rules live with their patterns)
   ============================================================================= */
@media (max-width: 781px) {
	.gg-footer__cols { gap: 2rem; }
	.gg-footer__bar { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

	.gg-info-layout { grid-template-columns: 1fr; gap: 2rem; }
	.gg-info-sidebar { position: static; }

	.gg-drops-grid { grid-template-columns: 1fr; }
	.gg-drop-card { min-height: 0; }

	.gg-products-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
	.gg-products-grid--4 { grid-template-columns: 1fr 1fr; }
	.gg-artists-grid { grid-template-columns: 1fr; }
	.gg-stamp { width: 104px; height: 104px; font-size: 1rem; }
	.gg-vista--right .wp-block-cover__inner-container { text-align: left; align-items: flex-start; }
	.gg-vista-polaroid { display: none; }
	.gg-product__gallery { border-right: 0 !important; }
	.gg-wearitwith .wp-block-woocommerce-related-products ul.products,
	.gg-wearitwith .wc-block-grid__products { grid-template-columns: 1fr 1fr; }
	.gg-drop-meta { gap: 0.75rem; }
	.gg-guest-story__cols { grid-template-columns: 1fr; gap: 1.75rem; }
	.gg-guest-story .gg-link-through { flex-wrap: wrap; }

	.gg-link-through { flex-wrap: wrap; gap: 1rem; }
	.gg-contact { gap: 2rem; }
}

/* =============================================================================
   TEMPLATE: Shop / product archive
   ============================================================================= */
.gg-filterbar { position: sticky; top: 0; z-index: 10; gap: 1.5rem; }
.gg-filterbar__cats .wp-block-navigation-item__content {
	border: var(--gg-border);
	padding: 9px 16px;
	text-decoration: none;
	color: var(--gg-ink);
}
.gg-filterbar__cats .wp-block-navigation-item[aria-current] > .wp-block-navigation-item__content {
	background: var(--gg-ink);
	color: var(--gg-paper);
}
.gg-filterbar__sort select {
	border: var(--gg-border);
	background: var(--gg-cream);
	color: var(--gg-ink);
	font-family: var(--gg-display);
	font-weight: 700;
	text-transform: uppercase;
	padding: 10px 14px;
}
.gg-results-count { opacity: 0.6; }

/* =============================================================================
   TEMPLATE: Single product
   ============================================================================= */
.gg-breadcrumb .woocommerce-breadcrumb,
.gg-breadcrumb .wc-block-components-breadcrumbs { font-family: var(--gg-mono); font-size: var(--wp--preset--font-size--mono-xs); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.65; }
.gg-product { margin-top: 0; align-items: stretch; }
.gg-product__gallery img { border: 0; }
.gg-product__gallery .wc-block-components-product-image,
.gg-product__gallery .woocommerce-product-gallery__image img { border: var(--gg-border); }
.gg-product__artist { opacity: 0.7; }
.gg-product__artist a { color: inherit; text-decoration: none; }
.gg-product__title { line-height: 0.88; }
.gg-product__price .woocommerce-Price-amount { color: var(--gg-hot); }
.gg-product__vat { opacity: 0.6; align-self: flex-end; }
.gg-product__summary { max-width: 440px; }
.gg-product__mto { opacity: 0.6; }
.gg-sizeguide-link a { color: var(--gg-ink); opacity: 0.7; text-decoration: none; }
.gg-sizeguide-link a:hover { opacity: 1; }

/* Size pills (product pa_size terms shown as the size selector). */
.gg-size-pills { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.gg-size-pills .wp-block-post-terms__separator { display: none; }
.gg-size-pills a {
	display: inline-flex;
	min-width: 56px;
	justify-content: center;
	padding: 12px 12px;
	border: var(--gg-border);
	font-family: var(--gg-display);
	font-weight: 800;
	font-size: 1.0625rem;
	text-transform: uppercase;
	cursor: pointer;
	color: var(--gg-ink);
	text-decoration: none;
}
.gg-size-pills a:hover { background: var(--gg-ink); color: var(--gg-paper); }

/* Add to cart with options — hard corners, ink borders, size as pills. */
.gg-addtocart .wc-block-components-product-button__button,
.gg-addtocart button { border-radius: 0; }
.gg-addtocart .wp-block-woocommerce-add-to-cart-with-options-variation-selector-attribute-options__pill,
.gg-addtocart .wc-block-add-to-cart-with-options__attribute-option {
	border: var(--gg-border) !important;
	border-radius: 0 !important;
	font-family: var(--gg-display);
	font-weight: 800;
	text-transform: uppercase;
}

/* Wear it with — related products on the dark ground. */
.gg-wearitwith .wp-block-woocommerce-related-products ul.products,
.gg-wearitwith .wc-block-grid__products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.375rem; list-style: none; margin: 0; padding: 0; }
.gg-wearitwith li.product img,
.gg-wearitwith .wc-block-grid__product-image img { border: 2px solid rgba(247,240,226,0.2); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.gg-wearitwith .woocommerce-loop-product__title,
.gg-wearitwith .wc-block-grid__product-title { font-family: var(--gg-display); font-weight: 800; text-transform: uppercase; color: var(--gg-cream); font-size: 1.125rem; }
.gg-wearitwith .price,
.gg-wearitwith .wc-block-grid__product-price { color: var(--gg-sun); font-family: var(--gg-display); font-weight: 900; }

/* Size guide modal (<dialog>) */
.gg-modal {
	border: var(--gg-border);
	border-radius: 0;
	padding: 0;
	max-width: 680px;
	width: 92vw;
	background: var(--gg-paper);
	color: var(--gg-ink);
	box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}
.gg-modal::backdrop { background: rgba(36,19,39,0.55); }
.gg-modal__inner { position: relative; padding: 2.5rem 2.5rem 2.75rem; }
.gg-modal__close {
	position: absolute;
	top: 1rem;
	right: 1.25rem;
	background: none;
	border: none;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	color: var(--gg-ink);
}
.gg-modal__title { font-family: var(--gg-display); font-weight: 900; text-transform: uppercase; font-size: 2.5rem; line-height: 0.9; margin: 0.5rem 0 1.5rem; }
.gg-modal__table { width: 100%; border-collapse: collapse; border: var(--gg-border); }
.gg-modal__table th, .gg-modal__table td { border: 1px solid var(--gg-ink); padding: 10px 14px; text-align: left; }
.gg-modal__table thead th { font-family: var(--gg-display); text-transform: uppercase; background: var(--gg-ink); color: var(--gg-cream); }
.gg-modal__note { font-family: var(--gg-mono); font-size: var(--wp--preset--font-size--mono-xs); text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.6; margin-top: 1rem; }

/* =============================================================================
   TEMPLATE: Home
   ============================================================================= */
.gg-hero .wp-block-cover__inner-container {
	width: 100%;
	min-height: inherit;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 3rem;
}
.gg-hero__top { width: 100%; align-items: flex-start; }
.gg-hero__pill {
	display: inline-block;
	background: var(--gg-ink);
	color: var(--gg-sun);
	padding: 7px 11px;
	margin: 0;
}
.gg-hero__title { text-shadow: 3px 4px 0 var(--gg-hot), 0 6px 44px rgba(0,0,0,0.5); }

/* MOOD stamp — double-ringed rubber stamp, display type, off-kilter. */
.gg-stamp {
	position: relative;
	width: 148px;
	height: 148px;
	border: 3px solid var(--gg-cream);
	border-radius: 50%;
	transform: rotate(-9deg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	text-align: center;
	font-family: var(--gg-display);
	font-weight: 800;
	font-size: 1.375rem;
	line-height: 1.04;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--gg-cream);
	opacity: 0.92;
	flex: none;
	margin: 0;
	padding: 0 1rem;
}
.gg-stamp::before {
	content: "";
	position: absolute;
	inset: 7px;
	border: 1.5px solid var(--gg-cream);
	border-radius: 50%;
}
.gg-stamp span { display: block; }
.gg-hero__sub { max-width: 620px; }

.gg-ticker { overflow: hidden; }
.gg-ticker__track {
	display: inline-block;
	white-space: nowrap;
	will-change: transform;
	animation: gg-marquee 32s linear infinite;
}
@keyframes gg-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-33.33%); }
}
@media (prefers-reduced-motion: reduce) {
	.gg-ticker__track { animation: none; }
}

.gg-rail-head { width: 100%; }
.gg-rail-head__link a { text-decoration: none; color: var(--gg-ink); border-bottom: 3px solid var(--gg-hot); padding-bottom: 3px; }
.gg-products-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* Concentric stroke-stack manifesto — solid → echoed → ghost outline. */
.gg-manifesto { text-align: center; position: relative; }
.gg-ss {
	display: block;
	position: relative;
	font-family: var(--gg-display);
	font-weight: 900;
	font-size: clamp(2.75rem, 9vw, 8.625rem);
	line-height: 0.84;
	letter-spacing: -0.02em;
	text-transform: uppercase;
	-webkit-text-stroke: 3px var(--gg-hot);
}
.gg-ss--solid,
.gg-ss--echo { color: var(--gg-ink); }
.gg-ss--ghost { color: transparent; }
.gg-ss--echo::before,
.gg-ss--echo::after,
.gg-ss--ghost::before,
.gg-ss--ghost::after {
	content: attr(data-text);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	color: transparent;
	-webkit-text-stroke: 3px var(--gg-hot);
	z-index: -1;
}
.gg-ss--echo::before,
.gg-ss--ghost::before { transform: translate(6px, 6px); }
.gg-ss--echo::after,
.gg-ss--ghost::after { transform: translate(12px, 12px); }
.gg-manifesto__foot {
	font-family: var(--gg-display);
	font-weight: 800;
	font-size: var(--wp--preset--font-size--x-large);
	text-transform: uppercase;
	color: var(--gg-hot);
	margin: 1.625rem 0 0;
}

/* Inner container fills the band so the headline bottom-anchors and the garment
   polaroid can sit in the opposite top corner (never clipped). */
.gg-vista .wp-block-cover__inner-container {
	position: absolute;
	inset: 0;
	width: auto;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 2.75rem var(--gg-pad) 3.25rem;
}
.gg-vista--right .wp-block-cover__inner-container { text-align: right; align-items: flex-end; }
.gg-vista__title { max-width: 900px; }

/* Garment polaroid overlay on the vista bands. */
.gg-vista-polaroid {
	position: absolute;
	top: 2.75rem;
	width: 200px;
	background: #F7F4EC;
	padding: 12px 12px 0;
	box-shadow: 0 16px 34px rgba(0,0,0,0.34);
	z-index: 3;
	text-align: center;
}
.gg-vista-polaroid--tr { right: var(--gg-pad); transform: rotate(4deg); }
.gg-vista-polaroid--tl { left: var(--gg-pad); transform: rotate(-4deg); }
.gg-vista-polaroid__photo { aspect-ratio: 1 / 1; background: #171715 center / cover no-repeat; }
.gg-vista-polaroid__cap {
	padding: 10px 4px 12px;
	color: var(--gg-ink);
	font-family: var(--gg-mono);
	font-size: 10px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.gg-fb__name { line-height: 0.86; }
.gg-fb__img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #171715; display: block; }

/* =============================================================================
   TEMPLATE: Artists archive
   ============================================================================= */
.gg-artists-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.gg-artists-grid > li { margin: 0; }
.gg-artist-card__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--gg-cream); }
.gg-artist-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gg-artist-card__media .wp-block-post-featured-image,
.gg-artist-card__media .wp-block-post-featured-image img { height: 100%; margin: 0; }
.gg-artist-card__tag {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 4px 7px;
	background: var(--gg-ink);
	color: var(--gg-paper);
	margin: 0;
}
.gg-artist-card__name a { text-decoration: none; color: var(--gg-ink); }
.gg-artist-card__bio { opacity: 0.82; max-width: 360px; }
.gg-artist-card__cta { display: inline-block; padding-bottom: 2px; border-bottom: 3px solid var(--gg-hot); }
.gg-artists-grid > :nth-child(3n+1) .gg-artist-card__cta { border-bottom-color: var(--gg-hot); }
.gg-artists-grid > :nth-child(3n+2) .gg-artist-card__cta { border-bottom-color: var(--gg-cool); }
.gg-artists-grid > :nth-child(3n+3) .gg-artist-card__cta { border-bottom-color: var(--gg-sun); }

/* =============================================================================
   TEMPLATE: Single artist + guest story
   ============================================================================= */
.gg-polaroid {
	background: #F7F4EC;
	padding: 16px 16px 16px;
	transform: rotate(-2.5deg);
	box-shadow: 0 20px 44px rgba(0,0,0,0.22), 0 3px 10px rgba(0,0,0,0.16);
	max-width: 430px;
	margin: 0 auto;
}
.gg-polaroid .wp-block-post-featured-image { margin: 0; }
.gg-polaroid .wp-block-post-featured-image img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #171715; }
.gg-artist-bio { max-width: 560px; }

/* Selected works gallery — square framed images. */
.wp-block-gallery .wp-block-image img { border: var(--gg-border); }

/* Guest collaboration story (output by the grubby/guest-story block). */
.gg-guest-story {
	background: var(--gg-cream);
	color: var(--gg-ink);
	padding: 5.75rem var(--gg-pad) 6rem;
	border-bottom: var(--gg-border);
}
.gg-guest-story__inner { max-width: var(--wp--style--global--wide-size, 90rem); margin: 0 auto; }
.gg-guest-story__headline {
	font-family: var(--gg-display);
	font-weight: 900;
	font-size: clamp(3rem, 6vw, 5.25rem);
	line-height: 0.88;
	letter-spacing: -0.015em;
	text-transform: uppercase;
	margin: 0.875rem 0 0;
	max-width: 980px;
	text-shadow: 3px 4px 0 var(--gg-hot);
}
.gg-guest-story__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
	margin-top: 3.5rem;
}
.gg-guest-story__col-label {
	padding-bottom: 0.75rem;
	margin-bottom: 1rem;
	border-bottom: var(--gg-border);
	opacity: 0.6;
}
.gg-guest-story__col-body { font-size: 1.125rem; line-height: 1.5; margin: 0; }
.gg-guest-story .gg-link-through {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 2rem;
	margin-top: 4rem;
	padding: 2.125rem 2.5rem;
	background: var(--gg-ink);
	color: var(--gg-cream);
	border: var(--gg-border);
	text-decoration: none;
}
.gg-guest-story .gg-link-through__name {
	display: block;
	font-family: var(--gg-display);
	font-weight: 900;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 0.9;
	letter-spacing: -0.01em;
	text-transform: uppercase;
	margin: 0.5rem 0;
}
.gg-guest-story .gg-link-through__meta { display: block; opacity: 0.8; }
.gg-guest-story .gg-link-through__arrow {
	font-family: var(--gg-display);
	font-weight: 900;
	font-size: 4.5rem;
	line-height: 1;
	color: var(--gg-hot);
}

/* =============================================================================
   TEMPLATE: Single drop
   ============================================================================= */
.gg-drop-hero .wp-block-cover__inner-container { width: 100%; align-self: flex-end; }
.gg-drop-hero__crumb a { color: var(--gg-cream); text-decoration: none; opacity: 0.85; }
.gg-drop-meta { gap: 3rem; }
.gg-drop-meta .gg-mono-label::before { opacity: 0.55; }
.gg-drop-meta .gg-mono-label:nth-child(1)::before { content: "Season · "; }
.gg-drop-meta .gg-mono-label:nth-child(2)::before { content: "Artwork · "; }
.gg-drop-meta .gg-mono-label:nth-child(3)::before { content: "State · "; }

/* =============================================================================
   TEMPLATE: About
   ============================================================================= */
.gg-about__lead { max-width: 820px; }
.gg-portrait { position: relative; max-width: 380px; margin-left: auto; }
.gg-portrait .wp-block-post-featured-image { margin: 0; }
.gg-portrait .wp-block-post-featured-image img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.gg-portrait__tag {
	position: absolute;
	left: 10px;
	top: 10px;
	padding: 5px 9px;
	background: var(--gg-ink);
	color: var(--gg-paper);
	margin: 0;
}
.gg-getintouch { width: 100%; gap: 2rem; }
.gg-sayhello .wp-block-button__link { padding: 20px 38px; font-weight: 900; letter-spacing: 0.04em; }

@media (max-width: 781px) {
	.gg-portrait { margin-left: 0; max-width: none; }
}
