/* Rendex Design  independent commercial design studio */
:root {
 --bg: #0c0b0a;
 --bg-elev: #161412;
 --bg-card: rgba(255, 255, 255, 0.04);
 --text: #f7f3ee;
 --muted: #a89f94;
 --orange: #e85d04;
 --orange-bright: #ff7a1a;
 --orange-soft: rgba(232, 93, 4, 0.18);
 --line: rgba(255, 255, 255, 0.08);
 --line-strong: rgba(232, 93, 4, 0.35);
 --font: "Inter", system-ui, sans-serif;
 --display: "Playfair Display", Georgia, serif;
 --header-h: 72px;
 --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
 margin: 0;
 font-family: var(--font);
 background: var(--bg);
 color: var(--text);
 line-height: 1.65;
 font-weight: 400;
 overflow-x: hidden;
}
a { color: var(--orange-bright); text-decoration: none; }
a:hover { color: #ffb070; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, 100% - 2.5rem); margin: 0 auto; }

/* Cinema stage */
.cinema-stage {
 position: fixed; inset: 0; z-index: 0;
 background: #000; pointer-events: none;
}
.cinema-layer {
 position: absolute; inset: 0;
 opacity: 0; transition: opacity 0.9s ease;
}
.cinema-layer.is-active { opacity: 1; }
.cinema-layer video, .cinema-layer .cinema-poster {
 width: 100%; height: 100%; object-fit: cover;
}
.cinema-poster { position: absolute; inset: 0; }
.cinema-video { position: absolute; inset: 0; }
.cinema-scrim {
 position: absolute; inset: 0;
 /* Keep left wall / Rendex Design sign readable; shade right & bottom for copy */
 background:
 linear-gradient(90deg, rgba(12,11,10,.12) 0%, rgba(12,11,10,.08) 38%, rgba(12,11,10,.42) 72%, rgba(12,11,10,.58) 100%),
 linear-gradient(180deg, rgba(12,11,10,.28) 0%, rgba(12,11,10,.12) 32%, rgba(12,11,10,.48) 68%, rgba(12,11,10,.9) 100%),
 radial-gradient(ellipse 55% 45% at 88% 12%, rgba(12,11,10,.55), transparent 70%),
 radial-gradient(ellipse 70% 45% at 75% 18%, var(--orange-soft), transparent 65%);
}

.site-header {
 position: fixed; top: 0; left: 0; right: 0; z-index: 50;
 height: var(--header-h);
 backdrop-filter: blur(16px);
 background: rgba(12, 11, 10, 0.72);
 border-bottom: 1px solid var(--line);
}
.header-inner {
 height: 100%;
 display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
 display: flex; align-items: center; gap: .7rem; color: var(--text);
 font-weight: 600; letter-spacing: -0.02em;
}
.logo-mark {
 width: 36px; height: 36px; border-radius: 10px;
 background: linear-gradient(135deg, var(--orange-bright), #b33f00);
 display: grid; place-items: center;
 font-size: .72rem; font-weight: 700; color: #fff;
 letter-spacing: .04em;
}
.logo-sub {
 display: block; font-size: .68rem; font-weight: 500;
 letter-spacing: .16em; text-transform: uppercase; color: var(--orange);
}
.nav { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: .9rem; font-weight: 500; }
.nav a:hover { color: var(--text); }
.nav-cta {
 padding: .55rem 1rem; border-radius: 999px;
 background: var(--orange); color: #fff !important; font-weight: 600 !important;
}
.nav-cta:hover { background: var(--orange-bright); color: #fff !important; }

main { position: relative; z-index: 1; }
.panel {
 min-height: 100vh;
 display: flex; align-items: center;
 padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}
.panel--solid {
 background: #f6f2ec;
 color: #141210;
}
.panel--solid .muted, .panel--solid .panel-lead { color: #5c564e; }
.panel--solid h2, .panel--solid h3 { color: #141210; }

.eyebrow {
 display: flex; align-items: center; gap: .65rem;
 font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
 color: var(--orange-bright); font-weight: 600; margin: 0 0 1rem;
}
.panel--solid .eyebrow { color: #c2410c; }
.eyebrow-line {
 width: 28px; height: 2px; background: currentColor; display: inline-block;
}
/* Hero: compact copy top-right so left wall sign stays clear */
.hero {
 align-items: flex-start;
 justify-content: flex-end;
 padding-top: calc(var(--header-h) + 1.1rem);
 padding-bottom: 2rem;
 min-height: 100vh;
}
.hero-copy {
 max-width: 22rem;
 width: min(22rem, 42vw);
 margin-left: auto;
 /* pull off the far right edge so it sits mid-right, not flush */
 margin-right: clamp(2rem, 10vw, 7rem);
 text-align: right;
 /* soft local shade only under text — not over the sign */
 padding: 1rem 1.15rem 1.1rem;
 border-radius: 14px;
 background: linear-gradient(135deg, rgba(12,11,10,.35), rgba(12,11,10,.55));
 border: 1px solid rgba(255,255,255,.06);
 backdrop-filter: blur(8px);
 box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.hero-copy .eyebrow {
 justify-content: flex-end;
 margin-bottom: .65rem;
}
.hero-copy h1 {
 font-family: var(--display);
 font-size: clamp(1.75rem, 3.2vw, 2.45rem);
 line-height: 1.1; font-weight: 600; margin: 0 0 .65rem;
 letter-spacing: -0.02em;
}
.hero-lead {
 color: rgba(247,243,238,.82); font-size: .92rem; font-weight: 300;
 margin: 0 0 0 auto; max-width: 20rem; line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.stat-row {
 display: flex; flex-wrap: wrap; gap: 1.5rem 2rem;
 padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.stat strong {
 display: block; font-family: var(--display);
 font-size: 1.65rem; color: var(--orange-bright); font-weight: 600;
}
.stat span { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }

.btn {
 display: inline-flex; align-items: center; justify-content: center;
 padding: .85rem 1.35rem; border-radius: 999px;
 font-weight: 600; font-size: .95rem; border: 1px solid transparent;
 transition: .2s ease;
}
.btn-solid { background: var(--orange); color: #fff !important; }
.btn-solid:hover { background: var(--orange-bright); color: #fff !important; }
.btn-outline {
 border-color: rgba(255,255,255,.28); color: var(--text) !important;
 background: rgba(255,255,255,.04);
}
.btn-outline:hover { border-color: var(--orange); color: #fff !important; }
.panel--solid .btn-outline {
 border-color: rgba(0,0,0,.15); color: #141210 !important; background: #fff;
}

.glass-block {
 background: rgba(20, 18, 16, 0.55);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 1.5rem 1.6rem;
 backdrop-filter: blur(12px);
}
.panel--solid .glass-block {
 background: #fff;
 border: 1px solid rgba(0,0,0,.06);
 box-shadow: 0 10px 40px rgba(0,0,0,.05);
}

.panel-head { max-width: 40rem; margin-bottom: 2rem; }
.panel-head h2 {
 font-family: var(--display); font-size: clamp(2rem, 4vw, 2.75rem);
 margin: 0 0 .75rem; font-weight: 600;
}
.panel-lead { color: var(--muted); font-weight: 300; margin: 0; }

.services-grid {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.service-card h3 {
 margin: 0 0 .4rem; font-size: 1.05rem; font-weight: 600;
 color: var(--orange-bright);
}
.service-card p { margin: 0; color: var(--muted); font-size: .95rem; font-weight: 300; }

.markets {
 display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem;
}
.markets span {
 padding: .4rem .8rem; border-radius: 999px;
 border: 1px solid var(--line); font-size: .8rem; color: var(--muted);
 background: rgba(255,255,255,.03);
}

.steps {
 list-style: none; padding: 0; margin: 0;
 display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.steps li { position: relative; }
.steps .num {
 display: block; font-family: var(--display);
 font-size: 1.5rem; color: var(--orange); margin-bottom: .4rem;
}
.steps h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: .92rem; font-weight: 300; }

.about-grid {
 display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start;
}
.badge-row { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.25rem 0; }
.badge {
 padding: .45rem .75rem; border-radius: 999px; font-size: .75rem;
 border: 1px solid var(--line-strong); color: var(--orange-bright);
 background: var(--orange-soft); font-weight: 600; letter-spacing: .04em;
}

.contact-grid {
 display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.5rem;
}
.contact-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.contact-list li { margin: 0 0 .65rem; color: var(--muted); }
.contact-list a { color: var(--text); }
.social-row {
  display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.25rem;
  align-items: center;
}
.social-row a.soc {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  border: none; color: #fff;
  box-shadow: 0 6px 16px rgba(0,0,0,.28);
  transition: transform .15s ease, box-shadow .15s ease;
}
.social-row a.soc:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
  color: #fff;
}
.social-row a.soc svg { display: block; }
.soc-fb { background: #1877f2; }
.soc-ig { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.soc-in { background: #0a66c2; }
.soc-yt { background: #ff0000; }
.soc-x { background: #000000; border: 1px solid rgba(255,255,255,.12); }
.soc-pin { background: #e60023; }
.soc-tt { background: #010101; border: 1px solid rgba(255,255,255,.12); }

.site-footer {
 position: relative; z-index: 1;
 border-top: 1px solid var(--line);
 background: rgba(12,11,10,.92);
 padding: 2rem 0;
}
.footer-inner {
 display: flex; flex-wrap: wrap; gap: 1rem;
 justify-content: space-between; align-items: center;
 color: var(--muted); font-size: .88rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--orange-bright); }

/* Team page */
.team-page { padding: calc(var(--header-h) + 3rem) 0 4rem; position: relative; z-index: 1; }
.team-hero { max-width: 40rem; margin-bottom: 2.5rem; }
.team-hero h1 {
 font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem);
 margin: 0 0 1rem; font-weight: 600;
}
.team-grid {
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.team-card {
 background: var(--bg-elev);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 overflow: hidden;
}
.team-card.featured { grid-column: 1 / -1; display: grid; grid-template-columns: 280px 1fr; }
.team-card img {
 width: 100%; aspect-ratio: 1; object-fit: cover; background: #222;
}
.team-card.featured img { aspect-ratio: auto; height: 100%; min-height: 320px; }
.team-body { padding: 1.25rem 1.35rem 1.5rem; }
.team-body h2, .team-body h3 {
 margin: 0 0 .25rem; font-family: var(--display); font-weight: 600;
}
.team-role {
 color: var(--orange-bright); font-size: .8rem; letter-spacing: .08em;
 text-transform: uppercase; font-weight: 600; margin: 0 0 .75rem;
}
.team-body p { margin: 0; color: var(--muted); font-weight: 300; font-size: .95rem; }

/* Chat */
.chat-widget { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 80; }
.chat-launcher {
 border: 0; cursor: pointer;
 background: var(--orange); color: #fff;
 padding: .85rem 1.15rem; border-radius: 999px;
 font-weight: 600; font-family: var(--font);
 box-shadow: 0 10px 30px rgba(232, 93, 4, .35);
 display: flex; align-items: center; gap: .5rem;
}
.chat-dot {
 width: 8px; height: 8px; border-radius: 50%;
 background: #7CFFB2; box-shadow: 0 0 0 4px rgba(124,255,178,.2);
}
.chat-panel {
 position: absolute; right: 0; bottom: 3.6rem; width: min(340px, 90vw);
 background: #1a1714; border: 1px solid var(--line);
 border-radius: 16px; padding: 1rem; box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.chat-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.chat-head strong { font-size: .95rem; }
.chat-close { background: none; border: 0; color: var(--muted); font-size: 1.4rem; cursor: pointer; }
.chat-intro { color: var(--muted); font-size: .85rem; margin: 0 0 .85rem; font-weight: 300; }
.chat-panel input, .chat-panel textarea {
 width: 100%; margin: 0 0 .55rem; padding: .65rem .75rem;
 border-radius: 10px; border: 1px solid var(--line);
 background: #0f0e0c; color: var(--text); font-family: var(--font);
}
.chat-panel button[type=submit] {
 width: 100%; border: 0; border-radius: 999px; padding: .7rem;
 background: var(--orange); color: #fff; font-weight: 600; cursor: pointer;
}
.chat-note { font-size: .78rem; color: var(--muted); margin: .5rem 0 0; }

@media (max-width: 900px) {
 .services-grid, .steps { grid-template-columns: 1fr 1fr; }
 .about-grid, .contact-grid, .team-card.featured { grid-template-columns: 1fr; }
 .team-grid { grid-template-columns: 1fr 1fr; }
 .nav a:not(.nav-cta) { display: none; }
 .hero-copy {
  max-width: min(20rem, 48vw);
  width: min(20rem, 48vw);
 }
}
@media (max-width: 560px) {
 .services-grid, .steps, .team-grid { grid-template-columns: 1fr; }
 /* Phone: still top-right, smaller so sign on left stays open */
 .hero-copy {
  text-align: right;
  max-width: min(16.5rem, 72vw);
  width: auto;
  margin-right: 0;
  padding: .85rem 1rem;
 }
 .hero-copy h1 { font-size: clamp(1.45rem, 6.5vw, 1.85rem); }
 .hero-lead { font-size: .82rem; }
}

/* Portfolio - market pills */
.portfolio-tabs { display:flex; flex-wrap:wrap; gap:.55rem; margin:0 0 1.5rem; }
.portfolio-tabs button {
  border:1px solid rgba(255,255,255,.18);
  background:rgba(20,18,16,.55);
  color:rgba(247,243,238,.78);
  font-family:var(--font); font-size:.84rem; font-weight:500;
  letter-spacing:.01em; text-transform:none;
  padding:.5rem 1rem; border-radius:999px; cursor:pointer; transition:.2s ease;
  backdrop-filter: blur(8px);
}
.portfolio-tabs button:hover { color:#fff; border-color:rgba(255,255,255,.35); }
.portfolio-tabs button.is-active {
  background:var(--orange); border-color:var(--orange); color:#fff; font-weight:600;
}
.portfolio-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.85rem; }
.portfolio-item {
  position:relative; border-radius:14px; overflow:hidden; border:1px solid var(--line);
  background:#1a1714; aspect-ratio:1; cursor:zoom-in;
}
.portfolio-item img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.portfolio-item:hover img { transform:scale(1.04); }
.portfolio-item .p-cap {
  position:absolute; left:0; right:0; bottom:0; padding:.65rem .8rem;
  background:linear-gradient(transparent, rgba(0,0,0,.75));
  color:#fff; font-size:.78rem; font-weight:500; opacity:0; transition:.25s ease;
}
.portfolio-item:hover .p-cap { opacity:1; }
.portfolio-empty { grid-column:1/-1; text-align:center; color:var(--muted); padding:2rem; display:none; }
.portfolio-note { margin:1rem 0 0; color:var(--muted); font-size:.85rem; font-weight:300; }
.lb {
  position:fixed; inset:0; z-index:100; background:rgba(0,0,0,.88);
  display:none; align-items:center; justify-content:center; padding:1.5rem;
}
.lb.is-open { display:flex; }
.lb img { max-width:min(1100px,96vw); max-height:88vh; object-fit:contain; border-radius:8px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.lb-close { position:absolute; top:1rem; right:1.25rem; background:none; border:0; color:#fff; font-size:2rem; cursor:pointer; line-height:1; }
@media (max-width:900px){ .portfolio-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .portfolio-grid { grid-template-columns:1fr; } }