/*
  JRG Tecnologia: static site, no build step.
  Tokens: one neutral (zinc) palette + one accent (ember, from Become's brand).
  Shape rule: buttons are full pill, images and panels are 16px.
*/

@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/dm-sans.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #fafafa;
  --surface: #f2f2f3;
  --text: #18181b;
  --muted: #52525b;
  --line: #e4e4e7;
  --accent: #b5401f;
  --accent-ink: #fafafa;
  --radius: 16px;
  --max: 1200px;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1b1b1e;
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --line: #2a2a2e;
    --accent: #f08562;
    --accent-ink: #18181b;
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav { border-bottom: 1px solid var(--line); }
.nav .wrap { height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 700; letter-spacing: -0.02em; text-decoration: none; font-size: 18px; }
.brand:hover { color: var(--text); }
.nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; font-size: 15px; }
.nav ul a { text-decoration: none; color: var(--muted); }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.2s;
}
.btn:hover { color: var(--accent-ink); filter: brightness(1.06); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-quiet { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-quiet:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--muted); filter: none; }

/* Hero: text left, Become's light right */
.hero { padding: 72px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.035em;
  font-weight: 650; margin: 0 0 24px; max-width: 13ch;
}
.hero p { font-size: 19px; color: var(--muted); max-width: 44ch; margin: 0 0 36px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: #f6e6dc url("/assets/img/aura.webp") center 80% / cover no-repeat;
}
.hero-art img {
  position: absolute; left: 50%; top: 62%; width: 42%; translate: -50% -50%;
  border-radius: 22.5%; box-shadow: 0 24px 60px rgb(150 60 30 / 0.28);
}

/* Become */
.become { padding: 96px 0; border-top: 1px solid var(--line); }
.become .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.become h2, .company h2, .contact h2, .doc h1 {
  font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; margin: 0 0 20px;
}
.become .tagline {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; margin: 0 0 24px; padding-bottom: 4px; max-width: 22ch;
}
.become p { color: var(--muted); max-width: 50ch; margin: 0 0 20px; }
.become .status { color: var(--text); font-weight: 600; margin-top: 32px; }
.become .links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; margin-top: 8px; }
.become .links a { color: var(--muted); }
.become .links a:hover { color: var(--accent); }

.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: #f6eee6; outline: 1px solid var(--line); outline-offset: -1px; }
.gallery .tall { grid-row: span 2; aspect-ratio: auto; height: 100%; }

/* Company details */
.company { padding: 96px 0; background: var(--surface); }
.company dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; margin: 40px 0 0; max-width: 880px; }
.company dt { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.company dd { margin: 0; font-size: 18px; font-weight: 500; }

/* Contact */
.contact { padding: 112px 0; }
.contact p { color: var(--muted); max-width: 52ch; margin: 0 0 32px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 32px 0 48px; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; flex-wrap: wrap; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* Legal and support documents */
.doc { padding: 72px 0 112px; }
.doc .wrap { max-width: 760px; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 0 0 48px; }
.doc h2 { font-size: 22px; letter-spacing: -0.015em; line-height: 1.3; margin: 48px 0 12px; font-weight: 650; }
.doc p, .doc li { color: var(--text); max-width: 68ch; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc .lede { font-size: 19px; color: var(--muted); }
.doc .app-head { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; }
.doc .app-head img { width: 72px; height: 72px; border-radius: 22.5%; }
.doc .app-head h1 { margin: 0; }

/* Entry motion: only a short fade so the hero settles in once. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .rise-2 { animation-delay: 0.08s; }
  .rise-3 { animation-delay: 0.16s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* Below 768px every multi-column layout collapses to one column. */
@media (max-width: 767px) {
  .wrap { padding: 0 20px; }
  .nav ul { gap: 18px; }
  .hero { padding: 40px 0 64px; }
  .hero .wrap, .become .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { aspect-ratio: 1; }
  .become, .company { padding: 64px 0; }
  .contact { padding: 72px 0; }
  .company dl { grid-template-columns: 1fr; gap: 24px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .tall { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 1; height: auto; }
}
@media (max-width: 420px) {
  .nav ul li.optional { display: none; }
}
