/* ==========================================================================
   Lanka Special Steels — Black & Gold design system
   ========================================================================== */

:root {
	--bg: #0b0a08;
	--bg-2: #110f0c;
	--surface: #17140f;
	--surface-2: #1f1b15;
	--line: rgba(212, 175, 55, .16);
	--line-soft: rgba(255, 255, 255, .07);
	--text: #f3eee4;
	--muted: #a79e8e;
	--gold: #d4af37;
	--gold-hi: #f3dc8c;
	--gold-lo: #9c7a1f;
	--gold-text: #e3c25e;
	--on-gold: #15110a;
	--grad-gold: linear-gradient(120deg, #f6e3a1 0%, #d4af37 42%, #a8821f 100%);
	--shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
	--glow: rgba(212, 175, 55, .22);
	--hero-shade: linear-gradient(90deg, rgba(8, 7, 5, .85) 0%, rgba(8, 7, 5, .35) 60%, rgba(8, 7, 5, .2) 100%), linear-gradient(180deg, rgba(8, 7, 5, .5) 0%, rgba(8, 7, 5, .1) 45%, rgba(11, 10, 8, 1) 100%);
	--header-bg: rgba(11, 10, 8, .72);
	--card-hi: rgba(255, 255, 255, .03);

	--f-display: 'Sora', system-ui, sans-serif;
	--f-body: 'Manrope', system-ui, sans-serif;
	--radius: 18px;
	--radius-lg: 28px;
	--ease: cubic-bezier(.2, .7, .1, 1);
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	color-scheme: dark;
}

[data-theme="light"] {
	--bg: #f8f5ee;
	--bg-2: #f1ebdf;
	--surface: #ffffff;
	--surface-2: #faf6ee;
	--line: rgba(156, 122, 31, .22);
	--line-soft: rgba(20, 16, 10, .08);
	--text: #17130d;
	--muted: #6a6152;
	--gold: #b18a22;
	--gold-hi: #d9b64f;
	--gold-lo: #86661a;
	--gold-text: #8a6816;
	--on-gold: #15110a;
	--grad-gold: linear-gradient(120deg, #e9cf7c 0%, #c69c2c 45%, #8e6c18 100%);
	--shadow: 0 30px 60px -34px rgba(60, 45, 10, .35);
	--glow: rgba(177, 138, 34, .18);
	--hero-shade: linear-gradient(90deg, rgba(8, 7, 5, .85) 0%, rgba(8, 7, 5, .35) 60%, rgba(8, 7, 5, .2) 100%), linear-gradient(180deg, rgba(8, 7, 5, .5) 0%, rgba(8, 7, 5, .15) 45%, rgba(8, 7, 5, .9) 100%);
	--header-bg: rgba(248, 245, 238, .82);
	--card-hi: rgba(255, 255, 255, .6);
	color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 16.5px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
::selection { background: var(--gold); color: var(--on-gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
[lang="si"] { font-family: 'Noto Sans Sinhala', var(--f-body); }
[lang="ta"] { font-family: 'Noto Sans Tamil', var(--f-body); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--gold); color: var(--on-gold); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }
.alt { background: var(--bg-2); }

.ico { width: 20px; height: 20px; flex: none; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700;
	color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--grad-gold); }
.gold { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }

.h-xl { font-size: clamp(40px, 6.4vw, 88px); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.h-lg { font-size: clamp(32px, 4.4vw, 58px); letter-spacing: -.03em; }
.h-md { font-size: clamp(24px, 2.6vw, 34px); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 760px) { .section-head.split { grid-template-columns: 1fr; } }

/* ---------- buttons ---------- */
.btn {
	--pad: 15px 26px;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: var(--pad); border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .01em;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s, border-color .3s;
	white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
}
.btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn-sm { --pad: 10px 18px; font-size: 14px; }
.btn-gold { background: var(--grad-gold); color: var(--on-gold); box-shadow: 0 10px 30px -12px var(--glow); }
.btn-gold::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .55) 50%, transparent 80%);
	transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px var(--glow); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: var(--card-hi); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-text); }
.btn-light { border: 1px solid rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(8px); }
.btn-light:hover { border-color: var(--gold-hi); color: var(--gold-hi); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--gold-text); }
.link-arrow .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- progress + header ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--grad-gold); transform-origin: 0 50%; transform: scaleX(0); }

.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	transition: background-color .4s var(--ease), border-color .4s, transform .5s var(--ease), backdrop-filter .4s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { background: var(--header-bg); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom-color: var(--line-soft); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 84px; transition: height .4s var(--ease); }
.is-scrolled .header-inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35)); }
.brand-text { display: grid; line-height: 1.15; }
.brand-text strong { font-family: var(--f-display); font-size: 16px; letter-spacing: -.01em; font-weight: 600; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .02em; }

/* On transparent header over dark hero, force light text */
body:not(.no-hero) .site-header:not(.is-scrolled) { --text: #f5efe3; --muted: rgba(245, 239, 227, .7); --line: rgba(255, 255, 255, .2); --card-hi: rgba(255, 255, 255, .06); color: #f5efe3; }

.nav { margin-left: auto; }
.nav > ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: relative; }
.nav > ul > li > a, .nav > ul > li > button {
	display: inline-flex; align-items: center; gap: 4px;
	padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: var(--text);
	transition: color .25s, background-color .25s;
}
.nav > ul > li > a:hover, .nav > ul > li > button:hover, .has-drop.open > button { color: var(--gold-text); }
.nav .is-active { color: var(--gold-text) !important; }
.nav .is-active::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%); }
.chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-drop.open .chev { transform: rotate(180deg); }

.drop {
	position: absolute; top: calc(100% + 10px); left: 50%; min-width: 290px;
	transform: translate(-50%, 8px); opacity: 0; visibility: hidden;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 10px; box-shadow: var(--shadow);
	transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
	color: var(--t-real);
}
.has-drop.open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop > a { display: grid; padding: 12px 14px; border-radius: 12px; transition: background-color .25s; }
.drop > a strong { font-size: 14.5px; font-weight: 700; }
.drop > a span { font-size: 13px; opacity: .65; }
.drop > a:hover { background: var(--surface-2); }
.drop > a:hover strong { color: var(--gold-text); }

.mega { width: min(760px, 92vw); padding: 14px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.mega-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; transition: background-color .25s; }
.mega-item:hover { background: var(--surface-2); }
.mega-item:hover strong { color: var(--gold-text); }
.mega-thumb { width: 56px; height: 56px; border-radius: 12px; background: radial-gradient(circle at 50% 40%, var(--glow), transparent 70%), var(--bg-2); display: grid; place-items: center; overflow: hidden; flex: none; }
.mega-thumb img { width: 46px; height: 46px; object-fit: contain; }
.mega-item > span:last-child { display: grid; line-height: 1.3; }
.mega-item strong { font-size: 14.5px; }
.mega-item > span:last-child > span { font-size: 12.5px; opacity: .6; }
.mega-foot { display: flex; gap: 22px; align-items: center; border-top: 1px solid var(--line-soft); margin-top: 10px; padding: 14px 10px 4px; font-size: 14px; font-weight: 700; }
.mega-foot a { display: inline-flex; align-items: center; gap: 6px; opacity: .8; }
.mega-foot a:first-child { color: var(--gold-text); opacity: 1; }
.mega-foot a:hover { opacity: 1; color: var(--gold-text); }
.mega-foot .ico { width: 16px; height: 16px; }

/* Dropdown panels always use real theme colours even over the hero */
:root { --t-real: #f3eee4; }
[data-theme="light"] { --t-real: #17130d; }
.site-header .drop, .site-header .drop * { color: var(--t-real); }
.site-header .drop strong { color: var(--t-real); }
.site-header .drop a:hover strong, .mega-foot a:first-child { color: var(--gold-text); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
	width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
	border: 1px solid var(--line); background: var(--card-hi); position: relative; overflow: hidden;
	transition: border-color .3s, transform .4s var(--ease);
}
.theme-toggle:hover { border-color: var(--gold); transform: rotate(12deg); }
.theme-toggle .ico { position: absolute; width: 19px; height: 19px; transition: transform .6s var(--ease), opacity .4s; }
.theme-toggle .sun { transform: translateY(0) rotate(0); color: var(--gold-hi); }
.theme-toggle .moon { transform: translateY(140%) rotate(-60deg); opacity: 0; }
[data-theme="light"] .theme-toggle .sun { transform: translateY(-140%) rotate(60deg); opacity: 0; }
[data-theme="light"] .theme-toggle .moon { transform: none; opacity: 1; color: var(--gold-lo); }
body:not(.no-hero) .site-header:not(.is-scrolled) .theme-toggle .moon { color: #f5efe3; }
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); place-items: center; background: var(--card-hi); }

@media (max-width: 1120px) {
	.nav, .header-cta { display: none; }
	.burger { display: grid; }
	.header-actions { margin-left: auto; }
}
@media (max-width: 420px) { .brand-text small { display: none; } }

/* ---------- mobile menu ---------- */
.mobile-menu {
	position: fixed; inset: 0; z-index: 150; background: var(--bg);
	clip-path: circle(0% at calc(100% - 44px) 42px); visibility: hidden;
	transition: clip-path .8s var(--ease), visibility .8s;
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 42px); visibility: visible; }
.mobile-menu-inner { height: 100%; overflow-y: auto; padding: 90px var(--gutter) 60px; }
.mobile-menu nav { display: grid; max-width: 520px; }
.mobile-menu nav a { font-family: var(--f-display); font-size: 24px; padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu nav a.mm-sub { font-size: 17px; font-family: var(--f-body); color: var(--muted); padding: 7px 0 7px 14px; border: 0; }
.mobile-menu nav a:hover { color: var(--gold-text); }
.mm-label { margin-top: 26px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.mobile-close { position: absolute; top: 20px; right: var(--gutter); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #0b0a08; }
.preloader-inner { display: grid; justify-items: center; gap: 22px; }
.preloader-bar { width: 160px; height: 1px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.preloader-bar span { display: block; height: 100%; background: var(--grad-gold); transform: scaleX(0); transform-origin: 0 50%; }
.preloader p { font-size: 11.5px; letter-spacing: .38em; text-transform: uppercase; color: #cdb778; opacity: 0; }

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #f5efe3; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 115%; object-fit: cover; object-position: center 40%; transform-origin: 50% 40%; filter: saturate(.35) brightness(.62) contrast(1.05); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-shade); }
.hero::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(60% 50% at 15% 85%, rgba(212, 175, 55, .22), transparent 70%);
}
.hero-inner { padding-top: 140px; padding-bottom: clamp(40px, 6vw, 72px); width: 100%; }
.hero .eyebrow { color: var(--gold-hi); }
.hero h1 { max-width: 14ch; margin: 22px 0 26px; }
.hero h1 .gold { display: inline-block; }
.hero-lead { max-width: 58ch; font-size: clamp(17px, 1.35vw, 20px); color: rgba(245, 239, 227, .82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats {
	margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, 1fr);
	border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-stat { padding: 24px 24px 0 0; }
.hero-stat + .hero-stat { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-stat strong { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: -.03em; line-height: 1; }
.hero-stat > span { display: block; margin-top: 10px; font-size: 13.5px; color: rgba(245, 239, 227, .7); }
@media (max-width: 760px) {
	.hero-stats { grid-template-columns: 1fr 1fr; }
	.hero-stat:nth-child(3) { padding-left: 0; border-left: 0; }
	.hero-stat { padding-bottom: 18px; }
}
.scroll-cue { position: absolute; right: var(--gutter); bottom: 36px; display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(245, 239, 227, .6); writing-mode: vertical-rl; }
.scroll-cue::after { content: ""; width: 1px; height: 56px; background: linear-gradient(var(--gold-hi), transparent); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 760px) { .scroll-cue { display: none; } }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; min-height: clamp(420px, 62vh, 620px); display: flex; align-items: flex-end; color: #f5efe3; overflow: hidden; isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 120%; object-fit: cover; filter: saturate(.4) brightness(.7); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--hero-shade); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 10% 100%, rgba(212, 175, 55, .2), transparent 70%); }
.page-hero-inner { padding-top: 130px; padding-bottom: clamp(40px, 5vw, 64px); display: grid; gap: 18px; }
.page-hero .eyebrow { color: var(--gold-hi); }
.page-title { font-size: clamp(38px, 5.6vw, 76px); letter-spacing: -.035em; max-width: 18ch; }
.page-lead { max-width: 60ch; font-size: clamp(16.5px, 1.3vw, 19px); color: rgba(245, 239, 227, .8); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: rgba(245, 239, 227, .6); }
.crumbs a:hover { color: var(--gold-hi); }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 56px; font-family: var(--f-display); font-size: clamp(18px, 2vw, 24px); font-weight: 400; color: var(--muted); white-space: nowrap; }
.marquee-item::after { content: "◆"; font-size: 10px; color: var(--gold); }
.marquee-item b { color: var(--text); font-weight: 600; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- about split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 115%; object-fit: cover; }
.media-frame.wide { aspect-ratio: 16 / 11; }
.media-badge {
	position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 320px;
	display: flex; gap: 14px; align-items: center; padding: 16px 18px;
	background: rgba(11, 10, 8, .7); backdrop-filter: blur(14px); color: #f5efe3;
	border: 1px solid rgba(212, 175, 55, .3); border-radius: 16px;
}
.media-badge strong { font-family: var(--f-display); font-size: 30px; line-height: 1; color: var(--gold-hi); }
.media-badge span { font-size: 13.5px; line-height: 1.4; }
.prose { display: grid; gap: 20px; }
.prose p { color: var(--muted); }
.prose p strong { color: var(--text); }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--glow); color: var(--gold-text); margin-top: 2px; }

/* ---------- product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .product-grid { grid-template-columns: 1fr; } }
.p-card {
	position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg);
	background: var(--surface); border: 1px solid var(--line-soft); overflow: hidden;
	transition: border-color .4s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
	transform-style: preserve-3d;
}
.p-card:hover { border-color: var(--line); box-shadow: var(--shadow); }
.p-card-media {
	position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 26px;
	background: radial-gradient(60% 55% at 50% 55%, var(--glow), transparent 75%), linear-gradient(180deg, var(--surface-2), var(--surface));
}
.p-card-media::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 10%; height: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .45), transparent); filter: blur(4px); }
[data-theme="light"] .p-card-media::after { background: radial-gradient(closest-side, rgba(60, 40, 0, .22), transparent); }
.p-card-media { overflow: hidden; }
.p-card-media img { position: absolute; z-index: 1; inset: 26px; width: calc(100% - 52px); height: calc(100% - 52px); object-fit: contain; transition: transform .8s var(--ease); }
.p-card-media.photo { padding: 0; }
.p-card-media.photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-card-media.photo::after { display: none; }
.p-card:hover .p-card-media img { transform: scale(1.06) translateY(-4px); }
.p-card-body { padding: 22px 22px 24px; display: grid; gap: 8px; flex: 1; align-content: start; }
.p-card .tag { position: absolute; top: 16px; left: 16px; z-index: 2; }
.p-card h3 { font-size: 19px; letter-spacing: -.015em; }
.p-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.p-card .link-arrow { margin-top: 10px; font-size: 14px; }
.p-card-link { position: absolute; inset: 0; z-index: 3; }

.tag { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(11, 10, 8, .6); color: var(--gold-hi); border: 1px solid rgba(212, 175, 55, .35); backdrop-filter: blur(6px); }
[data-theme="light"] .tag { background: rgba(255, 255, 255, .85); color: var(--gold-lo); }
.chip { display: inline-flex; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; background: var(--card-hi); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

/* featured product (large) */
.p-feature {
	display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
	background: var(--surface); border: 1px solid var(--line); margin-bottom: 18px; position: relative;
}
.p-feature-media { position: relative; min-height: 440px; display: grid; place-items: center; padding: 40px; background: radial-gradient(55% 55% at 50% 55%, var(--glow), transparent 75%), var(--surface-2); overflow: hidden; }
.p-feature-media img { max-height: 380px; width: auto; position: relative; z-index: 1; }
.p-feature-body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; align-content: center; }
.p-feature-body .spec-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0; }
.spec-mini div { padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 14px; background: var(--bg-2); }
.spec-mini dt { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.spec-mini dd { margin: 4px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 17px; }
@media (max-width: 900px) { .p-feature { grid-template-columns: 1fr; } .p-feature-media { min-height: 320px; } }

/* ---------- numbered strengths ---------- */
.strength-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.strength { background: var(--bg); padding: 34px 30px; display: grid; gap: 12px; transition: background-color .4s var(--ease); position: relative; }
.alt .strength { background: var(--bg-2); }
.strength:hover { background: var(--surface); }
.strength .num { font-family: var(--f-display); font-size: 14px; color: var(--gold-text); letter-spacing: .1em; }
.strength h3 { font-size: 20px; }
.strength p { color: var(--muted); font-size: 15px; }
.strength::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--grad-gold); transition: width .6s var(--ease); }
.strength:hover::before { width: 100%; }

/* ---------- brand (LAXAPANA) ---------- */
.brand-band { position: relative; overflow: hidden; }
.brand-card {
	position: relative; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 30px;
	border-radius: var(--radius-lg); overflow: hidden; padding: clamp(32px, 5vw, 72px);
	background: linear-gradient(135deg, #1a1206 0%, #3a2408 55%, #6b3f07 100%); color: #f7ecd2;
	border: 1px solid rgba(212, 175, 55, .35);
}
.brand-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 85% 30%, rgba(255, 196, 0, .35), transparent 70%); pointer-events: none; }
.brand-card > * { position: relative; }
.brand-card .laxapana { width: min(420px, 90%); margin-bottom: 26px; }
.brand-card h2 { color: #fff; }
.brand-card p { color: rgba(247, 236, 210, .82); max-width: 54ch; }
.brand-card .eyebrow { color: #ffd66b; }
.brand-slogan { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 20px; color: #ffd66b; }
.mascot-wrap { justify-self: center; position: relative; }
.mascot-wrap img { width: min(260px, 60vw); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.mascot-wrap::after { content: ""; position: absolute; left: 15%; right: 15%; bottom: -6px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .5), transparent); z-index: -1; }
@media (max-width: 820px) { .brand-card { grid-template-columns: 1fr; text-align: left; } }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; gap: 0; max-width: 980px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 140px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline-fill { position: absolute; left: 140px; top: 8px; width: 1px; height: calc(100% - 16px); background: var(--grad-gold); transform-origin: top; transform: scaleY(0); }
.t-item { display: grid; grid-template-columns: 140px 1fr; gap: 0 48px; padding: 26px 0; position: relative; }
.t-year { font-family: var(--f-display); font-weight: 600; font-size: 22px; color: var(--gold-text); padding-right: 24px; text-align: right; }
.t-item::before { content: ""; position: absolute; left: 134px; top: 34px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); box-shadow: 0 0 0 6px var(--glow); }
.alt .t-item::before { background: var(--bg-2); }
.t-body h3 { font-size: 22px; margin-bottom: 6px; }
.t-body p { color: var(--muted); max-width: 60ch; }
@media (max-width: 640px) {
	.timeline::before, .timeline-fill { left: 6px; }
	.t-item { grid-template-columns: 1fr; padding-left: 36px; }
	.t-item::before { left: 0; top: 30px; }
	.t-year { text-align: left; padding: 0 0 4px; font-size: 18px; }
}

/* ---------- feature cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid, .card-grid.two, .card-grid.four { grid-template-columns: 1fr; } }
.card {
	position: relative; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line-soft);
	display: grid; gap: 14px; align-content: start; overflow: hidden;
	transition: border-color .4s var(--ease), transform .5s var(--ease);
}
.card:hover { border-color: var(--line); transform: translateY(-4px); }
.card::after { content: ""; position: absolute; right: -40%; top: -40%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent); opacity: 0; transition: opacity .6s; pointer-events: none; }
.card:hover::after { opacity: 1; }
.card .icon-box { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--glow); color: var(--gold-text); border: 1px solid var(--line); }
.card .icon-box .ico { width: 24px; height: 24px; }
.card h3 { font-size: 21px; }
.card p { color: var(--muted); font-size: 15.5px; }

/* ---------- stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 860px) { .stats-row { grid-template-columns: 1fr 1fr; } }
.stat { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); }
.stat strong { display: block; font-family: var(--f-display); font-size: clamp(34px, 4vw, 52px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* ---------- export map ---------- */
.export {
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center;
}
@media (max-width: 900px) { .export { grid-template-columns: 1fr; } }
.routes { position: relative; aspect-ratio: 1 / .82; border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(60% 60% at 50% 50%, var(--glow), transparent 70%), var(--surface); overflow: hidden; }
.routes svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.routes .grid-dots { fill: var(--line); }
.routes .route { fill: none; stroke: url(#goldline); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 4 6; }
.routes .node { fill: var(--gold); }
.routes .node-ring { fill: none; stroke: var(--gold); opacity: .5; transform-box: fill-box; transform-origin: center; animation: ping 2.6s var(--ease) infinite; }
.routes text { font-family: var(--f-display); font-size: 13px; fill: var(--text); font-weight: 600; }
.routes text.sub { font-family: var(--f-body); font-size: 11px; fill: var(--muted); font-weight: 500; }
@keyframes ping { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
.market-list { display: grid; gap: 14px; margin-top: 26px; }
.market { display: flex; gap: 16px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface); }
.market strong { font-family: var(--f-display); }
.market p { color: var(--muted); font-size: 14.5px; }
.market .ico { color: var(--gold-text); margin-top: 3px; }

/* ---------- certification marks ---------- */
.marks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 760px) { .marks { grid-template-columns: 1fr 1fr; } }
.mark { display: grid; justify-items: center; gap: 14px; text-align: center; padding: 28px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-soft); transition: border-color .4s, transform .5s var(--ease); }
.mark:hover { border-color: var(--line); transform: translateY(-4px); }
.mark img { height: 72px; width: auto; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px; }
.mark strong { font-family: var(--f-display); font-size: 16px; }
.mark span { font-size: 13px; color: var(--muted); }

/* ---------- awards ---------- */
.award-feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .award-feature { grid-template-columns: 1fr; } }
.trophy-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: #000; }
.trophy-frame img { width: 100%; height: 100%; object-fit: cover; }
.trophy-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 50% 60%, transparent 40%, rgba(0, 0, 0, .55)); }
.award-list { display: grid; }
.award-row { display: grid; grid-template-columns: 80px 1fr auto; gap: 20px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line-soft); transition: padding .4s var(--ease), background-color .3s; }
.award-row:hover { padding-left: 14px; background: linear-gradient(90deg, var(--glow), transparent 60%); }
.award-row .yr { font-family: var(--f-display); font-weight: 600; font-size: 20px; color: var(--gold-text); }
.award-row h3 { font-size: 17px; font-weight: 600; }
.award-row .res { font-size: 14px; color: var(--muted); text-align: right; }
@media (max-width: 640px) { .award-row { grid-template-columns: 60px 1fr; } .award-row .res { grid-column: 2; text-align: left; } }

/* ---------- people ---------- */
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .people-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .people-grid { grid-template-columns: repeat(2, 1fr); } }
.person { border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line-soft); transition: border-color .4s, transform .5s var(--ease); }
.person:hover { border-color: var(--line); transform: translateY(-4px); }
.person-photo { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(.25); transition: transform .8s var(--ease), filter .6s; }
.person:hover .person-photo img { transform: scale(1.05); filter: none; }
.person-body { padding: 16px 18px 20px; }
.person-body strong { display: block; font-family: var(--f-display); font-size: 16px; font-weight: 600; line-height: 1.3; }
.person-body span { font-size: 13.5px; color: var(--muted); }

.leader { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.leader-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: #0d0c0a; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
@media (max-width: 860px) { .leader { grid-template-columns: 1fr; } .leader-photo { max-width: 420px; } }

.board-list { display: grid; gap: 14px; }
.board-item { border: 1px solid var(--line-soft); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .4s; }
.board-item[open] { border-color: var(--line); }
.board-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; padding: 22px 26px; }
.board-item summary::-webkit-details-marker { display: none; }
.board-item .mono { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 600; background: var(--glow); color: var(--gold-text); border: 1px solid var(--line); font-size: 18px; }
.board-item h3 { font-size: 19px; }
.board-item .role { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; }
.board-item .cred { color: var(--muted); font-size: 14px; }
.board-item .plus { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: transform .4s var(--ease); }
.board-item[open] .plus { transform: rotate(180deg); }
.board-item .bio { padding: 0 26px 26px 102px; color: var(--muted); max-width: 90ch; }
@media (max-width: 640px) { .board-item summary { grid-template-columns: 44px 1fr auto; gap: 14px; padding: 18px; } .board-item .mono { width: 44px; height: 44px; font-size: 15px; } .board-item .bio { padding: 0 18px 20px; } }

/* ---------- product detail ---------- */
.pd-hero { position: relative; padding: 150px 0 clamp(50px, 7vw, 90px); overflow: hidden; }
.pd-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 55% at 72% 45%, var(--glow), transparent 70%); pointer-events: none; }
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; position: relative; }
@media (max-width: 900px) { .pd-grid { grid-template-columns: 1fr; } .pd-hero { padding-top: 120px; } }
.pd-hero .crumbs { color: var(--muted); margin-bottom: 20px; }
.pd-hero .crumbs a:hover { color: var(--gold-text); }
.pd-hero h1 { font-size: clamp(36px, 4.8vw, 64px); letter-spacing: -.035em; margin: 16px 0 20px; }
.pd-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.pd-visual .ring { position: absolute; width: min(460px, 90%); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); }
.pd-visual .ring.r2 { width: min(340px, 70%); border-style: dashed; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pd-visual img.main { position: relative; z-index: 1; max-height: 420px; width: auto; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .45)); }
.pd-visual img.main.photo { max-height: none; width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; }
.pd-visual .mascot { position: absolute; right: -10px; bottom: -10px; width: 130px; z-index: 2; filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .45)); }
.spec-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 1000px) { .spec-cards { grid-template-columns: 1fr 1fr; } }
.spec-card { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface); }
.spec-card dt { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.spec-card dd { margin: 6px 0 0; font-family: var(--f-display); font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.pd-thumbs { display: flex; gap: 12px; margin-top: 18px; justify-content: center; }
.pd-thumbs a { width: 76px; height: 76px; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--surface); display: grid; place-items: center; padding: 6px; transition: border-color .3s; }
.pd-thumbs a:hover { border-color: var(--gold); }
.pd-thumbs a { overflow: hidden; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
table.data th { text-align: left; font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); padding: 16px 18px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
table.data td { padding: 15px 18px; border-bottom: 1px solid var(--line-soft); font-variant-numeric: tabular-nums; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background-color .25s; }
table.data tbody tr:hover { background: var(--glow); }
table.data.small { min-width: 0; }
.table-title { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 16px; flex-wrap: wrap; }
.table-title h3 { font-size: 22px; }
.table-title span { font-size: 13px; color: var(--muted); }
.tables { display: grid; gap: 48px; }

/* ---------- application tiles ---------- */
.app-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
@media (max-width: 1000px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
.app-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; }
.app-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.app-tile:hover img { transform: scale(1.08); }
.app-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8, 7, 5, .85)); }
.app-tile span { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; font-family: var(--f-display); font-weight: 600; font-size: 16px; line-height: 1.25; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: 14px; transition: all .3s var(--ease); background: var(--card-hi); }
.filter:hover { border-color: var(--gold); color: var(--gold-text); }
.filter.is-on { background: var(--grad-gold); color: var(--on-gold); border-color: transparent; }
.masonry { columns: 3 300px; column-gap: 16px; }
.m-item { break-inside: avoid; margin-bottom: 16px; display: block; border-radius: var(--radius); overflow: hidden; position: relative; background: var(--surface); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.m-item img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.m-item:hover img { transform: scale(1.05); }
.m-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 7, 5, .7)); opacity: 0; transition: opacity .4s; }
.m-item:hover::after { opacity: 1; }
.m-item .m-cap { position: absolute; left: 16px; bottom: 12px; z-index: 1; color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.m-item:hover .m-cap { opacity: 1; transform: none; }
.m-item.is-hidden { display: none; }

/* ---------- doc cards (press/brochures/certs) ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.doc { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line-soft); transition: border-color .4s, transform .5s var(--ease); }
.doc:hover { border-color: var(--line); transform: translateY(-4px); }
.doc-media { aspect-ratio: 3 / 4; overflow: hidden; background: #fff; position: relative; display: block; }
.doc-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
.doc:hover .doc-media img { transform: scale(1.04); }
.doc-body { padding: 18px 20px 22px; display: grid; gap: 8px; flex: 1; align-content: start; }
.doc-body h3 { font-size: 17px; line-height: 1.35; }
.doc-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.doc-meta span + span::before { content: "·"; margin-right: 8px; color: var(--muted); }
.doc-actions { display: flex; gap: 16px; margin-top: 8px; font-size: 14px; }
.doc-featured { grid-column: span 2; }
@media (max-width: 620px) { .doc-featured { grid-column: auto; } }

.cert-row { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(28px, 4vw, 48px) 0; border-bottom: 1px solid var(--line-soft); }
.cert-row:last-child { border-bottom: 0; }
.cert-row:nth-child(even) > :first-child { order: 2; }
@media (max-width: 820px) { .cert-row { grid-template-columns: 1fr; } .cert-row:nth-child(even) > :first-child { order: 0; } }
.cert-doc { display: block; position: relative; max-width: 420px; margin: 0 auto; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); background: #fff; transform: rotate(-1.5deg); transition: transform .6s var(--ease); }
.cert-row:nth-child(even) .cert-doc { transform: rotate(1.5deg); }
.cert-doc:hover { transform: rotate(0) scale(1.02) !important; }
.cert-info { display: grid; gap: 16px; }
.cert-info .mark-sm { width: 76px; height: 76px; object-fit: contain; background: #fff; border-radius: 14px; padding: 8px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line-soft); background: var(--bg-2); color: var(--text);
	font: inherit; font-size: 15.5px; transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px var(--glow); }
.field input[type="file"] { padding: 12px; }
.field small { color: var(--muted); font-size: 12.5px; }
.form-status { font-size: 14.5px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #5fbf7f; }
.form-status.err { color: #e0735f; }
.hp { position: absolute; left: -9999px; }

.info-list { display: grid; gap: 14px; }
.info { display: flex; gap: 16px; padding: 20px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface); }
.info .icon-box { width: 46px; height: 46px; border-radius: 12px; flex: none; display: grid; place-items: center; background: var(--glow); color: var(--gold-text); }
.info strong { display: block; font-family: var(--f-display); }
.info a:hover { color: var(--gold-text); }
.info p, .info span { color: var(--muted); font-size: 15px; }

.locations { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .locations { grid-template-columns: 1fr; } }
.location { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-soft); background: var(--surface); }
.location iframe { width: 100%; height: 320px; border: 0; display: block; filter: grayscale(.2) contrast(1.05); }
[data-theme="dark"] .location iframe { filter: invert(.9) hue-rotate(180deg) grayscale(.35) contrast(.95); }
.location-body { padding: 24px 26px 28px; display: grid; gap: 10px; }
.location-body h3 { font-size: 22px; }
.location-body p { color: var(--muted); font-size: 15px; display: flex; gap: 10px; }
.location-body .ico { color: var(--gold-text); margin-top: 3px; width: 18px; height: 18px; }

/* ---------- vacancies ---------- */
.job { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 28px 30px; border-radius: var(--radius); border: 1px solid var(--line-soft); background: var(--surface); transition: border-color .4s, transform .5s var(--ease); }
.job:hover { border-color: var(--line); transform: translateX(6px); }
.job h3 { font-size: 22px; margin: 6px 0 8px; }
.job p { color: var(--muted); max-width: 70ch; font-size: 15px; }
@media (max-width: 700px) { .job { grid-template-columns: 1fr; } }
.jobs { display: grid; gap: 14px; }

/* ---------- CTA band ---------- */
.cta-card {
	position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 72px);
	display: grid; grid-template-columns: 1.3fr auto; gap: 30px; align-items: center;
	background: linear-gradient(135deg, #16120a, #0d0b08); border: 1px solid rgba(212, 175, 55, .35); color: #f5efe3;
}
.cta-card h2 { font-size: clamp(28px, 3.4vw, 46px); max-width: 18ch; }
.cta-card p { margin-top: 14px; color: rgba(245, 239, 227, .72); max-width: 52ch; }
.cta-card .btn-ghost { color: #f5efe3; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .05); }
.cta-card .btn-ghost:hover { color: var(--gold-hi); border-color: var(--gold-hi); }
.cta-actions { display: grid; gap: 12px; }
.cta-copy, .cta-actions { position: relative; }
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; } .cta-actions { display: flex; flex-wrap: wrap; } }
.mesh-bg {
	position: absolute; inset: -2px; opacity: .22; pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 44 44'%3E%3Cpath d='M22 0 44 22 22 44 0 22z' fill='none' stroke='%23d4af37' stroke-width='1'/%3E%3C/svg%3E");
	mask-image: radial-gradient(70% 90% at 100% 50%, #000, transparent 75%);
	-webkit-mask-image: radial-gradient(70% 90% at 100% 50%, #000, transparent 75%);
}

/* ---------- footer ---------- */
.site-footer { position: relative; padding: clamp(64px, 8vw, 110px) 0 28px; background: #080705; color: #d9d1c1; overflow: hidden; border-top: 1px solid rgba(212, 175, 55, .18); }
[data-theme="light"] .site-footer { background: #13100b; }
.footer-glow { position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(212, 175, 55, .18), transparent); pointer-events: none; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; position: relative; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }
.site-footer .brand-text small { color: #9d9483; }
.footer-brand p { margin: 20px 0 22px; color: #9d9483; max-width: 40ch; font-size: 15px; }
.footer-marks { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-marks img { height: 46px; width: auto; background: #fff; border-radius: 10px; padding: 5px; opacity: .92; }
.footer-col { display: grid; gap: 10px; align-content: start; }
.footer-col h3 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #e3c25e; font-family: var(--f-body); font-weight: 700; margin-bottom: 8px; }
.footer-col a { color: #b9b0a0; font-size: 15px; transition: color .25s, transform .3s var(--ease); width: fit-content; }
.footer-col a:hover { color: #f3dc8c; transform: translateX(3px); }
.footer-contact p { display: flex; gap: 12px; color: #b9b0a0; font-size: 14.5px; line-height: 1.55; }
.footer-contact p strong { display: block; color: #efe7d6; font-weight: 700; }
.footer-contact .ico { width: 18px; height: 18px; color: #d4af37; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .3); display: grid; place-items: center; transition: all .3s; }
.socials a:hover { background: #d4af37; color: #15110a; transform: translateY(-3px); }
.socials .ico { width: 18px; height: 18px; }
.footer-bottom { margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: #8b8373; position: relative; }
.footer-slogan { color: #cdb778; }

.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-gold); color: var(--on-gold); box-shadow: 0 14px 30px -12px var(--glow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .4s var(--ease); }
.to-top .ico { transform: rotate(-90deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- reveal defaults (JS enhances) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); }
.js [data-stagger] > * { opacity: 0; transform: translateY(30px); }
.split-line { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-line > span { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js [data-reveal], .js [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ---------- 404 ---------- */
.nf { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; }
.nf h1 { font-size: clamp(90px, 16vw, 200px); line-height: 1; }

.p-card.more { background: var(--grad-gold); color: var(--on-gold); border: 0; justify-content: flex-end; min-height: 100%; }
.p-card.more .p-card-body { align-content: end; padding: 28px; }
.p-card.more h3 { font-size: 26px; line-height: 1.15; }
.p-card.more p, .p-card.more .link-arrow { color: inherit; opacity: .85; }

/* grid children may shrink below their content width */
.split > *, .award-feature > *, .export > *, .tables > *, .contact-grid > *, .pd-grid > *, .leader > *, .cert-row > *, .brand-card > * { min-width: 0; }
.stats-row.three { grid-template-columns: repeat(3, 1fr); margin: 30px 0; }
@media (max-width: 560px) { .stats-row.three { grid-template-columns: 1fr; } .stat { padding: 22px; } }

/* ==========================================================================
   Cart & ordering
   ========================================================================== */
.no-scroll, .no-scroll body { overflow: hidden; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card-hi); transition: border-color .3s, color .3s; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold-text); }
.btn-block { width: 100%; }
.btn.is-disabled { opacity: .45; pointer-events: none; }

.cart-toggle { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--card-hi); transition: border-color .3s, transform .4s var(--ease); }
.cart-toggle:hover { border-color: var(--gold); transform: translateY(-1px); }
.cart-toggle .ico { width: 19px; height: 19px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--grad-gold); color: var(--on-gold); font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.cart-count.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* drawer */
.cart-drawer { position: fixed; inset: 0; z-index: 160; visibility: hidden; }
.cart-drawer.open { visibility: visible; }
.cart-backdrop { position: absolute; inset: 0; background: rgba(5, 4, 3, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .4s var(--ease); }
.cart-drawer.open .cart-backdrop { opacity: 1; }
.cart-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .55s var(--ease); color: var(--t-real); }
.cart-drawer.open .cart-panel { transform: none; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line-soft); }
.cart-head h2 { font-size: 22px; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.cart-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line-soft); display: grid; gap: 14px; }
.cart-note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.cart-empty { padding: 60px 0; text-align: center; display: grid; gap: 12px; justify-items: center; color: var(--muted); }

/* line items */
.line { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.line:last-child { border-bottom: 0; }
.line-thumb { width: 72px; height: 72px; border-radius: 14px; background: radial-gradient(circle at 50% 45%, var(--glow), transparent 70%), var(--surface); border: 1px solid var(--line-soft); display: grid; place-items: center; overflow: hidden; padding: 6px; }
.line-thumb img { width: 100%; height: 100%; object-fit: contain; }
.line-thumb.photo { padding: 0; }
.line-thumb.photo img { object-fit: cover; }
.line-info { display: grid; gap: 3px; min-width: 0; }
.line-name { font-family: var(--f-display); font-weight: 600; font-size: 15.5px; }
.line-name:hover { color: var(--gold-text); }
.line-variant { font-size: 13.5px; color: var(--muted); }
.line-note { font-size: 13px; color: var(--muted); font-style: italic; overflow-wrap: anywhere; }
.line-controls { display: flex; align-items: center; gap: 10px; margin-top: 8px; }
.line-unit { font-size: 13px; color: var(--muted); }
.line-remove { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: color .25s, background-color .25s; }
.line-remove:hover { color: #e0735f; background: rgba(224, 115, 95, .1); }
.line-remove .ico { width: 17px; height: 17px; }

/* quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.qty input { width: 64px; text-align: center; border: 0 !important; background: transparent !important; padding: 12px 0 !important; box-shadow: none !important; font-weight: 700; color: var(--text); font: inherit; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 42px; height: 46px; display: grid; place-items: center; color: var(--muted); transition: color .2s, background-color .2s; }
.qty-btn:hover { color: var(--gold-text); background: var(--glow); }
.qty-btn .ico { width: 16px; height: 16px; }
.qty-sm input { width: 46px; padding: 6px 0 !important; font-size: 14px; }
.qty-sm .qty-btn { width: 32px; height: 34px; }

/* card actions */
.p-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.p-card-actions .link-arrow { margin-top: 0; }
.add-btn { position: relative; z-index: 4; }
.add-btn .ico { width: 16px; height: 16px; }
.p-card .add-btn:hover .ico { transform: none; }

/* product page order panel */
.order-panel { margin-top: 30px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 16px; max-width: 560px; }
.order-row { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.order-row .btn { height: 48px; flex: 1; min-width: 180px; }
.order-panel .field select, .order-panel .field input:not([type="number"]) { padding: 13px 14px; }
.order-links { font-size: 13.5px; color: var(--muted); }
.order-links a { color: var(--gold-text); font-weight: 700; }

/* add dialog */
.add-dialog { width: min(480px, calc(100% - 32px)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 0; background: var(--bg); color: var(--t-real); box-shadow: var(--shadow); }
.add-dialog::backdrop { background: rgba(5, 4, 3, .65); backdrop-filter: blur(4px); }
.add-dialog[open] { animation: pop .45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.add-form { padding: 28px; display: grid; gap: 18px; position: relative; }
.add-close { position: absolute; top: 16px; right: 16px; }
.add-product { display: flex; gap: 16px; align-items: center; padding-right: 44px; }
.add-thumb { width: 80px; height: 80px; flex: none; border-radius: 16px; background: radial-gradient(circle at 50% 45%, var(--glow), transparent 70%), var(--surface); display: grid; place-items: center; padding: 8px; overflow: hidden; }
.add-thumb img { width: 100%; height: 100%; object-fit: contain; }
.add-thumb.photo { padding: 0; }
.add-thumb.photo img { object-fit: cover; }
.add-product h2 { font-size: 21px; margin-top: 6px; }
.add-product .eyebrow { font-size: 11px; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 170; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; display: flex; gap: 16px; align-items: center; padding: 14px 18px 14px 22px; border-radius: 999px; background: #17140f; color: #f5efe3; border: 1px solid rgba(212, 175, 55, .4); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); font-weight: 600; font-size: 14.5px; transition: all .45s var(--ease); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast-link { color: #f3dc8c; font-weight: 800; white-space: nowrap; }

/* checkout */
.checkout { padding-top: 130px; }
.checkout-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.checkout-grid[hidden] { display: none; }
@media (max-width: 960px) { .checkout-grid { grid-template-columns: 1fr; } }
.checkout-main { display: grid; gap: 20px; min-width: 0; }
.checkout-main .form-card h2 { margin-bottom: 22px; font-size: 22px; }
.checkout-summary { position: sticky; top: 96px; min-width: 0; }
.checkout-summary .form-card { display: grid; gap: 16px; }
.summary-head { display: flex; justify-content: space-between; align-items: baseline; }
.summary-head h2 { font-size: 22px; }
.summary-items { max-height: 52vh; overflow-y: auto; margin: 0 -4px; padding: 0 4px; }
.field-error { color: #e0735f; font-size: 13px; min-height: 0; }
.field-error:empty { display: none; }
.field.has-error input, .field.has-error select { border-color: #e0735f; }
.checkout-empty, .checkout-success { max-width: 640px; margin: 20px auto 40px; text-align: center; display: grid; gap: 16px; justify-items: center; padding: 50px 30px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); }
.checkout-empty[hidden], .checkout-success[hidden] { display: none; }
.checkout-empty .icon-box, .checkout-success .icon-box { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--glow); color: var(--gold-text); }
.checkout-success .icon-box.success { background: rgba(95, 191, 127, .15); color: #5fbf7f; }
.checkout-empty .icon-box .ico, .checkout-success .icon-box .ico { width: 30px; height: 30px; }

/* ---------- Lanka SSL wordmark (navy on light, white on dark) ---------- */
.brand-logo { display: inline-block; position: relative; line-height: 0; flex: none; }
.brand-logo img { height: 100%; width: auto; filter: none !important; }
.brand-logo .logo-white { display: none; }
[data-theme="dark"] .brand-logo .logo-navy, .brand-logo.on-dark .logo-navy { display: none; }
[data-theme="dark"] .brand-logo .logo-white, .brand-logo.on-dark .logo-white { display: block; }
.brand .brand-logo { height: 40px; }
.brand .brand-logo img { width: auto; height: 40px; }
.brand .brand-logo + .brand-text { padding-left: 12px; border-left: 1px solid var(--line); }
/* transparent header over a photo: always white */
body:not(.no-hero) .site-header:not(.is-scrolled) .brand-logo .logo-navy { display: none; }
body:not(.no-hero) .site-header:not(.is-scrolled) .brand-logo .logo-white { display: block; }
.site-footer .brand .brand-logo, .site-footer .brand .brand-logo img { height: 52px; }
.preloader .brand-logo { opacity: 0; transform: translateY(12px) scale(.94); }
.preloader .brand-logo img { height: 92px; width: auto; }
@media (max-width: 420px) { .brand .brand-logo + .brand-text { display: none; } }
.cart-count[hidden] { display: none; }

/* ---------- page hero with the Lanka SSL logo as a faded watermark ---------- */
.page-hero.logo-hero { color: var(--text); background: radial-gradient(60% 80% at 85% 40%, var(--glow), transparent 70%), var(--bg-2); border-bottom: 1px solid var(--line-soft); }
.page-hero.logo-hero::before { background: linear-gradient(90deg, var(--bg-2) 0%, transparent 55%); }
.page-hero.logo-hero::after { background: none; }
.logo-hero .page-title { color: var(--text); }
.logo-hero .page-lead, .logo-hero .crumbs { color: var(--muted); }
.logo-hero .crumbs a:hover { color: var(--gold-text); }
.logo-hero .eyebrow { color: var(--gold-text); }
.hero-watermark { position: absolute; z-index: -2; top: calc(50% + 42px); right: max(var(--gutter), calc((100vw - var(--container)) / 2)); transform: translateY(-50%); height: 66%; pointer-events: none; opacity: .09; }
[data-theme="light"] .hero-watermark { opacity: .08; }
.hero-watermark .brand-logo, .hero-watermark .brand-logo img { height: 100%; width: auto; }
@media (max-width: 760px) { .hero-watermark { height: 52%; right: -6%; top: 58%; opacity: .07; } }
