/* ============================================================
   RF & Semiconductor Packaging Lab — Redesign design system
   Self-contained. Loaded on top of Bootstrap grid + utilities.
   Author: UI redesign, 2026-07
   ============================================================ */

:root {
  /* Palette — deep navy + electric cyan (RF/signals), warm accent */
  --navy-900: #071a33;
  --navy-800: #0b2447;
  --navy-700: #123056;
  --ink: #0f1b2d;
  --slate-700: #33415c;
  --slate-500: #5b6b86;
  --slate-400: #8091a8;
  --line: #e6ebf2;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-tint: #eef4fb;

  --cyan-500: #10b6cf;
  --cyan-400: #22c9e0;
  --cyan-glow: rgba(34, 201, 224, 0.35);
  --amber: #f5a524;            /* warm accent */
  --crimson: #e23744;          /* nod to old brand, used sparingly */

  --grad-hero: linear-gradient(120deg, rgba(7,26,51,0.92) 0%, rgba(11,36,71,0.86) 45%, rgba(18,48,86,0.78) 100%);
  --grad-accent: linear-gradient(120deg, var(--cyan-500), #3b82f6);

  --shadow-sm: 0 1px 2px rgba(15,27,45,0.06), 0 1px 3px rgba(15,27,45,0.08);
  --shadow-md: 0 6px 18px rgba(15,27,45,0.08), 0 2px 6px rgba(15,27,45,0.06);
  --shadow-lg: 0 24px 48px -12px rgba(11,36,71,0.22);

  --radius: 16px;
  --radius-sm: 10px;
  --container: 1180px;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.rf {
  margin: 0;
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.rf h1, .rf h2, .rf h3, .rf h4, .rf h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 .5em;
}

.rf a { color: var(--cyan-500); text-decoration: none; transition: color .2s ease; }
.rf a:hover { color: var(--navy-800); }

.rf .container-rf { max-width: var(--container); margin: 0 auto; padding: 0 22px; }

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }

/* Section heading */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-500);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad-accent); border-radius: 2px; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.65rem); }
.section-head p { color: var(--slate-500); font-size: 1.08rem; margin: 0; }

/* Buttons */
.btn-rf {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-rf.btn-primary-rf { background: linear-gradient(120deg, var(--cyan-400), #38bdf8); color: var(--navy-900); font-weight: 700; box-shadow: 0 10px 24px -8px var(--cyan-glow); }
.btn-rf.btn-primary-rf:hover { color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 16px 30px -8px var(--cyan-glow); }
.btn-rf.btn-ghost-rf { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-rf.btn-ghost-rf:hover { color: var(--navy-900); background: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-rf.btn-dark-rf { background: var(--navy-800); color: #fff; }
.btn-rf.btn-dark-rf:hover { background: var(--navy-900); color: #fff; transform: translateY(-2px); }
.btn-rf.btn-outline-rf { background: #fff; color: var(--navy-800); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-rf.btn-outline-rf:hover { color: var(--navy-800); border-color: var(--cyan-400); transform: translateY(-2px); }

/* ===== Header / nav ===== */
.rf-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 18px 0;
}
.rf-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.rf-brand { display: flex; align-items: center; gap: .7rem; }
.rf-brand .mark {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  background: var(--grad-accent); display: grid; place-items: center;
  box-shadow: 0 8px 20px -8px var(--cyan-glow);
}
.rf-brand .mark svg { width: 24px; height: 24px; }
.rf-brand .name { font-family: var(--font-display); font-weight: 700; line-height: 1.1; color: #fff; letter-spacing: -0.01em; }
.rf-brand .name b { display: block; font-size: 1.02rem; }
.rf-brand .name span { font-size: .74rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,0.65); }

.rf-nav { display: flex; align-items: center; gap: 2rem; }
.rf-nav a { font-family: var(--font-display); font-weight: 500; font-size: .96rem; color: rgba(255,255,255,0.82); position: relative; }
.rf-nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--grad-accent); border-radius: 2px; transition: width .25s ease; }
.rf-nav a:hover, .rf-nav a.active { color: #fff; }
.rf-nav a.active::after, .rf-nav a:hover::after { width: 100%; }

/* Scrolled state — solid */
.rf-header.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: saturate(140%) blur(10px); box-shadow: var(--shadow-md); padding: 12px 0; }
.rf-header.scrolled .rf-brand .name { color: var(--ink); }
.rf-header.scrolled .rf-brand .name span { color: var(--slate-400); }
.rf-header.scrolled .rf-nav a { color: var(--slate-700); }
.rf-header.scrolled .rf-nav a:hover, .rf-header.scrolled .rf-nav a.active { color: var(--navy-800); }

.rf-menu-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.7rem; cursor: pointer; line-height: 1; }
.rf-header.scrolled .rf-menu-toggle { color: var(--navy-800); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--navy-900);
}
.hero .bg {
  position: absolute; inset: 0;
  background-image: var(--grad-hero), url("../img/slide/slide-1.jpg");
  background-size: cover; background-position: center;
  transform: scale(1.05);
}
.hero .grid-overlay {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 75%);
}
.hero .glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(90px); opacity: .5; }
.hero .glow.one { background: var(--cyan-500); top: -120px; right: -80px; }
.hero .glow.two { background: #3b82f6; bottom: -160px; left: -120px; opacity: .35; }
.hero .inner { position: relative; z-index: 2; padding: 140px 0 90px; max-width: 820px; }
.hero .tagpill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  font-size: .82rem; font-weight: 500; letter-spacing: .04em; margin-bottom: 1.4rem; backdrop-filter: blur(6px);
}
.hero .tagpill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 0 4px var(--cyan-glow); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4rem); margin-bottom: 1rem; }
.hero h1 .accent { background: linear-gradient(120deg, var(--cyan-400), #7dd3fc); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lede { font-size: 1.22rem; color: rgba(255,255,255,0.86); max-width: 640px; margin: 0 0 2rem; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* Stat strip */
.stat-strip {
  position: relative; z-index: 3; margin-top: 30px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(8px);
  max-width: 760px;
}
.stat-strip .stat { background: rgba(9,26,49,0.35); padding: 1.3rem 1.4rem; }
.stat-strip .stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; line-height: 1; }
.stat-strip .stat .num span { color: var(--cyan-400); }
.stat-strip .stat .lbl { font-size: .82rem; color: rgba(255,255,255,0.75); margin-top: .35rem; letter-spacing: .02em; }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.about-grid p.lead-p { font-size: 1.12rem; color: var(--slate-700); }
.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 1rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; color: var(--slate-700); }
.check-list li i { color: var(--cyan-500); font-size: 1.3rem; flex: none; margin-top: .1rem; }
.about-card {
  background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: 2.2rem;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.about-card::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; background: var(--cyan-500); filter: blur(70px); opacity: .3; top: -60px; right: -40px; }
.about-card .k { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--cyan-400); }
.about-card h4 { color: #fff; margin-top: .3rem; }
.about-card p { color: rgba(255,255,255,0.8); position: relative; z-index: 1; margin: 0; }
.about-card .divider { height: 1px; background: rgba(255,255,255,0.14); margin: 1.4rem 0; }

/* ===== Research pillar cards ===== */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.9rem;
  box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  position: relative; overflow: hidden;
}
.pillar::before { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 100%; background: var(--grad-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.pillar:hover::before { transform: scaleX(1); }
.pillar .picon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--bg-tint); color: var(--navy-800); font-size: 1.6rem; margin-bottom: 1.2rem;
  transition: background .25s ease, color .25s ease;
}
.pillar:hover .picon { background: var(--grad-accent); color: #fff; }
.pillar h4 { font-size: 1.22rem; margin-bottom: .6rem; }
.pillar p { color: var(--slate-500); font-size: .98rem; margin: 0; }

/* ===== CTA band ===== */
.cta-band { position: relative; overflow: hidden; background: var(--navy-800); color: #fff; border-radius: 24px; padding: 3.4rem; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 0%, rgba(34,201,224,0.25), transparent 60%); }
.cta-band h2 { color: #fff; position: relative; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.cta-band p { color: rgba(255,255,255,0.82); position: relative; max-width: 560px; margin: 0 auto 1.8rem; }
.cta-band .cta-row { position: relative; display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.rf-footer { background: var(--navy-900); color: rgba(255,255,255,0.72); padding: 72px 0 0; }
.rf-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.rf-footer h5 { color: #fff; font-size: 1rem; letter-spacing: .02em; margin-bottom: 1.1rem; }
.rf-footer .brand-line { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; }
.rf-footer .brand-line .mark { width: 40px; height: 40px; border-radius: 11px; background: var(--grad-accent); display: grid; place-items: center; }
.rf-footer .brand-line .mark svg { width: 22px; height: 22px; }
.rf-footer .brand-line b { font-family: var(--font-display); color: #fff; font-size: 1.02rem; }
.rf-footer p { font-size: .95rem; }
.rf-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.rf-footer ul a { color: rgba(255,255,255,0.72); font-size: .95rem; }
.rf-footer ul a:hover { color: var(--cyan-400); }
.rf-footer .contact-row { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; margin-bottom: .7rem; }
.rf-footer .contact-row i { color: var(--cyan-400); margin-top: .15rem; }
.rf-socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.rf-socials a { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.08); color: #fff; font-size: 1.1rem; transition: background .2s ease, transform .2s ease; }
.rf-socials a:hover { background: var(--grad-accent); color: #fff; transform: translateY(-2px); }
.rf-footer .bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 22px 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,0.5); }

/* ===== Inner page hero (breadcrumb band) ===== */
.page-hero { position: relative; overflow: hidden; background: var(--navy-900); color: #fff; padding: 150px 0 70px; }
.page-hero .bg { position: absolute; inset: 0; background: var(--grad-hero), url("/assets/img/slide/slide-2.jpg"); background-size: cover; background-position: center; }
.page-hero .grid-overlay { position: absolute; inset: 0; opacity: .5; background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px); background-size: 54px 54px; mask-image: radial-gradient(ellipse at 70% 30%, #000 0%, transparent 75%); }
.page-hero .glow { position: absolute; width: 460px; height: 460px; border-radius: 50%; filter: blur(90px); opacity: .4; background: var(--cyan-500); top: -140px; right: -60px; }
.page-hero .inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1.1rem; max-width: 640px; margin: 0; }
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .9rem; color: rgba(255,255,255,0.7); margin-bottom: 1.2rem; font-family: var(--font-display); }
.crumbs a { color: var(--cyan-400); }
.crumbs .sep { opacity: .5; }

/* ===== Team ===== */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.member-card { display: flex; gap: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .22s ease, box-shadow .22s ease; }
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.member-card .pic { flex: none; width: 118px; height: 138px; border-radius: 12px; overflow: hidden; background: var(--bg-tint); }
.member-card .pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-card .m-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 1.2rem; margin: 0; }
.member-card .m-role { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--cyan-500); margin: .25rem 0 .7rem; }
.member-card .m-bio { font-size: .92rem; color: var(--slate-500); margin: 0 0 .7rem; }
.member-card .m-mail { font-size: .9rem; }
.member-card .social { display: flex; gap: .5rem; margin-top: .8rem; }
.member-card .social a { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--bg-tint); color: var(--navy-800); font-size: 1rem; transition: all .2s ease; }
.member-card .social a:hover { background: var(--grad-accent); color: #fff; }
.member-card.featured { grid-column: 1 / -1; }
.member-card.featured .pic { width: 190px; height: 220px; }

/* ===== Publications & Awards list ===== */
.pub-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.pub-tabs { display: flex; flex-direction: column; gap: .5rem; position: sticky; top: 100px; }
.pub-tabs .tab { text-align: left; font-family: var(--font-display); font-weight: 600; font-size: .95rem; padding: .8rem 1.1rem; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--slate-700); cursor: pointer; transition: all .2s ease; display: flex; align-items: center; gap: .6rem; }
.pub-tabs .tab:hover { border-color: var(--cyan-400); color: var(--navy-800); }
.pub-tabs .tab.active { background: var(--navy-800); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.pub-tabs .tab.active i { color: var(--cyan-400); }
.doc-list { display: grid; gap: 16px; }
.doc-item { display: flex; gap: 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.doc-item:hover { transform: translateX(4px); box-shadow: var(--shadow-md); border-color: var(--cyan-400); }
.doc-item .d-ico { flex: none; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-tint); color: var(--navy-800); font-size: 1.3rem; }
.doc-item.award .d-ico { background: linear-gradient(120deg, #fef3c7, #fde68a); color: #b45309; }
.doc-item .d-title { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.02rem; line-height: 1.4; margin: 0 0 .35rem; }
.doc-item .d-meta { font-size: .9rem; color: var(--slate-500); margin: 0; }
.doc-item .d-tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: .15rem .55rem; border-radius: 999px; background: var(--bg-tint); color: var(--cyan-500); margin-left: .5rem; vertical-align: middle; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem; box-shadow: var(--shadow-sm); }
.info-card .i-ico { flex: none; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-accent); color: #fff; font-size: 1.25rem; }
.info-card h4 { margin: 0 0 .2rem; font-size: 1rem; }
.info-card p, .info-card a { margin: 0; font-size: .95rem; color: var(--slate-500); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-md); }
.contact-form .fld { margin-bottom: 1rem; }
.contact-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--slate-700); margin-bottom: .4rem; font-family: var(--font-display); }
.contact-form input, .contact-form textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: var(--bg-soft); transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan-400); box-shadow: 0 0 0 4px var(--cyan-glow); background: #fff; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); margin-bottom: 40px; line-height: 0; }
.map-wrap iframe { width: 100%; height: 340px; border: 0; }

@media (max-width: 940px) {
  .team-grid { grid-template-columns: 1fr; }
  .pub-layout { grid-template-columns: 1fr; }
  .pub-tabs { flex-direction: row; flex-wrap: wrap; position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .member-card { flex-direction: column; }
  .member-card .pic, .member-card.featured .pic { width: 100%; height: 240px; }
}

/* Reveal on scroll — progressive enhancement only (content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Back to top */
.rf-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%; background: var(--navy-800); color: #fff; display: grid; place-items: center; font-size: 1.3rem; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s ease; z-index: 998; box-shadow: var(--shadow-md); }
.rf-top.show { opacity: 1; visibility: visible; transform: none; }
.rf-top:hover { background: var(--cyan-500); color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .pillars { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .rf-footer .cols { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .rf-nav {
    position: fixed; inset: 0 0 0 auto; width: min(80%, 320px); flex-direction: column; align-items: flex-start;
    background: #fff; padding: 90px 30px 30px; gap: 1.4rem; transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--shadow-lg);
  }
  .rf-nav.open { transform: none; }
  .rf-nav a { color: var(--slate-700); font-size: 1.05rem; }
  .rf-menu-toggle { display: block; z-index: 1000; }
  .rf-header .rf-brand .name { color: #fff; }
  .cta-band { padding: 2.2rem 1.4rem; }
  .rf-footer .cols { grid-template-columns: 1fr; }
}
