/* ==========================================================================
   Vizclay — theme stylesheet
   Brand: navy #0B273B · orange #F04E22 · sky #ABCEE0 · white. Type: Shaheen Arabic IT.
   Motif: the step mark's slant (≈ 20°) — used on image corners, buttons, section decorations.
   ========================================================================== */

/* ---- Fonts (self-hosted; licence check pending for production) ---- */
@font-face { font-family: 'Shaheen'; src: url('../fonts/shaheenarabicIT-Light.otf') format('opentype');   font-weight: 300; font-display: swap; }
@font-face { font-family: 'Shaheen'; src: url('../fonts/shaheenarabicIT-Regular.otf') format('opentype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Shaheen'; src: url('../fonts/shaheenarabicIT-Medium.otf') format('opentype');  font-weight: 500; font-display: swap; }
@font-face { font-family: 'Shaheen'; src: url('../fonts/shaheenarabicIT-Bold.otf') format('opentype');    font-weight: 700; font-display: swap; }
@font-face { font-family: 'Shaheen'; src: url('../fonts/shaheenarabicIT-Black.otf') format('opentype');   font-weight: 900; font-display: swap; }

/* ---- Tokens ---- */
:root {
	--navy: #0B273B;
	--navy-2: #12314A;
	--navy-3: #1A3B55;
	--orange: #F04E22;
	--orange-2: #D8411A;
	--sky: #ABCEE0;
	--sky-2: #D9E8F1;
	--sky-3: #EEF4F8;
	--white: #FFFFFF;
	--ink: #0B273B;
	--ink-2: #4A5E6E;
	--ink-3: #7A8C99;
	--rule: #D2DEE7;
	--ok: #1E7F4F;
	--error: #B3261E;

	--font: 'Shaheen', 'Segoe UI', Helvetica, Arial, sans-serif;
	--container: 1200px;
	--gutter: 24px;
	--radius: 2px;
	--slant: 8px;
	--step-clip: polygon(var(--slant) 0, 100% 0, calc(100% - var(--slant)) 100%, 0 100%);
	--shadow: 0 12px 40px rgba(11, 39, 59, .14);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---- Reset & base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-2); text-decoration: none; }
a:hover { color: var(--orange); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
h1, h2, h3, h4, .h3, .h4 { font-weight: 700; line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.04; }
h2, .section-title { font-size: clamp(28px, 3.4vw, 40px); }
h3, .h3 { font-size: 22px; }
h4, .h4 { font-size: 18px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--orange); color: var(--white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 800px; }
.container.wide { max-width: 1320px; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section.is-sky { background: var(--sky-3); }
.section.is-band { background: var(--navy); color: var(--white); }
.section.is-band a { color: var(--white); }
/* Two plain white sections in a row share one gap; tinted/landing bands keep their own padding. */
.section + .section:not(.is-sky):not(.is-band):not([class*="lp-"]) { padding-top: 0; }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--orange);
	margin: 0 0 12px;
}
.section-text { font-size: 18px; color: var(--ink-2); max-width: 60ch; margin: 0; }
.is-band .section-text { color: var(--sky-2); }
.step-clip { clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%); }
.thumb-placeholder {
	display: grid; place-items: center; aspect-ratio: 4 / 3; width: 100%;
	background: var(--sky-2) url('../img/pattern.svg') 0 0 / 122px 67px; background-blend-mode: soft-light;
	color: var(--white);
}
.thumb-placeholder.is-tall { aspect-ratio: 3 / 4; }
.thumb-placeholder .site-mark { width: 24%; }

/* ---- Buttons ---- */
.btn, .button, button.button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt,
.single_add_to_cart_button, .checkout-button {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 24px;
	font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 1; letter-spacing: .01em;
	border: 0; cursor: pointer; text-decoration: none;
	clip-path: var(--step-clip);
	background: var(--orange); color: var(--white);
	transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover, .woocommerce input.button.alt:hover { background: var(--orange-2); color: var(--white); transform: translateX(2px); }
.btn .icon { width: 20px; height: 20px; }
.btn-secondary { background: var(--navy); }
.btn-secondary:hover { background: var(--navy-2); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--sky-2); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); clip-path: none; }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-link { background: none; color: var(--navy); padding: 0; clip-path: none; font-size: 16px; }
.btn-link:hover { background: none; color: var(--orange); transform: none; }
.btn-link .icon { transition: transform .2s var(--ease); }
.btn-link:hover .icon { transform: translateX(4px); }
.is-band .btn-link { color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn-row.is-center { justify-content: center; }
.icon { width: 22px; height: 22px; flex: none; }

/* ---- Announcement + header ---- */
.announcement { background: var(--orange); color: var(--white); font-size: 14px; font-weight: 700; text-align: center; padding: 8px 0; }
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: var(--white); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.header-bar { display: flex; align-items: center; gap: 24px; height: 76px; }
.site-branding { flex: none; }
.site-logo-link { display: block; color: var(--white); }
.site-logo { height: 30px; width: auto; }
.site-logo-link.is-light { color: var(--white); }
.primary-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu a {
	display: block; padding: 10px 14px; color: rgba(255, 255, 255, .86); font-weight: 500; font-size: 16px;
	position: relative; white-space: nowrap;
}
.primary-nav .menu a::after {
	content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
	background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease);
}
.primary-nav .menu a:hover::after, .primary-nav .menu .current-menu-item > a::after, .primary-nav .menu .current-menu-ancestor > a::after { transform: scaleX(1); }
.primary-nav .menu a:hover, .primary-nav .menu .current-menu-item > a { color: var(--white); }
.primary-nav .sub-menu {
	list-style: none; margin: 0; padding: 8px 0; min-width: 220px;
	position: absolute; top: 100%; left: 0; background: var(--navy-2); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s var(--ease);
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a::after { display: none; }
.nav-mobile-extras { display: none; }
.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--white); }
.header-icon:hover { color: var(--orange); }
.header-cta { margin-left: 10px; padding: 12px 20px; font-size: 15px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; color: var(--white); place-items: center; padding: 0; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
/* WooCommerce mini-cart block inside the header */
.header-cart .wc-block-mini-cart__button { color: var(--white); padding: 0 6px; }
.header-cart .wc-block-mini-cart__button:hover { color: var(--orange); }
.header-cart .wc-block-mini-cart__badge { background: var(--orange); color: var(--white); border: 0; }
.header-cart .wc-block-mini-cart__quantity-badge { position: relative; }

@media (max-width: 1060px) {
	.header-bar { gap: 12px; height: 64px; }
	.nav-toggle { display: grid; }
	.site-branding { flex: 1; }
	.site-logo { height: 26px; }
	.header-cta { display: none; }
	.primary-nav {
		position: fixed; inset: 64px 0 0 0; z-index: 99; flex-direction: column; justify-content: flex-start; align-items: stretch;
		background: var(--navy); padding: 16px var(--gutter) 40px; overflow-y: auto;
		transform: translateX(-100%); transition: transform .25s var(--ease);
	}
	.primary-nav.is-open { transform: none; }
	.primary-nav .menu { flex-direction: column; gap: 0; }
	.primary-nav .menu a { padding: 14px 4px; font-size: 20px; border-bottom: 1px solid var(--navy-3); }
	.primary-nav .menu a::after { display: none; }
	.primary-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; box-shadow: none; padding: 0 0 8px 16px; }
	.primary-nav .sub-menu a { font-size: 16px; border: 0; padding: 8px 4px; color: var(--sky); }
	.nav-mobile-extras { display: flex; margin-top: 24px; }
	body.nav-open { overflow: hidden; }
}

/* ---- Home hero ---- */
.home-hero { background: var(--navy); color: var(--white); overflow: hidden; position: relative; }
.home-hero::before {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: url('../img/pattern.svg') 0 0 / 183px 101px; opacity: .05;
	mask-image: linear-gradient(90deg, transparent 30%, #000 100%);
}
.home-hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.home-title { font-size: clamp(40px, 5.6vw, 68px); font-weight: 900; line-height: 1; margin-bottom: 20px; }
.home-text { font-size: clamp(18px, 1.6vw, 21px); color: var(--sky-2); max-width: 52ch; }
.home-hero-copy .eyebrow { color: var(--sky); }
.home-hero-media { position: relative; }
.home-hero-media::before { content: ''; position: absolute; inset: 8% -6% -6% 8%; background: var(--orange); clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); opacity: .9; }
.home-hero-project { position: relative; display: block; color: var(--white); clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
.home-hero-project img, .home-hero-project .thumb-placeholder { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; }
.home-hero-caption {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14% 22px;
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-weight: 700; font-size: 18px;
	background: linear-gradient(transparent, rgba(11, 39, 59, .85));
}
.home-hero-caption .eyebrow { width: 100%; margin: 0; color: var(--sky); font-size: 12px; }
.home-hero-caption .icon { margin-left: auto; }
.home-hero-pattern { position: relative; aspect-ratio: 3 / 4; background: var(--navy-2) url('../img/pattern.svg') 0 0 / 122px 67px; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
@media (max-width: 860px) {
	.home-hero-inner { grid-template-columns: 1fr; }
	.home-hero-media { max-width: 440px; }
}

/* ---- Pillars ---- */
.pillars { padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--rule); }
.pillar-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.pillar-grid a { display: grid; gap: 8px; padding: 8px 24px 8px 20px; border-left: 2px solid var(--rule); color: var(--ink); transition: border-color .2s; }
.pillar-grid a:hover { border-color: var(--orange); }
.pillar-grid .icon { color: var(--orange); width: 28px; height: 28px; }
.pillar-grid strong { font-size: 19px; }
.pillar-grid span { font-size: 15px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 560px) { .pillar-grid { gap: 20px; } }

/* ---- Section head ---- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head .section-title { margin-bottom: 0; }
.section-head .section-text { margin-top: 12px; }
.section-head .btn-link { flex: none; margin-bottom: 6px; }
@media (max-width: 600px) { .section-head { flex-direction: column; align-items: flex-start; } }

/* ---- Portfolio ---- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px) clamp(16px, 2.4vw, 28px); }
.project-grid.is-featured .project-card.is-wide { grid-column: span 2; }
.project-card-media { display: block; overflow: hidden; clip-path: polygon(2.5% 0, 100% 0, 97.5% 100%, 0 100%); background: var(--sky-2); }
.project-card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.project-card.is-wide .project-card-media img { aspect-ratio: 16 / 9; }
.project-card:hover .project-card-media img { transform: scale(1.03); }
.project-card-body { padding: 16px 12px 0; }
.project-card-kind { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin: 0 0 6px; }
.project-card-kind .sep { margin: 0 6px; }
.project-card-title { font-size: 22px; margin: 0 0 6px; }
.project-card-title a { color: var(--ink); }
.project-card-title a:hover { color: var(--orange); }
.project-card-text { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 900px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .project-grid { grid-template-columns: 1fr; } .project-grid.is-featured .project-card.is-wide { grid-column: auto; } }

.project-header { padding-block: clamp(40px, 6vw, 72px) 28px; }
.project-title { font-size: clamp(36px, 5vw, 60px); max-width: 20ch; }
.project-lead { font-size: 20px; color: var(--ink-2); max-width: 60ch; }
.project-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.project-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 80px); padding-block: clamp(40px, 6vw, 72px); }
.project-details { position: sticky; top: 100px; align-self: start; }
.project-details dl { margin: 0 0 24px; display: grid; gap: 14px; }
.project-details dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; }
.project-details dd { margin: 2px 0 0; font-size: 17px; font-weight: 500; }
.project-viewer { margin: 40px 0 0; }
.project-viewer iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--sky-3); }
.project-viewer figcaption { font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.project-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 8px 64px; border-top: 1px solid var(--rule); }
.project-nav-link { display: flex; align-items: center; gap: 14px; padding: 24px 0; color: var(--ink); font-weight: 700; font-size: 18px; }
.project-nav-link.is-next { justify-content: flex-end; text-align: right; }
.project-nav-link .eyebrow { display: block; margin: 0 0 2px; font-size: 11px; }
.project-nav-link:hover { color: var(--orange); }
@media (max-width: 800px) { .project-layout { grid-template-columns: 1fr; } .project-details { position: static; } }

/* ---- Page hero ---- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(44px, 6vw, 80px); }
.page-hero.is-navy { background: var(--navy); color: var(--white); }
.page-hero.is-sky { background: var(--sky); color: var(--navy); }
.page-hero.is-white { background: var(--white); border-bottom: 1px solid var(--rule); }
.page-hero .container { position: relative; }
.page-hero .eyebrow { margin-bottom: 8px; }
.page-hero.is-navy .eyebrow { color: var(--sky); }
.page-hero.is-sky .eyebrow { color: var(--navy); opacity: .7; }
.page-title { margin-bottom: 8px; max-width: 22ch; }
.page-hero-text { font-size: 19px; max-width: 58ch; margin: 0; opacity: .9; }
.hero-steps { position: absolute; inset: 0; pointer-events: none; }
.hero-steps span { position: absolute; width: min(22vw, 260px); height: 34%; clip-path: polygon(22% 0, 100% 0, 78% 100%, 0 100%); background: var(--white); opacity: .5; }
.page-hero.is-navy .hero-steps span { background: var(--navy-2); opacity: 1; }
.hero-steps span:nth-child(1) { right: 20%; top: -10%; }
.hero-steps span:nth-child(2) { right: 9%; top: 34%; }
.hero-steps span:nth-child(3) { right: -2%; top: 78%; }
.hero-meta { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; font-size: 14px; font-weight: 700;
	background: rgba(255, 255, 255, .55); color: var(--navy); clip-path: var(--step-clip); transition: background .2s;
}
.page-hero.is-navy .chip { background: var(--navy-2); color: var(--white); }
.chip:hover, .chip.is-active { background: var(--orange); color: var(--white); }
.chip .icon { width: 16px; height: 16px; }

/* ---- Breadcrumb, pagination, empty ---- */
.breadcrumb { font-size: 14px; color: var(--ink-3); margin-bottom: 20px; }
.breadcrumb a { color: var(--ink-2); }
.breadcrumb .sep { margin: 0 8px; }
.pagination, .woocommerce-pagination { margin-top: 48px; }
.pagination .nav-links, .woocommerce-pagination ul.page-numbers { display: flex; justify-content: center; gap: 6px; list-style: none; padding: 0; margin: 0; border: 0; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; font-weight: 700; color: var(--ink); border: 1px solid var(--rule); }
.woocommerce-pagination ul.page-numbers li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border: 1px solid var(--rule); padding: 0 8px; min-width: 44px; line-height: 42px; display: grid; place-items: center; }
.page-numbers.current, .woocommerce nav.woocommerce-pagination ul li span.current { background: var(--navy); color: var(--white); border-color: var(--navy); }
.empty-state { text-align: center; padding: 48px 16px; color: var(--ink-2); }
.empty-state .site-mark { width: 56px; margin: 0 auto 16px; color: var(--sky); }
.empty-state.is-page { padding-block: 96px; }
.empty-state.is-page .site-mark { width: 80px; color: var(--orange); }

/* ---- Products ---- */
.woocommerce ul.products, ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 36px) clamp(16px, 2.4vw, 28px); }
/* Woo's column rules are three-class selectors (ul.products.columns-3 li.product), so match that weight. */
.woocommerce ul.products li.product, .woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product, ul.products li.product { float: none; width: auto; margin: 0; text-align: left; }
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
@media (max-width: 900px) { .woocommerce ul.products, ul.products, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .woocommerce ul.products, ul.products, .woocommerce ul.products.columns-4, .woocommerce ul.products.columns-2 { grid-template-columns: 1fr; } }
.product-card-media { position: relative; display: block; overflow: hidden; background: var(--sky-3); clip-path: polygon(2.5% 0, 100% 0, 97.5% 100%, 0 100%); }
.woocommerce ul.products li.product .product-card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin: 0; transition: transform .6s var(--ease); }
li.product:hover .product-card-media img { transform: scale(1.03); }
.woocommerce ul.products li.product .onsale, .woocommerce span.onsale { position: absolute; top: 12px; left: 16px; margin: 0; min-height: 0; min-width: 0; padding: 6px 10px; border-radius: 0; line-height: 1; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--orange); color: var(--white); clip-path: var(--step-clip); }
.play-badge { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.play-badge .icon { width: 56px; height: 56px; padding: 16px; background: var(--orange); color: var(--white); border-radius: 50%; box-shadow: 0 8px 24px rgba(11, 39, 59, .35); }
.product-card-body { padding: 14px 12px 0; }
.product-card-kind, .product-kind { display: flex; align-items: center; gap: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 700; margin: 0 0 6px; }
.product-card-kind .icon, .product-kind .icon { width: 15px; height: 15px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0; font-size: 19px; line-height: 1.2; margin: 0 0 6px; }
.woocommerce-loop-product__title a { color: var(--ink); }
.woocommerce-loop-product__title a:hover { color: var(--orange); }
.product-card-meta { font-size: 14px; color: var(--ink-2); margin: 0 0 8px; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price { color: var(--ink); font-size: 17px; font-weight: 700; margin: 0; }
.woocommerce ul.products li.product .price del, .woocommerce div.product p.price del { color: var(--ink-3); font-weight: 400; opacity: 1; }
.woocommerce ul.products li.product .price ins, .woocommerce div.product p.price ins { text-decoration: none; }

/* Shop toolbar */
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin: 0 0 28px; font-size: 14px; color: var(--ink-2); }
.woocommerce .woocommerce-ordering select { padding: 8px 12px; border: 1px solid var(--rule); background: var(--white); }
.shop-main .woocommerce-notices-wrapper:empty { display: none; }
.shop-main > .container { padding-block: clamp(40px, 5vw, 64px); }

/* Single product */
.woocommerce div.product div.images, .woocommerce div.product div.summary { float: none; width: auto; margin: 0; }
.product-top { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.product-top > .summary { position: sticky; top: 100px; }
.woocommerce div.product .woocommerce-product-gallery img { clip-path: polygon(2.5% 0, 100% 0, 97.5% 100%, 0 100%); }
.woocommerce div.product .product_title { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 10px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--ink-2); font-size: 17px; }
.woocommerce div.product p.price { font-size: 26px; margin: 8px 0 20px; }
.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 24px; }
.woocommerce div.product form.cart .button { flex: 1; justify-content: center; padding: 16px 24px; font-size: 17px; }
.woocommerce div.product form.cart div.quantity { margin: 0; }
.woocommerce .quantity .qty { height: 50px; width: 72px; border: 1px solid var(--rule); text-align: center; }
.woocommerce div.product form.cart .variations td { padding: 6px 0; }
.product-facts { list-style: none; margin: 0 0 20px; padding: 20px 0 0; border-top: 1px solid var(--rule); display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.product-facts li { display: flex; gap: 10px; align-items: flex-start; }
.product-facts .icon { width: 20px; height: 20px; color: var(--orange); margin-top: 1px; }
.woocommerce div.product .product_meta { font-size: 13px; color: var(--ink-3); }
.woocommerce div.product .product_meta span { display: block; }
.product-section { max-width: 880px; width: 100%; padding-top: clamp(32px, 5vw, 56px); }
.product-section .section-head { margin-bottom: 24px; }
.product-section .section-title { font-size: clamp(24px, 3vw, 32px); }
.course-trailer iframe, .course-trailer video { width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--navy); }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px 24px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.check-list .icon { color: var(--orange); width: 20px; height: 20px; margin-top: 3px; }
.syllabus { border-top: 1px solid var(--rule); }
.syllabus-unit { border-bottom: 1px solid var(--rule); }
.syllabus-unit summary { display: flex; align-items: center; gap: 16px; padding: 18px 4px; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; }
.syllabus-unit summary::-webkit-details-marker { display: none; }
.syllabus-unit-n { font-size: 13px; color: var(--orange); font-variant-numeric: tabular-nums; }
.syllabus-unit-title { flex: 1; }
.syllabus-unit-meta { font-size: 14px; font-weight: 400; color: var(--ink-3); }
.syllabus-unit summary .icon { transition: transform .2s var(--ease); color: var(--ink-3); }
.syllabus-unit[open] summary .icon { transform: rotate(180deg); }
.syllabus-lessons { list-style: none; margin: 0; padding: 0 4px 16px 36px; display: grid; gap: 8px; }
.syllabus-lessons li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; color: var(--ink-2); }
.syllabus-lessons .icon { width: 16px; height: 16px; color: var(--sky); }
.syllabus-lessons time { margin-left: auto; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
model-viewer { width: 100%; height: 520px; background: var(--sky-3); clip-path: polygon(2.5% 0, 100% 0, 97.5% 100%, 0 100%); }
.woocommerce div.product .woocommerce-tabs { max-width: 880px; padding-top: 40px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; display: flex; gap: 4px; border-bottom: 1px solid var(--rule); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 16px; color: var(--ink-2); font-weight: 700; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--orange); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); }
.woocommerce div.product .woocommerce-tabs .panel h2:first-child { display: none; }
.woocommerce div.product section.related, .woocommerce div.product section.up-sells { padding-top: clamp(40px, 6vw, 72px); }
.woocommerce div.product section.related > h2, .woocommerce div.product section.up-sells > h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 24px; }
@media (max-width: 800px) {
	.product-top { grid-template-columns: 1fr; }
	.product-top > .summary { position: static; }
}

/* Cart / checkout / account — WooCommerce blocks and shortcodes, lightly aligned to the brand */
.wc-block-components-button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button { background: var(--orange) !important; color: var(--white) !important; border-radius: 0 !important; font-family: var(--font) !important; font-weight: 700 !important; clip-path: var(--step-clip); }
.wc-block-components-button:hover { background: var(--orange-2) !important; }
.wc-block-components-product-name, .wc-block-components-totals-item__label { font-family: var(--font); }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: inline-block; padding: 10px 16px; font-weight: 700; font-size: 15px; background: var(--sky-3); color: var(--navy); clip-path: var(--step-clip); }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--navy); color: var(--white); }
.woocommerce-account .woocommerce-MyAccount-navigation { float: none; width: auto; margin-bottom: 32px; }
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce table.shop_table { border: 0; border-collapse: collapse; border-radius: 0; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { border: 0; border-bottom: 1px solid var(--rule); padding: 14px 12px; }
.woocommerce table.shop_table th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-EditAccountForm input { padding: 12px 14px; border: 1px solid var(--rule); border-radius: 0; background: var(--white); }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { border-top-color: var(--orange); background: var(--sky-3); color: var(--ink); font-family: var(--font); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--orange); }
.woocommerce-error { border-top-color: var(--error); }
.woocommerce-error::before { color: var(--error); }
.woocommerce .woocommerce-message .button { float: none; margin-right: 12px; }
.woocommerce-form-login, .woocommerce-form-register { border: 1px solid var(--rule) !important; border-radius: 0 !important; padding: 24px !important; }
.woocommerce-thankyou-order-received { font-size: 24px; font-weight: 700; }
.woocommerce-order .btn { margin-top: 12px; }

/* ---- Home: about teaser ---- */
.about-teaser { background: var(--sky-3); }
.about-teaser-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.about-teaser-mark { display: grid; place-items: center; color: var(--orange); }
.about-teaser-mark .site-mark { width: min(60%, 260px); }
@media (max-width: 800px) { .about-teaser-inner { grid-template-columns: 1fr; } .about-teaser-mark { display: none; } }

/* ---- About ---- */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px 28px; counter-reset: step; }
.process li { display: grid; gap: 10px; align-content: start; }
.process h3 { font-size: 20px; margin: 0; }
.process p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.process-step { display: grid; place-items: center; width: 48px; height: 44px; background: var(--orange); color: var(--white); font-weight: 900; font-size: 20px; clip-path: var(--step-clip); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split-media img, .split-media .thumb-placeholder { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* ---- Contact ---- */
.contact-layout { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-details p { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-details .icon { color: var(--orange); margin-top: 2px; }
.contact-details a { color: var(--ink); font-weight: 500; }
.contact-details a:hover { color: var(--orange); }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }

/* ---- Forms ---- */
.enquiry-form .hp { position: absolute; left: -9999px; }
.form-title { font-size: 26px; margin-bottom: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 20px; }
.form-grid p { margin: 0; display: grid; gap: 6px; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.enquiry-form input:not([type="hidden"]), .enquiry-form select, .enquiry-form textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--rule); background: var(--white); border-radius: var(--radius); }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus { outline: 3px solid var(--orange); outline-offset: 0; border-color: var(--orange); }
.enquiry-form textarea { resize: vertical; min-height: 140px; }
.notice { display: flex; gap: 10px; align-items: center; padding: 14px 16px; margin-bottom: 20px; font-weight: 500; }
.notice-ok { background: #E6F4EC; color: var(--ok); }
.notice-error { background: #FBE9E7; color: var(--error); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---- Entry content (pages, posts, project story) ---- */
.entry-content { font-size: 18px; line-height: 1.65; }
.entry-content > * { max-width: 68ch; }
.entry-content > .alignwide, .entry-content > .alignfull, .entry-content > .wp-block-gallery, .entry-content > figure { max-width: none; }
.entry-content h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content img { clip-path: polygon(1.5% 0, 100% 0, 98.5% 100%, 0 100%); }
.entry-content figcaption { font-size: 14px; color: var(--ink-3); }
.entry-content blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--orange); font-size: 22px; font-weight: 500; }
.post-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 32px; }
.post-list { display: grid; gap: 32px; }
.post-item { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: center; }
.post-item-media img, .post-item-media .thumb-placeholder { clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%); }
.post-item h2 a { color: var(--ink); }
@media (max-width: 600px) { .post-item { grid-template-columns: 1fr; } }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: var(--sky-2); margin-top: auto; }
.footer-band { height: 22px; background: var(--orange) url('../img/pattern.svg') 0 0 / 61px 34px; background-blend-mode: multiply; opacity: .95; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.footer-about p { font-size: 15.5px; max-width: 42ch; margin: 18px 0; }
.footer-about .site-logo { height: 28px; }
.footer-title { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-menu a, .footer-contact a, .social a { color: var(--sky-2); }
.footer-menu a:hover, .footer-contact a:hover, .social a:hover { color: var(--orange); }
.footer-contact p { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; margin-bottom: 10px; }
.footer-contact .icon { color: var(--orange); width: 20px; height: 20px; margin-top: 2px; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; }
.social a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.social .icon { width: 20px; height: 20px; }
.footer-bottom { background: var(--navy-2); font-size: 13.5px; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--sky-2); }
.footer-legal a:hover { color: var(--orange); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---- Enrolled state (product page + account) ---- */
.product-enrolled { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ok); margin: 8px 0 12px; }
.product-enrolled .icon { width: 20px; height: 20px; }
.btn-block { width: 100%; justify-content: center; padding: 16px 24px; font-size: 17px; margin-bottom: 24px; }
.owned-courses { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 8px; }
.owned-courses a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--sky-3); color: var(--ink); font-weight: 700; }
.owned-courses a:hover { background: var(--sky-2); }
.owned-courses .icon { color: var(--orange); width: 20px; height: 20px; }
.owned-courses span { flex: 1; }
.owned-courses em { font-style: normal; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* ---- Tutor LMS (course player) — keep it inside the brand ---- */
.tutor-wrap, .tutor-course-single-content-wrapper { font-family: var(--font); }
.tutor-btn-primary, .tutor-btn.tutor-btn-primary { background: var(--orange) !important; border-color: var(--orange) !important; color: var(--white) !important; border-radius: 0 !important; clip-path: var(--step-clip); font-weight: 700 !important; }
.tutor-btn-primary:hover { background: var(--orange-2) !important; }
.tutor-course-single-sidebar-title, .tutor-course-topic-title { font-family: var(--font); }
.tutor-course-topic-item.is-active .tutor-course-topic-item-title { color: var(--orange); }
.tutor-lesson-sidebar { border-color: var(--rule); }
