/* Ranly Studios — based on the Hex Monogram logo */
:root {
  --bg: #0e0e14;
  --bg-glow: #25253a;
  --surface: #14141c;
  --surface-2: #1c1c28;
  --line: #2c2c3d;
  --text: #ffffff;
  --muted: #b9b9d0;
  --cyan: #22d3ee;
  --violet: #a855f7;
  --grad: linear-gradient(135deg, var(--cyan), var(--violet));
  --font: Bahnschrift, "DIN Alternate", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg) radial-gradient(ellipse 90% 60% at 50% 0%, var(--bg-glow), transparent 70%) no-repeat;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: var(--cyan); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(14, 14, 20, .85); position: sticky; top: 0; z-index: 10; backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand svg { width: 44px; height: 44px; flex: none; }
.brand-name { font-weight: 700; font-size: 1.25rem; letter-spacing: .06em; line-height: 1; }
.brand-name small { display: block; font-size: .62rem; letter-spacing: .42em; color: var(--muted); margin-top: 5px; font-weight: 700; }
.nav { display: flex; gap: 6px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; letter-spacing: .12em; font-size: .85rem; text-transform: uppercase; padding: 10px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }

/* Hero */
.hero { text-align: center; padding: 72px 0 56px; }
.hero svg { width: 150px; height: 150px; }
.hero h1 { font-size: clamp(2.6rem, 9vw, 5.5rem); letter-spacing: .04em; line-height: 1; margin: 20px 0 0; }
.hero .studios { font-size: clamp(1rem, 3.2vw, 1.9rem); letter-spacing: .5em; margin-right: -.5em; color: var(--muted); font-weight: 700; margin-top: 12px; }
.rule { width: 72px; height: 5px; background: var(--cyan); margin: 26px auto 18px; border: 0; }
.tagline { color: var(--cyan); font-weight: 700; letter-spacing: .28em; margin-right: -.28em; font-size: clamp(.9rem, 2.4vw, 1.25rem); text-transform: uppercase; }

/* Sections */
.section { padding: 40px 0 72px; }
.eyebrow { color: var(--cyan); font-weight: 700; letter-spacing: .28em; font-size: .8rem; text-transform: uppercase; margin: 0 0 6px; }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); letter-spacing: .03em; margin: 0 0 28px; line-height: 1.15; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 62ch; margin: -14px 0 32px; }

/* Project cards */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.card-art { aspect-ratio: 16 / 9; display: block; width: 100%; height: auto; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.badge { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--cyan); border-radius: 999px; padding: 3px 10px; }
.card h3 { font-size: 1.7rem; letter-spacing: .03em; margin: 2px 0 0; line-height: 1.15; }
.card p { color: var(--muted); margin: 0; flex: 1; }
.btn { display: inline-block; font: inherit; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; text-decoration: none; cursor: pointer; border-radius: 10px; padding: 12px 20px; border: 0; color: #0e0e14; background: var(--grad); }
.btn:hover { filter: brightness(1.12); }
.btn.ghost { background: none; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--cyan); filter: none; }
.card .btn { align-self: flex-start; margin-top: 8px; }

/* Support */
.page-head { padding: 56px 0 8px; }
.page-head h1 { font-size: clamp(2.2rem, 7vw, 3.6rem); letter-spacing: .03em; line-height: 1.1; margin: 0 0 12px; }
.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.panel h2 { font-size: 1.4rem; margin-bottom: 14px; }
.panel p, .panel li { color: var(--muted); }
.panel ul { padding-left: 20px; margin: 0; }
.email-link { display: inline-block; font-size: clamp(1.05rem, 3.6vw, 1.35rem); font-weight: 700; overflow-wrap: anywhere; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 5px; }
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 700; letter-spacing: .08em; font-size: .8rem; text-transform: uppercase; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; }
textarea { min-height: 150px; resize: vertical; }
.hint { font-size: .9rem; color: var(--muted); margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; padding: 24px 0; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--cyan); }

@media (max-width: 480px) {
  .brand-name small { display: none; }
  .nav a { padding: 10px 8px; letter-spacing: .08em; }
  .hero { padding: 48px 0 40px; }
  .hero svg { width: 120px; height: 120px; }
}
