/*
Theme Name: RBSTech
Theme URI: https://rbstech.com/
Author: RBSTech Studio
Author URI: https://rbstech.com/
Description: Premium creative & digital technology agency theme for RBSTech.com. Dark-first design with an electric lime accent, Archivo variable grotesk typography, an animated grid hero, an interactive invert-on-hover services index, an offset selected-work gallery, a studio narrative, a four-step process grid and a glowing contact CTA. Lightweight, responsive and translation-ready.
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rbstech
Tags: agency, portfolio, business, dark, one-column, two-columns, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================================
   RBSTech — WordPress theme stylesheet
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --background: 30 6% 5%;
  --foreground: 45 14% 92%;
  --card: 30 6% 8%;
  --card-foreground: 45 14% 92%;
  --primary: 74 92% 55%;
  --primary-foreground: 30 10% 6%;
  --secondary: 30 5% 13%;
  --secondary-foreground: 45 14% 92%;
  --muted: 30 5% 13%;
  --muted-foreground: 40 6% 58%;
  --accent: 74 92% 55%;
  --accent-foreground: 30 10% 6%;
  --border: 30 5% 16%;
  --clay: 22 42% 62%;
  --radius: 0rem;
  --maxw: 90rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hero: cubic-bezier(0.16, 1, 0.3, 1);
}

html[data-theme="light"] {
  --background: 45 14% 95%;
  --foreground: 30 8% 8%;
  --card: 45 14% 97%;
  --card-foreground: 30 8% 8%;
  --primary: 30 8% 8%;
  --primary-foreground: 45 14% 95%;
  --secondary: 42 10% 90%;
  --secondary-foreground: 30 8% 10%;
  --muted: 42 10% 90%;
  --muted-foreground: 30 6% 38%;
  --accent: 74 92% 46%;
  --accent-foreground: 30 10% 8%;
  --border: 36 8% 79%;
  --clay: 22 38% 44%;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background-color: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }

/* ---------- Typography helpers ---------- */
.font-expanded { font-stretch: 125%; }
.font-condensed { font-stretch: 72%; }
.text-outline {
  -webkit-text-stroke: 1px hsl(var(--foreground) / 0.22);
  color: transparent;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: hsl(var(--muted-foreground));
}
.eyebrow .bar { height: 1px; width: 2.5rem; background: hsl(var(--clay)); }
.eyebrow.center { justify-content: center; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) {
  .container { padding-inline: 2.5rem; }
}

section { position: relative; }
.section-pad { padding-block: 7rem; }
@media (min-width: 768px) {
  .section-pad { padding-block: 9rem; }
}

/* ---------- Decorative backgrounds ---------- */
.grid-bg {
  background-image:
    linear-gradient(to right, hsl(var(--foreground) / 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, hsl(var(--foreground) / 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
}
.grid-bg-animated { animation: grid-pan 6s linear infinite; }
@keyframes grid-pan { to { background-position: 72px 72px; } }

.glow-accent {
  background: radial-gradient(closest-side, hsl(var(--accent) / 0.2), transparent 72%);
}

.mask-radial {
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black, transparent);
  mask-image: radial-gradient(ellipse 75% 65% at 50% 35%, black, transparent);
}
.mask-radial-center {
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black, transparent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-outline {
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}
.btn-outline:hover { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }
.btn-lg { padding: 1.25rem 2.5rem; font-size: 0.85rem; }
.btn .icon { width: 1.1rem; height: 1.1rem; flex: none; }

/* ---------- Navbar ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s var(--ease);
}
.site-header.scrolled {
  background-color: hsl(var(--background) / 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: hsl(var(--border));
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
@media (min-width: 768px) {
  .site-header .inner { height: 5rem; }
}
.brand {
  font-stretch: 125%;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
}
@media (min-width: 768px) { .brand { font-size: 1.25rem; } }
.brand .dot {
  display: inline-block;
  width: 0.6rem;
  height: 0.6rem;
  margin-inline: 0.15rem;
  background: hsl(var(--accent));
}
.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  position: relative;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: hsl(var(--muted-foreground));
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: hsl(var(--accent));
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: hsl(var(--foreground)); }
.nav-links a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid hsl(var(--border));
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.icon-btn:hover { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }
.icon-btn svg { width: 1rem; height: 1rem; }
.header-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding-inline: 1.25rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease);
}
.header-cta:hover { background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }
.menu-toggle { display: grid; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: hsl(var(--background));
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 0.5rem; }
.mobile-menu a.m-link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-stretch: 125%;
  font-size: 3rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.mobile-menu a.m-link .num {
  font-stretch: 72%;
  font-size: 0.85rem;
  font-weight: 500;
  color: hsl(var(--clay));
}
.mobile-menu .m-foot {
  margin-top: 4rem;
  border-top: 1px solid hsl(var(--border));
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}
.mobile-menu .m-foot a { color: hsl(var(--foreground)); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: 8rem; padding-bottom: 5rem; }
@media (min-width: 768px) { .hero { padding-top: 11rem; } }
.hero .deco { position: absolute; inset: 0; pointer-events: none; }
.hero .glow-1 { position: absolute; top: -10rem; right: -10%; width: 36rem; height: 36rem; }
.hero .glow-2 { position: absolute; bottom: 0; left: -15%; width: 28rem; height: 28rem; opacity: 0.6; }
.hero-grid {
  position: relative;
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: repeat(12, 1fr); gap: 4rem; }
  .hero-copy { grid-column: span 7; }
  .hero-media { grid-column: span 5; }
}
.hero h1 {
  font-stretch: 125%;
  font-size: clamp(2.9rem, 8vw, 7.25rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 2rem 0 0;
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.25rem; }
.hero h1 .line > span {
  display: block;
  transform: translateY(110%);
  animation: rise 0.9s var(--ease-hero) forwards;
}
.hero h1 .line:nth-child(1) > span { animation-delay: 0.2s; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.33s; }
.hero h1 .line:nth-child(3) > span { animation-delay: 0.46s; }
@keyframes rise { to { transform: translateY(0); } }
.hero h1 .accent { color: hsl(var(--accent)); }
.hero-lead {
  margin-top: 2rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: hsl(var(--muted-foreground));
}
@media (min-width: 768px) { .hero-lead { font-size: 1.125rem; } }
.hero-cta-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-media .frame { position: relative; border: 1px solid hsl(var(--border)); }
.hero-media .frame .corner {
  position: absolute;
  width: 0.6rem;
  height: 0.6rem;
  background: hsl(var(--accent));
  z-index: 2;
}
.hero-media .frame .corner.tl { top: -4px; left: -4px; }
.hero-media .frame .corner.br { bottom: -4px; right: -4px; }
.hero-media .frame img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 1024px) { .hero-media .frame img { aspect-ratio: 4/5; } }
.hero-media .frame .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--background) / 0.6), transparent);
}
.chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid hsl(var(--foreground) / 0.15);
  background: hsl(var(--foreground) / 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
}
.chip svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--accent)); flex: none; }
.chip .big { font-stretch: 125%; font-size: 1.15rem; font-weight: 900; line-height: 1; }
.chip .small { margin-top: 0.25rem; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--muted-foreground)); }
.chip.chip-1 { top: 2rem; left: -1rem; animation: float 5s ease-in-out infinite; }
.chip.chip-2 { bottom: -1.5rem; right: 1rem; animation: float 6s ease-in-out 0.8s infinite; }
@media (min-width: 768px) { .chip.chip-1 { left: -2.5rem; } .chip.chip-2 { right: -1.5rem; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-stats {
  margin-top: 6rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid hsl(var(--border));
}
@media (min-width: 768px) { .hero-stats { grid-template-columns: repeat(4, 1fr); } }
.hero-stats .stat { padding: 2rem 1.5rem; border-left: 1px solid hsl(var(--border)); }
.hero-stats .stat:first-child { border-left: none; }
.hero-stats .stat .num { font-stretch: 125%; font-size: 2.5rem; font-weight: 900; letter-spacing: -0.02em; }
@media (min-width: 768px) { .hero-stats .stat .num { font-size: 3rem; } }
.hero-stats .stat .label { margin-top: 0.5rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--muted-foreground)); }
.scroll-cue { margin-top: 2.5rem; display: flex; align-items: center; gap: 0.75rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.3em; color: hsl(var(--muted-foreground)); }
.scroll-cue svg { width: 1rem; height: 1rem; color: hsl(var(--accent)); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.hero-wordmark { position: relative; overflow: hidden; border-top: 1px solid hsl(var(--border)); pointer-events: none; user-select: none; }
.hero-wordmark .word {
  white-space: nowrap;
  font-stretch: 125%;
  font-size: 15vw;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.85;
  transform: translateY(24%);
}

/* ---------- Section heading ---------- */
.section-head { display: grid; gap: 2rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .section-head { grid-template-columns: 1fr 1fr; align-items: end; } }
.section-head h2 {
  font-stretch: 125%;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 1.5rem 0 0;
}
.section-head .desc { color: hsl(var(--muted-foreground)); line-height: 1.7; max-width: 28rem; }
@media (min-width: 768px) { .section-head .desc { margin-left: auto; } }
.section-head .desc.right { text-align: left; }
@media (min-width: 768px) { .section-head .desc.right { text-align: right; } }

/* ---------- Services ---------- */
.services-list { border-bottom: 1px solid hsl(var(--border)); }
.service-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: 0.75rem;
  border-top: 1px solid hsl(var(--border));
  padding: 1.75rem 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.service-row:hover { background: hsl(var(--foreground)); color: hsl(var(--background)); }
@media (min-width: 768px) { .service-row { padding: 2.25rem 1rem; } }
.service-row .idx { grid-column: span 2; font-stretch: 72%; font-size: 0.85rem; font-weight: 500; color: hsl(var(--clay)); transition: color 0.3s var(--ease); }
@media (min-width: 768px) { .service-row .idx { grid-column: span 1; } }
.service-row .title-wrap { grid-column: span 10; display: flex; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .service-row .title-wrap { grid-column: span 5; } }
.service-row .title-wrap svg { width: 1.5rem; height: 1.5rem; flex: none; color: hsl(var(--muted-foreground)); transition: color 0.3s var(--ease); }
.service-row .title-wrap h3 { font-stretch: 125%; font-size: 1.5rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; margin: 0; }
@media (min-width: 768px) { .service-row .title-wrap h3 { font-size: 2.25rem; } }
.service-row .desc { grid-column: 3 / span 10; font-size: 0.875rem; line-height: 1.7; color: hsl(var(--muted-foreground)); transition: color 0.3s var(--ease); }
@media (min-width: 768px) { .service-row .desc { grid-column: span 4; grid-column-start: auto; } }
.service-row .arrow { display: none; justify-content: flex-end; grid-column: span 2; }
@media (min-width: 768px) { .service-row .arrow { display: flex; } }
.service-row .arrow span {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid hsl(var(--border));
  transition: all 0.3s var(--ease);
}
.service-row .arrow svg { width: 1.25rem; height: 1.25rem; transition: transform 0.3s var(--ease); }
.service-row:hover .idx,
.service-row:hover .title-wrap svg { color: hsl(var(--accent)); }
.service-row:hover .desc { color: hsl(var(--background) / 0.6); }
.service-row:hover .arrow span { border-color: hsl(var(--accent)); background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.service-row:hover .arrow svg { transform: rotate(45deg); }

/* ---------- Work ---------- */
.work-grid { display: grid; gap: 5rem; }
@media (min-width: 768px) { .work-grid { grid-template-columns: 1fr 1fr; } }
.work-col { display: flex; flex-direction: column; gap: 5rem; }
@media (min-width: 768px) { .work-col.offset { margin-top: 10rem; } }
.project { cursor: pointer; }
.project .media { position: relative; overflow: hidden; border: 1px solid hsl(var(--border)); }
.project .media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.7s var(--ease); }
.project:hover .media img { transform: scale(1.05); }
.project .media .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent); opacity: 0; transition: opacity 0.5s var(--ease); }
.project:hover .media .overlay { opacity: 1; }
.project .media .view {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.4);
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transform: translateY(0.75rem);
  opacity: 0;
  transition: all 0.5s var(--ease);
}
.project:hover .media .view { transform: translateY(0); opacity: 1; }
.project .media .view svg { width: 1rem; height: 1rem; }
.project .media .pnum { position: absolute; top: 1rem; right: 1rem; font-stretch: 72%; font-size: 0.7rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); }
.project .meta { margin-top: 1.25rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; border-top: 1px solid hsl(var(--border)); padding-top: 1rem; }
.project .meta h3 { font-stretch: 125%; font-size: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; margin: 0; transition: color 0.3s var(--ease); }
@media (min-width: 768px) { .project .meta h3 { font-size: 1.5rem; } }
.project:hover .meta h3 { color: hsl(var(--accent)); }
.project .meta .cat { margin-top: 0.25rem; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.project .meta .year { font-stretch: 72%; font-size: 0.875rem; color: hsl(var(--muted-foreground)); }
.work-cta { margin-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: hsl(var(--accent)); }
.work-cta:hover { text-decoration: underline; text-underline-offset: 8px; }
.work-cta svg { width: 1rem; height: 1rem; }

/* ---------- Studio ---------- */
.studio { background: hsl(var(--secondary) / 0.5); }
.studio-grid { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 1024px) { .studio-grid { grid-template-columns: 1fr 1fr; } }
.studio-media { position: relative; }
.studio-media .main-frame { border: 1px solid hsl(var(--border)); }
.studio-media .main-frame img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.studio-media .detail {
  position: absolute;
  bottom: -2.5rem;
  right: -0.75rem;
  width: 50%;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}
@media (min-width: 768px) { .studio-media .detail { right: -2rem; } }
.studio-media .detail img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.studio-media .badge {
  position: absolute;
  top: 2rem;
  left: -0.75rem;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background) / 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
}
@media (min-width: 768px) { .studio-media .badge { left: -1.5rem; } }
.studio-media .badge .big { font-stretch: 125%; font-size: 1.15rem; font-weight: 900; line-height: 1; }
.studio-media .badge .small { margin-top: 0.25rem; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--muted-foreground)); }
.studio h2 { font-stretch: 125%; font-size: clamp(2.25rem, 4.5vw, 4rem); font-weight: 900; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.02em; margin: 1.5rem 0 0; }
.studio p.lead { margin-top: 2rem; max-width: 36rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.studio p.lead + p.lead { margin-top: 1rem; }
.caps-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid hsl(var(--border)); background: hsl(var(--border)); }
@media (min-width: 640px) { .caps-grid { grid-template-columns: repeat(3, 1fr); } }
.caps-grid .cap { display: flex; align-items: center; gap: 0.5rem; background: hsl(var(--background)); padding: 1rem; }
.caps-grid .cap svg { width: 0.85rem; height: 0.85rem; flex: none; color: hsl(var(--accent)); }
.caps-grid .cap span { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; }
.studio blockquote { margin-top: 2.5rem; border-left: 2px solid hsl(var(--accent)); padding-left: 1.5rem; }
.studio blockquote p { font-size: 1.125rem; font-weight: 500; line-height: 1.6; }
@media (min-width: 768px) { .studio blockquote p { font-size: 1.25rem; } }
.studio blockquote footer { margin-top: 0.75rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: hsl(var(--muted-foreground)); }

/* ---------- Process ---------- */
.process-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.step { border-left: 1px solid hsl(var(--border)); padding-left: 1.5rem; }
@media (min-width: 1024px) { .step { padding-inline: 2rem; border-left: none; } .step:not(:first-child) { border-left: 1px solid hsl(var(--border)); } .step:first-child { padding-left: 0; } }
.step .pnum { font-stretch: 125%; font-size: 3.75rem; font-weight: 900; letter-spacing: -0.02em; color: hsl(var(--foreground) / 0.1); transition: color 0.3s var(--ease); }
.step:hover .pnum { color: hsl(var(--accent)); }
.step h3 { margin-top: 1.5rem; font-stretch: 125%; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; }
.step p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; text-align: center; padding-block: 8rem; }
@media (min-width: 768px) { .contact { padding-block: 11rem; } }
.contact .deco { position: absolute; inset: 0; pointer-events: none; }
.contact .glow-c { position: absolute; top: 50%; left: 50%; width: 40rem; height: 40rem; transform: translate(-50%, -50%); }
.contact .inner { position: relative; }
.contact h2 { font-stretch: 125%; font-size: clamp(2.75rem, 8vw, 7rem); font-weight: 900; text-transform: uppercase; line-height: 0.95; letter-spacing: -0.02em; margin-top: 2rem; }
.contact h2 .line { display: block; overflow: hidden; padding-bottom: 0.25rem; }
.contact h2 .accent { color: hsl(var(--accent)); }
.contact .lead { margin: 2rem auto 0; max-width: 36rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .contact .lead { font-size: 1.125rem; } }
.contact .cta-wrap { margin-top: 3rem; display: flex; justify-content: center; }
.contact-grid { margin: 5rem auto 0; max-width: 64rem; display: grid; grid-template-columns: 1fr; border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-grid .item { padding: 2rem 1.5rem; border-top: 1px solid hsl(var(--border)); }
@media (min-width: 640px) { .contact-grid .item { border-top: none; border-left: 1px solid hsl(var(--border)); } .contact-grid .item:first-child { border-left: none; } }
.contact-grid .item svg { margin-inline: auto; width: 1.25rem; height: 1.25rem; color: hsl(var(--accent)); }
.contact-grid .item .label { margin-top: 0.75rem; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.25em; color: hsl(var(--muted-foreground)); }
.contact-grid .item .val { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 600; }
.contact-grid .item a.val:hover { color: hsl(var(--accent)); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid hsl(var(--border)); }
.footer-wordmark { pointer-events: none; user-select: none; overflow: hidden; padding-top: 2.5rem; }
.footer-wordmark .word { white-space: nowrap; text-align: center; font-stretch: 125%; font-size: 13vw; font-weight: 900; text-transform: uppercase; line-height: 0.85; transform: translateY(22%); }
.footer-grid { display: grid; gap: 3rem; border-top: 1px solid hsl(var(--border)); padding-block: 4rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(12, 1fr); } }
.footer-grid .col-brand { grid-column: span 12; }
@media (min-width: 768px) { .footer-grid .col-brand { grid-column: span 5; } .footer-grid .col-map { grid-column: span 3; } .footer-grid .col-svc { grid-column: span 4; } }
.footer-grid .brand { font-stretch: 125%; font-size: 1.25rem; font-weight: 900; text-transform: uppercase; }
.footer-grid .tagline { margin-top: 1rem; max-width: 24rem; font-size: 0.875rem; line-height: 1.7; color: hsl(var(--muted-foreground)); }
.socials { margin-top: 1.5rem; display: flex; gap: 0.5rem; }
.socials a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid hsl(var(--border)); transition: all 0.25s var(--ease); }
.socials a:hover { border-color: hsl(var(--accent)); background: hsl(var(--accent)); color: hsl(var(--accent-foreground)); }
.socials svg { width: 1rem; height: 1rem; }
.footer-head { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: hsl(var(--muted-foreground)); }
.footer-list { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-list a, .footer-list li { font-size: 0.875rem; font-weight: 500; }
.footer-list a { transition: color 0.25s var(--ease); }
.footer-list a:hover { color: hsl(var(--accent)); text-decoration: underline; text-underline-offset: 4px; }
.footer-list.muted li { color: hsl(var(--muted-foreground)); }
.footer-email { margin-top: 1.5rem; display: inline-block; font-size: 0.875rem; font-weight: 600; color: hsl(var(--accent)); }
.footer-email:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 1rem; border-top: 1px solid hsl(var(--border)); padding-block: 1.5rem; font-size: 0.75rem; color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom .tag { font-stretch: 72%; text-transform: uppercase; letter-spacing: 0.25em; }
.to-top { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid hsl(var(--border)); transition: all 0.25s var(--ease); }
.to-top:hover { border-color: hsl(var(--accent)); color: hsl(var(--accent)); }
.to-top svg { width: 1rem; height: 1rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d-1 { transition-delay: 0.05s; }
.reveal.d-2 { transition-delay: 0.1s; }
.reveal.d-3 { transition-delay: 0.15s; }
.reveal.d-4 { transition-delay: 0.2s; }
.reveal.d-5 { transition-delay: 0.3s; }
.reveal.d-6 { transition-delay: 0.4s; }

/* ---------- WordPress core alignment ---------- */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .screen-reader-text { font-size: 0.8rem; color: hsl(var(--muted-foreground)); }
.sticky, .bypostauthor { display: block; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grid-bg-animated, .chip, .scroll-cue svg { animation: none !important; }
  .hero h1 .line > span { transform: none; animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
