/* RS Base — rockshaft.org homepage
   Palette: #FFFFFF · #0D0D0D · #E8400C
   Design: editorial typography, structural white space, no decoration
*/

/* ── Tokens ── */
:root {
  --rsh-bg:       #FFFFFF;
  --rsh-ink:      #0D0D0D;
  --rsh-accent:   #E8400C;
  --rsh-warm:     #F5F4F2;
  --rsh-border:   #E4E2DF;
  --rsh-muted:    #7A7672;
  --rsh-dark:     #0D0D0D;
  --rsh-radius:   0px;
}

/* ── Custom cursor ── */
.rsh-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--rsh-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.05s linear, width 0.2s, height 0.2s, background 0.2s, margin 0.2s;
  will-change: transform;
}
.rsh-cursor.is-hover {
  width: 36px;
  height: 36px;
  background: rgba(232, 64, 12, 0.12);
  border: 1.5px solid var(--rsh-accent);
  margin-left: -14px;
  margin-top: -14px;
}
@media (pointer: coarse) { .rsh-cursor { display: none; } }

/* ── Header override: white home ── */
body.home .rs-header,
body.front-page .rs-header {
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--rsh-border);
  backdrop-filter: blur(10px);
}
body.home .rs-header.is-scrolled,
body.front-page .rs-header.is-scrolled {
  background: rgba(255,255,255,0.98);
}
body.home .rs-header .rs-header__site-name,
body.front-page .rs-header .rs-header__site-name { color: var(--rsh-ink); }
body.home .rs-header .rs-nav__list a,
body.front-page .rs-header .rs-nav__list a { color: var(--rsh-ink); }
body.home .rs-header .rs-mobile-toggle span,
body.front-page .rs-header .rs-mobile-toggle span { background: var(--rsh-ink); }

/* ── Shared atoms ── */
.rsh-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rsh-accent);
}
.rsh-label--faint { color: rgba(255,255,255,0.35); }

.rsh-section-title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--rsh-ink);
  margin-top: 0.75rem;
}

/* ── Buttons ── */
.rsh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, gap 0.2s, border-color 0.2s;
}
.rsh-btn--primary {
  background: var(--rsh-ink);
  color: #fff;
  padding: 0.95rem 1.9rem;
}
.rsh-btn--primary:hover { background: var(--rsh-accent); gap: 0.9rem; }
.rsh-btn--ghost {
  color: var(--rsh-ink);
  border-bottom: 1.5px solid var(--rsh-ink);
  padding-bottom: 2px;
}
.rsh-btn--ghost:hover { color: var(--rsh-accent); border-color: var(--rsh-accent); }
.rsh-btn--primary-inv {
  background: #fff;
  color: var(--rsh-ink);
  padding: 0.95rem 1.9rem;
}
.rsh-btn--primary-inv:hover { background: var(--rsh-accent); color: #fff; }
.rsh-btn--wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}
.rsh-btn--wa:hover { color: #fff; }

/* ── Scroll reveal ── */
.js-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.js-reveal.is-visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.rsh-hero {
  min-height: 100vh;
  background: var(--rsh-bg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 5.5rem;
  padding-top: 110px;
  position: relative;
}
.rsh-hero__inner { display: flex; flex-direction: column; }

/* Eyebrow */
.rsh-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}
.rsh-hero__eyebrow-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rsh-muted);
}
.rsh-hero__eyebrow-div {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--rsh-border);
}

/* Heading */
.rsh-hero__heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  display: flex;
  flex-direction: column;
  margin: 0 0 4.5rem;
  line-height: 1.0;
  letter-spacing: -0.03em;
}
.rsh-hero__line { display: block; }

.rsh-hero__line--thin {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--rsh-ink);
}
.rsh-hero__line--outline {
  font-size: clamp(4rem, 9.5vw, 9rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px var(--rsh-ink);
  line-height: 0.95;
}
.rsh-hero__line--bold {
  font-size: clamp(4rem, 9.5vw, 9rem);
  font-weight: 800;
  color: var(--rsh-ink);
  line-height: 0.95;
}
.rsh-hero__line--thin:last-child em {
  font-style: normal;
  color: var(--rsh-accent);
}

/* Hero bottom */
.rsh-hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.rsh-hero__ctas { display: flex; align-items: center; gap: 1.75rem; flex-wrap: wrap; }
.rsh-hero__stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.rsh-hero__stat { display: flex; flex-direction: column; gap: 0.2rem; }
.rsh-hero__stat strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rsh-ink);
}
.rsh-hero__stat span {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rsh-muted);
}

/* Scroll indicator */
.rsh-hero__scroll {
  position: absolute;
  right: 2.5rem;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.rsh-hero__scroll span {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rsh-muted);
  writing-mode: vertical-rl;
}
.rsh-hero__scroll-track {
  width: 1px;
  height: 60px;
  background: var(--rsh-border);
  position: relative;
  overflow: hidden;
}
.rsh-hero__scroll-thumb {
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: var(--rsh-accent);
  animation: rsh-scroll-drop 1.9s ease-in-out infinite;
}
@keyframes rsh-scroll-drop {
  0%   { top: -40%; }
  100% { top: 140%; }
}

/* ════════════════════════════════════════
   MARQUEE
════════════════════════════════════════ */
.rsh-marquee {
  background: var(--rsh-ink);
  overflow: hidden;
  padding: 1.1rem 0;
}
.rsh-marquee__track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  animation: rsh-marquee-scroll 30s linear infinite;
}
.rsh-marquee__item {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 0 1.5rem;
}
.rsh-marquee__sep {
  color: var(--rsh-accent);
  opacity: 0.6;
  font-size: 0.55rem;
}
@keyframes rsh-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ════════════════════════════════════════
   STATEMENT
════════════════════════════════════════ */
.rsh-statement {
  padding: 6rem 0;
  border-top: 1px solid var(--rsh-border);
}
.rsh-statement__inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 4rem;
  align-items: start;
}
.rsh-statement__lhs { padding-top: 0.25rem; }
.rsh-statement__text {
  font-size: clamp(1.2rem, 2.5vw, 1.875rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--rsh-ink);
  margin-bottom: 3rem;
}
.rsh-statement__meta {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.rsh-statement__meta > div { display: flex; flex-direction: column; gap: 0.3rem; }
.rsh-meta-key {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rsh-muted);
}
.rsh-meta-val {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rsh-ink);
}

/* ════════════════════════════════════════
   SELECTED WORK
════════════════════════════════════════ */
.rsh-work {
  padding: 5rem 0 0;
  border-top: 1px solid var(--rsh-border);
}
.rsh-work__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.rsh-work__title {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--rsh-ink);
  margin-top: 0.75rem;
}
.rsh-work__all { align-self: flex-end; padding-bottom: 4px; }

.rsh-work__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 2px;
  background: var(--rsh-border);
}

.rsh-case {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}

/* Case color palettes */
.rsh-case--green .rsh-case__bg {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #0f2218 0%, #1a3a28 60%, #0a1a10 100%);
}
.rsh-case--dark .rsh-case__bg {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #14100a 0%, #2a1f0f 60%, #0a0806 100%);
}
.rsh-case--navy .rsh-case__bg {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #080f1e 0%, #111c38 60%, #060c18 100%);
}
.rsh-case--steel .rsh-case__bg {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #101010 0%, #1e1e1e 60%, #0a0a0a 100%);
}

/* Hover: subtle gradient shift and reveal */
.rsh-case::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(232, 64, 12, 0.0);
  transition: background 0.4s;
  pointer-events: none;
}
.rsh-case:hover::after { background: rgba(232, 64, 12, 0.06); }

/* Row 2: swap column widths — explicit placement overrides auto flow */
.rsh-work__grid > .rsh-case:nth-child(3) { grid-column: 2; }
.rsh-work__grid > .rsh-case:nth-child(4) { grid-column: 1; }

.rsh-case__body { position: relative; z-index: 1; }
.rsh-case__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.rsh-case__type {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.rsh-case__year {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}
.rsh-case__name {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 0.6rem;
  transition: color 0.25s;
}
.rsh-case:hover .rsh-case__name { color: #fff; }
.rsh-case__sub {
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.45);
  max-width: 38ch;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.rsh-case:hover .rsh-case__sub { opacity: 1; transform: none; }
.rsh-case__link {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 1rem 1.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rsh-accent);
  z-index: 1;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s, transform 0.25s;
}
.rsh-case:hover .rsh-case__link { opacity: 1; transform: none; }

/* ════════════════════════════════════════
   SERVICES
════════════════════════════════════════ */
.rsh-services {
  padding: 5rem 0 7rem;
  border-top: 1px solid var(--rsh-border);
  margin-top: 2px;
}
.rsh-services__head {
  margin-bottom: 3.5rem;
}
.rsh-svc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rsh-border); }
.rsh-svc {
  display: grid;
  grid-template-columns: 60px 1fr 32px;
  align-items: start;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rsh-border);
  cursor: pointer;
  transition: background 0.2s, padding 0.2s;
}
.rsh-svc:hover,
.rsh-svc.is-open {
  background: var(--rsh-warm);
  padding-inline: 1.25rem;
  margin-inline: -1.25rem;
}
.rsh-svc__num {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--rsh-muted);
  padding-top: 0.3rem;
}
.rsh-svc__title {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 600;
  color: var(--rsh-ink);
  line-height: 1.3;
  padding-top: 0.15rem;
  transition: color 0.2s;
}
.rsh-svc:hover .rsh-svc__title,
.rsh-svc.is-open .rsh-svc__title { color: var(--rsh-accent); }
.rsh-svc__expand {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s;
}
.rsh-svc.is-open .rsh-svc__expand { max-height: 140px; opacity: 1; }
.rsh-svc__desc {
  font-size: 0.875rem;
  color: var(--rsh-muted);
  line-height: 1.75;
  margin: 0.6rem 0 0.4rem;
}
.rsh-svc__tags {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rsh-accent);
  font-weight: 700;
  margin-top: 0.35rem;
}
.rsh-svc__arrow {
  display: flex;
  justify-content: flex-end;
  color: var(--rsh-muted);
  padding-top: 0.25rem;
  transition: color 0.2s, transform 0.3s;
}
.rsh-svc:hover .rsh-svc__arrow,
.rsh-svc.is-open .rsh-svc__arrow { color: var(--rsh-accent); transform: rotate(45deg); }

/* ════════════════════════════════════════
   NUMBERS
════════════════════════════════════════ */
.rsh-numbers {
  padding: 5rem 0;
  border-top: 1px solid var(--rsh-border);
  border-bottom: 1px solid var(--rsh-border);
}
.rsh-numbers__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--rsh-border);
}
.rsh-num {
  display: flex;
  flex-direction: column;
  padding: 2rem 2.5rem;
  border-right: 1px solid var(--rsh-border);
}
.rsh-num__figure { line-height: 1; }
.rsh-num__val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  color: var(--rsh-ink);
  letter-spacing: -0.05em;
}
.rsh-num__figure sup {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 2.25rem);
  font-weight: 300;
  color: var(--rsh-accent);
  vertical-align: super;
}
.rsh-num__lbl {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rsh-muted);
  margin-top: 0.75rem;
}

/* ════════════════════════════════════════
   PRODUCTS
════════════════════════════════════════ */
.rsh-products {
  padding: 6rem 0;
  background: var(--rsh-warm);
  border-top: 1px solid var(--rsh-border);
}
.rsh-products__head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}
.rsh-products__sub {
  font-size: 0.875rem;
  color: var(--rsh-muted);
  margin-top: 0.75rem;
}
.rsh-products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rsh-border);
  border: 1px solid var(--rsh-border);
}
.rsh-product {
  background: var(--rsh-bg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  min-height: 240px;
  transition: background 0.28s;
}
.rsh-product--building { background: var(--rsh-warm); }
.rsh-product:hover { background: var(--rsh-ink); }
.rsh-product__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.rsh-product__tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--rsh-muted);
  transition: color 0.2s;
}
.rsh-product:hover .rsh-product__tag { color: rgba(255,255,255,0.35); }
.rsh-product__status {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  transition: background 0.2s, color 0.2s;
}
.rsh-product__status--live     { background: #D4F7E7; color: #0F6B3F; }
.rsh-product__status--building { background: #FFF0E0; color: #B55A00; }
.rsh-product:hover .rsh-product__status--live     { background: rgba(212,247,231,0.1); color: #A8F0CD; }
.rsh-product:hover .rsh-product__status--building { background: rgba(255,240,224,0.1); color: #FFC07A; }
.rsh-product__name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--rsh-ink);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}
.rsh-product:hover .rsh-product__name { color: #fff; }
.rsh-product__desc {
  font-size: 0.82rem;
  color: var(--rsh-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}
.rsh-product:hover .rsh-product__desc { color: rgba(255,255,255,0.5); }
.rsh-product__cta {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rsh-accent);
}

/* ════════════════════════════════════════
   INDUSTRIES
════════════════════════════════════════ */
.rsh-industries {
  padding: 5rem 0;
  border-top: 1px solid var(--rsh-border);
}
.rsh-industries__inner {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 4rem;
  align-items: start;
}
.rsh-industries__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--rsh-ink);
  margin-bottom: 1.5rem;
}
.rsh-industries__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rsh-tag {
  display: inline-block;
  border: 1px solid var(--rsh-border);
  color: var(--rsh-ink);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.45rem 1.1rem;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  cursor: default;
}
.rsh-tag:hover { background: var(--rsh-ink); border-color: var(--rsh-ink); color: #fff; }

/* ════════════════════════════════════════
   CTA
════════════════════════════════════════ */
.rsh-cta {
  background: var(--rsh-ink);
  padding: 8rem 0;
}
.rsh-cta__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
}
.rsh-cta__heading {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  margin-top: 1rem;
}
.rsh-cta__heading em { font-style: normal; font-weight: 800; color: var(--rsh-accent); }
.rsh-cta__text {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
  max-width: 400px;
  margin-bottom: 2.5rem;
}
.rsh-cta__actions { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1100px) {
  .rsh-work__grid { grid-template-columns: 1fr 1fr; }
  .rsh-products__grid { grid-template-columns: repeat(2, 1fr); }
  .rsh-numbers__inner { grid-template-columns: repeat(2, 1fr); }
  .rsh-num { padding: 2rem; }
  .rsh-products__head { grid-template-columns: 1fr; }
  .rsh-statement__inner,
  .rsh-industries__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 800px) {
  .rsh-hero { padding-bottom: 4rem; }
  .rsh-hero__bottom { flex-direction: column; align-items: flex-start; }
  .rsh-hero__heading { margin-bottom: 3rem; }
  .rsh-work__grid { grid-template-columns: 1fr; }
  .rsh-case { min-height: 300px; }
  .rsh-cta__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .rsh-hero__scroll { display: none; }
}
@media (max-width: 600px) {
  .rsh-hero__eyebrow { display: none; }
  .rsh-numbers__inner { grid-template-columns: 1fr 1fr; border-left: none; }
  .rsh-num { padding: 1.5rem 1rem; border-left: 1px solid var(--rsh-border); }
  .rsh-svc { grid-template-columns: 40px 1fr 24px; gap: 0.75rem; }
  .rsh-products__grid { grid-template-columns: 1fr; }
  .rsh-cta { padding: 4rem 0; }
}

/* ── Home page: footer matches CTA dark tone — no colour seam ── */
body.home .rs-footer,
body.front-page .rs-footer { background: var(--rsh-dark); }
