/* ==========================================================================
   Plate Studio — main styles
   ========================================================================== */

:root {
	--ink: #0e1013;
	--ink-2: #16191e;
	--ink-3: #22262d;
	--line: #2d323a;
	--paper: #f6f5f1;
	--white: #ffffff;
	--text: #1a1d22;
	--muted: #5d6470;
	--muted-dark: #9aa1ac;
	--yellow: #ffd21f;
	--yellow-2: #f5c400;
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(0, 0, 0, .12);
	--font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--container: 1180px;
	--gutter: 20px;
}

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: 80px; padding-bottom: 80px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--yellow); padding: 8px 14px; border-radius: 6px; }
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .04em; text-transform: uppercase;
	padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
	line-height: 1.1;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 20px; padding: 15px 28px; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-2); }
.btn-outline { border-color: currentColor; color: var(--text); background: transparent; }
.btn-outline:hover { background: var(--text); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }

.eyebrow {
	font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
	font-size: 15px; color: var(--yellow-2); margin-bottom: 10px;
}

/* ---------- Top bar & header ---------- */
.topbar { background: var(--yellow); color: var(--ink); font-size: 14px; font-weight: 600; }
.topbar-inner { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; padding-bottom: 7px; }
.topbar a { text-decoration: none; }

.site-header { background: var(--ink); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand-logo { max-height: 48px; width: auto; }
.brand-mark {
	display: grid; place-items: center; width: 44px; height: 30px; border-radius: 5px;
	background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 20px;
	box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 2px var(--yellow);
}
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: .03em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
	text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 19px;
	text-transform: uppercase; letter-spacing: .05em; color: #d9dde3;
}
.nav-menu a:hover, .nav-menu .current-menu-item a { color: var(--yellow); }
.nav-cta { font-size: 16px; padding: 10px 18px; }

.cart-link { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--white); }
.cart-link:hover { background: var(--ink-3); }
.cart-count {
	position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px;
	border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700;
	display: grid; place-items: center; line-height: 1;
}
.cart-count[data-count="0"] { display: none; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
	position: absolute; left: 11px; width: 22px; height: 2px; background: var(--white); content: ""; transition: transform .2s;
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bar::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	background:
		radial-gradient(900px 500px at 85% 20%, rgba(255, 210, 31, .14), transparent 60%),
		linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
	color: var(--white);
	padding: 90px 0 100px;
	overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(48px, 7vw, 92px); font-weight: 800; text-transform: uppercase; letter-spacing: 0; }
.hero-title span { color: var(--yellow); display: block; }
.hero-lead { font-size: 18px; color: #c9ced6; max-width: 34em; margin-bottom: 28px; }

.reg-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.reg-input {
	flex: 1 1 240px; min-width: 0;
	font-family: var(--font-display); font-weight: 700; font-size: 32px; letter-spacing: .08em; text-transform: uppercase; text-align: center;
	background: var(--yellow); color: var(--ink); border: 3px solid var(--ink); border-radius: 10px;
	box-shadow: 0 0 0 2px var(--yellow); padding: 8px 14px;
}
.reg-input::placeholder { color: rgba(0, 0, 0, .35); }

.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 26px 0 0; color: #c9ced6; font-size: 15px; }
.trust li::before { content: "✓"; color: var(--yellow); font-weight: 700; margin-right: 8px; }

.hero-visual { position: relative; min-height: 340px; }
.hero-plate { position: absolute; width: 100%; max-width: 520px; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.hero-plate-rear { top: 10px; right: 0; transform: perspective(900px) rotateY(-14deg) rotateX(6deg) rotate(-3deg); }
.hero-plate-front { bottom: 0; left: 0; transform: perspective(900px) rotateY(12deg) rotateX(4deg) rotate(2deg); }

/* ---------- Sections ---------- */
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-title { font-size: clamp(36px, 4.5vw, 56px); font-weight: 800; text-transform: uppercase; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark .muted { color: var(--muted-dark); }

.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.style-card {
	display: block; text-decoration: none; background: var(--white); border-radius: var(--radius);
	padding: 22px; border: 1px solid #e6e3da; transition: transform .2s ease, box-shadow .2s ease;
}
.style-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.style-card h3 { font-size: 28px; font-weight: 700; text-transform: uppercase; margin-top: 18px; }
.style-card p { font-size: 15px; }
.style-card-plate { padding: 18px 6px; background: var(--ink-2); border-radius: var(--radius-sm); }
.price-from { margin: 0; }
.price-from strong { font-family: var(--font-display); font-size: 24px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.steps h3 { font-size: 30px; text-transform: uppercase; }
.steps p { color: #c3c8d0; margin: 0; }
.step-num {
	display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; margin-bottom: 18px;
	background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-weight: 800; font-size: 26px;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { list-style: none; padding: 30px; margin: 0; background: var(--white); border-radius: var(--radius); border: 1px solid #e6e3da; }
.checklist li { padding: 12px 0 12px 36px; position: relative; border-bottom: 1px solid #efece4; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
	content: "✓"; position: absolute; left: 0; top: 11px; width: 24px; height: 24px; border-radius: 50%;
	background: var(--yellow); display: grid; place-items: center; font-size: 13px; font-weight: 800;
}

.cta-band { background: var(--yellow); color: var(--ink); padding: 56px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(34px, 4vw, 50px); text-transform: uppercase; font-weight: 800; margin-bottom: 4px; }
.cta-band p { margin: 0; font-size: 18px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--ink); color: var(--white); padding: 56px 0 48px; }
.page-title { font-size: clamp(40px, 5.5vw, 68px); font-weight: 800; text-transform: uppercase; margin: 0; }
.page-lead { color: #c9ced6; font-size: 18px; max-width: 40em; margin: 12px 0 0; }

.entry-content { max-width: 820px; }
.entry-content h2 { font-size: 38px; text-transform: uppercase; margin-top: 1.4em; }
.entry-content h3 { font-size: 28px; text-transform: uppercase; margin-top: 1.2em; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content .alignwide, .entry-content .wide { max-width: none; }
.page-template-default .entry-content:has(.plate-builder),
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content { max-width: none; }
.entry-content iframe { max-width: 100%; border: 0; border-radius: var(--radius); }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 24px 0; }
.info-card { background: var(--white); border: 1px solid #e6e3da; border-radius: var(--radius); padding: 22px; }
.info-card h3 { margin-top: 0 !important; font-size: 24px !important; }
.info-card p:last-child { margin: 0; }

.plate-404 {
	display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: 64px; letter-spacing: .06em;
	background: var(--yellow); border: 4px solid var(--ink); border-radius: 10px; padding: 4px 30px; margin-bottom: 24px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9ced6; padding: 64px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { font-family: var(--font-display); font-size: 30px; font-weight: 800; color: var(--white); text-transform: uppercase; margin-bottom: 8px; }
.footer-title { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); margin-bottom: 10px; }
.site-footer address { font-style: normal; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--yellow); }
.site-footer .muted { color: var(--muted-dark); }
.socials { display: flex; gap: 16px; }
.footer-bottom {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	border-top: 1px solid var(--line); margin-top: 48px; padding-top: 20px; padding-bottom: 28px; font-size: 14px;
}
.footer-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }

/* ---------- WooCommerce touches ---------- */
.shop-wrap .woocommerce-products-header__title { font-size: 52px; text-transform: uppercase; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button,
.wc-block-components-button:not(.is-link) {
	font-family: var(--font-display) !important; text-transform: uppercase; letter-spacing: .04em; font-weight: 700 !important;
}
.woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
	background: var(--yellow) !important; color: var(--ink) !important; border-radius: 999px !important;
}
.woocommerce-message, .woocommerce-info { border-top-color: var(--yellow); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
	.hero-grid, .split { grid-template-columns: 1fr; }
	.hero-visual { min-height: 260px; max-width: 560px; }
	.steps { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.nav-toggle { display: block; order: 3; }
	.cart-link { order: 2; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0; background: var(--ink);
		flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 22px;
		border-bottom: 1px solid var(--line); display: none;
	}
	.nav-open .site-nav { display: flex; }
	.nav-menu { flex-direction: column; gap: 0; }
	.nav-menu a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 22px; }
	.nav-cta { margin-top: 16px; }
}

@media (max-width: 600px) {
	:root { --gutter: 16px; }
	.section { padding-top: 56px; padding-bottom: 56px; }
	.hero { padding: 56px 0 64px; }
	.hero-visual { min-height: 200px; }
	.topbar-inner span { display: none; }
	.topbar-inner { justify-content: center; }
	.brand-name { font-size: 22px; }
	.footer-grid { grid-template-columns: 1fr; }
	.reg-input { font-size: 28px; }
	.reg-form .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
