/* =========================================================
   RNS Agency — site.css
   Single stylesheet. No build step.
   ========================================================= */

:root {
  --bg-0: #08080a;
  --bg-1: #0c0c0e;
  --surface: rgba(28, 28, 33, 0.65);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f1f1f4;
  --muted: #9b9ba3;
  --dim: #5e5e66;
  --gold: #d4a04c;
  --gold-2: #b9863a;
  --gold-soft: rgba(212, 160, 76, 0.16);
  --gold-line: rgba(212, 160, 76, 0.45);

  --grad-card: linear-gradient(155deg, rgba(28, 28, 33, .85), rgba(14, 14, 17, .85));
  --grad-bg:
    radial-gradient(ellipse at 50% -20%, rgba(255, 255, 255, .045), transparent 60%),
    radial-gradient(ellipse at 90% 80%, rgba(212, 160, 76, .05), transparent 55%),
    linear-gradient(180deg, #0d0d10 0%, #07070a 75%);

  --shadow-card: 0 22px 60px -22px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .04);
  --shadow-card-hover: 0 28px 80px -22px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .07);

  --radius-card: 18px;
  --radius-sm: 10px;
  --radius-pill: 999px;

  --max: 1180px;
  --pad-x: 22px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-0);
  background-image: var(--grad-bg);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- accessibility helpers ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--gold); color: #0a0a0c;
  padding: 8px 12px; border-radius: 6px;
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { left: 8px; top: 8px; }

.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;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section { padding: 80px 0; position: relative; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.012), transparent 80%); }
.section__head { max-width: 720px; margin: 0 auto 44px; text-align: center; }

@media (min-width: 720px) {
  .section { padding: 110px 0; }
}

/* ---------- typography ---------- */
.h1 {
  font-size: clamp(34px, 6.4vw, 60px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.024em;
  background: linear-gradient(180deg, #fff 0%, #c9c9d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 18px;
}

.h2 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.024em;
  background: linear-gradient(180deg, #fff 0%, #c9c9d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

.gold-text {
  background: linear-gradient(180deg, #f0c477 0%, #b9863a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 28px;
}

.muted-lead {
  color: var(--muted);
  font-size: 16px;
}

/* ---------- eyebrow pill ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 6px 12px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  font-weight: 600;
}
.eyebrow svg { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  border: 1px solid var(--border-strong);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(180deg, #23232a, #16161c);
  color: var(--text);
  border-color: var(--gold-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 6px 24px -10px rgba(0,0,0,.6);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 12px 32px -12px rgba(0,0,0,.7);
}

.btn--gold {
  background: linear-gradient(180deg, #e3b15a 0%, #b9863a 100%);
  color: #1a1206;
  border-color: rgba(0,0,0,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 10px 28px -10px rgba(212,160,76,.5);
}
.btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 14px 32px -8px rgba(212,160,76,.6);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover {
  border-color: var(--gold-line);
  color: var(--gold);
}

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  background: rgba(8, 8, 10, .7);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -0.012em;
  font-size: 17px;
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #e3b15a, #b9863a);
  color: #1a1206;
  font-weight: 800;
  font-size: 15px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 6px 18px -8px rgba(212,160,76,.6);
}
.brand__word {
  background: linear-gradient(180deg, #fff 0%, #c9c9d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__sub {
  color: var(--gold);
  font-weight: 700;
}

.nav__links {
  display: none;
  margin-left: auto;
  gap: 26px;
  font-size: 14px;
  color: var(--muted);
}
.nav__links a { transition: color .15s ease; }
.nav__links a:hover { color: var(--text); }

.nav__cta { display: none; }

@media (min-width: 880px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; margin-left: 8px; }
  .brand { font-size: 18px; }
}

/* hamburger */
.hamburger {
  margin-left: auto;
  width: 42px; height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: linear-gradient(180deg, #1a1a20, #101015);
}
.hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text);
  margin: 3px 0;
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

@media (min-width: 880px) { .hamburger { display: none; } }

/* drawer */
.drawer {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 60;
}
.drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity .25s ease;
}
.drawer__panel {
  position: absolute;
  top: 0; right: 0;
  height: 100dvh;
  width: min(86vw, 360px);
  background: linear-gradient(180deg, #111116 0%, #08080a 100%);
  border-left: 1px solid var(--border);
  padding: 72px 26px 26px;
  display: flex;
  flex-direction: column;
  transform: translateX(110%);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
  box-shadow: -30px 0 60px -10px rgba(0,0,0,.6);
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer__panel { transform: translateX(0); }
.drawer.open .drawer__scrim { opacity: 1; }
.drawer__links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.drawer__links a {
  padding: 14px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 16px;
}
.drawer__links a:hover { background: rgba(255,255,255,.03); border-color: var(--border); }
.drawer__cta {
  margin-top: auto;
  margin-bottom: env(safe-area-inset-bottom, 0);
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
}

@media (min-width: 880px) { .drawer { display: none; } }

/* ---------- hero ---------- */
.hero {
  padding: 56px 0 48px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero { padding: 100px 0 80px; }
  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 72px; }
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 13.5px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #6bd47a;
  box-shadow: 0 0 0 4px rgba(107,212,122,.15);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(107,212,122,.15); }
  50%     { box-shadow: 0 0 0 8px rgba(107,212,122,.05); }
}

/* hero mockup */
.hero__mockup { display: none; }
@media (min-width: 720px) { .hero__mockup { display: block; } }
.mockup {
  position: relative;
  width: 100%;
  height: 460px;
  perspective: 1200px;
}
.mockup__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle at 60% 40%, rgba(212,160,76,.18), transparent 60%);
  filter: blur(20px);
  z-index: 0;
}
.mockup__card {
  position: absolute;
  inset: auto 8% 8% 8%;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  transform-origin: top right;
  backdrop-filter: blur(6px);
}
.mockup__card--a { inset: 4% 4% auto 4%; transform: rotate(-2deg); animation: float 8s ease-in-out infinite; }
.mockup__card--b { inset: 28% 12% auto 12%; transform: rotate(1deg); animation: float 9s ease-in-out -2s infinite; border-color: var(--gold-line); }
.mockup__card--c { inset: 52% 20% auto 20%; transform: rotate(-1deg); animation: float 10s ease-in-out -4s infinite; }
@keyframes float {
  0%,100% { transform: translateY(0) rotate(var(--r,0deg)); }
  50%     { transform: translateY(-6px) rotate(var(--r,0deg)); }
}
.mockup__row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.mockup__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted);
}
.mockup__dot--gold {
  background: linear-gradient(180deg, #e3b15a, #b9863a);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.mockup__title { font-weight: 600; font-size: 14.5px; }
.mockup__sub { color: var(--muted); font-size: 13px; margin: 0; }

/* ---------- trust band ---------- */
.trust {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.012), transparent);
}
.trust__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 18px;
}
@media (min-width: 720px) { .trust__row { grid-template-columns: repeat(4, 1fr); } }

.trust__item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust__icon {
  display: inline-grid;
  place-items: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  flex-shrink: 0;
}
.trust__icon svg { width: 16px; height: 16px; }
.trust__num { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.trust__lbl { color: var(--muted); font-size: 13px; }

/* ---------- service / card grid ---------- */
.grid { display: grid; gap: 18px; }
.grid--svc { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--work { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--proc { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--price { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); align-items: stretch; }

.card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-card-hover);
}
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--gold-soft);
  border: 1px solid var(--gold-line);
  color: var(--gold);
  margin-bottom: 16px;
}
.card__icon svg { width: 22px; height: 22px; }
.card__h { font-size: 18px; letter-spacing: -0.012em; margin-bottom: 8px; }
.card__p { color: var(--muted); font-size: 14.5px; }

/* ---------- case ---------- */
.case {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  position: relative;
  overflow: hidden;
}
.case::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-card);
  padding: 1px;
  background: linear-gradient(140deg, var(--gold-line), transparent 50%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none;
}
.case:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.case:hover::after { opacity: 1; }
.case__tag {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.case__h { font-size: 22px; letter-spacing: -0.018em; }
.case__p { color: var(--muted); font-size: 14.5px; }
.case__link {
  margin-top: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.case:hover .case__link { color: var(--gold); }

/* ---------- process step ---------- */
.step {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.step__num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-line);
  background: var(--gold-soft);
  margin-bottom: 14px;
}
.step__h { font-size: 18px; letter-spacing: -0.012em; margin-bottom: 6px; }
.step__p { color: var(--muted); font-size: 14.5px; }

/* ---------- tech chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.chip {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
  transition: border-color .15s ease, color .15s ease, transform .15s ease;
}
.chip:hover { border-color: var(--gold-line); color: var(--gold); transform: translateY(-1px); }

/* ---------- pricing ---------- */
.price {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.price--featured {
  border-color: var(--gold-line);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,160,76,.08), transparent 60%),
    var(--grad-card);
  box-shadow: var(--shadow-card-hover), 0 0 0 1px var(--gold-line) inset;
}
.price__badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1a1206;
  background: linear-gradient(180deg, #e3b15a, #b9863a);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.price__h { font-size: 18px; letter-spacing: -0.012em; }
.price__amt {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 0;
}
.price__from { color: var(--muted); font-size: 13px; }
.price__big {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.024em;
  background: linear-gradient(180deg, #fff, #c9c9d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price__per { color: var(--muted); font-size: 13px; }
.price__sub { color: var(--muted); font-size: 14px; }
.price__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0 18px;
}
.price__list li {
  color: var(--muted);
  font-size: 14px;
  padding-left: 22px;
  position: relative;
}
.price__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 7px;
  border-left: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(-45deg);
}
.price__cta { margin-top: auto; width: 100%; }

/* ---------- cta block ---------- */
.cta {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,160,76,.1), transparent 60%),
    var(--grad-card);
  border: 1px solid var(--gold-line);
  border-radius: 22px;
  padding: 48px 32px;
  text-align: center;
  box-shadow: var(--shadow-card-hover);
  max-width: 820px;
  margin: 0 auto;
}
.cta__h { margin-bottom: 10px; }
.cta__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 24px 0 10px;
}
.cta__note { color: var(--dim); font-size: 13px; margin-top: 6px; }

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  margin-top: 40px;
}
.footer__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; } }

.footer__brand { max-width: 320px; }
.footer__tag { color: var(--muted); font-size: 14px; margin: 14px 0; }
.footer__addr {
  font-style: normal;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.footer__addr strong { color: var(--text); font-weight: 600; }
.footer__copy { color: var(--dim); font-size: 12.5px; }

.footer__h {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}
.footer ul { display: flex; flex-direction: column; gap: 8px; }
.footer ul a { color: var(--muted); font-size: 14px; transition: color .15s ease; }
.footer ul a:hover { color: var(--gold); }

.footer__strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad-x) 0;
  border-top: 1px solid var(--border);
  color: var(--dim);
  font-size: 12.5px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.footer__dot { color: var(--gold); }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .55s ease-out, transform .55s ease-out;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .mockup__card { animation: none; }
  .dot { animation: none; box-shadow: none; }
}
