/*!
 * ROCKSOLID — design system.
 *
 * GENERATED FILE — do not edit by hand.
 * Regenerate with `npm run export:wp:css` in the rocksolid-web project.
 * Theme chrome belongs in shell.css, which this script never touches.
 */

/* ==========================================================================
   ROCKSOLID — Solid by Design.
   Palette and usage ratio follow the brand guide:
   60% Off White / Warm Concrete · 25% Graphite · 10% Stone · 5% Rocksolid Red.
   Red is an accent, never the field.
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --red:        #B11E23;
  --red-dark:   #8E181C;
  --red-soft:   rgba(177, 30, 35, .08);
  --graphite:   #1C1C1C;
  --graphite-2: #2A2A2A;
  --concrete:   #6B6B6B;
  --stone:      #D8D6D2;
  --stone-2:    #E7E5E1;
  --warm:       #F2F0EC;
  --off-white:  #FAFAF8;
  --bronze:     #8A6A45;
  --white:      #FFFFFF;

  /* Extended tones for the light concept: sage as a calm secondary, beige as
     the warm ground. Red stays the only high-contrast accent. */
  --sage:        #8C9A86;
  --sage-deep:   #64715F;
  --sage-soft:   #E3E8E0;
  --sage-tint:   rgba(140, 154, 134, .14);
  --beige:       #E9E2D6;
  --beige-deep:  #DBD1BF;
  --beige-bg:    #F6F3ED;

  --bg:         var(--warm);
  --bg-alt:     var(--off-white);
  --text:       var(--graphite);
  --text-muted: var(--concrete);
  --line:       var(--stone);

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --step--1: clamp(.78rem, .76rem + .1vw, .84rem);
  --step-0:  clamp(.95rem, .92rem + .16vw, 1.05rem);
  --step-1:  clamp(1.1rem, 1.04rem + .3vw, 1.3rem);
  --step-2:  clamp(1.35rem, 1.2rem + .7vw, 1.85rem);
  --step-3:  clamp(1.7rem, 1.4rem + 1.4vw, 2.6rem);
  --step-4:  clamp(2.1rem, 1.6rem + 2.4vw, 3.6rem);
  --step-5:  clamp(2.6rem, 1.7rem + 4vw, 5.2rem);

  --gutter: clamp(1.15rem, 4vw, 3rem);
  --section: clamp(4rem, 9vw, 8.5rem);
  --maxw: 1280px;
  --maxw-text: 62ch;

  --radius:    4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(28,28,28,.05), 0 2px 8px rgba(28,28,28,.04);
  --shadow-md: 0 4px 12px rgba(28,28,28,.07), 0 12px 32px rgba(28,28,28,.06);
  --shadow-lg: 0 12px 28px rgba(28,28,28,.10), 0 32px 64px rgba(28,28,28,.10);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --dur: .38s;

  --header-h: 76px;
}

/* ── Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--red); color: #fff; }

/* ── Typography ─────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.018em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); line-height: 1.14; }
h2 { font-size: var(--step-4); line-height: 1.18; }
h3 { font-size: var(--step-2); letter-spacing: -.012em; line-height: 1.25; }
h4 { font-size: var(--step-1); letter-spacing: -.008em; line-height: 1.32; }
p { text-wrap: pretty; }
strong { font-weight: 600; }

.display-xl { font-size: var(--step-5); text-transform: uppercase; letter-spacing: -.022em; font-weight: 800; line-height: 1.14; }
.display-lg { font-size: var(--step-4); text-transform: uppercase; letter-spacing: -.018em; font-weight: 800; line-height: 1.18; }
.lead { font-size: var(--step-1); line-height: 1.62; color: var(--text-muted); max-width: var(--maxw-text); letter-spacing: -.008em; }
.body-lg { font-size: var(--step-1); line-height: 1.65; }
.muted { color: var(--text-muted); }
.measure { max-width: var(--maxw-text); }

/* Eyebrow — the "technical credibility" cue: mono, uppercase, red rule. */
.rs-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-mono); font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: .09em; font-weight: 600;
  color: var(--red); margin-bottom: 1rem;
}
.rs-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--red); flex: none; }
.rs-eyebrow--muted { color: var(--concrete); }
.rs-eyebrow--muted::before { background: var(--concrete); }
.rs-eyebrow--light { color: rgba(255,255,255,.72); }
.rs-eyebrow--light::before { background: rgba(255,255,255,.42); }
.rs-eyebrow--center { justify-content: center; }

.num {
  font-family: var(--font-mono); font-size: var(--step--1); font-weight: 500;
  letter-spacing: .1em; color: var(--red);
}

/* ── Layout ─────────────────────────────────────────────────────────── */
.rs-container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.rs-container--narrow { max-width: 880px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--alt { background: var(--off-white); }
.section--stone { background: var(--stone-2); }
.section--dark { background: var(--graphite); color: var(--off-white); }
.section--dark .lead, .section--dark .muted { color: rgba(250,250,248,.62); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.grid { display: grid; gap: clamp(1.25rem, 2.6vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.stack > * + * { margin-top: 1.05rem; }
.rs-cluster { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.center { text-align: center; }
.center .rs-eyebrow { justify-content: center; }
.center .lead { margin-inline: auto; }

.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 4.5vw, 3.6rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 + .lead { margin-top: 1.15rem; }

.split {
  display: grid; gap: clamp(1.8rem, 4vw, 4.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } }
@media (min-width: 900px) { .split--sticky > :first-child { position: sticky; top: calc(var(--header-h) + 2.5rem); } }

.rule { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem, 4vw, 3.5rem); }

/* ── Buttons ────────────────────────────────────────────────────────── */
.rs-btn {
  --btn-bg: var(--red); --btn-fg: #fff; --btn-bd: var(--red);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .92rem 1.6rem; min-height: 50px;
  font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; letter-spacing: .005em;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  border-radius: var(--radius); cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform .18s var(--ease), box-shadow var(--dur) var(--ease);
  position: relative; overflow: hidden; text-align: center;
}
.rs-btn svg { flex: none; transition: transform var(--dur) var(--ease-out); }
.rs-btn:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.rs-btn:hover svg { transform: translateX(3px); }
.rs-btn:active { transform: translateY(0); }

.rs-btn--outline { --btn-bg: transparent; --btn-fg: var(--graphite); --btn-bd: var(--graphite); }
.rs-btn--outline:hover { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.rs-btn--ghost { --btn-bg: transparent; --btn-fg: var(--graphite); --btn-bd: var(--line); }
.rs-btn--ghost:hover { background: var(--white); border-color: var(--graphite); color: var(--graphite); box-shadow: var(--shadow-sm); }
.rs-btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.38); }
.rs-btn--light:hover { background: #fff; color: var(--graphite); border-color: #fff; }
.rs-btn--solid-light { --btn-bg: #fff; --btn-fg: var(--graphite); --btn-bd: #fff; }
.rs-btn--solid-light:hover { background: var(--stone); border-color: var(--stone); color: var(--graphite); }
.rs-btn--wa { --btn-bg: #1FA855; --btn-fg: #fff; --btn-bd: #1FA855; }
.rs-btn--wa:hover { background: #17853F; border-color: #17853F; }
.rs-btn--sm { padding: .6rem 1.05rem; min-height: 40px; font-size: var(--step--1); }
.rs-btn--block { width: 100%; }

/* Text link with animated rule */
.rs-link {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--graphite); position: relative; padding-bottom: 2px;
}
.rs-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.rs-link:hover { color: var(--red); }
.rs-link:hover::after { transform: scaleX(1); transform-origin: left; }
.rs-link svg { transition: transform var(--dur) var(--ease-out); }
.rs-link:hover svg { transform: translate(3px, -3px); }
.rs-link--light { color: rgba(255,255,255,.9); }
.rs-link--light:hover { color: #fff; }

/* ── Stats ──────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: clamp(1.6rem, 3vw, 2.4rem) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .stat { border-bottom: 0; border-right: 1px solid var(--line); padding-inline: clamp(1rem, 2.4vw, 2rem); }
  .stat:first-child { padding-left: 0; } .stat:last-child { border-right: 0; padding-right: 0; } }
@media (max-width: 859px) { .stat:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--line); } .stat:nth-child(even) { padding-left: 1rem; } }
.stat__value { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--graphite); }
.stat__value sup { color: var(--red); font-size: .45em; vertical-align: super; margin-left: .06em; }
.stat__label { font-size: .86rem; color: var(--text-muted); margin-top: .6rem; line-height: 1.4; }

/* ── Cards ──────────────────────────────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  position: relative; overflow: hidden; height: 100%;
}
.card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--stone); }
.card:hover::before { transform: scaleY(1); transform-origin: top; }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 1.2rem;
  transition: background .35s var(--ease), color .35s var(--ease), transform .45s var(--ease-out);
}
.card:hover .card__icon { background: var(--red); color: #fff; transform: rotate(-4deg); }
.card h3, .card h4 { margin-bottom: .6rem; }
.card p { color: var(--text-muted); font-size: .95rem; }

/* Service card (large, numbered) */
.service {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; height: 100%; position: relative;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--stone); }
.service__top { padding: clamp(1.6rem, 3vw, 2.3rem) clamp(1.4rem, 2.6vw, 2.1rem) 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.service__no { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; color: var(--red); }
.service__glyph { color: var(--red); opacity: .9; transition: transform .5s var(--ease-out); }
.service:hover .service__glyph { transform: translateY(-3px) rotate(-5deg); }
.service__body { padding: 1.4rem clamp(1.4rem, 2.6vw, 2.1rem) clamp(1.6rem, 3vw, 2.2rem); }
.service__name { font-family: var(--font-display); font-size: var(--step-3); font-weight: 800; text-transform: uppercase; letter-spacing: -.025em; line-height: 1; margin-bottom: .85rem; }
.service__headline { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; letter-spacing: -.015em; line-height: 1.28; margin-bottom: .8rem; }
.service__summary { color: var(--text-muted); font-size: .95rem; }
.service__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.3rem; }
.rs-tag {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .05em;
  padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--concrete);
  background: var(--warm);
}
.service__foot { margin-top: 1.5rem; display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--red); }
.service__foot svg { transition: transform var(--dur) var(--ease-out); }
.service:hover .service__foot svg { transform: translateX(4px); }

/* Definition trio (Architecture = solid thinking) */
.deflist { display: grid; gap: 0; border-top: 1px solid var(--line); }
.def {
  display: grid; gap: .3rem 2rem; padding: clamp(1.3rem, 2.5vw, 1.9rem) 0;
  border-bottom: 1px solid var(--line); align-items: baseline;
  transition: padding-left .4s var(--ease-out), background .4s var(--ease);
}
@media (min-width: 720px) { .def { grid-template-columns: minmax(180px, 22%) 1fr; } }
.def:hover { padding-left: .8rem; background: linear-gradient(90deg, var(--red-soft), transparent 60%); }
.def__term { font-family: var(--font-display); font-size: var(--step-2); font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.def__def { font-size: var(--step-1); color: var(--text-muted); }
.def:hover .def__term { color: var(--red); }

/* ── Process timeline ───────────────────────────────────────────────── */
.timeline { position: relative; display: grid; gap: 0; }
.step { position: relative; display: grid; gap: 1rem 1.6rem; padding-bottom: clamp(2rem, 4vw, 3rem); grid-template-columns: 56px 1fr; }
.step:last-child { padding-bottom: 0; }
.step__line { position: absolute; left: 27px; top: 62px; bottom: 0; width: 1px; background: var(--line); }
.step:last-child .step__line { display: none; }
.step__dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--white); border: 1px solid var(--line); color: var(--red);
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  position: relative; z-index: 2; transition: all .4s var(--ease-out);
}
.step:hover .step__dot { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06); }
.step__body { padding-top: .55rem; }
.step__body h3 { font-size: var(--step-2); margin-bottom: .5rem; }
.step__body p { color: var(--text-muted); max-width: 58ch; }
.section--dark .step__dot { background: var(--graphite-2); border-color: rgba(255,255,255,.18); }
.section--dark .step__line { background: rgba(255,255,255,.14); }

/* Horizontal 4-step strip */
.flowsteps { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid rgba(255,255,255,.16); }
@media (min-width: 780px) { .flowsteps { grid-template-columns: repeat(4, 1fr); } }
.flowstep {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.6rem) clamp(1.6rem, 3vw, 2.4rem) 0;
  border-bottom: 1px solid rgba(255,255,255,.16); position: relative;
  transition: background .4s var(--ease);
}
@media (min-width: 780px) {
  .flowstep { border-bottom: 0; border-right: 1px solid rgba(255,255,255,.16); padding-left: clamp(1rem, 2vw, 1.6rem); }
  .flowstep:first-child { padding-left: 0; }
  .flowstep:last-child { border-right: 0; }
}
.flowstep::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--red); transition: width .6s var(--ease-out); }
.flowstep:hover::after { width: 100%; }
.flowstep__no { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; color: var(--red); }
.flowstep h3 { font-size: var(--step-2); text-transform: uppercase; letter-spacing: -.02em; margin: .9rem 0 .7rem; color: #fff; }
.flowstep p { color: rgba(250,250,248,.6); font-size: .93rem; }
.flowstep__icon { color: rgba(255,255,255,.42); margin-top: 1.2rem; transition: color .4s var(--ease), transform .5s var(--ease-out); }
.flowstep:hover .flowstep__icon { color: var(--red); transform: translateY(-2px); }

/* ── Projects ───────────────────────────────────────────────────────── */
.rs-filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
@media (max-width: 640px) {
  /* Wrapping four pills onto three rows eats the screen before any work is
     visible. Scroll them instead, with the edge fade hinting there is more. */
  .rs-filters {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; padding-bottom: .25rem;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-snap-type: x proximity;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .rs-filters::-webkit-scrollbar { display: none; }
  .rs-filter { scroll-snap-align: start; flex: none; }
}
.rs-filter {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .58rem 1.05rem; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--text-muted); font-size: .88rem; font-weight: 500;
  cursor: pointer; transition: all .28s var(--ease); white-space: nowrap;
}
.rs-filter:hover { border-color: var(--graphite); color: var(--graphite); background: var(--white); }
.rs-filter.is-active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 4px 14px rgba(177,30,35,.24); }
.rs-filter__count { font-family: var(--font-mono); font-size: .68rem; opacity: .7; }

.rs-search { position: relative; flex: 1; min-width: 220px; max-width: 340px; }
.rs-search input {
  width: 100%; padding: .62rem .9rem .62rem 2.4rem; border: 1px solid var(--line);
  border-radius: 999px; background: var(--white); font-size: .88rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.rs-search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.rs-search svg { position: absolute; left: .82rem; top: 50%; transform: translateY(-50%); color: var(--concrete); pointer-events: none; }

.rs-toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
@media (max-width: 720px) {
  .rs-toolbar { flex-direction: column; align-items: stretch; gap: .85rem; margin-bottom: 1.4rem; }
  .rs-search { max-width: none; }
}
.rs-count { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete); }

.rs-projects { display: grid; gap: clamp(.85rem, 2vw, 1.6rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
/* Two up from 520px — one card per row wastes a phone in landscape and most
   small tablets, and the titles still fit at this width. */
@media (min-width: 520px) and (max-width: 819px) {
  .rs-projects { grid-template-columns: repeat(2, 1fr); }
  .rs-project__title { font-size: 1rem; }
  .rs-project__body { padding: .95rem; }
}
@media (max-width: 519px) {
  .rs-project { aspect-ratio: 3 / 2; }
  .rs-project__body { padding: 1rem; }
}
.rs-project {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--graphite); aspect-ratio: 4 / 3;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease);
}
.rs-project:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rs-project.is-hidden { display: none; }
.rs-project__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), opacity .5s var(--ease); opacity: .88; }
.rs-project:hover .rs-project__img { transform: scale(1.06); opacity: 1; }
.rs-project__veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,20,.92) 4%, rgba(20,20,20,.35) 46%, rgba(20,20,20,.06) 100%); transition: background .4s var(--ease); }
.rs-project:hover .rs-project__veil { background: linear-gradient(to top, rgba(20,20,20,.94) 10%, rgba(20,20,20,.5) 55%, rgba(20,20,20,.12) 100%); }
.rs-project__body {
  position: absolute; inset: auto 0 0 0; padding: clamp(1.1rem, 2.2vw, 1.6rem); color: #fff;
  /* Column flow — the pill, title and meta are spans and would otherwise
     run together on one line inside the anchor. */
  display: flex; flex-direction: column; align-items: flex-start;
}
.rs-project__title { display: block; }
.rs-project__cat {
  display: inline-flex; align-items: center; gap: .4rem; margin-bottom: .7rem;
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .28rem .6rem; background: var(--red); border-radius: 999px; color: #fff;
}
.rs-project__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.02rem, 1.7vw, 1.24rem); line-height: 1.22; letter-spacing: -.015em; }
.rs-project__meta { display: flex; align-items: center; gap: .4rem; margin-top: .55rem; font-size: .8rem; color: rgba(255,255,255,.66); }
.rs-project__go {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px); color: #fff;
  display: grid; place-items: center; opacity: 0; transform: translateY(-6px) scale(.9);
  transition: all .35s var(--ease-out); border: 1px solid rgba(255,255,255,.22);
}
.rs-project:hover .rs-project__go { opacity: 1; transform: translateY(0) scale(1); }
/* Drawn covers are line art on a light ground — they need a lighter veil
   than photography, or they turn to mud. */
.rs-project--art { background: var(--warm); }
.rs-project--art .rs-project__img { opacity: 1; }
.rs-project--art .rs-project__veil {
  background: linear-gradient(to top, rgba(20,20,20,.9) 0%, rgba(20,20,20,.55) 26%, rgba(20,20,20,0) 56%);
}
.rs-project--art:hover .rs-project__veil {
  background: linear-gradient(to top, rgba(20,20,20,.92) 4%, rgba(20,20,20,.6) 32%, rgba(20,20,20,.04) 62%);
}
.rs-project--art .rs-project__go { background: rgba(28,28,28,.5); }

.rs-project--wide { grid-column: span 1; }
@media (min-width: 900px) { .rs-project--wide { grid-column: span 2; aspect-ratio: 16 / 9; } }

.rs-empty { padding: 4rem 1rem; text-align: center; color: var(--text-muted); border: 1px dashed var(--line); border-radius: var(--radius-lg); }

/* ── Pagination ─────────────────────────────────────────────────────────
   Presentational only: every project stays in the HTML so the page keeps all
   32 internal links and crawlers see the full set. The page size is smaller on
   phones because 16 cards is a very long thumb-scroll on a 375px screen. */
.rs-pager {
  display: none; align-items: center; justify-content: center; gap: .4rem;
  margin-top: clamp(2rem, 4vw, 3rem); flex-wrap: wrap;
}
.rs-pager.is-active { display: flex; }
.rs-pager__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-width: 44px; min-height: 44px; padding: 0 .85rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--graphite);
  font-family: var(--font-mono); font-size: .8rem; cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.rs-pager__btn:hover:not(:disabled) { border-color: var(--graphite); }
.rs-pager__btn[aria-current="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.rs-pager__btn:disabled { opacity: .35; cursor: default; }
.rs-pager__gap { min-width: 26px; text-align: center; color: var(--concrete); font-family: var(--font-mono); font-size: .8rem; }
.rs-pager__pages { display: flex; gap: .4rem; align-items: center; }
.rs-pager__label { display: none; }
@media (min-width: 560px) { .rs-pager__label { display: inline; } }

/* Base state declared before the query below, or it would override it. */
.rs-pager__compact {
  display: none; align-items: center; padding: 0 .9rem; min-height: 44px;
  font-family: var(--font-mono); font-size: .82rem; color: var(--text-muted);
}
@media (max-width: 420px) {
  /* Numbered pages stop fitting here. Keep prev/next reachable and swap in a
     compact "2 / 6" readout so the reader still knows where they are. */
  .rs-pager__pages { display: none; }
  .rs-pager__compact { display: inline-flex; }
}
.rs-count b { color: var(--graphite); font-weight: 600; }

/* Project detail */
.rs-projectmedia { border-radius: var(--radius-lg); overflow: hidden; background: var(--stone-2); border: 1px solid var(--line); }
.rs-projectmedia img { width: 100%; }
.rs-spec { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rs-spec__row { display: grid; gap: .2rem 1.5rem; padding: .95rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 520px) { .rs-spec__row { grid-template-columns: 40% 1fr; align-items: baseline; } }
.rs-spec__key { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete); }
.rs-spec__val { font-weight: 600; }

.checklist { display: grid; gap: .85rem; }
.checkitem { display: flex; gap: .8rem; align-items: flex-start; }
.checkitem svg { color: var(--red); flex: none; margin-top: 3px; }
.checkitem span { color: var(--text-muted); }

/* ── Instagram ──────────────────────────────────────────────────────── */
.igrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.5rem, 1.2vw, .9rem); }
@media (min-width: 640px) { .igrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .igrid { grid-template-columns: repeat(6, 1fr); } }
.igtile {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
  background: var(--stone-2); display: block;
}
.igtile img, .igtile svg.igart { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.igtile:hover img, .igtile:hover svg.igart { transform: scale(1.08); }
.igtile__ov {
  position: absolute; inset: 0; background: rgba(177,30,35,.82); color: #fff;
  display: grid; place-items: center; gap: .4rem; opacity: 0; transition: opacity .35s var(--ease);
  padding: .8rem; text-align: center;
}
.igtile:hover .igtile__ov { opacity: 1; }
.igtile__ov p { font-size: .74rem; line-height: 1.35; max-height: 4.2em; overflow: hidden; }
.igtile__stats { display: flex; gap: .8rem; align-items: center; font-size: .78rem; font-weight: 600; }
.igtile__stats span { display: inline-flex; align-items: center; gap: .28rem; }

.ighead { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; }
.igprofile { display: flex; align-items: center; gap: .9rem; }
.igavatar {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: var(--graphite); color: #fff; border: 2px solid var(--red); padding: 3px;
}
.igprofile__meta { display: flex; flex-direction: column; align-items: flex-start; gap: .16rem; }
.igprofile strong { display: block; font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -.01em; }
.igprofile__meta > span { font-size: .84rem; color: var(--text-muted); }
.igprofile__meta .rs-link { margin-top: .3rem; font-size: .88rem; }

/* ── Map ────────────────────────────────────────────────────────────── */
.mapwrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--stone-2); min-height: 380px; }
.mapwrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.32) contrast(1.04); transition: filter .5s var(--ease); }
.mapwrap:hover iframe { filter: grayscale(0) contrast(1); }
.mapcard {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2rem);
}
.rs-infolist { display: grid; gap: 1.15rem; }
.rs-infoitem { display: flex; gap: .95rem; align-items: flex-start; }
.rs-infoitem__ic { width: 42px; height: 42px; border-radius: var(--radius); background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.rs-infoitem h4 { font-size: .95rem; margin-bottom: .18rem; }
.rs-infoitem p, .rs-infoitem a { color: var(--text-muted); font-size: .93rem; line-height: 1.5; }
.rs-infoitem a:hover { color: var(--red); }

/* Service-area marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: 1.05rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 2.6rem; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee__item { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-mono); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--concrete); white-space: nowrap; }
.marquee__item::after { content: ""; width: 5px; height: 5px; background: var(--red); border-radius: 50%; }

/* ── Forms ──────────────────────────────────────────────────────────── */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .42rem; }
.field label { font-size: .84rem; font-weight: 600; letter-spacing: .005em; }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: .82rem .95rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); font-size: .95rem; transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.4rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); background: #fffafa; }
.field__error { font-size: .78rem; color: var(--red); display: none; }
.field.has-error .field__error { display: block; }
.field--row { display: grid; gap: 1.15rem; }
@media (min-width: 600px) { .field--row { grid-template-columns: 1fr 1fr; } }
.checkline { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--text-muted); }
.checkline input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--red); }
.rs-note { font-size: .8rem; color: var(--text-muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 1.1rem 1.2rem; border-radius: var(--radius); border: 1px solid; display: none; gap: .85rem; align-items: flex-start; }
.alert.is-shown { display: flex; }
.alert h4 { font-size: 1rem; margin-bottom: .25rem; }
.alert p { font-size: .9rem; }
.alert--ok { background: #F1F8F2; border-color: #BEDCC3; color: #24623A; }
.alert--err { background: #FDF3F3; border-color: #F0C9CA; color: #8E181C; }
.alert svg { flex: none; margin-top: 2px; }

/* ── Accordion / FAQ ────────────────────────────────────────────────── */
.rs-acc { border-top: 1px solid var(--line); }
.rs-acc__item { border-bottom: 1px solid var(--line); }
.rs-acc__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.2rem;
  padding: 1.25rem 0; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; letter-spacing: -.012em;
  color: var(--graphite); transition: color .25s var(--ease);
}
.rs-acc__btn:hover { color: var(--red); }
.rs-acc__ic { flex: none; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--red); transition: transform .35s var(--ease-out), background .3s var(--ease), color .3s var(--ease); margin-top: 2px; }
.rs-acc__item.is-open .rs-acc__ic { transform: rotate(45deg); background: var(--red); color: #fff; border-color: var(--red); }
.rs-acc__panel { overflow: hidden; height: 0; transition: height .38s var(--ease-out); }
.rs-acc__inner { padding-bottom: 1.4rem; color: var(--text-muted); max-width: 68ch; }

/* ── Lightbox ───────────────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 1200; background: rgba(16,16,16,.94); display: none; place-items: center; padding: clamp(1rem, 4vw, 3rem); }
.lightbox.is-open { display: grid; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__close:hover { background: var(--red); border-color: var(--red); }
.lightbox__cap { color: rgba(255,255,255,.7); font-size: .86rem; margin-top: 1rem; text-align: center; font-family: var(--font-mono); letter-spacing: .06em; }

/* ── CTA band ───────────────────────────────────────────────────────── */
.ctaband { position: relative; overflow: hidden; background: var(--graphite); color: #fff; }
.ctaband::before {
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 20% 90%, #000, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at 20% 90%, #000, transparent 68%);
}
.ctaband__inner { position: relative; z-index: 2; display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .ctaband__inner { grid-template-columns: 1.4fr 1fr; gap: 3.5rem; } }
.ctaband h2 { color: #fff; }
.ctaband p { color: rgba(250,250,248,.66); margin-top: 1rem; max-width: 52ch; }
.ctaband__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 900px) { .ctaband__actions { justify-content: flex-end; } }

/* Big pull quote */
.pullquote {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: var(--step-4); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance;
}
.pullquote em { font-style: normal; color: var(--red); }

/* ── Motion / print ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero__media img { animation: none; transform: none; }
}
@media print {
  .header, .footer, .fab, .totop, .drawer, .progress, .ctaband { display: none !important; }
  body { background: #fff; }
}


/* ==========================================================================
   ROCKSOLID — Landing concept B, LIGHT
   Warm beige ground, sage as the calm secondary, red kept as the only
   high-contrast accent. Dark is used once, for the closing block.
     · split hero with a rotating photo panel   (Beta Design Studio)
     · large quiet type, generous space          (Evola)
     · spec-led, conversion-oriented sections    (Emporio Architect)
   Loaded on top of main.css.
   ========================================================================== */

:root { --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif; }

.rs-page { background: var(--beige-bg); color: var(--graphite); }
.rs-page h1, .rs-page h2, .rs-page h3, .rs-page h4 { color: var(--graphite); }

.rs-serif { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.rs-page .rs-serif { color: var(--red); }

.rs-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase;
  letter-spacing: .22em; color: var(--sage-deep); margin-bottom: 1.5rem;
}
.rs-eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--red); }
.rs-eyebrow--light { color: rgba(255,255,255,.55); }
.rs-eyebrow--light::before { background: var(--red); }

.rs-page .lead { color: var(--concrete); }

/* ── Hero: copy panel + rotating photo ─────────────────────────────── */
.rs-hero { position: relative; background: var(--beige); display: grid; grid-template-columns: 1fr; min-height: 92svh; }
@media (min-width: 980px) { .rs-hero { grid-template-columns: 1.02fr 1fr; min-height: 100svh; } }

.rs-hero__copy {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem)) var(--gutter) clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 980px) {
  .rs-hero__copy { padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); padding-right: clamp(2rem, 4vw, 4rem); }
}
.rs-hero__copy::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--beige-deep) 1px, transparent 1px), linear-gradient(90deg, var(--beige-deep) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 12% 18%, #000, transparent 68%);
  -webkit-mask-image: radial-gradient(ellipse at 12% 18%, #000, transparent 68%);
}
.rs-hero__copy > * { position: relative; z-index: 2; }

.rs-hero__badge {
  display: inline-flex; align-items: center; gap: .55rem; align-self: flex-start;
  padding: .42rem .85rem; border: 1px solid var(--beige-deep); border-radius: 999px;
  background: rgba(255,255,255,.6);
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--sage-deep); margin-bottom: 1.6rem;
}
.rs-hero__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }

.rs-hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.9rem);
  line-height: .95; letter-spacing: -.045em; font-weight: 800; text-transform: uppercase;
}
.rs-hero h1 .rs-serif { text-transform: none; font-weight: 400; letter-spacing: -.02em; font-size: 1.06em; }
.rs-hero__body { color: var(--concrete); font-size: var(--step-1); max-width: 44ch; margin-top: 1.5rem; line-height: 1.62; }
.rs-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.1rem; }

.rs-hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.4rem; padding-top: 1.6rem; border-top: 1px solid var(--beige-deep); }
.rs-hero__trust div { min-width: 0; }
.rs-hero__trust b { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.rs-hero__trust b sup { color: var(--red); font-size: .5em; vertical-align: super; }
.rs-hero__trust span { font-size: .78rem; color: var(--concrete); }

/* Photo panel */
.rs-hero__stage { position: relative; min-height: 58svh; overflow: hidden; background: var(--stone-2); }
@media (min-width: 980px) { .rs-hero__stage { min-height: 100%; } }
.rs-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease-out); }
.rs-hero__slide.is-active { opacity: 1; }
.rs-hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); }
.rs-hero__slide.is-active img { animation: vKen 8.5s var(--ease-out) forwards; }
@keyframes vKen { to { transform: scale(1); } }
.rs-hero__stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(28,28,28,.72) 0%, rgba(28,28,28,.12) 42%, transparent 70%);
}

.rs-hero__bar { position: absolute; inset: auto 0 0 0; z-index: 3; padding: clamp(1rem, 2.4vw, 1.6rem); }
.rs-hero__barin { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: flex-end; justify-content: space-between; }
.rs-hero__count { display: flex; align-items: baseline; gap: .45rem; font-family: var(--font-mono); color: #fff; }
.rs-hero__count b { font-size: 1.35rem; font-weight: 500; }
.rs-hero__count s { text-decoration: none; opacity: .4; }
.rs-hero__count span { font-size: .88rem; opacity: .6; }
.rs-hero__now { min-width: 0; flex: 1 1 180px; }
.rs-hero__now p:first-child { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: .75; margin-bottom: .25rem; }
.rs-hero__now p:last-child { color: #fff; font-weight: 500; font-size: .92rem; line-height: 1.3; }
.rs-hero__now em { font-style: normal; opacity: .62; }
.rs-hero__dots { display: flex; gap: .4rem; }
.rs-hero__dot { width: 30px; height: 3px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.32); position: relative; overflow: hidden; transition: background .3s var(--ease); }
.rs-hero__dot.is-active { background: rgba(255,255,255,.4); }
.rs-hero__dot.is-active::after { content: ""; position: absolute; inset: 0; background: var(--red); transform-origin: left; animation: vProg 6s linear forwards; }
@keyframes vProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.rs-hero__dot:hover { background: rgba(255,255,255,.6); }

/* ── Ticker ─────────────────────────────────────────────────────────── */
.rs-ticker { background: var(--sage); color: #fff; overflow: hidden; padding-block: .85rem; }
.rs-ticker__track { display: flex; gap: 2.8rem; width: max-content; animation: marquee 30s linear infinite; }
.rs-ticker:hover .rs-ticker__track { animation-play-state: paused; }
.rs-ticker__item {
  display: inline-flex; align-items: center; gap: .9rem; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(.88rem, 1.4vw, 1.08rem); letter-spacing: .04em;
}
.rs-ticker__item::after { content: "◆"; font-size: .48em; opacity: .55; }

/* ── Section grounds ────────────────────────────────────────────────── */
.rs-band        { padding-block: clamp(4rem, 9vw, 7.5rem); }
.rs-band--beige { background: var(--beige-bg); }
.rs-band--white { background: var(--off-white); }
.rs-band--sage  { background: var(--sage-soft); }
.rs-band--stone { background: var(--beige); }

.rs-head { max-width: 720px; margin-bottom: clamp(2rem, 4.5vw, 3.4rem); }
.rs-head--center { margin-inline: auto; text-align: center; }
.rs-head--center .rs-eyebrow { justify-content: center; }
.rs-head h2 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); letter-spacing: -.032em; line-height: 1.04; }
.rs-head p { color: var(--concrete); font-size: var(--step-1); margin-top: 1rem; line-height: 1.6; }

/* ── Statement ──────────────────────────────────────────────────────── */
.rs-statement__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 940px) { .rs-statement__grid { grid-template-columns: 1.2fr 1fr; align-items: end; } }
.rs-statement h2 { font-size: clamp(2.1rem, 5.4vw, 4.3rem); line-height: 1.02; letter-spacing: -.038em; font-weight: 800; text-transform: uppercase; }
.rs-statement h2 .rs-serif { display: block; text-transform: none; font-weight: 400; letter-spacing: -.02em; }
.rs-statement p { color: var(--concrete); font-size: var(--step-1); line-height: 1.66; }

/* ── Discipline cards (two teams) ───────────────────────────────────── */
.rs-teams { display: grid; gap: clamp(1rem, 2.4vw, 1.8rem); }
@media (min-width: 860px) { .rs-teams { grid-template-columns: 1fr 1fr; } }
.rs-team {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--off-white); border: 1px solid var(--beige-deep); border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.rs-team:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--sage); }
.rs-team__media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--beige); }
.rs-team__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.rs-team:hover .rs-team__media img { transform: scale(1.05); }
.rs-team__no {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em;
  background: var(--red); color: #fff; padding: .28rem .6rem; border-radius: 999px;
}
.rs-team__body { padding: clamp(1.4rem, 2.8vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.rs-team__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.02; letter-spacing: -.032em; }
.rs-team__line { font-family: var(--serif); font-style: italic; color: var(--red); font-size: var(--step-1); margin-top: .5rem; }
.rs-team__desc { color: var(--concrete); font-size: .95rem; margin-top: .85rem; line-height: 1.6; }
.rs-team__list { display: grid; gap: .5rem; margin-top: 1.2rem; }
.rs-team__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--graphite); }
.rs-team__list svg { color: var(--sage-deep); flex: none; margin-top: 3px; }
.rs-team__links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--beige-deep); }

/* ── Featured project ───────────────────────────────────────────────── */
.rs-feat,
.rs-feat__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .rs-feat,
  .rs-feat__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: stretch;
  }
}

.rs-feat__media {
  display: block;
  position: relative;
  height: 100%;
  min-height: 520px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--beige);
}

.rs-feat__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .9s var(--ease-out);
}

.rs-feat__media:hover img {
  transform: scale(1.04);
}

.rs-feat__pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 2;
}

.rs-feat__panel {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2.25rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rs-feat__panel h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.rs-feat__panel > p {
  color: #555;
  font-size: 0.925rem;
  line-height: 1.6;
}

.rs-feat .rs-spec {
  margin-top: 1.2rem;
  border-top: 1px solid #eee;
}

.rs-feat .rs-spec__row {
  display: grid;
  gap: .1rem .8rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.85rem;
}

@media (min-width: 420px) {
  .rs-feat .rs-spec__row {
    grid-template-columns: 42% 1fr;
    align-items: baseline;
  }
}

.rs-feat .rs-spec__k {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #777;
}

.rs-feat .rs-spec__v {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--graphite);
}

.rs-feat__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.rs-feat__thumbs > :nth-child(n+4) {
  display: none !important;
}

.rs-feat__thumb {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  background: var(--beige);
  border: 1px solid var(--beige-deep);
  display: block;
}

.rs-feat__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease-out);
}

.rs-feat__thumb:hover img {
  transform: scale(1.08);
}

.rs-feat__cta,
.rs-btn.rs-feat__cta {
  align-self: flex-start;
  width: fit-content;
  background-color: #b91c1c;
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  min-height: auto;
  border-radius: 6px;
  border: 1px solid #b91c1c;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform .18s var(--ease);
}

.rs-feat__cta:hover,
.rs-btn.rs-feat__cta:hover {
  background-color: #991b1b;
  border-color: #991b1b;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ── About Page Stats & Feature Visual ──────────────────────────────── */
.rs-about-stats {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.rs-about-stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 900px) {
  .rs-about-stats__grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.rs-about-stats__items {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.rs-about-stat-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.45;
}

.rs-about-stat-row__num {
  font-weight: 800;
  color: var(--graphite);
  white-space: nowrap;
}

.rs-about-stat-row__label {
  font-weight: 500;
  color: #3d3d3d;
}

.rs-about-stats__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.06);
  aspect-ratio: 16 / 10;
  background: var(--stone);
}

.rs-about-stats__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease-out);
}

.rs-about-stats__media:hover img {
  transform: scale(1.025);
}

/* ── Process rail ───────────────────────────────────────────────────── */
.rs-rail { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--beige-deep); }
@media (min-width: 700px) { .rs-rail { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .rs-rail { grid-template-columns: repeat(4, 1fr); } }
.rs-step { padding: clamp(1.4rem, 3vw, 2rem) clamp(1rem, 2vw, 1.5rem) clamp(1.7rem, 3.2vw, 2.4rem) 0; border-bottom: 1px solid var(--beige-deep); position: relative; }
@media (min-width: 700px) { .rs-step { border-right: 1px solid var(--beige-deep); padding-left: clamp(1rem, 2vw, 1.5rem); } }
.rs-step::after { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--red); transition: width .6s var(--ease-out); }
.rs-step:hover::after { width: 100%; }
.rs-step__no { display: block; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--red); }
.rs-step__ic { display: block; color: var(--sage-deep); margin: .9rem 0 .8rem; transition: color .35s var(--ease), transform .5s var(--ease-out); }
.rs-step:hover .rs-step__ic { color: var(--red); transform: translateY(-2px); }
.rs-step h3 { font-size: var(--step-1); margin-bottom: .45rem; }
.rs-step p { color: var(--concrete); font-size: .88rem; line-height: 1.55; }
.rs-step__out { margin-top: .8rem; padding-top: .7rem; border-top: 1px dashed var(--beige-deep); font-size: .8rem; color: var(--sage-deep); display: flex; gap: .45rem; align-items: flex-start; }
.rs-step__out svg { flex: none; margin-top: 2px; }

/* ── Deliverables ───────────────────────────────────────────────────── */
.rs-grid3 { display: grid; gap: 1px; background: var(--beige-deep); border: 1px solid var(--beige-deep); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 680px) { .rs-grid3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .rs-grid3 { grid-template-columns: repeat(3, 1fr); } }
.rs-cell { background: var(--off-white); padding: clamp(1.3rem, 2.5vw, 1.9rem); transition: background .4s var(--ease); }
.rs-cell:hover { background: #fff; }
.rs-cell__ic { display: block; color: var(--red); margin-bottom: .9rem; transition: transform .5s var(--ease-out); }
.rs-cell:hover .rs-cell__ic { transform: translateY(-3px) rotate(-5deg); }
.rs-cell h3 { font-size: 1rem; margin-bottom: .4rem; letter-spacing: -.01em; }
.rs-cell p { color: var(--concrete); font-size: .88rem; line-height: 1.55; }

/* ── Coverage map ───────────────────────────────────────────────────── */
.rs-cover { display: grid; gap: clamp(1.6rem, 4vw, 3.2rem); }
/* The map needs real width before it sits beside the list, or the East Java
   cluster becomes unreadable. */
@media (min-width: 1080px) { .rs-cover { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.rs-map { position: relative; background: var(--off-white); border: 1px solid var(--beige-deep); border-radius: var(--radius-lg); padding: clamp(1.2rem, 2.6vw, 2rem); }
.rs-map svg { width: 100%; height: auto; display: block; }
.rs-cities { display: grid; gap: 1px; background: var(--beige-deep); border: 1px solid var(--beige-deep); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 560px) { .rs-cities { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1240px) { .rs-cities { grid-template-columns: repeat(3, 1fr); } }
.rs-city { background: var(--off-white); padding: .95rem 1.1rem; display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; transition: background .35s var(--ease); }
.rs-city:hover { background: #fff; }
.rs-city__n { font-weight: 600; font-size: .95rem; }
.rs-city__c { font-family: var(--font-mono); font-size: .72rem; color: var(--red); }
.rs-city__r { font-size: .74rem; color: var(--sage-deep); display: block; }

/* ── Clients ────────────────────────────────────────────────────────── */
.rs-brands { display: grid; gap: 1px; background: var(--beige-deep); border: 1px solid var(--beige-deep); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 620px) { .rs-brands { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rs-brands { grid-template-columns: repeat(5, 1fr); } }
.rs-brand { background: var(--off-white); padding: clamp(1.2rem, 2.2vw, 1.7rem) 1.1rem; display: flex; flex-direction: column; gap: .3rem; transition: background .4s var(--ease); }
.rs-brand:hover { background: #fff; }
.rs-brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -.015em; line-height: 1.2; }
.rs-brand__type { font-size: .78rem; color: var(--concrete); }
.rs-brand__count { font-family: var(--font-mono); font-size: .66rem; color: var(--red); letter-spacing: .1em; margin-top: .25rem; }
.rs-venues { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.rs-venue { font-family: var(--font-mono); font-size: .69rem; letter-spacing: .06em; padding: .38rem .72rem; border: 1px solid var(--beige-deep); border-radius: 999px; color: var(--sage-deep); background: var(--off-white); }

/* ── FAQ ────────────────────────────────────────────────────────────── */
.rs-faq .rs-acc { border-top-color: var(--beige-deep); }
.rs-faq .rs-acc__item { border-bottom-color: var(--beige-deep); }
.rs-faq .rs-acc__ic { border-color: var(--beige-deep); }

/* ── Closing contact — the one dark block ───────────────────────────── */
.rs-contact { position: relative; overflow: hidden; background: var(--graphite); padding-block: clamp(4rem, 9vw, 7rem); }
.rs-contact::before {
  content: ""; position: absolute; inset: 0; opacity: .1;
  background-image: linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at 82% 18%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 82% 18%, #000, transparent 70%);
}
.rs-contact__in { position: relative; z-index: 2; display: grid; gap: 2.4rem; }
@media (min-width: 940px) { .rs-contact__in { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 3.6rem; } }
.rs-contact h2 { font-size: clamp(2rem, 5vw, 3.9rem); line-height: 1.03; letter-spacing: -.035em; text-transform: uppercase; font-weight: 800; color: #fff; }
.rs-contact h2 .rs-serif { text-transform: none; font-weight: 400; color: var(--sage); }
.rs-contact > .rs-container > div > p { color: rgba(250,250,248,.64); margin-top: 1.1rem; max-width: 52ch; }
.rs-reassure { display: grid; gap: .75rem; margin-top: 1.9rem; }
.rs-reassure li { display: flex; gap: .7rem; align-items: center; color: rgba(250,250,248,.76); font-size: .93rem; }
.rs-reassure svg { color: var(--sage); flex: none; }
.rs-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.1rem); }
.rs-card h3 { font-size: var(--step-1); margin-bottom: 1.1rem; color: #fff; }
.rs-card .rs-infoitem__ic { background: rgba(140,154,134,.2); color: var(--sage); }
.rs-card .rs-infoitem h4 { color: #fff; }
.rs-card .rs-infoitem p, .rs-card .rs-infoitem a { color: rgba(250,250,248,.6); }
.rs-card .rs-infoitem a:hover { color: var(--sage); }

@media (prefers-reduced-motion: reduce) {
  .rs-hero__slide.is-active img { animation: none; transform: none; }
  .rs-hero__dot.is-active::after { animation: none; transform: scaleX(1); }
  .rs-ticker__track { animation: none; }
}

/* ==========================================================================
   Responsive tightening.
   The desktop layout is the reference; these rules only change density and
   column counts so a phone reads the same page, not a different one.
   ========================================================================== */

/* ── Hero: less vertical cost before the first CTA ────────────────── */
@media (max-width: 979px) {
  .rs-hero { min-height: 0; }
  .rs-hero__copy { padding-block: calc(var(--header-h) + 2rem) 2.25rem; }
  .rs-hero h1 { font-size: clamp(2.1rem, 9vw, 3.2rem); }
  .rs-hero__body { font-size: 1rem; margin-top: 1.1rem; max-width: 52ch; }
  .rs-hero__actions { margin-top: 1.5rem; gap: .6rem; }
  .rs-hero__actions .rs-btn { flex: 1 1 auto; min-width: 0; }
  .rs-hero__trust { margin-top: 1.7rem; padding-top: 1.2rem; gap: 1rem 1.4rem; }
  .rs-hero__trust b { font-size: 1.25rem; }
  .rs-hero__trust span { font-size: .72rem; }
  .rs-hero__stage { min-height: 46svh; }
}
@media (max-width: 519px) {
  /* Four stats across a 375px screen is unreadable; two rows of two is not. */
  .rs-hero__trust { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ── Section rhythm: reclaim the padding on small screens ─────────── */
@media (max-width: 767px) {
  .rs-band { padding-block: clamp(2.6rem, 8vw, 3.6rem); }
  .rs-head { margin-bottom: 1.8rem; }
  .rs-head h2 { font-size: clamp(1.55rem, 6.4vw, 2.1rem); }
  .rs-head p { font-size: 1rem; margin-top: .8rem; }
  .rs-statement h2 { font-size: clamp(1.8rem, 8.2vw, 2.6rem); }
  .rs-statement__grid { gap: 1.6rem; }
  .rs-contact h2 { font-size: clamp(1.7rem, 7.6vw, 2.4rem); }
}

/* ── Teams ────────────────────────────────────────────────────────── */
@media (max-width: 859px) {
  .rs-team__media { aspect-ratio: 2 / 1; }
  .rs-team__name { font-size: clamp(1.3rem, 6vw, 1.7rem); }
  .rs-team__links { gap: .45rem; }
  .rs-team__links .rs-btn { flex: 1 1 auto; justify-content: center; }
}

/* ── Process rail: two up well before desktop ─────────────────────── */
@media (min-width: 520px) and (max-width: 699px) {
  .rs-rail { grid-template-columns: repeat(2, 1fr); }
  .rs-step { border-right: 1px solid var(--beige-deep); padding-left: 1rem; }
  .rs-step:nth-child(2n) { border-right: 0; }
}
@media (max-width: 767px) {
  .rs-step { padding-block: 1.2rem 1.5rem; }
  .rs-step h3 { font-size: 1.02rem; }
  .rs-step p { font-size: .86rem; }
  .rs-step__ic { margin: .7rem 0 .6rem; }
}

/* ── Deliverables: two up from 520px instead of 680 ───────────────── */
@media (min-width: 520px) and (max-width: 679px) {
  .rs-grid3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .rs-cell { padding: 1.15rem 1.1rem; }
  .rs-cell h3 { font-size: .95rem; }
  .rs-cell p { font-size: .84rem; }
}

/* ── Coverage: the map needs room, so give it a scroll rail on phones ── */
@media (max-width: 1079px) {
  .rs-map {
    overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 1rem;
    scrollbar-width: thin;
  }
  .rs-map svg { min-width: 560px; }
  .rs-map::after {
    content: ""; display: block; height: 0;
  }
}
@media (max-width: 559px) {
  /* Below this the map is a smear. The city list carries the same
     information, so lead with that and let the map follow. */
  .rs-cover { display: flex; flex-direction: column-reverse; gap: 1.5rem; }
  .rs-map svg { min-width: 520px; }
}

/* ── Clients: two up on phones ────────────────────────────────────── */
@media (max-width: 619px) {
  .rs-brands { grid-template-columns: repeat(2, 1fr); }
  .rs-brand { padding: 1rem .9rem; }
  .rs-brand__name { font-size: .92rem; }
  .rs-brand__type { font-size: .72rem; }
  .rs-brand__count { font-size: .62rem; }
}

/* ── Featured project ─────────────────────────────────────────────── */
@media (max-width: 991px) {
  .rs-feat,
  .rs-feat__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .rs-feat__media { min-height: 280px; aspect-ratio: 16 / 10; height: auto; }
  .rs-feat__panel { padding: 1.5rem 1.25rem; }
  .rs-feat__panel h3 { font-size: 1.25rem; }
}

/* ── Cities list: two up once there is room ───────────────────────── */
@media (max-width: 559px) {
  .rs-cities { grid-template-columns: 1fr; }
  .rs-city { padding: .8rem .9rem; }
}

/* ── Contact card ─────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .rs-contact { padding-block: clamp(2.8rem, 9vw, 4rem); }
  .rs-reassure { gap: .6rem; margin-top: 1.4rem; }
  .rs-card { padding: 1.3rem 1.2rem; }
}

/* ── Ticker: smaller, so it reads as a band not a headline ────────── */
@media (max-width: 767px) {
  .rs-ticker { padding-block: .7rem; }
  .rs-ticker__item { font-size: .8rem; gap: .7rem; }
  .rs-ticker__track { gap: 1.9rem; }
}
