@font-face { font-family: "IBM Plex Sans Arabic"; src: url("assets/fonts/IBMPlexSansArabic-Regular.ttf") format("truetype"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("assets/fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype"); font-weight: 600 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/IBMPlexSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/IBMPlexSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/IBMPlexSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("assets/fonts/IBMPlexSans-Bold.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }

/* WAQAR identity V2 palette */
:root {
  --charcoal: #1F262B;
  --graphite: #151A1D;
  --graphite-2: #1A2024;
  --soft-graphite: #51585B;
  --gold: #98723B;
  --gold-dark: #76582E;
  --champagne: #C5A975;
  --ivory: #F7F4EC;
  --paper: #FBF8F1;
  --stone: #E8E2D6;
  --warm-gray: #D2CEC4;
  --mid-gray: #99978F;

  --ink: var(--charcoal);
  --muted: var(--soft-graphite);
  --line: rgba(31, 38, 43, .12);
  --line-dark: rgba(247, 244, 236, .12);
  --on-dark: rgba(247, 244, 236, .72);
  --shadow: 0 24px 70px rgba(21, 26, 29, .14);
  --chamfer: 18px;
  --shell: min(1200px, calc(100vw - 48px));
  --header: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--graphite); scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 10px 16px; background: var(--charcoal); color: var(--ivory); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 1001; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--gold), var(--champagne)); }

/* Chamfer corner lines: draws the diagonal edge that clip-path removes from a border */
.cut { position: relative; }
.cut::before, .cut::after { content: ""; position: absolute; z-index: 2; width: var(--cut, 18px); height: var(--cut, 18px); pointer-events: none; background: linear-gradient(to top right, transparent calc(50% - 1px), var(--cut-color, rgba(31,38,43,.16)) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.cut::before { top: 0; right: 0; }
.cut::after { bottom: 0; left: 0; }

/* Typography */
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 600; line-height: 1.02; letter-spacing: -.035em; }
h1 { margin-bottom: 26px; font-size: clamp(52px, 6.4vw, 92px); }
h2 { margin-bottom: 0; font-size: clamp(38px, 4.6vw, 64px); }
h1 em, h2 em { font-style: normal; color: var(--gold); }
.dark-section h1 em, .dark-section h2 em, .hero h1 em { color: var(--champagne); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; color: var(--gold-dark); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 36px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--champagne); }
.eyebrow b { font: inherit; }

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 24px; border: 1px solid var(--gold); background: var(--gold); color: #fff; font-size: 14px; font-weight: 600; letter-spacing: .01em; cursor: pointer; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease); }
.button:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); }
.button span { transition: transform .25s var(--ease); }
.button:hover span { transform: translate(2px, -1px); }
.button-small { min-height: 44px; padding-inline: 18px; font-size: 13px; background: var(--charcoal); border-color: var(--charcoal); }
.button-small:hover { background: var(--gold); border-color: var(--gold); }
.button-ghost { background: rgba(247, 244, 236, .06); border-color: rgba(247, 244, 236, .45); }
.button-ghost:hover { background: var(--ivory); border-color: var(--ivory); color: var(--charcoal); }
.button-outline, .button-ghost { position: relative; --cut: 12px; }
.button-outline::before, .button-outline::after, .button-ghost::before, .button-ghost::after { content: ""; position: absolute; width: 12px; height: 12px; pointer-events: none; background: linear-gradient(to top right, transparent calc(50% - .75px), currentColor calc(50% - .75px) calc(50% + .75px), transparent calc(50% + .75px)); opacity: .45; }
.button-outline::before, .button-ghost::before { top: -1px; right: -1px; }
.button-outline::after, .button-ghost::after { bottom: -1px; left: -1px; }
.button-outline { background: transparent; border-color: rgba(31, 38, 43, .25); color: var(--charcoal); }
.button-outline:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.text-link { display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: var(--gold-dark); font-size: 13px; font-weight: 700; letter-spacing: .02em; cursor: pointer; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(4px); }
.text-link.inline { margin-top: 6px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(251, 248, 241, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid transparent; transition: box-shadow .3s ease, border-color .3s ease, background .3s ease; }
.site-header.scrolled { background: rgba(251, 248, 241, .97); border-color: var(--line); box-shadow: 0 10px 30px rgba(21, 26, 29, .07); }
.nav-shell { height: var(--header); display: flex; align-items: center; gap: 32px; }
.brand { flex: none; display: block; width: 176px; }
.brand img { width: 100%; }
.site-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.site-nav a { position: relative; padding: 6px 0; color: var(--ink); font-size: 14px; font-weight: 500; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .3s var(--ease); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }
.site-nav .nav-cta-mobile { display: none; }
.nav-cta { flex: none; }
.nav-toggle { display: none; flex: none; width: 44px; height: 44px; margin-left: auto; padding: 11px 10px; border: 0; background: none; cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); transition: transform .3s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Shared dark field: graphite + grid + W watermark */
.dark-section { position: relative; overflow: hidden; background: var(--graphite); color: var(--ivory); }
.dark-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(247,244,236,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(247,244,236,.035) 1px, transparent 1px); background-size: 64px 64px; }
.dark-section::after { content: ""; position: absolute; right: -4%; bottom: 60px; width: 520px; height: 350px; pointer-events: none; opacity: .05; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 109 72'%3E%3Cpath fill='%23C5A975' d='M0 0 L18 0 L40 43 L61 12 L72 25 L40 72 Z M31 0 L49 0 L69 43 L91 0 L109 0 L69 72 Z'/%3E%3C/svg%3E") no-repeat center / contain; }
.dark-section > * { position: relative; z-index: 1; }

/* Hero */
.hero { position: relative; min-height: 760px; height: 100svh; max-height: 980px; display: flex; flex-direction: column; overflow: hidden; background: var(--graphite); color: var(--ivory); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,26,29,.97) 0%, rgba(21,26,29,.86) 34%, rgba(21,26,29,.25) 68%, rgba(21,26,29,.12) 100%), linear-gradient(0deg, rgba(21,26,29,.9), transparent 42%); }
.hero-grid { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(247,244,236,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(247,244,236,.05) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); }
.hero-circuit { position: absolute; left: 0; bottom: 112px; width: min(500px, 50vw); fill: var(--champagne); stroke: none; opacity: .55; }
.hero-circuit path { fill: none; stroke: rgba(197,169,117,.45); stroke-width: 1; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.6s .4s var(--ease) forwards; }
.hero-circuit circle { filter: drop-shadow(0 0 6px var(--champagne)); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: var(--header); }
.hero-copy { width: min(660px, 60%); }
.hero-lead { max-width: 560px; margin-bottom: 36px; color: var(--on-dark); font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.system-tags { position: absolute; inset: 0; pointer-events: none; }
.system-tag { position: absolute; display: flex; align-items: center; gap: 12px; min-width: 196px; padding: 12px 16px; border: 1px solid rgba(197,169,117,.35); background: rgba(21,26,29,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 34px rgba(0,0,0,.28); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); animation: float 6s ease-in-out infinite; }
.system-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 4px rgba(197,169,117,.18), 0 0 14px var(--champagne); }
.system-tag small { display: block; color: var(--champagne); font-size: 10px; letter-spacing: .14em; }
.system-tag strong { display: block; font-size: 13px; font-weight: 600; }
.tag-one { top: 30%; right: 17%; }.tag-two { top: 46%; right: 3%; animation-delay: -2s; }.tag-three { top: 63%; right: 22%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-8px); } }
.hero-facts { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-bottom: 34px; border-top: 1px solid var(--line-dark); }
.hero-facts div { display: flex; align-items: center; gap: 14px; padding: 22px 48px 0 0; margin-right: 48px; border-right: 1px solid var(--line-dark); }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { color: var(--champagne); font-size: 34px; font-weight: 600; line-height: 1; letter-spacing: -.02em; }
.hero-facts span { color: rgba(247,244,236,.62); font-size: 12px; line-height: 1.35; letter-spacing: .06em; text-transform: uppercase; }

/* Brand strip */
.brands { background: var(--charcoal); color: var(--ivory); border-bottom: 1px solid rgba(197,169,117,.2); }
.brands-inner { display: flex; align-items: center; gap: 40px; min-height: 86px; }
.brands p { flex: none; margin: 0; color: var(--champagne); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.brands ul { flex: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; margin: 0; padding: 0; list-style: none; }
.brands li { color: rgba(247,244,236,.7); font-size: 19px; font-weight: 600; letter-spacing: .04em; transition: color .25s ease; }
.brands li:hover { color: var(--ivory); }

/* Sections */
.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 80px; margin-bottom: 56px; }
.section-heading p { max-width: 440px; margin-bottom: 4px; color: var(--muted); font-size: 17px; }
.dark-section .section-heading p { color: var(--on-dark); }

/* Solutions */
.solutions-section { position: relative; overflow: hidden; background: var(--paper); }
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.solution-card { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 34px 32px 30px; overflow: hidden; background: var(--paper); transition: background .35s ease, color .35s ease; }
.solution-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.solution-card:hover::before { transform: scaleX(1); }
.solution-card:hover { background: #fff; }
.solution-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.solution-number { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.icon-box { display: grid; place-items: center; width: 60px; height: 60px; border: 1px solid rgba(152,114,59,.35); color: var(--charcoal); transition: background .35s ease, color .35s ease; }
.solution-card:hover .icon-box { background: var(--charcoal); color: var(--champagne); }
.icon-box svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.solution-card h3 { margin-bottom: 12px; font-size: 22px; font-weight: 600; letter-spacing: -.015em; }
.solution-card p { margin-bottom: 26px; color: var(--muted); font-size: 15px; }
.solution-card .text-link { margin-top: auto; }
.solution-card .text-link::after { content: ""; position: absolute; inset: 0; }
.solution-card.featured { background: var(--charcoal); color: var(--ivory); }
.solution-card.featured p { color: var(--on-dark); }
.solution-card.featured .icon-box { border-color: rgba(197,169,117,.45); color: var(--champagne); }
.solution-card.featured .text-link, .solution-card.featured .solution-number { color: var(--champagne); }
.solution-card.featured:hover { background: var(--graphite); }

/* Approach */
.approach-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.approach-copy > p:not(.eyebrow) { max-width: 520px; margin-top: 26px; color: var(--on-dark); font-size: 17px; }
.approach-steps { margin: 34px 0 38px; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.approach-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
.approach-steps span { color: var(--champagne); font-size: 13px; font-weight: 700; letter-spacing: .08em; line-height: 1.7; }
.approach-steps strong { display: block; font-weight: 600; }
.approach-steps p { margin: 0; color: rgba(247,244,236,.62); font-size: 14px; }
.approach-visual { position: relative; padding: 0 0 22px 22px; }
.approach-visual::before { content: ""; position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; border-left: 1px solid rgba(197,169,117,.45); border-bottom: 1px solid rgba(197,169,117,.45); }
.approach-visual img { width: 100%; min-height: 560px; object-fit: cover; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.visual-caption { position: absolute; left: -10px; bottom: 54px; display: flex; align-items: center; gap: 14px; padding: 16px 22px; border: 1px solid rgba(197,169,117,.35); background: rgba(21,26,29,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.visual-caption small { display: block; color: var(--champagne); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.visual-caption strong { display: block; font-size: 14px; font-weight: 600; }
.pulse { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 0 rgba(197,169,117,.5); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(197,169,117,0); } 100% { box-shadow: 0 0 0 0 rgba(197,169,117,0); } }

/* Portfolio categories */
.portfolio-section { background: var(--stone); }
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.category-tile { position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 22px; overflow: hidden; background: #fff; border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer))); transition: transform .35s var(--ease), box-shadow .35s ease; }
.category-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.category-media { flex: 1; display: grid; place-items: center; min-height: 150px; margin: 6px 0 18px; }
.category-media img { width: 100%; max-height: 160px; object-fit: contain; transition: transform .5s var(--ease); }
.category-tile:hover .category-media img { transform: scale(1.06); }
.category-count { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.category-tile strong { margin-top: auto; padding-right: 22px; font-size: 18px; font-weight: 600; line-height: 1.2; }
.category-tile small { margin-top: 6px; padding-right: 22px; color: var(--muted); font-size: 13px; line-height: 1.4; }
.tile-arrow { position: absolute; right: 22px; bottom: 20px; color: var(--gold); font-size: 16px; font-style: normal; transition: transform .3s var(--ease); }
.category-tile:hover .tile-arrow { transform: translateX(4px); }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.about-mark { position: relative; display: grid; place-items: center; min-height: 500px; }
.logo-plate { position: relative; z-index: 2; display: grid; place-items: center; width: min(360px, 82%); aspect-ratio: 1; padding: 54px; background: var(--ivory); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); box-shadow: 0 40px 80px rgba(0,0,0,.35); }
.logo-plate::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(152,114,59,.35); clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px)); }
.logo-plate img { position: relative; width: 100%; }
.about-circuit { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--champagne); }
.about-circuit path { fill: none; stroke: rgba(197,169,117,.4); stroke-width: 1; }
.about-circuit circle { filter: drop-shadow(0 0 6px var(--champagne)); }
.about-copy > p:not(.eyebrow) { max-width: 600px; margin-top: 26px; color: var(--on-dark); font-size: 18px; }
.principles { margin-top: 36px; }
.principles article { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.principles span { color: var(--champagne); font-weight: 700; letter-spacing: .08em; }
.principles h3 { margin-bottom: 4px; font-size: 19px; font-weight: 600; }
.principles p { margin: 0; color: rgba(247,244,236,.62); }

/* Contact */
.contact-section { padding: 120px 0; background: linear-gradient(180deg, var(--graphite) 0%, var(--charcoal) 55%); }
.about-section { padding-bottom: 60px; }
.about-section::after { display: none; }
.contact-section::before { mask-image: linear-gradient(180deg, transparent, #000 30%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.contact-copy > p:not(.eyebrow) { max-width: 460px; margin-top: 26px; color: var(--on-dark); font-size: 17px; }
.contact-details { display: grid; gap: 2px; margin: 34px 0 0; padding: 0; list-style: none; }
.contact-details:empty { display: none; }
.contact-details li { border-top: 1px solid var(--line-dark); }
.contact-details li:last-child { border-bottom: 1px solid var(--line-dark); }
.contact-details a, .contact-details div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 16px 0; }
.contact-details small { color: var(--champagne); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 2; }
.contact-details a:hover strong { color: var(--champagne); }
.contact-details strong { font-weight: 500; }
.contact-form { --cut: 28px; --cut-color: rgba(197,169,117,.3); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 38px; border: 1px solid rgba(197,169,117,.22); background: rgba(247,244,236,.04); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px)); }
.field label { display: block; margin-bottom: 6px; color: var(--champagne); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.field label b { color: var(--champagne); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid rgba(247,244,236,.25); border-radius: 0; outline: 0; background: transparent; color: var(--ivory); transition: border-color .25s ease; }
.field select { cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--champagne); }
.field input[aria-invalid="true"] { border-color: #e08b6d; }
.field option { color: var(--ink); background: var(--paper); }
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(247,244,236,.38); }
.full { grid-column: 1 / -1; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-message { flex: 1; margin: 0; color: var(--champagne); font-size: 14px; }
.form-message.error { color: #f0a58a; }

/* Footer */
.site-footer { padding: 70px 0 0; background: var(--paper); border-top: 3px solid var(--gold); }
.footer-main { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; padding-bottom: 50px; }
.footer-brand img { width: 190px; margin-bottom: 18px; }
.footer-brand p { max-width: 300px; margin: 0; color: var(--muted); font-size: 14px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h2 { margin-bottom: 6px; color: var(--gold-dark); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.footer-col a { color: var(--ink); font-size: 14px; transition: color .2s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; background: var(--graphite); box-shadow: 0 0 0 100vmax var(--graphite); clip-path: inset(0 -100vmax); color: rgba(247,244,236,.6); font-size: 12px; letter-spacing: .04em; }
.footer-bottom span:last-child { color: var(--champagne); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

/* Dialogs */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(21,26,29,.78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
dialog[open] { animation: dialog-in .35s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(18px); } }
.dialog-close { position: absolute; top: 14px; right: 16px; z-index: 3; width: 42px; height: 42px; border: 0; background: transparent; font-size: 30px; line-height: 1; cursor: pointer; }
.dialog-close:hover { color: var(--gold); }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.solution-dialog { width: min(600px, calc(100% - 32px)); padding: 46px 44px 40px; background: var(--paper); border-top: 3px solid var(--gold); box-shadow: 0 40px 120px rgba(0,0,0,.35); }
.solution-dialog h2 { margin: 0 0 16px; font-size: 40px; }
.solution-dialog > p:not(.eyebrow) { color: var(--muted); }
.solution-dialog h3 { margin: 26px 0 12px; color: var(--gold-dark); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.solution-dialog ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.solution-dialog li, .detail-list li { position: relative; padding-left: 22px; font-size: 15px; }
.solution-dialog li::before, .detail-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }

/* Products page */
.products-hero { padding: calc(var(--header) + 80px) 0 80px; }
.products-hero-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; }
.products-hero-copy h1 { font-size: clamp(44px, 5vw, 72px); }
.products-hero-copy > p:not(.eyebrow) { max-width: 580px; margin: 0; color: var(--on-dark); font-size: 18px; }
.hero-category-list { display: grid; border-top: 1px solid var(--line-dark); }
.hero-category-list a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line-dark); transition: background .25s ease, padding .25s var(--ease); }
.hero-category-list a::after { content: "→"; color: var(--champagne); transition: transform .25s var(--ease); }
.hero-category-list a:hover { padding-left: 12px; background: rgba(247,244,236,.04); }
.hero-category-list a:hover::after { transform: translateX(4px); }
.hero-category-list strong { color: var(--champagne); font-size: 22px; font-weight: 600; }
.hero-category-list span { font-size: 15px; font-weight: 500; }

.product-catalogue { padding: 0 0 110px; background: var(--stone); }
.catalogue-bar { position: sticky; top: var(--header); z-index: 20; margin-bottom: 26px; background: rgba(232,226,214,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.catalogue-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; padding: 14px 0; }
.catalogue-filters, .series-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.series-filters { margin-bottom: 20px; }
.filter-button { padding: 9px 13px; border: 1px solid rgba(31,38,43,.18); background: rgba(251,248,241,.6); color: var(--ink); font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.filter-button:hover { border-color: var(--charcoal); }
.filter-button.active { border-color: var(--charcoal); background: var(--charcoal); color: var(--ivory); }
.filter-button span { margin-left: 6px; color: var(--gold); font-size: 11px; }
.filter-button.active span { color: var(--champagne); }
.series-filters .filter-button { padding: 6px 12px; font-size: 12px; background: transparent; }
.series-filters .filter-button.active { background: var(--gold); border-color: var(--gold); color: #fff; }
.series-filters .filter-button.active span { color: rgba(255,255,255,.75); }
.product-search { display: flex; align-items: center; flex: 0 1 280px; min-width: 220px; padding: 0 14px; border: 1px solid rgba(31,38,43,.2); background: var(--paper); }
.product-search:focus-within { border-color: var(--gold); }
.product-search svg { flex: none; width: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; }
.product-search input { width: 100%; padding: 12px 10px; border: 0; outline: 0; background: transparent; }
.catalogue-status { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.catalogue-status i { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(152,114,59,.5), transparent); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer))); transition: transform .35s var(--ease), box-shadow .35s ease; animation: card-in .5s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card-media { position: relative; display: grid; place-items: center; aspect-ratio: 1.15 / 1; padding: 24px; background: #fff; }
.product-card-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 18px; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-meta span:first-child { color: var(--gold-dark); }
.product-meta span:last-child { overflow: hidden; color: var(--muted); text-align: right; text-overflow: ellipsis; white-space: nowrap; }
.product-card h3 { margin-bottom: 10px; font-size: 18px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.product-card p { display: -webkit-box; overflow: hidden; margin-bottom: 20px; color: var(--muted); font-size: 13.5px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.product-card-link { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: auto; padding: 14px 0 0; border-top: 1px solid var(--line); color: var(--charcoal); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.product-card-link span:last-child { color: var(--gold); transition: transform .25s var(--ease); }
.product-card:hover .product-card-link span:last-child { transform: translateX(4px); }
.catalogue-more { display: flex; justify-content: center; margin-top: 40px; }
.catalogue-empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.catalogue-error { padding: 20px; border: 1px solid rgba(152,114,59,.3); text-align: center; }
.products-cta { padding: 100px 0; }
.products-cta-layout { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; }
.products-cta p:not(.eyebrow) { color: var(--on-dark); font-size: 17px; }

.product-dialog { width: min(1080px, calc(100% - 32px)); max-height: calc(100dvh - 40px); background: var(--paper); box-shadow: 0 40px 120px rgba(0,0,0,.4); overflow: hidden; }
.product-dialog-layout { display: grid; grid-template-columns: .85fr 1.15fr; grid-template-rows: minmax(0, 1fr); height: min(780px, calc(100dvh - 40px)); }
.product-dialog-media { position: relative; display: grid; place-items: center; padding: 48px; background: #fff; border-right: 1px solid var(--line); }
.product-dialog-media::after { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; background-image: linear-gradient(rgba(152,114,59,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(152,114,59,.06) 1px, transparent 1px); background-size: 40px 40px; }
.product-dialog-media img { position: relative; z-index: 1; width: 100%; max-height: 440px; object-fit: contain; }
.product-dialog-copy { padding: 52px 48px 40px; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.product-dialog-brand { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-dialog-copy h2 { margin-bottom: 20px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.06; }
.product-dialog-copy .lead { color: var(--muted); font-size: 15px; }
.detail-block { margin-top: 28px; }
.detail-block h3 { margin-bottom: 12px; color: var(--gold-dark); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.spec-table { margin: 0; border-top: 1px solid var(--line); }
.spec-table div { display: grid; grid-template-columns: minmax(130px, .8fr) 1.2fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 500; }
.detail-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.detail-list li { font-size: 14px; }
.detail-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.detail-steps li { position: relative; padding-left: 36px; font-size: 14px; counter-increment: step; }
.detail-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.detail-note { padding: 12px 16px; border-left: 3px solid var(--gold); background: var(--ivory); font-size: 14px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip-list li { padding: 6px 12px; border: 1px solid var(--line); background: #fff; font-size: 13px; }

/* ---------- Multi-page layout ---------- */
.page-hero { padding: calc(var(--header) + 48px) 0 76px; }
.page-hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; align-items: end; gap: 30px 70px; }
.page-hero-inner > .breadcrumb { grid-column: 1 / -1; }
.page-hero h1 { margin-bottom: 22px; font-size: clamp(42px, 5vw, 70px); }
.page-lead { max-width: 600px; margin: 0; color: var(--on-dark); font-size: 18px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; color: rgba(247,244,236,.55); font-size: 13px; }
.breadcrumb a:hover { color: var(--champagne); }
.breadcrumb [aria-current] { color: var(--champagne); }
.breadcrumb.light { color: var(--muted); }
.breadcrumb.light [aria-current] { color: var(--gold-dark); }
.breadcrumb.light a:hover { color: var(--gold); }
.jump-links { display: grid; border-top: 1px solid var(--line-dark); }
.jump-links a { display: grid; grid-template-columns: 44px 1fr; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; font-weight: 500; transition: color .2s ease, padding .25s var(--ease); }
.jump-links a span { color: var(--champagne); font-size: 12px; font-weight: 700; line-height: 1.9; }
.jump-links a:hover { padding-left: 8px; color: var(--champagne); }
.section-heading.compact { margin-bottom: 34px; }

.image-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.image-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer))); transition: transform .35s var(--ease), box-shadow .35s ease; }
.image-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.image-card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--graphite); }
.image-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.image-card:hover .image-card-media img { transform: scale(1.05); }
.image-card-media span { position: absolute; left: 18px; top: 16px; padding: 4px 10px; background: rgba(21,26,29,.75); color: var(--champagne); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.image-card-body { display: flex; flex: 1; flex-direction: column; padding: 24px 24px 22px; }
.image-card-body h3 { margin-bottom: 8px; font-size: 20px; font-weight: 600; }
.image-card-body p { margin-bottom: 18px; color: var(--muted); font-size: 14.5px; }
.image-card-body .text-link { margin-top: auto; }

.industry-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.industry-tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--graphite); clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer))); }
.industry-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.industry-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21,26,29,.88), transparent 55%); }
.industry-tile strong { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 18px; color: var(--ivory); font-size: 17px; font-weight: 600; }
.industry-tile:hover img { transform: scale(1.06); }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.process-steps li { padding: 28px 26px 6px 0; margin-right: 26px; border-right: 1px solid var(--line-dark); }
.process-steps li:last-child { border-right: 0; margin-right: 0; }
.process-steps span { display: block; margin-bottom: 18px; color: var(--champagne); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.process-steps strong { display: block; margin-bottom: 6px; font-size: 21px; font-weight: 600; }
.process-steps p { margin: 0; color: rgba(247,244,236,.62); font-size: 14.5px; }

.cta-band { padding: 96px 0; background: var(--charcoal); }
.cta-band-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: end; }
.cta-band p:not(.eyebrow) { color: var(--on-dark); font-size: 17px; }
.cta-actions, .row-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.process-section + .cta-band { border-top: 1px solid var(--line-dark); }

.solutions-list .shell { display: grid; gap: 90px; }
.solution-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; scroll-margin-top: calc(var(--header) + 30px); }
.solution-row:nth-child(even) .solution-row-media { order: 2; }
.solution-row-media { overflow: hidden; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.solution-row-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.solution-row-copy h2 { margin: 10px 0 18px; font-size: clamp(32px, 3.4vw, 46px); }
.solution-row-copy > p { color: var(--muted); font-size: 16.5px; }
.solution-row-copy h3 { margin: 26px 0 12px; color: var(--gold-dark); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }

.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); scroll-margin-top: calc(var(--header) + 30px); }
.industry-card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--graphite); }
.industry-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.industry-card:hover .industry-card-media img { transform: scale(1.05); }
.industry-card-body { padding: 22px 22px 24px; }
.industry-card-body h2 { margin-bottom: 8px; font-size: 20px; letter-spacing: -.01em; line-height: 1.2; }
.industry-card-body p { color: var(--muted); font-size: 14px; }
.industry-card .chip-list li { padding: 4px 10px; font-size: 12px; background: var(--ivory); }

.about-intro { background: var(--paper); }
.about-intro .about-copy > p:not(.eyebrow) { color: var(--muted); }
.about-intro .principles article { border-color: var(--line); }
.about-intro .principles span { color: var(--gold); }
.about-intro .principles p { color: var(--muted); }
.about-intro .about-mark { min-height: 440px; background: var(--graphite); clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: grid; gap: 2px; padding: 20px 22px; border: 1px solid rgba(197,169,117,.22); background: rgba(247,244,236,.04); transition: background .25s ease, border-color .25s ease; }
.contact-card:hover { background: rgba(197,169,117,.1); border-color: rgba(197,169,117,.5); }
.contact-card small { color: var(--champagne); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.contact-card strong { font-size: 19px; font-weight: 600; }
.contact-card span { color: rgba(247,244,236,.55); font-size: 13px; }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field legend { margin-bottom: 12px; padding: 0; color: var(--champagne); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 9px 14px; border: 1px solid rgba(247,244,236,.22); color: rgba(247,244,236,.82); font-size: 13px; font-weight: 500; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.choice:hover span { border-color: var(--champagne); }
.choice input:checked + span { border-color: var(--gold); background: var(--gold); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--champagne); outline-offset: 2px; }
.form-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

.product-page { padding: calc(var(--header) + 34px) 0 80px; background: var(--paper); }
.product-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: 60px; align-items: start; }
.product-gallery { position: sticky; top: calc(var(--header) + 24px); display: grid; place-items: center; padding: 40px; background: #fff; border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px)); }
.product-gallery img { width: 100%; max-height: 520px; object-fit: contain; }
.gallery-thumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin-top: 22px; }
.gallery-thumbs button { width: 68px; height: 68px; padding: 5px; border: 1px solid var(--line); background: #fff; cursor: pointer; transition: border-color .2s; }
.gallery-thumbs button:hover, .gallery-thumbs button.active { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.product-gallery .gallery-thumbs img { width: 100%; height: 100%; max-height: none; object-fit: contain; }
.product-info h1 { margin-bottom: 20px; font-size: clamp(34px, 3.6vw, 50px); }
.product-info .lead { color: var(--muted); font-size: 16px; }
.product-details { margin-top: 18px; }
.product-details .detail-block h2 { margin-bottom: 12px; color: var(--gold-dark); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.related-section { background: var(--stone); }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.footer-main { grid-template-columns: 1.3fr repeat(4, 1fr); }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1180px) {
  .site-nav { gap: 22px; }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --shell: min(940px, calc(100vw - 40px)); }
  .nav-cta { }
  .site-nav .nav-cta-mobile { display: inline; }
  .system-tags { display: none; }
  .hero-copy { width: 78%; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { gap: 40px; }
  .approach-layout, .about-grid, .contact-grid { gap: 50px; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .catalogue-tools { flex-direction: column; align-items: stretch; gap: 12px; }
  .product-search { flex-basis: auto; width: 100%; }
  .products-hero-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  :root { --header: 70px; --shell: calc(100vw - 32px); }
  .brand { width: 148px; }
  .nav-toggle { display: block; margin-left: 8px; }
  .lang-switch { margin-left: auto; height: 38px; }
  .page-hero.has-media { min-height: 0; }
  .page-hero > .page-hero-shade { background: linear-gradient(90deg, rgba(12,20,32,.93), rgba(14,27,44,.8)), linear-gradient(0deg, rgba(12,18,26,.85), transparent 55%); }
  .site-nav { position: fixed; top: var(--header); left: 0; right: 0; height: calc(100dvh - var(--header)); flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 24px 24px 40px; overflow-y: auto; background: var(--paper); transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  .site-nav.open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
  .site-nav a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 600; }
  .site-nav a::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--gold); }
  .site-nav .nav-cta-mobile { display: block; color: var(--gold-dark); }

  .section, .contact-section { padding: 84px 0; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; margin-bottom: 38px; }
  h2 { font-size: clamp(34px, 9vw, 46px); }

  .hero { min-height: 700px; height: auto; max-height: none; }
  .hero-inner { padding: calc(var(--header) + 70px) 0 40px; }
  .hero-media { object-position: 66% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(21,26,29,.95), rgba(21,26,29,.7)), linear-gradient(0deg, rgba(21,26,29,.9), transparent 50%); }
  .hero-copy { width: 100%; }
  .hero-copy h1 { font-size: clamp(42px, 12vw, 58px); }
  .hero-lead { font-size: 17px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-circuit { display: none; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); margin-bottom: 26px; }
  .hero-facts div { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 10px 0 0; margin-right: 10px; }
  .hero-facts strong { font-size: 26px; }
  .hero-facts span { font-size: 10px; }

  .brands-inner { flex-direction: column; align-items: flex-start; gap: 14px; padding: 24px 0; }
  .brands ul { justify-content: flex-start; gap: 10px 24px; }
  .brands li { font-size: 16px; }

  .solution-grid { grid-template-columns: 1fr; }
  .solution-card { min-height: 0; padding: 28px 24px 26px; }
  .solution-top { margin-bottom: 26px; }

  .approach-layout { display: flex; flex-direction: column; }
  .approach-visual { order: -1; padding: 0 0 14px 14px; }
  .approach-visual img { min-height: 340px; }
  .visual-caption { left: 26px; right: 12px; bottom: 32px; }

  .category-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .category-tile { min-height: 250px; padding: 18px; }
  .category-media { min-height: 110px; }
  .category-tile strong { font-size: 16px; }
  .category-tile small { display: none; }

  .industry-panorama, .industry-panorama > img { min-height: 560px; height: 560px; }
  .industry-cards { left: 14px; right: 14px; bottom: 14px; grid-template-columns: 1fr; gap: 8px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-mark { min-height: 340px; }
  .logo-plate { width: min(260px, 70%); padding: 38px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; padding: 26px 22px; }
  .form-foot { flex-direction: column-reverse; align-items: stretch; }
  .form-foot .button { width: 100%; }

  .footer-main { grid-template-columns: 1fr 1fr; gap: 34px; }
  .footer-col:last-child { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
  .footer-col:last-child h2 { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .products-hero { padding: calc(var(--header) + 56px) 0 56px; }
  .products-hero-copy h1 { font-size: clamp(40px, 11vw, 54px); }
  .catalogue-bar { position: static; }
  .catalogue-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .catalogue-filters::-webkit-scrollbar { display: none; }
  .filter-button { flex: none; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-card-media { padding: 16px; }
  .product-card-body { padding: 14px 14px 14px; }
  .product-meta { flex-direction: column; gap: 2px; font-size: 9px; }
  .product-meta span:last-child { text-align: left; }
  .product-card h3 { font-size: 15px; }
  .product-card p { display: none; }
  .products-cta { padding: 80px 0; }
  .products-cta-layout { grid-template-columns: 1fr; gap: 26px; }

  .solution-dialog { padding: 40px 24px 28px; }
  .solution-dialog h2 { font-size: 32px; }
  .product-dialog { width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; margin: 0; }
  .product-dialog-layout { display: block; max-height: none; height: 100%; overflow-y: auto; }
  .product-dialog-media { padding: 40px 30px 30px; border-right: 0; border-bottom: 1px solid var(--line); }
  .product-dialog-media img { max-height: 240px; }
  .product-dialog-copy { padding: 30px 22px 34px; overflow: visible; }
  .spec-table div { grid-template-columns: 1fr; gap: 2px; }
  .dialog-actions .button { flex: 1; }
}

@media (max-width: 1180px) {
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .image-card-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-strip { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps li:nth-child(2) { border-right: 0; margin-right: 0; }
  .page-hero-inner, .cta-band-inner, .contact-layout { grid-template-columns: 1fr; }
  .solution-row { gap: 40px; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 860px) {
  .page-hero { padding: calc(var(--header) + 30px) 0 56px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 50px); }
  .page-lead { font-size: 16px; }
  .image-card-grid { grid-template-columns: 1fr; }
  .industry-tile { aspect-ratio: 4 / 5; }
  .industry-tile strong { left: 14px; bottom: 12px; font-size: 15px; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li { padding: 20px 0; margin: 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .cta-band { padding: 70px 0; }
  .solutions-list .shell { gap: 60px; }
  .solution-row { grid-template-columns: 1fr; gap: 26px; }
  .solution-row:nth-child(even) .solution-row-media { order: 0; }
  .industry-grid { grid-template-columns: 1fr; }
  .product-layout { grid-template-columns: 1fr; gap: 30px; }
  .product-gallery { position: static; padding: 24px; }
  .product-gallery img { max-height: 320px; }
  .form-buttons { flex-direction: column; }
  .form-buttons .button { width: 100%; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-col:last-child { grid-column: auto; flex-direction: column; flex-wrap: nowrap; }
  .footer-col:last-child h2 { width: auto; }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-facts span br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-circuit path { stroke-dashoffset: 0; }
}

/* Page hero with background photo + blue tint */
.page-hero.has-media { min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero > .page-hero-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero > .page-hero-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(12,20,32,.95) 0%, rgba(14,27,44,.84) 42%, rgba(18,38,62,.5) 100%), linear-gradient(0deg, rgba(12,18,26,.85), transparent 55%); }
.page-hero.has-media::after { display: none; }
.page-hero.has-media .jump-links, .page-hero.has-media .hero-category-list { background: rgba(12,20,32,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 4px 18px; }

/* Language switch */
.lang-switch { flex: none; display: grid; place-items: center; min-width: 44px; height: 40px; padding: 0 12px; border: 1px solid rgba(31,38,43,.2); font-size: 14px; font-weight: 700; transition: border-color .2s ease, color .2s ease; }
.lang-switch:hover { border-color: var(--gold); color: var(--gold-dark); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif; }
.lang-switch[lang="en"] { font-family: "IBM Plex Sans", Arial, sans-serif; }

/* Contact icons */
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact svg, .contact-card svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-contact svg.fill, .contact-card svg.fill { fill: var(--gold); stroke: none; }
.footer-contact a:hover svg { stroke: var(--gold-dark); }
.contact-card { position: relative; padding-inline-start: 58px; }
.contact-card svg { position: absolute; inset-inline-start: 22px; top: 22px; width: 22px; height: 22px; stroke: var(--champagne); }
.contact-card svg.fill { fill: var(--champagne); }

/* Portfolio placeholder */
.portfolio-empty { display: grid; justify-items: center; max-width: 640px; margin: 0 auto; padding: 30px 0 10px; text-align: center; }
.portfolio-empty h2 { margin: 30px 0 14px; font-size: clamp(30px, 3.4vw, 44px); }
.portfolio-empty p { color: var(--muted); font-size: 17px; }
.portfolio-empty .row-actions { justify-content: center; }
.logo-plate.small { width: 190px; padding: 30px; box-shadow: var(--shadow); }
.spec-note { margin: -6px 0 18px; padding: 8px 12px; border-inline-start: 3px solid var(--gold); background: var(--ivory); color: var(--muted); font-size: 13px; }

/* Fine-tuning */
.field .choice { display: inline-block; margin: 0; color: inherit; font-size: inherit; font-weight: inherit; letter-spacing: normal; text-transform: none; }
.contact-page { padding-top: 0; }
.section-heading.compact h2 { font-size: clamp(30px, 3.2vw, 42px); }

/* ---------- Arabic / RTL ---------- */
[dir="rtl"] body { font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, sans-serif; }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] [lang="en"] h1, [dir="rtl"] h1[lang="en"], [dir="rtl"] h2 [lang="en"] { line-height: 1.08; }
[dir="rtl"] .eyebrow, [dir="rtl"] .field label, [dir="rtl"] fieldset.field legend, [dir="rtl"] .footer-col h2, [dir="rtl"] .detail-block h2, [dir="rtl"] .solution-row-copy h3,
[dir="rtl"] .catalogue-status, [dir="rtl"] .brands p, [dir="rtl"] .hero-facts span, [dir="rtl"] .contact-card small, [dir="rtl"] .system-tag small, [dir="rtl"] .footer-bottom span:last-child,
[dir="rtl"] .visual-caption small, [dir="rtl"] .solution-dialog h3 { letter-spacing: 0; font-size: 13px; }
[dir="rtl"] .hero-lead, [dir="rtl"] .page-lead { line-height: 1.8; }
[dir="rtl"] .skip-link { left: auto; right: 10px; }
[dir="rtl"] .scroll-progress span { margin-left: auto; }
[dir="rtl"] .site-nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .hero-slides { transform: scaleX(-1); }
[dir="rtl"] .hero-shade { background: linear-gradient(270deg, rgba(21,26,29,.97) 0%, rgba(21,26,29,.86) 34%, rgba(21,26,29,.25) 68%, rgba(21,26,29,.12) 100%), linear-gradient(0deg, rgba(21,26,29,.9), transparent 42%); }
[dir="rtl"] .hero-grid { mask-image: linear-gradient(270deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(270deg, #000, transparent 70%); }
[dir="rtl"] .hero-circuit { left: auto; right: 0; transform: scaleX(-1); }
[dir="rtl"] .tag-one { right: auto; left: 17%; } [dir="rtl"] .tag-two { right: auto; left: 3%; } [dir="rtl"] .tag-three { right: auto; left: 22%; }
[dir="rtl"] .hero-facts div { padding: 22px 0 0 48px; margin: 0 0 0 48px; border-right: 0; border-left: 1px solid var(--line-dark); }
[dir="rtl"] .hero-facts div:last-child { border-left: 0; }
[dir="rtl"] .page-hero > .page-hero-shade { background: linear-gradient(270deg, rgba(12,20,32,.95) 0%, rgba(14,27,44,.84) 42%, rgba(18,38,62,.5) 100%), linear-gradient(0deg, rgba(12,18,26,.85), transparent 55%); }
[dir="rtl"] .dark-section::after { right: auto; left: -4%; }
[dir="rtl"] .solution-dialog li, [dir="rtl"] .detail-list:not([dir="ltr"]) li { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .solution-dialog li::before, [dir="rtl"] .detail-list:not([dir="ltr"]) li::before { left: auto; right: 0; }
[dir="rtl"] .tile-arrow { right: auto; left: 22px; }
[dir="rtl"] .category-tile strong, [dir="rtl"] .category-tile small { padding-right: 0; padding-left: 22px; }
[dir="rtl"] .image-card-media span { left: auto; right: 18px; }
[dir="rtl"] .jump-links a:hover, [dir="rtl"] .hero-category-list a:hover { padding-left: 4px; padding-right: 12px; }
[dir="rtl"] .jump-links a:hover { padding-right: 8px; }
[dir="rtl"] .hero-category-list a::after { content: "←"; }
[dir="rtl"] .text-link:hover span, [dir="rtl"] .product-card:hover .product-card-link span:last-child, [dir="rtl"] .category-tile:hover .tile-arrow { transform: translateX(-4px); }
[dir="rtl"] .button:hover span { transform: translate(-2px, -1px); }
[dir="rtl"] .filter-button span { margin-left: 0; margin-right: 6px; }
[dir="rtl"] .process-steps li { padding: 28px 0 6px 26px; margin: 0 0 0 26px; border-right: 0; border-left: 1px solid var(--line-dark); }
[dir="rtl"] .process-steps li:last-child { border-left: 0; margin-left: 0; }
[dir="rtl"] .principles article { direction: rtl; }
[dir="rtl"] .catalogue-status i { background: linear-gradient(270deg, rgba(152,114,59,.5), transparent); }
[dir="rtl"] .field input, [dir="rtl"] .field textarea { text-align: right; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
[dir="rtl"] .footer-contact span[dir="ltr"] { unicode-bidi: isolate; }
@media (max-width: 1024px) {
  [dir="rtl"] .process-steps li:nth-child(2) { border-left: 0; margin-left: 0; }
}
@media (max-width: 860px) {
  [dir="rtl"] .site-nav { margin: 0; transform: translateX(-100%); }
  [dir="rtl"] .site-nav.open { transform: none; }
  [dir="rtl"] .nav-toggle { margin-left: 0; margin-right: 8px; }
  [dir="rtl"] .lang-switch { margin-left: 0; margin-right: auto; }
  [dir="rtl"] .hero-shade { background: linear-gradient(270deg, rgba(21,26,29,.95), rgba(21,26,29,.7)), linear-gradient(0deg, rgba(21,26,29,.9), transparent 50%); }
  [dir="rtl"] .hero-facts div { padding: 18px 0 0 10px; margin: 0 0 0 10px; }
  [dir="rtl"] .process-steps li { padding: 20px 0; margin: 0; border-left: 0; }
  [dir="rtl"] .page-hero > .page-hero-shade { background: linear-gradient(270deg, rgba(12,20,32,.93), rgba(14,27,44,.8)), linear-gradient(0deg, rgba(12,18,26,.85), transparent 55%); }
  [dir="rtl"] .catalogue-filters { margin: 0 -16px; }
}
[dir="rtl"] .contact-card strong { text-align: right; }
@media (max-width: 1180px) { .site-nav { gap: 20px; } .nav-shell { gap: 22px; } }
@media (max-width: 1024px) and (min-width: 861px) { .site-nav { gap: 15px; } .site-nav a { font-size: 13px; } .nav-shell { gap: 20px; } .brand { width: 150px; } }

/* Language switch as a plain nav-style link; quote button always visible */
.lang-switch { min-width: 0; height: auto; padding: 6px 2px; border: 0; color: var(--ink); font-size: 14px; font-weight: 700; letter-spacing: .04em; }
.lang-switch:hover { border: 0; color: var(--gold); }
@media (max-width: 860px) {
  .nav-shell { gap: 10px; }
  .lang-switch { margin-left: auto; padding: 6px 4px; }
  .nav-cta { min-height: 38px; padding-inline: 12px; font-size: 12px; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px)); }
  .nav-toggle { margin-left: 0; width: 40px; padding: 10px 8px; }
  [dir="rtl"] .lang-switch { margin-left: 0; margin-right: auto; }
  [dir="rtl"] .nav-toggle { margin-right: 0; }
}
@media (max-width: 380px) { .brand { width: 120px; } .nav-cta { padding-inline: 10px; font-size: 11px; } }

/* Spam trap (kept off-screen, not display:none so bots still see it) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* About: logo plate on a blurred, blue-tinted photo */
.about-intro .about-mark { overflow: hidden; isolation: isolate; background: var(--graphite); }
.about-mark-bg { position: absolute; inset: -24px; z-index: -2; width: calc(100% + 48px); height: calc(100% + 48px); max-width: none; object-fit: cover; filter: blur(7px) saturate(.9); transform: scale(1.05); }
.about-intro .about-mark::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(12,20,32,.72), rgba(18,38,62,.45)); }

/* WhatsApp chooser */
.wa-widget { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.wa-widget .wa-float { position: relative; right: auto; bottom: auto; }
.wa-menu { width: 250px; padding: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(21,26,29,.22); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px)); animation: dialog-in .25s var(--ease); }
.wa-menu p { margin: 0 0 10px; color: var(--muted); font-size: 13px; font-weight: 600; }
.wa-menu a { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 10px; border-top: 1px solid var(--line); transition: background .2s ease; }
.wa-menu a:hover, .wa-menu a:focus-visible { background: var(--ivory); }
.wa-menu svg { grid-row: span 2; width: 26px; height: 26px; fill: #25D366; }
.wa-menu span { font-size: 12px; font-weight: 700; color: var(--gold-dark); }
.wa-menu strong { font-size: 15px; font-weight: 600; }
[dir="rtl"] .wa-menu strong { text-align: right; }

/* Social links */
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); color: var(--charcoal); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.social-links a:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--champagne); }
.social-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links svg.fill { fill: currentColor; stroke: none; }
.social-links svg .dot { fill: currentColor; }
.social-links.light { margin-top: 8px; }
.social-links.light a { border-color: rgba(197,169,117,.35); color: var(--champagne); }
.social-links.light a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.contact-card a[dir="ltr"] { font-size: 19px; font-weight: 600; transition: color .2s ease; }
.contact-card a[dir="ltr"]:hover { color: var(--champagne); }
[dir="rtl"] .contact-card a[dir="ltr"] { text-align: right; }
.contact-social { padding-inline-start: 22px; }
@media (max-width: 860px) { .wa-widget { right: 16px; bottom: 16px; } }
.contact-social .social-links svg { position: static; inset: auto; width: 18px; height: 18px; stroke: currentColor; }
.contact-social .social-links svg.fill { fill: currentColor; stroke: none; }

/* Catalogue: brand row, datasheet button, product families */
.brand-filters { margin-bottom: 10px; }
.brand-filters .filter-button { padding: 8px 14px; font-size: 13px; background: var(--paper); }
.brand-filters .filter-button.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.button-datasheet { gap: 10px; background: var(--paper); border-color: rgba(152,114,59,.45); color: var(--gold-dark); }
.button-datasheet:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.button-datasheet svg, .variant-card .text-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.variants-section { margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--line); }
.variant-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.variant-card { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; background: #fff; border: 1px solid var(--line); clip-path: polygon(0 0, calc(100% - var(--chamfer)) 0, 100% var(--chamfer), 100% 100%, var(--chamfer) 100%, 0 calc(100% - var(--chamfer))); }
.variant-media { display: grid; place-items: center; aspect-ratio: 1.3 / 1; }
.variant-media img { width: 100%; height: 100%; object-fit: contain; }
.variant-card h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.35; }
.variant-card .text-link { margin-top: auto; }
.category-grid { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1180px) { .category-grid { grid-template-columns: repeat(3, 1fr); } .variant-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .category-grid { grid-template-columns: 1fr 1fr; } .variant-grid { grid-template-columns: 1fr 1fr; } .variants-section { margin-top: 44px; padding-top: 34px; } }

/* Hero subtitle + eight specialties grid */
.hero-subtitle { margin: -6px 0 16px; color: var(--ivory); font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.01em; }
[dir="rtl"] .hero-subtitle { letter-spacing: 0; }
@media (min-width: 1181px) { .image-card-grid { grid-template-columns: repeat(4, 1fr); } .image-card-body { padding: 20px 20px 18px; } .image-card-body h3 { font-size: 18px; } }

/* Brand strip: logos on ivory plates, linked to manufacturer sites */
.brands li a, .brands li > .brand-name { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: inherit; transition: color .2s ease, transform .25s var(--ease); }
.brands li a:hover { color: var(--champagne); transform: translateY(-2px); }
.brand-logo { display: grid; place-items: center; width: 116px; height: 52px; padding: 8px 12px; background: var(--ivory); clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px)); }
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.brand-logo + .brand-name { font-size: 12px; letter-spacing: .06em; }
.brands-inner { flex-direction: column; align-items: center; gap: 22px; padding: 34px 0 36px; }
.brands ul { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); justify-items: center; align-items: start; gap: 22px 14px; }
@media (max-width: 860px) { .brands-inner { align-items: center; } .brands ul { grid-template-columns: repeat(3, 1fr); gap: 18px 10px; } .brand-logo { width: 100px; height: 46px; } }
.brands ul { display: flex; flex-wrap: wrap; justify-content: center; max-width: 880px; margin-inline: auto; gap: 24px 22px; }
.brands li { width: 122px; display: flex; justify-content: center; }
@media (max-width: 860px) { .brands ul { gap: 18px 8px; } .brands li { width: calc((100% - 16px) / 3); } }
.brands li { flex-direction: column; align-items: center; gap: 8px; }
.brand-logo { width: 128px; height: 56px; padding: 8px 10px; background: #fff; }
@media (max-width: 860px) { .brands ul { gap: 18px 10px; } .brands li { width: calc((100% - 20px) / 3); } .brand-logo { width: 100%; max-width: 110px; height: 50px; } .brand-logo + .brand-name { font-size: 11px; } }

/* Home hero slider: 7 images cross-fade every 6s with a slow pan, alternating left and right */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides .hero-media { opacity: 0; animation-duration: 42s, 42s; animation-iteration-count: infinite; animation-timing-function: linear; animation-fill-mode: both; will-change: opacity, transform; }
.hero-slides .hero-media:nth-child(1) { opacity: 1; }
.hero-slides .hero-media:nth-child(1) { animation-name: hero-fade-first, hero-pan-r; animation-delay: 0s, 0s; }
.hero-slides .hero-media:nth-child(2) { animation-name: hero-fade, hero-pan-l; animation-delay: 6s, 6s; }
.hero-slides .hero-media:nth-child(3) { animation-name: hero-fade, hero-pan-r; animation-delay: 12s, 12s; }
.hero-slides .hero-media:nth-child(4) { animation-name: hero-fade, hero-pan-l; animation-delay: 18s, 18s; }
.hero-slides .hero-media:nth-child(5) { animation-name: hero-fade, hero-pan-r; animation-delay: 24s, 24s; }
.hero-slides .hero-media:nth-child(6) { animation-name: hero-fade, hero-pan-l; animation-delay: 30s, 30s; }
.hero-slides .hero-media:nth-child(7) { animation-name: hero-fade, hero-pan-r; animation-delay: 36s, 36s; }
@keyframes hero-fade { 0% { opacity: 0; } 2.86% { opacity: 1; } 14.29% { opacity: 1; } 17.14% { opacity: 0; } 100% { opacity: 0; } }
@keyframes hero-fade-first { 0% { opacity: 1; } 14.29% { opacity: 1; } 17.14% { opacity: 0; } 97.14% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hero-pan-r { 0% { transform: scale(1.08) translateX(-2%); } 17.14% { transform: scale(1.08) translateX(2%); } 100% { transform: scale(1.08) translateX(2%); } }
@keyframes hero-pan-l { 0% { transform: scale(1.08) translateX(2%); } 17.14% { transform: scale(1.08) translateX(-2%); } 100% { transform: scale(1.08) translateX(-2%); } }
@media (prefers-reduced-motion: reduce) {
  .hero-slides .hero-media { animation: none; opacity: 0; transform: none; }
  .hero-slides .hero-media:first-child { opacity: 1; }
}


/* About: Mission statement and Values */
.mission-inner { max-width: 980px; text-align: center; }
.mission-inner .eyebrow { justify-content: center; }
.dark-section .mission-statement, .mission-statement { margin: 18px auto 0; font-size: clamp(24px, 2.8vw, 38px); font-weight: 500; line-height: 1.4; letter-spacing: -.01em; color: var(--ivory); }
.values-section { background: var(--paper); }
.values-list { border-top-color: var(--line); }
.values-list li { border-color: var(--line); }
.values-list span { color: var(--gold); }
.values-list p { color: var(--muted); }
[dir="rtl"] .values-list li { border-left-color: var(--line); }
[dir="rtl"] .values-list span, .values-section .values-list span { color: var(--gold); }

/* Keep the email address on one line */
.footer-contact a[href^="mailto:"] span, .contact-card[href^="mailto:"] strong { white-space: nowrap; }
.footer-contact a[href^="mailto:"] span { font-size: clamp(12.5px, 1.05vw, 15px); }
.contact-card[href^="mailto:"] strong { font-size: clamp(15px, 1.5vw, 19px); }
