/* ==========================================================================
   Graviton -- components that don't exist on rzastudio (work grid, service
   rows, prose, CTA...). Everything uses the ORIGINAL token system from
   site.css: --display / --body / --ui / --en, colours, easings.
   Loaded after content.css on inner pages.
   ========================================================================== */

img { max-width: 100%; height: auto; display: block; }

/* --------------------------------------------------------------------------
   Page hero -- the hero--contact pattern generalised for every inner page
   -------------------------------------------------------------------------- */

.hero--page {
  justify-content: center;
  min-height: auto;
  padding: clamp(120px, 16vh, 184px) 24px clamp(48px, 8vh, 96px);
}
.hero--page .hero__ar { margin-top: 0; max-width: 900px; }
.hero--page .hero__headline {
  font-family: var(--display);
  font-size: clamp(44px, 8vw, 92px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1px;
  color: var(--ink-deep);
}
.hero--page .hero__sub {
  margin-top: 16px; line-height: 1.7;
  color: rgba(239, 241, 246, .72);
  max-width: 640px;
}
.hero--page .hero__tagline { margin-top: 22px; font-size: 11.5px; letter-spacing: .28em; }
.hero--page .hero__tagline::after, .hero--page .hero__tagline::before { width: 34px; }
.hero__dot {
  width: 10px; height: 10px; border-radius: 50%; flex: none;
  background: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft);
}
.hero--page .hero__actions { margin-top: 30px; }

/* entrance -- same rhythm as the original contact hero */
.js .hero--page .hero__dot      { opacity: 0; animation: riseIn .9s var(--ease-expo) .05s forwards; }
.js .hero--page .hero__tagline  { animation: riseIn 1s var(--ease-expo) .15s forwards; }
.js .hero--page .hero__headline { animation: headlineReveal 1.1s var(--ease-expo) .4s forwards; }
.js .hero--page .hero__sub      { animation: riseIn 1s var(--ease-expo) .75s forwards; }
.js .hero--page .hero__headline em::after { animation: emLine .8s var(--ease-io) 1.35s forwards; }
.js .hero--page .btn { animation: btnIn .8s var(--ease-back) calc(1s + var(--bi, 0) * 90ms) forwards; }
@keyframes btnIn { to { opacity: 1; transform: translateY(0) scale(1) } }
.no-intro .hero__dot { opacity: 1 !important; animation: none !important; }

/* --------------------------------------------------------------------------
   Section scaffold
   -------------------------------------------------------------------------- */

.sec { padding: clamp(64px, 10vh, 116px) clamp(20px, 5vw, 48px); position: relative; }
.sec--tight { padding-top: clamp(36px, 6vh, 64px); }
.sec + .sec { padding-top: 0; }
.sec__wrap { max-width: 1280px; margin: 0 auto; }
.sec__wrap--narrow { max-width: 860px; }

.rule {
  max-width: 1280px; margin: 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ink-hair) 18%, var(--ink-hair) 82%, transparent);
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--en);
  font-size: 10.5px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
  color: var(--ink-faint);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--orange); flex: none; }

.sec__head { max-width: 760px; margin-bottom: clamp(32px, 5vh, 54px); }
.sec__head--center { margin-inline: auto; text-align: center; }
.sec__head--center .eyebrow { justify-content: center; }
.sec__title {
  margin-top: 14px;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 46px); font-weight: 900;
  line-height: 1.14; letter-spacing: -.5px; color: var(--ink-deep);
  text-wrap: balance;
}
.sec__title em { font-style: normal; color: var(--orange); }
.sec__lede {
  margin-top: 16px; max-width: 640px;
  font-family: var(--body);
  font-size: clamp(15px, 1.2vw, 16.5px); line-height: 1.9; color: var(--ink-dim);
  text-wrap: pretty;
}
.sec__head--center .sec__lede { margin-inline: auto; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(20px); }
.js .rv { transition: opacity .9s var(--ease-expo), transform .9s var(--ease-expo); }
.js .rv.in { opacity: 1; transform: none; }
.rv[style*="--ri"] { transition-delay: calc(var(--ri, 0) * 90ms); }
html:not(.js) .rv { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Card grids -- the original .card is styled in content.css; here only the
   grid wrappers, the centred variant and extra channel accents
   -------------------------------------------------------------------------- */

.cards { display: grid; gap: 18px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.js .sec .card { opacity: 1; animation: none; }

.card__desc { font-family: var(--body); }
.card__num { font-family: var(--en); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: var(--orange); }

/* WhatsApp accent (rzastudio only had Telegram) */
.card.c-wa:focus-visible, .card.c-wa:hover { border-color: rgba(37, 211, 102, .4); }
.card.c-wa:focus-visible::before, .card.c-wa:hover::before { background: linear-gradient(90deg, transparent, #25D366, transparent); }
.card.c-wa:focus-visible .card__ic, .card.c-wa:hover .card__ic { border-color: rgba(37, 211, 102, .45); background: rgba(37, 211, 102, .12); }
.card.c-wa:focus-visible .card__ic svg, .card.c-wa:hover .card__ic svg { stroke: #25D366; }
.card.c-wa:focus-visible .card__title, .card.c-wa:hover .card__title { color: #25D366; }
.card.c-wa:focus-visible .card__val, .card.c-wa:hover .card__val { color: #25D366; border-color: rgba(37, 211, 102, .35); }
.soc.s-li:hover, .soc.s-li:focus-visible { color: #0A66C2; border-color: rgba(10, 102, 194, .45); background: rgba(10, 102, 194, .12); }

.contact__meta {
  margin-top: clamp(34px, 6vh, 56px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  text-align: center;
}
.meta { padding: 20px 16px; border: 1px solid var(--ink-hair); border-radius: 14px; background: rgba(239, 241, 246, .015); }
.meta dt { font-family: var(--en); font-size: 10px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-faint); }
.meta dd { margin-top: 8px; font-family: var(--ui); font-size: 14px; line-height: 1.6; color: var(--ink); }
.meta dd a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--ink-trace); }
.meta dd a:hover { color: var(--orange); border-bottom-color: var(--orange); }
.js .contact__meta { opacity: 0; animation: riseIn .9s var(--ease-expo) 1.75s forwards; }
.no-intro .contact__meta { opacity: 1 !important; animation: none !important; }

/* --------------------------------------------------------------------------
   Numbered service rows
   -------------------------------------------------------------------------- */

.svc { display: grid; grid-template-columns: 88px 1fr; gap: 0 28px; padding: 34px 0; border-top: 1px solid var(--ink-hair); }
.svc:last-child { border-bottom: 1px solid var(--ink-hair); }
.svc__n {
  font-family: var(--en);
  font-size: clamp(30px, 4vw, 44px); font-weight: 700; line-height: 1;
  letter-spacing: -.03em; color: var(--ink-trace);
  transition: color .45s var(--ease);
}
.svc:hover .svc__n { color: var(--orange); }
.svc__title { font-family: var(--display); font-size: clamp(20px, 2.3vw, 27px); font-weight: 700; letter-spacing: -.3px; color: var(--ink-deep); line-height: 1.25; }
.svc__desc { margin-top: 10px; font-family: var(--body); font-size: 15px; line-height: 1.9; color: var(--ink-dim); max-width: 700px; text-wrap: pretty; }
.svc__list { margin-top: 18px; display: grid; gap: 10px; }

.li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; align-items: start; font-family: var(--body); font-size: 14.5px; line-height: 1.8; color: var(--ink-dim); }
.li::before { content: ''; width: 6px; height: 6px; margin-top: .62em; border-radius: 50%; background: var(--orange); opacity: .75; }
.li b, .li strong { color: var(--ink); font-weight: 700; }

/* --------------------------------------------------------------------------
   Feature split
   -------------------------------------------------------------------------- */

.feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.feat--rev .feat__media { order: 2; }
.feat__media {
  position: relative; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border); background: var(--paper-soft);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.feat__media img { width: 100%; display: block; }
.feat__body .sec__title { margin-top: 14px; font-size: clamp(26px, 3vw, 40px); }

/* --------------------------------------------------------------------------
   Work grid + lightbox
   -------------------------------------------------------------------------- */

.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.shot {
  position: relative; grid-column: span 4; margin: 0;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); background: var(--paper-soft);
  cursor: zoom-in; display: block; width: 100%; padding: 0;
  transition: border-color .45s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--ease); }
.shot::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(7, 8, 10, .78) 0%, rgba(7, 8, 10, .12) 42%, transparent 68%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16px 18px; text-align: left;
  display: flex; flex-direction: column; gap: 3px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.shot figcaption b { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--ink-deep); letter-spacing: -.01em; }
.shot figcaption span { font-family: var(--en); font-size: 10.5px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--orange); }
.shot:hover, .shot:focus-visible { border-color: rgba(255, 77, 28, .35); box-shadow: 0 20px 54px rgba(0, 0, 0, .5); outline: 0; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.045); }
.shot:hover::after, .shot:focus-visible::after { opacity: 1; }
.shot:hover figcaption, .shot:focus-visible figcaption { opacity: 1; transform: none; }
.shot:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.shot--wide { grid-column: span 8; }
.shot--full { grid-column: span 12; }
.shot--half { grid-column: span 6; }
.shot--tall { grid-column: span 4; }
.ar-16-9 { aspect-ratio: 16 / 9; }
.ar-4-5  { aspect-ratio: 4 / 5; }
.ar-3-4  { aspect-ratio: 3 / 4; }
.ar-1-2  { aspect-ratio: 5 / 8; }

.lb {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  background: rgba(4, 5, 7, .93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.lb.open { display: flex; animation: lbIn .35s var(--ease) both; }
@keyframes lbIn { from { opacity: 0 } to { opacity: 1 } }
.lb img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  border-radius: 8px; box-shadow: 0 40px 120px rgba(0, 0, 0, .8);
  animation: lbZoom .4s var(--ease-expo) both;
}
@keyframes lbZoom { from { transform: scale(.96); opacity: 0 } to { transform: none; opacity: 1 } }
.lb__cap {
  position: absolute; left: 0; right: 0; bottom: clamp(12px, 3vw, 26px);
  text-align: center; font-family: var(--en); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-dim);
}
.lb__x, .lb__nav {
  position: absolute; width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(239, 241, 246, .06); border: 1px solid var(--border);
  color: var(--ink); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.lb__x:hover, .lb__nav:hover { background: var(--orange); border-color: var(--orange); color: var(--paper); }
.lb__x { top: clamp(12px, 3vw, 26px); right: clamp(12px, 3vw, 26px); }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: clamp(8px, 2vw, 22px); }
.lb__nav--next { right: clamp(8px, 2vw, 22px); }
.lb svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
body.lb-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Chips, prose, CTA, empty state
   -------------------------------------------------------------------------- */

.stack { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: var(--ui); font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(239, 241, 246, .025);
  color: var(--ink-dim);
  transition: color .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.chip:hover { color: var(--ink); border-color: rgba(255, 77, 28, .3); background: var(--orange-soft); }

.prose { max-width: 760px; }
.prose > * + * { margin-top: 18px; }
.prose p { font-family: var(--body); font-size: 16px; line-height: 1.95; color: var(--ink-dim); text-wrap: pretty; }
.prose h2 {
  margin-top: 44px; font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 30px); font-weight: 700;
  letter-spacing: -.4px; color: var(--ink-deep); line-height: 1.3;
}
.prose strong, .prose b { color: var(--ink); font-weight: 700; }
.prose a { color: var(--orange); text-decoration: none; border-bottom: 1px solid rgba(255, 77, 28, .35); }
.prose a:hover { color: var(--orange-bright); border-bottom-color: var(--orange-bright); }
.prose ul { list-style: none; display: grid; gap: 10px; }

.cta {
  position: relative; overflow: hidden;
  border: 1px solid var(--border); border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 77, 28, .09), rgba(20, 22, 28, .6) 46%);
  padding: clamp(34px, 6vw, 62px) clamp(24px, 5vw, 56px);
  text-align: center;
}
.cta::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}
.cta__title { font-family: var(--display); font-size: clamp(26px, 3.4vw, 42px); font-weight: 900; letter-spacing: -.5px; line-height: 1.14; color: var(--ink-deep); text-wrap: balance; }
.cta__title em { font-style: normal; color: var(--orange); }
.cta__sub { margin: 14px auto 0; max-width: 520px; font-family: var(--body); font-size: 15px; line-height: 1.85; color: var(--ink-dim); text-wrap: pretty; }
.cta__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.js .cta .btn, .js .sec .btn { opacity: 1; transform: none; animation: none; }

.empty {
  max-width: 620px; margin: 0 auto; text-align: center;
  padding: clamp(40px, 7vw, 72px) clamp(24px, 5vw, 48px);
  border: 1px dashed var(--border); border-radius: 20px;
  background: rgba(239, 241, 246, .015);
}
.empty__ic {
  width: 62px; height: 62px; margin: 0 auto; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border); background: rgba(239, 241, 246, .03);
}
.empty__ic svg { width: 26px; height: 26px; stroke: var(--ink-faint); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.empty h2 { margin-top: 22px; font-family: var(--display); font-size: clamp(22px, 2.8vw, 28px); font-weight: 700; color: var(--ink-deep); letter-spacing: -.3px; }
.empty p { margin-top: 12px; font-family: var(--body); font-size: 15px; line-height: 1.9; color: var(--ink-dim); text-wrap: pretty; }
.empty .btn { margin-top: 26px; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1000px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .work { gap: 12px; }
  .shot, .shot--tall, .shot--wide, .shot--half { grid-column: span 6; }
  .shot--full { grid-column: span 12; }
}
@media (max-width: 860px) {
  .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .feat { grid-template-columns: 1fr; gap: 26px; }
  .feat--rev .feat__media { order: 0; }
  .contact__meta { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
  .svc__n { font-size: 26px; }
  .shot, .shot--tall, .shot--wide, .shot--half, .shot--full { grid-column: span 12; }
  .lb__nav { width: 42px; height: 42px; }
  .hero--page .hero__headline { font-size: clamp(36px, 11vw, 54px); }
}

@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .contact__meta { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .shot:hover img { transform: none !important; }
  .lb.open, .lb img { animation: none !important; }
}
