/* ==========================================================================
   Gohit Hataki — main stylesheet
   Palette rule: 60% paper · 30% ink · 10% yellow.
   Yellow is a FILL colour on paper (never text on paper: contrast too low);
   yellow text is only used on ink.
   ========================================================================== */

:root {
	--paper: #FEFDF9;   /* 60% */
	--ink: #1D1A18;     /* 30% */
	--yellow: #EAB308;  /* 10% */

	--paper-2: #F5F1E6;               /* tinted paper (sections, hovers) */
	--ink-2: #2A2623;                 /* raised ink surfaces */
	--muted: #5E5954;                 /* secondary text on paper (≈6.6:1) */
	--muted-on-ink: #C9C3B8;          /* secondary text on ink (≈10:1) */
	--line: rgba(29, 26, 24, .14);

	--f-display: "Fraunces", Georgia, "Times New Roman", serif;
	--f-text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-hand: "Caveat", "Segoe Print", cursive;

	--r-sm: 12px;
	--r: 16px;          /* buttons — echoes the mascot's rounded box */
	--r-lg: 24px;
	--r-xl: 32px;
	--border: 2px solid var(--ink);
	--shadow: 4px 4px 0 var(--ink);
	--shadow-lg: 8px 8px 0 var(--ink);

	--wrap: 1240px;
	--gutter: clamp(20px, 5vw, 64px);
	--section: clamp(72px, 10vw, 140px);
	--ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.65 var(--f-text);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
/* Paper grain */
body::before {
	content: "";
	position: fixed; inset: 0;
	pointer-events: none;
	z-index: 9998;
	opacity: .07;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; box-shadow: 0 0 0 6px var(--ink); }
::selection { background: var(--yellow); color: var(--ink); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; margin: 0; font-variation-settings: "SOFT" 100, "opsz" 144; }
em { font-style: italic; font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 760px; }
.section { padding-block: var(--section); position: relative; }
.section--flush { padding-top: 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow { color: var(--yellow); }
.section--ink .section-head__title em { color: var(--yellow); }

.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10000; background: var(--yellow); padding: 10px 16px; border-radius: var(--r-sm); }

.hand { font-family: var(--f-hand); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.eyebrow a { text-decoration: none; }
.eyebrow__num {
	display: inline-grid; place-items: center;
	min-width: 34px; height: 26px; padding: 0 8px;
	background: var(--yellow); color: var(--ink);
	border: var(--border); border-radius: 999px;
	font-family: var(--f-hand); font-size: 1.05rem; letter-spacing: 0;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.empty { color: var(--muted); font-style: italic; }

/* ---------- Buttons (rounded like the mascot box) ---------- */
.btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 24px;
	border: var(--border); border-radius: var(--r);
	background: var(--paper); color: var(--ink);
	font: 700 1rem/1 var(--f-text);
	text-decoration: none;
	box-shadow: var(--shadow);
	transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
	cursor: pointer;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); background: var(--paper); color: var(--ink); }
.btn:active, .woocommerce a.button:active, .woocommerce button.button:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce .single_add_to_cart_button { background: var(--yellow) !important; color: var(--ink) !important; }
.btn--primary:hover { background: #F2C230; }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--paper); }
.btn--ink:hover { background: var(--ink-2); color: var(--paper); box-shadow: 6px 6px 0 var(--paper); }
.commission .btn--ink { box-shadow: var(--shadow); }
.commission .btn--ink:hover { box-shadow: 6px 6px 0 var(--ink); outline: 2px solid var(--paper); outline-offset: -5px; }
.btn--ghost { background: transparent; }
.btn--sm { padding: 10px 16px; font-size: .9rem; border-radius: 13px; box-shadow: 3px 3px 0 var(--ink); }
.btn__arrow { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow { font-weight: 700; text-decoration: none; white-space: nowrap; border-bottom: 3px solid var(--yellow); padding-bottom: 2px; }
.badge { display: inline-block; padding: 3px 10px; border: 1.5px solid currentColor; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sticker {
	display: inline-block; padding: 8px 14px;
	background: var(--yellow); color: var(--ink);
	border: var(--border); border-radius: 12px; box-shadow: 3px 3px 0 var(--ink);
	font-weight: 700; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 9px 18px; border: var(--border); border-radius: 999px; text-decoration: none; font-weight: 500; transition: background .15s; }
.chip:hover { background: var(--paper-2); }
.chip.is-active { background: var(--ink); color: var(--paper); }

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.has-cursor .cursor {
		display: block; position: fixed; top: 0; left: 0; z-index: 9999;
		width: 14px; height: 14px; margin: -7px 0 0 -7px;
		border-radius: 50%; background: var(--ink);
		pointer-events: none;
		transition: width .2s var(--ease), height .2s var(--ease), margin .2s var(--ease), background .2s, border .2s;
	}
	.has-cursor .cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(234, 179, 8, .35); border: 2px solid var(--ink); }
	.has-cursor .cursor.is-art { width: 76px; height: 76px; margin: -38px 0 0 -38px; background: var(--yellow); border: 2px solid var(--ink); }
	.has-cursor .cursor.is-art::after { content: "view"; position: absolute; inset: 0; display: grid; place-items: center; font: 600 1.25rem var(--f-hand); color: var(--ink); }
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(254, 253, 249, .88);
	backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
	border-bottom: var(--border);
}
.site-header__inner { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__list a { text-decoration: none; font-weight: 500; position: relative; padding: 6px 0; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--yellow); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__list a:hover::after, .nav__list .current-menu-item a::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border: var(--border); border-radius: 14px; text-decoration: none; background: var(--paper); }
.cart-link__count { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 5px; display: grid; place-items: center; background: var(--yellow); border: var(--border); border-radius: 999px; font-size: .72rem; font-weight: 700; }
.menu-toggle { display: none; width: 46px; height: 46px; border: var(--border); border-radius: 14px; background: var(--ink); cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 20px; height: 2px; margin: auto; background: var(--paper); border-radius: 2px; transition: transform .25s var(--ease); position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-open .menu-toggle__bars { background: transparent; }
.menu-open .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

.mascot { flex: none; overflow: visible; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 100px); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero__kicker { margin-bottom: 16px; transform: rotate(-2deg); display: inline-block; }
.hero__title { font-size: clamp(3rem, 7.4vw, 6.6rem); line-height: .98; font-weight: 600; }
.hero__line { display: block; }
.hero__title em { font-weight: 500; }
.swipe { position: relative; display: inline-block; z-index: 0; padding: 0 .08em; }
.swipe::before {
	content: ""; position: absolute; z-index: -1;
	left: -.06em; right: -.1em; bottom: .06em; height: .52em;
	background: var(--yellow);
	border-radius: .5em .3em .6em .2em;
	transform: rotate(-2deg) scaleX(0); transform-origin: left center;
	animation: swipe 0.9s .45s var(--ease) forwards;
}
@keyframes swipe { to { transform: rotate(-2deg) scaleX(1); } }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); max-width: 32em; margin-top: 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

.hero__stage { position: relative; display: grid; place-items: end center; min-height: 520px; }
.hero__sun {
	position: absolute; z-index: 0;
	width: min(88%, 520px); aspect-ratio: 1; border-radius: 50%;
	left: 50%; top: 46%; transform: translate(-50%, -50%);
	background: var(--yellow); border: var(--border);
	box-shadow: var(--shadow-lg);
}
.hero__doodle { position: absolute; z-index: 1; width: 160px; right: -10px; top: 0; color: var(--ink); animation: float 7s ease-in-out infinite; }
.hero__note { position: absolute; z-index: 3; left: -6%; bottom: 10%; transform: rotate(-6deg); max-width: 9em; }
.hero__note::before { content: "↗"; display: block; font-size: 2rem; margin: 0 0 2px 70%; transform: rotate(-10deg); }
.hero__sticker { position: absolute; z-index: 3; right: 2%; bottom: 14%; transform: rotate(6deg); animation: wobble 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(4deg); } }
@keyframes wobble { 50% { transform: rotate(2deg) translateY(-3px); } }

/* Chibi + eye tracking layers */
.chibi { position: relative; z-index: 2; width: min(100%, 460px); filter: drop-shadow(6px 6px 0 rgba(29, 26, 24, .9)); }
.chibi__body { width: 100%; height: 100%; }
.chibi__eye { position: absolute; overflow: hidden; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.chibi__pupil { position: absolute; max-width: none; will-change: transform; }
.chibi__lid { position: absolute; inset: 0; background: #FAD9BA; transform: scaleY(0); transform-origin: top; transition: transform 80ms ease-in; }
.chibi.is-blinking .chibi__lid { transform: scaleY(1); }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--paper); border-block: var(--border); overflow: hidden; transform: rotate(-1.2deg); margin: 0 -2vw; }
.marquee__track { display: flex; gap: 36px; width: max-content; padding: 18px 0; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--f-display); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2.2rem); white-space: nowrap; }
.marquee i { color: var(--yellow); font-style: normal; font-size: 1.4rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section-head__title { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.section-head__title em { position: relative; }

/* ---------- Artwork cards ---------- */
.art-card { display: block; text-decoration: none; position: relative; }
.art-card__frame { display: block; overflow: hidden; border: var(--border); border-radius: var(--r-lg); background: var(--paper-2); box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.art-card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.art-card:hover .art-card__frame { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.art-card:hover .art-card__frame img { transform: scale(1.04); }
.art-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 4px 0; }
.art-card__title { font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.art-card__style { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* Editorial grid on the homepage */
.works__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.works__item--1 { grid-column: 1 / span 5; }
.works__item--1 .art-card__frame { aspect-ratio: 4 / 5; }
.works__item--2 { grid-column: 6 / span 7; margin-top: 12%; }
.works__item--2 .art-card__frame { aspect-ratio: 16 / 11; }
.works__item--3 { grid-column: 1 / span 4; }
.works__item--3 .art-card__frame { aspect-ratio: 4 / 5; }
.works__item--4 { grid-column: 5 / span 4; margin-top: 8%; }
.works__item--4 .art-card__frame { aspect-ratio: 3 / 4; }
.works__item--5 { grid-column: 9 / span 4; }
.works__item--5 .art-card__frame { aspect-ratio: 4 / 3; }
.works__item--6 { grid-column: 2 / span 5; }
.works__item--6 .art-card__frame { aspect-ratio: 4 / 5; }
.works__item--7 { grid-column: 7 / span 5; margin-top: 10%; }
.works__item--7 .art-card__frame { aspect-ratio: 4 / 5; }
.works__item:nth-child(odd) .art-card__frame { transform: rotate(-.4deg); }
.works__item:nth-child(even) .art-card__frame { transform: rotate(.5deg); }

/* Portfolio masonry */
.masonry { columns: 3 300px; column-gap: 28px; }
.masonry__item { break-inside: avoid; margin-bottom: 32px; }

/* ---------- Two styles (ink) ---------- */
.styles__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.style-card { display: block; text-decoration: none; color: var(--paper); border: 2px solid var(--paper); border-radius: var(--r-xl); overflow: hidden; background: var(--ink-2); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.style-card:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--yellow); }
.style-card__img { display: block; aspect-ratio: 5 / 4; overflow: hidden; border-bottom: 2px solid var(--paper); }
.style-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.style-card:hover .style-card__img img { transform: scale(1.05); }
.style-card__body { display: grid; gap: 8px; padding: 26px 28px 30px; }
.style-card__title { font-family: var(--f-display); font-style: italic; font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1; }
.style-card__text { color: var(--muted-on-ink); }
.style-card__price { color: var(--yellow); font-weight: 700; letter-spacing: .04em; }

/* ---------- Products ---------- */
.products-row, .tools-row, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.product-card { border: var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); display: flex; flex-direction: column; }
.product-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.product-card__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--border); }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 20px 22px 22px; display: grid; gap: 6px; flex: 1; }
.product-card__type { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.product-card__title { font-size: 1.35rem; line-height: 1.2; }
.product-card__title a { text-decoration: none; }
.product-card__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; }
.product-card__price { font-weight: 700; font-size: 1.15rem; }

/* ---------- Tools (third-party → dashed, no shadow) ---------- */
.disclosure { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); max-width: 52em; margin: -24px 0 36px; font-size: .95rem; }
.tool-card { border: 2px dashed var(--ink); border-radius: var(--r-lg); padding: 24px; background: var(--paper); display: grid; gap: 10px; align-content: start; transition: background .2s; }
.tool-card:hover { background: #FFFFFF; }
.tool-card__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.tool-card__cat { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tool-card__title { font-size: 1.4rem; }
.tool-card__why { font-family: var(--f-hand); font-size: 1.45rem; line-height: 1.15; margin: 0; }
.tool-card__link { font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--yellow); justify-self: start; padding-bottom: 2px; margin-top: 6px; }

/* ---------- About teaser ---------- */
.about-teaser__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-teaser__img { margin: 0; position: relative; transform: rotate(-2.5deg); }
.about-teaser__img img { border: var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-teaser__img::before, .about-teaser__img::after { content: ""; position: absolute; width: 110px; height: 30px; background: rgba(234, 179, 8, .8); border: 1.5px solid var(--ink); z-index: 2; }
.about-teaser__img::before { top: -12px; left: 22%; transform: rotate(-8deg); }
.about-teaser__img::after { bottom: 40px; right: -26px; transform: rotate(70deg); }
.about-teaser__img figcaption { margin-top: 18px; text-align: center; }
.quote { margin: 26px 0 30px; padding-left: 22px; border-left: 5px solid var(--yellow); font-family: var(--f-display); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.35; }
.journal-list { margin-top: 48px; border-top: var(--border); padding-top: 18px; }
.journal-list__h { font-family: var(--f-text); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.journal-list ul { list-style: none; padding: 0; margin: 0; }
.journal-list a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--f-display); font-size: 1.2rem; transition: padding .2s var(--ease); }
.journal-list a:hover { padding-left: 10px; }
.journal-list time { font-family: var(--f-text); font-size: .85rem; color: var(--muted); white-space: nowrap; }

/* ---------- Commission panel (the yellow 10%) ---------- */
.commission__panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 4vw, 64px); align-items: center; background: var(--yellow); border: var(--border); border-radius: var(--r-xl); box-shadow: 12px 12px 0 var(--ink); padding: clamp(32px, 5vw, 72px); position: relative; overflow: hidden; }
.commission__panel::after { content: ""; position: absolute; width: 340px; height: 340px; right: -110px; top: -140px; border: 2px solid var(--ink); border-radius: 50%; opacity: .35; }
.commission__title { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin-bottom: 18px; }
.eyebrow--ink .eyebrow__num { background: var(--paper); }
.tiers { list-style: none; margin: 0; padding: 8px 20px; background: var(--paper); border: var(--border); border-radius: var(--r-lg); position: relative; z-index: 1; }
.tiers li { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 8px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.tiers li:last-child { border-bottom: 0; }
.tiers li span:not(:first-child) { text-align: right; font-weight: 700; }
.tiers__head { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tiers__head span:not(:first-child) { font-weight: 700 !important; }

/* ---------- Footer (ink) ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding: clamp(72px, 9vw, 120px) 0 32px; border-top: var(--border); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer__sign { display: grid; gap: 10px; padding-bottom: 56px; border-bottom: 1px solid rgba(254, 253, 249, .2); }
.site-footer__big { font-family: var(--f-display); font-size: clamp(3.6rem, 11vw, 9.5rem); line-height: .9; letter-spacing: -.03em; margin: 0; }
.site-footer__big em { color: var(--yellow); }
.site-footer__mail { font-size: clamp(1.2rem, 2.4vw, 1.8rem); font-weight: 700; justify-self: start; border-bottom: 3px solid var(--yellow); }
.site-footer__note { color: var(--muted-on-ink); margin: 0; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 48px 0; }
.site-footer__brand p { color: var(--muted-on-ink); max-width: 26em; margin-top: 18px; }
.site-footer__h { font-family: var(--f-text); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(254, 253, 249, .2); font-size: .88rem; color: var(--muted-on-ink); }
.site-footer__legal p { margin: 0; }

/* ---------- Inner pages ---------- */
.page-hero { padding-bottom: clamp(32px, 5vw, 56px); }
.page-hero__title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); margin-bottom: 8px; }
.entry__content { font-size: 1.1rem; }
.entry__content > * + * { margin-top: 1.1em; }
.entry__img, .artwork__img { margin: 32px 0; }
.entry__img img, .artwork__img img { border: var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); margin-inline: auto; max-height: 86vh; width: auto; }
.artwork__body { margin: 40px auto 0; }
.artwork__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 24px; border-top: var(--border); font-weight: 700; }
.post-card__img { display: block; border: var(--border); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 16px; box-shadow: var(--shadow); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__date { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.post-card__title { font-size: 1.6rem; margin: 6px 0 10px; }
.post-card__title a { text-decoration: none; }
.notfound { text-align: center; }
.notfound .mascot { margin: 0 auto 24px; }

/* ---------- WooCommerce touches ---------- */
.shop-wrap .woocommerce-products-header__title { font-size: clamp(2.6rem, 6vw, 5rem); margin-bottom: 32px; }
.woocommerce ul.products li.product { border: var(--border); border-radius: var(--r-lg); padding: 0 0 18px !important; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); }
.woocommerce ul.products li.product a img { margin: 0 0 14px !important; border-bottom: var(--border); aspect-ratio: 4 / 3; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price { padding: 0 18px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--f-display); font-size: 1.3rem !important; }
.woocommerce ul.products li.product .button { margin: 12px 18px 0; }
.woocommerce div.product .product_title { font-size: clamp(2.2rem, 4vw, 3.4rem); }
.woocommerce .price, .woocommerce div.product p.price { color: var(--ink) !important; font-weight: 700; }
.woocommerce span.onsale { background: var(--yellow); color: var(--ink); border: var(--border); }
.woocommerce-message, .woocommerce-info { border-top-color: var(--yellow) !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ink) !important; }

/* ---------- About page ---------- */
.about-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-hero__sign { margin-top: 8px; transform: rotate(-3deg); display: inline-block; }
.about-hero__banner { margin: 0; position: relative; transform: rotate(2deg); }
.about-hero__banner img { border: var(--border); border-radius: var(--r-xl); box-shadow: 12px 12px 0 var(--yellow), 12px 12px 0 2px var(--ink); width: 100%; }
.about-hero__sticker { position: absolute; left: -22px; bottom: 36px; transform: rotate(-8deg); }
.about-story__inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about-story__text p { font-size: 1.25rem; color: var(--muted-on-ink); }
.quote--ink { border-left-color: var(--yellow); color: var(--paper); }
.about-styles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.about-style__img { display: block; aspect-ratio: 4 / 5; border: var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 18px; background: var(--paper-2); }
.about-style__img img { width: 100%; height: 100%; object-fit: cover; }
.about-style:nth-child(2) .about-style__img { transform: rotate(1.2deg); }
.about-style h3 { font-size: 1.7rem; margin-bottom: 6px; }
.about-style p { color: var(--muted); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { background: var(--paper); border: var(--border); border-radius: var(--r-lg); padding: 26px 22px; position: relative; }
.steps li:not(:last-child)::after { content: "→"; position: absolute; right: -18px; top: 30px; font-size: 1.4rem; z-index: 1; }
.steps__n { display: grid; place-items: center; width: 44px; height: 44px; background: var(--yellow); border: var(--border); border-radius: 14px; font: 600 1.5rem var(--f-hand); margin-bottom: 14px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: .97rem; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); border: var(--border); border-radius: var(--r-xl); background: var(--paper-2); }
.cta-band__title { font-family: var(--f-display); font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.05; margin: 0; font-weight: 600; }
.cta-band__btns { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band--small { margin-top: 56px; }

/* ---------- Contact / commissions ---------- */
.status-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: var(--border); border-radius: 999px; font-weight: 700; font-size: .9rem; margin-top: 8px; }
.status-pill span { width: 10px; height: 10px; border-radius: 50%; background: #2E7D32; box-shadow: 0 0 0 4px rgba(46, 125, 50, .2); }
.status-pill.is-closed span { background: var(--muted); box-shadow: none; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.price-card { background: var(--yellow); border: var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); padding: clamp(24px, 3vw, 36px); }
.price-card__title { font-size: 1.9rem; margin-bottom: 16px; }
.tiers--flat { box-shadow: none; }
.facts { list-style: none; padding: 0; margin: 20px 0 14px; display: grid; gap: 6px; }
.facts strong { font-family: var(--f-display); font-size: 1.15rem; }
.note { font-size: .93rem; margin: 0; }
.direct { margin-top: 32px; display: grid; gap: 8px; justify-items: start; }
.direct .hand { margin: 0; }
.direct__mail { font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 600; text-decoration: none; border-bottom: 3px solid var(--yellow); }
.direct .note { color: var(--muted); margin-top: 10px; }

.form-card { background: var(--paper); border: var(--border); border-radius: var(--r-xl); padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow); scroll-margin-top: 100px; }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin: 0; display: grid; gap: 7px; }
.field label, .field legend { font-weight: 700; font-size: .92rem; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	width: 100%; padding: 13px 15px;
	font: inherit; color: var(--ink);
	background: #FFF; border: var(--border); border-radius: var(--r-sm);
	transition: box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--yellow); }
.field textarea { resize: vertical; min-height: 140px; }
.field--choices { border: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.field--choices legend { width: 100%; margin-bottom: 7px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-block; padding: 9px 16px; border: var(--border); border-radius: 999px; font-weight: 500; transition: background .15s; }
.pill input:checked + span { background: var(--ink); color: var(--paper); }
.pill input:focus-visible + span { box-shadow: 0 0 0 4px var(--yellow); }
.field--check label { display: flex; gap: 10px; align-items: start; font-weight: 500; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--ink); flex: none; }
.form .btn { justify-self: start; border-radius: var(--r); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: var(--border); border-radius: var(--r); margin-bottom: 22px; }
.alert p { margin: 0; }
.alert--ok { background: var(--yellow); }
.alert--error { background: #FDECEA; border-color: #B3261E; color: #7A1A14; }
.alert__title { font-family: var(--f-display); font-size: 1.4rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq__group { font-size: 1.6rem; margin: 48px 0 14px; }
.faq__group:first-child { margin-top: 0; }
.faq { border-top: var(--border); }
.faq__item { border-bottom: var(--border); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 20px 4px; font-family: var(--f-display); font-size: 1.25rem; font-weight: 600; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { flex: none; width: 34px; height: 34px; border: var(--border); border-radius: 12px; position: relative; transition: background .2s, transform .3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq__item[open] .faq__icon { background: var(--yellow); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item p { padding: 0 4px 22px; margin: 0; color: var(--muted); max-width: 46em; }

/* ---------- WooCommerce: shop, product, cart, checkout ---------- */
.woocommerce .woocommerce-breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.woocommerce .woocommerce-breadcrumb a { color: var(--ink); }
.woocommerce .woocommerce-result-count { color: var(--muted); }
.woocommerce .woocommerce-ordering select { padding: 10px 14px; border: var(--border); border-radius: var(--r-sm); font: inherit; background: var(--paper); }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); margin: 24px 0 0 !important; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.woocommerce ul.products li.product:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-lg); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border: var(--border); border-radius: 12px; min-width: 42px; padding: 10px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: var(--paper); }

/* Single product */
.woocommerce div.product { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper img { border: var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.woocommerce div.product div.images .flex-control-thumbs li img { border: 2px solid transparent; border-radius: 10px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active { border-color: var(--ink); }
.woocommerce div.product div.summary { position: sticky; top: 100px; }
.woocommerce div.product p.price { font-family: var(--f-display); font-size: 2rem !important; margin: 10px 0 18px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--muted); font-size: 1.08rem; }
.woocommerce div.product form.cart { display: flex; gap: 12px; align-items: stretch; margin: 26px 0 !important; }
.woocommerce div.product form.cart .quantity .qty { height: 100%; min-height: 52px; width: 70px; border: var(--border); border-radius: var(--r-sm); font: inherit; }
.woocommerce div.product form.cart .button { padding: 16px 28px !important; font-size: 1.05rem !important; }
.woocommerce div.product .product_meta { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }
.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0 !important; margin: 0 0 20px !important; display: flex; gap: 10px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: var(--border) !important; border-radius: 999px !important; background: var(--paper) !important; margin: 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 9px 18px !important; font-weight: 700 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--ink) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--paper) !important; }
.woocommerce div.product .related > h2, .woocommerce div.product .upsells > h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin: 32px 0 8px; }
.shop-trust { list-style: none; padding: 16px 0 0; margin: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .95rem; }
.shop-trust li::before { content: "✦ "; color: var(--ink); }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { border: var(--border) !important; border-radius: var(--r) !important; background: var(--paper-2) !important; color: var(--ink) !important; }
.woocommerce-message .button { float: right; }

/* Cart & checkout (block-based, WooCommerce 8+) */
.wc-block-cart, .wc-block-checkout { margin-top: 12px; }
.wc-block-components-sidebar-layout .wc-block-components-sidebar .wc-block-components-totals-wrapper,
.wp-block-woocommerce-checkout-order-summary-block, .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
	border-color: var(--line) !important;
}
.wc-block-components-sidebar { background: var(--paper-2); border: var(--border); border-radius: var(--r-xl); padding: 22px !important; }
.wc-block-components-text-input input, .wc-block-components-text-input textarea, .wc-blocks-components-select .wc-blocks-components-select__select, .wc-block-components-combobox .wc-block-components-combobox-control input {
	border: var(--border) !important; border-radius: var(--r-sm) !important; background: #FFF !important;
}
.wc-block-components-text-input.is-active input:focus, .wc-block-components-text-input input:focus { box-shadow: 0 0 0 4px var(--yellow) !important; outline: none !important; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--yellow) !important; color: var(--ink) !important;
	border: var(--border) !important; border-radius: var(--r) !important;
	box-shadow: var(--shadow) !important; font-weight: 700 !important; min-height: 56px;
	transition: transform .18s var(--ease), box-shadow .18s var(--ease) !important;
}
.wc-block-components-button:not(.is-link):hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink) !important; }
.wc-block-components-button:not(.is-link):active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink) !important; }
.wc-block-components-product-name { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border: var(--border); border-radius: 10px; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value, .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-family: var(--f-display); font-size: 1.4rem !important; }
.wp-block-woocommerce-empty-cart-block .wc-block-cart__empty-cart__title { font-family: var(--f-display); }
.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button { color: var(--ink); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border: var(--border); border-radius: 12px; text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--paper); }
.woocommerce table.shop_table { border: var(--border) !important; border-radius: var(--r) !important; overflow: hidden; }

/* ---------- Reveal on scroll (only when JS runs) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
	.nav__list { gap: 18px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.menu-toggle { display: grid; place-items: center; }
	.nav {
		position: fixed; inset: 76px 0 0 0; z-index: 99;
		flex-direction: column; justify-content: center; gap: 36px;
		background: var(--ink); color: var(--paper);
		transform: translateY(-110%); transition: transform .4s var(--ease);
		visibility: hidden;
	}
	.menu-open .nav { transform: none; visibility: visible; }
	.nav__list { flex-direction: column; align-items: center; gap: 14px; }
	.nav__list a { font-family: var(--f-display); font-size: 2.4rem; }
	.nav .btn--ink { background: var(--yellow); color: var(--ink); }
	.menu-open { overflow: hidden; }

	.hero__inner { grid-template-columns: 1fr; }
	.hero__stage { min-height: 0; max-width: 460px; width: 100%; margin: 12px auto 0; }
	.hero__note { position: relative; left: auto; bottom: auto; justify-self: start; order: -1; margin: 0 0 -8px 8px; max-width: none; }
	.hero__note::before { display: none; }
	.hero__note::after { content: " ↓"; }
	.styles__grid, .about-teaser__inner, .commission__panel { grid-template-columns: 1fr; }
	.products-row, .tools-row, .post-grid { grid-template-columns: 1fr 1fr; }
	.works__grid { grid-template-columns: 1fr 1fr; }
	.works__grid .works__item { grid-column: auto; margin-top: 0; }
	.works__grid .works__item--1 { grid-column: 1 / -1; }
	.about-teaser__img { max-width: 420px; }
	.about-hero__inner, .about-story__inner, .contact-grid { grid-template-columns: 1fr; }
	.about-hero__banner { max-width: 480px; }
	.about-styles__grid { grid-template-columns: 1fr 1fr; }
	.steps { grid-template-columns: 1fr 1fr; }
	.steps li::after { display: none; }
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.summary { position: static; }
	.woocommerce ul.products { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.brand__name { font-size: 1.15rem; }
	.site-header__inner { height: 68px; gap: 12px; }
	.nav { inset: 68px 0 0 0; }
	.hero__title { font-size: clamp(2.7rem, 13vw, 3.6rem); }
	.hero__ctas .btn { width: 100%; justify-content: center; }
	.hero__doodle { width: 110px; }
	.hero__sticker { font-size: .72rem; }
	.products-row, .tools-row, .post-grid, .works__grid { grid-template-columns: 1fr; }
	.tiers li { font-size: .92rem; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.marquee { transform: none; margin: 0; }
	.form__row, .about-styles__grid, .steps, .woocommerce ul.products { grid-template-columns: 1fr; }
	.about-hero__sticker { left: 8px; }
	.cta-band { flex-direction: column; align-items: start; }
	.woocommerce div.product form.cart { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.swipe::before { transform: rotate(-2deg) scaleX(1); }
	.js .reveal { opacity: 1; transform: none; }
}
