:root {
  --ink: #0f2350;
  --ink-2: #35456b;
  --muted: #5f6b85;
  --line: #d5dade;
  --catalog-line: #eef0f2;
  --paper: #ffffff;
  --concrete: #eef1f6;
  --sand: #d0202e;
  --sand-dark: #b01a27;
  --radius: 4px;
  --wrap: 1180px;
  --display: "Red Hat Display", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sand); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 2000; background: transparent; direction: ltr; }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.mark { width: 30px; height: 30px; background: var(--ink); position: relative; }
.mark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 50%, var(--sand) 50%); }
.brand-text { font: 800 1.35rem/1 var(--display); display: flex; flex-direction: column; }
.brand-text small { font: 500 .68rem/1.4 var(--body); color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); padding: 8px 14px; font: 500 .95rem var(--body); border-radius: var(--radius); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; background: var(--ink); color: #fff !important; padding: 14px 26px; border: 0; border-radius: var(--radius); font: 600 1rem var(--body); text-decoration: none; cursor: pointer; transition: background .2s; }
.btn:hover { background: #1a3572; }
.btn-ghost { background: transparent; color: var(--ink) !important; box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--concrete); }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: linear-gradient(135deg, #0f2350, #1d3a7a 60%, #4a63a0); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,20,48,.78) 0%, rgba(8,20,48,.25) 55%, rgba(8,20,48,.45) 100%); }
.hero-copy { position: relative; z-index: 1; padding-bottom: clamp(48px, 9vh, 96px); display: flex; align-items: flex-end; gap: clamp(24px, 5vw, 64px); }
.hero h1 { max-width: 14ch; margin: 0; flex: 1 1 auto; }
.hero-sub { font-size: .95rem; line-height: 1.5; max-width: 34ch; margin: 0 0 6px; color: rgba(255,255,255,.9); flex: 0 0 auto; }
.btn-light { background: #fff; color: var(--ink) !important; border-radius: 999px; padding: 16px 32px; }
.btn-light:hover { background: var(--concrete); }

/* Facts */
.facts { position: relative; z-index: 3; margin-top: -66px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--sand); color: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 12px 32px rgba(8,20,48,.28); }
.facts-grid div { padding: 30px 28px; border-inline-start: 1px solid rgba(255,255,255,.28); display: flex; flex-direction: column; gap: 6px; }
.facts-grid div:first-child { border-inline-start: 0; }
.facts-grid strong { font: 800 2.75rem/1 var(--display); color: #fff; }
.facts-grid span { font-size: .95rem; color: rgba(255,255,255,.92); }
.hero-copy { padding-bottom: calc(clamp(48px, 9vh, 96px) + 70px); }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--concrete); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head p { margin: 14px 0 0; color: var(--muted); }

.intro { padding-bottom: clamp(24px, 3vw, 40px); }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.intro h2 { font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.75rem); color: var(--ink-2); max-width: 12ch; }
.intro-body p { color: var(--ink-2); }

/* What we supply: five ranges in one dark band, icon, name and short line each. */
.catalog-bleed { background: var(--ink); width: 100vw; margin-inline: calc(50% - 50vw); padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 40px); }
.catalog-bleed .section-head h2 { color: #fff; }
.catalog { display: grid; grid-template-columns: repeat(5, 1fr); max-width: var(--wrap); margin-inline: auto; }
.catalog-row { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 22px; border-inline-end: 1px solid rgba(255,255,255,.16); }
.catalog-row:last-child { border-inline-end: 0; }
.catalog-icon { width: 40px; height: 40px; filter: brightness(0) invert(1); }
.catalog-row h3 { margin: 0; font-size: 1.05rem; font-weight: 700; color: #fff; }
.catalog-row p { margin: 0; font-size: .92rem; line-height: 1.5; color: rgba(255,255,255,.78); }

/* Wholesale vs retail: two standalone cards rather than a row-matched table,
   since each side reads fine on its own. */
.products { padding-top: 0; padding-bottom: 0; }
.customers { background: #eef3fb; padding-top: clamp(40px, 6vw, 64px); }
.compare-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.compare-card { background: var(--paper); border-radius: 8px; padding: 28px; }
.compare-card h3 { margin: 0 0 20px; font-size: 1.6rem; }
.compare-photo-wrap { position: relative; overflow: hidden; border-radius: var(--radius); margin-bottom: 16px; }
.compare-photo { display: block; width: 100%; height: 240px; object-fit: cover; }
.compare-photo-wrap::before { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 45%, var(--ink) 115%); mix-blend-mode: multiply; opacity: .85; }
.compare-photo-wrap::after { content: ""; position: absolute; top: 0; right: 0; width: 72px; height: 72px; background: linear-gradient(135deg, transparent 50%, var(--ink) 50%); }
.compare-card.retail .compare-photo-wrap::before { background: linear-gradient(200deg, transparent 45%, var(--sand) 115%); }
.compare-card.retail .compare-photo-wrap::after { background: linear-gradient(135deg, transparent 50%, var(--sand) 50%); }
.compare-card dl { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.compare-card dl div { padding-top: 16px; border-top: 1px solid var(--line); }
.compare-card dl div:first-child { padding-top: 0; border-top: 0; }
.compare-card dt { color: var(--muted); font-size: .85rem; margin: 0 0 4px; }
.compare-card dd { color: var(--ink-2); margin: 0; }
.link { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--sand); }
h2 .accent { color: var(--sand); }




.logos .section-head { text-align: center; margin-bottom: 40px; }
.logo-grid { position: relative; display: flex; flex-direction: column; gap: 14px; width: 100%; overflow: hidden; direction: ltr; }
.logo-row { overflow: hidden; }
.logo-track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.logo-track.wrap { flex-wrap: wrap; width: auto; }
.logo-box { flex: 0 0 auto; width: 180px; aspect-ratio: 2.2 / 1; border: 1px solid var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: center; padding: 0 2px; background: var(--paper); }
.logo-word { font: 800 1.2rem/1.2 var(--display); color: var(--ink); text-align: center; }
.logo-box img { max-width: 100%; max-height: 76px; width: auto; object-fit: contain; }

@media (max-width: 560px) {
  .logo-box { width: 140px; }
}

.news-card { position: relative; display: block; border-radius: 8px; overflow: hidden; text-decoration: none; color: #fff; }
.news-media { position: absolute; inset: 0; }
.news-media.m1 { background: linear-gradient(135deg, var(--ink), #1d3a7a); }
.news-media.m2 { background: linear-gradient(135deg, var(--sand), var(--sand-dark)); }
.news-media.m3 { background: linear-gradient(135deg, #1d3a7a, #4a63a0); }
.news-media.m4 { background: linear-gradient(135deg, var(--sand-dark), #7a1420); }
.news-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,12,20,.85) 0%, rgba(8,12,20,.15) 45%, transparent 100%); }
.news-body { position: relative; z-index: 1; padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.news-date { font-size: .85rem; color: rgba(255,255,255,.8); margin: 0 0 8px; }
.news-card h3 { margin: 0; font-size: 1.15rem; line-height: 1.3; }

.news-featured { aspect-ratio: 21 / 9; margin-bottom: 20px; }
.news-featured h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 22ch; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-grid .news-card { aspect-ratio: 4 / 3; }

@media (max-width: 760px) {
  .news-featured { aspect-ratio: 4 / 3; }
  .news-grid { grid-template-columns: 1fr; }
}

.sustain { background: #16305e; }
.sustain-copy h2 { color: #fff; }
.sustain-copy > p:not(.eyebrow) { color: #c9d3ea; }
.sustain-copy .link { color: #fff; }
.sustain-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.sustain-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sustain-col { display: flex; flex-direction: column; gap: 16px; }
.sustain-collage img { width: 100%; object-fit: cover; border-radius: 8px; }
.sustain-col:first-child .c1 { height: 260px; }
.sustain-col:first-child .c2 { height: 320px; }
.sustain-col:last-child .c3 { height: 320px; }
.sustain-col:last-child .c4 { height: 260px; }
.sustain-card { background: var(--ink); color: #fff; display: flex; align-items: flex-end; padding: 26px; box-sizing: border-box; border-radius: 8px; }
.sustain-card h3 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; }
.sustain-copy .eyebrow { color: var(--sand); font-weight: 600; font-size: .88rem; margin: 0 0 14px; }
.sustain-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); max-width: 17ch; margin-bottom: 20px; }
.sustain-copy > p:not(.eyebrow) { color: var(--muted); max-width: 46ch; margin-bottom: 28px; }

@media (max-width: 960px) {
  .sustain-grid { grid-template-columns: 1fr; }
  .sustain-collage { order: 2; }
  .sustain-copy { order: 1; }
}
@media (max-width: 560px) {
  .sustain-collage { gap: 10px; }
  .sustain-col { gap: 10px; }
  .sustain-col:first-child .c1 { height: 190px; }
  .sustain-col:first-child .c2 { height: 240px; }
  .sustain-col:last-child .c3 { height: 240px; }
  .sustain-col:last-child .c4 { height: 190px; }
  .sustain-card { padding: 18px; }
  .sustain-card h3 { font-size: 1.5rem; }
}

.founder-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 5vw, 64px); align-items: end; margin-bottom: 48px; }
.founder-media { width: clamp(260px, 26vw, 340px); }
.founder-avatar { display: block; width: 100%; aspect-ratio: 1141 / 1378; object-fit: cover; }
.founder-copy { align-self: center; }
.team-card { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; border: 1px solid var(--line); border-radius: 12px; padding: clamp(24px, 3vw, 40px) 0 0 clamp(24px, 3vw, 40px); overflow: hidden; }
.team-caption { padding-bottom: clamp(24px, 3vw, 40px); }
.founder-team { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-caption { border-inline-start: 3px solid var(--sand); padding-inline-start: 16px; }
.team-caption h3 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--ink); }
.team-caption p { margin: 0; max-width: 38ch; color: var(--muted); }
.founder-copy .eyebrow { color: var(--sand); font-weight: 600; font-size: .88rem; margin: 0 0 16px; }
.founder-copy blockquote { margin: 0 0 24px; padding: 0; border: 0; }
.founder-copy blockquote p { font: 500 1.5rem/1.4 var(--display); color: var(--ink); margin: 0; max-width: 34ch; }
.founder-name { font-weight: 700; margin: 0; }
.founder-title { color: var(--muted); margin: 2px 0 0; font-size: .92rem; }

@media (max-width: 760px) {
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .founder-media { width: min(70%, 260px); margin: 0 auto; }
  .team-card { grid-template-columns: 1fr; text-align: center; padding: 0; }
  .founder-team { width: 100%; }
  .team-caption { border-inline-start: 0; padding: 24px clamp(24px, 6vw, 40px) 24px; }
  .team-caption p { max-width: none; margin-inline: auto; }
  .team-caption h3 { font-size: 1.3rem; }
  .founder-copy { align-self: auto; padding: 24px clamp(24px, 6vw, 48px) 0; }
  .founder-copy blockquote p { max-width: none; }
}

/* Governance, trust and recognition: three columns scroll continuously,
   the outer two upward and the middle one downward, each pausing on hover. */
.trust { padding-bottom: 0; overflow: hidden; }
.trust .section-head p { color: var(--muted); }
.trust-columns { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 640px; width: min(var(--wrap), 100% - 40px); margin: 8px auto 0; }
.trust-columns::before, .trust-columns::after { content: ""; position: absolute; left: 0; right: 0; height: 120px; z-index: 2; pointer-events: none; }
.trust-columns::before { top: 0; background: linear-gradient(to bottom, var(--paper), transparent); }
.trust-columns::after { bottom: 0; background: linear-gradient(to top, var(--paper), transparent); }
.trust-col { overflow: hidden; display: flex; justify-content: center; }
.trust-track { display: flex; flex-direction: column; align-items: center; width: 78%; }
.trust-up .trust-track { animation: trust-scroll-up 4s linear infinite; }
.trust-down .trust-track { animation: trust-scroll-down 4.5s linear infinite; }
.trust-col:hover .trust-track { animation-play-state: paused; }
@keyframes trust-scroll-up { from { transform: translateY(0); } to { transform: translateY(calc(-1 * var(--set-height, 50%))); } }
@keyframes trust-scroll-down { from { transform: translateY(calc(-1 * var(--set-height, 50%))); } to { transform: translateY(0); } }

.trust-card { width: 100%; border: none; border-radius: 8px; overflow: hidden; background: var(--paper); box-shadow: 0 2px 10px rgba(15,35,80,.1); flex: 0 0 auto; margin-bottom: 20px; }
.trust-card:nth-child(odd) .trust-body { background: #eef3fb; }
.trust-media { height: 150px; }
.trust-media.m1 { background: linear-gradient(135deg, var(--ink), #1d3a7a); }
.trust-media.m2 { background: linear-gradient(135deg, var(--sand), var(--sand-dark)); }
.trust-media.m3 { background: linear-gradient(135deg, #1d3a7a, #4a63a0); }
.trust-media.m4 { background: linear-gradient(135deg, var(--sand-dark), #7a1420); }
.trust-media.m5 { background: linear-gradient(135deg, var(--ink-2), var(--ink)); }
.trust-media.m6 { background: linear-gradient(135deg, #4a63a0, var(--sand)); }
.trust-body { padding: 20px 22px 24px; }
.trust-body .eyebrow { font-size: .8rem; color: var(--muted); margin: 0 0 10px; }
.trust-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.trust-body p { font-size: .92rem; color: var(--ink-2); margin: 0 0 14px; }
.trust-body .issuer { font-size: .8rem; color: var(--muted); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .trust-up .trust-track, .trust-down .trust-track { animation: none; }
}
@media (max-width: 860px) {
  .trust-columns { grid-template-columns: repeat(2, 1fr); }
  .trust-col:nth-child(3) { display: none; }
}
@media (max-width: 560px) {
  .trust-columns { grid-template-columns: 1fr; height: 520px; }
  .trust-col:nth-child(2) { display: none; }
}

/* About */
.about-body > p { margin-bottom: 14px; }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); position: relative; z-index: 1; }
.values { margin: 32px 0 0; }
.values div { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.25); display: grid; grid-template-columns: 210px 1fr; align-items: start; gap: 16px; }
.values dt { justify-self: start; display: inline-block; font: 700 1.05rem var(--display); color: #fff; background: var(--sand); padding: 4px 12px; border-radius: 0; }
.values dd { margin: 0; color: rgba(255,255,255,.82); }

/* Fixed background: the image stays pinned to the viewport while this
   section's own content and the sections before/after it scroll normally. */
.fixed-bg {
  position: relative;
  background-image: linear-gradient(rgba(10,20,45,.72), rgba(10,20,45,.72)), url("images/about-bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
}
.fixed-bg h2 { color: #fff; }
.fixed-bg h2 .accent { color: var(--sand); }
.fixed-bg .about-body > p { color: rgba(255,255,255,.9); }
@media (prefers-reduced-motion: reduce), (hover: none) and (pointer: coarse) {
  /* iOS Safari ignores background-attachment: fixed and some browsers judder with it under motion-reduction; fall back to a plain cover image. */
  .fixed-bg { background-attachment: scroll; }
}

/* Contact */

.site-footer { background: #0a1633; color: #a9b6d6; font-size: .92rem; }

.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding: 56px 0 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.foot-brand .brand-text { color: #fff; }
.foot-brand .brand-text small { color: #a9b6d6; }
.foot-brand .mark { background: var(--sand); }
.foot-email { color: var(--sand); font-weight: 600; text-decoration: none; }
.foot-email:hover { text-decoration: underline; }
.foot-social { display: flex; gap: 18px; }
.foot-social a { color: #a9b6d6; display: flex; }
.foot-social a:hover { color: #fff; }
.foot-social svg { width: 26px; height: 26px; }

.foot-col h3 { font: 600 .78rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: #7c8bb0; margin: 0 0 18px; }
.foot-col { display: flex; flex-direction: column; }
.foot-col a { color: #d7defa; text-decoration: none; padding: 7px 0; }
.foot-col a:hover { color: #fff; }
.foot-office address { font-style: normal; line-height: 1.35; color: #d7defa; }
.foot-office address a { padding: 0; }

.foot-presence { padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-presence h3 { font: 600 .78rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: #7c8bb0; margin: 0 0 22px; }
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.country-head { display: flex; align-items: center; gap: 12px; font-weight: 600; color: #fff; margin-bottom: 12px; }
.country-head .flag { width: 32px; height: 22px; object-fit: cover; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); flex: 0 0 auto; }
.region-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; color: #a9b6d6; font-size: .9rem; line-height: 1.3; }

.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0; font-size: .85rem; }
.foot-bottom a { color: #a9b6d6; }
.foot-bottom a:hover { color: #fff; }

@media (max-width: 860px) {
  .foot-top { grid-template-columns: 1fr 1fr; }
  .country-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}
@media (max-width: 560px) {
  .foot-top { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .about-grid, .intro-grid { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .catalog-row { border-inline-end: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .catalog-row:nth-child(odd) { border-inline-end: 1px solid rgba(255,255,255,.16); }
  .catalog-row:last-child { grid-column: 1 / -1; border-inline-end: 0; border-bottom: 0; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid div:nth-child(3) { border-inline-start: 0; }
  .facts-grid div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.28); }
  .facts { margin-top: -110px; }
  .hero-copy { padding-bottom: calc(clamp(48px, 9vh, 96px) + 112px); flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-sub { max-width: none; margin: 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; padding: 20px; gap: 18px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
}
@media (max-width: 560px) {
  .catalog { grid-template-columns: 1fr; }
  .catalog-row { padding: 20px; }
  .catalog-row:nth-child(odd) { border-inline-end: 0; }
  .compare-cards { grid-template-columns: 1fr; }
  .values div { grid-template-columns: 1fr; gap: 4px; }
  .tiles { grid-auto-rows: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Header over hero: transparent until scrolled, then solid black. Text stays
   white in both states, so only the background/blur toggles on .scrolled. */
.site-header { transition: background .25s; }
.site-header.scrolled { background: #000; backdrop-filter: blur(6px); }
.site-header .brand, .site-header .nav a:not(.btn) { color: #fff; }
.site-header .brand-text small { color: rgba(255,255,255,.75); }
.site-header .mark { background: #fff; }
.site-header .nav-toggle { color: #fff; border-color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .site-header .nav a:not(.btn) { color: var(--ink); } }

@media (max-width: 480px) { .years { display: none; } }

/* Handwritten "Celebrating" note, tilted */
.years { font: 600 1.3rem/.82 "Caveat", cursive; color: #fff; text-align: center; transform: rotate(-9deg); transform-origin: center; margin-inline-end: 4px; white-space: nowrap; }

/* Language switch */
.lang-btn { background: none; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 7px 16px; font: 600 .92rem var(--body); color: #fff; cursor: pointer; margin-inline-start: 24px; }
.lang-btn:hover { background: rgba(255,255,255,.14); }
@media (max-width: 760px) {
  .brand { margin-inline-end: auto; }
  .lang-btn { margin-inline-start: 10px; order: 2; padding: 8px 14px; }
  .nav-toggle { order: 3; margin-inline-start: 10px; }
}

/* Arabic / RTL */
html[lang="ar"] { --body: "IBM Plex Sans Arabic", system-ui, sans-serif; --display: "Noto Kufi Arabic", "IBM Plex Sans Arabic", sans-serif; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.3; font-stretch: 100%; }
html[lang="ar"] h1 { font-weight: 800; }
html[lang="ar"] .brand-text { font-stretch: 100%; }
html[lang="ar"] .brand-text small { letter-spacing: 0; }
html[lang="ar"] .years { font-family: "Aref Ruqaa", serif; font-size: 1.05rem; line-height: 1.1; transform: rotate(-9deg); }
html[lang="ar"] .lang-btn { font-family: "Inter", system-ui, sans-serif; }
html[dir="rtl"] .skip { left: auto; right: -999px; }
html[dir="rtl"] .skip:focus { right: 8px; }


/* Locator: map of Oman with every outlet listed alongside */
.locator { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border-radius: 10px; overflow: hidden; background: var(--ink); box-shadow: 0 14px 40px rgba(15,35,80,.18); }
.locator-map { position: relative; z-index: 0; isolation: isolate; min-height: 620px; background: #dfe6f1; }
#branchMap { position: absolute; inset: 0; direction: ltr; background: #dfe6f1; }
.locator-map.no-map::after { content: ""; }
.map-views { position: absolute; z-index: 500; top: 14px; right: 14px; display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(15,35,80,.9); border: 1px solid rgba(255,255,255,.22); }
.map-views button { border: 0; background: none; color: #fff; font: 600 .85rem var(--body); padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.map-views button.on { background: var(--sand); }
.locator-list { padding: clamp(20px, 2.4vw, 32px); color: #fff; display: flex; flex-direction: column; gap: 22px; }
.loc-group h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.16); font: 700 1rem var(--display); }
.loc-group h3 small { font: 500 .8rem var(--body); color: #a9b6d6; }
.loc-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.loc-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.24); background: rgba(255,255,255,.05); color: #fff; font: 500 .9rem var(--body); cursor: pointer; transition: background .15s, border-color .15s; }
.loc-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sand); box-shadow: 0 0 0 3px rgba(208,32,46,.3); }
.loc-chip.nopin .dot { background: transparent; border: 1.5px solid #a9b6d6; box-shadow: none; }
.loc-chip .cnt { color: #6fb4f2; font-size: .8rem; font-weight: 600; }
.loc-chip:hover, .loc-chip.active { background: var(--sand); border-color: var(--sand); }
.loc-chip:hover .cnt, .loc-chip.active .cnt { color: #fff; }
.loc-chip:hover .dot, .loc-chip.active .dot { background: #fff; border-color: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.loc-note { margin: 10px 0 0; font-size: .8rem; color: #a9b6d6; }

.pin-wrap { background: none; border: 0; }
.pin { position: relative; display: grid; place-items: center; width: 22px; height: 22px; margin: 3px; border-radius: 50%; background: var(--sand); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.5); transition: transform .15s; }
.pin b { font: 700 .62rem/1 var(--body); color: #fff; }
.pin::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid var(--sand); opacity: 0; }
.pin-wrap.active { z-index: 1000 !important; }
.pin-wrap.active .pin { transform: scale(1.3); }
.pin-wrap.active .pin::after { animation: pin-pulse 1.4s ease-out infinite; }
@keyframes pin-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.leaflet-tooltip { font: 600 .85rem var(--body); color: var(--ink); }
.leaflet-popup-content-wrapper { border-radius: 8px; }
.leaflet-popup-content { margin: 14px 18px; font: 500 .92rem/1.5 var(--body); color: var(--ink); }
.leaflet-popup-content .link { color: var(--ink); }

@media (max-width: 960px) {
  .locator { grid-template-columns: 1fr; }
  .locator-map { min-height: 440px; }
}
@media (prefers-reduced-motion: reduce) {
  .pin-wrap.active .pin::after { animation: none; }
}
