/*
Theme Name:        Design Print
Theme URI:         https://designprintco-eg.com/
Author:            Design Print
Description:       قالب ديزاين برنت — عربي RTL، هيرو بمشاهد متبدلة، كتالوج WooCommerce بطلب عرض سعر بدل الشراء. يشتغل مع إضافة Design Print Core.
Version:           1.2.4
Requires at least: 6.4
Tested up to:      7.1
Requires PHP:      7.4
License:           GPL-2.0-or-later
Text Domain:       designprint
Tags:              rtl-language-support, e-commerce, custom-menu, custom-logo, featured-images
*/

/* ------------------------------------------------------------------
   Fonts: LBC Regular / LBC Bold only (brand font).
------------------------------------------------------------------- */
@font-face {
	font-family: "LBC";
	src: url("assets/fonts/lbc-regular.woff2") format("woff2"), url("assets/fonts/lbc-regular.otf") format("opentype");
	font-weight: 100 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "LBC";
	src: url("assets/fonts/lbc-bold.woff2") format("woff2"), url("assets/fonts/lbc-bold.otf") format("opentype");
	font-weight: 600 900;
	font-style: normal;
	font-display: swap;
}

/* ------------------------------------------------------------------
   Tokens — roughly 60% white, 30% red, 10% black.
------------------------------------------------------------------- */
:root {
	--red: #e92127;
	--red-dark: #c6131a;
	--red-deep: #b91821;
	--ink: #171717;
	--paper: #f6f5f1;
	--muted: #696969;
	--line: #dddddd;
	--grid: rgba(22, 22, 22, .035);
	--gutter: 5%;
	--header-h: 103px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
	margin: 0;
	color: var(--ink);
	background: #fff;
	font-family: "LBC", Arial, sans-serif;
	font-weight: 400;
	overflow-x: hidden;
	direction: rtl;
	text-rendering: optimizeLegibility;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; }
p { line-height: 1.9; color: var(--muted); font-size: 17px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 700; color: var(--ink); }
h2 { font-size: clamp(36px, 4.6vw, 65px); line-height: 1.35; margin-bottom: 22px; text-wrap: balance; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1598b5; outline-offset: 4px; }
.red { color: var(--red); }
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.visually-hidden-focusable:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip-link:focus { position: fixed; top: 10px; right: 10px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
br.desktop { display: inline; }

/* Faded print grid on the white areas */
.grid-bg, .hero {
	background-color: #fff;
	background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
	background-size: 44px 44px;
}

/* Print registration cursor (mouse devices only), hotspot at the cross centre */
@media (hover: hover) and (pointer: fine) {
	html, body, body * { cursor: url("assets/img/print-cursor.svg") 16 16, crosshair !important; }
	input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=submit]):not([type=button]), textarea, [contenteditable=true] { cursor: text !important; }
	:disabled { cursor: not-allowed !important; }
}

/* ------------------------------------------------------------------
   Buttons & links
------------------------------------------------------------------- */
.solid, .white-btn {
	border: 0; background: var(--red); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; gap: 14px;
	padding: 17px 23px; font-weight: 400; font-size: 15px; line-height: 1.2;
	transition: background .2s, transform .2s;
}
.solid:hover { background: var(--red-dark); transform: translateY(-2px); }
.solid:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.white-btn { background: #fff; color: var(--red); margin-top: 18px; }
.white-btn:hover { transform: translateY(-2px); }
.text-link { font-size: 15px; font-weight: 400; display: inline-flex; gap: 15px; align-items: center; background: none; border: 0; padding: 0; }
.text-link span { border: 1px solid var(--line); border-radius: 50%; width: 35px; height: 35px; display: grid; place-items: center; transition: .2s; }
.text-link:hover span { background: var(--red); border-color: var(--red); color: #fff; }
.count {
	font-family: Arial, sans-serif; font-size: 12px; border: 1px solid currentColor; border-radius: 50%;
	min-width: 22px; height: 22px; padding: 0 4px; display: inline-flex; justify-content: center; align-items: center;
}
.eyebrow { font-size: 13px; font-weight: 400; margin-bottom: 25px; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.eyebrow i { height: 7px; width: 7px; background: var(--red); border-radius: 50%; flex: none; }
.note { font-size: 12px; line-height: 1.8; color: #888; margin-top: 20px; }

/* ------------------------------------------------------------------
   Top line, header, navigation
------------------------------------------------------------------- */
.topline { padding: 10px var(--gutter); background: var(--red); color: #fff; display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.topline span:last-child { font-family: Arial, sans-serif; font-size: 10px; letter-spacing: 1.7px; }
.site-header {
	height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 12px var(--gutter); border-bottom: 1px solid #eee; background: #ffffffed;
	position: sticky; top: 0; z-index: 20; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	transition: box-shadow .25s;
}
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { box-shadow: 0 8px 30px #0000000d; }
.brand { display: block; flex: none; }
.logo { width: 72px; height: 72px; object-fit: contain; display: block; }
.site-nav { display: flex; align-items: center; }
.site-nav ul { display: flex; gap: 35px; list-style: none; margin: 0; padding: 0; font-size: 15px; }
.site-nav a { transition: color .2s; }
.site-nav ul a:hover, .site-nav .current-menu-item > a { color: var(--red); }
.site-nav .nav-quote { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff; position: relative; padding: 0; }
.menu-toggle i { position: absolute; right: 12px; left: 12px; height: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-toggle i:first-of-type { top: 18px; }
.menu-toggle i:last-of-type { top: 26px; }
.menu-open .menu-toggle i:first-of-type { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle i:last-of-type { top: 22px; transform: rotate(-45deg); }

/* ------------------------------------------------------------------
   Hero
------------------------------------------------------------------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; padding: 48px var(--gutter) 38px; gap: 30px; overflow: hidden; }
.hero-copy { padding: 20px 0; position: relative; z-index: 2; min-width: 0; }
.hero h1 { font-size: clamp(48px, 5.5vw, 80px); line-height: 1.23; letter-spacing: -1px; margin-bottom: 0; }
.hero h1 .headline-line { display: block; white-space: nowrap; }
/* Desktop: more air between the two headline lines so the red underline never touches the line above. */
@media (min-width: 701px) {
	.hero h1 { line-height: 1.32; }
	.hero h1 .headline-line { margin-top: .16em; }
}
.word { display: inline-block; position: relative; }
.word svg { position: absolute; top: calc(100% + .06em); bottom: auto; left: 0; width: 100%; fill: none; stroke: var(--red); stroke-width: 3; }
.hero h1 { padding-bottom: .5em; }
.word svg path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: dp-draw 1.1s .35s ease-out forwards; }
.hero-desc-stack { display: grid; margin-top: 30px; }
.hero-desc { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .6s ease, transform .6s ease, visibility .6s; }
.hero-desc.is-current { opacity: 1; visibility: visible; transform: none; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 30px; }
.hero-foot { display: flex; align-items: center; gap: 25px; margin-top: 44px; font-size: 13px; }
.hero-foot b { color: var(--red); font-weight: 400; }
.hero-indicator { display: flex; align-items: center; gap: 14px; margin-top: 26px; min-height: 34px; }
.hero-indicator-label { font-size: 12px; color: #777; min-width: 9.5em; }
.hero-dots { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hero-dot { background: none; border: 0; padding: 12px 0; width: 34px; display: block; }
.hero-dot span { display: block; height: 3px; background: #e3e1db; position: relative; overflow: hidden; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: right; }
.hero-dot[aria-current] span::after { transform: scaleX(1); }
.hero.is-ticking .hero-dot[aria-current] span::after { animation: dp-progress var(--hero-interval, 10s) linear forwards; }
.hero-pause { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font: 12px/1 Arial, sans-serif; display: grid; place-items: center; padding: 0; }
.hero-pause:hover { border-color: var(--red); color: var(--red); }

.hero-art { position: relative; min-height: 540px; background: radial-gradient(ellipse at 50% 60%, #efeeea, transparent 68%); direction: ltr; }
.orbit { position: absolute; width: 410px; height: 410px; border: 1px dashed #d7d5ce; border-radius: 50%; top: 55px; left: 50%; translate: -50% 0; animation: dp-spin 90s linear infinite; }
.orbit::after { content: ""; position: absolute; inset: 38px; border: 1px solid #ebe9e2; border-radius: 50%; }
.art-label { position: absolute; left: 4%; top: 18px; font: 10px Arial, sans-serif; letter-spacing: 2px; }
.cross { position: absolute; color: var(--red); font: 30px monospace; }
.c1 { right: 0; top: 15px; }
.c2 { left: 0; bottom: 60px; }
.art-bottom { display: flex; justify-content: space-between; gap: 12px; position: absolute; bottom: 0; left: 0; right: 0; padding: 20px 0; border-top: 1px solid var(--line); direction: rtl; font-size: 10px; color: #777; }

.pack-scene { position: absolute; width: 480px; height: 460px; top: 30px; left: 50%; translate: -50% 0; }
.hero-scene { opacity: 0; visibility: hidden; translate: -50% 18px; transition: opacity .8s ease, translate .9s cubic-bezier(.2, .7, .2, 1), visibility .8s; }
.hero-scene.is-current { opacity: 1; visibility: visible; translate: -50% 0; }
.hero-scene:not(.is-current) * { animation-play-state: paused !important; }

/* Floating products (from the prototype) */
.bag { position: absolute; left: 40px; top: 50px; width: 205px; height: 260px; background: #ece6d9; transform: rotate(-12deg) skewY(4deg); box-shadow: 16px 22px 28px #0002, inset -15px 0 #d9d2c6; display: flex; flex-direction: column; align-items: center; padding: 58px 0 0; animation: bagfloat 7s ease-in-out infinite; }
.bag::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, #fff0 0 4px, #00000003 5px 6px); }
.handle { position: absolute; width: 65px; height: 65px; border: 7px solid #c8bda5; border-bottom: 0; border-radius: 40px 40px 0 0; top: -40px; left: 60px; }
.bag span { font: 900 36px/.93 Arial, sans-serif; color: #e6222b; letter-spacing: -2px; transform: rotate(-2deg); text-align: center; }
.bag small { font: 6px Arial, sans-serif; letter-spacing: 1px; margin-top: 22px; color: #333; }
.box { position: absolute; bottom: 20px; left: 20px; width: 300px; height: 190px; transform: rotate(-8deg); filter: drop-shadow(6px 23px 13px #0002); animation: boxfloat 6s ease-in-out infinite; }
.box-top { position: absolute; top: 0; width: 280px; height: 85px; background: #fc493f; clip-path: polygon(13% 0, 100% 10%, 86% 100%, 0 85%); color: #fff; text-align: center; padding: 20px 0; font-weight: 700; font-size: 25px; direction: rtl; }
.box-top span { margin-right: 30px; }
.box-front { position: absolute; top: 72px; width: 242px; height: 110px; background: var(--red); transform: skewY(3deg); padding: 18px 25px; color: #fff; direction: rtl; }
.box-front strong { font-size: 27px; line-height: 1.2; display: block; }
.box-front small { font: 6px Arial, sans-serif; letter-spacing: 1.6px; }
.box-side { position: absolute; left: 242px; top: 9px; width: 38px; height: 173px; background: var(--red-deep); clip-path: polygon(0 37%, 100% 0, 100% 63%, 0 100%); }
.cup { position: absolute; right: 4px; top: 145px; transform: rotate(12deg); width: 159px; height: 225px; filter: drop-shadow(15px 20px 14px #0002); animation: cupfloat 6s ease-in-out infinite; }
.cupbody { position: absolute; inset: 16px 7px 0; background: #fffefa; clip-path: polygon(0 0, 100% 0, 84% 100%, 17% 100%); box-shadow: inset -20px 0 28px #ddd; display: flex; align-items: center; flex-direction: column; padding-top: 29px; }
.cupbody span { font: 900 31px/.95 Arial, sans-serif; letter-spacing: -1.5px; color: var(--red); text-align: center; }
.cupbody i { font-size: 48px; color: var(--red); line-height: 1.3; font-style: normal; }
.cupbody small { font: 5px Arial, sans-serif; letter-spacing: 1px; }
.lid { position: absolute; top: 0; width: 159px; height: 28px; background: #252525; border-radius: 15px 15px 5px 5px; border-bottom: 6px solid #0e0e0e; z-index: 2; box-shadow: inset 0 4px #4c4c4c; }
.sticker { position: absolute; right: 14px; top: 35px; background: var(--red); color: #fff; border-radius: 50%; width: 108px; height: 108px; text-align: center; padding: 21px 0; transform: rotate(12deg); font-size: 18px; line-height: 1.25; box-shadow: 0 0 0 5px #fff; direction: rtl; z-index: 3; animation: stickerspin 9s ease-in-out infinite; }
.sticker strong { font-size: 23px; }
.sticker span { position: absolute; bottom: 3px; left: 45px; font-size: 23px; }
.floating-tag { position: absolute; right: 3px; top: 160px; width: 130px; height: 180px; background: var(--ink); color: #fff; transform: rotate(14deg); box-shadow: 8px 18px 22px #0002; padding: 22px 16px; direction: rtl; animation: cupfloat 6s ease-in-out infinite; }
.floating-tag::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #eee; top: 8px; left: 60px; }
.floating-tag small { font: 7px Arial, sans-serif; }
.floating-tag strong { display: block; font-size: 28px; line-height: 1.3; margin-top: 15px; }
.floating-tag > span { color: var(--red); font-size: 32px; }
.print-folder { position: absolute; left: 26px; top: 85px; width: 230px; height: 290px; background: var(--red); box-shadow: 12px 20px 24px #0002, inset -12px 0 #c31720; transform: rotate(-12deg); padding: 65px 28px; color: #fff; direction: rtl; animation: folderfloat 7s ease-in-out infinite; }
.print-folder > span { font-size: 34px; line-height: 1.3; display: block; }
.print-folder small { display: block; font: 7px Arial, sans-serif; letter-spacing: 1px; margin-top: 32px; }
.floating-sheet { position: absolute; right: 25px; top: 98px; background: #fffefa; width: 220px; height: 300px; padding: 24px; transform: rotate(11deg); box-shadow: 3px 3px #dedbd4, 6px 6px #eee, 12px 22px 25px #0002; direction: rtl; animation: cupfloat 6s ease-in-out infinite; }
.sheet-head { display: flex; justify-content: space-between; color: var(--red); font-size: 26px; }
.floating-sheet > small { font-size: 8px; }
.sheet-mark { display: block; color: var(--red); font-size: 25px; margin: 22px 0 18px; }
.floating-sheet i { display: block; height: 2px; background: var(--line); margin-top: 12px; }
.floating-sheet i:last-of-type { width: 65%; }
.floating-sheet footer { position: absolute; bottom: 15px; right: 24px; font-size: 7px; color: #777; border-top: 1px solid var(--line); padding-top: 7px; }
.floating-card { position: absolute; left: 68px; bottom: 7px; width: 250px; height: 130px; background: #202020; color: #fff; direction: rtl; padding: 25px; transform: rotate(-8deg); box-shadow: 12px 17px 24px #0002; animation: boxfloat 6s ease-in-out infinite; z-index: 2; }
.floating-card strong { font-size: 28px; }
.floating-card small { display: block; font-size: 10px; margin-top: 12px; color: #ddd; }
.floating-card > span { position: absolute; left: 15px; bottom: 12px; color: var(--red); font-size: 26px; }
/* Doctor card (new for the clinic scene) */
.doc-card { position: absolute; left: 24px; top: 92px; width: 250px; height: 150px; background: #fffefa; border-top: 12px solid var(--red); padding: 18px 24px; direction: rtl; transform: rotate(-12deg); box-shadow: 3px 3px #e6e3dc, 12px 20px 24px #0002; animation: docfloat 7s ease-in-out infinite; }
.doc-card .doc-cross { position: absolute; left: 18px; top: 12px; color: var(--red); font-style: normal; font-size: 26px; }
.doc-card strong { display: block; font-size: 24px; line-height: 1.3; }
.doc-card small { display: block; font-size: 12px; color: #777; }
.doc-line { display: block; height: 2px; background: var(--line); margin-top: 12px; width: 80%; }
.doc-line.short { width: 50%; }
.doc-card em { position: absolute; bottom: 10px; right: 24px; font: normal 6px Arial, sans-serif; letter-spacing: 1px; color: #999; }
.layout-doctor .floating-sheet { top: 60px; }
/* Uploaded product photos replacing a drawing */
.scene-photo { position: absolute; margin: 0; filter: drop-shadow(14px 22px 18px #0003); }
.scene-photo img { display: block; width: 100%; height: auto; }
.scene-photo.photo-1 { left: 14px; top: 30px; width: 250px; animation: boxfloat 7s ease-in-out infinite; }
.scene-photo.photo-2 { left: 40px; bottom: 6px; width: 300px; animation: boxfloat 6s ease-in-out infinite; z-index: 1; }
.scene-photo.photo-3 { right: 0; top: 120px; width: 200px; animation: cupfloat 6s ease-in-out infinite; z-index: 2; }

/* ------------------------------------------------------------------
   Ticker
------------------------------------------------------------------- */
.ticker { overflow: hidden; background: var(--red); color: #fff; padding: 22px 0; transform: rotate(-1.5deg); margin: 20px -1% 0; width: 102%; font-size: 30px; font-weight: 700; }
.ticker div { white-space: nowrap; word-spacing: 20px; width: max-content; animation: marquee 40s linear infinite; }

/* ------------------------------------------------------------------
   Sections
------------------------------------------------------------------- */
.section { padding: 100px var(--gutter); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 40px; }
.section-head > div { min-width: 0; }
.section-head p { font-size: 16px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.filters button, .filters a { background: #fff; border: 1px solid var(--line); padding: 10px 21px; font-size: 14px; border-radius: 2px; transition: .2s; }
.filters button:hover, .filters a:hover { border-color: var(--ink); }
.filters button.active, .filters a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.catalog .filters { margin: 0 0 40px; }
.tab-panel:focus-visible { outline-offset: 10px; }
.panel-more { margin-top: 34px; }
.empty-state { background: var(--paper); padding: 26px; font-size: 15px; }
.empty-state a { color: var(--red); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product { border-bottom: 1px solid var(--line); padding-bottom: 18px; display: flex; flex-direction: column; min-width: 0; }
.product-visual { height: 260px; background: var(--paper); position: relative; overflow: hidden; display: grid; place-items: center; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-visual svg { width: 90%; height: 90%; transition: transform .5s; }
.product:hover .product-visual svg { transform: translateY(-8px) rotate(-3deg); }
.product:hover .product-visual img { transform: scale(1.04); }
.product-tag { position: absolute; top: 15px; right: 15px; font-size: 10px; border: 1px solid #d3d0c8; padding: 5px 9px; z-index: 1; background: #fff8; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; }
.product-meta h3 { font-size: 23px; margin-bottom: 6px; }
.product-meta h3 a:hover { color: var(--red); }
.product-meta p { font-size: 12px; margin: 0; line-height: 1.7; }
.add { border: 1px solid var(--line); background: #fff; width: 42px; height: 42px; font: 26px/1 Arial, sans-serif; transition: .2s; flex: none; padding: 0; }
.add:hover, .add.is-added { background: var(--red); color: #fff; border-color: var(--red); }
.product-more { display: flex; justify-content: space-between; align-items: center; border-top: 1px dashed var(--line); margin-top: 16px; padding-top: 14px; font-size: 14px; color: var(--red); }

/* Work */
.work { background: #f7f6f2; }
.work-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.work-grid.is-archive { grid-template-columns: 1fr 1fr; }
.project { display: block; overflow: hidden; text-align: right; }
.project-red { background: var(--red); color: #fff; }
.project-cream { background: #e6e0d2; }
.project-ink { background: var(--ink); color: #fff; }
.project-red h3, .project-ink h3 { color: #fff; }
.project-visual { height: 330px; padding: 20px; transition: transform .5s; display: grid; place-items: center; }
.project-visual img { width: 100%; height: 100%; object-fit: cover; }
.project:hover .project-visual { transform: scale(1.04); }
.project-visual svg { width: 100%; height: 100%; }
.project-caption { padding: 24px 30px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #ffffff35; }
.project-caption small { font-size: 11px; opacity: .8; }
.project-caption h3 { font-size: 25px; margin: 10px 0 0; color: inherit; }
.project-caption > span { font: 36px Arial, sans-serif; }

/* Craft */
.craft { background: var(--red); color: #fff; display: grid; grid-template-columns: 1fr 1.1fr; gap: 90px; }
.craft h2, .craft .eyebrow { color: #fff; }
.craft .eyebrow i { background: #fff; }
.craft h2 span { color: #ffd3d4; }
.craft p { color: #ffdbdc; }
.process-row { background: none; color: #fff; border: 0; border-top: 1px solid #ffffff55; padding: 25px 0; display: flex; text-align: right; gap: 22px; width: 100%; align-items: flex-start; }
.process-row > span { font: 13px Arial, sans-serif; padding-top: 10px; opacity: .7; }
.process-row h3 { font-size: 27px; margin-bottom: 5px; color: #fff; }
.process-row p { font-size: 15px; display: none; margin-bottom: 8px; }
.process-row.active p { display: block; }
.process-row b { margin-right: auto; font-size: 28px; font-weight: 400; transition: transform .3s; }
.process-row.active b { transform: rotate(-45deg); }
.process-row:last-child { border-bottom: 1px solid #ffffff55; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; }
.large { font-size: 24px; color: #222; line-height: 1.7; }
.about .text-link { border-bottom: 1px solid #aaa; padding-bottom: 8px; margin-top: 15px; }
.sector-list { list-style: none; padding: 0; margin: 60px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sector-list a { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--line); padding: 22px; font-size: 18px; background: #fff; transition: .2s; }
.sector-list a:hover { border-color: var(--red); color: var(--red); }

/* CTA */
.cta { background: #f5f4ef; margin: 0 var(--gutter) 80px; padding: 55px 60px; display: flex; justify-content: space-between; align-items: center; gap: 24px; position: relative; }
.cta h2 { margin-bottom: 15px; }
.cta h2 span { color: var(--red); }
.cta p { margin: 0; }
.circle-cta { border: 0; border-radius: 50%; background: var(--red); color: #fff; width: 145px; height: 145px; font-size: 21px; transform: rotate(10deg); transition: .3s; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1.2; flex: none; }
.circle-cta:hover { transform: rotate(0) scale(1.05); }
.circle-cta span { font: 45px/1 Arial, sans-serif; }

/* ------------------------------------------------------------------
   Inner pages
------------------------------------------------------------------- */
.page-head { padding: 80px var(--gutter) 60px; border-bottom: 1px solid #eee; }
.page-head h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1.25; margin: 0; text-wrap: balance; }
.page-head .lead { margin: 22px 0 0; max-width: 60ch; }
.not-found { min-height: 60vh; }
.not-found h1 { margin-bottom: 20px; }
.entry-content { font-size: 17px; line-height: 1.9; color: #444; }
.entry-content > * { max-width: 72ch; }
.entry-content p { color: #555; }
.entry-content a { color: var(--red); text-decoration: underline; text-underline-offset: 4px; }
.page-content.is-quote > * { max-width: none; }
.post-list { display: grid; gap: 30px; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: var(--red); transform: translateY(-3px); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-ph { display: grid; place-items: center; height: 100%; padding: 20px; text-align: center; color: var(--red); font-size: 22px; background-color: #fff; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; border-bottom: 1px solid var(--line); }
.post-card-ph span { background: #fff; padding: 6px 14px; border: 1.5px solid var(--red); }
.post-card-body { padding: 20px 22px 24px; }
.post-card h2 { font-size: 21px; line-height: 1.5; margin: 6px 0 10px; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--red); }
.post-card p { color: #666; font-size: 15px; line-height: 1.8; margin: 0; }
.post-meta { font-size: 13px; color: var(--red); }
.post-head h1 { max-width: 22ch; }
.crumbs { font-size: 13px; color: #777; margin-bottom: 14px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.post-body { max-width: 860px; margin-inline: auto; }
.post-cover { margin: 0 0 32px; }
.post-cover img { width: 100%; height: auto; display: block; }
.post-body .entry-content > * { max-width: none; }
.post-body .entry-content h2 { font-size: 28px; margin: 1.6em 0 .5em; color: var(--ink); }
.post-body .entry-content h3 { font-size: 22px; margin: 1.4em 0 .4em; color: var(--ink); }
.post-body .entry-content img { max-width: 100%; height: auto; display: block; margin: 24px auto; }
.post-body .entry-content ul, .post-body .entry-content ol { padding-inline-start: 1.3em; }
.post-cta { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 28px; background: var(--paper); border-inline-start: 4px solid var(--red); }
.post-cta strong { font-size: 22px; display: block; }
.post-cta p { margin: 6px 0 0; color: #555; }
.post-cta .solid { flex: none; color: #fff; text-decoration: none; }
.related-posts h2 { font-size: 30px; margin-bottom: 24px; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-family: Arial, sans-serif; }
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--red); border-color: var(--red); color: #fff; }
@media (max-width: 980px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } .post-cta { flex-direction: column; align-items: flex-start; } }
.post-item { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.post-item h2 { font-size: 28px; margin-bottom: 8px; }
.pagination, .woocommerce-pagination { margin-top: 40px; }
.page-numbers { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.page-numbers a, .page-numbers span, a.page-numbers, span.page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; border: 1px solid var(--line); padding: 0 10px; font-family: Arial, sans-serif; font-size: 14px; }
.page-numbers .current, span.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }

/* Forms */
label { font-size: 13px; display: block; margin: 13px 0; }
input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]), select, textarea {
	display: block; width: 100%; padding: 12px; border: 1px solid var(--line); background: #fafafa;
	margin-top: 8px; border-radius: 0; font-size: 15px; transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); background: #fff; }
textarea { min-height: 90px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 15px; }

/* Product page */
.product-detail { padding-top: 50px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; color: #777; margin-bottom: 36px; }
.crumbs a:hover { color: var(--red); }
.pd-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: start; }
.pd-gallery { position: sticky; top: calc(var(--header-h) + 24px); min-width: 0; }
.pd-main { margin: 0; background: var(--paper); aspect-ratio: 1 / .85; display: grid; place-items: center; overflow: hidden; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-main.is-art svg { width: 84%; height: 84%; }
.pd-main figcaption { position: absolute; bottom: 14px; right: 16px; font-size: 11px; color: #888; }
.pd-main.is-art { position: relative; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pd-thumbs button { width: 74px; height: 74px; padding: 0; border: 1px solid var(--line); background: var(--paper); overflow: hidden; }
.pd-thumbs button.active { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-summary { min-width: 0; }
.pd-summary h1 { font-size: clamp(38px, 4vw, 60px); line-height: 1.25; margin: 8px 0 14px; }
.pd-summary .lead { font-size: 19px; }
.pd-sectors { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.pd-sectors a { font-size: 12px; border: 1px solid var(--line); padding: 5px 12px; background: #fff; }
.pd-sectors a:hover { border-color: var(--red); color: var(--red); }
.pd-label { font-size: 15px; margin: 26px 0 8px; }
.pd-uses { margin: 0; padding: 0 18px 0 0; color: #555; line-height: 2; }
.pd-specs { margin: 26px 0 0; border-top: 1px solid var(--line); }
.pd-specs > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; border-bottom: 1px solid var(--line); padding: 13px 0; }
.pd-specs dt { font-weight: 700; font-size: 14px; }
.pd-specs dd { margin: 0; color: #555; font-size: 15px; line-height: 1.8; }
.pd-quote { margin-top: 30px; background: #fff; border: 1px solid var(--line); padding: 26px; }
.pd-quote .solid { width: 100%; margin-top: 8px; }
.pd-description { margin-top: 70px; padding-top: 40px; border-top: 1px solid var(--line); }
.pd-description h2 { font-size: 30px; }
.related { padding-top: 40px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact-intro .solid { margin-top: 18px; text-decoration: none; color: #fff; }
.contact-cards { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-cards > div { background: var(--paper); padding: 24px; min-width: 0; }
.contact-cards dt { font-size: 12px; color: var(--red); margin-bottom: 8px; }
.contact-cards dd { margin: 0; font-size: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.contact-social { margin: 0; }

/* WhatsApp sales numbers */
.contact-wa, .contact-follow { grid-column: 1 / -1; }
.wa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wa-list a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, color .2s; }
.wa-list a:hover, .wa-list a:focus-visible { border-color: var(--red); color: var(--red); }
.wa-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; flex: none; }
.wa-ico svg { width: 18px; height: 18px; }
.wa-label { font-size: 16px; }
.wa-num { margin-inline-start: auto; font: 16px Arial, sans-serif; letter-spacing: .02em; }

/* Contact map */
.contact-map { margin-top: 40px; }
.map-frame { height: 380px; border: 1px solid var(--line); background: var(--paper); }
.map-frame .dp-tiles { filter: grayscale(1) contrast(1.05) brightness(1.02); }
.leaflet-div-icon.dp-pin { background: none; border: 0; }
.dp-pin span { display: block; width: 28px; height: 28px; border-radius: 50% 50% 50% 0; background: var(--red); transform: rotate(-45deg); box-shadow: 0 0 0 4px #fff, 0 6px 14px rgba(0,0,0,.25); }
.map-link { display: inline-block; margin-top: 12px; }
@media (max-width: 640px) { .map-frame { height: 300px; } }
.admin-note { border: 1px dashed var(--red); padding: 12px 16px; color: var(--red); }

/* Work single */
.demo-banner { display: inline-block; background: #fff5f5; color: var(--red); border: 1px solid #f6c7c9; padding: 8px 14px; font-size: 13px; margin-bottom: 26px; }
.work-hero-visual { background: #f1efe9; height: clamp(280px, 40vw, 520px); display: grid; place-items: center; overflow: hidden; }
.work-hero-visual img, .work-hero-visual svg { width: 100%; height: 100%; object-fit: cover; }
.work-body { display: grid; grid-template-columns: 1fr auto; gap: 40px; margin-top: 50px; align-items: start; }
.work-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 50px; }
.work-gallery figure { margin: 0; background: var(--paper); aspect-ratio: 1; overflow: hidden; }
.work-gallery img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------
   Footer & toast
------------------------------------------------------------------- */
.site-footer { padding: 10px var(--gutter) 25px; }
.footer-top { display: flex; align-items: center; gap: 30px; padding-bottom: 30px; }
.footer-top p { margin: 0; font-size: 16px; }
.footer-nav ul { display: flex; gap: 20px; list-style: none; padding: 0; margin: 0; font-size: 14px; }
.social { margin-right: auto; }
.footer-bottom a:hover { color: var(--red); }

/* Social icons: round outline buttons that fill red on hover. */
.social-icons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.social-icons a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--ink); color: var(--ink); background: #fff; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.social-icons a:hover, .social-icons a:focus-visible { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.social-icons a:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.social-icons svg { width: 19px; height: 19px; display: block; }
@media (prefers-reduced-motion: reduce) { .social-icons a { transition: none; } .social-icons a:hover { transform: none; } }
.site-footer .social-icons { margin-inline-start: auto; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 23px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 11px; color: #888; }
.footer-bottom a[dir=ltr] { font-family: Arial, sans-serif; }
#toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 14px 25px; z-index: 60; opacity: 0; pointer-events: none; transition: .3s; font-size: 14px; max-width: calc(100% - 30px); text-align: center; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------
   Motion
------------------------------------------------------------------- */
@keyframes bagfloat { 50% { transform: translateY(-9px) rotate(-10deg) skewY(4deg); } }
@keyframes cupfloat { 50% { transform: translateY(9px) rotate(9deg); } }
@keyframes boxfloat { 50% { transform: translateY(-5px) rotate(-6deg); } }
@keyframes folderfloat { 50% { transform: translateY(-9px) rotate(-10deg); } }
@keyframes docfloat { 50% { transform: translateY(-8px) rotate(-10deg); } }
@keyframes stickerspin { 50% { transform: rotate(4deg) scale(1.03); } }
@keyframes marquee { to { transform: translateX(25%); } }
@keyframes dp-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dp-draw { to { stroke-dashoffset: 0; } }
@keyframes dp-spin { to { rotate: 360deg; } }

/* ------------------------------------------------------------------
   Wide screens
------------------------------------------------------------------- */
@media (min-width: 1500px) {
	:root { --gutter: max(5%, calc((100vw - 1400px) / 2)); }
}

/* ------------------------------------------------------------------
   Tablet
------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.site-nav ul { gap: 20px; font-size: 14px; }
	.hero { gap: 0; }
	.pack-scene { scale: .82; }
	.hero-art { min-height: 500px; }
	.orbit { width: 340px; height: 340px; top: 85px; }
	.craft { gap: 40px; }
	.about-grid { gap: 40px; }
	.product-visual { height: 220px; }
	.pd-grid { gap: 36px; }
	.sector-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	:root { --header-h: 85px; }
	.site-header { height: var(--header-h); padding: 8px var(--gutter); }
	.logo { width: 60px; height: 60px; }
	.menu-toggle { display: block; }
	.site-nav {
		position: fixed; inset: calc(var(--header-h) + 36px) 0 0 0; z-index: 19; background: #fff;
		flex-direction: column; align-items: stretch; gap: 30px; padding: 30px var(--gutter);
		opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s;
		background-image: linear-gradient(to right, var(--grid) 1px, transparent 1px), linear-gradient(to bottom, var(--grid) 1px, transparent 1px);
		background-size: 32px 32px; overflow-y: auto;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 36px + 46px); }
	.menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
	.menu-open { overflow: hidden; }
	.site-nav ul { flex-direction: column; gap: 0; font-size: 28px; font-weight: 700; }
	.site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid #eee; }
	.site-nav .nav-quote { display: inline-flex; align-self: flex-start; }
	.header-quote { padding: 12px 14px; font-size: 13px; gap: 8px; }
	.hero { grid-template-columns: 1fr; padding-top: 34px; }
	.hero-art { min-height: 470px; margin-top: 10px; }
	.pd-grid, .contact-grid { grid-template-columns: 1fr; }
	.pd-gallery { position: static; }
	.craft { grid-template-columns: 1fr; }
	.product-grid { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------------
   Mobile
------------------------------------------------------------------- */
@media (max-width: 700px) {
	.topline { justify-content: center; }
	.topline span:last-child { display: none; }
	.header-quote span[aria-hidden] { display: none; }
	.header-quote .count { min-width: 18px; height: 18px; font-size: 10px; }
	.hero { display: flex; flex-direction: column; padding-top: 30px; background-size: 32px 32px; }
	.hero h1 { font-size: clamp(35px, 9.4vw, 58px); letter-spacing: 0; }
	br.desktop { display: none; }
	.hero-desc { font-size: 16px; }
	.hero-foot { margin-top: 28px; gap: 16px; }
	.hero-indicator { margin-top: 18px; }
	.hero-art { min-height: 410px; margin-top: 12px; }
	.pack-scene { top: -20px; scale: .7; }
	.orbit { top: 40px; width: 280px; height: 280px; }
	.art-label { top: 6px; font-size: 8px; }
	.art-bottom { font-size: 9px; }
	.ticker { font-size: 22px; padding: 18px 0; margin-top: 0; }
	.section { padding: 65px var(--gutter); }
	.grid-bg { background-size: 32px 32px; }
	.section-head { display: block; margin-bottom: 30px; }
	h2 { font-size: 38px; }
	.eyebrow { font-size: 11px; margin-bottom: 20px; }
	.section-head p { font-size: 14px; }
	.filters button, .filters a { padding: 9px 16px; font-size: 12px; }
	.product-grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
	.product-visual { height: 170px; }
	.product-meta { align-items: flex-start; gap: 6px; }
	.product-meta h3 { font-size: 17px; }
	.product-meta p { font-size: 11px; }
	.add { width: 32px; height: 32px; font-size: 22px; }
	.product-tag { font-size: 8px; top: 10px; right: 10px; }
	.product-more { font-size: 12px; }
	.work-grid, .work-grid.is-archive { grid-template-columns: 1fr; }
	.project-visual { height: 260px; }
	.project-caption h3 { font-size: 22px; }
	.about-grid { grid-template-columns: 1fr; gap: 10px; }
	.large { font-size: 21px; }
	.cta { padding: 32px 22px; margin-bottom: 45px; }
	.cta h2 { font-size: 29px; }
	.cta p { font-size: 13px; }
	.circle-cta { width: 92px; height: 92px; font-size: 15px; }
	.circle-cta span { font-size: 28px; }
	.footer-top { flex-wrap: wrap; gap: 18px; }
	.site-footer .social-icons { width: 100%; margin: 8px 0; }
	.form-grid { grid-template-columns: 1fr; }
	.page-head { padding: 50px var(--gutter) 40px; }
	.pd-specs > div { grid-template-columns: 1fr; gap: 4px; }
	.pd-quote { padding: 18px; }
	.contact-cards { grid-template-columns: 1fr; }
	.sector-list { grid-template-columns: 1fr; margin-top: 40px; }
	.work-body { grid-template-columns: 1fr; }
	.work-gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 380px) {
	.product-grid { grid-template-columns: 1fr; }
	.product-visual { height: 220px; }
	.pack-scene { scale: .62; }
}

/* ------------------------------------------------------------------
   Reduced motion: no floating, no marquee, instant swaps.
------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.hero-scene, .hero-desc { transition: opacity .25s linear !important; translate: -50% 0; }
	.hero-desc { transform: none; translate: none; }
	.hero.is-ticking .hero-dot[aria-current] span::after { animation: none !important; transform: scaleX(1); }
	.word svg path { stroke-dashoffset: 0; }
	.ticker div { transform: none; }
}
