/* Palco em Si — shared styles for the coming-soon page and /styles gallery.
   Black on paper by default, white on near-black when the system prefers dark. */
:root {
  --bg: #f7f7f7;
  --ink: #030303;
  --mute: #6b6b6b;
  --line: #d6d6d6;
  --field: #ffffff;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0e0e0e; --ink: #f7f7f7; --mute: #9a9a9a; --line: #2e2e2e; --field: #161616; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', 'Century Gothic', 'Avenir Next', 'Segoe UI', sans-serif;
  font-weight: 400;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* light/dark variants of an image: show one, hide the other */
.only-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .only-light { display: none; }
  .only-dark { display: block; }
}

/* top bar: brand mark on the left (gallery only), language switch on the right */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
}
.top .brand img { width: 34px; }
.top .brand:only-child { margin-left: auto; }
.lang {
  margin-left: auto;
  display: flex;
  gap: 14px;
  font-size: .78rem;
  letter-spacing: .22em;
}
.lang a { text-decoration: none; color: var(--mute); }
.lang a:hover { color: var(--ink); }
.lang .on { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* coming-soon */
.soon {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 6vh 24px 64px;
}
.soon .lockup { width: min(520px, 82vw); margin-top: 4vh; }
.soon .eyebrow {
  margin: 56px 0 10px;
  font-size: .74rem;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--mute);
}
.soon h1 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 300;
  letter-spacing: .02em;
}
.soon .lead {
  max-width: 32rem;
  margin: 18px auto 0;
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--mute);
}

/* contact form */
.contact {
  width: 100%;
  max-width: 30rem;
  margin: 64px auto 0;
  text-align: left;
}
.contact h2 {
  margin: 0 0 6px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.contact .hint { margin: 0 0 26px; color: var(--mute); font-weight: 300; }
.field { display: block; margin-bottom: 22px; }
.field span {
  display: block;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 4px;
}
.field input, .field textarea {
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  transition: border-color .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--line); }
.btn {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--bg);
  font: inherit;
  font-size: .8rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover:not(:disabled) { background: transparent; color: var(--ink); }
.btn:disabled { opacity: .5; cursor: wait; }
.form-msg {
  margin: 18px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  font-weight: 300;
}
.form-msg.err { color: #b0322b; border-top-color: #b0322b; }
.legal { margin: 26px 0 0; font-size: .7rem; color: var(--mute); letter-spacing: .04em; }
.grecaptcha-badge { visibility: hidden; }

footer.foot {
  padding: 24px;
  text-align: center;
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--mute);
}

/* /styles gallery */
.gallery { flex: 1; padding: 8px 28px 64px; max-width: 1180px; margin: 0 auto; width: 100%; }
.gallery h1 { font-weight: 300; font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 18px 0 6px; }
.gallery .intro { color: var(--mute); font-weight: 300; max-width: 46rem; margin: 0 0 36px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.card { text-decoration: none; display: block; }
.card .shot {
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--field);
  transition: border-color .2s;
}
.card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.card:hover .shot { border-color: var(--ink); }
.card h2 { margin: 14px 0 2px; font-size: 1rem; font-weight: 500; letter-spacing: .06em; }
.card .num { color: var(--mute); font-weight: 300; margin-right: 8px; }
.card p { margin: 0; color: var(--mute); font-weight: 300; font-size: .92rem; }
