/* RUSA Interior website
   Look: black + warm white + brass gold, taken from the RUSA logo and the studio's renders.
   Type: Jost (geometric, like the logo) for headings, Inter for reading. */
:root {
  --ink: #141414; --ink2: #4a463f; --mute: #807a70; --paper: #ffffff; --warm: #f5f2ec; --line: #e7e1d6;
  --gold: #b8913f; --gold2: #d2b06a; --black: #0f0f0f;
  --r: 14px; --max: 1240px;
  --h: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;
  --b: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.65 var(--b); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--h); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 22px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(4vw, 18px); }
.kicker { font-family: var(--h); color: var(--gold); font-weight: 500; font-size: 15px; margin: 0 0 10px; }
.kicker a { color: inherit; }
.lead { font-size: 18px; color: var(--ink2); max-width: 62ch; }
.gold { color: var(--gold2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 500 15px var(--h); text-decoration: none; border: 1.5px solid transparent; transition: .2s; cursor: pointer; }
.btn.gold { background: var(--gold); color: #fff; }
.btn.gold:hover { background: #a37f33; }
.btn.dark { background: var(--ink); color: #fff; }
.btn.dark:hover { background: #333; }
.btn.line { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.line:hover { background: rgba(255,255,255,.12); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: var(--black); color: #fff; transition: background .3s; }
.nav-over { position: fixed; left: 0; right: 0; background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,0)); }
.nav-over.solid { background: rgba(15,15,15,.96); }
.nav-in { max-width: var(--max); margin: 0 auto; padding: 0 max(4vw, 18px); height: 76px; display: flex; align-items: center; gap: 20px; }
.logo img { height: 52px; width: auto; }
.logo span { font: 600 20px var(--h); letter-spacing: .14em; }
.menu { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.menu a { text-decoration: none; font: 500 14.5px var(--h); padding: 10px 14px; color: #e8e4dc; border-radius: 8px; }
.menu a:hover, .menu a.on { color: var(--gold2); }
.menu .btn-wa { margin-left: 10px; background: var(--gold); color: #fff; border-radius: 999px; padding: 10px 20px; }
.menu .btn-wa:hover { background: #a37f33; color: #fff; }
.burger { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; height: 2px; background: #fff; margin: 7px 10px; transition: .25s; }
.has-overlay main, .has-overlay .hero { margin-top: 0; }

/* Hero */
.hero { position: relative; height: min(100vh, 900px); min-height: 560px; background: #222; color: #fff; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.on img { animation: kb 9s ease-out both; }
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.05)), linear-gradient(0deg, rgba(0,0,0,.45), transparent 40%); }
.hero-txt { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(70px, 12vh, 130px); }
.hero h1 { font-size: clamp(36px, 5vw, 64px); max-width: 17ch; margin-bottom: 18px; }
.hero p { font-size: clamp(16px, 1.6vw, 19px); max-width: 48ch; color: #eee8de; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-dots { position: absolute; right: max(4vw, 18px); bottom: 40px; display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 4px; border: 0; border-radius: 2px; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.hero-dots button.on { background: var(--gold2); }

/* Stats */
.stats { background: var(--black); color: #fff; }
.stats-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-in div { padding: 30px 10px; border-left: 1px solid #2b2b2b; text-align: center; }
.stats-in div:first-child { border-left: 0; }
.stats b { display: block; font: 500 clamp(26px, 3vw, 38px)/1.1 var(--h); color: var(--gold2); }
.stats span { font-size: 14px; color: #bdb6aa; }

/* Bands */
.band { padding: clamp(56px, 8vw, 110px) 0; }
.band.tight { padding-top: 10px; }
.band.soft { background: var(--warm); }
.dark-band { background: var(--black); color: #fff; }
.dark-band .kicker { color: var(--gold2); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 34px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.more { font: 500 15px var(--h); color: var(--gold); text-decoration: none; white-space: nowrap; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.split-img img { border-radius: var(--r); width: 100%; }
.prose { font-size: 17px; color: var(--ink2); }

/* Cards: photos keep their own proportions inside a fixed frame */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { text-decoration: none; display: block; }
.card-img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: #ddd center / cover; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.tour-img i { position: absolute; left: 14px; bottom: 12px; font: 600 13px var(--h); font-style: normal; background: rgba(0,0,0,.6); color: #fff; padding: 4px 10px; border-radius: 99px; }
.card-txt { display: block; padding: 14px 2px 0; }
.card-txt b { display: block; font: 500 19px var(--h); }
.card-txt small { color: var(--mute); font-size: 14px; }

/* Services */
.services { display: grid; gap: 22px; }
.service { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: #1a1a1a; border-radius: var(--r); overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.service-txt { padding: clamp(26px, 4vw, 48px); }
.service-txt p { color: #cfc8bc; margin: 0; }
.service.noimg { grid-template-columns: minmax(0, 1fr); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.quote blockquote { margin: 0; font-size: 16.5px; color: var(--ink2); }
.quote figcaption b { display: block; font: 500 17px var(--h); }
.quote figcaption span { color: var(--mute); font-size: 14px; }

/* CTA */
.cta { background: var(--gold); color: #fff; padding: clamp(50px, 7vw, 90px) 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0; max-width: 20ch; }
.cta .btn.gold { background: var(--black); }
.cta .btn.gold:hover { background: #333; }

/* Page head */
.page-head { padding: clamp(46px, 7vw, 90px) 0 30px; }
.page-head .meta { color: var(--mute); margin: -4px 0 16px; }
.page-head .desc { max-width: 70ch; color: var(--ink2); margin-bottom: 22px; font-size: 17px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chips a { text-decoration: none; padding: 9px 18px; border: 1px solid var(--line); border-radius: 99px; font: 500 14.5px var(--h); }
.chips a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { color: var(--mute); }

/* Project gallery: masonry, every photo at its natural proportion (no cropping) */
.masonry { columns: 3 320px; column-gap: 16px; }
.masonry a { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: 10px; overflow: hidden; cursor: zoom-in; background: #eee; }
.masonry img { width: 100%; transition: opacity .3s; }
.masonry a:hover img { opacity: .9; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(8,8,8,.96); display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; }
.lb button { position: absolute; background: rgba(255,255,255,.08); border: 0; color: #fff; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 32px; line-height: 1; }
.lb-x { top: 16px; right: 16px; }
.lb-p { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-n { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-bar { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 22px; color: #bbb; font-size: 14px; }
.lb-bar a { color: var(--gold2); }

/* Contact */
.form { display: grid; gap: 14px; max-width: 560px; }
.form label { display: grid; gap: 6px; font: 500 14.5px var(--h); }
.form input, .form select, .form textarea { font: 16px var(--b); padding: 13px 14px; border: 1px solid #d8d1c4; border-radius: 10px; background: #fff; color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid rgba(184,145,63,.4); border-color: var(--gold); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.note { padding: 14px 16px; border-radius: 10px; margin-bottom: 18px; }
.note.ok { background: #eaf5ee; color: #1f6b3e; }
.note.err { background: #fbecea; color: #9b2c20; }
.contact { align-items: start; }
.contact-card { background: var(--warm); border-radius: var(--r); padding: 30px; }
.contact-card .btn { margin: 4px 0 20px; }

/* Footer */
.foot { background: var(--black); color: #d8d2c7; padding-top: 56px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; padding-bottom: 40px; }
.foot-logo { height: 70px; width: auto; margin-bottom: 10px; }
.foot p { color: #9d968a; margin: 0; }
.foot-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-contact li { display: grid; grid-template-columns: 110px minmax(0, 1fr); }
.foot-contact span { color: #8d867a; font-size: 14px; }
.foot-contact a { text-decoration: none; }
.foot-contact a:hover { color: var(--gold2); }
.foot-contact.dark span { color: var(--mute); }
.foot-bot { border-top: 1px solid #262626; padding: 20px max(4vw, 18px) 28px; font-size: 13.5px; color: #7c766b; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1faa53; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* Reveal on scroll (one purposeful motion) */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .cards, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .burger { display: block; }
  .menu { position: fixed; inset: 76px 0 auto 0; background: rgba(15,15,15,.98); flex-direction: column; align-items: stretch; padding: 10px 18px 24px; gap: 0; transform: translateY(-120%); transition: transform .3s; }
  .menu.open { transform: none; }
  .menu a { padding: 14px 6px; font-size: 17px; border-bottom: 1px solid #222; }
  .menu .btn-wa { margin: 14px 0 0; text-align: center; }
  .split, .service, .foot-in { grid-template-columns: minmax(0, 1fr); }
  .split-img { order: -1; }
  .stats-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-in div:nth-child(3) { border-left: 0; }
  .stats-in div { border-top: 1px solid #2b2b2b; }
}
@media (max-width: 600px) {
  .cards, .quotes { grid-template-columns: minmax(0, 1fr); }
  .nav-in { height: 64px; } .menu { inset: 64px 0 auto 0; }
  .logo img { height: 38px; }
  .hero { min-height: 600px; }
  .foot-contact li { grid-template-columns: 90px minmax(0, 1fr); }
  .lb button { width: 44px; height: 44px; font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .rv, .card-img img { transition: none !important; animation: none !important; }
  .rv { opacity: 1; transform: none; }
}
