/*
Theme Name: SVG Design Vault
Theme URI: https://svgdesignvault.com
Author: Board & Batten Design Co
Description: Direction C · Blue Vault. Classic PHP theme for the SVG Design Vault catalog (requires the SDV Catalog plugin).
Version: 0.1.12
Requires PHP: 8.1
Text Domain: sdv
*/

@font-face { font-family: 'Fraunces'; src: url(assets/fonts/fraunces-latin-opsz-normal.woff2) format('woff2-variations'), url(assets/fonts/fraunces-latin-opsz-normal.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url(assets/fonts/hanken-grotesk-latin-400-normal.woff2) format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url(assets/fonts/hanken-grotesk-latin-500-normal.woff2) format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url(assets/fonts/hanken-grotesk-latin-600-normal.woff2) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url(assets/fonts/hanken-grotesk-latin-700-normal.woff2) format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url(assets/fonts/hanken-grotesk-latin-700-italic.woff2) format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }

:root {
	--blue: #1B2F6B;
	--blue-rule: #3A4F8C;
	--on-blue: #F6F0E3;
	--on-blue-2: #D8DDEB;
	--on-blue-3: #B9C1DA;
	--cream: #F6F0E3;
	--white: #FFFFFF;
	--well: #F3F2EF;
	--ink: #232326;
	--ink-2: #34363D;
	--muted: #5C5F6B;
	--muted-2: #45474F;
	--mustard: #F2C96B;
	--rule: #D9CFBA;
	--field: #CFC5AF;
	--foot: #C8C3B6;
	--foot-2: #A5A092;
	--serif: 'Fraunces', Georgia, serif;
	--sans: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--gutter: 72px;
	--r-btn: 4px;
	--r-card: 6px;
}
@media (max-width: 1200px) { :root { --gutter: 40px; } }
@media (max-width: 700px)  { :root { --gutter: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.1; margin: 0; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--mustard); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); padding: 8px 12px; border-radius: var(--r-btn); }
.skip:focus { left: 8px; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); max-width: 1440px; margin-left: auto; margin-right: auto; }
.muted { color: var(--muted); }
main { display: block; }
.block { padding-top: 56px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: var(--r-btn); font-weight: 700; font-size: 16px; padding: 13px 22px; cursor: pointer; text-decoration: none; line-height: 1.2; text-align: center; }
.btn:hover { text-decoration: none; filter: brightness(0.97); }
.btn--primary { background: var(--mustard); color: var(--ink); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--outline { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }
.btn--field { background: var(--white); color: var(--ink); border: 1px solid var(--field); font-size: 15px; }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 16px 26px; font-size: 17px; }
.btn--xl { height: 64px; font-size: 20px; width: 100%; }
.see-all { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header { background: var(--blue); color: var(--on-blue); }
.site-header__bar { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.logo { display: block; flex-shrink: 0; line-height: 0; }
.logo img { width: 200px; height: auto; }
.site-header--home .logo img { width: 230px; }
.site-header--home .site-header__bar { min-height: 84px; gap: 36px; }
.hsearch { flex: 1 1 auto; max-width: 560px; display: flex; }
.hsearch input { flex: 1 1 auto; min-width: 0; height: 46px; padding: 0 14px; border: 0; border-radius: var(--r-btn) 0 0 var(--r-btn); background: var(--white); color: var(--ink); font-size: 16px; }
.hsearch button { height: 46px; padding: 0 18px; border: 0; border-radius: 0 var(--r-btn) var(--r-btn) 0; background: var(--mustard); color: var(--ink); font-weight: 700; cursor: pointer; }
.hsearch__icon { display: none; }
.mainnav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; margin-left: auto; }
.site-header--home .mainnav { margin-left: 0; flex: 1 1 auto; font-size: 16px; gap: 28px; }
.mainnav a { color: var(--on-blue); white-space: nowrap; }
.mainnav a[aria-current] { color: var(--white); text-decoration: underline; text-underline-offset: 6px; }
.hdr-cta { white-space: nowrap; }
.mobnav { display: none; position: relative; }
.mobnav summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--on-blue); }
.mobnav summary::-webkit-details-marker { display: none; }
.mobnav nav { position: absolute; right: 0; top: 48px; z-index: 50; background: var(--white); border-radius: var(--r-card); padding: 8px 0; min-width: 220px; box-shadow: 0 8px 24px rgba(10, 20, 50, .25); display: flex; flex-direction: column; }
.mobnav nav a { padding: 12px 18px; color: var(--ink); font-weight: 600; }

@media (max-width: 1100px) {
	.mainnav, .hdr-cta { display: none; }
	.mobnav { display: block; margin-left: auto; }
	.site-header__bar { flex-wrap: wrap; gap: 12px 20px; }
	.hsearch { order: 5; flex-basis: 100%; max-width: none; margin-bottom: 14px; }
}
@media (max-width: 700px) {
	.site-header__bar { min-height: 60px; }
	.logo img, .site-header--home .logo img { width: 170px; }
	.hsearch input { height: 48px; font-size: 17px; }
	.hsearch button { width: 52px; padding: 0; }
	.hsearch__label { display: none; }
	.hsearch__icon { display: inline-flex; }
}

/* Footer */
.site-footer { margin-top: 48px; background: var(--ink); color: var(--foot); font-size: 14px; }
.site-footer a { color: var(--on-blue); }
.site-footer a.muted-link { color: var(--foot); }
.site-footer__row { display: flex; gap: 28px; align-items: center; padding: 28px 0; flex-wrap: wrap; }
.site-footer__row .site-footer__credit { flex: 1 1 320px; }
.site-footer__row nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer--full { font-size: 15px; }
.site-footer__cols { display: flex; gap: 64px; padding: 40px 0 28px; flex-wrap: wrap; }
.site-footer__cols > div { display: flex; flex-direction: column; gap: 8px; }
.site-footer__cols .logo img { width: 230px; }
.site-footer--full .site-footer__credit { font-size: 13px; color: var(--foot-2); padding-bottom: 40px; }
@media (max-width: 700px) { .site-footer__cols { gap: 24px 40px; } .site-footer__cols .logo { flex-basis: 100%; } }

/* Section heads */
.section-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { flex: 1 1 auto; font-size: 36px; }
.section-head .note { font-size: 15px; color: var(--muted); }
@media (max-width: 700px) { .section-head h2 { font-size: 26px; } .section-head { margin-bottom: 14px; } }

/* Tiles and grids */
.grid { display: grid; gap: 24px; }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 20px; }
.tile { display: flex; flex-direction: column; gap: 10px; color: var(--ink); }
.tile:hover { text-decoration: none; }
.tile:hover .tile__title { text-decoration: underline; }
.tile--static:hover .tile__title { text-decoration: none; }
.tile__art { position: relative; aspect-ratio: 1 / 1; background: var(--white); border-radius: var(--r-card); display: flex; align-items: center; justify-content: center; padding: 20px; overflow: hidden; }
.grid--6 .tile__art { padding: 18px; }
.tile__art img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.tile__title { font-size: 16px; font-weight: 600; line-height: 1.3; }
.grid--6 .tile { gap: 8px; }
.grid--6 .tile__title { font-size: 15px; }
.tile__meta { font-size: 14px; color: var(--muted); margin-top: -4px; }
@media (max-width: 1100px) { .grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid--6 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 700px) {
	.grid--5, .grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	.tile__art, .grid--6 .tile__art { padding: 12px; }
	.tile__title, .grid--6 .tile__title { font-size: 14px; }
	.tile { gap: 6px; }
}

/* Tabs: text with a 3px underline */
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--rule); overflow-x: auto; scrollbar-width: none; }
.tabs [role="tab"] { padding: 0 0 10px; margin-bottom: -1px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--ink); font-size: 17px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.tabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--blue); color: var(--blue); font-weight: 700; }
.tabs .when { font-weight: 500; color: var(--muted); }
.tabpanel { padding-top: 16px; }

/* Breadcrumbs */
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; }

/* Vault band */
.vault-band { margin-top: 48px; background: var(--blue); color: var(--on-blue); border-radius: var(--r-card); padding: 26px 36px; display: flex; align-items: center; gap: 28px; }
.wrap.vault-band, .wrap.vend { max-width: calc(1440px - 2 * var(--gutter)); margin-left: auto; margin-right: auto; }
@media (max-width: 1440px) { .wrap.vault-band, .wrap.vend { margin-left: var(--gutter); margin-right: var(--gutter); } }
.vault-band p { flex: 1 1 auto; font-size: 18px; color: var(--on-blue-2); }
.vault-band strong { font-family: var(--serif); font-size: 24px; color: var(--on-blue); margin-right: 12px; }
.vault-band--full { padding: 40px 48px; gap: 48px; }
.vault-band__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; }
.vault-band--full h2 { font-size: 38px; }
.vault-band--full p { max-width: 640px; line-height: 1.5; }
.vault-band__price { font-family: var(--serif); font-weight: 700; font-size: 60px; line-height: 1; }
@media (max-width: 900px) {
	.vault-band, .vault-band--full { flex-direction: column; align-items: stretch; gap: 14px; padding: 22px; }
	.vault-band__price { font-size: 44px; }
	.vault-band--full h2 { font-size: 28px; }
}

/* Resource page */
.resource__head { padding-top: 26px; display: flex; flex-direction: column; gap: 8px; }
.resource__head h1 { font-size: 54px; line-height: 1.05; }
.resource__top { padding-top: 26px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.resource__art { position: relative; background: var(--white); border-radius: var(--r-card); min-height: 600px; display: flex; align-items: center; justify-content: center; padding: 60px; }
.resource__art img { max-height: 480px; width: auto; object-fit: contain; }
.dlpanel { background: var(--blue); color: var(--on-blue); border-radius: var(--r-card); padding: 30px; display: flex; flex-direction: column; gap: 20px; }
.dlpanel__desc { font-size: 17px; line-height: 1.55; color: var(--on-blue-2); }
.facts { margin: 0; font-size: 16px; }
.facts div { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--blue-rule); }
.facts div:last-child { border-bottom: 1px solid var(--blue-rule); }
.facts dt { width: 110px; flex-shrink: 0; color: var(--on-blue-3); }
.facts dd { margin: 0; }
.dlpanel__license { font-size: 15px; color: var(--on-blue-2); }
.dlpanel__license a { color: var(--white); text-decoration: underline; }
.resource__guide { padding-top: 56px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
.resource__guide:has(> .tips:only-child) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.resource__guide h2 { font-size: 30px; margin-bottom: 18px; }
.plan .tabs { margin-bottom: 0; }
.plan__lead { font-size: 17px; font-weight: 600; margin: 0 0 8px; }
.cols2 { margin: 0 0 12px; padding-left: 20px; columns: 2; column-gap: 40px; font-size: 17px; line-height: 1.9; }
.projlinks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 17px; }
.projlinks a { text-decoration: underline; text-underline-offset: 3px; }
.tips__note { font-size: 16px; line-height: 1.5; margin-bottom: 14px; }
.tips dl { margin: 0; font-size: 16px; line-height: 1.5; }
.tips dl div { padding: 12px 0; border-top: 1px solid var(--rule); }
.tips dl div:last-child { border-bottom: 1px solid var(--rule); }
.tips dt { font-weight: 700; }
.tips dd { margin: 2px 0 0; color: var(--muted-2); }
@media (max-width: 1100px) { .resource__art { min-height: 440px; padding: 36px; } .resource__art img { max-height: 380px; } }
@media (max-width: 900px) {
	.resource__top, .resource__guide, .resource__guide:has(> .tips:only-child) { grid-template-columns: minmax(0, 1fr); }
	.resource__head h1 { font-size: 34px; }
	.resource__art { min-height: 0; aspect-ratio: 1 / 1; padding: 24px; }
	.resource__art img { max-height: 100%; }
	.dlpanel { padding: 22px; }
	.resource__guide { gap: 36px; padding-top: 40px; }
	.projlinks { columns: 2; }
	.cols2 { columns: 1; }
}

/* Listing pages (search, browse, taxonomy) */
.list-head { padding-top: 36px; display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.list-head__title { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; }
.list-head h1 { font-size: 44px; }
.list-head .count { font-size: 16px; color: var(--muted); }
.listing { padding-top: 22px; }
.listing-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filters-wrap { flex: 1 1 auto; }
.filters-wrap > summary { display: none; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter { position: relative; }
.filter summary { list-style: none; height: 42px; padding: 0 14px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--field); border-radius: var(--r-btn); background: var(--white); font-size: 15px; font-weight: 600; cursor: pointer; }
.filter summary::-webkit-details-marker { display: none; }
.filter[open] summary { border-color: var(--blue); }
.filter__menu { position: absolute; top: 46px; left: 0; z-index: 20; min-width: 260px; max-height: 360px; overflow-y: auto; background: var(--white); border: 1px solid var(--field); border-radius: var(--r-btn); padding: 6px 0; box-shadow: 0 8px 20px rgba(10, 20, 50, .12); }
.filter__menu a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 14px; color: var(--ink); font-size: 15px; }
.filter__menu a:hover { background: var(--cream); text-decoration: none; }
.filter__menu a[aria-current] { font-weight: 700; color: var(--blue); }
.filter__menu .n { color: var(--muted); }
.sort { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.sort label { font-size: 15px; color: var(--muted); }
.sort select, .field select { height: 42px; padding: 0 12px; border: 1px solid var(--field); border-radius: var(--r-btn); background: var(--white); font-size: 15px; }
.ftags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 15px; margin-top: 12px; }
.ftag { height: 34px; padding: 0 10px; display: inline-flex; align-items: center; gap: 8px; border-radius: var(--r-btn); background: var(--blue); color: var(--white); font-size: 14px; font-weight: 600; }
.ftag:hover { text-decoration: none; filter: brightness(1.15); }
.ftags .clear { text-decoration: underline; text-underline-offset: 3px; }
.results { padding-top: 26px; }
.more { padding-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.more__count { font-size: 14px; }
.related-searches { text-align: center; padding-top: 18px; font-size: 15px; color: var(--muted); }
@media (max-width: 700px) {
	.list-head { padding-top: 18px; }
	.list-head h1 { font-size: 26px; }
	.listing-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.filters-wrap { position: static; }
	.filters-wrap > summary { display: flex; height: 44px; width: 100%; list-style: none; }
	.filters-wrap > summary::-webkit-details-marker { display: none; }
	.filters-wrap[open] { grid-column: 1 / -1; }
	.filters-wrap[open] > summary { margin-bottom: 8px; }
	.filters { flex-direction: column; }
	.filter__menu { position: static; box-shadow: none; max-height: none; margin-top: 6px; }
	.sort { margin-left: 0; }
	.sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.sort select { width: 100%; height: 44px; font-weight: 700; }
	.more .btn { width: 100%; }
}

/* Project / category page head */
.tax-head { padding-top: 30px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.tax-head__text { display: flex; flex-direction: column; gap: 12px; }
.tax-head h1 { font-size: 48px; line-height: 1.05; }
.tax-head .intro { font-size: 18px; line-height: 1.55; color: var(--muted-2); max-width: 700px; }
.tax-head .count { font-size: 16px; font-weight: 600; }
.supply { background: var(--white); border-radius: var(--r-card); padding: 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.supply h2 { font-family: var(--sans); font-size: 18px; }
.supply ul { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 16px; line-height: 1.8; }
@media (max-width: 900px) { .tax-head { grid-template-columns: 1fr; gap: 20px; } .tax-head h1 { font-size: 32px; } }

/* No results */
.noresults { padding-top: 48px; max-width: 820px; display: flex; flex-direction: column; gap: 14px; }
.noresults h1 { font-size: 44px; }
.noresults p { font-size: 18px; color: var(--muted-2); }
.bigsearch { display: flex; margin-top: 8px; }
.bigsearch input { flex: 1 1 auto; min-width: 0; height: 58px; padding: 0 16px; border: 1.5px solid var(--blue); border-right: 0; border-radius: var(--r-btn) 0 0 var(--r-btn); font-size: 18px; background: var(--white); }
.bigsearch button { height: 58px; padding: 0 28px; border: 0; border-radius: 0 var(--r-btn) var(--r-btn) 0; background: var(--blue); color: var(--white); font-size: 17px; font-weight: 700; cursor: pointer; }
.catlist { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.catlist a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--rule); color: var(--ink); font-size: 16px; }
.catlist a span:first-child { font-weight: 600; }
.catlist a span + span { color: var(--muted); }
@media (max-width: 900px) { .catlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; } .noresults h1 { font-size: 30px; } }
@media (max-width: 500px) { .catlist { grid-template-columns: 1fr; } }

/* Homepage */
.hero { background: var(--blue); color: var(--on-blue); padding-bottom: 72px; }
.hero__inner { display: flex; gap: 56px; align-items: center; padding-top: 40px; }
.hero__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: 76px; line-height: 1; letter-spacing: -1px; }
.hero__sub { font-size: 20px; line-height: 1.5; max-width: 660px; color: var(--on-blue-2); }
.hero__works { margin-top: -6px; font-size: 18px; font-weight: 700; font-style: italic; }
.hero__search { display: flex; max-width: 720px; margin-top: 6px; }
.hero__field { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; padding: 0 18px; height: 64px; background: var(--white); border-radius: var(--r-btn) 0 0 var(--r-btn); color: var(--muted); min-width: 0; }
.hero__field input { border: 0; outline: 0; font-size: 19px; flex: 1 1 auto; min-width: 0; color: var(--ink); background: transparent; }
.hero__search button { height: 64px; padding: 0 32px; border: 0; border-radius: 0 var(--r-btn) var(--r-btn) 0; background: var(--mustard); color: var(--ink); font-size: 18px; font-weight: 700; cursor: pointer; }
.hero__cards { width: 470px; height: 400px; position: relative; flex-shrink: 0; }
.hero__cards a { position: absolute; border-radius: var(--r-card); display: flex; align-items: center; justify-content: center; padding: 26px; }
.hero__cards img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.hero__cards a:nth-child(1) { left: 0; top: 40px; width: 250px; height: 250px; background: var(--cream); transform: rotate(-6deg); }
.hero__cards a:nth-child(2) { right: 0; top: 0; width: 250px; height: 250px; background: var(--white); transform: rotate(5deg); }
.hero__cards a:nth-child(3) { left: 110px; top: 170px; width: 270px; height: 220px; background: #FFFDF7; transform: rotate(-1deg); padding: 24px; box-shadow: 0 8px 24px rgba(10, 20, 50, .3); }
.home-sec { padding-top: 64px; }
.home-sec:first-of-type { padding-top: 56px; }
.catcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.catcard { background: var(--white); border-radius: var(--r-card); padding: 14px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.catcard:hover { text-decoration: none; }
.catcard:hover .catcard__name { text-decoration: underline; }
.catcard__art { height: 150px; background: var(--well); border-radius: var(--r-btn); display: flex; align-items: center; justify-content: center; padding: 18px; }
.catcard__art img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.catcard__label { display: flex; align-items: baseline; gap: 8px; padding: 0 2px; }
.catcard__name { font-size: 18px; font-weight: 700; flex: 1 1 auto; }
.catcard__n { font-size: 15px; color: var(--muted); }
.projtiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; }
.projtile { background: var(--white); border-radius: var(--r-card); padding: 18px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-align: center; }
.projtile svg { color: var(--blue); }
.projtile:hover { text-decoration: none; }
.projtile:hover .projtile__name { text-decoration: underline; }
.projtile__name { font-size: 16px; font-weight: 700; line-height: 1.25; }
.projtile__n { font-size: 14px; color: var(--muted); }
.helpcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.helpcard { border-top: 2px solid var(--blue); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.helpcard strong { font-size: 19px; }
.helpcard span { font-size: 15px; color: var(--muted); }
.home-help h2 { font-size: 28px; margin-bottom: 14px; }
.provenance { padding-top: 44px; font-size: 17px; color: var(--muted-2); }
.plan-ahead .tabs { font-size: 18px; margin-bottom: 6px; }
.plan-ahead .tabs [role="tab"] { font-size: 18px; padding-bottom: 12px; }
.plan-ahead .tabpanel { padding-top: 22px; }
@media (max-width: 1200px) {
	.hero h1 { font-size: 60px; }
	.hero__cards { transform: scale(.8); transform-origin: right center; width: 376px; }
	.projtiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.hero__cards { display: none; }
	.catcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.helpcards { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 700px) {
	.hero { padding-bottom: 26px; }
	.hero__inner { padding-top: 6px; }
	.hero__text { gap: 12px; }
	.hero h1 { font-size: 38px; line-height: 1.02; letter-spacing: 0; }
	.hero__sub { font-size: 16px; line-height: 1.45; }
	.hero__works { font-size: 15px; margin-top: -2px; }
	.hero__search { background: var(--white); border-radius: var(--r-card); padding: 6px; gap: 6px; }
	.hero__field { height: 48px; padding: 0 8px; border-radius: 0; }
	.hero__field svg { display: none; }
	.hero__field input { font-size: 17px; }
	.hero__search button { height: 48px; padding: 0 16px; border-radius: var(--r-btn); background: var(--blue); color: var(--white); font-size: 16px; }
	.home-sec, .home-sec:first-of-type { padding-top: 28px; }
	.catcards { gap: 12px; }
	.catcard { padding: 10px; gap: 8px; }
	.catcard__art { height: 90px; padding: 10px; }
	.catcard__name { font-size: 15px; }
	.catcard__n { display: none; }
	.projtiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.plan-ahead .tabs { gap: 20px; }
	.plan-ahead .tabs [role="tab"] { font-size: 16px; }
	.home-help h2 { font-size: 24px; }
}

/* Article pages: help, license, policies */
.article-wrap { padding-top: 36px; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; }
.article { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.article h1 { font-size: 46px; line-height: 1.08; }
.article .checked { font-size: 14px; color: var(--muted); }
.shortanswer { background: var(--white); border-radius: var(--r-card); padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.shortanswer h2 { font-family: var(--sans); font-size: 18px; }
.shortanswer p { font-size: 17px; line-height: 1.6; }
.prose { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.prose > * + * { margin-top: 16px; }
.prose h2 { font-size: 28px; color: var(--ink); margin-top: 36px; }
.prose h3 { font-family: var(--sans); font-size: 19px; color: var(--ink); margin-top: 26px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--white); border-radius: var(--r-card); overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose th { font-weight: 700; color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.prose .callout { padding: 14px 16px; background: var(--white); border-radius: var(--r-btn); font-size: 16px; line-height: 1.55; }
.prose .step { display: flex; gap: 22px; padding-top: 18px; border-top: 1px solid var(--rule); margin-top: 22px; }
.prose .step__n { font-family: var(--serif); font-weight: 700; font-size: 40px; line-height: 1; color: var(--blue); width: 40px; flex-shrink: 0; }
.prose .step__body { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-width: 0; }
.prose .step__body h2 { font-family: var(--sans); font-size: 21px; margin: 0; }
.prose .step__body > * + * { margin-top: 0; }
.aside { display: flex; flex-direction: column; gap: 28px; padding-top: 44px; }
.aside nav { display: flex; flex-direction: column; gap: 10px; }
.aside h2 { font-family: var(--sans); font-size: 16px; }
.aside nav + nav { border-top: 1px solid var(--rule); padding-top: 22px; }
.stuck { background: var(--blue); color: var(--on-blue); border-radius: var(--r-card); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.stuck strong { font-size: 16px; }
.stuck span { font-size: 15px; line-height: 1.5; color: var(--on-blue-2); }
.stuck .btn { align-self: flex-start; }
@media (max-width: 900px) {
	.article-wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 22px; }
	.article h1 { font-size: 32px; }
	.aside { padding-top: 0; }
	.prose h2 { font-size: 24px; }
	.prose .step { gap: 14px; }
	.prose .step__n { font-size: 30px; width: 28px; }
	.prose table { font-size: 15px; }
	.prose th, .prose td { padding: 9px 10px; }
}

/* Index pages: categories, seasonal, project types, help */
.idx-head { padding-top: 36px; max-width: 820px; display: flex; flex-direction: column; gap: 10px; }
.idx-head h1 { font-size: 46px; }
.idx-head p { font-size: 18px; color: var(--muted-2); }
.idx-grid { padding-top: 28px; }
.season-group + .season-group { padding-top: 40px; }
.season-group h2 { font-size: 26px; margin-bottom: 16px; }
.catcard__when { font-size: 14px; color: var(--muted); padding: 0 2px; margin-top: -8px; }
.helpindex { padding-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 32px; }
@media (max-width: 900px) { .idx-head h1 { font-size: 32px; } .helpindex { grid-template-columns: 1fr; gap: 18px; } }

/* Contact */
.contact-wrap { padding-top: 44px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; }
.cform { display: flex; flex-direction: column; gap: 22px; }
.cform h1 { font-size: 46px; }
.cform .lead { margin-top: -6px; font-size: 18px; color: var(--muted-2); }
.reasons { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.reasons legend { font-size: 16px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.reasons label { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 16px; background: var(--white); border-radius: var(--r-btn); border: 1px solid var(--field); font-size: 16px; font-weight: 600; cursor: pointer; }
.reasons label:has(input:checked) { border: 2px solid var(--blue); padding: 0 15px; }
.reasons input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea { height: 48px; padding: 0 12px; border: 1px solid var(--field); border-radius: var(--r-btn); background: var(--white); font-weight: 400; font-size: 16px; }
.field textarea { height: auto; padding: 12px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 16px; border-radius: var(--r-btn); background: var(--white); border-left: 4px solid var(--blue); font-size: 16px; }
.notice--err { border-left-color: #B3261E; }
.quick { padding-top: 70px; display: flex; flex-direction: column; }
.quick h2 { font-family: var(--sans); font-size: 18px; margin-bottom: 12px; }
.quick a { padding: 14px 0; border-top: 1px solid var(--rule); font-size: 16px; font-weight: 600; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; } .cform h1 { font-size: 34px; } .quick { padding-top: 0; } }
@media (max-width: 600px) { .reasons, .row2 { grid-template-columns: 1fr; } }

/* Complete Vault page */
.vhero { background: var(--blue); color: var(--on-blue); padding-bottom: 72px; }
.vhero__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding-top: 44px; align-items: center; }
.vhero__text { display: flex; flex-direction: column; gap: 20px; }
.vhero h1 { font-size: 72px; line-height: 1; }
.vhero__sub { font-size: 20px; line-height: 1.55; color: var(--on-blue-2); max-width: 640px; }
.vhero__sub a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.vhero__buy { display: flex; align-items: center; gap: 28px; margin-top: 8px; }
.vhero__price { font-family: var(--serif); font-weight: 700; font-size: 64px; line-height: 1; }
.vhero__cta { display: flex; flex-direction: column; gap: 8px; }
.vhero__cta .btn { padding: 17px 30px; font-size: 18px; }
.vhero__note { font-size: 14px; color: var(--on-blue-3); max-width: 380px; }
.parts { background: var(--cream); color: var(--ink); border-radius: var(--r-card); padding: 24px 28px; }
.parts > strong { display: block; font-size: 15px; padding-bottom: 12px; }
.parts div { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--rule); }
.parts svg { color: var(--blue); flex-shrink: 0; }
.parts .r { flex: 1 1 auto; font-size: 17px; font-weight: 600; }
.parts .k { font-size: 15px; color: var(--muted); }
.vsec { padding-top: 64px; }
.vsplit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; }
.vsplit h2 { font-size: 36px; margin-bottom: 14px; }
.vsplit p.lead { font-size: 18px; line-height: 1.6; color: var(--muted-2); }
.incl h3 { font-family: var(--sans); font-size: 18px; margin-bottom: 8px; }
.incl div { padding: 14px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 2px; }
.incl strong { font-size: 17px; }
.incl span { font-size: 16px; color: var(--muted-2); line-height: 1.5; }
.incl a { font-size: 16px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.vstrip .section-head h2 { font-size: 28px; flex: 0 1 auto; }
.vstrip .grid--6 .tile__art { padding: 18px; }
.vstrip__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 18px; text-align: center; }
.vstrip__cta p { font-size: 19px; font-weight: 600; }
.vstrip__cta div { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.vfaq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.vfaq h2 { font-size: 36px; }
.vfaq dl { margin: 0; }
.vfaq dl div { padding: 16px 0; border-top: 1px solid var(--rule); }
.vfaq dt { font-size: 18px; font-weight: 700; }
.vfaq dd { margin: 4px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted-2); }
.vfaq .see-all { display: block; padding-top: 14px; border-top: 1px solid var(--rule); }
.vend { margin-top: 64px; background: var(--blue); color: var(--on-blue); border-radius: var(--r-card); padding: 32px 44px; display: flex; align-items: center; gap: 32px; }
.vend p { flex: 1 1 auto; font-family: var(--serif); font-weight: 700; font-size: 30px; }
@media (max-width: 1100px) { .vhero h1 { font-size: 56px; } .vhero__grid, .vsplit, .vfaq { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 700px) {
	.vhero { padding-bottom: 32px; }
	.vhero h1 { font-size: 40px; }
	.vhero__sub { font-size: 17px; }
	.vhero__buy { flex-direction: column; align-items: stretch; gap: 14px; }
	.vhero__price { font-size: 48px; }
	.vsec { padding-top: 40px; }
	.vsplit h2, .vfaq h2 { font-size: 28px; }
	.vend { flex-direction: column; align-items: stretch; padding: 22px; gap: 14px; }
	.vend p { font-size: 24px; }
	.vstrip__cta .btn { width: 100%; }
}

/* Vault browse overlay (never leaves the page) */
.vb { position: fixed; inset: 0; z-index: 200; background: rgba(26, 33, 64, .92); display: flex; padding: 40px 70px 0; }
.vb[hidden] { display: none; }
.vb__dialog { flex: 1 1 auto; background: var(--cream); border-radius: var(--r-card) var(--r-card) 0 0; display: flex; flex-direction: column; overflow: hidden; }
.vb__bar { padding: 24px 32px 18px; display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
.vb__bar h2 { font-size: 30px; flex: 1 1 auto; }
.vb__bar input, .vb__bar select { height: 44px; padding: 0 14px; border: 1px solid var(--field); border-radius: var(--r-btn); background: var(--white); font-size: 16px; }
.vb__bar input { width: 320px; }
.vb__close { width: 44px; height: 44px; border: 0; border-radius: var(--r-btn); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.vb__body { flex: 1 1 auto; overflow-y: auto; padding: 22px 32px; }
.vb__grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 18px 14px; }
.vb__item { display: flex; flex-direction: column; gap: 6px; }
.vb__item span:first-child { aspect-ratio: 1 / 1; background: var(--white); border-radius: var(--r-btn); display: flex; align-items: center; justify-content: center; padding: 12px; }
.vb__item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.vb__item span + span { font-size: 13px; font-weight: 600; line-height: 1.25; }
.vb__status { padding: 18px 0; text-align: center; color: var(--muted); font-size: 15px; }
.vb__buy { padding: 16px 32px; background: var(--blue); color: var(--on-blue); display: flex; align-items: center; gap: 24px; }
.vb__buy span { flex: 1 1 auto; font-size: 17px; }
.vb__buy span em { font-style: normal; color: var(--on-blue-2); }
.vb__buy b { font-family: var(--serif); font-weight: 700; font-size: 30px; }
body.vb-open { overflow: hidden; }
@media (max-width: 1100px) { .vb__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } .vb { padding: 20px 20px 0; } }
@media (max-width: 700px) {
	.vb { padding: 0; }
	.vb__dialog { border-radius: 0; }
	.vb__bar { padding: 10px 8px 10px 16px; gap: 8px; }
	.vb__bar h2 { font-size: 22px; }
	.vb__bar input { order: 5; flex: 1 1 60%; width: auto; min-width: 0; }
	.vb__bar select { order: 6; flex: 1 1 30%; }
	.vb__body { padding: 12px 16px; }
	.vb__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 10px; }
	.vb__item span:first-child { padding: 8px; }
	.vb__item span + span { font-size: 12px; }
	.vb__buy { padding: 12px 16px; gap: 12px; }
	.vb__buy b { display: none; }
	.vb__buy span { font-size: 14px; line-height: 1.3; }
}

/* 404 */
.nf { padding-top: 56px; max-width: 820px; display: flex; flex-direction: column; gap: 14px; }
.nf h1 { font-size: 44px; }
.nf p { font-size: 18px; color: var(--muted-2); }

/* Extras label on previews (number sets, year versions, alphabets, name versions) */
.badge { position: absolute; left: 8px; bottom: 8px; background: var(--mustard); color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.2; padding: 5px 8px; border-radius: var(--r-btn); white-space: nowrap; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; }
.badge--lg { left: 16px; bottom: 16px; font-size: 15px; padding: 8px 12px; }
@media (max-width: 700px) { .badge { left: 6px; bottom: 6px; font-size: 11px; padding: 4px 6px; } }
.tile__art:has(.badge), .grid--6 .tile__art:has(.badge) { padding-bottom: 38px; }
.resource__art:has(.badge) { padding-bottom: 76px; }
@media (max-width: 700px) { .tile__art:has(.badge), .grid--6 .tile__art:has(.badge) { padding-bottom: 32px; } .resource__art:has(.badge) { padding-bottom: 60px; } }

/* Sublimation supply list (secondary) */
.altlist { margin: 4px 0 8px; }
.altlist summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--blue, #1B2F6B); text-decoration: underline; text-underline-offset: 3px; }
.altlist__lead { font-size: 15px; font-weight: 600; margin: 12px 0 4px; }
.altlist ul { margin: 0; padding-left: 20px; columns: 2; column-gap: 28px; font-size: 15px; line-height: 1.8; }
@media (max-width: 600px) { .altlist ul, .supply ul { columns: 1; } }

/* Email reveal button (reads as a text link) */
.sdv-email button { background: none; border: 0; padding: 0; font: inherit; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Cookie notice (EEA/UK/CH visitors only) */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--blue); color: var(--on-blue); padding: 16px 24px; display: flex; align-items: center; justify-content: center; gap: 24px; font-size: 15px; line-height: 1.5; }
.consent[hidden] { display: none; }
.consent p { margin: 0; max-width: 720px; }
.consent a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.consent__btns { display: flex; gap: 10px; flex: 0 0 auto; }
.consent__btns .btn { min-width: 104px; }
@media (max-width: 640px) {
	.consent { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
	.consent__btns .btn { flex: 1 1 0; }
}
.linkbtn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.linkbtn[hidden] { display: none; }
.site-footer .linkbtn { color: var(--foot); }

.vault-faq__more { margin: 0; }

