/* ==========================================================
   Rwanda identity layer — loaded after main-LTR.css
   Flag palette: blue #00A1DE · yellow #FAD201 · green #20603D
   Imigongo (traditional geometric art) motifs, Kinyarwanda copy
   ========================================================== */
:root {
  --rw-blue: #1f8a4c;
  --rw-yellow: #8fd3a6;
  --rw-green: #1f8a4c;
  --rw-forest: #0d2116;
  --rw-cream: #fbf7ec;
  --rw-ink: #14201a;
  --rw-clay: #1f8a4c;
  --clr-main: #1f8a4c;
  --clr-main-rgb: 31, 138, 76;
  --clr-secondary: #1f8a4c;
  --rw-display: "Fraunces", Georgia, serif;
  --rw-ease: cubic-bezier(.2, .8, .2, 1);
  /* imigongo zig-zag diamonds, used as a repeating border/background */
  --imigongo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath d='M0 12 12 0l12 12L12 24zM24 12 36 0l12 12-12 12z' fill='none' stroke='%231f8a4c' stroke-width='3'/%3E%3Cpath d='M12 6 18 12 12 18 6 12zM36 6l6 6-6 6-6-6z' fill='%231f8a4c'/%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }
body { background: var(--rw-cream); color: var(--rw-ink); }
body.dark-theme { background: var(--rw-forest); }

/* ---------- flag ribbon at very top of page ---------- */
body::before {
  content: "";
  position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 2000;
  background: var(--rw-green);
}
.rw-progress {
  position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 2001;
  background: var(--rw-ink); mix-blend-mode: multiply; transition: width .1s linear;
}

/* ---------- top contact bar ---------- */
.top-contact-bar { background: var(--rw-forest) !important; }
.top-contact-bar a, .top-contact-bar i { color: #e9f2ec; }
.rw-live {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--rw-yellow);
}
.rw-live .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3be07f;
  box-shadow: 0 0 0 0 rgba(59, 224, 127, .7); animation: rw-pulse 1.8s infinite;
}
@keyframes rw-pulse { 70% { box-shadow: 0 0 0 9px rgba(59, 224, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(59, 224, 127, 0); } }

/* ---------- generic helpers ---------- */
.imigongo-band { height: 24px; background: var(--imigongo) repeat-x center / 48px 24px; }
.rw-eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem;
  border-radius: 999px; background: #fff; border: 1px solid rgba(20, 32, 26, .1);
  font-weight: 600; font-size: .9rem; box-shadow: 0 6px 20px rgba(20, 32, 26, .06);
}
body.dark-theme .rw-eyebrow { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #fff; }
.rw-display { font-family: var(--rw-display); font-weight: 600; letter-spacing: -.02em; }
.rw-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--rw-ease), transform .8s var(--rw-ease); }
.rw-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rw-reveal { opacity: 1; transform: none; transition: none; }
  .rw-live .dot, .rw-marquee-track, .rw-float { animation: none !important; }
}

/* ---------- HERO ---------- */
.rw-hero {
  position: relative; overflow: hidden; padding: 9rem 0 6rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(31, 138, 76, .14), transparent 60%),
    var(--rw-cream);
}
body.dark-theme .rw-hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(31, 138, 76, .14), transparent 60%),
    var(--rw-forest);
}
.rw-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 24px;
  background: var(--imigongo) repeat-x center / 48px 24px;
}
.rw-hero h1 {
  font-family: var(--rw-display); font-weight: 600; letter-spacing: -.03em;
  font-size: clamp(2.6rem, 5.6vw, 5rem); line-height: 1.02; margin: 1.4rem 0 1.2rem;
  color: var(--rw-ink);
}
body.dark-theme .rw-hero h1 { color: #fff; }
.rw-hero h1 em { font-style: italic; color: var(--rw-green); position: relative; white-space: nowrap; }
body.dark-theme .rw-hero h1 em { color: var(--rw-yellow); }
.rw-hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .05em; height: .14em; border-radius: 4px;
  background: var(--rw-green);
}
.rw-hero .lead { font-size: 1.2rem; max-width: 34rem; color: rgba(20, 32, 26, .75); }
body.dark-theme .rw-hero .lead { color: rgba(255, 255, 255, .75); }
.rw-rotator { display: inline-block; min-width: 1ch; }
.rw-rotator::after { content: "|"; margin-left: 2px; animation: rw-blink 1s steps(1) infinite; color: var(--rw-blue); }
@keyframes rw-blink { 50% { opacity: 0; } }

.rw-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.rw-btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: 1rem 1.7rem; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: transform .25s var(--rw-ease), box-shadow .25s;
}
.rw-btn:hover { transform: translateY(-3px); }
.rw-btn.primary { background: var(--rw-ink); color: #fff; box-shadow: 0 12px 28px rgba(20, 32, 26, .28); }
.rw-btn.primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(20, 32, 26, .35); }
.rw-btn.primary .arrow { background: var(--rw-yellow); color: var(--rw-ink); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; }
.rw-btn.ghost { border: 2px solid var(--rw-ink); color: var(--rw-ink); }
.rw-btn.ghost:hover { background: var(--rw-ink); color: #fff; }
body.dark-theme .rw-btn.primary { background: var(--rw-yellow); color: var(--rw-ink); }
body.dark-theme .rw-btn.ghost { border-color: #fff; color: #fff; }
body.dark-theme .rw-btn.ghost:hover { background: #fff; color: var(--rw-ink); }

.rw-trust { display: flex; align-items: center; gap: 1rem; margin-top: 2.4rem; }
.rw-faces { display: flex; }
.rw-faces .face {
  width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--rw-cream); margin-left: -12px;
  background: var(--rw-green) center / cover; display: grid; place-items: center; color: #fff; font-weight: 700; overflow: hidden;
}
.rw-faces .face:first-child { margin-left: 0; }
.rw-faces .face:nth-child(2) { background-color: var(--rw-blue); }
.rw-faces .face:nth-child(3) { background-color: var(--rw-clay); }
.rw-faces .face:nth-child(4) { background-color: var(--rw-ink); }
.rw-faces .face img { width: 100%; height: 100%; object-fit: cover; }
body.dark-theme .rw-faces .face { border-color: var(--rw-forest); }
.rw-trust small { display: block; opacity: .7; }
.rw-stars { color: var(--rw-yellow); letter-spacing: 2px; filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .2)); }

/* photo mosaic: arched frames (a nod to Kigali's arched architecture) */
.rw-mosaic { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1rem; max-width: 560px; margin-inline: auto; }
.rw-arch {
  position: relative; overflow: hidden; border-radius: 999px 999px 24px 24px; aspect-ratio: 3 / 4.2;
  background: var(--imigongo) center / 48px 24px, var(--rw-green);
  box-shadow: 0 24px 50px rgba(20, 32, 26, .22);
}
.rw-arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--rw-ease); }
.rw-arch:hover img { transform: scale(1.06); }
.rw-arch.a1 { background-color: var(--rw-blue); transform: translateY(2.2rem); }
.rw-arch.a2 { background-color: var(--rw-yellow); }
.rw-arch.a3 { grid-column: 1 / -1; aspect-ratio: 16 / 7; border-radius: 24px 24px 999px 999px / 24px 24px 90px 90px; background-color: var(--rw-clay); transform: translateY(1.2rem); }
.rw-arch.a3 img { object-position: top; }

.rw-float {
  position: absolute; z-index: 3; background: #fff; color: var(--rw-ink); border-radius: 18px; padding: .8rem 1.1rem;
  box-shadow: 0 18px 40px rgba(20, 32, 26, .22); display: flex; align-items: center; gap: .8rem; font-size: .9rem;
  animation: rw-bob 6s ease-in-out infinite;
}
.rw-float b { display: block; font-size: 1rem; }
.rw-float .ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; }
.rw-float.f1 { top: 6%; left: -4%; }
.rw-float.f1 .ico { background: rgba(59, 224, 127, .2); color: var(--rw-green); }
.rw-float.f2 { bottom: 24%; right: -4%; animation-delay: -2s; }
.rw-float.f2 .ico { background: rgba(0, 161, 222, .16); color: var(--rw-blue); }
.rw-float.f3 { bottom: -2%; left: 8%; animation-delay: -4s; }
.rw-float.f3 .ico { background: rgba(250, 210, 1, .35); color: #8a6d00; }
@keyframes rw-bob { 50% { transform: translateY(-10px); } }

/* ---------- marquee ---------- */
.rw-marquee { background: var(--rw-ink); color: #fff; overflow: hidden; padding: 1.1rem 0; border-block: 4px solid var(--rw-yellow); }
.rw-marquee-track { display: flex; gap: 3rem; width: max-content; animation: rw-scroll 38s linear infinite; }
.rw-marquee:hover .rw-marquee-track { animation-play-state: paused; }
.rw-marquee span { font-family: var(--rw-display); font-size: 1.6rem; font-style: italic; white-space: nowrap; display: inline-flex; align-items: center; gap: 3rem; }
.rw-marquee span::after { content: "◆"; color: var(--rw-yellow); font-size: .9rem; font-style: normal; }
.rw-marquee span:nth-child(3n+2)::after { color: var(--rw-blue); }
.rw-marquee span:nth-child(3n)::after { color: var(--rw-green); }
@keyframes rw-scroll { to { transform: translateX(-50%); } }

/* ---------- "Proudly Rwandan" section ---------- */
.rw-proud { padding: 7rem 0; background: var(--rw-cream); }
body.dark-theme .rw-proud { background: var(--rw-forest); }
.rw-proud h2, .rw-people h2 { font-family: var(--rw-display); font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.02em; line-height: 1.08; }
.rw-proud h2 em, .rw-people h2 em { color: var(--rw-green); }
.rw-kicker { color: var(--rw-green); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .85rem; }
.rw-pillars { display: grid; gap: 1.2rem; margin-top: 2rem; }
.rw-pillar {
  display: flex; gap: 1.1rem; padding: 1.3rem 1.4rem; border-radius: 20px; background: #fff;
  border: 1px solid rgba(20, 32, 26, .08); transition: transform .3s var(--rw-ease), box-shadow .3s;
}
.rw-pillar:hover { transform: translateX(8px); box-shadow: 0 14px 34px rgba(20, 32, 26, .1); }
body.dark-theme .rw-pillar { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.rw-pillar .k { flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; color: #fff; background: var(--rw-green); }
.rw-pillar:nth-child(2) .k { background: var(--rw-blue); }
.rw-pillar:nth-child(3) .k { background: var(--rw-yellow); color: var(--rw-ink); }
.rw-pillar h3 { font-size: 1.15rem; margin: 0 0 .25rem; }
.rw-pillar h3 small { font-weight: 500; font-style: italic; opacity: .6; margin-left: .4rem; }
.rw-pillar p { margin: 0; opacity: .75; }

.rw-kigali {
  position: relative; border-radius: 32px; overflow: hidden; color: #fff; padding: 2.4rem; min-height: 420px;
  background: linear-gradient(160deg, #0b5a8a, var(--rw-blue) 55%, #55c9f0);
  box-shadow: 0 30px 60px rgba(0, 100, 150, .3);
}
.rw-kigali::before { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: radial-gradient(120% 100% at 50% 100%, var(--rw-green) 0 50%, transparent 51%); }
.rw-kigali::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--rw-yellow); box-shadow: 0 0 0 28px rgba(250, 210, 1, .25), 0 0 0 60px rgba(250, 210, 1, .12); }
.rw-kigali > * { position: relative; z-index: 2; }
.rw-clock { font-family: var(--rw-display); font-size: clamp(3rem, 7vw, 5rem); line-height: 1; margin: .6rem 0 .2rem; font-variant-numeric: tabular-nums; }
.rw-kigali .place { font-size: 1.1rem; font-weight: 600; opacity: .95; }
.rw-kigali .hello { font-family: var(--rw-display); font-style: italic; font-size: 1.5rem; margin-top: 7rem; }
.rw-kigali .meta { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1rem; font-size: .95rem; }
.rw-kigali .meta b { display: block; font-size: 1.3rem; }

/* ---------- People ---------- */
.rw-people { padding: 7rem 0; background: #fff; }
body.dark-theme .rw-people { background: #0a1a11; }
.rw-person { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--imigongo) center / 48px 24px, var(--rw-green); transition: transform .5s var(--rw-ease); }
.rw-person:hover { transform: translateY(-10px) rotate(-1deg); }
.rw-person:nth-child(even) { background-color: var(--rw-blue); }
.rw-person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rw-person figcaption { position: absolute; inset: auto 0 0 0; padding: 3rem 1.2rem 1.2rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.rw-person figcaption b { display: block; font-size: 1.15rem; }
.rw-person figcaption span { font-size: .9rem; opacity: .85; }
.rw-person .tag { position: absolute; top: 1rem; left: 1rem; background: var(--rw-yellow); color: var(--rw-ink); font-weight: 700; font-size: .75rem; padding: .3rem .7rem; border-radius: 999px; }

/* ---------- existing sections polish ---------- */
.mega-section { position: relative; }
.service-box { border-radius: 24px !important; transition: transform .35s var(--rw-ease), box-shadow .35s !important; }
.service-box:hover { transform: translateY(-10px); box-shadow: 0 24px 50px rgba(20, 32, 26, .16); }
.portfolio-item .item { border-radius: 22px; overflow: hidden; }
.btn-solid { border-radius: 999px !important; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .rw-hero { padding: 7rem 0 5rem; }
  .rw-mosaic { margin-top: 3rem; }
  .rw-float.f1 { left: 0; } .rw-float.f2 { right: 0; }
  .rw-kigali .hello { margin-top: 4rem; }
}
@media (max-width: 575px) {
  .rw-hero h1 { font-size: 2.5rem; }
  .rw-float { padding: .55rem .8rem; font-size: .78rem; }
  .rw-float .ico { width: 30px; height: 30px; }
  .rw-marquee span { font-size: 1.2rem; }
}

/* ---------- minimal homepage ---------- */
.rw-hero { padding: 8rem 0 6rem; }
.rw-hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); }
.rw-label { text-align: center; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; opacity: .55; margin-bottom: 1.4rem; }
.rw-clients { padding: 3.5rem 0; background: #fff; }
body.dark-theme .rw-clients { background: #0a1a11; }
.rw-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 3rem; }
.rw-logo { height: 52px; display: grid; place-items: center; transition: .3s; font-weight: 700; color: inherit; }
.rw-logo:hover { transform: translateY(-3px) scale(1.06); }
.rw-logo img { max-height: 52px; max-width: 130px; object-fit: contain; }
.rw-block { padding: 6rem 0; background: var(--rw-cream); }
.rw-block.alt { background: #fff; }
body.dark-theme .rw-block { background: var(--rw-forest); }
body.dark-theme .rw-block.alt { background: #0a1a11; }
.rw-h2 { font-family: var(--rw-display); font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.02em; margin-bottom: 2.4rem; }
.rw-link { font-weight: 700; color: var(--rw-green); text-decoration: none; }
.rw-svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.rw-svc { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 2rem 1rem; border-radius: 24px; background: #fff; border: 1px solid rgba(20,32,26,.08); color: inherit; font-weight: 700; font-size: 1.1rem; text-decoration: none; transition: transform .3s var(--rw-ease), background .3s, color .3s; }
.rw-svc i { font-size: 2.2rem; color: var(--rw-green); transition: color .3s; }
.rw-svc:hover { transform: translateY(-8px); background: var(--rw-green); color: #fff; }
.rw-svc:hover i { color: var(--rw-yellow); }
body.dark-theme .rw-svc { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.rw-work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.rw-work { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--rw-cream); display: block; }
.rw-work img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--rw-ease); }
.rw-work:hover img { transform: scale(1.07); }
.rw-work span { position: absolute; left: 1rem; bottom: 1rem; background: #fff; color: var(--rw-ink); padding: .5rem 1rem; border-radius: 999px; font-weight: 700; }
.rw-end { padding: 6rem 0; background: var(--rw-forest); color: #fff; }
.rw-end h2 { font-size: clamp(2.6rem, 6vw, 4.6rem); color: #fff; margin-bottom: 1.6rem; }
.rw-end .rw-btn.primary { background: var(--rw-yellow); color: var(--rw-ink); }
.rw-end .rw-btn.primary .arrow { background: var(--rw-ink); color: #fff; }
.rw-end .rw-btn.ghost { border-color: #fff; color: #fff; }
.rw-footer { background: #08130d; color: #cfe0d5; text-align: center; padding-bottom: 2rem; }
.rw-footer .imigongo-band { margin-bottom: 2.5rem; }
.rw-footer-logo { height: 44px; margin-bottom: 1.4rem; }
.rw-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; margin-bottom: 1.2rem; }
.rw-footer a { color: inherit; text-decoration: none; }
.rw-footer a:hover { color: var(--rw-yellow); }
.rw-footer-social { display: flex; justify-content: center; gap: .8rem; margin-bottom: 1.4rem; }
.rw-footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; }
.rw-footer p { opacity: .5; font-size: .85rem; margin: 0; }
.rw-float.f2 { top: 4%; right: -2%; bottom: auto; }
@media (max-width: 575px) { .rw-block, .rw-end { padding: 4rem 0; } }

/* hero without photos: centred, calm */
.rw-hero { padding: 9rem 0 7rem; text-align: center; }
.rw-hero .rw-cta { justify-content: center; }
.rw-hero h1 { max-width: 14ch; margin-inline: auto; }
.rw-marquee { border-block-color: var(--rw-green); }
.rw-kigali { background: linear-gradient(160deg, #0d3a22, var(--rw-green)); }

/* clients + partners */
.rw-clients { padding: 4rem 0 5rem; }
.rw-logo { height: 56px; padding: 0 .4rem; }
.rw-logo.dark { background: var(--rw-ink); border-radius: 12px; padding: 0 1rem; }
.rw-logo.dark img { max-height: 30px; }
.rw-logo.round img { border-radius: 50%; width: 56px; height: 56px; }
.rw-word { font-family: var(--rw-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; color: var(--rw-green); white-space: nowrap; }

/* company profile: flowing */
.rw-profile { position: relative; padding: 9rem 0 10rem; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #0d3a22 0%, var(--rw-green) 60%, #2fa866 100%); }
.rw-wave { position: absolute; left: 0; width: 100%; height: 90px; fill: var(--rw-cream); }
.rw-wave.top { top: -1px; fill: #fff; } .rw-wave.bottom { bottom: -1px; fill: var(--rw-cream); }
body.dark-theme .rw-wave.top { fill: #0a1a11; } body.dark-theme .rw-wave.bottom { fill: var(--rw-forest); }
.rw-profile::before, .rw-profile::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); animation: rw-drift 14s ease-in-out infinite; }
.rw-profile::before { width: 420px; height: 420px; left: -120px; top: 20%; }
.rw-profile::after { width: 300px; height: 300px; right: -80px; bottom: 15%; animation-delay: -6s; }
@keyframes rw-drift { 50% { transform: translate(40px, -30px) scale(1.08); } }
.rw-label.light { text-align: left; color: #fff; opacity: .7; }
.rw-h2.light { color: #fff; max-width: 18ch; }
.rw-flow { position: absolute; left: 0; top: 14rem; width: 100%; height: 140px; fill: none; stroke: rgba(255,255,255,.45); stroke-width: 2; stroke-dasharray: 8 10; animation: rw-dash 30s linear infinite; }
@keyframes rw-dash { to { stroke-dashoffset: -400; } }
.rw-profile-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin: 2rem 0 2.4rem; }
.rw-pcard { background: rgba(255,255,255,.12); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.22); border-radius: 28px 28px 28px 80px; padding: 1.8rem; transition: transform .4s var(--rw-ease); }
.rw-pcard:nth-child(2) { transform: translateY(2.4rem); border-radius: 28px 80px 28px 28px; }
.rw-pcard:hover { transform: translateY(-8px); }
.rw-pcard:nth-child(2):hover { transform: translateY(1.6rem); }
.rw-pcard b { font-family: var(--rw-display); font-size: 1.1rem; color: var(--rw-yellow); }
.rw-pcard h3 { font-size: 1.5rem; margin: .4rem 0 .5rem; color: #fff; }
.rw-pcard p { margin: 0; opacity: .85; }
.rw-values { display: flex; flex-wrap: wrap; gap: .6rem; margin: 4rem 0 2rem; }
.rw-values span { padding: .5rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.4); font-weight: 600; }
.rw-btn.ghost.light { border-color: #fff; color: #fff; }
.rw-btn.ghost.light:hover { background: #fff; color: var(--rw-green); }
@media (max-width: 767px) { .rw-profile-grid { grid-template-columns: 1fr; } .rw-pcard:nth-child(2) { transform: none; } .rw-flow { display: none; } .rw-profile { padding: 7rem 0 8rem; } }

/* smaller work */
.rw-work-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 220px)); gap: 1rem; }
.rw-work { aspect-ratio: 1; border-radius: 18px; }
.rw-work span { font-size: .8rem; padding: .3rem .7rem; left: .6rem; bottom: .6rem; }
.rw-logo.dark img { width: 150px; max-height: 28px; } .rw-logo img[src$=".svg"] { width: 130px; }

/* scrolling logos, equal size */
.rw-clients { padding: 3.5rem 0 4rem; overflow: hidden; }
.rw-scroll { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rw-track { display: flex; gap: 1.2rem; width: max-content; animation: rw-scroll 40s linear infinite; }
.rw-scroll.rev .rw-track { animation-direction: reverse; animation-duration: 30s; }
.rw-scroll:hover .rw-track { animation-play-state: paused; }
.rw-logo { flex: none; width: 170px; height: 84px; padding: 12px 18px; background: #fff; border: 1px solid rgba(20,32,26,.08); border-radius: 16px; display: grid; place-items: center; }
.rw-logo img, .rw-logo img[src$=".svg"] { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; border-radius: 0; }
@media (prefers-reduced-motion: reduce) { .rw-track { animation: none; } }
.rw-logo { display: flex; align-items: center; justify-content: center; }
.rw-logo img, .rw-logo img[src$=".svg"] { width: auto; height: auto; max-width: 100%; max-height: 100%; }

/* logos: no borders, tighter, slower */
.rw-logo { border: 0; background: transparent; border-radius: 0; width: 140px; padding: 10px 12px; }
.rw-track { gap: .25rem; animation-duration: 80s; }
.rw-scroll.rev .rw-track { animation-duration: 60s; }
.rw-track { gap: 2.5rem; }
.rw-track { gap: 5rem; }

/* service tiles as buttons + modal */
button.rw-svc { font: inherit; cursor: pointer; }
.rw-modal .modal-content { border-radius: 28px; padding: 2.4rem 2rem 2rem; text-align: center; border: 0; }
.rw-modal .btn-close { position: absolute; top: 1.1rem; right: 1.1rem; }
.rw-modal-icon { font-size: 3rem; color: var(--rw-green); display: block; margin-bottom: .6rem; }
.rw-modal h3 { font-family: var(--rw-display); font-size: 2rem; }
.rw-modal p { opacity: .75; margin-bottom: 1.6rem; }
.rw-sub { opacity: .65; margin-bottom: 2.4rem; max-width: 40rem; }

/* industries */
.rw-ind-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; }
.rw-ind { padding: 1.8rem; border-radius: 24px; background: var(--rw-cream); transition: transform .35s var(--rw-ease), background .35s, color .35s; }
.rw-ind i { font-size: 1.8rem; color: var(--rw-green); }
.rw-ind h3 { font-size: 1.15rem; margin: .8rem 0 .4rem; }
.rw-ind p { margin: 0; font-size: .95rem; opacity: .75; }
.rw-ind:hover { transform: translateY(-6px); background: var(--rw-green); color: #fff; }
.rw-ind:hover i { color: #fff; }
body.dark-theme .rw-ind { background: rgba(255,255,255,.05); }

/* company profile / our story */
.st-hero { position: relative; padding: 11rem 0 9rem; color: #fff; overflow: hidden; background: linear-gradient(135deg, #0d3a22, var(--rw-green) 70%, #2fa866); }
.st-hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: rgba(255,255,255,.07); right: -140px; top: -120px; animation: rw-drift 14s ease-in-out infinite; }
.st-hero h1 { font-family: var(--rw-display); font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -.03em; color: #fff; margin: 1rem 0 1.4rem; }
.st-hero h1 em { color: var(--rw-yellow); }
.st-lead { font-size: 1.25rem; max-width: 34rem; opacity: .9; }
.st-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--rw-cream); }
.st-journey { padding: 5rem 0; background: var(--rw-cream); }
.st-journey .container { position: relative; max-width: 900px; }
.st-path { position: absolute; left: 50%; top: 0; height: 100%; width: 40px; transform: translateX(-50%); fill: none; stroke: var(--rw-green); stroke-width: 3; stroke-dasharray: 6 10; opacity: .5; }
.st-step { position: relative; width: 46%; padding: 1.8rem; margin-bottom: 3rem; background: #fff; border-radius: 28px 28px 28px 70px; box-shadow: 0 18px 40px rgba(20,32,26,.08); }
.st-step.right { margin-left: auto; border-radius: 28px 70px 28px 28px; }
.st-step::after { content: ""; position: absolute; top: 2.2rem; right: -9.5%; width: 18px; height: 18px; border-radius: 50%; background: var(--rw-green); box-shadow: 0 0 0 6px rgba(31,138,76,.2); }
.st-step.right::after { right: auto; left: -9.5%; }
.st-year { color: var(--rw-green); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.st-step h2 { font-family: var(--rw-display); font-size: 1.8rem; margin: .3rem 0 .6rem; }
.st-step p { margin: 0 0 .6rem; opacity: .75; }
.st-numbers { background: var(--rw-forest); color: #fff; padding: 4.5rem 0; }
.st-numbers .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.st-num b { display: block; font-family: var(--rw-display); font-size: clamp(2.6rem, 6vw, 4.4rem); color: var(--rw-yellow); line-height: 1; }
.st-num span { opacity: .75; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; }
.st-vm { padding: 5rem 0; background: var(--rw-cream); }
.st-vm .container { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.st-card { background: #fff; padding: 2.4rem; border-radius: 36px 36px 36px 100px; }
.st-card.dark { background: var(--rw-green); color: #fff; border-radius: 36px 100px 36px 36px; }
.st-card h2 { font-family: var(--rw-display); font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0; line-height: 1.2; color: inherit; }
.st-block { padding: 5rem 0; background: var(--rw-cream); }
.st-block.alt { background: #fff; }
.st-vals { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; }
.st-val { padding: 1.6rem; border-radius: 22px; background: #fff; border: 1px solid rgba(20,32,26,.08); display: flex; flex-direction: column; gap: .4rem; }
.st-val b { font-family: var(--rw-display); font-size: 1.4rem; color: var(--rw-green); }
.st-val span { opacity: .7; }
.st-tags { display: flex; flex-wrap: wrap; gap: .7rem; }
.st-tags span { padding: .7rem 1.3rem; border-radius: 999px; background: var(--rw-cream); font-weight: 600; transition: .3s; }
.st-tags span:hover { background: var(--rw-green); color: #fff; transform: translateY(-3px); }
.st-whys { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.4rem; }
.st-why { display: flex; flex-direction: column; gap: .3rem; padding-top: 1rem; border-top: 3px solid var(--rw-green); }
.st-why i { font-style: normal; color: var(--rw-green); font-weight: 700; }
.st-why b { font-size: 1.2rem; }
.st-why span { opacity: .7; }
.st-info { padding: 0 0 5rem; background: var(--rw-cream); }
.st-infobox { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; padding: 2rem; border-radius: 28px; background: #fff; }
.st-infobox small { display: block; opacity: .55; text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; }
body.dark-theme .st-journey, body.dark-theme .st-vm, body.dark-theme .st-block, body.dark-theme .st-info { background: var(--rw-forest); }
body.dark-theme .st-block.alt { background: #0a1a11; }
body.dark-theme .st-step, body.dark-theme .st-card:not(.dark), body.dark-theme .st-val, body.dark-theme .st-infobox, body.dark-theme .st-tags span { background: rgba(255,255,255,.06); color: #fff; }
@media (max-width: 767px) {
  .st-step, .st-step.right { width: 100%; margin-left: 0; } .st-step::after, .st-path { display: none; }
  .st-vm .container { grid-template-columns: 1fr; } .st-hero { padding: 8rem 0 7rem; }
}

/* products */
.rw-prod-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem; }
.rw-prod { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.4rem; border-radius: 24px; background: #fff; border: 1px solid rgba(20,32,26,.08); color: inherit; text-decoration: none; transition: transform .35s var(--rw-ease), box-shadow .35s; }
.rw-prod:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(20,32,26,.12); color: inherit; }
.rw-prod .pimg { height: 84px; display: flex; align-items: center; margin-bottom: .6rem; }
.rw-prod .pimg img { max-height: 100%; max-width: 70%; object-fit: contain; }
.rw-prod b { font-family: var(--rw-display); font-size: 1.3rem; }
.rw-prod > span:not(.pimg) { opacity: .7; font-size: .92rem; }
.rw-prod > i { position: absolute; top: 1.2rem; right: 1.2rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--rw-cream); color: var(--rw-green); transition: .3s; }
.rw-prod:hover > i { background: var(--rw-green); color: #fff; }
body.dark-theme .rw-prod { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }

/* contact */
.rw-contact { position: relative; padding: 9rem 0 6rem; color: #fff; overflow: hidden; background: linear-gradient(135deg, #0d3a22, var(--rw-green) 75%, #2fa866); }
.rw-contact .rw-wave.top { fill: var(--rw-cream); }
body.dark-theme .rw-contact .rw-wave.top { fill: var(--rw-forest); }
.rw-contact::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: rgba(255,255,255,.07); right: -120px; bottom: -140px; animation: rw-drift 14s ease-in-out infinite; }
.rw-contact-h { font-family: var(--rw-display); font-size: clamp(3rem, 8vw, 6.5rem); line-height: 1; letter-spacing: -.03em; color: #fff; margin: .6rem 0 3rem; }
.rw-contact-h em { color: var(--rw-yellow); }
.rw-contact-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1.1rem; }
.rw-cc { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.7rem; border-radius: 28px; background: rgba(255,255,255,.1); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.22); color: #fff; text-decoration: none; transition: transform .35s var(--rw-ease), background .35s, color .35s; min-height: 220px; }
.rw-cc:hover { transform: translateY(-8px); background: #fff; color: var(--rw-ink); }
.rw-cc > i { font-size: 2rem; margin-bottom: auto; }
.rw-cc small { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; opacity: .7; }
.rw-cc b { font-size: 1.15rem; word-break: break-word; }
.rw-cc a { color: inherit; text-decoration: none; }
.rw-cc a:hover b { text-decoration: underline; }
.rw-cc span { opacity: .8; font-size: .95rem; }
.rw-cc.big { background: var(--rw-yellow); color: var(--rw-ink); border: 0; }
.rw-cc.big:hover { background: #fff; }
.rw-cc.big b { font-family: var(--rw-display); font-size: 2rem; }
.rw-cc .go { position: absolute; top: 1.3rem; right: 1.3rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); font-style: normal; }
.rw-cc.big .go { background: var(--rw-ink); color: #fff; }
.rw-cc:hover .go { background: var(--rw-green); color: #fff; }
.rw-copy { align-self: flex-start; margin-top: .5rem; padding: .4rem .9rem; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; font-weight: 600; font-size: .85rem; }
.rw-copy:hover { background: var(--rw-green); border-color: var(--rw-green); color: #fff; }
.rw-hours { margin: 2rem 0 0; display: flex; align-items: center; gap: .6rem; opacity: .9; }
@media (max-width: 991px) { .rw-contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .rw-contact-grid { grid-template-columns: 1fr; } .rw-cc { min-height: 0; gap: .5rem; } .rw-cc > i { margin-bottom: .4rem; } .rw-contact { padding: 7rem 0 4rem; } }
.rw-svc-grid { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.rw-svc small { font-weight: 500; font-size: .85rem; opacity: .7; text-align: center; }
.rw-svc:hover small { opacity: .9; }

/* contact page */
.cu-hero { padding: 10rem 0 9rem; }
.cu-hero::before { top: -140px; bottom: auto; }
.cu-hero .st-wave { fill: var(--rw-cream); }
body.dark-theme .cu-hero .st-wave { fill: var(--rw-forest); }
.cu-body { padding: 2rem 0 6rem; background: var(--rw-cream); }
body.dark-theme .cu-body { background: var(--rw-forest); }
.cu-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.cu-compose { padding: 2.4rem; border-radius: 36px 36px 36px 100px; background: #fff; box-shadow: 0 24px 50px rgba(20,32,26,.08); }
body.dark-theme .cu-compose { background: rgba(255,255,255,.06); }
.cu-compose .rw-h2 { font-size: 2rem; margin-bottom: 1.4rem; }
.cu-compose label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.cu-compose input, .cu-compose textarea { display: block; width: 100%; margin-top: .4rem; padding: .9rem 1.1rem; border: 2px solid rgba(20,32,26,.1); border-radius: 16px; background: var(--rw-cream); font: inherit; transition: border-color .25s, box-shadow .25s; }
.cu-compose input:focus, .cu-compose textarea:focus { outline: 0; border-color: var(--rw-green); box-shadow: 0 0 0 4px rgba(31,138,76,.15); }
.cu-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .6rem; }
.cu-actions .rw-btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: .9rem 1.4rem; }
.cu-actions .rw-btn.ghost { border: 2px solid var(--rw-ink); }
.cu-map { position: relative; min-height: 420px; border-radius: 36px 100px 36px 36px; overflow: hidden; box-shadow: 0 24px 50px rgba(20,32,26,.12); }
.cu-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cu-pin { position: absolute; left: 1rem; bottom: 1rem; background: #fff; color: var(--rw-ink); padding: .6rem 1.1rem; border-radius: 999px; font-weight: 700; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.cu-pin i { color: var(--rw-green); }
@media (max-width: 767px) { .cu-split { grid-template-columns: 1fr; } .cu-hero { padding: 8rem 0 7rem; } .cu-map { min-height: 300px; } }

/* contact page: compact, flat, no gradients */
.cu-hero { background: var(--rw-green); padding: 8rem 0 7rem; }
.cu-hero::before, .cu-hero::after { display: none; }
.cu-hero .rw-contact-h { font-size: clamp(2rem, 4.5vw, 3rem); margin: .4rem 0 1.6rem; }
.cu-hero .rw-contact-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .9rem; max-width: 1000px; }
.cu-hero .rw-cc { min-height: 0; padding: 1.2rem 1.3rem; border-radius: 20px; gap: .25rem; background: rgba(255,255,255,.14); backdrop-filter: none; border: 0; }
.cu-hero .rw-cc:hover { background: #fff; }
.cu-hero .rw-cc > i { font-size: 1.4rem; margin-bottom: .5rem; }
.cu-hero .rw-cc b { font-size: 1.02rem; }
.cu-hero .rw-cc span { font-size: .9rem; }
.cu-hero .rw-cc.big { background: var(--rw-yellow); }
.cu-hero .rw-cc.big:hover { background: #fff; }
.cu-hero .rw-cc.big b { font-family: inherit; font-size: 1.1rem; }
.cu-hero .rw-hours { font-size: .9rem; margin-top: 1.4rem; }
@media (max-width: 575px) { .cu-hero { padding: 7rem 0 6rem; } }
.st-title { font-family: var(--rw-display); font-size: clamp(2.8rem, 7vw, 6rem); line-height: 1.02; letter-spacing: -.03em; color: #fff; margin: 1rem 0 1.4rem; }
.st-title em { color: var(--rw-yellow); }
#profile.st-hero { padding: 8rem 0 8rem; }

/* hero tagline */
.rw-tagline { font-size: clamp(1.1rem, 2vw, 1.5rem); max-width: 36rem; margin: 0 auto 1.4rem; color: rgba(20,32,26,.8); }
.rw-tagline mark { background: linear-gradient(transparent 62%, rgba(31,138,76,.28) 62%); color: var(--rw-green); font-weight: 700; padding: 0 .15em; }
body.dark-theme .rw-tagline { color: rgba(255,255,255,.85); }
.rw-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.rw-chips span { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem 1rem; border-radius: 999px; background: #fff; border: 1px solid rgba(31,138,76,.25); font-weight: 600; font-size: .92rem; color: var(--rw-ink); }
.rw-chips i { color: var(--rw-green); }
body.dark-theme .rw-chips span { background: rgba(255,255,255,.08); color: #fff; }
.rw-hero h1 .rw-rotator { color: var(--rw-green); display: inline-block; min-width: 1ch; } .rw-hero h1 .rw-rotator::after { color: var(--rw-ink); font-weight: 400; }

/* careers band */
.rw-careers { padding: 4rem 0 6rem; background: var(--rw-cream); }
body.dark-theme .rw-careers { background: var(--rw-forest); }
.rw-careers-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; padding: 2.2rem 2.4rem; border-radius: 32px; background: #fff; border: 1px solid rgba(20,32,26,.08); }
body.dark-theme .rw-careers-box { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.rw-careers-box h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 .2rem; }
.rw-careers-box p { margin: 0; opacity: .7; }
